@corvina/vue-components-library 0.0.6 → 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/vue-components-library",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "private": false,
5
5
  "main": "vue-components-library.es.js",
6
6
  "module": "vue-components-library.es.js",
@@ -162,21 +162,21 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
162
162
  "onUpdate:filters"?: (...args: any[]) => any;
163
163
  "onUpdate:filterBy"?: (...args: any[]) => any;
164
164
  }>, {
165
- icon: string;
166
- path: (string | {
167
- text: string;
168
- onClick: Function;
169
- })[];
170
- activeControl: CORVINA.BREADCRUMB.ACTIVE_CONTROL;
171
165
  showSearchBar: boolean;
166
+ showFilterChips: boolean;
172
167
  searchPlaceholder: string;
173
168
  searchModel: string;
174
- showFilterChips: boolean;
175
169
  filterChipsKeyPlaceholder: string;
176
170
  filterChipsValuePlaceholder: string;
177
171
  filterChipsLoadingText: string;
178
172
  filterChipsNoDataText: string;
179
173
  allowedFilters: CORVINA.BREADCRUMB.FILTER_BY[];
180
174
  filters: CORVINA.BREADCRUMB.FILTER[];
175
+ icon: string;
176
+ path: (string | {
177
+ text: string;
178
+ onClick: Function;
179
+ })[];
180
+ activeControl: CORVINA.BREADCRUMB.ACTIVE_CONTROL;
181
181
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
182
182
  export default _sfc_main;
@@ -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, ("currentPageChanged" | "currentItemsPerPageChanged" | "handleSorting" | "rowClicked" | "rowExpanded" | "update:searchModel" | "update:activeControl" | "update:filters" | "update:filterBy")[], "currentPageChanged" | "currentItemsPerPageChanged" | "handleSorting" | "rowClicked" | "rowExpanded" | "update:searchModel" | "update:activeControl" | "update:filters" | "update:filterBy", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
71
121
  headers: {
72
122
  type: __PropType<CORVINA.TABLE.TableHeaderEntries>;
73
123
  required: true;
@@ -134,12 +184,66 @@ 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<{
138
238
  onCurrentPageChanged?: (...args: any[]) => any;
139
239
  onCurrentItemsPerPageChanged?: (...args: any[]) => any;
140
240
  onHandleSorting?: (...args: any[]) => any;
141
241
  onRowClicked?: (...args: any[]) => any;
142
242
  onRowExpanded?: (...args: any[]) => any;
243
+ "onUpdate:searchModel"?: (...args: any[]) => any;
244
+ "onUpdate:activeControl"?: (...args: any[]) => any;
245
+ "onUpdate:filters"?: (...args: any[]) => any;
246
+ "onUpdate:filterBy"?: (...args: any[]) => any;
143
247
  }>, {
144
248
  headers: CORVINA.TABLE.TableHeaderEntries;
145
249
  items: any[];
@@ -156,5 +260,15 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
156
260
  sortBy: string;
157
261
  isExpandable: boolean;
158
262
  expandedRowIndex: number;
263
+ showSearchBar: boolean;
264
+ showFilterChips: boolean;
265
+ searchPlaceholder: string;
266
+ searchModel: string;
267
+ filterChipsKeyPlaceholder: string;
268
+ filterChipsValuePlaceholder: string;
269
+ filterChipsLoadingText: string;
270
+ filterChipsNoDataText: string;
271
+ allowedFilters: CORVINA.BREADCRUMB.FILTER_BY[];
272
+ filters: CORVINA.BREADCRUMB.FILTER[];
159
273
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
160
274
  export default _sfc_main;
@@ -182,10 +182,10 @@ declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractProp
182
182
  onOnInputChange?: (...args: any[]) => any;
183
183
  onConfirm?: (...args: any[]) => any;
184
184
  }>, {
185
- icon: string;
186
- loading: boolean;
187
185
  searchPlaceholder: string;
188
186
  searchModel: string;
187
+ icon: string;
188
+ loading: boolean;
189
189
  itemsTitleKey: string;
190
190
  itemsIdKey: string;
191
191
  useInfiniteLoader: boolean;
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
  }