@voicenter-team/voicenter-ui-plus 3.0.3 → 3.0.5
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 +29 -4
- package/library/components/VcPopover/VcConfirmPopover.vue.mjs +4 -2
- package/library/plugin.mjs +177 -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 +32 -1
- package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +9 -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 +23 -0
- package/library/types/types/Overlay.types.d.ts +22 -0
- package/library/types/types/index.d.ts +1 -0
- package/library/types/utils/mountPluginOverlays.d.ts +9 -3
- package/library/utils/mountPluginOverlays.mjs +12 -10
- package/package.json +1 -1
|
@@ -6,11 +6,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
6
6
|
default: undefined;
|
|
7
7
|
};
|
|
8
8
|
size: {
|
|
9
|
-
type: import("vue").PropType<"" | "
|
|
9
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
12
|
color: {
|
|
13
|
-
type: import("vue").PropType<"" | "
|
|
13
|
+
type: import("vue").PropType<"" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative">;
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
16
|
disabled: {
|
|
@@ -88,11 +88,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
88
88
|
default: undefined;
|
|
89
89
|
};
|
|
90
90
|
size: {
|
|
91
|
-
type: import("vue").PropType<"" | "
|
|
91
|
+
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
92
92
|
default: string;
|
|
93
93
|
};
|
|
94
94
|
color: {
|
|
95
|
-
type: import("vue").PropType<"" | "
|
|
95
|
+
type: import("vue").PropType<"" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative">;
|
|
96
96
|
default: string;
|
|
97
97
|
};
|
|
98
98
|
disabled: {
|
|
@@ -165,8 +165,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
165
165
|
onSelect?: ((pl: unknown) => any) | undefined;
|
|
166
166
|
}>, {
|
|
167
167
|
id: string;
|
|
168
|
-
size: "" | "
|
|
169
|
-
color: "" | "
|
|
168
|
+
size: "" | "default" | "small" | "large";
|
|
169
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
170
170
|
disabled: boolean;
|
|
171
171
|
name: string;
|
|
172
172
|
placeholder: string;
|
|
@@ -61,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
61
61
|
}>, {
|
|
62
62
|
size: ButtonSize;
|
|
63
63
|
icon: TIcon;
|
|
64
|
-
color: "" | "
|
|
64
|
+
color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
|
|
65
65
|
type: ButtonType;
|
|
66
66
|
loading: boolean;
|
|
67
67
|
disabled: boolean;
|
|
@@ -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,33 @@
|
|
|
1
|
-
|
|
1
|
+
import type { OverlayNotificationsConfig } from '../../types/Overlay.types';
|
|
2
|
+
interface IProps {
|
|
3
|
+
notifications?: OverlayNotificationsConfig;
|
|
4
|
+
appendTo?: string | HTMLElement;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
7
|
+
notifications: string;
|
|
8
|
+
appendTo: string;
|
|
9
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
10
|
+
notifications: string;
|
|
11
|
+
appendTo: string;
|
|
12
|
+
}>>> & Readonly<{}>, {
|
|
13
|
+
appendTo: string | HTMLElement;
|
|
14
|
+
notifications: OverlayNotificationsConfig;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
16
|
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -2,12 +2,18 @@ import { TPopConfirmOptions } from '../../types';
|
|
|
2
2
|
import type { TIcon } from '../../types/icons.types';
|
|
3
3
|
interface IProps {
|
|
4
4
|
options?: TPopConfirmOptions;
|
|
5
|
+
/**
|
|
6
|
+
* Teleport target for the popover content. Defaults to `'body'`. Pass an
|
|
7
|
+
* element inside a shadow root so the popover renders within the shadow DOM.
|
|
8
|
+
*/
|
|
9
|
+
appendTo?: string | HTMLElement;
|
|
5
10
|
}
|
|
6
11
|
declare function clickOutside(evt: Event): void;
|
|
7
12
|
declare function onCancel(): void;
|
|
8
13
|
declare function onConfirm(): void;
|
|
9
14
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
10
15
|
options: () => {};
|
|
16
|
+
appendTo: string;
|
|
11
17
|
}>>, {
|
|
12
18
|
onConfirm: typeof onConfirm;
|
|
13
19
|
onCancel: typeof onCancel;
|
|
@@ -22,18 +28,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
28
|
[key: string]: any;
|
|
23
29
|
}> | undefined>;
|
|
24
30
|
buttonConfirmIcon: import("vue").ComputedRef<TIcon>;
|
|
25
|
-
buttonConfirmColor: import("vue").ComputedRef<"" | "
|
|
31
|
+
buttonConfirmColor: import("vue").ComputedRef<"" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative">;
|
|
26
32
|
confirmPopupState: import('../../types').TConfirmPopupObject;
|
|
27
33
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
34
|
close: () => void;
|
|
29
35
|
confirm: () => void;
|
|
30
36
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
31
37
|
options: () => {};
|
|
38
|
+
appendTo: string;
|
|
32
39
|
}>>> & Readonly<{
|
|
33
40
|
onConfirm?: (() => any) | undefined;
|
|
34
41
|
onClose?: (() => any) | undefined;
|
|
35
42
|
}>, {
|
|
36
43
|
options: TPopConfirmOptions;
|
|
44
|
+
appendTo: string | HTMLElement;
|
|
37
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
46
|
export default _default;
|
|
39
47
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -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;
|