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-CYriLmQo.js";import"./index-BkgeZpOO.js";import{l as M}from"./useExtendComponent-bb7cca20-qwBBEorv.js";import"./index-CF_FJn6P.js";import"./OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7-l0sNRNKZ.js";import N from"./OnlineDetailModal-2a271e0b-BC6Ziuej.js";import{d as R,m as y}from"./useListButton-7ddb9a46-CZyO72TD.js";import{g as T}from"./useFormUrl-2ee1a82d-BqeYo2LJ.js";import"./componentMap-7D1QIeNI.js";import"./constant-fa63bd66-Ddbq-fz2.js";import"./index-C143YDY6.js";import"./user.api-BUwWVSBN.js";import"./customExpression-CGrP-C85.js";import"./index-BN5Ac_IG.js";import"./useListPage-i3Wl0_Fg.js";import"./index-Bx9Mnn3N.js";import"./LinkTableListPiece-2660d709-BxbO6G9v.js";import"./OnlineSelectCascade-471fcc76-BhQCunHf.js";import"./JModalTip-4a83aaed-BVM0v87K.js";import"./OnlineFormDetail-e036cd11-_G3_D0ap.js";import"./DetailForm-4aa2570b-DVPV0ggH.js";import"./index-CEZCyHDA.js";import"./OnlineSubFormDetail-03f8ee5c-I9PjYtbT.js";import"./CommentPanel-DJGekQLW.js";import"./useCustomHook-acb00837-BjNmHWvU.js";import"./cgformState-d9f8ec42-BC3VNSdG.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useForm-8o5KRzWo.js";import"./index-CxQILSKV.js";import"./index-BRTtls-l.js";import"./index-DOuVMe-q.js";import"./index-ByLO0zSl.js";import"./useTimeout-DC8132dd.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./BasicModal-BBgVjypv.js";import"./ModalHeader-jGKMr-DQ.js";import"./useWindowSizeFn-BxrEMPtP.js";import"./JAreaLinkage-DFTeDmm8.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./JSelectUser-nVFm3ao2.js";import"./props-DoGpHXAD.js";import"./JSelectBiz-BW6f3e--.js";import"./JSelectDept-DorRVguN.js";import"./index-BTAl55Kt.js";import"./bem-2ra1afoV.js";import"./props-BLY2qIO5.js";import"./useContextMenu-DYyhcDf7.js";import"./JCodeEditor-_KZ8XnNK.js";import"./useFormItem-CWa0w7fA.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./JAddInput-CXT54-j9.js";import"./index-BTSd5ebC.js";import"./depart.api-C9T5xfw6.js";import"./JPopup-KP1kIsae.js";import"./EasyCronInput-XK54XB3r.js";import"./JEllipsis-287cEHxd.js";import"./JDictSelectTag-Jqy9TBcS.js";import"./JUpload-pyrTRFCz.js";import"./BasicTable-DAfCfXmD.js";import"./injectionKey-DPVn4AgL.js";import"./download-CkbK5et1.js";import"./base64Conver-24EVOS6V.js";import"./index-QMJkXEyl.js";import"./index-Bb_NRLur.js";import"./useCountdown-C3-PRPLY.js";import"./useFormItemSingle-DM34aWgK.js";import"./index-B1-pj6uh.js";import"./index-isxCPgHp.js";import"./index-CYNQc9BL.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};
