@dolusoft/vue3-datatable 1.7.88 → 1.8.3
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/vue3-datatable.cjs +44 -7
- package/dist/vue3-datatable.css +9 -9
- package/dist/vue3-datatable.js +44 -7
- package/package.json +1 -1
package/dist/vue3-datatable.cjs
CHANGED
|
@@ -2501,7 +2501,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
2501
2501
|
}
|
|
2502
2502
|
return target;
|
|
2503
2503
|
};
|
|
2504
|
-
const ButtonExpand = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
2504
|
+
const ButtonExpand = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-da3bc8d5"]]);
|
|
2505
2505
|
const __default__$4 = {
|
|
2506
2506
|
name: "ButtonRightPanel"
|
|
2507
2507
|
};
|
|
@@ -2527,7 +2527,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2527
2527
|
};
|
|
2528
2528
|
}
|
|
2529
2529
|
});
|
|
2530
|
-
const ButtonRightPanel = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
2530
|
+
const ButtonRightPanel = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-b373d5f7"]]);
|
|
2531
2531
|
const _hoisted_1$6 = { class: "bh-text-[13px] bh-font-normal bh-rounded bh-overflow-hidden" };
|
|
2532
2532
|
const __default__$3 = {
|
|
2533
2533
|
name: "columnFilter"
|
|
@@ -3001,8 +3001,13 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3001
3001
|
const setupColumnWatches = () => {
|
|
3002
3002
|
var _a;
|
|
3003
3003
|
if (!((_a = props.all) == null ? void 0 : _a.columns)) return;
|
|
3004
|
+
console.log("🔵 [SETUP-WATCHES] Starting setup for", props.all.columns.length, "columns");
|
|
3004
3005
|
props.all.columns.forEach((col) => {
|
|
3005
3006
|
if (col.filter && col.field && !watchedFields.value.has(col.field)) {
|
|
3007
|
+
console.log("🔵 [WATCH-INIT]", col.field, {
|
|
3008
|
+
initialValue: col.value,
|
|
3009
|
+
initialCondition: col.condition
|
|
3010
|
+
});
|
|
3006
3011
|
if (filterInputs.value[col.field] === void 0) {
|
|
3007
3012
|
filterInputs.value[col.field] = col.value || "";
|
|
3008
3013
|
}
|
|
@@ -3010,13 +3015,30 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3010
3015
|
watchDebounced(
|
|
3011
3016
|
() => filterInputs.value[col.field],
|
|
3012
3017
|
(newValue) => {
|
|
3018
|
+
var _a2;
|
|
3013
3019
|
const column = columnsMap.value.get(col.field);
|
|
3020
|
+
console.log("🔴 [DEBOUNCE-FIRED]", {
|
|
3021
|
+
field: col.field,
|
|
3022
|
+
newValue,
|
|
3023
|
+
columnConditionBefore: column == null ? void 0 : column.condition,
|
|
3024
|
+
columnValueBefore: column == null ? void 0 : column.value
|
|
3025
|
+
});
|
|
3014
3026
|
if (column) {
|
|
3015
3027
|
if (column.type === "string" || column.type === "String") {
|
|
3016
3028
|
column.value = typeof newValue === "string" ? newValue.trim() : newValue;
|
|
3017
3029
|
} else {
|
|
3018
3030
|
column.value = newValue;
|
|
3019
3031
|
}
|
|
3032
|
+
if (!column.condition && column.value) {
|
|
3033
|
+
const type = ((_a2 = column.type) == null ? void 0 : _a2.toLowerCase()) || "string";
|
|
3034
|
+
column.condition = type === "string" ? "Contains" : "Equal";
|
|
3035
|
+
console.log("🟡 [DEFAULT-CONDITION-SET]", col.field, column.condition);
|
|
3036
|
+
}
|
|
3037
|
+
console.log("🟢 [AFTER-MUTATION]", {
|
|
3038
|
+
field: col.field,
|
|
3039
|
+
valueAfter: column.value,
|
|
3040
|
+
conditionAfter: column.condition
|
|
3041
|
+
});
|
|
3020
3042
|
emit("filterChange");
|
|
3021
3043
|
}
|
|
3022
3044
|
},
|
|
@@ -3075,10 +3097,16 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3075
3097
|
return condition;
|
|
3076
3098
|
};
|
|
3077
3099
|
const handleConditionChange = (field, condition) => {
|
|
3100
|
+
console.log("🟠 [CONDITION-CHANGE]", { field, condition });
|
|
3078
3101
|
const column = columnsMap.value.get(field);
|
|
3079
3102
|
if (column) {
|
|
3080
3103
|
column.condition = condition;
|
|
3081
3104
|
columnConditions.value[field] = condition;
|
|
3105
|
+
console.log("🟠 [CONDITION-UPDATED]", {
|
|
3106
|
+
field,
|
|
3107
|
+
newCondition: column.condition,
|
|
3108
|
+
columnValue: column.value
|
|
3109
|
+
});
|
|
3082
3110
|
emit("filterChange");
|
|
3083
3111
|
}
|
|
3084
3112
|
};
|
|
@@ -3150,7 +3178,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3150
3178
|
], 4)) : vue.createCommentVNode("", true),
|
|
3151
3179
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.all.columns, (col, j) => {
|
|
3152
3180
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
3153
|
-
!col.hide ? (vue.openBlock(), vue.createElementBlock("th", {
|
|
3181
|
+
!col.hide && !col.dataOnly ? (vue.openBlock(), vue.createElementBlock("th", {
|
|
3154
3182
|
key: col.field,
|
|
3155
3183
|
class: vue.normalizeClass(["bh-select-none bh-z-[1]", [
|
|
3156
3184
|
props.all.sortable && col.sort ? "bh-cursor-pointer" : "",
|
|
@@ -3578,6 +3606,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
3578
3606
|
item.type = type;
|
|
3579
3607
|
item.isUnique = item.isUnique !== void 0 ? item.isUnique : false;
|
|
3580
3608
|
item.hide = item.hide !== void 0 ? item.hide : false;
|
|
3609
|
+
item.dataOnly = item.dataOnly !== void 0 ? item.dataOnly : false;
|
|
3581
3610
|
item.filter = item.filter !== void 0 ? item.filter : true;
|
|
3582
3611
|
item.search = item.search !== void 0 ? item.search : true;
|
|
3583
3612
|
item.sort = item.sort !== void 0 ? item.sort : true;
|
|
@@ -4129,6 +4158,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4129
4158
|
}
|
|
4130
4159
|
};
|
|
4131
4160
|
const changeForServer = (changeType, isResetPage = false) => {
|
|
4161
|
+
console.log(
|
|
4162
|
+
"🔵 [CHANGE-FOR-SERVER] Props columns detail:",
|
|
4163
|
+
props.columns.map((c) => ({ field: c.field, value: c.value, condition: c.condition }))
|
|
4164
|
+
);
|
|
4132
4165
|
if (props.isServerMode) {
|
|
4133
4166
|
setDefaultCondition();
|
|
4134
4167
|
const res = {
|
|
@@ -4141,6 +4174,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4141
4174
|
column_filters: props.columns,
|
|
4142
4175
|
change_type: changeType
|
|
4143
4176
|
};
|
|
4177
|
+
console.log(
|
|
4178
|
+
"🔵 [EMITTING-CHANGE] Final column_filters:",
|
|
4179
|
+
res.column_filters.map((c) => ({ field: c.field, value: c.value, condition: c.condition }))
|
|
4180
|
+
);
|
|
4144
4181
|
emit("change", res);
|
|
4145
4182
|
}
|
|
4146
4183
|
};
|
|
@@ -4457,7 +4494,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4457
4494
|
], 6)) : vue.createCommentVNode("", true),
|
|
4458
4495
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.columns, (col, j) => {
|
|
4459
4496
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
4460
|
-
!col.hide ? (vue.openBlock(), vue.createElementBlock("td", {
|
|
4497
|
+
!col.hide && !col.dataOnly ? (vue.openBlock(), vue.createElementBlock("td", {
|
|
4461
4498
|
key: col.field,
|
|
4462
4499
|
class: vue.normalizeClass([
|
|
4463
4500
|
isCellClassFunction.value ? _ctx.cellClass(item) : props.cellClass,
|
|
@@ -4521,7 +4558,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4521
4558
|
}, null, 8, _hoisted_20)) : vue.createCommentVNode("", true),
|
|
4522
4559
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.columns, (col, j) => {
|
|
4523
4560
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
4524
|
-
!col.hide ? (vue.openBlock(), vue.createElementBlock("td", {
|
|
4561
|
+
!col.hide && !col.dataOnly ? (vue.openBlock(), vue.createElementBlock("td", {
|
|
4525
4562
|
key: col.field,
|
|
4526
4563
|
class: vue.normalizeClass([
|
|
4527
4564
|
isCellClassFunction.value ? _ctx.cellClass(item) : props.cellClass,
|
|
@@ -4705,7 +4742,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4705
4742
|
], 6)) : vue.createCommentVNode("", true),
|
|
4706
4743
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.columns, (col, j) => {
|
|
4707
4744
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
4708
|
-
!col.hide ? (vue.openBlock(), vue.createElementBlock("td", {
|
|
4745
|
+
!col.hide && !col.dataOnly ? (vue.openBlock(), vue.createElementBlock("td", {
|
|
4709
4746
|
key: col.field,
|
|
4710
4747
|
class: vue.normalizeClass([
|
|
4711
4748
|
isCellClassFunction.value ? _ctx.cellClass(item) : props.cellClass,
|
|
@@ -4780,7 +4817,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4780
4817
|
}, null, 8, _hoisted_31)) : vue.createCommentVNode("", true),
|
|
4781
4818
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(props.columns, (col, j) => {
|
|
4782
4819
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
4783
|
-
!col.hide ? (vue.openBlock(), vue.createElementBlock("td", {
|
|
4820
|
+
!col.hide && !col.dataOnly ? (vue.openBlock(), vue.createElementBlock("td", {
|
|
4784
4821
|
key: col.field,
|
|
4785
4822
|
class: vue.normalizeClass([
|
|
4786
4823
|
isCellClassFunction.value ? _ctx.cellClass(item) : props.cellClass,
|
package/dist/vue3-datatable.css
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
.expandbtn[data-v-
|
|
2
|
+
.expandbtn[data-v-da3bc8d5] {
|
|
3
3
|
cursor: pointer;
|
|
4
|
-
}
|
|
4
|
+
}
|
|
5
5
|
|
|
6
|
-
.rightpanelbtn[data-v-
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
display: inline-flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
width: 24px;
|
|
6
|
+
.rightpanelbtn[data-v-b373d5f7] {
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
width: 24px;
|
|
12
12
|
height: 24px;
|
|
13
|
-
}
|
|
13
|
+
}
|
|
14
14
|
.splitpanes{display:flex;width:100%;height:100%}.splitpanes--vertical{flex-direction:row}.splitpanes--horizontal{flex-direction:column}.splitpanes--dragging .splitpanes__pane{-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.splitpanes__pane{width:100%;height:100%;overflow:hidden}.splitpanes--vertical .splitpanes__pane{transition:width .2s ease-out}.splitpanes--horizontal .splitpanes__pane{transition:height .2s ease-out}.splitpanes--dragging .splitpanes__pane{transition:none}.splitpanes__splitter{touch-action:none}.splitpanes--vertical>.splitpanes__splitter{min-width:1px;cursor:col-resize}.splitpanes--horizontal>.splitpanes__splitter{min-height:1px;cursor:row-resize}.splitpanes.default-theme .splitpanes__pane{background-color:#f2f2f2}.splitpanes.default-theme .splitpanes__splitter{background-color:#fff;box-sizing:border-box;position:relative;flex-shrink:0}.splitpanes.default-theme .splitpanes__splitter:before,.splitpanes.default-theme .splitpanes__splitter:after{content:"";position:absolute;top:50%;left:50%;background-color:#00000026;transition:background-color .3s}.splitpanes.default-theme .splitpanes__splitter:hover:before,.splitpanes.default-theme .splitpanes__splitter:hover:after{background-color:#00000040}.splitpanes.default-theme .splitpanes__splitter:first-child{cursor:auto}.default-theme.splitpanes .splitpanes .splitpanes__splitter{z-index:1}.default-theme.splitpanes--vertical>.splitpanes__splitter,.default-theme .splitpanes--vertical>.splitpanes__splitter{width:7px;border-left:1px solid #eee;margin-left:-1px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{transform:translateY(-50%);width:1px;height:30px}.default-theme.splitpanes--vertical>.splitpanes__splitter:before,.default-theme .splitpanes--vertical>.splitpanes__splitter:before{margin-left:-2px}.default-theme.splitpanes--vertical>.splitpanes__splitter:after,.default-theme .splitpanes--vertical>.splitpanes__splitter:after{margin-left:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter,.default-theme .splitpanes--horizontal>.splitpanes__splitter{height:7px;border-top:1px solid #eee;margin-top:-1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{transform:translate(-50%);width:30px;height:1px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:before,.default-theme .splitpanes--horizontal>.splitpanes__splitter:before{margin-top:-2px}.default-theme.splitpanes--horizontal>.splitpanes__splitter:after,.default-theme .splitpanes--horizontal>.splitpanes__splitter:after{margin-top:1px}
|
|
15
15
|
|
|
16
16
|
.left-menu-container {
|
package/dist/vue3-datatable.js
CHANGED
|
@@ -2500,7 +2500,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
2500
2500
|
}
|
|
2501
2501
|
return target;
|
|
2502
2502
|
};
|
|
2503
|
-
const ButtonExpand = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
2503
|
+
const ButtonExpand = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-da3bc8d5"]]);
|
|
2504
2504
|
const __default__$4 = {
|
|
2505
2505
|
name: "ButtonRightPanel"
|
|
2506
2506
|
};
|
|
@@ -2526,7 +2526,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2526
2526
|
};
|
|
2527
2527
|
}
|
|
2528
2528
|
});
|
|
2529
|
-
const ButtonRightPanel = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
2529
|
+
const ButtonRightPanel = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-b373d5f7"]]);
|
|
2530
2530
|
const _hoisted_1$6 = { class: "bh-text-[13px] bh-font-normal bh-rounded bh-overflow-hidden" };
|
|
2531
2531
|
const __default__$3 = {
|
|
2532
2532
|
name: "columnFilter"
|
|
@@ -3000,8 +3000,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3000
3000
|
const setupColumnWatches = () => {
|
|
3001
3001
|
var _a;
|
|
3002
3002
|
if (!((_a = props.all) == null ? void 0 : _a.columns)) return;
|
|
3003
|
+
console.log("🔵 [SETUP-WATCHES] Starting setup for", props.all.columns.length, "columns");
|
|
3003
3004
|
props.all.columns.forEach((col) => {
|
|
3004
3005
|
if (col.filter && col.field && !watchedFields.value.has(col.field)) {
|
|
3006
|
+
console.log("🔵 [WATCH-INIT]", col.field, {
|
|
3007
|
+
initialValue: col.value,
|
|
3008
|
+
initialCondition: col.condition
|
|
3009
|
+
});
|
|
3005
3010
|
if (filterInputs.value[col.field] === void 0) {
|
|
3006
3011
|
filterInputs.value[col.field] = col.value || "";
|
|
3007
3012
|
}
|
|
@@ -3009,13 +3014,30 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3009
3014
|
watchDebounced(
|
|
3010
3015
|
() => filterInputs.value[col.field],
|
|
3011
3016
|
(newValue) => {
|
|
3017
|
+
var _a2;
|
|
3012
3018
|
const column = columnsMap.value.get(col.field);
|
|
3019
|
+
console.log("🔴 [DEBOUNCE-FIRED]", {
|
|
3020
|
+
field: col.field,
|
|
3021
|
+
newValue,
|
|
3022
|
+
columnConditionBefore: column == null ? void 0 : column.condition,
|
|
3023
|
+
columnValueBefore: column == null ? void 0 : column.value
|
|
3024
|
+
});
|
|
3013
3025
|
if (column) {
|
|
3014
3026
|
if (column.type === "string" || column.type === "String") {
|
|
3015
3027
|
column.value = typeof newValue === "string" ? newValue.trim() : newValue;
|
|
3016
3028
|
} else {
|
|
3017
3029
|
column.value = newValue;
|
|
3018
3030
|
}
|
|
3031
|
+
if (!column.condition && column.value) {
|
|
3032
|
+
const type = ((_a2 = column.type) == null ? void 0 : _a2.toLowerCase()) || "string";
|
|
3033
|
+
column.condition = type === "string" ? "Contains" : "Equal";
|
|
3034
|
+
console.log("🟡 [DEFAULT-CONDITION-SET]", col.field, column.condition);
|
|
3035
|
+
}
|
|
3036
|
+
console.log("🟢 [AFTER-MUTATION]", {
|
|
3037
|
+
field: col.field,
|
|
3038
|
+
valueAfter: column.value,
|
|
3039
|
+
conditionAfter: column.condition
|
|
3040
|
+
});
|
|
3019
3041
|
emit("filterChange");
|
|
3020
3042
|
}
|
|
3021
3043
|
},
|
|
@@ -3074,10 +3096,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3074
3096
|
return condition;
|
|
3075
3097
|
};
|
|
3076
3098
|
const handleConditionChange = (field, condition) => {
|
|
3099
|
+
console.log("🟠 [CONDITION-CHANGE]", { field, condition });
|
|
3077
3100
|
const column = columnsMap.value.get(field);
|
|
3078
3101
|
if (column) {
|
|
3079
3102
|
column.condition = condition;
|
|
3080
3103
|
columnConditions.value[field] = condition;
|
|
3104
|
+
console.log("🟠 [CONDITION-UPDATED]", {
|
|
3105
|
+
field,
|
|
3106
|
+
newCondition: column.condition,
|
|
3107
|
+
columnValue: column.value
|
|
3108
|
+
});
|
|
3081
3109
|
emit("filterChange");
|
|
3082
3110
|
}
|
|
3083
3111
|
};
|
|
@@ -3149,7 +3177,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3149
3177
|
], 4)) : createCommentVNode("", true),
|
|
3150
3178
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props.all.columns, (col, j) => {
|
|
3151
3179
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
3152
|
-
!col.hide ? (openBlock(), createElementBlock("th", {
|
|
3180
|
+
!col.hide && !col.dataOnly ? (openBlock(), createElementBlock("th", {
|
|
3153
3181
|
key: col.field,
|
|
3154
3182
|
class: normalizeClass(["bh-select-none bh-z-[1]", [
|
|
3155
3183
|
props.all.sortable && col.sort ? "bh-cursor-pointer" : "",
|
|
@@ -3577,6 +3605,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3577
3605
|
item.type = type;
|
|
3578
3606
|
item.isUnique = item.isUnique !== void 0 ? item.isUnique : false;
|
|
3579
3607
|
item.hide = item.hide !== void 0 ? item.hide : false;
|
|
3608
|
+
item.dataOnly = item.dataOnly !== void 0 ? item.dataOnly : false;
|
|
3580
3609
|
item.filter = item.filter !== void 0 ? item.filter : true;
|
|
3581
3610
|
item.search = item.search !== void 0 ? item.search : true;
|
|
3582
3611
|
item.sort = item.sort !== void 0 ? item.sort : true;
|
|
@@ -4128,6 +4157,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4128
4157
|
}
|
|
4129
4158
|
};
|
|
4130
4159
|
const changeForServer = (changeType, isResetPage = false) => {
|
|
4160
|
+
console.log(
|
|
4161
|
+
"🔵 [CHANGE-FOR-SERVER] Props columns detail:",
|
|
4162
|
+
props.columns.map((c) => ({ field: c.field, value: c.value, condition: c.condition }))
|
|
4163
|
+
);
|
|
4131
4164
|
if (props.isServerMode) {
|
|
4132
4165
|
setDefaultCondition();
|
|
4133
4166
|
const res = {
|
|
@@ -4140,6 +4173,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4140
4173
|
column_filters: props.columns,
|
|
4141
4174
|
change_type: changeType
|
|
4142
4175
|
};
|
|
4176
|
+
console.log(
|
|
4177
|
+
"🔵 [EMITTING-CHANGE] Final column_filters:",
|
|
4178
|
+
res.column_filters.map((c) => ({ field: c.field, value: c.value, condition: c.condition }))
|
|
4179
|
+
);
|
|
4143
4180
|
emit("change", res);
|
|
4144
4181
|
}
|
|
4145
4182
|
};
|
|
@@ -4456,7 +4493,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4456
4493
|
], 6)) : createCommentVNode("", true),
|
|
4457
4494
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props.columns, (col, j) => {
|
|
4458
4495
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
4459
|
-
!col.hide ? (openBlock(), createElementBlock("td", {
|
|
4496
|
+
!col.hide && !col.dataOnly ? (openBlock(), createElementBlock("td", {
|
|
4460
4497
|
key: col.field,
|
|
4461
4498
|
class: normalizeClass([
|
|
4462
4499
|
isCellClassFunction.value ? _ctx.cellClass(item) : props.cellClass,
|
|
@@ -4520,7 +4557,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4520
4557
|
}, null, 8, _hoisted_20)) : createCommentVNode("", true),
|
|
4521
4558
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props.columns, (col, j) => {
|
|
4522
4559
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
4523
|
-
!col.hide ? (openBlock(), createElementBlock("td", {
|
|
4560
|
+
!col.hide && !col.dataOnly ? (openBlock(), createElementBlock("td", {
|
|
4524
4561
|
key: col.field,
|
|
4525
4562
|
class: normalizeClass([
|
|
4526
4563
|
isCellClassFunction.value ? _ctx.cellClass(item) : props.cellClass,
|
|
@@ -4704,7 +4741,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4704
4741
|
], 6)) : createCommentVNode("", true),
|
|
4705
4742
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props.columns, (col, j) => {
|
|
4706
4743
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
4707
|
-
!col.hide ? (openBlock(), createElementBlock("td", {
|
|
4744
|
+
!col.hide && !col.dataOnly ? (openBlock(), createElementBlock("td", {
|
|
4708
4745
|
key: col.field,
|
|
4709
4746
|
class: normalizeClass([
|
|
4710
4747
|
isCellClassFunction.value ? _ctx.cellClass(item) : props.cellClass,
|
|
@@ -4779,7 +4816,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4779
4816
|
}, null, 8, _hoisted_31)) : createCommentVNode("", true),
|
|
4780
4817
|
(openBlock(true), createElementBlock(Fragment, null, renderList(props.columns, (col, j) => {
|
|
4781
4818
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
4782
|
-
!col.hide ? (openBlock(), createElementBlock("td", {
|
|
4819
|
+
!col.hide && !col.dataOnly ? (openBlock(), createElementBlock("td", {
|
|
4783
4820
|
key: col.field,
|
|
4784
4821
|
class: normalizeClass([
|
|
4785
4822
|
isCellClassFunction.value ? _ctx.cellClass(item) : props.cellClass,
|