@web-utils/form-ui 1.0.0-beta87 → 1.0.0-beta89
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/address-input/index.mjs +1 -1
- package/affix/index.mjs +1 -1
- package/capsule-tab/index.mjs +1 -1
- package/card/index.mjs +15 -15
- package/chunks/{BjZf7WL6.mjs → 2t188JoC2.mjs} +2 -2
- package/chunks/6eDDQWcr.mjs +69 -0
- package/chunks/9ec0Wti82.mjs +37 -0
- package/chunks/{BkEjtrWy.mjs → B7BaAm4k2.mjs} +2 -2
- package/chunks/{B14qtsOg2.mjs → BCYFaOiB.mjs} +7 -8
- package/chunks/{BBlZh4pj.mjs → BFhVUqpP2.mjs} +2 -2
- package/chunks/{BF0OBs7P.mjs → BJDeTpmp2.mjs} +14 -15
- package/chunks/BQytQPLa.mjs +780 -0
- package/chunks/{y9rz_ZSp.mjs → BSOrm2U4.mjs} +36 -37
- package/chunks/BaQBwVz32.mjs +63 -0
- package/chunks/{B0rLJ6br2.mjs → BcsscZAM.mjs} +26 -27
- package/chunks/{CTCW5Zu02.mjs → BegZOXrr.mjs} +134 -135
- package/chunks/{BZb0RMw12.mjs → BfW25VbY.mjs} +13 -15
- package/chunks/Bg01eBVa2.mjs +50 -0
- package/chunks/BhPVs8Ju.mjs +30 -0
- package/chunks/{BCqOe0lx.mjs → BjccroM8.mjs} +1 -1
- package/chunks/{BPQMbzNr.mjs → Br3whXEJ2.mjs} +2 -2
- package/chunks/{CsckXzQC.mjs → BsqIRxSS.mjs} +6 -7
- package/chunks/BuI82QMb2.mjs +29 -0
- package/chunks/{C5SO6LJW.mjs → Bv7b2DXh2.mjs} +2 -2
- package/chunks/{Cqn3fqrC.mjs → C-iN5MJZ.mjs} +6 -6
- package/chunks/{losZHy0P.mjs → C-s-88fN2.mjs} +1 -1
- package/chunks/C54nZqvy2.mjs +39 -0
- package/chunks/{DsSXjU752.mjs → C6Qr094V.mjs} +862 -1599
- package/chunks/{DNicIC4X.mjs → CB0zQsKV2.mjs} +31 -32
- package/chunks/{kWflpyKd.mjs → CFpGTE5U2.mjs} +2 -2
- package/chunks/{BuwISkjU.mjs → CHqxWrj7.mjs} +11 -12
- package/chunks/{_wUx1zSH2.mjs → CIihGrgY.mjs} +3 -3
- package/chunks/{Bi2y9LWO2.mjs → CJcEBXw-.mjs} +92 -90
- package/chunks/{DUzoabyA2.mjs → CJwAjhLy.mjs} +68 -69
- package/chunks/CW021IPm2.mjs +34 -0
- package/chunks/{DOPqetRk2.mjs → CW1nopZH.mjs} +1 -1
- package/chunks/{BgQktI__2.mjs → CbedyG4s.mjs} +385 -384
- package/chunks/{C_mXAGw2.mjs → CdvD0NRo2.mjs} +2 -2
- package/chunks/ClVh1Lek.mjs +130 -0
- package/chunks/{Dk_ATXDY.mjs → CpmWELPU.mjs} +1 -1
- package/chunks/{DcIBy4G3.mjs → Ctx93AFS.mjs} +6 -6
- package/chunks/D1mQTnJ8.mjs +672 -0
- package/chunks/D20CQ-B6.mjs +58 -0
- package/chunks/D2kLAzxW.mjs +61 -0
- package/chunks/{XGboXSyJ2.mjs → D8_fl5Oq.mjs} +138 -139
- package/chunks/{1EH2Ca7m2.mjs → D9ft-f6n.mjs} +29 -31
- package/chunks/DC3DNg_r.mjs +68 -0
- package/chunks/{CFfhckpA.mjs → DNq7pbXh2.mjs} +27 -26
- package/chunks/{Cwgd7PoY.mjs → DSbWLRCq2.mjs} +4 -4
- package/chunks/DYaPbj-G.mjs +99 -0
- package/chunks/Dd4RtBO02.mjs +31 -0
- package/chunks/DdACGFy3.mjs +90 -0
- package/chunks/DdHN2Nv72.mjs +108 -0
- package/chunks/{LnWJAAlm2.mjs → DmJaItEY.mjs} +178 -178
- package/chunks/Dnapnskp2.mjs +29 -0
- package/chunks/{CuU6RbNj2.mjs → Dodxnwze.mjs} +6 -6
- package/chunks/{BXdCyPVV.mjs → MUk_IdeO2.mjs} +2 -2
- package/chunks/PMFCDS7v.mjs +517 -0
- package/chunks/{Cxhpz5pM.mjs → SbDhX-Iz2.mjs} +112 -112
- package/chunks/{BvdCIFp_.mjs → Skjlt6fi2.mjs} +31 -32
- package/chunks/V-Js6hNd.mjs +179 -0
- package/chunks/aOv3rI7q.mjs +32 -0
- package/chunks/{DrrpjVlS.mjs → dxZzZgUn.mjs} +17 -18
- package/chunks/{DZ1RiRcl2.mjs → fT8tFJVO.mjs} +29 -31
- package/chunks/{wkrB-kab.mjs → jG7vu3RX.mjs} +1 -1
- package/chunks/m5oFTe8Y2.mjs +25 -0
- package/chunks/mQG01w6Y.mjs +155 -0
- package/chunks/{2Bhi7uIl.mjs → mnqSaATq.mjs} +19 -18
- package/chunks/{BsBVCVnp2.mjs → v7SkpvNZ.mjs} +33 -27
- package/chunks/{Bi03Pb_j2.mjs → vCOhFr2x.mjs} +1 -1
- package/code-mirror-editor/index.mjs +1 -1
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/context-menu/index.mjs +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +1 -1
- package/data-card/index.mjs +8 -8
- package/data-card-text/index.mjs +8 -8
- package/data-display/index.mjs +9 -9
- package/data-icons/index.mjs +9 -9
- package/data-imgtext/index.mjs +9 -10
- package/data-operatext/index.mjs +8 -8
- package/data-panel/index.mjs +9 -9
- package/data-pay/index.mjs +10 -11
- package/data-price/index.mjs +8 -8
- package/data-progress/index.mjs +10 -10
- package/data-rotate/index.mjs +1 -1
- package/data-table-picker/index.mjs +15 -15
- package/data-tabs/index.mjs +1 -1
- package/dialog-form/index.mjs +49 -49
- package/dict-render/index.mjs +1 -1
- package/e-charts/index.mjs +2 -2
- package/easy-popup/index.mjs +1 -1
- package/editable-progress/index.mjs +8 -8
- package/editable-tree/index.mjs +596 -2
- package/editable-tree/style.css +1 -1
- package/element-dialog/index.mjs +1 -1
- package/element-dialog/style.css +1 -1
- package/element-resize-observer/index.mjs +1 -1
- package/flex-box/index.mjs +1 -1
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flex-scroller/index.mjs +1 -1
- package/flow-designer/index.mjs +1 -1
- package/flow-viewer/index.mjs +1 -1
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.mjs +1 -1
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.mjs +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.mjs +1 -1
- package/form-item/index.mjs +1 -1
- package/form-item-group/index.mjs +1 -1
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-row/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.mjs +1 -1
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.mjs +1 -1
- package/form-view/index.mjs +3 -3
- package/fy-array/index.d.ts +264 -1
- package/fy-array/index.mjs +130 -2
- package/fy-array/style.css +1 -1
- package/fy-button/index.mjs +1 -1
- package/fy-cascader/index.d.ts +264 -1
- package/fy-cascader/index.mjs +27 -27
- package/fy-checkbox/index.d.ts +264 -1
- package/fy-checkbox/index.mjs +29 -29
- package/fy-curd/index.mjs +1 -1
- package/fy-date/index.d.ts +264 -1
- package/fy-date/index.mjs +31 -31
- package/fy-dynamic/index.d.ts +264 -1
- package/fy-dynamic/index.mjs +1 -1
- package/fy-empty/index.mjs +2 -2
- package/fy-form/index.mjs +1 -1
- package/fy-form/style.css +1 -1
- package/fy-input/index.d.ts +264 -1
- package/fy-input/index.mjs +36 -37
- package/fy-input-color/index.d.ts +264 -1
- package/fy-input-color/index.mjs +80 -2
- package/fy-input-icon/index.d.ts +264 -1
- package/fy-input-icon/index.mjs +35 -36
- package/fy-input-map/index.d.ts +264 -1
- package/fy-input-map/index.mjs +30 -31
- package/fy-input-number/index.d.ts +264 -1
- package/fy-input-number/index.mjs +26 -26
- package/fy-input-table/index.d.ts +264 -1
- package/fy-input-table/index.mjs +24 -25
- package/fy-input-tree/index.d.ts +264 -1
- package/fy-input-tree/index.mjs +43 -43
- package/fy-radio/index.d.ts +264 -1
- package/fy-radio/index.mjs +20 -21
- package/fy-rate/index.d.ts +264 -1
- package/fy-rate/index.mjs +27 -27
- package/fy-select/index.d.ts +264 -1
- package/fy-select/index.mjs +1 -1
- package/fy-slider/index.d.ts +264 -1
- package/fy-slider/index.mjs +29 -29
- package/fy-switch/index.d.ts +264 -1
- package/fy-switch/index.mjs +24 -24
- package/fy-tabs/index.mjs +8 -8
- package/fy-time/index.d.ts +264 -1
- package/fy-time/index.mjs +10 -10
- package/fy-title/index.d.ts +264 -1
- package/fy-title/index.mjs +2 -2
- package/fy-tree/index.mjs +57 -59
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.d.ts +264 -1
- package/fy-upload/index.mjs +1 -1
- package/fy-upload/style.css +1 -1
- package/guide-steps/index.mjs +77 -2
- package/guide-steps/style.css +1 -1
- package/helper/dictionary.mjs +1 -1
- package/helper/input.mjs +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/icon-temp/index.mjs +1 -1
- package/iframe-window/index.mjs +1 -1
- package/image-cropper/index.mjs +5 -5
- package/image-preview/index.mjs +201 -2
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +1 -1
- package/index.css +1 -1
- package/index.mjs +147 -147
- package/input-number-range/index.mjs +7 -7
- package/keyboard/index.mjs +1 -1
- package/loading-view/index.mjs +1 -1
- package/monaco-editor/index.mjs +1 -1
- package/name-avatar/index.mjs +1 -1
- package/nav-bar/index.mjs +3 -3
- package/package.json +1 -1
- package/page-index/index.mjs +14 -14
- package/page-index-top/index.mjs +12 -12
- package/pageable-table/index.mjs +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/props/col.mjs +1 -1
- package/props/form-item.mjs +1 -1
- package/resolver/index.mjs +1 -1
- package/sign-panel/index.mjs +1 -1
- package/skeleton-panel/index.mjs +3 -3
- package/split-pane/index.mjs +1 -1
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.mjs +1 -1
- package/swiper/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-column-def/index.mjs +1 -1
- package/table-view/index.mjs +103 -104
- package/tag-render/index.mjs +7 -9
- package/text-ellipsis/index.mjs +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.mjs +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tree-select/index.mjs +1 -1
- package/vue-video-player/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +20 -24
- package/year-calendar/index.mjs +1 -1
- package/base2.css +0 -1
- package/chunks/2Hag_Aho.mjs +0 -4
- package/chunks/6Lm-ZabT2.mjs +0 -439
- package/chunks/7OAy-mrx.mjs +0 -642
- package/chunks/7cy48wUQ.mjs +0 -25
- package/chunks/8ldF4QwW.mjs +0 -209
- package/chunks/B2vpUK0j.mjs +0 -13
- package/chunks/B7fnIBG_2.mjs +0 -346
- package/chunks/B9BRO_ca2.mjs +0 -2
- package/chunks/B9rfY77Q.mjs +0 -107
- package/chunks/BBYzYVET.mjs +0 -173
- package/chunks/BBbwcaCo.mjs +0 -196
- package/chunks/BFY-akW92.mjs +0 -1
- package/chunks/BGjN3ifV.mjs +0 -34
- package/chunks/BMouE3MT.mjs +0 -48
- package/chunks/BVD_ePZC.mjs +0 -37
- package/chunks/BVSJF8GY.mjs +0 -670
- package/chunks/BZuJ9dKq2.mjs +0 -69
- package/chunks/BaM7vJ3h.mjs +0 -1920
- package/chunks/BbJd8Pij.mjs +0 -734
- package/chunks/BhIjXcRj2.mjs +0 -617
- package/chunks/BnNJk0GR2.mjs +0 -4
- package/chunks/Bpp7HhpF.mjs +0 -446
- package/chunks/Bs0Qas8r.mjs +0 -14
- package/chunks/Bs8cIxmy.mjs +0 -384
- package/chunks/BtGJbKCB.mjs +0 -4
- package/chunks/BwVhaeaN2.mjs +0 -8
- package/chunks/BxfDXlNF.mjs +0 -5
- package/chunks/C1rRv4L7.mjs +0 -1094
- package/chunks/C2ILQE4o.mjs +0 -15
- package/chunks/C6wieT3K2.mjs +0 -4
- package/chunks/C7L-0D2c.mjs +0 -18
- package/chunks/CAXQZ1D92.mjs +0 -158
- package/chunks/CAmsy3d12.mjs +0 -1
- package/chunks/CBrMFZX-.mjs +0 -39
- package/chunks/CDhbz_dU.mjs +0 -5
- package/chunks/CEAep1cG2.mjs +0 -88
- package/chunks/CEDUulAx.mjs +0 -245
- package/chunks/CEaiqlCR.mjs +0 -678
- package/chunks/CG-vyVAP2.mjs +0 -2
- package/chunks/CHqbeWkw.mjs +0 -99
- package/chunks/CI6Nw27a2.mjs +0 -299
- package/chunks/CNcSX5f1.mjs +0 -1
- package/chunks/CPAK-Btp2.mjs +0 -58
- package/chunks/CRScbQff2.mjs +0 -1
- package/chunks/CShykH0i.mjs +0 -1
- package/chunks/CTAUFbNL.mjs +0 -222
- package/chunks/CZbhVowA2.mjs +0 -105
- package/chunks/C_rLHaAm.mjs +0 -41
- package/chunks/C_ykwQIT.mjs +0 -25
- package/chunks/Cm5l5wtF.mjs +0 -21
- package/chunks/CogUVyM32.mjs +0 -161
- package/chunks/CtqI9iHR.mjs +0 -108
- package/chunks/Cu_oMKPd.mjs +0 -250
- package/chunks/Cum802WQ.mjs +0 -13
- package/chunks/Cx2xXO7o.mjs +0 -52
- package/chunks/CyF0QYX72.mjs +0 -1098
- package/chunks/D0SsqlhV2.mjs +0 -2381
- package/chunks/D5OVW2kN.mjs +0 -34
- package/chunks/D6WqEUFG2.mjs +0 -98
- package/chunks/D8iXlrtZ2.mjs +0 -1038
- package/chunks/D98jjbwV2.mjs +0 -61
- package/chunks/D9Pg_OCD2.mjs +0 -6
- package/chunks/DA1LVvTS.mjs +0 -577
- package/chunks/DHUKKHoT.mjs +0 -1
- package/chunks/DJQH0NMv.mjs +0 -276
- package/chunks/DK7E0MrC2.mjs +0 -990
- package/chunks/DTS-uhBE.mjs +0 -25
- package/chunks/DUQs5bPg.mjs +0 -188
- package/chunks/DV-c1hfn2.mjs +0 -6
- package/chunks/DVvu0kbn2.mjs +0 -69
- package/chunks/DZZdwRGN.mjs +0 -479
- package/chunks/Dd5QuF1x.mjs +0 -26
- package/chunks/DeXyq_xW2.mjs +0 -936
- package/chunks/DgXDFUzM2.mjs +0 -60
- package/chunks/DhA6VYyn.mjs +0 -588
- package/chunks/DiQUqii-.mjs +0 -486
- package/chunks/DlhCJLng.mjs +0 -211
- package/chunks/Dq9YiS-H.mjs +0 -26
- package/chunks/DuIXSS2d.mjs +0 -454
- package/chunks/DvCdN2bU.mjs +0 -1
- package/chunks/DvG4VjQh.mjs +0 -216
- package/chunks/DvenxcV4.mjs +0 -186
- package/chunks/DxG4FcLQ2.mjs +0 -58
- package/chunks/E-zZdDOp.mjs +0 -48
- package/chunks/HQd8AhfS.mjs +0 -225
- package/chunks/HsqImdEj.mjs +0 -69
- package/chunks/IAX-2m4F.mjs +0 -31
- package/chunks/JvWWISEH2.mjs +0 -243
- package/chunks/K7NMn1cU.mjs +0 -12
- package/chunks/NiAjkTEH2.mjs +0 -32
- package/chunks/OWDOBaZL.mjs +0 -467
- package/chunks/R_GWm9EB.mjs +0 -41
- package/chunks/Rn-X08l92.mjs +0 -273
- package/chunks/STHbzblo.mjs +0 -55
- package/chunks/TWAjK03p.mjs +0 -3092
- package/chunks/ZIHPaVeg.mjs +0 -105
- package/chunks/ZxxDJBOG2.mjs +0 -180
- package/chunks/_NG8ze6x.mjs +0 -42
- package/chunks/aeYRYRdi.mjs +0 -29
- package/chunks/b58kljs82.mjs +0 -525
- package/chunks/cGGsl8YM2.mjs +0 -2
- package/chunks/cvUTkWmm.mjs +0 -98
- package/chunks/el7WAt3q.mjs +0 -4
- package/chunks/f-0LSLCC.mjs +0 -17
- package/chunks/g1H2yYXi.mjs +0 -35
- package/chunks/hczonP-N2.mjs +0 -206
- package/chunks/jkTWyLZa.mjs +0 -17
- package/chunks/kN7dSjtl.mjs +0 -1278
- package/chunks/lJ7uxiQe2.mjs +0 -46
- package/chunks/lKeVGJZg.mjs +0 -62
- package/chunks/qNngJ9B9.mjs +0 -29
- package/chunks/r6tERHEL.mjs +0 -438
- package/chunks/tSJE9_uL.mjs +0 -1
- package/chunks/vRQzbLgj.mjs +0 -2
- package/chunks/wfxM1ecI.mjs +0 -17
- package/chunks/zG9cElaH.mjs +0 -1209
- package/css/style.css +0 -1
- package/css/style10.css +0 -1
- package/css/style11.css +0 -1
- package/css/style12.css +0 -1
- package/css/style13.css +0 -1
- package/css/style14.css +0 -1
- package/css/style15.css +0 -1
- package/css/style16.css +0 -1
- package/css/style17.css +0 -1
- package/css/style18.css +0 -1
- package/css/style19.css +0 -1
- package/css/style2.css +0 -1
- package/css/style20.css +0 -1
- package/css/style21.css +0 -1
- package/css/style22.css +0 -1
- package/css/style23.css +0 -1
- package/css/style24.css +0 -1
- package/css/style25.css +0 -1
- package/css/style26.css +0 -1
- package/css/style27.css +0 -1
- package/css/style28.css +0 -1
- package/css/style29.css +0 -1
- package/css/style3.css +0 -1
- package/css/style30.css +0 -1
- package/css/style31.css +0 -1
- package/css/style32.css +0 -1
- package/css/style33.css +0 -1
- package/css/style34.css +0 -1
- package/css/style35.css +0 -1
- package/css/style36.css +0 -1
- package/css/style37.css +0 -1
- package/css/style38.css +0 -1
- package/css/style39.css +0 -1
- package/css/style4.css +0 -1
- package/css/style5.css +0 -1
- package/css/style6.css +0 -1
- package/css/style7.css +0 -1
- package/css/style8.css +0 -1
- package/css/style9.css +0 -1
- package/form-image/style.css +0 -1
- package/form-radio-group/style.css +0 -1
- package/fy-input-color/style.css +0 -1
- /package/chunks/{hFCEXdXW.mjs → B1MSrc6f.mjs} +0 -0
- /package/chunks/{DdkcOQQ02.mjs → BbUUI4mF.mjs} +0 -0
- /package/chunks/{wm9pxXuv.mjs → Br0vC3nS2.mjs} +0 -0
- /package/chunks/{BEOl740t2.mjs → CBHGpbDK.mjs} +0 -0
- /package/chunks/{gQwOnofw.mjs → CY2YrwMT.mjs} +0 -0
- /package/chunks/{DX29uO-O.mjs → CZnwC17w.mjs} +0 -0
- /package/chunks/{nvUgyH-A.mjs → C_QfuxeQ.mjs} +0 -0
- /package/chunks/{CyNGeUTh.mjs → Cp1olyWc.mjs} +0 -0
- /package/chunks/{CVDxIjGg.mjs → DEHzWyyp.mjs} +0 -0
- /package/chunks/{BMdSzPpD2.mjs → DJe2Reym.mjs} +0 -0
- /package/chunks/{CISLTyi_2.mjs → DOLQ28wD.mjs} +0 -0
- /package/chunks/{CeLNtZZw.mjs → DokYQ49m.mjs} +0 -0
- /package/chunks/{Xe_0bP0H.mjs → tzjUpVIj.mjs} +0 -0
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { m as e } from "./ClVh1Lek.mjs";
|
|
2
|
+
import { ElDialog as t } from "element-plus/es";
|
|
3
|
+
import "element-plus/es/components/base/style/css";
|
|
4
|
+
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createSlots as s, getCurrentInstance as c, mergeModels as l, mergeProps as u, normalizeClass as d, openBlock as f, ref as p, renderSlot as m, toDisplayString as h, toHandlers as g, unref as _, useModel as v, useTemplateRef as y, withCtx as b, withModifiers as x } from "vue";
|
|
5
|
+
import "element-plus/es/components/dialog/style/css";
|
|
6
|
+
//#region src/components/dialog/props.ts
|
|
7
|
+
var S = {
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: !1
|
|
11
|
+
},
|
|
12
|
+
title: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: ""
|
|
15
|
+
},
|
|
16
|
+
width: [String, Number],
|
|
17
|
+
fullscreen: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
top: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: ""
|
|
24
|
+
},
|
|
25
|
+
modal: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: !0
|
|
28
|
+
},
|
|
29
|
+
modalPenetrable: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: !1
|
|
32
|
+
},
|
|
33
|
+
modalClass: String,
|
|
34
|
+
headerClass: String,
|
|
35
|
+
bodyClass: String,
|
|
36
|
+
footerClass: String,
|
|
37
|
+
appendToBody: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: !0
|
|
40
|
+
},
|
|
41
|
+
appendTo: [String, Object],
|
|
42
|
+
lockScroll: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: !0
|
|
45
|
+
},
|
|
46
|
+
openDelay: {
|
|
47
|
+
type: Number,
|
|
48
|
+
default: 0
|
|
49
|
+
},
|
|
50
|
+
closeDelay: {
|
|
51
|
+
type: Number,
|
|
52
|
+
default: 0
|
|
53
|
+
},
|
|
54
|
+
closeOnClickModal: { type: Boolean },
|
|
55
|
+
closeOnPressEscape: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: !0
|
|
58
|
+
},
|
|
59
|
+
showClose: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: !0
|
|
62
|
+
},
|
|
63
|
+
beforeClose: Function,
|
|
64
|
+
draggable: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: !0
|
|
67
|
+
},
|
|
68
|
+
overflow: {
|
|
69
|
+
type: Boolean,
|
|
70
|
+
default: !1
|
|
71
|
+
},
|
|
72
|
+
center: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: !1
|
|
75
|
+
},
|
|
76
|
+
alignCenter: {
|
|
77
|
+
type: Boolean,
|
|
78
|
+
default: !1
|
|
79
|
+
},
|
|
80
|
+
destroyOnClose: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: !1
|
|
83
|
+
},
|
|
84
|
+
closeIcon: [String, Object],
|
|
85
|
+
zIndex: Number,
|
|
86
|
+
headerAriaLevel: {
|
|
87
|
+
type: String,
|
|
88
|
+
default: "2"
|
|
89
|
+
},
|
|
90
|
+
transition: [String, Object],
|
|
91
|
+
customClass: {
|
|
92
|
+
type: String,
|
|
93
|
+
default: ""
|
|
94
|
+
},
|
|
95
|
+
height: String,
|
|
96
|
+
embed: Boolean,
|
|
97
|
+
showFullscreen: Boolean,
|
|
98
|
+
showFullScreen: Boolean,
|
|
99
|
+
bodyPadding: {
|
|
100
|
+
type: Boolean,
|
|
101
|
+
default: !0
|
|
102
|
+
}
|
|
103
|
+
}, C = {
|
|
104
|
+
embed: !0,
|
|
105
|
+
height: !0,
|
|
106
|
+
showFullscreen: !0,
|
|
107
|
+
showFullScreen: !0,
|
|
108
|
+
fullscreen: !0,
|
|
109
|
+
showClose: !0,
|
|
110
|
+
bodyPadding: !0
|
|
111
|
+
}, w = (e) => C[e] !== !0, T = { class: "dialog-title" }, E = { class: "dialog-header-buttons" }, D = /* @__PURE__ */ Object.assign({
|
|
112
|
+
name: "ElementDialog",
|
|
113
|
+
inheritAttrs: !1
|
|
114
|
+
}, {
|
|
115
|
+
__name: "ElementDialog",
|
|
116
|
+
props: /* @__PURE__ */ l({ ...S }, {
|
|
117
|
+
modelValue: {
|
|
118
|
+
type: Boolean,
|
|
119
|
+
default: !1
|
|
120
|
+
},
|
|
121
|
+
modelModifiers: {}
|
|
122
|
+
}),
|
|
123
|
+
emits: /* @__PURE__ */ l({ "toggle-fullscreen": null }, ["update:modelValue"]),
|
|
124
|
+
setup(l, { expose: S, emit: C }) {
|
|
125
|
+
let D = v(l, "modelValue"), O = l, k = C, { autoBindProps: A, listeners: j } = e(O, {
|
|
126
|
+
predicate: w,
|
|
127
|
+
removeOn: !0
|
|
128
|
+
}), M = y("dialog"), N = p(O.fullscreen), P = () => {
|
|
129
|
+
N.value = !N.value, k("toggle-fullscreen", N.value);
|
|
130
|
+
}, F = n(() => N.value ? "100%" : O.height), I = c(), L = () => {
|
|
131
|
+
O.embed ? (I.parent.emit("update:visible", !1), I.parent.emit("update:modelValue", !1)) : M.value.handleClose();
|
|
132
|
+
};
|
|
133
|
+
return S({
|
|
134
|
+
close: L,
|
|
135
|
+
hide: L
|
|
136
|
+
}), (e, n) => {
|
|
137
|
+
let c = t;
|
|
138
|
+
return f(), r(c, u({
|
|
139
|
+
ref: "dialog",
|
|
140
|
+
modelValue: D.value,
|
|
141
|
+
"onUpdate:modelValue": n[0] || (n[0] = (e) => D.value = e),
|
|
142
|
+
class: "element-dialog"
|
|
143
|
+
}, _(A), {
|
|
144
|
+
class: e.$attrs.class,
|
|
145
|
+
"show-close": !1,
|
|
146
|
+
fullscreen: _(N),
|
|
147
|
+
"body-class": `${e.bodyClass || ""}${e.bodyPadding ? "" : " no-padding"}`,
|
|
148
|
+
style: { "--dialog-body-height": _(F) }
|
|
149
|
+
}, g(_(j))), s({
|
|
150
|
+
header: b(() => [i(" @slot 对话框标题的内容;会替换标题部分,但会移除关闭按钮 "), m(e.$slots, "header", {}, () => [o("div", T, h(e.title), 1), o("div", E, [e.showFullscreen || e.showFullScreen ? (f(), a("i", {
|
|
151
|
+
key: 0,
|
|
152
|
+
class: d(["dialog-header-button", {
|
|
153
|
+
"el-icon-full-screen": !e.fullscreen,
|
|
154
|
+
"el-icon-copy-document": e.fullscreen
|
|
155
|
+
}]),
|
|
156
|
+
onClick: x(P, ["stop"])
|
|
157
|
+
}, null, 2)) : i("v-if", !0), e.showClose ? (f(), a("i", {
|
|
158
|
+
key: 1,
|
|
159
|
+
class: "dialog-header-button el-icon-close",
|
|
160
|
+
onClick: x(L, ["stop"])
|
|
161
|
+
})) : i("v-if", !0)])])]),
|
|
162
|
+
default: b(() => [i(" @slot 对话框的默认内容 "), m(e.$slots, "default")]),
|
|
163
|
+
_: 2
|
|
164
|
+
}, [e.$slots.footer ? {
|
|
165
|
+
name: "footer",
|
|
166
|
+
fn: b(() => [i(" @slot Dialog 按钮操作区的内容 "), m(e.$slots, "footer", { close: L })]),
|
|
167
|
+
key: "0"
|
|
168
|
+
} : void 0]), 1040, [
|
|
169
|
+
"modelValue",
|
|
170
|
+
"class",
|
|
171
|
+
"fullscreen",
|
|
172
|
+
"body-class",
|
|
173
|
+
"style"
|
|
174
|
+
]);
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
//#endregion
|
|
179
|
+
export { D as t };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { allProps as e, predicate as t } from "../props/checkbox.mjs";
|
|
2
|
+
import { n, o as r } from "./mQG01w6Y.mjs";
|
|
3
|
+
import { ElCheckbox as i } from "element-plus/es";
|
|
4
|
+
import "element-plus/es/components/base/style/css";
|
|
5
|
+
import { createVNode as a, mergeProps as o, useModel as s } from "vue";
|
|
6
|
+
import "element-plus/es/components/checkbox/style/css";
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/components/form/FormCheckbox.vue
|
|
9
|
+
var c = {
|
|
10
|
+
name: "FormCheckbox",
|
|
11
|
+
inheritAttrs: !1,
|
|
12
|
+
props: { ...e },
|
|
13
|
+
emits: { ...n },
|
|
14
|
+
setup(e, { emit: n, slots: c, attrs: l }) {
|
|
15
|
+
let u = s(e, "modelValue"), { render: d, disabled: f, listeners: p, inputProps: m } = r(e, {
|
|
16
|
+
emit: n,
|
|
17
|
+
slots: c,
|
|
18
|
+
attrs: l,
|
|
19
|
+
predicate: t
|
|
20
|
+
});
|
|
21
|
+
return () => d({ vNodes: a(i, o(m.value, p.value, {
|
|
22
|
+
label: e.labelValue,
|
|
23
|
+
modelValue: u.value,
|
|
24
|
+
"onUpdate:modelValue": (e) => u.value = e,
|
|
25
|
+
trueValue: e.trueLabel ?? e.trueValue,
|
|
26
|
+
falseValue: e.falseLabel ?? e.falseValue,
|
|
27
|
+
disabled: f.value
|
|
28
|
+
}), { default: c.default }) });
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
export { c as t };
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import { r as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { t as s } from "./Bs8cIxmy.mjs";
|
|
8
|
-
import { t as c } from "./C_rLHaAm.mjs";
|
|
9
|
-
import { t as l } from "./HQd8AhfS.mjs";
|
|
10
|
-
import "./CNcSX5f1.mjs";
|
|
11
|
-
import { t as u } from "./hFCEXdXW.mjs";
|
|
12
|
-
import "./2Hag_Aho.mjs";
|
|
13
|
-
import { t as d } from "./2Bhi7uIl.mjs";
|
|
14
|
-
import "./BFY-akW92.mjs";
|
|
15
|
-
import "./CRScbQff2.mjs";
|
|
1
|
+
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
|
+
import { t } from "./V-Js6hNd.mjs";
|
|
3
|
+
import { t as n } from "./mnqSaATq.mjs";
|
|
4
|
+
import { ElDivider as r, ElDrawer as i, ElForm as a, ElFormItem as o, ElInput as s, ElOption as c, ElSelect as l, ElTable as u, ElTableColumn as d } from "element-plus/es";
|
|
5
|
+
import "element-plus/es/components/base/style/css";
|
|
6
|
+
import "element-plus/es/components/input/style/css";
|
|
16
7
|
import { Fragment as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, openBlock as y, renderList as b, withCtx as x, withModifiers as S } from "vue";
|
|
17
8
|
import { fastClone as C } from "@web-utils/core";
|
|
9
|
+
import "element-plus/es/components/drawer/style/css";
|
|
10
|
+
import "element-plus/es/components/table/style/css";
|
|
11
|
+
import "element-plus/es/components/table-column/style/css";
|
|
12
|
+
import "element-plus/es/components/form/style/css";
|
|
13
|
+
import "element-plus/es/components/form-item/style/css";
|
|
14
|
+
import "element-plus/es/components/select/style/css";
|
|
15
|
+
import "element-plus/es/components/option/style/css";
|
|
16
|
+
import "element-plus/es/components/divider/style/css";
|
|
18
17
|
//#region src/components/bpmn-process-designer/components/penal/form/ElementForm.vue
|
|
19
18
|
var w = {
|
|
20
19
|
name: "ElementForm",
|
|
@@ -143,8 +142,8 @@ var w = {
|
|
|
143
142
|
class: "listener-filed__title",
|
|
144
143
|
style: { "padding-bottom": "6px" }
|
|
145
144
|
}, j = { class: "element-drawer__button" };
|
|
146
|
-
function M(
|
|
147
|
-
let F =
|
|
145
|
+
function M(e, C, w, M, N, P) {
|
|
146
|
+
let F = s, I = o, L = c, R = l, z = a, B = r, V = d, H = n, U = u, W = i, G = t;
|
|
148
147
|
return y(), h("div", T, [
|
|
149
148
|
v(z, {
|
|
150
149
|
"label-width": "80px",
|
|
@@ -609,6 +608,6 @@ function M(u, C, w, M, N, P) {
|
|
|
609
608
|
}, 8, ["modelValue", "title"])
|
|
610
609
|
]);
|
|
611
610
|
}
|
|
612
|
-
var N = /* @__PURE__ */
|
|
611
|
+
var N = /* @__PURE__ */ e(w, [["render", M]]);
|
|
613
612
|
//#endregion
|
|
614
613
|
export { N as default };
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { t as o } from "./Bs8cIxmy.mjs";
|
|
8
|
-
import "./CNcSX5f1.mjs";
|
|
9
|
-
import { t as s } from "./hFCEXdXW.mjs";
|
|
10
|
-
import "./2Hag_Aho.mjs";
|
|
11
|
-
import { t as c } from "./2Bhi7uIl.mjs";
|
|
12
|
-
import "./BFY-akW92.mjs";
|
|
13
|
-
import "./CRScbQff2.mjs";
|
|
1
|
+
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
|
+
import { t } from "./V-Js6hNd.mjs";
|
|
3
|
+
import { t as n } from "./mnqSaATq.mjs";
|
|
4
|
+
import { ElForm as r, ElFormItem as i, ElInput as a, ElMessage as o, ElTable as s, ElTableColumn as c } from "element-plus/es";
|
|
5
|
+
import "element-plus/es/components/base/style/css";
|
|
6
|
+
import "element-plus/es/components/input/style/css";
|
|
14
7
|
import { createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, openBlock as p, withCtx as m, withModifiers as h } from "vue";
|
|
8
|
+
import "element-plus/es/components/message/style/css";
|
|
9
|
+
import "element-plus/es/components/table/style/css";
|
|
10
|
+
import "element-plus/es/components/table-column/style/css";
|
|
11
|
+
import "element-plus/es/components/form/style/css";
|
|
12
|
+
import "element-plus/es/components/form-item/style/css";
|
|
15
13
|
//#region src/components/bpmn-process-designer/components/penal/signal-message/SignalAndMessage.vue
|
|
16
14
|
var g = {
|
|
17
15
|
name: "SignalAndMessage",
|
|
@@ -50,11 +48,11 @@ var g = {
|
|
|
50
48
|
},
|
|
51
49
|
addNewObject() {
|
|
52
50
|
if (this.modelType === "message") {
|
|
53
|
-
if (this.messageIdMap[this.modelObjectForm.id]) return
|
|
51
|
+
if (this.messageIdMap[this.modelObjectForm.id]) return o.error("该消息已存在,请修改id后重新保存");
|
|
54
52
|
let e = this.bpmnInstances.moddle.create("bpmn:Message", this.modelObjectForm);
|
|
55
53
|
this.rootElements.push(e);
|
|
56
54
|
} else {
|
|
57
|
-
if (this.signalIdMap[this.modelObjectForm.id]) return
|
|
55
|
+
if (this.signalIdMap[this.modelObjectForm.id]) return o.error("该信号已存在,请修改id后重新保存");
|
|
58
56
|
let e = this.bpmnInstances.moddle.create("bpmn:Signal", this.modelObjectForm);
|
|
59
57
|
this.rootElements.push(e);
|
|
60
58
|
}
|
|
@@ -69,10 +67,10 @@ var g = {
|
|
|
69
67
|
"border-top": "1px solid #eee"
|
|
70
68
|
}
|
|
71
69
|
};
|
|
72
|
-
function b(
|
|
73
|
-
let C =
|
|
70
|
+
function b(e, o, g, b, x, S) {
|
|
71
|
+
let C = n, w = c, T = s, E = a, D = i, O = r, k = t;
|
|
74
72
|
return p(), l("div", _, [
|
|
75
|
-
u("div", v, [
|
|
73
|
+
u("div", v, [o[8] || (o[8] = u("span", null, [u("i", {
|
|
76
74
|
class: "el-icon-menu",
|
|
77
75
|
style: {
|
|
78
76
|
"margin-right": "8px",
|
|
@@ -81,9 +79,9 @@ function b(a, s, g, b, x, S) {
|
|
|
81
79
|
}), d(" 消息列表 ")], -1)), f(C, {
|
|
82
80
|
type: "primary",
|
|
83
81
|
icon: "el-icon-plus",
|
|
84
|
-
onClick:
|
|
82
|
+
onClick: o[0] || (o[0] = (e) => S.openModel("message"))
|
|
85
83
|
}, {
|
|
86
|
-
default: m(() => [...
|
|
84
|
+
default: m(() => [...o[7] || (o[7] = [d("创建新消息", -1)])]),
|
|
87
85
|
_: 1
|
|
88
86
|
})]),
|
|
89
87
|
f(T, {
|
|
@@ -111,7 +109,7 @@ function b(a, s, g, b, x, S) {
|
|
|
111
109
|
]),
|
|
112
110
|
_: 1
|
|
113
111
|
}, 8, ["data"]),
|
|
114
|
-
u("div", y, [
|
|
112
|
+
u("div", y, [o[10] || (o[10] = u("span", null, [u("i", {
|
|
115
113
|
class: "el-icon-menu",
|
|
116
114
|
style: {
|
|
117
115
|
"margin-right": "8px",
|
|
@@ -120,9 +118,9 @@ function b(a, s, g, b, x, S) {
|
|
|
120
118
|
}), d(" 信号列表 ")], -1)), f(C, {
|
|
121
119
|
type: "primary",
|
|
122
120
|
icon: "el-icon-plus",
|
|
123
|
-
onClick:
|
|
121
|
+
onClick: o[1] || (o[1] = (e) => S.openModel("signal"))
|
|
124
122
|
}, {
|
|
125
|
-
default: m(() => [...
|
|
123
|
+
default: m(() => [...o[9] || (o[9] = [d("创建新信号", -1)])]),
|
|
126
124
|
_: 1
|
|
127
125
|
})]),
|
|
128
126
|
f(T, {
|
|
@@ -152,7 +150,7 @@ function b(a, s, g, b, x, S) {
|
|
|
152
150
|
}, 8, ["data"]),
|
|
153
151
|
f(k, {
|
|
154
152
|
modelValue: x.modelVisible,
|
|
155
|
-
"onUpdate:modelValue":
|
|
153
|
+
"onUpdate:modelValue": o[6] || (o[6] = (e) => x.modelVisible = e),
|
|
156
154
|
class: "flow-dialog",
|
|
157
155
|
title: S.modelConfig.title,
|
|
158
156
|
"close-on-click-modal": !1,
|
|
@@ -160,32 +158,32 @@ function b(a, s, g, b, x, S) {
|
|
|
160
158
|
"append-to-body": "",
|
|
161
159
|
"destroy-on-close": ""
|
|
162
160
|
}, {
|
|
163
|
-
footer: m(() => [f(C, { onClick:
|
|
164
|
-
default: m(() => [...
|
|
161
|
+
footer: m(() => [f(C, { onClick: o[5] || (o[5] = (e) => x.modelVisible = !1) }, {
|
|
162
|
+
default: m(() => [...o[11] || (o[11] = [d("取 消", -1)])]),
|
|
165
163
|
_: 1
|
|
166
164
|
}), f(C, {
|
|
167
165
|
type: "primary",
|
|
168
166
|
onClick: S.addNewObject
|
|
169
167
|
}, {
|
|
170
|
-
default: m(() => [...
|
|
168
|
+
default: m(() => [...o[12] || (o[12] = [d("保 存", -1)])]),
|
|
171
169
|
_: 1
|
|
172
170
|
}, 8, ["onClick"])]),
|
|
173
171
|
default: m(() => [f(O, {
|
|
174
172
|
model: x.modelObjectForm,
|
|
175
173
|
"label-width": "90px",
|
|
176
|
-
onSubmit:
|
|
174
|
+
onSubmit: o[4] || (o[4] = h(() => {}, ["prevent"]))
|
|
177
175
|
}, {
|
|
178
176
|
default: m(() => [f(D, { label: S.modelConfig.idLabel }, {
|
|
179
177
|
default: m(() => [f(E, {
|
|
180
178
|
modelValue: x.modelObjectForm.id,
|
|
181
|
-
"onUpdate:modelValue":
|
|
179
|
+
"onUpdate:modelValue": o[2] || (o[2] = (e) => x.modelObjectForm.id = e),
|
|
182
180
|
clearable: ""
|
|
183
181
|
}, null, 8, ["modelValue"])]),
|
|
184
182
|
_: 1
|
|
185
183
|
}, 8, ["label"]), f(D, { label: S.modelConfig.nameLabel }, {
|
|
186
184
|
default: m(() => [f(E, {
|
|
187
185
|
modelValue: x.modelObjectForm.name,
|
|
188
|
-
"onUpdate:modelValue":
|
|
186
|
+
"onUpdate:modelValue": o[3] || (o[3] = (e) => x.modelObjectForm.name = e),
|
|
189
187
|
clearable: ""
|
|
190
188
|
}, null, 8, ["modelValue"])]),
|
|
191
189
|
_: 1
|
|
@@ -196,6 +194,6 @@ function b(a, s, g, b, x, S) {
|
|
|
196
194
|
}, 8, ["modelValue", "title"])
|
|
197
195
|
]);
|
|
198
196
|
}
|
|
199
|
-
var x = /* @__PURE__ */
|
|
197
|
+
var x = /* @__PURE__ */ e(g, [["render", b]]);
|
|
200
198
|
//#endregion
|
|
201
199
|
export { x as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { h as e } from "./ClVh1Lek.mjs";
|
|
2
|
+
import { useFormItemProps as t } from "../helper/form-item.mjs";
|
|
3
|
+
import { r as n } from "./mQG01w6Y.mjs";
|
|
4
|
+
import { allProps as r, predicate as i } from "../props/text.mjs";
|
|
5
|
+
import { ElText as a } from "element-plus/es";
|
|
6
|
+
import "element-plus/es/components/base/style/css";
|
|
7
|
+
import { createVNode as o, mergeProps as s } from "vue";
|
|
8
|
+
import "element-plus/es/components/text/style/css";
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/components/form/FormText.vue
|
|
11
|
+
var c = {
|
|
12
|
+
name: "FormText",
|
|
13
|
+
inheritAttrs: !1,
|
|
14
|
+
props: { ...r },
|
|
15
|
+
setup(r, { slots: c, attrs: l }) {
|
|
16
|
+
let u = t(r, { attrs: l }), d = e(r, i);
|
|
17
|
+
return () => n(r, {
|
|
18
|
+
vNodes: o(a, s(d.value, l), { default: c.default || (() => r.text) }),
|
|
19
|
+
formItemProps: u,
|
|
20
|
+
slots: c
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { c as t };
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { g as e, h as t, o as n } from "./ClVh1Lek.mjs";
|
|
2
|
+
import { formItemProps as r, predicate as i, useFormItemAutoBind as a } from "../props/form-item.mjs";
|
|
3
|
+
import { colProps as o, predicate as s, useColAutoBind as c } from "../props/col.mjs";
|
|
4
|
+
import { formHolderContextKey as l, formItemConfigProviderContextKey as u, formItemGroupContextKey as d, formViewContextKey as f } from "../constants/index.mjs";
|
|
5
|
+
import { useFormItemProps as p, useRequired as m } from "../helper/form-item.mjs";
|
|
6
|
+
import { ElCol as h, ElFormItem as g, ElTooltip as _, rowContextKey as v } from "element-plus/es";
|
|
7
|
+
import "element-plus/es/components/base/style/css";
|
|
8
|
+
import { computed as y, createVNode as b, h as x, inject as S, mergeProps as C, toRef as w, useTemplateRef as T } from "vue";
|
|
9
|
+
import "element-plus/es/components/col/style/css";
|
|
10
|
+
import "element-plus/es/components/tooltip/style/css";
|
|
11
|
+
import "element-plus/es/components/form-item/style/css";
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/components/form/FormItem.vue
|
|
14
|
+
var E = {
|
|
15
|
+
name: "FormItem",
|
|
16
|
+
inheritAttrs: !1,
|
|
17
|
+
props: {
|
|
18
|
+
...r,
|
|
19
|
+
...o
|
|
20
|
+
},
|
|
21
|
+
setup(e, { attrs: t, slots: n, expose: r }) {
|
|
22
|
+
let o = S(v, null), d = S(u, null), f = S(l, null), p = t.embed ? y(() => t.disabled) : O(e), x = a(e, { predicate: i }), w = c(e, { predicate: s }), E = y(() => (d == null ? void 0 : d.reactive) === !0 && d.block === !1 && e.fixedSpan === void 0 && !e.half), D = m(e), k = T("formItem"), A = y(() => (d == null ? void 0 : d.wrapCol) === !1 ? !1 : !!o && e.wrapCol), j = y(() => f != null && f.tableForm ? "" : d != null && d.block ? "100%" : e.half && A.value ? `calc(50% - ${o.gutter.value / 2}px)` : ""), M = y(() => (d == null ? void 0 : d.block) === !0 || e.block || e.half ? 24 : e.span), N = y(() => {
|
|
23
|
+
if (p.value) return [];
|
|
24
|
+
if (D.value) {
|
|
25
|
+
let t = {
|
|
26
|
+
required: !0,
|
|
27
|
+
message: e.message || `${e.messagePrefix || "请输入"}${e.label}`
|
|
28
|
+
};
|
|
29
|
+
return e.rules ? [...e.rules, t] : [t];
|
|
30
|
+
}
|
|
31
|
+
return e.rules;
|
|
32
|
+
});
|
|
33
|
+
return r({
|
|
34
|
+
clearValidate: () => {
|
|
35
|
+
var e;
|
|
36
|
+
return (e = k.value) == null ? void 0 : e.clearValidate();
|
|
37
|
+
},
|
|
38
|
+
validate: () => {
|
|
39
|
+
var e;
|
|
40
|
+
return (e = k.value) == null ? void 0 : e.validate();
|
|
41
|
+
},
|
|
42
|
+
resetField: () => {
|
|
43
|
+
var e;
|
|
44
|
+
return (e = k.value) == null ? void 0 : e.resetField();
|
|
45
|
+
},
|
|
46
|
+
setInitialValue: () => {
|
|
47
|
+
var e;
|
|
48
|
+
return (e = k.value) == null ? void 0 : e.setInitialValue();
|
|
49
|
+
},
|
|
50
|
+
size: y(() => {
|
|
51
|
+
var e;
|
|
52
|
+
return (e = k.value) == null ? void 0 : e.size;
|
|
53
|
+
}),
|
|
54
|
+
validateMessage: y(() => {
|
|
55
|
+
var e;
|
|
56
|
+
return (e = k.value) == null ? void 0 : e.validateMessage;
|
|
57
|
+
}),
|
|
58
|
+
validateState: y(() => {
|
|
59
|
+
var e;
|
|
60
|
+
return (e = k.value) == null ? void 0 : e.validateState;
|
|
61
|
+
})
|
|
62
|
+
}), () => {
|
|
63
|
+
var r;
|
|
64
|
+
let i = n.tips || e.tips, a = i ? b(_, {
|
|
65
|
+
effect: "light",
|
|
66
|
+
content: e.tips,
|
|
67
|
+
offset: 4
|
|
68
|
+
}, {
|
|
69
|
+
default: () => b("i", { class: "el-icon-info form-item-input-info" }, null),
|
|
70
|
+
content: n.tips ? n.tips : null
|
|
71
|
+
}) : null, o = b(g, C(x.value, t, {
|
|
72
|
+
ref: "formItem",
|
|
73
|
+
style: { width: j.value },
|
|
74
|
+
class: [
|
|
75
|
+
"form-item",
|
|
76
|
+
e.formItemClass,
|
|
77
|
+
{
|
|
78
|
+
"form-item-hide-label": e.hideLabel,
|
|
79
|
+
"with-tips": !e.tipsAfterLabel && i,
|
|
80
|
+
required: p.value === !1 && D.value
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
rules: N.value
|
|
84
|
+
}), {
|
|
85
|
+
...n,
|
|
86
|
+
default: () => {
|
|
87
|
+
var t;
|
|
88
|
+
return [(t = n.default) == null ? void 0 : t.call(n, {
|
|
89
|
+
disabled: p.value,
|
|
90
|
+
required: D.value
|
|
91
|
+
}), i && !e.tipsAfterLabel ? a : null];
|
|
92
|
+
},
|
|
93
|
+
label: () => [n.label ? n.label() : e.label, e.tipsAfterLabel ? a : null]
|
|
94
|
+
}), s = [o, (r = n.below) == null ? void 0 : r.call(n)];
|
|
95
|
+
return e.unwrap ? s : A.value ? b(h, C(w.value, E.value ? {
|
|
96
|
+
xs: 24,
|
|
97
|
+
sm: 12,
|
|
98
|
+
md: 12,
|
|
99
|
+
lg: 8,
|
|
100
|
+
xl: 6
|
|
101
|
+
} : {}, { span: M.value }), { default: () => s }) : o;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
}, D = "update:modelValue", O = (e) => {
|
|
105
|
+
let t = S(l, null), n = S(d, null);
|
|
106
|
+
return y(() => {
|
|
107
|
+
if (e.disabled !== void 0) return e.disabled;
|
|
108
|
+
if (t) {
|
|
109
|
+
if (t.requiredFieldsMap[e.prop] === !0 || t.enabledFieldsMap[e.prop] === !0) return !1;
|
|
110
|
+
if (t.disabledFieldsMap[e.prop] === !0) return !0;
|
|
111
|
+
}
|
|
112
|
+
return (n == null ? void 0 : n.enabled) === !0 ? !1 : (n == null ? void 0 : n.disabled) === !0 ? !0 : (t == null ? void 0 : t.disabled) === !0;
|
|
113
|
+
});
|
|
114
|
+
}, k = { [D]: null }, A = (e, t) => e(D, t), j = (e, { vNodes: t, formItemProps: n, slots: r, disabled: i, ref: a }) => e.wrapFormItem ? x(E, {
|
|
115
|
+
...n.value,
|
|
116
|
+
embed: !0,
|
|
117
|
+
disabled: i == null ? void 0 : i.value,
|
|
118
|
+
ref: a
|
|
119
|
+
}, {
|
|
120
|
+
default: () => t,
|
|
121
|
+
label: r.label,
|
|
122
|
+
error: r.error,
|
|
123
|
+
tips: r.tips,
|
|
124
|
+
below: r.below
|
|
125
|
+
}) : t, M = (r, { emit: i, slots: a, events: o, predicate: s, removeOn: c = !1, attrs: l, block: u, class: d, rules: m, messagePrefix: g = "请输入", extraFormItemProps: _ }) => {
|
|
126
|
+
let v = O(r), b = S(f, null), C = y(() => v.value || r.placeholder === !1 ? "" : r.placeholder === !0 ? `${g}${r.label}` : r.placeholder || `${g ?? ""}${r.label ?? ""}`), E = p(r, {
|
|
127
|
+
rules: m,
|
|
128
|
+
block: w(() => u === void 0 ? r.type === "textarea" && r.block === void 0 ? !0 : r.block : u),
|
|
129
|
+
attrs: l,
|
|
130
|
+
class: d,
|
|
131
|
+
message: C.value,
|
|
132
|
+
messagePrefix: g,
|
|
133
|
+
..._
|
|
134
|
+
}), D = (e) => A(i, e), k = (e) => r.col ? x(h, { span: r.block ? 24 : r.span }, { default: () => e }) : e, M = T("formItem"), N = ({ vNodes: e }) => j(r, {
|
|
135
|
+
vNodes: k(e),
|
|
136
|
+
formItemProps: E,
|
|
137
|
+
slots: a,
|
|
138
|
+
disabled: v,
|
|
139
|
+
ref: "formItem"
|
|
140
|
+
}), P = y(() => n(r, s, o, i)), F = e({ removeOn: c });
|
|
141
|
+
return {
|
|
142
|
+
emitInput: D,
|
|
143
|
+
render: N,
|
|
144
|
+
placeholder: C,
|
|
145
|
+
disabled: v,
|
|
146
|
+
formItemProps: E,
|
|
147
|
+
autoBind: P,
|
|
148
|
+
inputProps: t(r, s),
|
|
149
|
+
listeners: F,
|
|
150
|
+
formItem: M,
|
|
151
|
+
printing: y(() => (b == null ? void 0 : b.printing) === !0)
|
|
152
|
+
};
|
|
153
|
+
}, N = (e) => e.icon ? x("i", { class: e.icon }) : null;
|
|
154
|
+
//#endregion
|
|
155
|
+
export { O as a, A as i, k as n, M as o, j as r, E as s, N as t };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { hasAuthority as i } from "../api/index.mjs";
|
|
7
|
-
import { toolbarContextKey as a } from "../constants/index.mjs";
|
|
1
|
+
import { h as e } from "./ClVh1Lek.mjs";
|
|
2
|
+
import { hasAuthority as t } from "../api/index.mjs";
|
|
3
|
+
import { toolbarContextKey as n } from "../constants/index.mjs";
|
|
4
|
+
import { ElButton as r, ElMessage as i, ElMessageBox as a } from "element-plus/es";
|
|
5
|
+
import "element-plus/es/components/base/style/css";
|
|
8
6
|
import { computed as o, createVNode as s, getCurrentInstance as c, inject as l, mergeProps as u, ref as d } from "vue";
|
|
9
7
|
import { isArray as f, isFunction as p } from "@web-utils/core";
|
|
8
|
+
import "element-plus/es/components/message/style/css";
|
|
9
|
+
import "element-plus/es/components/message-box/style/css";
|
|
10
|
+
import "element-plus/es/components/button/style/css";
|
|
10
11
|
//#region src/components/toolbar/button.ts
|
|
11
12
|
var m = {
|
|
12
13
|
size: {
|
|
@@ -120,18 +121,18 @@ var m = {
|
|
|
120
121
|
inheritAttrs: !1,
|
|
121
122
|
props: { ...m },
|
|
122
123
|
setup(m, { attrs: h, slots: _ }) {
|
|
123
|
-
let v = c(), y = l(
|
|
124
|
+
let v = c(), y = l(n, null), b = d(!1), x = o(() => m.privilege ? t(m.privilege) : !0), S = async (e) => {
|
|
124
125
|
try {
|
|
125
126
|
if (p(m.beforeExecute) && await m.beforeExecute() === !1) return;
|
|
126
127
|
if (m.conditionTips) {
|
|
127
128
|
let e;
|
|
128
129
|
if (e = f(m.condition) ? m.condition.length <= 0 : p(m.condition) ? !m.condition() : !m.condition, e) {
|
|
129
|
-
|
|
130
|
+
i.warning(m.conditionTips);
|
|
130
131
|
return;
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
134
|
if (m.confirm || m.confirmTips) try {
|
|
134
|
-
await
|
|
135
|
+
await a.confirm(m.confirmTips || "你确定要删除该记录吗?", "系统提示", {
|
|
135
136
|
type: "warning",
|
|
136
137
|
distinguishCancelAndClose: !0,
|
|
137
138
|
cancelButtonText: m.cancelButtonText,
|
|
@@ -148,21 +149,21 @@ var m = {
|
|
|
148
149
|
return;
|
|
149
150
|
}
|
|
150
151
|
b.value = !0;
|
|
151
|
-
let
|
|
152
|
+
let n;
|
|
152
153
|
if (m.route) {
|
|
153
|
-
var
|
|
154
|
-
await ((
|
|
154
|
+
var t;
|
|
155
|
+
await ((t = v.proxy.$router) == null ? void 0 : t.push(m.route));
|
|
155
156
|
} else {
|
|
156
|
-
let { onClick:
|
|
157
|
-
if (p(
|
|
158
|
-
|
|
157
|
+
let { onClick: t } = h;
|
|
158
|
+
if (p(t)) try {
|
|
159
|
+
n = await t(e);
|
|
159
160
|
} catch {}
|
|
160
161
|
}
|
|
161
|
-
b.value = !1, p(m.afterExecute) && await m.afterExecute(
|
|
162
|
+
b.value = !1, p(m.afterExecute) && await m.afterExecute(n);
|
|
162
163
|
} catch {}
|
|
163
164
|
}, C = o(() => m.text ? !0 : m.type === "text"), w = o(() => {
|
|
164
165
|
if (!C.value) return m.primary ? "primary" : m.warning ? "warning" : m.type;
|
|
165
|
-
}), T =
|
|
166
|
+
}), T = e(m, g);
|
|
166
167
|
return () => x.value ? s(r, u(T.value, {
|
|
167
168
|
title: m.footer || y != null && y.footer ? null : m.title,
|
|
168
169
|
disabled: m.disabled || b.value,
|