@fecp/designer 5.3.2 → 5.3.4

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.css CHANGED
@@ -5569,10 +5569,10 @@ body,
5569
5569
  }
5570
5570
  [data-v-f1c90d7c] .vgl-item > .el-container {
5571
5571
  height: auto !important;
5572
- }.cell-content .cell-text[data-v-b57831f4] {
5572
+ }.cell-content .cell-text[data-v-2352d631] {
5573
5573
  display: inline-block;
5574
5574
  }
5575
- .cell-content .copy-icon[data-v-b57831f4] {
5575
+ .cell-content .copy-icon[data-v-2352d631] {
5576
5576
  cursor: pointer;
5577
5577
  color: #909399;
5578
5578
  font-size: 14px;
@@ -5580,7 +5580,7 @@ body,
5580
5580
  top: 4px;
5581
5581
  margin-left: 4px;
5582
5582
  }
5583
- .cell-content .copy-icon[data-v-b57831f4]:hover {
5583
+ .cell-content .copy-icon[data-v-2352d631]:hover {
5584
5584
  color: #409eff;
5585
5585
  }.fec-table-filter[data-v-366e01c3] {
5586
5586
  display: flex;
@@ -1,4 +1,4 @@
1
- const version = "5.3.2";
1
+ const version = "5.3.4";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -3,18 +3,18 @@
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
- /* empty css */
7
- /* empty css */
8
6
  /* empty css */
9
7
  /* empty css */
8
+ /* empty css */
9
+ /* empty css */
10
10
  import { computed, ref, watch, createBlock, openBlock, unref, isRef, withCtx, createVNode, createElementBlock, createCommentVNode, createTextVNode, Fragment } from "vue";
11
11
  import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
12
12
  import emitter from "../../utils/eventBus.mjs";
13
13
  import ValueSelector from "../../../components/ValueSelector.vue2.mjs";
14
14
  import { ElCollapse, ElCollapseItem } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/collapse/index.mjs";
15
15
  import { ElForm, ElFormItem } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/form/index.mjs";
16
- import { ElRadioGroup, ElRadioButton } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.mjs";
17
16
  import { ElInput } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input/index.mjs";
17
+ import { ElRadioGroup, ElRadioButton } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.mjs";
18
18
  const _sfc_main = {
19
19
  __name: "approvalHistory",
20
20
  setup(__props) {
@@ -44,10 +44,10 @@ const _sfc_main = {
44
44
  }
45
45
  }
46
46
  return (_ctx, _cache) => {
47
+ const _component_el_input = ElInput;
48
+ const _component_el_form_item = ElFormItem;
47
49
  const _component_el_radio_button = ElRadioButton;
48
50
  const _component_el_radio_group = ElRadioGroup;
49
- const _component_el_form_item = ElFormItem;
50
- const _component_el_input = ElInput;
51
51
  const _component_el_form = ElForm;
52
52
  const _component_el_collapse_item = ElCollapseItem;
53
53
  const _component_el_collapse = ElCollapse;
@@ -68,11 +68,23 @@ const _sfc_main = {
68
68
  model: unref(currentItem)
69
69
  }, {
70
70
  default: withCtx(() => [
71
+ createVNode(_component_el_form_item, {
72
+ label: "标题",
73
+ required: ""
74
+ }, {
75
+ default: withCtx(() => [
76
+ createVNode(_component_el_input, {
77
+ modelValue: unref(currentItem).label,
78
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(currentItem).label = $event)
79
+ }, null, 8, ["modelValue"])
80
+ ]),
81
+ _: 1
82
+ }),
71
83
  createVNode(_component_el_form_item, { label: "标题模式" }, {
72
84
  default: withCtx(() => [
73
85
  createVNode(_component_el_radio_group, {
74
86
  modelValue: unref(currentItem).titleMode,
75
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(currentItem).titleMode = $event),
87
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(currentItem).titleMode = $event),
76
88
  size: "small",
77
89
  onChange: handleTitleModeChange
78
90
  }, {
@@ -102,18 +114,6 @@ const _sfc_main = {
102
114
  _: 1
103
115
  }),
104
116
  unref(currentItem).titleMode != "none" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
105
- createVNode(_component_el_form_item, {
106
- label: "标题",
107
- required: ""
108
- }, {
109
- default: withCtx(() => [
110
- createVNode(_component_el_input, {
111
- modelValue: unref(currentItem).label,
112
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(currentItem).label = $event)
113
- }, null, 8, ["modelValue"])
114
- ]),
115
- _: 1
116
- }),
117
117
  unref(currentItem).titleMode == "label" ? (openBlock(), createBlock(_component_el_form_item, {
118
118
  key: 0,
119
119
  label: "副标题"
@@ -4,18 +4,18 @@
4
4
  /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
- /* empty css */
8
- /* empty css */
9
7
  /* empty css */
10
8
  /* empty css */
9
+ /* empty css */
10
+ /* empty css */
11
11
  import { computed, ref, createBlock, openBlock, unref, isRef, withCtx, createVNode, createElementBlock, createCommentVNode, createTextVNode, Fragment } from "vue";
12
12
  import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
13
13
  import TemplateSelector from "../../../components/TemplateSelector.vue.mjs";
14
14
  import emitter from "../../utils/eventBus.mjs";
15
15
  import { ElCollapse, ElCollapseItem } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/collapse/index.mjs";
16
16
  import { ElForm, ElFormItem } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/form/index.mjs";
17
- import { ElRadioGroup, ElRadioButton } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.mjs";
18
17
  import { ElInput } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input/index.mjs";
18
+ import { ElRadioGroup, ElRadioButton } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.mjs";
19
19
  import { ElSwitch } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/switch/index.mjs";
20
20
  const _sfc_main = {
21
21
  __name: "subForm",
@@ -37,10 +37,10 @@ const _sfc_main = {
37
37
  }
38
38
  }
39
39
  return (_ctx, _cache) => {
40
+ const _component_el_input = ElInput;
41
+ const _component_el_form_item = ElFormItem;
40
42
  const _component_el_radio_button = ElRadioButton;
41
43
  const _component_el_radio_group = ElRadioGroup;
42
- const _component_el_form_item = ElFormItem;
43
- const _component_el_input = ElInput;
44
44
  const _component_el_switch = ElSwitch;
45
45
  const _component_el_form = ElForm;
46
46
  const _component_el_collapse_item = ElCollapseItem;
@@ -63,11 +63,23 @@ const _sfc_main = {
63
63
  key: unref(currentItem).id
64
64
  }, {
65
65
  default: withCtx(() => [
66
+ createVNode(_component_el_form_item, {
67
+ label: "标题",
68
+ required: ""
69
+ }, {
70
+ default: withCtx(() => [
71
+ createVNode(_component_el_input, {
72
+ modelValue: unref(currentItem).label,
73
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(currentItem).label = $event)
74
+ }, null, 8, ["modelValue"])
75
+ ]),
76
+ _: 1
77
+ }),
66
78
  createVNode(_component_el_form_item, { label: "标题模式" }, {
67
79
  default: withCtx(() => [
68
80
  createVNode(_component_el_radio_group, {
69
81
  modelValue: unref(currentItem).titleMode,
70
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(currentItem).titleMode = $event),
82
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(currentItem).titleMode = $event),
71
83
  size: "small",
72
84
  onChange: handleTitleModeChange
73
85
  }, {
@@ -97,18 +109,6 @@ const _sfc_main = {
97
109
  _: 1
98
110
  }),
99
111
  unref(currentItem).titleMode != "none" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
100
- createVNode(_component_el_form_item, {
101
- label: "标题",
102
- required: ""
103
- }, {
104
- default: withCtx(() => [
105
- createVNode(_component_el_input, {
106
- modelValue: unref(currentItem).label,
107
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(currentItem).label = $event)
108
- }, null, 8, ["modelValue"])
109
- ]),
110
- _: 1
111
- }),
112
112
  unref(currentItem).titleMode == "label" ? (openBlock(), createBlock(_component_el_form_item, {
113
113
  key: 0,
114
114
  label: "副标题"
@@ -11,10 +11,10 @@
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
- /* empty css */
15
14
  /* empty css */
16
15
  /* empty css */
17
16
  /* empty css */
17
+ /* empty css */
18
18
  import { computed, ref, createBlock, openBlock, unref, isRef, withCtx, createVNode, createElementBlock, createCommentVNode, createTextVNode, Fragment, renderList } from "vue";
19
19
  import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
20
20
  import TemplateSelector from "../../../components/TemplateSelector.vue.mjs";
@@ -23,8 +23,8 @@ import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
23
23
  import api from "../../../api/index.mjs";
24
24
  import { ElCollapse, ElCollapseItem } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/collapse/index.mjs";
25
25
  import { ElForm, ElFormItem } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/form/index.mjs";
26
- import { ElRadioGroup, ElRadioButton } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.mjs";
27
26
  import { ElInput } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input/index.mjs";
27
+ import { ElRadioGroup, ElRadioButton } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.mjs";
28
28
  import { ElSwitch } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/switch/index.mjs";
29
29
  import { ElSelect, ElOption } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/select/index.mjs";
30
30
  import { ElInputNumber } from "../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input-number/index.mjs";
@@ -64,10 +64,10 @@ const _sfc_main = {
64
64
  }
65
65
  }
66
66
  return (_ctx, _cache) => {
67
+ const _component_el_input = ElInput;
68
+ const _component_el_form_item = ElFormItem;
67
69
  const _component_el_radio_button = ElRadioButton;
68
70
  const _component_el_radio_group = ElRadioGroup;
69
- const _component_el_form_item = ElFormItem;
70
- const _component_el_input = ElInput;
71
71
  const _component_el_switch = ElSwitch;
72
72
  const _component_el_option = ElOption;
73
73
  const _component_el_select = ElSelect;
@@ -93,11 +93,23 @@ const _sfc_main = {
93
93
  key: unref(currentItem).id
94
94
  }, {
95
95
  default: withCtx(() => [
96
+ createVNode(_component_el_form_item, {
97
+ label: "标题",
98
+ required: ""
99
+ }, {
100
+ default: withCtx(() => [
101
+ createVNode(_component_el_input, {
102
+ modelValue: unref(currentItem).label,
103
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(currentItem).label = $event)
104
+ }, null, 8, ["modelValue"])
105
+ ]),
106
+ _: 1
107
+ }),
96
108
  createVNode(_component_el_form_item, { label: "标题模式" }, {
97
109
  default: withCtx(() => [
98
110
  createVNode(_component_el_radio_group, {
99
111
  modelValue: unref(currentItem).titleMode,
100
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(currentItem).titleMode = $event),
112
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(currentItem).titleMode = $event),
101
113
  size: "small",
102
114
  onChange: handleTitleModeChange
103
115
  }, {
@@ -127,18 +139,6 @@ const _sfc_main = {
127
139
  _: 1
128
140
  }),
129
141
  unref(currentItem).titleMode != "none" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
130
- createVNode(_component_el_form_item, {
131
- label: "标题",
132
- required: ""
133
- }, {
134
- default: withCtx(() => [
135
- createVNode(_component_el_input, {
136
- modelValue: unref(currentItem).label,
137
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(currentItem).label = $event)
138
- }, null, 8, ["modelValue"])
139
- ]),
140
- _: 1
141
- }),
142
142
  unref(currentItem).titleMode == "label" ? (openBlock(), createBlock(_component_el_form_item, {
143
143
  key: 0,
144
144
  label: "副标题"
@@ -5,6 +5,7 @@ import { getCurrentInstance, computed, createElementBlock, openBlock, createBloc
5
5
  import "../../../../../node_modules/.pnpm/vxe-table@4.17.47_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/components.mjs";
6
6
  import { CopyDocument as copy_document_default } from "../../../../../node_modules/.pnpm/@element-plus_icons-vue@2.3.2_vue@3.5.13_typescript@5.7.3_/node_modules/@element-plus/icons-vue/dist/index.mjs";
7
7
  import { checkFilterMatch } from "../../utils/parseFilterConfig.mjs";
8
+ import { removeEmptyValues } from "../../utils/common.mjs";
8
9
  /* empty css */
9
10
  /* empty css */
10
11
  /* empty css */
@@ -276,7 +277,13 @@ const _sfc_main = {
276
277
  table: props.tableRef
277
278
  }
278
279
  });
279
- const getEventHandlers = (row, item, eventConfig) => createEventHandlers(item, { ...row, ...props.hiddenFormData }, eventConfig);
280
+ const getEventHandlers = (row, item, eventConfig) => {
281
+ return createEventHandlers(
282
+ item,
283
+ { ...row, ...removeEmptyValues(props.hiddenFormData) },
284
+ eventConfig
285
+ );
286
+ };
280
287
  return (_ctx, _cache) => {
281
288
  const _component_el_link = ElLink;
282
289
  const _component_el_icon = ElIcon;
@@ -381,7 +388,7 @@ const _sfc_main = {
381
388
  };
382
389
  }
383
390
  };
384
- const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b57831f4"]]);
391
+ const TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2352d631"]]);
385
392
  export {
386
393
  TableColumn as default
387
394
  };
package/lib/designer.css CHANGED
@@ -5569,10 +5569,10 @@ body,
5569
5569
  }
5570
5570
  [data-v-f1c90d7c] .vgl-item > .el-container {
5571
5571
  height: auto !important;
5572
- }.cell-content .cell-text[data-v-b57831f4] {
5572
+ }.cell-content .cell-text[data-v-2352d631] {
5573
5573
  display: inline-block;
5574
5574
  }
5575
- .cell-content .copy-icon[data-v-b57831f4] {
5575
+ .cell-content .copy-icon[data-v-2352d631] {
5576
5576
  cursor: pointer;
5577
5577
  color: #909399;
5578
5578
  font-size: 14px;
@@ -5580,7 +5580,7 @@ body,
5580
5580
  top: 4px;
5581
5581
  margin-left: 4px;
5582
5582
  }
5583
- .cell-content .copy-icon[data-v-b57831f4]:hover {
5583
+ .cell-content .copy-icon[data-v-2352d631]:hover {
5584
5584
  color: #409eff;
5585
5585
  }.fec-table-filter[data-v-366e01c3] {
5586
5586
  display: flex;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.3.2";
3
+ const version = "5.3.4";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -5,18 +5,18 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
5
5
  ;/* empty css */
6
6
  ;/* empty css */
7
7
  ;/* empty css */
8
- ;/* empty css */
9
- ;/* empty css */
10
8
  ;/* empty css */
11
9
  ;/* empty css */
10
+ ;/* empty css */
11
+ ;/* empty css */
12
12
  const vue = require("vue");
13
13
  const common = require("../../utils/common.js");
14
14
  const eventBus = require("../../utils/eventBus.js");
15
15
  const ValueSelector = require("../../../components/ValueSelector.vue2.js");
16
16
  const index = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/collapse/index.js");
17
17
  const index$1 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/form/index.js");
18
- const index$2 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.js");
19
- const index$3 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input/index.js");
18
+ const index$2 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input/index.js");
19
+ const index$3 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.js");
20
20
  const _sfc_main = {
21
21
  __name: "approvalHistory",
22
22
  setup(__props) {
@@ -46,10 +46,10 @@ const _sfc_main = {
46
46
  }
47
47
  }
48
48
  return (_ctx, _cache) => {
49
- const _component_el_radio_button = index$2.ElRadioButton;
50
- const _component_el_radio_group = index$2.ElRadioGroup;
49
+ const _component_el_input = index$2.ElInput;
51
50
  const _component_el_form_item = index$1.ElFormItem;
52
- const _component_el_input = index$3.ElInput;
51
+ const _component_el_radio_button = index$3.ElRadioButton;
52
+ const _component_el_radio_group = index$3.ElRadioGroup;
53
53
  const _component_el_form = index$1.ElForm;
54
54
  const _component_el_collapse_item = index.ElCollapseItem;
55
55
  const _component_el_collapse = index.ElCollapse;
@@ -70,11 +70,23 @@ const _sfc_main = {
70
70
  model: vue.unref(currentItem)
71
71
  }, {
72
72
  default: vue.withCtx(() => [
73
+ vue.createVNode(_component_el_form_item, {
74
+ label: "标题",
75
+ required: ""
76
+ }, {
77
+ default: vue.withCtx(() => [
78
+ vue.createVNode(_component_el_input, {
79
+ modelValue: vue.unref(currentItem).label,
80
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(currentItem).label = $event)
81
+ }, null, 8, ["modelValue"])
82
+ ]),
83
+ _: 1
84
+ }),
73
85
  vue.createVNode(_component_el_form_item, { label: "标题模式" }, {
74
86
  default: vue.withCtx(() => [
75
87
  vue.createVNode(_component_el_radio_group, {
76
88
  modelValue: vue.unref(currentItem).titleMode,
77
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(currentItem).titleMode = $event),
89
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(currentItem).titleMode = $event),
78
90
  size: "small",
79
91
  onChange: handleTitleModeChange
80
92
  }, {
@@ -104,18 +116,6 @@ const _sfc_main = {
104
116
  _: 1
105
117
  }),
106
118
  vue.unref(currentItem).titleMode != "none" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
107
- vue.createVNode(_component_el_form_item, {
108
- label: "标题",
109
- required: ""
110
- }, {
111
- default: vue.withCtx(() => [
112
- vue.createVNode(_component_el_input, {
113
- modelValue: vue.unref(currentItem).label,
114
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(currentItem).label = $event)
115
- }, null, 8, ["modelValue"])
116
- ]),
117
- _: 1
118
- }),
119
119
  vue.unref(currentItem).titleMode == "label" ? (vue.openBlock(), vue.createBlock(_component_el_form_item, {
120
120
  key: 0,
121
121
  label: "副标题"
@@ -6,18 +6,18 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
6
6
  ;/* empty css */
7
7
  ;/* empty css */
8
8
  ;/* empty css */
9
- ;/* empty css */
10
- ;/* empty css */
11
9
  ;/* empty css */
12
10
  ;/* empty css */
11
+ ;/* empty css */
12
+ ;/* empty css */
13
13
  const vue = require("vue");
14
14
  const common = require("../../utils/common.js");
15
15
  const TemplateSelector = require("../../../components/TemplateSelector.vue.js");
16
16
  const eventBus = require("../../utils/eventBus.js");
17
17
  const index = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/collapse/index.js");
18
18
  const index$1 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/form/index.js");
19
- const index$2 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.js");
20
- const index$3 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input/index.js");
19
+ const index$2 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input/index.js");
20
+ const index$3 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.js");
21
21
  const index$4 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/switch/index.js");
22
22
  const _sfc_main = {
23
23
  __name: "subForm",
@@ -39,10 +39,10 @@ const _sfc_main = {
39
39
  }
40
40
  }
41
41
  return (_ctx, _cache) => {
42
- const _component_el_radio_button = index$2.ElRadioButton;
43
- const _component_el_radio_group = index$2.ElRadioGroup;
42
+ const _component_el_input = index$2.ElInput;
44
43
  const _component_el_form_item = index$1.ElFormItem;
45
- const _component_el_input = index$3.ElInput;
44
+ const _component_el_radio_button = index$3.ElRadioButton;
45
+ const _component_el_radio_group = index$3.ElRadioGroup;
46
46
  const _component_el_switch = index$4.ElSwitch;
47
47
  const _component_el_form = index$1.ElForm;
48
48
  const _component_el_collapse_item = index.ElCollapseItem;
@@ -65,11 +65,23 @@ const _sfc_main = {
65
65
  key: vue.unref(currentItem).id
66
66
  }, {
67
67
  default: vue.withCtx(() => [
68
+ vue.createVNode(_component_el_form_item, {
69
+ label: "标题",
70
+ required: ""
71
+ }, {
72
+ default: vue.withCtx(() => [
73
+ vue.createVNode(_component_el_input, {
74
+ modelValue: vue.unref(currentItem).label,
75
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(currentItem).label = $event)
76
+ }, null, 8, ["modelValue"])
77
+ ]),
78
+ _: 1
79
+ }),
68
80
  vue.createVNode(_component_el_form_item, { label: "标题模式" }, {
69
81
  default: vue.withCtx(() => [
70
82
  vue.createVNode(_component_el_radio_group, {
71
83
  modelValue: vue.unref(currentItem).titleMode,
72
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(currentItem).titleMode = $event),
84
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(currentItem).titleMode = $event),
73
85
  size: "small",
74
86
  onChange: handleTitleModeChange
75
87
  }, {
@@ -99,18 +111,6 @@ const _sfc_main = {
99
111
  _: 1
100
112
  }),
101
113
  vue.unref(currentItem).titleMode != "none" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
102
- vue.createVNode(_component_el_form_item, {
103
- label: "标题",
104
- required: ""
105
- }, {
106
- default: vue.withCtx(() => [
107
- vue.createVNode(_component_el_input, {
108
- modelValue: vue.unref(currentItem).label,
109
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(currentItem).label = $event)
110
- }, null, 8, ["modelValue"])
111
- ]),
112
- _: 1
113
- }),
114
114
  vue.unref(currentItem).titleMode == "label" ? (vue.openBlock(), vue.createBlock(_component_el_form_item, {
115
115
  key: 0,
116
116
  label: "副标题"
@@ -13,10 +13,10 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
13
13
  ;/* empty css */
14
14
  ;/* empty css */
15
15
  ;/* empty css */
16
- ;/* empty css */
17
16
  ;/* empty css */
18
17
  ;/* empty css */
19
18
  ;/* empty css */
19
+ ;/* empty css */
20
20
  const vue = require("vue");
21
21
  const common = require("../../utils/common.js");
22
22
  const TemplateSelector = require("../../../components/TemplateSelector.vue.js");
@@ -25,8 +25,8 @@ const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
25
25
  const index = require("../../../api/index.js");
26
26
  const index$1 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/collapse/index.js");
27
27
  const index$2 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/form/index.js");
28
- const index$3 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.js");
29
- const index$4 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input/index.js");
28
+ const index$3 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input/index.js");
29
+ const index$4 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/radio/index.js");
30
30
  const index$5 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/switch/index.js");
31
31
  const index$6 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/select/index.js");
32
32
  const index$7 = require("../../../../../../node_modules/.pnpm/element-plus@2.13.2_vue@3.5.13_typescript@5.7.3_/node_modules/element-plus/es/components/input-number/index.js");
@@ -66,10 +66,10 @@ const _sfc_main = {
66
66
  }
67
67
  }
68
68
  return (_ctx, _cache) => {
69
- const _component_el_radio_button = index$3.ElRadioButton;
70
- const _component_el_radio_group = index$3.ElRadioGroup;
69
+ const _component_el_input = index$3.ElInput;
71
70
  const _component_el_form_item = index$2.ElFormItem;
72
- const _component_el_input = index$4.ElInput;
71
+ const _component_el_radio_button = index$4.ElRadioButton;
72
+ const _component_el_radio_group = index$4.ElRadioGroup;
73
73
  const _component_el_switch = index$5.ElSwitch;
74
74
  const _component_el_option = index$6.ElOption;
75
75
  const _component_el_select = index$6.ElSelect;
@@ -95,11 +95,23 @@ const _sfc_main = {
95
95
  key: vue.unref(currentItem).id
96
96
  }, {
97
97
  default: vue.withCtx(() => [
98
+ vue.createVNode(_component_el_form_item, {
99
+ label: "标题",
100
+ required: ""
101
+ }, {
102
+ default: vue.withCtx(() => [
103
+ vue.createVNode(_component_el_input, {
104
+ modelValue: vue.unref(currentItem).label,
105
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(currentItem).label = $event)
106
+ }, null, 8, ["modelValue"])
107
+ ]),
108
+ _: 1
109
+ }),
98
110
  vue.createVNode(_component_el_form_item, { label: "标题模式" }, {
99
111
  default: vue.withCtx(() => [
100
112
  vue.createVNode(_component_el_radio_group, {
101
113
  modelValue: vue.unref(currentItem).titleMode,
102
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(currentItem).titleMode = $event),
114
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(currentItem).titleMode = $event),
103
115
  size: "small",
104
116
  onChange: handleTitleModeChange
105
117
  }, {
@@ -129,18 +141,6 @@ const _sfc_main = {
129
141
  _: 1
130
142
  }),
131
143
  vue.unref(currentItem).titleMode != "none" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
132
- vue.createVNode(_component_el_form_item, {
133
- label: "标题",
134
- required: ""
135
- }, {
136
- default: vue.withCtx(() => [
137
- vue.createVNode(_component_el_input, {
138
- modelValue: vue.unref(currentItem).label,
139
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(currentItem).label = $event)
140
- }, null, 8, ["modelValue"])
141
- ]),
142
- _: 1
143
- }),
144
144
  vue.unref(currentItem).titleMode == "label" ? (vue.openBlock(), vue.createBlock(_component_el_form_item, {
145
145
  key: 0,
146
146
  label: "副标题"
@@ -7,6 +7,7 @@ const vue = require("vue");
7
7
  require("../../../../../node_modules/.pnpm/vxe-table@4.17.47_vue@3.5.13_typescript@5.7.3_/node_modules/vxe-table/es/components.js");
8
8
  const index$3 = require("../../../../../node_modules/.pnpm/@element-plus_icons-vue@2.3.2_vue@3.5.13_typescript@5.7.3_/node_modules/@element-plus/icons-vue/dist/index.js");
9
9
  const parseFilterConfig = require("../../utils/parseFilterConfig.js");
10
+ const common = require("../../utils/common.js");
10
11
  ;/* empty css */
11
12
  ;/* empty css */
12
13
  ;/* empty css */
@@ -278,7 +279,13 @@ const _sfc_main = {
278
279
  table: props.tableRef
279
280
  }
280
281
  });
281
- const getEventHandlers = (row, item, eventConfig) => createEventHandlers(item, { ...row, ...props.hiddenFormData }, eventConfig);
282
+ const getEventHandlers = (row, item, eventConfig) => {
283
+ return createEventHandlers(
284
+ item,
285
+ { ...row, ...common.removeEmptyValues(props.hiddenFormData) },
286
+ eventConfig
287
+ );
288
+ };
282
289
  return (_ctx, _cache) => {
283
290
  const _component_el_link = index$1.ElLink;
284
291
  const _component_el_icon = index$2.ElIcon;
@@ -383,5 +390,5 @@ const _sfc_main = {
383
390
  };
384
391
  }
385
392
  };
386
- const TableColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-b57831f4"]]);
393
+ const TableColumn = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-2352d631"]]);
387
394
  exports.default = TableColumn;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.3.2",
3
+ "version": "5.3.4",
4
4
  "main": "lib/packages/designer/index.js",
5
5
  "module": "es/packages/designer/index.mjs",
6
6
  "files": [