kui-vue 6.2.2 → 6.3.1
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/ai/kui-components.json +1016 -457
- package/dist/index.js +2 -2
- package/es/index.js +6225 -4909
- package/es/locale/de.js +6 -2
- package/es/locale/el.js +6 -2
- package/es/locale/en.js +6 -2
- package/es/locale/fr.js +6 -2
- package/es/locale/it.js +6 -2
- package/es/locale/ja.js +6 -2
- package/es/locale/ko.js +6 -2
- package/es/locale/ru.js +6 -2
- package/es/locale/th.js +6 -2
- package/es/locale/uk.js +6 -2
- package/es/locale/vi.js +6 -2
- package/es/locale/zh-CN.js +6 -2
- package/es/locale/zh-TW.js +6 -2
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +2 -2
- package/lib/locale/el.cjs +2 -2
- package/lib/locale/en.cjs +2 -2
- package/lib/locale/fr.cjs +2 -2
- package/lib/locale/it.cjs +2 -2
- package/lib/locale/ja.cjs +2 -2
- package/lib/locale/ko.cjs +2 -2
- package/lib/locale/ru.cjs +2 -2
- package/lib/locale/th.cjs +2 -2
- package/lib/locale/uk.cjs +2 -2
- package/lib/locale/vi.cjs +2 -2
- package/lib/locale/zh-CN.cjs +2 -2
- package/lib/locale/zh-TW.cjs +2 -2
- package/package.json +6 -5
- package/style/base.css +2 -2
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/motion.css +1 -1
- package/style/theme.css +2 -2
- package/types/affix/index.d.cts +42 -0
- package/types/alert/index.d.cts +84 -0
- package/types/alert/index.d.ts +6 -6
- package/types/anchor/anchor-link.d.cts +23 -0
- package/types/anchor/anchor.d.cts +58 -0
- package/types/anchor/anchor.d.ts +1 -1
- package/types/anchor/context.d.cts +8 -0
- package/types/anchor/index.d.cts +5 -0
- package/types/anchor/index.d.ts +4 -4
- package/types/auto-complete/index.d.cts +181 -0
- package/types/auto-complete/index.d.ts +53 -1
- package/types/avatar/avatar-group.d.cts +42 -0
- package/types/avatar/avatar-group.d.ts +1 -1
- package/types/avatar/avatar.d.cts +49 -0
- package/types/avatar/avatar.d.ts +2 -2
- package/types/avatar/context.d.cts +8 -0
- package/types/avatar/index.d.cts +5 -0
- package/types/avatar/index.d.ts +4 -4
- package/types/back-top/index.d.cts +60 -0
- package/types/badge/index.d.cts +45 -0
- package/types/badge/index.d.ts +8 -18
- package/types/base/transition.d.cts +3 -0
- package/types/breadcrumb/breadcrumb-item.d.cts +25 -0
- package/types/breadcrumb/breadcrumb-item.d.ts +1 -1
- package/types/breadcrumb/breadcrumb.d.cts +22 -0
- package/types/breadcrumb/index.d.cts +5 -0
- package/types/breadcrumb/index.d.ts +4 -4
- package/types/button/button-group.d.cts +21 -0
- package/types/button/button-group.d.ts +1 -1
- package/types/button/button.d.cts +38 -0
- package/types/button/button.d.ts +4 -5
- package/types/button/index.d.cts +5 -0
- package/types/button/index.d.ts +4 -4
- package/types/calendar/index.d.cts +93 -0
- package/types/card/card-meta.d.cts +17 -0
- package/types/card/index.d.cts +76 -0
- package/types/card/index.d.ts +8 -8
- package/types/carousel/carousel-item.d.cts +2 -0
- package/types/carousel/carousel.d.cts +116 -0
- package/types/carousel/carousel.d.ts +1 -1
- package/types/carousel/drag.d.cts +19 -0
- package/types/carousel/index.d.cts +4 -0
- package/types/carousel/index.d.ts +3 -3
- package/types/cascader/index.d.cts +151 -0
- package/types/cascader/index.d.ts +30 -21
- package/types/cascader/types.d.cts +76 -0
- package/types/cascader/types.d.ts +7 -2
- package/types/check-card/check-card-group.d.cts +80 -0
- package/types/check-card/check-card-group.d.ts +5 -9
- package/types/check-card/check-card.d.cts +113 -0
- package/types/check-card/check-card.d.ts +6 -10
- package/types/check-card/context.d.cts +20 -0
- package/types/check-card/context.d.ts +3 -3
- package/types/check-card/index.d.cts +7 -0
- package/types/check-card/index.d.ts +5 -5
- package/types/check-card/types.d.cts +22 -0
- package/types/check-card/types.d.ts +3 -4
- package/types/checkbox/checkbox-group.d.cts +87 -0
- package/types/checkbox/checkbox-group.d.ts +6 -6
- package/types/checkbox/checkbox.d.cts +68 -0
- package/types/checkbox/checkbox.d.ts +3 -3
- package/types/checkbox/index.d.cts +7 -0
- package/types/checkbox/index.d.ts +5 -5
- package/types/checkbox/types.d.cts +12 -0
- package/types/collapse/collapse-panel.d.cts +21 -0
- package/types/collapse/collapse-panel.d.ts +1 -1
- package/types/collapse/collapse.d.cts +62 -0
- package/types/collapse/collapse.d.ts +6 -6
- package/types/collapse/context.d.cts +7 -0
- package/types/collapse/index.d.cts +6 -0
- package/types/collapse/index.d.ts +4 -4
- package/types/color-picker/alpha.d.cts +22 -0
- package/types/color-picker/hue.d.cts +21 -0
- package/types/color-picker/index.d.cts +228 -0
- package/types/color-picker/index.d.ts +31 -4
- package/types/color-picker/mode.d.cts +28 -0
- package/types/color-picker/mode.d.ts +2 -2
- package/types/color-picker/paint.d.cts +40 -0
- package/types/color-picker/presets.d.cts +22 -0
- package/types/color-picker/types.d.cts +1 -0
- package/types/components.d.cts +166 -0
- package/types/components.d.ts +166 -166
- package/types/config/context.d.cts +128 -0
- package/types/config/context.d.ts +102 -1
- package/types/config/index.d.cts +38 -0
- package/types/config/index.d.ts +2 -2
- package/types/config/popup-host.d.cts +6 -0
- package/types/config/popup.d.cts +4 -0
- package/types/const/types.d.cts +39 -0
- package/types/const/types.d.ts +12 -2
- package/types/const/var.d.cts +6 -0
- package/types/const/var.d.ts +6 -1
- package/types/date-picker/index.d.cts +334 -0
- package/types/date-picker/index.d.ts +21 -3
- package/types/descriptions/descriptions-item.d.cts +28 -0
- package/types/descriptions/descriptions-item.d.ts +1 -1
- package/types/descriptions/descriptions.d.cts +69 -0
- package/types/descriptions/descriptions.d.ts +1 -1
- package/types/descriptions/index.d.cts +6 -0
- package/types/descriptions/index.d.ts +4 -4
- package/types/directives/outsiteclick.d.cts +2 -0
- package/types/directives/resize.d.cts +3 -0
- package/types/directives/scroll.d.cts +2 -0
- package/types/divider/index.d.cts +42 -0
- package/types/divider/index.d.ts +1 -1
- package/types/drawer/index.d.cts +197 -0
- package/types/drawer/index.d.ts +22 -9
- package/types/dropdown/dropdown-button.d.cts +65 -0
- package/types/dropdown/dropdown-button.d.ts +24 -5
- package/types/dropdown/dropdown-context.d.cts +16 -0
- package/types/dropdown/dropdown-context.d.ts +5 -0
- package/types/dropdown/dropdown.d.cts +80 -0
- package/types/dropdown/dropdown.d.ts +17 -1
- package/types/dropdown/index.d.cts +6 -0
- package/types/dropdown/index.d.ts +4 -4
- package/types/dropdown/trigger.d.cts +13 -0
- package/types/dropdown/trigger.d.ts +4 -4
- package/types/empty/index.d.cts +12 -0
- package/types/feature-card/index.d.cts +101 -0
- package/types/feature-card/index.d.ts +6 -6
- package/types/feedback-panel/feedback-panel.d.cts +64 -0
- package/types/feedback-panel/feedback-panel.d.ts +7 -7
- package/types/feedback-panel/index.d.cts +4 -0
- package/types/feedback-panel/index.d.ts +3 -3
- package/types/flame-wrap/engine.d.cts +83 -0
- package/types/flame-wrap/engine.d.ts +18 -0
- package/types/flame-wrap/index.d.cts +81 -0
- package/types/flame-wrap/index.d.ts +1 -1
- package/types/flex/index.d.cts +44 -0
- package/types/flex/index.d.ts +3 -3
- package/types/flex/types.d.cts +4 -0
- package/types/flex/types.d.ts +1 -1
- package/types/form/context.d.cts +68 -0
- package/types/form/context.d.ts +4 -2
- package/types/form/form-item.d.cts +39 -0
- package/types/form/form-item.d.ts +2 -2
- package/types/form/form.d.cts +87 -0
- package/types/form/form.d.ts +2 -2
- package/types/form/index.d.cts +8 -0
- package/types/form/index.d.ts +6 -6
- package/types/form/types.d.cts +27 -0
- package/types/global.d.cts +516 -0
- package/types/global.d.ts +256 -0
- package/types/grid/grid-item.d.cts +25 -0
- package/types/grid/grid-item.d.ts +1 -1
- package/types/grid/grid.d.cts +44 -0
- package/types/grid/grid.d.ts +2 -2
- package/types/grid/index.d.cts +6 -0
- package/types/grid/index.d.ts +5 -5
- package/types/grid/useBreakpoint.d.cts +9 -0
- package/types/icon/index.d.cts +62 -0
- package/types/icon/index.d.ts +3 -3
- package/types/icon/types.d.cts +4 -0
- package/types/image/context.d.cts +9 -0
- package/types/image/context.d.ts +1 -1
- package/types/image/group.d.cts +11 -0
- package/types/image/image.d.cts +73 -0
- package/types/image/image.d.ts +6 -6
- package/types/image/index.d.cts +6 -0
- package/types/image/index.d.ts +5 -5
- package/types/image/instance.d.cts +17 -0
- package/types/image/instance.d.ts +1 -1
- package/types/image/preview.d.cts +47 -0
- package/types/image/preview.d.ts +1 -1
- package/types/image/utils.d.cts +6 -0
- package/types/index.d.cts +1 -1
- package/types/index.d.ts +1 -1
- package/types/input/index.d.cts +8 -0
- package/types/input/index.d.ts +6 -6
- package/types/input/input-base.d.cts +186 -0
- package/types/input/input-base.d.ts +2 -2
- package/types/input/input-box.d.cts +47 -0
- package/types/input/input-box.d.ts +1 -1
- package/types/input/input-group.d.cts +54 -0
- package/types/input/input-group.d.ts +3 -7
- package/types/input/input.d.cts +114 -0
- package/types/input/input.d.ts +19 -19
- package/types/input/textarea.d.cts +81 -0
- package/types/input/textarea.d.ts +1 -1
- package/types/input-number/index.d.cts +180 -0
- package/types/input-number/index.d.ts +39 -9
- package/types/input-otp/index.d.cts +4 -0
- package/types/input-otp/index.d.ts +3 -3
- package/types/input-otp/input-otp.d.cts +113 -0
- package/types/input-otp/input-otp.d.ts +3 -3
- package/types/input-otp/types.d.cts +1 -0
- package/types/input-tag/index.d.cts +118 -0
- package/types/input-tag/index.d.ts +1 -1
- package/types/kanban/index.d.cts +124 -0
- package/types/kanban/index.d.ts +5 -4
- package/types/layout/index.d.cts +136 -0
- package/types/layout/index.d.ts +1 -1
- package/types/list-panel/index.d.cts +79 -0
- package/types/list-panel/index.d.ts +7 -7
- package/types/loading/index.d.cts +11 -0
- package/types/locale/de.d.cts +4 -0
- package/types/locale/de.d.ts +4 -0
- package/types/locale/el.d.cts +4 -0
- package/types/locale/el.d.ts +4 -0
- package/types/locale/en.d.cts +4 -0
- package/types/locale/en.d.ts +4 -0
- package/types/locale/fr.d.cts +4 -0
- package/types/locale/fr.d.ts +4 -0
- package/types/locale/it.d.cts +4 -0
- package/types/locale/it.d.ts +4 -0
- package/types/locale/ja.d.cts +4 -0
- package/types/locale/ja.d.ts +4 -0
- package/types/locale/ko.d.cts +4 -0
- package/types/locale/ko.d.ts +4 -0
- package/types/locale/ru.d.cts +4 -0
- package/types/locale/ru.d.ts +4 -0
- package/types/locale/th.d.cts +4 -0
- package/types/locale/th.d.ts +4 -0
- package/types/locale/uk.d.cts +4 -0
- package/types/locale/uk.d.ts +4 -0
- package/types/locale/vi.d.cts +4 -0
- package/types/locale/vi.d.ts +4 -0
- package/types/locale/zh-CN.d.cts +4 -0
- package/types/locale/zh-CN.d.ts +4 -0
- package/types/locale/zh-TW.d.cts +4 -0
- package/types/locale/zh-TW.d.ts +4 -0
- package/types/mentions/index.d.cts +167 -0
- package/types/mentions/index.d.ts +17 -1
- package/types/menu/index.d.cts +8 -0
- package/types/menu/index.d.ts +6 -6
- package/types/menu/menu-context.d.cts +23 -0
- package/types/menu/menu-context.d.ts +1 -1
- package/types/menu/menu-divider.d.cts +2 -0
- package/types/menu/menu-group.d.cts +11 -0
- package/types/menu/menu-item.d.cts +23 -0
- package/types/menu/menu-item.d.ts +2 -2
- package/types/menu/menu-keyboard.d.cts +30 -0
- package/types/menu/menu-keyboard.d.ts +23 -0
- package/types/menu/menu.d.cts +99 -0
- package/types/menu/menu.d.ts +3 -3
- package/types/menu/recursive-menu.d.cts +14 -0
- package/types/menu/recursive-menu.d.ts +1 -1
- package/types/menu/sub-menu.d.cts +19 -0
- package/types/menu/sub-menu.d.ts +2 -2
- package/types/menu/types.d.cts +14 -0
- package/types/menu/types.d.ts +1 -1
- package/types/message/index.d.cts +26 -0
- package/types/message/index.d.ts +2 -2
- package/types/modal/index.d.cts +38 -0
- package/types/modal/index.d.ts +11 -5
- package/types/modal/modal.d.cts +178 -0
- package/types/modal/modal.d.ts +29 -6
- package/types/modal/toast.d.cts +37 -0
- package/types/modal/toast.d.ts +7 -7
- package/types/notice/container.d.cts +6 -0
- package/types/notice/content.d.cts +64 -0
- package/types/notice/content.d.ts +3 -3
- package/types/notice/index.d.cts +24 -0
- package/types/notice/index.d.ts +2 -2
- package/types/notice/instance.d.cts +8 -0
- package/types/notice/instance.d.ts +1 -1
- package/types/page/index.d.cts +143 -0
- package/types/page/index.d.ts +5 -5
- package/types/page/responsive.d.cts +1 -0
- package/types/page-header/index.d.cts +14 -0
- package/types/popconfirm/index.d.cts +82 -0
- package/types/popconfirm/index.d.ts +18 -2
- package/types/poptip/index.d.cts +80 -0
- package/types/poptip/index.d.ts +18 -2
- package/types/popup/index.d.cts +251 -0
- package/types/popup/index.d.ts +3 -3
- package/types/popup/layers.d.cts +11 -0
- package/types/popup/layers.d.ts +2 -0
- package/types/popup/types.d.cts +15 -0
- package/types/progress/index.d.cts +123 -0
- package/types/progress/index.d.ts +2 -2
- package/types/qrcode/index.d.cts +195 -0
- package/types/qrcode/index.d.ts +6 -6
- package/types/radio/index.d.cts +9 -0
- package/types/radio/index.d.ts +8 -8
- package/types/radio/radio-button.d.cts +84 -0
- package/types/radio/radio-button.d.ts +6 -6
- package/types/radio/radio-group.d.cts +36 -0
- package/types/radio/radio-group.d.ts +3 -3
- package/types/radio/radio.d.cts +84 -0
- package/types/radio/radio.d.ts +6 -6
- package/types/radio/types.d.cts +12 -0
- package/types/radio/types.d.ts +1 -1
- package/types/rate/index.d.cts +102 -0
- package/types/rate/index.d.ts +2 -2
- package/types/rate/star.d.cts +70 -0
- package/types/rate/star.d.ts +2 -2
- package/types/result/index.d.cts +4 -0
- package/types/result/index.d.ts +3 -3
- package/types/result/result.d.cts +34 -0
- package/types/result/result.d.ts +3 -3
- package/types/ripple/engine.d.cts +66 -0
- package/types/ripple/engine.d.ts +18 -0
- package/types/ripple/index.d.cts +42 -0
- package/types/ripple/index.d.ts +1 -1
- package/types/row-col/col.d.cts +52 -0
- package/types/row-col/index.d.cts +5 -0
- package/types/row-col/index.d.ts +4 -4
- package/types/row-col/row.d.cts +38 -0
- package/types/segmented/index.d.cts +49 -0
- package/types/segmented/index.d.ts +4 -3
- package/types/select/index.d.cts +6 -0
- package/types/select/index.d.ts +5 -5
- package/types/select/option.d.cts +53 -0
- package/types/select/option.d.ts +3 -3
- package/types/select/select.d.cts +81 -0
- package/types/select/select.d.ts +9 -4
- package/types/select/types.d.cts +12 -0
- package/types/skeleton/index.d.cts +11 -0
- package/types/skeleton/index.d.ts +10 -10
- package/types/skeleton/skeleton-avatar.d.cts +27 -0
- package/types/skeleton/skeleton-avatar.d.ts +9 -9
- package/types/skeleton/skeleton-button.d.cts +29 -0
- package/types/skeleton/skeleton-button.d.ts +11 -11
- package/types/skeleton/skeleton-image.d.cts +25 -0
- package/types/skeleton/skeleton-image.d.ts +5 -5
- package/types/skeleton/skeleton-text.d.cts +25 -0
- package/types/skeleton/skeleton-text.d.ts +7 -7
- package/types/skeleton/skeleton.d.cts +53 -0
- package/types/skeleton/skeleton.d.ts +9 -9
- package/types/skeleton/types.d.cts +71 -0
- package/types/skeleton/types.d.ts +1 -1
- package/types/skeleton/use-skeleton-loading.d.cts +2 -0
- package/types/slider/index.d.cts +66 -0
- package/types/slider/index.d.ts +1 -1
- package/types/slider/thumb.d.cts +70 -0
- package/types/slider/thumb.d.ts +1 -1
- package/types/space/index.d.cts +54 -0
- package/types/space/index.d.ts +1 -1
- package/types/spin/index.d.cts +71 -0
- package/types/spin/index.d.ts +1 -1
- package/types/splitter/index.d.cts +4 -0
- package/types/splitter/index.d.ts +2 -2
- package/types/splitter/splitter-panel.d.cts +35 -0
- package/types/splitter/splitter.d.cts +31 -0
- package/types/splitter/splitter.d.ts +1 -1
- package/types/stat-card/countup.d.cts +56 -0
- package/types/stat-card/index.d.cts +6 -0
- package/types/stat-card/index.d.ts +5 -5
- package/types/stat-card/rollup.d.cts +34 -0
- package/types/stat-card/stat-card.d.cts +120 -0
- package/types/stat-card/stat-card.d.ts +26 -8
- package/types/stat-card/stat-number.d.cts +110 -0
- package/types/stat-card/stat-number.d.ts +1 -1
- package/types/stat-card/types.d.cts +15 -0
- package/types/stat-card/utils/countup.d.cts +128 -0
- package/types/stat-card/utils/countup.d.ts +3 -3
- package/types/stat-card/utils/odometer.d.cts +17 -0
- package/types/stat-card/utils/odometer.d.ts +1 -1
- package/types/stat-card/utils/stat-item-key.d.cts +11 -0
- package/types/stat-card/utils/stat-item-key.d.ts +11 -0
- package/types/steps/index.d.cts +86 -0
- package/types/switch/index.d.cts +63 -0
- package/types/switch/index.d.ts +1 -1
- package/types/table/column-setting.d.cts +78 -0
- package/types/table/column-setting.d.ts +2 -2
- package/types/table/index.d.cts +262 -0
- package/types/table/index.d.ts +25 -9
- package/types/table/types.d.cts +39 -0
- package/types/table/types.d.ts +17 -1
- package/types/table/utils.d.cts +89 -0
- package/types/table/utils.d.ts +77 -1
- package/types/tabs/index.d.cts +6 -0
- package/types/tabs/index.d.ts +5 -5
- package/types/tabs/tab-panel.d.cts +22 -0
- package/types/tabs/tab-panel.d.ts +2 -2
- package/types/tabs/tabs.d.cts +51 -0
- package/types/tabs/tabs.d.ts +1 -1
- package/types/tabs/types.d.cts +16 -0
- package/types/tabs/types.d.ts +1 -1
- package/types/tag/index.d.cts +58 -0
- package/types/tag/index.d.ts +6 -6
- package/types/time-line/index.d.cts +6 -0
- package/types/time-line/index.d.ts +5 -5
- package/types/time-line/timeline-item.d.cts +21 -0
- package/types/time-line/timeline-item.d.ts +1 -1
- package/types/time-line/timeline.d.cts +27 -0
- package/types/time-line/timeline.d.ts +2 -2
- package/types/tooltip/index.d.cts +76 -0
- package/types/tooltip/index.d.ts +18 -2
- package/types/tour/index.d.cts +122 -0
- package/types/transfer/index.d.cts +129 -0
- package/types/transfer/index.d.ts +5 -4
- package/types/tree/context.d.cts +6 -0
- package/types/tree/index.d.cts +166 -0
- package/types/tree/index.d.ts +7 -7
- package/types/tree/types.d.cts +27 -0
- package/types/tree/types.d.ts +1 -1
- package/types/tree/utils.d.cts +33 -0
- package/types/tree/utils.d.ts +1 -1
- package/types/tree-select/index.d.cts +96 -0
- package/types/tree-select/index.d.ts +9 -4
- package/types/typography/index.d.cts +316 -0
- package/types/upload/file-list.d.cts +101 -0
- package/types/upload/file-list.d.ts +3 -3
- package/types/upload/index.d.cts +229 -0
- package/types/upload/index.d.ts +4 -4
- package/types/upload/picture-sort.d.cts +2 -0
- package/types/upload/selector.d.cts +82 -0
- package/types/upload/selector.d.ts +4 -4
- package/types/upload/types.d.cts +39 -0
- package/types/upload/types.d.ts +1 -1
- package/types/utils/checked.d.cts +2 -0
- package/types/utils/checked.d.ts +1 -1
- package/types/utils/color.d.cts +14 -0
- package/types/utils/color.d.ts +13 -0
- package/types/utils/css.d.cts +2 -0
- package/types/utils/element.d.cts +17 -0
- package/types/utils/focus.d.cts +5 -0
- package/types/utils/model-value.d.cts +10 -0
- package/types/utils/mouse.d.cts +1 -0
- package/types/utils/number.d.cts +6 -0
- package/types/utils/number.d.ts +1 -1
- package/types/utils/overlay-order.d.cts +6 -0
- package/types/utils/overlay-order.d.ts +6 -0
- package/types/utils/overlay-stack.d.cts +13 -0
- package/types/utils/overlay-stack.d.ts +13 -0
- package/types/utils/placement.d.cts +16 -0
- package/types/utils/popup.d.cts +11 -0
- package/types/utils/promise.d.cts +5 -0
- package/types/utils/promise.d.ts +5 -0
- package/types/utils/selection-tags.d.cts +18 -0
- package/types/utils/selection-tags.d.ts +1 -1
- package/types/utils/share.d.cts +12 -0
- package/types/utils/theme.d.cts +5 -0
- package/types/utils/vnode.d.cts +33 -0
- package/types/utils/vnode.d.ts +25 -0
- package/types/utils/vue.d.cts +17 -0
- package/types/virtual-list/index.d.cts +76 -0
- package/types/virtual-list/index.d.ts +1 -1
- package/types/virtual-list/range.d.cts +15 -0
- package/types/watermark/index.d.cts +188 -0
- package/types/watermark/index.d.ts +3 -3
- package/types/watermark/types.d.cts +11 -0
- package/vetur/attributes.json +533 -229
- package/vetur/tags.json +76 -28
- package/vetur/web-types.json +672 -288
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import type { ForwardedComponent } from "../utils/vue.cjs";
|
|
2
|
+
import { Dayjs } from "dayjs";
|
|
3
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
4
|
+
import type { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from "../const/types.cjs";
|
|
5
|
+
import { type IconType } from "../icon/index.cjs";
|
|
6
|
+
export type DatePickerValueType = "date" | "timestamp" | "unix" | "string";
|
|
7
|
+
export type DatePickerModeType = "year" | "month" | "date" | "time" | "dateTime" | "dateRange" | "dateTimeRange";
|
|
8
|
+
export interface DatePickerPreset {
|
|
9
|
+
label: string;
|
|
10
|
+
value: () => DatePickerInput | DatePickerInput[];
|
|
11
|
+
}
|
|
12
|
+
export type DatePickerInput = string | number | Date | Dayjs;
|
|
13
|
+
export type DatePickerOutput = string | number | Date | null;
|
|
14
|
+
declare const datePickerProps: {
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: PropType<DatePickerInput | DatePickerInput[] | null>;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
value: {
|
|
20
|
+
type: PropType<DatePickerInput | DatePickerInput[] | null>;
|
|
21
|
+
default: null;
|
|
22
|
+
};
|
|
23
|
+
startDate: {
|
|
24
|
+
type: PropType<DatePickerInput | null>;
|
|
25
|
+
default: null;
|
|
26
|
+
};
|
|
27
|
+
endDate: {
|
|
28
|
+
type: PropType<DatePickerInput | null>;
|
|
29
|
+
default: null;
|
|
30
|
+
};
|
|
31
|
+
valueType: {
|
|
32
|
+
type: PropType<DatePickerValueType>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
mode: {
|
|
36
|
+
type: PropType<DatePickerModeType>;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
presets: PropType<DatePickerPreset[]>;
|
|
40
|
+
disabled: {
|
|
41
|
+
type: BooleanType;
|
|
42
|
+
};
|
|
43
|
+
readonly: {
|
|
44
|
+
type: BooleanType;
|
|
45
|
+
};
|
|
46
|
+
opened: {
|
|
47
|
+
type: BooleanType;
|
|
48
|
+
};
|
|
49
|
+
panelOnly: {
|
|
50
|
+
type: BooleanType;
|
|
51
|
+
};
|
|
52
|
+
clearable: {
|
|
53
|
+
type: BooleanType;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
editable: {
|
|
57
|
+
type: BooleanType;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
placeholder: {
|
|
61
|
+
type: PropType<string | string[]>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
format: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: null;
|
|
67
|
+
};
|
|
68
|
+
disabledDate: {
|
|
69
|
+
type: PropType<(date: Date) => boolean>;
|
|
70
|
+
default: () => boolean;
|
|
71
|
+
};
|
|
72
|
+
disabledTime: {
|
|
73
|
+
type: PropType<(date: Date) => boolean>;
|
|
74
|
+
default: () => boolean;
|
|
75
|
+
};
|
|
76
|
+
size: {
|
|
77
|
+
type: PropType<SizeType>;
|
|
78
|
+
};
|
|
79
|
+
dateIcon: {
|
|
80
|
+
type: PropType<IconType[]>;
|
|
81
|
+
};
|
|
82
|
+
theme: {
|
|
83
|
+
type: PropType<ThemeType>;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
shape: {
|
|
87
|
+
type: PropType<ShapeType>;
|
|
88
|
+
};
|
|
89
|
+
bordered: {
|
|
90
|
+
type: BooleanType;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
placement: {
|
|
94
|
+
type: PropType<DropPlacementsType>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
98
|
+
destroyOnClose: {
|
|
99
|
+
type: BooleanType;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
export type DatePickerProps = ExtractPropTypes<typeof datePickerProps>;
|
|
104
|
+
type DatePickerModelValue = DatePickerOutput | DatePickerOutput[];
|
|
105
|
+
type DatePickerBoundaryValue<T extends DatePickerModelValue> = T extends readonly (infer Item)[] ? Extract<Item, DatePickerOutput> : Extract<T, DatePickerOutput>;
|
|
106
|
+
type DatePickerPublicProps<T extends DatePickerModelValue, TStart extends DatePickerOutput = DatePickerBoundaryValue<T>, TEnd extends DatePickerOutput = DatePickerBoundaryValue<T>> = Omit<Partial<DatePickerProps>, "modelValue" | "startDate" | "endDate"> & {
|
|
107
|
+
modelValue?: T;
|
|
108
|
+
startDate?: TStart;
|
|
109
|
+
endDate?: TEnd;
|
|
110
|
+
"onUpdate:modelValue"?: (value: T) => void;
|
|
111
|
+
"onUpdate:startDate"?: (value: TStart) => void;
|
|
112
|
+
"onUpdate:endDate"?: (value: TEnd) => void;
|
|
113
|
+
onChange?: (value: T, text: string | string[]) => void;
|
|
114
|
+
onOpenChange?: (open: boolean) => void;
|
|
115
|
+
onClear?: () => void;
|
|
116
|
+
};
|
|
117
|
+
type DatePickerComponent = {
|
|
118
|
+
new <T extends DatePickerModelValue = DatePickerOutput, TStart extends DatePickerOutput = DatePickerBoundaryValue<T>, TEnd extends DatePickerOutput = DatePickerBoundaryValue<T>>(props: DatePickerPublicProps<T, TStart, TEnd>): {
|
|
119
|
+
$props: DatePickerPublicProps<T, TStart, TEnd>;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
declare const DatePicker: import("vue").DefineComponent<ExtractPropTypes<{
|
|
123
|
+
modelValue: {
|
|
124
|
+
type: PropType<DatePickerInput | DatePickerInput[] | null>;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
value: {
|
|
128
|
+
type: PropType<DatePickerInput | DatePickerInput[] | null>;
|
|
129
|
+
default: null;
|
|
130
|
+
};
|
|
131
|
+
startDate: {
|
|
132
|
+
type: PropType<DatePickerInput | null>;
|
|
133
|
+
default: null;
|
|
134
|
+
};
|
|
135
|
+
endDate: {
|
|
136
|
+
type: PropType<DatePickerInput | null>;
|
|
137
|
+
default: null;
|
|
138
|
+
};
|
|
139
|
+
valueType: {
|
|
140
|
+
type: PropType<DatePickerValueType>;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
mode: {
|
|
144
|
+
type: PropType<DatePickerModeType>;
|
|
145
|
+
default: string;
|
|
146
|
+
};
|
|
147
|
+
presets: PropType<DatePickerPreset[]>;
|
|
148
|
+
disabled: {
|
|
149
|
+
type: BooleanType;
|
|
150
|
+
};
|
|
151
|
+
readonly: {
|
|
152
|
+
type: BooleanType;
|
|
153
|
+
};
|
|
154
|
+
opened: {
|
|
155
|
+
type: BooleanType;
|
|
156
|
+
};
|
|
157
|
+
panelOnly: {
|
|
158
|
+
type: BooleanType;
|
|
159
|
+
};
|
|
160
|
+
clearable: {
|
|
161
|
+
type: BooleanType;
|
|
162
|
+
default: boolean;
|
|
163
|
+
};
|
|
164
|
+
editable: {
|
|
165
|
+
type: BooleanType;
|
|
166
|
+
default: boolean;
|
|
167
|
+
};
|
|
168
|
+
placeholder: {
|
|
169
|
+
type: PropType<string | string[]>;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
format: {
|
|
173
|
+
type: StringConstructor;
|
|
174
|
+
default: null;
|
|
175
|
+
};
|
|
176
|
+
disabledDate: {
|
|
177
|
+
type: PropType<(date: Date) => boolean>;
|
|
178
|
+
default: () => boolean;
|
|
179
|
+
};
|
|
180
|
+
disabledTime: {
|
|
181
|
+
type: PropType<(date: Date) => boolean>;
|
|
182
|
+
default: () => boolean;
|
|
183
|
+
};
|
|
184
|
+
size: {
|
|
185
|
+
type: PropType<SizeType>;
|
|
186
|
+
};
|
|
187
|
+
dateIcon: {
|
|
188
|
+
type: PropType<IconType[]>;
|
|
189
|
+
};
|
|
190
|
+
theme: {
|
|
191
|
+
type: PropType<ThemeType>;
|
|
192
|
+
default: string;
|
|
193
|
+
};
|
|
194
|
+
shape: {
|
|
195
|
+
type: PropType<ShapeType>;
|
|
196
|
+
};
|
|
197
|
+
bordered: {
|
|
198
|
+
type: BooleanType;
|
|
199
|
+
default: boolean;
|
|
200
|
+
};
|
|
201
|
+
placement: {
|
|
202
|
+
type: PropType<DropPlacementsType>;
|
|
203
|
+
default: string;
|
|
204
|
+
};
|
|
205
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
206
|
+
destroyOnClose: {
|
|
207
|
+
type: BooleanType;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
211
|
+
"update:modelValue": (value: DatePickerOutput | DatePickerOutput[]) => boolean;
|
|
212
|
+
"update:startDate": (value: DatePickerOutput) => boolean;
|
|
213
|
+
"update:endDate": (value: DatePickerOutput) => boolean;
|
|
214
|
+
change: (value: DatePickerOutput | DatePickerOutput[], text: string | string[]) => boolean;
|
|
215
|
+
openChange: (open: boolean) => boolean;
|
|
216
|
+
"update:opened": (open: boolean) => boolean;
|
|
217
|
+
clear: () => true;
|
|
218
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
219
|
+
modelValue: {
|
|
220
|
+
type: PropType<DatePickerInput | DatePickerInput[] | null>;
|
|
221
|
+
default: undefined;
|
|
222
|
+
};
|
|
223
|
+
value: {
|
|
224
|
+
type: PropType<DatePickerInput | DatePickerInput[] | null>;
|
|
225
|
+
default: null;
|
|
226
|
+
};
|
|
227
|
+
startDate: {
|
|
228
|
+
type: PropType<DatePickerInput | null>;
|
|
229
|
+
default: null;
|
|
230
|
+
};
|
|
231
|
+
endDate: {
|
|
232
|
+
type: PropType<DatePickerInput | null>;
|
|
233
|
+
default: null;
|
|
234
|
+
};
|
|
235
|
+
valueType: {
|
|
236
|
+
type: PropType<DatePickerValueType>;
|
|
237
|
+
default: string;
|
|
238
|
+
};
|
|
239
|
+
mode: {
|
|
240
|
+
type: PropType<DatePickerModeType>;
|
|
241
|
+
default: string;
|
|
242
|
+
};
|
|
243
|
+
presets: PropType<DatePickerPreset[]>;
|
|
244
|
+
disabled: {
|
|
245
|
+
type: BooleanType;
|
|
246
|
+
};
|
|
247
|
+
readonly: {
|
|
248
|
+
type: BooleanType;
|
|
249
|
+
};
|
|
250
|
+
opened: {
|
|
251
|
+
type: BooleanType;
|
|
252
|
+
};
|
|
253
|
+
panelOnly: {
|
|
254
|
+
type: BooleanType;
|
|
255
|
+
};
|
|
256
|
+
clearable: {
|
|
257
|
+
type: BooleanType;
|
|
258
|
+
default: boolean;
|
|
259
|
+
};
|
|
260
|
+
editable: {
|
|
261
|
+
type: BooleanType;
|
|
262
|
+
default: boolean;
|
|
263
|
+
};
|
|
264
|
+
placeholder: {
|
|
265
|
+
type: PropType<string | string[]>;
|
|
266
|
+
default: string;
|
|
267
|
+
};
|
|
268
|
+
format: {
|
|
269
|
+
type: StringConstructor;
|
|
270
|
+
default: null;
|
|
271
|
+
};
|
|
272
|
+
disabledDate: {
|
|
273
|
+
type: PropType<(date: Date) => boolean>;
|
|
274
|
+
default: () => boolean;
|
|
275
|
+
};
|
|
276
|
+
disabledTime: {
|
|
277
|
+
type: PropType<(date: Date) => boolean>;
|
|
278
|
+
default: () => boolean;
|
|
279
|
+
};
|
|
280
|
+
size: {
|
|
281
|
+
type: PropType<SizeType>;
|
|
282
|
+
};
|
|
283
|
+
dateIcon: {
|
|
284
|
+
type: PropType<IconType[]>;
|
|
285
|
+
};
|
|
286
|
+
theme: {
|
|
287
|
+
type: PropType<ThemeType>;
|
|
288
|
+
default: string;
|
|
289
|
+
};
|
|
290
|
+
shape: {
|
|
291
|
+
type: PropType<ShapeType>;
|
|
292
|
+
};
|
|
293
|
+
bordered: {
|
|
294
|
+
type: BooleanType;
|
|
295
|
+
default: boolean;
|
|
296
|
+
};
|
|
297
|
+
placement: {
|
|
298
|
+
type: PropType<DropPlacementsType>;
|
|
299
|
+
default: string;
|
|
300
|
+
};
|
|
301
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
302
|
+
destroyOnClose: {
|
|
303
|
+
type: BooleanType;
|
|
304
|
+
default: boolean;
|
|
305
|
+
};
|
|
306
|
+
}>> & Readonly<{
|
|
307
|
+
onChange?: ((value: DatePickerOutput | DatePickerOutput[], text: string | string[]) => any) | undefined;
|
|
308
|
+
onClear?: (() => any) | undefined;
|
|
309
|
+
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
310
|
+
"onUpdate:modelValue"?: ((value: DatePickerOutput | DatePickerOutput[]) => any) | undefined;
|
|
311
|
+
"onUpdate:startDate"?: ((value: DatePickerOutput) => any) | undefined;
|
|
312
|
+
"onUpdate:endDate"?: ((value: DatePickerOutput) => any) | undefined;
|
|
313
|
+
"onUpdate:opened"?: ((open: boolean) => any) | undefined;
|
|
314
|
+
}>, {
|
|
315
|
+
mode: DatePickerModeType;
|
|
316
|
+
placement: DropPlacementsType;
|
|
317
|
+
destroyOnClose: boolean | undefined;
|
|
318
|
+
theme: ThemeType;
|
|
319
|
+
value: DatePickerInput | DatePickerInput[] | null;
|
|
320
|
+
bordered: boolean | undefined;
|
|
321
|
+
modelValue: DatePickerInput | DatePickerInput[] | null;
|
|
322
|
+
clearable: boolean | undefined;
|
|
323
|
+
placeholder: string | string[];
|
|
324
|
+
valueType: DatePickerValueType;
|
|
325
|
+
startDate: DatePickerInput | null;
|
|
326
|
+
endDate: DatePickerInput | null;
|
|
327
|
+
editable: boolean | undefined;
|
|
328
|
+
format: string;
|
|
329
|
+
disabledDate: (date: Date) => boolean;
|
|
330
|
+
disabledTime: (date: Date) => boolean;
|
|
331
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
332
|
+
export declare const DatePickerPanel: ForwardedComponent<typeof DatePicker>;
|
|
333
|
+
declare const _default: DatePickerComponent;
|
|
334
|
+
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ForwardedComponent } from "../utils/vue";
|
|
1
|
+
import type { ForwardedComponent } from "../utils/vue.js";
|
|
2
2
|
import { Dayjs } from "dayjs";
|
|
3
3
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
4
|
-
import type { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from "../const/types";
|
|
5
|
-
import { type IconType } from "../icon";
|
|
4
|
+
import type { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from "../const/types.js";
|
|
5
|
+
import { type IconType } from "../icon/index.js";
|
|
6
6
|
export type DatePickerValueType = "date" | "timestamp" | "unix" | "string";
|
|
7
7
|
export type DatePickerModeType = "year" | "month" | "date" | "time" | "dateTime" | "dateRange" | "dateTimeRange";
|
|
8
8
|
export interface DatePickerPreset {
|
|
@@ -94,6 +94,11 @@ declare const datePickerProps: {
|
|
|
94
94
|
type: PropType<DropPlacementsType>;
|
|
95
95
|
default: string;
|
|
96
96
|
};
|
|
97
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
98
|
+
destroyOnClose: {
|
|
99
|
+
type: BooleanType;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
97
102
|
};
|
|
98
103
|
export type DatePickerProps = ExtractPropTypes<typeof datePickerProps>;
|
|
99
104
|
type DatePickerModelValue = DatePickerOutput | DatePickerOutput[];
|
|
@@ -197,12 +202,18 @@ declare const DatePicker: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
197
202
|
type: PropType<DropPlacementsType>;
|
|
198
203
|
default: string;
|
|
199
204
|
};
|
|
205
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
206
|
+
destroyOnClose: {
|
|
207
|
+
type: BooleanType;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
200
210
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
201
211
|
"update:modelValue": (value: DatePickerOutput | DatePickerOutput[]) => boolean;
|
|
202
212
|
"update:startDate": (value: DatePickerOutput) => boolean;
|
|
203
213
|
"update:endDate": (value: DatePickerOutput) => boolean;
|
|
204
214
|
change: (value: DatePickerOutput | DatePickerOutput[], text: string | string[]) => boolean;
|
|
205
215
|
openChange: (open: boolean) => boolean;
|
|
216
|
+
"update:opened": (open: boolean) => boolean;
|
|
206
217
|
clear: () => true;
|
|
207
218
|
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
208
219
|
modelValue: {
|
|
@@ -287,6 +298,11 @@ declare const DatePicker: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
287
298
|
type: PropType<DropPlacementsType>;
|
|
288
299
|
default: string;
|
|
289
300
|
};
|
|
301
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
302
|
+
destroyOnClose: {
|
|
303
|
+
type: BooleanType;
|
|
304
|
+
default: boolean;
|
|
305
|
+
};
|
|
290
306
|
}>> & Readonly<{
|
|
291
307
|
onChange?: ((value: DatePickerOutput | DatePickerOutput[], text: string | string[]) => any) | undefined;
|
|
292
308
|
onClear?: (() => any) | undefined;
|
|
@@ -294,9 +310,11 @@ declare const DatePicker: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
294
310
|
"onUpdate:modelValue"?: ((value: DatePickerOutput | DatePickerOutput[]) => any) | undefined;
|
|
295
311
|
"onUpdate:startDate"?: ((value: DatePickerOutput) => any) | undefined;
|
|
296
312
|
"onUpdate:endDate"?: ((value: DatePickerOutput) => any) | undefined;
|
|
313
|
+
"onUpdate:opened"?: ((open: boolean) => any) | undefined;
|
|
297
314
|
}>, {
|
|
298
315
|
mode: DatePickerModeType;
|
|
299
316
|
placement: DropPlacementsType;
|
|
317
|
+
destroyOnClose: boolean | undefined;
|
|
300
318
|
theme: ThemeType;
|
|
301
319
|
value: DatePickerInput | DatePickerInput[] | null;
|
|
302
320
|
bordered: boolean | undefined;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import type { BooleanType, DirectionType } from "../const/types.cjs";
|
|
3
|
+
export interface DescriptionsItemProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
span?: number;
|
|
6
|
+
}
|
|
7
|
+
declare const DescriptionsItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
label: PropType<VNodeChild>;
|
|
9
|
+
span: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
type: PropType<"label" | "content">;
|
|
14
|
+
bordered: BooleanType;
|
|
15
|
+
layout: PropType<DirectionType>;
|
|
16
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
label: PropType<VNodeChild>;
|
|
18
|
+
span: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
type: PropType<"label" | "content">;
|
|
23
|
+
bordered: BooleanType;
|
|
24
|
+
layout: PropType<DirectionType>;
|
|
25
|
+
}>> & Readonly<{}>, {
|
|
26
|
+
span: number;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
export default DescriptionsItem;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType, type VNodeChild } from "vue";
|
|
2
|
-
import type { BooleanType, DirectionType } from "../const/types";
|
|
2
|
+
import type { BooleanType, DirectionType } from "../const/types.js";
|
|
3
3
|
export interface DescriptionsItemProps {
|
|
4
4
|
label?: string;
|
|
5
5
|
span?: number;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, DirectionType, SizeType, SurfaceShapeType } from "../const/types.cjs";
|
|
3
|
+
declare const descriptionsProps: {
|
|
4
|
+
bordered: BooleanType;
|
|
5
|
+
column: {
|
|
6
|
+
type: PropType<DescriptionsColumn>;
|
|
7
|
+
default: number;
|
|
8
|
+
};
|
|
9
|
+
layout: {
|
|
10
|
+
type: PropType<DirectionType>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
title: StringConstructor;
|
|
14
|
+
extra: StringConstructor;
|
|
15
|
+
size: {
|
|
16
|
+
type: PropType<SizeType>;
|
|
17
|
+
};
|
|
18
|
+
shape: {
|
|
19
|
+
type: PropType<SurfaceShapeType>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type DescriptionsProps = ExtractPropTypes<typeof descriptionsProps>;
|
|
24
|
+
type DescriptionBreakpoint = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
25
|
+
export type DescriptionsColumn = number | Partial<Record<DescriptionBreakpoint, number>>;
|
|
26
|
+
declare const Descriptions: import("vue").DefineComponent<ExtractPropTypes<{
|
|
27
|
+
bordered: BooleanType;
|
|
28
|
+
column: {
|
|
29
|
+
type: PropType<DescriptionsColumn>;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
layout: {
|
|
33
|
+
type: PropType<DirectionType>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
title: StringConstructor;
|
|
37
|
+
extra: StringConstructor;
|
|
38
|
+
size: {
|
|
39
|
+
type: PropType<SizeType>;
|
|
40
|
+
};
|
|
41
|
+
shape: {
|
|
42
|
+
type: PropType<SurfaceShapeType>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
46
|
+
bordered: BooleanType;
|
|
47
|
+
column: {
|
|
48
|
+
type: PropType<DescriptionsColumn>;
|
|
49
|
+
default: number;
|
|
50
|
+
};
|
|
51
|
+
layout: {
|
|
52
|
+
type: PropType<DirectionType>;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
title: StringConstructor;
|
|
56
|
+
extra: StringConstructor;
|
|
57
|
+
size: {
|
|
58
|
+
type: PropType<SizeType>;
|
|
59
|
+
};
|
|
60
|
+
shape: {
|
|
61
|
+
type: PropType<SurfaceShapeType>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
}>> & Readonly<{}>, {
|
|
65
|
+
column: DescriptionsColumn;
|
|
66
|
+
layout: DirectionType;
|
|
67
|
+
shape: SurfaceShapeType;
|
|
68
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
69
|
+
export default Descriptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, DirectionType, SizeType, SurfaceShapeType } from "../const/types";
|
|
2
|
+
import type { BooleanType, DirectionType, SizeType, SurfaceShapeType } from "../const/types.js";
|
|
3
3
|
declare const descriptionsProps: {
|
|
4
4
|
bordered: BooleanType;
|
|
5
5
|
column: {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DescriptionsColumn, DescriptionsProps } from "./descriptions.cjs";
|
|
2
|
+
import Descriptions from "./descriptions.cjs";
|
|
3
|
+
import type { DescriptionsItemProps } from "./descriptions-item.cjs";
|
|
4
|
+
import DescriptionsItem from "./descriptions-item.cjs";
|
|
5
|
+
export { Descriptions, DescriptionsItem };
|
|
6
|
+
export type { DescriptionsColumn, DescriptionsItemProps, DescriptionsProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { DescriptionsColumn, DescriptionsProps } from "./descriptions";
|
|
2
|
-
import Descriptions from "./descriptions";
|
|
3
|
-
import type { DescriptionsItemProps } from "./descriptions-item";
|
|
4
|
-
import DescriptionsItem from "./descriptions-item";
|
|
1
|
+
import type { DescriptionsColumn, DescriptionsProps } from "./descriptions.js";
|
|
2
|
+
import Descriptions from "./descriptions.js";
|
|
3
|
+
import type { DescriptionsItemProps } from "./descriptions-item.js";
|
|
4
|
+
import DescriptionsItem from "./descriptions-item.js";
|
|
5
5
|
export { Descriptions, DescriptionsItem };
|
|
6
6
|
export type { DescriptionsColumn, DescriptionsItemProps, DescriptionsProps };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, DirectionType } from "../const/types.cjs";
|
|
3
|
+
declare const dividerProps: {
|
|
4
|
+
type: {
|
|
5
|
+
type: PropType<DirectionType>;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
text: StringConstructor;
|
|
9
|
+
dashed: BooleanType;
|
|
10
|
+
orientation: {
|
|
11
|
+
type: PropType<"left" | "right" | "center">;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export type DividerProps = ExtractPropTypes<typeof dividerProps>;
|
|
16
|
+
declare const Divider: import("vue").DefineComponent<ExtractPropTypes<{
|
|
17
|
+
type: {
|
|
18
|
+
type: PropType<DirectionType>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
text: StringConstructor;
|
|
22
|
+
dashed: BooleanType;
|
|
23
|
+
orientation: {
|
|
24
|
+
type: PropType<"left" | "right" | "center">;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
28
|
+
type: {
|
|
29
|
+
type: PropType<DirectionType>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
text: StringConstructor;
|
|
33
|
+
dashed: BooleanType;
|
|
34
|
+
orientation: {
|
|
35
|
+
type: PropType<"left" | "right" | "center">;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>> & Readonly<{}>, {
|
|
39
|
+
type: DirectionType;
|
|
40
|
+
orientation: "left" | "right" | "center";
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
export default Divider;
|
package/types/divider/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, DirectionType } from "../const/types";
|
|
2
|
+
import type { BooleanType, DirectionType } from "../const/types.js";
|
|
3
3
|
declare const dividerProps: {
|
|
4
4
|
type: {
|
|
5
5
|
type: PropType<DirectionType>;
|