energy-components 1.6.0 → 1.8.0
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 +13 -13
- package/dist/components/accordionGroup.es.js +2 -2
- package/dist/components/actionButton.es.js +2 -2
- package/dist/components/breadcrumbs.es.js +3 -3
- package/dist/components/button.es.js +17 -17
- package/dist/components/card.es.js +5 -5
- package/dist/components/checkbox.es.js +5 -5
- package/dist/components/datepicker.es.js +588 -590
- package/dist/components/divider.es.js +2 -2
- package/dist/components/dragAndDrop.es.js +187 -0
- package/dist/components/dropdown.es.js +92 -92
- package/dist/components/filterChip.es.js +2 -2
- package/dist/components/floatingActionButton.es.js +2 -2
- package/dist/components/{icon-svg-DGp2yHJn.js → icon-svg-_WCkLP8-.js} +36 -71
- package/dist/components/iconList.es.js +4 -4
- package/dist/components/iconSvg.es.js +1 -1
- package/dist/components/index.es.js +81 -75
- package/dist/components/indicator.es.js +6 -6
- package/dist/components/infoBox.es.js +16 -16
- package/dist/components/link.es.js +2 -2
- package/dist/components/modal.es.js +26 -26
- package/dist/components/multiselect.es.js +5 -5
- package/dist/components/multiselectcontentwrapper.es.js +6 -6
- package/dist/components/overlay.es.js +3 -3
- package/dist/components/pagination.es.js +32 -21
- package/dist/components/persistentToast.es.js +12 -12
- package/dist/components/progressBar.es.js +86 -0
- package/dist/components/quantitySelector.es.js +9 -9
- package/dist/components/{radio-group.vue_vue_type_script_setup_true_lang-B-kg-575.js → radio-group.vue_vue_type_script_setup_true_lang-DpguLlRK.js} +2 -2
- package/dist/components/radioButton.es.js +4 -4
- package/dist/components/radioGroup.es.js +1 -1
- package/dist/components/selectionChip.es.js +3 -3
- package/dist/components/sidebar.es.js +13 -13
- package/dist/components/sidedrawer.es.js +41 -29
- package/dist/components/style/actionButton.css +1 -1
- package/dist/components/style/button.css +1 -1
- package/dist/components/style/dragAndDrop.css +1 -0
- package/dist/components/style/dropdown.css +1 -1
- package/dist/components/style/icon-svg.css +1 -1
- package/dist/components/style/pagination.css +1 -1
- package/dist/components/style/progressBar.css +1 -0
- package/dist/components/style/sidedrawer.css +1 -1
- package/dist/components/style/switch.css +1 -1
- package/dist/components/style/tabBar.css +1 -1
- package/dist/components/style/tablepaginatedcomponent.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 +45 -38
- package/dist/components/tabBar.es.js +72 -55
- package/dist/components/tablepaginatedcomponent.es.js +42 -40
- package/dist/components/tableslotedcomponent.es.js +26 -26
- package/dist/components/tag.es.js +2 -2
- package/dist/components/textArea.es.js +2 -2
- package/dist/components/textField.es.js +30 -30
- package/dist/components/toggle.es.js +2 -2
- package/dist/components/tooltip.es.js +337 -325
- package/dist/energy-components.es.js +5062 -4776
- package/dist/energy-components.umd.js +2 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/buttons/action-button/action-button.vue.d.ts +1 -1
- package/dist/types/src/components/buttons/button/button.vue.d.ts +8 -13
- package/dist/types/src/components/buttons/floating-action-button/floating-action-button.vue.d.ts +1 -1
- package/dist/types/src/components/content/accordion/accordion.vue.d.ts +6 -17
- package/dist/types/src/components/content/acordion-group/accordion-group.vue.d.ts +6 -11
- package/dist/types/src/components/content/card/card.vue.d.ts +6 -11
- package/dist/types/src/components/content/divider/divider.vue.d.ts +1 -1
- package/dist/types/src/components/content/table/table-paginated/TablePaginatedComponent.vue.d.ts +88 -0
- package/dist/types/src/components/content/table/table-sloted/TableSlotedComponent.vue.d.ts +32 -31
- package/dist/types/src/components/content/tag/tag.vue.d.ts +1 -1
- package/dist/types/src/components/feedback/indicator/indicator.vue.d.ts +1 -4
- package/dist/types/src/components/feedback/info-box/info-box.vue.d.ts +8 -18
- package/dist/types/src/components/feedback/persistent-toast/persistent-toast.vue.d.ts +8 -12
- package/dist/types/src/components/feedback/progress-bar/progress-bar.vue.d.ts +101 -0
- package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +20 -1
- package/dist/types/src/components/index.d.ts +2 -0
- package/dist/types/src/components/input/checkbox/checkbox.vue.d.ts +6 -11
- package/dist/types/src/components/input/datepicker/datepicker.vue.d.ts +258 -0
- package/dist/types/src/components/input/drag-and-drop/drag-and-drop.vue.d.ts +203 -0
- package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +30 -550
- package/dist/types/src/components/input/filter-chip/filter-chip.vue.d.ts +3 -5
- package/dist/types/src/components/input/quantity-selector/quantity-selector.vue.d.ts +2 -5
- package/dist/types/src/components/input/radio-button/radio-button.vue.d.ts +1 -1
- package/dist/types/src/components/input/radio-button/radio-group.vue.d.ts +6 -11
- package/dist/types/src/components/input/selection-chip/selection-chip.vue.d.ts +3 -5
- package/dist/types/src/components/input/switch/switch.vue.d.ts +24 -21
- package/dist/types/src/components/input/text-area/text-area.vue.d.ts +12 -15
- package/dist/types/src/components/input/text-field/text-field.vue.d.ts +12 -19
- package/dist/types/src/components/input/toggle/toggle.vue.d.ts +1 -1
- package/dist/types/src/components/layout/sidebar/sidebar.vue.d.ts +10 -17
- package/dist/types/src/components/layout/sidedrawer/sidedrawer.vue.d.ts +23 -16
- package/dist/types/src/components/navigation/link/link.vue.d.ts +7 -11
- package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +18 -1
- package/dist/types/src/components/navigation/tab-bar/tab-bar.vue.d.ts +24 -18
- package/dist/types/src/components/overlay/modal/modal.vue.d.ts +10 -141
- package/dist/types/src/components/overlay/overlay/overlay.vue.d.ts +5 -10
- package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +8 -19
- package/dist/types/src/helpers/mobileMockup.vue.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import { nextTick } from 'vue';
|
|
3
2
|
export interface DropdownOption {
|
|
4
3
|
id: string | number;
|
|
5
4
|
label: string;
|
|
@@ -20,292 +19,34 @@ export interface AutoCompleteProps {
|
|
|
20
19
|
helperText?: string;
|
|
21
20
|
autocompleteFilter: (option: DropdownOption | string, search: string) => boolean;
|
|
22
21
|
}
|
|
23
|
-
declare
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
error: boolean;
|
|
51
|
-
icon: string;
|
|
52
|
-
disabled: boolean;
|
|
53
|
-
password: boolean;
|
|
54
|
-
readonly: boolean;
|
|
55
|
-
maxLength: number;
|
|
56
|
-
minLength: number;
|
|
57
|
-
rightIcon: string;
|
|
58
|
-
helper: boolean;
|
|
59
|
-
helperText: string;
|
|
60
|
-
clearable: boolean;
|
|
61
|
-
autocomplete: string;
|
|
62
|
-
}> & Omit<{
|
|
63
|
-
readonly error: boolean;
|
|
64
|
-
readonly label: string;
|
|
65
|
-
readonly icon: string;
|
|
66
|
-
readonly disabled: boolean;
|
|
67
|
-
readonly password: boolean;
|
|
68
|
-
readonly modelValue: string;
|
|
69
|
-
readonly readonly: boolean;
|
|
70
|
-
readonly maxLength: number;
|
|
71
|
-
readonly minLength: number;
|
|
72
|
-
readonly rightIcon: string;
|
|
73
|
-
readonly helper: boolean;
|
|
74
|
-
readonly helperText: string;
|
|
75
|
-
readonly clearable: boolean;
|
|
76
|
-
readonly autocomplete: string;
|
|
77
|
-
readonly id?: string | undefined;
|
|
78
|
-
readonly onChange?: ((event: Event) => any) | undefined;
|
|
79
|
-
readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
80
|
-
readonly onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
81
|
-
readonly onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
82
|
-
readonly "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
83
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "error" | "icon" | "disabled" | "password" | "readonly" | "maxLength" | "minLength" | "rightIcon" | "helper" | "helperText" | "clearable" | "autocomplete">;
|
|
84
|
-
$attrs: {
|
|
85
|
-
[x: string]: unknown;
|
|
86
|
-
};
|
|
87
|
-
$refs: {
|
|
88
|
-
[x: string]: unknown;
|
|
89
|
-
} & {
|
|
90
|
-
input: HTMLInputElement;
|
|
91
|
-
};
|
|
92
|
-
$slots: Readonly<{
|
|
93
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
94
|
-
}>;
|
|
95
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
96
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
97
|
-
$host: Element | null;
|
|
98
|
-
$emit: ((event: "change", event: Event) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "keypress", event: KeyboardEvent) => void) & ((event: "keyup", event: KeyboardEvent) => void) & ((event: "update:modelValue", modelValue: string) => void);
|
|
99
|
-
$el: HTMLDivElement;
|
|
100
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
101
|
-
label: {
|
|
102
|
-
type: StringConstructor;
|
|
103
|
-
required: true;
|
|
104
|
-
};
|
|
105
|
-
id: {
|
|
106
|
-
type: StringConstructor;
|
|
107
|
-
required: false;
|
|
108
|
-
};
|
|
109
|
-
modelValue: {
|
|
110
|
-
type: StringConstructor;
|
|
111
|
-
required: true;
|
|
112
|
-
};
|
|
113
|
-
disabled: {
|
|
114
|
-
type: BooleanConstructor;
|
|
115
|
-
default: boolean;
|
|
116
|
-
};
|
|
117
|
-
readonly: {
|
|
118
|
-
type: BooleanConstructor;
|
|
119
|
-
default: boolean;
|
|
120
|
-
};
|
|
121
|
-
maxLength: {
|
|
122
|
-
type: NumberConstructor;
|
|
123
|
-
default: number;
|
|
124
|
-
validator: (value: number) => boolean;
|
|
125
|
-
};
|
|
126
|
-
minLength: {
|
|
127
|
-
type: NumberConstructor;
|
|
128
|
-
default: number;
|
|
129
|
-
validator: (value: number) => boolean;
|
|
130
|
-
};
|
|
131
|
-
icon: {
|
|
132
|
-
type: StringConstructor;
|
|
133
|
-
default: string;
|
|
134
|
-
};
|
|
135
|
-
rightIcon: {
|
|
136
|
-
type: StringConstructor;
|
|
137
|
-
default: string;
|
|
138
|
-
};
|
|
139
|
-
helper: {
|
|
140
|
-
type: BooleanConstructor;
|
|
141
|
-
default: boolean;
|
|
142
|
-
};
|
|
143
|
-
error: {
|
|
144
|
-
type: BooleanConstructor;
|
|
145
|
-
default: boolean;
|
|
146
|
-
};
|
|
147
|
-
helperText: {
|
|
148
|
-
type: StringConstructor;
|
|
149
|
-
default: string;
|
|
150
|
-
};
|
|
151
|
-
clearable: {
|
|
152
|
-
type: BooleanConstructor;
|
|
153
|
-
default: boolean;
|
|
154
|
-
};
|
|
155
|
-
password: {
|
|
156
|
-
type: BooleanConstructor;
|
|
157
|
-
default: boolean;
|
|
158
|
-
};
|
|
159
|
-
autocomplete: {
|
|
160
|
-
type: StringConstructor;
|
|
161
|
-
default: string;
|
|
162
|
-
validator: (value: string, props: any) => boolean;
|
|
163
|
-
};
|
|
164
|
-
}>> & Readonly<{
|
|
165
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
166
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
167
|
-
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
168
|
-
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
169
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
170
|
-
}>, {
|
|
171
|
-
focus: () => void;
|
|
172
|
-
blur: () => void;
|
|
173
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
174
|
-
change: (event: Event) => any;
|
|
175
|
-
keydown: (event: KeyboardEvent) => any;
|
|
176
|
-
keypress: (event: KeyboardEvent) => any;
|
|
177
|
-
keyup: (event: KeyboardEvent) => any;
|
|
178
|
-
"update:modelValue": (modelValue: string) => any;
|
|
179
|
-
}, string, {
|
|
180
|
-
error: boolean;
|
|
181
|
-
icon: string;
|
|
182
|
-
disabled: boolean;
|
|
183
|
-
password: boolean;
|
|
184
|
-
readonly: boolean;
|
|
185
|
-
maxLength: number;
|
|
186
|
-
minLength: number;
|
|
187
|
-
rightIcon: string;
|
|
188
|
-
helper: boolean;
|
|
189
|
-
helperText: string;
|
|
190
|
-
clearable: boolean;
|
|
191
|
-
autocomplete: string;
|
|
192
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
193
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
194
|
-
created?: (() => void) | (() => void)[];
|
|
195
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
196
|
-
mounted?: (() => void) | (() => void)[];
|
|
197
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
198
|
-
updated?: (() => void) | (() => void)[];
|
|
199
|
-
activated?: (() => void) | (() => void)[];
|
|
200
|
-
deactivated?: (() => void) | (() => void)[];
|
|
201
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
202
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
203
|
-
destroyed?: (() => void) | (() => void)[];
|
|
204
|
-
unmounted?: (() => void) | (() => void)[];
|
|
205
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
206
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
207
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
208
|
-
};
|
|
209
|
-
$forceUpdate: () => void;
|
|
210
|
-
$nextTick: typeof nextTick;
|
|
211
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
212
|
-
} & Readonly<{
|
|
213
|
-
error: boolean;
|
|
214
|
-
icon: string;
|
|
215
|
-
disabled: boolean;
|
|
216
|
-
password: boolean;
|
|
217
|
-
readonly: boolean;
|
|
218
|
-
maxLength: number;
|
|
219
|
-
minLength: number;
|
|
220
|
-
rightIcon: string;
|
|
221
|
-
helper: boolean;
|
|
222
|
-
helperText: string;
|
|
223
|
-
clearable: boolean;
|
|
224
|
-
autocomplete: string;
|
|
225
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
226
|
-
label: {
|
|
227
|
-
type: StringConstructor;
|
|
228
|
-
required: true;
|
|
229
|
-
};
|
|
230
|
-
id: {
|
|
231
|
-
type: StringConstructor;
|
|
232
|
-
required: false;
|
|
233
|
-
};
|
|
234
|
-
modelValue: {
|
|
235
|
-
type: StringConstructor;
|
|
236
|
-
required: true;
|
|
237
|
-
};
|
|
238
|
-
disabled: {
|
|
239
|
-
type: BooleanConstructor;
|
|
240
|
-
default: boolean;
|
|
241
|
-
};
|
|
242
|
-
readonly: {
|
|
243
|
-
type: BooleanConstructor;
|
|
244
|
-
default: boolean;
|
|
245
|
-
};
|
|
246
|
-
maxLength: {
|
|
247
|
-
type: NumberConstructor;
|
|
248
|
-
default: number;
|
|
249
|
-
validator: (value: number) => boolean;
|
|
250
|
-
};
|
|
251
|
-
minLength: {
|
|
252
|
-
type: NumberConstructor;
|
|
253
|
-
default: number;
|
|
254
|
-
validator: (value: number) => boolean;
|
|
255
|
-
};
|
|
256
|
-
icon: {
|
|
257
|
-
type: StringConstructor;
|
|
258
|
-
default: string;
|
|
259
|
-
};
|
|
260
|
-
rightIcon: {
|
|
261
|
-
type: StringConstructor;
|
|
262
|
-
default: string;
|
|
263
|
-
};
|
|
264
|
-
helper: {
|
|
265
|
-
type: BooleanConstructor;
|
|
266
|
-
default: boolean;
|
|
267
|
-
};
|
|
268
|
-
error: {
|
|
269
|
-
type: BooleanConstructor;
|
|
270
|
-
default: boolean;
|
|
271
|
-
};
|
|
272
|
-
helperText: {
|
|
273
|
-
type: StringConstructor;
|
|
274
|
-
default: string;
|
|
275
|
-
};
|
|
276
|
-
clearable: {
|
|
277
|
-
type: BooleanConstructor;
|
|
278
|
-
default: boolean;
|
|
279
|
-
};
|
|
280
|
-
password: {
|
|
281
|
-
type: BooleanConstructor;
|
|
282
|
-
default: boolean;
|
|
283
|
-
};
|
|
284
|
-
autocomplete: {
|
|
285
|
-
type: StringConstructor;
|
|
286
|
-
default: string;
|
|
287
|
-
validator: (value: string, props: any) => boolean;
|
|
288
|
-
};
|
|
289
|
-
}>> & Readonly<{
|
|
290
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
291
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
292
|
-
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
293
|
-
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
294
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
295
|
-
}>, "blur" | "focus" | ("error" | "icon" | "disabled" | "password" | "readonly" | "maxLength" | "minLength" | "rightIcon" | "helper" | "helperText" | "clearable" | "autocomplete")> & import("vue").ShallowUnwrapRef<{
|
|
296
|
-
focus: () => void;
|
|
297
|
-
blur: () => void;
|
|
298
|
-
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
299
|
-
$slots: {
|
|
300
|
-
'left-icon'?(_: {}): any;
|
|
301
|
-
'right-icon'?(_: {}): any;
|
|
302
|
-
'helper-text'?(_: {}): any;
|
|
303
|
-
};
|
|
304
|
-
}) | null;
|
|
305
|
-
};
|
|
306
|
-
rootEl: HTMLDivElement;
|
|
22
|
+
declare var __VLS_32: {}, __VLS_54: {
|
|
23
|
+
option: any;
|
|
24
|
+
}, __VLS_56: {
|
|
25
|
+
option: any;
|
|
26
|
+
search: any;
|
|
27
|
+
index: any;
|
|
28
|
+
}, __VLS_58: {}, __VLS_60: {}, __VLS_62: {
|
|
29
|
+
search: any;
|
|
30
|
+
}, __VLS_64: {}, __VLS_77: {}, __VLS_79: {};
|
|
31
|
+
type __VLS_Slots = {} & {
|
|
32
|
+
'helper-text'?: (props: typeof __VLS_32) => any;
|
|
33
|
+
} & {
|
|
34
|
+
singleLabel?: (props: typeof __VLS_54) => any;
|
|
35
|
+
} & {
|
|
36
|
+
optionAppend?: (props: typeof __VLS_56) => any;
|
|
37
|
+
} & {
|
|
38
|
+
limit?: (props: typeof __VLS_58) => any;
|
|
39
|
+
} & {
|
|
40
|
+
maxElements?: (props: typeof __VLS_60) => any;
|
|
41
|
+
} & {
|
|
42
|
+
noResult?: (props: typeof __VLS_62) => any;
|
|
43
|
+
} & {
|
|
44
|
+
noOptions?: (props: typeof __VLS_64) => any;
|
|
45
|
+
} & {
|
|
46
|
+
beforeList?: (props: typeof __VLS_77) => any;
|
|
47
|
+
} & {
|
|
48
|
+
afterList?: (props: typeof __VLS_79) => any;
|
|
307
49
|
};
|
|
308
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
309
50
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
310
51
|
/**
|
|
311
52
|
* Id del dropdown
|
|
@@ -601,271 +342,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
601
342
|
maxHeight: number;
|
|
602
343
|
limitText: Function;
|
|
603
344
|
appendToBody: boolean;
|
|
604
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
605
|
-
|
|
606
|
-
textFieldInput: ({
|
|
607
|
-
$: import("vue").ComponentInternalInstance;
|
|
608
|
-
$data: {};
|
|
609
|
-
$props: Partial<{
|
|
610
|
-
error: boolean;
|
|
611
|
-
icon: string;
|
|
612
|
-
disabled: boolean;
|
|
613
|
-
password: boolean;
|
|
614
|
-
readonly: boolean;
|
|
615
|
-
maxLength: number;
|
|
616
|
-
minLength: number;
|
|
617
|
-
rightIcon: string;
|
|
618
|
-
helper: boolean;
|
|
619
|
-
helperText: string;
|
|
620
|
-
clearable: boolean;
|
|
621
|
-
autocomplete: string;
|
|
622
|
-
}> & Omit<{
|
|
623
|
-
readonly error: boolean;
|
|
624
|
-
readonly label: string;
|
|
625
|
-
readonly icon: string;
|
|
626
|
-
readonly disabled: boolean;
|
|
627
|
-
readonly password: boolean;
|
|
628
|
-
readonly modelValue: string;
|
|
629
|
-
readonly readonly: boolean;
|
|
630
|
-
readonly maxLength: number;
|
|
631
|
-
readonly minLength: number;
|
|
632
|
-
readonly rightIcon: string;
|
|
633
|
-
readonly helper: boolean;
|
|
634
|
-
readonly helperText: string;
|
|
635
|
-
readonly clearable: boolean;
|
|
636
|
-
readonly autocomplete: string;
|
|
637
|
-
readonly id?: string | undefined;
|
|
638
|
-
readonly onChange?: ((event: Event) => any) | undefined;
|
|
639
|
-
readonly onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
640
|
-
readonly onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
641
|
-
readonly onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
642
|
-
readonly "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
643
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "error" | "icon" | "disabled" | "password" | "readonly" | "maxLength" | "minLength" | "rightIcon" | "helper" | "helperText" | "clearable" | "autocomplete">;
|
|
644
|
-
$attrs: {
|
|
645
|
-
[x: string]: unknown;
|
|
646
|
-
};
|
|
647
|
-
$refs: {
|
|
648
|
-
[x: string]: unknown;
|
|
649
|
-
} & {
|
|
650
|
-
input: HTMLInputElement;
|
|
651
|
-
};
|
|
652
|
-
$slots: Readonly<{
|
|
653
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
654
|
-
}>;
|
|
655
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
656
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
657
|
-
$host: Element | null;
|
|
658
|
-
$emit: ((event: "change", event: Event) => void) & ((event: "keydown", event: KeyboardEvent) => void) & ((event: "keypress", event: KeyboardEvent) => void) & ((event: "keyup", event: KeyboardEvent) => void) & ((event: "update:modelValue", modelValue: string) => void);
|
|
659
|
-
$el: HTMLDivElement;
|
|
660
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
661
|
-
label: {
|
|
662
|
-
type: StringConstructor;
|
|
663
|
-
required: true;
|
|
664
|
-
};
|
|
665
|
-
id: {
|
|
666
|
-
type: StringConstructor;
|
|
667
|
-
required: false;
|
|
668
|
-
};
|
|
669
|
-
modelValue: {
|
|
670
|
-
type: StringConstructor;
|
|
671
|
-
required: true;
|
|
672
|
-
};
|
|
673
|
-
disabled: {
|
|
674
|
-
type: BooleanConstructor;
|
|
675
|
-
default: boolean;
|
|
676
|
-
};
|
|
677
|
-
readonly: {
|
|
678
|
-
type: BooleanConstructor;
|
|
679
|
-
default: boolean;
|
|
680
|
-
};
|
|
681
|
-
maxLength: {
|
|
682
|
-
type: NumberConstructor;
|
|
683
|
-
default: number;
|
|
684
|
-
validator: (value: number) => boolean;
|
|
685
|
-
};
|
|
686
|
-
minLength: {
|
|
687
|
-
type: NumberConstructor;
|
|
688
|
-
default: number;
|
|
689
|
-
validator: (value: number) => boolean;
|
|
690
|
-
};
|
|
691
|
-
icon: {
|
|
692
|
-
type: StringConstructor;
|
|
693
|
-
default: string;
|
|
694
|
-
};
|
|
695
|
-
rightIcon: {
|
|
696
|
-
type: StringConstructor;
|
|
697
|
-
default: string;
|
|
698
|
-
};
|
|
699
|
-
helper: {
|
|
700
|
-
type: BooleanConstructor;
|
|
701
|
-
default: boolean;
|
|
702
|
-
};
|
|
703
|
-
error: {
|
|
704
|
-
type: BooleanConstructor;
|
|
705
|
-
default: boolean;
|
|
706
|
-
};
|
|
707
|
-
helperText: {
|
|
708
|
-
type: StringConstructor;
|
|
709
|
-
default: string;
|
|
710
|
-
};
|
|
711
|
-
clearable: {
|
|
712
|
-
type: BooleanConstructor;
|
|
713
|
-
default: boolean;
|
|
714
|
-
};
|
|
715
|
-
password: {
|
|
716
|
-
type: BooleanConstructor;
|
|
717
|
-
default: boolean;
|
|
718
|
-
};
|
|
719
|
-
autocomplete: {
|
|
720
|
-
type: StringConstructor;
|
|
721
|
-
default: string;
|
|
722
|
-
validator: (value: string, props: any) => boolean;
|
|
723
|
-
};
|
|
724
|
-
}>> & Readonly<{
|
|
725
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
726
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
727
|
-
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
728
|
-
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
729
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
730
|
-
}>, {
|
|
731
|
-
focus: () => void;
|
|
732
|
-
blur: () => void;
|
|
733
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
734
|
-
change: (event: Event) => any;
|
|
735
|
-
keydown: (event: KeyboardEvent) => any;
|
|
736
|
-
keypress: (event: KeyboardEvent) => any;
|
|
737
|
-
keyup: (event: KeyboardEvent) => any;
|
|
738
|
-
"update:modelValue": (modelValue: string) => any;
|
|
739
|
-
}, string, {
|
|
740
|
-
error: boolean;
|
|
741
|
-
icon: string;
|
|
742
|
-
disabled: boolean;
|
|
743
|
-
password: boolean;
|
|
744
|
-
readonly: boolean;
|
|
745
|
-
maxLength: number;
|
|
746
|
-
minLength: number;
|
|
747
|
-
rightIcon: string;
|
|
748
|
-
helper: boolean;
|
|
749
|
-
helperText: string;
|
|
750
|
-
clearable: boolean;
|
|
751
|
-
autocomplete: string;
|
|
752
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
753
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
754
|
-
created?: (() => void) | (() => void)[];
|
|
755
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
756
|
-
mounted?: (() => void) | (() => void)[];
|
|
757
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
758
|
-
updated?: (() => void) | (() => void)[];
|
|
759
|
-
activated?: (() => void) | (() => void)[];
|
|
760
|
-
deactivated?: (() => void) | (() => void)[];
|
|
761
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
762
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
763
|
-
destroyed?: (() => void) | (() => void)[];
|
|
764
|
-
unmounted?: (() => void) | (() => void)[];
|
|
765
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
766
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
767
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
768
|
-
};
|
|
769
|
-
$forceUpdate: () => void;
|
|
770
|
-
$nextTick: typeof nextTick;
|
|
771
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
772
|
-
} & Readonly<{
|
|
773
|
-
error: boolean;
|
|
774
|
-
icon: string;
|
|
775
|
-
disabled: boolean;
|
|
776
|
-
password: boolean;
|
|
777
|
-
readonly: boolean;
|
|
778
|
-
maxLength: number;
|
|
779
|
-
minLength: number;
|
|
780
|
-
rightIcon: string;
|
|
781
|
-
helper: boolean;
|
|
782
|
-
helperText: string;
|
|
783
|
-
clearable: boolean;
|
|
784
|
-
autocomplete: string;
|
|
785
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
786
|
-
label: {
|
|
787
|
-
type: StringConstructor;
|
|
788
|
-
required: true;
|
|
789
|
-
};
|
|
790
|
-
id: {
|
|
791
|
-
type: StringConstructor;
|
|
792
|
-
required: false;
|
|
793
|
-
};
|
|
794
|
-
modelValue: {
|
|
795
|
-
type: StringConstructor;
|
|
796
|
-
required: true;
|
|
797
|
-
};
|
|
798
|
-
disabled: {
|
|
799
|
-
type: BooleanConstructor;
|
|
800
|
-
default: boolean;
|
|
801
|
-
};
|
|
802
|
-
readonly: {
|
|
803
|
-
type: BooleanConstructor;
|
|
804
|
-
default: boolean;
|
|
805
|
-
};
|
|
806
|
-
maxLength: {
|
|
807
|
-
type: NumberConstructor;
|
|
808
|
-
default: number;
|
|
809
|
-
validator: (value: number) => boolean;
|
|
810
|
-
};
|
|
811
|
-
minLength: {
|
|
812
|
-
type: NumberConstructor;
|
|
813
|
-
default: number;
|
|
814
|
-
validator: (value: number) => boolean;
|
|
815
|
-
};
|
|
816
|
-
icon: {
|
|
817
|
-
type: StringConstructor;
|
|
818
|
-
default: string;
|
|
819
|
-
};
|
|
820
|
-
rightIcon: {
|
|
821
|
-
type: StringConstructor;
|
|
822
|
-
default: string;
|
|
823
|
-
};
|
|
824
|
-
helper: {
|
|
825
|
-
type: BooleanConstructor;
|
|
826
|
-
default: boolean;
|
|
827
|
-
};
|
|
828
|
-
error: {
|
|
829
|
-
type: BooleanConstructor;
|
|
830
|
-
default: boolean;
|
|
831
|
-
};
|
|
832
|
-
helperText: {
|
|
833
|
-
type: StringConstructor;
|
|
834
|
-
default: string;
|
|
835
|
-
};
|
|
836
|
-
clearable: {
|
|
837
|
-
type: BooleanConstructor;
|
|
838
|
-
default: boolean;
|
|
839
|
-
};
|
|
840
|
-
password: {
|
|
841
|
-
type: BooleanConstructor;
|
|
842
|
-
default: boolean;
|
|
843
|
-
};
|
|
844
|
-
autocomplete: {
|
|
845
|
-
type: StringConstructor;
|
|
846
|
-
default: string;
|
|
847
|
-
validator: (value: string, props: any) => boolean;
|
|
848
|
-
};
|
|
849
|
-
}>> & Readonly<{
|
|
850
|
-
onChange?: ((event: Event) => any) | undefined;
|
|
851
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
852
|
-
onKeypress?: ((event: KeyboardEvent) => any) | undefined;
|
|
853
|
-
onKeyup?: ((event: KeyboardEvent) => any) | undefined;
|
|
854
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
855
|
-
}>, "blur" | "focus" | ("error" | "icon" | "disabled" | "password" | "readonly" | "maxLength" | "minLength" | "rightIcon" | "helper" | "helperText" | "clearable" | "autocomplete")> & import("vue").ShallowUnwrapRef<{
|
|
856
|
-
focus: () => void;
|
|
857
|
-
blur: () => void;
|
|
858
|
-
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
859
|
-
$slots: {
|
|
860
|
-
'left-icon'?(_: {}): any;
|
|
861
|
-
'right-icon'?(_: {}): any;
|
|
862
|
-
'helper-text'?(_: {}): any;
|
|
863
|
-
};
|
|
864
|
-
}) | null;
|
|
865
|
-
}, HTMLDivElement>;
|
|
866
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
345
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
346
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
867
347
|
export default _default;
|
|
868
|
-
type
|
|
348
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
869
349
|
new (): {
|
|
870
350
|
$slots: S;
|
|
871
351
|
};
|
|
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
34
34
|
* Valor del filtro representado por el chip.
|
|
35
35
|
*/
|
|
36
36
|
filterValue: {
|
|
37
|
-
type: (StringConstructor | BooleanConstructor |
|
|
37
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
|
|
38
38
|
required: true;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
@@ -103,7 +103,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
103
103
|
* Valor del filtro representado por el chip.
|
|
104
104
|
*/
|
|
105
105
|
filterValue: {
|
|
106
|
-
type: (StringConstructor | BooleanConstructor |
|
|
106
|
+
type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
|
|
107
107
|
required: true;
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
@@ -144,7 +144,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
144
|
leftIcon: string;
|
|
145
145
|
leftNumber: string;
|
|
146
146
|
arrowIcon: boolean;
|
|
147
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
148
|
-
chipRef: HTMLButtonElement;
|
|
149
|
-
}, HTMLButtonElement>;
|
|
147
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
150
148
|
export default _default;
|
|
@@ -87,12 +87,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
87
87
|
onOnClickMinus?: (() => any) | undefined;
|
|
88
88
|
onOnDelete?: (() => any) | undefined;
|
|
89
89
|
}>, {
|
|
90
|
-
disabled: boolean;
|
|
91
90
|
size: "small" | "default";
|
|
91
|
+
disabled: boolean;
|
|
92
92
|
deleteButton: boolean;
|
|
93
93
|
fullWidth: boolean;
|
|
94
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
95
|
-
mainInput: HTMLInputElement;
|
|
96
|
-
manualInput: HTMLInputElement;
|
|
97
|
-
}, HTMLDivElement>;
|
|
94
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
98
95
|
export default _default;
|
|
@@ -91,5 +91,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
91
91
|
label: string;
|
|
92
92
|
icon: string;
|
|
93
93
|
disabled: boolean;
|
|
94
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
94
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
95
|
export default _default;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: HTMLDivElement;
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
8
4
|
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
5
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
6
|
/**
|
|
12
7
|
* <span>Nombre del grupo de radio. Es importante usar un group-name único para cada grupo de radio.</span>
|
|
@@ -33,10 +28,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
33
28
|
};
|
|
34
29
|
}>> & Readonly<{
|
|
35
30
|
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
36
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
37
|
-
declare const _default:
|
|
31
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
38
33
|
export default _default;
|
|
39
|
-
type
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
40
35
|
new (): {
|
|
41
36
|
$slots: S;
|
|
42
37
|
};
|