@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.
Files changed (104) hide show
  1. package/es/_virtual/index2.mjs +5 -3
  2. package/es/_virtual/index3.mjs +3 -5
  3. package/es/_virtual/index4.mjs +2 -2
  4. package/es/_virtual/index5.mjs +2 -2
  5. package/es/designer/package.json.mjs +1 -1
  6. package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
  7. package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
  8. package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
  9. package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
  10. package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
  11. package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
  12. package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
  13. package/es/designer/src/packages/form/components/H2Wrapper.vue.mjs +1 -1
  14. package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
  15. package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
  16. package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
  17. package/es/designer/src/packages/importantDataChange/index.vue.mjs +1 -1
  18. package/es/designer/src/packages/prod/index.vue.mjs +1 -1
  19. package/es/designer/src/packages/table/TableSetting.vue.mjs +19 -20
  20. package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
  21. package/es/designer/src/packages/table/tableBtn.vue.mjs +72 -16
  22. package/es/designer.css +281 -195
  23. package/es/node_modules/@braintree/sanitize-url/dist/index.mjs +1 -1
  24. package/es/node_modules/diagram-js/lib/model/index.mjs +1 -1
  25. package/es/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.mjs +1 -1
  26. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.mjs +1 -1
  27. package/es/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.mjs +1 -1
  28. package/es/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-OUVF2IWQ.mjs +1 -1
  29. package/es/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-EOCWNBFH.mjs +1 -1
  30. package/es/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-23GEKE2U.mjs +1 -1
  31. package/es/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-NO4QXBWP.mjs +1 -1
  32. package/es/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-DBY2YBRQ.mjs +1 -1
  33. package/es/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-2N3HPSRC.mjs +1 -1
  34. package/es/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-6OUMAXLB.mjs +1 -1
  35. package/es/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.mjs +1 -1
  36. package/es/node_modules/object-refs/index.mjs +1 -1
  37. package/es/packages/mobile/index.mjs +2 -0
  38. package/es/packages/mobile/src/components/all.mjs +2 -0
  39. package/es/packages/mobile/src/components/custom/aiAssistant/AiAssistant.vue.mjs +91 -0
  40. package/es/packages/mobile/src/components/custom/aiAssistant/index.mjs +10 -0
  41. package/es/packages/mobile/src/components/custom/appDetail/AppDetail.vue.mjs +25 -16
  42. package/es/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.mjs +7 -3
  43. package/es/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.mjs +2 -2
  44. package/es/packages/mobile/src/index.vue.mjs +14 -68
  45. package/es/packages/vue/src/components/bus/flowChart/bpmnjs/component/NodeItem.vue.mjs +1 -1
  46. package/es/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.mjs +1 -1
  47. package/es/packages/vue/src/components/forms/h2/H2.vue.mjs +1 -1
  48. package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +58 -3
  49. package/es/packages/vue/src/components/forms/subTable/index.mjs +2 -2
  50. package/es/packages/vue/src/components/table/CustomButtons.vue.mjs +51 -2
  51. package/es/packages/vue/src/components/table/Table.vue.mjs +7 -3
  52. package/es/packages/vue/src/components/table/TableFilter.vue.mjs +6 -6
  53. package/lib/_virtual/index2.js +6 -4
  54. package/lib/_virtual/index3.js +4 -6
  55. package/lib/_virtual/index4.js +2 -2
  56. package/lib/_virtual/index5.js +2 -2
  57. package/lib/designer/package.json.js +1 -1
  58. package/lib/designer/src/components/DocumentParam.vue.js +1 -1
  59. package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
  60. package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
  61. package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
  62. package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
  63. package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
  64. package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
  65. package/lib/designer/src/packages/form/components/H2Wrapper.vue.js +1 -1
  66. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
  67. package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
  68. package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
  69. package/lib/designer/src/packages/importantDataChange/index.vue.js +1 -1
  70. package/lib/designer/src/packages/prod/index.vue.js +1 -1
  71. package/lib/designer/src/packages/table/TableSetting.vue.js +19 -20
  72. package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
  73. package/lib/designer/src/packages/table/tableBtn.vue.js +83 -27
  74. package/lib/designer.css +281 -195
  75. package/lib/node_modules/@braintree/sanitize-url/dist/index.js +1 -1
  76. package/lib/node_modules/diagram-js/lib/model/index.js +1 -1
  77. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-LMCZKHZV.js +1 -1
  78. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-32BRIVSS.js +1 -1
  79. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ICXQ74PX.js +1 -1
  80. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-OUVF2IWQ.js +1 -1
  81. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-EOCWNBFH.js +1 -1
  82. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-23GEKE2U.js +1 -1
  83. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-NO4QXBWP.js +1 -1
  84. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-DBY2YBRQ.js +1 -1
  85. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-2N3HPSRC.js +1 -1
  86. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-6OUMAXLB.js +1 -1
  87. package/lib/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.js +1 -1
  88. package/lib/node_modules/object-refs/index.js +1 -1
  89. package/lib/packages/mobile/index.js +4 -2
  90. package/lib/packages/mobile/src/components/all.js +2 -0
  91. package/lib/packages/mobile/src/components/custom/aiAssistant/AiAssistant.vue.js +91 -0
  92. package/lib/packages/mobile/src/components/custom/aiAssistant/index.js +10 -0
  93. package/lib/packages/mobile/src/components/custom/appDetail/AppDetail.vue.js +25 -16
  94. package/lib/packages/mobile/src/components/custom/approvalBar/ApprovalBar.vue.js +7 -3
  95. package/lib/packages/mobile/src/components/navigation/tabbar/Tabbar.vue.js +2 -2
  96. package/lib/packages/mobile/src/index.vue.js +17 -71
  97. package/lib/packages/vue/src/components/bus/flowChart/bpmnjs/component/NodeItem.vue.js +1 -1
  98. package/lib/packages/vue/src/components/bus/flowChart/bpmnjs/component/timeline.vue.js +1 -1
  99. package/lib/packages/vue/src/components/forms/h2/H2.vue.js +1 -1
  100. package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +57 -2
  101. package/lib/packages/vue/src/components/table/CustomButtons.vue.js +51 -2
  102. package/lib/packages/vue/src/components/table/Table.vue.js +7 -3
  103. package/lib/packages/vue/src/components/table/TableFilter.vue.js +5 -5
  104. package/package.json +1 -1
@@ -1,16 +1,24 @@
1
1
  import "../../../../../../node_modules/element-plus/es/index.mjs";
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { inject, ref, watch, computed, resolveComponent, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, createSlots, withCtx, renderList, createTextVNode, toDisplayString } from "vue";
4
+ import { inject, ref, watch, computed, resolveComponent, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, createSlots, withCtx, renderList, createTextVNode, toDisplayString, createElementVNode } from "vue";
5
5
  import { SubTitle } from "../subTitle/index.mjs";
6
6
  import { H2 } from "../h2/index.mjs";
7
7
  import { parseRouteParams } from "../../../utils/parseRouteParams.mjs";
8
8
  import { checkFilterMatch } from "../../../utils/parseFilterConfig.mjs";
9
+ import { formatCellValue } from "../../../utils/formatCellValue.mjs";
10
+ /* empty css */
11
+ import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
9
12
  import { ElButton } from "../../../../../../node_modules/element-plus/es/components/button/index.mjs";
10
13
  const _hoisted_1 = {
11
14
  key: 0,
12
15
  style: { "height": "60px", "position": "relative" }
13
16
  };
17
+ const _hoisted_2 = {
18
+ key: 0,
19
+ class: "selectionSummary"
20
+ };
21
+ const _hoisted_3 = { class: "summary-badge summary-count" };
14
22
  const _sfc_main = /* @__PURE__ */ Object.assign({
15
23
  inheritAttrs: false
16
24
  }, {
@@ -96,6 +104,35 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
96
104
  ...((_b = subTableOption.value) == null ? void 0 : _b.hiddenFields) || []
97
105
  ];
98
106
  });
107
+ const selectedRows = ref([]);
108
+ const handleSelectionChange = (rows) => {
109
+ selectedRows.value = rows || [];
110
+ };
111
+ const showSelectionSummary = computed(() => {
112
+ var _a, _b;
113
+ const selectMode = (_a = subTableOption.value) == null ? void 0 : _a.selectMode;
114
+ return selectMode === "multiple" && ((_b = subTableOption.value) == null ? void 0 : _b.showSelectionSummary);
115
+ });
116
+ const summaryItems = computed(() => {
117
+ var _a;
118
+ const summaryFields = ((_a = subTableOption.value) == null ? void 0 : _a.selectionSummaryFields) || [];
119
+ if (!summaryFields.length) return [];
120
+ return summaryFields.map((fieldName) => {
121
+ const field = subTableFieldsData.value.find(
122
+ (f) => f.fieldName === fieldName
123
+ );
124
+ if (!field) return null;
125
+ const sum = selectedRows.value.reduce((total, row) => {
126
+ const value = parseFloat(row[fieldName]);
127
+ return total + (isNaN(value) ? 0 : value);
128
+ }, 0);
129
+ return {
130
+ fieldName,
131
+ label: field.label || field.fieldName,
132
+ value: formatCellValue(sum, field)
133
+ };
134
+ }).filter(Boolean);
135
+ });
99
136
  const leftButtons = computed(() => {
100
137
  var _a, _b;
101
138
  return (((_b = (_a = subTableOption.value) == null ? void 0 : _a.customBtns) == null ? void 0 : _b.left) || []).filter((item) => {
@@ -170,7 +207,23 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
170
207
  unref(leftButtons) ? {
171
208
  name: "left",
172
209
  fn: withCtx(() => [
173
- __props.formMode != "query" ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(leftButtons), (btn) => {
210
+ unref(showSelectionSummary) ? (openBlock(), createElementBlock("div", _hoisted_2, [
211
+ createElementVNode("span", _hoisted_3, [
212
+ _cache[0] || (_cache[0] = createTextVNode("已勾选 ")),
213
+ createElementVNode("em", null, toDisplayString(unref(selectedRows).length || 0), 1),
214
+ _cache[1] || (_cache[1] = createTextVNode(" 条"))
215
+ ]),
216
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(summaryItems), (item) => {
217
+ return openBlock(), createElementBlock("span", {
218
+ key: item.fieldName,
219
+ class: "summary-badge summary-item"
220
+ }, [
221
+ createTextVNode(toDisplayString(item.label) + " ", 1),
222
+ createElementVNode("em", null, toDisplayString(item.value), 1)
223
+ ]);
224
+ }), 128))
225
+ ])) : createCommentVNode("", true),
226
+ __props.formMode != "query" ? (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(leftButtons), (btn) => {
174
227
  return openBlock(), createBlock(_component_el_button, {
175
228
  link: "",
176
229
  type: "primary",
@@ -196,6 +249,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
196
249
  templateKey: __props.config.subTableKey,
197
250
  isSubTable: "",
198
251
  onHeightLoaded: subTableLoaded,
252
+ onSelectionChange: handleSelectionChange,
199
253
  mode: __props.config.subTableMode,
200
254
  titleMode: __props.config.titleMode,
201
255
  hasPagination: __props.config.isSubTablePagination,
@@ -213,6 +267,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
213
267
  };
214
268
  }
215
269
  });
270
+ const _SubTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8a26081e"]]);
216
271
  export {
217
- _sfc_main as default
272
+ _SubTable as default
218
273
  };
@@ -1,6 +1,6 @@
1
- import _sfc_main from "./SubTable.vue.mjs";
1
+ import _SubTable from "./SubTable.vue.mjs";
2
2
  import install from "../../../utils/install.mjs";
3
- const SubTable = install.withInstall("SubTable", _sfc_main);
3
+ const SubTable = install.withInstall("SubTable", _SubTable);
4
4
  export {
5
5
  SubTable,
6
6
  SubTable as default
@@ -6,6 +6,7 @@ import { VxeToolbar } from "vxe-table";
6
6
  import { ArrowLeftBold as arrow_left_bold_default, Search as search_default, Edit as edit_default, Delete as delete_default, Plus as plus_default, Setting as setting_default, Download as download_default, Refresh as refresh_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
7
7
  import { getCurrentVueInstance } from "../../utils/getInstance.mjs";
8
8
  import { checkFilterMatch } from "../../utils/parseFilterConfig.mjs";
9
+ import { formatCellValue } from "../../utils/formatCellValue.mjs";
9
10
  /* empty css */
10
11
  import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
11
12
  import { ElIcon } from "../../../../../node_modules/element-plus/es/components/icon/index.mjs";
@@ -15,6 +16,11 @@ const _hoisted_2 = {
15
16
  key: 1,
16
17
  class: "template-name"
17
18
  };
19
+ const _hoisted_3 = {
20
+ key: 2,
21
+ class: "selectionSummary"
22
+ };
23
+ const _hoisted_4 = { class: "summary-badge summary-count" };
18
24
  const _sfc_main = {
19
25
  __name: "CustomButtons",
20
26
  props: {
@@ -40,6 +46,10 @@ const _sfc_main = {
40
46
  hiddenFormData: {
41
47
  type: Object,
42
48
  default: {}
49
+ },
50
+ selectedRows: {
51
+ type: Array,
52
+ default: () => []
43
53
  }
44
54
  },
45
55
  emits: ["click"],
@@ -77,6 +87,29 @@ const _sfc_main = {
77
87
  const hasButtons = computed(() => {
78
88
  return leftButtons.value.length > 0 || rightButtons.value.length > 0;
79
89
  });
90
+ const showSelectionSummary = computed(() => {
91
+ var _a, _b;
92
+ const selectMode = (_a = props.localConfig) == null ? void 0 : _a.selectMode;
93
+ return selectMode === "multiple" && ((_b = props.localConfig) == null ? void 0 : _b.showSelectionSummary);
94
+ });
95
+ const summaryItems = computed(() => {
96
+ var _a;
97
+ const summaryFields = ((_a = props.localConfig) == null ? void 0 : _a.selectionSummaryFields) || [];
98
+ if (!summaryFields.length) return [];
99
+ return summaryFields.map((fieldName) => {
100
+ const field = fieldsData.value.find((f) => f.fieldName === fieldName);
101
+ if (!field) return null;
102
+ const sum = props.selectedRows.reduce((total, row) => {
103
+ const value = parseFloat(row[fieldName]);
104
+ return total + (isNaN(value) ? 0 : value);
105
+ }, 0);
106
+ return {
107
+ fieldName,
108
+ label: field.label || field.fieldName,
109
+ value: formatCellValue(sum, field)
110
+ };
111
+ }).filter(Boolean);
112
+ });
80
113
  const getBtnIcon = (btnType) => {
81
114
  const iconMap = {
82
115
  refresh: refresh_default,
@@ -126,8 +159,24 @@ const _sfc_main = {
126
159
  _cache[0] || (_cache[0] = createElementVNode("div", { class: "template-name-line" }, null, -1)),
127
160
  createTextVNode(" " + toDisplayString(__props.localConfig.templateName), 1)
128
161
  ])) : createCommentVNode("", true),
162
+ !__props.isSubTable && showSelectionSummary.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
163
+ createElementVNode("span", _hoisted_4, [
164
+ _cache[1] || (_cache[1] = createTextVNode("已勾选 ")),
165
+ createElementVNode("em", null, toDisplayString(__props.selectedRows.length || 0), 1),
166
+ _cache[2] || (_cache[2] = createTextVNode(" 条"))
167
+ ]),
168
+ (openBlock(true), createElementBlock(Fragment, null, renderList(summaryItems.value, (item) => {
169
+ return openBlock(), createElementBlock("span", {
170
+ key: item.fieldName,
171
+ class: "summary-badge summary-item"
172
+ }, [
173
+ createTextVNode(toDisplayString(item.label) + " ", 1),
174
+ createElementVNode("em", null, toDisplayString(item.value), 1)
175
+ ]);
176
+ }), 128))
177
+ ])) : createCommentVNode("", true),
129
178
  !__props.readOnly && !__props.isSubTable && hasButtons.value ? (openBlock(), createBlock(unref(VxeToolbar), {
130
- key: 2,
179
+ key: 3,
131
180
  ref: "toolbarRef",
132
181
  style: { "flex": "1", "margin-bottom": "0", "padding": "0" }
133
182
  }, {
@@ -171,7 +220,7 @@ const _sfc_main = {
171
220
  };
172
221
  }
173
222
  };
174
- const CustomButtons = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8d29fa72"]]);
223
+ const CustomButtons = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d37b4cca"]]);
175
224
  export {
176
225
  CustomButtons as default
177
226
  };
@@ -546,10 +546,13 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
546
546
  }
547
547
  emit("page-change", { pageNo, pageSize });
548
548
  };
549
+ const selectedRows = ref([]);
549
550
  const handleCheckboxChange = (checked) => {
551
+ selectedRows.value = checked.records;
550
552
  emit("selection-change", checked.records);
551
553
  };
552
554
  const handleCheckboxAll = (checked) => {
555
+ selectedRows.value = checked.records;
553
556
  emit("selection-change", checked.records);
554
557
  };
555
558
  const handleRadioChange = (checked) => {
@@ -938,8 +941,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
938
941
  readonly: __props.readonly,
939
942
  isSubTable: __props.titleMode == "label",
940
943
  onClick: handleCustomBtnClick,
941
- hiddenFormData: hiddenFormData.value
942
- }, null, 8, ["custom-btns", "localConfig", "readonly", "isSubTable", "hiddenFormData"])
944
+ hiddenFormData: hiddenFormData.value,
945
+ selectedRows: selectedRows.value
946
+ }, null, 8, ["custom-btns", "localConfig", "readonly", "isSubTable", "hiddenFormData", "selectedRows"])
943
947
  ], 64)) : createCommentVNode("", true),
944
948
  ((_d = (_c = localConfig.value) == null ? void 0 : _c.queryConfig) == null ? void 0 : _d.mode) == "dynamic" ? (openBlock(), createBlock(DynamicQuery, {
945
949
  key: 1,
@@ -1026,7 +1030,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1026
1030
  };
1027
1031
  }
1028
1032
  });
1029
- const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-28ff595c"]]);
1033
+ const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-80e86615"]]);
1030
1034
  export {
1031
1035
  _Table as default
1032
1036
  };
@@ -10,7 +10,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import "../../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
13
- import { useCssVars, computed, ref, watch, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, withKeys, normalizeStyle, withCtx, createElementVNode, normalizeClass, renderList, withDirectives, createVNode, resolveDynamicComponent, mergeProps, vShow, createTextVNode, toDisplayString, unref } from "vue";
13
+ import { useCssVars, computed, ref, watch, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, withKeys, normalizeStyle, normalizeClass, withCtx, createElementVNode, renderList, withDirectives, createVNode, resolveDynamicComponent, mergeProps, vShow, createTextVNode, toDisplayString, unref } from "vue";
14
14
  import { DArrowRight as d_arrow_right_default, DArrowLeft as d_arrow_left_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
15
15
  import { Text } from "../forms/text/index.mjs";
16
16
  import { Select } from "../forms/select/index.mjs";
@@ -52,7 +52,7 @@ const _sfc_main = {
52
52
  setup(__props, { expose: __expose, emit: __emit }) {
53
53
  var _a;
54
54
  useCssVars((_ctx) => ({
55
- "f3ebd008": `${config.value.collapseRows * 90}px`
55
+ "fedf9b3c": `${config.value.collapseRows * 90}px`
56
56
  }));
57
57
  const props = __props;
58
58
  const emit = __emit;
@@ -183,7 +183,7 @@ const _sfc_main = {
183
183
  config.value.enabled ? (openBlock(), createBlock(_component_el_form, {
184
184
  key: 0,
185
185
  model: filterValues.value,
186
- class: "fec-table-filter",
186
+ class: normalizeClass(["fec-table-filter", { "should-show-toggle": shouldShowToggle.value }]),
187
187
  "label-width": "100px",
188
188
  "label-position": "right",
189
189
  style: normalizeStyle({ "--column-count": config.value.columnCount }),
@@ -275,8 +275,8 @@ const _sfc_main = {
275
275
  ])
276
276
  ]),
277
277
  _: 1
278
- }, 8, ["model", "style"])) : createCommentVNode("", true),
279
- shouldShowToggle.value ? (openBlock(), createBlock(_component_el_divider, {
278
+ }, 8, ["model", "class", "style"])) : createCommentVNode("", true),
279
+ config.value.enabled && shouldShowToggle.value ? (openBlock(), createBlock(_component_el_divider, {
280
280
  key: 1,
281
281
  "border-style": "dashed",
282
282
  class: "filter-divider"
@@ -301,7 +301,7 @@ const _sfc_main = {
301
301
  };
302
302
  }
303
303
  };
304
- const TableFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ba2f1878"]]);
304
+ const TableFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-de2e11bc"]]);
305
305
  export {
306
306
  TableFilter as default
307
307
  };
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../node_modules/@braintree/sanitize-url/dist/index.js");
4
- var distExports = index.__require();
5
- exports.distExports = distExports;
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const _commonjsHelpers = require("./_commonjsHelpers.js");
4
+ const index = require("../node_modules/object-refs/index.js");
5
+ var objectRefsExports = index.__require();
6
+ const Refs = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(objectRefsExports);
7
+ exports.default = Refs;
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const _commonjsHelpers = require("./_commonjsHelpers.js");
4
- const index = require("../node_modules/object-refs/index.js");
5
- var objectRefsExports = index.__require();
6
- const Refs = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(objectRefsExports);
7
- exports.default = Refs;
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const index = require("../node_modules/@braintree/sanitize-url/dist/index.js");
4
+ var distExports = index.__require();
5
+ exports.distExports = distExports;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var dist = {};
4
- exports.__exports = dist;
3
+ var objectRefs = { exports: {} };
4
+ exports.__module = objectRefs;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var objectRefs = { exports: {} };
4
- exports.__module = objectRefs;
3
+ var dist = {};
4
+ exports.__exports = dist;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.6.26";
3
+ const version = "5.6.28";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -11,7 +11,7 @@ require("../../../node_modules/element-plus/es/index.js");
11
11
  ;/* empty css */
12
12
  const Vue = require("vue");
13
13
  const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
14
- const ValueSelector = require("./ValueSelector.vue2.js");
14
+ const ValueSelector = require("./ValueSelector.vue.js");
15
15
  const index = require("../api/index.js");
16
16
  ;/* empty css */
17
17
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
@@ -6,7 +6,7 @@ require("../../../node_modules/element-plus/es/index.js");
6
6
  ;/* empty css */
7
7
  const Vue = require("vue");
8
8
  const index$1 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
9
- const ValueSelector = require("./ValueSelector.vue2.js");
9
+ const ValueSelector = require("./ValueSelector.vue.js");
10
10
  ;/* empty css */
11
11
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
12
12
  const index = require("../../../node_modules/element-plus/es/components/button/index.js");
@@ -18,7 +18,7 @@ const index$2 = require("../../../../node_modules/@element-plus/icons-vue/dist/i
18
18
  const common = require("../../packages/utils/common.js");
19
19
  const index$5 = require("../../packages/form/aside/index.js");
20
20
  const index$6 = require("../../packages/table/aside/index.js");
21
- const ValueSelector = require("../../components/ValueSelector.vue2.js");
21
+ const ValueSelector = require("../../components/ValueSelector.vue.js");
22
22
  ;/* empty css */
23
23
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
24
24
  const index = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js");
16
16
  require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js");
17
17
  const Vue = require("vue");
18
18
  const index = require("../../../../node_modules/@vueuse/core/dist/index.js");
19
- const ValueSelector = require("../../components/ValueSelector.vue2.js");
19
+ const ValueSelector = require("../../components/ValueSelector.vue.js");
20
20
  const index$1 = require("../../api/index.js");
21
21
  const common = require("../utils/common.js");
22
22
  const datasource = require("../utils/datasource.js");
@@ -32,7 +32,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js
32
32
  ;/* empty css */
33
33
  ;/* empty css */
34
34
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
35
- ;/* empty css */
35
+ ;/* empty css */
36
36
  const index$8 = require("../../api/index.js");
37
37
  ;/* empty css */
38
38
  ;/* empty css */
@@ -87,7 +87,7 @@ const widgets = require("../table/property/widgets.vue.js");
87
87
  require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
88
88
  ;/* empty css */
89
89
  ;/* empty css */
90
- ;/* empty css */
90
+ ;/* empty css */
91
91
  ;/* empty css */
92
92
  ;/* empty css */
93
93
  ;/* empty css */
@@ -6,7 +6,7 @@ require("../../../../../../node_modules/element-plus/es/index.js");
6
6
  ;/* empty css */
7
7
  const Vue = require("vue");
8
8
  const RiskSchemeSelector = require("../../../../components/RiskSchemeSelector.vue2.js");
9
- const ValueSelector = require("../../../../components/ValueSelector.vue2.js");
9
+ const ValueSelector = require("../../../../components/ValueSelector.vue.js");
10
10
  const ParamsConfig = require("../../../../components/ParamsConfig.vue2.js");
11
11
  const index = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
12
12
  const index$1 = require("../../../../../../node_modules/element-plus/es/components/switch/index.js");
@@ -31,5 +31,5 @@ const _sfc_main = {
31
31
  };
32
32
  }
33
33
  };
34
- const H2Wrapper = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-2078e9ec"]]);
34
+ const H2Wrapper = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c8a07776"]]);
35
35
  exports.default = H2Wrapper;
@@ -13,7 +13,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
13
13
  const Vue = require("vue");
14
14
  const common = require("../../utils/common.js");
15
15
  const eventBus = require("../../utils/eventBus.js");
16
- const ValueSelector = require("../../../components/ValueSelector.vue2.js");
16
+ const ValueSelector = require("../../../components/ValueSelector.vue.js");
17
17
  const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
18
18
  const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
19
19
  const index$2 = require("../../../../../node_modules/element-plus/es/components/input/index.js");
@@ -20,7 +20,7 @@ const EventConfigButton = require("../../../components/EventConfigButton.vue.js"
20
20
  const Vue = require("vue");
21
21
  const common = require("../../utils/common.js");
22
22
  require("../../utils/eventBus.js");
23
- const ValueSelector = require("../../../components/ValueSelector.vue2.js");
23
+ const ValueSelector = require("../../../components/ValueSelector.vue.js");
24
24
  const index = require("../../../api/index.js");
25
25
  const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
26
26
  ;/* empty css */
@@ -14,7 +14,7 @@ const Vue = require("vue");
14
14
  const common = require("../../utils/common.js");
15
15
  const TemplateSelector = require("../../../components/TemplateSelector.vue2.js");
16
16
  const eventBus = require("../../utils/eventBus.js");
17
- const ValueSelector = require("../../../components/ValueSelector.vue2.js");
17
+ const ValueSelector = require("../../../components/ValueSelector.vue.js");
18
18
  const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
19
19
  const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
20
20
  const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
@@ -7,7 +7,7 @@ require("../../../../node_modules/element-plus/es/index.js");
7
7
  ;/* empty css */
8
8
  ;/* empty css */
9
9
  const Vue = require("vue");
10
- const ValueSelector = require("../../components/ValueSelector.vue2.js");
10
+ const ValueSelector = require("../../components/ValueSelector.vue.js");
11
11
  const common = require("../utils/common.js");
12
12
  ;/* empty css */
13
13
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/es/index.js");
16
16
  const Vue = require("vue");
17
17
  const index$6 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
18
18
  const common = require("../utils/common.js");
19
- const ValueSelector = require("../../components/ValueSelector.vue2.js");
19
+ const ValueSelector = require("../../components/ValueSelector.vue.js");
20
20
  const index = require("../../api/index.js");
21
21
  ;/* empty css */
22
22
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
@@ -160,8 +160,7 @@ const _sfc_main = {
160
160
  _: 1
161
161
  }, 8, ["modelValue"]),
162
162
  Vue.unref(tableConfig).selectMode == "multiple" ? (Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, { key: 0 }, [
163
- _cache[11] || (_cache[11] = Vue.createElementVNode("div", { class: "setting-divider" }, null, -1)),
164
- _cache[12] || (_cache[12] = Vue.createElementVNode("span", { class: "text-label" }, "主键字段", -1)),
163
+ _cache[11] || (_cache[11] = Vue.createElementVNode("span", { class: "text-label" }, "主键字段", -1)),
165
164
  Vue.createVNode(_component_el_select, {
166
165
  modelValue: Vue.unref(tableConfig).pkFieldName,
167
166
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => Vue.unref(tableConfig).pkFieldName = $event),
@@ -203,15 +202,15 @@ const _sfc_main = {
203
202
  _: 1
204
203
  }, 8, ["modelValue"])
205
204
  ], 64)) : Vue.createCommentVNode("", true),
206
- _cache[17] || (_cache[17] = Vue.createElementVNode("div", { class: "setting-divider" }, null, -1)),
207
- _cache[18] || (_cache[18] = Vue.createElementVNode("span", { class: "text-label" }, "序号", -1)),
205
+ _cache[16] || (_cache[16] = Vue.createElementVNode("div", { class: "setting-divider" }, null, -1)),
206
+ _cache[17] || (_cache[17] = Vue.createElementVNode("span", { class: "text-label" }, "序号", -1)),
208
207
  Vue.createVNode(_component_el_switch, {
209
208
  modelValue: Vue.unref(tableConfig).showIndex,
210
209
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => Vue.unref(tableConfig).showIndex = $event),
211
210
  size: "small"
212
211
  }, null, 8, ["modelValue"]),
213
- _cache[19] || (_cache[19] = Vue.createElementVNode("div", { class: "setting-divider" }, null, -1)),
214
- _cache[20] || (_cache[20] = Vue.createElementVNode("span", { class: "text-label" }, "高度", -1)),
212
+ _cache[18] || (_cache[18] = Vue.createElementVNode("div", { class: "setting-divider" }, null, -1)),
213
+ _cache[19] || (_cache[19] = Vue.createElementVNode("span", { class: "text-label" }, "高度", -1)),
215
214
  Vue.createVNode(_component_el_radio_group, {
216
215
  modelValue: Vue.unref(tableConfig).heightMode,
217
216
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => Vue.unref(tableConfig).heightMode = $event),
@@ -219,13 +218,13 @@ const _sfc_main = {
219
218
  }, {
220
219
  default: Vue.withCtx(() => [
221
220
  Vue.createVNode(_component_el_radio_button, { value: "auto" }, {
222
- default: Vue.withCtx(() => _cache[13] || (_cache[13] = [
221
+ default: Vue.withCtx(() => _cache[12] || (_cache[12] = [
223
222
  Vue.createTextVNode("自适应")
224
223
  ])),
225
224
  _: 1
226
225
  }),
227
226
  Vue.createVNode(_component_el_radio_button, { value: "fixed" }, {
228
- default: Vue.withCtx(() => _cache[14] || (_cache[14] = [
227
+ default: Vue.withCtx(() => _cache[13] || (_cache[13] = [
229
228
  Vue.createTextVNode("固定")
230
229
  ])),
231
230
  _: 1
@@ -242,13 +241,13 @@ const _sfc_main = {
242
241
  "controls-position": "right",
243
242
  class: "height-input"
244
243
  }, {
245
- append: Vue.withCtx(() => _cache[15] || (_cache[15] = [
244
+ append: Vue.withCtx(() => _cache[14] || (_cache[14] = [
246
245
  Vue.createTextVNode("px")
247
246
  ])),
248
247
  _: 1
249
248
  }, 8, ["modelValue"])) : Vue.createCommentVNode("", true),
250
- _cache[21] || (_cache[21] = Vue.createElementVNode("div", { class: "setting-divider" }, null, -1)),
251
- _cache[22] || (_cache[22] = Vue.createElementVNode("span", { class: "text-label" }, "数据源", -1)),
249
+ _cache[20] || (_cache[20] = Vue.createElementVNode("div", { class: "setting-divider" }, null, -1)),
250
+ _cache[21] || (_cache[21] = Vue.createElementVNode("span", { class: "text-label" }, "数据源", -1)),
252
251
  Vue.createVNode(_component_el_dropdown, {
253
252
  trigger: "click",
254
253
  onCommand: handleDataSourceSelect
@@ -276,7 +275,7 @@ const _sfc_main = {
276
275
  link: "",
277
276
  onClick: handleAddDataSource
278
277
  }, {
279
- default: Vue.withCtx(() => _cache[16] || (_cache[16] = [
278
+ default: Vue.withCtx(() => _cache[15] || (_cache[15] = [
280
279
  Vue.createTextVNode(" 新增数据源 ")
281
280
  ])),
282
281
  _: 1
@@ -313,14 +312,14 @@ const _sfc_main = {
313
312
  dropdown: Vue.withCtx(() => [
314
313
  Vue.unref(sortConfigDropdownVisible) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_4, [
315
314
  Vue.createElementVNode("div", _hoisted_5, [
316
- _cache[25] || (_cache[25] = Vue.createElementVNode("span", { class: "sort-tip" }, "以下排序规则从上到下按序执行", -1)),
315
+ _cache[24] || (_cache[24] = Vue.createElementVNode("span", { class: "sort-tip" }, "以下排序规则从上到下按序执行", -1)),
317
316
  Vue.createVNode(_component_el_button, {
318
317
  type: "primary",
319
318
  size: "small",
320
319
  onClick: addSortRule,
321
320
  icon: "Plus"
322
321
  }, {
323
- default: Vue.withCtx(() => _cache[24] || (_cache[24] = [
322
+ default: Vue.withCtx(() => _cache[23] || (_cache[23] = [
324
323
  Vue.createTextVNode(" 添加排序规则 ")
325
324
  ])),
326
325
  _: 1
@@ -396,13 +395,13 @@ const _sfc_main = {
396
395
  }, {
397
396
  default: Vue.withCtx(() => [
398
397
  Vue.createVNode(_component_el_radio, { value: "asc" }, {
399
- default: Vue.withCtx(() => _cache[26] || (_cache[26] = [
398
+ default: Vue.withCtx(() => _cache[25] || (_cache[25] = [
400
399
  Vue.createTextVNode("升序")
401
400
  ])),
402
401
  _: 1
403
402
  }),
404
403
  Vue.createVNode(_component_el_radio, { value: "desc" }, {
405
- default: Vue.withCtx(() => _cache[27] || (_cache[27] = [
404
+ default: Vue.withCtx(() => _cache[26] || (_cache[26] = [
406
405
  Vue.createTextVNode("降序")
407
406
  ])),
408
407
  _: 1
@@ -436,7 +435,7 @@ const _sfc_main = {
436
435
  size: "small"
437
436
  }, {
438
437
  default: Vue.withCtx(() => [
439
- _cache[23] || (_cache[23] = Vue.createTextVNode(" 配置排序 ")),
438
+ _cache[22] || (_cache[22] = Vue.createTextVNode(" 配置排序 ")),
440
439
  Vue.unref(sortRules).length > 0 ? (Vue.openBlock(), Vue.createBlock(_component_el_tag, {
441
440
  key: 0,
442
441
  size: "small",
@@ -454,7 +453,7 @@ const _sfc_main = {
454
453
  ]),
455
454
  _: 1
456
455
  }),
457
- _cache[29] || (_cache[29] = Vue.createElementVNode("div", { class: "setting-divider" }, null, -1)),
456
+ _cache[28] || (_cache[28] = Vue.createElementVNode("div", { class: "setting-divider" }, null, -1)),
458
457
  Vue.createVNode(_component_el_dropdown, {
459
458
  size: "small",
460
459
  "hide-on-click": false,
@@ -496,7 +495,7 @@ const _sfc_main = {
496
495
  size: "small"
497
496
  }, {
498
497
  default: Vue.withCtx(() => [
499
- _cache[28] || (_cache[28] = Vue.createTextVNode("列显隐 ")),
498
+ _cache[27] || (_cache[27] = Vue.createTextVNode("列显隐 ")),
500
499
  Vue.createVNode(_component_el_tag, {
501
500
  size: "small",
502
501
  type: "primary",
@@ -524,5 +523,5 @@ const _sfc_main = {
524
523
  };
525
524
  }
526
525
  };
527
- const TableSetting = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c4cad8e4"]]);
526
+ const TableSetting = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-3c1e04c6"]]);
528
527
  exports.default = TableSetting;
@@ -47,7 +47,7 @@ const index$1 = require("../../../../node_modules/@element-plus/icons-vue/dist/i
47
47
  ;/* empty css */
48
48
  require("../../store/index.js");
49
49
  ;/* empty css */
50
- ;/* empty css */
50
+ ;/* empty css */
51
51
  ;/* empty css */
52
52
  ;/* empty css */
53
53
  ;/* empty css */