mixdashboards 1.1.51 → 1.1.53
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/dist/{index-EKy9k_aw.js → index-CQg7VMRG.js} +702 -677
- package/dist/{index-Cbt0S1dv.cjs → index-d6hClU09.cjs} +78 -78
- package/dist/{lerc-L9jrEu_x.cjs → lerc-DIIN9JR8.cjs} +1 -1
- package/dist/{lerc-IjF4B9kC.js → lerc-Dla1mXfn.js} +1 -1
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/package.json +1 -1
|
@@ -66,8 +66,8 @@ var Xe = (n, e, t) => new Promise((i, r) => {
|
|
|
66
66
|
throw a;
|
|
67
67
|
}, "return" in e && i("return"), r;
|
|
68
68
|
}, TH = (n, e, t) => (e = n[zv("asyncIterator")]) ? e.call(n) : (n = n[zv("iterator")](), e = {}, t = (i, r) => (r = n[i]) && (e[i] = (a) => new Promise((o, s, l) => (a = r.call(n, a), l = a.done, Promise.resolve(a.value).then((c) => o({ value: c, done: l }), s)))), t("next"), t("return"), e);
|
|
69
|
-
import { defineComponent as Nt, inject as ca, shallowRef as n6, reactive as zn, ref as fe, toRef as _ie, onBeforeMount as xie, onMounted as Nn, watchEffect as Vo, onBeforeUnmount as mr, computed as de, watch as It, openBlock as V, createElementBlock as Z, normalizeStyle as Ue, normalizeClass as Jt, renderSlot as tn, createCommentVNode as Re, nextTick as En, provide as iu, toRefs as EH, Fragment as Ke, renderList as pt, createBlock as rt, mergeProps as ff, withCtx as K, withDirectives as qn, createVNode as G, vShow as
|
|
70
|
-
import { ElCheckbox as zl, ElPagination as fd, ElIcon as br, ElSelect as Sr, ElOption as wr, ElInput as jr, ElDatePicker as Ga, ElButton as fi, ElDescriptions as u1, ElDescriptionsItem as d1, ElLoadingDirective as
|
|
69
|
+
import { defineComponent as Nt, inject as ca, shallowRef as n6, reactive as zn, ref as fe, toRef as _ie, onBeforeMount as xie, onMounted as Nn, watchEffect as Vo, onBeforeUnmount as mr, computed as de, watch as It, openBlock as V, createElementBlock as Z, normalizeStyle as Ue, normalizeClass as Jt, renderSlot as tn, createCommentVNode as Re, nextTick as En, provide as iu, toRefs as EH, Fragment as Ke, renderList as pt, createBlock as rt, mergeProps as ff, withCtx as K, withDirectives as qn, createVNode as G, vShow as _s, getCurrentInstance as m0, onUnmounted as Qa, h as sr, Text as Dve, withModifiers as Dn, createTextVNode as De, toDisplayString as ue, unref as J, markRaw as h7, createElementVNode as N, Teleport as Of, withKeys as ss, resolveComponent as Sie, resolveDynamicComponent as rc, Transition as wie, createSlots as jN, normalizeProps as GN, guardReactiveProps as YN, vModelText as zo, createStaticVNode as WN, useTemplateRef as Ove, useCssVars as po, vModelCheckbox as Aie, vModelRadio as MH, createApp as LH, vModelSelect as v8, toValue as DH, isRef as m8 } from "vue";
|
|
70
|
+
import { ElCheckbox as zl, ElPagination as fd, ElIcon as br, ElSelect as Sr, ElOption as wr, ElInput as jr, ElDatePicker as Ga, ElButton as fi, ElDescriptions as u1, ElDescriptionsItem as d1, ElLoadingDirective as cs, ElDialog as Uo, ElCard as xh, ElForm as Yc, ElFormItem as xu, ElDropdown as fv, ElDropdownMenu as hv, ElDropdownItem as pv, ElTree as Cie, ElEmpty as Wc, ElInputNumber as Sh, ElCheckboxGroup as f1, ElRadio as vv, ElPopconfirm as Tie, ElRadioGroup as g0, ElRadioButton as p7, ElAlert as v7, ElDivider as Eie, ElTag as h1, ElCollapse as ZA, ElCollapseItem as qA, ElTable as hd, ElTableColumn as pd, ElTimeline as Mie, ElTimelineItem as Lie, ElTabs as Die, ElTabPane as Oie, ElImage as XN, ElUpload as m7, ElCarousel as Pve, ElCarouselItem as Ive, ElPopover as g7, ElProgress as Pie, ElSwitch as Rve, ElSkeleton as kve, ElTimePicker as Nve, ElCascader as Fve } from "element-plus/es";
|
|
71
71
|
import "element-plus/es/components/base/style/css";
|
|
72
72
|
import "element-plus/es/components/loading/style/css";
|
|
73
73
|
import "element-plus/es/components/dialog/style/css";
|
|
@@ -880,8 +880,8 @@ function Sge() {
|
|
|
880
880
|
for (var yi, vi, Ri, ur = [], Ir = 0; Ir < Qn.length; Ir++) {
|
|
881
881
|
var Yi = Qn[Ir], gr = Qn[yi];
|
|
882
882
|
if (Yi && Ir !== yi) if (gr) {
|
|
883
|
-
var
|
|
884
|
-
if (
|
|
883
|
+
var Rs = W(Yi), Ya = W(gr);
|
|
884
|
+
if (Rs !== Yi.ownerDocument) if (Ya !== Yi.ownerDocument) if (Rs !== Ya) {
|
|
885
885
|
ur = ur.length ? ur : H(gr);
|
|
886
886
|
var ml = void 0;
|
|
887
887
|
if (gr instanceof P.HTMLElement && Yi instanceof P.SVGElement && !(Yi instanceof P.SVGSVGElement)) {
|
|
@@ -946,8 +946,8 @@ function Sge() {
|
|
|
946
946
|
if (ur === "pointer") {
|
|
947
947
|
var Ir = we(Un, Qn, "drag"), Yi = ve(xn);
|
|
948
948
|
Yi.x += Ir.x, Yi.y += Ir.y;
|
|
949
|
-
var gr = Yi.x > vi.left && Yi.x < vi.right,
|
|
950
|
-
Ri = gr &&
|
|
949
|
+
var gr = Yi.x > vi.left && Yi.x < vi.right, Rs = Yi.y > vi.top && Yi.y < vi.bottom;
|
|
950
|
+
Ri = gr && Rs;
|
|
951
951
|
}
|
|
952
952
|
var Ya = Un.getRect(Qn);
|
|
953
953
|
if (Ya && ur === "center") {
|
|
@@ -1600,12 +1600,12 @@ function Sge() {
|
|
|
1600
1600
|
return ne.interactable = "", ne.element = "", ne.prepared = "", ne.pointerIsDown = "", ne.pointerWasMoved = "", ne._proxy = "", ne;
|
|
1601
1601
|
})({}), Eo = (function(ne) {
|
|
1602
1602
|
return ne.start = "", ne.move = "", ne.end = "", ne.stop = "", ne.interacting = "", ne;
|
|
1603
|
-
})({}),
|
|
1603
|
+
})({}), hs = 0, yc = (function() {
|
|
1604
1604
|
function ne(ee) {
|
|
1605
1605
|
var he = this, Ce = ee.pointerType, Oe = ee.scopeFire;
|
|
1606
1606
|
a(this, ne), this.interactable = null, this.element = null, this.rect = null, this._rects = void 0, this.edges = null, this._scopeFire = void 0, this.prepared = { name: null, axis: null, edges: null }, this.pointerType = void 0, this.pointers = [], this.downEvent = null, this.downPointer = {}, this._latestPointer = { pointer: null, event: null, eventTarget: null }, this.prevEvent = null, this.pointerIsDown = !1, this.pointerWasMoved = !1, this._interacting = !1, this._ending = !1, this._stopped = !0, this._proxy = void 0, this.simulation = null, this.doMove = Et((function(wt) {
|
|
1607
1607
|
this.move(wt);
|
|
1608
|
-
}), "The interaction.doMove() method has been renamed to interaction.move()"), this.coords = { start: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, prev: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, cur: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, delta: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, velocity: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 } }, this._id =
|
|
1608
|
+
}), "The interaction.doMove() method has been renamed to interaction.move()"), this.coords = { start: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, prev: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, cur: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, delta: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 }, velocity: { page: { x: 0, y: 0 }, client: { x: 0, y: 0 }, timeStamp: 0 } }, this._id = hs++, this._scopeFire = Oe, this.pointerType = Ce;
|
|
1609
1609
|
var Ge = this;
|
|
1610
1610
|
this._proxy = {};
|
|
1611
1611
|
var tt = function(wt) {
|
|
@@ -1913,8 +1913,8 @@ function Sge() {
|
|
|
1913
1913
|
}
|
|
1914
1914
|
function ct(wt, nn, xn, jn) {
|
|
1915
1915
|
if (wt.addEventListener && wt.removeEventListener) {
|
|
1916
|
-
var Un = Rt(he, (function(
|
|
1917
|
-
return
|
|
1916
|
+
var Un = Rt(he, (function(Rs) {
|
|
1917
|
+
return Rs.eventTarget === wt;
|
|
1918
1918
|
})), Qn = he[Un];
|
|
1919
1919
|
if (Qn && Qn.events) if (nn !== "all") {
|
|
1920
1920
|
var yi = !1, vi = Qn.events[nn];
|
|
@@ -1946,8 +1946,8 @@ function Sge() {
|
|
|
1946
1946
|
var Yi = Ri.listeners;
|
|
1947
1947
|
jn.currentTarget = yi;
|
|
1948
1948
|
for (var gr = 0; gr < Yi.length; gr++) {
|
|
1949
|
-
var
|
|
1950
|
-
na(
|
|
1949
|
+
var Rs = Yi[gr];
|
|
1950
|
+
na(Rs.options, xn) && Rs.func(jn);
|
|
1951
1951
|
}
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
@@ -2468,8 +2468,8 @@ function Sge() {
|
|
|
2468
2468
|
(vi = w.func(yi) ? yi(xn, jn, ee._proxy, nn, Un) : yi) && xt.push({ x: (w.number(vi.x) ? vi.x : xn) + nn.x, y: (w.number(vi.y) ? vi.y : jn) + nn.y, range: w.number(vi.range) ? vi.range : Oe.range, source: yi, index: Un, offset: nn });
|
|
2469
2469
|
}
|
|
2470
2470
|
for (var Ri = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, ur = 0; ur < xt.length; ur++) {
|
|
2471
|
-
var Ir = xt[ur], Yi = Ir.range, gr = Ir.x - ct.x,
|
|
2472
|
-
Yi === 1 / 0 && Ri.inRange && Ri.range !== 1 / 0 && (ml = !1), Ri.target && !(ml ? Ri.inRange && Yi !== 1 / 0 ? Ya / Yi < Ri.distance / Ri.range : Yi === 1 / 0 && Ri.range !== 1 / 0 || Ya < Ri.distance : !Ri.inRange && Ya < Ri.distance) || (Ri.target = Ir, Ri.distance = Ya, Ri.range = Yi, Ri.inRange = ml, Ri.delta.x = gr, Ri.delta.y =
|
|
2471
|
+
var Ir = xt[ur], Yi = Ir.range, gr = Ir.x - ct.x, Rs = Ir.y - ct.y, Ya = ce(gr, Rs), ml = Ya <= Yi;
|
|
2472
|
+
Yi === 1 / 0 && Ri.inRange && Ri.range !== 1 / 0 && (ml = !1), Ri.target && !(ml ? Ri.inRange && Yi !== 1 / 0 ? Ya / Yi < Ri.distance / Ri.range : Yi === 1 / 0 && Ri.range !== 1 / 0 || Ya < Ri.distance : !Ri.inRange && Ya < Ri.distance) || (Ri.target = Ir, Ri.distance = Ya, Ri.range = Yi, Ri.inRange = ml, Ri.delta.x = gr, Ri.delta.y = Rs);
|
|
2473
2473
|
}
|
|
2474
2474
|
return Ri.inRange && (he.x = Ri.target.x, he.y = Ri.target.y), Ce.closest = Ri, Ri;
|
|
2475
2475
|
}, defaults: { range: 1 / 0, targets: null, offset: null, offsetWithOrigin: !0, origin: null, relativePoints: null, endOnly: !1, enabled: !1 } }, _c = ii(M0, "snap"), Jh = { start: function(ne) {
|
|
@@ -2682,12 +2682,12 @@ function Sge() {
|
|
|
2682
2682
|
} };
|
|
2683
2683
|
})({ page: { x: Qn.x, y: Qn.y }, client: { x: Qn.x, y: Qn.y }, timeStamp: Ge.now() });
|
|
2684
2684
|
jn = (function(vi, Ri, ur, Ir, Yi) {
|
|
2685
|
-
var gr = vi.interactions.new({ pointerType: "reflow" }),
|
|
2686
|
-
gr.interactable = Ri, gr.element = ur, gr.prevEvent = Yi, gr.updatePointer(Yi, Yi, ur, !0), be(gr.coords.delta), Lt(gr.prepared, Ir), gr._doPhase(
|
|
2685
|
+
var gr = vi.interactions.new({ pointerType: "reflow" }), Rs = { interaction: gr, event: Yi, pointer: Yi, eventTarget: ur, phase: "reflow" };
|
|
2686
|
+
gr.interactable = Ri, gr.element = ur, gr.prevEvent = Yi, gr.updatePointer(Yi, Yi, ur, !0), be(gr.coords.delta), Lt(gr.prepared, Ir), gr._doPhase(Rs);
|
|
2687
2687
|
var Ya = vi.window, ml = Ya.Promise, qc = ml ? new ml((function(Jo) {
|
|
2688
2688
|
gr._reflowResolve = Jo;
|
|
2689
2689
|
})) : void 0;
|
|
2690
|
-
return gr._reflowPromise = qc, gr.start(Ir, Ri, ur), gr._interacting ? (gr.move(
|
|
2690
|
+
return gr._reflowPromise = qc, gr.start(Ir, Ri, ur), gr._interacting ? (gr.move(Rs), gr.end(Yi)) : (gr.stop(), gr._reflowResolve()), gr.removePointer(Yi, Yi), qc;
|
|
2691
2691
|
})(Ge, Ce, nn, Oe, yi);
|
|
2692
2692
|
}
|
|
2693
2693
|
xt && xt.push(jn);
|
|
@@ -3324,7 +3324,7 @@ const zx = /* @__PURE__ */ Nt({
|
|
|
3324
3324
|
h: a.placeholder.h,
|
|
3325
3325
|
i: a.placeholder.i
|
|
3326
3326
|
}, null, 8, ["x", "y", "w", "h", "i"]), [
|
|
3327
|
-
[
|
|
3327
|
+
[_s, a.isDragging]
|
|
3328
3328
|
])
|
|
3329
3329
|
], 4));
|
|
3330
3330
|
}
|
|
@@ -3351,7 +3351,7 @@ const Tge = /\{([0-9a-zA-Z]+)\}/g;
|
|
|
3351
3351
|
function JA(n, ...e) {
|
|
3352
3352
|
return e.length === 1 && ua(e[0]) && (e = e[0]), (!e || !e.hasOwnProperty) && (e = {}), n.replace(Tge, (t, i) => e.hasOwnProperty(i) ? e[i] : "");
|
|
3353
3353
|
}
|
|
3354
|
-
const Rf = (n, e = !1) => e ? Symbol.for(n) : Symbol(n), Ege = (n, e, t) => Mge({ l: n, k: e, s: t }), Mge = (n) => JSON.stringify(n).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"),
|
|
3354
|
+
const Rf = (n, e = !1) => e ? Symbol.for(n) : Symbol(n), Ege = (n, e, t) => Mge({ l: n, k: e, s: t }), Mge = (n) => JSON.stringify(n).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), Us = (n) => typeof n == "number" && isFinite(n), Lge = (n) => qN(n) === "[object Date]", JS = (n) => qN(n) === "[object RegExp]", QA = (n) => la(n) && Object.keys(n).length === 0, js = Object.assign, Dge = Object.create, ka = (n = null) => Dge(n);
|
|
3355
3355
|
let YH;
|
|
3356
3356
|
const f3 = () => YH || (YH = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : typeof global != "undefined" ? global : ka());
|
|
3357
3357
|
function WH(n) {
|
|
@@ -3374,7 +3374,7 @@ const Pge = Object.prototype.hasOwnProperty;
|
|
|
3374
3374
|
function W1(n, e) {
|
|
3375
3375
|
return Pge.call(n, e);
|
|
3376
3376
|
}
|
|
3377
|
-
const
|
|
3377
|
+
const xs = Array.isArray, uo = (n) => typeof n == "function", Mi = (n) => typeof n == "string", Yo = (n) => typeof n == "boolean", ua = (n) => n !== null && typeof n == "object", Ige = (n) => ua(n) && uo(n.then) && uo(n.catch), Zie = Object.prototype.toString, qN = (n) => Zie.call(n), la = (n) => qN(n) === "[object Object]", Rge = (n) => n == null ? "" : xs(n) || la(n) && n.toString === Zie ? JSON.stringify(n, null, 2) : String(n);
|
|
3378
3378
|
function KN(n, e = "") {
|
|
3379
3379
|
return n.reduce((t, i, r) => r === 0 ? t + i : t + e + i, "");
|
|
3380
3380
|
}
|
|
@@ -3424,7 +3424,7 @@ function Nge() {
|
|
|
3424
3424
|
}
|
|
3425
3425
|
};
|
|
3426
3426
|
}
|
|
3427
|
-
const Ny = (n) => !ua(n) ||
|
|
3427
|
+
const Ny = (n) => !ua(n) || xs(n);
|
|
3428
3428
|
function Bx(n, e) {
|
|
3429
3429
|
if (Ny(n) || Ny(e))
|
|
3430
3430
|
throw new Error("Invalid value");
|
|
@@ -4067,7 +4067,7 @@ function $ge(n = {}) {
|
|
|
4067
4067
|
return y.currentType === 13 ? S : p(g, b, _, S);
|
|
4068
4068
|
}
|
|
4069
4069
|
function m(g) {
|
|
4070
|
-
const y = qge(g,
|
|
4070
|
+
const y = qge(g, js({}, n)), b = y.context(), _ = r(0, b.offset, b.startLoc);
|
|
4071
4071
|
return e && _.loc && (_.loc.source = g), _.body = v(y), n.onCacheKey && (_.cacheKey = n.onCacheKey(g)), b.currentType !== 13 && i(y, ir.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, g[b.offset] || ""), a(_, y.currentOffset(), y.currentPosition()), _;
|
|
4072
4072
|
}
|
|
4073
4073
|
return { parse: m };
|
|
@@ -4367,7 +4367,7 @@ const u4e = (n, e = {}) => {
|
|
|
4367
4367
|
};
|
|
4368
4368
|
};
|
|
4369
4369
|
function d4e(n, e = {}) {
|
|
4370
|
-
const t =
|
|
4370
|
+
const t = js({}, e), i = !!t.jit, r = !!t.minify, a = t.optimize == null ? !0 : t.optimize, s = $ge(t).parse(n);
|
|
4371
4371
|
return i ? (a && n4e(s), r && ng(s), { ast: s, code: "" }) : (t4e(s, t), u4e(s, t));
|
|
4372
4372
|
}
|
|
4373
4373
|
function f4e() {
|
|
@@ -4483,9 +4483,9 @@ function OP(n, e) {
|
|
|
4483
4483
|
}
|
|
4484
4484
|
case 5: {
|
|
4485
4485
|
const i = e;
|
|
4486
|
-
if (W1(i, "i") &&
|
|
4486
|
+
if (W1(i, "i") && Us(i.i))
|
|
4487
4487
|
return n.interpolate(n.list(i.i));
|
|
4488
|
-
if (W1(i, "index") &&
|
|
4488
|
+
if (W1(i, "index") && Us(i.index))
|
|
4489
4489
|
return n.interpolate(n.list(i.index));
|
|
4490
4490
|
throw i6(t);
|
|
4491
4491
|
}
|
|
@@ -4599,7 +4599,7 @@ function $H(n) {
|
|
|
4599
4599
|
function O4e(n, e, t) {
|
|
4600
4600
|
return [.../* @__PURE__ */ new Set([
|
|
4601
4601
|
t,
|
|
4602
|
-
...
|
|
4602
|
+
...xs(e) ? e : ua(e) ? Object.keys(e) : Mi(e) ? [e] : [t]
|
|
4603
4603
|
])];
|
|
4604
4604
|
}
|
|
4605
4605
|
function rre(n, e, t) {
|
|
@@ -4609,10 +4609,10 @@ function rre(n, e, t) {
|
|
|
4609
4609
|
if (!a) {
|
|
4610
4610
|
a = [];
|
|
4611
4611
|
let o = [t];
|
|
4612
|
-
for (;
|
|
4612
|
+
for (; xs(o); )
|
|
4613
4613
|
o = ej(a, o, e);
|
|
4614
|
-
const s =
|
|
4615
|
-
o = Mi(s) ? [s] : s,
|
|
4614
|
+
const s = xs(e) || !la(e) ? e : e.default ? e.default : null;
|
|
4615
|
+
o = Mi(s) ? [s] : s, xs(o) && ej(a, o, !1), r.__localeChainCache.set(i, a);
|
|
4616
4616
|
}
|
|
4617
4617
|
return a;
|
|
4618
4618
|
}
|
|
@@ -4638,7 +4638,7 @@ function I4e(n, e, t) {
|
|
|
4638
4638
|
if (!n.includes(e) && (i = !0, e)) {
|
|
4639
4639
|
i = e[e.length - 1] !== "!";
|
|
4640
4640
|
const r = e.replace(/!/g, "");
|
|
4641
|
-
n.push(r), (
|
|
4641
|
+
n.push(r), (xs(t) || la(t)) && t[r] && (i = t[r]);
|
|
4642
4642
|
}
|
|
4643
4643
|
return i;
|
|
4644
4644
|
}
|
|
@@ -4981,7 +4981,7 @@ const ij = (n) => {
|
|
|
4981
4981
|
}, J4e = () => cre;
|
|
4982
4982
|
let rj = 0;
|
|
4983
4983
|
function Q4e(n = {}) {
|
|
4984
|
-
const e = uo(n.onWarn) ? n.onWarn : If, t = Mi(n.version) ? n.version : G4e, i = Mi(n.locale) || uo(n.locale) ? n.locale : QS, r = uo(i) ? QS : i, a =
|
|
4984
|
+
const e = uo(n.onWarn) ? n.onWarn : If, t = Mi(n.version) ? n.version : G4e, i = Mi(n.locale) || uo(n.locale) ? n.locale : QS, r = uo(i) ? QS : i, a = xs(n.fallbackLocale) || la(n.fallbackLocale) || Mi(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : r, o = la(n.messages) ? n.messages : sE(r), s = la(n.datetimeFormats) ? n.datetimeFormats : sE(r), l = la(n.numberFormats) ? n.numberFormats : sE(r), c = js(ka(), n.modifiers, Y4e()), u = n.pluralRules || ka(), d = uo(n.missing) ? n.missing : null, f = Yo(n.missingWarn) || JS(n.missingWarn) ? n.missingWarn : !0, h = Yo(n.fallbackWarn) || JS(n.fallbackWarn) ? n.fallbackWarn : !0, p = !!n.fallbackFormat, v = !!n.unresolving, m = uo(n.postTranslation) ? n.postTranslation : null, g = la(n.processor) ? n.processor : null, y = Yo(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, b = !!n.escapeParameter, _ = uo(n.messageCompiler) ? n.messageCompiler : are;
|
|
4985
4985
|
process.env.NODE_ENV !== "production" && uo(n.messageCompiler) && Cge(j3(Oc.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
4986
4986
|
const S = uo(n.messageResolver) ? n.messageResolver : ore || V4e, x = uo(n.localeFallbacker) ? n.localeFallbacker : sre || O4e, w = ua(n.fallbackContext) ? n.fallbackContext : void 0, A = n, T = ua(A.__datetimeFormatters) ? A.__datetimeFormatters : /* @__PURE__ */ new Map(), C = ua(A.__numberFormatters) ? A.__numberFormatters : /* @__PURE__ */ new Map(), E = ua(A.__meta) ? A.__meta : {};
|
|
4987
4987
|
rj++;
|
|
@@ -5092,7 +5092,7 @@ function oj(n, ...e) {
|
|
|
5092
5092
|
let w = `${y}__${l}`;
|
|
5093
5093
|
QA(d) || (w = `${w}__${JSON.stringify(d)}`);
|
|
5094
5094
|
let A = s.get(w);
|
|
5095
|
-
return A || (A = new Intl.DateTimeFormat(y,
|
|
5095
|
+
return A || (A = new Intl.DateTimeFormat(y, js({}, b, d)), s.set(w, A)), p ? A.formatToParts(c) : A.format(c);
|
|
5096
5096
|
}
|
|
5097
5097
|
const hre = [
|
|
5098
5098
|
"localeMatcher",
|
|
@@ -5134,7 +5134,7 @@ function PP(...n) {
|
|
|
5134
5134
|
if (isNaN(e.getTime()))
|
|
5135
5135
|
throw tf(Cl.INVALID_DATE_ARGUMENT);
|
|
5136
5136
|
s = e;
|
|
5137
|
-
} else if (
|
|
5137
|
+
} else if (Us(e))
|
|
5138
5138
|
s = e;
|
|
5139
5139
|
else
|
|
5140
5140
|
throw tf(Cl.INVALID_ARGUMENT);
|
|
@@ -5186,7 +5186,7 @@ function lj(n, ...e) {
|
|
|
5186
5186
|
let w = `${y}__${l}`;
|
|
5187
5187
|
QA(d) || (w = `${w}__${JSON.stringify(d)}`);
|
|
5188
5188
|
let A = s.get(w);
|
|
5189
|
-
return A || (A = new Intl.NumberFormat(y,
|
|
5189
|
+
return A || (A = new Intl.NumberFormat(y, js({}, b, d)), s.set(w, A)), p ? A.formatToParts(c) : A.format(c);
|
|
5190
5190
|
}
|
|
5191
5191
|
const pre = [
|
|
5192
5192
|
"localeMatcher",
|
|
@@ -5213,7 +5213,7 @@ const pre = [
|
|
|
5213
5213
|
function IP(...n) {
|
|
5214
5214
|
const [e, t, i, r] = n, a = ka();
|
|
5215
5215
|
let o = ka();
|
|
5216
|
-
if (!
|
|
5216
|
+
if (!Us(e))
|
|
5217
5217
|
throw tf(Cl.INVALID_ARGUMENT);
|
|
5218
5218
|
const s = e;
|
|
5219
5219
|
return Mi(t) ? a.key = t : la(t) && Object.keys(t).forEach((l) => {
|
|
@@ -5232,15 +5232,15 @@ function uj(n, e) {
|
|
|
5232
5232
|
return n = Math.abs(n), e === 2 ? n ? n > 1 ? 1 : 0 : 1 : n ? Math.min(n, 2) : 0;
|
|
5233
5233
|
}
|
|
5234
5234
|
function a5e(n) {
|
|
5235
|
-
const e =
|
|
5236
|
-
return n.named && (
|
|
5235
|
+
const e = Us(n.pluralIndex) ? n.pluralIndex : -1;
|
|
5236
|
+
return n.named && (Us(n.named.count) || Us(n.named.n)) ? Us(n.named.count) ? n.named.count : Us(n.named.n) ? n.named.n : e : e;
|
|
5237
5237
|
}
|
|
5238
5238
|
function o5e(n, e) {
|
|
5239
5239
|
e.count || (e.count = n), e.n || (e.n = n);
|
|
5240
5240
|
}
|
|
5241
5241
|
function s5e(n = {}) {
|
|
5242
5242
|
const e = n.locale, t = a5e(n), i = ua(n.pluralRules) && Mi(e) && uo(n.pluralRules[e]) ? n.pluralRules[e] : uj, r = ua(n.pluralRules) && Mi(e) && uo(n.pluralRules[e]) ? uj : void 0, a = (g) => g[i(t, g.length, r)], o = n.list || [], s = (g) => o[g], l = n.named || ka();
|
|
5243
|
-
|
|
5243
|
+
Us(n.pluralIndex) && o5e(t, l);
|
|
5244
5244
|
const c = (g) => l[g];
|
|
5245
5245
|
function u(g, y) {
|
|
5246
5246
|
const b = uo(n.messages) ? n.messages(g, !!y) : ua(n.messages) ? n.messages[g] : !1;
|
|
@@ -5256,7 +5256,7 @@ function s5e(n = {}) {
|
|
|
5256
5256
|
y.length === 1 ? ua(b) ? (x = b.modifier || x, S = b.type || S) : Mi(b) && (x = b || x) : y.length === 2 && (Mi(b) && (x = b || x), Mi(_) && (S = _ || S));
|
|
5257
5257
|
const w = u(g, !0)(m), A = (
|
|
5258
5258
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
5259
|
-
S === "vnode" &&
|
|
5259
|
+
S === "vnode" && xs(w) && x ? w[0] : w
|
|
5260
5260
|
);
|
|
5261
5261
|
return x ? d(x)(A, S) : A;
|
|
5262
5262
|
},
|
|
@@ -5264,7 +5264,7 @@ function s5e(n = {}) {
|
|
|
5264
5264
|
type: p,
|
|
5265
5265
|
interpolate: h,
|
|
5266
5266
|
normalize: f,
|
|
5267
|
-
values:
|
|
5267
|
+
values: js(ka(), o, l)
|
|
5268
5268
|
};
|
|
5269
5269
|
return m;
|
|
5270
5270
|
}
|
|
@@ -5297,12 +5297,12 @@ function fj(n, ...e) {
|
|
|
5297
5297
|
format: Mi(_) ? _ : Bu(_) ? _.source : "",
|
|
5298
5298
|
message: M
|
|
5299
5299
|
};
|
|
5300
|
-
I.meta =
|
|
5300
|
+
I.meta = js({}, n.__meta, /* @__PURE__ */ K4e() || {}), E4e(I);
|
|
5301
5301
|
}
|
|
5302
5302
|
return M;
|
|
5303
5303
|
}
|
|
5304
5304
|
function l5e(n) {
|
|
5305
|
-
|
|
5305
|
+
xs(n.list) ? n.list = n.list.map((e) => Mi(e) ? WH(e) : e) : ua(n.named) && Object.keys(n.named).forEach((e) => {
|
|
5306
5306
|
Mi(n.named[e]) && (n.named[e] = WH(n.named[e]));
|
|
5307
5307
|
});
|
|
5308
5308
|
}
|
|
@@ -5394,10 +5394,10 @@ function c5e(n, e, t) {
|
|
|
5394
5394
|
}
|
|
5395
5395
|
function RP(...n) {
|
|
5396
5396
|
const [e, t, i] = n, r = ka();
|
|
5397
|
-
if (!Mi(e) && !
|
|
5397
|
+
if (!Mi(e) && !Us(e) && !Bu(e) && !J1(e))
|
|
5398
5398
|
throw tf(Cl.INVALID_ARGUMENT);
|
|
5399
|
-
const a =
|
|
5400
|
-
return
|
|
5399
|
+
const a = Us(e) ? String(e) : (Bu(e), e);
|
|
5400
|
+
return Us(t) ? r.plural = t : Mi(t) ? r.default = t : la(t) && !QA(t) ? r.named = t : xs(t) && (r.list = t), Us(i) ? r.plural = i : Mi(i) ? r.default = i : la(i) && js(r, i), [a, r];
|
|
5401
5401
|
}
|
|
5402
5402
|
function u5e(n, e, t, i, r, a) {
|
|
5403
5403
|
return {
|
|
@@ -5455,7 +5455,7 @@ function f5e(n, e, t, i) {
|
|
|
5455
5455
|
} else return Bu(v) ? v : dj;
|
|
5456
5456
|
}
|
|
5457
5457
|
};
|
|
5458
|
-
return n.processor && (f.processor = n.processor), i.list && (f.list = i.list), i.named && (f.named = i.named),
|
|
5458
|
+
return n.processor && (f.processor = n.processor), i.list && (f.list = i.list), i.named && (f.named = i.named), Us(i.plural) && (f.pluralIndex = i.plural), f;
|
|
5459
5459
|
}
|
|
5460
5460
|
f4e();
|
|
5461
5461
|
const h5e = "10.0.8";
|
|
@@ -5544,8 +5544,8 @@ function o6(n) {
|
|
|
5544
5544
|
return n;
|
|
5545
5545
|
}
|
|
5546
5546
|
function yre(n, e) {
|
|
5547
|
-
const { messages: t, __i18n: i, messageResolver: r, flatJson: a } = e, o = la(t) ? t :
|
|
5548
|
-
if (
|
|
5547
|
+
const { messages: t, __i18n: i, messageResolver: r, flatJson: a } = e, o = la(t) ? t : xs(i) ? ka() : { [n]: ka() };
|
|
5548
|
+
if (xs(i) && i.forEach((s) => {
|
|
5549
5549
|
if ("locale" in s && "resource" in s) {
|
|
5550
5550
|
const { locale: l, resource: c } = s;
|
|
5551
5551
|
l ? (o[l] = o[l] || ka(), Bx(c, o[l])) : Bx(c, o);
|
|
@@ -5605,7 +5605,7 @@ function x5e(n = {}) {
|
|
|
5605
5605
|
e && o ? e.locale.value : Mi(n.locale) ? n.locale : QS
|
|
5606
5606
|
), l = a(
|
|
5607
5607
|
// prettier-ignore
|
|
5608
|
-
e && o ? e.fallbackLocale.value : Mi(n.fallbackLocale) ||
|
|
5608
|
+
e && o ? e.fallbackLocale.value : Mi(n.fallbackLocale) || xs(n.fallbackLocale) || la(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : s.value
|
|
5609
5609
|
), c = a(yre(s.value, n)), u = a(la(n.datetimeFormats) ? n.datetimeFormats : { [s.value]: {} }), d = a(la(n.numberFormats) ? n.numberFormats : { [s.value]: {} });
|
|
5610
5610
|
let f = e ? e.missingWarn : Yo(n.missingWarn) || JS(n.missingWarn) ? n.missingWarn : !0, h = e ? e.fallbackWarn : Yo(n.fallbackWarn) || JS(n.fallbackWarn) ? n.fallbackWarn : !0, p = e ? e.fallbackRoot : Yo(n.fallbackRoot) ? n.fallbackRoot : !0, v = !!n.fallbackFormat, m = uo(n.missing) ? n.missing : null, g = uo(n.missing) ? gj(n.missing) : null, y = uo(n.postTranslation) ? n.postTranslation : null, b = e ? e.warnHtmlMessage : Yo(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, _ = !!n.escapeParameter;
|
|
5611
5611
|
const S = e ? e.modifiers : la(n.modifiers) ? n.modifiers : {};
|
|
@@ -5679,7 +5679,7 @@ function x5e(n = {}) {
|
|
|
5679
5679
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, i || (w.fallbackContext = void 0);
|
|
5680
5680
|
}
|
|
5681
5681
|
if (Qe !== "translate exists" && // for not `te` (e.g `t`)
|
|
5682
|
-
|
|
5682
|
+
Us(at) && at === $A || Qe === "translate exists" && !at) {
|
|
5683
5683
|
const [ot, $e] = Fe();
|
|
5684
5684
|
if (process.env.NODE_ENV !== "production" && e && Mi(ot) && z(Qe, $e) && (p && (eC(h, ot) || ure(f, ot)) && If(tF(h3.FALLBACK_TO_ROOT, {
|
|
5685
5685
|
key: ot,
|
|
@@ -5707,7 +5707,7 @@ function x5e(n = {}) {
|
|
|
5707
5707
|
const [Fe, Qe, bt] = ve;
|
|
5708
5708
|
if (bt && !ua(bt))
|
|
5709
5709
|
throw a6(Qs.INVALID_ARGUMENT);
|
|
5710
|
-
return W(Fe, Qe,
|
|
5710
|
+
return W(Fe, Qe, js({ resolvedMessage: !0 }, bt || {}));
|
|
5711
5711
|
}
|
|
5712
5712
|
function U(...ve) {
|
|
5713
5713
|
return B((Fe) => Reflect.apply(oj, null, [Fe, ...ve]), () => PP(...ve), "datetime format", (Fe) => Reflect.apply(Fe.d, Fe, [...ve]), () => $S, (Fe) => Mi(Fe));
|
|
@@ -5716,7 +5716,7 @@ function x5e(n = {}) {
|
|
|
5716
5716
|
return B((Fe) => Reflect.apply(lj, null, [Fe, ...ve]), () => IP(...ve), "number format", (Fe) => Reflect.apply(Fe.n, Fe, [...ve]), () => $S, (Fe) => Mi(Fe));
|
|
5717
5717
|
}
|
|
5718
5718
|
function q(ve) {
|
|
5719
|
-
return ve.map((Fe) => Mi(Fe) ||
|
|
5719
|
+
return ve.map((Fe) => Mi(Fe) || Us(Fe) || Yo(Fe) ? hj(String(Fe)) : Fe);
|
|
5720
5720
|
}
|
|
5721
5721
|
const le = {
|
|
5722
5722
|
normalize: q,
|
|
@@ -5733,13 +5733,13 @@ function x5e(n = {}) {
|
|
|
5733
5733
|
bt.processor = null;
|
|
5734
5734
|
}
|
|
5735
5735
|
return Qe;
|
|
5736
|
-
}, () => RP(...ve), "translate", (Fe) => Fe[kP](...ve), (Fe) => [hj(Fe)], (Fe) =>
|
|
5736
|
+
}, () => RP(...ve), "translate", (Fe) => Fe[kP](...ve), (Fe) => [hj(Fe)], (Fe) => xs(Fe));
|
|
5737
5737
|
}
|
|
5738
5738
|
function re(...ve) {
|
|
5739
|
-
return B((Fe) => Reflect.apply(lj, null, [Fe, ...ve]), () => IP(...ve), "number format", (Fe) => Fe[FP](...ve), vj, (Fe) => Mi(Fe) ||
|
|
5739
|
+
return B((Fe) => Reflect.apply(lj, null, [Fe, ...ve]), () => IP(...ve), "number format", (Fe) => Fe[FP](...ve), vj, (Fe) => Mi(Fe) || xs(Fe));
|
|
5740
5740
|
}
|
|
5741
5741
|
function ae(...ve) {
|
|
5742
|
-
return B((Fe) => Reflect.apply(oj, null, [Fe, ...ve]), () => PP(...ve), "datetime format", (Fe) => Fe[NP](...ve), vj, (Fe) => Mi(Fe) ||
|
|
5742
|
+
return B((Fe) => Reflect.apply(oj, null, [Fe, ...ve]), () => PP(...ve), "datetime format", (Fe) => Fe[NP](...ve), vj, (Fe) => Mi(Fe) || xs(Fe));
|
|
5743
5743
|
}
|
|
5744
5744
|
function Q(ve) {
|
|
5745
5745
|
x = ve, w.pluralRules = x;
|
|
@@ -5795,7 +5795,7 @@ function x5e(n = {}) {
|
|
|
5795
5795
|
u.value[ve] = Fe, w.datetimeFormats = u.value, sj(w, ve, Fe);
|
|
5796
5796
|
}
|
|
5797
5797
|
function me(ve, Fe) {
|
|
5798
|
-
u.value[ve] =
|
|
5798
|
+
u.value[ve] = js(u.value[ve] || {}, Fe), w.datetimeFormats = u.value, sj(w, ve, Fe);
|
|
5799
5799
|
}
|
|
5800
5800
|
function pe(ve) {
|
|
5801
5801
|
return d.value[ve] || {};
|
|
@@ -5804,7 +5804,7 @@ function x5e(n = {}) {
|
|
|
5804
5804
|
d.value[ve] = Fe, w.numberFormats = d.value, cj(w, ve, Fe);
|
|
5805
5805
|
}
|
|
5806
5806
|
function ke(ve, Fe) {
|
|
5807
|
-
d.value[ve] =
|
|
5807
|
+
d.value[ve] = js(d.value[ve] || {}, Fe), w.numberFormats = d.value, cj(w, ve, Fe);
|
|
5808
5808
|
}
|
|
5809
5809
|
mj++, e && _f && (It(e.locale, (ve) => {
|
|
5810
5810
|
o && (s.value = ve, w.locale = ve, k5(w, s.value, l.value));
|
|
@@ -5919,36 +5919,36 @@ function S5e({ slots: n }, e) {
|
|
|
5919
5919
|
function _re() {
|
|
5920
5920
|
return Ke;
|
|
5921
5921
|
}
|
|
5922
|
-
|
|
5922
|
+
js({
|
|
5923
5923
|
keypath: {
|
|
5924
5924
|
type: String,
|
|
5925
5925
|
required: !0
|
|
5926
5926
|
},
|
|
5927
5927
|
plural: {
|
|
5928
5928
|
type: [Number, String],
|
|
5929
|
-
validator: (n) =>
|
|
5929
|
+
validator: (n) => Us(n) || !isNaN(n)
|
|
5930
5930
|
}
|
|
5931
5931
|
}, nF);
|
|
5932
5932
|
function w5e(n) {
|
|
5933
|
-
return
|
|
5933
|
+
return xs(n) && !Mi(n[0]);
|
|
5934
5934
|
}
|
|
5935
5935
|
function xre(n, e, t, i) {
|
|
5936
5936
|
const { slots: r, attrs: a } = e;
|
|
5937
5937
|
return () => {
|
|
5938
5938
|
const o = { part: !0 };
|
|
5939
5939
|
let s = ka();
|
|
5940
|
-
n.locale && (o.locale = n.locale), Mi(n.format) ? o.key = n.format : ua(n.format) && (Mi(n.format.key) && (o.key = n.format.key), s = Object.keys(n.format).reduce((f, h) => t.includes(h) ?
|
|
5940
|
+
n.locale && (o.locale = n.locale), Mi(n.format) ? o.key = n.format : ua(n.format) && (Mi(n.format.key) && (o.key = n.format.key), s = Object.keys(n.format).reduce((f, h) => t.includes(h) ? js(ka(), f, { [h]: n.format[h] }) : f, ka()));
|
|
5941
5941
|
const l = i(n.value, o, s);
|
|
5942
5942
|
let c = [o.key];
|
|
5943
|
-
|
|
5943
|
+
xs(l) ? c = l.map((f, h) => {
|
|
5944
5944
|
const p = r[f.type], v = p ? p({ [f.type]: f.value, index: h, parts: l }) : [f.value];
|
|
5945
5945
|
return w5e(v) && (v[0].key = `${f.type}-${h}`), v;
|
|
5946
5946
|
}) : Mi(l) && (c = [l]);
|
|
5947
|
-
const u =
|
|
5947
|
+
const u = js(ka(), a), d = Mi(n.tag) || ua(n.tag) ? n.tag : _re();
|
|
5948
5948
|
return sr(d, u, c);
|
|
5949
5949
|
};
|
|
5950
5950
|
}
|
|
5951
|
-
|
|
5951
|
+
js({
|
|
5952
5952
|
value: {
|
|
5953
5953
|
type: Number,
|
|
5954
5954
|
required: !0
|
|
@@ -5957,7 +5957,7 @@ Gs({
|
|
|
5957
5957
|
type: [String, Object]
|
|
5958
5958
|
}
|
|
5959
5959
|
}, nF);
|
|
5960
|
-
|
|
5960
|
+
js({
|
|
5961
5961
|
value: {
|
|
5962
5962
|
type: [Number, Date],
|
|
5963
5963
|
required: !0
|
|
@@ -5983,7 +5983,7 @@ function Ch(n = {}) {
|
|
|
5983
5983
|
const o = t;
|
|
5984
5984
|
let s = o.__getInstance(e);
|
|
5985
5985
|
if (s == null) {
|
|
5986
|
-
const l =
|
|
5986
|
+
const l = js({}, n);
|
|
5987
5987
|
"__i18n" in r && (l.__i18n = r.__i18n), i && (l.__root = i), s = x5e(l), o.__composerExtend && (s[VP] = o.__composerExtend(s)), D5e(o, e, s), o.__setInstance(e, s);
|
|
5988
5988
|
}
|
|
5989
5989
|
return s;
|
|
@@ -6976,7 +6976,7 @@ const N5e = /* @__PURE__ */ Nt({
|
|
|
6976
6976
|
};
|
|
6977
6977
|
}
|
|
6978
6978
|
}), r1 = /* @__PURE__ */ Gt(z5e, [["__scopeId", "data-v-b4303198"]]), B5e = "#000000", V5e = /* @__PURE__ */ new Set(["", "#fff", "#ffffff", "#FFF", "#FFFFFF"]);
|
|
6979
|
-
function
|
|
6979
|
+
function us(n) {
|
|
6980
6980
|
const e = de(() => {
|
|
6981
6981
|
var r;
|
|
6982
6982
|
return ((r = n.value) == null ? void 0 : r.panelBgTone) === "dark" ? "mixiot-panel--dark" : "mixiot-panel--light";
|
|
@@ -9618,9 +9618,9 @@ const nw = "".trim(), lC = (n) => n.replace(/\/$/, ""), fF = nw ? lC(
|
|
|
9618
9618
|
}, rh = X8e(fF), Z8e = rh, hE = (n) => {
|
|
9619
9619
|
const e = String(n || "");
|
|
9620
9620
|
return e.includes(rh) || e.includes("/yunuis/api") || e.includes("yunui.mixyun.top");
|
|
9621
|
-
}, q8e = nw ? `${lC(fF)}/http/file/upload` : "/http/file/upload",
|
|
9621
|
+
}, q8e = nw ? `${lC(fF)}/http/file/upload` : "/http/file/upload", Ys = nw ? lC(fF) : "";
|
|
9622
9622
|
var yie;
|
|
9623
|
-
(
|
|
9623
|
+
(Ys || (typeof window != "undefined" && ((yie = window.location) != null && yie.origin) ? window.location.origin : "")).toString().replace(/\/$/, "");
|
|
9624
9624
|
const K8e = [40102, 10402, 401, 403, 1102], cC = "data_permission", Vy = {
|
|
9625
9625
|
object: "mapping.object",
|
|
9626
9626
|
statistics: "statistics.statistic",
|
|
@@ -13301,7 +13301,7 @@ const e7e = () => Xe(null, null, function* () {
|
|
|
13301
13301
|
return n.some((i) => qP(i, e));
|
|
13302
13302
|
const t = n;
|
|
13303
13303
|
return String(t.object_alias || "").trim() ? !0 : Object.values(t).some((i) => qP(i, e));
|
|
13304
|
-
},
|
|
13304
|
+
}, Ss = (n) => {
|
|
13305
13305
|
if (!n) return !1;
|
|
13306
13306
|
const { data: e = [], common: t = {} } = n;
|
|
13307
13307
|
return t.source === "calculate" ? Array.isArray(e) && e.length > 0 ? e.some((i) => i.uid && i.uid !== "") : !1 : t.object_id && t.object_id !== "" || t.object_alias && t.object_alias !== "" ? !0 : Array.isArray(e) && e.length > 0 ? e.some((i) => i.object_id && i.object_id !== "") : !1;
|
|
@@ -13382,7 +13382,7 @@ const e7e = () => Xe(null, null, function* () {
|
|
|
13382
13382
|
uid: r
|
|
13383
13383
|
};
|
|
13384
13384
|
return s7e[a.type](o);
|
|
13385
|
-
},
|
|
13385
|
+
}, ds = (n, e) => (n.history = e.map(() => []), n.all_data_group.forEach((t, i) => {
|
|
13386
13386
|
if (Array.isArray(t) && t.length)
|
|
13387
13387
|
t.forEach((r) => {
|
|
13388
13388
|
n.history[i].push({
|
|
@@ -16619,7 +16619,7 @@ function nye(n, e) {
|
|
|
16619
16619
|
function w8(n, e, t, i) {
|
|
16620
16620
|
return n[0] = e[0] + i * (t[0] - e[0]), n[1] = e[1] + i * (t[1] - e[1]), n;
|
|
16621
16621
|
}
|
|
16622
|
-
function
|
|
16622
|
+
function Gs(n, e, t) {
|
|
16623
16623
|
var i = e[0], r = e[1];
|
|
16624
16624
|
return n[0] = t[0] * i + t[2] * r + t[4], n[1] = t[1] * i + t[3] * r + t[5], n;
|
|
16625
16625
|
}
|
|
@@ -16632,7 +16632,7 @@ function af(n, e, t) {
|
|
|
16632
16632
|
const iye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16633
16633
|
__proto__: null,
|
|
16634
16634
|
add: $P,
|
|
16635
|
-
applyTransform:
|
|
16635
|
+
applyTransform: Gs,
|
|
16636
16636
|
clone: i0,
|
|
16637
16637
|
copy: wl,
|
|
16638
16638
|
create: Th,
|
|
@@ -17779,7 +17779,7 @@ function O2(n) {
|
|
|
17779
17779
|
function Sae(n) {
|
|
17780
17780
|
return n > lw || n < -lw;
|
|
17781
17781
|
}
|
|
17782
|
-
function
|
|
17782
|
+
function ms(n, e, t, i, r) {
|
|
17783
17783
|
var a = 1 - r;
|
|
17784
17784
|
return a * a * (a * n + 3 * r * e) + r * r * (r * i + 3 * a * t);
|
|
17785
17785
|
}
|
|
@@ -17839,20 +17839,20 @@ function Aae(n, e, t, i, r, a, o, s, l, c, u) {
|
|
|
17839
17839
|
var d, f = 5e-3, h = 1 / 0, p, v, m, g;
|
|
17840
17840
|
Yd[0] = l, Yd[1] = c;
|
|
17841
17841
|
for (var y = 0; y < 1; y += 0.05)
|
|
17842
|
-
Vu[0] =
|
|
17842
|
+
Vu[0] = ms(n, t, r, o, y), Vu[1] = ms(e, i, a, s, y), m = X2(Yd, Vu), m < h && (d = y, h = m);
|
|
17843
17843
|
h = 1 / 0;
|
|
17844
17844
|
for (var b = 0; b < 32 && !(f < xae); b++)
|
|
17845
|
-
p = d - f, v = d + f, Vu[0] =
|
|
17846
|
-
return u && (u[0] =
|
|
17845
|
+
p = d - f, v = d + f, Vu[0] = ms(n, t, r, o, p), Vu[1] = ms(e, i, a, s, p), m = X2(Vu, Yd), p >= 0 && m < h ? (d = p, h = m) : (Eg[0] = ms(n, t, r, o, v), Eg[1] = ms(e, i, a, s, v), g = X2(Eg, Yd), v <= 1 && g < h ? (d = v, h = g) : f *= 0.5);
|
|
17846
|
+
return u && (u[0] = ms(n, t, r, o, d), u[1] = ms(e, i, a, s, d)), Z2(h);
|
|
17847
17847
|
}
|
|
17848
17848
|
function Eye(n, e, t, i, r, a, o, s, l) {
|
|
17849
17849
|
for (var c = n, u = e, d = 0, f = 1 / l, h = 1; h <= l; h++) {
|
|
17850
|
-
var p = h * f, v =
|
|
17850
|
+
var p = h * f, v = ms(n, t, r, o, p), m = ms(e, i, a, s, p), g = v - c, y = m - u;
|
|
17851
17851
|
d += Math.sqrt(g * g + y * y), c = v, u = m;
|
|
17852
17852
|
}
|
|
17853
17853
|
return d;
|
|
17854
17854
|
}
|
|
17855
|
-
function
|
|
17855
|
+
function Bs(n, e, t, i) {
|
|
17856
17856
|
var r = 1 - i;
|
|
17857
17857
|
return r * (r * n + 2 * i * e) + i * i * t;
|
|
17858
17858
|
}
|
|
@@ -17890,28 +17890,28 @@ function Tae(n, e, t, i, r, a, o, s, l) {
|
|
|
17890
17890
|
var c, u = 5e-3, d = 1 / 0;
|
|
17891
17891
|
Yd[0] = o, Yd[1] = s;
|
|
17892
17892
|
for (var f = 0; f < 1; f += 0.05) {
|
|
17893
|
-
Vu[0] =
|
|
17893
|
+
Vu[0] = Bs(n, t, r, f), Vu[1] = Bs(e, i, a, f);
|
|
17894
17894
|
var h = X2(Yd, Vu);
|
|
17895
17895
|
h < d && (c = f, d = h);
|
|
17896
17896
|
}
|
|
17897
17897
|
d = 1 / 0;
|
|
17898
17898
|
for (var p = 0; p < 32 && !(u < xae); p++) {
|
|
17899
17899
|
var v = c - u, m = c + u;
|
|
17900
|
-
Vu[0] =
|
|
17900
|
+
Vu[0] = Bs(n, t, r, v), Vu[1] = Bs(e, i, a, v);
|
|
17901
17901
|
var h = X2(Vu, Yd);
|
|
17902
17902
|
if (v >= 0 && h < d)
|
|
17903
17903
|
c = v, d = h;
|
|
17904
17904
|
else {
|
|
17905
|
-
Eg[0] =
|
|
17905
|
+
Eg[0] = Bs(n, t, r, m), Eg[1] = Bs(e, i, a, m);
|
|
17906
17906
|
var g = X2(Eg, Yd);
|
|
17907
17907
|
m <= 1 && g < d ? (c = m, d = g) : u *= 0.5;
|
|
17908
17908
|
}
|
|
17909
17909
|
}
|
|
17910
|
-
return l && (l[0] =
|
|
17910
|
+
return l && (l[0] = Bs(n, t, r, c), l[1] = Bs(e, i, a, c)), Z2(d);
|
|
17911
17911
|
}
|
|
17912
17912
|
function Lye(n, e, t, i, r, a, o) {
|
|
17913
17913
|
for (var s = n, l = e, c = 0, u = 1 / o, d = 1; d <= o; d++) {
|
|
17914
|
-
var f = d * u, h =
|
|
17914
|
+
var f = d * u, h = Bs(n, t, r, f), p = Bs(e, i, a, f), v = h - s, m = p - l;
|
|
17915
17915
|
c += Math.sqrt(v * v + m * m), s = h, l = p;
|
|
17916
17916
|
}
|
|
17917
17917
|
return c;
|
|
@@ -17925,7 +17925,7 @@ function PF(n) {
|
|
|
17925
17925
|
return;
|
|
17926
17926
|
var s = [];
|
|
17927
17927
|
return function(l) {
|
|
17928
|
-
return l <= 0 ? 0 : l >= 1 ? 1 : cw(0, i, a, 1, l, s) &&
|
|
17928
|
+
return l <= 0 ? 0 : l >= 1 ? 1 : cw(0, i, a, 1, l, s) && ms(0, r, o, 1, s[0]);
|
|
17929
17929
|
};
|
|
17930
17930
|
}
|
|
17931
17931
|
}
|
|
@@ -19113,10 +19113,10 @@ var cp = [], Gv = [], ZE = Bc(), qE = Math.abs, of = (function() {
|
|
|
19113
19113
|
return e = e || [], t ? (e[0] = Math.sqrt(t[0] * t[0] + t[1] * t[1]), e[1] = Math.sqrt(t[2] * t[2] + t[3] * t[3]), t[0] < 0 && (e[0] = -e[0]), t[3] < 0 && (e[1] = -e[1]), e) : (e[0] = 1, e[1] = 1, e);
|
|
19114
19114
|
}, n.prototype.transformCoordToLocal = function(e, t) {
|
|
19115
19115
|
var i = [e, t], r = this.invTransform;
|
|
19116
|
-
return r &&
|
|
19116
|
+
return r && Gs(i, i, r), i;
|
|
19117
19117
|
}, n.prototype.transformCoordToGlobal = function(e, t) {
|
|
19118
19118
|
var i = [e, t], r = this.transform;
|
|
19119
|
-
return r &&
|
|
19119
|
+
return r && Gs(i, i, r), i;
|
|
19120
19120
|
}, n.prototype.getLineScale = function() {
|
|
19121
19121
|
var e = this.transform;
|
|
19122
19122
|
return e && qE(e[0] - 1) > 1e-10 && qE(e[3] - 1) > 1e-10 ? Math.sqrt(qE(e[0] * e[3] - e[2] * e[1])) : 1;
|
|
@@ -20979,7 +20979,7 @@ function YG(n, e, t, i, r, a) {
|
|
|
20979
20979
|
}
|
|
20980
20980
|
var WG = [], XG = [];
|
|
20981
20981
|
function f_e(n, e, t, i, r, a, o, s, l, c) {
|
|
20982
|
-
var u = wae, d =
|
|
20982
|
+
var u = wae, d = ms, f = u(n, t, r, o, WG);
|
|
20983
20983
|
l[0] = 1 / 0, l[1] = 1 / 0, c[0] = -1 / 0, c[1] = -1 / 0;
|
|
20984
20984
|
for (var h = 0; h < f; h++) {
|
|
20985
20985
|
var p = d(n, t, r, o, WG[h]);
|
|
@@ -20993,7 +20993,7 @@ function f_e(n, e, t, i, r, a, o, s, l, c) {
|
|
|
20993
20993
|
l[0] = Pc(n, l[0]), c[0] = Ic(n, c[0]), l[0] = Pc(o, l[0]), c[0] = Ic(o, c[0]), l[1] = Pc(e, l[1]), c[1] = Ic(e, c[1]), l[1] = Pc(s, l[1]), c[1] = Ic(s, c[1]);
|
|
20994
20994
|
}
|
|
20995
20995
|
function h_e(n, e, t, i, r, a, o, s) {
|
|
20996
|
-
var l = Cae, c =
|
|
20996
|
+
var l = Cae, c = Bs, u = Ic(Pc(l(n, t, r), 1), 0), d = Ic(Pc(l(e, i, a), 1), 0), f = c(n, t, r, u), h = c(e, i, a, d);
|
|
20997
20997
|
o[0] = Pc(n, r, f), o[1] = Pc(e, a, h), s[0] = Ic(n, r, f), s[1] = Ic(e, a, h);
|
|
20998
20998
|
}
|
|
20999
20999
|
function p_e(n, e, t, i, r, a, o, s, l) {
|
|
@@ -21379,8 +21379,8 @@ function __e(n, e, t, i, r, a, o, s, l, c) {
|
|
|
21379
21379
|
if (u === 0)
|
|
21380
21380
|
return 0;
|
|
21381
21381
|
for (var d = 0, f = -1, h = void 0, p = void 0, v = 0; v < u; v++) {
|
|
21382
|
-
var m = Jl[v], g = m === 0 || m === 1 ? 0.5 : 1, y =
|
|
21383
|
-
y < l || (f < 0 && (f = wae(e, i, a, s, Fu), Fu[1] < Fu[0] && f > 1 && b_e(), h =
|
|
21382
|
+
var m = Jl[v], g = m === 0 || m === 1 ? 0.5 : 1, y = ms(n, t, r, o, m);
|
|
21383
|
+
y < l || (f < 0 && (f = wae(e, i, a, s, Fu), Fu[1] < Fu[0] && f > 1 && b_e(), h = ms(e, i, a, s, Fu[0]), f > 1 && (p = ms(e, i, a, s, Fu[1]))), f === 2 ? m < Fu[0] ? d += h < e ? g : -g : m < Fu[1] ? d += p < h ? g : -g : d += s < p ? g : -g : m < Fu[0] ? d += h < e ? g : -g : d += s < h ? g : -g);
|
|
21384
21384
|
}
|
|
21385
21385
|
return d;
|
|
21386
21386
|
}
|
|
@@ -21392,13 +21392,13 @@ function x_e(n, e, t, i, r, a, o, s) {
|
|
|
21392
21392
|
return 0;
|
|
21393
21393
|
var c = Cae(e, i, a);
|
|
21394
21394
|
if (c >= 0 && c <= 1) {
|
|
21395
|
-
for (var u = 0, d =
|
|
21396
|
-
var h = Jl[f] === 0 || Jl[f] === 1 ? 0.5 : 1, p =
|
|
21395
|
+
for (var u = 0, d = Bs(e, i, a, c), f = 0; f < l; f++) {
|
|
21396
|
+
var h = Jl[f] === 0 || Jl[f] === 1 ? 0.5 : 1, p = Bs(n, t, r, Jl[f]);
|
|
21397
21397
|
p < o || (Jl[f] < c ? u += d < e ? h : -h : u += a < d ? h : -h);
|
|
21398
21398
|
}
|
|
21399
21399
|
return u;
|
|
21400
21400
|
} else {
|
|
21401
|
-
var h = Jl[0] === 0 || Jl[0] === 1 ? 0.5 : 1, p =
|
|
21401
|
+
var h = Jl[0] === 0 || Jl[0] === 1 ? 0.5 : 1, p = Bs(n, t, r, Jl[0]);
|
|
21402
21402
|
return p < o ? 0 : a < e ? h : -h;
|
|
21403
21403
|
}
|
|
21404
21404
|
}
|
|
@@ -21761,7 +21761,7 @@ var E_e = pi({
|
|
|
21761
21761
|
function L_e(n) {
|
|
21762
21762
|
return !!(n && typeof n != "string" && n.width && n.height);
|
|
21763
21763
|
}
|
|
21764
|
-
var
|
|
21764
|
+
var Is = (function(n) {
|
|
21765
21765
|
Yt(e, n);
|
|
21766
21766
|
function e() {
|
|
21767
21767
|
return n !== null && n.apply(this, arguments) || this;
|
|
@@ -21788,7 +21788,7 @@ var Rs = (function(n) {
|
|
|
21788
21788
|
return this._rect || (this._rect = new Hi(t.x || 0, t.y || 0, this.getWidth(), this.getHeight())), this._rect;
|
|
21789
21789
|
}, e;
|
|
21790
21790
|
})(o1);
|
|
21791
|
-
|
|
21791
|
+
Is.prototype.type = "image";
|
|
21792
21792
|
function D_e(n, e) {
|
|
21793
21793
|
var t = e.x, i = e.y, r = e.width, a = e.height, o = e.r, s, l, c, u;
|
|
21794
21794
|
r < 0 && (t = t + r, r = -r), a < 0 && (i = i + a, a = -a), typeof o == "number" ? s = l = c = u = o : o instanceof Array ? o.length === 1 ? s = l = c = u = o[0] : o.length === 2 ? (s = c = o[0], l = u = o[1]) : o.length === 3 ? (s = o[0], l = u = o[1], c = o[2]) : (s = o[0], l = o[1], c = o[2], u = o[3]) : s = l = c = u = 0;
|
|
@@ -21982,7 +21982,7 @@ var qG = {
|
|
|
21982
21982
|
var y = v.style;
|
|
21983
21983
|
y.fill = l || null, y.fillOpacity = Ii(t.fillOpacity, 1);
|
|
21984
21984
|
} else if (d) {
|
|
21985
|
-
m = this._getOrCreateChild(
|
|
21985
|
+
m = this._getOrCreateChild(Is), m.onload = function() {
|
|
21986
21986
|
p.dirtyStyle();
|
|
21987
21987
|
};
|
|
21988
21988
|
var b = m.style;
|
|
@@ -22419,11 +22419,11 @@ function xoe(n, e) {
|
|
|
22419
22419
|
t[o] *= y, t[o++] += m, t[o] *= b, t[o++] += g, t[o++] *= y, t[o++] *= b, t[o++] += _, t[o++] += _, o += 2, s = o;
|
|
22420
22420
|
break;
|
|
22421
22421
|
case h:
|
|
22422
|
-
c[0] = t[o++], c[1] = t[o++],
|
|
22422
|
+
c[0] = t[o++], c[1] = t[o++], Gs(c, c, e), t[s++] = c[0], t[s++] = c[1], c[0] += t[o++], c[1] += t[o++], Gs(c, c, e), t[s++] = c[0], t[s++] = c[1];
|
|
22423
22423
|
}
|
|
22424
22424
|
for (l = 0; l < a; l++) {
|
|
22425
22425
|
var S = exe[l];
|
|
22426
|
-
S[0] = t[o++], S[1] = t[o++],
|
|
22426
|
+
S[0] = t[o++], S[1] = t[o++], Gs(S, S, e), t[s++] = S[0], t[s++] = S[1];
|
|
22427
22427
|
}
|
|
22428
22428
|
}
|
|
22429
22429
|
n.increaseVersion();
|
|
@@ -22855,11 +22855,11 @@ var wc = [], _xe = /* @__PURE__ */ (function() {
|
|
|
22855
22855
|
function gY(n, e, t) {
|
|
22856
22856
|
var i = n.cpx2, r = n.cpy2;
|
|
22857
22857
|
return i != null || r != null ? [
|
|
22858
|
-
(t ? xG :
|
|
22859
|
-
(t ? xG :
|
|
22858
|
+
(t ? xG : ms)(n.x1, n.cpx1, n.cpx2, n.x2, e),
|
|
22859
|
+
(t ? xG : ms)(n.y1, n.cpy1, n.cpy2, n.y2, e)
|
|
22860
22860
|
] : [
|
|
22861
|
-
(t ? rI :
|
|
22862
|
-
(t ? rI :
|
|
22861
|
+
(t ? rI : Bs)(n.x1, n.cpx1, n.x2, e),
|
|
22862
|
+
(t ? rI : Bs)(n.y1, n.cpy1, n.y2, e)
|
|
22863
22863
|
];
|
|
22864
22864
|
}
|
|
22865
22865
|
var H4 = (function(n) {
|
|
@@ -23161,7 +23161,7 @@ function B7(n, e, t, i) {
|
|
|
23161
23161
|
return t && (i === "center" && (t = Ioe(t, r.getBoundingRect())), $F(r, t)), r;
|
|
23162
23162
|
}
|
|
23163
23163
|
function QF(n, e, t) {
|
|
23164
|
-
var i = new
|
|
23164
|
+
var i = new Is({
|
|
23165
23165
|
style: {
|
|
23166
23166
|
image: n,
|
|
23167
23167
|
x: e.x,
|
|
@@ -23214,7 +23214,7 @@ function K2(n, e) {
|
|
|
23214
23214
|
return t;
|
|
23215
23215
|
}
|
|
23216
23216
|
function ed(n, e, t) {
|
|
23217
|
-
return e && !sl(e) && (e = of.getLocalTransform(e)), t && (e = _v([], e)),
|
|
23217
|
+
return e && !sl(e) && (e = of.getLocalTransform(e)), t && (e = _v([], e)), Gs([], n, e);
|
|
23218
23218
|
}
|
|
23219
23219
|
function LC(n, e, t) {
|
|
23220
23220
|
var i = e[4] === 0 || e[5] === 0 || e[0] === 0 ? 1 : Math.abs(2 * e[4] / e[0]), r = e[4] === 0 || e[5] === 0 || e[2] === 0 ? 1 : Math.abs(2 * e[4] / e[2]), a = [n === "left" ? -i : n === "right" ? i : 0, n === "top" ? -r : n === "bottom" ? r : 0];
|
|
@@ -23284,7 +23284,7 @@ function G4(n, e, t) {
|
|
|
23284
23284
|
width: 2,
|
|
23285
23285
|
height: 2
|
|
23286
23286
|
}, n)
|
|
23287
|
-
return n.indexOf("image://") === 0 ? (r.image = n.slice(8), pi(r, t), new
|
|
23287
|
+
return n.indexOf("image://") === 0 ? (r.image = n.slice(8), pi(r, t), new Is(i)) : B7(n.replace("path://", ""), i, t, "center");
|
|
23288
23288
|
}
|
|
23289
23289
|
function q9(n, e, t, i, r) {
|
|
23290
23290
|
for (var a = 0, o = r[r.length - 1]; a < r.length; a++) {
|
|
@@ -23364,7 +23364,7 @@ const Sv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
23364
23364
|
CompoundPath: EC,
|
|
23365
23365
|
Ellipse: F7,
|
|
23366
23366
|
Group: Di,
|
|
23367
|
-
Image:
|
|
23367
|
+
Image: Is,
|
|
23368
23368
|
IncrementalDisplayable: Loe,
|
|
23369
23369
|
Line: as,
|
|
23370
23370
|
LinearGradient: ns,
|
|
@@ -23461,7 +23461,7 @@ function ul(n, e, t, i) {
|
|
|
23461
23461
|
} else l && (l.ignore = !0);
|
|
23462
23462
|
n.dirty();
|
|
23463
23463
|
}
|
|
23464
|
-
function
|
|
23464
|
+
function Ms(n, e) {
|
|
23465
23465
|
e = e || "label";
|
|
23466
23466
|
for (var t = {
|
|
23467
23467
|
normal: n.getModel(e)
|
|
@@ -26757,7 +26757,7 @@ var ewe = [0, 10, 20, 30], twe = ["", `
|
|
|
26757
26757
|
|
|
26758
26758
|
|
|
26759
26759
|
`];
|
|
26760
|
-
function
|
|
26760
|
+
function Ls(n, e) {
|
|
26761
26761
|
return e.type = n, e;
|
|
26762
26762
|
}
|
|
26763
26763
|
function zI(n) {
|
|
@@ -26910,13 +26910,13 @@ function Lse(n) {
|
|
|
26910
26910
|
} else
|
|
26911
26911
|
h = u = l ? s[0] : s;
|
|
26912
26912
|
var m = BF(e), g = m && e.name || "", y = r.getName(t), b = i ? g : y;
|
|
26913
|
-
return
|
|
26913
|
+
return Ls("section", {
|
|
26914
26914
|
header: g,
|
|
26915
26915
|
// When series name is not specified, do not show a header line with only '-'.
|
|
26916
26916
|
// This case always happens in tooltip.trigger: 'item'.
|
|
26917
26917
|
noHeader: i || !m,
|
|
26918
26918
|
sortParam: h,
|
|
26919
|
-
blocks: [
|
|
26919
|
+
blocks: [Ls("nameValue", {
|
|
26920
26920
|
markerType: "item",
|
|
26921
26921
|
markerColor: c,
|
|
26922
26922
|
// Do not mix display seriesName and itemName in one tooltip,
|
|
@@ -26941,7 +26941,7 @@ function lwe(n, e, t, i, r) {
|
|
|
26941
26941
|
}) : Ne(n, u);
|
|
26942
26942
|
function u(d, f) {
|
|
26943
26943
|
var h = a.getDimensionInfo(f);
|
|
26944
|
-
!h || h.otherDims.tooltip === !1 || (o ? c.push(
|
|
26944
|
+
!h || h.otherDims.tooltip === !1 || (o ? c.push(Ls("nameValue", {
|
|
26945
26945
|
markerType: "subItem",
|
|
26946
26946
|
markerColor: r,
|
|
26947
26947
|
name: h.displayName,
|
|
@@ -28449,7 +28449,7 @@ function x3(n, e, t, i) {
|
|
|
28449
28449
|
var u = e instanceof tr && e.autoBatch && aAe(e.style);
|
|
28450
28450
|
s || rAe(r, c.transform) ? (Rc(n, t), Use(n, e)) : u || Rc(n, t);
|
|
28451
28451
|
var d = A6(e, t.inHover);
|
|
28452
|
-
e instanceof tr ? (t.lastDrawType !== gW && (l = !0, t.lastDrawType = gW), mW(n, e, c, l, t), (!u || !t.batchFill && !t.batchStroke) && n.beginPath(), $we(n, e, d, u), u && (t.batchFill = d.fill || "", t.batchStroke = d.stroke || "")) : e instanceof e4 ? (t.lastDrawType !== bW && (l = !0, t.lastDrawType = bW), mW(n, e, c, l, t), tAe(n, e, d)) : e instanceof
|
|
28452
|
+
e instanceof tr ? (t.lastDrawType !== gW && (l = !0, t.lastDrawType = gW), mW(n, e, c, l, t), (!u || !t.batchFill && !t.batchStroke) && n.beginPath(), $we(n, e, d, u), u && (t.batchFill = d.fill || "", t.batchStroke = d.stroke || "")) : e instanceof e4 ? (t.lastDrawType !== bW && (l = !0, t.lastDrawType = bW), mW(n, e, c, l, t), tAe(n, e, d)) : e instanceof Is ? (t.lastDrawType !== yW && (l = !0, t.lastDrawType = yW), nAe(n, e, c, l, t), eAe(n, e, d)) : e.getTemporalDisplayables && (t.lastDrawType !== _W && (l = !0, t.lastDrawType = _W), oAe(n, e, t)), u && i && Rc(n, t), e.innerAfterBrush(), e.afterBrush && e.afterBrush(), t.prevEl = e, e.__dirty = 0, e.__isRendered = !0;
|
|
28453
28453
|
}
|
|
28454
28454
|
function oAe(n, e, t) {
|
|
28455
28455
|
var i = e.getDisplayables(), r = e.getTemporalDisplayables();
|
|
@@ -28919,7 +28919,7 @@ var $v, DM, db, qf, OM, PM, IM, K5, J5, CW, TW, RM, EW, fb, MW, tle, Au, LW, Dw
|
|
|
28919
28919
|
fill: t.connectedBackgroundColor
|
|
28920
28920
|
}
|
|
28921
28921
|
})), Ne(f, function(b) {
|
|
28922
|
-
var _ = new
|
|
28922
|
+
var _ = new Is({
|
|
28923
28923
|
style: {
|
|
28924
28924
|
x: b.left * h - l,
|
|
28925
28925
|
y: b.top * h - c,
|
|
@@ -31609,7 +31609,7 @@ function a3(n, e, t) {
|
|
|
31609
31609
|
var ICe = [];
|
|
31610
31610
|
function BM(n, e) {
|
|
31611
31611
|
for (var t = 0; t < n.length; t++)
|
|
31612
|
-
|
|
31612
|
+
Gs(n[t], n[t], e);
|
|
31613
31613
|
}
|
|
31614
31614
|
function BW(n, e, t, i) {
|
|
31615
31615
|
for (var r = 0; r < n.length; r++) {
|
|
@@ -31726,7 +31726,7 @@ var Ole = (
|
|
|
31726
31726
|
return e.prototype.calcCenter = function() {
|
|
31727
31727
|
for (var t = this._elOnlyForCalculate, i = t.getBoundingRect(), r = [i.x + i.width / 2, i.y + i.height / 2], a = O7(ICe), o = t; o && !o.isGeoSVGGraphicRoot; )
|
|
31728
31728
|
r0(a, o.getLocalTransform(), a), o = o.parent;
|
|
31729
|
-
return _v(a, a),
|
|
31729
|
+
return _v(a, a), Gs(r, r, a), r;
|
|
31730
31730
|
}, e;
|
|
31731
31731
|
})(Ole)
|
|
31732
31732
|
);
|
|
@@ -31825,7 +31825,7 @@ const FCe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
31825
31825
|
CompoundPath: EC,
|
|
31826
31826
|
Ellipse: F7,
|
|
31827
31827
|
Group: Di,
|
|
31828
|
-
Image:
|
|
31828
|
+
Image: Is,
|
|
31829
31829
|
IncrementalDisplayable: Loe,
|
|
31830
31830
|
Line: as,
|
|
31831
31831
|
LinearGradient: ns,
|
|
@@ -32983,7 +32983,7 @@ class Ki extends Gn {
|
|
|
32983
32983
|
* 是否有数据源配置
|
|
32984
32984
|
*/
|
|
32985
32985
|
hasData() {
|
|
32986
|
-
return
|
|
32986
|
+
return Ss(this.props.conf);
|
|
32987
32987
|
}
|
|
32988
32988
|
/**
|
|
32989
32989
|
* 获取时间轴数据
|
|
@@ -34099,7 +34099,7 @@ const VTe = {
|
|
|
34099
34099
|
i.setupLifecycle();
|
|
34100
34100
|
const r = i.getStyle(), a = de(() => fo(e.conf, "allowBatchOperation", !0)), o = de(() => fo(e.conf, "allowColumnDisplay", !0)), s = de(() => fo(e.conf, "cacheColumnOperations", !1)), l = de(() => kh(e.conf, s.value)), c = de(() => Rh(e.conf)), u = "__mixiot_actions__", d = de(
|
|
34101
34101
|
() => Y7(r.value, { view: 60, edit: 60, archive: 88, delete: 60 })
|
|
34102
|
-
), { mixiotPanelClass: f, mixiotPanelRootStyle: h } =
|
|
34102
|
+
), { mixiotPanelClass: f, mixiotPanelRootStyle: h } = us(r), p = de(() => xi(e.conf.options)), v = de(() => _1(e.conf)), m = zn({ current: 1, pageSize: 10, total: 0 }), g = fe(""), y = fe("name"), b = Ph([
|
|
34103
34103
|
{ key: "name", label: "控制码名称" },
|
|
34104
34104
|
{ key: "uid", label: "控制码编号" },
|
|
34105
34105
|
{ key: "alias", label: "控制码别名" },
|
|
@@ -34347,7 +34347,7 @@ const VTe = {
|
|
|
34347
34347
|
return Nn(() => {
|
|
34348
34348
|
A();
|
|
34349
34349
|
}), (se, te) => {
|
|
34350
|
-
const $ = fi, we = r1, Ee = d1, Te = u1, ce = jr, ye = xu, me = Yc, pe = xh, be = Uo, ke =
|
|
34350
|
+
const $ = fi, we = r1, Ee = d1, Te = u1, ce = jr, ye = xu, me = Yc, pe = xh, be = Uo, ke = cs;
|
|
34351
34351
|
return V(), Z(Ke, null, [
|
|
34352
34352
|
qn((V(), Z("div", {
|
|
34353
34353
|
class: Jt(["control-list mix-component", J(f)]),
|
|
@@ -34779,7 +34779,7 @@ const VTe = {
|
|
|
34779
34779
|
}
|
|
34780
34780
|
const i = new t(e, "controlRecordList");
|
|
34781
34781
|
i.setupLifecycle();
|
|
34782
|
-
const r = i.getStyle(), a = de(() => fo(e.conf, "allowBatchOperation", !0)), o = de(() => fo(e.conf, "allowColumnDisplay", !0)), s = de(() => fo(e.conf, "cacheColumnOperations", !1)), l = de(() => kh(e.conf, s.value)), c = de(() => Rh(e.conf)), u = "__mixiot_actions__", { mixiotPanelClass: d, mixiotPanelRootStyle: f } =
|
|
34782
|
+
const r = i.getStyle(), a = de(() => fo(e.conf, "allowBatchOperation", !0)), o = de(() => fo(e.conf, "allowColumnDisplay", !0)), s = de(() => fo(e.conf, "cacheColumnOperations", !1)), l = de(() => kh(e.conf, s.value)), c = de(() => Rh(e.conf)), u = "__mixiot_actions__", { mixiotPanelClass: d, mixiotPanelRootStyle: f } = us(r), h = de(() => xi(e.conf.options)), p = de(() => _1(e.conf)), v = zn({ current: 1, pageSize: 10, total: 0 }), m = fe(""), g = fe("object_id"), y = Ph([
|
|
34783
34783
|
{ key: "object_id", label: "对象编号" },
|
|
34784
34784
|
{ key: "created_by", label: "用户名" },
|
|
34785
34785
|
{ key: "command", label: "控制码指令" },
|
|
@@ -34881,7 +34881,7 @@ const VTe = {
|
|
|
34881
34881
|
return Nn(() => {
|
|
34882
34882
|
w();
|
|
34883
34883
|
}), (R, D) => {
|
|
34884
|
-
const k = fi, F = r1, z =
|
|
34884
|
+
const k = fi, F = r1, z = cs;
|
|
34885
34885
|
return qn((V(), Z("div", {
|
|
34886
34886
|
class: Jt(["control-record-list mix-component", J(d)]),
|
|
34887
34887
|
style: Ue(J(f))
|
|
@@ -35418,7 +35418,7 @@ function sce(n, e) {
|
|
|
35418
35418
|
}
|
|
35419
35419
|
if (Array.isArray(r.data) && r.data.length) {
|
|
35420
35420
|
const d = l[0], f = d != null && Array.isArray(d) ? d[0] : d;
|
|
35421
|
-
r.data = r.data.map((h, p) => (a === "gridview" ? Array.isArray(h) ? h = h.map((v, m) => (v = Object.assign({}, f || {}, v), v)) : h && typeof h == "object" && (h = Object.assign({}, f || {}, h)) : h = Object.assign({}, d || {}, h), h));
|
|
35421
|
+
r.data = r.data.map((h, p) => (a === "gridview" ? Array.isArray(h) ? h = h.map((v, m) => (v = Object.assign({}, f || {}, v), v)) : h && typeof h == "object" && (h = Object.assign({}, f || {}, h)) : (a === "swiper" && typeof h == "string" && (h = { url: h }), h = Object.assign({}, d || {}, h)), h));
|
|
35422
35422
|
}
|
|
35423
35423
|
r.options = s, r.source = o.SOURCE || [], r.params = o.PARAMS || [], r.common = Object.assign(
|
|
35424
35424
|
{},
|
|
@@ -36195,7 +36195,7 @@ const S3 = /* @__PURE__ */ Nt({
|
|
|
36195
36195
|
onReady: xe[1] || (xe[1] = (Je) => i("ready"))
|
|
36196
36196
|
}, null, 40, ["script", "uid", "mixiot-dashboard-uid", "enable-web-socket", "follow-host-theme", "is-product", "agent", "mobile-embed"]))
|
|
36197
36197
|
], 512)), [
|
|
36198
|
-
[
|
|
36198
|
+
[_s, u.value === Le.id]
|
|
36199
36199
|
]) : Re("", !0)
|
|
36200
36200
|
], 64))), 128)),
|
|
36201
36201
|
H.value ? Re("", !0) : (V(), Z("div", JEe, [
|
|
@@ -36664,7 +36664,7 @@ const vMe = { class: "gsl-top-bar" }, mMe = {
|
|
|
36664
36664
|
}
|
|
36665
36665
|
const i = new t(e, "gasStationList");
|
|
36666
36666
|
i.setupLifecycle();
|
|
36667
|
-
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } =
|
|
36667
|
+
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } = us(r), s = fe(null), { popperClass: l, popperEffect: c } = Uz(s), u = ca("switchSheetByPageKey", () => -1), d = ca("getSheets", () => []), f = ca("getProAppActiveMenuTitle", () => ""), h = ca("boardSwitchEpoch", fe(0)), p = de(() => {
|
|
36668
36668
|
var Ht;
|
|
36669
36669
|
try {
|
|
36670
36670
|
const St = f;
|
|
@@ -37110,7 +37110,7 @@ const vMe = { class: "gsl-top-bar" }, mMe = {
|
|
|
37110
37110
|
return Nn(() => {
|
|
37111
37111
|
H();
|
|
37112
37112
|
}), (Ht, St) => {
|
|
37113
|
-
const Ut = br, cn = jr, Tn = fi, Zn = pv, dn = hv, ai = fv, kt = Cie, Dt = Wc, sn = xu, si = Yc, et = Uo, Et =
|
|
37113
|
+
const Ut = br, cn = jr, Tn = fi, Zn = pv, dn = hv, ai = fv, kt = Cie, Dt = Wc, sn = xu, si = Yc, et = Uo, Et = cs;
|
|
37114
37114
|
return qn((V(), Z("div", {
|
|
37115
37115
|
ref_key: "hostRef",
|
|
37116
37116
|
ref: s,
|
|
@@ -37723,7 +37723,7 @@ const vMe = { class: "gsl-top-bar" }, mMe = {
|
|
|
37723
37723
|
i.setupLifecycle();
|
|
37724
37724
|
const r = i.getStyle(), a = de(() => fo(e.conf, "allowBatchOperation", !0)), o = de(() => fo(e.conf, "allowColumnDisplay", !0)), s = de(() => fo(e.conf, "cacheColumnOperations", !1)), l = de(() => kh(e.conf, s.value)), c = de(() => Rh(e.conf)), u = "__mixiot_actions__", d = de(
|
|
37725
37725
|
() => Y7(r.value, { view: 60, edit: 60, archive: 88, delete: 60 })
|
|
37726
|
-
), { mixiotPanelClass: f, mixiotPanelRootStyle: h } =
|
|
37726
|
+
), { mixiotPanelClass: f, mixiotPanelRootStyle: h } = us(r), p = de(() => xi(e.conf.options)), v = de(() => _1(e.conf)), m = zn({ current: 1, pageSize: 10, total: 0 }), g = fe(""), y = fe("name"), b = Ph([
|
|
37727
37727
|
{ key: "name", label: "映射表名称" },
|
|
37728
37728
|
{ key: "uid", label: "映射表编号" },
|
|
37729
37729
|
{ key: "alias", label: "映射表别名" },
|
|
@@ -37965,7 +37965,7 @@ const vMe = { class: "gsl-top-bar" }, mMe = {
|
|
|
37965
37965
|
return Nn(() => {
|
|
37966
37966
|
A();
|
|
37967
37967
|
}), (te, $) => {
|
|
37968
|
-
const we = fi, Ee = r1, Te = d1, ce = u1, ye = jr, me = xu, pe = Yc, be = xh, ke = Uo, Se =
|
|
37968
|
+
const we = fi, Ee = r1, Te = d1, ce = u1, ye = jr, me = xu, pe = Yc, be = xh, ke = Uo, Se = cs;
|
|
37969
37969
|
return V(), Z(Ke, null, [
|
|
37970
37970
|
qn((V(), Z("div", {
|
|
37971
37971
|
class: Jt(["mapping-list mix-component", J(f)]),
|
|
@@ -38962,7 +38962,7 @@ var bLe = (
|
|
|
38962
38962
|
r = r || [];
|
|
38963
38963
|
var a = t[0], o = t[1];
|
|
38964
38964
|
if (this._transform && a != null && isFinite(a) && o != null && isFinite(o))
|
|
38965
|
-
return
|
|
38965
|
+
return Gs(r, t, this._transform);
|
|
38966
38966
|
var s = this.getAxis("x"), l = this.getAxis("y");
|
|
38967
38967
|
return r[0] = s.toGlobalCoord(s.dataToCoord(a, i)), r[1] = l.toGlobalCoord(l.dataToCoord(o, i)), r;
|
|
38968
38968
|
}, e.prototype.clampData = function(t, i) {
|
|
@@ -38971,7 +38971,7 @@ var bLe = (
|
|
|
38971
38971
|
}, e.prototype.pointToData = function(t, i) {
|
|
38972
38972
|
var r = [];
|
|
38973
38973
|
if (this._invTransform)
|
|
38974
|
-
return
|
|
38974
|
+
return Gs(r, t, this._invTransform);
|
|
38975
38975
|
var a = this.getAxis("x"), o = this.getAxis("y");
|
|
38976
38976
|
return r[0] = a.coordToData(a.toLocalCoord(t[0]), i), r[1] = o.coordToData(o.toLocalCoord(t[1]), i), r;
|
|
38977
38977
|
}, e.prototype.getOtherAxis = function(t) {
|
|
@@ -39353,7 +39353,7 @@ var N2 = Math.PI, oc = (
|
|
|
39353
39353
|
var r = e.get(["axisLine", "show"]);
|
|
39354
39354
|
if (r === "auto" && n.handleAutoShown && (r = n.handleAutoShown("axisLine")), !!r) {
|
|
39355
39355
|
var a = e.axis.getExtent(), o = i.transform, s = [a[0], 0], l = [a[1], 0], c = s[0] > l[0];
|
|
39356
|
-
o && (
|
|
39356
|
+
o && (Gs(s, s, o), Gs(l, l, o));
|
|
39357
39357
|
var u = pn({
|
|
39358
39358
|
lineCap: "round"
|
|
39359
39359
|
}, e.getModel(["axisLine", "lineStyle"]).getLineStyle()), d = new as({
|
|
@@ -39489,7 +39489,7 @@ function oX(n) {
|
|
|
39489
39489
|
function yce(n, e, t, i, r) {
|
|
39490
39490
|
for (var a = [], o = [], s = [], l = 0; l < n.length; l++) {
|
|
39491
39491
|
var c = n[l].coord;
|
|
39492
|
-
o[0] = c, o[1] = 0, s[0] = c, s[1] = t, e && (
|
|
39492
|
+
o[0] = c, o[1] = 0, s[0] = c, s[1] = t, e && (Gs(o, o, e), Gs(s, s, e));
|
|
39493
39493
|
var u = new as({
|
|
39494
39494
|
shape: {
|
|
39495
39495
|
x1: o[0],
|
|
@@ -41628,7 +41628,7 @@ function kDe(n) {
|
|
|
41628
41628
|
}
|
|
41629
41629
|
});
|
|
41630
41630
|
}
|
|
41631
|
-
var SX =
|
|
41631
|
+
var SX = Gs, Z7 = (
|
|
41632
41632
|
/** @class */
|
|
41633
41633
|
(function(n) {
|
|
41634
41634
|
Yt(e, n);
|
|
@@ -41664,7 +41664,7 @@ var SX = Ys, Z7 = (
|
|
|
41664
41664
|
return this._roamTransformable.getLocalTransform();
|
|
41665
41665
|
}, e.prototype._updateCenterAndZoom = function() {
|
|
41666
41666
|
var t = this._rawTransformable.getLocalTransform(), i = this._roamTransformable, r = this.getDefaultCenter(), a = this.getCenter(), o = this.getZoom();
|
|
41667
|
-
a =
|
|
41667
|
+
a = Gs([], a, t), r = Gs([], r, t), i.originX = a[0], i.originY = a[1], i.x = r[0] - a[0], i.y = r[1] - a[1], i.scaleX = i.scaleY = o, this._updateTransform();
|
|
41668
41668
|
}, e.prototype._updateTransform = function() {
|
|
41669
41669
|
var t = this._roamTransformable, i = this._rawTransformable;
|
|
41670
41670
|
i.parent = t, t.updateTransform(), i.updateTransform(), pC(this.transform || (this.transform = []), i.transform || Bc()), this._rawTransform = i.getLocalTransform(), this.invTransform = this.invTransform || [], _v(this.invTransform, this.transform), this.decomposeTransform();
|
|
@@ -41904,7 +41904,7 @@ var KM, Vw = {
|
|
|
41904
41904
|
return Tu(t, a), Jc(e, a, this._defsUsePending, !1, !1), a;
|
|
41905
41905
|
},
|
|
41906
41906
|
image: function(e, t) {
|
|
41907
|
-
var i = new
|
|
41907
|
+
var i = new Is();
|
|
41908
41908
|
return Tu(t, i), Jc(e, i, this._defsUsePending, !1, !1), i.setStyle({
|
|
41909
41909
|
image: e.getAttribute("xlink:href") || e.getAttribute("href"),
|
|
41910
41910
|
x: +e.getAttribute("x"),
|
|
@@ -43032,7 +43032,7 @@ function VX(n, e, t, i, r, a, o) {
|
|
|
43032
43032
|
verticalAlign: "middle"
|
|
43033
43033
|
}
|
|
43034
43034
|
} : null;
|
|
43035
|
-
ul(e,
|
|
43035
|
+
ul(e, Ms(i), {
|
|
43036
43036
|
labelFetcher: f,
|
|
43037
43037
|
labelDataIndex: d,
|
|
43038
43038
|
defaultText: t
|
|
@@ -45335,7 +45335,7 @@ var hZ = {
|
|
|
45335
45335
|
compoundPath: null,
|
|
45336
45336
|
// Supported in graphic component.
|
|
45337
45337
|
group: Di,
|
|
45338
|
-
image:
|
|
45338
|
+
image: Is,
|
|
45339
45339
|
text: or
|
|
45340
45340
|
}, zu = Ar(), OPe = (
|
|
45341
45341
|
/** @class */
|
|
@@ -47494,7 +47494,7 @@ var PIe = new pr({
|
|
|
47494
47494
|
var r = t.get("showDelay");
|
|
47495
47495
|
i = ni(i, this), clearTimeout(this._showTimout), r > 0 ? this._showTimout = setTimeout(i, r) : i();
|
|
47496
47496
|
}, e.prototype._showAxisTooltip = function(t, i) {
|
|
47497
|
-
var r = this._ecModel, a = this._tooltipModel, o = [i.offsetX, i.offsetY], s = o9([i.tooltipOption], a), l = this._renderMode, c = [], u =
|
|
47497
|
+
var r = this._ecModel, a = this._tooltipModel, o = [i.offsetX, i.offsetY], s = o9([i.tooltipOption], a), l = this._renderMode, c = [], u = Ls("section", {
|
|
47498
47498
|
blocks: [],
|
|
47499
47499
|
noHeader: !0
|
|
47500
47500
|
}), d = [], f = new TM();
|
|
@@ -47502,7 +47502,7 @@ var PIe = new pr({
|
|
|
47502
47502
|
Ne(y.dataByAxis, function(b) {
|
|
47503
47503
|
var _ = r.getComponent(b.axisDim + "Axis", b.axisIndex), S = b.value;
|
|
47504
47504
|
if (!(!_ || S == null)) {
|
|
47505
|
-
var x = Tce(S, _.axis, r, b.seriesDataIndices, b.valueLabelOpt), w =
|
|
47505
|
+
var x = Tce(S, _.axis, r, b.seriesDataIndices, b.valueLabelOpt), w = Ls("section", {
|
|
47506
47506
|
header: x,
|
|
47507
47507
|
noHeader: !Wu(x),
|
|
47508
47508
|
sortBlocks: !0,
|
|
@@ -47767,7 +47767,7 @@ function VIe(n) {
|
|
|
47767
47767
|
n.push(i);
|
|
47768
47768
|
});
|
|
47769
47769
|
}
|
|
47770
|
-
var D6 = Ne, UIe = _i, Xw = -1,
|
|
47770
|
+
var D6 = Ne, UIe = _i, Xw = -1, Ts = (
|
|
47771
47771
|
/** @class */
|
|
47772
47772
|
(function() {
|
|
47773
47773
|
function n(e) {
|
|
@@ -47994,7 +47994,7 @@ function vR(n) {
|
|
|
47994
47994
|
function mR(n) {
|
|
47995
47995
|
var e = this.option, t = e.pieceList;
|
|
47996
47996
|
if (e.hasSpecialVisual) {
|
|
47997
|
-
var i =
|
|
47997
|
+
var i = Ts.findPieceIndex(n, t), r = t[i];
|
|
47998
47998
|
if (r && r.visual)
|
|
47999
47999
|
return r.visual[this.type];
|
|
48000
48000
|
}
|
|
@@ -48010,7 +48010,7 @@ var GIe = {
|
|
|
48010
48010
|
return Nr(n, this.option.dataExtent, [0, 1], !0);
|
|
48011
48011
|
},
|
|
48012
48012
|
piecewise: function(n) {
|
|
48013
|
-
var e = this.option.pieceList, t =
|
|
48013
|
+
var e = this.option.pieceList, t = Ts.findPieceIndex(n, e, !0);
|
|
48014
48014
|
if (t != null)
|
|
48015
48015
|
return Nr(t, [0, e.length - 1], [0, 1], !0);
|
|
48016
48016
|
},
|
|
@@ -48036,12 +48036,12 @@ function gR(n, e, t) {
|
|
|
48036
48036
|
return NZ(e, function(a) {
|
|
48037
48037
|
var o = i[a] = r();
|
|
48038
48038
|
NZ(n[a], function(s, l) {
|
|
48039
|
-
if (
|
|
48039
|
+
if (Ts.isValidType(l)) {
|
|
48040
48040
|
var c = {
|
|
48041
48041
|
type: l,
|
|
48042
48042
|
visual: s
|
|
48043
48043
|
};
|
|
48044
|
-
t && t(c, a), o[l] = new
|
|
48044
|
+
t && t(c, a), o[l] = new Ts(c), l === "opacity" && (c = Ci(c), c.type = "colorAlpha", o.__hidden.__alphaForOpacity = new Ts(c));
|
|
48045
48045
|
}
|
|
48046
48046
|
});
|
|
48047
48047
|
}), i;
|
|
@@ -48064,7 +48064,7 @@ function Mue(n, e, t) {
|
|
|
48064
48064
|
function YIe(n, e, t, i, r, a) {
|
|
48065
48065
|
var o = {};
|
|
48066
48066
|
Ne(n, function(d) {
|
|
48067
|
-
var f =
|
|
48067
|
+
var f = Ts.prepareVisualTypes(e[d]);
|
|
48068
48068
|
o[d] = f;
|
|
48069
48069
|
});
|
|
48070
48070
|
var s;
|
|
@@ -48088,7 +48088,7 @@ function YIe(n, e, t, i, r, a) {
|
|
|
48088
48088
|
function WIe(n, e, t, i) {
|
|
48089
48089
|
var r = {};
|
|
48090
48090
|
return Ne(n, function(a) {
|
|
48091
|
-
var o =
|
|
48091
|
+
var o = Ts.prepareVisualTypes(e[a]);
|
|
48092
48092
|
r[a] = o;
|
|
48093
48093
|
}), {
|
|
48094
48094
|
progress: function(o, s) {
|
|
@@ -48574,7 +48574,7 @@ var rRe = (
|
|
|
48574
48574
|
}, e.type = "title", e;
|
|
48575
48575
|
})(Qr)
|
|
48576
48576
|
);
|
|
48577
|
-
function
|
|
48577
|
+
function fs(n) {
|
|
48578
48578
|
n.registerComponentModel(rRe), n.registerComponentView(aRe);
|
|
48579
48579
|
}
|
|
48580
48580
|
var GZ = (
|
|
@@ -48795,7 +48795,7 @@ var oRe = (
|
|
|
48795
48795
|
var u = l.scale.getLabel({
|
|
48796
48796
|
value: c
|
|
48797
48797
|
});
|
|
48798
|
-
return
|
|
48798
|
+
return Ls("nameValue", {
|
|
48799
48799
|
noName: !0,
|
|
48800
48800
|
value: u
|
|
48801
48801
|
});
|
|
@@ -49225,9 +49225,9 @@ var Lb = Ar(), Mf = (
|
|
|
49225
49225
|
}, this);
|
|
49226
49226
|
}, e.prototype.formatTooltip = function(t, i, r) {
|
|
49227
49227
|
var a = this.getData(), o = this.getRawValue(t), s = a.getName(t);
|
|
49228
|
-
return
|
|
49228
|
+
return Ls("section", {
|
|
49229
49229
|
header: this.name,
|
|
49230
|
-
blocks: [
|
|
49230
|
+
blocks: [Ls("nameValue", {
|
|
49231
49231
|
name: s,
|
|
49232
49232
|
value: o,
|
|
49233
49233
|
noName: !s,
|
|
@@ -49370,14 +49370,14 @@ var K7 = (
|
|
|
49370
49370
|
var s = this.childAt(0), l = t.hostModel, c, u, d, f, h, p, v, m, g;
|
|
49371
49371
|
if (a && (c = a.emphasisItemStyle, u = a.blurItemStyle, d = a.selectItemStyle, f = a.focus, h = a.blurScope, v = a.labelStatesModels, m = a.hoverScale, g = a.cursorStyle, p = a.emphasisDisabled), !a || t.hasItemOption) {
|
|
49372
49372
|
var y = a && a.itemModel ? a.itemModel : t.getItemModel(i), b = y.getModel("emphasis");
|
|
49373
|
-
c = b.getModel("itemStyle").getItemStyle(), d = y.getModel(["select", "itemStyle"]).getItemStyle(), u = y.getModel(["blur", "itemStyle"]).getItemStyle(), f = b.get("focus"), h = b.get("blurScope"), p = b.get("disabled"), v =
|
|
49373
|
+
c = b.getModel("itemStyle").getItemStyle(), d = y.getModel(["select", "itemStyle"]).getItemStyle(), u = y.getModel(["blur", "itemStyle"]).getItemStyle(), f = b.get("focus"), h = b.get("blurScope"), p = b.get("disabled"), v = Ms(y), m = b.getShallow("scale"), g = y.getShallow("cursor");
|
|
49374
49374
|
}
|
|
49375
49375
|
var _ = t.getItemVisual(i, "symbolRotate");
|
|
49376
49376
|
s.attr("rotation", (_ || 0) * Math.PI / 180 || 0);
|
|
49377
49377
|
var S = Cv(t.getItemVisual(i, "symbolOffset"), r);
|
|
49378
49378
|
S && (s.x = S[0], s.y = S[1]), g && s.attr("cursor", g);
|
|
49379
49379
|
var x = t.getItemVisual(i, "style"), w = x.fill;
|
|
49380
|
-
if (s instanceof
|
|
49380
|
+
if (s instanceof Is) {
|
|
49381
49381
|
var A = s.style;
|
|
49382
49382
|
s.useStyle(pn({
|
|
49383
49383
|
// TODO other properties like x, y ?
|
|
@@ -49463,7 +49463,7 @@ function KZ(n) {
|
|
|
49463
49463
|
blurScope: t.get("blurScope"),
|
|
49464
49464
|
emphasisDisabled: t.get("disabled"),
|
|
49465
49465
|
hoverScale: t.get("scale"),
|
|
49466
|
-
labelStatesModels:
|
|
49466
|
+
labelStatesModels: Ms(e),
|
|
49467
49467
|
cursorStyle: e.get("cursor")
|
|
49468
49468
|
};
|
|
49469
49469
|
}
|
|
@@ -49875,7 +49875,7 @@ var AB = (
|
|
|
49875
49875
|
var a = t.hostModel, o = this.childOfName("line"), s = r && r.emphasisLineStyle, l = r && r.blurLineStyle, c = r && r.selectLineStyle, u = r && r.labelStatesModels, d = r && r.emphasisDisabled, f = r && r.focus, h = r && r.blurScope;
|
|
49876
49876
|
if (!r || t.hasItemOption) {
|
|
49877
49877
|
var p = t.getItemModel(i), v = p.getModel("emphasis");
|
|
49878
|
-
s = v.getModel("lineStyle").getLineStyle(), l = p.getModel(["blur", "lineStyle"]).getLineStyle(), c = p.getModel(["select", "lineStyle"]).getLineStyle(), d = v.get("disabled"), f = v.get("focus"), h = v.get("blurScope"), u =
|
|
49878
|
+
s = v.getModel("lineStyle").getLineStyle(), l = p.getModel(["blur", "lineStyle"]).getLineStyle(), c = p.getModel(["select", "lineStyle"]).getLineStyle(), d = v.get("disabled"), f = v.get("focus"), h = v.get("blurScope"), u = Ms(p);
|
|
49879
49879
|
}
|
|
49880
49880
|
var m = t.getItemVisual(i, "style"), g = m.stroke;
|
|
49881
49881
|
o.useStyle(m), o.style.fill = null, o.style.strokeNoScale = !0, o.ensureState("emphasis").style = s, o.ensureState("blur").style = l, o.ensureState("select").style = c, Ne(pL, function(x) {
|
|
@@ -50073,7 +50073,7 @@ function nq(n) {
|
|
|
50073
50073
|
emphasisDisabled: t.get("disabled"),
|
|
50074
50074
|
blurScope: t.get("blurScope"),
|
|
50075
50075
|
focus: t.get("focus"),
|
|
50076
|
-
labelStatesModels:
|
|
50076
|
+
labelStatesModels: Ms(e)
|
|
50077
50077
|
};
|
|
50078
50078
|
}
|
|
50079
50079
|
function iq(n) {
|
|
@@ -50404,7 +50404,7 @@ var sq = [["x0", "y0"], ["x1", "y0"], ["x1", "y1"], ["x0", "y1"]], kRe = (
|
|
|
50404
50404
|
u.group.remove(h);
|
|
50405
50405
|
}).execute(), d.eachItemGraphicEl(function(f, h) {
|
|
50406
50406
|
var p = d.getItemModel(h), v = d.getItemVisual(h, "style");
|
|
50407
|
-
f.useStyle(d.getItemVisual(h, "style")), ul(f,
|
|
50407
|
+
f.useStyle(d.getItemVisual(h, "style")), ul(f, Ms(p), {
|
|
50408
50408
|
labelFetcher: i,
|
|
50409
50409
|
labelDataIndex: h,
|
|
50410
50410
|
defaultText: d.getName(h) || "",
|
|
@@ -51910,7 +51910,7 @@ var jue = {
|
|
|
51910
51910
|
active: [10, 50],
|
|
51911
51911
|
inactive: [0, 0]
|
|
51912
51912
|
}
|
|
51913
|
-
}, mq =
|
|
51913
|
+
}, mq = Ts.mapVisual, uke = Ts.eachVisual, dke = vn, gq = Ne, fke = fu, hke = Nr, Kw = (
|
|
51914
51914
|
/** @class */
|
|
51915
51915
|
(function(n) {
|
|
51916
51916
|
Yt(e, n);
|
|
@@ -51992,7 +51992,7 @@ var jue = {
|
|
|
51992
51992
|
function c(d, f, h) {
|
|
51993
51993
|
var p = d[f], v = d[h];
|
|
51994
51994
|
p && !v && (v = d[h] = {}, gq(p, function(m, g) {
|
|
51995
|
-
if (
|
|
51995
|
+
if (Ts.isValidType(g)) {
|
|
51996
51996
|
var y = jue.get(g, "inactive", s);
|
|
51997
51997
|
y != null && (v[g] = y, g === "color" && !v.hasOwnProperty("opacity") && !v.hasOwnProperty("colorAlpha") && (v.opacity = [0, 0]));
|
|
51998
51998
|
}
|
|
@@ -52211,10 +52211,10 @@ var Gue = (
|
|
|
52211
52211
|
function u(h, p) {
|
|
52212
52212
|
s[h] = p;
|
|
52213
52213
|
}
|
|
52214
|
-
var d = o.controllerVisuals[a || o.getValueState(t)], f =
|
|
52214
|
+
var d = o.controllerVisuals[a || o.getValueState(t)], f = Ts.prepareVisualTypes(d);
|
|
52215
52215
|
return Ne(f, function(h) {
|
|
52216
52216
|
var p = d[h];
|
|
52217
|
-
r.convertOpacityToAlpha && h === "opacity" && (h = "colorAlpha", p = d.__alphaForOpacity),
|
|
52217
|
+
r.convertOpacityToAlpha && h === "opacity" && (h = "colorAlpha", p = d.__alphaForOpacity), Ts.dependsOn(h, i) && p && p.applyVisual(t, c, u);
|
|
52218
52218
|
}), s[i];
|
|
52219
52219
|
}, e.prototype.positionGroup = function(t) {
|
|
52220
52220
|
var i = this.visualMapModel, r = this.api;
|
|
@@ -52333,7 +52333,7 @@ var Fd = Nr, vke = Ne, xq = Math.min, SL = Math.max, mke = 12, gke = 6, yke = (
|
|
|
52333
52333
|
x: r[0] / 2
|
|
52334
52334
|
});
|
|
52335
52335
|
var c = t.getModel("indicatorStyle").getItemStyle();
|
|
52336
|
-
if (l instanceof
|
|
52336
|
+
if (l instanceof Is) {
|
|
52337
52337
|
var u = l.style;
|
|
52338
52338
|
l.useStyle(pn({
|
|
52339
52339
|
// TODO other properties like x, y ?
|
|
@@ -52642,7 +52642,7 @@ var _ke = {
|
|
|
52642
52642
|
}
|
|
52643
52643
|
];
|
|
52644
52644
|
function wke(n, e, t, i) {
|
|
52645
|
-
for (var r = e.targetVisuals[i], a =
|
|
52645
|
+
for (var r = e.targetVisuals[i], a = Ts.prepareVisualTypes(r), o = {
|
|
52646
52646
|
color: H7(n.getData(), "color")
|
|
52647
52647
|
// default color.
|
|
52648
52648
|
}, s = 0, l = a.length; s < l; s++) {
|
|
@@ -52703,7 +52703,7 @@ var Cke = (
|
|
|
52703
52703
|
}));
|
|
52704
52704
|
});
|
|
52705
52705
|
}, e.prototype.completeVisualOption = function() {
|
|
52706
|
-
var t = this.option, i = {}, r =
|
|
52706
|
+
var t = this.option, i = {}, r = Ts.listVisualTypes(), a = this.isCategory();
|
|
52707
52707
|
Ne(t.pieces, function(s) {
|
|
52708
52708
|
Ne(r, function(l) {
|
|
52709
52709
|
s.hasOwnProperty(l) && (i[l] = 1);
|
|
@@ -52744,14 +52744,14 @@ var Cke = (
|
|
|
52744
52744
|
}, e.prototype.setSelected = function(t) {
|
|
52745
52745
|
this.option.selected = Ci(t);
|
|
52746
52746
|
}, e.prototype.getValueState = function(t) {
|
|
52747
|
-
var i =
|
|
52747
|
+
var i = Ts.findPieceIndex(t, this._pieceList);
|
|
52748
52748
|
return i != null && this.option.selected[this.getSelectedMapKey(this._pieceList[i])] ? "inRange" : "outOfRange";
|
|
52749
52749
|
}, e.prototype.findTargetDataIndices = function(t) {
|
|
52750
52750
|
var i = [], r = this._pieceList;
|
|
52751
52751
|
return this.eachTargetSeries(function(a) {
|
|
52752
52752
|
var o = [], s = a.getData();
|
|
52753
52753
|
s.each(this.getDataDimensionIndex(s), function(l, c) {
|
|
52754
|
-
var u =
|
|
52754
|
+
var u = Ts.findPieceIndex(l, r);
|
|
52755
52755
|
u === t && o.push(c);
|
|
52756
52756
|
}, this), i.push({
|
|
52757
52757
|
seriesId: a.id,
|
|
@@ -52879,7 +52879,7 @@ var Cke = (
|
|
|
52879
52879
|
}
|
|
52880
52880
|
u[0] && o[1] === 1 / 0 && (s[0] = 0), u[1] && o[0] === -1 / 0 && (s[1] = 0), process.env.NODE_ENV !== "production" && o[0] > o[1] && console.warn("Piece " + i + "is illegal: " + o + " lower bound should not greater then uppper bound."), o[0] === o[1] && s[0] && s[1] && (r.value = o[0]);
|
|
52881
52881
|
}
|
|
52882
|
-
r.visual =
|
|
52882
|
+
r.visual = Ts.retrieveVisuals(t), n.push(r);
|
|
52883
52883
|
}, this), Eq(e, n), yI(n), Ne(n, function(t) {
|
|
52884
52884
|
var i = t.close, r = [["<", "≤"][i[1]], [">", "≥"][i[0]]];
|
|
52885
52885
|
t.text = t.text || this.formatValueText(t.value != null ? t.value : t.interval, !1, r);
|
|
@@ -53678,7 +53678,7 @@ var $ue = (
|
|
|
53678
53678
|
for (var x = 0; x < S; x++) {
|
|
53679
53679
|
var w = u[x];
|
|
53680
53680
|
if (w <= 1 && w >= 0) {
|
|
53681
|
-
var _ = c ?
|
|
53681
|
+
var _ = c ? ms(l, p, m, y, w) : ms(s, h, v, g, w);
|
|
53682
53682
|
return c ? [t, _] : [_, t];
|
|
53683
53683
|
}
|
|
53684
53684
|
}
|
|
@@ -54192,7 +54192,7 @@ var cNe = (
|
|
|
54192
54192
|
// should be higher than item symbol
|
|
54193
54193
|
}), c.ignoreClip = !0, s.setTextContent(this._endLabel), s.disableLabelAnimation = !0);
|
|
54194
54194
|
var u = oNe(l);
|
|
54195
|
-
u >= 0 && (ul(s,
|
|
54195
|
+
u >= 0 && (ul(s, Ms(t, "endLabel"), {
|
|
54196
54196
|
inheritColor: r,
|
|
54197
54197
|
labelFetcher: t,
|
|
54198
54198
|
labelDataIndex: u,
|
|
@@ -54955,7 +54955,7 @@ function Uq(n, e, t, i, r, a, o, s) {
|
|
|
54955
54955
|
n.useStyle(l);
|
|
54956
54956
|
var f = i.getShallow("cursor");
|
|
54957
54957
|
f && n.attr("cursor", f);
|
|
54958
|
-
var h = s ? o ? r.r >= r.r0 ? "endArc" : "startArc" : r.endAngle >= r.startAngle ? "endAngle" : "startAngle" : o ? r.height >= 0 ? "bottom" : "top" : r.width >= 0 ? "right" : "left", p =
|
|
54958
|
+
var h = s ? o ? r.r >= r.r0 ? "endArc" : "startArc" : r.endAngle >= r.startAngle ? "endAngle" : "startAngle" : o ? r.height >= 0 ? "bottom" : "top" : r.width >= 0 ? "right" : "left", p = Ms(i);
|
|
54959
54959
|
ul(n, p, {
|
|
54960
54960
|
labelFetcher: a,
|
|
54961
54961
|
labelDataIndex: t,
|
|
@@ -55451,7 +55451,7 @@ var DNe = (
|
|
|
55451
55451
|
}), ao(this, c.get("focus"), c.get("blurScope"), c.get("disabled"));
|
|
55452
55452
|
}, e.prototype._updateLabel = function(t, i, r) {
|
|
55453
55453
|
var a = this, o = i.getItemModel(r), s = o.getModel("labelLine"), l = i.getItemVisual(r, "style"), c = l && l.fill, u = l && l.opacity;
|
|
55454
|
-
ul(a,
|
|
55454
|
+
ul(a, Ms(o), {
|
|
55455
55455
|
labelFetcher: i.hostModel,
|
|
55456
55456
|
labelDataIndex: r,
|
|
55457
55457
|
inheritColor: c,
|
|
@@ -56053,7 +56053,7 @@ var HNe = (
|
|
|
56053
56053
|
}));
|
|
56054
56054
|
var x = p.getModel("emphasis"), w = x.getModel("itemStyle").getItemStyle();
|
|
56055
56055
|
g.eachChild(function(A) {
|
|
56056
|
-
if (A instanceof
|
|
56056
|
+
if (A instanceof Is) {
|
|
56057
56057
|
var T = A.style;
|
|
56058
56058
|
A.useStyle(pn({
|
|
56059
56059
|
// TODO other properties like x, y ?
|
|
@@ -56068,7 +56068,7 @@ var HNe = (
|
|
|
56068
56068
|
var C = A.ensureState("emphasis");
|
|
56069
56069
|
C.style = Ci(w);
|
|
56070
56070
|
var E = s.getStore().get(s.getDimensionIndex(A.__dimIdx), h);
|
|
56071
|
-
(E == null || isNaN(E)) && (E = ""), ul(A,
|
|
56071
|
+
(E == null || isNaN(E)) && (E = ""), ul(A, Ms(p), {
|
|
56072
56072
|
labelFetcher: s.hostModel,
|
|
56073
56073
|
labelDataIndex: h,
|
|
56074
56074
|
labelDimIndex: A.__dimIdx,
|
|
@@ -56099,12 +56099,12 @@ var HNe = (
|
|
|
56099
56099
|
});
|
|
56100
56100
|
}, e.prototype.formatTooltip = function(t, i, r) {
|
|
56101
56101
|
var a = this.getData(), o = this.coordinateSystem, s = o.getIndicatorAxes(), l = this.getData().getName(t), c = l === "" ? this.name : l, u = Ese(this, t);
|
|
56102
|
-
return
|
|
56102
|
+
return Ls("section", {
|
|
56103
56103
|
header: c,
|
|
56104
56104
|
sortBlocks: !0,
|
|
56105
56105
|
blocks: _n(s, function(d) {
|
|
56106
56106
|
var f = a.get(a.mapDimension(d.dim), t);
|
|
56107
|
-
return
|
|
56107
|
+
return Ls("nameValue", {
|
|
56108
56108
|
markerType: "subItem",
|
|
56109
56109
|
markerColor: u,
|
|
56110
56110
|
name: d.name,
|
|
@@ -56203,7 +56203,7 @@ var GNe = (
|
|
|
56203
56203
|
});
|
|
56204
56204
|
if (!d) {
|
|
56205
56205
|
var h = t.mainSeries.getData(), p = a.getName(l), v = h.indexOfName(p), m = a.getItemModel(l), g = m.getModel("label"), y = h.getItemGraphicEl(v);
|
|
56206
|
-
ul(f,
|
|
56206
|
+
ul(f, Ms(m), {
|
|
56207
56207
|
labelFetcher: {
|
|
56208
56208
|
getFormattedLabel: function(b, _) {
|
|
56209
56209
|
return t.getFormattedLabel(v, _);
|
|
@@ -56266,10 +56266,10 @@ var GNe = (
|
|
|
56266
56266
|
var d = l[u].originalData.indexOfName(s), f = a.mapDimension("value");
|
|
56267
56267
|
isNaN(l[u].originalData.get(f, d)) || c.push(l[u].name);
|
|
56268
56268
|
}
|
|
56269
|
-
return
|
|
56269
|
+
return Ls("section", {
|
|
56270
56270
|
header: c.join(", "),
|
|
56271
56271
|
noHeader: !c.length,
|
|
56272
|
-
blocks: [
|
|
56272
|
+
blocks: [Ls("nameValue", {
|
|
56273
56273
|
name: s,
|
|
56274
56274
|
value: o
|
|
56275
56275
|
})]
|
|
@@ -57078,7 +57078,7 @@ var gFe = (
|
|
|
57078
57078
|
}, e.prototype.formatTooltip = function(t, i, r) {
|
|
57079
57079
|
for (var a = this.getData().tree, o = a.root.children[0], s = a.getNodeByDataIndex(t), l = s.getValue(), c = s.name; s && s !== o; )
|
|
57080
57080
|
c = s.parentNode.name + "." + c, s = s.parentNode;
|
|
57081
|
-
return
|
|
57081
|
+
return Ls("nameValue", {
|
|
57082
57082
|
name: c,
|
|
57083
57083
|
value: l,
|
|
57084
57084
|
noValue: isNaN(l) || l == null
|
|
@@ -57310,7 +57310,7 @@ var CFe = (
|
|
|
57310
57310
|
this.resetViewRoot();
|
|
57311
57311
|
}, e.prototype.formatTooltip = function(t, i, r) {
|
|
57312
57312
|
var a = this.getData(), o = this.getRawValue(t), s = a.getName(t);
|
|
57313
|
-
return
|
|
57313
|
+
return Ls("nameValue", {
|
|
57314
57314
|
name: s,
|
|
57315
57315
|
value: o
|
|
57316
57316
|
});
|
|
@@ -57969,7 +57969,7 @@ function FFe(n, e, t, i, r, a, o, s, l, c) {
|
|
|
57969
57969
|
}
|
|
57970
57970
|
function U(ie, re, ae, Q) {
|
|
57971
57971
|
var se = f.getModel(Q ? aK : rK), te = rs(f.get("name"), null), $ = se.getShallow("show");
|
|
57972
|
-
ul(ie,
|
|
57972
|
+
ul(ie, Ms(f, Q ? aK : rK), {
|
|
57973
57973
|
defaultText: $ ? te : null,
|
|
57974
57974
|
inheritColor: re,
|
|
57975
57975
|
defaultOpacity: ae,
|
|
@@ -58092,7 +58092,7 @@ function jFe(n, e, t, i, r, a) {
|
|
|
58092
58092
|
visual: o.range
|
|
58093
58093
|
};
|
|
58094
58094
|
d.type === "color" && (u === "index" || u === "id") ? (d.mappingMethod = "category", d.loop = !0) : d.mappingMethod = "linear";
|
|
58095
|
-
var f = new
|
|
58095
|
+
var f = new Ts(d);
|
|
58096
58096
|
return g1e(f).drColorMappingBy = u, f;
|
|
58097
58097
|
}
|
|
58098
58098
|
}
|
|
@@ -58721,7 +58721,7 @@ function mze(n, e) {
|
|
|
58721
58721
|
}
|
|
58722
58722
|
}), t;
|
|
58723
58723
|
}
|
|
58724
|
-
var IL = [], RL = [], kL = [], um =
|
|
58724
|
+
var IL = [], RL = [], kL = [], um = Bs, NL = X2, dK = Math.abs;
|
|
58725
58725
|
function fK(n, e, t) {
|
|
58726
58726
|
for (var i = n[0], r = n[1], a = n[2], o = 1 / 0, s, l = t * t, c = 0.1, u = 0.1; u <= 0.9; u += 0.1) {
|
|
58727
58727
|
IL[0] = um(i[0], r[0], a[0], u), IL[1] = um(i[1], r[1], a[1], u);
|
|
@@ -59187,7 +59187,7 @@ var yze = (
|
|
|
59187
59187
|
}, e.prototype.formatTooltip = function(t, i, r) {
|
|
59188
59188
|
if (r === "edge") {
|
|
59189
59189
|
var a = this.getData(), o = this.getDataParams(t, r), s = a.graph.getEdgeByIndex(t), l = a.getName(s.node1.dataIndex), c = a.getName(s.node2.dataIndex), u = [];
|
|
59190
|
-
return l != null && u.push(l), c != null && u.push(c),
|
|
59190
|
+
return l != null && u.push(l), c != null && u.push(c), Ls("nameValue", {
|
|
59191
59191
|
name: u.join(" > "),
|
|
59192
59192
|
value: o.value,
|
|
59193
59193
|
noValue: o.value == null
|
|
@@ -59542,7 +59542,7 @@ var Aze = (
|
|
|
59542
59542
|
var E = y.getItemModel(C), M = E.getModel("emphasis"), I = M.get("focus"), P = M.get("blurScope"), R = M.get("disabled");
|
|
59543
59543
|
if (v) {
|
|
59544
59544
|
var D = y.getItemGraphicEl(C), k = y.getItemVisual(C, "style"), F = k.fill;
|
|
59545
|
-
if (D instanceof
|
|
59545
|
+
if (D instanceof Is) {
|
|
59546
59546
|
var z = D.style;
|
|
59547
59547
|
D.useStyle(pn({
|
|
59548
59548
|
image: z.image,
|
|
@@ -59791,7 +59791,7 @@ var Tze = ["itemStyle", "opacity"], Eze = (
|
|
|
59791
59791
|
ul(
|
|
59792
59792
|
// position will not be used in setLabelStyle
|
|
59793
59793
|
o,
|
|
59794
|
-
|
|
59794
|
+
Ms(l),
|
|
59795
59795
|
{
|
|
59796
59796
|
labelFetcher: t.hostModel,
|
|
59797
59797
|
labelDataIndex: i,
|
|
@@ -60255,7 +60255,7 @@ var Yze = (
|
|
|
60255
60255
|
cpx2: z,
|
|
60256
60256
|
cpy2: B
|
|
60257
60257
|
}), v.useStyle(y.getItemStyle()), mK(v.style, h, p);
|
|
60258
|
-
var W = "" + g.get("value"), H =
|
|
60258
|
+
var W = "" + g.get("value"), H = Ms(g, "edgeLabel");
|
|
60259
60259
|
ul(v, H, {
|
|
60260
60260
|
labelFetcher: {
|
|
60261
60261
|
getFormattedLabel: function(q, X, le, ie, re, ae) {
|
|
@@ -60295,7 +60295,7 @@ var Yze = (
|
|
|
60295
60295
|
style: m.getModel("itemStyle").getItemStyle(),
|
|
60296
60296
|
z2: 10
|
|
60297
60297
|
});
|
|
60298
|
-
ul(S,
|
|
60298
|
+
ul(S, Ms(m), {
|
|
60299
60299
|
labelFetcher: {
|
|
60300
60300
|
getFormattedLabel: function(w, A) {
|
|
60301
60301
|
return t.getFormattedLabel(w, A, "node");
|
|
@@ -60408,14 +60408,14 @@ var qze = (
|
|
|
60408
60408
|
}
|
|
60409
60409
|
if (r === "edge") {
|
|
60410
60410
|
var o = this.getDataParams(t, r), s = o.data, l = o.value, c = s.source + " -- " + s.target;
|
|
60411
|
-
return
|
|
60411
|
+
return Ls("nameValue", {
|
|
60412
60412
|
name: c,
|
|
60413
60413
|
value: l,
|
|
60414
60414
|
noValue: a(l)
|
|
60415
60415
|
});
|
|
60416
60416
|
} else {
|
|
60417
60417
|
var u = this.getGraph().getNodeByIndex(t), d = u.getLayout().value, f = this.getDataParams(t, r).data.name;
|
|
60418
|
-
return
|
|
60418
|
+
return Ls("nameValue", {
|
|
60419
60419
|
name: f != null ? f + "" : null,
|
|
60420
60420
|
value: d,
|
|
60421
60421
|
noValue: a(d)
|
|
@@ -60756,7 +60756,7 @@ function pBe(n) {
|
|
|
60756
60756
|
var l = s.getLayout().value;
|
|
60757
60757
|
l < a && (a = l), l > o && (o = l);
|
|
60758
60758
|
}), Ne(i, function(s) {
|
|
60759
|
-
var l = new
|
|
60759
|
+
var l = new Ts({
|
|
60760
60760
|
type: "color",
|
|
60761
60761
|
mappingMethod: "linear",
|
|
60762
60762
|
dataExtent: [a, o],
|
|
@@ -61641,7 +61641,7 @@ var V1e = (
|
|
|
61641
61641
|
}, e.prototype.updateData = function(t, i, r) {
|
|
61642
61642
|
this.childAt(0).updateData(t, i, r), this._updateEffectSymbol(t, i);
|
|
61643
61643
|
}, e.prototype._updateSymbolPosition = function(t) {
|
|
61644
|
-
var i = t.__p1, r = t.__p2, a = t.__cp1, o = t.__t < 1 ? t.__t : 2 - t.__t, s = [t.x, t.y], l = s.slice(), c =
|
|
61644
|
+
var i = t.__p1, r = t.__p2, a = t.__cp1, o = t.__t < 1 ? t.__t : 2 - t.__t, s = [t.x, t.y], l = s.slice(), c = Bs, u = rI;
|
|
61645
61645
|
s[0] = c(i[0], a[0], r[0], o), s[1] = c(i[1], a[1], r[1], o);
|
|
61646
61646
|
var d = t.__t < 1 ? u(i[0], a[0], r[0], o) : u(r[0], a[0], i[0], 1 - o), f = t.__t < 1 ? u(i[1], a[1], r[1], o) : u(r[1], a[1], i[1], 1 - o);
|
|
61647
61647
|
t.rotation = -Math.atan2(f, d) - Math.PI / 2, (this._symbolType === "line" || this._symbolType === "rect" || this._symbolType === "roundRect") && (t.__lastT !== void 0 && t.__lastT < t.__t ? (t.scaleY = nf(l, s) * 1.05, o === 1 && (s[0] = l[0] + (s[0] - l[0]) / 2, s[1] = l[1] + (s[1] - l[1]) / 2)) : t.__lastT === 1 ? t.scaleY = 2 * nf(i, s) : t.scaleY = this._symbolScale[1]), t.__lastT = t.__t, t.ignore = !1, t.x = s[0], t.y = s[1];
|
|
@@ -62066,7 +62066,7 @@ var JBe = (
|
|
|
62066
62066
|
if (s)
|
|
62067
62067
|
return s;
|
|
62068
62068
|
var l = o.get("fromName"), c = o.get("toName"), u = [];
|
|
62069
|
-
return l != null && u.push(l), c != null && u.push(c),
|
|
62069
|
+
return l != null && u.push(l), c != null && u.push(c), Ls("nameValue", {
|
|
62070
62070
|
name: u.join(" > ")
|
|
62071
62071
|
});
|
|
62072
62072
|
}, e.prototype.preventIncremental = function() {
|
|
@@ -62255,7 +62255,7 @@ var rVe = (
|
|
|
62255
62255
|
}
|
|
62256
62256
|
c = h.getBandWidth() + 0.5, u = p.getBandWidth() + 0.5, d = h.scale.getExtent(), f = p.scale.getExtent();
|
|
62257
62257
|
}
|
|
62258
|
-
for (var v = this.group, m = t.getData(), g = t.getModel(["emphasis", "itemStyle"]).getItemStyle(), y = t.getModel(["blur", "itemStyle"]).getItemStyle(), b = t.getModel(["select", "itemStyle"]).getItemStyle(), _ = t.get(["itemStyle", "borderRadius"]), S =
|
|
62258
|
+
for (var v = this.group, m = t.getData(), g = t.getModel(["emphasis", "itemStyle"]).getItemStyle(), y = t.getModel(["blur", "itemStyle"]).getItemStyle(), b = t.getModel(["select", "itemStyle"]).getItemStyle(), _ = t.get(["itemStyle", "borderRadius"]), S = Ms(t), x = t.getModel("emphasis"), w = x.get("focus"), A = x.get("blurScope"), T = x.get("disabled"), C = l ? [m.mapDimension("x"), m.mapDimension("y"), m.mapDimension("value")] : [m.mapDimension("time"), m.mapDimension("value")], E = r; E < a; E++) {
|
|
62259
62259
|
var M = void 0, I = m.getItemVisual(E, "style");
|
|
62260
62260
|
if (l) {
|
|
62261
62261
|
var P = m.get(C[0], E), R = m.get(C[1], E);
|
|
@@ -62282,7 +62282,7 @@ var rVe = (
|
|
|
62282
62282
|
}
|
|
62283
62283
|
if (m.hasItemOption) {
|
|
62284
62284
|
var k = m.getItemModel(E), F = k.getModel("emphasis");
|
|
62285
|
-
g = F.getModel("itemStyle").getItemStyle(), y = k.getModel(["blur", "itemStyle"]).getItemStyle(), b = k.getModel(["select", "itemStyle"]).getItemStyle(), _ = k.get(["itemStyle", "borderRadius"]), w = F.get("focus"), A = F.get("blurScope"), T = F.get("disabled"), S =
|
|
62285
|
+
g = F.getModel("itemStyle").getItemStyle(), y = k.getModel(["blur", "itemStyle"]).getItemStyle(), b = k.getModel(["select", "itemStyle"]).getItemStyle(), _ = k.get(["itemStyle", "borderRadius"]), w = F.get("focus"), A = F.get("blurScope"), T = F.get("disabled"), S = Ms(k);
|
|
62286
62286
|
}
|
|
62287
62287
|
M.shape.r = _;
|
|
62288
62288
|
var z = t.getRawValue(E), B = "-";
|
|
@@ -62306,7 +62306,7 @@ var rVe = (
|
|
|
62306
62306
|
inRange: o.color.getColorMapper(),
|
|
62307
62307
|
outOfRange: s.color.getColorMapper()
|
|
62308
62308
|
}, S);
|
|
62309
|
-
var x = new
|
|
62309
|
+
var x = new Is({
|
|
62310
62310
|
style: {
|
|
62311
62311
|
width: m,
|
|
62312
62312
|
height: g,
|
|
@@ -62636,7 +62636,7 @@ function Ig(n, e, t, i, r, a) {
|
|
|
62636
62636
|
function LK(n, e, t) {
|
|
62637
62637
|
var i = t.dataIndex, r = t.itemModel, a = r.getModel("emphasis"), o = a.getModel("itemStyle").getItemStyle(), s = r.getModel(["blur", "itemStyle"]).getItemStyle(), l = r.getModel(["select", "itemStyle"]).getItemStyle(), c = r.getShallow("cursor"), u = a.get("focus"), d = a.get("blurScope"), f = a.get("scale");
|
|
62638
62638
|
UB(n, function(v) {
|
|
62639
|
-
if (v instanceof
|
|
62639
|
+
if (v instanceof Is) {
|
|
62640
62640
|
var m = v.style;
|
|
62641
62641
|
v.useStyle(pn({
|
|
62642
62642
|
// TODO other properties like dx, dy ?
|
|
@@ -62652,7 +62652,7 @@ function LK(n, e, t) {
|
|
|
62652
62652
|
g.style = o, f && (g.scaleX = v.scaleX * 1.1, g.scaleY = v.scaleY * 1.1), v.ensureState("blur").style = s, v.ensureState("select").style = l, c && (v.cursor = c), v.z2 = t.z2;
|
|
62653
62653
|
});
|
|
62654
62654
|
var h = e.valueDim.posDesc[+(t.boundingLength > 0)], p = n.__pictorialBarRect;
|
|
62655
|
-
p.ignoreClip = !0, ul(p,
|
|
62655
|
+
p.ignoreClip = !0, ul(p, Ms(r), {
|
|
62656
62656
|
labelFetcher: e.seriesModel,
|
|
62657
62657
|
labelDataIndex: i,
|
|
62658
62658
|
defaultText: c4(e.seriesModel.getData(), i),
|
|
@@ -62760,7 +62760,7 @@ var gVe = (
|
|
|
62760
62760
|
}
|
|
62761
62761
|
}, t), ld(I);
|
|
62762
62762
|
}
|
|
62763
|
-
ul(I,
|
|
62763
|
+
ul(I, Ms(t), {
|
|
62764
62764
|
labelDataIndex: w[A - 1],
|
|
62765
62765
|
defaultText: a.getName(w[A - 1]),
|
|
62766
62766
|
inheritColor: x.fill
|
|
@@ -62879,7 +62879,7 @@ var WL = 2, bVe = (
|
|
|
62879
62879
|
};
|
|
62880
62880
|
}, e.prototype.formatTooltip = function(t, i, r) {
|
|
62881
62881
|
var a = this.getData(), o = a.getName(t), s = a.get(a.mapDimension("value"), t);
|
|
62882
|
-
return
|
|
62882
|
+
return Ls("nameValue", {
|
|
62883
62883
|
name: o,
|
|
62884
62884
|
value: s
|
|
62885
62885
|
});
|
|
@@ -63646,7 +63646,7 @@ function GB(n) {
|
|
|
63646
63646
|
} : null, a = ede(i);
|
|
63647
63647
|
t = B7(a, null, r, i.layout || "center"), mf(t).customPathData = a;
|
|
63648
63648
|
} else if (e === "image")
|
|
63649
|
-
t = new
|
|
63649
|
+
t = new Is({}), mf(t).customImagePath = n.style.image;
|
|
63650
63650
|
else if (e === "text")
|
|
63651
63651
|
t = new or({});
|
|
63652
63652
|
else if (e === "group")
|
|
@@ -64031,7 +64031,7 @@ var IR = ["lineCap", "miterLimit", "lineJoin"], lUe = _n(IR, function(n) {
|
|
|
64031
64031
|
});
|
|
64032
64032
|
function cUe(n, e, t, i) {
|
|
64033
64033
|
var r = e.opacity == null ? 1 : e.opacity;
|
|
64034
|
-
if (t instanceof
|
|
64034
|
+
if (t instanceof Is) {
|
|
64035
64035
|
n("opacity", r);
|
|
64036
64036
|
return;
|
|
64037
64037
|
}
|
|
@@ -64063,7 +64063,7 @@ var rde = "http://www.w3.org/2000/svg", ade = "http://www.w3.org/1999/xlink", uU
|
|
|
64063
64063
|
function ode(n) {
|
|
64064
64064
|
return document.createElementNS(rde, n);
|
|
64065
64065
|
}
|
|
64066
|
-
function
|
|
64066
|
+
function ws(n, e, t, i, r) {
|
|
64067
64067
|
return {
|
|
64068
64068
|
tag: n,
|
|
64069
64069
|
attrs: t || {},
|
|
@@ -64132,7 +64132,7 @@ function RR(n) {
|
|
|
64132
64132
|
};
|
|
64133
64133
|
}
|
|
64134
64134
|
function HK(n, e, t, i) {
|
|
64135
|
-
return
|
|
64135
|
+
return ws("svg", "root", {
|
|
64136
64136
|
width: n,
|
|
64137
64137
|
height: e,
|
|
64138
64138
|
xmlns: rde,
|
|
@@ -64417,7 +64417,7 @@ function dde(n, e) {
|
|
|
64417
64417
|
var h = f.getVersion(), p = n, v = p.__svgPathBuilder;
|
|
64418
64418
|
(p.__svgPathVersion !== h || !v || l !== p.__svgPathStrokePercent) && (v || (v = p.__svgPathBuilder = new ide()), v.reset(c), f.rebuildPath(v, l), v.generateStr(), p.__svgPathVersion = h, p.__svgPathStrokePercent = l), a.d = v.getStr();
|
|
64419
64419
|
}
|
|
64420
|
-
return QB(a, n.transform), KB(a, t, n, e), JB(a, n), e.animation && sT(n, a, e), e.emphasis && _Ue(n, a, e),
|
|
64420
|
+
return QB(a, n.transform), KB(a, t, n, e), JB(a, n), e.animation && sT(n, a, e), e.emphasis && _Ue(n, a, e), ws(s, n.id + "", a);
|
|
64421
64421
|
}
|
|
64422
64422
|
function CUe(n, e) {
|
|
64423
64423
|
var t = n.style, i = t.image;
|
|
@@ -64427,7 +64427,7 @@ function CUe(n, e) {
|
|
|
64427
64427
|
width: o,
|
|
64428
64428
|
height: s
|
|
64429
64429
|
};
|
|
64430
|
-
return r && (l.x = r), a && (l.y = a), QB(l, n.transform), KB(l, t, n, e), JB(l, n), e.animation && sT(n, l, e),
|
|
64430
|
+
return r && (l.x = r), a && (l.y = a), QB(l, n.transform), KB(l, t, n, e), JB(l, n), e.animation && sT(n, l, e), ws("image", n.id + "", l);
|
|
64431
64431
|
}
|
|
64432
64432
|
}
|
|
64433
64433
|
function TUe(n, e) {
|
|
@@ -64445,13 +64445,13 @@ function TUe(n, e) {
|
|
|
64445
64445
|
c += "font-size:" + d + ";font-family:" + f + ";", u && u !== "normal" && (c += "font-style:" + u + ";"), h && h !== "normal" && (c += "font-weight:" + h + ";"), l.style = c;
|
|
64446
64446
|
} else
|
|
64447
64447
|
l.style = "font: " + r;
|
|
64448
|
-
return i.match(/\s/) && (l["xml:space"] = "preserve"), a && (l.x = a), o && (l.y = o), QB(l, n.transform), KB(l, t, n, e), JB(l, n), e.animation && sT(n, l, e),
|
|
64448
|
+
return i.match(/\s/) && (l["xml:space"] = "preserve"), a && (l.x = a), o && (l.y = o), QB(l, n.transform), KB(l, t, n, e), JB(l, n), e.animation && sT(n, l, e), ws("text", n.id + "", l, void 0, i);
|
|
64449
64449
|
}
|
|
64450
64450
|
}
|
|
64451
64451
|
function qK(n, e) {
|
|
64452
64452
|
if (n instanceof tr)
|
|
64453
64453
|
return dde(n, e);
|
|
64454
|
-
if (n instanceof
|
|
64454
|
+
if (n instanceof Is)
|
|
64455
64455
|
return CUe(n, e);
|
|
64456
64456
|
if (n instanceof e4)
|
|
64457
64457
|
return TUe(n, e);
|
|
@@ -64465,14 +64465,14 @@ function EUe(n, e, t) {
|
|
|
64465
64465
|
if (!l || !c)
|
|
64466
64466
|
return;
|
|
64467
64467
|
var u = i.shadowOffsetX || 0, d = i.shadowOffsetY || 0, f = i.shadowBlur, h = v6(i.shadowColor), p = h.opacity, v = h.color, m = f / 2 / l, g = f / 2 / c, y = m + " " + g;
|
|
64468
|
-
o = t.zrId + "-s" + t.shadowIdx++, t.defs[o] =
|
|
64468
|
+
o = t.zrId + "-s" + t.shadowIdx++, t.defs[o] = ws("filter", o, {
|
|
64469
64469
|
id: o,
|
|
64470
64470
|
x: "-100%",
|
|
64471
64471
|
y: "-100%",
|
|
64472
64472
|
width: "300%",
|
|
64473
64473
|
height: "300%"
|
|
64474
64474
|
}, [
|
|
64475
|
-
|
|
64475
|
+
ws("feDropShadow", "", {
|
|
64476
64476
|
dx: u / l,
|
|
64477
64477
|
dy: d / c,
|
|
64478
64478
|
stdDeviation: y,
|
|
@@ -64500,10 +64500,10 @@ function fde(n, e, t, i) {
|
|
|
64500
64500
|
var d = sI(s[c].offset) * 100 + "%", f = s[c].color, h = v6(f), p = h.color, v = h.opacity, m = {
|
|
64501
64501
|
offset: d
|
|
64502
64502
|
};
|
|
64503
|
-
m["stop-color"] = p, v < 1 && (m["stop-opacity"] = v), l.push(
|
|
64503
|
+
m["stop-color"] = p, v < 1 && (m["stop-opacity"] = v), l.push(ws("stop", c + "", m));
|
|
64504
64504
|
}
|
|
64505
|
-
var g =
|
|
64506
|
-
_ || (_ = i.zrId + "-g" + i.gradientIdx++, b[y] = _, o.id = _, i.defs[_] =
|
|
64505
|
+
var g = ws(a, "", o, l), y = qB(g), b = i.gradientCache, _ = b[y];
|
|
64506
|
+
_ || (_ = i.zrId + "-g" + i.gradientIdx++, b[y] = _, o.id = _, i.defs[_] = ws(a, _, o, l)), e[t] = mC(_);
|
|
64507
64507
|
}
|
|
64508
64508
|
function hde(n, e, t, i) {
|
|
64509
64509
|
var r = n.style[t], a = n.getBoundingRect(), o = {}, s = r.repeat, l = s === "no-repeat", c = s === "repeat-x", u = s === "repeat-y", d;
|
|
@@ -64523,7 +64523,7 @@ function hde(n, e, t, i) {
|
|
|
64523
64523
|
});
|
|
64524
64524
|
y && y.width && y.height && (f = f || y.width, h = h || y.height);
|
|
64525
64525
|
}
|
|
64526
|
-
d =
|
|
64526
|
+
d = ws("image", "img", {
|
|
64527
64527
|
href: p,
|
|
64528
64528
|
width: f,
|
|
64529
64529
|
height: h
|
|
@@ -64534,8 +64534,8 @@ function hde(n, e, t, i) {
|
|
|
64534
64534
|
l ? b = _ = 1 : c ? (_ = 1, b = o.width / a.width) : u ? (b = 1, _ = o.height / a.height) : o.patternUnits = "userSpaceOnUse", b != null && !isNaN(b) && (o.width = b), _ != null && !isNaN(_) && (o.height = _);
|
|
64535
64535
|
var S = Rae(r);
|
|
64536
64536
|
S && (o.patternTransform = S);
|
|
64537
|
-
var x =
|
|
64538
|
-
T || (T = i.zrId + "-p" + i.patternIdx++, A[w] = T, o.id = T, x = i.defs[T] =
|
|
64537
|
+
var x = ws("pattern", "", o, [d]), w = qB(x), A = i.patternCache, T = A[w];
|
|
64538
|
+
T || (T = i.zrId + "-p" + i.patternIdx++, A[w] = T, o.id = T, x = i.defs[T] = ws("pattern", T, o, [d])), e[t] = mC(T);
|
|
64539
64539
|
}
|
|
64540
64540
|
}
|
|
64541
64541
|
function MUe(n, e, t) {
|
|
@@ -64545,7 +64545,7 @@ function MUe(n, e, t) {
|
|
|
64545
64545
|
var o = {
|
|
64546
64546
|
id: a
|
|
64547
64547
|
};
|
|
64548
|
-
i[n.id] = a, r[a] =
|
|
64548
|
+
i[n.id] = a, r[a] = ws("clipPath", a, o, [dde(n, t)]);
|
|
64549
64549
|
}
|
|
64550
64550
|
e["clip-path"] = mC(a);
|
|
64551
64551
|
}
|
|
@@ -64570,7 +64570,7 @@ function vde(n) {
|
|
|
64570
64570
|
function QL(n, e) {
|
|
64571
64571
|
n.textContent = e;
|
|
64572
64572
|
}
|
|
64573
|
-
var $K = 58, LUe = 120, DUe =
|
|
64573
|
+
var $K = 58, LUe = 120, DUe = ws("", "");
|
|
64574
64574
|
function kR(n) {
|
|
64575
64575
|
return n === void 0;
|
|
64576
64576
|
}
|
|
@@ -64686,15 +64686,15 @@ var RUe = 0, kUe = (function() {
|
|
|
64686
64686
|
a.animation = e.animation, a.willUpdate = e.willUpdate, a.compress = e.compress, a.emphasis = e.emphasis, a.ssr = this._opts.ssr;
|
|
64687
64687
|
var o = [], s = this._bgVNode = NUe(i, r, this._backgroundColor, a);
|
|
64688
64688
|
s && o.push(s);
|
|
64689
|
-
var l = e.compress ? null : this._mainVNode =
|
|
64689
|
+
var l = e.compress ? null : this._mainVNode = ws("g", "main", {}, []);
|
|
64690
64690
|
this._paintList(t, a, l ? l.children : o), l && o.push(l);
|
|
64691
64691
|
var c = _n(ar(a.defs), function(f) {
|
|
64692
64692
|
return a.defs[f];
|
|
64693
64693
|
});
|
|
64694
|
-
if (c.length && o.push(
|
|
64694
|
+
if (c.length && o.push(ws("defs", "defs", {}, c)), e.animation) {
|
|
64695
64695
|
var u = pUe(a.cssNodes, a.cssAnims, { newline: !0 });
|
|
64696
64696
|
if (u) {
|
|
64697
|
-
var d =
|
|
64697
|
+
var d = ws("style", "stl", {}, [], u);
|
|
64698
64698
|
o.push(d);
|
|
64699
64699
|
}
|
|
64700
64700
|
}
|
|
@@ -64723,7 +64723,7 @@ var RUe = 0, kUe = (function() {
|
|
|
64723
64723
|
for (var g = v + 1; g < h; g++) {
|
|
64724
64724
|
var y = {};
|
|
64725
64725
|
MUe(f[g], y, t);
|
|
64726
|
-
var b =
|
|
64726
|
+
var b = ws("g", "clip-g-" + c++, y, []);
|
|
64727
64727
|
(s ? s.children : i).push(b), a[o++] = b, s = b;
|
|
64728
64728
|
}
|
|
64729
64729
|
l = f;
|
|
@@ -64768,7 +64768,7 @@ function eJ(n) {
|
|
|
64768
64768
|
function NUe(n, e, t, i) {
|
|
64769
64769
|
var r;
|
|
64770
64770
|
if (t && t !== "none")
|
|
64771
|
-
if (r =
|
|
64771
|
+
if (r = ws("rect", "bg", {
|
|
64772
64772
|
width: n,
|
|
64773
64773
|
height: e,
|
|
64774
64774
|
x: "0",
|
|
@@ -66062,7 +66062,7 @@ const gHe = { class: "object-history-panel" }, yHe = { class: "object-history-pa
|
|
|
66062
66062
|
}), Nn(() => {
|
|
66063
66063
|
k();
|
|
66064
66064
|
}), (F, z) => {
|
|
66065
|
-
const B = Ga, W = fi, H = br, U = p7, Y = g0, q = v7, X = Wc, le =
|
|
66065
|
+
const B = Ga, W = fi, H = br, U = p7, Y = g0, q = v7, X = Wc, le = cs;
|
|
66066
66066
|
return V(), Z("div", gHe, [
|
|
66067
66067
|
N("div", yHe, [
|
|
66068
66068
|
N("div", bHe, [
|
|
@@ -66490,7 +66490,7 @@ const gHe = { class: "object-history-panel" }, yHe = { class: "object-history-pa
|
|
|
66490
66490
|
const Ae = 3, ge = 4, Be = 10, st = 24, Ot = 56, Tt = He.length <= ge ? He.length : Ae, Wt = He.slice(0, Tt);
|
|
66491
66491
|
let bn = Wt.reduce((An, Fn) => An + f[Fn], 0) + Math.max(0, Wt.length - 1) * Be + st;
|
|
66492
66492
|
return He.length > ge && (bn += Be + Ot), bn;
|
|
66493
|
-
}), { mixiotPanelClass: p, mixiotPanelRootStyle: v } =
|
|
66493
|
+
}), { mixiotPanelClass: p, mixiotPanelRootStyle: v } = us(r), m = de(() => xi(e.conf.options)), g = de(() => {
|
|
66494
66494
|
var Be, st, Ot, Tt;
|
|
66495
66495
|
const Ie = (st = (Be = e.conf) == null ? void 0 : Be.options) == null ? void 0 : st.columns, He = Ie && typeof Ie == "object" && "value" in Ie ? Ie.value : Ie || [], Ae = ((Tt = (Ot = e.conf) == null ? void 0 : Ot.data) == null ? void 0 : Tt[0]) || {}, ge = (Array.isArray(He) ? He : []).filter((Wt) => {
|
|
66496
66496
|
const bn = Wt.key;
|
|
@@ -66694,9 +66694,9 @@ const gHe = { class: "object-history-panel" }, yHe = { class: "object-history-pa
|
|
|
66694
66694
|
var Ae;
|
|
66695
66695
|
const Ie = (Ae = B.value) == null ? void 0 : Ae.image;
|
|
66696
66696
|
if (!Ie || typeof Ie != "string") return "";
|
|
66697
|
-
if (Ie.startsWith("http") || Ie.startsWith(
|
|
66697
|
+
if (Ie.startsWith("http") || Ie.startsWith(Ys)) return Ie;
|
|
66698
66698
|
const He = Ie.startsWith("/") ? Ie.slice(1) : Ie;
|
|
66699
|
-
return `${
|
|
66699
|
+
return `${Ys}${He}`;
|
|
66700
66700
|
}), te = de(() => {
|
|
66701
66701
|
var He;
|
|
66702
66702
|
const Ie = (He = B.value) == null ? void 0 : He.tag;
|
|
@@ -67086,7 +67086,7 @@ const gHe = { class: "object-history-panel" }, yHe = { class: "object-history-pa
|
|
|
67086
67086
|
E();
|
|
67087
67087
|
}), (Ie, He) => {
|
|
67088
67088
|
var Kt, ln;
|
|
67089
|
-
const Ae = fi, ge = jr, Be = xu, st = Yc, Ot = xh, Tt = Uo, Wt = Eie, bn = v7, An = d1, Fn = h1, hn = u1, Cn = qA, Xi = ZA, Ti = Wc, zt = pd, Pt = hd, nt =
|
|
67089
|
+
const Ae = fi, ge = jr, Be = xu, st = Yc, Ot = xh, Tt = Uo, Wt = Eie, bn = v7, An = d1, Fn = h1, hn = u1, Cn = qA, Xi = ZA, Ti = Wc, zt = pd, Pt = hd, nt = cs;
|
|
67090
67090
|
return qn((V(), Z("div", {
|
|
67091
67091
|
class: Jt(["object-list mix-component", J(p)]),
|
|
67092
67092
|
style: Ue(J(v))
|
|
@@ -68099,7 +68099,7 @@ const gHe = { class: "object-history-panel" }, yHe = { class: "object-history-pa
|
|
|
68099
68099
|
a.setupLifecycle();
|
|
68100
68100
|
const o = a.getStyle(), s = de(() => fo(i.conf, "allowBatchOperation", !0)), l = de(() => fo(i.conf, "allowColumnDisplay", !0)), c = de(() => fo(i.conf, "cacheColumnOperations", !1)), u = de(() => kh(i.conf, c.value)), d = de(() => Rh(i.conf)), f = "__mixiot_actions__";
|
|
68101
68101
|
de(() => Y7(o.value, { view: 60 }));
|
|
68102
|
-
const { mixiotPanelClass: h, mixiotPanelRootStyle: p } =
|
|
68102
|
+
const { mixiotPanelClass: h, mixiotPanelRootStyle: p } = us(o), v = de(() => xi(i.conf.options)), m = de(() => _1(i.conf)), g = zn({ current: 1, pageSize: 20, total: 0 }), y = fe("1"), b = fe([
|
|
68103
68103
|
Mt().subtract(1, "month").format(t),
|
|
68104
68104
|
Mt().format(t)
|
|
68105
68105
|
]), _ = fe(""), S = fe("object_name"), x = fe(null), w = fe(""), A = Ph([
|
|
@@ -68339,7 +68339,7 @@ const gHe = { class: "object-history-panel" }, yHe = { class: "object-history-pa
|
|
|
68339
68339
|
return Nn(() => {
|
|
68340
68340
|
F();
|
|
68341
68341
|
}), (te, $) => {
|
|
68342
|
-
const we = p7, Ee = g0, Te = Ga, ce = fi, ye = r1, me = v7, pe = d1, be = h1, ke = u1, Se = Lie, ve = Mie, Fe =
|
|
68342
|
+
const we = p7, Ee = g0, Te = Ga, ce = fi, ye = r1, me = v7, pe = d1, be = h1, ke = u1, Se = Lie, ve = Mie, Fe = cs;
|
|
68343
68343
|
return qn((V(), Z("div", {
|
|
68344
68344
|
class: Jt(["retainer-record-list mix-component", J(h)]),
|
|
68345
68345
|
style: Ue(J(p))
|
|
@@ -68860,7 +68860,7 @@ const zje = { class: "gsl-top-bar" }, Bje = {
|
|
|
68860
68860
|
}
|
|
68861
68861
|
const i = new t(e, "stationList");
|
|
68862
68862
|
i.setupLifecycle();
|
|
68863
|
-
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } =
|
|
68863
|
+
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } = us(r), s = fe(null), { popperClass: l, popperEffect: c } = Uz(s), u = ca("switchSheetByPageKey", () => -1), d = ca("getSheets", () => []), f = ca("boardSwitchEpoch", fe(0)), h = de(() => {
|
|
68864
68864
|
var Ae, ge;
|
|
68865
68865
|
return ((ge = (Ae = e.conf) == null ? void 0 : Ae.data) == null ? void 0 : ge[0]) || {};
|
|
68866
68866
|
}), p = de(() => !!h.value.useMockTree);
|
|
@@ -69023,9 +69023,9 @@ const zje = { class: "gsl-top-bar" }, Bje = {
|
|
|
69023
69023
|
var Be;
|
|
69024
69024
|
const Ae = (Be = Q.value) == null ? void 0 : Be.image;
|
|
69025
69025
|
if (!Ae || typeof Ae != "string") return "";
|
|
69026
|
-
if (Ae.startsWith("http") || Ae.startsWith(
|
|
69026
|
+
if (Ae.startsWith("http") || Ae.startsWith(Ys)) return Ae;
|
|
69027
69027
|
const ge = Ae.startsWith("/") ? Ae.slice(1) : Ae;
|
|
69028
|
-
return `${
|
|
69028
|
+
return `${Ys}${ge}`;
|
|
69029
69029
|
}), Ee = de(() => {
|
|
69030
69030
|
var ge;
|
|
69031
69031
|
const Ae = (ge = Q.value) == null ? void 0 : ge.tag;
|
|
@@ -69407,7 +69407,7 @@ const zje = { class: "gsl-top-bar" }, Bje = {
|
|
|
69407
69407
|
return Nn(() => {
|
|
69408
69408
|
B();
|
|
69409
69409
|
}), (Ae, ge) => {
|
|
69410
|
-
const Be = br, st = jr, Ot = fi, Tt = pv, Wt = hv, bn = fv, An = Cie, Fn = Wc, hn = d1, Cn = h1, Xi = u1, Ti = qA, zt = ZA, Pt = pd, nt = hd, Kt = Ga, ln = xu, At = Yc, yn = xh, Wn = Uo, ii =
|
|
69410
|
+
const Be = br, st = jr, Ot = fi, Tt = pv, Wt = hv, bn = fv, An = Cie, Fn = Wc, hn = d1, Cn = h1, Xi = u1, Ti = qA, zt = ZA, Pt = pd, nt = hd, Kt = Ga, ln = xu, At = Yc, yn = xh, Wn = Uo, ii = cs;
|
|
69411
69411
|
return qn((V(), Z("div", {
|
|
69412
69412
|
ref_key: "hostRef",
|
|
69413
69413
|
ref: s,
|
|
@@ -70502,7 +70502,7 @@ const zje = { class: "gsl-top-bar" }, Bje = {
|
|
|
70502
70502
|
i.setupLifecycle();
|
|
70503
70503
|
const r = i.getStyle(), a = de(() => fo(e.conf, "allowBatchOperation", !0)), o = de(() => fo(e.conf, "allowColumnDisplay", !0)), s = de(() => fo(e.conf, "cacheColumnOperations", !1)), l = de(() => kh(e.conf, s.value)), c = de(() => Rh(e.conf)), u = "__mixiot_actions__", d = de(
|
|
70504
70504
|
() => Y7(r.value, { view: 60, edit: 60, delete: 60 })
|
|
70505
|
-
), { mixiotPanelClass: f, mixiotPanelRootStyle: h } =
|
|
70505
|
+
), { mixiotPanelClass: f, mixiotPanelRootStyle: h } = us(r), p = de(() => xi(e.conf.options)), v = de(() => _1(e.conf)), m = zn({ current: 1, pageSize: 10, total: 0 }), g = fe(""), y = fe("name"), b = Ph([
|
|
70506
70506
|
{ key: "name", label: "数据表名称" },
|
|
70507
70507
|
{ key: "uid", label: "数据表编号" },
|
|
70508
70508
|
{ key: "alias", label: "数据表别名" },
|
|
@@ -70723,7 +70723,7 @@ const zje = { class: "gsl-top-bar" }, Bje = {
|
|
|
70723
70723
|
return Nn(() => {
|
|
70724
70724
|
A();
|
|
70725
70725
|
}), (te, $) => {
|
|
70726
|
-
const we = fi, Ee = d1, Te = u1, ce = jr, ye = xu, me = Sh, pe = Yc, be = xh, ke = Uo, Se =
|
|
70726
|
+
const we = fi, Ee = d1, Te = u1, ce = jr, ye = xu, me = Sh, pe = Yc, be = xh, ke = Uo, Se = cs;
|
|
70727
70727
|
return qn((V(), Z("div", {
|
|
70728
70728
|
class: Jt(["tableman-list mix-component", J(f)]),
|
|
70729
70729
|
style: Ue(J(h))
|
|
@@ -71292,7 +71292,7 @@ const zje = { class: "gsl-top-bar" }, Bje = {
|
|
|
71292
71292
|
archive: 88,
|
|
71293
71293
|
delete: 60
|
|
71294
71294
|
})
|
|
71295
|
-
), { mixiotPanelClass: h, mixiotPanelRootStyle: p } =
|
|
71295
|
+
), { mixiotPanelClass: h, mixiotPanelRootStyle: p } = us(r), v = de(() => xi(e.conf.options)), m = de(() => _1(e.conf)), g = zn({ current: 1, pageSize: 10, total: 0 }), y = fe(""), b = fe("name"), _ = Ph([
|
|
71296
71296
|
{ key: "name", label: "配置名称" },
|
|
71297
71297
|
{ key: "uid", label: "配置编号" },
|
|
71298
71298
|
{ key: "alias", label: "配置别名" },
|
|
@@ -71582,7 +71582,7 @@ const zje = { class: "gsl-top-bar" }, Bje = {
|
|
|
71582
71582
|
return Nn(() => {
|
|
71583
71583
|
T();
|
|
71584
71584
|
}), (Te, ce) => {
|
|
71585
|
-
const ye = fi, me = r1, pe = d1, be = u1, ke = jr, Se = xu, ve = Yc, Fe = xh, Qe = Uo, bt =
|
|
71585
|
+
const ye = fi, me = r1, pe = d1, be = u1, ke = jr, Se = xu, ve = Yc, Fe = xh, Qe = Uo, bt = cs;
|
|
71586
71586
|
return V(), Z(Ke, null, [
|
|
71587
71587
|
qn((V(), Z("div", {
|
|
71588
71588
|
class: Jt(["terminal-config-list mix-component", J(h)]),
|
|
@@ -72165,7 +72165,7 @@ const zje = { class: "gsl-top-bar" }, Bje = {
|
|
|
72165
72165
|
0
|
|
72166
72166
|
) + Math.max(0, ot.length - 1) * bt + ht;
|
|
72167
72167
|
return ve.length > Qe && ($e += bt + We), $e;
|
|
72168
|
-
}), { mixiotPanelClass: p, mixiotPanelRootStyle: v } =
|
|
72168
|
+
}), { mixiotPanelClass: p, mixiotPanelRootStyle: v } = us(r), m = de(() => xi(e.conf.options)), g = de(() => _1(e.conf)), y = [
|
|
72169
72169
|
{ label: "Mixlinker Aprus-M", value: "Mixlinker Aprus-M" },
|
|
72170
72170
|
{ label: "Mixlinker Aprus-X", value: "Mixlinker Aprus-X" },
|
|
72171
72171
|
{ label: "Mixlinker Aprus-AS", value: "Mixlinker Aprus-AS" },
|
|
@@ -72473,7 +72473,7 @@ const zje = { class: "gsl-top-bar" }, Bje = {
|
|
|
72473
72473
|
return Nn(() => {
|
|
72474
72474
|
P();
|
|
72475
72475
|
}), (Se, ve) => {
|
|
72476
|
-
const Fe = fi, Qe = r1, bt = d1, ht = u1, We = jr, at = xu, ot = wr, $e = Sr, lt = Yc, ut = xh, qt = Uo, Qt =
|
|
72476
|
+
const Fe = fi, Qe = r1, bt = d1, ht = u1, We = jr, at = xu, ot = wr, $e = Sr, lt = Yc, ut = xh, qt = Uo, Qt = cs;
|
|
72477
72477
|
return V(), Z(Ke, null, [
|
|
72478
72478
|
qn((V(), Z("div", {
|
|
72479
72479
|
class: Jt(["terminal-list mix-component", J(p)]),
|
|
@@ -73132,7 +73132,7 @@ const PYe = {
|
|
|
73132
73132
|
},
|
|
73133
73133
|
setup(n) {
|
|
73134
73134
|
return (e, t) => {
|
|
73135
|
-
const i =
|
|
73135
|
+
const i = cs;
|
|
73136
73136
|
return V(), Z("div", {
|
|
73137
73137
|
class: Jt(["mixiot-list-app-base", n.panelClass]),
|
|
73138
73138
|
style: Ue(n.panelStyle)
|
|
@@ -73267,7 +73267,7 @@ const PYe = {
|
|
|
73267
73267
|
}
|
|
73268
73268
|
const i = new t(e, "controlRecordListAPP");
|
|
73269
73269
|
i.setupLifecycle();
|
|
73270
|
-
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } =
|
|
73270
|
+
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } = us(r), s = de(() => xi(e.conf.options)), l = de(() => _1(e.conf)), c = 10, {
|
|
73271
73271
|
listLoading: u,
|
|
73272
73272
|
listLoadingMore: d,
|
|
73273
73273
|
hasMore: f,
|
|
@@ -73624,7 +73624,7 @@ const PYe = {
|
|
|
73624
73624
|
setup(n, { emit: e }) {
|
|
73625
73625
|
const t = e;
|
|
73626
73626
|
return (i, r) => {
|
|
73627
|
-
const a = br, o =
|
|
73627
|
+
const a = br, o = cs;
|
|
73628
73628
|
return V(), Z("div", eWe, [
|
|
73629
73629
|
N("header", tWe, [
|
|
73630
73630
|
N("button", {
|
|
@@ -73879,7 +73879,7 @@ const PYe = {
|
|
|
73879
73879
|
}
|
|
73880
73880
|
const i = new t(e, "objectListAPP");
|
|
73881
73881
|
i.setupLifecycle();
|
|
73882
|
-
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } =
|
|
73882
|
+
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } = us(r), s = de(() => xi(e.conf.options)), l = de(() => {
|
|
73883
73883
|
var rn, mn;
|
|
73884
73884
|
const _t = ((mn = (rn = e.conf) == null ? void 0 : rn.data) == null ? void 0 : mn[0]) || {}, dt = _1(e.conf);
|
|
73885
73885
|
return _t.addRealtimeData && Array.isArray(_t.realtimeParams) && _t.realtimeParams.forEach((Ln) => {
|
|
@@ -74174,7 +74174,7 @@ const PYe = {
|
|
|
74174
74174
|
me[_t] = !me[_t];
|
|
74175
74175
|
}
|
|
74176
74176
|
function $e(_t, dt) {
|
|
74177
|
-
_t === "view" ? Cn(dt) : _t === "edit" ? $a(dt) : _t === "delete" &&
|
|
74177
|
+
_t === "view" ? Cn(dt) : _t === "edit" ? $a(dt) : _t === "delete" && hs(dt);
|
|
74178
74178
|
}
|
|
74179
74179
|
const lt = de(
|
|
74180
74180
|
() => qC.filter((_t) => q.value[_t.dataKey] === !0).map((_t) => ft(Ve({}, _t), {
|
|
@@ -74190,9 +74190,9 @@ const PYe = {
|
|
|
74190
74190
|
var rn;
|
|
74191
74191
|
const _t = (rn = Y.value) == null ? void 0 : rn.image;
|
|
74192
74192
|
if (!_t || typeof _t != "string") return "";
|
|
74193
|
-
if (_t.startsWith("http") || _t.startsWith(
|
|
74193
|
+
if (_t.startsWith("http") || _t.startsWith(Ys)) return _t;
|
|
74194
74194
|
const dt = _t.startsWith("/") ? _t.slice(1) : _t;
|
|
74195
|
-
return `${
|
|
74195
|
+
return `${Ys}${dt}`;
|
|
74196
74196
|
}), Rt = de(() => {
|
|
74197
74197
|
var dt;
|
|
74198
74198
|
const _t = (dt = Y.value) == null ? void 0 : dt.tag;
|
|
@@ -74571,7 +74571,7 @@ const PYe = {
|
|
|
74571
74571
|
} finally {
|
|
74572
74572
|
At.value = !1;
|
|
74573
74573
|
}
|
|
74574
|
-
}),
|
|
74574
|
+
}), hs = (_t) => {
|
|
74575
74575
|
qa.confirm("确认删除该对象吗?", "警告", {
|
|
74576
74576
|
type: "warning",
|
|
74577
74577
|
confirmButtonText: "确认",
|
|
@@ -74636,7 +74636,7 @@ const PYe = {
|
|
|
74636
74636
|
}), Qa(() => {
|
|
74637
74637
|
se();
|
|
74638
74638
|
}), (_t, dt) => {
|
|
74639
|
-
const rn = wr, mn = Sr, Ln = br, wi = fi, ui = jr, oa = Ga, ta = pv, Va = hv, Ca = fv, nr = xu, vl = Yc, _o = Uo, na = Eie, Zs = v7, Yr = d1, Xc = h1, Pv = u1, Uf = qA, Hf = ZA, Zc = Wc, _d = pd, Pr = hd, C5 = Oie, Mo = Die, Ul =
|
|
74639
|
+
const rn = wr, mn = Sr, Ln = br, wi = fi, ui = jr, oa = Ga, ta = pv, Va = hv, Ca = fv, nr = xu, vl = Yc, _o = Uo, na = Eie, Zs = v7, Yr = d1, Xc = h1, Pv = u1, Uf = qA, Hf = ZA, Zc = Wc, _d = pd, Pr = hd, C5 = Oie, Mo = Die, Ul = cs;
|
|
74640
74640
|
return V(), rt(iy, {
|
|
74641
74641
|
class: "object-list-app mix-component",
|
|
74642
74642
|
"panel-class": J(a),
|
|
@@ -76010,7 +76010,7 @@ const PYe = {
|
|
|
76010
76010
|
}
|
|
76011
76011
|
const s = new o(e, "reportResultListAPP");
|
|
76012
76012
|
s.setupLifecycle();
|
|
76013
|
-
const l = s.getStyle(), { mixiotPanelClass: c, mixiotPanelRootStyle: u } =
|
|
76013
|
+
const l = s.getStyle(), { mixiotPanelClass: c, mixiotPanelRootStyle: u } = us(l), d = de(() => xi(e.conf.options)), f = de(() => _1(e.conf)), h = 10, {
|
|
76014
76014
|
listLoading: p,
|
|
76015
76015
|
listLoadingMore: v,
|
|
76016
76016
|
hasMore: m,
|
|
@@ -76688,7 +76688,7 @@ const PYe = {
|
|
|
76688
76688
|
}
|
|
76689
76689
|
const a = new r(i, "retainerRecordListAPP");
|
|
76690
76690
|
a.setupLifecycle();
|
|
76691
|
-
const o = a.getStyle(), { mixiotPanelClass: s, mixiotPanelRootStyle: l } =
|
|
76691
|
+
const o = a.getStyle(), { mixiotPanelClass: s, mixiotPanelRootStyle: l } = us(o), c = de(() => xi(i.conf.options)), u = de(() => _1(i.conf)), d = 20, {
|
|
76692
76692
|
listLoading: f,
|
|
76693
76693
|
listLoadingMore: h,
|
|
76694
76694
|
hasMore: p,
|
|
@@ -77031,7 +77031,7 @@ const PYe = {
|
|
|
77031
77031
|
function qe(je) {
|
|
77032
77032
|
return je.split(",").map((Ze) => {
|
|
77033
77033
|
const yt = Ze.trim();
|
|
77034
|
-
return yt ? yt.startsWith("http") ? yt :
|
|
77034
|
+
return yt ? yt.startsWith("http") ? yt : Ys + yt : "";
|
|
77035
77035
|
}).filter(Boolean);
|
|
77036
77036
|
}
|
|
77037
77037
|
function Ye() {
|
|
@@ -77779,7 +77779,7 @@ const PYe = {
|
|
|
77779
77779
|
}
|
|
77780
77780
|
const i = new t(e, "terminalListAPP");
|
|
77781
77781
|
i.setupLifecycle();
|
|
77782
|
-
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } =
|
|
77782
|
+
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } = us(r), s = de(() => xi(e.conf.options)), l = de(() => _1(e.conf)), c = [
|
|
77783
77783
|
{ label: "Mixlinker Aprus-M", value: "Mixlinker Aprus-M" },
|
|
77784
77784
|
{ label: "Mixlinker Aprus-X", value: "Mixlinker Aprus-X" },
|
|
77785
77785
|
{ label: "Mixlinker Aprus-AS", value: "Mixlinker Aprus-AS" },
|
|
@@ -78213,7 +78213,7 @@ const PYe = {
|
|
|
78213
78213
|
return Nn(() => {
|
|
78214
78214
|
I();
|
|
78215
78215
|
}), (kt, Dt) => {
|
|
78216
|
-
const sn = wr, si = Sr, et = br, Et = fi, Lt = jr, Zt = pv, Ie = hv, He = fv, Ae = h1, ge = d1, Be = u1, st = Oie, Ot = Wc, Tt = pd, Wt = hd, bn = fd, An = Ga, Fn = Die, hn = xu, Cn = Yc, Xi = Uo, Ti =
|
|
78216
|
+
const sn = wr, si = Sr, et = br, Et = fi, Lt = jr, Zt = pv, Ie = hv, He = fv, Ae = h1, ge = d1, Be = u1, st = Oie, Ot = Wc, Tt = pd, Wt = hd, bn = fd, An = Ga, Fn = Die, hn = xu, Cn = Yc, Xi = Uo, Ti = cs;
|
|
78217
78217
|
return V(), rt(iy, {
|
|
78218
78218
|
class: "terminal-list-app mixiot-list-app mix-component",
|
|
78219
78219
|
"panel-class": J(a),
|
|
@@ -79491,7 +79491,7 @@ const PYe = {
|
|
|
79491
79491
|
file_type: I
|
|
79492
79492
|
}, !0);
|
|
79493
79493
|
if (P.code === 200 && ((E = P.result) != null && E.relative_path)) {
|
|
79494
|
-
const R =
|
|
79494
|
+
const R = Ys + P.result.relative_path;
|
|
79495
79495
|
URL.revokeObjectURL(C), o.value = R, y("fileUrl", R), y("fileName", P.result.file_name || T.name), vt.success("音频上传成功");
|
|
79496
79496
|
} else
|
|
79497
79497
|
throw new Error(P.msg || "上传失败");
|
|
@@ -83254,7 +83254,7 @@ class to extends er {
|
|
|
83254
83254
|
}
|
|
83255
83255
|
}
|
|
83256
83256
|
let hJe = 0;
|
|
83257
|
-
const Mu = /* @__PURE__ */ new qi(), yD = /* @__PURE__ */ new Ja(), Sm = /* @__PURE__ */ new gt(), $c = /* @__PURE__ */ new xa(), g9 = /* @__PURE__ */ new xa(),
|
|
83257
|
+
const Mu = /* @__PURE__ */ new qi(), yD = /* @__PURE__ */ new Ja(), Sm = /* @__PURE__ */ new gt(), $c = /* @__PURE__ */ new xa(), g9 = /* @__PURE__ */ new xa(), Ns = /* @__PURE__ */ new gt();
|
|
83258
83258
|
class Qi extends Lv {
|
|
83259
83259
|
constructor() {
|
|
83260
83260
|
super(), this.isBufferGeometry = !0, Object.defineProperty(this, "id", { value: hJe++ }), this.uuid = td(), this.name = "", this.type = "BufferGeometry", this.index = null, this.indirect = null, this.attributes = {}, this.morphAttributes = {}, this.morphTargetsRelative = !1, this.groups = [], this.boundingBox = null, this.boundingSphere = null, this.drawRange = { start: 0, count: 1 / 0 }, this.userData = {};
|
|
@@ -83363,7 +83363,7 @@ class Qi extends Lv {
|
|
|
83363
83363
|
if (this.boundingBox.setFromBufferAttribute(e), t)
|
|
83364
83364
|
for (let i = 0, r = t.length; i < r; i++) {
|
|
83365
83365
|
const a = t[i];
|
|
83366
|
-
$c.setFromBufferAttribute(a), this.morphTargetsRelative ? (
|
|
83366
|
+
$c.setFromBufferAttribute(a), this.morphTargetsRelative ? (Ns.addVectors(this.boundingBox.min, $c.min), this.boundingBox.expandByPoint(Ns), Ns.addVectors(this.boundingBox.max, $c.max), this.boundingBox.expandByPoint(Ns)) : (this.boundingBox.expandByPoint($c.min), this.boundingBox.expandByPoint($c.max));
|
|
83367
83367
|
}
|
|
83368
83368
|
} else
|
|
83369
83369
|
this.boundingBox.makeEmpty();
|
|
@@ -83381,17 +83381,17 @@ class Qi extends Lv {
|
|
|
83381
83381
|
if ($c.setFromBufferAttribute(e), t)
|
|
83382
83382
|
for (let a = 0, o = t.length; a < o; a++) {
|
|
83383
83383
|
const s = t[a];
|
|
83384
|
-
g9.setFromBufferAttribute(s), this.morphTargetsRelative ? (
|
|
83384
|
+
g9.setFromBufferAttribute(s), this.morphTargetsRelative ? (Ns.addVectors($c.min, g9.min), $c.expandByPoint(Ns), Ns.addVectors($c.max, g9.max), $c.expandByPoint(Ns)) : ($c.expandByPoint(g9.min), $c.expandByPoint(g9.max));
|
|
83385
83385
|
}
|
|
83386
83386
|
$c.getCenter(i);
|
|
83387
83387
|
let r = 0;
|
|
83388
83388
|
for (let a = 0, o = e.count; a < o; a++)
|
|
83389
|
-
|
|
83389
|
+
Ns.fromBufferAttribute(e, a), r = Math.max(r, i.distanceToSquared(Ns));
|
|
83390
83390
|
if (t)
|
|
83391
83391
|
for (let a = 0, o = t.length; a < o; a++) {
|
|
83392
83392
|
const s = t[a], l = this.morphTargetsRelative;
|
|
83393
83393
|
for (let c = 0, u = s.count; c < u; c++)
|
|
83394
|
-
|
|
83394
|
+
Ns.fromBufferAttribute(s, c), l && (Sm.fromBufferAttribute(e, c), Ns.add(Sm)), r = Math.max(r, i.distanceToSquared(Ns));
|
|
83395
83395
|
}
|
|
83396
83396
|
this.boundingSphere.radius = Math.sqrt(r), isNaN(this.boundingSphere.radius) && console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.', this);
|
|
83397
83397
|
}
|
|
@@ -83465,7 +83465,7 @@ class Qi extends Lv {
|
|
|
83465
83465
|
normalizeNormals() {
|
|
83466
83466
|
const e = this.attributes.normal;
|
|
83467
83467
|
for (let t = 0, i = e.count; t < i; t++)
|
|
83468
|
-
|
|
83468
|
+
Ns.fromBufferAttribute(e, t), Ns.normalize(), e.setXYZ(t, Ns.x, Ns.y, Ns.z);
|
|
83469
83469
|
}
|
|
83470
83470
|
toNonIndexed() {
|
|
83471
83471
|
function e(s, l) {
|
|
@@ -83840,7 +83840,7 @@ let n0e = class extends Ja {
|
|
|
83840
83840
|
}
|
|
83841
83841
|
};
|
|
83842
83842
|
const a2 = /* @__PURE__ */ new gt(), FJ = /* @__PURE__ */ new Ni(), zJ = /* @__PURE__ */ new Ni();
|
|
83843
|
-
class
|
|
83843
|
+
class Vs extends n0e {
|
|
83844
83844
|
constructor(e = 50, t = 1, i = 0.1, r = 2e3) {
|
|
83845
83845
|
super(), this.isPerspectiveCamera = !0, this.type = "PerspectiveCamera", this.fov = e, this.zoom = 1, this.near = i, this.far = r, this.focus = 10, this.aspect = t, this.view = null, this.filmGauge = 35, this.filmOffset = 0, this.updateProjectionMatrix();
|
|
83846
83846
|
}
|
|
@@ -83960,17 +83960,17 @@ const wm = -90, Am = 1;
|
|
|
83960
83960
|
class bJe extends Ja {
|
|
83961
83961
|
constructor(e, t, i) {
|
|
83962
83962
|
super(), this.type = "CubeCamera", this.renderTarget = i, this.coordinateSystem = null, this.activeMipmapLevel = 0;
|
|
83963
|
-
const r = new
|
|
83963
|
+
const r = new Vs(wm, Am, e, t);
|
|
83964
83964
|
r.layers = this.layers, this.add(r);
|
|
83965
|
-
const a = new
|
|
83965
|
+
const a = new Vs(wm, Am, e, t);
|
|
83966
83966
|
a.layers = this.layers, this.add(a);
|
|
83967
|
-
const o = new
|
|
83967
|
+
const o = new Vs(wm, Am, e, t);
|
|
83968
83968
|
o.layers = this.layers, this.add(o);
|
|
83969
|
-
const s = new
|
|
83969
|
+
const s = new Vs(wm, Am, e, t);
|
|
83970
83970
|
s.layers = this.layers, this.add(s);
|
|
83971
|
-
const l = new
|
|
83971
|
+
const l = new Vs(wm, Am, e, t);
|
|
83972
83972
|
l.layers = this.layers, this.add(l);
|
|
83973
|
-
const c = new
|
|
83973
|
+
const c = new Vs(wm, Am, e, t);
|
|
83974
83974
|
c.layers = this.layers, this.add(c);
|
|
83975
83975
|
}
|
|
83976
83976
|
updateCoordinateSystem() {
|
|
@@ -89073,7 +89073,7 @@ class HJ {
|
|
|
89073
89073
|
this._renderer.compile(t, xD);
|
|
89074
89074
|
}
|
|
89075
89075
|
_sceneToCubeUV(e, t, i, r) {
|
|
89076
|
-
const s = new
|
|
89076
|
+
const s = new Vs(90, 1, t, i), l = [1, -1, 1, 1, 1, 1], c = [1, 1, 1, -1, -1, -1], u = this._renderer, d = u.autoClear, f = u.toneMapping;
|
|
89077
89077
|
u.getClearColor(VJ), u.toneMapping = th, u.autoClear = !1;
|
|
89078
89078
|
const h = new Xu({
|
|
89079
89079
|
name: "PMREM.Background",
|
|
@@ -89750,13 +89750,13 @@ function l5(n, e, t) {
|
|
|
89750
89750
|
}
|
|
89751
89751
|
return a;
|
|
89752
89752
|
}
|
|
89753
|
-
function
|
|
89753
|
+
function Ds(n, e) {
|
|
89754
89754
|
if (n.length !== e.length) return !1;
|
|
89755
89755
|
for (let t = 0, i = n.length; t < i; t++)
|
|
89756
89756
|
if (n[t] !== e[t]) return !1;
|
|
89757
89757
|
return !0;
|
|
89758
89758
|
}
|
|
89759
|
-
function
|
|
89759
|
+
function Os(n, e) {
|
|
89760
89760
|
for (let t = 0, i = e.length; t < i; t++)
|
|
89761
89761
|
n[t] = e[t];
|
|
89762
89762
|
}
|
|
@@ -89776,8 +89776,8 @@ function xet(n, e) {
|
|
|
89776
89776
|
if (e.x !== void 0)
|
|
89777
89777
|
(t[0] !== e.x || t[1] !== e.y) && (n.uniform2f(this.addr, e.x, e.y), t[0] = e.x, t[1] = e.y);
|
|
89778
89778
|
else {
|
|
89779
|
-
if (
|
|
89780
|
-
n.uniform2fv(this.addr, e),
|
|
89779
|
+
if (Ds(t, e)) return;
|
|
89780
|
+
n.uniform2fv(this.addr, e), Os(t, e);
|
|
89781
89781
|
}
|
|
89782
89782
|
}
|
|
89783
89783
|
function wet(n, e) {
|
|
@@ -89787,8 +89787,8 @@ function wet(n, e) {
|
|
|
89787
89787
|
else if (e.r !== void 0)
|
|
89788
89788
|
(t[0] !== e.r || t[1] !== e.g || t[2] !== e.b) && (n.uniform3f(this.addr, e.r, e.g, e.b), t[0] = e.r, t[1] = e.g, t[2] = e.b);
|
|
89789
89789
|
else {
|
|
89790
|
-
if (
|
|
89791
|
-
n.uniform3fv(this.addr, e),
|
|
89790
|
+
if (Ds(t, e)) return;
|
|
89791
|
+
n.uniform3fv(this.addr, e), Os(t, e);
|
|
89792
89792
|
}
|
|
89793
89793
|
}
|
|
89794
89794
|
function Aet(n, e) {
|
|
@@ -89796,38 +89796,38 @@ function Aet(n, e) {
|
|
|
89796
89796
|
if (e.x !== void 0)
|
|
89797
89797
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z || t[3] !== e.w) && (n.uniform4f(this.addr, e.x, e.y, e.z, e.w), t[0] = e.x, t[1] = e.y, t[2] = e.z, t[3] = e.w);
|
|
89798
89798
|
else {
|
|
89799
|
-
if (
|
|
89800
|
-
n.uniform4fv(this.addr, e),
|
|
89799
|
+
if (Ds(t, e)) return;
|
|
89800
|
+
n.uniform4fv(this.addr, e), Os(t, e);
|
|
89801
89801
|
}
|
|
89802
89802
|
}
|
|
89803
89803
|
function Cet(n, e) {
|
|
89804
89804
|
const t = this.cache, i = e.elements;
|
|
89805
89805
|
if (i === void 0) {
|
|
89806
|
-
if (
|
|
89807
|
-
n.uniformMatrix2fv(this.addr, !1, e),
|
|
89806
|
+
if (Ds(t, e)) return;
|
|
89807
|
+
n.uniformMatrix2fv(this.addr, !1, e), Os(t, e);
|
|
89808
89808
|
} else {
|
|
89809
|
-
if (
|
|
89810
|
-
JJ.set(i), n.uniformMatrix2fv(this.addr, !1, JJ),
|
|
89809
|
+
if (Ds(t, i)) return;
|
|
89810
|
+
JJ.set(i), n.uniformMatrix2fv(this.addr, !1, JJ), Os(t, i);
|
|
89811
89811
|
}
|
|
89812
89812
|
}
|
|
89813
89813
|
function Tet(n, e) {
|
|
89814
89814
|
const t = this.cache, i = e.elements;
|
|
89815
89815
|
if (i === void 0) {
|
|
89816
|
-
if (
|
|
89817
|
-
n.uniformMatrix3fv(this.addr, !1, e),
|
|
89816
|
+
if (Ds(t, e)) return;
|
|
89817
|
+
n.uniformMatrix3fv(this.addr, !1, e), Os(t, e);
|
|
89818
89818
|
} else {
|
|
89819
|
-
if (
|
|
89820
|
-
KJ.set(i), n.uniformMatrix3fv(this.addr, !1, KJ),
|
|
89819
|
+
if (Ds(t, i)) return;
|
|
89820
|
+
KJ.set(i), n.uniformMatrix3fv(this.addr, !1, KJ), Os(t, i);
|
|
89821
89821
|
}
|
|
89822
89822
|
}
|
|
89823
89823
|
function Eet(n, e) {
|
|
89824
89824
|
const t = this.cache, i = e.elements;
|
|
89825
89825
|
if (i === void 0) {
|
|
89826
|
-
if (
|
|
89827
|
-
n.uniformMatrix4fv(this.addr, !1, e),
|
|
89826
|
+
if (Ds(t, e)) return;
|
|
89827
|
+
n.uniformMatrix4fv(this.addr, !1, e), Os(t, e);
|
|
89828
89828
|
} else {
|
|
89829
|
-
if (
|
|
89830
|
-
qJ.set(i), n.uniformMatrix4fv(this.addr, !1, qJ),
|
|
89829
|
+
if (Ds(t, i)) return;
|
|
89830
|
+
qJ.set(i), n.uniformMatrix4fv(this.addr, !1, qJ), Os(t, i);
|
|
89831
89831
|
}
|
|
89832
89832
|
}
|
|
89833
89833
|
function Met(n, e) {
|
|
@@ -89839,8 +89839,8 @@ function Let(n, e) {
|
|
|
89839
89839
|
if (e.x !== void 0)
|
|
89840
89840
|
(t[0] !== e.x || t[1] !== e.y) && (n.uniform2i(this.addr, e.x, e.y), t[0] = e.x, t[1] = e.y);
|
|
89841
89841
|
else {
|
|
89842
|
-
if (
|
|
89843
|
-
n.uniform2iv(this.addr, e),
|
|
89842
|
+
if (Ds(t, e)) return;
|
|
89843
|
+
n.uniform2iv(this.addr, e), Os(t, e);
|
|
89844
89844
|
}
|
|
89845
89845
|
}
|
|
89846
89846
|
function Det(n, e) {
|
|
@@ -89848,8 +89848,8 @@ function Det(n, e) {
|
|
|
89848
89848
|
if (e.x !== void 0)
|
|
89849
89849
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z) && (n.uniform3i(this.addr, e.x, e.y, e.z), t[0] = e.x, t[1] = e.y, t[2] = e.z);
|
|
89850
89850
|
else {
|
|
89851
|
-
if (
|
|
89852
|
-
n.uniform3iv(this.addr, e),
|
|
89851
|
+
if (Ds(t, e)) return;
|
|
89852
|
+
n.uniform3iv(this.addr, e), Os(t, e);
|
|
89853
89853
|
}
|
|
89854
89854
|
}
|
|
89855
89855
|
function Oet(n, e) {
|
|
@@ -89857,8 +89857,8 @@ function Oet(n, e) {
|
|
|
89857
89857
|
if (e.x !== void 0)
|
|
89858
89858
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z || t[3] !== e.w) && (n.uniform4i(this.addr, e.x, e.y, e.z, e.w), t[0] = e.x, t[1] = e.y, t[2] = e.z, t[3] = e.w);
|
|
89859
89859
|
else {
|
|
89860
|
-
if (
|
|
89861
|
-
n.uniform4iv(this.addr, e),
|
|
89860
|
+
if (Ds(t, e)) return;
|
|
89861
|
+
n.uniform4iv(this.addr, e), Os(t, e);
|
|
89862
89862
|
}
|
|
89863
89863
|
}
|
|
89864
89864
|
function Pet(n, e) {
|
|
@@ -89870,8 +89870,8 @@ function Iet(n, e) {
|
|
|
89870
89870
|
if (e.x !== void 0)
|
|
89871
89871
|
(t[0] !== e.x || t[1] !== e.y) && (n.uniform2ui(this.addr, e.x, e.y), t[0] = e.x, t[1] = e.y);
|
|
89872
89872
|
else {
|
|
89873
|
-
if (
|
|
89874
|
-
n.uniform2uiv(this.addr, e),
|
|
89873
|
+
if (Ds(t, e)) return;
|
|
89874
|
+
n.uniform2uiv(this.addr, e), Os(t, e);
|
|
89875
89875
|
}
|
|
89876
89876
|
}
|
|
89877
89877
|
function Ret(n, e) {
|
|
@@ -89879,8 +89879,8 @@ function Ret(n, e) {
|
|
|
89879
89879
|
if (e.x !== void 0)
|
|
89880
89880
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z) && (n.uniform3ui(this.addr, e.x, e.y, e.z), t[0] = e.x, t[1] = e.y, t[2] = e.z);
|
|
89881
89881
|
else {
|
|
89882
|
-
if (
|
|
89883
|
-
n.uniform3uiv(this.addr, e),
|
|
89882
|
+
if (Ds(t, e)) return;
|
|
89883
|
+
n.uniform3uiv(this.addr, e), Os(t, e);
|
|
89884
89884
|
}
|
|
89885
89885
|
}
|
|
89886
89886
|
function ket(n, e) {
|
|
@@ -89888,8 +89888,8 @@ function ket(n, e) {
|
|
|
89888
89888
|
if (e.x !== void 0)
|
|
89889
89889
|
(t[0] !== e.x || t[1] !== e.y || t[2] !== e.z || t[3] !== e.w) && (n.uniform4ui(this.addr, e.x, e.y, e.z, e.w), t[0] = e.x, t[1] = e.y, t[2] = e.z, t[3] = e.w);
|
|
89890
89890
|
else {
|
|
89891
|
-
if (
|
|
89892
|
-
n.uniform4uiv(this.addr, e),
|
|
89891
|
+
if (Ds(t, e)) return;
|
|
89892
|
+
n.uniform4uiv(this.addr, e), Os(t, e);
|
|
89893
89893
|
}
|
|
89894
89894
|
}
|
|
89895
89895
|
function Net(n, e, t) {
|
|
@@ -90048,25 +90048,25 @@ function ttt(n, e) {
|
|
|
90048
90048
|
}
|
|
90049
90049
|
function ntt(n, e, t) {
|
|
90050
90050
|
const i = this.cache, r = e.length, a = mT(t, r);
|
|
90051
|
-
|
|
90051
|
+
Ds(i, a) || (n.uniform1iv(this.addr, a), Os(i, a));
|
|
90052
90052
|
for (let o = 0; o !== r; ++o)
|
|
90053
90053
|
t.setTexture2D(e[o] || o0e, a[o]);
|
|
90054
90054
|
}
|
|
90055
90055
|
function itt(n, e, t) {
|
|
90056
90056
|
const i = this.cache, r = e.length, a = mT(t, r);
|
|
90057
|
-
|
|
90057
|
+
Ds(i, a) || (n.uniform1iv(this.addr, a), Os(i, a));
|
|
90058
90058
|
for (let o = 0; o !== r; ++o)
|
|
90059
90059
|
t.setTexture3D(e[o] || l0e, a[o]);
|
|
90060
90060
|
}
|
|
90061
90061
|
function rtt(n, e, t) {
|
|
90062
90062
|
const i = this.cache, r = e.length, a = mT(t, r);
|
|
90063
|
-
|
|
90063
|
+
Ds(i, a) || (n.uniform1iv(this.addr, a), Os(i, a));
|
|
90064
90064
|
for (let o = 0; o !== r; ++o)
|
|
90065
90065
|
t.setTextureCube(e[o] || c0e, a[o]);
|
|
90066
90066
|
}
|
|
90067
90067
|
function att(n, e, t) {
|
|
90068
90068
|
const i = this.cache, r = e.length, a = mT(t, r);
|
|
90069
|
-
|
|
90069
|
+
Ds(i, a) || (n.uniform1iv(this.addr, a), Os(i, a));
|
|
90070
90070
|
for (let o = 0; o !== r; ++o)
|
|
90071
90071
|
t.setTexture2DArray(e[o] || s0e, a[o]);
|
|
90072
90072
|
}
|
|
@@ -92718,7 +92718,7 @@ function ent(n, e) {
|
|
|
92718
92718
|
}
|
|
92719
92719
|
return { convert: t };
|
|
92720
92720
|
}
|
|
92721
|
-
class tnt extends
|
|
92721
|
+
class tnt extends Vs {
|
|
92722
92722
|
constructor(e = []) {
|
|
92723
92723
|
super(), this.isArrayCamera = !0, this.cameras = e;
|
|
92724
92724
|
}
|
|
@@ -92858,9 +92858,9 @@ class ont extends Lv {
|
|
|
92858
92858
|
let g = null, y = null;
|
|
92859
92859
|
const b = [], _ = [], S = new Ni();
|
|
92860
92860
|
let x = null;
|
|
92861
|
-
const w = new
|
|
92861
|
+
const w = new Vs();
|
|
92862
92862
|
w.viewport = new Oa();
|
|
92863
|
-
const A = new
|
|
92863
|
+
const A = new Vs();
|
|
92864
92864
|
A.viewport = new Oa();
|
|
92865
92865
|
const T = [w, A], C = new tnt();
|
|
92866
92866
|
let E = null, M = null;
|
|
@@ -93043,7 +93043,7 @@ class ont extends Lv {
|
|
|
93043
93043
|
), e.setRenderTarget(y));
|
|
93044
93044
|
}
|
|
93045
93045
|
let se = T[re];
|
|
93046
|
-
se === void 0 && (se = new
|
|
93046
|
+
se === void 0 && (se = new Vs(), se.layers.enable(re), se.viewport = new Oa(), T[re] = se), se.matrix.fromArray(ae.transform.matrix), se.matrix.decompose(se.position, se.quaternion, se.scale), se.projectionMatrix.fromArray(ae.projectionMatrix), se.projectionMatrixInverse.copy(se.projectionMatrix).invert(), se.viewport.set(Q.x, Q.y, Q.width, Q.height), re === 0 && (C.matrix.copy(se.matrix), C.matrix.decompose(C.position, C.quaternion, C.scale)), le === !0 && C.cameras.push(se);
|
|
93047
93047
|
}
|
|
93048
93048
|
const ie = r.enabledFeatures;
|
|
93049
93049
|
if (ie && ie.includes("depth-sensing")) {
|
|
@@ -96096,7 +96096,7 @@ class vV {
|
|
|
96096
96096
|
}
|
|
96097
96097
|
class Fnt extends vV {
|
|
96098
96098
|
constructor() {
|
|
96099
|
-
super(new
|
|
96099
|
+
super(new Vs(50, 1, 0.5, 500)), this.isSpotLightShadow = !0, this.focus = 1;
|
|
96100
96100
|
}
|
|
96101
96101
|
updateMatrices(e) {
|
|
96102
96102
|
const t = this.camera, i = m4 * 2 * e.angle * this.focus, r = this.mapSize.width / this.mapSize.height, a = e.distance || t.far;
|
|
@@ -96126,7 +96126,7 @@ let znt = class extends bT {
|
|
|
96126
96126
|
const MQ = /* @__PURE__ */ new qi(), S9 = /* @__PURE__ */ new gt(), zD = /* @__PURE__ */ new gt();
|
|
96127
96127
|
class Bnt extends vV {
|
|
96128
96128
|
constructor() {
|
|
96129
|
-
super(new
|
|
96129
|
+
super(new Vs(90, 1, 0.5, 500)), this.isPointLightShadow = !0, this._frameExtents = new Ni(4, 2), this._viewportCount = 6, this._viewports = [
|
|
96130
96130
|
// These viewports map a cube-map onto a 2D texture with the
|
|
96131
96131
|
// following orientation:
|
|
96132
96132
|
//
|
|
@@ -99295,7 +99295,7 @@ const irt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3
|
|
|
99295
99295
|
file_type: C
|
|
99296
99296
|
}, !0);
|
|
99297
99297
|
if (E.code === 200 && ((A = E.result) != null && A.relative_path)) {
|
|
99298
|
-
const M =
|
|
99298
|
+
const M = Ys + E.result.relative_path;
|
|
99299
99299
|
URL.revokeObjectURL(x), l.value = M, t.conf && t.conf.options && (t.conf.options.fileUrl || (t.conf.options.fileUrl = { value: "", type: "string", label: "" }), t.conf.options.fileName || (t.conf.options.fileName = { value: "", type: "string", label: "" }), t.conf.options.fileUrl.value = M, t.conf.options.fileName.value = E.result.file_name || S.name), vt.success("DXF文件上传成功");
|
|
99300
99300
|
} else
|
|
99301
99301
|
throw new Error(E.msg || "上传失败");
|
|
@@ -99518,7 +99518,7 @@ const irt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3
|
|
|
99518
99518
|
file_type: X
|
|
99519
99519
|
}, !0);
|
|
99520
99520
|
if (le.code === 200 && ((Y = le.result) != null && Y.relative_path)) {
|
|
99521
|
-
const ie =
|
|
99521
|
+
const ie = Ys + le.result.relative_path;
|
|
99522
99522
|
C("fileUrl", ie), C("fileName", le.result.file_name || B.name), C("fileType", W), vt.success("文件上传成功");
|
|
99523
99523
|
} else
|
|
99524
99524
|
throw new Error(le.msg || "上传失败");
|
|
@@ -99886,7 +99886,7 @@ const irt = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3
|
|
|
99886
99886
|
file_type: k
|
|
99887
99887
|
}, !0);
|
|
99888
99888
|
if (F.code === 200 && ((R = F.result) != null && R.relative_path)) {
|
|
99889
|
-
const z =
|
|
99889
|
+
const z = Ys + F.result.relative_path;
|
|
99890
99890
|
S("fileUrl", z), S("fileName", F.result.file_name || C.name), vt.success("文件上传成功");
|
|
99891
99891
|
} else
|
|
99892
99892
|
throw new Error(F.msg || "上传失败");
|
|
@@ -107504,7 +107504,7 @@ const HQ = Math.pow(2, 32) - 1, jot = [].push, T0e = {
|
|
|
107504
107504
|
id3: 3,
|
|
107505
107505
|
text: 4
|
|
107506
107506
|
};
|
|
107507
|
-
function
|
|
107507
|
+
function vs(n) {
|
|
107508
107508
|
return String.fromCharCode.apply(null, n);
|
|
107509
107509
|
}
|
|
107510
107510
|
function E0e(n, e) {
|
|
@@ -107538,7 +107538,7 @@ function Or(n, e) {
|
|
|
107538
107538
|
return t;
|
|
107539
107539
|
const i = n.byteLength;
|
|
107540
107540
|
for (let r = 0; r < i; ) {
|
|
107541
|
-
const a = rr(n, r), o =
|
|
107541
|
+
const a = rr(n, r), o = vs(n.subarray(r + 4, r + 8)), s = a > 1 ? r + a : i;
|
|
107542
107542
|
if (o === e[0])
|
|
107543
107543
|
if (e.length === 1)
|
|
107544
107544
|
t.push(n.subarray(r + 8, s));
|
|
@@ -107598,7 +107598,7 @@ function L0e(n) {
|
|
|
107598
107598
|
s = c[0];
|
|
107599
107599
|
const u = rr(c, s === 0 ? 12 : 20), d = Or(a, ["mdia", "hdlr"])[0];
|
|
107600
107600
|
if (d) {
|
|
107601
|
-
const f =
|
|
107601
|
+
const f = vs(d.subarray(8, 12)), h = {
|
|
107602
107602
|
soun: Ua.AUDIO,
|
|
107603
107603
|
vide: Ua.VIDEO
|
|
107604
107604
|
}[f], p = Or(a, ["mdia", "minf", "stbl", "stsd"])[0], v = Wot(p);
|
|
@@ -107627,7 +107627,7 @@ function L0e(n) {
|
|
|
107627
107627
|
}), e;
|
|
107628
107628
|
}
|
|
107629
107629
|
function Wot(n) {
|
|
107630
|
-
const e = n.subarray(8), t = e.subarray(86), i =
|
|
107630
|
+
const e = n.subarray(8), t = e.subarray(86), i = vs(e.subarray(4, 8));
|
|
107631
107631
|
let r = i, a;
|
|
107632
107632
|
const o = i === "enca" || i === "encv";
|
|
107633
107633
|
if (o) {
|
|
@@ -107635,10 +107635,10 @@ function Wot(n) {
|
|
|
107635
107635
|
Or(c, ["sinf"]).forEach((d) => {
|
|
107636
107636
|
const f = Or(d, ["schm"])[0];
|
|
107637
107637
|
if (f) {
|
|
107638
|
-
const h =
|
|
107638
|
+
const h = vs(f.subarray(4, 8));
|
|
107639
107639
|
if (h === "cbcs" || h === "cenc") {
|
|
107640
107640
|
const p = Or(d, ["frma"])[0];
|
|
107641
|
-
p && (r =
|
|
107641
|
+
p && (r = vs(p));
|
|
107642
107642
|
}
|
|
107643
107643
|
}
|
|
107644
107644
|
});
|
|
@@ -107782,7 +107782,7 @@ function D0e(n, e) {
|
|
|
107782
107782
|
function O0e(n) {
|
|
107783
107783
|
const e = Or(n, ["schm"])[0];
|
|
107784
107784
|
if (e) {
|
|
107785
|
-
const t =
|
|
107785
|
+
const t = vs(e.subarray(4, 8));
|
|
107786
107786
|
if (t === "cbcs" || t === "cenc") {
|
|
107787
107787
|
const i = Or(n, ["schi", "tenc"])[0];
|
|
107788
107788
|
if (i)
|
|
@@ -108006,21 +108006,21 @@ function $ot(n) {
|
|
|
108006
108006
|
const e = n[0];
|
|
108007
108007
|
let t = "", i = "", r = 0, a = 0, o = 0, s = 0, l = 0, c = 0;
|
|
108008
108008
|
if (e === 0) {
|
|
108009
|
-
for (;
|
|
108010
|
-
t +=
|
|
108011
|
-
for (t +=
|
|
108012
|
-
i +=
|
|
108013
|
-
i +=
|
|
108009
|
+
for (; vs(n.subarray(c, c + 1)) !== "\0"; )
|
|
108010
|
+
t += vs(n.subarray(c, c + 1)), c += 1;
|
|
108011
|
+
for (t += vs(n.subarray(c, c + 1)), c += 1; vs(n.subarray(c, c + 1)) !== "\0"; )
|
|
108012
|
+
i += vs(n.subarray(c, c + 1)), c += 1;
|
|
108013
|
+
i += vs(n.subarray(c, c + 1)), c += 1, r = rr(n, 12), a = rr(n, 16), s = rr(n, 20), l = rr(n, 24), c = 28;
|
|
108014
108014
|
} else if (e === 1) {
|
|
108015
108015
|
c += 4, r = rr(n, c), c += 4;
|
|
108016
108016
|
const d = rr(n, c);
|
|
108017
108017
|
c += 4;
|
|
108018
108018
|
const f = rr(n, c);
|
|
108019
|
-
for (c += 4, o = Br(2, 32) * d + f, Lot(o) || (o = Number.MAX_SAFE_INTEGER, Pa.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")), s = rr(n, c), c += 4, l = rr(n, c), c += 4;
|
|
108020
|
-
t +=
|
|
108021
|
-
for (t +=
|
|
108022
|
-
i +=
|
|
108023
|
-
i +=
|
|
108019
|
+
for (c += 4, o = Br(2, 32) * d + f, Lot(o) || (o = Number.MAX_SAFE_INTEGER, Pa.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")), s = rr(n, c), c += 4, l = rr(n, c), c += 4; vs(n.subarray(c, c + 1)) !== "\0"; )
|
|
108020
|
+
t += vs(n.subarray(c, c + 1)), c += 1;
|
|
108021
|
+
for (t += vs(n.subarray(c, c + 1)), c += 1; vs(n.subarray(c, c + 1)) !== "\0"; )
|
|
108022
|
+
i += vs(n.subarray(c, c + 1)), c += 1;
|
|
108023
|
+
i += vs(n.subarray(c, c + 1)), c += 1;
|
|
108024
108024
|
}
|
|
108025
108025
|
const u = n.subarray(c, n.byteLength);
|
|
108026
108026
|
return {
|
|
@@ -109581,7 +109581,7 @@ function Fg(n) {
|
|
|
109581
109581
|
};
|
|
109582
109582
|
return n && (e.resolved = !0), e;
|
|
109583
109583
|
}
|
|
109584
|
-
var
|
|
109584
|
+
var bs = {
|
|
109585
109585
|
NOT_LOADED: "NOT_LOADED",
|
|
109586
109586
|
APPENDING: "APPENDING",
|
|
109587
109587
|
PARTIAL: "PARTIAL",
|
|
@@ -109758,7 +109758,7 @@ class Pst {
|
|
|
109758
109758
|
}
|
|
109759
109759
|
getState(e) {
|
|
109760
109760
|
const t = Mm(e), i = this.fragments[t];
|
|
109761
|
-
return i ? i.buffered ? S_(i) ?
|
|
109761
|
+
return i ? i.buffered ? S_(i) ? bs.PARTIAL : bs.OK : bs.APPENDING : bs.NOT_LOADED;
|
|
109762
109762
|
}
|
|
109763
109763
|
isTimeBuffered(e, t, i) {
|
|
109764
109764
|
let r, a;
|
|
@@ -111870,7 +111870,7 @@ class LV extends j0e {
|
|
|
111870
111870
|
const {
|
|
111871
111871
|
fragmentTracker: i
|
|
111872
111872
|
} = this;
|
|
111873
|
-
if (i.getState(e) ===
|
|
111873
|
+
if (i.getState(e) === bs.APPENDING) {
|
|
111874
111874
|
const a = e.type, o = this.getFwdBufferInfo(this.mediaBuffer, a), s = Math.max(e.duration, o ? o.len : this.config.maxBufferLength), l = this.backtrackFragment;
|
|
111875
111875
|
((l ? e.sn - l.sn : 0) === 1 || this.reduceMaxBufferLength(s, e.duration)) && i.removeFragment(e);
|
|
111876
111876
|
} else ((t = this.mediaBuffer) == null ? void 0 : t.buffered.length) === 0 ? i.removeAllFragments() : i.hasParts(e.type) && (i.detectPartialFragments({
|
|
@@ -111878,7 +111878,7 @@ class LV extends j0e {
|
|
|
111878
111878
|
part: null,
|
|
111879
111879
|
stats: e.stats,
|
|
111880
111880
|
id: e.type
|
|
111881
|
-
}), i.getState(e) ===
|
|
111881
|
+
}), i.getState(e) === bs.PARTIAL && i.removeFragment(e));
|
|
111882
111882
|
}
|
|
111883
111883
|
checkLiveUpdate(e) {
|
|
111884
111884
|
if (e.updated && !e.live) {
|
|
@@ -112267,7 +112267,7 @@ class LV extends j0e {
|
|
|
112267
112267
|
if (this.nextLoadPosition <= t)
|
|
112268
112268
|
return !1;
|
|
112269
112269
|
const i = this.fragmentTracker.getState(e);
|
|
112270
|
-
return i ===
|
|
112270
|
+
return i === bs.OK || i === bs.PARTIAL && !!e.gap;
|
|
112271
112271
|
}
|
|
112272
112272
|
getNextFragmentLoopLoading(e, t, i, r, a) {
|
|
112273
112273
|
let o = null;
|
|
@@ -112386,9 +112386,9 @@ class LV extends j0e {
|
|
|
112386
112386
|
f = o[o.length - 1];
|
|
112387
112387
|
if (f) {
|
|
112388
112388
|
const p = f.sn - i.startSN, v = this.fragmentTracker.getState(f);
|
|
112389
|
-
if ((v ===
|
|
112389
|
+
if ((v === bs.OK || v === bs.PARTIAL && f.gap) && (a = f), a && f.sn === a.sn && (!d || u[0].fragment.sn > f.sn || !i.live) && f.level === a.level) {
|
|
112390
112390
|
const g = o[p + 1];
|
|
112391
|
-
f.sn < s && this.fragmentTracker.getState(g) !==
|
|
112391
|
+
f.sn < s && this.fragmentTracker.getState(g) !== bs.OK ? f = g : f = null;
|
|
112392
112392
|
}
|
|
112393
112393
|
}
|
|
112394
112394
|
return f;
|
|
@@ -114155,7 +114155,7 @@ class Klt extends _fe {
|
|
|
114155
114155
|
return String.fromCharCode.apply(null, e).substr(3) === String.fromCharCode.apply(null, t).substr(3);
|
|
114156
114156
|
}
|
|
114157
114157
|
}
|
|
114158
|
-
const
|
|
114158
|
+
const Fs = 188;
|
|
114159
114159
|
class w2 {
|
|
114160
114160
|
constructor(e, t, i, r) {
|
|
114161
114161
|
this.logger = void 0, this.observer = void 0, this.config = void 0, this.typeSupported = void 0, this.sampleAes = null, this.pmtParsed = !1, this.audioCodec = void 0, this.videoCodec = void 0, this._pmtId = -1, this._videoTrack = void 0, this._audioTrack = void 0, this._id3Track = void 0, this._txtTrack = void 0, this.aacOverFlow = null, this.remainderData = null, this.videoParser = void 0, this.observer = e, this.config = t, this.typeSupported = i, this.logger = r, this.videoParser = null;
|
|
@@ -114166,12 +114166,12 @@ class w2 {
|
|
|
114166
114166
|
}
|
|
114167
114167
|
static syncOffset(e) {
|
|
114168
114168
|
const t = e.length;
|
|
114169
|
-
let i = Math.min(
|
|
114169
|
+
let i = Math.min(Fs * 5, t - Fs) + 1, r = 0;
|
|
114170
114170
|
for (; r < i; ) {
|
|
114171
114171
|
let a = !1, o = -1, s = 0;
|
|
114172
|
-
for (let l = r; l < t; l +=
|
|
114173
|
-
if (e[l] === 71 && (t - l ===
|
|
114174
|
-
if (s++, o === -1 && (o = l, o !== 0 && (i = Math.min(o +
|
|
114172
|
+
for (let l = r; l < t; l += Fs)
|
|
114173
|
+
if (e[l] === 71 && (t - l === Fs || e[l + Fs] === 71)) {
|
|
114174
|
+
if (s++, o === -1 && (o = l, o !== 0 && (i = Math.min(o + Fs * 99, e.length - Fs) + 1)), a || (a = zk(e, l) === 0), a && s > 1 && (o === 0 && s > 2 || l + Fs > i))
|
|
114175
114175
|
return o;
|
|
114176
114176
|
} else {
|
|
114177
114177
|
if (s)
|
|
@@ -114220,7 +114220,7 @@ class w2 {
|
|
|
114220
114220
|
let a;
|
|
114221
114221
|
const o = this._videoTrack, s = this._audioTrack, l = this._id3Track, c = this._txtTrack;
|
|
114222
114222
|
let u = o.pid, d = o.pesData, f = s.pid, h = l.pid, p = s.pesData, v = l.pesData, m = null, g = this.pmtParsed, y = this._pmtId, b = e.length;
|
|
114223
|
-
if (this.remainderData && (e = l1(this.remainderData, e), b = e.length, this.remainderData = null), b <
|
|
114223
|
+
if (this.remainderData && (e = l1(this.remainderData, e), b = e.length, this.remainderData = null), b < Fs && !r)
|
|
114224
114224
|
return this.remainderData = e, {
|
|
114225
114225
|
audioTrack: s,
|
|
114226
114226
|
videoTrack: o,
|
|
@@ -114228,14 +114228,14 @@ class w2 {
|
|
|
114228
114228
|
textTrack: c
|
|
114229
114229
|
};
|
|
114230
114230
|
const _ = Math.max(0, w2.syncOffset(e));
|
|
114231
|
-
b -= (b - _) %
|
|
114231
|
+
b -= (b - _) % Fs, b < e.byteLength && !r && (this.remainderData = new Uint8Array(e.buffer, b, e.buffer.byteLength - b));
|
|
114232
114232
|
let S = 0;
|
|
114233
|
-
for (let w = _; w < b; w +=
|
|
114233
|
+
for (let w = _; w < b; w += Fs)
|
|
114234
114234
|
if (e[w] === 71) {
|
|
114235
114235
|
const A = !!(e[w + 1] & 64), T = zk(e, w), C = (e[w + 3] & 48) >> 4;
|
|
114236
114236
|
let E;
|
|
114237
114237
|
if (C > 1) {
|
|
114238
|
-
if (E = w + 5 + e[w + 4], E === w +
|
|
114238
|
+
if (E = w + 5 + e[w + 4], E === w + Fs)
|
|
114239
114239
|
continue;
|
|
114240
114240
|
} else
|
|
114241
114241
|
E = w + 4;
|
|
@@ -114244,7 +114244,7 @@ class w2 {
|
|
|
114244
114244
|
A && (d && (a = Dm(d, this.logger)) && (this.readyVideoParser(o.segmentCodec), this.videoParser !== null && this.videoParser.parsePES(o, c, a, !1)), d = {
|
|
114245
114245
|
data: [],
|
|
114246
114246
|
size: 0
|
|
114247
|
-
}), d && (d.data.push(e.subarray(E, w +
|
|
114247
|
+
}), d && (d.data.push(e.subarray(E, w + Fs)), d.size += w + Fs - E);
|
|
114248
114248
|
break;
|
|
114249
114249
|
case f:
|
|
114250
114250
|
if (A) {
|
|
@@ -114265,13 +114265,13 @@ class w2 {
|
|
|
114265
114265
|
size: 0
|
|
114266
114266
|
};
|
|
114267
114267
|
}
|
|
114268
|
-
p && (p.data.push(e.subarray(E, w +
|
|
114268
|
+
p && (p.data.push(e.subarray(E, w + Fs)), p.size += w + Fs - E);
|
|
114269
114269
|
break;
|
|
114270
114270
|
case h:
|
|
114271
114271
|
A && (v && (a = Dm(v, this.logger)) && this.parseID3PES(l, a), v = {
|
|
114272
114272
|
data: [],
|
|
114273
114273
|
size: 0
|
|
114274
|
-
}), v && (v.data.push(e.subarray(E, w +
|
|
114274
|
+
}), v && (v.data.push(e.subarray(E, w + Fs)), v.size += w + Fs - E);
|
|
114275
114275
|
break;
|
|
114276
114276
|
case 0:
|
|
114277
114277
|
A && (E += e[E] + 1), y = this._pmtId = Jlt(e, E);
|
|
@@ -116962,7 +116962,7 @@ class fct extends LV {
|
|
|
116962
116962
|
if (this.exceedsMaxBuffer(u, f, g))
|
|
116963
116963
|
return;
|
|
116964
116964
|
let y = ((e = this.mainFragLoading) == null ? void 0 : e.frag) || null;
|
|
116965
|
-
if (!this.audioOnly && this.startFragRequested && y && Xo(g) && !g.endList && (!l.live || !this.loadingParts && m < this.hls.liveSyncPosition) && (this.fragmentTracker.getState(y) ===
|
|
116965
|
+
if (!this.audioOnly && this.startFragRequested && y && Xo(g) && !g.endList && (!l.live || !this.loadingParts && m < this.hls.liveSyncPosition) && (this.fragmentTracker.getState(y) === bs.OK && (this.mainFragLoading = y = null), y && Xo(y))) {
|
|
116966
116966
|
if (g.start > y.end) {
|
|
116967
116967
|
const _ = this.fragmentTracker.getFragAtPos(m, Ei.MAIN);
|
|
116968
116968
|
_ && _.end > y.end && (y = _, this.mainFragLoading = {
|
|
@@ -117261,7 +117261,7 @@ class fct extends LV {
|
|
|
117261
117261
|
}
|
|
117262
117262
|
loadFragment(e, t, i) {
|
|
117263
117263
|
const r = this.fragmentTracker.getState(e);
|
|
117264
|
-
if (this.switchingTrack || r ===
|
|
117264
|
+
if (this.switchingTrack || r === bs.NOT_LOADED || r === bs.PARTIAL) {
|
|
117265
117265
|
var a;
|
|
117266
117266
|
if (!Xo(e))
|
|
117267
117267
|
this._loadInitSegment(e, t);
|
|
@@ -119746,7 +119746,7 @@ class Bg extends S1 {
|
|
|
119746
119746
|
}
|
|
119747
119747
|
let l;
|
|
119748
119748
|
try {
|
|
119749
|
-
const h =
|
|
119749
|
+
const h = vs(new Uint8Array(r)), p = MV(JSON.parse(h).sinf), v = O0e(p);
|
|
119750
119750
|
if (!v)
|
|
119751
119751
|
throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");
|
|
119752
119752
|
l = new Uint8Array(v.subarray(8, 24));
|
|
@@ -123038,7 +123038,7 @@ class Lut extends LV {
|
|
|
123038
123038
|
if (p = this.filterReplacedPrimary(p, i.details), !p)
|
|
123039
123039
|
return;
|
|
123040
123040
|
const m = p.sn - c.startSN, g = d[m - 1];
|
|
123041
|
-
if (g && g.cc === p.cc && this.fragmentTracker.getState(g) ===
|
|
123041
|
+
if (g && g.cc === p.cc && this.fragmentTracker.getState(g) === bs.NOT_LOADED && (p = g), this.fragmentTracker.getState(p) === bs.NOT_LOADED) {
|
|
123042
123042
|
const y = this.mapToInitFragWhenRequired(p);
|
|
123043
123043
|
y && this.loadFragment(y, i, s);
|
|
123044
123044
|
}
|
|
@@ -126693,7 +126693,7 @@ class L1t extends LV {
|
|
|
126693
126693
|
this.backtrackFragment && this.backtrackFragment.start > s.end && (this.backtrackFragment = null);
|
|
126694
126694
|
const f = this.backtrackFragment ? this.backtrackFragment.start : s.end;
|
|
126695
126695
|
let h = this.getNextFragment(f, c);
|
|
126696
|
-
if (this.couldBacktrack && !this.fragPrevious && h && Xo(h) && this.fragmentTracker.getState(h) !==
|
|
126696
|
+
if (this.couldBacktrack && !this.fragPrevious && h && Xo(h) && this.fragmentTracker.getState(h) !== bs.OK) {
|
|
126697
126697
|
var p;
|
|
126698
126698
|
const m = ((p = this.backtrackFragment) != null ? p : h).sn - c.startSN, g = c.fragments[m - 1];
|
|
126699
126699
|
g && h.cc === g.cc && (h = g, this.fragmentTracker.removeFragment(g));
|
|
@@ -126709,7 +126709,7 @@ class L1t extends LV {
|
|
|
126709
126709
|
}
|
|
126710
126710
|
loadFragment(e, t, i) {
|
|
126711
126711
|
const r = this.fragmentTracker.getState(e);
|
|
126712
|
-
r ===
|
|
126712
|
+
r === bs.NOT_LOADED || r === bs.PARTIAL ? Xo(e) ? this.bitrateTest ? (this.log(`Fragment ${e.sn} of level ${e.level} is being downloaded to test bitrate and will not be buffered`), this._loadBitrateTestFrag(e, t)) : super.loadFragment(e, t, i) : this._loadInitSegment(e, t) : this.clearTrackerIfNeeded(e);
|
|
126713
126713
|
}
|
|
126714
126714
|
getBufferedFrag(e) {
|
|
126715
126715
|
return this.fragmentTracker.getBufferedFrag(e, Ei.MAIN);
|
|
@@ -128782,7 +128782,7 @@ const P1t = { class: "mix-body" }, I1t = { class: "upload-content" }, R1t = {
|
|
|
128782
128782
|
file_type: F
|
|
128783
128783
|
}, !0);
|
|
128784
128784
|
if (z.code === 200 && ((D = z.result) != null && D.relative_path)) {
|
|
128785
|
-
const B =
|
|
128785
|
+
const B = Ys + z.result.relative_path;
|
|
128786
128786
|
URL.revokeObjectURL(R), o.value = B, A("fileUrl", B), A("fileName", z.result.file_name || P.name), vt.success("视频上传成功");
|
|
128787
128787
|
} else
|
|
128788
128788
|
throw new Error(z.msg || "上传失败");
|
|
@@ -129051,7 +129051,7 @@ const P1t = { class: "mix-body" }, I1t = { class: "upload-content" }, R1t = {
|
|
|
129051
129051
|
},
|
|
129052
129052
|
setup(n) {
|
|
129053
129053
|
Jn([
|
|
129054
|
-
|
|
129054
|
+
fs,
|
|
129055
129055
|
yo,
|
|
129056
129056
|
wa,
|
|
129057
129057
|
go,
|
|
@@ -129366,7 +129366,7 @@ ${v}`;
|
|
|
129366
129366
|
},
|
|
129367
129367
|
setup(n) {
|
|
129368
129368
|
Jn([
|
|
129369
|
-
|
|
129369
|
+
fs,
|
|
129370
129370
|
yo,
|
|
129371
129371
|
wa,
|
|
129372
129372
|
go,
|
|
@@ -129713,7 +129713,7 @@ ${p}`;
|
|
|
129713
129713
|
theme: { type: String, default: "light" }
|
|
129714
129714
|
},
|
|
129715
129715
|
setup(n) {
|
|
129716
|
-
Jn([
|
|
129716
|
+
Jn([fs, yo, wa, go, va, i5]);
|
|
129717
129717
|
const e = n;
|
|
129718
129718
|
function t(h, p, v) {
|
|
129719
129719
|
const m = h == null ? void 0 : h[p];
|
|
@@ -130055,7 +130055,7 @@ ${p}`;
|
|
|
130055
130055
|
},
|
|
130056
130056
|
setup(n) {
|
|
130057
130057
|
Jn([
|
|
130058
|
-
|
|
130058
|
+
fs,
|
|
130059
130059
|
yo,
|
|
130060
130060
|
wa,
|
|
130061
130061
|
go,
|
|
@@ -133950,7 +133950,7 @@ const Iht = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20vi
|
|
|
133950
133950
|
],
|
|
133951
133951
|
label: "component.customized.type"
|
|
133952
133952
|
}
|
|
133953
|
-
}, $ht = [{ url: "" }], ept = [
|
|
133953
|
+
}, $ht = [{ url: "", materialUid: "" }], ept = [
|
|
133954
133954
|
{
|
|
133955
133955
|
key: "url",
|
|
133956
133956
|
label: "setting.paramField.url",
|
|
@@ -134002,74 +134002,99 @@ const Iht = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20vi
|
|
|
134002
134002
|
r.setupLifecycle();
|
|
134003
134003
|
const a = r.getStyle(), o = fe({});
|
|
134004
134004
|
let s = [], l = 0, c = null;
|
|
134005
|
-
|
|
134006
|
-
|
|
134007
|
-
|
|
134008
|
-
|
|
134009
|
-
|
|
134010
|
-
|
|
134011
|
-
|
|
134012
|
-
|
|
134013
|
-
|
|
134014
|
-
|
|
134015
|
-
|
|
134016
|
-
|
|
134005
|
+
function u(_) {
|
|
134006
|
+
return _ && typeof _ == "object" && "value" in _ ? _.value : _;
|
|
134007
|
+
}
|
|
134008
|
+
function d(_, S = 0) {
|
|
134009
|
+
if (_ == null || _ === "" || S > 4) return "";
|
|
134010
|
+
if (typeof _ == "string") return _.trim();
|
|
134011
|
+
if (typeof _ == "object") {
|
|
134012
|
+
const x = _;
|
|
134013
|
+
for (const w of ["url", "value", "material_path", "materialPath", "path", "fileUrl", "file_url", "src"]) {
|
|
134014
|
+
const A = d(x[w], S + 1);
|
|
134015
|
+
if (A) return A;
|
|
134016
|
+
}
|
|
134017
|
+
}
|
|
134018
|
+
return "";
|
|
134019
|
+
}
|
|
134020
|
+
function f(_) {
|
|
134021
|
+
const S = u(_);
|
|
134022
|
+
return Array.isArray(S) ? S : [];
|
|
134023
|
+
}
|
|
134024
|
+
const h = de(() => {
|
|
134025
|
+
var w, A;
|
|
134026
|
+
const _ = (w = e.conf) == null ? void 0 : w.data;
|
|
134027
|
+
if (Array.isArray(_) && _.length) return _;
|
|
134028
|
+
const S = ((A = e.conf) == null ? void 0 : A.options) || {}, x = [
|
|
134029
|
+
...f(S.images),
|
|
134030
|
+
...f(S.imgs),
|
|
134031
|
+
...f(S.urls)
|
|
134032
|
+
];
|
|
134033
|
+
return x.length ? x : [];
|
|
134034
|
+
}), p = de(() => h.value.map((_) => d(_))), v = () => {
|
|
134035
|
+
s.forEach((_) => URL.revokeObjectURL(_)), s = [];
|
|
134036
|
+
}, m = (_) => {
|
|
134037
|
+
const S = String(_ || "").trim();
|
|
134038
|
+
return S ? S.startsWith("data:") || S.startsWith("blob:") ? S : L3(S) : "";
|
|
134039
|
+
}, g = (_) => d(_), y = (_) => {
|
|
134040
|
+
const S = d(_);
|
|
134041
|
+
return o.value[S] || m(S);
|
|
134017
134042
|
};
|
|
134018
|
-
function
|
|
134043
|
+
function b() {
|
|
134019
134044
|
return Xe(this, null, function* () {
|
|
134020
|
-
const
|
|
134021
|
-
c == null || c.abort(), c = new AbortController(),
|
|
134022
|
-
const
|
|
134023
|
-
yield Promise.all(
|
|
134024
|
-
if (!
|
|
134025
|
-
|
|
134045
|
+
const _ = ++l;
|
|
134046
|
+
c == null || c.abort(), c = new AbortController(), v();
|
|
134047
|
+
const S = {}, x = [...new Set(p.value)];
|
|
134048
|
+
yield Promise.all(x.map((w) => Xe(null, null, function* () {
|
|
134049
|
+
if (!w) {
|
|
134050
|
+
S[w] = "";
|
|
134026
134051
|
return;
|
|
134027
134052
|
}
|
|
134028
|
-
if (
|
|
134029
|
-
|
|
134053
|
+
if (w.startsWith("blob:") || w.startsWith("data:")) {
|
|
134054
|
+
S[w] = m(w);
|
|
134030
134055
|
return;
|
|
134031
134056
|
}
|
|
134032
|
-
const
|
|
134033
|
-
if (!
|
|
134034
|
-
|
|
134057
|
+
const A = sC(L3(w));
|
|
134058
|
+
if (!A) {
|
|
134059
|
+
S[w] = "";
|
|
134035
134060
|
return;
|
|
134036
134061
|
}
|
|
134037
134062
|
try {
|
|
134038
|
-
const
|
|
134039
|
-
|
|
134040
|
-
const
|
|
134063
|
+
const T = {}, C = uy();
|
|
134064
|
+
C && (T.Authorization = `Bearer ${C}`);
|
|
134065
|
+
const E = yield fetch(A, {
|
|
134041
134066
|
mode: "cors",
|
|
134042
134067
|
credentials: "include",
|
|
134043
134068
|
signal: c == null ? void 0 : c.signal,
|
|
134044
|
-
headers:
|
|
134069
|
+
headers: T
|
|
134045
134070
|
});
|
|
134046
|
-
if (
|
|
134047
|
-
if (!
|
|
134048
|
-
console.warn("[swiper] image load failed",
|
|
134071
|
+
if (_ !== l) return;
|
|
134072
|
+
if (!E.ok) {
|
|
134073
|
+
console.warn("[swiper] image load failed", E.status, A), S[w] = "";
|
|
134049
134074
|
return;
|
|
134050
134075
|
}
|
|
134051
|
-
const
|
|
134052
|
-
if (
|
|
134053
|
-
if (!
|
|
134054
|
-
|
|
134076
|
+
const M = yield E.blob();
|
|
134077
|
+
if (_ !== l) return;
|
|
134078
|
+
if (!M.size) {
|
|
134079
|
+
S[w] = "";
|
|
134055
134080
|
return;
|
|
134056
134081
|
}
|
|
134057
|
-
const
|
|
134058
|
-
s.push(
|
|
134059
|
-
} catch (
|
|
134060
|
-
if ((
|
|
134061
|
-
console.warn("[swiper] image fetch error",
|
|
134082
|
+
const I = URL.createObjectURL(M);
|
|
134083
|
+
s.push(I), S[w] = I;
|
|
134084
|
+
} catch (T) {
|
|
134085
|
+
if ((T == null ? void 0 : T.name) === "AbortError" || _ !== l) return;
|
|
134086
|
+
console.warn("[swiper] image fetch error", T), S[w] = "";
|
|
134062
134087
|
}
|
|
134063
|
-
}))),
|
|
134088
|
+
}))), _ === l && (o.value = S);
|
|
134064
134089
|
});
|
|
134065
134090
|
}
|
|
134066
|
-
return It(() =>
|
|
134091
|
+
return It(() => p.value.join(`
|
|
134067
134092
|
`), () => {
|
|
134068
|
-
|
|
134093
|
+
b();
|
|
134069
134094
|
}, { immediate: !0 }), mr(() => {
|
|
134070
|
-
l++, c == null || c.abort(),
|
|
134071
|
-
}), (
|
|
134072
|
-
const
|
|
134095
|
+
l++, c == null || c.abort(), v(), o.value = {};
|
|
134096
|
+
}), (_, S) => {
|
|
134097
|
+
const x = Ive, w = Pve;
|
|
134073
134098
|
return V(), Z("div", Zht, [
|
|
134074
134099
|
N("div", {
|
|
134075
134100
|
class: "swiper-wrap",
|
|
@@ -134078,7 +134103,7 @@ const Iht = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20vi
|
|
|
134078
134103
|
borderRadius: `${J(a).radiusSize}px`
|
|
134079
134104
|
})
|
|
134080
134105
|
}, [
|
|
134081
|
-
G(
|
|
134106
|
+
G(w, {
|
|
134082
134107
|
autoplay: "",
|
|
134083
134108
|
"pause-on-hover": !1,
|
|
134084
134109
|
interval: 1e3 * J(a).interval,
|
|
@@ -134086,11 +134111,11 @@ const Iht = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20vi
|
|
|
134086
134111
|
style: { width: "100%", height: "100%" }
|
|
134087
134112
|
}, {
|
|
134088
134113
|
default: K(() => [
|
|
134089
|
-
(V(!0), Z(Ke, null, pt(
|
|
134114
|
+
(V(!0), Z(Ke, null, pt(h.value, (A, T) => (V(), rt(x, { key: T }, {
|
|
134090
134115
|
default: K(() => [
|
|
134091
134116
|
J(a).type === "url" && n.mode === "preview" ? (V(), Z("iframe", {
|
|
134092
134117
|
key: 0,
|
|
134093
|
-
src:
|
|
134118
|
+
src: g(A),
|
|
134094
134119
|
frameborder: "0",
|
|
134095
134120
|
height: t.height,
|
|
134096
134121
|
width: t.width,
|
|
@@ -134098,7 +134123,7 @@ const Iht = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20vi
|
|
|
134098
134123
|
}, null, 8, qht)) : (V(), Z("img", {
|
|
134099
134124
|
key: 1,
|
|
134100
134125
|
class: "w-full h-full object-cover",
|
|
134101
|
-
src:
|
|
134126
|
+
src: y(A),
|
|
134102
134127
|
alt: "轮播图片"
|
|
134103
134128
|
}, null, 8, Kht))
|
|
134104
134129
|
]),
|
|
@@ -134108,11 +134133,11 @@ const Iht = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20vi
|
|
|
134108
134133
|
_: 1
|
|
134109
134134
|
}, 8, ["interval"])
|
|
134110
134135
|
], 4),
|
|
134111
|
-
tn(
|
|
134136
|
+
tn(_.$slots, "default", {}, void 0, !0)
|
|
134112
134137
|
]);
|
|
134113
134138
|
};
|
|
134114
134139
|
}
|
|
134115
|
-
})), ipt = /* @__PURE__ */ Gt(npt, [["__scopeId", "data-v-
|
|
134140
|
+
})), ipt = /* @__PURE__ */ Gt(npt, [["__scopeId", "data-v-4a87d863"]]), rpt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
134116
134141
|
__proto__: null,
|
|
134117
134142
|
default: ipt
|
|
134118
134143
|
}, Symbol.toStringTag, { value: "Module" })), iee = "mix-header-tabs", apt = "mix-header-active-tab", dO = (n) => {
|
|
@@ -134266,7 +134291,7 @@ const Iht = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20vi
|
|
|
134266
134291
|
}
|
|
134267
134292
|
const r = new i(e, "textbox");
|
|
134268
134293
|
r.setupLifecycle();
|
|
134269
|
-
const a = r.getStyle(), o = (c) => c ? c.startsWith(
|
|
134294
|
+
const a = r.getStyle(), o = (c) => c ? c.startsWith(Ys) || c.startsWith("http") ? c : Ys + c : "", s = () => Xe(null, null, function* () {
|
|
134270
134295
|
var d, f;
|
|
134271
134296
|
const { options: c } = e.conf, u = (d = c.jumpParam) == null ? void 0 : d.value;
|
|
134272
134297
|
if (!u) {
|
|
@@ -134807,7 +134832,7 @@ const Iht = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20vi
|
|
|
134807
134832
|
}
|
|
134808
134833
|
const i = new t(e, "weather");
|
|
134809
134834
|
i.setupLifecycle();
|
|
134810
|
-
const r = i.getStyle(), a = (s) => s ? s.startsWith(
|
|
134835
|
+
const r = i.getStyle(), a = (s) => s ? s.startsWith(Ys) || s.startsWith("http") ? s : Ys + s : "", o = de(() => {
|
|
134811
134836
|
var s, l;
|
|
134812
134837
|
return ((l = (s = r.value) == null ? void 0 : s.textColor) == null ? void 0 : l.replace("#", "")) || "00B0F0";
|
|
134813
134838
|
});
|
|
@@ -135851,7 +135876,7 @@ Jn(Sue);
|
|
|
135851
135876
|
Jn(wa);
|
|
135852
135877
|
Jn(X7);
|
|
135853
135878
|
Jn(Due);
|
|
135854
|
-
Jn(
|
|
135879
|
+
Jn(fs);
|
|
135855
135880
|
Jn(vRe);
|
|
135856
135881
|
Jn(wRe);
|
|
135857
135882
|
Jn(iT);
|
|
@@ -136551,7 +136576,7 @@ const P3t = { class: "chart-header" }, I3t = { class: "chart-title" }, R3t = { c
|
|
|
136551
136576
|
], 8, K3t))), 128)),
|
|
136552
136577
|
h.value.length === 0 ? (V(), Z("div", $3t, " 暂无监测点,请在右侧数据面板配置 ")) : Re("", !0)
|
|
136553
136578
|
], 4), [
|
|
136554
|
-
[
|
|
136579
|
+
[_s, s.value]
|
|
136555
136580
|
])
|
|
136556
136581
|
]))
|
|
136557
136582
|
], 512)
|
|
@@ -137423,7 +137448,7 @@ const P3t = { class: "chart-header" }, I3t = { class: "chart-title" }, R3t = { c
|
|
|
137423
137448
|
N("span", Ivt, ue(q.name), 1)
|
|
137424
137449
|
], 8, Pvt))), 128))
|
|
137425
137450
|
], 4), [
|
|
137426
|
-
[
|
|
137451
|
+
[_s, b.value]
|
|
137427
137452
|
])
|
|
137428
137453
|
]))
|
|
137429
137454
|
], 512),
|
|
@@ -137951,7 +137976,7 @@ const P3t = { class: "chart-header" }, I3t = { class: "chart-title" }, R3t = { c
|
|
|
137951
137976
|
const { data: b, common: _ } = this.props.conf;
|
|
137952
137977
|
if (!b || b.length === 0 || !b.some((C) => C.object_id && C.fv)) return;
|
|
137953
137978
|
const x = (_ == null ? void 0 : _.source) || "mosaic";
|
|
137954
|
-
["statistics", "calculate"].includes(x) && (y =
|
|
137979
|
+
["statistics", "calculate"].includes(x) && (y = ds(y, b));
|
|
137955
137980
|
const w = Ol(y, this.props, "history");
|
|
137956
137981
|
if (w) {
|
|
137957
137982
|
try {
|
|
@@ -138442,7 +138467,7 @@ const P3t = { class: "chart-header" }, I3t = { class: "chart-title" }, R3t = { c
|
|
|
138442
138467
|
const { data: x, common: w } = this.props.conf;
|
|
138443
138468
|
if (!x || x.length === 0 || !x.some((E) => E.object_id && E.fv)) return;
|
|
138444
138469
|
const T = (w == null ? void 0 : w.source) || "mosaic";
|
|
138445
|
-
["statistics", "calculate"].includes(T) && (S =
|
|
138470
|
+
["statistics", "calculate"].includes(T) && (S = ds(S, x)), Ol(S, this.props, "history");
|
|
138446
138471
|
}
|
|
138447
138472
|
setSocketData(S) {
|
|
138448
138473
|
console.log("[DisplacementDataTable] 收到实时数据");
|
|
@@ -138698,7 +138723,7 @@ const P3t = { class: "chart-header" }, I3t = { class: "chart-title" }, R3t = { c
|
|
|
138698
138723
|
const { data: w, common: A } = this.props.conf;
|
|
138699
138724
|
if (!w || w.length === 0 || !w.some((P) => P.object_id && P.fv)) return;
|
|
138700
138725
|
const C = (A == null ? void 0 : A.source) || "mosaic";
|
|
138701
|
-
["statistics", "calculate"].includes(C) && (x =
|
|
138726
|
+
["statistics", "calculate"].includes(C) && (x = ds(x, w));
|
|
138702
138727
|
const E = Ol(x, this.props, "history");
|
|
138703
138728
|
if (E) {
|
|
138704
138729
|
try {
|
|
@@ -138889,7 +138914,7 @@ const P3t = { class: "chart-header" }, I3t = { class: "chart-title" }, R3t = { c
|
|
|
138889
138914
|
}),
|
|
138890
138915
|
tn(S.$slots, "default", {}, void 0, !0)
|
|
138891
138916
|
], 512)), [
|
|
138892
|
-
[
|
|
138917
|
+
[_s, b.value]
|
|
138893
138918
|
]);
|
|
138894
138919
|
}
|
|
138895
138920
|
})), zgt = /* @__PURE__ */ Gt(Fgt, [["__scopeId", "data-v-28a449e1"]]), Bgt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -141170,7 +141195,7 @@ const H4t = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3
|
|
|
141170
141195
|
theme: { type: String, default: "light" }
|
|
141171
141196
|
},
|
|
141172
141197
|
setup(n) {
|
|
141173
|
-
Jn([
|
|
141198
|
+
Jn([fs, wa, va, zB]);
|
|
141174
141199
|
const e = n;
|
|
141175
141200
|
class t extends Ki {
|
|
141176
141201
|
getChartOption() {
|
|
@@ -141709,7 +141734,7 @@ function E2e(n, e) {
|
|
|
141709
141734
|
}
|
|
141710
141735
|
return t;
|
|
141711
141736
|
}
|
|
141712
|
-
const Tee = { type: "change" }, eU = { type: "start" }, M2e = { type: "end" }, N_ = new Dv(), Eee = new Hu(), c8t = Math.cos(70 * Gde.DEG2RAD),
|
|
141737
|
+
const Tee = { type: "change" }, eU = { type: "start" }, M2e = { type: "end" }, N_ = new Dv(), Eee = new Hu(), c8t = Math.cos(70 * Gde.DEG2RAD), ps = new gt(), Ec = 2 * Math.PI, Ra = {
|
|
141713
141738
|
NONE: -1,
|
|
141714
141739
|
ROTATE: 0,
|
|
141715
141740
|
DOLLY: 1,
|
|
@@ -141755,7 +141780,7 @@ class TT extends $nt {
|
|
|
141755
141780
|
}
|
|
141756
141781
|
update(e = null) {
|
|
141757
141782
|
const t = this.object.position;
|
|
141758
|
-
|
|
141783
|
+
ps.copy(t).sub(this.target), ps.applyQuaternion(this._quat), this._spherical.setFromVector3(ps), this.autoRotate && this.state === Ra.NONE && this._rotateLeft(this._getAutoRotationAngle(e)), this.enableDamping ? (this._spherical.theta += this._sphericalDelta.theta * this.dampingFactor, this._spherical.phi += this._sphericalDelta.phi * this.dampingFactor) : (this._spherical.theta += this._sphericalDelta.theta, this._spherical.phi += this._sphericalDelta.phi);
|
|
141759
141784
|
let i = this.minAzimuthAngle, r = this.maxAzimuthAngle;
|
|
141760
141785
|
isFinite(i) && isFinite(r) && (i < -Math.PI ? i += Ec : i > Math.PI && (i -= Ec), r < -Math.PI ? r += Ec : r > Math.PI && (r -= Ec), i <= r ? this._spherical.theta = Math.max(i, Math.min(r, this._spherical.theta)) : this._spherical.theta = this._spherical.theta > (i + r) / 2 ? Math.max(i, this._spherical.theta) : Math.min(r, this._spherical.theta)), this._spherical.phi = Math.max(this.minPolarAngle, Math.min(this.maxPolarAngle, this._spherical.phi)), this._spherical.makeSafe(), this.enableDamping === !0 ? this.target.addScaledVector(this._panOffset, this.dampingFactor) : this.target.add(this._panOffset), this.target.sub(this.cursor), this.target.clampLength(this.minTargetRadius, this.maxTargetRadius), this.target.add(this.cursor);
|
|
141761
141786
|
let a = !1;
|
|
@@ -141765,10 +141790,10 @@ class TT extends $nt {
|
|
|
141765
141790
|
const o = this._spherical.radius;
|
|
141766
141791
|
this._spherical.radius = this._clampDistance(this._spherical.radius * this._scale), a = o != this._spherical.radius;
|
|
141767
141792
|
}
|
|
141768
|
-
if (
|
|
141793
|
+
if (ps.setFromSpherical(this._spherical), ps.applyQuaternion(this._quatInverse), t.copy(this.target).add(ps), this.object.lookAt(this.target), this.enableDamping === !0 ? (this._sphericalDelta.theta *= 1 - this.dampingFactor, this._sphericalDelta.phi *= 1 - this.dampingFactor, this._panOffset.multiplyScalar(1 - this.dampingFactor)) : (this._sphericalDelta.set(0, 0, 0), this._panOffset.set(0, 0, 0)), this.zoomToCursor && this._performCursorZoom) {
|
|
141769
141794
|
let o = null;
|
|
141770
141795
|
if (this.object.isPerspectiveCamera) {
|
|
141771
|
-
const s =
|
|
141796
|
+
const s = ps.length();
|
|
141772
141797
|
o = this._clampDistance(s * this._scale);
|
|
141773
141798
|
const l = s - o;
|
|
141774
141799
|
this.object.position.addScaledVector(this._dollyDirection, l), this.object.updateMatrixWorld(), a = !!l;
|
|
@@ -141778,7 +141803,7 @@ class TT extends $nt {
|
|
|
141778
141803
|
const l = this.object.zoom;
|
|
141779
141804
|
this.object.zoom = Math.max(this.minZoom, Math.min(this.maxZoom, this.object.zoom / this._scale)), this.object.updateProjectionMatrix(), a = l !== this.object.zoom;
|
|
141780
141805
|
const c = new gt(this._mouse.x, this._mouse.y, 0);
|
|
141781
|
-
c.unproject(this.object), this.object.position.sub(c).add(s), this.object.updateMatrixWorld(), o =
|
|
141806
|
+
c.unproject(this.object), this.object.position.sub(c).add(s), this.object.updateMatrixWorld(), o = ps.length();
|
|
141782
141807
|
} else
|
|
141783
141808
|
console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."), this.zoomToCursor = !1;
|
|
141784
141809
|
o !== null && (this.screenSpacePanning ? this.target.set(0, 0, -1).transformDirection(this.object.matrix).multiplyScalar(o).add(this.object.position) : (N_.origin.copy(this.object.position), N_.direction.set(0, 0, -1).transformDirection(this.object.matrix), Math.abs(this.object.up.dot(N_.direction)) < c8t ? this.object.lookAt(this.target) : (Eee.setFromNormalAndCoplanarPoint(this.object.up, this.target), N_.intersectPlane(Eee, this.target))));
|
|
@@ -141802,18 +141827,18 @@ class TT extends $nt {
|
|
|
141802
141827
|
this._sphericalDelta.phi -= e;
|
|
141803
141828
|
}
|
|
141804
141829
|
_panLeft(e, t) {
|
|
141805
|
-
|
|
141830
|
+
ps.setFromMatrixColumn(t, 0), ps.multiplyScalar(-e), this._panOffset.add(ps);
|
|
141806
141831
|
}
|
|
141807
141832
|
_panUp(e, t) {
|
|
141808
|
-
this.screenSpacePanning === !0 ?
|
|
141833
|
+
this.screenSpacePanning === !0 ? ps.setFromMatrixColumn(t, 1) : (ps.setFromMatrixColumn(t, 0), ps.crossVectors(this.object.up, ps)), ps.multiplyScalar(e), this._panOffset.add(ps);
|
|
141809
141834
|
}
|
|
141810
141835
|
// deltaX and deltaY are in pixels; right and down are positive
|
|
141811
141836
|
_pan(e, t) {
|
|
141812
141837
|
const i = this.domElement;
|
|
141813
141838
|
if (this.object.isPerspectiveCamera) {
|
|
141814
141839
|
const r = this.object.position;
|
|
141815
|
-
|
|
141816
|
-
let a =
|
|
141840
|
+
ps.copy(r).sub(this.target);
|
|
141841
|
+
let a = ps.length();
|
|
141817
141842
|
a *= Math.tan(this.object.fov / 2 * Math.PI / 180), this._panLeft(2 * e * a / i.clientHeight, this.object.matrix), this._panUp(2 * t * a / i.clientHeight, this.object.matrix);
|
|
141818
141843
|
} else this.object.isOrthographicCamera ? (this._panLeft(e * (this.object.right - this.object.left) / this.object.zoom / i.clientWidth, this.object.matrix), this._panUp(t * (this.object.top - this.object.bottom) / this.object.zoom / i.clientHeight, this.object.matrix)) : (console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."), this.enablePan = !1);
|
|
141819
141844
|
}
|
|
@@ -143952,7 +143977,7 @@ let D6t = class {
|
|
|
143952
143977
|
if (this.animFrameId = requestAnimationFrame(this.animate), this.controls.update(), !this.needsUpdate) return;
|
|
143953
143978
|
const i = this.camera.position.clone().sub(this.controls.target);
|
|
143954
143979
|
this.dynamicLight.position.copy(i), this.renderer.render(this.scene, this.camera), this.labelRenderer.render(this.scene, this.camera), this.needsUpdate = !1;
|
|
143955
|
-
}, Ja.DEFAULT_UP.set(0, 0, 1), this.scene = new sy(), this.camera = new
|
|
143980
|
+
}, Ja.DEFAULT_UP.set(0, 0, 1), this.scene = new sy(), this.camera = new Vs(50, e.clientWidth / Math.max(e.clientHeight, 1), 0.1, 1e5), this.camera.position.set(500, -500, 500), this.camera.up.set(0, 0, 1), this.renderer = new oy({ antialias: !0, alpha: !0 }), this.renderer.setPixelRatio(window.devicePixelRatio), this.renderer.setSize(e.clientWidth, e.clientHeight), e.appendChild(this.renderer.domElement), this.labelRenderer = new nU(), this.labelRenderer.setSize(e.clientWidth, e.clientHeight), this.labelRenderer.domElement.style.position = "absolute", this.labelRenderer.domElement.style.top = "0", this.labelRenderer.domElement.style.left = "0", this.labelRenderer.domElement.style.pointerEvents = "none", this.labelRenderer.domElement.style.overflow = "visible", e.appendChild(this.labelRenderer.domElement), this.controls = new TT(this.camera, this.renderer.domElement), this.controls.enableDamping = !1, this.controls.mouseButtons = { LEFT: e1.ROTATE, MIDDLE: e1.PAN, RIGHT: e1.PAN }, this.controls.addEventListener("change", () => {
|
|
143956
143981
|
this.updateCameraNearFar(), this.needsUpdate = !0;
|
|
143957
143982
|
});
|
|
143958
143983
|
const t = new x4(8947848, 4);
|
|
@@ -145944,7 +145969,7 @@ function P7t() {
|
|
|
145944
145969
|
function Eo() {
|
|
145945
145970
|
Ln(window, "dragstart", na);
|
|
145946
145971
|
}
|
|
145947
|
-
function
|
|
145972
|
+
function hs() {
|
|
145948
145973
|
ui(window, "dragstart", na);
|
|
145949
145974
|
}
|
|
145950
145975
|
var yc, bd;
|
|
@@ -145999,7 +146024,7 @@ function P7t() {
|
|
|
145999
146024
|
return Aa;
|
|
146000
146025
|
},
|
|
146001
146026
|
disableImageDrag: Eo,
|
|
146002
|
-
enableImageDrag:
|
|
146027
|
+
enableImageDrag: hs,
|
|
146003
146028
|
preventOutline: ga,
|
|
146004
146029
|
restoreOutline: _t,
|
|
146005
146030
|
getSizedParentNode: dt,
|
|
@@ -146367,18 +146392,18 @@ function P7t() {
|
|
|
146367
146392
|
function Gl(Qo) {
|
|
146368
146393
|
return (Math.exp(Qo) - Math.exp(-Qo)) / 2;
|
|
146369
146394
|
}
|
|
146370
|
-
function
|
|
146395
|
+
function ks(Qo) {
|
|
146371
146396
|
return (Math.exp(Qo) + Math.exp(-Qo)) / 2;
|
|
146372
146397
|
}
|
|
146373
146398
|
function Su(Qo) {
|
|
146374
|
-
return Gl(Qo) /
|
|
146399
|
+
return Gl(Qo) / ks(Qo);
|
|
146375
146400
|
}
|
|
146376
146401
|
var xc = Rr(0);
|
|
146377
146402
|
function Fv(Qo) {
|
|
146378
|
-
return fn * (
|
|
146403
|
+
return fn * (ks(xc) / ks(xc + Ai * Qo));
|
|
146379
146404
|
}
|
|
146380
146405
|
function mve(Qo) {
|
|
146381
|
-
return fn * (
|
|
146406
|
+
return fn * (ks(xc) * Su(xc + Ai * Qo) - Gl(xc)) / Ji;
|
|
146382
146407
|
}
|
|
146383
146408
|
function gve(Qo) {
|
|
146384
146409
|
return 1 - Math.pow(1 - Qo, 1.5);
|
|
@@ -147538,7 +147563,7 @@ function P7t() {
|
|
|
147538
147563
|
this._enabled && this.finishDrag();
|
|
147539
147564
|
},
|
|
147540
147565
|
finishDrag: function(O) {
|
|
147541
|
-
Kt(document.body, "leaflet-dragging"), this._lastTarget && (Kt(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), ui(document, "mousemove touchmove", this._onMove, this), ui(document, "mouseup touchend touchcancel", this._onUp, this),
|
|
147566
|
+
Kt(document.body, "leaflet-dragging"), this._lastTarget && (Kt(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), ui(document, "mousemove touchmove", this._onMove, this), ui(document, "mouseup touchend touchcancel", this._onUp, this), hs(), Aa();
|
|
147542
147567
|
var j = this._moved && this._moving;
|
|
147543
147568
|
this._moving = !1, xd._dragging = !1, j && this.fire("dragend", {
|
|
147544
147569
|
noInertia: O,
|
|
@@ -147564,12 +147589,12 @@ function P7t() {
|
|
|
147564
147589
|
_c(O) || (console.warn("latlngs are not flat! Only the first ring will be used"), O = O[0]);
|
|
147565
147590
|
var Ji = X([0, 0]), Rr = Y(O), Gl = Rr.getNorthWest().distanceTo(Rr.getSouthWest()) * Rr.getNorthEast().distanceTo(Rr.getNorthWest());
|
|
147566
147591
|
Gl < 1700 && (Ji = C1(O));
|
|
147567
|
-
var
|
|
147568
|
-
for (oe = 0; oe <
|
|
147592
|
+
var ks = O.length, Su = [];
|
|
147593
|
+
for (oe = 0; oe < ks; oe++) {
|
|
147569
147594
|
var xc = X(O[oe]);
|
|
147570
147595
|
Su.push(j.project(X([xc.lat - Ji.lat, xc.lng - Ji.lng])));
|
|
147571
147596
|
}
|
|
147572
|
-
for (fn = gn = Hn = 0, oe = 0, _e =
|
|
147597
|
+
for (fn = gn = Hn = 0, oe = 0, _e = ks - 1; oe < ks; _e = oe++)
|
|
147573
147598
|
Pe = Su[oe], it = Su[_e], Bt = Pe.y * it.x - it.y * Pe.x, gn += (Pe.x + it.x) * Bt, Hn += (Pe.y + it.y) * Bt, fn += Bt * 3;
|
|
147574
147599
|
fn === 0 ? Ai = Su[0] : Ai = [gn / fn, Hn / fn];
|
|
147575
147600
|
var Fv = j.unproject(B(Ai));
|
|
@@ -147659,18 +147684,18 @@ function P7t() {
|
|
|
147659
147684
|
_c(O) || (console.warn("latlngs are not flat! Only the first ring will be used"), O = O[0]);
|
|
147660
147685
|
var Ai = X([0, 0]), Ji = Y(O), Rr = Ji.getNorthWest().distanceTo(Ji.getSouthWest()) * Ji.getNorthEast().distanceTo(Ji.getNorthWest());
|
|
147661
147686
|
Rr < 1700 && (Ai = C1(O));
|
|
147662
|
-
var Gl = O.length,
|
|
147687
|
+
var Gl = O.length, ks = [];
|
|
147663
147688
|
for (oe = 0; oe < Gl; oe++) {
|
|
147664
147689
|
var Su = X(O[oe]);
|
|
147665
|
-
|
|
147690
|
+
ks.push(j.project(X([Su.lat - Ai.lat, Su.lng - Ai.lng])));
|
|
147666
147691
|
}
|
|
147667
147692
|
for (oe = 0, _e = 0; oe < Gl - 1; oe++)
|
|
147668
|
-
_e +=
|
|
147693
|
+
_e += ks[oe].distanceTo(ks[oe + 1]) / 2;
|
|
147669
147694
|
if (_e === 0)
|
|
147670
|
-
Hn =
|
|
147695
|
+
Hn = ks[0];
|
|
147671
147696
|
else
|
|
147672
147697
|
for (oe = 0, it = 0; oe < Gl - 1; oe++)
|
|
147673
|
-
if (Bt =
|
|
147698
|
+
if (Bt = ks[oe], fn = ks[oe + 1], Pe = Bt.distanceTo(fn), it += Pe, it > _e) {
|
|
147674
147699
|
gn = (it - _e) / Pe, Hn = [
|
|
147675
147700
|
fn.x - gn * (fn.x - Bt.x),
|
|
147676
147701
|
fn.y - gn * (fn.y - Bt.y)
|
|
@@ -149054,7 +149079,7 @@ function P7t() {
|
|
|
149054
149079
|
}
|
|
149055
149080
|
}), gr = function(O, j, oe) {
|
|
149056
149081
|
return new Yi(O, j, oe);
|
|
149057
|
-
},
|
|
149082
|
+
}, Rs = Yi.extend({
|
|
149058
149083
|
// @section
|
|
149059
149084
|
// @aka VideoOverlay options
|
|
149060
149085
|
options: {
|
|
@@ -149095,7 +149120,7 @@ function P7t() {
|
|
|
149095
149120
|
// used by this overlay.
|
|
149096
149121
|
});
|
|
149097
149122
|
function Ya(O, j, oe) {
|
|
149098
|
-
return new
|
|
149123
|
+
return new Rs(O, j, oe);
|
|
149099
149124
|
}
|
|
149100
149125
|
var ml = Yi.extend({
|
|
149101
149126
|
_initImage: function() {
|
|
@@ -149970,8 +149995,8 @@ function P7t() {
|
|
|
149970
149995
|
for (var Rr = Pe.min.x; Rr <= Pe.max.x; Rr++) {
|
|
149971
149996
|
var Gl = new F(Rr, Ji);
|
|
149972
149997
|
if (Gl.z = this._tileZoom, !!this._isValidTile(Gl)) {
|
|
149973
|
-
var
|
|
149974
|
-
|
|
149998
|
+
var ks = this._tiles[this._tileCoordsToKey(Gl)];
|
|
149999
|
+
ks ? ks.current = !0 : Bt.push(Gl);
|
|
149975
150000
|
}
|
|
149976
150001
|
}
|
|
149977
150002
|
if (Bt.sort(function(xc, Fv) {
|
|
@@ -150691,7 +150716,7 @@ function P7t() {
|
|
|
150691
150716
|
Bi(this._box, j.min), this._box.style.width = oe.x + "px", this._box.style.height = oe.y + "px";
|
|
150692
150717
|
},
|
|
150693
150718
|
_finish: function() {
|
|
150694
|
-
this._moved && (Cn(this._box), Kt(this._container, "leaflet-crosshair")), Aa(),
|
|
150719
|
+
this._moved && (Cn(this._box), Kt(this._container, "leaflet-crosshair")), Aa(), hs(), ui(document, {
|
|
150695
150720
|
contextmenu: Zs,
|
|
150696
150721
|
mousemove: this._onMouseMove,
|
|
150697
150722
|
mouseup: this._onMouseUp,
|
|
@@ -151088,7 +151113,7 @@ function P7t() {
|
|
|
151088
151113
|
this._zooming = !1, M(this._animRequest), ui(document, "touchmove", this._onTouchMove, this), ui(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
151089
151114
|
}
|
|
151090
151115
|
});
|
|
151091
|
-
Pr.addInitHook("addHandler", "touchZoom", bH), Pr.BoxZoom = hH, Pr.DoubleClickZoom = pH, Pr.Drag = vH, Pr.Keyboard = mH, Pr.ScrollWheelZoom = gH, Pr.TapHold = yH, Pr.TouchZoom = bH, t.Bounds = W, t.Browser = Ut, t.CRS = le, t.Canvas = cH, t.Circle = Ce, t.CircleMarker = ee, t.Class = P, t.Control = Mo, t.DivIcon = oH, t.DivOverlay = Jo, t.DomEvent = Zc, t.DomUtil = mn, t.Draggable = xd, t.Evented = k, t.FeatureGroup = E1, t.GeoJSON = Vt, t.GridLayer = P5, t.Handler = Hl, t.Icon = Gf, t.ImageOverlay = Yi, t.LatLng = q, t.LatLngBounds = U, t.Layer = jl, t.LayerGroup = jf, t.LineUtil = L5, t.Map = Pr, t.Marker = kv, t.Mixin = XT, t.Path = ne, t.Point = F, t.PolyUtil = Iv, t.Polygon = ct, t.Polyline = Ge, t.Popup = L0, t.PosAnimation = _d, t.Projection = Ly, t.Rectangle = fH, t.Renderer = D0, t.SVG = R5, t.SVGOverlay = ml, t.TileLayer = Nv, t.Tooltip = Py, t.Transformation = Q, t.Util = I, t.VideoOverlay =
|
|
151116
|
+
Pr.addInitHook("addHandler", "touchZoom", bH), Pr.BoxZoom = hH, Pr.DoubleClickZoom = pH, Pr.Drag = vH, Pr.Keyboard = mH, Pr.ScrollWheelZoom = gH, Pr.TapHold = yH, Pr.TouchZoom = bH, t.Bounds = W, t.Browser = Ut, t.CRS = le, t.Canvas = cH, t.Circle = Ce, t.CircleMarker = ee, t.Class = P, t.Control = Mo, t.DivIcon = oH, t.DivOverlay = Jo, t.DomEvent = Zc, t.DomUtil = mn, t.Draggable = xd, t.Evented = k, t.FeatureGroup = E1, t.GeoJSON = Vt, t.GridLayer = P5, t.Handler = Hl, t.Icon = Gf, t.ImageOverlay = Yi, t.LatLng = q, t.LatLngBounds = U, t.Layer = jl, t.LayerGroup = jf, t.LineUtil = L5, t.Map = Pr, t.Marker = kv, t.Mixin = XT, t.Path = ne, t.Point = F, t.PolyUtil = Iv, t.Polygon = ct, t.Polyline = Ge, t.Popup = L0, t.PosAnimation = _d, t.Projection = Ly, t.Rectangle = fH, t.Renderer = D0, t.SVG = R5, t.SVGOverlay = ml, t.TileLayer = Nv, t.Tooltip = Py, t.Transformation = Q, t.Util = I, t.VideoOverlay = Rs, t.bind = o, t.bounds = H, t.canvas = uH, t.circle = Oe, t.circleMarker = he, t.control = Ul, t.divIcon = cve, t.extend = r, t.featureGroup = JT, t.geoJSON = ur, t.geoJson = Ir, t.gridLayer = uve, t.icon = QT, t.imageOverlay = gr, t.latLng = X, t.latLngBounds = Y, t.layerGroup = KT, t.map = C5, t.marker = $T, t.point = B, t.polygon = xt, t.polyline = tt, t.popup = ep, t.rectangle = hve, t.setOptions = v, t.stamp = l, t.svg = dH, t.svgOverlay = qc, t.tileLayer = sH, t.tooltip = lve, t.transformation = se, t.version = i, t.videoOverlay = Ya;
|
|
151092
151117
|
var vve = window.L;
|
|
151093
151118
|
t.noConflict = function() {
|
|
151094
151119
|
return window.L = vve, this;
|
|
@@ -151281,11 +151306,11 @@ const ia = /* @__PURE__ */ Pf(I7t), dy = "data:image/svg+xml,%3c?xml%20version='
|
|
|
151281
151306
|
for (let ha = 0; ha < nt.length; ha++) {
|
|
151282
151307
|
const $a = nt[ha];
|
|
151283
151308
|
if (!$a) continue;
|
|
151284
|
-
const Eo = Number($a[At]),
|
|
151285
|
-
!Number.isFinite(Eo) || !Number.isFinite(
|
|
151309
|
+
const Eo = Number($a[At]), hs = Number($a[yn]), yc = Number($a[Wn]);
|
|
151310
|
+
!Number.isFinite(Eo) || !Number.isFinite(hs) || !Number.isFinite(yc) || ma.push({
|
|
151286
151311
|
id: $a.object_id || $a.id || `pt_${ha}`,
|
|
151287
151312
|
e: Eo,
|
|
151288
|
-
n:
|
|
151313
|
+
n: hs,
|
|
151289
151314
|
rl: yc,
|
|
151290
151315
|
rr: Number($a[ii]) || 0,
|
|
151291
151316
|
av: Number($a[Xt]) || 0,
|
|
@@ -151428,7 +151453,7 @@ const ia = /* @__PURE__ */ Pf(I7t), dy = "data:image/svg+xml,%3c?xml%20version='
|
|
|
151428
151453
|
}, 200));
|
|
151429
151454
|
}
|
|
151430
151455
|
function Y(Pt, nt, Kt, ln) {
|
|
151431
|
-
const yn = 0.003352810681182319, Wn = 2 * yn - yn * yn, ii = (1 - Math.sqrt(1 - Wn)) / (1 + Math.sqrt(1 - Wn)), Xt = 1, Bi = Pt - 5e5, Aa = nt / Xt / (6378137 * (1 - Wn / 4 - 3 * Wn * Wn / 64 - 5 * Wn * Wn * Wn / 256)), ha = Aa + (3 * ii / 2 - 27 * ii * ii * ii / 32) * Math.sin(2 * Aa) + (21 * ii * ii / 16 - 55 * ii * ii * ii * ii / 32) * Math.sin(4 * Aa) + 151 * ii * ii * ii / 96 * Math.sin(6 * Aa), $a = Wn / (1 - Wn), Eo = $a * Math.cos(ha) * Math.cos(ha),
|
|
151456
|
+
const yn = 0.003352810681182319, Wn = 2 * yn - yn * yn, ii = (1 - Math.sqrt(1 - Wn)) / (1 + Math.sqrt(1 - Wn)), Xt = 1, Bi = Pt - 5e5, Aa = nt / Xt / (6378137 * (1 - Wn / 4 - 3 * Wn * Wn / 64 - 5 * Wn * Wn * Wn / 256)), ha = Aa + (3 * ii / 2 - 27 * ii * ii * ii / 32) * Math.sin(2 * Aa) + (21 * ii * ii / 16 - 55 * ii * ii * ii * ii / 32) * Math.sin(4 * Aa) + 151 * ii * ii * ii / 96 * Math.sin(6 * Aa), $a = Wn / (1 - Wn), Eo = $a * Math.cos(ha) * Math.cos(ha), hs = Math.tan(ha) * Math.tan(ha), yc = 6378137 / Math.sqrt(1 - Wn * Math.sin(ha) * Math.sin(ha)), bd = 6378137 * (1 - Wn) / Math.pow(1 - Wn * Math.sin(ha) * Math.sin(ha), 1.5), ga = Bi / (yc * Xt), _t = ha - yc * Math.tan(ha) / bd * (ga * ga / 2 - (5 + 3 * hs + 10 * Eo - 4 * Eo * Eo - 9 * $a) * ga * ga * ga * ga / 24 + (61 + 90 * hs + 298 * Eo + 45 * hs * hs - 252 * $a - 3 * Eo * Eo) * ga * ga * ga * ga * ga * ga / 720), dt = 120 * Math.PI / 180, rn = (ga - (1 + 2 * hs + Eo) * ga * ga * ga / 6 + (5 - 2 * Eo + 28 * hs - 3 * Eo * Eo + 8 * $a + 24 * hs * hs) * ga * ga * ga * ga * ga / 120) / Math.cos(ha);
|
|
151432
151457
|
return { lat: _t * 180 / Math.PI, lon: (rn + dt) * 180 / Math.PI };
|
|
151433
151458
|
}
|
|
151434
151459
|
function q() {
|
|
@@ -152061,7 +152086,7 @@ const ia = /* @__PURE__ */ Pf(I7t), dy = "data:image/svg+xml,%3c?xml%20version='
|
|
|
152061
152086
|
ref_key: "leafletRef",
|
|
152062
152087
|
ref: z
|
|
152063
152088
|
}, null, 512), [
|
|
152064
|
-
[
|
|
152089
|
+
[_s, ie.value === "map2d"]
|
|
152065
152090
|
])
|
|
152066
152091
|
], 544),
|
|
152067
152092
|
Fe.value.length > 0 || we.value ? (V(), Z("div", ayt, [
|
|
@@ -155545,7 +155570,7 @@ class Axt {
|
|
|
155545
155570
|
console.warn("THREE.GLTFLoader: Missing camera parameters.");
|
|
155546
155571
|
return;
|
|
155547
155572
|
}
|
|
155548
|
-
return i.type === "perspective" ? t = new
|
|
155573
|
+
return i.type === "perspective" ? t = new Vs(Gde.radToDeg(r.yfov), r.aspectRatio || 1, r.znear || 1, r.zfar || 2e6) : i.type === "orthographic" && (t = new vT(-r.xmag, r.xmag, r.ymag, -r.ymag, r.znear, r.zfar)), i.name && (t.name = this.createUniqueName(i.name)), J0(t, i), Promise.resolve(t);
|
|
155549
155574
|
}
|
|
155550
155575
|
/**
|
|
155551
155576
|
* Specification: https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#skins
|
|
@@ -156642,7 +156667,7 @@ jh([8, 32946], () => import("./deflate-Dp_sL4b4.js").then((n) => n.default));
|
|
|
156642
156667
|
jh(32773, () => import("./packbits-AaardaO4.js").then((n) => n.default));
|
|
156643
156668
|
jh(
|
|
156644
156669
|
34887,
|
|
156645
|
-
() => import("./lerc-
|
|
156670
|
+
() => import("./lerc-Dla1mXfn.js").then((n) => Xe(null, null, function* () {
|
|
156646
156671
|
return yield n.zstd.init(), n;
|
|
156647
156672
|
})).then((n) => n.default)
|
|
156648
156673
|
);
|
|
@@ -158007,7 +158032,7 @@ class HSt {
|
|
|
158007
158032
|
if (!this.container) return;
|
|
158008
158033
|
this.dispose();
|
|
158009
158034
|
const e = this.container.clientWidth, t = this.container.clientHeight;
|
|
158010
|
-
this.scene = new sy(), this.scene.background = new Li(16777215), this.camera = new
|
|
158035
|
+
this.scene = new sy(), this.scene.background = new Li(16777215), this.camera = new Vs(75, e / t, 0.1, 1e4), this.camera.position.z = 5, this.renderer = new oy({ antialias: !0, alpha: !0 }), this.renderer.setSize(e, t), this.renderer.setPixelRatio(window.devicePixelRatio), this.container.appendChild(this.renderer.domElement), this.controls = new TT(this.camera, this.renderer.domElement), this.controls.enableDamping = !0, this.controls.dampingFactor = 0.08, this.controls.screenSpacePanning = !0, this.controls.enablePan = !0, this.controls.minDistance = 1, this.controls.maxDistance = 5e3, this.controls.target.set(0, 0, 0), this.controls.update(), this.dblClickHandler = (a) => {
|
|
158011
158036
|
this.container && this.container.contains(a.target) && this.resetView();
|
|
158012
158037
|
}, this.container.addEventListener("dblclick", this.dblClickHandler);
|
|
158013
158038
|
const i = new x4(16777215, 0.6);
|
|
@@ -159107,14 +159132,14 @@ const jSt = { class: "filter-tabs" }, GSt = { class: "toolbar-right" }, YSt = {
|
|
|
159107
159132
|
ref_key: "threeContainer",
|
|
159108
159133
|
ref: v
|
|
159109
159134
|
}, null, 512), [
|
|
159110
|
-
[
|
|
159135
|
+
[_s, n.mode !== "edit" && ["geology", "dtm", "uav"].includes(x.displayMode)]
|
|
159111
159136
|
]),
|
|
159112
159137
|
qn(N("div", {
|
|
159113
159138
|
class: "map-container-leaflet",
|
|
159114
159139
|
ref_key: "mapContainer",
|
|
159115
159140
|
ref: p
|
|
159116
159141
|
}, null, 512), [
|
|
159117
|
-
[
|
|
159142
|
+
[_s, n.mode !== "edit" && x.displayMode === "leaflet"]
|
|
159118
159143
|
]),
|
|
159119
159144
|
qn(N("div", ff({
|
|
159120
159145
|
class: "map-viewer",
|
|
@@ -159197,10 +159222,10 @@ const jSt = { class: "filter-tabs" }, GSt = { class: "toolbar-right" }, YSt = {
|
|
|
159197
159222
|
innerHTML: E.content
|
|
159198
159223
|
}, null, 8, ewt)
|
|
159199
159224
|
], 4), [
|
|
159200
|
-
[
|
|
159225
|
+
[_s, E.visible]
|
|
159201
159226
|
])
|
|
159202
159227
|
], 16), [
|
|
159203
|
-
[
|
|
159228
|
+
[_s, n.mode === "edit"]
|
|
159204
159229
|
]),
|
|
159205
159230
|
n.mode !== "edit" ? (V(), Z("div", {
|
|
159206
159231
|
key: 1,
|
|
@@ -159231,7 +159256,7 @@ const jSt = { class: "filter-tabs" }, GSt = { class: "toolbar-right" }, YSt = {
|
|
|
159231
159256
|
N("span", { class: "card-label" }, "全部显示", -1)
|
|
159232
159257
|
])], 2)
|
|
159233
159258
|
], 512), [
|
|
159234
|
-
[
|
|
159259
|
+
[_s, g.value]
|
|
159235
159260
|
])
|
|
159236
159261
|
], 2)) : Re("", !0),
|
|
159237
159262
|
G(Je, {
|
|
@@ -162602,7 +162627,7 @@ const hU = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
162602
162627
|
setup(n) {
|
|
162603
162628
|
Jn([
|
|
162604
162629
|
iT,
|
|
162605
|
-
|
|
162630
|
+
fs,
|
|
162606
162631
|
Fh,
|
|
162607
162632
|
zh,
|
|
162608
162633
|
yo,
|
|
@@ -162643,7 +162668,7 @@ const hU = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
162643
162668
|
const s = new o(a, "aqiIndass");
|
|
162644
162669
|
s.setupLifecycle();
|
|
162645
162670
|
const l = s.getStyle(), c = de(() => xi(a.conf.options)), u = () => {
|
|
162646
|
-
const { conf: g } = a, y =
|
|
162671
|
+
const { conf: g } = a, y = Ss(g);
|
|
162647
162672
|
var b = {
|
|
162648
162673
|
tooltip: {
|
|
162649
162674
|
trigger: "axis"
|
|
@@ -162771,7 +162796,7 @@ const hU = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
162771
162796
|
});
|
|
162772
162797
|
}), b;
|
|
162773
162798
|
}, f = () => {
|
|
162774
|
-
const { options: g, data: y, area: b } = a.conf, _ =
|
|
162799
|
+
const { options: g, data: y, area: b } = a.conf, _ = Ss(a.conf), S = b.filter((x) => x.value !== null && x.value !== void 0);
|
|
162775
162800
|
return S.sort((x, w) => x.value - w.value), [
|
|
162776
162801
|
{
|
|
162777
162802
|
name: y[0].name || "",
|
|
@@ -162807,7 +162832,7 @@ const hU = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
162807
162832
|
x.data = b[w];
|
|
162808
162833
|
}), i == null || i.setOption(S));
|
|
162809
162834
|
}, p = (g) => {
|
|
162810
|
-
|
|
162835
|
+
Ss(a.conf);
|
|
162811
162836
|
}, v = {
|
|
162812
162837
|
unregister: () => yv(a, e.value)
|
|
162813
162838
|
};
|
|
@@ -163111,7 +163136,7 @@ const hU = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
163111
163136
|
theme: { type: String, default: "light" }
|
|
163112
163137
|
},
|
|
163113
163138
|
setup(n) {
|
|
163114
|
-
Jn([
|
|
163139
|
+
Jn([fs, yo, wa, go, va, zB]);
|
|
163115
163140
|
const { proxy: e } = m0(), t = fe(ca("session", null)), i = "grg_" + Math.random().toString(16).substring(4, 12);
|
|
163116
163141
|
let r = null, a = null;
|
|
163117
163142
|
const o = n;
|
|
@@ -163154,7 +163179,7 @@ const hU = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
163154
163179
|
const l = new s(o, "grg");
|
|
163155
163180
|
l.setupLifecycle();
|
|
163156
163181
|
const c = l.getStyle(), u = de(() => xi(o.conf.options)), d = () => {
|
|
163157
|
-
const { data: g, grade: y } = o.conf, b =
|
|
163182
|
+
const { data: g, grade: y } = o.conf, b = Ss(o.conf);
|
|
163158
163183
|
let _ = g[0] || {};
|
|
163159
163184
|
return {
|
|
163160
163185
|
series: [{
|
|
@@ -163223,13 +163248,13 @@ const hU = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
163223
163248
|
w.step = Math.abs((x.range[1] - _) / A), S.push([w.step, w.color]);
|
|
163224
163249
|
}), S;
|
|
163225
163250
|
}, h = (g) => {
|
|
163226
|
-
if (!
|
|
163251
|
+
if (!Ss(o.conf)) return;
|
|
163227
163252
|
let y = r == null ? void 0 : r.getOption();
|
|
163228
163253
|
if (!y) return;
|
|
163229
163254
|
const b = g5(g, o), _ = b[b.length - 1];
|
|
163230
163255
|
_ && (y.series[0].data[0].value = _.value, r == null || r.setOption(y));
|
|
163231
163256
|
}, p = (g) => {
|
|
163232
|
-
|
|
163257
|
+
Ss(o.conf);
|
|
163233
163258
|
}, v = {
|
|
163234
163259
|
unregister: () => yv(o, t.value)
|
|
163235
163260
|
};
|
|
@@ -163316,7 +163341,7 @@ var Sg = 9e15, Gh = 1e9, fN = "0123456789abcdef", TA = "2.3025850929940456840179
|
|
|
163316
163341
|
// Whether to use cryptographically-secure random number generation, if available.
|
|
163317
163342
|
crypto: !1
|
|
163318
163343
|
// true/false
|
|
163319
|
-
}, the, df, cr = !0, OT = "[DecimalError] ", bh = OT + "Invalid argument: ", nhe = OT + "Precision limit exceeded", ihe = OT + "crypto unavailable", rhe = "[object Decimal]", Fl = Math.floor,
|
|
163344
|
+
}, the, df, cr = !0, OT = "[DecimalError] ", bh = OT + "Invalid argument: ", nhe = OT + "Precision limit exceeded", ihe = OT + "crypto unavailable", rhe = "[object Decimal]", Fl = Math.floor, gs = Math.pow, EEt = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i, MEt = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i, LEt = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i, ahe = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, id = 1e7, Zi = 7, DEt = 9007199254740991, OEt = TA.length - 1, pN = EA.length - 1, Bn = { toStringTag: rhe };
|
|
163320
163345
|
Bn.absoluteValue = Bn.abs = function() {
|
|
163321
163346
|
var n = new this.constructor(this);
|
|
163322
163347
|
return n.s < 0 && (n.s = 1), Ui(n);
|
|
@@ -163348,7 +163373,7 @@ Bn.cosine = Bn.cos = function() {
|
|
|
163348
163373
|
Bn.cubeRoot = Bn.cbrt = function() {
|
|
163349
163374
|
var n, e, t, i, r, a, o, s, l, c, u = this, d = u.constructor;
|
|
163350
163375
|
if (!u.isFinite() || u.isZero()) return new d(u);
|
|
163351
|
-
for (cr = !1, a = u.s *
|
|
163376
|
+
for (cr = !1, a = u.s * gs(u.s * u, 1 / 3), !a || Math.abs(a) == 1 / 0 ? (t = al(u.d), n = u.e, (a = (n - t.length + 1) % 3) && (t += a == 1 || a == -2 ? "0" : "00"), a = gs(t, 1 / 3), n = Fl((n + 1) / 3) - (n % 3 == (n < 0 ? -1 : 2)), a == 1 / 0 ? t = "5e" + n : (t = a.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + n), i = new d(t), i.s = u.s) : i = new d(a.toString()), o = (n = d.precision) + 3; ; )
|
|
163352
163377
|
if (s = i, l = s.times(s).times(s), c = l.plus(u), i = ja(c.plus(u).times(s), c.plus(l), o + 2, 1), al(s.d).slice(0, o) === (t = al(i.d)).slice(0, o))
|
|
163353
163378
|
if (t = t.slice(o - 3, o + 1), t == "9999" || !r && t == "4999") {
|
|
163354
163379
|
if (!r && (Ui(s, n + 1, 0), s.times(s).times(s).eq(u))) {
|
|
@@ -163634,7 +163659,7 @@ Bn.toFixed = function(n, e) {
|
|
|
163634
163659
|
Bn.toFraction = function(n) {
|
|
163635
163660
|
var e, t, i, r, a, o, s, l, c, u, d, f, h = this, p = h.d, v = h.constructor;
|
|
163636
163661
|
if (!p) return new v(h);
|
|
163637
|
-
if (c = t = new v(1), i = l = new v(0), e = new v(i), a = e.e = ohe(p) - h.e - 1, o = a % Zi, e.d[0] =
|
|
163662
|
+
if (c = t = new v(1), i = l = new v(0), e = new v(i), a = e.e = ohe(p) - h.e - 1, o = a % Zi, e.d[0] = gs(10, o < 0 ? Zi + o : o), n == null)
|
|
163638
163663
|
n = a > 0 ? e : c;
|
|
163639
163664
|
else {
|
|
163640
163665
|
if (s = new v(n), !s.isInt() || s.lt(c)) throw Error(bh + s);
|
|
@@ -163667,7 +163692,7 @@ Bn.toOctal = function(n, e) {
|
|
|
163667
163692
|
};
|
|
163668
163693
|
Bn.toPower = Bn.pow = function(n) {
|
|
163669
163694
|
var e, t, i, r, a, o, s = this, l = s.constructor, c = +(n = new l(n));
|
|
163670
|
-
if (!s.d || !n.d || !s.d[0] || !n.d[0]) return new l(
|
|
163695
|
+
if (!s.d || !n.d || !s.d[0] || !n.d[0]) return new l(gs(+s, c));
|
|
163671
163696
|
if (s = new l(s), s.eq(1)) return s;
|
|
163672
163697
|
if (i = l.precision, a = l.rounding, n.eq(1)) return Ui(s, i, a);
|
|
163673
163698
|
if (e = Fl(n.e / Zi), e >= n.d.length - 1 && (t = c < 0 ? -c : c) <= DEt)
|
|
@@ -163677,7 +163702,7 @@ Bn.toPower = Bn.pow = function(n) {
|
|
|
163677
163702
|
if ((n.d[e] & 1) == 0 && (o = 1), s.e == 0 && s.d[0] == 1 && s.d.length == 1)
|
|
163678
163703
|
return s.s = o, s;
|
|
163679
163704
|
}
|
|
163680
|
-
return t =
|
|
163705
|
+
return t = gs(+s, c), e = t == 0 || !isFinite(t) ? Fl(c * (Math.log("0." + al(s.d)) / Math.LN10 + s.e + 1)) : new l(t + "").e, e > l.maxE + 1 || e < l.minE - 1 ? new l(e > 0 ? o / 0 : 0) : (cr = !1, l.rounding = s.s = 1, t = Math.min(12, (e + "").length), r = vN(n.times(H2(s, i + t)), i), r.d && (r = Ui(r, i + 5, 1), Q6(r.d, i, a) && (e = i + 10, r = Ui(vN(n.times(H2(s, e + t)), e), e + 5, 1), +al(r.d).slice(i + 1, i + 15) + 1 == 1e14 && (r = Ui(r, i + 1, 0)))), r.s = o, cr = !0, l.rounding = a, Ui(r, i, a));
|
|
163681
163706
|
};
|
|
163682
163707
|
Bn.toPrecision = function(n, e) {
|
|
163683
163708
|
var t, i = this, r = i.constructor;
|
|
@@ -163716,7 +163741,7 @@ function Gc(n, e, t) {
|
|
|
163716
163741
|
function Q6(n, e, t, i) {
|
|
163717
163742
|
var r, a, o, s;
|
|
163718
163743
|
for (a = n[0]; a >= 10; a /= 10) --e;
|
|
163719
|
-
return --e < 0 ? (e += Zi, r = 0) : (r = Math.ceil((e + 1) / Zi), e %= Zi), a =
|
|
163744
|
+
return --e < 0 ? (e += Zi, r = 0) : (r = Math.ceil((e + 1) / Zi), e %= Zi), a = gs(10, Zi - e), s = n[r] % a | 0, i == null ? e < 3 ? (e == 0 ? s = s / 100 | 0 : e == 1 && (s = s / 10 | 0), o = t < 4 && s == 99999 || t > 3 && s == 49999 || s == 5e4 || s == 0) : o = (t < 4 && s + 1 == a || t > 3 && s + 1 == a / 2) && (n[r + 1] / a / 100 | 0) == gs(10, e - 2) - 1 || (s == a / 2 || s == 0) && (n[r + 1] / a / 100 | 0) == 0 : e < 4 ? (e == 0 ? s = s / 1e3 | 0 : e == 1 ? s = s / 100 | 0 : e == 2 && (s = s / 10 | 0), o = (i || t < 4) && s == 9999 || !i && t > 3 && s == 4999) : o = ((i || t < 4) && s + 1 == a || !i && t > 3 && s + 1 == a / 2) && (n[r + 1] / a / 1e3 | 0) == gs(10, e - 3) - 1, o;
|
|
163720
163745
|
}
|
|
163721
163746
|
function NS(n, e, t) {
|
|
163722
163747
|
for (var i, r = [0], a, o = 0, s = n.length; o < s; ) {
|
|
@@ -163803,7 +163828,7 @@ function Ui(n, e, t, i) {
|
|
|
163803
163828
|
if (d = n.d, !d) return n;
|
|
163804
163829
|
for (r = 1, s = d[0]; s >= 10; s /= 10) r++;
|
|
163805
163830
|
if (a = e - r, a < 0)
|
|
163806
|
-
a += Zi, o = e, u = d[f = 0], l = u /
|
|
163831
|
+
a += Zi, o = e, u = d[f = 0], l = u / gs(10, r - o - 1) % 10 | 0;
|
|
163807
163832
|
else if (f = Math.ceil((a + 1) / Zi), s = d.length, f >= s)
|
|
163808
163833
|
if (i) {
|
|
163809
163834
|
for (; s++ <= f; ) d.push(0);
|
|
@@ -163812,12 +163837,12 @@ function Ui(n, e, t, i) {
|
|
|
163812
163837
|
break e;
|
|
163813
163838
|
else {
|
|
163814
163839
|
for (u = s = d[f], r = 1; s >= 10; s /= 10) r++;
|
|
163815
|
-
a %= Zi, o = a - Zi + r, l = o < 0 ? 0 : u /
|
|
163840
|
+
a %= Zi, o = a - Zi + r, l = o < 0 ? 0 : u / gs(10, r - o - 1) % 10 | 0;
|
|
163816
163841
|
}
|
|
163817
|
-
if (i = i || e < 0 || d[f + 1] !== void 0 || (o < 0 ? u : u %
|
|
163818
|
-
(a > 0 ? o > 0 ? u /
|
|
163819
|
-
return d.length = 0, c ? (e -= n.e + 1, d[0] =
|
|
163820
|
-
if (a == 0 ? (d.length = f, s = 1, f--) : (d.length = f + 1, s =
|
|
163842
|
+
if (i = i || e < 0 || d[f + 1] !== void 0 || (o < 0 ? u : u % gs(10, r - o - 1)), c = t < 4 ? (l || i) && (t == 0 || t == (n.s < 0 ? 3 : 2)) : l > 5 || l == 5 && (t == 4 || i || t == 6 && // Check whether the digit to the left of the rounding digit is odd.
|
|
163843
|
+
(a > 0 ? o > 0 ? u / gs(10, r - o) : 0 : d[f - 1]) % 10 & 1 || t == (n.s < 0 ? 8 : 7)), e < 1 || !d[0])
|
|
163844
|
+
return d.length = 0, c ? (e -= n.e + 1, d[0] = gs(10, (Zi - e % Zi) % Zi), n.e = -e || 0) : d[0] = n.e = 0, n;
|
|
163845
|
+
if (a == 0 ? (d.length = f, s = 1, f--) : (d.length = f + 1, s = gs(10, Zi - a), d[f] = o > 0 ? (u / gs(10, r - o) % gs(10, o) | 0) * s : 0), c)
|
|
163821
163846
|
for (; ; )
|
|
163822
163847
|
if (f == 0) {
|
|
163823
163848
|
for (a = 1, o = d[0]; o >= 10; o /= 10) a++;
|
|
@@ -163893,7 +163918,7 @@ function vN(n, e) {
|
|
|
163893
163918
|
return new f(n.d ? n.d[0] ? n.s < 0 ? 0 : 1 / 0 : 1 : n.s ? n.s < 0 ? 0 : n : NaN);
|
|
163894
163919
|
for (e == null ? (cr = !1, l = p) : l = e, s = new f(0.03125); n.e > -2; )
|
|
163895
163920
|
n = n.times(s), d += 5;
|
|
163896
|
-
for (i = Math.log(
|
|
163921
|
+
for (i = Math.log(gs(2, d)) / Math.LN10 * 2 + 5 | 0, l += i, t = a = o = new f(1), f.precision = l; ; ) {
|
|
163897
163922
|
if (a = Ui(a.times(n), l, 1), t = t.times(++u), s = o.plus(ja(a, t, l, 1)), al(s.d).slice(0, l) === al(o.d).slice(0, l)) {
|
|
163898
163923
|
for (r = d; r--; ) o = Ui(o.times(o), l, 1);
|
|
163899
163924
|
if (e == null)
|
|
@@ -163963,7 +163988,7 @@ function IEt(n, e) {
|
|
|
163963
163988
|
else
|
|
163964
163989
|
throw Error(bh + e);
|
|
163965
163990
|
for (a = e.search(/p/i), a > 0 ? (l = +e.slice(a + 1), e = e.substring(2, a)) : e = e.slice(2), a = e.indexOf("."), o = a >= 0, i = n.constructor, o && (e = e.replace(".", ""), s = e.length, a = s - a, r = she(i, new i(t), a, a * 2)), c = NS(e, t, id), u = c.length - 1, a = u; c[a] === 0; --a) c.pop();
|
|
163966
|
-
return a < 0 ? new i(n.s * 0) : (n.e = PT(c, u), n.d = c, cr = !1, o && (n = ja(n, r, s * 4)), l && (n = n.times(Math.abs(l) < 54 ?
|
|
163991
|
+
return a < 0 ? new i(n.s * 0) : (n.e = PT(c, u), n.d = c, cr = !1, o && (n = ja(n, r, s * 4)), l && (n = n.times(Math.abs(l) < 54 ? gs(2, l) : j2.pow(2, l))), cr = !0, n);
|
|
163967
163992
|
}
|
|
163968
163993
|
function REt(n, e) {
|
|
163969
163994
|
var t, i = e.d.length;
|
|
@@ -164224,7 +164249,7 @@ function cMt(n) {
|
|
|
164224
164249
|
} else
|
|
164225
164250
|
throw Error(ihe);
|
|
164226
164251
|
else for (; a < i; ) s[a++] = Math.random() * 1e7 | 0;
|
|
164227
|
-
for (i = s[--a], n %= Zi, i && n && (r =
|
|
164252
|
+
for (i = s[--a], n %= Zi, i && n && (r = gs(10, Zi - n), s[a] = (i / r | 0) * r); s[a] === 0; a--) s.pop();
|
|
164228
164253
|
if (a < 0)
|
|
164229
164254
|
t = 0, s = [0];
|
|
164230
164255
|
else {
|
|
@@ -164404,7 +164429,7 @@ const _Mt = {
|
|
|
164404
164429
|
}
|
|
164405
164430
|
h(T, C);
|
|
164406
164431
|
}, v = (b) => {
|
|
164407
|
-
if (!
|
|
164432
|
+
if (!Ss(o.conf)) return;
|
|
164408
164433
|
let _ = [], S = [];
|
|
164409
164434
|
const x = g5(b, o);
|
|
164410
164435
|
x.length && (_ = x.map((w) => {
|
|
@@ -164412,7 +164437,7 @@ const _Mt = {
|
|
|
164412
164437
|
return (A = w.value) != null ? A : "--";
|
|
164413
164438
|
}), S = x.map((w) => w.time), h(_, S), r == null || r.setOption(f(), !0));
|
|
164414
164439
|
}, m = (b) => {
|
|
164415
|
-
|
|
164440
|
+
Ss(o.conf);
|
|
164416
164441
|
}, g = {
|
|
164417
164442
|
unregister: () => yv(o, e.value)
|
|
164418
164443
|
};
|
|
@@ -164479,7 +164504,7 @@ const _Mt = {
|
|
|
164479
164504
|
theme: { type: String, default: "light" }
|
|
164480
164505
|
},
|
|
164481
164506
|
setup(n) {
|
|
164482
|
-
Jn([
|
|
164507
|
+
Jn([fs, yo, wa, go, va, vc]);
|
|
164483
164508
|
const e = fe(ca("session", null)), t = "indasslin_" + Math.random().toString(16).substring(4, 12);
|
|
164484
164509
|
let i = null, r = null;
|
|
164485
164510
|
const a = n;
|
|
@@ -164511,7 +164536,7 @@ const _Mt = {
|
|
|
164511
164536
|
const s = new o(a, "linIndass");
|
|
164512
164537
|
s.setupLifecycle();
|
|
164513
164538
|
const l = s.getStyle(), c = de(() => xi(a.conf.options)), u = () => {
|
|
164514
|
-
const { conf: b } = a, _ =
|
|
164539
|
+
const { conf: b } = a, _ = Ss(b);
|
|
164515
164540
|
var S = {
|
|
164516
164541
|
tooltip: {
|
|
164517
164542
|
trigger: "axis",
|
|
@@ -164561,7 +164586,7 @@ const _Mt = {
|
|
|
164561
164586
|
const { conf: b } = a;
|
|
164562
164587
|
return b.data.map((_) => _.name);
|
|
164563
164588
|
}, f = () => {
|
|
164564
|
-
const { conf: b } = a, _ =
|
|
164589
|
+
const { conf: b } = a, _ = Ss(b);
|
|
164565
164590
|
let S = [];
|
|
164566
164591
|
return b.data.forEach((x, w) => {
|
|
164567
164592
|
let A = x.color || Ml[w];
|
|
@@ -164619,7 +164644,7 @@ const _Mt = {
|
|
|
164619
164644
|
};
|
|
164620
164645
|
return _;
|
|
164621
164646
|
}, v = (b) => {
|
|
164622
|
-
if (!
|
|
164647
|
+
if (!Ss(a.conf)) return;
|
|
164623
164648
|
const _ = DT(b, a);
|
|
164624
164649
|
if (!_.length) return;
|
|
164625
164650
|
const S = [], x = [];
|
|
@@ -164635,7 +164660,7 @@ const _Mt = {
|
|
|
164635
164660
|
A.data = x[T];
|
|
164636
164661
|
}), i == null || i.setOption(w));
|
|
164637
164662
|
}, m = (b) => {
|
|
164638
|
-
|
|
164663
|
+
Ss(a.conf);
|
|
164639
164664
|
}, g = {
|
|
164640
164665
|
unregister: () => yv(a, e.value)
|
|
164641
164666
|
};
|
|
@@ -164818,7 +164843,7 @@ const _Mt = {
|
|
|
164818
164843
|
return A;
|
|
164819
164844
|
}, p = () => {
|
|
164820
164845
|
var w;
|
|
164821
|
-
const S =
|
|
164846
|
+
const S = Ss(s.conf);
|
|
164822
164847
|
let x = (w = d.value.points) != null ? w : 30;
|
|
164823
164848
|
l.area = [
|
|
164824
164849
|
[
|
|
@@ -164856,7 +164881,7 @@ const _Mt = {
|
|
|
164856
164881
|
return w.filter((M) => !T[M]).reduce((M, I) => (M.length === 0 || I - M[M.length - 1][1] > 1 ? M.push([I, I]) : M[M.length - 1][1] = I, M), []);
|
|
164857
164882
|
}, m = (S) => {
|
|
164858
164883
|
var C, E, M, I, P;
|
|
164859
|
-
if (!
|
|
164884
|
+
if (!Ss(s.conf)) return;
|
|
164860
164885
|
const x = g5(S, s);
|
|
164861
164886
|
if (Array.isArray(S == null ? void 0 : S.times) && Array.isArray(S == null ? void 0 : S.data))
|
|
164862
164887
|
l.times = S.times, l.data = S.data;
|
|
@@ -164917,7 +164942,7 @@ const _Mt = {
|
|
|
164917
164942
|
}
|
|
164918
164943
|
return w;
|
|
164919
164944
|
}, y = (S) => {
|
|
164920
|
-
|
|
164945
|
+
Ss(s.conf);
|
|
164921
164946
|
}, b = {
|
|
164922
164947
|
unregister: () => yv(s, e.value)
|
|
164923
164948
|
};
|
|
@@ -166070,7 +166095,7 @@ const $Mt = /* @__PURE__ */ Pf(QMt), eLt = {
|
|
|
166070
166095
|
]
|
|
166071
166096
|
};
|
|
166072
166097
|
}, h = () => {
|
|
166073
|
-
const _ =
|
|
166098
|
+
const _ = Ss(o.conf);
|
|
166074
166099
|
s = [];
|
|
166075
166100
|
let S = [];
|
|
166076
166101
|
const { options: x } = o.conf;
|
|
@@ -166112,7 +166137,7 @@ const $Mt = /* @__PURE__ */ Pf(QMt), eLt = {
|
|
|
166112
166137
|
style: S.style({ stroke: "#555", lineWidth: 1 })
|
|
166113
166138
|
};
|
|
166114
166139
|
}, m = (_) => {
|
|
166115
|
-
if (!
|
|
166140
|
+
if (!Ss(o.conf)) return;
|
|
166116
166141
|
let S = [];
|
|
166117
166142
|
const x = g5(_, o);
|
|
166118
166143
|
x.length && (x.forEach((w) => {
|
|
@@ -166120,7 +166145,7 @@ const $Mt = /* @__PURE__ */ Pf(QMt), eLt = {
|
|
|
166120
166145
|
S.push([w.time, (A = w.value) != null ? A : 0]);
|
|
166121
166146
|
}), s = p(S), r == null || r.setOption(f()));
|
|
166122
166147
|
}, g = (_) => {
|
|
166123
|
-
|
|
166148
|
+
Ss(o.conf);
|
|
166124
166149
|
}, y = {
|
|
166125
166150
|
unregister: () => yv(o, e.value)
|
|
166126
166151
|
};
|
|
@@ -167392,7 +167417,7 @@ class ODt {
|
|
|
167392
167417
|
if (this.animFrameId = requestAnimationFrame(this.animate), this.controls.update(), !this.needsUpdate) return;
|
|
167393
167418
|
const i = this.camera.position.clone().sub(this.controls.target);
|
|
167394
167419
|
this.dynamicLight.position.copy(i), this.renderer.render(this.scene, this.camera), this.labelRenderer.render(this.scene, this.camera), this.needsUpdate = !1;
|
|
167395
|
-
}, Ja.DEFAULT_UP.set(0, 0, 1), this.scene = new sy(), this.camera = new
|
|
167420
|
+
}, Ja.DEFAULT_UP.set(0, 0, 1), this.scene = new sy(), this.camera = new Vs(50, e.clientWidth / Math.max(e.clientHeight, 1), 0.1, 1e5), this.camera.position.set(500, -500, 500), this.camera.up.set(0, 0, 1), this.renderer = new oy({ antialias: !0, alpha: !0 }), this.renderer.setPixelRatio(window.devicePixelRatio), this.renderer.setSize(e.clientWidth, e.clientHeight), e.appendChild(this.renderer.domElement), this.labelRenderer = new nU(), this.labelRenderer.setSize(e.clientWidth, e.clientHeight), this.labelRenderer.domElement.style.position = "absolute", this.labelRenderer.domElement.style.top = "0", this.labelRenderer.domElement.style.left = "0", this.labelRenderer.domElement.style.pointerEvents = "none", this.labelRenderer.domElement.style.overflow = "visible", e.appendChild(this.labelRenderer.domElement), this.controls = new TT(this.camera, this.renderer.domElement), this.controls.enableDamping = !1, this.controls.mouseButtons = { LEFT: e1.ROTATE, MIDDLE: e1.PAN, RIGHT: e1.PAN }, this.controls.addEventListener("change", () => {
|
|
167396
167421
|
this.updateCameraNearFar(), this.needsUpdate = !0;
|
|
167397
167422
|
});
|
|
167398
167423
|
const t = new x4(8947848, 4);
|
|
@@ -169556,7 +169581,7 @@ const XDt = { class: "geo-dialog-box" }, ZDt = { class: "geo-dialog-header" }, q
|
|
|
169556
169581
|
const { data: B, common: W } = this.props.conf;
|
|
169557
169582
|
if (!B.some((q) => q.object_id && q.fv)) return;
|
|
169558
169583
|
const U = (W == null ? void 0 : W.source) || "mosaic";
|
|
169559
|
-
["statistics", "calculate"].includes(U) && (z =
|
|
169584
|
+
["statistics", "calculate"].includes(U) && (z = ds(z, B));
|
|
169560
169585
|
let Y = Ol(z, this.props, "history");
|
|
169561
169586
|
B.forEach((q, X) => {
|
|
169562
169587
|
var le;
|
|
@@ -170234,7 +170259,7 @@ const XDt = { class: "geo-dialog-box" }, ZDt = { class: "geo-dialog-header" }, q
|
|
|
170234
170259
|
theme: { type: String, default: "light" }
|
|
170235
170260
|
},
|
|
170236
170261
|
setup(n) {
|
|
170237
|
-
Jn([
|
|
170262
|
+
Jn([fs, wa, va, rT]);
|
|
170238
170263
|
const e = n;
|
|
170239
170264
|
class t extends Ki {
|
|
170240
170265
|
extractStyles() {
|
|
@@ -170550,7 +170575,7 @@ const XDt = { class: "geo-dialog-box" }, ZDt = { class: "geo-dialog-header" }, q
|
|
|
170550
170575
|
theme: { type: String, default: "light" }
|
|
170551
170576
|
},
|
|
170552
170577
|
setup(n) {
|
|
170553
|
-
Jn([iT,
|
|
170578
|
+
Jn([iT, fs, Fh, zh, yo, wa, go, va, vc]);
|
|
170554
170579
|
const e = n;
|
|
170555
170580
|
class t extends Ki {
|
|
170556
170581
|
constructor() {
|
|
@@ -170703,7 +170728,7 @@ const XDt = { class: "geo-dialog-box" }, ZDt = { class: "geo-dialog-header" }, q
|
|
|
170703
170728
|
},
|
|
170704
170729
|
setup(n) {
|
|
170705
170730
|
Jn([
|
|
170706
|
-
|
|
170731
|
+
fs,
|
|
170707
170732
|
Fh,
|
|
170708
170733
|
zh,
|
|
170709
170734
|
yo,
|
|
@@ -170960,7 +170985,7 @@ const XDt = { class: "geo-dialog-box" }, ZDt = { class: "geo-dialog-header" }, q
|
|
|
170960
170985
|
setup(n) {
|
|
170961
170986
|
Jn([
|
|
170962
170987
|
iT,
|
|
170963
|
-
|
|
170988
|
+
fs,
|
|
170964
170989
|
yo,
|
|
170965
170990
|
wa,
|
|
170966
170991
|
go,
|
|
@@ -171221,7 +171246,7 @@ ${f}`;
|
|
|
171221
171246
|
theme: { type: String, default: "light" }
|
|
171222
171247
|
},
|
|
171223
171248
|
setup(n) {
|
|
171224
|
-
Jn([
|
|
171249
|
+
Jn([fs, yo, wa, go, va, vc]);
|
|
171225
171250
|
const e = n;
|
|
171226
171251
|
class t extends Ki {
|
|
171227
171252
|
constructor() {
|
|
@@ -174828,7 +174853,7 @@ const QNt = "FeatureCollection", $Nt = /* @__PURE__ */ JSON.parse('[{"type":"Fea
|
|
|
174828
174853
|
theme: { type: String, default: "light" }
|
|
174829
174854
|
},
|
|
174830
174855
|
setup(n) {
|
|
174831
|
-
Jn([
|
|
174856
|
+
Jn([fs, yo, wa, va, oB, B1e, MB]);
|
|
174832
174857
|
const e = n, t = fe([]);
|
|
174833
174858
|
class i extends Ki {
|
|
174834
174859
|
extractStyles() {
|
|
@@ -177318,7 +177343,7 @@ const QNt = "FeatureCollection", $Nt = /* @__PURE__ */ JSON.parse('[{"type":"Fea
|
|
|
177318
177343
|
var Y, q, X, le, ie, re, ae, Q;
|
|
177319
177344
|
const k = e.conf, F = (k == null ? void 0 : k.data) || [], z = (k == null ? void 0 : k.common) || {}, B = (z == null ? void 0 : z.source) || "mosaic";
|
|
177320
177345
|
let W = D;
|
|
177321
|
-
["statistics", "calculate"].includes(B) && (W =
|
|
177346
|
+
["statistics", "calculate"].includes(B) && (W = ds(W, F));
|
|
177322
177347
|
const H = F || [], U = [];
|
|
177323
177348
|
if ((Y = W == null ? void 0 : W.history) != null && Y.length)
|
|
177324
177349
|
W.history.forEach((se, te) => {
|
|
@@ -177553,7 +177578,7 @@ const QNt = "FeatureCollection", $Nt = /* @__PURE__ */ JSON.parse('[{"type":"Fea
|
|
|
177553
177578
|
var A, T, C, E;
|
|
177554
177579
|
const m = e.conf, g = (m == null ? void 0 : m.data) || [], y = (m == null ? void 0 : m.common) || {}, b = (y == null ? void 0 : y.source) || "mosaic";
|
|
177555
177580
|
let _ = v;
|
|
177556
|
-
if (["statistics", "calculate"].includes(b) && (_ =
|
|
177581
|
+
if (["statistics", "calculate"].includes(b) && (_ = ds(_, g)), (A = _ == null ? void 0 : _.history) != null && A.length) {
|
|
177557
177582
|
const M = _.history.map((P) => (P == null ? void 0 : P[0]) || P || {}), I = f(M);
|
|
177558
177583
|
I.length && (s.value = I);
|
|
177559
177584
|
return;
|
|
@@ -179772,11 +179797,11 @@ li.transpose = function(n, e) {
|
|
|
179772
179797
|
li.translate = function(n, e, t) {
|
|
179773
179798
|
return Rn.translate(n.array, e.array, t.array), n._dirty = !0, n;
|
|
179774
179799
|
};
|
|
179775
|
-
var u2 = Ft.set, hx = Ft.copy,
|
|
179800
|
+
var u2 = Ft.set, hx = Ft.copy, Hs = function(n, e) {
|
|
179776
179801
|
this.min = n || new Sn(1 / 0, 1 / 0, 1 / 0), this.max = e || new Sn(-1 / 0, -1 / 0, -1 / 0), this.vertices = null;
|
|
179777
179802
|
};
|
|
179778
|
-
|
|
179779
|
-
constructor:
|
|
179803
|
+
Hs.prototype = {
|
|
179804
|
+
constructor: Hs,
|
|
179780
179805
|
/**
|
|
179781
179806
|
* Update min and max coords from a vertices array
|
|
179782
179807
|
* @param {array} vertices
|
|
@@ -179899,7 +179924,7 @@ js.prototype = {
|
|
|
179899
179924
|
* @return {clay.BoundingBox}
|
|
179900
179925
|
*/
|
|
179901
179926
|
clone: function() {
|
|
179902
|
-
var n = new
|
|
179927
|
+
var n = new Hs();
|
|
179903
179928
|
return n.copy(this), n;
|
|
179904
179929
|
}
|
|
179905
179930
|
};
|
|
@@ -180261,9 +180286,9 @@ var IBt = 0, o0 = Ws.extend(
|
|
|
180261
180286
|
function n(r) {
|
|
180262
180287
|
return !r.invisible && r.geometry;
|
|
180263
180288
|
}
|
|
180264
|
-
var e = new
|
|
180289
|
+
var e = new Hs(), t = new li(), i = new li();
|
|
180265
180290
|
return function(r, a) {
|
|
180266
|
-
return a = a || new
|
|
180291
|
+
return a = a || new Hs(), this._parent ? li.invert(i, this._parent.worldTransform) : li.identity(i), this.traverse(function(o) {
|
|
180267
180292
|
o.geometry && o.geometry.boundingBox && (e.copy(o.geometry.boundingBox), li.multiply(t, i, o.worldTransform), e.applyTransform(t), a.union(e));
|
|
180268
180293
|
}, this, n), a;
|
|
180269
180294
|
};
|
|
@@ -180535,7 +180560,7 @@ fc.FRONT = On.FRONT;
|
|
|
180535
180560
|
fc.FRONT_AND_BACK = On.FRONT_AND_BACK;
|
|
180536
180561
|
fc.CW = On.CW;
|
|
180537
180562
|
fc.CCW = On.CCW;
|
|
180538
|
-
var
|
|
180563
|
+
var As = fc.extend(
|
|
180539
180564
|
/** @lends clay.Mesh# */
|
|
180540
180565
|
{
|
|
180541
180566
|
/**
|
|
@@ -180570,18 +180595,18 @@ var Cs = fc.extend(
|
|
|
180570
180595
|
}
|
|
180571
180596
|
}
|
|
180572
180597
|
);
|
|
180573
|
-
|
|
180574
|
-
|
|
180575
|
-
|
|
180576
|
-
|
|
180577
|
-
|
|
180578
|
-
|
|
180579
|
-
|
|
180580
|
-
|
|
180581
|
-
|
|
180582
|
-
|
|
180583
|
-
|
|
180584
|
-
|
|
180598
|
+
As.POINTS = On.POINTS;
|
|
180599
|
+
As.LINES = On.LINES;
|
|
180600
|
+
As.LINE_LOOP = On.LINE_LOOP;
|
|
180601
|
+
As.LINE_STRIP = On.LINE_STRIP;
|
|
180602
|
+
As.TRIANGLES = On.TRIANGLES;
|
|
180603
|
+
As.TRIANGLE_STRIP = On.TRIANGLE_STRIP;
|
|
180604
|
+
As.TRIANGLE_FAN = On.TRIANGLE_FAN;
|
|
180605
|
+
As.BACK = On.BACK;
|
|
180606
|
+
As.FRONT = On.FRONT;
|
|
180607
|
+
As.FRONT_AND_BACK = On.FRONT_AND_BACK;
|
|
180608
|
+
As.CW = On.CW;
|
|
180609
|
+
As.CCW = On.CCW;
|
|
180585
180610
|
var Rte = [
|
|
180586
180611
|
"OES_texture_float",
|
|
180587
180612
|
"OES_texture_half_float",
|
|
@@ -180677,36 +180702,36 @@ qr.addEventListener = function(n, e, t, i) {
|
|
|
180677
180702
|
qr.removeEventListener = function(n, e, t) {
|
|
180678
180703
|
n.removeEventListener(e, t);
|
|
180679
180704
|
};
|
|
180680
|
-
var
|
|
180705
|
+
var Ps = function() {
|
|
180681
180706
|
this.head = null, this.tail = null, this._length = 0;
|
|
180682
180707
|
};
|
|
180683
|
-
|
|
180684
|
-
var e = new
|
|
180708
|
+
Ps.prototype.insert = function(n) {
|
|
180709
|
+
var e = new Ps.Entry(n);
|
|
180685
180710
|
return this.insertEntry(e), e;
|
|
180686
180711
|
};
|
|
180687
|
-
|
|
180712
|
+
Ps.prototype.insertAt = function(n, e) {
|
|
180688
180713
|
if (!(n < 0)) {
|
|
180689
180714
|
for (var t = this.head, i = 0; t && i != n; )
|
|
180690
180715
|
t = t.next, i++;
|
|
180691
180716
|
if (t) {
|
|
180692
|
-
var r = new
|
|
180717
|
+
var r = new Ps.Entry(e), a = t.prev;
|
|
180693
180718
|
a ? (a.next = r, r.prev = a) : this.head = r, r.next = t, t.prev = r;
|
|
180694
180719
|
} else
|
|
180695
180720
|
this.insert(e);
|
|
180696
180721
|
}
|
|
180697
180722
|
};
|
|
180698
|
-
|
|
180699
|
-
var t = new
|
|
180723
|
+
Ps.prototype.insertBeforeEntry = function(n, e) {
|
|
180724
|
+
var t = new Ps.Entry(n), i = e.prev;
|
|
180700
180725
|
i ? (i.next = t, t.prev = i) : this.head = t, t.next = e, e.prev = t, this._length++;
|
|
180701
180726
|
};
|
|
180702
|
-
|
|
180727
|
+
Ps.prototype.insertEntry = function(n) {
|
|
180703
180728
|
this.head ? (this.tail.next = n, n.prev = this.tail, this.tail = n) : this.head = this.tail = n, this._length++;
|
|
180704
180729
|
};
|
|
180705
|
-
|
|
180730
|
+
Ps.prototype.remove = function(n) {
|
|
180706
180731
|
var e = n.prev, t = n.next;
|
|
180707
180732
|
e ? e.next = t : this.head = t, t ? t.prev = e : this.tail = e, n.next = n.prev = null, this._length--;
|
|
180708
180733
|
};
|
|
180709
|
-
|
|
180734
|
+
Ps.prototype.removeAt = function(n) {
|
|
180710
180735
|
if (!(n < 0)) {
|
|
180711
180736
|
for (var e = this.head, t = 0; e && t != n; )
|
|
180712
180737
|
e = e.next, t++;
|
|
@@ -180714,46 +180739,46 @@ Is.prototype.removeAt = function(n) {
|
|
|
180714
180739
|
return this.remove(e), e.value;
|
|
180715
180740
|
}
|
|
180716
180741
|
};
|
|
180717
|
-
|
|
180742
|
+
Ps.prototype.getHead = function() {
|
|
180718
180743
|
if (this.head)
|
|
180719
180744
|
return this.head.value;
|
|
180720
180745
|
};
|
|
180721
|
-
|
|
180746
|
+
Ps.prototype.getTail = function() {
|
|
180722
180747
|
if (this.tail)
|
|
180723
180748
|
return this.tail.value;
|
|
180724
180749
|
};
|
|
180725
|
-
|
|
180750
|
+
Ps.prototype.getAt = function(n) {
|
|
180726
180751
|
if (!(n < 0)) {
|
|
180727
180752
|
for (var e = this.head, t = 0; e && t != n; )
|
|
180728
180753
|
e = e.next, t++;
|
|
180729
180754
|
return e.value;
|
|
180730
180755
|
}
|
|
180731
180756
|
};
|
|
180732
|
-
|
|
180757
|
+
Ps.prototype.indexOf = function(n) {
|
|
180733
180758
|
for (var e = this.head, t = 0; e; ) {
|
|
180734
180759
|
if (e.value === n)
|
|
180735
180760
|
return t;
|
|
180736
180761
|
e = e.next, t++;
|
|
180737
180762
|
}
|
|
180738
180763
|
};
|
|
180739
|
-
|
|
180764
|
+
Ps.prototype.length = function() {
|
|
180740
180765
|
return this._length;
|
|
180741
180766
|
};
|
|
180742
|
-
|
|
180767
|
+
Ps.prototype.isEmpty = function() {
|
|
180743
180768
|
return this._length === 0;
|
|
180744
180769
|
};
|
|
180745
|
-
|
|
180770
|
+
Ps.prototype.forEach = function(n, e) {
|
|
180746
180771
|
for (var t = this.head, i = 0, r = typeof e != "undefined"; t; )
|
|
180747
180772
|
r ? n.call(e, t.value, i) : n(t.value, i), t = t.next, i++;
|
|
180748
180773
|
};
|
|
180749
|
-
|
|
180774
|
+
Ps.prototype.clear = function() {
|
|
180750
180775
|
this.tail = this.head = null, this._length = 0;
|
|
180751
180776
|
};
|
|
180752
|
-
|
|
180777
|
+
Ps.Entry = function(n) {
|
|
180753
180778
|
this.value = n, this.next = null, this.prev = null;
|
|
180754
180779
|
};
|
|
180755
180780
|
var Ov = function(n) {
|
|
180756
|
-
this._list = new
|
|
180781
|
+
this._list = new Ps(), this._map = {}, this._maxSize = n || 10;
|
|
180757
180782
|
};
|
|
180758
180783
|
Ov.prototype.setMaxSize = function(n) {
|
|
180759
180784
|
this._maxSize = n;
|
|
@@ -184126,7 +184151,7 @@ var Xl = Ft.create, Xm = Ft.add, jp = Ft.set, Bd = hc.Attribute, _r = hc.extend(
|
|
|
184126
184151
|
*/
|
|
184127
184152
|
updateBoundingBox: function() {
|
|
184128
184153
|
var n = this.boundingBox;
|
|
184129
|
-
n || (n = this.boundingBox = new
|
|
184154
|
+
n || (n = this.boundingBox = new Hs());
|
|
184130
184155
|
var e = this.attributes.position.value;
|
|
184131
184156
|
if (e && e.length) {
|
|
184132
184157
|
var t = n.min, i = n.max, r = t.array, a = i.array;
|
|
@@ -184302,38 +184327,38 @@ const rVt = `vec3 calcAmbientSHLight(int idx, vec3 N) {
|
|
|
184302
184327
|
+ ambientSHLightCoefficients[7] * (3.0 * N.z * N.z - 1.0)
|
|
184303
184328
|
+ ambientSHLightCoefficients[8] * (N.x * N.x - N.y * N.y);
|
|
184304
184329
|
}`;
|
|
184305
|
-
var k1 = "uniform vec3 ", R9 = "uniform float ", Zm = "@export clay.header.", qm = "@end",
|
|
184330
|
+
var k1 = "uniform vec3 ", R9 = "uniform float ", Zm = "@export clay.header.", qm = "@end", zs = ":unconfigurable;";
|
|
184306
184331
|
const aVt = [
|
|
184307
184332
|
Zm + "directional_light",
|
|
184308
|
-
k1 + "directionalLightDirection[DIRECTIONAL_LIGHT_COUNT]" +
|
|
184309
|
-
k1 + "directionalLightColor[DIRECTIONAL_LIGHT_COUNT]" +
|
|
184333
|
+
k1 + "directionalLightDirection[DIRECTIONAL_LIGHT_COUNT]" + zs,
|
|
184334
|
+
k1 + "directionalLightColor[DIRECTIONAL_LIGHT_COUNT]" + zs,
|
|
184310
184335
|
qm,
|
|
184311
184336
|
Zm + "ambient_light",
|
|
184312
|
-
k1 + "ambientLightColor[AMBIENT_LIGHT_COUNT]" +
|
|
184337
|
+
k1 + "ambientLightColor[AMBIENT_LIGHT_COUNT]" + zs,
|
|
184313
184338
|
qm,
|
|
184314
184339
|
Zm + "ambient_sh_light",
|
|
184315
|
-
k1 + "ambientSHLightColor[AMBIENT_SH_LIGHT_COUNT]" +
|
|
184316
|
-
k1 + "ambientSHLightCoefficients[AMBIENT_SH_LIGHT_COUNT * 9]" +
|
|
184340
|
+
k1 + "ambientSHLightColor[AMBIENT_SH_LIGHT_COUNT]" + zs,
|
|
184341
|
+
k1 + "ambientSHLightCoefficients[AMBIENT_SH_LIGHT_COUNT * 9]" + zs,
|
|
184317
184342
|
rVt,
|
|
184318
184343
|
qm,
|
|
184319
184344
|
Zm + "ambient_cubemap_light",
|
|
184320
|
-
k1 + "ambientCubemapLightColor[AMBIENT_CUBEMAP_LIGHT_COUNT]" +
|
|
184321
|
-
"uniform samplerCube ambientCubemapLightCubemap[AMBIENT_CUBEMAP_LIGHT_COUNT]" +
|
|
184322
|
-
"uniform sampler2D ambientCubemapLightBRDFLookup[AMBIENT_CUBEMAP_LIGHT_COUNT]" +
|
|
184345
|
+
k1 + "ambientCubemapLightColor[AMBIENT_CUBEMAP_LIGHT_COUNT]" + zs,
|
|
184346
|
+
"uniform samplerCube ambientCubemapLightCubemap[AMBIENT_CUBEMAP_LIGHT_COUNT]" + zs,
|
|
184347
|
+
"uniform sampler2D ambientCubemapLightBRDFLookup[AMBIENT_CUBEMAP_LIGHT_COUNT]" + zs,
|
|
184323
184348
|
qm,
|
|
184324
184349
|
Zm + "point_light",
|
|
184325
|
-
k1 + "pointLightPosition[POINT_LIGHT_COUNT]" +
|
|
184326
|
-
R9 + "pointLightRange[POINT_LIGHT_COUNT]" +
|
|
184327
|
-
k1 + "pointLightColor[POINT_LIGHT_COUNT]" +
|
|
184350
|
+
k1 + "pointLightPosition[POINT_LIGHT_COUNT]" + zs,
|
|
184351
|
+
R9 + "pointLightRange[POINT_LIGHT_COUNT]" + zs,
|
|
184352
|
+
k1 + "pointLightColor[POINT_LIGHT_COUNT]" + zs,
|
|
184328
184353
|
qm,
|
|
184329
184354
|
Zm + "spot_light",
|
|
184330
|
-
k1 + "spotLightPosition[SPOT_LIGHT_COUNT]" +
|
|
184331
|
-
k1 + "spotLightDirection[SPOT_LIGHT_COUNT]" +
|
|
184332
|
-
R9 + "spotLightRange[SPOT_LIGHT_COUNT]" +
|
|
184333
|
-
R9 + "spotLightUmbraAngleCosine[SPOT_LIGHT_COUNT]" +
|
|
184334
|
-
R9 + "spotLightPenumbraAngleCosine[SPOT_LIGHT_COUNT]" +
|
|
184335
|
-
R9 + "spotLightFalloffFactor[SPOT_LIGHT_COUNT]" +
|
|
184336
|
-
k1 + "spotLightColor[SPOT_LIGHT_COUNT]" +
|
|
184355
|
+
k1 + "spotLightPosition[SPOT_LIGHT_COUNT]" + zs,
|
|
184356
|
+
k1 + "spotLightDirection[SPOT_LIGHT_COUNT]" + zs,
|
|
184357
|
+
R9 + "spotLightRange[SPOT_LIGHT_COUNT]" + zs,
|
|
184358
|
+
R9 + "spotLightUmbraAngleCosine[SPOT_LIGHT_COUNT]" + zs,
|
|
184359
|
+
R9 + "spotLightPenumbraAngleCosine[SPOT_LIGHT_COUNT]" + zs,
|
|
184360
|
+
R9 + "spotLightFalloffFactor[SPOT_LIGHT_COUNT]" + zs,
|
|
184361
|
+
k1 + "spotLightColor[SPOT_LIGHT_COUNT]" + zs,
|
|
184337
184362
|
qm
|
|
184338
184363
|
].join(`
|
|
184339
184364
|
`);
|
|
@@ -184487,7 +184512,7 @@ var Lo = Ft.set, nne = Ft.copy, ine = Ft.transformMat4, KO = Math.min, JO = Math
|
|
|
184487
184512
|
this.planes = [];
|
|
184488
184513
|
for (var n = 0; n < 6; n++)
|
|
184489
184514
|
this.planes.push(new Z8());
|
|
184490
|
-
this.boundingBox = new
|
|
184515
|
+
this.boundingBox = new Hs(), this.vertices = [];
|
|
184491
184516
|
for (var n = 0; n < 8; n++)
|
|
184492
184517
|
this.vertices[n] = Ft.fromValues(0, 0, 0);
|
|
184493
184518
|
};
|
|
@@ -184786,7 +184811,7 @@ var Yh = o0.extend(
|
|
|
184786
184811
|
*
|
|
184787
184812
|
* @type {clay.BoundingBox}
|
|
184788
184813
|
*/
|
|
184789
|
-
viewBoundingBoxLastFrame: new
|
|
184814
|
+
viewBoundingBoxLastFrame: new Hs(),
|
|
184790
184815
|
// Uniforms for shadow map.
|
|
184791
184816
|
shadowUniforms: {},
|
|
184792
184817
|
_cameraList: [],
|
|
@@ -184928,7 +184953,7 @@ var Yh = o0.extend(
|
|
|
184928
184953
|
* @param {Array.<number>} projectionMat represented with array
|
|
184929
184954
|
*/
|
|
184930
184955
|
isFrustumCulled: (function() {
|
|
184931
|
-
var n = new
|
|
184956
|
+
var n = new Hs(), e = new li();
|
|
184932
184957
|
return function(t, i, r) {
|
|
184933
184958
|
var a = t.boundingBox;
|
|
184934
184959
|
if (a || (t.skeleton && t.skeleton.boundingBox ? a = t.skeleton.boundingBox : a = t.geometry.boundingBox), !a)
|
|
@@ -185223,7 +185248,7 @@ Object.defineProperty(ov.prototype, "height", {
|
|
|
185223
185248
|
function Km(n) {
|
|
185224
185249
|
return n.width > 0 && n.height > 0;
|
|
185225
185250
|
}
|
|
185226
|
-
var
|
|
185251
|
+
var ys = M4.extend(
|
|
185227
185252
|
/** @lends clay.camera.Perspective# */
|
|
185228
185253
|
{
|
|
185229
185254
|
/**
|
|
@@ -185485,12 +185510,12 @@ var dVt = ["px", "nx", "py", "ny", "pz", "nz"], TU = Ws.extend(
|
|
|
185485
185510
|
shadowMapPass: null
|
|
185486
185511
|
}
|
|
185487
185512
|
), e = n._cameras = {
|
|
185488
|
-
px: new
|
|
185489
|
-
nx: new
|
|
185490
|
-
py: new
|
|
185491
|
-
ny: new
|
|
185492
|
-
pz: new
|
|
185493
|
-
nz: new
|
|
185513
|
+
px: new ys({ fov: 90 }),
|
|
185514
|
+
nx: new ys({ fov: 90 }),
|
|
185515
|
+
py: new ys({ fov: 90 }),
|
|
185516
|
+
ny: new ys({ fov: 90 }),
|
|
185517
|
+
pz: new ys({ fov: 90 }),
|
|
185518
|
+
nz: new ys({ fov: 90 })
|
|
185494
185519
|
};
|
|
185495
185520
|
return e.px.lookAt(Sn.POSITIVE_X, Sn.NEGATIVE_Y), e.nx.lookAt(Sn.NEGATIVE_X, Sn.NEGATIVE_Y), e.py.lookAt(Sn.POSITIVE_Y, Sn.POSITIVE_Z), e.ny.lookAt(Sn.NEGATIVE_Y, Sn.NEGATIVE_Z), e.pz.lookAt(Sn.POSITIVE_Z, Sn.NEGATIVE_Y), e.nz.lookAt(Sn.NEGATIVE_Z, Sn.NEGATIVE_Y), n._frameBuffer = new Bo(), n;
|
|
185496
185521
|
},
|
|
@@ -185562,7 +185587,7 @@ var dVt = ["px", "nx", "py", "ny", "pz", "nz"], TU = Ws.extend(
|
|
|
185562
185587
|
o.push([d, d + 1, d + e + 1]), o.push([d + e + 1, d + 1, d + e + 2]);
|
|
185563
185588
|
}
|
|
185564
185589
|
}
|
|
185565
|
-
t.position.fromArray(i), t.texcoord0.fromArray(r), t.normal.fromArray(a), this.initIndicesFromArray(o), this.boundingBox = new
|
|
185590
|
+
t.position.fromArray(i), t.texcoord0.fromArray(r), t.normal.fromArray(a), this.initIndicesFromArray(o), this.boundingBox = new Hs(), this.boundingBox.min.set(-1, -1, 0), this.boundingBox.max.set(1, 1, 0);
|
|
185566
185591
|
}
|
|
185567
185592
|
}
|
|
185568
185593
|
), so = new li(), Jhe = _r.extend(
|
|
@@ -185619,7 +185644,7 @@ var dVt = ["px", "nx", "py", "ny", "pz", "nz"], TU = Ws.extend(
|
|
|
185619
185644
|
this.indices[h + o] = s + l.indices[this.inside ? v - h - 1 : h];
|
|
185620
185645
|
o += l.indices.length, s += l.vertexCount;
|
|
185621
185646
|
}
|
|
185622
|
-
this.boundingBox = new
|
|
185647
|
+
this.boundingBox = new Hs(), this.boundingBox.max.set(1, 1, 1), this.boundingBox.min.set(-1, -1, -1);
|
|
185623
185648
|
}
|
|
185624
185649
|
}
|
|
185625
185650
|
);
|
|
@@ -185705,7 +185730,7 @@ void main()
|
|
|
185705
185730
|
}
|
|
185706
185731
|
@end`;
|
|
185707
185732
|
ti.import(fVt);
|
|
185708
|
-
var t7 =
|
|
185733
|
+
var t7 = As.extend(
|
|
185709
185734
|
function() {
|
|
185710
185735
|
var n = new ti({
|
|
185711
185736
|
vertex: ti.source("clay.skybox.vertex"),
|
|
@@ -185724,7 +185749,7 @@ var t7 = Cs.extend(
|
|
|
185724
185749
|
material: e,
|
|
185725
185750
|
environmentMap: null,
|
|
185726
185751
|
culling: !1,
|
|
185727
|
-
_dummyCamera: new
|
|
185752
|
+
_dummyCamera: new ys()
|
|
185728
185753
|
};
|
|
185729
185754
|
},
|
|
185730
185755
|
function() {
|
|
@@ -186222,7 +186247,7 @@ void main()
|
|
|
186222
186247
|
}
|
|
186223
186248
|
@end`;
|
|
186224
186249
|
ti.import(zVt);
|
|
186225
|
-
var BVt = new NT(), lne = new
|
|
186250
|
+
var BVt = new NT(), lne = new As({
|
|
186226
186251
|
geometry: BVt,
|
|
186227
186252
|
frustumCulling: !1
|
|
186228
186253
|
}), VVt = new L4(), qo = Ws.extend(
|
|
@@ -186786,7 +186811,7 @@ var hr = {
|
|
|
186786
186811
|
for (p = 0; p < n; p++)
|
|
186787
186812
|
for (h = 0; h < e; h++)
|
|
186788
186813
|
T = p * M + h, A = p * M + h + 1, E = (p + 1) * M + h + 1, C = (p + 1) * M + h, s[I++] = A, s[I++] = T, s[I++] = E, s[I++] = T, s[I++] = C, s[I++] = E;
|
|
186789
|
-
this.boundingBox = new
|
|
186814
|
+
this.boundingBox = new Hs(), this.boundingBox.max.set(b, b, b), this.boundingBox.min.set(-b, -b, -b);
|
|
186790
186815
|
}
|
|
186791
186816
|
}
|
|
186792
186817
|
), qVt = dd.extend({
|
|
@@ -190205,7 +190230,7 @@ t1.prototype.setTextureImage = function(n, e, t, i) {
|
|
|
190205
190230
|
var mt = {};
|
|
190206
190231
|
mt.Renderer = n1;
|
|
190207
190232
|
mt.Node = o0;
|
|
190208
|
-
mt.Mesh =
|
|
190233
|
+
mt.Mesh = As;
|
|
190209
190234
|
mt.Shader = ti;
|
|
190210
190235
|
mt.Material = t1;
|
|
190211
190236
|
mt.Texture = $n;
|
|
@@ -190218,7 +190243,7 @@ mt.AmbientLight = qVt;
|
|
|
190218
190243
|
mt.DirectionalLight = KVt;
|
|
190219
190244
|
mt.PointLight = JVt;
|
|
190220
190245
|
mt.SpotLight = QVt;
|
|
190221
|
-
mt.PerspectiveCamera =
|
|
190246
|
+
mt.PerspectiveCamera = ys;
|
|
190222
190247
|
mt.OrthographicCamera = L4;
|
|
190223
190248
|
mt.Vector2 = Wi;
|
|
190224
190249
|
mt.Vector3 = Sn;
|
|
@@ -190230,7 +190255,7 @@ mt.Matrix3 = ls;
|
|
|
190230
190255
|
mt.Matrix4 = li;
|
|
190231
190256
|
mt.Plane = Z8;
|
|
190232
190257
|
mt.Ray = U3;
|
|
190233
|
-
mt.BoundingBox =
|
|
190258
|
+
mt.BoundingBox = Hs;
|
|
190234
190259
|
mt.Frustum = RT;
|
|
190235
190260
|
var Mx = null;
|
|
190236
190261
|
function DUt() {
|
|
@@ -193430,7 +193455,7 @@ var Hd = Ws.extend(function() {
|
|
|
193430
193455
|
d.length > 0 && (_.pointLightShadowMaps = { value: d, type: "tv" });
|
|
193431
193456
|
},
|
|
193432
193457
|
renderDirectionalLightShadow: (function() {
|
|
193433
|
-
var n = new RT(), e = new li(), t = new
|
|
193458
|
+
var n = new RT(), e = new li(), t = new Hs(), i = new li(), r = new li(), a = new li(), o = new li();
|
|
193434
193459
|
return function(s, l, c, u, d, f, h) {
|
|
193435
193460
|
var p = this._getDepthMaterial(u), v = {
|
|
193436
193461
|
getMaterial: function(U) {
|
|
@@ -193449,7 +193474,7 @@ var Hd = Ws.extend(function() {
|
|
|
193449
193474
|
}
|
|
193450
193475
|
var g = Math.min(-l.viewBoundingBoxLastFrame.min.z, c.far), y = Math.max(-l.viewBoundingBoxLastFrame.max.z, c.near), b = this._getDirectionalLightCamera(u, l, c), _ = a.array;
|
|
193451
193476
|
o.copy(b.projectionMatrix), Rn.invert(r.array, b.worldTransform.array), Rn.multiply(r.array, r.array, c.worldTransform.array), Rn.multiply(_, o.array, r.array);
|
|
193452
|
-
for (var S = [], x = c instanceof
|
|
193477
|
+
for (var S = [], x = c instanceof ys, w = (c.near + c.far) / (c.near - c.far), A = 2 * c.near * c.far / (c.near - c.far), T = 0; T <= u.shadowCascade; T++) {
|
|
193453
193478
|
var C = y * Math.pow(g / y, T / u.shadowCascade), E = y + (g - y) * T / u.shadowCascade, M = C * u.cascadeSplitLogFactor + E * (1 - u.cascadeSplitLogFactor);
|
|
193454
193479
|
S.push(M), d.push(-(-M * w + A) / -M);
|
|
193455
193480
|
}
|
|
@@ -193514,7 +193539,7 @@ var Hd = Ws.extend(function() {
|
|
|
193514
193539
|
nx: [],
|
|
193515
193540
|
ny: [],
|
|
193516
193541
|
nz: []
|
|
193517
|
-
}, c = new
|
|
193542
|
+
}, c = new Hs(), u = t.getWorldPosition().array, d = new Hs(), f = t.range;
|
|
193518
193543
|
d.min.setArray(u), d.max.setArray(u);
|
|
193519
193544
|
var h = new Sn(f, f, f);
|
|
193520
193545
|
d.max.add(h), d.min.sub(h);
|
|
@@ -193571,12 +193596,12 @@ var Hd = Ws.extend(function() {
|
|
|
193571
193596
|
},
|
|
193572
193597
|
_getPointLightCamera: function(n, e) {
|
|
193573
193598
|
this._lightCameras.point || (this._lightCameras.point = {
|
|
193574
|
-
px: new
|
|
193575
|
-
nx: new
|
|
193576
|
-
py: new
|
|
193577
|
-
ny: new
|
|
193578
|
-
pz: new
|
|
193579
|
-
nz: new
|
|
193599
|
+
px: new ys(),
|
|
193600
|
+
nx: new ys(),
|
|
193601
|
+
py: new ys(),
|
|
193602
|
+
ny: new ys(),
|
|
193603
|
+
pz: new ys(),
|
|
193604
|
+
nz: new ys()
|
|
193580
193605
|
});
|
|
193581
193606
|
var t = this._lightCameras.point[e];
|
|
193582
193607
|
switch (t.far = n.range, t.fov = 90, t.position.set(0, 0, 0), e) {
|
|
@@ -193602,7 +193627,7 @@ var Hd = Ws.extend(function() {
|
|
|
193602
193627
|
return n.getWorldPosition(t.position), t.update(), t;
|
|
193603
193628
|
},
|
|
193604
193629
|
_getDirectionalLightCamera: (function() {
|
|
193605
|
-
var n = new li(), e = new
|
|
193630
|
+
var n = new li(), e = new Hs(), t = new Hs();
|
|
193606
193631
|
return function(i, r, a) {
|
|
193607
193632
|
this._lightCameras.directional || (this._lightCameras.directional = new L4());
|
|
193608
193633
|
var o = this._lightCameras.directional;
|
|
@@ -193612,7 +193637,7 @@ var Hd = Ws.extend(function() {
|
|
|
193612
193637
|
};
|
|
193613
193638
|
})(),
|
|
193614
193639
|
_getSpotLightCamera: function(n) {
|
|
193615
|
-
this._lightCameras.spot || (this._lightCameras.spot = new
|
|
193640
|
+
this._lightCameras.spot || (this._lightCameras.spot = new ys());
|
|
193616
193641
|
var e = this._lightCameras.spot;
|
|
193617
193642
|
return e.fov = n.penumbraAngle * 2, e.far = n.range, e.worldTransform.copy(n.worldTransform), e.updateProjectionMatrix(), Rn.invert(e.viewMatrix.array, e.worldTransform.array), e;
|
|
193618
193643
|
},
|
|
@@ -196890,10 +196915,10 @@ function fa(n) {
|
|
|
196890
196915
|
}
|
|
196891
196916
|
fa.prototype.setProjection = function(n) {
|
|
196892
196917
|
var e = this.camera;
|
|
196893
|
-
e && e.update(), n === "perspective" ? this.camera instanceof
|
|
196918
|
+
e && e.update(), n === "perspective" ? this.camera instanceof ys || (this.camera = new ys(), e && this.camera.setLocalTransform(e.localTransform)) : this.camera instanceof L4 || (this.camera = new L4(), e && this.camera.setLocalTransform(e.localTransform)), this.camera.near = 0.1, this.camera.far = 2e3;
|
|
196894
196919
|
};
|
|
196895
196920
|
fa.prototype.setViewport = function(n, e, t, i, r) {
|
|
196896
|
-
this.camera instanceof
|
|
196921
|
+
this.camera instanceof ys && (this.camera.aspect = t / i), r = r || 1, this.viewport.x = n, this.viewport.y = e, this.viewport.width = t, this.viewport.height = i, this.viewport.devicePixelRatio = r, this._compositor.resize(t * r, i * r), this._temporalSS.resize(t * r, i * r);
|
|
196897
196922
|
};
|
|
196898
196923
|
fa.prototype.containPoint = function(n, e) {
|
|
196899
196924
|
var t = this.viewport, i = this.layer.renderer.getHeight();
|
|
@@ -197772,14 +197797,14 @@ function UHt(n) {
|
|
|
197772
197797
|
function HHt(n) {
|
|
197773
197798
|
return n.getVisual("style").opacity;
|
|
197774
197799
|
}
|
|
197775
|
-
function
|
|
197800
|
+
function Es(n, e) {
|
|
197776
197801
|
const t = n.getItemVisual(e, "style");
|
|
197777
197802
|
if (t) {
|
|
197778
197803
|
const i = n.getVisual("drawType");
|
|
197779
197804
|
return t[i];
|
|
197780
197805
|
}
|
|
197781
197806
|
}
|
|
197782
|
-
function
|
|
197807
|
+
function Cs(n, e) {
|
|
197783
197808
|
const t = n.getItemVisual(e, "style");
|
|
197784
197809
|
return t && t.opacity;
|
|
197785
197810
|
}
|
|
@@ -197840,10 +197865,10 @@ Bf.prototype.updateLabels = function(n) {
|
|
|
197840
197865
|
var S = new or({
|
|
197841
197866
|
style: Kr(m, {
|
|
197842
197867
|
text: _,
|
|
197843
|
-
fill: m.get("color") ||
|
|
197868
|
+
fill: m.get("color") || Es(s, f) || "#000",
|
|
197844
197869
|
align: "left",
|
|
197845
197870
|
verticalAlign: "top",
|
|
197846
|
-
opacity: hr.firstNotNull(m.get("opacity"),
|
|
197871
|
+
opacity: hr.firstNotNull(m.get("opacity"), Cs(s, f), 1)
|
|
197847
197872
|
})
|
|
197848
197873
|
}), x = S.getBoundingRect(), w = 1.2;
|
|
197849
197874
|
x.height *= w;
|
|
@@ -197953,7 +197978,7 @@ P4.prototype = {
|
|
|
197953
197978
|
},
|
|
197954
197979
|
_updateRegionMesh: function(n, e, t, i) {
|
|
197955
197980
|
for (var r = n.getData(), a = 0, o = 0, s = !1, x = this._polygonMesh, l = this._linesMesh, c = t; c < i; c++) {
|
|
197956
|
-
var u = n.getRegionModel(c), d = u.getModel("itemStyle"), f = hr.firstNotNull(
|
|
197981
|
+
var u = n.getRegionModel(c), d = u.getModel("itemStyle"), f = hr.firstNotNull(Es(r, c), d.get("color"), "#fff"), h = hr.firstNotNull(Cs(r, c), d.get("opacity"), 1), p = mt.parseColor(f), v = mt.parseColor(d.get("borderColor"));
|
|
197957
197982
|
p[3] *= h, v[3] *= h;
|
|
197958
197983
|
var m = p[3] < 0.99;
|
|
197959
197984
|
x.material.set("color", [1, 1, 1, 1]), s = s || m;
|
|
@@ -198102,12 +198127,12 @@ P4.prototype = {
|
|
|
198102
198127
|
highlight: function(n) {
|
|
198103
198128
|
var e = this._data;
|
|
198104
198129
|
if (e) {
|
|
198105
|
-
var t = e.getItemModel(n), i = t.getModel(["emphasis", "itemStyle"]), r = i.get("color"), a = hr.firstNotNull(i.get("opacity"),
|
|
198130
|
+
var t = e.getItemModel(n), i = t.getModel(["emphasis", "itemStyle"]), r = i.get("color"), a = hr.firstNotNull(i.get("opacity"), Cs(e, n), 1);
|
|
198106
198131
|
if (r == null) {
|
|
198107
|
-
var o =
|
|
198132
|
+
var o = Es(e, n);
|
|
198108
198133
|
r = Z3(o, -0.4);
|
|
198109
198134
|
}
|
|
198110
|
-
a == null && (a =
|
|
198135
|
+
a == null && (a = Cs(e, n));
|
|
198111
198136
|
var s = mt.parseColor(r);
|
|
198112
198137
|
s[3] *= a, this._setColorOfDataIndex(e, n, s);
|
|
198113
198138
|
}
|
|
@@ -198115,7 +198140,7 @@ P4.prototype = {
|
|
|
198115
198140
|
downplay: function(n) {
|
|
198116
198141
|
var e = this._data;
|
|
198117
198142
|
if (e) {
|
|
198118
|
-
var t = e.getItemModel(n), i = hr.firstNotNull(
|
|
198143
|
+
var t = e.getItemModel(n), i = hr.firstNotNull(Es(e, n), t.get(["itemStyle", "color"]), "#fff"), r = hr.firstNotNull(Cs(e, n), t.get(["itemStyle", "opacity"]), 1), a = mt.parseColor(i);
|
|
198119
198144
|
a[3] *= r, this._setColorOfDataIndex(e, n, a);
|
|
198120
198145
|
}
|
|
198121
198146
|
},
|
|
@@ -199508,7 +199533,7 @@ function by(n, e, t) {
|
|
|
199508
199533
|
}
|
|
199509
199534
|
return "<br/>" + f.join("<br/>");
|
|
199510
199535
|
}
|
|
199511
|
-
var r = n.getData(), a = n.getRawValue(e), o = vn(a) ? i(a) : Io(b6(a)), s = r.getName(e), l =
|
|
199536
|
+
var r = n.getData(), a = n.getRawValue(e), o = vn(a) ? i(a) : Io(b6(a)), s = r.getName(e), l = Es(r, e);
|
|
199512
199537
|
_i(l) && l.colorStops && (l = (l.colorStops[0] || {}).color), l = l || "transparent";
|
|
199513
199538
|
var c = cz(l), u = n.name;
|
|
199514
199539
|
return u === "\0-" && (u = ""), u = u ? Io(u) + "<br/>" : "", u + c + (s ? Io(s) + ": " + o : o);
|
|
@@ -199805,7 +199830,7 @@ const zjt = vr.extend({
|
|
|
199805
199830
|
var u = [], d = new Float32Array(t.count() * 4), f = 0, m = 0, h = !1;
|
|
199806
199831
|
t.each(function(y) {
|
|
199807
199832
|
if (t.hasValue(y)) {
|
|
199808
|
-
var b =
|
|
199833
|
+
var b = Es(t, y), _ = Cs(t, y);
|
|
199809
199834
|
_ == null && (_ = 1), mt.parseColor(b, u), u[3] *= _, d[f++] = u[0], d[f++] = u[1], d[f++] = u[2], d[f++] = u[3], u[3] > 0 && (m++, u[3] < 0.99 && (h = !0));
|
|
199810
199835
|
}
|
|
199811
199836
|
}), o.geometry.setBarCount(m);
|
|
@@ -199844,10 +199869,10 @@ const zjt = vr.extend({
|
|
|
199844
199869
|
if (!(t < 0)) {
|
|
199845
199870
|
var i = e.getItemModel(n), r = i.getModel("emphasis.itemStyle"), a = r.get("color"), o = r.get("opacity");
|
|
199846
199871
|
if (a == null) {
|
|
199847
|
-
var s =
|
|
199872
|
+
var s = Es(e, n);
|
|
199848
199873
|
a = Z3(s, -0.4);
|
|
199849
199874
|
}
|
|
199850
|
-
o == null && (o =
|
|
199875
|
+
o == null && (o = Cs(e, n));
|
|
199851
199876
|
var l = mt.parseColor(a);
|
|
199852
199877
|
l[3] *= o, this._barMesh.geometry.setColor(t, l), this._api.getZr().refresh();
|
|
199853
199878
|
}
|
|
@@ -199858,7 +199883,7 @@ const zjt = vr.extend({
|
|
|
199858
199883
|
if (e) {
|
|
199859
199884
|
var t = this._barIndexOfData[n];
|
|
199860
199885
|
if (!(t < 0)) {
|
|
199861
|
-
var i =
|
|
199886
|
+
var i = Es(e, n), r = Cs(e, n), a = mt.parseColor(i);
|
|
199862
199887
|
a[3] *= r, this._barMesh.geometry.setColor(t, a), this._api.getZr().refresh();
|
|
199863
199888
|
}
|
|
199864
199889
|
}
|
|
@@ -199967,7 +199992,7 @@ const jjt = vr.extend({
|
|
|
199967
199992
|
i.geometry.resetOffset();
|
|
199968
199993
|
var r = t.getLayout("points"), a = [], o = new Float32Array(r.length / 3 * 4), s = 0, l = !1;
|
|
199969
199994
|
t.each(function(d) {
|
|
199970
|
-
var f =
|
|
199995
|
+
var f = Es(t, d), h = Cs(t, d);
|
|
199971
199996
|
h == null && (h = 1), mt.parseColor(f, a), a[3] *= h, o[s++] = a[0], o[s++] = a[1], o[s++] = a[2], o[s++] = a[3], a[3] < 0.99 && (l = !0);
|
|
199972
199997
|
}), i.geometry.setVertexCount(i.geometry.getPolylineVertexCount(r)), i.geometry.setTriangleCount(i.geometry.getPolylineTriangleCount(r)), i.geometry.addPolyline(r, o, hr.firstNotNull(n.get("lineStyle.width"), 1)), i.geometry.dirty(), i.geometry.updateBoundingBox();
|
|
199973
199998
|
var c = i.material;
|
|
@@ -200461,7 +200486,7 @@ cv.prototype = {
|
|
|
200461
200486
|
for (var y = o.getLayout("points"), b = c.position.value, _ = 0; _ < r - i; _++) {
|
|
200462
200487
|
var S = _ * 3, x = _ * 2;
|
|
200463
200488
|
if (this.is2D ? (b[S] = y[x], b[S + 1] = y[x + 1], b[S + 2] = Gne) : (b[S] = y[S], b[S + 1] = y[S + 1], b[S + 2] = y[S + 2]), !h) {
|
|
200464
|
-
var m =
|
|
200489
|
+
var m = Es(o, _), g = Cs(o, _);
|
|
200465
200490
|
mt.parseColor(m, v), v[3] *= g, c.color.set(_, v), v[3] < 0.99;
|
|
200466
200491
|
var w = o.getItemVisual(_, "symbolSize");
|
|
200467
200492
|
w = w instanceof Array ? Math.max(w[0], w[1]) : w, isNaN(w) && (w = 0), c.size.value[_] = w * p * this._sizeScale, this._originalOpacity[_] = v[3];
|
|
@@ -200562,17 +200587,17 @@ cv.prototype = {
|
|
|
200562
200587
|
if (!(e > this._endDataIndex || e < this._startDataIndex)) {
|
|
200563
200588
|
var t = n.getItemModel(e), i = t.getModel("emphasis.itemStyle"), r = i.get("color"), a = i.get("opacity");
|
|
200564
200589
|
if (r == null) {
|
|
200565
|
-
var o =
|
|
200590
|
+
var o = Es(n, e);
|
|
200566
200591
|
r = Z3(o, -0.4);
|
|
200567
200592
|
}
|
|
200568
|
-
a == null && (a =
|
|
200593
|
+
a == null && (a = Cs(n, e));
|
|
200569
200594
|
var s = mt.parseColor(r);
|
|
200570
200595
|
s[3] *= a, this._mesh.geometry.attributes.color.set(e - this._startDataIndex, s), this._mesh.geometry.dirtyAttribute("color"), this._api.getZr().refresh();
|
|
200571
200596
|
}
|
|
200572
200597
|
},
|
|
200573
200598
|
downplay: function(n, e) {
|
|
200574
200599
|
if (!(e > this._endDataIndex || e < this._startDataIndex)) {
|
|
200575
|
-
var t =
|
|
200600
|
+
var t = Es(n, e), i = Cs(n, e), r = mt.parseColor(t);
|
|
200576
200601
|
r[3] *= i, this._mesh.geometry.attributes.color.set(e - this._startDataIndex, r), this._mesh.geometry.dirtyAttribute("color"), this._api.getZr().refresh();
|
|
200577
200602
|
}
|
|
200578
200603
|
},
|
|
@@ -200950,7 +200975,7 @@ const sGt = mt.Mesh.extend(function() {
|
|
|
200950
200975
|
this.updateWorldTransform();
|
|
200951
200976
|
var y = this.worldTransform.x.len(), b = this.worldTransform.y.len(), _ = this.worldTransform.z.len(), S = 0, x = 0;
|
|
200952
200977
|
n.each(function(w) {
|
|
200953
|
-
var A = n.getItemLayout(w), T = g ? v :
|
|
200978
|
+
var A = n.getItemLayout(w), T = g ? v : Cs(n, w), C = Es(n, w);
|
|
200954
200979
|
T == null && (T = 1), h = mt.parseColor(m ? p : C, h), h[3] *= T;
|
|
200955
200980
|
for (var E = d ? t.getPolylineVertexCount(A) : t.getCubicCurveVertexCount(A[0], A[1], A[2], A[3]), M = 0, I = [], P = [], R = S; R < S + E; R++)
|
|
200956
200981
|
r.attributes.position.get(R, I), I[0] *= y, I[1] *= b, I[2] *= _, R > S && (M += Kne.dist(I, P)), r.attributes.dist.set(R, M), Kne.copy(P, I);
|
|
@@ -201033,7 +201058,7 @@ const cGt = vr.extend({
|
|
|
201033
201058
|
}), a.setVertexCount(u), a.setTriangleCount(d), a.resetOffset();
|
|
201034
201059
|
var f = [];
|
|
201035
201060
|
i.each(function(h) {
|
|
201036
|
-
var p = i.getItemLayout(h), v =
|
|
201061
|
+
var p = i.getItemLayout(h), v = Es(i, h), m = Cs(i, h), g = i.getItemVisual(h, "lineWidth") * c;
|
|
201037
201062
|
m == null && (m = 1), f = mt.parseColor(v, f), f[3] *= m, o ? a.addPolyline(p, f, g) : a.addCubicCurve(p[0], p[1], p[2], p[3], f, g);
|
|
201038
201063
|
}), a.dirty();
|
|
201039
201064
|
},
|
|
@@ -201398,7 +201423,7 @@ const pGt = vr.extend({
|
|
|
201398
201423
|
return we[0] = te[Ee], we[1] = te[Ee + 1], we[2] = te[Ee + 2], we;
|
|
201399
201424
|
}, D = new Float32Array(o.length), k = new Float32Array(o.length / 3 * 4), F = 0; F < a.count(); F++)
|
|
201400
201425
|
if (a.hasValue(F)) {
|
|
201401
|
-
var ae = mt.parseColor(
|
|
201426
|
+
var ae = mt.parseColor(Es(a, F)), z = Cs(a, F);
|
|
201402
201427
|
z != null && (ae[3] *= z), ae[3] < 0.99 && (w = !0);
|
|
201403
201428
|
for (var B = 0; B < 4; B++)
|
|
201404
201429
|
k[F * 4 + B] = ae[B];
|
|
@@ -201445,7 +201470,7 @@ const pGt = vr.extend({
|
|
|
201445
201470
|
} else {
|
|
201446
201471
|
for (var Q = [], F = 0; F < a.count(); F++) {
|
|
201447
201472
|
Q[0] = F % v / (v - 1), Q[1] = Math.floor(F / v) / (p - 1);
|
|
201448
|
-
var ae = mt.parseColor(
|
|
201473
|
+
var ae = mt.parseColor(Es(a, F)), z = Cs(a, F);
|
|
201449
201474
|
z != null && (ae[3] *= z), ae[3] < 0.99 && (w = !0), h.set(F, ae), d.set(F, Q);
|
|
201450
201475
|
}
|
|
201451
201476
|
for (var A = [], se = 0, F = 0; F < p - 1; F++)
|
|
@@ -203284,8 +203309,8 @@ const LGt = vr.extend({
|
|
|
203284
203309
|
t.attributes.node.init(o), t.attributes.color.init(o), i.each(function(s) {
|
|
203285
203310
|
var l = n[s];
|
|
203286
203311
|
t.attributes.node.set(r, a.getNodeUV(l.node1)), t.attributes.node.set(r + 1, a.getNodeUV(l.node2));
|
|
203287
|
-
var c =
|
|
203288
|
-
u[3] *= hr.firstNotNull(
|
|
203312
|
+
var c = Es(i, l.dataIndex), u = mt.parseColor(c);
|
|
203313
|
+
u[3] *= hr.firstNotNull(Cs(i, l.dataIndex), 1), t.attributes.color.set(r, u), t.attributes.color.set(r + 1, u), r += 2;
|
|
203289
203314
|
}), t.dirty();
|
|
203290
203315
|
},
|
|
203291
203316
|
_updateMeshLinesGeometry: function() {
|
|
@@ -203295,8 +203320,8 @@ const LGt = vr.extend({
|
|
|
203295
203320
|
this._originalEdgeColors = new Float32Array(e.count() * 4), this._edgeIndicesMap = new Float32Array(e.count()), e.each(function(o) {
|
|
203296
203321
|
var s = e.graph.getEdgeByIndex(o), l = s.node1.dataIndex * 2, c = s.node2.dataIndex * 2;
|
|
203297
203322
|
i[0] = t[l], i[1] = t[l + 1], r[0] = t[c], r[1] = t[c + 1];
|
|
203298
|
-
var u =
|
|
203299
|
-
d[3] *= hr.firstNotNull(
|
|
203323
|
+
var u = Es(e, s.dataIndex), d = mt.parseColor(u);
|
|
203324
|
+
d[3] *= hr.firstNotNull(Cs(e, s.dataIndex), 1);
|
|
203300
203325
|
var f = e.getItemModel(s.dataIndex), h = hr.firstNotNull(f.get(a), 1) * this._api.getDevicePixelRatio();
|
|
203301
203326
|
n.addLine(i, r, d, h);
|
|
203302
203327
|
for (var p = 0; p < 4; p++)
|
|
@@ -203840,18 +203865,18 @@ RN.prototype = {
|
|
|
203840
203865
|
}), this._particlePass.setUniform("velocityTexture", this.vectorFieldTexture), this._particlePass.setUniform("spawnTexture", this._spawnTexture), this._downsamplePass = new qo({
|
|
203841
203866
|
fragment: ti.source("clay.compositor.downsample")
|
|
203842
203867
|
});
|
|
203843
|
-
var e = new
|
|
203868
|
+
var e = new As({
|
|
203844
203869
|
// Render after last frame full quad
|
|
203845
203870
|
renderOrder: 10,
|
|
203846
203871
|
material: new t1({
|
|
203847
203872
|
shader: new ti(ti.source("ecgl.vfParticle.renderPoints.vertex"), ti.source("ecgl.vfParticle.renderPoints.fragment"))
|
|
203848
203873
|
}),
|
|
203849
|
-
mode:
|
|
203874
|
+
mode: As.POINTS,
|
|
203850
203875
|
geometry: new _r({
|
|
203851
203876
|
dynamic: !0,
|
|
203852
203877
|
mainAttribute: "texcoord0"
|
|
203853
203878
|
})
|
|
203854
|
-
}), t = new
|
|
203879
|
+
}), t = new As({
|
|
203855
203880
|
// Render after last frame full quad
|
|
203856
203881
|
renderOrder: 10,
|
|
203857
203882
|
material: new t1({
|
|
@@ -203859,7 +203884,7 @@ RN.prototype = {
|
|
|
203859
203884
|
}),
|
|
203860
203885
|
geometry: new PGt(),
|
|
203861
203886
|
culling: !1
|
|
203862
|
-
}), i = new
|
|
203887
|
+
}), i = new As({
|
|
203863
203888
|
material: new t1({
|
|
203864
203889
|
shader: new ti(ti.source("ecgl.color.vertex"), ti.source("ecgl.color.fragment"))
|
|
203865
203890
|
// DO NOT BLEND Blend will multiply alpha
|
|
@@ -204266,8 +204291,8 @@ const FGt = vr.extend({
|
|
|
204266
204291
|
}
|
|
204267
204292
|
s.setVertexCount(u), s.setTriangleCount(d);
|
|
204268
204293
|
for (var w = t, A = [], _ = t; _ < i; _++) {
|
|
204269
|
-
mt.parseColor(
|
|
204270
|
-
var T = hr.firstNotNull(
|
|
204294
|
+
mt.parseColor(Es(r, w), A);
|
|
204295
|
+
var T = hr.firstNotNull(Cs(r, w), 1);
|
|
204271
204296
|
A[3] *= T;
|
|
204272
204297
|
for (var S = n.getLineCoords(_, m), C = 0; C < S; C++)
|
|
204273
204298
|
this._glViewHelper.dataToPoint(l, m[C], m[C]);
|
|
@@ -204508,7 +204533,7 @@ const BGt = { class: "deep-displacement-3d" }, VGt = { class: "view-toolbar" },
|
|
|
204508
204533
|
if (!I || I.length === 0) return;
|
|
204509
204534
|
M = this.toHistoryRecordsPayload(M);
|
|
204510
204535
|
const R = (P == null ? void 0 : P.source) || "mosaic";
|
|
204511
|
-
["statistics", "calculate"].includes(R) && (M =
|
|
204536
|
+
["statistics", "calculate"].includes(R) && (M = ds(M, I));
|
|
204512
204537
|
const D = Ol(M, this.props, "history");
|
|
204513
204538
|
if (D) {
|
|
204514
204539
|
try {
|
|
@@ -204999,7 +205024,7 @@ const eYt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
204999
205024
|
if (!C || C.length === 0) return;
|
|
205000
205025
|
T = this.toHistoryRecordsPayload(T);
|
|
205001
205026
|
const M = (E == null ? void 0 : E.source) || "mosaic";
|
|
205002
|
-
["statistics", "calculate"].includes(M) && (T =
|
|
205027
|
+
["statistics", "calculate"].includes(M) && (T = ds(T, C));
|
|
205003
205028
|
const I = Ol(T, this.props, "history");
|
|
205004
205029
|
if (I) {
|
|
205005
205030
|
console.log("[DeepDisplacementChart] history raw sample:", ((R = (P = I.history) == null ? void 0 : P[0]) == null ? void 0 : R[0]) || ((D = I.history) == null ? void 0 : D[0]) || I.history);
|
|
@@ -205645,7 +205670,7 @@ const eYt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
205645
205670
|
var I, P, R, D, k, F, z;
|
|
205646
205671
|
const w = e.conf, A = (w == null ? void 0 : w.data) || [], T = (w == null ? void 0 : w.common) || {}, C = (T == null ? void 0 : T.source) || "mosaic";
|
|
205647
205672
|
let E = x;
|
|
205648
|
-
["statistics", "calculate"].includes(C) && (E =
|
|
205673
|
+
["statistics", "calculate"].includes(C) && (E = ds(E, A));
|
|
205649
205674
|
const M = [];
|
|
205650
205675
|
if ((I = E == null ? void 0 : E.history) != null && I.length) {
|
|
205651
205676
|
const B = /* @__PURE__ */ new Map();
|
|
@@ -206031,7 +206056,7 @@ const eYt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
206031
206056
|
var P, R, D, k;
|
|
206032
206057
|
const A = e.conf, T = (A == null ? void 0 : A.data) || [], C = (A == null ? void 0 : A.common) || {}, E = (C == null ? void 0 : C.source) || "mosaic";
|
|
206033
206058
|
let M = w;
|
|
206034
|
-
["statistics", "calculate"].includes(E) && (M =
|
|
206059
|
+
["statistics", "calculate"].includes(E) && (M = ds(M, T));
|
|
206035
206060
|
let I = !1;
|
|
206036
206061
|
if ((P = M == null ? void 0 : M.history) != null && P.length) {
|
|
206037
206062
|
const F = /* @__PURE__ */ new Map();
|
|
@@ -206434,7 +206459,7 @@ const eYt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
206434
206459
|
var W, H, U, Y;
|
|
206435
206460
|
const R = e.conf, D = (R == null ? void 0 : R.data) || [], k = (R == null ? void 0 : R.common) || {}, F = (k == null ? void 0 : k.source) || "mosaic";
|
|
206436
206461
|
let z = P;
|
|
206437
|
-
["statistics", "calculate"].includes(F) && (z =
|
|
206462
|
+
["statistics", "calculate"].includes(F) && (z = ds(z, D));
|
|
206438
206463
|
const B = [];
|
|
206439
206464
|
if ((W = z == null ? void 0 : z.history) != null && W.length)
|
|
206440
206465
|
z.history.forEach((q, X) => {
|
|
@@ -206975,7 +207000,7 @@ const eYt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
206975
207000
|
var $, we, Ee, Te, ce, ye;
|
|
206976
207001
|
const U = e.conf, Y = (U == null ? void 0 : U.data) || [], q = (U == null ? void 0 : U.common) || {}, X = (q == null ? void 0 : q.source) || "mosaic";
|
|
206977
207002
|
let le = H;
|
|
206978
|
-
if (["statistics", "calculate"].includes(X) && (le =
|
|
207003
|
+
if (["statistics", "calculate"].includes(X) && (le = ds(le, Y)), ($ = le == null ? void 0 : le.history) != null && $.length) {
|
|
206979
207004
|
r.value = z(le.history), r.value.length && (a.value = r.value[r.value.length - 1].time), P(), C();
|
|
206980
207005
|
return;
|
|
206981
207006
|
}
|
|
@@ -207248,7 +207273,7 @@ const eYt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
207248
207273
|
if (!T || T.length === 0) return;
|
|
207249
207274
|
A = this.toHistoryRecordsPayload(A);
|
|
207250
207275
|
const E = (C == null ? void 0 : C.source) || "mosaic";
|
|
207251
|
-
["statistics", "calculate"].includes(E) && (A =
|
|
207276
|
+
["statistics", "calculate"].includes(E) && (A = ds(A, T));
|
|
207252
207277
|
const M = Ol(A, this.props, "history");
|
|
207253
207278
|
if (M)
|
|
207254
207279
|
try {
|
|
@@ -209827,7 +209852,7 @@ const eYt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
209827
209852
|
D("incoming");
|
|
209828
209853
|
const U = e.conf, Y = U.data || [], q = U.common || U.COMMON || U.common, X = U.options || {}, le = (q == null ? void 0 : q.source) || "mosaic";
|
|
209829
209854
|
let ie = (we = H == null ? void 0 : H.payload) != null ? we : H;
|
|
209830
|
-
["statistics", "calculate"].includes(le) && (ie =
|
|
209855
|
+
["statistics", "calculate"].includes(le) && (ie = ds(ie, Y));
|
|
209831
209856
|
const re = [], ae = (Y == null ? void 0 : Y[0]) || {}, Q = ae.xFv || "x", se = ae.yFv || "y", te = ae.timeFv || "time", $ = ae.color;
|
|
209832
209857
|
if ((Ee = ie == null ? void 0 : ie.history) != null && Ee.length)
|
|
209833
209858
|
ie.history.forEach((Se, ve) => {
|
|
@@ -210751,7 +210776,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
210751
210776
|
},
|
|
210752
210777
|
setup(n) {
|
|
210753
210778
|
Jn([
|
|
210754
|
-
|
|
210779
|
+
fs,
|
|
210755
210780
|
yo,
|
|
210756
210781
|
wa,
|
|
210757
210782
|
va,
|
|
@@ -211041,7 +211066,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
211041
211066
|
},
|
|
211042
211067
|
setup(n) {
|
|
211043
211068
|
Jn([
|
|
211044
|
-
|
|
211069
|
+
fs,
|
|
211045
211070
|
yo,
|
|
211046
211071
|
wa,
|
|
211047
211072
|
va,
|
|
@@ -211249,7 +211274,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
211249
211274
|
theme: { type: String, default: "light" }
|
|
211250
211275
|
},
|
|
211251
211276
|
setup(n) {
|
|
211252
|
-
Jn([
|
|
211277
|
+
Jn([fs, yo, wa, va, LB]);
|
|
211253
211278
|
const e = n, t = ["#ffffff", "#e5e5e5"];
|
|
211254
211279
|
class i extends Ki {
|
|
211255
211280
|
extractStyles() {
|
|
@@ -211397,7 +211422,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
211397
211422
|
},
|
|
211398
211423
|
setup(n) {
|
|
211399
211424
|
Jn([
|
|
211400
|
-
|
|
211425
|
+
fs,
|
|
211401
211426
|
yo,
|
|
211402
211427
|
wa,
|
|
211403
211428
|
go,
|
|
@@ -212641,7 +212666,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
212641
212666
|
}, null, 40, DKt),
|
|
212642
212667
|
ge[25] || (ge[25] = N("span", { style: { "font-weight": "bold" } }, "全部", -1))
|
|
212643
212668
|
], 512), [
|
|
212644
|
-
[
|
|
212669
|
+
[_s, !X.value || "全部".includes(X.value)]
|
|
212645
212670
|
]),
|
|
212646
212671
|
(V(), Z(Ke, null, pt(k, (Be) => qn(N("label", {
|
|
212647
212672
|
key: Be,
|
|
@@ -212654,7 +212679,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
212654
212679
|
}, null, 40, OKt),
|
|
212655
212680
|
N("span", null, ue(Be), 1)
|
|
212656
212681
|
]), [
|
|
212657
|
-
[
|
|
212682
|
+
[_s, !X.value || Be.includes(X.value)]
|
|
212658
212683
|
])), 64)),
|
|
212659
212684
|
ge[28] || (ge[28] = N("div", {
|
|
212660
212685
|
class: "dropdown-group-title",
|
|
@@ -212668,7 +212693,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
212668
212693
|
}, null, 40, IKt),
|
|
212669
212694
|
ge[26] || (ge[26] = N("span", { style: { "font-weight": "bold" } }, "全部", -1))
|
|
212670
212695
|
], 512), [
|
|
212671
|
-
[
|
|
212696
|
+
[_s, !X.value || "全部".includes(X.value)]
|
|
212672
212697
|
]),
|
|
212673
212698
|
(V(), Z(Ke, null, pt(F, (Be) => qn(N("label", {
|
|
212674
212699
|
key: Be,
|
|
@@ -212681,7 +212706,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
212681
212706
|
}, null, 40, RKt),
|
|
212682
212707
|
N("span", null, ue(Be), 1)
|
|
212683
212708
|
]), [
|
|
212684
|
-
[
|
|
212709
|
+
[_s, !X.value || Be.includes(X.value)]
|
|
212685
212710
|
])), 64))
|
|
212686
212711
|
])
|
|
212687
212712
|
], 4)) : Re("", !0),
|
|
@@ -212749,7 +212774,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
212749
212774
|
title: `${Be.name}(${Be.isOnline ? "在线" : "离线"})`,
|
|
212750
212775
|
onClick: Dn((st) => jt(Be), ["stop"])
|
|
212751
212776
|
}, "📡", 14, BKt)), [
|
|
212752
|
-
[
|
|
212777
|
+
[_s, We(Be)]
|
|
212753
212778
|
])), 128)),
|
|
212754
212779
|
(V(!0), Z(Ke, null, pt(A.value, (Be) => (V(), Z("div", {
|
|
212755
212780
|
key: "cloud-" + Be.id,
|
|
@@ -214446,7 +214471,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
214446
214471
|
theme: { type: String, default: "light" }
|
|
214447
214472
|
},
|
|
214448
214473
|
setup(n) {
|
|
214449
|
-
Jn([
|
|
214474
|
+
Jn([fs, yo, wa, go, va, I1e]);
|
|
214450
214475
|
const e = n, t = { data: [], links: [] };
|
|
214451
214476
|
class i extends Ki {
|
|
214452
214477
|
extractStyles() {
|
|
@@ -214974,7 +214999,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
214974
214999
|
N("span", { class: "drawer-label" }, "全部显示", -1)
|
|
214975
215000
|
])], 2)
|
|
214976
215001
|
], 512), [
|
|
214977
|
-
[
|
|
215002
|
+
[_s, s.value]
|
|
214978
215003
|
])
|
|
214979
215004
|
], 2)) : Re("", !0),
|
|
214980
215005
|
N("div", ff({
|
|
@@ -215531,7 +215556,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
215531
215556
|
const { data: S, common: x } = this.props.conf;
|
|
215532
215557
|
if (!S.some((C) => C.object_id && C.fv)) return;
|
|
215533
215558
|
const A = x.source || "mosaic";
|
|
215534
|
-
["statistics", "calculate"].includes(A) && (_ =
|
|
215559
|
+
["statistics", "calculate"].includes(A) && (_ = ds(_, S));
|
|
215535
215560
|
let T = Ol(_, this.props, "history");
|
|
215536
215561
|
S.forEach((C, E) => {
|
|
215537
215562
|
if (!(!C.object_id || !C.fv))
|
|
@@ -216016,7 +216041,7 @@ const GZt = { class: "dialog-footer" }, GT = {
|
|
|
216016
216041
|
const { data: p, common: v } = this.props.conf;
|
|
216017
216042
|
if (!p.some((b) => b.object_id && b.fv)) return;
|
|
216018
216043
|
const g = v.source || "mosaic";
|
|
216019
|
-
["statistics", "calculate"].includes(g) && (h =
|
|
216044
|
+
["statistics", "calculate"].includes(g) && (h = ds(h, p));
|
|
216020
216045
|
let y = Ol(h, this.props, "history");
|
|
216021
216046
|
p.forEach((b, _) => {
|
|
216022
216047
|
var S, x;
|
|
@@ -216453,7 +216478,7 @@ const jen = {
|
|
|
216453
216478
|
if (!s.value || !o.value) return;
|
|
216454
216479
|
g && (cancelAnimationFrame(g), g = 0);
|
|
216455
216480
|
const U = o.value.clientWidth, Y = o.value.clientHeight;
|
|
216456
|
-
d = new sy(), d.background = new Li(a.value.bgColor), f = new
|
|
216481
|
+
d = new sy(), d.background = new Li(a.value.bgColor), f = new Vs(45, U / Y, 0.1, 1e3), f.position.set(0, 0, a.value.cameraDistance), h = new oy({
|
|
216457
216482
|
canvas: s.value,
|
|
216458
216483
|
antialias: !0,
|
|
216459
216484
|
alpha: !0,
|
|
@@ -217304,7 +217329,7 @@ const jen = {
|
|
|
217304
217329
|
const { data: m, common: g } = this.props.conf;
|
|
217305
217330
|
if (!m.some((S) => S.object_id && S.fv)) return;
|
|
217306
217331
|
const b = g.source || "mosaic";
|
|
217307
|
-
["statistics", "calculate"].includes(b) && (v =
|
|
217332
|
+
["statistics", "calculate"].includes(b) && (v = ds(v, m));
|
|
217308
217333
|
let _ = Ol(v, this.props, "history");
|
|
217309
217334
|
m.forEach((S, x) => {
|
|
217310
217335
|
var w;
|
|
@@ -217586,7 +217611,7 @@ const jen = {
|
|
|
217586
217611
|
const { data: p, common: v } = this.props.conf;
|
|
217587
217612
|
if (!p.some((b) => b.object_id && b.fv)) return;
|
|
217588
217613
|
const g = v.source || "mosaic";
|
|
217589
|
-
["statistics", "calculate"].includes(g) && (h =
|
|
217614
|
+
["statistics", "calculate"].includes(g) && (h = ds(h, p));
|
|
217590
217615
|
let y = Ol(h, this.props, "history");
|
|
217591
217616
|
p.forEach((b, _) => {
|
|
217592
217617
|
if (!(!b.object_id || !b.fv))
|
|
@@ -218060,7 +218085,7 @@ const jen = {
|
|
|
218060
218085
|
setHistoryData(_) {
|
|
218061
218086
|
const { data: S, common: x } = this.props.conf, w = x.source || "mosaic";
|
|
218062
218087
|
if (!S.some((C) => C.object_id && C.fv)) return;
|
|
218063
|
-
["statistics", "calculate"].includes(w) && (_ =
|
|
218088
|
+
["statistics", "calculate"].includes(w) && (_ = ds(_, S));
|
|
218064
218089
|
let T = Ol(_, this.props, "history");
|
|
218065
218090
|
S.forEach((C, E) => {
|
|
218066
218091
|
var M, I;
|
|
@@ -218334,7 +218359,7 @@ const jen = {
|
|
|
218334
218359
|
const { data: m, common: g } = this.props.conf;
|
|
218335
218360
|
if (!m.some((S) => S.object_id && S.fv)) return;
|
|
218336
218361
|
const b = g.source || "mosaic";
|
|
218337
|
-
["statistics", "calculate"].includes(b) && (v =
|
|
218362
|
+
["statistics", "calculate"].includes(b) && (v = ds(v, m));
|
|
218338
218363
|
let _ = Ol(v, this.props, "history");
|
|
218339
218364
|
m.forEach((S, x) => {
|
|
218340
218365
|
var w, A;
|
|
@@ -220892,7 +220917,7 @@ function O3e() {
|
|
|
220892
220917
|
return {
|
|
220893
220918
|
name: ((s = l.result) == null ? void 0 : s.name) || t.name,
|
|
220894
220919
|
path: c,
|
|
220895
|
-
url: c.startsWith("http") ? c : `${
|
|
220920
|
+
url: c.startsWith("http") ? c : `${Ys}${c.replace(/^\//, "")}`
|
|
220896
220921
|
};
|
|
220897
220922
|
} finally {
|
|
220898
220923
|
n.value = !1;
|
|
@@ -221649,7 +221674,7 @@ const lsn = { class: "tableman-create-form" }, csn = { class: "form-sections" },
|
|
|
221649
221674
|
"onUpdate:modelValue": l,
|
|
221650
221675
|
onResizeField: (m) => r("resize-field", v.id, m)
|
|
221651
221676
|
}, null, 8, ["category", "field-map", "model-value", "form-columns", "design-mode", "disabled", "readonly", "onUpdate:fields", "onResizeField"])), [
|
|
221652
|
-
[
|
|
221677
|
+
[_s, n.designMode || v.fields.some((m) => n.fieldMap[m.alias] && !n.fieldMap[m.alias].linkageHidden)]
|
|
221653
221678
|
])), 128))
|
|
221654
221679
|
])
|
|
221655
221680
|
]),
|
|
@@ -222210,7 +222235,7 @@ const _sn = { class: "create-header" }, xsn = { class: "create-title" }, Ssn = {
|
|
|
222210
222235
|
}
|
|
222211
222236
|
const i = new t(e, "tablemanCreate");
|
|
222212
222237
|
i.setupLifecycle();
|
|
222213
|
-
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } =
|
|
222238
|
+
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } = us(r), {
|
|
222214
222239
|
pageLoading: s,
|
|
222215
222240
|
submitLoading: l,
|
|
222216
222241
|
categories: c,
|
|
@@ -222232,7 +222257,7 @@ const _sn = { class: "create-header" }, xsn = { class: "create-title" }, Ssn = {
|
|
|
222232
222257
|
submitMode: "insert"
|
|
222233
222258
|
});
|
|
222234
222259
|
return (_, S) => {
|
|
222235
|
-
const x = br, w = fi, A =
|
|
222260
|
+
const x = br, w = fi, A = cs;
|
|
222236
222261
|
return qn((V(), Z("div", {
|
|
222237
222262
|
class: Jt(["tableman-create mix-component", J(a)]),
|
|
222238
222263
|
style: Ue(J(o))
|
|
@@ -222483,7 +222508,7 @@ const _sn = { class: "create-header" }, xsn = { class: "create-title" }, Ssn = {
|
|
|
222483
222508
|
"onUpdate:fields": (c) => a(l.id, c),
|
|
222484
222509
|
onResizeField: (c) => i("resize-field", l.id, c)
|
|
222485
222510
|
}, null, 8, ["section", "field-records", "record", "columns", "design-mode", "onUpdate:fields", "onResizeField"])), [
|
|
222486
|
-
[
|
|
222511
|
+
[_s, n.designMode || l.fields.length]
|
|
222487
222512
|
])), 128))
|
|
222488
222513
|
], 2));
|
|
222489
222514
|
}
|
|
@@ -223422,7 +223447,7 @@ const dln = { class: "detail-header" }, fln = { class: "detail-title" }, hln = {
|
|
|
223422
223447
|
}
|
|
223423
223448
|
const i = new t(e, "tablemanDetail");
|
|
223424
223449
|
i.setupLifecycle();
|
|
223425
|
-
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } =
|
|
223450
|
+
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } = us(r), {
|
|
223426
223451
|
pageLoading: s,
|
|
223427
223452
|
activeMenuId: l,
|
|
223428
223453
|
menus: c,
|
|
@@ -223472,7 +223497,7 @@ const dln = { class: "detail-header" }, fln = { class: "detail-title" }, hln = {
|
|
|
223472
223497
|
});
|
|
223473
223498
|
return (te, $) => {
|
|
223474
223499
|
var be, ke, Se;
|
|
223475
|
-
const we = br, Ee = Wc, Te = zl, ce = f1, ye = fi, me = Uo, pe =
|
|
223500
|
+
const we = br, Ee = Wc, Te = zl, ce = f1, ye = fi, me = Uo, pe = cs;
|
|
223476
223501
|
return qn((V(), Z("div", {
|
|
223477
223502
|
class: Jt(["tableman-detail mix-component", J(a)]),
|
|
223478
223503
|
style: Ue(J(o))
|
|
@@ -223873,7 +223898,7 @@ const Bln = { class: "mix-body" }, Vln = { class: "top-bar" }, Uln = { class: "t
|
|
|
223873
223898
|
}
|
|
223874
223899
|
const s = new t(e, "tablemanList");
|
|
223875
223900
|
s.setupLifecycle();
|
|
223876
|
-
const l = s.getStyle(), { mixiotPanelClass: c, mixiotPanelRootStyle: u } =
|
|
223901
|
+
const l = s.getStyle(), { mixiotPanelClass: c, mixiotPanelRootStyle: u } = us(l), d = de(() => xi(e.conf.options)), f = fe([]), h = de(() => {
|
|
223877
223902
|
var pe, be, ke, Se;
|
|
223878
223903
|
const Te = (be = (pe = e.conf) == null ? void 0 : pe.options) == null ? void 0 : be.columns, ce = Te && typeof Te == "object" && "value" in Te ? Te.value : Te || [], ye = ((Se = (ke = e.conf) == null ? void 0 : ke.data) == null ? void 0 : Se[0]) || {}, me = new Map(f.value.map((ve) => [ve.alias, ve]));
|
|
223879
223904
|
return (Array.isArray(ce) ? ce : []).filter((ve) => {
|
|
@@ -224125,7 +224150,7 @@ const Bln = { class: "mix-body" }, Vln = { class: "top-bar" }, Uln = { class: "t
|
|
|
224125
224150
|
})), mr(() => {
|
|
224126
224151
|
window.removeEventListener("tableman-data-changed", $);
|
|
224127
224152
|
}), (Te, ce) => {
|
|
224128
|
-
const ye = zl, me = f1, pe = fi, be = Uo, ke =
|
|
224153
|
+
const ye = zl, me = f1, pe = fi, be = Uo, ke = cs;
|
|
224129
224154
|
return qn((V(), Z("div", {
|
|
224130
224155
|
class: Jt(["tableman-list mix-component", J(c)]),
|
|
224131
224156
|
style: Ue(J(u))
|
|
@@ -224322,7 +224347,7 @@ const Bln = { class: "mix-body" }, Vln = { class: "top-bar" }, Uln = { class: "t
|
|
|
224322
224347
|
}
|
|
224323
224348
|
const i = new t(e, "tablemanUpdate");
|
|
224324
224349
|
i.setupLifecycle();
|
|
224325
|
-
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } =
|
|
224350
|
+
const r = i.getStyle(), { mixiotPanelClass: a, mixiotPanelRootStyle: o } = us(r), {
|
|
224326
224351
|
pageLoading: s,
|
|
224327
224352
|
submitLoading: l,
|
|
224328
224353
|
categories: c,
|
|
@@ -224344,7 +224369,7 @@ const Bln = { class: "mix-body" }, Vln = { class: "top-bar" }, Uln = { class: "t
|
|
|
224344
224369
|
submitMode: "update"
|
|
224345
224370
|
});
|
|
224346
224371
|
return (_, S) => {
|
|
224347
|
-
const x = br, w = fi, A =
|
|
224372
|
+
const x = br, w = fi, A = cs;
|
|
224348
224373
|
return qn((V(), Z("div", {
|
|
224349
224374
|
class: Jt(["tableman-create mix-component", J(a)]),
|
|
224350
224375
|
style: Ue(J(o))
|
|
@@ -224537,7 +224562,7 @@ const Bln = { class: "mix-body" }, Vln = { class: "top-bar" }, Uln = { class: "t
|
|
|
224537
224562
|
}
|
|
224538
224563
|
const c = new a(e, "univerTable");
|
|
224539
224564
|
c.setupLifecycle();
|
|
224540
|
-
const u = c.getStyle(), { mixiotPanelClass: d, mixiotPanelRootStyle: f } =
|
|
224565
|
+
const u = c.getStyle(), { mixiotPanelClass: d, mixiotPanelRootStyle: f } = us(u), h = de(() => xi(e.conf.options)), p = fe([]), v = fe([]), m = fe(!1), g = fe(!1), y = fe(!1), b = fe(""), _ = fe(!1), S = fe(null), x = de(() => !!R("enableSearch", !0)), w = de(() => !!R("showToolbar", !0)), A = zn({ current: 1, pageSize: 50, total: 0 }), T = fe({ field: "", value: "" });
|
|
224541
224566
|
let C = null, E = null, M = null, I = "", P = 0;
|
|
224542
224567
|
function R(xe, Le) {
|
|
224543
224568
|
var je, Ze;
|
|
@@ -225076,7 +225101,7 @@ const Bln = { class: "mix-body" }, Vln = { class: "top-bar" }, Uln = { class: "t
|
|
|
225076
225101
|
const xe = String(((Le = e.conf) == null ? void 0 : Le.id) || e.uid || "");
|
|
225077
225102
|
xe && t.unregisterInstance(xe), ht();
|
|
225078
225103
|
}), (xe, Le) => {
|
|
225079
|
-
const Je = fi, je =
|
|
225104
|
+
const Je = fi, je = cs;
|
|
225080
225105
|
return qn((V(), Z("div", {
|
|
225081
225106
|
class: Jt(["univer-tableman mix-component", J(d)]),
|
|
225082
225107
|
style: Ue(J(f))
|
|
@@ -228441,7 +228466,7 @@ const ndn = ["data-theme"], idn = ["id", "data-theme"], rdn = ["src"], adn = ["d
|
|
|
228441
228466
|
} : void 0
|
|
228442
228467
|
]), 1032, ["script", "uid", "mixiot-dashboard-uid", "enableWebSocket", "follow-host-theme", "is-product", "agent", "release-embed-agent-on-unmount"]));
|
|
228443
228468
|
}
|
|
228444
|
-
}), ldn = "1.1.
|
|
228469
|
+
}), ldn = "1.1.53";
|
|
228445
228470
|
typeof console != "undefined" && console.info && console.info("[MixDashboards] 版本:", ldn);
|
|
228446
228471
|
const cdn = [WA, n5, S3], udn = function(n) {
|
|
228447
228472
|
cdn.forEach((e) => {
|