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-CahNzUUa.js";import{c9 as B,u as E}from"./index-CLZzJyTP.js";import"./index-ByX9XNkE.js";import{l as M}from"./useExtendComponent-bb7cca20-DLrsSGUN.js";import"./index-XZKTTfG1.js";import"./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7-l0sNRNKZ.js";import N from"./OnlineDetailModal-2a271e0b-DRS1igay.js";import{d as R,m as y}from"./useListButton-7ddb9a46-BhRMI4ZD.js";import{g as T}from"./useFormUrl-2ee1a82d-eJc8XIU6.js";import"./componentMap-DpsJvoqz.js";import"./constant-fa63bd66-Ddbq-fz2.js";import"./index-Bz3DhbXN.js";import"./user.api-DAu0nuTv.js";import"./customExpression-CGrP-C85.js";import"./index-KOQNKxnC.js";import"./useListPage-CevWQ3ci.js";import"./index-Bn2zmO2L.js";import"./LinkTableListPiece-2660d709-C_0uiCkV.js";import"./OnlineSelectCascade-471fcc76-D9SPP1nv.js";import"./JModalTip-4a83aaed-HQN1qwWE.js";import"./OnlineFormDetail-e036cd11-BnxINQ6Y.js";import"./DetailForm-4aa2570b-CNmLfkjP.js";import"./index-BZa-EKMZ.js";import"./OnlineSubFormDetail-03f8ee5c-BMFQbdvm.js";import"./CommentPanel-C19DClKt.js";import"./useCustomHook-acb00837-BuHDMguF.js";import"./cgformState-d9f8ec42-S733PGzb.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useForm-Dx3lJ3DG.js";import"./index-DvqyyN77.js";import"./index-DS3utcig.js";import"./index-BZbg0EjM.js";import"./index-CrdW4fN1.js";import"./useTimeout-KpZCXEcl.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./BasicModal-B8XmAOm7.js";import"./ModalHeader-DIFQSP_0.js";import"./useWindowSizeFn-D9PllI8g.js";import"./JAreaLinkage-M9TGy8nY.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./JSelectUser-CfAGgHjD.js";import"./props-BtZrRNiI.js";import"./JSelectBiz-CLnJTMe2.js";import"./JSelectDept-CaEHrQp6.js";import"./index-44tRnyoF.js";import"./bem-DT3DdmOs.js";import"./props-CG-jAkbI.js";import"./useContextMenu-BGU2vdqV.js";import"./JCodeEditor-CR57XeIe.js";import"./useFormItem-IOFWTdED.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./JAddInput-B36c3B5x.js";import"./index-C7yPiS0L.js";import"./depart.api-DHG2p2Yd.js";import"./JPopup-BvqhHpPl.js";import"./EasyCronInput-CWOTSpxK.js";import"./JEllipsis-C_gT_vEQ.js";import"./JDictSelectTag-CfF54ALX.js";import"./JImageUpload-BFwNYdm5.js";import"./JUpload-DgDEmizw.js";import"./BasicTable-DUJWN3yz.js";import"./injectionKey-DPVn4AgL.js";import"./download-DopMSmFN.js";import"./base64Conver-24EVOS6V.js";import"./index-CDa2_aYE.js";import"./index-D0jTtUNS.js";import"./useCountdown-BpP55PQ2.js";import"./useFormItemSingle-BEyrYQqf.js";import"./index-CEznvAVZ.js";import"./index-CfAukas3.js";import"./index-CDfdiE5a.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})]))}}),pt=B($,[["__scopeId","data-v-cea77271"]]);export{pt as default};
