st-comp 0.0.173 → 0.0.175

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 (76) hide show
  1. package/es/ChartLayout.js +3 -3
  2. package/es/Dialog.js +14 -14
  3. package/es/FactorWarning.cjs +1 -1
  4. package/es/FactorWarning.js +337 -817
  5. package/es/Kline.js +16 -16
  6. package/es/KlineBasic.js +26 -26
  7. package/es/KlineConfig.cjs +1 -1
  8. package/es/KlineConfig.js +41 -40
  9. package/es/KlineNew.js +14 -14
  10. package/es/KlinePlus.js +17 -17
  11. package/es/Pagination.js +19 -19
  12. package/es/PasswordPrompt.js +3 -3
  13. package/es/Table.js +21 -21
  14. package/es/User.js +39 -39
  15. package/es/VarSelectDialog.cjs +2 -2
  16. package/es/VarSelectDialog.js +173 -169
  17. package/es/VarietySearch.cjs +6 -6
  18. package/es/VarietySearch.js +1055 -1033
  19. package/es/VirtualTable.js +494 -494
  20. package/es/{_initCloneObject-a9305c1e.js → _initCloneObject-da90eef0.js} +3 -3
  21. package/es/{base-4bcd2756.js → base-d9284bf0.js} +23 -23
  22. package/es/{castArray-681d750b.js → castArray-b0ab0165.js} +1 -1
  23. package/es/{config-provider-93846ae3.js → config-provider-f0151e9f.js} +10 -10
  24. package/es/{debounce-51046b06.js → debounce-3cec4646.js} +1 -1
  25. package/es/{dropdown-65e74de8.js → dropdown-82b80e8b.js} +6 -6
  26. package/es/{el-button-d39472d3.js → el-button-34665425.js} +9 -9
  27. package/es/{el-dialog-f45ec2a1.js → el-dialog-a412484e.js} +17 -17
  28. package/es/{el-divider-7cf13678.js → el-divider-fd2b4e2e.js} +4 -4
  29. package/es/{el-empty-64b2ea8a.js → el-empty-412fc297.js} +2 -2
  30. package/es/{el-form-item-b31e7a98.js → el-form-item-668ba024.js} +65 -65
  31. package/es/{el-input-42315ac4.js → el-input-22e66e37.js} +22 -22
  32. package/es/{el-input-number-ebd64e22.js → el-input-number-481e21c5.js} +26 -26
  33. package/es/{el-loading-5d29f26d.js → el-loading-d4e403ab.js} +5 -5
  34. package/es/{el-menu-item-d62e0a3f.js → el-menu-item-404c10e5.js} +8 -8
  35. package/es/el-message-box-41f39f6d.js +558 -0
  36. package/es/el-message-box-6694f827.cjs +1 -0
  37. package/es/{el-message-bd1d2c82.js → el-message-ef506caa.js} +24 -24
  38. package/es/{el-overlay-690b50aa.js → el-overlay-4a9fa4e1.js} +30 -30
  39. package/es/{el-popconfirm-88bbd066.js → el-popconfirm-7b9183aa.js} +6 -6
  40. package/es/{el-popper-85365d5b.js → el-popper-e73466eb.js} +5 -5
  41. package/es/{el-scrollbar-bcf29780.js → el-scrollbar-45318df0.js} +8 -8
  42. package/es/el-segmented-3ba6d664.cjs +1 -0
  43. package/es/el-segmented-41820018.js +135 -0
  44. package/es/{el-select-d3bce4d1.js → el-select-d7a00294.js} +13 -13
  45. package/es/{el-table-column-9691b26d.js → el-table-column-a2d0c635.js} +122 -122
  46. package/es/{el-tag-6036f51c.js → el-tag-7f391090.js} +32 -32
  47. package/es/{index-d3c37134.js → index-1c41bd56.js} +3 -3
  48. package/es/index-3120be08.js +14 -0
  49. package/es/{index-fbe85773.js → index-85a32a00.js} +15 -15
  50. package/es/{index-21fb27eb.js → index-94f38460.js} +19 -19
  51. package/es/{index-ef7c4392.js → index-a8e9ec0f.js} +23 -23
  52. package/es/{index-cb8157f2.js → index-d577b81b.js} +2 -2
  53. package/es/{index-8ee89b40.js → index-d99fdc6d.js} +8 -8
  54. package/es/{index-3425f2f0.js → index-ee1cebbc.js} +5 -5
  55. package/es/{raf-36faa519.js → raf-bfbf42e4.js} +1 -1
  56. package/es/{scroll-0277d145.js → scroll-e3cb691f.js} +2 -2
  57. package/es/style.css +1 -1
  58. package/es/{use-form-common-props-54c31983.js → use-form-common-props-cc347a83.js} +36 -36
  59. package/es/{use-global-config-946f61a4.js → use-global-config-c7f0a7e3.js} +3 -3
  60. package/es/validator-10fa54fe.js +5 -0
  61. package/es/validator-af488a9a.cjs +1 -0
  62. package/es/{vnode-dfc92f20.js → vnode-6be33bb1.js} +1 -1
  63. package/es/{zh-cn-5066f5e9.js → zh-cn-d883afa8.js} +2 -2
  64. package/lib/bundle.js +1 -1
  65. package/lib/bundle.umd.cjs +172 -172
  66. package/lib/{index-c35886c2.js → index-d3f4c395.js} +11045 -11020
  67. package/lib/{python-37ee7d62.js → python-0128b724.js} +1 -1
  68. package/lib/style.css +1 -1
  69. package/package.json +1 -1
  70. package/packages/VarSelectDialog/index.vue +5 -1
  71. package/packages/VarietySearch/components/FactorScreen/index.vue +271 -254
  72. package/es/el-checkbox-group-020b49f5.cjs +0 -1
  73. package/es/el-checkbox-group-779f353a.js +0 -67
  74. package/es/el-segmented-84707138.js +0 -136
  75. package/es/el-segmented-bccd9f2a.cjs +0 -1
  76. package/es/index-c45ac024.js +0 -14
@@ -1,30 +1,30 @@
1
- import { k as gi, m as Wn, N as mi, a as Ht, c as yi, u as bi, _ as xi, o as Gt, t as wi, w as _i } from "./base-4bcd2756.js";
1
+ import { b as gi, d as Wn, N as mi, i as Ht, e as yi, u as bi, _ as xi, g as Gt, t as wi, w as _i } from "./base-d9284bf0.js";
2
2
  import "./el-tooltip-4ed993c7.js";
3
- import { b as Ei, u as Si, E as Un, a as Ti } from "./el-popper-85365d5b.js";
4
- import { E as ki } from "./el-button-d39472d3.js";
5
- import { u as Pi, E as Hn } from "./el-input-42315ac4.js";
6
- import "./el-tag-6036f51c.js";
7
- import { E as Oi, a as Ii } from "./el-select-d3bce4d1.js";
8
- import { o as Di } from "./el-scrollbar-bcf29780.js";
9
- import { defineComponent as Gn, useAttrs as Mi, ref as H, computed as it, onBeforeUnmount as zi, onMounted as Kn, openBlock as V, createBlock as ot, unref as M, withCtx as ae, createElementVNode as ve, normalizeClass as Et, normalizeStyle as Kt, createVNode as pe, createElementBlock as Z, renderSlot as We, Fragment as Fe, renderList as at, createTextVNode as Jn, toDisplayString as Xe, mergeProps as Ai, withKeys as rt, withModifiers as Xn, createSlots as Ci, inject as Qn, createCommentVNode as Te, withDirectives as Ri, vShow as ji, pushScopeId as Fi, popScopeId as Vi } from "vue";
3
+ import { b as Ei, u as Si, E as Un, a as Ti } from "./el-popper-e73466eb.js";
4
+ import { E as ki } from "./el-button-34665425.js";
5
+ import { u as Pi, E as Hn } from "./el-input-22e66e37.js";
6
+ import "./el-tag-7f391090.js";
7
+ import { E as Oi, a as Ii } from "./el-select-d7a00294.js";
8
+ import { o as Di } from "./el-scrollbar-45318df0.js";
9
+ import { defineComponent as Gn, useAttrs as Mi, ref as H, computed as it, onBeforeUnmount as zi, onMounted as Kn, openBlock as V, createBlock as ot, unref as M, withCtx as ne, createElementVNode as pe, normalizeClass as Et, normalizeStyle as Kt, createVNode as de, createElementBlock as Z, renderSlot as Xe, Fragment as Fe, renderList as at, createTextVNode as Jn, toDisplayString as Ve, mergeProps as Ai, withKeys as rt, withModifiers as Xn, createSlots as Ci, inject as Qn, createCommentVNode as Te, withDirectives as Ri, vShow as ji, pushScopeId as Fi, popScopeId as Vi } from "vue";
10
10
  import { g as $i, c as Ni } from "./_commonjsHelpers-10dfc225.js";
11
- import { E as Zn, l as Bi, c as Li, i as Wi } from "./index-3425f2f0.js";
11
+ import { E as Zn, l as Bi, c as Li, i as Wi } from "./index-ee1cebbc.js";
12
12
  import { V as Xi } from "./index-7ed0999e.js";
13
13
  import { _ as er } from "./_plugin-vue_export-helper-dad06003.js";
14
- import { U as St, I as Jt, C as tr } from "./index-21fb27eb.js";
15
- import { d as Yi } from "./use-form-common-props-54c31983.js";
16
- import { u as qi } from "./index-ef7c4392.js";
17
- import { d as Ui } from "./debounce-51046b06.js";
18
- import { E as Yn } from "./el-message-bd1d2c82.js";
19
- import "./index-c45ac024.js";
20
- import "./use-global-config-946f61a4.js";
14
+ import { U as St, I as Jt, C as tr } from "./index-94f38460.js";
15
+ import { c as Yi } from "./use-form-common-props-cc347a83.js";
16
+ import { a as qi } from "./index-a8e9ec0f.js";
17
+ import { d as Ui } from "./debounce-3cec4646.js";
18
+ import { E as Yn } from "./el-message-ef506caa.js";
19
+ import "./index-3120be08.js";
20
+ import "./use-global-config-c7f0a7e3.js";
21
21
  import "./index-657047bb.js";
22
22
  import "./typescript-7ae59c4c.js";
23
- import "./index-fbe85773.js";
24
- import "./index-d3c37134.js";
25
- import "./castArray-681d750b.js";
26
- import "./scroll-0277d145.js";
27
- import "./config-provider-93846ae3.js";
23
+ import "./index-85a32a00.js";
24
+ import "./index-1c41bd56.js";
25
+ import "./castArray-b0ab0165.js";
26
+ import "./scroll-e3cb691f.js";
27
+ import "./config-provider-f0151e9f.js";
28
28
  const Hi = gi({
29
29
  valueKey: {
30
30
  type: String,
@@ -104,10 +104,10 @@ const Hi = gi({
104
104
  ...Ki,
105
105
  props: Hi,
106
106
  emits: Gi,
107
- setup(I, { expose: Ve, emit: Y }) {
108
- const z = I, ne = Pi(), A = Mi(), he = Yi(), P = bi("autocomplete"), F = H(), W = H(), C = H(), ee = H();
107
+ setup(I, { expose: $e, emit: Y }) {
108
+ const z = I, re = Pi(), A = Mi(), he = Yi(), P = bi("autocomplete"), F = H(), W = H(), C = H(), ee = H();
109
109
  let J = !1, le = !1;
110
- const $ = H([]), O = H(-1), q = H(""), N = H(!1), R = H(!1), B = H(!1), X = qi(), re = it(() => A.style), U = it(() => ($.value.length > 0 || B.value) && N.value), d = it(() => !z.hideLoading && B.value), G = it(() => F.value ? Array.from(F.value.$el.querySelectorAll("input")) : []), D = () => {
110
+ const $ = H([]), O = H(-1), q = H(""), N = H(!1), R = H(!1), B = H(!1), X = qi(), ie = it(() => A.style), U = it(() => ($.value.length > 0 || B.value) && N.value), d = it(() => !z.hideLoading && B.value), G = it(() => F.value ? Array.from(F.value.$el.querySelectorAll("input")) : []), D = () => {
111
111
  U.value && (q.value = `${F.value.$el.offsetWidth}px`);
112
112
  }, ge = () => {
113
113
  O.value = -1;
@@ -148,8 +148,8 @@ const Hi = gi({
148
148
  });
149
149
  }, st = () => {
150
150
  N.value = !1, Y(St, ""), Y("clear");
151
- }, de = async () => {
152
- U.value && O.value >= 0 && O.value < $.value.length ? $e($.value[O.value]) : z.selectWhenUnmatched && (Y("select", { value: z.modelValue }), $.value = [], O.value = -1);
151
+ }, fe = async () => {
152
+ U.value && O.value >= 0 && O.value < $.value.length ? Ne($.value[O.value]) : z.selectWhenUnmatched && (Y("select", { value: z.modelValue }), $.value = [], O.value = -1);
153
153
  }, me = (x) => {
154
154
  U.value && (x.preventDefault(), x.stopPropagation(), be());
155
155
  }, be = () => {
@@ -160,7 +160,7 @@ const Hi = gi({
160
160
  }, Ye = () => {
161
161
  var x;
162
162
  (x = F.value) == null || x.blur();
163
- }, $e = async (x) => {
163
+ }, Ne = async (x) => {
164
164
  Y(Jt, x[z.valueKey]), Y(St, x[z.valueKey]), Y("select", x), $.value = [], O.value = -1;
165
165
  }, Me = (x) => {
166
166
  if (!U.value || B.value)
@@ -172,23 +172,23 @@ const Hi = gi({
172
172
  x >= $.value.length && (x = $.value.length - 1);
173
173
  const L = W.value.querySelector(`.${P.be("suggestion", "wrap")}`), xe = L.querySelectorAll(`.${P.be("suggestion", "list")} li`)[x], we = L.scrollTop, { offsetTop: ze, scrollHeight: Ae } = xe;
174
174
  ze + Ae > we + L.clientHeight && (L.scrollTop += Ae), ze < we && (L.scrollTop -= Ae), O.value = x, F.value.ref.setAttribute("aria-activedescendant", `${X.value}-item-${O.value}`);
175
- }, Ne = Di(ee, () => {
175
+ }, Be = Di(ee, () => {
176
176
  var x;
177
177
  (x = C.value) != null && x.isFocusInsideContent() || U.value && be();
178
178
  });
179
179
  return zi(() => {
180
- Ne == null || Ne();
180
+ Be == null || Be();
181
181
  }), Kn(() => {
182
182
  F.value.ref.setAttribute("role", "textbox"), F.value.ref.setAttribute("aria-autocomplete", "list"), F.value.ref.setAttribute("aria-controls", "id"), F.value.ref.setAttribute("aria-activedescendant", `${X.value}-item-${O.value}`), J = F.value.ref.hasAttribute("readonly");
183
- }), Ve({
183
+ }), $e({
184
184
  highlightedIndex: O,
185
185
  activated: N,
186
186
  loading: B,
187
187
  inputRef: F,
188
188
  popperRef: C,
189
189
  suggestions: $,
190
- handleSelect: $e,
191
- handleKeyEnter: de,
190
+ handleSelect: Ne,
191
+ handleKeyEnter: fe,
192
192
  focus: lt,
193
193
  blur: Ye,
194
194
  close: be,
@@ -213,8 +213,8 @@ const Hi = gi({
213
213
  onBeforeShow: D,
214
214
  onHide: ge
215
215
  }, {
216
- content: ae(() => [
217
- ve("div", {
216
+ content: ne(() => [
217
+ pe("div", {
218
218
  ref_key: "regionRef",
219
219
  ref: W,
220
220
  class: Et([M(P).b("suggestion"), M(P).is("loading", M(d))]),
@@ -224,21 +224,21 @@ const Hi = gi({
224
224
  }),
225
225
  role: "region"
226
226
  }, [
227
- pe(M(Ti), {
227
+ de(M(Ti), {
228
228
  id: M(X),
229
229
  tag: "ul",
230
230
  "wrap-class": M(P).be("suggestion", "wrap"),
231
231
  "view-class": M(P).be("suggestion", "list"),
232
232
  role: "listbox"
233
233
  }, {
234
- default: ae(() => [
234
+ default: ne(() => [
235
235
  M(d) ? (V(), Z("li", { key: 0 }, [
236
- We(x.$slots, "loading", {}, () => [
237
- pe(M(Zn), {
236
+ Xe(x.$slots, "loading", {}, () => [
237
+ de(M(Zn), {
238
238
  class: Et(M(P).is("loading"))
239
239
  }, {
240
- default: ae(() => [
241
- pe(M(Bi))
240
+ default: ne(() => [
241
+ de(M(Bi))
242
242
  ]),
243
243
  _: 1
244
244
  }, 8, ["class"])
@@ -249,10 +249,10 @@ const Hi = gi({
249
249
  class: Et({ highlighted: O.value === xe }),
250
250
  role: "option",
251
251
  "aria-selected": O.value === xe,
252
- onClick: (we) => $e(y)
252
+ onClick: (we) => Ne(y)
253
253
  }, [
254
- We(x.$slots, "default", { item: y }, () => [
255
- Jn(Xe(y[x.valueKey]), 1)
254
+ Xe(x.$slots, "default", { item: y }, () => [
255
+ Jn(Ve(y[x.valueKey]), 1)
256
256
  ])
257
257
  ], 10, ["id", "aria-selected", "onClick"]))), 128))
258
258
  ]),
@@ -260,21 +260,21 @@ const Hi = gi({
260
260
  }, 8, ["id", "wrap-class", "view-class"])
261
261
  ], 6)
262
262
  ]),
263
- default: ae(() => [
264
- ve("div", {
263
+ default: ne(() => [
264
+ pe("div", {
265
265
  ref_key: "listboxRef",
266
266
  ref: ee,
267
267
  class: Et([M(P).b(), x.$attrs.class]),
268
- style: Kt(M(re)),
268
+ style: Kt(M(ie)),
269
269
  role: "combobox",
270
270
  "aria-haspopup": "listbox",
271
271
  "aria-expanded": M(U),
272
272
  "aria-owns": M(X)
273
273
  }, [
274
- pe(M(Hn), Ai({
274
+ de(M(Hn), Ai({
275
275
  ref_key: "inputRef",
276
276
  ref: F
277
- }, M(ne), {
277
+ }, M(re), {
278
278
  clearable: x.clearable,
279
279
  disabled: M(he),
280
280
  name: x.name,
@@ -288,7 +288,7 @@ const Hi = gi({
288
288
  onKeydown: [
289
289
  rt(Xn((y) => Me(O.value - 1), ["prevent"]), ["up"]),
290
290
  rt(Xn((y) => Me(O.value + 1), ["prevent"]), ["down"]),
291
- rt(de, ["enter"]),
291
+ rt(fe, ["enter"]),
292
292
  rt(be, ["tab"]),
293
293
  rt(me, ["esc"])
294
294
  ],
@@ -298,26 +298,26 @@ const Hi = gi({
298
298
  }, [
299
299
  x.$slots.prepend ? {
300
300
  name: "prepend",
301
- fn: ae(() => [
302
- We(x.$slots, "prepend")
301
+ fn: ne(() => [
302
+ Xe(x.$slots, "prepend")
303
303
  ])
304
304
  } : void 0,
305
305
  x.$slots.append ? {
306
306
  name: "append",
307
- fn: ae(() => [
308
- We(x.$slots, "append")
307
+ fn: ne(() => [
308
+ Xe(x.$slots, "append")
309
309
  ])
310
310
  } : void 0,
311
311
  x.$slots.prefix ? {
312
312
  name: "prefix",
313
- fn: ae(() => [
314
- We(x.$slots, "prefix")
313
+ fn: ne(() => [
314
+ Xe(x.$slots, "prefix")
315
315
  ])
316
316
  } : void 0,
317
317
  x.$slots.suffix ? {
318
318
  name: "suffix",
319
- fn: ae(() => [
320
- We(x.$slots, "suffix")
319
+ fn: ne(() => [
320
+ Xe(x.$slots, "suffix")
321
321
  ])
322
322
  } : void 0
323
323
  ]), 1040, ["clearable", "disabled", "name", "model-value", "aria-label", "onKeydown"])
@@ -331,7 +331,7 @@ var Qi = /* @__PURE__ */ xi(Ji, [["__file", "autocomplete.vue"]]);
331
331
  const Zi = _i(Qi);
332
332
  var Tt = { exports: {} };
333
333
  Tt.exports;
334
- (function(I, Ve) {
334
+ (function(I, $e) {
335
335
  (function(Y, z) {
336
336
  I.exports = z();
337
337
  })(Ni, function() {
@@ -356,12 +356,12 @@ Tt.exports;
356
356
  }
357
357
  return t;
358
358
  }
359
- function ne(t) {
360
- return ne = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
359
+ function re(t) {
360
+ return re = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
361
361
  return typeof e;
362
362
  } : function(e) {
363
363
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
364
- }, ne(t);
364
+ }, re(t);
365
365
  }
366
366
  function A(t, e) {
367
367
  if (!(t instanceof e))
@@ -468,29 +468,29 @@ Tt.exports;
468
468
  return q(t) ? t : (t.ownerDocument || t).defaultView || R.window;
469
469
  }
470
470
  typeof window < "u" && window && B(window);
471
- var re = function(t) {
472
- return !!t && ne(t) === "object";
471
+ var ie = function(t) {
472
+ return !!t && re(t) === "object";
473
473
  }, U = function(t) {
474
474
  return typeof t == "function";
475
475
  }, d = { window: function(t) {
476
476
  return t === R || q(t);
477
477
  }, docFrag: function(t) {
478
- return re(t) && t.nodeType === 11;
479
- }, object: re, func: U, number: function(t) {
478
+ return ie(t) && t.nodeType === 11;
479
+ }, object: ie, func: U, number: function(t) {
480
480
  return typeof t == "number";
481
481
  }, bool: function(t) {
482
482
  return typeof t == "boolean";
483
483
  }, string: function(t) {
484
484
  return typeof t == "string";
485
485
  }, element: function(t) {
486
- if (!t || ne(t) !== "object")
486
+ if (!t || re(t) !== "object")
487
487
  return !1;
488
488
  var e = X(t) || R;
489
- return /object|function/.test(typeof Element > "u" ? "undefined" : ne(Element)) ? t instanceof Element || t instanceof e.Element : t.nodeType === 1 && typeof t.nodeName == "string";
489
+ return /object|function/.test(typeof Element > "u" ? "undefined" : re(Element)) ? t instanceof Element || t instanceof e.Element : t.nodeType === 1 && typeof t.nodeName == "string";
490
490
  }, plainObject: function(t) {
491
- return re(t) && !!t.constructor && /function Object\b/.test(t.constructor.toString());
491
+ return ie(t) && !!t.constructor && /function Object\b/.test(t.constructor.toString());
492
492
  }, array: function(t) {
493
- return re(t) && t.length !== void 0 && U(t.splice);
493
+ return ie(t) && t.length !== void 0 && U(t.splice);
494
494
  } };
495
495
  function G(t) {
496
496
  var e = t.interaction;
@@ -546,11 +546,11 @@ Tt.exports;
546
546
  for (; d.element(t); ) {
547
547
  if (me(t, e))
548
548
  return t;
549
- t = de(t);
549
+ t = fe(t);
550
550
  }
551
551
  return null;
552
552
  }
553
- function de(t) {
553
+ function fe(t) {
554
554
  var e = t.parentNode;
555
555
  if (d.docFrag(e)) {
556
556
  for (; (e = e.host) && d.docFrag(e); )
@@ -574,19 +574,19 @@ Tt.exports;
574
574
  for (; d.element(t); ) {
575
575
  if (me(t, e))
576
576
  return !0;
577
- if ((t = de(t)) === n)
577
+ if ((t = fe(t)) === n)
578
578
  return me(t, e);
579
579
  }
580
580
  return !1;
581
581
  }
582
- function $e(t) {
582
+ function Ne(t) {
583
583
  return t.correspondingUseElement || t;
584
584
  }
585
585
  function Me(t) {
586
586
  var e = t instanceof K.SVGElement ? t.getBoundingClientRect() : t.getClientRects()[0];
587
587
  return e && { left: e.left, right: e.right, top: e.top, bottom: e.bottom, width: e.width || e.right - e.left, height: e.height || e.bottom - e.top };
588
588
  }
589
- function Ne(t) {
589
+ function Be(t) {
590
590
  var e, n = Me(t);
591
591
  if (!ce.isIOS7 && n) {
592
592
  var r = { x: (e = (e = X(t)) || R).scrollX || e.document.documentElement.scrollLeft, y: e.scrollY || e.document.documentElement.scrollTop };
@@ -596,7 +596,7 @@ Tt.exports;
596
596
  }
597
597
  function x(t) {
598
598
  for (var e = []; t; )
599
- e.push(t), t = de(t);
599
+ e.push(t), t = fe(t);
600
600
  return e;
601
601
  }
602
602
  function L(t) {
@@ -608,11 +608,11 @@ Tt.exports;
608
608
  return t;
609
609
  }
610
610
  function xe(t, e, n) {
611
- return t === "parent" ? de(n) : t === "self" ? e.getRect(n) : st(n, t);
611
+ return t === "parent" ? fe(n) : t === "self" ? e.getRect(n) : st(n, t);
612
612
  }
613
613
  function we(t, e, n, r) {
614
614
  var i = t;
615
- return d.string(i) ? i = xe(i, e, n) : d.func(i) && (i = i.apply(void 0, r)), d.element(i) && (i = Ne(i)), i;
615
+ return d.string(i) ? i = xe(i, e, n) : d.func(i) && (i = i.apply(void 0, r)), d.element(i) && (i = Be(i)), i;
616
616
  }
617
617
  function ze(t) {
618
618
  return t && { x: "x" in t ? t.x : t.left, y: "y" in t ? t.y : t.top };
@@ -729,7 +729,7 @@ Tt.exports;
729
729
  }
730
730
  function on(t) {
731
731
  var e = d.func(t.composedPath) ? t.composedPath() : t.path;
732
- return [$e(e ? e[0] : t.target), $e(t.currentTarget)];
732
+ return [Ne(e ? e[0] : t.target), Ne(t.currentTarget)];
733
733
  }
734
734
  var ft = function() {
735
735
  function t(e) {
@@ -761,7 +761,7 @@ Tt.exports;
761
761
  return -1;
762
762
  }, Ke = function(t, e) {
763
763
  return t[Ge(t, e)];
764
- }, Be = function(t) {
764
+ }, Le = function(t) {
765
765
  W(n, t);
766
766
  var e = le(n);
767
767
  function n(r, i, o) {
@@ -826,10 +826,10 @@ Tt.exports;
826
826
  var _ = g[k], T = g[b];
827
827
  if (_ && k !== b)
828
828
  if (T) {
829
- var oe = be(_), j = be(T);
830
- if (oe !== _.ownerDocument)
829
+ var ae = be(_), j = be(T);
830
+ if (ae !== _.ownerDocument)
831
831
  if (j !== _.ownerDocument)
832
- if (oe !== j) {
832
+ if (ae !== j) {
833
833
  S = S.length ? S : lt(T);
834
834
  var ue = void 0;
835
835
  if (T instanceof K.HTMLElement && _ instanceof K.SVGElement && !(_ instanceof K.SVGSVGElement)) {
@@ -838,13 +838,13 @@ Tt.exports;
838
838
  ue = _.ownerSVGElement;
839
839
  } else
840
840
  ue = _;
841
- for (var fe = lt(ue, T.ownerDocument), Se = 0; fe[Se] && fe[Se] === S[Se]; )
841
+ for (var ve = lt(ue, T.ownerDocument), Se = 0; ve[Se] && ve[Se] === S[Se]; )
842
842
  Se++;
843
- var _t = [fe[Se - 1], fe[Se], S[Se]];
843
+ var _t = [ve[Se - 1], ve[Se], S[Se]];
844
844
  if (_t[0])
845
845
  for (var nt = _t[0].lastChild; nt; ) {
846
846
  if (nt === _t[1]) {
847
- b = k, S = fe;
847
+ b = k, S = ve;
848
848
  break;
849
849
  }
850
850
  if (nt === _t[2])
@@ -864,7 +864,7 @@ Tt.exports;
864
864
  }
865
865
  function Mt(t, e, n) {
866
866
  var r = t.dropState, i = { enter: null, leave: null, activate: null, deactivate: null, move: null, drop: null };
867
- return n.type === "dragstart" && (i.activate = new Be(r, n, "dropactivate"), i.activate.target = null, i.activate.dropzone = null), n.type === "dragend" && (i.deactivate = new Be(r, n, "dropdeactivate"), i.deactivate.target = null, i.deactivate.dropzone = null), r.rejected || (r.cur.element !== r.prev.element && (r.prev.dropzone && (i.leave = new Be(r, n, "dragleave"), n.dragLeave = i.leave.target = r.prev.element, n.prevDropzone = i.leave.dropzone = r.prev.dropzone), r.cur.dropzone && (i.enter = new Be(r, n, "dragenter"), n.dragEnter = r.cur.element, n.dropzone = r.cur.dropzone)), n.type === "dragend" && r.cur.dropzone && (i.drop = new Be(r, n, "drop"), n.dropzone = r.cur.dropzone, n.relatedTarget = r.cur.element), n.type === "dragmove" && r.cur.dropzone && (i.move = new Be(r, n, "dropmove"), n.dropzone = r.cur.dropzone)), i;
867
+ return n.type === "dragstart" && (i.activate = new Le(r, n, "dropactivate"), i.activate.target = null, i.activate.dropzone = null), n.type === "dragend" && (i.deactivate = new Le(r, n, "dropdeactivate"), i.deactivate.target = null, i.deactivate.dropzone = null), r.rejected || (r.cur.element !== r.prev.element && (r.prev.dropzone && (i.leave = new Le(r, n, "dragleave"), n.dragLeave = i.leave.target = r.prev.element, n.prevDropzone = i.leave.dropzone = r.prev.dropzone), r.cur.dropzone && (i.enter = new Le(r, n, "dragenter"), n.dragEnter = r.cur.element, n.dropzone = r.cur.dropzone)), n.type === "dragend" && r.cur.dropzone && (i.drop = new Le(r, n, "drop"), n.dropzone = r.cur.dropzone, n.relatedTarget = r.cur.element), n.type === "dragmove" && r.cur.dropzone && (i.move = new Le(r, n, "dropmove"), n.dropzone = r.cur.dropzone)), i;
868
868
  }
869
869
  function zt(t, e) {
870
870
  var n = t.dropState, r = n.activeDrops, i = n.cur, o = n.prev;
@@ -903,13 +903,13 @@ Tt.exports;
903
903
  if (S === "pointer") {
904
904
  var k = qe(v, g, "drag"), _ = tn(f);
905
905
  _.x += k.x, _.y += k.y;
906
- var T = _.x > m.left && _.x < m.right, oe = _.y > m.top && _.y < m.bottom;
907
- w = T && oe;
906
+ var T = _.x > m.left && _.x < m.right, ae = _.y > m.top && _.y < m.bottom;
907
+ w = T && ae;
908
908
  }
909
909
  var j = v.getRect(g);
910
910
  if (j && S === "center") {
911
- var ue = j.left + j.width / 2, fe = j.top + j.height / 2;
912
- w = ue >= m.left && ue <= m.right && fe >= m.top && fe <= m.bottom;
911
+ var ue = j.left + j.width / 2, ve = j.top + j.height / 2;
912
+ w = ue >= m.left && ue <= m.right && ve >= m.top && ve <= m.bottom;
913
913
  }
914
914
  return j && d.number(S) && (w = Math.max(0, Math.min(m.right, j.right) - Math.max(m.left, j.left)) * Math.max(0, Math.min(m.bottom, j.bottom) - Math.max(m.top, j.top)) / (j.width * j.height) >= S), p.options.drop.checker && (w = p.options.drop.checker(f, h, w, p, b, v, g)), w;
915
915
  }(this, o, a, s, l, u, c);
@@ -1212,7 +1212,7 @@ Tt.exports;
1212
1212
  var u = hr(t, e, n, o, a, r, i);
1213
1213
  if (u.action && !u.interactable.options[u.action.name].manualStart)
1214
1214
  return u;
1215
- s = de(s);
1215
+ s = fe(s);
1216
1216
  }
1217
1217
  return { action: null, interactable: null, element: null };
1218
1218
  }
@@ -1299,7 +1299,7 @@ Tt.exports;
1299
1299
  n.prepared.name = "drag", n.interactable = h, n.element = p;
1300
1300
  break;
1301
1301
  }
1302
- p = de(p);
1302
+ p = fe(p);
1303
1303
  }
1304
1304
  }
1305
1305
  }
@@ -1370,11 +1370,11 @@ Tt.exports;
1370
1370
  return !0;
1371
1371
  return !1;
1372
1372
  }
1373
- function Le(t) {
1373
+ function We(t) {
1374
1374
  var e = {};
1375
1375
  for (var n in t) {
1376
1376
  var r = t[n];
1377
- d.plainObject(r) ? e[n] = Le(r) : d.array(r) ? e[n] = sn(r) : e[n] = r;
1377
+ d.plainObject(r) ? e[n] = We(r) : d.array(r) ? e[n] = sn(r) : e[n] = r;
1378
1378
  }
1379
1379
  return e;
1380
1380
  }
@@ -1479,7 +1479,7 @@ Tt.exports;
1479
1479
  return !(!e || e.enabled === !1 || i && !e.endOnly || e.endOnly && !n || r === "start" && !e.setStart);
1480
1480
  } }, { key: "copyFrom", value: function(e) {
1481
1481
  this.startOffset = e.startOffset, this.startDelta = e.startDelta, this.startEdges = e.startEdges, this.edges = e.edges, this.states = e.states.map(function(n) {
1482
- return Le(n);
1482
+ return We(n);
1483
1483
  }), this.result = gt(y({}, e.result.coords), y({}, e.result.rect));
1484
1484
  } }, { key: "destroy", value: function() {
1485
1485
  for (var e in this)
@@ -1801,7 +1801,7 @@ Tt.exports;
1801
1801
  r.resume(t);
1802
1802
  break;
1803
1803
  }
1804
- i = de(i);
1804
+ i = fe(i);
1805
1805
  }
1806
1806
  }, "interactions:stop": function(t) {
1807
1807
  var e = t.interaction.inertia;
@@ -1918,8 +1918,8 @@ Tt.exports;
1918
1918
  }
1919
1919
  function s(c, p, f, h) {
1920
1920
  if (c.addEventListener && c.removeEventListener) {
1921
- var v = Ge(n, function(oe) {
1922
- return oe.eventTarget === c;
1921
+ var v = Ge(n, function(ae) {
1922
+ return ae.eventTarget === c;
1923
1923
  }), g = n[v];
1924
1924
  if (g && g.events)
1925
1925
  if (p !== "all") {
@@ -1954,12 +1954,12 @@ Tt.exports;
1954
1954
  var _ = w.listeners;
1955
1955
  h.currentTarget = b;
1956
1956
  for (var T = 0; T < _.length; T++) {
1957
- var oe = _[T];
1958
- yt(oe.options, f) && oe.func(h);
1957
+ var ae = _[T];
1958
+ yt(ae.options, f) && ae.func(h);
1959
1959
  }
1960
1960
  }
1961
1961
  }
1962
- b = de(b);
1962
+ b = fe(b);
1963
1963
  }
1964
1964
  }
1965
1965
  function u(c) {
@@ -1987,7 +1987,7 @@ Tt.exports;
1987
1987
  for (; l; ) {
1988
1988
  if (l === s.element)
1989
1989
  return s;
1990
- l = de(l);
1990
+ l = fe(l);
1991
1991
  }
1992
1992
  }
1993
1993
  return null;
@@ -2150,10 +2150,10 @@ Tt.exports;
2150
2150
  var r = this._defaults;
2151
2151
  for (var i in n) {
2152
2152
  var o = i, a = this.options[e], s = n[o];
2153
- o === "listeners" && this.updatePerActionListeners(e, a.listeners, s), d.array(s) ? a[o] = sn(s) : d.plainObject(s) ? (a[o] = y(a[o] || {}, Le(s)), d.object(r.perAction[o]) && "enabled" in r.perAction[o] && (a[o].enabled = s.enabled !== !1)) : d.bool(s) && d.object(r.perAction[o]) ? a[o].enabled = s : a[o] = s;
2153
+ o === "listeners" && this.updatePerActionListeners(e, a.listeners, s), d.array(s) ? a[o] = sn(s) : d.plainObject(s) ? (a[o] = y(a[o] || {}, We(s)), d.object(r.perAction[o]) && "enabled" in r.perAction[o] && (a[o].enabled = s.enabled !== !1)) : d.bool(s) && d.object(r.perAction[o]) ? a[o].enabled = s : a[o] = s;
2154
2154
  }
2155
2155
  } }, { key: "getRect", value: function(e) {
2156
- return e = e || (d.element(this.target) ? this.target : null), d.string(this.target) && (e = e || this._context.querySelector(this.target)), Ne(e);
2156
+ return e = e || (d.element(this.target) ? this.target : null), d.string(this.target) && (e = e || this._context.querySelector(this.target)), Be(e);
2157
2157
  } }, { key: "rectChecker", value: function(e) {
2158
2158
  var n = this;
2159
2159
  return d.func(e) ? (this.getRect = function(r) {
@@ -2203,7 +2203,7 @@ Tt.exports;
2203
2203
  return this._onOff(Ie.Off, e, n, r);
2204
2204
  } }, { key: "set", value: function(e) {
2205
2205
  var n = this._defaults;
2206
- for (var r in d.object(e) || (e = {}), this.options = Le(n.base), this._actions.methodDict) {
2206
+ for (var r in d.object(e) || (e = {}), this.options = We(n.base), this._actions.methodDict) {
2207
2207
  var i = r, o = this._actions.methodDict[i];
2208
2208
  this.options[i] = {}, this.setPerAction(i, y(y({}, n.perAction), n.actions[i])), this[o](e[i]);
2209
2209
  }
@@ -2252,12 +2252,12 @@ Tt.exports;
2252
2252
  }(), Nr = function() {
2253
2253
  function t() {
2254
2254
  var e = this;
2255
- A(this, t), this.id = "__interact_scope_".concat(Math.floor(100 * Math.random())), this.isInitialized = !1, this.listenerMaps = [], this.browser = ce, this.defaults = Le(En), this.Eventable = Mn, this.actions = { map: {}, phases: { start: !0, move: !0, end: !0 }, methodDict: {}, phaselessTypes: {} }, this.interactStatic = function(r) {
2255
+ A(this, t), this.id = "__interact_scope_".concat(Math.floor(100 * Math.random())), this.isInitialized = !1, this.listenerMaps = [], this.browser = ce, this.defaults = We(En), this.Eventable = Mn, this.actions = { map: {}, phases: { start: !0, move: !0, end: !0 }, methodDict: {}, phaselessTypes: {} }, this.interactStatic = function(r) {
2256
2256
  var i = function o(a, s) {
2257
2257
  var l = r.interactables.getExisting(a, s);
2258
2258
  return l || ((l = r.interactables.new(a, s)).events.global = o.globalEvents), l;
2259
2259
  };
2260
- return i.getPointerAverage = nn, i.getTouchBBox = Pt, i.getTouchDistance = Ot, i.getTouchAngle = It, i.getElementRect = Ne, i.getElementClientRect = Me, i.matchesSelector = me, i.closest = st, i.globalEvents = {}, i.version = "1.10.27", i.scope = r, i.use = function(o, a) {
2260
+ return i.getPointerAverage = nn, i.getTouchBBox = Pt, i.getTouchDistance = Ot, i.getTouchAngle = It, i.getElementRect = Be, i.getElementClientRect = Me, i.matchesSelector = me, i.closest = st, i.globalEvents = {}, i.version = "1.10.27", i.scope = r, i.use = function(o, a) {
2261
2261
  return this.scope.usePlugin(o, a), this;
2262
2262
  }, i.isSet = function(o, a) {
2263
2263
  return !!this.scope.interactables.get(o, a && a.context);
@@ -2383,7 +2383,7 @@ Tt.exports;
2383
2383
  function Rn(t) {
2384
2384
  return t && t.replace(/\/.*$/, "");
2385
2385
  }
2386
- var jn = new Nr(), ie = jn.interactStatic, Br = typeof globalThis < "u" ? globalThis : window;
2386
+ var jn = new Nr(), oe = jn.interactStatic, Br = typeof globalThis < "u" ? globalThis : window;
2387
2387
  jn.init(Br);
2388
2388
  var Lr = Object.freeze({ __proto__: null, edgeTarget: function() {
2389
2389
  }, elements: function() {
@@ -2516,8 +2516,8 @@ Tt.exports;
2516
2516
  (m = d.func(b) ? b(f, h, e._proxy, p, v) : b) && l.push({ x: (d.number(m.x) ? m.x : f) + p.x, y: (d.number(m.y) ? m.y : h) + p.y, range: d.number(m.range) ? m.range : i.range, source: b, index: v, offset: p });
2517
2517
  }
2518
2518
  for (var w = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, S = 0; S < l.length; S++) {
2519
- var k = l[S], _ = k.range, T = k.x - s.x, oe = k.y - s.y, j = Ue(T, oe), ue = j <= _;
2520
- _ === 1 / 0 && w.inRange && w.range !== 1 / 0 && (ue = !1), w.target && !(ue ? w.inRange && _ !== 1 / 0 ? j / _ < w.distance / w.range : _ === 1 / 0 && w.range !== 1 / 0 || j < w.distance : !w.inRange && j < w.distance) || (w.target = k, w.distance = j, w.range = _, w.inRange = ue, w.delta.x = T, w.delta.y = oe);
2519
+ var k = l[S], _ = k.range, T = k.x - s.x, ae = k.y - s.y, j = Ue(T, ae), ue = j <= _;
2520
+ _ === 1 / 0 && w.inRange && w.range !== 1 / 0 && (ue = !1), w.target && !(ue ? w.inRange && _ !== 1 / 0 ? j / _ < w.distance / w.range : _ === 1 / 0 && w.range !== 1 / 0 || j < w.distance : !w.inRange && j < w.distance) || (w.target = k, w.distance = j, w.range = _, w.inRange = ue, w.delta.x = T, w.delta.y = ae);
2521
2521
  }
2522
2522
  return w.inRange && (n.x = w.target.x, n.y = w.target.y), r.closest = w, w;
2523
2523
  }, defaults: { range: 1 / 0, targets: null, offset: null, offsetWithOrigin: !0, origin: null, relativePoints: null, endOnly: !1, enabled: !1 } }, ni = Oe(Yt, "snap"), wt = { start: function(t) {
@@ -2546,7 +2546,7 @@ Tt.exports;
2546
2546
  }, defaults: { range: 1 / 0, targets: null, offset: null, endOnly: !1, enabled: !1 } }, ri = Oe(wt, "snapSize"), qt = { aspectRatio: Hr, restrictEdges: Kr, restrict: Gr, restrictRect: Qr, restrictSize: ti, snapEdges: Oe({ start: function(t) {
2547
2547
  var e = t.edges;
2548
2548
  return e ? (t.state.targetFields = t.state.targetFields || [[e.left ? "left" : "right", e.top ? "top" : "bottom"]], wt.start(t)) : null;
2549
- }, set: wt.set, defaults: y(Le(wt.defaults), { targets: void 0, range: void 0, offset: { x: 0, y: 0 } }) }, "snapEdges"), snap: ni, snapSize: ri, spring: bt, avoid: bt, transform: bt, rubberband: bt }, ii = { id: "modifiers", install: function(t) {
2549
+ }, set: wt.set, defaults: y(We(wt.defaults), { targets: void 0, range: void 0, offset: { x: 0, y: 0 } }) }, "snapEdges"), snap: ni, snapSize: ri, spring: bt, avoid: bt, transform: bt, rubberband: bt }, ii = { id: "modifiers", install: function(t) {
2550
2550
  var e = t.interactStatic;
2551
2551
  for (var n in t.usePlugin(_n), t.usePlugin(Xr), e.modifiers = qt, qt) {
2552
2552
  var r = qt[n], i = r._defaults, o = r._methods;
@@ -2737,12 +2737,12 @@ Tt.exports;
2737
2737
  } };
2738
2738
  }({ page: { x: g.x, y: g.y }, client: { x: g.x, y: g.y }, timeStamp: o.now() });
2739
2739
  h = function(m, w, S, k, _) {
2740
- var T = m.interactions.new({ pointerType: "reflow" }), oe = { interaction: T, event: _, pointer: _, eventTarget: S, phase: "reflow" };
2741
- T.interactable = w, T.element = S, T.prevEvent = _, T.updatePointer(_, _, S, !0), Zt(T.coords.delta), Rt(T.prepared, k), T._doPhase(oe);
2742
- var j = m.window, ue = j.Promise, fe = ue ? new ue(function(Se) {
2740
+ var T = m.interactions.new({ pointerType: "reflow" }), ae = { interaction: T, event: _, pointer: _, eventTarget: S, phase: "reflow" };
2741
+ T.interactable = w, T.element = S, T.prevEvent = _, T.updatePointer(_, _, S, !0), Zt(T.coords.delta), Rt(T.prepared, k), T._doPhase(ae);
2742
+ var j = m.window, ue = j.Promise, ve = ue ? new ue(function(Se) {
2743
2743
  T._reflowResolve = Se;
2744
2744
  }) : void 0;
2745
- return T._reflowPromise = fe, T.start(k, w, S), T._interacting ? (T.move(oe), T.end(_)) : (T.stop(), T._reflowResolve()), T.removePointer(_, _), fe;
2745
+ return T._reflowPromise = ve, T.start(k, w, S), T._interacting ? (T.move(ae), T.end(_)) : (T.stop(), T._reflowResolve()), T.removePointer(_, _), ve;
2746
2746
  }(o, r, p, i, b);
2747
2747
  }
2748
2748
  l && l.push(h);
@@ -2759,12 +2759,12 @@ Tt.exports;
2759
2759
  r.splice(r.indexOf(i), 1);
2760
2760
  }(e.interactions.list, n));
2761
2761
  } } }, hi = vi;
2762
- if (ie.use(wn), ie.use(Pn), ie.use(fi), ie.use(zr), ie.use(oi), ie.use(xr), ie.use(cr), ie.use(pr), ie.use(hi), ie.default = ie, ne(I) === "object" && I)
2762
+ if (oe.use(wn), oe.use(Pn), oe.use(fi), oe.use(zr), oe.use(oi), oe.use(xr), oe.use(cr), oe.use(pr), oe.use(hi), oe.default = oe, re(I) === "object" && I)
2763
2763
  try {
2764
- I.exports = ie;
2764
+ I.exports = oe;
2765
2765
  } catch {
2766
2766
  }
2767
- return ie.default = ie, ie;
2767
+ return oe.default = oe, oe;
2768
2768
  });
2769
2769
  })(Tt, Tt.exports);
2770
2770
  var eo = Tt.exports;
@@ -2780,8 +2780,8 @@ const to = { class: "variety-auto-complete" }, no = { key: 0 }, ro = { class: "l
2780
2780
  // 是否开启选择回调后清除输入框值
2781
2781
  },
2782
2782
  emits: ["select", "change"],
2783
- setup(I, { emit: Ve }) {
2784
- const Y = Qn("stConfig"), z = Ve, ne = I, A = H(""), he = async (W, C) => {
2783
+ setup(I, { emit: $e }) {
2784
+ const Y = Qn("stConfig"), z = $e, re = I, A = H(""), he = async (W, C) => {
2785
2785
  if (W === "" || W === "null")
2786
2786
  C([]);
2787
2787
  else {
@@ -2799,7 +2799,7 @@ const to = { class: "variety-auto-complete" }, no = { key: 0 }, ro = { class: "l
2799
2799
  }
2800
2800
  }, P = ({ label: W, value: C }) => {
2801
2801
  const ee = W.split(" ").at(-1);
2802
- z("select", { name: ee, code: C }), ne.selectClearEnable && (A.value = "");
2802
+ z("select", { name: ee, code: C }), re.selectClearEnable && (A.value = "");
2803
2803
  }, F = (W) => {
2804
2804
  z("change", W);
2805
2805
  };
@@ -2807,18 +2807,18 @@ const to = { class: "variety-auto-complete" }, no = { key: 0 }, ro = { class: "l
2807
2807
  const ee = Zi;
2808
2808
  return V(), Z("div", to, [
2809
2809
  I.labelShowEnable ? (V(), Z("span", no, "品种搜索:")) : Te("", !0),
2810
- pe(ee, {
2810
+ de(ee, {
2811
2811
  modelValue: A.value,
2812
2812
  "onUpdate:modelValue": C[0] || (C[0] = (J) => A.value = J),
2813
2813
  clearable: "",
2814
- size: ne.size,
2815
- placeholder: ne.placeholder,
2814
+ size: re.size,
2815
+ placeholder: re.placeholder,
2816
2816
  "fetch-suggestions": he,
2817
2817
  onSelect: P,
2818
2818
  onChange: F
2819
2819
  }, {
2820
- default: ae(({ item: J }) => [
2821
- ve("div", ro, Xe(J.label), 1)
2820
+ default: ne(({ item: J }) => [
2821
+ pe("div", ro, Ve(J.label), 1)
2822
2822
  ]),
2823
2823
  _: 1
2824
2824
  }, 8, ["modelValue", "size", "placeholder"])
@@ -2826,7 +2826,7 @@ const to = { class: "variety-auto-complete" }, no = { key: 0 }, ro = { class: "l
2826
2826
  };
2827
2827
  }
2828
2828
  }, oo = /* @__PURE__ */ er(io, [["__scopeId", "data-v-d433c4b8"]]);
2829
- const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "custom-header" }, lo = { class: "left" }, co = /* @__PURE__ */ ao(() => /* @__PURE__ */ ve("span", null, " 选择变量 ", -1)), uo = { class: "right" }, po = { class: "custom-body" }, fo = { class: "config-list" }, vo = { class: "config-item" }, ho = { key: 0 }, go = { key: 0 }, mo = { key: 1 }, yo = { key: 0 }, bo = {
2829
+ const ao = (I) => (Fi("data-v-a9c66896"), I = I(), Vi(), I), so = { class: "custom-header" }, lo = { class: "left" }, co = /* @__PURE__ */ ao(() => /* @__PURE__ */ pe("span", null, " 选择变量 ", -1)), uo = { class: "right" }, po = { class: "custom-body" }, fo = { class: "config-list" }, vo = { class: "config-item" }, ho = { key: 0 }, go = { key: 0 }, mo = { key: 1 }, yo = { key: 0 }, bo = { style: { "max-width": "820px" } }, xo = { style: { "white-space": "pre-line" } }, wo = {
2830
2830
  __name: "index",
2831
2831
  props: {
2832
2832
  useCase: {
@@ -2835,15 +2835,15 @@ const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "cust
2835
2835
  // 1-选股, 2-回测
2836
2836
  }
2837
2837
  },
2838
- setup(I, { expose: Ve }) {
2839
- const Y = Qn("stConfig"), z = I, ne = H(null), A = H((window.innerHeight - 542) / 2 - 220 > 0 ? (window.innerHeight - 542) / 2 - 220 : 0), he = H((window.innerWidth - 1e3) / 2 > 0 ? (window.innerWidth - 1e3) / 2 : 0), P = H(null), F = H(!1), W = H(0), C = H(null), ee = H([]), J = it(() => {
2838
+ setup(I, { expose: $e }) {
2839
+ const Y = Qn("stConfig"), z = I, re = H(null), A = H((window.innerHeight - 542) / 2 - 220 > 0 ? (window.innerHeight - 542) / 2 - 220 : 0), he = H((window.innerWidth - 1e3) / 2 > 0 ? (window.innerWidth - 1e3) / 2 : 0), P = H(null), F = H(!1), W = H(0), C = H(null), ee = H([]), J = it(() => {
2840
2840
  var O;
2841
2841
  return ((O = ee.value.find((q) => q.varName === C.value)) == null ? void 0 : O.formatList) ?? [];
2842
2842
  }), le = (O) => O.replace(/^\[|\]$/g, "").split("],[").map((R) => {
2843
- const B = R.replace(/\[|\]/g, ""), [X, re] = B.split(",");
2843
+ const B = R.replace(/\[|\]/g, ""), [X, ie] = B.split(",");
2844
2844
  return {
2845
2845
  label: X.trim(),
2846
- value: re.trim()
2846
+ value: ie.trim()
2847
2847
  };
2848
2848
  }), $ = (O) => {
2849
2849
  const q = [];
@@ -2865,12 +2865,12 @@ const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "cust
2865
2865
  }
2866
2866
  if (!P.value)
2867
2867
  return Yn.error("未检测到编辑器实例");
2868
- const N = q.join("_"), R = P.value.getInstance(), B = R.getPosition(), re = P.value.getValue().split(`
2868
+ const N = q.join("_"), R = P.value.getInstance(), B = R.getPosition(), ie = P.value.getValue().split(`
2869
2869
  `);
2870
- if (B.lineNumber <= re.length) {
2871
- const U = B.lineNumber - 1, d = re[U], G = d.substring(0, B.column - 1) + N + d.substring(B.column - 1);
2872
- re[U] = G;
2873
- const D = re.join(`
2870
+ if (B.lineNumber <= ie.length) {
2871
+ const U = B.lineNumber - 1, d = ie[U], G = d.substring(0, B.column - 1) + N + d.substring(B.column - 1);
2872
+ ie[U] = G;
2873
+ const D = ie.join(`
2874
2874
  `);
2875
2875
  P.value.setValue(D);
2876
2876
  const ge = B.column + N.length;
@@ -2883,7 +2883,7 @@ const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "cust
2883
2883
  return Kn(async () => {
2884
2884
  const { body: O } = await Y.request.post("/common/conf/queryAllBackVariables", { useCase: z.useCase });
2885
2885
  ee.value = O ?? [];
2886
- }), Ve({
2886
+ }), $e({
2887
2887
  /**
2888
2888
  * @description: 打开变量选择器窗口
2889
2889
  * @editor 脚本编辑器实例
@@ -2892,7 +2892,7 @@ const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "cust
2892
2892
  open: (O, q = 1002) => {
2893
2893
  P.value = O, W.value = q, F.value = !0;
2894
2894
  const N = document.querySelector("body");
2895
- qn(ne.value).draggable({
2895
+ qn(re.value).draggable({
2896
2896
  allowFrom: ".custom-header",
2897
2897
  // 只有 .custom-header 元素可以触发拖拽
2898
2898
  // 限制拖拽范围
@@ -2915,24 +2915,24 @@ const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "cust
2915
2915
  F.value = !1;
2916
2916
  }
2917
2917
  }), (O, q) => {
2918
- const N = Oi, R = Ii, B = Zn, X = Hn, re = ki, U = Un;
2918
+ const N = Oi, R = Ii, B = Zn, X = Hn, ie = ki, U = Un;
2919
2919
  return Ri((V(), Z("div", {
2920
2920
  class: "var-select-dialog",
2921
2921
  ref_key: "dialogRef",
2922
- ref: ne,
2922
+ ref: re,
2923
2923
  style: Kt({ right: `${he.value}px`, top: `${A.value}px`, zIndex: W.value })
2924
2924
  }, [
2925
- ve("div", so, [
2926
- ve("div", lo, [
2925
+ pe("div", so, [
2926
+ pe("div", lo, [
2927
2927
  co,
2928
- pe(R, {
2928
+ de(R, {
2929
2929
  modelValue: C.value,
2930
2930
  "onUpdate:modelValue": q[0] || (q[0] = (d) => C.value = d),
2931
2931
  placeholder: "选择变量",
2932
2932
  filterable: "",
2933
2933
  clearable: ""
2934
2934
  }, {
2935
- default: ae(() => [
2935
+ default: ne(() => [
2936
2936
  (V(!0), Z(Fe, null, at(ee.value, (d, G) => (V(), ot(N, {
2937
2937
  key: G,
2938
2938
  label: d.varName,
@@ -2942,28 +2942,28 @@ const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "cust
2942
2942
  _: 1
2943
2943
  }, 8, ["modelValue"])
2944
2944
  ]),
2945
- ve("div", uo, [
2946
- pe(B, {
2945
+ pe("div", uo, [
2946
+ de(B, {
2947
2947
  class: "el-icon--left",
2948
2948
  onClick: q[1] || (q[1] = (d) => F.value = !1)
2949
2949
  }, {
2950
- default: ae(() => [
2951
- pe(M(Li))
2950
+ default: ne(() => [
2951
+ de(M(Li))
2952
2952
  ]),
2953
2953
  _: 1
2954
2954
  })
2955
2955
  ])
2956
2956
  ]),
2957
- ve("div", po, [
2957
+ pe("div", po, [
2958
2958
  J.value.length ? (V(!0), Z(Fe, { key: 0 }, at(J.value, (d, G) => (V(), Z("div", {
2959
2959
  class: "format-item",
2960
2960
  key: G
2961
2961
  }, [
2962
- ve("span", null, "格式" + Xe(G + 1) + ":", 1),
2963
- ve("div", fo, [
2962
+ pe("span", null, "格式" + Ve(G + 1) + ":", 1),
2963
+ pe("div", fo, [
2964
2964
  (V(!0), Z(Fe, null, at(d.configList, (D, ge) => (V(), Z(Fe, null, [
2965
- ve("div", vo, [
2966
- D.vtype === "text" ? (V(), Z("span", ho, Xe(D.param), 1)) : Te("", !0),
2965
+ pe("div", vo, [
2966
+ D.vtype === "text" ? (V(), Z("span", ho, Ve(D.param), 1)) : Te("", !0),
2967
2967
  D.vtype === "inputVariety" ? (V(), ot(oo, {
2968
2968
  key: 1,
2969
2969
  size: "small",
@@ -2975,14 +2975,14 @@ const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "cust
2975
2975
  style: { width: "100px" }
2976
2976
  }, null, 8, ["placeholder", "onSelect", "onChange"])) : Te("", !0),
2977
2977
  D.vtype === "input" ? (V(), Z(Fe, { key: 2 }, [
2978
- D.prefix ? (V(), Z("span", go, Xe(D.prefix), 1)) : Te("", !0),
2979
- pe(X, {
2978
+ D.prefix ? (V(), Z("span", go, Ve(D.prefix), 1)) : Te("", !0),
2979
+ de(X, {
2980
2980
  modelValue: D.modelValue,
2981
2981
  "onUpdate:modelValue": (te) => D.modelValue = te,
2982
2982
  placeholder: D.param,
2983
2983
  size: "small"
2984
2984
  }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
2985
- D.suffix ? (V(), Z("span", mo, Xe(D.suffix), 1)) : Te("", !0)
2985
+ D.suffix ? (V(), Z("span", mo, Ve(D.suffix), 1)) : Te("", !0)
2986
2986
  ], 64)) : Te("", !0),
2987
2987
  D.vtype === "select" ? (V(), ot(R, {
2988
2988
  key: 3,
@@ -2992,7 +2992,7 @@ const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "cust
2992
2992
  clearable: "",
2993
2993
  size: "small"
2994
2994
  }, {
2995
- default: ae(() => [
2995
+ default: ne(() => [
2996
2996
  (V(!0), Z(Fe, null, at(le(D.optionsStr), (te) => (V(), ot(N, {
2997
2997
  key: te.value,
2998
2998
  label: te.label,
@@ -3005,32 +3005,36 @@ const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "cust
3005
3005
  ge !== d.configList.length - 1 ? (V(), Z("span", yo, "_")) : Te("", !0)
3006
3006
  ], 64))), 256))
3007
3007
  ]),
3008
- pe(re, {
3008
+ de(ie, {
3009
3009
  type: "primary",
3010
3010
  plain: "",
3011
3011
  size: "small",
3012
3012
  onClick: (D) => $(d.configList)
3013
3013
  }, {
3014
- default: ae(() => [
3014
+ default: ne(() => [
3015
3015
  Jn(" 插入变量 ")
3016
3016
  ]),
3017
3017
  _: 2
3018
3018
  }, 1032, ["onClick"]),
3019
- pe(U, {
3019
+ de(U, {
3020
3020
  effect: "dark",
3021
- content: d.tip,
3022
3021
  placement: "top-start"
3023
3022
  }, {
3024
- default: ae(() => [
3025
- pe(B, null, {
3026
- default: ae(() => [
3027
- pe(M(Wi))
3023
+ content: ne(() => [
3024
+ pe("div", bo, [
3025
+ pe("span", xo, Ve(d.tip), 1)
3026
+ ])
3027
+ ]),
3028
+ default: ne(() => [
3029
+ de(B, null, {
3030
+ default: ne(() => [
3031
+ de(M(Wi))
3028
3032
  ]),
3029
3033
  _: 1
3030
3034
  })
3031
3035
  ]),
3032
3036
  _: 2
3033
- }, 1032, ["content"])
3037
+ }, 1024)
3034
3038
  ]))), 128)) : Te("", !0)
3035
3039
  ])
3036
3040
  ], 4)), [
@@ -3038,11 +3042,11 @@ const ao = (I) => (Fi("data-v-ab51011c"), I = I(), Vi(), I), so = { class: "cust
3038
3042
  ]);
3039
3043
  };
3040
3044
  }
3041
- }, xo = /* @__PURE__ */ er(bo, [["__scopeId", "data-v-ab51011c"]]), Ho = {
3045
+ }, _o = /* @__PURE__ */ er(wo, [["__scopeId", "data-v-a9c66896"]]), Ko = {
3042
3046
  install(I) {
3043
- I.component("st-varSelectDialog", xo);
3047
+ I.component("st-varSelectDialog", _o);
3044
3048
  }
3045
3049
  };
3046
3050
  export {
3047
- Ho as default
3051
+ Ko as default
3048
3052
  };