@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 {
|
|
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 } 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 } from "./Cp1olyWc.mjs";
|
|
6
|
+
import { ElDivider as l, ElDrawer as u, ElForm as d, ElFormItem as f, ElInput as p, ElMessageBox as m, ElOption as h, ElSelect as g, ElTable as _, ElTableColumn as v } 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 y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createTextVNode as w, createVNode as T, openBlock as E, renderList as D, withCtx as O, withModifiers as k } from "vue";
|
|
20
10
|
import { capitalize as A, 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/ElementListeners.vue
|
|
22
21
|
var M = (e) => ({
|
|
23
22
|
$type: "flowable:ExecutionListener",
|
|
@@ -57,8 +56,8 @@ var M = (e) => ({
|
|
|
57
56
|
listenerFieldFormModelVisible: !1,
|
|
58
57
|
editingListenerIndex: -1,
|
|
59
58
|
editingListenerFieldIndex: -1,
|
|
60
|
-
listenerTypeObject:
|
|
61
|
-
fieldTypeObject:
|
|
59
|
+
listenerTypeObject: a,
|
|
60
|
+
fieldTypeObject: s
|
|
62
61
|
};
|
|
63
62
|
},
|
|
64
63
|
computed: { apis() {
|
|
@@ -81,7 +80,7 @@ var M = (e) => ({
|
|
|
81
80
|
methods: {
|
|
82
81
|
resetListenersList() {
|
|
83
82
|
var e;
|
|
84
|
-
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}:ExecutionListener`)) ?? [], this.elementListenersList = this.bpmnElementListeners.map((e) =>
|
|
83
|
+
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}:ExecutionListener`)) ?? [], this.elementListenersList = this.bpmnElementListeners.map((e) => o(e));
|
|
85
84
|
},
|
|
86
85
|
changeFiledType(e) {
|
|
87
86
|
e === "string" ? (delete this.listenerFieldForm.expression, this.listenerFieldForm.string = "") : (delete this.listenerFieldForm.string, this.listenerFieldForm.expression = "");
|
|
@@ -95,7 +94,7 @@ var M = (e) => ({
|
|
|
95
94
|
},
|
|
96
95
|
async openListenerForm(e, t) {
|
|
97
96
|
var n;
|
|
98
|
-
e ? (this.listenerForm =
|
|
97
|
+
e ? (this.listenerForm = c(e), this.fieldsListOfListener = e.fields ? e.fields.map((e) => ({ ...e })) : [], this.editingListenerIndex = t) : (this.listenerForm = { fields: [] }, this.fieldsListOfListener = [], this.editingListenerIndex = -1), this.listenerFormModelVisible = !0, await this.$nextTick(), (n = this.$refs.listenerFormRef) == null || n.clearValidate();
|
|
99
98
|
},
|
|
100
99
|
openListenerFieldForm(e, t) {
|
|
101
100
|
this.listenerFieldForm = e ? j(e) : { fieldType: "string" }, this.editingListenerFieldIndex = e ? t : -1, this.listenerFieldFormModelVisible = !0, this.$nextTick(() => {
|
|
@@ -105,67 +104,67 @@ var M = (e) => ({
|
|
|
105
104
|
async saveListenerFiled() {
|
|
106
105
|
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 = {});
|
|
107
106
|
},
|
|
108
|
-
async removeListenerField(
|
|
107
|
+
async removeListenerField(e, t) {
|
|
109
108
|
try {
|
|
110
|
-
await
|
|
109
|
+
await m.confirm("确认移除该字段吗?", "提示"), this.fieldsListOfListener.splice(t, 1), this.listenerForm.fields.splice(t, 1);
|
|
111
110
|
} catch {}
|
|
112
111
|
},
|
|
113
|
-
async removeListener(
|
|
112
|
+
async removeListener(e, t) {
|
|
114
113
|
try {
|
|
115
|
-
await
|
|
114
|
+
await m.confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(t, 1), this.elementListenersList.splice(t, 1), r(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
|
|
116
115
|
} catch {}
|
|
117
116
|
},
|
|
118
117
|
async saveListenerConfig() {
|
|
119
118
|
var e;
|
|
120
119
|
if (!await this.$refs.listenerFormRef.validate()) return;
|
|
121
|
-
let t =
|
|
122
|
-
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}:ExecutionListener`)) ?? [],
|
|
120
|
+
let t = i(this.bpmnInstances, this.listenerForm, !1, this.prefix);
|
|
121
|
+
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}:ExecutionListener`)) ?? [], r(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
123
122
|
}
|
|
124
123
|
}
|
|
125
124
|
}, F = { class: "panel-tab__content element-listeners" }, I = { class: "element-drawer__button" }, L = { class: "listener-filed__title" }, R = { class: "listener-filed__title" }, z = { class: "element-drawer__button" };
|
|
126
|
-
function B(e,
|
|
127
|
-
let
|
|
125
|
+
function B(e, r, i, a, o, s) {
|
|
126
|
+
let c = v, m = n, A = l, j = _, M = h, N = g, P = f, B = p, V = d, H = u, U = t;
|
|
128
127
|
return E(), S("div", F, [
|
|
129
128
|
T(j, {
|
|
130
|
-
data:
|
|
129
|
+
data: o.elementListenersList,
|
|
131
130
|
border: ""
|
|
132
131
|
}, {
|
|
133
132
|
default: O(() => [
|
|
134
|
-
T(
|
|
133
|
+
T(c, {
|
|
135
134
|
label: "序号",
|
|
136
135
|
width: "50px",
|
|
137
136
|
type: "index"
|
|
138
137
|
}),
|
|
139
|
-
T(
|
|
138
|
+
T(c, {
|
|
140
139
|
label: "事件类型",
|
|
141
140
|
"min-width": "100px",
|
|
142
141
|
prop: "event"
|
|
143
142
|
}),
|
|
144
|
-
T(
|
|
143
|
+
T(c, {
|
|
145
144
|
label: "监听器类型",
|
|
146
145
|
"min-width": "100px",
|
|
147
146
|
"show-overflow-tooltip": "",
|
|
148
|
-
formatter: (e) =>
|
|
147
|
+
formatter: (e) => o.listenerTypeObject[e.listenerType]
|
|
149
148
|
}, null, 8, ["formatter"]),
|
|
150
|
-
T(
|
|
149
|
+
T(c, {
|
|
151
150
|
label: "操作",
|
|
152
151
|
width: "90px"
|
|
153
152
|
}, {
|
|
154
153
|
default: O(({ row: e, $index: t }) => [
|
|
155
|
-
T(
|
|
154
|
+
T(m, {
|
|
156
155
|
text: "",
|
|
157
|
-
onClick: (n) =>
|
|
156
|
+
onClick: (n) => s.openListenerForm(e, t)
|
|
158
157
|
}, {
|
|
159
|
-
default: O(() => [...
|
|
158
|
+
default: O(() => [...r[26] || (r[26] = [w("编辑", -1)])]),
|
|
160
159
|
_: 1
|
|
161
160
|
}, 8, ["onClick"]),
|
|
162
161
|
T(A, { direction: "vertical" }),
|
|
163
|
-
T(
|
|
162
|
+
T(m, {
|
|
164
163
|
text: "",
|
|
165
164
|
style: { color: "#ff4d4f" },
|
|
166
|
-
onClick: (n) =>
|
|
165
|
+
onClick: (n) => s.removeListener(e, t)
|
|
167
166
|
}, {
|
|
168
|
-
default: O(() => [...
|
|
167
|
+
default: O(() => [...r[27] || (r[27] = [w("移除", -1)])]),
|
|
169
168
|
_: 1
|
|
170
169
|
}, 8, ["onClick"])
|
|
171
170
|
]),
|
|
@@ -174,21 +173,21 @@ function B(e, d, p, m, h, g) {
|
|
|
174
173
|
]),
|
|
175
174
|
_: 1
|
|
176
175
|
}, 8, ["data"]),
|
|
177
|
-
C("div", I, [T(
|
|
176
|
+
C("div", I, [T(m, {
|
|
178
177
|
type: "primary",
|
|
179
178
|
icon: "el-icon-plus",
|
|
180
|
-
onClick:
|
|
179
|
+
onClick: r[0] || (r[0] = (e) => s.openListenerForm(null))
|
|
181
180
|
}, {
|
|
182
|
-
default: O(() => [...
|
|
181
|
+
default: O(() => [...r[28] || (r[28] = [w("添加监听器", -1)])]),
|
|
183
182
|
_: 1
|
|
184
183
|
})]),
|
|
185
184
|
x(" 监听器 编辑/创建 部分 "),
|
|
186
185
|
T(H, {
|
|
187
|
-
modelValue:
|
|
188
|
-
"onUpdate:modelValue":
|
|
186
|
+
modelValue: o.listenerFormModelVisible,
|
|
187
|
+
"onUpdate:modelValue": r[16] || (r[16] = (e) => o.listenerFormModelVisible = e),
|
|
189
188
|
class: "flow-drawer element-listeners-drawer",
|
|
190
189
|
title: "执行监听器",
|
|
191
|
-
size: `${
|
|
190
|
+
size: `${s.width}px`,
|
|
192
191
|
"wrapper-closable": !1,
|
|
193
192
|
"append-to-body": "",
|
|
194
193
|
"destroy-on-close": ""
|
|
@@ -196,35 +195,35 @@ function B(e, d, p, m, h, g) {
|
|
|
196
195
|
default: O(() => [
|
|
197
196
|
T(A),
|
|
198
197
|
C("p", L, [
|
|
199
|
-
|
|
200
|
-
T(
|
|
198
|
+
r[32] || (r[32] = C("span", null, [C("i", { class: "el-icon-menu" }), w(" 监听器类型: ")], -1)),
|
|
199
|
+
T(m, {
|
|
201
200
|
type: "primary",
|
|
202
201
|
style: { "margin-left": "auto" },
|
|
203
|
-
onClick:
|
|
202
|
+
onClick: r[1] || (r[1] = (e) => s.assignListener("start"))
|
|
204
203
|
}, {
|
|
205
|
-
default: O(() => [...
|
|
204
|
+
default: O(() => [...r[29] || (r[29] = [w("开始", -1)])]),
|
|
206
205
|
_: 1
|
|
207
206
|
}),
|
|
208
|
-
T(
|
|
207
|
+
T(m, {
|
|
209
208
|
type: "primary",
|
|
210
|
-
onClick:
|
|
209
|
+
onClick: r[2] || (r[2] = (e) => s.assignListener("end"))
|
|
211
210
|
}, {
|
|
212
|
-
default: O(() => [...
|
|
211
|
+
default: O(() => [...r[30] || (r[30] = [w("结束", -1)])]),
|
|
213
212
|
_: 1
|
|
214
213
|
}),
|
|
215
|
-
T(
|
|
214
|
+
T(m, {
|
|
216
215
|
type: "primary",
|
|
217
|
-
onClick:
|
|
216
|
+
onClick: r[3] || (r[3] = (e) => s.assignListener("draft"))
|
|
218
217
|
}, {
|
|
219
|
-
default: O(() => [...
|
|
218
|
+
default: O(() => [...r[31] || (r[31] = [w("草稿", -1)])]),
|
|
220
219
|
_: 1
|
|
221
220
|
})
|
|
222
221
|
]),
|
|
223
222
|
T(V, {
|
|
224
223
|
ref: "listenerFormRef",
|
|
225
|
-
model:
|
|
224
|
+
model: o.listenerForm,
|
|
226
225
|
"label-width": "96px",
|
|
227
|
-
onSubmit:
|
|
226
|
+
onSubmit: r[13] || (r[13] = k(() => {}, ["prevent"]))
|
|
228
227
|
}, {
|
|
229
228
|
default: O(() => [
|
|
230
229
|
T(P, {
|
|
@@ -236,8 +235,8 @@ function B(e, d, p, m, h, g) {
|
|
|
236
235
|
}
|
|
237
236
|
}, {
|
|
238
237
|
default: O(() => [T(N, {
|
|
239
|
-
modelValue:
|
|
240
|
-
"onUpdate:modelValue":
|
|
238
|
+
modelValue: o.listenerForm.event,
|
|
239
|
+
"onUpdate:modelValue": r[4] || (r[4] = (e) => o.listenerForm.event = e)
|
|
241
240
|
}, {
|
|
242
241
|
default: O(() => [T(M, {
|
|
243
242
|
label: "开始",
|
|
@@ -259,19 +258,19 @@ function B(e, d, p, m, h, g) {
|
|
|
259
258
|
}
|
|
260
259
|
}, {
|
|
261
260
|
default: O(() => [T(N, {
|
|
262
|
-
modelValue:
|
|
263
|
-
"onUpdate:modelValue":
|
|
261
|
+
modelValue: o.listenerForm.listenerType,
|
|
262
|
+
"onUpdate:modelValue": r[5] || (r[5] = (e) => o.listenerForm.listenerType = e)
|
|
264
263
|
}, {
|
|
265
|
-
default: O(() => [(E(!0), S(y, null, D(Object.keys(
|
|
264
|
+
default: O(() => [(E(!0), S(y, null, D(Object.keys(o.listenerTypeObject), (e) => (E(), b(M, {
|
|
266
265
|
key: e,
|
|
267
|
-
label:
|
|
266
|
+
label: o.listenerTypeObject[e],
|
|
268
267
|
value: e
|
|
269
268
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
270
269
|
_: 1
|
|
271
270
|
}, 8, ["modelValue"])]),
|
|
272
271
|
_: 1
|
|
273
272
|
}),
|
|
274
|
-
|
|
273
|
+
o.listenerForm.listenerType === "classListener" ? (E(), b(P, {
|
|
275
274
|
key: "listener-class",
|
|
276
275
|
label: "Java类",
|
|
277
276
|
prop: "class",
|
|
@@ -281,13 +280,13 @@ function B(e, d, p, m, h, g) {
|
|
|
281
280
|
}
|
|
282
281
|
}, {
|
|
283
282
|
default: O(() => [T(B, {
|
|
284
|
-
modelValue:
|
|
285
|
-
"onUpdate:modelValue":
|
|
283
|
+
modelValue: o.listenerForm.class,
|
|
284
|
+
"onUpdate:modelValue": r[6] || (r[6] = (e) => o.listenerForm.class = e),
|
|
286
285
|
clearable: ""
|
|
287
286
|
}, null, 8, ["modelValue"])]),
|
|
288
287
|
_: 1
|
|
289
288
|
})) : x("v-if", !0),
|
|
290
|
-
|
|
289
|
+
o.listenerForm.listenerType === "expressionListener" ? (E(), b(P, {
|
|
291
290
|
key: "listener-expression",
|
|
292
291
|
label: "表达式",
|
|
293
292
|
prop: "expression",
|
|
@@ -297,13 +296,13 @@ function B(e, d, p, m, h, g) {
|
|
|
297
296
|
}
|
|
298
297
|
}, {
|
|
299
298
|
default: O(() => [T(B, {
|
|
300
|
-
modelValue:
|
|
301
|
-
"onUpdate:modelValue":
|
|
299
|
+
modelValue: o.listenerForm.expression,
|
|
300
|
+
"onUpdate:modelValue": r[7] || (r[7] = (e) => o.listenerForm.expression = e),
|
|
302
301
|
clearable: ""
|
|
303
302
|
}, null, 8, ["modelValue"])]),
|
|
304
303
|
_: 1
|
|
305
304
|
})) : x("v-if", !0),
|
|
306
|
-
|
|
305
|
+
o.listenerForm.listenerType === "delegateExpressionListener" ? (E(), b(P, {
|
|
307
306
|
key: "listener-delegate",
|
|
308
307
|
label: "代理表达式",
|
|
309
308
|
prop: "delegateExpression",
|
|
@@ -313,8 +312,8 @@ function B(e, d, p, m, h, g) {
|
|
|
313
312
|
}
|
|
314
313
|
}, {
|
|
315
314
|
default: O(() => [T(N, {
|
|
316
|
-
modelValue:
|
|
317
|
-
"onUpdate:modelValue":
|
|
315
|
+
modelValue: o.listenerForm.delegateExpression,
|
|
316
|
+
"onUpdate:modelValue": r[8] || (r[8] = (e) => o.listenerForm.delegateExpression = e),
|
|
318
317
|
"default-first-option": "",
|
|
319
318
|
"allow-create": "",
|
|
320
319
|
filterable: "",
|
|
@@ -322,7 +321,7 @@ function B(e, d, p, m, h, g) {
|
|
|
322
321
|
}, {
|
|
323
322
|
default: O(() => {
|
|
324
323
|
var e;
|
|
325
|
-
return [(E(!0), S(y, null, D(((e =
|
|
324
|
+
return [(E(!0), S(y, null, D(((e = s.context) == null ? void 0 : e.delegateExpressions) || [], (e) => (E(), b(M, {
|
|
326
325
|
key: e,
|
|
327
326
|
value: e,
|
|
328
327
|
label: e
|
|
@@ -332,7 +331,7 @@ function B(e, d, p, m, h, g) {
|
|
|
332
331
|
}, 8, ["modelValue"])]),
|
|
333
332
|
_: 1
|
|
334
333
|
})) : x("v-if", !0),
|
|
335
|
-
|
|
334
|
+
o.listenerForm.listenerType === "scriptListener" ? (E(), S(y, { key: 3 }, [
|
|
336
335
|
T(P, {
|
|
337
336
|
key: "listener-script-format",
|
|
338
337
|
label: "脚本格式",
|
|
@@ -344,8 +343,8 @@ function B(e, d, p, m, h, g) {
|
|
|
344
343
|
}
|
|
345
344
|
}, {
|
|
346
345
|
default: O(() => [T(B, {
|
|
347
|
-
modelValue:
|
|
348
|
-
"onUpdate:modelValue":
|
|
346
|
+
modelValue: o.listenerForm.scriptFormat,
|
|
347
|
+
"onUpdate:modelValue": r[9] || (r[9] = (e) => o.listenerForm.scriptFormat = e),
|
|
349
348
|
clearable: ""
|
|
350
349
|
}, null, 8, ["modelValue"])]),
|
|
351
350
|
_: 1
|
|
@@ -361,8 +360,8 @@ function B(e, d, p, m, h, g) {
|
|
|
361
360
|
}
|
|
362
361
|
}, {
|
|
363
362
|
default: O(() => [T(N, {
|
|
364
|
-
modelValue:
|
|
365
|
-
"onUpdate:modelValue":
|
|
363
|
+
modelValue: o.listenerForm.scriptType,
|
|
364
|
+
"onUpdate:modelValue": r[10] || (r[10] = (e) => o.listenerForm.scriptType = e)
|
|
366
365
|
}, {
|
|
367
366
|
default: O(() => [T(M, {
|
|
368
367
|
label: "内联脚本",
|
|
@@ -375,7 +374,7 @@ function B(e, d, p, m, h, g) {
|
|
|
375
374
|
}, 8, ["modelValue"])]),
|
|
376
375
|
_: 1
|
|
377
376
|
}),
|
|
378
|
-
|
|
377
|
+
o.listenerForm.scriptType === "inlineScript" ? (E(), b(P, {
|
|
379
378
|
key: "listener-script",
|
|
380
379
|
label: "脚本内容",
|
|
381
380
|
prop: "value",
|
|
@@ -386,13 +385,13 @@ function B(e, d, p, m, h, g) {
|
|
|
386
385
|
}
|
|
387
386
|
}, {
|
|
388
387
|
default: O(() => [T(B, {
|
|
389
|
-
modelValue:
|
|
390
|
-
"onUpdate:modelValue":
|
|
388
|
+
modelValue: o.listenerForm.value,
|
|
389
|
+
"onUpdate:modelValue": r[11] || (r[11] = (e) => o.listenerForm.value = e),
|
|
391
390
|
clearable: ""
|
|
392
391
|
}, null, 8, ["modelValue"])]),
|
|
393
392
|
_: 1
|
|
394
393
|
})) : x("v-if", !0),
|
|
395
|
-
|
|
394
|
+
o.listenerForm.scriptType === "externalScript" ? (E(), b(P, {
|
|
396
395
|
key: "listener-resource",
|
|
397
396
|
label: "资源地址",
|
|
398
397
|
prop: "resource",
|
|
@@ -403,8 +402,8 @@ function B(e, d, p, m, h, g) {
|
|
|
403
402
|
}
|
|
404
403
|
}, {
|
|
405
404
|
default: O(() => [T(B, {
|
|
406
|
-
modelValue:
|
|
407
|
-
"onUpdate:modelValue":
|
|
405
|
+
modelValue: o.listenerForm.resource,
|
|
406
|
+
"onUpdate:modelValue": r[12] || (r[12] = (e) => o.listenerForm.resource = e),
|
|
408
407
|
clearable: ""
|
|
409
408
|
}, null, 8, ["modelValue"])]),
|
|
410
409
|
_: 1
|
|
@@ -414,63 +413,63 @@ function B(e, d, p, m, h, g) {
|
|
|
414
413
|
_: 1
|
|
415
414
|
}, 8, ["model"]),
|
|
416
415
|
T(A),
|
|
417
|
-
C("p", R, [
|
|
416
|
+
C("p", R, [r[34] || (r[34] = C("span", null, [C("i", { class: "el-icon-menu" }), w(" 注入字段: ")], -1)), T(m, {
|
|
418
417
|
type: "primary",
|
|
419
418
|
style: { "margin-left": "auto" },
|
|
420
|
-
onClick:
|
|
419
|
+
onClick: r[14] || (r[14] = (e) => s.openListenerFieldForm(null))
|
|
421
420
|
}, {
|
|
422
|
-
default: O(() => [...
|
|
421
|
+
default: O(() => [...r[33] || (r[33] = [w(" 添加字段 ", -1)])]),
|
|
423
422
|
_: 1
|
|
424
423
|
})]),
|
|
425
424
|
T(j, {
|
|
426
|
-
data:
|
|
425
|
+
data: o.fieldsListOfListener,
|
|
427
426
|
"max-height": "240",
|
|
428
427
|
border: "",
|
|
429
428
|
fit: "",
|
|
430
429
|
style: { flex: "none" }
|
|
431
430
|
}, {
|
|
432
431
|
default: O(() => [
|
|
433
|
-
T(
|
|
432
|
+
T(c, {
|
|
434
433
|
label: "序号",
|
|
435
434
|
width: "50px",
|
|
436
435
|
type: "index"
|
|
437
436
|
}),
|
|
438
|
-
T(
|
|
437
|
+
T(c, {
|
|
439
438
|
label: "字段名称",
|
|
440
439
|
"min-width": "100px",
|
|
441
440
|
prop: "name"
|
|
442
441
|
}),
|
|
443
|
-
T(
|
|
442
|
+
T(c, {
|
|
444
443
|
label: "字段类型",
|
|
445
444
|
"min-width": "80px",
|
|
446
445
|
"show-overflow-tooltip": "",
|
|
447
|
-
formatter: (e) =>
|
|
446
|
+
formatter: (e) => o.fieldTypeObject[e.fieldType]
|
|
448
447
|
}, null, 8, ["formatter"]),
|
|
449
|
-
T(
|
|
448
|
+
T(c, {
|
|
450
449
|
label: "字段值/表达式",
|
|
451
450
|
"min-width": "100px",
|
|
452
451
|
"show-overflow-tooltip": "",
|
|
453
452
|
formatter: (e) => e.string || e.expression
|
|
454
453
|
}, null, 8, ["formatter"]),
|
|
455
|
-
T(
|
|
454
|
+
T(c, {
|
|
456
455
|
label: "操作",
|
|
457
456
|
width: "100px"
|
|
458
457
|
}, {
|
|
459
458
|
default: O(({ row: e, $index: t }) => [
|
|
460
|
-
T(
|
|
459
|
+
T(m, {
|
|
461
460
|
text: "",
|
|
462
|
-
onClick: (n) =>
|
|
461
|
+
onClick: (n) => s.openListenerFieldForm(e, t)
|
|
463
462
|
}, {
|
|
464
|
-
default: O(() => [...
|
|
463
|
+
default: O(() => [...r[35] || (r[35] = [w("编辑", -1)])]),
|
|
465
464
|
_: 1
|
|
466
465
|
}, 8, ["onClick"]),
|
|
467
466
|
T(A, { direction: "vertical" }),
|
|
468
|
-
T(
|
|
467
|
+
T(m, {
|
|
469
468
|
text: "",
|
|
470
469
|
style: { color: "#ff4d4f" },
|
|
471
|
-
onClick: (n) =>
|
|
470
|
+
onClick: (n) => s.removeListenerField(e, t)
|
|
472
471
|
}, {
|
|
473
|
-
default: O(() => [...
|
|
472
|
+
default: O(() => [...r[36] || (r[36] = [w("移除", -1)])]),
|
|
474
473
|
_: 1
|
|
475
474
|
}, 8, ["onClick"])
|
|
476
475
|
]),
|
|
@@ -479,14 +478,14 @@ function B(e, d, p, m, h, g) {
|
|
|
479
478
|
]),
|
|
480
479
|
_: 1
|
|
481
480
|
}, 8, ["data"]),
|
|
482
|
-
C("div", z, [T(
|
|
483
|
-
default: O(() => [...
|
|
481
|
+
C("div", z, [T(m, { onClick: r[15] || (r[15] = (e) => o.listenerFormModelVisible = !1) }, {
|
|
482
|
+
default: O(() => [...r[37] || (r[37] = [w("取 消", -1)])]),
|
|
484
483
|
_: 1
|
|
485
|
-
}), T(
|
|
484
|
+
}), T(m, {
|
|
486
485
|
type: "primary",
|
|
487
|
-
onClick:
|
|
486
|
+
onClick: s.saveListenerConfig
|
|
488
487
|
}, {
|
|
489
|
-
default: O(() => [...
|
|
488
|
+
default: O(() => [...r[38] || (r[38] = [w("保 存", -1)])]),
|
|
490
489
|
_: 1
|
|
491
490
|
}, 8, ["onClick"])])
|
|
492
491
|
]),
|
|
@@ -494,30 +493,30 @@ function B(e, d, p, m, h, g) {
|
|
|
494
493
|
}, 8, ["modelValue", "size"]),
|
|
495
494
|
x(" 注入字段 编辑/创建 部分 "),
|
|
496
495
|
T(U, {
|
|
497
|
-
modelValue:
|
|
498
|
-
"onUpdate:modelValue":
|
|
496
|
+
modelValue: o.listenerFieldFormModelVisible,
|
|
497
|
+
"onUpdate:modelValue": r[25] || (r[25] = (e) => o.listenerFieldFormModelVisible = e),
|
|
499
498
|
title: "字段配置",
|
|
500
499
|
class: "flow-dialog",
|
|
501
500
|
width: "600px",
|
|
502
501
|
"append-to-body": "",
|
|
503
502
|
"destroy-on-close": ""
|
|
504
503
|
}, {
|
|
505
|
-
footer: O(() => [T(
|
|
506
|
-
default: O(() => [...
|
|
504
|
+
footer: O(() => [T(m, { onClick: r[24] || (r[24] = (e) => o.listenerFieldFormModelVisible = !1) }, {
|
|
505
|
+
default: O(() => [...r[39] || (r[39] = [w("取 消", -1)])]),
|
|
507
506
|
_: 1
|
|
508
|
-
}), T(
|
|
507
|
+
}), T(m, {
|
|
509
508
|
type: "primary",
|
|
510
|
-
onClick:
|
|
509
|
+
onClick: s.saveListenerFiled
|
|
511
510
|
}, {
|
|
512
|
-
default: O(() => [...
|
|
511
|
+
default: O(() => [...r[40] || (r[40] = [w("确 定", -1)])]),
|
|
513
512
|
_: 1
|
|
514
513
|
}, 8, ["onClick"])]),
|
|
515
514
|
default: O(() => [T(V, {
|
|
516
515
|
ref: "listenerFieldFormRef",
|
|
517
|
-
model:
|
|
516
|
+
model: o.listenerFieldForm,
|
|
518
517
|
"label-width": "96px",
|
|
519
518
|
style: { height: "136px" },
|
|
520
|
-
onSubmit:
|
|
519
|
+
onSubmit: r[23] || (r[23] = k(() => {}, ["prevent"]))
|
|
521
520
|
}, {
|
|
522
521
|
default: O(() => [
|
|
523
522
|
T(P, {
|
|
@@ -529,8 +528,8 @@ function B(e, d, p, m, h, g) {
|
|
|
529
528
|
}
|
|
530
529
|
}, {
|
|
531
530
|
default: O(() => [T(N, {
|
|
532
|
-
modelValue:
|
|
533
|
-
"onUpdate:modelValue": [
|
|
531
|
+
modelValue: o.listenerFieldForm.name,
|
|
532
|
+
"onUpdate:modelValue": [r[17] || (r[17] = (e) => o.listenerFieldForm.name = e), s.setDefaultFieldValue],
|
|
534
533
|
"default-first-option": "",
|
|
535
534
|
"allow-create": "",
|
|
536
535
|
filterable: "",
|
|
@@ -538,7 +537,7 @@ function B(e, d, p, m, h, g) {
|
|
|
538
537
|
}, {
|
|
539
538
|
default: O(() => {
|
|
540
539
|
var e;
|
|
541
|
-
return [(E(!0), S(y, null, D(((e =
|
|
540
|
+
return [(E(!0), S(y, null, D(((e = s.context) == null ? void 0 : e.fields) || [], (e) => (E(), b(M, {
|
|
542
541
|
key: e,
|
|
543
542
|
value: e,
|
|
544
543
|
label: e
|
|
@@ -557,19 +556,19 @@ function B(e, d, p, m, h, g) {
|
|
|
557
556
|
}
|
|
558
557
|
}, {
|
|
559
558
|
default: O(() => [T(N, {
|
|
560
|
-
modelValue:
|
|
561
|
-
"onUpdate:modelValue": [
|
|
559
|
+
modelValue: o.listenerFieldForm.fieldType,
|
|
560
|
+
"onUpdate:modelValue": [r[18] || (r[18] = (e) => o.listenerFieldForm.fieldType = e), s.changeFiledType]
|
|
562
561
|
}, {
|
|
563
|
-
default: O(() => [(E(!0), S(y, null, D(Object.keys(
|
|
562
|
+
default: O(() => [(E(!0), S(y, null, D(Object.keys(o.fieldTypeObject), (e) => (E(), b(M, {
|
|
564
563
|
key: e,
|
|
565
|
-
label:
|
|
564
|
+
label: o.fieldTypeObject[e],
|
|
566
565
|
value: e
|
|
567
566
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
568
567
|
_: 1
|
|
569
568
|
}, 8, ["modelValue", "onUpdate:modelValue"])]),
|
|
570
569
|
_: 1
|
|
571
570
|
}),
|
|
572
|
-
|
|
571
|
+
o.listenerFieldForm.fieldType === "string" ? (E(), b(P, {
|
|
573
572
|
key: "field-string",
|
|
574
573
|
class: "element-listeners-field-name",
|
|
575
574
|
label: "字段值:",
|
|
@@ -579,25 +578,25 @@ function B(e, d, p, m, h, g) {
|
|
|
579
578
|
trigger: ["blur", "change"]
|
|
580
579
|
}
|
|
581
580
|
}, {
|
|
582
|
-
default: O(() => [
|
|
581
|
+
default: O(() => [o.listenerFieldForm.name === "url" ? (E(), b(N, {
|
|
583
582
|
key: 0,
|
|
584
|
-
modelValue:
|
|
585
|
-
"onUpdate:modelValue":
|
|
583
|
+
modelValue: o.listenerFieldForm.string,
|
|
584
|
+
"onUpdate:modelValue": r[19] || (r[19] = (e) => o.listenerFieldForm.string = e),
|
|
586
585
|
"default-first-option": "",
|
|
587
586
|
"allow-create": "",
|
|
588
587
|
filterable: "",
|
|
589
588
|
clearable: ""
|
|
590
589
|
}, {
|
|
591
|
-
default: O(() => [(E(!0), S(y, null, D(
|
|
590
|
+
default: O(() => [(E(!0), S(y, null, D(s.apis, (e) => (E(), b(M, {
|
|
592
591
|
key: e,
|
|
593
592
|
value: e,
|
|
594
593
|
label: e
|
|
595
594
|
}, null, 8, ["value", "label"]))), 128))]),
|
|
596
595
|
_: 1
|
|
597
|
-
}, 8, ["modelValue"])) :
|
|
596
|
+
}, 8, ["modelValue"])) : o.listenerFieldForm.name === "serviceId" ? (E(), b(N, {
|
|
598
597
|
key: 1,
|
|
599
|
-
modelValue:
|
|
600
|
-
"onUpdate:modelValue":
|
|
598
|
+
modelValue: o.listenerFieldForm.string,
|
|
599
|
+
"onUpdate:modelValue": r[20] || (r[20] = (e) => o.listenerFieldForm.string = e),
|
|
601
600
|
"default-first-option": "",
|
|
602
601
|
"allow-create": "",
|
|
603
602
|
filterable: "",
|
|
@@ -605,7 +604,7 @@ function B(e, d, p, m, h, g) {
|
|
|
605
604
|
}, {
|
|
606
605
|
default: O(() => {
|
|
607
606
|
var e;
|
|
608
|
-
return [(E(!0), S(y, null, D(((e =
|
|
607
|
+
return [(E(!0), S(y, null, D(((e = s.context) == null ? void 0 : e.services) || [], (e) => (E(), b(M, {
|
|
609
608
|
key: e,
|
|
610
609
|
value: e,
|
|
611
610
|
label: e
|
|
@@ -614,13 +613,13 @@ function B(e, d, p, m, h, g) {
|
|
|
614
613
|
_: 1
|
|
615
614
|
}, 8, ["modelValue"])) : (E(), b(B, {
|
|
616
615
|
key: 2,
|
|
617
|
-
modelValue:
|
|
618
|
-
"onUpdate:modelValue":
|
|
616
|
+
modelValue: o.listenerFieldForm.string,
|
|
617
|
+
"onUpdate:modelValue": r[21] || (r[21] = (e) => o.listenerFieldForm.string = e),
|
|
619
618
|
clearable: ""
|
|
620
619
|
}, null, 8, ["modelValue"]))]),
|
|
621
620
|
_: 1
|
|
622
621
|
})) : x("v-if", !0),
|
|
623
|
-
|
|
622
|
+
o.listenerFieldForm.fieldType === "expression" ? (E(), b(P, {
|
|
624
623
|
key: "field-expression",
|
|
625
624
|
label: "表达式:",
|
|
626
625
|
prop: "expression",
|
|
@@ -630,8 +629,8 @@ function B(e, d, p, m, h, g) {
|
|
|
630
629
|
}
|
|
631
630
|
}, {
|
|
632
631
|
default: O(() => [T(B, {
|
|
633
|
-
modelValue:
|
|
634
|
-
"onUpdate:modelValue":
|
|
632
|
+
modelValue: o.listenerFieldForm.expression,
|
|
633
|
+
"onUpdate:modelValue": r[22] || (r[22] = (e) => o.listenerFieldForm.expression = e),
|
|
635
634
|
clearable: ""
|
|
636
635
|
}, null, 8, ["modelValue"])]),
|
|
637
636
|
_: 1
|
|
@@ -643,6 +642,6 @@ function B(e, d, p, m, h, g) {
|
|
|
643
642
|
}, 8, ["modelValue"])
|
|
644
643
|
]);
|
|
645
644
|
}
|
|
646
|
-
var V = /* @__PURE__ */
|
|
645
|
+
var V = /* @__PURE__ */ e(P, [["render", B]]);
|
|
647
646
|
//#endregion
|
|
648
647
|
export { V as default };
|