tsv2-library 1.0.61-beta.76 → 1.0.61-beta.78
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/tsv2-library.es.js
CHANGED
|
@@ -53983,8 +53983,8 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
53983
53983
|
tableKey.value += 1;
|
|
53984
53984
|
};
|
|
53985
53985
|
const saveColumns = () => {
|
|
53986
|
-
emit("save", reorderColumns.value);
|
|
53987
53986
|
visible4.value = false;
|
|
53987
|
+
emit("save", reorderColumns.value);
|
|
53988
53988
|
};
|
|
53989
53989
|
watch(
|
|
53990
53990
|
() => visibleColumns.value,
|
|
@@ -54446,7 +54446,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
54446
54446
|
updateVisibleColumnsModel();
|
|
54447
54447
|
};
|
|
54448
54448
|
const setColumnVisibilityConfig = async () => {
|
|
54449
|
-
if (props.type === "menu") {
|
|
54449
|
+
if (props.type === "menu" && !visibleDialogSetup.value) {
|
|
54450
54450
|
const columnsConfig = columnReorderData.value.map(
|
|
54451
54451
|
(col) => {
|
|
54452
54452
|
return {
|
|
@@ -62157,8 +62157,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
62157
62157
|
var _a;
|
|
62158
62158
|
return (_a = customFieldFilterFields2.value) == null ? void 0 : _a.filter(
|
|
62159
62159
|
(field2) => {
|
|
62160
|
-
var _a2;
|
|
62161
|
-
return (_a2 = visibleColumns.value) == null ? void 0 : _a2[`customFields.${field2.field}`];
|
|
62160
|
+
var _a2, _b;
|
|
62161
|
+
return ((_a2 = visibleColumns.value) == null ? void 0 : _a2[`customFields.${field2.field}`]) || ((_b = visibleColumns.value) == null ? void 0 : _b[`customFields.${field2.field}.value`]);
|
|
62162
62162
|
}
|
|
62163
62163
|
);
|
|
62164
62164
|
}
|
|
@@ -62169,10 +62169,10 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
62169
62169
|
return (_a = assetValueFilterFields2.value) == null ? void 0 : _a.filter((field2) => {
|
|
62170
62170
|
var _a2;
|
|
62171
62171
|
if (visibleColumns.value) {
|
|
62172
|
-
return visibleColumns.value[`assetValues.${field2.field}`];
|
|
62172
|
+
return visibleColumns.value[`assetValues.${field2.field}`] || visibleColumns.value[`assetValues.${field2.field}.value`];
|
|
62173
62173
|
}
|
|
62174
62174
|
return (_a2 = assetValueColumns2.value.find(
|
|
62175
|
-
(col) => col.field === `assetValues.${field2.field}`
|
|
62175
|
+
(col) => col.field === `assetValues.${field2.field}` || col.field === `assetValues.${field2.field}.value`
|
|
62176
62176
|
)) == null ? void 0 : _a2.checkedByDefault;
|
|
62177
62177
|
});
|
|
62178
62178
|
}
|
|
@@ -63173,7 +63173,7 @@ const selectUserColumns = () => {
|
|
|
63173
63173
|
},
|
|
63174
63174
|
{
|
|
63175
63175
|
field: "employeeId",
|
|
63176
|
-
header: "
|
|
63176
|
+
header: "Employee ID",
|
|
63177
63177
|
sortable: true,
|
|
63178
63178
|
checkedByDefault: true,
|
|
63179
63179
|
bodyTemplate(data30) {
|