st-comp 0.0.16 → 0.0.18
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/lib/bundle.js +620 -612
- package/lib/bundle.umd.cjs +7 -7
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/Kline/formatKlineData.ts +25 -23
- package/packages/Kline/index.vue +20 -7
- package/packages/Kline/option.ts +1 -1
- package/src/pages/Kline/api.ts +4 -4
- package/src/pages/Kline/components/MultiCycleSingleVariety.vue +1 -1
- package/src/pages/Kline/components/SingleCycleSingleVariety.vue +1 -1
package/lib/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentScope as Md, onScopeDispose as ou, ref as w, readonly as au, unref as f, getCurrentInstance as Ee, onMounted as je, nextTick as Ie, watch as ee, openBlock as I, createElementBlock as k, createElementVNode as Y, warn as Td, isVNode as vi, computed as C, watchEffect as
|
|
1
|
+
import { getCurrentScope as Md, onScopeDispose as ou, ref as w, readonly as au, unref as f, getCurrentInstance as Ee, onMounted as je, nextTick as Ie, watch as ee, openBlock as I, createElementBlock as k, createElementVNode as Y, warn as Td, isVNode as vi, computed as C, watchEffect as Un, onBeforeUnmount as St, inject as ye, isRef as Gn, shallowRef as io, onBeforeMount as bl, provide as tt, defineComponent as U, renderSlot as oe, mergeProps as kt, toRef as en, onUnmounted as ua, useAttrs as Ad, useSlots as ca, withDirectives as We, createCommentVNode as ne, Fragment as xe, normalizeClass as j, createBlock as q, withCtx as G, resolveDynamicComponent as Tt, withModifiers as Et, createVNode as fe, toDisplayString as Ae, normalizeStyle as Se, vShow as nn, Transition as On, reactive as Mn, onUpdated as ru, cloneVNode as Cd, Text as lu, Comment as iu, Teleport as su, onDeactivated as Nd, toRaw as Do, vModelCheckbox as Ya, createTextVNode as $t, toRefs as jo, toHandlers as Dd, h as J, createSlots as Ml, resolveComponent as Ge, triggerRef as Vo, resolveDirective as Tl, renderList as Gt, withKeys as Jt, vModelText as _d, createApp as Id } from "vue";
|
|
2
2
|
import * as wd from "echarts";
|
|
3
3
|
const za = function(e, n, ...t) {
|
|
4
4
|
let o;
|
|
@@ -47,20 +47,20 @@ function Va(e, n, t = {}) {
|
|
|
47
47
|
stop: i
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Vn(e) {
|
|
51
51
|
var n;
|
|
52
52
|
const t = Al(e);
|
|
53
53
|
return (n = t == null ? void 0 : t.$el) != null ? n : t;
|
|
54
54
|
}
|
|
55
55
|
const Cl = Pe ? window : void 0;
|
|
56
|
-
function
|
|
56
|
+
function Sn(...e) {
|
|
57
57
|
let n, t, o, a;
|
|
58
58
|
if (Ed(e[0]) || Array.isArray(e[0]) ? ([t, o, a] = e, n = Cl) : [n, t, o, a] = e, !n)
|
|
59
59
|
return uu;
|
|
60
60
|
Array.isArray(t) || (t = [t]), Array.isArray(o) || (o = [o]);
|
|
61
61
|
const r = [], l = () => {
|
|
62
62
|
r.forEach((c) => c()), r.length = 0;
|
|
63
|
-
}, i = (c, d, v, g) => (c.addEventListener(d, v, g), () => c.removeEventListener(d, v, g)), s = ee(() => [
|
|
63
|
+
}, i = (c, d, v, g) => (c.addEventListener(d, v, g), () => c.removeEventListener(d, v, g)), s = ee(() => [Vn(n), Al(a)], ([c, d]) => {
|
|
64
64
|
l(), c && r.push(...t.flatMap((v) => o.map((g) => i(c, v, g, d))));
|
|
65
65
|
}, { immediate: !0, flush: "post" }), u = () => {
|
|
66
66
|
s(), l();
|
|
@@ -78,12 +78,12 @@ function Od(e, n, t = {}) {
|
|
|
78
78
|
if (typeof g == "string")
|
|
79
79
|
return Array.from(o.document.querySelectorAll(g)).some((m) => m === v.target || v.composedPath().includes(m));
|
|
80
80
|
{
|
|
81
|
-
const m =
|
|
81
|
+
const m = Vn(g);
|
|
82
82
|
return m && (v.target === m || v.composedPath().includes(m));
|
|
83
83
|
}
|
|
84
84
|
}), c = [
|
|
85
|
-
|
|
86
|
-
const g =
|
|
85
|
+
Sn(o, "click", (v) => {
|
|
86
|
+
const g = Vn(e);
|
|
87
87
|
if (!(!g || g === v.target || v.composedPath().includes(g))) {
|
|
88
88
|
if (v.detail === 0 && (i = !s(v)), !i) {
|
|
89
89
|
i = !0;
|
|
@@ -92,13 +92,13 @@ function Od(e, n, t = {}) {
|
|
|
92
92
|
n(v);
|
|
93
93
|
}
|
|
94
94
|
}, { passive: !0, capture: r }),
|
|
95
|
-
|
|
96
|
-
const g =
|
|
95
|
+
Sn(o, "pointerdown", (v) => {
|
|
96
|
+
const g = Vn(e);
|
|
97
97
|
g && (i = !v.composedPath().includes(g) && !s(v));
|
|
98
98
|
}, { passive: !0 }),
|
|
99
|
-
l &&
|
|
99
|
+
l && Sn(o, "blur", (v) => {
|
|
100
100
|
var g;
|
|
101
|
-
const m =
|
|
101
|
+
const m = Vn(e);
|
|
102
102
|
((g = o.document.activeElement) == null ? void 0 : g.tagName) === "IFRAME" && !(m != null && m.contains(o.document.activeElement)) && n(v);
|
|
103
103
|
})
|
|
104
104
|
].filter(Boolean);
|
|
@@ -119,12 +119,12 @@ var Ti = Object.getOwnPropertySymbols, Rd = Object.prototype.hasOwnProperty, xd
|
|
|
119
119
|
n.indexOf(o) < 0 && xd.call(e, o) && (t[o] = e[o]);
|
|
120
120
|
return t;
|
|
121
121
|
};
|
|
122
|
-
function
|
|
122
|
+
function co(e, n, t = {}) {
|
|
123
123
|
const o = t, { window: a = Cl } = o, r = Pd(o, ["window"]);
|
|
124
124
|
let l;
|
|
125
125
|
const i = zd(() => a && "ResizeObserver" in a), s = () => {
|
|
126
126
|
l && (l.disconnect(), l = void 0);
|
|
127
|
-
}, u = ee(() =>
|
|
127
|
+
}, u = ee(() => Vn(e), (d) => {
|
|
128
128
|
s(), i.value && a && d && (l = new ResizeObserver(n), l.observe(d, r));
|
|
129
129
|
}, { immediate: !0, flush: "post" }), c = () => {
|
|
130
130
|
s(), u();
|
|
@@ -178,8 +178,8 @@ Hd({
|
|
|
178
178
|
const Fd = () => Pe && /firefox/i.test(window.navigator.userAgent);
|
|
179
179
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
180
180
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
181
|
-
const
|
|
182
|
-
}, du = Object.assign, Yd = Object.prototype.hasOwnProperty,
|
|
181
|
+
const Ln = () => {
|
|
182
|
+
}, du = Object.assign, Yd = Object.prototype.hasOwnProperty, po = (e, n) => Yd.call(e, n), dn = Array.isArray, Wt = (e) => typeof e == "function", et = (e) => typeof e == "string", Vd = (e) => typeof e == "symbol", Ft = (e) => e !== null && typeof e == "object", Wd = Object.prototype.toString, Ud = (e) => Wd.call(e), Sr = (e) => Ud(e).slice(8, -1), pu = (e) => {
|
|
183
183
|
const n = /* @__PURE__ */ Object.create(null);
|
|
184
184
|
return (t) => n[t] || (n[t] = e(t));
|
|
185
185
|
}, Gd = /-(\w)/g, Kd = pu((e) => e.replace(Gd, (n, t) => t ? t.toUpperCase() : "")), Qd = /\B([A-Z])/g, Xd = pu(
|
|
@@ -191,31 +191,31 @@ var Zd = typeof self == "object" && self && self.Object === Object && self, Jd =
|
|
|
191
191
|
const fn = Jd;
|
|
192
192
|
var ep = fn.Symbol;
|
|
193
193
|
const hn = ep;
|
|
194
|
-
var mu = Object.prototype, tp = mu.hasOwnProperty, np = mu.toString,
|
|
194
|
+
var mu = Object.prototype, tp = mu.hasOwnProperty, np = mu.toString, Wo = hn ? hn.toStringTag : void 0;
|
|
195
195
|
function op(e) {
|
|
196
|
-
var n = tp.call(e,
|
|
196
|
+
var n = tp.call(e, Wo), t = e[Wo];
|
|
197
197
|
try {
|
|
198
|
-
e[
|
|
198
|
+
e[Wo] = void 0;
|
|
199
199
|
var o = !0;
|
|
200
200
|
} catch {
|
|
201
201
|
}
|
|
202
202
|
var a = np.call(e);
|
|
203
|
-
return o && (n ? e[
|
|
203
|
+
return o && (n ? e[Wo] = t : delete e[Wo]), a;
|
|
204
204
|
}
|
|
205
205
|
var ap = Object.prototype, rp = ap.toString;
|
|
206
206
|
function lp(e) {
|
|
207
207
|
return rp.call(e);
|
|
208
208
|
}
|
|
209
209
|
var ip = "[object Null]", sp = "[object Undefined]", Di = hn ? hn.toStringTag : void 0;
|
|
210
|
-
function
|
|
210
|
+
function vo(e) {
|
|
211
211
|
return e == null ? e === void 0 ? sp : ip : Di && Di in Object(e) ? op(e) : lp(e);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function Kn(e) {
|
|
214
214
|
return e != null && typeof e == "object";
|
|
215
215
|
}
|
|
216
216
|
var up = "[object Symbol]";
|
|
217
217
|
function nr(e) {
|
|
218
|
-
return typeof e == "symbol" ||
|
|
218
|
+
return typeof e == "symbol" || Kn(e) && vo(e) == up;
|
|
219
219
|
}
|
|
220
220
|
function gu(e, n) {
|
|
221
221
|
for (var t = -1, o = e == null ? 0 : e.length, a = Array(o); ++t < o; )
|
|
@@ -286,7 +286,7 @@ var Cp = "[object AsyncFunction]", Np = "[object Function]", Dp = "[object Gener
|
|
|
286
286
|
function Dl(e) {
|
|
287
287
|
if (!Qt(e))
|
|
288
288
|
return !1;
|
|
289
|
-
var n =
|
|
289
|
+
var n = vo(e);
|
|
290
290
|
return n == Np || n == Dp || n == Cp || n == _p;
|
|
291
291
|
}
|
|
292
292
|
var Ip = fn["__core-js_shared__"];
|
|
@@ -299,7 +299,7 @@ function wp(e) {
|
|
|
299
299
|
return !!Si && Si in e;
|
|
300
300
|
}
|
|
301
301
|
var Ep = Function.prototype, Sp = Ep.toString;
|
|
302
|
-
function
|
|
302
|
+
function yo(e) {
|
|
303
303
|
if (e != null) {
|
|
304
304
|
try {
|
|
305
305
|
return Sp.call(e);
|
|
@@ -319,16 +319,16 @@ function kp(e) {
|
|
|
319
319
|
if (!Qt(e) || wp(e))
|
|
320
320
|
return !1;
|
|
321
321
|
var n = Dl(e) ? jp : Op;
|
|
322
|
-
return n.test(
|
|
322
|
+
return n.test(yo(e));
|
|
323
323
|
}
|
|
324
324
|
function $p(e, n) {
|
|
325
325
|
return e == null ? void 0 : e[n];
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function ho(e, n) {
|
|
328
328
|
var t = $p(e, n);
|
|
329
329
|
return kp(t) ? t : void 0;
|
|
330
330
|
}
|
|
331
|
-
var Hp =
|
|
331
|
+
var Hp = ho(fn, "WeakMap");
|
|
332
332
|
const Ur = Hp;
|
|
333
333
|
var Li = Object.create, Bp = function() {
|
|
334
334
|
function e() {
|
|
@@ -383,7 +383,7 @@ function Qp(e) {
|
|
|
383
383
|
}
|
|
384
384
|
var Xp = function() {
|
|
385
385
|
try {
|
|
386
|
-
var e =
|
|
386
|
+
var e = ho(Object, "defineProperty");
|
|
387
387
|
return e({}, "", {}), e;
|
|
388
388
|
} catch {
|
|
389
389
|
}
|
|
@@ -419,13 +419,13 @@ function _l(e, n, t) {
|
|
|
419
419
|
writable: !0
|
|
420
420
|
}) : e[n] = t;
|
|
421
421
|
}
|
|
422
|
-
function
|
|
422
|
+
function da(e, n) {
|
|
423
423
|
return e === n || e !== e && n !== n;
|
|
424
424
|
}
|
|
425
425
|
var of = Object.prototype, af = of.hasOwnProperty;
|
|
426
426
|
function hu(e, n, t) {
|
|
427
427
|
var o = e[n];
|
|
428
|
-
(!(af.call(e, n) &&
|
|
428
|
+
(!(af.call(e, n) && da(o, t)) || t === void 0 && !(n in e)) && _l(e, n, t);
|
|
429
429
|
}
|
|
430
430
|
function rf(e, n, t, o) {
|
|
431
431
|
var a = !t;
|
|
@@ -454,14 +454,14 @@ var sf = 9007199254740991;
|
|
|
454
454
|
function Il(e) {
|
|
455
455
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= sf;
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function ko(e) {
|
|
458
458
|
return e != null && Il(e.length) && !Dl(e);
|
|
459
459
|
}
|
|
460
460
|
function uf(e, n, t) {
|
|
461
461
|
if (!Qt(t))
|
|
462
462
|
return !1;
|
|
463
463
|
var o = typeof n;
|
|
464
|
-
return (o == "number" ?
|
|
464
|
+
return (o == "number" ? ko(t) && or(n, t.length) : o == "string" && n in t) ? da(t[n], e) : !1;
|
|
465
465
|
}
|
|
466
466
|
function cf(e) {
|
|
467
467
|
return lf(function(n, t) {
|
|
@@ -485,14 +485,14 @@ function pf(e, n) {
|
|
|
485
485
|
}
|
|
486
486
|
var ff = "[object Arguments]";
|
|
487
487
|
function zi(e) {
|
|
488
|
-
return
|
|
488
|
+
return Kn(e) && vo(e) == ff;
|
|
489
489
|
}
|
|
490
490
|
var Mu = Object.prototype, mf = Mu.hasOwnProperty, gf = Mu.propertyIsEnumerable, vf = zi(function() {
|
|
491
491
|
return arguments;
|
|
492
492
|
}()) ? zi : function(e) {
|
|
493
|
-
return
|
|
493
|
+
return Kn(e) && mf.call(e, "callee") && !gf.call(e, "callee");
|
|
494
494
|
};
|
|
495
|
-
const
|
|
495
|
+
const ta = vf;
|
|
496
496
|
function yf() {
|
|
497
497
|
return !1;
|
|
498
498
|
}
|
|
@@ -502,16 +502,16 @@ var Tf = "[object Arguments]", Af = "[object Array]", Cf = "[object Boolean]", N
|
|
|
502
502
|
Be[Pf] = Be[jf] = Be[kf] = Be[$f] = Be[Hf] = Be[Bf] = Be[Ff] = Be[Yf] = Be[Vf] = !0;
|
|
503
503
|
Be[Tf] = Be[Af] = Be[Rf] = Be[Cf] = Be[xf] = Be[Nf] = Be[Df] = Be[_f] = Be[If] = Be[wf] = Be[Ef] = Be[Sf] = Be[Lf] = Be[Of] = Be[zf] = !1;
|
|
504
504
|
function Wf(e) {
|
|
505
|
-
return
|
|
505
|
+
return Kn(e) && Il(e.length) && !!Be[vo(e)];
|
|
506
506
|
}
|
|
507
507
|
function Uf(e) {
|
|
508
508
|
return function(n) {
|
|
509
509
|
return e(n);
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
|
-
var Au = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
512
|
+
var Au = typeof exports == "object" && exports && !exports.nodeType && exports, Qo = Au && typeof module == "object" && module && !module.nodeType && module, Gf = Qo && Qo.exports === Au, Or = Gf && fu.process, Kf = function() {
|
|
513
513
|
try {
|
|
514
|
-
var e =
|
|
514
|
+
var e = Qo && Qo.require && Qo.require("util").types;
|
|
515
515
|
return e || Or && Or.binding && Or.binding("util");
|
|
516
516
|
} catch {
|
|
517
517
|
}
|
|
@@ -521,7 +521,7 @@ var ji = Pi && Pi.isTypedArray, Qf = ji ? Uf(ji) : Wf;
|
|
|
521
521
|
const El = Qf;
|
|
522
522
|
var Xf = Object.prototype, qf = Xf.hasOwnProperty;
|
|
523
523
|
function Cu(e, n) {
|
|
524
|
-
var t = Kt(e), o = !t &&
|
|
524
|
+
var t = Kt(e), o = !t && ta(e), a = !t && !o && Ua(e), r = !t && !o && !a && El(e), l = t || o || a || r, i = l ? pf(e.length, String) : [], s = i.length;
|
|
525
525
|
for (var u in e)
|
|
526
526
|
(n || qf.call(e, u)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
527
527
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -547,7 +547,7 @@ function nm(e) {
|
|
|
547
547
|
return n;
|
|
548
548
|
}
|
|
549
549
|
function Sl(e) {
|
|
550
|
-
return
|
|
550
|
+
return ko(e) ? Cu(e) : nm(e);
|
|
551
551
|
}
|
|
552
552
|
function om(e) {
|
|
553
553
|
var n = [];
|
|
@@ -566,7 +566,7 @@ function lm(e) {
|
|
|
566
566
|
return t;
|
|
567
567
|
}
|
|
568
568
|
function Du(e) {
|
|
569
|
-
return
|
|
569
|
+
return ko(e) ? Cu(e, !0) : lm(e);
|
|
570
570
|
}
|
|
571
571
|
var im = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, sm = /^\w*$/;
|
|
572
572
|
function Ll(e, n) {
|
|
@@ -575,10 +575,10 @@ function Ll(e, n) {
|
|
|
575
575
|
var t = typeof e;
|
|
576
576
|
return t == "number" || t == "symbol" || t == "boolean" || e == null || nr(e) ? !0 : sm.test(e) || !im.test(e) || n != null && e in Object(n);
|
|
577
577
|
}
|
|
578
|
-
var um =
|
|
579
|
-
const
|
|
578
|
+
var um = ho(Object, "create");
|
|
579
|
+
const na = um;
|
|
580
580
|
function cm() {
|
|
581
|
-
this.__data__ =
|
|
581
|
+
this.__data__ = na ? na(null) : {}, this.size = 0;
|
|
582
582
|
}
|
|
583
583
|
function dm(e) {
|
|
584
584
|
var n = this.has(e) && delete this.__data__[e];
|
|
@@ -587,7 +587,7 @@ function dm(e) {
|
|
|
587
587
|
var pm = "__lodash_hash_undefined__", fm = Object.prototype, mm = fm.hasOwnProperty;
|
|
588
588
|
function gm(e) {
|
|
589
589
|
var n = this.__data__;
|
|
590
|
-
if (
|
|
590
|
+
if (na) {
|
|
591
591
|
var t = n[e];
|
|
592
592
|
return t === pm ? void 0 : t;
|
|
593
593
|
}
|
|
@@ -596,31 +596,31 @@ function gm(e) {
|
|
|
596
596
|
var vm = Object.prototype, ym = vm.hasOwnProperty;
|
|
597
597
|
function hm(e) {
|
|
598
598
|
var n = this.__data__;
|
|
599
|
-
return
|
|
599
|
+
return na ? n[e] !== void 0 : ym.call(n, e);
|
|
600
600
|
}
|
|
601
601
|
var bm = "__lodash_hash_undefined__";
|
|
602
602
|
function Mm(e, n) {
|
|
603
603
|
var t = this.__data__;
|
|
604
|
-
return this.size += this.has(e) ? 0 : 1, t[e] =
|
|
604
|
+
return this.size += this.has(e) ? 0 : 1, t[e] = na && n === void 0 ? bm : n, this;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function fo(e) {
|
|
607
607
|
var n = -1, t = e == null ? 0 : e.length;
|
|
608
608
|
for (this.clear(); ++n < t; ) {
|
|
609
609
|
var o = e[n];
|
|
610
610
|
this.set(o[0], o[1]);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
613
|
+
fo.prototype.clear = cm;
|
|
614
|
+
fo.prototype.delete = dm;
|
|
615
|
+
fo.prototype.get = gm;
|
|
616
|
+
fo.prototype.has = hm;
|
|
617
|
+
fo.prototype.set = Mm;
|
|
618
618
|
function Tm() {
|
|
619
619
|
this.__data__ = [], this.size = 0;
|
|
620
620
|
}
|
|
621
621
|
function ar(e, n) {
|
|
622
622
|
for (var t = e.length; t--; )
|
|
623
|
-
if (
|
|
623
|
+
if (da(e[t][0], n))
|
|
624
624
|
return t;
|
|
625
625
|
return -1;
|
|
626
626
|
}
|
|
@@ -643,25 +643,25 @@ function Im(e, n) {
|
|
|
643
643
|
var t = this.__data__, o = ar(t, e);
|
|
644
644
|
return o < 0 ? (++this.size, t.push([e, n])) : t[o][1] = n, this;
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function xn(e) {
|
|
647
647
|
var n = -1, t = e == null ? 0 : e.length;
|
|
648
648
|
for (this.clear(); ++n < t; ) {
|
|
649
649
|
var o = e[n];
|
|
650
650
|
this.set(o[0], o[1]);
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
var wm =
|
|
659
|
-
const
|
|
653
|
+
xn.prototype.clear = Tm;
|
|
654
|
+
xn.prototype.delete = Nm;
|
|
655
|
+
xn.prototype.get = Dm;
|
|
656
|
+
xn.prototype.has = _m;
|
|
657
|
+
xn.prototype.set = Im;
|
|
658
|
+
var wm = ho(fn, "Map");
|
|
659
|
+
const oa = wm;
|
|
660
660
|
function Em() {
|
|
661
661
|
this.size = 0, this.__data__ = {
|
|
662
|
-
hash: new
|
|
663
|
-
map: new (
|
|
664
|
-
string: new
|
|
662
|
+
hash: new fo(),
|
|
663
|
+
map: new (oa || xn)(),
|
|
664
|
+
string: new fo()
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
667
|
function Sm(e) {
|
|
@@ -686,18 +686,18 @@ function Rm(e, n) {
|
|
|
686
686
|
var t = rr(this, e), o = t.size;
|
|
687
687
|
return t.set(e, n), this.size += t.size == o ? 0 : 1, this;
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function Pn(e) {
|
|
690
690
|
var n = -1, t = e == null ? 0 : e.length;
|
|
691
691
|
for (this.clear(); ++n < t; ) {
|
|
692
692
|
var o = e[n];
|
|
693
693
|
this.set(o[0], o[1]);
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
696
|
+
Pn.prototype.clear = Em;
|
|
697
|
+
Pn.prototype.delete = Lm;
|
|
698
|
+
Pn.prototype.get = Om;
|
|
699
|
+
Pn.prototype.has = zm;
|
|
700
|
+
Pn.prototype.set = Rm;
|
|
701
701
|
var xm = "Expected a function";
|
|
702
702
|
function Ol(e, n) {
|
|
703
703
|
if (typeof e != "function" || n != null && typeof n != "function")
|
|
@@ -709,9 +709,9 @@ function Ol(e, n) {
|
|
|
709
709
|
var l = e.apply(this, o);
|
|
710
710
|
return t.cache = r.set(a, l) || r, l;
|
|
711
711
|
};
|
|
712
|
-
return t.cache = new (Ol.Cache ||
|
|
712
|
+
return t.cache = new (Ol.Cache || Pn)(), t;
|
|
713
713
|
}
|
|
714
|
-
Ol.Cache =
|
|
714
|
+
Ol.Cache = Pn;
|
|
715
715
|
var Pm = 500;
|
|
716
716
|
function jm(e) {
|
|
717
717
|
var n = Ol(e, function(o) {
|
|
@@ -733,7 +733,7 @@ function lr(e, n) {
|
|
|
733
733
|
return Kt(e) ? e : Ll(e, n) ? [e] : Bm(Fm(e));
|
|
734
734
|
}
|
|
735
735
|
var Ym = 1 / 0;
|
|
736
|
-
function
|
|
736
|
+
function pa(e) {
|
|
737
737
|
if (typeof e == "string" || nr(e))
|
|
738
738
|
return e;
|
|
739
739
|
var n = e + "";
|
|
@@ -742,7 +742,7 @@ function da(e) {
|
|
|
742
742
|
function zl(e, n) {
|
|
743
743
|
n = lr(n, e);
|
|
744
744
|
for (var t = 0, o = n.length; e != null && t < o; )
|
|
745
|
-
e = e[
|
|
745
|
+
e = e[pa(n[t++])];
|
|
746
746
|
return t && t == o ? e : void 0;
|
|
747
747
|
}
|
|
748
748
|
function bt(e, n, t) {
|
|
@@ -756,7 +756,7 @@ function _u(e, n) {
|
|
|
756
756
|
}
|
|
757
757
|
var ki = hn ? hn.isConcatSpreadable : void 0;
|
|
758
758
|
function Vm(e) {
|
|
759
|
-
return Kt(e) ||
|
|
759
|
+
return Kt(e) || ta(e) || !!(ki && e && e[ki]);
|
|
760
760
|
}
|
|
761
761
|
function Rl(e, n, t, o, a) {
|
|
762
762
|
var r = -1, l = e.length;
|
|
@@ -777,7 +777,7 @@ var Gm = Nu(Object.getPrototypeOf, Object);
|
|
|
777
777
|
const Iu = Gm;
|
|
778
778
|
var Km = "[object Object]", Qm = Function.prototype, Xm = Object.prototype, wu = Qm.toString, qm = Xm.hasOwnProperty, Zm = wu.call(Object);
|
|
779
779
|
function Jm(e) {
|
|
780
|
-
if (!
|
|
780
|
+
if (!Kn(e) || vo(e) != Km)
|
|
781
781
|
return !1;
|
|
782
782
|
var n = Iu(e);
|
|
783
783
|
if (n === null)
|
|
@@ -786,7 +786,7 @@ function Jm(e) {
|
|
|
786
786
|
return typeof t == "function" && t instanceof t && wu.call(t) == Zm;
|
|
787
787
|
}
|
|
788
788
|
function eg() {
|
|
789
|
-
this.__data__ = new
|
|
789
|
+
this.__data__ = new xn(), this.size = 0;
|
|
790
790
|
}
|
|
791
791
|
function tg(e) {
|
|
792
792
|
var n = this.__data__, t = n.delete(e);
|
|
@@ -801,16 +801,16 @@ function og(e) {
|
|
|
801
801
|
var ag = 200;
|
|
802
802
|
function rg(e, n) {
|
|
803
803
|
var t = this.__data__;
|
|
804
|
-
if (t instanceof
|
|
804
|
+
if (t instanceof xn) {
|
|
805
805
|
var o = t.__data__;
|
|
806
|
-
if (!
|
|
806
|
+
if (!oa || o.length < ag - 1)
|
|
807
807
|
return o.push([e, n]), this.size = ++t.size, this;
|
|
808
|
-
t = this.__data__ = new
|
|
808
|
+
t = this.__data__ = new Pn(o);
|
|
809
809
|
}
|
|
810
810
|
return t.set(e, n), this.size = t.size, this;
|
|
811
811
|
}
|
|
812
812
|
function vn(e) {
|
|
813
|
-
var n = this.__data__ = new
|
|
813
|
+
var n = this.__data__ = new xn(e);
|
|
814
814
|
this.size = n.size;
|
|
815
815
|
}
|
|
816
816
|
vn.prototype.clear = eg;
|
|
@@ -848,15 +848,15 @@ function mg(e, n, t) {
|
|
|
848
848
|
function Yi(e) {
|
|
849
849
|
return mg(e, Sl, fg);
|
|
850
850
|
}
|
|
851
|
-
var gg =
|
|
851
|
+
var gg = ho(fn, "DataView");
|
|
852
852
|
const Gr = gg;
|
|
853
|
-
var vg =
|
|
853
|
+
var vg = ho(fn, "Promise");
|
|
854
854
|
const Kr = vg;
|
|
855
|
-
var yg =
|
|
855
|
+
var yg = ho(fn, "Set");
|
|
856
856
|
const Qr = yg;
|
|
857
|
-
var Vi = "[object Map]", hg = "[object Object]", Wi = "[object Promise]", Ui = "[object Set]", Gi = "[object WeakMap]", Ki = "[object DataView]", bg =
|
|
858
|
-
(Gr &&
|
|
859
|
-
var n =
|
|
857
|
+
var Vi = "[object Map]", hg = "[object Object]", Wi = "[object Promise]", Ui = "[object Set]", Gi = "[object WeakMap]", Ki = "[object DataView]", bg = yo(Gr), Mg = yo(oa), Tg = yo(Kr), Ag = yo(Qr), Cg = yo(Ur), oo = vo;
|
|
858
|
+
(Gr && oo(new Gr(new ArrayBuffer(1))) != Ki || oa && oo(new oa()) != Vi || Kr && oo(Kr.resolve()) != Wi || Qr && oo(new Qr()) != Ui || Ur && oo(new Ur()) != Gi) && (oo = function(e) {
|
|
859
|
+
var n = vo(e), t = n == hg ? e.constructor : void 0, o = t ? yo(t) : "";
|
|
860
860
|
if (o)
|
|
861
861
|
switch (o) {
|
|
862
862
|
case bg:
|
|
@@ -872,7 +872,7 @@ var Vi = "[object Map]", hg = "[object Object]", Wi = "[object Promise]", Ui = "
|
|
|
872
872
|
}
|
|
873
873
|
return n;
|
|
874
874
|
});
|
|
875
|
-
const Qi =
|
|
875
|
+
const Qi = oo;
|
|
876
876
|
var Ng = fn.Uint8Array;
|
|
877
877
|
const Ga = Ng;
|
|
878
878
|
function Dg(e) {
|
|
@@ -895,7 +895,7 @@ function Sg(e) {
|
|
|
895
895
|
}
|
|
896
896
|
function Ka(e) {
|
|
897
897
|
var n = -1, t = e == null ? 0 : e.length;
|
|
898
|
-
for (this.__data__ = new
|
|
898
|
+
for (this.__data__ = new Pn(); ++n < t; )
|
|
899
899
|
this.add(e[n]);
|
|
900
900
|
}
|
|
901
901
|
Ka.prototype.add = Ka.prototype.push = Eg;
|
|
@@ -967,7 +967,7 @@ function Xg(e, n, t, o, a, r, l) {
|
|
|
967
967
|
case $g:
|
|
968
968
|
case Hg:
|
|
969
969
|
case Yg:
|
|
970
|
-
return
|
|
970
|
+
return da(+e, +n);
|
|
971
971
|
case Bg:
|
|
972
972
|
return e.name == n.name && e.message == n.message;
|
|
973
973
|
case Vg:
|
|
@@ -1023,11 +1023,11 @@ function ev(e, n, t, o, a, r) {
|
|
|
1023
1023
|
}
|
|
1024
1024
|
return r.delete(e), r.delete(n), p;
|
|
1025
1025
|
}
|
|
1026
|
-
var tv = 1, qi = "[object Arguments]", Zi = "[object Array]",
|
|
1026
|
+
var tv = 1, qi = "[object Arguments]", Zi = "[object Array]", Ta = "[object Object]", nv = Object.prototype, Ji = nv.hasOwnProperty;
|
|
1027
1027
|
function ov(e, n, t, o, a, r) {
|
|
1028
1028
|
var l = Kt(e), i = Kt(n), s = l ? Zi : Qi(e), u = i ? Zi : Qi(n);
|
|
1029
|
-
s = s == qi ?
|
|
1030
|
-
var c = s ==
|
|
1029
|
+
s = s == qi ? Ta : s, u = u == qi ? Ta : u;
|
|
1030
|
+
var c = s == Ta, d = u == Ta, v = s == u;
|
|
1031
1031
|
if (v && Ua(e)) {
|
|
1032
1032
|
if (!Ua(n))
|
|
1033
1033
|
return !1;
|
|
@@ -1045,7 +1045,7 @@ function ov(e, n, t, o, a, r) {
|
|
|
1045
1045
|
return v ? (r || (r = new vn()), ev(e, n, t, o, a, r)) : !1;
|
|
1046
1046
|
}
|
|
1047
1047
|
function ir(e, n, t, o, a) {
|
|
1048
|
-
return e === n ? !0 : e == null || n == null || !
|
|
1048
|
+
return e === n ? !0 : e == null || n == null || !Kn(e) && !Kn(n) ? e !== e && n !== n : ov(e, n, t, o, ir, a);
|
|
1049
1049
|
}
|
|
1050
1050
|
var av = 1, rv = 2;
|
|
1051
1051
|
function lv(e, n, t, o) {
|
|
@@ -1100,19 +1100,19 @@ function uv(e, n) {
|
|
|
1100
1100
|
function cv(e, n, t) {
|
|
1101
1101
|
n = lr(n, e);
|
|
1102
1102
|
for (var o = -1, a = n.length, r = !1; ++o < a; ) {
|
|
1103
|
-
var l =
|
|
1103
|
+
var l = pa(n[o]);
|
|
1104
1104
|
if (!(r = e != null && t(e, l)))
|
|
1105
1105
|
break;
|
|
1106
1106
|
e = e[l];
|
|
1107
1107
|
}
|
|
1108
|
-
return r || ++o != a ? r : (a = e == null ? 0 : e.length, !!a && Il(a) && or(l, a) && (Kt(e) ||
|
|
1108
|
+
return r || ++o != a ? r : (a = e == null ? 0 : e.length, !!a && Il(a) && or(l, a) && (Kt(e) || ta(e)));
|
|
1109
1109
|
}
|
|
1110
1110
|
function zu(e, n) {
|
|
1111
1111
|
return e != null && cv(e, n, uv);
|
|
1112
1112
|
}
|
|
1113
1113
|
var dv = 1, pv = 2;
|
|
1114
1114
|
function fv(e, n) {
|
|
1115
|
-
return Ll(e) && Lu(n) ? Ou(
|
|
1115
|
+
return Ll(e) && Lu(n) ? Ou(pa(e), n) : function(t) {
|
|
1116
1116
|
var o = bt(t, e);
|
|
1117
1117
|
return o === void 0 && o === n ? zu(t, e) : ir(n, o, dv | pv);
|
|
1118
1118
|
};
|
|
@@ -1128,7 +1128,7 @@ function gv(e) {
|
|
|
1128
1128
|
};
|
|
1129
1129
|
}
|
|
1130
1130
|
function vv(e) {
|
|
1131
|
-
return Ll(e) ? mv(
|
|
1131
|
+
return Ll(e) ? mv(pa(e)) : gv(e);
|
|
1132
1132
|
}
|
|
1133
1133
|
function Ru(e) {
|
|
1134
1134
|
return typeof e == "function" ? e : e == null ? Nl : typeof e == "object" ? Kt(e) ? fv(e[0], e[1]) : sv(e) : vv(e);
|
|
@@ -1152,7 +1152,7 @@ function Mv(e, n) {
|
|
|
1152
1152
|
return function(t, o) {
|
|
1153
1153
|
if (t == null)
|
|
1154
1154
|
return t;
|
|
1155
|
-
if (!
|
|
1155
|
+
if (!ko(t))
|
|
1156
1156
|
return e(t, o);
|
|
1157
1157
|
for (var a = t.length, r = n ? a : -1, l = Object(t); (n ? r-- : ++r < a) && o(l[r], r, l) !== !1; )
|
|
1158
1158
|
;
|
|
@@ -1166,7 +1166,7 @@ var Cv = function() {
|
|
|
1166
1166
|
};
|
|
1167
1167
|
const Rr = Cv;
|
|
1168
1168
|
var Nv = "Expected a function", Dv = Math.max, _v = Math.min;
|
|
1169
|
-
function
|
|
1169
|
+
function _o(e, n, t) {
|
|
1170
1170
|
var o, a, r, l, i, s, u = 0, c = !1, d = !1, v = !0;
|
|
1171
1171
|
if (typeof e != "function")
|
|
1172
1172
|
throw new TypeError(Nv);
|
|
@@ -1214,10 +1214,10 @@ function Do(e, n, t) {
|
|
|
1214
1214
|
return N.cancel = A, N.flush = y, N;
|
|
1215
1215
|
}
|
|
1216
1216
|
function Xr(e, n, t) {
|
|
1217
|
-
(t !== void 0 && !
|
|
1217
|
+
(t !== void 0 && !da(e[n], t) || t === void 0 && !(n in e)) && _l(e, n, t);
|
|
1218
1218
|
}
|
|
1219
1219
|
function Iv(e) {
|
|
1220
|
-
return
|
|
1220
|
+
return Kn(e) && ko(e);
|
|
1221
1221
|
}
|
|
1222
1222
|
function qr(e, n) {
|
|
1223
1223
|
if (!(n === "constructor" && typeof e[n] == "function") && n != "__proto__")
|
|
@@ -1235,7 +1235,7 @@ function Ev(e, n, t, o, a, r, l) {
|
|
|
1235
1235
|
var c = r ? r(i, s, t + "", e, n, l) : void 0, d = c === void 0;
|
|
1236
1236
|
if (d) {
|
|
1237
1237
|
var v = Kt(s), g = !v && Ua(s), m = !v && !g && El(s);
|
|
1238
|
-
c = s, v || g || m ? Kt(i) ? c = i : Iv(i) ? c = Vp(i) : g ? (d = !1, c = ig(s, !0)) : m ? (d = !1, c = _g(s, !0)) : c = [] : Jm(s) ||
|
|
1238
|
+
c = s, v || g || m ? Kt(i) ? c = i : Iv(i) ? c = Vp(i) : g ? (d = !1, c = ig(s, !0)) : m ? (d = !1, c = _g(s, !0)) : c = [] : Jm(s) || ta(s) ? (c = i, ta(i) ? c = wv(i) : (!Qt(i) || Dl(i)) && (c = Ig(s))) : d = !1;
|
|
1239
1239
|
}
|
|
1240
1240
|
d && (l.set(s, c), a(c, s, o, r, l), l.delete(s)), Xr(e, t, c);
|
|
1241
1241
|
}
|
|
@@ -1258,7 +1258,7 @@ function Ov(e, n, t) {
|
|
|
1258
1258
|
return t !== void 0 && (a = Ap(t), a = t < 0 ? Sv(o + a, 0) : Lv(a, o - 1)), ef(e, Ru(n), a, !0);
|
|
1259
1259
|
}
|
|
1260
1260
|
function zv(e, n) {
|
|
1261
|
-
var t = -1, o =
|
|
1261
|
+
var t = -1, o = ko(e) ? Array(e.length) : [];
|
|
1262
1262
|
return Av(e, function(a, r, l) {
|
|
1263
1263
|
o[++t] = n(a, r, l);
|
|
1264
1264
|
}), o;
|
|
@@ -1280,7 +1280,7 @@ function Qa(e) {
|
|
|
1280
1280
|
function Xa(e, n) {
|
|
1281
1281
|
return ir(e, n);
|
|
1282
1282
|
}
|
|
1283
|
-
function
|
|
1283
|
+
function Io(e) {
|
|
1284
1284
|
return e == null;
|
|
1285
1285
|
}
|
|
1286
1286
|
function Pv(e) {
|
|
@@ -1295,7 +1295,7 @@ function ku(e, n, t, o) {
|
|
|
1295
1295
|
return e;
|
|
1296
1296
|
n = lr(n, e);
|
|
1297
1297
|
for (var a = -1, r = n.length, l = r - 1, i = e; i != null && ++a < r; ) {
|
|
1298
|
-
var s =
|
|
1298
|
+
var s = pa(n[a]), u = t;
|
|
1299
1299
|
if (s === "__proto__" || s === "constructor" || s === "prototype")
|
|
1300
1300
|
return e;
|
|
1301
1301
|
if (a != l) {
|
|
@@ -1325,7 +1325,7 @@ const Bv = Hv;
|
|
|
1325
1325
|
function Fv(e, n, t) {
|
|
1326
1326
|
return e == null ? e : ku(e, n, t);
|
|
1327
1327
|
}
|
|
1328
|
-
const
|
|
1328
|
+
const wo = (e) => e === void 0, Qn = (e) => typeof e == "boolean", Ke = (e) => typeof e == "number", Eo = (e) => typeof Element > "u" ? !1 : e instanceof Element, Yv = (e) => et(e) ? !Number.isNaN(Number(e)) : !1, Vv = (e = "") => e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), es = (e) => Object.keys(e), Wv = (e, n, t) => ({
|
|
1329
1329
|
get value() {
|
|
1330
1330
|
return bt(e, n, t);
|
|
1331
1331
|
},
|
|
@@ -1338,7 +1338,7 @@ class $u extends Error {
|
|
|
1338
1338
|
super(n), this.name = "ElementPlusError";
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
|
-
function
|
|
1341
|
+
function mo(e, n) {
|
|
1342
1342
|
throw new $u(`[${e}] ${n}`);
|
|
1343
1343
|
}
|
|
1344
1344
|
function pt(e, n) {
|
|
@@ -1347,17 +1347,17 @@ function pt(e, n) {
|
|
|
1347
1347
|
console.warn(t);
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
|
-
const Uv = "utils/dom/style", Hu = (e = "") => e.split(" ").filter((n) => !!n.trim()),
|
|
1350
|
+
const Uv = "utils/dom/style", Hu = (e = "") => e.split(" ").filter((n) => !!n.trim()), so = (e, n) => {
|
|
1351
1351
|
if (!e || !n)
|
|
1352
1352
|
return !1;
|
|
1353
1353
|
if (n.includes(" "))
|
|
1354
1354
|
throw new Error("className should not contain space.");
|
|
1355
1355
|
return e.classList.contains(n);
|
|
1356
|
-
},
|
|
1356
|
+
}, En = (e, n) => {
|
|
1357
1357
|
!e || !n.trim() || e.classList.add(...Hu(n));
|
|
1358
1358
|
}, pn = (e, n) => {
|
|
1359
1359
|
!e || !n.trim() || e.classList.remove(...Hu(n));
|
|
1360
|
-
},
|
|
1360
|
+
}, Ao = (e, n) => {
|
|
1361
1361
|
var t;
|
|
1362
1362
|
if (!Pe || !e || !n)
|
|
1363
1363
|
return "";
|
|
@@ -1373,7 +1373,7 @@ const Uv = "utils/dom/style", Hu = (e = "") => e.split(" ").filter((n) => !!n.tr
|
|
|
1373
1373
|
return e.style[o];
|
|
1374
1374
|
}
|
|
1375
1375
|
};
|
|
1376
|
-
function
|
|
1376
|
+
function zn(e, n = "px") {
|
|
1377
1377
|
if (!e)
|
|
1378
1378
|
return "";
|
|
1379
1379
|
if (Ke(e) || Yv(e))
|
|
@@ -1382,13 +1382,13 @@ function On(e, n = "px") {
|
|
|
1382
1382
|
return e;
|
|
1383
1383
|
pt(Uv, "binding value must be a string or number");
|
|
1384
1384
|
}
|
|
1385
|
-
let
|
|
1385
|
+
let Aa;
|
|
1386
1386
|
const Gv = (e) => {
|
|
1387
1387
|
var n;
|
|
1388
1388
|
if (!Pe)
|
|
1389
1389
|
return 0;
|
|
1390
|
-
if (
|
|
1391
|
-
return
|
|
1390
|
+
if (Aa !== void 0)
|
|
1391
|
+
return Aa;
|
|
1392
1392
|
const t = document.createElement("div");
|
|
1393
1393
|
t.className = `${e}-scrollbar__wrap`, t.style.visibility = "hidden", t.style.width = "100px", t.style.position = "absolute", t.style.top = "-9999px", document.body.appendChild(t);
|
|
1394
1394
|
const o = t.offsetWidth;
|
|
@@ -1396,7 +1396,7 @@ const Gv = (e) => {
|
|
|
1396
1396
|
const a = document.createElement("div");
|
|
1397
1397
|
a.style.width = "100%", t.appendChild(a);
|
|
1398
1398
|
const r = a.offsetWidth;
|
|
1399
|
-
return (n = t.parentNode) == null || n.removeChild(t),
|
|
1399
|
+
return (n = t.parentNode) == null || n.removeChild(t), Aa = o - r, Aa;
|
|
1400
1400
|
};
|
|
1401
1401
|
function Kv(e, n) {
|
|
1402
1402
|
if (!Pe)
|
|
@@ -1757,7 +1757,7 @@ const Bu = "__epPropKey", pe = (e) => e, wh = (e) => Ft(e) && !!e[Bu], ur = (e,
|
|
|
1757
1757
|
required: !!o,
|
|
1758
1758
|
validator: t || l ? (u) => {
|
|
1759
1759
|
let c = !1, d = [];
|
|
1760
|
-
if (t && (d = Array.from(t),
|
|
1760
|
+
if (t && (d = Array.from(t), po(e, "default") && d.push(a), c || (c = d.includes(u))), l && (c || (c = l(u))), !c && d.length > 0) {
|
|
1761
1761
|
const v = [...new Set(d)].map((g) => JSON.stringify(g)).join(", ");
|
|
1762
1762
|
Td(`Invalid prop: validation failed${n ? ` for prop "${n}"` : ""}. Expected one of [${v}], got value ${JSON.stringify(u)}.`);
|
|
1763
1763
|
}
|
|
@@ -1765,7 +1765,7 @@ const Bu = "__epPropKey", pe = (e) => e, wh = (e) => Ft(e) && !!e[Bu], ur = (e,
|
|
|
1765
1765
|
} : void 0,
|
|
1766
1766
|
[Bu]: !0
|
|
1767
1767
|
};
|
|
1768
|
-
return
|
|
1768
|
+
return po(e, "default") && (s.default = a), s;
|
|
1769
1769
|
}, we = (e) => Qa(Object.entries(e).map(([n, t]) => [
|
|
1770
1770
|
n,
|
|
1771
1771
|
ur(t, n)
|
|
@@ -1789,7 +1789,7 @@ const Bu = "__epPropKey", pe = (e) => e, wh = (e) => Ft(e) && !!e[Bu], ur = (e,
|
|
|
1789
1789
|
return e;
|
|
1790
1790
|
}, Sh = (e, n) => (e.install = (t) => {
|
|
1791
1791
|
t.directive(n, e);
|
|
1792
|
-
}, e),
|
|
1792
|
+
}, e), jn = (e) => (e.install = Ln, e), Lh = (...e) => (n) => {
|
|
1793
1793
|
e.forEach((t) => {
|
|
1794
1794
|
Wt(t) ? t(n) : t.value = n;
|
|
1795
1795
|
});
|
|
@@ -1809,11 +1809,11 @@ const Bu = "__epPropKey", pe = (e) => e, wh = (e) => Ft(e) && !!e[Bu], ur = (e,
|
|
|
1809
1809
|
pageDown: "PageDown",
|
|
1810
1810
|
home: "Home",
|
|
1811
1811
|
end: "End"
|
|
1812
|
-
}, ut = "update:modelValue", Yu = "change",
|
|
1812
|
+
}, ut = "update:modelValue", Yu = "change", fa = ["", "default", "small", "large"], Oh = {
|
|
1813
1813
|
large: 40,
|
|
1814
1814
|
default: 32,
|
|
1815
1815
|
small: 24
|
|
1816
|
-
}, zh = (e) => Oh[e || "default"], Rh = (e) => ["", ...
|
|
1816
|
+
}, zh = (e) => Oh[e || "default"], Rh = (e) => ["", ...fa].includes(e);
|
|
1817
1817
|
var Ra = /* @__PURE__ */ ((e) => (e[e.TEXT = 1] = "TEXT", e[e.CLASS = 2] = "CLASS", e[e.STYLE = 4] = "STYLE", e[e.PROPS = 8] = "PROPS", e[e.FULL_PROPS = 16] = "FULL_PROPS", e[e.HYDRATE_EVENTS = 32] = "HYDRATE_EVENTS", e[e.STABLE_FRAGMENT = 64] = "STABLE_FRAGMENT", e[e.KEYED_FRAGMENT = 128] = "KEYED_FRAGMENT", e[e.UNKEYED_FRAGMENT = 256] = "UNKEYED_FRAGMENT", e[e.NEED_PATCH = 512] = "NEED_PATCH", e[e.DYNAMIC_SLOTS = 1024] = "DYNAMIC_SLOTS", e[e.HOISTED = -1] = "HOISTED", e[e.BAIL = -2] = "BAIL", e))(Ra || {});
|
|
1818
1818
|
const xa = (e) => {
|
|
1819
1819
|
const n = dn(e) ? e : [e], t = [];
|
|
@@ -1827,7 +1827,7 @@ const xa = (e) => {
|
|
|
1827
1827
|
var r;
|
|
1828
1828
|
return Qa(Object.entries((r = a.proxy) == null ? void 0 : r.$attrs).filter(([l]) => !o.value.includes(l) && !(n && jh.test(l))));
|
|
1829
1829
|
}) : (pt("use-attrs", "getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"), C(() => ({})));
|
|
1830
|
-
},
|
|
1830
|
+
}, aa = ({ from: e, replacement: n, scope: t, version: o, ref: a, type: r = "API" }, l) => {
|
|
1831
1831
|
ee(() => f(l), (i) => {
|
|
1832
1832
|
i && pt(t, `[${r}] ${e} is about to be deprecated in version ${o}, please use ${n} instead.
|
|
1833
1833
|
For more detail, please visit: ${a}
|
|
@@ -1846,7 +1846,7 @@ For more detail, please visit: ${a}
|
|
|
1846
1846
|
o = {
|
|
1847
1847
|
offsetX: R,
|
|
1848
1848
|
offsetY: E
|
|
1849
|
-
}, e.value.style.transform = `translate(${
|
|
1849
|
+
}, e.value.style.transform = `translate(${zn(R)}, ${zn(E)})`;
|
|
1850
1850
|
}, _ = () => {
|
|
1851
1851
|
document.removeEventListener("mousemove", T), document.removeEventListener("mouseup", _);
|
|
1852
1852
|
};
|
|
@@ -1857,7 +1857,7 @@ For more detail, please visit: ${a}
|
|
|
1857
1857
|
n.value && e.value && n.value.removeEventListener("mousedown", a);
|
|
1858
1858
|
};
|
|
1859
1859
|
je(() => {
|
|
1860
|
-
|
|
1860
|
+
Un(() => {
|
|
1861
1861
|
t.value ? r() : l();
|
|
1862
1862
|
});
|
|
1863
1863
|
}), St(() => {
|
|
@@ -2030,7 +2030,7 @@ const Bh = (e) => (n, t) => Fh(n, t, f(e)), Fh = (e, n, t) => bt(t, e, e).replac
|
|
|
2030
2030
|
var r;
|
|
2031
2031
|
return `${(r = n == null ? void 0 : n[a]) != null ? r : `{${a}}`}`;
|
|
2032
2032
|
}), Yh = (e) => {
|
|
2033
|
-
const n = C(() => f(e).name), t =
|
|
2033
|
+
const n = C(() => f(e).name), t = Gn(e) ? e : w(e);
|
|
2034
2034
|
return {
|
|
2035
2035
|
lang: n,
|
|
2036
2036
|
locale: t,
|
|
@@ -2047,22 +2047,22 @@ function Wh(e, n = Vh) {
|
|
|
2047
2047
|
const ts = (e) => {
|
|
2048
2048
|
const n = new Set(e);
|
|
2049
2049
|
return n.w = 0, n.n = 0, n;
|
|
2050
|
-
}, Uu = (e) => (e.w &
|
|
2050
|
+
}, Uu = (e) => (e.w & Xn) > 0, Gu = (e) => (e.n & Xn) > 0, Uh = ({ deps: e }) => {
|
|
2051
2051
|
if (e.length)
|
|
2052
2052
|
for (let n = 0; n < e.length; n++)
|
|
2053
|
-
e[n].w |=
|
|
2053
|
+
e[n].w |= Xn;
|
|
2054
2054
|
}, Gh = (e) => {
|
|
2055
2055
|
const { deps: n } = e;
|
|
2056
2056
|
if (n.length) {
|
|
2057
2057
|
let t = 0;
|
|
2058
2058
|
for (let o = 0; o < n.length; o++) {
|
|
2059
2059
|
const a = n[o];
|
|
2060
|
-
Uu(a) && !Gu(a) ? a.delete(e) : n[t++] = a, a.w &= ~
|
|
2060
|
+
Uu(a) && !Gu(a) ? a.delete(e) : n[t++] = a, a.w &= ~Xn, a.n &= ~Xn;
|
|
2061
2061
|
}
|
|
2062
2062
|
n.length = t;
|
|
2063
2063
|
}
|
|
2064
2064
|
};
|
|
2065
|
-
let
|
|
2065
|
+
let Ko = 0, Xn = 1;
|
|
2066
2066
|
const el = 30;
|
|
2067
2067
|
let Ut;
|
|
2068
2068
|
Symbol(process.env.NODE_ENV !== "production" ? "iterate" : "");
|
|
@@ -2081,9 +2081,9 @@ class Kh {
|
|
|
2081
2081
|
n = n.parent;
|
|
2082
2082
|
}
|
|
2083
2083
|
try {
|
|
2084
|
-
return this.parent = Ut, Ut = this, Pa = !0,
|
|
2084
|
+
return this.parent = Ut, Ut = this, Pa = !0, Xn = 1 << ++Ko, Ko <= el ? Uh(this) : ns(this), this.fn();
|
|
2085
2085
|
} finally {
|
|
2086
|
-
|
|
2086
|
+
Ko <= el && Gh(this), Xn = 1 << --Ko, Ut = this.parent, Pa = t, this.parent = void 0, this.deferStop && this.stop();
|
|
2087
2087
|
}
|
|
2088
2088
|
}
|
|
2089
2089
|
stop() {
|
|
@@ -2101,7 +2101,7 @@ function ns(e) {
|
|
|
2101
2101
|
let Pa = !0;
|
|
2102
2102
|
function os(e, n) {
|
|
2103
2103
|
let t = !1;
|
|
2104
|
-
|
|
2104
|
+
Ko <= el ? Gu(e) || (e.n |= Xn, t = !Uu(e)) : t = !e.has(Ut), t && (e.add(Ut), Ut.deps.push(e), process.env.NODE_ENV !== "production" && Ut.onTrack && Ut.onTrack(
|
|
2105
2105
|
du(
|
|
2106
2106
|
{
|
|
2107
2107
|
effect: Ut
|
|
@@ -2163,27 +2163,27 @@ function Zh(e, n, t = !1) {
|
|
|
2163
2163
|
const r = Wt(e);
|
|
2164
2164
|
r ? (o = e, a = process.env.NODE_ENV !== "production" ? () => {
|
|
2165
2165
|
console.warn("Write operation failed: computed value is readonly");
|
|
2166
|
-
} :
|
|
2166
|
+
} : Ln) : (o = e.get, a = e.set);
|
|
2167
2167
|
const l = new qh(o, a, r || !a, t);
|
|
2168
2168
|
return process.env.NODE_ENV !== "production" && n && !t && (l.effect.onTrack = n.onTrack, l.effect.onTrigger = n.onTrigger), l;
|
|
2169
2169
|
}
|
|
2170
|
-
const
|
|
2170
|
+
const Xo = "el", Jh = "is-", no = (e, n, t, o, a) => {
|
|
2171
2171
|
let r = `${e}-${n}`;
|
|
2172
2172
|
return t && (r += `-${t}`), o && (r += `__${o}`), a && (r += `--${a}`), r;
|
|
2173
2173
|
}, Ku = Symbol("namespaceContextKey"), kl = (e) => {
|
|
2174
|
-
const n = e || (Ee() ? ye(Ku, w(
|
|
2175
|
-
return C(() => f(n) ||
|
|
2174
|
+
const n = e || (Ee() ? ye(Ku, w(Xo)) : w(Xo));
|
|
2175
|
+
return C(() => f(n) || Xo);
|
|
2176
2176
|
}, ie = (e, n) => {
|
|
2177
2177
|
const t = kl(n);
|
|
2178
2178
|
return {
|
|
2179
2179
|
namespace: t,
|
|
2180
|
-
b: (p = "") =>
|
|
2181
|
-
e: (p) => p ?
|
|
2182
|
-
m: (p) => p ?
|
|
2183
|
-
be: (p, b) => p && b ?
|
|
2184
|
-
em: (p, b) => p && b ?
|
|
2185
|
-
bm: (p, b) => p && b ?
|
|
2186
|
-
bem: (p, b, h) => p && b && h ?
|
|
2180
|
+
b: (p = "") => no(t.value, e, p, "", ""),
|
|
2181
|
+
e: (p) => p ? no(t.value, e, "", p, "") : "",
|
|
2182
|
+
m: (p) => p ? no(t.value, e, "", "", p) : "",
|
|
2183
|
+
be: (p, b) => p && b ? no(t.value, e, p, b, "") : "",
|
|
2184
|
+
em: (p, b) => p && b ? no(t.value, e, "", p, b) : "",
|
|
2185
|
+
bm: (p, b) => p && b ? no(t.value, e, p, "", b) : "",
|
|
2186
|
+
bem: (p, b, h) => p && b && h ? no(t.value, e, p, b, h) : "",
|
|
2187
2187
|
is: (p, ...b) => {
|
|
2188
2188
|
const h = b.length >= 1 ? b[0] : !0;
|
|
2189
2189
|
return p && h ? `${Jh}${p}` : "";
|
|
@@ -2204,9 +2204,9 @@ const Qo = "el", Jh = "is-", to = (e, n, t, o, a) => {
|
|
|
2204
2204
|
cssVarBlockName: (p) => `--${t.value}-${e}-${p}`
|
|
2205
2205
|
};
|
|
2206
2206
|
}, e0 = (e, n = {}) => {
|
|
2207
|
-
|
|
2207
|
+
Gn(e) || mo("[useLockscreen]", "You need to pass a ref param to this function");
|
|
2208
2208
|
const t = n.ns || ie("popup"), o = Zh(() => t.bm("parent", "hidden"));
|
|
2209
|
-
if (!Pe ||
|
|
2209
|
+
if (!Pe || so(document.body, o.value))
|
|
2210
2210
|
return;
|
|
2211
2211
|
let a = 0, r = !1, l = "0";
|
|
2212
2212
|
const i = () => {
|
|
@@ -2219,9 +2219,9 @@ const Qo = "el", Jh = "is-", to = (e, n, t, o, a) => {
|
|
|
2219
2219
|
i();
|
|
2220
2220
|
return;
|
|
2221
2221
|
}
|
|
2222
|
-
r = !
|
|
2223
|
-
const u = document.documentElement.clientHeight < document.body.scrollHeight, c =
|
|
2224
|
-
a > 0 && (u || c === "scroll") && r && (document.body.style.width = `calc(100% - ${a}px)`),
|
|
2222
|
+
r = !so(document.body, o.value), r && (l = document.body.style.width), a = Gv(t.namespace.value);
|
|
2223
|
+
const u = document.documentElement.clientHeight < document.body.scrollHeight, c = Ao(document.body, "overflowY");
|
|
2224
|
+
a > 0 && (u || c === "scroll") && r && (document.body.style.width = `calc(100% - ${a}px)`), En(document.body, o.value);
|
|
2225
2225
|
}), ou(() => i());
|
|
2226
2226
|
}, t0 = ur({
|
|
2227
2227
|
type: pe(Boolean),
|
|
@@ -2257,7 +2257,7 @@ const Qo = "el", Jh = "is-", to = (e, n, t, o, a) => {
|
|
|
2257
2257
|
const _ = p.value && Pe;
|
|
2258
2258
|
_ && g(n, !1), (b.value || !_) && M(T);
|
|
2259
2259
|
}, N = (T) => {
|
|
2260
|
-
|
|
2260
|
+
Qn(T) && (m.disabled && T ? p.value && g(n, !1) : l.value !== T && (T ? h() : M()));
|
|
2261
2261
|
}, D = () => {
|
|
2262
2262
|
l.value ? y() : A();
|
|
2263
2263
|
};
|
|
@@ -2286,10 +2286,10 @@ const Xu = (e) => {
|
|
|
2286
2286
|
return (o = (t = n == null ? void 0 : n.proxy) == null ? void 0 : t.$props) == null ? void 0 : o[e];
|
|
2287
2287
|
});
|
|
2288
2288
|
};
|
|
2289
|
-
var Ht = "top", on = "bottom", an = "right", Bt = "left", $l = "auto",
|
|
2290
|
-
return e.concat([n + "-" +
|
|
2291
|
-
}, []), pr = [].concat(
|
|
2292
|
-
return e.concat([n, n + "-" +
|
|
2289
|
+
var Ht = "top", on = "bottom", an = "right", Bt = "left", $l = "auto", ma = [Ht, on, an, Bt], So = "start", ra = "end", o0 = "clippingParents", qu = "viewport", Uo = "popper", a0 = "reference", ls = ma.reduce(function(e, n) {
|
|
2290
|
+
return e.concat([n + "-" + So, n + "-" + ra]);
|
|
2291
|
+
}, []), pr = [].concat(ma, [$l]).reduce(function(e, n) {
|
|
2292
|
+
return e.concat([n, n + "-" + So, n + "-" + ra]);
|
|
2293
2293
|
}, []), r0 = "beforeRead", l0 = "read", i0 = "afterRead", s0 = "beforeMain", u0 = "main", c0 = "afterMain", d0 = "beforeWrite", p0 = "write", f0 = "afterWrite", m0 = [r0, l0, i0, s0, u0, c0, d0, p0, f0];
|
|
2294
2294
|
function bn(e) {
|
|
2295
2295
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
@@ -2303,7 +2303,7 @@ function mn(e) {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
return e;
|
|
2305
2305
|
}
|
|
2306
|
-
function
|
|
2306
|
+
function Lo(e) {
|
|
2307
2307
|
var n = mn(e).Element;
|
|
2308
2308
|
return e instanceof n || e instanceof Element;
|
|
2309
2309
|
}
|
|
@@ -2344,18 +2344,18 @@ var Zu = { name: "applyStyles", enabled: !0, phase: "write", fn: g0, effect: v0,
|
|
|
2344
2344
|
function yn(e) {
|
|
2345
2345
|
return e.split("-")[0];
|
|
2346
2346
|
}
|
|
2347
|
-
var
|
|
2348
|
-
function
|
|
2347
|
+
var uo = Math.max, qa = Math.min, Oo = Math.round;
|
|
2348
|
+
function zo(e, n) {
|
|
2349
2349
|
n === void 0 && (n = !1);
|
|
2350
2350
|
var t = e.getBoundingClientRect(), o = 1, a = 1;
|
|
2351
2351
|
if (tn(e) && n) {
|
|
2352
2352
|
var r = e.offsetHeight, l = e.offsetWidth;
|
|
2353
|
-
l > 0 && (o =
|
|
2353
|
+
l > 0 && (o = Oo(t.width) / l || 1), r > 0 && (a = Oo(t.height) / r || 1);
|
|
2354
2354
|
}
|
|
2355
2355
|
return { width: t.width / o, height: t.height / a, top: t.top / a, right: t.right / o, bottom: t.bottom / a, left: t.left / o, x: t.left / o, y: t.top / a };
|
|
2356
2356
|
}
|
|
2357
2357
|
function Bl(e) {
|
|
2358
|
-
var n =
|
|
2358
|
+
var n = zo(e), t = e.offsetWidth, o = e.offsetHeight;
|
|
2359
2359
|
return Math.abs(n.width - t) <= 1 && (t = n.width), Math.abs(n.height - o) <= 1 && (o = n.height), { x: e.offsetLeft, y: e.offsetTop, width: t, height: o };
|
|
2360
2360
|
}
|
|
2361
2361
|
function Ju(e, n) {
|
|
@@ -2372,50 +2372,50 @@ function Ju(e, n) {
|
|
|
2372
2372
|
}
|
|
2373
2373
|
return !1;
|
|
2374
2374
|
}
|
|
2375
|
-
function
|
|
2375
|
+
function Rn(e) {
|
|
2376
2376
|
return mn(e).getComputedStyle(e);
|
|
2377
2377
|
}
|
|
2378
2378
|
function y0(e) {
|
|
2379
2379
|
return ["table", "td", "th"].indexOf(bn(e)) >= 0;
|
|
2380
2380
|
}
|
|
2381
|
-
function
|
|
2382
|
-
return ((
|
|
2381
|
+
function qn(e) {
|
|
2382
|
+
return ((Lo(e) ? e.ownerDocument : e.document) || window.document).documentElement;
|
|
2383
2383
|
}
|
|
2384
2384
|
function fr(e) {
|
|
2385
|
-
return bn(e) === "html" ? e : e.assignedSlot || e.parentNode || (Hl(e) ? e.host : null) ||
|
|
2385
|
+
return bn(e) === "html" ? e : e.assignedSlot || e.parentNode || (Hl(e) ? e.host : null) || qn(e);
|
|
2386
2386
|
}
|
|
2387
2387
|
function is(e) {
|
|
2388
|
-
return !tn(e) ||
|
|
2388
|
+
return !tn(e) || Rn(e).position === "fixed" ? null : e.offsetParent;
|
|
2389
2389
|
}
|
|
2390
2390
|
function h0(e) {
|
|
2391
2391
|
var n = navigator.userAgent.toLowerCase().indexOf("firefox") !== -1, t = navigator.userAgent.indexOf("Trident") !== -1;
|
|
2392
2392
|
if (t && tn(e)) {
|
|
2393
|
-
var o =
|
|
2393
|
+
var o = Rn(e);
|
|
2394
2394
|
if (o.position === "fixed")
|
|
2395
2395
|
return null;
|
|
2396
2396
|
}
|
|
2397
2397
|
var a = fr(e);
|
|
2398
2398
|
for (Hl(a) && (a = a.host); tn(a) && ["html", "body"].indexOf(bn(a)) < 0; ) {
|
|
2399
|
-
var r =
|
|
2399
|
+
var r = Rn(a);
|
|
2400
2400
|
if (r.transform !== "none" || r.perspective !== "none" || r.contain === "paint" || ["transform", "perspective"].indexOf(r.willChange) !== -1 || n && r.willChange === "filter" || n && r.filter && r.filter !== "none")
|
|
2401
2401
|
return a;
|
|
2402
2402
|
a = a.parentNode;
|
|
2403
2403
|
}
|
|
2404
2404
|
return null;
|
|
2405
2405
|
}
|
|
2406
|
-
function
|
|
2407
|
-
for (var n = mn(e), t = is(e); t && y0(t) &&
|
|
2406
|
+
function ga(e) {
|
|
2407
|
+
for (var n = mn(e), t = is(e); t && y0(t) && Rn(t).position === "static"; )
|
|
2408
2408
|
t = is(t);
|
|
2409
|
-
return t && (bn(t) === "html" || bn(t) === "body" &&
|
|
2409
|
+
return t && (bn(t) === "html" || bn(t) === "body" && Rn(t).position === "static") ? n : t || h0(e) || n;
|
|
2410
2410
|
}
|
|
2411
2411
|
function Fl(e) {
|
|
2412
2412
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
2413
2413
|
}
|
|
2414
|
-
function
|
|
2415
|
-
return
|
|
2414
|
+
function qo(e, n, t) {
|
|
2415
|
+
return uo(e, qa(n, t));
|
|
2416
2416
|
}
|
|
2417
2417
|
function b0(e, n, t) {
|
|
2418
|
-
var o =
|
|
2418
|
+
var o = qo(e, n, t);
|
|
2419
2419
|
return o > t ? t : o;
|
|
2420
2420
|
}
|
|
2421
2421
|
function ec() {
|
|
@@ -2430,12 +2430,12 @@ function nc(e, n) {
|
|
|
2430
2430
|
}, {});
|
|
2431
2431
|
}
|
|
2432
2432
|
var M0 = function(e, n) {
|
|
2433
|
-
return e = typeof e == "function" ? e(Object.assign({}, n.rects, { placement: n.placement })) : e, tc(typeof e != "number" ? e : nc(e,
|
|
2433
|
+
return e = typeof e == "function" ? e(Object.assign({}, n.rects, { placement: n.placement })) : e, tc(typeof e != "number" ? e : nc(e, ma));
|
|
2434
2434
|
};
|
|
2435
2435
|
function T0(e) {
|
|
2436
2436
|
var n, t = e.state, o = e.name, a = e.options, r = t.elements.arrow, l = t.modifiersData.popperOffsets, i = yn(t.placement), s = Fl(i), u = [Bt, an].indexOf(i) >= 0, c = u ? "height" : "width";
|
|
2437
2437
|
if (!(!r || !l)) {
|
|
2438
|
-
var d = M0(a.padding, t), v = Bl(r), g = s === "y" ? Ht : Bt, m = s === "y" ? on : an, p = t.rects.reference[c] + t.rects.reference[s] - l[s] - t.rects.popper[c], b = l[s] - t.rects.reference[s], h =
|
|
2438
|
+
var d = M0(a.padding, t), v = Bl(r), g = s === "y" ? Ht : Bt, m = s === "y" ? on : an, p = t.rects.reference[c] + t.rects.reference[s] - l[s] - t.rects.popper[c], b = l[s] - t.rects.reference[s], h = ga(r), M = h ? s === "y" ? h.clientHeight || 0 : h.clientWidth || 0 : 0, A = p / 2 - b / 2, y = d[g], N = M - v[c] - d[m], D = M / 2 - v[c] / 2 + A, T = qo(y, D, N), _ = s;
|
|
2439
2439
|
t.modifiersData[o] = (n = {}, n[_] = T, n.centerOffset = T - D, n);
|
|
2440
2440
|
}
|
|
2441
2441
|
}
|
|
@@ -2444,26 +2444,26 @@ function A0(e) {
|
|
|
2444
2444
|
a != null && (typeof a == "string" && (a = n.elements.popper.querySelector(a), !a) || !Ju(n.elements.popper, a) || (n.elements.arrow = a));
|
|
2445
2445
|
}
|
|
2446
2446
|
var C0 = { name: "arrow", enabled: !0, phase: "main", fn: T0, effect: A0, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] };
|
|
2447
|
-
function
|
|
2447
|
+
function Ro(e) {
|
|
2448
2448
|
return e.split("-")[1];
|
|
2449
2449
|
}
|
|
2450
2450
|
var N0 = { top: "auto", right: "auto", bottom: "auto", left: "auto" };
|
|
2451
2451
|
function D0(e) {
|
|
2452
2452
|
var n = e.x, t = e.y, o = window, a = o.devicePixelRatio || 1;
|
|
2453
|
-
return { x:
|
|
2453
|
+
return { x: Oo(n * a) / a || 0, y: Oo(t * a) / a || 0 };
|
|
2454
2454
|
}
|
|
2455
2455
|
function ss(e) {
|
|
2456
2456
|
var n, t = e.popper, o = e.popperRect, a = e.placement, r = e.variation, l = e.offsets, i = e.position, s = e.gpuAcceleration, u = e.adaptive, c = e.roundOffsets, d = e.isFixed, v = l.x, g = v === void 0 ? 0 : v, m = l.y, p = m === void 0 ? 0 : m, b = typeof c == "function" ? c({ x: g, y: p }) : { x: g, y: p };
|
|
2457
2457
|
g = b.x, p = b.y;
|
|
2458
2458
|
var h = l.hasOwnProperty("x"), M = l.hasOwnProperty("y"), A = Bt, y = Ht, N = window;
|
|
2459
2459
|
if (u) {
|
|
2460
|
-
var D =
|
|
2461
|
-
if (D === mn(t) && (D =
|
|
2460
|
+
var D = ga(t), T = "clientHeight", _ = "clientWidth";
|
|
2461
|
+
if (D === mn(t) && (D = qn(t), Rn(D).position !== "static" && i === "absolute" && (T = "scrollHeight", _ = "scrollWidth")), D = D, a === Ht || (a === Bt || a === an) && r === ra) {
|
|
2462
2462
|
y = on;
|
|
2463
2463
|
var P = d && D === N && N.visualViewport ? N.visualViewport.height : D[T];
|
|
2464
2464
|
p -= P - o.height, p *= s ? 1 : -1;
|
|
2465
2465
|
}
|
|
2466
|
-
if (a === Bt || (a === Ht || a === on) && r ===
|
|
2466
|
+
if (a === Bt || (a === Ht || a === on) && r === ra) {
|
|
2467
2467
|
A = an;
|
|
2468
2468
|
var R = d && D === N && N.visualViewport ? N.visualViewport.width : D[_];
|
|
2469
2469
|
g -= R - o.width, g *= s ? 1 : -1;
|
|
@@ -2477,18 +2477,18 @@ function ss(e) {
|
|
|
2477
2477
|
return Object.assign({}, E, (n = {}, n[y] = M ? p + "px" : "", n[A] = h ? g + "px" : "", n.transform = "", n));
|
|
2478
2478
|
}
|
|
2479
2479
|
function _0(e) {
|
|
2480
|
-
var n = e.state, t = e.options, o = t.gpuAcceleration, a = o === void 0 ? !0 : o, r = t.adaptive, l = r === void 0 ? !0 : r, i = t.roundOffsets, s = i === void 0 ? !0 : i, u = { placement: yn(n.placement), variation:
|
|
2480
|
+
var n = e.state, t = e.options, o = t.gpuAcceleration, a = o === void 0 ? !0 : o, r = t.adaptive, l = r === void 0 ? !0 : r, i = t.roundOffsets, s = i === void 0 ? !0 : i, u = { placement: yn(n.placement), variation: Ro(n.placement), popper: n.elements.popper, popperRect: n.rects.popper, gpuAcceleration: a, isFixed: n.options.strategy === "fixed" };
|
|
2481
2481
|
n.modifiersData.popperOffsets != null && (n.styles.popper = Object.assign({}, n.styles.popper, ss(Object.assign({}, u, { offsets: n.modifiersData.popperOffsets, position: n.options.strategy, adaptive: l, roundOffsets: s })))), n.modifiersData.arrow != null && (n.styles.arrow = Object.assign({}, n.styles.arrow, ss(Object.assign({}, u, { offsets: n.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: s })))), n.attributes.popper = Object.assign({}, n.attributes.popper, { "data-popper-placement": n.placement });
|
|
2482
2482
|
}
|
|
2483
|
-
var oc = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: _0, data: {} },
|
|
2483
|
+
var oc = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: _0, data: {} }, Ca = { passive: !0 };
|
|
2484
2484
|
function I0(e) {
|
|
2485
2485
|
var n = e.state, t = e.instance, o = e.options, a = o.scroll, r = a === void 0 ? !0 : a, l = o.resize, i = l === void 0 ? !0 : l, s = mn(n.elements.popper), u = [].concat(n.scrollParents.reference, n.scrollParents.popper);
|
|
2486
2486
|
return r && u.forEach(function(c) {
|
|
2487
|
-
c.addEventListener("scroll", t.update,
|
|
2488
|
-
}), i && s.addEventListener("resize", t.update,
|
|
2487
|
+
c.addEventListener("scroll", t.update, Ca);
|
|
2488
|
+
}), i && s.addEventListener("resize", t.update, Ca), function() {
|
|
2489
2489
|
r && u.forEach(function(c) {
|
|
2490
|
-
c.removeEventListener("scroll", t.update,
|
|
2491
|
-
}), i && s.removeEventListener("resize", t.update,
|
|
2490
|
+
c.removeEventListener("scroll", t.update, Ca);
|
|
2491
|
+
}), i && s.removeEventListener("resize", t.update, Ca);
|
|
2492
2492
|
};
|
|
2493
2493
|
}
|
|
2494
2494
|
var ac = { name: "eventListeners", enabled: !0, phase: "write", fn: function() {
|
|
@@ -2509,54 +2509,54 @@ function Yl(e) {
|
|
|
2509
2509
|
return { scrollLeft: t, scrollTop: o };
|
|
2510
2510
|
}
|
|
2511
2511
|
function Vl(e) {
|
|
2512
|
-
return
|
|
2512
|
+
return zo(qn(e)).left + Yl(e).scrollLeft;
|
|
2513
2513
|
}
|
|
2514
2514
|
function S0(e) {
|
|
2515
|
-
var n = mn(e), t =
|
|
2515
|
+
var n = mn(e), t = qn(e), o = n.visualViewport, a = t.clientWidth, r = t.clientHeight, l = 0, i = 0;
|
|
2516
2516
|
return o && (a = o.width, r = o.height, /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || (l = o.offsetLeft, i = o.offsetTop)), { width: a, height: r, x: l + Vl(e), y: i };
|
|
2517
2517
|
}
|
|
2518
2518
|
function L0(e) {
|
|
2519
|
-
var n, t =
|
|
2520
|
-
return
|
|
2519
|
+
var n, t = qn(e), o = Yl(e), a = (n = e.ownerDocument) == null ? void 0 : n.body, r = uo(t.scrollWidth, t.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), l = uo(t.scrollHeight, t.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), i = -o.scrollLeft + Vl(e), s = -o.scrollTop;
|
|
2520
|
+
return Rn(a || t).direction === "rtl" && (i += uo(t.clientWidth, a ? a.clientWidth : 0) - r), { width: r, height: l, x: i, y: s };
|
|
2521
2521
|
}
|
|
2522
2522
|
function Wl(e) {
|
|
2523
|
-
var n =
|
|
2523
|
+
var n = Rn(e), t = n.overflow, o = n.overflowX, a = n.overflowY;
|
|
2524
2524
|
return /auto|scroll|overlay|hidden/.test(t + a + o);
|
|
2525
2525
|
}
|
|
2526
2526
|
function rc(e) {
|
|
2527
2527
|
return ["html", "body", "#document"].indexOf(bn(e)) >= 0 ? e.ownerDocument.body : tn(e) && Wl(e) ? e : rc(fr(e));
|
|
2528
2528
|
}
|
|
2529
|
-
function
|
|
2529
|
+
function Zo(e, n) {
|
|
2530
2530
|
var t;
|
|
2531
2531
|
n === void 0 && (n = []);
|
|
2532
2532
|
var o = rc(e), a = o === ((t = e.ownerDocument) == null ? void 0 : t.body), r = mn(o), l = a ? [r].concat(r.visualViewport || [], Wl(o) ? o : []) : o, i = n.concat(l);
|
|
2533
|
-
return a ? i : i.concat(
|
|
2533
|
+
return a ? i : i.concat(Zo(fr(l)));
|
|
2534
2534
|
}
|
|
2535
2535
|
function tl(e) {
|
|
2536
2536
|
return Object.assign({}, e, { left: e.x, top: e.y, right: e.x + e.width, bottom: e.y + e.height });
|
|
2537
2537
|
}
|
|
2538
2538
|
function O0(e) {
|
|
2539
|
-
var n =
|
|
2539
|
+
var n = zo(e);
|
|
2540
2540
|
return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
|
|
2541
2541
|
}
|
|
2542
2542
|
function cs(e, n) {
|
|
2543
|
-
return n === qu ? tl(S0(e)) :
|
|
2543
|
+
return n === qu ? tl(S0(e)) : Lo(n) ? O0(n) : tl(L0(qn(e)));
|
|
2544
2544
|
}
|
|
2545
2545
|
function z0(e) {
|
|
2546
|
-
var n =
|
|
2547
|
-
return
|
|
2548
|
-
return
|
|
2546
|
+
var n = Zo(fr(e)), t = ["absolute", "fixed"].indexOf(Rn(e).position) >= 0, o = t && tn(e) ? ga(e) : e;
|
|
2547
|
+
return Lo(o) ? n.filter(function(a) {
|
|
2548
|
+
return Lo(a) && Ju(a, o) && bn(a) !== "body";
|
|
2549
2549
|
}) : [];
|
|
2550
2550
|
}
|
|
2551
2551
|
function R0(e, n, t) {
|
|
2552
2552
|
var o = n === "clippingParents" ? z0(e) : [].concat(n), a = [].concat(o, [t]), r = a[0], l = a.reduce(function(i, s) {
|
|
2553
2553
|
var u = cs(e, s);
|
|
2554
|
-
return i.top =
|
|
2554
|
+
return i.top = uo(u.top, i.top), i.right = qa(u.right, i.right), i.bottom = qa(u.bottom, i.bottom), i.left = uo(u.left, i.left), i;
|
|
2555
2555
|
}, cs(e, r));
|
|
2556
2556
|
return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
|
|
2557
2557
|
}
|
|
2558
2558
|
function lc(e) {
|
|
2559
|
-
var n = e.reference, t = e.element, o = e.placement, a = o ? yn(o) : null, r = o ?
|
|
2559
|
+
var n = e.reference, t = e.element, o = e.placement, a = o ? yn(o) : null, r = o ? Ro(o) : null, l = n.x + n.width / 2 - t.width / 2, i = n.y + n.height / 2 - t.height / 2, s;
|
|
2560
2560
|
switch (a) {
|
|
2561
2561
|
case Ht:
|
|
2562
2562
|
s = { x: l, y: n.y - t.height };
|
|
@@ -2577,20 +2577,20 @@ function lc(e) {
|
|
|
2577
2577
|
if (u != null) {
|
|
2578
2578
|
var c = u === "y" ? "height" : "width";
|
|
2579
2579
|
switch (r) {
|
|
2580
|
-
case
|
|
2580
|
+
case So:
|
|
2581
2581
|
s[u] = s[u] - (n[c] / 2 - t[c] / 2);
|
|
2582
2582
|
break;
|
|
2583
|
-
case
|
|
2583
|
+
case ra:
|
|
2584
2584
|
s[u] = s[u] + (n[c] / 2 - t[c] / 2);
|
|
2585
2585
|
break;
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
2588
2588
|
return s;
|
|
2589
2589
|
}
|
|
2590
|
-
function
|
|
2590
|
+
function la(e, n) {
|
|
2591
2591
|
n === void 0 && (n = {});
|
|
2592
|
-
var t = n, o = t.placement, a = o === void 0 ? e.placement : o, r = t.boundary, l = r === void 0 ? o0 : r, i = t.rootBoundary, s = i === void 0 ? qu : i, u = t.elementContext, c = u === void 0 ?
|
|
2593
|
-
if (c ===
|
|
2592
|
+
var t = n, o = t.placement, a = o === void 0 ? e.placement : o, r = t.boundary, l = r === void 0 ? o0 : r, i = t.rootBoundary, s = i === void 0 ? qu : i, u = t.elementContext, c = u === void 0 ? Uo : u, d = t.altBoundary, v = d === void 0 ? !1 : d, g = t.padding, m = g === void 0 ? 0 : g, p = tc(typeof m != "number" ? m : nc(m, ma)), b = c === Uo ? a0 : Uo, h = e.rects.popper, M = e.elements[v ? b : c], A = R0(Lo(M) ? M : M.contextElement || qn(e.elements.popper), l, s), y = zo(e.elements.reference), N = lc({ reference: y, element: h, strategy: "absolute", placement: a }), D = tl(Object.assign({}, h, N)), T = c === Uo ? D : y, _ = { top: A.top - T.top + p.top, bottom: T.bottom - A.bottom + p.bottom, left: A.left - T.left + p.left, right: T.right - A.right + p.right }, P = e.modifiersData.offset;
|
|
2593
|
+
if (c === Uo && P) {
|
|
2594
2594
|
var R = P[a];
|
|
2595
2595
|
Object.keys(_).forEach(function(E) {
|
|
2596
2596
|
var L = [an, on].indexOf(E) >= 0 ? 1 : -1, F = [Ht, on].indexOf(E) >= 0 ? "y" : "x";
|
|
@@ -2601,14 +2601,14 @@ function ra(e, n) {
|
|
|
2601
2601
|
}
|
|
2602
2602
|
function x0(e, n) {
|
|
2603
2603
|
n === void 0 && (n = {});
|
|
2604
|
-
var t = n, o = t.placement, a = t.boundary, r = t.rootBoundary, l = t.padding, i = t.flipVariations, s = t.allowedAutoPlacements, u = s === void 0 ? pr : s, c =
|
|
2605
|
-
return
|
|
2606
|
-
}) :
|
|
2604
|
+
var t = n, o = t.placement, a = t.boundary, r = t.rootBoundary, l = t.padding, i = t.flipVariations, s = t.allowedAutoPlacements, u = s === void 0 ? pr : s, c = Ro(o), d = c ? i ? ls : ls.filter(function(m) {
|
|
2605
|
+
return Ro(m) === c;
|
|
2606
|
+
}) : ma, v = d.filter(function(m) {
|
|
2607
2607
|
return u.indexOf(m) >= 0;
|
|
2608
2608
|
});
|
|
2609
2609
|
v.length === 0 && (v = d);
|
|
2610
2610
|
var g = v.reduce(function(m, p) {
|
|
2611
|
-
return m[p] =
|
|
2611
|
+
return m[p] = la(e, { placement: p, boundary: a, rootBoundary: r, padding: l })[yn(p)], m;
|
|
2612
2612
|
}, {});
|
|
2613
2613
|
return Object.keys(g).sort(function(m, p) {
|
|
2614
2614
|
return g[m] - g[p];
|
|
@@ -2626,7 +2626,7 @@ function j0(e) {
|
|
|
2626
2626
|
for (var a = t.mainAxis, r = a === void 0 ? !0 : a, l = t.altAxis, i = l === void 0 ? !0 : l, s = t.fallbackPlacements, u = t.padding, c = t.boundary, d = t.rootBoundary, v = t.altBoundary, g = t.flipVariations, m = g === void 0 ? !0 : g, p = t.allowedAutoPlacements, b = n.options.placement, h = yn(b), M = h === b, A = s || (M || !m ? [ja(b)] : P0(b)), y = [b].concat(A).reduce(function(Ne, Le) {
|
|
2627
2627
|
return Ne.concat(yn(Le) === $l ? x0(n, { placement: Le, boundary: c, rootBoundary: d, padding: u, flipVariations: m, allowedAutoPlacements: p }) : Le);
|
|
2628
2628
|
}, []), N = n.rects.reference, D = n.rects.popper, T = /* @__PURE__ */ new Map(), _ = !0, P = y[0], R = 0; R < y.length; R++) {
|
|
2629
|
-
var E = y[R], L = yn(E), F =
|
|
2629
|
+
var E = y[R], L = yn(E), F = Ro(E) === So, W = [Ht, on].indexOf(L) >= 0, X = W ? "width" : "height", le = la(n, { placement: E, boundary: c, rootBoundary: d, altBoundary: v, padding: u }), K = W ? F ? an : Bt : F ? on : Ht;
|
|
2630
2630
|
N[X] > D[X] && (K = ja(K));
|
|
2631
2631
|
var re = ja(K), x = [];
|
|
2632
2632
|
if (r && x.push(le[L] <= 0), i && x.push(le[K] <= 0, le[re] <= 0), x.every(function(Ne) {
|
|
@@ -2666,7 +2666,7 @@ function ps(e) {
|
|
|
2666
2666
|
});
|
|
2667
2667
|
}
|
|
2668
2668
|
function $0(e) {
|
|
2669
|
-
var n = e.state, t = e.name, o = n.rects.reference, a = n.rects.popper, r = n.modifiersData.preventOverflow, l =
|
|
2669
|
+
var n = e.state, t = e.name, o = n.rects.reference, a = n.rects.popper, r = n.modifiersData.preventOverflow, l = la(n, { elementContext: "reference" }), i = la(n, { altBoundary: !0 }), s = ds(l, o), u = ds(i, a, r), c = ps(s), d = ps(u);
|
|
2670
2670
|
n.modifiersData[t] = { referenceClippingOffsets: s, popperEscapeOffsets: u, isReferenceHidden: c, hasPopperEscaped: d }, n.attributes.popper = Object.assign({}, n.attributes.popper, { "data-popper-reference-hidden": c, "data-popper-escaped": d });
|
|
2671
2671
|
}
|
|
2672
2672
|
var H0 = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: $0 };
|
|
@@ -2690,14 +2690,14 @@ function W0(e) {
|
|
|
2690
2690
|
return e === "x" ? "y" : "x";
|
|
2691
2691
|
}
|
|
2692
2692
|
function U0(e) {
|
|
2693
|
-
var n = e.state, t = e.options, o = e.name, a = t.mainAxis, r = a === void 0 ? !0 : a, l = t.altAxis, i = l === void 0 ? !1 : l, s = t.boundary, u = t.rootBoundary, c = t.altBoundary, d = t.padding, v = t.tether, g = v === void 0 ? !0 : v, m = t.tetherOffset, p = m === void 0 ? 0 : m, b =
|
|
2693
|
+
var n = e.state, t = e.options, o = e.name, a = t.mainAxis, r = a === void 0 ? !0 : a, l = t.altAxis, i = l === void 0 ? !1 : l, s = t.boundary, u = t.rootBoundary, c = t.altBoundary, d = t.padding, v = t.tether, g = v === void 0 ? !0 : v, m = t.tetherOffset, p = m === void 0 ? 0 : m, b = la(n, { boundary: s, rootBoundary: u, padding: d, altBoundary: c }), h = yn(n.placement), M = Ro(n.placement), A = !M, y = Fl(h), N = W0(y), D = n.modifiersData.popperOffsets, T = n.rects.reference, _ = n.rects.popper, P = typeof p == "function" ? p(Object.assign({}, n.rects, { placement: n.placement })) : p, R = typeof P == "number" ? { mainAxis: P, altAxis: P } : Object.assign({ mainAxis: 0, altAxis: 0 }, P), E = n.modifiersData.offset ? n.modifiersData.offset[n.placement] : null, L = { x: 0, y: 0 };
|
|
2694
2694
|
if (D) {
|
|
2695
2695
|
if (r) {
|
|
2696
|
-
var F, W = y === "y" ? Ht : Bt, X = y === "y" ? on : an, le = y === "y" ? "height" : "width", K = D[y], re = K + b[W], x = K - b[X], $ = g ? -_[le] / 2 : 0, Z = M ===
|
|
2696
|
+
var F, W = y === "y" ? Ht : Bt, X = y === "y" ? on : an, le = y === "y" ? "height" : "width", K = D[y], re = K + b[W], x = K - b[X], $ = g ? -_[le] / 2 : 0, Z = M === So ? T[le] : _[le], ae = M === So ? -_[le] : -T[le], Ce = n.elements.arrow, Ne = g && Ce ? Bl(Ce) : { width: 0, height: 0 }, Le = n.modifiersData["arrow#persistent"] ? n.modifiersData["arrow#persistent"].padding : ec(), Oe = Le[W], ke = Le[X], _e = qo(0, T[le], Ne[le]), Ue = A ? T[le] / 2 - $ - _e - Oe - R.mainAxis : Z - _e - Oe - R.mainAxis, $e = A ? -T[le] / 2 + $ + _e + ke + R.mainAxis : ae + _e + ke + R.mainAxis, Ye = n.elements.arrow && ga(n.elements.arrow), nt = Ye ? y === "y" ? Ye.clientTop || 0 : Ye.clientLeft || 0 : 0, Ct = (F = E == null ? void 0 : E[y]) != null ? F : 0, gt = K + Ue - Ct - nt, Ot = K + $e - Ct, Nt = qo(g ? qa(re, gt) : re, K, g ? uo(x, Ot) : x);
|
|
2697
2697
|
D[y] = Nt, L[y] = Nt - K;
|
|
2698
2698
|
}
|
|
2699
2699
|
if (i) {
|
|
2700
|
-
var vt, Dt = y === "x" ? Ht : Bt, rn = y === "x" ? on : an, it = D[N], zt = N === "y" ? "height" : "width", yt = it + b[Dt], Xt = it - b[rn], Qe = [Ht, Bt].indexOf(h) !== -1, V = (vt = E == null ? void 0 : E[N]) != null ? vt : 0, se = Qe ? yt : it - T[zt] - _[zt] - V + R.altAxis, ze = Qe ? it + T[zt] + _[zt] - V - R.altAxis : Xt, Xe = g && Qe ? b0(se, it, ze) :
|
|
2700
|
+
var vt, Dt = y === "x" ? Ht : Bt, rn = y === "x" ? on : an, it = D[N], zt = N === "y" ? "height" : "width", yt = it + b[Dt], Xt = it - b[rn], Qe = [Ht, Bt].indexOf(h) !== -1, V = (vt = E == null ? void 0 : E[N]) != null ? vt : 0, se = Qe ? yt : it - T[zt] - _[zt] - V + R.altAxis, ze = Qe ? it + T[zt] + _[zt] - V - R.altAxis : Xt, Xe = g && Qe ? b0(se, it, ze) : qo(g ? se : yt, it, g ? ze : Xt);
|
|
2701
2701
|
D[N] = Xe, L[N] = Xe - it;
|
|
2702
2702
|
}
|
|
2703
2703
|
n.modifiersData[o] = L;
|
|
@@ -2711,13 +2711,13 @@ function Q0(e) {
|
|
|
2711
2711
|
return e === mn(e) || !tn(e) ? Yl(e) : K0(e);
|
|
2712
2712
|
}
|
|
2713
2713
|
function X0(e) {
|
|
2714
|
-
var n = e.getBoundingClientRect(), t =
|
|
2714
|
+
var n = e.getBoundingClientRect(), t = Oo(n.width) / e.offsetWidth || 1, o = Oo(n.height) / e.offsetHeight || 1;
|
|
2715
2715
|
return t !== 1 || o !== 1;
|
|
2716
2716
|
}
|
|
2717
2717
|
function q0(e, n, t) {
|
|
2718
2718
|
t === void 0 && (t = !1);
|
|
2719
|
-
var o = tn(n), a = tn(n) && X0(n), r =
|
|
2720
|
-
return (o || !o && !t) && ((bn(n) !== "body" || Wl(r)) && (i = Q0(n)), tn(n) ? (s =
|
|
2719
|
+
var o = tn(n), a = tn(n) && X0(n), r = qn(n), l = zo(e, a), i = { scrollLeft: 0, scrollTop: 0 }, s = { x: 0, y: 0 };
|
|
2720
|
+
return (o || !o && !t) && ((bn(n) !== "body" || Wl(r)) && (i = Q0(n)), tn(n) ? (s = zo(n, !0), s.x += n.clientLeft, s.y += n.clientTop) : r && (s.x = Vl(r))), { x: l.left + i.scrollLeft - s.x, y: l.top + i.scrollTop - s.y, width: l.width, height: l.height };
|
|
2721
2721
|
}
|
|
2722
2722
|
function Z0(e) {
|
|
2723
2723
|
var n = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Set(), o = [];
|
|
@@ -2780,7 +2780,7 @@ function Ul(e) {
|
|
|
2780
2780
|
s === void 0 && (s = r);
|
|
2781
2781
|
var u = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, fs, r), modifiersData: {}, elements: { reference: l, popper: i }, attributes: {}, styles: {} }, c = [], d = !1, v = { state: u, setOptions: function(p) {
|
|
2782
2782
|
var b = typeof p == "function" ? p(u.options) : p;
|
|
2783
|
-
m(), u.options = Object.assign({}, r, u.options, b), u.scrollParents = { reference:
|
|
2783
|
+
m(), u.options = Object.assign({}, r, u.options, b), u.scrollParents = { reference: Lo(l) ? Zo(l) : l.contextElement ? Zo(l.contextElement) : [], popper: Zo(i) };
|
|
2784
2784
|
var h = J0(tb([].concat(o, u.options.modifiers)));
|
|
2785
2785
|
return u.orderedModifiers = h.filter(function(M) {
|
|
2786
2786
|
return M.enabled;
|
|
@@ -2789,7 +2789,7 @@ function Ul(e) {
|
|
|
2789
2789
|
if (!d) {
|
|
2790
2790
|
var p = u.elements, b = p.reference, h = p.popper;
|
|
2791
2791
|
if (ms(b, h)) {
|
|
2792
|
-
u.rects = { reference: q0(b,
|
|
2792
|
+
u.rects = { reference: q0(b, ga(h), u.options.strategy === "fixed"), popper: Bl(h) }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(_) {
|
|
2793
2793
|
return u.modifiersData[_.name] = Object.assign({}, _.data);
|
|
2794
2794
|
});
|
|
2795
2795
|
for (var M = 0; M < u.orderedModifiers.length; M++) {
|
|
@@ -2858,7 +2858,7 @@ const ab = (e, n, t = {}) => {
|
|
|
2858
2858
|
{ name: "applyStyles", enabled: !1 }
|
|
2859
2859
|
]
|
|
2860
2860
|
};
|
|
2861
|
-
}), r =
|
|
2861
|
+
}), r = io(), l = w({
|
|
2862
2862
|
styles: {
|
|
2863
2863
|
popper: {
|
|
2864
2864
|
position: f(a).strategy,
|
|
@@ -2909,7 +2909,7 @@ function rb(e) {
|
|
|
2909
2909
|
}
|
|
2910
2910
|
const uc = (e) => {
|
|
2911
2911
|
if (!e)
|
|
2912
|
-
return { onClick:
|
|
2912
|
+
return { onClick: Ln, onMousedown: Ln, onMouseup: Ln };
|
|
2913
2913
|
let n = !1, t = !1;
|
|
2914
2914
|
return { onClick: (l) => {
|
|
2915
2915
|
n && t && e(l), n = t = !1;
|
|
@@ -2932,7 +2932,7 @@ function gs() {
|
|
|
2932
2932
|
const nl = {
|
|
2933
2933
|
prefix: Math.floor(Math.random() * 1e4),
|
|
2934
2934
|
current: 0
|
|
2935
|
-
}, lb = Symbol("elIdInjection"), cc = () => Ee() ? ye(lb, nl) : nl,
|
|
2935
|
+
}, lb = Symbol("elIdInjection"), cc = () => Ee() ? ye(lb, nl) : nl, ia = (e) => {
|
|
2936
2936
|
const n = cc();
|
|
2937
2937
|
!Pe && n === nl && pt("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
|
2938
2938
|
usage: app.provide(ID_INJECTION_KEY, {
|
|
@@ -2942,15 +2942,15 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
2942
2942
|
const t = kl();
|
|
2943
2943
|
return C(() => f(e) || `${t.value}-id-${n.prefix}-${n.current++}`);
|
|
2944
2944
|
};
|
|
2945
|
-
let
|
|
2945
|
+
let Co = [];
|
|
2946
2946
|
const vs = (e) => {
|
|
2947
2947
|
const n = e;
|
|
2948
|
-
n.key === Mt.esc &&
|
|
2948
|
+
n.key === Mt.esc && Co.forEach((t) => t(n));
|
|
2949
2949
|
}, ib = (e) => {
|
|
2950
2950
|
je(() => {
|
|
2951
|
-
|
|
2951
|
+
Co.length === 0 && document.addEventListener("keydown", vs), Pe && Co.push(e);
|
|
2952
2952
|
}), St(() => {
|
|
2953
|
-
|
|
2953
|
+
Co = Co.filter((n) => n !== e), Co.length === 0 && Pe && document.removeEventListener("keydown", vs);
|
|
2954
2954
|
});
|
|
2955
2955
|
};
|
|
2956
2956
|
let ys;
|
|
@@ -3074,16 +3074,16 @@ function fb(e) {
|
|
|
3074
3074
|
}
|
|
3075
3075
|
return [t, o];
|
|
3076
3076
|
}
|
|
3077
|
-
const
|
|
3077
|
+
const $o = ur({
|
|
3078
3078
|
type: String,
|
|
3079
|
-
values:
|
|
3079
|
+
values: fa,
|
|
3080
3080
|
required: !1
|
|
3081
3081
|
}), vc = Symbol("size"), mb = () => {
|
|
3082
3082
|
const e = ye(vc, {});
|
|
3083
3083
|
return C(() => f(e.size) || "");
|
|
3084
3084
|
};
|
|
3085
3085
|
function gb(e, { afterFocus: n, afterBlur: t } = {}) {
|
|
3086
|
-
const o = Ee(), { emit: a } = o, r =
|
|
3086
|
+
const o = Ee(), { emit: a } = o, r = io(), l = w(!1), i = (c) => {
|
|
3087
3087
|
l.value || (l.value = !0, a("focus", c), n == null || n());
|
|
3088
3088
|
}, s = (c) => {
|
|
3089
3089
|
var d;
|
|
@@ -3094,7 +3094,7 @@ function gb(e, { afterFocus: n, afterBlur: t } = {}) {
|
|
|
3094
3094
|
};
|
|
3095
3095
|
return ee(r, (c) => {
|
|
3096
3096
|
c && c.setAttribute("tabindex", "-1");
|
|
3097
|
-
}),
|
|
3097
|
+
}), Sn(r, "click", u), {
|
|
3098
3098
|
wrapperRef: r,
|
|
3099
3099
|
isFocused: l,
|
|
3100
3100
|
handleFocus: i,
|
|
@@ -3112,7 +3112,7 @@ function gr(e, n = void 0) {
|
|
|
3112
3112
|
function vb(e, n) {
|
|
3113
3113
|
const t = gr(), o = ie(e, C(() => {
|
|
3114
3114
|
var i;
|
|
3115
|
-
return ((i = t.value) == null ? void 0 : i.namespace) ||
|
|
3115
|
+
return ((i = t.value) == null ? void 0 : i.namespace) || Xo;
|
|
3116
3116
|
})), a = At(C(() => {
|
|
3117
3117
|
var i;
|
|
3118
3118
|
return (i = t.value) == null ? void 0 : i.locale;
|
|
@@ -3158,7 +3158,7 @@ const hc = (e, n, t = !1) => {
|
|
|
3158
3158
|
locale: {
|
|
3159
3159
|
type: pe(Object)
|
|
3160
3160
|
},
|
|
3161
|
-
size:
|
|
3161
|
+
size: $o,
|
|
3162
3162
|
button: {
|
|
3163
3163
|
type: pe(Object)
|
|
3164
3164
|
},
|
|
@@ -3211,7 +3211,7 @@ const Tb = we({
|
|
|
3211
3211
|
const n = e, t = ie("icon"), o = C(() => {
|
|
3212
3212
|
const { size: a, color: r } = n;
|
|
3213
3213
|
return !a && !r ? {} : {
|
|
3214
|
-
fontSize:
|
|
3214
|
+
fontSize: wo(a) ? void 0 : zn(a),
|
|
3215
3215
|
"--color": r
|
|
3216
3216
|
};
|
|
3217
3217
|
});
|
|
@@ -3224,13 +3224,13 @@ const Tb = we({
|
|
|
3224
3224
|
}
|
|
3225
3225
|
});
|
|
3226
3226
|
var Nb = /* @__PURE__ */ Me(Cb, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);
|
|
3227
|
-
const Je = mt(Nb), Kl = Symbol("formContextKey"), Ja = Symbol("formItemContextKey"),
|
|
3227
|
+
const Je = mt(Nb), Kl = Symbol("formContextKey"), Ja = Symbol("formItemContextKey"), go = (e, n = {}) => {
|
|
3228
3228
|
const t = w(void 0), o = n.prop ? t : Xu("size"), a = n.global ? t : mb(), r = n.form ? { size: void 0 } : ye(Kl, void 0), l = n.formItem ? { size: void 0 } : ye(Ja, void 0);
|
|
3229
3229
|
return C(() => o.value || f(e) || (l == null ? void 0 : l.size) || (r == null ? void 0 : r.size) || a.value || "");
|
|
3230
3230
|
}, vr = (e) => {
|
|
3231
3231
|
const n = Xu("disabled"), t = ye(Kl, void 0);
|
|
3232
3232
|
return C(() => n.value || f(e) || (t == null ? void 0 : t.disabled) || !1);
|
|
3233
|
-
},
|
|
3233
|
+
}, Ho = () => {
|
|
3234
3234
|
const e = ye(Kl, void 0), n = ye(Ja, void 0);
|
|
3235
3235
|
return {
|
|
3236
3236
|
form: e,
|
|
@@ -3250,10 +3250,10 @@ const Je = mt(Nb), Kl = Symbol("formContextKey"), Ja = Symbol("formItemContextKe
|
|
|
3250
3250
|
});
|
|
3251
3251
|
return je(() => {
|
|
3252
3252
|
r = ee([en(e, "id"), t], ([i, s]) => {
|
|
3253
|
-
const u = i ?? (s ? void 0 :
|
|
3253
|
+
const u = i ?? (s ? void 0 : ia().value);
|
|
3254
3254
|
u !== a.value && (n != null && n.removeInputId && (a.value && n.removeInputId(a.value), !(o != null && o.value) && !s && u && n.addInputId(u)), a.value = u);
|
|
3255
3255
|
}, { immediate: !0 });
|
|
3256
|
-
}),
|
|
3256
|
+
}), ua(() => {
|
|
3257
3257
|
r && r(), n != null && n.removeInputId && a.value && n.removeInputId(a.value);
|
|
3258
3258
|
}), {
|
|
3259
3259
|
isLabeledByFormItem: l,
|
|
@@ -3314,7 +3314,7 @@ const wb = we({
|
|
|
3314
3314
|
type: String,
|
|
3315
3315
|
default: void 0
|
|
3316
3316
|
},
|
|
3317
|
-
size:
|
|
3317
|
+
size: $o,
|
|
3318
3318
|
disabled: Boolean,
|
|
3319
3319
|
modelValue: {
|
|
3320
3320
|
type: pe([
|
|
@@ -3419,7 +3419,7 @@ const wb = we({
|
|
|
3419
3419
|
props: wb,
|
|
3420
3420
|
emits: Eb,
|
|
3421
3421
|
setup(e, { expose: n, emit: t }) {
|
|
3422
|
-
const o = e, a = Ad(), r =
|
|
3422
|
+
const o = e, a = Ad(), r = ca(), l = C(() => {
|
|
3423
3423
|
const V = {};
|
|
3424
3424
|
return o.containerRole === "combobox" && (V["aria-haspopup"] = a["aria-haspopup"], V["aria-owns"] = a["aria-owns"], V["aria-expanded"] = a["aria-expanded"]), V;
|
|
3425
3425
|
}), i = C(() => [
|
|
@@ -3441,9 +3441,9 @@ const wb = we({
|
|
|
3441
3441
|
p.is("focus", R.value)
|
|
3442
3442
|
]), u = kh({
|
|
3443
3443
|
excludeKeys: C(() => Object.keys(l.value))
|
|
3444
|
-
}), { form: c, formItem: d } =
|
|
3444
|
+
}), { form: c, formItem: d } = Ho(), { inputId: v } = Ql(o, {
|
|
3445
3445
|
formItemContext: d
|
|
3446
|
-
}), g =
|
|
3446
|
+
}), g = go(), m = vr(), p = ie("input"), b = ie("textarea"), h = io(), M = io(), A = w(!1), y = w(!1), N = w(!1), D = w(), T = io(o.inputStyle), _ = C(() => h.value || M.value), { wrapperRef: P, isFocused: R, handleFocus: E, handleBlur: L } = gb(_, {
|
|
3447
3447
|
afterBlur() {
|
|
3448
3448
|
var V;
|
|
3449
3449
|
o.validateEvent && ((V = d == null ? void 0 : d.validate) == null || V.call(d, "blur").catch((se) => pt(se)));
|
|
@@ -3458,8 +3458,8 @@ const wb = we({
|
|
|
3458
3458
|
o.inputStyle,
|
|
3459
3459
|
T.value,
|
|
3460
3460
|
{ resize: o.resize }
|
|
3461
|
-
]), x = C(() =>
|
|
3462
|
-
|
|
3461
|
+
]), x = C(() => Io(o.modelValue) ? "" : String(o.modelValue)), $ = C(() => o.clearable && !m.value && !o.readonly && !!x.value && (R.value || A.value)), Z = C(() => o.showPassword && !m.value && !o.readonly && !!x.value && (!!x.value || R.value)), ae = C(() => o.showWordLimit && !!u.value.maxlength && (o.type === "text" || o.type === "textarea") && !m.value && !o.readonly && !o.showPassword), Ce = C(() => x.value.length), Ne = C(() => !!ae.value && Ce.value > Number(u.value.maxlength)), Le = C(() => !!r.suffix || !!o.suffixIcon || $.value || o.showPassword || ae.value || !!W.value && F.value), [Oe, ke] = fb(h);
|
|
3462
|
+
co(M, (V) => {
|
|
3463
3463
|
if ($e(), !ae.value || o.resize !== "both")
|
|
3464
3464
|
return;
|
|
3465
3465
|
const se = V[0], { width: ze } = se.contentRect;
|
|
@@ -3643,7 +3643,7 @@ const wb = we({
|
|
|
3643
3643
|
f($) ? (I(), q(f(Je), {
|
|
3644
3644
|
key: 1,
|
|
3645
3645
|
class: j([f(p).e("icon"), f(p).e("clear")]),
|
|
3646
|
-
onMousedown: Et(f(
|
|
3646
|
+
onMousedown: Et(f(Ln), ["prevent"]),
|
|
3647
3647
|
onClick: Qe
|
|
3648
3648
|
}, {
|
|
3649
3649
|
default: G(() => [
|
|
@@ -3730,7 +3730,7 @@ const wb = we({
|
|
|
3730
3730
|
}
|
|
3731
3731
|
});
|
|
3732
3732
|
var xb = /* @__PURE__ */ Me(Rb, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);
|
|
3733
|
-
const bc = mt(xb),
|
|
3733
|
+
const bc = mt(xb), No = 4, Pb = {
|
|
3734
3734
|
vertical: {
|
|
3735
3735
|
offset: "offsetHeight",
|
|
3736
3736
|
scroll: "scrollTop",
|
|
@@ -3772,7 +3772,7 @@ const bc = mt(xb), Co = 4, Pb = {
|
|
|
3772
3772
|
props: kb,
|
|
3773
3773
|
setup(e) {
|
|
3774
3774
|
const n = e, t = ye(Mc), o = ie("scrollbar");
|
|
3775
|
-
t ||
|
|
3775
|
+
t || mo($b, "can not inject scrollbar context");
|
|
3776
3776
|
const a = w(), r = w(), l = w({}), i = w(!1);
|
|
3777
3777
|
let s = !1, u = !1, c = Pe ? document.onselectstart : null;
|
|
3778
3778
|
const d = C(() => Pb[n.vertical ? "vertical" : "horizontal"]), v = C(() => jb({
|
|
@@ -3814,7 +3814,7 @@ const bc = mt(xb), Co = 4, Pb = {
|
|
|
3814
3814
|
const N = () => {
|
|
3815
3815
|
document.onselectstart !== c && (document.onselectstart = c);
|
|
3816
3816
|
};
|
|
3817
|
-
return
|
|
3817
|
+
return Sn(en(t, "scrollbarElement"), "mousemove", A), Sn(en(t, "scrollbarElement"), "mouseleave", y), (D, T) => (I(), q(On, {
|
|
3818
3818
|
name: f(o).b("fade"),
|
|
3819
3819
|
persisted: ""
|
|
3820
3820
|
}, {
|
|
@@ -3864,7 +3864,7 @@ const Bb = we({
|
|
|
3864
3864
|
return n({
|
|
3865
3865
|
handleScroll: (l) => {
|
|
3866
3866
|
if (l) {
|
|
3867
|
-
const i = l.offsetHeight -
|
|
3867
|
+
const i = l.offsetHeight - No, s = l.offsetWidth - No;
|
|
3868
3868
|
a.value = l.scrollTop * 100 / i * t.ratioY, o.value = l.scrollLeft * 100 / s * t.ratioX;
|
|
3869
3869
|
}
|
|
3870
3870
|
}
|
|
@@ -3941,7 +3941,7 @@ const Vb = we({
|
|
|
3941
3941
|
let r, l;
|
|
3942
3942
|
const i = w(), s = w(), u = w(), c = w("0"), d = w("0"), v = w(), g = w(1), m = w(1), p = C(() => {
|
|
3943
3943
|
const T = {};
|
|
3944
|
-
return o.height && (T.height =
|
|
3944
|
+
return o.height && (T.height = zn(o.height)), o.maxHeight && (T.maxHeight = zn(o.maxHeight)), [o.wrapStyle, T];
|
|
3945
3945
|
}), b = C(() => [
|
|
3946
3946
|
o.wrapClass,
|
|
3947
3947
|
a.e("wrap"),
|
|
@@ -3971,11 +3971,11 @@ const Vb = we({
|
|
|
3971
3971
|
}, D = () => {
|
|
3972
3972
|
if (!s.value)
|
|
3973
3973
|
return;
|
|
3974
|
-
const T = s.value.offsetHeight -
|
|
3975
|
-
g.value = P / (T - P) / (E / (T - E)), m.value = R / (_ - R) / (L / (_ - L)), d.value = E +
|
|
3974
|
+
const T = s.value.offsetHeight - No, _ = s.value.offsetWidth - No, P = T ** 2 / s.value.scrollHeight, R = _ ** 2 / s.value.scrollWidth, E = Math.max(P, o.minSize), L = Math.max(R, o.minSize);
|
|
3975
|
+
g.value = P / (T - P) / (E / (T - E)), m.value = R / (_ - R) / (L / (_ - L)), d.value = E + No < T ? `${E}px` : "", c.value = L + No < _ ? `${L}px` : "";
|
|
3976
3976
|
};
|
|
3977
3977
|
return ee(() => o.noresize, (T) => {
|
|
3978
|
-
T ? (r == null || r(), l == null || l()) : ({ stop: r } =
|
|
3978
|
+
T ? (r == null || r(), l == null || l()) : ({ stop: r } = co(u, D), l = Sn("resize", D));
|
|
3979
3979
|
}, { immediate: !0 }), ee(() => [o.maxHeight, o.height], () => {
|
|
3980
3980
|
o.native || Ie(() => {
|
|
3981
3981
|
var T;
|
|
@@ -4102,7 +4102,7 @@ const xr = "ElOnlyChild", nM = U({
|
|
|
4102
4102
|
attrs: t
|
|
4103
4103
|
}) {
|
|
4104
4104
|
var o;
|
|
4105
|
-
const a = ye(fc), r = pb((o = a == null ? void 0 : a.setForwardRef) != null ? o :
|
|
4105
|
+
const a = ye(fc), r = pb((o = a == null ? void 0 : a.setForwardRef) != null ? o : Ln);
|
|
4106
4106
|
return () => {
|
|
4107
4107
|
var l;
|
|
4108
4108
|
const i = (l = n.default) == null ? void 0 : l.call(n, t);
|
|
@@ -4189,11 +4189,11 @@ const Dc = we({
|
|
|
4189
4189
|
let u;
|
|
4190
4190
|
return je(() => {
|
|
4191
4191
|
ee(() => t.virtualRef, (c) => {
|
|
4192
|
-
c && (a.value =
|
|
4192
|
+
c && (a.value = Vn(c));
|
|
4193
4193
|
}, {
|
|
4194
4194
|
immediate: !0
|
|
4195
4195
|
}), ee(a, (c, d) => {
|
|
4196
|
-
u == null || u(), u = void 0,
|
|
4196
|
+
u == null || u(), u = void 0, Eo(c) && ([
|
|
4197
4197
|
"onMouseenter",
|
|
4198
4198
|
"onMouseleave",
|
|
4199
4199
|
"onClick",
|
|
@@ -4212,9 +4212,9 @@ const Dc = we({
|
|
|
4212
4212
|
"aria-haspopup",
|
|
4213
4213
|
"aria-expanded"
|
|
4214
4214
|
].forEach((g, m) => {
|
|
4215
|
-
|
|
4215
|
+
Io(v[m]) ? c.removeAttribute(g) : c.setAttribute(g, v[m]);
|
|
4216
4216
|
});
|
|
4217
|
-
}, { immediate: !0 })),
|
|
4217
|
+
}, { immediate: !0 })), Eo(d) && [
|
|
4218
4218
|
"aria-controls",
|
|
4219
4219
|
"aria-describedby",
|
|
4220
4220
|
"aria-haspopup",
|
|
@@ -4248,7 +4248,7 @@ const Pr = "focus-trap.focus-after-trapped", jr = "focus-trap.focus-after-releas
|
|
|
4248
4248
|
cancelable: !0,
|
|
4249
4249
|
bubbles: !1
|
|
4250
4250
|
}, Cs = "focusAfterTrapped", Ns = "focusAfterReleased", _c = Symbol("elFocusTrap"), Zl = w(), yr = w(0), Jl = w(0);
|
|
4251
|
-
let
|
|
4251
|
+
let Na = 0;
|
|
4252
4252
|
const Ic = (e) => {
|
|
4253
4253
|
const n = [], t = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
4254
4254
|
acceptNode: (o) => {
|
|
@@ -4279,7 +4279,7 @@ const Ic = (e) => {
|
|
|
4279
4279
|
}, uM = (e) => {
|
|
4280
4280
|
const n = Ic(e), t = Ds(n, e), o = Ds(n.reverse(), e);
|
|
4281
4281
|
return [t, o];
|
|
4282
|
-
}, cM = (e) => e instanceof HTMLInputElement && "select" in e,
|
|
4282
|
+
}, cM = (e) => e instanceof HTMLInputElement && "select" in e, Bn = (e, n) => {
|
|
4283
4283
|
if (e && e.focus) {
|
|
4284
4284
|
const t = document.activeElement;
|
|
4285
4285
|
e.focus({ preventScroll: !0 }), Jl.value = window.performance.now(), e !== t && cM(e) && n && e.select();
|
|
@@ -4304,21 +4304,21 @@ const dM = () => {
|
|
|
4304
4304
|
}, pM = (e, n = !1) => {
|
|
4305
4305
|
const t = document.activeElement;
|
|
4306
4306
|
for (const o of e)
|
|
4307
|
-
if (
|
|
4307
|
+
if (Bn(o, n), document.activeElement !== t)
|
|
4308
4308
|
return;
|
|
4309
|
-
}, Is = dM(), fM = () => yr.value > Jl.value,
|
|
4309
|
+
}, Is = dM(), fM = () => yr.value > Jl.value, Da = () => {
|
|
4310
4310
|
Zl.value = "pointer", yr.value = window.performance.now();
|
|
4311
4311
|
}, ws = () => {
|
|
4312
4312
|
Zl.value = "keyboard", yr.value = window.performance.now();
|
|
4313
4313
|
}, mM = () => (je(() => {
|
|
4314
|
-
|
|
4314
|
+
Na === 0 && (document.addEventListener("mousedown", Da), document.addEventListener("touchstart", Da), document.addEventListener("keydown", ws)), Na++;
|
|
4315
4315
|
}), St(() => {
|
|
4316
|
-
|
|
4316
|
+
Na--, Na <= 0 && (document.removeEventListener("mousedown", Da), document.removeEventListener("touchstart", Da), document.removeEventListener("keydown", ws));
|
|
4317
4317
|
}), {
|
|
4318
4318
|
focusReason: Zl,
|
|
4319
4319
|
lastUserFocusTimestamp: yr,
|
|
4320
4320
|
lastAutomatedFocusTimestamp: Jl
|
|
4321
|
-
}),
|
|
4321
|
+
}), _a = (e) => new CustomEvent(lM, {
|
|
4322
4322
|
...iM,
|
|
4323
4323
|
detail: e
|
|
4324
4324
|
}), gM = U({
|
|
@@ -4364,18 +4364,18 @@ const dM = () => {
|
|
|
4364
4364
|
const _ = A, [P, R] = uM(_);
|
|
4365
4365
|
if (P && R) {
|
|
4366
4366
|
if (!y && T === R) {
|
|
4367
|
-
const L =
|
|
4367
|
+
const L = _a({
|
|
4368
4368
|
focusReason: r.value
|
|
4369
4369
|
});
|
|
4370
|
-
n("focusout-prevented", L), L.defaultPrevented || (m.preventDefault(), N &&
|
|
4370
|
+
n("focusout-prevented", L), L.defaultPrevented || (m.preventDefault(), N && Bn(P, !0));
|
|
4371
4371
|
} else if (y && [P, _].includes(T)) {
|
|
4372
|
-
const L =
|
|
4372
|
+
const L = _a({
|
|
4373
4373
|
focusReason: r.value
|
|
4374
4374
|
});
|
|
4375
|
-
n("focusout-prevented", L), L.defaultPrevented || (m.preventDefault(), N &&
|
|
4375
|
+
n("focusout-prevented", L), L.defaultPrevented || (m.preventDefault(), N && Bn(R, !0));
|
|
4376
4376
|
}
|
|
4377
4377
|
} else if (T === _) {
|
|
4378
|
-
const L =
|
|
4378
|
+
const L = _a({
|
|
4379
4379
|
focusReason: r.value
|
|
4380
4380
|
});
|
|
4381
4381
|
n("focusout-prevented", L), L.defaultPrevented || m.preventDefault();
|
|
@@ -4397,18 +4397,18 @@ const dM = () => {
|
|
|
4397
4397
|
if (!p)
|
|
4398
4398
|
return;
|
|
4399
4399
|
const b = m.target, h = m.relatedTarget, M = b && p.contains(b);
|
|
4400
|
-
e.trapped || h && p.contains(h) || (o = h), M && n("focusin", m), !l.paused && e.trapped && (M ? a = b :
|
|
4400
|
+
e.trapped || h && p.contains(h) || (o = h), M && n("focusin", m), !l.paused && e.trapped && (M ? a = b : Bn(a, !0));
|
|
4401
4401
|
}, d = (m) => {
|
|
4402
4402
|
const p = f(t);
|
|
4403
4403
|
if (!(l.paused || !p))
|
|
4404
4404
|
if (e.trapped) {
|
|
4405
4405
|
const b = m.relatedTarget;
|
|
4406
|
-
!
|
|
4406
|
+
!Io(b) && !p.contains(b) && setTimeout(() => {
|
|
4407
4407
|
if (!l.paused && e.trapped) {
|
|
4408
|
-
const h =
|
|
4408
|
+
const h = _a({
|
|
4409
4409
|
focusReason: r.value
|
|
4410
4410
|
});
|
|
4411
|
-
n("focusout-prevented", h), h.defaultPrevented ||
|
|
4411
|
+
n("focusout-prevented", h), h.defaultPrevented || Bn(a, !0);
|
|
4412
4412
|
}
|
|
4413
4413
|
}, 0);
|
|
4414
4414
|
} else {
|
|
@@ -4426,7 +4426,7 @@ const dM = () => {
|
|
|
4426
4426
|
const h = new Event(Pr, As);
|
|
4427
4427
|
m.addEventListener(Pr, s), m.dispatchEvent(h), h.defaultPrevented || Ie(() => {
|
|
4428
4428
|
let M = e.focusStartEl;
|
|
4429
|
-
et(M) || (
|
|
4429
|
+
et(M) || (Bn(M), document.activeElement !== M && (M = "first")), M === "first" && pM(Ic(m), !0), (document.activeElement === p || M === "container") && Bn(m);
|
|
4430
4430
|
});
|
|
4431
4431
|
}
|
|
4432
4432
|
}
|
|
@@ -4441,7 +4441,7 @@ const dM = () => {
|
|
|
4441
4441
|
focusReason: r.value
|
|
4442
4442
|
}
|
|
4443
4443
|
});
|
|
4444
|
-
m.addEventListener(jr, u), m.dispatchEvent(p), !p.defaultPrevented && (r.value == "keyboard" || !fM() || m.contains(document.activeElement)) &&
|
|
4444
|
+
m.addEventListener(jr, u), m.dispatchEvent(p), !p.defaultPrevented && (r.value == "keyboard" || !fM() || m.contains(document.activeElement)) && Bn(o ?? document.body), m.removeEventListener(jr, u), Is.remove(l);
|
|
4445
4445
|
}
|
|
4446
4446
|
}
|
|
4447
4447
|
return je(() => {
|
|
@@ -4555,7 +4555,7 @@ const yM = ["fixed", "absolute"], hM = we({
|
|
|
4555
4555
|
return CM(r, a == null ? void 0 : a.modifiers), r;
|
|
4556
4556
|
}, TM = (e) => {
|
|
4557
4557
|
if (Pe)
|
|
4558
|
-
return
|
|
4558
|
+
return Vn(e);
|
|
4559
4559
|
};
|
|
4560
4560
|
function AM(e) {
|
|
4561
4561
|
const { offset: n, gpuAcceleration: t, fallbackPlacements: o } = e;
|
|
@@ -4718,8 +4718,8 @@ const NM = 0, DM = (e) => {
|
|
|
4718
4718
|
arrowOffset: P
|
|
4719
4719
|
}), _ && (_.addInputId || _.removeInputId) && tt(Ja, {
|
|
4720
4720
|
..._,
|
|
4721
|
-
addInputId:
|
|
4722
|
-
removeInputId:
|
|
4721
|
+
addInputId: Ln,
|
|
4722
|
+
removeInputId: Ln
|
|
4723
4723
|
});
|
|
4724
4724
|
let R;
|
|
4725
4725
|
const E = (F = !0) => {
|
|
@@ -4731,11 +4731,11 @@ const NM = 0, DM = (e) => {
|
|
|
4731
4731
|
ee(() => o.triggerTargetEl, (F, W) => {
|
|
4732
4732
|
R == null || R(), R = void 0;
|
|
4733
4733
|
const X = f(F || g.value), le = f(W || g.value);
|
|
4734
|
-
|
|
4734
|
+
Eo(X) && (R = ee([b, () => o.ariaLabel, M, () => o.id], (K) => {
|
|
4735
4735
|
["role", "aria-label", "aria-modal", "id"].forEach((re, x) => {
|
|
4736
|
-
|
|
4736
|
+
Io(K[x]) ? X.removeAttribute(re) : X.setAttribute(re, K[x]);
|
|
4737
4737
|
});
|
|
4738
|
-
}, { immediate: !0 })), le !== X &&
|
|
4738
|
+
}, { immediate: !0 })), le !== X && Eo(le) && ["role", "aria-label", "aria-modal", "id"].forEach((K) => {
|
|
4739
4739
|
le.removeAttribute(K);
|
|
4740
4740
|
});
|
|
4741
4741
|
}, { immediate: !0 }), ee(() => o.visible, L, { immediate: !0 });
|
|
@@ -4802,7 +4802,7 @@ const LM = mt(Zb), ei = Symbol("elTooltip"), wt = we({
|
|
|
4802
4802
|
default: !0
|
|
4803
4803
|
},
|
|
4804
4804
|
disabled: Boolean
|
|
4805
|
-
}),
|
|
4805
|
+
}), sa = we({
|
|
4806
4806
|
...Dc,
|
|
4807
4807
|
disabled: Boolean,
|
|
4808
4808
|
trigger: {
|
|
@@ -4821,7 +4821,7 @@ const LM = mt(Zb), ei = Symbol("elTooltip"), wt = we({
|
|
|
4821
4821
|
...Ac,
|
|
4822
4822
|
...OM,
|
|
4823
4823
|
...wt,
|
|
4824
|
-
...
|
|
4824
|
+
...sa,
|
|
4825
4825
|
...Cc,
|
|
4826
4826
|
showArrow: {
|
|
4827
4827
|
type: Boolean,
|
|
@@ -4835,20 +4835,20 @@ const LM = mt(Zb), ei = Symbol("elTooltip"), wt = we({
|
|
|
4835
4835
|
"hide",
|
|
4836
4836
|
"open",
|
|
4837
4837
|
"close"
|
|
4838
|
-
], jM = (e, n) => dn(e) ? e.includes(n) : e === n,
|
|
4838
|
+
], jM = (e, n) => dn(e) ? e.includes(n) : e === n, Mo = (e, n, t) => (o) => {
|
|
4839
4839
|
jM(f(e), n) && t(o);
|
|
4840
4840
|
}, kM = U({
|
|
4841
4841
|
name: "ElTooltipTrigger"
|
|
4842
4842
|
}), $M = /* @__PURE__ */ U({
|
|
4843
4843
|
...kM,
|
|
4844
|
-
props:
|
|
4844
|
+
props: sa,
|
|
4845
4845
|
setup(e, { expose: n }) {
|
|
4846
4846
|
const t = e, o = ie("tooltip"), { controlled: a, id: r, open: l, onOpen: i, onClose: s, onToggle: u } = ye(ei, void 0), c = w(null), d = () => {
|
|
4847
4847
|
if (f(a) || t.disabled)
|
|
4848
4848
|
return !0;
|
|
4849
|
-
}, v = en(t, "trigger"), g = In(d,
|
|
4849
|
+
}, v = en(t, "trigger"), g = In(d, Mo(v, "hover", i)), m = In(d, Mo(v, "hover", s)), p = In(d, Mo(v, "click", (y) => {
|
|
4850
4850
|
y.button === 0 && u(y);
|
|
4851
|
-
})), b = In(d,
|
|
4851
|
+
})), b = In(d, Mo(v, "focus", i)), h = In(d, Mo(v, "focus", s)), M = In(d, Mo(v, "contextmenu", (y) => {
|
|
4852
4852
|
y.preventDefault(), u(y);
|
|
4853
4853
|
})), A = In(d, (y) => {
|
|
4854
4854
|
const { code: N } = y;
|
|
@@ -4943,7 +4943,7 @@ const BM = U({
|
|
|
4943
4943
|
disabled: !K.teleported,
|
|
4944
4944
|
to: f(N)
|
|
4945
4945
|
}, [
|
|
4946
|
-
fe(
|
|
4946
|
+
fe(On, {
|
|
4947
4947
|
name: f(h),
|
|
4948
4948
|
onAfterLeave: _,
|
|
4949
4949
|
onBeforeEnter: L,
|
|
@@ -5003,7 +5003,7 @@ const VM = ["innerHTML"], WM = { key: 1 }, UM = U({
|
|
|
5003
5003
|
setup(e, { expose: n, emit: t }) {
|
|
5004
5004
|
const o = e;
|
|
5005
5005
|
ub();
|
|
5006
|
-
const a =
|
|
5006
|
+
const a = ia(), r = w(), l = w(), i = () => {
|
|
5007
5007
|
var h;
|
|
5008
5008
|
const M = f(r);
|
|
5009
5009
|
M && ((h = M.popperInstanceRef) == null || h.update());
|
|
@@ -5016,7 +5016,7 @@ const VM = ["innerHTML"], WM = { key: 1 }, UM = U({
|
|
|
5016
5016
|
autoClose: en(o, "autoClose"),
|
|
5017
5017
|
open: c,
|
|
5018
5018
|
close: d
|
|
5019
|
-
}), p = C(() =>
|
|
5019
|
+
}), p = C(() => Qn(o.visible) && !v.value);
|
|
5020
5020
|
tt(ei, {
|
|
5021
5021
|
controlled: p,
|
|
5022
5022
|
id: a,
|
|
@@ -5128,15 +5128,15 @@ const VM = ["innerHTML"], WM = { key: 1 }, UM = U({
|
|
|
5128
5128
|
}
|
|
5129
5129
|
});
|
|
5130
5130
|
var KM = /* @__PURE__ */ Me(GM, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);
|
|
5131
|
-
const
|
|
5132
|
-
|
|
5131
|
+
const Bo = mt(KM), Sc = Symbol("buttonGroupContextKey"), QM = (e, n) => {
|
|
5132
|
+
aa({
|
|
5133
5133
|
from: "type.text",
|
|
5134
5134
|
replacement: "link",
|
|
5135
5135
|
version: "3.0.0",
|
|
5136
5136
|
scope: "props",
|
|
5137
5137
|
ref: "https://element-plus.org/en-US/component/button.html#button-attributes"
|
|
5138
5138
|
}, C(() => e.type === "text"));
|
|
5139
|
-
const t = ye(Sc, void 0), o = gr("button"), { form: a } =
|
|
5139
|
+
const t = ye(Sc, void 0), o = gr("button"), { form: a } = Ho(), r = go(C(() => t == null ? void 0 : t.size)), l = vr(), i = w(), s = ca(), u = C(() => e.type || (t == null ? void 0 : t.type) || ""), c = C(() => {
|
|
5140
5140
|
var m, p, b;
|
|
5141
5141
|
return (b = (p = e.autoInsertSpace) != null ? p : (m = o.value) == null ? void 0 : m.autoInsertSpace) != null ? b : !1;
|
|
5142
5142
|
}), d = C(() => e.tag === "button" ? {
|
|
@@ -5177,7 +5177,7 @@ const Ho = mt(KM), Sc = Symbol("buttonGroupContextKey"), QM = (e, n) => {
|
|
|
5177
5177
|
"text",
|
|
5178
5178
|
""
|
|
5179
5179
|
], XM = ["button", "submit", "reset"], rl = we({
|
|
5180
|
-
size:
|
|
5180
|
+
size: $o,
|
|
5181
5181
|
disabled: Boolean,
|
|
5182
5182
|
type: {
|
|
5183
5183
|
type: String,
|
|
@@ -5222,7 +5222,7 @@ function ft(e, n) {
|
|
|
5222
5222
|
var t = JM(e);
|
|
5223
5223
|
return e = n === 360 ? e : Math.min(n, Math.max(0, parseFloat(e))), t && (e = parseInt(String(e * n), 10) / 100), Math.abs(e - n) < 1e-6 ? 1 : (n === 360 ? e = (e < 0 ? e % n + n : e % n) / parseFloat(String(n)) : e = e % n / parseFloat(String(n)), e);
|
|
5224
5224
|
}
|
|
5225
|
-
function
|
|
5225
|
+
function Ia(e) {
|
|
5226
5226
|
return Math.min(1, Math.max(0, e));
|
|
5227
5227
|
}
|
|
5228
5228
|
function ZM(e) {
|
|
@@ -5234,10 +5234,10 @@ function JM(e) {
|
|
|
5234
5234
|
function Lc(e) {
|
|
5235
5235
|
return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
|
|
5236
5236
|
}
|
|
5237
|
-
function
|
|
5237
|
+
function wa(e) {
|
|
5238
5238
|
return e <= 1 ? "".concat(Number(e) * 100, "%") : e;
|
|
5239
5239
|
}
|
|
5240
|
-
function
|
|
5240
|
+
function ro(e) {
|
|
5241
5241
|
return e.length === 1 ? "0" + e : String(e);
|
|
5242
5242
|
}
|
|
5243
5243
|
function eT(e, n, t) {
|
|
@@ -5310,18 +5310,18 @@ function nT(e, n, t) {
|
|
|
5310
5310
|
}
|
|
5311
5311
|
function Ls(e, n, t, o) {
|
|
5312
5312
|
var a = [
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5313
|
+
ro(Math.round(e).toString(16)),
|
|
5314
|
+
ro(Math.round(n).toString(16)),
|
|
5315
|
+
ro(Math.round(t).toString(16))
|
|
5316
5316
|
];
|
|
5317
5317
|
return o && a[0].startsWith(a[0].charAt(1)) && a[1].startsWith(a[1].charAt(1)) && a[2].startsWith(a[2].charAt(1)) ? a[0].charAt(0) + a[1].charAt(0) + a[2].charAt(0) : a.join("");
|
|
5318
5318
|
}
|
|
5319
5319
|
function oT(e, n, t, o, a) {
|
|
5320
5320
|
var r = [
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5321
|
+
ro(Math.round(e).toString(16)),
|
|
5322
|
+
ro(Math.round(n).toString(16)),
|
|
5323
|
+
ro(Math.round(t).toString(16)),
|
|
5324
|
+
ro(aT(o))
|
|
5325
5325
|
];
|
|
5326
5326
|
return a && r[0].startsWith(r[0].charAt(1)) && r[1].startsWith(r[1].charAt(1)) && r[2].startsWith(r[2].charAt(1)) && r[3].startsWith(r[3].charAt(1)) ? r[0].charAt(0) + r[1].charAt(0) + r[2].charAt(0) + r[3].charAt(0) : r.join("");
|
|
5327
5327
|
}
|
|
@@ -5493,7 +5493,7 @@ var ll = {
|
|
|
5493
5493
|
};
|
|
5494
5494
|
function lT(e) {
|
|
5495
5495
|
var n = { r: 0, g: 0, b: 0 }, t = 1, o = null, a = null, r = null, l = !1, i = !1;
|
|
5496
|
-
return typeof e == "string" && (e = uT(e)), typeof e == "object" && (Dn(e.r) && Dn(e.g) && Dn(e.b) ? (n = eT(e.r, e.g, e.b), l = !0, i = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Dn(e.h) && Dn(e.s) && Dn(e.v) ? (o =
|
|
5496
|
+
return typeof e == "string" && (e = uT(e)), typeof e == "object" && (Dn(e.r) && Dn(e.g) && Dn(e.b) ? (n = eT(e.r, e.g, e.b), l = !0, i = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Dn(e.h) && Dn(e.s) && Dn(e.v) ? (o = wa(e.s), a = wa(e.v), n = nT(e.h, o, a), l = !0, i = "hsv") : Dn(e.h) && Dn(e.s) && Dn(e.l) && (o = wa(e.s), r = wa(e.l), n = tT(e.h, o, r), l = !0, i = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (t = e.a)), t = Lc(t), {
|
|
5497
5497
|
ok: l,
|
|
5498
5498
|
format: e.format || i,
|
|
5499
5499
|
r: Math.min(255, Math.max(n.r, 0)),
|
|
@@ -5502,8 +5502,8 @@ function lT(e) {
|
|
|
5502
5502
|
a: t
|
|
5503
5503
|
};
|
|
5504
5504
|
}
|
|
5505
|
-
var iT = "[-\\+]?\\d+%?", sT = "[-\\+]?\\d*\\.\\d+%?",
|
|
5506
|
-
CSS_UNIT: new RegExp(
|
|
5505
|
+
var iT = "[-\\+]?\\d+%?", sT = "[-\\+]?\\d*\\.\\d+%?", Wn = "(?:".concat(sT, ")|(?:").concat(iT, ")"), $r = "[\\s|\\(]+(".concat(Wn, ")[,|\\s]+(").concat(Wn, ")[,|\\s]+(").concat(Wn, ")\\s*\\)?"), Hr = "[\\s|\\(]+(".concat(Wn, ")[,|\\s]+(").concat(Wn, ")[,|\\s]+(").concat(Wn, ")[,|\\s]+(").concat(Wn, ")\\s*\\)?"), cn = {
|
|
5506
|
+
CSS_UNIT: new RegExp(Wn),
|
|
5507
5507
|
rgb: new RegExp("rgb" + $r),
|
|
5508
5508
|
rgba: new RegExp("rgba" + Hr),
|
|
5509
5509
|
hsl: new RegExp("hsl" + $r),
|
|
@@ -5650,7 +5650,7 @@ var Oc = (
|
|
|
5650
5650
|
}, e.prototype.lighten = function(n) {
|
|
5651
5651
|
n === void 0 && (n = 10);
|
|
5652
5652
|
var t = this.toHsl();
|
|
5653
|
-
return t.l += n / 100, t.l =
|
|
5653
|
+
return t.l += n / 100, t.l = Ia(t.l), new e(t);
|
|
5654
5654
|
}, e.prototype.brighten = function(n) {
|
|
5655
5655
|
n === void 0 && (n = 10);
|
|
5656
5656
|
var t = this.toRgb();
|
|
@@ -5658,7 +5658,7 @@ var Oc = (
|
|
|
5658
5658
|
}, e.prototype.darken = function(n) {
|
|
5659
5659
|
n === void 0 && (n = 10);
|
|
5660
5660
|
var t = this.toHsl();
|
|
5661
|
-
return t.l -= n / 100, t.l =
|
|
5661
|
+
return t.l -= n / 100, t.l = Ia(t.l), new e(t);
|
|
5662
5662
|
}, e.prototype.tint = function(n) {
|
|
5663
5663
|
return n === void 0 && (n = 10), this.mix("white", n);
|
|
5664
5664
|
}, e.prototype.shade = function(n) {
|
|
@@ -5666,11 +5666,11 @@ var Oc = (
|
|
|
5666
5666
|
}, e.prototype.desaturate = function(n) {
|
|
5667
5667
|
n === void 0 && (n = 10);
|
|
5668
5668
|
var t = this.toHsl();
|
|
5669
|
-
return t.s -= n / 100, t.s =
|
|
5669
|
+
return t.s -= n / 100, t.s = Ia(t.s), new e(t);
|
|
5670
5670
|
}, e.prototype.saturate = function(n) {
|
|
5671
5671
|
n === void 0 && (n = 10);
|
|
5672
5672
|
var t = this.toHsl();
|
|
5673
|
-
return t.s += n / 100, t.s =
|
|
5673
|
+
return t.s += n / 100, t.s = Ia(t.s), new e(t);
|
|
5674
5674
|
}, e.prototype.greyscale = function() {
|
|
5675
5675
|
return this.desaturate(100);
|
|
5676
5676
|
}, e.prototype.spin = function(n) {
|
|
@@ -5727,7 +5727,7 @@ var Oc = (
|
|
|
5727
5727
|
}, e;
|
|
5728
5728
|
}()
|
|
5729
5729
|
);
|
|
5730
|
-
function
|
|
5730
|
+
function Hn(e, n = 20) {
|
|
5731
5731
|
return e.mix("#141414", n).toString();
|
|
5732
5732
|
}
|
|
5733
5733
|
function cT(e) {
|
|
@@ -5736,21 +5736,21 @@ function cT(e) {
|
|
|
5736
5736
|
let o = {};
|
|
5737
5737
|
const a = e.color;
|
|
5738
5738
|
if (a) {
|
|
5739
|
-
const r = new Oc(a), l = e.dark ? r.tint(20).toString() :
|
|
5739
|
+
const r = new Oc(a), l = e.dark ? r.tint(20).toString() : Hn(r, 20);
|
|
5740
5740
|
if (e.plain)
|
|
5741
5741
|
o = t.cssVarBlock({
|
|
5742
|
-
"bg-color": e.dark ?
|
|
5742
|
+
"bg-color": e.dark ? Hn(r, 90) : r.tint(90).toString(),
|
|
5743
5743
|
"text-color": a,
|
|
5744
|
-
"border-color": e.dark ?
|
|
5744
|
+
"border-color": e.dark ? Hn(r, 50) : r.tint(50).toString(),
|
|
5745
5745
|
"hover-text-color": `var(${t.cssVarName("color-white")})`,
|
|
5746
5746
|
"hover-bg-color": a,
|
|
5747
5747
|
"hover-border-color": a,
|
|
5748
5748
|
"active-bg-color": l,
|
|
5749
5749
|
"active-text-color": `var(${t.cssVarName("color-white")})`,
|
|
5750
5750
|
"active-border-color": l
|
|
5751
|
-
}), n.value && (o[t.cssVarBlockName("disabled-bg-color")] = e.dark ?
|
|
5751
|
+
}), n.value && (o[t.cssVarBlockName("disabled-bg-color")] = e.dark ? Hn(r, 90) : r.tint(90).toString(), o[t.cssVarBlockName("disabled-text-color")] = e.dark ? Hn(r, 50) : r.tint(50).toString(), o[t.cssVarBlockName("disabled-border-color")] = e.dark ? Hn(r, 80) : r.tint(80).toString());
|
|
5752
5752
|
else {
|
|
5753
|
-
const i = e.dark ?
|
|
5753
|
+
const i = e.dark ? Hn(r, 30) : r.tint(30).toString(), s = r.isDark() ? `var(${t.cssVarName("color-white")})` : `var(${t.cssVarName("color-black")})`;
|
|
5754
5754
|
if (o = t.cssVarBlock({
|
|
5755
5755
|
"bg-color": a,
|
|
5756
5756
|
"text-color": s,
|
|
@@ -5761,7 +5761,7 @@ function cT(e) {
|
|
|
5761
5761
|
"active-bg-color": l,
|
|
5762
5762
|
"active-border-color": l
|
|
5763
5763
|
}), n.value) {
|
|
5764
|
-
const u = e.dark ?
|
|
5764
|
+
const u = e.dark ? Hn(r, 50) : r.tint(50).toString();
|
|
5765
5765
|
o[t.cssVarBlockName("disabled-bg-color")] = u, o[t.cssVarBlockName("disabled-text-color")] = e.dark ? "rgba(255, 255, 255, 0.5)" : `var(${t.cssVarName("color-white")})`, o[t.cssVarBlockName("disabled-border-color")] = u;
|
|
5766
5766
|
}
|
|
5767
5767
|
}
|
|
@@ -5858,54 +5858,54 @@ var zc = /* @__PURE__ */ Me(vT, [["__file", "/home/runner/work/element-plus/elem
|
|
|
5858
5858
|
const er = mt(fT, {
|
|
5859
5859
|
ButtonGroup: zc
|
|
5860
5860
|
});
|
|
5861
|
-
|
|
5861
|
+
jn(zc);
|
|
5862
5862
|
function yT(e) {
|
|
5863
5863
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5864
5864
|
}
|
|
5865
|
-
const
|
|
5865
|
+
const Fn = /* @__PURE__ */ new Map();
|
|
5866
5866
|
let zs;
|
|
5867
5867
|
Pe && (document.addEventListener("mousedown", (e) => zs = e), document.addEventListener("mouseup", (e) => {
|
|
5868
|
-
for (const n of
|
|
5868
|
+
for (const n of Fn.values())
|
|
5869
5869
|
for (const { documentHandler: t } of n)
|
|
5870
5870
|
t(e, zs);
|
|
5871
5871
|
}));
|
|
5872
5872
|
function Rs(e, n) {
|
|
5873
5873
|
let t = [];
|
|
5874
|
-
return Array.isArray(n.arg) ? t = n.arg :
|
|
5874
|
+
return Array.isArray(n.arg) ? t = n.arg : Eo(n.arg) && t.push(n.arg), function(o, a) {
|
|
5875
5875
|
const r = n.instance.popperRef, l = o.target, i = a == null ? void 0 : a.target, s = !n || !n.instance, u = !l || !i, c = e.contains(l) || e.contains(i), d = e === l, v = t.length && t.some((m) => m == null ? void 0 : m.contains(l)) || t.length && t.includes(i), g = r && (r.contains(l) || r.contains(i));
|
|
5876
5876
|
s || u || c || d || v || g || n.value(o, a);
|
|
5877
5877
|
};
|
|
5878
5878
|
}
|
|
5879
5879
|
const Rc = {
|
|
5880
5880
|
beforeMount(e, n) {
|
|
5881
|
-
|
|
5881
|
+
Fn.has(e) || Fn.set(e, []), Fn.get(e).push({
|
|
5882
5882
|
documentHandler: Rs(e, n),
|
|
5883
5883
|
bindingFn: n.value
|
|
5884
5884
|
});
|
|
5885
5885
|
},
|
|
5886
5886
|
updated(e, n) {
|
|
5887
|
-
|
|
5888
|
-
const t =
|
|
5887
|
+
Fn.has(e) || Fn.set(e, []);
|
|
5888
|
+
const t = Fn.get(e), o = t.findIndex((r) => r.bindingFn === n.oldValue), a = {
|
|
5889
5889
|
documentHandler: Rs(e, n),
|
|
5890
5890
|
bindingFn: n.value
|
|
5891
5891
|
};
|
|
5892
5892
|
o >= 0 ? t.splice(o, 1, a) : t.push(a);
|
|
5893
5893
|
},
|
|
5894
5894
|
unmounted(e) {
|
|
5895
|
-
|
|
5895
|
+
Fn.delete(e);
|
|
5896
5896
|
}
|
|
5897
5897
|
};
|
|
5898
|
-
var xs = !1,
|
|
5898
|
+
var xs = !1, ao, il, sl, ka, $a, xc, Ha, ul, cl, dl, Pc, pl, fl, jc, kc;
|
|
5899
5899
|
function jt() {
|
|
5900
5900
|
if (!xs) {
|
|
5901
5901
|
xs = !0;
|
|
5902
5902
|
var e = navigator.userAgent, n = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e), t = /(Mac OS X)|(Windows)|(Linux)/.exec(e);
|
|
5903
5903
|
if (pl = /\b(iPhone|iP[ao]d)/.exec(e), fl = /\b(iP[ao]d)/.exec(e), dl = /Android/i.exec(e), jc = /FBAN\/\w+;/i.exec(e), kc = /Mobile/i.exec(e), Pc = !!/Win64/.exec(e), n) {
|
|
5904
|
-
|
|
5904
|
+
ao = n[1] ? parseFloat(n[1]) : n[5] ? parseFloat(n[5]) : NaN, ao && document && document.documentMode && (ao = document.documentMode);
|
|
5905
5905
|
var o = /(?:Trident\/(\d+.\d+))/.exec(e);
|
|
5906
|
-
xc = o ? parseFloat(o[1]) + 4 :
|
|
5906
|
+
xc = o ? parseFloat(o[1]) + 4 : ao, il = n[2] ? parseFloat(n[2]) : NaN, sl = n[3] ? parseFloat(n[3]) : NaN, ka = n[4] ? parseFloat(n[4]) : NaN, ka ? (n = /(?:Chrome\/(\d+\.\d+))/.exec(e), $a = n && n[1] ? parseFloat(n[1]) : NaN) : $a = NaN;
|
|
5907
5907
|
} else
|
|
5908
|
-
|
|
5908
|
+
ao = il = sl = $a = ka = NaN;
|
|
5909
5909
|
if (t) {
|
|
5910
5910
|
if (t[1]) {
|
|
5911
5911
|
var a = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);
|
|
@@ -5918,9 +5918,9 @@ function jt() {
|
|
|
5918
5918
|
}
|
|
5919
5919
|
}
|
|
5920
5920
|
var ml = { ie: function() {
|
|
5921
|
-
return jt() ||
|
|
5921
|
+
return jt() || ao;
|
|
5922
5922
|
}, ieCompatibilityMode: function() {
|
|
5923
|
-
return jt() || xc >
|
|
5923
|
+
return jt() || xc > ao;
|
|
5924
5924
|
}, ie64: function() {
|
|
5925
5925
|
return ml.ie() && Pc;
|
|
5926
5926
|
}, firefox: function() {
|
|
@@ -5949,7 +5949,7 @@ var ml = { ie: function() {
|
|
|
5949
5949
|
return jt() || dl;
|
|
5950
5950
|
}, ipad: function() {
|
|
5951
5951
|
return jt() || fl;
|
|
5952
|
-
} }, hT = ml,
|
|
5952
|
+
} }, hT = ml, Ea = !!(typeof window < "u" && window.document && window.document.createElement), bT = { canUseDOM: Ea, canUseWorkers: typeof Worker < "u", canUseEventListeners: Ea && !!(window.addEventListener || window.attachEvent), canUseViewport: Ea && !!window.screen, isInWorker: !Ea }, $c = bT, Hc;
|
|
5953
5953
|
$c.canUseDOM && (Hc = document.implementation && document.implementation.hasFeature && document.implementation.hasFeature("", "") !== !0);
|
|
5954
5954
|
function MT(e, n) {
|
|
5955
5955
|
if (!$c.canUseDOM || n && !("addEventListener" in document))
|
|
@@ -6028,23 +6028,23 @@ const CT = function(e, n) {
|
|
|
6028
6028
|
default: void 0
|
|
6029
6029
|
},
|
|
6030
6030
|
border: Boolean,
|
|
6031
|
-
size:
|
|
6031
|
+
size: $o,
|
|
6032
6032
|
tabindex: [String, Number],
|
|
6033
6033
|
validateEvent: {
|
|
6034
6034
|
type: Boolean,
|
|
6035
6035
|
default: !0
|
|
6036
6036
|
}
|
|
6037
6037
|
}, Yc = {
|
|
6038
|
-
[ut]: (e) => et(e) || Ke(e) ||
|
|
6039
|
-
change: (e) => et(e) || Ke(e) ||
|
|
6040
|
-
},
|
|
6038
|
+
[ut]: (e) => et(e) || Ke(e) || Qn(e),
|
|
6039
|
+
change: (e) => et(e) || Ke(e) || Qn(e)
|
|
6040
|
+
}, Fo = Symbol("checkboxGroupContextKey"), DT = ({
|
|
6041
6041
|
model: e,
|
|
6042
6042
|
isChecked: n
|
|
6043
6043
|
}) => {
|
|
6044
|
-
const t = ye(
|
|
6044
|
+
const t = ye(Fo, void 0), o = C(() => {
|
|
6045
6045
|
var r, l;
|
|
6046
6046
|
const i = (r = t == null ? void 0 : t.max) == null ? void 0 : r.value, s = (l = t == null ? void 0 : t.min) == null ? void 0 : l.value;
|
|
6047
|
-
return !
|
|
6047
|
+
return !wo(i) && e.value.length >= i && !n.value || !wo(s) && e.value.length <= s && n.value;
|
|
6048
6048
|
});
|
|
6049
6049
|
return {
|
|
6050
6050
|
isDisabled: vr(C(() => (t == null ? void 0 : t.disabled.value) || o.value)),
|
|
@@ -6057,7 +6057,7 @@ const CT = function(e, n) {
|
|
|
6057
6057
|
isDisabled: a,
|
|
6058
6058
|
isLabeledByFormItem: r
|
|
6059
6059
|
}) => {
|
|
6060
|
-
const l = ye(
|
|
6060
|
+
const l = ye(Fo, void 0), { formItem: i } = Ho(), { emit: s } = Ee();
|
|
6061
6061
|
function u(m) {
|
|
6062
6062
|
var p, b;
|
|
6063
6063
|
return m === e.trueLabel || m === !0 ? (p = e.trueLabel) != null ? p : !0 : (b = e.falseLabel) != null ? b : !1;
|
|
@@ -6082,7 +6082,7 @@ const CT = function(e, n) {
|
|
|
6082
6082
|
onClickRoot: v
|
|
6083
6083
|
};
|
|
6084
6084
|
}, IT = (e) => {
|
|
6085
|
-
const n = w(!1), { emit: t } = Ee(), o = ye(
|
|
6085
|
+
const n = w(!1), { emit: t } = Ee(), o = ye(Fo, void 0), a = C(() => wo(o) === !1), r = w(!1);
|
|
6086
6086
|
return {
|
|
6087
6087
|
model: C({
|
|
6088
6088
|
get() {
|
|
@@ -6098,15 +6098,15 @@ const CT = function(e, n) {
|
|
|
6098
6098
|
isLimitExceeded: r
|
|
6099
6099
|
};
|
|
6100
6100
|
}, wT = (e, n, { model: t }) => {
|
|
6101
|
-
const o = ye(
|
|
6101
|
+
const o = ye(Fo, void 0), a = w(!1), r = C(() => {
|
|
6102
6102
|
const u = t.value;
|
|
6103
|
-
return
|
|
6104
|
-
}), l =
|
|
6103
|
+
return Qn(u) ? u : dn(u) ? Ft(e.label) ? u.map(Do).some((c) => Xa(c, e.label)) : u.map(Do).includes(e.label) : u != null ? u === e.trueLabel : !!u;
|
|
6104
|
+
}), l = go(C(() => {
|
|
6105
6105
|
var u;
|
|
6106
6106
|
return (u = o == null ? void 0 : o.size) == null ? void 0 : u.value;
|
|
6107
6107
|
}), {
|
|
6108
6108
|
prop: !0
|
|
6109
|
-
}), i =
|
|
6109
|
+
}), i = go(C(() => {
|
|
6110
6110
|
var u;
|
|
6111
6111
|
return (u = o == null ? void 0 : o.size) == null ? void 0 : u.value;
|
|
6112
6112
|
})), s = C(() => !!(n.default || e.label));
|
|
@@ -6123,7 +6123,7 @@ const CT = function(e, n) {
|
|
|
6123
6123
|
}
|
|
6124
6124
|
e.checked && t();
|
|
6125
6125
|
}, Vc = (e, n) => {
|
|
6126
|
-
const { formItem: t } =
|
|
6126
|
+
const { formItem: t } = Ho(), { model: o, isGroup: a, isLimitExceeded: r } = IT(e), {
|
|
6127
6127
|
isFocused: l,
|
|
6128
6128
|
isChecked: i,
|
|
6129
6129
|
checkboxButtonSize: s,
|
|
@@ -6160,7 +6160,7 @@ const CT = function(e, n) {
|
|
|
6160
6160
|
props: Fc,
|
|
6161
6161
|
emits: Yc,
|
|
6162
6162
|
setup(e) {
|
|
6163
|
-
const n = e, t =
|
|
6163
|
+
const n = e, t = ca(), {
|
|
6164
6164
|
inputId: o,
|
|
6165
6165
|
isLabeledByFormItem: a,
|
|
6166
6166
|
isChecked: r,
|
|
@@ -6199,7 +6199,7 @@ const CT = function(e, n) {
|
|
|
6199
6199
|
b.trueLabel || b.falseLabel ? We((I(), k("input", {
|
|
6200
6200
|
key: 0,
|
|
6201
6201
|
id: f(o),
|
|
6202
|
-
"onUpdate:modelValue": h[0] || (h[0] = (M) =>
|
|
6202
|
+
"onUpdate:modelValue": h[0] || (h[0] = (M) => Gn(c) ? c.value = M : null),
|
|
6203
6203
|
class: j(f(g).e("original")),
|
|
6204
6204
|
type: "checkbox",
|
|
6205
6205
|
"aria-hidden": b.indeterminate ? "true" : "false",
|
|
@@ -6218,7 +6218,7 @@ const CT = function(e, n) {
|
|
|
6218
6218
|
]) : We((I(), k("input", {
|
|
6219
6219
|
key: 1,
|
|
6220
6220
|
id: f(o),
|
|
6221
|
-
"onUpdate:modelValue": h[5] || (h[5] = (M) =>
|
|
6221
|
+
"onUpdate:modelValue": h[5] || (h[5] = (M) => Gn(c) ? c.value = M : null),
|
|
6222
6222
|
class: j(f(g).e("original")),
|
|
6223
6223
|
type: "checkbox",
|
|
6224
6224
|
"aria-hidden": b.indeterminate ? "true" : "false",
|
|
@@ -6260,14 +6260,14 @@ const PT = ["name", "tabindex", "disabled", "true-value", "false-value"], jT = [
|
|
|
6260
6260
|
props: Fc,
|
|
6261
6261
|
emits: Yc,
|
|
6262
6262
|
setup(e) {
|
|
6263
|
-
const n = e, t =
|
|
6263
|
+
const n = e, t = ca(), {
|
|
6264
6264
|
isFocused: o,
|
|
6265
6265
|
isChecked: a,
|
|
6266
6266
|
isDisabled: r,
|
|
6267
6267
|
checkboxButtonSize: l,
|
|
6268
6268
|
model: i,
|
|
6269
6269
|
handleChange: s
|
|
6270
|
-
} = Vc(n, t), u = ye(
|
|
6270
|
+
} = Vc(n, t), u = ye(Fo, void 0), c = ie("checkbox"), d = C(() => {
|
|
6271
6271
|
var g, m, p, b;
|
|
6272
6272
|
const h = (m = (g = u == null ? void 0 : u.fill) == null ? void 0 : g.value) != null ? m : "";
|
|
6273
6273
|
return {
|
|
@@ -6288,7 +6288,7 @@ const PT = ["name", "tabindex", "disabled", "true-value", "false-value"], jT = [
|
|
|
6288
6288
|
}, [
|
|
6289
6289
|
g.trueLabel || g.falseLabel ? We((I(), k("input", {
|
|
6290
6290
|
key: 0,
|
|
6291
|
-
"onUpdate:modelValue": m[0] || (m[0] = (p) =>
|
|
6291
|
+
"onUpdate:modelValue": m[0] || (m[0] = (p) => Gn(i) ? i.value = p : null),
|
|
6292
6292
|
class: j(f(c).be("button", "original")),
|
|
6293
6293
|
type: "checkbox",
|
|
6294
6294
|
name: g.name,
|
|
@@ -6305,7 +6305,7 @@ const PT = ["name", "tabindex", "disabled", "true-value", "false-value"], jT = [
|
|
|
6305
6305
|
[Ya, f(i)]
|
|
6306
6306
|
]) : We((I(), k("input", {
|
|
6307
6307
|
key: 1,
|
|
6308
|
-
"onUpdate:modelValue": m[5] || (m[5] = (p) =>
|
|
6308
|
+
"onUpdate:modelValue": m[5] || (m[5] = (p) => Gn(i) ? i.value = p : null),
|
|
6309
6309
|
class: j(f(c).be("button", "original")),
|
|
6310
6310
|
type: "checkbox",
|
|
6311
6311
|
name: g.name,
|
|
@@ -6341,7 +6341,7 @@ const HT = we({
|
|
|
6341
6341
|
disabled: Boolean,
|
|
6342
6342
|
min: Number,
|
|
6343
6343
|
max: Number,
|
|
6344
|
-
size:
|
|
6344
|
+
size: $o,
|
|
6345
6345
|
label: String,
|
|
6346
6346
|
fill: String,
|
|
6347
6347
|
textColor: String,
|
|
@@ -6363,7 +6363,7 @@ const HT = we({
|
|
|
6363
6363
|
props: HT,
|
|
6364
6364
|
emits: BT,
|
|
6365
6365
|
setup(e, { emit: n }) {
|
|
6366
|
-
const t = e, o = ie("checkbox"), { formItem: a } =
|
|
6366
|
+
const t = e, o = ie("checkbox"), { formItem: a } = Ho(), { inputId: r, isLabeledByFormItem: l } = Ql(t, {
|
|
6367
6367
|
formItemContext: a
|
|
6368
6368
|
}), i = async (u) => {
|
|
6369
6369
|
n(ut, u), await Ie(), n("change", u);
|
|
@@ -6375,8 +6375,8 @@ const HT = we({
|
|
|
6375
6375
|
i(u);
|
|
6376
6376
|
}
|
|
6377
6377
|
});
|
|
6378
|
-
return tt(
|
|
6379
|
-
...Bv(
|
|
6378
|
+
return tt(Fo, {
|
|
6379
|
+
...Bv(jo(t), [
|
|
6380
6380
|
"size",
|
|
6381
6381
|
"min",
|
|
6382
6382
|
"max",
|
|
@@ -6407,12 +6407,12 @@ const HT = we({
|
|
|
6407
6407
|
}
|
|
6408
6408
|
});
|
|
6409
6409
|
var Uc = /* @__PURE__ */ Me(YT, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);
|
|
6410
|
-
const
|
|
6410
|
+
const xo = mt(xT, {
|
|
6411
6411
|
CheckboxButton: Wc,
|
|
6412
6412
|
CheckboxGroup: Uc
|
|
6413
6413
|
});
|
|
6414
|
-
|
|
6415
|
-
|
|
6414
|
+
jn(Wc);
|
|
6415
|
+
jn(Uc);
|
|
6416
6416
|
const Gc = we({
|
|
6417
6417
|
type: {
|
|
6418
6418
|
type: String,
|
|
@@ -6428,7 +6428,7 @@ const Gc = we({
|
|
|
6428
6428
|
},
|
|
6429
6429
|
size: {
|
|
6430
6430
|
type: String,
|
|
6431
|
-
values:
|
|
6431
|
+
values: fa,
|
|
6432
6432
|
default: ""
|
|
6433
6433
|
},
|
|
6434
6434
|
effect: {
|
|
@@ -6447,7 +6447,7 @@ const Gc = we({
|
|
|
6447
6447
|
props: Gc,
|
|
6448
6448
|
emits: VT,
|
|
6449
6449
|
setup(e, { emit: n }) {
|
|
6450
|
-
const t = e, o =
|
|
6450
|
+
const t = e, o = go(), a = ie("tag"), r = C(() => {
|
|
6451
6451
|
const { type: s, hit: u, effect: c, closable: d, round: v } = t;
|
|
6452
6452
|
return [
|
|
6453
6453
|
a.b(),
|
|
@@ -6484,7 +6484,7 @@ const Gc = we({
|
|
|
6484
6484
|
]),
|
|
6485
6485
|
_: 1
|
|
6486
6486
|
}, 8, ["class", "onClick"])) : ne("v-if", !0)
|
|
6487
|
-
], 6)) : (I(), q(
|
|
6487
|
+
], 6)) : (I(), q(On, {
|
|
6488
6488
|
key: 1,
|
|
6489
6489
|
name: `${f(a).namespace.value}-zoom-in-center`,
|
|
6490
6490
|
appear: ""
|
|
@@ -6550,7 +6550,7 @@ const KT = mt(GT), QT = U({
|
|
|
6550
6550
|
t(a);
|
|
6551
6551
|
}
|
|
6552
6552
|
};
|
|
6553
|
-
return (a, r) => (I(), q(
|
|
6553
|
+
return (a, r) => (I(), q(On, kt({
|
|
6554
6554
|
name: f(n).b()
|
|
6555
6555
|
}, Dd(o)), {
|
|
6556
6556
|
default: G(() => [
|
|
@@ -6760,17 +6760,17 @@ const cA = we({
|
|
|
6760
6760
|
opened: () => !0,
|
|
6761
6761
|
close: () => !0,
|
|
6762
6762
|
closed: () => !0,
|
|
6763
|
-
[ut]: (e) =>
|
|
6763
|
+
[ut]: (e) => Qn(e),
|
|
6764
6764
|
openAutoFocus: () => !0,
|
|
6765
6765
|
closeAutoFocus: () => !0
|
|
6766
6766
|
}, pA = (e, n) => {
|
|
6767
6767
|
const o = Ee().emit, { nextZIndex: a } = mr();
|
|
6768
6768
|
let r = "";
|
|
6769
|
-
const l =
|
|
6769
|
+
const l = ia(), i = ia(), s = w(!1), u = w(!1), c = w(!1), d = w(e.zIndex || a());
|
|
6770
6770
|
let v, g;
|
|
6771
|
-
const m = gr("namespace",
|
|
6771
|
+
const m = gr("namespace", Xo), p = C(() => {
|
|
6772
6772
|
const W = {}, X = `--${m.value}-dialog`;
|
|
6773
|
-
return e.fullscreen || (e.top && (W[`${X}-margin-top`] = e.top), e.width && (W[`${X}-width`] =
|
|
6773
|
+
return e.fullscreen || (e.top && (W[`${X}-margin-top`] = e.top), e.width && (W[`${X}-width`] = zn(e.width))), W;
|
|
6774
6774
|
}), b = C(() => e.alignCenter ? { display: "flex" } : {});
|
|
6775
6775
|
function h() {
|
|
6776
6776
|
o("opened");
|
|
@@ -6853,14 +6853,14 @@ const cA = we({
|
|
|
6853
6853
|
props: cA,
|
|
6854
6854
|
emits: dA,
|
|
6855
6855
|
setup(e, { expose: n }) {
|
|
6856
|
-
const t = e, o =
|
|
6857
|
-
|
|
6856
|
+
const t = e, o = ca();
|
|
6857
|
+
aa({
|
|
6858
6858
|
scope: "el-dialog",
|
|
6859
6859
|
from: "the title slot",
|
|
6860
6860
|
replacement: "the header slot",
|
|
6861
6861
|
version: "3.0.0",
|
|
6862
6862
|
ref: "https://element-plus.org/en-US/component/dialog.html#slots"
|
|
6863
|
-
}, C(() => !!o.title)),
|
|
6863
|
+
}, C(() => !!o.title)), aa({
|
|
6864
6864
|
scope: "el-dialog",
|
|
6865
6865
|
from: "custom-class",
|
|
6866
6866
|
replacement: "class",
|
|
@@ -6902,7 +6902,7 @@ const cA = we({
|
|
|
6902
6902
|
to: "body",
|
|
6903
6903
|
disabled: !R.appendToBody
|
|
6904
6904
|
}, [
|
|
6905
|
-
fe(
|
|
6905
|
+
fe(On, {
|
|
6906
6906
|
name: "dialog-fade",
|
|
6907
6907
|
onAfterEnter: f(p),
|
|
6908
6908
|
onAfterLeave: f(b),
|
|
@@ -7050,7 +7050,7 @@ const NA = "data-el-collection-item", DA = (e) => {
|
|
|
7050
7050
|
ElCollectionItem: l
|
|
7051
7051
|
};
|
|
7052
7052
|
}, Br = we({
|
|
7053
|
-
trigger:
|
|
7053
|
+
trigger: sa.trigger,
|
|
7054
7054
|
effect: {
|
|
7055
7055
|
...wt.effect,
|
|
7056
7056
|
default: "light"
|
|
@@ -7157,7 +7157,7 @@ const _A = {
|
|
|
7157
7157
|
}), XA = /* @__PURE__ */ U({
|
|
7158
7158
|
...QA,
|
|
7159
7159
|
setup(e) {
|
|
7160
|
-
const n = ie("empty"), t =
|
|
7160
|
+
const n = ie("empty"), t = ia();
|
|
7161
7161
|
return (o, a) => (I(), k("svg", _A, [
|
|
7162
7162
|
Y("defs", null, [
|
|
7163
7163
|
Y("linearGradient", {
|
|
@@ -7295,7 +7295,7 @@ const ZA = we({
|
|
|
7295
7295
|
props: ZA,
|
|
7296
7296
|
setup(e) {
|
|
7297
7297
|
const n = e, { t } = At(), o = ie("empty"), a = C(() => n.description || t("el.table.emptyText")), r = C(() => ({
|
|
7298
|
-
width:
|
|
7298
|
+
width: zn(n.imageSize)
|
|
7299
7299
|
}));
|
|
7300
7300
|
return (l, i) => (I(), k("div", {
|
|
7301
7301
|
class: j(f(o).b())
|
|
@@ -7419,23 +7419,23 @@ const sC = U({
|
|
|
7419
7419
|
listeners: {
|
|
7420
7420
|
onBeforeEnter: (t) => t.style.opacity = "0.2",
|
|
7421
7421
|
onEnter(t, o) {
|
|
7422
|
-
|
|
7422
|
+
En(t, `${e.namespace.value}-opacity-transition`), t.style.opacity = "1", o();
|
|
7423
7423
|
},
|
|
7424
7424
|
onAfterEnter(t) {
|
|
7425
7425
|
pn(t, `${e.namespace.value}-opacity-transition`), t.style.opacity = "";
|
|
7426
7426
|
},
|
|
7427
7427
|
onBeforeLeave(t) {
|
|
7428
|
-
t.dataset || (t.dataset = {}),
|
|
7428
|
+
t.dataset || (t.dataset = {}), so(t, e.m("collapse")) ? (pn(t, e.m("collapse")), t.dataset.oldOverflow = t.style.overflow, t.dataset.scrollWidth = t.clientWidth.toString(), En(t, e.m("collapse"))) : (En(t, e.m("collapse")), t.dataset.oldOverflow = t.style.overflow, t.dataset.scrollWidth = t.clientWidth.toString(), pn(t, e.m("collapse"))), t.style.width = `${t.scrollWidth}px`, t.style.overflow = "hidden";
|
|
7429
7429
|
},
|
|
7430
7430
|
onLeave(t) {
|
|
7431
|
-
|
|
7431
|
+
En(t, "horizontal-collapse-transition"), t.style.width = `${t.dataset.scrollWidth}px`;
|
|
7432
7432
|
}
|
|
7433
7433
|
}
|
|
7434
7434
|
};
|
|
7435
7435
|
}
|
|
7436
7436
|
});
|
|
7437
7437
|
function uC(e, n, t, o, a, r) {
|
|
7438
|
-
return I(), q(
|
|
7438
|
+
return I(), q(On, kt({ mode: "out-in" }, e.listeners), {
|
|
7439
7439
|
default: G(() => [
|
|
7440
7440
|
oe(e.$slots, "default")
|
|
7441
7441
|
]),
|
|
@@ -7516,22 +7516,22 @@ const qc = (e, n) => {
|
|
|
7516
7516
|
collapseOpenIcon: {
|
|
7517
7517
|
type: dt
|
|
7518
7518
|
}
|
|
7519
|
-
}),
|
|
7519
|
+
}), Sa = "ElSubMenu";
|
|
7520
7520
|
var ti = U({
|
|
7521
|
-
name:
|
|
7521
|
+
name: Sa,
|
|
7522
7522
|
props: pC,
|
|
7523
7523
|
setup(e, { slots: n, expose: t }) {
|
|
7524
|
-
|
|
7524
|
+
aa({
|
|
7525
7525
|
from: "popper-append-to-body",
|
|
7526
7526
|
replacement: "teleported",
|
|
7527
|
-
scope:
|
|
7527
|
+
scope: Sa,
|
|
7528
7528
|
version: "2.3.0",
|
|
7529
7529
|
ref: "https://element-plus.org/en-US/component/menu.html#submenu-attributes"
|
|
7530
7530
|
}, C(() => e.popperAppendToBody !== void 0));
|
|
7531
7531
|
const o = Ee(), { indexPath: a, parentMenu: r } = Xc(o, C(() => e.index)), l = ie("menu"), i = ie("sub-menu"), s = ye("rootMenu");
|
|
7532
|
-
s ||
|
|
7532
|
+
s || mo(Sa, "can not inject root menu");
|
|
7533
7533
|
const u = ye(`subMenu:${r.value.uid}`);
|
|
7534
|
-
u ||
|
|
7534
|
+
u || mo(Sa, "can not inject sub menu");
|
|
7535
7535
|
const c = w({}), d = w({});
|
|
7536
7536
|
let v;
|
|
7537
7537
|
const g = w(!1), m = w(), p = w(null), b = C(() => E.value === "horizontal" && M.value ? "bottom-start" : "right-start"), h = C(() => E.value === "horizontal" && M.value || E.value === "vertical" && !s.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? D.value ? e.expandOpenIcon : e.expandCloseIcon : xl : e.collapseCloseIcon && e.collapseOpenIcon ? D.value ? e.collapseOpenIcon : e.collapseCloseIcon : sr), M = C(() => u.level === 0), A = C(() => {
|
|
@@ -7623,7 +7623,7 @@ var ti = U({
|
|
|
7623
7623
|
}, {
|
|
7624
7624
|
default: () => et(h.value) ? J(o.appContext.components[h.value]) : J(h.value)
|
|
7625
7625
|
})
|
|
7626
|
-
], ae = s.isMenuPopup ? J(
|
|
7626
|
+
], ae = s.isMenuPopup ? J(Bo, {
|
|
7627
7627
|
ref: p,
|
|
7628
7628
|
visible: D.value,
|
|
7629
7629
|
effect: "light",
|
|
@@ -7777,7 +7777,7 @@ var gC = U({
|
|
|
7777
7777
|
}, y = (E) => {
|
|
7778
7778
|
(e.mode === "horizontal" || e.collapse) && (c.value = []);
|
|
7779
7779
|
const { index: L, indexPath: F } = E;
|
|
7780
|
-
if (!(
|
|
7780
|
+
if (!(Io(L) || Io(F)))
|
|
7781
7781
|
if (e.router && r) {
|
|
7782
7782
|
const W = E.route || L, X = r.push(W).then((le) => (le || (d.value = L), le));
|
|
7783
7783
|
n("select", L, F, { index: L, indexPath: F, route: W }, X);
|
|
@@ -7818,8 +7818,8 @@ var gC = U({
|
|
|
7818
7818
|
E && (c.value = []);
|
|
7819
7819
|
}), ee(v.value, p);
|
|
7820
7820
|
let R;
|
|
7821
|
-
|
|
7822
|
-
e.mode === "horizontal" && e.ellipsis ? R =
|
|
7821
|
+
Un(() => {
|
|
7822
|
+
e.mode === "horizontal" && e.ellipsis ? R = co(l, P).stop : R == null || R();
|
|
7823
7823
|
});
|
|
7824
7824
|
{
|
|
7825
7825
|
const E = (X) => {
|
|
@@ -7907,15 +7907,15 @@ const vC = we({
|
|
|
7907
7907
|
}, Yr = "ElMenuItem", hC = U({
|
|
7908
7908
|
name: Yr,
|
|
7909
7909
|
components: {
|
|
7910
|
-
ElTooltip:
|
|
7910
|
+
ElTooltip: Bo
|
|
7911
7911
|
},
|
|
7912
7912
|
props: vC,
|
|
7913
7913
|
emits: yC,
|
|
7914
7914
|
setup(e, { emit: n }) {
|
|
7915
7915
|
const t = Ee(), o = ye("rootMenu"), a = ie("menu"), r = ie("menu-item");
|
|
7916
|
-
o ||
|
|
7916
|
+
o || mo(Yr, "can not inject root menu");
|
|
7917
7917
|
const { parentMenu: l, indexPath: i } = Xc(t, en(e, "index")), s = ye(`subMenu:${l.value.uid}`);
|
|
7918
|
-
s ||
|
|
7918
|
+
s || mo(Yr, "can not inject sub menu");
|
|
7919
7919
|
const u = C(() => e.index === o.activeIndex), c = Mn({
|
|
7920
7920
|
index: e.index,
|
|
7921
7921
|
indexPath: i,
|
|
@@ -8010,9 +8010,9 @@ const NC = mt(gC, {
|
|
|
8010
8010
|
MenuItem: Zc,
|
|
8011
8011
|
MenuItemGroup: Jc,
|
|
8012
8012
|
SubMenu: ti
|
|
8013
|
-
}), DC =
|
|
8014
|
-
|
|
8015
|
-
|
|
8013
|
+
}), DC = jn(Zc);
|
|
8014
|
+
jn(Jc);
|
|
8015
|
+
jn(ti);
|
|
8016
8016
|
const ed = Symbol("elPaginationKey"), _C = we({
|
|
8017
8017
|
disabled: Boolean,
|
|
8018
8018
|
currentPage: {
|
|
@@ -8106,7 +8106,7 @@ function $C(e, n) {
|
|
|
8106
8106
|
}), i = C(() => e.label || (a.value ? "" : e.value)), s = C(() => e.value || e.label || ""), u = C(() => e.disabled || n.groupDisabled || l.value), c = Ee(), d = (p = [], b) => {
|
|
8107
8107
|
if (a.value) {
|
|
8108
8108
|
const h = t.props.valueKey;
|
|
8109
|
-
return p && p.some((M) =>
|
|
8109
|
+
return p && p.some((M) => Do(bt(M, h)) === bt(b, h));
|
|
8110
8110
|
} else
|
|
8111
8111
|
return p && p.includes(b);
|
|
8112
8112
|
}, v = (p, b) => {
|
|
@@ -8130,7 +8130,7 @@ function $C(e, n) {
|
|
|
8130
8130
|
}), ee(() => o.disabled, () => {
|
|
8131
8131
|
n.groupDisabled = o.disabled;
|
|
8132
8132
|
}, { immediate: !0 });
|
|
8133
|
-
const { queryChange: m } =
|
|
8133
|
+
const { queryChange: m } = Do(t);
|
|
8134
8134
|
return ee(m, (p) => {
|
|
8135
8135
|
const { query: b } = f(p), h = new RegExp(Vv(b), "i");
|
|
8136
8136
|
n.visible = h.test(i.value) || e.created, n.visible || t.filteredOptionsCount--;
|
|
@@ -8169,7 +8169,7 @@ const HC = U({
|
|
|
8169
8169
|
visible: !0,
|
|
8170
8170
|
hitState: !1,
|
|
8171
8171
|
hover: !1
|
|
8172
|
-
}), { currentLabel: a, itemSelected: r, isDisabled: l, select: i, hoverItem: s } = $C(e, o), { visible: u, hover: c } =
|
|
8172
|
+
}), { currentLabel: a, itemSelected: r, isDisabled: l, select: i, hoverItem: s } = $C(e, o), { visible: u, hover: c } = jo(o), d = Ee().proxy;
|
|
8173
8173
|
i.onOptionCreate(d), St(() => {
|
|
8174
8174
|
const g = d.value, { selected: m } = i, b = (i.props.multiple ? m : [m]).some((h) => h.value === d.value);
|
|
8175
8175
|
Ie(() => {
|
|
@@ -8218,7 +8218,7 @@ const FC = U({
|
|
|
8218
8218
|
r.value = `${(i = e.selectWrapper) == null ? void 0 : i.offsetWidth}px`;
|
|
8219
8219
|
}
|
|
8220
8220
|
return je(() => {
|
|
8221
|
-
l(),
|
|
8221
|
+
l(), co(e.selectWrapper, l);
|
|
8222
8222
|
}), {
|
|
8223
8223
|
ns: n,
|
|
8224
8224
|
minWidth: r,
|
|
@@ -8267,16 +8267,16 @@ function WC(e) {
|
|
|
8267
8267
|
}
|
|
8268
8268
|
const UC = (e, n, t) => {
|
|
8269
8269
|
const { t: o } = At(), a = ie("select");
|
|
8270
|
-
|
|
8270
|
+
aa({
|
|
8271
8271
|
from: "suffixTransition",
|
|
8272
8272
|
replacement: "override style scheme",
|
|
8273
8273
|
version: "2.3.0",
|
|
8274
8274
|
scope: "props",
|
|
8275
8275
|
ref: "https://element-plus.org/en-US/component/select.html#select-attributes"
|
|
8276
8276
|
}, C(() => e.suffixTransition === !1));
|
|
8277
|
-
const r = w(null), l = w(null), i = w(null), s = w(null), u = w(null), c = w(null), d = w(null), v = w(null), g = w(-1), m =
|
|
8277
|
+
const r = w(null), l = w(null), i = w(null), s = w(null), u = w(null), c = w(null), d = w(null), v = w(null), g = w(-1), m = io({ query: "" }), p = io(""), b = w([]);
|
|
8278
8278
|
let h = 0;
|
|
8279
|
-
const { form: M, formItem: A } =
|
|
8279
|
+
const { form: M, formItem: A } = Ho(), y = C(() => !e.filterable || e.multiple || !n.visible), N = C(() => e.disabled || (M == null ? void 0 : M.disabled)), D = C(() => {
|
|
8280
8280
|
const O = e.multiple ? Array.isArray(e.modelValue) && e.modelValue.length > 0 : e.modelValue !== void 0 && e.modelValue !== null && e.modelValue !== "";
|
|
8281
8281
|
return e.clearable && !N.value && n.inputHovering && O;
|
|
8282
8282
|
}), T = C(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), _ = C(() => a.is("reverse", T.value && n.visible && e.suffixTransition)), P = C(() => (M == null ? void 0 : M.statusIcon) && (A == null ? void 0 : A.validateState) && Fu[A == null ? void 0 : A.validateState]), R = C(() => e.remote ? 300 : 0), E = C(() => e.loading ? e.loadingText || o("el.select.loading") : e.remote && n.query === "" && n.options.size === 0 ? !1 : e.filterable && n.query && n.options.size > 0 && n.filteredOptionsCount === 0 ? e.noMatchText || o("el.select.noMatch") : n.options.size === 0 ? e.noDataText || o("el.select.noData") : null), L = C(() => {
|
|
@@ -8288,7 +8288,7 @@ const UC = (e, n, t) => {
|
|
|
8288
8288
|
}), F = C(() => Array.from(n.cachedOptions.values())), W = C(() => {
|
|
8289
8289
|
const O = L.value.filter((B) => !B.created).some((B) => B.currentLabel === n.query);
|
|
8290
8290
|
return e.filterable && e.allowCreate && n.query !== "" && !O;
|
|
8291
|
-
}), X =
|
|
8291
|
+
}), X = go(), le = C(() => ["small"].includes(X.value) ? "small" : "default"), K = C({
|
|
8292
8292
|
get() {
|
|
8293
8293
|
return n.visible && E.value !== !1;
|
|
8294
8294
|
},
|
|
@@ -8309,7 +8309,7 @@ const UC = (e, n, t) => {
|
|
|
8309
8309
|
deep: !0
|
|
8310
8310
|
}), ee(() => n.visible, (O) => {
|
|
8311
8311
|
var B, Q, ve, at, Ze;
|
|
8312
|
-
O ? ((Q = (B = s.value) == null ? void 0 : B.updatePopper) == null || Q.call(B), e.filterable && (n.filteredOptionsCount = n.optionsCount, n.query = e.remote ? "" : n.selectedLabel, (at = (ve = i.value) == null ? void 0 : ve.focus) == null || at.call(ve), e.multiple ? (Ze = l.value) == null || Ze.focus() : n.selectedLabel && (n.currentPlaceholder = `${n.selectedLabel}`, n.selectedLabel = ""), x(n.query), !e.multiple && !e.remote && (m.value.query = "",
|
|
8312
|
+
O ? ((Q = (B = s.value) == null ? void 0 : B.updatePopper) == null || Q.call(B), e.filterable && (n.filteredOptionsCount = n.optionsCount, n.query = e.remote ? "" : n.selectedLabel, (at = (ve = i.value) == null ? void 0 : ve.focus) == null || at.call(ve), e.multiple ? (Ze = l.value) == null || Ze.focus() : n.selectedLabel && (n.currentPlaceholder = `${n.selectedLabel}`, n.selectedLabel = ""), x(n.query), !e.multiple && !e.remote && (m.value.query = "", Vo(m), Vo(p)))) : (e.filterable && (Wt(e.filterMethod) && e.filterMethod(""), Wt(e.remoteMethod) && e.remoteMethod("")), n.query = "", n.previousQuery = null, n.selectedLabel = "", n.inputLength = 20, n.menuVisibleOnFocus = !1, Ne(), Ie(() => {
|
|
8313
8313
|
l.value && l.value.value === "" && n.selected.length === 0 && (n.currentPlaceholder = n.cachedPlaceHolder);
|
|
8314
8314
|
}), e.multiple || (n.selected && (e.filterable && e.allowCreate && n.createdSelected && n.createdLabel ? n.selectedLabel = n.createdLabel : n.selectedLabel = n.selected.currentLabel, e.filterable && (n.query = n.selectedLabel)), e.filterable && (n.currentPlaceholder = n.cachedPlaceHolder))), t.emit("visible-change", O);
|
|
8315
8315
|
}), ee(() => n.options.entries(), () => {
|
|
@@ -8318,7 +8318,7 @@ const UC = (e, n, t) => {
|
|
|
8318
8318
|
return;
|
|
8319
8319
|
(B = (O = s.value) == null ? void 0 : O.updatePopper) == null || B.call(O), e.multiple && re();
|
|
8320
8320
|
const ve = ((Q = d.value) == null ? void 0 : Q.querySelectorAll("input")) || [];
|
|
8321
|
-
(!e.filterable && !e.defaultFirstOption && !
|
|
8321
|
+
(!e.filterable && !e.defaultFirstOption && !wo(e.modelValue) || !Array.from(ve).includes(document.activeElement)) && ae(), e.defaultFirstOption && (e.filterable || e.remote) && n.filteredOptionsCount && Z();
|
|
8322
8322
|
}, {
|
|
8323
8323
|
flush: "post"
|
|
8324
8324
|
}), ee(() => n.hoverIndex, (O) => {
|
|
@@ -8351,7 +8351,7 @@ const UC = (e, n, t) => {
|
|
|
8351
8351
|
n.inputLength = e.collapseTags ? Math.min(50, B) : B, $();
|
|
8352
8352
|
}
|
|
8353
8353
|
re();
|
|
8354
|
-
}), e.remote && Wt(e.remoteMethod) ? (n.hoverIndex = -1, e.remoteMethod(O)) : Wt(e.filterMethod) ? (e.filterMethod(O),
|
|
8354
|
+
}), e.remote && Wt(e.remoteMethod) ? (n.hoverIndex = -1, e.remoteMethod(O)) : Wt(e.filterMethod) ? (e.filterMethod(O), Vo(p)) : (n.filteredOptionsCount = n.optionsCount, m.value.query = O, Vo(m), Vo(p)), e.defaultFirstOption && (e.filterable || e.remote) && n.filteredOptionsCount && (await Ie(), Z());
|
|
8355
8355
|
}
|
|
8356
8356
|
}, $ = () => {
|
|
8357
8357
|
n.currentPlaceholder !== "" && (n.currentPlaceholder = l.value.value ? "" : n.cachedPlaceHolder);
|
|
@@ -8407,9 +8407,9 @@ const UC = (e, n, t) => {
|
|
|
8407
8407
|
n.inputWidth = (O = r.value) == null ? void 0 : O.$el.offsetWidth;
|
|
8408
8408
|
}, ke = () => {
|
|
8409
8409
|
e.filterable && n.query !== n.selectedLabel && (n.query = n.selectedLabel, x(n.query));
|
|
8410
|
-
}, _e =
|
|
8410
|
+
}, _e = _o(() => {
|
|
8411
8411
|
ke();
|
|
8412
|
-
}, R.value), Ue =
|
|
8412
|
+
}, R.value), Ue = _o((O) => {
|
|
8413
8413
|
x(O.target.value);
|
|
8414
8414
|
}, R.value), $e = (O) => {
|
|
8415
8415
|
Xa(e.modelValue, O) || t.emit(Yu, O);
|
|
@@ -8452,7 +8452,7 @@ const UC = (e, n, t) => {
|
|
|
8452
8452
|
return O.indexOf(B);
|
|
8453
8453
|
const Q = e.valueKey;
|
|
8454
8454
|
let ve = -1;
|
|
8455
|
-
return O.some((at, Ze) =>
|
|
8455
|
+
return O.some((at, Ze) => Do(bt(at, Q)) === bt(B, Q) ? (ve = Ze, !0) : !1), ve;
|
|
8456
8456
|
}, vt = () => {
|
|
8457
8457
|
const O = l.value || r.value;
|
|
8458
8458
|
O && (O == null || O.focus());
|
|
@@ -8522,9 +8522,9 @@ const UC = (e, n, t) => {
|
|
|
8522
8522
|
const B = L.value[n.hoverIndex];
|
|
8523
8523
|
(B.disabled === !0 || B.states.groupDisabled === !0 || !B.visible) && qe(O), Ie(() => Dt(g.value));
|
|
8524
8524
|
}
|
|
8525
|
-
}, qn = () => {
|
|
8526
|
-
n.mouseEnter = !0;
|
|
8527
8525
|
}, Zn = () => {
|
|
8526
|
+
n.mouseEnter = !0;
|
|
8527
|
+
}, Jn = () => {
|
|
8528
8528
|
n.mouseEnter = !1;
|
|
8529
8529
|
}, st = (O, B) => {
|
|
8530
8530
|
var Q, ve;
|
|
@@ -8588,8 +8588,8 @@ const UC = (e, n, t) => {
|
|
|
8588
8588
|
tags: c,
|
|
8589
8589
|
selectWrapper: d,
|
|
8590
8590
|
scrollbar: v,
|
|
8591
|
-
handleMouseEnter:
|
|
8592
|
-
handleMouseLeave:
|
|
8591
|
+
handleMouseEnter: Zn,
|
|
8592
|
+
handleMouseLeave: Jn
|
|
8593
8593
|
};
|
|
8594
8594
|
};
|
|
8595
8595
|
var GC = U({
|
|
@@ -8629,7 +8629,7 @@ const $s = "ElSelect", KC = U({
|
|
|
8629
8629
|
ElOptions: GC,
|
|
8630
8630
|
ElTag: KT,
|
|
8631
8631
|
ElScrollbar: Xl,
|
|
8632
|
-
ElTooltip:
|
|
8632
|
+
ElTooltip: Bo,
|
|
8633
8633
|
ElIcon: Je
|
|
8634
8634
|
},
|
|
8635
8635
|
directives: { ClickOutside: Rc },
|
|
@@ -8810,10 +8810,10 @@ const $s = "ElSelect", KC = U({
|
|
|
8810
8810
|
menuVisibleOnFocus: ot,
|
|
8811
8811
|
isOnComposition: Zt,
|
|
8812
8812
|
options: qe,
|
|
8813
|
-
cachedOptions:
|
|
8814
|
-
optionsCount:
|
|
8813
|
+
cachedOptions: Zn,
|
|
8814
|
+
optionsCount: Jn,
|
|
8815
8815
|
prefixWidth: st
|
|
8816
|
-
} =
|
|
8816
|
+
} = jo(r), An = C(() => {
|
|
8817
8817
|
const rt = [t.b()], Cn = f(s);
|
|
8818
8818
|
return Cn && rt.push(t.m(Cn)), e.disabled && rt.push(t.m("disabled")), rt;
|
|
8819
8819
|
}), O = C(() => [
|
|
@@ -8842,8 +8842,8 @@ const $s = "ElSelect", KC = U({
|
|
|
8842
8842
|
props: e,
|
|
8843
8843
|
options: qe,
|
|
8844
8844
|
optionsArray: i,
|
|
8845
|
-
cachedOptions:
|
|
8846
|
-
optionsCount:
|
|
8845
|
+
cachedOptions: Zn,
|
|
8846
|
+
optionsCount: Jn,
|
|
8847
8847
|
filteredOptionsCount: qt,
|
|
8848
8848
|
hoverIndex: Te,
|
|
8849
8849
|
handleOptionSelect: h,
|
|
@@ -8855,7 +8855,7 @@ const $s = "ElSelect", KC = U({
|
|
|
8855
8855
|
queryChange: rn,
|
|
8856
8856
|
groupQueryChange: it
|
|
8857
8857
|
})), je(() => {
|
|
8858
|
-
r.cachedPlaceHolder = He.value = e.placeholder || (() => a("el.select.placeholder")), e.multiple && Array.isArray(e.modelValue) && e.modelValue.length > 0 && (He.value = ""),
|
|
8858
|
+
r.cachedPlaceHolder = He.value = e.placeholder || (() => a("el.select.placeholder")), e.multiple && Array.isArray(e.modelValue) && e.modelValue.length > 0 && (He.value = ""), co(vt, c), e.remote && e.multiple && y(), Ie(() => {
|
|
8859
8859
|
const rt = Ye.value && Ye.value.$el;
|
|
8860
8860
|
if (rt && (se.value = rt.getBoundingClientRect().width, n.slots.prefix)) {
|
|
8861
8861
|
const Cn = rt.querySelector(`.${o.e("prefix")}`);
|
|
@@ -8988,7 +8988,7 @@ function ZC(e, n, t, o, a, r) {
|
|
|
8988
8988
|
style: Se(e.selectTagsStyle),
|
|
8989
8989
|
onClick: n[15] || (n[15] = (...p) => e.focus && e.focus(...p))
|
|
8990
8990
|
}, [
|
|
8991
|
-
e.collapseTags && e.selected.length ? (I(), q(
|
|
8991
|
+
e.collapseTags && e.selected.length ? (I(), q(On, {
|
|
8992
8992
|
key: 0,
|
|
8993
8993
|
onAfterLeave: e.resetInputHeight
|
|
8994
8994
|
}, {
|
|
@@ -9078,7 +9078,7 @@ function ZC(e, n, t, o, a, r) {
|
|
|
9078
9078
|
]),
|
|
9079
9079
|
_: 1
|
|
9080
9080
|
}, 8, ["onAfterLeave"])) : ne("v-if", !0),
|
|
9081
|
-
e.collapseTags ? ne("v-if", !0) : (I(), q(
|
|
9081
|
+
e.collapseTags ? ne("v-if", !0) : (I(), q(On, {
|
|
9082
9082
|
key: 1,
|
|
9083
9083
|
onAfterLeave: e.resetInputHeight
|
|
9084
9084
|
}, {
|
|
@@ -9265,7 +9265,7 @@ const eN = U({
|
|
|
9265
9265
|
setup(e) {
|
|
9266
9266
|
const n = ie("select"), t = w(!0), o = Ee(), a = w([]);
|
|
9267
9267
|
tt(td, Mn({
|
|
9268
|
-
...
|
|
9268
|
+
...jo(e)
|
|
9269
9269
|
}));
|
|
9270
9270
|
const r = ye(hr);
|
|
9271
9271
|
je(() => {
|
|
@@ -9277,7 +9277,7 @@ const eN = U({
|
|
|
9277
9277
|
var d;
|
|
9278
9278
|
c.type && c.type.name === "ElOption" && c.component && c.component.proxy ? u.push(c.component.proxy) : (d = c.children) != null && d.length && u.push(...l(c));
|
|
9279
9279
|
}), u;
|
|
9280
|
-
}, { groupQueryChange: i } =
|
|
9280
|
+
}, { groupQueryChange: i } = Do(r);
|
|
9281
9281
|
return ee(i, () => {
|
|
9282
9282
|
t.value = a.value.some((s) => s.visible === !0);
|
|
9283
9283
|
}, { flush: "post" }), {
|
|
@@ -9308,8 +9308,8 @@ var nd = /* @__PURE__ */ Me(eN, [["render", tN], ["__file", "/home/runner/work/e
|
|
|
9308
9308
|
const nN = mt(JC, {
|
|
9309
9309
|
Option: ni,
|
|
9310
9310
|
OptionGroup: nd
|
|
9311
|
-
}), oN =
|
|
9312
|
-
|
|
9311
|
+
}), oN = jn(ni);
|
|
9312
|
+
jn(nd);
|
|
9313
9313
|
const oi = () => ye(ed, {}), aN = we({
|
|
9314
9314
|
pageSize: {
|
|
9315
9315
|
type: Number,
|
|
@@ -9326,7 +9326,7 @@ const oi = () => ye(ed, {}), aN = we({
|
|
|
9326
9326
|
teleported: Boolean,
|
|
9327
9327
|
size: {
|
|
9328
9328
|
type: String,
|
|
9329
|
-
values:
|
|
9329
|
+
values: fa
|
|
9330
9330
|
}
|
|
9331
9331
|
}), rN = U({
|
|
9332
9332
|
name: "ElPaginationSizes"
|
|
@@ -9377,7 +9377,7 @@ var iN = /* @__PURE__ */ Me(lN, [["__file", "/home/runner/work/element-plus/elem
|
|
|
9377
9377
|
const sN = we({
|
|
9378
9378
|
size: {
|
|
9379
9379
|
type: String,
|
|
9380
|
-
values:
|
|
9380
|
+
values: fa
|
|
9381
9381
|
}
|
|
9382
9382
|
}), uN = ["disabled"], cN = U({
|
|
9383
9383
|
name: "ElPaginationJumper"
|
|
@@ -9495,7 +9495,7 @@ const hN = we({
|
|
|
9495
9495
|
a.b(),
|
|
9496
9496
|
o.is("disabled", t.disabled)
|
|
9497
9497
|
]), p = C(() => t.disabled ? -1 : 0);
|
|
9498
|
-
|
|
9498
|
+
Un(() => {
|
|
9499
9499
|
const y = (t.pagerCount - 1) / 2;
|
|
9500
9500
|
l.value = !1, i.value = !1, t.pageCount > t.pagerCount && (t.currentPage > t.pagerCount - y && (l.value = !0), t.currentPage < t.pageCount - y && (i.value = !0));
|
|
9501
9501
|
});
|
|
@@ -9813,13 +9813,13 @@ const LN = mt(SN), ON = we({
|
|
|
9813
9813
|
var v, g;
|
|
9814
9814
|
(g = (v = r.value) == null ? void 0 : v.onClose) == null || g.call(v);
|
|
9815
9815
|
}, i = C(() => ({
|
|
9816
|
-
width:
|
|
9816
|
+
width: zn(t.width)
|
|
9817
9817
|
})), s = (v) => {
|
|
9818
9818
|
n("confirm", v), l();
|
|
9819
9819
|
}, u = (v) => {
|
|
9820
9820
|
n("cancel", v), l();
|
|
9821
9821
|
}, c = C(() => t.confirmButtonText || o("el.popconfirm.confirmButtonText")), d = C(() => t.cancelButtonText || o("el.popconfirm.cancelButtonText"));
|
|
9822
|
-
return (v, g) => (I(), q(f(
|
|
9822
|
+
return (v, g) => (I(), q(f(Bo), kt({
|
|
9823
9823
|
ref_key: "tooltipRef",
|
|
9824
9824
|
ref: r,
|
|
9825
9825
|
trigger: "click",
|
|
@@ -9888,9 +9888,9 @@ const LN = mt(SN), ON = we({
|
|
|
9888
9888
|
});
|
|
9889
9889
|
var PN = /* @__PURE__ */ Me(xN, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);
|
|
9890
9890
|
const jN = mt(PN), kN = we({
|
|
9891
|
-
trigger:
|
|
9891
|
+
trigger: sa.trigger,
|
|
9892
9892
|
placement: Br.placement,
|
|
9893
|
-
disabled:
|
|
9893
|
+
disabled: sa.disabled,
|
|
9894
9894
|
visible: wt.visible,
|
|
9895
9895
|
transition: wt.transition,
|
|
9896
9896
|
popperOptions: Br.popperOptions,
|
|
@@ -9940,7 +9940,7 @@ const jN = mt(PN), kN = we({
|
|
|
9940
9940
|
type: Function
|
|
9941
9941
|
}
|
|
9942
9942
|
}), $N = {
|
|
9943
|
-
"update:visible": (e) =>
|
|
9943
|
+
"update:visible": (e) => Qn(e),
|
|
9944
9944
|
"before-enter": () => !0,
|
|
9945
9945
|
"before-leave": () => !0,
|
|
9946
9946
|
"after-enter": () => !0,
|
|
@@ -9957,7 +9957,7 @@ const jN = mt(PN), kN = we({
|
|
|
9957
9957
|
return (b = f(l)) == null ? void 0 : b.popperRef;
|
|
9958
9958
|
}), s = C(() => [
|
|
9959
9959
|
{
|
|
9960
|
-
width:
|
|
9960
|
+
width: zn(o.width)
|
|
9961
9961
|
},
|
|
9962
9962
|
o.popperStyle
|
|
9963
9963
|
]), u = C(() => [r.b(), o.popperClass, { [r.m("plain")]: !!o.content }]), c = C(() => o.transition === `${r.namespace.value}-fade-in-linear`), d = () => {
|
|
@@ -9975,7 +9975,7 @@ const jN = mt(PN), kN = we({
|
|
|
9975
9975
|
return n({
|
|
9976
9976
|
popperRef: i,
|
|
9977
9977
|
hide: d
|
|
9978
|
-
}), (b, h) => (I(), q(f(
|
|
9978
|
+
}), (b, h) => (I(), q(f(Bo), kt({
|
|
9979
9979
|
ref_key: "tooltipRef",
|
|
9980
9980
|
ref: l
|
|
9981
9981
|
}, b.$attrs, {
|
|
@@ -10118,7 +10118,7 @@ const qN = /* @__PURE__ */ yT(QN), Vr = function(e) {
|
|
|
10118
10118
|
break;
|
|
10119
10119
|
}
|
|
10120
10120
|
}
|
|
10121
|
-
return t ||
|
|
10121
|
+
return t || mo("ElTable", `No column matching with column-key: ${n}`), t;
|
|
10122
10122
|
}, Fs = function(e, n, t) {
|
|
10123
10123
|
const o = (n.className || "").match(new RegExp(`${t}-table_[^\\s]+`, "gm"));
|
|
10124
10124
|
return o ? od(e, o[0]) : null;
|
|
@@ -10135,7 +10135,7 @@ const qN = /* @__PURE__ */ yT(QN), Vr = function(e) {
|
|
|
10135
10135
|
return `${o}`;
|
|
10136
10136
|
} else if (typeof n == "function")
|
|
10137
10137
|
return n.call(null, e);
|
|
10138
|
-
},
|
|
10138
|
+
}, lo = function(e, n) {
|
|
10139
10139
|
const t = {};
|
|
10140
10140
|
return (e || []).forEach((o, a) => {
|
|
10141
10141
|
t[ct(o, n)] = { row: o, index: a };
|
|
@@ -10147,7 +10147,7 @@ function eD(e, n) {
|
|
|
10147
10147
|
for (o in e)
|
|
10148
10148
|
t[o] = e[o];
|
|
10149
10149
|
for (o in n)
|
|
10150
|
-
if (
|
|
10150
|
+
if (po(n, o)) {
|
|
10151
10151
|
const a = n[o];
|
|
10152
10152
|
typeof a < "u" && (t[o] = a);
|
|
10153
10153
|
}
|
|
@@ -10165,14 +10165,14 @@ function tD(e) {
|
|
|
10165
10165
|
function nD(...e) {
|
|
10166
10166
|
return e.length === 0 ? (n) => n : e.length === 1 ? e[0] : e.reduce((n, t) => (...o) => n(t(...o)));
|
|
10167
10167
|
}
|
|
10168
|
-
function
|
|
10168
|
+
function Jo(e, n, t) {
|
|
10169
10169
|
let o = !1;
|
|
10170
10170
|
const a = e.indexOf(n), r = a !== -1, l = (i) => {
|
|
10171
10171
|
i === "add" ? e.push(n) : e.splice(a, 1), o = !0, dn(n.children) && n.children.forEach((s) => {
|
|
10172
|
-
|
|
10172
|
+
Jo(e, s, t ?? !r);
|
|
10173
10173
|
});
|
|
10174
10174
|
};
|
|
10175
|
-
return
|
|
10175
|
+
return Qn(t) ? t && !r ? l("add") : !t && r && l("remove") : l(r ? "remove" : "add"), o;
|
|
10176
10176
|
}
|
|
10177
10177
|
function oD(e, n, t = "children", o = "hasChildren") {
|
|
10178
10178
|
const a = (l) => !(Array.isArray(l) && l.length);
|
|
@@ -10307,7 +10307,7 @@ const li = (e, n, t, o) => {
|
|
|
10307
10307
|
return;
|
|
10308
10308
|
const i = {}, s = a === "left", u = t.states.columns.value;
|
|
10309
10309
|
return s ? i.left = u.slice(0, r).reduce(Vs, 0) : i.right = u.slice(l + 1).reverse().reduce(Vs, 0), i;
|
|
10310
|
-
},
|
|
10310
|
+
}, Po = (e, n) => {
|
|
10311
10311
|
e && (Number.isNaN(e[n]) || (e[n] = `${e[n]}px`));
|
|
10312
10312
|
};
|
|
10313
10313
|
function rD(e) {
|
|
@@ -10318,7 +10318,7 @@ function rD(e) {
|
|
|
10318
10318
|
if (t.value)
|
|
10319
10319
|
o.value = s.slice();
|
|
10320
10320
|
else if (u) {
|
|
10321
|
-
const c =
|
|
10321
|
+
const c = lo(o.value, u);
|
|
10322
10322
|
o.value = s.reduce((d, v) => {
|
|
10323
10323
|
const g = ct(v, u);
|
|
10324
10324
|
return c[g] && d.push(v), d;
|
|
@@ -10327,11 +10327,11 @@ function rD(e) {
|
|
|
10327
10327
|
o.value = [];
|
|
10328
10328
|
},
|
|
10329
10329
|
toggleRowExpansion: (s, u) => {
|
|
10330
|
-
|
|
10330
|
+
Jo(o.value, s, u) && n.emit("expand-change", s, o.value.slice());
|
|
10331
10331
|
},
|
|
10332
10332
|
setExpandRowKeys: (s) => {
|
|
10333
10333
|
n.store.assertRowKey();
|
|
10334
|
-
const u = e.data.value || [], c = e.rowKey.value, d =
|
|
10334
|
+
const u = e.data.value || [], c = e.rowKey.value, d = lo(u, c);
|
|
10335
10335
|
o.value = s.reduce((v, g) => {
|
|
10336
10336
|
const m = d[g];
|
|
10337
10337
|
return m && v.push(m.row), v;
|
|
@@ -10339,7 +10339,7 @@ function rD(e) {
|
|
|
10339
10339
|
},
|
|
10340
10340
|
isRowExpanded: (s) => {
|
|
10341
10341
|
const u = e.rowKey.value;
|
|
10342
|
-
return u ? !!
|
|
10342
|
+
return u ? !!lo(o.value, u)[ct(s, u)] : o.value.includes(s);
|
|
10343
10343
|
},
|
|
10344
10344
|
states: {
|
|
10345
10345
|
expandRows: o,
|
|
@@ -10516,7 +10516,7 @@ const sD = (e, n) => {
|
|
|
10516
10516
|
};
|
|
10517
10517
|
function uD() {
|
|
10518
10518
|
var e;
|
|
10519
|
-
const n = Ee(), { size: t } =
|
|
10519
|
+
const n = Ee(), { size: t } = jo((e = n.proxy) == null ? void 0 : e.$props), o = w(null), a = w([]), r = w([]), l = w(!1), i = w([]), s = w([]), u = w([]), c = w([]), d = w([]), v = w([]), g = w([]), m = w([]), p = [], b = w(0), h = w(0), M = w(0), A = w(!1), y = w([]), N = w(!1), D = w(!1), T = w(null), _ = w({}), P = w(null), R = w(null), E = w(null), L = w(null), F = w(null);
|
|
10520
10520
|
ee(a, () => n.state && K(!1), {
|
|
10521
10521
|
deep: !0
|
|
10522
10522
|
});
|
|
@@ -10544,9 +10544,9 @@ function uD() {
|
|
|
10544
10544
|
let te;
|
|
10545
10545
|
if (o.value) {
|
|
10546
10546
|
te = [];
|
|
10547
|
-
const de =
|
|
10547
|
+
const de = lo(y.value, o.value), Te = lo(a.value, o.value);
|
|
10548
10548
|
for (const he in de)
|
|
10549
|
-
|
|
10549
|
+
po(de, he) && !Te[he] && te.push(de[he].row);
|
|
10550
10550
|
} else
|
|
10551
10551
|
te = y.value.filter((de) => !a.value.includes(de));
|
|
10552
10552
|
if (te.length) {
|
|
@@ -10554,7 +10554,7 @@ function uD() {
|
|
|
10554
10554
|
y.value = de, n.emit("selection-change", de.slice());
|
|
10555
10555
|
}
|
|
10556
10556
|
}, Z = () => (y.value || []).slice(), ae = (te, de = void 0, Te = !0) => {
|
|
10557
|
-
if (
|
|
10557
|
+
if (Jo(y.value, te, de)) {
|
|
10558
10558
|
const be = (y.value || []).slice();
|
|
10559
10559
|
Te && n.emit("select", be, te), n.emit("selection-change", be);
|
|
10560
10560
|
}
|
|
@@ -10566,10 +10566,10 @@ function uD() {
|
|
|
10566
10566
|
const He = (de = (te = n == null ? void 0 : n.store) == null ? void 0 : te.states) == null ? void 0 : de.rowKey.value;
|
|
10567
10567
|
a.value.forEach((ot, Zt) => {
|
|
10568
10568
|
const qe = Zt + be;
|
|
10569
|
-
T.value ? T.value.call(null, ot, qe) &&
|
|
10569
|
+
T.value ? T.value.call(null, ot, qe) && Jo(y.value, ot, Te) && (he = !0) : Jo(y.value, ot, Te) && (he = !0), be += Oe(ct(ot, He));
|
|
10570
10570
|
}), he && n.emit("selection-change", y.value ? y.value.slice() : []), n.emit("select-all", y.value);
|
|
10571
10571
|
}, Ne = () => {
|
|
10572
|
-
const te =
|
|
10572
|
+
const te = lo(y.value, o.value);
|
|
10573
10573
|
a.value.forEach((de) => {
|
|
10574
10574
|
const Te = ct(de, o.value), he = te[Te];
|
|
10575
10575
|
he && (y.value[he.index] = de);
|
|
@@ -10581,20 +10581,20 @@ function uD() {
|
|
|
10581
10581
|
return;
|
|
10582
10582
|
}
|
|
10583
10583
|
let he;
|
|
10584
|
-
o.value && (he =
|
|
10584
|
+
o.value && (he = lo(y.value, o.value));
|
|
10585
10585
|
const be = function(qe) {
|
|
10586
10586
|
return he ? !!he[ct(qe, o.value)] : y.value.includes(qe);
|
|
10587
10587
|
};
|
|
10588
10588
|
let He = !0, ot = 0, Zt = 0;
|
|
10589
|
-
for (let qe = 0,
|
|
10590
|
-
const
|
|
10589
|
+
for (let qe = 0, Zn = (a.value || []).length; qe < Zn; qe++) {
|
|
10590
|
+
const Jn = (Te = (de = n == null ? void 0 : n.store) == null ? void 0 : de.states) == null ? void 0 : Te.rowKey.value, st = qe + Zt, An = a.value[qe], O = T.value && T.value.call(null, An, st);
|
|
10591
10591
|
if (be(An))
|
|
10592
10592
|
ot++;
|
|
10593
10593
|
else if (!T.value || O) {
|
|
10594
10594
|
He = !1;
|
|
10595
10595
|
break;
|
|
10596
10596
|
}
|
|
10597
|
-
Zt += Oe(ct(An,
|
|
10597
|
+
Zt += Oe(ct(An, Jn));
|
|
10598
10598
|
}
|
|
10599
10599
|
ot === 0 && (He = !1), A.value = He;
|
|
10600
10600
|
}, Oe = (te) => {
|
|
@@ -10853,7 +10853,7 @@ function cD() {
|
|
|
10853
10853
|
}
|
|
10854
10854
|
};
|
|
10855
10855
|
}
|
|
10856
|
-
const
|
|
10856
|
+
const ea = {
|
|
10857
10857
|
rowKey: "rowKey",
|
|
10858
10858
|
defaultExpandAll: "defaultExpandAll",
|
|
10859
10859
|
selectOnIndeterminate: "selectOnIndeterminate",
|
|
@@ -10873,20 +10873,20 @@ function dD(e, n) {
|
|
|
10873
10873
|
if (!e)
|
|
10874
10874
|
throw new Error("Table is required.");
|
|
10875
10875
|
const t = cD();
|
|
10876
|
-
return t.toggleAllSelection =
|
|
10876
|
+
return t.toggleAllSelection = _o(t._toggleAllSelection, 10), Object.keys(ea).forEach((o) => {
|
|
10877
10877
|
id(sd(n, o), o, t);
|
|
10878
10878
|
}), pD(t, n), t;
|
|
10879
10879
|
}
|
|
10880
10880
|
function pD(e, n) {
|
|
10881
|
-
Object.keys(
|
|
10881
|
+
Object.keys(ea).forEach((t) => {
|
|
10882
10882
|
ee(() => sd(n, t), (o) => {
|
|
10883
10883
|
id(o, t, e);
|
|
10884
10884
|
});
|
|
10885
10885
|
});
|
|
10886
10886
|
}
|
|
10887
10887
|
function id(e, n, t) {
|
|
10888
|
-
let o = e, a =
|
|
10889
|
-
typeof
|
|
10888
|
+
let o = e, a = ea[n];
|
|
10889
|
+
typeof ea[n] == "object" && (a = a.key, o = o || ea[n].default), t.states[a].value = o;
|
|
10890
10890
|
}
|
|
10891
10891
|
function sd(e, n) {
|
|
10892
10892
|
if (n.includes(".")) {
|
|
@@ -10902,7 +10902,7 @@ class fD {
|
|
|
10902
10902
|
constructor(n) {
|
|
10903
10903
|
this.observers = [], this.table = null, this.store = null, this.columns = [], this.fit = !0, this.showHeader = !0, this.height = w(null), this.scrollX = w(!1), this.scrollY = w(!1), this.bodyWidth = w(null), this.fixedWidth = w(null), this.rightFixedWidth = w(null), this.gutterWidth = 0;
|
|
10904
10904
|
for (const t in n)
|
|
10905
|
-
|
|
10905
|
+
po(n, t) && (Gn(this[t]) ? this[t].value = n[t] : this[t] = n[t]);
|
|
10906
10906
|
if (!this.table)
|
|
10907
10907
|
throw new Error("Table is required for Table Layout");
|
|
10908
10908
|
if (!this.store)
|
|
@@ -11024,13 +11024,13 @@ class fD {
|
|
|
11024
11024
|
});
|
|
11025
11025
|
}
|
|
11026
11026
|
}
|
|
11027
|
-
const { CheckboxGroup: mD } =
|
|
11027
|
+
const { CheckboxGroup: mD } = xo, gD = U({
|
|
11028
11028
|
name: "ElTableFilterPanel",
|
|
11029
11029
|
components: {
|
|
11030
|
-
ElCheckbox:
|
|
11030
|
+
ElCheckbox: xo,
|
|
11031
11031
|
ElCheckboxGroup: mD,
|
|
11032
11032
|
ElScrollbar: Xl,
|
|
11033
|
-
ElTooltip:
|
|
11033
|
+
ElTooltip: Bo,
|
|
11034
11034
|
ElIcon: Je,
|
|
11035
11035
|
ArrowDown: xl,
|
|
11036
11036
|
ArrowUp: vy
|
|
@@ -11226,7 +11226,7 @@ function ud(e) {
|
|
|
11226
11226
|
o(t.value), a(t.value);
|
|
11227
11227
|
}), ru(() => {
|
|
11228
11228
|
o(t.value), a(t.value);
|
|
11229
|
-
}),
|
|
11229
|
+
}), ua(() => {
|
|
11230
11230
|
t.value.removeObserver(n);
|
|
11231
11231
|
});
|
|
11232
11232
|
const t = C(() => {
|
|
@@ -11278,7 +11278,7 @@ function TD(e, n) {
|
|
|
11278
11278
|
const h = o;
|
|
11279
11279
|
n("set-drag-visible", !0);
|
|
11280
11280
|
const A = (h == null ? void 0 : h.vnode.el).getBoundingClientRect().left, y = t.vnode.el.querySelector(`th.${b.id}`), N = y.getBoundingClientRect(), D = N.left - A + 30;
|
|
11281
|
-
|
|
11281
|
+
En(y, "noclick"), u.value = {
|
|
11282
11282
|
startMouseLeft: p.clientX,
|
|
11283
11283
|
startLeft: N.right - A,
|
|
11284
11284
|
startColumnLeft: N.left - A,
|
|
@@ -11310,12 +11310,12 @@ function TD(e, n) {
|
|
|
11310
11310
|
if (b.children && b.children.length > 0)
|
|
11311
11311
|
return;
|
|
11312
11312
|
const h = p.target;
|
|
11313
|
-
if (!
|
|
11313
|
+
if (!Eo(h))
|
|
11314
11314
|
return;
|
|
11315
11315
|
const M = h == null ? void 0 : h.closest("th");
|
|
11316
11316
|
if (!(!b || !b.resizable) && !s.value && e.border) {
|
|
11317
11317
|
const A = M.getBoundingClientRect(), y = document.body.style;
|
|
11318
|
-
A.width > 12 && A.right - p.pageX < 8 ? (y.cursor = "col-resize",
|
|
11318
|
+
A.width > 12 && A.right - p.pageX < 8 ? (y.cursor = "col-resize", so(M, "is-sortable") && (M.style.cursor = "col-resize"), i.value = b) : s.value || (y.cursor = "", so(M, "is-sortable") && (M.style.cursor = "pointer"), i.value = null);
|
|
11319
11319
|
}
|
|
11320
11320
|
}, v = () => {
|
|
11321
11321
|
Pe && (document.body.style.cursor = "");
|
|
@@ -11328,7 +11328,7 @@ function TD(e, n) {
|
|
|
11328
11328
|
var M;
|
|
11329
11329
|
p.stopPropagation();
|
|
11330
11330
|
const A = b.order === h ? null : h || g(b), y = (M = p.target) == null ? void 0 : M.closest("th");
|
|
11331
|
-
if (y &&
|
|
11331
|
+
if (y && so(y, "noclick")) {
|
|
11332
11332
|
pn(y, "noclick");
|
|
11333
11333
|
return;
|
|
11334
11334
|
}
|
|
@@ -11370,7 +11370,7 @@ function AD(e) {
|
|
|
11370
11370
|
column: c
|
|
11371
11371
|
}));
|
|
11372
11372
|
const g = li(s, c.fixed, e.store, u);
|
|
11373
|
-
return
|
|
11373
|
+
return Po(g, "left"), Po(g, "right"), Object.assign({}, v, g);
|
|
11374
11374
|
},
|
|
11375
11375
|
getHeaderCellClass: (i, s, u, c) => {
|
|
11376
11376
|
const d = ri(t.b(), s, c.fixed, e.store, u), v = [
|
|
@@ -11434,7 +11434,7 @@ function ND(e) {
|
|
|
11434
11434
|
var DD = U({
|
|
11435
11435
|
name: "ElTableHeader",
|
|
11436
11436
|
components: {
|
|
11437
|
-
ElCheckbox:
|
|
11437
|
+
ElCheckbox: xo
|
|
11438
11438
|
},
|
|
11439
11439
|
props: {
|
|
11440
11440
|
fixed: {
|
|
@@ -11588,9 +11588,9 @@ function _D(e) {
|
|
|
11588
11588
|
e.store.commit("setCurrentRow", p), r(m, p, "click");
|
|
11589
11589
|
}, s = (m, p) => {
|
|
11590
11590
|
r(m, p, "contextmenu");
|
|
11591
|
-
}, u =
|
|
11591
|
+
}, u = _o((m) => {
|
|
11592
11592
|
e.store.commit("setHoverRow", m);
|
|
11593
|
-
}, 30), c =
|
|
11593
|
+
}, 30), c = _o(() => {
|
|
11594
11594
|
e.store.commit("setHoverRow", null);
|
|
11595
11595
|
}, 30), d = (m) => {
|
|
11596
11596
|
const p = window.getComputedStyle(m, null), b = Number.parseInt(p.paddingLeft, 10) || 0, h = Number.parseInt(p.paddingRight, 10) || 0, M = Number.parseInt(p.paddingTop, 10) || 0, A = Number.parseInt(p.paddingBottom, 10) || 0;
|
|
@@ -11619,7 +11619,7 @@ function _D(e) {
|
|
|
11619
11619
|
if (!b)
|
|
11620
11620
|
return;
|
|
11621
11621
|
const N = m.target.querySelector(".cell");
|
|
11622
|
-
if (!(
|
|
11622
|
+
if (!(so(N, `${y}-tooltip`) && N.childNodes.length))
|
|
11623
11623
|
return;
|
|
11624
11624
|
const D = document.createRange();
|
|
11625
11625
|
D.setStart(N, 0), D.setEnd(N, N.childNodes.length);
|
|
@@ -11667,7 +11667,7 @@ function ID(e) {
|
|
|
11667
11667
|
column: v
|
|
11668
11668
|
}));
|
|
11669
11669
|
const p = li(c, e == null ? void 0 : e.fixed, e.store);
|
|
11670
|
-
return
|
|
11670
|
+
return Po(p, "left"), Po(p, "right"), Object.assign({}, m, p);
|
|
11671
11671
|
},
|
|
11672
11672
|
getCellClass: (u, c, d, v, g) => {
|
|
11673
11673
|
const m = ri(t.b(), c, e == null ? void 0 : e.fixed, e.store, void 0, g), p = [v.id, v.align, v.className, ...m], b = n == null ? void 0 : n.props.cellClassName;
|
|
@@ -11857,9 +11857,9 @@ var SD = U({
|
|
|
11857
11857
|
return ee(e.store.states.hoverRow, (u, c) => {
|
|
11858
11858
|
!e.store.states.isComplex.value || !Pe || xh(() => {
|
|
11859
11859
|
const d = n == null ? void 0 : n.vnode.el, v = Array.from((d == null ? void 0 : d.children) || []).filter((p) => p == null ? void 0 : p.classList.contains(`${o.e("row")}`)), g = v[c], m = v[u];
|
|
11860
|
-
g && pn(g, "hover-row"), m &&
|
|
11860
|
+
g && pn(g, "hover-row"), m && En(m, "hover-row");
|
|
11861
11861
|
});
|
|
11862
|
-
}),
|
|
11862
|
+
}), ua(() => {
|
|
11863
11863
|
var u;
|
|
11864
11864
|
(u = _n) == null || u();
|
|
11865
11865
|
}), {
|
|
@@ -11921,7 +11921,7 @@ function OD(e) {
|
|
|
11921
11921
|
},
|
|
11922
11922
|
getCellStyles: (r, l) => {
|
|
11923
11923
|
const i = li(l, r.fixed, e.store);
|
|
11924
|
-
return
|
|
11924
|
+
return Po(i, "left"), Po(i, "right"), i;
|
|
11925
11925
|
},
|
|
11926
11926
|
columns: n
|
|
11927
11927
|
};
|
|
@@ -12056,9 +12056,9 @@ function xD(e, n, t, o) {
|
|
|
12056
12056
|
display: "inline-block",
|
|
12057
12057
|
verticalAlign: "middle"
|
|
12058
12058
|
}, d = w(), v = w(0), g = w(0), m = w(0), p = w(0), b = w(0);
|
|
12059
|
-
|
|
12059
|
+
Un(() => {
|
|
12060
12060
|
n.setHeight(e.height);
|
|
12061
|
-
}),
|
|
12061
|
+
}), Un(() => {
|
|
12062
12062
|
n.setMaxHeight(e.maxHeight);
|
|
12063
12063
|
}), ee(() => [e.currentRowKey, t.states.rowKey], ([x, $]) => {
|
|
12064
12064
|
!f($) || !f(x) || t.setCurrentRowKey(`${x}`);
|
|
@@ -12069,7 +12069,7 @@ function xD(e, n, t, o) {
|
|
|
12069
12069
|
}, {
|
|
12070
12070
|
immediate: !0,
|
|
12071
12071
|
deep: !0
|
|
12072
|
-
}),
|
|
12072
|
+
}), Un(() => {
|
|
12073
12073
|
e.expandRowKeys && t.setExpandRowKeysAdapter(e.expandRowKeys);
|
|
12074
12074
|
});
|
|
12075
12075
|
const h = () => {
|
|
@@ -12124,9 +12124,9 @@ function xD(e, n, t, o) {
|
|
|
12124
12124
|
const Le = ae - Z - 1;
|
|
12125
12125
|
$ >= Le ? T("is-scrolling-right") : T($ === 0 ? "is-scrolling-left" : "is-scrolling-middle");
|
|
12126
12126
|
}, R = () => {
|
|
12127
|
-
o.refs.scrollBarRef && (o.refs.scrollBarRef.wrapRef &&
|
|
12127
|
+
o.refs.scrollBarRef && (o.refs.scrollBarRef.wrapRef && Sn(o.refs.scrollBarRef.wrapRef, "scroll", P, {
|
|
12128
12128
|
passive: !0
|
|
12129
|
-
}), e.fit ?
|
|
12129
|
+
}), e.fit ? co(o.vnode.el, E) : Sn(window, "resize", E), co(o.refs.bodyWrapper, () => {
|
|
12130
12130
|
var x, $;
|
|
12131
12131
|
E(), ($ = (x = o.refs) == null ? void 0 : x.scrollBarRef) == null || $.update();
|
|
12132
12132
|
}));
|
|
@@ -12150,7 +12150,7 @@ function xD(e, n, t, o) {
|
|
|
12150
12150
|
height: Ue,
|
|
12151
12151
|
headerHeight: e.showHeader && ($e == null ? void 0 : $e.offsetHeight) || 0
|
|
12152
12152
|
}, N());
|
|
12153
|
-
}, L =
|
|
12153
|
+
}, L = go(), F = C(() => {
|
|
12154
12154
|
const { bodyWidth: x, scrollY: $, gutterWidth: Z } = n;
|
|
12155
12155
|
return x.value ? `${x.value - ($.value ? Z : 0)}px` : "";
|
|
12156
12156
|
}), W = C(() => e.maxHeight ? "fixed" : e.tableLayout), X = C(() => {
|
|
@@ -12211,7 +12211,7 @@ function PD(e) {
|
|
|
12211
12211
|
};
|
|
12212
12212
|
je(() => {
|
|
12213
12213
|
t();
|
|
12214
|
-
}),
|
|
12214
|
+
}), ua(() => {
|
|
12215
12215
|
var o;
|
|
12216
12216
|
(o = n.value) == null || o.disconnect();
|
|
12217
12217
|
});
|
|
@@ -12221,7 +12221,7 @@ var jD = {
|
|
|
12221
12221
|
type: Array,
|
|
12222
12222
|
default: () => []
|
|
12223
12223
|
},
|
|
12224
|
-
size:
|
|
12224
|
+
size: $o,
|
|
12225
12225
|
width: [String, Number],
|
|
12226
12226
|
height: [String, Number],
|
|
12227
12227
|
maxHeight: [String, Number],
|
|
@@ -12382,7 +12382,7 @@ const HD = U({
|
|
|
12382
12382
|
scrollbarViewStyle: X,
|
|
12383
12383
|
tableInnerStyle: le,
|
|
12384
12384
|
scrollbarStyle: K
|
|
12385
|
-
} = xD(e, r, a, o), { scrollBarRef: re, scrollTo: x, setScrollLeft: $, setScrollTop: Z } = kD(), ae =
|
|
12385
|
+
} = xD(e, r, a, o), { scrollBarRef: re, scrollTo: x, setScrollLeft: $, setScrollTop: Z } = kD(), ae = _o(L, 50), Ce = `${t.namespace.value}-table_${$D++}`;
|
|
12386
12386
|
o.tableId = Ce, o.state = {
|
|
12387
12387
|
isGroup: A,
|
|
12388
12388
|
resizeState: E,
|
|
@@ -12632,7 +12632,7 @@ const WD = {
|
|
|
12632
12632
|
function t() {
|
|
12633
12633
|
return e.states.data.value && e.states.data.value.length === 0;
|
|
12634
12634
|
}
|
|
12635
|
-
return J(
|
|
12635
|
+
return J(xo, {
|
|
12636
12636
|
disabled: t(),
|
|
12637
12637
|
size: e.states.tableSize.value,
|
|
12638
12638
|
indeterminate: e.states.selection.value.length > 0 && !e.states.isAllSelected.value,
|
|
@@ -12647,7 +12647,7 @@ const WD = {
|
|
|
12647
12647
|
store: t,
|
|
12648
12648
|
$index: o
|
|
12649
12649
|
}) {
|
|
12650
|
-
return J(
|
|
12650
|
+
return J(xo, {
|
|
12651
12651
|
disabled: n.selectable ? !n.selectable.call(null, e, o) : !1,
|
|
12652
12652
|
size: t.states.tableSize.value,
|
|
12653
12653
|
onChange: () => {
|
|
@@ -12764,7 +12764,7 @@ function qD(e, n) {
|
|
|
12764
12764
|
}, i = Ws(r, l);
|
|
12765
12765
|
Object.keys(i).forEach((s) => {
|
|
12766
12766
|
const u = l[s];
|
|
12767
|
-
|
|
12767
|
+
po(n, u) && ee(() => n[u], (c) => {
|
|
12768
12768
|
let d = c;
|
|
12769
12769
|
u === "width" && s === "realWidth" && (d = ai(c)), u === "minWidth" && s === "realMinWidth" && (d = ad(c)), t.columnConfig.value[u] = d, t.columnConfig.value[s] = d;
|
|
12770
12770
|
const v = u === "fixed";
|
|
@@ -12791,7 +12791,7 @@ function qD(e, n) {
|
|
|
12791
12791
|
}, i = Ws(r, l);
|
|
12792
12792
|
Object.keys(i).forEach((s) => {
|
|
12793
12793
|
const u = l[s];
|
|
12794
|
-
|
|
12794
|
+
po(n, u) && ee(() => n[u], (c) => {
|
|
12795
12795
|
t.columnConfig.value[s] = c;
|
|
12796
12796
|
});
|
|
12797
12797
|
});
|
|
@@ -12800,9 +12800,9 @@ function qD(e, n) {
|
|
|
12800
12800
|
}
|
|
12801
12801
|
function ZD(e, n, t) {
|
|
12802
12802
|
const o = Ee(), a = w(""), r = w(!1), l = w(), i = w(), s = ie("table");
|
|
12803
|
-
|
|
12803
|
+
Un(() => {
|
|
12804
12804
|
l.value = e.align ? `is-${e.align}` : null, l.value;
|
|
12805
|
-
}),
|
|
12805
|
+
}), Un(() => {
|
|
12806
12806
|
i.value = e.headerAlign ? `is-${e.headerAlign}` : l.value, i.value;
|
|
12807
12807
|
});
|
|
12808
12808
|
const u = C(() => {
|
|
@@ -12936,7 +12936,7 @@ let e1 = 1;
|
|
|
12936
12936
|
var dd = U({
|
|
12937
12937
|
name: "ElTableColumn",
|
|
12938
12938
|
components: {
|
|
12939
|
-
ElCheckbox:
|
|
12939
|
+
ElCheckbox: xo
|
|
12940
12940
|
},
|
|
12941
12941
|
props: JD,
|
|
12942
12942
|
setup(e, { slots: n }) {
|
|
@@ -12960,7 +12960,7 @@ var dd = U({
|
|
|
12960
12960
|
} = ZD(e, n, a), M = c.value;
|
|
12961
12961
|
i.value = `${M.tableId || M.columnId}_column_${e1++}`, bl(() => {
|
|
12962
12962
|
s.value = a.value !== M;
|
|
12963
|
-
const A = e.type || "default", y = e.sortable === "" ? !0 : e.sortable, N =
|
|
12963
|
+
const A = e.type || "default", y = e.sortable === "" ? !0 : e.sortable, N = wo(e.showOverflowTooltip) ? M.props.showOverflowTooltip : e.showOverflowTooltip, D = {
|
|
12964
12964
|
...UD[A],
|
|
12965
12965
|
id: i.value,
|
|
12966
12966
|
type: A,
|
|
@@ -13026,7 +13026,7 @@ var dd = U({
|
|
|
13026
13026
|
});
|
|
13027
13027
|
const t1 = mt(VD, {
|
|
13028
13028
|
TableColumn: dd
|
|
13029
|
-
}), n1 =
|
|
13029
|
+
}), n1 = jn(dd);
|
|
13030
13030
|
function o1(e) {
|
|
13031
13031
|
let n;
|
|
13032
13032
|
const t = w(!1), o = Mn({
|
|
@@ -13081,7 +13081,7 @@ function o1(e) {
|
|
|
13081
13081
|
fill: "none"
|
|
13082
13082
|
})
|
|
13083
13083
|
]), M = o.text ? J("p", { class: m.b("text") }, [o.text]) : void 0;
|
|
13084
|
-
return J(
|
|
13084
|
+
return J(On, {
|
|
13085
13085
|
name: m.b("fade"),
|
|
13086
13086
|
onAfterLeave: s
|
|
13087
13087
|
}, {
|
|
@@ -13106,7 +13106,7 @@ function o1(e) {
|
|
|
13106
13106
|
}
|
|
13107
13107
|
}), c = Id(u), d = c.mount(document.createElement("div"));
|
|
13108
13108
|
return {
|
|
13109
|
-
...
|
|
13109
|
+
...jo(o),
|
|
13110
13110
|
setText: a,
|
|
13111
13111
|
removeElLoadingChild: l,
|
|
13112
13112
|
close: i,
|
|
@@ -13117,23 +13117,23 @@ function o1(e) {
|
|
|
13117
13117
|
}
|
|
13118
13118
|
};
|
|
13119
13119
|
}
|
|
13120
|
-
let
|
|
13120
|
+
let La;
|
|
13121
13121
|
const a1 = function(e = {}) {
|
|
13122
13122
|
if (!Pe)
|
|
13123
13123
|
return;
|
|
13124
13124
|
const n = r1(e);
|
|
13125
|
-
if (n.fullscreen &&
|
|
13126
|
-
return
|
|
13125
|
+
if (n.fullscreen && La)
|
|
13126
|
+
return La;
|
|
13127
13127
|
const t = o1({
|
|
13128
13128
|
...n,
|
|
13129
13129
|
closed: () => {
|
|
13130
13130
|
var a;
|
|
13131
|
-
(a = n.closed) == null || a.call(n), n.fullscreen && (
|
|
13131
|
+
(a = n.closed) == null || a.call(n), n.fullscreen && (La = void 0);
|
|
13132
13132
|
}
|
|
13133
13133
|
});
|
|
13134
13134
|
l1(n, n.parent, t), Us(n, n.parent, t), n.parent.vLoadingAddClassList = () => Us(n, n.parent, t);
|
|
13135
13135
|
let o = n.parent.getAttribute("loading-number");
|
|
13136
|
-
return o ? o = `${Number.parseInt(o) + 1}` : o = "1", n.parent.setAttribute("loading-number", o), n.parent.appendChild(t.$el), Ie(() => t.visible.value = n.visible), n.fullscreen && (
|
|
13136
|
+
return o ? o = `${Number.parseInt(o) + 1}` : o = "1", n.parent.setAttribute("loading-number", o), n.parent.appendChild(t.$el), Ie(() => t.visible.value = n.visible), n.fullscreen && (La = t), t;
|
|
13137
13137
|
}, r1 = (e) => {
|
|
13138
13138
|
var n, t, o, a;
|
|
13139
13139
|
let r;
|
|
@@ -13153,22 +13153,22 @@ const a1 = function(e = {}) {
|
|
|
13153
13153
|
}, l1 = async (e, n, t) => {
|
|
13154
13154
|
const { nextZIndex: o } = t.vm.zIndex || t.vm._.exposed.zIndex, a = {};
|
|
13155
13155
|
if (e.fullscreen)
|
|
13156
|
-
t.originalPosition.value =
|
|
13156
|
+
t.originalPosition.value = Ao(document.body, "position"), t.originalOverflow.value = Ao(document.body, "overflow"), a.zIndex = o();
|
|
13157
13157
|
else if (e.parent === document.body) {
|
|
13158
|
-
t.originalPosition.value =
|
|
13158
|
+
t.originalPosition.value = Ao(document.body, "position"), await Ie();
|
|
13159
13159
|
for (const r of ["top", "left"]) {
|
|
13160
13160
|
const l = r === "top" ? "scrollTop" : "scrollLeft";
|
|
13161
|
-
a[r] = `${e.target.getBoundingClientRect()[r] + document.body[l] + document.documentElement[l] - Number.parseInt(
|
|
13161
|
+
a[r] = `${e.target.getBoundingClientRect()[r] + document.body[l] + document.documentElement[l] - Number.parseInt(Ao(document.body, `margin-${r}`), 10)}px`;
|
|
13162
13162
|
}
|
|
13163
13163
|
for (const r of ["height", "width"])
|
|
13164
13164
|
a[r] = `${e.target.getBoundingClientRect()[r]}px`;
|
|
13165
13165
|
} else
|
|
13166
|
-
t.originalPosition.value =
|
|
13166
|
+
t.originalPosition.value = Ao(n, "position");
|
|
13167
13167
|
for (const [r, l] of Object.entries(a))
|
|
13168
13168
|
t.$el.style[r] = l;
|
|
13169
13169
|
}, Us = (e, n, t) => {
|
|
13170
13170
|
const o = t.vm.ns || t.vm._.exposed.ns;
|
|
13171
|
-
["absolute", "fixed", "sticky"].includes(t.originalPosition.value) ? pn(n, o.bm("parent", "relative")) :
|
|
13171
|
+
["absolute", "fixed", "sticky"].includes(t.originalPosition.value) ? pn(n, o.bm("parent", "relative")) : En(n, o.bm("parent", "relative")), e.fullscreen && e.lock ? En(n, o.bm("parent", "hidden")) : pn(n, o.bm("parent", "hidden"));
|
|
13172
13172
|
}, yl = Symbol("ElLoading"), Gs = (e, n) => {
|
|
13173
13173
|
var t, o, a, r;
|
|
13174
13174
|
const l = n.instance, i = (v) => Ft(n.value) ? n.value[v] : void 0, s = (v) => {
|
|
@@ -13192,7 +13192,7 @@ const a1 = function(e = {}) {
|
|
|
13192
13192
|
};
|
|
13193
13193
|
}, i1 = (e, n) => {
|
|
13194
13194
|
for (const t of Object.keys(n))
|
|
13195
|
-
|
|
13195
|
+
Gn(n[t]) && (n[t].value = e[t]);
|
|
13196
13196
|
}, s1 = {
|
|
13197
13197
|
mounted(e, n) {
|
|
13198
13198
|
n.value && Gs(e, n);
|
|
@@ -13206,7 +13206,7 @@ const a1 = function(e = {}) {
|
|
|
13206
13206
|
(n = e[yl]) == null || n.instance.close();
|
|
13207
13207
|
}
|
|
13208
13208
|
};
|
|
13209
|
-
const
|
|
13209
|
+
const va = (e, n) => {
|
|
13210
13210
|
const t = e.__vccOpts || e;
|
|
13211
13211
|
for (const [o, a] of n)
|
|
13212
13212
|
t[o] = a;
|
|
@@ -13271,7 +13271,7 @@ const ga = (e, n) => {
|
|
|
13271
13271
|
}, null, 8, ["description"]));
|
|
13272
13272
|
};
|
|
13273
13273
|
}
|
|
13274
|
-
}, c1 = /* @__PURE__ */
|
|
13274
|
+
}, c1 = /* @__PURE__ */ va(u1, [["__scopeId", "data-v-578f611c"]]), d1 = {
|
|
13275
13275
|
install(e) {
|
|
13276
13276
|
e.component("st-chartLayout", c1);
|
|
13277
13277
|
}
|
|
@@ -13499,7 +13499,7 @@ const v1 = { class: "st-kline-tips" }, y1 = { class: "st-kline-tips-row" }, h1 =
|
|
|
13499
13499
|
]));
|
|
13500
13500
|
}
|
|
13501
13501
|
});
|
|
13502
|
-
const Ks = /* @__PURE__ */
|
|
13502
|
+
const Ks = /* @__PURE__ */ va(h1, [["__scopeId", "data-v-78aed210"]]), b1 = /* @__PURE__ */ U({
|
|
13503
13503
|
__name: "index",
|
|
13504
13504
|
emits: ["closeContextMenuCallBack"],
|
|
13505
13505
|
setup(e, { emit: n }) {
|
|
@@ -13552,7 +13552,7 @@ const Ks = /* @__PURE__ */ ga(h1, [["__scopeId", "data-v-78aed210"]]), b1 = /* @
|
|
|
13552
13552
|
], 544));
|
|
13553
13553
|
}
|
|
13554
13554
|
});
|
|
13555
|
-
const M1 = /* @__PURE__ */
|
|
13555
|
+
const M1 = /* @__PURE__ */ va(b1, [["__scopeId", "data-v-249fd104"]]);
|
|
13556
13556
|
var ui = function() {
|
|
13557
13557
|
var e = typeof document < "u" && document.currentScript ? document.currentScript.src : void 0;
|
|
13558
13558
|
return typeof __filename < "u" && (e = e || __filename), function(n) {
|
|
@@ -13643,8 +13643,8 @@ var ui = function() {
|
|
|
13643
13643
|
0,
|
|
13644
13644
|
0
|
|
13645
13645
|
])
|
|
13646
|
-
), Fe = new WebAssembly.Module(Re), gn = new WebAssembly.Instance(Fe, { e: { f: S } }),
|
|
13647
|
-
return
|
|
13646
|
+
), Fe = new WebAssembly.Module(Re), gn = new WebAssembly.Instance(Fe, { e: { f: S } }), eo = gn.exports.f;
|
|
13647
|
+
return eo;
|
|
13648
13648
|
}
|
|
13649
13649
|
var D = [], T;
|
|
13650
13650
|
function _(S, z) {
|
|
@@ -13703,12 +13703,12 @@ var ui = function() {
|
|
|
13703
13703
|
var Nn = 0;
|
|
13704
13704
|
if (Rt != null && Rt !== 0) {
|
|
13705
13705
|
var xt = (Rt.length << 2) + 1;
|
|
13706
|
-
Nn =
|
|
13706
|
+
Nn = ba(xt), Ce(Rt, Nn, xt);
|
|
13707
13707
|
}
|
|
13708
13708
|
return Nn;
|
|
13709
13709
|
},
|
|
13710
13710
|
array: function(Rt) {
|
|
13711
|
-
var Nn =
|
|
13711
|
+
var Nn = ba(Rt.length);
|
|
13712
13712
|
return Ne(Rt, Nn), Nn;
|
|
13713
13713
|
}
|
|
13714
13714
|
};
|
|
@@ -13721,13 +13721,13 @@ var ui = function() {
|
|
|
13721
13721
|
var gn = me[H[Fe]];
|
|
13722
13722
|
gn ? (Re === 0 && (Re = Tr()), Ve[Fe] = gn(ue[Fe])) : Ve[Fe] = ue[Fe];
|
|
13723
13723
|
}
|
|
13724
|
-
var
|
|
13725
|
-
return
|
|
13724
|
+
var eo = ge.apply(null, Ve);
|
|
13725
|
+
return eo = ce(eo), Re !== 0 && Ar(Re), eo;
|
|
13726
13726
|
}
|
|
13727
13727
|
var K = 1;
|
|
13728
13728
|
function re(S, z) {
|
|
13729
13729
|
var H;
|
|
13730
|
-
return z == K ? H =
|
|
13730
|
+
return z == K ? H = ba(S.length) : H = Mr(S.length), S.subarray || S.slice ? _e.set(S, H) : _e.set(new Uint8Array(S), H), H;
|
|
13731
13731
|
}
|
|
13732
13732
|
var x = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0;
|
|
13733
13733
|
function $(S, z, H) {
|
|
@@ -13927,18 +13927,18 @@ var ui = function() {
|
|
|
13927
13927
|
typeof H == "number" ? z.arg === void 0 ? nt.get(H)() : nt.get(H)(z.arg) : H(z.arg === void 0 ? null : z.arg);
|
|
13928
13928
|
}
|
|
13929
13929
|
}
|
|
13930
|
-
function
|
|
13930
|
+
function Zn(S, z, H) {
|
|
13931
13931
|
return H && H.length ? t["dynCall_" + S].apply(null, [z].concat(H)) : t["dynCall_" + S].call(null, z);
|
|
13932
13932
|
}
|
|
13933
|
-
function
|
|
13934
|
-
return S.indexOf("j") != -1 ?
|
|
13933
|
+
function Jn(S, z, H) {
|
|
13934
|
+
return S.indexOf("j") != -1 ? Zn(S, z, H) : nt.get(z).apply(null, H);
|
|
13935
13935
|
}
|
|
13936
13936
|
var st = { nextHandle: 1, loadedLibs: {}, loadedLibNames: {} };
|
|
13937
13937
|
function An(S) {
|
|
13938
13938
|
return function() {
|
|
13939
13939
|
var z = Tr();
|
|
13940
13940
|
try {
|
|
13941
|
-
return
|
|
13941
|
+
return Jn(
|
|
13942
13942
|
S,
|
|
13943
13943
|
arguments[0],
|
|
13944
13944
|
Array.prototype.slice.call(arguments, 1)
|
|
@@ -13981,9 +13981,9 @@ var ui = function() {
|
|
|
13981
13981
|
W(H[0] == 1836278016, "need to see wasm magic number"), W(S[8] === 0, "need the dylink section to be first");
|
|
13982
13982
|
var ue = 9;
|
|
13983
13983
|
function De() {
|
|
13984
|
-
for (var xt = 0,
|
|
13985
|
-
var
|
|
13986
|
-
if (xt += (
|
|
13984
|
+
for (var xt = 0, bo = 1; ; ) {
|
|
13985
|
+
var kn = S[ue++];
|
|
13986
|
+
if (xt += (kn & 127) * bo, bo *= 128, !(kn & 128))
|
|
13987
13987
|
break;
|
|
13988
13988
|
}
|
|
13989
13989
|
return xt;
|
|
@@ -13992,9 +13992,9 @@ var ui = function() {
|
|
|
13992
13992
|
var me = De(), ce = De(), ge = De();
|
|
13993
13993
|
De();
|
|
13994
13994
|
for (var Ve = De(), Re = [], Fe = 0; Fe < Ve; ++Fe) {
|
|
13995
|
-
var gn = De(),
|
|
13995
|
+
var gn = De(), eo = S.subarray(ue, ue + gn);
|
|
13996
13996
|
ue += gn;
|
|
13997
|
-
var Rt = $(
|
|
13997
|
+
var Rt = $(eo, 0);
|
|
13998
13998
|
Re.push(Rt);
|
|
13999
13999
|
}
|
|
14000
14000
|
function Nn() {
|
|
@@ -14002,23 +14002,23 @@ var ui = function() {
|
|
|
14002
14002
|
var xt = y(
|
|
14003
14003
|
O(me + ce),
|
|
14004
14004
|
ce
|
|
14005
|
-
),
|
|
14006
|
-
|
|
14007
|
-
for (var
|
|
14008
|
-
ke[
|
|
14009
|
-
for (var
|
|
14010
|
-
|
|
14011
|
-
var _r = {}, Ir = function(ht, Pt,
|
|
14012
|
-
|
|
14005
|
+
), bo = br, kn = nt, Dr = kn.length, gd = kn;
|
|
14006
|
+
kn.grow(ge), W(kn === gd);
|
|
14007
|
+
for (var to = xt; to < xt + me; to++)
|
|
14008
|
+
ke[to] = 0;
|
|
14009
|
+
for (var to = Dr; to < Dr + ge; to++)
|
|
14010
|
+
kn.set(to, null);
|
|
14011
|
+
var _r = {}, Ir = function(ht, Pt, $n) {
|
|
14012
|
+
$n && (ht = "orig$" + ht);
|
|
14013
14013
|
var _t = t.asm[ht];
|
|
14014
14014
|
if (!_t) {
|
|
14015
|
-
var
|
|
14016
|
-
_t = t[
|
|
14015
|
+
var Yo = Q(ht);
|
|
14016
|
+
_t = t[Yo], _t || (_t = _r[Yo]), !_t && ht.startsWith("invoke_") && (_t = An(ht.split("_")[1]));
|
|
14017
14017
|
}
|
|
14018
14018
|
return _t;
|
|
14019
14019
|
};
|
|
14020
14020
|
for (var wr in t)
|
|
14021
|
-
wr in
|
|
14021
|
+
wr in bo || (bo[wr] = t[wr]);
|
|
14022
14022
|
var vd = {
|
|
14023
14023
|
get: function(ht, Pt) {
|
|
14024
14024
|
switch (Pt) {
|
|
@@ -14030,19 +14030,19 @@ var ui = function() {
|
|
|
14030
14030
|
if (Pt in ht)
|
|
14031
14031
|
return ht[Pt];
|
|
14032
14032
|
if (Pt.startsWith("g$")) {
|
|
14033
|
-
var
|
|
14033
|
+
var $n = Pt.substr(2);
|
|
14034
14034
|
return ht[Pt] = function() {
|
|
14035
|
-
return Ir(
|
|
14035
|
+
return Ir($n);
|
|
14036
14036
|
};
|
|
14037
14037
|
}
|
|
14038
14038
|
if (Pt.startsWith("fp$")) {
|
|
14039
14039
|
var _t = Pt.split("$");
|
|
14040
14040
|
W(_t.length == 3);
|
|
14041
|
-
var
|
|
14041
|
+
var $n = _t[1], Yo = _t[2], hd = Yo.indexOf("j") >= 0, Er = 0;
|
|
14042
14042
|
return ht[Pt] = function() {
|
|
14043
14043
|
if (!Er) {
|
|
14044
|
-
var bd = Ir(
|
|
14045
|
-
Er = P(bd,
|
|
14044
|
+
var bd = Ir($n, "function", hd);
|
|
14045
|
+
Er = P(bd, Yo);
|
|
14046
14046
|
}
|
|
14047
14047
|
return Er;
|
|
14048
14048
|
};
|
|
@@ -14051,19 +14051,19 @@ var ui = function() {
|
|
|
14051
14051
|
return Ir(Pt).apply(null, arguments);
|
|
14052
14052
|
};
|
|
14053
14053
|
}
|
|
14054
|
-
}, fi = new Proxy(
|
|
14054
|
+
}, fi = new Proxy(bo, vd), mi = {
|
|
14055
14055
|
global: { NaN: NaN, Infinity: 1 / 0 },
|
|
14056
14056
|
"global.Math": Math,
|
|
14057
14057
|
env: fi,
|
|
14058
14058
|
wasi_snapshot_preview1: fi
|
|
14059
14059
|
};
|
|
14060
14060
|
function gi(ht, Pt) {
|
|
14061
|
-
var
|
|
14061
|
+
var $n = B(
|
|
14062
14062
|
ht.exports,
|
|
14063
14063
|
xt,
|
|
14064
14064
|
Pt
|
|
14065
|
-
), _t =
|
|
14066
|
-
return _t && (vt ? _t() : gt.push(_t)),
|
|
14065
|
+
), _t = $n.__post_instantiate;
|
|
14066
|
+
return _t && (vt ? _t() : gt.push(_t)), $n;
|
|
14067
14067
|
}
|
|
14068
14068
|
if (z.loadAsync)
|
|
14069
14069
|
return WebAssembly.instantiate(S, mi).then(function(ht) {
|
|
@@ -14707,8 +14707,8 @@ var ui = function() {
|
|
|
14707
14707
|
return (Tr = t.stackSave = t.asm.stackSave).apply(null, arguments);
|
|
14708
14708
|
}, Ar = t.stackRestore = function() {
|
|
14709
14709
|
return (Ar = t.stackRestore = t.asm.stackRestore).apply(null, arguments);
|
|
14710
|
-
},
|
|
14711
|
-
return (
|
|
14710
|
+
}, ba = t.stackAlloc = function() {
|
|
14711
|
+
return (ba = t.stackAlloc = t.asm.stackAlloc).apply(null, arguments);
|
|
14712
14712
|
}, di = t.___assign_got_enties = function() {
|
|
14713
14713
|
return (di = t.___assign_got_enties = t.asm.__assign_got_enties).apply(null, arguments);
|
|
14714
14714
|
};
|
|
@@ -14720,12 +14720,12 @@ var ui = function() {
|
|
|
14720
14720
|
};
|
|
14721
14721
|
})(pd);
|
|
14722
14722
|
t.ccall = le, t.allocate = re;
|
|
14723
|
-
var
|
|
14723
|
+
var Ma;
|
|
14724
14724
|
function Cr(S) {
|
|
14725
14725
|
this.name = "ExitStatus", this.message = "Program terminated with exit(" + S + ")", this.status = S;
|
|
14726
14726
|
}
|
|
14727
14727
|
V = function S() {
|
|
14728
|
-
|
|
14728
|
+
Ma || Nr(), Ma || (V = S);
|
|
14729
14729
|
};
|
|
14730
14730
|
function fd(S) {
|
|
14731
14731
|
var z = t._main;
|
|
@@ -14752,7 +14752,7 @@ var ui = function() {
|
|
|
14752
14752
|
if (Qe > 0 || (Dt(), Qe > 0))
|
|
14753
14753
|
return;
|
|
14754
14754
|
function z() {
|
|
14755
|
-
|
|
14755
|
+
Ma || (Ma = !0, t.calledRun = !0, !F && (rn(), it(), o(t), t.onRuntimeInitialized && t.onRuntimeInitialized(), pi && fd(), zt()));
|
|
14756
14756
|
}
|
|
14757
14757
|
t.setStatus ? (t.setStatus("Running..."), setTimeout(function() {
|
|
14758
14758
|
setTimeout(function() {
|
|
@@ -14771,9 +14771,9 @@ var ui = function() {
|
|
|
14771
14771
|
return t.noInitialRun && (pi = !1), E = !0, Nr(), n.ready;
|
|
14772
14772
|
};
|
|
14773
14773
|
}();
|
|
14774
|
-
const va = { ACCBANDS: { name: "ACCBANDS", camelCaseName: "accBands", group: "Overlap Studies", description: "Acceleration Bands", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 20, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "upperBand", type: "Double[]", plotHint: "limit_upper" }, { name: "middleBand", type: "Double[]", plotHint: "line" }, { name: "lowerBand", type: "Double[]", plotHint: "limit_lower" }] }, ACOS: { name: "ACOS", camelCaseName: "acos", group: "Math Transform", description: "Vector Trigonometric ACos", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, AD: { name: "AD", camelCaseName: "ad", group: "Volume Indicators", description: "Chaikin A/D Line", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }, { name: "volume", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ADD: { name: "ADD", camelCaseName: "add", group: "Math Operators", description: "Vector Arithmetic Add", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ADOSC: { name: "ADOSC", camelCaseName: "adOsc", group: "Volume Indicators", description: "Chaikin A/D Oscillator", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }, { name: "volume", type: "Double[]" }], options: [{ name: "fastPeriod", displayName: "Fast Period", defaultValue: 3, hint: "Number of period for the fast MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "slowPeriod", displayName: "Slow Period", defaultValue: 10, hint: "Number of period for the slow MA", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ADX: { name: "ADX", camelCaseName: "adx", group: "Momentum Indicators", description: "Average Directional Movement Index", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ADXR: { name: "ADXR", camelCaseName: "adxr", group: "Momentum Indicators", description: "Average Directional Movement Index Rating", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, APO: { name: "APO", camelCaseName: "apo", group: "Momentum Indicators", description: "Absolute Price Oscillator", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "fastPeriod", displayName: "Fast Period", defaultValue: 12, hint: "Number of period for the fast MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "slowPeriod", displayName: "Slow Period", defaultValue: 26, hint: "Number of period for the slow MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "MAType", displayName: "MA Type", defaultValue: 0, hint: "Type of Moving Average", type: "MAType" }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, AROON: { name: "AROON", camelCaseName: "aroon", group: "Momentum Indicators", description: "Aroon", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "aroonDown", type: "Double[]", plotHint: "line_dash" }, { name: "aroonUp", type: "Double[]", plotHint: "line" }] }, AROONOSC: { name: "AROONOSC", camelCaseName: "aroonOsc", group: "Momentum Indicators", description: "Aroon Oscillator", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ASIN: { name: "ASIN", camelCaseName: "asin", group: "Math Transform", description: "Vector Trigonometric ASin", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ATAN: { name: "ATAN", camelCaseName: "atan", group: "Math Transform", description: "Vector Trigonometric ATan", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ATR: { name: "ATR", camelCaseName: "atr", group: "Volatility Indicators", description: "Average True Range", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, AVGDEV: { name: "AVGDEV", camelCaseName: "avgDev", group: "Price Transform", description: "Average Deviation", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, AVGPRICE: { name: "AVGPRICE", camelCaseName: "avgPrice", group: "Price Transform", description: "Average Price", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, BBANDS: { name: "BBANDS", camelCaseName: "bbands", group: "Overlap Studies", description: "Bollinger Bands", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 5, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "nbDevUp", displayName: "Deviations up", defaultValue: 2, hint: "Deviation multiplier for upper band", type: "Double", range: { min: -3e37, max: 3e37 } }, { name: "nbDevDn", displayName: "Deviations down", defaultValue: 2, hint: "Deviation multiplier for lower band", type: "Double", range: { min: -3e37, max: 3e37 } }, { name: "MAType", displayName: "MA Type", defaultValue: 0, hint: "Type of Moving Average", type: "MAType" }], outputs: [{ name: "upperBand", type: "Double[]", plotHint: "limit_upper" }, { name: "middleBand", type: "Double[]", plotHint: "line" }, { name: "lowerBand", type: "Double[]", plotHint: "limit_lower" }] }, BETA: { name: "BETA", camelCaseName: "beta", group: "Statistic Functions", description: "Beta", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 5, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, BOP: { name: "BOP", camelCaseName: "bop", group: "Momentum Indicators", description: "Balance Of Power", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, CCI: { name: "CCI", camelCaseName: "cci", group: "Momentum Indicators", description: "Commodity Channel Index", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, CDL2CROWS: { name: "CDL2CROWS", camelCaseName: "cdl2Crows", group: "Pattern Recognition", description: "Two Crows", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3BLACKCROWS: { name: "CDL3BLACKCROWS", camelCaseName: "cdl3BlackCrows", group: "Pattern Recognition", description: "Three Black Crows", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3INSIDE: { name: "CDL3INSIDE", camelCaseName: "cdl3Inside", group: "Pattern Recognition", description: "Three Inside Up/Down", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3LINESTRIKE: { name: "CDL3LINESTRIKE", camelCaseName: "cdl3LineStrike", group: "Pattern Recognition", description: "Three-Line Strike ", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3OUTSIDE: { name: "CDL3OUTSIDE", camelCaseName: "cdl3Outside", group: "Pattern Recognition", description: "Three Outside Up/Down", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3STARSINSOUTH: { name: "CDL3STARSINSOUTH", camelCaseName: "cdl3StarsInSouth", group: "Pattern Recognition", description: "Three Stars In The South", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3WHITESOLDIERS: { name: "CDL3WHITESOLDIERS", camelCaseName: "cdl3WhiteSoldiers", group: "Pattern Recognition", description: "Three Advancing White Soldiers", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLABANDONEDBABY: { name: "CDLABANDONEDBABY", camelCaseName: "cdlAbandonedBaby", group: "Pattern Recognition", description: "Abandoned Baby", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.3, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLADVANCEBLOCK: { name: "CDLADVANCEBLOCK", camelCaseName: "cdlAdvanceBlock", group: "Pattern Recognition", description: "Advance Block", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLBELTHOLD: { name: "CDLBELTHOLD", camelCaseName: "cdlBeltHold", group: "Pattern Recognition", description: "Belt-hold", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLBREAKAWAY: { name: "CDLBREAKAWAY", camelCaseName: "cdlBreakaway", group: "Pattern Recognition", description: "Breakaway", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLCLOSINGMARUBOZU: { name: "CDLCLOSINGMARUBOZU", camelCaseName: "cdlClosingMarubozu", group: "Pattern Recognition", description: "Closing Marubozu", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLCONCEALBABYSWALL: { name: "CDLCONCEALBABYSWALL", camelCaseName: "cdlConcealBabysWall", group: "Pattern Recognition", description: "Concealing Baby Swallow", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLCOUNTERATTACK: { name: "CDLCOUNTERATTACK", camelCaseName: "cdlCounterAttack", group: "Pattern Recognition", description: "Counterattack", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLDARKCLOUDCOVER: { name: "CDLDARKCLOUDCOVER", camelCaseName: "cdlDarkCloudCover", group: "Pattern Recognition", description: "Dark Cloud Cover", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.5, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLDOJI: { name: "CDLDOJI", camelCaseName: "cdlDoji", group: "Pattern Recognition", description: "Doji", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLDOJISTAR: { name: "CDLDOJISTAR", camelCaseName: "cdlDojiStar", group: "Pattern Recognition", description: "Doji Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLDRAGONFLYDOJI: { name: "CDLDRAGONFLYDOJI", camelCaseName: "cdlDragonflyDoji", group: "Pattern Recognition", description: "Dragonfly Doji", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLENGULFING: { name: "CDLENGULFING", camelCaseName: "cdlEngulfing", group: "Pattern Recognition", description: "Engulfing Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLEVENINGDOJISTAR: { name: "CDLEVENINGDOJISTAR", camelCaseName: "cdlEveningDojiStar", group: "Pattern Recognition", description: "Evening Doji Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.3, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLEVENINGSTAR: { name: "CDLEVENINGSTAR", camelCaseName: "cdlEveningStar", group: "Pattern Recognition", description: "Evening Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.3, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLGAPSIDESIDEWHITE: { name: "CDLGAPSIDESIDEWHITE", camelCaseName: "cdlGapSideSideWhite", group: "Pattern Recognition", description: "Up/Down-gap side-by-side white lines", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLGRAVESTONEDOJI: { name: "CDLGRAVESTONEDOJI", camelCaseName: "cdlGravestoneDoji", group: "Pattern Recognition", description: "Gravestone Doji", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHAMMER: { name: "CDLHAMMER", camelCaseName: "cdlHammer", group: "Pattern Recognition", description: "Hammer", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHANGINGMAN: { name: "CDLHANGINGMAN", camelCaseName: "cdlHangingMan", group: "Pattern Recognition", description: "Hanging Man", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHARAMI: { name: "CDLHARAMI", camelCaseName: "cdlHarami", group: "Pattern Recognition", description: "Harami Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHARAMICROSS: { name: "CDLHARAMICROSS", camelCaseName: "cdlHaramiCross", group: "Pattern Recognition", description: "Harami Cross Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHIGHWAVE: { name: "CDLHIGHWAVE", camelCaseName: "cdlHignWave", group: "Pattern Recognition", description: "High-Wave Candle", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHIKKAKE: { name: "CDLHIKKAKE", camelCaseName: "cdlHikkake", group: "Pattern Recognition", description: "Hikkake Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHIKKAKEMOD: { name: "CDLHIKKAKEMOD", camelCaseName: "cdlHikkakeMod", group: "Pattern Recognition", description: "Modified Hikkake Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHOMINGPIGEON: { name: "CDLHOMINGPIGEON", camelCaseName: "cdlHomingPigeon", group: "Pattern Recognition", description: "Homing Pigeon", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLIDENTICAL3CROWS: { name: "CDLIDENTICAL3CROWS", camelCaseName: "cdlIdentical3Crows", group: "Pattern Recognition", description: "Identical Three Crows", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLINNECK: { name: "CDLINNECK", camelCaseName: "cdlInNeck", group: "Pattern Recognition", description: "In-Neck Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLINVERTEDHAMMER: { name: "CDLINVERTEDHAMMER", camelCaseName: "cdlInvertedHammer", group: "Pattern Recognition", description: "Inverted Hammer", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLKICKING: { name: "CDLKICKING", camelCaseName: "cdlKicking", group: "Pattern Recognition", description: "Kicking", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLKICKINGBYLENGTH: { name: "CDLKICKINGBYLENGTH", camelCaseName: "cdlKickingByLength", group: "Pattern Recognition", description: "Kicking - bull/bear determined by the longer marubozu", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLLADDERBOTTOM: { name: "CDLLADDERBOTTOM", camelCaseName: "cdlLadderBottom", group: "Pattern Recognition", description: "Ladder Bottom", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLLONGLEGGEDDOJI: { name: "CDLLONGLEGGEDDOJI", camelCaseName: "cdlLongLeggedDoji", group: "Pattern Recognition", description: "Long Legged Doji", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLLONGLINE: { name: "CDLLONGLINE", camelCaseName: "cdlLongLine", group: "Pattern Recognition", description: "Long Line Candle", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLMARUBOZU: { name: "CDLMARUBOZU", camelCaseName: "cdlMarubozu", group: "Pattern Recognition", description: "Marubozu", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLMATCHINGLOW: { name: "CDLMATCHINGLOW", camelCaseName: "cdlMatchingLow", group: "Pattern Recognition", description: "Matching Low", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLMATHOLD: { name: "CDLMATHOLD", camelCaseName: "cdlMatHold", group: "Pattern Recognition", description: "Mat Hold", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.5, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLMORNINGDOJISTAR: { name: "CDLMORNINGDOJISTAR", camelCaseName: "cdlMorningDojiStar", group: "Pattern Recognition", description: "Morning Doji Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.3, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLMORNINGSTAR: { name: "CDLMORNINGSTAR", camelCaseName: "cdlMorningStar", group: "Pattern Recognition", description: "Morning Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.3, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLONNECK: { name: "CDLONNECK", camelCaseName: "cdlOnNeck", group: "Pattern Recognition", description: "On-Neck Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLPIERCING: { name: "CDLPIERCING", camelCaseName: "cdlPiercing", group: "Pattern Recognition", description: "Piercing Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLRICKSHAWMAN: { name: "CDLRICKSHAWMAN", camelCaseName: "cdlRickshawMan", group: "Pattern Recognition", description: "Rickshaw Man", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLRISEFALL3METHODS: { name: "CDLRISEFALL3METHODS", camelCaseName: "cdlRiseFall3Methods", group: "Pattern Recognition", description: "Rising/Falling Three Methods", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSEPARATINGLINES: { name: "CDLSEPARATINGLINES", camelCaseName: "cdlSeperatingLines", group: "Pattern Recognition", description: "Separating Lines", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSHOOTINGSTAR: { name: "CDLSHOOTINGSTAR", camelCaseName: "cdlShootingStar", group: "Pattern Recognition", description: "Shooting Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSHORTLINE: { name: "CDLSHORTLINE", camelCaseName: "cdlShortLine", group: "Pattern Recognition", description: "Short Line Candle", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSPINNINGTOP: { name: "CDLSPINNINGTOP", camelCaseName: "cdlSpinningTop", group: "Pattern Recognition", description: "Spinning Top", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSTALLEDPATTERN: { name: "CDLSTALLEDPATTERN", camelCaseName: "cdlStalledPattern", group: "Pattern Recognition", description: "Stalled Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSTICKSANDWICH: { name: "CDLSTICKSANDWICH", camelCaseName: "cdlStickSandwhich", group: "Pattern Recognition", description: "Stick Sandwich", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLTAKURI: { name: "CDLTAKURI", camelCaseName: "cdlTakuri", group: "Pattern Recognition", description: "Takuri (Dragonfly Doji with very long lower shadow)", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLTASUKIGAP: { name: "CDLTASUKIGAP", camelCaseName: "cdlTasukiGap", group: "Pattern Recognition", description: "Tasuki Gap", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLTHRUSTING: { name: "CDLTHRUSTING", camelCaseName: "cdlThrusting", group: "Pattern Recognition", description: "Thrusting Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLTRISTAR: { name: "CDLTRISTAR", camelCaseName: "cdlTristar", group: "Pattern Recognition", description: "Tristar Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLUNIQUE3RIVER: { name: "CDLUNIQUE3RIVER", camelCaseName: "cdlUnique3River", group: "Pattern Recognition", description: "Unique 3 River", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLUPSIDEGAP2CROWS: { name: "CDLUPSIDEGAP2CROWS", camelCaseName: "cdlUpsideGap2Crows", group: "Pattern Recognition", description: "Upside Gap Two Crows", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLXSIDEGAP3METHODS: { name: "CDLXSIDEGAP3METHODS", camelCaseName: "cdlXSideGap3Methods", group: "Pattern Recognition", description: "Upside/Downside Gap Three Methods", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CEIL: { name: "CEIL", camelCaseName: "ceil", group: "Math Transform", description: "Vector Ceil", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, CMO: { name: "CMO", camelCaseName: "cmo", group: "Momentum Indicators", description: "Chande Momentum Oscillator", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, CORREL: { name: "CORREL", camelCaseName: "correl", group: "Statistic Functions", description: "Pearson's Correlation Coefficient (r)", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, COS: { name: "COS", camelCaseName: "cos", group: "Math Transform", description: "Vector Trigonometric Cos", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, COSH: { name: "COSH", camelCaseName: "cosh", group: "Math Transform", description: "Vector Trigonometric Cosh", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, DEMA: { name: "DEMA", camelCaseName: "dema", group: "Overlap Studies", description: "Double Exponential Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, DIV: { name: "DIV", camelCaseName: "div", group: "Math Operators", description: "Vector Arithmetic Div", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, DX: { name: "DX", camelCaseName: "dx", group: "Momentum Indicators", description: "Directional Movement Index", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, EMA: { name: "EMA", camelCaseName: "ema", group: "Overlap Studies", description: "Exponential Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, EXP: { name: "EXP", camelCaseName: "exp", group: "Math Transform", description: "Vector Arithmetic Exp", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, FLOOR: { name: "FLOOR", camelCaseName: "floor", group: "Math Transform", description: "Vector Floor", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, HT_DCPERIOD: { name: "HT_DCPERIOD", camelCaseName: "htDcPeriod", group: "Cycle Indicators", description: "Hilbert Transform - Dominant Cycle Period", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, HT_DCPHASE: { name: "HT_DCPHASE", camelCaseName: "htDcPhase", group: "Cycle Indicators", description: "Hilbert Transform - Dominant Cycle Phase", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, HT_PHASOR: { name: "HT_PHASOR", camelCaseName: "htPhasor", group: "Cycle Indicators", description: "Hilbert Transform - Phasor Components", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "inPhase", type: "Double[]", plotHint: "line" }, { name: "quadrature", type: "Double[]", plotHint: "line_dash" }] }, HT_SINE: { name: "HT_SINE", camelCaseName: "htSine", group: "Cycle Indicators", description: "Hilbert Transform - SineWave", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "sine", type: "Double[]", plotHint: "line" }, { name: "leadSine", type: "Double[]", plotHint: "line_dash" }] }, HT_TRENDLINE: { name: "HT_TRENDLINE", camelCaseName: "htTrendline", group: "Overlap Studies", description: "Hilbert Transform - Instantaneous Trendline", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, HT_TRENDMODE: { name: "HT_TRENDMODE", camelCaseName: "htTrendMode", group: "Cycle Indicators", description: "Hilbert Transform - Trend vs Cycle Mode", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, IMI: { name: "IMI", camelCaseName: "imi", group: "Momentum Indicators", description: "Intraday Momentum Index", inputs: [{ name: "open", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, KAMA: { name: "KAMA", camelCaseName: "kama", group: "Overlap Studies", description: "Kaufman Adaptive Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LINEARREG: { name: "LINEARREG", camelCaseName: "linearReg", group: "Statistic Functions", description: "Linear Regression", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LINEARREG_ANGLE: { name: "LINEARREG_ANGLE", camelCaseName: "linearRegAngle", group: "Statistic Functions", description: "Linear Regression Angle", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LINEARREG_INTERCEPT: { name: "LINEARREG_INTERCEPT", camelCaseName: "linearRegIntercept", group: "Statistic Functions", description: "Linear Regression Intercept", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LINEARREG_SLOPE: { name: "LINEARREG_SLOPE", camelCaseName: "linearRegSlope", group: "Statistic Functions", description: "Linear Regression Slope", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LN: { name: "LN", camelCaseName: "ln", group: "Math Transform", description: "Vector Log Natural", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LOG10: { name: "LOG10", camelCaseName: "log10", group: "Math Transform", description: "Vector Log10", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MA: { name: "MA", camelCaseName: "movingAverage", group: "Overlap Studies", description: "Moving average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "MAType", displayName: "MA Type", defaultValue: 0, hint: "Type of Moving Average", type: "MAType" }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MACD: { name: "MACD", camelCaseName: "macd", group: "Momentum Indicators", description: "Moving Average Convergence/Divergence", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "fastPeriod", displayName: "Fast Period", defaultValue: 12, hint: "Number of period for the fast MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "slowPeriod", displayName: "Slow Period", defaultValue: 26, hint: "Number of period for the slow MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "signalPeriod", displayName: "Signal Period", defaultValue: 9, hint: "Smoothing for the signal line (nb of period)", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "MACD", type: "Double[]", plotHint: "line" }, { name: "MACDSignal", type: "Double[]", plotHint: "line_dash" }, { name: "MACDHist", type: "Double[]", plotHint: "histogram" }] }, MACDEXT: { name: "MACDEXT", camelCaseName: "macdExt", group: "Momentum Indicators", description: "MACD with controllable MA type", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "fastPeriod", displayName: "Fast Period", defaultValue: 12, hint: "Number of period for the fast MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "fastMAType", displayName: "Fast MA", defaultValue: 0, hint: "Type of Moving Average for fast MA", type: "MAType" }, { name: "slowPeriod", displayName: "Slow Period", defaultValue: 26, hint: "Number of period for the slow MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "slowMAType", displayName: "Slow MA", defaultValue: 0, hint: "Type of Moving Average for slow MA", type: "MAType" }, { name: "signalPeriod", displayName: "Signal Period", defaultValue: 9, hint: "Smoothing for the signal line (nb of period)", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "signalMAType", displayName: "Signal MA", defaultValue: 0, hint: "Type of Moving Average for signal line", type: "MAType" }], outputs: [{ name: "MACD", type: "Double[]", plotHint: "line" }, { name: "MACDSignal", type: "Double[]", plotHint: "line_dash" }, { name: "MACDHist", type: "Double[]", plotHint: "histogram" }] }, MACDFIX: { name: "MACDFIX", camelCaseName: "macdFix", group: "Momentum Indicators", description: "Moving Average Convergence/Divergence Fix 12/26", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "signalPeriod", displayName: "Signal Period", defaultValue: 9, hint: "Smoothing for the signal line (nb of period)", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "MACD", type: "Double[]", plotHint: "line" }, { name: "MACDSignal", type: "Double[]", plotHint: "line_dash" }, { name: "MACDHist", type: "Double[]", plotHint: "histogram" }] }, MAMA: { name: "MAMA", camelCaseName: "mama", group: "Overlap Studies", description: "MESA Adaptive Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "fastLimit", displayName: "Fast Limit", defaultValue: 0.5, hint: "Upper limit use in the adaptive algorithm", type: "Double", range: { min: 0.01, max: 0.99 } }, { name: "slowLimit", displayName: "Slow Limit", defaultValue: 0.05, hint: "Lower limit use in the adaptive algorithm", type: "Double", range: { min: 0.01, max: 0.99 } }], outputs: [{ name: "MAMA", type: "Double[]", plotHint: "line" }, { name: "FAMA", type: "Double[]", plotHint: "line_dash" }] }, MAVP: { name: "MAVP", camelCaseName: "movingAverageVariablePeriod", group: "Overlap Studies", description: "Moving average with variable period", inputs: [{ name: "inReal", type: "Double[]" }, { name: "inPeriods", type: "Double[]" }], options: [{ name: "minPeriod", displayName: "Minimum Period", defaultValue: 2, hint: "Value less than minimum will be changed to Minimum period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "maxPeriod", displayName: "Maximum Period", defaultValue: 30, hint: "Value higher than maximum will be changed to Maximum period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "MAType", displayName: "MA Type", defaultValue: 0, hint: "Type of Moving Average", type: "MAType" }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MAX: { name: "MAX", camelCaseName: "max", group: "Math Operators", description: "Highest value over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MAXINDEX: { name: "MAXINDEX", camelCaseName: "maxIndex", group: "Math Operators", description: "Index of highest value over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, MEDPRICE: { name: "MEDPRICE", camelCaseName: "medPrice", group: "Price Transform", description: "Median Price", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MFI: { name: "MFI", camelCaseName: "mfi", group: "Momentum Indicators", description: "Money Flow Index", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }, { name: "volume", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MIDPOINT: { name: "MIDPOINT", camelCaseName: "midPoint", group: "Overlap Studies", description: "MidPoint over period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MIDPRICE: { name: "MIDPRICE", camelCaseName: "midPrice", group: "Overlap Studies", description: "Midpoint Price over period", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MIN: { name: "MIN", camelCaseName: "min", group: "Math Operators", description: "Lowest value over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MININDEX: { name: "MININDEX", camelCaseName: "minIndex", group: "Math Operators", description: "Index of lowest value over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, MINMAX: { name: "MINMAX", camelCaseName: "minMax", group: "Math Operators", description: "Lowest and highest values over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "min", type: "Double[]", plotHint: "line" }, { name: "max", type: "Double[]", plotHint: "line" }] }, MINMAXINDEX: { name: "MINMAXINDEX", camelCaseName: "minMaxIndex", group: "Math Operators", description: "Indexes of lowest and highest values over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "minIdx", type: "Integer[]", plotHint: "line" }, { name: "maxIdx", type: "Integer[]", plotHint: "line" }] }, MINUS_DI: { name: "MINUS_DI", camelCaseName: "minusDI", group: "Momentum Indicators", description: "Minus Directional Indicator", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MINUS_DM: { name: "MINUS_DM", camelCaseName: "minusDM", group: "Momentum Indicators", description: "Minus Directional Movement", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MOM: { name: "MOM", camelCaseName: "mom", group: "Momentum Indicators", description: "Momentum", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 10, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MULT: { name: "MULT", camelCaseName: "mult", group: "Math Operators", description: "Vector Arithmetic Mult", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, NATR: { name: "NATR", camelCaseName: "natr", group: "Volatility Indicators", description: "Normalized Average True Range", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, OBV: { name: "OBV", camelCaseName: "obv", group: "Volume Indicators", description: "On Balance Volume", inputs: [{ name: "inReal", type: "Double[]" }, { name: "volume", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, PLUS_DI: { name: "PLUS_DI", camelCaseName: "plusDI", group: "Momentum Indicators", description: "Plus Directional Indicator", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, PLUS_DM: { name: "PLUS_DM", camelCaseName: "plusDM", group: "Momentum Indicators", description: "Plus Directional Movement", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, PPO: { name: "PPO", camelCaseName: "ppo", group: "Momentum Indicators", description: "Percentage Price Oscillator", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "fastPeriod", displayName: "Fast Period", defaultValue: 12, hint: "Number of period for the fast MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "slowPeriod", displayName: "Slow Period", defaultValue: 26, hint: "Number of period for the slow MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "MAType", displayName: "MA Type", defaultValue: 0, hint: "Type of Moving Average", type: "MAType" }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ROC: { name: "ROC", camelCaseName: "roc", group: "Momentum Indicators", description: "Rate of change : ((price/prevPrice)-1)*100", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 10, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ROCP: { name: "ROCP", camelCaseName: "rocP", group: "Momentum Indicators", description: "Rate of change Percentage: (price-prevPrice)/prevPrice", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 10, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ROCR: { name: "ROCR", camelCaseName: "rocR", group: "Momentum Indicators", description: "Rate of change ratio: (price/prevPrice)", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 10, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ROCR100: { name: "ROCR100", camelCaseName: "rocR100", group: "Momentum Indicators", description: "Rate of change ratio 100 scale: (price/prevPrice)*100", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 10, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, RSI: { name: "RSI", camelCaseName: "rsi", group: "Momentum Indicators", description: "Relative Strength Index", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SAR: { name: "SAR", camelCaseName: "sar", group: "Overlap Studies", description: "Parabolic SAR", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "acceleration", displayName: "Acceleration Factor", defaultValue: 0.02, hint: "Acceleration Factor used up to the Maximum value", type: "Double", range: { min: 0, max: 3e37 } }, { name: "maximum", displayName: "AF Maximum", defaultValue: 0.2, hint: "Acceleration Factor Maximum value", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SAREXT: { name: "SAREXT", camelCaseName: "sarExt", group: "Overlap Studies", description: "Parabolic SAR - Extended", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "startValue", displayName: "Start Value", defaultValue: 0, hint: "Start value and direction. 0 for Auto, >0 for Long, <0 for Short", type: "Double", range: { min: -3e37, max: 3e37 } }, { name: "offsetOnReverse", displayName: "Offset on Reverse", defaultValue: 0, hint: "Percent offset added/removed to initial stop on short/long reversal", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationInitLong", displayName: "AF Init Long", defaultValue: 0.02, hint: "Acceleration Factor initial value for the Long direction", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationLong", displayName: "AF Long", defaultValue: 0.02, hint: "Acceleration Factor for the Long direction", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationMaxLong", displayName: "AF Max Long", defaultValue: 0.2, hint: "Acceleration Factor maximum value for the Long direction", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationInitShort", displayName: "AF Init Short", defaultValue: 0.02, hint: "Acceleration Factor initial value for the Short direction", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationShort", displayName: "AF Short", defaultValue: 0.02, hint: "Acceleration Factor for the Short direction", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationMaxShort", displayName: "AF Max Short", defaultValue: 0.2, hint: "Acceleration Factor maximum value for the Short direction", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SIN: { name: "SIN", camelCaseName: "sin", group: "Math Transform", description: "Vector Trigonometric Sin", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SINH: { name: "SINH", camelCaseName: "sinh", group: "Math Transform", description: "Vector Trigonometric Sinh", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SMA: { name: "SMA", camelCaseName: "sma", group: "Overlap Studies", description: "Simple Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SQRT: { name: "SQRT", camelCaseName: "sqrt", group: "Math Transform", description: "Vector Square Root", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, STDDEV: { name: "STDDEV", camelCaseName: "stdDev", group: "Statistic Functions", description: "Standard Deviation", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 5, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "nbDev", displayName: "Deviations", defaultValue: 1, hint: "Nb of deviations", type: "Double", range: { min: -3e37, max: 3e37 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, STOCH: { name: "STOCH", camelCaseName: "stoch", group: "Momentum Indicators", description: "Stochastic", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "fastK_Period", displayName: "Fast-K Period", defaultValue: 5, hint: "Time period for building the Fast-K line", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "slowK_Period", displayName: "Slow-K Period", defaultValue: 3, hint: "Smoothing for making the Slow-K line. Usually set to 3", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "slowK_MAType", displayName: "Slow-K MA", defaultValue: 0, hint: "Type of Moving Average for Slow-K", type: "MAType" }, { name: "slowD_Period", displayName: "Slow-D Period", defaultValue: 3, hint: "Smoothing for making the Slow-D line", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "slowD_MAType", displayName: "Slow-D MA", defaultValue: 0, hint: "Type of Moving Average for Slow-D", type: "MAType" }], outputs: [{ name: "slowK", type: "Double[]", plotHint: "line_dash" }, { name: "slowD", type: "Double[]", plotHint: "line_dash" }] }, STOCHF: { name: "STOCHF", camelCaseName: "stochF", group: "Momentum Indicators", description: "Stochastic Fast", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "fastK_Period", displayName: "Fast-K Period", defaultValue: 5, hint: "Time period for building the Fast-K line", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "fastD_Period", displayName: "Fast-D Period", defaultValue: 3, hint: "Smoothing for making the Fast-D line. Usually set to 3", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "fastD_MAType", displayName: "Fast-D MA", defaultValue: 0, hint: "Type of Moving Average for Fast-D", type: "MAType" }], outputs: [{ name: "fastK", type: "Double[]", plotHint: "line" }, { name: "fastD", type: "Double[]", plotHint: "line" }] }, STOCHRSI: { name: "STOCHRSI", camelCaseName: "stochRsi", group: "Momentum Indicators", description: "Stochastic Relative Strength Index", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "fastK_Period", displayName: "Fast-K Period", defaultValue: 5, hint: "Time period for building the Fast-K line", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "fastD_Period", displayName: "Fast-D Period", defaultValue: 3, hint: "Smoothing for making the Fast-D line. Usually set to 3", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "fastD_MAType", displayName: "Fast-D MA", defaultValue: 0, hint: "Type of Moving Average for Fast-D", type: "MAType" }], outputs: [{ name: "fastK", type: "Double[]", plotHint: "line" }, { name: "fastD", type: "Double[]", plotHint: "line" }] }, SUB: { name: "SUB", camelCaseName: "sub", group: "Math Operators", description: "Vector Arithmetic Substraction", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SUM: { name: "SUM", camelCaseName: "sum", group: "Math Operators", description: "Summation", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, T3: { name: "T3", camelCaseName: "t3", group: "Overlap Studies", description: "Triple Exponential Moving Average (T3)", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 5, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "VFactor", displayName: "Volume Factor", defaultValue: 0.7, hint: "Volume Factor", type: "Double", range: { min: 0, max: 1 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TAN: { name: "TAN", camelCaseName: "tan", group: "Math Transform", description: "Vector Trigonometric Tan", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TANH: { name: "TANH", camelCaseName: "tanh", group: "Math Transform", description: "Vector Trigonometric Tanh", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TEMA: { name: "TEMA", camelCaseName: "tema", group: "Overlap Studies", description: "Triple Exponential Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TRANGE: { name: "TRANGE", camelCaseName: "trueRange", group: "Volatility Indicators", description: "True Range", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TRIMA: { name: "TRIMA", camelCaseName: "trima", group: "Overlap Studies", description: "Triangular Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TRIX: { name: "TRIX", camelCaseName: "trix", group: "Momentum Indicators", description: "1-day Rate-Of-Change (ROC) of a Triple Smooth EMA", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TSF: { name: "TSF", camelCaseName: "tsf", group: "Statistic Functions", description: "Time Series Forecast", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TYPPRICE: { name: "TYPPRICE", camelCaseName: "typPrice", group: "Price Transform", description: "Typical Price", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ULTOSC: { name: "ULTOSC", camelCaseName: "ultOsc", group: "Momentum Indicators", description: "Ultimate Oscillator", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod1", displayName: "First Period", defaultValue: 7, hint: "Number of bars for 1st period.", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "timePeriod2", displayName: "Second Period", defaultValue: 14, hint: "Number of bars fro 2nd period", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "timePeriod3", displayName: "Third Period", defaultValue: 28, hint: "Number of bars for 3rd period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, VAR: { name: "VAR", camelCaseName: "variance", group: "Statistic Functions", description: "Variance", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 5, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "nbDev", displayName: "Deviations", defaultValue: 1, hint: "Nb of deviations", type: "Double", range: { min: -3e37, max: 3e37 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, WCLPRICE: { name: "WCLPRICE", camelCaseName: "wclPrice", group: "Price Transform", description: "Weighted Close Price", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, WILLR: { name: "WILLR", camelCaseName: "willR", group: "Momentum Indicators", description: "Williams' %R", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, WMA: { name: "WMA", camelCaseName: "wma", group: "Overlap Studies", description: "Weighted Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] } };
|
|
14774
|
+
const ya = { ACCBANDS: { name: "ACCBANDS", camelCaseName: "accBands", group: "Overlap Studies", description: "Acceleration Bands", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 20, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "upperBand", type: "Double[]", plotHint: "limit_upper" }, { name: "middleBand", type: "Double[]", plotHint: "line" }, { name: "lowerBand", type: "Double[]", plotHint: "limit_lower" }] }, ACOS: { name: "ACOS", camelCaseName: "acos", group: "Math Transform", description: "Vector Trigonometric ACos", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, AD: { name: "AD", camelCaseName: "ad", group: "Volume Indicators", description: "Chaikin A/D Line", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }, { name: "volume", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ADD: { name: "ADD", camelCaseName: "add", group: "Math Operators", description: "Vector Arithmetic Add", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ADOSC: { name: "ADOSC", camelCaseName: "adOsc", group: "Volume Indicators", description: "Chaikin A/D Oscillator", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }, { name: "volume", type: "Double[]" }], options: [{ name: "fastPeriod", displayName: "Fast Period", defaultValue: 3, hint: "Number of period for the fast MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "slowPeriod", displayName: "Slow Period", defaultValue: 10, hint: "Number of period for the slow MA", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ADX: { name: "ADX", camelCaseName: "adx", group: "Momentum Indicators", description: "Average Directional Movement Index", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ADXR: { name: "ADXR", camelCaseName: "adxr", group: "Momentum Indicators", description: "Average Directional Movement Index Rating", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, APO: { name: "APO", camelCaseName: "apo", group: "Momentum Indicators", description: "Absolute Price Oscillator", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "fastPeriod", displayName: "Fast Period", defaultValue: 12, hint: "Number of period for the fast MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "slowPeriod", displayName: "Slow Period", defaultValue: 26, hint: "Number of period for the slow MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "MAType", displayName: "MA Type", defaultValue: 0, hint: "Type of Moving Average", type: "MAType" }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, AROON: { name: "AROON", camelCaseName: "aroon", group: "Momentum Indicators", description: "Aroon", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "aroonDown", type: "Double[]", plotHint: "line_dash" }, { name: "aroonUp", type: "Double[]", plotHint: "line" }] }, AROONOSC: { name: "AROONOSC", camelCaseName: "aroonOsc", group: "Momentum Indicators", description: "Aroon Oscillator", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ASIN: { name: "ASIN", camelCaseName: "asin", group: "Math Transform", description: "Vector Trigonometric ASin", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ATAN: { name: "ATAN", camelCaseName: "atan", group: "Math Transform", description: "Vector Trigonometric ATan", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ATR: { name: "ATR", camelCaseName: "atr", group: "Volatility Indicators", description: "Average True Range", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, AVGDEV: { name: "AVGDEV", camelCaseName: "avgDev", group: "Price Transform", description: "Average Deviation", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, AVGPRICE: { name: "AVGPRICE", camelCaseName: "avgPrice", group: "Price Transform", description: "Average Price", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, BBANDS: { name: "BBANDS", camelCaseName: "bbands", group: "Overlap Studies", description: "Bollinger Bands", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 5, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "nbDevUp", displayName: "Deviations up", defaultValue: 2, hint: "Deviation multiplier for upper band", type: "Double", range: { min: -3e37, max: 3e37 } }, { name: "nbDevDn", displayName: "Deviations down", defaultValue: 2, hint: "Deviation multiplier for lower band", type: "Double", range: { min: -3e37, max: 3e37 } }, { name: "MAType", displayName: "MA Type", defaultValue: 0, hint: "Type of Moving Average", type: "MAType" }], outputs: [{ name: "upperBand", type: "Double[]", plotHint: "limit_upper" }, { name: "middleBand", type: "Double[]", plotHint: "line" }, { name: "lowerBand", type: "Double[]", plotHint: "limit_lower" }] }, BETA: { name: "BETA", camelCaseName: "beta", group: "Statistic Functions", description: "Beta", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 5, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, BOP: { name: "BOP", camelCaseName: "bop", group: "Momentum Indicators", description: "Balance Of Power", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, CCI: { name: "CCI", camelCaseName: "cci", group: "Momentum Indicators", description: "Commodity Channel Index", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, CDL2CROWS: { name: "CDL2CROWS", camelCaseName: "cdl2Crows", group: "Pattern Recognition", description: "Two Crows", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3BLACKCROWS: { name: "CDL3BLACKCROWS", camelCaseName: "cdl3BlackCrows", group: "Pattern Recognition", description: "Three Black Crows", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3INSIDE: { name: "CDL3INSIDE", camelCaseName: "cdl3Inside", group: "Pattern Recognition", description: "Three Inside Up/Down", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3LINESTRIKE: { name: "CDL3LINESTRIKE", camelCaseName: "cdl3LineStrike", group: "Pattern Recognition", description: "Three-Line Strike ", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3OUTSIDE: { name: "CDL3OUTSIDE", camelCaseName: "cdl3Outside", group: "Pattern Recognition", description: "Three Outside Up/Down", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3STARSINSOUTH: { name: "CDL3STARSINSOUTH", camelCaseName: "cdl3StarsInSouth", group: "Pattern Recognition", description: "Three Stars In The South", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDL3WHITESOLDIERS: { name: "CDL3WHITESOLDIERS", camelCaseName: "cdl3WhiteSoldiers", group: "Pattern Recognition", description: "Three Advancing White Soldiers", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLABANDONEDBABY: { name: "CDLABANDONEDBABY", camelCaseName: "cdlAbandonedBaby", group: "Pattern Recognition", description: "Abandoned Baby", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.3, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLADVANCEBLOCK: { name: "CDLADVANCEBLOCK", camelCaseName: "cdlAdvanceBlock", group: "Pattern Recognition", description: "Advance Block", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLBELTHOLD: { name: "CDLBELTHOLD", camelCaseName: "cdlBeltHold", group: "Pattern Recognition", description: "Belt-hold", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLBREAKAWAY: { name: "CDLBREAKAWAY", camelCaseName: "cdlBreakaway", group: "Pattern Recognition", description: "Breakaway", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLCLOSINGMARUBOZU: { name: "CDLCLOSINGMARUBOZU", camelCaseName: "cdlClosingMarubozu", group: "Pattern Recognition", description: "Closing Marubozu", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLCONCEALBABYSWALL: { name: "CDLCONCEALBABYSWALL", camelCaseName: "cdlConcealBabysWall", group: "Pattern Recognition", description: "Concealing Baby Swallow", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLCOUNTERATTACK: { name: "CDLCOUNTERATTACK", camelCaseName: "cdlCounterAttack", group: "Pattern Recognition", description: "Counterattack", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLDARKCLOUDCOVER: { name: "CDLDARKCLOUDCOVER", camelCaseName: "cdlDarkCloudCover", group: "Pattern Recognition", description: "Dark Cloud Cover", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.5, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLDOJI: { name: "CDLDOJI", camelCaseName: "cdlDoji", group: "Pattern Recognition", description: "Doji", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLDOJISTAR: { name: "CDLDOJISTAR", camelCaseName: "cdlDojiStar", group: "Pattern Recognition", description: "Doji Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLDRAGONFLYDOJI: { name: "CDLDRAGONFLYDOJI", camelCaseName: "cdlDragonflyDoji", group: "Pattern Recognition", description: "Dragonfly Doji", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLENGULFING: { name: "CDLENGULFING", camelCaseName: "cdlEngulfing", group: "Pattern Recognition", description: "Engulfing Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLEVENINGDOJISTAR: { name: "CDLEVENINGDOJISTAR", camelCaseName: "cdlEveningDojiStar", group: "Pattern Recognition", description: "Evening Doji Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.3, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLEVENINGSTAR: { name: "CDLEVENINGSTAR", camelCaseName: "cdlEveningStar", group: "Pattern Recognition", description: "Evening Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.3, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLGAPSIDESIDEWHITE: { name: "CDLGAPSIDESIDEWHITE", camelCaseName: "cdlGapSideSideWhite", group: "Pattern Recognition", description: "Up/Down-gap side-by-side white lines", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLGRAVESTONEDOJI: { name: "CDLGRAVESTONEDOJI", camelCaseName: "cdlGravestoneDoji", group: "Pattern Recognition", description: "Gravestone Doji", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHAMMER: { name: "CDLHAMMER", camelCaseName: "cdlHammer", group: "Pattern Recognition", description: "Hammer", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHANGINGMAN: { name: "CDLHANGINGMAN", camelCaseName: "cdlHangingMan", group: "Pattern Recognition", description: "Hanging Man", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHARAMI: { name: "CDLHARAMI", camelCaseName: "cdlHarami", group: "Pattern Recognition", description: "Harami Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHARAMICROSS: { name: "CDLHARAMICROSS", camelCaseName: "cdlHaramiCross", group: "Pattern Recognition", description: "Harami Cross Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHIGHWAVE: { name: "CDLHIGHWAVE", camelCaseName: "cdlHignWave", group: "Pattern Recognition", description: "High-Wave Candle", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHIKKAKE: { name: "CDLHIKKAKE", camelCaseName: "cdlHikkake", group: "Pattern Recognition", description: "Hikkake Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHIKKAKEMOD: { name: "CDLHIKKAKEMOD", camelCaseName: "cdlHikkakeMod", group: "Pattern Recognition", description: "Modified Hikkake Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLHOMINGPIGEON: { name: "CDLHOMINGPIGEON", camelCaseName: "cdlHomingPigeon", group: "Pattern Recognition", description: "Homing Pigeon", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLIDENTICAL3CROWS: { name: "CDLIDENTICAL3CROWS", camelCaseName: "cdlIdentical3Crows", group: "Pattern Recognition", description: "Identical Three Crows", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLINNECK: { name: "CDLINNECK", camelCaseName: "cdlInNeck", group: "Pattern Recognition", description: "In-Neck Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLINVERTEDHAMMER: { name: "CDLINVERTEDHAMMER", camelCaseName: "cdlInvertedHammer", group: "Pattern Recognition", description: "Inverted Hammer", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLKICKING: { name: "CDLKICKING", camelCaseName: "cdlKicking", group: "Pattern Recognition", description: "Kicking", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLKICKINGBYLENGTH: { name: "CDLKICKINGBYLENGTH", camelCaseName: "cdlKickingByLength", group: "Pattern Recognition", description: "Kicking - bull/bear determined by the longer marubozu", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLLADDERBOTTOM: { name: "CDLLADDERBOTTOM", camelCaseName: "cdlLadderBottom", group: "Pattern Recognition", description: "Ladder Bottom", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLLONGLEGGEDDOJI: { name: "CDLLONGLEGGEDDOJI", camelCaseName: "cdlLongLeggedDoji", group: "Pattern Recognition", description: "Long Legged Doji", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLLONGLINE: { name: "CDLLONGLINE", camelCaseName: "cdlLongLine", group: "Pattern Recognition", description: "Long Line Candle", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLMARUBOZU: { name: "CDLMARUBOZU", camelCaseName: "cdlMarubozu", group: "Pattern Recognition", description: "Marubozu", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLMATCHINGLOW: { name: "CDLMATCHINGLOW", camelCaseName: "cdlMatchingLow", group: "Pattern Recognition", description: "Matching Low", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLMATHOLD: { name: "CDLMATHOLD", camelCaseName: "cdlMatHold", group: "Pattern Recognition", description: "Mat Hold", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.5, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLMORNINGDOJISTAR: { name: "CDLMORNINGDOJISTAR", camelCaseName: "cdlMorningDojiStar", group: "Pattern Recognition", description: "Morning Doji Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.3, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLMORNINGSTAR: { name: "CDLMORNINGSTAR", camelCaseName: "cdlMorningStar", group: "Pattern Recognition", description: "Morning Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "penetration", displayName: "Penetration", defaultValue: 0.3, hint: "Percentage of penetration of a candle within another candle", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLONNECK: { name: "CDLONNECK", camelCaseName: "cdlOnNeck", group: "Pattern Recognition", description: "On-Neck Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLPIERCING: { name: "CDLPIERCING", camelCaseName: "cdlPiercing", group: "Pattern Recognition", description: "Piercing Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLRICKSHAWMAN: { name: "CDLRICKSHAWMAN", camelCaseName: "cdlRickshawMan", group: "Pattern Recognition", description: "Rickshaw Man", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLRISEFALL3METHODS: { name: "CDLRISEFALL3METHODS", camelCaseName: "cdlRiseFall3Methods", group: "Pattern Recognition", description: "Rising/Falling Three Methods", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSEPARATINGLINES: { name: "CDLSEPARATINGLINES", camelCaseName: "cdlSeperatingLines", group: "Pattern Recognition", description: "Separating Lines", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSHOOTINGSTAR: { name: "CDLSHOOTINGSTAR", camelCaseName: "cdlShootingStar", group: "Pattern Recognition", description: "Shooting Star", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSHORTLINE: { name: "CDLSHORTLINE", camelCaseName: "cdlShortLine", group: "Pattern Recognition", description: "Short Line Candle", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSPINNINGTOP: { name: "CDLSPINNINGTOP", camelCaseName: "cdlSpinningTop", group: "Pattern Recognition", description: "Spinning Top", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSTALLEDPATTERN: { name: "CDLSTALLEDPATTERN", camelCaseName: "cdlStalledPattern", group: "Pattern Recognition", description: "Stalled Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLSTICKSANDWICH: { name: "CDLSTICKSANDWICH", camelCaseName: "cdlStickSandwhich", group: "Pattern Recognition", description: "Stick Sandwich", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLTAKURI: { name: "CDLTAKURI", camelCaseName: "cdlTakuri", group: "Pattern Recognition", description: "Takuri (Dragonfly Doji with very long lower shadow)", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLTASUKIGAP: { name: "CDLTASUKIGAP", camelCaseName: "cdlTasukiGap", group: "Pattern Recognition", description: "Tasuki Gap", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLTHRUSTING: { name: "CDLTHRUSTING", camelCaseName: "cdlThrusting", group: "Pattern Recognition", description: "Thrusting Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLTRISTAR: { name: "CDLTRISTAR", camelCaseName: "cdlTristar", group: "Pattern Recognition", description: "Tristar Pattern", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLUNIQUE3RIVER: { name: "CDLUNIQUE3RIVER", camelCaseName: "cdlUnique3River", group: "Pattern Recognition", description: "Unique 3 River", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLUPSIDEGAP2CROWS: { name: "CDLUPSIDEGAP2CROWS", camelCaseName: "cdlUpsideGap2Crows", group: "Pattern Recognition", description: "Upside Gap Two Crows", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CDLXSIDEGAP3METHODS: { name: "CDLXSIDEGAP3METHODS", camelCaseName: "cdlXSideGap3Methods", group: "Pattern Recognition", description: "Upside/Downside Gap Three Methods", inputs: [{ name: "open", type: "Double[]" }, { name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, CEIL: { name: "CEIL", camelCaseName: "ceil", group: "Math Transform", description: "Vector Ceil", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, CMO: { name: "CMO", camelCaseName: "cmo", group: "Momentum Indicators", description: "Chande Momentum Oscillator", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, CORREL: { name: "CORREL", camelCaseName: "correl", group: "Statistic Functions", description: "Pearson's Correlation Coefficient (r)", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, COS: { name: "COS", camelCaseName: "cos", group: "Math Transform", description: "Vector Trigonometric Cos", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, COSH: { name: "COSH", camelCaseName: "cosh", group: "Math Transform", description: "Vector Trigonometric Cosh", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, DEMA: { name: "DEMA", camelCaseName: "dema", group: "Overlap Studies", description: "Double Exponential Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, DIV: { name: "DIV", camelCaseName: "div", group: "Math Operators", description: "Vector Arithmetic Div", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, DX: { name: "DX", camelCaseName: "dx", group: "Momentum Indicators", description: "Directional Movement Index", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, EMA: { name: "EMA", camelCaseName: "ema", group: "Overlap Studies", description: "Exponential Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, EXP: { name: "EXP", camelCaseName: "exp", group: "Math Transform", description: "Vector Arithmetic Exp", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, FLOOR: { name: "FLOOR", camelCaseName: "floor", group: "Math Transform", description: "Vector Floor", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, HT_DCPERIOD: { name: "HT_DCPERIOD", camelCaseName: "htDcPeriod", group: "Cycle Indicators", description: "Hilbert Transform - Dominant Cycle Period", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, HT_DCPHASE: { name: "HT_DCPHASE", camelCaseName: "htDcPhase", group: "Cycle Indicators", description: "Hilbert Transform - Dominant Cycle Phase", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, HT_PHASOR: { name: "HT_PHASOR", camelCaseName: "htPhasor", group: "Cycle Indicators", description: "Hilbert Transform - Phasor Components", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "inPhase", type: "Double[]", plotHint: "line" }, { name: "quadrature", type: "Double[]", plotHint: "line_dash" }] }, HT_SINE: { name: "HT_SINE", camelCaseName: "htSine", group: "Cycle Indicators", description: "Hilbert Transform - SineWave", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "sine", type: "Double[]", plotHint: "line" }, { name: "leadSine", type: "Double[]", plotHint: "line_dash" }] }, HT_TRENDLINE: { name: "HT_TRENDLINE", camelCaseName: "htTrendline", group: "Overlap Studies", description: "Hilbert Transform - Instantaneous Trendline", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, HT_TRENDMODE: { name: "HT_TRENDMODE", camelCaseName: "htTrendMode", group: "Cycle Indicators", description: "Hilbert Transform - Trend vs Cycle Mode", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, IMI: { name: "IMI", camelCaseName: "imi", group: "Momentum Indicators", description: "Intraday Momentum Index", inputs: [{ name: "open", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, KAMA: { name: "KAMA", camelCaseName: "kama", group: "Overlap Studies", description: "Kaufman Adaptive Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LINEARREG: { name: "LINEARREG", camelCaseName: "linearReg", group: "Statistic Functions", description: "Linear Regression", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LINEARREG_ANGLE: { name: "LINEARREG_ANGLE", camelCaseName: "linearRegAngle", group: "Statistic Functions", description: "Linear Regression Angle", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LINEARREG_INTERCEPT: { name: "LINEARREG_INTERCEPT", camelCaseName: "linearRegIntercept", group: "Statistic Functions", description: "Linear Regression Intercept", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LINEARREG_SLOPE: { name: "LINEARREG_SLOPE", camelCaseName: "linearRegSlope", group: "Statistic Functions", description: "Linear Regression Slope", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LN: { name: "LN", camelCaseName: "ln", group: "Math Transform", description: "Vector Log Natural", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, LOG10: { name: "LOG10", camelCaseName: "log10", group: "Math Transform", description: "Vector Log10", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MA: { name: "MA", camelCaseName: "movingAverage", group: "Overlap Studies", description: "Moving average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "MAType", displayName: "MA Type", defaultValue: 0, hint: "Type of Moving Average", type: "MAType" }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MACD: { name: "MACD", camelCaseName: "macd", group: "Momentum Indicators", description: "Moving Average Convergence/Divergence", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "fastPeriod", displayName: "Fast Period", defaultValue: 12, hint: "Number of period for the fast MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "slowPeriod", displayName: "Slow Period", defaultValue: 26, hint: "Number of period for the slow MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "signalPeriod", displayName: "Signal Period", defaultValue: 9, hint: "Smoothing for the signal line (nb of period)", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "MACD", type: "Double[]", plotHint: "line" }, { name: "MACDSignal", type: "Double[]", plotHint: "line_dash" }, { name: "MACDHist", type: "Double[]", plotHint: "histogram" }] }, MACDEXT: { name: "MACDEXT", camelCaseName: "macdExt", group: "Momentum Indicators", description: "MACD with controllable MA type", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "fastPeriod", displayName: "Fast Period", defaultValue: 12, hint: "Number of period for the fast MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "fastMAType", displayName: "Fast MA", defaultValue: 0, hint: "Type of Moving Average for fast MA", type: "MAType" }, { name: "slowPeriod", displayName: "Slow Period", defaultValue: 26, hint: "Number of period for the slow MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "slowMAType", displayName: "Slow MA", defaultValue: 0, hint: "Type of Moving Average for slow MA", type: "MAType" }, { name: "signalPeriod", displayName: "Signal Period", defaultValue: 9, hint: "Smoothing for the signal line (nb of period)", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "signalMAType", displayName: "Signal MA", defaultValue: 0, hint: "Type of Moving Average for signal line", type: "MAType" }], outputs: [{ name: "MACD", type: "Double[]", plotHint: "line" }, { name: "MACDSignal", type: "Double[]", plotHint: "line_dash" }, { name: "MACDHist", type: "Double[]", plotHint: "histogram" }] }, MACDFIX: { name: "MACDFIX", camelCaseName: "macdFix", group: "Momentum Indicators", description: "Moving Average Convergence/Divergence Fix 12/26", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "signalPeriod", displayName: "Signal Period", defaultValue: 9, hint: "Smoothing for the signal line (nb of period)", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "MACD", type: "Double[]", plotHint: "line" }, { name: "MACDSignal", type: "Double[]", plotHint: "line_dash" }, { name: "MACDHist", type: "Double[]", plotHint: "histogram" }] }, MAMA: { name: "MAMA", camelCaseName: "mama", group: "Overlap Studies", description: "MESA Adaptive Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "fastLimit", displayName: "Fast Limit", defaultValue: 0.5, hint: "Upper limit use in the adaptive algorithm", type: "Double", range: { min: 0.01, max: 0.99 } }, { name: "slowLimit", displayName: "Slow Limit", defaultValue: 0.05, hint: "Lower limit use in the adaptive algorithm", type: "Double", range: { min: 0.01, max: 0.99 } }], outputs: [{ name: "MAMA", type: "Double[]", plotHint: "line" }, { name: "FAMA", type: "Double[]", plotHint: "line_dash" }] }, MAVP: { name: "MAVP", camelCaseName: "movingAverageVariablePeriod", group: "Overlap Studies", description: "Moving average with variable period", inputs: [{ name: "inReal", type: "Double[]" }, { name: "inPeriods", type: "Double[]" }], options: [{ name: "minPeriod", displayName: "Minimum Period", defaultValue: 2, hint: "Value less than minimum will be changed to Minimum period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "maxPeriod", displayName: "Maximum Period", defaultValue: 30, hint: "Value higher than maximum will be changed to Maximum period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "MAType", displayName: "MA Type", defaultValue: 0, hint: "Type of Moving Average", type: "MAType" }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MAX: { name: "MAX", camelCaseName: "max", group: "Math Operators", description: "Highest value over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MAXINDEX: { name: "MAXINDEX", camelCaseName: "maxIndex", group: "Math Operators", description: "Index of highest value over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, MEDPRICE: { name: "MEDPRICE", camelCaseName: "medPrice", group: "Price Transform", description: "Median Price", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MFI: { name: "MFI", camelCaseName: "mfi", group: "Momentum Indicators", description: "Money Flow Index", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }, { name: "volume", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MIDPOINT: { name: "MIDPOINT", camelCaseName: "midPoint", group: "Overlap Studies", description: "MidPoint over period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MIDPRICE: { name: "MIDPRICE", camelCaseName: "midPrice", group: "Overlap Studies", description: "Midpoint Price over period", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MIN: { name: "MIN", camelCaseName: "min", group: "Math Operators", description: "Lowest value over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MININDEX: { name: "MININDEX", camelCaseName: "minIndex", group: "Math Operators", description: "Index of lowest value over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Integer[]", plotHint: "line" }] }, MINMAX: { name: "MINMAX", camelCaseName: "minMax", group: "Math Operators", description: "Lowest and highest values over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "min", type: "Double[]", plotHint: "line" }, { name: "max", type: "Double[]", plotHint: "line" }] }, MINMAXINDEX: { name: "MINMAXINDEX", camelCaseName: "minMaxIndex", group: "Math Operators", description: "Indexes of lowest and highest values over a specified period", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "minIdx", type: "Integer[]", plotHint: "line" }, { name: "maxIdx", type: "Integer[]", plotHint: "line" }] }, MINUS_DI: { name: "MINUS_DI", camelCaseName: "minusDI", group: "Momentum Indicators", description: "Minus Directional Indicator", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MINUS_DM: { name: "MINUS_DM", camelCaseName: "minusDM", group: "Momentum Indicators", description: "Minus Directional Movement", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MOM: { name: "MOM", camelCaseName: "mom", group: "Momentum Indicators", description: "Momentum", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 10, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, MULT: { name: "MULT", camelCaseName: "mult", group: "Math Operators", description: "Vector Arithmetic Mult", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, NATR: { name: "NATR", camelCaseName: "natr", group: "Volatility Indicators", description: "Normalized Average True Range", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, OBV: { name: "OBV", camelCaseName: "obv", group: "Volume Indicators", description: "On Balance Volume", inputs: [{ name: "inReal", type: "Double[]" }, { name: "volume", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, PLUS_DI: { name: "PLUS_DI", camelCaseName: "plusDI", group: "Momentum Indicators", description: "Plus Directional Indicator", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, PLUS_DM: { name: "PLUS_DM", camelCaseName: "plusDM", group: "Momentum Indicators", description: "Plus Directional Movement", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, PPO: { name: "PPO", camelCaseName: "ppo", group: "Momentum Indicators", description: "Percentage Price Oscillator", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "fastPeriod", displayName: "Fast Period", defaultValue: 12, hint: "Number of period for the fast MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "slowPeriod", displayName: "Slow Period", defaultValue: 26, hint: "Number of period for the slow MA", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "MAType", displayName: "MA Type", defaultValue: 0, hint: "Type of Moving Average", type: "MAType" }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ROC: { name: "ROC", camelCaseName: "roc", group: "Momentum Indicators", description: "Rate of change : ((price/prevPrice)-1)*100", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 10, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ROCP: { name: "ROCP", camelCaseName: "rocP", group: "Momentum Indicators", description: "Rate of change Percentage: (price-prevPrice)/prevPrice", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 10, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ROCR: { name: "ROCR", camelCaseName: "rocR", group: "Momentum Indicators", description: "Rate of change ratio: (price/prevPrice)", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 10, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ROCR100: { name: "ROCR100", camelCaseName: "rocR100", group: "Momentum Indicators", description: "Rate of change ratio 100 scale: (price/prevPrice)*100", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 10, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, RSI: { name: "RSI", camelCaseName: "rsi", group: "Momentum Indicators", description: "Relative Strength Index", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SAR: { name: "SAR", camelCaseName: "sar", group: "Overlap Studies", description: "Parabolic SAR", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "acceleration", displayName: "Acceleration Factor", defaultValue: 0.02, hint: "Acceleration Factor used up to the Maximum value", type: "Double", range: { min: 0, max: 3e37 } }, { name: "maximum", displayName: "AF Maximum", defaultValue: 0.2, hint: "Acceleration Factor Maximum value", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SAREXT: { name: "SAREXT", camelCaseName: "sarExt", group: "Overlap Studies", description: "Parabolic SAR - Extended", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }], options: [{ name: "startValue", displayName: "Start Value", defaultValue: 0, hint: "Start value and direction. 0 for Auto, >0 for Long, <0 for Short", type: "Double", range: { min: -3e37, max: 3e37 } }, { name: "offsetOnReverse", displayName: "Offset on Reverse", defaultValue: 0, hint: "Percent offset added/removed to initial stop on short/long reversal", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationInitLong", displayName: "AF Init Long", defaultValue: 0.02, hint: "Acceleration Factor initial value for the Long direction", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationLong", displayName: "AF Long", defaultValue: 0.02, hint: "Acceleration Factor for the Long direction", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationMaxLong", displayName: "AF Max Long", defaultValue: 0.2, hint: "Acceleration Factor maximum value for the Long direction", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationInitShort", displayName: "AF Init Short", defaultValue: 0.02, hint: "Acceleration Factor initial value for the Short direction", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationShort", displayName: "AF Short", defaultValue: 0.02, hint: "Acceleration Factor for the Short direction", type: "Double", range: { min: 0, max: 3e37 } }, { name: "accelerationMaxShort", displayName: "AF Max Short", defaultValue: 0.2, hint: "Acceleration Factor maximum value for the Short direction", type: "Double", range: { min: 0, max: 3e37 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SIN: { name: "SIN", camelCaseName: "sin", group: "Math Transform", description: "Vector Trigonometric Sin", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SINH: { name: "SINH", camelCaseName: "sinh", group: "Math Transform", description: "Vector Trigonometric Sinh", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SMA: { name: "SMA", camelCaseName: "sma", group: "Overlap Studies", description: "Simple Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SQRT: { name: "SQRT", camelCaseName: "sqrt", group: "Math Transform", description: "Vector Square Root", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, STDDEV: { name: "STDDEV", camelCaseName: "stdDev", group: "Statistic Functions", description: "Standard Deviation", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 5, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "nbDev", displayName: "Deviations", defaultValue: 1, hint: "Nb of deviations", type: "Double", range: { min: -3e37, max: 3e37 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, STOCH: { name: "STOCH", camelCaseName: "stoch", group: "Momentum Indicators", description: "Stochastic", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "fastK_Period", displayName: "Fast-K Period", defaultValue: 5, hint: "Time period for building the Fast-K line", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "slowK_Period", displayName: "Slow-K Period", defaultValue: 3, hint: "Smoothing for making the Slow-K line. Usually set to 3", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "slowK_MAType", displayName: "Slow-K MA", defaultValue: 0, hint: "Type of Moving Average for Slow-K", type: "MAType" }, { name: "slowD_Period", displayName: "Slow-D Period", defaultValue: 3, hint: "Smoothing for making the Slow-D line", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "slowD_MAType", displayName: "Slow-D MA", defaultValue: 0, hint: "Type of Moving Average for Slow-D", type: "MAType" }], outputs: [{ name: "slowK", type: "Double[]", plotHint: "line_dash" }, { name: "slowD", type: "Double[]", plotHint: "line_dash" }] }, STOCHF: { name: "STOCHF", camelCaseName: "stochF", group: "Momentum Indicators", description: "Stochastic Fast", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "fastK_Period", displayName: "Fast-K Period", defaultValue: 5, hint: "Time period for building the Fast-K line", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "fastD_Period", displayName: "Fast-D Period", defaultValue: 3, hint: "Smoothing for making the Fast-D line. Usually set to 3", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "fastD_MAType", displayName: "Fast-D MA", defaultValue: 0, hint: "Type of Moving Average for Fast-D", type: "MAType" }], outputs: [{ name: "fastK", type: "Double[]", plotHint: "line" }, { name: "fastD", type: "Double[]", plotHint: "line" }] }, STOCHRSI: { name: "STOCHRSI", camelCaseName: "stochRsi", group: "Momentum Indicators", description: "Stochastic Relative Strength Index", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "fastK_Period", displayName: "Fast-K Period", defaultValue: 5, hint: "Time period for building the Fast-K line", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "fastD_Period", displayName: "Fast-D Period", defaultValue: 3, hint: "Smoothing for making the Fast-D line. Usually set to 3", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "fastD_MAType", displayName: "Fast-D MA", defaultValue: 0, hint: "Type of Moving Average for Fast-D", type: "MAType" }], outputs: [{ name: "fastK", type: "Double[]", plotHint: "line" }, { name: "fastD", type: "Double[]", plotHint: "line" }] }, SUB: { name: "SUB", camelCaseName: "sub", group: "Math Operators", description: "Vector Arithmetic Substraction", inputs: [{ name: "inReal0", type: "Double[]" }, { name: "inReal1", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, SUM: { name: "SUM", camelCaseName: "sum", group: "Math Operators", description: "Summation", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, T3: { name: "T3", camelCaseName: "t3", group: "Overlap Studies", description: "Triple Exponential Moving Average (T3)", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 5, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }, { name: "VFactor", displayName: "Volume Factor", defaultValue: 0.7, hint: "Volume Factor", type: "Double", range: { min: 0, max: 1 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TAN: { name: "TAN", camelCaseName: "tan", group: "Math Transform", description: "Vector Trigonometric Tan", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TANH: { name: "TANH", camelCaseName: "tanh", group: "Math Transform", description: "Vector Trigonometric Tanh", inputs: [{ name: "inReal", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TEMA: { name: "TEMA", camelCaseName: "tema", group: "Overlap Studies", description: "Triple Exponential Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TRANGE: { name: "TRANGE", camelCaseName: "trueRange", group: "Volatility Indicators", description: "True Range", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TRIMA: { name: "TRIMA", camelCaseName: "trima", group: "Overlap Studies", description: "Triangular Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TRIX: { name: "TRIX", camelCaseName: "trix", group: "Momentum Indicators", description: "1-day Rate-Of-Change (ROC) of a Triple Smooth EMA", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TSF: { name: "TSF", camelCaseName: "tsf", group: "Statistic Functions", description: "Time Series Forecast", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, TYPPRICE: { name: "TYPPRICE", camelCaseName: "typPrice", group: "Price Transform", description: "Typical Price", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, ULTOSC: { name: "ULTOSC", camelCaseName: "ultOsc", group: "Momentum Indicators", description: "Ultimate Oscillator", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod1", displayName: "First Period", defaultValue: 7, hint: "Number of bars for 1st period.", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "timePeriod2", displayName: "Second Period", defaultValue: 14, hint: "Number of bars fro 2nd period", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "timePeriod3", displayName: "Third Period", defaultValue: 28, hint: "Number of bars for 3rd period", type: "Integer", range: { min: 1, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, VAR: { name: "VAR", camelCaseName: "variance", group: "Statistic Functions", description: "Variance", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 5, hint: "Number of period", type: "Integer", range: { min: 1, max: 1e5 } }, { name: "nbDev", displayName: "Deviations", defaultValue: 1, hint: "Nb of deviations", type: "Double", range: { min: -3e37, max: 3e37 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, WCLPRICE: { name: "WCLPRICE", camelCaseName: "wclPrice", group: "Price Transform", description: "Weighted Close Price", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, WILLR: { name: "WILLR", camelCaseName: "willR", group: "Momentum Indicators", description: "Williams' %R", inputs: [{ name: "high", type: "Double[]" }, { name: "low", type: "Double[]" }, { name: "close", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 14, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] }, WMA: { name: "WMA", camelCaseName: "wma", group: "Overlap Studies", description: "Weighted Moving Average", inputs: [{ name: "inReal", type: "Double[]" }], options: [{ name: "timePeriod", displayName: "Time Period", defaultValue: 30, hint: "Number of period", type: "Integer", range: { min: 2, max: 1e5 } }], outputs: [{ name: "output", type: "Double[]", plotHint: "line" }] } };
|
|
14775
14775
|
var ui = ui;
|
|
14776
|
-
let
|
|
14776
|
+
let Yn;
|
|
14777
14777
|
function Qs(e, n) {
|
|
14778
14778
|
const t = e._malloc(n * 8);
|
|
14779
14779
|
return e.HEAPF64.set(new Float64Array(n), t / 8), {
|
|
@@ -14802,9 +14802,9 @@ const T1 = {
|
|
|
14802
14802
|
5e3: "TA_INTERNAL_ERROR",
|
|
14803
14803
|
65535: "TA_UNKNOWN_ERR"
|
|
14804
14804
|
};
|
|
14805
|
-
function
|
|
14805
|
+
function ha(e, n) {
|
|
14806
14806
|
const t = `TA_${e.name}`;
|
|
14807
|
-
if (!
|
|
14807
|
+
if (!Yn)
|
|
14808
14808
|
throw Error(`${e.name}() called before initialization.`);
|
|
14809
14809
|
const o = 2 + e.inputs.length + e.options.length + 2 + e.outputs.length, a = new Array(o).fill("number");
|
|
14810
14810
|
for (const { name: g } of e.inputs)
|
|
@@ -14821,16 +14821,16 @@ function ya(e, n) {
|
|
|
14821
14821
|
l === void 0 && (l = Math.min(...i));
|
|
14822
14822
|
const s = [r, l], u = [];
|
|
14823
14823
|
e.inputs.forEach(({ name: g }) => {
|
|
14824
|
-
const m = Qs(
|
|
14824
|
+
const m = Qs(Yn, l - r), p = n[g];
|
|
14825
14825
|
for (const b in p)
|
|
14826
14826
|
m.data[b] = p[b];
|
|
14827
14827
|
u.push(m), s.push(m.offset);
|
|
14828
14828
|
}), e.options.forEach(({ name: g }) => s.push(n[g])), s.push(0), s.push(0);
|
|
14829
14829
|
const c = e.outputs.map(({ name: g }) => {
|
|
14830
|
-
const m = Qs(
|
|
14830
|
+
const m = Qs(Yn, l - r);
|
|
14831
14831
|
return u.push(m), s.push(m.offset), { name: g, array: m };
|
|
14832
|
-
}), d =
|
|
14833
|
-
u.forEach((g) =>
|
|
14832
|
+
}), d = Yn.ccall(t, "number", a, s);
|
|
14833
|
+
u.forEach((g) => Yn._free(g.offset));
|
|
14834
14834
|
const v = c.reduce((g, m) => (g[m.name] = Array.from(m.array.data), g), {});
|
|
14835
14835
|
if (d === 0)
|
|
14836
14836
|
return v;
|
|
@@ -14841,56 +14841,53 @@ var Xs;
|
|
|
14841
14841
|
e[e.SMA = 0] = "SMA", e[e.EMA = 1] = "EMA", e[e.WMA = 2] = "WMA", e[e.DEMA = 3] = "DEMA", e[e.TEMA = 4] = "TEMA", e[e.TRIMA = 5] = "TRIMA", e[e.KAMA = 6] = "KAMA", e[e.MAMA = 7] = "MAMA", e[e.T3 = 8] = "T3";
|
|
14842
14842
|
})(Xs || (Xs = {}));
|
|
14843
14843
|
function A1(e) {
|
|
14844
|
-
return
|
|
14844
|
+
return Yn ? Promise.resolve(Yn) : e && typeof e != "string" ? Promise.reject(new Error('Invalid argument, "init(wasmBinaryFilePath)" expects a string that specifies the location of wasm binary file')) : ui({ locateFile: e ? () => e : void 0 }).then((t) => Yn = t).catch((t) => {
|
|
14845
14845
|
let o = "TA-Lib WASM runtime init fail.";
|
|
14846
14846
|
throw t && t.message ? o += `
|
|
14847
14847
|
Error:
|
|
14848
14848
|
` + t.message : o += "Unknown reason. Perhaps you specify the wrong file path to wasm binary?", new Error(o);
|
|
14849
14849
|
});
|
|
14850
14850
|
}
|
|
14851
|
-
let C1 =
|
|
14851
|
+
let C1 = ya.EMA;
|
|
14852
14852
|
function N1(e) {
|
|
14853
|
-
return
|
|
14853
|
+
return ha(C1, e);
|
|
14854
14854
|
}
|
|
14855
|
-
let D1 =
|
|
14855
|
+
let D1 = ya.MAX;
|
|
14856
14856
|
function _1(e) {
|
|
14857
|
-
return
|
|
14857
|
+
return ha(D1, e);
|
|
14858
14858
|
}
|
|
14859
|
-
let I1 =
|
|
14859
|
+
let I1 = ya.MIN;
|
|
14860
14860
|
function w1(e) {
|
|
14861
|
-
return
|
|
14861
|
+
return ha(I1, e);
|
|
14862
14862
|
}
|
|
14863
|
-
let E1 =
|
|
14863
|
+
let E1 = ya.SMA;
|
|
14864
14864
|
function qs(e) {
|
|
14865
|
-
return
|
|
14865
|
+
return ha(E1, e);
|
|
14866
14866
|
}
|
|
14867
|
-
let S1 =
|
|
14867
|
+
let S1 = ya.WMA;
|
|
14868
14868
|
function Zs(e) {
|
|
14869
|
-
return
|
|
14869
|
+
return ha(S1, e);
|
|
14870
14870
|
}
|
|
14871
14871
|
let Js = !1, eu = !0, tu = [];
|
|
14872
|
-
function
|
|
14872
|
+
function To(e, n) {
|
|
14873
14873
|
let t = e.length;
|
|
14874
|
-
return n <= 1 || n > t ? new Array(t).fill(null) : [
|
|
14875
|
-
...new Array(n - 1).fill(null),
|
|
14876
|
-
...e.slice(0, t - n + 1)
|
|
14877
|
-
];
|
|
14874
|
+
return n <= 1 || n > t ? new Array(t).fill(null) : [...new Array(n - 1).fill(null), ...e.slice(0, t - n + 1)];
|
|
14878
14875
|
}
|
|
14879
14876
|
const lt = {
|
|
14880
14877
|
// 多空线
|
|
14881
14878
|
DKX: (e) => {
|
|
14882
14879
|
const { open: n, close: t, high: o, low: a } = e, r = n.map((i, s) => (t[s] * 3 + o[s] + a[s] + i) / 6), { output: l } = Zs({ inReal: r, timePeriod: 20 });
|
|
14883
|
-
return
|
|
14880
|
+
return To(l, 20);
|
|
14884
14881
|
},
|
|
14885
14882
|
// ?
|
|
14886
14883
|
MADKX: (e) => {
|
|
14887
14884
|
const { open: n, close: t, high: o, low: a } = e, r = n.map((s, u) => (t[u] * 3 + o[u] + a[u] + s) / 6), l = Zs({ inReal: r, timePeriod: 20 }), { output: i } = qs({ inReal: l.output, timePeriod: 10 });
|
|
14888
|
-
return
|
|
14885
|
+
return To(i, 29);
|
|
14889
14886
|
},
|
|
14890
14887
|
// ?
|
|
14891
14888
|
EMA: (e, n) => {
|
|
14892
14889
|
const { close: t } = e, { output: o } = N1({ inReal: t, timePeriod: n });
|
|
14893
|
-
return
|
|
14890
|
+
return To(o, n);
|
|
14894
14891
|
},
|
|
14895
14892
|
// ?
|
|
14896
14893
|
EMA30: (e) => lt.EMA(e, 30),
|
|
@@ -14907,21 +14904,21 @@ const lt = {
|
|
|
14907
14904
|
// ?
|
|
14908
14905
|
HHV: (e, n) => {
|
|
14909
14906
|
const { high: t } = e, { output: o } = _1({ inReal: t, timePeriod: n });
|
|
14910
|
-
return
|
|
14907
|
+
return To(o, n);
|
|
14911
14908
|
},
|
|
14912
14909
|
// ?
|
|
14913
14910
|
HHV30: (e) => lt.HHV(e, 30),
|
|
14914
14911
|
// ?
|
|
14915
14912
|
LLV: (e, n) => {
|
|
14916
14913
|
const { high: t } = e, { output: o } = w1({ inReal: t, timePeriod: n });
|
|
14917
|
-
return
|
|
14914
|
+
return To(o, n);
|
|
14918
14915
|
},
|
|
14919
14916
|
// ?
|
|
14920
14917
|
LLV30: (e) => lt.LLV(e, 30),
|
|
14921
14918
|
// ?
|
|
14922
14919
|
MA: (e, n) => {
|
|
14923
14920
|
const { close: t } = e, { output: o } = qs({ inReal: t, timePeriod: n });
|
|
14924
|
-
return
|
|
14921
|
+
return To(o, n);
|
|
14925
14922
|
},
|
|
14926
14923
|
// ?
|
|
14927
14924
|
MA5: (e) => lt.MA(e, 5),
|
|
@@ -14938,10 +14935,10 @@ const lt = {
|
|
|
14938
14935
|
}
|
|
14939
14936
|
}, L1 = (e, n) => lt[e] ? lt[e](n) : new Array(n.time.length).fill(null), O1 = (e) => {
|
|
14940
14937
|
const n = [], t = [], o = [], a = [], r = [], l = [];
|
|
14941
|
-
return e.forEach((i) => {
|
|
14942
|
-
n.push(i[0]), t.push(i[1]), o.push(i[4]), a.push(i[2]), r.push(i[3]), l.push([i[1], i[4], i[3], i[2]]);
|
|
14938
|
+
return e.forEach((i, s) => {
|
|
14939
|
+
n.push(i[0]), t.push(i[1]), o.push(i[4]), a.push(i[2]), r.push(i[3]), l.push([i[1], i[4], i[3], i[2], Number(i[6]), s === 0 ? i[4] : e[s - 1][4]]);
|
|
14943
14940
|
}), { time: n, open: t, close: o, high: a, low: r, kLineData: l };
|
|
14944
|
-
},
|
|
14941
|
+
}, Oa = (e, n) => e.length > n ? e.slice(e.length - n) : e, z1 = async () => {
|
|
14945
14942
|
if (!Js)
|
|
14946
14943
|
Js = !0, await A1("./talib.wasm"), eu = !1, tu.forEach((e) => {
|
|
14947
14944
|
e();
|
|
@@ -14953,9 +14950,9 @@ const lt = {
|
|
|
14953
14950
|
}, R1 = async (e, n, t) => {
|
|
14954
14951
|
const o = O1(e);
|
|
14955
14952
|
return await z1(), {
|
|
14956
|
-
originData:
|
|
14957
|
-
kLine:
|
|
14958
|
-
time:
|
|
14953
|
+
originData: Oa(e, t),
|
|
14954
|
+
kLine: Oa(o.kLineData, t),
|
|
14955
|
+
time: Oa(o.time, t),
|
|
14959
14956
|
indicator: Object.keys(n).reduce((a, r) => {
|
|
14960
14957
|
let l = "rgba(238, 238, 238, 0.5)";
|
|
14961
14958
|
return n[r] && (l = `#${n[r].split("#")[1]}`), r !== "WINDOW" ? [
|
|
@@ -14963,15 +14960,15 @@ const lt = {
|
|
|
14963
14960
|
{
|
|
14964
14961
|
key: r,
|
|
14965
14962
|
color: l,
|
|
14966
|
-
data:
|
|
14963
|
+
data: Oa(L1(r, o), t)
|
|
14967
14964
|
}
|
|
14968
14965
|
] : a;
|
|
14969
14966
|
}, [])
|
|
14970
14967
|
};
|
|
14971
|
-
}, x1 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjgzNzAzMjM4NzI1IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjI2MjUiIHhtbG5zOnhsaW5rP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NjY2NiA0LjY5MzMzM3oiIGZpbGw9IiNBRTQ0RkYiIHAtaWQ9IjMwODAiPjwvcGF0aD48cGF0aCBkPSJNNDc1LjMwNjY2NyA2NTguMjE4NjY3aDczLjQ3MlYzMDYuMzg5MzMzaDExNi40OFYyNDguNDQ4aC0zMDcuNjI2NjY3djU3Ljk0MTMzM2gxMTcuNjc0NjY3eiIgZmlsbD0iI0ZGRkZGRiIgcC1pZD0iMzA4MSI+PC9wYXRoPjwvc3ZnPg==", Go = (e, n) => {
|
|
14972
14969
|
const { type: t = "log", color: o = "black" } = n ?? {};
|
|
14973
14970
|
localStorage.getItem("st-kline-console-show") === "true" && console[t](`%c${e}`, `color:${o}`);
|
|
14974
|
-
},
|
|
14971
|
+
}, wn = (e) => e || e === 0 ? Math.round(e * 1e3) / 1e3 : null, k1 = (e) => e >= 1e12 ? `${(e / 1e12).toFixed(2)}万亿` : e >= 1e8 ? `${(e / 1e8).toFixed(2)}亿` : e >= 1e4 ? `${(e / 1e4).toFixed(2)}万` : e.toFixed(2), $1 = (e) => {
|
|
14975
14972
|
const { y: n, text: t, info: o, gridLeft: a, gridRight: r, echartsWidth: l, echartsInstance: i } = e, { config: s, event: u } = o;
|
|
14976
14973
|
let c = 0;
|
|
14977
14974
|
return {
|
|
@@ -15382,7 +15379,7 @@ const lt = {
|
|
|
15382
15379
|
dataset: {
|
|
15383
15380
|
id: "data",
|
|
15384
15381
|
source: {
|
|
15385
|
-
klineData:
|
|
15382
|
+
klineData: d,
|
|
15386
15383
|
indicatorData: g
|
|
15387
15384
|
}
|
|
15388
15385
|
},
|
|
@@ -15399,7 +15396,7 @@ const lt = {
|
|
|
15399
15396
|
label: {
|
|
15400
15397
|
formatter: (h) => {
|
|
15401
15398
|
const { axisDimension: M, value: A } = h;
|
|
15402
|
-
return M === "x" ? A : String(
|
|
15399
|
+
return M === "x" ? A : String(wn(A));
|
|
15403
15400
|
}
|
|
15404
15401
|
}
|
|
15405
15402
|
},
|
|
@@ -15441,18 +15438,18 @@ const lt = {
|
|
|
15441
15438
|
}
|
|
15442
15439
|
},
|
|
15443
15440
|
min: (h) => {
|
|
15444
|
-
const { min: M, max: A } = h, y = M - (A - M) / 10 <= 0 ? 0 :
|
|
15441
|
+
const { min: M, max: A } = h, y = M - (A - M) / 10 <= 0 ? 0 : wn(M - (A - M) / 10);
|
|
15445
15442
|
return A - M > 10 ? Math.floor(y) : y;
|
|
15446
15443
|
},
|
|
15447
15444
|
max: (h) => {
|
|
15448
|
-
const { min: M, max: A } = h, y =
|
|
15445
|
+
const { min: M, max: A } = h, y = wn(A + (A - M) / 10);
|
|
15449
15446
|
return A - M > 10 ? Math.ceil(y) : y;
|
|
15450
15447
|
},
|
|
15451
15448
|
axisLine: {
|
|
15452
15449
|
show: !0
|
|
15453
15450
|
},
|
|
15454
15451
|
axisLabel: {
|
|
15455
|
-
formatter: (h) =>
|
|
15452
|
+
formatter: (h) => wn(h),
|
|
15456
15453
|
showMaxLabel: !1
|
|
15457
15454
|
}
|
|
15458
15455
|
}
|
|
@@ -15626,26 +15623,37 @@ const lt = {
|
|
|
15626
15623
|
var _, P;
|
|
15627
15624
|
if (a.value && ((P = (_ = a.value.dataset[0]) == null ? void 0 : _.source) != null && P.klineData[r.value])) {
|
|
15628
15625
|
const R = a.value.dataset[0].source.klineData[r.value];
|
|
15626
|
+
let E = ((R[1] - R[5]) / R[1] * 100).toFixed(2), L = +E == 0 ? "white" : +E > 0 ? "red" : "#00ff00";
|
|
15629
15627
|
return [
|
|
15630
15628
|
{
|
|
15631
15629
|
label: "开",
|
|
15632
|
-
value: R[
|
|
15630
|
+
value: wn(R[0]),
|
|
15633
15631
|
color: "rgb(153, 153, 153)"
|
|
15634
15632
|
},
|
|
15635
15633
|
{
|
|
15636
15634
|
label: "高",
|
|
15637
|
-
value: R[
|
|
15635
|
+
value: wn(R[3]),
|
|
15638
15636
|
color: "rgb(153, 153, 153)"
|
|
15639
15637
|
},
|
|
15640
15638
|
{
|
|
15641
15639
|
label: "低",
|
|
15642
|
-
value: R[
|
|
15640
|
+
value: wn(R[2]),
|
|
15643
15641
|
color: "rgb(153, 153, 153)"
|
|
15644
15642
|
},
|
|
15645
15643
|
{
|
|
15646
15644
|
label: "收",
|
|
15647
|
-
value: R[
|
|
15645
|
+
value: wn(R[1]),
|
|
15648
15646
|
color: "rgb(153, 153, 153)"
|
|
15647
|
+
},
|
|
15648
|
+
{
|
|
15649
|
+
label: "额",
|
|
15650
|
+
value: k1(R[4]),
|
|
15651
|
+
color: "rgb(153, 153, 153)"
|
|
15652
|
+
},
|
|
15653
|
+
{
|
|
15654
|
+
label: "涨跌",
|
|
15655
|
+
value: `${E}%`,
|
|
15656
|
+
color: L
|
|
15649
15657
|
}
|
|
15650
15658
|
];
|
|
15651
15659
|
}
|
|
@@ -15654,7 +15662,7 @@ const lt = {
|
|
|
15654
15662
|
var _, P;
|
|
15655
15663
|
return a.value && ((P = (_ = a.value.dataset[0]) == null ? void 0 : _.source) != null && P.indicatorData) ? a.value.dataset[0].source.indicatorData.reduce((R, E) => (E.data[r.value] && R.push({
|
|
15656
15664
|
label: E.key,
|
|
15657
|
-
value:
|
|
15665
|
+
value: wn(E.data[r.value]),
|
|
15658
15666
|
color: E.color
|
|
15659
15667
|
}), R), []) : [];
|
|
15660
15668
|
});
|
|
@@ -15669,7 +15677,7 @@ const lt = {
|
|
|
15669
15677
|
), ee(
|
|
15670
15678
|
() => n.lineData,
|
|
15671
15679
|
async () => {
|
|
15672
|
-
|
|
15680
|
+
Go("st-kline组件消息:props.lineData监控,额外画线数据发生改变,重绘->line", {
|
|
15673
15681
|
color: "red"
|
|
15674
15682
|
}), s("line");
|
|
15675
15683
|
},
|
|
@@ -15679,7 +15687,7 @@ const lt = {
|
|
|
15679
15687
|
), ee(
|
|
15680
15688
|
() => n.brushRange,
|
|
15681
15689
|
async () => {
|
|
15682
|
-
|
|
15690
|
+
Go("st-kline组件消息:props.brushRange监控,区域刷选数据发生改变,重绘->brush", {
|
|
15683
15691
|
color: "red"
|
|
15684
15692
|
}), s("brush");
|
|
15685
15693
|
},
|
|
@@ -15699,7 +15707,7 @@ const lt = {
|
|
|
15699
15707
|
n.indicator,
|
|
15700
15708
|
o.value
|
|
15701
15709
|
), { graphic: L } = m.getOption() ?? { graphic: [] };
|
|
15702
|
-
a.value = { ...E, graphic: L }, m.setOption(a.value, !0),
|
|
15710
|
+
a.value = { ...E, graphic: L }, m.setOption(a.value, !0), Go("st-kline组件消息:K线绘制完毕-draw", { color: "green" });
|
|
15703
15711
|
}
|
|
15704
15712
|
],
|
|
15705
15713
|
// line-额外线条绘制
|
|
@@ -15709,7 +15717,7 @@ const lt = {
|
|
|
15709
15717
|
const E = m.getOption(), L = U1(n.lineData, o.value, m);
|
|
15710
15718
|
a.value = { ...E, graphic: L }, m.setOption(a.value, {
|
|
15711
15719
|
replaceMerge: ["graphic"]
|
|
15712
|
-
}),
|
|
15720
|
+
}), Go("st-kline组件消息:额外画线绘制完毕-draw", { color: "green" });
|
|
15713
15721
|
}
|
|
15714
15722
|
],
|
|
15715
15723
|
// brush-区域刷选
|
|
@@ -15726,7 +15734,7 @@ const lt = {
|
|
|
15726
15734
|
xAxisIndex: 0
|
|
15727
15735
|
}
|
|
15728
15736
|
]
|
|
15729
|
-
}),
|
|
15737
|
+
}), Go("st-kline组件消息:区域刷选绘制完毕-draw", { color: "green" }));
|
|
15730
15738
|
}
|
|
15731
15739
|
],
|
|
15732
15740
|
// 全部绘制
|
|
@@ -15794,7 +15802,7 @@ const lt = {
|
|
|
15794
15802
|
};
|
|
15795
15803
|
return je(() => {
|
|
15796
15804
|
T();
|
|
15797
|
-
}),
|
|
15805
|
+
}), ua(() => {
|
|
15798
15806
|
D(), m.dispose(), p.disconnect(), p = null;
|
|
15799
15807
|
}), (_, P) => {
|
|
15800
15808
|
const R = DC, E = NC;
|
|
@@ -15838,7 +15846,7 @@ const lt = {
|
|
|
15838
15846
|
};
|
|
15839
15847
|
}
|
|
15840
15848
|
});
|
|
15841
|
-
const q1 = /* @__PURE__ */
|
|
15849
|
+
const q1 = /* @__PURE__ */ va(X1, [["__scopeId", "data-v-0e67fe93"]]), Z1 = {
|
|
15842
15850
|
install(e) {
|
|
15843
15851
|
e.component("st-kline", q1);
|
|
15844
15852
|
}
|
|
@@ -15912,7 +15920,7 @@ const J1 = /* @__PURE__ */ U({
|
|
|
15912
15920
|
};
|
|
15913
15921
|
}
|
|
15914
15922
|
});
|
|
15915
|
-
const e_ = /* @__PURE__ */
|
|
15923
|
+
const e_ = /* @__PURE__ */ va(J1, [["__scopeId", "data-v-61b7745b"]]), t_ = {
|
|
15916
15924
|
install(e) {
|
|
15917
15925
|
e.component("st-pagination", e_);
|
|
15918
15926
|
}
|