@corvina/web-components-library 0.2.2 → 1.0.0-beta.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 (42) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +16 -2
  3. package/{theme/fonts → fonts}/ExorFontIcon.woff +0 -0
  4. package/icons-corvina-classes-font-face.css +821 -827
  5. package/index.d.ts +8 -5
  6. package/package.json +6 -8
  7. package/vscode.html-custom-data.json +13 -13
  8. package/web-components-library.cjs.js +24 -56
  9. package/web-components-library.css +2 -5
  10. package/web-components-library.es.d.ts +5 -2
  11. package/web-components-library.es.js +24946 -21111
  12. package/web-components-library.umd.js +24 -59
  13. package/web-components.d.ts +0 -1
  14. package/components/AnimatedButton.vue.d.ts +0 -197
  15. package/components/AutocompleteFilter.vue.d.ts +0 -144
  16. package/components/CorvinaBreadcrumb.ce.vue.d.ts +0 -105
  17. package/components/CorvinaBreadcrumbDivider.ce.vue.d.ts +0 -2
  18. package/components/CorvinaButton.ce.vue.d.ts +0 -84
  19. package/components/CorvinaIcon.ce.vue.d.ts +0 -35
  20. package/components/CorvinaIconInternal.vue.d.ts +0 -39
  21. package/components/CorvinaSelect.ce.vue.d.ts +0 -56
  22. package/components/CorvinaTable.ce.vue.d.ts +0 -176
  23. package/components/CustomRenderer.vue.d.ts +0 -15
  24. package/components/InfiniteLoaderAutocomplete.vue.d.ts +0 -21
  25. package/components/Searchbar.vue.d.ts +0 -105
  26. package/components/Slots.d.ts +0 -10
  27. package/components/TableHeader.vue.d.ts +0 -51
  28. package/corvina.png +0 -0
  29. package/favicon.ico +0 -0
  30. package/plugins/vuetify.d.ts +0 -3
  31. package/theme/blueprint.d.ts +0 -3
  32. package/theme/ecciconset.d.ts +0 -5
  33. package/theme/fonts/ExorFontIcon.eot +0 -0
  34. package/theme/fonts/ExorFontIcon.svg +0 -500
  35. package/theme/fonts/ExorFontIcon.ttf +0 -0
  36. package/theme/icons-list.d.ts +0 -1
  37. package/utils/webfontloader.d.ts +0 -1
  38. package/vue-components.d.ts +0 -25
  39. package/webcomponent-utils/external-styles.d.ts +0 -1
  40. package/webcomponent-utils/utils.d.ts +0 -2
  41. package/webcomponent-utils/web-component-creator.d.ts +0 -24
  42. package/webcomponent-utils/web-components.d.ts +0 -4
@@ -1,176 +0,0 @@
1
- import { CORVINA } from '../index';
2
-
3
- interface Props {
4
- headers: CORVINA.TABLE.TableHeaderEntries;
5
- items: any[];
6
- infiniteScroll?: boolean;
7
- pagination?: boolean;
8
- itemsPerPageOptions?: Array<{
9
- value: number;
10
- title: string;
11
- }>;
12
- itemsPerPage: number;
13
- currentPage: number;
14
- itemsLength: number;
15
- loadingBar?: boolean;
16
- rowClass?: string;
17
- sortDesc?: boolean;
18
- sortBy?: string;
19
- isExpandable?: boolean;
20
- propIsExpandable?: string;
21
- expandedRowIndex?: number;
22
- fixedHeader?: boolean;
23
- showSearchBar?: boolean;
24
- showFilterChips?: boolean;
25
- searchPlaceholder?: string;
26
- searchModel?: string;
27
- filterChipsKeyPlaceholder?: string;
28
- filterChipsValuePlaceholder?: string;
29
- filterChipsLoadingText?: string;
30
- filterChipsNoDataText?: string;
31
- allowedFilters?: Array<CORVINA.BREADCRUMB.FILTER_BY>;
32
- filters?: Array<CORVINA.BREADCRUMB.FILTER>;
33
- filtersCustomComponent?: CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
34
- }
35
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
36
- showSearchBar: boolean;
37
- showFilterChips: boolean;
38
- searchPlaceholder: string;
39
- searchModel: string;
40
- filterChipsKeyPlaceholder: string;
41
- filterChipsValuePlaceholder: string;
42
- filterChipsLoadingText: string;
43
- filterChipsNoDataText: string;
44
- allowedFilters: () => never[];
45
- filters: () => never[];
46
- filtersCustomComponent: () => CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
47
- headers: () => never[];
48
- items: () => never[];
49
- infiniteScroll: () => false;
50
- pagination: () => true;
51
- itemsPerPage: () => 5;
52
- itemsPerPageOptions: () => {
53
- value: number;
54
- title: string;
55
- }[];
56
- currentPage: () => 1;
57
- itemsLength: () => 0;
58
- loadingBar: () => false;
59
- rowClass: () => "";
60
- sortDesc: () => false;
61
- sortBy: () => "";
62
- isExpandable: () => false;
63
- propIsExpandable: () => "";
64
- expandedRowIndex: () => -1;
65
- fixedHeader: () => false;
66
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
67
- currentPageChanged: (value: number) => void;
68
- currentItemsPerPageChanged: (value: number) => void;
69
- handleSorting: (value: CORVINA.TABLE.TableHeaderEntry) => void;
70
- rowClicked: (index: number, item: any) => void;
71
- rowExpanded: (index: number) => void;
72
- "update:searchModel": (value: string) => void;
73
- "update:filters": (value: CORVINA.BREADCRUMB.FILTER[]) => void;
74
- "update:filterBy": (value: CORVINA.BREADCRUMB.FILTER_BY) => void;
75
- loadMore: (cb: CORVINA.TABLE.LoadMoreCallback) => void;
76
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
77
- showSearchBar: boolean;
78
- showFilterChips: boolean;
79
- searchPlaceholder: string;
80
- searchModel: string;
81
- filterChipsKeyPlaceholder: string;
82
- filterChipsValuePlaceholder: string;
83
- filterChipsLoadingText: string;
84
- filterChipsNoDataText: string;
85
- allowedFilters: () => never[];
86
- filters: () => never[];
87
- filtersCustomComponent: () => CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
88
- headers: () => never[];
89
- items: () => never[];
90
- infiniteScroll: () => false;
91
- pagination: () => true;
92
- itemsPerPage: () => 5;
93
- itemsPerPageOptions: () => {
94
- value: number;
95
- title: string;
96
- }[];
97
- currentPage: () => 1;
98
- itemsLength: () => 0;
99
- loadingBar: () => false;
100
- rowClass: () => "";
101
- sortDesc: () => false;
102
- sortBy: () => "";
103
- isExpandable: () => false;
104
- propIsExpandable: () => "";
105
- expandedRowIndex: () => -1;
106
- fixedHeader: () => false;
107
- }>>> & Readonly<{
108
- "onUpdate:searchModel"?: ((value: string) => any) | undefined;
109
- "onUpdate:filters"?: ((value: CORVINA.BREADCRUMB.FILTER[]) => any) | undefined;
110
- "onUpdate:filterBy"?: ((value: CORVINA.BREADCRUMB.FILTER_BY) => any) | undefined;
111
- onHandleSorting?: ((value: CORVINA.TABLE.TableHeaderEntry) => any) | undefined;
112
- onCurrentPageChanged?: ((value: number) => any) | undefined;
113
- onCurrentItemsPerPageChanged?: ((value: number) => any) | undefined;
114
- onRowExpanded?: ((index: number) => any) | undefined;
115
- onLoadMore?: ((cb: CORVINA.TABLE.LoadMoreCallback) => any) | undefined;
116
- onRowClicked?: ((index: number, item: any) => any) | undefined;
117
- }>, {
118
- filters: Array<CORVINA.BREADCRUMB.FILTER>;
119
- items: any[];
120
- searchPlaceholder: string;
121
- searchModel: string;
122
- showSearchBar: boolean;
123
- showFilterChips: boolean;
124
- filterChipsKeyPlaceholder: string;
125
- filterChipsValuePlaceholder: string;
126
- filterChipsLoadingText: string;
127
- filterChipsNoDataText: string;
128
- allowedFilters: Array<CORVINA.BREADCRUMB.FILTER_BY>;
129
- filtersCustomComponent: CORVINA.BREADCRUMB.CUSTOM_VUE_COMPONENT;
130
- sortDesc: boolean;
131
- sortBy: string;
132
- isExpandable: boolean;
133
- infiniteScroll: boolean;
134
- pagination: boolean;
135
- headers: CORVINA.TABLE.TableHeaderEntries;
136
- itemsPerPageOptions: Array<{
137
- value: number;
138
- title: string;
139
- }>;
140
- itemsPerPage: number;
141
- currentPage: number;
142
- itemsLength: number;
143
- loadingBar: boolean;
144
- rowClass: string;
145
- propIsExpandable: string;
146
- expandedRowIndex: number;
147
- fixedHeader: boolean;
148
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
149
- default?(_: {
150
- item: any;
151
- index: number;
152
- }): any;
153
- }>;
154
- export default _default;
155
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
156
- type __VLS_TypePropsToRuntimeProps<T> = {
157
- [K in keyof T]-?: {} extends Pick<T, K> ? {
158
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
159
- } : {
160
- type: import('vue').PropType<T[K]>;
161
- required: true;
162
- };
163
- };
164
- type __VLS_WithDefaults<P, D> = {
165
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
166
- default: D[K];
167
- }> : P[K];
168
- };
169
- type __VLS_Prettify<T> = {
170
- [K in keyof T]: T[K];
171
- } & {};
172
- type __VLS_WithTemplateSlots<T, S> = T & {
173
- new (): {
174
- $slots: S;
175
- };
176
- };
@@ -1,15 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
- element: HTMLElement | null;
3
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- element: HTMLElement | null;
5
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
@@ -1,21 +0,0 @@
1
- import { StateHandler } from 'v3-infinite-loading/lib/types';
2
-
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- identifier: number;
5
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- handler: ($state: StateHandler) => void;
7
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
- identifier: number;
9
- }>>> & Readonly<{
10
- onHandler?: (($state: StateHandler) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
- export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
@@ -1,105 +0,0 @@
1
- import { AUTOCOMPLETE_FILTER_FETCH_OPTIONS } from './AutocompleteFilter.vue';
2
-
3
- interface SearchProps {
4
- searchPlaceholder?: string;
5
- clearable?: boolean;
6
- highlightOnSearchActive?: boolean;
7
- clearOnConfirm?: boolean;
8
- confirmEnabled?: boolean;
9
- background?: string;
10
- icon?: string;
11
- iconEnabled?: boolean;
12
- searchModel?: string;
13
- isFilterActive?: boolean;
14
- isAutocomplete?: boolean;
15
- autocompleteItems?: Array<any>;
16
- itemsTitleKey?: string;
17
- itemsIdKey?: string;
18
- loading?: boolean;
19
- useInfiniteLoader?: boolean;
20
- loadingText?: string;
21
- noDataText?: string;
22
- }
23
- declare function resetSearch(): void;
24
- declare function clear(): void;
25
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SearchProps>, {
26
- background: string;
27
- clearable: boolean;
28
- confirmEnabled: boolean;
29
- clearOnConfirm: boolean;
30
- icon: string;
31
- iconEnabled: boolean;
32
- searchModel: string;
33
- searchPlaceholder: string;
34
- highlightOnSearchActive: boolean;
35
- isFilterActive: boolean;
36
- isAutocomplete: boolean;
37
- autocompleteItems: () => never[];
38
- itemsTitleKey: string;
39
- itemsIdKey: string;
40
- loading: boolean;
41
- useInfiniteLoader: boolean;
42
- }>>, {
43
- clear: typeof clear;
44
- resetSearch: typeof resetSearch;
45
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
- onInputChange: (value: string) => void;
47
- confirm: (value: string) => void;
48
- fetchData: (options: AUTOCOMPLETE_FILTER_FETCH_OPTIONS) => void;
49
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SearchProps>, {
50
- background: string;
51
- clearable: boolean;
52
- confirmEnabled: boolean;
53
- clearOnConfirm: boolean;
54
- icon: string;
55
- iconEnabled: boolean;
56
- searchModel: string;
57
- searchPlaceholder: string;
58
- highlightOnSearchActive: boolean;
59
- isFilterActive: boolean;
60
- isAutocomplete: boolean;
61
- autocompleteItems: () => never[];
62
- itemsTitleKey: string;
63
- itemsIdKey: string;
64
- loading: boolean;
65
- useInfiniteLoader: boolean;
66
- }>>> & Readonly<{
67
- onFetchData?: ((options: AUTOCOMPLETE_FILTER_FETCH_OPTIONS) => any) | undefined;
68
- onOnInputChange?: ((value: string) => any) | undefined;
69
- onConfirm?: ((value: string) => any) | undefined;
70
- }>, {
71
- loading: boolean;
72
- icon: string;
73
- itemsTitleKey: string;
74
- itemsIdKey: string;
75
- useInfiniteLoader: boolean;
76
- clearable: boolean;
77
- searchPlaceholder: string;
78
- highlightOnSearchActive: boolean;
79
- clearOnConfirm: boolean;
80
- confirmEnabled: boolean;
81
- background: string;
82
- iconEnabled: boolean;
83
- searchModel: string;
84
- isFilterActive: boolean;
85
- isAutocomplete: boolean;
86
- autocompleteItems: Array<any>;
87
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
88
- export default _default;
89
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
90
- type __VLS_TypePropsToRuntimeProps<T> = {
91
- [K in keyof T]-?: {} extends Pick<T, K> ? {
92
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
93
- } : {
94
- type: import('vue').PropType<T[K]>;
95
- required: true;
96
- };
97
- };
98
- type __VLS_WithDefaults<P, D> = {
99
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
100
- default: D[K];
101
- }> : P[K];
102
- };
103
- type __VLS_Prettify<T> = {
104
- [K in keyof T]: T[K];
105
- } & {};
@@ -1,10 +0,0 @@
1
- export declare const CorvinaTableSlots: {
2
- default: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
3
- [key: string]: any;
4
- }>;
5
- };
6
- export declare const CorvinaBreadcrumbSlots: {
7
- default: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
8
- [key: string]: any;
9
- }>;
10
- };
@@ -1,51 +0,0 @@
1
- import { CORVINA } from '../index';
2
-
3
- interface Props {
4
- columns: CORVINA.TABLE.TableHeaderEntries;
5
- sortDesc: boolean;
6
- sortBy: string;
7
- isExpandable?: boolean;
8
- }
9
- export declare const expansionColumnHeader: CORVINA.TABLE.TableHeaderEntry;
10
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
11
- columns: () => never[];
12
- sortDesc: boolean;
13
- sortBy: string;
14
- isExpandable: () => false;
15
- infiniteScroll: () => false;
16
- pagination: () => true;
17
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
- handleSorting: (...args: any[]) => void;
19
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
20
- columns: () => never[];
21
- sortDesc: boolean;
22
- sortBy: string;
23
- isExpandable: () => false;
24
- infiniteScroll: () => false;
25
- pagination: () => true;
26
- }>>> & Readonly<{
27
- onHandleSorting?: ((...args: any[]) => any) | undefined;
28
- }>, {
29
- columns: CORVINA.TABLE.TableHeaderEntries;
30
- sortDesc: boolean;
31
- sortBy: string;
32
- isExpandable: boolean;
33
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
34
- export default _default;
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToRuntimeProps<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
44
- type __VLS_WithDefaults<P, D> = {
45
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
- default: D[K];
47
- }> : P[K];
48
- };
49
- type __VLS_Prettify<T> = {
50
- [K in keyof T]: T[K];
51
- } & {};
package/corvina.png DELETED
Binary file
package/favicon.ico DELETED
Binary file
@@ -1,3 +0,0 @@
1
- import { VuetifyOptions } from 'vuetify';
2
-
3
- export declare function buildVuetifyOptions(locale?: string, shouldLoadTheme?: boolean, components?: Record<string, any>): VuetifyOptions;
@@ -1,3 +0,0 @@
1
- import { Blueprint } from 'vuetify';
2
-
3
- export declare const bp_cc2: Blueprint;
@@ -1,5 +0,0 @@
1
- import { IconSet, IconAliases } from 'vuetify';
2
-
3
- declare const aliases: IconAliases | undefined;
4
- declare const ecc: IconSet;
5
- export { aliases, ecc };
Binary file