st-comp 0.0.124 → 0.0.126

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.
package/es/KlineBasic.js CHANGED
@@ -2,7 +2,7 @@ import "./base-a8f938bd.js";
2
2
  import { E as en, a as tn } from "./el-menu-item-9369a2ad.js";
3
3
  import "./el-tooltip-4ed993c7.js";
4
4
  import "./el-popper-8dca8dd4.js";
5
- import { defineComponent as Et, openBlock as z, createElementBlock as Z, Fragment as Ze, renderList as Ge, normalizeStyle as Qe, toDisplayString as qe, computed as he, createVNode as oe, ref as Q, onMounted as vt, onUnmounted as Rt, nextTick as Tt, createElementVNode as pe, withCtx as fe, createBlock as Ot, createCommentVNode as et, renderSlot as at, watch as nn, createTextVNode as rn } from "vue";
5
+ import { defineComponent as Et, openBlock as z, createElementBlock as X, Fragment as Ze, renderList as Ge, normalizeStyle as Qe, toDisplayString as qe, computed as he, createVNode as se, ref as Q, onMounted as vt, onUnmounted as Rt, nextTick as Tt, createElementVNode as pe, withCtx as fe, createBlock as Ot, createCommentVNode as et, renderSlot as at, watch as nn, createTextVNode as rn } from "vue";
6
6
  import * as He from "echarts";
7
7
  import { U as sn, V as ke, x as $e, D as on } from "./index-f8e448bc.js";
8
8
  import { E as At } from "./el-message-fd827012.js";
@@ -53,9 +53,9 @@ var kt = { exports: {} };
53
53
  return w === void 0;
54
54
  } }, P = "en", M = {};
55
55
  M[P] = N;
56
- var Y = "$isDayjsObject", G = function(w) {
57
- return w instanceof F || !(!w || !w[Y]);
58
- }, K = function w(b, f, g) {
56
+ var J = "$isDayjsObject", Z = function(w) {
57
+ return w instanceof F || !(!w || !w[J]);
58
+ }, Y = function w(b, f, g) {
59
59
  var m;
60
60
  if (!b)
61
61
  return P;
@@ -71,17 +71,17 @@ var kt = { exports: {} };
71
71
  }
72
72
  return !g && m && (P = m), m || !g && P;
73
73
  }, U = function(w, b) {
74
- if (G(w))
74
+ if (Z(w))
75
75
  return w.clone();
76
76
  var f = typeof b == "object" ? b : {};
77
77
  return f.date = w, f.args = arguments, new F(f);
78
78
  }, v = k;
79
- v.l = K, v.i = G, v.w = function(w, b) {
79
+ v.l = Y, v.i = Z, v.w = function(w, b) {
80
80
  return U(w, { locale: b.$L, utc: b.$u, x: b.$x, $offset: b.$offset });
81
81
  };
82
82
  var F = function() {
83
83
  function w(f) {
84
- this.$L = K(f.locale, null, !0), this.parse(f), this.$x = this.$x || f.x || {}, this[Y] = !0;
84
+ this.$L = Y(f.locale, null, !0), this.parse(f), this.$x = this.$x || f.x || {}, this[J] = !0;
85
85
  }
86
86
  var b = w.prototype;
87
87
  return b.parse = function(f) {
@@ -123,11 +123,11 @@ var kt = { exports: {} };
123
123
  }, b.valueOf = function() {
124
124
  return this.$d.getTime();
125
125
  }, b.startOf = function(f, g) {
126
- var m = this, _ = !!v.u(g) || g, E = v.p(f), $ = function(W, V) {
127
- var se = v.w(m.$u ? Date.UTC(m.$y, V, W) : new Date(m.$y, V, W), m);
128
- return _ ? se : se.endOf(l);
129
- }, C = function(W, V) {
130
- return v.w(m.toDate()[W].apply(m.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(V)), m);
126
+ var m = this, _ = !!v.u(g) || g, E = v.p(f), $ = function(G, V) {
127
+ var re = v.w(m.$u ? Date.UTC(m.$y, V, G) : new Date(m.$y, V, G), m);
128
+ return _ ? re : re.endOf(l);
129
+ }, C = function(G, V) {
130
+ return v.w(m.toDate()[G].apply(m.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(V)), m);
131
131
  }, D = this.$W, T = this.$M, j = this.$D, q = "set" + (this.$u ? "UTC" : "");
132
132
  switch (E) {
133
133
  case R:
@@ -135,8 +135,8 @@ var kt = { exports: {} };
135
135
  case h:
136
136
  return _ ? $(1, T) : $(0, T + 1);
137
137
  case u:
138
- var X = this.$locale().weekStart || 0, ne = (D < X ? D + 7 : D) - X;
139
- return $(_ ? j - ne : j + (6 - ne), T);
138
+ var K = this.$locale().weekStart || 0, oe = (D < K ? D + 7 : D) - K;
139
+ return $(_ ? j - oe : j + (6 - oe), T);
140
140
  case l:
141
141
  case p:
142
142
  return C(q + "Hours", 0);
@@ -186,16 +186,16 @@ var kt = { exports: {} };
186
186
  var g = this, m = this.$locale();
187
187
  if (!this.isValid())
188
188
  return m.invalidDate || S;
189
- var _ = f || "YYYY-MM-DDTHH:mm:ssZ", E = v.z(this), $ = this.$H, C = this.$m, D = this.$M, T = m.weekdays, j = m.months, q = m.meridiem, X = function(V, se, ue, xe) {
190
- return V && (V[se] || V(g, _)) || ue[se].slice(0, xe);
191
- }, ne = function(V) {
189
+ var _ = f || "YYYY-MM-DDTHH:mm:ssZ", E = v.z(this), $ = this.$H, C = this.$m, D = this.$M, T = m.weekdays, j = m.months, q = m.meridiem, K = function(V, re, ue, xe) {
190
+ return V && (V[re] || V(g, _)) || ue[re].slice(0, xe);
191
+ }, oe = function(V) {
192
192
  return v.s($ % 12 || 12, V, "0");
193
- }, W = q || function(V, se, ue) {
193
+ }, G = q || function(V, re, ue) {
194
194
  var xe = V < 12 ? "AM" : "PM";
195
195
  return ue ? xe.toLowerCase() : xe;
196
196
  };
197
- return _.replace(L, function(V, se) {
198
- return se || function(ue) {
197
+ return _.replace(L, function(V, re) {
198
+ return re || function(ue) {
199
199
  switch (ue) {
200
200
  case "YY":
201
201
  return String(g.$y).slice(-2);
@@ -206,9 +206,9 @@ var kt = { exports: {} };
206
206
  case "MM":
207
207
  return v.s(D + 1, 2, "0");
208
208
  case "MMM":
209
- return X(m.monthsShort, D, j, 3);
209
+ return K(m.monthsShort, D, j, 3);
210
210
  case "MMMM":
211
- return X(j, D);
211
+ return K(j, D);
212
212
  case "D":
213
213
  return g.$D;
214
214
  case "DD":
@@ -216,9 +216,9 @@ var kt = { exports: {} };
216
216
  case "d":
217
217
  return String(g.$W);
218
218
  case "dd":
219
- return X(m.weekdaysMin, g.$W, T, 2);
219
+ return K(m.weekdaysMin, g.$W, T, 2);
220
220
  case "ddd":
221
- return X(m.weekdaysShort, g.$W, T, 3);
221
+ return K(m.weekdaysShort, g.$W, T, 3);
222
222
  case "dddd":
223
223
  return T[g.$W];
224
224
  case "H":
@@ -226,13 +226,13 @@ var kt = { exports: {} };
226
226
  case "HH":
227
227
  return v.s($, 2, "0");
228
228
  case "h":
229
- return ne(1);
229
+ return oe(1);
230
230
  case "hh":
231
- return ne(2);
231
+ return oe(2);
232
232
  case "a":
233
- return W($, C, !0);
233
+ return G($, C, !0);
234
234
  case "A":
235
- return W($, C, !1);
235
+ return G($, C, !1);
236
236
  case "m":
237
237
  return String(C);
238
238
  case "mm":
@@ -291,7 +291,7 @@ var kt = { exports: {} };
291
291
  }, b.locale = function(f, g) {
292
292
  if (!f)
293
293
  return this.$L;
294
- var m = this.clone(), _ = K(f, g, !0);
294
+ var m = this.clone(), _ = Y(f, g, !0);
295
295
  return _ && (m.$L = _), m;
296
296
  }, b.clone = function() {
297
297
  return v.w(this.$d, this);
@@ -311,7 +311,7 @@ var kt = { exports: {} };
311
311
  };
312
312
  }), U.extend = function(w, b) {
313
313
  return w.$i || (w(b, F, U), w.$i = !0), U;
314
- }, U.locale = K, U.isDayjs = G, U.unix = function(w) {
314
+ }, U.locale = Y, U.isDayjs = Z, U.unix = function(w) {
315
315
  return U(1e3 * w);
316
316
  }, U.en = M[P], U.Ls = M, U.p = {}, U;
317
317
  });
@@ -326,24 +326,24 @@ function $t(e, t) {
326
326
  const { toString: pn } = Object.prototype, { getPrototypeOf: tt } = Object, Le = ((e) => (t) => {
327
327
  const r = pn.call(t);
328
328
  return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
329
- })(/* @__PURE__ */ Object.create(null)), te = (e) => (e = e.toLowerCase(), (t) => Le(t) === e), De = (e) => (t) => typeof t === e, { isArray: ce } = Array, me = De("undefined");
329
+ })(/* @__PURE__ */ Object.create(null)), te = (e) => (e = e.toLowerCase(), (t) => Le(t) === e), Fe = (e) => (t) => typeof t === e, { isArray: ce } = Array, me = Fe("undefined");
330
330
  function hn(e) {
331
- return e !== null && !me(e) && e.constructor !== null && !me(e.constructor) && J(e.constructor.isBuffer) && e.constructor.isBuffer(e);
331
+ return e !== null && !me(e) && e.constructor !== null && !me(e.constructor) && W(e.constructor.isBuffer) && e.constructor.isBuffer(e);
332
332
  }
333
333
  const Lt = te("ArrayBuffer");
334
334
  function mn(e) {
335
335
  let t;
336
336
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Lt(e.buffer), t;
337
337
  }
338
- const yn = De("string"), J = De("function"), Dt = De("number"), Fe = (e) => e !== null && typeof e == "object", bn = (e) => e === !0 || e === !1, _e = (e) => {
338
+ const yn = Fe("string"), W = Fe("function"), Ft = Fe("number"), De = (e) => e !== null && typeof e == "object", bn = (e) => e === !0 || e === !1, _e = (e) => {
339
339
  if (Le(e) !== "object")
340
340
  return !1;
341
341
  const t = tt(e);
342
342
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
343
- }, gn = te("Date"), wn = te("File"), Sn = te("Blob"), xn = te("FileList"), _n = (e) => Fe(e) && J(e.pipe), En = (e) => {
343
+ }, gn = te("Date"), wn = te("File"), Sn = te("Blob"), xn = te("FileList"), _n = (e) => De(e) && W(e.pipe), En = (e) => {
344
344
  let t;
345
- return e && (typeof FormData == "function" && e instanceof FormData || J(e.append) && ((t = Le(e)) === "formdata" || // detect form-data instance
346
- t === "object" && J(e.toString) && e.toString() === "[object FormData]"));
345
+ return e && (typeof FormData == "function" && e instanceof FormData || W(e.append) && ((t = Le(e)) === "formdata" || // detect form-data instance
346
+ t === "object" && W(e.toString) && e.toString() === "[object FormData]"));
347
347
  }, vn = te("URLSearchParams"), [Rn, Tn, On, An] = ["ReadableStream", "Request", "Response", "Headers"].map(te), kn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
348
348
  function be(e, t, { allOwnKeys: r = !1 } = {}) {
349
349
  if (e === null || typeof e > "u")
@@ -359,7 +359,7 @@ function be(e, t, { allOwnKeys: r = !1 } = {}) {
359
359
  c = s[n], t.call(null, e[c], c, e);
360
360
  }
361
361
  }
362
- function Ft(e, t) {
362
+ function Dt(e, t) {
363
363
  t = t.toLowerCase();
364
364
  const r = Object.keys(e);
365
365
  let n = r.length, o;
@@ -371,7 +371,7 @@ function Ft(e, t) {
371
371
  const ie = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Pt = (e) => !me(e) && e !== ie;
372
372
  function Ve() {
373
373
  const { caseless: e } = Pt(this) && this || {}, t = {}, r = (n, o) => {
374
- const s = e && Ft(t, o) || o;
374
+ const s = e && Dt(t, o) || o;
375
375
  _e(t[s]) && _e(n) ? t[s] = Ve(t[s], n) : _e(n) ? t[s] = Ve({}, n) : ce(n) ? t[s] = n.slice() : t[s] = n;
376
376
  };
377
377
  for (let n = 0, o = arguments.length; n < o; n++)
@@ -379,12 +379,12 @@ function Ve() {
379
379
  return t;
380
380
  }
381
381
  const $n = (e, t, r, { allOwnKeys: n } = {}) => (be(t, (o, s) => {
382
- r && J(o) ? e[s] = $t(o, r) : e[s] = o;
383
- }, { allOwnKeys: n }), e), Ln = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Dn = (e, t, r, n) => {
382
+ r && W(o) ? e[s] = $t(o, r) : e[s] = o;
383
+ }, { allOwnKeys: n }), e), Ln = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Fn = (e, t, r, n) => {
384
384
  e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
385
385
  value: t.prototype
386
386
  }), r && Object.assign(e.prototype, r);
387
- }, Fn = (e, t, r, n) => {
387
+ }, Dn = (e, t, r, n) => {
388
388
  let o, s, i;
389
389
  const c = {};
390
390
  if (t = t || {}, e == null)
@@ -405,7 +405,7 @@ const $n = (e, t, r, { allOwnKeys: n } = {}) => (be(t, (o, s) => {
405
405
  if (ce(e))
406
406
  return e;
407
407
  let t = e.length;
408
- if (!Dt(t))
408
+ if (!Ft(t))
409
409
  return null;
410
410
  const r = new Array(t);
411
411
  for (; t-- > 0; )
@@ -437,10 +437,10 @@ const $n = (e, t, r, { allOwnKeys: n } = {}) => (be(t, (o, s) => {
437
437
  }), Object.defineProperties(e, n);
438
438
  }, qn = (e) => {
439
439
  Nt(e, (t, r) => {
440
- if (J(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
440
+ if (W(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
441
441
  return !1;
442
442
  const n = e[r];
443
- if (J(n)) {
443
+ if (W(n)) {
444
444
  if (t.enumerable = !1, "writable" in t) {
445
445
  t.writable = !1;
446
446
  return;
@@ -470,11 +470,11 @@ const $n = (e, t, r, { allOwnKeys: n } = {}) => (be(t, (o, s) => {
470
470
  return r;
471
471
  };
472
472
  function Jn(e) {
473
- return !!(e && J(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
473
+ return !!(e && W(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
474
474
  }
475
475
  const Yn = (e) => {
476
476
  const t = new Array(10), r = (n, o) => {
477
- if (Fe(n)) {
477
+ if (De(n)) {
478
478
  if (t.indexOf(n) >= 0)
479
479
  return;
480
480
  if (!("toJSON" in n)) {
@@ -489,13 +489,13 @@ const Yn = (e) => {
489
489
  return n;
490
490
  };
491
491
  return r(e, 0);
492
- }, Kn = te("AsyncFunction"), Xn = (e) => e && (Fe(e) || J(e)) && J(e.then) && J(e.catch), Mt = ((e, t) => e ? setImmediate : t ? ((r, n) => (ie.addEventListener("message", ({ source: o, data: s }) => {
492
+ }, Kn = te("AsyncFunction"), Xn = (e) => e && (De(e) || W(e)) && W(e.then) && W(e.catch), Mt = ((e, t) => e ? setImmediate : t ? ((r, n) => (ie.addEventListener("message", ({ source: o, data: s }) => {
493
493
  o === ie && s === r && n.length && n.shift()();
494
494
  }, !1), (o) => {
495
495
  n.push(o), ie.postMessage(r, "*");
496
496
  }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
497
497
  typeof setImmediate == "function",
498
- J(ie.postMessage)
498
+ W(ie.postMessage)
499
499
  ), Zn = typeof queueMicrotask < "u" ? queueMicrotask.bind(ie) : typeof process < "u" && process.nextTick || Mt, a = {
500
500
  isArray: ce,
501
501
  isArrayBuffer: Lt,
@@ -503,9 +503,9 @@ const Yn = (e) => {
503
503
  isFormData: En,
504
504
  isArrayBufferView: mn,
505
505
  isString: yn,
506
- isNumber: Dt,
506
+ isNumber: Ft,
507
507
  isBoolean: bn,
508
- isObject: Fe,
508
+ isObject: De,
509
509
  isPlainObject: _e,
510
510
  isReadableStream: Rn,
511
511
  isRequest: Tn,
@@ -516,7 +516,7 @@ const Yn = (e) => {
516
516
  isFile: wn,
517
517
  isBlob: Sn,
518
518
  isRegExp: In,
519
- isFunction: J,
519
+ isFunction: W,
520
520
  isStream: _n,
521
521
  isURLSearchParams: vn,
522
522
  isTypedArray: Cn,
@@ -526,8 +526,8 @@ const Yn = (e) => {
526
526
  extend: $n,
527
527
  trim: kn,
528
528
  stripBOM: Ln,
529
- inherits: Dn,
530
- toFlatObject: Fn,
529
+ inherits: Fn,
530
+ toFlatObject: Dn,
531
531
  kindOf: Le,
532
532
  kindOfTest: te,
533
533
  endsWith: Pn,
@@ -544,7 +544,7 @@ const Yn = (e) => {
544
544
  toCamelCase: jn,
545
545
  noop: Vn,
546
546
  toFiniteNumber: zn,
547
- findKey: Ft,
547
+ findKey: Dt,
548
548
  global: ie,
549
549
  isContextDefined: Pt,
550
550
  ALPHABET: Ct,
@@ -1354,10 +1354,10 @@ const Yt = (e) => {
1354
1354
  config: e,
1355
1355
  request: y
1356
1356
  };
1357
- Wt(function(Y) {
1358
- r(Y), S();
1359
- }, function(Y) {
1360
- n(Y), S();
1357
+ Wt(function(J) {
1358
+ r(J), S();
1359
+ }, function(J) {
1360
+ n(J), S();
1361
1361
  }, P), y = null;
1362
1362
  }
1363
1363
  "onloadend" in y ? y.onloadend = L : y.onreadystatechange = function() {
@@ -1410,7 +1410,7 @@ const Yt = (e) => {
1410
1410
  const { signal: d } = n;
1411
1411
  return d.unsubscribe = () => a.asap(c), d;
1412
1412
  }
1413
- }, Lr = $r, Dr = function* (e, t) {
1413
+ }, Lr = $r, Fr = function* (e, t) {
1414
1414
  let r = e.byteLength;
1415
1415
  if (!t || r < t) {
1416
1416
  yield e;
@@ -1419,9 +1419,9 @@ const Yt = (e) => {
1419
1419
  let n = 0, o;
1420
1420
  for (; n < r; )
1421
1421
  o = n + t, yield e.slice(n, o), n = o;
1422
- }, Fr = async function* (e, t) {
1422
+ }, Dr = async function* (e, t) {
1423
1423
  for await (const r of Pr(e))
1424
- yield* Dr(r, t);
1424
+ yield* Fr(r, t);
1425
1425
  }, Pr = async function* (e) {
1426
1426
  if (e[Symbol.asyncIterator]) {
1427
1427
  yield* e;
@@ -1439,7 +1439,7 @@ const Yt = (e) => {
1439
1439
  await t.cancel();
1440
1440
  }
1441
1441
  }, bt = (e, t, r, n) => {
1442
- const o = Fr(e, t);
1442
+ const o = Dr(e, t);
1443
1443
  let s = 0, i, c = (d) => {
1444
1444
  i || (i = !0, n && n(d));
1445
1445
  };
@@ -1539,11 +1539,11 @@ const Mr = async (e) => {
1539
1539
  duplex: "half"
1540
1540
  }), M;
1541
1541
  if (a.isFormData(n) && (M = P.headers.get("content-type")) && u.setContentType(M), P.body) {
1542
- const [Y, G] = ht(
1542
+ const [J, Z] = ht(
1543
1543
  y,
1544
1544
  Te(mt(d))
1545
1545
  );
1546
- n = bt(P.body, gt, Y, G);
1546
+ n = bt(P.body, gt, J, Z);
1547
1547
  }
1548
1548
  }
1549
1549
  a.isString(h) || (h = h ? "include" : "omit");
@@ -1561,16 +1561,16 @@ const Mr = async (e) => {
1561
1561
  const A = Je && (l === "stream" || l === "response");
1562
1562
  if (Je && (c || A && S)) {
1563
1563
  const P = {};
1564
- ["status", "statusText", "headers"].forEach((K) => {
1565
- P[K] = N[K];
1564
+ ["status", "statusText", "headers"].forEach((Y) => {
1565
+ P[Y] = N[Y];
1566
1566
  });
1567
- const M = a.toFiniteNumber(N.headers.get("content-length")), [Y, G] = c && ht(
1567
+ const M = a.toFiniteNumber(N.headers.get("content-length")), [J, Z] = c && ht(
1568
1568
  M,
1569
1569
  Te(mt(c), !0)
1570
1570
  ) || [];
1571
1571
  N = new Response(
1572
- bt(N.body, gt, Y, () => {
1573
- G && G(), S && S();
1572
+ bt(N.body, gt, J, () => {
1573
+ Z && Z(), S && S();
1574
1574
  }),
1575
1575
  P
1576
1576
  );
@@ -1710,7 +1710,7 @@ function Ir(e, t, r) {
1710
1710
  const ve = {
1711
1711
  assertOptions: Ir,
1712
1712
  validators: Me
1713
- }, re = ve.validators;
1713
+ }, ne = ve.validators;
1714
1714
  class Ae {
1715
1715
  constructor(t) {
1716
1716
  this.defaults = t, this.interceptors = {
@@ -1747,17 +1747,17 @@ class Ae {
1747
1747
  typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = ae(this.defaults, r);
1748
1748
  const { transitional: n, paramsSerializer: o, headers: s } = r;
1749
1749
  n !== void 0 && ve.assertOptions(n, {
1750
- silentJSONParsing: re.transitional(re.boolean),
1751
- forcedJSONParsing: re.transitional(re.boolean),
1752
- clarifyTimeoutError: re.transitional(re.boolean)
1750
+ silentJSONParsing: ne.transitional(ne.boolean),
1751
+ forcedJSONParsing: ne.transitional(ne.boolean),
1752
+ clarifyTimeoutError: ne.transitional(ne.boolean)
1753
1753
  }, !1), o != null && (a.isFunction(o) ? r.paramsSerializer = {
1754
1754
  serialize: o
1755
1755
  } : ve.assertOptions(o, {
1756
- encode: re.function,
1757
- serialize: re.function
1756
+ encode: ne.function,
1757
+ serialize: ne.function
1758
1758
  }, !0)), ve.assertOptions(r, {
1759
- baseUrl: re.spelling("baseURL"),
1760
- withXsrfToken: re.spelling("withXSRFToken")
1759
+ baseUrl: ne.spelling("baseURL"),
1760
+ withXsrfToken: ne.spelling("withXSRFToken")
1761
1761
  }, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
1762
1762
  let i = s && a.merge(
1763
1763
  s.common,
@@ -2127,8 +2127,8 @@ const ge = I, we = sn(), Se = "http://127.0.0.1:7001", Wr = async (e) => (await
2127
2127
  }
2128
2128
  },
2129
2129
  setup(e) {
2130
- return (t, r) => (z(), Z("div", Gr, [
2131
- (z(!0), Z(Ze, null, Ge(e.data, (n, o) => (z(), Z("div", {
2130
+ return (t, r) => (z(), X("div", Gr, [
2131
+ (z(!0), X(Ze, null, Ge(e.data, (n, o) => (z(), X("div", {
2132
2132
  key: o,
2133
2133
  class: "kline-tips-item",
2134
2134
  style: Qe({ color: n.color })
@@ -2170,9 +2170,9 @@ const es = { class: "kline-tips" }, ts = {
2170
2170
  const { data: i, activeIndex: c } = n;
2171
2171
  return ((d = i == null ? void 0 : i.mainIndicator) == null ? void 0 : d.map((l) => ({ label: l.key, value: t(l.data[c]), color: l.color }))) || [];
2172
2172
  });
2173
- return (i, c) => (z(), Z("div", es, [
2174
- oe(Xe, { data: o.value }, null, 8, ["data"]),
2175
- oe(Xe, { data: s.value }, null, 8, ["data"])
2173
+ return (i, c) => (z(), X("div", es, [
2174
+ se(Xe, { data: o.value }, null, 8, ["data"]),
2175
+ se(Xe, { data: s.value }, null, 8, ["data"])
2176
2176
  ]));
2177
2177
  }
2178
2178
  }, ns = /* @__PURE__ */ ye(ts, [["__scopeId", "data-v-64b5c2a3"]]);
@@ -2375,10 +2375,10 @@ const rs = { class: "klineSub" }, ss = { class: "klineSub-tips" }, os = {
2375
2375
  // 重置
2376
2376
  }), (x, R) => {
2377
2377
  const p = an, S = cn;
2378
- return z(), Z("div", rs, [
2378
+ return z(), X("div", rs, [
2379
2379
  pe("div", ss, [
2380
- u.value.length ? (z(), Z("div", os, [
2381
- oe(S, {
2380
+ u.value.length ? (z(), X("div", os, [
2381
+ se(S, {
2382
2382
  modelValue: l.value,
2383
2383
  "onUpdate:modelValue": R[0] || (R[0] = (y) => l.value = y),
2384
2384
  size: "small",
@@ -2386,7 +2386,7 @@ const rs = { class: "klineSub" }, ss = { class: "klineSub-tips" }, os = {
2386
2386
  class: "element-dark subIndicator"
2387
2387
  }, {
2388
2388
  default: fe(() => [
2389
- (z(!0), Z(Ze, null, Ge(e.subIndicatorList, (y) => (z(), Ot(p, {
2389
+ (z(!0), X(Ze, null, Ge(e.subIndicatorList, (y) => (z(), Ot(p, {
2390
2390
  key: y.value,
2391
2391
  label: y.label,
2392
2392
  value: y.value
@@ -2395,7 +2395,7 @@ const rs = { class: "klineSub" }, ss = { class: "klineSub-tips" }, os = {
2395
2395
  _: 1
2396
2396
  }, 8, ["modelValue"])
2397
2397
  ])) : et("", !0),
2398
- oe(Xe, { data: u.value }, null, 8, ["data"])
2398
+ se(Xe, { data: u.value }, null, 8, ["data"])
2399
2399
  ]),
2400
2400
  pe("div", {
2401
2401
  class: "klineSub-chart",
@@ -2430,7 +2430,7 @@ const rs = { class: "klineSub" }, ss = { class: "klineSub-tips" }, os = {
2430
2430
  u.left + u.width >= l.right && (s.value.left = `${d.offsetX - u.width}px`), u.top + u.height >= l.bottom && (console.log("高度超出"), s.value.top = `${d.offsetY - u.height}px`);
2431
2431
  }), document.addEventListener("click", i);
2432
2432
  };
2433
- return (d, l) => (z(), Z("div", {
2433
+ return (d, l) => (z(), X("div", {
2434
2434
  ref_key: "contextmenuRef",
2435
2435
  ref: n,
2436
2436
  class: "contextmenu",
@@ -2438,7 +2438,7 @@ const rs = { class: "klineSub" }, ss = { class: "klineSub-tips" }, os = {
2438
2438
  onMouseleave: i
2439
2439
  }, [
2440
2440
  at(d.$slots, "default", {}, void 0, !0),
2441
- s.value.display !== "none" ? (z(), Z("div", {
2441
+ s.value.display !== "none" ? (z(), X("div", {
2442
2442
  key: 0,
2443
2443
  ref_key: "contextmenuContentRef",
2444
2444
  ref: o,
@@ -2459,27 +2459,27 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2459
2459
  props: {
2460
2460
  variety: {
2461
2461
  type: [String, Number],
2462
- required: !0
2462
+ default: () => null
2463
2463
  },
2464
2464
  // 品种代码
2465
2465
  varietyName: {
2466
2466
  type: [String, Number],
2467
- default: () => ""
2467
+ default: () => null
2468
2468
  },
2469
2469
  // 品种名称
2470
2470
  featureId: {
2471
2471
  type: [String, Number],
2472
- default: () => ""
2472
+ default: () => null
2473
2473
  },
2474
2474
  // 合约id
2475
2475
  featureType: {
2476
2476
  type: [String, Number],
2477
- default: () => ""
2477
+ default: () => null
2478
2478
  },
2479
2479
  // 合约类型
2480
2480
  cycle: {
2481
2481
  type: String,
2482
- required: !0
2482
+ default: () => null
2483
2483
  },
2484
2484
  // 周期id
2485
2485
  mainIndicator: {
@@ -2537,14 +2537,17 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2537
2537
  ...h.config
2538
2538
  }));
2539
2539
  nn(
2540
- () => [
2541
- h.variety,
2542
- h.cycle,
2543
- h.mainIndicator,
2544
- p.value,
2545
- indicatorStore.filterIndicator,
2546
- indicatorStore.customIndicator
2547
- ],
2540
+ () => {
2541
+ var v, F;
2542
+ return [
2543
+ h.variety,
2544
+ h.cycle,
2545
+ h.mainIndicator,
2546
+ p.value,
2547
+ (v = h.indicatorStore) == null ? void 0 : v.filterIndicator,
2548
+ (F = h.indicatorStore) == null ? void 0 : F.customIndicator
2549
+ ];
2550
+ },
2548
2551
  () => {
2549
2552
  M();
2550
2553
  },
@@ -2567,7 +2570,7 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2567
2570
  const { loadCheckCounts: F } = A.value;
2568
2571
  if ((w = (B = s == null ? void 0 : s.getOption()) == null ? void 0 : B.dataZoom) != null && w[0]) {
2569
2572
  const { startValue: g } = (f = (b = s == null ? void 0 : s.getOption()) == null ? void 0 : b.dataZoom) == null ? void 0 : f[0];
2570
- g < F && d === !1 && l === !1 && (d = !0, Y("history")), K();
2573
+ g < F && d === !1 && l === !1 && (d = !0, J("history")), Y();
2571
2574
  }
2572
2575
  clearTimeout(c);
2573
2576
  }, 100);
@@ -2583,7 +2586,7 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2583
2586
  S.value = v;
2584
2587
  });
2585
2588
  }, M = async () => {
2586
- var j, q, X, ne;
2589
+ var j, q, K;
2587
2590
  if (!h.variety || !h.cycle)
2588
2591
  return;
2589
2592
  const {
@@ -2607,8 +2610,8 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2607
2610
  };
2608
2611
  g && m ? (D.startTime = g, D.endTime = m) : g ? (D.startTime = g, D.limit = _ + E) : m ? (D.endTime = m, D.limit = _ + E) : (D.endTime = fn().format("YYYY-MM-DD HH:mm:ss"), D.limit = _ + E);
2609
2612
  const T = await Wr(D);
2610
- y.value = (j = T == null ? void 0 : T.body) == null ? void 0 : j.kline, L.value = ((q = T == null ? void 0 : T.body) == null ? void 0 : q.warningLine) || [], G(), K(), C && u("getFactorData", (ne = (X = T == null ? void 0 : T.body) == null ? void 0 : X.factorData) == null ? void 0 : ne.filter((W) => W.freqId === B));
2611
- }, Y = async (v) => {
2613
+ y.value = (j = T == null ? void 0 : T.body) == null ? void 0 : j.kline, L.value = ((q = T == null ? void 0 : T.body) == null ? void 0 : q.warningLine) || [], Z(), Y(), C && u("getFactorData", (K = T == null ? void 0 : T.body) == null ? void 0 : K.factor);
2614
+ }, J = async (v) => {
2612
2615
  const { variety: F, cycle: B, indicatorStore: w, mainIndicator: b, right: f } = h, { addCounts: g } = A.value, { time: m } = y.value;
2613
2616
  if (v === "history") {
2614
2617
  const _ = await Jr({
@@ -2631,16 +2634,16 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2631
2634
  ...E,
2632
2635
  data: [..._.body.subIndicator[$].data, ...E.data.slice(1)]
2633
2636
  }))
2634
- }, G(!0), _.body.data.length < g && (l = !0), d = !1;
2637
+ }, Z(!0), _.body.data.length < g && (l = !0), d = !1;
2635
2638
  }
2636
- }, G = (v = !1) => {
2639
+ }, Z = (v = !1) => {
2637
2640
  var $, C, D;
2638
2641
  k();
2639
2642
  const { data: F, time: B } = y.value, { gridRight: w, gridLeft: b, defaultShowCounts: f, maxShowCounts: g, showSubChart: m } = A.value;
2640
2643
  let _ = F.length - 1 - f, E = F.length - 1;
2641
2644
  if (v) {
2642
- const T = s.getOption(), j = (C = ($ = T == null ? void 0 : T.xAxis) == null ? void 0 : $[0]) == null ? void 0 : C.data, q = (D = T == null ? void 0 : T.dataZoom) == null ? void 0 : D[0], X = j[q == null ? void 0 : q.startValue], ne = j[q == null ? void 0 : q.endValue];
2643
- _ = B.findIndex((W) => W === X), E = B.findIndex((W) => W === ne);
2645
+ const T = s.getOption(), j = (C = ($ = T == null ? void 0 : T.xAxis) == null ? void 0 : $[0]) == null ? void 0 : C.data, q = (D = T == null ? void 0 : T.dataZoom) == null ? void 0 : D[0], K = j[q == null ? void 0 : q.startValue], oe = j[q == null ? void 0 : q.endValue];
2646
+ _ = B.findIndex((G) => G === K), E = B.findIndex((G) => G === oe);
2644
2647
  }
2645
2648
  s.setOption({
2646
2649
  animation: !1,
@@ -2727,7 +2730,7 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2727
2730
  { startValue: _, endValue: E, maxValueSpan: g },
2728
2731
  { gridLeft: b, gridRight: w }
2729
2732
  );
2730
- }, K = () => {
2733
+ }, Y = () => {
2731
2734
  if (!s)
2732
2735
  return;
2733
2736
  const v = s == null ? void 0 : s.getOption();
@@ -2736,7 +2739,7 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2736
2739
  ...v,
2737
2740
  graphic: [
2738
2741
  ...Zr(s, L.value, h, A.value, (F) => {
2739
- L.value = F, K(), u("change", "warningLine", F);
2742
+ L.value = F, Y(), u("change", "warningLine", F);
2740
2743
  })
2741
2744
  ]
2742
2745
  },
@@ -2814,14 +2817,14 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2814
2817
  };
2815
2818
  return t({
2816
2819
  draw(v, F) {
2817
- v === "warningLine" && (L.value = F, K());
2820
+ v === "warningLine" && (L.value = F, Y());
2818
2821
  }
2819
2822
  }), (v, F) => {
2820
2823
  var b;
2821
2824
  const B = en, w = tn;
2822
- return z(), Z("div", us, [
2825
+ return z(), X("div", us, [
2823
2826
  pe("div", ds, [
2824
- oe(ns, {
2827
+ se(ns, {
2825
2828
  data: y.value,
2826
2829
  activeIndex: S.value
2827
2830
  }, null, 8, ["data", "activeIndex"])
@@ -2830,16 +2833,16 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2830
2833
  class: "klineBasic-main",
2831
2834
  style: Qe({ height: A.value.showSubChart ? "70%" : "100%" })
2832
2835
  }, [
2833
- oe(ls, null, {
2836
+ se(ls, null, {
2834
2837
  popover: fe(() => [
2835
- oe(w, { style: {
2838
+ se(w, { style: {
2836
2839
  borderRadius: "4px",
2837
2840
  overflow: "hidden",
2838
2841
  background: "#fff",
2839
2842
  borderRight: 0
2840
2843
  } }, {
2841
2844
  default: fe(() => [
2842
- (z(!0), Z(Ze, null, Ge(N.value, (f) => (z(), Ot(B, {
2845
+ (z(!0), X(Ze, null, Ge(N.value, (f) => (z(), Ot(B, {
2843
2846
  style: { height: "36px" },
2844
2847
  key: f.key,
2845
2848
  index: f.key,
@@ -2864,8 +2867,8 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2864
2867
  _: 1
2865
2868
  })
2866
2869
  ], 4),
2867
- A.value.showSubChart ? (z(), Z("div", fs, [
2868
- oe(as, {
2870
+ A.value.showSubChart ? (z(), X("div", fs, [
2871
+ se(as, {
2869
2872
  ref_key: "klineSubRef",
2870
2873
  ref: R,
2871
2874
  modelValue: p.value,
@@ -2878,7 +2881,7 @@ const us = { class: "klineBasic" }, ds = { class: "klineBasic-tips" }, fs = {
2878
2881
  ]);
2879
2882
  };
2880
2883
  }
2881
- }, hs = /* @__PURE__ */ ye(ps, [["__scopeId", "data-v-37522fe0"]]), Bs = {
2884
+ }, hs = /* @__PURE__ */ ye(ps, [["__scopeId", "data-v-30f35824"]]), Bs = {
2882
2885
  install(e) {
2883
2886
  e.component("st-klineBasic", hs);
2884
2887
  }