@teammodlr/ui-kit 2.1.49 → 2.1.51
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/lib/components/avatar/Avatar.vue.d.ts +1 -1
- package/lib/components/badge/style/Badge.css.d.ts +2 -2
- package/lib/components/button/Button.vue.d.ts +4 -4
- package/lib/components/button/style/Button.css.d.ts +3 -3
- package/lib/components/checkbox/Checkbox.vue.d.ts +4 -4
- package/lib/components/configprovider/ConfigProvider.vue.d.ts +12 -11
- package/lib/components/confirm/ConfirmProvider.vue.d.ts +10 -10
- package/lib/components/dropdown/DropdownItem.vue.d.ts +2 -2
- package/lib/components/dropdown/style/Dropdown.css.d.ts +1 -1
- package/lib/components/input/Input.vue.d.ts +6 -6
- package/lib/components/link/Link.vue.d.ts +2 -2
- package/lib/components/messageprovider/Message.vue.d.ts +2 -2
- package/lib/components/messageprovider/MessageProvider.vue.d.ts +5 -5
- package/lib/components/messageprovider/style/Message.css.d.ts +1 -1
- package/lib/components/modal/Modal.vue.d.ts +1 -1
- package/lib/components/radio/Radio.vue.d.ts +6 -6
- package/lib/components/radiobutton/RadioButton.vue.d.ts +4 -4
- package/lib/components/renderer/renderer.d.ts +1 -1
- package/lib/components/select/Select.vue.d.ts +21 -20
- package/lib/components/switch/Switch.vue.d.ts +4 -4
- package/lib/components/tab/Tab.vue.d.ts +4 -6
- package/lib/components/tab/TabGroup.vue.d.ts +17 -3
- package/lib/components/tab/style/Tab.css.d.ts +7 -0
- package/lib/components/tab/style/index.d.ts +1 -0
- package/lib/components/table/Table.vue.d.ts +2 -2
- package/lib/components/textarea/Textarea.vue.d.ts +5 -5
- package/lib/composables/useInput.d.ts +1 -1
- package/lib/index.cjs.js +10 -13
- package/lib/index.es.js +2386 -2432
- package/lib/install.d.ts +1 -1
- package/lib/style.css +1 -1
- package/package.json +75 -89
- package/src/components/avatar/examples/index.stories.ts +25 -25
- package/src/components/avatargroup/examples/index.stories.ts +19 -19
- package/src/components/badge/examples/index.stories.ts +19 -19
- package/src/components/breadcrumb/examples/index.stories.ts +16 -16
- package/src/components/button/examples/index.stories.ts +37 -37
- package/src/components/buttongroup/examples/index.stories.ts +17 -17
- package/src/components/checkbox/examples/index.stories.ts +16 -16
- package/src/components/colorpicker/examples/index.stories.ts +12 -12
- package/src/components/configprovider/ConfigProvider.vue +38 -38
- package/src/components/confirm/ConfirmProvider.vue +82 -82
- package/src/components/confirm/examples/index.stories.ts +26 -26
- package/src/components/dialog/examples/index.stories.ts +14 -14
- package/src/components/dropdown/examples/index.stories.ts +26 -26
- package/src/components/form/examples/index.stories.ts +23 -23
- package/src/components/image/examples/index.stories.ts +10 -10
- package/src/components/input/examples/index.stories.ts +26 -26
- package/src/components/link/examples/index.stories.ts +15 -15
- package/src/components/messageprovider/examples/index.stories.ts +26 -26
- package/src/components/modal/examples/index.stories.ts +16 -16
- package/src/components/pagination/examples/index.stories.ts +11 -11
- package/src/components/radio/examples/index.stories.ts +16 -16
- package/src/components/radiobuttongroup/examples/index.stories.ts +18 -18
- package/src/components/renderer/examlpes/index.stories.ts +14 -14
- package/src/components/select/Select.vue +755 -755
- package/src/components/select/examples/basic.vue +26 -26
- package/src/components/select/examples/index.stories.ts +16 -16
- package/src/components/select/types.ts +27 -27
- package/src/components/skeleton/examples/index.stories.ts +13 -13
- package/src/components/switch/examples/index.stories.ts +15 -15
- package/src/components/switch/style/Switch.css.ts +135 -135
- package/src/components/tab/Tab.vue +85 -98
- package/src/components/tab/TabGroup.vue +96 -90
- package/src/components/tab/examples/index.stories.ts +21 -10
- package/src/components/tab/style/Tab.css.ts +137 -0
- package/src/components/tab/style/index.ts +1 -0
- package/src/components/table/examples/index.stories.ts +17 -17
- package/src/components/tag/examples/index.stories.ts +16 -16
- package/src/components/textarea/examples/index.stories.ts +14 -14
- package/src/components/tooltip/examples/index.stories.ts +17 -17
- package/src/components/transfer/examples/index.stories.ts +12 -12
- package/src/components/tree/examples/index.stories.ts +12 -12
- package/src/components/virtualscroll/examples/index.stories.ts +11 -11
- package/src/composables/useCachedUid.ts +15 -15
- package/src/composables/useInput.ts +151 -151
- package/src/examples/cards/cards.stories.ts +9 -9
- package/src/examples/modal/modal.stories.ts +9 -9
- package/src/types/props.ts +21 -21
- package/src/utils/call.ts +34 -34
- package/src/utils/injection.ts +45 -45
- package/src/components/tab/Tab.css +0 -113
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const base: string;
|
|
2
2
|
export declare const text: string;
|
|
3
|
-
export declare const variant: Record<"
|
|
4
|
-
export declare const secondary: Record<"
|
|
3
|
+
export declare const variant: Record<"default" | "error" | "dark" | "primary" | "tertiary" | "success" | "warning", string>;
|
|
4
|
+
export declare const secondary: Record<"default" | "error" | "dark" | "primary" | "tertiary" | "success" | "warning", string>;
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
36
36
|
to: {
|
|
37
|
-
type: (
|
|
37
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
38
38
|
default: null;
|
|
39
39
|
};
|
|
40
40
|
href: {
|
|
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
})[]>;
|
|
64
64
|
computedBorderClasses: import("vue").ComputedRef<string[]>;
|
|
65
65
|
computedBorderStateClasses: import("vue").ComputedRef<string[]>;
|
|
66
|
-
computedTag: import("vue").ComputedRef<"button" | "
|
|
66
|
+
computedTag: import("vue").ComputedRef<"button" | "nuxt-link" | "a">;
|
|
67
67
|
hasIconLeft: import("vue").ComputedRef<boolean>;
|
|
68
68
|
hasIconRight: import("vue").ComputedRef<boolean>;
|
|
69
69
|
handleClick: (e: MouseEvent) => void;
|
|
@@ -104,7 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
default: boolean;
|
|
105
105
|
};
|
|
106
106
|
to: {
|
|
107
|
-
type: (
|
|
107
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
108
108
|
default: null;
|
|
109
109
|
};
|
|
110
110
|
href: {
|
|
@@ -124,10 +124,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
124
124
|
default: () => void;
|
|
125
125
|
};
|
|
126
126
|
}>>, {
|
|
127
|
+
size: Size;
|
|
127
128
|
type: string;
|
|
128
129
|
link: boolean;
|
|
129
130
|
onClick: (e: MouseEvent) => void;
|
|
130
|
-
size: Size;
|
|
131
131
|
block: boolean;
|
|
132
132
|
icon: boolean;
|
|
133
133
|
disabled: boolean;
|
|
@@ -8,9 +8,9 @@ export declare const vars: {
|
|
|
8
8
|
color: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
9
|
};
|
|
10
10
|
export declare const base: string;
|
|
11
|
-
export declare const variant: Record<"
|
|
12
|
-
export declare const secondary: Record<"
|
|
13
|
-
export declare const link: Record<"
|
|
11
|
+
export declare const variant: Record<"default" | "error" | "dark" | "primary" | "tertiary" | "success" | "warning", string>;
|
|
12
|
+
export declare const secondary: Record<"default" | "error" | "dark" | "primary" | "tertiary" | "success" | "warning", string>;
|
|
13
|
+
export declare const link: Record<"default" | "error" | "dark" | "primary" | "tertiary" | "success" | "warning", string>;
|
|
14
14
|
export declare const size: Record<"sm" | "md" | "lg" | "xs" | "xl", string>;
|
|
15
15
|
export declare const border: string;
|
|
16
16
|
export declare const borderState: string;
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
28
28
|
value: {};
|
|
29
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
29
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
30
30
|
name: StringConstructor;
|
|
31
31
|
readonly: BooleanConstructor;
|
|
32
32
|
required: BooleanConstructor;
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
default: boolean;
|
|
83
83
|
};
|
|
84
84
|
value: {};
|
|
85
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
85
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
86
86
|
name: StringConstructor;
|
|
87
87
|
readonly: BooleanConstructor;
|
|
88
88
|
required: BooleanConstructor;
|
|
@@ -94,13 +94,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
94
|
}>> & {
|
|
95
95
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
96
96
|
}, {
|
|
97
|
-
required: boolean;
|
|
98
97
|
size: Size;
|
|
98
|
+
readonly: boolean;
|
|
99
|
+
required: boolean;
|
|
99
100
|
disabled: boolean;
|
|
100
101
|
loading: boolean;
|
|
101
102
|
checked: boolean;
|
|
102
103
|
indeterminate: boolean;
|
|
103
|
-
readonly: boolean;
|
|
104
104
|
rules: unknown[];
|
|
105
105
|
}, {}>;
|
|
106
106
|
export default _default;
|
|
@@ -8,10 +8,10 @@ export interface ConfigProviderProps {
|
|
|
8
8
|
useId?: () => string;
|
|
9
9
|
dir?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ConfigProviderProps>, {
|
|
12
12
|
useId: undefined;
|
|
13
13
|
dir: string;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ConfigProviderProps>, {
|
|
15
15
|
useId: undefined;
|
|
16
16
|
dir: string;
|
|
17
17
|
}>>>, {
|
|
@@ -21,15 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
21
21
|
default?(_: {}): any;
|
|
22
22
|
}>;
|
|
23
23
|
export default _default;
|
|
24
|
-
|
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: import('vue').PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
24
|
+
|
|
33
25
|
type __VLS_WithDefaults<P, D> = {
|
|
34
26
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
27
|
default: D[K];
|
|
@@ -43,3 +35,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
43
35
|
$slots: S;
|
|
44
36
|
};
|
|
45
37
|
};
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToOption<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: import('vue').PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -13,16 +13,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
dialogList: import("vue").Ref<{
|
|
14
14
|
key: string;
|
|
15
15
|
destroy: () => void;
|
|
16
|
-
title?: string
|
|
17
|
-
render?: import("./types").ConfirmContentRender
|
|
18
|
-
content:
|
|
19
|
-
onClose?: (
|
|
20
|
-
onOpen?: (
|
|
21
|
-
onOk?: (
|
|
22
|
-
onCancel?: (
|
|
23
|
-
okVariant?: import("../../types/props").Variant
|
|
24
|
-
okText?:
|
|
25
|
-
cancelText?:
|
|
16
|
+
title?: string;
|
|
17
|
+
render?: import("./types").ConfirmContentRender;
|
|
18
|
+
content: import("./types").ConfirmContentType;
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
onOpen?: () => void;
|
|
21
|
+
onOk?: () => void;
|
|
22
|
+
onCancel?: () => void;
|
|
23
|
+
okVariant?: import("../../types/props").Variant;
|
|
24
|
+
okText?: import("./types").ConfirmContentType;
|
|
25
|
+
cancelText?: import("./types").ConfirmContentType;
|
|
26
26
|
}[]>;
|
|
27
27
|
create: (options: ConfirmOptions) => Confirm;
|
|
28
28
|
destroyAll: () => void;
|
|
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
handleSelect: () => void;
|
|
42
42
|
computedWrapperClasses: import("vue").ComputedRef<string[]>;
|
|
43
43
|
style: typeof style;
|
|
44
|
-
computedType: import("vue").ComputedRef<"
|
|
44
|
+
computedType: import("vue").ComputedRef<"a" | "li">;
|
|
45
45
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
46
|
label: {
|
|
47
47
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -76,12 +76,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
76
|
default: string;
|
|
77
77
|
};
|
|
78
78
|
}>> & {}, {
|
|
79
|
+
description: string;
|
|
79
80
|
label: string | number;
|
|
80
81
|
onSelect: (label: string | number) => void;
|
|
81
82
|
disabled: boolean;
|
|
82
83
|
variant: Variant;
|
|
83
84
|
href: string;
|
|
84
|
-
description: string;
|
|
85
85
|
reference: boolean;
|
|
86
86
|
hotkey: string;
|
|
87
87
|
}, {}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const menu: string;
|
|
2
2
|
export declare const menuItems: string;
|
|
3
3
|
export declare const menuItem: string;
|
|
4
|
-
export declare const variant: Record<"
|
|
4
|
+
export declare const variant: Record<"default" | "error" | "dark" | "primary" | "tertiary" | "success" | "warning", string>;
|
|
5
5
|
export declare const menuItemTextContainer: string;
|
|
6
6
|
export declare const menuItemText: string;
|
|
7
7
|
export declare const menuItemIcon: string;
|
|
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
type: StringConstructor;
|
|
43
43
|
default: string;
|
|
44
44
|
};
|
|
45
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
45
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
46
46
|
name: StringConstructor;
|
|
47
47
|
required: BooleanConstructor;
|
|
48
48
|
rules: {
|
|
@@ -120,7 +120,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
120
120
|
type: StringConstructor;
|
|
121
121
|
default: string;
|
|
122
122
|
};
|
|
123
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
123
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
124
124
|
name: StringConstructor;
|
|
125
125
|
required: BooleanConstructor;
|
|
126
126
|
rules: {
|
|
@@ -130,16 +130,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
130
130
|
}>> & {
|
|
131
131
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
132
132
|
}, {
|
|
133
|
-
|
|
133
|
+
size: Size;
|
|
134
134
|
type: string;
|
|
135
|
+
readonly: boolean;
|
|
136
|
+
description: string;
|
|
137
|
+
error: string;
|
|
135
138
|
required: boolean;
|
|
136
|
-
size: Size;
|
|
137
139
|
block: boolean;
|
|
138
140
|
disabled: boolean;
|
|
139
141
|
loading: boolean;
|
|
140
|
-
readonly: boolean;
|
|
141
142
|
rules: unknown[];
|
|
142
143
|
placeholder: string;
|
|
143
|
-
description: string;
|
|
144
144
|
}, {}>;
|
|
145
145
|
export default _default;
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
type: BooleanConstructor;
|
|
17
17
|
default: boolean;
|
|
18
18
|
};
|
|
19
|
-
to: (
|
|
19
|
+
to: (ObjectConstructor | StringConstructor)[];
|
|
20
20
|
}, {
|
|
21
21
|
computedClasses: import("vue").ComputedRef<(string | {
|
|
22
22
|
[x: string]: boolean | Color | undefined;
|
|
@@ -42,7 +42,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
type: BooleanConstructor;
|
|
43
43
|
default: boolean;
|
|
44
44
|
};
|
|
45
|
-
to: (
|
|
45
|
+
to: (ObjectConstructor | StringConstructor)[];
|
|
46
46
|
}>>, {
|
|
47
47
|
block: boolean;
|
|
48
48
|
underline: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MessageType, MessageReactive, MessageApiInjection, MessagePlacement } from './types';
|
|
1
|
+
import type { MessageType, MessageReactive, MessageApiInjection, ContentType, MessagePlacement } from './types';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
export type MessageProviderInst = MessageApiInjection;
|
|
4
4
|
interface PrivateMessageRef extends MessageReactive {
|
|
@@ -18,11 +18,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
messageRefs: import("vue").Ref<Record<string, PrivateMessageRef>>;
|
|
19
19
|
messageList: import("vue").Ref<{
|
|
20
20
|
key: string;
|
|
21
|
-
content:
|
|
22
|
-
timeout?: number
|
|
23
|
-
closable?: boolean
|
|
21
|
+
content: ContentType;
|
|
22
|
+
timeout?: number;
|
|
23
|
+
closable?: boolean;
|
|
24
24
|
type: MessageType;
|
|
25
|
-
onClose?: (
|
|
25
|
+
onClose?: () => void;
|
|
26
26
|
destroy: () => void;
|
|
27
27
|
}[]>;
|
|
28
28
|
onInternalAfterLeave: (key: string) => void;
|
|
@@ -9,4 +9,4 @@ export declare const base: string;
|
|
|
9
9
|
export declare const placement: Record<"top" | "top-left" | "top-right", string>;
|
|
10
10
|
export declare const icon: string;
|
|
11
11
|
export declare const message: string;
|
|
12
|
-
export declare const variant: Record<"
|
|
12
|
+
export declare const variant: Record<"default" | "error" | "success" | "warning" | "loading" | "info", string>;
|
|
@@ -128,11 +128,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
128
|
title: string;
|
|
129
129
|
width: string | number;
|
|
130
130
|
loading: boolean;
|
|
131
|
+
showClose: boolean;
|
|
131
132
|
onClose: (e: MouseEvent | KeyboardEvent) => void;
|
|
132
133
|
wrapClassName: string;
|
|
133
134
|
canClickOutside: boolean;
|
|
134
135
|
outsideClose: boolean;
|
|
135
|
-
showClose: boolean;
|
|
136
136
|
centered: boolean;
|
|
137
137
|
}, {}>;
|
|
138
138
|
export default _default;
|
|
@@ -18,10 +18,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
18
18
|
default: boolean;
|
|
19
19
|
};
|
|
20
20
|
value: {
|
|
21
|
-
type: (
|
|
21
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
22
22
|
default: null;
|
|
23
23
|
};
|
|
24
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
24
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
25
25
|
name: StringConstructor;
|
|
26
26
|
readonly: BooleanConstructor;
|
|
27
27
|
required: BooleanConstructor;
|
|
@@ -68,10 +68,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
default: boolean;
|
|
69
69
|
};
|
|
70
70
|
value: {
|
|
71
|
-
type: (
|
|
71
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
72
72
|
default: null;
|
|
73
73
|
};
|
|
74
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
74
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
75
75
|
name: StringConstructor;
|
|
76
76
|
readonly: BooleanConstructor;
|
|
77
77
|
required: BooleanConstructor;
|
|
@@ -83,12 +83,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
83
|
}>> & {
|
|
84
84
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
85
85
|
}, {
|
|
86
|
-
required: boolean;
|
|
87
86
|
size: Size;
|
|
87
|
+
readonly: boolean;
|
|
88
|
+
required: boolean;
|
|
88
89
|
disabled: boolean;
|
|
89
90
|
loading: boolean;
|
|
90
91
|
value: string | number | boolean;
|
|
91
|
-
readonly: boolean;
|
|
92
92
|
rules: unknown[];
|
|
93
93
|
}, {}>;
|
|
94
94
|
export default _default;
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
default: () => void;
|
|
27
27
|
};
|
|
28
28
|
loading: BooleanConstructor;
|
|
29
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
29
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
30
30
|
name: StringConstructor;
|
|
31
31
|
readonly: BooleanConstructor;
|
|
32
32
|
required: BooleanConstructor;
|
|
@@ -73,7 +73,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
default: () => void;
|
|
74
74
|
};
|
|
75
75
|
loading: BooleanConstructor;
|
|
76
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
76
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
77
77
|
name: StringConstructor;
|
|
78
78
|
readonly: BooleanConstructor;
|
|
79
79
|
required: BooleanConstructor;
|
|
@@ -85,14 +85,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
85
85
|
}>> & {
|
|
86
86
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
87
87
|
}, {
|
|
88
|
+
size: Size;
|
|
88
89
|
type: string;
|
|
90
|
+
readonly: boolean;
|
|
89
91
|
required: boolean;
|
|
90
92
|
onClick: (e: MouseEvent) => void;
|
|
91
|
-
size: Size;
|
|
92
93
|
icon: boolean;
|
|
93
94
|
disabled: boolean;
|
|
94
95
|
loading: boolean;
|
|
95
|
-
readonly: boolean;
|
|
96
96
|
rules: unknown[];
|
|
97
97
|
}, {}>;
|
|
98
98
|
export default _default;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
options: {
|
|
14
|
-
type: PropType<any
|
|
14
|
+
type: PropType<Array<any>>;
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
searchable: {
|
|
@@ -71,7 +71,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
71
|
};
|
|
72
72
|
'onUpdate:value': PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
73
73
|
onUpdateValue: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
74
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
74
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
75
75
|
name: StringConstructor;
|
|
76
76
|
readonly: BooleanConstructor;
|
|
77
77
|
required: BooleanConstructor;
|
|
@@ -139,43 +139,44 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
139
|
length: number;
|
|
140
140
|
toString(): string;
|
|
141
141
|
toLocaleString(): string;
|
|
142
|
+
toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
|
|
142
143
|
pop(): string | undefined;
|
|
143
144
|
push(...items: string[]): number;
|
|
144
145
|
concat(...items: ConcatArray<string>[]): string[];
|
|
145
146
|
concat(...items: (string | ConcatArray<string>)[]): string[];
|
|
146
|
-
join(separator?: string
|
|
147
|
+
join(separator?: string): string;
|
|
147
148
|
reverse(): string[];
|
|
148
149
|
shift(): string | undefined;
|
|
149
|
-
slice(start?: number
|
|
150
|
+
slice(start?: number, end?: number): string[];
|
|
150
151
|
sort(compareFn?: ((a: string, b: string) => number) | undefined): string[];
|
|
151
|
-
splice(start: number, deleteCount?: number
|
|
152
|
+
splice(start: number, deleteCount?: number): string[];
|
|
152
153
|
splice(start: number, deleteCount: number, ...items: string[]): string[];
|
|
153
154
|
unshift(...items: string[]): number;
|
|
154
|
-
indexOf(searchElement: string, fromIndex?: number
|
|
155
|
-
lastIndexOf(searchElement: string, fromIndex?: number
|
|
155
|
+
indexOf(searchElement: string, fromIndex?: number): number;
|
|
156
|
+
lastIndexOf(searchElement: string, fromIndex?: number): number;
|
|
156
157
|
every<S extends string>(predicate: (value: string, index: number, array: string[]) => value is S, thisArg?: any): this is S[];
|
|
157
158
|
every(predicate: (value: string, index: number, array: string[]) => unknown, thisArg?: any): boolean;
|
|
158
159
|
some(predicate: (value: string, index: number, array: string[]) => unknown, thisArg?: any): boolean;
|
|
159
160
|
forEach(callbackfn: (value: string, index: number, array: string[]) => void, thisArg?: any): void;
|
|
160
161
|
map<U>(callbackfn: (value: string, index: number, array: string[]) => U, thisArg?: any): U[];
|
|
161
|
-
filter<
|
|
162
|
+
filter<S extends string>(predicate: (value: string, index: number, array: string[]) => value is S, thisArg?: any): S[];
|
|
162
163
|
filter(predicate: (value: string, index: number, array: string[]) => unknown, thisArg?: any): string[];
|
|
163
164
|
reduce(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string;
|
|
164
165
|
reduce(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string;
|
|
165
|
-
reduce<
|
|
166
|
+
reduce<U>(callbackfn: (previousValue: U, currentValue: string, currentIndex: number, array: string[]) => U, initialValue: U): U;
|
|
166
167
|
reduceRight(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string): string;
|
|
167
168
|
reduceRight(callbackfn: (previousValue: string, currentValue: string, currentIndex: number, array: string[]) => string, initialValue: string): string;
|
|
168
|
-
reduceRight<
|
|
169
|
-
find<
|
|
169
|
+
reduceRight<U>(callbackfn: (previousValue: U, currentValue: string, currentIndex: number, array: string[]) => U, initialValue: U): U;
|
|
170
|
+
find<S extends string>(predicate: (value: string, index: number, obj: string[]) => value is S, thisArg?: any): S | undefined;
|
|
170
171
|
find(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): string | undefined;
|
|
171
172
|
findIndex(predicate: (value: string, index: number, obj: string[]) => unknown, thisArg?: any): number;
|
|
172
|
-
fill(value: string, start?: number
|
|
173
|
-
copyWithin(target: number, start: number, end?: number
|
|
173
|
+
fill(value: string, start?: number, end?: number): string[];
|
|
174
|
+
copyWithin(target: number, start: number, end?: number): string[];
|
|
174
175
|
entries(): IterableIterator<[number, string]>;
|
|
175
176
|
keys(): IterableIterator<number>;
|
|
176
177
|
values(): IterableIterator<string>;
|
|
177
|
-
includes(searchElement: string, fromIndex?: number
|
|
178
|
-
flatMap<
|
|
178
|
+
includes(searchElement: string, fromIndex?: number): boolean;
|
|
179
|
+
flatMap<U, This = undefined>(callback: (this: This, value: string, index: number, array: string[]) => U | ReadonlyArray<U>, thisArg?: This | undefined): U[];
|
|
179
180
|
flat<A, D extends number = 1>(this: A, depth?: D | undefined): FlatArray<A, D>[];
|
|
180
181
|
[Symbol.iterator](): IterableIterator<string>;
|
|
181
182
|
[Symbol.unscopables]: {
|
|
@@ -226,7 +227,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
226
227
|
default: string;
|
|
227
228
|
};
|
|
228
229
|
options: {
|
|
229
|
-
type: PropType<any
|
|
230
|
+
type: PropType<Array<any>>;
|
|
230
231
|
required: true;
|
|
231
232
|
};
|
|
232
233
|
searchable: {
|
|
@@ -286,7 +287,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
286
287
|
};
|
|
287
288
|
'onUpdate:value': PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
288
289
|
onUpdateValue: PropType<MaybeArray<OnUpdateValue> | undefined>;
|
|
289
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
290
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
290
291
|
name: StringConstructor;
|
|
291
292
|
readonly: BooleanConstructor;
|
|
292
293
|
required: BooleanConstructor;
|
|
@@ -297,16 +298,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
297
298
|
}>> & {
|
|
298
299
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
299
300
|
}, {
|
|
300
|
-
required: boolean;
|
|
301
301
|
size: Size;
|
|
302
|
+
readonly: boolean;
|
|
303
|
+
description: string;
|
|
304
|
+
required: boolean;
|
|
302
305
|
multiple: boolean;
|
|
303
306
|
disabled: boolean;
|
|
304
307
|
max: number;
|
|
305
308
|
loading: boolean;
|
|
306
|
-
readonly: boolean;
|
|
307
309
|
rules: unknown[];
|
|
308
310
|
placeholder: string;
|
|
309
|
-
description: string;
|
|
310
311
|
transitionName: string;
|
|
311
312
|
searchable: boolean;
|
|
312
313
|
optionValue: string;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
type: BooleanConstructor;
|
|
18
18
|
default: boolean;
|
|
19
19
|
};
|
|
20
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
20
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
21
21
|
name: StringConstructor;
|
|
22
22
|
readonly: BooleanConstructor;
|
|
23
23
|
required: BooleanConstructor;
|
|
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
63
63
|
type: BooleanConstructor;
|
|
64
64
|
default: boolean;
|
|
65
65
|
};
|
|
66
|
-
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
66
|
+
modelValue: PropType<string | number | boolean | object | any[] | any[] | undefined>;
|
|
67
67
|
name: StringConstructor;
|
|
68
68
|
readonly: BooleanConstructor;
|
|
69
69
|
required: BooleanConstructor;
|
|
@@ -75,11 +75,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
}>> & {
|
|
76
76
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
77
77
|
}, {
|
|
78
|
-
required: boolean;
|
|
79
78
|
size: Size;
|
|
79
|
+
readonly: boolean;
|
|
80
|
+
required: boolean;
|
|
80
81
|
disabled: boolean;
|
|
81
82
|
loading: boolean;
|
|
82
|
-
readonly: boolean;
|
|
83
83
|
rules: unknown[];
|
|
84
84
|
}, {}>;
|
|
85
85
|
export default _default;
|
|
@@ -13,13 +13,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
computedValue: import("vue").ComputedRef<string | number | undefined>;
|
|
14
14
|
computedLabel: import("vue").ComputedRef<string | number | undefined>;
|
|
15
15
|
tabRef: import("vue").Ref<HTMLElement | null>;
|
|
16
|
-
computedTabWrapperClasses: import("vue").ComputedRef<{
|
|
17
|
-
'm-tab': boolean;
|
|
18
|
-
'm-tab--active': boolean;
|
|
19
|
-
'm-tab--disabled': boolean;
|
|
20
|
-
}>;
|
|
21
16
|
computedTabClasses: import("vue").ComputedRef<{
|
|
22
|
-
|
|
17
|
+
[x: string]: boolean;
|
|
18
|
+
}>;
|
|
19
|
+
computedTabLabelClasses: import("vue").ComputedRef<{
|
|
20
|
+
[x: string]: boolean;
|
|
23
21
|
}>;
|
|
24
22
|
handleClick: () => void;
|
|
25
23
|
selected: import("vue").ComputedRef<boolean>;
|
|
@@ -12,17 +12,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
type: BooleanConstructor;
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
+
type: {
|
|
16
|
+
type: PropType<"base" | "card">;
|
|
17
|
+
default: string;
|
|
18
|
+
validator: (value: string) => boolean;
|
|
19
|
+
};
|
|
15
20
|
}, {
|
|
16
21
|
wrapperRef: import("vue").Ref<HTMLElement | undefined>;
|
|
17
22
|
tabsContentRef: import("vue").Ref<HTMLElement | undefined>;
|
|
18
23
|
contentRef: import("vue").Ref<HTMLElement | undefined>;
|
|
19
|
-
|
|
20
|
-
[x: string]: boolean;
|
|
24
|
+
computedTabsWrapperClasses: import("vue").ComputedRef<{
|
|
21
25
|
'm-tab-group': boolean;
|
|
22
26
|
'm-tab-group--vertical': boolean;
|
|
23
27
|
}>;
|
|
24
28
|
computedTabsClasses: import("vue").ComputedRef<{
|
|
25
|
-
|
|
29
|
+
[x: string]: boolean;
|
|
30
|
+
'm-tab-group--vertical': boolean;
|
|
31
|
+
}>;
|
|
32
|
+
computedTabContentClasses: import("vue").ComputedRef<{
|
|
33
|
+
[x: string]: boolean;
|
|
26
34
|
}>;
|
|
27
35
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
36
|
modelValue: {
|
|
@@ -36,8 +44,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
44
|
type: BooleanConstructor;
|
|
37
45
|
default: boolean;
|
|
38
46
|
};
|
|
47
|
+
type: {
|
|
48
|
+
type: PropType<"base" | "card">;
|
|
49
|
+
default: string;
|
|
50
|
+
validator: (value: string) => boolean;
|
|
51
|
+
};
|
|
39
52
|
}>>, {
|
|
40
53
|
size: Size;
|
|
54
|
+
type: "base" | "card";
|
|
41
55
|
vertical: boolean;
|
|
42
56
|
}, {}>;
|
|
43
57
|
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const tabWrapper: string;
|
|
2
|
+
export declare const tabs: Record<"base" | "card", string>;
|
|
3
|
+
export declare const baseButton: string;
|
|
4
|
+
export declare const tabButton: Record<"base" | "card", string>;
|
|
5
|
+
export declare const tabButtonActive: Record<"base" | "card", string>;
|
|
6
|
+
export declare const tabLabel: string;
|
|
7
|
+
export declare const tabContent: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tab.css';
|