quasar-factory-lib 0.0.8 → 0.0.9
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/K-Table/K-Table.vue.d.ts +11 -8
- package/dist/components/K-Table/components/TableFilter.vue.d.ts +0 -1
- package/dist/components/K-Table/components/TableSlotBody.vue.d.ts +3 -2
- package/dist/components/K-Table/components/TableSlotGrid.vue.d.ts +3 -2
- package/dist/i18n/en/index.d.ts +14 -2
- package/dist/i18n/es/index.d.ts +14 -2
- package/dist/i18n/index.d.ts +30 -1
- package/dist/pages/TablePage.vue.d.ts +1125 -0
- package/dist/quasar-factory-lib.js +9555 -5524
- package/dist/quasar-factory-lib.umd.cjs +15 -9
- package/dist/store/table.d.ts +9 -0
- package/dist/style.css +1 -1
- package/package.json +4 -8
- package/src/components/K-Table/K-Table.vue +12 -6
- package/src/components/K-Table/components/CustomizedIcon.vue +2 -2
- package/src/components/K-Table/components/TableColumnsSelector.vue +1 -1
- package/src/components/K-Table/components/TableFilter.vue +9 -10
- package/src/components/K-Table/components/TableSlotBody.vue +7 -6
- package/src/components/K-Table/components/TableSlotGrid.vue +6 -5
- package/src/components/K-Table/css/columnsSelector.css +2 -2
- package/src/components/K-Table/css/table.css +24 -25
- package/src/components/K-Table/css/tableFilter.css +2 -3
- package/src/components/K-Table/css/tableSlotHeader.css +0 -1
- package/src/components/K-Table/utils/infiniteScroll.ts +1 -1
- package/src/css/app.css +25 -1
- package/src/i18n/en/index.ts +14 -2
- package/src/i18n/es/index.ts +15 -3
- package/src/index.ts +3 -1
- package/src/layouts/MenuLayout.vue +2 -2
- package/src/main.ts +3 -1
- package/src/pages/TablePage.vue +316 -0
- package/src/router/routes.ts +6 -2
- package/src/store/index.js +9 -0
- package/src/store/table.js +22 -0
|
@@ -84,10 +84,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
84
84
|
getSelectedString(val: number): string;
|
|
85
85
|
onSelectVisibleColumns(columns: string[]): void;
|
|
86
86
|
onSaveValuePopupEdit(row: object): void;
|
|
87
|
-
|
|
87
|
+
onUpdateBasicCheckboxValue(row: object): void;
|
|
88
88
|
onClickButton(emit: "onClickButton", row: object): void;
|
|
89
89
|
onRowClick(row: object): void;
|
|
90
90
|
deleteItem(row: object): void;
|
|
91
|
+
onUpdateCustomizedCheckboxValue(row: object): void;
|
|
91
92
|
clearTableSelection(): void;
|
|
92
93
|
toggleSearchVisibility(store: {
|
|
93
94
|
disableScannerButtons: boolean;
|
|
@@ -98,7 +99,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
98
99
|
filterInputFocus(): void;
|
|
99
100
|
toogleLoading(): void;
|
|
100
101
|
sortMethod(rows: object[], sortBy: string, descending: boolean): object[] | [];
|
|
101
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onSelectVisibleColumns" | "onClickButton" | "onSaveValuePopupEdit" | "
|
|
102
|
+
}, 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<{
|
|
102
103
|
columns: {
|
|
103
104
|
type: () => object[];
|
|
104
105
|
required: true;
|
|
@@ -166,7 +167,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
166
167
|
onOnSelectVisibleColumns?: ((...args: any[]) => any) | undefined;
|
|
167
168
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
168
169
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
169
|
-
|
|
170
|
+
onOnUpdateBasicCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
171
|
+
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
170
172
|
onStoreUpdated?: ((...args: any[]) => any) | undefined;
|
|
171
173
|
onDeleteItem?: ((...args: any[]) => any) | undefined;
|
|
172
174
|
onOpenModalWithTable?: ((...args: any[]) => any) | undefined;
|
|
@@ -263,7 +265,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
263
265
|
showCustomizedIcon: boolean;
|
|
264
266
|
showColumButton: boolean;
|
|
265
267
|
}): boolean;
|
|
266
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClickButton" | "onSaveValuePopupEdit" | "
|
|
268
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue")[], "onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
267
269
|
tableProps: {
|
|
268
270
|
type: ObjectConstructor;
|
|
269
271
|
required: true;
|
|
@@ -275,7 +277,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
275
277
|
}>> & Readonly<{
|
|
276
278
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
277
279
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
278
|
-
|
|
280
|
+
onOnUpdateBasicCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
281
|
+
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
279
282
|
}>, {
|
|
280
283
|
selectionType: string;
|
|
281
284
|
}, {}, {
|
|
@@ -548,7 +551,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
548
551
|
showCustomizedIcon: boolean;
|
|
549
552
|
showColumButton: boolean;
|
|
550
553
|
}): boolean;
|
|
551
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClickButton" | "onSaveValuePopupEdit" | "
|
|
554
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue")[], "onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
552
555
|
tableProps: {
|
|
553
556
|
type: ObjectConstructor;
|
|
554
557
|
required: true;
|
|
@@ -563,7 +566,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
563
566
|
}>> & Readonly<{
|
|
564
567
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
565
568
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
566
|
-
|
|
569
|
+
onOnUpdateBasicCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
570
|
+
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
567
571
|
}>, {
|
|
568
572
|
selectionType: string;
|
|
569
573
|
}, {}, {
|
|
@@ -823,7 +827,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
823
827
|
localStore: Record<string, any>;
|
|
824
828
|
}, {}, {
|
|
825
829
|
inputFocus(): void;
|
|
826
|
-
cleanSearchValue(): void;
|
|
827
830
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
828
831
|
store: {
|
|
829
832
|
type: ObjectConstructor;
|
|
@@ -7,7 +7,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
7
|
localStore: Record<string, any>;
|
|
8
8
|
}, {}, {
|
|
9
9
|
inputFocus(): void;
|
|
10
|
-
cleanSearchValue(): void;
|
|
11
10
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
11
|
store: {
|
|
13
12
|
type: ObjectConstructor;
|
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
showCustomizedIcon: boolean;
|
|
17
17
|
showColumButton: boolean;
|
|
18
18
|
}): boolean;
|
|
19
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClickButton" | "onSaveValuePopupEdit" | "
|
|
19
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue")[], "onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
tableProps: {
|
|
21
21
|
type: ObjectConstructor;
|
|
22
22
|
required: true;
|
|
@@ -28,7 +28,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
28
28
|
}>> & Readonly<{
|
|
29
29
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
30
30
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
|
|
31
|
+
onOnUpdateBasicCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
32
33
|
}>, {
|
|
33
34
|
selectionType: string;
|
|
34
35
|
}, {}, {
|
|
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
20
20
|
showCustomizedIcon: boolean;
|
|
21
21
|
showColumButton: boolean;
|
|
22
22
|
}): boolean;
|
|
23
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClickButton" | "onSaveValuePopupEdit" | "
|
|
23
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue")[], "onClickButton" | "onSaveValuePopupEdit" | "onUpdateBasicCheckboxValue" | "onUpdateCustomizedCheckboxValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
tableProps: {
|
|
25
25
|
type: ObjectConstructor;
|
|
26
26
|
required: true;
|
|
@@ -35,7 +35,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
35
35
|
}>> & Readonly<{
|
|
36
36
|
onOnClickButton?: ((...args: any[]) => any) | undefined;
|
|
37
37
|
onOnSaveValuePopupEdit?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
|
|
38
|
+
onOnUpdateBasicCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
onOnUpdateCustomizedCheckboxValue?: ((...args: any[]) => any) | undefined;
|
|
39
40
|
}>, {
|
|
40
41
|
selectionType: string;
|
|
41
42
|
}, {}, {
|
package/dist/i18n/en/index.d.ts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const en: {
|
|
2
|
+
test: string;
|
|
3
|
+
table: {
|
|
4
|
+
search: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
confirm: string;
|
|
7
|
+
};
|
|
8
|
+
form: {
|
|
9
|
+
rules: {
|
|
10
|
+
emptyField: string;
|
|
11
|
+
exceedCharactersTypeList: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
3
15
|
export default en;
|
package/dist/i18n/es/index.d.ts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const es: {
|
|
2
|
+
test: string;
|
|
3
|
+
table: {
|
|
4
|
+
search: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
confirm: string;
|
|
7
|
+
};
|
|
8
|
+
form: {
|
|
9
|
+
rules: {
|
|
10
|
+
emptyField: string;
|
|
11
|
+
exceedCharactersTypeList: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
3
15
|
export default es;
|
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1,2 +1,31 @@
|
|
|
1
1
|
export default i18n;
|
|
2
|
-
declare const i18n: import("vue-i18n").I18n<{
|
|
2
|
+
declare const i18n: import("vue-i18n").I18n<{
|
|
3
|
+
en: {
|
|
4
|
+
test: string;
|
|
5
|
+
table: {
|
|
6
|
+
search: string;
|
|
7
|
+
cancel: string;
|
|
8
|
+
confirm: string;
|
|
9
|
+
};
|
|
10
|
+
form: {
|
|
11
|
+
rules: {
|
|
12
|
+
emptyField: string;
|
|
13
|
+
exceedCharactersTypeList: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
es: {
|
|
18
|
+
test: string;
|
|
19
|
+
table: {
|
|
20
|
+
search: string;
|
|
21
|
+
cancel: string;
|
|
22
|
+
confirm: string;
|
|
23
|
+
};
|
|
24
|
+
form: {
|
|
25
|
+
rules: {
|
|
26
|
+
emptyField: string;
|
|
27
|
+
exceedCharactersTypeList: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}, {}, {}, string, true>;
|