@corvina/web-components-library 0.2.2 → 0.2.3
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 +11 -2
- package/components/Searchbar.vue.d.ts +8 -0
- package/{theme/fonts → fonts}/ExorFontIcon.woff +0 -0
- package/icons-corvina-classes-font-face.css +821 -827
- package/index.d.ts +8 -4
- package/package.json +17 -9
- package/web-components-library.cjs.js +18 -12
- package/web-components-library.es.js +8453 -8436
- package/web-components-library.umd.js +20 -14
- package/webcomponent-utils/utils.d.ts +1 -2
- package/theme/fonts/ExorFontIcon.eot +0 -0
- package/theme/fonts/ExorFontIcon.svg +0 -500
- package/theme/fonts/ExorFontIcon.ttf +0 -0
- package/webcomponent-utils/external-styles.d.ts +0 -1
package/index.d.ts
CHANGED
|
@@ -58,9 +58,9 @@ export declare namespace CORVINA {
|
|
|
58
58
|
* Required if type is FILTER_BY_ENUM.AUTOCOMPLETE.
|
|
59
59
|
*/
|
|
60
60
|
searchFunction?: (search: string, page: number) => Array<any> | Promise<Array<any>>;
|
|
61
|
-
/** Property on the items returned by the `searchFunction` that contains the title. Required if type is FILTER_BY_ENUM.AUTOCOMPLETE. */
|
|
61
|
+
/** Property on the items returned by the `searchFunction` that contains the title, shown in the options and in the chip (`FILTER.title`). Required if type is FILTER_BY_ENUM.AUTOCOMPLETE. */
|
|
62
62
|
itemsTitleKey?: string;
|
|
63
|
-
/** Property on the items returned by the `searchFunction` that contains the identifier. Required if type is FILTER_BY_ENUM.AUTOCOMPLETE. */
|
|
63
|
+
/** Property on the items returned by the `searchFunction` that contains the identifier, used as `FILTER.value` of the selected item. Required if type is FILTER_BY_ENUM.AUTOCOMPLETE. */
|
|
64
64
|
itemsIdKey?: string;
|
|
65
65
|
/** Placeholder to display in the filter value input. */
|
|
66
66
|
filterValuePlaceholder?: string;
|
|
@@ -69,8 +69,10 @@ export declare namespace CORVINA {
|
|
|
69
69
|
interface FILTER {
|
|
70
70
|
/** Unique key for the filter */
|
|
71
71
|
key: string;
|
|
72
|
-
/** Value of the filter */
|
|
73
|
-
value: string;
|
|
72
|
+
/** Value of the filter: the entered text for FILTER_BY_ENUM.FREE_TEXT, the `itemsIdKey` property of the selected item for FILTER_BY_ENUM.AUTOCOMPLETE */
|
|
73
|
+
value: string | number;
|
|
74
|
+
/** Text shown in the chip instead of the value: the `itemsTitleKey` property of the selected item for FILTER_BY_ENUM.AUTOCOMPLETE */
|
|
75
|
+
title?: string;
|
|
74
76
|
}
|
|
75
77
|
interface CUSTOM_VUE_COMPONENT {
|
|
76
78
|
/** Name of the Vue component or Vue component definition */
|
|
@@ -156,6 +158,8 @@ export declare namespace CORVINA {
|
|
|
156
158
|
label?: string;
|
|
157
159
|
tooltip?: string;
|
|
158
160
|
icon?: string;
|
|
161
|
+
/** If true the button becomes a spinner */
|
|
162
|
+
loading?: boolean;
|
|
159
163
|
function: (item: any) => void;
|
|
160
164
|
}
|
|
161
165
|
type PropButtonEntries = PropButtonEntry[];
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corvina/web-components-library",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Corvina web components (custom elements)",
|
|
6
6
|
"homepage": "https://docs.components.corvina.cloud/",
|
|
7
|
-
"
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Corvina-R-D/corvina-components-library.git"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"corvina",
|
|
13
|
+
"web-components",
|
|
14
|
+
"custom-elements",
|
|
15
|
+
"vuetify"
|
|
16
|
+
],
|
|
8
17
|
"main": "web-components-library.umd.js",
|
|
9
18
|
"module": "web-components-library.es.js",
|
|
10
19
|
"types": "web-components-library.es.d.ts",
|
|
11
20
|
"files": [
|
|
12
|
-
|
|
13
|
-
|
|
21
|
+
"*",
|
|
22
|
+
"**/*"
|
|
14
23
|
],
|
|
15
24
|
"dependencies": {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
25
|
+
"v3-infinite-loading": "^1.3.2",
|
|
26
|
+
"vue": "^3.4.21",
|
|
27
|
+
"vuetify": "^3.7.5"
|
|
19
28
|
},
|
|
20
29
|
"packageManager": "pnpm@9.1.1+sha1.09ada6cd05003e0ced25fb716f9fda4063ec2e3b"
|
|
21
|
-
|
|
22
|
-
|
|
30
|
+
}
|