import{d as C,ao as _,f as i,u as o,w as b,a2 as l,a3 as D,k as d,af as c,a4 as I,V as u,ad as S,a6 as f}from"./vue-vendor-CxLCUzY4.js";import{r as V,J as x}from"./antd-vue-vendor-CDWW6V_M.js";import{c9 as B,u as E}from"./index-B_2CoVdl.js";import"./index-ARbUvvsq.js";import{l as M}from"./useExtendComponent-bb7cca20-GHWcCVHB.js";import"./index-D2AmS0aU.js";import"./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7-l0sNRNKZ.js";import N from"./OnlineDetailModal-2a271e0b-DnuKDTrj.js";import{d as R,m as y}from"./useListButton-7ddb9a46-DPbOs8ZJ.js";import{g as T}from"./useFormUrl-2ee1a82d-lQz7y_U9.js";import"./componentMap-CzCGDP7x.js";import"./constant-fa63bd66-Ddbq-fz2.js";import"./index-h7B1dCH2.js";import"./user.api-BLHI3_6c.js";import"./customExpression-CGrP-C85.js";import"./index-LwlFn7Y4.js";import"./useListPage-BEtybUiF.js";import"./index-khU3p_On.js";import"./LinkTableListPiece-2660d709-DDMDnGr2.js";import"./OnlineSelectCascade-471fcc76-Cn70lvcH.js";import"./JModalTip-4a83aaed-DJGQp0DH.js";import"./OnlineFormDetail-e036cd11-DsImcRh4.js";import"./DetailForm-4aa2570b-DhakTra8.js";import"./index-Dug0Hu36.js";import"./OnlineSubFormDetail-03f8ee5c-dpujw1nw.js";import"./CommentPanel-eXaPNp1h.js";import"./useCustomHook-acb00837-8eJF1uHw.js";import"./cgformState-d9f8ec42-r7J3s4lM.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useForm-CcjrODHR.js";import"./index-DAURrYyA.js";import"./index-Dz2zbQB_.js";import"./index-exs4VcBw.js";import"./index-ByLO0zSl.js";import"./useTimeout-CB9F1PLu.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./BasicModal-D3g2CFhF.js";import"./ModalHeader-C-C0dUi_.js";import"./useWindowSizeFn-C3WExEpc.js";import"./JAreaLinkage-CSgDAlrn.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./JSelectUser-BQIJUcBR.js";import"./props-BCVPj-bG.js";import"./JSelectBiz-CJyWq5s2.js";import"./JSelectDept-wKz_Qtmc.js";import"./index-BKs2x_To.js";import"./bem-C6eT35UB.js";import"./props-BLY2qIO5.js";import"./useContextMenu-CSt5a1-F.js";import"./JCodeEditor-esTLnfS3.js";import"./useFormItem-CWa0w7fA.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./JAddInput-YFlAniYT.js";import"./index-CkL00Q0a.js";import"./depart.api-0qTriT9h.js";import"./JPopup-BJBYqoWe.js";import"./EasyCronInput-DclSHT47.js";import"./JEllipsis-Cn7GCKHR.js";import"./JDictSelectTag-CxpDdimB.js";import"./JUpload-DzM-D4DX.js";import"./BasicTable-Clbg3fHx.js";import"./injectionKey-DPVn4AgL.js";import"./download-2tYEzlDW.js";import"./base64Conver-24EVOS6V.js";import"./index-Cgt544dC.js";import"./index-BZ9ST2iq.js";import"./useCountdown-ImUE7YaG.js";import"./useFormItemSingle-DM34aWgK.js";import"./index-DPEnuI0R.js";import"./index-Cnb8BkwG.js";import"./index-C3hJupKy.js";const $=C({__name:"OnlineFormUrlDetail",setup(J){const e=_(),{ID:t,onlineTableContext:m,onlineExtConfigJson:g}=R(),{createMessage:w}=E(),p=i(null),a=i(400),s=i(!0),{token:n}=T();if(!o(n))throw new Error("token不存在~");if(!t.value||!e.params.dataId)throw w.warning("地址错误, 配置ID不存在!"),new Error("地址错误, 配置ID不存在!");b(()=>p.value,r=>{a.value=r.offsetHeight}),M(m);const{registerDetailModal:v,openDetailModal:h}=y(m,g),k=r=>document.querySelector(`.online-detail-${t.value}`);return setTimeout(()=>{h(!0,{isUpdate:!0,disableSubmit:!0,record:{id:e.params.dataId}}),s.value=!1},1e3),(r,U)=>(l(),D("div",{class:f([["p-2"],"online-wrap"])},[d(o(x),{bordered:!1},{default:c(()=>[d(o(V),{spinning:s.value},{default:c(()=>[I("div",{class:f(["wrap",`online-detail-${o(t)}`]),ref_key:"wrapRef",ref:p},[u("",!0),o(n)?(l(),S(N,{key:1,id:o(t),maskClosable:!1,onRegister:o(v),onSuccess:r.success,getContainer:k,height:a.value},null,8,["id","onRegister","onSuccess","height"])):u("",!0)],2)]),_:1},8,["spinning"])]),_:1})]))}}),mt=B($,[["__scopeId","data-v-cea77271"]]);export{mt as default};
