@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
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { t as o } from "./Bs8cIxmy.mjs";
|
|
8
|
-
import { t as s } from "./C_rLHaAm.mjs";
|
|
9
|
-
import "./CNcSX5f1.mjs";
|
|
10
|
-
import { t as c } from "./hFCEXdXW.mjs";
|
|
11
|
-
import "./2Hag_Aho.mjs";
|
|
12
|
-
import { t as l } from "./2Bhi7uIl.mjs";
|
|
13
|
-
import "./BFY-akW92.mjs";
|
|
14
|
-
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, ElForm as i, ElFormItem as a, ElInput as o, ElMessageBox as s, ElTable as c, ElTableColumn as l } from "element-plus/es";
|
|
5
|
+
import "element-plus/es/components/base/style/css";
|
|
6
|
+
import "element-plus/es/components/input/style/css";
|
|
15
7
|
import { createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, openBlock as m, withCtx as h, withModifiers as g } from "vue";
|
|
16
8
|
import { fastClone as _ } from "@web-utils/core";
|
|
9
|
+
import "element-plus/es/components/message-box/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/divider/style/css";
|
|
17
15
|
//#region src/components/bpmn-process-designer/components/penal/properties/ElementProperties.vue
|
|
18
16
|
var v = {
|
|
19
17
|
name: "ElementProperties",
|
|
@@ -50,12 +48,12 @@ var v = {
|
|
|
50
48
|
this.$refs.attributeFormRef && this.$refs.attributeFormRef.clearValidate();
|
|
51
49
|
});
|
|
52
50
|
},
|
|
53
|
-
removeAttributes(
|
|
54
|
-
|
|
51
|
+
removeAttributes(e, t) {
|
|
52
|
+
s.confirm("确认移除该属性吗?", "提示", {
|
|
55
53
|
confirmButtonText: "确 认",
|
|
56
54
|
cancelButtonText: "取 消"
|
|
57
55
|
}).then(() => {
|
|
58
|
-
this.elementPropertyList.splice(
|
|
56
|
+
this.elementPropertyList.splice(t, 1), this.bpmnElementPropertyList.splice(t, 1);
|
|
59
57
|
let e = this.bpmnInstances.moddle.create(`${this.prefix}:Properties`, { values: this.bpmnElementPropertyList });
|
|
60
58
|
this.updateElementExtensions(e), this.resetAttributesList();
|
|
61
59
|
}).catch(() => {});
|
|
@@ -81,8 +79,8 @@ var v = {
|
|
|
81
79
|
}
|
|
82
80
|
}
|
|
83
81
|
}, y = { class: "panel-tab__content" }, b = { class: "element-drawer__button" };
|
|
84
|
-
function x(e,
|
|
85
|
-
let C =
|
|
82
|
+
function x(e, s, _, v, x, S) {
|
|
83
|
+
let C = l, w = n, T = r, E = c, D = o, O = a, k = i, A = t;
|
|
86
84
|
return m(), u("div", y, [
|
|
87
85
|
p(E, {
|
|
88
86
|
data: x.elementPropertyList,
|
|
@@ -117,7 +115,7 @@ function x(e, c, _, v, x, S) {
|
|
|
117
115
|
text: "",
|
|
118
116
|
onClick: (n) => S.openAttributesForm(e, t)
|
|
119
117
|
}, {
|
|
120
|
-
default: h(() => [...
|
|
118
|
+
default: h(() => [...s[6] || (s[6] = [f("编辑", -1)])]),
|
|
121
119
|
_: 1
|
|
122
120
|
}, 8, ["onClick"]),
|
|
123
121
|
p(T, { direction: "vertical" }),
|
|
@@ -126,7 +124,7 @@ function x(e, c, _, v, x, S) {
|
|
|
126
124
|
style: { color: "#ff4d4f" },
|
|
127
125
|
onClick: (n) => S.removeAttributes(e, t)
|
|
128
126
|
}, {
|
|
129
|
-
default: h(() => [...
|
|
127
|
+
default: h(() => [...s[7] || (s[7] = [f("移除", -1)])]),
|
|
130
128
|
_: 1
|
|
131
129
|
}, 8, ["onClick"])
|
|
132
130
|
]),
|
|
@@ -138,35 +136,35 @@ function x(e, c, _, v, x, S) {
|
|
|
138
136
|
d("div", b, [p(w, {
|
|
139
137
|
type: "primary",
|
|
140
138
|
icon: "el-icon-plus",
|
|
141
|
-
onClick:
|
|
139
|
+
onClick: s[0] || (s[0] = (e) => S.openAttributesForm(null, -1))
|
|
142
140
|
}, {
|
|
143
|
-
default: h(() => [...
|
|
141
|
+
default: h(() => [...s[8] || (s[8] = [f("添加属性", -1)])]),
|
|
144
142
|
_: 1
|
|
145
143
|
})]),
|
|
146
144
|
p(A, {
|
|
147
145
|
modelValue: x.propertyFormModelVisible,
|
|
148
|
-
"onUpdate:modelValue":
|
|
146
|
+
"onUpdate:modelValue": s[5] || (s[5] = (e) => x.propertyFormModelVisible = e),
|
|
149
147
|
class: "flow-dialog",
|
|
150
148
|
title: "属性配置",
|
|
151
149
|
width: "600px",
|
|
152
150
|
"append-to-body": "",
|
|
153
151
|
"destroy-on-close": ""
|
|
154
152
|
}, {
|
|
155
|
-
footer: h(() => [p(w, { onClick:
|
|
156
|
-
default: h(() => [...
|
|
153
|
+
footer: h(() => [p(w, { onClick: s[4] || (s[4] = (e) => x.propertyFormModelVisible = !1) }, {
|
|
154
|
+
default: h(() => [...s[9] || (s[9] = [f("取 消", -1)])]),
|
|
157
155
|
_: 1
|
|
158
156
|
}), p(w, {
|
|
159
157
|
type: "primary",
|
|
160
158
|
onClick: S.saveAttribute
|
|
161
159
|
}, {
|
|
162
|
-
default: h(() => [...
|
|
160
|
+
default: h(() => [...s[10] || (s[10] = [f("确 定", -1)])]),
|
|
163
161
|
_: 1
|
|
164
162
|
}, 8, ["onClick"])]),
|
|
165
163
|
default: h(() => [p(k, {
|
|
166
164
|
ref: "attributeFormRef",
|
|
167
165
|
model: x.propertyForm,
|
|
168
166
|
"label-width": "80px",
|
|
169
|
-
onSubmit:
|
|
167
|
+
onSubmit: s[3] || (s[3] = g(() => {}, ["prevent"]))
|
|
170
168
|
}, {
|
|
171
169
|
default: h(() => [p(O, {
|
|
172
170
|
label: "属性名:",
|
|
@@ -174,7 +172,7 @@ function x(e, c, _, v, x, S) {
|
|
|
174
172
|
}, {
|
|
175
173
|
default: h(() => [p(D, {
|
|
176
174
|
modelValue: x.propertyForm.name,
|
|
177
|
-
"onUpdate:modelValue":
|
|
175
|
+
"onUpdate:modelValue": s[1] || (s[1] = (e) => x.propertyForm.name = e),
|
|
178
176
|
clearable: ""
|
|
179
177
|
}, null, 8, ["modelValue"])]),
|
|
180
178
|
_: 1
|
|
@@ -184,7 +182,7 @@ function x(e, c, _, v, x, S) {
|
|
|
184
182
|
}, {
|
|
185
183
|
default: h(() => [p(D, {
|
|
186
184
|
modelValue: x.propertyForm.value,
|
|
187
|
-
"onUpdate:modelValue":
|
|
185
|
+
"onUpdate:modelValue": s[2] || (s[2] = (e) => x.propertyForm.value = e),
|
|
188
186
|
clearable: ""
|
|
189
187
|
}, null, 8, ["modelValue"])]),
|
|
190
188
|
_: 1
|
|
@@ -195,6 +193,6 @@ function x(e, c, _, v, x, S) {
|
|
|
195
193
|
}, 8, ["modelValue"])
|
|
196
194
|
]);
|
|
197
195
|
}
|
|
198
|
-
var S = /* @__PURE__ */
|
|
196
|
+
var S = /* @__PURE__ */ e(v, [["render", x]]);
|
|
199
197
|
//#endregion
|
|
200
198
|
export { S as default };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { n as e, o as t, t as n } from "./mQG01w6Y.mjs";
|
|
2
|
+
import { allProps as r, predicate as i } from "../props/input.mjs";
|
|
3
|
+
import { ElInput as a } from "element-plus/es";
|
|
4
|
+
import "element-plus/es/components/base/style/css";
|
|
5
|
+
import "element-plus/es/components/input/style/css";
|
|
6
|
+
import { computed as o, createVNode as s, mergeProps as c, useModel as l } from "vue";
|
|
7
|
+
import { validatePhoneNum as u } from "@web-utils/core";
|
|
8
|
+
//#region src/utils/form-validate.ts
|
|
9
|
+
var d = (e, t, n) => t && !/^[A-Za-z0-9\u4e00-\u9fa5_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(t) ? n(/* @__PURE__ */ Error("invalid")) : n();
|
|
10
|
+
function f(e, t, n) {
|
|
11
|
+
t && !/^[1-9][0-9]{5}(18|19|(2[0-9]))[0-9]{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)[0-9]{3}[0-9Xx]$/.test(t) ? n(/* @__PURE__ */ Error("invalid")) : n();
|
|
12
|
+
}
|
|
13
|
+
function p(e, t, n) {
|
|
14
|
+
if (this.$refs.table.$refs.table.records.length === 0) {
|
|
15
|
+
n(Error(e.message || `请添加${e.label}`));
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
n();
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/components/form/FormInput.vue
|
|
22
|
+
var m = {
|
|
23
|
+
name: "FormInput",
|
|
24
|
+
inheritAttrs: !1,
|
|
25
|
+
props: { ...r },
|
|
26
|
+
emits: { ...e },
|
|
27
|
+
setup(e, { emit: r, slots: p, attrs: m }) {
|
|
28
|
+
let h = l(e, "modelValue"), g = `请输入正确的${e.label}!`, { render: _, placeholder: v, disabled: y, listeners: b, inputProps: x, printing: S } = t(e, {
|
|
29
|
+
emit: r,
|
|
30
|
+
slots: p,
|
|
31
|
+
attrs: m,
|
|
32
|
+
rules: o(() => {
|
|
33
|
+
if (!e.type || e.type === "textarea") return null;
|
|
34
|
+
let t = {
|
|
35
|
+
message: g,
|
|
36
|
+
trigger: "blur"
|
|
37
|
+
};
|
|
38
|
+
if (e.type === "email") t.validator = d;
|
|
39
|
+
else if (e.type === "idcard") t.validator = f;
|
|
40
|
+
else if (e.type === "phone") t.validator = u;
|
|
41
|
+
else return null;
|
|
42
|
+
return [t];
|
|
43
|
+
}),
|
|
44
|
+
predicate: i
|
|
45
|
+
});
|
|
46
|
+
return () => _({ vNodes: S.value ? e.modelValue : s(a, c(b.value, x.value, {
|
|
47
|
+
class: ["form-input", {
|
|
48
|
+
"is-readonly": e.readonlyGrey && e.readonly && !e.picker,
|
|
49
|
+
"el-input-cursor-pointer": e.picker && !y.value
|
|
50
|
+
}],
|
|
51
|
+
modelValue: h.value,
|
|
52
|
+
"onUpdate:modelValue": (e) => h.value = e,
|
|
53
|
+
disabled: y.value,
|
|
54
|
+
placeholder: v.value,
|
|
55
|
+
readonly: e.readonly || e.picker,
|
|
56
|
+
"prefix-icon": n({ icon: e.picker ? "el-icon-search" : e.prefixIcon }),
|
|
57
|
+
"suffix-icon": n({ icon: e.suffixIcon })
|
|
58
|
+
}), {
|
|
59
|
+
prefix: p.prefix || e.prefix ? () => e.prefix : null,
|
|
60
|
+
suffix: p.suffix || e.suffix ? () => e.suffix : null,
|
|
61
|
+
"password-icon": p["password-icon"],
|
|
62
|
+
prepend: p.prepend || e.prepend ? () => e.prepend : null,
|
|
63
|
+
append: p.append || e.append ? () => e.append : null
|
|
64
|
+
}) });
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
export { p as n, m as t };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
1
|
+
import { s as e } from "./ClVh1Lek.mjs";
|
|
2
|
+
import { goBack as t, hasAuthority as n } from "../api/index.mjs";
|
|
3
|
+
import { tableViewContextKey as r, toolbarContextKey as i } from "../constants/index.mjs";
|
|
4
|
+
import { t as a } from "./mnqSaATq.mjs";
|
|
5
|
+
import { ElMessage as o } from "element-plus/es";
|
|
6
|
+
import "element-plus/es/components/base/style/css";
|
|
7
7
|
import { Comment as s, createVNode as c } from "vue";
|
|
8
8
|
import { NOOP as l, capitalize as u, copy as d } from "@web-utils/core";
|
|
9
|
+
import "element-plus/es/components/message/style/css";
|
|
9
10
|
//#region src/components/toolbar/Toolbar.vue?vue&type=script&lang.jsx
|
|
10
11
|
var f = {
|
|
11
12
|
back: {
|
|
@@ -119,10 +120,10 @@ var f = {
|
|
|
119
120
|
}, p = {
|
|
120
121
|
name: "Toolbar",
|
|
121
122
|
provide() {
|
|
122
|
-
return { [
|
|
123
|
+
return { [i]: this };
|
|
123
124
|
},
|
|
124
125
|
inject: { tableView: {
|
|
125
|
-
from:
|
|
126
|
+
from: r,
|
|
126
127
|
default: null
|
|
127
128
|
} },
|
|
128
129
|
props: {
|
|
@@ -144,15 +145,15 @@ var f = {
|
|
|
144
145
|
computed: {},
|
|
145
146
|
methods: {
|
|
146
147
|
goBack() {
|
|
147
|
-
|
|
148
|
+
t(this.$route.path);
|
|
148
149
|
},
|
|
149
|
-
createButton(
|
|
150
|
+
createButton(t, { label: n, icon: r, type: i, separateLine: o = !0, loadable: s, circle: d, onClick: f, title: p }) {
|
|
150
151
|
var m;
|
|
151
|
-
let h, g = ((m = this.label) == null ? void 0 : m[
|
|
152
|
-
return h = f || (["back", "cancel"].includes(
|
|
153
|
-
(
|
|
154
|
-
}), c(
|
|
155
|
-
"separate-line":
|
|
152
|
+
let h, g = ((m = this.label) == null ? void 0 : m[t]) || n;
|
|
153
|
+
return h = f || (["back", "cancel"].includes(t) ? this.goBack : (n) => {
|
|
154
|
+
(e(this.$attrs, { withOn: !0 })[`on${u(t)}`] || l)(n);
|
|
155
|
+
}), c(a, {
|
|
156
|
+
"separate-line": o,
|
|
156
157
|
icon: r,
|
|
157
158
|
title: p,
|
|
158
159
|
label: g,
|
|
@@ -164,9 +165,9 @@ var f = {
|
|
|
164
165
|
}, null);
|
|
165
166
|
},
|
|
166
167
|
getLeftButtons() {
|
|
167
|
-
var e, t,
|
|
168
|
+
var e, t, r;
|
|
168
169
|
let { createButton: i } = this;
|
|
169
|
-
return (
|
|
170
|
+
return (r = (((e = (t = this.$slots)["toolbar-left"]) == null ? void 0 : e.call(t)) || this.buttons.flatMap((e) => {
|
|
170
171
|
let t = f[e];
|
|
171
172
|
if (t) {
|
|
172
173
|
var n, r;
|
|
@@ -183,33 +184,33 @@ var f = {
|
|
|
183
184
|
}
|
|
184
185
|
return e || [];
|
|
185
186
|
} else return null;
|
|
186
|
-
})).filter((e) => e)) == null ? void 0 :
|
|
187
|
+
})).filter((e) => e)) == null ? void 0 : r.filter((e) => e.props.privilege ? n(e.props.privilege) : !0);
|
|
187
188
|
},
|
|
188
189
|
getRightButtons() {
|
|
189
|
-
var t, n, r
|
|
190
|
-
let
|
|
191
|
-
...((
|
|
190
|
+
var e, t, n, r;
|
|
191
|
+
let i = (e = (t = this.$slots)["toolbar-right"]) == null ? void 0 : e.call(t), a = [
|
|
192
|
+
...((n = (r = this.$slots)["toolbar-right-button"]) == null ? void 0 : n.call(r)) || [],
|
|
192
193
|
this.getRefreshButton(),
|
|
193
194
|
this.getSettingsButton(),
|
|
194
195
|
this.getSearchButton()
|
|
195
196
|
];
|
|
196
197
|
if (process.env.NODE_ENV === "development") {
|
|
197
198
|
var s;
|
|
198
|
-
(s = this.tableView) != null && s.toggleSearch &&
|
|
199
|
+
(s = this.tableView) != null && s.toggleSearch && a.push(this.createButton("copyColumnWidth", {
|
|
199
200
|
label: "复制列宽",
|
|
200
201
|
title: "复制列宽",
|
|
201
202
|
icon: "el-icon-document-copy",
|
|
202
203
|
separateLine: !1,
|
|
203
204
|
circle: !0,
|
|
204
205
|
onClick: () => {
|
|
205
|
-
let
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
let e = Array.from(this.$el.parentNode.querySelectorAll(".el-table__header > colgroup > col"));
|
|
207
|
+
e = e.filter((t, n) => n > 1 && n < e.length - 1).map((e) => `width="${e.getAttribute("width")}"`).join("\n"), d(e, () => {
|
|
208
|
+
o.success("复制成功");
|
|
208
209
|
});
|
|
209
210
|
}
|
|
210
211
|
}));
|
|
211
212
|
}
|
|
212
|
-
return
|
|
213
|
+
return i || a;
|
|
213
214
|
},
|
|
214
215
|
getSearchButton() {
|
|
215
216
|
return this.searchable ? this.createButton("search", f.search) : null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as e } from "./
|
|
1
|
+
import { i as e } from "./ClVh1Lek.mjs";
|
|
2
2
|
import { commonAutoBindProps as t, commonManualBindProps as n } from "../props/common.mjs";
|
|
3
|
-
import { n as r, o as i } from "./
|
|
4
|
-
import { n as a } from "./
|
|
5
|
-
import { n as o, t as s } from "./
|
|
3
|
+
import { n as r, o as i } from "./mQG01w6Y.mjs";
|
|
4
|
+
import { n as a } from "./DC3DNg_r.mjs";
|
|
5
|
+
import { n as o, t as s } from "./SbDhX-Iz2.mjs";
|
|
6
6
|
import { computed as c, createVNode as l, getCurrentInstance as u, mergeProps as d, useModel as f, useTemplateRef as p } from "vue";
|
|
7
7
|
import { isArray as m, isString as h, trace as g, warning as _ } from "@web-utils/core";
|
|
8
8
|
import { useEventBus as v } from "@web-utils/vue/hooks/useEventBus";
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { allProps as e, predicate as t } from "../props/checkbox-group.mjs";
|
|
2
|
+
import { n, o as r } from "./mQG01w6Y.mjs";
|
|
3
|
+
import { useDictionary as i } from "../hook/useDictionary.mjs";
|
|
4
|
+
import { t as a } from "./DC3DNg_r.mjs";
|
|
5
|
+
import { ElCheckbox as o, ElCheckboxButton as s, ElCheckboxGroup as c } from "element-plus/es";
|
|
6
|
+
import "element-plus/es/components/base/style/css";
|
|
7
|
+
import { computed as l, createVNode as u, defineComponent as d, isVNode as f, mergeProps as p, useModel as m } from "vue";
|
|
8
|
+
import "element-plus/es/components/checkbox/style/css";
|
|
9
|
+
import "element-plus/es/components/checkbox-button/style/css";
|
|
10
|
+
import "element-plus/es/components/checkbox-group/style/css";
|
|
11
|
+
//#region src/components/form/FormCheckboxGroup.vue?vue&type=script&lang.jsx
|
|
12
|
+
function h(e) {
|
|
13
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !f(e);
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/components/form/FormCheckboxGroup.vue
|
|
17
|
+
var g = /* @__PURE__ */ d({
|
|
18
|
+
name: "FormCheckboxGroup",
|
|
19
|
+
inheritAttrs: !1,
|
|
20
|
+
props: { ...e },
|
|
21
|
+
emits: {
|
|
22
|
+
...n,
|
|
23
|
+
"update:other": null
|
|
24
|
+
},
|
|
25
|
+
setup(e, { emit: n, slots: d, attrs: f }) {
|
|
26
|
+
let g = m(e, "other"), { emitInput: _, render: v, disabled: y, listeners: b, inputProps: x } = r(e, {
|
|
27
|
+
emit: n,
|
|
28
|
+
slots: d,
|
|
29
|
+
attrs: f,
|
|
30
|
+
predicate: t,
|
|
31
|
+
messagePrefix: "请选择",
|
|
32
|
+
class: l(() => ["form-checkbox-group", {
|
|
33
|
+
"form-checkbox-group-row": e.fillRow,
|
|
34
|
+
"form-checkbox-group-row-break-word": e.fillRow,
|
|
35
|
+
"form-checkbox-group-row-ellipsis": e.ellipsis
|
|
36
|
+
}])
|
|
37
|
+
}), S = (t) => {
|
|
38
|
+
let n = t;
|
|
39
|
+
e.sort && (n = t.sort()), e.stringMode || e.split ? _(n.join(",")) : _(n);
|
|
40
|
+
}, C = l(() => {
|
|
41
|
+
if (e.stringMode || e.split) {
|
|
42
|
+
var t;
|
|
43
|
+
return Array.isArray(e.modelValue) ? e.modelValue.filter((e) => e) : ((t = e.modelValue) == null ? void 0 : t.split(e.delimiter).filter((e) => e)) ?? [];
|
|
44
|
+
}
|
|
45
|
+
return e.modelValue || [];
|
|
46
|
+
}), w = l(() => e.classic ? "label" : e.labelProp), T = l(() => e.classic ? "value" : e.valueProp), { dictItems: E } = i(e), D = l(() => e.dictType ? E.value : e.gender ? [{
|
|
47
|
+
[w.value]: "男",
|
|
48
|
+
[T.value]: "男"
|
|
49
|
+
}, {
|
|
50
|
+
[w.value]: "女",
|
|
51
|
+
[T.value]: "女"
|
|
52
|
+
}] : e.confirm ? [{
|
|
53
|
+
[w.value]: "是",
|
|
54
|
+
[T.value]: "是"
|
|
55
|
+
}, {
|
|
56
|
+
[w.value]: "否",
|
|
57
|
+
[T.value]: "否"
|
|
58
|
+
}] : e.options);
|
|
59
|
+
return () => v({ vNodes: [u(c, p(b.value, x.value, {
|
|
60
|
+
modelValue: C.value,
|
|
61
|
+
disabled: y.value,
|
|
62
|
+
"onUpdate:modelValue": S
|
|
63
|
+
}), {
|
|
64
|
+
...d,
|
|
65
|
+
default: d.default || (() => {
|
|
66
|
+
var t;
|
|
67
|
+
return (t = D.value) == null ? void 0 : t.map(({ value: t, label: n, disabled: r }) => e.type === "button" ? u(s, {
|
|
68
|
+
key: t,
|
|
69
|
+
value: t,
|
|
70
|
+
disabled: r
|
|
71
|
+
}, h(n) ? n : { default: () => [n] }) : u(o, {
|
|
72
|
+
key: t,
|
|
73
|
+
value: t,
|
|
74
|
+
disabled: r
|
|
75
|
+
}, h(n) ? n : { default: () => [n] }));
|
|
76
|
+
})
|
|
77
|
+
}), C.value.includes(e.otherVal) ? u(a, {
|
|
78
|
+
"wrap-col": !1,
|
|
79
|
+
class: "form-checkbox-group-other",
|
|
80
|
+
"hide-label": !0,
|
|
81
|
+
"label-width": "0",
|
|
82
|
+
prop: e.otherProp,
|
|
83
|
+
disabled: y.value,
|
|
84
|
+
required: !!e.otherProp,
|
|
85
|
+
placeholder: e.otherPlaceholder,
|
|
86
|
+
label: e.otherLabel,
|
|
87
|
+
"show-message": !!e.otherLabel,
|
|
88
|
+
style: e.otherLabel ? { width: e.otherWidth } : {
|
|
89
|
+
marginBottom: 0,
|
|
90
|
+
width: e.otherWidth
|
|
91
|
+
},
|
|
92
|
+
modelValue: g.value,
|
|
93
|
+
"onUpdate:modelValue": (e) => g.value = e,
|
|
94
|
+
"max-length": e.otherMaxLength
|
|
95
|
+
}, null) : null] });
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
//#endregion
|
|
99
|
+
export { g as t };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { n as e, o as t } from "./mQG01w6Y.mjs";
|
|
2
|
+
import { allProps as n, predicate as r } from "../props/time-select.mjs";
|
|
3
|
+
import { ElTimeSelect as i } from "element-plus/es";
|
|
4
|
+
import "element-plus/es/components/base/style/css";
|
|
5
|
+
import { createVNode as a, mergeProps as o } from "vue";
|
|
6
|
+
import "element-plus/es/components/time-select/style/css";
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/components/form/FormTimeSelect.vue
|
|
9
|
+
var s = {
|
|
10
|
+
name: "FormTimeSelect",
|
|
11
|
+
inheritAttrs: !1,
|
|
12
|
+
props: { ...n },
|
|
13
|
+
emits: { ...e },
|
|
14
|
+
setup(e, { emit: n, slots: s, attrs: c }) {
|
|
15
|
+
let { emitInput: l, render: u, placeholder: d, disabled: f, listeners: p, inputProps: m } = t(e, {
|
|
16
|
+
emit: n,
|
|
17
|
+
slots: s,
|
|
18
|
+
attrs: c,
|
|
19
|
+
predicate: r
|
|
20
|
+
});
|
|
21
|
+
return () => u({ vNodes: a(i, o(p.value, m.value, {
|
|
22
|
+
style: "width: 100%",
|
|
23
|
+
modelValue: e.modelValue,
|
|
24
|
+
disabled: f.value,
|
|
25
|
+
"onUpdate:modelValue": l,
|
|
26
|
+
placeholder: d.value
|
|
27
|
+
}), null) });
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { s as t };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { ElButton as e, ElLoading as t, ElMessageBox as n } from "element-plus/es";
|
|
2
|
+
import "element-plus/es/components/base/style/css";
|
|
3
|
+
import { defineComponent as r, h as i } from "vue";
|
|
4
|
+
import { isFunction as a } from "@web-utils/core";
|
|
5
|
+
import "element-plus/es/components/message-box/style/css";
|
|
6
|
+
import "element-plus/es/components/loading/style/css";
|
|
7
|
+
import "element-plus/es/components/button/style/css";
|
|
8
|
+
//#region src/components/button/confirmable-mixin.ts
|
|
9
|
+
async function o(e, r, i) {
|
|
10
|
+
let { stop: o, prevent: s, message: c, loadable: l, loadingText: u, confirmable: d, confirmType: f, confirmText: p, confirmTitle: m } = r;
|
|
11
|
+
o && e.stopPropagation(), s && e.preventDefault();
|
|
12
|
+
let { onBefore: h, onClick: g, onCancel: _, onAfter: v } = i;
|
|
13
|
+
if (a(g)) try {
|
|
14
|
+
let r = !0;
|
|
15
|
+
if (a(h) && (r = await h(e)), !r) return;
|
|
16
|
+
d && await n.confirm(c || p, {
|
|
17
|
+
type: f,
|
|
18
|
+
title: m
|
|
19
|
+
});
|
|
20
|
+
let i;
|
|
21
|
+
l && (i = t.service({
|
|
22
|
+
background: "rgba(0,0,0,0.3)",
|
|
23
|
+
text: u
|
|
24
|
+
}));
|
|
25
|
+
let o;
|
|
26
|
+
try {
|
|
27
|
+
o = await g(e);
|
|
28
|
+
} catch {}
|
|
29
|
+
l && (i == null || i.close()), a(v) && await v(e, o);
|
|
30
|
+
} catch (e) {
|
|
31
|
+
a(_) && await _(e);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
var s = r({
|
|
35
|
+
inheritAttrs: !1,
|
|
36
|
+
props: {
|
|
37
|
+
stop: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: !0
|
|
40
|
+
},
|
|
41
|
+
prevent: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: !0
|
|
44
|
+
},
|
|
45
|
+
text: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: ""
|
|
48
|
+
},
|
|
49
|
+
message: String,
|
|
50
|
+
confirmable: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: !0
|
|
53
|
+
},
|
|
54
|
+
confirmText: {
|
|
55
|
+
type: String,
|
|
56
|
+
default: "你确定要删除该记录吗?"
|
|
57
|
+
},
|
|
58
|
+
confirmType: {
|
|
59
|
+
type: String,
|
|
60
|
+
default: "warning"
|
|
61
|
+
},
|
|
62
|
+
confirmTitle: {
|
|
63
|
+
type: String,
|
|
64
|
+
default: "系统提示"
|
|
65
|
+
},
|
|
66
|
+
loadable: Boolean,
|
|
67
|
+
loadingText: {
|
|
68
|
+
type: String,
|
|
69
|
+
default: "正在处理中请稍候..."
|
|
70
|
+
},
|
|
71
|
+
tag: {
|
|
72
|
+
type: String,
|
|
73
|
+
default: "i"
|
|
74
|
+
},
|
|
75
|
+
icon: String
|
|
76
|
+
},
|
|
77
|
+
render() {
|
|
78
|
+
let t = this.tag === "ElButton" ? e : this.tag, { text: n, icon: r, ...a } = this.$props, { onClick: s, ...c } = this.$attrs;
|
|
79
|
+
return i(t, {
|
|
80
|
+
...c,
|
|
81
|
+
...a,
|
|
82
|
+
onClick: (e) => o(e, this.$props, this.$attrs)
|
|
83
|
+
}, {
|
|
84
|
+
default: this.$slots.default || (() => n),
|
|
85
|
+
icon: this.icon ? () => i("i", { class: this.icon }) : null
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
//#endregion
|
|
90
|
+
export { s as t };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { n as e, o as t } from "./mQG01w6Y.mjs";
|
|
2
|
+
import { useDictionary as n } from "../hook/useDictionary.mjs";
|
|
3
|
+
import { allProps as r, predicate as i } from "../props/select.mjs";
|
|
4
|
+
import { ElOption as a, ElSelect as o } from "element-plus/es";
|
|
5
|
+
import "element-plus/es/components/base/style/css";
|
|
6
|
+
import { computed as s, createVNode as c, mergeProps as l, ref as u, watchEffect as d } from "vue";
|
|
7
|
+
import { isNumber as f, isPlainObject as p, isString as m } from "@web-utils/core";
|
|
8
|
+
import "element-plus/es/components/select/style/css";
|
|
9
|
+
import "element-plus/es/components/option/style/css";
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/components/form/FormSelect.vue
|
|
12
|
+
var h = {
|
|
13
|
+
name: "FormSelect",
|
|
14
|
+
inheritAttrs: !1,
|
|
15
|
+
props: { ...r },
|
|
16
|
+
emits: { ...e },
|
|
17
|
+
setup(e, { emit: r, slots: h, attrs: g }) {
|
|
18
|
+
let { emitInput: _, render: v, placeholder: y, disabled: b, listeners: x, inputProps: S } = t(e, {
|
|
19
|
+
emit: r,
|
|
20
|
+
slots: h,
|
|
21
|
+
attrs: g,
|
|
22
|
+
predicate: i,
|
|
23
|
+
messagePrefix: "请选择"
|
|
24
|
+
}), C = u(null), w = u(!1);
|
|
25
|
+
d(() => {
|
|
26
|
+
if (e.multiple && e.multipleStringMode) {
|
|
27
|
+
var t;
|
|
28
|
+
C.value = (t = e.modelValue) == null ? void 0 : t.split(",").filter((e) => e);
|
|
29
|
+
} else C.value = e.modelValue;
|
|
30
|
+
});
|
|
31
|
+
let T = (t) => {
|
|
32
|
+
if (e.multiple && e.multipleStringMode ? _(t.join(e.multipleStringSeparator)) : _(t), e.emitLabel) {
|
|
33
|
+
let n = O.value.find((n) => n[e.props.value] === t), i = n == null ? void 0 : n[e.props.label];
|
|
34
|
+
i !== e.optionLabel && r("update:optionLabel", i);
|
|
35
|
+
}
|
|
36
|
+
}, { dictItems: E } = n(e), D = u([]), O = s(() => {
|
|
37
|
+
if (e.dictType) return E.value;
|
|
38
|
+
if (e.remote) return D.value;
|
|
39
|
+
if (e.gender) return [{
|
|
40
|
+
[e.props.label]: "男",
|
|
41
|
+
[e.props.value]: e.chinese ? "男" : e.typing ? 1 : "1"
|
|
42
|
+
}, {
|
|
43
|
+
[e.props.label]: "女",
|
|
44
|
+
[e.props.value]: e.chinese ? "女" : e.typing ? 2 : "2"
|
|
45
|
+
}];
|
|
46
|
+
if (e.confirm) return [{
|
|
47
|
+
[e.props.label]: "是",
|
|
48
|
+
[e.props.value]: e.chinese ? "是" : e.english ? "Y" : e.typing ? 1 : "1"
|
|
49
|
+
}, {
|
|
50
|
+
[e.props.label]: "否",
|
|
51
|
+
[e.props.value]: e.chinese ? "否" : e.english ? "N" : e.typing ? 0 : "0"
|
|
52
|
+
}];
|
|
53
|
+
if (e.all) return [{
|
|
54
|
+
[e.props.value]: "",
|
|
55
|
+
[e.props.label]: "全部"
|
|
56
|
+
}, ...e.options];
|
|
57
|
+
if (e.start && e.end) return Array(e.end - e.start + 1).fill(1).map((t, n) => ({
|
|
58
|
+
[e.props.label]: e.start + n,
|
|
59
|
+
[e.props.value]: e.start + n
|
|
60
|
+
}));
|
|
61
|
+
if (e.year) {
|
|
62
|
+
let t = (/* @__PURE__ */ new Date()).getFullYear(), n = [], r = 10;
|
|
63
|
+
f(e.year) && (r = e.year);
|
|
64
|
+
for (let i = -r; i <= r; i++) {
|
|
65
|
+
let r = t + i;
|
|
66
|
+
n.push({
|
|
67
|
+
[e.props.label]: r,
|
|
68
|
+
[e.props.value]: r
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
return n;
|
|
72
|
+
}
|
|
73
|
+
return e.options ? e.options.map((t) => (t[e.props.value] = t[e.props.value] ?? t[e.props.label], t)) : [];
|
|
74
|
+
}), k = async (t) => {
|
|
75
|
+
try {
|
|
76
|
+
var n;
|
|
77
|
+
w.value = !0;
|
|
78
|
+
let r = await e.remoteMethod(t, e.prop);
|
|
79
|
+
((n = r.data.data) == null ? void 0 : n.length) >= 0 ? m(r.data.data[0]) ? D.value = r.data.data.map((t) => ({
|
|
80
|
+
[e.props.value]: t,
|
|
81
|
+
[e.props.label]: t
|
|
82
|
+
})) : p(r.data.data[0]) && (D.value = r.data.data) : D.value = [];
|
|
83
|
+
} catch {}
|
|
84
|
+
w.value = !1;
|
|
85
|
+
};
|
|
86
|
+
return d(() => {
|
|
87
|
+
e.remote && k();
|
|
88
|
+
}), () => v({ vNodes: c(o, l(x.value, S.value, {
|
|
89
|
+
offset: e.dropDownOffset,
|
|
90
|
+
"model-value": C.value,
|
|
91
|
+
"onUpdate:modelValue": T,
|
|
92
|
+
disabled: b.value,
|
|
93
|
+
placeholder: y.value
|
|
94
|
+
}), {
|
|
95
|
+
...h,
|
|
96
|
+
default: h.default || (() => {
|
|
97
|
+
var e;
|
|
98
|
+
return (e = O.value) == null ? void 0 : e.map(({ value: e, label: t }) => c(a, {
|
|
99
|
+
key: e,
|
|
100
|
+
label: t,
|
|
101
|
+
value: e
|
|
102
|
+
}, null));
|
|
103
|
+
})
|
|
104
|
+
}) });
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
//#endregion
|
|
108
|
+
export { h as t };
|