@web-utils/form-ui 1.0.0-beta6 → 1.0.0-beta60
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.d.ts +52 -0
- package/address-input/index.js +2 -0
- package/address-input/style.css +1 -0
- package/affix/index.d.ts +32 -0
- package/affix/index.js +49 -0
- package/affix/style.css +1 -0
- package/api/index.d.ts +66 -0
- package/api/index.js +42 -0
- package/awesome-button/index.d.ts +60 -0
- package/awesome-button/index.js +49 -0
- package/base.css +1 -1
- package/capsule-tab/index.d.ts +22 -0
- package/capsule-tab/index.js +27 -0
- package/capsule-tab/style.css +1 -0
- package/card/index.d.ts +41 -0
- package/card/index.js +89 -0
- package/card/style.css +1 -0
- package/chunks/-DBJHzo8.js +195 -0
- package/chunks/2LWvhQd0.js +5 -0
- package/chunks/2rqr8Tbh.js +266 -0
- package/chunks/6yr_i3FT2.js +439 -0
- package/chunks/8_hjhnjH2.js +225 -0
- package/chunks/B-Uo-WTY2.js +5289 -0
- package/chunks/B-VO-y0h.js +69 -0
- package/chunks/B1EPd8qV.js +20 -0
- package/chunks/B2D06vEG.js +379 -0
- package/chunks/B7FF1FxW2.js +1800 -0
- package/chunks/B7IZdKDn.js +275 -0
- package/chunks/BCLWjhEJ.js +18 -0
- package/chunks/BGCX5eZn.js +590 -0
- package/chunks/BIEgauMd.js +1275 -0
- package/chunks/BJQI5s6-.js +449 -0
- package/chunks/BLiwTT_i2.js +4 -0
- package/chunks/BMuH4fKH.js +208 -0
- package/chunks/BPT6FWFK2.js +621 -0
- package/chunks/BTBp2urE.js +4 -0
- package/chunks/BVAen7xV2.js +233 -0
- package/chunks/BVQMbnV7.js +54 -0
- package/chunks/BWTWKgRC2.js +108 -0
- package/chunks/BamrxTuc2.js +514 -0
- package/chunks/BbrkKcOy.js +214 -0
- package/chunks/BdEgzMLy.js +34 -0
- package/chunks/Be3-Nwsb.js +68 -0
- package/chunks/Beh1v279.js +132 -0
- package/chunks/BgzF6a9b.js +577 -0
- package/chunks/BjACtWY92.js +26 -0
- package/chunks/BjUVecZ_.js +1094 -0
- package/chunks/BjwA4s46.js +17 -0
- package/chunks/Bkt5jwQ4.js +479 -0
- package/chunks/Bmzc6Sbs2.js +60 -0
- package/chunks/BoMy4B-G.js +230 -0
- package/chunks/BoOLX_Ey2.js +1038 -0
- package/chunks/Boq1bhQA.js +17 -0
- package/chunks/BpYC6Tu9.js +222 -0
- package/chunks/BqmuTTT4.js +63 -0
- package/chunks/BrgApSXu2.js +6 -0
- package/chunks/Bs7_SRve.js +57 -0
- package/chunks/BsfOPm1B2.js +106 -0
- package/chunks/BtPj4Jsp2.js +42 -0
- package/chunks/BtonI3XP.js +461 -0
- package/chunks/Bu-59cNv2.js +41 -0
- package/chunks/BvtVUXOb2.js +273 -0
- package/chunks/BwqV8Rv9.js +609 -0
- package/chunks/BxpuH2XL2.js +346 -0
- package/chunks/BykQpC2D.js +42 -0
- package/chunks/C-P8DAWg.js +26 -0
- package/chunks/C-i5OhEv.js +12 -0
- package/chunks/C0IscOmB.js +15 -0
- package/chunks/C5lEU74h2.js +46 -0
- package/chunks/C6-wRuOv.js +5 -0
- package/chunks/CDEhu4Hw2.js +58 -0
- package/chunks/CIoHpVna.js +25 -0
- package/chunks/CKF4NcjP2.js +161 -0
- package/chunks/COm5LruT.js +641 -0
- package/chunks/CP45VB0l2.js +4 -0
- package/chunks/CPlMW0nU.js +41 -0
- package/chunks/CQNKF-Y5.js +279 -0
- package/chunks/CZ8fWKCR.js +196 -0
- package/chunks/CZgfv08Q2.js +88 -0
- package/chunks/C_WXMlg42.js +1354 -0
- package/chunks/ChC6aRuE2.js +26 -0
- package/chunks/CkkEsDyG.js +17 -0
- package/chunks/Cll5nIzw.js +465 -0
- package/chunks/CmQBhb4F.js +14 -0
- package/chunks/CuVxnUGN.js +13 -0
- package/chunks/CxYWt6f52.js +8 -0
- package/chunks/CzjXqsNz2.js +1093 -0
- package/chunks/D1bdDHti.js +3091 -0
- package/chunks/D4vS0dLK2.js +110 -0
- package/chunks/D63r1Mj-2.js +27 -0
- package/chunks/D73tXuJP.js +98 -0
- package/chunks/DANCDark2.js +299 -0
- package/chunks/DCHGC-wv.js +644 -0
- package/chunks/DDpTDpl_.js +64 -0
- package/chunks/DEBzRzs62.js +2430 -0
- package/chunks/DF3tDDui2.js +24 -0
- package/chunks/DGDjsgmi2.js +67 -0
- package/chunks/DGDoWF7A2.js +243 -0
- package/chunks/DGOYYEkS2.js +33 -0
- package/chunks/DGSETzHz2.js +36 -0
- package/chunks/DIu4j2rA2.js +30 -0
- package/chunks/DJnkQG-Q.js +105 -0
- package/chunks/DKCe2nDe.js +47 -0
- package/chunks/DPLXkmFh.js +217 -0
- package/chunks/DQdBwuTr.js +17 -0
- package/chunks/DUbcVQBq.js +250 -0
- package/chunks/D_gajPwn2.js +60 -0
- package/chunks/D_j9foN9.js +17 -0
- package/chunks/DaBPfr252.js +96 -0
- package/chunks/Db0J1lN72.js +383 -0
- package/chunks/DcDUyJSx2.js +49 -0
- package/chunks/DdDO4YD2.js +281 -0
- package/chunks/DdW8XqoW.js +21 -0
- package/chunks/DfdoBqSD.js +6 -0
- package/chunks/DgbDv9To.js +454 -0
- package/chunks/DiB3ANPI2.js +525 -0
- package/chunks/DkBjJMFf2.js +34 -0
- package/chunks/DkkdixR-.js +732 -0
- package/chunks/Dn11MvZp.js +60 -0
- package/chunks/Do-8eHRr2.js +936 -0
- package/chunks/DoCrd-hR.js +52 -0
- package/chunks/DqI4lZin.js +37 -0
- package/chunks/DqgSQ3KG2.js +418 -0
- package/chunks/DqttRbt0.js +8 -0
- package/chunks/DuuoytDu.js +25 -0
- package/chunks/Dw_RxmrB2.js +26 -0
- package/chunks/DxrV8nwF2.js +28 -0
- package/chunks/Dyeav-c7.js +446 -0
- package/chunks/DyqdbtLs.js +295 -0
- package/chunks/IfmR2wc6.js +207 -0
- package/chunks/J-HPb14D.js +35 -0
- package/chunks/RAYFV7z_2.js +105 -0
- package/chunks/SCjrrbwI.js +194 -0
- package/chunks/TU6zhStX.js +40 -0
- package/chunks/TziUPXJy.js +46 -0
- package/chunks/VufM4po6.js +98 -0
- package/chunks/Xdb_3Me6.js +48 -0
- package/chunks/YLwDmpE6.js +197 -0
- package/chunks/ZdU9-d3W2.js +94 -0
- package/chunks/_6lMlbOl2.js +87 -0
- package/chunks/_DT9bjOz.js +182 -0
- package/chunks/_MqUwxIX2.js +145 -0
- package/chunks/a1C-V5Od.js +89 -0
- package/chunks/byLw7vSU.js +188 -0
- package/chunks/f2NKal5o.js +66 -0
- package/chunks/fICCbPEl.js +406 -0
- package/chunks/gFFZEYaV.js +1919 -0
- package/chunks/itbzUWg4.js +4 -0
- package/chunks/kPKqEDo-.js +588 -0
- package/chunks/o8iIIG7B.js +1328 -0
- package/chunks/xfxHgkQu2.js +31 -0
- package/code-mirror-editor/index.d.ts +50 -0
- package/code-mirror-editor/index.js +99 -0
- package/code-mirror-editor/style.css +1 -0
- package/confirm-button/index.d.ts +122 -0
- package/confirm-button/index.js +35 -0
- package/confirmable/index.d.ts +93 -0
- package/confirmable/index.js +8 -0
- package/constants/index.d.ts +73 -0
- package/constants/index.js +4 -0
- package/context-menu/index.d.ts +183 -0
- package/context-menu/index.js +196 -0
- package/context-menu/style.css +1 -0
- package/count-up/index.d.ts +70 -0
- package/count-up/index.js +94 -0
- package/custom-scrollbar/index.d.ts +49 -0
- package/custom-scrollbar/index.js +93 -0
- package/data-box/index.d.ts +19 -0
- package/data-box/index.js +68 -0
- package/data-box/style.css +1 -0
- package/data-card/index.d.ts +20 -0
- package/data-card/index.js +63 -0
- package/data-card/style.css +1 -0
- package/data-card-text/index.d.ts +21 -0
- package/data-card-text/index.js +67 -0
- package/data-card-text/style.css +1 -0
- package/data-display/index.d.ts +20 -0
- package/data-display/index.js +73 -0
- package/data-display/style.css +1 -0
- package/data-icons/index.d.ts +21 -0
- package/data-icons/index.js +74 -0
- package/data-icons/style.css +1 -0
- package/data-imgtext/index.d.ts +18 -0
- package/data-imgtext/index.js +71 -0
- package/data-imgtext/style.css +1 -0
- package/data-operatext/index.d.ts +17 -0
- package/data-operatext/index.js +54 -0
- package/data-operatext/style.css +1 -0
- package/data-panel/index.d.ts +19 -0
- package/data-panel/index.js +61 -0
- package/data-panel/style.css +1 -0
- package/data-pay/index.d.ts +19 -0
- package/data-pay/index.js +110 -0
- package/data-pay/style.css +1 -0
- package/data-price/index.d.ts +17 -0
- package/data-price/index.js +51 -0
- package/data-price/style.css +1 -0
- package/data-progress/index.d.ts +19 -0
- package/data-progress/index.js +72 -0
- package/data-progress/style.css +1 -0
- package/data-rotate/index.d.ts +19 -0
- package/data-rotate/index.js +65 -0
- package/data-rotate/style.css +1 -0
- package/data-table-picker/index.d.ts +61 -0
- package/data-table-picker/index.js +118 -0
- package/data-tabs/index.d.ts +19 -0
- package/data-tabs/index.js +71 -0
- package/data-tabs/style.css +1 -0
- package/dict-render/index.d.ts +28 -0
- package/dict-render/index.js +2 -0
- package/e-charts/index.d.ts +79 -0
- package/e-charts/index.js +179 -0
- package/e-charts/style.css +1 -0
- package/easy-popup/index.d.ts +114 -0
- package/easy-popup/index.js +92 -0
- package/easy-popup/style.css +1 -0
- package/editable-progress/index.d.ts +68 -0
- package/editable-progress/index.js +120 -0
- package/editable-progress/style.css +1 -0
- package/editable-tree/index.d.ts +281 -0
- package/editable-tree/index.js +2 -0
- package/editable-tree/style.css +1 -0
- package/element-dialog/index.d.ts +341 -18
- package/element-dialog/index.js +2 -0
- package/element-dialog/style.css +1 -1
- package/element-listeners/style.css +1 -0
- package/element-multi-instance/style.css +1 -0
- package/element-resize-observer/index.d.ts +8 -0
- package/element-resize-observer/index.js +40 -0
- package/element-resize-observer/style.css +1 -0
- package/empty-view/index.d.ts +2 -2
- package/empty-view/{index.mjs → index.js} +1 -1
- package/error-view/index.d.ts +25 -0
- package/error-view/index.js +37 -0
- package/error-view/style.css +1 -0
- package/flex-box/index.d.ts +44 -0
- package/flex-box/index.js +2 -0
- package/flex-column/index.d.ts +41 -0
- package/flex-column/index.js +2 -0
- package/flex-item/index.d.ts +77 -0
- package/flex-item/index.js +2 -0
- package/flex-row/index.d.ts +41 -0
- package/flex-row/index.js +2 -0
- package/flex-scroll-area/index.d.ts +1 -1
- package/flex-scroll-area/{index.mjs → index.js} +1 -1
- package/flex-scroller/index.d.ts +26 -0
- package/flex-scroller/index.js +29 -0
- package/flex-scroller/style.css +1 -0
- package/flow-designer/index.d.ts +353 -0
- package/flow-designer/index.js +2 -0
- package/flow-designer/style.css +1 -0
- package/flow-viewer/index.d.ts +62 -0
- package/flow-viewer/index.js +159 -0
- package/flow-viewer/style.css +1 -0
- package/form-advice/index.js +29 -0
- package/form-button/index.d.ts +123 -0
- package/form-button/index.js +36 -0
- package/form-card/index.d.ts +14 -0
- package/form-card/index.js +18 -0
- package/form-cascader/index.d.ts +478 -0
- package/form-cascader/index.js +2 -0
- package/form-checkbox/index.d.ts +253 -20
- package/form-checkbox/index.js +2 -0
- package/form-checkbox-group/index.d.ts +373 -0
- package/form-checkbox-group/index.js +2 -0
- package/form-checkbox-group/style.css +1 -0
- package/form-date-picker/index.d.ts +404 -21
- package/form-date-picker/index.js +2 -0
- package/form-holder/index.d.ts +89 -22
- package/form-holder/index.js +2 -0
- package/form-holder/style.css +1 -1
- package/form-image/index.d.ts +153 -15
- package/form-image/index.js +2 -0
- package/form-input/index.d.ts +309 -22
- package/form-input/index.js +2 -0
- package/form-input/style.css +1 -0
- package/form-input-cron-expression/index.d.ts +223 -0
- package/form-input-cron-expression/index.js +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.d.ts +315 -18
- package/form-input-email/index.js +2 -0
- package/form-input-id-card/index.d.ts +315 -18
- package/form-input-id-card/index.js +2 -0
- package/form-input-number/index.d.ts +254 -20
- package/form-input-number/index.js +2 -0
- package/form-input-phone-number/index.d.ts +315 -18
- package/form-input-phone-number/index.js +2 -0
- package/form-input-tag/index.d.ts +269 -1
- package/form-input-tag/index.js +2 -0
- package/form-input-time/index.d.ts +440 -1
- package/form-input-time/index.js +2 -0
- package/form-item-config-provider/index.d.ts +40 -0
- package/form-item-config-provider/index.js +24 -0
- package/form-item-group/index.d.ts +91 -17
- package/form-item-group/index.js +2 -0
- package/form-item-group/style.css +1 -1
- package/form-item-x/index.d.ts +149 -13
- package/form-item-x/index.js +2 -0
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.d.ts +313 -20
- package/form-radio-group/index.js +2 -0
- package/form-rate/index.d.ts +262 -16
- package/form-rate/index.js +2 -0
- package/form-red-table/index.js +65 -0
- package/form-row/index.d.ts +2 -2
- package/form-row/index.js +2 -0
- package/form-select/index.d.ts +545 -20
- package/form-select/index.js +2 -0
- package/form-slider/index.d.ts +291 -18
- package/form-slider/index.js +2 -0
- package/form-switch/index.d.ts +282 -18
- package/form-switch/index.js +2 -0
- package/form-table/index.d.ts +287 -0
- package/form-table/index.js +2 -0
- package/form-table-plus/index.d.ts +266 -0
- package/form-table-plus/index.js +2 -0
- package/form-text/index.d.ts +173 -15
- package/form-text/index.js +2 -0
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.js +2 -0
- package/form-time-select/index.d.ts +325 -0
- package/form-time-select/index.js +2 -0
- package/form-tree-select/index.d.ts +715 -0
- package/form-tree-select/index.js +2 -0
- package/form-tree-select/style.css +1 -0
- package/form-tree-select-multiple/index.d.ts +717 -0
- package/form-tree-select-multiple/index.js +2 -0
- package/form-view/index.d.ts +225 -1
- package/form-view/index.js +283 -0
- package/form-view/style.css +1 -0
- package/guide-steps/index.d.ts +31 -0
- package/guide-steps/index.js +2 -0
- package/guide-steps/style.css +1 -0
- package/helper/dictionary.d.ts +29 -0
- package/helper/dictionary.js +97 -0
- package/helper/form-item.d.ts +17 -0
- package/helper/form-item.js +27 -0
- package/helper/input.d.ts +47 -0
- package/helper/input.js +2 -0
- package/helper/sub-table-plus.d.ts +98 -0
- package/helper/sub-table-plus.js +4 -0
- package/highlight-j-s/index.d.ts +18 -0
- package/highlight-j-s/index.js +51 -0
- package/highlight-j-s/style.css +1 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.js +15 -0
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.js +14 -0
- package/iframe-window/index.d.ts +9 -0
- package/iframe-window/index.js +37 -0
- package/iframe-window/style.css +1 -0
- package/image-cropper/index.d.ts +365 -0
- package/image-cropper/index.js +155 -0
- package/image-cropper/style.css +1 -0
- package/image-preview/index.d.ts +213 -0
- package/image-preview/index.js +2 -0
- package/image-preview/style.css +1 -0
- package/image-viewer/index.d.ts +25 -0
- package/image-viewer/index.js +70 -0
- package/image-viewer/style.css +1 -0
- package/index.css +2 -0
- package/index.d.ts +121 -36
- package/index.js +125 -0
- package/input-number-range/index.d.ts +41 -0
- package/input-number-range/index.js +76 -0
- package/input-number-range/style.css +1 -0
- package/keyboard/index.d.ts +64 -0
- package/keyboard/index.js +2 -0
- package/keyboard/style.css +1 -0
- package/loading-view/index.d.ts +65 -0
- package/loading-view/index.js +39 -0
- package/loading-view/style.css +1 -0
- package/name-avatar/index.d.ts +62 -0
- package/name-avatar/index.js +61 -0
- package/name-avatar/style.css +1 -0
- package/nav-bar/index.d.ts +21 -0
- package/nav-bar/index.js +36 -0
- package/nav-bar/style.css +1 -0
- package/package.json +25 -5
- package/page/index.d.ts +21 -0
- package/page/index.js +17 -0
- package/page/style.css +1 -0
- package/page-header/index.d.ts +27 -0
- package/page-header/index.js +25 -0
- package/page-header/style.css +1 -0
- package/page-index/index.d.ts +82 -0
- package/page-index/index.js +123 -0
- package/page-index/style.css +1 -0
- package/page-index-top/index.d.ts +38 -0
- package/page-index-top/index.js +85 -0
- package/page-skeleton/index.d.ts +30 -0
- package/page-skeleton/index.js +44 -0
- package/page-skeleton/style.css +1 -0
- package/page-skeleton-new/index.d.ts +34 -0
- package/page-skeleton-new/index.js +80 -0
- package/page-skeleton-new/style.css +1 -0
- package/pageable-table/index.d.ts +400 -0
- package/pageable-table/index.js +2 -0
- package/pageable-table/style.css +1 -0
- package/photo-swipe/index.d.ts +18 -0
- package/photo-swipe/index.js +2 -0
- package/props/cascader.d.ts +326 -0
- package/props/cascader.js +145 -0
- package/props/checkbox-group.d.ts +213 -0
- package/props/checkbox-group.js +83 -0
- package/props/checkbox.d.ts +205 -0
- package/props/checkbox.js +74 -0
- package/props/col.d.ts +74 -0
- package/props/col.js +32 -0
- package/props/common.d.ts +114 -0
- package/props/common.js +18 -0
- package/props/date.d.ts +339 -0
- package/props/date.js +145 -0
- package/props/form-item.d.ts +144 -0
- package/props/form-item.js +73 -0
- package/props/form.d.ts +157 -0
- package/props/form.js +89 -0
- package/props/image.d.ts +102 -0
- package/props/image.js +10 -0
- package/props/input-cron.d.ts +102 -0
- package/props/input-cron.js +16 -0
- package/props/input-number.d.ts +216 -0
- package/props/input-number.js +72 -0
- package/props/input-tag.d.ts +123 -0
- package/props/input-tag.js +33 -0
- package/props/input.d.ts +299 -0
- package/props/input.js +97 -0
- package/props/radio-group.d.ts +205 -0
- package/props/radio-group.js +84 -0
- package/props/rate.d.ts +211 -0
- package/props/rate.js +66 -0
- package/props/select.d.ts +450 -0
- package/props/select.js +218 -0
- package/props/slide.d.ts +235 -0
- package/props/slide.js +72 -0
- package/props/switch.d.ts +229 -0
- package/props/switch.js +80 -0
- package/props/text.d.ts +127 -0
- package/props/text.js +22 -0
- package/props/textarea.d.ts +266 -0
- package/props/textarea.js +82 -0
- package/props/time-select.d.ts +216 -0
- package/props/time-select.js +67 -0
- package/props/time.d.ts +304 -0
- package/props/time.js +138 -0
- package/props/tree-select-multiple.d.ts +324 -0
- package/props/tree-select-multiple.js +16 -0
- package/props/tree-select.d.ts +326 -0
- package/props/tree-select.js +25 -0
- package/props/tree.d.ts +76 -0
- package/props/tree.js +75 -0
- package/props/vue-tree-select.d.ts +458 -0
- package/props/vue-tree-select.js +213 -0
- package/resolver/index.js +29 -0
- package/sign-panel/index.d.ts +85 -0
- package/sign-panel/index.js +183 -0
- package/sign-panel/style.css +1 -0
- package/skeleton-panel/index.d.ts +27 -0
- package/skeleton-panel/index.js +37 -0
- package/skeleton-panel/style.css +1 -0
- package/split-pane/index.d.ts +106 -0
- package/split-pane/index.js +2 -0
- package/split-pane/style.css +1 -0
- package/stateful/index.d.ts +92 -0
- package/stateful/index.js +67 -0
- package/stateful/style.css +1 -0
- package/sub-table/index.d.ts +109 -0
- package/sub-table/index.js +2 -0
- package/sub-table/style.css +1 -0
- package/sub-table-plus/index.d.ts +109 -0
- package/sub-table-plus/index.js +2 -0
- package/sub-table-plus/style.css +1 -0
- package/swiper/index.d.ts +27 -0
- package/swiper/index.js +126 -0
- package/swiper/style.css +1 -0
- package/table-column/index.d.ts +163 -0
- package/table-column/index.js +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.d.ts +97 -0
- package/table-column-def/index.js +11 -0
- package/table-view/index.d.ts +345 -1
- package/table-view/index.js +471 -0
- package/table-view/style.css +1 -0
- package/tag-render/index.d.ts +48 -0
- package/tag-render/index.js +86 -0
- package/tag-render/style.css +1 -0
- package/text-ellipsis/index.d.ts +111 -0
- package/text-ellipsis/index.js +124 -0
- package/text-ellipsis/style.css +1 -0
- package/toolbar/index.d.ts +128 -1
- package/toolbar/index.js +2 -0
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.d.ts +188 -1
- package/toolbar-button/index.js +2 -0
- package/toolbar-button/style.css +1 -0
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.js +2 -0
- package/vue-cron/style.css +1 -0
- package/vue-qr-code/index.d.ts +47 -0
- package/vue-qr-code/index.js +32 -0
- package/vue-tags-input/index.d.ts +373 -0
- package/vue-tags-input/index.js +350 -0
- package/vue-tags-input/style.css +1 -0
- package/vue-tree-select/index.d.ts +1489 -0
- package/vue-tree-select/index.js +2 -0
- package/vue-tree-select/style.css +1 -0
- package/vue-video-player/index.d.ts +117 -0
- package/vue-video-player/index.js +136 -0
- package/vue-video-player/style.css +1 -0
- package/watermark/index.d.ts +97 -0
- package/watermark/index.js +2 -0
- package/watermark/style.css +1 -0
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/x-input-tag/index.js +232 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.js +2 -0
- package/year-calendar/style.css +1 -0
- package/chunks/B4M_TFeR.mjs +0 -152
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BHNKrW1j.mjs +0 -61
- package/chunks/BO9jWhBl.mjs +0 -46
- package/chunks/BZ8aOa78.mjs +0 -35
- package/chunks/Bsz7y4Xp.mjs +0 -73
- package/chunks/Bxj372sF.mjs +0 -53
- package/chunks/C33EmJN8.mjs +0 -32
- package/chunks/C6Li3-l7.mjs +0 -28
- package/chunks/CBcdalMX.mjs +0 -35
- package/chunks/CdRsyF0n.mjs +0 -43
- package/chunks/ClNahmiU.mjs +0 -23
- package/chunks/CstztYMu.mjs +0 -28
- package/chunks/DC9b53M6.mjs +0 -32
- package/chunks/DDVAgRED.mjs +0 -36
- package/chunks/DpJQABVD.mjs +0 -91
- package/chunks/ZsLNWI9x.mjs +0 -46
- package/chunks/jn_iQrVZ.mjs +0 -28
- package/constants.d.ts +0 -1
- package/constants.mjs +0 -4
- package/element-dialog/index.mjs +0 -91
- package/form-advice/index.mjs +0 -28
- package/form-check-box-group/index.d.ts +0 -93
- package/form-check-box-group/index.mjs +0 -2
- package/form-checkbox/index.mjs +0 -2
- package/form-date-picker/index.mjs +0 -2
- package/form-holder/index.mjs +0 -2
- package/form-image/index.mjs +0 -2
- package/form-input/index.mjs +0 -2
- package/form-input-email/index.mjs +0 -2
- package/form-input-id-card/index.mjs +0 -2
- package/form-input-number/index.mjs +0 -2
- package/form-input-phone-number/index.mjs +0 -2
- package/form-input-tag/index.mjs +0 -4
- package/form-input-time/index.mjs +0 -4
- package/form-item-group/index.mjs +0 -78
- package/form-item-x/index.mjs +0 -2
- package/form-radio-group/index.mjs +0 -2
- package/form-rate/index.mjs +0 -2
- package/form-red-table/index.mjs +0 -64
- package/form-row/index.mjs +0 -2
- package/form-select/index.mjs +0 -2
- package/form-slider/index.mjs +0 -2
- package/form-switch/index.mjs +0 -2
- package/form-text/index.mjs +0 -2
- package/form-view/index.mjs +0 -9
- package/index.mjs +0 -63
- package/input/style.css +0 -1
- package/resolver.mjs +0 -79
- package/table-view/index.mjs +0 -9
- package/toolbar/index.mjs +0 -9
- package/toolbar-button/index.mjs +0 -9
- /package/form-cell/{index.mjs → index.js} +0 -0
- /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import { n as e } from "./B1EPd8qV.js";
|
|
2
|
+
import { n as t, t as n } from "./BIEgauMd.js";
|
|
3
|
+
import { t as r } from "./gFFZEYaV.js";
|
|
4
|
+
import { t as i } from "./BgzF6a9b.js";
|
|
5
|
+
import { n as a, t as o } from "./DgbDv9To.js";
|
|
6
|
+
import { t as s } from "./6yr_i3FT2.js";
|
|
7
|
+
import { t as c } from "./DqttRbt0.js";
|
|
8
|
+
import { Fragment as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, openBlock as g, withCtx as _, withModifiers as v } from "vue";
|
|
9
|
+
//#region src/components/bpmn-process-designer/components/penal/multi-instance/ElementMultiInstance.vue
|
|
10
|
+
var y = /* @__PURE__ */ e({ default: () => C }), b = {
|
|
11
|
+
name: "ElementMultiInstance",
|
|
12
|
+
inject: { prefix: "prefix" },
|
|
13
|
+
props: {
|
|
14
|
+
id: String,
|
|
15
|
+
element: Object,
|
|
16
|
+
bpmnInstances: Object
|
|
17
|
+
},
|
|
18
|
+
data() {
|
|
19
|
+
return {
|
|
20
|
+
loopCharacteristics: "",
|
|
21
|
+
defaultLoopInstanceForm: {
|
|
22
|
+
completionCondition: "",
|
|
23
|
+
loopCardinality: "",
|
|
24
|
+
extensionElements: [],
|
|
25
|
+
asyncAfter: !1,
|
|
26
|
+
asyncBefore: !1,
|
|
27
|
+
exclusive: !1
|
|
28
|
+
},
|
|
29
|
+
loopInstanceForm: {}
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
watch: { id: {
|
|
33
|
+
immediate: !0,
|
|
34
|
+
handler() {
|
|
35
|
+
let { businessObject: e } = this.element;
|
|
36
|
+
this.getElementLoop(e);
|
|
37
|
+
}
|
|
38
|
+
} },
|
|
39
|
+
beforeUnmount() {
|
|
40
|
+
this.multiLoopInstance = null;
|
|
41
|
+
},
|
|
42
|
+
methods: {
|
|
43
|
+
getElementLoop(e) {
|
|
44
|
+
var t, n;
|
|
45
|
+
if (!e.loopCharacteristics) {
|
|
46
|
+
this.loopCharacteristics = "Null", this.loopInstanceForm = {};
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
if (e.loopCharacteristics.$type === "bpmn:StandardLoopCharacteristics") {
|
|
50
|
+
this.loopCharacteristics = "StandardLoop", this.loopInstanceForm = {};
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
e.loopCharacteristics.isSequential ? this.loopCharacteristics = "SequentialMultiInstance" : this.loopCharacteristics = "ParallelMultiInstance", this.loopInstanceForm = {
|
|
54
|
+
...this.defaultLoopInstanceForm,
|
|
55
|
+
...e.loopCharacteristics,
|
|
56
|
+
completionCondition: ((t = e.loopCharacteristics) == null || (t = t.completionCondition) == null ? void 0 : t.body) ?? "",
|
|
57
|
+
loopCardinality: ((n = e.loopCharacteristics) == null || (n = n.loopCardinality) == null ? void 0 : n.body) ?? ""
|
|
58
|
+
}, this.multiLoopInstance = this.element.businessObject.loopCharacteristics, e.loopCharacteristics.extensionElements && e.loopCharacteristics.extensionElements.values && e.loopCharacteristics.extensionElements.values.length && (this.loopInstanceForm.timeCycle = e.loopCharacteristics.extensionElements.values[0].body);
|
|
59
|
+
},
|
|
60
|
+
changeLoopCharacteristicsType(e) {
|
|
61
|
+
if (e === "Null") {
|
|
62
|
+
this.bpmnInstances.modeling.updateProperties(this.element, { loopCharacteristics: null });
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (e === "StandardLoop") {
|
|
66
|
+
let e = this.bpmnInstances.moddle.create("bpmn:StandardLoopCharacteristics");
|
|
67
|
+
this.bpmnInstances.modeling.updateProperties(this.element, { loopCharacteristics: e }), this.multiLoopInstance = null;
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
e === "SequentialMultiInstance" ? this.multiLoopInstance = this.bpmnInstances.moddle.create("bpmn:MultiInstanceLoopCharacteristics", { isSequential: !0 }) : this.multiLoopInstance = this.bpmnInstances.moddle.create("bpmn:MultiInstanceLoopCharacteristics"), this.bpmnInstances.modeling.updateProperties(this.element, { loopCharacteristics: this.multiLoopInstance });
|
|
71
|
+
},
|
|
72
|
+
updateLoopCardinality(e) {
|
|
73
|
+
let t = null;
|
|
74
|
+
e && e.length && (t = this.bpmnInstances.moddle.create("bpmn:FormalExpression", { body: e })), this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, { loopCardinality: t });
|
|
75
|
+
},
|
|
76
|
+
updateLoopCondition(e) {
|
|
77
|
+
let t = null;
|
|
78
|
+
e && e.length && (t = this.bpmnInstances.moddle.create("bpmn:FormalExpression", { body: e })), this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, { completionCondition: t });
|
|
79
|
+
},
|
|
80
|
+
updateLoopTimeCycle(e) {
|
|
81
|
+
let t = this.bpmnInstances.moddle.create("bpmn:ExtensionElements", { values: [this.bpmnInstances.moddle.create(`${this.prefix}:FailedJobRetryTimeCycle`, { body: e })] });
|
|
82
|
+
this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, { extensionElements: t });
|
|
83
|
+
},
|
|
84
|
+
updateLoopBase() {
|
|
85
|
+
this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, {
|
|
86
|
+
collection: this.loopInstanceForm.collection || null,
|
|
87
|
+
elementVariable: this.loopInstanceForm.elementVariable || null
|
|
88
|
+
});
|
|
89
|
+
},
|
|
90
|
+
updateLoopAsync(e) {
|
|
91
|
+
let { asyncBefore: t, asyncAfter: n } = this.loopInstanceForm, r = Object.create(null);
|
|
92
|
+
!t && !n ? (this.loopInstanceForm.exclusive = !1, r = {
|
|
93
|
+
asyncBefore: !1,
|
|
94
|
+
asyncAfter: !1,
|
|
95
|
+
exclusive: !1,
|
|
96
|
+
extensionElements: null
|
|
97
|
+
}) : r[e] = this.loopInstanceForm[e], this.bpmnInstances.modeling.updateModdleProperties(this.element, this.multiLoopInstance, r);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}, x = { class: "panel-tab__content element-multi-instance" };
|
|
101
|
+
function S(e, c, y, b, S, C) {
|
|
102
|
+
let w = r, T = n, E = t, D = a, O = i, k = s, A = o;
|
|
103
|
+
return g(), f("div", x, [h(A, {
|
|
104
|
+
"label-width": "100px",
|
|
105
|
+
onSubmit: c[12] || (c[12] = v(() => {}, ["prevent"]))
|
|
106
|
+
}, {
|
|
107
|
+
default: _(() => [h(D, { label: "回路特性" }, {
|
|
108
|
+
label: _(() => [c[15] || (c[15] = m(" 回路特性 ", -1)), h(w, { effect: "light" }, {
|
|
109
|
+
content: _(() => [...c[13] || (c[13] = [p("ul", null, [
|
|
110
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "并行"), m(" 一次性创建所有任务实例 ")]),
|
|
111
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "串行"), m(" 完成一个任务实例再创建一个任务实例,直到环节完成 ")]),
|
|
112
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "循环事件"), m(" 未知 ")])
|
|
113
|
+
], -1)])]),
|
|
114
|
+
default: _(() => [c[14] || (c[14] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
115
|
+
_: 1
|
|
116
|
+
})]),
|
|
117
|
+
default: _(() => [h(E, {
|
|
118
|
+
modelValue: S.loopCharacteristics,
|
|
119
|
+
"onUpdate:modelValue": c[0] || (c[0] = (e) => S.loopCharacteristics = e),
|
|
120
|
+
onChange: C.changeLoopCharacteristicsType
|
|
121
|
+
}, {
|
|
122
|
+
default: _(() => [
|
|
123
|
+
d("bpmn:MultiInstanceLoopCharacteristics"),
|
|
124
|
+
d(" 并行多重事件 "),
|
|
125
|
+
h(T, {
|
|
126
|
+
label: "并行",
|
|
127
|
+
value: "ParallelMultiInstance"
|
|
128
|
+
}),
|
|
129
|
+
d(" 时序多重事件 "),
|
|
130
|
+
h(T, {
|
|
131
|
+
label: "串行",
|
|
132
|
+
value: "SequentialMultiInstance"
|
|
133
|
+
}),
|
|
134
|
+
d(" bpmn:StandardLoopCharacteristics "),
|
|
135
|
+
h(T, {
|
|
136
|
+
label: "循环事件",
|
|
137
|
+
value: "StandardLoop"
|
|
138
|
+
}),
|
|
139
|
+
h(T, {
|
|
140
|
+
label: "无",
|
|
141
|
+
value: "Null"
|
|
142
|
+
})
|
|
143
|
+
]),
|
|
144
|
+
_: 1
|
|
145
|
+
}, 8, ["modelValue", "onChange"])]),
|
|
146
|
+
_: 1
|
|
147
|
+
}), S.loopCharacteristics === "ParallelMultiInstance" || S.loopCharacteristics === "SequentialMultiInstance" ? (g(), f(l, { key: 0 }, [
|
|
148
|
+
h(D, {
|
|
149
|
+
key: "loopCardinality",
|
|
150
|
+
label: "循环基数"
|
|
151
|
+
}, {
|
|
152
|
+
label: _(() => [c[18] || (c[18] = m(" 循环基数 ", -1)), h(w, { effect: "light" }, {
|
|
153
|
+
content: _(() => [...c[16] || (c[16] = [p("div", null, "与任务实例数相对,可不填", -1)])]),
|
|
154
|
+
default: _(() => [c[17] || (c[17] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
155
|
+
_: 1
|
|
156
|
+
})]),
|
|
157
|
+
default: _(() => [h(O, {
|
|
158
|
+
modelValue: S.loopInstanceForm.loopCardinality,
|
|
159
|
+
"onUpdate:modelValue": c[1] || (c[1] = (e) => S.loopInstanceForm.loopCardinality = e),
|
|
160
|
+
clearable: "",
|
|
161
|
+
onChange: C.updateLoopCardinality
|
|
162
|
+
}, null, 8, ["modelValue", "onChange"])]),
|
|
163
|
+
_: 1
|
|
164
|
+
}),
|
|
165
|
+
h(D, {
|
|
166
|
+
key: "collection",
|
|
167
|
+
label: "集合名称",
|
|
168
|
+
required: ""
|
|
169
|
+
}, {
|
|
170
|
+
label: _(() => [c[21] || (c[21] = m(" 集合变量 ", -1)), h(w, { effect: "light" }, {
|
|
171
|
+
content: _(() => [...c[19] || (c[19] = [p("p", null, [
|
|
172
|
+
m(" 流程变量名,设置为 "),
|
|
173
|
+
p("span", { class: "flow-tips-keyword" }, "${handlers}"),
|
|
174
|
+
m(" 就行 ")
|
|
175
|
+
], -1)])]),
|
|
176
|
+
default: _(() => [c[20] || (c[20] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
177
|
+
_: 1
|
|
178
|
+
})]),
|
|
179
|
+
default: _(() => [h(O, {
|
|
180
|
+
modelValue: S.loopInstanceForm.collection,
|
|
181
|
+
"onUpdate:modelValue": c[2] || (c[2] = (e) => S.loopInstanceForm.collection = e),
|
|
182
|
+
clearable: "",
|
|
183
|
+
onChange: C.updateLoopBase
|
|
184
|
+
}, null, 8, ["modelValue", "onChange"])]),
|
|
185
|
+
_: 1
|
|
186
|
+
}),
|
|
187
|
+
h(D, {
|
|
188
|
+
key: "elementVariable",
|
|
189
|
+
label: "元素名称",
|
|
190
|
+
required: ""
|
|
191
|
+
}, {
|
|
192
|
+
label: _(() => [c[24] || (c[24] = m(" 元素变量 ", -1)), h(w, { effect: "light" }, {
|
|
193
|
+
content: _(() => [...c[22] || (c[22] = [p("p", null, [
|
|
194
|
+
m(" 流程变量名,设置为 "),
|
|
195
|
+
p("span", { class: "flow-tips-keyword" }, "handler"),
|
|
196
|
+
m(" 就行,注意与\" "),
|
|
197
|
+
p("span", { class: "flow-tips-keyword" }, "处理人"),
|
|
198
|
+
m(" \"中的\" "),
|
|
199
|
+
p("span", { class: "flow-tips-keyword" }, "分配人员"),
|
|
200
|
+
m(" \"值保持一致 ")
|
|
201
|
+
], -1)])]),
|
|
202
|
+
default: _(() => [c[23] || (c[23] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
203
|
+
_: 1
|
|
204
|
+
})]),
|
|
205
|
+
default: _(() => [h(O, {
|
|
206
|
+
modelValue: S.loopInstanceForm.elementVariable,
|
|
207
|
+
"onUpdate:modelValue": c[3] || (c[3] = (e) => S.loopInstanceForm.elementVariable = e),
|
|
208
|
+
clearable: "",
|
|
209
|
+
onChange: C.updateLoopBase
|
|
210
|
+
}, null, 8, ["modelValue", "onChange"])]),
|
|
211
|
+
_: 1
|
|
212
|
+
}),
|
|
213
|
+
h(D, {
|
|
214
|
+
key: "completionCondition",
|
|
215
|
+
label: "完成条件"
|
|
216
|
+
}, {
|
|
217
|
+
label: _(() => [c[27] || (c[27] = m(" 完成条件 ", -1)), h(w, { effect: "light" }, {
|
|
218
|
+
content: _(() => [...c[25] || (c[25] = [
|
|
219
|
+
p("p", { class: "flow-tips-title" }, "特殊流程变量:", -1),
|
|
220
|
+
p("ul", null, [
|
|
221
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "nrOfInstances"), m(" 总实例数 ")]),
|
|
222
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "nrOfCompletedInstances"), m(" 已完成的实例数 ")]),
|
|
223
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "nrOfActiveInstances"), m(" 未完成实例数 ")])
|
|
224
|
+
], -1),
|
|
225
|
+
p("p", { class: "flow-tips-title" }, "示例:", -1),
|
|
226
|
+
p("ul", null, [
|
|
227
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "${nrOfCompletedInstances/nrOfInstances >= 1}"), m(" :所有实例完成结束该环节 ")]),
|
|
228
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "${nrOfCompletedInstances/nrOfInstances >= 0.5}"), m(" :50%实例完成结束该环节 ")]),
|
|
229
|
+
p("li", { class: "flow-tips-list-item" }, [p("span", { class: "flow-tips-keyword" }, "${nrOfCompletedInstances >= 1}"), m(" :有一个实例完成结束该环节 ")])
|
|
230
|
+
], -1),
|
|
231
|
+
p("p", { class: "flow-tips-title" }, "不填要等所有实例完成才会结束该环节", -1)
|
|
232
|
+
])]),
|
|
233
|
+
default: _(() => [c[26] || (c[26] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
234
|
+
_: 1
|
|
235
|
+
})]),
|
|
236
|
+
default: _(() => [h(O, {
|
|
237
|
+
modelValue: S.loopInstanceForm.completionCondition,
|
|
238
|
+
"onUpdate:modelValue": c[4] || (c[4] = (e) => S.loopInstanceForm.completionCondition = e),
|
|
239
|
+
clearable: "",
|
|
240
|
+
onChange: C.updateLoopCondition
|
|
241
|
+
}, null, 8, ["modelValue", "onChange"])]),
|
|
242
|
+
_: 1
|
|
243
|
+
}),
|
|
244
|
+
h(D, {
|
|
245
|
+
key: "async",
|
|
246
|
+
label: "异步状态"
|
|
247
|
+
}, {
|
|
248
|
+
label: _(() => [c[30] || (c[30] = m(" 异步状态 ", -1)), h(w, { effect: "light" }, {
|
|
249
|
+
content: _(() => [...c[28] || (c[28] = [p("div", null, "目前没用到", -1)])]),
|
|
250
|
+
default: _(() => [c[29] || (c[29] = p("i", { class: "el-icon-info" }, null, -1))]),
|
|
251
|
+
_: 1
|
|
252
|
+
})]),
|
|
253
|
+
default: _(() => [
|
|
254
|
+
h(k, {
|
|
255
|
+
modelValue: S.loopInstanceForm.asyncBefore,
|
|
256
|
+
"onUpdate:modelValue": c[5] || (c[5] = (e) => S.loopInstanceForm.asyncBefore = e),
|
|
257
|
+
label: "异步前",
|
|
258
|
+
onChange: c[6] || (c[6] = (e) => C.updateLoopAsync("asyncBefore"))
|
|
259
|
+
}, null, 8, ["modelValue"]),
|
|
260
|
+
h(k, {
|
|
261
|
+
modelValue: S.loopInstanceForm.asyncAfter,
|
|
262
|
+
"onUpdate:modelValue": c[7] || (c[7] = (e) => S.loopInstanceForm.asyncAfter = e),
|
|
263
|
+
label: "异步后",
|
|
264
|
+
onChange: c[8] || (c[8] = (e) => C.updateLoopAsync("asyncAfter"))
|
|
265
|
+
}, null, 8, ["modelValue"]),
|
|
266
|
+
S.loopInstanceForm.asyncAfter || S.loopInstanceForm.asyncBefore ? (g(), u(k, {
|
|
267
|
+
key: 0,
|
|
268
|
+
modelValue: S.loopInstanceForm.exclusive,
|
|
269
|
+
"onUpdate:modelValue": c[9] || (c[9] = (e) => S.loopInstanceForm.exclusive = e),
|
|
270
|
+
label: "排除",
|
|
271
|
+
onChange: c[10] || (c[10] = (e) => C.updateLoopAsync("exclusive"))
|
|
272
|
+
}, null, 8, ["modelValue"])) : d("v-if", !0)
|
|
273
|
+
]),
|
|
274
|
+
_: 1
|
|
275
|
+
}),
|
|
276
|
+
S.loopInstanceForm.asyncAfter || S.loopInstanceForm.asyncBefore ? (g(), u(D, {
|
|
277
|
+
key: "timeCycle",
|
|
278
|
+
label: "重试周期",
|
|
279
|
+
prop: "timeCycle"
|
|
280
|
+
}, {
|
|
281
|
+
default: _(() => [h(O, {
|
|
282
|
+
modelValue: S.loopInstanceForm.timeCycle,
|
|
283
|
+
"onUpdate:modelValue": c[11] || (c[11] = (e) => S.loopInstanceForm.timeCycle = e),
|
|
284
|
+
clearable: "",
|
|
285
|
+
onChange: C.updateLoopTimeCycle
|
|
286
|
+
}, null, 8, ["modelValue", "onChange"])]),
|
|
287
|
+
_: 1
|
|
288
|
+
})) : d("v-if", !0)
|
|
289
|
+
], 64)) : d("v-if", !0)]),
|
|
290
|
+
_: 1
|
|
291
|
+
})]);
|
|
292
|
+
}
|
|
293
|
+
var C = /* @__PURE__ */ c(b, [["render", S]]);
|
|
294
|
+
//#endregion
|
|
295
|
+
export { y as n, C as t };
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { s as e } from "./DiB3ANPI2.js";
|
|
2
|
+
import { goBack as t, hasAuthority as n } from "../api/index.js";
|
|
3
|
+
import { toolbarContextKey as r } from "../constants/index.js";
|
|
4
|
+
import { t as i } from "./_DT9bjOz.js";
|
|
5
|
+
import { Comment as a, createVNode as o } from "vue";
|
|
6
|
+
import { NOOP as s, capitalize as c } from "@web-utils/core";
|
|
7
|
+
//#region src/components/toolbar/Toolbar.vue?vue&type=script&lang.jsx
|
|
8
|
+
var l = {
|
|
9
|
+
back: {
|
|
10
|
+
label: "返回",
|
|
11
|
+
type: "primary",
|
|
12
|
+
icon: "el-icon-arrow-left"
|
|
13
|
+
},
|
|
14
|
+
cancel: {
|
|
15
|
+
label: "取消",
|
|
16
|
+
icon: "el-icon-close"
|
|
17
|
+
},
|
|
18
|
+
create: {
|
|
19
|
+
label: "新增",
|
|
20
|
+
type: "primary",
|
|
21
|
+
icon: "el-icon-plus"
|
|
22
|
+
},
|
|
23
|
+
save: {
|
|
24
|
+
label: "保存",
|
|
25
|
+
type: "primary",
|
|
26
|
+
icon: "el-icon-takeaway-box",
|
|
27
|
+
loadable: !0
|
|
28
|
+
},
|
|
29
|
+
withdraw: {
|
|
30
|
+
label: "提取",
|
|
31
|
+
type: "primary",
|
|
32
|
+
icon: "el-icon-refresh-left"
|
|
33
|
+
},
|
|
34
|
+
edit: {
|
|
35
|
+
label: "编辑",
|
|
36
|
+
type: "primary",
|
|
37
|
+
icon: "el-icon-edit-outline"
|
|
38
|
+
},
|
|
39
|
+
submit: {
|
|
40
|
+
label: "审批办理",
|
|
41
|
+
type: "primary",
|
|
42
|
+
icon: "el-icon-s-promotion"
|
|
43
|
+
},
|
|
44
|
+
publish: {
|
|
45
|
+
label: "发布",
|
|
46
|
+
type: "primary",
|
|
47
|
+
icon: "el-icon-s-promotion"
|
|
48
|
+
},
|
|
49
|
+
agree: {
|
|
50
|
+
label: "同意",
|
|
51
|
+
type: "primary",
|
|
52
|
+
icon: "el-icon-check"
|
|
53
|
+
},
|
|
54
|
+
disagree: {
|
|
55
|
+
label: "不同意",
|
|
56
|
+
type: "primary",
|
|
57
|
+
icon: "el-icon-close"
|
|
58
|
+
},
|
|
59
|
+
reject: {
|
|
60
|
+
label: "退回",
|
|
61
|
+
type: "primary",
|
|
62
|
+
icon: "el-icon-s-release"
|
|
63
|
+
},
|
|
64
|
+
finish: {
|
|
65
|
+
label: "完成",
|
|
66
|
+
type: "primary",
|
|
67
|
+
icon: "el-icon-circle-check"
|
|
68
|
+
},
|
|
69
|
+
enable: {
|
|
70
|
+
label: "启用",
|
|
71
|
+
type: "primary",
|
|
72
|
+
icon: "el-icon-circle-check"
|
|
73
|
+
},
|
|
74
|
+
exp: {
|
|
75
|
+
label: "导出",
|
|
76
|
+
type: "primary",
|
|
77
|
+
icon: "el-icon-download"
|
|
78
|
+
},
|
|
79
|
+
imp: {
|
|
80
|
+
label: "导入",
|
|
81
|
+
type: "primary",
|
|
82
|
+
icon: "el-icon-upload"
|
|
83
|
+
},
|
|
84
|
+
del: {
|
|
85
|
+
label: "删除",
|
|
86
|
+
type: "primary",
|
|
87
|
+
icon: "el-icon-delete"
|
|
88
|
+
},
|
|
89
|
+
print: {
|
|
90
|
+
label: "打印",
|
|
91
|
+
type: "primary",
|
|
92
|
+
icon: "el-icon-printer"
|
|
93
|
+
},
|
|
94
|
+
disabled: {
|
|
95
|
+
label: "禁用",
|
|
96
|
+
type: "primary",
|
|
97
|
+
icon: "el-icon-remove-outline"
|
|
98
|
+
},
|
|
99
|
+
reload: {
|
|
100
|
+
label: "刷新",
|
|
101
|
+
icon: "el-icon-refresh",
|
|
102
|
+
separateLine: !1,
|
|
103
|
+
circle: !0
|
|
104
|
+
},
|
|
105
|
+
settings: {
|
|
106
|
+
label: "设置",
|
|
107
|
+
icon: "el-icon-s-operation",
|
|
108
|
+
separateLine: !1,
|
|
109
|
+
circle: !0
|
|
110
|
+
},
|
|
111
|
+
search: {
|
|
112
|
+
label: "搜索",
|
|
113
|
+
icon: "el-icon-search",
|
|
114
|
+
separateLine: !1,
|
|
115
|
+
circle: !0
|
|
116
|
+
}
|
|
117
|
+
}, u = {
|
|
118
|
+
name: "Toolbar",
|
|
119
|
+
provide() {
|
|
120
|
+
return { [r]: this };
|
|
121
|
+
},
|
|
122
|
+
props: {
|
|
123
|
+
searchable: Boolean,
|
|
124
|
+
refreshable: Boolean,
|
|
125
|
+
buttons: {
|
|
126
|
+
type: Array,
|
|
127
|
+
default: () => ["back"]
|
|
128
|
+
},
|
|
129
|
+
back: Function,
|
|
130
|
+
cancel: Function,
|
|
131
|
+
emitter: {
|
|
132
|
+
type: String,
|
|
133
|
+
default: "self"
|
|
134
|
+
},
|
|
135
|
+
footer: Boolean,
|
|
136
|
+
label: Object
|
|
137
|
+
},
|
|
138
|
+
computed: {},
|
|
139
|
+
methods: {
|
|
140
|
+
goBack() {
|
|
141
|
+
t(this.$route.path);
|
|
142
|
+
},
|
|
143
|
+
createButton(t, { label: n, icon: r, type: a, separateLine: l = !0, loadable: u, circle: d, onClick: f, title: p }) {
|
|
144
|
+
var m;
|
|
145
|
+
let h, g = ((m = this.label) == null ? void 0 : m[t]) || n;
|
|
146
|
+
return h = f || (["back", "cancel"].includes(t) ? this.goBack : (n) => {
|
|
147
|
+
(e(this.$attrs, { withOn: !0 })[`on${c(t)}`] || s)(n);
|
|
148
|
+
}), o(i, {
|
|
149
|
+
"separate-line": l,
|
|
150
|
+
icon: r,
|
|
151
|
+
title: p,
|
|
152
|
+
label: g,
|
|
153
|
+
loadable: u,
|
|
154
|
+
circle: d,
|
|
155
|
+
footer: this.footer,
|
|
156
|
+
type: a,
|
|
157
|
+
onClick: h
|
|
158
|
+
}, null);
|
|
159
|
+
},
|
|
160
|
+
getLeftButtons() {
|
|
161
|
+
var e, t, r;
|
|
162
|
+
let { createButton: i } = this;
|
|
163
|
+
return (r = (((e = (t = this.$slots)["toolbar-left"]) == null ? void 0 : e.call(t)) || this.buttons.flatMap((e) => {
|
|
164
|
+
let t = l[e];
|
|
165
|
+
if (t) {
|
|
166
|
+
var n, r;
|
|
167
|
+
return ((n = (r = this.$slots)[e]) == null ? void 0 : n.call(r)) || i(e, t);
|
|
168
|
+
} else if (e === "slot") {
|
|
169
|
+
var o, s;
|
|
170
|
+
let e = ((o = (s = this.$slots).default) == null ? void 0 : o.call(s, {
|
|
171
|
+
buttons: this.buttons,
|
|
172
|
+
footer: this.footer
|
|
173
|
+
})) ?? null;
|
|
174
|
+
if (e && e.length === 1) {
|
|
175
|
+
var c;
|
|
176
|
+
return e == null || (c = e[0]) == null || (c = c.children) == null ? void 0 : c.filter((e) => e.type !== a);
|
|
177
|
+
}
|
|
178
|
+
return e || [];
|
|
179
|
+
} else return null;
|
|
180
|
+
})).filter((e) => e)) == null ? void 0 : r.filter((e) => e.props.privilege ? n(e.props.privilege) : !0);
|
|
181
|
+
},
|
|
182
|
+
getRightButtons() {
|
|
183
|
+
var e, t, n, r;
|
|
184
|
+
let i = (e = (t = this.$slots)["toolbar-right"]) == null ? void 0 : e.call(t), a = [
|
|
185
|
+
...((n = (r = this.$slots)["toolbar-right-button"]) == null ? void 0 : n.call(r)) || [],
|
|
186
|
+
this.getRefreshButton(),
|
|
187
|
+
this.getSettingsButton(),
|
|
188
|
+
this.getSearchButton()
|
|
189
|
+
];
|
|
190
|
+
return i || a;
|
|
191
|
+
},
|
|
192
|
+
getSearchButton() {
|
|
193
|
+
return this.searchable ? this.createButton("search", l.search) : null;
|
|
194
|
+
},
|
|
195
|
+
getRefreshButton() {
|
|
196
|
+
return this.refreshable ? this.createButton("reload", l.reload) : null;
|
|
197
|
+
},
|
|
198
|
+
getSettingsButton() {
|
|
199
|
+
return this.refreshable ? this.createButton("settings", l.settings) : null;
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
render() {
|
|
203
|
+
return this.footer ? o("div", { class: "footer-bar" }, [this.getLeftButtons()]) : o("div", { class: "toolbar" }, [o("div", { class: "toolbar-left" }, [this.getLeftButtons()]), o("div", { class: "toolbar-right" }, [this.getRightButtons()])]);
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
//#endregion
|
|
207
|
+
export { u as t };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { n as e } from "./CmQBhb4F.js";
|
|
2
|
+
import { defineComponent as t, h as n, isVNode as r, onMounted as i, shallowRef as a, triggerRef as o } from "vue";
|
|
3
|
+
//#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/hooks/use-ordered-children/index.mjs
|
|
4
|
+
var s = (t, n, i) => e(t.subTree).filter((e) => {
|
|
5
|
+
var t;
|
|
6
|
+
return r(e) && ((t = e.type) == null ? void 0 : t.name) === n && !!e.component;
|
|
7
|
+
}).map((e) => e.component.uid).map((e) => i[e]).filter((e) => !!e), c = (e, r) => {
|
|
8
|
+
let c = a({}), l = a([]), u = /* @__PURE__ */ new WeakMap(), d = (e) => {
|
|
9
|
+
c.value[e.uid] = e, o(c), i(() => {
|
|
10
|
+
let t = e.getVnode().el, n = t.parentNode;
|
|
11
|
+
if (!u.has(n)) {
|
|
12
|
+
u.set(n, []);
|
|
13
|
+
let e = n.insertBefore.bind(n);
|
|
14
|
+
n.insertBefore = (t, r) => (u.get(n).some((e) => t === e || r === e) && o(c), e(t, r));
|
|
15
|
+
}
|
|
16
|
+
u.get(n).push(t);
|
|
17
|
+
});
|
|
18
|
+
}, f = (e) => {
|
|
19
|
+
delete c.value[e.uid], o(c);
|
|
20
|
+
let t = e.getVnode().el, n = t.parentNode, r = u.get(n), i = r.indexOf(t);
|
|
21
|
+
r.splice(i, 1);
|
|
22
|
+
}, p = () => {
|
|
23
|
+
l.value = s(e, r, c.value);
|
|
24
|
+
}, m = (e) => e.render();
|
|
25
|
+
return {
|
|
26
|
+
children: l,
|
|
27
|
+
addChild: d,
|
|
28
|
+
removeChild: f,
|
|
29
|
+
ChildrenSorter: t({ setup(e, { slots: t }) {
|
|
30
|
+
return () => (p(), t.default ? n(m, { render: t.default }) : null);
|
|
31
|
+
} })
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
export { c as t };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { i as e } from "./BCLWjhEJ.js";
|
|
2
|
+
import { l as t, s as n, t as r } from "./D73tXuJP.js";
|
|
3
|
+
import { p as i, t as a } from "./BtonI3XP.js";
|
|
4
|
+
import { n as o } from "./byLw7vSU.js";
|
|
5
|
+
import { i as s } from "./Xdb_3Me6.js";
|
|
6
|
+
import { Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, normalizeClass as g, normalizeStyle as _, openBlock as v, renderSlot as y, unref as b, withCtx as x, withModifiers as S } from "vue";
|
|
7
|
+
//#region node_modules/.pnpm/element-plus@2.13.7_typescr_0fa4751f8fa020301a8746973788e8b7/node_modules/element-plus/es/components/tag/src/tag.mjs
|
|
8
|
+
var C = t({
|
|
9
|
+
type: {
|
|
10
|
+
type: String,
|
|
11
|
+
values: [
|
|
12
|
+
"primary",
|
|
13
|
+
"success",
|
|
14
|
+
"info",
|
|
15
|
+
"warning",
|
|
16
|
+
"danger"
|
|
17
|
+
],
|
|
18
|
+
default: "primary"
|
|
19
|
+
},
|
|
20
|
+
closable: Boolean,
|
|
21
|
+
disableTransitions: Boolean,
|
|
22
|
+
hit: Boolean,
|
|
23
|
+
color: String,
|
|
24
|
+
size: {
|
|
25
|
+
type: String,
|
|
26
|
+
values: e
|
|
27
|
+
},
|
|
28
|
+
effect: {
|
|
29
|
+
type: String,
|
|
30
|
+
values: [
|
|
31
|
+
"dark",
|
|
32
|
+
"light",
|
|
33
|
+
"plain"
|
|
34
|
+
],
|
|
35
|
+
default: "light"
|
|
36
|
+
},
|
|
37
|
+
round: Boolean
|
|
38
|
+
}), w = {
|
|
39
|
+
close: (e) => e instanceof MouseEvent,
|
|
40
|
+
click: (e) => e instanceof MouseEvent
|
|
41
|
+
}, T = ["aria-label"], E = ["aria-label"], D = r(/* @__PURE__ */ h({
|
|
42
|
+
name: "ElTag",
|
|
43
|
+
__name: "tag",
|
|
44
|
+
props: C,
|
|
45
|
+
emits: w,
|
|
46
|
+
setup(e, { emit: t }) {
|
|
47
|
+
let r = e, h = t, C = s(), { t: w } = o(), D = n("tag"), O = l(() => {
|
|
48
|
+
let { type: e, hit: t, effect: n, closable: i, round: a } = r;
|
|
49
|
+
return [
|
|
50
|
+
D.b(),
|
|
51
|
+
D.is("closable", i),
|
|
52
|
+
D.m(e || "primary"),
|
|
53
|
+
D.m(C.value),
|
|
54
|
+
D.m(n),
|
|
55
|
+
D.is("hit", t),
|
|
56
|
+
D.is("round", a)
|
|
57
|
+
];
|
|
58
|
+
}), k = (e) => {
|
|
59
|
+
h("close", e);
|
|
60
|
+
}, A = (e) => {
|
|
61
|
+
h("click", e);
|
|
62
|
+
}, j = (e) => {
|
|
63
|
+
var t;
|
|
64
|
+
!(e == null || (t = e.component) == null || (t = t.subTree) == null || (t = t.component) == null) && t.bum && (e.component.subTree.component.bum = null);
|
|
65
|
+
};
|
|
66
|
+
return (t, n) => e.disableTransitions ? (v(), f("span", {
|
|
67
|
+
key: 0,
|
|
68
|
+
class: g(O.value),
|
|
69
|
+
style: _({ backgroundColor: e.color }),
|
|
70
|
+
onClick: A
|
|
71
|
+
}, [p("span", { class: g(b(D).e("content")) }, [y(t.$slots, "default")], 2), e.closable ? (v(), f("button", {
|
|
72
|
+
key: 0,
|
|
73
|
+
"aria-label": b(w)("el.tag.close"),
|
|
74
|
+
class: g(b(D).e("close")),
|
|
75
|
+
type: "button",
|
|
76
|
+
onClick: S(k, ["stop"])
|
|
77
|
+
}, [m(b(a), null, {
|
|
78
|
+
default: x(() => [m(b(i))]),
|
|
79
|
+
_: 1
|
|
80
|
+
})], 10, T)) : d("v-if", !0)], 6)) : (v(), u(c, {
|
|
81
|
+
key: 1,
|
|
82
|
+
name: `${b(D).namespace.value}-zoom-in-center`,
|
|
83
|
+
appear: "",
|
|
84
|
+
onVnodeMounted: j
|
|
85
|
+
}, {
|
|
86
|
+
default: x(() => [p("span", {
|
|
87
|
+
class: g(O.value),
|
|
88
|
+
style: _({ backgroundColor: e.color }),
|
|
89
|
+
onClick: A
|
|
90
|
+
}, [p("span", { class: g(b(D).e("content")) }, [y(t.$slots, "default")], 2), e.closable ? (v(), f("button", {
|
|
91
|
+
key: 0,
|
|
92
|
+
"aria-label": b(w)("el.tag.close"),
|
|
93
|
+
class: g(b(D).e("close")),
|
|
94
|
+
type: "button",
|
|
95
|
+
onClick: S(k, ["stop"])
|
|
96
|
+
}, [m(b(a), null, {
|
|
97
|
+
default: x(() => [m(b(i))]),
|
|
98
|
+
_: 1
|
|
99
|
+
})], 10, E)) : d("v-if", !0)], 6)]),
|
|
100
|
+
_: 3
|
|
101
|
+
}, 8, ["name"]));
|
|
102
|
+
}
|
|
103
|
+
}));
|
|
104
|
+
//#endregion
|
|
105
|
+
export { C as n, D as t };
|