@voicenter-team/voicenter-ui-plus 3.0.3 → 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 -3
- package/library/components/VcPluginOverlays/VcPluginOverlays.vue.mjs +22 -2
- package/library/plugin.mjs +171 -168
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.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 +28 -1
- 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/types/Entry.types.d.ts +8 -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 +1 -1
- package/library/utils/mountPluginOverlays.mjs +2 -2
- package/package.json +1 -1
|
@@ -69,14 +69,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
69
69
|
small: boolean;
|
|
70
70
|
animate: boolean;
|
|
71
71
|
icon: TIcon;
|
|
72
|
-
color: "" | "
|
|
72
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
73
73
|
type: ButtonIconType;
|
|
74
74
|
disabled: boolean;
|
|
75
75
|
dataTestName: string;
|
|
76
76
|
buttonType: ButtonElementType;
|
|
77
77
|
plain: boolean;
|
|
78
78
|
hoverless: boolean;
|
|
79
|
-
filledColor: "" | "
|
|
79
|
+
filledColor: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | "light";
|
|
80
80
|
loadingIcon: TIcon;
|
|
81
81
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
82
82
|
default?(_: {}): any;
|
|
@@ -72,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
72
72
|
onChange?: ((evt: MouseEvent) => any) | undefined;
|
|
73
73
|
}>, {
|
|
74
74
|
ariaLabel: string;
|
|
75
|
-
color: "" | "
|
|
75
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
76
76
|
loading: boolean;
|
|
77
77
|
disabled: boolean;
|
|
78
78
|
modelValue: boolean;
|
|
@@ -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?: Model | undefined;
|
|
5
5
|
readonly onChange?: ((pl: Model) => any) | undefined;
|
|
6
6
|
disabled?: boolean | undefined;
|
|
@@ -30,7 +30,7 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
|
30
30
|
};
|
|
31
31
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
32
32
|
props: {
|
|
33
|
-
color?: "" | "
|
|
33
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
34
34
|
label?: Model | undefined;
|
|
35
35
|
readonly onChange?: ((pl: Model) => any) | undefined;
|
|
36
36
|
disabled?: boolean | undefined;
|
|
@@ -64,7 +64,7 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
|
64
64
|
}> & {
|
|
65
65
|
__ctx?: {
|
|
66
66
|
props: {
|
|
67
|
-
color?: "" | "
|
|
67
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
68
68
|
label?: Model | undefined;
|
|
69
69
|
readonly onChange?: ((pl: Model) => any) | undefined;
|
|
70
70
|
disabled?: boolean | undefined;
|
|
@@ -46,7 +46,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
46
|
"onUpdate:modelValue"?: ((pl: string) => any) | undefined;
|
|
47
47
|
onChange?: ((pl: string | null) => any) | undefined;
|
|
48
48
|
}>, {
|
|
49
|
-
size: "" | "
|
|
49
|
+
size: "" | "default" | "small" | "large";
|
|
50
50
|
disabled: boolean;
|
|
51
51
|
modelValue: string;
|
|
52
52
|
popperClass: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ExtractDateModelType, TShortcutItem } from '../../types/VcDatePicker.types';
|
|
2
2
|
import type { TIcon } from '../../types/icons.types';
|
|
3
3
|
declare const _default: <Type extends import("element-plus/es/components/date-picker-panel/src/types").DatePickerType>(__VLS_props: {
|
|
4
|
-
size?: "" | "
|
|
5
|
-
color?: "" | "
|
|
4
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
5
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
6
6
|
type: Type;
|
|
7
7
|
disabled?: boolean | undefined;
|
|
8
8
|
placeholder?: string | undefined;
|
|
@@ -35,8 +35,8 @@ declare const _default: <Type extends import("element-plus/es/components/date-pi
|
|
|
35
35
|
handleClose: () => any;
|
|
36
36
|
}) => void) | undefined, __VLS_setup?: Promise<{
|
|
37
37
|
props: {
|
|
38
|
-
size?: "" | "
|
|
39
|
-
color?: "" | "
|
|
38
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
39
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
40
40
|
type: Type;
|
|
41
41
|
disabled?: boolean | undefined;
|
|
42
42
|
placeholder?: string | undefined;
|
|
@@ -73,8 +73,8 @@ declare const _default: <Type extends import("element-plus/es/components/date-pi
|
|
|
73
73
|
}> & {
|
|
74
74
|
__ctx?: {
|
|
75
75
|
props: {
|
|
76
|
-
size?: "" | "
|
|
77
|
-
color?: "" | "
|
|
76
|
+
size?: "" | "default" | "small" | "large" | undefined;
|
|
77
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
78
78
|
type: Type;
|
|
79
79
|
disabled?: boolean | undefined;
|
|
80
80
|
placeholder?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractDateModelType, TShortcutItem } from '../../types';
|
|
2
2
|
declare const _default: <Type extends import("element-plus/es/components/date-picker-panel/src/types").DatePickerType>(__VLS_props: {
|
|
3
|
-
color?: "" | "
|
|
3
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
4
4
|
type: Type;
|
|
5
5
|
disabled?: boolean | undefined;
|
|
6
6
|
modelValue?: ExtractDateModelType<Type> | undefined;
|
|
@@ -45,7 +45,7 @@ declare const _default: <Type extends import("element-plus/es/components/date-pi
|
|
|
45
45
|
};
|
|
46
46
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
47
47
|
props: {
|
|
48
|
-
color?: "" | "
|
|
48
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
49
49
|
type: Type;
|
|
50
50
|
disabled?: boolean | undefined;
|
|
51
51
|
modelValue?: ExtractDateModelType<Type> | undefined;
|
|
@@ -94,7 +94,7 @@ declare const _default: <Type extends import("element-plus/es/components/date-pi
|
|
|
94
94
|
}> & {
|
|
95
95
|
__ctx?: {
|
|
96
96
|
props: {
|
|
97
|
-
color?: "" | "
|
|
97
|
+
color?: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative" | undefined;
|
|
98
98
|
type: Type;
|
|
99
99
|
disabled?: boolean | undefined;
|
|
100
100
|
modelValue?: ExtractDateModelType<Type> | undefined;
|
|
@@ -54,7 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
54
54
|
color: string;
|
|
55
55
|
}>>> & Readonly<{}>, {
|
|
56
56
|
role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
|
|
57
|
-
color: "" | "
|
|
57
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
58
58
|
disabled: boolean;
|
|
59
59
|
options: import('../../types/VcDropdown.types').VcDropdownOption[];
|
|
60
60
|
placement: import("../..").PopoverPlacementType;
|
|
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
43
|
onPresetValueChange?: ((pl: string, d?: Date | undefined) => any) | undefined;
|
|
44
44
|
onResetPreset?: (() => any) | undefined;
|
|
45
45
|
}>, {
|
|
46
|
-
color: "" | "
|
|
46
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
47
47
|
disabled: boolean;
|
|
48
48
|
modelValue: Date;
|
|
49
49
|
minDate: Date;
|
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
37
37
|
}>>> & Readonly<{
|
|
38
38
|
"onUpdate:modelValue"?: ((pl: Date | null, opt: string) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
|
-
color: "" | "
|
|
40
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
41
41
|
placeholder: string;
|
|
42
42
|
modelValue: Date | null;
|
|
43
43
|
prefixIconColor: string;
|
|
@@ -81,10 +81,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
81
81
|
"onUpdate:modelValue"?: ((pl: VcExtendedDatetimeRangePickerModelType) => any) | undefined;
|
|
82
82
|
"onUpdate:presetValue"?: ((pl: VcPresetValuesType) => any) | undefined;
|
|
83
83
|
}>, {
|
|
84
|
+
error: string;
|
|
84
85
|
required: boolean;
|
|
85
86
|
icon: import('../../types').TIcon;
|
|
86
|
-
|
|
87
|
-
color: "" | "primary" | "secondary" | "destructive" | "success" | "warning" | "active" | "primary-alternative";
|
|
87
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
88
88
|
label: string;
|
|
89
89
|
disabled: boolean;
|
|
90
90
|
placeholder: string;
|
|
@@ -122,7 +122,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
122
122
|
fileListSizeLimit: number;
|
|
123
123
|
buttonIcon: TIcon;
|
|
124
124
|
buttonText: string;
|
|
125
|
-
buttonColor: "" | "
|
|
125
|
+
buttonColor: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
126
126
|
buttonSize: ButtonSize;
|
|
127
127
|
tagIcon: TIcon;
|
|
128
128
|
fileType: ReturnFileType;
|
|
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
52
52
|
statusIcon: undefined;
|
|
53
53
|
model: undefined;
|
|
54
54
|
}>>> & Readonly<{}>, {
|
|
55
|
-
size: "" | "
|
|
55
|
+
size: "" | "default" | "small" | "large";
|
|
56
56
|
disabled: boolean;
|
|
57
57
|
maxWidth: string | number;
|
|
58
58
|
statusIcon: boolean;
|
|
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
40
40
|
}>>> & Readonly<{}>, {
|
|
41
41
|
size: "" | "xxs" | "xs" | "sm" | "base" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl";
|
|
42
42
|
icon: TIcon;
|
|
43
|
-
color: "" | "
|
|
43
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
44
44
|
type: VcHyperLinkType;
|
|
45
45
|
href: string;
|
|
46
46
|
dataTestName: string;
|
|
@@ -134,7 +134,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
134
134
|
}>, {
|
|
135
135
|
icon: TIcon;
|
|
136
136
|
buttonType: ButtonType;
|
|
137
|
-
buttonColor: "" | "
|
|
137
|
+
buttonColor: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
138
138
|
contentTitle: string;
|
|
139
139
|
previewTitle: string;
|
|
140
140
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
75
75
|
minLength: number;
|
|
76
76
|
maxLength: number;
|
|
77
77
|
id: string;
|
|
78
|
-
color: "" | "
|
|
78
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
79
79
|
type: VcInputType;
|
|
80
80
|
mask: string | MaskInputOptions;
|
|
81
81
|
disabled: boolean;
|
|
@@ -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;
|
|
@@ -1,2 +1,29 @@
|
|
|
1
|
-
|
|
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>;
|
|
2
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;
|