@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
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { n as d } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
var r = function() {
|
|
3
|
+
var e = this, a = e.$createElement, t = e._self._c || a;
|
|
4
|
+
return t("div", {
|
|
5
|
+
staticClass: "address-input-wrapper flex-row"
|
|
6
|
+
}, [t("div", {
|
|
7
|
+
staticClass: "address-input-item-wrapper"
|
|
8
|
+
}, [t("ElCascader", {
|
|
9
|
+
attrs: {
|
|
10
|
+
options: e.options,
|
|
11
|
+
disabled: e.inputDisabled,
|
|
12
|
+
props: {
|
|
13
|
+
label: "name",
|
|
14
|
+
value: e.labelAsValue ? "name" : "id"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
model: {
|
|
18
|
+
value: e.internalVal.address,
|
|
19
|
+
callback: function(s) {
|
|
20
|
+
e.$set(e.internalVal, "address", s);
|
|
21
|
+
},
|
|
22
|
+
expression: "internalVal.address"
|
|
23
|
+
}
|
|
24
|
+
})], 1), t("div", {
|
|
25
|
+
staticClass: "address-input-item-wrapper flex-item"
|
|
26
|
+
}, [t("ElInput", {
|
|
27
|
+
attrs: {
|
|
28
|
+
placeholder: "请输入详细地址!",
|
|
29
|
+
disabled: e.inputDisabled
|
|
30
|
+
},
|
|
31
|
+
model: {
|
|
32
|
+
value: e.internalVal.detailAddress,
|
|
33
|
+
callback: function(s) {
|
|
34
|
+
e.$set(e.internalVal, "detailAddress", s);
|
|
35
|
+
},
|
|
36
|
+
expression: "internalVal.detailAddress"
|
|
37
|
+
}
|
|
38
|
+
})], 1)]);
|
|
39
|
+
}, i = [];
|
|
40
|
+
const n = {
|
|
41
|
+
name: "AddressInput",
|
|
42
|
+
inject: {
|
|
43
|
+
elForm: {
|
|
44
|
+
default: ""
|
|
45
|
+
},
|
|
46
|
+
elFormItem: {
|
|
47
|
+
default: ""
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
props: {
|
|
51
|
+
options: {
|
|
52
|
+
type: Array,
|
|
53
|
+
default() {
|
|
54
|
+
return [];
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
value: {
|
|
58
|
+
type: Object,
|
|
59
|
+
default: () => ({})
|
|
60
|
+
},
|
|
61
|
+
labelAsValue: Boolean,
|
|
62
|
+
disabled: Boolean
|
|
63
|
+
},
|
|
64
|
+
data() {
|
|
65
|
+
return {
|
|
66
|
+
internalVal: {
|
|
67
|
+
address: [],
|
|
68
|
+
detailAddress: ""
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
computed: {
|
|
73
|
+
inputDisabled() {
|
|
74
|
+
return this.disabled || (this.elForm || {}).disabled;
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
watch: {
|
|
78
|
+
value: {
|
|
79
|
+
immediate: !0,
|
|
80
|
+
deep: !0,
|
|
81
|
+
handler(e) {
|
|
82
|
+
e && (this.internalVal.address = e.address, this.internalVal.detailAddress = e.detailAddress);
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
internalVal: {
|
|
86
|
+
immediate: !0,
|
|
87
|
+
deep: !0,
|
|
88
|
+
handler(e) {
|
|
89
|
+
!e.address && !e.detailAddress ? this.$emit("input", void 0) : this.$emit("input", e);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}, l = {};
|
|
94
|
+
var u = /* @__PURE__ */ d(
|
|
95
|
+
n,
|
|
96
|
+
r,
|
|
97
|
+
i,
|
|
98
|
+
!1,
|
|
99
|
+
o,
|
|
100
|
+
null,
|
|
101
|
+
null,
|
|
102
|
+
null
|
|
103
|
+
);
|
|
104
|
+
function o(e) {
|
|
105
|
+
for (let a in l)
|
|
106
|
+
this[a] = l[a];
|
|
107
|
+
}
|
|
108
|
+
const c = /* @__PURE__ */ function() {
|
|
109
|
+
return u.exports;
|
|
110
|
+
}();
|
|
111
|
+
export {
|
|
112
|
+
c as default
|
|
113
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.address-input-wrapper{width:100%}.address-input-item-wrapper{padding-right:5px}.address-input-item-wrapper .el-cascader,.address-input-item-wrapper .el-input{width:100%}
|
package/affix/index.mjs
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { n as r } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
var h = function() {
|
|
3
|
+
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
4
|
+
return s("div", [s("div", {
|
|
5
|
+
ref: "point",
|
|
6
|
+
class: {
|
|
7
|
+
affix: t.affix
|
|
8
|
+
},
|
|
9
|
+
style: t.styles
|
|
10
|
+
}, [t._t("default")], 2), s("div", {
|
|
11
|
+
directives: [{
|
|
12
|
+
name: "show",
|
|
13
|
+
rawName: "v-show",
|
|
14
|
+
value: t.slot,
|
|
15
|
+
expression: "slot"
|
|
16
|
+
}],
|
|
17
|
+
style: t.slotStyle
|
|
18
|
+
})]);
|
|
19
|
+
}, c = [];
|
|
20
|
+
const a = {
|
|
21
|
+
name: "Affix",
|
|
22
|
+
props: {
|
|
23
|
+
target: String,
|
|
24
|
+
offsetTop: {
|
|
25
|
+
type: Number,
|
|
26
|
+
default: 0
|
|
27
|
+
},
|
|
28
|
+
offsetBottom: {
|
|
29
|
+
type: Number
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
data() {
|
|
33
|
+
return {
|
|
34
|
+
container: null,
|
|
35
|
+
affix: !1,
|
|
36
|
+
styles: {},
|
|
37
|
+
slot: !1,
|
|
38
|
+
slotStyle: {}
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
computed: {
|
|
42
|
+
offsetType() {
|
|
43
|
+
let t = "top";
|
|
44
|
+
return this.offsetBottom >= 0 && (t = "bottom"), t;
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
mounted() {
|
|
48
|
+
this.target ? this.container = document.querySelector(this.target) : this.container = document, this.container.addEventListener("scroll", this.handleScroll, !1), this.container.addEventListener("resize", this.handleScroll, !1);
|
|
49
|
+
},
|
|
50
|
+
beforeDestroy() {
|
|
51
|
+
this.container.removeEventListener("scroll", this.handleScroll, !1), this.container.removeEventListener("resize", this.handleScroll, !1);
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
getScroll(t, e) {
|
|
55
|
+
const s = e ? "pageYOffset" : "pageXOffset", i = e ? "scrollTop" : "scrollLeft";
|
|
56
|
+
let o = t[s];
|
|
57
|
+
return typeof o != "number" && (o = document.documentElement[i]), o;
|
|
58
|
+
},
|
|
59
|
+
getOffset(t) {
|
|
60
|
+
const e = t.getBoundingClientRect(), s = this.getScroll(this.container, !0), i = this.getScroll(this.container), o = document.body, n = o.clientTop || 0, f = o.clientLeft || 0;
|
|
61
|
+
return {
|
|
62
|
+
top: e.top + s - n,
|
|
63
|
+
left: e.left + i - f
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
handleScroll() {
|
|
67
|
+
const t = this.affix, e = this.getScroll(this.container, !0), s = this.getOffset(this.$el), i = this.container.innerHeight, o = this.$el.getElementsByTagName("div")[0].offsetHeight;
|
|
68
|
+
s.top - this.offsetTop < e && this.offsetType === "top" && !t ? (this.affix = !0, this.slotStyle = {
|
|
69
|
+
width: `${this.$refs.point.clientWidth}px`,
|
|
70
|
+
height: `${this.$refs.point.clientHeight}px`
|
|
71
|
+
}, this.slot = !0, this.styles = {
|
|
72
|
+
top: `${this.offsetTop}px`,
|
|
73
|
+
left: `${s.left}px`,
|
|
74
|
+
width: `${this.$el.offsetWidth}px`
|
|
75
|
+
}, this.$emit("on-change", !0)) : s.top - this.offsetTop > e && this.offsetType === "top" && t && (this.slot = !1, this.slotStyle = {}, this.affix = !1, this.styles = null, this.$emit("on-change", !1)), s.top + this.offsetBottom + o > e + i && this.offsetType === "bottom" && !t ? (this.affix = !0, this.styles = {
|
|
76
|
+
bottom: `${this.offsetBottom}px`,
|
|
77
|
+
left: `${s.left}px`,
|
|
78
|
+
width: `${this.$el.offsetWidth}px`
|
|
79
|
+
}, this.$emit("on-change", !0)) : s.top + this.offsetBottom + o < e + i && this.offsetType === "bottom" && t && (this.affix = !1, this.styles = null, this.$emit("on-change", !1));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}, l = {};
|
|
83
|
+
var p = /* @__PURE__ */ r(
|
|
84
|
+
a,
|
|
85
|
+
h,
|
|
86
|
+
c,
|
|
87
|
+
!1,
|
|
88
|
+
u,
|
|
89
|
+
null,
|
|
90
|
+
null,
|
|
91
|
+
null
|
|
92
|
+
);
|
|
93
|
+
function u(t) {
|
|
94
|
+
for (let e in l)
|
|
95
|
+
this[e] = l[e];
|
|
96
|
+
}
|
|
97
|
+
const m = /* @__PURE__ */ function() {
|
|
98
|
+
return p.exports;
|
|
99
|
+
}();
|
|
100
|
+
export {
|
|
101
|
+
m as default
|
|
102
|
+
};
|
package/affix/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.affix{z-index:10;position:fixed}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { n as a } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
var o = function() {
|
|
3
|
+
var e = this, n = e.$createElement, r = e._self._c || n;
|
|
4
|
+
return r("div", {
|
|
5
|
+
staticStyle: {
|
|
6
|
+
"padding-top": "4px"
|
|
7
|
+
}
|
|
8
|
+
}, e._l(e.menu, function(t) {
|
|
9
|
+
return r("div", {
|
|
10
|
+
key: t.key,
|
|
11
|
+
staticClass: "aside-menu-item hover-active",
|
|
12
|
+
class: {
|
|
13
|
+
active: e.$route.path === t.path
|
|
14
|
+
},
|
|
15
|
+
on: {
|
|
16
|
+
click: function(_) {
|
|
17
|
+
return e.$router.push(t.path);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}, [e._t("default", function() {
|
|
21
|
+
return [r("i", {
|
|
22
|
+
staticClass: "egd-icon-common",
|
|
23
|
+
class: t.icon
|
|
24
|
+
}), e._v(" " + e._s(t.label) + " ")];
|
|
25
|
+
}, {
|
|
26
|
+
item: t
|
|
27
|
+
})], 2);
|
|
28
|
+
}), 0);
|
|
29
|
+
}, c = [];
|
|
30
|
+
const u = {
|
|
31
|
+
name: "AsideMenu",
|
|
32
|
+
props: {
|
|
33
|
+
menu: {
|
|
34
|
+
type: Array,
|
|
35
|
+
default: () => []
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}, s = {};
|
|
39
|
+
var i = /* @__PURE__ */ a(
|
|
40
|
+
u,
|
|
41
|
+
o,
|
|
42
|
+
c,
|
|
43
|
+
!1,
|
|
44
|
+
l,
|
|
45
|
+
null,
|
|
46
|
+
null,
|
|
47
|
+
null
|
|
48
|
+
);
|
|
49
|
+
function l(e) {
|
|
50
|
+
for (let n in s)
|
|
51
|
+
this[n] = s[n];
|
|
52
|
+
}
|
|
53
|
+
const v = /* @__PURE__ */ function() {
|
|
54
|
+
return i.exports;
|
|
55
|
+
}();
|
|
56
|
+
export {
|
|
57
|
+
v as default
|
|
58
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.aside-menu-item{padding:8px 10px}
|
package/avatar/index.mjs
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { n as r } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
var n = function() {
|
|
3
|
+
var e = this, t = e.$createElement, s = e._self._c || t;
|
|
4
|
+
return s("span", {
|
|
5
|
+
class: ["avue-avatar", e.sizeCls, "avue-avatar__icon"],
|
|
6
|
+
style: e.sizeStyle
|
|
7
|
+
}, [e.src ? s("img", {
|
|
8
|
+
staticClass: "avue-avatar__images",
|
|
9
|
+
attrs: {
|
|
10
|
+
src: e.src,
|
|
11
|
+
alt: ""
|
|
12
|
+
}
|
|
13
|
+
}) : e.icon ? s("i", {
|
|
14
|
+
class: e.icon
|
|
15
|
+
}) : s("span", {
|
|
16
|
+
ref: "avatarChildren",
|
|
17
|
+
staticClass: "avue-avatar__string",
|
|
18
|
+
style: e.sizeChildrenStyle
|
|
19
|
+
}, [e._t("default")], 2)]);
|
|
20
|
+
}, l = [];
|
|
21
|
+
const i = "avue-avatar", c = {
|
|
22
|
+
name: "Avatar",
|
|
23
|
+
props: {
|
|
24
|
+
src: String,
|
|
25
|
+
shape: {
|
|
26
|
+
validator: (e) => ["circle", "square"].includes(e),
|
|
27
|
+
type: String,
|
|
28
|
+
default: "circle"
|
|
29
|
+
},
|
|
30
|
+
size: {
|
|
31
|
+
validator: (e) => typeof e == "number" || ["small", "large", "default"].includes(e),
|
|
32
|
+
default: "default"
|
|
33
|
+
},
|
|
34
|
+
icon: String
|
|
35
|
+
},
|
|
36
|
+
data() {
|
|
37
|
+
return {
|
|
38
|
+
scale: 1
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
computed: {
|
|
42
|
+
sizeChildrenStyle() {
|
|
43
|
+
let e = {};
|
|
44
|
+
const t = `scale(${this.scale}) translateX(-50%)`;
|
|
45
|
+
return e = {
|
|
46
|
+
msTransform: t,
|
|
47
|
+
WebkitTransform: t,
|
|
48
|
+
transform: t
|
|
49
|
+
}, typeof size == "number" && (e.lineHeight = `${this.size}px`), e;
|
|
50
|
+
},
|
|
51
|
+
sizeCls() {
|
|
52
|
+
return {
|
|
53
|
+
[`${i}--${this.shape}`]: this.shape,
|
|
54
|
+
[`${i}--lg`]: this.size === "large",
|
|
55
|
+
[`${i}--sm`]: this.size === "small"
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
sizeStyle() {
|
|
59
|
+
return typeof this.size == "number" ? {
|
|
60
|
+
width: `${this.size}px`,
|
|
61
|
+
height: `${this.size}px`,
|
|
62
|
+
lineHeight: `${this.size}px`,
|
|
63
|
+
fontSize: this.icon ? `${this.size / 2}px` : "18px"
|
|
64
|
+
} : {};
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
updated() {
|
|
68
|
+
this.$nextTick(() => {
|
|
69
|
+
this.setScale();
|
|
70
|
+
});
|
|
71
|
+
},
|
|
72
|
+
mounted() {
|
|
73
|
+
this.$nextTick(() => {
|
|
74
|
+
this.setScale();
|
|
75
|
+
});
|
|
76
|
+
},
|
|
77
|
+
methods: {
|
|
78
|
+
setScale() {
|
|
79
|
+
const e = this.$refs.avatarChildren;
|
|
80
|
+
if (e) {
|
|
81
|
+
const t = e.offsetWidth, s = this.$el.getBoundingClientRect().width;
|
|
82
|
+
s - 8 < t ? this.scale = (s - 8) / t : this.scale = 1;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}, a = {};
|
|
87
|
+
var o = /* @__PURE__ */ r(
|
|
88
|
+
c,
|
|
89
|
+
n,
|
|
90
|
+
l,
|
|
91
|
+
!1,
|
|
92
|
+
h,
|
|
93
|
+
null,
|
|
94
|
+
null,
|
|
95
|
+
null
|
|
96
|
+
);
|
|
97
|
+
function h(e) {
|
|
98
|
+
for (let t in a)
|
|
99
|
+
this[t] = a[t];
|
|
100
|
+
}
|
|
101
|
+
const d = /* @__PURE__ */ function() {
|
|
102
|
+
return o.exports;
|
|
103
|
+
}();
|
|
104
|
+
export {
|
|
105
|
+
d as default
|
|
106
|
+
};
|
package/avatar/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-avatar{box-sizing:border-box;color:#fff;font-variant:tabular-nums;white-space:nowrap;text-align:center;vertical-align:middle;background:#ccc;border-radius:50%;width:32px;height:32px;margin:0;padding:0;font-size:14px;line-height:32px;list-style:none;display:inline-block;position:relative;overflow:hidden}.avue-avatar__images{width:100%;height:100%}.avue-avatar__icon{font-size:18px}.avue-avatar__string{transform-origin:0;position:absolute;left:50%}.avue-avatar--lg{border-radius:50%;width:40px;height:40px;font-size:24px;line-height:40px}.avue-avatar--sm{border-radius:50%;width:24px;height:24px;font-size:14px;line-height:24px}.avue-avatar--square{border-radius:4px}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
var h = Object.defineProperty, g = Object.defineProperties;
|
|
2
|
+
var y = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var l = Object.getOwnPropertySymbols;
|
|
4
|
+
var B = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var c = (o, t, e) => t in o ? h(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, u = (o, t) => {
|
|
6
|
+
for (var e in t || (t = {}))
|
|
7
|
+
B.call(t, e) && c(o, e, t[e]);
|
|
8
|
+
if (l)
|
|
9
|
+
for (var e of l(t))
|
|
10
|
+
v.call(t, e) && c(o, e, t[e]);
|
|
11
|
+
return o;
|
|
12
|
+
}, p = (o, t) => g(o, y(t));
|
|
13
|
+
var d = (o, t, e) => new Promise((s, a) => {
|
|
14
|
+
var f = (n) => {
|
|
15
|
+
try {
|
|
16
|
+
i(e.next(n));
|
|
17
|
+
} catch (r) {
|
|
18
|
+
a(r);
|
|
19
|
+
}
|
|
20
|
+
}, m = (n) => {
|
|
21
|
+
try {
|
|
22
|
+
i(e.throw(n));
|
|
23
|
+
} catch (r) {
|
|
24
|
+
a(r);
|
|
25
|
+
}
|
|
26
|
+
}, i = (n) => n.done ? s(n.value) : Promise.resolve(n.value).then(f, m);
|
|
27
|
+
i((e = e.apply(o, t)).next());
|
|
28
|
+
});
|
|
29
|
+
import { isFunction as x, error as S } from "@web-utils/core";
|
|
30
|
+
import { n as k } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
31
|
+
const L = {
|
|
32
|
+
props: {
|
|
33
|
+
type: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: "primary"
|
|
36
|
+
},
|
|
37
|
+
size: String,
|
|
38
|
+
icon: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: ""
|
|
41
|
+
},
|
|
42
|
+
nativeType: {
|
|
43
|
+
type: String,
|
|
44
|
+
default: "button"
|
|
45
|
+
},
|
|
46
|
+
loading: Boolean,
|
|
47
|
+
disabled: Boolean,
|
|
48
|
+
plain: Boolean,
|
|
49
|
+
autofocus: Boolean,
|
|
50
|
+
round: Boolean
|
|
51
|
+
}
|
|
52
|
+
}, b = {
|
|
53
|
+
name: "AwesomeButton",
|
|
54
|
+
mixins: [L],
|
|
55
|
+
props: {
|
|
56
|
+
text: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: ""
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
data() {
|
|
62
|
+
return {
|
|
63
|
+
isLoading: !1
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
methods: {
|
|
67
|
+
onClick(o) {
|
|
68
|
+
return d(this, null, function* () {
|
|
69
|
+
this.isLoading = !0;
|
|
70
|
+
const { click: t } = this.$listeners;
|
|
71
|
+
if (x(t))
|
|
72
|
+
try {
|
|
73
|
+
yield t(o);
|
|
74
|
+
} catch (e) {
|
|
75
|
+
S.call(this, e);
|
|
76
|
+
}
|
|
77
|
+
this.isLoading = !1;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
render(o) {
|
|
82
|
+
var e, s;
|
|
83
|
+
const t = (s = (e = this.$scopedSlots).default) == null ? void 0 : s.call(e);
|
|
84
|
+
return o(
|
|
85
|
+
"ElButton",
|
|
86
|
+
{ on: { click: this.onClick }, props: p(u({}, this.$props), { disabled: this.isLoading }) },
|
|
87
|
+
t && (t[0].tag || t[0].text) ? t : this.text
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
let w, C;
|
|
92
|
+
const _ = {};
|
|
93
|
+
var $ = /* @__PURE__ */ k(
|
|
94
|
+
b,
|
|
95
|
+
w,
|
|
96
|
+
C,
|
|
97
|
+
!1,
|
|
98
|
+
z,
|
|
99
|
+
null,
|
|
100
|
+
null,
|
|
101
|
+
null
|
|
102
|
+
);
|
|
103
|
+
function z(o) {
|
|
104
|
+
for (let t in _)
|
|
105
|
+
this[t] = _[t];
|
|
106
|
+
}
|
|
107
|
+
const E = /* @__PURE__ */ function() {
|
|
108
|
+
return $.exports;
|
|
109
|
+
}();
|
|
110
|
+
export {
|
|
111
|
+
E as default
|
|
112
|
+
};
|
package/base.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.border-bottom{border-bottom:1px solid #d7dae0}.clear-fix:after{clear:both;visibility:hidden;content:" ";height:0;display:block}.flex-row{flex-direction:row;flex-shrink:0;display:flex}.flex-row.vertical-center{align-items:center}.flex-row.vertical-start{align-items:flex-start}.flex-row.horizon-center{justify-content:center}.text-center{text-align:center}.flex-column{flex-direction:column;display:flex}.flex-column.vertical-center{justify-content:center}.flex-column.horizon-center{align-items:center}.flex-item,.flex-item-relative{flex:auto}.flex-item-relative{position:relative}.flex-item-relative .flex-content{position:absolute;top:0;bottom:0;left:0;right:0}.flex-not-shrink{flex-shrink:0}body{font-family:Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}*{outline:none}.avue-canvas{display:none}.avue-ghost{opacity:.5;background:#c8ebfb}.avue--disabled{color:#ccc}.avue--detail .hover-row td{background-color:#fff!important}.avue--detail .avue-group__header{border-bottom:1px solid #eee;padding-left:10px}.avue--detail .el-collapse-item__header{margin-bottom:0}.avue--detail .el-input.is-disabled .el-input__inner,.avue--detail .el-textarea.is-disabled .el-textarea__inner,.avue--detail .el-range-editor.is-disabled,.avue--detail .el-range-editor.is-disabled input{color:#606266;background-color:#fff;padding-left:0}.avue--detail .el-input-number__decrease,.avue--detail .el-input-number__increase{display:none}.avue--detail .el-input-group__append,.avue--detail .el-input-group__prepend{background-color:transparent;border:none}.avue--detail .el-input__suffix,.avue--detail .el-input__prefix{display:none}.avue--detail .el-input__inner,.avue--detail .el-textarea__inner{border:none}.avue--detail .el-input__inner::-webkit-input-placeholder{color:transparent!important}.avue--detail .el-input__inner::-moz-placeholder{color:transparent!important}.avue--detail .el-input__inner::-ms-input-placeholder{color:transparent!important}.avue--detail .el-input__inner::placeholder{color:transparent!important}.avue--detail .el-textarea__inner::-webkit-input-placeholder{color:transparent!important}.avue--detail .el-textarea__inner::-moz-placeholder{color:transparent!important}.avue--detail .el-textarea__inner::-ms-input-placeholder{color:transparent!important}.avue--detail .el-textarea__inner::placeholder{color:transparent!important}.avue--detail .el-input__inner::-webkit-input-placeholder{color:transparent!important}.avue--detail .el-input__inner::-moz-placeholder{color:transparent!important}.avue--detail .el-input__inner::-ms-input-placeholder{color:transparent!important}.avue--detail .el-input__inner::placeholder{color:transparent!important}.avue--detail .el-textarea__inner::-webkit-input-placeholder{color:transparent!important}.avue--detail .el-textarea__inner::-moz-placeholder{color:transparent!important}.avue--detail .el-textarea__inner::-ms-input-placeholder{color:transparent!important}.avue--detail .el-textarea__inner::placeholder{color:transparent!important}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#409eff;border-color:#409eff}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:#fff}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#409eff;border-color:#409eff}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:#fff}.avue--detail .el-checkbox__input.is-disabled+span.el-checkbox__label,.avue--detail .el-radio__input.is-disabled+span.el-radio__label{color:#606266}.avue--detail .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,.avue--detail .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{display:none}.avue--detail .el-row{border-top:1px solid #ebeef5;border-left:1px solid #ebeef5}.avue--detail .el-col{border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5;margin:0!important;padding:0!important}.avue--detail .el-form-item--medium.el-form-item,.avue--detail .el-form-item--mini.el-form-item,.avue--detail .el-form-item--small.el-form-item{background:#fafafa;margin:0}.avue--detail .el-form-item__label,.avue--detail .el-form-item__content{padding:2px 0}.avue--detail .el-form-item__label{box-sizing:border-box;color:#909399;padding-right:20px}.avue--detail .el-tag{margin-left:0!important;margin-right:6px!important}.avue--detail .avue-crud .el-form-item__content{border:none}.avue--detail .el-form-item__content{box-sizing:border-box;background-color:#fff;border-left:1px solid #ebeef5;padding-left:20px}.avue--detail__column .el-form-item{background-color:#fff}.avue--detail__column .el-form-item__label{padding-right:12px}.avue--detail__column .el-form-item__content{border-left:none;padding-left:0}.avue-grid{background-image:linear-gradient(rgba(0,0,0,.1) 1px,transparent 0),linear-gradient(90deg,rgba(0,0,0,.1) 1px,transparent 0);background-size:20px 20px,20px 20px;width:100%;height:100%;position:absolute;top:0;left:0}.avue-mask{z-index:1000;background-color:rgba(55,55,55,.6);height:100%;position:fixed;top:0;bottom:0;left:0;right:0}.avue--card{border-radius:5px;box-shadow:2px 1px 8px rgba(0,0,0,.15)}.avue-dialog{overflow:visible}.avue-dialog .el-dialog{border-radius:2px;flex-direction:column;max-width:calc(100% - 100px);min-height:180px;max-height:calc(100% - 200px);display:flex;position:absolute;top:0;left:50%;transform:translate(-50%)}.avue-dialog .el-dialog__header{border-bottom:1px solid #f0f0f0;min-height:20px;padding:16px 24px}.avue-dialog .el-dialog__title,.avue-dialog .el-drawer__header{color:rgba(0,0,0,.85);word-wrap:break-word;font-weight:500}.avue-dialog .el-dialog__body{margin-bottom:50px;padding:30px 20px 20px}.avue-dialog .el-dialog .el-dialog__body{flex:1;overflow-x:hidden;overflow-y:auto}.avue-dialog .el-drawer{flex-direction:column;display:flex;position:absolute;top:0;right:0}.avue-dialog .el-drawer__header{border-bottom:1px solid #f0f0f0;min-height:20px;margin:0;padding:16px 10px 16px 24px}.avue-dialog .el-drawer,.avue-dialog .el-drawer__body{flex:1;overflow:auto}.avue-dialog__footer{z-index:4;box-sizing:border-box;text-align:right;background-color:#fff;border-top:1px solid #f0f0f0;width:100%;padding:0 10px;display:block}.avue-dialog__footer>*{margin-top:10px;margin-bottom:10px}.avue-dialog__footer--left{text-align:left}.avue-dialog__footer--center{text-align:center}.avue-dialog--fullscreen .el-dialog{max-width:100%;height:100%;max-height:100%;top:0;left:0;transform:translate(0);width:100%!important}.avue-dialog--top .el-dialog{top:15%}.avue-dialog--none .el-dialog__body{margin-bottom:0}.avue-opacity{opacity:0}.avue-opacity--active{opacity:1}.fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.flow-background-image{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTBoNDBNMTAgMHY0ME0wIDIwaDQwTTIwIDB2NDBNMCAzMGg0ME0zMCAwdjQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlMGUwZTAiIG9wYWNpdHk9Ii4yIi8+PHBhdGggZD0iTTQwIDBIMHY0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+)}.avue-crud .el-select,.avue-crud .el-date-editor.el-input,.avue-crud .el-date-editor.el-input__inner,.avue-crud .el-cascader,.avue-crud .avue-input-number,.avue-form .el-select,.avue-form .el-date-editor.el-input,.avue-form .el-date-editor.el-input__inner,.avue-form .el-cascader,.avue-form .avue-input-number{width:100%!important}.avue-crud .el-form-item.el-form-item--small .el-input-group--append .el-input__inner,.avue-form .el-form-item.el-form-item--small .el-input-group--append .el-input__inner{height:33px;line-height:33px}.avue-crud .el-input-number .el-input__inner,.avue-form .el-input-number .el-input__inner{text-align:left}.avue-crud .avue-crud__left .el-button+.el-button,.avue-crud .avue-crud__right .el-button+.el-button,.avue-form .avue-crud__left .el-button+.el-button,.avue-form .avue-crud__right .el-button+.el-button{margin-left:0}.avue-crud .avue-crud__left .el-button,.avue-crud .avue-crud__right .el-button,.avue-form .avue-crud__left .el-button,.avue-form .avue-crud__right .el-button{margin-bottom:0;margin-right:5px}.avue-crud .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content,.avue-form .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{color:#409eff}.avue-crud .el-tree-node__label,.avue-form .el-tree-node__label{margin-left:8px}.avue-crud .el-input__inner,.avue-form .el-input__inner{height:38px;line-height:38px}.avue-crud .el-range-editor--small,.avue-form .el-range-editor--small{height:32px;line-height:32px}.avue-crud .el-range-editor--mini,.avue-form .el-range-editor--mini{height:28px;line-height:28px}.avue-crud .el-input--small input,.avue-form .el-input--small input{height:32px;line-height:32px}.avue-crud .el-input--mini input,.avue-form .el-input--mini input{height:28px;line-height:28px}.avue-crud .el-table--medium td,.avue-form .el-table--medium td{padding:7px 0!important}.avue-crud .el-tooltip__popper,.avue-form .el-tooltip__popper{max-width:60%}.avue-crud .el-dropdown-menu__item,.avue-form .el-dropdown-menu__item{line-height:25px}.avue-crud .el-table-filter__list,.avue-form .el-table-filter__list{width:100%;height:300px;overflow-y:auto}@media screen and (max-width:992px){.el-dialog__footer{justify-content:center;display:flex}.el-button+.el-button{margin-left:0}.el-upload-list--picture-card .el-upload-list__item,.avue-upload__avatar,.el-upload--picture-card,.avue-upload__icon{width:100px;height:100px;line-height:100px}.avue-tip{display:none}.avue-crud__menu{display:block!important}.avue-crud .el-form-item{width:100%}.avue-crud .el-form-item__label{flex:1}.avue-crud .el-form-item__content{flex:5}.avue-crud__searchMenu{text-align:center}.avue-crud__title{display:block!important}.avue-crud__title p{margin-bottom:20px}.avue-crud__title .avue-date__group{justify-content:center}.avue-crud__title .avue-date__date{display:none}.avue-crud__title .avue-date__radio{width:100%}.avue-crud__title .avue-date__radio .el-radio-group{display:flex}.avue-crud__title .avue-date__radio .el-radio-group label,.avue-crud__title .avue-date__radio .el-radio-group .el-radio-button__inner{width:100%}.avue-crud__title .avue-date__radio .el-radio-button:last-child .el-radio-button__inner{border-right:1px solid #dcdfe6;border-radius:0 4px 4px 0}}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { n as s } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
var r = function() {
|
|
3
|
+
var e = this, t = e.$createElement, a = e._self._c || t;
|
|
4
|
+
return a("ul", {
|
|
5
|
+
staticClass: "capsule-tab"
|
|
6
|
+
}, e._l(e.tabs, function(n) {
|
|
7
|
+
return a("li", {
|
|
8
|
+
key: n.value,
|
|
9
|
+
class: ["tab-item", {
|
|
10
|
+
active: e.value === n.value,
|
|
11
|
+
single: e.tabs.length === 1
|
|
12
|
+
}],
|
|
13
|
+
on: {
|
|
14
|
+
click: function(i) {
|
|
15
|
+
return e.$emit("input", n.value);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}, [e._v(" " + e._s(n.label) + " ")]);
|
|
19
|
+
}), 0);
|
|
20
|
+
}, u = [];
|
|
21
|
+
const c = {
|
|
22
|
+
name: "CapsuleTab",
|
|
23
|
+
props: {
|
|
24
|
+
tabs: {
|
|
25
|
+
type: Array,
|
|
26
|
+
default: () => []
|
|
27
|
+
},
|
|
28
|
+
value: {
|
|
29
|
+
type: String
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}, l = {};
|
|
33
|
+
var o = /* @__PURE__ */ s(
|
|
34
|
+
c,
|
|
35
|
+
r,
|
|
36
|
+
u,
|
|
37
|
+
!1,
|
|
38
|
+
_,
|
|
39
|
+
null,
|
|
40
|
+
null,
|
|
41
|
+
null
|
|
42
|
+
);
|
|
43
|
+
function _(e) {
|
|
44
|
+
for (let t in l)
|
|
45
|
+
this[t] = l[t];
|
|
46
|
+
}
|
|
47
|
+
const p = /* @__PURE__ */ function() {
|
|
48
|
+
return o.exports;
|
|
49
|
+
}();
|
|
50
|
+
export {
|
|
51
|
+
p as default
|
|
52
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.capsule-tab{margin-right:10px;display:inline}.capsule-tab .tab-item{cursor:pointer;background-color:#fafafa;border:1px solid #ebeef5;border-right:none;padding:2px 14px;display:inline}.capsule-tab .tab-item.active{color:#fff;background-color:#ef6666}.capsule-tab .tab-item:first-child{border-radius:12px 0 0 12px}.capsule-tab .tab-item:last-child{border-right:1px solid #ccc;border-radius:0 12px 12px 0}.capsule-tab .tab-item:last-child.single{border-radius:12px}
|