@web-utils/form-ui 1.0.0-beta87 → 1.0.0-beta88
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/{Cwgd7PoY.mjs → 5RCAxanu2.mjs} +4 -4
- 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/BLKcXIrX.mjs +517 -0
- package/chunks/BQytQPLa.mjs +780 -0
- package/chunks/{y9rz_ZSp.mjs → BSOrm2U4.mjs} +36 -37
- 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/{BjZf7WL6.mjs → BmbhIxPF2.mjs} +2 -2
- 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/{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/{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/{BsBVCVnp2.mjs → Cf_h9S62.mjs} +1 -1
- package/chunks/{Cxhpz5pM.mjs → CixNVW_T2.mjs} +112 -112
- package/chunks/ClVh1Lek.mjs +130 -0
- package/chunks/ClkLQjZ82.mjs +63 -0
- package/chunks/{Dk_ATXDY.mjs → CpmWELPU.mjs} +1 -1
- package/chunks/{DsSXjU752.mjs → CsNZt53l.mjs} +862 -1599
- 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/{BvdCIFp_.mjs → DL4xcGES2.mjs} +31 -32
- package/chunks/{CFfhckpA.mjs → DNq7pbXh2.mjs} +27 -26
- 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/{Bi2y9LWO2.mjs → NAZ8HFBg.mjs} +92 -90
- 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/n7IipIUY.mjs +99 -0
- 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.mjs +130 -2
- package/fy-array/style.css +1 -1
- package/fy-button/index.mjs +1 -1
- package/fy-cascader/index.mjs +27 -27
- package/fy-checkbox/index.mjs +29 -29
- package/fy-curd/index.mjs +1 -1
- package/fy-date/index.mjs +31 -31
- 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.mjs +36 -37
- package/fy-input-color/index.mjs +80 -2
- package/fy-input-icon/index.mjs +35 -36
- package/fy-input-map/index.mjs +30 -31
- package/fy-input-number/index.mjs +26 -26
- package/fy-input-table/index.mjs +24 -25
- package/fy-input-tree/index.mjs +43 -43
- package/fy-radio/index.mjs +20 -21
- package/fy-rate/index.mjs +27 -27
- package/fy-select/index.mjs +1 -1
- package/fy-slider/index.mjs +29 -29
- package/fy-switch/index.mjs +24 -24
- package/fy-tabs/index.mjs +8 -8
- package/fy-time/index.mjs +10 -10
- 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.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/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,19 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import { t as
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import { n as i, t as a } from "./ZxxDJBOG2.mjs";
|
|
8
|
-
import { t as o } from "./Bs8cIxmy.mjs";
|
|
9
|
-
import { n as s, t as c } from "./Bpp7HhpF.mjs";
|
|
10
|
-
import { t as l } from "./hFCEXdXW.mjs";
|
|
11
|
-
import "./vRQzbLgj.mjs";
|
|
12
|
-
import { t as u } from "./2Bhi7uIl.mjs";
|
|
13
|
-
import "./CAmsy3d12.mjs";
|
|
14
|
-
import d from "../highlight-j-s/index.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 r from "../highlight-j-s/index.mjs";
|
|
5
|
+
import { ElButtonGroup as i, ElCollapse as a, ElCollapseItem as o, ElMessage as s, ElMessageBox as c, ElTabPane as l, ElTabs as u, ElTooltip as d } from "element-plus/es";
|
|
6
|
+
import "element-plus/es/components/base/style/css";
|
|
15
7
|
import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineAsyncComponent as y, isVNode as b, markRaw as x, mergeProps as S, nextTick as C, openBlock as w, provide as T, ref as E, renderSlot as D, shallowRef as ee, toDisplayString as O, toRef as k, useTemplateRef as A, vShow as te, watch as j, withCtx as M, withDirectives as ne } from "vue";
|
|
16
8
|
import { isArray as N } from "@web-utils/core";
|
|
9
|
+
import "element-plus/es/components/message/style/css";
|
|
10
|
+
import "element-plus/es/components/message-box/style/css";
|
|
11
|
+
import "element-plus/es/components/tooltip/style/css";
|
|
12
|
+
import "element-plus/es/components/collapse/style/css";
|
|
13
|
+
import "element-plus/es/components/collapse-item/style/css";
|
|
14
|
+
import "element-plus/es/components/button-group/style/css";
|
|
15
|
+
import "element-plus/es/components/tabs/style/css";
|
|
16
|
+
import "element-plus/es/components/tab-pane/style/css";
|
|
17
17
|
import { assign as P, forEach as F, isArray as I, isFunction as L, isObject as R, some as z } from "min-dash";
|
|
18
18
|
import { is as B } from "bpmn-js/lib/util/ModelUtil";
|
|
19
19
|
import { isEventSubProcess as V, isExpanded as re } from "bpmn-js/lib/util/DiUtil";
|
|
@@ -421,7 +421,7 @@ var Ae = [
|
|
|
421
421
|
"task",
|
|
422
422
|
"form",
|
|
423
423
|
"multiInstance"
|
|
424
|
-
], je = y(() => import("./
|
|
424
|
+
], je = y(() => import("./BegZOXrr.mjs")), Me = y(() => import("./dxZzZgUn.mjs")), Ne = y(() => import("./D9ft-f6n.mjs")), Pe = y(() => import("./D8_fl5Oq.mjs")), Fe = y(() => import("./fT8tFJVO.mjs")), Ie = y(() => import("./CHqxWrj7.mjs")), Le = y(() => import("./BfW25VbY.mjs")), Re = y(() => import("./CJwAjhLy.mjs")), ze = y(() => import("./BCYFaOiB.mjs")), Be = y(() => import("./BSOrm2U4.mjs")), Ve = {
|
|
425
425
|
name: "PropertiesPanel",
|
|
426
426
|
componentName: "MyPropertiesPanel",
|
|
427
427
|
props: {
|
|
@@ -452,8 +452,8 @@ var Ae = [
|
|
|
452
452
|
panelType: { type: String }
|
|
453
453
|
},
|
|
454
454
|
emits: ["initModels"],
|
|
455
|
-
setup(e, { emit:
|
|
456
|
-
let
|
|
455
|
+
setup(e, { emit: t, slots: n }) {
|
|
456
|
+
let r = E(!0), i = E(!1), s = E(!1), c = E(""), p = E(""), m = E(e.panelType === "tab" ? "base" : ["base"]), h = ee({}), g = ee({}), y = null, b = f(() => Array.isArray(e.useTabs)), x = f(() => e.useTabs === null || e.useTabs === void 0), S = f(() => e.panelType === "tab"), C = () => {
|
|
457
457
|
if (!e.bpmnModeler) {
|
|
458
458
|
y = setTimeout(() => C(), 10);
|
|
459
459
|
return;
|
|
@@ -468,25 +468,25 @@ var Ae = [
|
|
|
468
468
|
elementRegistry: e.bpmnModeler.get("elementRegistry"),
|
|
469
469
|
replace: e.bpmnModeler.get("replace"),
|
|
470
470
|
selection: e.bpmnModeler.get("selection")
|
|
471
|
-
},
|
|
471
|
+
}, t("initModels", g.value), w();
|
|
472
472
|
}, w = () => {
|
|
473
473
|
D(null), e.bpmnModeler.on("import.done", () => {
|
|
474
474
|
e.bpmnModeler.get("canvas").zoom("fit-viewport", "center"), D(null);
|
|
475
475
|
}), e.bpmnModeler.on("selection.changed", ({ newSelection: e }) => {
|
|
476
476
|
D(e[0] || null);
|
|
477
477
|
}), e.bpmnModeler.on("element.changed", ({ element: e }) => {
|
|
478
|
-
e && e.id ===
|
|
478
|
+
e && e.id === c.value && D(e);
|
|
479
479
|
});
|
|
480
480
|
}, D = (e) => {
|
|
481
481
|
let t = e;
|
|
482
|
-
t || (t = g.value.elementRegistry.find((e) => e.type === "bpmn:Process") ?? g.value.elementRegistry.find((e) => e.type === "bpmn:Collaboration")), t && (h.value = t,
|
|
482
|
+
t || (t = g.value.elementRegistry.find((e) => e.type === "bpmn:Process") ?? g.value.elementRegistry.find((e) => e.type === "bpmn:Collaboration")), t && (h.value = t, c.value = t.id, p.value = t.type.split(":")[1] || "", i.value = !!(p.value === "SequenceFlow" && t.source && t.source.type.indexOf("StartEvent") === -1), s.value = p.value === "UserTask");
|
|
483
483
|
};
|
|
484
484
|
C(), j(() => e.activeTabs, {
|
|
485
485
|
immediate: !0,
|
|
486
486
|
handler() {
|
|
487
487
|
m.value = S.value ? "base" : Ae;
|
|
488
488
|
}
|
|
489
|
-
}), j(
|
|
489
|
+
}), j(c, () => {
|
|
490
490
|
m.value = S.value ? "base" : Ae;
|
|
491
491
|
}), j(S, {
|
|
492
492
|
immediate: !0,
|
|
@@ -496,106 +496,106 @@ var Ae = [
|
|
|
496
496
|
}), T("prefix", k(e, "prefix")), T("width", k(e, "width")), T("context", k(e, "context")), T("bpmnInstances", g.value);
|
|
497
497
|
let O = () => {
|
|
498
498
|
var e;
|
|
499
|
-
return (e =
|
|
500
|
-
id:
|
|
499
|
+
return (e = n.form) == null ? void 0 : e.call(n, {
|
|
500
|
+
id: c.value,
|
|
501
501
|
bpmnInstances: g.value,
|
|
502
502
|
element: h.value,
|
|
503
503
|
type: p.value
|
|
504
504
|
});
|
|
505
505
|
}, A = () => {
|
|
506
506
|
var e;
|
|
507
|
-
return (e =
|
|
508
|
-
id:
|
|
507
|
+
return (e = n.task) == null ? void 0 : e.call(n, {
|
|
508
|
+
id: c.value,
|
|
509
509
|
bpmnInstances: g.value,
|
|
510
510
|
element: h.value,
|
|
511
511
|
type: p.value
|
|
512
512
|
});
|
|
513
513
|
}, M = () => v(Be, {
|
|
514
|
-
id:
|
|
514
|
+
id: c.value,
|
|
515
515
|
idEditDisabled: e.idEditDisabled,
|
|
516
516
|
type: p.value,
|
|
517
517
|
bpmnInstances: g.value,
|
|
518
518
|
element: h.value
|
|
519
519
|
}, null), N = () => v(Fe, { bpmnInstances: g.value }, null), P = () => v(Ie, {
|
|
520
|
-
id:
|
|
520
|
+
id: c.value,
|
|
521
521
|
element: h.value,
|
|
522
522
|
bpmnInstances: g.value,
|
|
523
523
|
type: p.value
|
|
524
524
|
}, null), F = () => v(Me, {
|
|
525
|
-
id:
|
|
525
|
+
id: c.value,
|
|
526
526
|
element: h.value,
|
|
527
527
|
bpmnInstances: g.value,
|
|
528
528
|
type: p.value
|
|
529
529
|
}, null), I = () => v(Re, {
|
|
530
|
-
id:
|
|
530
|
+
id: c.value,
|
|
531
531
|
element: h.value,
|
|
532
532
|
bpmnInstances: g.value,
|
|
533
533
|
type: p.value
|
|
534
534
|
}, null), L = () => v(Le, {
|
|
535
|
-
id:
|
|
535
|
+
id: c.value,
|
|
536
536
|
element: h.value,
|
|
537
537
|
bpmnInstances: g.value,
|
|
538
538
|
type: p.value
|
|
539
539
|
}, null), R = () => v(Pe, {
|
|
540
|
-
id:
|
|
540
|
+
id: c.value,
|
|
541
541
|
element: h.value,
|
|
542
542
|
bpmnInstances: g.value,
|
|
543
543
|
type: p.value
|
|
544
544
|
}, null), z = () => v(je, {
|
|
545
|
-
id:
|
|
545
|
+
id: c.value,
|
|
546
546
|
element: h.value,
|
|
547
547
|
bpmnInstances: g.value,
|
|
548
548
|
type: p.value
|
|
549
549
|
}, null), B = () => v(Ne, {
|
|
550
|
-
id:
|
|
550
|
+
id: c.value,
|
|
551
551
|
element: h.value,
|
|
552
552
|
bpmnInstances: g.value,
|
|
553
553
|
type: p.value
|
|
554
554
|
}, null), V = () => v(ze, {
|
|
555
|
-
id:
|
|
555
|
+
id: c.value,
|
|
556
556
|
element: h.value,
|
|
557
557
|
bpmnInstances: g.value
|
|
558
558
|
}, null), re = () => {
|
|
559
559
|
let t = [];
|
|
560
560
|
if (x.value || b.value && e.useTabs.includes("base")) {
|
|
561
561
|
let e;
|
|
562
|
-
t.push(v(
|
|
562
|
+
t.push(v(l, {
|
|
563
563
|
label: "常规",
|
|
564
564
|
name: "base"
|
|
565
565
|
}, q(e = M()) ? e : { default: () => [e] }));
|
|
566
566
|
}
|
|
567
567
|
if ((x.value || b.value && e.useTabs.includes("message")) && p.value === "Process") {
|
|
568
568
|
let e;
|
|
569
|
-
t.push(v(
|
|
569
|
+
t.push(v(l, {
|
|
570
570
|
label: "消息与信号",
|
|
571
571
|
name: "message"
|
|
572
572
|
}, q(e = N()) ? e : { default: () => [e] }));
|
|
573
573
|
}
|
|
574
|
-
if ((x.value || b.value && e.useTabs.includes("condition")) &&
|
|
574
|
+
if ((x.value || b.value && e.useTabs.includes("condition")) && i.value) {
|
|
575
575
|
let e;
|
|
576
|
-
t.push(v(
|
|
576
|
+
t.push(v(l, {
|
|
577
577
|
label: "流转条件",
|
|
578
578
|
name: "condition"
|
|
579
579
|
}, q(e = P()) ? e : { default: () => [e] }));
|
|
580
580
|
}
|
|
581
|
-
if ((x.value || b.value && e.useTabs.includes("form")) &&
|
|
581
|
+
if ((x.value || b.value && e.useTabs.includes("form")) && s.value && t.push(v(l, {
|
|
582
582
|
label: "表单权限",
|
|
583
583
|
name: "form",
|
|
584
584
|
lazy: !0
|
|
585
|
-
}, { default: () => [
|
|
585
|
+
}, { default: () => [n.form ? O() : F()] })), (x.value || b.value && e.useTabs.includes("task")) && p.value.indexOf("Task") !== -1 && t.push(v(l, {
|
|
586
586
|
label: "处理人",
|
|
587
587
|
name: "task",
|
|
588
588
|
lazy: !0
|
|
589
|
-
}, { default: () => [
|
|
589
|
+
}, { default: () => [n.task ? A() : I()] })), (x.value || b.value && e.useTabs.includes("multiInstance")) && p.value.indexOf("Task") !== -1) {
|
|
590
590
|
let e;
|
|
591
|
-
t.push(v(
|
|
591
|
+
t.push(v(l, {
|
|
592
592
|
label: "多实例",
|
|
593
593
|
name: "multiInstance"
|
|
594
594
|
}, q(e = L()) ? e : { default: () => [e] }));
|
|
595
595
|
}
|
|
596
596
|
if (x.value || b.value && e.useTabs.includes("listeners")) {
|
|
597
597
|
let e;
|
|
598
|
-
t.push(v(
|
|
598
|
+
t.push(v(l, {
|
|
599
599
|
label: "执行监听器",
|
|
600
600
|
name: "listeners",
|
|
601
601
|
lazy: !0
|
|
@@ -603,7 +603,7 @@ var Ae = [
|
|
|
603
603
|
}
|
|
604
604
|
if ((x.value || b.value && e.useTabs.includes("taskListeners")) && p.value === "UserTask") {
|
|
605
605
|
let e;
|
|
606
|
-
t.push(v(
|
|
606
|
+
t.push(v(l, {
|
|
607
607
|
label: "任务监听器",
|
|
608
608
|
name: "taskListeners",
|
|
609
609
|
lazy: !0
|
|
@@ -611,7 +611,7 @@ var Ae = [
|
|
|
611
611
|
}
|
|
612
612
|
if (x.value || b.value && e.useTabs.includes("extensions")) {
|
|
613
613
|
let e;
|
|
614
|
-
t.push(v(
|
|
614
|
+
t.push(v(l, {
|
|
615
615
|
label: "扩展属性",
|
|
616
616
|
name: "extensions",
|
|
617
617
|
lazy: !0
|
|
@@ -619,107 +619,107 @@ var Ae = [
|
|
|
619
619
|
}
|
|
620
620
|
if (x.value || b.value && e.useTabs.includes("other")) {
|
|
621
621
|
let e;
|
|
622
|
-
t.push(v(
|
|
622
|
+
t.push(v(l, {
|
|
623
623
|
label: "其他",
|
|
624
624
|
name: "other",
|
|
625
625
|
lazy: !0
|
|
626
626
|
}, q(e = V()) ? e : { default: () => [e] }));
|
|
627
627
|
}
|
|
628
|
-
return (x.value || b.value && e.useTabs.includes("ext")) &&
|
|
628
|
+
return (x.value || b.value && e.useTabs.includes("ext")) && n.ext && t.push(v(l, {
|
|
629
629
|
label: "拓展",
|
|
630
630
|
name: "ext",
|
|
631
631
|
lazy: !0
|
|
632
|
-
}, { default: () =>
|
|
633
|
-
id:
|
|
632
|
+
}, { default: () => n.ext({
|
|
633
|
+
id: c.value,
|
|
634
634
|
bpmnInstances: g.value,
|
|
635
635
|
element: h.value,
|
|
636
636
|
type: p.value
|
|
637
637
|
}) })), t;
|
|
638
638
|
}, H = () => {
|
|
639
639
|
let e;
|
|
640
|
-
return ne(v(
|
|
640
|
+
return ne(v(u, {
|
|
641
641
|
modelValue: m.value,
|
|
642
642
|
"onUpdate:modelValue": (e) => m.value = e
|
|
643
|
-
}, q(e = re()) ? e : { default: () => [e] }), [[te,
|
|
643
|
+
}, q(e = re()) ? e : { default: () => [e] }), [[te, r.value]]);
|
|
644
644
|
}, ie = () => {
|
|
645
|
-
let
|
|
646
|
-
return (x.value || b.value && e.useTabs.includes("base")) &&
|
|
645
|
+
let t = [];
|
|
646
|
+
return (x.value || b.value && e.useTabs.includes("base")) && t.push(v(o, { name: "base" }, {
|
|
647
647
|
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-info" }, null), _("常规")]),
|
|
648
648
|
default: M
|
|
649
|
-
})), (x.value || b.value && e.useTabs.includes("message")) && p.value === "Process" &&
|
|
649
|
+
})), (x.value || b.value && e.useTabs.includes("message")) && p.value === "Process" && t.push(v(o, { name: "message" }, {
|
|
650
650
|
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-comment" }, null), _("消息与信号")]),
|
|
651
651
|
default: N
|
|
652
|
-
})), (x.value || b.value && e.useTabs.includes("condition")) &&
|
|
652
|
+
})), (x.value || b.value && e.useTabs.includes("condition")) && i.value && t.push(v(o, { name: "condition" }, {
|
|
653
653
|
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-promotion" }, null), _("流转条件")]),
|
|
654
654
|
default: P
|
|
655
|
-
})), (x.value || b.value && e.useTabs.includes("form")) &&
|
|
655
|
+
})), (x.value || b.value && e.useTabs.includes("form")) && s.value && t.push(v(o, { name: "form" }, {
|
|
656
656
|
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-order" }, null), _("表单权限")]),
|
|
657
|
-
default:
|
|
658
|
-
})), (x.value || b.value && e.useTabs.includes("task") && p.value.indexOf("Task") !== -1) &&
|
|
657
|
+
default: n.form ? O : F
|
|
658
|
+
})), (x.value || b.value && e.useTabs.includes("task") && p.value.indexOf("Task") !== -1) && t.push(v(o, { name: "task" }, {
|
|
659
659
|
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-claim" }, null), _("处理人")]),
|
|
660
|
-
default:
|
|
661
|
-
})), (x.value || b.value && e.useTabs.includes("multiInstance")) && p.value.indexOf("Task") !== -1 &&
|
|
660
|
+
default: n.task ? A : I
|
|
661
|
+
})), (x.value || b.value && e.useTabs.includes("multiInstance")) && p.value.indexOf("Task") !== -1 && t.push(v(o, { name: "multiInstance" }, {
|
|
662
662
|
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-help" }, null), _("多实例")]),
|
|
663
663
|
default: L
|
|
664
|
-
})), (x.value || b.value && e.useTabs.includes("listeners")) &&
|
|
664
|
+
})), (x.value || b.value && e.useTabs.includes("listeners")) && t.push(v(o, { name: "listeners" }, {
|
|
665
665
|
title: () => v("div", { class: "panel-tab__title" }, [
|
|
666
666
|
v("i", { class: "el-icon-message-solid" }, null),
|
|
667
667
|
_("执行监听器"),
|
|
668
|
-
v(
|
|
668
|
+
v(d, { effect: "light" }, {
|
|
669
669
|
content: () => v("p", null, [_("发送和退回时会触发")]),
|
|
670
670
|
default: () => v("i", { class: "el-icon-info" }, null)
|
|
671
671
|
})
|
|
672
672
|
]),
|
|
673
673
|
default: R
|
|
674
|
-
})), (x.value || b.value && e.useTabs.includes("taskListeners")) && p.value === "UserTask" &&
|
|
674
|
+
})), (x.value || b.value && e.useTabs.includes("taskListeners")) && p.value === "UserTask" && t.push(v(o, { name: "taskListeners" }, {
|
|
675
675
|
title: () => v("div", { class: "panel-tab__title" }, [
|
|
676
676
|
v("i", { class: "el-icon-message-solid" }, null),
|
|
677
677
|
_("任务监听器"),
|
|
678
|
-
v(
|
|
678
|
+
v(d, { effect: "light" }, {
|
|
679
679
|
content: () => v("p", null, [_("任务实例的创建、指派、完成、删除、更新、超时会触发")]),
|
|
680
680
|
default: () => v("i", { class: "el-icon-info" }, null)
|
|
681
681
|
})
|
|
682
682
|
]),
|
|
683
683
|
default: z
|
|
684
|
-
})), (x.value || b.value && e.useTabs.includes("extensions")) &&
|
|
684
|
+
})), (x.value || b.value && e.useTabs.includes("extensions")) && t.push(v(o, { name: "extensions" }, {
|
|
685
685
|
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-circle-plus" }, null), _("扩展属性")]),
|
|
686
686
|
default: B
|
|
687
|
-
})), (x.value || b.value && e.useTabs.includes("other")) &&
|
|
687
|
+
})), (x.value || b.value && e.useTabs.includes("other")) && t.push(v(o, { name: "other" }, {
|
|
688
688
|
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-promotion" }, null), _("其他")]),
|
|
689
689
|
default: V
|
|
690
|
-
})), (x.value || b.value && e.useTabs.includes("ext")) &&
|
|
690
|
+
})), (x.value || b.value && e.useTabs.includes("ext")) && n.ext && t.push(v(o, { name: "ext" }, {
|
|
691
691
|
title: () => v("div", { class: "panel-tab__title" }, [v("i", { class: "el-icon-s-promotion" }, null), _("拓展")]),
|
|
692
|
-
default: () =>
|
|
693
|
-
id:
|
|
692
|
+
default: () => n.ext({
|
|
693
|
+
id: c.value,
|
|
694
694
|
bpmnInstances: g.value,
|
|
695
695
|
element: h.value,
|
|
696
696
|
type: p.value
|
|
697
697
|
})
|
|
698
|
-
})),
|
|
698
|
+
})), t;
|
|
699
699
|
}, ae = () => {
|
|
700
700
|
let e;
|
|
701
701
|
return ne(v(a, {
|
|
702
702
|
modelValue: m.value,
|
|
703
703
|
"onUpdate:modelValue": (e) => m.value = e
|
|
704
|
-
}, q(e = ie()) ? e : { default: () => [e] }), [[te,
|
|
704
|
+
}, q(e = ie()) ? e : { default: () => [e] }), [[te, r.value]]);
|
|
705
705
|
};
|
|
706
706
|
return () => {
|
|
707
707
|
var t;
|
|
708
708
|
return v("div", {
|
|
709
709
|
class: ["process-panel__container", {
|
|
710
|
-
show:
|
|
711
|
-
hide: !
|
|
710
|
+
show: r.value,
|
|
711
|
+
hide: !r.value
|
|
712
712
|
}],
|
|
713
|
-
style: { width: `${
|
|
713
|
+
style: { width: `${r.value ? e.width : 34}px` },
|
|
714
714
|
onClick: () => {
|
|
715
|
-
|
|
715
|
+
r.value = !0;
|
|
716
716
|
}
|
|
717
717
|
}, [v("div", { style: "height: 40px; line-height: 40px" }, [v("i", {
|
|
718
|
-
class: ["open-properties-handel",
|
|
718
|
+
class: ["open-properties-handel", r.value ? "el-icon-caret-right" : "el-icon-caret-left"],
|
|
719
719
|
onClick: (e) => {
|
|
720
|
-
e.stopPropagation(),
|
|
720
|
+
e.stopPropagation(), r.value = !r.value;
|
|
721
721
|
}
|
|
722
|
-
}, null),
|
|
722
|
+
}, null), r.value ? (t = h.value) == null || (t = t.businessObject) == null ? void 0 : t.name : ""]), e.panelType === "tab" ? H() : ae()]);
|
|
723
723
|
};
|
|
724
724
|
}
|
|
725
725
|
}, He = (e, t, n) => (n = n || "camunda", `<?xml version="1.0" encoding="UTF-8"?>
|
|
@@ -4390,17 +4390,17 @@ var pt = {
|
|
|
4390
4390
|
processRestart() {
|
|
4391
4391
|
this.recoverable = !1, this.revocable = !1, this.createNewDiagram(null);
|
|
4392
4392
|
},
|
|
4393
|
-
elementsAlign(
|
|
4394
|
-
let
|
|
4395
|
-
if (!
|
|
4396
|
-
|
|
4393
|
+
elementsAlign(e) {
|
|
4394
|
+
let t = this.bpmnModeler.get("alignElements"), n = this.bpmnModeler.get("selection").get();
|
|
4395
|
+
if (!n || n.length <= 1) {
|
|
4396
|
+
s.warning("请按住 Shift 键选择多个元素对齐");
|
|
4397
4397
|
return;
|
|
4398
4398
|
}
|
|
4399
|
-
|
|
4399
|
+
c.confirm("自动对齐可能造成图形变形,是否继续?", "警告", {
|
|
4400
4400
|
confirmButtonText: "确定",
|
|
4401
4401
|
cancelButtonText: "取消",
|
|
4402
4402
|
type: "warning"
|
|
4403
|
-
}).then(() =>
|
|
4403
|
+
}).then(() => t.trigger(n, e));
|
|
4404
4404
|
},
|
|
4405
4405
|
previewProcessXML() {
|
|
4406
4406
|
this.bpmnModeler.saveXML({ format: !0 }).then(({ xml: e }) => {
|
|
@@ -4419,111 +4419,111 @@ var pt = {
|
|
|
4419
4419
|
ref: "bpmn-canvas",
|
|
4420
4420
|
class: "my-process-designer__canvas flow-background-image"
|
|
4421
4421
|
};
|
|
4422
|
-
function vt(e,
|
|
4423
|
-
let
|
|
4422
|
+
function vt(e, a, o, s, c, l) {
|
|
4423
|
+
let u = n, f = d, y = i, b = r, x = t;
|
|
4424
4424
|
return w(), h("div", mt, [
|
|
4425
4425
|
g("div", ht, [
|
|
4426
4426
|
D(e.$slots, "control-header", {}, () => [
|
|
4427
4427
|
v(y, { key: "file-control" }, {
|
|
4428
4428
|
default: M(() => [
|
|
4429
4429
|
D(e.$slots, "toolbar-buttons"),
|
|
4430
|
-
|
|
4430
|
+
o.simulation ? (w(), p(f, {
|
|
4431
4431
|
key: 0,
|
|
4432
4432
|
effect: "light",
|
|
4433
4433
|
content: "导入流程"
|
|
4434
4434
|
}, {
|
|
4435
|
-
default: M(() => [v(
|
|
4436
|
-
size:
|
|
4437
|
-
type:
|
|
4435
|
+
default: M(() => [v(u, {
|
|
4436
|
+
size: o.headerButtonSize,
|
|
4437
|
+
type: o.headerButtonType,
|
|
4438
4438
|
icon: "el-icon-folder-opened",
|
|
4439
|
-
onClick:
|
|
4439
|
+
onClick: a[0] || (a[0] = (t) => e.$refs.refFile.click())
|
|
4440
4440
|
}, {
|
|
4441
|
-
default: M(() => [...
|
|
4441
|
+
default: M(() => [...a[17] || (a[17] = [_(" 导入 ", -1)])]),
|
|
4442
4442
|
_: 1
|
|
4443
4443
|
}, 8, ["size", "type"])]),
|
|
4444
4444
|
_: 1
|
|
4445
4445
|
})) : m("v-if", !0),
|
|
4446
4446
|
v(f, { effect: "light" }, {
|
|
4447
4447
|
content: M(() => [
|
|
4448
|
-
v(
|
|
4449
|
-
size:
|
|
4448
|
+
v(u, {
|
|
4449
|
+
size: o.headerButtonSize,
|
|
4450
4450
|
text: "",
|
|
4451
|
-
onClick:
|
|
4451
|
+
onClick: a[1] || (a[1] = (e) => l.downloadProcessAsXml())
|
|
4452
4452
|
}, {
|
|
4453
|
-
default: M(() => [...
|
|
4453
|
+
default: M(() => [...a[19] || (a[19] = [_("下载为XML文件", -1)])]),
|
|
4454
4454
|
_: 1
|
|
4455
4455
|
}, 8, ["size"]),
|
|
4456
|
-
|
|
4457
|
-
v(
|
|
4458
|
-
size:
|
|
4456
|
+
a[22] || (a[22] = g("br", null, null, -1)),
|
|
4457
|
+
v(u, {
|
|
4458
|
+
size: o.headerButtonSize,
|
|
4459
4459
|
text: "",
|
|
4460
|
-
onClick:
|
|
4460
|
+
onClick: a[2] || (a[2] = (e) => l.downloadProcessAsSvg())
|
|
4461
4461
|
}, {
|
|
4462
|
-
default: M(() => [...
|
|
4462
|
+
default: M(() => [...a[20] || (a[20] = [_("下载为SVG文件", -1)])]),
|
|
4463
4463
|
_: 1
|
|
4464
4464
|
}, 8, ["size"]),
|
|
4465
|
-
|
|
4466
|
-
v(
|
|
4467
|
-
size:
|
|
4465
|
+
a[23] || (a[23] = g("br", null, null, -1)),
|
|
4466
|
+
v(u, {
|
|
4467
|
+
size: o.headerButtonSize,
|
|
4468
4468
|
text: "",
|
|
4469
|
-
onClick:
|
|
4469
|
+
onClick: a[3] || (a[3] = (e) => l.downloadProcessAsBpmn())
|
|
4470
4470
|
}, {
|
|
4471
|
-
default: M(() => [...
|
|
4471
|
+
default: M(() => [...a[21] || (a[21] = [_(" 下载为BPMN文件 ", -1)])]),
|
|
4472
4472
|
_: 1
|
|
4473
4473
|
}, 8, ["size"])
|
|
4474
4474
|
]),
|
|
4475
|
-
default: M(() => [v(
|
|
4476
|
-
size:
|
|
4477
|
-
type:
|
|
4475
|
+
default: M(() => [v(u, {
|
|
4476
|
+
size: o.headerButtonSize,
|
|
4477
|
+
type: o.headerButtonType,
|
|
4478
4478
|
icon: "el-icon-download"
|
|
4479
4479
|
}, {
|
|
4480
|
-
default: M(() => [...
|
|
4480
|
+
default: M(() => [...a[18] || (a[18] = [_(" 下载 ", -1)])]),
|
|
4481
4481
|
_: 1
|
|
4482
4482
|
}, 8, ["size", "type"])]),
|
|
4483
4483
|
_: 1
|
|
4484
4484
|
}),
|
|
4485
4485
|
v(f, { effect: "light" }, {
|
|
4486
4486
|
content: M(() => [
|
|
4487
|
-
v(
|
|
4488
|
-
size:
|
|
4487
|
+
v(u, {
|
|
4488
|
+
size: o.headerButtonSize,
|
|
4489
4489
|
text: "",
|
|
4490
|
-
onClick:
|
|
4490
|
+
onClick: l.previewProcessXML
|
|
4491
4491
|
}, {
|
|
4492
|
-
default: M(() => [...
|
|
4492
|
+
default: M(() => [...a[24] || (a[24] = [_("预览XML", -1)])]),
|
|
4493
4493
|
_: 1
|
|
4494
4494
|
}, 8, ["size", "onClick"]),
|
|
4495
|
-
|
|
4496
|
-
v(
|
|
4497
|
-
size:
|
|
4495
|
+
a[26] || (a[26] = g("br", null, null, -1)),
|
|
4496
|
+
v(u, {
|
|
4497
|
+
size: o.headerButtonSize,
|
|
4498
4498
|
text: "",
|
|
4499
|
-
onClick:
|
|
4499
|
+
onClick: l.previewProcessJson
|
|
4500
4500
|
}, {
|
|
4501
|
-
default: M(() => [...
|
|
4501
|
+
default: M(() => [...a[25] || (a[25] = [_("预览JSON", -1)])]),
|
|
4502
4502
|
_: 1
|
|
4503
4503
|
}, 8, ["size", "onClick"])
|
|
4504
4504
|
]),
|
|
4505
|
-
default: M(() => [v(
|
|
4506
|
-
size:
|
|
4507
|
-
type:
|
|
4505
|
+
default: M(() => [v(u, {
|
|
4506
|
+
size: o.headerButtonSize,
|
|
4507
|
+
type: o.headerButtonType,
|
|
4508
4508
|
icon: "el-icon-view"
|
|
4509
4509
|
}, {
|
|
4510
|
-
default: M(() => [...
|
|
4510
|
+
default: M(() => [...a[27] || (a[27] = [_("预览", -1)])]),
|
|
4511
4511
|
_: 1
|
|
4512
4512
|
}, 8, ["size", "type"])]),
|
|
4513
4513
|
_: 1
|
|
4514
4514
|
}),
|
|
4515
|
-
|
|
4515
|
+
o.simulation ? (w(), p(f, {
|
|
4516
4516
|
key: 1,
|
|
4517
4517
|
effect: "light",
|
|
4518
|
-
content:
|
|
4518
|
+
content: c.simulationStatus ? "退出模拟" : "开启模拟"
|
|
4519
4519
|
}, {
|
|
4520
|
-
default: M(() => [v(
|
|
4521
|
-
size:
|
|
4522
|
-
type:
|
|
4520
|
+
default: M(() => [v(u, {
|
|
4521
|
+
size: o.headerButtonSize,
|
|
4522
|
+
type: o.headerButtonType,
|
|
4523
4523
|
icon: "el-icon-cpu",
|
|
4524
|
-
onClick:
|
|
4524
|
+
onClick: l.processSimulation
|
|
4525
4525
|
}, {
|
|
4526
|
-
default: M(() => [...
|
|
4526
|
+
default: M(() => [...a[28] || (a[28] = [_(" 模拟 ", -1)])]),
|
|
4527
4527
|
_: 1
|
|
4528
4528
|
}, 8, [
|
|
4529
4529
|
"size",
|
|
@@ -4541,11 +4541,11 @@ function vt(e, n, i, a, s, c) {
|
|
|
4541
4541
|
effect: "light",
|
|
4542
4542
|
content: "向左对齐"
|
|
4543
4543
|
}, {
|
|
4544
|
-
default: M(() => [v(
|
|
4545
|
-
size:
|
|
4544
|
+
default: M(() => [v(u, {
|
|
4545
|
+
size: o.headerButtonSize,
|
|
4546
4546
|
class: "align align-left",
|
|
4547
4547
|
icon: "el-icon-s-data",
|
|
4548
|
-
onClick:
|
|
4548
|
+
onClick: a[4] || (a[4] = (e) => l.elementsAlign("left"))
|
|
4549
4549
|
}, null, 8, ["size"])]),
|
|
4550
4550
|
_: 1
|
|
4551
4551
|
}),
|
|
@@ -4553,11 +4553,11 @@ function vt(e, n, i, a, s, c) {
|
|
|
4553
4553
|
effect: "light",
|
|
4554
4554
|
content: "向右对齐"
|
|
4555
4555
|
}, {
|
|
4556
|
-
default: M(() => [v(
|
|
4557
|
-
size:
|
|
4556
|
+
default: M(() => [v(u, {
|
|
4557
|
+
size: o.headerButtonSize,
|
|
4558
4558
|
class: "align align-right",
|
|
4559
4559
|
icon: "el-icon-s-data",
|
|
4560
|
-
onClick:
|
|
4560
|
+
onClick: a[5] || (a[5] = (e) => l.elementsAlign("right"))
|
|
4561
4561
|
}, null, 8, ["size"])]),
|
|
4562
4562
|
_: 1
|
|
4563
4563
|
}),
|
|
@@ -4565,11 +4565,11 @@ function vt(e, n, i, a, s, c) {
|
|
|
4565
4565
|
effect: "light",
|
|
4566
4566
|
content: "向上对齐"
|
|
4567
4567
|
}, {
|
|
4568
|
-
default: M(() => [v(
|
|
4569
|
-
size:
|
|
4568
|
+
default: M(() => [v(u, {
|
|
4569
|
+
size: o.headerButtonSize,
|
|
4570
4570
|
class: "align align-top",
|
|
4571
4571
|
icon: "el-icon-s-data",
|
|
4572
|
-
onClick:
|
|
4572
|
+
onClick: a[6] || (a[6] = (e) => l.elementsAlign("top"))
|
|
4573
4573
|
}, null, 8, ["size"])]),
|
|
4574
4574
|
_: 1
|
|
4575
4575
|
}),
|
|
@@ -4577,11 +4577,11 @@ function vt(e, n, i, a, s, c) {
|
|
|
4577
4577
|
effect: "light",
|
|
4578
4578
|
content: "向下对齐"
|
|
4579
4579
|
}, {
|
|
4580
|
-
default: M(() => [v(
|
|
4581
|
-
size:
|
|
4580
|
+
default: M(() => [v(u, {
|
|
4581
|
+
size: o.headerButtonSize,
|
|
4582
4582
|
class: "align align-bottom",
|
|
4583
4583
|
icon: "el-icon-s-data",
|
|
4584
|
-
onClick:
|
|
4584
|
+
onClick: a[7] || (a[7] = (e) => l.elementsAlign("bottom"))
|
|
4585
4585
|
}, null, 8, ["size"])]),
|
|
4586
4586
|
_: 1
|
|
4587
4587
|
}),
|
|
@@ -4589,11 +4589,11 @@ function vt(e, n, i, a, s, c) {
|
|
|
4589
4589
|
effect: "light",
|
|
4590
4590
|
content: "水平居中"
|
|
4591
4591
|
}, {
|
|
4592
|
-
default: M(() => [v(
|
|
4593
|
-
size:
|
|
4592
|
+
default: M(() => [v(u, {
|
|
4593
|
+
size: o.headerButtonSize,
|
|
4594
4594
|
class: "align align-center",
|
|
4595
4595
|
icon: "el-icon-s-data",
|
|
4596
|
-
onClick:
|
|
4596
|
+
onClick: a[8] || (a[8] = (e) => l.elementsAlign("center"))
|
|
4597
4597
|
}, null, 8, ["size"])]),
|
|
4598
4598
|
_: 1
|
|
4599
4599
|
}),
|
|
@@ -4601,11 +4601,11 @@ function vt(e, n, i, a, s, c) {
|
|
|
4601
4601
|
effect: "light",
|
|
4602
4602
|
content: "垂直居中"
|
|
4603
4603
|
}, {
|
|
4604
|
-
default: M(() => [v(
|
|
4605
|
-
size:
|
|
4604
|
+
default: M(() => [v(u, {
|
|
4605
|
+
size: o.headerButtonSize,
|
|
4606
4606
|
class: "align align-middle",
|
|
4607
4607
|
icon: "el-icon-s-data",
|
|
4608
|
-
onClick:
|
|
4608
|
+
onClick: a[9] || (a[9] = (e) => l.elementsAlign("middle"))
|
|
4609
4609
|
}, null, 8, ["size"])]),
|
|
4610
4610
|
_: 1
|
|
4611
4611
|
})
|
|
@@ -4618,27 +4618,27 @@ function vt(e, n, i, a, s, c) {
|
|
|
4618
4618
|
effect: "light",
|
|
4619
4619
|
content: "缩小视图"
|
|
4620
4620
|
}, {
|
|
4621
|
-
default: M(() => [v(
|
|
4622
|
-
size:
|
|
4623
|
-
disabled:
|
|
4621
|
+
default: M(() => [v(u, {
|
|
4622
|
+
size: o.headerButtonSize,
|
|
4623
|
+
disabled: c.defaultZoom < .2,
|
|
4624
4624
|
icon: "el-icon-zoom-out",
|
|
4625
|
-
onClick:
|
|
4625
|
+
onClick: a[10] || (a[10] = (e) => l.processZoomOut())
|
|
4626
4626
|
}, null, 8, ["size", "disabled"])]),
|
|
4627
4627
|
_: 1
|
|
4628
4628
|
}),
|
|
4629
|
-
v(
|
|
4630
|
-
default: M(() => [_(O(`${Math.floor(
|
|
4629
|
+
v(u, { size: o.headerButtonSize }, {
|
|
4630
|
+
default: M(() => [_(O(`${Math.floor(c.defaultZoom * 10 * 10)}%`), 1)]),
|
|
4631
4631
|
_: 1
|
|
4632
4632
|
}, 8, ["size"]),
|
|
4633
4633
|
v(f, {
|
|
4634
4634
|
effect: "light",
|
|
4635
4635
|
content: "放大视图"
|
|
4636
4636
|
}, {
|
|
4637
|
-
default: M(() => [v(
|
|
4638
|
-
size:
|
|
4639
|
-
disabled:
|
|
4637
|
+
default: M(() => [v(u, {
|
|
4638
|
+
size: o.headerButtonSize,
|
|
4639
|
+
disabled: c.defaultZoom > 4,
|
|
4640
4640
|
icon: "el-icon-zoom-in",
|
|
4641
|
-
onClick:
|
|
4641
|
+
onClick: a[11] || (a[11] = (e) => l.processZoomIn())
|
|
4642
4642
|
}, null, 8, ["size", "disabled"])]),
|
|
4643
4643
|
_: 1
|
|
4644
4644
|
}),
|
|
@@ -4646,10 +4646,10 @@ function vt(e, n, i, a, s, c) {
|
|
|
4646
4646
|
effect: "light",
|
|
4647
4647
|
content: "重置视图并居中"
|
|
4648
4648
|
}, {
|
|
4649
|
-
default: M(() => [v(
|
|
4650
|
-
size:
|
|
4649
|
+
default: M(() => [v(u, {
|
|
4650
|
+
size: o.headerButtonSize,
|
|
4651
4651
|
icon: "el-icon-c-scale-to-original",
|
|
4652
|
-
onClick:
|
|
4652
|
+
onClick: a[12] || (a[12] = (e) => l.processReZoom())
|
|
4653
4653
|
}, null, 8, ["size"])]),
|
|
4654
4654
|
_: 1
|
|
4655
4655
|
})
|
|
@@ -4662,11 +4662,11 @@ function vt(e, n, i, a, s, c) {
|
|
|
4662
4662
|
effect: "light",
|
|
4663
4663
|
content: "撤销"
|
|
4664
4664
|
}, {
|
|
4665
|
-
default: M(() => [v(
|
|
4666
|
-
size:
|
|
4667
|
-
disabled: !
|
|
4665
|
+
default: M(() => [v(u, {
|
|
4666
|
+
size: o.headerButtonSize,
|
|
4667
|
+
disabled: !c.revocable,
|
|
4668
4668
|
icon: "el-icon-refresh-left",
|
|
4669
|
-
onClick:
|
|
4669
|
+
onClick: a[13] || (a[13] = (e) => l.processUndo())
|
|
4670
4670
|
}, null, 8, ["size", "disabled"])]),
|
|
4671
4671
|
_: 1
|
|
4672
4672
|
}),
|
|
@@ -4674,11 +4674,11 @@ function vt(e, n, i, a, s, c) {
|
|
|
4674
4674
|
effect: "light",
|
|
4675
4675
|
content: "恢复"
|
|
4676
4676
|
}, {
|
|
4677
|
-
default: M(() => [v(
|
|
4678
|
-
size:
|
|
4679
|
-
disabled: !
|
|
4677
|
+
default: M(() => [v(u, {
|
|
4678
|
+
size: o.headerButtonSize,
|
|
4679
|
+
disabled: !c.recoverable,
|
|
4680
4680
|
icon: "el-icon-refresh-right",
|
|
4681
|
-
onClick:
|
|
4681
|
+
onClick: a[14] || (a[14] = (e) => l.processRedo())
|
|
4682
4682
|
}, null, 8, ["size", "disabled"])]),
|
|
4683
4683
|
_: 1
|
|
4684
4684
|
}),
|
|
@@ -4686,10 +4686,10 @@ function vt(e, n, i, a, s, c) {
|
|
|
4686
4686
|
effect: "light",
|
|
4687
4687
|
content: "重新绘制"
|
|
4688
4688
|
}, {
|
|
4689
|
-
default: M(() => [v(
|
|
4690
|
-
size:
|
|
4689
|
+
default: M(() => [v(u, {
|
|
4690
|
+
size: o.headerButtonSize,
|
|
4691
4691
|
icon: "el-icon-refresh",
|
|
4692
|
-
onClick:
|
|
4692
|
+
onClick: l.processRestart
|
|
4693
4693
|
}, null, 8, ["size", "onClick"])]),
|
|
4694
4694
|
_: 1
|
|
4695
4695
|
})
|
|
@@ -4704,13 +4704,13 @@ function vt(e, n, i, a, s, c) {
|
|
|
4704
4704
|
type: "file",
|
|
4705
4705
|
style: { display: "none" },
|
|
4706
4706
|
accept: ".xml, .bpmn",
|
|
4707
|
-
onChange:
|
|
4707
|
+
onChange: a[15] || (a[15] = (...e) => l.importLocalFile && l.importLocalFile(...e))
|
|
4708
4708
|
}, null, 544)
|
|
4709
4709
|
]),
|
|
4710
4710
|
g("div", gt, [g("div", _t, null, 512)]),
|
|
4711
4711
|
v(x, {
|
|
4712
|
-
modelValue:
|
|
4713
|
-
"onUpdate:modelValue":
|
|
4712
|
+
modelValue: c.previewModelVisible,
|
|
4713
|
+
"onUpdate:modelValue": a[16] || (a[16] = (e) => c.previewModelVisible = e),
|
|
4714
4714
|
title: "预览",
|
|
4715
4715
|
class: "flow-dialog",
|
|
4716
4716
|
width: "60vw",
|
|
@@ -4719,14 +4719,14 @@ function vt(e, n, i, a, s, c) {
|
|
|
4719
4719
|
"destroy-on-close": ""
|
|
4720
4720
|
}, {
|
|
4721
4721
|
default: M(() => [v(b, {
|
|
4722
|
-
language:
|
|
4723
|
-
code:
|
|
4722
|
+
language: c.previewType,
|
|
4723
|
+
code: c.previewResult
|
|
4724
4724
|
}, null, 8, ["language", "code"])]),
|
|
4725
4725
|
_: 1
|
|
4726
4726
|
}, 8, ["modelValue"])
|
|
4727
4727
|
]);
|
|
4728
4728
|
}
|
|
4729
|
-
var yt = /* @__PURE__ */
|
|
4729
|
+
var yt = /* @__PURE__ */ e(pt, [["render", vt]]), bt = {
|
|
4730
4730
|
name: "FlowDesigner",
|
|
4731
4731
|
components: {
|
|
4732
4732
|
PropertiesPanel: Ve,
|