quasar-factory-lib 0.0.34 → 0.0.36
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 +1 -1
- package/dist/pages/TablePage.vue.d.ts +15 -15
- package/dist/quasar-factory-lib.js +4 -5
- package/dist/quasar-factory-lib.umd.cjs +8 -8
- package/package.json +1 -1
- package/src/components/Table/Table.vue +3 -3
- package/src/components/Table/components/TableSlotBody.vue +1 -1
- package/src/components/Table/components/TableSlotGrid.vue +1 -2
- package/src/pages/TablePage.vue +17 -12
|
@@ -93,7 +93,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
93
93
|
toggleSearchVisibility(store: {
|
|
94
94
|
disableScannerButtons: boolean;
|
|
95
95
|
lastFilterValue: string;
|
|
96
|
-
|
|
96
|
+
filterValue: string;
|
|
97
97
|
}): void;
|
|
98
98
|
toogleColumnsSelectorVisibility(): void;
|
|
99
99
|
filterInputFocus(): void;
|
|
@@ -21,8 +21,8 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
21
21
|
label: string;
|
|
22
22
|
align: string;
|
|
23
23
|
sortable: boolean;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
customizedTextClass: (row: {
|
|
25
|
+
customizedTextClass: string;
|
|
26
26
|
}) => string;
|
|
27
27
|
showBasicCheckbox?: undefined;
|
|
28
28
|
showCustomizedIcon?: undefined;
|
|
@@ -47,12 +47,12 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
47
47
|
showInputPopupEdit?: undefined;
|
|
48
48
|
} | {
|
|
49
49
|
name: string;
|
|
50
|
-
required: boolean;
|
|
51
50
|
label: string;
|
|
52
51
|
align: string;
|
|
53
52
|
sortable: boolean;
|
|
54
53
|
showBasicCheckbox: boolean;
|
|
55
|
-
|
|
54
|
+
required?: undefined;
|
|
55
|
+
customizedTextClass?: undefined;
|
|
56
56
|
showCustomizedIcon?: undefined;
|
|
57
57
|
field?: undefined;
|
|
58
58
|
editable?: undefined;
|
|
@@ -80,7 +80,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
80
80
|
align: string;
|
|
81
81
|
sortable: boolean;
|
|
82
82
|
showCustomizedIcon: boolean;
|
|
83
|
-
|
|
83
|
+
customizedTextClass?: undefined;
|
|
84
84
|
showBasicCheckbox?: undefined;
|
|
85
85
|
field?: undefined;
|
|
86
86
|
editable?: undefined;
|
|
@@ -114,7 +114,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
114
114
|
popupEditDataCy: string;
|
|
115
115
|
popupEditMask: string;
|
|
116
116
|
required?: undefined;
|
|
117
|
-
|
|
117
|
+
customizedTextClass?: undefined;
|
|
118
118
|
showBasicCheckbox?: undefined;
|
|
119
119
|
showCustomizedIcon?: undefined;
|
|
120
120
|
showCustomizedButton?: undefined;
|
|
@@ -141,7 +141,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
141
141
|
btnColor: string;
|
|
142
142
|
required?: undefined;
|
|
143
143
|
align?: undefined;
|
|
144
|
-
|
|
144
|
+
customizedTextClass?: undefined;
|
|
145
145
|
showBasicCheckbox?: undefined;
|
|
146
146
|
showCustomizedIcon?: undefined;
|
|
147
147
|
editable?: undefined;
|
|
@@ -164,7 +164,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
164
164
|
required?: undefined;
|
|
165
165
|
align?: undefined;
|
|
166
166
|
sortable?: undefined;
|
|
167
|
-
|
|
167
|
+
customizedTextClass?: undefined;
|
|
168
168
|
showBasicCheckbox?: undefined;
|
|
169
169
|
showCustomizedIcon?: undefined;
|
|
170
170
|
editable?: undefined;
|
|
@@ -190,15 +190,15 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
190
190
|
label: string;
|
|
191
191
|
field: string;
|
|
192
192
|
sortable: boolean;
|
|
193
|
-
required: boolean;
|
|
194
193
|
showCustomizedCheckBox: boolean;
|
|
195
194
|
checkedIcon: string;
|
|
196
195
|
uncheckedIcon: string;
|
|
197
196
|
checkBoxColorCaseTrue: string;
|
|
198
197
|
checkBoxColorCaseFalse: string;
|
|
199
198
|
checkBoxDataCy: string;
|
|
199
|
+
required?: undefined;
|
|
200
200
|
align?: undefined;
|
|
201
|
-
|
|
201
|
+
customizedTextClass?: undefined;
|
|
202
202
|
showBasicCheckbox?: undefined;
|
|
203
203
|
showCustomizedIcon?: undefined;
|
|
204
204
|
editable?: undefined;
|
|
@@ -218,15 +218,15 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
218
218
|
label: string;
|
|
219
219
|
field: string;
|
|
220
220
|
sortable: boolean;
|
|
221
|
-
required: boolean;
|
|
222
221
|
editable: boolean;
|
|
223
222
|
showEditIcon: boolean;
|
|
224
223
|
popupEditEmit: string;
|
|
225
224
|
popupEditInputtype: string;
|
|
226
225
|
popupEditDataCy: string;
|
|
227
226
|
showInputPopupEdit: boolean;
|
|
227
|
+
required?: undefined;
|
|
228
228
|
align?: undefined;
|
|
229
|
-
|
|
229
|
+
customizedTextClass?: undefined;
|
|
230
230
|
showBasicCheckbox?: undefined;
|
|
231
231
|
showCustomizedIcon?: undefined;
|
|
232
232
|
popupEditMask?: undefined;
|
|
@@ -248,7 +248,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
248
248
|
sortable: boolean;
|
|
249
249
|
required?: undefined;
|
|
250
250
|
align?: undefined;
|
|
251
|
-
|
|
251
|
+
customizedTextClass?: undefined;
|
|
252
252
|
showBasicCheckbox?: undefined;
|
|
253
253
|
showCustomizedIcon?: undefined;
|
|
254
254
|
editable?: undefined;
|
|
@@ -289,7 +289,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
289
289
|
pageLength(): number;
|
|
290
290
|
filter(): object;
|
|
291
291
|
}, {
|
|
292
|
-
getClass(
|
|
292
|
+
getClass(slotType: string, props: string, rowName: string): void;
|
|
293
293
|
saveSelectedColumns(columns: string[]): void;
|
|
294
294
|
filterMethod(rows: string | [], terms: {
|
|
295
295
|
search: string;
|
|
@@ -393,7 +393,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {
|
|
|
393
393
|
toggleSearchVisibility(store: {
|
|
394
394
|
disableScannerButtons: boolean;
|
|
395
395
|
lastFilterValue: string;
|
|
396
|
-
|
|
396
|
+
filterValue: string;
|
|
397
397
|
}): void;
|
|
398
398
|
toogleColumnsSelectorVisibility(): void;
|
|
399
399
|
filterInputFocus(): void;
|
|
@@ -7072,7 +7072,7 @@ function eg(e, t, n, o, r, l) {
|
|
|
7072
7072
|
default: ie(() => [
|
|
7073
7073
|
l.getColumnValue(u) ? (se(), Nt("span", {
|
|
7074
7074
|
key: 0,
|
|
7075
|
-
class: Yn(n.tableProps.row.
|
|
7075
|
+
class: Yn(n.tableProps.row.customizedTextClass),
|
|
7076
7076
|
innerHTML: r.tablePropsData.row[u.name]
|
|
7077
7077
|
}, null, 10, Jv)) : Ie("", !0),
|
|
7078
7078
|
u.editable ? (se(), he(Ge, {
|
|
@@ -7268,8 +7268,7 @@ function rg(e, t, n, o, r, l) {
|
|
|
7268
7268
|
l.getColumnValue(u) ? (se(), he(Lt, {
|
|
7269
7269
|
key: 0,
|
|
7270
7270
|
class: Yn([
|
|
7271
|
-
n.tableProps.row.
|
|
7272
|
-
"itemsFontSize text-almost-black"
|
|
7271
|
+
n.tableProps.row.customizedTextClass ? n.tableProps.row.customizedTextClass : "itemsFontSize text-almost-black"
|
|
7273
7272
|
])
|
|
7274
7273
|
}, {
|
|
7275
7274
|
default: ie(() => [
|
|
@@ -7885,7 +7884,7 @@ const Ag = /* @__PURE__ */ ht(Tg, [["render", Og]]), Dg = mn({
|
|
|
7885
7884
|
this.selected = [];
|
|
7886
7885
|
},
|
|
7887
7886
|
toggleSearchVisibility(e) {
|
|
7888
|
-
this.showSearch = !this.showSearch, e.disableScannerButtons = !1, e.lastFilterValue = "", e.
|
|
7887
|
+
this.showSearch = !this.showSearch, e.disableScannerButtons = !1, e.lastFilterValue = "", e.filterValue = "";
|
|
7889
7888
|
},
|
|
7890
7889
|
toogleColumnsSelectorVisibility() {
|
|
7891
7890
|
this.showColumnsSelector = !this.showColumnsSelector;
|
|
@@ -7900,7 +7899,7 @@ const Ag = /* @__PURE__ */ ht(Tg, [["render", Og]]), Dg = mn({
|
|
|
7900
7899
|
},
|
|
7901
7900
|
sortMethod(e, t, n) {
|
|
7902
7901
|
const r = yi.sortMethod(e, t, n, this.sortDataValues).slice(0, e.length);
|
|
7903
|
-
return this.store.
|
|
7902
|
+
return this.store.filterValue === "" ? r : yi.sortMethod(e, t, n, this.sortDataValues);
|
|
7904
7903
|
}
|
|
7905
7904
|
}
|
|
7906
7905
|
});
|