@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.dic[data-v-1d95d416]{margin-bottom:5px;display:flex}.el-tag[data-v-4d9443ba]{vertical-align:top}.el-tag+.el-tag[data-v-4d9443ba]{margin-left:5px}.input-new-tag[data-v-4d9443ba]{vertical-align:bottom;width:90px;margin-left:5px}.color-picker[data-v-4d9443ba]{vertical-align:top;left:10px}.custom-tree-node[data-v-effc82e6]{flex:1;justify-content:space-between;align-items:center;padding-right:8px;font-size:14px;display:flex}.form-designer{background:#fff;outline:1px solid #e4e7ed;height:100%}.form-designer ::-webkit-scrollbar{width:0!important;height:0!important}.form-designer ::-webkit-scrollbar-track{background-color:transparent!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important;border-radius:10px!important;box-shadow:inset 0 0 6px transparent!important}.form-designer .fields-list{width:100%;height:100%;padding:10px 0}.form-designer .fields-list .field-title{padding:8px 12px;font-size:13px}.form-designer .fields-list ul{margin:0;padding:0 10px 10px;position:relative;overflow:hidden}.form-designer .fields-list .field-label{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:47%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}.form-designer .fields-list .field-label>a{color:#333;cursor:move;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label>a span{vertical-align:middle;display:inline-block}.form-designer .fields-list .field-label-disabled{float:left;color:#333;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc;width:48%;margin:1%;font-size:12px;line-height:26px;display:block;position:relative;left:0;overflow:hidden}.form-designer .fields-list .field-label-disabled:hover{color:gray;border:1px dashed gray}.form-designer .fields-list .field-label-disabled>a{cursor:not-allowed;background:#f4f6fc;border:1px solid #f4f6fc;display:block}.form-designer .fields-list .field-label-disabled>a .icon{vertical-align:middle;margin-left:8px;margin-right:6px;font-size:14px;display:inline-block}.form-designer .fields-list .field-label-disabled>a span{vertical-align:middle;display:inline-block}.form-designer .widget-container{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;flex:1}.form-designer .widget-container .widget-container-header{border-bottom:2px solid #e4e7ed;justify-content:space-between;align-items:center;display:flex;height:45px!important}.form-designer .widget-container .el-main{padding:0;position:relative}.form-designer .widget-form-container{height:100%;position:relative;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .el-form,.form-designer .widget-form-container .el-form .el-row{height:100%}.form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow-x:hidden;overflow-y:scroll}.form-designer .widget-form-container .widget-form-list .widget-form-item{border-left:5px solid transparent;min-height:30px;margin:0;padding:5px 10px 18px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-item:after{z-index:1001;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-item:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{z-index:1002;position:absolute;bottom:-32px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{z-index:1002;position:absolute;bottom:-32px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__content{outline-offset:-1px;outline:1px dashed #ccc;width:100%;height:100%;min-height:103px;padding:10px 5px;display:flex;overflow-y:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar{width:6px!important;height:6px!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content::-webkit-scrollbar-thumb{background-color:#e5e7eb!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__content .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:90px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-table__item{width:33.3%;min-width:33.3%;height:100%;padding:1px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.required .el-table__header .cell:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-delete{z-index:1002;position:absolute;bottom:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone{z-index:1002;position:absolute;bottom:0;right:30px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .widget-table-action-clone i{font-size:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table__item .el-button--small.is-circle{padding:5px}.form-designer .widget-form-container .widget-form-list .widget-form-table.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-table:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-table .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .widget-form-group{float:left;width:100%;padding:2px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__head{margin:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group__body{outline-offset:-1px;outline:1px dashed #ccc;height:100%;min-height:150px;padding-bottom:15px;overflow:hidden}.form-designer .widget-form-container .widget-form-list .widget-form-group__body .ghost{box-sizing:border-box;content:"";background:#fff;border-left:5px solid #409eff;outline:0;height:100%;min-height:57px;margin:1px 2px 0;font-size:0;position:relative;overflow:hidden;width:0!important;min-width:0!important;padding:0!important}.form-designer .widget-form-container .widget-form-list .widget-form-group__item{background:#fff;border-left:5px solid transparent;margin:3px;padding:10px;position:relative}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.required .el-form-item__label:before{color:#f56c6c;content:"*";margin-right:4px}.form-designer .widget-form-container .widget-form-list .widget-form-group__item.active{outline-offset:-1px;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:hover{outline-offset:-1px;cursor:move;outline:1px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group__item:after{z-index:1001;content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--delete{z-index:1002;position:absolute;bottom:-24px;right:0}.form-designer .widget-form-container .widget-form-list .widget-form-group__item--clone{z-index:1002;position:absolute;bottom:-24px;right:34px}.form-designer .widget-form-container .widget-form-list .widget-form-group.active{background:#ecf5ff;border-left:3px solid #409eff}.form-designer .widget-form-container .widget-form-list .widget-form-group:hover{cursor:move;background:#ecf8ff}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-delete{z-index:1001;position:absolute;bottom:-12px;right:10px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clear{z-index:1001;position:absolute;bottom:-12px;right:50px}.form-designer .widget-form-container .widget-form-list .widget-form-group .widget-action-clone{z-index:1001;position:absolute;bottom:-12px;right:90px}.form-designer .widget-form-container .widget-form-list .iconfont{font-size:13px}.form-designer .widget-form-container .widget-form-list .el-button--small.is-circle{padding:7px}.form-designer .widget-form-container .ghost{box-sizing:border-box;content:"";background:#fff;border-top:5px solid #409eff;outline:0;width:100%;margin:2px 0;font-size:0;position:relative;overflow:hidden;height:0!important;padding:0!important}.form-designer .widget-config-container{height:100%;padding-top:5px}.form-designer .widget-config-container .el-tabs{height:100%}.form-designer .widget-config-container .el-tabs__header{z-index:1000;background:#fff;height:45px;margin:0}.form-designer .widget-config-container .el-tabs__content{height:calc(100% - 45px);overflow-y:scroll}.form-designer .widget-config-container .widget-config .el-tabs__header{margin:0;display:block;position:relative;top:0}.form-designer .widget-config-container .widget-config .el-tabs__content{margin-top:0}.form-designer .widget-config-container .widget-config .ghost{background:#fff;border:1px dashed #409eff}.form-designer .widget-config-container .widget-config ul{margin:0;padding:0}.form-designer .widget-config-container .widget-config ul li{align-items:center;width:100%;display:flex}.form-designer .widget-config-container .widget-config ul li .ghost{height:35px;font-size:0;list-style:none}.form-designer .widget-config-container .avue-group__item{padding:0}.form-designer .el-container{height:100%}.form-designer .el-container .el-main{height:calc(100% - 45px)}.form-designer .el-container .el-aside{background:#fff}.form-designer .danger{color:#f56c6c}.form-designer .warning{color:#e6a23c}.form-designer .el-input-number.is-controls-right .el-input-number__decrease{border-left:none}.form-designer .el-input-number.is-controls-right .el-input-number__increase{border-bottom:none;border-left:none}.form-designer .el-date-editor,.form-designer .el-cascader,.form-designer .el-select,.form-designer .el-input-number{width:100%}.form-designer .editor-fullscreen{z-index:1003;box-sizing:border-box;background:#fff;width:100%;padding:20px;top:0;bottom:0;left:0;right:0;height:100%!important;position:fixed!important}.form-designer .editor-fullscreen i{top:20px!important;left:25px!important}.afd-drawer-foot{padding:20px;display:flex;position:absolute;bottom:0;left:0;right:0}.afd-drawer-foot button{width:50%}.afd-drawer-foot>span{width:50%;display:inline-block}.afd-drawer-foot>span button{width:100%}.afd-preview-form{height:83vh;overflow-y:auto}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import { p as a, e as p } from "../chunks/event.NHA7rYFE.mjs";
|
|
2
|
+
import { n as l } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
|
+
var s = function() {
|
|
4
|
+
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
5
|
+
return r("ElInput", {
|
|
6
|
+
staticClass: "avue-input",
|
|
7
|
+
attrs: {
|
|
8
|
+
size: e.size,
|
|
9
|
+
clearable: e.clearableVal,
|
|
10
|
+
type: e.typeParam,
|
|
11
|
+
maxlength: e.maxlength,
|
|
12
|
+
minlength: e.minlength,
|
|
13
|
+
"show-password": e.typeParam === "password" ? e.showPassword : !1,
|
|
14
|
+
rows: e.rows,
|
|
15
|
+
autosize: {
|
|
16
|
+
minRows: e.minRows,
|
|
17
|
+
maxRows: e.maxRows
|
|
18
|
+
},
|
|
19
|
+
"prefix-icon": e.prefixIcon,
|
|
20
|
+
"suffix-icon": e.suffixIcon,
|
|
21
|
+
readonly: e.readonly,
|
|
22
|
+
placeholder: e.placeholder,
|
|
23
|
+
"show-word-limit": e.showWordLimit,
|
|
24
|
+
disabled: e.disabled,
|
|
25
|
+
autocomplete: e.autocomplete
|
|
26
|
+
},
|
|
27
|
+
on: {
|
|
28
|
+
keyup: function(n) {
|
|
29
|
+
if (!n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter"))
|
|
30
|
+
return null;
|
|
31
|
+
e.isSearch && e.appendClick();
|
|
32
|
+
},
|
|
33
|
+
focus: e.handleFocus,
|
|
34
|
+
blur: e.handleBlur
|
|
35
|
+
},
|
|
36
|
+
nativeOn: {
|
|
37
|
+
click: function(n) {
|
|
38
|
+
return e.handleClick.apply(null, arguments);
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
scopedSlots: e._u([e.prepend ? {
|
|
42
|
+
key: "prepend",
|
|
43
|
+
fn: function() {
|
|
44
|
+
return [r("span", {
|
|
45
|
+
on: {
|
|
46
|
+
click: function(n) {
|
|
47
|
+
return e.prependClick();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}, [e._v(e._s(e.prepend))])];
|
|
51
|
+
},
|
|
52
|
+
proxy: !0
|
|
53
|
+
} : null, e.append ? {
|
|
54
|
+
key: "append",
|
|
55
|
+
fn: function() {
|
|
56
|
+
return [r("span", {
|
|
57
|
+
on: {
|
|
58
|
+
click: function(n) {
|
|
59
|
+
return e.appendClick();
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}, [e._v(e._s(e.append))])];
|
|
63
|
+
},
|
|
64
|
+
proxy: !0
|
|
65
|
+
} : e.isSearch ? {
|
|
66
|
+
key: "append",
|
|
67
|
+
fn: function() {
|
|
68
|
+
return [r("ElButton", {
|
|
69
|
+
attrs: {
|
|
70
|
+
icon: "el-icon-search"
|
|
71
|
+
},
|
|
72
|
+
on: {
|
|
73
|
+
click: function(n) {
|
|
74
|
+
return e.appendClick();
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
})];
|
|
78
|
+
},
|
|
79
|
+
proxy: !0
|
|
80
|
+
} : null], null, !0),
|
|
81
|
+
model: {
|
|
82
|
+
value: e.text,
|
|
83
|
+
callback: function(n) {
|
|
84
|
+
e.text = n;
|
|
85
|
+
},
|
|
86
|
+
expression: "text"
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
}, i = [];
|
|
90
|
+
const u = {
|
|
91
|
+
name: "FyInput",
|
|
92
|
+
mixins: [a, p],
|
|
93
|
+
props: {
|
|
94
|
+
showPassword: {
|
|
95
|
+
type: Boolean,
|
|
96
|
+
default: !0
|
|
97
|
+
},
|
|
98
|
+
showWordLimit: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
default: !1
|
|
101
|
+
},
|
|
102
|
+
prefixIcon: {
|
|
103
|
+
type: String
|
|
104
|
+
},
|
|
105
|
+
suffixIcon: {
|
|
106
|
+
type: String
|
|
107
|
+
},
|
|
108
|
+
prependClick: {
|
|
109
|
+
type: Function,
|
|
110
|
+
default: () => {
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
prepend: {
|
|
114
|
+
type: String
|
|
115
|
+
},
|
|
116
|
+
appendClick: {
|
|
117
|
+
type: Function,
|
|
118
|
+
default: () => {
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
append: {
|
|
122
|
+
type: String
|
|
123
|
+
},
|
|
124
|
+
minlength: {
|
|
125
|
+
type: Number
|
|
126
|
+
},
|
|
127
|
+
maxlength: {
|
|
128
|
+
type: Number
|
|
129
|
+
},
|
|
130
|
+
rows: Number,
|
|
131
|
+
minRows: {
|
|
132
|
+
type: Number,
|
|
133
|
+
default: 5
|
|
134
|
+
},
|
|
135
|
+
maxRows: {
|
|
136
|
+
type: Number,
|
|
137
|
+
default: 10
|
|
138
|
+
},
|
|
139
|
+
autocomplete: {
|
|
140
|
+
type: String
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
computed: {
|
|
144
|
+
isSearch() {
|
|
145
|
+
return this.type === "search";
|
|
146
|
+
},
|
|
147
|
+
typeParam: function() {
|
|
148
|
+
return this.type === "textarea" ? "textarea" : this.type === "password" ? "password" : "text";
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}, o = {};
|
|
152
|
+
var c = /* @__PURE__ */ l(
|
|
153
|
+
u,
|
|
154
|
+
s,
|
|
155
|
+
i,
|
|
156
|
+
!1,
|
|
157
|
+
d,
|
|
158
|
+
null,
|
|
159
|
+
null,
|
|
160
|
+
null
|
|
161
|
+
);
|
|
162
|
+
function d(e) {
|
|
163
|
+
for (let t in o)
|
|
164
|
+
this[t] = o[t];
|
|
165
|
+
}
|
|
166
|
+
const y = /* @__PURE__ */ function() {
|
|
167
|
+
return c.exports;
|
|
168
|
+
}();
|
|
169
|
+
export {
|
|
170
|
+
y as default
|
|
171
|
+
};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { p as a, e as o } from "../chunks/event.NHA7rYFE.mjs";
|
|
2
|
+
import { n as s } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
3
|
+
var c = function() {
|
|
4
|
+
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
5
|
+
return l("div", {
|
|
6
|
+
staticClass: "avue-input-color"
|
|
7
|
+
}, [l("ElInput", {
|
|
8
|
+
ref: "main",
|
|
9
|
+
attrs: {
|
|
10
|
+
placeholder: e.placeholder,
|
|
11
|
+
size: e.size,
|
|
12
|
+
readonly: e.readonly,
|
|
13
|
+
clearable: e.clearableVal,
|
|
14
|
+
disabled: e.disabled
|
|
15
|
+
},
|
|
16
|
+
nativeOn: {
|
|
17
|
+
click: function(r) {
|
|
18
|
+
return e.handleClick.apply(null, arguments);
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
scopedSlots: e._u([{
|
|
22
|
+
key: "append",
|
|
23
|
+
fn: function() {
|
|
24
|
+
return [l("ElColorPicker", {
|
|
25
|
+
attrs: {
|
|
26
|
+
size: "mini",
|
|
27
|
+
"popper-class": e.popperClass,
|
|
28
|
+
"color-format": e.colorFormat,
|
|
29
|
+
disabled: e.disabled,
|
|
30
|
+
"show-alpha": e.showAlpha,
|
|
31
|
+
predefine: e.predefine
|
|
32
|
+
},
|
|
33
|
+
model: {
|
|
34
|
+
value: e.text,
|
|
35
|
+
callback: function(r) {
|
|
36
|
+
e.text = r;
|
|
37
|
+
},
|
|
38
|
+
expression: "text"
|
|
39
|
+
}
|
|
40
|
+
})];
|
|
41
|
+
},
|
|
42
|
+
proxy: !0
|
|
43
|
+
}]),
|
|
44
|
+
model: {
|
|
45
|
+
value: e.text,
|
|
46
|
+
callback: function(r) {
|
|
47
|
+
e.text = r;
|
|
48
|
+
},
|
|
49
|
+
expression: "text"
|
|
50
|
+
}
|
|
51
|
+
})], 1);
|
|
52
|
+
}, i = [];
|
|
53
|
+
const p = {
|
|
54
|
+
name: "FyInputColor",
|
|
55
|
+
mixins: [a, o],
|
|
56
|
+
props: {
|
|
57
|
+
colorFormat: String,
|
|
58
|
+
predefine: {
|
|
59
|
+
type: Array,
|
|
60
|
+
default: () => [
|
|
61
|
+
"#ff4500",
|
|
62
|
+
"#ff8c00",
|
|
63
|
+
"#ffd700",
|
|
64
|
+
"#90ee90",
|
|
65
|
+
"#00ced1",
|
|
66
|
+
"#1e90ff",
|
|
67
|
+
"#c71585",
|
|
68
|
+
"rgba(255, 69, 0, 0.68)",
|
|
69
|
+
"rgb(255, 120, 0)",
|
|
70
|
+
"hsv(51, 100, 98)",
|
|
71
|
+
"hsva(120, 40, 94, 0.5)",
|
|
72
|
+
"hsl(181, 100%, 37%)",
|
|
73
|
+
"hsla(209, 100%, 56%, 0.73)"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
showAlpha: {
|
|
77
|
+
type: Boolean,
|
|
78
|
+
default: !0
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}, n = {};
|
|
82
|
+
var u = /* @__PURE__ */ s(
|
|
83
|
+
p,
|
|
84
|
+
c,
|
|
85
|
+
i,
|
|
86
|
+
!1,
|
|
87
|
+
d,
|
|
88
|
+
null,
|
|
89
|
+
null,
|
|
90
|
+
null
|
|
91
|
+
);
|
|
92
|
+
function d(e) {
|
|
93
|
+
for (let t in n)
|
|
94
|
+
this[t] = n[t];
|
|
95
|
+
}
|
|
96
|
+
const v = /* @__PURE__ */ function() {
|
|
97
|
+
return u.exports;
|
|
98
|
+
}();
|
|
99
|
+
export {
|
|
100
|
+
v as default
|
|
101
|
+
};
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { p as s, e as o } from "../chunks/event.NHA7rYFE.mjs";
|
|
2
|
+
import r from "@web-utils/component/icon-temp";
|
|
3
|
+
import "@web-utils/component/icon-temp/style.css";
|
|
4
|
+
import { n as c } from "../chunks/vueComponentNormalizer.JwmUNtgn.mjs";
|
|
5
|
+
var u = function() {
|
|
6
|
+
var t = this, i = t.$createElement, e = t._self._c || i;
|
|
7
|
+
return e("div", {
|
|
8
|
+
staticClass: "avue-input-icon"
|
|
9
|
+
}, [e("ElInput", {
|
|
10
|
+
ref: "main",
|
|
11
|
+
attrs: {
|
|
12
|
+
placeholder: t.placeholder,
|
|
13
|
+
size: t.size,
|
|
14
|
+
clearable: t.clearableVal,
|
|
15
|
+
disabled: t.disabled
|
|
16
|
+
},
|
|
17
|
+
on: {
|
|
18
|
+
focus: t.handleShow
|
|
19
|
+
},
|
|
20
|
+
nativeOn: {
|
|
21
|
+
click: function(n) {
|
|
22
|
+
return t.handleClick.apply(null, arguments);
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
scopedSlots: t._u([{
|
|
26
|
+
key: "append",
|
|
27
|
+
fn: function() {
|
|
28
|
+
return [e("IconTemp", {
|
|
29
|
+
attrs: {
|
|
30
|
+
text: t.text,
|
|
31
|
+
size: 28,
|
|
32
|
+
small: t.size === "mini"
|
|
33
|
+
},
|
|
34
|
+
on: {
|
|
35
|
+
click: t.handleShow
|
|
36
|
+
}
|
|
37
|
+
})];
|
|
38
|
+
},
|
|
39
|
+
proxy: !0
|
|
40
|
+
}]),
|
|
41
|
+
model: {
|
|
42
|
+
value: t.text,
|
|
43
|
+
callback: function(n) {
|
|
44
|
+
t.text = n;
|
|
45
|
+
},
|
|
46
|
+
expression: "text"
|
|
47
|
+
}
|
|
48
|
+
}), t.box ? e("div", [e("ElementDialog", {
|
|
49
|
+
attrs: {
|
|
50
|
+
title: t.placeholder,
|
|
51
|
+
visible: t.box,
|
|
52
|
+
width: t.dialogWidth
|
|
53
|
+
},
|
|
54
|
+
on: {
|
|
55
|
+
"update:visible": function(n) {
|
|
56
|
+
t.box = n;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}, [e("div", {
|
|
60
|
+
staticClass: "avue-input-icon__filter"
|
|
61
|
+
}, [e("ElInput", {
|
|
62
|
+
attrs: {
|
|
63
|
+
placeholder: "请输入",
|
|
64
|
+
size: t.size
|
|
65
|
+
},
|
|
66
|
+
model: {
|
|
67
|
+
value: t.filterText,
|
|
68
|
+
callback: function(n) {
|
|
69
|
+
t.filterText = n;
|
|
70
|
+
},
|
|
71
|
+
expression: "filterText"
|
|
72
|
+
}
|
|
73
|
+
})], 1), e("FyTabs", {
|
|
74
|
+
attrs: {
|
|
75
|
+
option: t.option
|
|
76
|
+
},
|
|
77
|
+
on: {
|
|
78
|
+
change: t.handleTabs
|
|
79
|
+
}
|
|
80
|
+
}), e("div", {
|
|
81
|
+
staticClass: "avue-input-icon__list"
|
|
82
|
+
}, t._l(t.list, function(n, a) {
|
|
83
|
+
return e("div", {
|
|
84
|
+
key: a,
|
|
85
|
+
class: ["avue-input-icon__item", {
|
|
86
|
+
active: t.text === n
|
|
87
|
+
}],
|
|
88
|
+
on: {
|
|
89
|
+
click: function(v) {
|
|
90
|
+
return t.handleSubmit(n.value);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}, [e("IconTemp", {
|
|
94
|
+
attrs: {
|
|
95
|
+
text: n.value,
|
|
96
|
+
small: t.size === "mini"
|
|
97
|
+
}
|
|
98
|
+
}), e("p", [t._v(t._s(n.label || n.value))])], 1);
|
|
99
|
+
}), 0)], 1)], 1) : t._e()], 1);
|
|
100
|
+
}, p = [];
|
|
101
|
+
const d = {
|
|
102
|
+
name: "FyInputIcon",
|
|
103
|
+
components: { IconTemp: r },
|
|
104
|
+
mixins: [s, o],
|
|
105
|
+
props: {
|
|
106
|
+
dialogWidth: {
|
|
107
|
+
type: String,
|
|
108
|
+
default: "80%"
|
|
109
|
+
},
|
|
110
|
+
iconList: {
|
|
111
|
+
type: Array,
|
|
112
|
+
default: () => []
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
data() {
|
|
116
|
+
return {
|
|
117
|
+
filterText: "",
|
|
118
|
+
box: !1,
|
|
119
|
+
tabs: {}
|
|
120
|
+
};
|
|
121
|
+
},
|
|
122
|
+
computed: {
|
|
123
|
+
list() {
|
|
124
|
+
let t = (this.tabs.list || []).map((i) => !i.value && !i.label ? {
|
|
125
|
+
value: i
|
|
126
|
+
} : i);
|
|
127
|
+
return this.filterText && (t = t.filter((i) => i.label.indexOf(this.filterText) !== -1)), t;
|
|
128
|
+
},
|
|
129
|
+
option() {
|
|
130
|
+
return {
|
|
131
|
+
column: this.iconList
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
created() {
|
|
136
|
+
this.tabs = this.iconList[0] || {};
|
|
137
|
+
},
|
|
138
|
+
methods: {
|
|
139
|
+
handleTabs(t) {
|
|
140
|
+
this.tabs = t;
|
|
141
|
+
},
|
|
142
|
+
handleSubmit(t) {
|
|
143
|
+
this.box = !1, this.text = t, this.handleChange(t);
|
|
144
|
+
},
|
|
145
|
+
handleShow() {
|
|
146
|
+
this.$refs.main.blur(), !(this.disabled || this.readonly) && (this.box = !0);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}, l = {};
|
|
150
|
+
var h = /* @__PURE__ */ c(
|
|
151
|
+
d,
|
|
152
|
+
u,
|
|
153
|
+
p,
|
|
154
|
+
!1,
|
|
155
|
+
f,
|
|
156
|
+
null,
|
|
157
|
+
null,
|
|
158
|
+
null
|
|
159
|
+
);
|
|
160
|
+
function f(t) {
|
|
161
|
+
for (let i in l)
|
|
162
|
+
this[i] = l[i];
|
|
163
|
+
}
|
|
164
|
+
const y = /* @__PURE__ */ function() {
|
|
165
|
+
return h.exports;
|
|
166
|
+
}();
|
|
167
|
+
export {
|
|
168
|
+
y as default
|
|
169
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-input-icon{flex-wrap:wrap;justify-content:space-around;display:flex}.avue-input-icon__item{box-sizing:content-box;text-align:center;width:60px;padding:10px 20px 0;transition:all .2s}.avue-input-icon__item p{margin-top:5px;font-size:12px}.avue-input-icon__item:hover{transform:scale(1.4)}.avue-input-icon__item--active{color:#409eff;transform:scale(1.4)}.avue-input-icon__list{flex-wrap:wrap;display:flex}.avue-input-icon__filter{text-align:right}.avue-input-icon__filter .el-input{width:250px}
|