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
@@ -3,17 +3,17 @@ import "../../../node_modules/element-plus/theme-chalk/el-aside.css.js";
3
3
  import "../../../node_modules/element-plus/theme-chalk/el-badge.css.js";
4
4
  import "../../../node_modules/element-plus/theme-chalk/el-collapse.css.js";
5
5
  import "../../../node_modules/element-plus/theme-chalk/el-collapse-item.css.js";
6
- import { computed as u, ref as g, openBlock as s, createBlock as c, withCtx as a, createElementVNode as l, createVNode as n, createElementBlock as r, Fragment as E, renderList as k, unref as d, toDisplayString as b, createCommentVNode as p } from "vue";
6
+ import { computed as m, ref as v, openBlock as s, createBlock as u, withCtx as a, createElementVNode as l, createVNode as n, createElementBlock as c, Fragment as D, renderList as E, unref as r, toDisplayString as g, createCommentVNode as b } from "vue";
7
7
  import x from "../../packages/utils/eventBus.js";
8
8
  import { VueDraggable as $ } from "../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js";
9
9
  import { Calendar as j, DeleteFilled as q, Hide as z } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
10
10
  import { getEditConfigData as C, setSelectedItem as G } from "../../packages/utils/common.js";
11
11
  import J from "../../packages/table/aside/index.js";
12
12
  import K from "../../packages/form/aside/index.js";
13
- import O from "../../packages/form/fieldRecycleBin.vue.js";
14
- import P from "../../packages/form/HiddenFieldDialog.vue.js";
13
+ import O from "./fieldRecycleBin.vue.js";
14
+ import P from "./HiddenFieldDialog.vue.js";
15
15
  import { throttle as Q } from "../../../node_modules/@vexip-ui/utils/dist/index.js";
16
- import m from "../../store/index.js";
16
+ import d from "../../store/index.js";
17
17
  import "./index.vue2.js";
18
18
  import W from "../../../_virtual/_plugin-vue_export-helper.js";
19
19
  import { ElIcon as X } from "../../../node_modules/element-plus/es/components/icon/index.js";
@@ -23,26 +23,23 @@ import { ElAside as te } from "../../../node_modules/element-plus/es/components/
23
23
  const oe = { class: "dev-designer-aside" }, le = { class: "components-item" }, ne = { class: "menu-components-item" }, se = { class: "components-item-label" }, ae = {
24
24
  key: 0,
25
25
  class: "table-item"
26
- }, ie = { class: "widgets" }, re = { class: "field-label" }, de = {
27
- key: 0,
28
- class: "aside-footer"
29
- }, me = {
26
+ }, ie = { class: "widgets" }, re = { class: "field-label" }, de = { class: "aside-footer" }, me = {
30
27
  __name: "index",
31
28
  emits: ["onFormDragMove"],
32
- setup(ue, { emit: B }) {
33
- const T = B, w = u(() => {
34
- switch (m.getters.editingType) {
29
+ setup(ue, { emit: k }) {
30
+ const B = k, T = m(() => {
31
+ switch (d.getters.editingType) {
35
32
  case "table":
36
33
  return J;
37
34
  case "form":
38
35
  return K;
39
36
  }
40
37
  return null;
41
- }), V = u(() => m.getters.editingType), y = g(["basic", "advanced"]), f = g(!1), _ = g(!1), F = u(() => {
38
+ }), w = m(() => d.getters.editingType), V = v(["basic", "advanced"]), p = v(!1), f = v(!1), y = m(() => {
42
39
  var e;
43
40
  const t = C();
44
41
  return ((e = t == null ? void 0 : t.deletedFields) == null ? void 0 : e.length) || 0;
45
- }), h = u(() => {
42
+ }), F = m(() => {
46
43
  var e;
47
44
  const t = C();
48
45
  return ((e = t == null ? void 0 : t.hiddenFields) == null ? void 0 : e.length) || 0;
@@ -55,34 +52,34 @@ const oe = { class: "dev-designer-aside" }, le = { class: "components-item" }, n
55
52
  };
56
53
  }
57
54
  function N(t) {
58
- G(t.clonedData), m.getters.editingType == "form" && x.emit("onFormDragEnd", t);
55
+ G(t.clonedData), d.getters.editingType == "form" && x.emit("onFormDragEnd", t);
59
56
  }
60
- const S = Q((t) => (m.getters.editingType == "form" && T("onFormDragMove", t), !0), 50);
57
+ const S = Q((t) => (d.getters.editingType == "form" && B("onFormDragMove", t), !0), 50);
61
58
  function U(t) {
62
- m.getters.editingType == "form" && x.emit("onFormDragStart", t);
59
+ d.getters.editingType == "form" && x.emit("onFormDragStart", t);
63
60
  }
64
61
  function I() {
65
- f.value = !0;
62
+ p.value = !0;
66
63
  }
67
64
  function A() {
68
- _.value = !0;
65
+ f.value = !0;
69
66
  }
70
67
  return (t, e) => {
71
- const v = X, H = Y, L = Z, D = ee, R = te;
72
- return s(), c(R, { class: "root-aside" }, {
68
+ const _ = X, H = Y, L = Z, h = ee, R = te;
69
+ return s(), u(R, { class: "root-aside" }, {
73
70
  default: a(() => [
74
71
  l("div", oe, [
75
72
  n(L, {
76
- modelValue: y.value,
77
- "onUpdate:modelValue": e[0] || (e[0] = (o) => y.value = o)
73
+ modelValue: V.value,
74
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => V.value = o)
78
75
  }, {
79
76
  default: a(() => [
80
- (s(!0), r(E, null, k(w.value, (o) => (s(), c(H, {
77
+ (s(!0), c(D, null, E(T.value, (o) => (s(), u(H, {
81
78
  title: o.title,
82
79
  name: o.name
83
80
  }, {
84
81
  default: a(() => [
85
- n(d($), {
82
+ n(r($), {
86
83
  modelValue: o.children,
87
84
  "onUpdate:modelValue": (i) => o.children = i,
88
85
  animation: 150,
@@ -90,26 +87,26 @@ const oe = { class: "dev-designer-aside" }, le = { class: "components-item" }, n
90
87
  group: { name: "dev", pull: "clone", put: !1 },
91
88
  clone: M,
92
89
  onEnd: N,
93
- onMove: d(S),
90
+ onMove: r(S),
94
91
  onStart: U,
95
92
  sort: !1,
96
93
  class: "components-list"
97
94
  }, {
98
95
  default: a(() => [
99
- (s(!0), r(E, null, k(o.children, (i) => (s(), r("div", le, [
96
+ (s(!0), c(D, null, E(o.children, (i) => (s(), c("div", le, [
100
97
  l("div", ne, [
101
- n(v, { class: "components-item-icon" }, {
98
+ n(_, { class: "components-item-icon" }, {
102
99
  default: a(() => [
103
- n(d(j))
100
+ n(r(j))
104
101
  ]),
105
102
  _: 1
106
103
  }),
107
- l("span", se, b(i.label), 1)
104
+ l("span", se, g(i.label), 1)
108
105
  ]),
109
- V.value == "table" ? (s(), r("div", ae, [
110
- l("div", ie, b(i.label), 1),
111
- l("div", re, b(i.fieldName), 1)
112
- ])) : p("", !0)
106
+ w.value == "table" ? (s(), c("div", ae, [
107
+ l("div", ie, g(i.label), 1),
108
+ l("div", re, g(i.fieldName), 1)
109
+ ])) : b("", !0)
113
110
  ]))), 256))
114
111
  ]),
115
112
  _: 2
@@ -121,59 +118,59 @@ const oe = { class: "dev-designer-aside" }, le = { class: "components-item" }, n
121
118
  _: 1
122
119
  }, 8, ["modelValue"])
123
120
  ]),
124
- V.value == "form" ? (s(), r("div", de, [
121
+ l("div", de, [
125
122
  l("div", {
126
123
  class: "footer-btn recycle-btn",
127
124
  onClick: I
128
125
  }, [
129
- n(v, { class: "btn-icon" }, {
126
+ n(_, { class: "btn-icon" }, {
130
127
  default: a(() => [
131
- n(d(q))
128
+ n(r(q))
132
129
  ]),
133
130
  _: 1
134
131
  }),
135
132
  e[3] || (e[3] = l("span", { class: "btn-text" }, "字段回收站", -1)),
136
- F.value > 0 ? (s(), c(D, {
133
+ y.value > 0 ? (s(), u(h, {
137
134
  key: 0,
138
- value: F.value,
135
+ value: y.value,
139
136
  max: 99,
140
137
  class: "btn-badge"
141
- }, null, 8, ["value"])) : p("", !0)
138
+ }, null, 8, ["value"])) : b("", !0)
142
139
  ]),
143
140
  e[5] || (e[5] = l("div", { class: "footer-divider" }, null, -1)),
144
141
  l("div", {
145
142
  class: "footer-btn hidden-field-btn",
146
143
  onClick: A
147
144
  }, [
148
- n(v, { class: "btn-icon" }, {
145
+ n(_, { class: "btn-icon" }, {
149
146
  default: a(() => [
150
- n(d(z))
147
+ n(r(z))
151
148
  ]),
152
149
  _: 1
153
150
  }),
154
151
  e[4] || (e[4] = l("span", { class: "btn-text" }, "隐藏域", -1)),
155
- h.value > 0 ? (s(), c(D, {
152
+ F.value > 0 ? (s(), u(h, {
156
153
  key: 0,
157
- value: h.value,
154
+ value: F.value,
158
155
  max: 99,
159
156
  class: "btn-badge"
160
- }, null, 8, ["value"])) : p("", !0)
157
+ }, null, 8, ["value"])) : b("", !0)
161
158
  ])
162
- ])) : p("", !0),
159
+ ]),
163
160
  n(O, {
164
- modelValue: f.value,
165
- "onUpdate:modelValue": e[1] || (e[1] = (o) => f.value = o)
161
+ modelValue: p.value,
162
+ "onUpdate:modelValue": e[1] || (e[1] = (o) => p.value = o)
166
163
  }, null, 8, ["modelValue"]),
167
164
  n(P, {
168
- modelValue: _.value,
169
- "onUpdate:modelValue": e[2] || (e[2] = (o) => _.value = o)
165
+ modelValue: f.value,
166
+ "onUpdate:modelValue": e[2] || (e[2] = (o) => f.value = o)
170
167
  }, null, 8, ["modelValue"])
171
168
  ]),
172
169
  _: 1
173
170
  });
174
171
  };
175
172
  }
176
- }, Ue = /* @__PURE__ */ W(me, [["__scopeId", "data-v-8edf3b11"]]);
173
+ }, Ue = /* @__PURE__ */ W(me, [["__scopeId", "data-v-fa48b88f"]]);
177
174
  export {
178
175
  Ue as default
179
176
  };
@@ -6,37 +6,39 @@ import "../../../node_modules/element-plus/theme-chalk/el-button.css.js";
6
6
  import "../../../node_modules/element-plus/theme-chalk/el-form.css.js";
7
7
  import "../../../node_modules/element-plus/theme-chalk/el-form-item.css.js";
8
8
  import "../../../node_modules/element-plus/theme-chalk/el-input.css.js";
9
- import { computed as _, ref as g, reactive as F, openBlock as v, createBlock as y, withCtx as a, createElementVNode as r, createVNode as t, unref as m, toDisplayString as D, resolveDynamicComponent as I, isRef as h, createTextVNode as N } from "vue";
10
- import { UploadFilled as U, Edit as H } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
11
- import { ElMessage as R } from "element-plus";
12
- import T from "../../packages/table/headerBtn.vue.js";
13
- import q from "../../packages/form/headerBtn.vue.js";
14
- import { getEditConfigData as S } from "../../packages/utils/common.js";
15
- import z from "../../api/index.js";
16
- import J from "../../store/index.js";
9
+ import { computed as g, ref as v, reactive as I, openBlock as y, createBlock as D, withCtx as m, createElementVNode as o, toDisplayString as f, unref as r, createVNode as t, resolveDynamicComponent as U, isRef as H, createTextVNode as N } from "vue";
10
+ import R from "../../assets/logo.png.js";
11
+ import { UploadFilled as T, Edit as h } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
12
+ import { ElMessage as q } from "element-plus";
13
+ import J from "../../packages/table/headerBtn.vue.js";
14
+ import S from "../../packages/form/headerBtn.vue.js";
15
+ import { getEditConfigData as z } from "../../packages/utils/common.js";
16
+ import M from "../../api/index.js";
17
+ import O from "../../store/index.js";
18
+ import $ from "../../../package.json.js";
17
19
  import "./index.vue2.js";
18
- import { ElIcon as M } from "../../../node_modules/element-plus/es/components/icon/index.js";
19
- import { ElInput as O } from "../../../node_modules/element-plus/es/components/input/index.js";
20
- import { ElFormItem as $, ElForm as j } from "../../../node_modules/element-plus/es/components/form/index.js";
21
- import { ElButton as A } from "../../../node_modules/element-plus/es/components/button/index.js";
22
- import { ElDialog as G } from "../../../node_modules/element-plus/es/components/dialog/index.js";
23
- import { ElHeader as L } from "../../../node_modules/element-plus/es/components/container/index.js";
24
- const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "title-row" }, X = { class: "template-name" }, Y = { class: "template-key" }, Z = { class: "opt-btn-content" }, ee = { class: "dialog-footer" }, xe = {
20
+ import { ElIcon as j } from "../../../node_modules/element-plus/es/components/icon/index.js";
21
+ import { ElInput as A } from "../../../node_modules/element-plus/es/components/input/index.js";
22
+ import { ElFormItem as G, ElForm as L } from "../../../node_modules/element-plus/es/components/form/index.js";
23
+ import { ElButton as P } from "../../../node_modules/element-plus/es/components/button/index.js";
24
+ import { ElDialog as Q } from "../../../node_modules/element-plus/es/components/dialog/index.js";
25
+ import { ElHeader as W } from "../../../node_modules/element-plus/es/components/container/index.js";
26
+ const X = { class: "dev-title" }, Y = { class: "logo" }, Z = { class: "version" }, ee = { class: "header-title" }, te = { class: "title-row" }, le = { class: "template-name" }, oe = { class: "template-key" }, ae = { class: "opt-btn-content" }, me = { class: "dialog-footer" }, Ue = {
25
27
  __name: "index",
26
- setup(te) {
27
- const V = _(() => {
28
- switch (J.getters.editingType) {
28
+ setup(re) {
29
+ const V = g(() => {
30
+ switch (O.getters.editingType) {
29
31
  case "table":
30
- return T;
32
+ return J;
31
33
  case "form":
32
- return q;
34
+ return S;
33
35
  }
34
36
  return null;
35
- }), b = _(() => S()), s = () => b.value || {}, p = g(!1), f = g(null), l = F({
37
+ }), b = g(() => z()), E = $.version, p = () => b.value || {}, i = v(!1), c = v(null), l = I({
36
38
  templateName: "",
37
39
  templateKey: "",
38
40
  templateDesc: ""
39
- }), E = {
41
+ }), K = {
40
42
  templateKey: [{ required: !0, message: "请输入模板标识", trigger: "blur" }],
41
43
  templateName: [
42
44
  { required: !0, message: "请输入模板名称", trigger: "blur" }
@@ -45,70 +47,79 @@ const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "t
45
47
  { max: 200, message: "长度不能超过 200 个字符", trigger: "blur" }
46
48
  ]
47
49
  };
48
- function K() {
49
- const o = s();
50
- l.templateName = o.templateName || "", l.templateKey = o.templateKey || "", l.templateDesc = o.templateDesc || "", p.value = !0;
50
+ function k() {
51
+ const a = p();
52
+ l.templateName = a.templateName || "", l.templateKey = a.templateKey || "", l.templateDesc = a.templateDesc || "", i.value = !0;
51
53
  }
52
54
  function x() {
53
- var o;
54
- (o = f.value) == null || o.validate((e) => {
55
+ var a;
56
+ (a = c.value) == null || a.validate((e) => {
55
57
  if (e) {
56
- const i = s();
57
- i.templateName = l.templateName, i.templateKey = l.templateKey, i.templateDesc = l.templateDesc, p.value = !1;
58
+ const n = p();
59
+ n.templateName = l.templateName, n.templateKey = l.templateKey, n.templateDesc = l.templateDesc, i.value = !1;
58
60
  } else
59
61
  return !1;
60
62
  });
61
63
  }
62
- function k() {
63
- const o = s(), e = {
64
- pkId: o.pkId,
65
- templateKey: o.templateKey,
66
- templateName: o.templateName,
67
- context: JSON.stringify(o)
64
+ function w() {
65
+ const a = p(), e = {
66
+ pkId: a.pkId,
67
+ templateKey: a.templateKey,
68
+ templateName: a.templateName,
69
+ context: JSON.stringify(a)
68
70
  };
69
- z.updateById(e).then(() => {
70
- R.success("保存成功");
71
+ M.updateById(e).then(() => {
72
+ q.success("保存成功");
71
73
  });
72
74
  }
73
- return (o, e) => {
74
- const i = M, d = O, u = $, w = j, c = A, C = G, B = L;
75
- return v(), y(B, { class: "dev-root-header" }, {
76
- default: a(() => [
77
- r("div", P, [
78
- r("div", {
75
+ return (a, e) => {
76
+ const n = j, d = A, u = G, C = L, _ = P, B = Q, F = W;
77
+ return y(), D(F, { class: "dev-root-header" }, {
78
+ default: m(() => [
79
+ o("div", X, [
80
+ o("div", Y, [
81
+ e[5] || (e[5] = o("img", {
82
+ src: R,
83
+ alt: "logo",
84
+ class: "logo-img"
85
+ }, null, -1)),
86
+ e[6] || (e[6] = o("div", { class: "title" }, "表单设计器", -1)),
87
+ o("div", Z, "v" + f(r(E)), 1)
88
+ ]),
89
+ o("div", {
79
90
  class: "btn-item",
80
- onClick: k
91
+ onClick: w
81
92
  }, [
82
- t(i, null, {
83
- default: a(() => [
84
- t(m(U))
93
+ t(n, null, {
94
+ default: m(() => [
95
+ t(r(T))
85
96
  ]),
86
97
  _: 1
87
98
  }),
88
- e[5] || (e[5] = r("span", null, "保存", -1))
99
+ e[7] || (e[7] = o("span", null, "保存", -1))
89
100
  ])
90
101
  ]),
91
- r("div", Q, [
92
- r("div", W, [
93
- r("div", X, D(s().templateName), 1),
94
- t(i, {
102
+ o("div", ee, [
103
+ o("div", te, [
104
+ o("div", le, f(p().templateName), 1),
105
+ t(n, {
95
106
  class: "edit-icon",
96
- onClick: K
107
+ onClick: k
97
108
  }, {
98
- default: a(() => [
99
- t(m(H))
109
+ default: m(() => [
110
+ t(r(h))
100
111
  ]),
101
112
  _: 1
102
113
  })
103
114
  ]),
104
- r("div", Y, D(s().templateKey), 1)
115
+ o("div", oe, f(p().templateKey), 1)
105
116
  ]),
106
- r("div", Z, [
107
- (v(), y(I(V.value)))
117
+ o("div", ae, [
118
+ (y(), D(U(V.value)))
108
119
  ]),
109
- t(C, {
110
- modelValue: m(p),
111
- "onUpdate:modelValue": e[4] || (e[4] = (n) => h(p) ? p.value = n : null),
120
+ t(B, {
121
+ modelValue: r(i),
122
+ "onUpdate:modelValue": e[4] || (e[4] = (s) => H(i) ? i.value = s : null),
112
123
  title: "编辑模板信息",
113
124
  width: "500px",
114
125
  draggable: "",
@@ -116,44 +127,44 @@ const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "t
116
127
  "append-to-body": "",
117
128
  class: "fec-dev-designer-dialog"
118
129
  }, {
119
- footer: a(() => [
120
- r("div", ee, [
121
- t(c, {
122
- onClick: e[3] || (e[3] = (n) => p.value = !1)
130
+ footer: m(() => [
131
+ o("div", me, [
132
+ t(_, {
133
+ onClick: e[3] || (e[3] = (s) => i.value = !1)
123
134
  }, {
124
- default: a(() => [...e[6] || (e[6] = [
135
+ default: m(() => [...e[8] || (e[8] = [
125
136
  N("取消", -1)
126
137
  ])]),
127
138
  _: 1
128
139
  }),
129
- t(c, {
140
+ t(_, {
130
141
  type: "primary",
131
142
  onClick: x
132
143
  }, {
133
- default: a(() => [...e[7] || (e[7] = [
144
+ default: m(() => [...e[9] || (e[9] = [
134
145
  N("确定", -1)
135
146
  ])]),
136
147
  _: 1
137
148
  })
138
149
  ])
139
150
  ]),
140
- default: a(() => [
141
- t(w, {
142
- model: m(l),
143
- rules: E,
151
+ default: m(() => [
152
+ t(C, {
153
+ model: r(l),
154
+ rules: K,
144
155
  ref_key: "editFormRef",
145
- ref: f,
156
+ ref: c,
146
157
  "label-width": "100px"
147
158
  }, {
148
- default: a(() => [
159
+ default: m(() => [
149
160
  t(u, {
150
161
  label: "模板标识",
151
162
  prop: "templateKey"
152
163
  }, {
153
- default: a(() => [
164
+ default: m(() => [
154
165
  t(d, {
155
- modelValue: m(l).templateKey,
156
- "onUpdate:modelValue": e[0] || (e[0] = (n) => m(l).templateKey = n),
166
+ modelValue: r(l).templateKey,
167
+ "onUpdate:modelValue": e[0] || (e[0] = (s) => r(l).templateKey = s),
157
168
  placeholder: "请输入模板标识"
158
169
  }, null, 8, ["modelValue"])
159
170
  ]),
@@ -163,10 +174,10 @@ const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "t
163
174
  label: "模板名称",
164
175
  prop: "templateName"
165
176
  }, {
166
- default: a(() => [
177
+ default: m(() => [
167
178
  t(d, {
168
- modelValue: m(l).templateName,
169
- "onUpdate:modelValue": e[1] || (e[1] = (n) => m(l).templateName = n),
179
+ modelValue: r(l).templateName,
180
+ "onUpdate:modelValue": e[1] || (e[1] = (s) => r(l).templateName = s),
170
181
  placeholder: "请输入模板名称"
171
182
  }, null, 8, ["modelValue"])
172
183
  ]),
@@ -176,10 +187,10 @@ const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "t
176
187
  label: "模板描述",
177
188
  prop: "templateDesc"
178
189
  }, {
179
- default: a(() => [
190
+ default: m(() => [
180
191
  t(d, {
181
- modelValue: m(l).templateDesc,
182
- "onUpdate:modelValue": e[2] || (e[2] = (n) => m(l).templateDesc = n),
192
+ modelValue: r(l).templateDesc,
193
+ "onUpdate:modelValue": e[2] || (e[2] = (s) => r(l).templateDesc = s),
183
194
  type: "textarea",
184
195
  rows: 4,
185
196
  placeholder: "请输入模板描述",
@@ -203,5 +214,5 @@ const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "t
203
214
  }
204
215
  };
205
216
  export {
206
- xe as default
217
+ Ue as default
207
218
  };