@evercam/ui 0.0.45-beta.7 → 0.0.46

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 CHANGED
@@ -94,10 +94,10 @@ var tt = function() {
94
94
  null,
95
95
  null
96
96
  );
97
- const Fe = it.exports, nt = q.extend({
97
+ const Ae = it.exports, nt = q.extend({
98
98
  name: "EAvatar",
99
99
  components: {
100
- Badge: Fe
100
+ Badge: Ae
101
101
  },
102
102
  props: {
103
103
  size: {
@@ -167,7 +167,7 @@ const lt = ot.exports;
167
167
  function ut(e) {
168
168
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
169
169
  }
170
- var Ae = {}, Me = {}, fe = {};
170
+ var Fe = {}, Me = {}, fe = {};
171
171
  (function(e) {
172
172
  Object.defineProperty(e, "__esModule", {
173
173
  value: !0
@@ -403,7 +403,7 @@ var he = {}, re = {}, me = { exports: {} }, z = String, Le = function() {
403
403
  };
404
404
  me.exports = Le();
405
405
  me.exports.createColors = Le;
406
- var Ge = me.exports;
406
+ var He = me.exports;
407
407
  (function(e) {
408
408
  Object.defineProperty(e, "__esModule", {
409
409
  value: !0
@@ -423,7 +423,7 @@ var Ge = me.exports;
423
423
  return c;
424
424
  }
425
425
  });
426
- const r = /* @__PURE__ */ n(Ge);
426
+ const r = /* @__PURE__ */ n(He);
427
427
  function n(l) {
428
428
  return l && l.__esModule ? l : {
429
429
  default: l
@@ -813,7 +813,7 @@ var Ge = me.exports;
813
813
  }
814
814
  };
815
815
  })(he);
816
- var He = {};
816
+ var Ge = {};
817
817
  (function(e) {
818
818
  Object.defineProperty(e, "__esModule", {
819
819
  value: !0
@@ -836,7 +836,7 @@ var He = {};
836
836
  }
837
837
  return r;
838
838
  }
839
- })(He);
839
+ })(Ge);
840
840
  var je = {};
841
841
  (function(e) {
842
842
  Object.defineProperty(e, "__esModule", {
@@ -879,7 +879,7 @@ var Be = {}, ie = {};
879
879
  return d;
880
880
  }
881
881
  });
882
- const r = /* @__PURE__ */ a(Ge), n = /* @__PURE__ */ a(re);
882
+ const r = /* @__PURE__ */ a(He), n = /* @__PURE__ */ a(re);
883
883
  function a(v) {
884
884
  return v && v.__esModule ? v : {
885
885
  default: v
@@ -912,8 +912,8 @@ var Be = {}, ie = {};
912
912
  return v.future === "all" || ((k = (y = v == null || (E = v.future) === null || E === void 0 ? void 0 : E[h]) !== null && y !== void 0 ? y : o[h]) !== null && k !== void 0 ? k : !1);
913
913
  }
914
914
  if (i.experimental.includes(h)) {
915
- var F, P, L;
916
- return v.experimental === "all" || ((L = (P = v == null || (F = v.experimental) === null || F === void 0 ? void 0 : F[h]) !== null && P !== void 0 ? P : o[h]) !== null && L !== void 0 ? L : !1);
915
+ var A, P, L;
916
+ return v.experimental === "all" || ((L = (P = v == null || (A = v.experimental) === null || A === void 0 ? void 0 : A[h]) !== null && P !== void 0 ? P : o[h]) !== null && L !== void 0 ? L : !1);
917
917
  }
918
918
  return !1;
919
919
  }
@@ -1045,8 +1045,8 @@ var Be = {}, ie = {};
1045
1045
  })(),
1046
1046
  extract: (() => {
1047
1047
  let s = (() => {
1048
- var h, E, y, k, F, P, L, M, G, H;
1049
- return !((h = i.purge) === null || h === void 0) && h.extract ? i.purge.extract : !((E = i.content) === null || E === void 0) && E.extract ? i.content.extract : !((y = i.purge) === null || y === void 0 || (k = y.extract) === null || k === void 0) && k.DEFAULT ? i.purge.extract.DEFAULT : !((F = i.content) === null || F === void 0 || (P = F.extract) === null || P === void 0) && P.DEFAULT ? i.content.extract.DEFAULT : !((L = i.purge) === null || L === void 0 || (M = L.options) === null || M === void 0) && M.extractors ? i.purge.options.extractors : !((G = i.content) === null || G === void 0 || (H = G.options) === null || H === void 0) && H.extractors ? i.content.options.extractors : {};
1048
+ var h, E, y, k, A, P, L, M, H, G;
1049
+ return !((h = i.purge) === null || h === void 0) && h.extract ? i.purge.extract : !((E = i.content) === null || E === void 0) && E.extract ? i.content.extract : !((y = i.purge) === null || y === void 0 || (k = y.extract) === null || k === void 0) && k.DEFAULT ? i.purge.extract.DEFAULT : !((A = i.content) === null || A === void 0 || (P = A.extract) === null || P === void 0) && P.DEFAULT ? i.content.extract.DEFAULT : !((L = i.purge) === null || L === void 0 || (M = L.options) === null || M === void 0) && M.extractors ? i.purge.options.extractors : !((H = i.content) === null || H === void 0 || (G = H.options) === null || G === void 0) && G.extractors ? i.content.options.extractors : {};
1050
1050
  })(), d = {}, v = (() => {
1051
1051
  var h, E, y, k;
1052
1052
  if (!((h = i.purge) === null || h === void 0 || (E = h.options) === null || E === void 0) && E.defaultExtractor)
@@ -1066,8 +1066,8 @@ var Be = {}, ie = {};
1066
1066
  })(),
1067
1067
  transform: (() => {
1068
1068
  let s = (() => {
1069
- var v, h, E, y, k, F;
1070
- return !((v = i.purge) === null || v === void 0) && v.transform ? i.purge.transform : !((h = i.content) === null || h === void 0) && h.transform ? i.content.transform : !((E = i.purge) === null || E === void 0 || (y = E.transform) === null || y === void 0) && y.DEFAULT ? i.purge.transform.DEFAULT : !((k = i.content) === null || k === void 0 || (F = k.transform) === null || F === void 0) && F.DEFAULT ? i.content.transform.DEFAULT : {};
1069
+ var v, h, E, y, k, A;
1070
+ return !((v = i.purge) === null || v === void 0) && v.transform ? i.purge.transform : !((h = i.content) === null || h === void 0) && h.transform ? i.content.transform : !((E = i.purge) === null || E === void 0 || (y = E.transform) === null || y === void 0) && y.DEFAULT ? i.purge.transform.DEFAULT : !((k = i.content) === null || k === void 0 || (A = k.transform) === null || A === void 0) && A.DEFAULT ? i.content.transform.DEFAULT : {};
1071
1071
  })(), d = {};
1072
1072
  return typeof s == "function" && (d.DEFAULT = s), typeof s == "object" && s !== null && Object.assign(d, s), d;
1073
1073
  })()
@@ -1083,7 +1083,7 @@ var Be = {}, ie = {};
1083
1083
  return i;
1084
1084
  }
1085
1085
  })(Be);
1086
- var We = {};
1086
+ var Re = {};
1087
1087
  (function(e) {
1088
1088
  Object.defineProperty(e, "__esModule", {
1089
1089
  value: !0
@@ -1099,8 +1099,8 @@ var We = {};
1099
1099
  const n = Object.getPrototypeOf(r);
1100
1100
  return n === null || n === Object.prototype;
1101
1101
  }
1102
- })(We);
1103
- var Re = {};
1102
+ })(Re);
1103
+ var We = {};
1104
1104
  (function(e) {
1105
1105
  Object.defineProperty(e, "__esModule", {
1106
1106
  value: !0
@@ -1116,7 +1116,7 @@ var Re = {};
1116
1116
  t(a)
1117
1117
  ])) : r;
1118
1118
  }
1119
- })(Re);
1119
+ })(We);
1120
1120
  var Ue = {}, Ne = {};
1121
1121
  (function(e) {
1122
1122
  Object.defineProperty(e, "__esModule", {
@@ -1889,10 +1889,10 @@ var pe = {}, ge = {}, Ie = {};
1889
1889
  value: !0
1890
1890
  });
1891
1891
  function t(y, k) {
1892
- for (var F in k)
1893
- Object.defineProperty(y, F, {
1892
+ for (var A in k)
1893
+ Object.defineProperty(y, A, {
1894
1894
  enumerable: !0,
1895
- get: k[F]
1895
+ get: k[A]
1896
1896
  });
1897
1897
  }
1898
1898
  t(e, {
@@ -1911,7 +1911,7 @@ var pe = {}, ge = {}, Ie = {};
1911
1911
  }
1912
1912
  let a = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, o = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, i = /(?:\d+|\d*\.\d+)%?/, c = /(?:\s*,\s*|\s+)/, l = /\s*[,/]\s*/, s = /var\(--(?:[^ )]*?)\)/, d = new RegExp(`^(rgba?)\\(\\s*(${i.source}|${s.source})(?:${c.source}(${i.source}|${s.source}))?(?:${c.source}(${i.source}|${s.source}))?(?:${l.source}(${i.source}|${s.source}))?\\s*\\)$`), v = new RegExp(`^(hsla?)\\(\\s*((?:${i.source})(?:deg|rad|grad|turn)?|${s.source})(?:${c.source}(${i.source}|${s.source}))?(?:${c.source}(${i.source}|${s.source}))?(?:${l.source}(${i.source}|${s.source}))?\\s*\\)$`);
1913
1913
  function h(y, { loose: k = !1 } = {}) {
1914
- var F, P;
1914
+ var A, P;
1915
1915
  if (typeof y != "string")
1916
1916
  return null;
1917
1917
  if (y = y.trim(), y === "transparent")
@@ -1927,14 +1927,14 @@ var pe = {}, ge = {}, Ie = {};
1927
1927
  if (y in r.default)
1928
1928
  return {
1929
1929
  mode: "rgb",
1930
- color: r.default[y].map((W) => W.toString())
1930
+ color: r.default[y].map((R) => R.toString())
1931
1931
  };
1932
- let L = y.replace(o, (W, N, R, g, D) => [
1932
+ let L = y.replace(o, (R, N, W, g, D) => [
1933
1933
  "#",
1934
1934
  N,
1935
1935
  N,
1936
- R,
1937
- R,
1936
+ W,
1937
+ W,
1938
1938
  g,
1939
1939
  g,
1940
1940
  D ? D + D : ""
@@ -1946,33 +1946,33 @@ var pe = {}, ge = {}, Ie = {};
1946
1946
  parseInt(L[1], 16),
1947
1947
  parseInt(L[2], 16),
1948
1948
  parseInt(L[3], 16)
1949
- ].map((W) => W.toString()),
1949
+ ].map((R) => R.toString()),
1950
1950
  alpha: L[4] ? (parseInt(L[4], 16) / 255).toString() : void 0
1951
1951
  };
1952
1952
  var M;
1953
- let G = (M = y.match(d)) !== null && M !== void 0 ? M : y.match(v);
1954
- if (G === null)
1953
+ let H = (M = y.match(d)) !== null && M !== void 0 ? M : y.match(v);
1954
+ if (H === null)
1955
1955
  return null;
1956
- let H = [
1957
- G[2],
1958
- G[3],
1959
- G[4]
1960
- ].filter(Boolean).map((W) => W.toString());
1961
- return H.length === 2 && H[0].startsWith("var(") ? {
1962
- mode: G[1],
1956
+ let G = [
1957
+ H[2],
1958
+ H[3],
1959
+ H[4]
1960
+ ].filter(Boolean).map((R) => R.toString());
1961
+ return G.length === 2 && G[0].startsWith("var(") ? {
1962
+ mode: H[1],
1963
1963
  color: [
1964
- H[0]
1964
+ G[0]
1965
1965
  ],
1966
- alpha: H[1]
1967
- } : !k && H.length !== 3 || H.length < 3 && !H.some((W) => /^var\(.*?\)$/.test(W)) ? null : {
1968
- mode: G[1],
1969
- color: H,
1970
- alpha: (F = G[5]) === null || F === void 0 || (P = F.toString) === null || P === void 0 ? void 0 : P.call(F)
1966
+ alpha: G[1]
1967
+ } : !k && G.length !== 3 || G.length < 3 && !G.some((R) => /^var\(.*?\)$/.test(R)) ? null : {
1968
+ mode: H[1],
1969
+ color: G,
1970
+ alpha: (A = H[5]) === null || A === void 0 || (P = A.toString) === null || P === void 0 ? void 0 : P.call(A)
1971
1971
  };
1972
1972
  }
1973
- function E({ mode: y, color: k, alpha: F }) {
1974
- let P = F !== void 0;
1975
- return y === "rgba" || y === "hsla" ? `${y}(${k.join(", ")}${P ? `, ${F}` : ""})` : `${y}(${k.join(" ")}${P ? ` / ${F}` : ""})`;
1973
+ function E({ mode: y, color: k, alpha: A }) {
1974
+ let P = A !== void 0;
1975
+ return y === "rgba" || y === "hsla" ? `${y}(${k.join(", ")}${P ? `, ${A}` : ""})` : `${y}(${k.join(" ")}${P ? ` / ${A}` : ""})`;
1976
1976
  }
1977
1977
  })(ge);
1978
1978
  (function(e) {
@@ -2111,11 +2111,11 @@ var ve = {}, Ve = {}, ne = {};
2111
2111
  Object.defineProperty(e, "__esModule", {
2112
2112
  value: !0
2113
2113
  });
2114
- function t(f, _) {
2115
- for (var A in _)
2116
- Object.defineProperty(f, A, {
2114
+ function t(f, w) {
2115
+ for (var F in w)
2116
+ Object.defineProperty(f, F, {
2117
2117
  enumerable: !0,
2118
- get: _[A]
2118
+ get: w[F]
2119
2119
  });
2120
2120
  }
2121
2121
  t(e, {
@@ -2132,7 +2132,7 @@ var ve = {}, Ve = {}, ne = {};
2132
2132
  return E;
2133
2133
  },
2134
2134
  length: function() {
2135
- return F;
2135
+ return A;
2136
2136
  },
2137
2137
  lineWidth: function() {
2138
2138
  return L;
@@ -2141,10 +2141,10 @@ var ve = {}, Ve = {}, ne = {};
2141
2141
  return M;
2142
2142
  },
2143
2143
  color: function() {
2144
- return G;
2144
+ return H;
2145
2145
  },
2146
2146
  image: function() {
2147
- return H;
2147
+ return G;
2148
2148
  },
2149
2149
  gradient: function() {
2150
2150
  return N;
@@ -2173,16 +2173,16 @@ var ve = {}, Ve = {}, ne = {};
2173
2173
  "calc"
2174
2174
  ];
2175
2175
  function i(f) {
2176
- return o.some((_) => new RegExp(`^${_}\\(.*\\)`).test(f));
2176
+ return o.some((w) => new RegExp(`^${w}\\(.*\\)`).test(f));
2177
2177
  }
2178
2178
  const c = "--tw-placeholder", l = new RegExp(c, "g");
2179
- function s(f, _ = !0) {
2180
- return f.startsWith("--") ? `var(${f})` : f.includes("url(") ? f.split(/(url\(.*?\))/g).filter(Boolean).map((A) => /^url\(.*?\)$/.test(A) ? A : s(A, !1)).join("") : (f = f.replace(/([^\\])_+/g, (A, O) => O + " ".repeat(A.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), _ && (f = f.trim()), f = d(f), f);
2179
+ function s(f, w = !0) {
2180
+ return f.startsWith("--") ? `var(${f})` : f.includes("url(") ? f.split(/(url\(.*?\))/g).filter(Boolean).map((F) => /^url\(.*?\)$/.test(F) ? F : s(F, !1)).join("") : (f = f.replace(/([^\\])_+/g, (F, O) => O + " ".repeat(F.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), w && (f = f.trim()), f = d(f), f);
2181
2181
  }
2182
2182
  function d(f) {
2183
- return f.replace(/(calc|min|max|clamp)\(.+\)/g, (_) => {
2184
- let A = [];
2185
- return _.replace(/var\((--.+?)[,)]/g, (O, Z) => (A.push(Z), O.replace(Z, c))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(l, () => A.shift());
2183
+ return f.replace(/(calc|min|max|clamp)\(.+\)/g, (w) => {
2184
+ let F = [];
2185
+ return w.replace(/var\((--.+?)[,)]/g, (O, Z) => (F.push(Z), O.replace(Z, c))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(l, () => F.shift());
2186
2186
  });
2187
2187
  }
2188
2188
  function v(f) {
@@ -2227,7 +2227,7 @@ var ve = {}, Ve = {}, ne = {};
2227
2227
  "cqmin",
2228
2228
  "cqmax"
2229
2229
  ].join("|")})`;
2230
- function F(f) {
2230
+ function A(f) {
2231
2231
  return f === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${k}$`).test(f) || i(f);
2232
2232
  }
2233
2233
  let P = /* @__PURE__ */ new Set([
@@ -2239,28 +2239,28 @@ var ve = {}, Ve = {}, ne = {};
2239
2239
  return P.has(f);
2240
2240
  }
2241
2241
  function M(f) {
2242
- let _ = (0, n.parseBoxShadowValue)(s(f));
2243
- for (let A of _)
2244
- if (!A.valid)
2242
+ let w = (0, n.parseBoxShadowValue)(s(f));
2243
+ for (let F of w)
2244
+ if (!F.valid)
2245
2245
  return !1;
2246
2246
  return !0;
2247
2247
  }
2248
- function G(f) {
2249
- let _ = 0;
2248
+ function H(f) {
2249
+ let w = 0;
2250
2250
  return (0, a.splitAtTopLevelOnly)(f, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : (0, r.parseColor)(O, {
2251
2251
  loose: !0
2252
- }) !== null ? (_++, !0) : !1)) ? _ > 0 : !1;
2252
+ }) !== null ? (w++, !0) : !1)) ? w > 0 : !1;
2253
2253
  }
2254
- function H(f) {
2255
- let _ = 0;
2254
+ function G(f) {
2255
+ let w = 0;
2256
2256
  return (0, a.splitAtTopLevelOnly)(f, ",").every((O) => (O = s(O), O.startsWith("var(") ? !0 : v(O) || N(O) || [
2257
2257
  "element(",
2258
2258
  "image(",
2259
2259
  "cross-fade(",
2260
2260
  "image-set("
2261
- ].some((Z) => O.startsWith(Z)) ? (_++, !0) : !1)) ? _ > 0 : !1;
2261
+ ].some((Z) => O.startsWith(Z)) ? (w++, !0) : !1)) ? w > 0 : !1;
2262
2262
  }
2263
- let W = /* @__PURE__ */ new Set([
2263
+ let R = /* @__PURE__ */ new Set([
2264
2264
  "conic-gradient",
2265
2265
  "linear-gradient",
2266
2266
  "radial-gradient",
@@ -2270,12 +2270,12 @@ var ve = {}, Ve = {}, ne = {};
2270
2270
  ]);
2271
2271
  function N(f) {
2272
2272
  f = s(f);
2273
- for (let _ of W)
2274
- if (f.startsWith(`${_}(`))
2273
+ for (let w of R)
2274
+ if (f.startsWith(`${w}(`))
2275
2275
  return !0;
2276
2276
  return !1;
2277
2277
  }
2278
- let R = /* @__PURE__ */ new Set([
2278
+ let W = /* @__PURE__ */ new Set([
2279
2279
  "center",
2280
2280
  "top",
2281
2281
  "right",
@@ -2283,12 +2283,12 @@ var ve = {}, Ve = {}, ne = {};
2283
2283
  "left"
2284
2284
  ]);
2285
2285
  function g(f) {
2286
- let _ = 0;
2287
- return (0, a.splitAtTopLevelOnly)(f, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : R.has(O) || F(O) || E(O) ? (_++, !0) : !1)) ? _ > 0 : !1;
2286
+ let w = 0;
2287
+ return (0, a.splitAtTopLevelOnly)(f, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : W.has(O) || A(O) || E(O) ? (w++, !0) : !1)) ? w > 0 : !1;
2288
2288
  }
2289
2289
  function D(f) {
2290
- let _ = 0;
2291
- return (0, a.splitAtTopLevelOnly)(f, ",").every((O) => (O = s(O), O.startsWith("var(") ? !0 : O.includes(" ") && !/(['"])([^"']+)\1/g.test(O) || /^\d/g.test(O) ? !1 : (_++, !0))) ? _ > 0 : !1;
2290
+ let w = 0;
2291
+ return (0, a.splitAtTopLevelOnly)(f, ",").every((O) => (O = s(O), O.startsWith("var(") ? !0 : O.includes(" ") && !/(['"])([^"']+)\1/g.test(O) || /^\d/g.test(O) ? !1 : (w++, !0))) ? w > 0 : !1;
2292
2292
  }
2293
2293
  let C = /* @__PURE__ */ new Set([
2294
2294
  "serif",
@@ -2379,13 +2379,13 @@ var qe = {};
2379
2379
  return L;
2380
2380
  },
2381
2381
  typeMap: function() {
2382
- return G;
2382
+ return H;
2383
2383
  },
2384
2384
  coerceValue: function() {
2385
2385
  return N;
2386
2386
  },
2387
2387
  getMatchingTypes: function() {
2388
- return R;
2388
+ return W;
2389
2389
  }
2390
2390
  });
2391
2391
  const r = /* @__PURE__ */ l(Ne), n = pe, a = ve, o = /* @__PURE__ */ l(fe), i = qe, c = ie;
@@ -2443,7 +2443,7 @@ var qe = {};
2443
2443
  }
2444
2444
  return g;
2445
2445
  }
2446
- function F(g) {
2446
+ function A(g) {
2447
2447
  return (0, a.normalize)(g.slice(1, -1));
2448
2448
  }
2449
2449
  function P(g, D = {}, { tailwindConfig: C = {} } = {}) {
@@ -2454,9 +2454,9 @@ var qe = {};
2454
2454
  }
2455
2455
  let [x, p] = y(g);
2456
2456
  if (p !== void 0) {
2457
- var $, f, _, A;
2458
- let O = (A = ($ = D.values) === null || $ === void 0 ? void 0 : $[x]) !== null && A !== void 0 ? A : E(x) ? x.slice(1, -1) : void 0;
2459
- return O === void 0 ? void 0 : (O = k(O), E(p) ? (0, n.withAlphaValue)(O, F(p)) : ((f = C.theme) === null || f === void 0 || (_ = f.opacity) === null || _ === void 0 ? void 0 : _[p]) === void 0 ? void 0 : (0, n.withAlphaValue)(O, C.theme.opacity[p]));
2457
+ var $, f, w, F;
2458
+ let O = (F = ($ = D.values) === null || $ === void 0 ? void 0 : $[x]) !== null && F !== void 0 ? F : E(x) ? x.slice(1, -1) : void 0;
2459
+ return O === void 0 ? void 0 : (O = k(O), E(p) ? (0, n.withAlphaValue)(O, A(p)) : ((f = C.theme) === null || f === void 0 || (w = f.opacity) === null || w === void 0 ? void 0 : w[p]) === void 0 ? void 0 : (0, n.withAlphaValue)(O, C.theme.opacity[p]));
2460
2460
  }
2461
2461
  return h(g, D, {
2462
2462
  validate: a.color
@@ -2471,7 +2471,7 @@ var qe = {};
2471
2471
  validate: g
2472
2472
  });
2473
2473
  }
2474
- let G = {
2474
+ let H = {
2475
2475
  any: h,
2476
2476
  color: P,
2477
2477
  url: M(a.url),
@@ -2488,8 +2488,8 @@ var qe = {};
2488
2488
  "relative-size": M(a.relativeSize),
2489
2489
  shadow: M(a.shadow),
2490
2490
  size: M(i.backgroundSize)
2491
- }, H = Object.keys(G);
2492
- function W(g, D) {
2491
+ }, G = Object.keys(H);
2492
+ function R(g, D) {
2493
2493
  let C = g.indexOf(D);
2494
2494
  return C === -1 ? [
2495
2495
  void 0,
@@ -2502,7 +2502,7 @@ var qe = {};
2502
2502
  function N(g, D, C, m) {
2503
2503
  if (C.values && D in C.values)
2504
2504
  for (let { type: x } of g != null ? g : []) {
2505
- let p = G[x](D, C, {
2505
+ let p = H[x](D, C, {
2506
2506
  tailwindConfig: m
2507
2507
  });
2508
2508
  if (p !== void 0)
@@ -2513,37 +2513,37 @@ var qe = {};
2513
2513
  ];
2514
2514
  }
2515
2515
  if (E(D)) {
2516
- let x = D.slice(1, -1), [p, $] = W(x, ":");
2516
+ let x = D.slice(1, -1), [p, $] = R(x, ":");
2517
2517
  if (!/^[\w-_]+$/g.test(p))
2518
2518
  $ = x;
2519
- else if (p !== void 0 && !H.includes(p))
2519
+ else if (p !== void 0 && !G.includes(p))
2520
2520
  return [];
2521
- if ($.length > 0 && H.includes(p))
2521
+ if ($.length > 0 && G.includes(p))
2522
2522
  return [
2523
2523
  h(`[${$}]`, C),
2524
2524
  p,
2525
2525
  null
2526
2526
  ];
2527
2527
  }
2528
- let b = R(g, D, C, m);
2528
+ let b = W(g, D, C, m);
2529
2529
  for (let x of b)
2530
2530
  return x;
2531
2531
  return [];
2532
2532
  }
2533
- function* R(g, D, C, m) {
2533
+ function* W(g, D, C, m) {
2534
2534
  let b = (0, c.flagEnabled)(m, "generalizedModifiers"), [x, p] = y(D);
2535
2535
  if (b && C.modifiers != null && (C.modifiers === "any" || typeof C.modifiers == "object" && (p && E(p) || p in C.modifiers)) || (x = D, p = void 0), p !== void 0 && x === "" && (x = "DEFAULT"), p !== void 0 && typeof C.modifiers == "object") {
2536
- var f, _;
2537
- let A = (_ = (f = C.modifiers) === null || f === void 0 ? void 0 : f[p]) !== null && _ !== void 0 ? _ : null;
2538
- A !== null ? p = A : E(p) && (p = F(p));
2536
+ var f, w;
2537
+ let F = (w = (f = C.modifiers) === null || f === void 0 ? void 0 : f[p]) !== null && w !== void 0 ? w : null;
2538
+ F !== null ? p = F : E(p) && (p = A(p));
2539
2539
  }
2540
- for (let { type: A } of g != null ? g : []) {
2541
- let O = G[A](x, C, {
2540
+ for (let { type: F } of g != null ? g : []) {
2541
+ let O = H[F](x, C, {
2542
2542
  tailwindConfig: m
2543
2543
  });
2544
2544
  O !== void 0 && (yield [
2545
2545
  O,
2546
- A,
2546
+ F,
2547
2547
  p != null ? p : null
2548
2548
  ]);
2549
2549
  }
@@ -2572,7 +2572,7 @@ var Xe = {};
2572
2572
  return C;
2573
2573
  }
2574
2574
  });
2575
- const t = /* @__PURE__ */ E(fe), r = /* @__PURE__ */ E(ze), n = /* @__PURE__ */ E(Pe), a = /* @__PURE__ */ E(he), o = He, i = je, c = Be, l = /* @__PURE__ */ E(We), s = Re, d = Ue, v = pe, h = /* @__PURE__ */ E(Xe);
2575
+ const t = /* @__PURE__ */ E(fe), r = /* @__PURE__ */ E(ze), n = /* @__PURE__ */ E(Pe), a = /* @__PURE__ */ E(he), o = Ge, i = je, c = Be, l = /* @__PURE__ */ E(Re), s = We, d = Ue, v = pe, h = /* @__PURE__ */ E(Xe);
2576
2576
  function E(m) {
2577
2577
  return m && m.__esModule ? m : {
2578
2578
  default: m
@@ -2590,7 +2590,7 @@ var Xe = {};
2590
2590
  }
2591
2591
  return m;
2592
2592
  }
2593
- const F = {
2593
+ const A = {
2594
2594
  colors: a.default,
2595
2595
  negative(m) {
2596
2596
  return Object.keys(m).filter((b) => m[b] !== "0").reduce((b, x) => {
@@ -2627,7 +2627,7 @@ var Xe = {};
2627
2627
  extend: L(m)
2628
2628
  };
2629
2629
  }
2630
- function G(m, b) {
2630
+ function H(m, b) {
2631
2631
  if (Array.isArray(m) && (0, l.default)(m[0]))
2632
2632
  return m.concat(b);
2633
2633
  if (Array.isArray(b) && (0, l.default)(b[0]) && (0, l.default)(m))
@@ -2638,44 +2638,44 @@ var Xe = {};
2638
2638
  if (Array.isArray(b))
2639
2639
  return b;
2640
2640
  }
2641
- function H({ extend: m, ...b }) {
2642
- return k(b, m, (x, p) => !y(x) && !p.some(y) ? k({}, x, ...p, G) : ($, f) => k({}, ...[
2641
+ function G({ extend: m, ...b }) {
2642
+ return k(b, m, (x, p) => !y(x) && !p.some(y) ? k({}, x, ...p, H) : ($, f) => k({}, ...[
2643
2643
  x,
2644
2644
  ...p
2645
- ].map((_) => P(_, $, f)), G));
2645
+ ].map((w) => P(w, $, f)), H));
2646
2646
  }
2647
- function* W(m) {
2647
+ function* R(m) {
2648
2648
  let b = (0, i.toPath)(m);
2649
2649
  if (b.length === 0 || (yield b, Array.isArray(m)))
2650
2650
  return;
2651
2651
  let x = /^(.*?)\s*\/\s*([^/]+)$/, p = m.match(x);
2652
2652
  if (p !== null) {
2653
- let [, $, f] = p, _ = (0, i.toPath)($);
2654
- _.alpha = f, yield _;
2653
+ let [, $, f] = p, w = (0, i.toPath)($);
2654
+ w.alpha = f, yield w;
2655
2655
  }
2656
2656
  }
2657
2657
  function N(m) {
2658
2658
  const b = (x, p) => {
2659
- for (const $ of W(x)) {
2660
- let f = 0, _ = m;
2661
- for (; _ != null && f < $.length; )
2662
- _ = _[$[f++]], _ = y(_) && ($.alpha === void 0 || f <= $.length - 1) ? _(b, F) : _;
2663
- if (_ !== void 0) {
2659
+ for (const $ of R(x)) {
2660
+ let f = 0, w = m;
2661
+ for (; w != null && f < $.length; )
2662
+ w = w[$[f++]], w = y(w) && ($.alpha === void 0 || f <= $.length - 1) ? w(b, A) : w;
2663
+ if (w !== void 0) {
2664
2664
  if ($.alpha !== void 0) {
2665
- let A = (0, d.parseColorFormat)(_);
2666
- return (0, v.withAlphaValue)(A, $.alpha, (0, h.default)(A));
2665
+ let F = (0, d.parseColorFormat)(w);
2666
+ return (0, v.withAlphaValue)(F, $.alpha, (0, h.default)(F));
2667
2667
  }
2668
- return (0, l.default)(_) ? (0, s.cloneDeep)(_) : _;
2668
+ return (0, l.default)(w) ? (0, s.cloneDeep)(w) : w;
2669
2669
  }
2670
2670
  }
2671
2671
  return p;
2672
2672
  };
2673
2673
  return Object.assign(b, {
2674
2674
  theme: b,
2675
- ...F
2676
- }), Object.keys(m).reduce((x, p) => (x[p] = y(m[p]) ? m[p](b, F) : m[p], x), {});
2675
+ ...A
2676
+ }), Object.keys(m).reduce((x, p) => (x[p] = y(m[p]) ? m[p](b, A) : m[p], x), {});
2677
2677
  }
2678
- function R(m) {
2678
+ function W(m) {
2679
2679
  let b = [];
2680
2680
  return m.forEach((x) => {
2681
2681
  b = [
@@ -2686,11 +2686,11 @@ var Xe = {};
2686
2686
  const $ = (p = x == null ? void 0 : x.plugins) !== null && p !== void 0 ? p : [];
2687
2687
  $.length !== 0 && $.forEach((f) => {
2688
2688
  f.__isOptionsFunction && (f = f());
2689
- var _;
2689
+ var w;
2690
2690
  b = [
2691
2691
  ...b,
2692
- ...R([
2693
- (_ = f == null ? void 0 : f.config) !== null && _ !== void 0 ? _ : {}
2692
+ ...W([
2693
+ (w = f == null ? void 0 : f.config) !== null && w !== void 0 ? w : {}
2694
2694
  ])
2695
2695
  ];
2696
2696
  });
@@ -2713,7 +2713,7 @@ var Xe = {};
2713
2713
  }
2714
2714
  function C(m) {
2715
2715
  let b = [
2716
- ...R(m),
2716
+ ...W(m),
2717
2717
  {
2718
2718
  prefix: "",
2719
2719
  important: !1,
@@ -2722,7 +2722,7 @@ var Xe = {};
2722
2722
  ];
2723
2723
  var x, p;
2724
2724
  return (0, c.normalizeConfig)((0, o.defaults)({
2725
- theme: N(H(M(b.map(($) => (x = $ == null ? void 0 : $.theme) !== null && x !== void 0 ? x : {})))),
2725
+ theme: N(G(M(b.map(($) => (x = $ == null ? void 0 : $.theme) !== null && x !== void 0 ? x : {})))),
2726
2726
  corePlugins: g(b.map(($) => $.corePlugins)),
2727
2727
  plugins: D(m.map(($) => (p = $ == null ? void 0 : $.plugins) !== null && p !== void 0 ? p : []))
2728
2728
  }, ...b));
@@ -3788,8 +3788,8 @@ var Ye = {}, ct = {
3788
3788
  ...i
3789
3789
  ]);
3790
3790
  }
3791
- })(Ae);
3792
- let se = Ae;
3791
+ })(Fe);
3792
+ let se = Fe;
3793
3793
  var dt = (se.__esModule ? se : { default: se }).default;
3794
3794
  const ft = /* @__PURE__ */ ut(dt);
3795
3795
  let ae = he;
@@ -4085,7 +4085,7 @@ var Tt = function() {
4085
4085
  Et,
4086
4086
  !1,
4087
4087
  null,
4088
- "f6962f4a",
4088
+ "29711f67",
4089
4089
  null,
4090
4090
  null
4091
4091
  );
@@ -4152,7 +4152,7 @@ const Ke = $t.exports, Dt = q.extend({
4152
4152
  var kt = function() {
4153
4153
  var t = this, r = t._self._c;
4154
4154
  return t._self._setupProxy, r("div", { staticClass: "e-row e-flex e-flex-wrap", class: t.rowClasses }, [t._t("default")], 2);
4155
- }, Ot = [], Ft = /* @__PURE__ */ I(
4155
+ }, Ot = [], At = /* @__PURE__ */ I(
4156
4156
  Dt,
4157
4157
  kt,
4158
4158
  Ot,
@@ -4162,7 +4162,7 @@ var kt = function() {
4162
4162
  null,
4163
4163
  null
4164
4164
  );
4165
- const At = Ft.exports, Mt = q.extend({
4165
+ const Ft = At.exports, Mt = q.extend({
4166
4166
  props: {
4167
4167
  alignSelf: {
4168
4168
  type: String,
@@ -4279,11 +4279,11 @@ var zt = function() {
4279
4279
  null,
4280
4280
  null
4281
4281
  );
4282
- const Gt = Lt.exports;
4282
+ const Ht = Lt.exports;
4283
4283
  function Je() {
4284
4284
  return !!(document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement);
4285
4285
  }
4286
- function Ht(e) {
4286
+ function Gt(e) {
4287
4287
  if (Je())
4288
4288
  return new Promise((t) => t());
4289
4289
  if (e.requestFullscreen)
@@ -4505,7 +4505,7 @@ const oe = new Intl.NumberFormat(void 0, {
4505
4505
  },
4506
4506
  openFullscreenMode() {
4507
4507
  const e = this.$refs.videoContainer;
4508
- e && (Ht(e).then(() => {
4508
+ e && (Gt(e).then(() => {
4509
4509
  this.isFullscreen = !0;
4510
4510
  }), this.isFullscreen = !0);
4511
4511
  },
@@ -4581,7 +4581,7 @@ const oe = new Intl.NumberFormat(void 0, {
4581
4581
  }
4582
4582
  }
4583
4583
  });
4584
- var Wt = function() {
4584
+ var Rt = function() {
4585
4585
  var t = this, r = t._self._c;
4586
4586
  return r("div", { ref: "videoContainer", staticClass: "video-container paused", attrs: { "data-volume-level": "high" } }, [r("video", t._g(t._b({ ref: "player", attrs: { controls: !1, preload: "auto" }, on: { ended: t.handleEnded, click: t.togglePlay, loadedmetadata: t.getDuration, timeupdate: t.handleTimeUpdate, loadeddata: t.handleLoading } }, "video", t.videoOptions, !1), t.videoListeners), t._l(t.sourceItems, function(n) {
4587
4587
  return r("source", t._g({ key: n.src, attrs: { src: n.src, type: n.type }, on: { error: t.handle404Error } }, t.videoListeners));
@@ -4592,16 +4592,16 @@ var Wt = function() {
4592
4592
  "fa-expand": !t.isFullscreen,
4593
4593
  "fa-compress": t.isFullscreen
4594
4594
  }, on: { click: t.toggleFullscreenMode } })])])]);
4595
- }, Rt = [function() {
4595
+ }, Wt = [function() {
4596
4596
  var e = this, t = e._self._c;
4597
4597
  return t("div", { staticClass: "timeline" }, [t("div", { staticClass: "thumb-indicator" })]);
4598
4598
  }], Ut = /* @__PURE__ */ I(
4599
4599
  Bt,
4600
- Wt,
4601
4600
  Rt,
4601
+ Wt,
4602
4602
  !1,
4603
4603
  null,
4604
- "1f364495",
4604
+ "dd8ff405",
4605
4605
  null,
4606
4606
  null
4607
4607
  );
@@ -4969,10 +4969,11 @@ const It = {
4969
4969
  name: "resize-observer",
4970
4970
  definition: Qe
4971
4971
  }
4972
- ], w = {
4972
+ ], _ = {
4973
4973
  eventGroup: "event-group",
4974
4974
  eventGroupBg: "event-group-bg",
4975
4975
  eventRect: "event-rect",
4976
+ eventRectText: "event-rect-text",
4976
4977
  labelBg: "label-bg",
4977
4978
  labelBgFill: "label-bg-fill",
4978
4979
  labelText: "label-text",
@@ -5045,10 +5046,14 @@ const It = {
5045
5046
  type: Number,
5046
5047
  default: 1
5047
5048
  },
5048
- barChartHeight: {
5049
+ barHeight: {
5049
5050
  type: Number,
5050
5051
  default: 18
5051
5052
  },
5053
+ barYPadding: {
5054
+ type: Number,
5055
+ default: 0
5056
+ },
5052
5057
  lineGraphMinHeight: {
5053
5058
  type: Number,
5054
5059
  default: 60
@@ -5081,7 +5086,6 @@ const It = {
5081
5086
  zoomBehavior: null,
5082
5087
  isMouseDown: !1,
5083
5088
  axisHeight: 22,
5084
- eventGroupPadding: 0,
5085
5089
  isHoveringEvent: !1,
5086
5090
  hoveredEvent: null,
5087
5091
  isHoveringTimeline: !1,
@@ -5101,10 +5105,15 @@ const It = {
5101
5105
  leftCurtainWidth: 50,
5102
5106
  rightCurtainWidth: 50,
5103
5107
  isHoveringCurtain: !1,
5104
- isDraggingCurtain: !1
5108
+ isDraggingCurtain: !1,
5109
+ characterWidth: 7.5,
5110
+ textPadding: 5
5105
5111
  };
5106
5112
  },
5107
5113
  computed: {
5114
+ barChartHeight() {
5115
+ return this.barHeight + this.barYPadding;
5116
+ },
5108
5117
  classes() {
5109
5118
  return {
5110
5119
  wrapper: {
@@ -5144,15 +5153,15 @@ const It = {
5144
5153
  ).reduce((r, n) => {
5145
5154
  var a;
5146
5155
  return Math.max(r, (a = n.label) == null ? void 0 : a.length);
5147
- }, 0) * 7.5 + 5;
5156
+ }, 0) * this.characterWidth + 2 * this.textPadding;
5148
5157
  },
5149
5158
  combinedXAxesHeight() {
5150
5159
  const e = Object.keys(this.xAxesConfig).length - 1;
5151
5160
  return this.axisHeight * e;
5152
5161
  },
5153
5162
  timelineHeight() {
5154
- const e = Object.keys(this.barGroups).length, t = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, r = this.eventGroupPadding * (e - 1), n = this.barChartHeight * e;
5155
- return this.combinedXAxesHeight + t + n + r;
5163
+ const e = Object.keys(this.barGroups).length, t = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, r = this.barChartHeight * e;
5164
+ return this.combinedXAxesHeight + t + r;
5156
5165
  },
5157
5166
  filteredEventsGroups() {
5158
5167
  const e = Object.entries(this.eventsGroups).filter(
@@ -5279,7 +5288,7 @@ const It = {
5279
5288
  const t = 5;
5280
5289
  for (const r in this.xAxesConfig) {
5281
5290
  const n = this.createAxis(r);
5282
- this.xAxes[r] = n, this.svg.append("g").classed(w.xAxis, !0).classed(`${w.xAxis}-${r}`, !0).attr("transform", `translate(0, ${e || t})`).call(n), this.translateTicksText(r), e += this.axisHeight;
5291
+ this.xAxes[r] = n, this.svg.append("g").classed(_.xAxis, !0).classed(`${_.xAxis}-${r}`, !0).attr("transform", `translate(0, ${e || t})`).call(n), this.translateTicksText(r), e += this.axisHeight;
5283
5292
  }
5284
5293
  },
5285
5294
  initYScale() {
@@ -5291,7 +5300,7 @@ const It = {
5291
5300
  this.disableZoom || (this.zoomBehavior = u.zoom().on("zoom", this.handleZoom).scaleExtent([this.minZoom, this.maxZoom]), this.svg.call(this.zoomBehavior));
5292
5301
  },
5293
5302
  initSelectedTimestampCursor() {
5294
- this.svg.append("line").attr("class", w.selectedTimestampCursor).style("stroke", "red").style("stroke-width", "1px").style("opacity", 0).attr("x1", 0).attr("x2", 0).attr("y1", 0).attr("y2", this.timelineHeight), this.repositionSelectedTimestampCursor();
5303
+ this.svg.append("line").attr("class", _.selectedTimestampCursor).style("stroke", "red").style("stroke-width", "1px").style("opacity", 0).attr("x1", 0).attr("x2", 0).attr("y1", 0).attr("y2", this.timelineHeight), this.repositionSelectedTimestampCursor();
5295
5304
  },
5296
5305
  updateAndRedrawTimeline() {
5297
5306
  const { startDate: e, endDate: t } = this.getCurrentTimeBounds();
@@ -5301,7 +5310,7 @@ const It = {
5301
5310
  this.svg && this.svg.remove(), this.countsByTimestamp = {};
5302
5311
  },
5303
5312
  repositionSelectedTimestampCursor() {
5304
- const e = this.svg.select(`.${w.selectedTimestampCursor}`);
5313
+ const e = this.svg.select(`.${_.selectedTimestampCursor}`);
5305
5314
  if (!this.selectedTimestamp) {
5306
5315
  e.style("opacity", 0);
5307
5316
  return;
@@ -5348,12 +5357,12 @@ const It = {
5348
5357
  if (!this.showLabels)
5349
5358
  return;
5350
5359
  const e = this;
5351
- this.svg.selectAll(`.${w.labelBg}`).each(function() {
5360
+ this.svg.selectAll(`.${_.labelBg}`).each(function() {
5352
5361
  u.select(this).style("fill", e.dark ? "black" : "white");
5353
- }), this.svg.selectAll(`.${w.labelBgFill}`).each(function() {
5362
+ }), this.svg.selectAll(`.${_.labelBgFill}`).each(function() {
5354
5363
  const t = u.select(this), r = t.node().dataset.color;
5355
5364
  t.style("fill", e.getLabelBackgroundColor(r)).style("stroke", e.getTextFillColor(r)).style("stroke-width", 0.25);
5356
- }), this.svg.selectAll(`.${w.labelText}`).each(function() {
5365
+ }), this.svg.selectAll(`.${_.labelText}`).each(function() {
5357
5366
  const t = u.select(this), r = t.node().dataset.color;
5358
5367
  t.style("fill", e.getTextFillColor(r));
5359
5368
  });
@@ -5406,20 +5415,20 @@ const It = {
5406
5415
  this.isHoveringEvent = !1, this.hoveredEvent = null, this.$emit("event-mouseout");
5407
5416
  },
5408
5417
  handleLabelMouseOver(e) {
5409
- u.selectAll(`.${w.lineGraphGroup}-${e}`).classed(
5410
- `${w.lineGraphGroup}--highlighted`,
5418
+ u.selectAll(`.${_.lineGraphGroup}-${e}`).classed(
5419
+ `${_.lineGraphGroup}--highlighted`,
5411
5420
  !0
5412
- ), u.selectAll(`.${w.lineGraphGroup}-label`).classed(
5413
- `${w.lineGraphGroup}-label--highlighted`,
5421
+ ), u.selectAll(`.${_.lineGraphGroup}-label`).classed(
5422
+ `${_.lineGraphGroup}-label--highlighted`,
5414
5423
  !0
5415
5424
  );
5416
5425
  },
5417
5426
  handleLabelMouseLeave(e) {
5418
- u.selectAll(`.${w.lineGraphGroup}-${e}`).classed(
5419
- `${w.lineGraphGroup}--highlighted`,
5427
+ u.selectAll(`.${_.lineGraphGroup}-${e}`).classed(
5428
+ `${_.lineGraphGroup}--highlighted`,
5420
5429
  !1
5421
- ), u.selectAll(`.${w.lineGraphGroup}-label`).classed(
5422
- `${w.lineGraphGroup}-label--highlighted`,
5430
+ ), u.selectAll(`.${_.lineGraphGroup}-label`).classed(
5431
+ `${_.lineGraphGroup}-label--highlighted`,
5423
5432
  !1
5424
5433
  );
5425
5434
  },
@@ -5448,7 +5457,7 @@ const It = {
5448
5457
  },
5449
5458
  updateCurtainsOnResize(e) {
5450
5459
  const { startDate: t, endDate: r } = this.calculateDateRangeFromCurtains(), n = this.timeScale.domain(), a = n[1].getTime() - n[0].getTime(), o = t.getTime() - n[0].getTime(), i = n[1].getTime() - r.getTime();
5451
- this.leftCurtainWidth = o / a * e, this.rightCurtainWidth = i / a * e, this.svg.select(`.${w.curtain}--left`).attr("width", this.leftCurtainWidth), this.svg.select(`.${w.curtain}--right`).attr(
5460
+ this.leftCurtainWidth = o / a * e, this.rightCurtainWidth = i / a * e, this.svg.select(`.${_.curtain}--left`).attr("width", this.leftCurtainWidth), this.svg.select(`.${_.curtain}--right`).attr(
5452
5461
  "x",
5453
5462
  e - this.rightCurtainWidth + this.curtainHandleWidth * 2
5454
5463
  ).attr("width", this.rightCurtainWidth);
@@ -5465,7 +5474,7 @@ const It = {
5465
5474
  e.x,
5466
5475
  this.timeline.offsetWidth - this.rightCurtainWidth
5467
5476
  );
5468
- this.leftCurtainWidth = Math.max(0, t), this.svg.select(`.${w.curtain}--left`).attr("width", this.leftCurtainWidth), this.emitCurtainChange();
5477
+ this.leftCurtainWidth = Math.max(0, t), this.svg.select(`.${_.curtain}--left`).attr("width", this.leftCurtainWidth), this.emitCurtainChange();
5469
5478
  },
5470
5479
  handleRightDrag(e) {
5471
5480
  e.sourceEvent.stopPropagation();
@@ -5473,7 +5482,7 @@ const It = {
5473
5482
  this.timeline.offsetWidth - e.x,
5474
5483
  this.timeline.offsetWidth - this.leftCurtainWidth
5475
5484
  ), n = t - r;
5476
- this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${w.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", n), this.emitCurtainChange();
5485
+ this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${_.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", n), this.emitCurtainChange();
5477
5486
  },
5478
5487
  zoomToStartAndEndDates() {
5479
5488
  const e = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, t = this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate, r = this.tzStringToDate(e), n = this.tzStringToDate(t), a = this.timeline.offsetWidth, o = [r, n], i = [0, a];
@@ -5486,23 +5495,25 @@ const It = {
5486
5495
  const r = this.xAxes[e], n = this.getAxisTicksConfig(
5487
5496
  this.xAxesConfig[e]
5488
5497
  );
5489
- r.scale(t).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0), this.svg.select(`.${w.xAxis}-${e}`).call(r);
5498
+ r.scale(t).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0), this.svg.select(`.${_.xAxis}-${e}`).call(r);
5490
5499
  },
5491
5500
  translateTicksText(e) {
5492
- this.svg.select(`.${w.xAxis}-${e}`).selectAll(".tick text").each(function() {
5501
+ this.svg.select(`.${_.xAxis}-${e}`).selectAll(".tick text").each(function() {
5493
5502
  let t = u.select(this), r = t.node().getBBox();
5494
5503
  t.attr("x", r.height / 2).attr("y", 0).style("text-anchor", "start");
5495
5504
  });
5496
5505
  },
5497
5506
  updateBarCharts() {
5498
- const e = `.${w.eventGroup} > rect.${w.eventRect}`;
5499
- this.svg.selectAll(e).attr("x", this.getEventRectX).attr("width", this.getEventRectWidth).attr("height", this.barChartHeight);
5507
+ const e = `.${_.eventGroup} > rect.${_.eventRect}`;
5508
+ this.svg.selectAll(e).attr("x", this.getEventRectX).attr("width", this.getEventRectWidth);
5509
+ const t = `.${_.eventGroup} > text.${_.eventRectText}`;
5510
+ this.svg.selectAll(t).attr("x", (r) => this.getEventRectX(r) + this.textPadding).text(this.getEventText);
5500
5511
  },
5501
5512
  updateLineGraphs() {
5502
5513
  Object.entries(this.lineGraphGroups).forEach(([e]) => {
5503
5514
  const t = u.area().x((r) => this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1((r) => this.yScale(r.count)).curve(u.curveMonotoneX);
5504
5515
  this.svg.selectAll(
5505
- `.${w.lineGraphPath}-${e}`
5516
+ `.${_.lineGraphPath}-${e}`
5506
5517
  ).attr("d", (r) => t(r));
5507
5518
  });
5508
5519
  },
@@ -5510,11 +5521,11 @@ const It = {
5510
5521
  Object.keys(this.lineGraphGroups).forEach((e) => {
5511
5522
  const t = this;
5512
5523
  this.svg.selectAll(
5513
- `.${w.lineGraphDot}-${e}`
5524
+ `.${_.lineGraphDot}-${e}`
5514
5525
  ).each(function(r) {
5515
5526
  u.select(this).attr("cx", t.timeScale(t.tzStringToDate(r.timestamp))).attr("cy", t.yScale(r.count));
5516
5527
  }), this.svg.selectAll(
5517
- `.${w.lineGraphHoverZone}-${e}`
5528
+ `.${_.lineGraphHoverZone}-${e}`
5518
5529
  ).each(function(r) {
5519
5530
  const n = t.timeScale(t.tzStringToDate(r.timestamp).getTime()) - 15;
5520
5531
  u.select(this).attr("x", n).attr("y", 0).attr("width", 30).attr("height", t.lineGraphChartHeight);
@@ -5535,13 +5546,18 @@ const It = {
5535
5546
  return Math.max(t, this.rectMinWidth);
5536
5547
  }
5537
5548
  },
5549
+ getEventText(e) {
5550
+ var n;
5551
+ const r = (this.getEventRectWidth(e) - this.textPadding) / this.characterWidth;
5552
+ return r < 4 ? "" : ((n = e.text) == null ? void 0 : n.length) <= r ? e.text : `${e.text.slice(0, r - 3)}...`;
5553
+ },
5538
5554
  initCurtains() {
5539
5555
  if (!this.curtains)
5540
5556
  return;
5541
5557
  const e = this.timeline.offsetWidth, t = this.timelineHeight;
5542
- this.svg.append("rect").classed(`${w.curtain} ${w.curtain}--left`, !0).attr("width", this.leftCurtainWidth).attr("height", t + this.curtainHandleWidth * 2).attr("y", -this.curtainHandleWidth).attr("x", -this.curtainHandleWidth).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
5558
+ this.svg.append("rect").classed(`${_.curtain} ${_.curtain}--left`, !0).attr("width", this.leftCurtainWidth).attr("height", t + this.curtainHandleWidth * 2).attr("y", -this.curtainHandleWidth).attr("x", -this.curtainHandleWidth).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
5543
5559
  u.drag().on("start", this.handleDragStart).on("drag", this.handleLeftDrag).on("end", this.handleDragEnd)
5544
- ), this.svg.append("rect").classed(`${w.curtain} ${w.curtain}--right`, !0).attr(
5560
+ ), this.svg.append("rect").classed(`${_.curtain} ${_.curtain}--right`, !0).attr(
5545
5561
  "x",
5546
5562
  e - this.rightCurtainWidth + this.curtainHandleWidth * 2
5547
5563
  ).attr("y", -this.curtainHandleWidth).attr("width", this.rightCurtainWidth + this.curtainHandleWidth * 2).attr("height", t + this.curtainHandleWidth * 2).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
@@ -5549,13 +5565,13 @@ const It = {
5549
5565
  );
5550
5566
  },
5551
5567
  drawEventsGroups() {
5552
- this.svg.selectAll(`g.${w.eventGroup}`).remove(), this.drawLineGraphEventsGroups(), this.drawBarEventsGroups();
5568
+ this.svg.selectAll(`g.${_.eventGroup}`).remove(), this.drawLineGraphEventsGroups(), this.drawBarEventsGroups();
5553
5569
  },
5554
5570
  drawLineGraphEventsGroups() {
5555
5571
  const e = this.combinedXAxesHeight, t = this.normalizeEvents ? this.normalizedLineGraphGroups : this.lineGraphGroups;
5556
5572
  Object.entries(t).forEach(([r, n]) => {
5557
5573
  const a = this.svg.append("g").classed(
5558
- `${w.lineGraphGroup} ${w.lineGraphGroup}-${r}`,
5574
+ `${_.lineGraphGroup} ${_.lineGraphGroup}-${r}`,
5559
5575
  !0
5560
5576
  ).attr("transform", `translate(0,${e})`), { color: o, events: i } = n;
5561
5577
  this.drawLineGraph({
@@ -5571,7 +5587,7 @@ const It = {
5571
5587
  });
5572
5588
  }), Object.entries(this.lineGraphGroups).forEach(
5573
5589
  ([r, n], a) => {
5574
- const { color: o, isLoading: i, label: c } = n, l = this.lineGraphChartHeight - this.barChartHeight * (a + 1), s = e + this.lineGraphChartHeight - this.barChartHeight, d = this.svg.append("g").classed(`${w.lineGraphGroup}-label`, !0).attr("transform", `translate(0,${e})`).on("mouseover", () => this.handleLabelMouseOver(r)).on("mouseleave", () => this.handleLabelMouseLeave(r));
5590
+ const { color: o, isLoading: i, label: c } = n, l = this.lineGraphChartHeight - this.barChartHeight * (a + 1), s = e + this.lineGraphChartHeight - this.barChartHeight, d = this.svg.append("g").classed(`${_.lineGraphGroup}-label`, !0).attr("transform", `translate(0,${e})`).on("mouseover", () => this.handleLabelMouseOver(r)).on("mouseleave", () => this.handleLabelMouseLeave(r));
5575
5591
  this.drawProgressIndicator({
5576
5592
  type: r,
5577
5593
  color: o,
@@ -5593,7 +5609,7 @@ const It = {
5593
5609
  type: n
5594
5610
  }) {
5595
5611
  const a = u.area().x((o) => this.timeScale(this.tzStringToDate(o.timestamp))).y0(this.timelineHeight).y1((o) => this.yScale(o.count)).curve(u.curveMonotoneX);
5596
- t.append("path").datum(e).classed(`${w.lineGraphPath}-${n}`, !0).attr("fill", `url(#${Q.areaGradient}-${n})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (o) => a(o));
5612
+ t.append("path").datum(e).classed(`${_.lineGraphPath}-${n}`, !0).attr("fill", `url(#${Q.areaGradient}-${n})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (o) => a(o));
5597
5613
  },
5598
5614
  drawLineGraphHoverZones({
5599
5615
  events: e,
@@ -5608,46 +5624,46 @@ const It = {
5608
5624
  [n]: a.count
5609
5625
  };
5610
5626
  const i = t.append("circle").classed(
5611
- `${w.lineGraphDot} ${w.lineGraphDot}-${n}`,
5627
+ `${_.lineGraphDot} ${_.lineGraphDot}-${n}`,
5612
5628
  !0
5613
5629
  ).attr("cx", this.timeScale(this.tzStringToDate(a.timestamp))).attr("cy", this.yScale(a.count)).attr("r", 1.5).attr("fill", r).attr("stroke-width", 0).datum(a);
5614
5630
  this.dotsByTimestamp[o] = [
5615
5631
  ...this.dotsByTimestamp[o] || [],
5616
5632
  i
5617
- ], t.append("rect").classed(`${w.lineGraphHoverZone}-${n}`, !0).attr("x", this.timeScale(this.tzStringToDate(a.timestamp)) - 15).attr("y", 0).attr("width", 30).attr("height", this.lineGraphChartHeight).attr("fill", "transparent").datum(a).on("mouseover", (c) => {
5633
+ ], t.append("rect").classed(`${_.lineGraphHoverZone}-${n}`, !0).attr("x", this.timeScale(this.tzStringToDate(a.timestamp)) - 15).attr("y", 0).attr("width", 30).attr("height", this.lineGraphChartHeight).attr("fill", "transparent").datum(a).on("mouseover", (c) => {
5618
5634
  this.handleLineMouseOver(c, a, n), this.dotsByTimestamp[o].forEach(
5619
- (l) => l.classed(`${w.lineGraphDot}--active`, !0)
5635
+ (l) => l.classed(`${_.lineGraphDot}--active`, !0)
5620
5636
  );
5621
5637
  }).on("mouseout", () => {
5622
5638
  this.handleLineMouseOut(), this.dotsByTimestamp[o].forEach(
5623
- (c) => c.classed(`${w.lineGraphDot}--active`, !1)
5639
+ (c) => c.classed(`${_.lineGraphDot}--active`, !1)
5624
5640
  );
5625
5641
  });
5626
5642
  });
5627
5643
  },
5628
5644
  drawBarEventsGroups() {
5629
5645
  Object.entries(this.barGroups).forEach(([e, t], r) => {
5630
- const { color: n, label: a, events: o, isLoading: i } = t, c = r === 0 ? 0 : this.eventGroupPadding, l = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, s = r * (this.barChartHeight + c) + this.combinedXAxesHeight + l;
5646
+ const { color: n, bgColor: a, label: o, events: i, isLoading: c } = t, l = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, s = r * this.barChartHeight + this.combinedXAxesHeight + l;
5631
5647
  this.drawProgressIndicator({
5632
5648
  yPosition: s,
5633
5649
  type: e,
5634
5650
  color: n,
5635
- isLoading: i
5651
+ isLoading: c
5636
5652
  });
5637
- const d = this.svg.append("g").attr("data-color", n).classed(w.eventGroup, !0).classed(`${w.eventGroup}-${e}`, !0);
5653
+ const d = this.svg.append("g").attr("data-color", n).classed(_.eventGroup, !0).classed(`${_.eventGroup}-${e}`, !0);
5638
5654
  this.drawBackground({
5639
- color: n,
5655
+ color: a || n,
5640
5656
  gElement: d,
5641
5657
  yPosition: s
5642
5658
  }), this.drawBars({
5643
- events: o,
5659
+ events: i,
5644
5660
  color: n,
5645
5661
  gElement: d,
5646
5662
  yPosition: s,
5647
5663
  type: e
5648
5664
  }), this.drawTextLabel({
5649
5665
  color: n,
5650
- label: a,
5666
+ label: o,
5651
5667
  gElement: d,
5652
5668
  yPosition: s
5653
5669
  });
@@ -5659,7 +5675,7 @@ const It = {
5659
5675
  isLoading: r
5660
5676
  }) {
5661
5677
  this.svg.append("rect").classed(
5662
- `${w.loadingIndicator} ${w.loadingIndicator}-${t}`,
5678
+ `${_.loadingIndicator} ${_.loadingIndicator}-${t}`,
5663
5679
  !0
5664
5680
  ).attr("x", 0).attr("y", e).attr("width", this.timeline.offsetWidth / 3).attr("height", this.barChartHeight).attr("fill", `url(#${Q.loadingGradient}-${t})`).style("visibility", r ? "visible" : "hidden");
5665
5681
  },
@@ -5668,7 +5684,7 @@ const It = {
5668
5684
  yPosition: t,
5669
5685
  gElement: r
5670
5686
  }) {
5671
- r.append("rect").attr("class", w.eventGroupBg).attr("x", 0).attr("y", t).attr("width", this.timeline.offsetWidth).attr("height", this.barChartHeight).attr("fill", u.color(e).toString()).style("opacity", 0.1);
5687
+ r.append("rect").attr("class", _.eventGroupBg).attr("x", 0).attr("y", t).attr("width", this.timeline.offsetWidth).attr("height", this.barChartHeight).attr("fill", u.color(e).toString()).style("opacity", 0.1);
5672
5688
  },
5673
5689
  drawBars({
5674
5690
  events: e,
@@ -5678,11 +5694,14 @@ const It = {
5678
5694
  type: a
5679
5695
  }) {
5680
5696
  const o = this;
5681
- t.selectAll(w.eventRect).data(e).enter().append("rect").classed(w.eventRect, !0).attr("x", this.getEventRectX).attr("y", r).attr("ry", 1.5).attr("rx", 1.5).attr("width", this.getEventRectWidth).attr("height", this.barChartHeight).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").style("fill", (i) => i.color || n).on("mouseover", function(i, c) {
5682
- u.select(this).classed(`${w.eventRect}--hovered`, !0), o.handleBarMouseOver(i, c, a);
5697
+ t.selectAll(_.eventRect).data(e).enter().append("rect").classed(_.eventRect, !0).attr("x", this.getEventRectX).attr("y", r + this.barYPadding / 2).attr("ry", 1.5).attr("rx", 1.5).attr("width", this.getEventRectWidth).attr("height", this.barChartHeight - this.barYPadding).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").style("fill", (i) => i.color || n).on("mouseover", function(i, c) {
5698
+ u.select(this).classed(`${_.eventRect}--hovered`, !0), o.handleBarMouseOver(i, c, a);
5683
5699
  }).on("mouseout", function() {
5684
- u.select(this).classed(`${w.eventRect}--hovered`, !1), o.handleBarMouseOut();
5685
- });
5700
+ u.select(this).classed(`${_.eventRect}--hovered`, !1), o.handleBarMouseOut();
5701
+ }), t.selectAll(_.eventRectText).data(e.filter((i) => !!i.text)).enter().append("text").attr("class", _.eventRectText).attr("x", (i) => this.getEventRectX(i) + 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(
5702
+ "fill",
5703
+ (i) => this.getTextFillColor(i.color || n, 0.75)
5704
+ ).text(this.getEventText);
5686
5705
  },
5687
5706
  drawTextLabel({
5688
5707
  gElement: e,
@@ -5695,15 +5714,15 @@ const It = {
5695
5714
  const a = {
5696
5715
  x: -5,
5697
5716
  y: t,
5698
- w: this.labelRectWidth + 5,
5717
+ w: this.labelRectWidth,
5699
5718
  h: this.barChartHeight,
5700
5719
  radius: 3
5701
5720
  };
5702
- e.append("rect").attr("class", w.labelBg).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.dark ? "#131a29" : "white"), e.append("rect").attr("class", w.labelBgFill).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.getLabelBackgroundColor(r)).style("stroke", this.getTextFillColor(r)).style("stroke-width", 0.25), e.append("text").attr("class", w.labelText).attr("data-color", r).attr("x", 5).attr("y", t + 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);
5721
+ e.append("rect").attr("class", _.labelBg).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.dark ? "#131a29" : "white"), e.append("rect").attr("class", _.labelBgFill).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.getLabelBackgroundColor(r)).style("stroke", this.getTextFillColor(r)).style("stroke-width", 0.25), e.append("text").attr("class", _.labelText).attr("data-color", r).attr("x", 5).attr("y", t + 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);
5703
5722
  },
5704
- getTextFillColor(e) {
5705
- var t, r;
5706
- return (this.dark ? (t = u.color(e)) == null ? void 0 : t.brighter(1.5) : (r = u.color(e)) == null ? void 0 : r.darker(2)).toString();
5723
+ getTextFillColor(e, t = 0) {
5724
+ var r, n;
5725
+ return (this.dark ? (r = u.color(e)) == null ? void 0 : r.brighter(1.5 + t) : (n = u.color(e)) == null ? void 0 : n.darker(2 + t)).toString();
5707
5726
  },
5708
5727
  getLabelBackgroundColor(e) {
5709
5728
  let t = u.color(e);
@@ -5862,17 +5881,17 @@ var Qt = function() {
5862
5881
  er,
5863
5882
  !1,
5864
5883
  null,
5865
- "58e374b8",
5884
+ "0ecf4a71",
5866
5885
  null,
5867
5886
  null
5868
5887
  );
5869
5888
  const rr = tr.exports, we = {
5870
5889
  EAvatar: lt,
5871
- EBadge: Fe,
5890
+ EBadge: Ae,
5872
5891
  EIcon: Ct,
5873
5892
  ESpinner: Ke,
5874
- ERow: At,
5875
- ECol: Gt,
5893
+ ERow: Ft,
5894
+ ECol: Ht,
5876
5895
  EVideoPlayer: Nt,
5877
5896
  ETimeline: Kt,
5878
5897
  EVideoEmbed: rr
@@ -5893,10 +5912,10 @@ export {
5893
5912
  vt as Colors,
5894
5913
  Vt as DirectivesMap,
5895
5914
  lt as EAvatar,
5896
- Fe as EBadge,
5897
- Gt as ECol,
5915
+ Ae as EBadge,
5916
+ Ht as ECol,
5898
5917
  Ct as EIcon,
5899
- At as ERow,
5918
+ Ft as ERow,
5900
5919
  Ke as ESpinner,
5901
5920
  Kt as ETimeline,
5902
5921
  lr as EVENTS,
@@ -5912,6 +5931,6 @@ export {
5912
5931
  jt as exitFullScreen,
5913
5932
  Ze as fullConfig,
5914
5933
  Je as isFullScreen,
5915
- Ht as makeFullScreen
5934
+ Gt as makeFullScreen
5916
5935
  };
5917
5936
  //# sourceMappingURL=index.mjs.map