@evercam/ui 0.0.55-beta.5 → 0.0.55-beta.6
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.mjs +135 -114
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +8 -8
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ETimeline.vue.d.ts +6 -2
- package/dist/src/index.d.ts +6 -2
- package/dist/src/types.d.ts +2 -0
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Ve from "vue";
|
|
2
2
|
import * as I from "d3";
|
|
3
|
-
import
|
|
4
|
-
var Y = /* @__PURE__ */ ((s) => (s.dot = "dot", s.xs = "xs", s.sm = "sm", s.md = "base", s.base = "base", s.lg = "lg", s.xl = "xl", s["2xl"] = "2xl", s["3xl"] = "3xl", s["4xl"] = "4xl", s["5xl"] = "5xl", s["6xl"] = "6xl", s["7xl"] = "7xl", s["8xl"] = "8xl", s["9xl"] = "9xl", s))(Y || {}), ge = /* @__PURE__ */ ((s) => (s.warning = "warning", s.error = "error", s.info = "info", s.success = "success", s.primary = "primary", s.brand = "brand", s.default = "default", s))(ge || {}), kt = /* @__PURE__ */ ((s) => (s.overview = "overview", s.detailed = "detailed", s.detailedBackground = "detailedBackground", s))(kt || {}),
|
|
5
|
-
const ma =
|
|
3
|
+
import Ke from "moment-timezone";
|
|
4
|
+
var Y = /* @__PURE__ */ ((s) => (s.dot = "dot", s.xs = "xs", s.sm = "sm", s.md = "base", s.base = "base", s.lg = "lg", s.xl = "xl", s["2xl"] = "2xl", s["3xl"] = "3xl", s["4xl"] = "4xl", s["5xl"] = "5xl", s["6xl"] = "6xl", s["7xl"] = "7xl", s["8xl"] = "8xl", s["9xl"] = "9xl", s))(Y || {}), ge = /* @__PURE__ */ ((s) => (s.warning = "warning", s.error = "error", s.info = "info", s.success = "success", s.primary = "primary", s.brand = "brand", s.default = "default", s))(ge || {}), kt = /* @__PURE__ */ ((s) => (s.overview = "overview", s.detailed = "detailed", s.detailedBackground = "detailedBackground", s))(kt || {}), Ue = /* @__PURE__ */ ((s) => (s.bars = "bars", s.dots = "dots", s.lineGraph = "lineGraph", s.barChart = "barGraph", s.milestones = "milestones", s))(Ue || {}), Pt = /* @__PURE__ */ ((s) => (s.zoom = "zoom", s.autoPan = "autoPan", s.initial = "initial", s))(Pt || {});
|
|
5
|
+
const ma = Ve.extend({
|
|
6
6
|
name: "EBadge",
|
|
7
7
|
props: {
|
|
8
8
|
text: {
|
|
@@ -94,7 +94,7 @@ var ga = function() {
|
|
|
94
94
|
null,
|
|
95
95
|
null
|
|
96
96
|
);
|
|
97
|
-
const Mr = ya.exports, va =
|
|
97
|
+
const Mr = ya.exports, va = Ve.extend({
|
|
98
98
|
name: "EAvatar",
|
|
99
99
|
components: {
|
|
100
100
|
Badge: Mr
|
|
@@ -3963,7 +3963,7 @@ const Ca = {
|
|
|
3963
3963
|
"canplay",
|
|
3964
3964
|
"canplaythrough",
|
|
3965
3965
|
"statechanged"
|
|
3966
|
-
], Pa =
|
|
3966
|
+
], Pa = Ve.extend({
|
|
3967
3967
|
name: "EIcon",
|
|
3968
3968
|
props: {
|
|
3969
3969
|
icon: {
|
|
@@ -4011,7 +4011,7 @@ var Oa = function() {
|
|
|
4011
4011
|
null,
|
|
4012
4012
|
null
|
|
4013
4013
|
);
|
|
4014
|
-
const Na = Ma.exports, Ba =
|
|
4014
|
+
const Na = Ma.exports, Ba = Ve.extend({
|
|
4015
4015
|
name: "ESpinner",
|
|
4016
4016
|
props: {
|
|
4017
4017
|
dark: {
|
|
@@ -4089,7 +4089,7 @@ var $a = function() {
|
|
|
4089
4089
|
null,
|
|
4090
4090
|
null
|
|
4091
4091
|
);
|
|
4092
|
-
const sn = Ga.exports, Ha =
|
|
4092
|
+
const sn = Ga.exports, Ha = Ve.extend({
|
|
4093
4093
|
props: {
|
|
4094
4094
|
align: {
|
|
4095
4095
|
type: String,
|
|
@@ -4162,7 +4162,7 @@ var Va = function() {
|
|
|
4162
4162
|
null,
|
|
4163
4163
|
null
|
|
4164
4164
|
);
|
|
4165
|
-
const za = Wa.exports, Ya =
|
|
4165
|
+
const za = Wa.exports, Ya = Ve.extend({
|
|
4166
4166
|
props: {
|
|
4167
4167
|
alignSelf: {
|
|
4168
4168
|
type: String,
|
|
@@ -8951,7 +8951,7 @@ class Ul {
|
|
|
8951
8951
|
load(e, t) {
|
|
8952
8952
|
const i = e.url;
|
|
8953
8953
|
if (!i)
|
|
8954
|
-
return Promise.reject(new
|
|
8954
|
+
return Promise.reject(new Ge({
|
|
8955
8955
|
type: q.NETWORK_ERROR,
|
|
8956
8956
|
details: _.FRAG_LOAD_ERROR,
|
|
8957
8957
|
fatal: !1,
|
|
@@ -8988,7 +8988,7 @@ class Ul {
|
|
|
8988
8988
|
});
|
|
8989
8989
|
},
|
|
8990
8990
|
onError: (f, m, g, y) => {
|
|
8991
|
-
this.resetLoader(e, c), l(new
|
|
8991
|
+
this.resetLoader(e, c), l(new Ge({
|
|
8992
8992
|
type: q.NETWORK_ERROR,
|
|
8993
8993
|
details: _.FRAG_LOAD_ERROR,
|
|
8994
8994
|
fatal: !1,
|
|
@@ -9003,7 +9003,7 @@ class Ul {
|
|
|
9003
9003
|
}));
|
|
9004
9004
|
},
|
|
9005
9005
|
onAbort: (f, m, g) => {
|
|
9006
|
-
this.resetLoader(e, c), l(new
|
|
9006
|
+
this.resetLoader(e, c), l(new Ge({
|
|
9007
9007
|
type: q.NETWORK_ERROR,
|
|
9008
9008
|
details: _.INTERNAL_ABORTED,
|
|
9009
9009
|
fatal: !1,
|
|
@@ -9014,7 +9014,7 @@ class Ul {
|
|
|
9014
9014
|
}));
|
|
9015
9015
|
},
|
|
9016
9016
|
onTimeout: (f, m, g) => {
|
|
9017
|
-
this.resetLoader(e, c), l(new
|
|
9017
|
+
this.resetLoader(e, c), l(new Ge({
|
|
9018
9018
|
type: q.NETWORK_ERROR,
|
|
9019
9019
|
details: _.FRAG_LOAD_TIMEOUT,
|
|
9020
9020
|
fatal: !1,
|
|
@@ -9063,7 +9063,7 @@ class Ul {
|
|
|
9063
9063
|
i(v), o(v);
|
|
9064
9064
|
},
|
|
9065
9065
|
onError: (f, m, g, y) => {
|
|
9066
|
-
this.resetLoader(e, c), l(new
|
|
9066
|
+
this.resetLoader(e, c), l(new Ge({
|
|
9067
9067
|
type: q.NETWORK_ERROR,
|
|
9068
9068
|
details: _.FRAG_LOAD_ERROR,
|
|
9069
9069
|
fatal: !1,
|
|
@@ -9079,7 +9079,7 @@ class Ul {
|
|
|
9079
9079
|
}));
|
|
9080
9080
|
},
|
|
9081
9081
|
onAbort: (f, m, g) => {
|
|
9082
|
-
e.stats.aborted = t.stats.aborted, this.resetLoader(e, c), l(new
|
|
9082
|
+
e.stats.aborted = t.stats.aborted, this.resetLoader(e, c), l(new Ge({
|
|
9083
9083
|
type: q.NETWORK_ERROR,
|
|
9084
9084
|
details: _.INTERNAL_ABORTED,
|
|
9085
9085
|
fatal: !1,
|
|
@@ -9091,7 +9091,7 @@ class Ul {
|
|
|
9091
9091
|
}));
|
|
9092
9092
|
},
|
|
9093
9093
|
onTimeout: (f, m, g) => {
|
|
9094
|
-
this.resetLoader(e, c), l(new
|
|
9094
|
+
this.resetLoader(e, c), l(new Ge({
|
|
9095
9095
|
type: q.NETWORK_ERROR,
|
|
9096
9096
|
details: _.FRAG_LOAD_TIMEOUT,
|
|
9097
9097
|
fatal: !1,
|
|
@@ -9149,9 +9149,9 @@ function Xs(s, e) {
|
|
|
9149
9149
|
error: t,
|
|
9150
9150
|
networkDetails: null
|
|
9151
9151
|
};
|
|
9152
|
-
return e && (i.part = e), (e || s).stats.aborted = !0, new
|
|
9152
|
+
return e && (i.part = e), (e || s).stats.aborted = !0, new Ge(i);
|
|
9153
9153
|
}
|
|
9154
|
-
class
|
|
9154
|
+
class Ge extends Error {
|
|
9155
9155
|
constructor(e) {
|
|
9156
9156
|
super(e.error.message), this.data = void 0, this.data = e;
|
|
9157
9157
|
}
|
|
@@ -10993,12 +10993,12 @@ class mc {
|
|
|
10993
10993
|
}
|
|
10994
10994
|
}
|
|
10995
10995
|
const ue = 188;
|
|
10996
|
-
class
|
|
10996
|
+
class ze {
|
|
10997
10997
|
constructor(e, t, i) {
|
|
10998
10998
|
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._duration = 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.videoParser = new fc();
|
|
10999
10999
|
}
|
|
11000
11000
|
static probe(e) {
|
|
11001
|
-
const t =
|
|
11001
|
+
const t = ze.syncOffset(e);
|
|
11002
11002
|
return t > 0 && S.warn(`MPEG2-TS detected but first sync word found @ offset ${t}`), t !== -1;
|
|
11003
11003
|
}
|
|
11004
11004
|
static syncOffset(e) {
|
|
@@ -11040,7 +11040,7 @@ class We {
|
|
|
11040
11040
|
* Resets all internal track instances of the demuxer.
|
|
11041
11041
|
*/
|
|
11042
11042
|
resetInitSegment(e, t, i, r) {
|
|
11043
|
-
this.pmtParsed = !1, this._pmtId = -1, this._videoTrack =
|
|
11043
|
+
this.pmtParsed = !1, this._pmtId = -1, this._videoTrack = ze.createTrack("video"), this._audioTrack = ze.createTrack("audio", r), this._id3Track = ze.createTrack("id3"), this._txtTrack = ze.createTrack("text"), this._audioTrack.segmentCodec = "aac", this.aacOverFlow = null, this.remainderData = null, this.audioCodec = t, this.videoCodec = i, this._duration = r;
|
|
11044
11044
|
}
|
|
11045
11045
|
resetTimeStamp() {
|
|
11046
11046
|
}
|
|
@@ -11064,7 +11064,7 @@ class We {
|
|
|
11064
11064
|
id3Track: l,
|
|
11065
11065
|
textTrack: c
|
|
11066
11066
|
};
|
|
11067
|
-
const L = Math.max(0,
|
|
11067
|
+
const L = Math.max(0, ze.syncOffset(e));
|
|
11068
11068
|
x -= (x - L) % ue, x < e.byteLength && !r && (this.remainderData = new Uint8Array(e.buffer, x, e.buffer.byteLength - x));
|
|
11069
11069
|
let E = 0;
|
|
11070
11070
|
for (let R = L; R < x; R += ue)
|
|
@@ -11489,7 +11489,7 @@ class Qs {
|
|
|
11489
11489
|
}
|
|
11490
11490
|
}
|
|
11491
11491
|
}
|
|
11492
|
-
const
|
|
11492
|
+
const We = Math.pow(2, 32) - 1;
|
|
11493
11493
|
class A {
|
|
11494
11494
|
static init() {
|
|
11495
11495
|
A.types = {
|
|
@@ -11754,7 +11754,7 @@ class A {
|
|
|
11754
11754
|
}
|
|
11755
11755
|
static mdhd(e, t) {
|
|
11756
11756
|
t *= e;
|
|
11757
|
-
const i = Math.floor(t / (
|
|
11757
|
+
const i = Math.floor(t / (We + 1)), r = Math.floor(t % (We + 1));
|
|
11758
11758
|
return A.box(A.types.mdhd, new Uint8Array([
|
|
11759
11759
|
1,
|
|
11760
11760
|
// version 1
|
|
@@ -11839,7 +11839,7 @@ class A {
|
|
|
11839
11839
|
}
|
|
11840
11840
|
static mvhd(e, t) {
|
|
11841
11841
|
t *= e;
|
|
11842
|
-
const i = Math.floor(t / (
|
|
11842
|
+
const i = Math.floor(t / (We + 1)), r = Math.floor(t % (We + 1)), n = new Uint8Array([
|
|
11843
11843
|
1,
|
|
11844
11844
|
// version 1
|
|
11845
11845
|
0,
|
|
@@ -12229,7 +12229,7 @@ class A {
|
|
|
12229
12229
|
return e.type === "audio" ? e.segmentCodec === "mp3" && e.codec === "mp3" ? A.box(A.types.stsd, A.STSD, A.mp3(e)) : e.segmentCodec === "ac3" ? A.box(A.types.stsd, A.STSD, A.ac3(e)) : A.box(A.types.stsd, A.STSD, A.mp4a(e)) : A.box(A.types.stsd, A.STSD, A.avc1(e));
|
|
12230
12230
|
}
|
|
12231
12231
|
static tkhd(e) {
|
|
12232
|
-
const t = e.id, i = e.duration * e.timescale, r = e.width, n = e.height, a = Math.floor(i / (
|
|
12232
|
+
const t = e.id, i = e.duration * e.timescale, r = e.width, n = e.height, a = Math.floor(i / (We + 1)), o = Math.floor(i % (We + 1));
|
|
12233
12233
|
return A.box(A.types.tkhd, new Uint8Array([
|
|
12234
12234
|
1,
|
|
12235
12235
|
// version 1
|
|
@@ -12344,7 +12344,7 @@ class A {
|
|
|
12344
12344
|
]));
|
|
12345
12345
|
}
|
|
12346
12346
|
static traf(e, t) {
|
|
12347
|
-
const i = A.sdtp(e), r = e.id, n = Math.floor(t / (
|
|
12347
|
+
const i = A.sdtp(e), r = e.id, n = Math.floor(t / (We + 1)), a = Math.floor(t % (We + 1));
|
|
12348
12348
|
return A.box(
|
|
12349
12349
|
A.types.traf,
|
|
12350
12350
|
A.box(A.types.tfhd, new Uint8Array([
|
|
@@ -13038,17 +13038,17 @@ function tr(s, e) {
|
|
|
13038
13038
|
}
|
|
13039
13039
|
return S.warn(`Unhandled video codec "${t}"`), t === "hvc1" || t === "hev1" ? "hvc1.1.6.L120.90" : t === "av01" ? "av01.0.04M.08" : "avc1.42e01e";
|
|
13040
13040
|
}
|
|
13041
|
-
let
|
|
13041
|
+
let He;
|
|
13042
13042
|
try {
|
|
13043
|
-
|
|
13043
|
+
He = self.performance.now.bind(self.performance);
|
|
13044
13044
|
} catch {
|
|
13045
|
-
S.debug("Unable to use Performance API on this environment"),
|
|
13045
|
+
S.debug("Unable to use Performance API on this environment"), He = lt == null ? void 0 : lt.Date.now;
|
|
13046
13046
|
}
|
|
13047
13047
|
const Nt = [{
|
|
13048
13048
|
demux: uc,
|
|
13049
13049
|
remux: Ac
|
|
13050
13050
|
}, {
|
|
13051
|
-
demux:
|
|
13051
|
+
demux: ze,
|
|
13052
13052
|
remux: Mt
|
|
13053
13053
|
}, {
|
|
13054
13054
|
demux: lc,
|
|
@@ -13070,7 +13070,7 @@ class ir {
|
|
|
13070
13070
|
}
|
|
13071
13071
|
push(e, t, i, r) {
|
|
13072
13072
|
const n = i.transmuxing;
|
|
13073
|
-
n.executeStart =
|
|
13073
|
+
n.executeStart = He();
|
|
13074
13074
|
let a = new Uint8Array(e);
|
|
13075
13075
|
const {
|
|
13076
13076
|
currentTransmuxState: o,
|
|
@@ -13096,7 +13096,7 @@ class ir {
|
|
|
13096
13096
|
if (B.isSync()) {
|
|
13097
13097
|
let C = B.softwareDecrypt(a, L.key.buffer, L.iv.buffer);
|
|
13098
13098
|
if (i.part > -1 && (C = B.flush()), !C)
|
|
13099
|
-
return n.executeEnd =
|
|
13099
|
+
return n.executeEnd = He(), vi(i);
|
|
13100
13100
|
a = new Uint8Array(C);
|
|
13101
13101
|
} else
|
|
13102
13102
|
return this.decryptionPromise = B.webCryptoDecrypt(a, L.key.buffer, L.iv.buffer).then((C) => {
|
|
@@ -13114,16 +13114,16 @@ class ir {
|
|
|
13114
13114
|
fatal: !1,
|
|
13115
13115
|
error: B,
|
|
13116
13116
|
reason: B.message
|
|
13117
|
-
}), n.executeEnd =
|
|
13117
|
+
}), n.executeEnd = He(), vi(i);
|
|
13118
13118
|
}
|
|
13119
13119
|
(u || h || m || E) && this.resetInitSegment(x, g, y, T, t), (u || m || E) && this.resetInitialTimestamp(v), c || this.resetContiguity();
|
|
13120
13120
|
const k = this.transmux(a, L, f, d, i), R = this.currentTransmuxState;
|
|
13121
|
-
return R.contiguous = !0, R.discontinuity = !1, R.trackSwitch = !1, n.executeEnd =
|
|
13121
|
+
return R.contiguous = !0, R.discontinuity = !1, R.trackSwitch = !1, n.executeEnd = He(), k;
|
|
13122
13122
|
}
|
|
13123
13123
|
// Due to data caching, flush calls can produce more than one TransmuxerResult (hence the Array type)
|
|
13124
13124
|
flush(e) {
|
|
13125
13125
|
const t = e.transmuxing;
|
|
13126
|
-
t.executeStart =
|
|
13126
|
+
t.executeStart = He();
|
|
13127
13127
|
const {
|
|
13128
13128
|
decrypter: i,
|
|
13129
13129
|
currentTransmuxState: r,
|
|
@@ -13143,7 +13143,7 @@ class ir {
|
|
|
13143
13143
|
remuxer: c
|
|
13144
13144
|
} = this;
|
|
13145
13145
|
if (!l || !c)
|
|
13146
|
-
return t.executeEnd =
|
|
13146
|
+
return t.executeEnd = He(), [vi(e)];
|
|
13147
13147
|
const u = l.flush(o);
|
|
13148
13148
|
return Bt(u) ? u.then((h) => (this.flushRemux(a, h, e), a)) : (this.flushRemux(a, u, e), a);
|
|
13149
13149
|
}
|
|
@@ -13162,7 +13162,7 @@ class ir {
|
|
|
13162
13162
|
e.push({
|
|
13163
13163
|
remuxResult: u,
|
|
13164
13164
|
chunkMeta: i
|
|
13165
|
-
}), i.transmuxing.executeEnd =
|
|
13165
|
+
}), i.transmuxing.executeEnd = He();
|
|
13166
13166
|
}
|
|
13167
13167
|
resetInitialTimestamp(e) {
|
|
13168
13168
|
const {
|
|
@@ -15642,7 +15642,7 @@ class Vc {
|
|
|
15642
15642
|
}
|
|
15643
15643
|
}
|
|
15644
15644
|
}
|
|
15645
|
-
const
|
|
15645
|
+
const qe = function(e) {
|
|
15646
15646
|
const t = [];
|
|
15647
15647
|
for (let i = 0; i < e.length; i++)
|
|
15648
15648
|
t.push(e[i].toString(16));
|
|
@@ -16016,11 +16016,11 @@ class cr {
|
|
|
16016
16016
|
this.logger.time = e;
|
|
16017
16017
|
for (let o = 0; o < t.length; o += 2)
|
|
16018
16018
|
if (r = t[o] & 127, n = t[o + 1] & 127, !(r === 0 && n === 0)) {
|
|
16019
|
-
if (this.logger.log(3, "[" +
|
|
16019
|
+
if (this.logger.log(3, "[" + qe([t[o], t[o + 1]]) + "] -> (" + qe([r, n]) + ")"), i = this.parseCmd(r, n), i || (i = this.parseMidrow(r, n)), i || (i = this.parsePAC(r, n)), i || (i = this.parseBackgroundAttributes(r, n)), !i && (a = this.parseChars(r, n), a)) {
|
|
16020
16020
|
const l = this.currentChannel;
|
|
16021
16021
|
l && l > 0 ? this.channels[l].insertChars(a) : this.logger.log(2, "No channel found yet. TEXT-MODE?");
|
|
16022
16022
|
}
|
|
16023
|
-
!i && !a && this.logger.log(2, "Couldn't parse cleaned data " +
|
|
16023
|
+
!i && !a && this.logger.log(2, "Couldn't parse cleaned data " + qe([r, n]) + " orig: " + qe([t[o], t[o + 1]]));
|
|
16024
16024
|
}
|
|
16025
16025
|
}
|
|
16026
16026
|
/**
|
|
@@ -16034,7 +16034,7 @@ class cr {
|
|
|
16034
16034
|
if (!(r || n))
|
|
16035
16035
|
return !1;
|
|
16036
16036
|
if (ur(e, t, i))
|
|
16037
|
-
return rt(null, null, i), this.logger.log(3, "Repeated command (" +
|
|
16037
|
+
return rt(null, null, i), this.logger.log(3, "Repeated command (" + qe([e, t]) + ") is dropped"), !0;
|
|
16038
16038
|
const a = e === 20 || e === 21 || e === 23 ? 1 : 2, o = this.channels[a];
|
|
16039
16039
|
return e === 20 || e === 21 || e === 28 || e === 29 ? t === 32 ? o.ccRCL() : t === 33 ? o.ccBS() : t === 34 ? o.ccAOF() : t === 35 ? o.ccAON() : t === 36 ? o.ccDER() : t === 37 ? o.ccRU(2) : t === 38 ? o.ccRU(3) : t === 39 ? o.ccRU(4) : t === 40 ? o.ccFON() : t === 41 ? o.ccRDC() : t === 42 ? o.ccTR() : t === 43 ? o.ccRTD() : t === 44 ? o.ccEDM() : t === 45 ? o.ccCR() : t === 46 ? o.ccENM() : t === 47 && o.ccEOC() : o.ccTO(t - 32), rt(e, t, i), this.currentChannel = a, !0;
|
|
16040
16040
|
}
|
|
@@ -16047,7 +16047,7 @@ class cr {
|
|
|
16047
16047
|
if (e === 17 ? i = 1 : i = 2, i !== this.currentChannel)
|
|
16048
16048
|
return this.logger.log(0, "Mismatch channel in midrow parsing"), !1;
|
|
16049
16049
|
const r = this.channels[i];
|
|
16050
|
-
return r ? (r.ccMIDROW(t), this.logger.log(3, "MIDROW (" +
|
|
16050
|
+
return r ? (r.ccMIDROW(t), this.logger.log(3, "MIDROW (" + qe([e, t]) + ")"), !0) : !1;
|
|
16051
16051
|
}
|
|
16052
16052
|
return !1;
|
|
16053
16053
|
}
|
|
@@ -16094,7 +16094,7 @@ class cr {
|
|
|
16094
16094
|
} else
|
|
16095
16095
|
e >= 32 && e <= 127 && (r = t === 0 ? [e] : [e, t]);
|
|
16096
16096
|
if (r) {
|
|
16097
|
-
const a =
|
|
16097
|
+
const a = qe(r);
|
|
16098
16098
|
this.logger.log(3, "Char codes = " + a.join(",")), rt(e, t, this.cmdHistory);
|
|
16099
16099
|
}
|
|
16100
16100
|
return r;
|
|
@@ -19519,7 +19519,7 @@ class oh {
|
|
|
19519
19519
|
this.keyUriToKeyInfo = {};
|
|
19520
19520
|
}
|
|
19521
19521
|
createKeyLoadError(e, t = _.KEY_LOAD_ERROR, i, r, n) {
|
|
19522
|
-
return new
|
|
19522
|
+
return new Ge({
|
|
19523
19523
|
type: q.NETWORK_ERROR,
|
|
19524
19524
|
details: t,
|
|
19525
19525
|
fatal: !1,
|
|
@@ -21165,7 +21165,7 @@ const Ci = new Intl.NumberFormat(void 0, {
|
|
|
21165
21165
|
return i === 0 ? `${t}:${Ci.format(e)}` : `${i}:${Ci.format(
|
|
21166
21166
|
t
|
|
21167
21167
|
)}:${Ci.format(e)}`;
|
|
21168
|
-
}, xh =
|
|
21168
|
+
}, xh = Ve.extend({
|
|
21169
21169
|
name: "VideoPlayer",
|
|
21170
21170
|
components: {
|
|
21171
21171
|
ESpinner: sn
|
|
@@ -21471,14 +21471,14 @@ const bh = Sh.exports, Zt = (s) => {
|
|
|
21471
21471
|
return `${e}${i}`;
|
|
21472
21472
|
}, Ar = (s) => new Date(
|
|
21473
21473
|
Date.UTC(s.getUTCFullYear(), s.getUTCMonth(), s.getUTCDate() + 1)
|
|
21474
|
-
).getUTCDate() === 1 ? "" : I.utcFormat("%-d")(s), gt = (s) => ["0", " 0", "00"].includes(I.utcFormat("%H")(s)) ? "" : `${I.utcFormat("%H")(s)}h`,
|
|
21474
|
+
).getUTCDate() === 1 ? "" : I.utcFormat("%-d")(s), gt = (s) => ["0", " 0", "00"].includes(I.utcFormat("%H")(s)) ? "" : `${I.utcFormat("%H")(s)}h`, Ye = (s) => {
|
|
21475
21475
|
const e = I.utcFormat("%H:%M")(s);
|
|
21476
21476
|
return e === "00:00" ? "" : e;
|
|
21477
21477
|
}, _i = (s) => I.utcFormat("%M:%S")(s), Lr = (s) => `${I.utcFormat("%Hh%Mm")(s)}`, Yi = (s) => {
|
|
21478
|
-
const e =
|
|
21478
|
+
const e = Ye(s), t = Zt(s), i = I.utcFormat("%B")(s);
|
|
21479
21479
|
return e || `${i} ${t}`;
|
|
21480
21480
|
}, Ii = (s) => {
|
|
21481
|
-
const e =
|
|
21481
|
+
const e = Ye(s), t = Number.parseInt(I.utcFormat("%H")(s)), i = Zt(s), r = I.utcFormat("%B")(s);
|
|
21482
21482
|
return e && t % 6 === 0 ? `${r} ${i} ${e}` : Yi(s);
|
|
21483
21483
|
}, pt = (s) => (e) => {
|
|
21484
21484
|
const t = I.utcFormat("%H")(e);
|
|
@@ -21553,7 +21553,7 @@ const Ah = {
|
|
|
21553
21553
|
precision: K._2_hours,
|
|
21554
21554
|
interval: I.utcHour.every(6),
|
|
21555
21555
|
format: (s) => {
|
|
21556
|
-
const e =
|
|
21556
|
+
const e = Ye(s), t = Zt(s), i = I.utcFormat("%B")(s);
|
|
21557
21557
|
return e || `${i} ${t}`;
|
|
21558
21558
|
}
|
|
21559
21559
|
},
|
|
@@ -21628,27 +21628,27 @@ const Ah = {
|
|
|
21628
21628
|
{
|
|
21629
21629
|
precision: K._1_minute,
|
|
21630
21630
|
interval: I.utcMinute.filter(wi(5)),
|
|
21631
|
-
format:
|
|
21631
|
+
format: Ye
|
|
21632
21632
|
},
|
|
21633
21633
|
{
|
|
21634
21634
|
precision: K._2_minutes,
|
|
21635
21635
|
interval: (Ir = I.utcMinute.every(2)) == null ? void 0 : Ir.filter(wi(10)),
|
|
21636
|
-
format:
|
|
21636
|
+
format: Ye
|
|
21637
21637
|
},
|
|
21638
21638
|
{
|
|
21639
21639
|
precision: K._5_minutes,
|
|
21640
21640
|
interval: (wr = I.utcMinute.every(5)) == null ? void 0 : wr.filter(wi(20)),
|
|
21641
|
-
format:
|
|
21641
|
+
format: Ye
|
|
21642
21642
|
},
|
|
21643
21643
|
{
|
|
21644
21644
|
precision: K._15_minutes,
|
|
21645
21645
|
interval: (kr = I.utcMinute.every(15)) == null ? void 0 : kr.filter(pt(1)),
|
|
21646
|
-
format:
|
|
21646
|
+
format: Ye
|
|
21647
21647
|
},
|
|
21648
21648
|
{
|
|
21649
21649
|
precision: K._30_minutes,
|
|
21650
21650
|
interval: (Pr = I.utcMinute.every(30)) == null ? void 0 : Pr.filter(pt(2)),
|
|
21651
|
-
format:
|
|
21651
|
+
format: Ye
|
|
21652
21652
|
},
|
|
21653
21653
|
{
|
|
21654
21654
|
precision: K._1_hour,
|
|
@@ -21911,7 +21911,7 @@ const Ah = {
|
|
|
21911
21911
|
name: "resize-observer",
|
|
21912
21912
|
definition: vs
|
|
21913
21913
|
}
|
|
21914
|
-
],
|
|
21914
|
+
], je = {
|
|
21915
21915
|
milestone: "e-tl-milestone",
|
|
21916
21916
|
milestoneBullet: "e-tl-milestone--bullet",
|
|
21917
21917
|
milestoneDot: "e-tl-milestone--dot",
|
|
@@ -21925,7 +21925,7 @@ const Ah = {
|
|
|
21925
21925
|
milestoneDotLine: "e-tl-milestone-dot-line",
|
|
21926
21926
|
milestoneDotDot: "e-tl-milestone-dot-dot",
|
|
21927
21927
|
milestoneDotHovered: "e-tl-milestone-dot--hovered"
|
|
21928
|
-
}, Rh =
|
|
21928
|
+
}, Rh = Ve.extend({
|
|
21929
21929
|
name: "ETimeline",
|
|
21930
21930
|
directives: {
|
|
21931
21931
|
resizeObserver: vs
|
|
@@ -21974,7 +21974,7 @@ const Ah = {
|
|
|
21974
21974
|
},
|
|
21975
21975
|
data() {
|
|
21976
21976
|
return {
|
|
21977
|
-
milestoneClasses:
|
|
21977
|
+
milestoneClasses: je,
|
|
21978
21978
|
timeouts: [],
|
|
21979
21979
|
isInitialRender: !0,
|
|
21980
21980
|
isMouseOver: !1
|
|
@@ -22067,7 +22067,7 @@ const Ah = {
|
|
|
22067
22067
|
if (!i)
|
|
22068
22068
|
return;
|
|
22069
22069
|
const r = i.getBoundingClientRect(), n = e.dataset.timeoutId;
|
|
22070
|
-
n && (clearTimeout(Number(n)), e.dataset.timeoutId = ""), e.dataset.initialWidth || (e.dataset.initialWidth = e.style.width), e.dataset.initialHeight || (e.dataset.initialHeight = e.style.height), e.dataset.initialContentWidth || (e.dataset.initialContentWidth = String(r.width)), e.dataset.initialContentHeight || (e.dataset.initialContentHeight = String(r.height)), e.dataset.transitionStart = String(Date.now()), e.style.width = e.dataset.initialContentWidth + "px", e.style.height = e.dataset.initialContentHeight + "px", e.style.borderRadius = "0.5em", e.classList.add(
|
|
22070
|
+
n && (clearTimeout(Number(n)), e.dataset.timeoutId = ""), e.dataset.initialWidth || (e.dataset.initialWidth = e.style.width), e.dataset.initialHeight || (e.dataset.initialHeight = e.style.height), e.dataset.initialContentWidth || (e.dataset.initialContentWidth = String(r.width)), e.dataset.initialContentHeight || (e.dataset.initialContentHeight = String(r.height)), e.dataset.transitionStart = String(Date.now()), e.style.width = e.dataset.initialContentWidth + "px", e.style.height = e.dataset.initialContentHeight + "px", e.style.borderRadius = "0.5em", e.classList.add(je.milestoneHovered), t.style.opacity = "1", t.style.width = e.dataset.initialContentWidth + "px", t.style.height = e.dataset.initialContentHeight + "px";
|
|
22071
22071
|
},
|
|
22072
22072
|
onMilestoneMouseMove() {
|
|
22073
22073
|
this.timeouts.forEach((s) => clearTimeout(s)), this.isMouseOver = !0;
|
|
@@ -22090,7 +22090,7 @@ const Ah = {
|
|
|
22090
22090
|
return;
|
|
22091
22091
|
t.style.width = "0", t.style.height = "0", t.style.opacity = "0";
|
|
22092
22092
|
const i = Date.now() - Number(e.dataset.transitionStart), r = i > this.transitionDuration ? this.transitionDuration : i, n = setTimeout(() => {
|
|
22093
|
-
e.classList.remove(
|
|
22093
|
+
e.classList.remove(je.milestoneHovered), e.dataset.timeoutId = "";
|
|
22094
22094
|
}, r);
|
|
22095
22095
|
e.dataset.timeoutId = String(n), this.timeouts.push(n);
|
|
22096
22096
|
},
|
|
@@ -22161,7 +22161,7 @@ const Ih = _h.exports, G = {
|
|
|
22161
22161
|
transparencyGradientLight: "transparency-gradient-light",
|
|
22162
22162
|
loadingGradient: "loading-gradient",
|
|
22163
22163
|
stripedPattern: "stripedPattern"
|
|
22164
|
-
}, wh =
|
|
22164
|
+
}, wh = Ve.extend({
|
|
22165
22165
|
name: "ETimeline",
|
|
22166
22166
|
directives: {
|
|
22167
22167
|
resizeObserver: vs
|
|
@@ -22380,7 +22380,7 @@ const Ih = _h.exports, G = {
|
|
|
22380
22380
|
},
|
|
22381
22381
|
lineGraphGroups() {
|
|
22382
22382
|
return Object.entries(this.filteredEventsGroups).reduce(
|
|
22383
|
-
(s, [e, t]) => t.chartType ===
|
|
22383
|
+
(s, [e, t]) => t.chartType === Ue.lineGraph ? { ...s, [e]: t } : s,
|
|
22384
22384
|
{}
|
|
22385
22385
|
);
|
|
22386
22386
|
},
|
|
@@ -22392,19 +22392,21 @@ const Ih = _h.exports, G = {
|
|
|
22392
22392
|
},
|
|
22393
22393
|
barGroups() {
|
|
22394
22394
|
return Object.entries(this.filteredEventsGroups).reduce(
|
|
22395
|
-
(s, [e, t]) => !t.chartType ||
|
|
22395
|
+
(s, [e, t]) => !t.chartType || [Ue.bars, Ue.dots].includes(
|
|
22396
|
+
t.chartType
|
|
22397
|
+
) ? { ...s, [e]: t } : s,
|
|
22396
22398
|
{}
|
|
22397
22399
|
);
|
|
22398
22400
|
},
|
|
22399
22401
|
barChartGroups() {
|
|
22400
22402
|
return Object.entries(this.filteredEventsGroups).reduce(
|
|
22401
|
-
(s, [e, t]) => t.chartType ===
|
|
22403
|
+
(s, [e, t]) => t.chartType === Ue.barChart ? { ...s, [e]: t } : s,
|
|
22402
22404
|
{}
|
|
22403
22405
|
);
|
|
22404
22406
|
},
|
|
22405
22407
|
milestonesGroups() {
|
|
22406
22408
|
return Object.entries(this.filteredEventsGroups).reduce(
|
|
22407
|
-
(s, [e, t]) => t.chartType ===
|
|
22409
|
+
(s, [e, t]) => t.chartType === Ue.milestones ? { ...s, [e]: t } : s,
|
|
22408
22410
|
{}
|
|
22409
22411
|
);
|
|
22410
22412
|
},
|
|
@@ -22576,7 +22578,7 @@ const Ih = _h.exports, G = {
|
|
|
22576
22578
|
Object.entries(this.filteredEventsGroups).forEach(
|
|
22577
22579
|
([t, i]) => {
|
|
22578
22580
|
const { color: r, chartType: n } = i, a = s.append("linearGradient").attr("id", `${De.loadingGradient}-${t}`).attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
|
|
22579
|
-
a.append("stop").attr("offset", "0%").attr("stop-color", r).attr("stop-opacity", "0"), a.append("stop").attr("offset", "50%").attr("stop-color", r).attr("stop-opacity", "0.6"), a.append("stop").attr("offset", "100%").attr("stop-color", r).attr("stop-opacity", "0"), [
|
|
22581
|
+
a.append("stop").attr("offset", "0%").attr("stop-color", r).attr("stop-opacity", "0"), a.append("stop").attr("offset", "50%").attr("stop-color", r).attr("stop-opacity", "0.6"), a.append("stop").attr("offset", "100%").attr("stop-color", r).attr("stop-opacity", "0"), [Ue.lineGraph, Ue.barChart].includes(
|
|
22580
22582
|
n
|
|
22581
22583
|
) && [
|
|
22582
22584
|
{
|
|
@@ -22598,7 +22600,7 @@ const Ih = _h.exports, G = {
|
|
|
22598
22600
|
},
|
|
22599
22601
|
initUtcOffset() {
|
|
22600
22602
|
const s = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate;
|
|
22601
|
-
this.utcOffset =
|
|
22603
|
+
this.utcOffset = Ke.parseZone(s).utcOffset();
|
|
22602
22604
|
},
|
|
22603
22605
|
initTimeScale(s, e) {
|
|
22604
22606
|
const t = s || this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, i = e || this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate;
|
|
@@ -22909,10 +22911,10 @@ const Ih = _h.exports, G = {
|
|
|
22909
22911
|
});
|
|
22910
22912
|
},
|
|
22911
22913
|
updateEventsBars() {
|
|
22912
|
-
const s = `.${G.eventGroup} > rect.${G.eventRect}`;
|
|
22913
|
-
this.svg.selectAll(s).attr("x", this.getEventRectX).attr("width", this.getEventRectWidth);
|
|
22914
|
-
const
|
|
22915
|
-
this.svg.selectAll(
|
|
22914
|
+
const s = `.${G.eventGroup} > rect.${G.eventRect}`, e = `${s}:not(.${G.eventRect}--dot)`;
|
|
22915
|
+
this.svg.selectAll(s).attr("x", this.getEventRectX), this.svg.selectAll(e).attr("width", this.getEventRectWidth);
|
|
22916
|
+
const t = `.${G.eventGroup} > text.${G.eventRectText}`;
|
|
22917
|
+
this.svg.selectAll(t).attr("x", (i) => this.getEventRectX(i) + this.textPadding).text(this.getEventText);
|
|
22916
22918
|
},
|
|
22917
22919
|
updateBarChart() {
|
|
22918
22920
|
const s = Object.keys(this.barChartGroups).length;
|
|
@@ -23152,42 +23154,56 @@ const Ih = _h.exports, G = {
|
|
|
23152
23154
|
drawSingleBarEventsGroup({
|
|
23153
23155
|
type: s,
|
|
23154
23156
|
eventsGroup: e,
|
|
23155
|
-
index: t,
|
|
23157
|
+
index: t = 0,
|
|
23156
23158
|
milestone: i,
|
|
23157
|
-
height: r
|
|
23159
|
+
height: r,
|
|
23160
|
+
dots: n,
|
|
23161
|
+
dotsSize: a
|
|
23158
23162
|
}) {
|
|
23159
|
-
const { color:
|
|
23160
|
-
let
|
|
23161
|
-
i && (
|
|
23162
|
-
yPosition:
|
|
23163
|
+
const { color: o, bgColor: l, label: c, events: u, isLoading: h } = e, d = this.hasChart ? this.chartHeight : 0;
|
|
23164
|
+
let f = t * this.barChartHeight + this.combinedXAxesHeight + d;
|
|
23165
|
+
i && (f = this.getMilestoneGroupYPosition(s)), this.drawProgressIndicator({
|
|
23166
|
+
yPosition: f,
|
|
23163
23167
|
type: s,
|
|
23164
|
-
color:
|
|
23165
|
-
isLoading:
|
|
23168
|
+
color: o,
|
|
23169
|
+
isLoading: h
|
|
23166
23170
|
});
|
|
23167
|
-
const
|
|
23168
|
-
this.drawBackground({
|
|
23169
|
-
color:
|
|
23170
|
-
gElement:
|
|
23171
|
-
yPosition:
|
|
23171
|
+
const m = this.svg.append("g").attr("data-color", o).classed(G.eventGroup, !0).classed(`${G.eventGroup}-${s}`, !0);
|
|
23172
|
+
if (this.drawBackground({
|
|
23173
|
+
color: l || o,
|
|
23174
|
+
gElement: m,
|
|
23175
|
+
yPosition: f,
|
|
23172
23176
|
height: r
|
|
23173
|
-
}),
|
|
23174
|
-
|
|
23175
|
-
|
|
23176
|
-
|
|
23177
|
-
|
|
23178
|
-
|
|
23179
|
-
|
|
23180
|
-
|
|
23181
|
-
|
|
23177
|
+
}), i || n) {
|
|
23178
|
+
const g = n ? 0.5 : 2, y = f + this.barChartHeight / 2;
|
|
23179
|
+
m.append("line").classed(je.milestoneLine, !0).attr("x1", 0).attr("x2", this.timeline.offsetWidth).attr("y1", y).attr("y2", y).style("stroke", o).style("stroke-width", g);
|
|
23180
|
+
}
|
|
23181
|
+
this.drawBars({
|
|
23182
|
+
events: u,
|
|
23183
|
+
color: o,
|
|
23184
|
+
gElement: m,
|
|
23185
|
+
yPosition: f,
|
|
23186
|
+
type: s,
|
|
23187
|
+
dots: n,
|
|
23188
|
+
dotsSize: a
|
|
23189
|
+
}), c && this.drawTextLabel({
|
|
23190
|
+
color: o,
|
|
23191
|
+
label: c,
|
|
23182
23192
|
type: s,
|
|
23183
|
-
gElement:
|
|
23184
|
-
yPosition:
|
|
23193
|
+
gElement: m,
|
|
23194
|
+
yPosition: f,
|
|
23185
23195
|
height: r
|
|
23186
23196
|
});
|
|
23187
23197
|
},
|
|
23188
23198
|
drawBarEventsGroups() {
|
|
23189
23199
|
Object.entries(this.barGroups).forEach(
|
|
23190
|
-
([s, e], t) => this.drawSingleBarEventsGroup({
|
|
23200
|
+
([s, e], t) => this.drawSingleBarEventsGroup({
|
|
23201
|
+
type: s,
|
|
23202
|
+
eventsGroup: e,
|
|
23203
|
+
index: t,
|
|
23204
|
+
dots: e.chartType === Ue.dots,
|
|
23205
|
+
dotsSize: e.dotsSize || 3
|
|
23206
|
+
})
|
|
23191
23207
|
);
|
|
23192
23208
|
},
|
|
23193
23209
|
drawMilestonesPlaceholder() {
|
|
@@ -23206,7 +23222,7 @@ const Ih = _h.exports, G = {
|
|
|
23206
23222
|
},
|
|
23207
23223
|
getMilestoneClass(s) {
|
|
23208
23224
|
return {
|
|
23209
|
-
[
|
|
23225
|
+
[je.milestoneSelected]: [
|
|
23210
23226
|
s.id,
|
|
23211
23227
|
s.timestamp
|
|
23212
23228
|
].includes(this.selectedMilestoneId)
|
|
@@ -23233,13 +23249,13 @@ const Ih = _h.exports, G = {
|
|
|
23233
23249
|
const t = this.getMilestoneGroupYPosition(s), i = this.svg.select(
|
|
23234
23250
|
`g.${G.eventGroup}-${s}`
|
|
23235
23251
|
), r = 2, a = (e.height || this.barChartHeight) / 2, o = t + a - r / 2;
|
|
23236
|
-
i.attr("x1", 0).attr("x2", this.timeline.offsetWidth).select(`.${
|
|
23252
|
+
i.attr("x1", 0).attr("x2", this.timeline.offsetWidth).select(`.${je.milestoneLine}`).attr("y1", o).attr("y2", o);
|
|
23237
23253
|
const l = I.select(
|
|
23238
|
-
`.${
|
|
23254
|
+
`.${je.milestonesContainer}-${s}`
|
|
23239
23255
|
);
|
|
23240
23256
|
l.style("top", `${t}px`).style("height", `${e.height || this.barChartHeight}px`);
|
|
23241
23257
|
const c = l.selectAll(
|
|
23242
|
-
`.${
|
|
23258
|
+
`.${je.milestone}`
|
|
23243
23259
|
).data(this.getSortedEvents(e.events));
|
|
23244
23260
|
c.exit().remove(), c.enter().append("div").merge(c).style(
|
|
23245
23261
|
"left",
|
|
@@ -23287,19 +23303,24 @@ const Ih = _h.exports, G = {
|
|
|
23287
23303
|
gElement: e,
|
|
23288
23304
|
yPosition: t,
|
|
23289
23305
|
color: i,
|
|
23290
|
-
type: r
|
|
23306
|
+
type: r,
|
|
23307
|
+
dots: n,
|
|
23308
|
+
dotsSize: a
|
|
23291
23309
|
}) {
|
|
23292
|
-
const
|
|
23310
|
+
const o = this, l = t + this.barYPadding / 2, c = n ? (this.barChartHeight - a) / 2 : 0;
|
|
23293
23311
|
e.selectAll(G.eventRect).data(s).enter().append("rect").attr(
|
|
23294
23312
|
"class",
|
|
23295
|
-
(
|
|
23296
|
-
).attr("x", this.getEventRectX).attr("y",
|
|
23297
|
-
|
|
23313
|
+
(u) => G.eventRect + (n ? ` ${G.eventRect}--dot` : "") + (u.className ? ` ${u.className}` : "")
|
|
23314
|
+
).attr("x", this.getEventRectX).attr("y", l + c).attr("ry", n ? a : 1.5).attr("rx", n ? a : 1.5).attr("width", n ? a : this.getEventRectWidth).attr(
|
|
23315
|
+
"height",
|
|
23316
|
+
n ? a : this.barChartHeight - this.barYPadding
|
|
23317
|
+
).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").style("fill", (u) => u.color || i).on("mouseover", function(u, h) {
|
|
23318
|
+
I.select(this).classed(G.eventRectHovered, !0), o.handleBarMouseOver(u, h, r);
|
|
23298
23319
|
}).on("mouseout", function() {
|
|
23299
|
-
I.select(this).classed(G.eventRectHovered, !1),
|
|
23300
|
-
}), e.selectAll(G.eventRectText).data(s.filter((
|
|
23320
|
+
I.select(this).classed(G.eventRectHovered, !1), o.handleBarMouseOut();
|
|
23321
|
+
}), e.selectAll(G.eventRectText).data(s.filter((u) => !!u.text)).enter().append("text").attr("class", G.eventRectText).attr("x", (u) => this.getEventRectX(u) + this.textPadding).attr("y", t + 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(
|
|
23301
23322
|
"fill",
|
|
23302
|
-
(
|
|
23323
|
+
(u) => this.getTextFillColor(u.color || i, 0.75)
|
|
23303
23324
|
).text(this.getEventText);
|
|
23304
23325
|
},
|
|
23305
23326
|
drawBarsChart({
|
|
@@ -23424,18 +23445,18 @@ const Ih = _h.exports, G = {
|
|
|
23424
23445
|
};
|
|
23425
23446
|
},
|
|
23426
23447
|
tzStringToDate(s) {
|
|
23427
|
-
return
|
|
23448
|
+
return Ke(s).add(this.utcOffset, "minutes").toDate();
|
|
23428
23449
|
},
|
|
23429
23450
|
dateToTzString(s) {
|
|
23430
23451
|
const e = new Date(s).getTimezoneOffset();
|
|
23431
|
-
return
|
|
23452
|
+
return Ke(s).add(e, "minutes").utcOffset(this.utcOffset, !0).format();
|
|
23432
23453
|
},
|
|
23433
23454
|
getCurrentTimeBounds() {
|
|
23434
23455
|
const s = this.timeScale.domain();
|
|
23435
23456
|
return { startDate: s[0], endDate: s[1] };
|
|
23436
23457
|
},
|
|
23437
23458
|
getFormattedTimestamp(s) {
|
|
23438
|
-
return
|
|
23459
|
+
return Ke.parseZone(s).format("YYYY-MM-DDTHH:mm:ss");
|
|
23439
23460
|
},
|
|
23440
23461
|
fillTimeGaps(s) {
|
|
23441
23462
|
if (s.length <= 1)
|
|
@@ -23446,14 +23467,14 @@ const Ih = _h.exports, G = {
|
|
|
23446
23467
|
const a = s[n];
|
|
23447
23468
|
if (r.push(a), n === s.length - 1)
|
|
23448
23469
|
break;
|
|
23449
|
-
const o = s[n + 1], l =
|
|
23470
|
+
const o = s[n + 1], l = Ke(a.timestamp), c = Ke(o.timestamp);
|
|
23450
23471
|
if (c.diff(l, e) > 1) {
|
|
23451
23472
|
const u = t(l).toISOString(), h = i(c).toISOString();
|
|
23452
23473
|
r.push({ timestamp: u, count: 0 }), u !== h && r.push({ timestamp: h, count: 0 });
|
|
23453
23474
|
}
|
|
23454
23475
|
}
|
|
23455
23476
|
if (this.flattenLineGraphEnds) {
|
|
23456
|
-
const n =
|
|
23477
|
+
const n = Ke(s[0].timestamp), a = Ke(s[s.length - 1].timestamp), o = i(n).toISOString(), l = t(a).toISOString();
|
|
23457
23478
|
r = [
|
|
23458
23479
|
{ timestamp: o, count: 0 },
|
|
23459
23480
|
...r,
|
|
@@ -23631,7 +23652,7 @@ export {
|
|
|
23631
23652
|
Y as Size,
|
|
23632
23653
|
Ia as TextSizes,
|
|
23633
23654
|
kt as TimelineAxis,
|
|
23634
|
-
|
|
23655
|
+
Ue as TimelineChartType,
|
|
23635
23656
|
Pt as TimelineIntervalChangeTrigger,
|
|
23636
23657
|
Cr as components,
|
|
23637
23658
|
vh as debounce,
|