st-comp 0.0.207 → 0.0.208

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 (160) hide show
  1. package/es/ChartLayout.cjs +1 -1
  2. package/es/ChartLayout.js +1 -74
  3. package/es/CustomFunction.cjs +1 -1
  4. package/es/CustomFunction.js +53 -56
  5. package/es/FactorWarning.cjs +1 -1
  6. package/es/FactorWarning.js +45 -48
  7. package/es/HeatMap.cjs +1 -1
  8. package/es/HeatMap.js +1 -118
  9. package/es/Kline.cjs +1 -1
  10. package/es/Kline.js +16 -19
  11. package/es/KlineBasic.cjs +1 -1
  12. package/es/KlineBasic.js +81 -84
  13. package/es/KlineConfig.cjs +1 -1
  14. package/es/KlineConfig.js +161 -164
  15. package/es/KlineNew.cjs +1 -1
  16. package/es/KlineNew.js +15 -18
  17. package/es/KlinePlus.cjs +1 -1
  18. package/es/KlinePlus.js +18 -21
  19. package/es/Pagination.cjs +1 -1
  20. package/es/Pagination.js +140 -143
  21. package/es/PasswordPrompt.cjs +1 -1
  22. package/es/PasswordPrompt.js +2 -3
  23. package/es/Table.cjs +1 -1
  24. package/es/Table.js +55 -58
  25. package/es/User.cjs +1 -1
  26. package/es/User.js +85 -88
  27. package/es/VarSelectDialog.cjs +2 -2
  28. package/es/VarSelectDialog.js +53 -56
  29. package/es/VarietyAutoComplete.cjs +1 -1
  30. package/es/VarietyAutoComplete.js +15 -17
  31. package/es/VarietySearch.cjs +10 -10
  32. package/es/VarietySearch.js +53 -56
  33. package/es/VarietyTextCopy.cjs +3 -3
  34. package/es/VarietyTextCopy.js +33 -36
  35. package/es/VirtualTable.cjs +1 -1
  36. package/es/VirtualTable.js +103 -106
  37. package/es/{_initCloneObject-eaef9418.js → _initCloneObject-c477c74d.js} +25 -26
  38. package/es/_initCloneObject-e660897e.cjs +1 -0
  39. package/es/base-7ba08794.cjs +5 -0
  40. package/es/{index-a871c3eb.js → base-aa512893.js} +454 -171
  41. package/es/{castArray-7741a212.js → castArray-1eb17278.js} +1 -1
  42. package/es/castArray-efa457a5.cjs +1 -0
  43. package/es/{config-provider-a584d81e.cjs → config-provider-18c0a68a.cjs} +1 -1
  44. package/es/{config-provider-b16efd62.js → config-provider-49c17381.js} +6 -6
  45. package/es/{debounce-8d53f4dd.js → debounce-33406a0d.js} +9 -9
  46. package/es/debounce-4aa22feb.cjs +1 -0
  47. package/es/{dropdown-071c5d7e.cjs → dropdown-3f1fe325.cjs} +1 -1
  48. package/es/{dropdown-a59bba73.js → dropdown-6e7b1df0.js} +15 -15
  49. package/es/el-autocomplete-609ac86d.cjs +1 -0
  50. package/es/{el-autocomplete-ba808eb6.js → el-autocomplete-87b7f461.js} +51 -53
  51. package/es/el-button-08310c06.cjs +1 -0
  52. package/es/{el-button-c95adb85.js → el-button-56624e61.js} +45 -46
  53. package/es/{el-checkbox-c25236a6.cjs → el-checkbox-09f3b57f.cjs} +1 -1
  54. package/es/{el-checkbox-7421ccd3.js → el-checkbox-f13560e9.js} +40 -40
  55. package/es/{el-dialog-41ab8417.js → el-dialog-1d5f5877.js} +9 -10
  56. package/es/el-dialog-ea480083.cjs +1 -0
  57. package/es/{el-divider-4e059794.js → el-divider-1cda1783.js} +1 -1
  58. package/es/{el-divider-4713d74c.cjs → el-divider-8a4c87e3.cjs} +1 -1
  59. package/es/{el-empty-33cb66f1.js → el-empty-04682b5d.js} +3 -3
  60. package/es/el-empty-b40fa7ea.cjs +1 -0
  61. package/es/el-form-item-338ea2f7.cjs +12 -0
  62. package/es/{el-form-item-c53c374d.js → el-form-item-505c0b70.js} +75 -76
  63. package/es/{el-input-2f75c4ba.js → el-input-262851e8.js} +84 -85
  64. package/es/el-input-b04b5bfc.cjs +1 -0
  65. package/es/el-input-number-7242c8b5.cjs +1 -0
  66. package/es/{el-input-number-5193fe6d.js → el-input-number-fdac2b86.js} +82 -83
  67. package/es/{el-loading-cfd86c15.cjs → el-loading-3cf7b796.cjs} +1 -1
  68. package/es/{el-loading-f6022062.js → el-loading-7440dc64.js} +2 -2
  69. package/es/{el-menu-item-7e881203.js → el-menu-item-36c3004c.js} +53 -54
  70. package/es/el-menu-item-7aca344e.cjs +1 -0
  71. package/es/el-message-05cd85bf.cjs +1 -0
  72. package/es/{el-message-e544a8f5.js → el-message-416bd265.js} +28 -29
  73. package/es/{el-message-box-a93d2f6a.js → el-message-box-8f5e34ca.js} +20 -22
  74. package/es/el-message-box-b7e9917e.cjs +1 -0
  75. package/es/{el-overlay-09ad71cd.js → el-overlay-04426e36.js} +52 -53
  76. package/es/el-overlay-60bc5a02.cjs +1 -0
  77. package/es/el-popconfirm-24b622c5.cjs +1 -0
  78. package/es/{el-popconfirm-81dcd202.js → el-popconfirm-3790cda2.js} +38 -39
  79. package/es/el-popper-1dd8f5b4.cjs +1 -0
  80. package/es/{el-popper-b4f97157.js → el-popper-49152708.js} +191 -192
  81. package/es/{el-segmented-b868d074.js → el-segmented-05509f9d.js} +12 -13
  82. package/es/el-segmented-a928d89b.cjs +1 -0
  83. package/es/el-select-5fd77a96.cjs +1 -0
  84. package/es/{el-select-95627997.js → el-select-700f3686.js} +292 -295
  85. package/es/{el-table-column-376cd907.js → el-table-column-44360700.js} +54 -57
  86. package/es/el-table-column-bf3ab2a6.cjs +14 -0
  87. package/es/{el-tag-66cab138.js → el-tag-55a172c9.js} +30 -31
  88. package/es/el-tag-d59f3463.cjs +1 -0
  89. package/es/{el-text-c20a9f48.cjs → el-text-5bcaffb6.cjs} +1 -1
  90. package/es/{el-text-ac60d0f2.js → el-text-ab6bfc40.js} +4 -4
  91. package/es/{index-1f7d4f70.js → index-0afedcbd.js} +11 -12
  92. package/es/{index-88546436.js → index-29418a8d.js} +18 -18
  93. package/es/index-3d0bc5da.js +566 -0
  94. package/es/{index-57672682.js → index-4e46f96c.js} +12 -13
  95. package/es/{index-844bdd85.js → index-66ad0d6a.js} +34 -34
  96. package/es/{index-f967d6c1.cjs → index-882d77d3.cjs} +1 -1
  97. package/es/index-a206f6eb.cjs +1 -0
  98. package/es/{index-298075cf.cjs → index-ae6c9d97.cjs} +1 -1
  99. package/es/index-b4700d83.cjs +1 -0
  100. package/es/index-c30cf7f9.cjs +1 -0
  101. package/es/{index-d91dc23f.js → index-cbbd78b4.js} +12 -12
  102. package/es/{index-11547a0c.cjs → index-d8294b1a.cjs} +1 -1
  103. package/es/{raf-8249652f.cjs → raf-336ef01e.cjs} +1 -1
  104. package/es/raf-d8c44079.js +6 -0
  105. package/es/{scroll-679bd6bf.js → scroll-0a48995c.js} +5 -5
  106. package/es/{scroll-b108dabd.cjs → scroll-19533c53.cjs} +1 -1
  107. package/es/style.css +1 -1
  108. package/es/use-form-common-props-41182853.cjs +1 -0
  109. package/es/use-form-common-props-4cdda474.js +671 -0
  110. package/es/use-global-config-7bfbe48c.js +71 -0
  111. package/es/use-global-config-dc5527e8.cjs +1 -0
  112. package/es/{validator-1b8a6128.cjs → validator-28b22907.cjs} +1 -1
  113. package/es/{validator-764a9db0.js → validator-e35f7978.js} +1 -1
  114. package/es/{vnode-b906ae6d.cjs → vnode-8cb31692.cjs} +1 -1
  115. package/es/{vnode-5ddb7ed1.js → vnode-b62d0045.js} +1 -1
  116. package/es/{zh-cn-e963c628.js → zh-cn-346f3a73.js} +2 -2
  117. package/es/{zh-cn-90317f62.cjs → zh-cn-7c8640bb.cjs} +1 -1
  118. package/lib/bundle.js +1 -1
  119. package/lib/bundle.umd.cjs +1 -1
  120. package/lib/{index-f27d8c7a.js → index-da0f2951.js} +3 -3
  121. package/lib/{python-c345f0e2.js → python-c0a1e4ef.js} +1 -1
  122. package/lib/style.css +1 -1
  123. package/package.json +1 -1
  124. package/packages/KlineBasic/components/KlineTips/index.vue +1 -1
  125. package/es/_initCloneObject-52b6a510.cjs +0 -1
  126. package/es/base-a5af3db3.js +0 -288
  127. package/es/base-ef747d02.cjs +0 -5
  128. package/es/castArray-35947698.cjs +0 -1
  129. package/es/debounce-62f5b6e8.cjs +0 -1
  130. package/es/el-autocomplete-a07e9439.cjs +0 -1
  131. package/es/el-button-eec58cff.cjs +0 -1
  132. package/es/el-dialog-ae86edb8.cjs +0 -1
  133. package/es/el-empty-1697ded8.cjs +0 -1
  134. package/es/el-form-item-c3fe189b.cjs +0 -12
  135. package/es/el-input-7fd293af.cjs +0 -1
  136. package/es/el-input-number-22e21d16.cjs +0 -1
  137. package/es/el-menu-item-17dc717e.cjs +0 -1
  138. package/es/el-message-5e6a6be9.cjs +0 -1
  139. package/es/el-message-box-c10adb52.cjs +0 -1
  140. package/es/el-overlay-9e34965f.cjs +0 -1
  141. package/es/el-popconfirm-70a976bf.cjs +0 -1
  142. package/es/el-popper-b6c99b28.cjs +0 -1
  143. package/es/el-segmented-f8fce9ac.cjs +0 -1
  144. package/es/el-select-d8d91db1.cjs +0 -1
  145. package/es/el-table-column-c974cb96.cjs +0 -14
  146. package/es/el-tag-a33c4b22.cjs +0 -1
  147. package/es/index-098c2447.cjs +0 -1
  148. package/es/index-960806da.js +0 -314
  149. package/es/index-9780a537.cjs +0 -1
  150. package/es/index-9b9ef5dd.cjs +0 -1
  151. package/es/index-bb833443.cjs +0 -1
  152. package/es/index-c108567d.cjs +0 -1
  153. package/es/index-d77a7336.js +0 -204
  154. package/es/index-e5566b94.js +0 -368
  155. package/es/index-f3562b52.cjs +0 -1
  156. package/es/raf-80ef0c0a.js +0 -6
  157. package/es/use-form-common-props-815d48a6.js +0 -364
  158. package/es/use-form-common-props-fd9b61a0.cjs +0 -1
  159. package/es/use-global-config-30d7d8ce.cjs +0 -1
  160. package/es/use-global-config-b5e9d3d5.js +0 -72
@@ -1,35 +1,32 @@
1
- import "./base-a5af3db3.js";
2
- import { E as M } from "./el-dialog-41ab8417.js";
3
- import "./el-overlay-09ad71cd.js";
1
+ import { f as M, e as O, E as R } from "./base-aa512893.js";
2
+ import { E as W } from "./el-dialog-1d5f5877.js";
3
+ import "./el-overlay-04426e36.js";
4
4
  import "./el-tooltip-4ed993c7.js";
5
- import { E as O } from "./el-popper-b4f97157.js";
6
- import { E as R } from "./el-button-c95adb85.js";
7
- import { E as W } from "./el-input-2f75c4ba.js";
8
- import "./el-tag-66cab138.js";
9
- import { E as G, a as H } from "./el-select-95627997.js";
5
+ import { E as G } from "./el-popper-49152708.js";
6
+ import { E as H } from "./el-button-56624e61.js";
7
+ import { E as J } from "./el-input-262851e8.js";
8
+ import "./el-tag-55a172c9.js";
9
+ import { E as K, a as Q } from "./el-select-700f3686.js";
10
10
  import "./el-scrollbar-323542e7.js";
11
- import { inject as A, ref as $, openBlock as a, createElementBlock as n, createCommentVNode as h, createVNode as y, withCtx as m, createElementVNode as c, toDisplayString as C, computed as J, onMounted as K, createBlock as N, Fragment as E, renderList as L, unref as T, createTextVNode as Q, pushScopeId as X, popScopeId as Y } from "vue";
12
- import { c as Z, i as ee, E as te } from "./index-a871c3eb.js";
13
- import { E as le } from "./el-autocomplete-ba808eb6.js";
11
+ import { inject as A, ref as $, openBlock as a, createElementBlock as n, createCommentVNode as h, createVNode as y, withCtx as m, createElementVNode as c, toDisplayString as C, computed as X, onMounted as Y, createBlock as N, Fragment as E, renderList as L, unref as T, createTextVNode as Z, pushScopeId as ee, popScopeId as te } from "vue";
12
+ import { E as le } from "./el-autocomplete-87b7f461.js";
14
13
  import { V as oe } from "./index-7ed0999e.js";
15
14
  import { _ as F } from "./_plugin-vue_export-helper-dad06003.js";
16
- import { E as j } from "./el-message-e544a8f5.js";
17
- import "./use-form-common-props-815d48a6.js";
18
- import "./index-960806da.js";
19
- import "./index-d77a7336.js";
15
+ import { E as j } from "./el-message-416bd265.js";
16
+ import "./use-form-common-props-4cdda474.js";
17
+ import "./index-3d0bc5da.js";
20
18
  import "./index-2e331d74.js";
21
- import "./vnode-5ddb7ed1.js";
22
- import "./scroll-679bd6bf.js";
23
- import "./use-global-config-b5e9d3d5.js";
24
- import "./index-e5566b94.js";
19
+ import "./vnode-b62d0045.js";
20
+ import "./scroll-0a48995c.js";
21
+ import "./use-global-config-7bfbe48c.js";
25
22
  import "./index-657047bb.js";
26
23
  import "./typescript-7ae59c4c.js";
27
- import "./index-d91dc23f.js";
28
- import "./index-844bdd85.js";
29
- import "./index-57672682.js";
30
- import "./castArray-7741a212.js";
31
- import "./debounce-8d53f4dd.js";
32
- import "./config-provider-b16efd62.js";
24
+ import "./index-cbbd78b4.js";
25
+ import "./index-66ad0d6a.js";
26
+ import "./index-4e46f96c.js";
27
+ import "./castArray-1eb17278.js";
28
+ import "./debounce-33406a0d.js";
29
+ import "./config-provider-49c17381.js";
33
30
  const ae = { class: "variety-auto-complete" }, se = { key: 0 }, ne = { class: "label" }, re = {
34
31
  __name: "VarietySelect",
35
32
  props: {
@@ -52,9 +49,9 @@ const ae = { class: "variety-auto-complete" }, se = { key: 0 }, ne = { class: "l
52
49
  pageSize: 999,
53
50
  userId: oe("id"),
54
51
  hotSearchFlag: 1
55
- }, { body: l } = await q.request.post("/common/qt/getFeatureInfosByPage", o), S = l.list.map(({ code: u, featureName: r }) => ({
56
- label: `${u}   ${r}`,
57
- value: u
52
+ }, { body: l } = await q.request.post("/common/qt/getFeatureInfosByPage", o), S = l.list.map(({ code: i, featureName: r }) => ({
53
+ label: `${i}   ${r}`,
54
+ value: i
58
55
  }));
59
56
  v(S);
60
57
  }
@@ -86,8 +83,8 @@ const ae = { class: "variety-auto-complete" }, se = { key: 0 }, ne = { class: "l
86
83
  ]);
87
84
  };
88
85
  }
89
- }, ie = /* @__PURE__ */ F(re, [["__scopeId", "data-v-d433c4b8"]]);
90
- const ue = (p) => (X("data-v-e4f6c06a"), p = p(), Y(), p), ce = { class: "custom-header" }, pe = { class: "left" }, de = /* @__PURE__ */ ue(() => /* @__PURE__ */ c("span", null, " 选择变量 ", -1)), me = { class: "right" }, _e = { class: "custom-body" }, fe = { class: "config-list" }, ve = { class: "config-item" }, he = { key: 0 }, ye = { key: 0 }, Ve = { key: 1 }, be = { key: 0 }, ge = { style: { "max-width": "820px" } }, xe = { style: { "white-space": "pre-line" } }, Se = {
86
+ }, ue = /* @__PURE__ */ F(re, [["__scopeId", "data-v-d433c4b8"]]);
87
+ const ie = (p) => (ee("data-v-e4f6c06a"), p = p(), te(), p), ce = { class: "custom-header" }, pe = { class: "left" }, de = /* @__PURE__ */ ie(() => /* @__PURE__ */ c("span", null, " 选择变量 ", -1)), me = { class: "right" }, _e = { class: "custom-body" }, fe = { class: "config-list" }, ve = { class: "config-item" }, he = { key: 0 }, ye = { key: 0 }, Ve = { key: 1 }, be = { key: 0 }, ge = { style: { "max-width": "820px" } }, xe = { style: { "white-space": "pre-line" } }, Se = {
91
88
  __name: "index",
92
89
  props: {
93
90
  useCase: {
@@ -97,11 +94,11 @@ const ue = (p) => (X("data-v-e4f6c06a"), p = p(), Y(), p), ce = { class: "custom
97
94
  }
98
95
  },
99
96
  setup(p, { expose: U }) {
100
- const q = A("stConfig"), I = p, _ = $(null), f = $(!1), k = $(null), w = $([]), z = J(() => {
97
+ const q = A("stConfig"), I = p, _ = $(null), f = $(!1), k = $(null), w = $([]), z = X(() => {
101
98
  var o;
102
99
  return ((o = w.value.find((l) => l.varName === k.value)) == null ? void 0 : o.formatList) ?? [];
103
- }), d = (o) => o.replace(/^\[|\]$/g, "").split("],[").map((u) => {
104
- const r = u.replace(/\[|\]/g, ""), [B, V] = r.split(",");
100
+ }), d = (o) => o.replace(/^\[|\]$/g, "").split("],[").map((i) => {
101
+ const r = i.replace(/\[|\]/g, ""), [B, V] = r.split(",");
105
102
  return {
106
103
  label: B.trim(),
107
104
  value: V.trim()
@@ -126,25 +123,25 @@ const ue = (p) => (X("data-v-e4f6c06a"), p = p(), Y(), p), ce = { class: "custom
126
123
  }
127
124
  if (!_.value)
128
125
  return j.error("未检测到编辑器实例");
129
- const S = l.join("_"), u = _.value.getInstance(), r = u.getPosition(), V = _.value.getValue().split(`
126
+ const S = l.join("_"), i = _.value.getInstance(), r = i.getPosition(), V = _.value.getValue().split(`
130
127
  `);
131
128
  if (r.lineNumber <= V.length) {
132
129
  const b = r.lineNumber - 1, s = V[b], e = r.column - 1, g = e > 0 ? s[e - 1] : "", t = e < s.length ? s[e] : "";
133
130
  let x = S;
134
131
  g && g !== " " && !/[\s({[ ]/.test(g) && (x = " " + x), t && t !== " " && !/[\s)}\]]/.test(t) && (x = x + " ");
135
- const i = s.substring(0, e) + x + s.substring(e);
136
- V[b] = i;
132
+ const u = s.substring(0, e) + x + s.substring(e);
133
+ V[b] = u;
137
134
  const D = V.join(`
138
135
  `);
139
136
  _.value.setValue(D);
140
137
  const P = r.column + x.length;
141
- u.setPosition({
138
+ i.setPosition({
142
139
  lineNumber: r.lineNumber,
143
140
  column: P
144
- }), u.focus();
141
+ }), i.focus();
145
142
  }
146
143
  };
147
- return K(async () => {
144
+ return Y(async () => {
148
145
  const { body: o } = await q.request.post("/common/conf/queryAllBackVariables", { useCase: I.useCase });
149
146
  w.value = o ?? [];
150
147
  }), U({
@@ -160,7 +157,7 @@ const ue = (p) => (X("data-v-e4f6c06a"), p = p(), Y(), p), ce = { class: "custom
160
157
  f.value = !1;
161
158
  }
162
159
  }), (o, l) => {
163
- const S = G, u = H, r = te, B = W, V = R, b = O, s = M;
160
+ const S = K, i = Q, r = R, B = J, V = H, b = G, s = W;
164
161
  return a(), N(s, {
165
162
  "modal-class": "var-select-dialog",
166
163
  modelValue: f.value,
@@ -178,7 +175,7 @@ const ue = (p) => (X("data-v-e4f6c06a"), p = p(), Y(), p), ce = { class: "custom
178
175
  c("div", ce, [
179
176
  c("div", pe, [
180
177
  de,
181
- y(u, {
178
+ y(i, {
182
179
  modelValue: k.value,
183
180
  "onUpdate:modelValue": l[0] || (l[0] = (e) => k.value = e),
184
181
  placeholder: "选择变量",
@@ -201,7 +198,7 @@ const ue = (p) => (X("data-v-e4f6c06a"), p = p(), Y(), p), ce = { class: "custom
201
198
  onClick: l[1] || (l[1] = (e) => f.value = !1)
202
199
  }, {
203
200
  default: m(() => [
204
- y(T(Z))
201
+ y(T(M))
205
202
  ]),
206
203
  _: 1
207
204
  })
@@ -219,39 +216,39 @@ const ue = (p) => (X("data-v-e4f6c06a"), p = p(), Y(), p), ce = { class: "custom
219
216
  (a(!0), n(E, null, L(e.configList, (t, x) => (a(), n(E, null, [
220
217
  c("div", ve, [
221
218
  t.vtype === "text" ? (a(), n("span", he, C(t.param), 1)) : h("", !0),
222
- t.vtype === "inputVariety" ? (a(), N(ie, {
219
+ t.vtype === "inputVariety" ? (a(), N(ue, {
223
220
  key: 1,
224
221
  size: "small",
225
222
  placeholder: t.param,
226
223
  selectClearEnable: !1,
227
224
  labelShowEnable: !1,
228
- onSelect: ({ name: i, code: D }) => t.modelValue = D,
229
- onChange: (i) => t.modelValue = i,
225
+ onSelect: ({ name: u, code: D }) => t.modelValue = D,
226
+ onChange: (u) => t.modelValue = u,
230
227
  style: { width: "100px" }
231
228
  }, null, 8, ["placeholder", "onSelect", "onChange"])) : h("", !0),
232
229
  t.vtype === "input" ? (a(), n(E, { key: 2 }, [
233
230
  t.prefix ? (a(), n("span", ye, C(t.prefix), 1)) : h("", !0),
234
231
  y(B, {
235
232
  modelValue: t.modelValue,
236
- "onUpdate:modelValue": (i) => t.modelValue = i,
233
+ "onUpdate:modelValue": (u) => t.modelValue = u,
237
234
  placeholder: t.param,
238
235
  size: "small"
239
236
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
240
237
  t.suffix ? (a(), n("span", Ve, C(t.suffix), 1)) : h("", !0)
241
238
  ], 64)) : h("", !0),
242
- t.vtype === "select" ? (a(), N(u, {
239
+ t.vtype === "select" ? (a(), N(i, {
243
240
  key: 3,
244
241
  modelValue: t.modelValue,
245
- "onUpdate:modelValue": (i) => t.modelValue = i,
242
+ "onUpdate:modelValue": (u) => t.modelValue = u,
246
243
  placeholder: t.param,
247
244
  clearable: "",
248
245
  size: "small"
249
246
  }, {
250
247
  default: m(() => [
251
- (a(!0), n(E, null, L(d(t.optionsStr), (i) => (a(), N(S, {
252
- key: i.value,
253
- label: i.label,
254
- value: i.value
248
+ (a(!0), n(E, null, L(d(t.optionsStr), (u) => (a(), N(S, {
249
+ key: u.value,
250
+ label: u.label,
251
+ value: u.value
255
252
  }, null, 8, ["label", "value"]))), 128))
256
253
  ]),
257
254
  _: 2
@@ -267,7 +264,7 @@ const ue = (p) => (X("data-v-e4f6c06a"), p = p(), Y(), p), ce = { class: "custom
267
264
  onClick: (t) => v(e.configList)
268
265
  }, {
269
266
  default: m(() => [
270
- Q(" 插入变量 ")
267
+ Z(" 插入变量 ")
271
268
  ]),
272
269
  _: 2
273
270
  }, 1032, ["onClick"]),
@@ -283,7 +280,7 @@ const ue = (p) => (X("data-v-e4f6c06a"), p = p(), Y(), p), ce = { class: "custom
283
280
  default: m(() => [
284
281
  y(r, null, {
285
282
  default: m(() => [
286
- y(T(ee))
283
+ y(T(O))
287
284
  ]),
288
285
  _: 1
289
286
  })
@@ -297,11 +294,11 @@ const ue = (p) => (X("data-v-e4f6c06a"), p = p(), Y(), p), ce = { class: "custom
297
294
  }, 8, ["modelValue"]);
298
295
  };
299
296
  }
300
- }, Ee = /* @__PURE__ */ F(Se, [["__scopeId", "data-v-e4f6c06a"]]), ot = {
297
+ }, Ee = /* @__PURE__ */ F(Se, [["__scopeId", "data-v-e4f6c06a"]]), et = {
301
298
  install(p) {
302
299
  p.component("st-varSelectDialog", Ee);
303
300
  }
304
301
  };
305
302
  export {
306
- ot as default
303
+ et as default
307
304
  };
@@ -1 +1 @@
1
- "use strict";require("./base-ef747d02.cjs");const f=require("./el-autocomplete-a07e9439.cjs");require("./el-input-7fd293af.cjs");require("./el-scrollbar-bc3f790d.cjs");require("./el-popper-b6c99b28.cjs");const e=require("vue"),q=require("./index-8901a38c.cjs"),x=require("./_plugin-vue_export-helper-f246444f.cjs");require("./use-form-common-props-fd9b61a0.cjs");require("./index-9780a537.cjs");require("./index-098c2447.cjs");require("./index-298075cf.cjs");require("./debounce-62f5b6e8.cjs");require("./typescript-b63f8e83.cjs");require("./index-11547a0c.cjs");const S={class:"variety-auto-complete"},b={key:0,class:"label"},v={class:"label"},C={__name:"index",props:{width:{type:String,default:"200px"},size:{type:String,default:"default"},label:{type:String,default:"品种搜索"},placeholder:{type:String,default:"请输入品种名称或代码"},selectClearEnable:{type:Boolean,default:!0}},emits:["input","select","change"],setup(o,{emit:u}){const d=e.inject("stConfig"),s=u,r=o,i=e.ref(""),p=async(t,l)=>{if(t===""||t==="null")l([]);else{const a={keyWord:t,pageNum:1,pageSize:999,userId:q.V("id"),hotSearchFlag:1},{body:n}=await d.request.post("/common/qt/getFeatureInfosByPage",a),h=n.list.map(({code:c,featureName:y})=>({label:`${c}   ${y}`,value:c}));l(h)}},m=t=>{s("input",t)},g=({label:t,value:l})=>{const a=t.split(" ").at(-1);s("select",{name:a,code:l}),r.selectClearEnable&&(i.value="")},_=t=>{s("change",t)};return(t,l)=>{const a=f.ElAutocomplete;return e.openBlock(),e.createElementBlock("div",S,[o.label?(e.openBlock(),e.createElementBlock("span",b,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createVNode(a,{modelValue:i.value,"onUpdate:modelValue":l[0]||(l[0]=n=>i.value=n),clearable:"",size:r.size,placeholder:r.placeholder,"fetch-suggestions":p,onInput:m,onSelect:g,onChange:_,style:e.normalizeStyle({width:o.width})},{default:e.withCtx(({item:n})=>[e.createElementVNode("div",v,e.toDisplayString(n.label),1)]),_:1},8,["modelValue","size","placeholder","style"])])}}},V=x._export_sfc(C,[["__scopeId","data-v-03da1466"]]),z={install(o){o.component("st-varietyAutoComplete",V)}};module.exports=z;
1
+ "use strict";require("./base-7ba08794.cjs");const f=require("./el-autocomplete-609ac86d.cjs");require("./el-input-b04b5bfc.cjs");require("./el-scrollbar-bc3f790d.cjs");require("./el-popper-1dd8f5b4.cjs");const e=require("vue"),q=require("./index-8901a38c.cjs"),x=require("./_plugin-vue_export-helper-f246444f.cjs");require("./use-form-common-props-41182853.cjs");require("./index-ae6c9d97.cjs");require("./debounce-4aa22feb.cjs");require("./typescript-b63f8e83.cjs");require("./index-d8294b1a.cjs");const S={class:"variety-auto-complete"},b={key:0,class:"label"},v={class:"label"},C={__name:"index",props:{width:{type:String,default:"200px"},size:{type:String,default:"default"},label:{type:String,default:"品种搜索"},placeholder:{type:String,default:"请输入品种名称或代码"},selectClearEnable:{type:Boolean,default:!0}},emits:["input","select","change"],setup(o,{emit:u}){const d=e.inject("stConfig"),s=u,r=o,c=e.ref(""),p=async(t,l)=>{if(t===""||t==="null")l([]);else{const a={keyWord:t,pageNum:1,pageSize:999,userId:q.V("id"),hotSearchFlag:1},{body:n}=await d.request.post("/common/qt/getFeatureInfosByPage",a),h=n.list.map(({code:i,featureName:y})=>({label:`${i}   ${y}`,value:i}));l(h)}},m=t=>{s("input",t)},g=({label:t,value:l})=>{const a=t.split(" ").at(-1);s("select",{name:a,code:l}),r.selectClearEnable&&(c.value="")},_=t=>{s("change",t)};return(t,l)=>{const a=f.ElAutocomplete;return e.openBlock(),e.createElementBlock("div",S,[o.label?(e.openBlock(),e.createElementBlock("span",b,e.toDisplayString(o.label),1)):e.createCommentVNode("",!0),e.createVNode(a,{modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=n=>c.value=n),clearable:"",size:r.size,placeholder:r.placeholder,"fetch-suggestions":p,onInput:m,onSelect:g,onChange:_,style:e.normalizeStyle({width:o.width})},{default:e.withCtx(({item:n})=>[e.createElementVNode("div",v,e.toDisplayString(n.label),1)]),_:1},8,["modelValue","size","placeholder","style"])])}}},V=x._export_sfc(C,[["__scopeId","data-v-03da1466"]]),z={install(o){o.component("st-varietyAutoComplete",V)}};module.exports=z;
@@ -1,18 +1,16 @@
1
- import "./base-a5af3db3.js";
2
- import { E as S } from "./el-autocomplete-ba808eb6.js";
3
- import "./el-input-2f75c4ba.js";
1
+ import "./base-aa512893.js";
2
+ import { E as S } from "./el-autocomplete-87b7f461.js";
3
+ import "./el-input-262851e8.js";
4
4
  import "./el-scrollbar-323542e7.js";
5
- import "./el-popper-b4f97157.js";
6
- import { inject as b, ref as C, openBlock as r, createElementBlock as p, toDisplayString as m, createCommentVNode as v, createVNode as V, normalizeStyle as z, withCtx as E, createElementVNode as w } from "vue";
5
+ import "./el-popper-49152708.js";
6
+ import { inject as b, ref as C, openBlock as r, createElementBlock as p, toDisplayString as d, createCommentVNode as v, createVNode as V, normalizeStyle as z, withCtx as E, createElementVNode as w } from "vue";
7
7
  import { V as I } from "./index-7ed0999e.js";
8
8
  import { _ as B } from "./_plugin-vue_export-helper-dad06003.js";
9
- import "./use-form-common-props-815d48a6.js";
10
- import "./index-960806da.js";
11
- import "./index-a871c3eb.js";
12
- import "./index-844bdd85.js";
13
- import "./debounce-8d53f4dd.js";
9
+ import "./use-form-common-props-4cdda474.js";
10
+ import "./index-66ad0d6a.js";
11
+ import "./debounce-33406a0d.js";
14
12
  import "./typescript-7ae59c4c.js";
15
- import "./index-d91dc23f.js";
13
+ import "./index-cbbd78b4.js";
16
14
  const N = { class: "variety-auto-complete" }, k = {
17
15
  key: 0,
18
16
  class: "label"
@@ -27,8 +25,8 @@ const N = { class: "variety-auto-complete" }, k = {
27
25
  // 选择后是否自动清空值
28
26
  },
29
27
  emits: ["input", "select", "change"],
30
- setup(o, { emit: d }) {
31
- const u = b("stConfig"), n = d, s = o, i = C(""), f = async (e, t) => {
28
+ setup(o, { emit: m }) {
29
+ const u = b("stConfig"), n = m, s = o, i = C(""), f = async (e, t) => {
32
30
  if (e === "" || e === "null")
33
31
  t([]);
34
32
  else {
@@ -55,7 +53,7 @@ const N = { class: "variety-auto-complete" }, k = {
55
53
  return (e, t) => {
56
54
  const a = S;
57
55
  return r(), p("div", N, [
58
- o.label ? (r(), p("span", k, m(o.label), 1)) : v("", !0),
56
+ o.label ? (r(), p("span", k, d(o.label), 1)) : v("", !0),
59
57
  V(a, {
60
58
  modelValue: i.value,
61
59
  "onUpdate:modelValue": t[0] || (t[0] = (l) => i.value = l),
@@ -69,18 +67,18 @@ const N = { class: "variety-auto-complete" }, k = {
69
67
  style: z({ width: o.width })
70
68
  }, {
71
69
  default: E(({ item: l }) => [
72
- w("div", A, m(l.label), 1)
70
+ w("div", A, d(l.label), 1)
73
71
  ]),
74
72
  _: 1
75
73
  }, 8, ["modelValue", "size", "placeholder", "style"])
76
74
  ]);
77
75
  };
78
76
  }
79
- }, F = /* @__PURE__ */ B(q, [["__scopeId", "data-v-03da1466"]]), T = {
77
+ }, F = /* @__PURE__ */ B(q, [["__scopeId", "data-v-03da1466"]]), Q = {
80
78
  install(o) {
81
79
  o.component("st-varietyAutoComplete", F);
82
80
  }
83
81
  };
84
82
  export {
85
- T as default
83
+ Q as default
86
84
  };