@fecp/designer 5.6.26 → 5.6.28
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/_virtual/index2.mjs +5 -3
- package/es/_virtual/index3.mjs +3 -5
- package/es/_virtual/index4.mjs +2 -2
- package/es/_virtual/index5.mjs +2 -2
- package/es/designer/package.json.mjs +1 -1
- package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
- package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
- package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
- package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
- package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
- package/es/designer/src/packages/form/components/H2Wrapper.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
- package/es/designer/src/packages/importantDataChange/index.vue.mjs +1 -1
- package/es/designer/src/packages/prod/index.vue.mjs +1 -1
- package/es/designer/src/packages/table/TableSetting.vue.mjs +19 -20
- package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
- package/es/designer/src/packages/table/tableBtn.vue.mjs +72 -16
- package/es/designer.css +281 -195
- package/es/node_modules/@braintree/sanitize-url/dist/index.mjs +1 -1
- package/es/node_modules/diagram-js/lib/model/index.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-OUVF2IWQ.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-EOCWNBFH.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-23GEKE2U.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-NO4QXBWP.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-DBY2YBRQ.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-2N3HPSRC.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-6OUMAXLB.mjs +1 -1
- package/es/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.mjs +1 -1
- package/es/node_modules/object-refs/index.mjs +1 -1
- package/es/packages/mobile/index.mjs +2 -0
- package/es/packages/mobile/src/components/all.mjs +2 -0
- package/es/packages/mobile/src/components/custom/aiAssistant/AiAssistant.vue.mjs +91 -0
- package/es/packages/mobile/src/components/custom/aiAssistant/index.mjs +10 -0
- package/es/packages/mobile/src/components/custom/appDetail/AppDetail.vue.mjs +25 -16
- package/es/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.mjs +7 -3
- package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +2 -2
- package/es/packages/mobile/src/index.vue.mjs +14 -68
- package/es/packages/vue/src/components/bus/flowChart/bpmnjs/component/NodeItem.vue.mjs +1 -1
- package/es/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/h2/H2.vue.mjs +1 -1
- package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +58 -3
- package/es/packages/vue/src/components/forms/subTable/index.mjs +2 -2
- package/es/packages/vue/src/components/table/CustomButtons.vue.mjs +51 -2
- package/es/packages/vue/src/components/table/Table.vue.mjs +7 -3
- package/es/packages/vue/src/components/table/TableFilter.vue.mjs +6 -6
- package/lib/_virtual/index2.js +6 -4
- package/lib/_virtual/index3.js +4 -6
- package/lib/_virtual/index4.js +2 -2
- package/lib/_virtual/index5.js +2 -2
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/DocumentParam.vue.js +1 -1
- package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
- package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
- package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
- package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
- package/lib/designer/src/packages/form/components/H2Wrapper.vue.js +1 -1
- package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
- package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
- package/lib/designer/src/packages/importantDataChange/index.vue.js +1 -1
- package/lib/designer/src/packages/prod/index.vue.js +1 -1
- package/lib/designer/src/packages/table/TableSetting.vue.js +19 -20
- package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
- package/lib/designer/src/packages/table/tableBtn.vue.js +83 -27
- package/lib/designer.css +281 -195
- package/lib/node_modules/@braintree/sanitize-url/dist/index.js +1 -1
- package/lib/node_modules/diagram-js/lib/model/index.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-OUVF2IWQ.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-EOCWNBFH.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-23GEKE2U.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-NO4QXBWP.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-DBY2YBRQ.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-2N3HPSRC.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-6OUMAXLB.js +1 -1
- package/lib/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.js +1 -1
- package/lib/node_modules/object-refs/index.js +1 -1
- package/lib/packages/mobile/index.js +4 -2
- package/lib/packages/mobile/src/components/all.js +2 -0
- package/lib/packages/mobile/src/components/custom/aiAssistant/AiAssistant.vue.js +91 -0
- package/lib/packages/mobile/src/components/custom/aiAssistant/index.js +10 -0
- package/lib/packages/mobile/src/components/custom/appDetail/AppDetail.vue.js +25 -16
- package/lib/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.js +7 -3
- package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +2 -2
- package/lib/packages/mobile/src/index.vue.js +17 -71
- package/lib/packages/vue/src/components/bus/flowChart/bpmnjs/component/NodeItem.vue.js +1 -1
- package/lib/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/h2/H2.vue.js +1 -1
- package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +57 -2
- package/lib/packages/vue/src/components/table/CustomButtons.vue.js +51 -2
- package/lib/packages/vue/src/components/table/Table.vue.js +7 -3
- package/lib/packages/vue/src/components/table/TableFilter.vue.js +5 -5
- package/package.json +1 -1
|
@@ -8,11 +8,19 @@ const index$2 = require("../subTitle/index.js");
|
|
|
8
8
|
const index = require("../h2/index.js");
|
|
9
9
|
const parseRouteParams = require("../../../utils/parseRouteParams.js");
|
|
10
10
|
const parseFilterConfig = require("../../../utils/parseFilterConfig.js");
|
|
11
|
+
const formatCellValue = require("../../../utils/formatCellValue.js");
|
|
12
|
+
;/* empty css */
|
|
13
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
11
14
|
const index$1 = require("../../../../../../node_modules/element-plus/es/components/button/index.js");
|
|
12
15
|
const _hoisted_1 = {
|
|
13
16
|
key: 0,
|
|
14
17
|
style: { "height": "60px", "position": "relative" }
|
|
15
18
|
};
|
|
19
|
+
const _hoisted_2 = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "selectionSummary"
|
|
22
|
+
};
|
|
23
|
+
const _hoisted_3 = { class: "summary-badge summary-count" };
|
|
16
24
|
const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
17
25
|
inheritAttrs: false
|
|
18
26
|
}, {
|
|
@@ -98,6 +106,35 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
98
106
|
...((_b = subTableOption.value) == null ? void 0 : _b.hiddenFields) || []
|
|
99
107
|
];
|
|
100
108
|
});
|
|
109
|
+
const selectedRows = Vue.ref([]);
|
|
110
|
+
const handleSelectionChange = (rows) => {
|
|
111
|
+
selectedRows.value = rows || [];
|
|
112
|
+
};
|
|
113
|
+
const showSelectionSummary = Vue.computed(() => {
|
|
114
|
+
var _a, _b;
|
|
115
|
+
const selectMode = (_a = subTableOption.value) == null ? void 0 : _a.selectMode;
|
|
116
|
+
return selectMode === "multiple" && ((_b = subTableOption.value) == null ? void 0 : _b.showSelectionSummary);
|
|
117
|
+
});
|
|
118
|
+
const summaryItems = Vue.computed(() => {
|
|
119
|
+
var _a;
|
|
120
|
+
const summaryFields = ((_a = subTableOption.value) == null ? void 0 : _a.selectionSummaryFields) || [];
|
|
121
|
+
if (!summaryFields.length) return [];
|
|
122
|
+
return summaryFields.map((fieldName) => {
|
|
123
|
+
const field = subTableFieldsData.value.find(
|
|
124
|
+
(f) => f.fieldName === fieldName
|
|
125
|
+
);
|
|
126
|
+
if (!field) return null;
|
|
127
|
+
const sum = selectedRows.value.reduce((total, row) => {
|
|
128
|
+
const value = parseFloat(row[fieldName]);
|
|
129
|
+
return total + (isNaN(value) ? 0 : value);
|
|
130
|
+
}, 0);
|
|
131
|
+
return {
|
|
132
|
+
fieldName,
|
|
133
|
+
label: field.label || field.fieldName,
|
|
134
|
+
value: formatCellValue.formatCellValue(sum, field)
|
|
135
|
+
};
|
|
136
|
+
}).filter(Boolean);
|
|
137
|
+
});
|
|
101
138
|
const leftButtons = Vue.computed(() => {
|
|
102
139
|
var _a, _b;
|
|
103
140
|
return (((_b = (_a = subTableOption.value) == null ? void 0 : _a.customBtns) == null ? void 0 : _b.left) || []).filter((item) => {
|
|
@@ -172,7 +209,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
172
209
|
Vue.unref(leftButtons) ? {
|
|
173
210
|
name: "left",
|
|
174
211
|
fn: Vue.withCtx(() => [
|
|
175
|
-
|
|
212
|
+
Vue.unref(showSelectionSummary) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, [
|
|
213
|
+
Vue.createElementVNode("span", _hoisted_3, [
|
|
214
|
+
_cache[0] || (_cache[0] = Vue.createTextVNode("已勾选 ")),
|
|
215
|
+
Vue.createElementVNode("em", null, Vue.toDisplayString(Vue.unref(selectedRows).length || 0), 1),
|
|
216
|
+
_cache[1] || (_cache[1] = Vue.createTextVNode(" 条"))
|
|
217
|
+
]),
|
|
218
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(Vue.unref(summaryItems), (item) => {
|
|
219
|
+
return Vue.openBlock(), Vue.createElementBlock("span", {
|
|
220
|
+
key: item.fieldName,
|
|
221
|
+
class: "summary-badge summary-item"
|
|
222
|
+
}, [
|
|
223
|
+
Vue.createTextVNode(Vue.toDisplayString(item.label) + " ", 1),
|
|
224
|
+
Vue.createElementVNode("em", null, Vue.toDisplayString(item.value), 1)
|
|
225
|
+
]);
|
|
226
|
+
}), 128))
|
|
227
|
+
])) : Vue.createCommentVNode("", true),
|
|
228
|
+
__props.formMode != "query" ? (Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, { key: 1 }, Vue.renderList(Vue.unref(leftButtons), (btn) => {
|
|
176
229
|
return Vue.openBlock(), Vue.createBlock(_component_el_button, {
|
|
177
230
|
link: "",
|
|
178
231
|
type: "primary",
|
|
@@ -198,6 +251,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
198
251
|
templateKey: __props.config.subTableKey,
|
|
199
252
|
isSubTable: "",
|
|
200
253
|
onHeightLoaded: subTableLoaded,
|
|
254
|
+
onSelectionChange: handleSelectionChange,
|
|
201
255
|
mode: __props.config.subTableMode,
|
|
202
256
|
titleMode: __props.config.titleMode,
|
|
203
257
|
hasPagination: __props.config.isSubTablePagination,
|
|
@@ -215,4 +269,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
215
269
|
};
|
|
216
270
|
}
|
|
217
271
|
});
|
|
218
|
-
|
|
272
|
+
const _SubTable = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-8a26081e"]]);
|
|
273
|
+
exports.default = _SubTable;
|
|
@@ -8,6 +8,7 @@ const vxeTable = require("vxe-table");
|
|
|
8
8
|
const index$1 = require("../../../../../node_modules/@element-plus/icons-vue/dist/index.js");
|
|
9
9
|
const getInstance = require("../../utils/getInstance.js");
|
|
10
10
|
const parseFilterConfig = require("../../utils/parseFilterConfig.js");
|
|
11
|
+
const formatCellValue = require("../../utils/formatCellValue.js");
|
|
11
12
|
;/* empty css */
|
|
12
13
|
const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
13
14
|
const index = require("../../../../../node_modules/element-plus/es/components/icon/index.js");
|
|
@@ -17,6 +18,11 @@ const _hoisted_2 = {
|
|
|
17
18
|
key: 1,
|
|
18
19
|
class: "template-name"
|
|
19
20
|
};
|
|
21
|
+
const _hoisted_3 = {
|
|
22
|
+
key: 2,
|
|
23
|
+
class: "selectionSummary"
|
|
24
|
+
};
|
|
25
|
+
const _hoisted_4 = { class: "summary-badge summary-count" };
|
|
20
26
|
const _sfc_main = {
|
|
21
27
|
__name: "CustomButtons",
|
|
22
28
|
props: {
|
|
@@ -42,6 +48,10 @@ const _sfc_main = {
|
|
|
42
48
|
hiddenFormData: {
|
|
43
49
|
type: Object,
|
|
44
50
|
default: {}
|
|
51
|
+
},
|
|
52
|
+
selectedRows: {
|
|
53
|
+
type: Array,
|
|
54
|
+
default: () => []
|
|
45
55
|
}
|
|
46
56
|
},
|
|
47
57
|
emits: ["click"],
|
|
@@ -79,6 +89,29 @@ const _sfc_main = {
|
|
|
79
89
|
const hasButtons = Vue.computed(() => {
|
|
80
90
|
return leftButtons.value.length > 0 || rightButtons.value.length > 0;
|
|
81
91
|
});
|
|
92
|
+
const showSelectionSummary = Vue.computed(() => {
|
|
93
|
+
var _a, _b;
|
|
94
|
+
const selectMode = (_a = props.localConfig) == null ? void 0 : _a.selectMode;
|
|
95
|
+
return selectMode === "multiple" && ((_b = props.localConfig) == null ? void 0 : _b.showSelectionSummary);
|
|
96
|
+
});
|
|
97
|
+
const summaryItems = Vue.computed(() => {
|
|
98
|
+
var _a;
|
|
99
|
+
const summaryFields = ((_a = props.localConfig) == null ? void 0 : _a.selectionSummaryFields) || [];
|
|
100
|
+
if (!summaryFields.length) return [];
|
|
101
|
+
return summaryFields.map((fieldName) => {
|
|
102
|
+
const field = fieldsData.value.find((f) => f.fieldName === fieldName);
|
|
103
|
+
if (!field) return null;
|
|
104
|
+
const sum = props.selectedRows.reduce((total, row) => {
|
|
105
|
+
const value = parseFloat(row[fieldName]);
|
|
106
|
+
return total + (isNaN(value) ? 0 : value);
|
|
107
|
+
}, 0);
|
|
108
|
+
return {
|
|
109
|
+
fieldName,
|
|
110
|
+
label: field.label || field.fieldName,
|
|
111
|
+
value: formatCellValue.formatCellValue(sum, field)
|
|
112
|
+
};
|
|
113
|
+
}).filter(Boolean);
|
|
114
|
+
});
|
|
82
115
|
const getBtnIcon = (btnType) => {
|
|
83
116
|
const iconMap = {
|
|
84
117
|
refresh: index$1.Refresh,
|
|
@@ -128,8 +161,24 @@ const _sfc_main = {
|
|
|
128
161
|
_cache[0] || (_cache[0] = Vue.createElementVNode("div", { class: "template-name-line" }, null, -1)),
|
|
129
162
|
Vue.createTextVNode(" " + Vue.toDisplayString(__props.localConfig.templateName), 1)
|
|
130
163
|
])) : Vue.createCommentVNode("", true),
|
|
164
|
+
!__props.isSubTable && showSelectionSummary.value ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_3, [
|
|
165
|
+
Vue.createElementVNode("span", _hoisted_4, [
|
|
166
|
+
_cache[1] || (_cache[1] = Vue.createTextVNode("已勾选 ")),
|
|
167
|
+
Vue.createElementVNode("em", null, Vue.toDisplayString(__props.selectedRows.length || 0), 1),
|
|
168
|
+
_cache[2] || (_cache[2] = Vue.createTextVNode(" 条"))
|
|
169
|
+
]),
|
|
170
|
+
(Vue.openBlock(true), Vue.createElementBlock(Vue.Fragment, null, Vue.renderList(summaryItems.value, (item) => {
|
|
171
|
+
return Vue.openBlock(), Vue.createElementBlock("span", {
|
|
172
|
+
key: item.fieldName,
|
|
173
|
+
class: "summary-badge summary-item"
|
|
174
|
+
}, [
|
|
175
|
+
Vue.createTextVNode(Vue.toDisplayString(item.label) + " ", 1),
|
|
176
|
+
Vue.createElementVNode("em", null, Vue.toDisplayString(item.value), 1)
|
|
177
|
+
]);
|
|
178
|
+
}), 128))
|
|
179
|
+
])) : Vue.createCommentVNode("", true),
|
|
131
180
|
!__props.readOnly && !__props.isSubTable && hasButtons.value ? (Vue.openBlock(), Vue.createBlock(Vue.unref(vxeTable.VxeToolbar), {
|
|
132
|
-
key:
|
|
181
|
+
key: 3,
|
|
133
182
|
ref: "toolbarRef",
|
|
134
183
|
style: { "flex": "1", "margin-bottom": "0", "padding": "0" }
|
|
135
184
|
}, {
|
|
@@ -173,5 +222,5 @@ const _sfc_main = {
|
|
|
173
222
|
};
|
|
174
223
|
}
|
|
175
224
|
};
|
|
176
|
-
const CustomButtons = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
225
|
+
const CustomButtons = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-d37b4cca"]]);
|
|
177
226
|
exports.default = CustomButtons;
|
|
@@ -548,10 +548,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
548
548
|
}
|
|
549
549
|
emit("page-change", { pageNo, pageSize });
|
|
550
550
|
};
|
|
551
|
+
const selectedRows = Vue.ref([]);
|
|
551
552
|
const handleCheckboxChange = (checked) => {
|
|
553
|
+
selectedRows.value = checked.records;
|
|
552
554
|
emit("selection-change", checked.records);
|
|
553
555
|
};
|
|
554
556
|
const handleCheckboxAll = (checked) => {
|
|
557
|
+
selectedRows.value = checked.records;
|
|
555
558
|
emit("selection-change", checked.records);
|
|
556
559
|
};
|
|
557
560
|
const handleRadioChange = (checked) => {
|
|
@@ -940,8 +943,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
940
943
|
readonly: __props.readonly,
|
|
941
944
|
isSubTable: __props.titleMode == "label",
|
|
942
945
|
onClick: handleCustomBtnClick,
|
|
943
|
-
hiddenFormData: hiddenFormData.value
|
|
944
|
-
|
|
946
|
+
hiddenFormData: hiddenFormData.value,
|
|
947
|
+
selectedRows: selectedRows.value
|
|
948
|
+
}, null, 8, ["custom-btns", "localConfig", "readonly", "isSubTable", "hiddenFormData", "selectedRows"])
|
|
945
949
|
], 64)) : Vue.createCommentVNode("", true),
|
|
946
950
|
((_d = (_c = localConfig.value) == null ? void 0 : _c.queryConfig) == null ? void 0 : _d.mode) == "dynamic" ? (Vue.openBlock(), Vue.createBlock(DynamicQuery.default, {
|
|
947
951
|
key: 1,
|
|
@@ -1028,5 +1032,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
1028
1032
|
};
|
|
1029
1033
|
}
|
|
1030
1034
|
});
|
|
1031
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1035
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-80e86615"]]);
|
|
1032
1036
|
exports.default = _Table;
|
|
@@ -54,7 +54,7 @@ const _sfc_main = {
|
|
|
54
54
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
55
55
|
var _a;
|
|
56
56
|
Vue.useCssVars((_ctx) => ({
|
|
57
|
-
"
|
|
57
|
+
"fedf9b3c": `${config.value.collapseRows * 90}px`
|
|
58
58
|
}));
|
|
59
59
|
const props = __props;
|
|
60
60
|
const emit = __emit;
|
|
@@ -185,7 +185,7 @@ const _sfc_main = {
|
|
|
185
185
|
config.value.enabled ? (Vue.openBlock(), Vue.createBlock(_component_el_form, {
|
|
186
186
|
key: 0,
|
|
187
187
|
model: filterValues.value,
|
|
188
|
-
class: "fec-table-filter",
|
|
188
|
+
class: Vue.normalizeClass(["fec-table-filter", { "should-show-toggle": shouldShowToggle.value }]),
|
|
189
189
|
"label-width": "100px",
|
|
190
190
|
"label-position": "right",
|
|
191
191
|
style: Vue.normalizeStyle({ "--column-count": config.value.columnCount }),
|
|
@@ -277,8 +277,8 @@ const _sfc_main = {
|
|
|
277
277
|
])
|
|
278
278
|
]),
|
|
279
279
|
_: 1
|
|
280
|
-
}, 8, ["model", "style"])) : Vue.createCommentVNode("", true),
|
|
281
|
-
shouldShowToggle.value ? (Vue.openBlock(), Vue.createBlock(_component_el_divider, {
|
|
280
|
+
}, 8, ["model", "class", "style"])) : Vue.createCommentVNode("", true),
|
|
281
|
+
config.value.enabled && shouldShowToggle.value ? (Vue.openBlock(), Vue.createBlock(_component_el_divider, {
|
|
282
282
|
key: 1,
|
|
283
283
|
"border-style": "dashed",
|
|
284
284
|
class: "filter-divider"
|
|
@@ -303,5 +303,5 @@ const _sfc_main = {
|
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
305
|
};
|
|
306
|
-
const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
306
|
+
const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-de2e11bc"]]);
|
|
307
307
|
exports.default = TableFilter;
|