@voicenter-team/voicenter-ui-plus 3.0.2 → 3.0.4
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/README.md +50 -0
- package/library/assets/assets/sass/main.css +1 -1
- package/library/components/VcPluginOverlays/VcPluginOverlays.vue.mjs +41 -0
- package/library/components/VcPluginOverlays/VcPluginOverlays.vue2.mjs +4 -0
- package/library/index.mjs +106 -102
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/plugin.mjs +175 -165
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +1 -1
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +6 -6
- package/library/types/components/VcButton/VcButton.vue.d.ts +1 -1
- package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +2 -2
- package/library/types/components/VcButton/VcToggleButton.vue.d.ts +1 -1
- package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +3 -3
- package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +1 -1
- package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +6 -6
- package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +3 -3
- package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +2 -2
- package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +1 -1
- package/library/types/components/VcForm/VcForm.vue.d.ts +1 -1
- package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +1 -1
- package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +1 -1
- package/library/types/components/VcInput/VcInput.vue.d.ts +1 -1
- package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +1 -1
- package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +2 -2
- package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +1 -1
- package/library/types/components/VcPluginOverlays/VcPluginOverlays.vue.d.ts +29 -0
- package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +1 -1
- package/library/types/components/VcRadio/VcRadio.vue.d.ts +3 -3
- package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +6 -6
- package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +3 -3
- package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +6 -6
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +6 -6
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +6 -6
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +6 -6
- package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +2 -2
- package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +3 -3
- package/library/types/components/VcTag/VcTag.vue.d.ts +1 -1
- package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +3 -3
- package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +1 -1
- package/library/types/components/VcTree/VcTree.vue.d.ts +6 -6
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +6 -6
- package/library/types/enum/icons.d.ts +5841 -0
- package/library/types/index.d.ts +2 -0
- package/library/types/types/Entry.types.d.ts +15 -0
- package/library/types/types/Overlay.types.d.ts +15 -0
- package/library/types/types/index.d.ts +1 -0
- package/library/types/utils/mountPluginOverlays.d.ts +10 -0
- package/library/utils/mountPluginOverlays.mjs +24 -0
- package/package.json +1 -1
|
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
53
53
|
}>, {
|
|
54
54
|
length: number;
|
|
55
55
|
id: string;
|
|
56
|
-
color: "" | "
|
|
56
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
57
57
|
type: VcOtpInputType;
|
|
58
58
|
loading: boolean;
|
|
59
59
|
disabled: boolean;
|
|
@@ -8,7 +8,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8
8
|
*/
|
|
9
9
|
icon?: TIcon | undefined;
|
|
10
10
|
type?: ButtonIconType | undefined;
|
|
11
|
-
color?: "" | "
|
|
11
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
12
12
|
dataTestName?: string | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
icon: string;
|
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
23
23
|
*/
|
|
24
24
|
icon?: TIcon | undefined;
|
|
25
25
|
type?: ButtonIconType | undefined;
|
|
26
|
-
color?: "" | "
|
|
26
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
27
27
|
dataTestName?: string | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
icon: string;
|
|
@@ -95,7 +95,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
95
95
|
minLength: string | number;
|
|
96
96
|
maxLength: string | number;
|
|
97
97
|
id: string;
|
|
98
|
-
color: "" | "
|
|
98
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
99
99
|
disabled: boolean;
|
|
100
100
|
name: string;
|
|
101
101
|
placeholder: string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { OverlayNotificationsConfig } from '../../types/Overlay.types';
|
|
2
|
+
interface IProps {
|
|
3
|
+
notifications?: OverlayNotificationsConfig;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
6
|
+
notifications: string;
|
|
7
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
8
|
+
notifications: string;
|
|
9
|
+
}>>> & Readonly<{}>, {
|
|
10
|
+
notifications: OverlayNotificationsConfig;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
+
default: D[K];
|
|
25
|
+
}> : P[K];
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Prettify<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
22
|
[key: string]: any;
|
|
23
23
|
}> | undefined>;
|
|
24
24
|
buttonConfirmIcon: import("vue").ComputedRef<TIcon>;
|
|
25
|
-
buttonConfirmColor: import("vue").ComputedRef<"" | "
|
|
25
|
+
buttonConfirmColor: import("vue").ComputedRef<"" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative">;
|
|
26
26
|
confirmPopupState: import('../../types').TConfirmPopupObject;
|
|
27
27
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
28
|
close: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
3
|
-
color?: "" | "
|
|
3
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
4
4
|
label?: string | undefined;
|
|
5
5
|
disabled?: boolean | undefined;
|
|
6
6
|
name?: string | undefined;
|
|
@@ -17,7 +17,7 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
|
17
17
|
emit: (e: 'update:modelValue', pl: Model) => void;
|
|
18
18
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
19
19
|
props: {
|
|
20
|
-
color?: "" | "
|
|
20
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
21
21
|
label?: string | undefined;
|
|
22
22
|
disabled?: boolean | undefined;
|
|
23
23
|
name?: string | undefined;
|
|
@@ -38,7 +38,7 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
|
38
38
|
}> & {
|
|
39
39
|
__ctx?: {
|
|
40
40
|
props: {
|
|
41
|
-
color?: "" | "
|
|
41
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
42
42
|
label?: string | undefined;
|
|
43
43
|
disabled?: boolean | undefined;
|
|
44
44
|
name?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConfigOptionType, ExtractValueType, OptionMappedType, OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>>(__VLS_props: {
|
|
3
|
-
size?: "
|
|
4
|
-
color?: "" | "
|
|
3
|
+
size?: "default" | "small" | "large" | undefined;
|
|
4
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
5
5
|
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
6
6
|
disabled?: boolean | undefined;
|
|
7
7
|
modelValue?: Model | undefined;
|
|
@@ -23,8 +23,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
23
23
|
};
|
|
24
24
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
25
25
|
props: {
|
|
26
|
-
size?: "
|
|
27
|
-
color?: "" | "
|
|
26
|
+
size?: "default" | "small" | "large" | undefined;
|
|
27
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
28
28
|
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
29
29
|
disabled?: boolean | undefined;
|
|
30
30
|
modelValue?: Model | undefined;
|
|
@@ -50,8 +50,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
50
50
|
}> & {
|
|
51
51
|
__ctx?: {
|
|
52
52
|
props: {
|
|
53
|
-
size?: "
|
|
54
|
-
color?: "" | "
|
|
53
|
+
size?: "default" | "small" | "large" | undefined;
|
|
54
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
55
55
|
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
56
56
|
disabled?: boolean | undefined;
|
|
57
57
|
modelValue?: Model | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigOptionType, ExtractValueType, OptionNonObjectValueType, OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>>(__VLS_props: {
|
|
3
|
-
color?: "" | "
|
|
3
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
4
4
|
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
5
5
|
disabled?: boolean | undefined;
|
|
6
6
|
modelValue?: Model | undefined;
|
|
@@ -25,7 +25,7 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
25
25
|
radiosMapped: import('../../types').OptionMappedType<Option, Config>[];
|
|
26
26
|
}) => void) | undefined, __VLS_setup?: Promise<{
|
|
27
27
|
props: {
|
|
28
|
-
color?: "" | "
|
|
28
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
29
29
|
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
30
30
|
disabled?: boolean | undefined;
|
|
31
31
|
modelValue?: Model | undefined;
|
|
@@ -54,7 +54,7 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
54
54
|
}> & {
|
|
55
55
|
__ctx?: {
|
|
56
56
|
props: {
|
|
57
|
-
color?: "" | "
|
|
57
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
58
58
|
readonly onChange?: ((payload: Model | undefined) => any) | undefined;
|
|
59
59
|
disabled?: boolean | undefined;
|
|
60
60
|
modelValue?: Model | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ConfigOptionType, ExtractValueType, OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, ModelValue extends ExtractValueType<Option, Config>>(__VLS_props: {
|
|
3
3
|
id?: string | undefined;
|
|
4
|
-
size?: "" | "
|
|
4
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
5
5
|
ariaLabel?: string | undefined;
|
|
6
|
-
color?: "" | "
|
|
6
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
7
7
|
readonly onChange?: ((pl: ModelValue, old: ModelValue) => any) | undefined;
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
name?: string | undefined;
|
|
@@ -30,9 +30,9 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
30
30
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
31
31
|
props: {
|
|
32
32
|
id?: string | undefined;
|
|
33
|
-
size?: "" | "
|
|
33
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
34
34
|
ariaLabel?: string | undefined;
|
|
35
|
-
color?: "" | "
|
|
35
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
36
36
|
readonly onChange?: ((pl: ModelValue, old: ModelValue) => any) | undefined;
|
|
37
37
|
disabled?: boolean | undefined;
|
|
38
38
|
name?: string | undefined;
|
|
@@ -63,9 +63,9 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
63
63
|
__ctx?: {
|
|
64
64
|
props: {
|
|
65
65
|
id?: string | undefined;
|
|
66
|
-
size?: "" | "
|
|
66
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
67
67
|
ariaLabel?: string | undefined;
|
|
68
|
-
color?: "" | "
|
|
68
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
69
69
|
readonly onChange?: ((pl: ModelValue, old: ModelValue) => any) | undefined;
|
|
70
70
|
disabled?: boolean | undefined;
|
|
71
71
|
name?: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ConfigOptionType, ExtractValueType } from '../../types';
|
|
2
2
|
declare const _default: <Option extends object, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>, Multiple extends boolean = false>(__VLS_props: {
|
|
3
3
|
id?: string | undefined;
|
|
4
|
-
size?: "" | "
|
|
5
|
-
color?: "" | "
|
|
4
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
5
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
6
6
|
readonly onChange?: ((payload: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
7
7
|
disabled?: boolean | undefined;
|
|
8
8
|
name?: string | undefined;
|
|
@@ -53,8 +53,8 @@ declare const _default: <Option extends object, Config extends ConfigOptionType<
|
|
|
53
53
|
}) => void) | undefined, __VLS_setup?: Promise<{
|
|
54
54
|
props: {
|
|
55
55
|
id?: string | undefined;
|
|
56
|
-
size?: "" | "
|
|
57
|
-
color?: "" | "
|
|
56
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
57
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
58
58
|
readonly onChange?: ((payload: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
59
59
|
disabled?: boolean | undefined;
|
|
60
60
|
name?: string | undefined;
|
|
@@ -109,8 +109,8 @@ declare const _default: <Option extends object, Config extends ConfigOptionType<
|
|
|
109
109
|
__ctx?: {
|
|
110
110
|
props: {
|
|
111
111
|
id?: string | undefined;
|
|
112
|
-
size?: "" | "
|
|
113
|
-
color?: "" | "
|
|
112
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
113
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
114
114
|
readonly onChange?: ((payload: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
115
115
|
disabled?: boolean | undefined;
|
|
116
116
|
name?: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ConfigOptionType, ExtractValueType, OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Option extends OptionValueType, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>, Multiple extends boolean = false>(__VLS_props: {
|
|
3
3
|
id?: string | undefined;
|
|
4
|
-
size?: "" | "
|
|
5
|
-
color?: "" | "
|
|
4
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
5
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
6
6
|
readonly onFocus?: ((evt: Event) => any) | undefined;
|
|
7
7
|
readonly onBlur?: ((evt: Event) => any) | undefined;
|
|
8
8
|
readonly onChange?: ((option: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
@@ -86,8 +86,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
86
86
|
}) => void) | undefined, __VLS_setup?: Promise<{
|
|
87
87
|
props: {
|
|
88
88
|
id?: string | undefined;
|
|
89
|
-
size?: "" | "
|
|
90
|
-
color?: "" | "
|
|
89
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
90
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
91
91
|
readonly onFocus?: ((evt: Event) => any) | undefined;
|
|
92
92
|
readonly onBlur?: ((evt: Event) => any) | undefined;
|
|
93
93
|
readonly onChange?: ((option: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
@@ -175,8 +175,8 @@ declare const _default: <Option extends OptionValueType, Config extends ConfigOp
|
|
|
175
175
|
__ctx?: {
|
|
176
176
|
props: {
|
|
177
177
|
id?: string | undefined;
|
|
178
|
-
size?: "" | "
|
|
179
|
-
color?: "" | "
|
|
178
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
179
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
180
180
|
readonly onFocus?: ((evt: Event) => any) | undefined;
|
|
181
181
|
readonly onBlur?: ((evt: Event) => any) | undefined;
|
|
182
182
|
readonly onChange?: ((option: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
@@ -5,8 +5,8 @@ export type OptionObjectGroupedValueType<Option extends OptionObjectValueType> =
|
|
|
5
5
|
};
|
|
6
6
|
declare const _default: <Option extends object, Config extends ConfigOptionType<Option>, Model extends ExtractValueType<Option, Config>, Multiple extends boolean = false>(__VLS_props: {
|
|
7
7
|
id?: string | undefined;
|
|
8
|
-
size?: "" | "
|
|
9
|
-
color?: "" | "
|
|
8
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
9
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
10
10
|
readonly onFocus?: ((evt: Event) => any) | undefined;
|
|
11
11
|
readonly onBlur?: ((evt: Event) => any) | undefined;
|
|
12
12
|
readonly onChange?: ((option: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
@@ -63,8 +63,8 @@ declare const _default: <Option extends object, Config extends ConfigOptionType<
|
|
|
63
63
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
64
64
|
props: {
|
|
65
65
|
id?: string | undefined;
|
|
66
|
-
size?: "" | "
|
|
67
|
-
color?: "" | "
|
|
66
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
67
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
68
68
|
readonly onFocus?: ((evt: Event) => any) | undefined;
|
|
69
69
|
readonly onBlur?: ((evt: Event) => any) | undefined;
|
|
70
70
|
readonly onChange?: ((option: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
@@ -125,8 +125,8 @@ declare const _default: <Option extends object, Config extends ConfigOptionType<
|
|
|
125
125
|
__ctx?: {
|
|
126
126
|
props: {
|
|
127
127
|
id?: string | undefined;
|
|
128
|
-
size?: "" | "
|
|
129
|
-
color?: "" | "
|
|
128
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
129
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
130
130
|
readonly onFocus?: ((evt: Event) => any) | undefined;
|
|
131
131
|
readonly onBlur?: ((evt: Event) => any) | undefined;
|
|
132
132
|
readonly onChange?: ((option: (Multiple extends true ? Option[] : Option) | undefined) => any) | undefined;
|
|
@@ -64,8 +64,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
64
64
|
onChange?: ((option: VcSplitButtonOption) => any) | undefined;
|
|
65
65
|
onClick?: ((option: VcSplitButtonOption | undefined) => any) | undefined;
|
|
66
66
|
}>, {
|
|
67
|
-
size: "" | "
|
|
68
|
-
color: "" | "
|
|
67
|
+
size: "" | "default" | "small" | "large";
|
|
68
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
69
69
|
loading: boolean;
|
|
70
70
|
disabled: boolean;
|
|
71
71
|
popoverMaxWidth: string | number;
|
|
@@ -5,7 +5,7 @@ declare const _default: <Model extends string | number | boolean | undefined>(__
|
|
|
5
5
|
size?: VcSwitchSizeType | undefined;
|
|
6
6
|
values?: Model[] | undefined;
|
|
7
7
|
ariaLabel?: string | undefined;
|
|
8
|
-
color?: "" | "
|
|
8
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
9
9
|
readonly onChange?: ((model: Model) => any) | undefined;
|
|
10
10
|
readonly onInput?: ((model: Model) => any) | undefined;
|
|
11
11
|
width?: string | number | undefined;
|
|
@@ -52,7 +52,7 @@ declare const _default: <Model extends string | number | boolean | undefined>(__
|
|
|
52
52
|
size?: VcSwitchSizeType | undefined;
|
|
53
53
|
values?: Model[] | undefined;
|
|
54
54
|
ariaLabel?: string | undefined;
|
|
55
|
-
color?: "" | "
|
|
55
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
56
56
|
readonly onChange?: ((model: Model) => any) | undefined;
|
|
57
57
|
readonly onInput?: ((model: Model) => any) | undefined;
|
|
58
58
|
width?: string | number | undefined;
|
|
@@ -103,7 +103,7 @@ declare const _default: <Model extends string | number | boolean | undefined>(__
|
|
|
103
103
|
size?: VcSwitchSizeType | undefined;
|
|
104
104
|
values?: Model[] | undefined;
|
|
105
105
|
ariaLabel?: string | undefined;
|
|
106
|
-
color?: "" | "
|
|
106
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
107
107
|
readonly onChange?: ((model: Model) => any) | undefined;
|
|
108
108
|
readonly onInput?: ((model: Model) => any) | undefined;
|
|
109
109
|
width?: string | number | undefined;
|
|
@@ -55,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
55
55
|
}>, {
|
|
56
56
|
borderless: boolean;
|
|
57
57
|
icon: TIcon;
|
|
58
|
-
color: "" | "
|
|
58
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
59
59
|
label: string;
|
|
60
60
|
disabled: boolean;
|
|
61
61
|
square: boolean;
|
|
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
49
49
|
removeItem: typeof removeItem;
|
|
50
50
|
disabled: import("vue").ComputedRef<boolean>;
|
|
51
51
|
isError: import("vue").ComputedRef<boolean>;
|
|
52
|
-
color: import("vue").ComputedRef<"" | "
|
|
52
|
+
color: import("vue").ComputedRef<"" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative">;
|
|
53
53
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
54
|
"update:modelValue": (value: (string | number)[]) => void;
|
|
55
55
|
add: (value: {
|
|
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
97
97
|
}>, {
|
|
98
98
|
id: string;
|
|
99
99
|
class: string;
|
|
100
|
-
color: "" | "
|
|
100
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
101
101
|
style: string | false | import("vue").CSSProperties | StyleValue[] | null;
|
|
102
102
|
disabled: boolean;
|
|
103
103
|
max: number;
|
|
@@ -115,7 +115,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
115
115
|
allowDuplicate: boolean;
|
|
116
116
|
tagBorderless: boolean;
|
|
117
117
|
tagSquare: boolean;
|
|
118
|
-
tagColor: "" | "
|
|
118
|
+
tagColor: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
119
119
|
tagMaxContent: string | number;
|
|
120
120
|
valueType: "string" | "number";
|
|
121
121
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
59
59
|
}) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
61
|
id: string;
|
|
62
|
-
color: "" | "
|
|
62
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
63
63
|
disabled: boolean;
|
|
64
64
|
name: string;
|
|
65
65
|
placeholder: string;
|
|
@@ -4,7 +4,7 @@ import type Node from 'element-plus/es/components/tree/src/model/node';
|
|
|
4
4
|
declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config extends VcTreeConfig<VcTreeNodeGenericType>>(__VLS_props: {
|
|
5
5
|
scrollHeight?: string | number | undefined;
|
|
6
6
|
lazy?: boolean | undefined;
|
|
7
|
-
color?: "" | "
|
|
7
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
8
8
|
loading?: boolean | undefined;
|
|
9
9
|
options?: VcTreeNodeGenericType[] | undefined;
|
|
10
10
|
config: Config;
|
|
@@ -19,7 +19,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
19
19
|
expandedKeys?: (string | number)[] | undefined;
|
|
20
20
|
defaultCheckedKeys?: (string | number)[] | undefined;
|
|
21
21
|
filterPrefixIcon?: TIcon | undefined;
|
|
22
|
-
filterPrefixIconColor?: "" | "
|
|
22
|
+
filterPrefixIconColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
23
23
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
24
24
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
25
25
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
@@ -50,7 +50,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
50
50
|
props: {
|
|
51
51
|
scrollHeight?: string | number | undefined;
|
|
52
52
|
lazy?: boolean | undefined;
|
|
53
|
-
color?: "" | "
|
|
53
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
54
54
|
loading?: boolean | undefined;
|
|
55
55
|
options?: VcTreeNodeGenericType[] | undefined;
|
|
56
56
|
config: Config;
|
|
@@ -65,7 +65,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
65
65
|
expandedKeys?: (string | number)[] | undefined;
|
|
66
66
|
defaultCheckedKeys?: (string | number)[] | undefined;
|
|
67
67
|
filterPrefixIcon?: TIcon | undefined;
|
|
68
|
-
filterPrefixIconColor?: "" | "
|
|
68
|
+
filterPrefixIconColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
69
69
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
70
70
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
71
71
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
@@ -100,7 +100,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
100
100
|
props: {
|
|
101
101
|
scrollHeight?: string | number | undefined;
|
|
102
102
|
lazy?: boolean | undefined;
|
|
103
|
-
color?: "" | "
|
|
103
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
104
104
|
loading?: boolean | undefined;
|
|
105
105
|
options?: VcTreeNodeGenericType[] | undefined;
|
|
106
106
|
config: Config;
|
|
@@ -115,7 +115,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
115
115
|
expandedKeys?: (string | number)[] | undefined;
|
|
116
116
|
defaultCheckedKeys?: (string | number)[] | undefined;
|
|
117
117
|
filterPrefixIcon?: TIcon | undefined;
|
|
118
|
-
filterPrefixIconColor?: "" | "
|
|
118
|
+
filterPrefixIconColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
119
119
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
120
120
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
121
121
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
@@ -3,7 +3,7 @@ import { VcTreeConfig, VcTreeNodeType } from '../../types';
|
|
|
3
3
|
declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config extends VcTreeConfig<VcTreeNodeGenericType>, Model extends ExtractValueType<VcTreeNodeGenericType, Config>>(__VLS_props: {
|
|
4
4
|
id?: string | undefined;
|
|
5
5
|
scrollHeight?: string | number | undefined;
|
|
6
|
-
color?: "" | "
|
|
6
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
7
7
|
loading?: boolean | undefined;
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
name?: string | undefined;
|
|
@@ -21,7 +21,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
21
21
|
config: Config;
|
|
22
22
|
emptyText?: string | undefined;
|
|
23
23
|
tagBorderless?: boolean | undefined;
|
|
24
|
-
tagColor?: "" | "
|
|
24
|
+
tagColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
25
25
|
nodeKey?: keyof VcTreeNodeGenericType | undefined;
|
|
26
26
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
27
27
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
@@ -456,7 +456,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
456
456
|
props: {
|
|
457
457
|
id?: string | undefined;
|
|
458
458
|
scrollHeight?: string | number | undefined;
|
|
459
|
-
color?: "" | "
|
|
459
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
460
460
|
loading?: boolean | undefined;
|
|
461
461
|
disabled?: boolean | undefined;
|
|
462
462
|
name?: string | undefined;
|
|
@@ -474,7 +474,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
474
474
|
config: Config;
|
|
475
475
|
emptyText?: string | undefined;
|
|
476
476
|
tagBorderless?: boolean | undefined;
|
|
477
|
-
tagColor?: "" | "
|
|
477
|
+
tagColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
478
478
|
nodeKey?: keyof VcTreeNodeGenericType | undefined;
|
|
479
479
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
480
480
|
clearFilterOnOptionsChange?: boolean | undefined;
|
|
@@ -913,7 +913,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
913
913
|
props: {
|
|
914
914
|
id?: string | undefined;
|
|
915
915
|
scrollHeight?: string | number | undefined;
|
|
916
|
-
color?: "" | "
|
|
916
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
917
917
|
loading?: boolean | undefined;
|
|
918
918
|
disabled?: boolean | undefined;
|
|
919
919
|
name?: string | undefined;
|
|
@@ -931,7 +931,7 @@ declare const _default: <VcTreeNodeGenericType extends VcTreeNodeType, Config ex
|
|
|
931
931
|
config: Config;
|
|
932
932
|
emptyText?: string | undefined;
|
|
933
933
|
tagBorderless?: boolean | undefined;
|
|
934
|
-
tagColor?: "" | "
|
|
934
|
+
tagColor?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
935
935
|
nodeKey?: keyof VcTreeNodeGenericType | undefined;
|
|
936
936
|
useTypes?: VcTreeNodeGenericType["type"][] | undefined;
|
|
937
937
|
clearFilterOnOptionsChange?: boolean | undefined;
|