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
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { ExtractPropTypes } from
|
|
2
|
-
import { skeletonAvatarProps } from
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
|
+
import { skeletonAvatarProps } from "./types";
|
|
3
3
|
export type SkeletonAvatarProps = ExtractPropTypes<typeof skeletonAvatarProps>;
|
|
4
|
-
declare const SkeletonAvatar: import(
|
|
4
|
+
declare const SkeletonAvatar: import("vue").DefineComponent<ExtractPropTypes<{
|
|
5
5
|
radius: NumberConstructor;
|
|
6
|
-
shape: import(
|
|
7
|
-
size: import(
|
|
8
|
-
animated: import(
|
|
9
|
-
loading: import(
|
|
6
|
+
shape: import("vue").PropType<import("..").ShapeType>;
|
|
7
|
+
size: import("vue").PropType<number | ("default" | import("..").SizeType)>;
|
|
8
|
+
animated: import("..").BooleanType;
|
|
9
|
+
loading: import("..").BooleanType;
|
|
10
10
|
delay: {
|
|
11
11
|
type: NumberConstructor;
|
|
12
12
|
default: number;
|
|
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
|
radius: NumberConstructor;
|
|
16
|
-
shape: import(
|
|
17
|
-
size: import(
|
|
18
|
-
animated: import(
|
|
19
|
-
loading: import(
|
|
16
|
+
shape: import("vue").PropType<import("..").ShapeType>;
|
|
17
|
+
size: import("vue").PropType<number | ("default" | import("..").SizeType)>;
|
|
18
|
+
animated: import("..").BooleanType;
|
|
19
|
+
loading: import("..").BooleanType;
|
|
20
20
|
delay: {
|
|
21
21
|
type: NumberConstructor;
|
|
22
22
|
default: number;
|
|
23
23
|
};
|
|
24
24
|
}>> & Readonly<{}>, {
|
|
25
25
|
delay: number;
|
|
26
|
-
}, {}, {}, {}, string, import(
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
27
|
export default SkeletonAvatar;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { ExtractPropTypes } from
|
|
2
|
-
import { skeletonButtonProps } from
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
|
+
import { skeletonButtonProps } from "./types";
|
|
3
3
|
export type SkeletonButtonProps = ExtractPropTypes<typeof skeletonButtonProps>;
|
|
4
|
-
declare const SkeletonButton: import(
|
|
5
|
-
block: import(
|
|
4
|
+
declare const SkeletonButton: import("vue").DefineComponent<ExtractPropTypes<{
|
|
5
|
+
block: import("..").BooleanType;
|
|
6
6
|
width: NumberConstructor;
|
|
7
|
-
shape: import(
|
|
8
|
-
size: import(
|
|
9
|
-
animated: import(
|
|
10
|
-
loading: import(
|
|
7
|
+
shape: import("vue").PropType<import("..").ShapeType>;
|
|
8
|
+
size: import("vue").PropType<"default" | import("..").SizeType>;
|
|
9
|
+
animated: import("..").BooleanType;
|
|
10
|
+
loading: import("..").BooleanType;
|
|
11
11
|
delay: {
|
|
12
12
|
type: NumberConstructor;
|
|
13
13
|
default: number;
|
|
14
14
|
};
|
|
15
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
16
|
-
block: import(
|
|
15
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
16
|
+
block: import("..").BooleanType;
|
|
17
17
|
width: NumberConstructor;
|
|
18
|
-
shape: import(
|
|
19
|
-
size: import(
|
|
20
|
-
animated: import(
|
|
21
|
-
loading: import(
|
|
18
|
+
shape: import("vue").PropType<import("..").ShapeType>;
|
|
19
|
+
size: import("vue").PropType<"default" | import("..").SizeType>;
|
|
20
|
+
animated: import("..").BooleanType;
|
|
21
|
+
loading: import("..").BooleanType;
|
|
22
22
|
delay: {
|
|
23
23
|
type: NumberConstructor;
|
|
24
24
|
default: number;
|
|
25
25
|
};
|
|
26
26
|
}>> & Readonly<{}>, {
|
|
27
27
|
delay: number;
|
|
28
|
-
}, {}, {}, {}, string, import(
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
29
|
export default SkeletonButton;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { ExtractPropTypes } from
|
|
2
|
-
import { skeletonImageProps } from
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
|
+
import { skeletonImageProps } from "./types";
|
|
3
3
|
export type SkeletonImageProps = ExtractPropTypes<typeof skeletonImageProps>;
|
|
4
|
-
declare const SkeletonImage: import(
|
|
4
|
+
declare const SkeletonImage: import("vue").DefineComponent<ExtractPropTypes<{
|
|
5
5
|
radius: NumberConstructor;
|
|
6
|
-
size: import(
|
|
7
|
-
animated: import(
|
|
8
|
-
loading: import(
|
|
6
|
+
size: import("vue").PropType<number | number[]>;
|
|
7
|
+
animated: import("..").BooleanType;
|
|
8
|
+
loading: import("..").BooleanType;
|
|
9
9
|
delay: {
|
|
10
10
|
type: NumberConstructor;
|
|
11
11
|
default: number;
|
|
12
12
|
};
|
|
13
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
13
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
14
14
|
radius: NumberConstructor;
|
|
15
|
-
size: import(
|
|
16
|
-
animated: import(
|
|
17
|
-
loading: import(
|
|
15
|
+
size: import("vue").PropType<number | number[]>;
|
|
16
|
+
animated: import("..").BooleanType;
|
|
17
|
+
loading: import("..").BooleanType;
|
|
18
18
|
delay: {
|
|
19
19
|
type: NumberConstructor;
|
|
20
20
|
default: number;
|
|
21
21
|
};
|
|
22
22
|
}>> & Readonly<{}>, {
|
|
23
23
|
delay: number;
|
|
24
|
-
}, {}, {}, {}, string, import(
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
25
|
export default SkeletonImage;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { ExtractPropTypes } from
|
|
2
|
-
import { skeletonTextProps } from
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
|
+
import { skeletonTextProps } from "./types";
|
|
3
3
|
export type SkeletonTextProps = ExtractPropTypes<typeof skeletonTextProps>;
|
|
4
|
-
declare const SkeletonText: import(
|
|
4
|
+
declare const SkeletonText: import("vue").DefineComponent<ExtractPropTypes<{
|
|
5
5
|
width: NumberConstructor;
|
|
6
|
-
size: import(
|
|
7
|
-
animated: import(
|
|
8
|
-
loading: import(
|
|
6
|
+
size: import("vue").PropType<"default" | import("..").SizeType>;
|
|
7
|
+
animated: import("..").BooleanType;
|
|
8
|
+
loading: import("..").BooleanType;
|
|
9
9
|
delay: {
|
|
10
10
|
type: NumberConstructor;
|
|
11
11
|
default: number;
|
|
12
12
|
};
|
|
13
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
13
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
14
14
|
width: NumberConstructor;
|
|
15
|
-
size: import(
|
|
16
|
-
animated: import(
|
|
17
|
-
loading: import(
|
|
15
|
+
size: import("vue").PropType<"default" | import("..").SizeType>;
|
|
16
|
+
animated: import("..").BooleanType;
|
|
17
|
+
loading: import("..").BooleanType;
|
|
18
18
|
delay: {
|
|
19
19
|
type: NumberConstructor;
|
|
20
20
|
default: number;
|
|
21
21
|
};
|
|
22
22
|
}>> & Readonly<{}>, {
|
|
23
23
|
delay: number;
|
|
24
|
-
}, {}, {}, {}, string, import(
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
25
|
export default SkeletonText;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ExtractPropTypes } from
|
|
2
|
-
import { skeletonProps } from
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
|
+
import { skeletonProps } from "./types";
|
|
3
3
|
export type SkeletonProps = ExtractPropTypes<typeof skeletonProps>;
|
|
4
|
-
declare const Skeleton: import(
|
|
4
|
+
declare const Skeleton: import("vue").DefineComponent<ExtractPropTypes<{
|
|
5
5
|
title: NumberConstructor;
|
|
6
6
|
titleWidth: {
|
|
7
7
|
type: NumberConstructor;
|
|
@@ -12,18 +12,18 @@ declare const Skeleton: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
12
12
|
default: number;
|
|
13
13
|
};
|
|
14
14
|
avatar: {
|
|
15
|
-
type: import(
|
|
16
|
-
size?: import(
|
|
17
|
-
shape?: import(
|
|
15
|
+
type: import("vue").PropType<boolean | {
|
|
16
|
+
size?: import("..").SizeType;
|
|
17
|
+
shape?: import("..").ShapeType;
|
|
18
18
|
}>;
|
|
19
19
|
};
|
|
20
|
-
animated: import(
|
|
21
|
-
loading: import(
|
|
20
|
+
animated: import("..").BooleanType;
|
|
21
|
+
loading: import("..").BooleanType;
|
|
22
22
|
delay: {
|
|
23
23
|
type: NumberConstructor;
|
|
24
24
|
default: number;
|
|
25
25
|
};
|
|
26
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
26
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
27
27
|
title: NumberConstructor;
|
|
28
28
|
titleWidth: {
|
|
29
29
|
type: NumberConstructor;
|
|
@@ -34,13 +34,13 @@ declare const Skeleton: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
34
34
|
default: number;
|
|
35
35
|
};
|
|
36
36
|
avatar: {
|
|
37
|
-
type: import(
|
|
38
|
-
size?: import(
|
|
39
|
-
shape?: import(
|
|
37
|
+
type: import("vue").PropType<boolean | {
|
|
38
|
+
size?: import("..").SizeType;
|
|
39
|
+
shape?: import("..").ShapeType;
|
|
40
40
|
}>;
|
|
41
41
|
};
|
|
42
|
-
animated: import(
|
|
43
|
-
loading: import(
|
|
42
|
+
animated: import("..").BooleanType;
|
|
43
|
+
loading: import("..").BooleanType;
|
|
44
44
|
delay: {
|
|
45
45
|
type: NumberConstructor;
|
|
46
46
|
default: number;
|
|
@@ -49,5 +49,5 @@ declare const Skeleton: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
49
49
|
rows: number;
|
|
50
50
|
delay: number;
|
|
51
51
|
titleWidth: number;
|
|
52
|
-
}, {}, {}, {}, string, import(
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
53
|
export default Skeleton;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType } from
|
|
2
|
-
import { BooleanType, ShapeType, SizeType } from
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
import type { BooleanType, ShapeType, SizeType } from "../const/types";
|
|
3
3
|
type SkeletonSize = SizeType | "default";
|
|
4
4
|
export declare const skeletonProps: {
|
|
5
5
|
/** @deprecated Use titleWidth instead. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ref } from
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
2
|
export declare const useSkeletonLoading: (loading: () => boolean | undefined, delay: () => number) => Ref<boolean>;
|
package/types/slider/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
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 sliderProps: {
|
|
4
4
|
modelValue: {
|
|
5
|
+
type: PropType<number[] | number>;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
5
9
|
type: PropType<number[] | number>;
|
|
6
10
|
default: number;
|
|
7
11
|
};
|
|
@@ -37,10 +41,11 @@ declare const sliderProps: {
|
|
|
37
41
|
export type SliderProps = ExtractPropTypes<typeof sliderProps>;
|
|
38
42
|
type SliderModelProps<T extends number | number[]> = {
|
|
39
43
|
modelValue?: T | undefined;
|
|
44
|
+
value?: T | undefined;
|
|
40
45
|
"onUpdate:modelValue"?: (value: T) => void;
|
|
41
46
|
onChange?: (value: T) => void;
|
|
42
47
|
};
|
|
43
|
-
type SliderPublicProps = Omit<Partial<SliderProps>, "modelValue" | "range">;
|
|
48
|
+
type SliderPublicProps = Omit<Partial<SliderProps>, "modelValue" | "value" | "range">;
|
|
44
49
|
type SliderComponent = {
|
|
45
50
|
new (props: SliderPublicProps & {
|
|
46
51
|
range: true;
|
package/types/slider/thumb.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType } from
|
|
2
|
-
import { BooleanType } from
|
|
3
|
-
declare const _default: import(
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
id: StringConstructor;
|
|
5
5
|
value: {
|
|
6
6
|
type: NumberConstructor;
|
|
@@ -28,10 +28,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
28
28
|
ariaInvalid: BooleanType;
|
|
29
29
|
ariaRequired: BooleanType;
|
|
30
30
|
dragging: BooleanType;
|
|
31
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
31
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
32
|
dragStart: (event: MouseEvent | TouchEvent) => boolean;
|
|
33
33
|
keydownUpdate: (event: KeyboardEvent) => boolean;
|
|
34
|
-
}, string, import(
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
35
|
id: StringConstructor;
|
|
36
36
|
value: {
|
|
37
37
|
type: NumberConstructor;
|
|
@@ -60,11 +60,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
60
60
|
ariaRequired: BooleanType;
|
|
61
61
|
dragging: BooleanType;
|
|
62
62
|
}>> & Readonly<{
|
|
63
|
-
onDragStart?: ((event:
|
|
63
|
+
onDragStart?: ((event: TouchEvent | MouseEvent) => any) | undefined;
|
|
64
64
|
onKeydownUpdate?: ((event: KeyboardEvent) => any) | undefined;
|
|
65
65
|
}>, {
|
|
66
66
|
min: number;
|
|
67
67
|
max: number;
|
|
68
68
|
tooltipVisible: boolean | undefined;
|
|
69
|
-
}, {}, {}, {}, string, import(
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
70
70
|
export default _default;
|
package/types/space/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from
|
|
2
|
-
import { BooleanType, SizeType } from
|
|
1
|
+
import type { DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from "vue";
|
|
2
|
+
import { type BooleanType, type SizeType } from "../const/types";
|
|
3
3
|
declare const spaceProps: {
|
|
4
4
|
align: {
|
|
5
5
|
type: PropType<"start" | "end" | "center" | "baseline">;
|
|
@@ -32,7 +32,7 @@ declare const Space: DefineComponent<ExtractPropTypes<{
|
|
|
32
32
|
size: {
|
|
33
33
|
type: PropType<SizeType | number | (number | string)[]>;
|
|
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
|
align: {
|
|
37
37
|
type: PropType<"start" | "end" | "center" | "baseline">;
|
|
38
38
|
};
|
|
@@ -49,6 +49,6 @@ declare const Space: DefineComponent<ExtractPropTypes<{
|
|
|
49
49
|
};
|
|
50
50
|
}>> & Readonly<{}>, {
|
|
51
51
|
wrap: boolean | undefined;
|
|
52
|
-
}, {}, {}, {}, string, import(
|
|
52
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
53
|
declare const _default: typeof Space & DefineComponent<SpaceProps>;
|
|
54
54
|
export default _default;
|
package/types/spin/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { SizeType, SpinModeType } from
|
|
1
|
+
import type { ExtractPropTypes, PropType } from "vue";
|
|
2
|
+
import type { SizeType, SpinModeType } from "../const/types";
|
|
3
3
|
declare const spinProps: {
|
|
4
4
|
modelValue: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
5
9
|
type: BooleanConstructor;
|
|
6
10
|
default: boolean;
|
|
7
11
|
};
|
|
@@ -18,8 +22,12 @@ declare const spinProps: {
|
|
|
18
22
|
};
|
|
19
23
|
};
|
|
20
24
|
export type SpinProps = ExtractPropTypes<typeof spinProps>;
|
|
21
|
-
declare const Spin: import(
|
|
25
|
+
declare const Spin: import("vue").DefineComponent<ExtractPropTypes<{
|
|
22
26
|
modelValue: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
value: {
|
|
23
31
|
type: BooleanConstructor;
|
|
24
32
|
default: boolean;
|
|
25
33
|
};
|
|
@@ -34,8 +42,12 @@ declare const Spin: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
34
42
|
type: PropType<SpinModeType>;
|
|
35
43
|
default: string;
|
|
36
44
|
};
|
|
37
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
45
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
38
46
|
modelValue: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
value: {
|
|
39
51
|
type: BooleanConstructor;
|
|
40
52
|
default: boolean;
|
|
41
53
|
};
|
|
@@ -52,7 +64,8 @@ declare const Spin: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
52
64
|
};
|
|
53
65
|
}>> & Readonly<{}>, {
|
|
54
66
|
mode: SpinModeType;
|
|
67
|
+
value: boolean;
|
|
55
68
|
modelValue: boolean;
|
|
56
69
|
delay: number;
|
|
57
|
-
}, {}, {}, {}, string, import(
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
71
|
export default Spin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Splitter, SplitterProps } from
|
|
2
|
-
import { SplitterPanel, SplitterPanelProps } from
|
|
1
|
+
import { Splitter, type SplitterProps } from "./splitter";
|
|
2
|
+
import { SplitterPanel, type SplitterPanelProps } from "./splitter-panel";
|
|
3
3
|
export { Splitter, SplitterPanel };
|
|
4
4
|
export type { SplitterPanelProps, SplitterProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes } from
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
2
|
declare const splitterPanelProps: {
|
|
3
3
|
size: {
|
|
4
4
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -11,7 +11,7 @@ declare const splitterPanelProps: {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
export type SplitterPanelProps = ExtractPropTypes<typeof splitterPanelProps>;
|
|
14
|
-
export declare const SplitterPanel: import(
|
|
14
|
+
export declare const SplitterPanel: import("vue").DefineComponent<ExtractPropTypes<{
|
|
15
15
|
size: {
|
|
16
16
|
type: (NumberConstructor | StringConstructor)[];
|
|
17
17
|
};
|
|
@@ -21,7 +21,7 @@ export declare const SplitterPanel: import('vue').DefineComponent<ExtractPropTyp
|
|
|
21
21
|
max: {
|
|
22
22
|
type: (NumberConstructor | StringConstructor)[];
|
|
23
23
|
};
|
|
24
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
24
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
25
25
|
size: {
|
|
26
26
|
type: (NumberConstructor | StringConstructor)[];
|
|
27
27
|
};
|
|
@@ -31,5 +31,5 @@ export declare const SplitterPanel: import('vue').DefineComponent<ExtractPropTyp
|
|
|
31
31
|
max: {
|
|
32
32
|
type: (NumberConstructor | StringConstructor)[];
|
|
33
33
|
};
|
|
34
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
34
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
35
35
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { DirectionType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { DirectionType } from "../const/types";
|
|
3
3
|
declare const splitterProps: {
|
|
4
4
|
direction: {
|
|
5
5
|
type: PropType<DirectionType>;
|
|
@@ -7,16 +7,16 @@ declare const splitterProps: {
|
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
export type SplitterProps = ExtractPropTypes<typeof splitterProps>;
|
|
10
|
-
export declare const Splitter: import(
|
|
10
|
+
export declare const Splitter: import("vue").DefineComponent<ExtractPropTypes<{
|
|
11
11
|
direction: {
|
|
12
12
|
type: PropType<DirectionType>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
15
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
16
|
resize: (sizes: number[]) => boolean;
|
|
17
17
|
resizeStart: (sizes: number[]) => boolean;
|
|
18
18
|
resizeEnd: (sizes: number[]) => boolean;
|
|
19
|
-
}, string, import(
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
20
20
|
direction: {
|
|
21
21
|
type: PropType<DirectionType>;
|
|
22
22
|
default: string;
|
|
@@ -27,5 +27,5 @@ export declare const Splitter: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
27
27
|
onResizeEnd?: ((sizes: number[]) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
direction: DirectionType;
|
|
30
|
-
}, {}, {}, {}, string, import(
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
31
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType } from
|
|
2
|
-
declare const CountUpNumber: import(
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
declare const CountUpNumber: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
type: NumberConstructor[];
|
|
5
5
|
required: true;
|
|
@@ -22,7 +22,7 @@ declare const CountUpNumber: import('vue').DefineComponent<import('vue').Extract
|
|
|
22
22
|
};
|
|
23
23
|
autoAnimate: BooleanConstructor;
|
|
24
24
|
autoAnimateOnce: BooleanConstructor;
|
|
25
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
25
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
26
|
modelValue: {
|
|
27
27
|
type: NumberConstructor[];
|
|
28
28
|
required: true;
|
|
@@ -52,5 +52,5 @@ declare const CountUpNumber: import('vue').DefineComponent<import('vue').Extract
|
|
|
52
52
|
precision: number;
|
|
53
53
|
autoAnimate: boolean;
|
|
54
54
|
autoAnimateOnce: boolean;
|
|
55
|
-
}, {}, {}, {}, string, import(
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
56
|
export default CountUpNumber;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type { StatCardProps } from
|
|
4
|
-
export type { StatNumberItem } from
|
|
5
|
-
export type { StatNumberProps } from
|
|
1
|
+
import StatCard from "./stat-card";
|
|
2
|
+
import StatNumber from "./stat-number";
|
|
3
|
+
export type { StatCardProps } from "./stat-card";
|
|
4
|
+
export type { StatNumberItem } from "./types";
|
|
5
|
+
export type { StatNumberProps } from "./stat-number";
|
|
6
6
|
export { StatCard, StatNumber };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
default: number;
|
|
5
5
|
};
|
|
6
|
+
text: StringConstructor;
|
|
6
7
|
duration: {
|
|
7
8
|
type: NumberConstructor;
|
|
8
9
|
default: number;
|
|
@@ -11,11 +12,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
12
|
type: NumberConstructor;
|
|
12
13
|
default: number;
|
|
13
14
|
};
|
|
14
|
-
}>, () => 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<import("vue").ExtractPropTypes<{
|
|
15
16
|
modelValue: {
|
|
16
17
|
type: NumberConstructor;
|
|
17
18
|
default: number;
|
|
18
19
|
};
|
|
20
|
+
text: StringConstructor;
|
|
19
21
|
duration: {
|
|
20
22
|
type: NumberConstructor;
|
|
21
23
|
default: number;
|
|
@@ -25,8 +27,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
25
27
|
default: number;
|
|
26
28
|
};
|
|
27
29
|
}>> & Readonly<{}>, {
|
|
28
|
-
modelValue: number;
|
|
29
30
|
duration: number;
|
|
31
|
+
modelValue: number;
|
|
30
32
|
precision: number;
|
|
31
|
-
}, {}, {}, {}, string, import(
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
34
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
2
|
-
import { BooleanType, SizeType, SurfaceShapeType } from
|
|
3
|
-
import { StatNumberItem } from
|
|
1
|
+
import type { ExtractPropTypes, PropType, VNodeChild } from "vue";
|
|
2
|
+
import type { BooleanType, SizeType, SurfaceShapeType } from "../const/types";
|
|
3
|
+
import type { StatNumberItem } from "./types";
|
|
4
4
|
declare const statCardProps: {
|
|
5
5
|
title: PropType<VNodeChild>;
|
|
6
6
|
precision: {
|
|
@@ -32,7 +32,7 @@ declare const statCardProps: {
|
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
export type StatCardProps = ExtractPropTypes<typeof statCardProps>;
|
|
35
|
-
declare const StatCard: import(
|
|
35
|
+
declare const StatCard: import("vue").DefineComponent<ExtractPropTypes<{
|
|
36
36
|
title: PropType<VNodeChild>;
|
|
37
37
|
precision: {
|
|
38
38
|
type: NumberConstructor;
|
|
@@ -61,7 +61,7 @@ declare const StatCard: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
61
61
|
type: PropType<SizeType>;
|
|
62
62
|
default: string;
|
|
63
63
|
};
|
|
64
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
64
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
65
65
|
title: PropType<VNodeChild>;
|
|
66
66
|
precision: {
|
|
67
67
|
type: NumberConstructor;
|
|
@@ -97,6 +97,6 @@ declare const StatCard: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
97
97
|
bordered: boolean | undefined;
|
|
98
98
|
precision: number;
|
|
99
99
|
items: StatNumberItem[];
|
|
100
|
-
}, {}, {}, {}, string, import(
|
|
100
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
101
|
export default StatCard;
|
|
102
|
-
export type { StatNumberItem } from
|
|
102
|
+
export type { StatNumberItem } from "./types";
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType } from
|
|
1
|
+
import type { ExtractPropTypes, PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
3
|
declare const statNumberProps: {
|
|
4
4
|
modelValue: {
|
|
5
|
+
type: NumberConstructor[];
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
5
9
|
type: NumberConstructor[];
|
|
6
10
|
default: number;
|
|
7
11
|
};
|
|
@@ -30,8 +34,12 @@ declare const statNumberProps: {
|
|
|
30
34
|
};
|
|
31
35
|
};
|
|
32
36
|
export type StatNumberProps = ExtractPropTypes<typeof statNumberProps>;
|
|
33
|
-
declare const StatNumber: import(
|
|
37
|
+
declare const StatNumber: import("vue").DefineComponent<ExtractPropTypes<{
|
|
34
38
|
modelValue: {
|
|
39
|
+
type: NumberConstructor[];
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
value: {
|
|
35
43
|
type: NumberConstructor[];
|
|
36
44
|
default: number;
|
|
37
45
|
};
|
|
@@ -58,8 +66,12 @@ declare const StatNumber: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
58
66
|
type: BooleanType;
|
|
59
67
|
default: boolean;
|
|
60
68
|
};
|
|
61
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
69
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
62
70
|
modelValue: {
|
|
71
|
+
type: NumberConstructor[];
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
value: {
|
|
63
75
|
type: NumberConstructor[];
|
|
64
76
|
default: number;
|
|
65
77
|
};
|
|
@@ -88,10 +100,11 @@ declare const StatNumber: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
88
100
|
};
|
|
89
101
|
}>> & Readonly<{}>, {
|
|
90
102
|
type: "rollup" | "countup";
|
|
91
|
-
modelValue: number;
|
|
92
103
|
duration: number;
|
|
104
|
+
value: number;
|
|
105
|
+
modelValue: number;
|
|
93
106
|
precision: number;
|
|
94
107
|
autoAnimate: boolean | undefined;
|
|
95
108
|
autoAnimateOnce: boolean | undefined;
|
|
96
|
-
}, {}, {}, {}, string, import(
|
|
109
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
97
110
|
export default StatNumber;
|