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/types/icon/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType } from
|
|
3
|
-
import { IconType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
|
+
import type { IconType } from "./types";
|
|
4
4
|
declare const iconProps: {
|
|
5
5
|
type: PropType<IconType[]>;
|
|
6
6
|
size: (NumberConstructor | StringConstructor)[];
|
|
@@ -19,7 +19,7 @@ declare const iconProps: {
|
|
|
19
19
|
onPointerup: PropType<(event: PointerEvent) => void>;
|
|
20
20
|
};
|
|
21
21
|
export type IconProps = ExtractPropTypes<typeof iconProps>;
|
|
22
|
-
declare const Icon: import(
|
|
22
|
+
declare const Icon: import("vue").DefineComponent<ExtractPropTypes<{
|
|
23
23
|
type: PropType<IconType[]>;
|
|
24
24
|
size: (NumberConstructor | StringConstructor)[];
|
|
25
25
|
color: StringConstructor;
|
|
@@ -35,9 +35,9 @@ declare const Icon: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
35
35
|
onPointerdown: PropType<(event: PointerEvent) => void>;
|
|
36
36
|
onKeydown: PropType<(event: KeyboardEvent) => void>;
|
|
37
37
|
onPointerup: PropType<(event: PointerEvent) => void>;
|
|
38
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
38
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
39
|
click: (event: MouseEvent) => boolean;
|
|
40
|
-
}, string, import(
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
41
41
|
type: PropType<IconType[]>;
|
|
42
42
|
size: (NumberConstructor | StringConstructor)[];
|
|
43
43
|
color: StringConstructor;
|
|
@@ -57,6 +57,6 @@ declare const Icon: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
57
57
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
58
58
|
}>, {
|
|
59
59
|
strokeWidth: string | number;
|
|
60
|
-
}, {}, {}, {}, string, import(
|
|
60
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
61
61
|
export default Icon;
|
|
62
|
-
export type { IconType } from
|
|
62
|
+
export type { IconType } from "./types";
|
package/types/image/context.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InjectionKey, Slots } from
|
|
2
|
-
import { ImagePreviewProps } from
|
|
1
|
+
import type { InjectionKey, Slots } from "vue";
|
|
2
|
+
import type { ImagePreviewProps } from "./preview";
|
|
3
3
|
export interface ImageGroupContext {
|
|
4
4
|
show: (props: ImagePreviewProps, slots: Slots) => void;
|
|
5
5
|
togglePanel: () => void;
|
package/types/image/group.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
2
|
declare const imageGroupProps: {
|
|
3
3
|
data: PropType<string[]>;
|
|
4
4
|
};
|
|
5
5
|
export type ImageGroupProps = ExtractPropTypes<typeof imageGroupProps>;
|
|
6
|
-
declare const ImageGroup: import(
|
|
6
|
+
declare const ImageGroup: import("vue").DefineComponent<ExtractPropTypes<{
|
|
7
7
|
data: PropType<string[]>;
|
|
8
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
8
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
9
9
|
data: PropType<string[]>;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default ImageGroup;
|
package/types/image/image.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CSSProperties, ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, ShapeType, ThemeType } from
|
|
3
|
-
import { ImageType } from
|
|
1
|
+
import { type CSSProperties, type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, ShapeType, ThemeType } from "../const/types";
|
|
3
|
+
import type { ImageType } from "./preview";
|
|
4
4
|
declare const imageProps: {
|
|
5
5
|
alt: StringConstructor;
|
|
6
6
|
src: StringConstructor;
|
|
@@ -22,7 +22,7 @@ declare const imageProps: {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
export type ImageProps = ExtractPropTypes<typeof imageProps>;
|
|
25
|
-
declare const Image: import(
|
|
25
|
+
declare const Image: import("vue").DefineComponent<ExtractPropTypes<{
|
|
26
26
|
alt: StringConstructor;
|
|
27
27
|
src: StringConstructor;
|
|
28
28
|
type: PropType<ImageType>;
|
|
@@ -41,10 +41,10 @@ declare const Image: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
41
41
|
type: PropType<ShapeType>;
|
|
42
42
|
default: string;
|
|
43
43
|
};
|
|
44
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
44
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
45
|
close: () => true;
|
|
46
46
|
switch: (index: number) => boolean;
|
|
47
|
-
}, string, import(
|
|
47
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
48
48
|
alt: StringConstructor;
|
|
49
49
|
src: StringConstructor;
|
|
50
50
|
type: PropType<ImageType>;
|
|
@@ -69,5 +69,5 @@ declare const Image: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
69
69
|
}>, {
|
|
70
70
|
theme: ThemeType;
|
|
71
71
|
shape: ShapeType;
|
|
72
|
-
}, {}, {}, {}, string, import(
|
|
72
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
73
73
|
export default Image;
|
package/types/image/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type { ImageGroupProps } from
|
|
4
|
-
export type { ImageProps } from
|
|
5
|
-
export type { ImagePreviewProps, ImageType } from
|
|
1
|
+
import ImageGroup from "./group";
|
|
2
|
+
import Image from "./image";
|
|
3
|
+
export type { ImageGroupProps } from "./group";
|
|
4
|
+
export type { ImageProps } from "./image";
|
|
5
|
+
export type { ImagePreviewProps, ImageType } from "./preview";
|
|
6
6
|
export { Image, ImageGroup };
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
import { Slots } from
|
|
2
|
-
import { ImagePreviewProps } from
|
|
1
|
+
import { type Slots } from "vue";
|
|
2
|
+
import type { ImagePreviewProps } from "./preview";
|
|
3
3
|
export interface ImagePreviewInstance {
|
|
4
|
-
show: (props: ImagePreviewProps) => void;
|
|
4
|
+
show: (props: ImagePreviewProps, slots?: Slots) => void;
|
|
5
5
|
close: () => void;
|
|
6
6
|
togglePanel: () => void;
|
|
7
7
|
destroy: () => void;
|
|
8
8
|
}
|
|
9
|
-
declare const createInstance: (props: {} | undefined, slots: Slots) =>
|
|
9
|
+
declare const createInstance: (props: {} | undefined, slots: Slots) => {
|
|
10
|
+
show(options: ImagePreviewProps, nextSlots: Readonly<{
|
|
11
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
12
|
+
}> | undefined): void;
|
|
13
|
+
close: () => void;
|
|
14
|
+
togglePanel: () => void;
|
|
15
|
+
destroy(): void;
|
|
16
|
+
} | null;
|
|
10
17
|
export default createInstance;
|
package/types/image/preview.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropType } from
|
|
2
|
-
import { BooleanType } from
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
3
|
export type ImageType = "img" | "media";
|
|
4
4
|
export interface ImagePreviewProps {
|
|
5
5
|
type?: ImageType;
|
|
@@ -9,7 +9,7 @@ export interface ImagePreviewProps {
|
|
|
9
9
|
onSwitch?: (index: number) => void;
|
|
10
10
|
data?: string[];
|
|
11
11
|
}
|
|
12
|
-
declare const ImagePreview: import(
|
|
12
|
+
declare const ImagePreview: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
13
|
type: PropType<ImageType>;
|
|
14
14
|
src: StringConstructor;
|
|
15
15
|
origin: StringConstructor;
|
|
@@ -20,12 +20,12 @@ declare const ImagePreview: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
20
20
|
default: () => never[];
|
|
21
21
|
};
|
|
22
22
|
showPanel: BooleanType;
|
|
23
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
23
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
24
|
"update:value": (visible: boolean) => boolean;
|
|
25
25
|
close: () => true;
|
|
26
26
|
switch: (index: number) => boolean;
|
|
27
27
|
togglePanel: (visible: boolean) => boolean;
|
|
28
|
-
}, string, import(
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
type: PropType<ImageType>;
|
|
30
30
|
src: StringConstructor;
|
|
31
31
|
origin: StringConstructor;
|
|
@@ -43,5 +43,5 @@ declare const ImagePreview: import('vue').DefineComponent<import('vue').ExtractP
|
|
|
43
43
|
onTogglePanel?: ((visible: boolean) => any) | undefined;
|
|
44
44
|
}>, {
|
|
45
45
|
data: string[];
|
|
46
|
-
}, {}, {}, {}, string, import(
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
47
|
export default ImagePreview;
|
package/types/index.d.cts
CHANGED
package/types/index.d.ts
CHANGED
package/types/input/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
export type { InputProps } from
|
|
5
|
-
export type { InputGroupProps } from
|
|
6
|
-
export type { TextAreaProps } from
|
|
1
|
+
import Input from "./input";
|
|
2
|
+
import InputGroup from "./input-group";
|
|
3
|
+
import TextArea from "./textarea";
|
|
4
|
+
export type { InputProps, InputEvents, InputRef } from "./input";
|
|
5
|
+
export type { InputGroupProps } from "./input-group";
|
|
6
|
+
export type { TextAreaProps, TextAreaEvents } from "./textarea";
|
|
7
7
|
export { Input, InputGroup, TextArea };
|
|
8
8
|
export default Input;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, Ref } from
|
|
2
|
-
import { BooleanType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type Ref } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
3
|
declare const inputBoxProps: {
|
|
4
4
|
multiple: BooleanType;
|
|
5
5
|
disabled: BooleanType;
|
|
@@ -13,7 +13,7 @@ declare const inputBoxProps: {
|
|
|
13
13
|
inputRef: PropType<Ref<HTMLInputElement | HTMLTextAreaElement | undefined>>;
|
|
14
14
|
};
|
|
15
15
|
export type InputBoxProps = ExtractPropTypes<typeof inputBoxProps>;
|
|
16
|
-
declare const _default: import(
|
|
16
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
17
17
|
multiple: BooleanType;
|
|
18
18
|
disabled: BooleanType;
|
|
19
19
|
size: StringConstructor;
|
|
@@ -24,11 +24,11 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
24
24
|
value: PropType<unknown>;
|
|
25
25
|
showPassword: BooleanType;
|
|
26
26
|
inputRef: PropType<Ref<HTMLInputElement | HTMLTextAreaElement | undefined>>;
|
|
27
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
27
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
28
|
input: (event: Event) => boolean;
|
|
29
29
|
focus: (event: FocusEvent) => boolean;
|
|
30
30
|
blur: (event: FocusEvent) => boolean;
|
|
31
|
-
}, string, import(
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
32
32
|
multiple: BooleanType;
|
|
33
33
|
disabled: BooleanType;
|
|
34
34
|
size: StringConstructor;
|
|
@@ -43,5 +43,5 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
43
43
|
onInput?: ((event: Event) => any) | undefined;
|
|
44
44
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
45
45
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
46
|
-
}>, {}, {}, {}, {}, string, import(
|
|
46
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
47
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, SizeType, ThemeType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import { type BooleanType, type SizeType, type ThemeType } from "../const/types";
|
|
3
3
|
declare const inputGroupProps: {
|
|
4
4
|
block: {
|
|
5
5
|
type: PropType<boolean | undefined>;
|
|
@@ -18,7 +18,7 @@ declare const inputGroupProps: {
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
export type InputGroupProps = ExtractPropTypes<typeof inputGroupProps>;
|
|
21
|
-
declare const InputGroup: import(
|
|
21
|
+
declare const InputGroup: import("vue").DefineComponent<ExtractPropTypes<{
|
|
22
22
|
block: {
|
|
23
23
|
type: PropType<boolean | undefined>;
|
|
24
24
|
default: boolean;
|
|
@@ -34,7 +34,7 @@ declare const InputGroup: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
34
34
|
size: {
|
|
35
35
|
type: PropType<SizeType | number | number[]>;
|
|
36
36
|
};
|
|
37
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
37
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
38
38
|
block: {
|
|
39
39
|
type: PropType<boolean | undefined>;
|
|
40
40
|
default: boolean;
|
|
@@ -54,5 +54,5 @@ declare const InputGroup: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
54
54
|
block: boolean | undefined;
|
|
55
55
|
compact: boolean | undefined;
|
|
56
56
|
theme: ThemeType;
|
|
57
|
-
}, {}, {}, {}, string, import(
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
export default InputGroup;
|
package/types/input/input.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BooleanType, ShapeType, SizeType, ThemeType } from
|
|
3
|
-
import { IconType } from
|
|
1
|
+
import { type ExtractPropTypes, type InputHTMLAttributes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import { type BooleanType, type ShapeType, type SizeType, type ThemeType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
4
|
declare const inputProps: {
|
|
5
5
|
clearable: {
|
|
6
6
|
type: BooleanType;
|
|
@@ -48,8 +48,21 @@ declare const inputProps: {
|
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
export
|
|
52
|
-
|
|
51
|
+
export interface InputEvents {
|
|
52
|
+
"onUpdate:modelValue"?: (value: string) => void;
|
|
53
|
+
onChange?: (value: string) => void;
|
|
54
|
+
onSearch?: (value: string) => void;
|
|
55
|
+
onIconClick?: (event: MouseEvent) => void;
|
|
56
|
+
onClear?: () => void;
|
|
57
|
+
onFocus?: (event: FocusEvent) => void;
|
|
58
|
+
onBlur?: (event: FocusEvent) => void;
|
|
59
|
+
}
|
|
60
|
+
export interface InputRef {
|
|
61
|
+
focus: () => void;
|
|
62
|
+
blur: () => void;
|
|
63
|
+
}
|
|
64
|
+
export type InputProps = Partial<ExtractPropTypes<typeof inputProps>> & Omit<InputHTMLAttributes, keyof InputEvents | "prefix"> & InputEvents;
|
|
65
|
+
declare const FormInput: import("vue").DefineComponent<ExtractPropTypes<{
|
|
53
66
|
clearable: {
|
|
54
67
|
type: BooleanType;
|
|
55
68
|
default: boolean;
|
|
@@ -95,7 +108,7 @@ declare const FormInput: DefineComponent<ExtractPropTypes<{
|
|
|
95
108
|
type: StringConstructor;
|
|
96
109
|
default: string;
|
|
97
110
|
};
|
|
98
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
111
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
99
112
|
"update:modelValue": (value: string) => boolean;
|
|
100
113
|
search: (value: string) => boolean;
|
|
101
114
|
iconClick: (event: MouseEvent) => boolean;
|
|
@@ -103,7 +116,7 @@ declare const FormInput: DefineComponent<ExtractPropTypes<{
|
|
|
103
116
|
change: (value: string) => boolean;
|
|
104
117
|
focus: (event: FocusEvent) => boolean;
|
|
105
118
|
blur: (event: FocusEvent) => boolean;
|
|
106
|
-
}, string, import(
|
|
119
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
107
120
|
clearable: {
|
|
108
121
|
type: BooleanType;
|
|
109
122
|
default: boolean;
|
|
@@ -158,11 +171,15 @@ declare const FormInput: DefineComponent<ExtractPropTypes<{
|
|
|
158
171
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
159
172
|
onIconClick?: ((event: MouseEvent) => any) | undefined;
|
|
160
173
|
}>, {
|
|
161
|
-
type: import(
|
|
174
|
+
type: import("vue").InputTypeHTMLAttribute | undefined;
|
|
162
175
|
theme: ThemeType;
|
|
163
176
|
inputType: string;
|
|
164
177
|
clearable: boolean | undefined;
|
|
165
178
|
visiblePasswordIcon: boolean | undefined;
|
|
166
|
-
}, {}, {}, {}, string, import(
|
|
167
|
-
declare const _default: typeof FormInput &
|
|
179
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
180
|
+
declare const _default: typeof FormInput & {
|
|
181
|
+
new (): Omit<InstanceType<typeof FormInput>, "$props"> & InputRef & {
|
|
182
|
+
$props: InputProps;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
168
185
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BooleanType, ShapeType, SizeType, ThemeType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type TextareaHTMLAttributes } from "vue";
|
|
2
|
+
import type { BooleanType, ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
3
|
declare const textAreaProps: {
|
|
4
4
|
value: PropType<string | number | readonly string[] | null>;
|
|
5
5
|
modelValue: PropType<string | number | readonly string[] | null>;
|
|
@@ -19,8 +19,13 @@ declare const textAreaProps: {
|
|
|
19
19
|
disabled: BooleanType;
|
|
20
20
|
readonly: BooleanType;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
23
|
-
|
|
22
|
+
export interface TextAreaEvents {
|
|
23
|
+
"onUpdate:modelValue"?: (value: string) => void;
|
|
24
|
+
onChange?: (value: string) => void;
|
|
25
|
+
onInput?: (event: Event) => void;
|
|
26
|
+
}
|
|
27
|
+
export type TextAreaProps = Partial<ExtractPropTypes<typeof textAreaProps>> & Omit<TextareaHTMLAttributes, keyof TextAreaEvents> & TextAreaEvents;
|
|
28
|
+
declare const FormTextArea: import("vue").DefineComponent<ExtractPropTypes<{
|
|
24
29
|
value: PropType<string | number | readonly string[] | null>;
|
|
25
30
|
modelValue: PropType<string | number | readonly string[] | null>;
|
|
26
31
|
theme: {
|
|
@@ -38,11 +43,11 @@ declare const FormTextArea: DefineComponent<ExtractPropTypes<{
|
|
|
38
43
|
};
|
|
39
44
|
disabled: BooleanType;
|
|
40
45
|
readonly: BooleanType;
|
|
41
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
46
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
47
|
"update:modelValue": (value: string) => boolean;
|
|
43
48
|
change: (value: string) => boolean;
|
|
44
49
|
input: (event: Event) => boolean;
|
|
45
|
-
}, string, import(
|
|
50
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
46
51
|
value: PropType<string | number | readonly string[] | null>;
|
|
47
52
|
modelValue: PropType<string | number | readonly string[] | null>;
|
|
48
53
|
theme: {
|
|
@@ -67,6 +72,10 @@ declare const FormTextArea: DefineComponent<ExtractPropTypes<{
|
|
|
67
72
|
}>, {
|
|
68
73
|
theme: ThemeType;
|
|
69
74
|
rows: number;
|
|
70
|
-
}, {}, {}, {}, string, import(
|
|
71
|
-
declare const _default: typeof FormTextArea &
|
|
75
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
declare const _default: typeof FormTextArea & {
|
|
77
|
+
new (): Omit<InstanceType<typeof FormTextArea>, "$props"> & {
|
|
78
|
+
$props: TextAreaProps;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
72
81
|
export default _default;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, ShapeType, SizeType, ThemeType } from
|
|
3
|
-
import { IconType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import { type BooleanType, type ShapeType, type SizeType, type ThemeType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
4
|
declare const inputNumberProps: {
|
|
5
5
|
modelValue: PropType<number | string>;
|
|
6
|
+
value: PropType<number | string>;
|
|
6
7
|
min: {
|
|
7
8
|
type: NumberConstructor;
|
|
8
9
|
default: number;
|
|
@@ -44,8 +45,9 @@ declare const inputNumberProps: {
|
|
|
44
45
|
placeholder: StringConstructor;
|
|
45
46
|
};
|
|
46
47
|
export type InputNumberProps = ExtractPropTypes<typeof inputNumberProps>;
|
|
47
|
-
declare const _default: import(
|
|
48
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
48
49
|
modelValue: PropType<number | string>;
|
|
50
|
+
value: PropType<number | string>;
|
|
49
51
|
min: {
|
|
50
52
|
type: NumberConstructor;
|
|
51
53
|
default: number;
|
|
@@ -85,13 +87,14 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
85
87
|
type: PropType<SizeType>;
|
|
86
88
|
};
|
|
87
89
|
placeholder: StringConstructor;
|
|
88
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
90
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
91
|
"update:modelValue": (value: number | undefined) => boolean;
|
|
90
92
|
change: (value: number | undefined) => boolean;
|
|
91
93
|
blur: (event: FocusEvent) => boolean;
|
|
92
94
|
keydown: (event: KeyboardEvent) => boolean;
|
|
93
|
-
}, string, import(
|
|
95
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
94
96
|
modelValue: PropType<number | string>;
|
|
97
|
+
value: PropType<number | string>;
|
|
95
98
|
min: {
|
|
96
99
|
type: NumberConstructor;
|
|
97
100
|
default: number;
|
|
@@ -143,5 +146,5 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
143
146
|
step: string | number;
|
|
144
147
|
controls: boolean | undefined;
|
|
145
148
|
keyboard: boolean | undefined;
|
|
146
|
-
}, {}, {}, {}, string, import(
|
|
149
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
147
150
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
export type { InputOTPProps } from
|
|
3
|
-
export type { InputOTPValidator } from
|
|
1
|
+
import InputOTP from "./input-otp";
|
|
2
|
+
export type { InputOTPProps } from "./input-otp";
|
|
3
|
+
export type { InputOTPValidator } from "./types";
|
|
4
4
|
export default InputOTP;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
2
|
-
import { BooleanType, ShapeType, SizeType, ThemeType } from
|
|
3
|
-
import { InputOTPValidator } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import type { BooleanType, ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
|
+
import type { InputOTPValidator } from "./types";
|
|
4
4
|
declare const inputOTPProps: {
|
|
5
5
|
modelValue: {
|
|
6
|
+
type: PropType<string | number>;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
value: {
|
|
6
10
|
type: PropType<string | number>;
|
|
7
11
|
default: string;
|
|
8
12
|
};
|
|
@@ -28,8 +32,12 @@ declare const inputOTPProps: {
|
|
|
28
32
|
shape: PropType<ShapeType>;
|
|
29
33
|
};
|
|
30
34
|
export type InputOTPProps = ExtractPropTypes<typeof inputOTPProps>;
|
|
31
|
-
declare const _default: import(
|
|
35
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
32
36
|
modelValue: {
|
|
37
|
+
type: PropType<string | number>;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
40
|
+
value: {
|
|
33
41
|
type: PropType<string | number>;
|
|
34
42
|
default: string;
|
|
35
43
|
};
|
|
@@ -53,14 +61,18 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
53
61
|
default: string;
|
|
54
62
|
};
|
|
55
63
|
shape: PropType<ShapeType>;
|
|
56
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
64
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
65
|
"update:modelValue": (value: string) => boolean;
|
|
58
66
|
change: (value: string) => boolean;
|
|
59
67
|
complete: (value: string) => boolean;
|
|
60
68
|
focus: (event: FocusEvent) => boolean;
|
|
61
69
|
blur: (event: FocusEvent) => boolean;
|
|
62
|
-
}, string, import(
|
|
70
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
63
71
|
modelValue: {
|
|
72
|
+
type: PropType<string | number>;
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
value: {
|
|
64
76
|
type: PropType<string | number>;
|
|
65
77
|
default: string;
|
|
66
78
|
};
|
|
@@ -94,7 +106,8 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
94
106
|
length: number;
|
|
95
107
|
type: "number" | "text";
|
|
96
108
|
theme: ThemeType;
|
|
109
|
+
value: string | number;
|
|
97
110
|
modelValue: string | number;
|
|
98
|
-
}, {}, {}, {}, string, import(
|
|
111
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
99
112
|
export default _default;
|
|
100
|
-
export type { InputOTPValidator } from
|
|
113
|
+
export type { InputOTPValidator } from "./types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { ShapeType, SizeType, ThemeType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
3
|
declare const propsDef: {
|
|
4
4
|
size: {
|
|
5
5
|
type: PropType<SizeType>;
|
|
@@ -32,7 +32,7 @@ declare const propsDef: {
|
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
export type InputTagProps = ExtractPropTypes<typeof propsDef>;
|
|
35
|
-
declare const _default: import(
|
|
35
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
36
36
|
size: {
|
|
37
37
|
type: PropType<SizeType>;
|
|
38
38
|
default: string;
|
|
@@ -62,13 +62,13 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
62
62
|
type: PropType<string[]>;
|
|
63
63
|
default: () => string[];
|
|
64
64
|
};
|
|
65
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
65
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
66
66
|
"update:modelValue": (value: string[]) => boolean;
|
|
67
67
|
change: (value: string[]) => boolean;
|
|
68
68
|
add: (value: string) => boolean;
|
|
69
69
|
remove: (value: string, index: number) => boolean;
|
|
70
70
|
clear: () => true;
|
|
71
|
-
}, string, import(
|
|
71
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
72
72
|
size: {
|
|
73
73
|
type: PropType<SizeType>;
|
|
74
74
|
default: string;
|
|
@@ -114,5 +114,5 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
114
114
|
clearable: boolean;
|
|
115
115
|
allowDuplicates: boolean;
|
|
116
116
|
separators: string[];
|
|
117
|
-
}, {}, {}, {}, string, import(
|
|
117
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
118
118
|
export default _default;
|
package/types/kanban/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
2
|
export interface KanbanColumnData {
|
|
3
3
|
key: string | number;
|
|
4
4
|
title: string;
|
|
@@ -45,7 +45,7 @@ declare const kanbanProps: {
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
export type KanbanProps = ExtractPropTypes<typeof kanbanProps>;
|
|
48
|
-
declare const Kanban: import(
|
|
48
|
+
declare const Kanban: import("vue").DefineComponent<ExtractPropTypes<{
|
|
49
49
|
columns: {
|
|
50
50
|
type: PropType<KanbanColumnData[]>;
|
|
51
51
|
default: () => never[];
|
|
@@ -75,10 +75,10 @@ declare const Kanban: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
75
75
|
type: PropType<"fill" | "outline">;
|
|
76
76
|
default: string;
|
|
77
77
|
};
|
|
78
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
78
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
79
79
|
move: (event: KanbanMoveEvent) => boolean;
|
|
80
80
|
itemClick: (item: KanbanItemData, column: KanbanColumnData) => boolean;
|
|
81
|
-
}, string, import(
|
|
81
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
82
82
|
columns: {
|
|
83
83
|
type: PropType<KanbanColumnData[]>;
|
|
84
84
|
default: () => never[];
|
|
@@ -119,5 +119,5 @@ declare const Kanban: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
119
119
|
rowKey: string;
|
|
120
120
|
statusKey: string;
|
|
121
121
|
minColumnWidth: string | number;
|
|
122
|
-
}, {}, {}, {}, string, import(
|
|
122
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
123
123
|
export default Kanban;
|