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
package/types/global.d.ts
CHANGED
|
@@ -1,6 +1,262 @@
|
|
|
1
1
|
|
|
2
2
|
/* eslint-disable @typescript-eslint/consistent-type-imports */
|
|
3
3
|
|
|
4
|
+
declare module 'vue' {
|
|
5
|
+
export interface GlobalComponents {
|
|
6
|
+
Affix: typeof import('kui-vue')['Affix']
|
|
7
|
+
KAffix: typeof import('kui-vue')['Affix']
|
|
8
|
+
Popup: typeof import('kui-vue')['Popup']
|
|
9
|
+
KPopup: typeof import('kui-vue')['Popup']
|
|
10
|
+
Alert: typeof import('kui-vue')['Alert']
|
|
11
|
+
KAlert: typeof import('kui-vue')['Alert']
|
|
12
|
+
AutoComplete: typeof import('kui-vue')['AutoComplete']
|
|
13
|
+
KAutoComplete: typeof import('kui-vue')['AutoComplete']
|
|
14
|
+
Anchor: typeof import('kui-vue')['Anchor']
|
|
15
|
+
KAnchor: typeof import('kui-vue')['Anchor']
|
|
16
|
+
AnchorLink: typeof import('kui-vue')['AnchorLink']
|
|
17
|
+
KAnchorLink: typeof import('kui-vue')['AnchorLink']
|
|
18
|
+
Avatar: typeof import('kui-vue')['Avatar']
|
|
19
|
+
KAvatar: typeof import('kui-vue')['Avatar']
|
|
20
|
+
AvatarGroup: typeof import('kui-vue')['AvatarGroup']
|
|
21
|
+
KAvatarGroup: typeof import('kui-vue')['AvatarGroup']
|
|
22
|
+
Breadcrumb: typeof import('kui-vue')['Breadcrumb']
|
|
23
|
+
KBreadcrumb: typeof import('kui-vue')['Breadcrumb']
|
|
24
|
+
BreadcrumbItem: typeof import('kui-vue')['BreadcrumbItem']
|
|
25
|
+
KBreadcrumbItem: typeof import('kui-vue')['BreadcrumbItem']
|
|
26
|
+
BackTop: typeof import('kui-vue')['BackTop']
|
|
27
|
+
KBackTop: typeof import('kui-vue')['BackTop']
|
|
28
|
+
Badge: typeof import('kui-vue')['Badge']
|
|
29
|
+
KBadge: typeof import('kui-vue')['Badge']
|
|
30
|
+
Button: typeof import('kui-vue')['Button']
|
|
31
|
+
KButton: typeof import('kui-vue')['Button']
|
|
32
|
+
ButtonGroup: typeof import('kui-vue')['ButtonGroup']
|
|
33
|
+
KButtonGroup: typeof import('kui-vue')['ButtonGroup']
|
|
34
|
+
Cascader: typeof import('kui-vue')['Cascader']
|
|
35
|
+
KCascader: typeof import('kui-vue')['Cascader']
|
|
36
|
+
Card: typeof import('kui-vue')['Card']
|
|
37
|
+
KCard: typeof import('kui-vue')['Card']
|
|
38
|
+
CardMeta: typeof import('kui-vue')['CardMeta']
|
|
39
|
+
KCardMeta: typeof import('kui-vue')['CardMeta']
|
|
40
|
+
Calendar: typeof import('kui-vue')['Calendar']
|
|
41
|
+
KCalendar: typeof import('kui-vue')['Calendar']
|
|
42
|
+
FeatureCard: typeof import('kui-vue')['FeatureCard']
|
|
43
|
+
KFeatureCard: typeof import('kui-vue')['FeatureCard']
|
|
44
|
+
FlameWrap: typeof import('kui-vue')['FlameWrap']
|
|
45
|
+
KFlameWrap: typeof import('kui-vue')['FlameWrap']
|
|
46
|
+
ListPanel: typeof import('kui-vue')['ListPanel']
|
|
47
|
+
KListPanel: typeof import('kui-vue')['ListPanel']
|
|
48
|
+
Carousel: typeof import('kui-vue')['Carousel']
|
|
49
|
+
KCarousel: typeof import('kui-vue')['Carousel']
|
|
50
|
+
CarouselItem: typeof import('kui-vue')['CarouselItem']
|
|
51
|
+
KCarouselItem: typeof import('kui-vue')['CarouselItem']
|
|
52
|
+
Checkbox: typeof import('kui-vue')['Checkbox']
|
|
53
|
+
KCheckbox: typeof import('kui-vue')['Checkbox']
|
|
54
|
+
CheckboxGroup: typeof import('kui-vue')['CheckboxGroup']
|
|
55
|
+
KCheckboxGroup: typeof import('kui-vue')['CheckboxGroup']
|
|
56
|
+
CheckCard: typeof import('kui-vue')['CheckCard']
|
|
57
|
+
KCheckCard: typeof import('kui-vue')['CheckCard']
|
|
58
|
+
CheckCardGroup: typeof import('kui-vue')['CheckCardGroup']
|
|
59
|
+
KCheckCardGroup: typeof import('kui-vue')['CheckCardGroup']
|
|
60
|
+
Collapse: typeof import('kui-vue')['Collapse']
|
|
61
|
+
KCollapse: typeof import('kui-vue')['Collapse']
|
|
62
|
+
CollapsePanel: typeof import('kui-vue')['CollapsePanel']
|
|
63
|
+
KCollapsePanel: typeof import('kui-vue')['CollapsePanel']
|
|
64
|
+
ColorPickerPanel: typeof import('kui-vue')['ColorPickerPanel']
|
|
65
|
+
KColorPickerPanel: typeof import('kui-vue')['ColorPickerPanel']
|
|
66
|
+
ColorPicker: typeof import('kui-vue')['ColorPicker']
|
|
67
|
+
KColorPicker: typeof import('kui-vue')['ColorPicker']
|
|
68
|
+
DatePickerPanel: typeof import('kui-vue')['DatePickerPanel']
|
|
69
|
+
KDatePickerPanel: typeof import('kui-vue')['DatePickerPanel']
|
|
70
|
+
DatePicker: typeof import('kui-vue')['DatePicker']
|
|
71
|
+
KDatePicker: typeof import('kui-vue')['DatePicker']
|
|
72
|
+
Descriptions: typeof import('kui-vue')['Descriptions']
|
|
73
|
+
KDescriptions: typeof import('kui-vue')['Descriptions']
|
|
74
|
+
DescriptionsItem: typeof import('kui-vue')['DescriptionsItem']
|
|
75
|
+
KDescriptionsItem: typeof import('kui-vue')['DescriptionsItem']
|
|
76
|
+
Drawer: typeof import('kui-vue')['Drawer']
|
|
77
|
+
KDrawer: typeof import('kui-vue')['Drawer']
|
|
78
|
+
Dropdown: typeof import('kui-vue')['Dropdown']
|
|
79
|
+
KDropdown: typeof import('kui-vue')['Dropdown']
|
|
80
|
+
DropdownButton: typeof import('kui-vue')['DropdownButton']
|
|
81
|
+
KDropdownButton: typeof import('kui-vue')['DropdownButton']
|
|
82
|
+
Divider: typeof import('kui-vue')['Divider']
|
|
83
|
+
KDivider: typeof import('kui-vue')['Divider']
|
|
84
|
+
Empty: typeof import('kui-vue')['Empty']
|
|
85
|
+
KEmpty: typeof import('kui-vue')['Empty']
|
|
86
|
+
Form: typeof import('kui-vue')['Form']
|
|
87
|
+
KForm: typeof import('kui-vue')['Form']
|
|
88
|
+
FormItem: typeof import('kui-vue')['FormItem']
|
|
89
|
+
KFormItem: typeof import('kui-vue')['FormItem']
|
|
90
|
+
Flex: typeof import('kui-vue')['Flex']
|
|
91
|
+
KFlex: typeof import('kui-vue')['Flex']
|
|
92
|
+
Grid: typeof import('kui-vue')['Grid']
|
|
93
|
+
KGrid: typeof import('kui-vue')['Grid']
|
|
94
|
+
GridItem: typeof import('kui-vue')['GridItem']
|
|
95
|
+
KGridItem: typeof import('kui-vue')['GridItem']
|
|
96
|
+
Image: typeof import('kui-vue')['Image']
|
|
97
|
+
KImage: typeof import('kui-vue')['Image']
|
|
98
|
+
ImageGroup: typeof import('kui-vue')['ImageGroup']
|
|
99
|
+
KImageGroup: typeof import('kui-vue')['ImageGroup']
|
|
100
|
+
Icon: typeof import('kui-vue')['Icon']
|
|
101
|
+
KIcon: typeof import('kui-vue')['Icon']
|
|
102
|
+
Input: typeof import('kui-vue')['Input']
|
|
103
|
+
KInput: typeof import('kui-vue')['Input']
|
|
104
|
+
InputGroup: typeof import('kui-vue')['InputGroup']
|
|
105
|
+
KInputGroup: typeof import('kui-vue')['InputGroup']
|
|
106
|
+
TextArea: typeof import('kui-vue')['TextArea']
|
|
107
|
+
KTextArea: typeof import('kui-vue')['TextArea']
|
|
108
|
+
InputTag: typeof import('kui-vue')['InputTag']
|
|
109
|
+
KInputTag: typeof import('kui-vue')['InputTag']
|
|
110
|
+
InputOTP: typeof import('kui-vue')['InputOTP']
|
|
111
|
+
KInputOTP: typeof import('kui-vue')['InputOTP']
|
|
112
|
+
InputNumber: typeof import('kui-vue')['InputNumber']
|
|
113
|
+
KInputNumber: typeof import('kui-vue')['InputNumber']
|
|
114
|
+
Content: typeof import('kui-vue')['Content']
|
|
115
|
+
KContent: typeof import('kui-vue')['Content']
|
|
116
|
+
Footer: typeof import('kui-vue')['Footer']
|
|
117
|
+
KFooter: typeof import('kui-vue')['Footer']
|
|
118
|
+
Header: typeof import('kui-vue')['Header']
|
|
119
|
+
KHeader: typeof import('kui-vue')['Header']
|
|
120
|
+
Layout: typeof import('kui-vue')['Layout']
|
|
121
|
+
KLayout: typeof import('kui-vue')['Layout']
|
|
122
|
+
Sider: typeof import('kui-vue')['Sider']
|
|
123
|
+
KSider: typeof import('kui-vue')['Sider']
|
|
124
|
+
Menu: typeof import('kui-vue')['Menu']
|
|
125
|
+
KMenu: typeof import('kui-vue')['Menu']
|
|
126
|
+
MenuDivider: typeof import('kui-vue')['MenuDivider']
|
|
127
|
+
KMenuDivider: typeof import('kui-vue')['MenuDivider']
|
|
128
|
+
MenuGroup: typeof import('kui-vue')['MenuGroup']
|
|
129
|
+
KMenuGroup: typeof import('kui-vue')['MenuGroup']
|
|
130
|
+
MenuItem: typeof import('kui-vue')['MenuItem']
|
|
131
|
+
KMenuItem: typeof import('kui-vue')['MenuItem']
|
|
132
|
+
SubMenu: typeof import('kui-vue')['SubMenu']
|
|
133
|
+
KSubMenu: typeof import('kui-vue')['SubMenu']
|
|
134
|
+
Mentions: typeof import('kui-vue')['Mentions']
|
|
135
|
+
KMentions: typeof import('kui-vue')['Mentions']
|
|
136
|
+
MessagePanel: typeof import('kui-vue')['MessagePanel']
|
|
137
|
+
KMessagePanel: typeof import('kui-vue')['MessagePanel']
|
|
138
|
+
NoticePanel: typeof import('kui-vue')['NoticePanel']
|
|
139
|
+
KNoticePanel: typeof import('kui-vue')['NoticePanel']
|
|
140
|
+
ModalPanel: typeof import('kui-vue')['ModalPanel']
|
|
141
|
+
KModalPanel: typeof import('kui-vue')['ModalPanel']
|
|
142
|
+
Modal: typeof import('kui-vue')['Modal']
|
|
143
|
+
KModal: typeof import('kui-vue')['Modal']
|
|
144
|
+
Page: typeof import('kui-vue')['Page']
|
|
145
|
+
KPage: typeof import('kui-vue')['Page']
|
|
146
|
+
PageHeader: typeof import('kui-vue')['PageHeader']
|
|
147
|
+
KPageHeader: typeof import('kui-vue')['PageHeader']
|
|
148
|
+
PoptipPanel: typeof import('kui-vue')['PoptipPanel']
|
|
149
|
+
KPoptipPanel: typeof import('kui-vue')['PoptipPanel']
|
|
150
|
+
Poptip: typeof import('kui-vue')['Poptip']
|
|
151
|
+
KPoptip: typeof import('kui-vue')['Poptip']
|
|
152
|
+
PopconfirmPanel: typeof import('kui-vue')['PopconfirmPanel']
|
|
153
|
+
KPopconfirmPanel: typeof import('kui-vue')['PopconfirmPanel']
|
|
154
|
+
Popconfirm: typeof import('kui-vue')['Popconfirm']
|
|
155
|
+
KPopconfirm: typeof import('kui-vue')['Popconfirm']
|
|
156
|
+
Progress: typeof import('kui-vue')['Progress']
|
|
157
|
+
KProgress: typeof import('kui-vue')['Progress']
|
|
158
|
+
Ripple: typeof import('kui-vue')['Ripple']
|
|
159
|
+
KRipple: typeof import('kui-vue')['Ripple']
|
|
160
|
+
QRCode: typeof import('kui-vue')['QRCode']
|
|
161
|
+
KQRCode: typeof import('kui-vue')['QRCode']
|
|
162
|
+
Radio: typeof import('kui-vue')['Radio']
|
|
163
|
+
KRadio: typeof import('kui-vue')['Radio']
|
|
164
|
+
RadioButton: typeof import('kui-vue')['RadioButton']
|
|
165
|
+
KRadioButton: typeof import('kui-vue')['RadioButton']
|
|
166
|
+
RadioGroup: typeof import('kui-vue')['RadioGroup']
|
|
167
|
+
KRadioGroup: typeof import('kui-vue')['RadioGroup']
|
|
168
|
+
Segmented: typeof import('kui-vue')['Segmented']
|
|
169
|
+
KSegmented: typeof import('kui-vue')['Segmented']
|
|
170
|
+
Rate: typeof import('kui-vue')['Rate']
|
|
171
|
+
KRate: typeof import('kui-vue')['Rate']
|
|
172
|
+
Result: typeof import('kui-vue')['Result']
|
|
173
|
+
KResult: typeof import('kui-vue')['Result']
|
|
174
|
+
FeedbackPanel: typeof import('kui-vue')['FeedbackPanel']
|
|
175
|
+
KFeedbackPanel: typeof import('kui-vue')['FeedbackPanel']
|
|
176
|
+
Option: typeof import('kui-vue')['Option']
|
|
177
|
+
KOption: typeof import('kui-vue')['Option']
|
|
178
|
+
Select: typeof import('kui-vue')['Select']
|
|
179
|
+
KSelect: typeof import('kui-vue')['Select']
|
|
180
|
+
ConfigProvider: typeof import('kui-vue')['ConfigProvider']
|
|
181
|
+
KConfigProvider: typeof import('kui-vue')['ConfigProvider']
|
|
182
|
+
Skeleton: typeof import('kui-vue')['Skeleton']
|
|
183
|
+
KSkeleton: typeof import('kui-vue')['Skeleton']
|
|
184
|
+
SkeletonAvatar: typeof import('kui-vue')['SkeletonAvatar']
|
|
185
|
+
KSkeletonAvatar: typeof import('kui-vue')['SkeletonAvatar']
|
|
186
|
+
SkeletonButton: typeof import('kui-vue')['SkeletonButton']
|
|
187
|
+
KSkeletonButton: typeof import('kui-vue')['SkeletonButton']
|
|
188
|
+
SkeletonImage: typeof import('kui-vue')['SkeletonImage']
|
|
189
|
+
KSkeletonImage: typeof import('kui-vue')['SkeletonImage']
|
|
190
|
+
SkeletonText: typeof import('kui-vue')['SkeletonText']
|
|
191
|
+
KSkeletonText: typeof import('kui-vue')['SkeletonText']
|
|
192
|
+
StatCard: typeof import('kui-vue')['StatCard']
|
|
193
|
+
KStatCard: typeof import('kui-vue')['StatCard']
|
|
194
|
+
StatNumber: typeof import('kui-vue')['StatNumber']
|
|
195
|
+
KStatNumber: typeof import('kui-vue')['StatNumber']
|
|
196
|
+
Slider: typeof import('kui-vue')['Slider']
|
|
197
|
+
KSlider: typeof import('kui-vue')['Slider']
|
|
198
|
+
Space: typeof import('kui-vue')['Space']
|
|
199
|
+
KSpace: typeof import('kui-vue')['Space']
|
|
200
|
+
Spin: typeof import('kui-vue')['Spin']
|
|
201
|
+
KSpin: typeof import('kui-vue')['Spin']
|
|
202
|
+
Step: typeof import('kui-vue')['Step']
|
|
203
|
+
KStep: typeof import('kui-vue')['Step']
|
|
204
|
+
Steps: typeof import('kui-vue')['Steps']
|
|
205
|
+
KSteps: typeof import('kui-vue')['Steps']
|
|
206
|
+
Switch: typeof import('kui-vue')['Switch']
|
|
207
|
+
KSwitch: typeof import('kui-vue')['Switch']
|
|
208
|
+
Splitter: typeof import('kui-vue')['Splitter']
|
|
209
|
+
KSplitter: typeof import('kui-vue')['Splitter']
|
|
210
|
+
SplitterPanel: typeof import('kui-vue')['SplitterPanel']
|
|
211
|
+
KSplitterPanel: typeof import('kui-vue')['SplitterPanel']
|
|
212
|
+
Table: typeof import('kui-vue')['Table']
|
|
213
|
+
KTable: typeof import('kui-vue')['Table']
|
|
214
|
+
TableColumnSetting: typeof import('kui-vue')['TableColumnSetting']
|
|
215
|
+
KTableColumnSetting: typeof import('kui-vue')['TableColumnSetting']
|
|
216
|
+
Kanban: typeof import('kui-vue')['Kanban']
|
|
217
|
+
TooltipPanel: typeof import('kui-vue')['TooltipPanel']
|
|
218
|
+
KTooltipPanel: typeof import('kui-vue')['TooltipPanel']
|
|
219
|
+
Tooltip: typeof import('kui-vue')['Tooltip']
|
|
220
|
+
KTooltip: typeof import('kui-vue')['Tooltip']
|
|
221
|
+
Tour: typeof import('kui-vue')['Tour']
|
|
222
|
+
KTour: typeof import('kui-vue')['Tour']
|
|
223
|
+
Transfer: typeof import('kui-vue')['Transfer']
|
|
224
|
+
KTransfer: typeof import('kui-vue')['Transfer']
|
|
225
|
+
Typography: typeof import('kui-vue')['Typography']
|
|
226
|
+
KTypography: typeof import('kui-vue')['Typography']
|
|
227
|
+
TypographyParagraph: typeof import('kui-vue')['TypographyParagraph']
|
|
228
|
+
KTypographyParagraph: typeof import('kui-vue')['TypographyParagraph']
|
|
229
|
+
TypographyText: typeof import('kui-vue')['TypographyText']
|
|
230
|
+
KTypographyText: typeof import('kui-vue')['TypographyText']
|
|
231
|
+
TypographyTitle: typeof import('kui-vue')['TypographyTitle']
|
|
232
|
+
KTypographyTitle: typeof import('kui-vue')['TypographyTitle']
|
|
233
|
+
TabPanel: typeof import('kui-vue')['TabPanel']
|
|
234
|
+
KTabPanel: typeof import('kui-vue')['TabPanel']
|
|
235
|
+
Tabs: typeof import('kui-vue')['Tabs']
|
|
236
|
+
KTabs: typeof import('kui-vue')['Tabs']
|
|
237
|
+
TimeLine: typeof import('kui-vue')['TimeLine']
|
|
238
|
+
KTimeLine: typeof import('kui-vue')['TimeLine']
|
|
239
|
+
TimeLineItem: typeof import('kui-vue')['TimeLineItem']
|
|
240
|
+
KTimeLineItem: typeof import('kui-vue')['TimeLineItem']
|
|
241
|
+
Tree: typeof import('kui-vue')['Tree']
|
|
242
|
+
KTree: typeof import('kui-vue')['Tree']
|
|
243
|
+
TreeSelect: typeof import('kui-vue')['TreeSelect']
|
|
244
|
+
KTreeSelect: typeof import('kui-vue')['TreeSelect']
|
|
245
|
+
Tag: typeof import('kui-vue')['Tag']
|
|
246
|
+
KTag: typeof import('kui-vue')['Tag']
|
|
247
|
+
Col: typeof import('kui-vue')['Col']
|
|
248
|
+
KCol: typeof import('kui-vue')['Col']
|
|
249
|
+
Row: typeof import('kui-vue')['Row']
|
|
250
|
+
KRow: typeof import('kui-vue')['Row']
|
|
251
|
+
Upload: typeof import('kui-vue')['Upload']
|
|
252
|
+
KUpload: typeof import('kui-vue')['Upload']
|
|
253
|
+
Watermark: typeof import('kui-vue')['Watermark']
|
|
254
|
+
KWatermark: typeof import('kui-vue')['Watermark']
|
|
255
|
+
VirtualList: typeof import('kui-vue')['VirtualList']
|
|
256
|
+
KVirtualList: typeof import('kui-vue')['VirtualList']
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
4
260
|
declare module '@vue/runtime-core' {
|
|
5
261
|
export interface GlobalComponents {
|
|
6
262
|
Affix: typeof import('kui-vue')['Affix']
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from "vue";
|
|
2
|
+
import type { GridResponsive } from "./useBreakpoint.cjs";
|
|
3
|
+
declare const gridItemProps: {
|
|
4
|
+
span: {
|
|
5
|
+
type: PropType<GridResponsive<number>>;
|
|
6
|
+
default: number;
|
|
7
|
+
};
|
|
8
|
+
rowSpan: {
|
|
9
|
+
type: PropType<GridResponsive<number>>;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
columnStart: {
|
|
13
|
+
type: PropType<GridResponsive<number>>;
|
|
14
|
+
};
|
|
15
|
+
rowStart: {
|
|
16
|
+
type: PropType<GridResponsive<number>>;
|
|
17
|
+
};
|
|
18
|
+
suffix: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type GridItemProps = Partial<ExtractPropTypes<typeof gridItemProps>> & HTMLAttributes;
|
|
24
|
+
declare const _default: DefineComponent<GridItemProps>;
|
|
25
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from "vue";
|
|
2
|
-
import type { GridResponsive } from "./useBreakpoint";
|
|
2
|
+
import type { GridResponsive } from "./useBreakpoint.js";
|
|
3
3
|
declare const gridItemProps: {
|
|
4
4
|
span: {
|
|
5
5
|
type: PropType<GridResponsive<number>>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types.cjs";
|
|
3
|
+
import type { GridResponsive } from "./useBreakpoint.cjs";
|
|
4
|
+
declare const gridProps: {
|
|
5
|
+
cols: {
|
|
6
|
+
type: PropType<GridResponsive<string | number>>;
|
|
7
|
+
default: number;
|
|
8
|
+
};
|
|
9
|
+
rows: {
|
|
10
|
+
type: PropType<GridResponsive<string | number>>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
autoRows: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
xGap: {
|
|
18
|
+
type: PropType<GridResponsive<string | number>>;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
yGap: {
|
|
22
|
+
type: PropType<GridResponsive<string | number>>;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
itemMinWidth: {
|
|
26
|
+
type: PropType<number | string>;
|
|
27
|
+
};
|
|
28
|
+
align: {
|
|
29
|
+
type: PropType<CSSProperties["alignItems"]>;
|
|
30
|
+
};
|
|
31
|
+
justify: {
|
|
32
|
+
type: PropType<CSSProperties["justifyItems"]>;
|
|
33
|
+
};
|
|
34
|
+
flow: {
|
|
35
|
+
type: PropType<CSSProperties["gridAutoFlow"]>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
debug: {
|
|
39
|
+
type: BooleanType;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export type GridProps = Partial<ExtractPropTypes<typeof gridProps>> & HTMLAttributes;
|
|
43
|
+
declare const _default: DefineComponent<GridProps>;
|
|
44
|
+
export default _default;
|
package/types/grid/grid.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from "vue";
|
|
2
|
-
import type { BooleanType } from "../const/types";
|
|
3
|
-
import type { GridResponsive } from "./useBreakpoint";
|
|
2
|
+
import type { BooleanType } from "../const/types.js";
|
|
3
|
+
import type { GridResponsive } from "./useBreakpoint.js";
|
|
4
4
|
declare const gridProps: {
|
|
5
5
|
cols: {
|
|
6
6
|
type: PropType<GridResponsive<string | number>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import Grid from "./grid.cjs";
|
|
2
|
+
import GridItem from "./grid-item.cjs";
|
|
3
|
+
export type { GridProps } from "./grid.cjs";
|
|
4
|
+
export type { GridItemProps } from "./grid-item.cjs";
|
|
5
|
+
export type { GridBreakpoint, GridResponsive } from "./useBreakpoint.cjs";
|
|
6
|
+
export { Grid, GridItem };
|
package/types/grid/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Grid from "./grid";
|
|
2
|
-
import GridItem from "./grid-item";
|
|
3
|
-
export type { GridProps } from "./grid";
|
|
4
|
-
export type { GridItemProps } from "./grid-item";
|
|
5
|
-
export type { GridBreakpoint, GridResponsive } from "./useBreakpoint";
|
|
1
|
+
import Grid from "./grid.js";
|
|
2
|
+
import GridItem from "./grid-item.js";
|
|
3
|
+
export type { GridProps } from "./grid.js";
|
|
4
|
+
export type { GridItemProps } from "./grid-item.js";
|
|
5
|
+
export type { GridBreakpoint, GridResponsive } from "./useBreakpoint.js";
|
|
6
6
|
export { Grid, GridItem };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InjectionKey, Ref } from "vue";
|
|
2
|
+
export type GridBreakpoint = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
3
|
+
export type GridResponsive<T> = T | Partial<Record<GridBreakpoint, T>>;
|
|
4
|
+
export interface GridContext {
|
|
5
|
+
breakpoint: Readonly<Ref<GridBreakpoint>>;
|
|
6
|
+
resolveResponsive: <T extends string | number>(value: GridResponsive<T> | undefined, fallback: T) => T;
|
|
7
|
+
}
|
|
8
|
+
export declare const GRID_KEY: InjectionKey<GridContext>;
|
|
9
|
+
export declare function useBreakpoint(elRef: Ref<HTMLElement | null>): Readonly<Ref<GridBreakpoint>>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types.cjs";
|
|
3
|
+
import type { IconType } from "./types.cjs";
|
|
4
|
+
declare const iconProps: {
|
|
5
|
+
type: PropType<IconType[]>;
|
|
6
|
+
size: (NumberConstructor | StringConstructor)[];
|
|
7
|
+
color: StringConstructor;
|
|
8
|
+
spin: BooleanType;
|
|
9
|
+
strokeWidth: {
|
|
10
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
reverseFill: BooleanType;
|
|
14
|
+
role: StringConstructor;
|
|
15
|
+
tabindex: NumberConstructor;
|
|
16
|
+
"aria-label": StringConstructor;
|
|
17
|
+
onPointerdown: PropType<(event: PointerEvent) => void>;
|
|
18
|
+
onKeydown: PropType<(event: KeyboardEvent) => void>;
|
|
19
|
+
onPointerup: PropType<(event: PointerEvent) => void>;
|
|
20
|
+
};
|
|
21
|
+
export type IconProps = ExtractPropTypes<typeof iconProps>;
|
|
22
|
+
declare const Icon: import("vue").DefineComponent<ExtractPropTypes<{
|
|
23
|
+
type: PropType<IconType[]>;
|
|
24
|
+
size: (NumberConstructor | StringConstructor)[];
|
|
25
|
+
color: StringConstructor;
|
|
26
|
+
spin: BooleanType;
|
|
27
|
+
strokeWidth: {
|
|
28
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
reverseFill: BooleanType;
|
|
32
|
+
role: StringConstructor;
|
|
33
|
+
tabindex: NumberConstructor;
|
|
34
|
+
"aria-label": StringConstructor;
|
|
35
|
+
onPointerdown: PropType<(event: PointerEvent) => void>;
|
|
36
|
+
onKeydown: PropType<(event: KeyboardEvent) => void>;
|
|
37
|
+
onPointerup: PropType<(event: PointerEvent) => void>;
|
|
38
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
click: (event: MouseEvent) => boolean;
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
41
|
+
type: PropType<IconType[]>;
|
|
42
|
+
size: (NumberConstructor | StringConstructor)[];
|
|
43
|
+
color: StringConstructor;
|
|
44
|
+
spin: BooleanType;
|
|
45
|
+
strokeWidth: {
|
|
46
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
reverseFill: BooleanType;
|
|
50
|
+
role: StringConstructor;
|
|
51
|
+
tabindex: NumberConstructor;
|
|
52
|
+
"aria-label": StringConstructor;
|
|
53
|
+
onPointerdown: PropType<(event: PointerEvent) => void>;
|
|
54
|
+
onKeydown: PropType<(event: KeyboardEvent) => void>;
|
|
55
|
+
onPointerup: PropType<(event: PointerEvent) => void>;
|
|
56
|
+
}>> & Readonly<{
|
|
57
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
58
|
+
}>, {
|
|
59
|
+
strokeWidth: string | number;
|
|
60
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
61
|
+
export default Icon;
|
|
62
|
+
export type { IconType } from "./types.cjs";
|
package/types/icon/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType } from "../const/types";
|
|
3
|
-
import type { IconType } from "./types";
|
|
2
|
+
import type { BooleanType } from "../const/types.js";
|
|
3
|
+
import type { IconType } from "./types.js";
|
|
4
4
|
declare const iconProps: {
|
|
5
5
|
type: PropType<IconType[]>;
|
|
6
6
|
size: (NumberConstructor | StringConstructor)[];
|
|
@@ -59,4 +59,4 @@ declare const Icon: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
59
59
|
strokeWidth: string | number;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
61
61
|
export default Icon;
|
|
62
|
-
export type { IconType } from "./types";
|
|
62
|
+
export type { IconType } from "./types.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InjectionKey, Slots } from "vue";
|
|
2
|
+
import type { ImagePreviewProps } from "./preview.cjs";
|
|
3
|
+
export interface ImageGroupContext {
|
|
4
|
+
show: (props: ImagePreviewProps, slots: Slots) => void;
|
|
5
|
+
togglePanel: () => void;
|
|
6
|
+
register: (src?: string) => void;
|
|
7
|
+
unregister: (src?: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const imageGroupKey: InjectionKey<ImageGroupContext>;
|
package/types/image/context.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { InjectionKey, Slots } from "vue";
|
|
2
|
-
import type { ImagePreviewProps } from "./preview";
|
|
2
|
+
import type { ImagePreviewProps } from "./preview.js";
|
|
3
3
|
export interface ImageGroupContext {
|
|
4
4
|
show: (props: ImagePreviewProps, slots: Slots) => void;
|
|
5
5
|
togglePanel: () => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
declare const imageGroupProps: {
|
|
3
|
+
data: PropType<string[]>;
|
|
4
|
+
};
|
|
5
|
+
export type ImageGroupProps = ExtractPropTypes<typeof imageGroupProps>;
|
|
6
|
+
declare const ImageGroup: import("vue").DefineComponent<ExtractPropTypes<{
|
|
7
|
+
data: PropType<string[]>;
|
|
8
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
9
|
+
data: PropType<string[]>;
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export default ImageGroup;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { type CSSProperties, type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, ShapeType, SurfaceThemeType } from "../const/types.cjs";
|
|
3
|
+
import type { ImageType } from "./preview.cjs";
|
|
4
|
+
declare const imageProps: {
|
|
5
|
+
alt: StringConstructor;
|
|
6
|
+
src: StringConstructor;
|
|
7
|
+
type: PropType<ImageType>;
|
|
8
|
+
origin: StringConstructor;
|
|
9
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
10
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
11
|
+
placeholder: StringConstructor;
|
|
12
|
+
data: PropType<string[]>;
|
|
13
|
+
imgStyle: PropType<CSSProperties>;
|
|
14
|
+
showPanel: BooleanType;
|
|
15
|
+
theme: {
|
|
16
|
+
type: PropType<SurfaceThemeType>;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
shape: {
|
|
20
|
+
type: PropType<ShapeType>;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export type ImageProps = ExtractPropTypes<typeof imageProps>;
|
|
25
|
+
declare const Image: import("vue").DefineComponent<ExtractPropTypes<{
|
|
26
|
+
alt: StringConstructor;
|
|
27
|
+
src: StringConstructor;
|
|
28
|
+
type: PropType<ImageType>;
|
|
29
|
+
origin: StringConstructor;
|
|
30
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
31
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
32
|
+
placeholder: StringConstructor;
|
|
33
|
+
data: PropType<string[]>;
|
|
34
|
+
imgStyle: PropType<CSSProperties>;
|
|
35
|
+
showPanel: BooleanType;
|
|
36
|
+
theme: {
|
|
37
|
+
type: PropType<SurfaceThemeType>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
shape: {
|
|
41
|
+
type: PropType<ShapeType>;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
44
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
|
+
close: () => true;
|
|
46
|
+
switch: (index: number) => boolean;
|
|
47
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
48
|
+
alt: StringConstructor;
|
|
49
|
+
src: StringConstructor;
|
|
50
|
+
type: PropType<ImageType>;
|
|
51
|
+
origin: StringConstructor;
|
|
52
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
53
|
+
width: (NumberConstructor | StringConstructor)[];
|
|
54
|
+
placeholder: StringConstructor;
|
|
55
|
+
data: PropType<string[]>;
|
|
56
|
+
imgStyle: PropType<CSSProperties>;
|
|
57
|
+
showPanel: BooleanType;
|
|
58
|
+
theme: {
|
|
59
|
+
type: PropType<SurfaceThemeType>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
shape: {
|
|
63
|
+
type: PropType<ShapeType>;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
}>> & Readonly<{
|
|
67
|
+
onSwitch?: ((index: number) => any) | undefined;
|
|
68
|
+
onClose?: (() => any) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
theme: SurfaceThemeType;
|
|
71
|
+
shape: ShapeType;
|
|
72
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
|
+
export default Image;
|
package/types/image/image.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type CSSProperties, type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, ShapeType,
|
|
3
|
-
import type { ImageType } from "./preview";
|
|
2
|
+
import type { BooleanType, ShapeType, SurfaceThemeType } from "../const/types.js";
|
|
3
|
+
import type { ImageType } from "./preview.js";
|
|
4
4
|
declare const imageProps: {
|
|
5
5
|
alt: StringConstructor;
|
|
6
6
|
src: StringConstructor;
|
|
@@ -13,7 +13,7 @@ declare const imageProps: {
|
|
|
13
13
|
imgStyle: PropType<CSSProperties>;
|
|
14
14
|
showPanel: BooleanType;
|
|
15
15
|
theme: {
|
|
16
|
-
type: PropType<
|
|
16
|
+
type: PropType<SurfaceThemeType>;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
shape: {
|
|
@@ -34,7 +34,7 @@ declare const Image: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
34
34
|
imgStyle: PropType<CSSProperties>;
|
|
35
35
|
showPanel: BooleanType;
|
|
36
36
|
theme: {
|
|
37
|
-
type: PropType<
|
|
37
|
+
type: PropType<SurfaceThemeType>;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
40
|
shape: {
|
|
@@ -56,7 +56,7 @@ declare const Image: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
56
56
|
imgStyle: PropType<CSSProperties>;
|
|
57
57
|
showPanel: BooleanType;
|
|
58
58
|
theme: {
|
|
59
|
-
type: PropType<
|
|
59
|
+
type: PropType<SurfaceThemeType>;
|
|
60
60
|
default: string;
|
|
61
61
|
};
|
|
62
62
|
shape: {
|
|
@@ -67,7 +67,7 @@ declare const Image: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
67
67
|
onSwitch?: ((index: number) => any) | undefined;
|
|
68
68
|
onClose?: (() => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
-
theme:
|
|
70
|
+
theme: SurfaceThemeType;
|
|
71
71
|
shape: ShapeType;
|
|
72
72
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
73
|
export default Image;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import ImageGroup from "./group.cjs";
|
|
2
|
+
import Image from "./image.cjs";
|
|
3
|
+
export type { ImageGroupProps } from "./group.cjs";
|
|
4
|
+
export type { ImageProps } from "./image.cjs";
|
|
5
|
+
export type { ImagePreviewProps, ImageType } from "./preview.cjs";
|
|
6
|
+
export { Image, ImageGroup };
|
package/types/image/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import ImageGroup from "./group";
|
|
2
|
-
import Image from "./image";
|
|
3
|
-
export type { ImageGroupProps } from "./group";
|
|
4
|
-
export type { ImageProps } from "./image";
|
|
5
|
-
export type { ImagePreviewProps, ImageType } from "./preview";
|
|
1
|
+
import ImageGroup from "./group.js";
|
|
2
|
+
import Image from "./image.js";
|
|
3
|
+
export type { ImageGroupProps } from "./group.js";
|
|
4
|
+
export type { ImageProps } from "./image.js";
|
|
5
|
+
export type { ImagePreviewProps, ImageType } from "./preview.js";
|
|
6
6
|
export { Image, ImageGroup };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type Slots } from "vue";
|
|
2
|
+
import type { ImagePreviewProps } from "./preview.cjs";
|
|
3
|
+
export interface ImagePreviewInstance {
|
|
4
|
+
show: (props: ImagePreviewProps, slots?: Slots) => void;
|
|
5
|
+
close: () => void;
|
|
6
|
+
togglePanel: () => void;
|
|
7
|
+
destroy: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const createInstance: (props: {} | undefined, slots: Slots) => {
|
|
10
|
+
show(options: ImagePreviewProps, nextSlots: Readonly<{
|
|
11
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
12
|
+
}> | undefined): void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
togglePanel: () => void;
|
|
15
|
+
destroy(): void;
|
|
16
|
+
} | null;
|
|
17
|
+
export default createInstance;
|