@web-utils/component 2.7.30 → 2.7.32
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/chunks/{config.7dec2bf2.js → config.75161c38.mjs} +29 -29
- package/dist/chunks/confirmable-mixin.851d6299.mjs +137 -0
- package/dist/chunks/dataformat.3388d88a.mjs +237 -0
- package/dist/chunks/detail.37726835.mjs +55 -0
- package/dist/chunks/dic.09a81bc8.mjs +215 -0
- package/dist/chunks/{event.fc358074.js → event.6fc3df3a.mjs} +54 -23
- package/dist/chunks/{form-input-mixin.760cd65d.js → form-input-mixin.e7f93f4c.mjs} +4 -4
- package/dist/chunks/{form-item-mixin.fa314b67.js → form-item-mixin.a2ed6693.mjs} +44 -17
- package/dist/chunks/{form-pick-mixin.c4e0391b.js → form-pick-mixin.822300f3.mjs} +1 -1
- package/dist/chunks/{init.e0133910.js → init.3407e589.mjs} +41 -21
- package/dist/chunks/{input-number-mixin.6849fa63.js → input-number-mixin.44b78389.mjs} +4 -4
- package/dist/chunks/{mixins.6a394a6c.js → mixins.e1939731.mjs} +3 -2
- package/dist/chunks/{packages.419bde01.js → packages.c4ea639d.mjs} +12 -6
- package/dist/chunks/{permission.07c49abf.js → permission.9c766972.mjs} +6 -1
- package/dist/chunks/slot.55598d0f.mjs +35 -0
- package/dist/chunks/{tab-mixin.9d568df9.js → tab-mixin.9d848bf6.mjs} +29 -11
- package/dist/chunks/util.b0d0b0ad.mjs +478 -0
- package/dist/chunks/{utils.d7f73f8d.js → utils.2a3ffac9.mjs} +89 -24
- package/dist/chunks/{utils.f44207f4.js → utils.a8891d2c.mjs} +9 -5
- package/dist/chunks/vueComponentNormalizer.9c6b8b3d.mjs +59 -0
- package/dist/components/address-input/{index.js → index.mjs} +30 -17
- package/dist/components/address-input/style.css +15 -1
- package/dist/components/affix/index.mjs +152 -0
- package/dist/components/affix/style.css +5 -1
- package/dist/components/aside-menu/{index.js → index.mjs} +14 -8
- package/dist/components/aside-menu/style.css +9 -1
- package/dist/components/avatar/{index.js → index.mjs} +33 -15
- package/dist/components/avatar/style.css +57 -1
- package/dist/components/awesome-button/{index.js → index.mjs} +45 -31
- package/dist/components/base.css +410 -1
- package/dist/components/capsule-tab/{index.js → index.mjs} +13 -7
- package/dist/components/capsule-tab/style.css +32 -1
- package/dist/components/card/{index.js → index.mjs} +33 -20
- package/dist/components/card/style.css +90 -1
- package/dist/components/carousel/{index.js → index.mjs} +18 -12
- package/dist/components/carousel/style.css +41 -1
- package/dist/components/chat/{index.js → index.mjs} +245 -139
- package/dist/components/chat/style.css +279 -1
- package/dist/components/chunk-file-uploader/index.mjs +153 -0
- package/dist/components/chunk-file-uploader/style.css +4 -1
- package/dist/components/chunk-file-uploader-button/{index.js → index.mjs} +15 -9
- package/dist/components/chunk-file-uploader-button/style.css +17 -1
- package/dist/components/chunk-file-uploader-drop/index.mjs +101 -0
- package/dist/components/chunk-file-uploader-drop/style.css +12 -1
- package/dist/components/chunk-file-uploader-file/{index.js → index.mjs} +150 -73
- package/dist/components/chunk-file-uploader-file/style.css +125 -1
- package/dist/components/chunk-file-uploader-files/{index.js → index.mjs} +15 -9
- package/dist/components/chunk-file-uploader-files/style.css +9 -1
- package/dist/components/chunk-file-uploader-list/{index.js → index.mjs} +16 -10
- package/dist/components/chunk-file-uploader-list/style.css +9 -1
- package/dist/components/chunk-file-uploader-un-support/{index.js → index.mjs} +18 -10
- package/dist/components/chunk-file-uploader-un-support/style.css +6 -1
- package/dist/components/code-mirror-editor/{index.js → index.mjs} +75 -47
- package/dist/components/code-mirror-editor/style.css +17 -1
- package/dist/components/color-picker/{index.js → index.mjs} +62 -39
- package/dist/components/column/{index.js → index.mjs} +54 -29
- package/dist/components/column-default/{index.js → index.mjs} +47 -33
- package/dist/components/column-dynamic/{index.js → index.mjs} +26 -19
- package/dist/components/column-menu/{index.js → index.mjs} +98 -86
- package/dist/components/column-slot/{index.js → index.mjs} +135 -75
- package/dist/components/comment/{index.js → index.mjs} +28 -15
- package/dist/components/comment/style.css +92 -1
- package/dist/components/confirm-button/{index.js → index.mjs} +7 -5
- package/dist/components/confirmable/{index.js → index.mjs} +5 -4
- package/dist/components/context-menu/{index.js → index.mjs} +54 -32
- package/dist/components/context-menu/style.css +88 -1
- package/dist/components/count-up/index.mjs +148 -0
- package/dist/components/custom-scrollbar/{index.js → index.mjs} +45 -21
- package/dist/components/data-box/{index.js → index.mjs} +22 -16
- package/dist/components/data-box/style.css +58 -1
- package/dist/components/data-card/{index.js → index.mjs} +21 -15
- package/dist/components/data-card/style.css +46 -1
- package/dist/components/data-cardtext/{index.js → index.mjs} +19 -13
- package/dist/components/data-cardtext/style.css +36 -1
- package/dist/components/data-display/{index.js → index.mjs} +22 -16
- package/dist/components/data-display/style.css +37 -1
- package/dist/components/data-icons/{index.js → index.mjs} +23 -17
- package/dist/components/data-icons/style.css +53 -1
- package/dist/components/data-imgtext/{index.js → index.mjs} +26 -20
- package/dist/components/data-imgtext/style.css +70 -1
- package/dist/components/data-operatext/{index.js → index.mjs} +20 -14
- package/dist/components/data-operatext/style.css +81 -1
- package/dist/components/data-panel/{index.js → index.mjs} +21 -15
- package/dist/components/data-panel/style.css +37 -1
- package/dist/components/data-pay/{index.js → index.mjs} +29 -23
- package/dist/components/data-pay/style.css +102 -1
- package/dist/components/data-price/{index.js → index.mjs} +19 -13
- package/dist/components/data-price/style.css +81 -1
- package/dist/components/data-progress/{index.js → index.mjs} +26 -20
- package/dist/components/data-progress/style.css +30 -1
- package/dist/components/data-rotate/{index.js → index.mjs} +21 -15
- package/dist/components/data-rotate/style.css +50 -1
- package/dist/components/data-table-picker/{index.js → index.mjs} +47 -28
- package/dist/components/data-tabs/{index.js → index.mjs} +22 -16
- package/dist/components/data-tabs/style.css +70 -1
- package/dist/components/dialog-column/{index.js → index.mjs} +46 -33
- package/dist/components/dialog-excel/{index.js → index.mjs} +102 -53
- package/dist/components/dialog-filter/{index.js → index.mjs} +64 -51
- package/dist/components/dialog-form/{index.js → index.mjs} +54 -34
- package/dist/components/dialog-form/style.css +10 -0
- package/dist/components/dynamic-table/{index.js → index.mjs} +66 -42
- package/dist/components/dynamic-table/style.css +30 -1
- package/dist/components/e-charts/{index.js → index.mjs} +127 -46
- package/dist/components/e-charts/style.css +10 -1
- package/dist/components/easy-popup/{index.js → index.mjs} +32 -14
- package/dist/components/easy-popup/style.css +18 -1
- package/dist/components/editable-progress/{index.js → index.mjs} +64 -31
- package/dist/components/editable-progress/style.css +37 -1
- package/dist/components/editable-tree/{index.js → index.mjs} +513 -287
- package/dist/components/editable-tree/style.css +82 -1
- package/dist/components/egd-collapse/{index.js → index.mjs} +25 -12
- package/dist/components/egd-collapse-item/{index.js → index.mjs} +41 -25
- package/dist/components/element-dialog/{index.js → index.mjs} +101 -48
- package/dist/components/element-dialog/style.css +88 -1
- package/dist/components/empty-view/{index.js → index.mjs} +13 -7
- package/dist/components/empty-view/style.css +17 -1
- package/dist/components/error-view/{index.js → index.mjs} +12 -6
- package/dist/components/error-view/style.css +17 -1
- package/dist/components/flex-column/index.mjs +84 -0
- package/dist/components/flex-item/index.mjs +116 -0
- package/dist/components/flex-row/index.mjs +84 -0
- package/dist/components/flex-scroller/{index.js → index.mjs} +13 -7
- package/dist/components/flex-scroller/style.css +20 -1
- package/dist/components/flow/{index.js → index.mjs} +116 -64
- package/dist/components/flow/style.css +44 -1
- package/dist/components/flow-node/{index.js → index.mjs} +29 -21
- package/dist/components/flow-viewer/index.mjs +207 -0
- package/dist/components/flow-viewer/style.css +19 -1
- package/dist/components/form-button/{index.js → index.mjs} +12 -8
- package/dist/components/form-cascader/{index.js → index.mjs} +55 -40
- package/dist/components/form-checkbox-group/{index.js → index.mjs} +90 -60
- package/dist/components/form-checkbox-group/style.css +51 -1
- package/dist/components/form-date-picker/{index.js → index.mjs} +113 -44
- package/dist/components/form-group/{index.js → index.mjs} +23 -17
- package/dist/components/form-group/style.css +76 -1
- package/dist/components/form-holder/{index.js → index.mjs} +41 -30
- package/dist/components/form-input/{index.js → index.mjs} +42 -31
- package/dist/components/form-input-email/{index.js → index.mjs} +47 -30
- package/dist/components/form-input-id-card/{index.js → index.mjs} +40 -29
- package/dist/components/form-input-number/{index.js → index.mjs} +50 -38
- package/dist/components/form-input-number/style.css +12 -1
- package/dist/components/form-input-phone-number/{index.js → index.mjs} +40 -29
- package/dist/components/form-input-time/{index.js → index.mjs} +40 -29
- package/dist/components/form-item/index.mjs +199 -0
- package/dist/components/form-item/style.css +11 -1
- package/dist/components/form-item-config-provider/{index.js → index.mjs} +9 -8
- package/dist/components/form-item-group/{index.js → index.mjs} +69 -43
- package/dist/components/form-item-group/style.css +30 -1
- package/dist/components/form-radio-group/{index.js → index.mjs} +77 -53
- package/dist/components/form-radio-group/style.css +53 -1
- package/dist/components/form-select/{index.js → index.mjs} +71 -51
- package/dist/components/form-switch/{index.js → index.mjs} +41 -30
- package/dist/components/form-temp/{index.js → index.mjs} +49 -29
- package/dist/components/form-textarea/{index.js → index.mjs} +45 -34
- package/dist/components/form-view/{index.js → index.mjs} +152 -81
- package/dist/components/form-view/style.css +158 -1
- package/dist/components/fy-array/{index.js → index.mjs} +51 -43
- package/dist/components/fy-array/style.css +18 -1
- package/dist/components/fy-article/{index.js → index.mjs} +24 -13
- package/dist/components/fy-article/style.css +40 -1
- package/dist/components/fy-cascader/{index.js → index.mjs} +39 -29
- package/dist/components/fy-checkbox/{index.js → index.mjs} +38 -27
- package/dist/components/fy-checkbox/style.css +15 -1
- package/dist/components/fy-code/{index.js → index.mjs} +19 -12
- package/dist/components/fy-curd/{index.js → index.mjs} +290 -152
- package/dist/components/fy-curd/style.css +239 -1
- package/dist/components/fy-date/{index.js → index.mjs} +24 -18
- package/dist/components/fy-date/style.css +21 -1
- package/dist/components/fy-dialog-form/{index.js → index.mjs} +127 -54
- package/dist/components/fy-draggable/{index.js → index.mjs} +196 -73
- package/dist/components/fy-draggable/style.css +136 -1
- package/dist/components/fy-dynamic/{index.js → index.mjs} +116 -73
- package/dist/components/fy-dynamic/style.css +35 -1
- package/dist/components/fy-empty/{index.js → index.mjs} +15 -9
- package/dist/components/fy-empty/style.css +24 -1
- package/dist/components/fy-form/{index.js → index.mjs} +399 -221
- package/dist/components/fy-form/style.css +79 -1
- package/dist/components/fy-form-design/{index.js → index.mjs} +2267 -1630
- package/dist/components/fy-form-design/style.css +578 -1
- package/dist/components/fy-form-menu/{index.js → index.mjs} +43 -35
- package/dist/components/fy-input/{index.js → index.mjs} +46 -35
- package/dist/components/fy-input-color/{index.js → index.mjs} +40 -33
- package/dist/components/fy-input-icon/{index.js → index.mjs} +58 -37
- package/dist/components/fy-input-icon/style.css +39 -1
- package/dist/components/fy-input-map/{index.js → index.mjs} +113 -68
- package/dist/components/fy-input-map/style.css +50 -1
- package/dist/components/fy-input-number/{index.js → index.mjs} +29 -24
- package/dist/components/fy-input-table/{index.js → index.mjs} +82 -48
- package/dist/components/fy-input-table/style.css +10 -1
- package/dist/components/fy-input-tree/{index.js → index.mjs} +104 -60
- package/dist/components/fy-input-tree/style.css +25 -1
- package/dist/components/fy-progress/{index.js → index.mjs} +15 -10
- package/dist/components/fy-radio/{index.js → index.mjs} +20 -14
- package/dist/components/fy-radio/style.css +12 -1
- package/dist/components/fy-rate/{index.js → index.mjs} +21 -15
- package/dist/components/fy-rate/style.css +9 -1
- package/dist/components/fy-select/{index.js → index.mjs} +73 -55
- package/dist/components/fy-select/style.css +25 -1
- package/dist/components/fy-slider/{index.js → index.mjs} +22 -17
- package/dist/components/fy-switch/{index.js → index.mjs} +17 -12
- package/dist/components/fy-tabs/{index.js → index.mjs} +20 -12
- package/dist/components/fy-tabs/style.css +6 -0
- package/dist/components/fy-time/{index.js → index.mjs} +29 -18
- package/dist/components/fy-title/{index.js → index.mjs} +16 -8
- package/dist/components/fy-title/style.css +11 -1
- package/dist/components/fy-tree/{index.js → index.mjs} +135 -72
- package/dist/components/fy-tree/style.css +46 -1
- package/dist/components/fy-u-editor/{index.js → index.mjs} +172 -67
- package/dist/components/fy-u-editor/style.css +15 -1
- package/dist/components/fy-upload/{index.js → index.mjs} +317 -148
- package/dist/components/fy-upload/style.css +60 -1
- package/dist/components/guide-steps/{index.js → index.mjs} +31 -17
- package/dist/components/guide-steps/style.css +34 -1
- package/dist/components/header-menu/{index.js → index.mjs} +86 -66
- package/dist/components/header-search/{index.js → index.mjs} +92 -60
- package/dist/components/highlight-j-s/{index.js → index.mjs} +28 -15
- package/dist/components/highlight-j-s/style.css +21 -1
- package/dist/components/icon-card/{index.js → index.mjs} +13 -7
- package/dist/components/icon-card/style.css +56 -1
- package/dist/components/icon-temp/{index.js → index.mjs} +12 -6
- package/dist/components/icon-temp/style.css +21 -1
- package/dist/components/iframe-window/{index.js → index.mjs} +20 -14
- package/dist/components/iframe-window/style.css +20 -1
- package/dist/components/image-cropper/{index.js → index.mjs} +69 -51
- package/dist/components/image-cropper/style.css +34 -1
- package/dist/components/image-preview/{index.js → index.mjs} +77 -46
- package/dist/components/image-preview/style.css +72 -1
- package/dist/components/image-viewer/{index.js → index.mjs} +40 -22
- package/dist/components/image-viewer/style.css +21 -1
- package/dist/components/input-number/{index.js → index.mjs} +122 -56
- package/dist/components/input-number/style.css +15 -1
- package/dist/components/input-number-range/{index.js → index.mjs} +32 -20
- package/dist/components/input-number-range/style.css +12 -1
- package/dist/components/j-s-x-component/{index.js → index.mjs} +0 -0
- package/dist/components/keep-view-alive/{index.js → index.mjs} +68 -21
- package/dist/components/keyboard/index.mjs +469 -0
- package/dist/components/keyboard/style.css +547 -1
- package/dist/components/license/index.mjs +180 -0
- package/dist/components/loading-view/{index.js → index.mjs} +12 -6
- package/dist/components/loading-view/style.css +17 -1
- package/dist/components/login/{index.js → index.mjs} +91 -62
- package/dist/components/login/style.css +25 -1
- package/dist/components/name-avatar/{index.js → index.mjs} +32 -10
- package/dist/components/name-avatar/style.css +35 -1
- package/dist/components/nav-bar/{index.js → index.mjs} +21 -11
- package/dist/components/nav-bar/style.css +17 -1
- package/dist/components/not-implement/{index.js → index.mjs} +16 -8
- package/dist/components/not-implement/style.css +15 -1
- package/dist/components/notice/{index.js → index.mjs} +40 -27
- package/dist/components/notice/style.css +54 -1
- package/dist/components/page/{index.js → index.mjs} +13 -7
- package/dist/components/page/style.css +12 -1
- package/dist/components/page-header/{index.js → index.mjs} +15 -9
- package/dist/components/page-header/style.css +14 -1
- package/dist/components/page-index/{index.js → index.mjs} +62 -37
- package/dist/components/page-index/style.css +23 -1
- package/dist/components/page-index-top/{index.js → index.mjs} +53 -34
- package/dist/components/page-skeleton/{index.js → index.mjs} +15 -9
- package/dist/components/page-skeleton/style.css +23 -1
- package/dist/components/page-skeleton-new/{index.js → index.mjs} +15 -9
- package/dist/components/page-skeleton-new/style.css +42 -1
- package/dist/components/pageable-table/{index.js → index.mjs} +187 -106
- package/dist/components/pageable-table/style.css +72 -1
- package/dist/components/pageable-view/{index.js → index.mjs} +164 -80
- package/dist/components/pageable-view/style.css +69 -1
- package/dist/components/photo-swipe/index.mjs +175 -0
- package/dist/components/process-designer/{index.js → index.mjs} +961 -772
- package/dist/components/process-designer/style.css +1186 -1
- package/dist/components/properties-panel/{index.js → index.mjs} +1488 -1044
- package/dist/components/properties-panel/style.css +122 -1
- package/dist/components/queue/{index.js → index.mjs} +24 -12
- package/dist/components/record-video/{index.js → index.mjs} +53 -27
- package/dist/components/record-video/style.css +53 -1
- package/dist/components/resize-observer/index.mjs +96 -0
- package/dist/components/resize-observer/style.css +31 -1
- package/dist/components/search/{index.js → index.mjs} +41 -22
- package/dist/components/search/style.css +57 -1
- package/dist/components/search-popover/{index.js → index.mjs} +153 -91
- package/dist/components/search-popover/style.css +93 -1
- package/dist/components/sign/index.mjs +236 -0
- package/dist/components/sign/style.css +12 -1
- package/dist/components/sign-panel/{index.js → index.mjs} +96 -46
- package/dist/components/sign-panel/style.css +97 -1
- package/dist/components/skeleton/{index.js → index.mjs} +22 -12
- package/dist/components/skeleton/style.css +61 -1
- package/dist/components/split-pane/{index.js → index.mjs} +125 -60
- package/dist/components/split-pane/style.css +100 -1
- package/dist/components/stateful/{index.js → index.mjs} +8 -5
- package/dist/components/stateful/style.css +33 -1
- package/dist/components/static-pageable-table/{index.js → index.mjs} +22 -15
- package/dist/components/static-pageable-table/style.css +9 -1
- package/dist/components/swiper/index.mjs +247 -0
- package/dist/components/swiper/style.css +43 -1
- package/dist/components/tab/{index.js → index.mjs} +34 -16
- package/dist/components/tab/style.css +122 -1
- package/dist/components/tab-item/{index.js → index.mjs} +14 -9
- package/dist/components/table-column/{index.js → index.mjs} +26 -17
- package/dist/components/table-page/{index.js → index.mjs} +42 -23
- package/dist/components/table-view/{index.js → index.mjs} +162 -87
- package/dist/components/table-view/style.css +95 -1
- package/dist/components/tag-render/{index.js → index.mjs} +41 -22
- package/dist/components/tag-render/style.css +33 -1
- package/dist/components/text-ellipsis/{index.js → index.mjs} +48 -26
- package/dist/components/text-ellipsis/style.css +9 -1
- package/dist/components/tinymce-editor/{index.js → index.mjs} +80 -60
- package/dist/components/tinymce-editor/style.css +43 -1
- package/dist/components/tinymce-wrapper/{index.js → index.mjs} +77 -41
- package/dist/components/tinymce-wrapper/style.css +36 -1
- package/dist/components/toolbar/{index.js → index.mjs} +46 -25
- package/dist/components/toolbar/style.css +39 -1
- package/dist/components/toolbar-button/{index.js → index.mjs} +46 -35
- package/dist/components/toolbar-button/style.css +21 -1
- package/dist/components/trigger/{index.js → index.mjs} +15 -8
- package/dist/components/verify/{index.js → index.mjs} +15 -8
- package/dist/components/verify/style.css +15 -1
- package/dist/components/vue-tags-input/{index.js → index.mjs} +233 -113
- package/dist/components/vue-tags-input/style.css +688 -1
- package/dist/components/watermark/{index.js → index.mjs} +33 -14
- package/dist/components/watermark/style.css +11 -1
- package/dist/index.css +2434 -1750
- package/dist/{index.es.js → index.mjs} +15944 -9317
- package/package.json +4 -4
- package/web-types.json +1 -1
- package/dist/chunks/confirmable-mixin.35bd1934.js +0 -104
- package/dist/chunks/dataformat.9cc4428a.js +0 -158
- package/dist/chunks/detail.544c52b0.js +0 -29
- package/dist/chunks/dic.9de2fe5a.js +0 -135
- package/dist/chunks/slot.a7387ecc.js +0 -27
- package/dist/chunks/util.89913643.js +0 -261
- package/dist/chunks/vueComponentNormalizer.77ec6792.js +0 -32
- package/dist/components/affix/index.js +0 -102
- package/dist/components/chunk-file-uploader/index.js +0 -119
- package/dist/components/chunk-file-uploader-drop/index.js +0 -83
- package/dist/components/count-up/index.js +0 -131
- package/dist/components/flex-column/index.js +0 -62
- package/dist/components/flex-item/index.js +0 -81
- package/dist/components/flex-row/index.js +0 -62
- package/dist/components/flow-viewer/index.js +0 -162
- package/dist/components/form-item/index.js +0 -147
- package/dist/components/fy-dialog-form/style.css +0 -1
- package/dist/components/keyboard/index.js +0 -384
- package/dist/components/license/index.js +0 -134
- package/dist/components/photo-swipe/index.js +0 -129
- package/dist/components/resize-observer/index.js +0 -62
- package/dist/components/sign/index.js +0 -133
- package/dist/components/swiper/index.js +0 -178
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import { p as props, e as event } from "../../chunks/event.
|
|
1
|
+
import { p as props, e as event } from "../../chunks/event.6fc3df3a.mjs";
|
|
2
2
|
import { isBlank } from "@web-utils/core";
|
|
3
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
3
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.mjs";
|
|
4
4
|
var render = function() {
|
|
5
|
-
var _vm = this
|
|
5
|
+
var _vm = this;
|
|
6
|
+
var _h = _vm.$createElement;
|
|
7
|
+
var _c = _vm._self._c || _h;
|
|
6
8
|
return _c("div", {
|
|
7
9
|
staticClass: "avue-input-table"
|
|
8
10
|
}, [_c("ElInput", {
|
|
9
11
|
ref: "main",
|
|
10
12
|
attrs: {
|
|
11
|
-
size: _vm.size,
|
|
12
|
-
value: _vm.labelShow,
|
|
13
|
-
clearable: _vm.clearableVal,
|
|
14
|
-
placeholder: _vm.placeholder,
|
|
15
|
-
disabled: _vm.disabled
|
|
13
|
+
"size": _vm.size,
|
|
14
|
+
"value": _vm.labelShow,
|
|
15
|
+
"clearable": _vm.clearableVal,
|
|
16
|
+
"placeholder": _vm.placeholder,
|
|
17
|
+
"disabled": _vm.disabled
|
|
16
18
|
},
|
|
17
19
|
on: {
|
|
18
|
-
clear: _vm.handleClear,
|
|
19
|
-
focus: _vm.handleShow
|
|
20
|
+
"clear": _vm.handleClear,
|
|
21
|
+
"focus": _vm.handleShow
|
|
20
22
|
},
|
|
21
23
|
nativeOn: {
|
|
22
|
-
click: function($event) {
|
|
24
|
+
"click": function($event) {
|
|
23
25
|
return _vm.handleClick.apply(null, arguments);
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
}), _vm.box ? _c("div", [_c("ElementDialog", {
|
|
27
29
|
attrs: {
|
|
28
|
-
width: _vm.dialogWidth,
|
|
29
|
-
title: _vm.placeholder,
|
|
30
|
-
visible: _vm.box
|
|
30
|
+
"width": _vm.dialogWidth,
|
|
31
|
+
"title": _vm.placeholder,
|
|
32
|
+
"visible": _vm.box
|
|
31
33
|
},
|
|
32
34
|
on: {
|
|
33
35
|
"update:visible": function($event) {
|
|
@@ -39,26 +41,26 @@ var render = function() {
|
|
|
39
41
|
fn: function() {
|
|
40
42
|
return [_c("ElButton", {
|
|
41
43
|
attrs: {
|
|
42
|
-
type: "primary",
|
|
43
|
-
size: _vm.size,
|
|
44
|
-
icon: "el-icon-check"
|
|
44
|
+
"type": "primary",
|
|
45
|
+
"size": _vm.size,
|
|
46
|
+
"icon": "el-icon-check"
|
|
45
47
|
},
|
|
46
48
|
on: {
|
|
47
|
-
click: _vm.setVal
|
|
49
|
+
"click": _vm.setVal
|
|
48
50
|
}
|
|
49
51
|
}, [_vm._v(" 确 定 ")])];
|
|
50
52
|
},
|
|
51
|
-
proxy:
|
|
52
|
-
}], null,
|
|
53
|
+
proxy: true
|
|
54
|
+
}], null, false, 2921262159)
|
|
53
55
|
}, [_vm.box ? _c("FyCurd", {
|
|
54
56
|
ref: "crud",
|
|
55
57
|
staticClass: "avue-input-table__crud",
|
|
56
58
|
attrs: {
|
|
57
|
-
option: _vm.option,
|
|
58
|
-
data: _vm.data,
|
|
59
|
+
"option": _vm.option,
|
|
60
|
+
"data": _vm.data,
|
|
59
61
|
"table-loading": _vm.loading,
|
|
60
|
-
search: _vm.search,
|
|
61
|
-
page: _vm.page
|
|
62
|
+
"search": _vm.search,
|
|
63
|
+
"page": _vm.page
|
|
62
64
|
},
|
|
63
65
|
on: {
|
|
64
66
|
"update:search": function($event) {
|
|
@@ -73,7 +75,9 @@ var render = function() {
|
|
|
73
75
|
"current-row-change": _vm.handleCurrentRowChange
|
|
74
76
|
}
|
|
75
77
|
}) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
76
|
-
}
|
|
78
|
+
};
|
|
79
|
+
var staticRenderFns = [];
|
|
80
|
+
const FyInputTable_vue_vue_type_style_index_0_lang = "";
|
|
77
81
|
const __vue2_script = {
|
|
78
82
|
name: "FyInputTable",
|
|
79
83
|
mixins: [props, event],
|
|
@@ -91,9 +95,9 @@ const __vue2_script = {
|
|
|
91
95
|
active: {},
|
|
92
96
|
search: {},
|
|
93
97
|
page: {},
|
|
94
|
-
loading:
|
|
95
|
-
box:
|
|
96
|
-
created:
|
|
98
|
+
loading: false,
|
|
99
|
+
box: false,
|
|
100
|
+
created: false,
|
|
97
101
|
data: []
|
|
98
102
|
};
|
|
99
103
|
},
|
|
@@ -102,67 +106,97 @@ const __vue2_script = {
|
|
|
102
106
|
return this.disabled || this.readonly ? "查看" : "选择";
|
|
103
107
|
},
|
|
104
108
|
labelShow() {
|
|
105
|
-
|
|
109
|
+
if (typeof this.formatter === "function") {
|
|
110
|
+
return this.formatter(this.object);
|
|
111
|
+
}
|
|
112
|
+
return this.object[this.labelKey] || "";
|
|
106
113
|
},
|
|
107
114
|
option() {
|
|
108
115
|
return Object.assign({
|
|
109
|
-
menu:
|
|
110
|
-
header:
|
|
116
|
+
menu: false,
|
|
117
|
+
header: false,
|
|
111
118
|
size: this.size,
|
|
112
119
|
headerAlign: "center",
|
|
113
120
|
align: "center",
|
|
114
|
-
highlightCurrentRow:
|
|
121
|
+
highlightCurrentRow: true
|
|
115
122
|
}, this.column.children);
|
|
116
123
|
}
|
|
117
124
|
},
|
|
118
125
|
watch: {
|
|
119
126
|
value(val) {
|
|
120
|
-
isBlank(val)
|
|
127
|
+
if (isBlank(val)) {
|
|
128
|
+
this.active = {};
|
|
129
|
+
this.object = {};
|
|
130
|
+
}
|
|
121
131
|
},
|
|
122
132
|
text(val) {
|
|
123
|
-
this.created || isBlank(val)
|
|
124
|
-
|
|
125
|
-
|
|
133
|
+
if (this.created || isBlank(val))
|
|
134
|
+
return;
|
|
135
|
+
if (typeof this.onLoad === "function") {
|
|
136
|
+
this.onLoad({ value: this.text }, (data) => {
|
|
137
|
+
this.active = data;
|
|
138
|
+
this.object = data;
|
|
139
|
+
this.created = true;
|
|
140
|
+
});
|
|
141
|
+
}
|
|
126
142
|
}
|
|
127
143
|
},
|
|
128
144
|
methods: {
|
|
129
145
|
handleClear() {
|
|
130
|
-
this.active = {}
|
|
146
|
+
this.active = {};
|
|
147
|
+
this.setVal();
|
|
131
148
|
},
|
|
132
149
|
handleShow() {
|
|
133
|
-
this.$refs.main.blur()
|
|
150
|
+
this.$refs.main.blur();
|
|
151
|
+
if (this.disabled || this.readonly)
|
|
152
|
+
return;
|
|
153
|
+
this.page = { currentPage: 1, total: 0 };
|
|
154
|
+
this.data = [];
|
|
155
|
+
this.box = true;
|
|
134
156
|
},
|
|
135
157
|
setVal() {
|
|
136
|
-
this.object = this.active
|
|
158
|
+
this.object = this.active;
|
|
159
|
+
this.text = this.active[this.valueKey] || "";
|
|
160
|
+
this.handleChange(this.active);
|
|
161
|
+
this.box = false;
|
|
137
162
|
},
|
|
138
163
|
handleCurrentRowChange(val) {
|
|
139
164
|
this.active = val;
|
|
140
165
|
},
|
|
141
166
|
handleSearchChange(form, done) {
|
|
142
|
-
this.page.page = 1
|
|
167
|
+
this.page.page = 1;
|
|
168
|
+
this.onList();
|
|
169
|
+
done && done();
|
|
143
170
|
},
|
|
144
171
|
onList() {
|
|
145
|
-
this.loading =
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
172
|
+
this.loading = true;
|
|
173
|
+
if (typeof this.onLoad === "function") {
|
|
174
|
+
this.onLoad({ page: this.page, data: this.search }, (data) => {
|
|
175
|
+
this.page.total = data.total;
|
|
176
|
+
this.data = data.data;
|
|
177
|
+
this.loading = false;
|
|
178
|
+
const active = this.data.find((ele) => ele[this.valueKey] === this.object[this.valueKey]);
|
|
179
|
+
setTimeout(() => this.$refs.crud.setCurrentRow(active));
|
|
180
|
+
});
|
|
181
|
+
}
|
|
150
182
|
}
|
|
151
183
|
}
|
|
152
|
-
}
|
|
184
|
+
};
|
|
185
|
+
const __cssModules = {};
|
|
153
186
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
154
187
|
__vue2_script,
|
|
155
188
|
render,
|
|
156
189
|
staticRenderFns,
|
|
157
|
-
|
|
190
|
+
false,
|
|
158
191
|
__vue2_injectStyles,
|
|
159
192
|
null,
|
|
160
193
|
null,
|
|
161
194
|
null
|
|
162
195
|
);
|
|
163
196
|
function __vue2_injectStyles(context) {
|
|
164
|
-
for (let o in __cssModules)
|
|
197
|
+
for (let o in __cssModules) {
|
|
165
198
|
this[o] = __cssModules[o];
|
|
199
|
+
}
|
|
166
200
|
}
|
|
167
201
|
const FyInputTable = /* @__PURE__ */ function() {
|
|
168
202
|
return __component__.exports;
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
|
|
2
|
+
/* 应用头部高度 */
|
|
3
|
+
/* 页面宽度 */
|
|
4
|
+
/* 侧栏宽度 */
|
|
5
|
+
/* 标签高度 */
|
|
6
|
+
/* 页面头部工具条高度 */
|
|
7
|
+
.avue-input-table__crud .avue-crud__pagination {
|
|
8
|
+
padding: 10px 0 2px 10px;
|
|
9
|
+
margin: 0;
|
|
10
|
+
}
|
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
import { p as props, e as event } from "../../chunks/event.
|
|
1
|
+
import { p as props, e as event } from "../../chunks/event.6fc3df3a.mjs";
|
|
2
2
|
import { isBlank } from "@web-utils/core";
|
|
3
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
3
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.mjs";
|
|
4
4
|
var render = function() {
|
|
5
|
-
var _vm = this
|
|
5
|
+
var _vm = this;
|
|
6
|
+
var _h = _vm.$createElement;
|
|
7
|
+
var _c = _vm._self._c || _h;
|
|
6
8
|
return _c("ElSelect", {
|
|
7
9
|
ref: "main",
|
|
8
10
|
staticClass: "avue-input-tree",
|
|
9
11
|
attrs: {
|
|
10
|
-
size: _vm.size,
|
|
11
|
-
multiple: _vm.multiple,
|
|
12
|
+
"size": _vm.size,
|
|
13
|
+
"multiple": _vm.multiple,
|
|
12
14
|
"multiple-limit": _vm.limit,
|
|
13
15
|
"collapse-tags": _vm.tags,
|
|
14
|
-
value: _vm.labelShow,
|
|
15
|
-
clearable: _vm.clearableVal,
|
|
16
|
-
placeholder: _vm.placeholder,
|
|
16
|
+
"value": _vm.labelShow,
|
|
17
|
+
"clearable": _vm.clearableVal,
|
|
18
|
+
"placeholder": _vm.placeholder,
|
|
17
19
|
"popper-class": _vm.popperClass,
|
|
18
20
|
"popper-append-to-body": _vm.popperAppendToBody,
|
|
19
|
-
disabled: _vm.disabled
|
|
21
|
+
"disabled": _vm.disabled
|
|
20
22
|
},
|
|
21
23
|
on: {
|
|
22
|
-
click: _vm.handleClick,
|
|
23
|
-
focus: _vm.handleFocus,
|
|
24
|
-
blur: _vm.handleBlur,
|
|
25
|
-
clear: _vm.handleClear
|
|
24
|
+
"click": _vm.handleClick,
|
|
25
|
+
"focus": _vm.handleFocus,
|
|
26
|
+
"blur": _vm.handleBlur,
|
|
27
|
+
"clear": _vm.handleClear
|
|
26
28
|
}
|
|
27
29
|
}, [_vm.filter ? _c("div", {
|
|
28
30
|
staticClass: "avue-input__filter"
|
|
29
31
|
}, [_c("ElInput", {
|
|
30
32
|
attrs: {
|
|
31
|
-
size: "mini",
|
|
32
|
-
placeholder: _vm.filterText
|
|
33
|
+
"size": "mini",
|
|
34
|
+
"placeholder": _vm.filterText
|
|
33
35
|
},
|
|
34
36
|
model: {
|
|
35
37
|
value: _vm.filterValue,
|
|
@@ -40,23 +42,23 @@ var render = function() {
|
|
|
40
42
|
}
|
|
41
43
|
})], 1) : _vm._e(), _c("ElOption", {
|
|
42
44
|
attrs: {
|
|
43
|
-
value: _vm.text
|
|
45
|
+
"value": _vm.text
|
|
44
46
|
}
|
|
45
47
|
}, [_c("ElTree", {
|
|
46
48
|
ref: "tree",
|
|
47
49
|
staticClass: "avue-input__select",
|
|
48
50
|
attrs: {
|
|
49
|
-
data: _vm.dicList,
|
|
50
|
-
lazy: _vm.lazy,
|
|
51
|
-
load: _vm.handleTreeLoad,
|
|
51
|
+
"data": _vm.dicList,
|
|
52
|
+
"lazy": _vm.lazy,
|
|
53
|
+
"load": _vm.handleTreeLoad,
|
|
52
54
|
"node-key": _vm.valueKey,
|
|
53
|
-
accordion: _vm.accordion,
|
|
55
|
+
"accordion": _vm.accordion,
|
|
54
56
|
"icon-class": _vm.iconClass,
|
|
55
57
|
"show-checkbox": _vm.multiple,
|
|
56
58
|
"expand-on-click-node": _vm.expandOnClickNode,
|
|
57
|
-
props: _vm.treeProps,
|
|
59
|
+
"props": _vm.treeProps,
|
|
58
60
|
"check-strictly": _vm.checkStrictly,
|
|
59
|
-
"highlight-current": _vm.multiple !==
|
|
61
|
+
"highlight-current": _vm.multiple !== true,
|
|
60
62
|
"current-node-key": _vm.currentNodeKey,
|
|
61
63
|
"filter-node-method": _vm.filterNode,
|
|
62
64
|
"default-checked-keys": _vm.keysList,
|
|
@@ -64,9 +66,11 @@ var render = function() {
|
|
|
64
66
|
"default-expand-all": _vm.defaultExpandAll
|
|
65
67
|
},
|
|
66
68
|
on: {
|
|
67
|
-
check: _vm.checkChange,
|
|
69
|
+
"check": _vm.checkChange,
|
|
68
70
|
"node-click": function($event) {
|
|
69
|
-
|
|
71
|
+
if ($event.target !== $event.currentTarget)
|
|
72
|
+
return null;
|
|
73
|
+
return _vm.handleNodeClick.apply(null, arguments);
|
|
70
74
|
}
|
|
71
75
|
},
|
|
72
76
|
scopedSlots: _vm._u([{
|
|
@@ -76,9 +80,9 @@ var render = function() {
|
|
|
76
80
|
return _c("div", {
|
|
77
81
|
staticClass: "avue-input__item"
|
|
78
82
|
}, [_vm.$scopedSlots.default ? _vm._t("default", null, {
|
|
79
|
-
label: _vm.labelKey,
|
|
80
|
-
value: _vm.valueKey,
|
|
81
|
-
item: data
|
|
83
|
+
"label": _vm.labelKey,
|
|
84
|
+
"value": _vm.valueKey,
|
|
85
|
+
"item": data
|
|
82
86
|
}) : [_c("span", {
|
|
83
87
|
class: {
|
|
84
88
|
"avue--disabled": data[_vm.disabledKey]
|
|
@@ -87,9 +91,11 @@ var render = function() {
|
|
|
87
91
|
staticClass: "avue-input__desc"
|
|
88
92
|
}, [_vm._v(_vm._s(data[_vm.descKey]))]) : _vm._e()]], 2);
|
|
89
93
|
}
|
|
90
|
-
}], null,
|
|
94
|
+
}], null, true)
|
|
91
95
|
})], 1)], 1);
|
|
92
|
-
}
|
|
96
|
+
};
|
|
97
|
+
var staticRenderFns = [];
|
|
98
|
+
const FyInputTree_vue_vue_type_style_index_0_lang = "";
|
|
93
99
|
const __vue2_script = {
|
|
94
100
|
name: "FyInputTree",
|
|
95
101
|
mixins: [props, event],
|
|
@@ -99,15 +105,15 @@ const __vue2_script = {
|
|
|
99
105
|
checked: Function,
|
|
100
106
|
lazy: {
|
|
101
107
|
type: Boolean,
|
|
102
|
-
default:
|
|
108
|
+
default: false
|
|
103
109
|
},
|
|
104
110
|
leafOnly: {
|
|
105
111
|
type: Boolean,
|
|
106
|
-
default:
|
|
112
|
+
default: false
|
|
107
113
|
},
|
|
108
114
|
tags: {
|
|
109
115
|
type: Boolean,
|
|
110
|
-
default:
|
|
116
|
+
default: false
|
|
111
117
|
},
|
|
112
118
|
limit: {
|
|
113
119
|
type: Number,
|
|
@@ -115,11 +121,11 @@ const __vue2_script = {
|
|
|
115
121
|
},
|
|
116
122
|
expandOnClickNode: {
|
|
117
123
|
type: Boolean,
|
|
118
|
-
default:
|
|
124
|
+
default: true
|
|
119
125
|
},
|
|
120
126
|
filter: {
|
|
121
127
|
type: Boolean,
|
|
122
|
-
default:
|
|
128
|
+
default: true
|
|
123
129
|
},
|
|
124
130
|
filterText: {
|
|
125
131
|
type: String,
|
|
@@ -127,32 +133,32 @@ const __vue2_script = {
|
|
|
127
133
|
},
|
|
128
134
|
checkStrictly: {
|
|
129
135
|
type: Boolean,
|
|
130
|
-
default:
|
|
136
|
+
default: false
|
|
131
137
|
},
|
|
132
138
|
accordion: {
|
|
133
139
|
type: Boolean,
|
|
134
|
-
default:
|
|
140
|
+
default: false
|
|
135
141
|
},
|
|
136
142
|
parent: {
|
|
137
143
|
type: Boolean,
|
|
138
|
-
default:
|
|
144
|
+
default: true
|
|
139
145
|
},
|
|
140
146
|
iconClass: String,
|
|
141
147
|
defaultExpandedKeys: Array,
|
|
142
148
|
defaultExpandAll: {
|
|
143
149
|
type: Boolean,
|
|
144
|
-
default:
|
|
150
|
+
default: false
|
|
145
151
|
},
|
|
146
152
|
popperAppendToBody: {
|
|
147
153
|
type: Boolean,
|
|
148
|
-
default:
|
|
154
|
+
default: true
|
|
149
155
|
}
|
|
150
156
|
},
|
|
151
157
|
data() {
|
|
152
158
|
return {
|
|
153
159
|
node: [],
|
|
154
160
|
filterValue: "",
|
|
155
|
-
box:
|
|
161
|
+
box: false,
|
|
156
162
|
dicList: []
|
|
157
163
|
};
|
|
158
164
|
},
|
|
@@ -169,7 +175,9 @@ const __vue2_script = {
|
|
|
169
175
|
return this.multiple ? this.text : [this.text || ""];
|
|
170
176
|
},
|
|
171
177
|
labelShow() {
|
|
172
|
-
|
|
178
|
+
const list = [...this.node];
|
|
179
|
+
const result = list.map((ele) => this.getLabelText(ele));
|
|
180
|
+
return result;
|
|
173
181
|
}
|
|
174
182
|
},
|
|
175
183
|
watch: {
|
|
@@ -180,13 +188,13 @@ const __vue2_script = {
|
|
|
180
188
|
handler(val) {
|
|
181
189
|
this.dicList = val;
|
|
182
190
|
},
|
|
183
|
-
immediate:
|
|
191
|
+
immediate: true
|
|
184
192
|
},
|
|
185
193
|
dicList: {
|
|
186
194
|
handler() {
|
|
187
195
|
this.init();
|
|
188
196
|
},
|
|
189
|
-
immediate:
|
|
197
|
+
immediate: true
|
|
190
198
|
},
|
|
191
199
|
filterValue(val) {
|
|
192
200
|
this.$refs.tree.filter(val);
|
|
@@ -194,68 +202,104 @@ const __vue2_script = {
|
|
|
194
202
|
},
|
|
195
203
|
methods: {
|
|
196
204
|
handleClear() {
|
|
197
|
-
this.text = this.multiple ? [] : ""
|
|
205
|
+
this.text = this.multiple ? [] : "";
|
|
206
|
+
this.node = [];
|
|
207
|
+
this.filterValue = "";
|
|
208
|
+
this.$refs.tree.setCurrentKey(null);
|
|
209
|
+
this.$refs.tree.setCheckedKeys([]);
|
|
198
210
|
},
|
|
199
211
|
handleTreeLoad(node, resolve) {
|
|
200
212
|
const callback = (list) => {
|
|
201
213
|
const findDic = (list2, value, children) => {
|
|
202
214
|
list2.forEach((ele) => {
|
|
203
|
-
ele[this.valueKey] === value
|
|
215
|
+
if (ele[this.valueKey] === value) {
|
|
216
|
+
ele[this.childrenKey] = children;
|
|
217
|
+
} else if (ele[this.childrenKey]) {
|
|
218
|
+
findDic(ele[this.childrenKey]);
|
|
219
|
+
}
|
|
204
220
|
});
|
|
205
221
|
};
|
|
206
|
-
findDic(this.dicList, node.key, list)
|
|
222
|
+
findDic(this.dicList, node.key, list);
|
|
223
|
+
resolve(list);
|
|
207
224
|
};
|
|
208
225
|
this.treeLoad && this.treeLoad(node, callback);
|
|
209
226
|
},
|
|
210
227
|
filterNode(value, data) {
|
|
211
|
-
|
|
228
|
+
if (!value)
|
|
229
|
+
return true;
|
|
230
|
+
return data[this.labelKey].toLowerCase().indexOf(value.toLowerCase()) !== -1;
|
|
212
231
|
},
|
|
213
232
|
checkChange(checkedNodes, checkedKeys, halfCheckedNodes, halfCheckedKeys) {
|
|
214
|
-
this.text.splice(0, this.text.length)
|
|
233
|
+
this.text.splice(0, this.text.length);
|
|
234
|
+
const list = this.$refs.tree.getCheckedNodes(this.leafOnly, false);
|
|
235
|
+
list.forEach((node) => this.text.push(node[this.valueKey]));
|
|
236
|
+
if (typeof this.checked === "function")
|
|
237
|
+
this.checked(checkedNodes, checkedKeys, halfCheckedNodes, halfCheckedKeys);
|
|
215
238
|
},
|
|
216
239
|
getHalfList() {
|
|
217
|
-
let list = this.$refs.tree.getCheckedNodes(
|
|
218
|
-
|
|
240
|
+
let list = this.$refs.tree.getCheckedNodes(false, true);
|
|
241
|
+
list = list.map((ele) => ele[this.valueKey]);
|
|
242
|
+
return list;
|
|
219
243
|
},
|
|
220
244
|
init() {
|
|
221
245
|
this.$nextTick(() => {
|
|
222
|
-
|
|
223
|
-
|
|
246
|
+
this.node = [];
|
|
247
|
+
if (this.multiple) {
|
|
248
|
+
const list = this.$refs.tree.getCheckedNodes(this.leafOnly, false);
|
|
249
|
+
list.forEach((ele) => {
|
|
224
250
|
this.node.push(ele);
|
|
225
251
|
});
|
|
226
|
-
else {
|
|
252
|
+
} else {
|
|
227
253
|
const node = this.$refs.tree.getNode(this.text);
|
|
228
254
|
if (node) {
|
|
229
255
|
const data = node.data;
|
|
230
|
-
this.$refs.tree.setCurrentKey(data[this.valueKey])
|
|
256
|
+
this.$refs.tree.setCurrentKey(data[this.valueKey]);
|
|
257
|
+
this.node.push(data);
|
|
231
258
|
}
|
|
232
259
|
}
|
|
233
|
-
})
|
|
260
|
+
});
|
|
261
|
+
this.disabledParentNode(this.dic, this.parent);
|
|
234
262
|
},
|
|
235
263
|
disabledParentNode(dic, parent) {
|
|
236
264
|
dic.forEach((ele) => {
|
|
237
265
|
const children = ele[this.childrenKey];
|
|
238
|
-
|
|
266
|
+
if (!isBlank(children)) {
|
|
267
|
+
if (!parent) {
|
|
268
|
+
ele.disabled = true;
|
|
269
|
+
}
|
|
270
|
+
this.disabledParentNode(children, parent);
|
|
271
|
+
}
|
|
239
272
|
});
|
|
240
273
|
},
|
|
241
274
|
handleNodeClick(data, node, nodeComp) {
|
|
242
|
-
|
|
275
|
+
if (data.disabled)
|
|
276
|
+
return;
|
|
277
|
+
if (typeof this.nodeClick === "function")
|
|
278
|
+
this.nodeClick(data, node, nodeComp);
|
|
279
|
+
if (this.multiple)
|
|
280
|
+
return;
|
|
281
|
+
if (isBlank(data[this.childrenKey]) && !this.multiple || this.parent) {
|
|
282
|
+
this.text = data[this.valueKey];
|
|
283
|
+
this.$refs.main.blur();
|
|
284
|
+
}
|
|
243
285
|
}
|
|
244
286
|
}
|
|
245
|
-
}
|
|
287
|
+
};
|
|
288
|
+
const __cssModules = {};
|
|
246
289
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
247
290
|
__vue2_script,
|
|
248
291
|
render,
|
|
249
292
|
staticRenderFns,
|
|
250
|
-
|
|
293
|
+
false,
|
|
251
294
|
__vue2_injectStyles,
|
|
252
295
|
null,
|
|
253
296
|
null,
|
|
254
297
|
null
|
|
255
298
|
);
|
|
256
299
|
function __vue2_injectStyles(context) {
|
|
257
|
-
for (let o in __cssModules)
|
|
300
|
+
for (let o in __cssModules) {
|
|
258
301
|
this[o] = __cssModules[o];
|
|
302
|
+
}
|
|
259
303
|
}
|
|
260
304
|
const FyInputTree = /* @__PURE__ */ function() {
|
|
261
305
|
return __component__.exports;
|
|
@@ -1 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
/* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
|
|
2
|
+
/* 应用头部高度 */
|
|
3
|
+
/* 页面宽度 */
|
|
4
|
+
/* 侧栏宽度 */
|
|
5
|
+
/* 标签高度 */
|
|
6
|
+
/* 页面头部工具条高度 */
|
|
7
|
+
.avue-input-tree .el-tag__close {
|
|
8
|
+
display: none !important;
|
|
9
|
+
}
|
|
10
|
+
.avue-input-tree__item {
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
.avue-input-tree__filter {
|
|
14
|
+
padding: 0 10px;
|
|
15
|
+
margin: 5px 0 0 0;
|
|
16
|
+
}
|
|
17
|
+
.avue-input-tree__select {
|
|
18
|
+
padding: 10px 0;
|
|
19
|
+
}
|
|
20
|
+
.avue-input-tree__desc {
|
|
21
|
+
margin-right: 12px;
|
|
22
|
+
float: right;
|
|
23
|
+
color: #8492a6;
|
|
24
|
+
font-size: 13px;
|
|
25
|
+
}
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.mjs";
|
|
2
2
|
var render = function() {
|
|
3
|
-
var _vm = this
|
|
3
|
+
var _vm = this;
|
|
4
|
+
var _h = _vm.$createElement;
|
|
5
|
+
var _c = _vm._self._c || _h;
|
|
4
6
|
return _c("div", {
|
|
5
7
|
staticClass: "avue-progress"
|
|
6
8
|
}, [_c("ElProgress", {
|
|
7
9
|
attrs: {
|
|
8
|
-
type: _vm.type,
|
|
9
|
-
color: _vm.color,
|
|
10
|
-
width: _vm.width,
|
|
10
|
+
"type": _vm.type,
|
|
11
|
+
"color": _vm.color,
|
|
12
|
+
"width": _vm.width,
|
|
11
13
|
"text-inside": "",
|
|
12
14
|
"show-text": _vm.showText,
|
|
13
15
|
"stroke-width": _vm.strokeWidth,
|
|
14
|
-
percentage: _vm.percentage
|
|
16
|
+
"percentage": _vm.percentage
|
|
15
17
|
}
|
|
16
18
|
})], 1);
|
|
17
|
-
}
|
|
19
|
+
};
|
|
20
|
+
var staticRenderFns = [];
|
|
18
21
|
const __vue2_script = {
|
|
19
22
|
name: "FyProgress",
|
|
20
23
|
props: {
|
|
@@ -37,20 +40,22 @@ const __vue2_script = {
|
|
|
37
40
|
type: [Number]
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
|
-
}
|
|
43
|
+
};
|
|
44
|
+
const __cssModules = {};
|
|
41
45
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
42
46
|
__vue2_script,
|
|
43
47
|
render,
|
|
44
48
|
staticRenderFns,
|
|
45
|
-
|
|
49
|
+
false,
|
|
46
50
|
__vue2_injectStyles,
|
|
47
51
|
null,
|
|
48
52
|
null,
|
|
49
53
|
null
|
|
50
54
|
);
|
|
51
55
|
function __vue2_injectStyles(context) {
|
|
52
|
-
for (let o in __cssModules)
|
|
56
|
+
for (let o in __cssModules) {
|
|
53
57
|
this[o] = __cssModules[o];
|
|
58
|
+
}
|
|
54
59
|
}
|
|
55
60
|
const FyProgress = /* @__PURE__ */ function() {
|
|
56
61
|
return __component__.exports;
|