@corvina/web-components-library 0.0.5 → 0.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corvina/web-components-library",
3
- "version": "0.0.5",
3
+ "version": "0.0.8",
4
4
  "private": false,
5
5
  "main": "web-components-library.umd.js",
6
6
  "module": "web-components-library.es.js",
@@ -67,7 +67,57 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
67
67
  required: false;
68
68
  default: () => number;
69
69
  };
70
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("currentPageChanged" | "currentItemsPerPageChanged" | "handleSorting" | "rowClicked" | "rowExpanded")[], "currentPageChanged" | "currentItemsPerPageChanged" | "handleSorting" | "rowClicked" | "rowExpanded", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
70
+ showSearchBar: {
71
+ type: __PropType<boolean>;
72
+ required: false;
73
+ default: boolean;
74
+ };
75
+ showFilterChips: {
76
+ type: __PropType<boolean>;
77
+ required: false;
78
+ default: boolean;
79
+ };
80
+ searchPlaceholder: {
81
+ type: __PropType<string>;
82
+ required: false;
83
+ default: string;
84
+ };
85
+ searchModel: {
86
+ type: __PropType<string>;
87
+ required: false;
88
+ default: string;
89
+ };
90
+ filterChipsKeyPlaceholder: {
91
+ type: __PropType<string>;
92
+ required: false;
93
+ default: string;
94
+ };
95
+ filterChipsValuePlaceholder: {
96
+ type: __PropType<string>;
97
+ required: false;
98
+ default: string;
99
+ };
100
+ filterChipsLoadingText: {
101
+ type: __PropType<string>;
102
+ required: false;
103
+ default: string;
104
+ };
105
+ filterChipsNoDataText: {
106
+ type: __PropType<string>;
107
+ required: false;
108
+ default: string;
109
+ };
110
+ allowedFilters: {
111
+ type: __PropType<CORVINA.BREADCRUMB.FILTER_BY[]>;
112
+ required: false;
113
+ default: () => any[];
114
+ };
115
+ filters: {
116
+ type: __PropType<CORVINA.BREADCRUMB.FILTER[]>;
117
+ required: false;
118
+ default: () => any[];
119
+ };
120
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:searchModel" | "update:activeControl" | "update:filters" | "update:filterBy" | "currentPageChanged" | "currentItemsPerPageChanged" | "handleSorting" | "rowClicked" | "rowExpanded")[], "update:searchModel" | "update:activeControl" | "update:filters" | "update:filterBy" | "currentPageChanged" | "currentItemsPerPageChanged" | "handleSorting" | "rowClicked" | "rowExpanded", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
71
121
  headers: {
72
122
  type: __PropType<CORVINA.TABLE.TableHeaderEntries>;
73
123
  required: true;
@@ -134,7 +184,61 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
134
184
  required: false;
135
185
  default: () => number;
136
186
  };
187
+ showSearchBar: {
188
+ type: __PropType<boolean>;
189
+ required: false;
190
+ default: boolean;
191
+ };
192
+ showFilterChips: {
193
+ type: __PropType<boolean>;
194
+ required: false;
195
+ default: boolean;
196
+ };
197
+ searchPlaceholder: {
198
+ type: __PropType<string>;
199
+ required: false;
200
+ default: string;
201
+ };
202
+ searchModel: {
203
+ type: __PropType<string>;
204
+ required: false;
205
+ default: string;
206
+ };
207
+ filterChipsKeyPlaceholder: {
208
+ type: __PropType<string>;
209
+ required: false;
210
+ default: string;
211
+ };
212
+ filterChipsValuePlaceholder: {
213
+ type: __PropType<string>;
214
+ required: false;
215
+ default: string;
216
+ };
217
+ filterChipsLoadingText: {
218
+ type: __PropType<string>;
219
+ required: false;
220
+ default: string;
221
+ };
222
+ filterChipsNoDataText: {
223
+ type: __PropType<string>;
224
+ required: false;
225
+ default: string;
226
+ };
227
+ allowedFilters: {
228
+ type: __PropType<CORVINA.BREADCRUMB.FILTER_BY[]>;
229
+ required: false;
230
+ default: () => any[];
231
+ };
232
+ filters: {
233
+ type: __PropType<CORVINA.BREADCRUMB.FILTER[]>;
234
+ required: false;
235
+ default: () => any[];
236
+ };
137
237
  }>> & Readonly<{
238
+ "onUpdate:searchModel"?: (...args: any[]) => any;
239
+ "onUpdate:activeControl"?: (...args: any[]) => any;
240
+ "onUpdate:filters"?: (...args: any[]) => any;
241
+ "onUpdate:filterBy"?: (...args: any[]) => any;
138
242
  onCurrentPageChanged?: (...args: any[]) => any;
139
243
  onCurrentItemsPerPageChanged?: (...args: any[]) => any;
140
244
  onHandleSorting?: (...args: any[]) => any;
@@ -142,6 +246,16 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
142
246
  onRowExpanded?: (...args: any[]) => any;
143
247
  }>, {
144
248
  items: any[];
249
+ filters: CORVINA.BREADCRUMB.FILTER[];
250
+ showSearchBar: boolean;
251
+ searchPlaceholder: string;
252
+ searchModel: string;
253
+ showFilterChips: boolean;
254
+ filterChipsKeyPlaceholder: string;
255
+ filterChipsValuePlaceholder: string;
256
+ filterChipsLoadingText: string;
257
+ filterChipsNoDataText: string;
258
+ allowedFilters: CORVINA.BREADCRUMB.FILTER_BY[];
145
259
  headers: CORVINA.TABLE.TableHeaderEntries;
146
260
  itemsPerPageOptions: {
147
261
  value: number;
package/src/index.d.ts CHANGED
@@ -203,7 +203,9 @@ export declare namespace CORVINA {
203
203
  /** Name of the property of the item object containing an array of objects with text properties for the menu item name */
204
204
  propMenu?: string;
205
205
  /** Name of the property of the item object containing an object with additional attributes to add to the cell (td) */
206
- propCellAttributes?: Record<string, any>;
206
+ propCellAttributes?: string;
207
+ /** Name of the property of the item object containing an integer that will be used as colspan for the cell */
208
+ propColspan?: string;
207
209
  /** Name of the property of the item object entry */
208
210
  alignTooltip?: Anchor;
209
211
  }