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/style/motion.css
CHANGED
package/style/theme.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* kui-vue v6.
|
|
2
|
+
* kui-vue v6.3.1
|
|
3
3
|
* Copyright 2017-present, kui-vue.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://k-ui.cn
|
|
6
6
|
* Author: Qiu / https://chuchur.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
:root{--kui-border-radius:6px;--kui-border-radius-lg:8px;--kui-border-radius-card:10px;--kui-shape-circle:9999px;--kui-shape-square:2px;--kui-control-height-sm:24px;--kui-control-height:32px;--kui-control-height-lg:40px;--kui-font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--kui-font-size-sm:12px;--kui-font-size:14px;--kui-font-size-lg:16px;--kui-line-height:1.571;--kui-line-height-heading:1.4;--kui-spacing-1:4px;--kui-spacing-2:8px;--kui-spacing-3:12px;--kui-spacing-4:16px;--kui-spacing-5:20px;--kui-spacing-6:24px;--kui-padding-block-sm:2px;--kui-padding-block:6px;--kui-padding-block-lg:6px;--kui-padding-inline-sm:6px;--kui-padding-inline:8px;--kui-padding-inline-lg:10px;--kui-padding-tag-box-inline-sm:2px;--kui-padding-tag-box-inline:4px;--kui-padding-tag-box-inline-lg:6px;--kui-motion-duration-fast:.15s;--kui-motion-duration:.2s;--kui-motion-duration-slow:.3s;--kui-motion-easing:ease-in-out;--kui-focus-ring-width:2px;--kui-z-index-popup:1000;--kui-z-index-overlay:1002;--kui-z-index-message:1010;--kui-disabled-opacity:.7;--kui-theme-fill-border:transparent;--kui-theme-outline-bg:transparent;--kui-theme-plain-bg:transparent;--kui-theme-plain-border:transparent;--kui-color-primary:#54a9ff;--kui-color-success:#00bb5d;--kui-color-warning:#ffae43;--kui-color-danger:#fc725a;--kui-color-pink:#ff738c;--kui-color-red:#ff1a1a;--kui-color-yellow:#cc0;--kui-color-orange:orange;--kui-color-cyan:#0cc;--kui-color-violet:violet;--kui-color-green:#00cd00;--kui-color-blue:#0080ff;--kui-color-purple:#cd00cc;--kui-color-brown:#d26815;--kui-color-teal:teal;--kui-color-magenta:magenta;--kui-color-olive:olive;--kui-color-volcano:#ff4200;--kui-color-gold:#b39700;--kui-color-lime:#00b300;--kui-color-gray:gray;--kui-color-gray-1:#fafafa;--kui-color-gray-2:#f5f5f5;--kui-color-gray-3:#eee;--kui-color-gray-4:#d9d9d9;--kui-color-gray-5:#bfbfbf;--kui-color-gray-6:#8c8c8c;--kui-color-gray-7:#595959;--kui-color-gray-8:#262626;--kui-color-gray-9:#141414;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--kui-color-text:#262626;--kui-color-text-disabled:#8c8c8c;--kui-color-text-title:#141414;--kui-color-text-description:#8c8c8c;--kui-color-text-placeholder:#8c8c8c;--kui-color-text-on-solid:#fff;--kui-color-control-thumb:#fff;--kui-color-control-thumb-text:#141414;--kui-color-checkerboard:#cdcdcd;--kui-color-icon:#939393c4;--kui-color-icon-hover:#717171c4;--kui-color-icon-active:#646464c4;--kui-color-border:#e9e9e9;--kui-color-pop-border:#e7e7e7;--kui-color-border-disabled:#d9d9d9;--kui-color-border-split:#87878730;--kui-color-reverse:#1f1f1f;--kui-color-reverse-text:#bfbfbf;--kui-color-bg:#fff;--kui-color-bg-layout:#f5f5f5;--kui-color-bg-container:#fff;--kui-pop-shadow:0 2px 8px #00000026;--kui-color-bg-pop:#fff;--kui-color-bg-pop-dark:#262626;--kui-color-skeleton:#0000001b;--kui-color-skeleton-high:#ababab1b;--kui-color-bg-component:#f5f5f5;--kui-color-bg-component-hover:#eee;--kui-color-bg-component-active:#e7e7e7;--kui-color-bg-component-disabled:#f5f5f5;--kui-color-bg-component-overlay:#353a411a;--kui-color-bg-elevated:#fff;--kui-color-scrollbar-thumb:#1e1e1e34;--kui-color-scrollbar-thumb-hover:#0000001a;--kui-color-item-hover:#f5f5f5;--kui-color-item-active:#eee;--kui-color-item-disabled:#f5f5f5;--kui-color-shadow:#00000042;--kui-color-mask:#0009;--kui-color-spin-mask:#ffffffe6;--kui-color-border-shadow:0 4px 6px #0000001a, 0 0 1px #0000004d;--kui-color-bg-1:#fafafa;--kui-color-bg-2:#f5f5f5;--kui-color-bg-3:#eee;--kui-color-bg-4:#d9d9d9;--kui-color-bg-5:#bfbfbf;--kui-color-bg-6:#8c8c8c;--kui-color-bg-7:#595959;--kui-color-bg-8:#262626;--kui-color-bg-9:#141414;--kui-color-text-secondary:var(--kui-color-text-description);--kui-color-placeholder:var(--kui-color-text-placeholder);--kui-color-item-disable:var(--kui-color-item-disabled)}[theme-mode=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--kui-color-text:#f5f5f5;--kui-color-text-disabled:#595959;--kui-color-text-title:#f5f5f5;--kui-color-text-description:#bfbfbf;--kui-color-text-placeholder:#8c8c8c;--kui-color-text-on-solid:#fff;--kui-color-control-thumb:#fff;--kui-color-control-thumb-text:#141414;--kui-color-checkerboard:#666;--kui-color-icon:#939393c4;--kui-color-icon-hover:#9d9d9dc4;--kui-color-icon-active:#b9b9b9c4;--kui-color-reverse-text:#595959;--kui-color-reverse:#f5f5f5;--kui-color-bg:#141414;--kui-color-bg-layout:#1f1f1f;--kui-color-bg-container:#1f1f1f;--kui-color-bg-pop:#262626;--kui-color-skeleton:#54545433;--kui-color-skeleton-high:#51515154;--kui-color-bg-component:#262626;--kui-color-bg-component-hover:#303030;--kui-color-bg-component-active:#383838;--kui-color-bg-component-disabled:#1f1f1f;--kui-color-bg-component-overlay:#585d643f;--kui-color-bg-elevated:#262626;--kui-color-bg-pop-dark:#262626;--kui-color-scrollbar-thumb:#75757577;--kui-color-scrollbar-thumb-hover:#0000001a;--kui-color-border:#333;--kui-color-pop-border:#313131;--kui-color-border-disabled:#303030;--kui-color-border-split:#87878730;--kui-color-shadow:#0009;--kui-color-mask:#0009;--kui-color-spin-mask:#161616d5;--kui-pop-shadow:0 4px 16px #00000073;--kui-color-border-shadow:0 4px 6px #ffffff1a, 0 0 1px #ffffff4d;--kui-color-item-hover:#303030;--kui-color-item-active:#434343;--kui-color-item-disabled:#1f1f1f;--kui-color-bg-1:#0f0f0f;--kui-color-bg-2:#141414;--kui-color-bg-3:#1f1f1f;--kui-color-bg-4:#262626;--kui-color-bg-5:#303030;--kui-color-bg-6:#434343;--kui-color-bg-7:#595959;--kui-color-bg-8:#bfbfbf;--kui-color-bg-9:#f5f5f5;--kui-color-text-secondary:var(--kui-color-text-description);--kui-color-placeholder:var(--kui-color-text-placeholder);--kui-color-item-disable:var(--kui-color-item-disabled)}[theme-mode=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--kui-color-text:#262626;--kui-color-text-disabled:#8c8c8c;--kui-color-text-title:#141414;--kui-color-text-description:#8c8c8c;--kui-color-text-placeholder:#8c8c8c;--kui-color-text-on-solid:#fff;--kui-color-control-thumb:#fff;--kui-color-control-thumb-text:#141414;--kui-color-checkerboard:#cdcdcd;--kui-color-icon:#939393c4;--kui-color-icon-hover:#717171c4;--kui-color-icon-active:#646464c4;--kui-color-border:#e9e9e9;--kui-color-pop-border:#e7e7e7;--kui-color-border-disabled:#d9d9d9;--kui-color-border-split:#87878730;--kui-color-reverse:#1f1f1f;--kui-color-reverse-text:#bfbfbf;--kui-color-bg:#fff;--kui-color-bg-layout:#f5f5f5;--kui-color-bg-container:#fff;--kui-pop-shadow:0 2px 8px #00000026;--kui-color-bg-pop:#fff;--kui-color-bg-pop-dark:#262626;--kui-color-skeleton:#0000001b;--kui-color-skeleton-high:#ababab1b;--kui-color-bg-component:#f5f5f5;--kui-color-bg-component-hover:#eee;--kui-color-bg-component-active:#e7e7e7;--kui-color-bg-component-disabled:#f5f5f5;--kui-color-bg-component-overlay:#353a411a;--kui-color-bg-elevated:#fff;--kui-color-scrollbar-thumb:#1e1e1e34;--kui-color-scrollbar-thumb-hover:#0000001a;--kui-color-item-hover:#f5f5f5;--kui-color-item-active:#eee;--kui-color-item-disabled:#f5f5f5;--kui-color-shadow:#00000042;--kui-color-mask:#0009;--kui-color-spin-mask:#ffffffe6;--kui-color-border-shadow:0 4px 6px #0000001a, 0 0 1px #0000004d;--kui-color-bg-1:#fafafa;--kui-color-bg-2:#f5f5f5;--kui-color-bg-3:#eee;--kui-color-bg-4:#d9d9d9;--kui-color-bg-5:#bfbfbf;--kui-color-bg-6:#8c8c8c;--kui-color-bg-7:#595959;--kui-color-bg-8:#262626;--kui-color-bg-9:#141414;--kui-color-text-secondary:var(--kui-color-text-description);--kui-color-placeholder:var(--kui-color-text-placeholder);--kui-color-item-disable:var(--kui-color-item-disabled)}[shape-mode=square]{--kui-border-radius:2px;--kui-border-radius-lg:2px;--kui-border-radius-card:2px}
|
|
9
|
+
:root{--kui-border-radius:6px;--kui-border-radius-lg:8px;--kui-border-radius-card:10px;--kui-shape-circle:9999px;--kui-shape-square:2px;--kui-control-height-sm:24px;--kui-control-height:32px;--kui-control-height-lg:40px;--kui-font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--kui-font-size-sm:12px;--kui-font-size:14px;--kui-font-size-lg:16px;--kui-line-height:1.571;--kui-line-height-heading:1.4;--kui-spacing-1:4px;--kui-spacing-2:8px;--kui-spacing-3:12px;--kui-spacing-4:16px;--kui-spacing-5:20px;--kui-spacing-6:24px;--kui-padding-block-sm:2px;--kui-padding-block:6px;--kui-padding-block-lg:6px;--kui-padding-inline-sm:6px;--kui-padding-inline:8px;--kui-padding-inline-lg:10px;--kui-padding-tag-box-inline-sm:2px;--kui-padding-tag-box-inline:4px;--kui-padding-tag-box-inline-lg:6px;--kui-motion-duration-fast:.15s;--kui-motion-duration:.2s;--kui-motion-duration-slow:.3s;--kui-motion-easing:ease-in-out;--kui-focus-ring-width:2px;--kui-z-index-popup:1000;--kui-z-index-overlay:1002;--kui-z-index-message:1010;--kui-disabled-opacity:.7;--kui-theme-fill-border:transparent;--kui-theme-outline-bg:transparent;--kui-theme-plain-bg:transparent;--kui-theme-plain-border:transparent;--kui-color-primary:#54a9ff;--kui-color-success:#00bb5d;--kui-color-warning:#ffae43;--kui-color-danger:#fc725a;--kui-color-pink:#ff738c;--kui-color-red:#ff1a1a;--kui-color-yellow:#cc0;--kui-color-orange:orange;--kui-color-cyan:#0cc;--kui-color-violet:violet;--kui-color-green:#00cd00;--kui-color-blue:#0080ff;--kui-color-purple:#cd00cc;--kui-color-brown:#d26815;--kui-color-teal:teal;--kui-color-magenta:magenta;--kui-color-olive:olive;--kui-color-volcano:#ff4200;--kui-color-gold:#b39700;--kui-color-lime:#00b300;--kui-color-gray:gray;--kui-color-gray-1:#fafafa;--kui-color-gray-2:#f5f5f5;--kui-color-gray-3:#eee;--kui-color-gray-4:#d9d9d9;--kui-color-gray-5:#bfbfbf;--kui-color-gray-6:#8c8c8c;--kui-color-gray-7:#595959;--kui-color-gray-8:#262626;--kui-color-gray-9:#141414;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--kui-color-text:#262626;--kui-color-text-disabled:#8c8c8c;--kui-color-text-title:#141414;--kui-color-text-description:#8c8c8c;--kui-color-text-placeholder:#8c8c8c;--kui-theme-plain-hover:#2626261a;--kui-theme-plain-active:#26262629;--kui-color-text-on-solid:#fff;--kui-theme-solid-outline:#fff6;--kui-theme-solid-muted:#ffffffd9;--kui-theme-solid-placeholder:#ffffffbf;--kui-theme-solid-chip:#ffffff2e;--kui-theme-solid-ink-80:#fffc;--kui-theme-solid-ink-70:#ffffffb3;--kui-theme-solid-ink-45:#ffffff73;--kui-theme-solid-ink-30:#ffffff4d;--kui-theme-solid-ink-26:#ffffff42;--kui-theme-solid-ink-24:#ffffff3d;--kui-theme-solid-ink-14:#ffffff24;--kui-color-primary-text:#326599;--kui-color-danger-text:#974436;--kui-color-warning-text:#805722;--kui-color-red-text:#bf1414;--kui-color-orange-text:#805300;--kui-color-yellow-text:#660;--kui-color-olive-text:#660;--kui-color-green-text:#007100;--kui-color-teal-text:#006d6d;--kui-color-blue-text:#0060bf;--kui-color-volcano-text:#b32e00;--kui-color-violet-text:#834883;--kui-color-cyan-text:#007070;--kui-color-gold-text:#746200;--kui-color-lime-text:#007400;--kui-color-magenta-text:#a600a6;--kui-color-purple-text:#a400a3;--kui-color-pink-text:#994554;--kui-color-brown-text:#9e4e10;--kui-color-gray-text:#606060;--kui-color-control-thumb:#fff;--kui-color-control-thumb-text:#141414;--kui-color-checkerboard:#cdcdcd;--kui-color-icon:#939393c4;--kui-color-icon-hover:#717171c4;--kui-color-icon-active:#646464c4;--kui-color-border:#e9e9e9;--kui-color-pop-border:#e7e7e7;--kui-color-border-disabled:#d9d9d9;--kui-color-border-split:#87878730;--kui-color-reverse:#1f1f1f;--kui-color-reverse-text:#bfbfbf;--kui-color-bg:#fff;--kui-color-bg-layout:#f5f5f5;--kui-color-bg-container:#fff;--kui-pop-shadow:0 2px 8px #00000026;--kui-color-bg-pop:#fff;--kui-color-bg-pop-dark:#262626;--kui-color-skeleton:#0000001b;--kui-color-skeleton-high:#ababab1b;--kui-color-bg-component:#f5f5f5;--kui-color-bg-component-hover:#eee;--kui-color-bg-component-active:#e7e7e7;--kui-color-bg-component-disabled:#f5f5f5;--kui-color-bg-component-overlay:#353a411a;--kui-color-bg-elevated:#fff;--kui-color-row-hover:#f2f2f2;--kui-color-scrollbar-thumb:#1e1e1e34;--kui-color-scrollbar-thumb-hover:#1e1e1e59;--kui-color-item-hover:#f5f5f5;--kui-color-item-active:#eee;--kui-color-item-disabled:#f5f5f5;--kui-color-shadow:#00000042;--kui-color-mask:#0009;--kui-color-spin-mask:#ffffffe6;--kui-color-border-shadow:0 4px 6px #0000001a, 0 0 1px #0000004d;--kui-color-hover-shadow:#26262614;--kui-color-bg-1:#fafafa;--kui-color-bg-2:#f5f5f5;--kui-color-bg-3:#eee;--kui-color-bg-4:#d9d9d9;--kui-color-bg-5:#bfbfbf;--kui-color-bg-6:#8c8c8c;--kui-color-bg-7:#595959;--kui-color-bg-8:#262626;--kui-color-bg-9:#141414;--kui-color-text-secondary:var(--kui-color-text-description);--kui-color-placeholder:var(--kui-color-text-placeholder);--kui-color-item-disable:var(--kui-color-item-disabled)}[theme-mode=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--kui-color-text:#f5f5f5;--kui-color-text-disabled:#595959;--kui-color-text-title:#f5f5f5;--kui-color-text-description:#bfbfbf;--kui-color-text-placeholder:#8c8c8c;--kui-theme-plain-hover:#f5f5f51a;--kui-theme-plain-active:#f5f5f529;--kui-color-text-on-solid:#fff;--kui-theme-solid-outline:#fff6;--kui-theme-solid-muted:#ffffffd9;--kui-theme-solid-placeholder:#ffffffbf;--kui-theme-solid-chip:#ffffff2e;--kui-theme-solid-ink-80:#fffc;--kui-theme-solid-ink-70:#ffffffb3;--kui-theme-solid-ink-45:#ffffff73;--kui-theme-solid-ink-30:#ffffff4d;--kui-theme-solid-ink-26:#ffffff42;--kui-theme-solid-ink-24:#ffffff3d;--kui-theme-solid-ink-14:#ffffff24;--kui-color-primary-text:#54a9ff;--kui-color-danger-text:#fc806b;--kui-color-warning-text:#ffae43;--kui-color-red-text:#ff7676;--kui-color-orange-text:orange;--kui-color-yellow-text:#cc0;--kui-color-olive-text:#a6a64d;--kui-color-green-text:#00cd00;--kui-color-teal-text:#66b3b3;--kui-color-blue-text:#4da6ff;--kui-color-volcano-text:#ff7b4d;--kui-color-violet-text:violet;--kui-color-cyan-text:#0cc;--kui-color-gold-text:#bba119;--kui-color-lime-text:#19bb19;--kui-color-magenta-text:#ff59ff;--kui-color-purple-text:#e680e6;--kui-color-pink-text:#ff738c;--kui-color-brown-text:#e0955b;--kui-color-gray-text:#a6a6a6;--kui-color-control-thumb:#fff;--kui-color-control-thumb-text:#141414;--kui-color-checkerboard:#666;--kui-color-icon:#939393c4;--kui-color-icon-hover:#9d9d9dc4;--kui-color-icon-active:#b9b9b9c4;--kui-color-reverse-text:#595959;--kui-color-reverse:#f5f5f5;--kui-color-bg:#141414;--kui-color-bg-layout:#1f1f1f;--kui-color-bg-container:#1f1f1f;--kui-color-bg-pop:#262626;--kui-color-skeleton:#54545433;--kui-color-skeleton-high:#51515154;--kui-color-bg-component:#262626;--kui-color-bg-component-hover:#303030;--kui-color-bg-component-active:#383838;--kui-color-bg-component-disabled:#1f1f1f;--kui-color-bg-component-overlay:#585d643f;--kui-color-bg-elevated:#262626;--kui-color-row-hover:#2a2a2a;--kui-color-bg-pop-dark:#262626;--kui-color-scrollbar-thumb:#75757577;--kui-color-scrollbar-thumb-hover:#a0a0a09e;--kui-color-border:#333;--kui-color-pop-border:#313131;--kui-color-border-disabled:#303030;--kui-color-border-split:#87878730;--kui-color-shadow:#0009;--kui-color-mask:#0009;--kui-color-spin-mask:#161616d5;--kui-pop-shadow:0 4px 16px #00000073;--kui-color-border-shadow:0 4px 6px #ffffff1a, 0 0 1px #ffffff4d;--kui-color-hover-shadow:#f5f5f514;--kui-color-item-hover:#303030;--kui-color-item-active:#434343;--kui-color-item-disabled:#1f1f1f;--kui-color-bg-1:#0f0f0f;--kui-color-bg-2:#141414;--kui-color-bg-3:#1f1f1f;--kui-color-bg-4:#262626;--kui-color-bg-5:#303030;--kui-color-bg-6:#434343;--kui-color-bg-7:#595959;--kui-color-bg-8:#bfbfbf;--kui-color-bg-9:#f5f5f5;--kui-color-text-secondary:var(--kui-color-text-description);--kui-color-placeholder:var(--kui-color-text-placeholder);--kui-color-item-disable:var(--kui-color-item-disabled)}[theme-mode=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--kui-color-text:#262626;--kui-color-text-disabled:#8c8c8c;--kui-color-text-title:#141414;--kui-color-text-description:#8c8c8c;--kui-color-text-placeholder:#8c8c8c;--kui-theme-plain-hover:#2626261a;--kui-theme-plain-active:#26262629;--kui-color-text-on-solid:#fff;--kui-theme-solid-outline:#fff6;--kui-theme-solid-muted:#ffffffd9;--kui-theme-solid-placeholder:#ffffffbf;--kui-theme-solid-chip:#ffffff2e;--kui-theme-solid-ink-80:#fffc;--kui-theme-solid-ink-70:#ffffffb3;--kui-theme-solid-ink-45:#ffffff73;--kui-theme-solid-ink-30:#ffffff4d;--kui-theme-solid-ink-26:#ffffff42;--kui-theme-solid-ink-24:#ffffff3d;--kui-theme-solid-ink-14:#ffffff24;--kui-color-primary-text:#326599;--kui-color-danger-text:#974436;--kui-color-warning-text:#805722;--kui-color-red-text:#bf1414;--kui-color-orange-text:#805300;--kui-color-yellow-text:#660;--kui-color-olive-text:#660;--kui-color-green-text:#007100;--kui-color-teal-text:#006d6d;--kui-color-blue-text:#0060bf;--kui-color-volcano-text:#b32e00;--kui-color-violet-text:#834883;--kui-color-cyan-text:#007070;--kui-color-gold-text:#746200;--kui-color-lime-text:#007400;--kui-color-magenta-text:#a600a6;--kui-color-purple-text:#a400a3;--kui-color-pink-text:#994554;--kui-color-brown-text:#9e4e10;--kui-color-gray-text:#606060;--kui-color-control-thumb:#fff;--kui-color-control-thumb-text:#141414;--kui-color-checkerboard:#cdcdcd;--kui-color-icon:#939393c4;--kui-color-icon-hover:#717171c4;--kui-color-icon-active:#646464c4;--kui-color-border:#e9e9e9;--kui-color-pop-border:#e7e7e7;--kui-color-border-disabled:#d9d9d9;--kui-color-border-split:#87878730;--kui-color-reverse:#1f1f1f;--kui-color-reverse-text:#bfbfbf;--kui-color-bg:#fff;--kui-color-bg-layout:#f5f5f5;--kui-color-bg-container:#fff;--kui-pop-shadow:0 2px 8px #00000026;--kui-color-bg-pop:#fff;--kui-color-bg-pop-dark:#262626;--kui-color-skeleton:#0000001b;--kui-color-skeleton-high:#ababab1b;--kui-color-bg-component:#f5f5f5;--kui-color-bg-component-hover:#eee;--kui-color-bg-component-active:#e7e7e7;--kui-color-bg-component-disabled:#f5f5f5;--kui-color-bg-component-overlay:#353a411a;--kui-color-bg-elevated:#fff;--kui-color-row-hover:#f2f2f2;--kui-color-scrollbar-thumb:#1e1e1e34;--kui-color-scrollbar-thumb-hover:#1e1e1e59;--kui-color-item-hover:#f5f5f5;--kui-color-item-active:#eee;--kui-color-item-disabled:#f5f5f5;--kui-color-shadow:#00000042;--kui-color-mask:#0009;--kui-color-spin-mask:#ffffffe6;--kui-color-border-shadow:0 4px 6px #0000001a, 0 0 1px #0000004d;--kui-color-hover-shadow:#26262614;--kui-color-bg-1:#fafafa;--kui-color-bg-2:#f5f5f5;--kui-color-bg-3:#eee;--kui-color-bg-4:#d9d9d9;--kui-color-bg-5:#bfbfbf;--kui-color-bg-6:#8c8c8c;--kui-color-bg-7:#595959;--kui-color-bg-8:#262626;--kui-color-bg-9:#141414;--kui-color-text-secondary:var(--kui-color-text-description);--kui-color-placeholder:var(--kui-color-text-placeholder);--kui-color-item-disable:var(--kui-color-item-disabled)}[shape-mode=square]{--kui-border-radius:2px;--kui-border-radius-lg:2px;--kui-border-radius-card:2px}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from "vue";
|
|
2
|
+
declare const affixProps: {
|
|
3
|
+
offsetTop: {
|
|
4
|
+
type: NumberConstructor;
|
|
5
|
+
default: number;
|
|
6
|
+
};
|
|
7
|
+
offsetBottom: NumberConstructor;
|
|
8
|
+
target: {
|
|
9
|
+
type: PropType<() => Window | HTMLElement | null>;
|
|
10
|
+
default: () => (Window & typeof globalThis) | null;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type AffixProps = ExtractPropTypes<typeof affixProps>;
|
|
14
|
+
declare const Affix: import("vue").DefineComponent<ExtractPropTypes<{
|
|
15
|
+
offsetTop: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
offsetBottom: NumberConstructor;
|
|
20
|
+
target: {
|
|
21
|
+
type: PropType<() => Window | HTMLElement | null>;
|
|
22
|
+
default: () => (Window & typeof globalThis) | null;
|
|
23
|
+
};
|
|
24
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
change: (affixed: boolean) => boolean;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
27
|
+
offsetTop: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
offsetBottom: NumberConstructor;
|
|
32
|
+
target: {
|
|
33
|
+
type: PropType<() => Window | HTMLElement | null>;
|
|
34
|
+
default: () => (Window & typeof globalThis) | null;
|
|
35
|
+
};
|
|
36
|
+
}>> & Readonly<{
|
|
37
|
+
onChange?: ((affixed: boolean) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
offsetTop: number;
|
|
40
|
+
target: () => Window | HTMLElement | null;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
|
+
export default Affix;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, ShapeType, SurfaceThemeType } from "../const/types.cjs";
|
|
3
|
+
import { type IconType } from "../icon/index.cjs";
|
|
4
|
+
declare const alertProps: {
|
|
5
|
+
type: {
|
|
6
|
+
type: PropType<"info" | "success" | "warning" | "error">;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
closable: BooleanType;
|
|
10
|
+
showIcon: {
|
|
11
|
+
type: BooleanType;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
icon: PropType<IconType[]>;
|
|
15
|
+
message: StringConstructor;
|
|
16
|
+
description: StringConstructor;
|
|
17
|
+
bordered: BooleanType;
|
|
18
|
+
theme: {
|
|
19
|
+
type: PropType<SurfaceThemeType>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
shape: {
|
|
23
|
+
type: PropType<ShapeType>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export type AlertProps = ExtractPropTypes<typeof alertProps>;
|
|
28
|
+
declare const Alert: import("vue").DefineComponent<ExtractPropTypes<{
|
|
29
|
+
type: {
|
|
30
|
+
type: PropType<"info" | "success" | "warning" | "error">;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
closable: BooleanType;
|
|
34
|
+
showIcon: {
|
|
35
|
+
type: BooleanType;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
icon: PropType<IconType[]>;
|
|
39
|
+
message: StringConstructor;
|
|
40
|
+
description: StringConstructor;
|
|
41
|
+
bordered: BooleanType;
|
|
42
|
+
theme: {
|
|
43
|
+
type: PropType<SurfaceThemeType>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
shape: {
|
|
47
|
+
type: PropType<ShapeType>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
|
+
close: (event: MouseEvent) => boolean;
|
|
52
|
+
afterClose: () => true;
|
|
53
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
54
|
+
type: {
|
|
55
|
+
type: PropType<"info" | "success" | "warning" | "error">;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
closable: BooleanType;
|
|
59
|
+
showIcon: {
|
|
60
|
+
type: BooleanType;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
icon: PropType<IconType[]>;
|
|
64
|
+
message: StringConstructor;
|
|
65
|
+
description: StringConstructor;
|
|
66
|
+
bordered: BooleanType;
|
|
67
|
+
theme: {
|
|
68
|
+
type: PropType<SurfaceThemeType>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
shape: {
|
|
72
|
+
type: PropType<ShapeType>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
}>> & Readonly<{
|
|
76
|
+
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
77
|
+
onAfterClose?: (() => any) | undefined;
|
|
78
|
+
}>, {
|
|
79
|
+
type: "error" | "warning" | "success" | "info";
|
|
80
|
+
theme: SurfaceThemeType;
|
|
81
|
+
shape: ShapeType;
|
|
82
|
+
showIcon: boolean | undefined;
|
|
83
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
84
|
+
export default Alert;
|
package/types/alert/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, ShapeType,
|
|
3
|
-
import { type IconType } from "../icon";
|
|
2
|
+
import type { BooleanType, ShapeType, SurfaceThemeType } from "../const/types.js";
|
|
3
|
+
import { type IconType } from "../icon/index.js";
|
|
4
4
|
declare const alertProps: {
|
|
5
5
|
type: {
|
|
6
6
|
type: PropType<"info" | "success" | "warning" | "error">;
|
|
@@ -16,7 +16,7 @@ declare const alertProps: {
|
|
|
16
16
|
description: StringConstructor;
|
|
17
17
|
bordered: BooleanType;
|
|
18
18
|
theme: {
|
|
19
|
-
type: PropType<
|
|
19
|
+
type: PropType<SurfaceThemeType>;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
22
22
|
shape: {
|
|
@@ -40,7 +40,7 @@ declare const Alert: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
40
40
|
description: StringConstructor;
|
|
41
41
|
bordered: BooleanType;
|
|
42
42
|
theme: {
|
|
43
|
-
type: PropType<
|
|
43
|
+
type: PropType<SurfaceThemeType>;
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
shape: {
|
|
@@ -65,7 +65,7 @@ declare const Alert: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
65
65
|
description: StringConstructor;
|
|
66
66
|
bordered: BooleanType;
|
|
67
67
|
theme: {
|
|
68
|
-
type: PropType<
|
|
68
|
+
type: PropType<SurfaceThemeType>;
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
71
71
|
shape: {
|
|
@@ -77,7 +77,7 @@ declare const Alert: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
77
77
|
onAfterClose?: (() => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
79
|
type: "error" | "warning" | "success" | "info";
|
|
80
|
-
theme:
|
|
80
|
+
theme: SurfaceThemeType;
|
|
81
81
|
shape: ShapeType;
|
|
82
82
|
showIcon: boolean | undefined;
|
|
83
83
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
|
+
declare const anchorLinkProps: {
|
|
3
|
+
href: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: boolean;
|
|
6
|
+
};
|
|
7
|
+
title: StringConstructor;
|
|
8
|
+
};
|
|
9
|
+
export type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>;
|
|
10
|
+
declare const AnchorLink: import("vue").DefineComponent<ExtractPropTypes<{
|
|
11
|
+
href: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: boolean;
|
|
14
|
+
};
|
|
15
|
+
title: StringConstructor;
|
|
16
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
17
|
+
href: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: boolean;
|
|
20
|
+
};
|
|
21
|
+
title: StringConstructor;
|
|
22
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default AnchorLink;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types.cjs";
|
|
3
|
+
declare const anchorProps: {
|
|
4
|
+
affix: {
|
|
5
|
+
type: BooleanType;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
offsetTop: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
default: number;
|
|
11
|
+
};
|
|
12
|
+
bounds: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
container: PropType<string | HTMLElement | Window>;
|
|
17
|
+
};
|
|
18
|
+
export type AnchorProps = ExtractPropTypes<typeof anchorProps>;
|
|
19
|
+
declare const Anchor: import("vue").DefineComponent<ExtractPropTypes<{
|
|
20
|
+
affix: {
|
|
21
|
+
type: BooleanType;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
offsetTop: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
bounds: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
container: PropType<string | HTMLElement | Window>;
|
|
33
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
change: (activeLink: string) => boolean;
|
|
35
|
+
click: (link: string) => boolean;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
37
|
+
affix: {
|
|
38
|
+
type: BooleanType;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
offsetTop: {
|
|
42
|
+
type: NumberConstructor;
|
|
43
|
+
default: number;
|
|
44
|
+
};
|
|
45
|
+
bounds: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
container: PropType<string | HTMLElement | Window>;
|
|
50
|
+
}>> & Readonly<{
|
|
51
|
+
onChange?: ((activeLink: string) => any) | undefined;
|
|
52
|
+
onClick?: ((link: string) => any) | undefined;
|
|
53
|
+
}>, {
|
|
54
|
+
offsetTop: number;
|
|
55
|
+
affix: boolean | undefined;
|
|
56
|
+
bounds: number;
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
export default Anchor;
|
package/types/anchor/anchor.d.ts
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { InjectionKey, Ref } from "vue";
|
|
2
|
+
export interface AnchorContext {
|
|
3
|
+
activeLink: Ref<string>;
|
|
4
|
+
registerLink: (link: string) => void;
|
|
5
|
+
unregisterLink: (link: string) => void;
|
|
6
|
+
handleScrollTo: (link: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const anchorContextKey: InjectionKey<AnchorContext>;
|
package/types/anchor/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Anchor from "./anchor";
|
|
2
|
-
import AnchorLink from "./anchor-link";
|
|
3
|
-
export type { AnchorProps } from "./anchor";
|
|
4
|
-
export type { AnchorLinkProps } from "./anchor-link";
|
|
1
|
+
import Anchor from "./anchor.js";
|
|
2
|
+
import AnchorLink from "./anchor-link.js";
|
|
3
|
+
export type { AnchorProps } from "./anchor.js";
|
|
4
|
+
export type { AnchorLinkProps } from "./anchor-link.js";
|
|
5
5
|
export { Anchor, AnchorLink };
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import type { ShapeType, SizeType, ThemeType } from "../const/types.cjs";
|
|
3
|
+
export interface AutoCompleteOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label?: VNodeChild;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const propsDef: {
|
|
9
|
+
modelValue: StringConstructor;
|
|
10
|
+
value: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
options: {
|
|
15
|
+
type: PropType<Array<string | AutoCompleteOption>>;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
open: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
showOnEmpty: BooleanConstructor;
|
|
23
|
+
clearable: BooleanConstructor;
|
|
24
|
+
disabled: BooleanConstructor;
|
|
25
|
+
readonly: BooleanConstructor;
|
|
26
|
+
loading: BooleanConstructor;
|
|
27
|
+
loadingText: StringConstructor;
|
|
28
|
+
placeholder: StringConstructor;
|
|
29
|
+
addonBefore: {
|
|
30
|
+
type: PropType<VNodeChild>;
|
|
31
|
+
};
|
|
32
|
+
addonAfter: {
|
|
33
|
+
type: PropType<VNodeChild>;
|
|
34
|
+
};
|
|
35
|
+
prefix: {
|
|
36
|
+
type: PropType<VNodeChild>;
|
|
37
|
+
};
|
|
38
|
+
suffix: {
|
|
39
|
+
type: PropType<VNodeChild>;
|
|
40
|
+
};
|
|
41
|
+
size: PropType<SizeType>;
|
|
42
|
+
shape: PropType<ShapeType>;
|
|
43
|
+
theme: {
|
|
44
|
+
type: PropType<ThemeType>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
filterOption: {
|
|
48
|
+
type: PropType<boolean | ((input: string, option: AutoCompleteOption) => boolean)>;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
52
|
+
destroyOnClose: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export type AutoCompleteProps = ExtractPropTypes<typeof propsDef>;
|
|
58
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
59
|
+
modelValue: StringConstructor;
|
|
60
|
+
value: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
options: {
|
|
65
|
+
type: PropType<Array<string | AutoCompleteOption>>;
|
|
66
|
+
default: () => never[];
|
|
67
|
+
};
|
|
68
|
+
open: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
showOnEmpty: BooleanConstructor;
|
|
73
|
+
clearable: BooleanConstructor;
|
|
74
|
+
disabled: BooleanConstructor;
|
|
75
|
+
readonly: BooleanConstructor;
|
|
76
|
+
loading: BooleanConstructor;
|
|
77
|
+
loadingText: StringConstructor;
|
|
78
|
+
placeholder: StringConstructor;
|
|
79
|
+
addonBefore: {
|
|
80
|
+
type: PropType<VNodeChild>;
|
|
81
|
+
};
|
|
82
|
+
addonAfter: {
|
|
83
|
+
type: PropType<VNodeChild>;
|
|
84
|
+
};
|
|
85
|
+
prefix: {
|
|
86
|
+
type: PropType<VNodeChild>;
|
|
87
|
+
};
|
|
88
|
+
suffix: {
|
|
89
|
+
type: PropType<VNodeChild>;
|
|
90
|
+
};
|
|
91
|
+
size: PropType<SizeType>;
|
|
92
|
+
shape: PropType<ShapeType>;
|
|
93
|
+
theme: {
|
|
94
|
+
type: PropType<ThemeType>;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
filterOption: {
|
|
98
|
+
type: PropType<boolean | ((input: string, option: AutoCompleteOption) => boolean)>;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
102
|
+
destroyOnClose: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
107
|
+
"update:modelValue": (value: string) => boolean;
|
|
108
|
+
change: (value: string) => boolean;
|
|
109
|
+
clear: () => true;
|
|
110
|
+
search: (value: string) => boolean;
|
|
111
|
+
select: (value: string, option: AutoCompleteOption) => boolean;
|
|
112
|
+
openChange: (open: boolean) => boolean;
|
|
113
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
114
|
+
modelValue: StringConstructor;
|
|
115
|
+
value: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
options: {
|
|
120
|
+
type: PropType<Array<string | AutoCompleteOption>>;
|
|
121
|
+
default: () => never[];
|
|
122
|
+
};
|
|
123
|
+
open: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
showOnEmpty: BooleanConstructor;
|
|
128
|
+
clearable: BooleanConstructor;
|
|
129
|
+
disabled: BooleanConstructor;
|
|
130
|
+
readonly: BooleanConstructor;
|
|
131
|
+
loading: BooleanConstructor;
|
|
132
|
+
loadingText: StringConstructor;
|
|
133
|
+
placeholder: StringConstructor;
|
|
134
|
+
addonBefore: {
|
|
135
|
+
type: PropType<VNodeChild>;
|
|
136
|
+
};
|
|
137
|
+
addonAfter: {
|
|
138
|
+
type: PropType<VNodeChild>;
|
|
139
|
+
};
|
|
140
|
+
prefix: {
|
|
141
|
+
type: PropType<VNodeChild>;
|
|
142
|
+
};
|
|
143
|
+
suffix: {
|
|
144
|
+
type: PropType<VNodeChild>;
|
|
145
|
+
};
|
|
146
|
+
size: PropType<SizeType>;
|
|
147
|
+
shape: PropType<ShapeType>;
|
|
148
|
+
theme: {
|
|
149
|
+
type: PropType<ThemeType>;
|
|
150
|
+
default: string;
|
|
151
|
+
};
|
|
152
|
+
filterOption: {
|
|
153
|
+
type: PropType<boolean | ((input: string, option: AutoCompleteOption) => boolean)>;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
157
|
+
destroyOnClose: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
}>> & Readonly<{
|
|
162
|
+
onChange?: ((value: string) => any) | undefined;
|
|
163
|
+
onClear?: (() => any) | undefined;
|
|
164
|
+
onSelect?: ((value: string, option: AutoCompleteOption) => any) | undefined;
|
|
165
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
166
|
+
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
167
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
168
|
+
}>, {
|
|
169
|
+
open: boolean;
|
|
170
|
+
disabled: boolean;
|
|
171
|
+
loading: boolean;
|
|
172
|
+
destroyOnClose: boolean;
|
|
173
|
+
theme: ThemeType;
|
|
174
|
+
value: string;
|
|
175
|
+
readonly: boolean;
|
|
176
|
+
clearable: boolean;
|
|
177
|
+
options: (string | AutoCompleteOption)[];
|
|
178
|
+
showOnEmpty: boolean;
|
|
179
|
+
filterOption: boolean | ((input: string, option: AutoCompleteOption) => boolean);
|
|
180
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
181
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
-
import type { ShapeType, SizeType, ThemeType } from "../const/types";
|
|
2
|
+
import type { ShapeType, SizeType, ThemeType } from "../const/types.js";
|
|
3
3
|
export interface AutoCompleteOption {
|
|
4
4
|
value: string;
|
|
5
5
|
label?: VNodeChild;
|
|
@@ -26,6 +26,18 @@ declare const propsDef: {
|
|
|
26
26
|
loading: BooleanConstructor;
|
|
27
27
|
loadingText: StringConstructor;
|
|
28
28
|
placeholder: StringConstructor;
|
|
29
|
+
addonBefore: {
|
|
30
|
+
type: PropType<VNodeChild>;
|
|
31
|
+
};
|
|
32
|
+
addonAfter: {
|
|
33
|
+
type: PropType<VNodeChild>;
|
|
34
|
+
};
|
|
35
|
+
prefix: {
|
|
36
|
+
type: PropType<VNodeChild>;
|
|
37
|
+
};
|
|
38
|
+
suffix: {
|
|
39
|
+
type: PropType<VNodeChild>;
|
|
40
|
+
};
|
|
29
41
|
size: PropType<SizeType>;
|
|
30
42
|
shape: PropType<ShapeType>;
|
|
31
43
|
theme: {
|
|
@@ -36,6 +48,11 @@ declare const propsDef: {
|
|
|
36
48
|
type: PropType<boolean | ((input: string, option: AutoCompleteOption) => boolean)>;
|
|
37
49
|
default: boolean;
|
|
38
50
|
};
|
|
51
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
52
|
+
destroyOnClose: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
39
56
|
};
|
|
40
57
|
export type AutoCompleteProps = ExtractPropTypes<typeof propsDef>;
|
|
41
58
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
@@ -59,6 +76,18 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
59
76
|
loading: BooleanConstructor;
|
|
60
77
|
loadingText: StringConstructor;
|
|
61
78
|
placeholder: StringConstructor;
|
|
79
|
+
addonBefore: {
|
|
80
|
+
type: PropType<VNodeChild>;
|
|
81
|
+
};
|
|
82
|
+
addonAfter: {
|
|
83
|
+
type: PropType<VNodeChild>;
|
|
84
|
+
};
|
|
85
|
+
prefix: {
|
|
86
|
+
type: PropType<VNodeChild>;
|
|
87
|
+
};
|
|
88
|
+
suffix: {
|
|
89
|
+
type: PropType<VNodeChild>;
|
|
90
|
+
};
|
|
62
91
|
size: PropType<SizeType>;
|
|
63
92
|
shape: PropType<ShapeType>;
|
|
64
93
|
theme: {
|
|
@@ -69,6 +98,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
69
98
|
type: PropType<boolean | ((input: string, option: AutoCompleteOption) => boolean)>;
|
|
70
99
|
default: boolean;
|
|
71
100
|
};
|
|
101
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
102
|
+
destroyOnClose: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
72
106
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
73
107
|
"update:modelValue": (value: string) => boolean;
|
|
74
108
|
change: (value: string) => boolean;
|
|
@@ -97,6 +131,18 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
97
131
|
loading: BooleanConstructor;
|
|
98
132
|
loadingText: StringConstructor;
|
|
99
133
|
placeholder: StringConstructor;
|
|
134
|
+
addonBefore: {
|
|
135
|
+
type: PropType<VNodeChild>;
|
|
136
|
+
};
|
|
137
|
+
addonAfter: {
|
|
138
|
+
type: PropType<VNodeChild>;
|
|
139
|
+
};
|
|
140
|
+
prefix: {
|
|
141
|
+
type: PropType<VNodeChild>;
|
|
142
|
+
};
|
|
143
|
+
suffix: {
|
|
144
|
+
type: PropType<VNodeChild>;
|
|
145
|
+
};
|
|
100
146
|
size: PropType<SizeType>;
|
|
101
147
|
shape: PropType<ShapeType>;
|
|
102
148
|
theme: {
|
|
@@ -107,6 +153,11 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
107
153
|
type: PropType<boolean | ((input: string, option: AutoCompleteOption) => boolean)>;
|
|
108
154
|
default: boolean;
|
|
109
155
|
};
|
|
156
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
157
|
+
destroyOnClose: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
110
161
|
}>> & Readonly<{
|
|
111
162
|
onChange?: ((value: string) => any) | undefined;
|
|
112
163
|
onClear?: (() => any) | undefined;
|
|
@@ -118,6 +169,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
118
169
|
open: boolean;
|
|
119
170
|
disabled: boolean;
|
|
120
171
|
loading: boolean;
|
|
172
|
+
destroyOnClose: boolean;
|
|
121
173
|
theme: ThemeType;
|
|
122
174
|
value: string;
|
|
123
175
|
readonly: boolean;
|