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,42 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import { type AvatarShape, type AvatarSize } from "./context.cjs";
|
|
3
|
+
declare const avatarGroupProps: {
|
|
4
|
+
maxCount: NumberConstructor;
|
|
5
|
+
spacing: NumberConstructor;
|
|
6
|
+
shape: {
|
|
7
|
+
type: PropType<AvatarShape>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
type: PropType<AvatarSize>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export type AvatarGroupProps = ExtractPropTypes<typeof avatarGroupProps>;
|
|
16
|
+
declare const AvatarGroup: import("vue").DefineComponent<ExtractPropTypes<{
|
|
17
|
+
maxCount: NumberConstructor;
|
|
18
|
+
spacing: NumberConstructor;
|
|
19
|
+
shape: {
|
|
20
|
+
type: PropType<AvatarShape>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
size: {
|
|
24
|
+
type: PropType<AvatarSize>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
28
|
+
maxCount: NumberConstructor;
|
|
29
|
+
spacing: NumberConstructor;
|
|
30
|
+
shape: {
|
|
31
|
+
type: PropType<AvatarShape>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
type: PropType<AvatarSize>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>> & Readonly<{}>, {
|
|
39
|
+
size: AvatarSize;
|
|
40
|
+
shape: AvatarShape;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
export default AvatarGroup;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import { type AvatarShape, type AvatarSize } from "./context";
|
|
2
|
+
import { type AvatarShape, type AvatarSize } from "./context.js";
|
|
3
3
|
declare const avatarGroupProps: {
|
|
4
4
|
maxCount: NumberConstructor;
|
|
5
5
|
spacing: NumberConstructor;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import { type IconType } from "../icon/index.cjs";
|
|
3
|
+
import { type AvatarShape, type AvatarSize } from "./context.cjs";
|
|
4
|
+
declare const avatarProps: {
|
|
5
|
+
icon: PropType<IconType[]>;
|
|
6
|
+
shape: {
|
|
7
|
+
type: PropType<AvatarShape>;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
type: PropType<AvatarSize>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
src: StringConstructor;
|
|
15
|
+
alt: StringConstructor;
|
|
16
|
+
onError: PropType<(event: Event) => boolean | void>;
|
|
17
|
+
};
|
|
18
|
+
export type AvatarProps = ExtractPropTypes<typeof avatarProps>;
|
|
19
|
+
declare const Avatar: import("vue").DefineComponent<ExtractPropTypes<{
|
|
20
|
+
icon: PropType<IconType[]>;
|
|
21
|
+
shape: {
|
|
22
|
+
type: PropType<AvatarShape>;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
type: PropType<AvatarSize>;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
src: StringConstructor;
|
|
30
|
+
alt: StringConstructor;
|
|
31
|
+
onError: PropType<(event: Event) => boolean | void>;
|
|
32
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
33
|
+
icon: PropType<IconType[]>;
|
|
34
|
+
shape: {
|
|
35
|
+
type: PropType<AvatarShape>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
size: {
|
|
39
|
+
type: PropType<AvatarSize>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
src: StringConstructor;
|
|
43
|
+
alt: StringConstructor;
|
|
44
|
+
onError: PropType<(event: Event) => boolean | void>;
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
size: AvatarSize;
|
|
47
|
+
shape: AvatarShape;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default Avatar;
|
package/types/avatar/avatar.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import { type IconType } from "../icon";
|
|
3
|
-
import { type AvatarShape, type AvatarSize } from "./context";
|
|
2
|
+
import { type IconType } from "../icon/index.js";
|
|
3
|
+
import { type AvatarShape, type AvatarSize } from "./context.js";
|
|
4
4
|
declare const avatarProps: {
|
|
5
5
|
icon: PropType<IconType[]>;
|
|
6
6
|
shape: {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { InjectionKey, Ref } from "vue";
|
|
2
|
+
export type AvatarShape = "circle" | "square" | "round";
|
|
3
|
+
export type AvatarSize = number | "large" | "small" | "default";
|
|
4
|
+
export interface AvatarGroupContext {
|
|
5
|
+
shape: Ref<AvatarShape>;
|
|
6
|
+
size: Ref<AvatarSize>;
|
|
7
|
+
}
|
|
8
|
+
export declare const avatarGroupContextKey: InjectionKey<AvatarGroupContext>;
|
package/types/avatar/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Avatar from "./avatar";
|
|
2
|
-
import AvatarGroup from "./avatar-group";
|
|
3
|
-
export type { AvatarProps } from "./avatar";
|
|
4
|
-
export type { AvatarGroupProps } from "./avatar-group";
|
|
1
|
+
import Avatar from "./avatar.js";
|
|
2
|
+
import AvatarGroup from "./avatar-group.js";
|
|
3
|
+
export type { AvatarProps } from "./avatar.js";
|
|
4
|
+
export type { AvatarGroupProps } from "./avatar-group.js";
|
|
5
5
|
export { Avatar, AvatarGroup };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
declare const backTopProps: {
|
|
3
|
+
height: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
right: PropType<string | number>;
|
|
8
|
+
bottom: PropType<string | number>;
|
|
9
|
+
behavior: {
|
|
10
|
+
type: PropType<ScrollBehavior>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
target: {
|
|
14
|
+
type: PropType<() => HTMLElement | null>;
|
|
15
|
+
default: () => HTMLElement | null;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export type BackTopProps = ExtractPropTypes<typeof backTopProps>;
|
|
19
|
+
declare const BackTop: import("vue").DefineComponent<ExtractPropTypes<{
|
|
20
|
+
height: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
right: PropType<string | number>;
|
|
25
|
+
bottom: PropType<string | number>;
|
|
26
|
+
behavior: {
|
|
27
|
+
type: PropType<ScrollBehavior>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
target: {
|
|
31
|
+
type: PropType<() => HTMLElement | null>;
|
|
32
|
+
default: () => HTMLElement | null;
|
|
33
|
+
};
|
|
34
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
click: (event: MouseEvent) => boolean;
|
|
36
|
+
visibleChange: (visible: boolean) => boolean;
|
|
37
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
38
|
+
height: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
right: PropType<string | number>;
|
|
43
|
+
bottom: PropType<string | number>;
|
|
44
|
+
behavior: {
|
|
45
|
+
type: PropType<ScrollBehavior>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
target: {
|
|
49
|
+
type: PropType<() => HTMLElement | null>;
|
|
50
|
+
default: () => HTMLElement | null;
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{
|
|
53
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
54
|
+
onVisibleChange?: ((visible: boolean) => any) | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
target: () => HTMLElement | null;
|
|
57
|
+
height: number;
|
|
58
|
+
behavior: ScrollBehavior;
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
60
|
+
export default BackTop;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNode } from "vue";
|
|
2
|
+
import type { BadgeStatusType, BooleanType, ColorType } from "../const/types.cjs";
|
|
3
|
+
declare const badgeProps: {
|
|
4
|
+
count: (NumberConstructor | StringConstructor)[];
|
|
5
|
+
dot: BooleanType;
|
|
6
|
+
pill: BooleanType;
|
|
7
|
+
color: ColorType;
|
|
8
|
+
status: PropType<BadgeStatusType>;
|
|
9
|
+
text: PropType<string | VNode>;
|
|
10
|
+
active: BooleanType;
|
|
11
|
+
maxCount: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
|
|
17
|
+
declare const Badge: import("vue").DefineComponent<ExtractPropTypes<{
|
|
18
|
+
count: (NumberConstructor | StringConstructor)[];
|
|
19
|
+
dot: BooleanType;
|
|
20
|
+
pill: BooleanType;
|
|
21
|
+
color: ColorType;
|
|
22
|
+
status: PropType<BadgeStatusType>;
|
|
23
|
+
text: PropType<string | VNode>;
|
|
24
|
+
active: BooleanType;
|
|
25
|
+
maxCount: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
30
|
+
count: (NumberConstructor | StringConstructor)[];
|
|
31
|
+
dot: BooleanType;
|
|
32
|
+
pill: BooleanType;
|
|
33
|
+
color: ColorType;
|
|
34
|
+
status: PropType<BadgeStatusType>;
|
|
35
|
+
text: PropType<string | VNode>;
|
|
36
|
+
active: BooleanType;
|
|
37
|
+
maxCount: {
|
|
38
|
+
type: NumberConstructor;
|
|
39
|
+
default: number;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{}>, {
|
|
42
|
+
maxCount: number;
|
|
43
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
44
|
+
export default Badge;
|
|
45
|
+
export type { BadgeStatusType } from "../const/types.cjs";
|
package/types/badge/index.d.ts
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType, type VNode } from "vue";
|
|
2
|
-
import type { BadgeStatusType, BooleanType } from "../const/types";
|
|
2
|
+
import type { BadgeStatusType, BooleanType, ColorType } from "../const/types.js";
|
|
3
3
|
declare const badgeProps: {
|
|
4
4
|
count: (NumberConstructor | StringConstructor)[];
|
|
5
5
|
dot: BooleanType;
|
|
6
6
|
pill: BooleanType;
|
|
7
|
-
color:
|
|
8
|
-
status:
|
|
9
|
-
type: PropType<BadgeStatusType>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
7
|
+
color: ColorType;
|
|
8
|
+
status: PropType<BadgeStatusType>;
|
|
12
9
|
text: PropType<string | VNode>;
|
|
13
10
|
active: BooleanType;
|
|
14
11
|
maxCount: {
|
|
@@ -21,11 +18,8 @@ declare const Badge: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
21
18
|
count: (NumberConstructor | StringConstructor)[];
|
|
22
19
|
dot: BooleanType;
|
|
23
20
|
pill: BooleanType;
|
|
24
|
-
color:
|
|
25
|
-
status:
|
|
26
|
-
type: PropType<BadgeStatusType>;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
21
|
+
color: ColorType;
|
|
22
|
+
status: PropType<BadgeStatusType>;
|
|
29
23
|
text: PropType<string | VNode>;
|
|
30
24
|
active: BooleanType;
|
|
31
25
|
maxCount: {
|
|
@@ -36,11 +30,8 @@ declare const Badge: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
36
30
|
count: (NumberConstructor | StringConstructor)[];
|
|
37
31
|
dot: BooleanType;
|
|
38
32
|
pill: BooleanType;
|
|
39
|
-
color:
|
|
40
|
-
status:
|
|
41
|
-
type: PropType<BadgeStatusType>;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
33
|
+
color: ColorType;
|
|
34
|
+
status: PropType<BadgeStatusType>;
|
|
44
35
|
text: PropType<string | VNode>;
|
|
45
36
|
active: BooleanType;
|
|
46
37
|
maxCount: {
|
|
@@ -49,7 +40,6 @@ declare const Badge: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
49
40
|
};
|
|
50
41
|
}>> & Readonly<{}>, {
|
|
51
42
|
maxCount: number;
|
|
52
|
-
status: BadgeStatusType;
|
|
53
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
44
|
export default Badge;
|
|
55
|
-
export type { BadgeStatusType } from "../const/types";
|
|
45
|
+
export type { BadgeStatusType } from "../const/types.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import { type IconType } from "../icon/index.cjs";
|
|
3
|
+
declare const breadcrumbItemProps: {
|
|
4
|
+
href: StringConstructor;
|
|
5
|
+
target: StringConstructor;
|
|
6
|
+
rel: StringConstructor;
|
|
7
|
+
icon: PropType<IconType[]>;
|
|
8
|
+
};
|
|
9
|
+
export type BreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>;
|
|
10
|
+
declare const BreadcrumbItem: import("vue").DefineComponent<ExtractPropTypes<{
|
|
11
|
+
href: StringConstructor;
|
|
12
|
+
target: StringConstructor;
|
|
13
|
+
rel: StringConstructor;
|
|
14
|
+
icon: PropType<IconType[]>;
|
|
15
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
click: (event: MouseEvent) => boolean;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
18
|
+
href: StringConstructor;
|
|
19
|
+
target: StringConstructor;
|
|
20
|
+
rel: StringConstructor;
|
|
21
|
+
icon: PropType<IconType[]>;
|
|
22
|
+
}>> & Readonly<{
|
|
23
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
export default BreadcrumbItem;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
declare const breadcrumbProps: {
|
|
3
|
+
separator: {
|
|
4
|
+
type: PropType<VNodeChild>;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>;
|
|
9
|
+
declare const Breadcrumb: import("vue").DefineComponent<ExtractPropTypes<{
|
|
10
|
+
separator: {
|
|
11
|
+
type: PropType<VNodeChild>;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
15
|
+
separator: {
|
|
16
|
+
type: PropType<VNodeChild>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
separator: VNodeChild;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default Breadcrumb;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Breadcrumb from "./breadcrumb";
|
|
2
|
-
import BreadcrumbItem from "./breadcrumb-item";
|
|
3
|
-
export type { BreadcrumbProps } from "./breadcrumb";
|
|
4
|
-
export type { BreadcrumbItemProps } from "./breadcrumb-item";
|
|
1
|
+
import Breadcrumb from "./breadcrumb.js";
|
|
2
|
+
import BreadcrumbItem from "./breadcrumb-item.js";
|
|
3
|
+
export type { BreadcrumbProps } from "./breadcrumb.js";
|
|
4
|
+
export type { BreadcrumbItemProps } from "./breadcrumb-item.js";
|
|
5
5
|
export { Breadcrumb, BreadcrumbItem };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import { type ShapeType, type SizeType } from "../const/types.cjs";
|
|
3
|
+
declare const buttonGroupProps: {
|
|
4
|
+
size: {
|
|
5
|
+
type: PropType<SizeType>;
|
|
6
|
+
};
|
|
7
|
+
shape: PropType<ShapeType>;
|
|
8
|
+
};
|
|
9
|
+
export type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
|
|
10
|
+
declare const ButtonGroup: import("vue").DefineComponent<ExtractPropTypes<{
|
|
11
|
+
size: {
|
|
12
|
+
type: PropType<SizeType>;
|
|
13
|
+
};
|
|
14
|
+
shape: PropType<ShapeType>;
|
|
15
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
16
|
+
size: {
|
|
17
|
+
type: PropType<SizeType>;
|
|
18
|
+
};
|
|
19
|
+
shape: PropType<ShapeType>;
|
|
20
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
export default ButtonGroup;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type ButtonHTMLAttributes, type DefineComponent, type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, ButtonType, ShapeType, SizeType, SurfaceThemeType } from "../const/types.cjs";
|
|
3
|
+
import { type IconType } from "../icon/index.cjs";
|
|
4
|
+
declare const buttonProps: {
|
|
5
|
+
htmlType: {
|
|
6
|
+
type: PropType<"button" | "submit" | "reset">;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
icon: PropType<IconType[]>;
|
|
10
|
+
block: {
|
|
11
|
+
type: BooleanType;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
type: PropType<SizeType>;
|
|
16
|
+
};
|
|
17
|
+
color: {
|
|
18
|
+
type: PropType<string>;
|
|
19
|
+
};
|
|
20
|
+
loading: {
|
|
21
|
+
type: BooleanType;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
type: {
|
|
25
|
+
type: PropType<ButtonType>;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
disabled: BooleanType;
|
|
29
|
+
theme: {
|
|
30
|
+
type: PropType<SurfaceThemeType>;
|
|
31
|
+
};
|
|
32
|
+
shape: PropType<ShapeType>;
|
|
33
|
+
href: StringConstructor;
|
|
34
|
+
target: StringConstructor;
|
|
35
|
+
};
|
|
36
|
+
export type ButtonProps = Partial<ExtractPropTypes<typeof buttonProps>> & Omit<ButtonHTMLAttributes, "type">;
|
|
37
|
+
declare const _default: DefineComponent<ButtonProps>;
|
|
38
|
+
export default _default;
|
package/types/button/button.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type ButtonHTMLAttributes, type DefineComponent, type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, ButtonType, ShapeType, SizeType,
|
|
3
|
-
import {
|
|
4
|
-
import { type IconType } from "../icon";
|
|
2
|
+
import type { BooleanType, ButtonType, ShapeType, SizeType, SurfaceThemeType } from "../const/types.js";
|
|
3
|
+
import { type IconType } from "../icon/index.js";
|
|
5
4
|
declare const buttonProps: {
|
|
6
5
|
htmlType: {
|
|
7
6
|
type: PropType<"button" | "submit" | "reset">;
|
|
@@ -16,7 +15,7 @@ declare const buttonProps: {
|
|
|
16
15
|
type: PropType<SizeType>;
|
|
17
16
|
};
|
|
18
17
|
color: {
|
|
19
|
-
type: PropType<
|
|
18
|
+
type: PropType<string>;
|
|
20
19
|
};
|
|
21
20
|
loading: {
|
|
22
21
|
type: BooleanType;
|
|
@@ -28,7 +27,7 @@ declare const buttonProps: {
|
|
|
28
27
|
};
|
|
29
28
|
disabled: BooleanType;
|
|
30
29
|
theme: {
|
|
31
|
-
type: PropType<
|
|
30
|
+
type: PropType<SurfaceThemeType>;
|
|
32
31
|
};
|
|
33
32
|
shape: PropType<ShapeType>;
|
|
34
33
|
href: StringConstructor;
|
package/types/button/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Button from "./button";
|
|
2
|
-
import ButtonGroup from "./button-group";
|
|
3
|
-
export type { ButtonProps } from "./button";
|
|
4
|
-
export type { ButtonGroupProps } from "./button-group";
|
|
1
|
+
import Button from "./button.js";
|
|
2
|
+
import ButtonGroup from "./button-group.js";
|
|
3
|
+
export type { ButtonProps } from "./button.js";
|
|
4
|
+
export type { ButtonGroupProps } from "./button-group.js";
|
|
5
5
|
export { Button, ButtonGroup };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
export interface CalendarEventData {
|
|
3
|
+
key: string | number;
|
|
4
|
+
date: string;
|
|
5
|
+
title: string;
|
|
6
|
+
time?: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
}
|
|
10
|
+
export interface CalendarDateCell {
|
|
11
|
+
date: string;
|
|
12
|
+
day: number;
|
|
13
|
+
currentMonth: boolean;
|
|
14
|
+
events: CalendarEventData[];
|
|
15
|
+
}
|
|
16
|
+
declare const calendarProps: {
|
|
17
|
+
modelValue: StringConstructor;
|
|
18
|
+
value: StringConstructor;
|
|
19
|
+
events: {
|
|
20
|
+
type: PropType<CalendarEventData[]>;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
firstDayOfWeek: NumberConstructor;
|
|
24
|
+
maxEvents: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
showToolbar: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
todayText: StringConstructor;
|
|
33
|
+
weekdays: PropType<string[]>;
|
|
34
|
+
};
|
|
35
|
+
export type CalendarProps = ExtractPropTypes<typeof calendarProps>;
|
|
36
|
+
declare const Calendar: import("vue").DefineComponent<ExtractPropTypes<{
|
|
37
|
+
modelValue: StringConstructor;
|
|
38
|
+
value: StringConstructor;
|
|
39
|
+
events: {
|
|
40
|
+
type: PropType<CalendarEventData[]>;
|
|
41
|
+
default: () => never[];
|
|
42
|
+
};
|
|
43
|
+
firstDayOfWeek: NumberConstructor;
|
|
44
|
+
maxEvents: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
showToolbar: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
todayText: StringConstructor;
|
|
53
|
+
weekdays: PropType<string[]>;
|
|
54
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
|
+
"update:modelValue": (date: string) => boolean;
|
|
56
|
+
change: (date: string, cell: CalendarDateCell) => boolean;
|
|
57
|
+
monthChange: (value: {
|
|
58
|
+
year: number;
|
|
59
|
+
month: number;
|
|
60
|
+
}) => boolean;
|
|
61
|
+
eventClick: (event: CalendarEventData, cell: CalendarDateCell) => boolean;
|
|
62
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
63
|
+
modelValue: StringConstructor;
|
|
64
|
+
value: StringConstructor;
|
|
65
|
+
events: {
|
|
66
|
+
type: PropType<CalendarEventData[]>;
|
|
67
|
+
default: () => never[];
|
|
68
|
+
};
|
|
69
|
+
firstDayOfWeek: NumberConstructor;
|
|
70
|
+
maxEvents: {
|
|
71
|
+
type: NumberConstructor;
|
|
72
|
+
default: number;
|
|
73
|
+
};
|
|
74
|
+
showToolbar: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
todayText: StringConstructor;
|
|
79
|
+
weekdays: PropType<string[]>;
|
|
80
|
+
}>> & Readonly<{
|
|
81
|
+
onChange?: ((date: string, cell: CalendarDateCell) => any) | undefined;
|
|
82
|
+
"onUpdate:modelValue"?: ((date: string) => any) | undefined;
|
|
83
|
+
onMonthChange?: ((value: {
|
|
84
|
+
year: number;
|
|
85
|
+
month: number;
|
|
86
|
+
}) => any) | undefined;
|
|
87
|
+
onEventClick?: ((event: CalendarEventData, cell: CalendarDateCell) => any) | undefined;
|
|
88
|
+
}>, {
|
|
89
|
+
events: CalendarEventData[];
|
|
90
|
+
maxEvents: number;
|
|
91
|
+
showToolbar: boolean;
|
|
92
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
93
|
+
export default Calendar;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
declare const cardMetaProps: {
|
|
3
|
+
avatar: PropType<string | VNodeChild>;
|
|
4
|
+
title: PropType<VNodeChild>;
|
|
5
|
+
description: PropType<VNodeChild>;
|
|
6
|
+
};
|
|
7
|
+
export type CardMetaProps = ExtractPropTypes<typeof cardMetaProps>;
|
|
8
|
+
declare const CardMeta: import("vue").DefineComponent<ExtractPropTypes<{
|
|
9
|
+
avatar: PropType<string | VNodeChild>;
|
|
10
|
+
title: PropType<VNodeChild>;
|
|
11
|
+
description: PropType<VNodeChild>;
|
|
12
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
13
|
+
avatar: PropType<string | VNodeChild>;
|
|
14
|
+
title: PropType<VNodeChild>;
|
|
15
|
+
description: PropType<VNodeChild>;
|
|
16
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default CardMeta;
|