kui-vue 6.2.2 → 6.3.0
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 +1011 -452
- package/dist/index.js +2 -2
- package/es/index.js +6207 -4904
- 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 +4 -3
- 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/alert/index.d.ts +5 -5
- package/types/auto-complete/index.d.ts +52 -0
- package/types/badge/index.d.ts +7 -17
- package/types/button/button.d.ts +3 -4
- package/types/card/index.d.ts +5 -5
- package/types/cascader/index.d.ts +9 -0
- package/types/cascader/types.d.ts +5 -0
- package/types/check-card/check-card-group.d.ts +5 -9
- package/types/check-card/check-card.d.ts +5 -9
- package/types/check-card/context.d.ts +3 -3
- package/types/check-card/index.d.ts +1 -1
- package/types/check-card/types.d.ts +2 -3
- package/types/checkbox/checkbox-group.d.ts +5 -5
- package/types/checkbox/checkbox.d.ts +2 -2
- package/types/collapse/collapse.d.ts +5 -5
- package/types/color-picker/index.d.ts +27 -0
- package/types/components.d.ts +2 -2
- package/types/config/context.d.ts +102 -1
- package/types/const/types.d.ts +11 -1
- package/types/const/var.d.ts +6 -1
- package/types/date-picker/index.d.ts +18 -0
- package/types/drawer/index.d.ts +21 -8
- package/types/dropdown/dropdown-button.d.ts +23 -4
- package/types/dropdown/dropdown-context.d.ts +5 -0
- package/types/dropdown/dropdown.d.ts +16 -0
- package/types/dropdown/trigger.d.ts +3 -3
- package/types/feature-card/index.d.ts +5 -5
- package/types/feedback-panel/feedback-panel.d.ts +5 -5
- package/types/flame-wrap/engine.d.ts +18 -0
- package/types/form/context.d.ts +2 -0
- package/types/global.d.ts +256 -0
- package/types/image/image.d.ts +5 -5
- package/types/input/input-group.d.ts +2 -6
- package/types/input-number/index.d.ts +37 -7
- package/types/kanban/index.d.ts +5 -4
- package/types/list-panel/index.d.ts +5 -5
- 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.ts +16 -0
- package/types/menu/menu-keyboard.d.ts +23 -0
- package/types/modal/index.d.ts +8 -2
- package/types/modal/modal.d.ts +27 -4
- package/types/modal/toast.d.ts +5 -5
- package/types/page/index.d.ts +5 -5
- package/types/popconfirm/index.d.ts +16 -0
- package/types/poptip/index.d.ts +16 -0
- package/types/popup/layers.d.ts +2 -0
- package/types/qrcode/index.d.ts +5 -5
- package/types/radio/radio-button.d.ts +4 -4
- package/types/radio/radio-group.d.ts +2 -2
- package/types/radio/radio.d.ts +5 -5
- package/types/ripple/engine.d.ts +18 -0
- package/types/select/select.d.ts +5 -0
- package/types/stat-card/stat-card.d.ts +24 -6
- package/types/stat-card/utils/countup.d.ts +3 -3
- package/types/stat-card/utils/stat-item-key.d.ts +11 -0
- package/types/table/index.d.ts +21 -5
- package/types/table/types.d.ts +17 -1
- package/types/table/utils.d.ts +76 -0
- package/types/tag/index.d.ts +5 -5
- package/types/tooltip/index.d.ts +16 -0
- package/types/transfer/index.d.ts +5 -4
- package/types/tree/index.d.ts +2 -2
- package/types/tree-select/index.d.ts +5 -0
- package/types/utils/color.d.ts +13 -0
- package/types/utils/overlay-order.d.ts +6 -0
- package/types/utils/overlay-stack.d.ts +13 -0
- package/types/utils/promise.d.ts +5 -0
- package/types/utils/vnode.d.ts +25 -0
- package/vetur/attributes.json +529 -225
- package/vetur/tags.json +76 -28
- package/vetur/web-types.json +668 -284
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.0
|
|
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}
|
package/types/alert/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, ShapeType,
|
|
2
|
+
import type { BooleanType, ShapeType, SurfaceThemeType } from "../const/types";
|
|
3
3
|
import { type IconType } from "../icon";
|
|
4
4
|
declare const alertProps: {
|
|
5
5
|
type: {
|
|
@@ -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>;
|
|
@@ -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;
|
package/types/badge/index.d.ts
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType, type VNode } from "vue";
|
|
2
|
-
import type { BadgeStatusType, BooleanType } from "../const/types";
|
|
2
|
+
import type { BadgeStatusType, BooleanType, ColorType } from "../const/types";
|
|
3
3
|
declare const badgeProps: {
|
|
4
4
|
count: (NumberConstructor | StringConstructor)[];
|
|
5
5
|
dot: BooleanType;
|
|
6
6
|
pill: BooleanType;
|
|
7
|
-
color:
|
|
8
|
-
status:
|
|
9
|
-
type: PropType<BadgeStatusType>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
7
|
+
color: ColorType;
|
|
8
|
+
status: PropType<BadgeStatusType>;
|
|
12
9
|
text: PropType<string | VNode>;
|
|
13
10
|
active: BooleanType;
|
|
14
11
|
maxCount: {
|
|
@@ -21,11 +18,8 @@ declare const Badge: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
21
18
|
count: (NumberConstructor | StringConstructor)[];
|
|
22
19
|
dot: BooleanType;
|
|
23
20
|
pill: BooleanType;
|
|
24
|
-
color:
|
|
25
|
-
status:
|
|
26
|
-
type: PropType<BadgeStatusType>;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
21
|
+
color: ColorType;
|
|
22
|
+
status: PropType<BadgeStatusType>;
|
|
29
23
|
text: PropType<string | VNode>;
|
|
30
24
|
active: BooleanType;
|
|
31
25
|
maxCount: {
|
|
@@ -36,11 +30,8 @@ declare const Badge: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
36
30
|
count: (NumberConstructor | StringConstructor)[];
|
|
37
31
|
dot: BooleanType;
|
|
38
32
|
pill: BooleanType;
|
|
39
|
-
color:
|
|
40
|
-
status:
|
|
41
|
-
type: PropType<BadgeStatusType>;
|
|
42
|
-
default: string;
|
|
43
|
-
};
|
|
33
|
+
color: ColorType;
|
|
34
|
+
status: PropType<BadgeStatusType>;
|
|
44
35
|
text: PropType<string | VNode>;
|
|
45
36
|
active: BooleanType;
|
|
46
37
|
maxCount: {
|
|
@@ -49,7 +40,6 @@ declare const Badge: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
49
40
|
};
|
|
50
41
|
}>> & Readonly<{}>, {
|
|
51
42
|
maxCount: number;
|
|
52
|
-
status: BadgeStatusType;
|
|
53
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
44
|
export default Badge;
|
|
55
45
|
export type { BadgeStatusType } from "../const/types";
|
package/types/button/button.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type ButtonHTMLAttributes, type DefineComponent, type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, ButtonType, ShapeType, SizeType,
|
|
3
|
-
import { colors } from "../const/var";
|
|
2
|
+
import type { BooleanType, ButtonType, ShapeType, SizeType, SurfaceThemeType } from "../const/types";
|
|
4
3
|
import { type IconType } from "../icon";
|
|
5
4
|
declare const buttonProps: {
|
|
6
5
|
htmlType: {
|
|
@@ -16,7 +15,7 @@ declare const buttonProps: {
|
|
|
16
15
|
type: PropType<SizeType>;
|
|
17
16
|
};
|
|
18
17
|
color: {
|
|
19
|
-
type: PropType<
|
|
18
|
+
type: PropType<string>;
|
|
20
19
|
};
|
|
21
20
|
loading: {
|
|
22
21
|
type: BooleanType;
|
|
@@ -28,7 +27,7 @@ declare const buttonProps: {
|
|
|
28
27
|
};
|
|
29
28
|
disabled: BooleanType;
|
|
30
29
|
theme: {
|
|
31
|
-
type: PropType<
|
|
30
|
+
type: PropType<SurfaceThemeType>;
|
|
32
31
|
};
|
|
33
32
|
shape: PropType<ShapeType>;
|
|
34
33
|
href: StringConstructor;
|
package/types/card/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
-
import type { BooleanType, SizeType, SurfaceShapeType,
|
|
2
|
+
import type { BooleanType, SizeType, SurfaceShapeType, SurfaceThemeType } from "../const/types";
|
|
3
3
|
import { type IconType } from "../icon";
|
|
4
4
|
import CardMeta from "./card-meta";
|
|
5
5
|
export type CardShape = SurfaceShapeType;
|
|
@@ -9,7 +9,7 @@ declare const cardProps: {
|
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
11
11
|
theme: {
|
|
12
|
-
type: PropType<
|
|
12
|
+
type: PropType<SurfaceThemeType>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
shape: {
|
|
@@ -31,7 +31,7 @@ declare const Card: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
theme: {
|
|
34
|
-
type: PropType<
|
|
34
|
+
type: PropType<SurfaceThemeType>;
|
|
35
35
|
default: string;
|
|
36
36
|
};
|
|
37
37
|
shape: {
|
|
@@ -51,7 +51,7 @@ declare const Card: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
51
51
|
default: boolean;
|
|
52
52
|
};
|
|
53
53
|
theme: {
|
|
54
|
-
type: PropType<
|
|
54
|
+
type: PropType<SurfaceThemeType>;
|
|
55
55
|
default: string;
|
|
56
56
|
};
|
|
57
57
|
shape: {
|
|
@@ -67,7 +67,7 @@ declare const Card: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
67
67
|
cover: PropType<string | VNodeChild>;
|
|
68
68
|
}>> & Readonly<{}>, {
|
|
69
69
|
size: SizeType;
|
|
70
|
-
theme:
|
|
70
|
+
theme: SurfaceThemeType;
|
|
71
71
|
shape: SurfaceShapeType;
|
|
72
72
|
bordered: boolean | undefined;
|
|
73
73
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -56,6 +56,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
56
56
|
type: import("vue").PropType<import("..").DropPlacementsType>;
|
|
57
57
|
default: string;
|
|
58
58
|
};
|
|
59
|
+
destroyOnClose: {
|
|
60
|
+
type: import("..").BooleanType;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
59
63
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
60
64
|
"update:modelValue": (value: CascaderValue) => boolean;
|
|
61
65
|
change: (value: CascaderValue) => boolean;
|
|
@@ -118,6 +122,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
118
122
|
type: import("vue").PropType<import("..").DropPlacementsType>;
|
|
119
123
|
default: string;
|
|
120
124
|
};
|
|
125
|
+
destroyOnClose: {
|
|
126
|
+
type: import("..").BooleanType;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
121
129
|
}>> & Readonly<{
|
|
122
130
|
onChange?: ((value: CascaderValue) => any) | undefined;
|
|
123
131
|
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
@@ -127,6 +135,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
127
135
|
separator: string;
|
|
128
136
|
disabled: boolean;
|
|
129
137
|
placement: import("..").DropPlacementsType;
|
|
138
|
+
destroyOnClose: boolean | undefined;
|
|
130
139
|
theme: import("..").ThemeType;
|
|
131
140
|
value: CascaderValue;
|
|
132
141
|
bordered: boolean | undefined;
|
|
@@ -67,5 +67,10 @@ export declare const cascaderProps: {
|
|
|
67
67
|
type: PropType<DropPlacementsType>;
|
|
68
68
|
default: string;
|
|
69
69
|
};
|
|
70
|
+
/** 关闭后是否销毁面板内容。默认销毁(重开时重新挂载);设为 false 可保留面板内的表单状态,代价是每个打开过的实例留一份隐藏 DOM。 */
|
|
71
|
+
destroyOnClose: {
|
|
72
|
+
type: BooleanType;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
70
75
|
};
|
|
71
76
|
export type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, DirectionType, ShapeType, SizeType } from "../const/types";
|
|
3
|
-
import type { CheckCardOption,
|
|
2
|
+
import type { BooleanType, DirectionType, ShapeType, SizeType, SurfaceThemeType } from "../const/types";
|
|
3
|
+
import type { CheckCardOption, CheckCardValue } from "./types";
|
|
4
4
|
declare const checkCardGroupProps: {
|
|
5
5
|
modelValue: PropType<CheckCardValue>;
|
|
6
6
|
value: PropType<CheckCardValue>;
|
|
@@ -12,8 +12,7 @@ declare const checkCardGroupProps: {
|
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
theme: {
|
|
15
|
-
type: PropType<
|
|
16
|
-
default: string;
|
|
15
|
+
type: PropType<SurfaceThemeType>;
|
|
17
16
|
};
|
|
18
17
|
size: {
|
|
19
18
|
type: PropType<SizeType>;
|
|
@@ -36,8 +35,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
36
35
|
default: string;
|
|
37
36
|
};
|
|
38
37
|
theme: {
|
|
39
|
-
type: PropType<
|
|
40
|
-
default: string;
|
|
38
|
+
type: PropType<SurfaceThemeType>;
|
|
41
39
|
};
|
|
42
40
|
size: {
|
|
43
41
|
type: PropType<SizeType>;
|
|
@@ -61,8 +59,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
61
59
|
default: string;
|
|
62
60
|
};
|
|
63
61
|
theme: {
|
|
64
|
-
type: PropType<
|
|
65
|
-
default: string;
|
|
62
|
+
type: PropType<SurfaceThemeType>;
|
|
66
63
|
};
|
|
67
64
|
size: {
|
|
68
65
|
type: PropType<SizeType>;
|
|
@@ -78,7 +75,6 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
78
75
|
}>, {
|
|
79
76
|
direction: DirectionType;
|
|
80
77
|
size: SizeType;
|
|
81
|
-
theme: CheckCardTheme;
|
|
82
78
|
shape: ShapeType;
|
|
83
79
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
84
80
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, ShapeType, SizeType } from "../const/types";
|
|
2
|
+
import type { BooleanType, ShapeType, SizeType, SurfaceThemeType } from "../const/types";
|
|
3
3
|
import { type IconType } from "../icon";
|
|
4
|
-
import type { CheckCardChangeEvent,
|
|
4
|
+
import type { CheckCardChangeEvent, CheckCardValue } from "./types";
|
|
5
5
|
declare const checkCardProps: {
|
|
6
6
|
modelValue: {
|
|
7
7
|
type: BooleanConstructor;
|
|
@@ -23,8 +23,7 @@ declare const checkCardProps: {
|
|
|
23
23
|
disabled: BooleanType;
|
|
24
24
|
readonly: BooleanType;
|
|
25
25
|
theme: {
|
|
26
|
-
type: PropType<
|
|
27
|
-
default: string;
|
|
26
|
+
type: PropType<SurfaceThemeType>;
|
|
28
27
|
};
|
|
29
28
|
size: {
|
|
30
29
|
type: PropType<SizeType>;
|
|
@@ -57,8 +56,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
57
56
|
disabled: BooleanType;
|
|
58
57
|
readonly: BooleanType;
|
|
59
58
|
theme: {
|
|
60
|
-
type: PropType<
|
|
61
|
-
default: string;
|
|
59
|
+
type: PropType<SurfaceThemeType>;
|
|
62
60
|
};
|
|
63
61
|
size: {
|
|
64
62
|
type: PropType<SizeType>;
|
|
@@ -92,8 +90,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
92
90
|
disabled: BooleanType;
|
|
93
91
|
readonly: BooleanType;
|
|
94
92
|
theme: {
|
|
95
|
-
type: PropType<
|
|
96
|
-
default: string;
|
|
93
|
+
type: PropType<SurfaceThemeType>;
|
|
97
94
|
};
|
|
98
95
|
size: {
|
|
99
96
|
type: PropType<SizeType>;
|
|
@@ -108,7 +105,6 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
108
105
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
109
106
|
}>, {
|
|
110
107
|
size: SizeType;
|
|
111
|
-
theme: CheckCardTheme;
|
|
112
108
|
shape: ShapeType;
|
|
113
109
|
modelValue: boolean;
|
|
114
110
|
checked: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComputedRef, InjectionKey } from "vue";
|
|
2
|
-
import type { ShapeType, SizeType } from "../const/types";
|
|
3
|
-
import type {
|
|
2
|
+
import type { ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
|
+
import type { CheckCardValue } from "./types";
|
|
4
4
|
export interface CheckCardRegistryItem {
|
|
5
5
|
element: HTMLElement;
|
|
6
6
|
disabled: boolean;
|
|
@@ -9,7 +9,7 @@ export interface CheckCardGroupContext {
|
|
|
9
9
|
modelValue: ComputedRef<CheckCardValue | undefined>;
|
|
10
10
|
disabled: ComputedRef<boolean>;
|
|
11
11
|
readonly: ComputedRef<boolean>;
|
|
12
|
-
theme: ComputedRef<
|
|
12
|
+
theme: ComputedRef<ThemeType | undefined>;
|
|
13
13
|
size: ComputedRef<SizeType>;
|
|
14
14
|
shape: ComputedRef<ShapeType>;
|
|
15
15
|
select: (value: CheckCardValue) => void;
|
|
@@ -2,6 +2,6 @@ import CheckCard from "./check-card";
|
|
|
2
2
|
import CheckCardGroup from "./check-card-group";
|
|
3
3
|
export type { CheckCardGroupProps } from "./check-card-group";
|
|
4
4
|
export type { CheckCardProps } from "./check-card";
|
|
5
|
-
export type { CheckCardChangeEvent, CheckCardOption,
|
|
5
|
+
export type { CheckCardChangeEvent, CheckCardOption, CheckCardValue } from "./types";
|
|
6
6
|
export { CheckCard, CheckCardGroup };
|
|
7
7
|
export default CheckCard;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { DirectionType, ShapeType, SizeType } from "../const/types";
|
|
1
|
+
import type { DirectionType, ShapeType, SizeType, SurfaceThemeType } from "../const/types";
|
|
2
2
|
import type { IconType } from "../icon";
|
|
3
3
|
export type CheckCardValue = string | number;
|
|
4
|
-
export type CheckCardTheme = "outline" | "fill";
|
|
5
4
|
export interface CheckCardOption {
|
|
6
5
|
value: CheckCardValue;
|
|
7
6
|
title: string;
|
|
@@ -16,7 +15,7 @@ export interface CheckCardChangeEvent {
|
|
|
16
15
|
value?: CheckCardValue;
|
|
17
16
|
}
|
|
18
17
|
export interface CheckCardAppearance {
|
|
19
|
-
theme?:
|
|
18
|
+
theme?: SurfaceThemeType;
|
|
20
19
|
size?: SizeType;
|
|
21
20
|
shape?: ShapeType;
|
|
22
21
|
direction?: DirectionType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, DirectionType, SizeType,
|
|
2
|
+
import type { BooleanType, DirectionType, SizeType, MarkThemeType } from "../const/types";
|
|
3
3
|
import type { CheckboxOption, CheckboxValue } from "./types";
|
|
4
4
|
declare const checkboxGroupProps: {
|
|
5
5
|
modelValue: {
|
|
@@ -11,7 +11,7 @@ declare const checkboxGroupProps: {
|
|
|
11
11
|
default: () => never[];
|
|
12
12
|
};
|
|
13
13
|
theme: {
|
|
14
|
-
type: PropType<
|
|
14
|
+
type: PropType<MarkThemeType>;
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
disabled: BooleanType;
|
|
@@ -36,7 +36,7 @@ declare const FormCheckboxGroup: import("vue").DefineComponent<ExtractPropTypes<
|
|
|
36
36
|
default: () => never[];
|
|
37
37
|
};
|
|
38
38
|
theme: {
|
|
39
|
-
type: PropType<
|
|
39
|
+
type: PropType<MarkThemeType>;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
42
|
disabled: BooleanType;
|
|
@@ -62,7 +62,7 @@ declare const FormCheckboxGroup: import("vue").DefineComponent<ExtractPropTypes<
|
|
|
62
62
|
default: () => never[];
|
|
63
63
|
};
|
|
64
64
|
theme: {
|
|
65
|
-
type: PropType<
|
|
65
|
+
type: PropType<MarkThemeType>;
|
|
66
66
|
default: string;
|
|
67
67
|
};
|
|
68
68
|
disabled: BooleanType;
|
|
@@ -80,7 +80,7 @@ declare const FormCheckboxGroup: import("vue").DefineComponent<ExtractPropTypes<
|
|
|
80
80
|
"onUpdate:modelValue"?: ((value: CheckboxValue[]) => any) | undefined;
|
|
81
81
|
}>, {
|
|
82
82
|
direction: DirectionType;
|
|
83
|
-
theme:
|
|
83
|
+
theme: MarkThemeType;
|
|
84
84
|
value: CheckboxValue[];
|
|
85
85
|
modelValue: CheckboxValue[];
|
|
86
86
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type HTMLAttributes, type PropType, type VNodeProps } from "vue";
|
|
2
|
-
import type { BooleanType, SizeType,
|
|
2
|
+
import type { BooleanType, SizeType, MarkThemeType, ValueType } from "../const/types";
|
|
3
3
|
import type { CheckboxChangeEvent } from "./types";
|
|
4
4
|
declare const checkboxProps: {
|
|
5
5
|
checked: {
|
|
@@ -21,7 +21,7 @@ declare const checkboxProps: {
|
|
|
21
21
|
type: PropType<string | number>;
|
|
22
22
|
};
|
|
23
23
|
theme: {
|
|
24
|
-
type: PropType<
|
|
24
|
+
type: PropType<MarkThemeType>;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
disabled: BooleanType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
-
import type { BooleanType, SurfaceShapeType,
|
|
2
|
+
import type { BooleanType, SurfaceShapeType, SurfaceThemeType } from "../const/types";
|
|
3
3
|
import { type CollapseKey } from "./context";
|
|
4
4
|
declare const collapseProps: {
|
|
5
5
|
openKeys: {
|
|
@@ -9,7 +9,7 @@ declare const collapseProps: {
|
|
|
9
9
|
accordion: BooleanType;
|
|
10
10
|
sample: BooleanType;
|
|
11
11
|
theme: {
|
|
12
|
-
type: PropType<
|
|
12
|
+
type: PropType<SurfaceThemeType>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
shape: {
|
|
@@ -26,7 +26,7 @@ declare const Collapse: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
26
26
|
accordion: BooleanType;
|
|
27
27
|
sample: BooleanType;
|
|
28
28
|
theme: {
|
|
29
|
-
type: PropType<
|
|
29
|
+
type: PropType<SurfaceThemeType>;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
shape: {
|
|
@@ -44,7 +44,7 @@ declare const Collapse: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
44
44
|
accordion: BooleanType;
|
|
45
45
|
sample: BooleanType;
|
|
46
46
|
theme: {
|
|
47
|
-
type: PropType<
|
|
47
|
+
type: PropType<SurfaceThemeType>;
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
50
50
|
shape: {
|
|
@@ -55,7 +55,7 @@ declare const Collapse: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
55
55
|
onChange?: ((key: CollapseKey) => any) | undefined;
|
|
56
56
|
"onUpdate:openKeys"?: ((keys: CollapseKey[]) => any) | undefined;
|
|
57
57
|
}>, {
|
|
58
|
-
theme:
|
|
58
|
+
theme: SurfaceThemeType;
|
|
59
59
|
shape: SurfaceShapeType;
|
|
60
60
|
openKeys: (string | number)[];
|
|
61
61
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|