fec-dev-designer 1.0.5 → 1.1.0

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 (34) hide show
  1. package/es/node_modules/@element-plus/icons-vue/dist/index.js +112 -93
  2. package/es/src/api/index.js +5 -5
  3. package/es/src/components/EventConfigButton.vue.js +2 -2
  4. package/es/src/components/FieldSetMapping.vue.js +211 -0
  5. package/es/src/components/FieldSetMapping.vue2.js +4 -0
  6. package/es/src/components/FormulaEditorInput.vue.js +43 -38
  7. package/es/src/components/JsonDataDrawer.vue.js +1 -1
  8. package/es/src/components/OnlyFLowConfigButton.vue.js +102 -0
  9. package/es/src/components/OnlyFLowConfigButton.vue2.js +4 -0
  10. package/es/src/components/TemplateSelector.vue.js +45 -45
  11. package/es/src/components/ValueSelectorPopover.vue2.js +1 -2
  12. package/es/src/packages/dialog/index.vue.js +718 -0
  13. package/es/src/packages/dialog/index.vue2.js +4 -0
  14. package/es/src/packages/dialog/useDialogDialog.js +15 -0
  15. package/es/src/packages/event/index.vue2.js +1 -1
  16. package/es/src/packages/event/onlyFlow.vue.js +91 -0
  17. package/es/src/packages/event/onlyFlow.vue2.js +4 -0
  18. package/es/src/packages/event/useOnlyFlowDialog.js +15 -0
  19. package/es/src/packages/eventFlow/dialog/action/Dialog.vue.js +48 -0
  20. package/es/src/packages/eventFlow/dialog/action/Page.vue.js +1 -1
  21. package/es/src/packages/eventFlow/dialog/action/config.js +12 -11
  22. package/es/src/packages/form/PageFooterSetting.vue.js +53 -58
  23. package/es/src/packages/form/aside/index.js +3 -1
  24. package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +70 -56
  25. package/es/src/packages/form/default.js +19 -19
  26. package/es/src/packages/form/headerBtn.vue.js +84 -65
  27. package/es/src/packages/form/property/pageFooterBtn.vue.js +39 -39
  28. package/es/src/packages/form/property/widgets.vue.js +339 -261
  29. package/es/src/packages/table/default.js +9 -1
  30. package/es/src/packages/table/headerBtn.vue.js +72 -54
  31. package/es/src/packages/table/tableSetting.vue.js +197 -195
  32. package/es/src/packages/utils/common.js +44 -35
  33. package/es/style.css +1 -1
  34. package/package.json +1 -1
@@ -17,25 +17,26 @@ import "../../../../node_modules/element-plus/theme-chalk/el-date-picker-panel.c
17
17
  import "../../../../node_modules/element-plus/theme-chalk/el-input.css.js";
18
18
  import "../../../../node_modules/element-plus/theme-chalk/el-button.css.js";
19
19
  import "../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js";
20
- import { computed as V, openBlock as t, createElementBlock as u, createBlock as o, createSlots as q, withCtx as r, normalizeProps as d, mergeProps as a, unref as l, createCommentVNode as i, Fragment as D, renderList as k, createTextVNode as h, toDisplayString as y, createElementVNode as v } from "vue";
20
+ import { computed as q, openBlock as t, createElementBlock as d, createBlock as o, createSlots as k, withCtx as a, normalizeProps as u, mergeProps as l, unref as i, createVNode as W, createTextVNode as D, toDisplayString as s, createCommentVNode as c, Fragment as h, renderList as x, createElementVNode as b } from "vue";
21
21
  import "./ComponentPreviewWrapper.vue2.js";
22
- import W from "../../../../_virtual/_plugin-vue_export-helper.js";
23
- import { ElTooltip as B } from "../../../../node_modules/element-plus/es/components/tooltip/index.js";
24
- import { ElInput as I } from "../../../../node_modules/element-plus/es/components/input/index.js";
25
- import { ElDatePicker as L } from "../../../../node_modules/element-plus/es/components/date-picker/index.js";
26
- import { ElSelect as N } from "../../../../node_modules/element-plus/es/components/select/index.js";
27
- import { ElRadio as z, ElRadioGroup as F } from "../../../../node_modules/element-plus/es/components/radio/index.js";
28
- import { ElCheckbox as G, ElCheckboxGroup as O } from "../../../../node_modules/element-plus/es/components/checkbox/index.js";
29
- import { ElSwitch as R } from "../../../../node_modules/element-plus/es/components/switch/index.js";
30
- import { ElDivider as j } from "../../../../node_modules/element-plus/es/components/divider/index.js";
31
- import { ElFormItem as J } from "../../../../node_modules/element-plus/es/components/form/index.js";
32
- const M = { class: "component-preview" }, Z = {
22
+ import I from "../../../../_virtual/_plugin-vue_export-helper.js";
23
+ import { ElTooltip as L } from "../../../../node_modules/element-plus/es/components/tooltip/index.js";
24
+ import { ElButton as z } from "../../../../node_modules/element-plus/es/components/button/index.js";
25
+ import { ElInput as F } from "../../../../node_modules/element-plus/es/components/input/index.js";
26
+ import { ElDatePicker as G } from "../../../../node_modules/element-plus/es/components/date-picker/index.js";
27
+ import { ElSelect as O } from "../../../../node_modules/element-plus/es/components/select/index.js";
28
+ import { ElRadio as R, ElRadioGroup as j } from "../../../../node_modules/element-plus/es/components/radio/index.js";
29
+ import { ElCheckbox as J, ElCheckboxGroup as M } from "../../../../node_modules/element-plus/es/components/checkbox/index.js";
30
+ import { ElSwitch as Z } from "../../../../node_modules/element-plus/es/components/switch/index.js";
31
+ import { ElDivider as A } from "../../../../node_modules/element-plus/es/components/divider/index.js";
32
+ import { ElFormItem as H } from "../../../../node_modules/element-plus/es/components/form/index.js";
33
+ const K = { class: "component-preview" }, Q = {
33
34
  key: 0,
34
35
  class: "iconfont icon-iconZheng credit-icon"
35
- }, A = {
36
+ }, U = {
36
37
  key: 1,
37
38
  class: "iconfont icon-iconJian regulation-icon"
38
- }, H = {
39
+ }, X = {
39
40
  __name: "ComponentPreviewWrapper",
40
41
  props: {
41
42
  componentData: {
@@ -44,7 +45,7 @@ const M = { class: "component-preview" }, Z = {
44
45
  }
45
46
  },
46
47
  setup(e) {
47
- const p = e, n = V(() => ({
48
+ const p = e, n = q(() => ({
48
49
  disabled: p.componentData.disabled,
49
50
  readonly: p.componentData.readOnly,
50
51
  placeholder: p.componentData.placeholder || "",
@@ -52,93 +53,106 @@ const M = { class: "component-preview" }, Z = {
52
53
  maxlength: p.componentData.maxLength,
53
54
  showWordLimit: p.componentData.showWordCount || !1
54
55
  }));
55
- return (K, s) => {
56
- const T = B, f = I, b = L, x = N, g = z, E = F, w = G, C = O, _ = R, P = j, S = J;
57
- return t(), u("div", M, [
56
+ return (Y, y) => {
57
+ const v = L, T = z, f = F, g = G, E = O, w = R, B = j, C = J, N = M, P = Z, V = A, S = H;
58
+ return t(), d("div", K, [
58
59
  e.componentData.fieldType != "blank" ? (t(), o(S, {
59
60
  key: 0,
60
61
  placeholder: e.componentData.placeholder,
61
62
  required: e.componentData.required,
62
63
  class: "preview-form-item"
63
- }, q({
64
- default: r(() => [
65
- e.componentData.fieldType == "text" ? (t(), o(f, d(a({ key: 0 }, l(n))), null, 16)) : e.componentData.fieldType == "textarea" ? (t(), o(f, a({
64
+ }, k({
65
+ default: a(() => [
66
+ e.componentData.fieldType == "text" ? (t(), o(f, u(l({ key: 0 }, i(n))), k({ _: 2 }, [
67
+ e.componentData.suffixButton && e.componentData.suffixButton != "none" ? {
68
+ name: "append",
69
+ fn: a(() => [
70
+ W(T, { class: "suffixButton" }, {
71
+ default: a(() => [
72
+ D(s(e.componentData.suffixButton == "dialog" ? e.componentData.suffixDialogName ? e.componentData.suffixDialogName : "选择" : e.componentData.suffixButtonName), 1)
73
+ ]),
74
+ _: 1
75
+ })
76
+ ]),
77
+ key: "0"
78
+ } : void 0
79
+ ]), 1040)) : e.componentData.fieldType == "textarea" ? (t(), o(f, l({
66
80
  key: 1,
67
81
  rows: 4,
68
82
  type: "textarea"
69
- }, l(n), {
83
+ }, i(n), {
70
84
  resize: "none",
71
85
  style: { height: "100%" }
72
- }), null, 16)) : i("", !0),
73
- e.componentData.fieldType == "number" ? (t(), o(f, a({ key: 2 }, l(n), { controls: !1 }), null, 16)) : e.componentData.fieldType == "date" ? (t(), o(b, a({ key: 3 }, l(n), {
86
+ }), null, 16)) : c("", !0),
87
+ e.componentData.fieldType == "number" ? (t(), o(f, l({ key: 2 }, i(n), { controls: !1 }), null, 16)) : e.componentData.fieldType == "date" ? (t(), o(g, l({ key: 3 }, i(n), {
74
88
  type: "date",
75
89
  style: { width: "100%" }
76
- }), null, 16)) : e.componentData.fieldType == "select" || e.componentData.fieldType == "multipleSelection" || e.componentData.fieldType == "cascader" || e.componentData.fieldType == "area" || e.componentData.fieldType == "industry" ? (t(), o(x, d(a({ key: 4 }, l(n))), null, 16)) : e.componentData.fieldType == "radio" ? (t(), o(E, d(a({ key: 5 }, l(n))), {
77
- default: r(() => {
78
- var c;
90
+ }), null, 16)) : e.componentData.fieldType == "select" || e.componentData.fieldType == "multipleSelection" || e.componentData.fieldType == "cascader" || e.componentData.fieldType == "area" || e.componentData.fieldType == "industry" ? (t(), o(E, u(l({ key: 4 }, i(n))), null, 16)) : e.componentData.fieldType == "radio" ? (t(), o(B, u(l({ key: 5 }, i(n))), {
91
+ default: a(() => {
92
+ var m;
79
93
  return [
80
- (t(!0), u(D, null, k(((c = e.componentData.optionConfig) == null ? void 0 : c.options) || [], (m) => (t(), o(g, {
81
- key: m.value,
82
- value: m.value
94
+ (t(!0), d(h, null, x(((m = e.componentData.optionConfig) == null ? void 0 : m.options) || [], (r) => (t(), o(w, {
95
+ key: r.value,
96
+ value: r.value
83
97
  }, {
84
- default: r(() => [
85
- h(y(m.label), 1)
98
+ default: a(() => [
99
+ D(s(r.label), 1)
86
100
  ]),
87
101
  _: 2
88
102
  }, 1032, ["value"]))), 128))
89
103
  ];
90
104
  }),
91
105
  _: 1
92
- }, 16)) : e.componentData.fieldType == "checkbox" ? (t(), o(C, d(a({ key: 6 }, l(n))), {
93
- default: r(() => {
94
- var c;
106
+ }, 16)) : e.componentData.fieldType == "checkbox" ? (t(), o(N, u(l({ key: 6 }, i(n))), {
107
+ default: a(() => {
108
+ var m;
95
109
  return [
96
- (t(!0), u(D, null, k(((c = e.componentData.optionConfig) == null ? void 0 : c.options) || [], (m) => (t(), o(w, {
97
- key: m.value,
98
- value: m.value
110
+ (t(!0), d(h, null, x(((m = e.componentData.optionConfig) == null ? void 0 : m.options) || [], (r) => (t(), o(C, {
111
+ key: r.value,
112
+ value: r.value
99
113
  }, {
100
- default: r(() => [
101
- h(y(m.label), 1)
114
+ default: a(() => [
115
+ D(s(r.label), 1)
102
116
  ]),
103
117
  _: 2
104
118
  }, 1032, ["value"]))), 128))
105
119
  ];
106
120
  }),
107
121
  _: 1
108
- }, 16)) : i("", !0),
109
- e.componentData.fieldType == "switch" ? (t(), o(_, d(a({ key: 7 }, l(n))), null, 16)) : i("", !0),
110
- e.componentData.fieldType == "upload" ? (t(), o(f, d(a({ key: 8 }, l(n))), null, 16)) : i("", !0),
111
- e.componentData.fieldType == "divider" ? (t(), o(P, { key: 9 })) : i("", !0)
122
+ }, 16)) : c("", !0),
123
+ e.componentData.fieldType == "switch" ? (t(), o(P, u(l({ key: 7 }, i(n))), null, 16)) : c("", !0),
124
+ e.componentData.fieldType == "upload" ? (t(), o(f, u(l({ key: 8 }, i(n))), null, 16)) : c("", !0),
125
+ e.componentData.fieldType == "divider" ? (t(), o(V, { key: 9 })) : c("", !0)
112
126
  ]),
113
127
  _: 2
114
128
  }, [
115
129
  e.componentData.labelMode != "input" ? {
116
130
  name: "label",
117
- fn: r(() => {
118
- var c;
131
+ fn: a(() => {
132
+ var m;
119
133
  return [
120
- e.componentData.credit ? (t(), u("i", Z)) : i("", !0),
121
- e.componentData.regulation ? (t(), u("i", A)) : i("", !0),
122
- v("span", null, y(e.componentData.label), 1),
123
- (c = e.componentData.tooltip) != null && c.trim() ? (t(), o(T, {
134
+ e.componentData.credit ? (t(), d("i", Q)) : c("", !0),
135
+ e.componentData.regulation ? (t(), d("i", U)) : c("", !0),
136
+ b("span", null, s(e.componentData.label), 1),
137
+ (m = e.componentData.tooltip) != null && m.trim() ? (t(), o(v, {
124
138
  key: 2,
125
139
  content: e.componentData.tooltip,
126
140
  placement: "top"
127
141
  }, {
128
- default: r(() => [...s[0] || (s[0] = [
129
- v("i", { class: "iconfont icon-tooltip info-icon" }, null, -1)
142
+ default: a(() => [...y[0] || (y[0] = [
143
+ b("i", { class: "iconfont icon-tooltip info-icon" }, null, -1)
130
144
  ])]),
131
145
  _: 1
132
- }, 8, ["content"])) : i("", !0)
146
+ }, 8, ["content"])) : c("", !0)
133
147
  ];
134
148
  }),
135
149
  key: "0"
136
150
  } : void 0
137
- ]), 1032, ["placeholder", "required"])) : i("", !0)
151
+ ]), 1032, ["placeholder", "required"])) : c("", !0)
138
152
  ]);
139
153
  };
140
154
  }
141
- }, Ce = /* @__PURE__ */ W(H, [["__scopeId", "data-v-4386137a"]]);
155
+ }, Ve = /* @__PURE__ */ I(X, [["__scopeId", "data-v-823b4942"]]);
142
156
  export {
143
- Ce as default
157
+ Ve as default
144
158
  };
@@ -6,25 +6,25 @@ const e = {
6
6
  labelPosition: "right",
7
7
  dataSources: [],
8
8
  linkedConfig: {},
9
- buttonConfig: {
10
- showButtons: !0,
11
- buttons: [
12
- {
13
- id: "btn_save",
14
- text: "保存",
15
- action: "save",
16
- icon: "",
17
- enabled: !0
18
- },
19
- {
20
- id: "btn_cancel",
21
- text: "返回",
22
- action: "cancel",
23
- icon: "",
24
- enabled: !0
25
- }
26
- ]
27
- },
9
+ // buttonConfig: {
10
+ // showButtons: true,
11
+ // buttons: [
12
+ // {
13
+ // id: 'btn_save',
14
+ // text: '保存',
15
+ // action: 'save',
16
+ // icon: '',
17
+ // enabled: true
18
+ // },
19
+ // {
20
+ // id: 'btn_cancel',
21
+ // text: '返回',
22
+ // action: 'cancel',
23
+ // icon: '',
24
+ // enabled: true
25
+ // }
26
+ // ]
27
+ // },
28
28
  pageHeaderConfig: {
29
29
  enabled: !0,
30
30
  canBack: !0,
@@ -1,138 +1,157 @@
1
1
  import "../../../node_modules/element-plus/theme-chalk/base.css.js";
2
- import { ref as u, openBlock as H, createElementBlock as S, createElementVNode as a, unref as e, createVNode as n, withCtx as d, isRef as t } from "vue";
3
- import A from "../event/index.vue2.js";
4
- import J from "../event/pageEvent.vue.js";
5
- import { useDataSourceDialog as I } from "../dataSource/useDataSourceDialog.js";
6
- import { useAdvancedFilterDialog as N } from "../advancedFilter/useAdvancedFilterDialog.js";
7
- import { useDataLinkageDialog as P } from "../dataLinkage/useDataLinkageDialog.js";
8
- import { useJsonDataDrawer as j } from "../../components/useJsonDataDrawer.js";
9
- import M from "./HiddenFieldDialog.vue.js";
10
- import { Connection as R, Management as q, Link as y, Hide as z, Document as G } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
2
+ import { ref as d, openBlock as J, createElementBlock as q, createElementVNode as a, unref as e, createVNode as n, withCtx as u, isRef as t } from "vue";
3
+ import I from "../event/index.vue2.js";
4
+ import N from "../event/pageEvent.vue.js";
5
+ import { useDataSourceDialog as P } from "../dataSource/useDataSourceDialog.js";
6
+ import { useAdvancedFilterDialog as j } from "../advancedFilter/useAdvancedFilterDialog.js";
7
+ import { useDataLinkageDialog as M } from "../dataLinkage/useDataLinkageDialog.js";
8
+ import { useJsonDataDrawer as R } from "../../components/useJsonDataDrawer.js";
9
+ import y from "./HiddenFieldDialog.vue.js";
10
+ import { useDialogDialog as z } from "../dialog/useDialogDialog.js";
11
+ import { Connection as G, Management as K, Link as O, ChatLineSquare as Q, Hide as T, Document as W } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
11
12
  import "./headerBtn.vue2.js";
12
- import K from "../../../_virtual/_plugin-vue_export-helper.js";
13
- import { ElIcon as O } from "../../../node_modules/element-plus/es/components/icon/index.js";
14
- const Q = { class: "header-btns" }, T = {
13
+ import X from "../../../_virtual/_plugin-vue_export-helper.js";
14
+ import { ElIcon as Y } from "../../../node_modules/element-plus/es/components/icon/index.js";
15
+ const Z = { class: "header-btns" }, $ = {
15
16
  __name: "headerBtn",
16
- setup(W) {
17
- const { dataSourceDialogVisible: m, openDataSourceDialog: V, DataSourceDialog: C } = I(), { jsonDataDrawerVisible: f, openJsonDrawer: v, JsonDataDrawer: E } = j(), r = u(!1);
18
- function F() {
19
- r.value = !0;
20
- }
21
- const p = u(!1), s = u(!1);
22
- function U() {
17
+ setup(_) {
18
+ const { dataSourceDialogVisible: m, openDataSourceDialog: v, DataSourceDialog: E } = P(), { jsonDataDrawerVisible: f, openJsonDrawer: b, JsonDataDrawer: F } = R(), s = d(!1);
19
+ function L() {
23
20
  s.value = !0;
24
21
  }
25
- const w = u({
22
+ const p = d(!1), r = d(!1);
23
+ function w() {
24
+ r.value = !0;
25
+ }
26
+ const S = d({
26
27
  operator: "and",
27
28
  conditions: [],
28
29
  groups: []
29
30
  }), {
30
31
  advancedFilterDialogVisible: g,
31
- openAdvancedFilterDialog: X,
32
- AdvancedFilterDialog: L
33
- } = N();
34
- function x(k) {
35
- console.log("advancedConfirm", k);
32
+ openAdvancedFilterDialog: c,
33
+ AdvancedFilterDialog: x
34
+ } = j();
35
+ function B(U) {
36
+ console.log("advancedConfirm", U);
36
37
  }
37
- const { dataLinkageDialogVisible: D, openDataLinkageDialog: b, DataLinkageDialog: B } = P();
38
- return u(!1), (k, l) => {
39
- const i = O;
40
- return H(), S("div", Q, [
38
+ const { dataLinkageDialogVisible: D, openDataLinkageDialog: C, DataLinkageDialog: H } = M();
39
+ d(!1);
40
+ const { dialogDialogVisible: V, openDialogDialog: k, DialogDialog: A } = z();
41
+ return (U, l) => {
42
+ const i = Y;
43
+ return J(), q("div", Z, [
41
44
  a("div", {
42
45
  class: "btn-item",
43
- onClick: l[0] || (l[0] = (...o) => e(V) && e(V)(...o))
46
+ onClick: l[0] || (l[0] = (...o) => e(v) && e(v)(...o))
44
47
  }, [
45
48
  n(i, null, {
46
- default: d(() => [
47
- n(e(R))
49
+ default: u(() => [
50
+ n(e(G))
48
51
  ]),
49
52
  _: 1
50
53
  }),
51
- l[10] || (l[10] = a("span", null, "数据源", -1))
54
+ l[12] || (l[12] = a("span", null, "数据源", -1))
52
55
  ]),
53
- n(e(C), {
56
+ n(e(E), {
54
57
  modelValue: e(m),
55
58
  "onUpdate:modelValue": l[1] || (l[1] = (o) => t(m) ? m.value = o : null)
56
59
  }, null, 8, ["modelValue"]),
57
- n(e(A), {
60
+ n(e(I), {
58
61
  modelValue: e(p),
59
62
  "onUpdate:modelValue": l[2] || (l[2] = (o) => t(p) ? p.value = o : null)
60
63
  }, null, 8, ["modelValue"]),
61
64
  a("div", {
62
65
  class: "btn-item",
63
- onClick: U
66
+ onClick: w
64
67
  }, [
65
68
  n(i, null, {
66
- default: d(() => [
67
- n(e(q))
69
+ default: u(() => [
70
+ n(e(K))
68
71
  ]),
69
72
  _: 1
70
73
  }),
71
- l[11] || (l[11] = a("span", null, "全局事件", -1))
74
+ l[13] || (l[13] = a("span", null, "全局事件", -1))
72
75
  ]),
73
- n(J, {
74
- modelValue: e(s),
75
- "onUpdate:modelValue": l[3] || (l[3] = (o) => t(s) ? s.value = o : null)
76
+ n(N, {
77
+ modelValue: e(r),
78
+ "onUpdate:modelValue": l[3] || (l[3] = (o) => t(r) ? r.value = o : null)
76
79
  }, null, 8, ["modelValue"]),
77
- n(e(L), {
80
+ n(e(x), {
78
81
  modelValue: e(g),
79
82
  "onUpdate:modelValue": l[4] || (l[4] = (o) => t(g) ? g.value = o : null),
80
- filterConfig: e(w),
81
- onConfirm: x,
83
+ filterConfig: e(S),
84
+ onConfirm: B,
82
85
  title: "条件表达式配置"
83
86
  }, null, 8, ["modelValue", "filterConfig"]),
84
87
  a("div", {
85
88
  class: "btn-item",
86
- onClick: l[5] || (l[5] = (...o) => e(b) && e(b)(...o))
89
+ onClick: l[5] || (l[5] = (...o) => e(C) && e(C)(...o))
87
90
  }, [
88
91
  n(i, null, {
89
- default: d(() => [
90
- n(e(y))
92
+ default: u(() => [
93
+ n(e(O))
91
94
  ]),
92
95
  _: 1
93
96
  }),
94
- l[12] || (l[12] = a("span", null, "联动配置", -1))
97
+ l[14] || (l[14] = a("span", null, "联动配置", -1))
95
98
  ]),
96
- n(e(B), {
99
+ n(e(H), {
97
100
  modelValue: e(D),
98
101
  "onUpdate:modelValue": l[6] || (l[6] = (o) => t(D) ? D.value = o : null)
99
102
  }, null, 8, ["modelValue"]),
100
103
  a("div", {
101
104
  class: "btn-item",
102
- onClick: F
105
+ onClick: l[7] || (l[7] = (...o) => e(k) && e(k)(...o))
103
106
  }, [
104
107
  n(i, null, {
105
- default: d(() => [
106
- n(e(z))
108
+ default: u(() => [
109
+ n(e(Q))
107
110
  ]),
108
111
  _: 1
109
112
  }),
110
- l[13] || (l[13] = a("span", null, "隐藏域", -1))
113
+ l[15] || (l[15] = a("span", null, "弹层配置", -1))
111
114
  ]),
112
- n(M, {
113
- modelValue: e(r),
114
- "onUpdate:modelValue": l[7] || (l[7] = (o) => t(r) ? r.value = o : null)
115
+ n(e(A), {
116
+ modelValue: e(V),
117
+ "onUpdate:modelValue": l[8] || (l[8] = (o) => t(V) ? V.value = o : null)
115
118
  }, null, 8, ["modelValue"]),
116
119
  a("div", {
117
120
  class: "btn-item",
118
- onClick: l[8] || (l[8] = (...o) => e(v) && e(v)(...o))
121
+ onClick: L
119
122
  }, [
120
123
  n(i, null, {
121
- default: d(() => [
122
- n(e(G))
124
+ default: u(() => [
125
+ n(e(T))
123
126
  ]),
124
127
  _: 1
125
128
  }),
126
- l[14] || (l[14] = a("span", null, "数据结构", -1))
129
+ l[16] || (l[16] = a("span", null, "隐藏域", -1))
127
130
  ]),
128
- n(e(E), {
131
+ n(y, {
132
+ modelValue: e(s),
133
+ "onUpdate:modelValue": l[9] || (l[9] = (o) => t(s) ? s.value = o : null)
134
+ }, null, 8, ["modelValue"]),
135
+ a("div", {
136
+ class: "btn-item",
137
+ onClick: l[10] || (l[10] = (...o) => e(b) && e(b)(...o))
138
+ }, [
139
+ n(i, null, {
140
+ default: u(() => [
141
+ n(e(W))
142
+ ]),
143
+ _: 1
144
+ }),
145
+ l[17] || (l[17] = a("span", null, "数据结构", -1))
146
+ ]),
147
+ n(e(F), {
129
148
  modelValue: e(f),
130
- "onUpdate:modelValue": l[9] || (l[9] = (o) => t(f) ? f.value = o : null)
149
+ "onUpdate:modelValue": l[11] || (l[11] = (o) => t(f) ? f.value = o : null)
131
150
  }, null, 8, ["modelValue"])
132
151
  ]);
133
152
  };
134
153
  }
135
- }, ul = /* @__PURE__ */ K(T, [["__scopeId", "data-v-34c55001"]]);
154
+ }, pl = /* @__PURE__ */ X($, [["__scopeId", "data-v-90b76c88"]]);
136
155
  export {
137
- ul as default
156
+ pl as default
138
157
  };
@@ -2,34 +2,34 @@ import "../../../../node_modules/element-plus/theme-chalk/base.css.js";
2
2
  import "../../../../node_modules/element-plus/theme-chalk/el-collapse.css.js";
3
3
  import "../../../../node_modules/element-plus/theme-chalk/el-collapse-item.css.js";
4
4
  import "../../../../node_modules/element-plus/theme-chalk/el-form.css.js";
5
+ import "../../../../node_modules/element-plus/theme-chalk/el-input.css.js";
6
+ import "../../../../node_modules/element-plus/theme-chalk/el-form-item.css.js";
5
7
  import "../../../../node_modules/element-plus/theme-chalk/el-tag.css.js";
6
8
  import "../../../../node_modules/element-plus/theme-chalk/el-option.css.js";
7
9
  import "../../../../node_modules/element-plus/theme-chalk/el-option-group.css.js";
8
10
  import "../../../../node_modules/element-plus/theme-chalk/el-scrollbar.css.js";
9
11
  import "../../../../node_modules/element-plus/theme-chalk/el-popper.css.js";
10
12
  import "../../../../node_modules/element-plus/theme-chalk/el-select.css.js";
11
- import "../../../../node_modules/element-plus/theme-chalk/el-form-item.css.js";
12
- import "../../../../node_modules/element-plus/theme-chalk/el-input.css.js";
13
13
  import { computed as V, ref as b, openBlock as v, createBlock as C, unref as l, isRef as E, withCtx as m, createVNode as e } from "vue";
14
14
  import g from "../../../components/EventConfigButton.vue.js";
15
15
  import { getCurrentItem as I } from "../../utils/common.js";
16
- import { ElInput as B } from "../../../../node_modules/element-plus/es/components/input/index.js";
17
- import { ElFormItem as U, ElForm as x } from "../../../../node_modules/element-plus/es/components/form/index.js";
18
- import { ElOption as y, ElSelect as F } from "../../../../node_modules/element-plus/es/components/select/index.js";
19
- import { ElCollapseItem as S, ElCollapse as k } from "../../../../node_modules/element-plus/es/components/collapse/index.js";
16
+ import { ElOption as B, ElSelect as U } from "../../../../node_modules/element-plus/es/components/select/index.js";
17
+ import { ElFormItem as x, ElForm as y } from "../../../../node_modules/element-plus/es/components/form/index.js";
18
+ import { ElInput as F } from "../../../../node_modules/element-plus/es/components/input/index.js";
19
+ import { ElCollapseItem as k, ElCollapse as w } from "../../../../node_modules/element-plus/es/components/collapse/index.js";
20
20
  const Y = {
21
21
  __name: "pageFooterBtn",
22
- setup(w) {
23
- const o = V(() => I()), a = b(["common"]);
24
- function d(p) {
25
- o.value.eventConfig = p;
22
+ setup(N) {
23
+ const o = V(() => I()), p = b(["common"]);
24
+ function d(a) {
25
+ o.value.eventConfig = a;
26
26
  }
27
- return (p, t) => {
28
- const i = B, r = U, u = y, f = F, _ = x, s = S, c = k;
27
+ return (a, t) => {
28
+ const i = B, f = U, r = x, u = F, _ = y, s = k, c = w;
29
29
  return v(), C(c, {
30
30
  class: "setting",
31
- modelValue: l(a),
32
- "onUpdate:modelValue": t[3] || (t[3] = (n) => E(a) ? a.value = n : null)
31
+ modelValue: l(p),
32
+ "onUpdate:modelValue": t[3] || (t[3] = (n) => E(p) ? p.value = n : null)
33
33
  }, {
34
34
  default: m(() => [
35
35
  e(s, {
@@ -43,48 +43,48 @@ const Y = {
43
43
  model: l(o)
44
44
  }, {
45
45
  default: m(() => [
46
+ e(r, { label: "按钮类型" }, {
47
+ default: m(() => [
48
+ e(f, {
49
+ modelValue: l(o).btnType,
50
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => l(o).btnType = n)
51
+ }, {
52
+ default: m(() => [
53
+ e(i, {
54
+ label: "自定义",
55
+ value: "primary"
56
+ }),
57
+ e(i, {
58
+ label: "返回",
59
+ value: "default"
60
+ })
61
+ ]),
62
+ _: 1
63
+ }, 8, ["modelValue"])
64
+ ]),
65
+ _: 1
66
+ }),
46
67
  e(r, {
47
68
  label: "按钮名称",
48
69
  required: ""
49
70
  }, {
50
71
  default: m(() => [
51
- e(i, {
72
+ e(u, {
52
73
  modelValue: l(o).label,
53
- "onUpdate:modelValue": t[0] || (t[0] = (n) => l(o).label = n)
74
+ "onUpdate:modelValue": t[1] || (t[1] = (n) => l(o).label = n)
54
75
  }, null, 8, ["modelValue"])
55
76
  ]),
56
77
  _: 1
57
78
  }),
58
79
  e(r, { label: "权限标识" }, {
59
80
  default: m(() => [
60
- e(i, {
81
+ e(u, {
61
82
  modelValue: l(o).permission,
62
- "onUpdate:modelValue": t[1] || (t[1] = (n) => l(o).permission = n)
83
+ "onUpdate:modelValue": t[2] || (t[2] = (n) => l(o).permission = n)
63
84
  }, null, 8, ["modelValue"])
64
85
  ]),
65
86
  _: 1
66
87
  }),
67
- e(r, { label: "风格" }, {
68
- default: m(() => [
69
- e(f, {
70
- modelValue: l(o).btnStyle,
71
- "onUpdate:modelValue": t[2] || (t[2] = (n) => l(o).btnStyle = n)
72
- }, {
73
- default: m(() => [
74
- e(u, {
75
- label: "默认",
76
- value: "default"
77
- }),
78
- e(u, {
79
- label: "主要",
80
- value: "primary"
81
- })
82
- ]),
83
- _: 1
84
- }, 8, ["modelValue"])
85
- ]),
86
- _: 1
87
- }),
88
88
  e(r, { label: "事件配置" }, {
89
89
  default: m(() => [
90
90
  e(g, {