quasar-factory-lib 0.0.46 → 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 +37 -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 +38 -16
- package/dist/pages/TablePage.vue.d.ts +92 -44
- package/dist/quasar-factory-lib.js +1391 -1352
- package/dist/quasar-factory-lib.umd.cjs +9 -9
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Table/Table.vue +73 -6
- 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
|
@@ -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;
|
|
@@ -58,6 +54,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
54
|
showSkeleton: {
|
|
59
55
|
type: BooleanConstructor;
|
|
60
56
|
};
|
|
57
|
+
filterComputedOptions: {
|
|
58
|
+
type: ObjectConstructor;
|
|
59
|
+
default: {};
|
|
60
|
+
};
|
|
61
|
+
getCellClass: {
|
|
62
|
+
type: FunctionConstructor;
|
|
63
|
+
default: () => void;
|
|
64
|
+
};
|
|
61
65
|
}>, {}, {
|
|
62
66
|
selected: never[];
|
|
63
67
|
filter: string;
|
|
@@ -97,6 +101,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
97
101
|
toogleColumnsSelectorVisibility(): void;
|
|
98
102
|
filterInputFocus(): void;
|
|
99
103
|
toogleLoading(): void;
|
|
104
|
+
customSortMethod(rows: any, sortBy: string, descending: boolean): any[];
|
|
100
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<{
|
|
101
106
|
columns: {
|
|
102
107
|
type: () => object[];
|
|
@@ -114,10 +119,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
114
119
|
type: FunctionConstructor;
|
|
115
120
|
default: () => void;
|
|
116
121
|
};
|
|
117
|
-
sortMethod: {
|
|
118
|
-
type: FunctionConstructor;
|
|
119
|
-
default: () => void;
|
|
120
|
-
};
|
|
121
122
|
selectionType: {
|
|
122
123
|
type: () => "none" | "single" | "multiple";
|
|
123
124
|
default: string;
|
|
@@ -157,6 +158,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
157
158
|
showSkeleton: {
|
|
158
159
|
type: BooleanConstructor;
|
|
159
160
|
};
|
|
161
|
+
filterComputedOptions: {
|
|
162
|
+
type: ObjectConstructor;
|
|
163
|
+
default: {};
|
|
164
|
+
};
|
|
165
|
+
getCellClass: {
|
|
166
|
+
type: FunctionConstructor;
|
|
167
|
+
default: () => void;
|
|
168
|
+
};
|
|
160
169
|
}>> & Readonly<{
|
|
161
170
|
onOnSelectVisibleColumns?: ((...args: any[]) => any) | undefined;
|
|
162
171
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
@@ -171,14 +180,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
171
180
|
}>, {
|
|
172
181
|
selectionType: "none" | "multiple" | "single";
|
|
173
182
|
popupEditNumberOptions: unknown[];
|
|
183
|
+
getCellClass: Function;
|
|
174
184
|
filterMethod: Function;
|
|
175
|
-
sortMethod: Function;
|
|
176
185
|
rowKey: string;
|
|
177
186
|
tableStyle: string;
|
|
178
187
|
tableId: string;
|
|
179
188
|
hideColumnsSelector: boolean;
|
|
180
189
|
hideFilter: boolean;
|
|
181
190
|
showSkeleton: boolean;
|
|
191
|
+
filterComputedOptions: Record<string, any>;
|
|
182
192
|
}, {}, {
|
|
183
193
|
TableSlotHeader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
184
194
|
tableProps: {
|
|
@@ -249,6 +259,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
249
259
|
type: StringConstructor;
|
|
250
260
|
default: string;
|
|
251
261
|
};
|
|
262
|
+
getCellClass: {
|
|
263
|
+
type: FunctionConstructor;
|
|
264
|
+
default: () => void;
|
|
265
|
+
};
|
|
252
266
|
}>, {}, {
|
|
253
267
|
tablePropsData: Record<string, any>;
|
|
254
268
|
}, {}, {
|
|
@@ -267,6 +281,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
267
281
|
type: StringConstructor;
|
|
268
282
|
default: string;
|
|
269
283
|
};
|
|
284
|
+
getCellClass: {
|
|
285
|
+
type: FunctionConstructor;
|
|
286
|
+
default: () => void;
|
|
287
|
+
};
|
|
270
288
|
}>> & Readonly<{
|
|
271
289
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
272
290
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
@@ -274,6 +292,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
274
292
|
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
275
293
|
}>, {
|
|
276
294
|
selectionType: string;
|
|
295
|
+
getCellClass: Function;
|
|
277
296
|
}, {}, {
|
|
278
297
|
TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
279
298
|
model: {
|
|
@@ -534,6 +553,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
534
553
|
popupEditNumberOptions: {
|
|
535
554
|
type: ArrayConstructor;
|
|
536
555
|
};
|
|
556
|
+
getCellClass: {
|
|
557
|
+
type: FunctionConstructor;
|
|
558
|
+
default: () => void;
|
|
559
|
+
};
|
|
537
560
|
}>, {}, {
|
|
538
561
|
tablePropsData: Record<string, any>;
|
|
539
562
|
selected: boolean;
|
|
@@ -556,6 +579,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
556
579
|
popupEditNumberOptions: {
|
|
557
580
|
type: ArrayConstructor;
|
|
558
581
|
};
|
|
582
|
+
getCellClass: {
|
|
583
|
+
type: FunctionConstructor;
|
|
584
|
+
default: () => void;
|
|
585
|
+
};
|
|
559
586
|
}>> & Readonly<{
|
|
560
587
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
561
588
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
@@ -563,6 +590,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
563
590
|
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
564
591
|
}>, {
|
|
565
592
|
selectionType: string;
|
|
593
|
+
getCellClass: Function;
|
|
566
594
|
}, {}, {
|
|
567
595
|
TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
568
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,6 +1,5 @@
|
|
|
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>;
|
|
@@ -10,8 +9,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
10
9
|
setFilterValue(val: any): void;
|
|
11
10
|
cleanTableFilter(): void;
|
|
12
11
|
}>;
|
|
13
|
-
totalPage: number;
|
|
14
|
-
pageSize: number;
|
|
15
12
|
tableStyle: string;
|
|
16
13
|
columns: ({
|
|
17
14
|
name: string;
|
|
@@ -273,10 +270,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
273
270
|
iron: string;
|
|
274
271
|
}[];
|
|
275
272
|
visibleColumns: never[];
|
|
276
|
-
}, {
|
|
277
|
-
pageLength(): number;
|
|
278
|
-
filter(): object;
|
|
279
|
-
}, {
|
|
273
|
+
}, {}, {
|
|
280
274
|
saveSelectedColumns(columns: string[]): void;
|
|
281
275
|
filterMethod(rows: string | [], terms: {
|
|
282
276
|
search: string;
|
|
@@ -357,10 +351,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
357
351
|
type: FunctionConstructor;
|
|
358
352
|
default: () => void;
|
|
359
353
|
};
|
|
360
|
-
sortMethod: {
|
|
361
|
-
type: FunctionConstructor;
|
|
362
|
-
default: () => void;
|
|
363
|
-
};
|
|
364
354
|
selectionType: {
|
|
365
355
|
type: () => "none" | "single" | "multiple";
|
|
366
356
|
default: string;
|
|
@@ -400,6 +390,14 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
400
390
|
showSkeleton: {
|
|
401
391
|
type: BooleanConstructor;
|
|
402
392
|
};
|
|
393
|
+
filterComputedOptions: {
|
|
394
|
+
type: ObjectConstructor;
|
|
395
|
+
default: {};
|
|
396
|
+
};
|
|
397
|
+
getCellClass: {
|
|
398
|
+
type: FunctionConstructor;
|
|
399
|
+
default: () => void;
|
|
400
|
+
};
|
|
403
401
|
}>, {}, {
|
|
404
402
|
selected: never[];
|
|
405
403
|
filter: string;
|
|
@@ -439,6 +437,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
439
437
|
toogleColumnsSelectorVisibility(): void;
|
|
440
438
|
filterInputFocus(): void;
|
|
441
439
|
toogleLoading(): void;
|
|
440
|
+
customSortMethod(rows: any, sortBy: string, descending: boolean): any[];
|
|
442
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<{
|
|
443
442
|
columns: {
|
|
444
443
|
type: () => object[];
|
|
@@ -456,10 +455,6 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
456
455
|
type: FunctionConstructor;
|
|
457
456
|
default: () => void;
|
|
458
457
|
};
|
|
459
|
-
sortMethod: {
|
|
460
|
-
type: FunctionConstructor;
|
|
461
|
-
default: () => void;
|
|
462
|
-
};
|
|
463
458
|
selectionType: {
|
|
464
459
|
type: () => "none" | "single" | "multiple";
|
|
465
460
|
default: string;
|
|
@@ -499,6 +494,14 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
499
494
|
showSkeleton: {
|
|
500
495
|
type: BooleanConstructor;
|
|
501
496
|
};
|
|
497
|
+
filterComputedOptions: {
|
|
498
|
+
type: ObjectConstructor;
|
|
499
|
+
default: {};
|
|
500
|
+
};
|
|
501
|
+
getCellClass: {
|
|
502
|
+
type: FunctionConstructor;
|
|
503
|
+
default: () => void;
|
|
504
|
+
};
|
|
502
505
|
}>> & Readonly<{
|
|
503
506
|
onOnSelectVisibleColumns?: ((...args: any[]) => any) | undefined;
|
|
504
507
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
@@ -513,14 +516,15 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
513
516
|
}>, {
|
|
514
517
|
selectionType: "none" | "multiple" | "single";
|
|
515
518
|
popupEditNumberOptions: unknown[];
|
|
519
|
+
getCellClass: Function;
|
|
516
520
|
filterMethod: Function;
|
|
517
|
-
sortMethod: Function;
|
|
518
521
|
rowKey: string;
|
|
519
522
|
tableStyle: string;
|
|
520
523
|
tableId: string;
|
|
521
524
|
hideColumnsSelector: boolean;
|
|
522
525
|
hideFilter: boolean;
|
|
523
526
|
showSkeleton: boolean;
|
|
527
|
+
filterComputedOptions: Record<string, any>;
|
|
524
528
|
}, {}, {
|
|
525
529
|
TableSlotHeader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
526
530
|
tableProps: {
|
|
@@ -591,6 +595,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
591
595
|
type: StringConstructor;
|
|
592
596
|
default: string;
|
|
593
597
|
};
|
|
598
|
+
getCellClass: {
|
|
599
|
+
type: FunctionConstructor;
|
|
600
|
+
default: () => void;
|
|
601
|
+
};
|
|
594
602
|
}>, {}, {
|
|
595
603
|
tablePropsData: Record<string, any>;
|
|
596
604
|
}, {}, {
|
|
@@ -609,6 +617,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
609
617
|
type: StringConstructor;
|
|
610
618
|
default: string;
|
|
611
619
|
};
|
|
620
|
+
getCellClass: {
|
|
621
|
+
type: FunctionConstructor;
|
|
622
|
+
default: () => void;
|
|
623
|
+
};
|
|
612
624
|
}>> & Readonly<{
|
|
613
625
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
614
626
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
@@ -616,6 +628,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
616
628
|
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
617
629
|
}>, {
|
|
618
630
|
selectionType: string;
|
|
631
|
+
getCellClass: Function;
|
|
619
632
|
}, {}, {
|
|
620
633
|
TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
621
634
|
model: {
|
|
@@ -876,6 +889,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
876
889
|
popupEditNumberOptions: {
|
|
877
890
|
type: ArrayConstructor;
|
|
878
891
|
};
|
|
892
|
+
getCellClass: {
|
|
893
|
+
type: FunctionConstructor;
|
|
894
|
+
default: () => void;
|
|
895
|
+
};
|
|
879
896
|
}>, {}, {
|
|
880
897
|
tablePropsData: Record<string, any>;
|
|
881
898
|
selected: boolean;
|
|
@@ -898,6 +915,10 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
898
915
|
popupEditNumberOptions: {
|
|
899
916
|
type: ArrayConstructor;
|
|
900
917
|
};
|
|
918
|
+
getCellClass: {
|
|
919
|
+
type: FunctionConstructor;
|
|
920
|
+
default: () => void;
|
|
921
|
+
};
|
|
901
922
|
}>> & Readonly<{
|
|
902
923
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
903
924
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
@@ -905,6 +926,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
905
926
|
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
906
927
|
}>, {
|
|
907
928
|
selectionType: string;
|
|
929
|
+
getCellClass: Function;
|
|
908
930
|
}, {}, {
|
|
909
931
|
TablePopupEdit: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
910
932
|
model: {
|