@fecp/designer 5.5.85 → 5.5.86
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/es/designer/package.json.mjs +1 -1
- package/es/designer.css +3 -3
- package/es/packages/vue/src/components/table/TableColumn.vue.mjs +5 -1
- package/es/packages/vue/src/utils/parseFilterConfig.mjs +0 -3
- package/lib/designer/package.json.js +1 -1
- package/lib/designer.css +3 -3
- package/lib/packages/vue/src/components/table/TableColumn.vue.js +5 -1
- package/lib/packages/vue/src/utils/parseFilterConfig.js +0 -3
- package/package.json +1 -1
package/es/designer.css
CHANGED
|
@@ -6477,10 +6477,10 @@ body,
|
|
|
6477
6477
|
border-radius: 5px;
|
|
6478
6478
|
margin-right: 12px;
|
|
6479
6479
|
margin-top: 2px;
|
|
6480
|
-
}.cell-content .cell-text[data-v-
|
|
6480
|
+
}.cell-content .cell-text[data-v-e3f917a9] {
|
|
6481
6481
|
display: inline-block;
|
|
6482
6482
|
}
|
|
6483
|
-
.cell-content .copy-icon[data-v-
|
|
6483
|
+
.cell-content .copy-icon[data-v-e3f917a9] {
|
|
6484
6484
|
cursor: pointer;
|
|
6485
6485
|
color: #909399;
|
|
6486
6486
|
font-size: 14px;
|
|
@@ -6488,7 +6488,7 @@ body,
|
|
|
6488
6488
|
top: 4px;
|
|
6489
6489
|
margin-left: 4px;
|
|
6490
6490
|
}
|
|
6491
|
-
.cell-content .copy-icon[data-v-
|
|
6491
|
+
.cell-content .copy-icon[data-v-e3f917a9]:hover {
|
|
6492
6492
|
color: #409eff;
|
|
6493
6493
|
}.fec-table-filter[data-v-ba2f1878] {
|
|
6494
6494
|
display: flex;
|
|
@@ -284,6 +284,10 @@ const _sfc_main = {
|
|
|
284
284
|
});
|
|
285
285
|
const isBtnDisabled = (row, item) => {
|
|
286
286
|
if (!item.disableCondition) return false;
|
|
287
|
+
const { operator, conditions, groups } = item.disableCondition;
|
|
288
|
+
if ((!conditions || conditions.length == 0) && !groups || groups.length == 0) {
|
|
289
|
+
return false;
|
|
290
|
+
}
|
|
287
291
|
return checkFilterMatch(item.disableCondition, row, props.fieldsData);
|
|
288
292
|
};
|
|
289
293
|
const optColumnWidth = computed(() => {
|
|
@@ -444,7 +448,7 @@ const _sfc_main = {
|
|
|
444
448
|
};
|
|
445
449
|
}
|
|
446
450
|
};
|
|
447
|
-
const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
451
|
+
const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e3f917a9"]]);
|
|
448
452
|
export {
|
|
449
453
|
TableColumn as default
|
|
450
454
|
};
|
|
@@ -14,9 +14,6 @@ function checkFilterMatch(filterConfig, data, fields = []) {
|
|
|
14
14
|
}
|
|
15
15
|
function checkGroupMatch(group, data, fields) {
|
|
16
16
|
const { operator, conditions, groups } = group;
|
|
17
|
-
if ((!conditions || conditions.length == 0) && !groups || groups.length == 0) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
17
|
const results = [];
|
|
21
18
|
if (conditions && conditions.length > 0) {
|
|
22
19
|
conditions.forEach((cond) => {
|
package/lib/designer.css
CHANGED
|
@@ -6477,10 +6477,10 @@ body,
|
|
|
6477
6477
|
border-radius: 5px;
|
|
6478
6478
|
margin-right: 12px;
|
|
6479
6479
|
margin-top: 2px;
|
|
6480
|
-
}.cell-content .cell-text[data-v-
|
|
6480
|
+
}.cell-content .cell-text[data-v-e3f917a9] {
|
|
6481
6481
|
display: inline-block;
|
|
6482
6482
|
}
|
|
6483
|
-
.cell-content .copy-icon[data-v-
|
|
6483
|
+
.cell-content .copy-icon[data-v-e3f917a9] {
|
|
6484
6484
|
cursor: pointer;
|
|
6485
6485
|
color: #909399;
|
|
6486
6486
|
font-size: 14px;
|
|
@@ -6488,7 +6488,7 @@ body,
|
|
|
6488
6488
|
top: 4px;
|
|
6489
6489
|
margin-left: 4px;
|
|
6490
6490
|
}
|
|
6491
|
-
.cell-content .copy-icon[data-v-
|
|
6491
|
+
.cell-content .copy-icon[data-v-e3f917a9]:hover {
|
|
6492
6492
|
color: #409eff;
|
|
6493
6493
|
}.fec-table-filter[data-v-ba2f1878] {
|
|
6494
6494
|
display: flex;
|
|
@@ -286,6 +286,10 @@ const _sfc_main = {
|
|
|
286
286
|
});
|
|
287
287
|
const isBtnDisabled = (row, item) => {
|
|
288
288
|
if (!item.disableCondition) return false;
|
|
289
|
+
const { operator, conditions, groups } = item.disableCondition;
|
|
290
|
+
if ((!conditions || conditions.length == 0) && !groups || groups.length == 0) {
|
|
291
|
+
return false;
|
|
292
|
+
}
|
|
289
293
|
return parseFilterConfig.checkFilterMatch(item.disableCondition, row, props.fieldsData);
|
|
290
294
|
};
|
|
291
295
|
const optColumnWidth = Vue.computed(() => {
|
|
@@ -446,5 +450,5 @@ const _sfc_main = {
|
|
|
446
450
|
};
|
|
447
451
|
}
|
|
448
452
|
};
|
|
449
|
-
const TableColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
453
|
+
const TableColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-e3f917a9"]]);
|
|
450
454
|
exports.default = TableColumn;
|
|
@@ -16,9 +16,6 @@ function checkFilterMatch(filterConfig, data, fields = []) {
|
|
|
16
16
|
}
|
|
17
17
|
function checkGroupMatch(group, data, fields) {
|
|
18
18
|
const { operator, conditions, groups } = group;
|
|
19
|
-
if ((!conditions || conditions.length == 0) && !groups || groups.length == 0) {
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
19
|
const results = [];
|
|
23
20
|
if (conditions && conditions.length > 0) {
|
|
24
21
|
conditions.forEach((cond) => {
|