st-comp 0.0.208 → 0.0.209

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