kui-vue 6.0.0 → 6.2.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.en-US.md +21 -1
- package/AI.md +37 -1
- package/ai/behaviors.json +82 -0
- package/ai/evals/README.md +59 -0
- package/ai/evals/cases.json +91 -24
- package/ai/evals/config.json +4 -0
- package/ai/evals/evaluate.mjs +267 -0
- package/ai/evals/run.mjs +118 -0
- package/ai/kui-components.json +7894 -955
- package/ai/kui-components.schema.json +67 -0
- package/ai/mcp.mjs +210 -166
- package/ai/skills/kui-vue/SKILL.md +2 -1
- package/ai/skills/kui-vue/references/mcp.md +12 -12
- package/ai/templates/form.vue +49 -0
- package/ai/templates/index.json +23 -0
- package/ai/templates/modal-editor.vue +59 -0
- package/ai/templates/table.vue +63 -0
- package/ai/validate.mjs +225 -0
- package/dist/index.js +2 -2
- package/es/index.js +2180 -2179
- package/es/locale/de.js +1 -1
- package/es/locale/el.js +1 -1
- package/es/locale/en.js +1 -1
- package/es/locale/fr.js +1 -1
- package/es/locale/it.js +1 -1
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.js +1 -1
- package/es/locale/th.js +1 -1
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.js +1 -1
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +1 -1
- package/lib/locale/el.cjs +1 -1
- package/lib/locale/en.cjs +1 -1
- package/lib/locale/fr.cjs +1 -1
- package/lib/locale/it.cjs +1 -1
- package/lib/locale/ja.cjs +1 -1
- package/lib/locale/ko.cjs +1 -1
- package/lib/locale/ru.cjs +1 -1
- package/lib/locale/th.cjs +1 -1
- package/lib/locale/uk.cjs +1 -1
- package/lib/locale/vi.cjs +1 -1
- package/lib/locale/zh-CN.cjs +1 -1
- package/lib/locale/zh-TW.cjs +1 -1
- package/package.json +37 -31
- package/style/base.css +1 -1
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/motion.css +1 -1
- package/style/theme.css +2 -2
- package/types/affix/index.d.ts +5 -5
- package/types/alert/index.d.ts +9 -7
- package/types/anchor/anchor-link.d.ts +4 -4
- package/types/anchor/anchor.d.ts +6 -6
- package/types/anchor/context.d.ts +1 -1
- package/types/anchor/index.d.ts +4 -4
- package/types/auto-complete/index.d.ts +7 -11
- package/types/avatar/avatar-group.d.ts +5 -5
- package/types/avatar/avatar.d.ts +6 -6
- package/types/avatar/context.d.ts +1 -1
- package/types/avatar/index.d.ts +4 -4
- package/types/back-top/index.d.ts +5 -5
- package/types/badge/index.d.ts +6 -6
- package/types/base/transition.d.ts +1 -1
- package/types/breadcrumb/breadcrumb-item.d.ts +6 -6
- package/types/breadcrumb/breadcrumb.d.ts +4 -4
- package/types/breadcrumb/index.d.ts +4 -4
- package/types/button/button-group.d.ts +5 -5
- package/types/button/button.d.ts +4 -4
- package/types/button/index.d.ts +4 -4
- package/types/calendar/index.d.ts +8 -5
- package/types/card/card-meta.d.ts +4 -4
- package/types/card/index.d.ts +8 -8
- package/types/carousel/carousel-item.d.ts +1 -1
- package/types/carousel/carousel.d.ts +20 -7
- package/types/carousel/index.d.ts +3 -3
- package/types/cascader/index.d.ts +41 -32
- package/types/cascader/types.d.ts +7 -3
- package/types/check-card/check-card-group.d.ts +10 -7
- package/types/check-card/check-card.d.ts +21 -8
- package/types/check-card/context.d.ts +3 -3
- package/types/check-card/index.d.ts +5 -5
- package/types/check-card/types.d.ts +2 -2
- package/types/checkbox/checkbox-group.d.ts +20 -7
- package/types/checkbox/checkbox.d.ts +4 -3
- package/types/checkbox/index.d.ts +5 -5
- package/types/collapse/collapse-panel.d.ts +6 -6
- package/types/collapse/collapse.d.ts +7 -7
- package/types/collapse/context.d.ts +1 -1
- package/types/collapse/index.d.ts +4 -4
- package/types/color-picker/alpha.d.ts +10 -6
- package/types/color-picker/hue.d.ts +7 -4
- package/types/color-picker/index.d.ts +34 -20
- package/types/color-picker/mode.d.ts +9 -9
- package/types/color-picker/paint.d.ts +9 -6
- package/types/color-picker/presets.d.ts +7 -7
- package/types/color-picker/types.d.ts +1 -0
- package/types/components.d.ts +166 -161
- package/types/config/context.d.ts +2 -2
- package/types/config/index.d.ts +7 -7
- package/types/config/popup.d.ts +1 -1
- package/types/const/types.d.ts +2 -2
- package/types/date-picker/index.d.ts +49 -19
- package/types/descriptions/descriptions-item.d.ts +5 -5
- package/types/descriptions/descriptions.d.ts +5 -5
- package/types/descriptions/index.d.ts +4 -2
- package/types/directives/outsiteclick.d.ts +1 -1
- package/types/directives/resize.d.ts +1 -1
- package/types/directives/scroll.d.ts +1 -1
- package/types/divider/index.d.ts +5 -5
- package/types/drawer/index.d.ts +24 -11
- package/types/dropdown/dropdown-button.d.ts +7 -7
- package/types/dropdown/dropdown.d.ts +12 -16
- package/types/dropdown/index.d.ts +4 -2
- package/types/dropdown/trigger.d.ts +6 -6
- package/types/empty/index.d.ts +1 -1
- package/types/feature-card/index.d.ts +7 -7
- package/types/feedback-panel/feedback-panel.d.ts +7 -7
- package/types/feedback-panel/index.d.ts +3 -3
- package/types/flame-wrap/index.d.ts +9 -9
- package/types/flex/index.d.ts +7 -7
- package/types/flex/types.d.ts +1 -1
- package/types/form/context.d.ts +3 -3
- package/types/form/form-item.d.ts +6 -6
- package/types/form/form.d.ts +9 -13
- package/types/form/index.d.ts +6 -6
- package/types/global.d.ts +2 -0
- package/types/grid/grid-item.d.ts +2 -2
- package/types/grid/grid.d.ts +3 -3
- package/types/grid/index.d.ts +5 -5
- package/types/grid/useBreakpoint.d.ts +1 -1
- package/types/icon/index.d.ts +8 -8
- package/types/image/context.d.ts +2 -2
- package/types/image/group.d.ts +4 -4
- package/types/image/image.d.ts +7 -7
- package/types/image/index.d.ts +5 -5
- package/types/image/instance.d.ts +11 -4
- package/types/image/preview.d.ts +6 -6
- package/types/index.d.cts +2 -2
- package/types/index.d.ts +2 -2
- package/types/input/index.d.ts +6 -6
- package/types/input/input-box.d.ts +6 -6
- package/types/input/input-group.d.ts +5 -5
- package/types/input/input.d.ts +27 -10
- package/types/input/textarea.d.ts +17 -8
- package/types/input-number/index.d.ts +10 -7
- package/types/input-otp/index.d.ts +3 -3
- package/types/input-otp/input-otp.d.ts +21 -8
- package/types/input-tag/index.d.ts +6 -6
- package/types/kanban/index.d.ts +5 -5
- package/types/layout/index.d.ts +17 -17
- package/types/list-panel/index.d.ts +7 -7
- package/types/mentions/index.d.ts +7 -7
- package/types/menu/index.d.ts +6 -6
- package/types/menu/menu-context.d.ts +4 -2
- package/types/menu/menu-divider.d.ts +1 -1
- package/types/menu/menu-group.d.ts +4 -4
- package/types/menu/menu-item.d.ts +10 -6
- package/types/menu/menu.d.ts +24 -17
- package/types/menu/recursive-menu.d.ts +5 -5
- package/types/menu/sub-menu.d.ts +6 -6
- package/types/menu/types.d.ts +2 -2
- package/types/message/index.d.ts +3 -3
- package/types/modal/index.d.ts +15 -10
- package/types/modal/modal.d.ts +25 -97
- package/types/modal/toast.d.ts +11 -10
- package/types/notice/container.d.ts +3 -3
- package/types/notice/content.d.ts +10 -77
- package/types/notice/index.d.ts +3 -3
- package/types/notice/instance.d.ts +2 -2
- package/types/page/index.d.ts +6 -6
- package/types/page-header/index.d.ts +4 -4
- package/types/popconfirm/index.d.ts +8 -45
- package/types/poptip/index.d.ts +9 -47
- package/types/popup/index.d.ts +251 -0
- package/types/popup/layers.d.ts +9 -0
- package/types/popup/types.d.ts +15 -0
- package/types/progress/index.d.ts +6 -6
- package/types/qrcode/index.d.ts +7 -7
- package/types/radio/index.d.ts +8 -7
- package/types/radio/radio-button.d.ts +8 -8
- package/types/radio/radio-group.d.ts +4 -3
- package/types/radio/radio.d.ts +7 -7
- package/types/radio/types.d.ts +1 -1
- package/types/rate/index.d.ts +7 -7
- package/types/rate/star.d.ts +7 -7
- package/types/result/index.d.ts +3 -3
- package/types/result/result.d.ts +7 -7
- package/types/ripple/index.d.ts +6 -6
- package/types/row-col/col.d.ts +4 -4
- package/types/row-col/index.d.ts +4 -4
- package/types/row-col/row.d.ts +4 -4
- package/types/segmented/index.d.ts +6 -4
- package/types/select/index.d.ts +5 -5
- package/types/select/option.d.ts +13 -14
- package/types/select/select.d.ts +10 -6
- package/types/select/types.d.ts +1 -1
- package/types/skeleton/index.d.ts +10 -10
- package/types/skeleton/skeleton-avatar.d.ts +13 -13
- package/types/skeleton/skeleton-button.d.ts +15 -15
- package/types/skeleton/skeleton-image.d.ts +11 -11
- package/types/skeleton/skeleton-text.d.ts +11 -11
- package/types/skeleton/skeleton.d.ts +15 -15
- package/types/skeleton/types.d.ts +2 -2
- package/types/skeleton/use-skeleton-loading.d.ts +1 -1
- package/types/slider/index.d.ts +8 -3
- package/types/slider/thumb.d.ts +7 -7
- package/types/space/index.d.ts +4 -4
- package/types/spin/index.d.ts +18 -5
- package/types/splitter/index.d.ts +2 -2
- package/types/splitter/splitter-panel.d.ts +4 -4
- package/types/splitter/splitter.d.ts +6 -6
- package/types/stat-card/countup.d.ts +4 -4
- package/types/stat-card/index.d.ts +5 -5
- package/types/stat-card/rollup.d.ts +6 -4
- package/types/stat-card/stat-card.d.ts +7 -7
- package/types/stat-card/stat-number.d.ts +19 -6
- package/types/stat-card/types.d.ts +1 -1
- package/types/stat-card/utils/countup.d.ts +1 -1
- package/types/stat-card/utils/odometer.d.ts +8 -5
- package/types/steps/index.d.ts +8 -8
- package/types/switch/index.d.ts +3 -2
- package/types/table/column-setting.d.ts +7 -7
- package/types/table/index.d.ts +13 -26
- package/types/table/types.d.ts +2 -2
- package/types/table/utils.d.ts +1 -1
- package/types/tabs/index.d.ts +5 -4
- package/types/tabs/tab-panel.d.ts +6 -6
- package/types/tabs/tabs.d.ts +6 -6
- package/types/tabs/types.d.ts +1 -1
- package/types/tag/index.d.ts +9 -7
- package/types/time-line/index.d.ts +5 -5
- package/types/time-line/timeline-item.d.ts +5 -5
- package/types/time-line/timeline.d.ts +6 -6
- package/types/tooltip/index.d.ts +21 -35
- package/types/tour/index.d.ts +34 -23
- package/types/transfer/index.d.ts +18 -5
- package/types/tree/context.d.ts +1 -1
- package/types/tree/index.d.ts +13 -10
- package/types/tree/types.d.ts +1 -1
- package/types/tree/utils.d.ts +1 -1
- package/types/tree-select/index.d.ts +14 -7
- package/types/typography/index.d.ts +26 -17
- package/types/upload/file-list.d.ts +8 -8
- package/types/upload/index.d.ts +9 -22
- package/types/upload/picture-sort.d.ts +2 -0
- package/types/upload/selector.d.ts +9 -9
- package/types/upload/types.d.ts +1 -1
- package/types/utils/checked.d.ts +1 -1
- package/types/utils/model-value.d.ts +10 -0
- package/types/utils/number.d.ts +1 -1
- package/types/utils/placement.d.ts +1 -1
- package/types/utils/popup.d.ts +11 -0
- package/types/utils/selection-tags.d.ts +18 -0
- package/types/utils/vnode.d.ts +3 -3
- package/types/utils/vue.d.ts +7 -1
- package/types/virtual-list/index.d.ts +6 -6
- package/types/watermark/index.d.ts +8 -8
- package/vetur/attributes.json +1717 -781
- package/vetur/tags.json +359 -159
- package/vetur/web-types.json +7563 -6197
- package/types/directives/transfer.d.ts +0 -2
package/style/motion.css
CHANGED
package/style/theme.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* kui-vue v6.
|
|
2
|
+
* kui-vue v6.2.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-round:var(--kui-border-radius);--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-control-radius:var(--kui-shape-round);--kui-card-radius:var(--kui-border-radius-card);--kui-card-padding:var(--kui-spacing-4);--kui-popup-radius:var(--kui-border-radius);--kui-disabled-opacity:.7;--kui-control-bg:var(--kui-color-bg);--kui-control-bg-fill:var(--kui-color-bg-component-overlay);--kui-control-bg-disabled:var(--kui-color-bg-component-disabled);--kui-control-border:var(--kui-color-border);--kui-control-border-hover:var(--kui-color-primary);--kui-control-border-focus:var(--kui-color-primary);--kui-control-text:var(--kui-color-text);--kui-card-bg:var(--kui-color-bg-component);--kui-card-border:var(--kui-color-border);--kui-popup-bg:var(--kui-color-bg-pop);--kui-popup-border:var(--kui-color-pop-border);--kui-popup-shadow:var(--kui-pop-shadow);--kui-theme-default-bg:var(--kui-control-bg);--kui-theme-default-border:var(--kui-control-border);--kui-theme-fill-bg:var(--kui-control-bg-fill);--kui-theme-fill-border:transparent;--kui-theme-outline-bg:transparent;--kui-theme-outline-border:var(--kui-control-border);--kui-theme-plain-bg:transparent;--kui-theme-plain-border:transparent;--kui-color-primary:#54a9ff;--kui-color-primary-hover:color-mix(in srgb, var(--kui-color-primary) 90%, transparent);--kui-color-primary-active:color-mix(in srgb, var(--kui-color-primary) 80%, transparent);--kui-color-primary-1:color-mix(in srgb, var(--kui-color-primary) 90%, transparent);--kui-color-primary-3:color-mix(in srgb, var(--kui-color-primary) 70%, transparent);--kui-color-primary-6:color-mix(in srgb, var(--kui-color-primary) 40%, transparent);--kui-color-primary-8:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-primary-9:color-mix(in srgb, var(--kui-color-primary) 10%, transparent);--kui-color-success:#00bb5d;--kui-color-success-1:#00bb5de6;--kui-color-success-3:#00bb5db3;--kui-color-success-6:#00bb5d66;--kui-color-success-8:#00bb5d33;--kui-color-success-9:#00bb5d1a;--kui-color-warning:#ffae43;--kui-color-warning-hover:#ffae43e6;--kui-color-warning-active:#ffae43cc;--kui-color-warning-1:#ffae43e6;--kui-color-warning-3:#ffae43b3;--kui-color-warning-6:#ffae4366;--kui-color-warning-8:#ffae4333;--kui-color-warning-9:#ffae431a;--kui-color-danger:#fc725a;--kui-color-danger-hover:#fc725ae6;--kui-color-danger-active:#fc725acc;--kui-color-danger-1:#fc725ae6;--kui-color-danger-3:#fc725ab3;--kui-color-danger-6:#fc725a66;--kui-color-danger-8:#fc725a33;--kui-color-danger-9:#fc725a1a;--kui-color-pink:#ff738c;--kui-color-pink-3:#ff738cb3;--kui-color-pink-6:#ff738c66;--kui-color-pink-8:#ff738c33;--kui-color-pink-9:#ff738c1a;--kui-color-red:#ff1a1a;--kui-color-red-3:#ff1a1ab3;--kui-color-red-6:#ff1a1a66;--kui-color-red-8:#ff1a1a33;--kui-color-red-9:#ff1a1a1a;--kui-color-yellow:#cc0;--kui-color-yellow-3:#cccc00b3;--kui-color-yellow-6:#cc06;--kui-color-yellow-8:#cc03;--kui-color-yellow-9:#cccc001a;--kui-color-orange:orange;--kui-color-orange-3:#ffa500b3;--kui-color-orange-6:#ffa50066;--kui-color-orange-8:#ffa50033;--kui-color-orange-9:#ffa5001a;--kui-color-cyan:#0cc;--kui-color-cyan-3:#00ccccb3;--kui-color-cyan-6:#0cc6;--kui-color-cyan-8:#0cc3;--kui-color-cyan-9:#00cccc1a;--kui-color-violet:violet;--kui-color-violet-3:#ee82eeb3;--kui-color-violet-6:#ee82ee66;--kui-color-violet-8:#ee82ee33;--kui-color-violet-9:#ee82ee1a;--kui-color-green:#00cd00;--kui-color-green-3:#00cd00b3;--kui-color-green-6:#00cd0066;--kui-color-green-8:#00cd0033;--kui-color-green-9:#00cd001a;--kui-color-blue:#0080ff;--kui-color-blue-3:#007fffb3;--kui-color-blue-6:#007fff66;--kui-color-blue-8:#007fff33;--kui-color-blue-9:#007fff1a;--kui-color-purple:#cd00cc;--kui-color-purple-3:#cd00ccb3;--kui-color-purple-6:#cd00cc66;--kui-color-purple-8:#cd00cc33;--kui-color-purple-9:#cd00cc1a;--kui-color-brown:#d26815;--kui-color-brown-3:#d26815b3;--kui-color-brown-6:#d2681566;--kui-color-brown-8:#d2681533;--kui-color-brown-9:#d268151a;--kui-color-teal:teal;--kui-color-teal-3:#008080b3;--kui-color-teal-6:#00808066;--kui-color-teal-8:#00808033;--kui-color-teal-9:#0080801a;--kui-color-magenta:magenta;--kui-color-magenta-3:#ff00ffb3;--kui-color-magenta-6:#f0f6;--kui-color-magenta-8:#f0f3;--kui-color-magenta-9:#ff00ff1a;--kui-color-olive:olive;--kui-color-olive-3:#808000b3;--kui-color-olive-6:#80800066;--kui-color-olive-8:#80800033;--kui-color-olive-9:#8080001a;--kui-color-volcano:#ff4200;--kui-color-volcano-3:#ff4200b3;--kui-color-volcano-6:#ff420066;--kui-color-volcano-8:#ff420033;--kui-color-volcano-9:#ff42001a;--kui-color-gold:#b39700;--kui-color-gold-3:#b39700b3;--kui-color-gold-6:#b3970066;--kui-color-gold-8:#b3970033;--kui-color-gold-9:#b397001a;--kui-color-lime:#00b300;--kui-color-lime-3:#00b300b3;--kui-color-lime-6:#00b30066;--kui-color-lime-8:#00b30033;--kui-color-lime-9:#00b3001a;--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-outline:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--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:#262626;--kui-color-scrollbar-thumb:#1e1e1e34;--kui-color-scrollbar-thumb-hover:#0000001a;--kui-color-item-hover:#f5f5f5;--kui-color-item-active:#eee;--kui-color-item-selected:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-item-disabled:#f5f5f5;--kui-component-shadow:0 0 2px color-mix(in srgb, var(--kui-color-primary) 10%, transparent);--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-outline:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-shadow:#0009;--kui-color-mask:#0009;--kui-color-spin-mask:#161616d5;--kui-component-shadow:0 0 2px color-mix(in srgb, var(--kui-color-primary) 10%, transparent);--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-selected:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--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-disabled-opacity:.7;--kui-control-bg:var(--kui-color-bg);--kui-control-bg-fill:var(--kui-color-bg-component-overlay);--kui-control-bg-disabled:var(--kui-color-bg-component-disabled);--kui-control-border:var(--kui-color-border);--kui-control-border-hover:var(--kui-color-primary);--kui-control-border-focus:var(--kui-color-primary);--kui-control-text:var(--kui-color-text);--kui-card-bg:var(--kui-color-bg-component);--kui-card-border:var(--kui-color-border);--kui-popup-bg:var(--kui-color-bg-pop);--kui-popup-border:var(--kui-color-pop-border);--kui-popup-shadow:var(--kui-pop-shadow);--kui-theme-default-bg:var(--kui-control-bg);--kui-theme-default-border:var(--kui-control-border);--kui-theme-fill-bg:var(--kui-control-bg-fill);--kui-theme-fill-border:transparent;--kui-theme-outline-bg:transparent;--kui-theme-outline-border:var(--kui-control-border);--kui-theme-plain-bg:transparent;--kui-theme-plain-border:transparent}[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-outline:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--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:#262626;--kui-color-scrollbar-thumb:#1e1e1e34;--kui-color-scrollbar-thumb-hover:#0000001a;--kui-color-item-hover:#f5f5f5;--kui-color-item-active:#eee;--kui-color-item-selected:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-item-disabled:#f5f5f5;--kui-component-shadow:0 0 2px color-mix(in srgb, var(--kui-color-primary) 10%, transparent);--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);--kui-disabled-opacity:.7;--kui-control-bg:var(--kui-color-bg);--kui-control-bg-fill:var(--kui-color-bg-component-overlay);--kui-control-bg-disabled:var(--kui-color-bg-component-disabled);--kui-control-border:var(--kui-color-border);--kui-control-border-hover:var(--kui-color-primary);--kui-control-border-focus:var(--kui-color-primary);--kui-control-text:var(--kui-color-text);--kui-card-bg:var(--kui-color-bg-component);--kui-card-border:var(--kui-color-border);--kui-popup-bg:var(--kui-color-bg-pop);--kui-popup-border:var(--kui-color-pop-border);--kui-popup-shadow:var(--kui-pop-shadow);--kui-theme-default-bg:var(--kui-control-bg);--kui-theme-default-border:var(--kui-control-border);--kui-theme-fill-bg:var(--kui-control-bg-fill);--kui-theme-fill-border:transparent;--kui-theme-outline-bg:transparent;--kui-theme-outline-border:var(--kui-control-border);--kui-theme-plain-bg:transparent;--kui-theme-plain-border:transparent}[shape-mode=square]{--kui-border-radius:2px;--kui-border-radius-lg:2px;--kui-border-radius-card:2px;--kui-shape-round:2px;--kui-control-radius:2px;--kui-card-radius:2px;--kui-popup-radius: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-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}
|
package/types/affix/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
1
|
+
import type { ExtractPropTypes, PropType } from "vue";
|
|
2
2
|
declare const affixProps: {
|
|
3
3
|
offsetTop: {
|
|
4
4
|
type: NumberConstructor;
|
|
@@ -11,7 +11,7 @@ declare const affixProps: {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export type AffixProps = ExtractPropTypes<typeof affixProps>;
|
|
14
|
-
declare const Affix: import(
|
|
14
|
+
declare const Affix: import("vue").DefineComponent<ExtractPropTypes<{
|
|
15
15
|
offsetTop: {
|
|
16
16
|
type: NumberConstructor;
|
|
17
17
|
default: number;
|
|
@@ -21,9 +21,9 @@ declare const Affix: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
21
21
|
type: PropType<() => Window | HTMLElement | null>;
|
|
22
22
|
default: () => (Window & typeof globalThis) | null;
|
|
23
23
|
};
|
|
24
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
24
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
25
|
change: (affixed: boolean) => boolean;
|
|
26
|
-
}, string, import(
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
27
27
|
offsetTop: {
|
|
28
28
|
type: NumberConstructor;
|
|
29
29
|
default: number;
|
|
@@ -38,5 +38,5 @@ declare const Affix: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
38
38
|
}>, {
|
|
39
39
|
offsetTop: number;
|
|
40
40
|
target: () => Window | HTMLElement | null;
|
|
41
|
-
}, {}, {}, {}, string, import(
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
export default Affix;
|
package/types/alert/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, ShapeType, ThemeType } from
|
|
3
|
-
import { IconType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, ShapeType, ThemeType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
4
|
declare const alertProps: {
|
|
5
5
|
type: {
|
|
6
6
|
type: PropType<"info" | "success" | "warning" | "error">;
|
|
@@ -25,7 +25,7 @@ declare const alertProps: {
|
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
export type AlertProps = ExtractPropTypes<typeof alertProps>;
|
|
28
|
-
declare const Alert: import(
|
|
28
|
+
declare const Alert: import("vue").DefineComponent<ExtractPropTypes<{
|
|
29
29
|
type: {
|
|
30
30
|
type: PropType<"info" | "success" | "warning" | "error">;
|
|
31
31
|
default: string;
|
|
@@ -47,9 +47,10 @@ declare const Alert: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
47
47
|
type: PropType<ShapeType>;
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
50
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
50
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
51
|
close: (event: MouseEvent) => boolean;
|
|
52
|
-
|
|
52
|
+
afterClose: () => true;
|
|
53
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
53
54
|
type: {
|
|
54
55
|
type: PropType<"info" | "success" | "warning" | "error">;
|
|
55
56
|
default: string;
|
|
@@ -73,10 +74,11 @@ declare const Alert: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
73
74
|
};
|
|
74
75
|
}>> & Readonly<{
|
|
75
76
|
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
77
|
+
onAfterClose?: (() => any) | undefined;
|
|
76
78
|
}>, {
|
|
77
79
|
type: "error" | "warning" | "success" | "info";
|
|
78
80
|
theme: ThemeType;
|
|
79
81
|
shape: ShapeType;
|
|
80
82
|
showIcon: boolean | undefined;
|
|
81
|
-
}, {}, {}, {}, string, import(
|
|
83
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
82
84
|
export default Alert;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes } from
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
2
|
declare const anchorLinkProps: {
|
|
3
3
|
href: {
|
|
4
4
|
type: StringConstructor;
|
|
@@ -7,17 +7,17 @@ declare const anchorLinkProps: {
|
|
|
7
7
|
title: StringConstructor;
|
|
8
8
|
};
|
|
9
9
|
export type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>;
|
|
10
|
-
declare const AnchorLink: import(
|
|
10
|
+
declare const AnchorLink: import("vue").DefineComponent<ExtractPropTypes<{
|
|
11
11
|
href: {
|
|
12
12
|
type: StringConstructor;
|
|
13
13
|
required: boolean;
|
|
14
14
|
};
|
|
15
15
|
title: StringConstructor;
|
|
16
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
16
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
17
17
|
href: {
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
required: boolean;
|
|
20
20
|
};
|
|
21
21
|
title: StringConstructor;
|
|
22
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
22
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
23
|
export default AnchorLink;
|
package/types/anchor/anchor.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
3
|
declare const anchorProps: {
|
|
4
4
|
affix: {
|
|
5
5
|
type: BooleanType;
|
|
@@ -16,7 +16,7 @@ declare const anchorProps: {
|
|
|
16
16
|
container: PropType<string | HTMLElement | Window>;
|
|
17
17
|
};
|
|
18
18
|
export type AnchorProps = ExtractPropTypes<typeof anchorProps>;
|
|
19
|
-
declare const Anchor: import(
|
|
19
|
+
declare const Anchor: import("vue").DefineComponent<ExtractPropTypes<{
|
|
20
20
|
affix: {
|
|
21
21
|
type: BooleanType;
|
|
22
22
|
default: boolean;
|
|
@@ -30,10 +30,10 @@ declare const Anchor: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
30
30
|
default: number;
|
|
31
31
|
};
|
|
32
32
|
container: PropType<string | HTMLElement | Window>;
|
|
33
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
33
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
34
|
change: (activeLink: string) => boolean;
|
|
35
35
|
click: (link: string) => boolean;
|
|
36
|
-
}, string, import(
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
37
37
|
affix: {
|
|
38
38
|
type: BooleanType;
|
|
39
39
|
default: boolean;
|
|
@@ -54,5 +54,5 @@ declare const Anchor: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
54
54
|
offsetTop: number;
|
|
55
55
|
affix: boolean | undefined;
|
|
56
56
|
bounds: number;
|
|
57
|
-
}, {}, {}, {}, string, import(
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
export default Anchor;
|
package/types/anchor/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type { AnchorProps } from
|
|
4
|
-
export type { AnchorLinkProps } from
|
|
1
|
+
import Anchor from "./anchor";
|
|
2
|
+
import AnchorLink from "./anchor-link";
|
|
3
|
+
export type { AnchorProps } from "./anchor";
|
|
4
|
+
export type { AnchorLinkProps } from "./anchor-link";
|
|
5
5
|
export { Anchor, AnchorLink };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
2
|
-
import { ShapeType, SizeType, ThemeType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import type { ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
3
|
export interface AutoCompleteOption {
|
|
4
4
|
value: string;
|
|
5
5
|
label?: VNodeChild;
|
|
@@ -19,7 +19,6 @@ declare const propsDef: {
|
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: undefined;
|
|
21
21
|
};
|
|
22
|
-
defaultOpen: BooleanConstructor;
|
|
23
22
|
showOnEmpty: BooleanConstructor;
|
|
24
23
|
clearable: BooleanConstructor;
|
|
25
24
|
disabled: BooleanConstructor;
|
|
@@ -39,7 +38,7 @@ declare const propsDef: {
|
|
|
39
38
|
};
|
|
40
39
|
};
|
|
41
40
|
export type AutoCompleteProps = ExtractPropTypes<typeof propsDef>;
|
|
42
|
-
declare const _default: import(
|
|
41
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
43
42
|
modelValue: StringConstructor;
|
|
44
43
|
value: {
|
|
45
44
|
type: StringConstructor;
|
|
@@ -53,7 +52,6 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
53
52
|
type: BooleanConstructor;
|
|
54
53
|
default: undefined;
|
|
55
54
|
};
|
|
56
|
-
defaultOpen: BooleanConstructor;
|
|
57
55
|
showOnEmpty: BooleanConstructor;
|
|
58
56
|
clearable: BooleanConstructor;
|
|
59
57
|
disabled: BooleanConstructor;
|
|
@@ -71,14 +69,14 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
71
69
|
type: PropType<boolean | ((input: string, option: AutoCompleteOption) => boolean)>;
|
|
72
70
|
default: boolean;
|
|
73
71
|
};
|
|
74
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
72
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
75
73
|
"update:modelValue": (value: string) => boolean;
|
|
76
74
|
change: (value: string) => boolean;
|
|
77
75
|
clear: () => true;
|
|
78
76
|
search: (value: string) => boolean;
|
|
79
77
|
select: (value: string, option: AutoCompleteOption) => boolean;
|
|
80
78
|
openChange: (open: boolean) => boolean;
|
|
81
|
-
}, string, import(
|
|
79
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
82
80
|
modelValue: StringConstructor;
|
|
83
81
|
value: {
|
|
84
82
|
type: StringConstructor;
|
|
@@ -92,7 +90,6 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
92
90
|
type: BooleanConstructor;
|
|
93
91
|
default: undefined;
|
|
94
92
|
};
|
|
95
|
-
defaultOpen: BooleanConstructor;
|
|
96
93
|
showOnEmpty: BooleanConstructor;
|
|
97
94
|
clearable: BooleanConstructor;
|
|
98
95
|
disabled: BooleanConstructor;
|
|
@@ -115,8 +112,8 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
115
112
|
onClear?: (() => any) | undefined;
|
|
116
113
|
onSelect?: ((value: string, option: AutoCompleteOption) => any) | undefined;
|
|
117
114
|
onSearch?: ((value: string) => any) | undefined;
|
|
118
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
119
115
|
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
116
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
120
117
|
}>, {
|
|
121
118
|
open: boolean;
|
|
122
119
|
disabled: boolean;
|
|
@@ -126,8 +123,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
126
123
|
readonly: boolean;
|
|
127
124
|
clearable: boolean;
|
|
128
125
|
options: (string | AutoCompleteOption)[];
|
|
129
|
-
defaultOpen: boolean;
|
|
130
126
|
showOnEmpty: boolean;
|
|
131
127
|
filterOption: boolean | ((input: string, option: AutoCompleteOption) => boolean);
|
|
132
|
-
}, {}, {}, {}, string, import(
|
|
128
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
133
129
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { AvatarShape, AvatarSize } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import { type AvatarShape, type AvatarSize } from "./context";
|
|
3
3
|
declare const avatarGroupProps: {
|
|
4
4
|
maxCount: NumberConstructor;
|
|
5
5
|
spacing: NumberConstructor;
|
|
@@ -13,7 +13,7 @@ declare const avatarGroupProps: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
export type AvatarGroupProps = ExtractPropTypes<typeof avatarGroupProps>;
|
|
16
|
-
declare const AvatarGroup: import(
|
|
16
|
+
declare const AvatarGroup: import("vue").DefineComponent<ExtractPropTypes<{
|
|
17
17
|
maxCount: NumberConstructor;
|
|
18
18
|
spacing: NumberConstructor;
|
|
19
19
|
shape: {
|
|
@@ -24,7 +24,7 @@ declare const AvatarGroup: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
24
24
|
type: PropType<AvatarSize>;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
27
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
28
28
|
maxCount: NumberConstructor;
|
|
29
29
|
spacing: NumberConstructor;
|
|
30
30
|
shape: {
|
|
@@ -38,5 +38,5 @@ declare const AvatarGroup: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
38
38
|
}>> & Readonly<{}>, {
|
|
39
39
|
size: AvatarSize;
|
|
40
40
|
shape: AvatarShape;
|
|
41
|
-
}, {}, {}, {}, string, import(
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
export default AvatarGroup;
|
package/types/avatar/avatar.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { IconType } from
|
|
3
|
-
import { AvatarShape, AvatarSize } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import { type IconType } from "../icon";
|
|
3
|
+
import { type AvatarShape, type AvatarSize } from "./context";
|
|
4
4
|
declare const avatarProps: {
|
|
5
5
|
icon: PropType<IconType[]>;
|
|
6
6
|
shape: {
|
|
@@ -16,7 +16,7 @@ declare const avatarProps: {
|
|
|
16
16
|
onError: PropType<(event: Event) => boolean | void>;
|
|
17
17
|
};
|
|
18
18
|
export type AvatarProps = ExtractPropTypes<typeof avatarProps>;
|
|
19
|
-
declare const Avatar: import(
|
|
19
|
+
declare const Avatar: import("vue").DefineComponent<ExtractPropTypes<{
|
|
20
20
|
icon: PropType<IconType[]>;
|
|
21
21
|
shape: {
|
|
22
22
|
type: PropType<AvatarShape>;
|
|
@@ -29,7 +29,7 @@ declare const Avatar: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
29
29
|
src: StringConstructor;
|
|
30
30
|
alt: StringConstructor;
|
|
31
31
|
onError: PropType<(event: Event) => boolean | void>;
|
|
32
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
32
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
33
33
|
icon: PropType<IconType[]>;
|
|
34
34
|
shape: {
|
|
35
35
|
type: PropType<AvatarShape>;
|
|
@@ -45,5 +45,5 @@ declare const Avatar: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
45
45
|
}>> & Readonly<{}>, {
|
|
46
46
|
size: AvatarSize;
|
|
47
47
|
shape: AvatarShape;
|
|
48
|
-
}, {}, {}, {}, string, import(
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
49
|
export default Avatar;
|
package/types/avatar/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type { AvatarProps } from
|
|
4
|
-
export type { AvatarGroupProps } from
|
|
1
|
+
import Avatar from "./avatar";
|
|
2
|
+
import AvatarGroup from "./avatar-group";
|
|
3
|
+
export type { AvatarProps } from "./avatar";
|
|
4
|
+
export type { AvatarGroupProps } from "./avatar-group";
|
|
5
5
|
export { Avatar, AvatarGroup };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
2
|
declare const backTopProps: {
|
|
3
3
|
height: {
|
|
4
4
|
type: NumberConstructor;
|
|
@@ -16,7 +16,7 @@ declare const backTopProps: {
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
export type BackTopProps = ExtractPropTypes<typeof backTopProps>;
|
|
19
|
-
declare const BackTop: import(
|
|
19
|
+
declare const BackTop: import("vue").DefineComponent<ExtractPropTypes<{
|
|
20
20
|
height: {
|
|
21
21
|
type: NumberConstructor;
|
|
22
22
|
default: number;
|
|
@@ -31,10 +31,10 @@ declare const BackTop: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
31
31
|
type: PropType<() => HTMLElement | null>;
|
|
32
32
|
default: () => HTMLElement | null;
|
|
33
33
|
};
|
|
34
|
-
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import(
|
|
34
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
35
|
click: (event: MouseEvent) => boolean;
|
|
36
36
|
visibleChange: (visible: boolean) => boolean;
|
|
37
|
-
}, string, import(
|
|
37
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
38
38
|
height: {
|
|
39
39
|
type: NumberConstructor;
|
|
40
40
|
default: number;
|
|
@@ -56,5 +56,5 @@ declare const BackTop: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
56
56
|
target: () => HTMLElement | null;
|
|
57
57
|
height: number;
|
|
58
58
|
behavior: ScrollBehavior;
|
|
59
|
-
}, {}, {}, {}, string, import(
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
60
60
|
export default BackTop;
|
package/types/badge/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNode } from
|
|
2
|
-
import { BadgeStatusType, BooleanType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNode } from "vue";
|
|
2
|
+
import type { BadgeStatusType, BooleanType } from "../const/types";
|
|
3
3
|
declare const badgeProps: {
|
|
4
4
|
count: (NumberConstructor | StringConstructor)[];
|
|
5
5
|
dot: BooleanType;
|
|
@@ -17,7 +17,7 @@ declare const badgeProps: {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
|
|
20
|
-
declare const Badge: import(
|
|
20
|
+
declare const Badge: import("vue").DefineComponent<ExtractPropTypes<{
|
|
21
21
|
count: (NumberConstructor | StringConstructor)[];
|
|
22
22
|
dot: BooleanType;
|
|
23
23
|
pill: BooleanType;
|
|
@@ -32,7 +32,7 @@ declare const Badge: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
32
32
|
type: NumberConstructor;
|
|
33
33
|
default: number;
|
|
34
34
|
};
|
|
35
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
35
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
36
36
|
count: (NumberConstructor | StringConstructor)[];
|
|
37
37
|
dot: BooleanType;
|
|
38
38
|
pill: BooleanType;
|
|
@@ -50,6 +50,6 @@ declare const Badge: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
50
50
|
}>> & Readonly<{}>, {
|
|
51
51
|
maxCount: number;
|
|
52
52
|
status: BadgeStatusType;
|
|
53
|
-
}, {}, {}, {}, string, import(
|
|
53
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
54
54
|
export default Badge;
|
|
55
|
-
export type { BadgeStatusType } from
|
|
55
|
+
export type { BadgeStatusType } from "../const/types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { IconType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import { type IconType } from "../icon";
|
|
3
3
|
declare const breadcrumbItemProps: {
|
|
4
4
|
href: StringConstructor;
|
|
5
5
|
target: StringConstructor;
|
|
@@ -7,19 +7,19 @@ declare const breadcrumbItemProps: {
|
|
|
7
7
|
icon: PropType<IconType[]>;
|
|
8
8
|
};
|
|
9
9
|
export type BreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>;
|
|
10
|
-
declare const BreadcrumbItem: import(
|
|
10
|
+
declare const BreadcrumbItem: import("vue").DefineComponent<ExtractPropTypes<{
|
|
11
11
|
href: StringConstructor;
|
|
12
12
|
target: StringConstructor;
|
|
13
13
|
rel: StringConstructor;
|
|
14
14
|
icon: PropType<IconType[]>;
|
|
15
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
15
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
click: (event: MouseEvent) => boolean;
|
|
17
|
-
}, string, import(
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
18
18
|
href: StringConstructor;
|
|
19
19
|
target: StringConstructor;
|
|
20
20
|
rel: StringConstructor;
|
|
21
21
|
icon: PropType<IconType[]>;
|
|
22
22
|
}>> & Readonly<{
|
|
23
23
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, string, import(
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
25
|
export default BreadcrumbItem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
2
|
declare const breadcrumbProps: {
|
|
3
3
|
separator: {
|
|
4
4
|
type: PropType<VNodeChild>;
|
|
@@ -6,17 +6,17 @@ declare const breadcrumbProps: {
|
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
8
|
export type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>;
|
|
9
|
-
declare const Breadcrumb: import(
|
|
9
|
+
declare const Breadcrumb: import("vue").DefineComponent<ExtractPropTypes<{
|
|
10
10
|
separator: {
|
|
11
11
|
type: PropType<VNodeChild>;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
14
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
15
15
|
separator: {
|
|
16
16
|
type: PropType<VNodeChild>;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
}>> & Readonly<{}>, {
|
|
20
20
|
separator: VNodeChild;
|
|
21
|
-
}, {}, {}, {}, string, import(
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
22
|
export default Breadcrumb;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type { BreadcrumbProps } from
|
|
4
|
-
export type { BreadcrumbItemProps } from
|
|
1
|
+
import Breadcrumb from "./breadcrumb";
|
|
2
|
+
import BreadcrumbItem from "./breadcrumb-item";
|
|
3
|
+
export type { BreadcrumbProps } from "./breadcrumb";
|
|
4
|
+
export type { BreadcrumbItemProps } from "./breadcrumb-item";
|
|
5
5
|
export { Breadcrumb, BreadcrumbItem };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { ShapeType, SizeType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import { type ShapeType, type SizeType } from "../const/types";
|
|
3
3
|
declare const buttonGroupProps: {
|
|
4
4
|
size: {
|
|
5
5
|
type: PropType<SizeType>;
|
|
@@ -7,15 +7,15 @@ declare const buttonGroupProps: {
|
|
|
7
7
|
shape: PropType<ShapeType>;
|
|
8
8
|
};
|
|
9
9
|
export type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
|
|
10
|
-
declare const ButtonGroup: import(
|
|
10
|
+
declare const ButtonGroup: import("vue").DefineComponent<ExtractPropTypes<{
|
|
11
11
|
size: {
|
|
12
12
|
type: PropType<SizeType>;
|
|
13
13
|
};
|
|
14
14
|
shape: PropType<ShapeType>;
|
|
15
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
15
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
16
16
|
size: {
|
|
17
17
|
type: PropType<SizeType>;
|
|
18
18
|
};
|
|
19
19
|
shape: PropType<ShapeType>;
|
|
20
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
20
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
21
|
export default ButtonGroup;
|
package/types/button/button.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, DefineComponent, ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, ButtonType, ShapeType, SizeType, ThemeType } from
|
|
3
|
-
import { colors } from
|
|
4
|
-
import { IconType } from
|
|
1
|
+
import { type ButtonHTMLAttributes, type DefineComponent, type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, ButtonType, ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
|
+
import { colors } from "../const/var";
|
|
4
|
+
import { type IconType } from "../icon";
|
|
5
5
|
declare const buttonProps: {
|
|
6
6
|
htmlType: {
|
|
7
7
|
type: PropType<"button" | "submit" | "reset">;
|
package/types/button/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type { ButtonProps } from
|
|
4
|
-
export type { ButtonGroupProps } from
|
|
1
|
+
import Button from "./button";
|
|
2
|
+
import ButtonGroup from "./button-group";
|
|
3
|
+
export type { ButtonProps } from "./button";
|
|
4
|
+
export type { ButtonGroupProps } from "./button-group";
|
|
5
5
|
export { Button, ButtonGroup };
|