fec-dev-designer 1.1.2 → 5.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/es/node_modules/element-plus/{dist/locale → es/locale/lang}/zh-cn.js +0 -1
  2. package/es/package.json.js +66 -0
  3. package/es/src/assets/approvalHistory.png.js +4 -0
  4. package/es/src/assets/logo.png.js +4 -0
  5. package/es/src/components/DataSourceSelect.vue.js +2 -1
  6. package/es/src/components/FieldSetMapping.vue.js +245 -108
  7. package/es/src/components/OptionConfig.vue.js +3 -2
  8. package/es/src/components/OptionConfig.vue2.js +2 -2
  9. package/es/src/components/ParamsConfig.vue.js +2 -2
  10. package/es/src/components/ParamsConfig.vue2.js +31 -32
  11. package/es/src/components/TemplateSelector.vue.js +101 -81
  12. package/es/src/components/ValueSelector.vue2.js +49 -39
  13. package/es/src/layout/aside/HiddenFieldDialog.vue.js +313 -0
  14. package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue.js +72 -64
  15. package/es/src/layout/aside/index.vue.js +47 -50
  16. package/es/src/layout/header/index.vue.js +95 -84
  17. package/es/src/layout/index.vue.js +81 -76
  18. package/es/src/packages/advancedFilter/ValueInput.vue2.js +57 -60
  19. package/es/src/packages/dataSource/dataSource.vue.js +98 -105
  20. package/es/src/packages/dialog/index.vue.js +446 -322
  21. package/es/src/packages/event/index.vue2.js +44 -44
  22. package/es/src/packages/event/useEventDialog.js +2 -2
  23. package/es/src/packages/eventFlow/dialog/action/FormSubmit.vue2.js +47 -54
  24. package/es/src/packages/eventFlow/dialog/action/Page.vue.js +42 -49
  25. package/es/src/packages/form/aside/index.js +28 -2
  26. package/es/src/packages/form/aside/roleSelect.js +156 -0
  27. package/es/src/packages/form/aside/userSelect.js +206 -0
  28. package/es/src/packages/form/components/ApprovalHistory.vue.js +73 -0
  29. package/es/src/packages/form/components/ApprovalHistory.vue2.js +4 -0
  30. package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +51 -41
  31. package/es/src/packages/form/components/H2Wrapper.vue.js +13 -10
  32. package/es/src/packages/form/demo.js +8064 -0
  33. package/es/src/packages/form/headerBtn.vue.js +120 -99
  34. package/es/src/packages/form/index.vue.js +206 -180
  35. package/es/src/packages/form/property/approvalHistory.vue.js +178 -0
  36. package/es/src/packages/form/property/index.vue.js +23 -22
  37. package/es/src/packages/form/property/subTable.vue.js +37 -43
  38. package/es/src/packages/form/property/widgets.vue.js +258 -202
  39. package/es/src/packages/table/aside/index.js +2 -1
  40. package/es/src/packages/table/default.js +24 -21
  41. package/es/src/packages/table/index.vue.js +191 -155
  42. package/es/src/packages/table/property/widgets.vue.js +63 -47
  43. package/es/src/packages/table/queryModule/FixedModeConfig.vue.js +76 -77
  44. package/es/src/packages/table/queryModule/index.vue.js +108 -91
  45. package/es/src/packages/utils/common.js +33 -29
  46. package/es/style.css +1 -1
  47. package/package.json +1 -1
  48. package/es/src/packages/form/HiddenFieldDialog.vue.js +0 -258
  49. /package/es/src/{packages/form → layout/aside}/HiddenFieldDialog.vue2.js +0 -0
  50. /package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue2.js +0 -0
@@ -1,14 +1,15 @@
1
1
  import "../../../node_modules/element-plus/theme-chalk/base.css.js";
2
2
  import "../../../node_modules/element-plus/theme-chalk/el-dialog.css.js";
3
3
  import "../../../node_modules/element-plus/theme-chalk/el-overlay.css.js";
4
- import "../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
5
4
  import "../../../node_modules/element-plus/theme-chalk/el-form.css.js";
6
5
  import "../../../node_modules/element-plus/theme-chalk/el-checkbox.css.js";
7
6
  import "../../../node_modules/element-plus/theme-chalk/el-switch.css.js";
7
+ import "../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
8
+ import "../../../node_modules/element-plus/theme-chalk/el-popover.css.js";
9
+ import "../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
8
10
  import "../../../node_modules/element-plus/theme-chalk/el-tag.css.js";
9
11
  import "../../../node_modules/element-plus/theme-chalk/el-option.css.js";
10
12
  import "../../../node_modules/element-plus/theme-chalk/el-option-group.css.js";
11
- import "../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
12
13
  import "../../../node_modules/element-plus/theme-chalk/el-select.css.js";
13
14
  import "../../../node_modules/element-plus/theme-chalk/el-radio.css.js";
14
15
  import "../../../node_modules/element-plus/theme-chalk/el-radio-group.css.js";
@@ -22,69 +23,69 @@ import "../../../node_modules/element-plus/theme-chalk/el-main.css.js";
22
23
  import "../../../node_modules/element-plus/theme-chalk/el-link.css.js";
23
24
  import "../../../node_modules/element-plus/theme-chalk/el-input.css.js";
24
25
  import "../../../node_modules/element-plus/theme-chalk/el-button.css.js";
25
- import { computed as w, useModel as Ve, ref as _, watch as ye, openBlock as i, createBlock as c, withCtx as n, createElementVNode as g, createVNode as o, createTextVNode as d, unref as l, createElementBlock as p, isRef as $, withKeys as _e, createCommentVNode as v, Fragment as k, renderList as O, normalizeClass as ce, withDirectives as A, vShow as H, withModifiers as W, toDisplayString as K } from "vue";
26
- import { Plus as ke, Close as Ce, Check as Fe, Delete as Se } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
27
- import { getEditConfigDataFields as xe, cloneDeep as Ee, getEditConfigDialogs as Te, setEditConfigDialogs as Me } from "../utils/common.js";
28
- import q from "../../components/TemplateSelector.vue.js";
29
- import J from "../../api/index.js";
30
- import Ue from "../../components/ParamsConfig.vue2.js";
31
- import we from "../../components/DataSourceSelect.vue.js";
32
- import De from "../../components/FieldSetMapping.vue.js";
33
- import Ie from "../../components/OnlyFLowConfigButton.vue.js";
34
- import Be from "../../components/FormulaEditorInput.vue.js";
26
+ import { computed as M, useModel as ke, ref as k, watch as Te, openBlock as d, createBlock as S, withCtx as n, createElementVNode as f, createVNode as l, createTextVNode as i, unref as o, createElementBlock as r, isRef as q, withKeys as Fe, createCommentVNode as y, Fragment as V, renderList as I, normalizeClass as Se, withDirectives as W, vShow as J, withModifiers as G, toDisplayString as z } from "vue";
27
+ import { VueDraggable as De } from "../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js";
28
+ import { Plus as Ee, Close as Ue, Check as xe, Delete as j, Rank as we, Edit as Me } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
29
+ import { getEditConfigData as Ie, cloneDeep as Q, getEditConfigDialogs as Be, setEditConfigDialogs as Ne } from "../utils/common.js";
30
+ import X from "../../components/TemplateSelector.vue.js";
31
+ import Y from "../../api/index.js";
32
+ import Oe from "../../components/ParamsConfig.vue2.js";
33
+ import Pe from "../../components/DataSourceSelect.vue.js";
34
+ import ze from "../../components/FieldSetMapping.vue.js";
35
+ import Ke from "../../components/OnlyFLowConfigButton.vue.js";
36
+ import Re from "../../components/FormulaEditorInput.vue.js";
37
+ import { defaultProperty as $e } from "../table/aside/index.js";
38
+ import { defaultTableConfig as Le } from "../table/default.js";
39
+ import Ae from "../table/property/widgets.vue.js";
35
40
  import "../../../node_modules/element-plus/theme-chalk/el-badge.css.js";
36
41
  import "../../../node_modules/element-plus/theme-chalk/el-message.css.js";
37
42
  import "./index.vue2.js";
38
- import Ne from "../../../_virtual/_plugin-vue_export-helper.js";
39
- import { ElMessage as G } from "../../../node_modules/element-plus/es/components/message/index.js";
40
- import { ElButton as Oe } from "../../../node_modules/element-plus/es/components/button/index.js";
41
- import { ElHeader as Ke, ElMain as Pe, ElContainer as ze, ElAside as Le } from "../../../node_modules/element-plus/es/components/container/index.js";
42
- import { ElInput as Re } from "../../../node_modules/element-plus/es/components/input/index.js";
43
- import { ElLink as $e } from "../../../node_modules/element-plus/es/components/link/index.js";
44
- import { ElIcon as Ae } from "../../../node_modules/element-plus/es/components/icon/index.js";
45
- import { ElFormItem as He, ElForm as We } from "../../../node_modules/element-plus/es/components/form/index.js";
46
- import { ElRadioButton as qe, ElRadioGroup as Je } from "../../../node_modules/element-plus/es/components/radio/index.js";
47
- import { ElOption as Ge, ElSelect as je } from "../../../node_modules/element-plus/es/components/select/index.js";
48
- import { ElSwitch as Qe } from "../../../node_modules/element-plus/es/components/switch/index.js";
49
- import { ElCheckbox as Xe } from "../../../node_modules/element-plus/es/components/checkbox/index.js";
50
- import { ElScrollbar as Ye } from "../../../node_modules/element-plus/es/components/scrollbar/index.js";
51
- import { ElDialog as Ze } from "../../../node_modules/element-plus/es/components/dialog/index.js";
52
- const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { class: "new-item-content" }, ol = { class: "edit-actions" }, tl = ["onClick"], al = { class: "dialog-content" }, nl = { class: "dialog-name-wrapper" }, ul = { style: { display: "flex", gap: "16px", width: "100%" } }, il = { class: "footer-buttons-container" }, dl = {
43
+ import He from "../../../_virtual/_plugin-vue_export-helper.js";
44
+ import { ElMessage as Z } from "../../../node_modules/element-plus/es/components/message/index.js";
45
+ import { ElButton as qe } from "../../../node_modules/element-plus/es/components/button/index.js";
46
+ import { ElHeader as We, ElMain as Je, ElContainer as Ge, ElAside as je } from "../../../node_modules/element-plus/es/components/container/index.js";
47
+ import { ElInput as Qe } from "../../../node_modules/element-plus/es/components/input/index.js";
48
+ import { ElLink as Xe } from "../../../node_modules/element-plus/es/components/link/index.js";
49
+ import { ElIcon as Ye } from "../../../node_modules/element-plus/es/components/icon/index.js";
50
+ import { ElFormItem as Ze, ElForm as he } from "../../../node_modules/element-plus/es/components/form/index.js";
51
+ import { ElRadioButton as el, ElRadioGroup as ll } from "../../../node_modules/element-plus/es/components/radio/index.js";
52
+ import { ElOption as ol, ElSelect as tl } from "../../../node_modules/element-plus/es/components/select/index.js";
53
+ import { ElScrollbar as al } from "../../../node_modules/element-plus/es/components/scrollbar/index.js";
54
+ import { ElPopover as nl } from "../../../node_modules/element-plus/es/components/popover/index.js";
55
+ import { ElSwitch as ul } from "../../../node_modules/element-plus/es/components/switch/index.js";
56
+ import { ElCheckbox as il } from "../../../node_modules/element-plus/es/components/checkbox/index.js";
57
+ import { ElDialog as dl } from "../../../node_modules/element-plus/es/components/dialog/index.js";
58
+ const sl = { key: 0 }, ml = { class: "dialog-menu-item is-editing" }, rl = { class: "new-item-content" }, pl = { class: "edit-actions" }, fl = ["onClick"], bl = { class: "dialog-content" }, vl = { class: "dialog-name-wrapper" }, gl = { style: { display: "flex", gap: "16px", width: "100%" } }, cl = { class: "col-panel" }, Vl = { class: "col-header" }, _l = { class: "col-rules-list" }, yl = { class: "drag-handle" }, Cl = { class: "custom-col-btns" }, kl = { class: "col-property" }, Tl = { class: "footer-buttons-container" }, Fl = {
53
59
  key: 0,
54
60
  class: "empty-tip"
55
- }, ml = {
61
+ }, Sl = {
56
62
  key: 1,
57
63
  class: "footer-buttons"
58
- }, sl = {
64
+ }, Dl = {
59
65
  key: 1,
60
66
  class: "empty-selection"
61
- }, rl = { class: "dialog-footer" }, pl = {
67
+ }, El = { class: "dialog-footer" }, Ul = {
62
68
  __name: "index",
63
69
  props: {
64
70
  modelValue: { required: !0 },
65
71
  modelModifiers: {}
66
72
  },
67
73
  emits: ["update:modelValue"],
68
- setup(j) {
69
- const Q = w(() => (xe() || []).map((e) => ({
70
- id: e.id,
71
- label: e.label,
72
- fieldName: e.fieldName,
73
- fieldType: e.fieldType
74
- }))), x = Ve(j, "modelValue"), b = _([]), f = _(-1);
75
- ye(x, (u) => {
76
- u && (E.value = !1, C.value = -1, b.value = Ee(Te()), b.value.length > 0 && f.value === -1 && (f.value = 0));
74
+ setup(h) {
75
+ const K = M(() => Ie()), D = ke(h, "modelValue"), g = k([]), b = k(-1);
76
+ Te(D, (u) => {
77
+ u && (E.value = !1, T.value = -1, g.value = Q(Be()), g.value.length > 0 && b.value === -1 && (b.value = 0));
77
78
  });
78
- const E = _(!1), V = _(""), C = _(-1), F = _(""), X = () => {
79
- E.value = !0, V.value = "";
80
- }, P = () => {
81
- if (!V.value.trim()) {
82
- G.warning("请输入弹层名称");
79
+ const E = k(!1), C = k(""), T = k(-1), F = k(""), ee = () => {
80
+ E.value = !0, C.value = "";
81
+ }, R = () => {
82
+ if (!C.value.trim()) {
83
+ Z.warning("请输入弹层名称");
83
84
  return;
84
85
  }
85
- b.value.push({
86
+ g.value.push({
86
87
  id: "dialog_" + Date.now(),
87
- name: V.value,
88
+ name: C.value,
88
89
  dialogSize: "standard",
89
90
  dialogParams: [],
90
91
  customWidth: "",
@@ -102,70 +103,86 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
102
103
  subFormFooterButtons: []
103
104
  // 表单底部按钮
104
105
  // callbackEventConfig: {},
105
- }), E.value = !1, V.value = "", f.value = b.value.length - 1;
106
- }, Y = () => {
107
- E.value = !1, V.value = "";
108
- }, Z = (u) => {
109
- b.value.splice(u, 1), f.value === u ? f.value = -1 : f.value > u && f.value--;
110
- }, h = (u) => {
111
- C.value = u, F.value = b.value[u].name;
112
- }, ee = () => {
113
- if (C.value !== -1) {
106
+ }), E.value = !1, C.value = "", b.value = g.value.length - 1;
107
+ }, le = () => {
108
+ E.value = !1, C.value = "";
109
+ }, oe = (u) => {
110
+ g.value.splice(u, 1), b.value === u ? b.value = -1 : b.value > u && b.value--;
111
+ }, te = (u) => {
112
+ T.value = u, F.value = g.value[u].name;
113
+ }, ae = () => {
114
+ if (T.value !== -1) {
114
115
  if (!F.value.trim()) {
115
- G.warning("请输入弹层名称");
116
+ Z.warning("请输入弹层名称");
116
117
  return;
117
118
  }
118
- b.value[C.value].name = F.value, C.value = -1, F.value = "";
119
+ g.value[T.value].name = F.value, T.value = -1, F.value = "";
119
120
  }
120
- }, le = () => {
121
- Me(b.value), x.value = !1;
122
- }, T = _(null), D = _(null), t = w(() => {
123
- const u = b.value[f.value];
124
- if (u.fieldMapping || (u.fieldMapping = []), (u == null ? void 0 : u.contentSource) == "table" && !T.value) {
121
+ }, ne = () => {
122
+ Ne(g.value), D.value = !1;
123
+ }, U = k(null), B = k(null), t = M(() => {
124
+ const u = g.value[b.value];
125
+ if (u.fieldMapping || (u.fieldMapping = []), u.customTableConfig ? (u.customTableConfig.dataSources = K.value.dataSources, u.customTableConfig.queryConfig.enabled = !1) : (u.customTableConfig = Q(Le), u.customTableConfig.fieldsData = [], u.customTableConfig.dataSources = K.value.dataSources), (u == null ? void 0 : u.contentSource) == "table") {
125
126
  const e = u == null ? void 0 : u.subTableId;
126
- e && J.getById(e, !1).then((s) => {
127
- T.value = JSON.parse(s.context);
127
+ e && Y.getById(e, !1).then((m) => {
128
+ U.value = JSON.parse(m.context);
128
129
  });
129
- } else if ((u == null ? void 0 : u.contentSource) == "form" && !D.value) {
130
+ } else if ((u == null ? void 0 : u.contentSource) == "form") {
130
131
  const e = u == null ? void 0 : u.subFormId;
131
- e && J.getById(e, !1).then((s) => {
132
- D.value = JSON.parse(s.context);
132
+ e && Y.getById(e, !1).then((m) => {
133
+ B.value = JSON.parse(m.context);
133
134
  });
134
135
  }
135
136
  return u;
136
137
  });
137
- function oe(u) {
138
- T.value = u, t.value.subTableMode = null;
138
+ function ue(u) {
139
+ U.value = u, t.value.subTableMode = null;
139
140
  }
140
- function te(u) {
141
- D.value = u;
141
+ function ie(u) {
142
+ B.value = u;
142
143
  }
143
- const ae = w(() => {
144
- var u;
145
- return (u = T.value) == null ? void 0 : u.mode;
146
- }), z = w(() => {
144
+ const de = M(() => {
147
145
  var u;
148
- return (u = T.value) == null ? void 0 : u.fieldsData;
149
- }), I = w(() => {
146
+ return (u = U.value) == null ? void 0 : u.mode;
147
+ }), $ = M(() => {
148
+ var u, e, m, x;
149
+ if (t.value.tableContent === "custom")
150
+ return ((e = (u = t.value) == null ? void 0 : u.customTableConfig) == null ? void 0 : e.fieldsData) || [];
151
+ if (t.value.tableContent === "select")
152
+ return [
153
+ ...((m = U.value) == null ? void 0 : m.fieldsData) || [],
154
+ ...((x = U.value) == null ? void 0 : x.hiddenFields) || []
155
+ ];
156
+ }), N = M(() => {
150
157
  var e;
151
- const u = (e = D.value) == null ? void 0 : e.pageFooterConfig.actions;
152
- return u ? u.filter((s) => s.btnType == "primary") : [];
153
- }), ne = (u) => {
154
- var e, s;
155
- return (s = (e = t.value) == null ? void 0 : e.subFormFooterButtons) == null ? void 0 : s.includes(u);
156
- }, ue = (u) => {
158
+ const u = (e = B.value) == null ? void 0 : e.pageFooterConfig.actions;
159
+ return u ? u.filter((m) => m.btnType == "primary") : [];
160
+ }), se = (u) => {
161
+ var e, m;
162
+ return (m = (e = t.value) == null ? void 0 : e.subFormFooterButtons) == null ? void 0 : m.includes(u);
163
+ }, me = (u) => {
157
164
  t.value.subFormFooterButtons || (t.value.subFormFooterButtons = []);
158
165
  const e = t.value.subFormFooterButtons.indexOf(u.id);
159
166
  e > -1 ? t.value.subFormFooterButtons.splice(e, 1) : t.value.subFormFooterButtons.push(u.id);
160
167
  };
161
- function ie(u) {
168
+ function re(u) {
162
169
  t.value.callbackEventConfig = u;
163
170
  }
171
+ const pe = () => {
172
+ t.value.customTableConfig.fieldsData.push({
173
+ fieldType: "text",
174
+ label: "",
175
+ ...$e,
176
+ fieldName: ""
177
+ });
178
+ }, fe = (u) => {
179
+ t.value.customTableConfig.fieldsData.splice(u, 1);
180
+ };
164
181
  return (u, e) => {
165
- const s = Oe, L = Ke, S = Re, de = $e, me = Ae, B = Pe, N = ze, se = Le, m = He, r = qe, M = Je, re = Ge, pe = je, R = Qe, fe = Xe, be = We, ve = Ye, ge = Ze;
166
- return i(), c(ge, {
167
- modelValue: x.value,
168
- "onUpdate:modelValue": e[26] || (e[26] = (a) => x.value = a),
182
+ const m = qe, x = We, _ = Qe, be = Xe, L = Ye, O = Je, P = Ge, ve = je, s = Ze, p = el, w = ll, ge = ol, ce = tl, A = al, Ve = nl, H = ul, _e = il, ye = he, Ce = dl;
183
+ return d(), S(Ce, {
184
+ modelValue: D.value,
185
+ "onUpdate:modelValue": e[28] || (e[28] = (a) => D.value = a),
169
186
  width: "50%",
170
187
  title: "弹层配置",
171
188
  draggable: "",
@@ -174,133 +191,133 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
174
191
  class: "fec-dev-designer-dialog"
175
192
  }, {
176
193
  footer: n(() => [
177
- g("div", rl, [
178
- o(s, {
179
- onClick: e[25] || (e[25] = (a) => x.value = !1)
194
+ f("div", El, [
195
+ l(m, {
196
+ onClick: e[27] || (e[27] = (a) => D.value = !1)
180
197
  }, {
181
- default: n(() => [...e[44] || (e[44] = [
182
- d("取消", -1)
198
+ default: n(() => [...e[48] || (e[48] = [
199
+ i("取消", -1)
183
200
  ])]),
184
201
  _: 1
185
202
  }),
186
- o(s, {
203
+ l(m, {
187
204
  type: "primary",
188
- onClick: le
205
+ onClick: ne
189
206
  }, {
190
- default: n(() => [...e[45] || (e[45] = [
191
- d("确定", -1)
207
+ default: n(() => [...e[49] || (e[49] = [
208
+ i("确定", -1)
192
209
  ])]),
193
210
  _: 1
194
211
  })
195
212
  ])
196
213
  ]),
197
214
  default: n(() => [
198
- o(N, { style: { border: "1px solid #ebeef5", "border-radius": "4px", height: "600px" } }, {
215
+ l(P, { style: { border: "1px solid #ebeef5", "border-radius": "4px", height: "600px" } }, {
199
216
  default: n(() => [
200
- o(se, { width: "300px" }, {
217
+ l(ve, { width: "300px" }, {
201
218
  default: n(() => [
202
- o(N, null, {
219
+ l(P, null, {
203
220
  default: n(() => [
204
- o(L, {
221
+ l(x, {
205
222
  height: "40px",
206
223
  style: { "background-color": "#f2f2f2", "line-height": "40px" }
207
224
  }, {
208
225
  default: n(() => [
209
- o(s, {
226
+ l(m, {
210
227
  type: "primary",
211
228
  link: "",
212
- icon: l(ke),
213
- onClick: X
229
+ icon: o(Ee),
230
+ onClick: ee
214
231
  }, {
215
- default: n(() => [...e[27] || (e[27] = [
216
- d(" 新增弹层 ", -1)
232
+ default: n(() => [...e[29] || (e[29] = [
233
+ i(" 新增弹层 ", -1)
217
234
  ])]),
218
235
  _: 1
219
236
  }, 8, ["icon"])
220
237
  ]),
221
238
  _: 1
222
239
  }),
223
- o(B, { style: { padding: "10px" } }, {
240
+ l(O, { style: { padding: "10px" } }, {
224
241
  default: n(() => [
225
- l(E) ? (i(), p("div", he, [
226
- g("div", el, [
227
- g("div", ll, [
228
- o(S, {
229
- modelValue: l(V),
230
- "onUpdate:modelValue": e[0] || (e[0] = (a) => $(V) ? V.value = a : null),
242
+ o(E) ? (d(), r("div", sl, [
243
+ f("div", ml, [
244
+ f("div", rl, [
245
+ l(_, {
246
+ modelValue: o(C),
247
+ "onUpdate:modelValue": e[0] || (e[0] = (a) => q(C) ? C.value = a : null),
231
248
  placeholder: "请输入弹层名称",
232
249
  size: "default",
233
- onKeyup: _e(P, ["enter"]),
250
+ onKeyup: Fe(R, ["enter"]),
234
251
  class: "new-item-input"
235
252
  }, null, 8, ["modelValue"]),
236
- g("div", ol, [
237
- o(s, {
253
+ f("div", pl, [
254
+ l(m, {
238
255
  size: "small",
239
- icon: l(Ce),
240
- onClick: Y
256
+ icon: o(Ue),
257
+ onClick: le
241
258
  }, {
242
- default: n(() => [...e[28] || (e[28] = [
243
- d(" 取消 ", -1)
259
+ default: n(() => [...e[30] || (e[30] = [
260
+ i(" 取消 ", -1)
244
261
  ])]),
245
262
  _: 1
246
263
  }, 8, ["icon"]),
247
- o(s, {
264
+ l(m, {
248
265
  type: "primary",
249
266
  size: "small",
250
- icon: l(Fe),
251
- onClick: P
267
+ icon: o(xe),
268
+ onClick: R
252
269
  }, {
253
- default: n(() => [...e[29] || (e[29] = [
254
- d(" 确认 ", -1)
270
+ default: n(() => [...e[31] || (e[31] = [
271
+ i(" 确认 ", -1)
255
272
  ])]),
256
273
  _: 1
257
274
  }, 8, ["icon"])
258
275
  ])
259
276
  ])
260
277
  ])
261
- ])) : v("", !0),
262
- (i(!0), p(k, null, O(l(b), (a, y) => (i(), p("div", {
263
- key: y,
264
- class: ce([
278
+ ])) : y("", !0),
279
+ (d(!0), r(V, null, I(o(g), (a, v) => (d(), r("div", {
280
+ key: v,
281
+ class: Se([
265
282
  "dialog-menu-item",
266
- { "is-active": l(f) === y }
283
+ { "is-active": o(b) === v }
267
284
  ]),
268
- onClick: (U) => f.value = y
285
+ onClick: (c) => b.value = v
269
286
  }, [
270
- g("div", al, [
271
- g("div", nl, [
272
- A(o(S, {
273
- onBlur: (U) => ee(),
287
+ f("div", bl, [
288
+ f("div", vl, [
289
+ W(l(_, {
290
+ onBlur: (c) => ae(),
274
291
  maxlength: "30",
275
- modelValue: l(F),
276
- "onUpdate:modelValue": e[1] || (e[1] = (U) => $(F) ? F.value = U : null),
292
+ modelValue: o(F),
293
+ "onUpdate:modelValue": e[1] || (e[1] = (c) => q(F) ? F.value = c : null),
277
294
  size: "small"
278
295
  }, null, 8, ["onBlur", "modelValue"]), [
279
- [H, l(C) === y]
296
+ [J, o(T) === v]
280
297
  ]),
281
- A(o(de, {
298
+ W(l(be, {
282
299
  icon: "Edit",
283
- onClick: W((U) => h(y), ["stop"])
300
+ onClick: G((c) => te(v), ["stop"])
284
301
  }, {
285
302
  default: n(() => [
286
- d(K(a.name), 1)
303
+ i(z(a.name), 1)
287
304
  ]),
288
305
  _: 2
289
306
  }, 1032, ["onClick"]), [
290
- [H, l(C) !== y]
307
+ [J, o(T) !== v]
291
308
  ])
292
309
  ]),
293
- o(me, {
310
+ l(L, {
294
311
  class: "delete-icon",
295
- onClick: W((U) => Z(y), ["stop"])
312
+ onClick: G((c) => oe(v), ["stop"])
296
313
  }, {
297
314
  default: n(() => [
298
- o(l(Se))
315
+ l(o(j))
299
316
  ]),
300
317
  _: 1
301
318
  }, 8, ["onClick"])
302
319
  ])
303
- ], 10, tl))), 128))
320
+ ], 10, fl))), 128))
304
321
  ]),
305
322
  _: 1
306
323
  })
@@ -310,72 +327,72 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
310
327
  ]),
311
328
  _: 1
312
329
  }),
313
- o(B, { style: { "border-left": "1px solid #ebeef5", padding: "0" } }, {
330
+ l(O, { style: { "border-left": "1px solid #ebeef5", padding: "0" } }, {
314
331
  default: n(() => [
315
- l(f) !== -1 ? (i(), c(N, {
332
+ o(b) !== -1 ? (d(), S(P, {
316
333
  key: 0,
317
334
  style: { height: "100%" }
318
335
  }, {
319
336
  default: n(() => [
320
- o(L, {
337
+ l(x, {
321
338
  height: "40px",
322
339
  class: "dialog-header"
323
340
  }, {
324
341
  default: n(() => [
325
- g("div", null, K(l(t).name), 1)
342
+ f("div", null, z(o(t).name), 1)
326
343
  ]),
327
344
  _: 1
328
345
  }),
329
- o(B, { style: { padding: "12px 20px 0 20px" } }, {
346
+ l(O, { style: { padding: "12px 20px 0 20px" } }, {
330
347
  default: n(() => [
331
- o(ve, null, {
348
+ l(A, null, {
332
349
  default: n(() => [
333
- o(be, {
334
- model: l(t),
350
+ l(ye, {
351
+ model: o(t),
335
352
  "label-width": "120px",
336
353
  style: { "padding-right": "20px" },
337
354
  size: "small"
338
355
  }, {
339
356
  default: n(() => [
340
- o(m, { label: "弹层标题" }, {
357
+ l(s, { label: "弹层标题" }, {
341
358
  default: n(() => [
342
- o(S, {
343
- modelValue: l(t).dialogTitle,
344
- "onUpdate:modelValue": e[2] || (e[2] = (a) => l(t).dialogTitle = a),
359
+ l(_, {
360
+ modelValue: o(t).dialogTitle,
361
+ "onUpdate:modelValue": e[2] || (e[2] = (a) => o(t).dialogTitle = a),
345
362
  placeholder: "请输入弹层标题",
346
363
  clearable: ""
347
364
  }, null, 8, ["modelValue"])
348
365
  ]),
349
366
  _: 1
350
367
  }),
351
- o(m, { label: "弹层尺寸" }, {
368
+ l(s, { label: "弹层尺寸" }, {
352
369
  default: n(() => [
353
- o(M, {
354
- modelValue: l(t).dialogSize,
355
- "onUpdate:modelValue": e[3] || (e[3] = (a) => l(t).dialogSize = a)
370
+ l(w, {
371
+ modelValue: o(t).dialogSize,
372
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => o(t).dialogSize = a)
356
373
  }, {
357
374
  default: n(() => [
358
- o(r, { value: "standard" }, {
359
- default: n(() => [...e[30] || (e[30] = [
360
- d("标准", -1)
375
+ l(p, { value: "standard" }, {
376
+ default: n(() => [...e[32] || (e[32] = [
377
+ i("标准", -1)
361
378
  ])]),
362
379
  _: 1
363
380
  }),
364
- o(r, { value: "large" }, {
365
- default: n(() => [...e[31] || (e[31] = [
366
- d("更大", -1)
381
+ l(p, { value: "large" }, {
382
+ default: n(() => [...e[33] || (e[33] = [
383
+ i("更大", -1)
367
384
  ])]),
368
385
  _: 1
369
386
  }),
370
- o(r, { value: "small" }, {
371
- default: n(() => [...e[32] || (e[32] = [
372
- d("更小", -1)
387
+ l(p, { value: "small" }, {
388
+ default: n(() => [...e[34] || (e[34] = [
389
+ i("更小", -1)
373
390
  ])]),
374
391
  _: 1
375
392
  }),
376
- o(r, { value: "custom" }, {
377
- default: n(() => [...e[33] || (e[33] = [
378
- d("自定义", -1)
393
+ l(p, { value: "custom" }, {
394
+ default: n(() => [...e[35] || (e[35] = [
395
+ i("自定义", -1)
379
396
  ])]),
380
397
  _: 1
381
398
  })
@@ -385,60 +402,65 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
385
402
  ]),
386
403
  _: 1
387
404
  }),
388
- l(t).dialogSize === "custom" ? (i(), c(m, {
405
+ o(t).dialogSize === "custom" ? (d(), S(s, {
389
406
  key: 0,
390
407
  label: "自定义尺寸"
391
408
  }, {
392
409
  default: n(() => [
393
- g("div", ul, [
394
- o(S, {
395
- modelValue: l(t).customWidth,
396
- "onUpdate:modelValue": e[4] || (e[4] = (a) => l(t).customWidth = a),
410
+ f("div", gl, [
411
+ l(_, {
412
+ modelValue: o(t).customWidth,
413
+ "onUpdate:modelValue": e[4] || (e[4] = (a) => o(t).customWidth = a),
397
414
  placeholder: "宽度,如:800px、60%",
398
415
  style: { flex: "1" }
399
416
  }, null, 8, ["modelValue"]),
400
- o(S, {
401
- modelValue: l(t).customMaxHeight,
402
- "onUpdate:modelValue": e[5] || (e[5] = (a) => l(t).customMaxHeight = a),
417
+ l(_, {
418
+ modelValue: o(t).customMaxHeight,
419
+ "onUpdate:modelValue": e[5] || (e[5] = (a) => o(t).customMaxHeight = a),
403
420
  placeholder: "最大高度,如:600px、80vh",
404
421
  style: { flex: "1" }
405
422
  }, null, 8, ["modelValue"])
406
423
  ])
407
424
  ]),
408
425
  _: 1
409
- })) : v("", !0),
410
- o(m, { label: "弹层参数" }, {
426
+ })) : y("", !0),
427
+ l(s, { label: "弹层参数" }, {
411
428
  default: n(() => [
412
- o(Ue, {
413
- modelValue: l(t).dialogParams,
414
- "onUpdate:modelValue": e[6] || (e[6] = (a) => l(t).dialogParams = a),
415
- "available-fields": l(Q)
416
- }, null, 8, ["modelValue", "available-fields"])
429
+ l(Oe, {
430
+ modelValue: o(t).dialogParams,
431
+ "onUpdate:modelValue": e[6] || (e[6] = (a) => o(t).dialogParams = a)
432
+ }, null, 8, ["modelValue"])
417
433
  ]),
418
434
  _: 1
419
435
  }),
420
- o(m, { label: "弹层类型" }, {
436
+ l(s, { label: "弹层类型" }, {
421
437
  default: n(() => [
422
- o(M, {
423
- modelValue: l(t).contentSource,
424
- "onUpdate:modelValue": e[7] || (e[7] = (a) => l(t).contentSource = a)
438
+ l(w, {
439
+ modelValue: o(t).contentSource,
440
+ "onUpdate:modelValue": e[7] || (e[7] = (a) => o(t).contentSource = a)
425
441
  }, {
426
442
  default: n(() => [
427
- o(r, { value: "table" }, {
428
- default: n(() => [...e[34] || (e[34] = [
429
- d("列表", -1)
443
+ l(p, { value: "table" }, {
444
+ default: n(() => [...e[36] || (e[36] = [
445
+ i("列表", -1)
430
446
  ])]),
431
447
  _: 1
432
448
  }),
433
- o(r, { value: "form" }, {
434
- default: n(() => [...e[35] || (e[35] = [
435
- d("表单", -1)
449
+ l(p, { value: "form" }, {
450
+ default: n(() => [...e[37] || (e[37] = [
451
+ i("表单", -1)
436
452
  ])]),
437
453
  _: 1
438
454
  }),
439
- o(r, { value: "component" }, {
440
- default: n(() => [...e[36] || (e[36] = [
441
- d("组件", -1)
455
+ l(p, { value: "tree" }, {
456
+ default: n(() => [...e[38] || (e[38] = [
457
+ i("树形", -1)
458
+ ])]),
459
+ _: 1
460
+ }),
461
+ l(p, { value: "component" }, {
462
+ default: n(() => [...e[39] || (e[39] = [
463
+ i("组件", -1)
442
464
  ])]),
443
465
  _: 1
444
466
  })
@@ -448,23 +470,23 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
448
470
  ]),
449
471
  _: 1
450
472
  }),
451
- l(t).contentSource === "table" ? (i(), p(k, { key: 1 }, [
452
- o(m, { label: "列表内容" }, {
473
+ o(t).contentSource === "table" ? (d(), r(V, { key: 1 }, [
474
+ l(s, { label: "列表内容" }, {
453
475
  default: n(() => [
454
- o(M, {
455
- modelValue: l(t).tableContent,
456
- "onUpdate:modelValue": e[8] || (e[8] = (a) => l(t).tableContent = a)
476
+ l(w, {
477
+ modelValue: o(t).tableContent,
478
+ "onUpdate:modelValue": e[8] || (e[8] = (a) => o(t).tableContent = a)
457
479
  }, {
458
480
  default: n(() => [
459
- o(r, { value: "select" }, {
460
- default: n(() => [...e[37] || (e[37] = [
461
- d("选择列表", -1)
481
+ l(p, { value: "select" }, {
482
+ default: n(() => [...e[40] || (e[40] = [
483
+ i("选择列表", -1)
462
484
  ])]),
463
485
  _: 1
464
486
  }),
465
- o(r, { value: "custom" }, {
466
- default: n(() => [...e[38] || (e[38] = [
467
- d("自定义", -1)
487
+ l(p, { value: "custom" }, {
488
+ default: n(() => [...e[41] || (e[41] = [
489
+ i("自定义", -1)
468
490
  ])]),
469
491
  _: 1
470
492
  })
@@ -474,34 +496,31 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
474
496
  ]),
475
497
  _: 1
476
498
  }),
477
- l(t).tableContent === "select" ? (i(), p(k, { key: 0 }, [
478
- l(t).tableContent === "select" ? (i(), c(m, {
479
- key: 0,
480
- label: "选择列表"
481
- }, {
499
+ o(t).tableContent === "select" ? (d(), r(V, { key: 0 }, [
500
+ l(s, { label: "选择列表" }, {
482
501
  default: n(() => [
483
- o(q, {
484
- modelValue: l(t).subTableName,
485
- "onUpdate:modelValue": e[9] || (e[9] = (a) => l(t).subTableName = a),
486
- templateKey: l(t).subTableKey,
487
- "onUpdate:templateKey": e[10] || (e[10] = (a) => l(t).subTableKey = a),
488
- templateId: l(t).subTableId,
489
- "onUpdate:templateId": e[11] || (e[11] = (a) => l(t).subTableId = a),
502
+ l(X, {
503
+ modelValue: o(t).subTableName,
504
+ "onUpdate:modelValue": e[9] || (e[9] = (a) => o(t).subTableName = a),
505
+ templateKey: o(t).subTableKey,
506
+ "onUpdate:templateKey": e[10] || (e[10] = (a) => o(t).subTableKey = a),
507
+ templateId: o(t).subTableId,
508
+ "onUpdate:templateId": e[11] || (e[11] = (a) => o(t).subTableId = a),
490
509
  templateType: "table",
491
- onConfirm: oe
510
+ onConfirm: ue
492
511
  }, null, 8, ["modelValue", "templateKey", "templateId"])
493
512
  ]),
494
513
  _: 1
495
- })) : v("", !0),
496
- o(m, { label: "列表模式" }, {
514
+ }),
515
+ l(s, { label: "列表模式" }, {
497
516
  default: n(() => [
498
- o(pe, {
499
- modelValue: l(t).subTableMode,
500
- "onUpdate:modelValue": e[12] || (e[12] = (a) => l(t).subTableMode = a),
517
+ l(ce, {
518
+ modelValue: o(t).subTableMode,
519
+ "onUpdate:modelValue": e[12] || (e[12] = (a) => o(t).subTableMode = a),
501
520
  clearable: ""
502
521
  }, {
503
522
  default: n(() => [
504
- (i(!0), p(k, null, O(l(ae), (a) => (i(), c(re, {
523
+ (d(!0), r(V, null, I(o(de), (a) => (d(), S(ge, {
505
524
  key: a.key,
506
525
  label: a.name,
507
526
  value: a.key
@@ -512,60 +531,165 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
512
531
  ]),
513
532
  _: 1
514
533
  })
515
- ], 64)) : v("", !0),
516
- l(t).tableContent === "custom" ? (i(), c(m, {
517
- key: 1,
518
- label: "数据源"
519
- }, {
520
- default: n(() => [
521
- o(we, {
522
- modelValue: l(t).dataSourceValue,
523
- "onUpdate:modelValue": e[13] || (e[13] = (a) => l(t).dataSourceValue = a)
524
- }, null, 8, ["modelValue"])
525
- ]),
526
- _: 1
527
- })) : v("", !0),
528
- o(m, { label: "是否翻页" }, {
534
+ ], 64)) : y("", !0),
535
+ o(t).tableContent === "custom" ? (d(), r(V, { key: 1 }, [
536
+ l(s, { label: "列配置" }, {
537
+ default: n(() => [
538
+ f("div", cl, [
539
+ f("div", Vl, [
540
+ l(m, {
541
+ type: "primary",
542
+ size: "small",
543
+ onClick: pe,
544
+ icon: "Plus",
545
+ link: ""
546
+ }, {
547
+ default: n(() => [...e[42] || (e[42] = [
548
+ i(" 添加列配置 ", -1)
549
+ ])]),
550
+ _: 1
551
+ })
552
+ ]),
553
+ f("div", _l, [
554
+ l(o(De), {
555
+ modelValue: o(t).customTableConfig.fieldsData,
556
+ "onUpdate:modelValue": e[13] || (e[13] = (a) => o(t).customTableConfig.fieldsData = a),
557
+ animation: 150,
558
+ handle: ".drag-handle"
559
+ }, {
560
+ default: n(() => [
561
+ (d(!0), r(V, null, I(o(t).customTableConfig.fieldsData, (a, v) => (d(), r("div", {
562
+ key: v,
563
+ class: "col-rule-item"
564
+ }, [
565
+ f("div", yl, [
566
+ l(L, null, {
567
+ default: n(() => [
568
+ l(o(we))
569
+ ]),
570
+ _: 1
571
+ })
572
+ ]),
573
+ l(_, {
574
+ modelValue: a.label,
575
+ "onUpdate:modelValue": (c) => a.label = c,
576
+ size: "small",
577
+ placeholder: "列标题"
578
+ }, null, 8, ["modelValue", "onUpdate:modelValue"]),
579
+ l(_, {
580
+ modelValue: a.fieldName,
581
+ "onUpdate:modelValue": (c) => a.fieldName = c,
582
+ size: "small",
583
+ placeholder: "字段名"
584
+ }, null, 8, ["modelValue", "onUpdate:modelValue"]),
585
+ f("div", Cl, [
586
+ l(Ve, {
587
+ placement: "right",
588
+ width: 200,
589
+ trigger: "click"
590
+ }, {
591
+ reference: n(() => [
592
+ l(m, {
593
+ icon: o(Me),
594
+ link: "",
595
+ type: "primary",
596
+ class: "edit-btn"
597
+ }, null, 8, ["icon"])
598
+ ]),
599
+ default: n(() => [
600
+ f("div", kl, [
601
+ l(A, { "wrap-class": "col-property-scrollbar" }, {
602
+ default: n(() => [
603
+ l(Ae, {
604
+ column: a,
605
+ isComp: ""
606
+ }, null, 8, ["column"])
607
+ ]),
608
+ _: 2
609
+ }, 1024)
610
+ ])
611
+ ]),
612
+ _: 2
613
+ }, 1024),
614
+ l(m, {
615
+ icon: o(j),
616
+ link: "",
617
+ type: "danger",
618
+ class: "delete-btn",
619
+ onClick: (c) => fe(v)
620
+ }, null, 8, ["icon", "onClick"])
621
+ ])
622
+ ]))), 128))
623
+ ]),
624
+ _: 1
625
+ }, 8, ["modelValue"])
626
+ ])
627
+ ])
628
+ ]),
629
+ _: 1
630
+ }),
631
+ l(s, { label: "主键字段" }, {
632
+ default: n(() => [
633
+ l(_, {
634
+ modelValue: o(t).customTableConfig.pkFieldName,
635
+ "onUpdate:modelValue": e[14] || (e[14] = (a) => o(t).customTableConfig.pkFieldName = a),
636
+ placeholder: "请输入主键字段",
637
+ clearable: ""
638
+ }, null, 8, ["modelValue"])
639
+ ]),
640
+ _: 1
641
+ }),
642
+ l(s, { label: "数据源" }, {
643
+ default: n(() => [
644
+ l(Pe, {
645
+ modelValue: o(t).customTableConfig.dataSourceId,
646
+ "onUpdate:modelValue": e[15] || (e[15] = (a) => o(t).customTableConfig.dataSourceId = a)
647
+ }, null, 8, ["modelValue"])
648
+ ]),
649
+ _: 1
650
+ })
651
+ ], 64)) : y("", !0),
652
+ l(s, { label: "是否翻页" }, {
529
653
  default: n(() => [
530
- o(R, {
531
- modelValue: l(t).isSubTablePagination,
532
- "onUpdate:modelValue": e[14] || (e[14] = (a) => l(t).isSubTablePagination = a)
654
+ l(H, {
655
+ modelValue: o(t).isSubTablePagination,
656
+ "onUpdate:modelValue": e[16] || (e[16] = (a) => o(t).isSubTablePagination = a)
533
657
  }, null, 8, ["modelValue"])
534
658
  ]),
535
659
  _: 1
536
660
  }),
537
- o(m, { label: "是否只读" }, {
661
+ l(s, { label: "是否只读" }, {
538
662
  default: n(() => [
539
- o(R, {
540
- modelValue: l(t).isSubTableReadOnly,
541
- "onUpdate:modelValue": e[15] || (e[15] = (a) => l(t).isSubTableReadOnly = a)
663
+ l(H, {
664
+ modelValue: o(t).isSubTableReadOnly,
665
+ "onUpdate:modelValue": e[17] || (e[17] = (a) => o(t).isSubTableReadOnly = a)
542
666
  }, null, 8, ["modelValue"])
543
667
  ]),
544
668
  _: 1
545
669
  }),
546
- l(t).isSubTableReadOnly ? v("", !0) : (i(), p(k, { key: 2 }, [
547
- o(m, { label: "选择模式" }, {
670
+ o(t).isSubTableReadOnly ? y("", !0) : (d(), r(V, { key: 2 }, [
671
+ l(s, { label: "选择模式" }, {
548
672
  default: n(() => [
549
- o(M, {
550
- modelValue: l(t).selectionMode,
551
- "onUpdate:modelValue": e[16] || (e[16] = (a) => l(t).selectionMode = a)
673
+ l(w, {
674
+ modelValue: o(t).selectionMode,
675
+ "onUpdate:modelValue": e[18] || (e[18] = (a) => o(t).selectionMode = a)
552
676
  }, {
553
677
  default: n(() => [
554
- o(r, { value: "none" }, {
555
- default: n(() => [...e[39] || (e[39] = [
556
- d("无", -1)
678
+ l(p, { value: "none" }, {
679
+ default: n(() => [...e[43] || (e[43] = [
680
+ i("无", -1)
557
681
  ])]),
558
682
  _: 1
559
683
  }),
560
- o(r, { value: "single" }, {
561
- default: n(() => [...e[40] || (e[40] = [
562
- d("单选", -1)
684
+ l(p, { value: "single" }, {
685
+ default: n(() => [...e[44] || (e[44] = [
686
+ i("单选", -1)
563
687
  ])]),
564
688
  _: 1
565
689
  }),
566
- o(r, { value: "multiple" }, {
567
- default: n(() => [...e[41] || (e[41] = [
568
- d("多选", -1)
690
+ l(p, { value: "multiple" }, {
691
+ default: n(() => [...e[45] || (e[45] = [
692
+ i("多选", -1)
569
693
  ])]),
570
694
  _: 1
571
695
  })
@@ -575,77 +699,77 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
575
699
  ]),
576
700
  _: 1
577
701
  }),
578
- l(t).selectionMode != "none" ? (i(), p(k, { key: 0 }, [
579
- o(m, { label: "选取后反显格式" }, {
702
+ o(t).selectionMode != "none" ? (d(), r(V, { key: 0 }, [
703
+ l(s, { label: "选取后反显格式" }, {
580
704
  default: n(() => [
581
- o(l(Be), {
705
+ l(o(Re), {
582
706
  title: "反显格式配置",
583
- formulaConf: l(t).displayFormat,
584
- "onUpdate:formulaConf": e[17] || (e[17] = (a) => l(t).displayFormat = a),
585
- modelValue: l(t).displayFormatText,
586
- "onUpdate:modelValue": e[18] || (e[18] = (a) => l(t).displayFormatText = a),
587
- fieldList: l(z)
707
+ formulaConf: o(t).displayFormat,
708
+ "onUpdate:formulaConf": e[19] || (e[19] = (a) => o(t).displayFormat = a),
709
+ modelValue: o(t).displayFormatText,
710
+ "onUpdate:modelValue": e[20] || (e[20] = (a) => o(t).displayFormatText = a),
711
+ fieldList: o($)
588
712
  }, null, 8, ["formulaConf", "modelValue", "fieldList"])
589
713
  ]),
590
714
  _: 1
591
715
  }),
592
- o(m, { label: "选取后表单赋值" }, {
716
+ l(s, { label: "选取后表单赋值" }, {
593
717
  default: n(() => [
594
- o(De, {
595
- modelValue: l(t).fieldMapping,
596
- "onUpdate:modelValue": e[19] || (e[19] = (a) => l(t).fieldMapping = a),
718
+ l(ze, {
719
+ modelValue: o(t).fieldMapping,
720
+ "onUpdate:modelValue": e[21] || (e[21] = (a) => o(t).fieldMapping = a),
597
721
  fieldLabel: "赋值表单字段",
598
722
  valueLabel: "列表字段",
599
- valueOptions: l(z),
723
+ valueOptions: o($),
600
724
  valueSelectMode: ""
601
725
  }, null, 8, ["modelValue", "valueOptions"])
602
726
  ]),
603
727
  _: 1
604
728
  })
605
- ], 64)) : v("", !0),
606
- o(m, { label: "回调事件配置" }, {
729
+ ], 64)) : y("", !0),
730
+ l(s, { label: "回调事件配置" }, {
607
731
  default: n(() => [
608
- o(Ie, {
609
- config: l(t).callbackEventConfig,
610
- onConfirm: ie
732
+ l(Ke, {
733
+ config: o(t).callbackEventConfig,
734
+ onConfirm: re
611
735
  }, null, 8, ["config"])
612
736
  ]),
613
737
  _: 1
614
738
  })
615
739
  ], 64))
616
- ], 64)) : v("", !0),
617
- l(t).contentSource === "form" ? (i(), p(k, { key: 2 }, [
618
- o(m, { label: "选择表单" }, {
740
+ ], 64)) : y("", !0),
741
+ o(t).contentSource === "form" ? (d(), r(V, { key: 2 }, [
742
+ l(s, { label: "选择表单" }, {
619
743
  default: n(() => [
620
- o(q, {
621
- modelValue: l(t).subFormName,
622
- "onUpdate:modelValue": e[20] || (e[20] = (a) => l(t).subFormName = a),
623
- templateKey: l(t).subFormKey,
624
- "onUpdate:templateKey": e[21] || (e[21] = (a) => l(t).subFormKey = a),
625
- templateId: l(t).subFormId,
626
- "onUpdate:templateId": e[22] || (e[22] = (a) => l(t).subFormId = a),
744
+ l(X, {
745
+ modelValue: o(t).subFormName,
746
+ "onUpdate:modelValue": e[22] || (e[22] = (a) => o(t).subFormName = a),
747
+ templateKey: o(t).subFormKey,
748
+ "onUpdate:templateKey": e[23] || (e[23] = (a) => o(t).subFormKey = a),
749
+ templateId: o(t).subFormId,
750
+ "onUpdate:templateId": e[24] || (e[24] = (a) => o(t).subFormId = a),
627
751
  templateType: "form",
628
- onConfirm: te
752
+ onConfirm: ie
629
753
  }, null, 8, ["modelValue", "templateKey", "templateId"])
630
754
  ]),
631
755
  _: 1
632
756
  }),
633
- o(m, { label: "表单模式" }, {
757
+ l(s, { label: "表单模式" }, {
634
758
  default: n(() => [
635
- o(M, {
636
- modelValue: l(t).subFormMode,
637
- "onUpdate:modelValue": e[23] || (e[23] = (a) => l(t).subFormMode = a)
759
+ l(w, {
760
+ modelValue: o(t).subFormMode,
761
+ "onUpdate:modelValue": e[25] || (e[25] = (a) => o(t).subFormMode = a)
638
762
  }, {
639
763
  default: n(() => [
640
- o(r, { value: "edit" }, {
641
- default: n(() => [...e[42] || (e[42] = [
642
- d("编辑", -1)
764
+ l(p, { value: "edit" }, {
765
+ default: n(() => [...e[46] || (e[46] = [
766
+ i("编辑", -1)
643
767
  ])]),
644
768
  _: 1
645
769
  }),
646
- o(r, { value: "query" }, {
647
- default: n(() => [...e[43] || (e[43] = [
648
- d("查看", -1)
770
+ l(p, { value: "query" }, {
771
+ default: n(() => [...e[47] || (e[47] = [
772
+ i("查看", -1)
649
773
  ])]),
650
774
  _: 1
651
775
  })
@@ -655,17 +779,17 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
655
779
  ]),
656
780
  _: 1
657
781
  }),
658
- o(m, { label: "表单底部按钮" }, {
782
+ l(s, { label: "表单底部按钮" }, {
659
783
  default: n(() => [
660
- g("div", il, [
661
- !l(I) || l(I).length === 0 ? (i(), p("div", dl, " 暂无可用按钮 ")) : (i(), p("div", ml, [
662
- (i(!0), p(k, null, O(l(I), (a) => (i(), c(fe, {
784
+ f("div", Tl, [
785
+ !o(N) || o(N).length === 0 ? (d(), r("div", Fl, " 暂无可用按钮 ")) : (d(), r("div", Sl, [
786
+ (d(!0), r(V, null, I(o(N), (a) => (d(), S(_e, {
663
787
  key: a.id,
664
- "model-value": ne(a.id),
665
- onChange: (y) => ue(a)
788
+ "model-value": se(a.id),
789
+ onChange: (v) => me(a)
666
790
  }, {
667
791
  default: n(() => [
668
- d(K(a.label), 1)
792
+ i(z(a.label), 1)
669
793
  ]),
670
794
  _: 2
671
795
  }, 1032, ["model-value", "onChange"]))), 128))
@@ -674,21 +798,21 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
674
798
  ]),
675
799
  _: 1
676
800
  })
677
- ], 64)) : v("", !0),
678
- l(t).contentSource === "component" ? (i(), c(m, {
801
+ ], 64)) : y("", !0),
802
+ o(t).contentSource === "component" ? (d(), S(s, {
679
803
  key: 3,
680
804
  label: "选择组件"
681
805
  }, {
682
806
  default: n(() => [
683
- o(S, {
684
- modelValue: l(t).componentPath,
685
- "onUpdate:modelValue": e[24] || (e[24] = (a) => l(t).componentPath = a),
807
+ l(_, {
808
+ modelValue: o(t).componentPath,
809
+ "onUpdate:modelValue": e[26] || (e[26] = (a) => o(t).componentPath = a),
686
810
  placeholder: "请输入组件路径",
687
811
  clearable: ""
688
812
  }, null, 8, ["modelValue"])
689
813
  ]),
690
814
  _: 1
691
- })) : v("", !0)
815
+ })) : y("", !0)
692
816
  ]),
693
817
  _: 1
694
818
  }, 8, ["model"])
@@ -700,7 +824,7 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
700
824
  })
701
825
  ]),
702
826
  _: 1
703
- })) : (i(), p("div", sl, "请从左侧选择一个弹层"))
827
+ })) : (d(), r("div", Dl, "请从左侧选择一个弹层"))
704
828
  ]),
705
829
  _: 1
706
830
  })
@@ -712,7 +836,7 @@ const he = { key: 0 }, el = { class: "dialog-menu-item is-editing" }, ll = { cla
712
836
  }, 8, ["modelValue"]);
713
837
  };
714
838
  }
715
- }, ro = /* @__PURE__ */ Ne(pl, [["__scopeId", "data-v-251346b6"]]);
839
+ }, Bo = /* @__PURE__ */ He(Ul, [["__scopeId", "data-v-8f751b6e"]]);
716
840
  export {
717
- ro as default
841
+ Bo as default
718
842
  };