epic-designer-gold 1.0.5 → 1.0.7

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 (158) hide show
  1. package/dist/ETable-adkZzXhI.cjs +1 -0
  2. package/dist/ETable-ogvH56w7.js +50 -0
  3. package/dist/ETd-BCM7zA8V.cjs +1 -0
  4. package/dist/{row-DAy14ve9.js → ETd-CRUvOVnZ.js} +13 -13
  5. package/dist/ETr-BqGghav2.cjs +1 -0
  6. package/dist/ETr-nIjGkdzO.js +43 -0
  7. package/dist/attributeView-BCjRZKcy.cjs +1 -0
  8. package/dist/{attributeView-Cu_tjo9A.js → attributeView-CcnkUeu9.js} +7 -7
  9. package/dist/axios-CXDYiOMX.js +1704 -0
  10. package/dist/axios-tuVKNgv9.cjs +6 -0
  11. package/dist/card-C9ua0f7r.cjs +1 -0
  12. package/dist/card-CI6L3YKU.js +33 -0
  13. package/dist/cell-AML-qIH9.cjs +1 -0
  14. package/dist/cell-B_q5hgzb.js +35 -0
  15. package/dist/col-C4lVVBzC.cjs +1 -0
  16. package/dist/col-DcVPBKEc.js +31 -0
  17. package/dist/core/components/builder/src/builder.vue.d.ts +2 -2
  18. package/dist/core/components/designer/src/modules/attributeView/eventView.vue.d.ts +2 -0
  19. package/dist/core/components/node/src/node.vue.d.ts +3 -2
  20. package/dist/core/extensions/EColumnEditor/columnItem.vue.d.ts +10 -0
  21. package/dist/core/extensions/EColumnEditor/index.vue.d.ts +18 -0
  22. package/dist/core/extensions/PaddingMarginControl/index.vue.d.ts +10 -0
  23. package/dist/eventView-5fa6mfSD.cjs +1 -0
  24. package/dist/eventView-C2wKhfU_.js +63 -0
  25. package/dist/{form-CthzLIgs.cjs → form-Bofkrmkd.cjs} +1 -1
  26. package/dist/{form-6cUK-Ari.js → form-VbfBmb63.js} +5 -5
  27. package/dist/iframe-CRF3GSRv.cjs +1 -0
  28. package/dist/iframe-Fgbk3vqJ.js +48 -0
  29. package/dist/index-0WmqAKuy.js +4 -0
  30. package/dist/index-5yjG3fiB.cjs +1 -0
  31. package/dist/{index-DxNdcsD-.js → index-B0OgKtuT.js} +105 -100
  32. package/dist/{index-Dg7MK40D.js → index-B1s67XDZ.js} +17 -17
  33. package/dist/index-BEUYVwRA.cjs +1 -0
  34. package/dist/{index-DeFAvWuV.cjs → index-BHEw6RsQ.cjs} +1 -1
  35. package/dist/index-BHZbtFEF.cjs +1 -0
  36. package/dist/index-BU05X44j.cjs +1 -0
  37. package/dist/index-BY37Ndo7.cjs +10 -0
  38. package/dist/index-BoL2PSBk.cjs +1 -0
  39. package/dist/index-BvfkMKTv.cjs +1 -0
  40. package/dist/{index-BLJT8e0Q.js → index-BvvGezNc.js} +4 -4
  41. package/dist/{index-CHCOxt3B.js → index-BydHABbW.js} +3 -3
  42. package/dist/index-C2s4IuAR.cjs +1 -0
  43. package/dist/index-CCCx1tbF.cjs +1 -0
  44. package/dist/index-CD00bJyK.js +839 -0
  45. package/dist/{index-Bybwt7-u.js → index-CG0UEELU.js} +1 -1
  46. package/dist/index-CdnV7DS4.js +265 -0
  47. package/dist/{index-D0kQz_zt.js → index-Cln9MN7u.js} +1 -1
  48. package/dist/index-CpBfljmg.cjs +1 -0
  49. package/dist/{index-CMbBKMQU.js → index-CpTA2IRB.js} +2 -2
  50. package/dist/index-CpevxZqj.cjs +1 -0
  51. package/dist/index-CraRg8wh.js +107 -0
  52. package/dist/{index-CEDIwmNK.js → index-Cx7gKpkD.js} +2 -2
  53. package/dist/index-DYQi05p8.cjs +1 -0
  54. package/dist/{index-CjIIhZdV.js → index-E8jDNKrc.js} +3 -3
  55. package/dist/index-FgdbKgb5.cjs +1 -0
  56. package/dist/index-GIYb626z.js +1422 -0
  57. package/dist/{index-CgwN4ucQ.js → index-IGxCNti8.js} +48 -28
  58. package/dist/{index-CqeRfqUw.cjs → index-IPz4bbk7.cjs} +1 -1
  59. package/dist/index-R2r9Rw5O.cjs +1 -0
  60. package/dist/index-WkZdU_zw.js +47 -0
  61. package/dist/index-v2u1WTMm.cjs +1 -0
  62. package/dist/index-vCJWgHu-.js +142 -0
  63. package/dist/index.cjs +1 -1
  64. package/dist/index.js +2 -2
  65. package/dist/locale/lang/en-US.d.ts +2 -0
  66. package/dist/locale/lang/zh-cn.d.ts +2 -0
  67. package/dist/modal-DCBqsiP2.cjs +1 -0
  68. package/dist/modal-DZRBS-Mt.js +58 -0
  69. package/dist/outline-BE98qFHQ.cjs +1 -0
  70. package/dist/{outline-DxCKINRN.js → outline-Ch5PHy3c.js} +2 -2
  71. package/dist/pluginManager-BCnrHPYv.js +660 -0
  72. package/dist/pluginManager-DWHAX8kP.cjs +1 -0
  73. package/dist/sign-BS-9u6is.cjs +1 -0
  74. package/dist/{sign-B-FCN_7O.js → sign-l63EYvVo.js} +61 -56
  75. package/dist/style.css +1 -1
  76. package/dist/styleView-Dhj1GDqf.js +140 -0
  77. package/dist/styleView-DocskQJQ.cjs +1 -0
  78. package/dist/tabPanel-CXZYMEwi.cjs +1 -0
  79. package/dist/{col-D4hvKfJ6.js → tabPanel-DAw7ENrC.js} +7 -7
  80. package/dist/table-75K2lqjD.js +65 -0
  81. package/dist/table-CN2LNWqY.cjs +1 -0
  82. package/dist/tabs-CYH9lAUk.cjs +1 -0
  83. package/dist/tabs-DCyifACM.js +41 -0
  84. package/dist/text-B92ioaoV.cjs +1 -0
  85. package/dist/text-C-b94tBH.js +47 -0
  86. package/dist/tree.vue_vue_type_script_setup_true_lang-BsVyMb-n.js +243 -0
  87. package/dist/tree.vue_vue_type_script_setup_true_lang-VGvT-OYl.cjs +1 -0
  88. package/dist/ui/elementPlus/ETable/ETable.d.ts +20 -0
  89. package/dist/ui/elementPlus/ETd/ETd.d.ts +20 -0
  90. package/dist/ui/elementPlus/ETr/ETr.d.ts +20 -0
  91. package/dist/ui/elementPlus/ETr/index.d.ts +3 -0
  92. package/dist/ui/elementPlus/iframe/iframe.d.ts +29 -0
  93. package/dist/ui/elementPlus/iframe/index.d.ts +3 -0
  94. package/dist/ui/elementPlus/index.cjs +1 -1
  95. package/dist/ui/elementPlus/index.js +904 -403
  96. package/dist/ui/elementPlus/rate/index.d.ts +3 -0
  97. package/dist/ui/elementPlus/tab-panel/index.d.ts +3 -0
  98. package/dist/ui/elementPlus/table/table.d.ts +9 -0
  99. package/dist/ui/elementPlus/table-cell/index.d.ts +3 -0
  100. package/dist/ui/elementPlus/tabs/index.d.ts +2 -0
  101. package/dist/ui/elementPlus/tabs/tabs.d.ts +29 -0
  102. package/dist/ui/elementPlus/text/text.d.ts +9 -0
  103. package/dist/ui/naiveUi/index.cjs +1 -1
  104. package/dist/ui/naiveUi/index.js +1 -1
  105. package/dist/uploadFile-pgvj4Lm9.cjs +1 -0
  106. package/dist/uploadFile-qCbXuHfd.js +81 -0
  107. package/dist/uploadImage-B3sOX-5F.cjs +1 -0
  108. package/dist/{uploadImage-CF7fobUP.cjs → uploadImage-CNMsK4Lh.cjs} +1 -1
  109. package/dist/uploadImage-DQmVV0jl.js +121 -0
  110. package/dist/{uploadImage-COCC3pxH.js → uploadImage-VFICaVgX.js} +1 -1
  111. package/package.json +1 -1
  112. package/dist/attributeView-B2dWB_U2.cjs +0 -1
  113. package/dist/axios-B8aFvCWj.cjs +0 -6
  114. package/dist/axios-Bb3STC1u.js +0 -2362
  115. package/dist/card-BowzD9vN.cjs +0 -1
  116. package/dist/card-CNGNDzPp.js +0 -31
  117. package/dist/col-B1GUMkMK.cjs +0 -1
  118. package/dist/col-BNNn9Yx8.cjs +0 -1
  119. package/dist/col-u5YiB-UK.js +0 -41
  120. package/dist/index-21c4Pe3i.cjs +0 -1
  121. package/dist/index-B553TaXm.js +0 -44
  122. package/dist/index-BULuVnVl.js +0 -1359
  123. package/dist/index-BV9SE7wG.cjs +0 -1
  124. package/dist/index-BhcwWM1G.cjs +0 -1
  125. package/dist/index-Bn8pwpgq.cjs +0 -1
  126. package/dist/index-Bxi3JLms.cjs +0 -1
  127. package/dist/index-CEvDmc0a.js +0 -104
  128. package/dist/index-CI3dhGXT.cjs +0 -1
  129. package/dist/index-CYAKMqdR.cjs +0 -1
  130. package/dist/index-Cq6eLpKZ.cjs +0 -1
  131. package/dist/index-CrV5FaWU.cjs +0 -10
  132. package/dist/index-DR80h8IU.js +0 -4
  133. package/dist/index-DUMEtCCN.cjs +0 -1
  134. package/dist/index-DddTXMY9.cjs +0 -1
  135. package/dist/index-DeZ09CHf.cjs +0 -1
  136. package/dist/index-DzxQG0o7.cjs +0 -1
  137. package/dist/index-VblxMq6V.js +0 -742
  138. package/dist/modal-BLOgN3us.cjs +0 -1
  139. package/dist/modal-UFu4bD6x.js +0 -57
  140. package/dist/outline-CK-jNomF.cjs +0 -1
  141. package/dist/row-BWnbt6dh.cjs +0 -1
  142. package/dist/sign-Dho4kHTC.cjs +0 -1
  143. package/dist/styleView-CRUqDcCl.cjs +0 -1
  144. package/dist/styleView-ClMjCfMk.js +0 -106
  145. package/dist/table-CnBJm7Bx.js +0 -43
  146. package/dist/table-DM2-xHlv.cjs +0 -1
  147. package/dist/text-C-52xLjs.js +0 -33
  148. package/dist/text-X9fl5oe8.cjs +0 -1
  149. package/dist/tree.vue_vue_type_script_setup_true_lang-B9rWLveX.js +0 -242
  150. package/dist/tree.vue_vue_type_script_setup_true_lang-DDDqMedP.cjs +0 -1
  151. package/dist/uploadFile-Bc5Rxk0b.js +0 -77
  152. package/dist/uploadFile-oB2-NP-v.cjs +0 -1
  153. package/dist/uploadImage-4tgp3t7X.cjs +0 -1
  154. package/dist/uploadImage-CGXm3zNQ.js +0 -96
  155. /package/dist/ui/elementPlus/{table-col → ETable}/index.d.ts +0 -0
  156. /package/dist/ui/elementPlus/{table-row → ETd}/index.d.ts +0 -0
  157. /package/dist/ui/elementPlus/{table-col/col.d.ts → tab-panel/tabPanel.d.ts} +0 -0
  158. /package/dist/ui/elementPlus/{table-row/row.d.ts → table-cell/cell.d.ts} +0 -0
@@ -1,8 +1,9 @@
1
- import { defineComponent as te, ref as O, reactive as oe, onMounted as ue, openBlock as m, createElementBlock as p, createVNode as t, unref as a, withCtx as s, createElementVNode as n, toDisplayString as v, Fragment as D, renderList as J, normalizeClass as de, normalizeStyle as re, createTextVNode as V, createCommentVNode as R } from "vue";
2
- import { p as f, E as q, e as se } from "./axios-Bb3STC1u.js";
1
+ import { defineComponent as oe, ref as O, reactive as re, onMounted as de, openBlock as m, createElementBlock as p, createVNode as t, unref as a, withCtx as s, createElementVNode as n, toDisplayString as v, Fragment as D, renderList as J, normalizeClass as ue, normalizeStyle as se, createTextVNode as V, createCommentVNode as F } from "vue";
2
+ import { p as f, E as q } from "./pluginManager-BCnrHPYv.js";
3
3
  import { ElMessage as L } from "element-plus";
4
4
  import { _ } from "./icon.vue_vue_type_script_setup_true_lang-D3QdcReY.js";
5
- import { u as ne, a as ie } from "./index-Dg7MK40D.js";
5
+ import { a as ne } from "./axios-CXDYiOMX.js";
6
+ import { u as ie, a as R } from "./index-B1s67XDZ.js";
6
7
  const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { class: "drawer-content" }, ve = { class: "drawer-content-left" }, fe = ["onClick"], he = { class: "source-item-title" }, ye = ["onClick"], be = { class: "drawer-content-right" }, ge = { class: "content" }, Ve = {
7
8
  key: 0,
8
9
  class: "content-empty"
@@ -18,48 +19,48 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
18
19
  }, Oe = { class: "form-item" }, Ue = { class: "form-item-title" }, De = {
19
20
  key: 0,
20
21
  class: "form-item-content"
21
- }, Je = { class: "content-right-btn" }, Be = /* @__PURE__ */ te({
22
+ }, Je = { class: "content-right-btn" }, Ae = /* @__PURE__ */ oe({
22
23
  __name: "index",
23
24
  emits: ["update:modelValue", "update:sourceData"],
24
25
  setup(qe, { emit: Pe }) {
25
- const { t: u } = ne(), y = f.getComponent("button"), x = f.getComponent("Drawer"), h = f.getComponent("input"), N = f.getComponent("FormItem"), F = f.getComponent("Form"), B = f.getComponent("RadioGroup"), U = f.getComponent("RadioButton");
26
+ const { t: r } = ie(), y = f.getComponent("button"), x = f.getComponent("Drawer"), h = f.getComponent("input"), N = f.getComponent("FormItem"), B = f.getComponent("Form"), A = f.getComponent("RadioGroup"), U = f.getComponent("RadioButton");
26
27
  f.getComponent("select"), f.getComponent("switch");
27
- const P = O(), A = {
28
+ const P = O(), M = {
28
29
  GET: "#67c23a",
29
30
  POST: "#e6a23c",
30
31
  PUT: "#409eff",
31
32
  DELETE: "#f56c6c"
32
- }, M = O(0), $ = oe({
33
- apiName: [{ required: !0, message: u("pleaseEnterApiName"), trigger: "blur" }],
34
- url: [{ required: !0, message: u("pleaseEnterRequestUrl"), trigger: "blur" }],
35
- dataKey: [{ required: !0, message: u("pleaseEnterLabelKey"), trigger: "blur" }],
36
- dataValue: [{ required: !0, message: u("pleaseEnterValueKey"), trigger: "blur" }]
33
+ }, $ = O(0), j = re({
34
+ apiName: [{ required: !0, message: r("pleaseEnterApiName"), trigger: "blur" }],
35
+ url: [{ required: !0, message: r("pleaseEnterRequestUrl"), trigger: "blur" }],
36
+ dataKey: [{ required: !0, message: r("pleaseEnterLabelKey"), trigger: "blur" }],
37
+ dataValue: [{ required: !0, message: r("pleaseEnterValueKey"), trigger: "blur" }]
37
38
  }), T = O(!1), b = O([]), e = O(), C = [
38
39
  {
39
40
  label: "1",
40
41
  value: "1"
41
42
  }
42
43
  ];
43
- function j() {
44
+ function z() {
44
45
  T.value = !0;
45
46
  }
46
- function G() {
47
+ function I() {
47
48
  const o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
48
49
  return o.charAt(Math.floor(Math.random() * o.length));
49
50
  }
50
- function I(o) {
51
+ function G(o) {
51
52
  let l = "";
52
53
  for (let d = 0; d < o; d++)
53
- l += G();
54
+ l += I();
54
55
  return l;
55
56
  }
56
- function z() {
57
+ function H() {
57
58
  !e.value || e.value.id || !Object.keys(e.value).length ? (e.value = {
58
59
  id: "",
59
60
  url: "",
60
61
  body: {},
61
62
  bodyList: [],
62
- apiName: `${u("dataSource")}_${I(5)}`,
63
+ apiName: `${r("dataSource")}_${G(5)}`,
63
64
  method: "get",
64
65
  params: {},
65
66
  paramsList: [],
@@ -70,7 +71,7 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
70
71
  dataValue: "id"
71
72
  }, b.value.push(e.value)) : e.value.id || K();
72
73
  }
73
- function H(o) {
74
+ function Z(o) {
74
75
  var l;
75
76
  !e.value || e.value.id || !Object.keys(e.value).length ? (b.value = JSON.parse(JSON.stringify(f.getSourceData())), ((l = e.value) == null ? void 0 : l.id) === o ? e.value = {} : (e.value = b.value.find((d) => d.id === o), e.value.paramsList = Object.keys(JSON.parse(e.value.params)).map((d) => ({
76
77
  label: d,
@@ -103,25 +104,25 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
103
104
  value: ""
104
105
  });
105
106
  }
106
- function Z(o) {
107
+ function ee(o) {
107
108
  e.value.headerList.splice(o, 1);
108
109
  }
109
- function ee() {
110
+ function ae() {
110
111
  var o;
111
112
  (o = e.value) == null || o.bodyList.push({
112
113
  label: "",
113
114
  value: ""
114
115
  });
115
116
  }
116
- function ae(o) {
117
+ function le(o) {
117
118
  e.value.bodyList.splice(o, 1);
118
119
  }
119
- ue(() => {
120
+ de(() => {
120
121
  b.value = JSON.parse(JSON.stringify(f.getSourceData()));
121
122
  }), q.on("updateSource", (o) => {
122
123
  b.value = JSON.parse(JSON.stringify(f.getSourceData()));
123
124
  });
124
- async function le() {
125
+ async function te() {
125
126
  P.value.validate(async (o) => {
126
127
  if (o)
127
128
  try {
@@ -137,7 +138,7 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
137
138
  e.value.headerList.forEach((i) => {
138
139
  S[i.label] = i.value;
139
140
  });
140
- let g = await se({
141
+ let g = await ne({
141
142
  method: e.value.method,
142
143
  // url: formData.value.url,
143
144
  // url: "http://localhost:3333/users",
@@ -146,30 +147,34 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
146
147
  data: d,
147
148
  headers: {
148
149
  ...S,
149
- Authorization: "Bearer " + ie.get("Admin-Token")
150
+ Authorization: "Bearer " + R.get("Admin-Token"),
151
+ lang: R.get("saas-locale") || "zh-CN",
152
+ //语言
153
+ zone: Intl.DateTimeFormat().resolvedOptions().timeZone
154
+ //时区
150
155
  }
151
156
  });
152
157
  if (e.value.dataPath) {
153
- const E = e.value.dataPath.split(".").reduce((k, r) => k[r], g.data);
158
+ const E = e.value.dataPath.split(".").reduce((k, u) => k[u], g.data);
154
159
  E && E.length ? L({
155
160
  message: E.map((k) => ({
156
161
  label: k[e.value.dataKey],
157
162
  value: k[e.value.dataValue]
158
163
  }))
159
- }) : L.info(u("configError"));
164
+ }) : L.info(r("configError"));
160
165
  } else
161
166
  g.data && g.data.length ? L({
162
167
  message: g.data.map((i) => ({
163
168
  label: i[e.value.dataKey],
164
169
  value: i[e.value.dataValue]
165
170
  }))
166
- }) : L.info(u("configError"));
171
+ }) : L.info(r("configError"));
167
172
  } catch {
168
- L.error(u("requestFailed"));
173
+ L.error(r("requestFailed"));
169
174
  } finally {
170
175
  }
171
176
  else
172
- L.error(u("fillRequiredFields"));
177
+ L.error(r("fillRequiredFields"));
173
178
  });
174
179
  }
175
180
  async function K() {
@@ -190,21 +195,21 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
190
195
  body: JSON.stringify(e.value.body),
191
196
  params: JSON.stringify(e.value.params),
192
197
  headers: JSON.stringify(e.value.headers)
193
- }), e.value = {}) : L.warning(u("completeFormFirst"));
198
+ }), e.value = {}) : L.warning(r("completeFormFirst"));
194
199
  });
195
200
  }
196
201
  return (o, l) => (m(), p("div", ce, [
197
202
  t(a(y), {
198
203
  class: "btn",
199
- onClick: j
204
+ onClick: z
200
205
  }, {
201
206
  default: s(() => [
202
207
  t(a(_), {
203
208
  name: "icon--epic--window-outline",
204
209
  class: "mr-4px"
205
210
  }),
206
- n("span", null, v(a(u)("configuration")), 1),
207
- n("span", me, v(M.value || b.value.length), 1)
211
+ n("span", null, v(a(r)("configuration")), 1),
212
+ n("span", me, v($.value || b.value.length), 1)
208
213
  ]),
209
214
  _: 1
210
215
  }),
@@ -213,7 +218,7 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
213
218
  modelValue: T.value,
214
219
  "onUpdate:modelValue": l[7] || (l[7] = (d) => T.value = d),
215
220
  "append-to-body": "",
216
- title: a(u)("dataSources")
221
+ title: a(r)("dataSources")
217
222
  }, {
218
223
  default: s(() => [
219
224
  n("div", pe, [
@@ -221,14 +226,14 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
221
226
  t(a(y), {
222
227
  type: "primary",
223
228
  class: "btn",
224
- onClick: z
229
+ onClick: H
225
230
  }, {
226
231
  default: s(() => [
227
232
  t(a(_), {
228
233
  name: "icon--epic--add-rounded",
229
234
  class: "mr-4px"
230
235
  }),
231
- n("span", null, v(a(u)("addDataSource")), 1)
236
+ n("span", null, v(a(r)("addDataSource")), 1)
232
237
  ]),
233
238
  _: 1
234
239
  }),
@@ -236,14 +241,14 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
236
241
  (m(!0), p(D, null, J(b.value, (d) => {
237
242
  var S;
238
243
  return m(), p("div", {
239
- class: de(["source-item", { active: d.id === ((S = e.value) == null ? void 0 : S.id) }]),
244
+ class: ue(["source-item", { active: d.id === ((S = e.value) == null ? void 0 : S.id) }]),
240
245
  key: d.id,
241
- onClick: (g) => H(d.id)
246
+ onClick: (g) => Z(d.id)
242
247
  }, [
243
248
  n("div", he, [
244
249
  n("div", {
245
- style: re({
246
- color: A[d.method.toLocaleUpperCase()]
250
+ style: se({
251
+ color: M[d.method.toLocaleUpperCase()]
247
252
  })
248
253
  }, v(d.method.toLocaleUpperCase()), 5),
249
254
  n("div", null, v(d.apiName), 1)
@@ -260,13 +265,13 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
260
265
  ]),
261
266
  n("div", be, [
262
267
  n("div", ge, [
263
- !e.value || !Object.keys(e.value).length ? (m(), p("div", Ve, v(a(u)("pleaseSelectDataSource")), 1)) : (m(), p("div", _e, [
264
- t(a(F), {
268
+ !e.value || !Object.keys(e.value).length ? (m(), p("div", Ve, v(a(r)("pleaseSelectDataSource")), 1)) : (m(), p("div", _e, [
269
+ t(a(B), {
265
270
  ref_key: "ruleFormRef",
266
271
  ref: P,
267
272
  model: e.value,
268
273
  "label-position": "top",
269
- rules: $,
274
+ rules: j,
270
275
  "label-width": 120
271
276
  }, {
272
277
  default: s(() => {
@@ -274,40 +279,40 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
274
279
  return [
275
280
  t(a(N), {
276
281
  prop: "apiName",
277
- label: a(u)("apiName")
282
+ label: a(r)("apiName")
278
283
  }, {
279
284
  default: s(() => [
280
285
  t(a(h), {
281
286
  clearable: "",
282
287
  modelValue: e.value.apiName,
283
- "onUpdate:modelValue": l[0] || (l[0] = (r) => e.value.apiName = r),
284
- placeholder: a(u)("pleaseEnterApiName")
288
+ "onUpdate:modelValue": l[0] || (l[0] = (u) => e.value.apiName = u),
289
+ placeholder: a(r)("pleaseEnterApiName")
285
290
  }, null, 8, ["modelValue", "placeholder"])
286
291
  ]),
287
292
  _: 1
288
293
  }, 8, ["label"]),
289
294
  t(a(N), {
290
295
  prop: "url",
291
- label: a(u)("requestUrl")
296
+ label: a(r)("requestUrl")
292
297
  }, {
293
298
  default: s(() => [
294
299
  t(a(h), {
295
300
  modelValue: e.value.url,
296
- "onUpdate:modelValue": l[1] || (l[1] = (r) => e.value.url = r),
301
+ "onUpdate:modelValue": l[1] || (l[1] = (u) => e.value.url = u),
297
302
  clearable: "",
298
- placeholder: a(u)("pleaseEnterRequestUrl")
303
+ placeholder: a(r)("pleaseEnterRequestUrl")
299
304
  }, null, 8, ["modelValue", "placeholder"])
300
305
  ]),
301
306
  _: 1
302
307
  }, 8, ["label"]),
303
308
  t(a(N), {
304
- label: a(u)("requestMethod"),
309
+ label: a(r)("requestMethod"),
305
310
  required: ""
306
311
  }, {
307
312
  default: s(() => [
308
- t(a(B), {
313
+ t(a(A), {
309
314
  modelValue: e.value.method,
310
- "onUpdate:modelValue": l[2] || (l[2] = (r) => e.value.method = r)
315
+ "onUpdate:modelValue": l[2] || (l[2] = (u) => e.value.method = u)
311
316
  }, {
312
317
  default: s(() => [
313
318
  t(a(U), {
@@ -356,14 +361,14 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
356
361
  t(a(N), {
357
362
  prop: "dataKey",
358
363
  style: { width: "30%" },
359
- label: a(u)("labelKey")
364
+ label: a(r)("labelKey")
360
365
  }, {
361
366
  default: s(() => [
362
367
  t(a(h), {
363
368
  modelValue: e.value.dataKey,
364
- "onUpdate:modelValue": l[3] || (l[3] = (r) => e.value.dataKey = r),
369
+ "onUpdate:modelValue": l[3] || (l[3] = (u) => e.value.dataKey = u),
365
370
  clearable: "",
366
- placeholder: a(u)("pleaseEnterLabelKey")
371
+ placeholder: a(r)("pleaseEnterLabelKey")
367
372
  }, null, 8, ["modelValue", "placeholder"])
368
373
  ]),
369
374
  _: 1
@@ -371,28 +376,28 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
371
376
  t(a(N), {
372
377
  prop: "dataValue",
373
378
  style: { width: "30%" },
374
- label: a(u)("valueKey")
379
+ label: a(r)("valueKey")
375
380
  }, {
376
381
  default: s(() => [
377
382
  t(a(h), {
378
383
  modelValue: e.value.dataValue,
379
- "onUpdate:modelValue": l[4] || (l[4] = (r) => e.value.dataValue = r),
384
+ "onUpdate:modelValue": l[4] || (l[4] = (u) => e.value.dataValue = u),
380
385
  clearable: "",
381
- placeholder: a(u)("pleaseEnterValueKey")
386
+ placeholder: a(r)("pleaseEnterValueKey")
382
387
  }, null, 8, ["modelValue", "placeholder"])
383
388
  ]),
384
389
  _: 1
385
390
  }, 8, ["label"]),
386
391
  t(a(N), {
387
392
  style: { width: "33%" },
388
- label: a(u)("dataPath")
393
+ label: a(r)("dataPath")
389
394
  }, {
390
395
  default: s(() => [
391
396
  t(a(h), {
392
397
  modelValue: e.value.dataPath,
393
- "onUpdate:modelValue": l[5] || (l[5] = (r) => e.value.dataPath = r),
398
+ "onUpdate:modelValue": l[5] || (l[5] = (u) => e.value.dataPath = u),
394
399
  clearable: "",
395
- placeholder: a(u)("nestedPath")
400
+ placeholder: a(r)("nestedPath")
396
401
  }, null, 8, ["modelValue", "placeholder"])
397
402
  ]),
398
403
  _: 1
@@ -400,7 +405,7 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
400
405
  ]),
401
406
  n("div", ke, [
402
407
  n("div", Le, [
403
- n("div", null, v(a(u)("requestParams")), 1),
408
+ n("div", null, v(a(r)("requestParams")), 1),
404
409
  t(a(y), {
405
410
  onClick: W,
406
411
  text: "",
@@ -409,33 +414,33 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
409
414
  }, {
410
415
  default: s(() => [
411
416
  t(a(_), { name: "icon--epic--add-rounded" }),
412
- V(" " + v(a(u)("add")), 1)
417
+ V(" " + v(a(r)("add")), 1)
413
418
  ]),
414
419
  _: 1
415
420
  })
416
421
  ]),
417
422
  (d = e.value) != null && d.paramsList && ((S = e.value) != null && S.paramsList.length) ? (m(), p("div", Ne, [
418
- (m(!0), p(D, null, J(e.value.paramsList, (r, w) => (m(), p("div", {
423
+ (m(!0), p(D, null, J(e.value.paramsList, (u, w) => (m(), p("div", {
419
424
  class: "content-item",
420
- key: r.value
425
+ key: u.value
421
426
  }, [
422
427
  t(a(h), {
423
- modelValue: r.label,
424
- "onUpdate:modelValue": (c) => r.label = c,
428
+ modelValue: u.label,
429
+ "onUpdate:modelValue": (c) => u.label = c,
425
430
  filterable: "",
426
431
  "allow-create": "",
427
432
  style: { width: "42%" },
428
433
  options: C,
429
- placeholder: a(u)("paramName")
434
+ placeholder: a(r)("paramName")
430
435
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
431
436
  t(a(h), {
432
- modelValue: r.value,
433
- "onUpdate:modelValue": (c) => r.value = c,
437
+ modelValue: u.value,
438
+ "onUpdate:modelValue": (c) => u.value = c,
434
439
  filterable: "",
435
440
  "allow-create": "",
436
441
  style: { width: "42%" },
437
442
  options: C,
438
- placeholder: a(u)("paramValue")
443
+ placeholder: a(r)("paramValue")
439
444
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
440
445
  t(a(y), {
441
446
  onClick: (c) => X(w),
@@ -451,11 +456,11 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
451
456
  _: 2
452
457
  }, 1032, ["onClick"])
453
458
  ]))), 128))
454
- ])) : R("", !0)
459
+ ])) : F("", !0)
455
460
  ]),
456
461
  n("div", Ce, [
457
462
  n("div", Ee, [
458
- n("div", null, v(a(u)("requestHeaders")), 1),
463
+ n("div", null, v(a(r)("requestHeaders")), 1),
459
464
  t(a(y), {
460
465
  onClick: Y,
461
466
  text: "",
@@ -464,36 +469,36 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
464
469
  }, {
465
470
  default: s(() => [
466
471
  t(a(_), { name: "icon--epic--add-rounded" }),
467
- V(" " + v(a(u)("add")), 1)
472
+ V(" " + v(a(r)("add")), 1)
468
473
  ]),
469
474
  _: 1
470
475
  })
471
476
  ]),
472
477
  (g = e.value) != null && g.headerList && ((i = e.value) != null && i.headerList.length) ? (m(), p("div", we, [
473
- (m(!0), p(D, null, J(e.value.headerList, (r, w) => (m(), p("div", {
478
+ (m(!0), p(D, null, J(e.value.headerList, (u, w) => (m(), p("div", {
474
479
  class: "content-item",
475
480
  key: w
476
481
  }, [
477
482
  t(a(h), {
478
- modelValue: r.label,
479
- "onUpdate:modelValue": (c) => r.label = c,
483
+ modelValue: u.label,
484
+ "onUpdate:modelValue": (c) => u.label = c,
480
485
  filterable: "",
481
486
  "allow-create": "",
482
487
  style: { width: "42%" },
483
488
  options: C,
484
- placeholder: a(u)("paramName")
489
+ placeholder: a(r)("paramName")
485
490
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
486
491
  t(a(h), {
487
- modelValue: r.value,
488
- "onUpdate:modelValue": (c) => r.value = c,
492
+ modelValue: u.value,
493
+ "onUpdate:modelValue": (c) => u.value = c,
489
494
  filterable: "",
490
495
  "allow-create": "",
491
496
  style: { width: "42%" },
492
497
  options: C,
493
- placeholder: a(u)("paramValue")
498
+ placeholder: a(r)("paramValue")
494
499
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
495
500
  t(a(y), {
496
- onClick: (c) => Z(w),
501
+ onClick: (c) => ee(w),
497
502
  type: "danger",
498
503
  circle: ""
499
504
  }, {
@@ -506,49 +511,49 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
506
511
  _: 2
507
512
  }, 1032, ["onClick"])
508
513
  ]))), 128))
509
- ])) : R("", !0)
514
+ ])) : F("", !0)
510
515
  ]),
511
516
  n("div", Oe, [
512
517
  n("div", Ue, [
513
- n("div", null, v(a(u)("requestBody")), 1),
518
+ n("div", null, v(a(r)("requestBody")), 1),
514
519
  t(a(y), {
515
- onClick: ee,
520
+ onClick: ae,
516
521
  text: "",
517
522
  type: "primary",
518
523
  class: "btn"
519
524
  }, {
520
525
  default: s(() => [
521
526
  t(a(_), { name: "icon--epic--add-rounded" }),
522
- V(" " + v(a(u)("add")), 1)
527
+ V(" " + v(a(r)("add")), 1)
523
528
  ]),
524
529
  _: 1
525
530
  })
526
531
  ]),
527
532
  (E = e.value) != null && E.bodyList && ((k = e.value) != null && k.bodyList.length) ? (m(), p("div", De, [
528
- (m(!0), p(D, null, J(e.value.bodyList, (r, w) => (m(), p("div", {
533
+ (m(!0), p(D, null, J(e.value.bodyList, (u, w) => (m(), p("div", {
529
534
  class: "content-item",
530
535
  key: w
531
536
  }, [
532
537
  t(a(h), {
533
- modelValue: r.label,
534
- "onUpdate:modelValue": (c) => r.label = c,
538
+ modelValue: u.label,
539
+ "onUpdate:modelValue": (c) => u.label = c,
535
540
  filterable: "",
536
541
  "allow-create": "",
537
542
  style: { width: "42%" },
538
543
  options: C,
539
- placeholder: a(u)("paramName")
544
+ placeholder: a(r)("paramName")
540
545
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
541
546
  t(a(h), {
542
- modelValue: r.value,
543
- "onUpdate:modelValue": (c) => r.value = c,
547
+ modelValue: u.value,
548
+ "onUpdate:modelValue": (c) => u.value = c,
544
549
  filterable: "",
545
550
  "allow-create": "",
546
551
  style: { width: "42%" },
547
552
  options: C,
548
- placeholder: a(u)("paramValue")
553
+ placeholder: a(r)("paramValue")
549
554
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
550
555
  t(a(y), {
551
- onClick: l[6] || (l[6] = (c) => ae(o.i)),
556
+ onClick: l[6] || (l[6] = (c) => le(o.i)),
552
557
  type: "danger",
553
558
  circle: ""
554
559
  }, {
@@ -561,15 +566,15 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
561
566
  _: 1
562
567
  })
563
568
  ]))), 128))
564
- ])) : R("", !0)
569
+ ])) : F("", !0)
565
570
  ]),
566
571
  n("div", Je, [
567
572
  t(a(y), {
568
573
  type: "info",
569
- onClick: le
574
+ onClick: te
570
575
  }, {
571
576
  default: s(() => [
572
- V(v(a(u)("requestTest")), 1)
577
+ V(v(a(r)("requestTest")), 1)
573
578
  ]),
574
579
  _: 1
575
580
  }),
@@ -578,7 +583,7 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
578
583
  onClick: K
579
584
  }, {
580
585
  default: s(() => [
581
- V(v(a(u)("save")), 1)
586
+ V(v(a(r)("save")), 1)
582
587
  ]),
583
588
  _: 1
584
589
  })
@@ -598,5 +603,5 @@ const ce = { class: "e-data-source" }, me = { class: "icon-numbers" }, pe = { cl
598
603
  }
599
604
  });
600
605
  export {
601
- Be as default
606
+ Ae as default
602
607
  };
@@ -1,5 +1,5 @@
1
- import { ref as h, onMounted as C, onUnmounted as f } from "vue";
2
- const S = {
1
+ import { ref as h } from "vue";
2
+ const C = {
3
3
  component: "Component",
4
4
  outline: "Outline",
5
5
  style: "Style",
@@ -242,8 +242,10 @@ const S = {
242
242
  saveForm: "Save Form",
243
243
  clickToUpload: "Click to Upload",
244
244
  row: "Row",
245
- column: "Column"
246
- }, F = {
245
+ column: "Column",
246
+ searchNode: "Search Node",
247
+ noDataFound: "No Data Found"
248
+ }, f = {
247
249
  component: "组件",
248
250
  outline: "大纲",
249
251
  style: "样式",
@@ -486,7 +488,9 @@ const S = {
486
488
  saveForm: "保存表单",
487
489
  clickToUpload: "点击上传",
488
490
  row: "行",
489
- column: "列"
491
+ column: "列",
492
+ searchNode: "搜索节点",
493
+ noDataFound: "没有查询到的数据"
490
494
  };
491
495
  /*! js-cookie v3.0.5 | MIT */
492
496
  function u(e) {
@@ -497,7 +501,7 @@ function u(e) {
497
501
  }
498
502
  return e;
499
503
  }
500
- var y = {
504
+ var S = {
501
505
  read: function(e) {
502
506
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
503
507
  },
@@ -558,24 +562,20 @@ function p(e, a) {
558
562
  }
559
563
  );
560
564
  }
561
- var s = p(y, { path: "/" });
565
+ var s = p(S, { path: "/" });
562
566
  const g = {
563
- "en-US": S,
564
- "zh-CN": F
565
- }, P = s.get("saas-locale") || "zh-CN", b = () => {
566
- const e = h(P), a = () => {
567
+ "en-US": C,
568
+ "zh-CN": f
569
+ }, F = s.get("saas-locale") || "zh-CN", T = () => {
570
+ const e = h(F), a = () => {
567
571
  document.visibilityState === "visible" && e.value !== s.get("saas-locale") && Object.keys(g).includes(s.get("saas-locale")) && (e.value = s.get("saas-locale"));
568
572
  }, n = (r) => g[e.value][r];
569
- return C(() => {
570
- document.addEventListener("visibilitychange", a);
571
- }), f(() => {
572
- document.removeEventListener("visibilitychange", a);
573
- }), a(), {
573
+ return a(), {
574
574
  locale: e,
575
575
  t: n
576
576
  };
577
577
  };
578
578
  export {
579
579
  s as a,
580
- b as u
580
+ T as u
581
581
  };