quasar-factory-lib 0.0.47 → 0.0.49

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.
@@ -11,14 +11,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
11
  type: () => string[];
12
12
  required: true;
13
13
  };
14
- filterMethod: {
15
- type: FunctionConstructor;
16
- default: () => void;
17
- };
18
- sortMethod: {
19
- type: FunctionConstructor;
20
- default: () => void;
21
- };
22
14
  selectionType: {
23
15
  type: () => "none" | "single" | "multiple";
24
16
  default: string;
@@ -62,6 +54,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
62
54
  type: ObjectConstructor;
63
55
  default: {};
64
56
  };
57
+ getCellClass: {
58
+ type: FunctionConstructor;
59
+ default: () => void;
60
+ };
65
61
  }>, {}, {
66
62
  selected: never[];
67
63
  filter: string;
@@ -75,6 +71,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
75
71
  forceRender: boolean;
76
72
  totalPage: number;
77
73
  pageSize: number;
74
+ filteredRows: object | [];
78
75
  }, {
79
76
  getColumnsSelectorVisibility(): boolean;
80
77
  getTableInputSearchVisibility(): boolean;
@@ -101,6 +98,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
101
98
  toogleColumnsSelectorVisibility(): void;
102
99
  filterInputFocus(): void;
103
100
  toogleLoading(): void;
101
+ customSortMethod(rows: any, sortBy: string, descending: boolean): any[];
102
+ customFilter(rows: string | [], terms: {
103
+ search: string;
104
+ }): object[];
104
105
  }, 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<{
105
106
  columns: {
106
107
  type: () => object[];
@@ -114,14 +115,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
114
115
  type: () => string[];
115
116
  required: true;
116
117
  };
117
- filterMethod: {
118
- type: FunctionConstructor;
119
- default: () => void;
120
- };
121
- sortMethod: {
122
- type: FunctionConstructor;
123
- default: () => void;
124
- };
125
118
  selectionType: {
126
119
  type: () => "none" | "single" | "multiple";
127
120
  default: string;
@@ -165,6 +158,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
165
158
  type: ObjectConstructor;
166
159
  default: {};
167
160
  };
161
+ getCellClass: {
162
+ type: FunctionConstructor;
163
+ default: () => void;
164
+ };
168
165
  }>> & Readonly<{
169
166
  onOnSelectVisibleColumns?: ((...args: any[]) => any) | undefined;
170
167
  onOnClickButton?: ((...args: any[]) => any) | undefined;
@@ -179,8 +176,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
179
176
  }>, {
180
177
  selectionType: "none" | "multiple" | "single";
181
178
  popupEditNumberOptions: unknown[];
182
- filterMethod: Function;
183
- sortMethod: Function;
179
+ getCellClass: Function;
184
180
  rowKey: string;
185
181
  tableStyle: string;
186
182
  tableId: string;
@@ -258,6 +254,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
258
254
  type: StringConstructor;
259
255
  default: string;
260
256
  };
257
+ getCellClass: {
258
+ type: FunctionConstructor;
259
+ default: () => void;
260
+ };
261
261
  }>, {}, {
262
262
  tablePropsData: Record<string, any>;
263
263
  }, {}, {
@@ -276,6 +276,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
276
276
  type: StringConstructor;
277
277
  default: string;
278
278
  };
279
+ getCellClass: {
280
+ type: FunctionConstructor;
281
+ default: () => void;
282
+ };
279
283
  }>> & Readonly<{
280
284
  onOnClickButton?: ((...args: any[]) => any) | undefined;
281
285
  onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
@@ -283,6 +287,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
283
287
  onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
284
288
  }>, {
285
289
  selectionType: string;
290
+ getCellClass: Function;
286
291
  }, {}, {
287
292
  TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
288
293
  model: {
@@ -543,6 +548,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
543
548
  popupEditNumberOptions: {
544
549
  type: ArrayConstructor;
545
550
  };
551
+ getCellClass: {
552
+ type: FunctionConstructor;
553
+ default: () => void;
554
+ };
546
555
  }>, {}, {
547
556
  tablePropsData: Record<string, any>;
548
557
  selected: boolean;
@@ -565,6 +574,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
565
574
  popupEditNumberOptions: {
566
575
  type: ArrayConstructor;
567
576
  };
577
+ getCellClass: {
578
+ type: FunctionConstructor;
579
+ default: () => void;
580
+ };
568
581
  }>> & Readonly<{
569
582
  onOnClickButton?: ((...args: any[]) => any) | undefined;
570
583
  onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
@@ -572,6 +585,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
572
585
  onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
573
586
  }>, {
574
587
  selectionType: string;
588
+ getCellClass: Function;
575
589
  }, {}, {
576
590
  TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
577
591
  model: {
@@ -7,6 +7,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
7
7
  type: StringConstructor;
8
8
  default: string;
9
9
  };
10
+ getCellClass: {
11
+ type: FunctionConstructor;
12
+ default: () => void;
13
+ };
10
14
  }>, {}, {
11
15
  tablePropsData: Record<string, any>;
12
16
  }, {}, {
@@ -25,6 +29,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
25
29
  type: StringConstructor;
26
30
  default: string;
27
31
  };
32
+ getCellClass: {
33
+ type: FunctionConstructor;
34
+ default: () => void;
35
+ };
28
36
  }>> & Readonly<{
29
37
  onOnClickButton?: ((...args: any[]) => any) | undefined;
30
38
  onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
@@ -32,6 +40,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
40
  onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
33
41
  }>, {
34
42
  selectionType: string;
43
+ getCellClass: Function;
35
44
  }, {}, {
36
45
  TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
37
46
  model: {
@@ -10,6 +10,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
10
10
  popupEditNumberOptions: {
11
11
  type: ArrayConstructor;
12
12
  };
13
+ getCellClass: {
14
+ type: FunctionConstructor;
15
+ default: () => void;
16
+ };
13
17
  }>, {}, {
14
18
  tablePropsData: Record<string, any>;
15
19
  selected: boolean;
@@ -32,6 +36,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
36
  popupEditNumberOptions: {
33
37
  type: ArrayConstructor;
34
38
  };
39
+ getCellClass: {
40
+ type: FunctionConstructor;
41
+ default: () => void;
42
+ };
35
43
  }>> & Readonly<{
36
44
  onOnClickButton?: ((...args: any[]) => any) | undefined;
37
45
  onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
@@ -39,6 +47,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
39
47
  onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
40
48
  }>, {
41
49
  selectionType: string;
50
+ getCellClass: Function;
42
51
  }, {}, {
43
52
  TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
44
53
  model: {
@@ -3,7 +3,7 @@ declare const filterMethod: {
3
3
  filteredRows: object[] | [];
4
4
  }, rows: string | [], terms: {
5
5
  search: string;
6
- }): object[] | [];
6
+ }): object[];
7
7
  containsSearchTermInRow(row: object, lowerSearch: string): boolean;
8
8
  };
9
9
  export default filterMethod;
@@ -1,18 +1,15 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {}, {
2
2
  showDialog: boolean;
3
- forceRender: boolean;
4
3
  store: import("pinia").Store<"tableStore", {
5
4
  disableScannerButtons: import("@vueuse/shared").RemovableRef<boolean>;
6
5
  filterValue: import("@vueuse/shared").RemovableRef<string>;
7
6
  lastFilterValue: import("@vueuse/shared").RemovableRef<string>;
8
7
  visiblecolumns: import("@vueuse/shared").RemovableRef<never[]>;
9
- preparedQuantity: import("@vueuse/shared").RemovableRef<boolean>;
8
+ prepared: import("@vueuse/shared").RemovableRef<boolean>;
10
9
  }, {}, {
11
10
  setFilterValue(val: any): void;
12
11
  cleanTableFilter(): void;
13
12
  }>;
14
- totalPage: number;
15
- pageSize: number;
16
13
  tableStyle: string;
17
14
  columns: ({
18
15
  name: string;
@@ -274,10 +271,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
274
271
  iron: string;
275
272
  }[];
276
273
  visibleColumns: never[];
277
- }, {
278
- pageLength(): number;
279
- filter(): object;
280
- }, {
274
+ }, {}, {
281
275
  saveSelectedColumns(columns: string[]): void;
282
276
  filterMethod(rows: string | [], terms: {
283
277
  search: string;
@@ -354,14 +348,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
354
348
  type: () => string[];
355
349
  required: true;
356
350
  };
357
- filterMethod: {
358
- type: FunctionConstructor;
359
- default: () => void;
360
- };
361
- sortMethod: {
362
- type: FunctionConstructor;
363
- default: () => void;
364
- };
365
351
  selectionType: {
366
352
  type: () => "none" | "single" | "multiple";
367
353
  default: string;
@@ -405,6 +391,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
405
391
  type: ObjectConstructor;
406
392
  default: {};
407
393
  };
394
+ getCellClass: {
395
+ type: FunctionConstructor;
396
+ default: () => void;
397
+ };
408
398
  }>, {}, {
409
399
  selected: never[];
410
400
  filter: string;
@@ -418,6 +408,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
418
408
  forceRender: boolean;
419
409
  totalPage: number;
420
410
  pageSize: number;
411
+ filteredRows: object | [];
421
412
  }, {
422
413
  getColumnsSelectorVisibility(): boolean;
423
414
  getTableInputSearchVisibility(): boolean;
@@ -444,6 +435,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
444
435
  toogleColumnsSelectorVisibility(): void;
445
436
  filterInputFocus(): void;
446
437
  toogleLoading(): void;
438
+ customSortMethod(rows: any, sortBy: string, descending: boolean): any[];
439
+ customFilter(rows: string | [], terms: {
440
+ search: string;
441
+ }): object[];
447
442
  }, 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<{
448
443
  columns: {
449
444
  type: () => object[];
@@ -457,14 +452,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
457
452
  type: () => string[];
458
453
  required: true;
459
454
  };
460
- filterMethod: {
461
- type: FunctionConstructor;
462
- default: () => void;
463
- };
464
- sortMethod: {
465
- type: FunctionConstructor;
466
- default: () => void;
467
- };
468
455
  selectionType: {
469
456
  type: () => "none" | "single" | "multiple";
470
457
  default: string;
@@ -508,6 +495,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
508
495
  type: ObjectConstructor;
509
496
  default: {};
510
497
  };
498
+ getCellClass: {
499
+ type: FunctionConstructor;
500
+ default: () => void;
501
+ };
511
502
  }>> & Readonly<{
512
503
  onOnSelectVisibleColumns?: ((...args: any[]) => any) | undefined;
513
504
  onOnClickButton?: ((...args: any[]) => any) | undefined;
@@ -522,8 +513,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
522
513
  }>, {
523
514
  selectionType: "none" | "multiple" | "single";
524
515
  popupEditNumberOptions: unknown[];
525
- filterMethod: Function;
526
- sortMethod: Function;
516
+ getCellClass: Function;
527
517
  rowKey: string;
528
518
  tableStyle: string;
529
519
  tableId: string;
@@ -601,6 +591,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
601
591
  type: StringConstructor;
602
592
  default: string;
603
593
  };
594
+ getCellClass: {
595
+ type: FunctionConstructor;
596
+ default: () => void;
597
+ };
604
598
  }>, {}, {
605
599
  tablePropsData: Record<string, any>;
606
600
  }, {}, {
@@ -619,6 +613,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
619
613
  type: StringConstructor;
620
614
  default: string;
621
615
  };
616
+ getCellClass: {
617
+ type: FunctionConstructor;
618
+ default: () => void;
619
+ };
622
620
  }>> & Readonly<{
623
621
  onOnClickButton?: ((...args: any[]) => any) | undefined;
624
622
  onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
@@ -626,6 +624,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
626
624
  onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
627
625
  }>, {
628
626
  selectionType: string;
627
+ getCellClass: Function;
629
628
  }, {}, {
630
629
  TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
631
630
  model: {
@@ -886,6 +885,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
886
885
  popupEditNumberOptions: {
887
886
  type: ArrayConstructor;
888
887
  };
888
+ getCellClass: {
889
+ type: FunctionConstructor;
890
+ default: () => void;
891
+ };
889
892
  }>, {}, {
890
893
  tablePropsData: Record<string, any>;
891
894
  selected: boolean;
@@ -908,6 +911,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
908
911
  popupEditNumberOptions: {
909
912
  type: ArrayConstructor;
910
913
  };
914
+ getCellClass: {
915
+ type: FunctionConstructor;
916
+ default: () => void;
917
+ };
911
918
  }>> & Readonly<{
912
919
  onOnClickButton?: ((...args: any[]) => any) | undefined;
913
920
  onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
@@ -915,6 +922,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
915
922
  onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
916
923
  }>, {
917
924
  selectionType: string;
925
+ getCellClass: Function;
918
926
  }, {}, {
919
927
  TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
920
928
  model: {