st-comp 0.0.119 → 0.0.120

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 (89) hide show
  1. package/es/ChartLayout.cjs +1 -1
  2. package/es/ChartLayout.js +2 -2
  3. package/es/Dialog.cjs +1 -1
  4. package/es/Dialog.js +11 -11
  5. package/es/FactorWarning.cjs +1 -1
  6. package/es/FactorWarning.js +114 -111
  7. package/es/Kline.cjs +1 -1
  8. package/es/Kline.js +12 -12
  9. package/es/KlineNew.cjs +1 -1
  10. package/es/KlineNew.js +11 -11
  11. package/es/Pagination.cjs +1 -1
  12. package/es/Pagination.js +53 -53
  13. package/es/Pie.cjs +1 -2
  14. package/es/Pie.js +1 -159
  15. package/es/Table.cjs +1 -1
  16. package/es/Table.js +42 -42
  17. package/es/User.cjs +1 -1
  18. package/es/User.js +32 -32
  19. package/es/VarietySearch.cjs +1 -1
  20. package/es/VarietySearch.js +71 -71
  21. package/es/VirtualTable.cjs +2 -2
  22. package/es/VirtualTable.js +10 -10
  23. package/es/{base-f7877059.js → base-11914420.js} +67 -67
  24. package/es/{base-ec05f348.cjs → base-b384d332.cjs} +1 -1
  25. package/es/{castArray-a45823fe.cjs → castArray-21cb8c6a.cjs} +1 -1
  26. package/es/{castArray-18f43497.js → castArray-63513408.js} +1 -1
  27. package/es/{config-provider-7cdfca4d.cjs → config-provider-08c54ec3.cjs} +1 -1
  28. package/es/{config-provider-6479d795.js → config-provider-40502529.js} +3 -3
  29. package/es/debounce-2ecf2d1f.cjs +1 -0
  30. package/es/{debounce-2336e546.js → debounce-a57891c6.js} +12 -12
  31. package/es/{dropdown-9a974876.cjs → dropdown-1de99dc2.cjs} +1 -1
  32. package/es/{dropdown-46daf582.js → dropdown-4fb49237.js} +4 -4
  33. package/es/{el-button-196807af.cjs → el-button-d234707c.cjs} +1 -1
  34. package/es/{el-button-802f579a.js → el-button-f0269eec.js} +18 -18
  35. package/es/{el-empty-19ea04f4.cjs → el-empty-2d7a61d4.cjs} +1 -1
  36. package/es/{el-empty-3c5ec277.js → el-empty-d85386ab.js} +5 -5
  37. package/es/el-form-item-7cf4d392.cjs +12 -0
  38. package/es/{el-form-item-84099d46.js → el-form-item-a2793eee.js} +43 -43
  39. package/es/{el-input-fac5b401.js → el-input-c7436eee.js} +63 -63
  40. package/es/el-input-fd2b3a26.cjs +1 -0
  41. package/es/{el-overlay-69e9ae49.js → el-overlay-587c0f42.js} +79 -79
  42. package/es/{el-overlay-891dcc40.cjs → el-overlay-7d8307c8.cjs} +1 -1
  43. package/es/{el-popover-8735b1fa.cjs → el-popover-129a9692.cjs} +1 -1
  44. package/es/{el-popover-694ded47.js → el-popover-7781eefc.js} +20 -20
  45. package/es/{el-popper-6126b1f6.js → el-popper-242a0eb5.js} +170 -170
  46. package/es/el-popper-3d8f2656.cjs +1 -0
  47. package/es/{el-scrollbar-e0493906.js → el-scrollbar-41e6d010.js} +10 -10
  48. package/es/el-scrollbar-a01fea99.cjs +1 -0
  49. package/es/el-select-d3f8b31c.cjs +1 -0
  50. package/es/{el-select-513126a5.js → el-select-f70bb17d.js} +64 -64
  51. package/es/el-table-column-1319b1ba.cjs +14 -0
  52. package/es/{el-table-column-3c920bdd.js → el-table-column-d6952a3d.js} +73 -73
  53. package/es/{el-tag-5becabc9.js → el-tag-33526075.js} +68 -68
  54. package/es/{el-tag-3b03d13e.cjs → el-tag-6d45f0b2.cjs} +1 -1
  55. package/es/{index-048dca7e.js → index-20c6f535.js} +1 -1
  56. package/es/{index-80a2b137.cjs → index-2d697ae8.cjs} +1 -1
  57. package/es/{index-7e40be25.js → index-7ee24173.js} +18 -18
  58. package/es/index-bdc8ae3f.js +81 -0
  59. package/es/{index-8a0b1c53.cjs → index-cb665c76.cjs} +1 -1
  60. package/es/{index-e1e83173.cjs → index-e0fa2f71.cjs} +1 -1
  61. package/es/{raf-07da7cdf.js → raf-862dc8b5.js} +1 -1
  62. package/es/{raf-8fc301fd.cjs → raf-930895a1.cjs} +1 -1
  63. package/es/{refs-d00b710b.cjs → refs-4b61ff18.cjs} +1 -1
  64. package/es/refs-e2671b32.js +9 -0
  65. package/es/{scroll-41224831.cjs → scroll-495227b0.cjs} +1 -1
  66. package/es/{scroll-3b521d81.js → scroll-c4e30037.js} +1 -1
  67. package/es/style.css +1 -1
  68. package/es/{use-form-common-props-1b84d8f4.cjs → use-form-common-props-41091f5f.cjs} +2 -2
  69. package/es/{use-form-common-props-f3a520d0.js → use-form-common-props-422d25a5.js} +70 -70
  70. package/es/{vnode-25d7c2f5.js → vnode-029f1740.js} +1 -1
  71. package/es/{vnode-7fbc61e1.cjs → vnode-44ebae3f.cjs} +1 -1
  72. package/es/{zh-cn-ab9a583d.cjs → zh-cn-44d71e6d.cjs} +1 -1
  73. package/es/{zh-cn-74781bbd.js → zh-cn-4659cb4f.js} +2 -2
  74. package/lib/bundle.js +1 -1
  75. package/lib/bundle.umd.cjs +1 -1
  76. package/lib/{index-824e4fa8.js → index-b77b391d.js} +7 -4
  77. package/lib/{python-d78b6dc4.js → python-7a6d9a11.js} +1 -1
  78. package/lib/style.css +1 -1
  79. package/package.json +1 -1
  80. package/packages/FactorWarning/index.vue +4 -1
  81. package/es/debounce-b2ff12bd.cjs +0 -1
  82. package/es/el-form-item-c39f717e.cjs +0 -12
  83. package/es/el-input-6c6f5bda.cjs +0 -1
  84. package/es/el-popper-f62316cd.cjs +0 -1
  85. package/es/el-scrollbar-d1c3e7f7.cjs +0 -1
  86. package/es/el-select-928f8c19.cjs +0 -1
  87. package/es/el-table-column-dd8b62aa.cjs +0 -14
  88. package/es/index-35117549.js +0 -81
  89. package/es/refs-1b1fe6ca.js +0 -9
@@ -1,33 +1,33 @@
1
- import { b as Xe, d as Ce, i as te, a as ke, c as we, u as Ge, e as ve, f as Me, _ as Oe, g as de, w as We, h as ge, j as Ye, k as Ee, l as Je, m as Se } from "./base-f7877059.js";
2
- import { z as Ze, E as Qe } from "./zh-cn-74781bbd.js";
3
- import { a as xe, u as et, b as tt, c as lt, E as ot } from "./el-overlay-69e9ae49.js";
4
- import "./el-tag-5becabc9.js";
5
- import { E as at, a as nt, b as st, c as rt } from "./el-table-column-3c920bdd.js";
1
+ import { d as Ge, e as Ce, D as te, C as ke, I as we, l as Xe, o as ve, x as Me, _ as Fe, G as de, w as We, a as ge, b as Ye, P as Ee, Q as Je, B as Se } from "./base-11914420.js";
2
+ import { z as Qe, E as Ze } from "./zh-cn-4659cb4f.js";
3
+ import { a as xe, u as et, b as tt, c as lt, E as ot } from "./el-overlay-587c0f42.js";
4
+ import "./el-tag-33526075.js";
5
+ import { b as at, c as nt, E as st, a as rt } from "./el-table-column-d6952a3d.js";
6
6
  import "./el-tooltip-4ed993c7.js";
7
- import { u as it, E as ut } from "./el-popper-6126b1f6.js";
8
- import { u as dt, a as ct } from "./el-scrollbar-e0493906.js";
9
- import { E as ft } from "./el-popover-694ded47.js";
10
- import { E as $e } from "./el-button-802f579a.js";
11
- import { E as mt, a as pt, b as vt, c as gt } from "./el-form-item-84099d46.js";
12
- import { E as Fe } from "./el-input-fac5b401.js";
13
- import { defineComponent as he, ref as O, reactive as Ne, computed as z, watch as le, openBlock as n, createElementBlock as T, unref as E, normalizeClass as C, createElementVNode as b, normalizeStyle as ye, Fragment as H, renderList as Y, renderSlot as Ae, createTextVNode as S, toDisplayString as M, createCommentVNode as w, nextTick as ee, markRaw as Te, onMounted as yt, onBeforeUnmount as bt, toRefs as ht, resolveComponent as Z, createBlock as y, Transition as Ct, withCtx as o, withDirectives as fe, createVNode as s, withModifiers as re, resolveDynamicComponent as ie, withKeys as ue, vShow as me, isVNode as Pe, render as Re, mergeModels as _e, useModel as kt, pushScopeId as wt, popScopeId as Et } from "vue";
14
- import { c as St, u as Tt, a as _t, b as Bt, d as Vt, e as It, E as De, T as Lt, l as Be, f as Ve, i as pe } from "./use-form-common-props-f3a520d0.js";
7
+ import { b as it, E as ut } from "./el-popper-242a0eb5.js";
8
+ import { b as dt, a as ct } from "./el-scrollbar-41e6d010.js";
9
+ import { E as ft } from "./el-popover-7781eefc.js";
10
+ import { E as Oe } from "./el-button-f0269eec.js";
11
+ import { E as mt, a as pt, b as vt, c as gt } from "./el-form-item-a2793eee.js";
12
+ import { E as $e } from "./el-input-c7436eee.js";
13
+ import { defineComponent as he, ref as F, reactive as Ne, computed as z, watch as le, openBlock as n, createElementBlock as T, unref as E, normalizeClass as C, createElementVNode as b, normalizeStyle as ye, Fragment as H, renderList as Y, renderSlot as Ae, createTextVNode as S, toDisplayString as M, createCommentVNode as w, nextTick as ee, markRaw as Te, onMounted as yt, onBeforeUnmount as bt, toRefs as ht, resolveComponent as Q, createBlock as y, Transition as Ct, withCtx as o, withDirectives as fe, createVNode as s, withModifiers as re, resolveDynamicComponent as ie, withKeys as ue, vShow as me, isVNode as Pe, render as De, mergeModels as _e, useModel as kt, pushScopeId as wt, popScopeId as Et } from "vue";
14
+ import { f as St, u as Tt, g as _t, l as Bt, j as Vt, k as It, E as Re, T as Lt, o as Be, r as Ve, s as pe } from "./use-form-common-props-422d25a5.js";
15
15
  import { G as Mt } from "./index-57f8f7b9.js";
16
- import { _ as Ot } from "./_plugin-vue_export-helper-dad06003.js";
17
- import { o as Ie, E as $t, a as Ft } from "./index-048dca7e.js";
18
- import { u as Nt } from "./index-35117549.js";
16
+ import { _ as Ft } from "./_plugin-vue_export-helper-dad06003.js";
17
+ import { o as Ie, E as Ot, a as $t } from "./index-20c6f535.js";
18
+ import { b as Nt } from "./index-bdc8ae3f.js";
19
19
  import { U as ze, C as Ue } from "./event-09e37cc8.js";
20
- import { E as At } from "./index-7e40be25.js";
21
- import "./config-provider-6479d795.js";
22
- import "./vnode-25d7c2f5.js";
23
- import "./refs-1b1fe6ca.js";
24
- import "./scroll-3b521d81.js";
25
- import "./debounce-2336e546.js";
26
- import "./raf-07da7cdf.js";
20
+ import { E as At } from "./index-7ee24173.js";
21
+ import "./config-provider-40502529.js";
22
+ import "./vnode-029f1740.js";
23
+ import "./refs-e2671b32.js";
24
+ import "./scroll-c4e30037.js";
25
+ import "./debounce-a57891c6.js";
26
+ import "./raf-862dc8b5.js";
27
27
  import "./index-657047bb.js";
28
- import "./castArray-18f43497.js";
28
+ import "./castArray-63513408.js";
29
29
  import "./typescript-7ae59c4c.js";
30
- const Pt = (e) => ["", ...St].includes(e), Rt = Xe({
30
+ const Pt = (e) => ["", ...St].includes(e), Dt = Ge({
31
31
  direction: {
32
32
  type: Ce(String),
33
33
  default: "horizontal"
@@ -50,29 +50,29 @@ const Pt = (e) => ["", ...St].includes(e), Rt = Xe({
50
50
  id: String,
51
51
  name: String,
52
52
  ...it(["ariaLabel"])
53
- }), Dt = {
53
+ }), Rt = {
54
54
  [ze]: (e) => te(e) || ke(e) || we(e),
55
55
  [Ue]: (e) => te(e) || ke(e) || we(e)
56
56
  }, zt = he({
57
57
  name: "ElSegmented"
58
58
  }), Ut = /* @__PURE__ */ he({
59
59
  ...zt,
60
- props: Rt,
61
- emits: Dt,
60
+ props: Dt,
61
+ emits: Rt,
62
62
  setup(e, { emit: m }) {
63
- const a = e, u = Ge("segmented"), g = ve(), p = _t(), h = Bt(), { formItem: B } = Vt(), { inputId: d, isLabeledByFormItem: r } = It(a, {
63
+ const a = e, u = Xe("segmented"), g = ve(), p = _t(), h = Bt(), { formItem: B } = Vt(), { inputId: d, isLabeledByFormItem: r } = It(a, {
64
64
  formItemContext: B
65
- }), P = O(null), v = dt(), f = Ne({
65
+ }), P = F(null), v = dt(), f = Ne({
66
66
  isInit: !1,
67
67
  width: 0,
68
68
  height: 0,
69
69
  translateX: 0,
70
70
  translateY: 0,
71
71
  focusVisible: !1
72
- }), G = (i) => {
72
+ }), X = (i) => {
73
73
  const L = W(i);
74
74
  m(ze, L), m(Ue, L);
75
- }, W = (i) => de(i) ? i.value : i, R = (i) => de(i) ? i.label : i, K = (i) => !!(h.value || de(i) && i.disabled), U = (i) => a.modelValue === W(i), j = (i) => a.options.find((L) => W(L) === i), _ = (i) => [
75
+ }, W = (i) => de(i) ? i.value : i, D = (i) => de(i) ? i.label : i, K = (i) => !!(h.value || de(i) && i.disabled), U = (i) => a.modelValue === W(i), j = (i) => a.options.find((L) => W(L) === i), _ = (i) => [
76
76
  u.e("item"),
77
77
  u.is("selected", U(i)),
78
78
  u.is("disabled", K(i))
@@ -90,7 +90,7 @@ const Pt = (e) => ["", ...St].includes(e), Rt = Xe({
90
90
  f.focusVisible = L.matches(":focus-visible");
91
91
  } catch {
92
92
  }
93
- }, D = z(() => [
93
+ }, R = z(() => [
94
94
  u.b(),
95
95
  u.m(p.value),
96
96
  u.is("block", a.block)
@@ -103,7 +103,7 @@ const Pt = (e) => ["", ...St].includes(e), Rt = Xe({
103
103
  u.e("item-selected"),
104
104
  u.is("disabled", K(j(a.modelValue))),
105
105
  u.is("focus-visible", f.focusVisible)
106
- ]), $ = z(() => a.name || g.value);
106
+ ]), O = z(() => a.name || g.value);
107
107
  return ct(P, l), le(v, l), le(() => a.modelValue, () => {
108
108
  var i;
109
109
  l(), a.validateEvent && ((i = B == null ? void 0 : B.validate) == null || i.call(B, "change").catch((L) => Me(L)));
@@ -114,7 +114,7 @@ const Pt = (e) => ["", ...St].includes(e), Rt = Xe({
114
114
  id: E(d),
115
115
  ref_key: "segmentedRef",
116
116
  ref: P,
117
- class: C(E(D)),
117
+ class: C(E(R)),
118
118
  role: "radiogroup",
119
119
  "aria-label": E(r) ? void 0 : i.ariaLabel || "segmented",
120
120
  "aria-labelledby": E(r) ? E(B).labelId : void 0
@@ -133,16 +133,16 @@ const Pt = (e) => ["", ...St].includes(e), Rt = Xe({
133
133
  b("input", {
134
134
  class: C(E(u).e("item-input")),
135
135
  type: "radio",
136
- name: E($),
136
+ name: E(O),
137
137
  disabled: K(I),
138
138
  checked: U(I),
139
- onChange: (ae) => G(I)
139
+ onChange: (ae) => X(I)
140
140
  }, null, 42, ["name", "disabled", "checked", "onChange"]),
141
141
  b("div", {
142
142
  class: C(E(u).e("item-label"))
143
143
  }, [
144
144
  Ae(i.$slots, "default", { item: I }, () => [
145
- S(M(R(I)), 1)
145
+ S(M(D(I)), 1)
146
146
  ])
147
147
  ], 2)
148
148
  ], 2))), 128))
@@ -150,13 +150,13 @@ const Pt = (e) => ["", ...St].includes(e), Rt = Xe({
150
150
  ], 10, ["id", "aria-label", "aria-labelledby"])) : w("v-if", !0);
151
151
  }
152
152
  });
153
- var qt = /* @__PURE__ */ Oe(Ut, [["__file", "segmented.vue"]]);
153
+ var qt = /* @__PURE__ */ Fe(Ut, [["__file", "segmented.vue"]]);
154
154
  const Ht = We(qt), be = "_trap-focus-children", J = [], Le = (e) => {
155
155
  var m;
156
156
  if (J.length === 0)
157
157
  return;
158
158
  const a = J[J.length - 1][be];
159
- if (a.length > 0 && e.code === $t.tab) {
159
+ if (a.length > 0 && e.code === Ot.tab) {
160
160
  if (a.length === 1) {
161
161
  e.preventDefault(), document.activeElement !== a[0] && a[0].focus();
162
162
  return;
@@ -185,11 +185,11 @@ const Ht = We(qt), be = "_trap-focus-children", J = [], Le = (e) => {
185
185
  TrapFocus: Kt
186
186
  },
187
187
  components: {
188
- ElButton: $e,
189
- ElFocusTrap: Ft,
190
- ElInput: Fe,
188
+ ElButton: Oe,
189
+ ElFocusTrap: $t,
190
+ ElInput: $e,
191
191
  ElOverlay: xe,
192
- ElIcon: De,
192
+ ElIcon: Re,
193
193
  ...Lt
194
194
  },
195
195
  inheritAttrs: !1,
@@ -245,7 +245,7 @@ const Ht = We(qt), be = "_trap-focus-children", J = [], Le = (e) => {
245
245
  zIndex: u,
246
246
  ns: g,
247
247
  size: p
248
- } = Nt("message-box", z(() => e.buttonSize)), { t: h } = a, { nextZIndex: B } = u, d = O(!1), r = Ne({
248
+ } = Nt("message-box", z(() => e.buttonSize)), { t: h } = a, { nextZIndex: B } = u, d = F(!1), r = Ne({
249
249
  autofocus: !0,
250
250
  beforeClose: null,
251
251
  callback: null,
@@ -284,21 +284,21 @@ const Ht = We(qt), be = "_trap-focus-children", J = [], Le = (e) => {
284
284
  }), P = z(() => {
285
285
  const c = r.type;
286
286
  return { [g.bm("icon", c)]: c && Ve[c] };
287
- }), v = ve(), f = ve(), G = z(() => {
287
+ }), v = ve(), f = ve(), X = z(() => {
288
288
  const c = r.type;
289
289
  return r.icon || c && Ve[c] || "";
290
- }), W = z(() => !!r.message), R = O(), K = O(), U = O(), j = O(), _ = O(), l = z(() => r.confirmButtonClass);
290
+ }), W = z(() => !!r.message), D = F(), K = F(), U = F(), j = F(), _ = F(), l = z(() => r.confirmButtonClass);
291
291
  le(() => r.inputValue, async (c) => {
292
292
  await ee(), e.boxType === "prompt" && c !== null && q();
293
293
  }, { immediate: !0 }), le(() => d.value, (c) => {
294
- var F, N;
295
- c && (e.boxType !== "prompt" && (r.autofocus ? U.value = (N = (F = _.value) == null ? void 0 : F.$el) != null ? N : R.value : U.value = R.value), r.zIndex = B()), e.boxType === "prompt" && (c ? ee().then(() => {
294
+ var $, N;
295
+ c && (e.boxType !== "prompt" && (r.autofocus ? U.value = (N = ($ = _.value) == null ? void 0 : $.$el) != null ? N : D.value : U.value = D.value), r.zIndex = B()), e.boxType === "prompt" && (c ? ee().then(() => {
296
296
  var se;
297
- j.value && j.value.$el && (r.autofocus ? U.value = (se = ae()) != null ? se : R.value : U.value = R.value);
297
+ j.value && j.value.$el && (r.autofocus ? U.value = (se = ae()) != null ? se : D.value : U.value = D.value);
298
298
  }) : (r.editorErrorMessage = "", r.validateError = !1));
299
299
  });
300
- const D = z(() => e.draggable), V = z(() => e.overflow);
301
- et(R, K, D, V), yt(async () => {
300
+ const R = z(() => e.draggable), V = z(() => e.overflow);
301
+ et(D, K, R, V), yt(async () => {
302
302
  await ee(), e.closeOnHashChange && window.addEventListener("hashchange", k);
303
303
  }), bt(() => {
304
304
  e.closeOnHashChange && window.removeEventListener("hashchange", k);
@@ -308,22 +308,22 @@ const Ht = We(qt), be = "_trap-focus-children", J = [], Le = (e) => {
308
308
  r.action && m("action", r.action);
309
309
  }));
310
310
  }
311
- const $ = () => {
311
+ const O = () => {
312
312
  e.closeOnClickModal && I(r.distinguishCancelAndClose ? "close" : "cancel");
313
- }, i = lt($), L = (c) => {
313
+ }, i = lt(O), L = (c) => {
314
314
  if (r.inputType !== "textarea")
315
315
  return c.preventDefault(), I("confirm");
316
316
  }, I = (c) => {
317
- var F;
318
- e.boxType === "prompt" && c === "confirm" && !q() || (r.action = c, r.beforeClose ? (F = r.beforeClose) == null || F.call(r, c, r, k) : k());
317
+ var $;
318
+ e.boxType === "prompt" && c === "confirm" && !q() || (r.action = c, r.beforeClose ? ($ = r.beforeClose) == null || $.call(r, c, r, k) : k());
319
319
  }, q = () => {
320
320
  if (e.boxType === "prompt") {
321
321
  const c = r.inputPattern;
322
322
  if (c && !c.test(r.inputValue || ""))
323
323
  return r.editorErrorMessage = r.inputErrorMessage || h("el.messagebox.error"), r.validateError = !0, !1;
324
- const F = r.inputValidator;
325
- if (ge(F)) {
326
- const N = F(r.inputValue);
324
+ const $ = r.inputValidator;
325
+ if (ge($)) {
326
+ const N = $(r.inputValue);
327
327
  if (N === !1)
328
328
  return r.editorErrorMessage = r.inputErrorMessage || h("el.messagebox.error"), r.validateError = !0, !1;
329
329
  if (te(N))
@@ -332,9 +332,9 @@ const Ht = We(qt), be = "_trap-focus-children", J = [], Le = (e) => {
332
332
  }
333
333
  return r.editorErrorMessage = "", r.validateError = !1, !0;
334
334
  }, ae = () => {
335
- var c, F;
335
+ var c, $;
336
336
  const N = (c = j.value) == null ? void 0 : c.$refs;
337
- return (F = N == null ? void 0 : N.input) != null ? F : N == null ? void 0 : N.textarea;
337
+ return ($ = N == null ? void 0 : N.input) != null ? $ : N == null ? void 0 : N.textarea;
338
338
  }, x = () => {
339
339
  I("close");
340
340
  }, ne = () => {
@@ -350,9 +350,9 @@ const Ht = We(qt), be = "_trap-focus-children", J = [], Le = (e) => {
350
350
  contentId: v,
351
351
  inputId: f,
352
352
  btnSize: p,
353
- iconComponent: G,
353
+ iconComponent: X,
354
354
  confirmButtonClasses: l,
355
- rootRef: R,
355
+ rootRef: D,
356
356
  focusStartRef: U,
357
357
  headerRef: K,
358
358
  inputRef: j,
@@ -360,15 +360,15 @@ const Ht = We(qt), be = "_trap-focus-children", J = [], Le = (e) => {
360
360
  doClose: k,
361
361
  handleClose: x,
362
362
  onCloseRequested: ne,
363
- handleWrapperClick: $,
363
+ handleWrapperClick: O,
364
364
  handleInputEnter: L,
365
365
  handleAction: I,
366
366
  t: h
367
367
  };
368
368
  }
369
369
  });
370
- function Xt(e, m, a, u, g, p) {
371
- const h = Z("el-icon"), B = Z("close"), d = Z("el-input"), r = Z("el-button"), P = Z("el-focus-trap"), v = Z("el-overlay");
370
+ function Gt(e, m, a, u, g, p) {
371
+ const h = Q("el-icon"), B = Q("close"), d = Q("el-input"), r = Q("el-button"), P = Q("el-focus-trap"), v = Q("el-overlay");
372
372
  return n(), y(Ct, {
373
373
  name: "fade-in-linear",
374
374
  onAfterLeave: (f) => e.$emit("vanish"),
@@ -562,19 +562,19 @@ function Xt(e, m, a, u, g, p) {
562
562
  _: 3
563
563
  }, 8, ["onAfterLeave"]);
564
564
  }
565
- var Gt = /* @__PURE__ */ Oe(jt, [["render", Xt], ["__file", "index.vue"]]);
565
+ var Xt = /* @__PURE__ */ Fe(jt, [["render", Gt], ["__file", "index.vue"]]);
566
566
  const oe = /* @__PURE__ */ new Map(), Wt = (e) => {
567
567
  let m = document.body;
568
568
  return e.appendTo && (te(e.appendTo) && (m = document.querySelector(e.appendTo)), Se(e.appendTo) && (m = e.appendTo), Se(m) || (Me("ElMessageBox", "the appendTo option is not an HTMLElement. Falling back to document.body."), m = document.body)), m;
569
569
  }, Yt = (e, m, a = null) => {
570
- const u = s(Gt, e, ge(e.message) || Pe(e.message) ? {
570
+ const u = s(Xt, e, ge(e.message) || Pe(e.message) ? {
571
571
  default: ge(e.message) ? e.message : () => e.message
572
572
  } : null);
573
- return u.appContext = a, Re(u, m), Wt(e).appendChild(m.firstElementChild), u.component;
574
- }, Jt = () => document.createElement("div"), Zt = (e, m) => {
573
+ return u.appContext = a, De(u, m), Wt(e).appendChild(m.firstElementChild), u.component;
574
+ }, Jt = () => document.createElement("div"), Qt = (e, m) => {
575
575
  const a = Jt();
576
576
  e.onVanish = () => {
577
- Re(null, a), oe.delete(g);
577
+ De(null, a), oe.delete(g);
578
578
  }, e.onAction = (p) => {
579
579
  const h = oe.get(g);
580
580
  let B;
@@ -585,14 +585,14 @@ const oe = /* @__PURE__ */ new Map(), Wt = (e) => {
585
585
  Ee(e, p) && !Ee(g.$props, p) && (g[p] = e[p]);
586
586
  return g.visible = !0, g;
587
587
  };
588
- function Q(e, m = null) {
588
+ function Z(e, m = null) {
589
589
  if (!Ye)
590
590
  return Promise.reject();
591
591
  let a;
592
592
  return te(e) || Pe(e) ? e = {
593
593
  message: e
594
594
  } : a = e.callback, new Promise((u, g) => {
595
- const p = Zt(e, m ?? Q._context);
595
+ const p = Qt(e, m ?? Z._context);
596
596
  oe.set(p, {
597
597
  options: e,
598
598
  callback: a,
@@ -601,18 +601,18 @@ function Q(e, m = null) {
601
601
  });
602
602
  });
603
603
  }
604
- const Qt = ["alert", "confirm", "prompt"], xt = {
604
+ const Zt = ["alert", "confirm", "prompt"], xt = {
605
605
  alert: { closeOnPressEscape: !1, closeOnClickModal: !1 },
606
606
  confirm: { showCancelButton: !0 },
607
607
  prompt: { showCancelButton: !0, showInput: !0 }
608
608
  };
609
- Qt.forEach((e) => {
610
- Q[e] = el(e);
609
+ Zt.forEach((e) => {
610
+ Z[e] = el(e);
611
611
  });
612
612
  function el(e) {
613
613
  return (m, a, u, g) => {
614
614
  let p = "";
615
- return de(a) ? (u = a, p = "") : Je(a) ? p = "" : p = a, Q(Object.assign({
615
+ return de(a) ? (u = a, p = "") : Je(a) ? p = "" : p = a, Z(Object.assign({
616
616
  title: p,
617
617
  message: m,
618
618
  type: "",
@@ -622,17 +622,17 @@ function el(e) {
622
622
  }), g);
623
623
  };
624
624
  }
625
- Q.close = () => {
625
+ Z.close = () => {
626
626
  oe.forEach((e, m) => {
627
627
  m.doClose();
628
628
  }), oe.clear();
629
629
  };
630
- Q._context = null;
631
- const X = Q;
632
- X.install = (e) => {
633
- X._context = e._context, e.config.globalProperties.$msgbox = X, e.config.globalProperties.$messageBox = X, e.config.globalProperties.$alert = X.alert, e.config.globalProperties.$confirm = X.confirm, e.config.globalProperties.$prompt = X.prompt;
630
+ Z._context = null;
631
+ const G = Z;
632
+ G.install = (e) => {
633
+ G._context = e._context, e.config.globalProperties.$msgbox = G, e.config.globalProperties.$messageBox = G, e.config.globalProperties.$alert = G.alert, e.config.globalProperties.$confirm = G.confirm, e.config.globalProperties.$prompt = G.prompt;
634
634
  };
635
- const tl = X;
635
+ const tl = G;
636
636
  const ll = {
637
637
  // 表单字段
638
638
  ruleFormPrice: !0,
@@ -649,7 +649,7 @@ const ll = {
649
649
  tableEnable: !0
650
650
  // 启用按钮
651
651
  };
652
- const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-factorWarning" }, al = { class: "custom-header" }, nl = /* @__PURE__ */ ce(() => /* @__PURE__ */ b("span", { style: { "margin-right": "4px" } }, "因子预警", -1)), sl = /* @__PURE__ */ ce(() => /* @__PURE__ */ b("span", { style: { margin: "0 5px" } }, "~", -1)), rl = {
652
+ const ce = (e) => (wt("data-v-5dbfde93"), e = e(), Et(), e), ol = { class: "st-factorWarning" }, al = { class: "custom-header" }, nl = /* @__PURE__ */ ce(() => /* @__PURE__ */ b("span", { style: { "margin-right": "4px" } }, "因子预警", -1)), sl = /* @__PURE__ */ ce(() => /* @__PURE__ */ b("span", { style: { margin: "0 5px" } }, "~", -1)), rl = {
653
653
  key: 0,
654
654
  style: { color: "#f56c6c" }
655
655
  }, il = {
@@ -680,28 +680,28 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
680
680
  }),
681
681
  emits: /* @__PURE__ */ _e(["add", "delete", "enabled", "closed", "shortcutAdd", "shortcutDelete"], ["update:visible"]),
682
682
  setup(e, { emit: m }) {
683
- const a = O(null), u = kt(e, "visible"), g = m, p = e, h = Object.assign(ll, p.showConfig), B = O(null), d = O({
683
+ const a = F("ruleForm"), u = kt(e, "visible"), g = m, p = e, h = Object.assign(ll, p.showConfig), B = F(null), d = F({
684
684
  factorType: 1,
685
685
  factorSelectedList: [],
686
686
  totalCount: 1,
687
687
  minPrice: null,
688
688
  maxPrice: null,
689
689
  mark: null
690
- }), r = O({
690
+ }), r = F({
691
691
  factorType: [{ required: !0, message: "请选择交易类型", trigger: "blur" }],
692
692
  factorSelectedList: [{ required: !0, message: "请选择预警因子", trigger: "blur" }],
693
693
  totalCount: [{ required: !0, message: "请填写预警次数", trigger: "blur" }]
694
- }), P = O(null), v = O({
694
+ }), P = F(null), v = F({
695
695
  shortcutName: null,
696
696
  factorType: 1,
697
697
  factorSelectedList: [],
698
698
  totalCount: 1
699
- }), f = O({
699
+ }), f = F({
700
700
  factorType: [{ required: !0, message: "请选择交易类型", trigger: "blur" }],
701
701
  factorSelectedList: [{ required: !0, message: "请选择预警因子", trigger: "blur" }],
702
702
  totalCount: [{ required: !0, message: "请填写预警次数", trigger: "blur" }],
703
703
  shortcutName: [{ required: !0, message: "请填写配置名称", trigger: "blur" }]
704
- }), G = () => {
704
+ }), X = () => {
705
705
  d.value = {
706
706
  factorType: 1,
707
707
  factorSelectedList: [],
@@ -722,12 +722,12 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
722
722
  factorSelectedList: l.factorSelectedList,
723
723
  totalCount: l.totalCount
724
724
  });
725
- const D = {
725
+ const R = {
726
726
  factorSelectedList: d.value.factorSelectedList.map((V) => {
727
727
  let k = l.totalCount;
728
- const $ = p.tableData.find(({ factorExtendName: i }) => i === V);
729
- if ($) {
730
- const i = $.totalCount - $.currentCount;
728
+ const O = p.tableData.find(({ factorExtendName: i }) => i === V);
729
+ if (O) {
730
+ const i = O.totalCount - O.currentCount;
731
731
  i === 0 ? k = l.totalCount : k = Math.min(l.totalCount, 10 - i >= 0 ? 10 - i : 0);
732
732
  }
733
733
  return {
@@ -737,10 +737,10 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
737
737
  };
738
738
  })
739
739
  };
740
- R(B.value, D);
741
- }, R = Mt(async (_, l) => {
742
- _ && await _.validate((D) => {
743
- if (!D)
740
+ D(B.value, R);
741
+ }, D = Mt(async (_, l) => {
742
+ _ && await _.validate((R) => {
743
+ if (!R)
744
744
  return !1;
745
745
  const V = l ?? {
746
746
  factorSelectedList: d.value.factorSelectedList.map((k) => ({
@@ -748,17 +748,17 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
748
748
  ...d.value
749
749
  }))
750
750
  };
751
- g("add", V), l ? G() : u.value = !1;
751
+ g("add", V), l ? X() : u.value = !1;
752
752
  });
753
753
  }, 200), K = async (_) => {
754
754
  _ && await _.validate((l) => {
755
755
  if (!l)
756
756
  return !1;
757
- const D = {
757
+ const R = {
758
758
  shortcutName: v.value.shortcutName,
759
759
  data: JSON.stringify(v.value)
760
760
  };
761
- g("shortcutAdd", D), G();
761
+ g("shortcutAdd", R), X();
762
762
  });
763
763
  }, U = (_) => {
764
764
  v.value = JSON.parse(_.data);
@@ -772,12 +772,15 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
772
772
  return le(
773
773
  () => u.value,
774
774
  (_) => {
775
- _ && (a.value = p.allowOperation ? "ruleForm" : "table", G());
775
+ _ && (a.value = p.allowOperation ? "ruleForm" : "table", X());
776
+ },
777
+ {
778
+ immediate: !0
776
779
  }
777
780
  ), (_, l) => {
778
- const D = Ht, V = $e, k = mt, $ = at, i = nt, L = pt, I = De, q = ut, ae = vt, x = Fe, ne = gt, c = st, F = ft, N = rt, se = At, qe = ot, He = Qe;
781
+ const R = Ht, V = Oe, k = mt, O = at, i = nt, L = pt, I = Re, q = ut, ae = vt, x = $e, ne = gt, c = st, $ = ft, N = rt, se = At, qe = ot, He = Ze;
779
782
  return n(), T("div", ol, [
780
- s(He, { locale: E(Ze) }, {
783
+ s(He, { locale: E(Qe) }, {
781
784
  default: o(() => [
782
785
  s(qe, {
783
786
  modelValue: u.value,
@@ -795,7 +798,7 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
795
798
  nl,
796
799
  b("span", null, M(e.title), 1)
797
800
  ], 2),
798
- s(D, {
801
+ s(R, {
799
802
  modelValue: a.value,
800
803
  "onUpdate:modelValue": l[0] || (l[0] = (je) => a.value = je),
801
804
  options: [
@@ -819,7 +822,7 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
819
822
  a.value === "ruleForm" ? (n(), y(V, {
820
823
  key: 0,
821
824
  type: "primary",
822
- onClick: l[15] || (l[15] = (t) => E(R)(B.value))
825
+ onClick: l[15] || (l[15] = (t) => E(D)(B.value))
823
826
  }, {
824
827
  default: o(() => [
825
828
  S(" 确认 ")
@@ -890,13 +893,13 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
890
893
  "onUpdate:modelValue": l[3] || (l[3] = (t) => d.value.factorSelectedList = t)
891
894
  }, {
892
895
  default: o(() => [
893
- d.value.factorType === 1 ? (n(!0), T(H, { key: 0 }, Y(e.moreFactorOptions, (t, A) => (n(), y($, {
896
+ d.value.factorType === 1 ? (n(!0), T(H, { key: 0 }, Y(e.moreFactorOptions, (t, A) => (n(), y(O, {
894
897
  key: A,
895
898
  label: t.factorTypeName,
896
899
  value: t.factorTypeName,
897
900
  style: { width: "200px" }
898
901
  }, null, 8, ["label", "value"]))), 128)) : w("", !0),
899
- d.value.factorType === -1 ? (n(!0), T(H, { key: 1 }, Y(e.emptyFactorOptions, (t, A) => (n(), y($, {
902
+ d.value.factorType === -1 ? (n(!0), T(H, { key: 1 }, Y(e.emptyFactorOptions, (t, A) => (n(), y(O, {
900
903
  key: A,
901
904
  label: t.factorTypeName,
902
905
  value: t.factorTypeName,
@@ -1091,7 +1094,7 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
1091
1094
  ]),
1092
1095
  _: 2
1093
1096
  }, 1032, ["disabled", "onClick"])) : w("", !0),
1094
- s(F, {
1097
+ s($, {
1095
1098
  title: "确定删除?",
1096
1099
  onConfirm: (A) => g("delete", t.row)
1097
1100
  }, {
@@ -1227,13 +1230,13 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
1227
1230
  "onUpdate:modelValue": l[12] || (l[12] = (t) => v.value.factorSelectedList = t)
1228
1231
  }, {
1229
1232
  default: o(() => [
1230
- v.value.factorType === 1 ? (n(!0), T(H, { key: 0 }, Y(e.moreFactorOptions, (t, A) => (n(), y($, {
1233
+ v.value.factorType === 1 ? (n(!0), T(H, { key: 0 }, Y(e.moreFactorOptions, (t, A) => (n(), y(O, {
1231
1234
  key: A,
1232
1235
  label: t.factorTypeName,
1233
1236
  value: t.factorTypeName,
1234
1237
  style: { width: "200px" }
1235
1238
  }, null, 8, ["label", "value"]))), 128)) : w("", !0),
1236
- v.value.factorType === -1 ? (n(!0), T(H, { key: 1 }, Y(e.emptyFactorOptions, (t, A) => (n(), y($, {
1239
+ v.value.factorType === -1 ? (n(!0), T(H, { key: 1 }, Y(e.emptyFactorOptions, (t, A) => (n(), y(O, {
1237
1240
  key: A,
1238
1241
  label: t.factorTypeName,
1239
1242
  value: t.factorTypeName,
@@ -1274,7 +1277,7 @@ const ce = (e) => (wt("data-v-bb3461b4"), e = e(), Et(), e), ol = { class: "st-f
1274
1277
  ]);
1275
1278
  };
1276
1279
  }
1277
- }, Cl = /* @__PURE__ */ Ot(hl, [["__scopeId", "data-v-bb3461b4"]]), Jl = {
1280
+ }, Cl = /* @__PURE__ */ Ft(hl, [["__scopeId", "data-v-5dbfde93"]]), Jl = {
1278
1281
  install(e) {
1279
1282
  e.component("st-factorWarning", Cl);
1280
1283
  }