kui-vue 6.3.0 → 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 +6 -6
- package/dist/index.js +2 -2
- package/es/index.js +23 -10
- package/es/locale/de.js +1 -1
- package/es/locale/el.js +1 -1
- package/es/locale/en.js +1 -1
- package/es/locale/fr.js +1 -1
- package/es/locale/it.js +1 -1
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.js +1 -1
- package/es/locale/th.js +1 -1
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.js +1 -1
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +1 -1
- package/lib/locale/el.cjs +1 -1
- package/lib/locale/en.cjs +1 -1
- package/lib/locale/fr.cjs +1 -1
- package/lib/locale/it.cjs +1 -1
- package/lib/locale/ja.cjs +1 -1
- package/lib/locale/ko.cjs +1 -1
- package/lib/locale/ru.cjs +1 -1
- package/lib/locale/th.cjs +1 -1
- package/lib/locale/uk.cjs +1 -1
- package/lib/locale/vi.cjs +1 -1
- package/lib/locale/zh-CN.cjs +1 -1
- package/lib/locale/zh-TW.cjs +1 -1
- package/package.json +3 -3
- package/style/base.css +1 -1
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/motion.css +1 -1
- package/style/theme.css +1 -1
- package/types/affix/index.d.cts +42 -0
- package/types/alert/index.d.cts +84 -0
- package/types/alert/index.d.ts +2 -2
- 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 +1 -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 +2 -2
- 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 +2 -2
- 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 +4 -4
- 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 +23 -23
- package/types/cascader/types.d.cts +76 -0
- package/types/cascader/types.d.ts +2 -2
- package/types/check-card/check-card-group.d.cts +80 -0
- package/types/check-card/check-card-group.d.ts +2 -2
- package/types/check-card/check-card.d.cts +113 -0
- package/types/check-card/check-card.d.ts +3 -3
- package/types/check-card/context.d.cts +20 -0
- package/types/check-card/context.d.ts +2 -2
- 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 +2 -2
- package/types/checkbox/checkbox-group.d.cts +87 -0
- package/types/checkbox/checkbox-group.d.ts +2 -2
- package/types/checkbox/checkbox.d.cts +68 -0
- package/types/checkbox/checkbox.d.ts +2 -2
- 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 +2 -2
- 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 +4 -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 +1 -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 +1 -1
- package/types/const/var.d.cts +6 -0
- package/types/date-picker/index.d.cts +334 -0
- package/types/date-picker/index.d.ts +3 -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 +1 -1
- package/types/dropdown/dropdown-button.d.cts +65 -0
- package/types/dropdown/dropdown-button.d.ts +2 -2
- package/types/dropdown/dropdown-context.d.cts +16 -0
- package/types/dropdown/dropdown.d.cts +80 -0
- package/types/dropdown/dropdown.d.ts +1 -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 +2 -2
- package/types/empty/index.d.cts +12 -0
- package/types/feature-card/index.d.cts +101 -0
- package/types/feature-card/index.d.ts +2 -2
- package/types/feedback-panel/feedback-panel.d.cts +64 -0
- package/types/feedback-panel/feedback-panel.d.ts +3 -3
- 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/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 +2 -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/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 +2 -2
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +3 -3
- package/types/loading/index.d.cts +11 -0
- package/types/mentions/index.d.cts +167 -0
- package/types/mentions/index.d.ts +1 -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.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 +3 -3
- package/types/modal/modal.d.cts +178 -0
- package/types/modal/modal.d.ts +2 -2
- package/types/modal/toast.d.cts +37 -0
- package/types/modal/toast.d.ts +2 -2
- 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 +1 -1
- 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 +2 -2
- package/types/poptip/index.d.cts +80 -0
- package/types/poptip/index.d.ts +2 -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/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 +2 -2
- 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 +3 -3
- package/types/radio/radio-group.d.cts +36 -0
- package/types/radio/radio-group.d.ts +2 -2
- package/types/radio/radio.d.cts +84 -0
- package/types/radio/radio.d.ts +2 -2
- 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/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 +4 -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 +3 -3
- 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/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/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 +5 -5
- package/types/table/types.d.cts +39 -0
- package/types/table/utils.d.cts +89 -0
- package/types/table/utils.d.ts +1 -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 +2 -2
- 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 +2 -2
- package/types/tour/index.d.cts +122 -0
- package/types/transfer/index.d.cts +129 -0
- package/types/transfer/index.d.ts +1 -1
- package/types/tree/context.d.cts +6 -0
- package/types/tree/index.d.cts +166 -0
- package/types/tree/index.d.ts +5 -5
- 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 +4 -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/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-stack.d.cts +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/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/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 +4 -4
- package/vetur/web-types.json +5 -5
package/types/form/form.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ExtractPropTypes, PropType } from "vue";
|
|
2
|
-
import type { BooleanType, DirectionType, ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
|
-
import type { ColProps, FormRules, FormSubmitEvent } from "./types";
|
|
2
|
+
import type { BooleanType, DirectionType, ShapeType, SizeType, ThemeType } from "../const/types.js";
|
|
3
|
+
import type { ColProps, FormRules, FormSubmitEvent } from "./types.js";
|
|
4
4
|
declare const formProps: {
|
|
5
5
|
layout: {
|
|
6
6
|
type: PropType<DirectionType>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import Form from "./form.cjs";
|
|
2
|
+
import type { FormExpose } from "./types.cjs";
|
|
3
|
+
import FormItem from "./form-item.cjs";
|
|
4
|
+
export type { FormProps } from "./form.cjs";
|
|
5
|
+
export type { FormRules, FormSubmitEvent, FormExpose, FormValidateTrigger } from "./types.cjs";
|
|
6
|
+
export type { FormItemProps } from "./form-item.cjs";
|
|
7
|
+
export { Form, FormItem };
|
|
8
|
+
export type FormContext = InstanceType<typeof Form> & FormExpose;
|
package/types/form/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Form from "./form";
|
|
2
|
-
import type { FormExpose } from "./types";
|
|
3
|
-
import FormItem from "./form-item";
|
|
4
|
-
export type { FormProps } from "./form";
|
|
5
|
-
export type { FormRules, FormSubmitEvent, FormExpose, FormValidateTrigger } from "./types";
|
|
6
|
-
export type { FormItemProps } from "./form-item";
|
|
1
|
+
import Form from "./form.js";
|
|
2
|
+
import type { FormExpose } from "./types.js";
|
|
3
|
+
import FormItem from "./form-item.js";
|
|
4
|
+
export type { FormProps } from "./form.js";
|
|
5
|
+
export type { FormRules, FormSubmitEvent, FormExpose, FormValidateTrigger } from "./types.js";
|
|
6
|
+
export type { FormItemProps } from "./form-item.js";
|
|
7
7
|
export { Form, FormItem };
|
|
8
8
|
export type FormContext = InstanceType<typeof Form> & FormExpose;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface ColProps {
|
|
2
|
+
span?: number;
|
|
3
|
+
offset?: number;
|
|
4
|
+
}
|
|
5
|
+
/** 校验触发时机 */
|
|
6
|
+
export type FormValidateTrigger = "blur" | "change";
|
|
7
|
+
export interface FormRule {
|
|
8
|
+
required?: boolean;
|
|
9
|
+
message?: string;
|
|
10
|
+
validator?: (rule: FormRule, value: unknown, callback: (error?: Error) => void) => void | Promise<void>;
|
|
11
|
+
pattern?: RegExp;
|
|
12
|
+
type?: "mobile" | "mail" | "number";
|
|
13
|
+
min?: number;
|
|
14
|
+
max?: number;
|
|
15
|
+
/** 该规则在何时触发校验,未设置时默认在 `change` 时校验 */
|
|
16
|
+
trigger?: FormValidateTrigger | FormValidateTrigger[];
|
|
17
|
+
}
|
|
18
|
+
export type FormRules = Record<string, FormRule | FormRule[]>;
|
|
19
|
+
export interface FormSubmitEvent {
|
|
20
|
+
valid: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface FormExpose {
|
|
23
|
+
validate: (callback?: (result: FormSubmitEvent) => void) => Promise<FormSubmitEvent>;
|
|
24
|
+
reset: () => void;
|
|
25
|
+
test: (key: string, trigger?: FormValidateTrigger) => Promise<boolean> | undefined;
|
|
26
|
+
submit: () => Promise<void>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,516 @@
|
|
|
1
|
+
|
|
2
|
+
/* eslint-disable @typescript-eslint/consistent-type-imports */
|
|
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
|
+
|
|
260
|
+
declare module '@vue/runtime-core' {
|
|
261
|
+
export interface GlobalComponents {
|
|
262
|
+
Affix: typeof import('kui-vue')['Affix']
|
|
263
|
+
KAffix: typeof import('kui-vue')['Affix']
|
|
264
|
+
Popup: typeof import('kui-vue')['Popup']
|
|
265
|
+
KPopup: typeof import('kui-vue')['Popup']
|
|
266
|
+
Alert: typeof import('kui-vue')['Alert']
|
|
267
|
+
KAlert: typeof import('kui-vue')['Alert']
|
|
268
|
+
AutoComplete: typeof import('kui-vue')['AutoComplete']
|
|
269
|
+
KAutoComplete: typeof import('kui-vue')['AutoComplete']
|
|
270
|
+
Anchor: typeof import('kui-vue')['Anchor']
|
|
271
|
+
KAnchor: typeof import('kui-vue')['Anchor']
|
|
272
|
+
AnchorLink: typeof import('kui-vue')['AnchorLink']
|
|
273
|
+
KAnchorLink: typeof import('kui-vue')['AnchorLink']
|
|
274
|
+
Avatar: typeof import('kui-vue')['Avatar']
|
|
275
|
+
KAvatar: typeof import('kui-vue')['Avatar']
|
|
276
|
+
AvatarGroup: typeof import('kui-vue')['AvatarGroup']
|
|
277
|
+
KAvatarGroup: typeof import('kui-vue')['AvatarGroup']
|
|
278
|
+
Breadcrumb: typeof import('kui-vue')['Breadcrumb']
|
|
279
|
+
KBreadcrumb: typeof import('kui-vue')['Breadcrumb']
|
|
280
|
+
BreadcrumbItem: typeof import('kui-vue')['BreadcrumbItem']
|
|
281
|
+
KBreadcrumbItem: typeof import('kui-vue')['BreadcrumbItem']
|
|
282
|
+
BackTop: typeof import('kui-vue')['BackTop']
|
|
283
|
+
KBackTop: typeof import('kui-vue')['BackTop']
|
|
284
|
+
Badge: typeof import('kui-vue')['Badge']
|
|
285
|
+
KBadge: typeof import('kui-vue')['Badge']
|
|
286
|
+
Button: typeof import('kui-vue')['Button']
|
|
287
|
+
KButton: typeof import('kui-vue')['Button']
|
|
288
|
+
ButtonGroup: typeof import('kui-vue')['ButtonGroup']
|
|
289
|
+
KButtonGroup: typeof import('kui-vue')['ButtonGroup']
|
|
290
|
+
Cascader: typeof import('kui-vue')['Cascader']
|
|
291
|
+
KCascader: typeof import('kui-vue')['Cascader']
|
|
292
|
+
Card: typeof import('kui-vue')['Card']
|
|
293
|
+
KCard: typeof import('kui-vue')['Card']
|
|
294
|
+
CardMeta: typeof import('kui-vue')['CardMeta']
|
|
295
|
+
KCardMeta: typeof import('kui-vue')['CardMeta']
|
|
296
|
+
Calendar: typeof import('kui-vue')['Calendar']
|
|
297
|
+
KCalendar: typeof import('kui-vue')['Calendar']
|
|
298
|
+
FeatureCard: typeof import('kui-vue')['FeatureCard']
|
|
299
|
+
KFeatureCard: typeof import('kui-vue')['FeatureCard']
|
|
300
|
+
FlameWrap: typeof import('kui-vue')['FlameWrap']
|
|
301
|
+
KFlameWrap: typeof import('kui-vue')['FlameWrap']
|
|
302
|
+
ListPanel: typeof import('kui-vue')['ListPanel']
|
|
303
|
+
KListPanel: typeof import('kui-vue')['ListPanel']
|
|
304
|
+
Carousel: typeof import('kui-vue')['Carousel']
|
|
305
|
+
KCarousel: typeof import('kui-vue')['Carousel']
|
|
306
|
+
CarouselItem: typeof import('kui-vue')['CarouselItem']
|
|
307
|
+
KCarouselItem: typeof import('kui-vue')['CarouselItem']
|
|
308
|
+
Checkbox: typeof import('kui-vue')['Checkbox']
|
|
309
|
+
KCheckbox: typeof import('kui-vue')['Checkbox']
|
|
310
|
+
CheckboxGroup: typeof import('kui-vue')['CheckboxGroup']
|
|
311
|
+
KCheckboxGroup: typeof import('kui-vue')['CheckboxGroup']
|
|
312
|
+
CheckCard: typeof import('kui-vue')['CheckCard']
|
|
313
|
+
KCheckCard: typeof import('kui-vue')['CheckCard']
|
|
314
|
+
CheckCardGroup: typeof import('kui-vue')['CheckCardGroup']
|
|
315
|
+
KCheckCardGroup: typeof import('kui-vue')['CheckCardGroup']
|
|
316
|
+
Collapse: typeof import('kui-vue')['Collapse']
|
|
317
|
+
KCollapse: typeof import('kui-vue')['Collapse']
|
|
318
|
+
CollapsePanel: typeof import('kui-vue')['CollapsePanel']
|
|
319
|
+
KCollapsePanel: typeof import('kui-vue')['CollapsePanel']
|
|
320
|
+
ColorPickerPanel: typeof import('kui-vue')['ColorPickerPanel']
|
|
321
|
+
KColorPickerPanel: typeof import('kui-vue')['ColorPickerPanel']
|
|
322
|
+
ColorPicker: typeof import('kui-vue')['ColorPicker']
|
|
323
|
+
KColorPicker: typeof import('kui-vue')['ColorPicker']
|
|
324
|
+
DatePickerPanel: typeof import('kui-vue')['DatePickerPanel']
|
|
325
|
+
KDatePickerPanel: typeof import('kui-vue')['DatePickerPanel']
|
|
326
|
+
DatePicker: typeof import('kui-vue')['DatePicker']
|
|
327
|
+
KDatePicker: typeof import('kui-vue')['DatePicker']
|
|
328
|
+
Descriptions: typeof import('kui-vue')['Descriptions']
|
|
329
|
+
KDescriptions: typeof import('kui-vue')['Descriptions']
|
|
330
|
+
DescriptionsItem: typeof import('kui-vue')['DescriptionsItem']
|
|
331
|
+
KDescriptionsItem: typeof import('kui-vue')['DescriptionsItem']
|
|
332
|
+
Drawer: typeof import('kui-vue')['Drawer']
|
|
333
|
+
KDrawer: typeof import('kui-vue')['Drawer']
|
|
334
|
+
Dropdown: typeof import('kui-vue')['Dropdown']
|
|
335
|
+
KDropdown: typeof import('kui-vue')['Dropdown']
|
|
336
|
+
DropdownButton: typeof import('kui-vue')['DropdownButton']
|
|
337
|
+
KDropdownButton: typeof import('kui-vue')['DropdownButton']
|
|
338
|
+
Divider: typeof import('kui-vue')['Divider']
|
|
339
|
+
KDivider: typeof import('kui-vue')['Divider']
|
|
340
|
+
Empty: typeof import('kui-vue')['Empty']
|
|
341
|
+
KEmpty: typeof import('kui-vue')['Empty']
|
|
342
|
+
Form: typeof import('kui-vue')['Form']
|
|
343
|
+
KForm: typeof import('kui-vue')['Form']
|
|
344
|
+
FormItem: typeof import('kui-vue')['FormItem']
|
|
345
|
+
KFormItem: typeof import('kui-vue')['FormItem']
|
|
346
|
+
Flex: typeof import('kui-vue')['Flex']
|
|
347
|
+
KFlex: typeof import('kui-vue')['Flex']
|
|
348
|
+
Grid: typeof import('kui-vue')['Grid']
|
|
349
|
+
KGrid: typeof import('kui-vue')['Grid']
|
|
350
|
+
GridItem: typeof import('kui-vue')['GridItem']
|
|
351
|
+
KGridItem: typeof import('kui-vue')['GridItem']
|
|
352
|
+
Image: typeof import('kui-vue')['Image']
|
|
353
|
+
KImage: typeof import('kui-vue')['Image']
|
|
354
|
+
ImageGroup: typeof import('kui-vue')['ImageGroup']
|
|
355
|
+
KImageGroup: typeof import('kui-vue')['ImageGroup']
|
|
356
|
+
Icon: typeof import('kui-vue')['Icon']
|
|
357
|
+
KIcon: typeof import('kui-vue')['Icon']
|
|
358
|
+
Input: typeof import('kui-vue')['Input']
|
|
359
|
+
KInput: typeof import('kui-vue')['Input']
|
|
360
|
+
InputGroup: typeof import('kui-vue')['InputGroup']
|
|
361
|
+
KInputGroup: typeof import('kui-vue')['InputGroup']
|
|
362
|
+
TextArea: typeof import('kui-vue')['TextArea']
|
|
363
|
+
KTextArea: typeof import('kui-vue')['TextArea']
|
|
364
|
+
InputTag: typeof import('kui-vue')['InputTag']
|
|
365
|
+
KInputTag: typeof import('kui-vue')['InputTag']
|
|
366
|
+
InputOTP: typeof import('kui-vue')['InputOTP']
|
|
367
|
+
KInputOTP: typeof import('kui-vue')['InputOTP']
|
|
368
|
+
InputNumber: typeof import('kui-vue')['InputNumber']
|
|
369
|
+
KInputNumber: typeof import('kui-vue')['InputNumber']
|
|
370
|
+
Content: typeof import('kui-vue')['Content']
|
|
371
|
+
KContent: typeof import('kui-vue')['Content']
|
|
372
|
+
Footer: typeof import('kui-vue')['Footer']
|
|
373
|
+
KFooter: typeof import('kui-vue')['Footer']
|
|
374
|
+
Header: typeof import('kui-vue')['Header']
|
|
375
|
+
KHeader: typeof import('kui-vue')['Header']
|
|
376
|
+
Layout: typeof import('kui-vue')['Layout']
|
|
377
|
+
KLayout: typeof import('kui-vue')['Layout']
|
|
378
|
+
Sider: typeof import('kui-vue')['Sider']
|
|
379
|
+
KSider: typeof import('kui-vue')['Sider']
|
|
380
|
+
Menu: typeof import('kui-vue')['Menu']
|
|
381
|
+
KMenu: typeof import('kui-vue')['Menu']
|
|
382
|
+
MenuDivider: typeof import('kui-vue')['MenuDivider']
|
|
383
|
+
KMenuDivider: typeof import('kui-vue')['MenuDivider']
|
|
384
|
+
MenuGroup: typeof import('kui-vue')['MenuGroup']
|
|
385
|
+
KMenuGroup: typeof import('kui-vue')['MenuGroup']
|
|
386
|
+
MenuItem: typeof import('kui-vue')['MenuItem']
|
|
387
|
+
KMenuItem: typeof import('kui-vue')['MenuItem']
|
|
388
|
+
SubMenu: typeof import('kui-vue')['SubMenu']
|
|
389
|
+
KSubMenu: typeof import('kui-vue')['SubMenu']
|
|
390
|
+
Mentions: typeof import('kui-vue')['Mentions']
|
|
391
|
+
KMentions: typeof import('kui-vue')['Mentions']
|
|
392
|
+
MessagePanel: typeof import('kui-vue')['MessagePanel']
|
|
393
|
+
KMessagePanel: typeof import('kui-vue')['MessagePanel']
|
|
394
|
+
NoticePanel: typeof import('kui-vue')['NoticePanel']
|
|
395
|
+
KNoticePanel: typeof import('kui-vue')['NoticePanel']
|
|
396
|
+
ModalPanel: typeof import('kui-vue')['ModalPanel']
|
|
397
|
+
KModalPanel: typeof import('kui-vue')['ModalPanel']
|
|
398
|
+
Modal: typeof import('kui-vue')['Modal']
|
|
399
|
+
KModal: typeof import('kui-vue')['Modal']
|
|
400
|
+
Page: typeof import('kui-vue')['Page']
|
|
401
|
+
KPage: typeof import('kui-vue')['Page']
|
|
402
|
+
PageHeader: typeof import('kui-vue')['PageHeader']
|
|
403
|
+
KPageHeader: typeof import('kui-vue')['PageHeader']
|
|
404
|
+
PoptipPanel: typeof import('kui-vue')['PoptipPanel']
|
|
405
|
+
KPoptipPanel: typeof import('kui-vue')['PoptipPanel']
|
|
406
|
+
Poptip: typeof import('kui-vue')['Poptip']
|
|
407
|
+
KPoptip: typeof import('kui-vue')['Poptip']
|
|
408
|
+
PopconfirmPanel: typeof import('kui-vue')['PopconfirmPanel']
|
|
409
|
+
KPopconfirmPanel: typeof import('kui-vue')['PopconfirmPanel']
|
|
410
|
+
Popconfirm: typeof import('kui-vue')['Popconfirm']
|
|
411
|
+
KPopconfirm: typeof import('kui-vue')['Popconfirm']
|
|
412
|
+
Progress: typeof import('kui-vue')['Progress']
|
|
413
|
+
KProgress: typeof import('kui-vue')['Progress']
|
|
414
|
+
Ripple: typeof import('kui-vue')['Ripple']
|
|
415
|
+
KRipple: typeof import('kui-vue')['Ripple']
|
|
416
|
+
QRCode: typeof import('kui-vue')['QRCode']
|
|
417
|
+
KQRCode: typeof import('kui-vue')['QRCode']
|
|
418
|
+
Radio: typeof import('kui-vue')['Radio']
|
|
419
|
+
KRadio: typeof import('kui-vue')['Radio']
|
|
420
|
+
RadioButton: typeof import('kui-vue')['RadioButton']
|
|
421
|
+
KRadioButton: typeof import('kui-vue')['RadioButton']
|
|
422
|
+
RadioGroup: typeof import('kui-vue')['RadioGroup']
|
|
423
|
+
KRadioGroup: typeof import('kui-vue')['RadioGroup']
|
|
424
|
+
Segmented: typeof import('kui-vue')['Segmented']
|
|
425
|
+
KSegmented: typeof import('kui-vue')['Segmented']
|
|
426
|
+
Rate: typeof import('kui-vue')['Rate']
|
|
427
|
+
KRate: typeof import('kui-vue')['Rate']
|
|
428
|
+
Result: typeof import('kui-vue')['Result']
|
|
429
|
+
KResult: typeof import('kui-vue')['Result']
|
|
430
|
+
FeedbackPanel: typeof import('kui-vue')['FeedbackPanel']
|
|
431
|
+
KFeedbackPanel: typeof import('kui-vue')['FeedbackPanel']
|
|
432
|
+
Option: typeof import('kui-vue')['Option']
|
|
433
|
+
KOption: typeof import('kui-vue')['Option']
|
|
434
|
+
Select: typeof import('kui-vue')['Select']
|
|
435
|
+
KSelect: typeof import('kui-vue')['Select']
|
|
436
|
+
ConfigProvider: typeof import('kui-vue')['ConfigProvider']
|
|
437
|
+
KConfigProvider: typeof import('kui-vue')['ConfigProvider']
|
|
438
|
+
Skeleton: typeof import('kui-vue')['Skeleton']
|
|
439
|
+
KSkeleton: typeof import('kui-vue')['Skeleton']
|
|
440
|
+
SkeletonAvatar: typeof import('kui-vue')['SkeletonAvatar']
|
|
441
|
+
KSkeletonAvatar: typeof import('kui-vue')['SkeletonAvatar']
|
|
442
|
+
SkeletonButton: typeof import('kui-vue')['SkeletonButton']
|
|
443
|
+
KSkeletonButton: typeof import('kui-vue')['SkeletonButton']
|
|
444
|
+
SkeletonImage: typeof import('kui-vue')['SkeletonImage']
|
|
445
|
+
KSkeletonImage: typeof import('kui-vue')['SkeletonImage']
|
|
446
|
+
SkeletonText: typeof import('kui-vue')['SkeletonText']
|
|
447
|
+
KSkeletonText: typeof import('kui-vue')['SkeletonText']
|
|
448
|
+
StatCard: typeof import('kui-vue')['StatCard']
|
|
449
|
+
KStatCard: typeof import('kui-vue')['StatCard']
|
|
450
|
+
StatNumber: typeof import('kui-vue')['StatNumber']
|
|
451
|
+
KStatNumber: typeof import('kui-vue')['StatNumber']
|
|
452
|
+
Slider: typeof import('kui-vue')['Slider']
|
|
453
|
+
KSlider: typeof import('kui-vue')['Slider']
|
|
454
|
+
Space: typeof import('kui-vue')['Space']
|
|
455
|
+
KSpace: typeof import('kui-vue')['Space']
|
|
456
|
+
Spin: typeof import('kui-vue')['Spin']
|
|
457
|
+
KSpin: typeof import('kui-vue')['Spin']
|
|
458
|
+
Step: typeof import('kui-vue')['Step']
|
|
459
|
+
KStep: typeof import('kui-vue')['Step']
|
|
460
|
+
Steps: typeof import('kui-vue')['Steps']
|
|
461
|
+
KSteps: typeof import('kui-vue')['Steps']
|
|
462
|
+
Switch: typeof import('kui-vue')['Switch']
|
|
463
|
+
KSwitch: typeof import('kui-vue')['Switch']
|
|
464
|
+
Splitter: typeof import('kui-vue')['Splitter']
|
|
465
|
+
KSplitter: typeof import('kui-vue')['Splitter']
|
|
466
|
+
SplitterPanel: typeof import('kui-vue')['SplitterPanel']
|
|
467
|
+
KSplitterPanel: typeof import('kui-vue')['SplitterPanel']
|
|
468
|
+
Table: typeof import('kui-vue')['Table']
|
|
469
|
+
KTable: typeof import('kui-vue')['Table']
|
|
470
|
+
TableColumnSetting: typeof import('kui-vue')['TableColumnSetting']
|
|
471
|
+
KTableColumnSetting: typeof import('kui-vue')['TableColumnSetting']
|
|
472
|
+
Kanban: typeof import('kui-vue')['Kanban']
|
|
473
|
+
TooltipPanel: typeof import('kui-vue')['TooltipPanel']
|
|
474
|
+
KTooltipPanel: typeof import('kui-vue')['TooltipPanel']
|
|
475
|
+
Tooltip: typeof import('kui-vue')['Tooltip']
|
|
476
|
+
KTooltip: typeof import('kui-vue')['Tooltip']
|
|
477
|
+
Tour: typeof import('kui-vue')['Tour']
|
|
478
|
+
KTour: typeof import('kui-vue')['Tour']
|
|
479
|
+
Transfer: typeof import('kui-vue')['Transfer']
|
|
480
|
+
KTransfer: typeof import('kui-vue')['Transfer']
|
|
481
|
+
Typography: typeof import('kui-vue')['Typography']
|
|
482
|
+
KTypography: typeof import('kui-vue')['Typography']
|
|
483
|
+
TypographyParagraph: typeof import('kui-vue')['TypographyParagraph']
|
|
484
|
+
KTypographyParagraph: typeof import('kui-vue')['TypographyParagraph']
|
|
485
|
+
TypographyText: typeof import('kui-vue')['TypographyText']
|
|
486
|
+
KTypographyText: typeof import('kui-vue')['TypographyText']
|
|
487
|
+
TypographyTitle: typeof import('kui-vue')['TypographyTitle']
|
|
488
|
+
KTypographyTitle: typeof import('kui-vue')['TypographyTitle']
|
|
489
|
+
TabPanel: typeof import('kui-vue')['TabPanel']
|
|
490
|
+
KTabPanel: typeof import('kui-vue')['TabPanel']
|
|
491
|
+
Tabs: typeof import('kui-vue')['Tabs']
|
|
492
|
+
KTabs: typeof import('kui-vue')['Tabs']
|
|
493
|
+
TimeLine: typeof import('kui-vue')['TimeLine']
|
|
494
|
+
KTimeLine: typeof import('kui-vue')['TimeLine']
|
|
495
|
+
TimeLineItem: typeof import('kui-vue')['TimeLineItem']
|
|
496
|
+
KTimeLineItem: typeof import('kui-vue')['TimeLineItem']
|
|
497
|
+
Tree: typeof import('kui-vue')['Tree']
|
|
498
|
+
KTree: typeof import('kui-vue')['Tree']
|
|
499
|
+
TreeSelect: typeof import('kui-vue')['TreeSelect']
|
|
500
|
+
KTreeSelect: typeof import('kui-vue')['TreeSelect']
|
|
501
|
+
Tag: typeof import('kui-vue')['Tag']
|
|
502
|
+
KTag: typeof import('kui-vue')['Tag']
|
|
503
|
+
Col: typeof import('kui-vue')['Col']
|
|
504
|
+
KCol: typeof import('kui-vue')['Col']
|
|
505
|
+
Row: typeof import('kui-vue')['Row']
|
|
506
|
+
KRow: typeof import('kui-vue')['Row']
|
|
507
|
+
Upload: typeof import('kui-vue')['Upload']
|
|
508
|
+
KUpload: typeof import('kui-vue')['Upload']
|
|
509
|
+
Watermark: typeof import('kui-vue')['Watermark']
|
|
510
|
+
KWatermark: typeof import('kui-vue')['Watermark']
|
|
511
|
+
VirtualList: typeof import('kui-vue')['VirtualList']
|
|
512
|
+
KVirtualList: typeof import('kui-vue')['VirtualList']
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export {}
|
|
@@ -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>>;
|