@web-utils/component 2.0.14 → 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/{dist/components/address-input/index.js → address-input/index.mjs} +9 -9
- package/affix/index.mjs +102 -0
- package/affix/style.css +1 -0
- package/aside-menu/index.mjs +58 -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/{dist/components/capsule-tab/index.js → capsule-tab/index.mjs} +10 -10
- package/{dist/components/capsule-tab → capsule-tab}/style.css +1 -1
- 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/{dist/components/chunk-file-uploader/index.js → chunk-file-uploader/index.mjs} +8 -6
- 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/{dist/chunks/76680a03.js → chunks/form-input-mixin.IKogWBfn.mjs} +2 -2
- package/{dist/chunks/b4acd3a6.js → chunks/form-item-mixin.BilKDUlK.mjs} +28 -14
- package/{dist/chunks/f71045fc.js → chunks/index.LGsb2aDq.mjs} +7 -6
- package/chunks/init.Ac4dKUJB.mjs +122 -0
- 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/{dist/chunks/8c0142e0.js → chunks/tab-mixin.tM9jcRT8.mjs} +1 -1
- package/chunks/util.C2Bhx22L.mjs +259 -0
- package/{dist/chunks/5d4282fb.js → chunks/vueComponentNormalizer.JwmUNtgn.mjs} +3 -1
- package/{dist/components/code-mirror-editor/index.js → code-mirror-editor/index.mjs} +41 -38
- package/code-mirror-editor/style.css +1 -0
- package/{dist/components/color-picker/index.js → color-picker/index.mjs} +41 -23
- package/comment/index.mjs +90 -0
- package/comment/style.css +1 -0
- package/{dist/components/confirm-button/index.js → confirm-button/index.mjs} +2 -2
- package/{dist/components/confirmable/index.js → confirmable/index.mjs} +2 -2
- package/{dist/components/context-menu/index.js → context-menu/index.mjs} +27 -15
- 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/{dist/components/data-table-picker/index.js → data-table-picker/index.mjs} +22 -22
- 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/{dist/components/dynamic-table/index.js → dynamic-table/index.mjs} +11 -11
- package/dynamic-table/style.css +1 -0
- package/{dist/components/e-charts/index.js → e-charts/index.mjs} +33 -46
- package/easy-popup/index.mjs +136 -0
- package/easy-popup/style.css +1 -0
- package/{dist/components/editable-progress/index.js → editable-progress/index.mjs} +1 -1
- package/editable-progress/style.css +1 -0
- package/editable-tree/index.mjs +844 -0
- package/editable-tree/style.css +1 -0
- package/{dist/components/egd-collapse/index.js → egd-collapse/index.mjs} +1 -1
- package/{dist/components/egd-collapse-item/index.js → egd-collapse-item/index.mjs} +14 -12
- package/{dist/components/element-dialog/index.js → element-dialog/index.mjs} +88 -35
- package/element-dialog/style.css +1 -0
- package/{dist/components/empty-view/index.js → empty-view/index.mjs} +9 -9
- package/empty-view/style.css +1 -0
- package/{dist/components/error-view/index.js → error-view/index.mjs} +13 -13
- 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/{dist/components/flex-scroller/index.js → flex-scroller/index.mjs} +5 -5
- 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/{dist/components/form-cascader/index.js → form-cascader/index.mjs} +41 -29
- package/{dist/components/form-checkbox-group/index.js → form-checkbox-group/index.mjs} +47 -36
- package/form-checkbox-group/style.css +1 -0
- package/{dist/components/form-date-picker/index.js → form-date-picker/index.mjs} +45 -36
- package/form-holder/index.mjs +129 -0
- package/{dist/components/form-input/index.js → form-input/index.mjs} +34 -23
- package/{dist/components/form-input-email/index.js → form-input-email/index.mjs} +36 -25
- package/{dist/components/form-input-id-card/index.js → form-input-id-card/index.mjs} +35 -24
- package/{dist/components/form-input-number/index.js → form-input-number/index.mjs} +40 -29
- package/{dist/components/form-input-phone-number/index.js → form-input-phone-number/index.mjs} +37 -26
- package/form-input-tag/index.mjs +108 -0
- package/{dist/components/form-input-time/index.js → form-input-time/index.mjs} +40 -29
- package/form-item/index.mjs +147 -0
- package/{dist/components/form-item → form-item}/style.css +1 -1
- package/{dist/components/form-item-config-provider/index.js → form-item-config-provider/index.mjs} +1 -1
- package/{dist/components/form-item-group/index.js → form-item-group/index.mjs} +4 -4
- package/form-item-group/style.css +1 -0
- package/{dist/components/form-radio-group/index.js → form-radio-group/index.mjs} +51 -40
- package/form-radio-group/style.css +1 -0
- package/{dist/components/form-select/index.js → form-select/index.mjs} +40 -29
- package/{dist/components/form-switch/index.js → form-switch/index.mjs} +35 -24
- package/form-textarea/index.mjs +113 -0
- package/{dist/components/form-view/index.js → form-view/index.mjs} +72 -44
- 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/{dist/components/guide-steps/index.js → guide-steps/index.mjs} +12 -12
- package/{dist/components/guide-steps → guide-steps}/style.css +1 -1
- package/highlight-j-s/index.mjs +76 -0
- package/highlight-j-s/style.css +1 -0
- package/{dist/components/icon-card/index.js → icon-card/index.mjs} +9 -9
- package/{dist/components/icon-card → icon-card}/style.css +1 -1
- package/icon-temp/index.mjs +50 -0
- package/icon-temp/style.css +1 -0
- package/{dist/components/iframe-window/index.js → iframe-window/index.mjs} +5 -5
- 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/{dist/components/image-viewer/index.js → image-viewer/index.mjs} +5 -5
- package/image-viewer/style.css +1 -0
- package/index.mjs +627 -0
- package/{dist/components/input-number/index.js → input-number/index.mjs} +2 -2
- package/{dist/components/input-number-range/index.js → input-number-range/index.mjs} +7 -7
- package/input-number-range/style.css +1 -0
- package/{dist/components/keep-view-alive/index.js → keep-view-alive/index.mjs} +6 -2
- package/keyboard/index.mjs +384 -0
- package/keyboard/style.css +1 -0
- package/license/index.mjs +134 -0
- package/{dist/components/loading-view/index.js → loading-view/index.mjs} +5 -5
- 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/{dist/components/nav-bar/index.js → nav-bar/index.mjs} +8 -8
- 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/{dist/components/page/index.js → page/index.mjs} +8 -8
- package/{dist/components/page-header/index.js → page-header/index.mjs} +6 -6
- package/{dist/components/page-index/index.js → page-index/index.mjs} +58 -34
- 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/{dist/components/page-skeleton-new/index.js → page-skeleton-new/index.mjs} +3 -3
- package/page-skeleton-new/style.css +1 -0
- package/{dist/components/pageable-table/index.js → pageable-table/index.mjs} +149 -100
- package/pageable-table/style.css +1 -0
- package/{dist/components/pageable-view/index.js → pageable-view/index.mjs} +118 -68
- 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/{dist/components/resize-observer/index.js → resize-observer/index.mjs} +6 -6
- package/resize-observer/style.css +1 -0
- package/search/index.mjs +143 -0
- package/search/style.css +1 -0
- package/{dist/components/search-popover/index.js → search-popover/index.mjs} +64 -43
- package/search-popover/style.css +1 -0
- package/sign/index.mjs +132 -0
- package/sign/style.css +1 -0
- package/{dist/components/sign-panel/index.js → sign-panel/index.mjs} +18 -5
- package/sign-panel/style.css +1 -0
- package/skeleton/index.mjs +82 -0
- package/skeleton/style.css +1 -0
- package/{dist/components/split-pane/index.js → split-pane/index.mjs} +125 -28
- package/split-pane/style.css +1 -0
- package/{dist/components/stateful/index.js → stateful/index.mjs} +12 -12
- package/{dist/components/stateful → stateful}/style.css +1 -1
- package/{dist/components/static-pageable-table/index.js → static-pageable-table/index.mjs} +10 -10
- package/static-pageable-table/style.css +1 -0
- package/{dist/components/swiper/index.js → swiper/index.mjs} +49 -24
- package/swiper/style.css +1 -0
- package/{dist/components/tab/index.js → tab/index.mjs} +4 -2
- package/tab/style.css +1 -0
- package/{dist/components/tab-item/index.js → tab-item/index.mjs} +3 -3
- package/{dist/components/table-column/index.js → table-column/index.mjs} +35 -22
- package/{dist/components/table-view/index.js → table-view/index.mjs} +91 -64
- package/table-view/style.css +1 -0
- package/{dist/components/tag-render/index.js → tag-render/index.mjs} +45 -26
- 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} +446 -71
- package/tinymce-editor/style.css +1 -0
- package/{dist/components/toolbar/index.js → toolbar/index.mjs} +21 -21
- 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/{dist/components/vue-tags-input/index.js → vue-tags-input/index.mjs} +115 -1
- 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/3a79781b.js +0 -75
- package/dist/chunks/5a78e0db.js +0 -16
- package/dist/chunks/97652d86.js +0 -26
- package/dist/components/aside-menu/index.js +0 -58
- package/dist/components/awesome-button/index.js +0 -82
- package/dist/components/base.css +0 -1
- package/dist/components/chunk-file-uploader-button/index.js +0 -60
- package/dist/components/chunk-file-uploader-button/style.css +0 -1
- package/dist/components/chunk-file-uploader-drop/index.js +0 -65
- package/dist/components/chunk-file-uploader-drop/style.css +0 -1
- package/dist/components/chunk-file-uploader-file/index.js +0 -311
- package/dist/components/chunk-file-uploader-file/style.css +0 -1
- package/dist/components/chunk-file-uploader-files/index.js +0 -49
- package/dist/components/chunk-file-uploader-files/style.css +0 -1
- package/dist/components/chunk-file-uploader-list/index.js +0 -50
- package/dist/components/chunk-file-uploader-list/style.css +0 -1
- package/dist/components/chunk-file-uploader-un-support/index.js +0 -51
- package/dist/components/chunk-file-uploader-un-support/style.css +0 -1
- package/dist/components/code-mirror-editor/style.css +0 -1
- package/dist/components/context-menu/style.css +0 -1
- package/dist/components/custom-scrollbar/index.js +0 -149
- package/dist/components/dynamic-table/style.css +0 -1
- package/dist/components/editable-progress/style.css +0 -1
- package/dist/components/editable-tree/index.js +0 -789
- package/dist/components/editable-tree/style.css +0 -1
- package/dist/components/element-dialog/style.css +0 -1
- package/dist/components/empty-view/style.css +0 -1
- package/dist/components/error-view/style.css +0 -1
- package/dist/components/flex-column/index.js +0 -50
- package/dist/components/flex-item/index.js +0 -66
- package/dist/components/flex-row/index.js +0 -50
- package/dist/components/flex-scroller/style.css +0 -1
- package/dist/components/form-button/index.js +0 -80
- package/dist/components/form-checkbox-group/style.css +0 -1
- package/dist/components/form-holder/index.js +0 -90
- package/dist/components/form-item/index.js +0 -119
- package/dist/components/form-item-group/style.css +0 -1
- package/dist/components/form-radio-group/style.css +0 -1
- package/dist/components/form-textarea/index.js +0 -102
- package/dist/components/form-view/style.css +0 -1
- package/dist/components/iframe-window/style.css +0 -1
- package/dist/components/image-viewer/style.css +0 -1
- package/dist/components/input-number-range/style.css +0 -1
- package/dist/components/loading-view/style.css +0 -1
- package/dist/components/nav-bar/style.css +0 -1
- package/dist/components/not-implement/index.js +0 -35
- package/dist/components/not-implement/style.css +0 -1
- package/dist/components/page-index/style.css +0 -1
- package/dist/components/page-index-top/index.js +0 -119
- package/dist/components/page-skeleton/index.js +0 -56
- package/dist/components/page-skeleton/style.css +0 -1
- package/dist/components/page-skeleton-new/style.css +0 -1
- package/dist/components/pageable-table/style.css +0 -1
- package/dist/components/pageable-view/style.css +0 -1
- package/dist/components/photo-swipe/index.js +0 -187
- package/dist/components/photo-swipe/style.css +0 -1
- package/dist/components/resize-observer/style.css +0 -1
- package/dist/components/search-popover/style.css +0 -1
- package/dist/components/sign-panel/style.css +0 -1
- package/dist/components/split-pane/style.css +0 -1
- package/dist/components/static-pageable-table/style.css +0 -1
- package/dist/components/swiper/style.css +0 -1
- package/dist/components/tab/style.css +0 -1
- package/dist/components/table-view/style.css +0 -1
- package/dist/components/tag-render/style.css +0 -1
- package/dist/components/tinymce-editor/index.js +0 -173
- package/dist/components/tinymce-editor/style.css +0 -1
- package/dist/components/tinymce-wrapper/style.css +0 -1
- package/dist/components/toolbar/style.css +0 -1
- package/dist/components/toolbar-button/index.js +0 -90
- package/dist/components/toolbar-button/style.css +0 -1
- package/dist/components/trigger/index.js +0 -71
- package/dist/components/vue-tags-input/style.css +0 -1
- package/dist/components/watermark/index.js +0 -63
- package/dist/components/watermark/style.css +0 -1
- package/dist/components/x-dialog/index.js +0 -173
- package/dist/components/x-dialog/style.css +0 -1
- package/dist/index.css +0 -2060
- package/dist/index.es.js +0 -13236
- /package/{dist/components/address-input → address-input}/style.css +0 -0
- /package/{dist/components/aside-menu → aside-menu}/style.css +0 -0
- /package/{dist/components/chunk-file-uploader → chunk-file-uploader}/style.css +0 -0
- /package/{dist/chunks/61ad06b2.js → chunks/form-pick-mixin.y-qhZJi6.mjs} +0 -0
- /package/{dist/chunks/41a066be.js → chunks/input-number-mixin.GE2zr_3s.mjs} +0 -0
- /package/{dist/components/e-charts → e-charts}/style.css +0 -0
- /package/{dist/components/form-input-number → form-input-number}/style.css +0 -0
- /package/{dist/components/input-number → input-number}/style.css +0 -0
- /package/{dist/components/j-s-x-component/index.js → j-s-x-component/index.mjs} +0 -0
- /package/{dist/components/page → page}/style.css +0 -0
- /package/{dist/components/page-header → page-header}/style.css +0 -0
|
@@ -1,24 +1,109 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var l = (t, e, s) => new Promise((o, i) => {
|
|
2
|
+
var n = (r) => {
|
|
3
|
+
try {
|
|
4
|
+
a(s.next(r));
|
|
5
|
+
} catch (f) {
|
|
6
|
+
i(f);
|
|
7
|
+
}
|
|
8
|
+
}, g = (r) => {
|
|
9
|
+
try {
|
|
10
|
+
a(s.throw(r));
|
|
11
|
+
} catch (f) {
|
|
12
|
+
i(f);
|
|
13
|
+
}
|
|
14
|
+
}, a = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(n, g);
|
|
15
|
+
a((s = s.apply(t, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { n as d } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
18
|
+
import v from "@web-utils/component/resize-observer";
|
|
19
|
+
import "@web-utils/component/resize-observer/style.css";
|
|
20
|
+
function m(t, e) {
|
|
3
21
|
for (let s = 0; s < e.length; s++)
|
|
4
22
|
if (t === e[s])
|
|
5
23
|
return !0;
|
|
6
24
|
return !1;
|
|
7
25
|
}
|
|
8
|
-
const
|
|
26
|
+
const h = function() {
|
|
9
27
|
return document.addEventListener ? function(t, e, s) {
|
|
10
28
|
t && e && s && t.addEventListener(e, s, !1);
|
|
11
29
|
} : function(t, e, s) {
|
|
12
30
|
t && e && s && t.attachEvent(`on${e}`, s);
|
|
13
31
|
};
|
|
14
|
-
}(),
|
|
32
|
+
}(), p = function() {
|
|
15
33
|
return document.removeEventListener ? function(t, e, s) {
|
|
16
34
|
t && e && t.removeEventListener(e, s, !1);
|
|
17
35
|
} : function(t, e, s) {
|
|
18
36
|
t && e && t.detachEvent(`on${e}`, s);
|
|
19
37
|
};
|
|
20
38
|
}();
|
|
21
|
-
var
|
|
39
|
+
var x = function() {
|
|
40
|
+
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
41
|
+
return s("div", {
|
|
42
|
+
class: t.classes
|
|
43
|
+
}, [t.showIcon ? s("div", {
|
|
44
|
+
class: t.barConClasses
|
|
45
|
+
}, t._m(0), 0) : t._e()]);
|
|
46
|
+
}, $ = [function() {
|
|
47
|
+
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
48
|
+
return t._l(8, function(o) {
|
|
49
|
+
return s("i", {
|
|
50
|
+
key: `trigger-${o}`,
|
|
51
|
+
class: `${t.prefix}-bar`
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
}];
|
|
55
|
+
const _ = {
|
|
56
|
+
name: "Trigger",
|
|
57
|
+
props: {
|
|
58
|
+
mode: String,
|
|
59
|
+
showIcon: Boolean,
|
|
60
|
+
line: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: !0
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
data() {
|
|
66
|
+
return {
|
|
67
|
+
prefix: "egd-split-trigger"
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
computed: {
|
|
71
|
+
isVertical() {
|
|
72
|
+
return this.mode === "vertical";
|
|
73
|
+
},
|
|
74
|
+
classes() {
|
|
75
|
+
return [
|
|
76
|
+
this.prefix,
|
|
77
|
+
this.line ? this.isVertical ? ` ${this.prefix}-vertical-line` : `${this.prefix}-horizontal-line` : "",
|
|
78
|
+
this.isVertical ? `${this.prefix}-vertical` : `${this.prefix}-horizontal`
|
|
79
|
+
];
|
|
80
|
+
},
|
|
81
|
+
barConClasses() {
|
|
82
|
+
return [
|
|
83
|
+
`${this.prefix}-bar-con`,
|
|
84
|
+
this.isVertical ? "vertical" : "horizontal"
|
|
85
|
+
];
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}, u = {};
|
|
89
|
+
var M = /* @__PURE__ */ d(
|
|
90
|
+
_,
|
|
91
|
+
x,
|
|
92
|
+
$,
|
|
93
|
+
!1,
|
|
94
|
+
z,
|
|
95
|
+
null,
|
|
96
|
+
null,
|
|
97
|
+
null
|
|
98
|
+
);
|
|
99
|
+
function z(t) {
|
|
100
|
+
for (let e in u)
|
|
101
|
+
this[e] = u[e];
|
|
102
|
+
}
|
|
103
|
+
const O = /* @__PURE__ */ function() {
|
|
104
|
+
return M.exports;
|
|
105
|
+
}();
|
|
106
|
+
var w = function() {
|
|
22
107
|
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
23
108
|
return s("div", {
|
|
24
109
|
ref: "outerWrapper",
|
|
@@ -87,9 +172,13 @@ var p = function() {
|
|
|
87
172
|
notify: t.resetOffset
|
|
88
173
|
}
|
|
89
174
|
})], 1);
|
|
90
|
-
},
|
|
91
|
-
const
|
|
175
|
+
}, S = [];
|
|
176
|
+
const F = {
|
|
92
177
|
name: "SplitPane",
|
|
178
|
+
components: {
|
|
179
|
+
Trigger: O,
|
|
180
|
+
ResizeObserver: v
|
|
181
|
+
},
|
|
93
182
|
props: {
|
|
94
183
|
value: {
|
|
95
184
|
type: [Number, String],
|
|
@@ -97,7 +186,7 @@ const d = {
|
|
|
97
186
|
},
|
|
98
187
|
mode: {
|
|
99
188
|
validator(t) {
|
|
100
|
-
return
|
|
189
|
+
return m(t, ["horizontal", "vertical"]);
|
|
101
190
|
},
|
|
102
191
|
default: "horizontal"
|
|
103
192
|
},
|
|
@@ -115,6 +204,12 @@ const d = {
|
|
|
115
204
|
default: "40px"
|
|
116
205
|
}
|
|
117
206
|
},
|
|
207
|
+
/**
|
|
208
|
+
* Events
|
|
209
|
+
* @on-move-start
|
|
210
|
+
* @on-moving 返回值:事件对象,但是在事件对象中加入了两个参数:atMin(当前是否在最小值处), atMax(当前是否在最大值处)
|
|
211
|
+
* @on-move-end
|
|
212
|
+
*/
|
|
118
213
|
data() {
|
|
119
214
|
return {
|
|
120
215
|
prefix: "egd-split",
|
|
@@ -149,8 +244,10 @@ const d = {
|
|
|
149
244
|
watch: {
|
|
150
245
|
value: "resetOffset"
|
|
151
246
|
},
|
|
152
|
-
|
|
153
|
-
|
|
247
|
+
mounted() {
|
|
248
|
+
return l(this, null, function* () {
|
|
249
|
+
yield this.$nextTick(), this.resetOffset();
|
|
250
|
+
});
|
|
154
251
|
},
|
|
155
252
|
methods: {
|
|
156
253
|
resetOffset() {
|
|
@@ -174,36 +271,36 @@ const d = {
|
|
|
174
271
|
return this.valueIsPx ? e = `${this.$refs.outerWrapper[this.offsetSize] - parseFloat(t)}px` : e = 1 - t, e;
|
|
175
272
|
},
|
|
176
273
|
handleMove(t) {
|
|
177
|
-
const s = (this.isHorizontal ? t.pageX : t.pageY) - this.initOffset,
|
|
178
|
-
let i = this.valueIsPx ? `${parseFloat(this.oldOffset) + s}px` : this.px2percent(
|
|
179
|
-
const
|
|
180
|
-
parseFloat(i) <= parseFloat(this.computedMin) && (i = this.getMax(i, this.computedMin)), parseFloat(
|
|
274
|
+
const s = (this.isHorizontal ? t.pageX : t.pageY) - this.initOffset, o = this.$refs.outerWrapper[this.offsetSize];
|
|
275
|
+
let i = this.valueIsPx ? `${parseFloat(this.oldOffset) + s}px` : this.px2percent(o * this.oldOffset + s, o);
|
|
276
|
+
const n = this.getAnotherOffset(i);
|
|
277
|
+
parseFloat(i) <= parseFloat(this.computedMin) && (i = this.getMax(i, this.computedMin)), parseFloat(n) <= parseFloat(this.computedMax) && (i = this.getAnotherOffset(this.getMax(n, this.computedMax))), t.atMin = this.value === this.computedMin, t.atMax = this.valueIsPx ? this.getAnotherOffset(this.value) === this.computedMax : this.getAnotherOffset(this.value).toFixed(5) === this.computedMax.toFixed(5), this.$emit("input", i), this.$emit("on-moving", t);
|
|
181
278
|
},
|
|
182
279
|
handleUp() {
|
|
183
|
-
this.isMoving = !1,
|
|
280
|
+
this.isMoving = !1, p(window, "mousemove", this.handleMove), p(window, "mouseup", this.handleUp), this.$emit("on-move-end");
|
|
184
281
|
},
|
|
185
282
|
handleMousedown(t) {
|
|
186
|
-
this.initOffset = this.isHorizontal ? t.pageX : t.pageY, this.oldOffset = this.value, this.isMoving = !0,
|
|
283
|
+
this.initOffset = this.isHorizontal ? t.pageX : t.pageY, this.oldOffset = this.value, this.isMoving = !0, h(window, "mousemove", this.handleMove), h(window, "mouseup", this.handleUp), this.$emit("on-move-start");
|
|
187
284
|
}
|
|
188
285
|
}
|
|
189
|
-
},
|
|
190
|
-
var
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
286
|
+
}, c = {};
|
|
287
|
+
var y = /* @__PURE__ */ d(
|
|
288
|
+
F,
|
|
289
|
+
w,
|
|
290
|
+
S,
|
|
194
291
|
!1,
|
|
195
|
-
|
|
292
|
+
b,
|
|
196
293
|
null,
|
|
197
294
|
null,
|
|
198
295
|
null
|
|
199
296
|
);
|
|
200
|
-
function
|
|
201
|
-
for (let e in
|
|
202
|
-
this[e] =
|
|
297
|
+
function b(t) {
|
|
298
|
+
for (let e in c)
|
|
299
|
+
this[e] = c[e];
|
|
203
300
|
}
|
|
204
|
-
const
|
|
205
|
-
return
|
|
301
|
+
const T = /* @__PURE__ */ function() {
|
|
302
|
+
return y.exports;
|
|
206
303
|
}();
|
|
207
304
|
export {
|
|
208
|
-
|
|
305
|
+
T as default
|
|
209
306
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.egd-split-wrapper{width:100%;height:100%;position:relative}.egd-split-pane{position:absolute}.egd-split-pane.left-pane,.egd-split-pane.right-pane{top:0;bottom:0}.egd-split-pane.left-pane{left:0}.egd-split-pane.right-pane{right:0}.egd-split-pane.top-pane,.egd-split-pane.bottom-pane{left:0;right:0}.egd-split-pane.top-pane{top:0}.egd-split-pane.bottom-pane{bottom:0}.egd-split-trigger-con{z-index:10;position:absolute;transform:translate(-50%,-50%)}.egd-split-trigger-bar-con{position:absolute;overflow:hidden}.egd-split-trigger-bar-con.vertical{height:32px;top:50%;left:1px;transform:translateY(-50%)}.egd-split-trigger-bar-con.horizontal{width:32px;top:1px;left:50%;transform:translate(-50%)}.egd-split-trigger-vertical{cursor:ew-resize;background:#f8f8f9;width:6px;height:100%;box-shadow:0 0 4px rgba(28,36,56,.4)}.egd-split-trigger-vertical .egd-split-trigger-bar{float:left;background:rgba(23,35,61,.25);width:4px;height:1px;margin-top:3px}.egd-split-trigger-horizontal{cursor:ns-resize;background:#f8f8f9;width:100%;height:6px;box-shadow:0 0 4px rgba(28,36,56,.4)}.egd-split-trigger-horizontal .egd-split-trigger-bar{float:left;background:rgba(23,35,61,.25);width:1px;height:4px;margin-right:3px}.egd-split-horizontal .egd-split-trigger-con{border-right:1px solid #d7dae0;height:100%;top:50%}.egd-split-vertical .egd-split-trigger-con{border-bottom:1px solid #d7dae0;width:100%;left:50%}.egd-split-trigger-vertical-line,.egd-split-trigger-horizontal-line{box-shadow:none;background-color:transparent}.egd-split .no-select{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
const
|
|
1
|
+
import { n as _ } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
const g = {
|
|
3
3
|
name: "Stateful",
|
|
4
4
|
functional: !0,
|
|
5
5
|
props: {
|
|
@@ -43,28 +43,28 @@ const v = {
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
render(r, { props: t, data: y, children: c }) {
|
|
46
|
-
const { draft:
|
|
47
|
-
draft: Array.isArray(
|
|
48
|
-
doing: Array.isArray(
|
|
46
|
+
const { draft: a, doing: n, overdue: o, error: s, done: l, closed: d, status: e, tag: f, size: u, type: p } = t, A = {
|
|
47
|
+
draft: Array.isArray(a) ? a.includes(e) : a,
|
|
48
|
+
doing: Array.isArray(n) ? n.includes(e) : n,
|
|
49
49
|
overdue: Array.isArray(o) ? o.includes(e) : o,
|
|
50
50
|
error: Array.isArray(s) ? s.includes(e) : s,
|
|
51
51
|
done: Array.isArray(l) ? l.includes(e) : l,
|
|
52
52
|
closed: Array.isArray(d) ? d.includes(e) : d
|
|
53
53
|
};
|
|
54
|
-
return r(
|
|
54
|
+
return r(f, y, [
|
|
55
55
|
r("span", {
|
|
56
56
|
style: { width: u, height: u },
|
|
57
|
-
class: ["stateful",
|
|
57
|
+
class: ["stateful", p, A]
|
|
58
58
|
}),
|
|
59
59
|
c
|
|
60
60
|
]);
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
|
-
let
|
|
63
|
+
let v, S;
|
|
64
64
|
const i = {};
|
|
65
|
-
var m = /* @__PURE__ */
|
|
66
|
-
v,
|
|
65
|
+
var m = /* @__PURE__ */ _(
|
|
67
66
|
g,
|
|
67
|
+
v,
|
|
68
68
|
S,
|
|
69
69
|
!1,
|
|
70
70
|
B,
|
|
@@ -76,9 +76,9 @@ function B(r) {
|
|
|
76
76
|
for (let t in i)
|
|
77
77
|
this[t] = i[t];
|
|
78
78
|
}
|
|
79
|
-
const
|
|
79
|
+
const x = /* @__PURE__ */ function() {
|
|
80
80
|
return m.exports;
|
|
81
81
|
}();
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
x as default
|
|
84
84
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.stateful{
|
|
1
|
+
.stateful{vertical-align:middle;content:"";border-radius:2px;width:14px;height:14px;margin-right:6px;display:inline-block}.stateful.draft{background-color:#d7d7d7}.stateful.doing{background-color:#14ca7a}.stateful.overdue{background-color:#feae3d}.stateful.error{background-color:red}.stateful.done{background-color:#45a3e7}.stateful.closed{background-color:#d7d7d7}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { chunk as n } from "lodash";
|
|
2
|
-
import { n as
|
|
3
|
-
var
|
|
1
|
+
import { chunk as n } from "@web-utils/integrations/lodash";
|
|
2
|
+
import { n as o } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
|
+
var i = function() {
|
|
4
4
|
var e = this, t = e.$createElement, a = e._self._c || t;
|
|
5
5
|
return a("div", {
|
|
6
6
|
staticClass: "static-pageable-table"
|
|
@@ -27,7 +27,7 @@ var o = function() {
|
|
|
27
27
|
}
|
|
28
28
|
})], 1);
|
|
29
29
|
}, l = [];
|
|
30
|
-
const
|
|
30
|
+
const p = {
|
|
31
31
|
name: "StaticPageableTable",
|
|
32
32
|
props: {
|
|
33
33
|
rows: {
|
|
@@ -70,9 +70,9 @@ const c = {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}, r = {};
|
|
73
|
-
var
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
var c = /* @__PURE__ */ o(
|
|
74
|
+
p,
|
|
75
|
+
i,
|
|
76
76
|
l,
|
|
77
77
|
!1,
|
|
78
78
|
g,
|
|
@@ -84,9 +84,9 @@ function g(e) {
|
|
|
84
84
|
for (let t in r)
|
|
85
85
|
this[t] = r[t];
|
|
86
86
|
}
|
|
87
|
-
const
|
|
88
|
-
return
|
|
87
|
+
const _ = /* @__PURE__ */ function() {
|
|
88
|
+
return c.exports;
|
|
89
89
|
}();
|
|
90
90
|
export {
|
|
91
|
-
|
|
91
|
+
_ as default
|
|
92
92
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.static-pageable-table{flex:auto}
|
|
@@ -1,6 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var h = (t, e, s) => new Promise((i, r) => {
|
|
2
|
+
var d = (n) => {
|
|
3
|
+
try {
|
|
4
|
+
a(s.next(n));
|
|
5
|
+
} catch (o) {
|
|
6
|
+
r(o);
|
|
7
|
+
}
|
|
8
|
+
}, c = (n) => {
|
|
9
|
+
try {
|
|
10
|
+
a(s.throw(n));
|
|
11
|
+
} catch (o) {
|
|
12
|
+
r(o);
|
|
13
|
+
}
|
|
14
|
+
}, a = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(d, c);
|
|
15
|
+
a((s = s.apply(t, e)).next());
|
|
16
|
+
});
|
|
17
|
+
import { getEleWidth as u } from "@web-utils/core";
|
|
18
|
+
import p from "@web-utils/component/resize-observer";
|
|
19
|
+
import "@web-utils/component/resize-observer/style.css";
|
|
20
|
+
import { n as f } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
21
|
+
var w = function() {
|
|
4
22
|
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
5
23
|
return s("div", {
|
|
6
24
|
staticClass: "egd-swiper"
|
|
@@ -39,9 +57,12 @@ var h = function() {
|
|
|
39
57
|
notify: t.resize
|
|
40
58
|
}
|
|
41
59
|
})], 1);
|
|
42
|
-
},
|
|
43
|
-
const
|
|
60
|
+
}, m = [];
|
|
61
|
+
const v = {
|
|
44
62
|
name: "Swiper",
|
|
63
|
+
components: {
|
|
64
|
+
ResizeObserver: p
|
|
65
|
+
},
|
|
45
66
|
data() {
|
|
46
67
|
return {
|
|
47
68
|
mouseDown: !1,
|
|
@@ -57,25 +78,29 @@ const d = {
|
|
|
57
78
|
}
|
|
58
79
|
};
|
|
59
80
|
},
|
|
60
|
-
|
|
61
|
-
|
|
81
|
+
mounted() {
|
|
82
|
+
return h(this, null, function* () {
|
|
83
|
+
yield this.layout();
|
|
84
|
+
});
|
|
62
85
|
},
|
|
63
86
|
updated() {
|
|
64
87
|
this.computeContentWidth();
|
|
65
88
|
},
|
|
66
89
|
methods: {
|
|
67
|
-
|
|
68
|
-
|
|
90
|
+
layout() {
|
|
91
|
+
return h(this, null, function* () {
|
|
92
|
+
yield this.$nextTick(), this.computeContentWidth(), this.resize();
|
|
93
|
+
});
|
|
69
94
|
},
|
|
70
95
|
resize() {
|
|
71
|
-
|
|
96
|
+
this.swiperBoxWith = this.$refs.swiperBox.offsetWidth;
|
|
72
97
|
},
|
|
73
98
|
computeContentWidth() {
|
|
74
99
|
let t = 0;
|
|
75
100
|
const e = [], { children: s } = this.$refs.swiperContent;
|
|
76
101
|
Array.prototype.forEach.call(s, (i) => {
|
|
77
|
-
const
|
|
78
|
-
t +=
|
|
102
|
+
const r = u(i);
|
|
103
|
+
t += r, e.push(r);
|
|
79
104
|
}), this.childrenWidth = e, this.swiperContentWidth = t;
|
|
80
105
|
},
|
|
81
106
|
updateDuration(t) {
|
|
@@ -135,24 +160,24 @@ const d = {
|
|
|
135
160
|
this.updateDuration(!1), this.$refs.swiperContent.removeEventListener("transitionend", this.transitionend), this.$refs.swiperContent.removeEventListener("webkitTransitionEnd", this.transitionend);
|
|
136
161
|
}
|
|
137
162
|
}
|
|
138
|
-
},
|
|
139
|
-
var
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
163
|
+
}, l = {};
|
|
164
|
+
var X = /* @__PURE__ */ f(
|
|
165
|
+
v,
|
|
166
|
+
w,
|
|
167
|
+
m,
|
|
143
168
|
!1,
|
|
144
|
-
|
|
169
|
+
_,
|
|
145
170
|
null,
|
|
146
171
|
null,
|
|
147
172
|
null
|
|
148
173
|
);
|
|
149
|
-
function
|
|
150
|
-
for (let e in
|
|
151
|
-
this[e] =
|
|
174
|
+
function _(t) {
|
|
175
|
+
for (let e in l)
|
|
176
|
+
this[e] = l[e];
|
|
152
177
|
}
|
|
153
|
-
const
|
|
154
|
-
return
|
|
178
|
+
const g = /* @__PURE__ */ function() {
|
|
179
|
+
return X.exports;
|
|
155
180
|
}();
|
|
156
181
|
export {
|
|
157
|
-
|
|
182
|
+
g as default
|
|
158
183
|
};
|
package/swiper/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.egd-swiper{height:100%;padding:0 60px;position:relative}.egd-swiper .el-button.el-carousel__arrow{color:#fff;background-color:rgba(31,45,61,.11);border-color:rgba(31,45,61,.01);border-radius:50%;padding:0;font-size:12px}.egd-swiper .el-button.el-carousel__arrow i{cursor:unset}.egd-swiper .el-button.el-carousel__arrow.is-disabled{color:#fff;background-color:rgba(31,45,61,.11);border-color:rgba(31,45,61,.01)}.egd-swiper .egd-swiper-box{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:100%;overflow:hidden}.egd-swiper .egd-swiper-box .egd-swiper-content{flex-flow:row;width:100%;height:100%;padding-top:14px;transition-property:transform;display:flex;overflow:visible;transform:translate(0,0)}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as a } from "
|
|
2
|
-
import { n as s } from "
|
|
1
|
+
import { p as a } from "../chunks/tab-mixin.tM9jcRT8.mjs";
|
|
2
|
+
import { n as s } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var o = function() {
|
|
4
4
|
var t = this, r = t.$createElement, e = t._self._c || r;
|
|
5
5
|
return e("div", {
|
|
@@ -71,12 +71,14 @@ const c = {
|
|
|
71
71
|
}
|
|
72
72
|
return null;
|
|
73
73
|
},
|
|
74
|
+
// when prop:custom-bar-width
|
|
74
75
|
innerBarStyle() {
|
|
75
76
|
return {
|
|
76
77
|
width: typeof this.customBarWidth == "function" ? this.customBarWidth(this.currentIndex) : this.customBarWidth,
|
|
77
78
|
backgroundColor: this.barActiveColor || this.activeColor
|
|
78
79
|
};
|
|
79
80
|
},
|
|
81
|
+
// end
|
|
80
82
|
barStyle() {
|
|
81
83
|
const t = {
|
|
82
84
|
left: this.barLeft,
|
package/tab/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.vux-tab-ink-bar{text-align:center;background-color:#1989fa;height:2px;position:absolute;bottom:0;left:0}.vux-tab-ink-bar-transition-forward{transition:right .3s cubic-bezier(.35,0,.25,1),left .3s cubic-bezier(.35,0,.25,1) 90ms}.vux-tab-ink-bar-transition-backward{transition:right .3s cubic-bezier(.35,0,.25,1) 90ms,left .3s cubic-bezier(.35,0,.25,1)}.vux-tab-bar-top .vux-tab-ink-bar{top:0}.vux-tab{background-color:#fff;height:36px;display:flex;position:relative}.vux-tab button{-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none;background:0 0;border:0;outline:0;padding:0}.vux-tab .vux-tab-item{box-sizing:border-box;color:#666;text-align:center;cursor:pointer;flex:auto;width:100%;height:100%;font-size:14px;line-height:36px;display:block}.vux-tab .vux-tab-item.vux-tab-selected{color:#1989fa;border-bottom:3px solid #1989fa}.vux-tab-bar-top .vux-tab .vux-tab-item.vux-tab-selected{border-top:3px solid #1989fa;border-bottom:none}.vux-tab .vux-tab-item.vux-tab-disabled{color:#ddd}.vux-tab.vux-tab-no-animate .vux-tab-item.vux-tab-selected{background:0 0}.vux-tab-bar-inner{background-color:#1989fa;height:100%;margin:auto;transition:width .3s cubic-bezier(.35,0,.25,1);display:block}.vux-tab-item-badge{box-sizing:border-box;vertical-align:middle;background-clip:padding-box;border-radius:30px;min-width:18px;height:18px;margin:auto 0 auto 4px;padding:0 4px;font-size:11px;line-height:18px;display:inline-block;position:absolute;top:0;bottom:0}.vux-tab-wrap{padding-top:36px;position:relative}.vux-tab-container{height:36px;position:absolute;top:0;left:0;right:0;overflow:hidden}.scrollable{box-sizing:content-box;-webkit-overflow-scrolling:touch;padding-bottom:17px;overflow-x:auto;overflow-y:hidden}.scrollable::-webkit-scrollbar{display:none}.scrollable .vux-tab-ink-bar{position:absolute;bottom:17px}.scrollable .vux-tab-item{flex:0 0 22%}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as n } from "
|
|
2
|
-
import { n as l } from "
|
|
1
|
+
import { c as n } from "../chunks/tab-mixin.tM9jcRT8.mjs";
|
|
2
|
+
import { n as l } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
3
|
var o = function() {
|
|
4
4
|
var e = this, t = e.$createElement, a = e._self._c || t;
|
|
5
5
|
return a("div", {
|
|
@@ -12,7 +12,7 @@ var o = function() {
|
|
|
12
12
|
on: {
|
|
13
13
|
click: e.onItemClick
|
|
14
14
|
}
|
|
15
|
-
}, [e._t("default"), typeof e.badgeLabel
|
|
15
|
+
}, [e._t("default"), typeof e.badgeLabel != "undefined" && e.badgeLabel !== "" ? a("span", {
|
|
16
16
|
staticClass: "vux-tab-item-badge",
|
|
17
17
|
style: {
|
|
18
18
|
background: e.badgeBackground,
|
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var u = Object.defineProperty, d = Object.defineProperties;
|
|
2
|
+
var c = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var o = Object.getOwnPropertySymbols;
|
|
4
|
+
var f = Object.prototype.hasOwnProperty, p = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var i = (n, e, t) => e in n ? u(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, l = (n, e) => {
|
|
6
|
+
for (var t in e || (e = {}))
|
|
7
|
+
f.call(e, t) && i(n, t, e[t]);
|
|
8
|
+
if (o)
|
|
9
|
+
for (var t of o(e))
|
|
10
|
+
p.call(e, t) && i(n, t, e[t]);
|
|
11
|
+
return n;
|
|
12
|
+
}, r = (n, e) => d(n, c(e));
|
|
13
|
+
import { n as g } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
14
|
+
const m = {
|
|
3
15
|
props: {
|
|
4
16
|
type: {
|
|
5
17
|
type: String,
|
|
@@ -54,36 +66,37 @@ const i = {
|
|
|
54
66
|
}
|
|
55
67
|
}
|
|
56
68
|
}
|
|
57
|
-
},
|
|
69
|
+
}, _ = {
|
|
58
70
|
name: "TableColumn",
|
|
59
71
|
functional: !0,
|
|
60
|
-
mixins: [
|
|
61
|
-
render(n, { data: e, props: t, children:
|
|
62
|
-
return n("ElTableColumn", {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
72
|
+
mixins: [m],
|
|
73
|
+
render(n, { data: e, props: t, children: s }) {
|
|
74
|
+
return n("ElTableColumn", r(l({}, e), {
|
|
75
|
+
props: r(l({}, t), {
|
|
76
|
+
showOverflowTooltip: ["selection", "single-selection", "index", "expand"].includes(t.type) ? !1 : t.showOverflowTooltip
|
|
77
|
+
})
|
|
78
|
+
}), s);
|
|
66
79
|
}
|
|
67
80
|
};
|
|
68
|
-
let
|
|
69
|
-
const
|
|
70
|
-
var
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
81
|
+
let y, S;
|
|
82
|
+
const a = {};
|
|
83
|
+
var v = /* @__PURE__ */ g(
|
|
84
|
+
_,
|
|
85
|
+
y,
|
|
86
|
+
S,
|
|
74
87
|
!1,
|
|
75
|
-
|
|
88
|
+
h,
|
|
76
89
|
null,
|
|
77
90
|
null,
|
|
78
91
|
null
|
|
79
92
|
);
|
|
80
|
-
function
|
|
81
|
-
for (let e in
|
|
82
|
-
this[e] =
|
|
93
|
+
function h(n) {
|
|
94
|
+
for (let e in a)
|
|
95
|
+
this[e] = a[e];
|
|
83
96
|
}
|
|
84
|
-
const
|
|
85
|
-
return
|
|
97
|
+
const x = /* @__PURE__ */ function() {
|
|
98
|
+
return v.exports;
|
|
86
99
|
}();
|
|
87
100
|
export {
|
|
88
|
-
|
|
101
|
+
x as default
|
|
89
102
|
};
|