@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,4 +1,4 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as d } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
2
|
var r = function() {
|
|
3
3
|
var e = this, a = e.$createElement, t = e._self._c || a;
|
|
4
4
|
return t("div", {
|
|
@@ -36,8 +36,8 @@ var r = function() {
|
|
|
36
36
|
expression: "internalVal.detailAddress"
|
|
37
37
|
}
|
|
38
38
|
})], 1)]);
|
|
39
|
-
},
|
|
40
|
-
const
|
|
39
|
+
}, i = [];
|
|
40
|
+
const n = {
|
|
41
41
|
name: "AddressInput",
|
|
42
42
|
inject: {
|
|
43
43
|
elForm: {
|
|
@@ -90,11 +90,11 @@ const i = {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
},
|
|
94
|
-
var u = /* @__PURE__ */
|
|
95
|
-
i,
|
|
96
|
-
r,
|
|
93
|
+
}, l = {};
|
|
94
|
+
var u = /* @__PURE__ */ d(
|
|
97
95
|
n,
|
|
96
|
+
r,
|
|
97
|
+
i,
|
|
98
98
|
!1,
|
|
99
99
|
o,
|
|
100
100
|
null,
|
|
@@ -102,8 +102,8 @@ var u = /* @__PURE__ */ l(
|
|
|
102
102
|
null
|
|
103
103
|
);
|
|
104
104
|
function o(e) {
|
|
105
|
-
for (let a in
|
|
106
|
-
this[a] =
|
|
105
|
+
for (let a in l)
|
|
106
|
+
this[a] = l[a];
|
|
107
107
|
}
|
|
108
108
|
const c = /* @__PURE__ */ function() {
|
|
109
109
|
return u.exports;
|
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
|
+
};
|
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}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as s } from "
|
|
2
|
-
var
|
|
1
|
+
import { n as s } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
var r = function() {
|
|
3
3
|
var e = this, t = e.$createElement, a = e._self._c || t;
|
|
4
4
|
return a("ul", {
|
|
5
5
|
staticClass: "capsule-tab"
|
|
@@ -17,8 +17,8 @@ var u = function() {
|
|
|
17
17
|
}
|
|
18
18
|
}, [e._v(" " + e._s(n.label) + " ")]);
|
|
19
19
|
}), 0);
|
|
20
|
-
},
|
|
21
|
-
const
|
|
20
|
+
}, u = [];
|
|
21
|
+
const c = {
|
|
22
22
|
name: "CapsuleTab",
|
|
23
23
|
props: {
|
|
24
24
|
tabs: {
|
|
@@ -30,22 +30,22 @@ const _ = {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}, l = {};
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
u,
|
|
33
|
+
var o = /* @__PURE__ */ s(
|
|
34
|
+
c,
|
|
36
35
|
r,
|
|
36
|
+
u,
|
|
37
37
|
!1,
|
|
38
|
-
|
|
38
|
+
_,
|
|
39
39
|
null,
|
|
40
40
|
null,
|
|
41
41
|
null
|
|
42
42
|
);
|
|
43
|
-
function
|
|
43
|
+
function _(e) {
|
|
44
44
|
for (let t in l)
|
|
45
45
|
this[t] = l[t];
|
|
46
46
|
}
|
|
47
47
|
const p = /* @__PURE__ */ function() {
|
|
48
|
-
return
|
|
48
|
+
return o.exports;
|
|
49
49
|
}();
|
|
50
50
|
export {
|
|
51
51
|
p as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.capsule-tab{
|
|
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}
|
package/card/index.mjs
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { n as r } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
2
|
+
var o = function() {
|
|
3
|
+
var t = this, e = t.$createElement, a = t._self._c || e;
|
|
4
|
+
return a("div", {
|
|
5
|
+
staticClass: "avue-card"
|
|
6
|
+
}, [a("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24,
|
|
9
|
+
gutter: t.gutter
|
|
10
|
+
}
|
|
11
|
+
}, [t.option.addBtn ? a("ElCol", {
|
|
12
|
+
attrs: {
|
|
13
|
+
span: t.span
|
|
14
|
+
}
|
|
15
|
+
}, [a("div", {
|
|
16
|
+
staticClass: "avue-card__item avue-card__item--add",
|
|
17
|
+
on: {
|
|
18
|
+
click: function(s) {
|
|
19
|
+
return t.rowAdd();
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}, [a("i", {
|
|
23
|
+
staticClass: "el-icon-plus"
|
|
24
|
+
}), a("span", [t._v("添加")])])]) : t._e(), t._l(t.data, function(s, i) {
|
|
25
|
+
return a("ElCol", {
|
|
26
|
+
key: i,
|
|
27
|
+
attrs: {
|
|
28
|
+
span: t.span
|
|
29
|
+
}
|
|
30
|
+
}, [a("div", {
|
|
31
|
+
staticClass: "avue-card__item",
|
|
32
|
+
on: {
|
|
33
|
+
click: function(p) {
|
|
34
|
+
return t.rowClick(s, i);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}, [a("div", {
|
|
38
|
+
staticClass: "avue-card__body"
|
|
39
|
+
}, [a("div", {
|
|
40
|
+
staticClass: "avue-card__avatar"
|
|
41
|
+
}, [a("img", {
|
|
42
|
+
attrs: {
|
|
43
|
+
src: s[t.imgKey],
|
|
44
|
+
alt: ""
|
|
45
|
+
}
|
|
46
|
+
})]), a("div", {
|
|
47
|
+
staticClass: "avue-card__detail"
|
|
48
|
+
}, [a("div", {
|
|
49
|
+
staticClass: "avue-card__title"
|
|
50
|
+
}, [t._v(" " + t._s(s[t.titleKey]) + " ")]), a("div", {
|
|
51
|
+
staticClass: "avue-card__info"
|
|
52
|
+
}, [t._v(" " + t._s(s[t.infoKey]) + " ")])])]), a("div", {
|
|
53
|
+
staticClass: "avue-card__menu"
|
|
54
|
+
}, [t._t("menu", null, {
|
|
55
|
+
index: i,
|
|
56
|
+
row: s
|
|
57
|
+
})], 2)])]);
|
|
58
|
+
})], 2)], 1);
|
|
59
|
+
}, c = [];
|
|
60
|
+
const l = {
|
|
61
|
+
img: "img",
|
|
62
|
+
title: "title",
|
|
63
|
+
info: "info"
|
|
64
|
+
}, u = {
|
|
65
|
+
name: "Card",
|
|
66
|
+
props: {
|
|
67
|
+
option: {
|
|
68
|
+
type: Object,
|
|
69
|
+
default: () => ({})
|
|
70
|
+
},
|
|
71
|
+
data: {
|
|
72
|
+
type: Array,
|
|
73
|
+
default: () => []
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
data() {
|
|
77
|
+
return {
|
|
78
|
+
propsDefault: l
|
|
79
|
+
};
|
|
80
|
+
},
|
|
81
|
+
computed: {
|
|
82
|
+
imgKey: function() {
|
|
83
|
+
return this.option.props.img || this.propsDefault.img;
|
|
84
|
+
},
|
|
85
|
+
titleKey: function() {
|
|
86
|
+
return this.option.props.title || this.propsDefault.title;
|
|
87
|
+
},
|
|
88
|
+
infoKey: function() {
|
|
89
|
+
return this.option.props.info || this.propsDefault.info;
|
|
90
|
+
},
|
|
91
|
+
span() {
|
|
92
|
+
return this.option.span || 8;
|
|
93
|
+
},
|
|
94
|
+
gutter() {
|
|
95
|
+
return this.option.gutter || 20;
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
methods: {
|
|
99
|
+
rowAdd() {
|
|
100
|
+
this.$emit("row-add");
|
|
101
|
+
},
|
|
102
|
+
rowClick(t, e) {
|
|
103
|
+
this.$emit("row-click", t, e);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}, n = {};
|
|
107
|
+
var d = /* @__PURE__ */ r(
|
|
108
|
+
u,
|
|
109
|
+
o,
|
|
110
|
+
c,
|
|
111
|
+
!1,
|
|
112
|
+
_,
|
|
113
|
+
null,
|
|
114
|
+
null,
|
|
115
|
+
null
|
|
116
|
+
);
|
|
117
|
+
function _(t) {
|
|
118
|
+
for (let e in n)
|
|
119
|
+
this[e] = n[e];
|
|
120
|
+
}
|
|
121
|
+
const f = /* @__PURE__ */ function() {
|
|
122
|
+
return d.exports;
|
|
123
|
+
}();
|
|
124
|
+
export {
|
|
125
|
+
f as default
|
|
126
|
+
};
|
package/card/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-card__item{box-sizing:border-box;color:rgba(0,0,0,.65);font-variant:tabular-nums;cursor:pointer;font-feature-settings:"tnum";background-color:#fff;border:1px solid #e8e8e8;height:200px;margin-bottom:16px;font-size:14px;line-height:1.5;list-style:none}.avue-card__item:hover{border-color:rgba(0,0,0,.09);box-shadow:0 2px 8px rgba(0,0,0,.09)}.avue-card__item--add{color:rgba(0,0,0,.45);background-color:#fff;border:1px dashed #d9d9d9;border-radius:2px;justify-content:center;align-items:center;width:100%;font-size:16px;display:flex}.avue-card__item--add i{margin-right:10px}.avue-card__item--add:hover{color:#40a9ff;background-color:#fff;border-color:#40a9ff}.avue-card__body{padding:24px;display:flex}.avue-card__detail{flex:1}.avue-card__avatar{border-radius:48px;width:48px;height:48px;margin-right:12px;overflow:hidden}.avue-card__avatar img{width:100%;height:100%}.avue-card__title{color:rgba(0,0,0,.85);margin-bottom:12px;font-size:16px}.avue-card__title:hover{color:#1890ff}.avue-card__info{color:rgba(0,0,0,.45);-webkit-line-clamp:3;-webkit-box-orient:vertical;height:64px;display:flex;overflow:hidden}.avue-card__menu{color:rgba(0,0,0,.45);text-align:center;background:#f7f9fa;justify-content:space-around;height:50px;line-height:50px;display:flex}.avue-card__menu:hover{color:#1890ff}
|