energy-components 1.23.0 → 2.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -6
- package/dist/components/accordion.es.js +17 -17
- package/dist/components/avatar.es.js +7 -7
- package/dist/components/breadcrumbs.es.js +32 -32
- package/dist/components/button.es.js +24 -24
- package/dist/components/checkbox.es.js +14 -17
- package/dist/components/collapsable.es.js +1 -1
- package/dist/components/{collapsable.scss_vue_type_style_index_0_src_true_lang-f-OHx-l3.js → collapsable.scss_vue_type_style_index_0_src_true_lang-BERfoghR.js} +10 -10
- package/dist/components/datepicker.es.js +4644 -4639
- package/dist/components/directAccess.es.js +45 -50
- package/dist/components/dragAndDrop.es.js +44 -46
- package/dist/components/dropdown.es.js +154 -163
- package/dist/components/fileUploadItem.es.js +18 -18
- package/dist/components/filterChip.es.js +9 -9
- package/dist/components/filterTag.es.js +7 -7
- package/dist/components/{floating-ui.vue-DHEoOe5S.js → floating-ui.vue-C-DgKOwt.js} +1 -1
- package/dist/components/functions-D3GA3OzJ.js +24 -0
- package/dist/components/icon-svg-DxlNo61Q.js +869 -0
- package/dist/components/iconList.es.js +25 -29
- package/dist/components/iconSvg.es.js +1 -1
- package/dist/components/index.es.js +46 -46
- package/dist/components/indicator.es.js +27 -28
- package/dist/components/infoBox.es.js +17 -17
- package/dist/components/link.es.js +82 -85
- package/dist/components/modal.es.js +20 -20
- package/dist/components/multiselect.es.js +54 -55
- package/dist/components/overlay.es.js +20 -15
- package/dist/components/pagination.es.js +111 -111
- package/dist/components/persistentToast.es.js +11 -11
- package/dist/components/popover.es.js +18 -18
- package/dist/components/popoverMenu.es.js +22 -22
- package/dist/components/progressBar.es.js +8 -8
- package/dist/components/quantitySelector.es.js +12 -12
- package/dist/components/radioButton.es.js +26 -26
- package/dist/components/selectionChip.es.js +5 -5
- package/dist/components/sidedrawer.es.js +19 -19
- package/dist/components/style/accordionGroup.css +1 -1
- package/dist/components/style/actionButton.css +1 -1
- package/dist/components/style/button.css +1 -1
- package/dist/components/style/checkbox.css +1 -1
- package/dist/components/style/datepicker.css +1 -1
- package/dist/components/style/directAccess.css +1 -1
- package/dist/components/style/dragAndDrop.css +1 -1
- package/dist/components/style/filterChip.css +1 -1
- package/dist/components/style/icon-svg.css +1 -1
- package/dist/components/style/iconList.css +1 -1
- package/dist/components/style/link.css +1 -1
- package/dist/components/style/modal.css +1 -1
- package/dist/components/style/overlay.css +1 -1
- package/dist/components/style/pagination.css +1 -1
- package/dist/components/style/persistentToast.css +1 -1
- package/dist/components/style/selectionChip.css +1 -1
- package/dist/components/style/sidedrawer.css +1 -1
- package/dist/components/style/tabBar.css +1 -1
- package/dist/components/style/tableslotedcomponent.css +1 -1
- package/dist/components/switch.es.js +9 -9
- package/dist/components/tabBar.es.js +32 -33
- package/dist/components/tablepaginatedcomponent.es.js +35 -36
- package/dist/components/tableslotedcomponent.es.js +116 -121
- package/dist/components/tag.es.js +6 -6
- package/dist/components/textArea.es.js +103 -106
- package/dist/components/textField.es.js +21 -22
- package/dist/components/toggle.es.js +23 -23
- package/dist/components/tooltip.es.js +59 -59
- package/dist/energy-components.css +1 -0
- package/dist/energy-components.es.js +8931 -24801
- package/dist/energy-components.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/src/components/icon-svg/icon-list.d.ts +8 -9
- package/dist/types/src/components/input/filter-chip/filter-chip.vue.d.ts +2 -2
- package/dist/types/src/components/input/selection-chip/selection-chip.vue.d.ts +2 -2
- package/dist/types/src/components/navigation/direct-access/direct-access.vue.d.ts +2 -2
- package/dist/types/src/components/navigation/link/link.vue.d.ts +5 -8
- package/dist/types/src/components/overlay/modal/modal.vue.d.ts +1 -1
- package/dist/types/src/helpers/functions.d.ts +1 -0
- package/dist/types/style.d.ts +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +24 -17
- package/dist/components/functions-DIHwdgF0.js +0 -18
- package/dist/components/icon-svg-K8-vLJgV.js +0 -16718
- package/dist/composables/index.es.js +0 -37
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
name: any;
|
|
3
|
-
code: any;
|
|
4
|
-
codes: any;
|
|
5
|
-
}[];
|
|
6
|
-
export declare const sortedIconList: any[];
|
|
1
|
+
export declare const sortedIconList: string[];
|
|
7
2
|
export declare const namedIconList: Record<string, {
|
|
8
|
-
name:
|
|
9
|
-
|
|
10
|
-
codes: any;
|
|
3
|
+
name: string;
|
|
4
|
+
codes: any[];
|
|
11
5
|
}>;
|
|
6
|
+
export declare function getIconLayers(name: string): number;
|
|
7
|
+
export declare const iconList: {
|
|
8
|
+
name: string;
|
|
9
|
+
codes: any[];
|
|
10
|
+
}[];
|
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
35
35
|
* Valor del filtro representado por el chip.
|
|
36
36
|
*/
|
|
37
37
|
filterValue: {
|
|
38
|
-
type: (StringConstructor | BooleanConstructor | NumberConstructor
|
|
38
|
+
type: (ObjectConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
39
39
|
required: true;
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
@@ -112,7 +112,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
112
112
|
* Valor del filtro representado por el chip.
|
|
113
113
|
*/
|
|
114
114
|
filterValue: {
|
|
115
|
-
type: (StringConstructor | BooleanConstructor | NumberConstructor
|
|
115
|
+
type: (ObjectConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
116
116
|
required: true;
|
|
117
117
|
};
|
|
118
118
|
/**
|
|
@@ -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 | NumberConstructor
|
|
23
|
+
type: (ObjectConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
24
24
|
required: true;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
82
82
|
* Valor del filtro representado por el chip.
|
|
83
83
|
*/
|
|
84
84
|
filterValue: {
|
|
85
|
-
type: (StringConstructor | BooleanConstructor | NumberConstructor
|
|
85
|
+
type: (ObjectConstructor | StringConstructor | BooleanConstructor | NumberConstructor)[];
|
|
86
86
|
required: true;
|
|
87
87
|
};
|
|
88
88
|
/**
|
|
@@ -79,7 +79,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
79
79
|
* Si se proporciona, el componente se renderizará como <a> o <router-link>.
|
|
80
80
|
*/
|
|
81
81
|
linkTo: {
|
|
82
|
-
type: (
|
|
82
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
83
83
|
default: string;
|
|
84
84
|
};
|
|
85
85
|
/**
|
|
@@ -154,7 +154,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
154
154
|
* Si se proporciona, el componente se renderizará como <a> o <router-link>.
|
|
155
155
|
*/
|
|
156
156
|
linkTo: {
|
|
157
|
-
type: (
|
|
157
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
158
158
|
default: string;
|
|
159
159
|
};
|
|
160
160
|
/**
|
|
@@ -10,13 +10,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
10
10
|
*/
|
|
11
11
|
text: {
|
|
12
12
|
type: StringConstructor;
|
|
13
|
-
default: undefined;
|
|
14
13
|
};
|
|
15
14
|
/**
|
|
16
|
-
* <span>Url a la que redirige el link
|
|
15
|
+
* <span>Url a la que redirige el link</span>
|
|
17
16
|
*/
|
|
18
17
|
to: {
|
|
19
|
-
type:
|
|
18
|
+
type: StringConstructor;
|
|
20
19
|
default: string;
|
|
21
20
|
};
|
|
22
21
|
/**
|
|
@@ -111,13 +110,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
111
110
|
*/
|
|
112
111
|
text: {
|
|
113
112
|
type: StringConstructor;
|
|
114
|
-
default: undefined;
|
|
115
113
|
};
|
|
116
114
|
/**
|
|
117
|
-
* <span>Url a la que redirige el link
|
|
115
|
+
* <span>Url a la que redirige el link</span>
|
|
118
116
|
*/
|
|
119
117
|
to: {
|
|
120
|
-
type:
|
|
118
|
+
type: StringConstructor;
|
|
121
119
|
default: string;
|
|
122
120
|
};
|
|
123
121
|
/**
|
|
@@ -209,11 +207,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
209
207
|
}>, {
|
|
210
208
|
color: string;
|
|
211
209
|
id: string;
|
|
212
|
-
text: string;
|
|
213
210
|
icon: Record<string, any>;
|
|
214
211
|
inverse: boolean;
|
|
215
212
|
disabled: boolean;
|
|
216
|
-
to: string
|
|
213
|
+
to: string;
|
|
217
214
|
right: boolean;
|
|
218
215
|
tag: string;
|
|
219
216
|
customClass: string;
|
|
@@ -164,8 +164,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
164
164
|
onOnToggleRequest?: (() => any) | undefined;
|
|
165
165
|
}>, {
|
|
166
166
|
open: boolean;
|
|
167
|
-
width: string | number;
|
|
168
167
|
id: string;
|
|
168
|
+
width: string | number;
|
|
169
169
|
teleport: string;
|
|
170
170
|
showClose: boolean;
|
|
171
171
|
preventClose: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare function debounce(func: (...args: any[]) => void, delay: number): () => void;
|
|
2
2
|
export declare function areArraysEqual(arr1: any[], arr2: any[]): boolean;
|
|
3
3
|
export declare function toggleElement<T>(array: T[], elemento: T, estado: boolean): T[];
|
|
4
|
+
export declare function sanitizeUrl(raw: string | undefined | null): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'energy-components/style';
|