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.
Files changed (99) 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 +17 -17
  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-DGp2yHJn.js → icon-svg-_WCkLP8-.js} +36 -71
  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 +32 -21
  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 +41 -29
  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/dropdown.css +1 -1
  39. package/dist/components/style/icon-svg.css +1 -1
  40. package/dist/components/style/pagination.css +1 -1
  41. package/dist/components/style/progressBar.css +1 -0
  42. package/dist/components/style/sidedrawer.css +1 -1
  43. package/dist/components/style/switch.css +1 -1
  44. package/dist/components/style/tabBar.css +1 -1
  45. package/dist/components/style/tablepaginatedcomponent.css +1 -1
  46. package/dist/components/style/textField.css +1 -1
  47. package/dist/components/style/tooltip.css +1 -1
  48. package/dist/components/switch.es.js +45 -38
  49. package/dist/components/tabBar.es.js +72 -55
  50. package/dist/components/tablepaginatedcomponent.es.js +42 -40
  51. package/dist/components/tableslotedcomponent.es.js +26 -26
  52. package/dist/components/tag.es.js +2 -2
  53. package/dist/components/textArea.es.js +2 -2
  54. package/dist/components/textField.es.js +30 -30
  55. package/dist/components/toggle.es.js +2 -2
  56. package/dist/components/tooltip.es.js +337 -325
  57. package/dist/energy-components.es.js +5062 -4776
  58. package/dist/energy-components.umd.js +2 -1
  59. package/dist/style.css +1 -1
  60. package/dist/types/src/components/buttons/action-button/action-button.vue.d.ts +1 -1
  61. package/dist/types/src/components/buttons/button/button.vue.d.ts +8 -13
  62. package/dist/types/src/components/buttons/floating-action-button/floating-action-button.vue.d.ts +1 -1
  63. package/dist/types/src/components/content/accordion/accordion.vue.d.ts +6 -17
  64. package/dist/types/src/components/content/acordion-group/accordion-group.vue.d.ts +6 -11
  65. package/dist/types/src/components/content/card/card.vue.d.ts +6 -11
  66. package/dist/types/src/components/content/divider/divider.vue.d.ts +1 -1
  67. package/dist/types/src/components/content/table/table-paginated/TablePaginatedComponent.vue.d.ts +88 -0
  68. package/dist/types/src/components/content/table/table-sloted/TableSlotedComponent.vue.d.ts +32 -31
  69. package/dist/types/src/components/content/tag/tag.vue.d.ts +1 -1
  70. package/dist/types/src/components/feedback/indicator/indicator.vue.d.ts +1 -4
  71. package/dist/types/src/components/feedback/info-box/info-box.vue.d.ts +8 -18
  72. package/dist/types/src/components/feedback/persistent-toast/persistent-toast.vue.d.ts +8 -12
  73. package/dist/types/src/components/feedback/progress-bar/progress-bar.vue.d.ts +101 -0
  74. package/dist/types/src/components/icon-svg/icon-svg.vue.d.ts +20 -1
  75. package/dist/types/src/components/index.d.ts +2 -0
  76. package/dist/types/src/components/input/checkbox/checkbox.vue.d.ts +6 -11
  77. package/dist/types/src/components/input/datepicker/datepicker.vue.d.ts +258 -0
  78. package/dist/types/src/components/input/drag-and-drop/drag-and-drop.vue.d.ts +203 -0
  79. package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +30 -550
  80. package/dist/types/src/components/input/filter-chip/filter-chip.vue.d.ts +3 -5
  81. package/dist/types/src/components/input/quantity-selector/quantity-selector.vue.d.ts +2 -5
  82. package/dist/types/src/components/input/radio-button/radio-button.vue.d.ts +1 -1
  83. package/dist/types/src/components/input/radio-button/radio-group.vue.d.ts +6 -11
  84. package/dist/types/src/components/input/selection-chip/selection-chip.vue.d.ts +3 -5
  85. package/dist/types/src/components/input/switch/switch.vue.d.ts +24 -21
  86. package/dist/types/src/components/input/text-area/text-area.vue.d.ts +12 -15
  87. package/dist/types/src/components/input/text-field/text-field.vue.d.ts +12 -19
  88. package/dist/types/src/components/input/toggle/toggle.vue.d.ts +1 -1
  89. package/dist/types/src/components/layout/sidebar/sidebar.vue.d.ts +10 -17
  90. package/dist/types/src/components/layout/sidedrawer/sidedrawer.vue.d.ts +23 -16
  91. package/dist/types/src/components/navigation/link/link.vue.d.ts +7 -11
  92. package/dist/types/src/components/navigation/pagination/pagination.vue.d.ts +18 -1
  93. package/dist/types/src/components/navigation/tab-bar/tab-bar.vue.d.ts +24 -18
  94. package/dist/types/src/components/overlay/modal/modal.vue.d.ts +10 -141
  95. package/dist/types/src/components/overlay/overlay/overlay.vue.d.ts +5 -10
  96. package/dist/types/src/components/overlay/tooltip/tooltip.vue.d.ts +8 -19
  97. package/dist/types/src/helpers/mobileMockup.vue.d.ts +1 -1
  98. package/dist/types/tsconfig.tsbuildinfo +1 -1
  99. package/package.json +2 -2
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
20
20
  * Valor del filtro representado por el chip.
21
21
  */
22
22
  filterValue: {
23
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
23
+ type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
24
24
  required: true;
25
25
  };
26
26
  /**
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
75
  * Valor del filtro representado por el chip.
76
76
  */
77
77
  filterValue: {
78
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor)[];
78
+ type: (StringConstructor | BooleanConstructor | NumberConstructor | ObjectConstructor)[];
79
79
  required: true;
80
80
  };
81
81
  /**
@@ -114,7 +114,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
114
114
  highlight: boolean;
115
115
  surfaceType: string;
116
116
  selected: boolean;
117
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
118
- chipRef: HTMLButtonElement;
119
- }, HTMLButtonElement>;
117
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
120
118
  export default _default;
@@ -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 | null)[];
34
29
  required: true;
35
30
  };
36
31
  /**
@@ -151,7 +146,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
151
146
  * v-model valor de entrada y salida
152
147
  */
153
148
  modelValue: {
154
- type: StringConstructor;
149
+ type: (StringConstructor | null)[];
155
150
  required: true;
156
151
  };
157
152
  /**
@@ -263,12 +258,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
263
258
  helperText: string;
264
259
  clearable: boolean;
265
260
  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"]>;
261
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
262
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
270
263
  export default _default;
271
- type __VLS_WithTemplateSlots<T, S> = T & {
264
+ type __VLS_WithSlots<T, S> = T & {
272
265
  new (): {
273
266
  $slots: S;
274
267
  };
@@ -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>
@@ -39,6 +33,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
39
33
  type: StringConstructor;
40
34
  default: string;
41
35
  };
36
+ /**
37
+ * <span>Indica si el sidedrawer permanece abierto al hacer click fuera de él</span>
38
+ */
39
+ persistent: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
42
43
  }>, {
43
44
  /**
44
45
  * { boolean } Muestra el estado actual del sidebar.
@@ -87,6 +88,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
87
88
  type: StringConstructor;
88
89
  default: string;
89
90
  };
91
+ /**
92
+ * <span>Indica si el sidedrawer permanece abierto al hacer click fuera de él</span>
93
+ */
94
+ persistent: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
90
98
  }>> & Readonly<{
91
99
  onSidedrawerChange?: ((isHide: boolean) => any) | undefined;
92
100
  }>, {
@@ -94,12 +102,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
94
102
  iconClose: boolean;
95
103
  blurOverlay: boolean;
96
104
  containerWidth: string;
97
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
98
- sidebar: HTMLDivElement;
99
- }, HTMLDivElement>;
100
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
105
+ persistent: boolean;
106
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
107
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
101
108
  export default _default;
102
- type __VLS_WithTemplateSlots<T, S> = T & {
109
+ type __VLS_WithSlots<T, S> = T & {
103
110
  new (): {
104
111
  $slots: S;
105
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
  };
@@ -66,6 +66,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
66
  type: BooleanConstructor;
67
67
  default: boolean;
68
68
  };
69
+ /**
70
+ * Desactiva el evento por defecto de la paginación al cargar el componente.
71
+ * Si se desactiva, la carga de datos debe manejarse manualmente la primera vez que se carga el componente.
72
+ */
73
+ disableFirstLoad: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
69
77
  }>, {
70
78
  /** Resetea la paginación a la primera página y emite el evento pageChanged. */
71
79
  resetPagination: () => void;
@@ -128,6 +136,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
128
136
  type: BooleanConstructor;
129
137
  default: boolean;
130
138
  };
139
+ /**
140
+ * Desactiva el evento por defecto de la paginación al cargar el componente.
141
+ * Si se desactiva, la carga de datos debe manejarse manualmente la primera vez que se carga el componente.
142
+ */
143
+ disableFirstLoad: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
131
147
  }>> & Readonly<{
132
148
  onPageChanged?: ((payload: PageChangedEventPayload) => any) | undefined;
133
149
  }>, {
@@ -137,5 +153,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
137
153
  totalItems: number;
138
154
  itemsPerPage: number;
139
155
  totalPages: number;
140
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
156
+ disableFirstLoad: boolean;
157
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
141
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
  };