energy-components 1.0.3 → 1.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/dist/components/accordion.es.js +46 -47
- package/dist/components/accordionGroup.es.js +12 -12
- package/dist/components/actionButton.es.js +2 -2
- package/dist/components/breadcrumbs.es.js +8 -8
- package/dist/components/button.es.js +16 -16
- package/dist/components/card.es.js +2 -2
- package/dist/components/checkbox.es.js +11 -11
- package/dist/components/datepicker.es.js +4 -4
- package/dist/components/divider.es.js +6 -6
- package/dist/components/dropdown.es.js +25 -25
- package/dist/components/floatingActionButton.es.js +4 -4
- package/dist/components/{icon-svg-7Vih8GMM.js → icon-svg-CEZ-L3iv.js} +4 -4
- package/dist/components/iconList.es.js +7 -7
- package/dist/components/iconSvg.es.js +1 -1
- package/dist/components/index.es.js +59 -53
- package/dist/components/indicator.es.js +21 -21
- package/dist/components/infoBox.es.js +152 -0
- package/dist/components/link.es.js +16 -16
- package/dist/components/modal.es.js +17 -17
- package/dist/components/overlay.es.js +4 -4
- package/dist/components/pagination.es.js +20 -20
- package/dist/components/persistentToast.es.js +130 -0
- package/dist/components/radio-group.vue_vue_type_script_setup_true_lang-B-kg-575.js +28 -0
- package/dist/components/radioButton.es.js +66 -45
- package/dist/components/radioGroup.es.js +1 -1
- package/dist/components/style/accordion.css +1 -1
- package/dist/components/style/accordionGroup.css +1 -1
- package/dist/components/style/actionButton.css +1 -1
- package/dist/components/style/breadcrumbs.css +1 -1
- package/dist/components/style/button.css +1 -1
- package/dist/components/style/card.css +1 -1
- package/dist/components/style/checkbox.css +1 -1
- package/dist/components/style/datepicker.css +1 -1
- package/dist/components/style/divider.css +1 -1
- package/dist/components/style/dropdown.css +1 -1
- package/dist/components/style/floatingActionButton.css +1 -1
- package/dist/components/style/icon-svg.css +1 -1
- package/dist/components/style/iconList.css +1 -1
- package/dist/components/style/indicator.css +1 -1
- package/dist/components/style/infoBox.css +1 -0
- package/dist/components/style/link.css +1 -1
- package/dist/components/style/modal.css +1 -1
- package/dist/components/style/multiselect.css +1 -1
- package/dist/components/style/overlay.css +1 -1
- package/dist/components/style/pagination.css +1 -1
- package/dist/components/style/persistentToast.css +1 -0
- package/dist/components/style/radioButton.css +1 -1
- package/dist/components/style/switch.css +1 -1
- package/dist/components/style/tabBar.css +1 -1
- package/dist/components/style/tag.css +1 -1
- package/dist/components/style/textArea.css +1 -1
- package/dist/components/style/textField.css +1 -1
- package/dist/components/style/tooltip.css +1 -1
- package/dist/components/switch.es.js +11 -11
- package/dist/components/tabBar.es.js +26 -26
- package/dist/components/tag.es.js +9 -9
- package/dist/components/textArea.es.js +14 -14
- package/dist/components/textField.es.js +14 -14
- package/dist/components/tooltip.es.js +10 -10
- package/dist/energy-components.es.js +3427 -3124
- package/dist/energy-components.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/content/accordion/accordion.vue.d.ts +0 -2
- package/dist/types/src/components/feedback/info-box/info-box.vue.d.ts +134 -0
- package/dist/types/src/components/feedback/persistent-toast/persistent-toast.vue.d.ts +161 -0
- package/dist/types/src/components/index.d.ts +2 -0
- package/dist/types/src/components/input/radio-button/radio-button.vue.d.ts +12 -12
- package/dist/types/src/components/input/radio-button/radio-group.vue.d.ts +24 -14
- package/dist/types/src/helpers/getInstance.d.ts +6 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/components/radio-group.vue_vue_type_script_setup_true_lang-D-Dl5aHN.js +0 -18
|
@@ -22,7 +22,6 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
22
22
|
id: {
|
|
23
23
|
type: StringConstructor;
|
|
24
24
|
required: true;
|
|
25
|
-
validator: (value: string) => boolean;
|
|
26
25
|
};
|
|
27
26
|
/**
|
|
28
27
|
* El título del acordeón.
|
|
@@ -71,7 +70,6 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
71
70
|
id: {
|
|
72
71
|
type: StringConstructor;
|
|
73
72
|
required: true;
|
|
74
|
-
validator: (value: string) => boolean;
|
|
75
73
|
};
|
|
76
74
|
/**
|
|
77
75
|
* El título del acordeón.
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* Tipo del mensaje.
|
|
4
|
+
*
|
|
5
|
+
* Define el tipo de mensaje que se mostrará. Puede ser uno de los siguientes valores:
|
|
6
|
+
* - `warning`: Indica un mensaje de advertencia.
|
|
7
|
+
* - `success`: Indica un mensaje de éxito.
|
|
8
|
+
* - `error`: Indica un mensaje de error.
|
|
9
|
+
* - `info`: Indica un mensaje informativo.
|
|
10
|
+
*
|
|
11
|
+
* @type {string}
|
|
12
|
+
* @required
|
|
13
|
+
*/
|
|
14
|
+
type: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
validator: (value: unknown) => boolean;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* El contenido del mensaje.
|
|
21
|
+
*
|
|
22
|
+
* El texto principal que se mostrará en el mensaje.
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @required
|
|
26
|
+
*/
|
|
27
|
+
message: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: false;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* El título del mensaje.
|
|
33
|
+
*
|
|
34
|
+
* Un título opcional que se mostrará en la parte superior del mensaje.
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @optional
|
|
38
|
+
*/
|
|
39
|
+
title: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* El icono asociado con el mensaje.
|
|
45
|
+
*
|
|
46
|
+
* Un icono opcional que se mostrará junto al mensaje. Puede ser el nombre de un icono de una biblioteca de iconos.
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @optional
|
|
50
|
+
*/
|
|
51
|
+
icon: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
required: false;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Indica si el mensaje es colapsable.
|
|
57
|
+
*
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @optional
|
|
60
|
+
*/
|
|
61
|
+
collapsable: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
required: false;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
67
|
+
/**
|
|
68
|
+
* Tipo del mensaje.
|
|
69
|
+
*
|
|
70
|
+
* Define el tipo de mensaje que se mostrará. Puede ser uno de los siguientes valores:
|
|
71
|
+
* - `warning`: Indica un mensaje de advertencia.
|
|
72
|
+
* - `success`: Indica un mensaje de éxito.
|
|
73
|
+
* - `error`: Indica un mensaje de error.
|
|
74
|
+
* - `info`: Indica un mensaje informativo.
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @required
|
|
78
|
+
*/
|
|
79
|
+
type: {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
required: true;
|
|
82
|
+
validator: (value: unknown) => boolean;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* El contenido del mensaje.
|
|
86
|
+
*
|
|
87
|
+
* El texto principal que se mostrará en el mensaje.
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @required
|
|
91
|
+
*/
|
|
92
|
+
message: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
required: false;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* El título del mensaje.
|
|
98
|
+
*
|
|
99
|
+
* Un título opcional que se mostrará en la parte superior del mensaje.
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @optional
|
|
103
|
+
*/
|
|
104
|
+
title: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
required: false;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* El icono asociado con el mensaje.
|
|
110
|
+
*
|
|
111
|
+
* Un icono opcional que se mostrará junto al mensaje. Puede ser el nombre de un icono de una biblioteca de iconos.
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @optional
|
|
115
|
+
*/
|
|
116
|
+
icon: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
required: false;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Indica si el mensaje es colapsable.
|
|
122
|
+
*
|
|
123
|
+
* @type {boolean}
|
|
124
|
+
* @optional
|
|
125
|
+
*/
|
|
126
|
+
collapsable: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
required: false;
|
|
129
|
+
default: boolean;
|
|
130
|
+
};
|
|
131
|
+
}>>, {
|
|
132
|
+
collapsable: boolean;
|
|
133
|
+
}, {}>;
|
|
134
|
+
export default _default;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
declare var __VLS_inheritedAttrs: {};
|
|
2
|
+
declare const __VLS_refs: {};
|
|
3
|
+
declare const __VLS_templateResult: {
|
|
4
|
+
slots: {
|
|
5
|
+
"action-section"?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: __VLS_PickRefsExpose<typeof __VLS_refs>;
|
|
8
|
+
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
12
|
+
/**
|
|
13
|
+
* Tipo del mensaje.
|
|
14
|
+
*
|
|
15
|
+
* Define el tipo de mensaje que se mostrará. Puede ser uno de los siguientes valores:
|
|
16
|
+
* - `warning`: Indica un mensaje de advertencia.
|
|
17
|
+
* - `success`: Indica un mensaje de éxito.
|
|
18
|
+
* - `error`: Indica un mensaje de error.
|
|
19
|
+
* - `info`: Indica un mensaje informativo.
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @required
|
|
23
|
+
*/
|
|
24
|
+
type: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
required: true;
|
|
27
|
+
validator: (value: unknown) => boolean;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* El contenido del mensaje.
|
|
31
|
+
*
|
|
32
|
+
* El texto principal que se mostrará en el mensaje.
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @required
|
|
36
|
+
*/
|
|
37
|
+
message: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* El título del mensaje.
|
|
43
|
+
*
|
|
44
|
+
* Un título opcional que se mostrará en la parte superior del mensaje.
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @optional
|
|
48
|
+
*/
|
|
49
|
+
title: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* El icono asociado con el mensaje.
|
|
55
|
+
*
|
|
56
|
+
* Un icono opcional que se mostrará junto al mensaje. Puede ser el nombre de un icono de una biblioteca de iconos.
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @optional
|
|
60
|
+
*/
|
|
61
|
+
icon: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
required: false;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Indica si se debe mostrar el botón de cierre.
|
|
67
|
+
*
|
|
68
|
+
* Si es `true`, se mostrará un botón para cerrar el mensaje.
|
|
69
|
+
*
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @optional
|
|
72
|
+
*/
|
|
73
|
+
close: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
required: false;
|
|
76
|
+
};
|
|
77
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
78
|
+
onCloseToastAction: () => void;
|
|
79
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
+
/**
|
|
81
|
+
* Tipo del mensaje.
|
|
82
|
+
*
|
|
83
|
+
* Define el tipo de mensaje que se mostrará. Puede ser uno de los siguientes valores:
|
|
84
|
+
* - `warning`: Indica un mensaje de advertencia.
|
|
85
|
+
* - `success`: Indica un mensaje de éxito.
|
|
86
|
+
* - `error`: Indica un mensaje de error.
|
|
87
|
+
* - `info`: Indica un mensaje informativo.
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @required
|
|
91
|
+
*/
|
|
92
|
+
type: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
required: true;
|
|
95
|
+
validator: (value: unknown) => boolean;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* El contenido del mensaje.
|
|
99
|
+
*
|
|
100
|
+
* El texto principal que se mostrará en el mensaje.
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @required
|
|
104
|
+
*/
|
|
105
|
+
message: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* El título del mensaje.
|
|
111
|
+
*
|
|
112
|
+
* Un título opcional que se mostrará en la parte superior del mensaje.
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @optional
|
|
116
|
+
*/
|
|
117
|
+
title: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
required: false;
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* El icono asociado con el mensaje.
|
|
123
|
+
*
|
|
124
|
+
* Un icono opcional que se mostrará junto al mensaje. Puede ser el nombre de un icono de una biblioteca de iconos.
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @optional
|
|
128
|
+
*/
|
|
129
|
+
icon: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
required: false;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Indica si se debe mostrar el botón de cierre.
|
|
135
|
+
*
|
|
136
|
+
* Si es `true`, se mostrará un botón para cerrar el mensaje.
|
|
137
|
+
*
|
|
138
|
+
* @type {boolean}
|
|
139
|
+
* @optional
|
|
140
|
+
*/
|
|
141
|
+
close: {
|
|
142
|
+
type: BooleanConstructor;
|
|
143
|
+
required: false;
|
|
144
|
+
};
|
|
145
|
+
}>> & {
|
|
146
|
+
onOnCloseToastAction?: (() => any) | undefined;
|
|
147
|
+
}, {
|
|
148
|
+
close: boolean;
|
|
149
|
+
}, {}>;
|
|
150
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
151
|
+
export default _default;
|
|
152
|
+
type __VLS_PickRefsExpose<T> = T extends object ? {
|
|
153
|
+
[K in keyof T]: (T[K] extends any[] ? Parameters<T[K][0]['expose']>[0][] : T[K] extends {
|
|
154
|
+
expose?: (exposed: infer E) => void;
|
|
155
|
+
} ? E : T[K]) | null;
|
|
156
|
+
} : never;
|
|
157
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
158
|
+
new (): {
|
|
159
|
+
$slots: S;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
@@ -20,6 +20,8 @@ export { default as RDSBreadcrumbs } from './navigation/breadcrumbs/breadcrumbs.
|
|
|
20
20
|
export { default as RDSTabBar } from './navigation/tab-bar/tab-bar.vue';
|
|
21
21
|
export { default as RDSPagination } from './navigation/pagination/pagination.vue';
|
|
22
22
|
export { default as RDSIndicator } from './feedback/indicator/indicator.vue';
|
|
23
|
+
export { default as RDSPersistentToast } from './feedback/persistent-toast/persistent-toast.vue';
|
|
24
|
+
export { default as RDSInfoBox } from './feedback/info-box/info-box.vue';
|
|
23
25
|
export { default as RDSModal } from './overlay/modal/modal.vue';
|
|
24
26
|
export { default as RDSOverlay } from './overlay/overlay/overlay.vue';
|
|
25
27
|
export { default as RDSTooltip } from './overlay/tooltip/tooltip.vue';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
/**
|
|
3
|
-
* <span>
|
|
3
|
+
* <span>Id del radio button</span>
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
id: {
|
|
6
6
|
type: StringConstructor;
|
|
7
|
-
required:
|
|
7
|
+
required: false;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
* <span>
|
|
10
|
+
* <span>Opción del radio button</span>
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
type: StringConstructor;
|
|
12
|
+
option: {
|
|
13
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
@@ -44,17 +44,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
};
|
|
45
45
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
46
|
/**
|
|
47
|
-
* <span>
|
|
47
|
+
* <span>Id del radio button</span>
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
id: {
|
|
50
50
|
type: StringConstructor;
|
|
51
|
-
required:
|
|
51
|
+
required: false;
|
|
52
52
|
};
|
|
53
53
|
/**
|
|
54
|
-
* <span>
|
|
54
|
+
* <span>Opción del radio button</span>
|
|
55
55
|
*/
|
|
56
|
-
|
|
57
|
-
type: StringConstructor;
|
|
56
|
+
option: {
|
|
57
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
58
58
|
required: true;
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
type __VLS_PublicProps = {
|
|
2
|
-
modelValue?: string | number | null;
|
|
3
|
-
};
|
|
4
1
|
declare var __VLS_0: {};
|
|
5
2
|
declare var __VLS_inheritedAttrs: {};
|
|
6
3
|
declare const __VLS_refs: {};
|
|
@@ -12,9 +9,31 @@ declare const __VLS_templateResult: {
|
|
|
12
9
|
attrs: Partial<typeof __VLS_inheritedAttrs>;
|
|
13
10
|
};
|
|
14
11
|
type __VLS_Slots = typeof __VLS_templateResult['slots'];
|
|
15
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
13
|
+
/**
|
|
14
|
+
* <span>Nombre del grupo de radio. Es importante usar un group-name único para cada grupo de radio.</span>
|
|
15
|
+
*/
|
|
16
|
+
groupName: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: import("vue").PropType<string | number | null>;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
24
|
"update:modelValue": (modelValue: string | number | null) => void;
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
/**
|
|
27
|
+
* <span>Nombre del grupo de radio. Es importante usar un group-name único para cada grupo de radio.</span>
|
|
28
|
+
*/
|
|
29
|
+
groupName: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
modelValue: {
|
|
34
|
+
type: import("vue").PropType<string | number | null>;
|
|
35
|
+
};
|
|
36
|
+
}>> & {
|
|
18
37
|
"onUpdate:modelValue"?: ((modelValue: string | number | null) => any) | undefined;
|
|
19
38
|
}, {}, {}>;
|
|
20
39
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -24,15 +43,6 @@ type __VLS_PickRefsExpose<T> = T extends object ? {
|
|
|
24
43
|
expose?: (exposed: infer E) => void;
|
|
25
44
|
} ? E : T[K]) | null;
|
|
26
45
|
} : never;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
46
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
47
|
new (): {
|
|
38
48
|
$slots: S;
|