energy-components 1.7.0 → 1.8.1

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.
Files changed (93) hide show
  1. package/dist/components/accordion.es.js +13 -13
  2. package/dist/components/accordionGroup.es.js +2 -2
  3. package/dist/components/actionButton.es.js +2 -2
  4. package/dist/components/breadcrumbs.es.js +3 -3
  5. package/dist/components/button.es.js +2 -2
  6. package/dist/components/card.es.js +5 -5
  7. package/dist/components/checkbox.es.js +5 -5
  8. package/dist/components/datepicker.es.js +588 -590
  9. package/dist/components/divider.es.js +2 -2
  10. package/dist/components/dragAndDrop.es.js +187 -0
  11. package/dist/components/dropdown.es.js +92 -92
  12. package/dist/components/filterChip.es.js +2 -2
  13. package/dist/components/floatingActionButton.es.js +2 -2
  14. package/dist/components/{icon-svg-BmDOQ0kL.js → icon-svg-_WCkLP8-.js} +12 -63
  15. package/dist/components/iconList.es.js +4 -4
  16. package/dist/components/iconSvg.es.js +1 -1
  17. package/dist/components/index.es.js +81 -75
  18. package/dist/components/indicator.es.js +6 -6
  19. package/dist/components/infoBox.es.js +16 -16
  20. package/dist/components/link.es.js +2 -2
  21. package/dist/components/modal.es.js +26 -26
  22. package/dist/components/multiselect.es.js +5 -5
  23. package/dist/components/multiselectcontentwrapper.es.js +6 -6
  24. package/dist/components/overlay.es.js +3 -3
  25. package/dist/components/pagination.es.js +1 -1
  26. package/dist/components/persistentToast.es.js +12 -12
  27. package/dist/components/progressBar.es.js +86 -0
  28. package/dist/components/quantitySelector.es.js +9 -9
  29. 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
  30. package/dist/components/radioButton.es.js +4 -4
  31. package/dist/components/radioGroup.es.js +1 -1
  32. package/dist/components/selectionChip.es.js +3 -3
  33. package/dist/components/sidebar.es.js +13 -13
  34. package/dist/components/sidedrawer.es.js +11 -11
  35. package/dist/components/style/actionButton.css +1 -1
  36. package/dist/components/style/button.css +1 -1
  37. package/dist/components/style/dragAndDrop.css +1 -0
  38. package/dist/components/style/progressBar.css +1 -0
  39. package/dist/components/style/switch.css +1 -1
  40. package/dist/components/style/tabBar.css +1 -1
  41. package/dist/components/style/textField.css +1 -1
  42. package/dist/components/switch.es.js +45 -38
  43. package/dist/components/tabBar.es.js +84 -70
  44. package/dist/components/tablepaginatedcomponent.es.js +22 -22
  45. package/dist/components/tableslotedcomponent.es.js +26 -26
  46. package/dist/components/tag.es.js +2 -2
  47. package/dist/components/textArea.es.js +2 -2
  48. package/dist/components/textField.es.js +134 -110
  49. package/dist/components/toggle.es.js +2 -2
  50. package/dist/components/tooltip.es.js +319 -311
  51. package/dist/energy-components.es.js +4874 -4612
  52. package/dist/energy-components.umd.js +2 -1
  53. package/dist/style.css +1 -1
  54. package/dist/types/src/components/buttons/action-button/action-button.vue.d.ts +1 -1
  55. package/dist/types/src/components/buttons/button/button.vue.d.ts +6 -11
  56. package/dist/types/src/components/buttons/floating-action-button/floating-action-button.vue.d.ts +1 -1
  57. package/dist/types/src/components/content/accordion/accordion.vue.d.ts +6 -17
  58. package/dist/types/src/components/content/acordion-group/accordion-group.vue.d.ts +6 -11
  59. package/dist/types/src/components/content/card/card.vue.d.ts +6 -11
  60. package/dist/types/src/components/content/divider/divider.vue.d.ts +1 -1
  61. package/dist/types/src/components/content/table/table-paginated/TablePaginatedComponent.vue.d.ts +88 -0
  62. package/dist/types/src/components/content/table/table-sloted/TableSlotedComponent.vue.d.ts +32 -31
  63. package/dist/types/src/components/content/tag/tag.vue.d.ts +1 -1
  64. package/dist/types/src/components/feedback/indicator/indicator.vue.d.ts +1 -4
  65. package/dist/types/src/components/feedback/info-box/info-box.vue.d.ts +8 -18
  66. package/dist/types/src/components/feedback/persistent-toast/persistent-toast.vue.d.ts +8 -12
  67. package/dist/types/src/components/feedback/progress-bar/progress-bar.vue.d.ts +101 -0
  68. package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +1 -1
  69. package/dist/types/src/components/index.d.ts +2 -0
  70. package/dist/types/src/components/input/checkbox/checkbox.vue.d.ts +6 -11
  71. package/dist/types/src/components/input/datepicker/datepicker.vue.d.ts +258 -0
  72. package/dist/types/src/components/input/drag-and-drop/drag-and-drop.vue.d.ts +203 -0
  73. package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +30 -550
  74. package/dist/types/src/components/input/filter-chip/filter-chip.vue.d.ts +1 -3
  75. package/dist/types/src/components/input/quantity-selector/quantity-selector.vue.d.ts +1 -4
  76. package/dist/types/src/components/input/radio-button/radio-button.vue.d.ts +1 -1
  77. package/dist/types/src/components/input/radio-button/radio-group.vue.d.ts +6 -11
  78. package/dist/types/src/components/input/selection-chip/selection-chip.vue.d.ts +1 -3
  79. package/dist/types/src/components/input/switch/switch.vue.d.ts +24 -21
  80. package/dist/types/src/components/input/text-area/text-area.vue.d.ts +12 -15
  81. package/dist/types/src/components/input/text-field/text-field.vue.d.ts +33 -21
  82. package/dist/types/src/components/input/toggle/toggle.vue.d.ts +1 -1
  83. package/dist/types/src/components/layout/sidebar/sidebar.vue.d.ts +10 -17
  84. package/dist/types/src/components/layout/sidedrawer/sidedrawer.vue.d.ts +8 -16
  85. package/dist/types/src/components/navigation/link/link.vue.d.ts +7 -11
  86. package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +1 -1
  87. package/dist/types/src/components/navigation/tab-bar/tab-bar.vue.d.ts +24 -18
  88. package/dist/types/src/components/overlay/modal/modal.vue.d.ts +10 -141
  89. package/dist/types/src/components/overlay/overlay/overlay.vue.d.ts +5 -10
  90. package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +8 -20
  91. package/dist/types/src/helpers/mobileMockup.vue.d.ts +1 -1
  92. package/dist/types/tsconfig.tsbuildinfo +1 -1
  93. package/package.json +3 -3
@@ -1,12 +1,7 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- 'text-label'?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLDivElement;
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ 'text-label'?: (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
  * ID del interruptor
@@ -36,6 +31,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
36
31
  type: BooleanConstructor;
37
32
  default: boolean;
38
33
  };
34
+ /**
35
+ * v-model valor de entrada y salida
36
+ */
37
+ modelValue: {
38
+ type: BooleanConstructor;
39
+ default: undefined;
40
+ };
39
41
  /**
40
42
  * Si el interruptor está marcado o no
41
43
  */
@@ -43,13 +45,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
43
45
  type: BooleanConstructor;
44
46
  default: boolean;
45
47
  };
46
- modelValue: {
47
- type: import("vue").PropType<boolean>;
48
- };
49
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
50
49
  "update:modelValue": (value: boolean) => any;
51
- } & {
52
- "update:checked": (event: boolean) => any;
50
+ "update:checked": (value: boolean) => any;
53
51
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
54
52
  /**
55
53
  * ID del interruptor
@@ -79,6 +77,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
79
77
  type: BooleanConstructor;
80
78
  default: boolean;
81
79
  };
80
+ /**
81
+ * v-model valor de entrada y salida
82
+ */
83
+ modelValue: {
84
+ type: BooleanConstructor;
85
+ default: undefined;
86
+ };
82
87
  /**
83
88
  * Si el interruptor está marcado o no
84
89
  */
@@ -86,21 +91,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
86
91
  type: BooleanConstructor;
87
92
  default: boolean;
88
93
  };
89
- modelValue: {
90
- type: import("vue").PropType<boolean>;
91
- };
92
94
  }>> & Readonly<{
93
95
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
94
- "onUpdate:checked"?: ((event: boolean) => any) | undefined;
96
+ "onUpdate:checked"?: ((value: boolean) => any) | undefined;
95
97
  }>, {
96
98
  label: string;
97
99
  icon: string;
98
100
  disabled: boolean;
99
101
  checked: boolean;
100
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
101
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
102
+ modelValue: boolean;
103
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
104
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
102
105
  export default _default;
103
- type __VLS_WithTemplateSlots<T, S> = T & {
106
+ type __VLS_WithSlots<T, S> = T & {
104
107
  new (): {
105
108
  $slots: S;
106
109
  };
@@ -1,14 +1,11 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- 'left-icon'?(_: {}): any;
5
- 'right-icon'?(_: {}): any;
6
- 'helper-text'?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: HTMLDivElement;
1
+ declare var __VLS_1: {}, __VLS_6: {}, __VLS_11: {};
2
+ type __VLS_Slots = {} & {
3
+ 'left-icon'?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ 'right-icon'?: (props: typeof __VLS_6) => any;
6
+ } & {
7
+ 'helper-text'?: (props: typeof __VLS_11) => any;
10
8
  };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
9
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
10
  /**
14
11
  * Etiqueta que se muestra sobre el campo de entrada. y Placeholder
@@ -128,7 +125,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
128
125
  default: string;
129
126
  };
130
127
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
131
- "update:modelValue": (value: string) => any;
128
+ "update:modelValue": (value: string | undefined) => any;
132
129
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
133
130
  /**
134
131
  * Etiqueta que se muestra sobre el campo de entrada. y Placeholder
@@ -248,7 +245,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
248
245
  default: string;
249
246
  };
250
247
  }>> & Readonly<{
251
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
248
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
252
249
  }>, {
253
250
  error: boolean;
254
251
  icon: string;
@@ -262,10 +259,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
262
259
  lengthError: boolean;
263
260
  rows: number;
264
261
  counter: boolean;
265
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
266
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
262
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
263
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
267
264
  export default _default;
268
- type __VLS_WithTemplateSlots<T, S> = T & {
265
+ type __VLS_WithSlots<T, S> = T & {
269
266
  new (): {
270
267
  $slots: S;
271
268
  };
@@ -1,16 +1,11 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- 'left-icon'?(_: {}): any;
5
- 'right-icon'?(_: {}): any;
6
- 'helper-text'?(_: {}): any;
7
- };
8
- refs: {
9
- input: HTMLInputElement;
10
- };
11
- rootEl: HTMLDivElement;
1
+ declare var __VLS_1: {}, __VLS_6: {}, __VLS_15: {};
2
+ type __VLS_Slots = {} & {
3
+ 'left-icon'?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ 'right-icon'?: (props: typeof __VLS_6) => any;
6
+ } & {
7
+ 'helper-text'?: (props: typeof __VLS_15) => any;
12
8
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
9
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
10
  /**
16
11
  * Etiqueta que se muestra sobre el campo de entrada. y Placeholder
@@ -30,7 +25,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
30
25
  * v-model valor de entrada y salida
31
26
  */
32
27
  modelValue: {
33
- type: StringConstructor;
28
+ type: (StringConstructor | NumberConstructor | null)[];
34
29
  required: true;
35
30
  };
36
31
  /**
@@ -63,6 +58,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
63
58
  default: number;
64
59
  validator: (value: number) => boolean;
65
60
  };
61
+ /**
62
+ * Tipo del input HTML. Por defecto 'text'.
63
+ * Puede ser 'text' o 'number'. La prop 'password' tiene precedencia.
64
+ */
65
+ type: {
66
+ type: StringConstructor;
67
+ default: string;
68
+ validator: (value: string) => boolean;
69
+ };
66
70
  /**
67
71
  * Nombre del icono que se mostrará dentro del campo de entrada.
68
72
  * por defecto se mosrtrara a al izquierda del campo
@@ -131,7 +135,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
131
135
  keydown: (event: KeyboardEvent) => any;
132
136
  keypress: (event: KeyboardEvent) => any;
133
137
  keyup: (event: KeyboardEvent) => any;
134
- "update:modelValue": (modelValue: string) => any;
138
+ "update:modelValue": (modelValue: string | number | null) => any;
135
139
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
136
140
  /**
137
141
  * Etiqueta que se muestra sobre el campo de entrada. y Placeholder
@@ -151,7 +155,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
151
155
  * v-model valor de entrada y salida
152
156
  */
153
157
  modelValue: {
154
- type: StringConstructor;
158
+ type: (StringConstructor | NumberConstructor | null)[];
155
159
  required: true;
156
160
  };
157
161
  /**
@@ -184,6 +188,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
184
188
  default: number;
185
189
  validator: (value: number) => boolean;
186
190
  };
191
+ /**
192
+ * Tipo del input HTML. Por defecto 'text'.
193
+ * Puede ser 'text' o 'number'. La prop 'password' tiene precedencia.
194
+ */
195
+ type: {
196
+ type: StringConstructor;
197
+ default: string;
198
+ validator: (value: string) => boolean;
199
+ };
187
200
  /**
188
201
  * Nombre del icono que se mostrará dentro del campo de entrada.
189
202
  * por defecto se mosrtrara a al izquierda del campo
@@ -249,9 +262,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
249
262
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
250
263
  onKeypress?: ((event: KeyboardEvent) => any) | undefined;
251
264
  onKeyup?: ((event: KeyboardEvent) => any) | undefined;
252
- "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
265
+ "onUpdate:modelValue"?: ((modelValue: string | number | null) => any) | undefined;
253
266
  }>, {
254
267
  error: boolean;
268
+ type: string;
255
269
  icon: string;
256
270
  disabled: boolean;
257
271
  password: boolean;
@@ -263,12 +277,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
263
277
  helperText: string;
264
278
  clearable: boolean;
265
279
  autocomplete: string;
266
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
267
- input: HTMLInputElement;
268
- }, HTMLDivElement>;
269
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
280
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
281
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
270
282
  export default _default;
271
- type __VLS_WithTemplateSlots<T, S> = T & {
283
+ type __VLS_WithSlots<T, S> = T & {
272
284
  new (): {
273
285
  $slots: S;
274
286
  };
@@ -37,5 +37,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
37
37
  "update:modelValue": (isOn: string | number | boolean | undefined) => any;
38
38
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
39
39
  "onUpdate:modelValue"?: ((isOn: string | number | boolean | undefined) => any) | undefined;
40
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
40
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
41
41
  export default _default;
@@ -1,16 +1,11 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- content?(_: {}): any;
5
- collapsed?(_: {}): any;
6
- expanded?(_: {}): any;
7
- };
8
- refs: {
9
- sidebar: HTMLDivElement;
10
- };
11
- rootEl: HTMLDivElement;
1
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
2
+ type __VLS_Slots = {} & {
3
+ content?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ collapsed?: (props: typeof __VLS_3) => any;
6
+ } & {
7
+ expanded?: (props: typeof __VLS_5) => any;
12
8
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
9
  declare const __VLS_component: import("vue").DefineComponent<{}, {
15
10
  /**
16
11
  * { boolean } Muestra el estado actual del sidebar.
@@ -32,12 +27,10 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
32
27
  sidebarChange: (isCollapsed: boolean) => any;
33
28
  }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
34
29
  onSidebarChange?: ((isCollapsed: boolean) => any) | undefined;
35
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
36
- sidebar: HTMLDivElement;
37
- }, HTMLDivElement>;
38
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
39
32
  export default _default;
40
- type __VLS_WithTemplateSlots<T, S> = T & {
33
+ type __VLS_WithSlots<T, S> = T & {
41
34
  new (): {
42
35
  $slots: S;
43
36
  };
@@ -1,15 +1,9 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- content?(_: {}): any;
5
- footer?(_: {}): any;
6
- };
7
- refs: {
8
- sidebar: HTMLDivElement;
9
- };
10
- rootEl: HTMLDivElement;
1
+ declare var __VLS_8: {}, __VLS_10: {};
2
+ type __VLS_Slots = {} & {
3
+ content?: (props: typeof __VLS_8) => any;
4
+ } & {
5
+ footer?: (props: typeof __VLS_10) => any;
11
6
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
7
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
8
  /**
15
9
  * <span>Texto a mostrar en el título</span>
@@ -109,12 +103,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
109
103
  blurOverlay: boolean;
110
104
  containerWidth: string;
111
105
  persistent: boolean;
112
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
113
- sidebar: HTMLDivElement;
114
- }, HTMLDivElement>;
115
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
106
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
107
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
116
108
  export default _default;
117
- type __VLS_WithTemplateSlots<T, S> = T & {
109
+ type __VLS_WithSlots<T, S> = T & {
118
110
  new (): {
119
111
  $slots: S;
120
112
  };
@@ -1,13 +1,9 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: any;
1
+ declare var __VLS_9: {}, __VLS_14: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_9) => any;
4
+ } & {
5
+ default?: (props: typeof __VLS_14) => any;
9
6
  };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
7
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
8
  /**
13
9
  * <span>Texto a mostrar en el link</span>
@@ -173,9 +169,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
173
169
  to: string;
174
170
  arrow: boolean;
175
171
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
176
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
172
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
177
173
  export default _default;
178
- type __VLS_WithTemplateSlots<T, S> = T & {
174
+ type __VLS_WithSlots<T, S> = T & {
179
175
  new (): {
180
176
  $slots: S;
181
177
  };
@@ -154,5 +154,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
154
154
  itemsPerPage: number;
155
155
  totalPages: number;
156
156
  disableFirstLoad: boolean;
157
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
157
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
158
158
  export default _default;
@@ -4,18 +4,12 @@ interface RDSTab {
4
4
  title: string;
5
5
  icon?: string;
6
6
  }
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: Partial<Record<string, (_: {
10
- tab: string | RDSTab | undefined;
11
- }) => any>>;
12
- refs: {
13
- tabsListWrapper: HTMLDivElement;
14
- tabsList: HTMLUListElement;
15
- };
16
- rootEl: HTMLDivElement;
7
+ declare var __VLS_11: string, __VLS_12: {
8
+ tab: string | RDSTab | undefined;
9
+ };
10
+ type __VLS_Slots = {} & {
11
+ [K in NonNullable<typeof __VLS_11>]?: (props: typeof __VLS_12) => any;
17
12
  };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
13
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
20
14
  /**
21
15
  * Pestaña activa
@@ -45,6 +39,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
45
39
  type: BooleanConstructor;
46
40
  default: boolean;
47
41
  };
42
+ /**
43
+ * <span>Indica si el Tab-bar es inverso</span>
44
+ */
45
+ inverse: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
48
49
  /**
49
50
  * Si es `true`, se mostrara un divider entre el top-bar y el contenido.
50
51
  */
@@ -93,6 +94,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
93
94
  type: BooleanConstructor;
94
95
  default: boolean;
95
96
  };
97
+ /**
98
+ * <span>Indica si el Tab-bar es inverso</span>
99
+ */
100
+ inverse: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
96
104
  /**
97
105
  * Si es `true`, se mostrara un divider entre el top-bar y el contenido.
98
106
  */
@@ -112,17 +120,15 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
112
120
  onActiveTabChanged?: ((id: string) => any) | undefined;
113
121
  "onUpdate:activeTab"?: ((value: string) => any) | undefined;
114
122
  }>, {
115
- divider: boolean;
123
+ inverse: boolean;
116
124
  fluid: boolean;
117
125
  backgroundAlternative: boolean;
126
+ divider: boolean;
118
127
  beforeTabChange: (id: string, tab: RDSTab) => Promise<boolean>;
119
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
120
- tabsListWrapper: HTMLDivElement;
121
- tabsList: HTMLUListElement;
122
- }, HTMLDivElement>;
123
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
128
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
129
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
124
130
  export default _default;
125
- type __VLS_WithTemplateSlots<T, S> = T & {
131
+ type __VLS_WithSlots<T, S> = T & {
126
132
  new (): {
127
133
  $slots: S;
128
134
  };
@@ -1,78 +1,11 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- header?(_: {}): any;
5
- body?(_: {}): any;
6
- footer?(_: {}): any;
7
- };
8
- refs: {
9
- overlay: ({
10
- $: import("vue").ComponentInternalInstance;
11
- $data: {};
12
- $props: Partial<{
13
- teleport: string;
14
- }> & Omit<{
15
- readonly teleport: string;
16
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "teleport">;
17
- $attrs: {
18
- [x: string]: unknown;
19
- };
20
- $refs: {
21
- [x: string]: unknown;
22
- };
23
- $slots: Readonly<{
24
- [name: string]: import("vue").Slot<any> | undefined;
25
- }>;
26
- $root: import("vue").ComponentPublicInstance | null;
27
- $parent: import("vue").ComponentPublicInstance | null;
28
- $host: Element | null;
29
- $emit: (event: string, ...args: any[]) => void;
30
- $el: any;
31
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
32
- teleport: {
33
- type: StringConstructor;
34
- default: string;
35
- required: true;
36
- };
37
- }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
38
- teleport: string;
39
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
40
- beforeCreate?: (() => void) | (() => void)[];
41
- created?: (() => void) | (() => void)[];
42
- beforeMount?: (() => void) | (() => void)[];
43
- mounted?: (() => void) | (() => void)[];
44
- beforeUpdate?: (() => void) | (() => void)[];
45
- updated?: (() => void) | (() => void)[];
46
- activated?: (() => void) | (() => void)[];
47
- deactivated?: (() => void) | (() => void)[];
48
- beforeDestroy?: (() => void) | (() => void)[];
49
- beforeUnmount?: (() => void) | (() => void)[];
50
- destroyed?: (() => void) | (() => void)[];
51
- unmounted?: (() => void) | (() => void)[];
52
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
53
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
54
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
55
- };
56
- $forceUpdate: () => void;
57
- $nextTick: typeof import("vue").nextTick;
58
- $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;
59
- } & Readonly<{
60
- teleport: string;
61
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
62
- teleport: {
63
- type: StringConstructor;
64
- default: string;
65
- required: true;
66
- };
67
- }>> & Readonly<{}>, "teleport"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
68
- $slots: {
69
- default?(_: {}): any;
70
- };
71
- }) | null;
72
- };
73
- rootEl: any;
1
+ declare var __VLS_19: {}, __VLS_29: {}, __VLS_31: {};
2
+ type __VLS_Slots = {} & {
3
+ header?: (props: typeof __VLS_19) => any;
4
+ } & {
5
+ body?: (props: typeof __VLS_29) => any;
6
+ } & {
7
+ footer?: (props: typeof __VLS_31) => any;
74
8
  };
75
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
76
9
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
77
10
  /**
78
11
  * Define el estado del modal
@@ -204,74 +137,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
204
137
  showClose: boolean;
205
138
  preventClose: boolean;
206
139
  maxWidth: string | number;
207
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
208
- overlay: ({
209
- $: import("vue").ComponentInternalInstance;
210
- $data: {};
211
- $props: Partial<{
212
- teleport: string;
213
- }> & Omit<{
214
- readonly teleport: string;
215
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "teleport">;
216
- $attrs: {
217
- [x: string]: unknown;
218
- };
219
- $refs: {
220
- [x: string]: unknown;
221
- };
222
- $slots: Readonly<{
223
- [name: string]: import("vue").Slot<any> | undefined;
224
- }>;
225
- $root: import("vue").ComponentPublicInstance | null;
226
- $parent: import("vue").ComponentPublicInstance | null;
227
- $host: Element | null;
228
- $emit: (event: string, ...args: any[]) => void;
229
- $el: any;
230
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
231
- teleport: {
232
- type: StringConstructor;
233
- default: string;
234
- required: true;
235
- };
236
- }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
237
- teleport: string;
238
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
239
- beforeCreate?: (() => void) | (() => void)[];
240
- created?: (() => void) | (() => void)[];
241
- beforeMount?: (() => void) | (() => void)[];
242
- mounted?: (() => void) | (() => void)[];
243
- beforeUpdate?: (() => void) | (() => void)[];
244
- updated?: (() => void) | (() => void)[];
245
- activated?: (() => void) | (() => void)[];
246
- deactivated?: (() => void) | (() => void)[];
247
- beforeDestroy?: (() => void) | (() => void)[];
248
- beforeUnmount?: (() => void) | (() => void)[];
249
- destroyed?: (() => void) | (() => void)[];
250
- unmounted?: (() => void) | (() => void)[];
251
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
252
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
253
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
254
- };
255
- $forceUpdate: () => void;
256
- $nextTick: typeof import("vue").nextTick;
257
- $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;
258
- } & Readonly<{
259
- teleport: string;
260
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
261
- teleport: {
262
- type: StringConstructor;
263
- default: string;
264
- required: true;
265
- };
266
- }>> & Readonly<{}>, "teleport"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
267
- $slots: {
268
- default?(_: {}): any;
269
- };
270
- }) | null;
271
- }, any>;
272
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
140
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
141
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
273
142
  export default _default;
274
- type __VLS_WithTemplateSlots<T, S> = T & {
143
+ type __VLS_WithSlots<T, S> = T & {
275
144
  new (): {
276
145
  $slots: S;
277
146
  };
@@ -1,12 +1,7 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: any;
1
+ declare var __VLS_5: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_5) => 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
  * Indica el punto de anclaje del overlay, para que funcione debe de estar montado en el DOM
@@ -30,9 +25,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
30
25
  }>> & Readonly<{}>, {
31
26
  teleport: string;
32
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
34
29
  export default _default;
35
- type __VLS_WithTemplateSlots<T, S> = T & {
30
+ type __VLS_WithSlots<T, S> = T & {
36
31
  new (): {
37
32
  $slots: S;
38
33
  };