@web-utils/component 2.0.13 → 2.2.0
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 +113 -0
- package/address-input/style.css +1 -0
- package/affix/index.mjs +102 -0
- package/affix/style.css +1 -0
- package/aside-menu/index.mjs +58 -0
- package/aside-menu/style.css +1 -0
- package/avatar/index.mjs +106 -0
- package/avatar/style.css +1 -0
- package/awesome-button/index.mjs +112 -0
- package/base.css +1 -0
- package/capsule-tab/index.mjs +52 -0
- package/capsule-tab/style.css +1 -0
- package/card/index.mjs +126 -0
- package/card/style.css +1 -0
- package/carousel/index.mjs +70 -0
- package/carousel/style.css +1 -0
- package/chat/index.mjs +576 -0
- package/chat/style.css +1 -0
- package/chunk-file-uploader/index.mjs +121 -0
- package/chunk-file-uploader/style.css +1 -0
- package/chunks/FormTemp.FX8xmbVB.mjs +165 -0
- package/chunks/confirmable-mixin.rTUMhoRH.mjs +106 -0
- package/chunks/dataformat.X_61lMA7.mjs +158 -0
- package/chunks/dic.6tk91Dmq.mjs +130 -0
- package/chunks/event.NHA7rYFE.mjs +236 -0
- package/chunks/form-input-mixin.IKogWBfn.mjs +24 -0
- package/chunks/form-item-mixin.BilKDUlK.mjs +140 -0
- package/{dist/chunks/822300f3.js → chunks/form-pick-mixin.y-qhZJi6.mjs} +3 -3
- package/chunks/index.LGsb2aDq.mjs +185 -0
- package/chunks/init.Ac4dKUJB.mjs +122 -0
- package/{dist/chunks/44b78389.js → chunks/input-number-mixin.GE2zr_3s.mjs} +8 -8
- package/chunks/json-beautifier.fUZFSW5j.mjs +126 -0
- package/chunks/packages.v6r2Hr7E.mjs +58 -0
- package/chunks/permission.E9kZbW48.mjs +16 -0
- package/chunks/slot.j1uMmBnG.mjs +27 -0
- package/chunks/tab-mixin.tM9jcRT8.mjs +81 -0
- package/chunks/util.C2Bhx22L.mjs +259 -0
- package/chunks/vueComponentNormalizer.JwmUNtgn.mjs +32 -0
- package/code-mirror-editor/index.mjs +313 -0
- package/code-mirror-editor/style.css +1 -0
- package/color-picker/index.mjs +128 -0
- package/comment/index.mjs +90 -0
- package/comment/style.css +1 -0
- package/confirm-button/index.mjs +57 -0
- package/confirmable/index.mjs +28 -0
- package/context-menu/index.mjs +255 -0
- package/context-menu/style.css +1 -0
- package/count-up/index.mjs +131 -0
- package/custom-scrollbar/index.mjs +116 -0
- package/data-box/index.mjs +97 -0
- package/data-box/style.css +1 -0
- package/data-card/index.mjs +98 -0
- package/data-card/style.css +1 -0
- package/data-cardtext/index.mjs +82 -0
- package/data-cardtext/style.css +1 -0
- package/data-display/index.mjs +97 -0
- package/data-display/style.css +1 -0
- package/data-icons/index.mjs +104 -0
- package/data-icons/style.css +1 -0
- package/data-imgtext/index.mjs +106 -0
- package/data-imgtext/style.css +1 -0
- package/data-operatext/index.mjs +99 -0
- package/data-operatext/style.css +1 -0
- package/data-panel/index.mjs +93 -0
- package/data-panel/style.css +1 -0
- package/data-pay/index.mjs +152 -0
- package/data-pay/style.css +1 -0
- package/data-price/index.mjs +84 -0
- package/data-price/style.css +1 -0
- package/data-progress/index.mjs +97 -0
- package/data-progress/style.css +1 -0
- package/data-rotate/index.mjs +96 -0
- package/data-rotate/style.css +1 -0
- package/data-table-picker/index.mjs +137 -0
- package/data-tabs/index.mjs +94 -0
- package/data-tabs/style.css +1 -0
- package/dialog-form/index.mjs +148 -0
- package/dialog-form/style.css +1 -0
- package/dynamic-table/index.mjs +195 -0
- package/dynamic-table/style.css +1 -0
- package/e-charts/index.mjs +216 -0
- package/e-charts/style.css +1 -0
- package/easy-popup/index.mjs +136 -0
- package/easy-popup/style.css +1 -0
- package/editable-progress/index.mjs +141 -0
- package/editable-progress/style.css +1 -0
- package/editable-tree/index.mjs +844 -0
- package/editable-tree/style.css +1 -0
- package/egd-collapse/index.mjs +79 -0
- package/egd-collapse-item/index.mjs +134 -0
- package/element-dialog/index.mjs +296 -0
- package/element-dialog/style.css +1 -0
- package/empty-view/index.mjs +69 -0
- package/empty-view/style.css +1 -0
- package/error-view/index.mjs +61 -0
- package/error-view/style.css +1 -0
- package/flex-column/index.mjs +62 -0
- package/flex-item/index.mjs +81 -0
- package/flex-row/index.mjs +62 -0
- package/flex-scroller/index.mjs +47 -0
- package/flex-scroller/style.css +1 -0
- package/flow/index.mjs +277 -0
- package/flow/style.css +1 -0
- package/flow-designer/index.mjs +10184 -0
- package/flow-designer/style.css +1 -0
- package/flow-node/index.mjs +102 -0
- package/flow-viewer/index.mjs +209 -0
- package/flow-viewer/style.css +1 -0
- package/form-block/index.mjs +156 -0
- package/form-block/style.css +1 -0
- package/form-button/index.mjs +58 -0
- package/form-cascader/index.mjs +163 -0
- package/form-checkbox-group/index.mjs +203 -0
- package/form-checkbox-group/style.css +1 -0
- package/form-date-picker/index.mjs +191 -0
- package/form-holder/index.mjs +129 -0
- package/form-input/index.mjs +117 -0
- package/form-input-email/index.mjs +108 -0
- package/form-input-id-card/index.mjs +115 -0
- package/form-input-number/index.mjs +134 -0
- package/form-input-number/style.css +1 -0
- package/form-input-phone-number/index.mjs +109 -0
- package/form-input-tag/index.mjs +108 -0
- package/form-input-time/index.mjs +135 -0
- package/form-item/index.mjs +147 -0
- package/form-item/style.css +1 -0
- package/form-item-config-provider/index.mjs +63 -0
- package/form-item-group/index.mjs +169 -0
- package/form-item-group/style.css +1 -0
- package/form-radio-group/index.mjs +181 -0
- package/form-radio-group/style.css +1 -0
- package/form-select/index.mjs +165 -0
- package/form-switch/index.mjs +108 -0
- package/form-textarea/index.mjs +113 -0
- package/form-view/index.mjs +371 -0
- package/form-view/style.css +1 -0
- package/fy-array/index.mjs +158 -0
- package/fy-array/style.css +1 -0
- package/fy-article/index.mjs +93 -0
- package/fy-article/style.css +1 -0
- package/fy-cascader/index.mjs +132 -0
- package/fy-checkbox/index.mjs +117 -0
- package/fy-checkbox/style.css +1 -0
- package/fy-code/index.mjs +66 -0
- package/fy-curd/index.mjs +3119 -0
- package/fy-curd/style.css +1 -0
- package/fy-date/index.mjs +84 -0
- package/fy-date/style.css +1 -0
- package/fy-draggable/index.mjs +382 -0
- package/fy-draggable/style.css +1 -0
- package/fy-dynamic/index.mjs +337 -0
- package/fy-dynamic/style.css +1 -0
- package/fy-empty/index.mjs +59 -0
- package/fy-empty/style.css +1 -0
- package/fy-form/index.mjs +993 -0
- package/fy-form/style.css +1 -0
- package/fy-form-design/index.mjs +7483 -0
- package/fy-form-design/style.css +1 -0
- package/fy-input/index.mjs +171 -0
- package/fy-input-color/index.mjs +101 -0
- package/fy-input-icon/index.mjs +169 -0
- package/fy-input-icon/style.css +1 -0
- package/fy-input-map/index.mjs +279 -0
- package/fy-input-map/style.css +1 -0
- package/fy-input-number/index.mjs +87 -0
- package/fy-input-table/index.mjs +172 -0
- package/fy-input-table/style.css +1 -0
- package/fy-input-tree/index.mjs +267 -0
- package/fy-input-tree/style.css +1 -0
- package/fy-progress/index.mjs +60 -0
- package/fy-radio/index.mjs +70 -0
- package/fy-radio/style.css +1 -0
- package/fy-rate/index.mjs +106 -0
- package/fy-rate/style.css +1 -0
- package/fy-select/index.mjs +225 -0
- package/fy-select/style.css +1 -0
- package/fy-slider/index.mjs +79 -0
- package/fy-switch/index.mjs +74 -0
- package/fy-tabs/index.mjs +92 -0
- package/fy-time/index.mjs +95 -0
- package/fy-title/index.mjs +40 -0
- package/fy-title/style.css +1 -0
- package/fy-tree/index.mjs +433 -0
- package/fy-tree/style.css +1 -0
- package/fy-u-editor/index.mjs +398 -0
- package/fy-u-editor/style.css +1 -0
- package/fy-upload/index.mjs +592 -0
- package/fy-upload/style.css +1 -0
- package/guide-steps/index.mjs +94 -0
- package/guide-steps/style.css +1 -0
- package/highlight-j-s/index.mjs +76 -0
- package/highlight-j-s/style.css +1 -0
- package/icon-card/index.mjs +62 -0
- package/icon-card/style.css +1 -0
- package/icon-temp/index.mjs +50 -0
- package/icon-temp/style.css +1 -0
- package/iframe-window/index.mjs +61 -0
- package/iframe-window/style.css +1 -0
- package/image-cropper/index.mjs +249 -0
- package/image-cropper/style.css +1 -0
- package/image-preview/index.mjs +260 -0
- package/image-preview/style.css +1 -0
- package/image-viewer/index.mjs +95 -0
- package/image-viewer/style.css +1 -0
- package/index.mjs +627 -0
- package/input-number/index.mjs +274 -0
- package/input-number/style.css +1 -0
- package/input-number-range/index.mjs +110 -0
- package/input-number-range/style.css +1 -0
- package/{dist/components/j-s-x-component/index.js → j-s-x-component/index.mjs} +4 -4
- package/keep-view-alive/index.mjs +123 -0
- package/keyboard/index.mjs +384 -0
- package/keyboard/style.css +1 -0
- package/license/index.mjs +134 -0
- package/loading-view/index.mjs +61 -0
- package/loading-view/style.css +1 -0
- package/login/index.mjs +250 -0
- package/login/style.css +1 -0
- package/monaco-editor/index.mjs +197 -0
- package/name-avatar/index.mjs +66 -0
- package/name-avatar/style.css +1 -0
- package/nav-bar/index.mjs +52 -0
- package/nav-bar/style.css +1 -0
- package/not-implement/index.mjs +35 -0
- package/not-implement/style.css +1 -0
- package/notice/index.mjs +143 -0
- package/notice/style.css +1 -0
- package/package.json +41 -148
- package/page/index.mjs +40 -0
- package/page/style.css +1 -0
- package/page-header/index.mjs +56 -0
- package/page-header/style.css +1 -0
- package/page-index/index.mjs +175 -0
- package/page-index/style.css +1 -0
- package/page-index-top/index.mjs +141 -0
- package/page-skeleton/index.mjs +67 -0
- package/page-skeleton/style.css +1 -0
- package/page-skeleton-new/index.mjs +98 -0
- package/page-skeleton-new/style.css +1 -0
- package/pageable-table/index.mjs +478 -0
- package/pageable-table/style.css +1 -0
- package/pageable-view/index.mjs +378 -0
- package/pageable-view/style.css +1 -0
- package/photo-swipe/index.mjs +129 -0
- package/present-view/index.mjs +365 -0
- package/present-view/style.css +1 -0
- package/queue/index.mjs +71 -0
- package/queue/style.css +1 -0
- package/record-video/index.mjs +173 -0
- package/record-video/style.css +1 -0
- package/resize-observer/index.mjs +62 -0
- package/resize-observer/style.css +1 -0
- package/search/index.mjs +143 -0
- package/search/style.css +1 -0
- package/search-popover/index.mjs +412 -0
- package/search-popover/style.css +1 -0
- package/sign/index.mjs +132 -0
- package/sign/style.css +1 -0
- package/sign-panel/index.mjs +255 -0
- package/sign-panel/style.css +1 -0
- package/skeleton/index.mjs +82 -0
- package/skeleton/style.css +1 -0
- package/split-pane/index.mjs +306 -0
- package/split-pane/style.css +1 -0
- package/stateful/index.mjs +84 -0
- package/stateful/style.css +1 -0
- package/static-pageable-table/index.mjs +92 -0
- package/static-pageable-table/style.css +1 -0
- package/swiper/index.mjs +183 -0
- package/swiper/style.css +1 -0
- package/tab/index.mjs +147 -0
- package/tab/style.css +1 -0
- package/tab-item/index.mjs +73 -0
- package/table-column/index.mjs +102 -0
- package/table-view/index.mjs +390 -0
- package/table-view/style.css +1 -0
- package/tag-render/index.mjs +116 -0
- package/tag-render/style.css +1 -0
- package/text-ellipsis/index.mjs +108 -0
- package/text-ellipsis/style.css +1 -0
- package/{dist/components/tinymce-wrapper/index.js → tinymce-editor/index.mjs} +479 -133
- package/tinymce-editor/style.css +1 -0
- package/toolbar/index.mjs +217 -0
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.mjs +108 -0
- package/toolbar-button/style.css +1 -0
- package/verify/index.mjs +80 -0
- package/verify/style.css +1 -0
- package/vue-cron/index.mjs +1410 -0
- package/vue-cron/style.css +1 -0
- package/vue-qr-code/index.mjs +83 -0
- package/vue-quill-editor/index.mjs +117 -0
- package/vue-quill-editor/style.css +1 -0
- package/vue-tags-input/index.mjs +553 -0
- package/vue-tags-input/style.css +1 -0
- package/vue-tree-select/index.mjs +2881 -0
- package/vue-tree-select/style.css +1 -0
- package/vue-video-player/index.mjs +192 -0
- package/vue-video-player/style.css +1 -0
- package/watermark/index.mjs +95 -0
- package/watermark/style.css +1 -0
- package/web-types.json +14033 -2752
- package/x-input-tag/index.mjs +203 -0
- package/x-input-tag/style.css +1 -0
- package/README.md +0 -27
- package/dist/chunks/3d28cc08.js +0 -57
- package/dist/chunks/5d33812d.js +0 -147
- package/dist/chunks/9d848bf6.js +0 -99
- package/dist/chunks/a0bb327b.js +0 -96
- package/dist/chunks/a8891d2c.js +0 -30
- package/dist/chunks/c69d5628.js +0 -248
- package/dist/chunks/de9fe802.js +0 -24
- package/dist/chunks/e1939731.js +0 -17
- package/dist/components/address-input/index.js +0 -126
- package/dist/components/address-input/style.css +0 -15
- package/dist/components/aside-menu/index.js +0 -64
- package/dist/components/aside-menu/style.css +0 -9
- package/dist/components/awesome-button/index.js +0 -85
- package/dist/components/base.css +0 -66
- package/dist/components/capsule-tab/index.js +0 -58
- package/dist/components/capsule-tab/style.css +0 -32
- package/dist/components/chunk-file-uploader/index.js +0 -153
- package/dist/components/chunk-file-uploader/style.css +0 -4
- package/dist/components/chunk-file-uploader-button/index.js +0 -66
- package/dist/components/chunk-file-uploader-button/style.css +0 -17
- package/dist/components/chunk-file-uploader-drop/index.js +0 -79
- package/dist/components/chunk-file-uploader-drop/style.css +0 -12
- package/dist/components/chunk-file-uploader-file/index.js +0 -388
- package/dist/components/chunk-file-uploader-file/style.css +0 -125
- package/dist/components/chunk-file-uploader-files/index.js +0 -55
- package/dist/components/chunk-file-uploader-files/style.css +0 -9
- package/dist/components/chunk-file-uploader-list/index.js +0 -56
- package/dist/components/chunk-file-uploader-list/style.css +0 -9
- package/dist/components/chunk-file-uploader-un-support/index.js +0 -59
- package/dist/components/chunk-file-uploader-un-support/style.css +0 -6
- package/dist/components/code-mirror-editor/index.js +0 -338
- package/dist/components/code-mirror-editor/style.css +0 -17
- package/dist/components/color-picker/index.js +0 -129
- package/dist/components/confirm-button/index.js +0 -59
- package/dist/components/confirmable/index.js +0 -29
- package/dist/components/context-menu/index.js +0 -265
- package/dist/components/context-menu/style.css +0 -88
- package/dist/components/custom-scrollbar/index.js +0 -167
- package/dist/components/data-table-picker/index.js +0 -156
- package/dist/components/dynamic-table/index.js +0 -219
- package/dist/components/dynamic-table/style.css +0 -30
- package/dist/components/e-charts/index.js +0 -310
- package/dist/components/e-charts/style.css +0 -10
- package/dist/components/editable-progress/index.js +0 -174
- package/dist/components/editable-progress/style.css +0 -37
- package/dist/components/editable-tree/index.js +0 -1004
- package/dist/components/editable-tree/style.css +0 -82
- package/dist/components/egd-collapse/index.js +0 -92
- package/dist/components/egd-collapse-item/index.js +0 -148
- package/dist/components/element-dialog/index.js +0 -295
- package/dist/components/element-dialog/style.css +0 -102
- package/dist/components/empty-view/index.js +0 -75
- package/dist/components/empty-view/style.css +0 -17
- package/dist/components/error-view/index.js +0 -67
- package/dist/components/error-view/style.css +0 -17
- package/dist/components/flex-column/index.js +0 -65
- package/dist/components/flex-item/index.js +0 -94
- package/dist/components/flex-row/index.js +0 -65
- package/dist/components/flex-scroller/index.js +0 -53
- package/dist/components/flex-scroller/style.css +0 -20
- package/dist/components/form-button/index.js +0 -84
- package/dist/components/form-cascader/index.js +0 -161
- package/dist/components/form-checkbox-group/index.js +0 -217
- package/dist/components/form-checkbox-group/style.css +0 -51
- package/dist/components/form-date-picker/index.js +0 -244
- package/dist/components/form-holder/index.js +0 -97
- package/dist/components/form-input/index.js +0 -112
- package/dist/components/form-input-email/index.js +0 -109
- package/dist/components/form-input-id-card/index.js +0 -110
- package/dist/components/form-input-number/index.js +0 -130
- package/dist/components/form-input-number/style.css +0 -12
- package/dist/components/form-input-phone-number/index.js +0 -104
- package/dist/components/form-input-time/index.js +0 -130
- package/dist/components/form-item/index.js +0 -162
- package/dist/components/form-item/style.css +0 -11
- package/dist/components/form-item-config-provider/index.js +0 -64
- package/dist/components/form-item-group/index.js +0 -195
- package/dist/components/form-item-group/style.css +0 -30
- package/dist/components/form-radio-group/index.js +0 -189
- package/dist/components/form-radio-group/style.css +0 -53
- package/dist/components/form-select/index.js +0 -169
- package/dist/components/form-switch/index.js +0 -103
- package/dist/components/form-textarea/index.js +0 -108
- package/dist/components/form-view/index.js +0 -410
- package/dist/components/form-view/style.css +0 -158
- package/dist/components/guide-steps/index.js +0 -108
- package/dist/components/guide-steps/style.css +0 -34
- package/dist/components/icon-card/index.js +0 -68
- package/dist/components/icon-card/style.css +0 -56
- package/dist/components/iframe-window/index.js +0 -67
- package/dist/components/iframe-window/style.css +0 -20
- package/dist/components/image-viewer/index.js +0 -113
- package/dist/components/image-viewer/style.css +0 -21
- package/dist/components/input-number/index.js +0 -340
- package/dist/components/input-number/style.css +0 -15
- package/dist/components/input-number-range/index.js +0 -122
- package/dist/components/input-number-range/style.css +0 -12
- package/dist/components/keep-view-alive/index.js +0 -166
- package/dist/components/loading-view/index.js +0 -67
- package/dist/components/loading-view/style.css +0 -17
- package/dist/components/nav-bar/index.js +0 -62
- package/dist/components/nav-bar/style.css +0 -17
- package/dist/components/not-implement/index.js +0 -43
- package/dist/components/not-implement/style.css +0 -15
- package/dist/components/page/index.js +0 -46
- package/dist/components/page/style.css +0 -12
- package/dist/components/page-header/index.js +0 -62
- package/dist/components/page-header/style.css +0 -14
- package/dist/components/page-index/index.js +0 -172
- package/dist/components/page-index/style.css +0 -23
- package/dist/components/page-index-top/index.js +0 -134
- package/dist/components/page-skeleton/index.js +0 -62
- package/dist/components/page-skeleton/style.css +0 -23
- package/dist/components/page-skeleton-new/index.js +0 -104
- package/dist/components/page-skeleton-new/style.css +0 -42
- package/dist/components/pageable-table/index.js +0 -496
- package/dist/components/pageable-table/style.css +0 -72
- package/dist/components/pageable-view/index.js +0 -398
- package/dist/components/pageable-view/style.css +0 -69
- package/dist/components/photo-swipe/index.js +0 -228
- package/dist/components/photo-swipe/style.css +0 -20
- package/dist/components/resize-observer/index.js +0 -96
- package/dist/components/resize-observer/style.css +0 -31
- package/dist/components/search-popover/index.js +0 -449
- package/dist/components/search-popover/style.css +0 -93
- package/dist/components/sign-panel/index.js +0 -292
- package/dist/components/sign-panel/style.css +0 -97
- package/dist/components/split-pane/index.js +0 -270
- package/dist/components/split-pane/style.css +0 -100
- package/dist/components/stateful/index.js +0 -87
- package/dist/components/stateful/style.css +0 -33
- package/dist/components/static-pageable-table/index.js +0 -99
- package/dist/components/static-pageable-table/style.css +0 -9
- package/dist/components/swiper/index.js +0 -223
- package/dist/components/swiper/style.css +0 -43
- package/dist/components/tab/index.js +0 -163
- package/dist/components/tab/style.css +0 -122
- package/dist/components/tab-item/index.js +0 -78
- package/dist/components/table-column/index.js +0 -91
- package/dist/components/table-view/index.js +0 -434
- package/dist/components/table-view/style.css +0 -95
- package/dist/components/tag-render/index.js +0 -111
- package/dist/components/tag-render/style.css +0 -33
- package/dist/components/tinymce-editor/index.js +0 -189
- package/dist/components/tinymce-editor/style.css +0 -43
- package/dist/components/tinymce-wrapper/style.css +0 -36
- package/dist/components/toolbar/index.js +0 -238
- package/dist/components/toolbar/style.css +0 -39
- package/dist/components/toolbar-button/index.js +0 -97
- package/dist/components/toolbar-button/style.css +0 -21
- package/dist/components/trigger/index.js +0 -78
- package/dist/components/vue-tags-input/index.js +0 -559
- package/dist/components/vue-tags-input/style.css +0 -682
- package/dist/components/watermark/index.js +0 -75
- package/dist/components/watermark/style.css +0 -11
- package/dist/components/x-dialog/index.js +0 -199
- package/dist/components/x-dialog/style.css +0 -15
- package/dist/index.css +0 -2972
- package/dist/index.es.js +0 -15689
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const t = {
|
|
2
2
|
props: {
|
|
3
3
|
suffixIcon: {
|
|
4
4
|
type: String
|
|
@@ -12,15 +12,15 @@ const inputNumberMixin = {
|
|
|
12
12
|
},
|
|
13
13
|
stepStrictly: {
|
|
14
14
|
type: Boolean,
|
|
15
|
-
default:
|
|
15
|
+
default: !1
|
|
16
16
|
},
|
|
17
17
|
max: {
|
|
18
18
|
type: Number,
|
|
19
|
-
default:
|
|
19
|
+
default: 1 / 0
|
|
20
20
|
},
|
|
21
21
|
min: {
|
|
22
22
|
type: Number,
|
|
23
|
-
default: -
|
|
23
|
+
default: -1 / 0
|
|
24
24
|
},
|
|
25
25
|
value: {
|
|
26
26
|
type: [Number, String]
|
|
@@ -31,7 +31,7 @@ const inputNumberMixin = {
|
|
|
31
31
|
},
|
|
32
32
|
controls: {
|
|
33
33
|
type: Boolean,
|
|
34
|
-
default:
|
|
34
|
+
default: !0
|
|
35
35
|
},
|
|
36
36
|
controlsPosition: {
|
|
37
37
|
type: String,
|
|
@@ -49,12 +49,12 @@ const inputNumberMixin = {
|
|
|
49
49
|
precision: {
|
|
50
50
|
type: Number,
|
|
51
51
|
default: void 0,
|
|
52
|
-
validator(
|
|
53
|
-
return
|
|
52
|
+
validator(e) {
|
|
53
|
+
return e >= 0 && e === parseInt(e, 10);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
export {
|
|
59
|
-
|
|
59
|
+
t as i
|
|
60
60
|
};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
const p = /[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, O = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/;
|
|
2
|
+
let s, y;
|
|
3
|
+
const N = {
|
|
4
|
+
// table of character substitutions
|
|
5
|
+
"\b": "\\b",
|
|
6
|
+
" ": "\\t",
|
|
7
|
+
"\n": "\\n",
|
|
8
|
+
"\f": "\\f",
|
|
9
|
+
"\r": "\\r",
|
|
10
|
+
'"': '\\"',
|
|
11
|
+
"'": "\\'",
|
|
12
|
+
"\\": "\\\\"
|
|
13
|
+
};
|
|
14
|
+
let h;
|
|
15
|
+
function x(f, n = {}) {
|
|
16
|
+
const e = n.space || 2, t = n.dropQuotesOnKeys !== !1, r = n.dropQuotesOnNumbers || !1, l = n.inlineShortArrays || !1, u = n.inlineShortArraysDepth || 1, a = n.quoteType || "single", c = n.minify || !1;
|
|
17
|
+
r && S(f);
|
|
18
|
+
let o = d(f, null, c ? void 0 : e, t, a);
|
|
19
|
+
if (l && !c) {
|
|
20
|
+
let i = j(o);
|
|
21
|
+
if (u > 1)
|
|
22
|
+
for (let m = 1; m < u && (o = i, i = j(o), i !== o); m++)
|
|
23
|
+
;
|
|
24
|
+
o = i;
|
|
25
|
+
}
|
|
26
|
+
return o;
|
|
27
|
+
}
|
|
28
|
+
function S(f) {
|
|
29
|
+
if (!$(f))
|
|
30
|
+
return;
|
|
31
|
+
const n = Object.keys(f);
|
|
32
|
+
n && n.forEach(function(e) {
|
|
33
|
+
const t = f[e];
|
|
34
|
+
if (typeof t == "string") {
|
|
35
|
+
const r = t - 0;
|
|
36
|
+
f[e] = isNaN(r) ? t : r;
|
|
37
|
+
} else
|
|
38
|
+
($(t) || Array.isArray(t)) && S(t);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function $(f) {
|
|
42
|
+
return f && typeof f == "object";
|
|
43
|
+
}
|
|
44
|
+
function j(f, n) {
|
|
45
|
+
if (n || (n = 80), typeof n != "number" || n < 20)
|
|
46
|
+
throw Error(`Invalid width '${n}'. Expecting number equal or larger than 20.`);
|
|
47
|
+
const e = f.split(`
|
|
48
|
+
`);
|
|
49
|
+
let t = 0, r = null, l = [];
|
|
50
|
+
for (; t < e.length; ) {
|
|
51
|
+
const u = !!e[t].match(/\[/), a = !!e[t].match(/\],?/);
|
|
52
|
+
if (u && !a)
|
|
53
|
+
l = [e[t]], r = t;
|
|
54
|
+
else if (a && !u && r) {
|
|
55
|
+
l.push((e[t] || "").trim());
|
|
56
|
+
const c = l.join(" ");
|
|
57
|
+
c.length < n && (e.splice(r, t - r + 1, c), t = r), r = null, l = [];
|
|
58
|
+
} else
|
|
59
|
+
r && l.push((e[t] || "").trim());
|
|
60
|
+
t += 1;
|
|
61
|
+
}
|
|
62
|
+
return e.join(`
|
|
63
|
+
`);
|
|
64
|
+
}
|
|
65
|
+
function d(f, n, e, t, r) {
|
|
66
|
+
let l;
|
|
67
|
+
if (s = "", y = "", typeof e == "number")
|
|
68
|
+
for (l = 0; l < e; l += 1)
|
|
69
|
+
y += " ";
|
|
70
|
+
else
|
|
71
|
+
typeof e == "string" && (y = e);
|
|
72
|
+
if (h = n, n && typeof n != "function" && (typeof n != "object" || typeof n.length != "number"))
|
|
73
|
+
throw new Error("JSON.stringify");
|
|
74
|
+
return b("", { "": f }, t, r);
|
|
75
|
+
}
|
|
76
|
+
function b(f, n, e, t) {
|
|
77
|
+
let r, l, u, a;
|
|
78
|
+
const c = s;
|
|
79
|
+
let o, i = n[f];
|
|
80
|
+
switch (i && typeof i == "object" && typeof i.toJSON == "function" && (i = i.toJSON(f)), typeof h == "function" && (i = h.call(n, f, i)), typeof i) {
|
|
81
|
+
case "function":
|
|
82
|
+
return i;
|
|
83
|
+
case "string":
|
|
84
|
+
return g(i, t);
|
|
85
|
+
case "number":
|
|
86
|
+
return isFinite(i) ? String(i) : "null";
|
|
87
|
+
case "boolean":
|
|
88
|
+
case "null":
|
|
89
|
+
return String(i);
|
|
90
|
+
case "object":
|
|
91
|
+
if (!i)
|
|
92
|
+
return "null";
|
|
93
|
+
if (s += y, o = [], Object.prototype.toString.apply(i) === "[object Array]") {
|
|
94
|
+
for (a = i.length, r = 0; r < a; r += 1)
|
|
95
|
+
o[r] = b(r, i, e, t) || "null";
|
|
96
|
+
return u = o.length === 0 ? "[]" : s ? `[
|
|
97
|
+
${s}${o.join(`,
|
|
98
|
+
${s}`)}
|
|
99
|
+
${c}]` : `[${o.join(",")}]`, s = c, u;
|
|
100
|
+
}
|
|
101
|
+
if (h && typeof h == "object")
|
|
102
|
+
for (a = h.length, r = 0; r < a; r += 1)
|
|
103
|
+
typeof h[r] == "string" && (l = h[r], u = b(l, i, e, t), u && o.push((e ? A(l, t) : g(l, t)) + (s ? ": " : ":") + u));
|
|
104
|
+
else
|
|
105
|
+
for (l in i)
|
|
106
|
+
Object.prototype.hasOwnProperty.call(i, l) && (u = b(l, i, e, t), u && o.push((e ? A(l, t) : g(l, t)) + (s ? ": " : ":") + u));
|
|
107
|
+
return u = o.length === 0 ? "{}" : s ? `{
|
|
108
|
+
${s}${o.join(`,
|
|
109
|
+
${s}`)}
|
|
110
|
+
${c}}` : `{${o.join(",")}}`, s = c, u;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
function g(f, n) {
|
|
114
|
+
p.lastIndex = 0;
|
|
115
|
+
let e = '"';
|
|
116
|
+
return n === "single" && (e = "'"), p.test(f) ? e + f.replace(p, function(t) {
|
|
117
|
+
const r = N[t];
|
|
118
|
+
return typeof r == "string" ? r : `\\u${`0000${t.charCodeAt(0).toString(16)}`.slice(-4)}`;
|
|
119
|
+
}) + e : e + f + e;
|
|
120
|
+
}
|
|
121
|
+
function A(f, n) {
|
|
122
|
+
return O.test(f) ? f : g(f, n);
|
|
123
|
+
}
|
|
124
|
+
export {
|
|
125
|
+
x as c
|
|
126
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { createLogger as l } from "@web-utils/core";
|
|
2
|
+
const a = {
|
|
3
|
+
AliOSS: {
|
|
4
|
+
url: "https://cdn.staticfile.org/ali-oss/6.17.1/aliyun-oss-sdk.min.js",
|
|
5
|
+
title: "阿里云云图片上传,需引入OSS的sdk",
|
|
6
|
+
github: "https://github.com/ali-sdk/ali-oss/"
|
|
7
|
+
},
|
|
8
|
+
Map: {
|
|
9
|
+
url: "https://webapi.amap.com/maps?v=1.4.11&key=xxxxx&plugin=AMap.PlaceSearch,https://webapi.amap.com/ui/1.0/main.js?v=1.0.11",
|
|
10
|
+
title: "地图组件,需引入高德SDK"
|
|
11
|
+
},
|
|
12
|
+
MapUi: {
|
|
13
|
+
url: "https://webapi.amap.com/ui/1.0/main.js?v=1.0.11",
|
|
14
|
+
title: "地图组件,需引入高德UISDK"
|
|
15
|
+
},
|
|
16
|
+
Sortable: {
|
|
17
|
+
url: "https://cdn.staticfile.org/Sortable/1.10.0-rc2/Sortable.min.js",
|
|
18
|
+
title: "拖拽,需引入sortableJs",
|
|
19
|
+
github: "https://github.com/SortableJS/Sortable"
|
|
20
|
+
},
|
|
21
|
+
Screenshot: {
|
|
22
|
+
url: "https://cdn.staticfile.org/html2canvas/0.5.0-beta4/html2canvas.min.js",
|
|
23
|
+
title: "需引入html2canvas依赖包",
|
|
24
|
+
github: "https://github.com/niklasvh/html2canvas/"
|
|
25
|
+
},
|
|
26
|
+
CryptoJS: {
|
|
27
|
+
url: "https://avuejs.com/cdn/CryptoJS.js",
|
|
28
|
+
title: "七牛云图片上传,需引入CryptoJS"
|
|
29
|
+
},
|
|
30
|
+
hljs: {
|
|
31
|
+
url: "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js",
|
|
32
|
+
title: "需引入hljs框架包",
|
|
33
|
+
github: "https://github.com/highlightjs/highlight.js"
|
|
34
|
+
},
|
|
35
|
+
"file-saver": {
|
|
36
|
+
url: "https://cdn.staticfile.org/FileSaver.js/2014-11-29/FileSaver.min.js",
|
|
37
|
+
title: "需引入文件操作包",
|
|
38
|
+
github: "https://github.com/eligrey/FileSaver.js"
|
|
39
|
+
},
|
|
40
|
+
xlsx: {
|
|
41
|
+
url: "https://cdn.staticfile.org/xlsx/0.18.2/xlsx.full.min.js",
|
|
42
|
+
title: "需引入excel操作包",
|
|
43
|
+
github: "https://github.com/protobi/js-xlsx"
|
|
44
|
+
},
|
|
45
|
+
mock: {
|
|
46
|
+
url: "https://cdn.staticfile.org/Mock.js/1.0.1-beta3/mock-min.js",
|
|
47
|
+
title: "需要引入mock模拟数据包",
|
|
48
|
+
github: "https://github.com/Colingo/mock"
|
|
49
|
+
}
|
|
50
|
+
}, o = (() => ({
|
|
51
|
+
logs: function(s) {
|
|
52
|
+
const t = a[s], i = l(s);
|
|
53
|
+
i.warning(t.title), i.warning(`CDN:${t.url || "-"}`), i.warning(`GITHUB:${t.github || "-"}`);
|
|
54
|
+
}
|
|
55
|
+
}))();
|
|
56
|
+
export {
|
|
57
|
+
o as p
|
|
58
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const a = {
|
|
2
|
+
methods: {
|
|
3
|
+
getSlotName(s = {}, n = "D", e) {
|
|
4
|
+
const r = {
|
|
5
|
+
F: "Form",
|
|
6
|
+
H: "Header",
|
|
7
|
+
E: "Error",
|
|
8
|
+
L: "Label",
|
|
9
|
+
S: "Search",
|
|
10
|
+
T: "Type",
|
|
11
|
+
D: ""
|
|
12
|
+
}, t = s.prop + r[n];
|
|
13
|
+
return e ? e[t] : t;
|
|
14
|
+
},
|
|
15
|
+
getSlotList(s = [], n, e) {
|
|
16
|
+
return e = e.map((r) => r.prop), Object.keys(n).filter((r) => {
|
|
17
|
+
let t = !1;
|
|
18
|
+
return e.includes(r) || s.forEach((o) => {
|
|
19
|
+
r.includes(o) && (t = !0);
|
|
20
|
+
}), t;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
a as s
|
|
27
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
const n = {
|
|
2
|
+
mounted() {
|
|
3
|
+
this.value >= 0 && (this.currentIndex = this.value), this.updateIndex();
|
|
4
|
+
},
|
|
5
|
+
methods: {
|
|
6
|
+
updateIndex() {
|
|
7
|
+
if (!this.$children || !this.$children.length)
|
|
8
|
+
return;
|
|
9
|
+
this.number = this.$children.length;
|
|
10
|
+
const e = this.$children;
|
|
11
|
+
for (let t = 0; t < e.length; t++)
|
|
12
|
+
e[t].currentIndex = t, e[t].currentSelected && (this.index = t);
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
props: {
|
|
16
|
+
value: Number
|
|
17
|
+
},
|
|
18
|
+
watch: {
|
|
19
|
+
currentIndex(e, t) {
|
|
20
|
+
t > -1 && this.$children[t] && (this.$children[t].currentSelected = !1), e > -1 && this.$children[e] && (this.$children[e].currentSelected = !0), this.$emit("input", e), this.$emit("on-index-change", e, t);
|
|
21
|
+
},
|
|
22
|
+
index(e) {
|
|
23
|
+
this.currentIndex = e;
|
|
24
|
+
},
|
|
25
|
+
value(e) {
|
|
26
|
+
this.index = e;
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
data() {
|
|
30
|
+
return {
|
|
31
|
+
index: -1,
|
|
32
|
+
currentIndex: this.index,
|
|
33
|
+
number: this.$children.length
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}, i = {
|
|
37
|
+
props: {
|
|
38
|
+
selected: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: !1
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
mounted() {
|
|
44
|
+
this.$parent.updateIndex();
|
|
45
|
+
},
|
|
46
|
+
beforeDestroy() {
|
|
47
|
+
const e = this.$parent;
|
|
48
|
+
this.$nextTick(() => {
|
|
49
|
+
e.updateIndex();
|
|
50
|
+
});
|
|
51
|
+
},
|
|
52
|
+
methods: {
|
|
53
|
+
onItemClick(e) {
|
|
54
|
+
if (this.$parent.preventDefault) {
|
|
55
|
+
this.$parent.$emit("on-before-index-change", this.currentIndex);
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
(typeof this.disabled == "undefined" || this.disabled === !1) && (this.currentSelected = !0, this.$parent.currentIndex = this.currentIndex, this.$nextTick(() => {
|
|
59
|
+
this.$emit("on-item-click", this.currentIndex);
|
|
60
|
+
}));
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
watch: {
|
|
64
|
+
currentSelected(e) {
|
|
65
|
+
e && (this.$parent.index = this.currentIndex);
|
|
66
|
+
},
|
|
67
|
+
selected(e) {
|
|
68
|
+
this.currentSelected = e;
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
data() {
|
|
72
|
+
return {
|
|
73
|
+
currentIndex: -1,
|
|
74
|
+
currentSelected: this.selected
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
export {
|
|
79
|
+
i as c,
|
|
80
|
+
n as p
|
|
81
|
+
};
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import { isBlank as l, isArray as g, isObject as m, isBoolean as b, isNumber as A, isString as P } from "@web-utils/core";
|
|
2
|
+
const D = "fy-", f = {
|
|
3
|
+
rowKey: "id",
|
|
4
|
+
rowParentKey: "parentId",
|
|
5
|
+
nodeKey: "id",
|
|
6
|
+
label: "label",
|
|
7
|
+
value: "value",
|
|
8
|
+
desc: "desc",
|
|
9
|
+
groups: "groups",
|
|
10
|
+
title: "title",
|
|
11
|
+
leaf: "leaf",
|
|
12
|
+
children: "children",
|
|
13
|
+
hasChildren: "hasChildren",
|
|
14
|
+
labelText: "名称",
|
|
15
|
+
disabled: "disabled"
|
|
16
|
+
}, M = {
|
|
17
|
+
name: "name",
|
|
18
|
+
url: "url",
|
|
19
|
+
fileName: "file",
|
|
20
|
+
res: ""
|
|
21
|
+
}, I = [
|
|
22
|
+
"dates",
|
|
23
|
+
"date",
|
|
24
|
+
"datetime",
|
|
25
|
+
"datetimerange",
|
|
26
|
+
"daterange",
|
|
27
|
+
"time",
|
|
28
|
+
"timerange",
|
|
29
|
+
"week",
|
|
30
|
+
"month",
|
|
31
|
+
"monthrange",
|
|
32
|
+
"year"
|
|
33
|
+
], R = ["tree", "number", "icon", "color", "table", "map"], L = ["img", "array", "url"], k = ["cascader", "tree", "select"], K = ["slider"], V = L.concat(["upload", "dynamic", "map", "checkbox", "cascader", "dynamic", "timerange", "monthrange", "daterange", "datetimerange", "dates"]), F = I.concat(["select", "checkbox", "radio", "cascader", "tree", "color", "icon", "table", "map"]), T = " | ", B = ",", y = {
|
|
34
|
+
img: /\.(gif|jpg|jpeg|png|webp|svg|GIF|JPG|JPEG|PNG|WEBP|SVG)/,
|
|
35
|
+
video: /\.(swf|avi|flv|mpg|rm|mov|wav|asf|3gp|mkv|rmvb|ogg|mp4)/,
|
|
36
|
+
audio: /\.(mp3|wav|MP3|WAV)/
|
|
37
|
+
}, G = (e, n) => {
|
|
38
|
+
if (!l(e))
|
|
39
|
+
return y.audio.test(e) || n === "audio" ? "audio" : y.video.test(e) || n === "video" ? "video" : y.img.test(e) || n === "img" ? "img" : !1;
|
|
40
|
+
};
|
|
41
|
+
function U(e = 0, n = 2) {
|
|
42
|
+
return Number(e.toFixed(n));
|
|
43
|
+
}
|
|
44
|
+
function v(e, n = "") {
|
|
45
|
+
let t = u(e);
|
|
46
|
+
return l(n) || n.split(".").forEach((r) => {
|
|
47
|
+
t = l(t[r]) ? "" : t[r];
|
|
48
|
+
}), t;
|
|
49
|
+
}
|
|
50
|
+
const x = (e) => new Function(`return ${e}`)();
|
|
51
|
+
function J(e, n = "", t) {
|
|
52
|
+
let r;
|
|
53
|
+
return l(t) ? g(t) ? r = `obj.${n}=[]` : m(t) ? r = `obj.${n}={}` : b(t) || A(t) ? r = `obj.${n}=undefined` : r = `obj.${n}=''` : P(t) ? r = `obj.${n}='${t}'` : r = `obj.${n}=${t}`, x(r), e;
|
|
54
|
+
}
|
|
55
|
+
function W(e, n) {
|
|
56
|
+
typeof e == "object" && e instanceof Blob && (e = URL.createObjectURL(e));
|
|
57
|
+
const t = document.createElement("a");
|
|
58
|
+
t.href = e, t.download = n || "";
|
|
59
|
+
let r;
|
|
60
|
+
window.MouseEvent ? r = new MouseEvent("click") : (r = document.createEvent("MouseEvents"), r.initMouseEvent(
|
|
61
|
+
"click",
|
|
62
|
+
!0,
|
|
63
|
+
!1,
|
|
64
|
+
window,
|
|
65
|
+
0,
|
|
66
|
+
0,
|
|
67
|
+
0,
|
|
68
|
+
0,
|
|
69
|
+
0,
|
|
70
|
+
!1,
|
|
71
|
+
!1,
|
|
72
|
+
!1,
|
|
73
|
+
!1,
|
|
74
|
+
0,
|
|
75
|
+
null
|
|
76
|
+
)), t.dispatchEvent(r);
|
|
77
|
+
}
|
|
78
|
+
function Y(e) {
|
|
79
|
+
return e.forEach((n, t) => {
|
|
80
|
+
e[t] = Number(n);
|
|
81
|
+
}), e;
|
|
82
|
+
}
|
|
83
|
+
function $(...e) {
|
|
84
|
+
let n = e[0] || {}, t = !1;
|
|
85
|
+
const r = Array.prototype.slice.call(e);
|
|
86
|
+
let s = 1, o, i, c, a, d = !1;
|
|
87
|
+
for (typeof n == "boolean" && (t = n, s++, n = e[1]); s < r.length; s++)
|
|
88
|
+
if ((o = r[s]) != null)
|
|
89
|
+
for (c in o)
|
|
90
|
+
a = o[c], i = n[c], t && (toString.call(a) === "[object Object]" || (d = toString.call(a) === "[object Array]")) ? (d ? i = toString.call(i) === "[object Array]" ? i : [] : i = toString.call(i) === "[object Object]" ? i : {}, n[c] = $(t, i, a)) : a !== void 0 && a !== i && (n[c] = a);
|
|
91
|
+
return n;
|
|
92
|
+
}
|
|
93
|
+
function H(e, n) {
|
|
94
|
+
const t = n.split("."), r = t.splice(0, 1)[0], s = {};
|
|
95
|
+
if (s[r] = {}, t.length >= 2) {
|
|
96
|
+
const o = "{", i = "}";
|
|
97
|
+
let c = "";
|
|
98
|
+
t.forEach((a) => {
|
|
99
|
+
c = `${c}${o}"${a}":`;
|
|
100
|
+
}), c = `${c}""`;
|
|
101
|
+
for (let a = 0; a < t.length; a++)
|
|
102
|
+
c = `${c}${i}`;
|
|
103
|
+
c = JSON.parse(c), s[r] = c;
|
|
104
|
+
}
|
|
105
|
+
return e = $(!0, e, s), e;
|
|
106
|
+
}
|
|
107
|
+
function q(e, n) {
|
|
108
|
+
const t = e.split(","), r = t[0].match(/:(.*?);/)[1], s = atob(t[1]);
|
|
109
|
+
let o = s.length;
|
|
110
|
+
const i = new Uint8Array(o);
|
|
111
|
+
for (; o--; )
|
|
112
|
+
i[o] = s.charCodeAt(o);
|
|
113
|
+
return new File([i], n, {
|
|
114
|
+
type: r
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
function z(e, n, t = "prop") {
|
|
118
|
+
let r = -1;
|
|
119
|
+
const s = (() => {
|
|
120
|
+
let o;
|
|
121
|
+
return e.forEach((i) => {
|
|
122
|
+
i.column ? o = "group" : i.children && (o = "tree");
|
|
123
|
+
}), o;
|
|
124
|
+
})();
|
|
125
|
+
return s === "group" ? e.forEach((o) => {
|
|
126
|
+
const i = E(o.column, n, t, !0);
|
|
127
|
+
i !== -1 && (r = i);
|
|
128
|
+
}) : s === "tree" ? r = S(e, n, { value: t }, !0) : r = E(e, n, t, !0), r;
|
|
129
|
+
}
|
|
130
|
+
function Q() {
|
|
131
|
+
const e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", n = e.length;
|
|
132
|
+
let t = "";
|
|
133
|
+
for (let r = 0; r < 16; r++)
|
|
134
|
+
t += e.charAt(Math.floor(Math.random() * n));
|
|
135
|
+
return t;
|
|
136
|
+
}
|
|
137
|
+
const u = (e) => {
|
|
138
|
+
let n;
|
|
139
|
+
if (g(e))
|
|
140
|
+
n = [];
|
|
141
|
+
else if (m(e))
|
|
142
|
+
n = {};
|
|
143
|
+
else
|
|
144
|
+
return e;
|
|
145
|
+
if (g(e)) {
|
|
146
|
+
e = e;
|
|
147
|
+
let t = 0;
|
|
148
|
+
const r = e.length;
|
|
149
|
+
for (; t < r; t++)
|
|
150
|
+
e[t] && delete e[t].$parent, n.push(u(e[t]));
|
|
151
|
+
} else if (m(e))
|
|
152
|
+
for (const t in e) {
|
|
153
|
+
const r = e[t];
|
|
154
|
+
r && delete r.$parent, n[t] = u(e[t]);
|
|
155
|
+
}
|
|
156
|
+
return n;
|
|
157
|
+
}, X = (e, n = "") => (e || (e = n), e ? (e = `${e}`, e.indexOf("%") === -1 && e.indexOf("px") === -1 && (e = `${e}px`), e) : ""), O = (e, n) => l(e) ? e : n === "number" ? Number(e) : n === "string" ? `${e}` : e, _ = (e = [], n = {}, t) => {
|
|
158
|
+
const r = n.value || f.value, s = n.children || f.children;
|
|
159
|
+
return e.forEach((o) => {
|
|
160
|
+
o[r] = O(o[r], t), o[s] && _(o[s], n, t);
|
|
161
|
+
}), e;
|
|
162
|
+
}, Z = (e, n, t) => {
|
|
163
|
+
if (l(e))
|
|
164
|
+
return n;
|
|
165
|
+
const r = n instanceof Array, s = r ? n : [n];
|
|
166
|
+
t = t || f;
|
|
167
|
+
const o = [];
|
|
168
|
+
for (let i = 0; i < s.length; i++)
|
|
169
|
+
o.push(S(e, s[i], t) || s[i]);
|
|
170
|
+
return r ? o.join(T) : o.join();
|
|
171
|
+
}, ee = (e, n = ["", "$"], t = !0) => {
|
|
172
|
+
const r = t ? u(e) : e;
|
|
173
|
+
for (const s in r)
|
|
174
|
+
n.includes("") && l(r[s]) && delete r[s], n.includes("$") && s.indexOf("$") !== -1 && delete r[s];
|
|
175
|
+
return r;
|
|
176
|
+
}, N = (e = [], n = {}) => {
|
|
177
|
+
let t = u(e);
|
|
178
|
+
const r = n[f.groups] || f.groups;
|
|
179
|
+
return e.forEach((s) => {
|
|
180
|
+
s[r] && (t = t.concat(s[r]));
|
|
181
|
+
}), t;
|
|
182
|
+
}, S = (e, n, t, r = null) => {
|
|
183
|
+
let s;
|
|
184
|
+
r || (e = N(e, t));
|
|
185
|
+
const o = (i) => {
|
|
186
|
+
const c = t.label || f.label, a = t.value || f.value, d = t.children || f.children;
|
|
187
|
+
for (let p = 0; p < i.length; p++) {
|
|
188
|
+
const h = i[p], w = h[d] || [];
|
|
189
|
+
h[a] === n ? s = r ? h : h[c] : o(w);
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
return o(e), s;
|
|
193
|
+
}, C = (e) => (Array.isArray(e) ? e : e.data) || [], te = (e, n = "", t = null) => {
|
|
194
|
+
const r = n.split(".");
|
|
195
|
+
let s = e;
|
|
196
|
+
return r[0] === "" && t !== "object" ? C(e) : (r[0] !== "" && r.forEach((o) => {
|
|
197
|
+
s = s[o];
|
|
198
|
+
}), s);
|
|
199
|
+
}, E = (e, n, t, r) => {
|
|
200
|
+
t = t || f.value;
|
|
201
|
+
for (let s = 0; s < e.length; s++)
|
|
202
|
+
if (e[s][t] === n)
|
|
203
|
+
return r ? e[s] : s;
|
|
204
|
+
return -1;
|
|
205
|
+
}, ne = (e = "", n) => {
|
|
206
|
+
const t = e.toString().length;
|
|
207
|
+
e = "";
|
|
208
|
+
for (let r = 0; r < t; r++)
|
|
209
|
+
e = e + n;
|
|
210
|
+
return e;
|
|
211
|
+
}, re = (e = [], n, t) => e.filter((r) => !l(r[n])).sort((r, s) => t(r, s)).concat(e.filter((r) => l(r[n]))), se = (e, n) => e ? (n.forEach((t) => {
|
|
212
|
+
t.includes("$") ? delete e[t] : l(e[t]) || (g(e[t]) ? e[t] = [] : m(e[t]) ? e[t] = {} : b(e[t]) || A(e[t]) ? e[t] = void 0 : e[t] = "");
|
|
213
|
+
}), e) : {}, oe = (e, n) => typeof e == "boolean" ? e : l(e) ? n : e;
|
|
214
|
+
function ie(e = {}, n) {
|
|
215
|
+
n = n || this;
|
|
216
|
+
const t = ["uploadPreview", "uploadBefore", "uploadAfter", "uploadDelete", "uploadError", "uploadExceed"], r = {};
|
|
217
|
+
return e.type === "upload" ? t.forEach((s) => {
|
|
218
|
+
e[s] || (r[s] = n[s]);
|
|
219
|
+
}) : t.forEach((s) => {
|
|
220
|
+
r[s] = n[s];
|
|
221
|
+
}), r;
|
|
222
|
+
}
|
|
223
|
+
export {
|
|
224
|
+
V as A,
|
|
225
|
+
q as B,
|
|
226
|
+
W as C,
|
|
227
|
+
M as D,
|
|
228
|
+
R as I,
|
|
229
|
+
D as K,
|
|
230
|
+
k as M,
|
|
231
|
+
K as R,
|
|
232
|
+
F as S,
|
|
233
|
+
f as a,
|
|
234
|
+
B as b,
|
|
235
|
+
O as c,
|
|
236
|
+
u as d,
|
|
237
|
+
L as e,
|
|
238
|
+
z as f,
|
|
239
|
+
H as g,
|
|
240
|
+
I as h,
|
|
241
|
+
G as i,
|
|
242
|
+
ee as j,
|
|
243
|
+
T as k,
|
|
244
|
+
re as l,
|
|
245
|
+
_ as m,
|
|
246
|
+
te as n,
|
|
247
|
+
oe as o,
|
|
248
|
+
v as p,
|
|
249
|
+
Y as q,
|
|
250
|
+
Q as r,
|
|
251
|
+
X as s,
|
|
252
|
+
ne as t,
|
|
253
|
+
ie as u,
|
|
254
|
+
Z as v,
|
|
255
|
+
U as w,
|
|
256
|
+
J as x,
|
|
257
|
+
se as y,
|
|
258
|
+
x as z
|
|
259
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
function v(r, a, d, h, i, t, f, u) {
|
|
2
|
+
var e = typeof r == "function" ? r.options : r;
|
|
3
|
+
a && (e.render = a, e.staticRenderFns = d, e._compiled = !0), h && (e.functional = !0), t && (e._scopeId = "data-v-" + t);
|
|
4
|
+
var o;
|
|
5
|
+
if (f ? (o = function(n) {
|
|
6
|
+
n = n || // cached call
|
|
7
|
+
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
8
|
+
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !n && typeof __VUE_SSR_CONTEXT__ != "undefined" && (n = __VUE_SSR_CONTEXT__), i && i.call(this, n), n && n._registeredComponents && n._registeredComponents.add(f);
|
|
9
|
+
}, e._ssrRegister = o) : i && (o = u ? function() {
|
|
10
|
+
i.call(
|
|
11
|
+
this,
|
|
12
|
+
(e.functional ? this.parent : this).$root.$options.shadowRoot
|
|
13
|
+
);
|
|
14
|
+
} : i), o)
|
|
15
|
+
if (e.functional) {
|
|
16
|
+
e._injectStyles = o;
|
|
17
|
+
var l = e.render;
|
|
18
|
+
e.render = function(p, _) {
|
|
19
|
+
return o.call(_), l(p, _);
|
|
20
|
+
};
|
|
21
|
+
} else {
|
|
22
|
+
var s = e.beforeCreate;
|
|
23
|
+
e.beforeCreate = s ? [].concat(s, o) : [o];
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
exports: r,
|
|
27
|
+
options: e
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
v as n
|
|
32
|
+
};
|