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
@@ -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
  };