fec-dev-designer 1.0.4 → 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 (53) hide show
  1. package/es/config-dev.js +7 -5
  2. package/es/node_modules/@element-plus/icons-vue/dist/index.js +126 -92
  3. package/es/node_modules/element-plus/es/components/result/index.js +7 -0
  4. package/es/node_modules/element-plus/es/components/result/src/result.js +34 -0
  5. package/es/node_modules/element-plus/es/components/result/src/result2.js +93 -0
  6. package/es/node_modules/element-plus/theme-chalk/el-result.css.js +4 -0
  7. package/es/src/api/index.js +5 -5
  8. package/es/src/components/EventConfigButton.vue.js +2 -2
  9. package/es/src/components/FieldSetMapping.vue.js +211 -0
  10. package/es/src/components/FieldSetMapping.vue2.js +4 -0
  11. package/es/src/components/FormulaEditorInput.vue.js +43 -38
  12. package/es/src/components/JsonDataDrawer.vue.js +1 -1
  13. package/es/src/components/OnlyFLowConfigButton.vue.js +102 -0
  14. package/es/src/components/OnlyFLowConfigButton.vue2.js +4 -0
  15. package/es/src/components/OptionConfig.vue.js +1 -1
  16. package/es/src/components/TemplateSelector.vue.js +45 -45
  17. package/es/src/components/ValueSelector.vue2.js +30 -24
  18. package/es/src/components/ValueSelectorPopover.vue2.js +1 -1
  19. package/es/src/layout/aside/index.vue.js +64 -60
  20. package/es/src/layout/index.vue.js +91 -54
  21. package/es/src/packages/dataSource/dataSource.vue.js +122 -118
  22. package/es/src/packages/dialog/index.vue.js +718 -0
  23. package/es/src/packages/dialog/index.vue2.js +4 -0
  24. package/es/src/packages/dialog/useDialogDialog.js +15 -0
  25. package/es/src/packages/event/index.vue2.js +1 -1
  26. package/es/src/packages/event/onlyFlow.vue.js +91 -0
  27. package/es/src/packages/event/onlyFlow.vue2.js +4 -0
  28. package/es/src/packages/event/useOnlyFlowDialog.js +15 -0
  29. package/es/src/packages/eventFlow/dialog/action/Dialog.vue.js +48 -0
  30. package/es/src/packages/eventFlow/dialog/action/Page.vue.js +29 -20
  31. package/es/src/packages/eventFlow/dialog/action/config.js +12 -11
  32. package/es/src/packages/form/PageFooterSetting.vue.js +53 -58
  33. package/es/src/packages/form/aside/index.js +20 -4
  34. package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +70 -52
  35. package/es/src/packages/form/default.js +20 -19
  36. package/es/src/packages/form/formSetting.vue.js +72 -50
  37. package/es/src/packages/form/headerBtn.vue.js +84 -65
  38. package/es/src/packages/form/index.vue.js +247 -202
  39. package/es/src/packages/form/property/blank.vue.js +62 -0
  40. package/es/src/packages/form/property/index.vue.js +21 -20
  41. package/es/src/packages/form/property/pageFooterBtn.vue.js +39 -39
  42. package/es/src/packages/form/property/subTable.vue.js +61 -52
  43. package/es/src/packages/form/property/widgets.vue.js +385 -200
  44. package/es/src/packages/table/aside/index.js +1 -0
  45. package/es/src/packages/table/default.js +9 -1
  46. package/es/src/packages/table/headerBtn.vue.js +72 -54
  47. package/es/src/packages/table/property/widgets.vue.js +96 -85
  48. package/es/src/packages/table/queryModule/FixedModeConfig.vue.js +6 -6
  49. package/es/src/packages/table/tablePagination.vue.js +37 -45
  50. package/es/src/packages/table/tableSetting.vue.js +197 -196
  51. package/es/src/packages/utils/common.js +44 -35
  52. package/es/style.css +1 -1
  53. package/package.json +1 -1
@@ -9,6 +9,7 @@ const e = {
9
9
  minWidth: 80,
10
10
  headerAlign: "center",
11
11
  align: "center",
12
+ isOverflowWrap: !0,
12
13
  isShow: !0
13
14
  }, l = [
14
15
  {
@@ -56,13 +56,21 @@ const e = {
56
56
  paginationConfig: {
57
57
  enabled: !0,
58
58
  pageSize: 10,
59
- pageSizes: [10, 20, 50, 100, 200, 500],
59
+ pageSizes: [
60
+ 10,
61
+ 20,
62
+ 50,
63
+ 100,
64
+ 200,
65
+ 500
66
+ ],
60
67
  layout: "full",
61
68
  background: !0,
62
69
  size: "small"
63
70
  },
64
71
  mode: [],
65
72
  dataSources: [],
73
+ dialogs: [],
66
74
  queryConfig: {
67
75
  enabled: !0,
68
76
  mode: "fixed",
@@ -1,5 +1,5 @@
1
1
  import "../../../node_modules/element-plus/theme-chalk/base.css.js";
2
- import { ref as d, resolveComponent as E, openBlock as w, createElementBlock as M, createElementVNode as m, unref as t, createVNode as r, withCtx as l, isRef as n } from "vue";
2
+ import { ref as D, resolveComponent as S, openBlock as U, createElementBlock as x, createElementVNode as r, unref as t, createVNode as l, withCtx as e, isRef as p } from "vue";
3
3
  import "../../../node_modules/element-plus/theme-chalk/el-dialog.css.js";
4
4
  import "../../../node_modules/element-plus/theme-chalk/el-overlay.css.js";
5
5
  import "../../../node_modules/element-plus/theme-chalk/el-button.css.js";
@@ -24,7 +24,7 @@ import "../../../node_modules/element-plus/theme-chalk/el-popover.css.js";
24
24
  import "element-plus";
25
25
  import "../../../node_modules/element-plus/theme-chalk/el-space.css.js";
26
26
  import "../eventFlow/nodes/Add.vue.js";
27
- import x from "../../../_virtual/_plugin-vue_export-helper.js";
27
+ import B from "../../../_virtual/_plugin-vue_export-helper.js";
28
28
  import "../eventFlow/nodes/Node.vue.js";
29
29
  import "../eventFlow/nodes/StartNode.vue.js";
30
30
  import "../eventFlow/nodes/EndNode.vue.js";
@@ -40,7 +40,7 @@ import "../../../node_modules/element-plus/theme-chalk/el-form-item.css.js";
40
40
  import "../../../node_modules/element-plus/theme-chalk/el-radio.css.js";
41
41
  import "../../../node_modules/element-plus/theme-chalk/el-radio-group.css.js";
42
42
  import "../../../node_modules/element-plus/theme-chalk/el-radio-button.css.js";
43
- import { Connection as B, Grid as S, Document as U } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
43
+ import { Connection as J, Grid as q, ChatLineSquare as I, Document as N } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
44
44
  import "../../../node_modules/element-plus/theme-chalk/el-alert.css.js";
45
45
  import "../../store/index.js";
46
46
  import "../../components/ValueSelectorPopover.vue.js";
@@ -51,12 +51,12 @@ import "../../../node_modules/element-plus/theme-chalk/el-option.css.js";
51
51
  import "../../../node_modules/element-plus/theme-chalk/el-option-group.css.js";
52
52
  import "../../../node_modules/element-plus/theme-chalk/el-select.css.js";
53
53
  import "../../../node_modules/element-plus/theme-chalk/el-input-number.css.js";
54
- import { useDataSourceDialog as _ } from "../dataSource/useDataSourceDialog.js";
54
+ import { useDataSourceDialog as P } from "../dataSource/useDataSourceDialog.js";
55
55
  import "../../components/FieldMapping.vue.js";
56
56
  import "../eventFlow/dialog/action/FormSubmit.vue.js";
57
57
  import "../eventFlow/dialog/action/FormSetValue.vue.js";
58
58
  import "../eventFlow/dialog/action/TableRefresh.vue.js";
59
- import { useAdvancedFilterDialog as c } from "../advancedFilter/useAdvancedFilterDialog.js";
59
+ import { useAdvancedFilterDialog as _ } from "../advancedFilter/useAdvancedFilterDialog.js";
60
60
  import "../../components/ConditionConfigButton.vue.js";
61
61
  import "../eventFlow/dialog/action/index.vue.js";
62
62
  import "../../../node_modules/element-plus/theme-chalk/el-row.css.js";
@@ -78,95 +78,113 @@ import "../advancedFilter/AdvancedFilter.vue.js";
78
78
  import "../eventFlow/dialog/execution/index.vue.js";
79
79
  import "../eventFlow/eventFlow.vue.js";
80
80
  import "../event/index.vue.js";
81
- import J from "../event/pageEvent.vue.js";
82
- import { useModeDialog as I } from "../mode/useModeDialog.js";
83
- import { useJsonDataDrawer as N } from "../../components/useJsonDataDrawer.js";
81
+ import j from "../event/pageEvent.vue.js";
82
+ import { useModeDialog as A } from "../mode/useModeDialog.js";
83
+ import { useJsonDataDrawer as F } from "../../components/useJsonDataDrawer.js";
84
+ import { useDialogDialog as G } from "../dialog/useDialogDialog.js";
84
85
  import "./headerBtn.vue2.js";
85
- import { ElIcon as P } from "../../../node_modules/element-plus/es/components/icon/index.js";
86
- const j = { class: "header-btns" }, A = {
86
+ import { ElIcon as H } from "../../../node_modules/element-plus/es/components/icon/index.js";
87
+ const L = { class: "header-btns" }, R = {
87
88
  __name: "headerBtn",
88
- setup(F) {
89
- const { dataSourceDialogVisible: a, openDataSourceDialog: f, DataSourceDialog: V } = _(), { jsonDataDrawerVisible: u, openJsonDrawer: D, JsonDataDrawer: v } = N();
90
- d(!1), d({
89
+ setup(y) {
90
+ const { dataSourceDialogVisible: a, openDataSourceDialog: f, DataSourceDialog: b } = P(), { jsonDataDrawerVisible: u, openJsonDrawer: g, JsonDataDrawer: C } = F();
91
+ D(!1), D({
91
92
  operator: "and",
92
93
  conditions: [],
93
94
  groups: []
94
- }), c();
95
- const { modeDialogVisible: s, openModeDialog: g, ModeDialog: b } = I(), p = d(!1);
96
- function C() {
97
- p.value = !0;
95
+ }), _();
96
+ const { modeDialogVisible: s, openModeDialog: V, ModeDialog: k } = A(), n = D(!1);
97
+ function E() {
98
+ n.value = !0;
98
99
  }
99
- return (G, o) => {
100
- const e = P, k = E("Management");
101
- return w(), M("div", j, [
102
- m("div", {
100
+ const { dialogDialogVisible: d, openDialogDialog: v, DialogDialog: w } = G();
101
+ return (z, o) => {
102
+ const m = H, M = S("Management");
103
+ return U(), x("div", L, [
104
+ r("div", {
103
105
  class: "btn-item",
104
106
  onClick: o[0] || (o[0] = (...i) => t(f) && t(f)(...i))
105
107
  }, [
106
- r(e, null, {
107
- default: l(() => [
108
- r(t(B))
108
+ l(m, null, {
109
+ default: e(() => [
110
+ l(t(J))
109
111
  ]),
110
112
  _: 1
111
113
  }),
112
- o[7] || (o[7] = m("span", null, "数据源", -1))
114
+ o[9] || (o[9] = r("span", null, "数据源", -1))
113
115
  ]),
114
- r(t(V), {
116
+ l(t(b), {
115
117
  modelValue: t(a),
116
- "onUpdate:modelValue": o[1] || (o[1] = (i) => n(a) ? a.value = i : null)
118
+ "onUpdate:modelValue": o[1] || (o[1] = (i) => p(a) ? a.value = i : null)
117
119
  }, null, 8, ["modelValue"]),
118
- m("div", {
120
+ r("div", {
119
121
  class: "btn-item",
120
- onClick: C
122
+ onClick: E
121
123
  }, [
122
- r(e, null, {
123
- default: l(() => [
124
- r(k)
124
+ l(m, null, {
125
+ default: e(() => [
126
+ l(M)
125
127
  ]),
126
128
  _: 1
127
129
  }),
128
- o[8] || (o[8] = m("span", null, "全局事件", -1))
130
+ o[10] || (o[10] = r("span", null, "全局事件", -1))
129
131
  ]),
130
- r(J, {
131
- modelValue: t(p),
132
- "onUpdate:modelValue": o[2] || (o[2] = (i) => n(p) ? p.value = i : null)
132
+ l(j, {
133
+ modelValue: t(n),
134
+ "onUpdate:modelValue": o[2] || (o[2] = (i) => p(n) ? n.value = i : null)
133
135
  }, null, 8, ["modelValue"]),
134
- m("div", {
136
+ r("div", {
135
137
  class: "btn-item",
136
- onClick: o[3] || (o[3] = (...i) => t(g) && t(g)(...i))
138
+ onClick: o[3] || (o[3] = (...i) => t(V) && t(V)(...i))
137
139
  }, [
138
- r(e, null, {
139
- default: l(() => [
140
- r(t(S))
140
+ l(m, null, {
141
+ default: e(() => [
142
+ l(t(q))
141
143
  ]),
142
144
  _: 1
143
145
  }),
144
- o[9] || (o[9] = m("span", null, "列表模式", -1))
146
+ o[11] || (o[11] = r("span", null, "列表模式", -1))
145
147
  ]),
146
- r(t(b), {
148
+ l(t(k), {
147
149
  modelValue: t(s),
148
- "onUpdate:modelValue": o[4] || (o[4] = (i) => n(s) ? s.value = i : null)
150
+ "onUpdate:modelValue": o[4] || (o[4] = (i) => p(s) ? s.value = i : null)
149
151
  }, null, 8, ["modelValue"]),
150
- m("div", {
152
+ r("div", {
151
153
  class: "btn-item",
152
- onClick: o[5] || (o[5] = (...i) => t(D) && t(D)(...i))
154
+ onClick: o[5] || (o[5] = (...i) => t(v) && t(v)(...i))
153
155
  }, [
154
- r(e, null, {
155
- default: l(() => [
156
- r(t(U))
156
+ l(m, null, {
157
+ default: e(() => [
158
+ l(t(I))
157
159
  ]),
158
160
  _: 1
159
161
  }),
160
- o[10] || (o[10] = m("span", null, "数据结构", -1))
162
+ o[12] || (o[12] = r("span", null, "弹层配置", -1))
161
163
  ]),
162
- r(t(v), {
164
+ l(t(w), {
165
+ modelValue: t(d),
166
+ "onUpdate:modelValue": o[6] || (o[6] = (i) => p(d) ? d.value = i : null)
167
+ }, null, 8, ["modelValue"]),
168
+ r("div", {
169
+ class: "btn-item",
170
+ onClick: o[7] || (o[7] = (...i) => t(g) && t(g)(...i))
171
+ }, [
172
+ l(m, null, {
173
+ default: e(() => [
174
+ l(t(N))
175
+ ]),
176
+ _: 1
177
+ }),
178
+ o[13] || (o[13] = r("span", null, "数据结构", -1))
179
+ ]),
180
+ l(t(C), {
163
181
  modelValue: t(u),
164
- "onUpdate:modelValue": o[6] || (o[6] = (i) => n(u) ? u.value = i : null)
182
+ "onUpdate:modelValue": o[8] || (o[8] = (i) => p(u) ? u.value = i : null)
165
183
  }, null, 8, ["modelValue"])
166
184
  ]);
167
185
  };
168
186
  }
169
- }, Vt = /* @__PURE__ */ x(A, [["__scopeId", "data-v-9e22c5c2"]]);
187
+ }, wt = /* @__PURE__ */ B(R, [["__scopeId", "data-v-814e0033"]]);
170
188
  export {
171
- Vt as default
189
+ wt as default
172
190
  };