@record-evolution/widget-linechart 1.7.6 → 1.7.8

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.
@@ -4,18 +4,18 @@ import { LineChart as Ht, BarChart as It, ScatterChart as jt } from "echarts/cha
4
4
  import { UniversalTransition as kt, LegacyGridContainLabel as Bt } from "echarts/features";
5
5
  import { CanvasRenderer as Zt } from "echarts/renderers";
6
6
  import ft from "tinycolor2";
7
- const G = globalThis, at = G.ShadowRoot && (G.ShadyCSS === void 0 || G.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, rt = /* @__PURE__ */ Symbol(), gt = /* @__PURE__ */ new WeakMap();
7
+ const G = globalThis, rt = G.ShadowRoot && (G.ShadyCSS === void 0 || G.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, at = /* @__PURE__ */ Symbol(), yt = /* @__PURE__ */ new WeakMap();
8
8
  let Tt = class {
9
9
  constructor(t, e, s) {
10
- if (this._$cssResult$ = !0, s !== rt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
+ if (this._$cssResult$ = !0, s !== at) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
11
11
  this.cssText = t, this.t = e;
12
12
  }
13
13
  get styleSheet() {
14
14
  let t = this.o;
15
15
  const e = this.t;
16
- if (at && t === void 0) {
16
+ if (rt && t === void 0) {
17
17
  const s = e !== void 0 && e.length === 1;
18
- s && (t = gt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && gt.set(e, t));
18
+ s && (t = yt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && yt.set(e, t));
19
19
  }
20
20
  return t;
21
21
  }
@@ -23,20 +23,20 @@ let Tt = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const Wt = (o) => new Tt(typeof o == "string" ? o : o + "", void 0, rt), Vt = (o, ...t) => {
27
- const e = o.length === 1 ? o[0] : t.reduce((s, i, n) => s + ((a) => {
28
- if (a._$cssResult$ === !0) return a.cssText;
29
- if (typeof a == "number") return a;
30
- throw Error("Value passed to 'css' function must be a 'css' function result: " + a + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
26
+ const Wt = (o) => new Tt(typeof o == "string" ? o : o + "", void 0, at), qt = (o, ...t) => {
27
+ const e = o.length === 1 ? o[0] : t.reduce((s, i, n) => s + ((r) => {
28
+ if (r._$cssResult$ === !0) return r.cssText;
29
+ if (typeof r == "number") return r;
30
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + r + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
31
31
  })(i) + o[n + 1], o[0]);
32
- return new Tt(e, o, rt);
33
- }, qt = (o, t) => {
34
- if (at) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
32
+ return new Tt(e, o, at);
33
+ }, Vt = (o, t) => {
34
+ if (rt) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
35
35
  else for (const e of t) {
36
36
  const s = document.createElement("style"), i = G.litNonce;
37
37
  i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, o.appendChild(s);
38
38
  }
39
- }, yt = at ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
39
+ }, gt = rt ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
40
40
  let e = "";
41
41
  for (const s of t.cssRules) e += s.cssText;
42
42
  return Wt(e);
@@ -69,7 +69,7 @@ const { is: Xt, defineProperty: Yt, getOwnPropertyDescriptor: Gt, getOwnProperty
69
69
  }
70
70
  }
71
71
  return e;
72
- } }, ht = (o, t) => !Xt(o, t), $t = { attribute: !0, type: String, converter: K, reflect: !1, useDefault: !1, hasChanged: ht };
72
+ } }, lt = (o, t) => !Xt(o, t), $t = { attribute: !0, type: String, converter: K, reflect: !1, useDefault: !1, hasChanged: lt };
73
73
  Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), J.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
74
74
  let O = class extends HTMLElement {
75
75
  static addInitializer(t) {
@@ -87,12 +87,12 @@ let O = class extends HTMLElement {
87
87
  static getPropertyDescriptor(t, e, s) {
88
88
  const { get: i, set: n } = Gt(this.prototype, t) ?? { get() {
89
89
  return this[e];
90
- }, set(a) {
91
- this[e] = a;
90
+ }, set(r) {
91
+ this[e] = r;
92
92
  } };
93
- return { get: i, set(a) {
94
- const l = i?.call(this);
95
- n?.call(this, a), this.requestUpdate(t, l, s);
93
+ return { get: i, set(r) {
94
+ const h = i?.call(this);
95
+ n?.call(this, r), this.requestUpdate(t, h, s);
96
96
  }, configurable: !0, enumerable: !0 };
97
97
  }
98
98
  static getPropertyOptions(t) {
@@ -125,8 +125,8 @@ let O = class extends HTMLElement {
125
125
  const e = [];
126
126
  if (Array.isArray(t)) {
127
127
  const s = new Set(t.flat(1 / 0).reverse());
128
- for (const i of s) e.unshift(yt(i));
129
- } else t !== void 0 && e.push(yt(t));
128
+ for (const i of s) e.unshift(gt(i));
129
+ } else t !== void 0 && e.push(gt(t));
130
130
  return e;
131
131
  }
132
132
  static _$Eu(t, e) {
@@ -152,7 +152,7 @@ let O = class extends HTMLElement {
152
152
  }
153
153
  createRenderRoot() {
154
154
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
155
- return qt(t, this.constructor.elementStyles), t;
155
+ return Vt(t, this.constructor.elementStyles), t;
156
156
  }
157
157
  connectedCallback() {
158
158
  this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
@@ -175,22 +175,22 @@ let O = class extends HTMLElement {
175
175
  _$AK(t, e) {
176
176
  const s = this.constructor, i = s._$Eh.get(t);
177
177
  if (i !== void 0 && this._$Em !== i) {
178
- const n = s.getPropertyOptions(i), a = typeof n.converter == "function" ? { fromAttribute: n.converter } : n.converter?.fromAttribute !== void 0 ? n.converter : K;
178
+ const n = s.getPropertyOptions(i), r = typeof n.converter == "function" ? { fromAttribute: n.converter } : n.converter?.fromAttribute !== void 0 ? n.converter : K;
179
179
  this._$Em = i;
180
- const l = a.fromAttribute(e, n.type);
181
- this[i] = l ?? this._$Ej?.get(i) ?? l, this._$Em = null;
180
+ const h = r.fromAttribute(e, n.type);
181
+ this[i] = h ?? this._$Ej?.get(i) ?? h, this._$Em = null;
182
182
  }
183
183
  }
184
184
  requestUpdate(t, e, s, i = !1, n) {
185
185
  if (t !== void 0) {
186
- const a = this.constructor;
187
- if (i === !1 && (n = this[t]), s ??= a.getPropertyOptions(t), !((s.hasChanged ?? ht)(n, e) || s.useDefault && s.reflect && n === this._$Ej?.get(t) && !this.hasAttribute(a._$Eu(t, s)))) return;
186
+ const r = this.constructor;
187
+ if (i === !1 && (n = this[t]), s ??= r.getPropertyOptions(t), !((s.hasChanged ?? lt)(n, e) || s.useDefault && s.reflect && n === this._$Ej?.get(t) && !this.hasAttribute(r._$Eu(t, s)))) return;
188
188
  this.C(t, e, s);
189
189
  }
190
190
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
191
191
  }
192
- C(t, e, { useDefault: s, reflect: i, wrapped: n }, a) {
193
- s && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t) && (this._$Ej.set(t, a ?? e ?? this[t]), n !== !0 || a !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ??= /* @__PURE__ */ new Set()).add(t));
192
+ C(t, e, { useDefault: s, reflect: i, wrapped: n }, r) {
193
+ s && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t) && (this._$Ej.set(t, r ?? e ?? this[t]), n !== !0 || r !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ??= /* @__PURE__ */ new Set()).add(t));
194
194
  }
195
195
  async _$EP() {
196
196
  this.isUpdatePending = !0;
@@ -214,8 +214,8 @@ let O = class extends HTMLElement {
214
214
  }
215
215
  const s = this.constructor.elementProperties;
216
216
  if (s.size > 0) for (const [i, n] of s) {
217
- const { wrapped: a } = n, l = this[i];
218
- a !== !0 || this._$AL.has(i) || l === void 0 || this.C(i, void 0, n, l);
217
+ const { wrapped: r } = n, h = this[i];
218
+ r !== !0 || this._$AL.has(i) || h === void 0 || this.C(i, void 0, n, h);
219
219
  }
220
220
  }
221
221
  let t = !1;
@@ -253,7 +253,7 @@ let O = class extends HTMLElement {
253
253
  }
254
254
  };
255
255
  O.elementStyles = [], O.shadowRootOptions = { mode: "open" }, O[j("elementProperties")] = /* @__PURE__ */ new Map(), O[j("finalized")] = /* @__PURE__ */ new Map(), te?.({ ReactiveElement: O }), (J.reactiveElementVersions ??= []).push("2.1.2");
256
- const lt = globalThis, vt = (o) => o, F = lt.trustedTypes, At = F ? F.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Et = "$lit$", A = `lit$${Math.random().toFixed(9).slice(2)}$`, Lt = "?" + A, ee = `<${Lt}>`, L = document, B = () => L.createComment(""), Z = (o) => o === null || typeof o != "object" && typeof o != "function", ct = Array.isArray, ie = (o) => ct(o) || typeof o?.[Symbol.iterator] == "function", ot = `[
256
+ const ht = globalThis, vt = (o) => o, F = ht.trustedTypes, At = F ? F.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Et = "$lit$", A = `lit$${Math.random().toFixed(9).slice(2)}$`, Lt = "?" + A, ee = `<${Lt}>`, L = document, B = () => L.createComment(""), Z = (o) => o === null || typeof o != "object" && typeof o != "function", ct = Array.isArray, ie = (o) => ct(o) || typeof o?.[Symbol.iterator] == "function", ot = `[
257
257
  \f\r]`, I = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, bt = /-->/g, _t = />/g, T = RegExp(`>|${ot}(?:([^\\s"'>=/]+)(${ot}*=${ot}*(?:[^
258
258
  \f\r"'\`<>=]|("|')|))|$)`, "g"), wt = /'/g, St = /"/g, Dt = /^(?:script|style|textarea|title)$/i, se = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), oe = se(1), P = /* @__PURE__ */ Symbol.for("lit-noChange"), f = /* @__PURE__ */ Symbol.for("lit-nothing"), Ct = /* @__PURE__ */ new WeakMap(), E = L.createTreeWalker(L, 129);
259
259
  function Ot(o, t) {
@@ -262,13 +262,13 @@ function Ot(o, t) {
262
262
  }
263
263
  const ne = (o, t) => {
264
264
  const e = o.length - 1, s = [];
265
- let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", a = I;
266
- for (let l = 0; l < e; l++) {
267
- const r = o[l];
268
- let d, h, c = -1, p = 0;
269
- for (; p < r.length && (a.lastIndex = p, h = a.exec(r), h !== null); ) p = a.lastIndex, a === I ? h[1] === "!--" ? a = bt : h[1] !== void 0 ? a = _t : h[2] !== void 0 ? (Dt.test(h[2]) && (i = RegExp("</" + h[2], "g")), a = T) : h[3] !== void 0 && (a = T) : a === T ? h[0] === ">" ? (a = i ?? I, c = -1) : h[1] === void 0 ? c = -2 : (c = a.lastIndex - h[2].length, d = h[1], a = h[3] === void 0 ? T : h[3] === '"' ? St : wt) : a === St || a === wt ? a = T : a === bt || a === _t ? a = I : (a = T, i = void 0);
270
- const g = a === T && o[l + 1].startsWith("/>") ? " " : "";
271
- n += a === I ? r + ee : c >= 0 ? (s.push(d), r.slice(0, c) + Et + r.slice(c) + A + g) : r + A + (c === -2 ? l : g);
265
+ let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = I;
266
+ for (let h = 0; h < e; h++) {
267
+ const a = o[h];
268
+ let d, l, c = -1, p = 0;
269
+ for (; p < a.length && (r.lastIndex = p, l = r.exec(a), l !== null); ) p = r.lastIndex, r === I ? l[1] === "!--" ? r = bt : l[1] !== void 0 ? r = _t : l[2] !== void 0 ? (Dt.test(l[2]) && (i = RegExp("</" + l[2], "g")), r = T) : l[3] !== void 0 && (r = T) : r === T ? l[0] === ">" ? (r = i ?? I, c = -1) : l[1] === void 0 ? c = -2 : (c = r.lastIndex - l[2].length, d = l[1], r = l[3] === void 0 ? T : l[3] === '"' ? St : wt) : r === St || r === wt ? r = T : r === bt || r === _t ? r = I : (r = T, i = void 0);
270
+ const y = r === T && o[h + 1].startsWith("/>") ? " " : "";
271
+ n += r === I ? a + ee : c >= 0 ? (s.push(d), a.slice(0, c) + Et + a.slice(c) + A + y) : a + A + (c === -2 ? h : y);
272
272
  }
273
273
  return [Ot(o, n + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
274
274
  };
@@ -276,30 +276,30 @@ class W {
276
276
  constructor({ strings: t, _$litType$: e }, s) {
277
277
  let i;
278
278
  this.parts = [];
279
- let n = 0, a = 0;
280
- const l = t.length - 1, r = this.parts, [d, h] = ne(t, e);
279
+ let n = 0, r = 0;
280
+ const h = t.length - 1, a = this.parts, [d, l] = ne(t, e);
281
281
  if (this.el = W.createElement(d, s), E.currentNode = this.el.content, e === 2 || e === 3) {
282
282
  const c = this.el.content.firstChild;
283
283
  c.replaceWith(...c.childNodes);
284
284
  }
285
- for (; (i = E.nextNode()) !== null && r.length < l; ) {
285
+ for (; (i = E.nextNode()) !== null && a.length < h; ) {
286
286
  if (i.nodeType === 1) {
287
287
  if (i.hasAttributes()) for (const c of i.getAttributeNames()) if (c.endsWith(Et)) {
288
- const p = h[a++], g = i.getAttribute(c).split(A), x = /([.?@])?(.*)/.exec(p);
289
- r.push({ type: 1, index: n, name: x[2], strings: g, ctor: x[1] === "." ? re : x[1] === "?" ? he : x[1] === "@" ? le : Q }), i.removeAttribute(c);
290
- } else c.startsWith(A) && (r.push({ type: 6, index: n }), i.removeAttribute(c));
288
+ const p = l[r++], y = i.getAttribute(c).split(A), x = /([.?@])?(.*)/.exec(p);
289
+ a.push({ type: 1, index: n, name: x[2], strings: y, ctor: x[1] === "." ? ae : x[1] === "?" ? le : x[1] === "@" ? he : Q }), i.removeAttribute(c);
290
+ } else c.startsWith(A) && (a.push({ type: 6, index: n }), i.removeAttribute(c));
291
291
  if (Dt.test(i.tagName)) {
292
292
  const c = i.textContent.split(A), p = c.length - 1;
293
293
  if (p > 0) {
294
294
  i.textContent = F ? F.emptyScript : "";
295
- for (let g = 0; g < p; g++) i.append(c[g], B()), E.nextNode(), r.push({ type: 2, index: ++n });
295
+ for (let y = 0; y < p; y++) i.append(c[y], B()), E.nextNode(), a.push({ type: 2, index: ++n });
296
296
  i.append(c[p], B());
297
297
  }
298
298
  }
299
- } else if (i.nodeType === 8) if (i.data === Lt) r.push({ type: 2, index: n });
299
+ } else if (i.nodeType === 8) if (i.data === Lt) a.push({ type: 2, index: n });
300
300
  else {
301
301
  let c = -1;
302
- for (; (c = i.data.indexOf(A, c + 1)) !== -1; ) r.push({ type: 7, index: n }), c += A.length - 1;
302
+ for (; (c = i.data.indexOf(A, c + 1)) !== -1; ) a.push({ type: 7, index: n }), c += A.length - 1;
303
303
  }
304
304
  n++;
305
305
  }
@@ -315,7 +315,7 @@ function M(o, t, e = o, s) {
315
315
  const n = Z(t) ? void 0 : t._$litDirective$;
316
316
  return i?.constructor !== n && (i?._$AO?.(!1), n === void 0 ? i = void 0 : (i = new n(o), i._$AT(o, e, s)), s !== void 0 ? (e._$Co ??= [])[s] = i : e._$Cl = i), i !== void 0 && (t = M(o, i._$AS(o, t.values), i, s)), t;
317
317
  }
318
- class ae {
318
+ class re {
319
319
  constructor(t, e) {
320
320
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
321
321
  }
@@ -328,13 +328,13 @@ class ae {
328
328
  u(t) {
329
329
  const { el: { content: e }, parts: s } = this._$AD, i = (t?.creationScope ?? L).importNode(e, !0);
330
330
  E.currentNode = i;
331
- let n = E.nextNode(), a = 0, l = 0, r = s[0];
332
- for (; r !== void 0; ) {
333
- if (a === r.index) {
331
+ let n = E.nextNode(), r = 0, h = 0, a = s[0];
332
+ for (; a !== void 0; ) {
333
+ if (r === a.index) {
334
334
  let d;
335
- r.type === 2 ? d = new V(n, n.nextSibling, this, t) : r.type === 1 ? d = new r.ctor(n, r.name, r.strings, this, t) : r.type === 6 && (d = new ce(n, this, t)), this._$AV.push(d), r = s[++l];
335
+ a.type === 2 ? d = new q(n, n.nextSibling, this, t) : a.type === 1 ? d = new a.ctor(n, a.name, a.strings, this, t) : a.type === 6 && (d = new ce(n, this, t)), this._$AV.push(d), a = s[++h];
336
336
  }
337
- a !== r?.index && (n = E.nextNode(), a++);
337
+ r !== a?.index && (n = E.nextNode(), r++);
338
338
  }
339
339
  return E.currentNode = L, i;
340
340
  }
@@ -343,7 +343,7 @@ class ae {
343
343
  for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
344
344
  }
345
345
  }
346
- class V {
346
+ class q {
347
347
  get _$AU() {
348
348
  return this._$AM?._$AU ?? this._$Cv;
349
349
  }
@@ -377,8 +377,8 @@ class V {
377
377
  const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = W.createElement(Ot(s.h, s.h[0]), this.options)), s);
378
378
  if (this._$AH?._$AD === i) this._$AH.p(e);
379
379
  else {
380
- const n = new ae(i, this), a = n.u(this.options);
381
- n.p(e), this.T(a), this._$AH = n;
380
+ const n = new re(i, this), r = n.u(this.options);
381
+ n.p(e), this.T(r), this._$AH = n;
382
382
  }
383
383
  }
384
384
  _$AC(t) {
@@ -389,7 +389,7 @@ class V {
389
389
  ct(this._$AH) || (this._$AH = [], this._$AR());
390
390
  const e = this._$AH;
391
391
  let s, i = 0;
392
- for (const n of t) i === e.length ? e.push(s = new V(this.O(B()), this.O(B()), this, this.options)) : s = e[i], s._$AI(n), i++;
392
+ for (const n of t) i === e.length ? e.push(s = new q(this.O(B()), this.O(B()), this, this.options)) : s = e[i], s._$AI(n), i++;
393
393
  i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
394
394
  }
395
395
  _$AR(t = this._$AA.nextSibling, e) {
@@ -414,20 +414,20 @@ class Q {
414
414
  }
415
415
  _$AI(t, e = this, s, i) {
416
416
  const n = this.strings;
417
- let a = !1;
418
- if (n === void 0) t = M(this, t, e, 0), a = !Z(t) || t !== this._$AH && t !== P, a && (this._$AH = t);
417
+ let r = !1;
418
+ if (n === void 0) t = M(this, t, e, 0), r = !Z(t) || t !== this._$AH && t !== P, r && (this._$AH = t);
419
419
  else {
420
- const l = t;
421
- let r, d;
422
- for (t = n[0], r = 0; r < n.length - 1; r++) d = M(this, l[s + r], e, r), d === P && (d = this._$AH[r]), a ||= !Z(d) || d !== this._$AH[r], d === f ? t = f : t !== f && (t += (d ?? "") + n[r + 1]), this._$AH[r] = d;
420
+ const h = t;
421
+ let a, d;
422
+ for (t = n[0], a = 0; a < n.length - 1; a++) d = M(this, h[s + a], e, a), d === P && (d = this._$AH[a]), r ||= !Z(d) || d !== this._$AH[a], d === f ? t = f : t !== f && (t += (d ?? "") + n[a + 1]), this._$AH[a] = d;
423
423
  }
424
- a && !i && this.j(t);
424
+ r && !i && this.j(t);
425
425
  }
426
426
  j(t) {
427
427
  t === f ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
428
428
  }
429
429
  }
430
- class re extends Q {
430
+ class ae extends Q {
431
431
  constructor() {
432
432
  super(...arguments), this.type = 3;
433
433
  }
@@ -435,7 +435,7 @@ class re extends Q {
435
435
  this.element[this.name] = t === f ? void 0 : t;
436
436
  }
437
437
  }
438
- class he extends Q {
438
+ class le extends Q {
439
439
  constructor() {
440
440
  super(...arguments), this.type = 4;
441
441
  }
@@ -443,7 +443,7 @@ class he extends Q {
443
443
  this.element.toggleAttribute(this.name, !!t && t !== f);
444
444
  }
445
445
  }
446
- class le extends Q {
446
+ class he extends Q {
447
447
  constructor(t, e, s, i, n) {
448
448
  super(t, e, s, i, n), this.type = 5;
449
449
  }
@@ -467,14 +467,14 @@ class ce {
467
467
  M(this, t);
468
468
  }
469
469
  }
470
- const de = lt.litHtmlPolyfillSupport;
471
- de?.(W, V), (lt.litHtmlVersions ??= []).push("3.3.2");
470
+ const de = ht.litHtmlPolyfillSupport;
471
+ de?.(W, q), (ht.litHtmlVersions ??= []).push("3.3.2");
472
472
  const pe = (o, t, e) => {
473
473
  const s = e?.renderBefore ?? t;
474
474
  let i = s._$litPart$;
475
475
  if (i === void 0) {
476
476
  const n = e?.renderBefore ?? null;
477
- s._$litPart$ = i = new V(t.insertBefore(B(), n), n, void 0, e ?? {});
477
+ s._$litPart$ = i = new q(t.insertBefore(B(), n), n, void 0, e ?? {});
478
478
  }
479
479
  return i._$AI(o), i;
480
480
  };
@@ -510,48 +510,48 @@ const me = (o) => (t, e) => {
510
510
  customElements.define(o, t);
511
511
  }) : customElements.define(o, t);
512
512
  };
513
- const fe = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: ht }, ge = (o = fe, t, e) => {
513
+ const fe = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: lt }, ye = (o = fe, t, e) => {
514
514
  const { kind: s, metadata: i } = e;
515
515
  let n = globalThis.litPropertyMetadata.get(i);
516
516
  if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), s === "setter" && ((o = Object.create(o)).wrapped = !0), n.set(e.name, o), s === "accessor") {
517
- const { name: a } = e;
518
- return { set(l) {
519
- const r = t.get.call(this);
520
- t.set.call(this, l), this.requestUpdate(a, r, o, !0, l);
521
- }, init(l) {
522
- return l !== void 0 && this.C(a, void 0, o, l), l;
517
+ const { name: r } = e;
518
+ return { set(h) {
519
+ const a = t.get.call(this);
520
+ t.set.call(this, h), this.requestUpdate(r, a, o, !0, h);
521
+ }, init(h) {
522
+ return h !== void 0 && this.C(r, void 0, o, h), h;
523
523
  } };
524
524
  }
525
525
  if (s === "setter") {
526
- const { name: a } = e;
527
- return function(l) {
528
- const r = this[a];
529
- t.call(this, l), this.requestUpdate(a, r, o, !0, l);
526
+ const { name: r } = e;
527
+ return function(h) {
528
+ const a = this[r];
529
+ t.call(this, h), this.requestUpdate(r, a, o, !0, h);
530
530
  };
531
531
  }
532
532
  throw Error("Unsupported decorator location: " + s);
533
533
  };
534
534
  function tt(o) {
535
- return (t, e) => typeof e == "object" ? ge(o, t, e) : ((s, i, n) => {
536
- const a = i.hasOwnProperty(n);
537
- return i.constructor.createProperty(n, s), a ? Object.getOwnPropertyDescriptor(i, n) : void 0;
535
+ return (t, e) => typeof e == "object" ? ye(o, t, e) : ((s, i, n) => {
536
+ const r = i.hasOwnProperty(n);
537
+ return i.constructor.createProperty(n, s), r ? Object.getOwnPropertyDescriptor(i, n) : void 0;
538
538
  })(o, t, e);
539
539
  }
540
540
  function et(o) {
541
541
  return tt({ ...o, state: !0, attribute: !1 });
542
542
  }
543
- const ye = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(o, t, e), e);
543
+ const ge = (o, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(o, t, e), e);
544
544
  function xe(o, t) {
545
545
  return (e, s, i) => {
546
- const n = (a) => a.renderRoot?.querySelector(o) ?? null;
547
- return ye(e, s, { get() {
546
+ const n = (r) => r.renderRoot?.querySelector(o) ?? null;
547
+ return ge(e, s, { get() {
548
548
  return n(this);
549
549
  } });
550
550
  };
551
551
  }
552
552
  var $e = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, $ = (o, t, e, s) => {
553
- for (var i = s > 1 ? void 0 : s ? ve(t, e) : t, n = o.length - 1, a; n >= 0; n--)
554
- (a = o[n]) && (i = (s ? a(t, e, i) : a(i)) || i);
553
+ for (var i = s > 1 ? void 0 : s ? ve(t, e) : t, n = o.length - 1, r; n >= 0; n--)
554
+ (r = o[n]) && (i = (s ? r(t, e, i) : r(i)) || i);
555
555
  return s && i && $e(t, e, i), i;
556
556
  };
557
557
  nt.use([
@@ -568,9 +568,19 @@ nt.use([
568
568
  kt,
569
569
  Bt
570
570
  ]);
571
- let y = class extends k {
571
+ let g = class extends k {
572
572
  constructor() {
573
- super(), this.canvasList = /* @__PURE__ */ new Map(), this.origWidth = 0, this.origHeight = 0, this.modifier = 1, this.version = "1.7.6", this.updateThresholdMs = 300, this.maxIntervalSamples = 3, this.template = {
573
+ super(), this.canvasList = /* @__PURE__ */ new Map(), this.origWidth = 0, this.origHeight = 0, this.modifier = 1, this.version = "1.7.8", this.updateThresholdMs = 300, this.maxIntervalSamples = 3, this.template = {
574
+ // ECharts paints the registered theme's own canvas `backgroundColor`
575
+ // (chalk = `rgba(41,52,65,1)`) as an opaque slab over the wrapper's
576
+ // background, so the tile shows the theme colour behind the chart and
577
+ // the host's `--re-tile-background-color` everywhere else. Keeping the
578
+ // canvas transparent lets the wrapper show through; it already falls
579
+ // back to the theme's colour when nothing overrides it, so no theme
580
+ // loses its background. Set here rather than filtered out of
581
+ // registerTheme() — theme registration is global by name, so another
582
+ // widget on the page can re-register the same theme with it.
583
+ backgroundColor: "transparent",
574
584
  title: {
575
585
  text: "Temperature Change in the Coming Week",
576
586
  left: "center",
@@ -705,13 +715,23 @@ let y = class extends k {
705
715
  });
706
716
  }), this.resizeObserver.observe(this.chartContainer));
707
717
  }
718
+ /**
719
+ * Resolved text colour for the chart canvas.
720
+ *
721
+ * The themeTitleColor field holds a var() chain, which the browser resolves
722
+ * for CSS but ECharts cannot — it paints to a canvas and needs a real
723
+ * colour. Read at the point of use rather than cached, so a board style
724
+ * edit reaches the next chart rebuild instead of waiting for a theme change.
725
+ */
726
+ resolvedTextColor() {
727
+ return getComputedStyle(this).getPropertyValue("--re-text-color").trim() || this.theme?.theme_object?.title?.textStyle?.color;
728
+ }
708
729
  registerTheme(o) {
709
- const t = getComputedStyle(this).getPropertyValue("--re-text-color").trim(), e = getComputedStyle(this).getPropertyValue("--re-tile-background-color").trim();
710
- if (this.themeBgColor = e || this.theme?.theme_object?.backgroundColor, this.themeTitleColor = t || this.theme?.theme_object?.title?.textStyle?.color, this.themeSubtitleColor = t || this.theme?.theme_object?.title?.subtextStyle?.color || this.themeTitleColor, !o || !o.theme_object || !o.theme_name) return;
711
- const s = ["parallel", "geo", "timeline", "visualMap", "markPoint"], i = Object.fromEntries(
712
- Object.entries(o.theme_object).filter(([n]) => !s.includes(n))
730
+ if (this.themeBgColor = `var(--re-tile-background-color, ${this.theme?.theme_object?.backgroundColor || "transparent"})`, this.themeTitleColor = `var(--re-text-color, ${this.theme?.theme_object?.title?.textStyle?.color || "inherit"})`, this.themeSubtitleColor = `var(--re-text-color, ${this.theme?.theme_object?.title?.subtextStyle?.color || this.theme?.theme_object?.title?.textStyle?.color || "inherit"})`, !o || !o.theme_object || !o.theme_name) return;
731
+ const t = ["parallel", "geo", "timeline", "visualMap", "markPoint"], e = Object.fromEntries(
732
+ Object.entries(o.theme_object).filter(([s]) => !t.includes(s))
713
733
  );
714
- nt.registerTheme(o.theme_name, i);
734
+ nt.registerTheme(o.theme_name, e);
715
735
  }
716
736
  /** True when bars grow to the right instead of upwards (axis.orientation). */
717
737
  isHorizontal() {
@@ -752,13 +772,13 @@ let y = class extends k {
752
772
  i.series = [], i.doomed = !0;
753
773
  }), this.inputData.dataseries.sort((i, n) => (i.advanced?.drawOrder ?? 0) - (n.advanced?.drawOrder ?? 0)), this.inputData.dataseries.forEach((i) => {
754
774
  i.advanced ??= {}, i.advanced.chartName ??= "", i.data ??= [];
755
- const n = [...new Set(i.data.map((r) => r.pivot ?? ""))].sort(), a = ft(i.backgroundColor).monochromatic(n.length).map((r) => r.toHexString()), l = ft(i.borderColor).monochromatic(n.length).map((r) => r.toHexString());
756
- n.forEach((r, d) => {
757
- const h = r ?? "", c = i.label ?? "", p = h + (h && c ? " - " : "") + c, g = i.borderColor ? i.advanced?.chartName?.includes("#split#") ? i.borderColor : l[d] : void 0, x = i.backgroundColor ? i.advanced?.chartName?.includes("#split#") ? i.backgroundColor : a[d] : void 0, q = n.length === 1 ? i.data : i.data?.filter((u) => u.pivot === r), b = (u, S, m) => o ? [S, u, m] : [u, S, m];
758
- let v = this.inputData?.axis?.timeseries ? q?.map((u) => ({
775
+ const n = [...new Set(i.data.map((a) => a.pivot ?? ""))].sort(), r = ft(i.backgroundColor).monochromatic(n.length).map((a) => a.toHexString()), h = ft(i.borderColor).monochromatic(n.length).map((a) => a.toHexString());
776
+ n.forEach((a, d) => {
777
+ const l = a ?? "", c = i.label ?? "", p = l + (l && c ? " - " : "") + c, y = i.borderColor ? i.advanced?.chartName?.includes("#split#") ? i.borderColor : h[d] : void 0, x = i.backgroundColor ? i.advanced?.chartName?.includes("#split#") ? i.backgroundColor : r[d] : void 0, V = n.length === 1 ? i.data : i.data?.filter((u) => u.pivot === a), b = (u, S, m) => o ? [S, u, m] : [u, S, m];
778
+ let v = this.inputData?.axis?.timeseries ? V?.map((u) => ({
759
779
  name: u.x,
760
780
  value: b(new Date(u.x ?? "").getTime(), u.y, u.r)
761
- })) ?? [] : q?.map((u) => ({ name: u.x, value: b(u.x, u.y, u.r) })) ?? [], N = 0, U = 0;
781
+ })) ?? [] : V?.map((u) => ({ name: u.x, value: b(u.x, u.y, u.r) })) ?? [], N = 0, U = 0;
762
782
  if (this.xAxisType() === "time" && v) {
763
783
  const u = v.map((S) => S.value[e]);
764
784
  N = Math.min(...u), U = Math.max(...u);
@@ -770,14 +790,14 @@ let y = class extends k {
770
790
  maxDate: U,
771
791
  type: i.type ?? "line",
772
792
  lineStyle: {
773
- color: g,
793
+ color: y,
774
794
  width: i.styling?.borderWidth ?? 2,
775
795
  type: i.styling?.borderDash ?? "solid"
776
796
  },
777
797
  smooth: !1,
778
798
  itemStyle: {
779
799
  color: x,
780
- borderColor: g,
800
+ borderColor: y,
781
801
  borderWidth: i.styling?.borderWidth ?? 2
782
802
  },
783
803
  areaStyle: i.styling?.fill ? { color: x } : void 0,
@@ -801,7 +821,7 @@ let y = class extends k {
801
821
  yAxisIndex: o ? 0 : z
802
822
  };
803
823
  let _ = i.advanced?.chartName ?? "";
804
- _ = _.replace("#split#", h);
824
+ _ = _.replace("#split#", l);
805
825
  const w = this.setupChart(_), X = w?.series.map((u) => u.id) ?? [];
806
826
  let D = p, it = 2;
807
827
  for (; X.includes(D); )
@@ -813,9 +833,9 @@ let y = class extends k {
813
833
  this.canvasList.forEach((i, n) => {
814
834
  i.doomed && (i.echart?.dispose(), i.element?.remove(), s.push(n));
815
835
  }), s.forEach((i) => this.canvasList.delete(i)), this.canvasList = new Map(
816
- [...this.canvasList.entries()].sort(([i, n], [a, l]) => {
817
- const r = n.series?.[0].drawOrder ?? 0, d = l.series?.[0].drawOrder ?? 0;
818
- return r !== d ? r - d : i.localeCompare(a);
836
+ [...this.canvasList.entries()].sort(([i, n], [r, h]) => {
837
+ const a = n.series?.[0].drawOrder ?? 0, d = h.series?.[0].drawOrder ?? 0;
838
+ return a !== d ? a - d : i.localeCompare(r);
819
839
  })
820
840
  ), s.length > 0 && this.canvasList.forEach((i) => {
821
841
  i.echart?.resize();
@@ -853,23 +873,23 @@ let y = class extends k {
853
873
  return this.updateThresholdMs;
854
874
  let i = 0;
855
875
  if (this.xAxisType() === "time")
856
- for (const l of o.series) {
857
- const r = l.data;
858
- for (const d of r || []) {
859
- const h = d.value?.[0] || 0;
860
- h > i && (i = h);
876
+ for (const h of o.series) {
877
+ const a = h.data;
878
+ for (const d of a || []) {
879
+ const l = d.value?.[0] || 0;
880
+ l > i && (i = l);
861
881
  }
862
882
  }
863
883
  else
864
884
  i = e;
865
885
  if (o.lastMaxTimestamp = o.lastMaxTimestamp ?? 0, i > o.lastMaxTimestamp) {
866
886
  if (o.updateIntervals ??= [], o.lastUpdateTime > 0) {
867
- const l = e - o.lastUpdateTime;
868
- o.updateIntervals.push(l), o.updateIntervals.length > this.maxIntervalSamples && o.updateIntervals.shift();
887
+ const h = e - o.lastUpdateTime;
888
+ o.updateIntervals.push(h), o.updateIntervals.length > this.maxIntervalSamples && o.updateIntervals.shift();
869
889
  }
870
890
  o.lastUpdateTime = e, o.lastMaxTimestamp = i;
871
891
  }
872
- return o.updateIntervals && o.updateIntervals.length > 0 ? o.updateIntervals.reduce((l, r) => l + r, 0) / o.updateIntervals.length : this.updateThresholdMs;
892
+ return o.updateIntervals && o.updateIntervals.length > 0 ? o.updateIntervals.reduce((h, a) => h + a, 0) / o.updateIntervals.length : this.updateThresholdMs;
873
893
  }
874
894
  applyData() {
875
895
  if (!this.chartContainer) return;
@@ -878,12 +898,12 @@ let y = class extends k {
878
898
  t.element && this.chartContainer.appendChild(t.element);
879
899
  this.canvasList.forEach((t, e) => {
880
900
  t.series.sort((m, H) => m.name > H.name ? 1 : -1);
881
- const s = this.inputData?.axis?.showLegend ?? !0, i = this.inputData?.axis?.showTitle ?? !0, n = this.inputData?.axis?.showXAxis ?? !0, a = this.inputData?.axis?.showYAxis ?? !0, l = this.inputData?.axis?.showBox ?? !1, r = JSON.stringify({
901
+ const s = this.inputData?.axis?.showLegend ?? !0, i = this.inputData?.axis?.showTitle ?? !0, n = this.inputData?.axis?.showXAxis ?? !0, r = this.inputData?.axis?.showYAxis ?? !0, h = this.inputData?.axis?.showBox ?? !1, a = JSON.stringify({
882
902
  showLegend: s,
883
903
  showTitle: i,
884
904
  showXAxis: n,
885
- showYAxis: a,
886
- showBox: l,
905
+ showYAxis: r,
906
+ showBox: h,
887
907
  xAxisLabel: this.inputData?.axis?.xAxisLabel,
888
908
  yAxisLabel: this.inputData?.axis?.yAxisLabel,
889
909
  xAxisZoom: this.inputData?.axis?.xAxisZoom,
@@ -900,23 +920,23 @@ let y = class extends k {
900
920
  seriesNames: t.series.map((m) => m.name).join(","),
901
921
  seriesAxes: t.series.map((m) => m.valueAxisIndex ?? 0).join(","),
902
922
  seriesLabels: t.series.map((m) => m.label?.show ? 1 : 0).join(",")
903
- }), d = t.lastConfig !== r;
904
- t.lastConfig = r;
905
- const h = window.structuredClone(this.template);
906
- if (h.title.text = e, h.title.show = i, h.xAxis.name = this.inputData?.axis?.xAxisLabel ?? "", h.xAxis.type = this.xAxisType(), h.xAxis.show = n, this.xAxisType() === "time") {
923
+ }), d = t.lastConfig !== a;
924
+ t.lastConfig = a;
925
+ const l = window.structuredClone(this.template);
926
+ if (l.title.text = e, l.title.show = i, l.xAxis.name = this.inputData?.axis?.xAxisLabel ?? "", l.xAxis.type = this.xAxisType(), l.xAxis.show = n, this.xAxisType() === "time") {
907
927
  const m = t.series.map((C) => C.minDate ?? 1 / 0).reduce((C, st) => Math.min(C, st), 1 / 0), H = t.series.map((C) => C.maxDate ?? 0).reduce((C, st) => Math.max(C, st), 0), Y = Number(this.timeRange?.start), pt = Number(this.timeRange?.end), ut = isNaN(Y) ? m : Y, mt = isNaN(pt) ? H : pt;
908
- h.xAxis = {
909
- ...h.xAxis,
928
+ l.xAxis = {
929
+ ...l.xAxis,
910
930
  min: ut !== 1 / 0 ? ut : (/* @__PURE__ */ new Date()).getTime() - 1440 * 60 * 1e3,
911
931
  max: mt !== 0 ? mt : (/* @__PURE__ */ new Date()).getTime()
912
932
  };
913
933
  }
914
934
  const c = this.inputData?.axis?.xAxisZoom ?? !1;
915
- h.dataZoom[0].show = c, h.toolbox.show = c;
916
- const p = Array.isArray(h.yAxis) ? h.yAxis : [h.yAxis ?? {}];
935
+ l.dataZoom[0].show = c, l.toolbox.show = c;
936
+ const p = Array.isArray(l.yAxis) ? l.yAxis : [l.yAxis ?? {}];
917
937
  for (; p.length < 2; ) p.push({});
918
- h.yAxis = p;
919
- const g = t.series.some((m) => !!m.label?.show), x = t.series.some((m) => (m.valueAxisIndex ?? 0) === 1), q = t.series.length === 0 || t.series.some((m) => (m.valueAxisIndex ?? 0) === 0), b = a && q, v = a && x, N = this.inputData?.axis?.yAxisLabel ?? "", U = this.inputData?.axis?.yAxisLabelRight ?? "", z = b && !!N, R = v && !!U, _ = this.yAxisType(), w = ["value", "log"].includes(_ ?? "") ? { fontSize: 14, formatter: (m) => Math.round(m * 100) / 100 } : void 0;
938
+ l.yAxis = p;
939
+ const y = t.series.some((m) => !!m.label?.show), x = t.series.some((m) => (m.valueAxisIndex ?? 0) === 1), V = t.series.length === 0 || t.series.some((m) => (m.valueAxisIndex ?? 0) === 0), b = r && V, v = r && x, N = this.inputData?.axis?.yAxisLabel ?? "", U = this.inputData?.axis?.yAxisLabelRight ?? "", z = b && !!N, R = v && !!U, _ = this.yAxisType(), w = ["value", "log"].includes(_ ?? "") ? { fontSize: 14, formatter: (m) => Math.round(m * 100) / 100 } : void 0;
920
940
  if (Object.assign(p[0], {
921
941
  type: _,
922
942
  name: N,
@@ -939,8 +959,8 @@ let y = class extends k {
939
959
  axisLine: { show: !0 },
940
960
  splitLine: { show: !1 }
941
961
  }), w && (p[1].axisLabel = w), o) {
942
- const m = Array.isArray(h.xAxis) ? h.xAxis[0] : h.xAxis;
943
- h.yAxis = {
962
+ const m = Array.isArray(l.xAxis) ? l.xAxis[0] : l.xAxis;
963
+ l.yAxis = {
944
964
  ...m,
945
965
  position: "left",
946
966
  // Read top-to-bottom, so the first data point is the top
@@ -953,7 +973,7 @@ let y = class extends k {
953
973
  nameLocation: "start",
954
974
  nameGap: v ? 30 : 10,
955
975
  nameTextStyle: { align: "left" }
956
- }, h.xAxis = p.map((H, Y) => ({
976
+ }, l.xAxis = p.map((H, Y) => ({
957
977
  ...H,
958
978
  position: Y === 0 ? "bottom" : "top",
959
979
  nameLocation: "middle",
@@ -961,14 +981,14 @@ let y = class extends k {
961
981
  nameTextStyle: { align: "center" }
962
982
  }));
963
983
  }
964
- h.dataZoom[0].xAxisIndex = o ? void 0 : [0], h.dataZoom[0].yAxisIndex = o ? [0] : void 0, h.series = t.series, h.legend.show = s;
984
+ l.dataZoom[0].xAxisIndex = o ? void 0 : [0], l.dataZoom[0].yAxisIndex = o ? [0] : void 0, l.series = t.series, l.legend.show = s;
965
985
  const X = (i || z || R ? 30 : 0) + (s && R ? 25 : 0), D = 40, it = c && !o ? D : 0, u = c && o ? D : 0;
966
- h.grid = {
967
- ...h.grid,
968
- show: l,
986
+ l.grid = {
987
+ ...l.grid,
988
+ show: h,
969
989
  backgroundColor: "transparent",
970
- borderWidth: l ? 1 : 0,
971
- borderColor: this.themeTitleColor ?? "#ccc",
990
+ borderWidth: h ? 1 : 0,
991
+ borderColor: this.resolvedTextColor() ?? "#ccc",
972
992
  top: X,
973
993
  // The category axis sits at the bottom when vertical and on the
974
994
  // left when horizontal; the value axis is the other way round.
@@ -979,14 +999,14 @@ let y = class extends k {
979
999
  // A horizontal chart grows towards the right edge, so the last
980
1000
  // axis tick and any value label printed past the end of a bar
981
1001
  // need room that `containLabel` does not reserve for them.
982
- right: (o ? g ? 45 : 15 : 0) + u,
983
- containLabel: n || a
1002
+ right: (o ? y ? 45 : 15 : 0) + u,
1003
+ containLabel: n || r
984
1004
  }, c && Object.assign(
985
- h.dataZoom[0],
1005
+ l.dataZoom[0],
986
1006
  o ? { right: 0, top: X, bottom: 20, left: void 0 } : { bottom: 0, left: void 0, right: void 0, top: void 0 }
987
1007
  );
988
1008
  const S = this.updateThresholdMs;
989
- h.animation = !0, h.animationEasing = "linear", h.animationDuration = S, h.animationDurationUpdate = S, t.drawing = !0, t.echart?.setOption(h, { notMerge: d, lazyUpdate: !0 });
1009
+ l.animation = !0, l.animationEasing = "linear", l.animationDuration = S, l.animationDurationUpdate = S, t.drawing = !0, t.echart?.setOption(l, { notMerge: d, lazyUpdate: !0 });
990
1010
  });
991
1011
  }
992
1012
  // ECharts positions a slider dataZoom against the grid rect from *before*
@@ -1056,7 +1076,7 @@ let y = class extends k {
1056
1076
  `;
1057
1077
  }
1058
1078
  };
1059
- y.styles = Vt`
1079
+ g.styles = qt`
1060
1080
  :host {
1061
1081
  display: block;
1062
1082
  font-family: sans-serif;
@@ -1135,32 +1155,32 @@ y.styles = Vt`
1135
1155
  `;
1136
1156
  $([
1137
1157
  tt({ type: Object })
1138
- ], y.prototype, "inputData", 2);
1158
+ ], g.prototype, "inputData", 2);
1139
1159
  $([
1140
1160
  tt({ type: Object })
1141
- ], y.prototype, "theme", 2);
1161
+ ], g.prototype, "theme", 2);
1142
1162
  $([
1143
1163
  tt({ type: Object })
1144
- ], y.prototype, "timeRange", 2);
1164
+ ], g.prototype, "timeRange", 2);
1145
1165
  $([
1146
1166
  et()
1147
- ], y.prototype, "canvasList", 2);
1167
+ ], g.prototype, "canvasList", 2);
1148
1168
  $([
1149
1169
  et()
1150
- ], y.prototype, "themeBgColor", 2);
1170
+ ], g.prototype, "themeBgColor", 2);
1151
1171
  $([
1152
1172
  et()
1153
- ], y.prototype, "themeTitleColor", 2);
1173
+ ], g.prototype, "themeTitleColor", 2);
1154
1174
  $([
1155
1175
  et()
1156
- ], y.prototype, "themeSubtitleColor", 2);
1176
+ ], g.prototype, "themeSubtitleColor", 2);
1157
1177
  $([
1158
1178
  xe(".chart-container")
1159
- ], y.prototype, "chartContainer", 2);
1160
- y = $([
1161
- me("widget-linechart-1.7.6")
1162
- ], y);
1179
+ ], g.prototype, "chartContainer", 2);
1180
+ g = $([
1181
+ me("widget-linechart-1.7.8")
1182
+ ], g);
1163
1183
  export {
1164
- y as WidgetLinechart
1184
+ g as WidgetLinechart
1165
1185
  };
1166
1186
  //# sourceMappingURL=widget-linechart.js.map