@vaebe/ccui 2.0.1-beta.1 → 2.0.1-beta.3
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/README.md +1 -1
- package/affix/index.d.ts +10 -0
- package/affix/src/affix-types.d.ts +20 -0
- package/affix/src/affix.d.ts +20 -0
- package/alert/index.d.ts +10 -0
- package/alert/src/alert-types.d.ts +48 -0
- package/alert/src/alert.d.ts +36 -0
- package/anchor/index.d.ts +10 -0
- package/anchor/src/anchor-types.d.ts +37 -0
- package/anchor/src/anchor.d.ts +31 -0
- package/auto-complete/index.d.ts +10 -0
- package/auto-complete/index.es.js +1986 -0
- package/auto-complete/index.umd.js +1 -0
- package/auto-complete/src/auto-complete-types.d.ts +134 -0
- package/auto-complete/src/auto-complete.d.ts +94 -0
- package/auto-complete/style.css +2 -0
- package/avatar/index.d.ts +10 -0
- package/avatar/src/avatar-types.d.ts +53 -0
- package/avatar/src/avatar.d.ts +36 -0
- package/avatar/src/components/icon-body.d.ts +4 -0
- package/avatar/src/components/icon-img-error.d.ts +4 -0
- package/avatar/src/components/icon-nobody.d.ts +4 -0
- package/avatar/src/composables/use-get-background-color.d.ts +1 -0
- package/avatar/src/composables/use-get-display-name.d.ts +1 -0
- package/avatar-group/index.d.ts +12 -0
- package/avatar-group/index.es.js +119 -0
- package/avatar-group/index.umd.js +1 -0
- package/avatar-group/src/avatar-group-types.d.ts +56 -0
- package/avatar-group/src/avatar-group.d.ts +27 -0
- package/avatar-group/style.css +2 -0
- package/badge/index.d.ts +10 -0
- package/badge/src/badge-types.d.ts +52 -0
- package/badge/src/badge.d.ts +36 -0
- package/badge-ribbon/index.d.ts +12 -0
- package/badge-ribbon/index.es.js +84 -0
- package/badge-ribbon/index.umd.js +1 -0
- package/badge-ribbon/src/badge-ribbon-types.d.ts +30 -0
- package/badge-ribbon/src/badge-ribbon.d.ts +17 -0
- package/badge-ribbon/style.css +2 -0
- package/breadcrumb/index.d.ts +10 -0
- package/breadcrumb/src/breadcrumb-types.d.ts +29 -0
- package/breadcrumb/src/breadcrumb.d.ts +21 -0
- package/button/index.d.ts +12 -0
- package/button/src/button-group.d.ts +12 -0
- package/button/src/button-types.d.ts +168 -0
- package/button/src/button.d.ts +75 -0
- package/button-3d/index.d.ts +10 -0
- package/button-3d/src/button-3d-types.d.ts +27 -0
- package/button-3d/src/button-3d.d.ts +23 -0
- package/calendar/index.d.ts +10 -0
- package/calendar/src/calendar-types.d.ts +56 -0
- package/calendar/src/calendar.d.ts +27 -0
- package/card/index.d.ts +10 -0
- package/card/src/card-types.d.ts +34 -0
- package/card/src/card.d.ts +21 -0
- package/card-meta/index.d.ts +11 -0
- package/card-meta/index.es.js +53 -0
- package/card-meta/index.umd.js +1 -0
- package/card-meta/src/card-meta-types.d.ts +19 -0
- package/card-meta/src/card-meta.d.ts +14 -0
- package/card-meta/style.css +2 -0
- package/carousel/index.d.ts +10 -0
- package/carousel/index.es.js +306 -0
- package/carousel/index.umd.js +1 -0
- package/carousel/src/carousel-types.d.ts +72 -0
- package/carousel/src/carousel.d.ts +58 -0
- package/carousel/style.css +2 -0
- package/cascader/index.d.ts +12 -0
- package/cascader/index.es.js +2267 -0
- package/cascader/index.umd.js +1 -0
- package/cascader/src/cascader-types.d.ts +214 -0
- package/cascader/src/cascader.d.ts +133 -0
- package/cascader/style.css +2 -0
- package/check-box/index.d.ts +10 -0
- package/check-box/src/check-box-group.d.ts +31 -0
- package/check-box/src/check-box-types.d.ts +74 -0
- package/check-box/src/check-box.d.ts +28 -0
- package/check-box/src/components/icon-active.d.ts +2 -0
- package/check-box/src/components/icon-default.d.ts +2 -0
- package/checkable-tag/index.d.ts +13 -0
- package/checkable-tag/index.es.js +141 -0
- package/checkable-tag/index.umd.js +1 -0
- package/checkable-tag/src/checkable-tag-group.d.ts +26 -0
- package/checkable-tag/src/checkable-tag-types.d.ts +83 -0
- package/checkable-tag/src/checkable-tag.d.ts +20 -0
- package/checkable-tag/style.css +2 -0
- package/collapse/index.d.ts +11 -0
- package/collapse/src/collapse-item.d.ts +16 -0
- package/collapse/src/collapse-types.d.ts +52 -0
- package/collapse/src/collapse.d.ts +24 -0
- package/color-picker/index.d.ts +10 -0
- package/color-picker/index.es.js +1881 -0
- package/color-picker/index.umd.js +1 -0
- package/color-picker/src/color-picker-types.d.ts +121 -0
- package/color-picker/src/color-picker.d.ts +75 -0
- package/color-picker/style.css +2 -0
- package/config-provider/index.d.ts +10 -0
- package/config-provider/src/config-provider-types.d.ts +131 -0
- package/config-provider/src/config-provider.d.ts +24 -0
- package/date-picker/index.d.ts +10 -0
- package/date-picker/src/date-picker-types.d.ts +179 -0
- package/date-picker/src/date-picker.d.ts +113 -0
- package/descriptions/index.d.ts +11 -0
- package/descriptions/src/descriptions-item.d.ts +19 -0
- package/descriptions/src/descriptions-types.d.ts +64 -0
- package/descriptions/src/descriptions.d.ts +31 -0
- package/divider/index.d.ts +10 -0
- package/divider/src/divider-types.d.ts +31 -0
- package/divider/src/divider.d.ts +24 -0
- package/drawer/index.d.ts +10 -0
- package/drawer/src/drawer-types.d.ts +155 -0
- package/drawer/src/drawer.d.ts +79 -0
- package/dropdown/index.d.ts +10 -0
- package/dropdown/index.es.js +2 -2
- package/dropdown/index.umd.js +1 -1
- package/dropdown/src/dropdown-types.d.ts +41 -0
- package/dropdown/src/dropdown.d.ts +32 -0
- package/empty/index.d.ts +10 -0
- package/empty/src/empty-types.d.ts +16 -0
- package/empty/src/empty.d.ts +15 -0
- package/flex/index.d.ts +10 -0
- package/flex/src/flex-types.d.ts +36 -0
- package/flex/src/flex.d.ts +29 -0
- package/float-button/index.d.ts +11 -0
- package/float-button/src/back-top.d.ts +26 -0
- package/float-button/src/float-button-types.d.ts +65 -0
- package/float-button/src/float-button.d.ts +32 -0
- package/form/index.d.ts +14 -0
- package/form/src/form-item.d.ts +72 -0
- package/form/src/form-list.d.ts +12 -0
- package/form/src/form-provider.d.ts +7 -0
- package/form/src/form-types.d.ts +360 -0
- package/form/src/form.d.ts +64 -0
- package/form/src/utils.d.ts +10 -0
- package/grid/index.d.ts +10 -0
- package/grid/src/grid-types.d.ts +90 -0
- package/grid/src/grid.d.ts +58 -0
- package/icon/index.d.ts +12 -0
- package/icon/src/icon-registry.d.ts +5 -0
- package/icon/src/icon-types.d.ts +95 -0
- package/icon/src/icon.d.ts +63 -0
- package/image/index.d.ts +10 -0
- package/image/src/image-types.d.ts +56 -0
- package/image/src/image.d.ts +42 -0
- package/image-preview-group/index.d.ts +11 -0
- package/image-preview-group/index.es.js +162 -0
- package/image-preview-group/index.umd.js +1 -0
- package/image-preview-group/src/image-preview-group-types.d.ts +51 -0
- package/image-preview-group/src/image-preview-group.d.ts +25 -0
- package/image-preview-group/style.css +2 -0
- package/index.d.ts +93 -7
- package/input/index.d.ts +10 -0
- package/input/src/input-types.d.ts +164 -0
- package/input/src/input.d.ts +74 -0
- package/input-number/index.d.ts +10 -0
- package/input-number/src/input-number-types.d.ts +165 -0
- package/input-number/src/input-number.d.ts +66 -0
- package/input-otp/index.d.ts +11 -0
- package/input-otp/index.es.js +186 -0
- package/input-otp/index.umd.js +1 -0
- package/input-otp/src/input-otp-types.d.ts +68 -0
- package/input-otp/src/input-otp.d.ts +40 -0
- package/input-otp/style.css +2 -0
- package/input-search/index.d.ts +11 -0
- package/input-search/index.es.js +1228 -0
- package/input-search/index.umd.js +1 -0
- package/input-search/src/input-search-types.d.ts +106 -0
- package/input-search/src/input-search.d.ts +84 -0
- package/input-search/style.css +2 -0
- package/layout/index.d.ts +10 -0
- package/layout/src/layout-types.d.ts +70 -0
- package/layout/src/layout.d.ts +56 -0
- package/masonry/index.d.ts +10 -0
- package/masonry/src/masonry-types.d.ts +19 -0
- package/masonry/src/masonry.d.ts +16 -0
- package/mentions/index.d.ts +10 -0
- package/mentions/index.es.js +711 -0
- package/mentions/index.umd.js +1 -0
- package/mentions/src/mentions-types.d.ts +124 -0
- package/mentions/src/mentions.d.ts +79 -0
- package/mentions/style.css +2 -0
- package/menu/index.d.ts +10 -0
- package/menu/src/menu-types.d.ts +109 -0
- package/menu/src/menu.d.ts +63 -0
- package/message/index.d.ts +22 -0
- package/message/src/message-item.d.ts +46 -0
- package/message/src/message-types.d.ts +86 -0
- package/message/src/message.d.ts +21 -0
- package/message/src/use-message.d.ts +35 -0
- package/modal/index.d.ts +24 -0
- package/modal/src/confirm-types.d.ts +30 -0
- package/modal/src/confirm.d.ts +17 -0
- package/modal/src/modal-types.d.ts +175 -0
- package/modal/src/modal.d.ts +99 -0
- package/modal/src/use-modal.d.ts +34 -0
- package/notification/index.d.ts +21 -0
- package/notification/src/notification-item.d.ts +49 -0
- package/notification/src/notification-types.d.ts +91 -0
- package/notification/src/notification.d.ts +20 -0
- package/notification/src/use-notification.d.ts +34 -0
- package/package.json +611 -12
- package/pagination/index.d.ts +10 -0
- package/pagination/index.es.js +4 -2
- package/pagination/index.umd.js +1 -1
- package/pagination/src/pagination-types.d.ts +49 -0
- package/pagination/src/pagination.d.ts +43 -0
- package/popconfirm/index.d.ts +10 -0
- package/popconfirm/src/popconfirm-types.d.ts +82 -0
- package/popconfirm/src/popconfirm.d.ts +55 -0
- package/popover/index.d.ts +10 -0
- package/popover/src/popover-types.d.ts +235 -0
- package/popover/src/popover.d.ts +130 -0
- package/progress/index.d.ts +10 -0
- package/progress/src/progress-types.d.ts +48 -0
- package/progress/src/progress.d.ts +37 -0
- package/radio/index.d.ts +11 -0
- package/radio/src/components/icon-active.d.ts +2 -0
- package/radio/src/components/icon-circle.d.ts +2 -0
- package/radio/src/radio-group.d.ts +21 -0
- package/radio/src/radio-types.d.ts +55 -0
- package/radio/src/radio.d.ts +24 -0
- package/range-picker/index.d.ts +10 -0
- package/range-picker/index.es.js +2415 -0
- package/range-picker/index.umd.js +1 -0
- package/range-picker/src/range-picker-types.d.ts +169 -0
- package/range-picker/src/range-picker.d.ts +112 -0
- package/range-picker/style.css +2 -0
- package/rate/index.d.ts +10 -0
- package/rate/src/components/icon-default.d.ts +2 -0
- package/rate/src/rate-types.d.ts +34 -0
- package/rate/src/rate.d.ts +30 -0
- package/result/index.d.ts +10 -0
- package/result/src/result-types.d.ts +21 -0
- package/result/src/result.d.ts +18 -0
- package/segmented/index.d.ts +10 -0
- package/segmented/src/segmented-types.d.ts +32 -0
- package/segmented/src/segmented.d.ts +25 -0
- package/select/index.d.ts +10 -0
- package/select/src/composables/use-select.d.ts +29 -0
- package/select/src/select-types.d.ts +215 -0
- package/select/src/select.d.ts +149 -0
- package/skeleton/index.d.ts +10 -0
- package/skeleton/src/skeleton-types.d.ts +39 -0
- package/skeleton/src/skeleton.d.ts +27 -0
- package/skeleton-node/index.d.ts +11 -0
- package/skeleton-node/index.es.js +71 -0
- package/skeleton-node/index.umd.js +1 -0
- package/skeleton-node/src/skeleton-node-types.d.ts +23 -0
- package/skeleton-node/src/skeleton-node.d.ts +17 -0
- package/skeleton-node/style.css +2 -0
- package/slider/index.d.ts +10 -0
- package/slider/index.es.js +3 -3
- package/slider/index.umd.js +1 -1
- package/slider/src/composables/use-slider-tooltip.d.ts +18 -0
- package/slider/src/composables/use-slider.d.ts +68 -0
- package/slider/src/slider-types.d.ts +112 -0
- package/slider/src/slider.d.ts +149 -0
- package/space/index.d.ts +10 -0
- package/space/src/space-types.d.ts +28 -0
- package/space/src/space.d.ts +21 -0
- package/space-compact/index.d.ts +11 -0
- package/space-compact/index.es.js +59 -0
- package/space-compact/index.umd.js +1 -0
- package/space-compact/src/space-compact-types.d.ts +27 -0
- package/space-compact/src/space-compact.d.ts +15 -0
- package/space-compact/style.css +2 -0
- package/spin/index.d.ts +10 -0
- package/spin/src/spin-types.d.ts +29 -0
- package/spin/src/spin.d.ts +24 -0
- package/splitter/index.d.ts +10 -0
- package/splitter/src/splitter-types.d.ts +70 -0
- package/splitter/src/splitter.d.ts +62 -0
- package/status/index.d.ts +10 -0
- package/status/src/status-types.d.ts +10 -0
- package/status/src/status.d.ts +9 -0
- package/steps/index.d.ts +10 -0
- package/steps/src/steps-types.d.ts +48 -0
- package/steps/src/steps.d.ts +34 -0
- package/style.css +2 -0
- package/switch/index.d.ts +10 -0
- package/switch/src/switch-types.d.ts +45 -0
- package/switch/src/switch.d.ts +37 -0
- package/table/index.d.ts +11 -0
- package/table/src/table-types.d.ts +172 -0
- package/table/src/table.d.ts +67 -0
- package/table-column/index.d.ts +11 -0
- package/table-column/index.es.js +155 -0
- package/table-column/index.umd.js +1 -0
- package/table-column/src/table-column-types.d.ts +75 -0
- package/table-column/src/table-column.d.ts +63 -0
- package/table-column-group/index.d.ts +11 -0
- package/table-column-group/index.es.js +80 -0
- package/table-column-group/index.umd.js +1 -0
- package/table-column-group/src/table-column-group-types.d.ts +36 -0
- package/table-column-group/src/table-column-group.d.ts +20 -0
- package/table-summary/index.d.ts +11 -0
- package/table-summary/index.es.js +30 -0
- package/table-summary/index.umd.js +1 -0
- package/table-summary/src/table-summary-types.d.ts +29 -0
- package/table-summary/src/table-summary.d.ts +8 -0
- package/tabs/index.d.ts +11 -0
- package/tabs/src/components/tab/tab-types.d.ts +18 -0
- package/tabs/src/components/tab/tab.d.ts +15 -0
- package/tabs/src/components/tabs-nav/index.d.ts +26 -0
- package/tabs/src/tabs-types.d.ts +49 -0
- package/tabs/src/tabs.d.ts +27 -0
- package/tag/index.d.ts +10 -0
- package/tag/src/tag-types.d.ts +41 -0
- package/tag/src/tag.d.ts +24 -0
- package/textarea/index.d.ts +11 -0
- package/textarea/index.es.js +1241 -0
- package/textarea/index.umd.js +1 -0
- package/textarea/src/textarea-types.d.ts +150 -0
- package/textarea/src/textarea.d.ts +63 -0
- package/textarea/style.css +2 -0
- package/time-picker/index.d.ts +10 -0
- package/time-picker/index.es.js +2325 -0
- package/time-picker/index.umd.js +1 -0
- package/time-picker/src/time-picker-types.d.ts +168 -0
- package/time-picker/src/time-picker.d.ts +127 -0
- package/time-picker/style.css +2 -0
- package/time-range-picker/index.d.ts +10 -0
- package/time-range-picker/index.es.js +2568 -0
- package/time-range-picker/index.umd.js +1 -0
- package/time-range-picker/src/time-range-picker-types.d.ts +147 -0
- package/time-range-picker/src/time-range-picker.d.ts +124 -0
- package/time-range-picker/style.css +2 -0
- package/timeline/index.d.ts +11 -0
- package/timeline/src/timeline-item.d.ts +31 -0
- package/timeline/src/timeline-types.d.ts +72 -0
- package/timeline/src/timeline.d.ts +3 -0
- package/tooltip/index.d.ts +10 -0
- package/tooltip/src/tooltip-types.d.ts +201 -0
- package/tooltip/src/tooltip.d.ts +87 -0
- package/transfer/index.d.ts +10 -0
- package/transfer/index.es.js +1407 -0
- package/transfer/index.umd.js +1 -0
- package/transfer/src/transfer-types.d.ts +76 -0
- package/transfer/src/transfer.d.ts +59 -0
- package/transfer/style.css +2 -0
- package/tree/index.d.ts +10 -0
- package/tree/src/composables/use-tree-check.d.ts +9 -0
- package/tree/src/composables/use-tree-flatten.d.ts +11 -0
- package/tree/src/composables/use-tree-state.d.ts +17 -0
- package/tree/src/tree-types.d.ts +202 -0
- package/tree/src/tree.d.ts +122 -0
- package/tree-select/index.d.ts +12 -0
- package/tree-select/index.es.js +3009 -0
- package/tree-select/index.umd.js +1 -0
- package/tree-select/src/tree-select-types.d.ts +188 -0
- package/tree-select/src/tree-select.d.ts +128 -0
- package/tree-select/style.css +2 -0
- package/typography/index.d.ts +10 -0
- package/typography/src/typography-types.d.ts +316 -0
- package/typography/src/typography.d.ts +33 -0
- package/upload/index.d.ts +10 -0
- package/upload/index.es.js +1450 -0
- package/upload/index.umd.js +1 -0
- package/upload/src/upload-types.d.ts +99 -0
- package/upload/src/upload.d.ts +66 -0
- package/upload/style.css +2 -0
- package/upload-dragger/index.d.ts +10 -0
- package/upload-dragger/index.es.js +1472 -0
- package/upload-dragger/index.umd.js +1 -0
- package/upload-dragger/src/upload-dragger.d.ts +167 -0
- package/upload-dragger/style.css +2 -0
- package/util/index.d.ts +12 -0
- package/util/src/dom.d.ts +8 -0
- package/util/src/func.d.ts +7 -0
- package/util/src/type.d.ts +3 -0
- package/vue-ccui.es.js +11 -9
- package/vue-ccui.umd.js +1 -1
- package/watermark/index.d.ts +10 -0
- package/watermark/src/watermark-types.d.ts +47 -0
- package/watermark/src/watermark.d.ts +34 -0
- package/ccui-cli.css +0 -2
- package/nuxt/components/category.js +0 -2
- package/nuxt/components/install.js +0 -2
- package/nuxt/components/status.js +0 -2
- package/nuxt/components/title.js +0 -2
- package/nuxt/index.js +0 -13
- /package/affix/{ccui-cli.css → style.css} +0 -0
- /package/alert/{ccui-cli.css → style.css} +0 -0
- /package/anchor/{ccui-cli.css → style.css} +0 -0
- /package/avatar/{ccui-cli.css → style.css} +0 -0
- /package/badge/{ccui-cli.css → style.css} +0 -0
- /package/breadcrumb/{ccui-cli.css → style.css} +0 -0
- /package/button/{ccui-cli.css → style.css} +0 -0
- /package/button-3d/{ccui-cli.css → style.css} +0 -0
- /package/calendar/{ccui-cli.css → style.css} +0 -0
- /package/card/{ccui-cli.css → style.css} +0 -0
- /package/check-box/{ccui-cli.css → style.css} +0 -0
- /package/collapse/{ccui-cli.css → style.css} +0 -0
- /package/date-picker/{ccui-cli.css → style.css} +0 -0
- /package/descriptions/{ccui-cli.css → style.css} +0 -0
- /package/divider/{ccui-cli.css → style.css} +0 -0
- /package/drawer/{ccui-cli.css → style.css} +0 -0
- /package/dropdown/{ccui-cli.css → style.css} +0 -0
- /package/empty/{ccui-cli.css → style.css} +0 -0
- /package/flex/{ccui-cli.css → style.css} +0 -0
- /package/float-button/{ccui-cli.css → style.css} +0 -0
- /package/form/{ccui-cli.css → style.css} +0 -0
- /package/grid/{ccui-cli.css → style.css} +0 -0
- /package/icon/{ccui-cli.css → style.css} +0 -0
- /package/image/{ccui-cli.css → style.css} +0 -0
- /package/input/{ccui-cli.css → style.css} +0 -0
- /package/input-number/{ccui-cli.css → style.css} +0 -0
- /package/layout/{ccui-cli.css → style.css} +0 -0
- /package/masonry/{ccui-cli.css → style.css} +0 -0
- /package/menu/{ccui-cli.css → style.css} +0 -0
- /package/message/{ccui-cli.css → style.css} +0 -0
- /package/modal/{ccui-cli.css → style.css} +0 -0
- /package/notification/{ccui-cli.css → style.css} +0 -0
- /package/pagination/{ccui-cli.css → style.css} +0 -0
- /package/popconfirm/{ccui-cli.css → style.css} +0 -0
- /package/popover/{ccui-cli.css → style.css} +0 -0
- /package/progress/{ccui-cli.css → style.css} +0 -0
- /package/radio/{ccui-cli.css → style.css} +0 -0
- /package/rate/{ccui-cli.css → style.css} +0 -0
- /package/result/{ccui-cli.css → style.css} +0 -0
- /package/segmented/{ccui-cli.css → style.css} +0 -0
- /package/select/{ccui-cli.css → style.css} +0 -0
- /package/skeleton/{ccui-cli.css → style.css} +0 -0
- /package/slider/{ccui-cli.css → style.css} +0 -0
- /package/space/{ccui-cli.css → style.css} +0 -0
- /package/spin/{ccui-cli.css → style.css} +0 -0
- /package/splitter/{ccui-cli.css → style.css} +0 -0
- /package/status/{ccui-cli.css → style.css} +0 -0
- /package/steps/{ccui-cli.css → style.css} +0 -0
- /package/switch/{ccui-cli.css → style.css} +0 -0
- /package/table/{ccui-cli.css → style.css} +0 -0
- /package/tabs/{ccui-cli.css → style.css} +0 -0
- /package/tag/{ccui-cli.css → style.css} +0 -0
- /package/timeline/{ccui-cli.css → style.css} +0 -0
- /package/tooltip/{ccui-cli.css → style.css} +0 -0
- /package/tree/{ccui-cli.css → style.css} +0 -0
- /package/typography/{ccui-cli.css → style.css} +0 -0
- /package/watermark/{ccui-cli.css → style.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`vue`),require(`@floating-ui/dom`)):typeof define==`function`&&define.amd?define([`exports`,`vue`,`@floating-ui/dom`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.index={},e.Vue,e._floating_ui_dom))})(this,function(e,t,n){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),u=(e,t)=>{let n={};for(var r in e)i(n,r,{get:e[r],enumerable:!0});return t||i(n,Symbol.toStringTag,{value:`Module`}),n},d=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var s=o(t),l=0,u=s.length,d;l<u;l++)d=s[l],!c.call(e,d)&&d!==n&&i(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=a(t,d))||r.enumerable});return e},f=(e,t,n)=>(d(e,t,`default`),n&&d(n,t,`default`)),p=(e,t,n)=>(n=e==null?{}:r(s(e)),d(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e));t=p(t,1);function m(){return typeof window<`u`}function h(e){return _(e)?(e.nodeName||``).toLowerCase():`#document`}function g(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _(e){return m()?e instanceof Node||e instanceof g(e).Node:!1}var v=u({Vue:()=>t,Vue2:()=>void 0,del:()=>x,install:()=>y,isVue2:()=>!1,isVue3:()=>!0,set:()=>b});f(v,require(`vue`));function y(){}function b(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function x(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function S(e){return typeof e==`object`&&!!e&&`$el`in e}function C(e){if(S(e)){let t=e.$el;return _(t)&&h(t)===`#comment`?null:t}return e}function w(e){return typeof e==`function`?e():(0,v.unref)(e)}function T(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function E(e,t){let n=T(e);return Math.round(t*n)/n}function ee(e,t,r){r===void 0&&(r={});let i=r.whileElementsMounted,a=(0,v.computed)(()=>w(r.open)??!0),o=(0,v.computed)(()=>w(r.middleware)),s=(0,v.computed)(()=>w(r.placement)??`bottom`),c=(0,v.computed)(()=>w(r.strategy)??`absolute`),l=(0,v.computed)(()=>w(r.transform)??!0),u=(0,v.computed)(()=>C(e.value)),d=(0,v.computed)(()=>C(t.value)),f=(0,v.ref)(0),p=(0,v.ref)(0),m=(0,v.ref)(c.value),h=(0,v.ref)(s.value),g=(0,v.shallowRef)({}),_=(0,v.ref)(!1),y=(0,v.computed)(()=>{let e={position:m.value,left:`0`,top:`0`};if(!d.value)return e;let t=E(d.value,f.value),n=E(d.value,p.value);return l.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...T(d.value)>=1.5&&{willChange:`transform`}}:{position:m.value,left:t+`px`,top:n+`px`}}),b;function x(){if(u.value==null||d.value==null)return;let e=a.value;(0,n.computePosition)(u.value,d.value,{middleware:o.value,placement:s.value,strategy:c.value}).then(t=>{f.value=t.x,p.value=t.y,m.value=t.strategy,h.value=t.placement,g.value=t.middlewareData,_.value=e!==!1})}function S(){typeof b==`function`&&(b(),b=void 0)}function ee(){if(S(),i===void 0){x();return}if(u.value!=null&&d.value!=null){b=i(u.value,d.value,x);return}}function D(){a.value||(_.value=!1)}return(0,v.watch)([o,s,c,a],x,{flush:`sync`}),(0,v.watch)([u,d],ee,{flush:`sync`}),(0,v.watch)(a,D,{flush:`sync`}),(0,v.getCurrentScope)()&&(0,v.onScopeDispose)(S),{x:(0,v.shallowReadonly)(f),y:(0,v.shallowReadonly)(p),strategy:(0,v.shallowReadonly)(m),placement:(0,v.shallowReadonly)(h),middlewareData:(0,v.shallowReadonly)(g),isPositioned:(0,v.shallowReadonly)(_),floatingStyles:y,update:x}}var D=p(l(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),ee=E.prototype;return w.prototype=ee,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){ee[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))}))(),1);function O(e,t,n){let r=e;return t&&(r+=`__${t}`),n&&(r+=`--${n}`),r}function te(e,t=!1){let n=t?`.ccui-${e}`:`ccui-${e}`;return{b:()=>O(n),e:e=>e?O(n,e):``,m:e=>e?O(n,``,e):``,em:(e,t)=>e&&t?O(n,e,t):``,is:e=>`is-${e}`}}var ne={locale:`zh-CN`,Modal:{okText:`确 定`,cancelText:`取 消`,justOkText:`知道了`},Popconfirm:{okText:`确 定`,cancelText:`取 消`},Empty:{description:`暂无数据`},AutoComplete:{notFoundContent:`暂无数据`},Mentions:{notFoundContent:`暂无数据`},Cascader:{notFoundContent:`暂无数据`},TreeSelect:{notFoundContent:`暂无数据`,searchPlaceholder:`搜索`},Select:{notFoundContent:`暂无数据`},Pagination:{itemsPerPage:`条/页`,jumpTo:`跳至`,page:`页`,prevPage:`上一页`,nextPage:`下一页`,total:`共 {total} 条`,pagination:`分页`},Image:{loading:`加载中`,error:`加载失败`},DatePicker:{placeholder:`请选择日期`,rangePlaceholder:[`开始日期`,`结束日期`],timePlaceholder:`请选择时间`,weekdaysShort:[`日`,`一`,`二`,`三`,`四`,`五`,`六`],panelLabelFormat:`YYYY 年 M 月`,monthNamesShort:[`1 月`,`2 月`,`3 月`,`4 月`,`5 月`,`6 月`,`7 月`,`8 月`,`9 月`,`10 月`,`11 月`,`12 月`],quarterNames:[`一季度`,`二季度`,`三季度`,`四季度`],weekFormat:`{weekYear} 年第 {weekNumber} 周`,weekHeader:`周`,now:`此刻`,ok:`确定`,prevYearLabel:`前一年`,prevMonthLabel:`上个月`,nextYearLabel:`后一年`,nextMonthLabel:`下个月`,clearLabel:`清除`},Calendar:{weekdaysShort:[`日`,`一`,`二`,`三`,`四`,`五`,`六`],prevMonthLabel:`上个月`,nextMonthLabel:`下个月`,todayLabel:`今天`,monthFormat:`YYYY 年 M 月`}},k=Symbol(`ccui-config`);function re(){return(0,t.inject)(k,{prefixCls:`ccui`,componentSize:`middle`,locale:ne,direction:`ltr`,theme:void 0,iconPrefixCls:`ccui-icon`})}var ie=Symbol(`ccuiFormItem`),ae=/^[a-z0-9]+(-[a-z0-9]+)*$/,A=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!j(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!j(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!j(e,n)?null:e}return null},j=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function oe(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}var se=Object.freeze({left:0,top:0,width:16,height:16}),M=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),N=Object.freeze({...se,...M}),P=Object.freeze({...N,body:``,hidden:!1});function ce(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function le(e,t){let n=ce(e,t);for(let r in P)r in M?r in e&&!(r in n)&&(n[r]=M[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function ue(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=le(r[e]||i[e],a)}return o(t),n.forEach(o),le(e,a)}function de(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=oe(e);for(let i in r){let a=r[i];a&&(t(i,ue(e,i,a)),n.push(i))}return n}var fe={provider:``,aliases:{},not_found:{},...se};function F(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function I(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!F(e,fe))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!F(t,P))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!F(t,P))return null}return t}var L=Object.create(null);function pe(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function R(e,t){let n=L[e]||(L[e]=Object.create(null));return n[t]||(n[t]=pe(e,t))}function z(e,t){return I(t)?de(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function B(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var V=!1;function H(e){return typeof e==`boolean`&&(V=e),V}function me(e){let t=typeof e==`string`?A(e,!0,V):e;if(t){let e=R(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function he(e,t){let n=A(e,!0,V);if(!n)return!1;let r=R(n.provider,n.prefix);return t?B(r,n.name,t):(r.missing.add(n.name),!0)}function ge(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),V&&!t&&!e.prefix){let t=!1;return I(e)&&(e.prefix=``,de(e,(e,n)=>{he(e,n)&&(t=!0)})),t}let n=e.prefix;return j({prefix:n,name:`a`})?!!z(R(t,n),e):!1}var _e=Object.freeze({width:null,height:null}),ve=Object.freeze({..._e,...M}),ye=/(-?[0-9.]*[0-9]+[0-9.]*)/g,be=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function xe(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(ye);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=be.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function Se(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function Ce(e,t){return e?`<defs>`+e+`</defs>`+t:t}function we(e,t,n){let r=Se(e);return Ce(r.defs,t+r.content+n)}var Te=e=>e===`unset`||e===`undefined`||e===`none`;function Ee(e,t){let n={...N,...e},r={...ve,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=we(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=xe(d,c/l)):(u=o===`auto`?c:o,d=s===null?xe(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{Te(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var De=/\sid="(\S+)"/g,Oe=new Map;function ke(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=Oe.get(e)||0;return Oe.set(e,t+1),t?`${e}${t}`:e}function Ae(e){let t=[],n;for(;n=De.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=ke(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}var U=Object.create(null);function je(e,t){U[e]=t}function W(e){return U[e]||U[``]}function G(e){let t;if(typeof e.resources==`string`)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||`/`,maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}for(var K=Object.create(null),q=[`https://api.simplesvg.com`,`https://api.unisvg.com`],J=[];q.length>0;)q.length===1||Math.random()>.5?J.push(q.shift()):J.push(q.pop());K[``]=G({resources:[`https://api.iconify.design`].concat(J)});function Me(e,t){let n=G(t);return n===null?!1:(K[e]=n,!0)}function Y(e){return K[e]}var Ne=(()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}})();function Pe(e,t){let n=Y(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function Fe(e){return e===404}var Ie=(e,t,n)=>{let r=[],i=Pe(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r};function Le(e){if(typeof e==`string`){let t=Y(e);if(t)return t.path}return`/`}var Re={prepare:Ie,send:(e,t,n)=>{if(!Ne){n(`abort`,424);return}let r=Le(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;Ne(e+r).then(e=>{let t=e.status;if(t!==200){setTimeout(()=>{n(Fe(t)?`abort`:`next`,t)});return}return i=501,e.json()}).then(e=>{if(typeof e!=`object`||!e){setTimeout(()=>{e===404?n(`abort`,e):n(`next`,i)});return}setTimeout(()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})}};function ze(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function Be(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||ze([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var Ve=0;function He(e,t,n){let r=Ve++,i=ze.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function Ue(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=R(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function We(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?A(e,t,n):e;i&&r.push(i)}),r}var Ge={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Ke(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function b(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`){u=r,v();return}if(i){u=r,f.length||(o.length?x():v());return}if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}function x(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{b(i,e,t)}};f.push(i),l++,d=setTimeout(x,e.rotate),n(r,t,i.callback)}return setTimeout(x),_}function qe(e){let t={...Ge,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=Ke(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function Je(){}var Ye=Object.create(null);function Xe(e){if(!Ye[e]){let t=Y(e);if(!t)return;Ye[e]={config:t,redundancy:qe(t)}}return Ye[e]}function Ze(e,t,n){let r,i;if(typeof e==`string`){let t=W(e);if(!t)return n(void 0,424),Je;i=t.send;let a=Xe(e);a&&(r=a.redundancy)}else{let t=G(e);if(t){r=qe(t);let n=W(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),Je):r.query(t,i,n)().abort}function Qe(){}function $e(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Be(e)}))}function et(e){let t=[],n=[];return e.forEach(e=>{(e.match(ae)?t:n).push(e)}),{valid:t,invalid:n}}function X(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!z(e,n).length){r();return}}catch(e){console.error(e)}r(),$e(e)}function tt(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function nt(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){tt(e.loadIcons(r,n,t),t=>{X(e,r,t)});return}if(i){r.forEach(r=>{tt(i(r,n,t),t=>{X(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=et(r);if(o.length&&X(e,o,null),!a.length)return;let s=n.match(ae)?W(t):null;if(!s){X(e,a,null);return}s.prepare(t,n,a).forEach(n=>{Ze(t,n,t=>{X(e,n.icons,t)})})}))}var rt=(e,t)=>{let n=Ue(We(e,!0,H()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,Qe)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(R(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=R(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&nt(e,t)}),t?He(t,n,i):Qe};function it(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in _e?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var at=/[\s,]+/;function ot(e,t){t.split(at).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0;break}})}function st(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}else if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function ct(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function lt(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function ut(e){return`data:image/svg+xml,`+lt(e)}function dt(e){return`url("`+ut(e)+`")`}var ft={...ve,inline:!1},pt={xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":!0,role:`img`},mt={display:`inline-block`},ht={backgroundColor:`currentColor`},gt={backgroundColor:`transparent`},_t={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},vt={webkitMask:ht,mask:ht,background:gt};for(let e in vt){let t=vt[e];for(let n in _t)t[e+n]=_t[n]}var Z={};[`horizontal`,`vertical`].forEach(e=>{let t=e.slice(0,1)+`Flip`;Z[e+`-flip`]=t,Z[e.slice(0,1)+`-flip`]=t,Z[e+`Flip`]=t});function yt(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var bt=(e,n)=>{let r=it(ft,n),i={...pt},a=n.mode||`svg`,o={},s=n.style,c=typeof s==`object`&&!(s instanceof Array)?s:{};for(let e in n){let t=n[e];if(t!==void 0)switch(e){case`icon`:case`style`:case`onLoad`:case`mode`:case`ssr`:case`customise`:break;case`inline`:case`hFlip`:case`vFlip`:r[e]=t===!0||t===`true`||t===1;break;case`flip`:typeof t==`string`&&ot(r,t);break;case`color`:o.color=t;break;case`rotate`:typeof t==`string`?r[e]=st(t):typeof t==`number`&&(r[e]=t);break;case`ariaHidden`:case`aria-hidden`:t!==!0&&t!==`true`&&delete i[`aria-hidden`];break;default:{let n=Z[e];n?(t===!0||t===`true`||t===1)&&(r[n]=!0):ft[e]===void 0&&(i[e]=t)}}}let l=Ee(e,r),u=l.attributes;if(r.inline&&(o.verticalAlign=`-0.125em`),a===`svg`)return i.style={...o,...c},Object.assign(i,u),i.innerHTML=Ae(l.body),(0,t.h)(`svg`,i);let{body:d,width:f,height:p}=e,m=a===`mask`||(a===`bg`?!1:d.indexOf(`currentColor`)!==-1),h=ct(d,{...u,width:f+``,height:p+``});return i.style={...o,"--svg":dt(h),width:yt(u.width),height:yt(u.height),...mt,...m?ht:gt,...c},(0,t.h)(`span`,i)};if(H(!0),je(``,Re),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!ge(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;Me(e,r)||console.error(n)}catch{console.error(n)}}}}var xt={...N,body:``},St=(0,t.defineComponent)((e,{emit:n})=>{let r=(0,t.ref)(null);function i(){r.value&&=(r.value.abort?.(),null)}let a=(0,t.ref)(!!e.ssr),o=(0,t.ref)(``),s=(0,t.shallowRef)(null);function c(){let a=e.icon;if(typeof a==`object`&&a&&typeof a.body==`string`)return o.value=``,{data:a};let s;if(typeof a!=`string`||(s=A(a,!1,!0))===null)return null;let c=me(s);if(!c){let e=r.value;return(!e||e.name!==a)&&(c===null?r.value={name:a}:r.value={name:a,abort:rt([s],l)}),null}i(),o.value!==a&&(o.value=a,(0,t.nextTick)(()=>{n(`load`,a)}));let u=e.customise;if(u){c=Object.assign({},c);let e=u(c.body,s.name,s.prefix,s.provider);typeof e==`string`&&(c.body=e)}let d=[`iconify`];return s.prefix!==``&&d.push(`iconify--`+s.prefix),s.provider!==``&&d.push(`iconify--`+s.provider),{data:c,classes:d}}function l(){let e=c();e?e.data!==s.value?.data&&(s.value=e):s.value=null}return a.value?l():(0,t.onMounted)(()=>{a.value=!0,l()}),(0,t.watch)(()=>e.icon,l),(0,t.onUnmounted)(i),()=>{let t=s.value;if(!t)return bt(xt,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(` `)}),bt({...N,...t.data},n)}},{props:[`icon`,`mode`,`ssr`,`width`,`height`,`style`,`color`,`inline`,`rotate`,`hFlip`,`horizontalFlip`,`vFlip`,`verticalFlip`,`flip`,`id`,`ariaHidden`,`customise`,`title`],emits:[`load`]}),Ct={prefix:`mdi`,icons:{"alert-circle":{width:24,height:24,body:`<path fill="currentColor" d="M13 13h-2V7h2m0 10h-2v-2h2M12 2A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"/>`},"arrow-up":{width:24,height:24,body:`<path fill="currentColor" d="M13 20h-2V8l-5.5 5.5l-1.42-1.42L12 4.16l7.92 7.92l-1.42 1.42L13 8v12Z"/>`},"calendar-outline":{width:24,height:24,body:`<path fill="currentColor" d="M12 12h5v5h-5v-5m7-9h-1V1h-2v2H8V1H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 2v2H5V5h14M5 19V9h14v10H5Z"/>`},check:{width:24,height:24,body:`<path fill="currentColor" d="M21 7L9 19l-5.5-5.5l1.41-1.41L9 16.17L19.59 5.59L21 7Z"/>`},"check-circle":{width:24,height:24,body:`<path fill="currentColor" d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10s10-4.5 10-10S17.5 2 12 2m-2 15l-5-5l1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9Z"/>`},"chevron-right":{width:24,height:24,body:`<path fill="currentColor" d="M8.59 16.58L13.17 12L8.59 7.41L10 6l6 6l-6 6l-1.41-1.42Z"/>`},"clock-outline":{width:24,height:24,body:`<path fill="currentColor" d="M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7h1.5Z"/>`},close:{width:24,height:24,body:`<path fill="currentColor" d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"/>`},"close-circle":{width:24,height:24,body:`<path fill="currentColor" d="M12 2c5.53 0 10 4.47 10 10s-4.47 10-10 10S2 17.53 2 12S6.47 2 12 2m3.59 5L12 10.59L8.41 7L7 8.41L10.59 12L7 15.59L8.41 17L12 13.41L15.59 17L17 15.59L13.41 12L17 8.41L15.59 7Z"/>`},"content-copy":{width:24,height:24,body:`<path fill="currentColor" d="M19 21H8V7h11m0-2H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m-3-4H4a2 2 0 0 0-2 2v14h2V3h12V1Z"/>`},loading:{width:24,height:24,body:`<path fill="currentColor" d="M12 4V2A10 10 0 0 0 2 12h2a8 8 0 0 1 8-8Z"/>`},magnify:{width:24,height:24,body:`<path fill="currentColor" d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5Z"/>`},"menu-down":{width:24,height:24,body:`<path fill="currentColor" d="m7 10l5 5l5-5H7Z"/>`},"menu-right":{width:24,height:24,body:`<path fill="currentColor" d="m10 17l5-5l-5-5v10Z"/>`}}},wt=!1;function Tt(){wt||=(ge(Ct),!0)}Tt();function Et(e){return e.includes(`:`)}function Dt(e){return e?typeof e==`string`?Et(e)?(0,t.h)(St,{icon:e}):(0,t.h)(`i`,{class:e}):e:null}var Ot=l(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),kt=l(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(e,(function(){"use strict";var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))})),At=l(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_quarterOfYear=r()})(e,(function(){"use strict";var e=`month`,t=`quarter`;return function(n,r){var i=r.prototype;i.quarter=function(e){return this.$utils().u(e)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(e-1))};var a=i.add;i.add=function(n,r){return n=Number(n),this.$utils().p(r)===t?this.add(3*n,e):a.bind(this)(n,r)};var o=i.startOf;i.startOf=function(n,r){var i=this.$utils(),a=!!i.u(r)||r;if(i.p(n)===t){var s=this.quarter()-1;return a?this.month(3*s).startOf(e).startOf(`day`):this.month(3*s+2).endOf(e).endOf(`day`)}return o.bind(this)(n,r)}}}))})),jt=p(Ot(),1),Mt=p(kt(),1),Nt=p(At(),1);D.default.extend(Mt.default),D.default.extend(Nt.default),D.default.extend(jt.default);function Q(e,t){if(e==null||e===``)return null;if(typeof e==`string`&&t){let n=(0,D.default)(e,t,!0);return n.isValid()?n:null}let n=(0,D.default)(e);return n.isValid()?n:null}function Pt(e,t,n){return e===null?null:t===`date`?e.toDate():t===`number`?e.valueOf():e.format(n)}function Ft(e,t){return!e||!t?e===t:e.year()===t.year()&&e.month()===t.month()&&e.date()===t.date()}function It(e){return Ft(e,(0,D.default)())}function Lt(e,t,n){let r=t>0?t:1,i=n?new Set(n):null,a=[];for(let t=0;t<e;t+=r)a.push({value:t,disabled:i?i.has(t):!1});return a}function Rt(e,t=0){let n=e.startOf(`month`),r=(n.day()-t+7)%7,i=n.subtract(r,`day`),a=[];for(let t=0;t<42;t+=1){let n=i.add(t,`day`);a.push({date:n,day:n.date(),isCurrentMonth:n.month()===e.month()&&n.year()===e.year(),isToday:It(n)})}return a}var zt={modelValue:{type:Array,default:void 0},format:{type:String,default:`YYYY-MM-DD`},valueFormat:{type:String,default:`string`},placeholder:{type:Array,default:()=>[``,``]},separator:{type:String,default:`~`},disabled:{type:[Boolean,Array],default:!1},allowEmpty:{type:[Boolean,Array],default:!1},clearable:{type:Boolean,default:!0},clearIcon:{type:[String,Object],default:void 0},suffixIcon:{type:[String,Object],default:void 0},size:{type:String,default:`default`},status:{type:String,default:``},disabledDate:{type:Function,default:void 0},disabledStartDate:{type:Function,default:void 0},disabledEndDate:{type:Function,default:void 0},placement:{type:String,default:`bottomLeft`},popupClassName:{type:String,default:``},popupAppendToBody:{type:Boolean,default:!1},getPopupContainer:{type:Function,default:void 0},autoFocus:{type:Boolean,default:!1},inputReadOnly:{type:Boolean,default:!0},transitionName:{type:String,default:`ccui-range-picker-fade`},weekStart:{type:Number,default:0},presets:{type:Array,default:()=>[]},showTime:{type:[Boolean,Object],default:!1},showNow:{type:Boolean,default:!0},variant:{type:String,default:`outlined`},classNames:{type:Object,default:void 0},styles:{type:Object,default:void 0}},Bt={bottomLeft:`bottom-start`,bottomRight:`bottom-end`,topLeft:`top-start`,topRight:`top-end`},Vt=[`日`,`一`,`二`,`三`,`四`,`五`,`六`],Ht=`YYYY 年 M 月`,Ut=[`开始日期`,`结束日期`];function Wt(e,t,n,r){return!e&&!t?null:[Pt(e,n,r),Pt(t,n,r)]}function Gt(e){return e===!0||e===!1||e==null?{}:e}function Kt(e){return String(e).padStart(2,`0`)}function qt(e,t){return t?e.hour(t.hour()).minute(t.minute()).second(t.second()).millisecond(0):e.hour(0).minute(0).second(0).millisecond(0)}var $=(0,t.defineComponent)({name:`CRangePicker`,props:zt,emits:[`update:modelValue`,`change`,`open-change`,`focus`,`blur`],setup(e,{emit:r,slots:i}){let a=te(`range-picker`),o=re(),s=(0,t.computed)(()=>o.locale?.DatePicker??{}),c=(0,t.ref)(null),l=(0,t.ref)(null),u=(0,t.ref)(null),d=(0,t.ref)(null),f=(0,t.shallowRef)(!1),p=(0,t.shallowRef)(`start`),m=(0,t.inject)(ie,null),h=(0,t.computed)(()=>!!e.showTime),g=(0,t.computed)(()=>Gt(e.showTime)),_=(0,t.computed)(()=>h.value?g.value.format||`HH:mm:ss`:``),v=(0,t.computed)(()=>/m/.test(_.value)),y=(0,t.computed)(()=>/s/.test(_.value)),b=(0,t.computed)(()=>h.value?/[HhmsAa]/.test(e.format)?e.format:`YYYY-MM-DD ${_.value}`:e.format),x=(0,t.computed)(()=>{let t=e.modelValue;return!t||!Array.isArray(t)?null:Q(t[0],b.value)}),S=(0,t.computed)(()=>{let t=e.modelValue;return!t||!Array.isArray(t)?null:Q(t[1],b.value)}),C=(0,t.shallowRef)(x.value),w=(0,t.shallowRef)(S.value),T=(0,t.shallowRef)(null);function E(){C.value=x.value,w.value=S.value}(0,t.watch)([x,S],()=>{E()});let O=(0,t.shallowRef)(x.value??(0,D.default)()),ne=(0,t.computed)(()=>Bt[e.placement]),k=(0,t.computed)(()=>typeof document>`u`?null:e.getPopupContainer?e.getPopupContainer(c.value):e.popupAppendToBody?document.body:null),ae=(0,t.computed)(()=>k.value!==null),{floatingStyles:A}=ee(c,l,{placement:ne,open:f,whileElementsMounted:n.autoUpdate,middleware:[(0,n.offset)(4),(0,n.flip)(),(0,n.shift)({padding:8})],strategy:(0,t.computed)(()=>ae.value?`fixed`:`absolute`)}),j=(0,t.computed)(()=>m?.validateStatus.value??``),oe=(0,t.computed)(()=>e.status||j.value),se=(0,t.computed)(()=>{let e=f.value?C.value:x.value;return e?e.format(b.value):``}),M=(0,t.computed)(()=>{let e=f.value?w.value:S.value;return e?e.format(b.value):``}),N=(0,t.computed)(()=>O.value),P=(0,t.computed)(()=>O.value.add(1,`month`)),ce=(0,t.computed)(()=>Rt(N.value,e.weekStart)),le=(0,t.computed)(()=>Rt(P.value,e.weekStart)),ue=(0,t.computed)(()=>{let t=s.value.weekdaysShort??Vt;return e.weekStart===1?[...t.slice(1),t[0]]:t}),de=(0,t.computed)(()=>s.value.panelLabelFormat||Ht),fe=(0,t.computed)(()=>{let t=s.value.rangePlaceholder??Ut;return[e.placeholder[0]||t[0],e.placeholder[1]||t[1]]}),F=(0,t.computed)(()=>{let t=e.disabled;return Array.isArray(t)&&t.length===2?[!!t[0],!!t[1]]:[!!t,!!t]}),I=(0,t.computed)(()=>{let t=e.allowEmpty;return Array.isArray(t)&&t.length===2?[!!t[0],!!t[1]]:[!!t,!!t]}),L=(0,t.computed)(()=>F.value[0]&&F.value[1]),pe=(0,t.computed)(()=>F.value[0]||F.value[1]);function R(e=`start`){L.value||f.value||F.value[e===`start`?0:1]||(E(),T.value=null,p.value=e,x.value&&(O.value=x.value),f.value=!0,r(`open-change`,!0))}function z(){f.value&&(f.value=!1,T.value=null,r(`open-change`,!1))}function B(t,n){let i=Wt(t,n,e.valueFormat,b.value);r(`update:modelValue`,i),r(`change`,i,[t?t.format(b.value):``,n?n.format(b.value):``]),m?.validate(`change`)}function V(t,n){let r=n===`start`?e.disabledStartDate:e.disabledEndDate;return r?r(t):!!e.disabledDate?.(t)}function H(){return Q(g.value.defaultStartTime)||(0,D.default)().hour(0).minute(0).second(0).millisecond(0)}function me(){return Q(g.value.defaultEndTime)||(0,D.default)().hour(23).minute(59).second(59).millisecond(0)}function he(e){if(V(e,p.value))return;if(p.value===`start`){C.value=h.value?qt(e,C.value??H()):e,h.value||(w.value=null),p.value=`end`;return}let t=h.value?qt(e,w.value??me()):e,n=C.value,r=t;n&&r.isBefore(n,`day`)&&([n,r]=[r,n]),C.value=n,w.value=r,!h.value&&(B(n,r),z())}function ge(e){p.value===`end`&&C.value&&(T.value=e)}function _e(){}function ve(){O.value=O.value.subtract(1,`month`)}function ye(){O.value=O.value.add(1,`month`)}function be(){O.value=O.value.subtract(1,`year`)}function xe(){O.value=O.value.add(1,`year`)}function Se(e){e.stopPropagation(),!(!x.value&&!S.value)&&(C.value=null,w.value=null,B(null,null))}function Ce(e){let[t,n]=typeof e.value==`function`?e.value():e.value,r=Q(t),i=Q(n);if(!r||!i)return;let[a,o]=r.isAfter(i,`day`)?[i,r]:[r,i];C.value=a,w.value=o,!h.value&&(B(a,o),z())}function we(e,t,n){if(e===`start`){let e=C.value??qt((0,D.default)(),H());C.value=t===`hour`?e.hour(n):t===`minute`?e.minute(n):e.second(n)}else{let e=w.value??qt((0,D.default)(),me());w.value=t===`hour`?e.hour(n):t===`minute`?e.minute(n):e.second(n)}}function Te(){let e=!C.value,t=!w.value;if(e&&!I.value[0]||t&&!I.value[1])return;let n=C.value,r=w.value;n&&r&&r.isBefore(n,`minute`)&&([n,r]=[r,n]),B(n,r),z()}function Ee(e){if(!f.value)return;let t=e.target;t&&(c.value?.contains(t)||l.value?.contains(t)||z())}(0,t.onMounted)(()=>{document.addEventListener(`mousedown`,Ee,!0),e.autoFocus&&(0,t.nextTick)(()=>u.value?.focus())}),(0,t.onUnmounted)(()=>{document.removeEventListener(`mousedown`,Ee,!0)});let De=(0,t.computed)(()=>e.clearable&&!L.value&&(!!x.value||!!S.value));function Oe(e){return C.value&&w.value?e.isAfter(C.value,`day`)&&e.isBefore(w.value,`day`):!1}function ke(e){if(p.value!==`end`||!C.value||!T.value)return!1;let t=C.value,n=T.value,r=n.isBefore(t,`day`)?n:t,i=n.isBefore(t,`day`)?t:n;return e.isAfter(r,`day`)&&e.isBefore(i,`day`)}function Ae(e){return!!C.value&&Ft(e,C.value)}function U(e){return!!w.value&&Ft(e,w.value)}function je(e){let n=e===`left`?N.value:P.value,r=e===`left`,i=e===`right`;return(0,t.createVNode)(`div`,{class:a.e(`panel-header`)},[r?(0,t.createVNode)(t.Fragment,null,[(0,t.createVNode)(`button`,{type:`button`,class:[a.e(`arrow`),a.em(`arrow`,`prev-year`)],"aria-label":s.value.prevYearLabel||`前一年`,onClick:be},[(0,t.createTextVNode)(`«`)]),(0,t.createVNode)(`button`,{type:`button`,class:[a.e(`arrow`),a.em(`arrow`,`prev-month`)],"aria-label":s.value.prevMonthLabel||`上个月`,onClick:ve},[(0,t.createTextVNode)(`‹`)])]):(0,t.createVNode)(`span`,{class:a.e(`arrow-placeholder`),"aria-hidden":`true`},null),(0,t.createVNode)(`span`,{class:a.e(`panel-label`)},[n.format(de.value)]),i?(0,t.createVNode)(t.Fragment,null,[(0,t.createVNode)(`button`,{type:`button`,class:[a.e(`arrow`),a.em(`arrow`,`next-month`)],"aria-label":s.value.nextMonthLabel||`下个月`,onClick:ye},[(0,t.createTextVNode)(`›`)]),(0,t.createVNode)(`button`,{type:`button`,class:[a.e(`arrow`),a.em(`arrow`,`next-year`)],"aria-label":s.value.nextYearLabel||`后一年`,onClick:xe},[(0,t.createTextVNode)(`»`)])]):(0,t.createVNode)(`span`,{class:a.e(`arrow-placeholder`),"aria-hidden":`true`},null)])}function W(){return(0,t.createVNode)(`div`,{class:a.e(`week-row`)},[ue.value.map(e=>(0,t.createVNode)(`div`,{class:a.e(`week-cell`)},[e]))])}function G(e){return(0,t.createVNode)(`div`,{class:a.e(`grid`)},[e.map(e=>{let n=V(e.date,p.value),r=Ae(e.date),i=U(e.date),o=Oe(e.date),s=ke(e.date);return(0,t.createVNode)(`div`,{class:[a.e(`cell`),!e.isCurrentMonth&&a.em(`cell`,`outside`),e.isToday&&a.em(`cell`,`today`),r&&a.em(`cell`,`range-start`),i&&a.em(`cell`,`range-end`),o&&a.em(`cell`,`in-range`),s&&a.em(`cell`,`in-hover-range`),n&&a.em(`cell`,`disabled`)],role:`gridcell`,"aria-disabled":n,onClick:()=>!n&&he(e.date),onMouseenter:()=>ge(e.date),onMouseleave:_e},[(0,t.createVNode)(`span`,{class:a.e(`cell-inner`)},[e.day])])})])}function K(){return(0,t.createVNode)(`ul`,{class:a.e(`presets`)},[e.presets.map(e=>{let n=typeof e.label==`function`?e.label():e.label;return(0,t.createVNode)(`li`,{class:a.e(`preset-item`),role:`button`,onClick:()=>Ce(e)},[n])})])}function q(e,n){let r=g.value,i=Lt(n===`hour`?24:60,n===`hour`?r.hourStep??1:n===`minute`?r.minuteStep??1:r.secondStep??1,n===`hour`?r.disabledHours?.():n===`minute`?r.disabledMinutes?.():r.disabledSeconds?.());r.hideDisabledOptions&&(i=i.filter(e=>!e.disabled));let o=e===`start`?C.value:w.value,s=o?n===`hour`?o.hour():n===`minute`?o.minute():o.second():-1;return(0,t.createVNode)(`div`,{class:[a.e(`time-column`),a.em(`time-column`,n)],role:`listbox`},[i.map(r=>{let i=r.value===s;return(0,t.createVNode)(`div`,{class:[a.e(`time-cell`),i&&a.em(`time-cell`,`selected`),r.disabled&&a.em(`time-cell`,`disabled`)],role:`option`,"aria-selected":i,"aria-disabled":r.disabled,onClick:()=>!r.disabled&&we(e,n,r.value)},[Kt(r.value)])})])}function J(e){return(0,t.createVNode)(`div`,{class:[a.e(`time-columns`),a.em(`time-columns`,e)]},[q(e,`hour`),v.value&&q(e,`minute`),y.value&&q(e,`second`)])}function Me(){let e=!C.value||!w.value;return(0,t.createVNode)(`div`,{class:a.e(`footer`)},[(0,t.createVNode)(`button`,{type:`button`,class:[a.e(`footer-btn`),a.em(`footer-btn`,`ok`)],disabled:e,onClick:Te},[s.value.ok||`确定`])])}function Y(){let n=e.presets.length>0,r=[a.e(`panel`),n&&a.em(`panel`,`with-presets`),h.value&&a.em(`panel`,`with-time`),e.popupClassName].filter(Boolean),i=(0,t.createVNode)(`div`,{class:a.e(`panels`)},[(0,t.createVNode)(`div`,{class:[a.e(`panel-side`),a.em(`panel-side`,`left`)]},[je(`left`),W(),G(ce.value),h.value&&J(`start`)]),(0,t.createVNode)(`div`,{class:[a.e(`panel-side`),a.em(`panel-side`,`right`)]},[je(`right`),W(),G(le.value),h.value&&J(`end`)])]),o=n?(0,t.h)(`div`,{class:a.e(`main-row`)},[K(),i]):i,s=h.value?[o,Me()]:[o];return(0,t.h)(`div`,{ref:l,class:[r,e.classNames?.popup],style:[A.value,e.styles?.popup],role:`dialog`},s)}function Ne(){let n=f.value?Y():null,r=(0,t.h)(t.Transition,{name:e.transitionName,appear:!0},{default:()=>n});return ae.value&&k.value?(0,t.h)(t.Teleport,{to:k.value},[r]):r}let Pe=(0,t.computed)(()=>[a.b(),pe.value&&a.is(`disabled`),f.value&&a.is(`open`),a.m(e.size),oe.value&&a.m(`status-${oe.value}`),e.variant&&a.m(`variant-${e.variant}`)]);return()=>(0,t.createVNode)(`div`,{ref:c,class:[Pe.value,e.classNames?.root],style:e.styles?.root},[(0,t.createVNode)(`div`,{class:[a.e(`input-wrap`),e.classNames?.input],style:e.styles?.input},[(0,t.createVNode)(`input`,{ref:u,class:[a.e(`input`),a.em(`input`,`start`)],type:`text`,readonly:e.inputReadOnly,disabled:F.value[0],placeholder:fe.value[0],value:se.value,"aria-haspopup":`dialog`,"aria-expanded":f.value&&p.value===`start`,onClick:()=>R(`start`),onFocus:()=>r(`focus`),onBlur:()=>{r(`blur`),m?.validate(`blur`)}},null),(0,t.createVNode)(`span`,{class:a.e(`separator`),"aria-hidden":`true`},[e.separator]),(0,t.createVNode)(`input`,{ref:d,class:[a.e(`input`),a.em(`input`,`end`)],type:`text`,readonly:e.inputReadOnly,disabled:F.value[1],placeholder:fe.value[1],value:M.value,"aria-haspopup":`dialog`,"aria-expanded":f.value&&p.value===`end`,onClick:()=>R(`end`),onFocus:()=>r(`focus`),onBlur:()=>{r(`blur`),m?.validate(`blur`)}},null),De.value?(0,t.createVNode)(`span`,{class:a.e(`clear`),role:`button`,"aria-label":s.value.clearLabel||`清除`,onClick:Se},[i.clearIcon?i.clearIcon():Dt(e.clearIcon)??`×`]):(0,t.createVNode)(`span`,{class:a.e(`suffix`),"aria-hidden":`true`},[i.suffixIcon?i.suffixIcon():Dt(e.suffixIcon)??Dt(`mdi:calendar-outline`)])]),Ne()])}});$.install=function(e){e.component($.name,$)},e.RangePicker=$,e.default={title:`RangePicker 日期范围`,category:`数据录入`,status:`80%`,install(e){e.component($.name,$)}}});
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import type { Dayjs } from 'dayjs';
|
|
2
|
+
import type { ExtractPropTypes, PropType, VNode } from 'vue';
|
|
3
|
+
import type { CcSemanticClasses, CcSemanticStyles } from '../../shared/hooks/use-semantic';
|
|
4
|
+
import type { DateValue } from '../../shared/utils/date';
|
|
5
|
+
export type RangePickerSize = 'large' | 'default' | 'small';
|
|
6
|
+
export type RangePickerStatus = '' | 'error' | 'warning' | 'success' | 'validating';
|
|
7
|
+
export type RangePickerPlacement = 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
|
|
8
|
+
export type RangeSide = 'start' | 'end';
|
|
9
|
+
export type DisabledDate = (current: Dayjs) => boolean;
|
|
10
|
+
export type DisabledDateOf = (current: Dayjs, side: RangeSide) => boolean;
|
|
11
|
+
export type GetPopupContainer = (triggerNode: HTMLElement | null) => HTMLElement | null;
|
|
12
|
+
export type DateOutputFormat = 'string' | 'date' | 'number';
|
|
13
|
+
export type RangeValue = [DateValue, DateValue] | null;
|
|
14
|
+
export interface RangePresetItem {
|
|
15
|
+
label: string | (() => string);
|
|
16
|
+
value: [DateValue, DateValue] | (() => [DateValue, DateValue]);
|
|
17
|
+
}
|
|
18
|
+
export interface RangeTimeShowConfig {
|
|
19
|
+
format?: string;
|
|
20
|
+
/** 起始侧默认时间,未指定 → 00:00:00。 */
|
|
21
|
+
defaultStartTime?: DateValue;
|
|
22
|
+
/** 结束侧默认时间,未指定 → 23:59:59。 */
|
|
23
|
+
defaultEndTime?: DateValue;
|
|
24
|
+
hourStep?: number;
|
|
25
|
+
minuteStep?: number;
|
|
26
|
+
secondStep?: number;
|
|
27
|
+
disabledHours?: () => number[];
|
|
28
|
+
disabledMinutes?: () => number[];
|
|
29
|
+
disabledSeconds?: () => number[];
|
|
30
|
+
hideDisabledOptions?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export declare const RANGE_DEFAULT_TIME_FORMAT = "HH:mm:ss";
|
|
33
|
+
export declare const rangePickerProps: {
|
|
34
|
+
readonly modelValue: {
|
|
35
|
+
readonly type: PropType<RangeValue>;
|
|
36
|
+
readonly default: undefined;
|
|
37
|
+
};
|
|
38
|
+
readonly format: {
|
|
39
|
+
readonly type: StringConstructor;
|
|
40
|
+
readonly default: "YYYY-MM-DD";
|
|
41
|
+
};
|
|
42
|
+
readonly valueFormat: {
|
|
43
|
+
readonly type: PropType<DateOutputFormat>;
|
|
44
|
+
readonly default: "string";
|
|
45
|
+
};
|
|
46
|
+
readonly placeholder: {
|
|
47
|
+
readonly type: PropType<[string, string]>;
|
|
48
|
+
readonly default: () => string[];
|
|
49
|
+
};
|
|
50
|
+
readonly separator: {
|
|
51
|
+
readonly type: StringConstructor;
|
|
52
|
+
readonly default: "~";
|
|
53
|
+
};
|
|
54
|
+
readonly disabled: {
|
|
55
|
+
readonly type: PropType<boolean | [boolean, boolean]>;
|
|
56
|
+
readonly default: false;
|
|
57
|
+
};
|
|
58
|
+
readonly allowEmpty: {
|
|
59
|
+
readonly type: PropType<boolean | [boolean, boolean]>;
|
|
60
|
+
readonly default: false;
|
|
61
|
+
};
|
|
62
|
+
readonly clearable: {
|
|
63
|
+
readonly type: BooleanConstructor;
|
|
64
|
+
readonly default: true;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* 自定义清除图标。接 string(Iconify name / CSS class)或 VNode;
|
|
68
|
+
* 同名 `clearIcon` slot 优先级最高。
|
|
69
|
+
*/
|
|
70
|
+
readonly clearIcon: {
|
|
71
|
+
readonly type: PropType<string | VNode>;
|
|
72
|
+
readonly default: undefined;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* 自定义日历图标。接 string(Iconify name / CSS class)或 VNode;
|
|
76
|
+
* 同名 `suffixIcon` slot 优先级最高。
|
|
77
|
+
*/
|
|
78
|
+
readonly suffixIcon: {
|
|
79
|
+
readonly type: PropType<string | VNode>;
|
|
80
|
+
readonly default: undefined;
|
|
81
|
+
};
|
|
82
|
+
readonly size: {
|
|
83
|
+
readonly type: PropType<RangePickerSize>;
|
|
84
|
+
readonly default: "default";
|
|
85
|
+
};
|
|
86
|
+
readonly status: {
|
|
87
|
+
readonly type: PropType<RangePickerStatus>;
|
|
88
|
+
readonly default: "";
|
|
89
|
+
};
|
|
90
|
+
readonly disabledDate: {
|
|
91
|
+
readonly type: PropType<DisabledDate>;
|
|
92
|
+
readonly default: undefined;
|
|
93
|
+
};
|
|
94
|
+
readonly disabledStartDate: {
|
|
95
|
+
readonly type: PropType<DisabledDate>;
|
|
96
|
+
readonly default: undefined;
|
|
97
|
+
};
|
|
98
|
+
readonly disabledEndDate: {
|
|
99
|
+
readonly type: PropType<DisabledDate>;
|
|
100
|
+
readonly default: undefined;
|
|
101
|
+
};
|
|
102
|
+
readonly placement: {
|
|
103
|
+
readonly type: PropType<RangePickerPlacement>;
|
|
104
|
+
readonly default: "bottomLeft";
|
|
105
|
+
};
|
|
106
|
+
readonly popupClassName: {
|
|
107
|
+
readonly type: StringConstructor;
|
|
108
|
+
readonly default: "";
|
|
109
|
+
};
|
|
110
|
+
readonly popupAppendToBody: {
|
|
111
|
+
readonly type: BooleanConstructor;
|
|
112
|
+
readonly default: false;
|
|
113
|
+
};
|
|
114
|
+
readonly getPopupContainer: {
|
|
115
|
+
readonly type: PropType<GetPopupContainer>;
|
|
116
|
+
readonly default: undefined;
|
|
117
|
+
};
|
|
118
|
+
readonly autoFocus: {
|
|
119
|
+
readonly type: BooleanConstructor;
|
|
120
|
+
readonly default: false;
|
|
121
|
+
};
|
|
122
|
+
readonly inputReadOnly: {
|
|
123
|
+
readonly type: BooleanConstructor;
|
|
124
|
+
readonly default: true;
|
|
125
|
+
};
|
|
126
|
+
readonly transitionName: {
|
|
127
|
+
readonly type: StringConstructor;
|
|
128
|
+
readonly default: "ccui-range-picker-fade";
|
|
129
|
+
};
|
|
130
|
+
readonly weekStart: {
|
|
131
|
+
readonly type: PropType<0 | 1>;
|
|
132
|
+
readonly default: 0;
|
|
133
|
+
};
|
|
134
|
+
readonly presets: {
|
|
135
|
+
readonly type: PropType<RangePresetItem[]>;
|
|
136
|
+
readonly default: () => never[];
|
|
137
|
+
};
|
|
138
|
+
readonly showTime: {
|
|
139
|
+
readonly type: PropType<boolean | RangeTimeShowConfig>;
|
|
140
|
+
readonly default: false;
|
|
141
|
+
};
|
|
142
|
+
readonly showNow: {
|
|
143
|
+
readonly type: BooleanConstructor;
|
|
144
|
+
readonly default: true;
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* 录入组件统一 variant 形态。
|
|
148
|
+
*/
|
|
149
|
+
readonly variant: {
|
|
150
|
+
readonly type: PropType<RangePickerVariant>;
|
|
151
|
+
readonly default: "outlined";
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* 语义化 DOM className 注入。可用 key:`root` / `input` / `popup`。
|
|
155
|
+
*/
|
|
156
|
+
readonly classNames: {
|
|
157
|
+
readonly type: PropType<CcSemanticClasses>;
|
|
158
|
+
readonly default: undefined;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* 语义化 DOM style 注入。可用 key 与 classNames 一致。
|
|
162
|
+
*/
|
|
163
|
+
readonly styles: {
|
|
164
|
+
readonly type: PropType<CcSemanticStyles>;
|
|
165
|
+
readonly default: undefined;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
export type RangePickerProps = ExtractPropTypes<typeof rangePickerProps>;
|
|
169
|
+
export type RangePickerVariant = 'outlined' | 'filled' | 'borderless' | 'underlined';
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { DateOutputFormat, RangePickerPlacement, RangePresetItem, RangeTimeShowConfig, RangeValue } from './range-picker-types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
readonly size: import("./range-picker-types").RangePickerSize;
|
|
5
|
+
readonly separator: string;
|
|
6
|
+
readonly disabled: boolean | [boolean, boolean];
|
|
7
|
+
readonly placeholder: [string, string];
|
|
8
|
+
readonly status: import("./range-picker-types").RangePickerStatus;
|
|
9
|
+
readonly placement: RangePickerPlacement;
|
|
10
|
+
readonly popupClassName: string;
|
|
11
|
+
readonly popupAppendToBody: boolean;
|
|
12
|
+
readonly transitionName: string;
|
|
13
|
+
readonly variant: import("./range-picker-types").RangePickerVariant;
|
|
14
|
+
readonly format: string;
|
|
15
|
+
readonly valueFormat: DateOutputFormat;
|
|
16
|
+
readonly clearable: boolean;
|
|
17
|
+
readonly autoFocus: boolean;
|
|
18
|
+
readonly inputReadOnly: boolean;
|
|
19
|
+
readonly presets: RangePresetItem[];
|
|
20
|
+
readonly weekStart: 0 | 1;
|
|
21
|
+
readonly showTime: boolean | RangeTimeShowConfig;
|
|
22
|
+
readonly showNow: boolean;
|
|
23
|
+
readonly allowEmpty: boolean | [boolean, boolean];
|
|
24
|
+
readonly classNames?: import("../../shared/hooks/use-semantic").CcSemanticClasses | undefined;
|
|
25
|
+
readonly styles?: import("../../shared/hooks/use-semantic").CcSemanticStyles | undefined;
|
|
26
|
+
readonly modelValue?: RangeValue | undefined;
|
|
27
|
+
readonly clearIcon?: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}> | undefined;
|
|
30
|
+
readonly getPopupContainer?: import("./range-picker-types").GetPopupContainer | undefined;
|
|
31
|
+
readonly suffixIcon?: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}> | undefined;
|
|
34
|
+
readonly disabledDate?: import("./range-picker-types").DisabledDate | undefined;
|
|
35
|
+
readonly disabledStartDate?: import("./range-picker-types").DisabledDate | undefined;
|
|
36
|
+
readonly disabledEndDate?: import("./range-picker-types").DisabledDate | undefined;
|
|
37
|
+
}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "blur" | "focus" | "update:modelValue" | "open-change")[], "change" | "blur" | "focus" | "update:modelValue" | "open-change", import("vue").PublicProps, Readonly<{
|
|
38
|
+
readonly size: import("./range-picker-types").RangePickerSize;
|
|
39
|
+
readonly separator: string;
|
|
40
|
+
readonly disabled: boolean | [boolean, boolean];
|
|
41
|
+
readonly placeholder: [string, string];
|
|
42
|
+
readonly status: import("./range-picker-types").RangePickerStatus;
|
|
43
|
+
readonly placement: RangePickerPlacement;
|
|
44
|
+
readonly popupClassName: string;
|
|
45
|
+
readonly popupAppendToBody: boolean;
|
|
46
|
+
readonly transitionName: string;
|
|
47
|
+
readonly variant: import("./range-picker-types").RangePickerVariant;
|
|
48
|
+
readonly format: string;
|
|
49
|
+
readonly valueFormat: DateOutputFormat;
|
|
50
|
+
readonly clearable: boolean;
|
|
51
|
+
readonly autoFocus: boolean;
|
|
52
|
+
readonly inputReadOnly: boolean;
|
|
53
|
+
readonly presets: RangePresetItem[];
|
|
54
|
+
readonly weekStart: 0 | 1;
|
|
55
|
+
readonly showTime: boolean | RangeTimeShowConfig;
|
|
56
|
+
readonly showNow: boolean;
|
|
57
|
+
readonly allowEmpty: boolean | [boolean, boolean];
|
|
58
|
+
readonly classNames?: import("../../shared/hooks/use-semantic").CcSemanticClasses | undefined;
|
|
59
|
+
readonly styles?: import("../../shared/hooks/use-semantic").CcSemanticStyles | undefined;
|
|
60
|
+
readonly modelValue?: RangeValue | undefined;
|
|
61
|
+
readonly clearIcon?: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
}> | undefined;
|
|
64
|
+
readonly getPopupContainer?: import("./range-picker-types").GetPopupContainer | undefined;
|
|
65
|
+
readonly suffixIcon?: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
}> | undefined;
|
|
68
|
+
readonly disabledDate?: import("./range-picker-types").DisabledDate | undefined;
|
|
69
|
+
readonly disabledStartDate?: import("./range-picker-types").DisabledDate | undefined;
|
|
70
|
+
readonly disabledEndDate?: import("./range-picker-types").DisabledDate | undefined;
|
|
71
|
+
}> & Readonly<{
|
|
72
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
74
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
75
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
"onOpen-change"?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
}>, {
|
|
78
|
+
readonly size: import("./range-picker-types").RangePickerSize;
|
|
79
|
+
readonly separator: string;
|
|
80
|
+
readonly disabled: boolean | [boolean, boolean];
|
|
81
|
+
readonly classNames: import("../../shared/hooks/use-semantic").CcSemanticClasses;
|
|
82
|
+
readonly styles: import("../../shared/hooks/use-semantic").CcSemanticStyles;
|
|
83
|
+
readonly modelValue: RangeValue;
|
|
84
|
+
readonly placeholder: [string, string];
|
|
85
|
+
readonly clearIcon: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
}>;
|
|
88
|
+
readonly status: import("./range-picker-types").RangePickerStatus;
|
|
89
|
+
readonly placement: RangePickerPlacement;
|
|
90
|
+
readonly popupClassName: string;
|
|
91
|
+
readonly popupAppendToBody: boolean;
|
|
92
|
+
readonly getPopupContainer: import("./range-picker-types").GetPopupContainer;
|
|
93
|
+
readonly transitionName: string;
|
|
94
|
+
readonly variant: import("./range-picker-types").RangePickerVariant;
|
|
95
|
+
readonly format: string;
|
|
96
|
+
readonly valueFormat: DateOutputFormat;
|
|
97
|
+
readonly clearable: boolean;
|
|
98
|
+
readonly autoFocus: boolean;
|
|
99
|
+
readonly inputReadOnly: boolean;
|
|
100
|
+
readonly suffixIcon: string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
101
|
+
[key: string]: any;
|
|
102
|
+
}>;
|
|
103
|
+
readonly presets: RangePresetItem[];
|
|
104
|
+
readonly disabledDate: import("./range-picker-types").DisabledDate;
|
|
105
|
+
readonly weekStart: 0 | 1;
|
|
106
|
+
readonly showTime: boolean | RangeTimeShowConfig;
|
|
107
|
+
readonly showNow: boolean;
|
|
108
|
+
readonly allowEmpty: boolean | [boolean, boolean];
|
|
109
|
+
readonly disabledStartDate: import("./range-picker-types").DisabledDate;
|
|
110
|
+
readonly disabledEndDate: import("./range-picker-types").DisabledDate;
|
|
111
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
:root{--ccui-global-bg:#f5f5f5;--ccui-global-bg-normal:#fff;--ccui-base-bg:#fff;--ccui-base-bg-dark:#000000d9;--ccui-brand:#1677ff;--ccui-brand-foil:#e6f4ff;--ccui-brand-hover:#4096ff;--ccui-brand-active:#0958d9;--ccui-brand-active-focus:#003eb3;--ccui-contrast:#ff4d4f;--ccui-text:#000000e0;--ccui-text-weak:#000000a6;--ccui-aide-text:#00000073;--ccui-aide-text-stress:#000000a6;--ccui-placeholder:#00000040;--ccui-light-text:#fff;--ccui-dark-text:#000000e0;--ccui-link:#1677ff;--ccui-link-active:#0958d9;--ccui-link-light:#4096ff;--ccui-link-light-active:#69b1ff;--ccui-line:#d9d9d9;--ccui-dividing-line:#f0f0f0;--ccui-block:#fff;--ccui-area:#fafafa;--ccui-danger:#ff4d4f;--ccui-warning:#faad14;--ccui-waiting:#00000073;--ccui-success:#52c41a;--ccui-info:#1677ff;--ccui-initial:#e6f4ff;--ccui-unavailable:#f5f5f5;--ccui-shadow:#00000026;--ccui-light-shadow:#0000000f;--ccui-icon-text:#000000e0;--ccui-icon-bg:#fff;--ccui-icon-fill:#00000073;--ccui-icon-fill-hover:#000000a6;--ccui-icon-fill-active:#1677ff;--ccui-icon-fill-active-hover:#4096ff;--ccui-form-control-line:#d9d9d9;--ccui-form-control-line-hover:#4096ff;--ccui-form-control-line-active:#1677ff;--ccui-form-control-line-active-hover:#0958d9;--ccui-list-item-active-bg:#1677ff;--ccui-list-item-active-text:#fff;--ccui-list-item-active-hover-bg:#4096ff;--ccui-list-item-hover-bg:#0000000a;--ccui-list-item-hover-text:#1677ff;--ccui-list-item-selected-bg:#e6f4ff;--ccui-list-item-strip-bg:#fafafa;--ccui-disabled-bg:#0000000a;--ccui-disabled-line:#d9d9d9;--ccui-disabled-text:#00000040;--ccui-primary-disabled:#91caff;--ccui-icon-fill-active-disabled:#91caff;--ccui-label-bg:#fafafa;--ccui-connected-overlay-bg:#fff;--ccui-connected-overlay-line:#1677ff;--ccui-fullscreen-overlay-bg:#fff;--ccui-feedback-overlay-bg:#000000d9;--ccui-feedback-overlay-text:#fff;--ccui-embed-search-bg:#fafafa;--ccui-embed-search-bg-hover:#f0f0f0;--ccui-float-block-shadow:#1677ff29;--ccui-highlight-overlay:#fffc;--ccui-range-item-hover-bg:#e6f4ff;--ccui-primary:#1677ff;--ccui-primary-hover:#4096ff;--ccui-primary-active:#0958d9;--ccui-contrast-hover:#ff7875;--ccui-contrast-active:#d9363e;--ccui-secondary:#000000a6;--ccui-danger-line:#ffccc7;--ccui-danger-bg:#fff2f0;--ccui-warning-line:#ffe58f;--ccui-warning-bg:#fffbe6;--ccui-info-line:#91caff;--ccui-info-bg:#e6f4ff;--ccui-success-line:#b7eb8f;--ccui-success-bg:#f6ffed;--ccui-primary-line:#91caff;--ccui-primary-bg:#e6f4ff;--ccui-default-line:#d9d9d9;--ccui-default-bg:#fff;--ccui-font-size:14px;--ccui-font-size-card-title:16px;--ccui-font-size-page-title:20px;--ccui-font-size-modal-title:16px;--ccui-font-size-price:24px;--ccui-font-size-data-overview:30px;--ccui-font-size-icon:16px;--ccui-font-size-sm:12px;--ccui-font-size-md:14px;--ccui-font-size-lg:16px;--ccui-font-title-weight:600;--ccui-font-content-weight:400;--ccui-line-height-base:1.57143;--ccui-border-radius:6px;--ccui-border-radius-feedback:8px;--ccui-border-radius-card:8px;--ccui-shadow-length-base:0 1px 2px 0;--ccui-shadow-length-slide-left:-6px 0 16px 0;--ccui-shadow-length-slide-right:6px 0 16px 0;--ccui-shadow-length-connected-overlay:0 6px 16px 0;--ccui-shadow-length-hover:0 6px 16px 0;--ccui-shadow-length-feedback-overlay:0 6px 16px 0;--ccui-shadow-fullscreen-overlay:0 6px 16px 0;--ccui-animation-duration-slow:.3s;--ccui-animation-duration-base:.2s;--ccui-animation-duration-fast:.1s;--ccui-animation-ease-in:cubic-bezier(.7, 0, .84, 0);--ccui-animation-ease-out:cubic-bezier(.215, .61, .355, 1);--ccui-animation-ease-in-out:cubic-bezier(.78, .14, .15, .86);--ccui-animation-ease-in-smooth:cubic-bezier(.645, .045, .355, 1);--ccui-animation-linear:cubic-bezier(0, 0, 1, 1);--ccui-z-index-full-page-overlay:1080;--ccui-z-index-pop-up:1060;--ccui-z-index-dropdown:1052;--ccui-z-index-modal:1050;--ccui-z-index-drawer:1040;--ccui-z-index-framework:1000;--ccui-size-sm:24px;--ccui-size-md:32px;--ccui-size-lg:40px;--ccui-color-primary:#1677ff;--ccui-color-primary-hover:#4096ff;--ccui-color-primary-active:#0958d9;--ccui-color-primary-bg:#e6f4ff;--ccui-color-primary-bg-hover:#bae0ff;--ccui-color-primary-border:#91caff;--ccui-color-primary-border-hover:#69b1ff;--ccui-color-success:#52c41a;--ccui-color-success-hover:#73d13d;--ccui-color-success-active:#389e0d;--ccui-color-success-bg:#f6ffed;--ccui-color-success-border:#b7eb8f;--ccui-color-warning:#faad14;--ccui-color-warning-hover:#ffc53d;--ccui-color-warning-active:#d48806;--ccui-color-warning-bg:#fffbe6;--ccui-color-warning-border:#ffe58f;--ccui-color-error:#ff4d4f;--ccui-color-error-hover:#ff7875;--ccui-color-error-active:#d9363e;--ccui-color-error-bg:#fff2f0;--ccui-color-error-border:#ffccc7;--ccui-color-info:#1677ff;--ccui-color-info-hover:#4096ff;--ccui-color-info-bg:#e6f4ff;--ccui-color-info-border:#91caff;--ccui-color-text:#000000e0;--ccui-color-text-secondary:#000000a6;--ccui-color-text-tertiary:#00000073;--ccui-color-text-quaternary:#00000040;--ccui-color-text-disabled:#00000040;--ccui-color-text-placeholder:#00000040;--ccui-color-text-heading:#000000e0;--ccui-color-text-light-solid:#fff;--ccui-color-bg-base:#fff;--ccui-color-bg-container:#fff;--ccui-color-bg-elevated:#fff;--ccui-color-bg-layout:#f5f5f5;--ccui-color-bg-spotlight:#000000d9;--ccui-color-bg-mask:#00000073;--ccui-color-bg-text-hover:#0000000f;--ccui-color-bg-text-active:#00000026;--ccui-color-border:#d9d9d9;--ccui-color-border-secondary:#f0f0f0;--ccui-color-border-disabled:#0000000a;--ccui-color-split:#0505050f;--ccui-color-fill:#00000026;--ccui-color-fill-secondary:#0000000f;--ccui-color-fill-tertiary:#0000000a;--ccui-color-fill-quaternary:#00000005;--ccui-control-outline:#0591ff1a;--ccui-control-outline-error:#ff26050f;--ccui-control-outline-warning:#ffd7051a;--ccui-red-1:#fff1f0;--ccui-red-2:#ffccc7;--ccui-red-3:#ffa39e;--ccui-red-4:#ff7875;--ccui-red-5:#ff4d4f;--ccui-red-6:#f5222d;--ccui-red-7:#cf1322;--ccui-red-8:#a8071a;--ccui-red-9:#820014;--ccui-red-10:#5c0011;--ccui-volcano-1:#fff2e8;--ccui-volcano-2:#ffd8bf;--ccui-volcano-3:#ffbb96;--ccui-volcano-4:#ff9c6e;--ccui-volcano-5:#ff7a45;--ccui-volcano-6:#fa541c;--ccui-volcano-7:#d4380d;--ccui-volcano-8:#ad2102;--ccui-volcano-9:#871400;--ccui-volcano-10:#610b00;--ccui-orange-1:#fff7e6;--ccui-orange-2:#ffe7ba;--ccui-orange-3:#ffd591;--ccui-orange-4:#ffc069;--ccui-orange-5:#ffa940;--ccui-orange-6:#fa8c16;--ccui-orange-7:#d46b08;--ccui-orange-8:#ad4e00;--ccui-orange-9:#873800;--ccui-orange-10:#612500;--ccui-gold-1:#fffbe6;--ccui-gold-2:#fff1b8;--ccui-gold-3:#ffe58f;--ccui-gold-4:#ffd666;--ccui-gold-5:#ffc53d;--ccui-gold-6:#faad14;--ccui-gold-7:#d48806;--ccui-gold-8:#ad6800;--ccui-gold-9:#874d00;--ccui-gold-10:#613400;--ccui-yellow-1:#feffe6;--ccui-yellow-2:#ffffb8;--ccui-yellow-3:#fffb8f;--ccui-yellow-4:#fff566;--ccui-yellow-5:#ffec3d;--ccui-yellow-6:#fadb14;--ccui-yellow-7:#d4b106;--ccui-yellow-8:#ad8b00;--ccui-yellow-9:#876800;--ccui-yellow-10:#614700;--ccui-lime-1:#fcffe6;--ccui-lime-2:#f4ffb8;--ccui-lime-3:#eaff8f;--ccui-lime-4:#d3f261;--ccui-lime-5:#bae637;--ccui-lime-6:#a0d911;--ccui-lime-7:#7cb305;--ccui-lime-8:#5b8c00;--ccui-lime-9:#3f6600;--ccui-lime-10:#254000;--ccui-green-1:#f6ffed;--ccui-green-2:#d9f7be;--ccui-green-3:#b7eb8f;--ccui-green-4:#95de64;--ccui-green-5:#73d13d;--ccui-green-6:#52c41a;--ccui-green-7:#389e0d;--ccui-green-8:#237804;--ccui-green-9:#135200;--ccui-green-10:#092b00;--ccui-cyan-1:#e6fffb;--ccui-cyan-2:#b5f5ec;--ccui-cyan-3:#87e8de;--ccui-cyan-4:#5cdbd3;--ccui-cyan-5:#36cfc9;--ccui-cyan-6:#13c2c2;--ccui-cyan-7:#08979c;--ccui-cyan-8:#006d75;--ccui-cyan-9:#00474f;--ccui-cyan-10:#002329;--ccui-blue-1:#e6f4ff;--ccui-blue-2:#bae0ff;--ccui-blue-3:#91caff;--ccui-blue-4:#69b1ff;--ccui-blue-5:#4096ff;--ccui-blue-6:#1677ff;--ccui-blue-7:#0958d9;--ccui-blue-8:#003eb3;--ccui-blue-9:#002c8c;--ccui-blue-10:#001d66;--ccui-geekblue-1:#f0f5ff;--ccui-geekblue-2:#d6e4ff;--ccui-geekblue-3:#adc6ff;--ccui-geekblue-4:#85a5ff;--ccui-geekblue-5:#597ef7;--ccui-geekblue-6:#2f54eb;--ccui-geekblue-7:#1d39c4;--ccui-geekblue-8:#10239e;--ccui-geekblue-9:#061178;--ccui-geekblue-10:#030852;--ccui-purple-1:#f9f0ff;--ccui-purple-2:#efdbff;--ccui-purple-3:#d3adf7;--ccui-purple-4:#b37feb;--ccui-purple-5:#9254de;--ccui-purple-6:#722ed1;--ccui-purple-7:#531dab;--ccui-purple-8:#391085;--ccui-purple-9:#22075e;--ccui-purple-10:#120338;--ccui-magenta-1:#fff0f6;--ccui-magenta-2:#ffd6e7;--ccui-magenta-3:#ffadd2;--ccui-magenta-4:#ff85c0;--ccui-magenta-5:#f759ab;--ccui-magenta-6:#eb2f96;--ccui-magenta-7:#c41d7f;--ccui-magenta-8:#9e1068;--ccui-magenta-9:#780650;--ccui-magenta-10:#520339;--ccui-pink-1:#fff0f6;--ccui-pink-6:#eb2f96;--ccui-border-radius-lg:8px;--ccui-border-radius-sm:4px;--ccui-border-radius-xs:2px;--ccui-border-radius-outer:4px;--ccui-font-size-xl:20px;--ccui-font-size-heading-1:38px;--ccui-font-size-heading-2:30px;--ccui-font-size-heading-3:24px;--ccui-font-size-heading-4:20px;--ccui-font-size-heading-5:16px;--ccui-line-height-lg:1.5;--ccui-line-height-sm:1.66;--ccui-line-height-heading-1:1.21052;--ccui-line-height-heading-2:1.26666;--ccui-line-height-heading-3:1.33333;--ccui-line-height-heading-4:1.4;--ccui-line-height-heading-5:1.5;--ccui-font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--ccui-font-family-code:SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;--ccui-control-height:32px;--ccui-control-height-sm:24px;--ccui-control-height-lg:40px;--ccui-control-height-xs:16px;--ccui-box-shadow:0 6px 16px 0 #00000014, 0 3px 6px -4px #0000001f, 0 9px 28px 8px #0000000d;--ccui-box-shadow-secondary:0 6px 16px 0 #00000014, 0 3px 6px -4px #0000001f, 0 9px 28px 8px #0000000d;--ccui-box-shadow-tertiary:0 1px 2px 0 #00000008, 0 1px 6px -1px #00000005, 0 2px 4px 0 #00000005;--ccui-motion-duration-slow:.3s;--ccui-motion-duration-mid:.2s;--ccui-motion-duration-fast:.1s;--ccui-motion-ease-in-out:cubic-bezier(.645, .045, .355, 1);--ccui-motion-ease-out:cubic-bezier(.215, .61, .355, 1);--ccui-motion-ease-in:cubic-bezier(.55, .055, .675, .19);--ccui-motion-ease-out-back:cubic-bezier(.12, .4, .29, 1.46);--ccui-motion-ease-in-back:cubic-bezier(.71, -.46, .88, .6);--ccui-motion-ease-out-circ:cubic-bezier(.08, .82, .17, 1);--ccui-motion-ease-in-out-circ:cubic-bezier(.78, .14, .15, .86);--ccui-padding-xxs:4px;--ccui-padding-xs:8px;--ccui-padding-sm:12px;--ccui-padding:16px;--ccui-padding-md:20px;--ccui-padding-lg:24px;--ccui-padding-xl:32px;--ccui-margin-xxs:4px;--ccui-margin-xs:8px;--ccui-margin-sm:12px;--ccui-margin:16px;--ccui-margin-md:20px;--ccui-margin-lg:24px;--ccui-margin-xl:32px}.ccui-range-picker{color:var(--ccui-text,#000000e0);font-size:var(--ccui-font-size,14px);vertical-align:middle;display:inline-block;position:relative}.ccui-range-picker.is-disabled{cursor:not-allowed}.ccui-range-picker--variant-filled .ccui-range-picker__input-wrap{background-color:var(--ccui-color-fill-secondary,#0000000f);border-color:#0000}.ccui-range-picker--variant-filled .ccui-range-picker__input-wrap:hover{background-color:var(--ccui-color-fill,#00000026);border-color:#0000}.ccui-range-picker--variant-borderless .ccui-range-picker__input-wrap{background-color:#0000;border-color:#0000}.ccui-range-picker--variant-borderless .ccui-range-picker__input-wrap:hover{border-color:#0000}.ccui-range-picker--variant-underlined .ccui-range-picker__input-wrap{border-color:#0000;border-bottom-color:var(--ccui-color-border,#d9d9d9);background-color:#0000;border-radius:0}.ccui-range-picker--variant-underlined .ccui-range-picker__input-wrap:hover{border-color:#0000;border-bottom-color:var(--ccui-color-primary-hover,#4096ff)}.ccui-range-picker--small .ccui-range-picker__input-wrap{min-height:24px;padding:0 8px}.ccui-range-picker--large .ccui-range-picker__input-wrap{min-height:40px;padding:0 12px}.ccui-range-picker--status-error .ccui-range-picker__input-wrap{border-color:var(--ccui-color-error,#ff4d4f)}.ccui-range-picker--status-warning .ccui-range-picker__input-wrap{border-color:var(--ccui-color-warning,#faad14)}.ccui-range-picker__input-wrap{box-sizing:border-box;border:1px solid var(--ccui-color-border,#d9d9d9);border-radius:var(--ccui-border-radius,6px);background-color:var(--ccui-color-bg-container,#fff);cursor:pointer;align-items:center;min-height:32px;padding:0 11px;transition:border-color .2s;display:flex}.ccui-range-picker__input-wrap:hover{border-color:var(--ccui-primary,#1677ff)}.ccui-range-picker.is-disabled .ccui-range-picker__input-wrap{background-color:var(--ccui-disabled-bg,#0000000a);border-color:var(--ccui-color-border,#d9d9d9);cursor:not-allowed}.ccui-range-picker.is-disabled .ccui-range-picker__input-wrap:hover{border-color:var(--ccui-color-border,#d9d9d9)}.ccui-range-picker.is-open .ccui-range-picker__input-wrap{border-color:var(--ccui-primary,#1677ff)}.ccui-range-picker__input{width:110px;color:inherit;font-size:inherit;cursor:inherit;text-align:center;background:0 0;border:none;outline:none;padding:0}.ccui-range-picker__input::placeholder{color:var(--ccui-color-text-placeholder,#00000040)}.ccui-range-picker__input:disabled{cursor:not-allowed}.ccui-range-picker__separator{color:var(--ccui-color-text-tertiary,#00000073);margin:0 4px}.ccui-range-picker__suffix,.ccui-range-picker__clear{color:var(--ccui-color-text-tertiary,#00000073);font-size:var(--ccui-font-size-sm,12px);justify-content:center;align-items:center;margin-left:auto;padding-left:4px;display:inline-flex}.ccui-range-picker__clear{cursor:pointer;border-radius:50%;width:16px;height:16px}.ccui-range-picker__clear:hover{background-color:var(--ccui-color-fill-tertiary,#0000000a);color:var(--ccui-text,#000000e0)}.ccui-range-picker__panel{z-index:1050;background-color:var(--ccui-color-bg-elevated,#fff);border-radius:var(--ccui-border-radius,6px);box-shadow:var(--ccui-box-shadow-secondary,0 6px 16px 0 #00000014, 0 3px 6px -4px #0000001f, 0 9px 28px 8px #0000000d);box-sizing:border-box;padding:8px;position:absolute}.ccui-range-picker__main-row{align-items:stretch;gap:8px;display:flex}.ccui-range-picker__presets{border-right:1px solid var(--ccui-color-border-secondary,#f0f0f0);width:110px;max-height:320px;margin:0;padding:4px 0;list-style:none;overflow-y:auto}.ccui-range-picker__preset-item{cursor:pointer;border-radius:var(--ccui-border-radius,6px);font-size:var(--ccui-font-size-sm,12px);color:var(--ccui-text,#000000e0);padding:4px 8px;transition:background-color .2s}.ccui-range-picker__preset-item:hover{background-color:var(--ccui-color-fill-tertiary,#0000000a);color:var(--ccui-primary,#1677ff)}.ccui-range-picker__panels{gap:12px;display:flex}.ccui-range-picker__panel-side{width:280px}.ccui-range-picker__panel-side--left{border-right:1px solid var(--ccui-color-border-secondary,#f0f0f0);padding-right:12px}.ccui-range-picker__panel-header{border-bottom:1px solid var(--ccui-color-border-secondary,#f0f0f0);justify-content:space-between;align-items:center;padding:4px 8px 8px;display:flex}.ccui-range-picker__panel-label{text-align:center;flex:1;font-weight:500}.ccui-range-picker__arrow,.ccui-range-picker__arrow-placeholder{justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.ccui-range-picker__arrow{color:var(--ccui-color-text-tertiary,#00000073);cursor:pointer;border-radius:var(--ccui-border-radius,6px);background:0 0;border:none;padding:0;font-size:14px}.ccui-range-picker__arrow:hover{background-color:var(--ccui-color-fill-tertiary,#0000000a);color:var(--ccui-text,#000000e0)}.ccui-range-picker__week-row,.ccui-range-picker__grid{grid-template-columns:repeat(7,1fr);display:grid}.ccui-range-picker__week-row{color:var(--ccui-color-text-tertiary,#00000073);font-size:var(--ccui-font-size-sm,12px);text-align:center;padding:8px 0 4px}.ccui-range-picker__week-cell{padding:4px 0}.ccui-range-picker__cell{cursor:pointer;height:32px;color:var(--ccui-text,#000000e0);justify-content:center;align-items:center;display:flex}.ccui-range-picker__cell--outside{color:var(--ccui-color-text-disabled,#00000040)}.ccui-range-picker__cell--disabled{cursor:not-allowed;color:var(--ccui-color-text-disabled,#00000040);background-color:var(--ccui-color-fill-quaternary,#00000005)}.ccui-range-picker__cell-inner{border-radius:var(--ccui-border-radius,6px);justify-content:center;align-items:center;width:24px;height:24px;transition:background-color .2s;display:inline-flex}.ccui-range-picker__cell:not(.ccui-range-picker__cell--disabled):hover .ccui-range-picker__cell-inner{background-color:var(--ccui-color-fill-tertiary,#0000000a)}.ccui-range-picker__cell--today .ccui-range-picker__cell-inner{border:1px solid var(--ccui-primary,#1677ff)}.ccui-range-picker__cell--in-range,.ccui-range-picker__cell--in-hover-range{background-color:rgba(var(--ccui-primary,#1677ff), .12)}.ccui-range-picker__cell--range-start .ccui-range-picker__cell-inner,.ccui-range-picker__cell--range-end .ccui-range-picker__cell-inner{background-color:var(--ccui-primary,#1677ff);color:#fff}.ccui-range-picker__cell--range-start,.ccui-range-picker__cell--range-end{background-color:rgba(var(--ccui-primary,#1677ff), .12)}.ccui-range-picker__time-columns{border-top:1px solid var(--ccui-color-border-secondary,#f0f0f0);margin-top:8px;padding-top:8px;display:flex}.ccui-range-picker__time-column{flex-direction:column;width:56px;max-height:160px;list-style:none;display:flex;overflow-y:auto}.ccui-range-picker__time-column+.ccui-range-picker__time-column{border-left:1px dashed var(--ccui-color-border-secondary,#f0f0f0)}.ccui-range-picker__time-cell{cursor:pointer;border-radius:var(--ccui-border-radius,6px);flex:0 0 28px;justify-content:center;align-items:center;height:28px;transition:background-color .2s;display:flex}.ccui-range-picker__time-cell:hover{background-color:var(--ccui-color-fill-tertiary,#0000000a)}.ccui-range-picker__time-cell--selected{background-color:var(--ccui-color-fill-secondary,#0000000f);font-weight:500}.ccui-range-picker__time-cell--disabled{cursor:not-allowed;color:var(--ccui-color-text-disabled,#00000040)}.ccui-range-picker__time-cell--disabled:hover{background-color:#0000}.ccui-range-picker__footer{border-top:1px solid var(--ccui-color-border-secondary,#f0f0f0);justify-content:flex-end;gap:8px;margin-top:8px;padding-top:8px;display:flex}.ccui-range-picker__footer-btn{border-radius:var(--ccui-border-radius,6px);background:var(--ccui-primary,#1677ff);color:#fff;font-size:var(--ccui-font-size-sm,12px);cursor:pointer;border:1px solid #0000;padding:4px 10px;transition:background-color .2s}.ccui-range-picker__footer-btn:disabled{cursor:not-allowed;opacity:.5}.ccui-range-picker-fade-enter-active,.ccui-range-picker-fade-leave-active{transition:opacity .18s,transform .18s}.ccui-range-picker-fade-enter-from,.ccui-range-picker-fade-leave-to{opacity:0;transform:translateY(-4px)}
|
|
2
|
+
/*$vite$:1*/
|
package/rate/index.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export type OnChangeType = (value: number) => void;
|
|
3
|
+
export type OnTouchedType = () => void;
|
|
4
|
+
export declare const rateProps: {
|
|
5
|
+
readonly modelValue: {
|
|
6
|
+
readonly type: NumberConstructor;
|
|
7
|
+
readonly default: 0;
|
|
8
|
+
};
|
|
9
|
+
readonly readOnly: {
|
|
10
|
+
readonly type: BooleanConstructor;
|
|
11
|
+
readonly default: false;
|
|
12
|
+
};
|
|
13
|
+
readonly count: {
|
|
14
|
+
readonly type: NumberConstructor;
|
|
15
|
+
readonly default: 5;
|
|
16
|
+
};
|
|
17
|
+
readonly color: {
|
|
18
|
+
readonly type: StringConstructor;
|
|
19
|
+
readonly default: "";
|
|
20
|
+
};
|
|
21
|
+
readonly allowHalf: {
|
|
22
|
+
readonly type: BooleanConstructor;
|
|
23
|
+
readonly default: false;
|
|
24
|
+
};
|
|
25
|
+
readonly onChange: {
|
|
26
|
+
readonly type: PropType<OnChangeType>;
|
|
27
|
+
readonly default: undefined;
|
|
28
|
+
};
|
|
29
|
+
readonly onTouched: {
|
|
30
|
+
readonly type: PropType<OnTouchedType>;
|
|
31
|
+
readonly default: undefined;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export type RateProps = ExtractPropTypes<typeof rateProps>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
readonly color: string;
|
|
4
|
+
readonly modelValue: number;
|
|
5
|
+
readonly count: number;
|
|
6
|
+
readonly readOnly: boolean;
|
|
7
|
+
readonly allowHalf: boolean;
|
|
8
|
+
readonly onChange?: import("./rate-types").OnChangeType | undefined;
|
|
9
|
+
readonly onTouched?: import("./rate-types").OnTouchedType | undefined;
|
|
10
|
+
}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<{
|
|
11
|
+
readonly color: string;
|
|
12
|
+
readonly modelValue: number;
|
|
13
|
+
readonly count: number;
|
|
14
|
+
readonly readOnly: boolean;
|
|
15
|
+
readonly allowHalf: boolean;
|
|
16
|
+
readonly onChange?: import("./rate-types").OnChangeType | undefined;
|
|
17
|
+
readonly onTouched?: import("./rate-types").OnTouchedType | undefined;
|
|
18
|
+
}> & Readonly<{
|
|
19
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
readonly onChange: import("./rate-types").OnChangeType;
|
|
23
|
+
readonly color: string;
|
|
24
|
+
readonly modelValue: number;
|
|
25
|
+
readonly count: number;
|
|
26
|
+
readonly readOnly: boolean;
|
|
27
|
+
readonly allowHalf: boolean;
|
|
28
|
+
readonly onTouched: import("./rate-types").OnTouchedType;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export type ResultStatus = 'success' | 'error' | 'info' | 'warning' | '404' | '403' | '500';
|
|
3
|
+
export declare const resultProps: {
|
|
4
|
+
readonly status: {
|
|
5
|
+
readonly type: PropType<ResultStatus>;
|
|
6
|
+
readonly default: "info";
|
|
7
|
+
};
|
|
8
|
+
readonly title: {
|
|
9
|
+
readonly type: StringConstructor;
|
|
10
|
+
readonly default: "";
|
|
11
|
+
};
|
|
12
|
+
readonly subTitle: {
|
|
13
|
+
readonly type: StringConstructor;
|
|
14
|
+
readonly default: "";
|
|
15
|
+
};
|
|
16
|
+
readonly icon: {
|
|
17
|
+
readonly type: StringConstructor;
|
|
18
|
+
readonly default: "";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export type ResultProps = ExtractPropTypes<typeof resultProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
readonly title: string;
|
|
4
|
+
readonly icon: string;
|
|
5
|
+
readonly status: import("./result-types").ResultStatus;
|
|
6
|
+
readonly subTitle: string;
|
|
7
|
+
}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
8
|
+
readonly title: string;
|
|
9
|
+
readonly icon: string;
|
|
10
|
+
readonly status: import("./result-types").ResultStatus;
|
|
11
|
+
readonly subTitle: string;
|
|
12
|
+
}> & Readonly<{}>, {
|
|
13
|
+
readonly title: string;
|
|
14
|
+
readonly icon: string;
|
|
15
|
+
readonly status: import("./result-types").ResultStatus;
|
|
16
|
+
readonly subTitle: string;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export interface SegmentedOption {
|
|
3
|
+
label?: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
icon?: string;
|
|
7
|
+
}
|
|
8
|
+
export type SegmentedSize = 'small' | 'middle' | 'large';
|
|
9
|
+
export declare const segmentedProps: {
|
|
10
|
+
readonly modelValue: {
|
|
11
|
+
readonly type: PropType<string | number>;
|
|
12
|
+
readonly default: "";
|
|
13
|
+
};
|
|
14
|
+
readonly options: {
|
|
15
|
+
readonly type: PropType<(SegmentedOption | string | number)[]>;
|
|
16
|
+
readonly default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
readonly block: {
|
|
19
|
+
readonly type: BooleanConstructor;
|
|
20
|
+
readonly default: false;
|
|
21
|
+
};
|
|
22
|
+
readonly disabled: {
|
|
23
|
+
readonly type: BooleanConstructor;
|
|
24
|
+
readonly default: false;
|
|
25
|
+
};
|
|
26
|
+
readonly size: {
|
|
27
|
+
readonly type: PropType<SegmentedSize>;
|
|
28
|
+
readonly default: "middle";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export type SegmentedProps = ExtractPropTypes<typeof segmentedProps>;
|
|
32
|
+
export declare function normalizeOptions(opts: (SegmentedOption | string | number)[]): SegmentedOption[];
|