@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,23 +1,22 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { r, t as
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { t as l } from "./C_rLHaAm.mjs";
|
|
10
|
-
import { t as u } from "./HQd8AhfS.mjs";
|
|
11
|
-
import "./CNcSX5f1.mjs";
|
|
12
|
-
import { t as d } from "./hFCEXdXW.mjs";
|
|
13
|
-
import "./2Hag_Aho.mjs";
|
|
14
|
-
import { t as f } from "./2Bhi7uIl.mjs";
|
|
15
|
-
import "./BFY-akW92.mjs";
|
|
16
|
-
import "./CRScbQff2.mjs";
|
|
17
|
-
import { r as p, t as m } from "./DX29uO-O.mjs";
|
|
18
|
-
import { a as h, i as g, n as _, r as v, t as y } from "./CyNGeUTh.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, t as i } from "./CZnwC17w.mjs";
|
|
5
|
+
import { a, i as o, n as s, r as c, t as l } from "./Cp1olyWc.mjs";
|
|
6
|
+
import { ElDivider as u, ElDrawer as d, ElForm as f, ElFormItem as p, ElInput as m, ElMessageBox as h, ElOption as g, ElSelect as _, ElTable as v, ElTableColumn as y } from "element-plus/es";
|
|
7
|
+
import "element-plus/es/components/base/style/css";
|
|
8
|
+
import "element-plus/es/components/input/style/css";
|
|
19
9
|
import { Fragment as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createTextVNode as T, createVNode as E, openBlock as D, renderList as O, withCtx as k, withModifiers as A } from "vue";
|
|
20
10
|
import { fastClone as j } from "@web-utils/core";
|
|
11
|
+
import "element-plus/es/components/message-box/style/css";
|
|
12
|
+
import "element-plus/es/components/drawer/style/css";
|
|
13
|
+
import "element-plus/es/components/table/style/css";
|
|
14
|
+
import "element-plus/es/components/table-column/style/css";
|
|
15
|
+
import "element-plus/es/components/form/style/css";
|
|
16
|
+
import "element-plus/es/components/form-item/style/css";
|
|
17
|
+
import "element-plus/es/components/select/style/css";
|
|
18
|
+
import "element-plus/es/components/option/style/css";
|
|
19
|
+
import "element-plus/es/components/divider/style/css";
|
|
21
20
|
//#region src/components/bpmn-process-designer/components/penal/listeners/UserTaskListeners.vue
|
|
22
21
|
var M = {
|
|
23
22
|
name: "UserTaskListeners",
|
|
@@ -33,11 +32,11 @@ var M = {
|
|
|
33
32
|
data() {
|
|
34
33
|
return {
|
|
35
34
|
elementListenersList: [],
|
|
36
|
-
listenerEventTypeObject:
|
|
37
|
-
listenerTypeObject:
|
|
35
|
+
listenerEventTypeObject: l,
|
|
36
|
+
listenerTypeObject: a,
|
|
38
37
|
listenerFormModelVisible: !1,
|
|
39
38
|
listenerForm: {},
|
|
40
|
-
fieldTypeObject:
|
|
39
|
+
fieldTypeObject: s,
|
|
41
40
|
fieldsListOfListener: [],
|
|
42
41
|
listenerFieldFormModelVisible: !1,
|
|
43
42
|
editingListenerIndex: -1,
|
|
@@ -54,25 +53,25 @@ var M = {
|
|
|
54
53
|
methods: {
|
|
55
54
|
resetListenersList() {
|
|
56
55
|
var e;
|
|
57
|
-
this.otherExtensionList = [], this.bpmnElementListeners = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => e.$type === `${this.prefix}:TaskListener`)) ?? [], this.elementListenersList = this.bpmnElementListeners.map((e) =>
|
|
56
|
+
this.otherExtensionList = [], this.bpmnElementListeners = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => e.$type === `${this.prefix}:TaskListener`)) ?? [], this.elementListenersList = this.bpmnElementListeners.map((e) => o(e));
|
|
58
57
|
},
|
|
59
58
|
async openListenerForm(e, t) {
|
|
60
59
|
var n;
|
|
61
|
-
e ? (this.listenerForm =
|
|
60
|
+
e ? (this.listenerForm = c(e), this.editingListenerIndex = t) : (this.listenerForm = {}, this.editingListenerIndex = -1), e && e.fields ? this.fieldsListOfListener = e.fields.map((e) => ({
|
|
62
61
|
...e,
|
|
63
62
|
fieldType: e.string ? "string" : "expression"
|
|
64
63
|
})) : (this.fieldsListOfListener = [], this.listenerForm.fields = []), this.listenerFormModelVisible = !0, await this.$nextTick(), (n = this.$refs.listenerFormRef) == null || n.clearValidate();
|
|
65
64
|
},
|
|
66
|
-
async removeListener(
|
|
65
|
+
async removeListener(e, t) {
|
|
67
66
|
try {
|
|
68
|
-
await
|
|
67
|
+
await h.confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(t, 1), this.elementListenersList.splice(t, 1), r(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
|
|
69
68
|
} catch {}
|
|
70
69
|
},
|
|
71
70
|
async saveListenerConfig() {
|
|
72
71
|
var e;
|
|
73
72
|
if (!await this.$refs.listenerFormRef.validate()) return;
|
|
74
|
-
let t =
|
|
75
|
-
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(t), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, t), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => e.$type !== `${this.prefix}:TaskListener`)) ?? [],
|
|
73
|
+
let t = i(this.bpmnInstances, this.listenerForm, !0, this.prefix);
|
|
74
|
+
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(t), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, t), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => e.$type !== `${this.prefix}:TaskListener`)) ?? [], r(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
76
75
|
},
|
|
77
76
|
async openListenerFieldForm(e, t) {
|
|
78
77
|
var n;
|
|
@@ -81,9 +80,9 @@ var M = {
|
|
|
81
80
|
async saveListenerFiled() {
|
|
82
81
|
await this.$refs.listenerFieldFormRef.validate() && (this.editingListenerFieldIndex === -1 ? (this.fieldsListOfListener.push(this.listenerFieldForm), this.listenerForm.fields.push(this.listenerFieldForm)) : (this.fieldsListOfListener.splice(this.editingListenerFieldIndex, 1, this.listenerFieldForm), this.listenerForm.fields.splice(this.editingListenerFieldIndex, 1, this.listenerFieldForm)), this.listenerFieldFormModelVisible = !1, await this.$nextTick(), this.listenerFieldForm = {});
|
|
83
82
|
},
|
|
84
|
-
async removeListenerField(
|
|
83
|
+
async removeListenerField(e, t) {
|
|
85
84
|
try {
|
|
86
|
-
await
|
|
85
|
+
await h.confirm("确认移除该字段吗?", "提示"), this.fieldsListOfListener.splice(t, 1), this.listenerForm.fields.splice(t, 1);
|
|
87
86
|
} catch {}
|
|
88
87
|
}
|
|
89
88
|
}
|
|
@@ -91,56 +90,56 @@ var M = {
|
|
|
91
90
|
class: "listener-filed__title",
|
|
92
91
|
style: { "padding-bottom": "6px" }
|
|
93
92
|
}, I = { class: "element-drawer__button" };
|
|
94
|
-
function L(e,
|
|
95
|
-
let
|
|
93
|
+
function L(e, r, i, a, o, s) {
|
|
94
|
+
let c = y, l = n, h = u, j = v, M = g, L = _, R = p, z = m, B = f, V = d, H = t;
|
|
96
95
|
return D(), C("div", N, [
|
|
97
96
|
E(j, {
|
|
98
|
-
data:
|
|
97
|
+
data: o.elementListenersList,
|
|
99
98
|
border: ""
|
|
100
99
|
}, {
|
|
101
100
|
default: k(() => [
|
|
102
|
-
E(
|
|
101
|
+
E(c, {
|
|
103
102
|
label: "序号",
|
|
104
103
|
width: "50px",
|
|
105
104
|
type: "index"
|
|
106
105
|
}),
|
|
107
|
-
E(
|
|
106
|
+
E(c, {
|
|
108
107
|
label: "事件类型",
|
|
109
108
|
"min-width": "80px",
|
|
110
109
|
"show-overflow-tooltip": "",
|
|
111
|
-
formatter: (e) =>
|
|
110
|
+
formatter: (e) => o.listenerEventTypeObject[e.event]
|
|
112
111
|
}, null, 8, ["formatter"]),
|
|
113
|
-
E(
|
|
112
|
+
E(c, {
|
|
114
113
|
label: "事件id",
|
|
115
114
|
"min-width": "80px",
|
|
116
115
|
prop: "id",
|
|
117
116
|
"show-overflow-tooltip": ""
|
|
118
117
|
}),
|
|
119
|
-
E(
|
|
118
|
+
E(c, {
|
|
120
119
|
label: "监听器类型",
|
|
121
120
|
"min-width": "80px",
|
|
122
121
|
"show-overflow-tooltip": "",
|
|
123
|
-
formatter: (e) =>
|
|
122
|
+
formatter: (e) => o.listenerTypeObject[e.listenerType]
|
|
124
123
|
}, null, 8, ["formatter"]),
|
|
125
|
-
E(
|
|
124
|
+
E(c, {
|
|
126
125
|
label: "操作",
|
|
127
126
|
width: "90px"
|
|
128
127
|
}, {
|
|
129
128
|
default: k(({ row: e, $index: t }) => [
|
|
130
|
-
E(
|
|
129
|
+
E(l, {
|
|
131
130
|
text: "",
|
|
132
|
-
onClick: (n) =>
|
|
131
|
+
onClick: (n) => s.openListenerForm(e, t)
|
|
133
132
|
}, {
|
|
134
|
-
default: k(() => [...
|
|
133
|
+
default: k(() => [...r[24] || (r[24] = [T("编辑", -1)])]),
|
|
135
134
|
_: 1
|
|
136
135
|
}, 8, ["onClick"]),
|
|
137
|
-
E(
|
|
138
|
-
E(
|
|
136
|
+
E(h, { direction: "vertical" }),
|
|
137
|
+
E(l, {
|
|
139
138
|
text: "",
|
|
140
139
|
style: { color: "#ff4d4f" },
|
|
141
|
-
onClick: (n) =>
|
|
140
|
+
onClick: (n) => s.removeListener(e, t)
|
|
142
141
|
}, {
|
|
143
|
-
default: k(() => [...
|
|
142
|
+
default: k(() => [...r[25] || (r[25] = [T("移除", -1)])]),
|
|
144
143
|
_: 1
|
|
145
144
|
}, 8, ["onClick"])
|
|
146
145
|
]),
|
|
@@ -149,21 +148,21 @@ function L(e, d, p, m, h, g) {
|
|
|
149
148
|
]),
|
|
150
149
|
_: 1
|
|
151
150
|
}, 8, ["data"]),
|
|
152
|
-
w("div", P, [E(
|
|
151
|
+
w("div", P, [E(l, {
|
|
153
152
|
type: "primary",
|
|
154
153
|
icon: "el-icon-plus",
|
|
155
|
-
onClick:
|
|
154
|
+
onClick: r[0] || (r[0] = (e) => s.openListenerForm(null))
|
|
156
155
|
}, {
|
|
157
|
-
default: k(() => [...
|
|
156
|
+
default: k(() => [...r[26] || (r[26] = [T("添加监听器", -1)])]),
|
|
158
157
|
_: 1
|
|
159
158
|
})]),
|
|
160
159
|
S(" 监听器 编辑/创建 部分 "),
|
|
161
160
|
E(V, {
|
|
162
|
-
modelValue:
|
|
163
|
-
"onUpdate:modelValue":
|
|
161
|
+
modelValue: o.listenerFormModelVisible,
|
|
162
|
+
"onUpdate:modelValue": r[16] || (r[16] = (e) => o.listenerFormModelVisible = e),
|
|
164
163
|
class: "flow-drawer",
|
|
165
164
|
title: "任务监听器",
|
|
166
|
-
size: `${
|
|
165
|
+
size: `${s.width}px`,
|
|
167
166
|
"wrapper-closable": !1,
|
|
168
167
|
"append-to-body": "",
|
|
169
168
|
"destroy-on-close": ""
|
|
@@ -171,9 +170,9 @@ function L(e, d, p, m, h, g) {
|
|
|
171
170
|
default: k(() => [
|
|
172
171
|
E(B, {
|
|
173
172
|
ref: "listenerFormRef",
|
|
174
|
-
model:
|
|
173
|
+
model: o.listenerForm,
|
|
175
174
|
"label-width": "96px",
|
|
176
|
-
onSubmit:
|
|
175
|
+
onSubmit: r[13] || (r[13] = A(() => {}, ["prevent"]))
|
|
177
176
|
}, {
|
|
178
177
|
default: k(() => [
|
|
179
178
|
E(R, {
|
|
@@ -185,12 +184,12 @@ function L(e, d, p, m, h, g) {
|
|
|
185
184
|
}
|
|
186
185
|
}, {
|
|
187
186
|
default: k(() => [E(L, {
|
|
188
|
-
modelValue:
|
|
189
|
-
"onUpdate:modelValue":
|
|
187
|
+
modelValue: o.listenerForm.event,
|
|
188
|
+
"onUpdate:modelValue": r[1] || (r[1] = (e) => o.listenerForm.event = e)
|
|
190
189
|
}, {
|
|
191
|
-
default: k(() => [(D(!0), C(b, null, O(Object.keys(
|
|
190
|
+
default: k(() => [(D(!0), C(b, null, O(Object.keys(o.listenerEventTypeObject), (e) => (D(), x(M, {
|
|
192
191
|
key: e,
|
|
193
|
-
label:
|
|
192
|
+
label: o.listenerEventTypeObject[e],
|
|
194
193
|
value: e
|
|
195
194
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
196
195
|
_: 1
|
|
@@ -206,8 +205,8 @@ function L(e, d, p, m, h, g) {
|
|
|
206
205
|
}
|
|
207
206
|
}, {
|
|
208
207
|
default: k(() => [E(z, {
|
|
209
|
-
modelValue:
|
|
210
|
-
"onUpdate:modelValue":
|
|
208
|
+
modelValue: o.listenerForm.id,
|
|
209
|
+
"onUpdate:modelValue": r[2] || (r[2] = (e) => o.listenerForm.id = e),
|
|
211
210
|
clearable: ""
|
|
212
211
|
}, null, 8, ["modelValue"])]),
|
|
213
212
|
_: 1
|
|
@@ -221,19 +220,19 @@ function L(e, d, p, m, h, g) {
|
|
|
221
220
|
}
|
|
222
221
|
}, {
|
|
223
222
|
default: k(() => [E(L, {
|
|
224
|
-
modelValue:
|
|
225
|
-
"onUpdate:modelValue":
|
|
223
|
+
modelValue: o.listenerForm.listenerType,
|
|
224
|
+
"onUpdate:modelValue": r[3] || (r[3] = (e) => o.listenerForm.listenerType = e)
|
|
226
225
|
}, {
|
|
227
|
-
default: k(() => [(D(!0), C(b, null, O(Object.keys(
|
|
226
|
+
default: k(() => [(D(!0), C(b, null, O(Object.keys(o.listenerTypeObject), (e) => (D(), x(M, {
|
|
228
227
|
key: e,
|
|
229
|
-
label:
|
|
228
|
+
label: o.listenerTypeObject[e],
|
|
230
229
|
value: e
|
|
231
230
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
232
231
|
_: 1
|
|
233
232
|
}, 8, ["modelValue"])]),
|
|
234
233
|
_: 1
|
|
235
234
|
}),
|
|
236
|
-
|
|
235
|
+
o.listenerForm.listenerType === "classListener" ? (D(), x(R, {
|
|
237
236
|
key: "listener-class",
|
|
238
237
|
label: "Java类",
|
|
239
238
|
prop: "class",
|
|
@@ -243,13 +242,13 @@ function L(e, d, p, m, h, g) {
|
|
|
243
242
|
}
|
|
244
243
|
}, {
|
|
245
244
|
default: k(() => [E(z, {
|
|
246
|
-
modelValue:
|
|
247
|
-
"onUpdate:modelValue":
|
|
245
|
+
modelValue: o.listenerForm.class,
|
|
246
|
+
"onUpdate:modelValue": r[4] || (r[4] = (e) => o.listenerForm.class = e),
|
|
248
247
|
clearable: ""
|
|
249
248
|
}, null, 8, ["modelValue"])]),
|
|
250
249
|
_: 1
|
|
251
250
|
})) : S("v-if", !0),
|
|
252
|
-
|
|
251
|
+
o.listenerForm.listenerType === "expressionListener" ? (D(), x(R, {
|
|
253
252
|
key: "listener-expression",
|
|
254
253
|
label: "表达式",
|
|
255
254
|
prop: "expression",
|
|
@@ -259,13 +258,13 @@ function L(e, d, p, m, h, g) {
|
|
|
259
258
|
}
|
|
260
259
|
}, {
|
|
261
260
|
default: k(() => [E(z, {
|
|
262
|
-
modelValue:
|
|
263
|
-
"onUpdate:modelValue":
|
|
261
|
+
modelValue: o.listenerForm.expression,
|
|
262
|
+
"onUpdate:modelValue": r[5] || (r[5] = (e) => o.listenerForm.expression = e),
|
|
264
263
|
clearable: ""
|
|
265
264
|
}, null, 8, ["modelValue"])]),
|
|
266
265
|
_: 1
|
|
267
266
|
})) : S("v-if", !0),
|
|
268
|
-
|
|
267
|
+
o.listenerForm.listenerType === "delegateExpressionListener" ? (D(), x(R, {
|
|
269
268
|
key: "listener-delegate",
|
|
270
269
|
label: "代理表达式",
|
|
271
270
|
prop: "delegateExpression",
|
|
@@ -275,13 +274,13 @@ function L(e, d, p, m, h, g) {
|
|
|
275
274
|
}
|
|
276
275
|
}, {
|
|
277
276
|
default: k(() => [E(z, {
|
|
278
|
-
modelValue:
|
|
279
|
-
"onUpdate:modelValue":
|
|
277
|
+
modelValue: o.listenerForm.delegateExpression,
|
|
278
|
+
"onUpdate:modelValue": r[6] || (r[6] = (e) => o.listenerForm.delegateExpression = e),
|
|
280
279
|
clearable: ""
|
|
281
280
|
}, null, 8, ["modelValue"])]),
|
|
282
281
|
_: 1
|
|
283
282
|
})) : S("v-if", !0),
|
|
284
|
-
|
|
283
|
+
o.listenerForm.listenerType === "scriptListener" ? (D(), C(b, { key: 3 }, [
|
|
285
284
|
E(R, {
|
|
286
285
|
key: "listener-script-format",
|
|
287
286
|
label: "脚本格式",
|
|
@@ -293,8 +292,8 @@ function L(e, d, p, m, h, g) {
|
|
|
293
292
|
}
|
|
294
293
|
}, {
|
|
295
294
|
default: k(() => [E(z, {
|
|
296
|
-
modelValue:
|
|
297
|
-
"onUpdate:modelValue":
|
|
295
|
+
modelValue: o.listenerForm.scriptFormat,
|
|
296
|
+
"onUpdate:modelValue": r[7] || (r[7] = (e) => o.listenerForm.scriptFormat = e),
|
|
298
297
|
clearable: ""
|
|
299
298
|
}, null, 8, ["modelValue"])]),
|
|
300
299
|
_: 1
|
|
@@ -310,8 +309,8 @@ function L(e, d, p, m, h, g) {
|
|
|
310
309
|
}
|
|
311
310
|
}, {
|
|
312
311
|
default: k(() => [E(L, {
|
|
313
|
-
modelValue:
|
|
314
|
-
"onUpdate:modelValue":
|
|
312
|
+
modelValue: o.listenerForm.scriptType,
|
|
313
|
+
"onUpdate:modelValue": r[8] || (r[8] = (e) => o.listenerForm.scriptType = e)
|
|
315
314
|
}, {
|
|
316
315
|
default: k(() => [E(M, {
|
|
317
316
|
label: "内联脚本",
|
|
@@ -324,7 +323,7 @@ function L(e, d, p, m, h, g) {
|
|
|
324
323
|
}, 8, ["modelValue"])]),
|
|
325
324
|
_: 1
|
|
326
325
|
}),
|
|
327
|
-
|
|
326
|
+
o.listenerForm.scriptType === "inlineScript" ? (D(), x(R, {
|
|
328
327
|
key: "listener-script",
|
|
329
328
|
label: "脚本内容",
|
|
330
329
|
prop: "value",
|
|
@@ -335,13 +334,13 @@ function L(e, d, p, m, h, g) {
|
|
|
335
334
|
}
|
|
336
335
|
}, {
|
|
337
336
|
default: k(() => [E(z, {
|
|
338
|
-
modelValue:
|
|
339
|
-
"onUpdate:modelValue":
|
|
337
|
+
modelValue: o.listenerForm.value,
|
|
338
|
+
"onUpdate:modelValue": r[9] || (r[9] = (e) => o.listenerForm.value = e),
|
|
340
339
|
clearable: ""
|
|
341
340
|
}, null, 8, ["modelValue"])]),
|
|
342
341
|
_: 1
|
|
343
342
|
})) : S("v-if", !0),
|
|
344
|
-
|
|
343
|
+
o.listenerForm.scriptType === "externalScript" ? (D(), x(R, {
|
|
345
344
|
key: "listener-resource",
|
|
346
345
|
label: "资源地址",
|
|
347
346
|
prop: "resource",
|
|
@@ -352,21 +351,21 @@ function L(e, d, p, m, h, g) {
|
|
|
352
351
|
}
|
|
353
352
|
}, {
|
|
354
353
|
default: k(() => [E(z, {
|
|
355
|
-
modelValue:
|
|
356
|
-
"onUpdate:modelValue":
|
|
354
|
+
modelValue: o.listenerForm.resource,
|
|
355
|
+
"onUpdate:modelValue": r[10] || (r[10] = (e) => o.listenerForm.resource = e),
|
|
357
356
|
clearable: ""
|
|
358
357
|
}, null, 8, ["modelValue"])]),
|
|
359
358
|
_: 1
|
|
360
359
|
})) : S("v-if", !0)
|
|
361
360
|
], 64)) : S("v-if", !0),
|
|
362
|
-
|
|
361
|
+
o.listenerForm.event === "timeout" ? (D(), C(b, { key: 4 }, [E(R, {
|
|
363
362
|
key: "eventDefinitionType",
|
|
364
363
|
label: "定时器类型",
|
|
365
364
|
prop: "eventDefinitionType"
|
|
366
365
|
}, {
|
|
367
366
|
default: k(() => [E(L, {
|
|
368
|
-
modelValue:
|
|
369
|
-
"onUpdate:modelValue":
|
|
367
|
+
modelValue: o.listenerForm.eventDefinitionType,
|
|
368
|
+
"onUpdate:modelValue": r[11] || (r[11] = (e) => o.listenerForm.eventDefinitionType = e)
|
|
370
369
|
}, {
|
|
371
370
|
default: k(() => [
|
|
372
371
|
E(M, {
|
|
@@ -389,7 +388,7 @@ function L(e, d, p, m, h, g) {
|
|
|
389
388
|
_: 1
|
|
390
389
|
}, 8, ["modelValue"])]),
|
|
391
390
|
_: 1
|
|
392
|
-
}),
|
|
391
|
+
}), o.listenerForm.eventDefinitionType && o.listenerForm.eventDefinitionType !== "null" ? (D(), x(R, {
|
|
393
392
|
key: "eventTimeDefinitions",
|
|
394
393
|
label: "定时器",
|
|
395
394
|
prop: "eventTimeDefinitions",
|
|
@@ -400,8 +399,8 @@ function L(e, d, p, m, h, g) {
|
|
|
400
399
|
}
|
|
401
400
|
}, {
|
|
402
401
|
default: k(() => [E(z, {
|
|
403
|
-
modelValue:
|
|
404
|
-
"onUpdate:modelValue":
|
|
402
|
+
modelValue: o.listenerForm.eventTimeDefinitions,
|
|
403
|
+
"onUpdate:modelValue": r[12] || (r[12] = (e) => o.listenerForm.eventTimeDefinitions = e),
|
|
405
404
|
clearable: ""
|
|
406
405
|
}, null, 8, ["modelValue"])]),
|
|
407
406
|
_: 1
|
|
@@ -409,64 +408,64 @@ function L(e, d, p, m, h, g) {
|
|
|
409
408
|
]),
|
|
410
409
|
_: 1
|
|
411
410
|
}, 8, ["model"]),
|
|
412
|
-
E(
|
|
413
|
-
w("p", F, [
|
|
411
|
+
E(h),
|
|
412
|
+
w("p", F, [r[28] || (r[28] = w("span", null, [w("i", { class: "el-icon-menu" }), T(" 注入字段: ")], -1)), E(l, {
|
|
414
413
|
type: "primary",
|
|
415
414
|
style: { "margin-left": "auto" },
|
|
416
|
-
onClick:
|
|
415
|
+
onClick: r[14] || (r[14] = (e) => s.openListenerFieldForm(null))
|
|
417
416
|
}, {
|
|
418
|
-
default: k(() => [...
|
|
417
|
+
default: k(() => [...r[27] || (r[27] = [T(" 添加字段 ", -1)])]),
|
|
419
418
|
_: 1
|
|
420
419
|
})]),
|
|
421
420
|
E(j, {
|
|
422
|
-
data:
|
|
421
|
+
data: o.fieldsListOfListener,
|
|
423
422
|
"max-height": "240",
|
|
424
423
|
border: "",
|
|
425
424
|
fit: "",
|
|
426
425
|
style: { flex: "none" }
|
|
427
426
|
}, {
|
|
428
427
|
default: k(() => [
|
|
429
|
-
E(
|
|
428
|
+
E(c, {
|
|
430
429
|
label: "序号",
|
|
431
430
|
width: "50px",
|
|
432
431
|
type: "index"
|
|
433
432
|
}),
|
|
434
|
-
E(
|
|
433
|
+
E(c, {
|
|
435
434
|
label: "字段名称",
|
|
436
435
|
"min-width": "100px",
|
|
437
436
|
prop: "name"
|
|
438
437
|
}),
|
|
439
|
-
E(
|
|
438
|
+
E(c, {
|
|
440
439
|
label: "字段类型",
|
|
441
440
|
"min-width": "80px",
|
|
442
441
|
"show-overflow-tooltip": "",
|
|
443
|
-
formatter: (e) =>
|
|
442
|
+
formatter: (e) => o.fieldTypeObject[e.fieldType]
|
|
444
443
|
}, null, 8, ["formatter"]),
|
|
445
|
-
E(
|
|
444
|
+
E(c, {
|
|
446
445
|
label: "字段值/表达式",
|
|
447
446
|
"min-width": "100px",
|
|
448
447
|
"show-overflow-tooltip": "",
|
|
449
448
|
formatter: (e) => e.string || e.expression
|
|
450
449
|
}, null, 8, ["formatter"]),
|
|
451
|
-
E(
|
|
450
|
+
E(c, {
|
|
452
451
|
label: "操作",
|
|
453
452
|
width: "100px"
|
|
454
453
|
}, {
|
|
455
454
|
default: k(({ row: e, $index: t }) => [
|
|
456
|
-
E(
|
|
455
|
+
E(l, {
|
|
457
456
|
text: "",
|
|
458
|
-
onClick: (n) =>
|
|
457
|
+
onClick: (n) => s.openListenerFieldForm(e, t)
|
|
459
458
|
}, {
|
|
460
|
-
default: k(() => [...
|
|
459
|
+
default: k(() => [...r[29] || (r[29] = [T("编辑", -1)])]),
|
|
461
460
|
_: 1
|
|
462
461
|
}, 8, ["onClick"]),
|
|
463
|
-
E(
|
|
464
|
-
E(
|
|
462
|
+
E(h, { direction: "vertical" }),
|
|
463
|
+
E(l, {
|
|
465
464
|
text: "",
|
|
466
465
|
style: { color: "#ff4d4f" },
|
|
467
|
-
onClick: (n) =>
|
|
466
|
+
onClick: (n) => s.removeListenerField(e, t)
|
|
468
467
|
}, {
|
|
469
|
-
default: k(() => [...
|
|
468
|
+
default: k(() => [...r[30] || (r[30] = [T("移除", -1)])]),
|
|
470
469
|
_: 1
|
|
471
470
|
}, 8, ["onClick"])
|
|
472
471
|
]),
|
|
@@ -475,14 +474,14 @@ function L(e, d, p, m, h, g) {
|
|
|
475
474
|
]),
|
|
476
475
|
_: 1
|
|
477
476
|
}, 8, ["data"]),
|
|
478
|
-
w("div", I, [E(
|
|
479
|
-
default: k(() => [...
|
|
477
|
+
w("div", I, [E(l, { onClick: r[15] || (r[15] = (e) => o.listenerFormModelVisible = !1) }, {
|
|
478
|
+
default: k(() => [...r[31] || (r[31] = [T("取 消", -1)])]),
|
|
480
479
|
_: 1
|
|
481
|
-
}), E(
|
|
480
|
+
}), E(l, {
|
|
482
481
|
type: "primary",
|
|
483
|
-
onClick:
|
|
482
|
+
onClick: s.saveListenerConfig
|
|
484
483
|
}, {
|
|
485
|
-
default: k(() => [...
|
|
484
|
+
default: k(() => [...r[32] || (r[32] = [T("保 存", -1)])]),
|
|
486
485
|
_: 1
|
|
487
486
|
}, 8, ["onClick"])])
|
|
488
487
|
]),
|
|
@@ -490,30 +489,30 @@ function L(e, d, p, m, h, g) {
|
|
|
490
489
|
}, 8, ["modelValue", "size"]),
|
|
491
490
|
S(" 注入西段 编辑/创建 部分 "),
|
|
492
491
|
E(H, {
|
|
493
|
-
modelValue:
|
|
494
|
-
"onUpdate:modelValue":
|
|
492
|
+
modelValue: o.listenerFieldFormModelVisible,
|
|
493
|
+
"onUpdate:modelValue": r[23] || (r[23] = (e) => o.listenerFieldFormModelVisible = e),
|
|
495
494
|
title: "字段配置",
|
|
496
495
|
class: "flow-dialog",
|
|
497
496
|
width: "600px",
|
|
498
497
|
"append-to-body": "",
|
|
499
498
|
"destroy-on-close": ""
|
|
500
499
|
}, {
|
|
501
|
-
footer: k(() => [E(
|
|
502
|
-
default: k(() => [...
|
|
500
|
+
footer: k(() => [E(l, { onClick: r[22] || (r[22] = (e) => o.listenerFieldFormModelVisible = !1) }, {
|
|
501
|
+
default: k(() => [...r[33] || (r[33] = [T("取 消", -1)])]),
|
|
503
502
|
_: 1
|
|
504
|
-
}), E(
|
|
503
|
+
}), E(l, {
|
|
505
504
|
type: "primary",
|
|
506
|
-
onClick:
|
|
505
|
+
onClick: s.saveListenerFiled
|
|
507
506
|
}, {
|
|
508
|
-
default: k(() => [...
|
|
507
|
+
default: k(() => [...r[34] || (r[34] = [T("确 定", -1)])]),
|
|
509
508
|
_: 1
|
|
510
509
|
}, 8, ["onClick"])]),
|
|
511
510
|
default: k(() => [E(B, {
|
|
512
511
|
ref: "listenerFieldFormRef",
|
|
513
|
-
model:
|
|
512
|
+
model: o.listenerFieldForm,
|
|
514
513
|
"label-width": "96px",
|
|
515
514
|
style: { height: "136px" },
|
|
516
|
-
onSubmit:
|
|
515
|
+
onSubmit: r[21] || (r[21] = A(() => {}, ["prevent"]))
|
|
517
516
|
}, {
|
|
518
517
|
default: k(() => [
|
|
519
518
|
E(R, {
|
|
@@ -525,8 +524,8 @@ function L(e, d, p, m, h, g) {
|
|
|
525
524
|
}
|
|
526
525
|
}, {
|
|
527
526
|
default: k(() => [E(z, {
|
|
528
|
-
modelValue:
|
|
529
|
-
"onUpdate:modelValue":
|
|
527
|
+
modelValue: o.listenerFieldForm.name,
|
|
528
|
+
"onUpdate:modelValue": r[17] || (r[17] = (e) => o.listenerFieldForm.name = e),
|
|
530
529
|
clearable: ""
|
|
531
530
|
}, null, 8, ["modelValue"])]),
|
|
532
531
|
_: 1
|
|
@@ -540,19 +539,19 @@ function L(e, d, p, m, h, g) {
|
|
|
540
539
|
}
|
|
541
540
|
}, {
|
|
542
541
|
default: k(() => [E(L, {
|
|
543
|
-
modelValue:
|
|
544
|
-
"onUpdate:modelValue":
|
|
542
|
+
modelValue: o.listenerFieldForm.fieldType,
|
|
543
|
+
"onUpdate:modelValue": r[18] || (r[18] = (e) => o.listenerFieldForm.fieldType = e)
|
|
545
544
|
}, {
|
|
546
|
-
default: k(() => [(D(!0), C(b, null, O(Object.keys(
|
|
545
|
+
default: k(() => [(D(!0), C(b, null, O(Object.keys(o.fieldTypeObject), (e) => (D(), x(M, {
|
|
547
546
|
key: e,
|
|
548
|
-
label:
|
|
547
|
+
label: o.fieldTypeObject[e],
|
|
549
548
|
value: e
|
|
550
549
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
551
550
|
_: 1
|
|
552
551
|
}, 8, ["modelValue"])]),
|
|
553
552
|
_: 1
|
|
554
553
|
}),
|
|
555
|
-
|
|
554
|
+
o.listenerFieldForm.fieldType === "string" ? (D(), x(R, {
|
|
556
555
|
key: "field-string",
|
|
557
556
|
label: "字段值:",
|
|
558
557
|
prop: "string",
|
|
@@ -562,13 +561,13 @@ function L(e, d, p, m, h, g) {
|
|
|
562
561
|
}
|
|
563
562
|
}, {
|
|
564
563
|
default: k(() => [E(z, {
|
|
565
|
-
modelValue:
|
|
566
|
-
"onUpdate:modelValue":
|
|
564
|
+
modelValue: o.listenerFieldForm.string,
|
|
565
|
+
"onUpdate:modelValue": r[19] || (r[19] = (e) => o.listenerFieldForm.string = e),
|
|
567
566
|
clearable: ""
|
|
568
567
|
}, null, 8, ["modelValue"])]),
|
|
569
568
|
_: 1
|
|
570
569
|
})) : S("v-if", !0),
|
|
571
|
-
|
|
570
|
+
o.listenerFieldForm.fieldType === "expression" ? (D(), x(R, {
|
|
572
571
|
key: "field-expression",
|
|
573
572
|
label: "表达式:",
|
|
574
573
|
prop: "expression",
|
|
@@ -578,8 +577,8 @@ function L(e, d, p, m, h, g) {
|
|
|
578
577
|
}
|
|
579
578
|
}, {
|
|
580
579
|
default: k(() => [E(z, {
|
|
581
|
-
modelValue:
|
|
582
|
-
"onUpdate:modelValue":
|
|
580
|
+
modelValue: o.listenerFieldForm.expression,
|
|
581
|
+
"onUpdate:modelValue": r[20] || (r[20] = (e) => o.listenerFieldForm.expression = e),
|
|
583
582
|
clearable: ""
|
|
584
583
|
}, null, 8, ["modelValue"])]),
|
|
585
584
|
_: 1
|
|
@@ -591,6 +590,6 @@ function L(e, d, p, m, h, g) {
|
|
|
591
590
|
}, 8, ["modelValue"])
|
|
592
591
|
]);
|
|
593
592
|
}
|
|
594
|
-
var R = /* @__PURE__ */
|
|
593
|
+
var R = /* @__PURE__ */ e(M, [["render", L]]);
|
|
595
594
|
//#endregion
|
|
596
595
|
export { R as default };
|