import{aP as B,a as R,a9 as h,r as C,aQ as a,o as _,aR as y,p as r,j as u,bI as w,af as $,q as n}from"./index.0d073eaa.js";import{A as T}from"./index.ffb8ac7d.js";import{S as P}from"./index.81899e8a.js";import{b as d}from"./index.c05f9254.js";import k from"./Modal1.95d06524.js";import D from"./Modal2.9e78a438.js";import v from"./Modal3.0126f28f.js";import b from"./Modal4.a0f4f8cd.js";import{P as V}from"./index.566277e5.js";import"./useFlexGapSupport.474c31b7.js";import"./useWindowSizeFn.ef20ece8.js";import"./FullscreenOutlined.401a7bcd.js";import"./BasicForm.d11b68fd.js";/* empty css              *//* empty css              */import"./index.0fb15725.js";import"./index.965098be.js";import"./Checkbox.476f6e92.js";import"./index.1491cab6.js";import"./index.e317a008.js";import"./index.7075e2b7.js";import"./index.04f7e044.js";import"./index.e8daa066.js";import"./get.49a42f2e.js";import"./index.e8b360cf.js";import"./eagerComputed.156e81ff.js";import"./index.2b5ea4f6.js";import"./_baseIteratee.3919e7cf.js";import"./DeleteOutlined.247d1f35.js";import"./index.a8c197b8.js";import"./useRefs.e81831e2.js";import"./Form.48352728.js";import"./Col.a2eadc78.js";import"./useSize.bb4e5ce5.js";import"./index.dd1f987c.js";import"./uuid.2b29000c.js";import"./download.bb4c9304.js";import"./base64Conver.08b9f4ec.js";import"./index.31930d74.js";import"./index.1d29734e.js";import"./uniqBy.ac0f9c38.js";import"./useForm.868c8e81.js";import"./index.e9a84cba.js";import"./index.0972fd96.js";import"./useContentViewHeight.01b9d1c6.js";import"./ArrowLeftOutlined.90d2e05e.js";import"./index.8680e4c4.js";import"./transButton.8c1b1a4f.js";const I=R({components:{Alert:T,Modal1:k,Modal2:D,Modal3:v,Modal4:b,PageWrapper:V,ASpace:P},setup(){const o=h(null),[e,{openModal:F}]=d(),[E,{openModal:M}]=d(),[g,{openModal:i}]=d(),[t,{openModal:p}]=d(),l=C(!1),m=C(null);function c(){p(!0,{data:"content",info:"Info"})}function A(){F(!0)}function f(s){switch(s){case 1:o.value=k;break;case 2:o.value=D;break;case 3:o.value=v;break;default:o.value=b;break}$(()=>{m.value={data:Math.random(),info:"Info222"},l.value=!0})}return{register1:e,openModal1:F,register2:E,openModal2:M,register3:g,openModal3:i,register4:t,openModal4:p,modalVisible:l,userData:m,openTargetModal:f,send:c,currentModal:o,openModalLoading:A}}}),S=n(" \u6253\u5F00\u5F39\u7A97,\u52A0\u8F7D\u52A8\u6001\u6570\u636E\u5E76\u81EA\u52A8\u8C03\u6574\u9AD8\u5EA6(\u9ED8\u8BA4\u53EF\u4EE5\u62D6\u52A8/\u5168\u5C4F) "),W=n(" \u6253\u5F00\u5F39\u7A97 "),L=n(" \u6253\u5F00\u5F39\u7A97 "),N=n(" \u6253\u5F00\u5F39\u7A97\u5E76\u4F20\u9012\u6570\u636E "),j=n(" \u6253\u5F00\u5F39\u7A971 "),q=n(" \u6253\u5F00\u5F39\u7A972 "),H=n(" \u6253\u5F00\u5F39\u7A973 "),Q=n(" \u6253\u5F00\u5F39\u7A974 ");function U(o,e,F,E,M,g){const i=a("Alert"),t=a("a-button"),p=a("a-space"),l=a("Modal1"),m=a("Modal2"),c=a("Modal3"),A=a("Modal4"),f=a("PageWrapper");return _(),y(f,{title:"modal\u7EC4\u4EF6\u4F7F\u7528\u793A\u4F8B"},{default:r(()=>[u(i,{message:`\u4F7F\u7528 useModal \u8FDB\u884C\u5F39\u7A97\u64CD\u4F5C\uFF0C\u9ED8\u8BA4\u53EF\u4EE5\u62D6\u52A8\uFF0C\u53EF\u4EE5\u901A\u8FC7 draggable
    \u53C2\u6570\u8FDB\u884C\u63A7\u5236\u662F\u5426\u53EF\u4EE5\u62D6\u52A8/\u5168\u5C4F\uFF0C\u5E76\u6F14\u793A\u4E86\u5728Modal\u5185\u52A8\u6001\u52A0\u8F7D\u5185\u5BB9\u5E76\u81EA\u52A8\u8C03\u6574\u9AD8\u5EA6`,"show-icon":""}),u(t,{type:"primary",class:"my-4",onClick:o.openModalLoading},{default:r(()=>[S]),_:1},8,["onClick"]),u(i,{message:"\u5185\u5916\u540C\u65F6\u540C\u65F6\u663E\u793A\u9690\u85CF","show-icon":""}),u(t,{type:"primary",class:"my-4",onClick:o.openModal2},{default:r(()=>[W]),_:1},8,["onClick"]),u(i,{message:"\u81EA\u9002\u5E94\u9AD8\u5EA6","show-icon":""}),u(t,{type:"primary",class:"my-4",onClick:o.openModal3},{default:r(()=>[L]),_:1},8,["onClick"]),u(i,{message:"\u5185\u5916\u6570\u636E\u4EA4\u4E92","show-icon":""}),u(t,{type:"primary",class:"my-4",onClick:o.send},{default:r(()=>[N]),_:1},8,["onClick"]),u(i,{message:"\u4F7F\u7528\u52A8\u6001\u7EC4\u4EF6\u7684\u65B9\u5F0F\u5728\u9875\u9762\u5185\u4F7F\u7528\u591A\u4E2A\u5F39\u7A97","show-icon":""}),u(p,null,{default:r(()=>[u(t,{type:"primary",class:"my-4",onClick:e[0]||(e[0]=s=>o.openTargetModal(1))},{default:r(()=>[j]),_:1}),u(t,{type:"primary",class:"my-4",onClick:e[1]||(e[1]=s=>o.openTargetModal(2))},{default:r(()=>[q]),_:1}),u(t,{type:"primary",class:"my-4",onClick:e[2]||(e[2]=s=>o.openTargetModal(3))},{default:r(()=>[H]),_:1}),u(t,{type:"primary",class:"my-4",onClick:e[3]||(e[3]=s=>o.openTargetModal(4))},{default:r(()=>[Q]),_:1})]),_:1}),(_(),y(w(o.currentModal),{visible:o.modalVisible,"onUpdate:visible":e[4]||(e[4]=s=>o.modalVisible=s),userData:o.userData},null,40,["visible","userData"])),u(l,{onRegister:o.register1,minHeight:100},null,8,["onRegister"]),u(m,{onRegister:o.register2},null,8,["onRegister"]),u(c,{onRegister:o.register3},null,8,["onRegister"]),u(A,{onRegister:o.register4},null,8,["onRegister"])]),_:1})}var jo=B(I,[["render",U]]);export{jo as default};
