@evercam/ui 0.0.58-beta.11 → 0.0.58-beta.13
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/attributes.json +14 -0
- package/dist/index.mjs +192 -175
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ETimeline.vue.d.ts +1 -0
- package/dist/src/components/EVideoPlayer.vue.d.ts +3 -1
- package/dist/src/components/charts/classNames.d.ts +7 -0
- package/dist/src/components/charts/utils.d.ts +3 -0
- package/dist/src/index.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/styles.css +4 -0
- package/dist/tags.json +5 -2
- package/dist/web-types.json +28 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import J from "hls.js";
|
|
|
3
3
|
import Z from "moment-timezone";
|
|
4
4
|
import * as c from "d3";
|
|
5
5
|
var x = /* @__PURE__ */ ((t) => (t.dot = "dot", t.xs = "xs", t.sm = "sm", t.md = "base", t.base = "base", t.lg = "lg", t.xl = "xl", t["2xl"] = "2xl", t["3xl"] = "3xl", t["4xl"] = "4xl", t["5xl"] = "5xl", t["6xl"] = "6xl", t["7xl"] = "7xl", t["8xl"] = "8xl", t["9xl"] = "9xl", t))(x || {}), j = /* @__PURE__ */ ((t) => (t.warning = "warning", t.error = "error", t.info = "info", t.success = "success", t.primary = "primary", t.brand = "brand", t.default = "default", t))(j || {}), n1 = /* @__PURE__ */ ((t) => (t.overview = "overview", t.detailed = "detailed", t.detailedBackground = "detailedBackground", t))(n1 || {}), U = /* @__PURE__ */ ((t) => (t.bars = "bars", t.dots = "dots", t.lineGraph = "lineGraph", t.barChart = "barGraph", t.milestones = "milestones", t))(U || {}), s1 = /* @__PURE__ */ ((t) => (t.zoom = "zoom", t.autoPan = "autoPan", t.initial = "initial", t))(s1 || {});
|
|
6
|
-
const
|
|
6
|
+
const pe = S.extend({
|
|
7
7
|
name: "EBadge",
|
|
8
8
|
props: {
|
|
9
9
|
text: {
|
|
@@ -74,20 +74,20 @@ function D(t, e, r, n, i, a, s, u) {
|
|
|
74
74
|
return o.call(C), d(f, C);
|
|
75
75
|
};
|
|
76
76
|
} else {
|
|
77
|
-
var
|
|
78
|
-
l.beforeCreate =
|
|
77
|
+
var p = l.beforeCreate;
|
|
78
|
+
l.beforeCreate = p ? [].concat(p, o) : [o];
|
|
79
79
|
}
|
|
80
80
|
return {
|
|
81
81
|
exports: t,
|
|
82
82
|
options: l
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
var
|
|
85
|
+
var me = function() {
|
|
86
86
|
var e = this, r = e._self._c;
|
|
87
87
|
return r("span", { staticClass: "e-badge", class: e.badgeClasses }, [e.showText ? r("span", [e._v(e._s(e.text))]) : e._e()]);
|
|
88
88
|
}, Ce = [], ge = /* @__PURE__ */ D(
|
|
89
|
-
me,
|
|
90
89
|
pe,
|
|
90
|
+
me,
|
|
91
91
|
Ce,
|
|
92
92
|
!1,
|
|
93
93
|
null,
|
|
@@ -432,7 +432,7 @@ var q1 = y1.exports;
|
|
|
432
432
|
}
|
|
433
433
|
let i = /* @__PURE__ */ new Set();
|
|
434
434
|
function a(l, o, d) {
|
|
435
|
-
typeof process != "undefined" && process.env.JEST_WORKER_ID || d && i.has(d) || (d && i.add(d), console.warn(""), o.forEach((
|
|
435
|
+
typeof process != "undefined" && process.env.JEST_WORKER_ID || d && i.has(d) || (d && i.add(d), console.warn(""), o.forEach((p) => console.warn(l, "-", p)));
|
|
436
436
|
}
|
|
437
437
|
function s(l) {
|
|
438
438
|
return r.default.dim(l);
|
|
@@ -862,9 +862,9 @@ var J1 = {}, o1 = {};
|
|
|
862
862
|
Object.defineProperty(t, "__esModule", {
|
|
863
863
|
value: !0
|
|
864
864
|
});
|
|
865
|
-
function e(
|
|
865
|
+
function e(p, h) {
|
|
866
866
|
for (var f in h)
|
|
867
|
-
Object.defineProperty(
|
|
867
|
+
Object.defineProperty(p, f, {
|
|
868
868
|
enumerable: !0,
|
|
869
869
|
get: h[f]
|
|
870
870
|
});
|
|
@@ -881,9 +881,9 @@ var J1 = {}, o1 = {};
|
|
|
881
881
|
}
|
|
882
882
|
});
|
|
883
883
|
const r = /* @__PURE__ */ i(q1), n = /* @__PURE__ */ i(a1);
|
|
884
|
-
function i(
|
|
885
|
-
return
|
|
886
|
-
default:
|
|
884
|
+
function i(p) {
|
|
885
|
+
return p && p.__esModule ? p : {
|
|
886
|
+
default: p
|
|
887
887
|
};
|
|
888
888
|
}
|
|
889
889
|
let a = {
|
|
@@ -907,26 +907,26 @@ var J1 = {}, o1 = {};
|
|
|
907
907
|
"generalizedModifiers"
|
|
908
908
|
]
|
|
909
909
|
};
|
|
910
|
-
function u(
|
|
910
|
+
function u(p, h) {
|
|
911
911
|
if (s.future.includes(h)) {
|
|
912
912
|
var f, C, T;
|
|
913
|
-
return
|
|
913
|
+
return p.future === "all" || ((T = (C = p == null || (f = p.future) === null || f === void 0 ? void 0 : f[h]) !== null && C !== void 0 ? C : a[h]) !== null && T !== void 0 ? T : !1);
|
|
914
914
|
}
|
|
915
915
|
if (s.experimental.includes(h)) {
|
|
916
916
|
var B, F, I;
|
|
917
|
-
return
|
|
917
|
+
return p.experimental === "all" || ((I = (F = p == null || (B = p.experimental) === null || B === void 0 ? void 0 : B[h]) !== null && F !== void 0 ? F : a[h]) !== null && I !== void 0 ? I : !1);
|
|
918
918
|
}
|
|
919
919
|
return !1;
|
|
920
920
|
}
|
|
921
|
-
function l(
|
|
922
|
-
if (
|
|
921
|
+
function l(p) {
|
|
922
|
+
if (p.experimental === "all")
|
|
923
923
|
return s.experimental;
|
|
924
924
|
var h;
|
|
925
|
-
return Object.keys((h =
|
|
925
|
+
return Object.keys((h = p == null ? void 0 : p.experimental) !== null && h !== void 0 ? h : {}).filter((f) => s.experimental.includes(f) && p.experimental[f]);
|
|
926
926
|
}
|
|
927
|
-
function o(
|
|
928
|
-
if (process.env.JEST_WORKER_ID === void 0 && l(
|
|
929
|
-
let h = l(
|
|
927
|
+
function o(p) {
|
|
928
|
+
if (process.env.JEST_WORKER_ID === void 0 && l(p).length > 0) {
|
|
929
|
+
let h = l(p).map((f) => r.default.yellow(f)).join(", ");
|
|
930
930
|
n.default.warn("experimental-flags-enabled", [
|
|
931
931
|
`You have enabled experimental features: ${h}`,
|
|
932
932
|
"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."
|
|
@@ -964,10 +964,10 @@ var J1 = {}, o1 = {};
|
|
|
964
964
|
if (l && l.has(s))
|
|
965
965
|
return l.get(s);
|
|
966
966
|
var o = {}, d = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
967
|
-
for (var
|
|
968
|
-
if (
|
|
969
|
-
var h = d ? Object.getOwnPropertyDescriptor(s,
|
|
970
|
-
h && (h.get || h.set) ? Object.defineProperty(o,
|
|
967
|
+
for (var p in s)
|
|
968
|
+
if (p !== "default" && Object.prototype.hasOwnProperty.call(s, p)) {
|
|
969
|
+
var h = d ? Object.getOwnPropertyDescriptor(s, p) : null;
|
|
970
|
+
h && (h.get || h.set) ? Object.defineProperty(o, p, h) : o[p] = s[p];
|
|
971
971
|
}
|
|
972
972
|
return o.default = s, l && l.set(s, o), o;
|
|
973
973
|
}
|
|
@@ -1012,8 +1012,8 @@ var J1 = {}, o1 = {};
|
|
|
1012
1012
|
"https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"
|
|
1013
1013
|
]), s.safelist = (() => {
|
|
1014
1014
|
var o;
|
|
1015
|
-
let { content: d, purge:
|
|
1016
|
-
return Array.isArray(h) ? h : Array.isArray(d == null ? void 0 : d.safelist) ? d.safelist : Array.isArray(
|
|
1015
|
+
let { content: d, purge: p, safelist: h } = s;
|
|
1016
|
+
return Array.isArray(h) ? h : Array.isArray(d == null ? void 0 : d.safelist) ? d.safelist : Array.isArray(p == null ? void 0 : p.safelist) ? p.safelist : Array.isArray(p == null || (o = p.options) === null || o === void 0 ? void 0 : o.safelist) ? p.options.safelist : [];
|
|
1017
1017
|
})(), s.blocklist = (() => {
|
|
1018
1018
|
let { blocklist: o } = s;
|
|
1019
1019
|
if (Array.isArray(o)) {
|
|
@@ -1048,14 +1048,14 @@ var J1 = {}, o1 = {};
|
|
|
1048
1048
|
let o = (() => {
|
|
1049
1049
|
var h, f, C, T, B, F, I, O, R, G;
|
|
1050
1050
|
return !((h = s.purge) === null || h === void 0) && h.extract ? s.purge.extract : !((f = s.content) === null || f === void 0) && f.extract ? s.content.extract : !((C = s.purge) === null || C === void 0 || (T = C.extract) === null || T === void 0) && T.DEFAULT ? s.purge.extract.DEFAULT : !((B = s.content) === null || B === void 0 || (F = B.extract) === null || F === void 0) && F.DEFAULT ? s.content.extract.DEFAULT : !((I = s.purge) === null || I === void 0 || (O = I.options) === null || O === void 0) && O.extractors ? s.purge.options.extractors : !((R = s.content) === null || R === void 0 || (G = R.options) === null || G === void 0) && G.extractors ? s.content.options.extractors : {};
|
|
1051
|
-
})(), d = {},
|
|
1051
|
+
})(), d = {}, p = (() => {
|
|
1052
1052
|
var h, f, C, T;
|
|
1053
1053
|
if (!((h = s.purge) === null || h === void 0 || (f = h.options) === null || f === void 0) && f.defaultExtractor)
|
|
1054
1054
|
return s.purge.options.defaultExtractor;
|
|
1055
1055
|
if (!((C = s.content) === null || C === void 0 || (T = C.options) === null || T === void 0) && T.defaultExtractor)
|
|
1056
1056
|
return s.content.options.defaultExtractor;
|
|
1057
1057
|
})();
|
|
1058
|
-
if (
|
|
1058
|
+
if (p !== void 0 && (d.DEFAULT = p), typeof o == "function")
|
|
1059
1059
|
d.DEFAULT = o;
|
|
1060
1060
|
else if (Array.isArray(o))
|
|
1061
1061
|
for (let { extensions: h, extractor: f } of o != null ? o : [])
|
|
@@ -1067,8 +1067,8 @@ var J1 = {}, o1 = {};
|
|
|
1067
1067
|
})(),
|
|
1068
1068
|
transform: (() => {
|
|
1069
1069
|
let o = (() => {
|
|
1070
|
-
var
|
|
1071
|
-
return !((
|
|
1070
|
+
var p, h, f, C, T, B;
|
|
1071
|
+
return !((p = s.purge) === null || p === void 0) && p.transform ? s.purge.transform : !((h = s.content) === null || h === void 0) && h.transform ? s.content.transform : !((f = s.purge) === null || f === void 0 || (C = f.transform) === null || C === void 0) && C.DEFAULT ? s.purge.transform.DEFAULT : !((T = s.content) === null || T === void 0 || (B = T.transform) === null || B === void 0) && B.DEFAULT ? s.content.transform.DEFAULT : {};
|
|
1072
1072
|
})(), d = {};
|
|
1073
1073
|
return typeof o == "function" && (d.DEFAULT = o), typeof o == "object" && o !== null && Object.assign(d, o), d;
|
|
1074
1074
|
})()
|
|
@@ -1910,7 +1910,7 @@ var b1 = {}, x1 = {}, se = {};
|
|
|
1910
1910
|
default: C
|
|
1911
1911
|
};
|
|
1912
1912
|
}
|
|
1913
|
-
let i = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, a = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, s = /(?:\d+|\d*\.\d+)%?/, u = /(?:\s*,\s*|\s+)/, l = /\s*[,/]\s*/, o = /var\(--(?:[^ )]*?)\)/, d = new RegExp(`^(rgba?)\\(\\s*(${s.source}|${o.source})(?:${u.source}(${s.source}|${o.source}))?(?:${u.source}(${s.source}|${o.source}))?(?:${l.source}(${s.source}|${o.source}))?\\s*\\)$`),
|
|
1913
|
+
let i = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, a = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, s = /(?:\d+|\d*\.\d+)%?/, u = /(?:\s*,\s*|\s+)/, l = /\s*[,/]\s*/, o = /var\(--(?:[^ )]*?)\)/, d = new RegExp(`^(rgba?)\\(\\s*(${s.source}|${o.source})(?:${u.source}(${s.source}|${o.source}))?(?:${u.source}(${s.source}|${o.source}))?(?:${l.source}(${s.source}|${o.source}))?\\s*\\)$`), p = new RegExp(`^(hsla?)\\(\\s*((?:${s.source})(?:deg|rad|grad|turn)?|${o.source})(?:${u.source}(${s.source}|${o.source}))?(?:${u.source}(${s.source}|${o.source}))?(?:${l.source}(${s.source}|${o.source}))?\\s*\\)$`);
|
|
1914
1914
|
function h(C, { loose: T = !1 } = {}) {
|
|
1915
1915
|
var B, F;
|
|
1916
1916
|
if (typeof C != "string")
|
|
@@ -1951,7 +1951,7 @@ var b1 = {}, x1 = {}, se = {};
|
|
|
1951
1951
|
alpha: I[4] ? (parseInt(I[4], 16) / 255).toString() : void 0
|
|
1952
1952
|
};
|
|
1953
1953
|
var O;
|
|
1954
|
-
let R = (O = C.match(d)) !== null && O !== void 0 ? O : C.match(
|
|
1954
|
+
let R = (O = C.match(d)) !== null && O !== void 0 ? O : C.match(p);
|
|
1955
1955
|
if (R === null)
|
|
1956
1956
|
return null;
|
|
1957
1957
|
let G = [
|
|
@@ -2089,9 +2089,9 @@ var M1 = {}, ie = {}, l1 = {};
|
|
|
2089
2089
|
]), i = /\ +(?![^(]*\))/g, a = /^-?(\d+|\.\d+)(.*?)$/g;
|
|
2090
2090
|
function s(l) {
|
|
2091
2091
|
return (0, r.splitAtTopLevelOnly)(l, ",").map((d) => {
|
|
2092
|
-
let
|
|
2093
|
-
raw:
|
|
2094
|
-
}, f =
|
|
2092
|
+
let p = d.trim(), h = {
|
|
2093
|
+
raw: p
|
|
2094
|
+
}, f = p.split(i), C = /* @__PURE__ */ new Set();
|
|
2095
2095
|
for (let T of f)
|
|
2096
2096
|
a.lastIndex = 0, !C.has("KEYWORD") && n.has(T) ? (h.keyword = T, C.add("KEYWORD")) : a.test(T) ? C.has("X") ? C.has("Y") ? C.has("BLUR") ? C.has("SPREAD") || (h.spread = T, C.add("SPREAD")) : (h.blur = T, C.add("BLUR")) : (h.y = T, C.add("Y")) : (h.x = T, C.add("X")) : h.color ? (h.unknown || (h.unknown = []), h.unknown.push(T)) : h.color = T;
|
|
2097
2097
|
return h.valid = h.x !== void 0 && h.y !== void 0, h;
|
|
@@ -2124,7 +2124,7 @@ var M1 = {}, ie = {}, l1 = {};
|
|
|
2124
2124
|
return o;
|
|
2125
2125
|
},
|
|
2126
2126
|
url: function() {
|
|
2127
|
-
return
|
|
2127
|
+
return p;
|
|
2128
2128
|
},
|
|
2129
2129
|
number: function() {
|
|
2130
2130
|
return h;
|
|
@@ -2186,7 +2186,7 @@ var M1 = {}, ie = {}, l1 = {};
|
|
|
2186
2186
|
return w.replace(/var\((--.+?)[,)]/g, (z, r1) => (P.push(r1), z.replace(r1, u))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(l, () => P.shift());
|
|
2187
2187
|
});
|
|
2188
2188
|
}
|
|
2189
|
-
function
|
|
2189
|
+
function p(g) {
|
|
2190
2190
|
return g.startsWith("url(");
|
|
2191
2191
|
}
|
|
2192
2192
|
function h(g) {
|
|
@@ -2254,7 +2254,7 @@ var M1 = {}, ie = {}, l1 = {};
|
|
|
2254
2254
|
}
|
|
2255
2255
|
function G(g) {
|
|
2256
2256
|
let w = 0;
|
|
2257
|
-
return (0, i.splitAtTopLevelOnly)(g, ",").every((z) => (z = o(z), z.startsWith("var(") ? !0 :
|
|
2257
|
+
return (0, i.splitAtTopLevelOnly)(g, ",").every((z) => (z = o(z), z.startsWith("var(") ? !0 : p(z) || X(z) || [
|
|
2258
2258
|
"element(",
|
|
2259
2259
|
"image(",
|
|
2260
2260
|
"cross-fade(",
|
|
@@ -2407,7 +2407,7 @@ var ae = {};
|
|
|
2407
2407
|
if (E($))
|
|
2408
2408
|
return (0, i.normalize)($);
|
|
2409
2409
|
}
|
|
2410
|
-
function
|
|
2410
|
+
function p(y, E = {}, $) {
|
|
2411
2411
|
let v = E[y];
|
|
2412
2412
|
if (v !== void 0)
|
|
2413
2413
|
return (0, a.default)(v);
|
|
@@ -2419,7 +2419,7 @@ var ae = {};
|
|
|
2419
2419
|
function h(y, E = {}, { validate: $ = () => !0 } = {}) {
|
|
2420
2420
|
var v;
|
|
2421
2421
|
let M = (v = E.values) === null || v === void 0 ? void 0 : v[y];
|
|
2422
|
-
return M !== void 0 ? M : E.supportsNegativeValues && y.startsWith("-") ?
|
|
2422
|
+
return M !== void 0 ? M : E.supportsNegativeValues && y.startsWith("-") ? p(y.slice(1), E.values, $) : d(y, $);
|
|
2423
2423
|
}
|
|
2424
2424
|
function f(y) {
|
|
2425
2425
|
return y.startsWith("[") && y.endsWith("]");
|
|
@@ -2573,7 +2573,7 @@ var oe = {};
|
|
|
2573
2573
|
return $;
|
|
2574
2574
|
}
|
|
2575
2575
|
});
|
|
2576
|
-
const e = /* @__PURE__ */ f(v1), r = /* @__PURE__ */ f(V1), n = /* @__PURE__ */ f(Y1), i = /* @__PURE__ */ f(_1), a = K1, s = Q1, u = J1, l = /* @__PURE__ */ f(ee), o = te, d = re,
|
|
2576
|
+
const e = /* @__PURE__ */ f(v1), r = /* @__PURE__ */ f(V1), n = /* @__PURE__ */ f(Y1), i = /* @__PURE__ */ f(_1), a = K1, s = Q1, u = J1, l = /* @__PURE__ */ f(ee), o = te, d = re, p = b1, h = /* @__PURE__ */ f(oe);
|
|
2577
2577
|
function f(v) {
|
|
2578
2578
|
return v && v.__esModule ? v : {
|
|
2579
2579
|
default: v
|
|
@@ -2664,7 +2664,7 @@ var oe = {};
|
|
|
2664
2664
|
if (w !== void 0) {
|
|
2665
2665
|
if (k.alpha !== void 0) {
|
|
2666
2666
|
let P = (0, d.parseColorFormat)(w);
|
|
2667
|
-
return (0,
|
|
2667
|
+
return (0, p.withAlphaValue)(P, k.alpha, (0, h.default)(P));
|
|
2668
2668
|
}
|
|
2669
2669
|
return (0, l.default)(w) ? (0, o.cloneDeep)(w) : w;
|
|
2670
2670
|
}
|
|
@@ -4395,8 +4395,8 @@ const e0 = S.extend({
|
|
|
4395
4395
|
), this.top = Math.round(
|
|
4396
4396
|
s - n.top - Number(d) * (i.height * this.scale / l)
|
|
4397
4397
|
);
|
|
4398
|
-
const
|
|
4399
|
-
this.left < h ? this.left = h : this.left >
|
|
4398
|
+
const p = 0, h = 0 - n.width * (this.scale - 1), f = 0 - n.height * (this.scale - 1), C = 0;
|
|
4399
|
+
this.left < h ? this.left = h : this.left > p && (this.left = p), this.top < f ? this.top = f : this.top > C && (this.top = C), this.updateTransform();
|
|
4400
4400
|
},
|
|
4401
4401
|
handleMouseDown(t) {
|
|
4402
4402
|
!this.isZoomed || this.disabled || (this.isPanning = !0, this.panStart = { x: t.clientX, y: t.clientY });
|
|
@@ -4579,6 +4579,14 @@ const he = n0.exports, h1 = new Intl.NumberFormat(void 0, {
|
|
|
4579
4579
|
withOverlayOnBackground: {
|
|
4580
4580
|
type: Boolean,
|
|
4581
4581
|
default: !1
|
|
4582
|
+
},
|
|
4583
|
+
fallbackSrc: {
|
|
4584
|
+
type: String,
|
|
4585
|
+
default: ""
|
|
4586
|
+
},
|
|
4587
|
+
hlsOptions: {
|
|
4588
|
+
type: Object,
|
|
4589
|
+
default: () => ({})
|
|
4582
4590
|
}
|
|
4583
4591
|
},
|
|
4584
4592
|
data() {
|
|
@@ -4657,22 +4665,23 @@ const he = n0.exports, h1 = new Intl.NumberFormat(void 0, {
|
|
|
4657
4665
|
this.unbindEvents(), this.destroyPlayer(), this.removeFullscreenListeners();
|
|
4658
4666
|
},
|
|
4659
4667
|
methods: {
|
|
4660
|
-
initHls() {
|
|
4661
|
-
var
|
|
4662
|
-
const
|
|
4663
|
-
(
|
|
4668
|
+
initHls(t = "") {
|
|
4669
|
+
var n, i, a, s, u;
|
|
4670
|
+
const e = this.$refs.player, r = this.sources[0];
|
|
4671
|
+
(n = this.player) != null && n.stopLoad && this.player.stopLoad(), J.isSupported() && (this.isLoading = !0, this.player = new J({
|
|
4664
4672
|
startPosition: 0,
|
|
4665
|
-
xhrSetup: (
|
|
4666
|
-
this.streamingToken &&
|
|
4673
|
+
xhrSetup: (l) => {
|
|
4674
|
+
this.streamingToken && l.setRequestHeader(
|
|
4667
4675
|
"Authorization",
|
|
4668
4676
|
`Bearer ${this.streamingToken}`
|
|
4669
4677
|
);
|
|
4670
|
-
}
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
d
|
|
4675
|
-
|
|
4678
|
+
},
|
|
4679
|
+
...this.hlsOptions
|
|
4680
|
+
}), (i = this.player) == null || i.loadSource(t || r.src), (a = this.player) == null || a.attachMedia(e), (s = this.player) == null || s.on(J.Events.MANIFEST_PARSED, (l, o) => {
|
|
4681
|
+
var h;
|
|
4682
|
+
const d = (h = o.levels[o.firstLevel]) == null ? void 0 : h.details, p = d == null ? void 0 : d.startTimeOffset;
|
|
4683
|
+
e.currentTime = p || 0, this.playing && e.play();
|
|
4684
|
+
}), (u = this.player) == null || u.on(J.Events.ERROR, this.handleHlsError));
|
|
4676
4685
|
},
|
|
4677
4686
|
onContainerClick() {
|
|
4678
4687
|
this.pauseOnClick && this.togglePlay();
|
|
@@ -4681,21 +4690,25 @@ const he = n0.exports, h1 = new Intl.NumberFormat(void 0, {
|
|
|
4681
4690
|
this.isWebRtc || (this.isError = !0, this.isLoading = !1, this.playing = !1);
|
|
4682
4691
|
},
|
|
4683
4692
|
handleHlsError(t, e) {
|
|
4684
|
-
var
|
|
4693
|
+
var o;
|
|
4685
4694
|
if (!e.fatal)
|
|
4686
4695
|
return;
|
|
4687
|
-
const r = e.type === J.ErrorTypes.NETWORK_ERROR, n = e.type === J.ErrorTypes.MEDIA_ERROR, i = r && ((
|
|
4696
|
+
const r = e.type === J.ErrorTypes.NETWORK_ERROR, n = e.type === J.ErrorTypes.MEDIA_ERROR, i = r && ((o = e.networkDetails) == null ? void 0 : o.status) === 404, a = this.$refs.player, s = () => this.fallbackSrc && (a == null ? void 0 : a.currentSrc) !== this.fallbackSrc, u = () => this.initHls(this.fallbackSrc), l = () => {
|
|
4697
|
+
if (s()) {
|
|
4698
|
+
u();
|
|
4699
|
+
return;
|
|
4700
|
+
}
|
|
4688
4701
|
this.player.destroy(), this.videoListeners.error ? this.videoListeners.error() : this.handle404Error();
|
|
4689
4702
|
};
|
|
4690
4703
|
if (i) {
|
|
4691
|
-
|
|
4704
|
+
l();
|
|
4692
4705
|
return;
|
|
4693
4706
|
}
|
|
4694
4707
|
if (r) {
|
|
4695
|
-
console.error("A network error occurred:", e), this.player.startLoad();
|
|
4708
|
+
console.error("A network error occurred:", e), s() ? u() : this.player.startLoad();
|
|
4696
4709
|
return;
|
|
4697
4710
|
}
|
|
4698
|
-
n && (console.error("A media error occurred:", e), this.player.recoverMediaError()),
|
|
4711
|
+
n && (console.error("A media error occurred:", e), s() ? u() : this.player.recoverMediaError()), l();
|
|
4699
4712
|
},
|
|
4700
4713
|
bindEvents() {
|
|
4701
4714
|
const t = this.$refs.player;
|
|
@@ -4898,7 +4911,7 @@ var i0 = function() {
|
|
|
4898
4911
|
} }, scopedSlots: e._u([{ key: "overlay", fn: function() {
|
|
4899
4912
|
return [e._t("zoomable-overlay")];
|
|
4900
4913
|
}, proxy: !0 }], null, !0) }, [e._t("background", function() {
|
|
4901
|
-
return [r("div", { staticClass: "e-relative" }, [r("img", { staticClass: "e-absolute e-block e-w-full e-scale-150 e-z-[-1] e-inset-0 e-m-auto e-blur-video-poster", attrs: { src: e.posterUrl, alt: "background-image" }, on: { error: function(n) {
|
|
4914
|
+
return [r("div", { staticClass: "e-relative e-overflow-hidden" }, [r("img", { staticClass: "e-absolute e-block e-w-full e-scale-150 e-z-[-1] e-inset-0 e-m-auto e-blur-video-poster", attrs: { src: e.posterUrl, alt: "background-image" }, on: { error: function(n) {
|
|
4902
4915
|
return e.$emit("poster-error", n);
|
|
4903
4916
|
} } })])];
|
|
4904
4917
|
}), r("video", e._g(e._b({ ref: "player", class: {
|
|
@@ -4925,7 +4938,7 @@ var i0 = function() {
|
|
|
4925
4938
|
a0,
|
|
4926
4939
|
!1,
|
|
4927
4940
|
null,
|
|
4928
|
-
"
|
|
4941
|
+
"1f229658",
|
|
4929
4942
|
null,
|
|
4930
4943
|
null
|
|
4931
4944
|
);
|
|
@@ -4941,10 +4954,10 @@ const l0 = o0.exports, i1 = (t) => {
|
|
|
4941
4954
|
).getUTCDate() === 1 ? "" : c.utcFormat("%-d")(t), e1 = (t) => ["0", " 0", "00"].includes(c.utcFormat("%H")(t)) ? "" : `${c.utcFormat("%H")(t)}h`, K = (t) => {
|
|
4942
4955
|
const e = c.utcFormat("%H:%M")(t);
|
|
4943
4956
|
return e === "00:00" ? "" : e;
|
|
4944
|
-
},
|
|
4957
|
+
}, p1 = (t) => c.utcFormat("%M:%S")(t), k1 = (t) => `${c.utcFormat("%Hh%Mm")(t)}`, g1 = (t) => {
|
|
4945
4958
|
const e = K(t), r = i1(t), n = c.utcFormat("%B")(t);
|
|
4946
4959
|
return e || `${n} ${r}`;
|
|
4947
|
-
},
|
|
4960
|
+
}, m1 = (t) => {
|
|
4948
4961
|
const e = K(t), r = Number.parseInt(c.utcFormat("%H")(t)), n = i1(t), i = c.utcFormat("%B")(t);
|
|
4949
4962
|
return e && r % 6 === 0 ? `${i} ${n} ${e}` : g1(t);
|
|
4950
4963
|
}, t1 = (t) => (e) => {
|
|
@@ -5004,17 +5017,17 @@ const c0 = {
|
|
|
5004
5017
|
{
|
|
5005
5018
|
precision: b._5_minutes,
|
|
5006
5019
|
interval: c.utcMinute.every(20),
|
|
5007
|
-
format:
|
|
5020
|
+
format: m1
|
|
5008
5021
|
},
|
|
5009
5022
|
{
|
|
5010
5023
|
precision: b._15_minutes,
|
|
5011
5024
|
interval: c.utcHour,
|
|
5012
|
-
format:
|
|
5025
|
+
format: m1
|
|
5013
5026
|
},
|
|
5014
5027
|
{
|
|
5015
5028
|
precision: b._30_minutes,
|
|
5016
5029
|
interval: c.utcHour.every(2),
|
|
5017
|
-
format:
|
|
5030
|
+
format: m1
|
|
5018
5031
|
},
|
|
5019
5032
|
{
|
|
5020
5033
|
precision: b._2_hours,
|
|
@@ -5080,17 +5093,17 @@ const c0 = {
|
|
|
5080
5093
|
{
|
|
5081
5094
|
precision: b._10_seconds,
|
|
5082
5095
|
interval: c.utcSecond.every(10),
|
|
5083
|
-
format:
|
|
5096
|
+
format: p1
|
|
5084
5097
|
},
|
|
5085
5098
|
{
|
|
5086
5099
|
precision: b._20_seconds,
|
|
5087
5100
|
interval: (H1 = c.utcSecond.every(20)) == null ? void 0 : H1.filter(D1(2)),
|
|
5088
|
-
format:
|
|
5101
|
+
format: p1
|
|
5089
5102
|
},
|
|
5090
5103
|
{
|
|
5091
5104
|
precision: b._30_seconds,
|
|
5092
5105
|
interval: (F1 = c.utcSecond.every(30)) == null ? void 0 : F1.filter(D1(2)),
|
|
5093
|
-
format:
|
|
5106
|
+
format: p1
|
|
5094
5107
|
},
|
|
5095
5108
|
{
|
|
5096
5109
|
precision: b._1_minute,
|
|
@@ -5577,7 +5590,7 @@ var h0 = function() {
|
|
|
5577
5590
|
}, style: e.styles, attrs: { tabindex: "0" }, on: { mouseover: (n) => e.onMilestoneMouseOver(n, e.milestone), mousemove: e.onMilestoneMouseMove, mouseleave: (n) => e.onMilestoneMouseLeave(n, e.milestone), click: (n) => e.onMilestoneClick(n, e.milestone) } }, [r("div", { class: e.milestoneClasses.milestoneContent, style: e.contentStyles }, [e._t("content", function() {
|
|
5578
5591
|
return [r("span", [e._v(" " + e._s(e.milestone.text) + " ")])];
|
|
5579
5592
|
})], 2), e.dot ? r("div", { class: e.milestoneClasses.milestoneDotContainer, style: e.dotContainerStyles }, [r("div", { class: e.milestoneClasses.milestoneDotLine, style: e.lineStyles }), r("div", { class: e.milestoneClasses.milestoneDotDot, style: e.dotStyles })]) : r("div", { class: e.milestoneClasses.milestoneLabel, style: e.labelStyles }, [e._t("label")], 2)]);
|
|
5580
|
-
}, f0 = [],
|
|
5593
|
+
}, f0 = [], p0 = /* @__PURE__ */ D(
|
|
5581
5594
|
d0,
|
|
5582
5595
|
h0,
|
|
5583
5596
|
f0,
|
|
@@ -5587,7 +5600,7 @@ var h0 = function() {
|
|
|
5587
5600
|
null,
|
|
5588
5601
|
null
|
|
5589
5602
|
);
|
|
5590
|
-
const
|
|
5603
|
+
const m0 = p0.exports, m = {
|
|
5591
5604
|
eventGroup: "event-group",
|
|
5592
5605
|
eventGroupBg: "event-group-bg",
|
|
5593
5606
|
eventRect: "event-rect",
|
|
@@ -5634,7 +5647,7 @@ const p0 = m0.exports, p = {
|
|
|
5634
5647
|
resizeObserver: w1
|
|
5635
5648
|
},
|
|
5636
5649
|
components: {
|
|
5637
|
-
ETimelineMilestone:
|
|
5650
|
+
ETimelineMilestone: m0
|
|
5638
5651
|
},
|
|
5639
5652
|
props: {
|
|
5640
5653
|
eventsGroups: {
|
|
@@ -5796,6 +5809,10 @@ const p0 = m0.exports, p = {
|
|
|
5796
5809
|
timezone: {
|
|
5797
5810
|
type: [String, void 0],
|
|
5798
5811
|
default: void 0
|
|
5812
|
+
},
|
|
5813
|
+
stopClickPropagation: {
|
|
5814
|
+
type: Boolean,
|
|
5815
|
+
default: !1
|
|
5799
5816
|
}
|
|
5800
5817
|
},
|
|
5801
5818
|
data() {
|
|
@@ -6108,8 +6125,8 @@ const p0 = m0.exports, p = {
|
|
|
6108
6125
|
opacity: 0.4
|
|
6109
6126
|
}
|
|
6110
6127
|
].forEach(({ id: l, stop: o, opacity: d }) => {
|
|
6111
|
-
const
|
|
6112
|
-
|
|
6128
|
+
const p = t.append("linearGradient").attr("id", `${l}-${r}`).attr("x1", "0%").attr("x2", "0%").attr("y1", "0%").attr("y2", "100%");
|
|
6129
|
+
p.append("stop").attr("offset", "0%").style("stop-color", i).style("stop-opacity", d), p.append("stop").attr("offset", `${o}%`).style("stop-color", i).style("stop-opacity", 0);
|
|
6113
6130
|
});
|
|
6114
6131
|
}
|
|
6115
6132
|
), t.append("pattern").attr("id", q.stripedPattern).attr("width", 5).attr("height", 3).attr("patternUnits", "userSpaceOnUse").attr("patternTransform", "rotate(45)").append("rect").attr("width", 1).attr("height", 4).attr("transform", "translate(0,0)").attr("fill", this.forbiddenIntervalColor);
|
|
@@ -6127,7 +6144,7 @@ const p0 = m0.exports, p = {
|
|
|
6127
6144
|
const e = 5;
|
|
6128
6145
|
for (const r in this.xAxesConfig) {
|
|
6129
6146
|
const n = this.createAxis(r);
|
|
6130
|
-
this.xAxes[r] = n, this.svg.append("g").classed(
|
|
6147
|
+
this.xAxes[r] = n, this.svg.append("g").classed(m.xAxis, !0).classed(`${m.xAxis}-${r}`, !0).attr("transform", `translate(0, ${t || e})`).call(n), this.translateTicksText(r), t += this.axisHeight;
|
|
6131
6148
|
}
|
|
6132
6149
|
this.updateXAxes();
|
|
6133
6150
|
},
|
|
@@ -6136,7 +6153,7 @@ const p0 = m0.exports, p = {
|
|
|
6136
6153
|
const e = 5;
|
|
6137
6154
|
for (const r in this.xAxesConfig) {
|
|
6138
6155
|
const n = this.xAxes[r];
|
|
6139
|
-
n.tickSizeOuter(0), n.tickSizeInner(this.timelineHeight), this.svg.select(`.${
|
|
6156
|
+
n.tickSizeOuter(0), n.tickSizeInner(this.timelineHeight), this.svg.select(`.${m.xAxis}-${r}`).attr("transform", `translate(0, ${t || e})`).call(n), this.translateTicksText(r), t += this.axisHeight;
|
|
6140
6157
|
}
|
|
6141
6158
|
},
|
|
6142
6159
|
initYScale() {
|
|
@@ -6165,7 +6182,7 @@ const p0 = m0.exports, p = {
|
|
|
6165
6182
|
if (!t || !e)
|
|
6166
6183
|
return;
|
|
6167
6184
|
this.isZoomingInterval = !0;
|
|
6168
|
-
const r = new Date(t).getTime(), n = new Date(e).getTime(), i = this.initialTimeScale.domain().map((
|
|
6185
|
+
const r = new Date(t).getTime(), n = new Date(e).getTime(), i = this.initialTimeScale.domain().map((p) => p.getTime()), a = i[1] - i[0], s = n - r, u = 0.1 * s, l = s + 2 * u;
|
|
6169
6186
|
let o = a / l;
|
|
6170
6187
|
const d = this.zoomBehavior.scaleExtent();
|
|
6171
6188
|
o = Math.min(
|
|
@@ -6183,7 +6200,7 @@ const p0 = m0.exports, p = {
|
|
|
6183
6200
|
});
|
|
6184
6201
|
},
|
|
6185
6202
|
initSelectedTimestampCursor() {
|
|
6186
|
-
this.svg.append("line").attr("class",
|
|
6203
|
+
this.svg.append("line").attr("class", m.selectedTimestampCursor).style("stroke", "red").style("stroke-width", "1px").style("opacity", 0).attr("x1", 0).attr("x2", 0).attr("y1", 0), this.repositionSelectedTimestampCursor();
|
|
6187
6204
|
},
|
|
6188
6205
|
updateMarkers() {
|
|
6189
6206
|
if (!this.markers.length)
|
|
@@ -6194,8 +6211,8 @@ const p0 = m0.exports, p = {
|
|
|
6194
6211
|
let u = !1;
|
|
6195
6212
|
const l = this.stickyMarkers ? Math.max(s, n * t) : s;
|
|
6196
6213
|
if (n < i.length - 1) {
|
|
6197
|
-
const o = i[n + 1], d = typeof o.timestamp == "string" ? this.tzStringToDate(o.timestamp) : o.timestamp,
|
|
6198
|
-
u = (this.stickyMarkers ? Math.max(
|
|
6214
|
+
const o = i[n + 1], d = typeof o.timestamp == "string" ? this.tzStringToDate(o.timestamp) : o.timestamp, p = this.timeScale(d);
|
|
6215
|
+
u = (this.stickyMarkers ? Math.max(p, (n + 1) * t) : s) - l < e + t;
|
|
6199
6216
|
}
|
|
6200
6217
|
this.markersPositions = {
|
|
6201
6218
|
...this.markersPositions,
|
|
@@ -6213,7 +6230,7 @@ const p0 = m0.exports, p = {
|
|
|
6213
6230
|
this.svg && this.svg.remove(), this.countsByTimestamp = {};
|
|
6214
6231
|
},
|
|
6215
6232
|
repositionSelectedTimestampCursor() {
|
|
6216
|
-
const t = this.svg.select(`.${
|
|
6233
|
+
const t = this.svg.select(`.${m.selectedTimestampCursor}`);
|
|
6217
6234
|
if (!this.selectedTimestamp) {
|
|
6218
6235
|
t.style("opacity", 0);
|
|
6219
6236
|
return;
|
|
@@ -6264,12 +6281,12 @@ const p0 = m0.exports, p = {
|
|
|
6264
6281
|
if (!this.showLabels)
|
|
6265
6282
|
return;
|
|
6266
6283
|
const t = this;
|
|
6267
|
-
this.svg.selectAll(`.${
|
|
6284
|
+
this.svg.selectAll(`.${m.labelBg}`).each(function() {
|
|
6268
6285
|
c.select(this).style("fill", t.dark ? "black" : "white");
|
|
6269
|
-
}), this.svg.selectAll(`.${
|
|
6286
|
+
}), this.svg.selectAll(`.${m.labelBgFill}`).each(function() {
|
|
6270
6287
|
const e = c.select(this), r = e.node().dataset.color;
|
|
6271
6288
|
e.style("fill", t.getLabelBackgroundColor(r)).style("stroke", t.getTextFillColor(r)).style("stroke-width", 0.25);
|
|
6272
|
-
}), this.svg.selectAll(`.${
|
|
6289
|
+
}), this.svg.selectAll(`.${m.labelText}`).each(function() {
|
|
6273
6290
|
const e = c.select(this), r = e.node().dataset.color;
|
|
6274
6291
|
e.style("fill", t.getTextFillColor(r));
|
|
6275
6292
|
});
|
|
@@ -6303,10 +6320,10 @@ const p0 = m0.exports, p = {
|
|
|
6303
6320
|
if (e <= this.minHoverZone)
|
|
6304
6321
|
return;
|
|
6305
6322
|
const r = this.timeScale.invert(e), n = this.dateToTzString(r);
|
|
6306
|
-
this
|
|
6323
|
+
this.isHoveringEvent && (this.$emit("event-clicked", {
|
|
6307
6324
|
event: this.hoveredEvent,
|
|
6308
6325
|
type: this.hoveredEventType
|
|
6309
|
-
}), this.panOnDateClick && this.panToTimestamp(n);
|
|
6326
|
+
}), this.stopClickPropagation) || (this.$emit("date-clicked", n), this.panOnDateClick && this.panToTimestamp(n));
|
|
6310
6327
|
},
|
|
6311
6328
|
handleMarkerClick(t) {
|
|
6312
6329
|
this.$emit("marker-clicked", t), this.panOnDateClick && this.panToTimestamp(t.timestamp);
|
|
@@ -6333,20 +6350,20 @@ const p0 = m0.exports, p = {
|
|
|
6333
6350
|
this.isHoveringEvent = !1, this.hoveredEvent = null, this.$emit("event-mouseout");
|
|
6334
6351
|
},
|
|
6335
6352
|
handleLabelMouseOver(t) {
|
|
6336
|
-
c.selectAll(`.${
|
|
6337
|
-
`${
|
|
6353
|
+
c.selectAll(`.${m.lineGraphGroup}-${t}`).classed(
|
|
6354
|
+
`${m.lineGraphGroup}--highlighted`,
|
|
6338
6355
|
!0
|
|
6339
|
-
), c.selectAll(`.${
|
|
6340
|
-
`${
|
|
6356
|
+
), c.selectAll(`.${m.lineGraphGroupLabel}`).classed(
|
|
6357
|
+
`${m.lineGraphGroupLabel}--highlighted`,
|
|
6341
6358
|
!0
|
|
6342
6359
|
);
|
|
6343
6360
|
},
|
|
6344
6361
|
handleLabelMouseLeave(t) {
|
|
6345
|
-
c.selectAll(`.${
|
|
6346
|
-
`${
|
|
6362
|
+
c.selectAll(`.${m.lineGraphGroup}-${t}`).classed(
|
|
6363
|
+
`${m.lineGraphGroup}--highlighted`,
|
|
6347
6364
|
!1
|
|
6348
|
-
), c.selectAll(`.${
|
|
6349
|
-
`${
|
|
6365
|
+
), c.selectAll(`.${m.lineGraphGroupLabel}`).classed(
|
|
6366
|
+
`${m.lineGraphGroupLabel}--highlighted`,
|
|
6350
6367
|
!1
|
|
6351
6368
|
);
|
|
6352
6369
|
},
|
|
@@ -6415,7 +6432,7 @@ const p0 = m0.exports, p = {
|
|
|
6415
6432
|
t.x,
|
|
6416
6433
|
this.timeline.offsetWidth - this.rightCurtainWidth
|
|
6417
6434
|
);
|
|
6418
|
-
this.leftCurtainWidth = Math.max(0, e), this.svg.select(`.${
|
|
6435
|
+
this.leftCurtainWidth = Math.max(0, e), this.svg.select(`.${m.curtain}--left`).attr("width", this.leftCurtainWidth), this.emitCurtainChange();
|
|
6419
6436
|
},
|
|
6420
6437
|
handleRightDrag(t) {
|
|
6421
6438
|
t.sourceEvent.stopPropagation();
|
|
@@ -6423,12 +6440,12 @@ const p0 = m0.exports, p = {
|
|
|
6423
6440
|
this.timeline.offsetWidth - t.x,
|
|
6424
6441
|
this.timeline.offsetWidth - this.leftCurtainWidth
|
|
6425
6442
|
), n = e - r;
|
|
6426
|
-
this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${
|
|
6443
|
+
this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${m.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", n), this.emitCurtainChange();
|
|
6427
6444
|
},
|
|
6428
6445
|
zoomToStartAndEndDates() {
|
|
6429
6446
|
const t = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, e = this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate, r = this.tzStringToDate(t), n = this.tzStringToDate(e);
|
|
6430
6447
|
this.initialTimeScale.domain([r, n]);
|
|
6431
|
-
const i = c.zoomTransform(this.svg.node()), a = n.getTime() - r.getTime(), u = this.initialTimeScale.range().map((f) => this.initialTimeScale.invert(f)).reduce((f, C) => C.getTime() - f, 0) / a * i.k, o = -(this.initialTimeScale(r) * u), [d,
|
|
6448
|
+
const i = c.zoomTransform(this.svg.node()), a = n.getTime() - r.getTime(), u = this.initialTimeScale.range().map((f) => this.initialTimeScale.invert(f)).reduce((f, C) => C.getTime() - f, 0) / a * i.k, o = -(this.initialTimeScale(r) * u), [d, p] = this.zoomBehavior.scaleExtent(), h = Math.max(d, Math.min(p, u));
|
|
6432
6449
|
this.svg.transition().duration(this.zoomToBoundariesTransitionDuration).call(
|
|
6433
6450
|
this.zoomBehavior.transform,
|
|
6434
6451
|
c.zoomIdentity.translate(o, 0).scale(h)
|
|
@@ -6438,36 +6455,36 @@ const p0 = m0.exports, p = {
|
|
|
6438
6455
|
const r = this.xAxes[t], n = this.getAxisTicksConfig(
|
|
6439
6456
|
this.xAxesConfig[t]
|
|
6440
6457
|
);
|
|
6441
|
-
r.scale(e).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0), this.svg.select(`.${
|
|
6458
|
+
r.scale(e).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0), this.svg.select(`.${m.xAxis}-${t}`).call(r);
|
|
6442
6459
|
},
|
|
6443
6460
|
translateTicksText(t) {
|
|
6444
|
-
this.svg.select(`.${
|
|
6461
|
+
this.svg.select(`.${m.xAxis}-${t}`).selectAll(".tick text").each(function() {
|
|
6445
6462
|
let e = c.select(this), r = e.node().getBBox();
|
|
6446
6463
|
e.attr("x", r.height / 2).attr("y", 0).style("text-anchor", "start");
|
|
6447
6464
|
});
|
|
6448
6465
|
},
|
|
6449
6466
|
updateEventsBars() {
|
|
6450
|
-
const t = `.${
|
|
6467
|
+
const t = `.${m.eventGroup} > rect.${m.eventRect}`, e = `${t}:not(.${m.eventRect}--dot)`;
|
|
6451
6468
|
this.svg.selectAll(t).attr("x", this.getEventRectX), this.svg.selectAll(e).attr("width", this.getEventRectWidth);
|
|
6452
|
-
const r = `.${
|
|
6469
|
+
const r = `.${m.eventGroup} > text.${m.eventRectText}`;
|
|
6453
6470
|
this.svg.selectAll(r).attr("x", (n) => this.getEventRectX(n) + this.textPadding).text(this.getEventText);
|
|
6454
6471
|
},
|
|
6455
6472
|
updateBarChart() {
|
|
6456
6473
|
const t = Object.keys(this.barChartGroups).length;
|
|
6457
6474
|
Object.keys(this.barChartGroups).forEach((e, r) => {
|
|
6458
|
-
const n = (h) => (this.getEventRectWidth(h) - this.barXPadding * 2) / t, i = (h) => this.yScale.range()[0] - this.yScale(h.count), a = (h) => this.getEventRectX(h) + this.barXPadding + r * n(h), s = (h) => this.yScale(h.count), u = `.${
|
|
6475
|
+
const n = (h) => (this.getEventRectWidth(h) - this.barXPadding * 2) / t, i = (h) => this.yScale.range()[0] - this.yScale(h.count), a = (h) => this.getEventRectX(h) + this.barXPadding + r * n(h), s = (h) => this.yScale(h.count), u = `.${m.eventBarContainer}-${e}`, l = this.svg.selectAll(u), o = `.${m.barChartGroup} rect.${m.eventBarHoverZone}`;
|
|
6459
6476
|
l.selectAll(o).attr("x", a).attr("width", n);
|
|
6460
|
-
const d = `.${
|
|
6477
|
+
const d = `.${m.barChartGroup} rect.${m.eventBar}`;
|
|
6461
6478
|
l.selectAll(d).attr("x", a).attr("width", n).attr("y", s).attr("height", i);
|
|
6462
|
-
const
|
|
6463
|
-
l.selectAll(
|
|
6479
|
+
const p = `.${m.barChartGroup} rect.${m.eventBarCap}`;
|
|
6480
|
+
l.selectAll(p).attr("x", a).attr("width", n).attr("y", s);
|
|
6464
6481
|
});
|
|
6465
6482
|
},
|
|
6466
6483
|
updateLineGraphs() {
|
|
6467
6484
|
Object.entries(this.lineGraphGroups).forEach(([t]) => {
|
|
6468
6485
|
const e = c.area().x((r) => this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1((r) => this.yScale(r.count)).curve(c.curveMonotoneX);
|
|
6469
6486
|
this.svg.selectAll(
|
|
6470
|
-
`.${
|
|
6487
|
+
`.${m.lineGraphPath}-${t}`
|
|
6471
6488
|
).attr("d", (r) => e(r));
|
|
6472
6489
|
});
|
|
6473
6490
|
},
|
|
@@ -6475,11 +6492,11 @@ const p0 = m0.exports, p = {
|
|
|
6475
6492
|
Object.keys(this.lineGraphGroups).forEach((t) => {
|
|
6476
6493
|
const e = this;
|
|
6477
6494
|
this.svg.selectAll(
|
|
6478
|
-
`.${
|
|
6495
|
+
`.${m.lineGraphDot}-${t}`
|
|
6479
6496
|
).each(function(r) {
|
|
6480
6497
|
c.select(this).attr("cx", e.timeScale(e.tzStringToDate(r.timestamp))).attr("cy", e.yScale(r.count));
|
|
6481
6498
|
}), this.svg.selectAll(
|
|
6482
|
-
`.${
|
|
6499
|
+
`.${m.lineGraphHoverZone}-${t}`
|
|
6483
6500
|
).each(function(r) {
|
|
6484
6501
|
const n = e.timeScale(e.tzStringToDate(r.timestamp).getTime()) - 15;
|
|
6485
6502
|
c.select(this).attr("x", n).attr("y", 0).attr("width", 30).attr("height", e.chartHeight);
|
|
@@ -6521,7 +6538,7 @@ const p0 = m0.exports, p = {
|
|
|
6521
6538
|
}) {
|
|
6522
6539
|
if (!t.isDraggable)
|
|
6523
6540
|
return;
|
|
6524
|
-
r.type === "start" && (this.initialMarkerDragMouseOffset = r.x - e.node().querySelector(`.${
|
|
6541
|
+
r.type === "start" && (this.initialMarkerDragMouseOffset = r.x - e.node().querySelector(`.${m.markerLine}`).getBoundingClientRect().left, e.classed(m.markerDragged, !0));
|
|
6525
6542
|
const n = r.x - this.initialMarkerDragMouseOffset, i = this.timeScale.invert(
|
|
6526
6543
|
n - this.svg.node().getBoundingClientRect().left
|
|
6527
6544
|
), a = this.timeScale(i), s = this.isTimestampAllowedForMarker(
|
|
@@ -6536,7 +6553,7 @@ const p0 = m0.exports, p = {
|
|
|
6536
6553
|
...this.markersPositions[u],
|
|
6537
6554
|
position: a
|
|
6538
6555
|
}
|
|
6539
|
-
}, e.classed(
|
|
6556
|
+
}, e.classed(m.markerDragged, !1);
|
|
6540
6557
|
}
|
|
6541
6558
|
r.type !== "start" && this.$emit(`marker-drag-${r.type}`, {
|
|
6542
6559
|
marker: t,
|
|
@@ -6544,7 +6561,7 @@ const p0 = m0.exports, p = {
|
|
|
6544
6561
|
});
|
|
6545
6562
|
},
|
|
6546
6563
|
removeMarkersDragBehavior() {
|
|
6547
|
-
this.markersDragBehavior && (this.markersDragBehavior.on("start", null).on("drag", null).on("end", null), c.selectAll(`.${
|
|
6564
|
+
this.markersDragBehavior && (this.markersDragBehavior.on("start", null).on("drag", null).on("end", null), c.selectAll(`.${m.marker}`).call(
|
|
6548
6565
|
this.markersDragBehavior
|
|
6549
6566
|
));
|
|
6550
6567
|
},
|
|
@@ -6570,45 +6587,45 @@ const p0 = m0.exports, p = {
|
|
|
6570
6587
|
markerElement: c.select(this),
|
|
6571
6588
|
dragEvent: e
|
|
6572
6589
|
});
|
|
6573
|
-
}), c.selectAll(`.${
|
|
6590
|
+
}), c.selectAll(`.${m.marker}`).data(this.sortedMarkers).call(this.markersDragBehavior);
|
|
6574
6591
|
},
|
|
6575
6592
|
initCurtains() {
|
|
6576
6593
|
this.createCurtains(), this.updateCurtains();
|
|
6577
6594
|
},
|
|
6578
6595
|
createCurtains() {
|
|
6579
|
-
this.curtains && (this.svg.append("rect").classed(`${
|
|
6596
|
+
this.curtains && (this.svg.append("rect").classed(`${m.curtain} ${m.curtain}--left`, !0).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
|
|
6580
6597
|
c.drag().on("start", this.handleDragStart).on("drag", this.handleLeftDrag).on("end", this.handleDragEnd)
|
|
6581
|
-
), this.svg.append("rect").classed(`${
|
|
6598
|
+
), this.svg.append("rect").classed(`${m.curtain} ${m.curtain}--right`, !0).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
|
|
6582
6599
|
c.drag().on("start", this.handleDragStart).on("drag", this.handleRightDrag).on("end", this.handleDragEnd)
|
|
6583
6600
|
), this.updateCurtains());
|
|
6584
6601
|
},
|
|
6585
6602
|
updateCurtains() {
|
|
6586
6603
|
const t = this.timeline.offsetWidth, e = this.timelineHeight;
|
|
6587
|
-
this.svg.select(`.${
|
|
6604
|
+
this.svg.select(`.${m.curtain}--left`).attr("width", this.leftCurtainWidth).attr("height", e + this.curtainHandleWidth * 2).attr("y", -this.curtainHandleWidth).attr("x", -this.curtainHandleWidth), this.svg.select(`.${m.curtain}--right`).attr(
|
|
6588
6605
|
"x",
|
|
6589
6606
|
t - this.rightCurtainWidth + this.curtainHandleWidth
|
|
6590
6607
|
).attr("y", -this.curtainHandleWidth).attr("width", this.rightCurtainWidth + this.curtainHandleWidth * 2).attr("height", e + this.curtainHandleWidth * 2);
|
|
6591
6608
|
},
|
|
6592
6609
|
updateForbiddenIntervals(t = !1) {
|
|
6593
|
-
t && this.svg.selectAll(`.${
|
|
6610
|
+
t && this.svg.selectAll(`.${m.forbiddenInterval}`).remove();
|
|
6594
6611
|
const e = this.timeScale.domain();
|
|
6595
6612
|
this.forbiddenIntervals.forEach((r, n) => {
|
|
6596
6613
|
const i = r.startDate === -1 / 0 ? e[0] : this.tzStringToDate(r.startDate), a = r.endDate === 1 / 0 ? e[1] : this.tzStringToDate(r.endDate), s = this.timeScale(i), u = this.timeScale(a), l = Math.max(u - s, 0);
|
|
6597
|
-
let o = this.svg.select(`.${
|
|
6614
|
+
let o = this.svg.select(`.${m.forbiddenInterval}-${n}`);
|
|
6598
6615
|
o.empty() && (o = this.svg.append("rect").attr(
|
|
6599
6616
|
"class",
|
|
6600
|
-
`${
|
|
6617
|
+
`${m.forbiddenInterval} ${m.forbiddenInterval}-${n}`
|
|
6601
6618
|
).attr("fill", `url(#${q.stripedPattern})`)), o.attr("x", s).attr("y", 0).attr("width", l).attr("height", this.timelineHeight);
|
|
6602
6619
|
});
|
|
6603
6620
|
},
|
|
6604
6621
|
drawEventsGroups() {
|
|
6605
|
-
this.svg.selectAll(`g.${
|
|
6622
|
+
this.svg.selectAll(`g.${m.eventGroup}`).remove(), this.svg.selectAll(`.${m.barChartGroup}`).remove(), this.svg.selectAll(`.${m.lineGraphGroup}`).remove(), this.svg.selectAll(`.${m.lineGraphGroupLabel}`).remove(), this.svg.selectAll(`.${m.loadingIndicator}`).remove(), this.drawLineGraphEventsGroups(), this.drawBarEventsGroups(), this.drawBarChartEventsGroups(), this.drawMilestonesPlaceholder();
|
|
6606
6623
|
},
|
|
6607
6624
|
drawLineGraphEventsGroups() {
|
|
6608
6625
|
const t = this.combinedXAxesHeight + this.chartsYOffset, e = this.insertZerosAtInterval ? this.filledGapsLineGraphGroups : this.lineGraphGroups;
|
|
6609
6626
|
Object.entries(e).forEach(([r, n]) => {
|
|
6610
6627
|
const i = this.svg.append("g").classed(
|
|
6611
|
-
`${
|
|
6628
|
+
`${m.lineGraphGroup} ${m.lineGraphGroup}-${r}`,
|
|
6612
6629
|
!0
|
|
6613
6630
|
).attr("transform", `translate(0,${t})`), { color: a, events: s } = n;
|
|
6614
6631
|
this.drawLineGraph({
|
|
@@ -6627,7 +6644,7 @@ const p0 = m0.exports, p = {
|
|
|
6627
6644
|
const { color: a, isLoading: s, label: u } = n, l = Math.max(
|
|
6628
6645
|
this.chartMinLabelHeight,
|
|
6629
6646
|
this.barChartHeight
|
|
6630
|
-
), o = this.chartHeight - l * (i + 1), d = t + this.chartHeight - l,
|
|
6647
|
+
), o = this.chartHeight - l * (i + 1), d = t + this.chartHeight - l, p = this.svg.append("g").classed(m.lineGraphGroupLabel, !0).attr("transform", `translate(0,${t})`).on("mouseover", () => this.handleLabelMouseOver(r)).on("mouseleave", () => this.handleLabelMouseLeave(r));
|
|
6631
6648
|
this.drawProgressIndicator({
|
|
6632
6649
|
type: r,
|
|
6633
6650
|
color: a,
|
|
@@ -6639,7 +6656,7 @@ const p0 = m0.exports, p = {
|
|
|
6639
6656
|
type: r,
|
|
6640
6657
|
height: l,
|
|
6641
6658
|
yPosition: o,
|
|
6642
|
-
gElement:
|
|
6659
|
+
gElement: p
|
|
6643
6660
|
});
|
|
6644
6661
|
}
|
|
6645
6662
|
);
|
|
@@ -6651,7 +6668,7 @@ const p0 = m0.exports, p = {
|
|
|
6651
6668
|
type: n
|
|
6652
6669
|
}) {
|
|
6653
6670
|
const i = c.area().x((s) => this.timeScale(this.tzStringToDate(s.timestamp))).y0(this.timelineHeight).y1((s) => this.yScale(s.count)).curve(c.curveMonotoneX), a = `clip-${n}`;
|
|
6654
|
-
e.append("defs").append("clipPath").attr("id", a).append("rect").attr("width", this.timeline.offsetWidth).attr("height", this.chartHeight), e.append("path").datum(t).classed(`${
|
|
6671
|
+
e.append("defs").append("clipPath").attr("id", a).append("rect").attr("width", this.timeline.offsetWidth).attr("height", this.chartHeight), e.append("path").datum(t).classed(`${m.lineGraphPath}-${n}`, !0).attr("fill", `url(#${q.transparencyGradientLight}-${n})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (s) => i(s)).attr("clip-path", `url(#${a})`);
|
|
6655
6672
|
},
|
|
6656
6673
|
drawLineGraphHoverZones({
|
|
6657
6674
|
events: t,
|
|
@@ -6666,19 +6683,19 @@ const p0 = m0.exports, p = {
|
|
|
6666
6683
|
[n]: i.count
|
|
6667
6684
|
};
|
|
6668
6685
|
const s = e.append("circle").classed(
|
|
6669
|
-
`${
|
|
6686
|
+
`${m.lineGraphDot} ${m.lineGraphDot}-${n}`,
|
|
6670
6687
|
!0
|
|
6671
6688
|
).attr("cx", this.timeScale(this.tzStringToDate(i.timestamp))).attr("cy", this.yScale(i.count)).attr("r", 1.5).attr("fill", r).attr("stroke-width", 0).datum(i);
|
|
6672
6689
|
this.dotsByTimestamp[a] = [
|
|
6673
6690
|
...this.dotsByTimestamp[a] || [],
|
|
6674
6691
|
s
|
|
6675
|
-
], e.append("rect").classed(`${
|
|
6692
|
+
], e.append("rect").classed(`${m.lineGraphHoverZone}-${n}`, !0).attr("x", this.timeScale(this.tzStringToDate(i.timestamp)) - 15).attr("y", 0).attr("width", 30).attr("height", this.chartHeight).attr("fill", "transparent").datum(i).on("mouseover", (u) => {
|
|
6676
6693
|
this.handleLineMouseOver(u, i, n), this.dotsByTimestamp[a].forEach(
|
|
6677
|
-
(l) => l.classed(`${
|
|
6694
|
+
(l) => l.classed(`${m.lineGraphDot}--active`, !0)
|
|
6678
6695
|
);
|
|
6679
6696
|
}).on("mouseout", () => {
|
|
6680
6697
|
this.handleLineMouseOut(), this.dotsByTimestamp[a].forEach(
|
|
6681
|
-
(u) => u.classed(`${
|
|
6698
|
+
(u) => u.classed(`${m.lineGraphDot}--active`, !1)
|
|
6682
6699
|
);
|
|
6683
6700
|
});
|
|
6684
6701
|
});
|
|
@@ -6697,7 +6714,7 @@ const p0 = m0.exports, p = {
|
|
|
6697
6714
|
label: l,
|
|
6698
6715
|
events: o,
|
|
6699
6716
|
barBorderRadius: d,
|
|
6700
|
-
isLoading:
|
|
6717
|
+
isLoading: p,
|
|
6701
6718
|
height: h,
|
|
6702
6719
|
chartType: f
|
|
6703
6720
|
} = e;
|
|
@@ -6711,9 +6728,9 @@ const p0 = m0.exports, p = {
|
|
|
6711
6728
|
yPosition: C,
|
|
6712
6729
|
type: t,
|
|
6713
6730
|
color: s,
|
|
6714
|
-
isLoading:
|
|
6731
|
+
isLoading: p
|
|
6715
6732
|
});
|
|
6716
|
-
const F = this.svg.append("g").attr("data-color", s).classed(
|
|
6733
|
+
const F = this.svg.append("g").attr("data-color", s).classed(m.eventGroup, !0).classed(`${m.eventGroup}-${t}`, !0);
|
|
6717
6734
|
if (this.drawBackground({
|
|
6718
6735
|
color: u || s,
|
|
6719
6736
|
gElement: F,
|
|
@@ -6805,7 +6822,7 @@ const p0 = m0.exports, p = {
|
|
|
6805
6822
|
updateMilestonesPositions() {
|
|
6806
6823
|
Object.entries(this.milestonesGroups).forEach(([t, e]) => {
|
|
6807
6824
|
const r = this.getMilestoneGroupYPosition(t), n = this.svg.select(
|
|
6808
|
-
`g.${
|
|
6825
|
+
`g.${m.eventGroup}-${t}`
|
|
6809
6826
|
), i = 2, s = (e.height || this.barChartHeight) / 2, u = r + s - i / 2;
|
|
6810
6827
|
n.attr("x1", 0).attr("x2", this.timeline.offsetWidth).select(`.${Q.milestoneLine}`).attr("y1", u).attr("y2", u);
|
|
6811
6828
|
const l = c.select(
|
|
@@ -6825,7 +6842,7 @@ const p0 = m0.exports, p = {
|
|
|
6825
6842
|
const t = this.combinedXAxesHeight, e = this.barChartGroups;
|
|
6826
6843
|
Object.entries(e).forEach(([r, n], i) => {
|
|
6827
6844
|
const a = this.svg.append("g").classed(
|
|
6828
|
-
`${
|
|
6845
|
+
`${m.barChartGroup} ${m.barChartGroup}-${r}`,
|
|
6829
6846
|
!0
|
|
6830
6847
|
).attr("transform", `translate(0,${t})`), { color: s, events: u } = n;
|
|
6831
6848
|
this.drawBarsChart({
|
|
@@ -6844,7 +6861,7 @@ const p0 = m0.exports, p = {
|
|
|
6844
6861
|
isLoading: r
|
|
6845
6862
|
}) {
|
|
6846
6863
|
this.svg.append("rect").classed(
|
|
6847
|
-
`${
|
|
6864
|
+
`${m.loadingIndicator} ${m.loadingIndicator}-${e}`,
|
|
6848
6865
|
!0
|
|
6849
6866
|
).attr("x", 0).attr("y", t).attr("width", this.timeline.offsetWidth / 3).attr("height", this.barChartHeight).attr("fill", `url(#${q.loadingGradient}-${e})`).style("visibility", r ? "visible" : "hidden");
|
|
6850
6867
|
},
|
|
@@ -6854,7 +6871,7 @@ const p0 = m0.exports, p = {
|
|
|
6854
6871
|
gElement: r,
|
|
6855
6872
|
height: n
|
|
6856
6873
|
}) {
|
|
6857
|
-
r.append("rect").attr("class",
|
|
6874
|
+
r.append("rect").attr("class", m.eventGroupBg).attr("x", 0).attr("y", e).attr("width", this.timeline.offsetWidth).attr("height", n || this.barChartHeight).attr("fill", c.color(t).toString()).style("opacity", 0.1);
|
|
6858
6875
|
},
|
|
6859
6876
|
drawBars({
|
|
6860
6877
|
events: t,
|
|
@@ -6867,19 +6884,19 @@ const p0 = m0.exports, p = {
|
|
|
6867
6884
|
height: u,
|
|
6868
6885
|
barBorderRadius: l = 1.5
|
|
6869
6886
|
}) {
|
|
6870
|
-
const o = this, d = r + this.barYPadding / 2,
|
|
6887
|
+
const o = this, d = r + this.barYPadding / 2, p = a ? ((u || this.barChartHeight) - s) / 2 : 0;
|
|
6871
6888
|
let h = Math.max(
|
|
6872
6889
|
(u != null ? u : this.barChartHeight) - this.barYPadding,
|
|
6873
6890
|
1
|
|
6874
6891
|
);
|
|
6875
|
-
a && (h = s), e.selectAll(
|
|
6892
|
+
a && (h = s), e.selectAll(m.eventRect).data(t).enter().append("rect").attr(
|
|
6876
6893
|
"class",
|
|
6877
|
-
(f) =>
|
|
6878
|
-
).attr("x", this.getEventRectX).attr("y", d +
|
|
6879
|
-
c.select(this).classed(
|
|
6894
|
+
(f) => m.eventRect + (a ? ` ${m.eventRect}--dot` : "") + (f.className ? ` ${f.className}` : "")
|
|
6895
|
+
).attr("x", this.getEventRectX).attr("y", d + p).attr("ry", a ? s : l).attr("rx", a ? s : l).attr("width", a ? s : this.getEventRectWidth).attr("height", h).attr("stroke-width", a ? s / 10 : 5).attr("cursor", "pointer").attr("stroke", (f) => a ? c.color(f.color || n).brighter(1).toString() : "#0000").style("fill", (f) => f.color || n).on("mouseover", function(f, C) {
|
|
6896
|
+
c.select(this).classed(m.eventRectHovered, !0), o.handleBarMouseOver(f, C, i);
|
|
6880
6897
|
}).on("mouseout", function() {
|
|
6881
|
-
c.select(this).classed(
|
|
6882
|
-
}), e.selectAll(
|
|
6898
|
+
c.select(this).classed(m.eventRectHovered, !1), o.handleBarMouseOut();
|
|
6899
|
+
}), e.selectAll(m.eventRectText).data(t.filter((f) => !!f.text)).enter().append("text").attr("class", m.eventRectText).attr("x", (f) => this.getEventRectX(f) + this.textPadding).attr("y", r + this.barChartHeight / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 600).style("stroke-linejoin", "round").style("paint-order", "stroke").style("pointer-events", "none").style(
|
|
6883
6900
|
"fill",
|
|
6884
6901
|
(f) => this.getTextFillColor(f.color || n, 0.75)
|
|
6885
6902
|
).text(this.getEventText);
|
|
@@ -6892,37 +6909,37 @@ const p0 = m0.exports, p = {
|
|
|
6892
6909
|
type: i,
|
|
6893
6910
|
index: a
|
|
6894
6911
|
}) {
|
|
6895
|
-
const s = this, u = Object.keys(this.barChartGroups).length, l = (f) => (this.getEventRectWidth(f) - this.barXPadding * 2) / u, o = (f) => this.yScale.range()[0] - this.yScale(f.count), d = (f) => this.getEventRectX(f) + this.barXPadding + a * l(f),
|
|
6912
|
+
const s = this, u = Object.keys(this.barChartGroups).length, l = (f) => (this.getEventRectWidth(f) - this.barXPadding * 2) / u, o = (f) => this.yScale.range()[0] - this.yScale(f.count), d = (f) => this.getEventRectX(f) + this.barXPadding + a * l(f), p = (f) => this.yScale(f.count), h = e.selectAll(m.eventBarContainer).data(t).enter().append("g").attr(
|
|
6896
6913
|
"class",
|
|
6897
|
-
`${
|
|
6914
|
+
`${m.eventBarContainer} ${m.eventBarContainer}-${i}`
|
|
6898
6915
|
);
|
|
6899
6916
|
h.append("rect").attr(
|
|
6900
6917
|
"class",
|
|
6901
|
-
(f) =>
|
|
6918
|
+
(f) => m.eventBarHoverZone + (f.className ? ` ${f.className}` : "")
|
|
6902
6919
|
).attr("x", d).attr("y", -n).attr("width", l).attr("height", this.yScale.range()[0] + n).attr("fill", (f) => f.color || r).attr("fill-opacity", 0), h.append("rect").attr(
|
|
6903
6920
|
"class",
|
|
6904
|
-
(f) =>
|
|
6905
|
-
).attr("x", d).attr("y",
|
|
6921
|
+
(f) => m.eventBar + (f.className ? ` ${f.className}` : "")
|
|
6922
|
+
).attr("x", d).attr("y", p).attr("width", l).attr("height", o).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").attr("fill", `url(#${q.transparencyGradient}-${i})`), h.append("rect").attr(
|
|
6906
6923
|
"class",
|
|
6907
|
-
(f) =>
|
|
6908
|
-
).attr("x", d).attr("y",
|
|
6924
|
+
(f) => m.eventBarCap + (f.className ? ` ${f.className}` : "")
|
|
6925
|
+
).attr("x", d).attr("y", p).attr("width", l).attr("height", 2).attr("stroke-width", 0).style("fill", (f) => f.color || r), h.on("mouseover", function(f, C) {
|
|
6909
6926
|
const T = c.select(this);
|
|
6910
6927
|
s.onBarChartBarMouseOver(T, r), s.handleBarMouseOver(f, C, i);
|
|
6911
6928
|
}).on("mouseout", function() {
|
|
6912
6929
|
const f = c.select(this);
|
|
6913
6930
|
s.onBarChartBarMouseOut(f, i), s.handleBarMouseOut();
|
|
6914
6931
|
}).on("click", function() {
|
|
6915
|
-
e.selectAll(`.${
|
|
6932
|
+
e.selectAll(`.${m.eventBarContainerSelected}`).classed(m.eventBarContainerSelected, !1), c.select(this).classed(m.eventBarContainerSelected, !0);
|
|
6916
6933
|
});
|
|
6917
6934
|
},
|
|
6918
6935
|
onBarChartBarMouseOver(t, e) {
|
|
6919
|
-
t.classed(
|
|
6920
|
-
const n = t.selectAll(`.${
|
|
6936
|
+
t.classed(m.eventBarContainerHovered, !0), t.selectAll(`.${m.eventBarHoverZone}`).attr("fill-opacity", 0.2);
|
|
6937
|
+
const n = t.selectAll(`.${m.eventBar}`);
|
|
6921
6938
|
n.attr("fill", e), n.attr("fill-opacity", 0.5);
|
|
6922
6939
|
},
|
|
6923
6940
|
onBarChartBarMouseOut(t, e) {
|
|
6924
|
-
t.classed(
|
|
6925
|
-
const n = t.selectAll(`.${
|
|
6941
|
+
t.classed(m.eventBarContainerHovered, !1), t.selectAll(`.${m.eventBarHoverZone}`).attr("fill-opacity", 0);
|
|
6942
|
+
const n = t.selectAll(`.${m.eventBar}`);
|
|
6926
6943
|
n.attr("fill", `url(#${q.transparencyGradient}-${e})`), n.attr("fill-opacity", 1);
|
|
6927
6944
|
},
|
|
6928
6945
|
drawTextLabel({
|
|
@@ -6941,8 +6958,8 @@ const p0 = m0.exports, p = {
|
|
|
6941
6958
|
w: this.labelRectWidth,
|
|
6942
6959
|
h: a || this.barChartHeight,
|
|
6943
6960
|
radius: 3
|
|
6944
|
-
}, u = t.append("g").attr("class", `${
|
|
6945
|
-
u.append("rect").attr("class",
|
|
6961
|
+
}, u = t.append("g").attr("class", `${m.labelGroup} ${m.labelGroup}-${i}`).style("cursor", "pointer").on("click", () => this.toggleGroupVisibility(i));
|
|
6962
|
+
u.append("rect").attr("class", m.labelBg).attr("data-color", r).attr("x", s.x).attr("y", s.y).attr("width", s.w).attr("height", s.h).attr("rx", s.radius).attr("ry", s.radius).style("fill", this.dark ? "#131a29" : "white"), u.append("rect").attr("class", m.labelBgFill).attr("data-color", r).attr("x", s.x).attr("y", s.y).attr("width", s.w).attr("height", s.h).attr("rx", s.radius).attr("ry", s.radius).style("fill", this.getLabelBackgroundColor(r)).style("stroke", this.getTextFillColor(r)).style("stroke-width", 0.25), u.append("text").attr("class", m.labelText).attr("data-color", r).attr("x", 5).attr("y", e + (a || this.barChartHeight) / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 500).style("stroke-linejoin", "round").style("paint-order", "stroke").style("fill", this.getTextFillColor(r)).text(n);
|
|
6946
6963
|
},
|
|
6947
6964
|
getTextFillColor(t, e = 0) {
|
|
6948
6965
|
var r, n;
|
|
@@ -7031,8 +7048,8 @@ const p0 = m0.exports, p = {
|
|
|
7031
7048
|
break;
|
|
7032
7049
|
const u = t[a + 1], l = Z(s.timestamp), o = Z(u.timestamp);
|
|
7033
7050
|
if (o.diff(l, e) > 1) {
|
|
7034
|
-
const d = r(l).toISOString(),
|
|
7035
|
-
i.push({ timestamp: d, count: 0 }), d !==
|
|
7051
|
+
const d = r(l).toISOString(), p = n(o).toISOString();
|
|
7052
|
+
i.push({ timestamp: d, count: 0 }), d !== p && i.push({ timestamp: p, count: 0 });
|
|
7036
7053
|
}
|
|
7037
7054
|
}
|
|
7038
7055
|
if (this.flattenLineGraphEnds) {
|
|
@@ -7582,7 +7599,7 @@ const X0 = Y0.exports, S1 = S.extend({
|
|
|
7582
7599
|
},
|
|
7583
7600
|
setButtonsPositions(t) {
|
|
7584
7601
|
const e = this.$refs.menu, r = Array.from(e == null ? void 0 : e.children).filter(
|
|
7585
|
-
(
|
|
7602
|
+
(p) => !p.classList.contains("v-tooltip")
|
|
7586
7603
|
);
|
|
7587
7604
|
if (!r || !r.length)
|
|
7588
7605
|
return;
|
|
@@ -7592,16 +7609,16 @@ const X0 = Y0.exports, S1 = S.extend({
|
|
|
7592
7609
|
), l = t ? u + this.padding : 0, o = this.row ? "X" : "Y";
|
|
7593
7610
|
e.style.transform = `translate${o}(${(this.reverse ? -1 : 1) * l}px)`;
|
|
7594
7611
|
let d = 0;
|
|
7595
|
-
i.forEach((
|
|
7596
|
-
|
|
7597
|
-
|
|
7612
|
+
i.forEach((p, h) => {
|
|
7613
|
+
p.getBoundingClientRect()[this.row ? "width" : "height"] > n ? d = Math.max(
|
|
7614
|
+
p.getBoundingClientRect()[this.row ? "width" : "height"],
|
|
7598
7615
|
n
|
|
7599
7616
|
) + this.padding : d = Math.min(
|
|
7600
|
-
|
|
7617
|
+
p.getBoundingClientRect()[this.row ? "width" : "height"],
|
|
7601
7618
|
n
|
|
7602
7619
|
) + this.padding;
|
|
7603
7620
|
const f = t ? d * h : 0;
|
|
7604
|
-
|
|
7621
|
+
p.style.transform = `translate${o}(${(this.reverse ? -1 : 1) * f}px)`;
|
|
7605
7622
|
});
|
|
7606
7623
|
}
|
|
7607
7624
|
}
|
|
@@ -7733,7 +7750,7 @@ var dt = function() {
|
|
|
7733
7750
|
null,
|
|
7734
7751
|
null
|
|
7735
7752
|
);
|
|
7736
|
-
const
|
|
7753
|
+
const pt = ft.exports, mt = S.extend({
|
|
7737
7754
|
name: "Compare",
|
|
7738
7755
|
components: {
|
|
7739
7756
|
BaseIcon: H
|
|
@@ -7749,7 +7766,7 @@ var Ct = function() {
|
|
|
7749
7766
|
var e = this, r = e._self._c;
|
|
7750
7767
|
return e._self._setupProxy, r("BaseIcon", e._b({ attrs: { small: !0, width: "22px", height: "22px", viewBox: "0 0 22 22", color: e.color } }, "BaseIcon", e.$attrs, !1), [r("path", { style: `fill: ${e.color}`, attrs: { d: "M 9.183594 0.933594 C 9.164062 0.945312 9.152344 1.363281 9.152344 1.855469 L 9.152344 2.75 L 6.757812 2.75 C 4.894531 2.75 4.3125 2.761719 4.148438 2.808594 C 3.460938 2.992188 2.945312 3.527344 2.796875 4.210938 C 2.757812 4.386719 2.75 6.121094 2.757812 11.148438 L 2.773438 17.851562 L 2.925781 18.175781 C 3.128906 18.59375 3.40625 18.871094 3.824219 19.074219 L 4.148438 19.226562 L 6.648438 19.242188 L 9.152344 19.253906 L 9.160156 20.164062 L 9.171875 21.078125 L 10.089844 21.089844 L 11 21.097656 L 11 0.902344 L 10.105469 0.902344 C 9.613281 0.902344 9.195312 0.914062 9.183594 0.933594 Z M 9.140625 16.488281 C 9.132812 16.496094 8.105469 16.496094 6.863281 16.492188 L 4.601562 16.476562 L 6.867188 13.757812 L 9.132812 11.042969 L 9.144531 13.757812 C 9.148438 15.25 9.148438 16.476562 9.140625 16.488281 Z M 9.140625 16.488281 " } }), r("path", { style: `fill: ${e.color}`, attrs: { d: "M 12.847656 3.671875 L 12.847656 4.597656 L 17.402344 4.597656 L 17.402344 10.535156 C 17.402344 15.554688 17.394531 16.464844 17.34375 16.414062 C 17.3125 16.378906 16.3125 15.179688 15.125 13.75 C 13.9375 12.320312 12.9375 11.121094 12.90625 11.085938 C 12.855469 11.035156 12.847656 11.660156 12.847656 15.136719 L 12.847656 19.253906 L 15.351562 19.242188 L 17.851562 19.226562 L 18.144531 19.089844 C 18.546875 18.902344 18.871094 18.578125 19.070312 18.179688 L 19.226562 17.859375 L 19.226562 4.148438 L 19.074219 3.824219 C 18.871094 3.40625 18.59375 3.128906 18.175781 2.925781 L 17.851562 2.773438 L 15.351562 2.757812 L 12.847656 2.746094 Z M 12.847656 3.671875 " } })]);
|
|
7751
7768
|
}, gt = [], vt = /* @__PURE__ */ D(
|
|
7752
|
-
|
|
7769
|
+
mt,
|
|
7753
7770
|
Ct,
|
|
7754
7771
|
gt,
|
|
7755
7772
|
!1,
|
|
@@ -7997,7 +8014,7 @@ var d5 = function() {
|
|
|
7997
8014
|
null,
|
|
7998
8015
|
null
|
|
7999
8016
|
);
|
|
8000
|
-
const
|
|
8017
|
+
const p5 = f5.exports, m5 = S.extend({
|
|
8001
8018
|
name: "Worker",
|
|
8002
8019
|
components: {
|
|
8003
8020
|
BaseIcon: H
|
|
@@ -8022,7 +8039,7 @@ var C5 = function() {
|
|
|
8022
8039
|
c-17.92,0-32.5-14.58-32.5-32.5s14.58-32.5,32.5-32.5s32.5,14.58,32.5,32.5S289.42,392,271.5,392z M303,323.989V71h16.5
|
|
8023
8040
|
c0.276,0,0.5,0.224,0.5,0.5V336h-7.247C310.169,331.481,306.868,327.425,303,323.989z M335,336v-65h17v65H335z` } })])]);
|
|
8024
8041
|
}, g5 = [], v5 = /* @__PURE__ */ D(
|
|
8025
|
-
|
|
8042
|
+
m5,
|
|
8026
8043
|
C5,
|
|
8027
8044
|
g5,
|
|
8028
8045
|
!1,
|
|
@@ -8352,7 +8369,7 @@ var d2 = function() {
|
|
|
8352
8369
|
null,
|
|
8353
8370
|
null
|
|
8354
8371
|
);
|
|
8355
|
-
const
|
|
8372
|
+
const p2 = f2.exports, m2 = S.extend({
|
|
8356
8373
|
name: "TruckHead",
|
|
8357
8374
|
components: {
|
|
8358
8375
|
BaseIcon: H
|
|
@@ -8362,7 +8379,7 @@ var C2 = function() {
|
|
|
8362
8379
|
var e = this, r = e._self._c;
|
|
8363
8380
|
return e._self._setupProxy, r("BaseIcon", e._b({ attrs: { small: !0, "view-box": "-12 -35 140 170", width: "47" } }, "BaseIcon", e.$attrs, !1), [r("g", [r("path", { attrs: { d: "M 64.398438 26.015625 L 64.121094 33.375 L 71.996094 33.191406 C 76.347656 33.101562 80.144531 33.015625 80.605469 32.925781 C 82.921875 32.839844 71.625 20.519531 68.566406 19.898438 C 68.199219 19.808594 67.085938 19.542969 66.25 19.191406 C 64.957031 18.65625 64.679688 19.542969 64.398438 26.015625 Z M 64.398438 26.015625 " } }), r("path", { attrs: { d: "M 59.582031 27.433594 C 58.753906 28.761719 58.285156 55.617188 59.027344 63.417969 C 59.304688 67.3125 59.765625 67.9375 62.640625 69.617188 L 65.976562 71.480469 L 56.714844 71.746094 C 51.613281 71.832031 47.074219 72.367188 46.613281 72.808594 C 45.96875 73.433594 46.0625 73.695312 46.800781 73.695312 C 47.542969 73.695312 47.820312 74.582031 47.542969 75.910156 C 47.265625 77.0625 47.449219 78.304688 47.726562 78.480469 C 48.09375 78.65625 53.007812 79.015625 58.46875 79.101562 L 68.566406 79.367188 L 69.863281 75.289062 C 71.441406 69.976562 74.679688 67.488281 80.054688 67.488281 C 82.738281 67.488281 84.222656 67.9375 84.59375 68.824219 C 84.960938 69.53125 85.519531 69.976562 85.980469 69.707031 C 87.09375 69 89.867188 74.496094 89.316406 76.535156 C 88.855469 78.214844 89.683594 78.925781 93.019531 79.367188 C 95.242188 79.71875 99.78125 78.214844 99.78125 77.0625 C 99.78125 76.625 100.148438 76.441406 100.617188 76.710938 C 101.078125 77.0625 101.445312 72.457031 101.445312 66.160156 C 101.445312 60.050781 101.167969 55.082031 100.800781 55.082031 C 100.433594 55.082031 99.128906 51.980469 98.019531 48.085938 C 96.722656 43.917969 94.78125 39.839844 93.109375 37.894531 L 90.425781 34.703125 L 65.507812 34.703125 L 65.324219 49.5 C 65.140625 61.378906 64.769531 64.394531 63.75 64.394531 C 62.730469 64.394531 62.457031 60.84375 62.179688 46.308594 C 61.988281 30.09375 61.253906 24.863281 59.582031 27.433594 Z M 93.019531 41.964844 C 93.945312 43.117188 97.925781 53.933594 97.925781 55.261719 C 97.925781 55.617188 95.335938 55.972656 92.28125 55.972656 C 87.367188 55.972656 86.257812 55.617188 84.40625 53.667969 C 82.644531 51.890625 82.183594 50.476562 82.183594 46.757812 C 82.183594 44.179688 82.460938 41.789062 82.828125 41.523438 C 83.847656 40.460938 92.089844 40.902344 93.019531 41.964844 Z M 93.019531 41.964844 " } }), r("path", { attrs: { d: "M 55.570312 37.511719 C 55.335938 37.496094 55.105469 37.542969 54.882812 37.589844 C 54.882812 37.714844 54.882812 37.839844 54.882812 37.964844 C 54.882812 38.238281 54.882812 38.507812 54.882812 38.777344 C 54.882812 38.917969 54.882812 39.058594 54.882812 39.195312 C 54.886719 39.371094 54.882812 39.546875 54.878906 39.722656 C 54.945312 40.046875 54.984375 40.347656 54.976562 40.726562 C 54.976562 40.917969 54.976562 41.113281 54.976562 41.304688 C 54.976562 41.472656 54.976562 41.632812 54.976562 41.800781 C 54.972656 41.976562 54.980469 42.152344 54.984375 42.375 C 54.980469 42.671875 54.972656 42.816406 54.960938 43.0625 C 55.003906 43.25 55.023438 43.277344 55.070312 43.492188 C 55.078125 43.539062 55.070312 43.585938 55.070312 43.632812 C 55.066406 43.769531 55.070312 43.90625 55.070312 44.042969 C 55.066406 44.066406 55.066406 44.007812 55.066406 44.007812 C 55.074219 44.21875 55.050781 44.425781 55.042969 44.632812 C 55.042969 44.636719 55.042969 44.640625 55.042969 44.644531 C 55.050781 44.695312 55.0625 44.785156 55.070312 44.84375 C 55.191406 45.269531 55.269531 45.648438 55.253906 46.199219 C 55.253906 46.390625 55.253906 46.578125 55.253906 46.765625 C 55.253906 46.941406 55.25 47.117188 55.253906 47.289062 C 55.253906 47.382812 55.253906 47.476562 55.25 47.574219 C 55.253906 47.585938 55.253906 47.59375 55.253906 47.601562 C 55.257812 48.074219 55.304688 48.5625 55.203125 49.027344 C 55.167969 49.195312 55.105469 49.359375 55.046875 49.523438 C 55.046875 49.527344 55.042969 49.527344 55.042969 49.53125 C 55.03125 49.570312 55.019531 49.605469 55.007812 49.644531 C 55.097656 50.167969 55.097656 50.648438 55.050781 51.171875 C 55.054688 51.132812 55.058594 51.097656 55.0625 51.058594 C 55.085938 50.65625 55.066406 51.253906 55.066406 51.308594 C 55.066406 51.492188 55.066406 51.675781 55.066406 51.859375 C 55.070312 52.046875 55.066406 52.234375 55.066406 52.421875 C 55.066406 52.683594 55.066406 52.945312 55.066406 53.207031 L 55.066406 58.078125 C 55.078125 58.492188 55.039062 58.777344 54.972656 59.074219 C 54.976562 59.289062 54.972656 59.503906 54.976562 59.71875 C 54.976562 59.917969 54.976562 60.117188 54.976562 60.316406 C 54.976562 60.5 54.976562 60.683594 54.976562 60.867188 C 54.976562 61.054688 54.976562 61.238281 54.976562 61.421875 L 54.976562 66.992188 C 54.976562 67.34375 54.9375 67.65625 54.910156 67.980469 C 55.21875 67.992188 55.503906 68.015625 55.824219 68.015625 C 60.457031 68.015625 61.75 67.75 61.75 66.6875 C 61.75 65.980469 61.382812 65.273438 60.828125 65.273438 C 60.363281 65.183594 59.339844 65.09375 58.789062 65.007812 C 57.859375 64.917969 57.496094 61.457031 57.308594 51.625 C 57.210938 44.355469 56.75 38.148438 56.382812 37.796875 C 56.195312 37.621094 55.894531 37.53125 55.570312 37.511719 Z M 55.074219 44.84375 C 55.0625 44.816406 55.050781 44.761719 55.042969 44.734375 C 55.042969 44.761719 55.042969 44.789062 55.039062 44.820312 L 55.039062 44.824219 L 55.117188 45.183594 C 55.101562 45.03125 55.085938 44.945312 55.074219 44.84375 Z M 55.039062 44.820312 C 55.042969 44.761719 55.039062 44.785156 55.039062 44.730469 C 55.015625 44.640625 54.976562 44.5 54.945312 44.394531 Z M 54.945312 44.394531 L 54.855469 43.957031 C 54.820312 43.875 54.796875 43.796875 54.75 43.679688 C 54.832031 43.992188 54.882812 44.175781 54.945312 44.394531 Z M 54.855469 43.957031 C 54.898438 44.066406 54.972656 44.25 55 44.339844 C 54.941406 43.78125 54.84375 43.472656 54.65625 43.039062 Z M 55.039062 44.730469 L 55.042969 44.734375 C 55.046875 44.703125 55.042969 44.671875 55.042969 44.644531 C 55.046875 44.683594 55.042969 44.675781 55.039062 44.730469 Z M 54.539062 41.320312 C 54.539062 41.316406 54.554688 41.382812 54.554688 41.382812 C 54.554688 41.375 54.554688 41.367188 54.558594 41.359375 C 54.554688 41.355469 54.539062 41.324219 54.539062 41.320312 Z M 54.5625 41.378906 C 54.5625 41.390625 54.5625 41.402344 54.558594 41.414062 C 54.558594 41.414062 54.566406 41.445312 54.566406 41.445312 C 54.570312 41.429688 54.574219 41.414062 54.574219 41.398438 C 54.574219 41.394531 54.566406 41.382812 54.5625 41.378906 Z M 54.601562 41.460938 C 54.605469 41.5 54.601562 41.542969 54.601562 41.582031 C 54.628906 41.714844 54.742188 42.128906 54.953125 43.027344 C 54.925781 42.332031 54.886719 42.324219 54.707031 41.699219 C 54.644531 41.558594 54.632812 41.523438 54.601562 41.460938 Z M 54.601562 41.460938 " } }), r("path", { attrs: { d: "M 11.351562 70.574219 C 9.933594 70.703125 9.117188 71.417969 7.726562 73.28125 C 5.320312 76.648438 5.597656 80.453125 8.472656 83.207031 C 10.878906 85.507812 16.898438 84.976562 19.027344 82.320312 C 20.785156 80.105469 21.253906 74.960938 19.765625 74.078125 C 19.523438 73.921875 19.386719 73.695312 19.3125 73.453125 C 19.3125 73.449219 19.308594 73.445312 19.304688 73.441406 C 19.292969 73.429688 19.285156 73.414062 19.273438 73.402344 C 19.269531 73.394531 19.261719 73.386719 19.257812 73.378906 C 19.253906 73.378906 19.25 73.378906 19.25 73.375 C 19.230469 73.359375 19.214844 73.339844 19.199219 73.324219 C 19.195312 73.316406 19.1875 73.3125 19.183594 73.308594 C 19.183594 73.304688 19.183594 73.304688 19.183594 73.300781 C 19.179688 73.292969 19.175781 73.285156 19.171875 73.28125 C 19.167969 73.277344 19.167969 73.273438 19.164062 73.269531 C 19.164062 73.269531 19.164062 73.265625 19.164062 73.265625 C 19.164062 73.261719 19.160156 73.261719 19.15625 73.257812 C 19.152344 73.25 19.152344 73.242188 19.144531 73.234375 C 19.144531 73.234375 19.140625 73.230469 19.140625 73.230469 C 19.140625 73.230469 19.140625 73.226562 19.140625 73.226562 C 19.140625 73.226562 19.136719 73.222656 19.136719 73.222656 C 19.136719 73.21875 19.132812 73.214844 19.128906 73.210938 C 19.125 73.210938 19.117188 73.207031 19.121094 73.207031 C 19.140625 73.222656 19.113281 73.203125 19.074219 73.164062 C 19.0625 73.15625 19.058594 73.144531 19.050781 73.132812 C 19.050781 73.132812 19.046875 73.128906 19.046875 73.128906 C 19.011719 73.085938 19.007812 73.089844 18.988281 73.058594 C 18.988281 73.058594 18.984375 73.046875 18.984375 73.050781 C 18.980469 73.042969 18.96875 73.023438 18.972656 73.03125 C 18.972656 73.03125 18.972656 73.027344 18.972656 73.027344 C 18.96875 73.023438 18.96875 73.023438 18.964844 73.019531 C 18.945312 72.992188 18.957031 73.003906 18.949219 72.992188 L 18.945312 72.988281 C 18.945312 72.988281 18.941406 72.984375 18.941406 72.980469 C 18.941406 72.980469 18.9375 72.980469 18.9375 72.980469 C 18.9375 72.980469 18.933594 72.976562 18.933594 72.976562 C 18.933594 72.976562 18.933594 72.972656 18.933594 72.972656 C 18.929688 72.96875 18.921875 72.964844 18.914062 72.960938 C 18.914062 72.957031 18.910156 72.953125 18.910156 72.949219 C 18.90625 72.945312 18.90625 72.945312 18.90625 72.941406 C 18.90625 72.941406 18.902344 72.9375 18.902344 72.9375 C 18.898438 72.9375 18.894531 72.9375 18.894531 72.933594 C 18.894531 72.933594 18.894531 72.929688 18.894531 72.929688 C 18.894531 72.929688 18.890625 72.929688 18.890625 72.929688 L 18.882812 72.921875 C 18.886719 72.921875 18.867188 72.914062 18.867188 72.914062 C 18.867188 72.910156 18.863281 72.90625 18.863281 72.90625 C 18.863281 72.90625 18.851562 72.898438 18.847656 72.894531 C 18.84375 72.890625 18.84375 72.890625 18.839844 72.882812 C 18.8125 72.867188 18.8125 72.871094 18.765625 72.820312 C 18.765625 72.820312 18.761719 72.820312 18.761719 72.820312 C 18.757812 72.816406 18.761719 72.8125 18.757812 72.808594 C 18.753906 72.808594 18.753906 72.804688 18.75 72.800781 C 18.738281 72.789062 18.730469 72.777344 18.71875 72.761719 C 18.667969 72.714844 18.601562 72.648438 18.632812 72.691406 C 18.632812 72.695312 18.636719 72.695312 18.625 72.683594 C 18.621094 72.679688 18.617188 72.671875 18.609375 72.664062 C 18.617188 72.671875 18.601562 72.660156 18.597656 72.65625 C 18.59375 72.648438 18.585938 72.644531 18.582031 72.640625 C 18.582031 72.640625 18.582031 72.636719 18.582031 72.636719 C 18.582031 72.636719 18.578125 72.632812 18.578125 72.632812 C 18.578125 72.632812 18.574219 72.628906 18.574219 72.628906 C 18.574219 72.628906 18.570312 72.628906 18.570312 72.628906 C 18.539062 72.605469 18.519531 72.578125 18.488281 72.550781 C 18.460938 72.523438 18.449219 72.507812 18.441406 72.496094 C 18.449219 72.507812 18.417969 72.476562 18.40625 72.46875 C 18.394531 72.457031 18.382812 72.445312 18.371094 72.433594 C 18.363281 72.421875 18.355469 72.410156 18.347656 72.398438 C 18.339844 72.390625 18.328125 72.386719 18.320312 72.378906 C 18.3125 72.371094 18.304688 72.359375 18.300781 72.355469 C 18.292969 72.347656 18.300781 72.351562 18.292969 72.34375 C 18.289062 72.339844 18.289062 72.34375 18.285156 72.339844 C 18.277344 72.332031 18.269531 72.320312 18.261719 72.304688 C 18.261719 72.304688 18.253906 72.300781 18.253906 72.300781 C 18.253906 72.300781 18.253906 72.296875 18.253906 72.296875 C 18.238281 72.28125 18.226562 72.265625 18.214844 72.25 C 18.214844 72.25 18.210938 72.246094 18.210938 72.246094 C 18.207031 72.242188 18.203125 72.238281 18.199219 72.234375 C 18.199219 72.234375 18.199219 72.234375 18.183594 72.21875 C 18.183594 72.21875 18.179688 72.214844 18.179688 72.214844 C 18.179688 72.210938 18.179688 72.207031 18.175781 72.207031 C 18.175781 72.207031 18.175781 72.203125 18.175781 72.203125 C 18.164062 72.191406 18.15625 72.179688 18.144531 72.171875 C 18.144531 72.171875 18.144531 72.167969 18.144531 72.167969 C 18.144531 72.164062 18.144531 72.160156 18.140625 72.15625 C 17.871094 72.082031 17.597656 71.96875 17.359375 71.777344 C 16.714844 71.242188 14.765625 70.714844 13.007812 70.621094 C 12.359375 70.554688 11.824219 70.527344 11.351562 70.574219 Z M 18.445312 72.5 C 18.4375 72.488281 18.429688 72.484375 18.410156 72.453125 C 18.402344 72.441406 18.417969 72.472656 18.425781 72.480469 C 18.4375 72.492188 18.441406 72.492188 18.445312 72.5 Z M 18.285156 72.28125 C 18.296875 72.292969 18.304688 72.308594 18.316406 72.316406 C 18.300781 72.304688 18.300781 72.289062 18.292969 72.285156 C 18.292969 72.28125 18.289062 72.28125 18.285156 72.28125 Z M 18.992188 73.046875 L 18.988281 73.050781 C 18.992188 73.054688 18.996094 73.054688 19 73.058594 C 18.996094 73.054688 18.996094 73.050781 18.992188 73.046875 Z M 18.992188 73.046875 " } }), r("path", { attrs: { d: "M 74.125 71.65625 C 73.015625 72.808594 72.269531 73.695312 72.546875 73.695312 C 72.828125 73.695312 72.644531 74.40625 72.085938 75.199219 C 70.332031 78.214844 75.605469 84.335938 79.960938 84.335938 C 81.074219 84.335938 83.019531 83.535156 84.40625 82.472656 C 87.550781 80.167969 87.835938 73.960938 84.960938 71.480469 C 82.183594 69.089844 76.625 69.089844 74.125 71.65625 Z M 74.125 71.65625 " } }), r("path", { attrs: { d: "M 36.332031 70.769531 C 33.28125 71.214844 29.851562 74.226562 29.851562 76.351562 C 29.945312 77.0625 30.5 78.65625 31.242188 79.902344 C 31.976562 81.144531 32.539062 82.382812 32.445312 82.648438 C 32.261719 83.269531 33.183594 83.445312 38.371094 83.800781 C 40.597656 83.886719 42.167969 83.886719 41.984375 83.621094 C 41.707031 83.445312 42.445312 82.382812 43.554688 81.320312 C 45.871094 79.28125 46.0625 76.976562 44.207031 72.808594 C 43.003906 70.066406 42.542969 69.976562 36.332031 70.769531 Z M 36.332031 70.769531 " } }), r("path", { attrs: { d: "M 19.65625 75.148438 L 19.65625 75.585938 L 20.550781 75.585938 C 20.546875 75.570312 20.542969 75.558594 20.539062 75.542969 C 20.542969 75.550781 20.546875 75.5625 20.550781 75.570312 C 20.550781 75.570312 20.550781 75.566406 20.550781 75.5625 C 20.546875 75.558594 20.546875 75.554688 20.546875 75.550781 C 20.542969 75.53125 20.539062 75.515625 20.539062 75.5 C 20.539062 75.496094 20.535156 75.488281 20.535156 75.484375 C 20.535156 75.503906 20.539062 75.515625 20.539062 75.527344 C 20.539062 75.527344 20.535156 75.527344 20.535156 75.527344 C 20.535156 75.53125 20.535156 75.535156 20.535156 75.535156 C 20.535156 75.53125 20.53125 75.527344 20.527344 75.523438 C 20.527344 75.519531 20.527344 75.519531 20.523438 75.515625 C 20.523438 75.515625 20.523438 75.511719 20.523438 75.511719 C 20.523438 75.507812 20.523438 75.507812 20.523438 75.503906 C 20.523438 75.5 20.523438 75.5 20.519531 75.496094 C 20.519531 75.492188 20.519531 75.488281 20.515625 75.484375 C 20.515625 75.476562 20.507812 75.46875 20.507812 75.460938 C 20.507812 75.460938 20.507812 75.457031 20.507812 75.457031 C 20.507812 75.460938 20.5 75.4375 20.507812 75.449219 C 20.503906 75.441406 20.503906 75.433594 20.503906 75.425781 C 20.503906 75.425781 20.5 75.421875 20.5 75.421875 C 20.5 75.421875 20.5 75.417969 20.5 75.417969 C 20.5 75.410156 20.496094 75.40625 20.496094 75.402344 C 20.496094 75.402344 20.496094 75.402344 20.496094 75.398438 C 20.496094 75.394531 20.496094 75.394531 20.496094 75.390625 C 20.496094 75.390625 20.496094 75.386719 20.496094 75.382812 C 20.492188 75.378906 20.488281 75.371094 20.484375 75.363281 C 20.484375 75.367188 20.484375 75.371094 20.484375 75.375 C 20.484375 75.371094 20.480469 75.363281 20.476562 75.359375 C 20.476562 75.359375 20.472656 75.355469 20.472656 75.355469 C 20.453125 75.320312 20.425781 75.269531 20.441406 75.296875 C 20.4375 75.285156 20.433594 75.273438 20.429688 75.261719 C 20.421875 75.246094 20.410156 75.226562 20.402344 75.210938 C 20.394531 75.191406 20.394531 75.183594 20.386719 75.160156 C 20.386719 75.160156 20.386719 75.15625 20.386719 75.15625 C 20.386719 75.15625 20.382812 75.152344 20.382812 75.152344 C 20.382812 75.152344 20.382812 75.148438 20.382812 75.148438 Z M 20.484375 75.363281 C 20.484375 75.359375 20.484375 75.355469 20.480469 75.347656 L 20.480469 75.34375 C 20.480469 75.339844 20.476562 75.332031 20.472656 75.324219 C 20.472656 75.316406 20.476562 75.347656 20.472656 75.335938 C 20.472656 75.328125 20.476562 75.351562 20.472656 75.34375 C 20.476562 75.347656 20.480469 75.355469 20.484375 75.363281 Z M 20.472656 75.324219 C 20.472656 75.304688 20.46875 75.277344 20.472656 75.261719 C 20.472656 75.257812 20.472656 75.25 20.472656 75.242188 C 20.46875 75.238281 20.472656 75.253906 20.472656 75.257812 C 20.472656 75.257812 20.472656 75.261719 20.472656 75.261719 C 20.46875 75.257812 20.464844 75.257812 20.460938 75.253906 C 20.46875 75.324219 20.476562 75.367188 20.472656 75.324219 Z M 20.472656 75.257812 C 20.464844 75.230469 20.457031 75.203125 20.449219 75.175781 C 20.441406 75.15625 20.453125 75.179688 20.460938 75.246094 C 20.464844 75.25 20.46875 75.253906 20.472656 75.257812 Z M 20.496094 75.386719 C 20.507812 75.402344 20.515625 75.421875 20.519531 75.441406 C 20.503906 75.386719 20.488281 75.332031 20.472656 75.273438 C 20.480469 75.3125 20.492188 75.347656 20.496094 75.386719 Z M 20.519531 75.441406 C 20.519531 75.445312 20.507812 75.425781 20.496094 75.402344 C 20.496094 75.402344 20.503906 75.421875 20.507812 75.425781 C 20.507812 75.429688 20.519531 75.4375 20.519531 75.441406 Z M 21.648438 75.148438 C 21.648438 75.148438 21.644531 75.175781 21.644531 75.171875 C 21.644531 75.167969 21.640625 75.160156 21.640625 75.164062 C 21.640625 75.164062 21.640625 75.175781 21.640625 75.175781 C 21.640625 75.175781 21.640625 75.179688 21.640625 75.179688 C 21.640625 75.179688 21.640625 75.183594 21.640625 75.183594 C 21.648438 75.203125 21.652344 75.253906 21.652344 75.261719 C 21.65625 75.269531 21.660156 75.277344 21.664062 75.292969 C 21.667969 75.316406 21.667969 75.34375 21.671875 75.367188 C 21.671875 75.378906 21.671875 75.40625 21.671875 75.394531 C 21.671875 75.414062 21.679688 75.445312 21.679688 75.472656 C 21.679688 75.472656 21.679688 75.476562 21.679688 75.480469 C 21.683594 75.488281 21.683594 75.5 21.683594 75.511719 C 21.683594 75.554688 21.679688 75.566406 21.675781 75.585938 L 21.847656 75.585938 L 21.847656 75.148438 Z M 21.671875 75.394531 C 21.644531 75.238281 21.652344 75.269531 21.652344 75.261719 C 21.648438 75.25 21.648438 75.238281 21.640625 75.222656 C 21.660156 75.324219 21.664062 75.351562 21.671875 75.394531 Z M 20.398438 75.171875 C 20.402344 75.1875 20.40625 75.203125 20.414062 75.21875 C 20.40625 75.207031 20.410156 75.191406 20.40625 75.179688 C 20.40625 75.179688 20.40625 75.175781 20.402344 75.175781 C 20.402344 75.175781 20.398438 75.171875 20.398438 75.171875 Z M 20.5625 75.5625 C 20.5625 75.558594 20.5625 75.578125 20.5625 75.585938 L 20.566406 75.585938 C 20.566406 75.582031 20.566406 75.582031 20.566406 75.578125 C 20.566406 75.574219 20.566406 75.570312 20.5625 75.5625 Z M 20.5625 75.5625 " } }), r("path", { attrs: { d: "M 24.496094 72.464844 L 24.023438 72.496094 C 24.023438 72.527344 24.027344 72.558594 24.027344 72.597656 C 24.128906 73.121094 24.144531 73.542969 24.140625 73.761719 C 24.417969 73.59375 24.789062 73.484375 25.277344 73.417969 C 25.277344 73.417969 25.277344 73.410156 25.277344 73.410156 C 26.902344 73.632812 26.800781 74.449219 25.035156 74.78125 L 25.035156 75.039062 L 24.109375 75.105469 L 23.964844 78.191406 C 23.984375 78.191406 24.003906 78.179688 24.027344 78.179688 C 24.085938 78.179688 24.109375 78.191406 24.136719 78.191406 C 24.246094 78.164062 24.359375 78.113281 24.484375 78.121094 C 24.59375 78.121094 24.699219 78.121094 24.804688 78.121094 C 24.882812 78.121094 24.957031 78.121094 25.035156 78.117188 L 25.035156 78.265625 C 25.035156 78.277344 25.035156 78.289062 25.035156 78.300781 C 25.199219 78.292969 25.363281 78.304688 25.527344 78.421875 L 25.546875 78.421875 C 25.632812 78.421875 25.71875 78.421875 25.804688 78.421875 C 25.910156 78.421875 26.015625 78.421875 26.121094 78.421875 C 26.222656 78.421875 26.320312 78.421875 26.421875 78.425781 C 26.425781 78.425781 26.425781 78.425781 26.429688 78.425781 C 26.464844 78.417969 26.5 78.414062 26.535156 78.40625 C 26.601562 78.417969 26.664062 78.417969 26.726562 78.445312 C 26.746094 78.453125 26.769531 78.472656 26.789062 78.484375 C 26.902344 78.476562 27.015625 78.472656 27.128906 78.511719 C 27.148438 78.519531 27.164062 78.53125 27.183594 78.535156 L 27.183594 78.113281 C 27.183594 75.894531 27.285156 74.753906 27.507812 74.753906 C 27.660156 74.753906 27.808594 75.539062 27.808594 76.46875 C 27.808594 79.761719 28.4375 79.46875 29.0625 75.824219 C 29.265625 74.609375 29.542969 73.46875 29.691406 73.179688 C 29.816406 72.894531 28.515625 72.609375 26.757812 72.609375 C 26.097656 72.609375 25.558594 72.566406 25.082031 72.507812 C 25.074219 72.507812 25.054688 72.511719 25.046875 72.507812 C 25.035156 72.507812 25.023438 72.511719 25.011719 72.511719 C 25.011719 72.539062 25.011719 72.566406 25.011719 72.59375 C 24.945312 72.578125 24.875 72.570312 24.804688 72.554688 C 24.769531 72.546875 24.738281 72.527344 24.703125 72.507812 C 24.667969 72.503906 24.632812 72.507812 24.601562 72.5 C 24.480469 72.472656 24.566406 72.484375 24.496094 72.464844 Z M 24.027344 72.597656 C 24.019531 72.5625 24.011719 72.53125 24.003906 72.5 L 23.390625 72.535156 C 21.234375 72.605469 21.140625 72.679688 21.453125 73.964844 C 21.609375 74.753906 21.765625 76.035156 21.765625 76.824219 C 21.765625 77.972656 21.953125 78.328125 22.546875 78.328125 C 23.203125 78.328125 23.328125 77.972656 23.328125 76.253906 C 23.328125 74.914062 23.476562 74.179688 24.101562 73.777344 C 24.074219 73.621094 24.046875 73.3125 24.027344 72.597656 Z M 27.027344 78.90625 C 27.03125 78.90625 27.035156 78.910156 27.035156 78.910156 C 27.042969 78.910156 27.050781 78.90625 27.054688 78.90625 C 27.046875 78.90625 27.042969 78.902344 27.027344 78.90625 Z M 26.609375 78.910156 C 26.601562 78.914062 26.597656 78.921875 26.59375 78.929688 C 26.59375 78.925781 26.597656 78.929688 26.597656 78.929688 C 26.621094 78.925781 26.640625 78.921875 26.660156 78.917969 C 26.652344 78.914062 26.652344 78.914062 26.648438 78.914062 C 26.640625 78.914062 26.632812 78.910156 26.609375 78.910156 Z M 26.53125 78.914062 C 26.523438 78.921875 26.523438 78.925781 26.515625 78.933594 C 26.515625 78.933594 26.554688 78.925781 26.554688 78.929688 C 26.546875 78.921875 26.539062 78.917969 26.53125 78.914062 Z M 26.507812 79.125 C 26.519531 79.140625 26.53125 79.144531 26.542969 79.160156 C 26.542969 79.15625 26.542969 79.152344 26.542969 79.152344 C 26.53125 79.140625 26.519531 79.132812 26.507812 79.125 Z M 26.507812 79.125 " } }), r("path", { attrs: { d: "M 21.527344 72.707031 L 26.835938 72.707031 L 26.835938 74.78125 L 21.527344 74.78125 Z M 21.527344 72.707031 " } }), r("path", { attrs: { d: "M 22.496094 73.636719 L 25.824219 73.636719 L 25.824219 78.269531 L 22.496094 78.269531 Z M 22.496094 73.636719 " } })])]);
|
|
8364
8381
|
}, g2 = [], v2 = /* @__PURE__ */ D(
|
|
8365
|
-
|
|
8382
|
+
m2,
|
|
8366
8383
|
C2,
|
|
8367
8384
|
g2,
|
|
8368
8385
|
!1,
|
|
@@ -8443,7 +8460,7 @@ var E2 = function() {
|
|
|
8443
8460
|
);
|
|
8444
8461
|
const P2 = B2.exports, O2 = {
|
|
8445
8462
|
Bim: ct,
|
|
8446
|
-
Blur:
|
|
8463
|
+
Blur: pt,
|
|
8447
8464
|
Compare: _t,
|
|
8448
8465
|
ConcretePump: Lt,
|
|
8449
8466
|
CompactExcavator: E1,
|
|
@@ -8455,7 +8472,7 @@ const P2 = B2.exports, O2 = {
|
|
|
8455
8472
|
FlatbedSemiTrailer: Jt,
|
|
8456
8473
|
FreeDrawing: s5,
|
|
8457
8474
|
IModel: c5,
|
|
8458
|
-
Inspection:
|
|
8475
|
+
Inspection: p5,
|
|
8459
8476
|
Loader: _5,
|
|
8460
8477
|
MiniModel: L5,
|
|
8461
8478
|
OtherTruck: z1,
|
|
@@ -8466,7 +8483,7 @@ const P2 = B2.exports, O2 = {
|
|
|
8466
8483
|
SmallTruck: J5,
|
|
8467
8484
|
TankTruck: s2,
|
|
8468
8485
|
The360: c2,
|
|
8469
|
-
TippingTruck:
|
|
8486
|
+
TippingTruck: p2,
|
|
8470
8487
|
TruckHead: _2,
|
|
8471
8488
|
TruckMixer: L2,
|
|
8472
8489
|
Unknown: z1,
|
|
@@ -8738,7 +8755,7 @@ const U2 = N2.exports, V2 = S.extend({
|
|
|
8738
8755
|
const s = [...r, i], u = this.matchesQuery(a, e) ? [{ path: s, value: a }] : [];
|
|
8739
8756
|
let l = [];
|
|
8740
8757
|
this.deep && Array.isArray(a) && (l = a.flatMap(
|
|
8741
|
-
(d,
|
|
8758
|
+
(d, p) => this.findMatchesInObject(d, e, [...s, `${p}`])
|
|
8742
8759
|
));
|
|
8743
8760
|
const o = this.deep && typeof a == "object" && a !== null ? this.findMatchesInObject(a, e, s) : [];
|
|
8744
8761
|
return [...n, ...u, ...l, ...o];
|