form-designer-xinyi 1.2.7 → 1.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{az-B_Y9jbf_.js → az-Dfl0ml2T.js} +1 -1
- package/dist/{az-BRpcgD9T.cjs → az-DvbwdtjU.cjs} +1 -1
- package/dist/{be-BQsx32sW.cjs → be-DJt0AYLm.cjs} +1 -1
- package/dist/{be-BywnqEGn.js → be-j4JJoNH7.js} +1 -1
- package/dist/{bg-D1zhSrXG.cjs → bg-B9_4HVEN.cjs} +1 -1
- package/dist/{bg-BNfGLoU6.js → bg-DP63HBtT.js} +1 -1
- package/dist/{bn-bd-DLCeL3y9.js → bn-bd-B2NPHTeR.js} +1 -1
- package/dist/{bn-bd-CD8xRGPk.cjs → bn-bd-BcUHpduY.cjs} +1 -1
- package/dist/{ca-XaItk7KJ.js → ca-DT8izqQ0.js} +1 -1
- package/dist/{ca-DA3fmiBa.cjs → ca-v3TuO9MQ.cjs} +1 -1
- package/dist/{cs-CLQsCW6_.js → cs-CHP2Y9s_.js} +1 -1
- package/dist/{cs-B5SWo9Mu.cjs → cs-D4dtAYrp.cjs} +1 -1
- package/dist/{da-DOUzkju-.js → da-BNL7Pqop.js} +1 -1
- package/dist/{da-Dw_pvinm.cjs → da-emLEdcrt.cjs} +1 -1
- package/dist/{de-DEmSssUC.js → de-BaCV9qO-.js} +1 -1
- package/dist/{de-CIvQb3qE.cjs → de-SPl3gHHc.cjs} +1 -1
- package/dist/{el-CUOGdTwI.cjs → el-Ckvif7TK.cjs} +1 -1
- package/dist/{el-BRdVlCh4.js → el-DR-klu3I.js} +1 -1
- package/dist/{en-gb-DUmuSJyr.js → en-gb-CMVAQ5Mu.js} +1 -1
- package/dist/{en-gb-BfsftGnj.cjs → en-gb-MTp1WcQH.cjs} +1 -1
- package/dist/{es-BRI91qGh.cjs → es-CzItbJuv.cjs} +1 -1
- package/dist/{es-BvHZT0wU.js → es-yY_8Nqrq.js} +1 -1
- package/dist/{et-CAu-zRsL.js → et-6IjnDCHW.js} +1 -1
- package/dist/{et-B0FNKi4w.cjs → et-BPzsZp0J.cjs} +1 -1
- package/dist/{fa-DCHW6Esf.cjs → fa-n4E8j7zV.cjs} +1 -1
- package/dist/{fa-CsIEZuLw.js → fa-uGq_mfKX.js} +1 -1
- package/dist/{fi-BZuKyF37.cjs → fi-Bdjx1chF.cjs} +1 -1
- package/dist/{fi-C_NrdCND.js → fi-CnEr_JA8.js} +1 -1
- package/dist/{form-D5E8_ACi.js → form-D-yHO1oa.js} +51 -45
- package/dist/form-DNaTRYJe.cjs +1 -0
- package/dist/formLogic-0EUOvkXa.cjs +1 -0
- package/dist/{formLogic-DC02XpOi.js → formLogic-2HEwVsra.js} +166 -154
- package/dist/{fr-D9Ddc0Bx.js → fr-DIe3qMUM.js} +1 -1
- package/dist/{fr-2DAZwwAX.cjs → fr-DSKGDj75.cjs} +1 -1
- package/dist/{fr-ca-Djdf7NJj.js → fr-ca-ChEt9WMx.js} +1 -1
- package/dist/{fr-ca-BdBj23jg.cjs → fr-ca-JThzgE_k.cjs} +1 -1
- package/dist/{ga-C3L4v271.js → ga-BTBIFeCN.js} +1 -1
- package/dist/{ga-CfU4r4Y0.cjs → ga-Dlz-FZm2.cjs} +1 -1
- package/dist/{gl-BXisncUt.cjs → gl-BBeJkfoG.cjs} +1 -1
- package/dist/{gl-BYa7TQta.js → gl-CWxcjr19.js} +1 -1
- package/dist/{he-CQxKTVkx.cjs → he-BrnzeLkX.cjs} +1 -1
- package/dist/{he-B6e43Z1l.js → he-Dkn0Z2xy.js} +1 -1
- package/dist/{hi-CKZ2LR_F.js → hi-CCbkV6QU.js} +1 -1
- package/dist/{hi-S4-3AIFW.cjs → hi-SzQi9ZBw.cjs} +1 -1
- package/dist/{hr-CcMeEKgF.js → hr-B48Gc5VY.js} +1 -1
- package/dist/{hr-DJEnQBK9.cjs → hr-DwFdHpE_.cjs} +1 -1
- package/dist/{hu-DrVkx5R-.js → hu-BzArzoTh.js} +1 -1
- package/dist/{hu-ClPtVHC2.cjs → hu-Crg9bXEX.cjs} +1 -1
- package/dist/{hy-am-DWxzvnwM.js → hy-am-8PADxa_I.js} +1 -1
- package/dist/{hy-am-DKQSmr8N.cjs → hy-am-fbZUaDGt.cjs} +1 -1
- package/dist/{id-BOsz1Uwk.js → id-DIZ5siSr.js} +1 -1
- package/dist/{id--yoP8xQ5.cjs → id-odBLQy7F.cjs} +1 -1
- package/dist/{index-DWNJz8Wo.js → index-CkYlu_90.js} +64 -64
- package/dist/{index-OFkNpKWd.cjs → index-DKneyns9.cjs} +2 -2
- package/dist/{is-CUFkhprr.js → is-D6BBKuGO.js} +1 -1
- package/dist/{is-BxqTLqJd.cjs → is-R3urEiqf.cjs} +1 -1
- package/dist/{it-Bsdjop5R.js → it-66z1omqC.js} +1 -1
- package/dist/{it-BH7iy-tq.cjs → it-BPiUJx5T.cjs} +1 -1
- package/dist/{ja-CSH4YF5E.js → ja-Cn7pylwC.js} +1 -1
- package/dist/{ja-CcfoP_ga.cjs → ja-CyxZWGg-.cjs} +1 -1
- package/dist/{ka-f-xOSFdL.js → ka-BGGNEfXq.js} +1 -1
- package/dist/{ka-x5npN4L8.cjs → ka-xgyVlW5p.cjs} +1 -1
- package/dist/{kk-Bxl5jeol.js → kk-BeGd0cVr.js} +1 -1
- package/dist/{kk-Cdx7ic7Z.cjs → kk-BgiqrBnH.cjs} +1 -1
- package/dist/{km-bXxi5Fxw.cjs → km-BnR3tToe.cjs} +1 -1
- package/dist/{km-B5u_EASv.js → km-D5klTUiL.js} +1 -1
- package/dist/{kn-hoMRx0Ly.js → kn-DXDTm0y7.js} +1 -1
- package/dist/{kn-BY4RY1ty.cjs → kn-xD8avmw4.cjs} +1 -1
- package/dist/{ko-BVYp4FZV.js → ko-CB2Jls1N.js} +1 -1
- package/dist/{ko-DACxklR3.cjs → ko-rCLrlcXL.cjs} +1 -1
- package/dist/{ku-DmIQZe5i.js → ku-DEvKclsu.js} +1 -1
- package/dist/{ku-1YTanVxf.cjs → ku-DNZFVd8E.cjs} +1 -1
- package/dist/{lt-DKOfA-Zj.cjs → lt-BLDow9xs.cjs} +1 -1
- package/dist/{lt-C9_tEGpp.js → lt-DpCF73Cl.js} +1 -1
- package/dist/{lv-DFM_QhE_.js → lv-CDLA_ovB.js} +1 -1
- package/dist/{lv-2U8asDVa.cjs → lv-X0Fm1R8T.cjs} +1 -1
- package/dist/{mk-JJ3jS4IM.cjs → mk-BJp6z9ei.cjs} +1 -1
- package/dist/{mk-DIV-y033.js → mk-C8gJX3zV.js} +1 -1
- package/dist/{ml-Bz3WSM5V.cjs → ml-BpLzXl2K.cjs} +1 -1
- package/dist/{ml-DkDS6ixc.js → ml-Y6Mdbc4p.js} +1 -1
- package/dist/{mn-CPhhd8NT.cjs → mn-BHk_kUn0.cjs} +1 -1
- package/dist/{mn-GTEXM_Ib.js → mn-Xktu0liU.js} +1 -1
- package/dist/{ms-my-BtetLCnQ.cjs → ms-my-D90e_e0E.cjs} +1 -1
- package/dist/{ms-my-1HJhAEmm.js → ms-my-OA58b83F.js} +1 -1
- package/dist/{nb-xacgSmpi.js → nb-BYC-GcTc.js} +1 -1
- package/dist/{nb-BsO9n6Ra.cjs → nb-BsIodQ0t.cjs} +1 -1
- package/dist/{ne-aHoxEuDa.cjs → ne-HMRMPP0T.cjs} +1 -1
- package/dist/{ne-DKPVjFGC.js → ne-OwHQ-yt9.js} +1 -1
- package/dist/{nl-BsT-YM0e.cjs → nl-8tFsIjBf.cjs} +1 -1
- package/dist/{nl-DaKh-8Rp.js → nl-DilcEllO.js} +1 -1
- package/dist/{nl-be-BgDbEVFT.js → nl-be-Dtv2slLl.js} +1 -1
- package/dist/{nl-be-BqlAaR7H.cjs → nl-be-Zy9Wwz7I.cjs} +1 -1
- package/dist/{pl-BldC9Vd_.cjs → pl-BgR473RA.cjs} +1 -1
- package/dist/{pl-DMJpA4b6.js → pl-rXvIrtmc.js} +1 -1
- package/dist/{pt-R6XD4BRd.cjs → pt-B4Ojw4pD.cjs} +1 -1
- package/dist/{pt-wb2t0fZV.js → pt-BzwijqwZ.js} +1 -1
- package/dist/{pt-br-BEFxoaNJ.js → pt-br-BUb_u8Rl.js} +1 -1
- package/dist/{pt-br-CuK5lZEr.cjs → pt-br-YPHHu9xN.cjs} +1 -1
- package/dist/{ro-BRP63FRZ.js → ro-CB-p-jMj.js} +1 -1
- package/dist/{ro-I7-6C-Yb.cjs → ro-CT4FEOpp.cjs} +1 -1
- package/dist/{ru-D3KDvaUl.js → ru-Dh6YDqo_.js} +1 -1
- package/dist/{ru-DtpUtlGp.cjs → ru-_6NhyP6r.cjs} +1 -1
- package/dist/{sk-CFuwJGWx.cjs → sk-H4oJ68oy.cjs} +1 -1
- package/dist/{sk-D-DcA3Ls.js → sk-Z9indBaE.js} +1 -1
- package/dist/{sl-lmUXizdu.js → sl-BtxQlKPg.js} +1 -1
- package/dist/{sl-CH7VthpP.cjs → sl-YnpkDD0O.cjs} +1 -1
- package/dist/{sr-C2lXrAmo.js → sr-BuOHGKaZ.js} +1 -1
- package/dist/{sr-D92Zh-fz.cjs → sr-CvhHl4Jw.cjs} +1 -1
- package/dist/{sv-CohDHc3W.js → sv-CuczknSt.js} +1 -1
- package/dist/{sv-BaU4Icpn.cjs → sv-RlpS9Ix_.cjs} +1 -1
- package/dist/{ta-BCx4Bx3V.js → ta-C6G0Kqk7.js} +1 -1
- package/dist/{ta-BWwai9_L.cjs → ta-CYnvIwlJ.cjs} +1 -1
- package/dist/{th-BhjbyEbc.js → th-B4dVtOk5.js} +1 -1
- package/dist/{th-Q50lfdLA.cjs → th-BuE3nFh9.cjs} +1 -1
- package/dist/{tr-_Jo6PDnq.cjs → tr-B220U5wZ.cjs} +1 -1
- package/dist/{tr-BFTlrtfM.js → tr-BQkzNbNS.js} +1 -1
- package/dist/ui/antd/cascader/button/index.d.ts +4 -0
- package/dist/ui/antd/index.cjs +1 -1
- package/dist/ui/antd/index.js +1 -1
- package/dist/{uk-Cpc_RfiT.cjs → uk-B5bekOeY.cjs} +1 -1
- package/dist/{uk-yxMZ_0Ow.js → uk-DPgxv2lk.js} +1 -1
- package/dist/{ur-mTVnURp5.js → ur-Be6093gb.js} +1 -1
- package/dist/{ur-UdtXsdvb.cjs → ur-ipVjs-bi.cjs} +1 -1
- package/dist/{vi-PHa24wE6.js → vi-BEXbwTnO.js} +1 -1
- package/dist/{vi-BKJpXTSs.cjs → vi-BFWfA7SE.cjs} +1 -1
- package/dist/{zh-cn-DHLcmbcG.js → zh-cn-DWgFTVfZ.js} +1 -1
- package/dist/{zh-cn-CZ8gUTkz.cjs → zh-cn-zsmovz5v.cjs} +1 -1
- package/dist/{zh-hk-bVK3OLrx.js → zh-hk-BnEAugN7.js} +1 -1
- package/dist/{zh-hk-B0GH5aan.cjs → zh-hk-C5a-oUki.cjs} +1 -1
- package/dist/{zh-tw-BzMpbAYH.cjs → zh-tw-DvPtt2Gd.cjs} +1 -1
- package/dist/{zh-tw-CgTEy0p6.js → zh-tw-vQCdFq5n.js} +1 -1
- package/package.json +1 -1
- package/dist/form-CnI3eUa2.cjs +0 -1
- package/dist/formLogic-nmvUoMXz.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./_commonjsHelpers-DwTZ_eVU.cjs"),s=require("./index-
|
|
1
|
+
"use strict";const i=require("./_commonjsHelpers-DwTZ_eVU.cjs"),s=require("./index-DKneyns9.cjs");var o={exports:{}};(function(_,l){(function(r,e){_.exports=e(s.requireDayjs_min())})(i.commonjsGlobal,function(r){function e(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var n=e(r),t={name:"az",weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},ordinal:function(a){return a}};return n.default.locale(t,null,!0),t})})(o);const m=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.az=m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),l=require("./index-
|
|
1
|
+
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),l=require("./index-DKneyns9.cjs");var i={exports:{}};(function(o,a){(function(t,e){o.exports=e(l.requireDayjs_min())})(s.commonjsGlobal,function(t){function e(_){return _&&typeof _=="object"&&"default"in _?_:{default:_}}var r=e(t),n={name:"be",weekdays:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),months:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),weekStart:1,weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"}};return r.default.locale(n,null,!0),n})})(i);const u=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.be=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("./_commonjsHelpers-DwTZ_eVU.cjs"),a=require("./index-
|
|
1
|
+
"use strict";const i=require("./_commonjsHelpers-DwTZ_eVU.cjs"),a=require("./index-DKneyns9.cjs");var l={exports:{}};(function(s,u){(function(r,e){s.exports=e(a.requireDayjs_min())})(i.commonjsGlobal,function(r){function e(_){return _&&typeof _=="object"&&"default"in _?_:{default:_}}var d=e(r),n={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(_){var o=_%100;if(o>10&&o<20)return _+"-ти";var t=_%10;return t===1?_+"-ви":t===2?_+"-ри":t===7||t===8?_+"-ми":_+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};return d.default.locale(n,null,!0),n})})(l);const m=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.bg=m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("./_commonjsHelpers-DwTZ_eVU.cjs"),m=require("./index-
|
|
1
|
+
"use strict";const a=require("./_commonjsHelpers-DwTZ_eVU.cjs"),m=require("./index-DKneyns9.cjs");var l={exports:{}};(function(s,f){(function(r,n){s.exports=n(m.requireDayjs_min())})(a.commonjsGlobal,function(r){function n(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var u=n(r),d={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},e={name:"bn-bd",weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),weekStart:0,preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(_){return i[_]})},postformat:function(t){return t.replace(/\d/g,function(_){return d[_]})},ordinal:function(t){var _=["ই","লা","রা","ঠা","শে"],o=t%100;return"["+t+(_[(o-20)%10]||_[o]||_[0])+"]"},formats:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY খ্রিস্টাব্দ",LL:"D MMMM YYYY খ্রিস্টাব্দ",LLL:"D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়",LLLL:"dddd, D MMMM YYYY খ্রিস্টাব্দ, A h:mm সময়"},meridiem:function(t){return t<4?"রাত":t<6?"ভোর":t<12?"সকাল":t<15?"দুপুর":t<18?"বিকাল":t<20?"সন্ধ্যা":"রাত"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"}};return u.default.locale(e,null,!0),e})})(l);const c=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.bnBd=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("./_commonjsHelpers-DwTZ_eVU.cjs"),o=require("./index-
|
|
1
|
+
"use strict";const l=require("./_commonjsHelpers-DwTZ_eVU.cjs"),o=require("./index-DKneyns9.cjs");var a={exports:{}};(function(n,i){(function(s,t){n.exports=t(o.requireDayjs_min())})(l.commonjsGlobal,function(s){function t(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var r=t(s),_={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Març_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Març_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){return""+e+(e===1||e===3?"r":e===2?"n":e===4?"t":"è")}};return r.default.locale(_,null,!0),_})})(a);const u=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.ca=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("./_commonjsHelpers-DwTZ_eVU.cjs"),l=require("./index-
|
|
1
|
+
"use strict";const c=require("./_commonjsHelpers-DwTZ_eVU.cjs"),l=require("./index-DKneyns9.cjs");var p={exports:{}};(function(d,y){(function(u,_){d.exports=_(l.requireDayjs_min())})(c.commonjsGlobal,function(u){function _(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var i=_(u);function o(e){return e>1&&e<5&&~~(e/10)!=1}function t(e,n,m,s){var r=e+" ";switch(m){case"s":return n||s?"pár sekund":"pár sekundami";case"m":return n?"minuta":s?"minutu":"minutou";case"mm":return n||s?r+(o(e)?"minuty":"minut"):r+"minutami";case"h":return n?"hodina":s?"hodinu":"hodinou";case"hh":return n||s?r+(o(e)?"hodiny":"hodin"):r+"hodinami";case"d":return n||s?"den":"dnem";case"dd":return n||s?r+(o(e)?"dny":"dní"):r+"dny";case"M":return n||s?"měsíc":"měsícem";case"MM":return n||s?r+(o(e)?"měsíce":"měsíců"):r+"měsíci";case"y":return n||s?"rok":"rokem";case"yy":return n||s?r+(o(e)?"roky":"let"):r+"lety"}}var a={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"před %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};return i.default.locale(a,null,!0),a})})(p);const M=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.cs=M;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),d=require("./index-
|
|
1
|
+
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),d=require("./index-DKneyns9.cjs");var o={exports:{}};(function(a,i){(function(r,t){a.exports=t(d.requireDayjs_min())})(s.commonjsGlobal,function(r){function t(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var _=t(r),n={name:"da",weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn._man._tirs._ons._tors._fre._lør.".split("_"),weekdaysMin:"sø._ma._ti._on._to._fr._lø.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"}};return _.default.locale(n,null,!0),n})})(o);const m=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.da=m;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),m=require("./index-
|
|
1
|
+
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),m=require("./index-DKneyns9.cjs");var l={exports:{}};(function(_,S){(function(a,r){_.exports=r(m.requireDayjs_min())})(s.commonjsGlobal,function(a){function r(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}var o=r(a),u={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function e(n,M,d){var t=u[d];return Array.isArray(t)&&(t=t[M?0:1]),t.replace("%d",n)}var i={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(n){return n+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e}};return o.default.locale(i,null,!0),i})})(l);const p=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.de=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),l=require("./index-
|
|
1
|
+
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),l=require("./index-DKneyns9.cjs");var d={exports:{}};(function(r,m){(function(t,e){r.exports=e(l.requireDayjs_min())})(s.commonjsGlobal,function(t){function e(_){return _&&typeof _=="object"&&"default"in _?_:{default:_}}var n=e(t),o={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(_){return _},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};return n.default.locale(o,null,!0),o})})(d);const i=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.el=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),d=require("./index-
|
|
1
|
+
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),d=require("./index-DKneyns9.cjs");var m={exports:{}};(function(o,y){(function(a,t){o.exports=t(d.requireDayjs_min())})(s.commonjsGlobal,function(a){function t(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var u=t(a),_={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var r=["th","st","nd","rd"],n=e%100;return"["+e+(r[(n-20)%10]||r[n]||r[0])+"]"}};return u.default.locale(_,null,!0),_})})(m);const i=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.enGb=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./_commonjsHelpers-DwTZ_eVU.cjs"),m=require("./index-
|
|
1
|
+
"use strict";const r=require("./_commonjsHelpers-DwTZ_eVU.cjs"),m=require("./index-DKneyns9.cjs");var u={exports:{}};(function(n,i){(function(s,o){n.exports=o(m.requireDayjs_min())})(r.commonjsGlobal,function(s){function o(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var t=o(s),_={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};return t.default.locale(_,null,!0),_})})(u);const a=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.es=a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("./_commonjsHelpers-DwTZ_eVU.cjs"),l=require("./index-
|
|
1
|
+
"use strict";const o=require("./_commonjsHelpers-DwTZ_eVU.cjs"),l=require("./index-DKneyns9.cjs");var p={exports:{}};(function(_,k){(function(n,s){_.exports=s(l.requireDayjs_min())})(o.commonjsGlobal,function(n){function s(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var i=s(n);function e(t,m,a,d){var u={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:["%d minuti","%d minutit"],h:["ühe tunni","tund aega","üks tund"],hh:["%d tunni","%d tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:["%d kuu","%d kuud"],y:["ühe aasta","aasta","üks aasta"],yy:["%d aasta","%d aastat"]};return m?(u[a][2]?u[a][2]:u[a][1]).replace("%d",t):(d?u[a][0]:u[a][1]).replace("%d",t)}var r={name:"et",weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(t){return t+"."},weekStart:1,relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return i.default.locale(r,null,!0),r})})(p);const M=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.et=M;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),a=require("./index-
|
|
1
|
+
"use strict";const s=require("./_commonjsHelpers-DwTZ_eVU.cjs"),a=require("./index-DKneyns9.cjs");var d={exports:{}};(function(r,l){(function(t,e){r.exports=e(a.requireDayjs_min())})(s.commonjsGlobal,function(t){function e(_){return _&&typeof _=="object"&&"default"in _?_:{default:_}}var n=e(t),o={name:"fa",weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekStart:6,months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"}};return n.default.locale(o,null,!0),o})})(d);const i=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.fa=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const M=require("./_commonjsHelpers-DwTZ_eVU.cjs"),Y=require("./index-
|
|
1
|
+
"use strict";const M=require("./_commonjsHelpers-DwTZ_eVU.cjs"),Y=require("./index-DKneyns9.cjs");var h={exports:{}};(function(s,y){(function(n,e){s.exports=e(Y.requireDayjs_min())})(M.commonjsGlobal,function(n){function e(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var l=e(n);function u(t,m,o,k){var d={s:"muutama sekunti",m:"minuutti",mm:"%d minuuttia",h:"tunti",hh:"%d tuntia",d:"päivä",dd:"%d päivää",M:"kuukausi",MM:"%d kuukautta",y:"vuosi",yy:"%d vuotta",numbers:"nolla_yksi_kaksi_kolme_neljä_viisi_kuusi_seitsemän_kahdeksan_yhdeksän".split("_")},r={s:"muutaman sekunnin",m:"minuutin",mm:"%d minuutin",h:"tunnin",hh:"%d tunnin",d:"päivän",dd:"%d päivän",M:"kuukauden",MM:"%d kuukauden",y:"vuoden",yy:"%d vuoden",numbers:"nollan_yhden_kahden_kolmen_neljän_viiden_kuuden_seitsemän_kahdeksan_yhdeksän".split("_")},a=k&&!m?r:d,_=a[o];return t<10?_.replace("%d",a.numbers[t]):_.replace("%d",t)}var i={name:"fi",weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),ordinal:function(t){return t+"."},weekStart:1,yearStart:4,relativeTime:{future:"%s päästä",past:"%s sitten",s:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM[ta] YYYY",LLL:"D. MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, D. MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"D. MMM YYYY",lll:"D. MMM YYYY, [klo] HH.mm",llll:"ddd, D. MMM YYYY, [klo] HH.mm"}};return l.default.locale(i,null,!0),i})})(h);const p=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));exports.fi=p;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { reactive as
|
|
1
|
+
import { reactive as j, inject as D, onMounted as _, watch as F, nextTick as E, defineComponent as L, ref as P, provide as g, computed as A, openBlock as k, createElementBlock as x, createVNode as W, unref as q, mergeProps as M, withCtx as R, renderSlot as w, Fragment as $, renderList as B } from "vue";
|
|
2
2
|
import { Form as N } from "ant-design-vue";
|
|
3
|
-
import { a as T, c as
|
|
4
|
-
function
|
|
5
|
-
const c =
|
|
3
|
+
import { a as T, c as C } from "./revoke-iScTU0eW.js";
|
|
4
|
+
function v(u = null) {
|
|
5
|
+
const c = j({}), l = D("pageManager");
|
|
6
6
|
let o = [], p = {};
|
|
7
|
-
|
|
7
|
+
_(() => {
|
|
8
8
|
F(() => c, (e) => {
|
|
9
|
-
|
|
10
|
-
console.log(2222222222222222e22);
|
|
9
|
+
E(() => {
|
|
11
10
|
for (const t in e)
|
|
12
11
|
e[t] !== p[t] && (o == null || o.forEach((n) => {
|
|
13
|
-
n.condition.conditions.map((s) => s.field).includes(t) && (
|
|
12
|
+
n.condition.conditions.map((s) => s.field).includes(t) && (i(n.condition) ? n.actions.forEach((s) => {
|
|
14
13
|
d(s);
|
|
15
14
|
}) : n.actions.filter((s) => s.reverseExecute).forEach((s) => {
|
|
16
15
|
d(s, !0);
|
|
@@ -20,7 +19,7 @@ function z(f = null) {
|
|
|
20
19
|
});
|
|
21
20
|
}, { deep: !0, immediate: !0 });
|
|
22
21
|
});
|
|
23
|
-
function
|
|
22
|
+
function i(e) {
|
|
24
23
|
return e.operator === "and" ? e.conditions.every((t) => {
|
|
25
24
|
if (!t.field) return !0;
|
|
26
25
|
const n = c[t.field];
|
|
@@ -35,9 +34,9 @@ function z(f = null) {
|
|
|
35
34
|
if (!t.value) return !1;
|
|
36
35
|
switch (t.operator) {
|
|
37
36
|
case "eq":
|
|
38
|
-
return typeof e == "object" ?
|
|
37
|
+
return typeof e == "object" ? C(e, t.value) : e === t.value;
|
|
39
38
|
case "neq":
|
|
40
|
-
return typeof e == "object" ? !
|
|
39
|
+
return typeof e == "object" ? !C(e, t.value) : e !== t.value;
|
|
41
40
|
case "gt":
|
|
42
41
|
return (typeof e == "number" || typeof e == "string") && e > t.value;
|
|
43
42
|
case "gte":
|
|
@@ -47,9 +46,9 @@ function z(f = null) {
|
|
|
47
46
|
case "lte":
|
|
48
47
|
return (typeof e == "number" || typeof e == "string") && e <= t.value;
|
|
49
48
|
case "in":
|
|
50
|
-
return
|
|
49
|
+
return h(e, t.value);
|
|
51
50
|
case "nin":
|
|
52
|
-
return !
|
|
51
|
+
return !h(e, t.value);
|
|
53
52
|
case "null":
|
|
54
53
|
return e == null || e.length === 0;
|
|
55
54
|
case "notNull":
|
|
@@ -59,9 +58,12 @@ function z(f = null) {
|
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
60
|
function d(e, t = !1) {
|
|
62
|
-
if (!e.field
|
|
61
|
+
if (!e.field) return;
|
|
62
|
+
const n = l.find(e.field);
|
|
63
|
+
if (t && ["setValue"].includes(e.trigger ?? "")) {
|
|
64
|
+
n.setValue(null);
|
|
63
65
|
return;
|
|
64
|
-
|
|
66
|
+
}
|
|
65
67
|
if (n)
|
|
66
68
|
switch (e.trigger) {
|
|
67
69
|
case "hide":
|
|
@@ -71,10 +73,10 @@ function z(f = null) {
|
|
|
71
73
|
n.setAttr("hidden", t);
|
|
72
74
|
break;
|
|
73
75
|
case "required":
|
|
74
|
-
n.setAttr("required", !t),
|
|
76
|
+
n.setAttr("required", !t), u == null || u();
|
|
75
77
|
break;
|
|
76
78
|
case "notRequired":
|
|
77
|
-
n.setAttr("required", t),
|
|
79
|
+
n.setAttr("required", t), u == null || u();
|
|
78
80
|
break;
|
|
79
81
|
case "readonly":
|
|
80
82
|
n.setAttr("readOnly", !t);
|
|
@@ -90,12 +92,16 @@ function z(f = null) {
|
|
|
90
92
|
break;
|
|
91
93
|
case "setValue":
|
|
92
94
|
n.setValue(e.value);
|
|
95
|
+
break;
|
|
96
|
+
case "addValue":
|
|
97
|
+
const s = n.getValue(), r = e.value, f = [...s, ...r], a = [...new Set(f)];
|
|
98
|
+
n.setValue(a);
|
|
93
99
|
}
|
|
94
100
|
}
|
|
95
|
-
function
|
|
101
|
+
function y(e) {
|
|
96
102
|
o = e;
|
|
97
103
|
}
|
|
98
|
-
function
|
|
104
|
+
function h(e, t) {
|
|
99
105
|
if (Array.isArray(e) && Array.isArray(t)) {
|
|
100
106
|
const n = new Set(e);
|
|
101
107
|
return t.every((s) => n.has(s));
|
|
@@ -109,13 +115,13 @@ function z(f = null) {
|
|
|
109
115
|
}
|
|
110
116
|
return {
|
|
111
117
|
formData: c,
|
|
112
|
-
setLogicRules:
|
|
118
|
+
setLogicRules: y
|
|
113
119
|
};
|
|
114
120
|
}
|
|
115
|
-
const
|
|
121
|
+
const z = {
|
|
116
122
|
class: "form-main",
|
|
117
123
|
style: { height: "100%" }
|
|
118
|
-
},
|
|
124
|
+
}, K = /* @__PURE__ */ L({
|
|
119
125
|
__name: "form",
|
|
120
126
|
props: {
|
|
121
127
|
componentSchema: {
|
|
@@ -124,65 +130,65 @@ const G = {
|
|
|
124
130
|
default: () => ({})
|
|
125
131
|
}
|
|
126
132
|
},
|
|
127
|
-
setup(
|
|
128
|
-
const
|
|
129
|
-
|
|
133
|
+
setup(u, { expose: c }) {
|
|
134
|
+
const l = u, o = P(null), p = D("forms", {}), { formData: i, setLogicRules: m } = v(h);
|
|
135
|
+
g("formData", i), g("form", o), F(() => l.componentSchema.componentProps.logicRules, (r) => {
|
|
130
136
|
m(r);
|
|
131
137
|
}, {
|
|
132
138
|
deep: !0,
|
|
133
139
|
immediate: !0
|
|
134
140
|
});
|
|
135
141
|
function d() {
|
|
136
|
-
return
|
|
142
|
+
return i;
|
|
137
143
|
}
|
|
138
|
-
function
|
|
144
|
+
function y() {
|
|
139
145
|
var r;
|
|
140
146
|
return (r = o.value) == null ? void 0 : r.validateFields();
|
|
141
147
|
}
|
|
142
|
-
function
|
|
148
|
+
function h() {
|
|
143
149
|
var r;
|
|
144
150
|
return (r = o.value) == null ? void 0 : r.clearValidate();
|
|
145
151
|
}
|
|
146
152
|
function e(r) {
|
|
147
|
-
Object.assign(
|
|
153
|
+
Object.assign(i, r);
|
|
148
154
|
}
|
|
149
|
-
|
|
150
|
-
var r,
|
|
151
|
-
if (((r =
|
|
152
|
-
const
|
|
153
|
-
return o.value.validate =
|
|
155
|
+
_(async () => {
|
|
156
|
+
var r, f, a, b;
|
|
157
|
+
if (((r = l.componentSchema) == null ? void 0 : r.type) === "form" && p.value && o.value) {
|
|
158
|
+
const S = ((a = (f = l.componentSchema) == null ? void 0 : f.componentProps) == null ? void 0 : a.name) ?? ((b = l.componentSchema) == null ? void 0 : b.name) ?? "default";
|
|
159
|
+
return o.value.validate = y, p.value[S] = o.value, o.value.getData = d, o.value.setData = e, !1;
|
|
154
160
|
}
|
|
155
161
|
});
|
|
156
162
|
const t = A(() => {
|
|
157
|
-
const r =
|
|
158
|
-
let
|
|
159
|
-
return r.layout === "vertical" ?
|
|
163
|
+
const r = l.componentSchema.componentProps;
|
|
164
|
+
let f = r.labelCol, a = r.wrapperCol;
|
|
165
|
+
return r.layout === "vertical" ? f = a = { span: 24 } : r.layout === "inline" && r.labelLayout === "fixed" ? (f = {}, a = { flex: 1 }) : r.labelLayout === "fixed" && (f = { flex: `${typeof r.labelWidth == "number" ? r.labelWidth + "px" : r.labelWidth}` }, a = { flex: 1 }), {
|
|
160
166
|
...r,
|
|
161
|
-
labelCol:
|
|
167
|
+
labelCol: f,
|
|
162
168
|
wrapperCol: a
|
|
163
169
|
};
|
|
164
170
|
});
|
|
165
171
|
function n(r) {
|
|
166
172
|
console.log(r);
|
|
167
173
|
}
|
|
168
|
-
const s = A(() =>
|
|
174
|
+
const s = A(() => l.componentSchema.children ?? []);
|
|
169
175
|
return c({
|
|
170
176
|
form: o,
|
|
171
177
|
getData: d,
|
|
172
178
|
setData: e,
|
|
173
|
-
validate:
|
|
174
|
-
}), (r,
|
|
179
|
+
validate: y
|
|
180
|
+
}), (r, f) => (k(), x("div", z, [
|
|
175
181
|
W(q(N), M({
|
|
176
182
|
ref_key: "form",
|
|
177
183
|
ref: o,
|
|
178
|
-
model: q(
|
|
184
|
+
model: q(i)
|
|
179
185
|
}, t.value, {
|
|
180
186
|
style: { height: "100%" },
|
|
181
187
|
onFinish: n
|
|
182
188
|
}), {
|
|
183
189
|
default: R(() => [
|
|
184
|
-
|
|
185
|
-
(k(!0), x($, null, B(s.value, (a) =>
|
|
190
|
+
w(r.$slots, "edit-node", {}, () => [
|
|
191
|
+
(k(!0), x($, null, B(s.value, (a) => w(r.$slots, "node", { componentSchema: a })), 256))
|
|
186
192
|
])
|
|
187
193
|
]),
|
|
188
194
|
_: 3
|
|
@@ -191,5 +197,5 @@ const G = {
|
|
|
191
197
|
}
|
|
192
198
|
});
|
|
193
199
|
export {
|
|
194
|
-
|
|
200
|
+
K as default
|
|
195
201
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),q=require("ant-design-vue"),g=require("./revoke-Bbm2vFx2.cjs");function S(l=null){const f=o.reactive({}),i=o.inject("pageManager");let s=[],p={};o.onMounted(()=>{o.watch(()=>f,e=>{o.nextTick(()=>{for(const t in e)e[t]!==p[t]&&(s==null||s.forEach(n=>{n.condition.conditions.map(a=>a.field).includes(t)&&(d(n.condition)?n.actions.forEach(a=>{m(a)}):n.actions.filter(a=>a.reverseExecute).forEach(a=>{m(a,!0)}))}));p=g.deepClone(e)})},{deep:!0,immediate:!0})});function d(e){return e.operator==="and"?e.conditions.every(t=>{if(!t.field)return!0;const n=f[t.field];return y(n,t)}):e.operator==="or"?e.conditions.some(t=>{if(!t.field)return!0;const n=f[t.field];return y(n,t)}):!0}function y(e,t){if(!t.value)return!1;switch(t.operator){case"eq":return typeof e=="object"?g.deepEqual(e,t.value):e===t.value;case"neq":return typeof e=="object"?!g.deepEqual(e,t.value):e!==t.value;case"gt":return(typeof e=="number"||typeof e=="string")&&e>t.value;case"gte":return(typeof e=="number"||typeof e=="string")&&e>=t.value;case"lt":return(typeof e=="number"||typeof e=="string")&&e<t.value;case"lte":return(typeof e=="number"||typeof e=="string")&&e<=t.value;case"in":return b(e,t.value);case"nin":return!b(e,t.value);case"null":return e==null||e.length===0;case"notNull":return e!=null&&e.length>0;default:return!0}}function m(e,t=!1){if(!e.field)return;const n=i.find(e.field);if(t&&["setValue"].includes(e.trigger??"")){n.setValue(null);return}if(n)switch(e.trigger){case"hide":n.setAttr("hidden",!t);break;case"show":n.setAttr("hidden",t);break;case"required":n.setAttr("required",!t),l==null||l();break;case"notRequired":n.setAttr("required",t),l==null||l();break;case"readonly":n.setAttr("readOnly",!t);break;case"readWrite":n.setAttr("readOnly",t);break;case"disabled":n.setAttr("disabled",!t);break;case"enabled":n.setAttr("disabled",t);break;case"setValue":n.setValue(e.value);break;case"addValue":const a=n.getValue(),r=e.value,c=[...a,...r],u=[...new Set(c)];n.setValue(u)}}function h(e){s=e}function b(e,t){if(Array.isArray(e)&&Array.isArray(t)){const n=new Set(e);return t.every(a=>n.has(a))}else{if(Array.isArray(e)&&typeof t!="object")return new Set(e).has(t);if(typeof e=="string"&&typeof t=="string")return e.includes(t)}return!1}return{formData:f,setLogicRules:h}}const w={class:"form-main",style:{height:"100%"}},x=o.defineComponent({__name:"form",props:{componentSchema:{type:Object,require:!0,default:()=>({})}},setup(l,{expose:f}){const i=l,s=o.ref(null),p=o.inject("forms",{}),{formData:d,setLogicRules:y}=S(b);o.provide("formData",d),o.provide("form",s),o.watch(()=>i.componentSchema.componentProps.logicRules,r=>{y(r)},{deep:!0,immediate:!0});function m(){return d}function h(){var r;return(r=s.value)==null?void 0:r.validateFields()}function b(){var r;return(r=s.value)==null?void 0:r.clearValidate()}function e(r){Object.assign(d,r)}o.onMounted(async()=>{var r,c,u,A;if(((r=i.componentSchema)==null?void 0:r.type)==="form"&&p.value&&s.value){const k=((u=(c=i.componentSchema)==null?void 0:c.componentProps)==null?void 0:u.name)??((A=i.componentSchema)==null?void 0:A.name)??"default";return s.value.validate=h,p.value[k]=s.value,s.value.getData=m,s.value.setData=e,!1}});const t=o.computed(()=>{const r=i.componentSchema.componentProps;let c=r.labelCol,u=r.wrapperCol;return r.layout==="vertical"?c=u={span:24}:r.layout==="inline"&&r.labelLayout==="fixed"?(c={},u={flex:1}):r.labelLayout==="fixed"&&(c={flex:`${typeof r.labelWidth=="number"?r.labelWidth+"px":r.labelWidth}`},u={flex:1}),{...r,labelCol:c,wrapperCol:u}});function n(r){console.log(r)}const a=o.computed(()=>i.componentSchema.children??[]);return f({form:s,getData:m,setData:e,validate:h}),(r,c)=>(o.openBlock(),o.createElementBlock("div",w,[o.createVNode(o.unref(q.Form),o.mergeProps({ref_key:"form",ref:s,model:o.unref(d)},t.value,{style:{height:"100%"},onFinish:n}),{default:o.withCtx(()=>[o.renderSlot(r.$slots,"edit-node",{},()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,u=>o.renderSlot(r.$slots,"node",{componentSchema:u})),256))])]),_:3},16,["model"])]))}});exports.default=x;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("ant-design-vue"),_=require("./index-qxPLG40o.cjs"),x=require("./revoke-Bbm2vFx2.cjs"),w=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),g={class:"mb-2 w-full"},b={class:"flex items-center w-390px"},C=e.createElementVNode("span",{class:"iconfont epic-icon-shanchu1"},null,-1),B=[C],y=e.defineComponent({__name:"actionItem",props:{modelValue:{},fieldOptions:{},triggerOptions:{}},emits:["update:modelValue","delete"],setup(p,{emit:h}){const V=e.inject("designer"),s=h,i=p,t=_.useVModel(i,"modelValue",s),m=e.computed(()=>V.state.checkedNode);console.log("checkedNode",m);const r=e.computed(()=>x.findSchemas([m.value],a=>a.id&&a.id===t.value.field,!0));function d(){s("delete")}return(f,a)=>(e.openBlock(),e.createElementBlock("div",g,[e.createVNode(e.unref(c.Space),null,{default:e.withCtx(()=>[e.createVNode(e.unref(c.Select),{class:"w-150px",value:e.unref(t).trigger,"onUpdate:value":a[0]||(a[0]=o=>e.unref(t).trigger=o),options:i.triggerOptions,placeholder:"选择动作"},null,8,["value","options"]),e.createElementVNode("div",b,[e.createVNode(e.unref(c.Select),{style:e.normalizeStyle({width:e.unref(t).trigger==="setValue"&&e.unref(t).field?"210px":"100%"}),value:e.unref(t).field,"onUpdate:value":a[1]||(a[1]=o=>e.unref(t).field=o),options:i.fieldOptions,placeholder:"选择字段",onChange:a[2]||(a[2]=o=>e.unref(t).value=void 0)},null,8,["style","value","options"]),e.unref(t).trigger==="setValue"&&e.unref(t).field?(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:e.unref(t).field,class:"w-240px ml-2",modelValue:e.unref(t).value,"onUpdate:modelValue":a[3]||(a[3]=o=>e.unref(t).value=o),"component-schema":{...r.value,noFormItem:!0,componentProps:{...r.value.componentProps,defaultValue:void 0,disabled:void 0,hidden:void 0}}},null,8,["modelValue","component-schema"])):e.createCommentVNode("",!0),e.unref(t).trigger==="addValue"&&e.unref(t).field&&e.unref(t).field.split("_")[0]=="checkbox"?(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:e.unref(t).field,class:"w-240px ml-2",modelValue:e.unref(t).value,"onUpdate:modelValue":a[4]||(a[4]=o=>e.unref(t).value=o),"component-schema":{...r.value,noFormItem:!0,componentProps:{...r.value.componentProps,defaultValue:void 0,disabled:void 0,hidden:void 0}}},null,8,["modelValue","component-schema"])):e.createCommentVNode("",!0),e.unref(t).trigger!=="addValue"?(e.openBlock(),e.createBlock(e.unref(c.Checkbox),{key:2,checked:e.unref(t).reverseExecute,"onUpdate:checked":a[5]||(a[5]=o=>e.unref(t).reverseExecute=o),class:"ml-2 w-120px"},{default:e.withCtx(()=>[e.createTextVNode("否则不")]),_:1},8,["checked"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"w-28px h-28px cursor-pointer bg-red-100 text-red-400 hover:bg-red-400 border-solid border-1px border-red-300 rounded-full flex justify-center items-center hover:text-white",onClick:d},B)]),_:1})]))}}),E=e.createElementVNode("span",{class:"iconfont epic-icon-tianjia"},null,-1),S=e.defineComponent({__name:"actionEdit",props:{modelValue:{}},emits:["update:modelValue"],setup(p,{emit:h}){const V=e.inject("designer"),s=e.computed(()=>V.state.checkedNode),i=e.computed(()=>{const o=x.findSchemas([s.value],n=>{var l,u;return n.type==="form"&&(((l=n.componentProps)==null?void 0:l.name)??n.name===((u=s.value)==null?void 0:u.componentProps.name))},!0);return x.findSchemas((o==null?void 0:o.children)??[],n=>!!n.input||["text","downLoad","card"].includes(n.type),!1,n=>n.type!=="subform").map(n=>{var l;return{label:["text"].includes(n.type)?(l=n.componentProps)==null?void 0:l.defaultValue:n.label,value:n.id}}).reverse()}),t=[{label:"隐藏",value:"hide"},{label:"显示",value:"show"},{label:"必填",value:"required"},{label:"非必填",value:"notRequired"},{label:"只读",value:"readonly"},{label:"可写",value:"readWrite"},{label:"禁用",value:"disabled"},{label:"启用",value:"enabled"},{label:"设置值",value:"setValue"},{label:"追加值",value:"addValue"}],m=p,r=h,d=_.useVModel(m,"modelValue",r);function f(o){d.value.push({trigger:o})}function a(o){d.value.splice(o,1)}return(o,v)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d),(n,l)=>(e.openBlock(),e.createBlock(y,{modelValue:e.unref(d)[l],"onUpdate:modelValue":u=>e.unref(d)[l]=u,key:l,fieldOptions:i.value,triggerOptions:t,onDelete:u=>a(l)},null,8,["modelValue","onUpdate:modelValue","fieldOptions","onDelete"]))),128)),e.createVNode(e.unref(c.Dropdown),null,{overlay:e.withCtx(()=>[e.createVNode(e.unref(c.Menu),null,{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(t,n=>e.createVNode(e.unref(c.MenuItem),{onClick:l=>f(n.value),key:n.value},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.label),1)]),_:2},1032,["onClick"])),64))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"ant-dropdown-link cursor-pointer text-blue-500",onClick:v[0]||(v[0]=e.withModifiers(()=>{},["prevent"]))},[E,e.createTextVNode(" 添加动作 ")])]),_:1})]))}}),O={class:"mb-4"},$=e.createElementVNode("span",{class:"iconfont epic-icon-shanchu1"},null,-1),D=[$],U=e.defineComponent({__name:"conditionItem",props:{modelValue:{},fieldOptions:{}},emits:["update:modelValue","delete"],setup(p,{emit:h}){const V=e.inject("designer"),s=h,i=p,t=_.useVModel(i,"modelValue",s),m=e.computed(()=>V.state.checkedNode),r=e.computed(()=>x.findSchemas([m.value],u=>u.field===t.value.field,!0)),d=[{label:"等于",value:"eq"},{label:"不等于",value:"neq"}],f=[{label:"大于",value:"gt"},{label:"大于等于",value:"gte"},{label:"小于",value:"lt"},{label:"小于等于",value:"lte"}],a=[{label:"包含",value:"in"},{label:"不包含",value:"nin"}],o=[...d.map(l=>l.value),...f.map(l=>l.value),...a.map(l=>l.value)],v=e.computed(()=>{const l=[{label:"为空",value:"null"},{label:"非空",value:"notNull"}];return["input","textarea","password","select","checkbox","JSelectMultiple"].includes(r.value.type)&&l.unshift(...a),["number"].includes(r.value.type)&&l.unshift(...f),["xyTextArea","input","input","number","textarea","password","radio","checkbox","select","slider","time","date","cascader","switch","color-picker","JSelectDept","JSelectMultiple","JDictSelectTag","classifiedDictionary","selectUser","xyRadio"].includes(r.value.type)&&l.unshift(...d),l});e.watch(()=>v.value,l=>{t.value.operator=l[0].value});function n(){s("delete")}return(l,u)=>(e.openBlock(),e.createElementBlock("div",O,[e.createVNode(e.unref(c.Space),null,{default:e.withCtx(()=>[e.createVNode(e.unref(c.Select),{class:"w-180px",value:e.unref(t).field,"onUpdate:value":u[0]||(u[0]=k=>e.unref(t).field=k),options:i.fieldOptions,placeholder:"选择字段"},null,8,["value","options"]),e.unref(t).field?(e.openBlock(),e.createBlock(e.unref(c.Select),{key:0,value:e.unref(t).operator,"onUpdate:value":u[1]||(u[1]=k=>e.unref(t).operator=k),class:"w-100px",options:v.value,placeholder:"选择判断条件"},null,8,["value","options"])):e.createCommentVNode("",!0),e.unref(t).field&&e.unref(t).operator&&o.includes(e.unref(t).operator)?(e.openBlock(),e.createBlock(e.unref(_._sfc_main),{key:1,modelValue:e.unref(t).value,"onUpdate:modelValue":u[2]||(u[2]=k=>e.unref(t).value=k),"component-schema":{...r.value,noFormItem:!0,componentProps:{...r.value.componentProps,defaultValue:void 0,disabled:void 0,hidden:void 0}}},null,8,["modelValue","component-schema"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"w-28px h-28px cursor-pointer bg-red-100 text-red-400 hover:bg-red-400 border-solid border-1px border-red-300 rounded-full flex justify-center items-center hover:text-white",onClick:n},D)]),_:1})]))}}),N=p=>(e.pushScopeId("data-v-9db78388"),p=p(),e.popScopeId(),p),j={class:"flex"},T={key:0,class:"logical-operator"},P=N(()=>e.createElementVNode("div",{class:"logical-operator__line"},null,-1)),I={class:"flex-1"},M=N(()=>e.createElementVNode("span",{class:"iconfont epic-icon-tianjia mr-1"},null,-1)),q=e.defineComponent({__name:"conditionEdit",props:{modelValue:{}},emits:["update:modelValue"],setup(p,{emit:h}){const V=e.inject("designer"),s=e.computed(()=>V.state.checkedNode),i=e.computed(()=>{var a;return x.getFormSchemas([s.value],(a=s.value)==null?void 0:a.componentProps.name).map(o=>({label:o.label,value:o.field})).reverse()}),t=p,m=h,r=_.useVModel(t,"modelValue",m);function d(){r.value.conditions.push({})}function f(a){r.value.conditions.splice(a,1)}return(a,o)=>(e.openBlock(),e.createElementBlock("div",j,[e.unref(r).conditions.length?(e.openBlock(),e.createElementBlock("div",T,[P,e.createVNode(e.unref(c.Switch),{checked:e.unref(r).operator,"onUpdate:checked":o[0]||(o[0]=v=>e.unref(r).operator=v),"checked-children":"且",checkedValue:"and",unCheckedValue:"or","un-checked-children":"或"},null,8,["checked"])])):e.createCommentVNode("",!0),e.createElementVNode("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r).conditions,(v,n)=>(e.openBlock(),e.createBlock(U,{modelValue:e.unref(r).conditions[n],"onUpdate:modelValue":l=>e.unref(r).conditions[n]=l,key:n,fieldOptions:i.value,onDelete:l=>f(n)},null,8,["modelValue","onUpdate:modelValue","fieldOptions","onDelete"]))),128)),e.createVNode(e.unref(c.Button),{class:"w-100%",type:"dashed",onClick:d},{icon:e.withCtx(()=>[M]),default:e.withCtx(()=>[e.createTextVNode(" 添加条件 ")]),_:1})])]))}}),F=w._export_sfc(q,[["__scopeId","data-v-9db78388"]]),L={class:"epic-drawer-container h-full"},R={class:"h-full flex flex-col"},A={class:"px-16px"},J=e.createElementVNode("span",{class:"iconfont epic-icon-tianjia mr-1"},null,-1),z={class:"mt-2 flex-1 overflow-auto px-16px"},H=["onClick"],W=e.createElementVNode("span",{class:"iconfont epic-icon-tianjia"},null,-1),G=[W],K={class:"epic-modal-footer"},Q=e.defineComponent({__name:"drawer",emits:["ok"],setup(p,{expose:h,emit:V}){const s=V,i=e.ref(!1),t=e.ref([]);function m(o=[]){t.value=o,i.value=!0}function r(){t.value.push({actions:[],condition:{conditions:[],operator:"and"}})}function d(o){t.value.splice(o,1)}function f(){i.value=!1}function a(){s("ok",t.value),f()}return h({showDrawer:m}),(o,v)=>(e.openBlock(),e.createBlock(e.unref(c.Drawer),{class:"epic-drawer-form-logic",width:"650px",title:"逻辑规则",open:i.value,"onUpdate:open":v[0]||(v[0]=n=>i.value=n)},{default:e.withCtx(()=>[e.createElementVNode("div",L,[e.createElementVNode("div",R,[e.createElementVNode("div",A,[e.createVNode(e.unref(c.Button),{class:"w-full",type:"primary",onClick:r},{icon:e.withCtx(()=>[J]),default:e.withCtx(()=>[e.createTextVNode(" 添加逻辑规则 ")]),_:1})]),e.createElementVNode("div",z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(n,l)=>(e.openBlock(),e.createBlock(e.unref(c.Card),{key:l,class:"mt-2",bodyStyle:{padding:"16px"}},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"absolute top-8px right-8px cursor-pointer rounded-full w-24px h-24px text-16px flex items-center justify-center hover:bg-gray-100 rotate-45",onClick:u=>d(l)},G,8,H),e.createVNode(e.unref(c.Divider),null,{default:e.withCtx(()=>[e.createTextVNode("当满足以下条件时")]),_:1}),e.createVNode(F,{modelValue:n.condition,"onUpdate:modelValue":u=>n.condition=u},null,8,["modelValue","onUpdate:modelValue"]),e.createVNode(e.unref(c.Divider),null,{default:e.withCtx(()=>[e.createTextVNode("则执行")]),_:1}),e.createVNode(S,{modelValue:n.actions,"onUpdate:modelValue":u=>n.actions=u},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024))),128))])])]),e.createElementVNode("div",K,[e.createVNode(e.unref(c.Space),{align:"end"},{default:e.withCtx(()=>[e.createVNode(e.unref(c.Button),{onClick:f},{default:e.withCtx(()=>[e.createTextVNode("关闭")]),_:1}),e.createVNode(e.unref(c.Button),{type:"primary",onClick:a},{default:e.withCtx(()=>[e.createTextVNode(" 确定 ")]),_:1})]),_:1})])]),_:1},8,["open"]))}}),X=e.createElementVNode("span",{class:"iconfont epic-icon-shezhi mr-1"},null,-1),Y=e.defineComponent({__name:"formLogic",props:{modelValue:{}},emits:["update:modelValue"],setup(p,{emit:h}){const V=e.inject("pageSchema"),s=p,i=e.ref(),t=h;function m(){var d;(d=i.value)==null||d.showDrawer(s.modelValue)}function r(d){t("update:modelValue",d),V.logicRules=d}return(d,f)=>{var a;return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(e.unref(c.Badge),{count:((a=s.modelValue)==null?void 0:a.length)??0},{default:e.withCtx(()=>[e.createVNode(e.unref(c.Button),{onClick:m},{icon:e.withCtx(()=>[X]),default:e.withCtx(()=>[e.createTextVNode(" 配置")]),_:1})]),_:1},8,["count"]),e.createVNode(Q,{onOk:r,ref_key:"drawerRef",ref:i},null,512)])}}});exports.default=Y;
|