energy-components 1.7.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 (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 +70 -55
  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 +30 -30
  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 +4689 -4450
  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 +12 -19
  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
@@ -96,5 +96,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
96
96
  variant: string;
97
97
  inverse: boolean;
98
98
  disabled: boolean;
99
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLButtonElement>;
99
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
100
100
  export default _default;
@@ -1,13 +1,8 @@
1
1
  type ButtonType = 'button' | 'submit' | 'reset' | undefined;
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- default?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: HTMLButtonElement;
2
+ declare var __VLS_4: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_4) => any;
9
5
  };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
6
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
7
  /**
13
8
  * <span>Texto a mostrar en el botón</span>
@@ -177,10 +172,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
177
172
  inverse: boolean;
178
173
  disabled: boolean;
179
174
  revertIcon: boolean;
180
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLButtonElement>;
181
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
175
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
176
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
182
177
  export default _default;
183
- type __VLS_WithTemplateSlots<T, S> = T & {
178
+ type __VLS_WithSlots<T, S> = T & {
184
179
  new (): {
185
180
  $slots: S;
186
181
  };
@@ -132,5 +132,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
132
132
  position: string;
133
133
  placement: string;
134
134
  extraSmall: boolean;
135
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLButtonElement>;
135
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
136
136
  export default _default;
@@ -1,18 +1,10 @@
1
1
  import type { PropType } from 'vue';
2
2
  import RDSTag from '../../content/tag/tag.vue';
3
3
  type RDSTagProps = Omit<typeof RDSTag['$props'], `$${string}`>;
4
- declare function __VLS_template(): {
5
- attrs: Partial<{}>;
6
- slots: {
7
- default?(_: {}): any;
8
- };
9
- refs: {
10
- panel: HTMLDivElement;
11
- panelContent: HTMLDivElement;
12
- };
13
- rootEl: HTMLDivElement;
4
+ declare var __VLS_7: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_7) => any;
14
7
  };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
8
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
17
9
  /**
18
10
  * El identificador único del elemento.
@@ -103,13 +95,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
103
95
  }>, {
104
96
  open: boolean;
105
97
  tag: RDSTagProps;
106
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
107
- panel: HTMLDivElement;
108
- panelContent: HTMLDivElement;
109
- }, HTMLDivElement>;
110
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
98
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
99
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
111
100
  export default _default;
112
- type __VLS_WithTemplateSlots<T, S> = T & {
101
+ type __VLS_WithSlots<T, S> = T & {
113
102
  new (): {
114
103
  $slots: S;
115
104
  };
@@ -1,12 +1,7 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
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<{}, {
11
6
  /**
12
7
  * Abre todos los paneles del acordeón
@@ -16,10 +11,10 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
16
11
  * Cierra todos los paneles del acordeón
17
12
  */
18
13
  closeAll: () => void;
19
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
21
16
  export default _default;
22
- type __VLS_WithTemplateSlots<T, S> = T & {
17
+ type __VLS_WithSlots<T, S> = T & {
23
18
  new (): {
24
19
  $slots: S;
25
20
  };
@@ -1,12 +1,7 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
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
  * Clase personalizada.
@@ -25,10 +20,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
25
20
  };
26
21
  }>> & Readonly<{}>, {
27
22
  customClass: string;
28
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
29
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
25
  export default _default;
31
- type __VLS_WithTemplateSlots<T, S> = T & {
26
+ type __VLS_WithSlots<T, S> = T & {
32
27
  new (): {
33
28
  $slots: S;
34
29
  };
@@ -31,5 +31,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
31
31
  }>> & Readonly<{}>, {
32
32
  inverse: boolean;
33
33
  low: boolean;
34
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
35
35
  export default _default;
@@ -0,0 +1,88 @@
1
+ import type { TableSlotedHeader } from '../types';
2
+ type Variant = 'default' | 'underline';
3
+ interface Props {
4
+ /** Indica si la tabla esta en estado de carga */
5
+ loading?: boolean;
6
+ /** Elementos a cargar en header para mostrare */
7
+ header: TableSlotedHeader[];
8
+ /** Elementos a mostrar en la tabla */
9
+ items: object[];
10
+ /** Numero totoal de elementos ya sea sincrona o no */
11
+ totalItemsLength: number;
12
+ /** Indica si todos los elementos estan seleccionado {checkbox} */
13
+ checkedAll?: boolean;
14
+ /** Candidad de elementos a mostar por pagina si aplica */
15
+ itemsPerPage?: number[];
16
+ /** Si es necesario porner un checkbox indica el campo */
17
+ selectableKey?: string;
18
+ /** Indica si se oculta el checkbos de seleccionar todo */
19
+ hideSelectAll?: boolean;
20
+ /** Indica si se oculta el dropdown para cambiar los elementos por pagina */
21
+ hideItemsPerPage?: boolean;
22
+ /** Ocultar los headers */
23
+ hideHeaders?: boolean;
24
+ /** Ocultar la leyenda del footer en la paginacion */
25
+ hideLeyend?: boolean;
26
+ /** Ocultar toda la paginacion */
27
+ hidePagination?: boolean;
28
+ /** Indica la pagina activva */
29
+ activePage?: number;
30
+ /** Listado de elementos ya seleccionados {checkbox} */
31
+ initChecked?: any[];
32
+ /** Array con el id que se utilize en `selectableKey` para saber los elementos que estan en `check` desde un inicio */
33
+ isMobileDevice?: boolean;
34
+ /** Variante de la tabla */
35
+ variant?: Variant;
36
+ /** Si se actiba deja menos espacio de padding o margin */
37
+ condensed?: boolean;
38
+ /** Listado de los ids de los row que estan expandidos */
39
+ itemsExpanded?: number[];
40
+ /** Mostrar el checkbox para seleccioanr todo en el header */
41
+ showSelectAll?: boolean;
42
+ /** Mostrar el slot de `empty state` cuando no hay elementos */
43
+ showEmptyState?: boolean;
44
+ /** Indica si la tabla es async */
45
+ asynchrone?: boolean;
46
+ /** Muestra u oculta los botones para ir a la primera o ultima pagina */
47
+ jumpTo?: boolean;
48
+ /** Desactivar el primer evento de carga de la paginacion */
49
+ disableFirstLoad?: boolean;
50
+ }
51
+ declare const __VLS_component: import("vue").DefineComponent<Props, {
52
+ /** Fuerza a refrescar la paginacion y la tabla */
53
+ $reset: () => void;
54
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
55
+ onItemExpansion: (value: any) => any;
56
+ "update:options": (options: object) => any;
57
+ "update:reset": () => any;
58
+ "update:selection": (options: object) => any;
59
+ "update:selectedAll": (value: boolean) => any;
60
+ "update:sort": (value: any) => any;
61
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
62
+ onOnItemExpansion?: ((value: any) => any) | undefined;
63
+ "onUpdate:options"?: ((options: object) => any) | undefined;
64
+ "onUpdate:reset"?: (() => any) | undefined;
65
+ "onUpdate:selection"?: ((options: object) => any) | undefined;
66
+ "onUpdate:selectedAll"?: ((value: boolean) => any) | undefined;
67
+ "onUpdate:sort"?: ((value: any) => any) | undefined;
68
+ }>, {
69
+ loading: boolean;
70
+ hideSelectAll: boolean;
71
+ checkedAll: boolean;
72
+ isMobileDevice: boolean;
73
+ showEmptyState: boolean;
74
+ jumpTo: boolean;
75
+ itemsPerPage: number[];
76
+ activePage: number;
77
+ totalItemsLength: number;
78
+ initChecked: any[];
79
+ showSelectAll: boolean;
80
+ asynchrone: boolean;
81
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
82
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
83
+ export default _default;
84
+ type __VLS_WithSlots<T, S> = T & {
85
+ new (): {
86
+ $slots: S;
87
+ };
88
+ };
@@ -18,36 +18,37 @@ interface Props {
18
18
  showEmptyState?: boolean;
19
19
  mockItems?: number;
20
20
  }
21
- declare function __VLS_template(): {
22
- attrs: Partial<{}>;
23
- slots: Partial<Record<`header-${string}`, (_: {
24
- item: {
25
- key: string;
26
- text: string;
27
- align?: "left" | "center" | "right" | undefined;
28
- sticky?: boolean | undefined;
29
- sortable?: boolean | undefined;
30
- sort?: string | undefined;
31
- type?: string | undefined;
32
- allSelected?: boolean | undefined;
33
- callback?: ((item: any) => void) | undefined;
34
- };
35
- }) => any>> & Partial<Record<`td-${string}`, (_: {
36
- value: unknown;
37
- item: TableRowItem;
38
- }) => any>> & {
39
- 'td-checkbox'?(_: {
40
- item: TableRowItem;
41
- }): any;
42
- expandible?(_: {
43
- item: TableRowItem;
44
- }): any;
45
- empty?(_: {}): any;
21
+ declare var __VLS_2: `header-${string}`, __VLS_3: {
22
+ item: {
23
+ key: string;
24
+ text: string;
25
+ align?: "left" | "center" | "right" | undefined;
26
+ sticky?: boolean | undefined;
27
+ sortable?: boolean | undefined;
28
+ sort?: string | undefined;
29
+ type?: string | undefined;
30
+ allSelected?: boolean | undefined;
31
+ callback?: ((item: any) => void) | undefined;
46
32
  };
47
- refs: {};
48
- rootEl: HTMLDivElement;
33
+ }, __VLS_27: `td-${string}`, __VLS_28: {
34
+ value: unknown;
35
+ item: TableRowItem;
36
+ }, __VLS_30: {
37
+ item: TableRowItem;
38
+ }, __VLS_39: {
39
+ item: TableRowItem;
40
+ }, __VLS_45: {};
41
+ type __VLS_Slots = {} & {
42
+ [K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3) => any;
43
+ } & {
44
+ [K in NonNullable<typeof __VLS_27>]?: (props: typeof __VLS_28) => any;
45
+ } & {
46
+ 'td-checkbox'?: (props: typeof __VLS_30) => any;
47
+ } & {
48
+ expandible?: (props: typeof __VLS_39) => any;
49
+ } & {
50
+ empty?: (props: typeof __VLS_45) => any;
49
51
  };
50
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
51
52
  declare const __VLS_component: import("vue").DefineComponent<Props, {
52
53
  clearVisibleDetails: (soft?: boolean) => void;
53
54
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -70,10 +71,10 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
70
71
  noFixedColumn: boolean;
71
72
  isMobileDevice: boolean;
72
73
  showEmptyState: boolean;
73
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
74
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
74
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
75
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
75
76
  export default _default;
76
- type __VLS_WithTemplateSlots<T, S> = T & {
77
+ type __VLS_WithSlots<T, S> = T & {
77
78
  new (): {
78
79
  $slots: S;
79
80
  };
@@ -101,5 +101,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
101
101
  icon: string;
102
102
  inverse: boolean;
103
103
  actionable: boolean;
104
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
104
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
105
105
  export default _default;
@@ -96,8 +96,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
96
96
  fullWidth: boolean;
97
97
  direction: DirectionType;
98
98
  ellipsis: boolean;
99
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
100
- $indicator: HTMLDivElement;
101
- $progressBar: HTMLDivElement;
102
- }, HTMLDivElement>;
99
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
103
100
  export default _default;
@@ -1,16 +1,9 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- 'content-section'?(_: {}): any;
5
- 'content-section'?(_: {}): any;
6
- };
7
- refs: {
8
- panel: HTMLDivElement;
9
- panelContent: HTMLDivElement;
10
- };
11
- rootEl: HTMLDivElement;
1
+ declare var __VLS_7: {}, __VLS_9: {};
2
+ type __VLS_Slots = {} & {
3
+ 'content-section'?: (props: typeof __VLS_7) => any;
4
+ } & {
5
+ 'content-section'?: (props: typeof __VLS_9) => any;
12
6
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
7
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
8
  /**
16
9
  * Tipo del mensaje.
@@ -143,13 +136,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
143
136
  };
144
137
  }>> & Readonly<{}>, {
145
138
  collapsable: boolean;
146
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
147
- panel: HTMLDivElement;
148
- panelContent: HTMLDivElement;
149
- }, HTMLDivElement>;
150
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
139
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
140
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
151
141
  export default _default;
152
- type __VLS_WithTemplateSlots<T, S> = T & {
142
+ type __VLS_WithSlots<T, S> = T & {
153
143
  new (): {
154
144
  $slots: S;
155
145
  };
@@ -1,13 +1,9 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- 'content-section'?(_: {}): any;
5
- 'action-section'?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: HTMLDivElement;
1
+ declare var __VLS_4: {}, __VLS_9: {};
2
+ type __VLS_Slots = {} & {
3
+ 'content-section'?: (props: typeof __VLS_4) => any;
4
+ } & {
5
+ 'action-section'?: (props: typeof __VLS_9) => 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
  * Tipo del mensaje.
@@ -146,10 +142,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
146
142
  onOnCloseToastAction?: (() => any) | undefined;
147
143
  }>, {
148
144
  close: boolean;
149
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
150
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
145
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
146
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
151
147
  export default _default;
152
- type __VLS_WithTemplateSlots<T, S> = T & {
148
+ type __VLS_WithSlots<T, S> = T & {
153
149
  new (): {
154
150
  $slots: S;
155
151
  };
@@ -0,0 +1,101 @@
1
+ declare var __VLS_1: {
2
+ goBack: () => void;
3
+ inverse: boolean;
4
+ }, __VLS_6: {
5
+ step: number;
6
+ maxSteps: number;
7
+ inverse: boolean;
8
+ };
9
+ type __VLS_Slots = {} & {
10
+ 'back-button'?: (props: typeof __VLS_1) => any;
11
+ } & {
12
+ steps?: (props: typeof __VLS_6) => any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
+ /**
16
+ * El paso actual en el proceso.
17
+ */
18
+ step: {
19
+ type: NumberConstructor;
20
+ required: true;
21
+ };
22
+ /**
23
+ * El número total de pasos en el proceso.
24
+ */
25
+ maxSteps: {
26
+ type: NumberConstructor;
27
+ required: true;
28
+ };
29
+ /**
30
+ * Si es true, oculta el botón de retroceso.
31
+ */
32
+ backButton: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ /**
37
+ * Si es true, muestra el porcentaje completado.
38
+ */
39
+ percentage: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ /**
44
+ * Si es true, aplica estilos inversos (texto blanco) para usar sobre fondos oscuros.
45
+ */
46
+ inverse: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
51
+ goBack: () => any;
52
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
53
+ /**
54
+ * El paso actual en el proceso.
55
+ */
56
+ step: {
57
+ type: NumberConstructor;
58
+ required: true;
59
+ };
60
+ /**
61
+ * El número total de pasos en el proceso.
62
+ */
63
+ maxSteps: {
64
+ type: NumberConstructor;
65
+ required: true;
66
+ };
67
+ /**
68
+ * Si es true, oculta el botón de retroceso.
69
+ */
70
+ backButton: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ /**
75
+ * Si es true, muestra el porcentaje completado.
76
+ */
77
+ percentage: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ /**
82
+ * Si es true, aplica estilos inversos (texto blanco) para usar sobre fondos oscuros.
83
+ */
84
+ inverse: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
88
+ }>> & Readonly<{
89
+ onGoBack?: (() => any) | undefined;
90
+ }>, {
91
+ inverse: boolean;
92
+ backButton: boolean;
93
+ percentage: boolean;
94
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
95
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
96
+ export default _default;
97
+ type __VLS_WithSlots<T, S> = T & {
98
+ new (): {
99
+ $slots: S;
100
+ };
101
+ };
@@ -85,5 +85,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
85
85
  small: boolean;
86
86
  color: string;
87
87
  size: string | number;
88
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLSpanElement>;
88
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
89
  export default _default;
@@ -14,6 +14,7 @@ export { default as RDSQuantitySelector } from './input/quantity-selector/quanti
14
14
  export { default as RDSToggle } from './input/toggle/toggle.vue';
15
15
  export { default as RDSSelectionChip } from './input/selection-chip/selection-chip.vue';
16
16
  export { default as RDSFilterChip } from './input/filter-chip/filter-chip.vue';
17
+ export { default as RDSDragAndDrop } from './input/drag-and-drop/drag-and-drop.vue';
17
18
  export { default as RDSTag } from './content/tag/tag.vue';
18
19
  export { default as RDSAccordionGroup } from './content/acordion-group/accordion-group.vue';
19
20
  export { default as RDSAccordion } from './content/accordion/accordion.vue';
@@ -27,6 +28,7 @@ export { default as RDSPagination } from './navigation/pagination/pagination.vue
27
28
  export { default as RDSIndicator } from './feedback/indicator/indicator.vue';
28
29
  export { default as RDSPersistentToast } from './feedback/persistent-toast/persistent-toast.vue';
29
30
  export { default as RDSInfoBox } from './feedback/info-box/info-box.vue';
31
+ export { default as RDSProgressBar } from './feedback/progress-bar/progress-bar.vue';
30
32
  export { default as RDSModal } from './overlay/modal/modal.vue';
31
33
  export { default as RDSOverlay } from './overlay/overlay/overlay.vue';
32
34
  export { default as RDSTooltip } from './overlay/tooltip/tooltip.vue';
@@ -1,12 +1,7 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- 'label-text'?(_: {}): any;
5
- };
6
- refs: {};
7
- rootEl: HTMLDivElement;
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ 'label-text'?: (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>Texto a mostrar en el label</span>
@@ -134,10 +129,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
134
129
  id: string | number;
135
130
  accessibilityLabel: string;
136
131
  isChecked: boolean;
137
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
138
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
132
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
133
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
139
134
  export default _default;
140
- type __VLS_WithTemplateSlots<T, S> = T & {
135
+ type __VLS_WithSlots<T, S> = T & {
141
136
  new (): {
142
137
  $slots: S;
143
138
  };