quasar-factory-lib 0.0.47 → 0.0.48
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/dist/components/Table/Table.vue.d.ts +28 -9
- package/dist/components/Table/components/TableSlotBody.vue.d.ts +9 -0
- package/dist/components/Table/components/TableSlotGrid.vue.d.ts +9 -0
- package/dist/layouts/PdaLayout.vue.d.ts +29 -17
- package/dist/pages/TablePage.vue.d.ts +83 -45
- package/dist/quasar-factory-lib.js +1385 -1351
- package/dist/quasar-factory-lib.umd.cjs +9 -9
- package/dist/store/table.d.ts +0 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Table/Table.vue +67 -5
- package/src/components/Table/components/TableSlotBody.vue +5 -1
- package/src/components/Table/components/TableSlotGrid.vue +5 -1
- package/src/css/app.css +10 -1
- package/src/layouts/PdaLayout.vue +0 -15
- package/src/pages/TablePage.vue +105 -43
- package/src/store/table.js +1 -2
|
@@ -15,10 +15,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
type: FunctionConstructor;
|
|
16
16
|
default: () => void;
|
|
17
17
|
};
|
|
18
|
-
sortMethod: {
|
|
19
|
-
type: FunctionConstructor;
|
|
20
|
-
default: () => void;
|
|
21
|
-
};
|
|
22
18
|
selectionType: {
|
|
23
19
|
type: () => "none" | "single" | "multiple";
|
|
24
20
|
default: string;
|
|
@@ -62,6 +58,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
62
58
|
type: ObjectConstructor;
|
|
63
59
|
default: {};
|
|
64
60
|
};
|
|
61
|
+
getCellClass: {
|
|
62
|
+
type: FunctionConstructor;
|
|
63
|
+
default: () => void;
|
|
64
|
+
};
|
|
65
65
|
}>, {}, {
|
|
66
66
|
selected: never[];
|
|
67
67
|
filter: string;
|
|
@@ -101,6 +101,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
101
101
|
toogleColumnsSelectorVisibility(): void;
|
|
102
102
|
filterInputFocus(): void;
|
|
103
103
|
toogleLoading(): void;
|
|
104
|
+
customSortMethod(rows: any, sortBy: string, descending: boolean): any[];
|
|
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[];
|
|
@@ -118,10 +119,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
118
119
|
type: FunctionConstructor;
|
|
119
120
|
default: () => void;
|
|
120
121
|
};
|
|
121
|
-
sortMethod: {
|
|
122
|
-
type: FunctionConstructor;
|
|
123
|
-
default: () => void;
|
|
124
|
-
};
|
|
125
122
|
selectionType: {
|
|
126
123
|
type: () => "none" | "single" | "multiple";
|
|
127
124
|
default: string;
|
|
@@ -165,6 +162,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
165
162
|
type: ObjectConstructor;
|
|
166
163
|
default: {};
|
|
167
164
|
};
|
|
165
|
+
getCellClass: {
|
|
166
|
+
type: FunctionConstructor;
|
|
167
|
+
default: () => void;
|
|
168
|
+
};
|
|
168
169
|
}>> & Readonly<{
|
|
169
170
|
onOnSelectVisibleColumns?: ((...args: any[]) => any) | undefined;
|
|
170
171
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
@@ -179,8 +180,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
179
180
|
}>, {
|
|
180
181
|
selectionType: "none" | "multiple" | "single";
|
|
181
182
|
popupEditNumberOptions: unknown[];
|
|
183
|
+
getCellClass: Function;
|
|
182
184
|
filterMethod: Function;
|
|
183
|
-
sortMethod: Function;
|
|
184
185
|
rowKey: string;
|
|
185
186
|
tableStyle: string;
|
|
186
187
|
tableId: string;
|
|
@@ -258,6 +259,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
258
259
|
type: StringConstructor;
|
|
259
260
|
default: string;
|
|
260
261
|
};
|
|
262
|
+
getCellClass: {
|
|
263
|
+
type: FunctionConstructor;
|
|
264
|
+
default: () => void;
|
|
265
|
+
};
|
|
261
266
|
}>, {}, {
|
|
262
267
|
tablePropsData: Record<string, any>;
|
|
263
268
|
}, {}, {
|
|
@@ -276,6 +281,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
276
281
|
type: StringConstructor;
|
|
277
282
|
default: string;
|
|
278
283
|
};
|
|
284
|
+
getCellClass: {
|
|
285
|
+
type: FunctionConstructor;
|
|
286
|
+
default: () => void;
|
|
287
|
+
};
|
|
279
288
|
}>> & Readonly<{
|
|
280
289
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
281
290
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
@@ -283,6 +292,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
283
292
|
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
284
293
|
}>, {
|
|
285
294
|
selectionType: string;
|
|
295
|
+
getCellClass: Function;
|
|
286
296
|
}, {}, {
|
|
287
297
|
TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
288
298
|
model: {
|
|
@@ -543,6 +553,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
543
553
|
popupEditNumberOptions: {
|
|
544
554
|
type: ArrayConstructor;
|
|
545
555
|
};
|
|
556
|
+
getCellClass: {
|
|
557
|
+
type: FunctionConstructor;
|
|
558
|
+
default: () => void;
|
|
559
|
+
};
|
|
546
560
|
}>, {}, {
|
|
547
561
|
tablePropsData: Record<string, any>;
|
|
548
562
|
selected: boolean;
|
|
@@ -565,6 +579,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
565
579
|
popupEditNumberOptions: {
|
|
566
580
|
type: ArrayConstructor;
|
|
567
581
|
};
|
|
582
|
+
getCellClass: {
|
|
583
|
+
type: FunctionConstructor;
|
|
584
|
+
default: () => void;
|
|
585
|
+
};
|
|
568
586
|
}>> & Readonly<{
|
|
569
587
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
570
588
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
@@ -572,6 +590,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
572
590
|
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
573
591
|
}>, {
|
|
574
592
|
selectionType: string;
|
|
593
|
+
getCellClass: Function;
|
|
575
594
|
}, {}, {
|
|
576
595
|
TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
577
596
|
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: {
|
|
@@ -1,18 +1,14 @@
|
|
|
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>;
|
|
10
8
|
}, {}, {
|
|
11
9
|
setFilterValue(val: any): void;
|
|
12
10
|
cleanTableFilter(): void;
|
|
13
11
|
}>;
|
|
14
|
-
totalPage: number;
|
|
15
|
-
pageSize: number;
|
|
16
12
|
tableStyle: string;
|
|
17
13
|
columns: ({
|
|
18
14
|
name: string;
|
|
@@ -274,10 +270,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
274
270
|
iron: string;
|
|
275
271
|
}[];
|
|
276
272
|
visibleColumns: never[];
|
|
277
|
-
}, {
|
|
278
|
-
pageLength(): number;
|
|
279
|
-
filter(): object;
|
|
280
|
-
}, {
|
|
273
|
+
}, {}, {
|
|
281
274
|
saveSelectedColumns(columns: string[]): void;
|
|
282
275
|
filterMethod(rows: string | [], terms: {
|
|
283
276
|
search: string;
|
|
@@ -358,10 +351,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
358
351
|
type: FunctionConstructor;
|
|
359
352
|
default: () => void;
|
|
360
353
|
};
|
|
361
|
-
sortMethod: {
|
|
362
|
-
type: FunctionConstructor;
|
|
363
|
-
default: () => void;
|
|
364
|
-
};
|
|
365
354
|
selectionType: {
|
|
366
355
|
type: () => "none" | "single" | "multiple";
|
|
367
356
|
default: string;
|
|
@@ -405,6 +394,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
405
394
|
type: ObjectConstructor;
|
|
406
395
|
default: {};
|
|
407
396
|
};
|
|
397
|
+
getCellClass: {
|
|
398
|
+
type: FunctionConstructor;
|
|
399
|
+
default: () => void;
|
|
400
|
+
};
|
|
408
401
|
}>, {}, {
|
|
409
402
|
selected: never[];
|
|
410
403
|
filter: string;
|
|
@@ -444,6 +437,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
444
437
|
toogleColumnsSelectorVisibility(): void;
|
|
445
438
|
filterInputFocus(): void;
|
|
446
439
|
toogleLoading(): void;
|
|
440
|
+
customSortMethod(rows: any, sortBy: string, descending: boolean): any[];
|
|
447
441
|
}, 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
442
|
columns: {
|
|
449
443
|
type: () => object[];
|
|
@@ -461,10 +455,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
461
455
|
type: FunctionConstructor;
|
|
462
456
|
default: () => void;
|
|
463
457
|
};
|
|
464
|
-
sortMethod: {
|
|
465
|
-
type: FunctionConstructor;
|
|
466
|
-
default: () => void;
|
|
467
|
-
};
|
|
468
458
|
selectionType: {
|
|
469
459
|
type: () => "none" | "single" | "multiple";
|
|
470
460
|
default: string;
|
|
@@ -508,6 +498,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
508
498
|
type: ObjectConstructor;
|
|
509
499
|
default: {};
|
|
510
500
|
};
|
|
501
|
+
getCellClass: {
|
|
502
|
+
type: FunctionConstructor;
|
|
503
|
+
default: () => void;
|
|
504
|
+
};
|
|
511
505
|
}>> & Readonly<{
|
|
512
506
|
onOnSelectVisibleColumns?: ((...args: any[]) => any) | undefined;
|
|
513
507
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
@@ -522,8 +516,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
522
516
|
}>, {
|
|
523
517
|
selectionType: "none" | "multiple" | "single";
|
|
524
518
|
popupEditNumberOptions: unknown[];
|
|
519
|
+
getCellClass: Function;
|
|
525
520
|
filterMethod: Function;
|
|
526
|
-
sortMethod: Function;
|
|
527
521
|
rowKey: string;
|
|
528
522
|
tableStyle: string;
|
|
529
523
|
tableId: string;
|
|
@@ -601,6 +595,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
601
595
|
type: StringConstructor;
|
|
602
596
|
default: string;
|
|
603
597
|
};
|
|
598
|
+
getCellClass: {
|
|
599
|
+
type: FunctionConstructor;
|
|
600
|
+
default: () => void;
|
|
601
|
+
};
|
|
604
602
|
}>, {}, {
|
|
605
603
|
tablePropsData: Record<string, any>;
|
|
606
604
|
}, {}, {
|
|
@@ -619,6 +617,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
619
617
|
type: StringConstructor;
|
|
620
618
|
default: string;
|
|
621
619
|
};
|
|
620
|
+
getCellClass: {
|
|
621
|
+
type: FunctionConstructor;
|
|
622
|
+
default: () => void;
|
|
623
|
+
};
|
|
622
624
|
}>> & Readonly<{
|
|
623
625
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
624
626
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
@@ -626,6 +628,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
626
628
|
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
627
629
|
}>, {
|
|
628
630
|
selectionType: string;
|
|
631
|
+
getCellClass: Function;
|
|
629
632
|
}, {}, {
|
|
630
633
|
TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
631
634
|
model: {
|
|
@@ -886,6 +889,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
886
889
|
popupEditNumberOptions: {
|
|
887
890
|
type: ArrayConstructor;
|
|
888
891
|
};
|
|
892
|
+
getCellClass: {
|
|
893
|
+
type: FunctionConstructor;
|
|
894
|
+
default: () => void;
|
|
895
|
+
};
|
|
889
896
|
}>, {}, {
|
|
890
897
|
tablePropsData: Record<string, any>;
|
|
891
898
|
selected: boolean;
|
|
@@ -908,6 +915,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
908
915
|
popupEditNumberOptions: {
|
|
909
916
|
type: ArrayConstructor;
|
|
910
917
|
};
|
|
918
|
+
getCellClass: {
|
|
919
|
+
type: FunctionConstructor;
|
|
920
|
+
default: () => void;
|
|
921
|
+
};
|
|
911
922
|
}>> & Readonly<{
|
|
912
923
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
913
924
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
@@ -915,6 +926,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
915
926
|
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
916
927
|
}>, {
|
|
917
928
|
selectionType: string;
|
|
929
|
+
getCellClass: Function;
|
|
918
930
|
}, {}, {
|
|
919
931
|
TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
920
932
|
model: {
|