quasar-factory-lib 0.0.49 → 0.0.50

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.
@@ -58,6 +58,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
58
58
  type: FunctionConstructor;
59
59
  default: () => void;
60
60
  };
61
+ additionalFilterConditions: {
62
+ type: FunctionConstructor;
63
+ default: () => void;
64
+ };
65
+ additionalSortConditions: {
66
+ type: FunctionConstructor;
67
+ default: () => void;
68
+ };
61
69
  }>, {}, {
62
70
  selected: never[];
63
71
  filter: string;
@@ -71,7 +79,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
71
79
  forceRender: boolean;
72
80
  totalPage: number;
73
81
  pageSize: number;
74
- filteredRows: object | [];
82
+ filteredRows: object[] | [];
75
83
  }, {
76
84
  getColumnsSelectorVisibility(): boolean;
77
85
  getTableInputSearchVisibility(): boolean;
@@ -98,10 +106,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
98
106
  toogleColumnsSelectorVisibility(): void;
99
107
  filterInputFocus(): void;
100
108
  toogleLoading(): void;
101
- customSortMethod(rows: any, sortBy: string, descending: boolean): any[];
102
- customFilter(rows: string | [], terms: {
109
+ customSortMethod(rows: object[] | [], sortBy: string, descending: boolean): any;
110
+ getSortedData(sortBy: string, data: object[] | [], descending: boolean): void;
111
+ containsSearchTermInRow(row: object, lowerSearch: string): boolean;
112
+ customFilter(rows: object[] | [], terms: {
103
113
  search: string;
104
- }): object[];
114
+ prepared: boolean;
115
+ }): any;
105
116
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectVisibleColumns" | "onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onRowClick")[], "onSelectVisibleColumns" | "onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onRowClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
106
117
  columns: {
107
118
  type: () => object[];
@@ -162,6 +173,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
162
173
  type: FunctionConstructor;
163
174
  default: () => void;
164
175
  };
176
+ additionalFilterConditions: {
177
+ type: FunctionConstructor;
178
+ default: () => void;
179
+ };
180
+ additionalSortConditions: {
181
+ type: FunctionConstructor;
182
+ default: () => void;
183
+ };
165
184
  }>> & Readonly<{
166
185
  onOnSelectVisibleColumns?: ((...args: any[]) => any) | undefined;
167
186
  onOnClickButton?: ((...args: any[]) => any) | undefined;
@@ -184,6 +203,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
184
203
  hideFilter: boolean;
185
204
  showSkeleton: boolean;
186
205
  filterComputedOptions: Record<string, any>;
206
+ additionalFilterConditions: Function;
207
+ additionalSortConditions: Function;
187
208
  }, {}, {
188
209
  TableSlotHeader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
189
210
  tableProps: {
@@ -395,6 +395,14 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
395
395
  type: FunctionConstructor;
396
396
  default: () => void;
397
397
  };
398
+ additionalFilterConditions: {
399
+ type: FunctionConstructor;
400
+ default: () => void;
401
+ };
402
+ additionalSortConditions: {
403
+ type: FunctionConstructor;
404
+ default: () => void;
405
+ };
398
406
  }>, {}, {
399
407
  selected: never[];
400
408
  filter: string;
@@ -408,7 +416,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
408
416
  forceRender: boolean;
409
417
  totalPage: number;
410
418
  pageSize: number;
411
- filteredRows: object | [];
419
+ filteredRows: object[] | [];
412
420
  }, {
413
421
  getColumnsSelectorVisibility(): boolean;
414
422
  getTableInputSearchVisibility(): boolean;
@@ -435,10 +443,13 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
435
443
  toogleColumnsSelectorVisibility(): void;
436
444
  filterInputFocus(): void;
437
445
  toogleLoading(): void;
438
- customSortMethod(rows: any, sortBy: string, descending: boolean): any[];
439
- customFilter(rows: string | [], terms: {
446
+ customSortMethod(rows: object[] | [], sortBy: string, descending: boolean): any;
447
+ getSortedData(sortBy: string, data: object[] | [], descending: boolean): void;
448
+ containsSearchTermInRow(row: object, lowerSearch: string): boolean;
449
+ customFilter(rows: object[] | [], terms: {
440
450
  search: string;
441
- }): object[];
451
+ prepared: boolean;
452
+ }): any;
442
453
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectVisibleColumns" | "onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onRowClick")[], "onSelectVisibleColumns" | "onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onRowClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
443
454
  columns: {
444
455
  type: () => object[];
@@ -499,6 +510,14 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
499
510
  type: FunctionConstructor;
500
511
  default: () => void;
501
512
  };
513
+ additionalFilterConditions: {
514
+ type: FunctionConstructor;
515
+ default: () => void;
516
+ };
517
+ additionalSortConditions: {
518
+ type: FunctionConstructor;
519
+ default: () => void;
520
+ };
502
521
  }>> & Readonly<{
503
522
  onOnSelectVisibleColumns?: ((...args: any[]) => any) | undefined;
504
523
  onOnClickButton?: ((...args: any[]) => any) | undefined;
@@ -521,6 +540,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
521
540
  hideFilter: boolean;
522
541
  showSkeleton: boolean;
523
542
  filterComputedOptions: Record<string, any>;
543
+ additionalFilterConditions: Function;
544
+ additionalSortConditions: Function;
524
545
  }, {}, {
525
546
  TableSlotHeader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
526
547
  tableProps: {
@@ -240,34 +240,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
240
240
  label: string;
241
241
  align: string;
242
242
  field: string;
243
- required?: undefined;
244
- sortable?: undefined;
245
- showBasicCheckbox?: undefined;
246
- showCustomizedIcon?: undefined;
247
- editable?: undefined;
248
- showEditIcon?: undefined;
249
- popupEditEmit?: undefined;
250
- popupEditInputtype?: undefined;
251
- popupEditDataCy?: undefined;
252
- popupEditMask?: undefined;
253
- showCustomizedButton?: undefined;
254
- btnIcon?: undefined;
255
- btnEmit?: undefined;
256
- dataCy?: undefined;
257
- btnColor?: undefined;
258
- format?: undefined;
259
- showCustomizedCheckBox?: undefined;
260
- checkedIcon?: undefined;
261
- uncheckedIcon?: undefined;
262
- checkBoxColorCaseTrue?: undefined;
263
- checkBoxColorCaseFalse?: undefined;
264
- checkBoxDataCy?: undefined;
265
- showInputPopupEdit?: undefined;
266
- } | {
267
- name: string;
268
- label: string;
269
- field: string;
270
- align: string;
271
243
  sortable: boolean;
272
244
  required?: undefined;
273
245
  showBasicCheckbox?: undefined;
@@ -309,8 +281,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
309
281
  iron: string;
310
282
  }[];
311
283
  visibleColumns: never[];
312
- sortDateValues: string[];
313
- filteredRows: never[];
314
284
  }, {}, {
315
285
  getRows(): void;
316
286
  saveSelectedColumns(columns: string[]): void;
@@ -321,6 +291,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
321
291
  onUpdateCustomizedCheckboxValue(rows: object[]): void;
322
292
  setItemNotFound(rows: object[]): void;
323
293
  getCellClass(row: any, col: any): "" | "text-color-negative-bold";
294
+ additionalFilterConditions(store_: {
295
+ prepared: boolean;
296
+ }, rows_: object[] | [], filteredRowsParam_: object[] | []): [] | object[];
297
+ additionalSortConditions(store_: any, filteredRowsData: any, rows: any): any[] | undefined;
324
298
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
325
299
  Table: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
326
300
  columns: {
@@ -382,6 +356,14 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
382
356
  type: FunctionConstructor;
383
357
  default: () => void;
384
358
  };
359
+ additionalFilterConditions: {
360
+ type: FunctionConstructor;
361
+ default: () => void;
362
+ };
363
+ additionalSortConditions: {
364
+ type: FunctionConstructor;
365
+ default: () => void;
366
+ };
385
367
  }>, {}, {
386
368
  selected: never[];
387
369
  filter: string;
@@ -395,7 +377,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
395
377
  forceRender: boolean;
396
378
  totalPage: number;
397
379
  pageSize: number;
398
- filteredRows: object | [];
380
+ filteredRows: object[] | [];
399
381
  }, {
400
382
  getColumnsSelectorVisibility(): boolean;
401
383
  getTableInputSearchVisibility(): boolean;
@@ -422,10 +404,13 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
422
404
  toogleColumnsSelectorVisibility(): void;
423
405
  filterInputFocus(): void;
424
406
  toogleLoading(): void;
425
- customSortMethod(rows: any, sortBy: string, descending: boolean): any[];
426
- customFilter(rows: string | [], terms: {
407
+ customSortMethod(rows: object[] | [], sortBy: string, descending: boolean): any;
408
+ getSortedData(sortBy: string, data: object[] | [], descending: boolean): void;
409
+ containsSearchTermInRow(row: object, lowerSearch: string): boolean;
410
+ customFilter(rows: object[] | [], terms: {
427
411
  search: string;
428
- }): object[];
412
+ prepared: boolean;
413
+ }): any;
429
414
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectVisibleColumns" | "onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onRowClick")[], "onSelectVisibleColumns" | "onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue" | "storeUpdated" | "deleteItem" | "openModalWithTable" | "setItemNotFound" | "onRowClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
430
415
  columns: {
431
416
  type: () => object[];
@@ -486,6 +471,14 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
486
471
  type: FunctionConstructor;
487
472
  default: () => void;
488
473
  };
474
+ additionalFilterConditions: {
475
+ type: FunctionConstructor;
476
+ default: () => void;
477
+ };
478
+ additionalSortConditions: {
479
+ type: FunctionConstructor;
480
+ default: () => void;
481
+ };
489
482
  }>> & Readonly<{
490
483
  onOnSelectVisibleColumns?: ((...args: any[]) => any) | undefined;
491
484
  onOnClickButton?: ((...args: any[]) => any) | undefined;
@@ -508,6 +501,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
508
501
  hideFilter: boolean;
509
502
  showSkeleton: boolean;
510
503
  filterComputedOptions: Record<string, any>;
504
+ additionalFilterConditions: Function;
505
+ additionalSortConditions: Function;
511
506
  }, {}, {
512
507
  TableSlotHeader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
513
508
  tableProps: {