@evercam/ui 0.0.52-beta.13 → 0.0.52-beta.14

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
@@ -5312,7 +5312,7 @@ const qt = {
5312
5312
  },
5313
5313
  methods: {
5314
5314
  initTimeline(e, t) {
5315
- if (this.initRefs(), !this.timeline) {
5315
+ if (this.initRefs(), !this.timeline || this.timeline.offsetWidth === 0) {
5316
5316
  this.timeouts.push(
5317
5317
  setTimeout(this.initTimeline, 500)
5318
5318
  );
@@ -5834,7 +5834,7 @@ const qt = {
5834
5834
  (c) => g.eventBarCap + (c.className ? ` ${c.className}` : "")
5835
5835
  ).attr("x", i).attr("y", d).attr("width", l).attr("height", 2).attr("stroke-width", 0).style("fill", (c) => c.color || r), f.on("mouseover", function(c, m) {
5836
5836
  const C = u.select(this);
5837
- o.onBarChartBarMouseOver(C, s, r), o.handleBarMouseOver(c, m, s);
5837
+ o.onBarChartBarMouseOver(C, r), o.handleBarMouseOver(c, m, s);
5838
5838
  }).on("mouseout", function() {
5839
5839
  const c = u.select(this);
5840
5840
  o.onBarChartBarMouseOut(c, s), o.handleBarMouseOut();
@@ -5842,13 +5842,13 @@ const qt = {
5842
5842
  t.selectAll(`.${g.eventBarContainerSelected}`).classed(g.eventBarContainerSelected, !1), u.select(this).classed(g.eventBarContainerSelected, !0);
5843
5843
  });
5844
5844
  },
5845
- onBarChartBarMouseOver(e, t, r) {
5845
+ onBarChartBarMouseOver(e, t) {
5846
5846
  e.classed(g.eventBarContainerHovered, !0), e.selectAll(`.${g.eventBarHoverZone}`).attr("fill-opacity", 0.2);
5847
- const s = e.selectAll(`.${g.eventBar}`);
5848
- s.attr("fill", r), s.attr("fill-opacity", 0.5);
5847
+ const n = e.selectAll(`.${g.eventBar}`);
5848
+ n.attr("fill", t), n.attr("fill-opacity", 0.5);
5849
5849
  },
5850
5850
  onBarChartBarMouseOut(e, t) {
5851
- e.classed(g.eventBarContainerHovered, !0), e.selectAll(`.${g.eventBarHoverZone}`).attr("fill-opacity", 0);
5851
+ e.classed(g.eventBarContainerHovered, !1), e.selectAll(`.${g.eventBarHoverZone}`).attr("fill-opacity", 0);
5852
5852
  const n = e.selectAll(`.${g.eventBar}`);
5853
5853
  n.attr("fill", `url(#${Y.transparencyGradient}-${t})`), n.attr("fill-opacity", 1);
5854
5854
  },