@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,80 +1,87 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty
|
|
4
|
-
var
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
5
7
|
for (var prop in b || (b = {}))
|
|
6
|
-
__hasOwnProp.call(b, prop)
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
7
10
|
if (__getOwnPropSymbols)
|
|
8
|
-
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
-
__propIsEnum.call(b, prop)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
10
15
|
return a;
|
|
11
16
|
};
|
|
12
|
-
import { f as formInputMixin } from "../../chunks/form-input-mixin.
|
|
13
|
-
import { f as formPickMixin } from "../../chunks/form-pick-mixin.
|
|
14
|
-
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.
|
|
15
|
-
import
|
|
16
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
17
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.e7f93f4c.mjs";
|
|
18
|
+
import { f as formPickMixin } from "../../chunks/form-pick-mixin.822300f3.mjs";
|
|
19
|
+
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.2a3ffac9.mjs";
|
|
20
|
+
import CheckboxGroup from "element-ui/lib/checkbox-group";
|
|
21
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.mjs";
|
|
17
22
|
var render = function() {
|
|
18
|
-
var _vm = this
|
|
23
|
+
var _vm = this;
|
|
24
|
+
var _h = _vm.$createElement;
|
|
25
|
+
var _c = _vm._self._c || _h;
|
|
19
26
|
return _c("FormItem", _vm._b({
|
|
20
27
|
class: ["form-checkbox-group", {
|
|
21
28
|
"form-checkbox-group-row": _vm.fillRow
|
|
22
29
|
}, _vm.ellipsis ? "form-checkbox-group-row-ellipsis" : _vm.fillRow ? "form-checkbox-group-row-break-word" : ""],
|
|
23
30
|
attrs: {
|
|
24
|
-
rules: _vm.computeRules,
|
|
25
|
-
disabled: _vm.inputDisabled
|
|
31
|
+
"rules": _vm.computeRules,
|
|
32
|
+
"disabled": _vm.inputDisabled
|
|
26
33
|
},
|
|
27
34
|
scopedSlots: _vm._u([{
|
|
28
35
|
key: "default",
|
|
29
36
|
fn: function() {
|
|
30
37
|
return [_c("ElCheckboxGroup", _vm._g(_vm._b({
|
|
31
38
|
attrs: {
|
|
32
|
-
disabled: _vm.inputDisabled,
|
|
33
|
-
value: _vm.computeVal,
|
|
34
|
-
placeholder: _vm.computePlaceholder
|
|
39
|
+
"disabled": _vm.inputDisabled,
|
|
40
|
+
"value": _vm.computeVal,
|
|
41
|
+
"placeholder": _vm.computePlaceholder
|
|
35
42
|
},
|
|
36
43
|
on: {
|
|
37
|
-
input: _vm.emitInput
|
|
44
|
+
"input": _vm.emitInput
|
|
38
45
|
}
|
|
39
|
-
}, "ElCheckboxGroup", _vm.inputProps,
|
|
46
|
+
}, "ElCheckboxGroup", _vm.inputProps, false), _vm.listeners), _vm._l(_vm.innerOptions, function(item) {
|
|
40
47
|
return _c("ElCheckbox", {
|
|
41
48
|
key: item[_vm.valueKey],
|
|
42
49
|
attrs: {
|
|
43
|
-
label: item[_vm.valueKey]
|
|
50
|
+
"label": item[_vm.valueKey]
|
|
44
51
|
}
|
|
45
52
|
}, [_vm._v(" " + _vm._s(item[_vm.labelKey]) + " ")]);
|
|
46
53
|
}), 1), _vm.computeVal.includes(_vm.otherVal) ? _c("FormInput", {
|
|
47
54
|
staticClass: "form-checkbox-group-other",
|
|
48
|
-
style: _vm.otherLabel ? {
|
|
55
|
+
style: !_vm.otherLabel ? {
|
|
56
|
+
marginBottom: 0,
|
|
49
57
|
width: _vm.otherWidth
|
|
50
58
|
} : {
|
|
51
|
-
marginBottom: 0,
|
|
52
59
|
width: _vm.otherWidth
|
|
53
60
|
},
|
|
54
61
|
attrs: {
|
|
55
|
-
"wrap-col":
|
|
62
|
+
"wrap-col": false,
|
|
56
63
|
"label-width": "0",
|
|
57
|
-
prop: _vm.otherProp,
|
|
58
|
-
required: !!_vm.otherProp,
|
|
59
|
-
placeholder: _vm.otherPlaceholder,
|
|
60
|
-
label: _vm.otherLabel,
|
|
64
|
+
"prop": _vm.otherProp,
|
|
65
|
+
"required": !!_vm.otherProp,
|
|
66
|
+
"placeholder": _vm.otherPlaceholder,
|
|
67
|
+
"label": _vm.otherLabel,
|
|
61
68
|
"show-message": !!_vm.otherLabel,
|
|
62
|
-
value: _vm.other
|
|
69
|
+
"value": _vm.other
|
|
63
70
|
},
|
|
64
71
|
on: {
|
|
65
|
-
input: function(val) {
|
|
72
|
+
"input": function(val) {
|
|
66
73
|
return _vm.$emit("update:other", val);
|
|
67
74
|
}
|
|
68
75
|
}
|
|
69
76
|
}) : _vm._e()];
|
|
70
77
|
},
|
|
71
|
-
proxy:
|
|
78
|
+
proxy: true
|
|
72
79
|
}, {
|
|
73
80
|
key: "error",
|
|
74
81
|
fn: function(_ref) {
|
|
75
82
|
var error = _ref.error;
|
|
76
83
|
return [_vm._t("error", null, {
|
|
77
|
-
error
|
|
84
|
+
"error": error
|
|
78
85
|
})];
|
|
79
86
|
}
|
|
80
87
|
}, {
|
|
@@ -82,17 +89,20 @@ var render = function() {
|
|
|
82
89
|
fn: function() {
|
|
83
90
|
return [_vm._t("label")];
|
|
84
91
|
},
|
|
85
|
-
proxy:
|
|
92
|
+
proxy: true
|
|
86
93
|
}, {
|
|
87
94
|
key: "below",
|
|
88
95
|
fn: function() {
|
|
89
96
|
return [_vm._t("below")];
|
|
90
97
|
},
|
|
91
|
-
proxy:
|
|
92
|
-
}], null,
|
|
93
|
-
}, "FormItem", _vm.formItemProps,
|
|
94
|
-
}
|
|
95
|
-
|
|
98
|
+
proxy: true
|
|
99
|
+
}], null, true)
|
|
100
|
+
}, "FormItem", _vm.formItemProps, false));
|
|
101
|
+
};
|
|
102
|
+
var staticRenderFns = [];
|
|
103
|
+
const FormCheckboxGroup_vue_vue_type_style_index_0_lang = "";
|
|
104
|
+
const autoBindKeys = Object.keys(CheckboxGroup.props).filter((key) => !["value", "placeholder", "disabled"].includes(key));
|
|
105
|
+
const __vue2_script = {
|
|
96
106
|
name: "FormCheckboxGroup",
|
|
97
107
|
mixins: [formInputMixin, formPickMixin],
|
|
98
108
|
props: {
|
|
@@ -151,49 +161,69 @@ const autoBindKeys = Object.keys(CheckboxGroup.props).filter((key) => !["value",
|
|
|
151
161
|
return filterProperties(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), autoBindKeys);
|
|
152
162
|
},
|
|
153
163
|
innerOptions() {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
164
|
+
if (this.gender) {
|
|
165
|
+
return [
|
|
166
|
+
{
|
|
167
|
+
[this.labelKey]: "男",
|
|
168
|
+
[this.valueKey]: "男"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
[this.labelKey]: "女",
|
|
172
|
+
[this.valueKey]: "女"
|
|
173
|
+
}
|
|
174
|
+
];
|
|
175
|
+
}
|
|
176
|
+
if (this.confirm) {
|
|
177
|
+
return [
|
|
178
|
+
{
|
|
179
|
+
[this.labelKey]: "是",
|
|
180
|
+
[this.valueKey]: "是"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
[this.labelKey]: "否",
|
|
184
|
+
[this.valueKey]: "否"
|
|
185
|
+
}
|
|
186
|
+
];
|
|
187
|
+
}
|
|
188
|
+
return this.options;
|
|
173
189
|
},
|
|
174
190
|
computeVal() {
|
|
175
|
-
|
|
191
|
+
if (this.split) {
|
|
192
|
+
if (this.value) {
|
|
193
|
+
return this.value.split(",");
|
|
194
|
+
} else {
|
|
195
|
+
return [];
|
|
196
|
+
}
|
|
197
|
+
} else {
|
|
198
|
+
return this.value || [];
|
|
199
|
+
}
|
|
176
200
|
}
|
|
177
201
|
},
|
|
178
202
|
methods: {
|
|
179
203
|
emitInput(val) {
|
|
180
|
-
this.split
|
|
204
|
+
if (this.split) {
|
|
205
|
+
this.$emit("input", val.join(","));
|
|
206
|
+
} else {
|
|
207
|
+
this.$emit("input", val);
|
|
208
|
+
}
|
|
181
209
|
}
|
|
182
210
|
}
|
|
183
|
-
}
|
|
211
|
+
};
|
|
212
|
+
const __cssModules = {};
|
|
184
213
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
185
214
|
__vue2_script,
|
|
186
215
|
render,
|
|
187
216
|
staticRenderFns,
|
|
188
|
-
|
|
217
|
+
false,
|
|
189
218
|
__vue2_injectStyles,
|
|
190
219
|
null,
|
|
191
220
|
null,
|
|
192
221
|
null
|
|
193
222
|
);
|
|
194
223
|
function __vue2_injectStyles(context) {
|
|
195
|
-
for (let o in __cssModules)
|
|
224
|
+
for (let o in __cssModules) {
|
|
196
225
|
this[o] = __cssModules[o];
|
|
226
|
+
}
|
|
197
227
|
}
|
|
198
228
|
const FormCheckboxGroup = /* @__PURE__ */ function() {
|
|
199
229
|
return __component__.exports;
|
|
@@ -1 +1,51 @@
|
|
|
1
|
-
|
|
1
|
+
/* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
|
|
2
|
+
/* 应用头部高度 */
|
|
3
|
+
/* 页面宽度 */
|
|
4
|
+
/* 侧栏宽度 */
|
|
5
|
+
/* 标签高度 */
|
|
6
|
+
/* 页面头部工具条高度 */
|
|
7
|
+
.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-ellipsis .el-checkbox__label {
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
white-space: nowrap;
|
|
10
|
+
text-overflow: ellipsis;
|
|
11
|
+
}
|
|
12
|
+
.form-checkbox-group.form-checkbox-group-row.form-checkbox-group-row-break-word .el-checkbox__label {
|
|
13
|
+
word-wrap: break-word;
|
|
14
|
+
word-break: break-all;
|
|
15
|
+
}
|
|
16
|
+
.form-checkbox-group.form-checkbox-group-row .el-checkbox-group {
|
|
17
|
+
display: block;
|
|
18
|
+
}
|
|
19
|
+
.form-checkbox-group.form-checkbox-group-row .el-checkbox {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: row;
|
|
22
|
+
flex-wrap: nowrap;
|
|
23
|
+
width: 100%;
|
|
24
|
+
}
|
|
25
|
+
.form-checkbox-group.form-checkbox-group-row .el-checkbox__input {
|
|
26
|
+
flex-shrink: 0;
|
|
27
|
+
top: 3px;
|
|
28
|
+
}
|
|
29
|
+
.form-checkbox-group.form-checkbox-group-row .el-checkbox__label {
|
|
30
|
+
flex: 1 1 auto;
|
|
31
|
+
display: block;
|
|
32
|
+
margin-bottom: 6px;
|
|
33
|
+
vertical-align: sub;
|
|
34
|
+
}
|
|
35
|
+
.form-checkbox-group .form-checkbox-group-other {
|
|
36
|
+
display: inline-block;
|
|
37
|
+
margin-left: 10px;
|
|
38
|
+
}
|
|
39
|
+
.form-checkbox-group .form-checkbox-group-other .el-form-item__label {
|
|
40
|
+
display: none;
|
|
41
|
+
}
|
|
42
|
+
.form-checkbox-group .el-checkbox-group {
|
|
43
|
+
line-height: inherit;
|
|
44
|
+
}
|
|
45
|
+
.form-checkbox-group .el-checkbox {
|
|
46
|
+
margin-right: 10px;
|
|
47
|
+
vertical-align: middle;
|
|
48
|
+
}
|
|
49
|
+
.form-checkbox-group .el-checkbox__label {
|
|
50
|
+
padding-left: 4px;
|
|
51
|
+
}
|
|
@@ -1,50 +1,59 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defProps = Object.defineProperties;
|
|
2
3
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
3
4
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty
|
|
5
|
-
var
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __spreadValues = (a, b) => {
|
|
6
9
|
for (var prop in b || (b = {}))
|
|
7
|
-
__hasOwnProp.call(b, prop)
|
|
10
|
+
if (__hasOwnProp.call(b, prop))
|
|
11
|
+
__defNormalProp(a, prop, b[prop]);
|
|
8
12
|
if (__getOwnPropSymbols)
|
|
9
|
-
for (var prop of __getOwnPropSymbols(b))
|
|
10
|
-
__propIsEnum.call(b, prop)
|
|
13
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
+
if (__propIsEnum.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
}
|
|
11
17
|
return a;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
import { f as
|
|
18
|
+
};
|
|
19
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
+
import { f as formInputMixin } from "../../chunks/form-input-mixin.e7f93f4c.mjs";
|
|
21
|
+
import { f as formPickMixin } from "../../chunks/form-pick-mixin.822300f3.mjs";
|
|
15
22
|
import { toDate } from "@web-utils/integrations/dayjs";
|
|
16
|
-
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.
|
|
17
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
23
|
+
import { d as filterProperties, n as normalizeProps } from "../../chunks/utils.2a3ffac9.mjs";
|
|
24
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.mjs";
|
|
18
25
|
var render = function() {
|
|
19
|
-
var _vm = this
|
|
26
|
+
var _vm = this;
|
|
27
|
+
var _h = _vm.$createElement;
|
|
28
|
+
var _c = _vm._self._c || _h;
|
|
20
29
|
return _c("FormItem", _vm._b({
|
|
21
30
|
attrs: {
|
|
22
|
-
rules: _vm.computeRules,
|
|
23
|
-
disabled: _vm.inputDisabled
|
|
31
|
+
"rules": _vm.computeRules,
|
|
32
|
+
"disabled": _vm.inputDisabled
|
|
24
33
|
},
|
|
25
34
|
scopedSlots: _vm._u([{
|
|
26
35
|
key: "default",
|
|
27
36
|
fn: function() {
|
|
28
37
|
return [_c("ElDatePicker", _vm._g(_vm._b({
|
|
29
38
|
staticStyle: {
|
|
30
|
-
width: "100%"
|
|
39
|
+
"width": "100%"
|
|
31
40
|
},
|
|
32
41
|
attrs: {
|
|
33
42
|
"picker-options": _vm.pickerOption,
|
|
34
|
-
value: _vm.innerVal,
|
|
35
|
-
size: "mini",
|
|
36
|
-
placeholder: _vm.computePlaceholder,
|
|
37
|
-
type: _vm.type,
|
|
38
|
-
disabled: _vm.inputDisabled
|
|
43
|
+
"value": _vm.innerVal,
|
|
44
|
+
"size": "mini",
|
|
45
|
+
"placeholder": _vm.computePlaceholder,
|
|
46
|
+
"type": _vm.type,
|
|
47
|
+
"disabled": _vm.inputDisabled
|
|
39
48
|
},
|
|
40
49
|
on: {
|
|
41
|
-
input: _vm.emitInput
|
|
50
|
+
"input": _vm.emitInput
|
|
42
51
|
}
|
|
43
|
-
}, "ElDatePicker", _vm.inputProps,
|
|
52
|
+
}, "ElDatePicker", _vm.inputProps, false), _vm.listeners)), _vm.$slots.warn ? _c("div", {
|
|
44
53
|
staticClass: "el-form-item__warn"
|
|
45
54
|
}, [_vm._t("warn")], 2) : _vm._e()];
|
|
46
55
|
},
|
|
47
|
-
proxy:
|
|
56
|
+
proxy: true
|
|
48
57
|
}, {
|
|
49
58
|
key: "error",
|
|
50
59
|
fn: function(_ref) {
|
|
@@ -54,7 +63,7 @@ var render = function() {
|
|
|
54
63
|
}, [_vm._t("error", function() {
|
|
55
64
|
return [_vm._v(" " + _vm._s(error) + " ")];
|
|
56
65
|
}, {
|
|
57
|
-
error
|
|
66
|
+
"error": error
|
|
58
67
|
})], 2) : _vm._e()];
|
|
59
68
|
}
|
|
60
69
|
}, {
|
|
@@ -62,11 +71,13 @@ var render = function() {
|
|
|
62
71
|
fn: function() {
|
|
63
72
|
return [_vm._t("label")];
|
|
64
73
|
},
|
|
65
|
-
proxy:
|
|
66
|
-
}], null,
|
|
67
|
-
}, "FormItem", _vm.formItemProps,
|
|
68
|
-
}
|
|
69
|
-
|
|
74
|
+
proxy: true
|
|
75
|
+
}], null, true)
|
|
76
|
+
}, "FormItem", _vm.formItemProps, false));
|
|
77
|
+
};
|
|
78
|
+
var staticRenderFns = [];
|
|
79
|
+
const autoBindKeys = ["type", "timeArrowControl", "size", "format", "valueFormat", "readonly", "placeholder", "startPlaceholder", "endPlaceholder", "prefixIcon", "clearIcon", "name", "disabled", "clearable", "id", "popperClass", "editable", "align", "value", "defaultValue", "defaultTime", "rangeSeparator", "pickerOptions", "unlinkPanels", "validateEvent"].filter((key) => !["value", "placeholder", "disabled", "type", "pickerOptions"].includes(key));
|
|
80
|
+
const __vue2_script = {
|
|
70
81
|
name: "FormDatePicker",
|
|
71
82
|
mixins: [formInputMixin, formPickMixin],
|
|
72
83
|
props: {
|
|
@@ -110,7 +121,7 @@ const autoBindKeys = ["type", "timeArrowControl", "size", "format", "valueFormat
|
|
|
110
121
|
},
|
|
111
122
|
split: {
|
|
112
123
|
type: Boolean,
|
|
113
|
-
default:
|
|
124
|
+
default: true
|
|
114
125
|
}
|
|
115
126
|
},
|
|
116
127
|
computed: {
|
|
@@ -120,32 +131,60 @@ const autoBindKeys = ["type", "timeArrowControl", "size", "format", "valueFormat
|
|
|
120
131
|
mini() {
|
|
121
132
|
if (this.miniDate) {
|
|
122
133
|
const date = toDate(this.miniDate);
|
|
123
|
-
|
|
124
|
-
|
|
134
|
+
date.setDate(date.getDate() - 1);
|
|
135
|
+
return date;
|
|
136
|
+
} else {
|
|
125
137
|
return null;
|
|
138
|
+
}
|
|
126
139
|
},
|
|
127
140
|
max() {
|
|
128
|
-
|
|
141
|
+
if (this.maxDate) {
|
|
142
|
+
return toDate(this.maxDate);
|
|
143
|
+
} else {
|
|
144
|
+
return null;
|
|
145
|
+
}
|
|
129
146
|
},
|
|
130
147
|
pickerOption() {
|
|
131
148
|
return __spreadValues({
|
|
132
149
|
disabledDate: (time) => {
|
|
133
|
-
if (!this.mini && !this.max)
|
|
134
|
-
return
|
|
150
|
+
if (!this.mini && !this.max) {
|
|
151
|
+
return false;
|
|
152
|
+
}
|
|
135
153
|
const currentTime = time.getTime();
|
|
136
|
-
|
|
154
|
+
if (this.mini && !this.max) {
|
|
155
|
+
return currentTime <= this.mini.getTime();
|
|
156
|
+
} else if (!this.mini && this.max) {
|
|
157
|
+
return currentTime >= this.max.getTime();
|
|
158
|
+
} else if (this.mini && this.max) {
|
|
159
|
+
return currentTime <= this.mini.getTime() && currentTime >= this.max.getTime();
|
|
160
|
+
} else {
|
|
161
|
+
return false;
|
|
162
|
+
}
|
|
137
163
|
}
|
|
138
164
|
}, this.pickerOptions);
|
|
139
165
|
},
|
|
140
166
|
innerVal() {
|
|
141
167
|
if (this.range && this.split) {
|
|
142
168
|
const val = [];
|
|
143
|
-
|
|
144
|
-
|
|
169
|
+
val.push(this.start || "");
|
|
170
|
+
val.push(this.end || "");
|
|
171
|
+
return val;
|
|
172
|
+
} else {
|
|
145
173
|
return this.value;
|
|
174
|
+
}
|
|
146
175
|
},
|
|
147
176
|
fat() {
|
|
148
|
-
|
|
177
|
+
if (this.year) {
|
|
178
|
+
return "yyyy";
|
|
179
|
+
} else if (this.month || this.monthRange) {
|
|
180
|
+
return "yyyy-MM";
|
|
181
|
+
} else if (this.week) {
|
|
182
|
+
return "yyyy 第 WW 周";
|
|
183
|
+
} else if (this.dateTime || this.dateTimeRange) {
|
|
184
|
+
return "yyyy-MM-dd HH:mm";
|
|
185
|
+
} else {
|
|
186
|
+
return "yyyy-MM-dd";
|
|
187
|
+
}
|
|
149
188
|
},
|
|
150
189
|
inputProps() {
|
|
151
190
|
return filterProperties(__spreadProps(__spreadValues(__spreadValues({}, normalizeProps(this.$attrs)), this.$props), {
|
|
@@ -160,28 +199,58 @@ const autoBindKeys = ["type", "timeArrowControl", "size", "format", "valueFormat
|
|
|
160
199
|
return this.dateTimeRange || this.dateRange || this.monthRange;
|
|
161
200
|
},
|
|
162
201
|
type() {
|
|
163
|
-
|
|
202
|
+
if (this.year) {
|
|
203
|
+
return "year";
|
|
204
|
+
} else if (this.month) {
|
|
205
|
+
return "month";
|
|
206
|
+
} else if (this.dates) {
|
|
207
|
+
return "dates";
|
|
208
|
+
} else if (this.week) {
|
|
209
|
+
return "week";
|
|
210
|
+
} else if (this.dateTime) {
|
|
211
|
+
return "datetime";
|
|
212
|
+
} else if (this.dateTimeRange) {
|
|
213
|
+
return "datetimerange";
|
|
214
|
+
} else if (this.dateRange) {
|
|
215
|
+
return "daterange";
|
|
216
|
+
} else if (this.monthRange) {
|
|
217
|
+
return "monthrange";
|
|
218
|
+
} else {
|
|
219
|
+
return "date";
|
|
220
|
+
}
|
|
164
221
|
}
|
|
165
222
|
},
|
|
166
223
|
methods: {
|
|
167
224
|
emitInput(val) {
|
|
168
|
-
this.range && this.split
|
|
225
|
+
if (this.range && this.split) {
|
|
226
|
+
if (val) {
|
|
227
|
+
this.$emit("update:start", val[0]);
|
|
228
|
+
this.$emit("update:end", val[1]);
|
|
229
|
+
} else {
|
|
230
|
+
this.$emit("update:start", null);
|
|
231
|
+
this.$emit("update:end", null);
|
|
232
|
+
}
|
|
233
|
+
} else {
|
|
234
|
+
this.$emit("input", val);
|
|
235
|
+
}
|
|
169
236
|
}
|
|
170
237
|
}
|
|
171
|
-
}
|
|
238
|
+
};
|
|
239
|
+
const __cssModules = {};
|
|
172
240
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
173
241
|
__vue2_script,
|
|
174
242
|
render,
|
|
175
243
|
staticRenderFns,
|
|
176
|
-
|
|
244
|
+
false,
|
|
177
245
|
__vue2_injectStyles,
|
|
178
246
|
null,
|
|
179
247
|
null,
|
|
180
248
|
null
|
|
181
249
|
);
|
|
182
250
|
function __vue2_injectStyles(context) {
|
|
183
|
-
for (let o in __cssModules)
|
|
251
|
+
for (let o in __cssModules) {
|
|
184
252
|
this[o] = __cssModules[o];
|
|
253
|
+
}
|
|
185
254
|
}
|
|
186
255
|
const FormDatePicker = /* @__PURE__ */ function() {
|
|
187
256
|
return __component__.exports;
|
|
@@ -1,6 +1,8 @@
|
|
|
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 _vm.display ? _c("div", {
|
|
5
7
|
class: ["avue-group", {
|
|
6
8
|
"avue-group--header": !_vm.isHeader,
|
|
@@ -8,10 +10,10 @@ var render = function() {
|
|
|
8
10
|
}]
|
|
9
11
|
}, [_vm._t("tabs"), _c("ElCollapse", {
|
|
10
12
|
attrs: {
|
|
11
|
-
value: _vm.text
|
|
13
|
+
"value": _vm.text
|
|
12
14
|
},
|
|
13
15
|
on: {
|
|
14
|
-
change: _vm.handleChange
|
|
16
|
+
"change": _vm.handleChange
|
|
15
17
|
},
|
|
16
18
|
model: {
|
|
17
19
|
value: _vm.activeName,
|
|
@@ -22,19 +24,19 @@ var render = function() {
|
|
|
22
24
|
}
|
|
23
25
|
}, [_c("ElCollapseItem", {
|
|
24
26
|
attrs: {
|
|
25
|
-
name: 1,
|
|
26
|
-
disabled: !_vm.arrow
|
|
27
|
+
"name": 1,
|
|
28
|
+
"disabled": !_vm.arrow
|
|
27
29
|
}
|
|
28
30
|
}, [_vm.$slots.header && _vm.header ? _c("div", {
|
|
29
31
|
staticClass: "avue-group__header",
|
|
30
32
|
attrs: {
|
|
31
|
-
slot: "title"
|
|
33
|
+
"slot": "title"
|
|
32
34
|
},
|
|
33
35
|
slot: "title"
|
|
34
36
|
}, [_vm._t("header")], 2) : (_vm.label || _vm.icon) && _vm.header ? _c("div", {
|
|
35
37
|
staticClass: "avue-group__header",
|
|
36
38
|
attrs: {
|
|
37
|
-
slot: "title"
|
|
39
|
+
"slot": "title"
|
|
38
40
|
},
|
|
39
41
|
slot: "title"
|
|
40
42
|
}, [_vm.icon ? _c("i", {
|
|
@@ -42,32 +44,34 @@ var render = function() {
|
|
|
42
44
|
}) : _vm._e(), _vm.label ? _c("h1", {
|
|
43
45
|
staticClass: "avue-group__title"
|
|
44
46
|
}, [_vm._v(" " + _vm._s(_vm.label) + " ")]) : _vm._e()]) : _vm._e(), _vm._t("default")], 2)], 1)], 2) : _vm._e();
|
|
45
|
-
}
|
|
47
|
+
};
|
|
48
|
+
var staticRenderFns = [];
|
|
49
|
+
const FormGroup_vue_vue_type_style_index_0_lang = "";
|
|
46
50
|
const __vue2_script = {
|
|
47
51
|
name: "FormGroup",
|
|
48
52
|
props: {
|
|
49
53
|
arrow: {
|
|
50
54
|
type: Boolean,
|
|
51
|
-
default:
|
|
55
|
+
default: true
|
|
52
56
|
},
|
|
53
57
|
collapse: {
|
|
54
58
|
type: Boolean,
|
|
55
|
-
default:
|
|
59
|
+
default: true
|
|
56
60
|
},
|
|
57
61
|
header: {
|
|
58
62
|
type: Boolean,
|
|
59
|
-
default:
|
|
63
|
+
default: true
|
|
60
64
|
},
|
|
61
65
|
icon: {
|
|
62
66
|
type: String
|
|
63
67
|
},
|
|
64
68
|
display: {
|
|
65
69
|
type: Boolean,
|
|
66
|
-
default:
|
|
70
|
+
default: true
|
|
67
71
|
},
|
|
68
72
|
card: {
|
|
69
73
|
type: Boolean,
|
|
70
|
-
default:
|
|
74
|
+
default: false
|
|
71
75
|
},
|
|
72
76
|
label: {
|
|
73
77
|
type: String
|
|
@@ -99,20 +103,22 @@ const __vue2_script = {
|
|
|
99
103
|
this.$emit("change", activeNames);
|
|
100
104
|
}
|
|
101
105
|
}
|
|
102
|
-
}
|
|
106
|
+
};
|
|
107
|
+
const __cssModules = {};
|
|
103
108
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
104
109
|
__vue2_script,
|
|
105
110
|
render,
|
|
106
111
|
staticRenderFns,
|
|
107
|
-
|
|
112
|
+
false,
|
|
108
113
|
__vue2_injectStyles,
|
|
109
114
|
null,
|
|
110
115
|
null,
|
|
111
116
|
null
|
|
112
117
|
);
|
|
113
118
|
function __vue2_injectStyles(context) {
|
|
114
|
-
for (let o in __cssModules)
|
|
119
|
+
for (let o in __cssModules) {
|
|
115
120
|
this[o] = __cssModules[o];
|
|
121
|
+
}
|
|
116
122
|
}
|
|
117
123
|
const FormGroup = /* @__PURE__ */ function() {
|
|
118
124
|
return __component__.exports;
|