@pb33f/cowboy-components 0.12.0 → 0.12.1
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/{_basePickBy-DutEHqAt.js → _basePickBy-CHhH8kjm.js} +2 -2
- package/dist/{_baseUniq-BaFN6LLe.js → _baseUniq-CqLfUP_m.js} +1 -1
- package/dist/{arc-C_BQqdHh.js → arc-Bc0dbGi3.js} +1 -1
- package/dist/{architecture-U656AL7Q-DBJtTFqh.js → architecture-U656AL7Q-B1Af1iSx.js} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-Duxne8BG.js → architectureDiagram-VXUJARFQ-CJl5OVfp.js} +3 -3
- package/dist/{blockDiagram-VD42YOAC-a8IAc1p-.js → blockDiagram-VD42YOAC-CICDv6Wk.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-DKHf3S5X.js → c4Diagram-YG6GDRKO-MIX4hsr0.js} +2 -2
- package/dist/{channel-BrDRjKFM.js → channel-DrLe0ToL.js} +1 -1
- package/dist/{chunk-4BX2VUAB-rO4gQTSn.js → chunk-4BX2VUAB-C0WUXJTj.js} +1 -1
- package/dist/{chunk-55IACEB6-xU7M_-1z.js → chunk-55IACEB6-BQmuOZTD.js} +1 -1
- package/dist/{chunk-B4BG7PRW-CyCVBhx8.js → chunk-B4BG7PRW-BVzpD5kO.js} +4 -4
- package/dist/{chunk-DI55MBZ5-BVWDssHd.js → chunk-DI55MBZ5-BBKOtSgz.js} +3 -3
- package/dist/{chunk-FMBD7UC4-C2BHhXyD.js → chunk-FMBD7UC4-CKC9V5WI.js} +1 -1
- package/dist/{chunk-QN33PNHL-CF8FtUjq.js → chunk-QN33PNHL-BpLt0jar.js} +1 -1
- package/dist/{chunk-QZHKN3VN-C76zdhmt.js → chunk-QZHKN3VN-D8_F_eNC.js} +1 -1
- package/dist/{chunk-TZMSLE5B-DDfh65h7.js → chunk-TZMSLE5B-DT1-HT9H.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-Dqqym7_Y.js → classDiagram-2ON5EDUG-Cw7wLeoA.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-Dqqym7_Y.js → classDiagram-v2-WZHVMYZB-Cw7wLeoA.js} +2 -2
- package/dist/{clone-Ciuvzcw5.js → clone-ygSTXFFk.js} +1 -1
- package/dist/components/charts/beefy-chart.d.ts +4 -1
- package/dist/components/charts/beefy-chart.js +25 -5
- package/dist/components/time-vortex/timeline-view.css.js +11 -0
- package/dist/components/time-vortex/timeline-view.js +0 -1
- package/dist/{cose-bilkent-S5V4N54A-B6YhG0jQ.js → cose-bilkent-S5V4N54A-DxgFNfEN.js} +1 -1
- package/dist/{cowboy-components-B-_nREEs.js → cowboy-components-Bg77T9d-.js} +59 -35
- package/dist/cowboy-components.umd.cjs +20 -6
- package/dist/{dagre-6UL2VRFP-DgD6IJ9F.js → dagre-6UL2VRFP-D9TgF5Zl.js} +6 -6
- package/dist/{diagram-PSM6KHXK-C6Ify0Ii.js → diagram-PSM6KHXK-BYwvaRBx.js} +4 -4
- package/dist/{diagram-QEK2KX5R-BZYBfJWN.js → diagram-QEK2KX5R-D5qHrA0J.js} +3 -3
- package/dist/{diagram-S2PKOQOG-pD2aZK6J.js → diagram-S2PKOQOG-fAU_B7kH.js} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-CLzSou8D.js → erDiagram-Q2GNP2WA-hZ_gfIFY.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-Dv-mV3jC.js → flowDiagram-NV44I4VS-vUzBvpAl.js} +5 -5
- package/dist/{ganttDiagram-LVOFAZNH-9caw7-W9.js → ganttDiagram-LVOFAZNH-WYbgDSC6.js} +2 -2
- package/dist/{gitGraph-F6HP7TQM-BXi9VWGG.js → gitGraph-F6HP7TQM-BGxu6gOF.js} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-AjRVeBfh.js → gitGraphDiagram-NY62KEGX-fZaPPkg2.js} +4 -4
- package/dist/{graph-CQfZU7JF.js → graph-DXbidQWz.js} +2 -2
- package/dist/info-NVLQJR56-BRqR8nwN.js +5 -0
- package/dist/{infoDiagram-F6ZHWCRC-Db-l9t59.js → infoDiagram-F6ZHWCRC-CE5aCiKV.js} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-Bzsre_OA.js → journeyDiagram-XKPGCS4Q-DJ6V2dBQ.js} +4 -4
- package/dist/{kanban-definition-3W4ZIXB7-DNQ1RxWM.js → kanban-definition-3W4ZIXB7-CHwozqlt.js} +2 -2
- package/dist/{layout-DWA7jiRR.js → layout-D2zY0T7Y.js} +4 -4
- package/dist/{linear-D4cCLhR2.js → linear-BTUJ7KAT.js} +1 -1
- package/dist/{mermaid-parser.core-DVD4vgd2.js → mermaid-parser.core-CyYIBqRM.js} +11 -11
- package/dist/{mindmap-definition-VGOIOE7T-CCwE02s8.js → mindmap-definition-VGOIOE7T-CEY6R2uT.js} +3 -3
- package/dist/{packet-BFZMPI3H-BEUG4mf5.js → packet-BFZMPI3H-BRke7E6n.js} +1 -1
- package/dist/pie-7BOR55EZ-CSvfOnqQ.js +5 -0
- package/dist/{pieDiagram-ADFJNKIX-DGK58sb4.js → pieDiagram-ADFJNKIX-COTsjh1f.js} +4 -4
- package/dist/{quadrantDiagram-AYHSOK5B-rVXhriiY.js → quadrantDiagram-AYHSOK5B-CwZFHRdc.js} +2 -2
- package/dist/radar-NHE76QYJ-COI8FsH2.js +5 -0
- package/dist/{requirementDiagram-UZGBJVZJ-C6FZbh4u.js → requirementDiagram-UZGBJVZJ-IWxwgSOA.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-5wCrQhOL.js → sankeyDiagram-TZEHDZUN-CNxVVwLZ.js} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-Da2nlEu9.js → sequenceDiagram-WL72ISMW-DKEYvd1s.js} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-Bq-_ilzh.js → stateDiagram-FKZM4ZOC-YsmqtK1x.js} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-BBFdw24E.js → stateDiagram-v2-4FDKWEC3-DHLeiZBf.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-DOQnDEPa.js → timeline-definition-IT6M3QCI-wc-Q7mjm.js} +2 -2
- package/dist/{treemap-KMMF4GRG-DxIiGKv_.js → treemap-KMMF4GRG-CRJ0PvT3.js} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-BNEydtiO.js → xychartDiagram-PRI3JC2R-C9a1QBu6.js} +2 -2
- package/package.json +1 -1
- package/dist/info-NVLQJR56-DZ6YZtba.js +0 -5
- package/dist/pie-7BOR55EZ-BYgfM_sP.js +0 -5
- package/dist/radar-NHE76QYJ-paBTVy27.js +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as x, c as O, g as m, k as P, h as p, j as w, l as A, m as c, n as I, t as N, o as E } from "./_baseUniq-
|
|
2
|
-
import { aR as g, aA as F, aS as M, aT as T, aU as _, aV as l, aW as $, aX as B, aY as S, aZ as y } from "./cowboy-components-
|
|
1
|
+
import { e as x, c as O, g as m, k as P, h as p, j as w, l as A, m as c, n as I, t as N, o as E } from "./_baseUniq-CqLfUP_m.js";
|
|
2
|
+
import { aR as g, aA as F, aS as M, aT as T, aU as _, aV as l, aW as $, aX as B, aY as S, aZ as y } from "./cowboy-components-Bg77T9d-.js";
|
|
3
3
|
var R = /\s/;
|
|
4
4
|
function G(n) {
|
|
5
5
|
for (var r = n.length; r-- && R.test(n.charAt(r)); )
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { be as S, bf as Rn, aW as T, bg as w, bh as xn, bi as mn, aV as sn, bj as Mn, bk as un, bl as x, aT as U, bm as Cn, bn as on, bo as Fn, bp as E, bc as gn, bq as R, aR as ln, br as Dn, bs as D, bt as Gn, bu as Un, bv as _, aZ as Bn, bw as Nn, aU as Kn, bx as X, by as jn, bz as Hn, aY as qn, aX as cn, ba as Yn, bA as M } from "./cowboy-components-
|
|
1
|
+
import { be as S, bf as Rn, aW as T, bg as w, bh as xn, bi as mn, aV as sn, bj as Mn, bk as un, bl as x, aT as U, bm as Cn, bn as on, bo as Fn, bp as E, bc as gn, bq as R, aR as ln, br as Dn, bs as D, bt as Gn, bu as Un, bv as _, aZ as Bn, bw as Nn, aU as Kn, bx as X, by as jn, bz as Hn, aY as qn, aX as cn, ba as Yn, bA as M } from "./cowboy-components-Bg77T9d-.js";
|
|
2
2
|
var Zn = "[object Symbol]";
|
|
3
3
|
function B(n) {
|
|
4
4
|
return typeof n == "symbol" || S(n) && Rn(n) == Zn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a0 as ln, a1 as an, a2 as y, a3 as tn, a4 as H, a5 as q, a6 as _, a7 as un, a8 as B, a9 as rn, aa as L, ab as o, ac as sn, ad as on, ae as fn } from "./cowboy-components-
|
|
1
|
+
import { a0 as ln, a1 as an, a2 as y, a3 as tn, a4 as H, a5 as q, a6 as _, a7 as un, a8 as B, a9 as rn, aa as L, ab as o, ac as sn, ad as on, ae as fn } from "./cowboy-components-Bg77T9d-.js";
|
|
2
2
|
function cn(l) {
|
|
3
3
|
return l.innerRadius;
|
|
4
4
|
}
|
package/dist/{architectureDiagram-VXUJARFQ-Duxne8BG.js → architectureDiagram-VXUJARFQ-CJl5OVfp.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aI as ke, _ as dt, H as Ze, V as qe, l as Se, b as Qe, a as Je, p as Ke, q as je, g as _e, s as tr, y as er, D as rr, E as ir, F as ar, c as Ee, ak as me, aJ as pe, i as nr, d as or, x as sr, aK as hr, aL as lr } from "./cowboy-components-
|
|
2
|
-
import { p as fr } from "./chunk-4BX2VUAB-
|
|
3
|
-
import { p as cr } from "./mermaid-parser.core-
|
|
1
|
+
import { aI as ke, _ as dt, H as Ze, V as qe, l as Se, b as Qe, a as Je, p as Ke, q as je, g as _e, s as tr, y as er, D as rr, E as ir, F as ar, c as Ee, ak as me, aJ as pe, i as nr, d as or, x as sr, aK as hr, aL as lr } from "./cowboy-components-Bg77T9d-.js";
|
|
2
|
+
import { p as fr } from "./chunk-4BX2VUAB-C0WUXJTj.js";
|
|
3
|
+
import { p as cr } from "./mermaid-parser.core-CyYIBqRM.js";
|
|
4
4
|
import { c as Fe } from "./cytoscape.esm-DfdJODL8.js";
|
|
5
5
|
var he = { exports: {} }, le = { exports: {} }, fe = { exports: {} }, gr = fe.exports, we;
|
|
6
6
|
function ur() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { g as oe } from "./chunk-FMBD7UC4-
|
|
2
|
-
import { _ as d, E as rt, d as O, e as he, l as L, y as de, A as ge, c as R, ai as ue, R as pe, S as fe, O as xe, aj as j, ak as Wt, al as ye, u as $, k as be, am as we, an as xt, i as yt, ao as me } from "./cowboy-components-
|
|
3
|
-
import { c as Le } from "./clone-
|
|
4
|
-
import { G as Se } from "./graph-
|
|
5
|
-
import { c as ke } from "./channel-
|
|
1
|
+
import { g as oe } from "./chunk-FMBD7UC4-CKC9V5WI.js";
|
|
2
|
+
import { _ as d, E as rt, d as O, e as he, l as L, y as de, A as ge, c as R, ai as ue, R as pe, S as fe, O as xe, aj as j, ak as Wt, al as ye, u as $, k as be, am as we, an as xt, i as yt, ao as me } from "./cowboy-components-Bg77T9d-.js";
|
|
3
|
+
import { c as Le } from "./clone-ygSTXFFk.js";
|
|
4
|
+
import { G as Se } from "./graph-DXbidQWz.js";
|
|
5
|
+
import { c as ke } from "./channel-DrLe0ToL.js";
|
|
6
6
|
var bt = (function() {
|
|
7
7
|
var e = /* @__PURE__ */ d(function(D, y, g, f) {
|
|
8
8
|
for (g = g || {}, f = D.length; f--; g[D[f]] = y) ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as Se, d as De } from "./chunk-TZMSLE5B-
|
|
2
|
-
import { _ as g, s as Pe, g as Be, a as Ie, b as Me, c as Bt, d as jt, l as de, e as Le, f as Ne, h as Tt, i as ge, j as Ye, w as je, k as $t, m as fe } from "./cowboy-components-
|
|
1
|
+
import { g as Se, d as De } from "./chunk-TZMSLE5B-DT1-HT9H.js";
|
|
2
|
+
import { _ as g, s as Pe, g as Be, a as Ie, b as Me, c as Bt, d as jt, l as de, e as Le, f as Ne, h as Tt, i as ge, j as Ye, w as je, k as $t, m as fe } from "./cowboy-components-Bg77T9d-.js";
|
|
3
3
|
var Ft = (function() {
|
|
4
4
|
var e = /* @__PURE__ */ g(function(_t, x, m, v) {
|
|
5
5
|
for (m = m || {}, v = _t.length; v--; m[_t[v]] = x) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as i } from "./cowboy-components-
|
|
1
|
+
import { _ as i } from "./cowboy-components-Bg77T9d-.js";
|
|
2
2
|
function t(c, e) {
|
|
3
3
|
c.accDescr && e.setAccDescription?.(c.accDescr), c.accTitle && e.setAccTitle?.(c.accTitle), c.title && e.setDiagramTitle?.(c.title);
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, d as o } from "./cowboy-components-
|
|
1
|
+
import { _ as a, d as o } from "./cowboy-components-Bg77T9d-.js";
|
|
2
2
|
var d = /* @__PURE__ */ a((t, e) => {
|
|
3
3
|
let n;
|
|
4
4
|
return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as et } from "./chunk-FMBD7UC4-
|
|
2
|
-
import { g as tt } from "./chunk-55IACEB6-
|
|
3
|
-
import { s as st } from "./chunk-QN33PNHL-
|
|
4
|
-
import { _ as A, l as Oe, c as D, o as it, r as at, u as we, d as ee, b as nt, a as rt, s as ut, g as lt, p as ot, q as ct, k as v, y as ht, x as dt, i as pt, Q as R } from "./cowboy-components-
|
|
1
|
+
import { g as et } from "./chunk-FMBD7UC4-CKC9V5WI.js";
|
|
2
|
+
import { g as tt } from "./chunk-55IACEB6-BQmuOZTD.js";
|
|
3
|
+
import { s as st } from "./chunk-QN33PNHL-BpLt0jar.js";
|
|
4
|
+
import { _ as A, l as Oe, c as D, o as it, r as at, u as we, d as ee, b as nt, a as rt, s as ut, g as lt, p as ot, q as ct, k as v, y as ht, x as dt, i as pt, Q as R } from "./cowboy-components-Bg77T9d-.js";
|
|
5
5
|
var Ve = (function() {
|
|
6
6
|
var s = /* @__PURE__ */ A(function(I, o, c, d) {
|
|
7
7
|
for (c = c || {}, d = I.length; d--; c[I[d]] = o) ;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as te } from "./chunk-55IACEB6-
|
|
2
|
-
import { s as ee } from "./chunk-QN33PNHL-
|
|
3
|
-
import { _ as u, l as b, c as w, r as se, u as ie, a as re, b as ae, g as ne, s as oe, p as le, q as ce, T as he, k as U, y as ue } from "./cowboy-components-
|
|
1
|
+
import { g as te } from "./chunk-55IACEB6-BQmuOZTD.js";
|
|
2
|
+
import { s as ee } from "./chunk-QN33PNHL-BpLt0jar.js";
|
|
3
|
+
import { _ as u, l as b, c as w, r as se, u as ie, a as re, b as ae, g as ne, s as oe, p as le, q as ce, T as he, k as U, y as ue } from "./cowboy-components-Bg77T9d-.js";
|
|
4
4
|
var vt = (function() {
|
|
5
5
|
var t = /* @__PURE__ */ u(function(Y, o, c, n) {
|
|
6
6
|
for (c = c || {}, n = Y.length; n--; c[Y[n]] = o) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, e as w, l as x } from "./cowboy-components-
|
|
1
|
+
import { _ as a, e as w, l as x } from "./cowboy-components-Bg77T9d-.js";
|
|
2
2
|
var d = /* @__PURE__ */ a((e, t, i, r) => {
|
|
3
3
|
e.attr("class", i);
|
|
4
4
|
const { width: o, height: h, x: n, y: c } = u(e, t);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as n, U as o, j as l } from "./cowboy-components-
|
|
1
|
+
import { _ as n, U as o, j as l } from "./cowboy-components-Bg77T9d-.js";
|
|
2
2
|
var x = /* @__PURE__ */ n((s, t) => {
|
|
3
3
|
const e = s.append("rect");
|
|
4
4
|
if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-B4BG7PRW-
|
|
2
|
-
import { _ as l } from "./cowboy-components-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-B4BG7PRW-BVzpD5kO.js";
|
|
2
|
+
import { _ as l } from "./cowboy-components-Bg77T9d-.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-B4BG7PRW-
|
|
2
|
-
import { _ as l } from "./cowboy-components-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-B4BG7PRW-BVzpD5kO.js";
|
|
2
|
+
import { _ as l } from "./cowboy-components-Bg77T9d-.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
|
@@ -12,10 +12,13 @@ export declare class BeefyChart extends Colorful {
|
|
|
12
12
|
width: number;
|
|
13
13
|
stepSize: number;
|
|
14
14
|
chartType: any;
|
|
15
|
-
chart: Chart;
|
|
15
|
+
chart: Chart | null;
|
|
16
16
|
constructor();
|
|
17
17
|
updateChart(): void;
|
|
18
18
|
buildChart(): void;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
disconnectedCallback(): void;
|
|
21
|
+
resize(): void;
|
|
19
22
|
firstUpdated(): void;
|
|
20
23
|
updated(changedProperties: Map<string, unknown>): void;
|
|
21
24
|
render(): import("lit-html").TemplateResult<1>;
|
|
@@ -14,7 +14,6 @@ let BeefyChart = class BeefyChart extends Colorful {
|
|
|
14
14
|
this.title = 'chart';
|
|
15
15
|
this.legend = false;
|
|
16
16
|
this.height = 458;
|
|
17
|
-
this.width = 800;
|
|
18
17
|
this.smallTitle = false;
|
|
19
18
|
this.stepSize = 1;
|
|
20
19
|
this.chartType = 'line';
|
|
@@ -42,6 +41,7 @@ let BeefyChart = class BeefyChart extends Colorful {
|
|
|
42
41
|
},
|
|
43
42
|
options: {
|
|
44
43
|
responsive: true,
|
|
44
|
+
maintainAspectRatio: false,
|
|
45
45
|
elements: {
|
|
46
46
|
point: {
|
|
47
47
|
borderColor: this.secondary,
|
|
@@ -107,6 +107,22 @@ let BeefyChart = class BeefyChart extends Colorful {
|
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
|
+
connectedCallback() {
|
|
111
|
+
super.connectedCallback();
|
|
112
|
+
if (!this.chart && this.hasUpdated) {
|
|
113
|
+
this.updateComplete.then(() => this.buildChart());
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
disconnectedCallback() {
|
|
117
|
+
super.disconnectedCallback();
|
|
118
|
+
if (this.chart) {
|
|
119
|
+
this.chart.destroy();
|
|
120
|
+
this.chart = null;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
resize() {
|
|
124
|
+
this.chart?.resize();
|
|
125
|
+
}
|
|
110
126
|
firstUpdated() {
|
|
111
127
|
super.firstUpdated();
|
|
112
128
|
this.buildChart();
|
|
@@ -118,16 +134,20 @@ let BeefyChart = class BeefyChart extends Colorful {
|
|
|
118
134
|
}
|
|
119
135
|
render() {
|
|
120
136
|
return html `
|
|
121
|
-
<
|
|
137
|
+
<div class="chart-container" style="height: ${this.height}px;${this.width ? ` max-width: ${this.width}px;` : ''}">
|
|
138
|
+
<canvas id="chart" style="width: 100%; height: ${this.height}px;"></canvas>
|
|
139
|
+
</div>
|
|
122
140
|
`;
|
|
123
141
|
}
|
|
124
142
|
};
|
|
125
143
|
BeefyChart.styles = css `
|
|
126
144
|
:host {
|
|
127
|
-
display: block;
|
|
128
|
-
|
|
145
|
+
display: block;
|
|
146
|
+
width: 100%;
|
|
147
|
+
}
|
|
148
|
+
.chart-container {
|
|
149
|
+
position: relative;
|
|
129
150
|
width: 100%;
|
|
130
|
-
|
|
131
151
|
}`;
|
|
132
152
|
__decorate([
|
|
133
153
|
property()
|
|
@@ -4,6 +4,17 @@ export default css `
|
|
|
4
4
|
display: flex;
|
|
5
5
|
padding: 10px 10px 10px 20px;
|
|
6
6
|
height: 370px;
|
|
7
|
+
width: 100%;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
pb33f-chart {
|
|
12
|
+
flex: 1;
|
|
13
|
+
min-width: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.stats-container > div {
|
|
17
|
+
flex-shrink: 0;
|
|
7
18
|
}
|
|
8
19
|
|
|
9
20
|
.changes-chart {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aI as lt, _ as V, l as k, d as gt } from "./cowboy-components-
|
|
1
|
+
import { aI as lt, _ as V, l as k, d as gt } from "./cowboy-components-Bg77T9d-.js";
|
|
2
2
|
import { c as tt } from "./cytoscape.esm-DfdJODL8.js";
|
|
3
3
|
var Z = { exports: {} }, $ = { exports: {} }, Q = { exports: {} }, ut = Q.exports, j;
|
|
4
4
|
function ft() {
|
|
@@ -51792,11 +51792,11 @@ var VG = /* @__PURE__ */ S((t, e, i, r) => {
|
|
|
51792
51792
|
qL([
|
|
51793
51793
|
{
|
|
51794
51794
|
name: "dagre",
|
|
51795
|
-
loader: /* @__PURE__ */ S(async () => await import("./dagre-6UL2VRFP-
|
|
51795
|
+
loader: /* @__PURE__ */ S(async () => await import("./dagre-6UL2VRFP-D9TgF5Zl.js"), "loader")
|
|
51796
51796
|
},
|
|
51797
51797
|
{
|
|
51798
51798
|
name: "cose-bilkent",
|
|
51799
|
-
loader: /* @__PURE__ */ S(async () => await import("./cose-bilkent-S5V4N54A-
|
|
51799
|
+
loader: /* @__PURE__ */ S(async () => await import("./cose-bilkent-S5V4N54A-DxgFNfEN.js"), "loader")
|
|
51800
51800
|
}
|
|
51801
51801
|
]);
|
|
51802
51802
|
}, "registerDefaultLayoutLoaders");
|
|
@@ -52143,119 +52143,119 @@ function E2(t) {
|
|
|
52143
52143
|
return !0;
|
|
52144
52144
|
}
|
|
52145
52145
|
var KL = "c4", WV = /* @__PURE__ */ S((t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), "detector"), qV = /* @__PURE__ */ S(async () => {
|
|
52146
|
-
const { diagram: t } = await import("./c4Diagram-YG6GDRKO-
|
|
52146
|
+
const { diagram: t } = await import("./c4Diagram-YG6GDRKO-MIX4hsr0.js");
|
|
52147
52147
|
return { id: KL, diagram: t };
|
|
52148
52148
|
}, "loader"), GV = {
|
|
52149
52149
|
id: KL,
|
|
52150
52150
|
detector: WV,
|
|
52151
52151
|
loader: qV
|
|
52152
52152
|
}, VV = GV, JL = "flowchart", YV = /* @__PURE__ */ S((t, e) => e?.flowchart?.defaultRenderer === "dagre-wrapper" || e?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(t), "detector"), ZV = /* @__PURE__ */ S(async () => {
|
|
52153
|
-
const { diagram: t } = await import("./flowDiagram-NV44I4VS-
|
|
52153
|
+
const { diagram: t } = await import("./flowDiagram-NV44I4VS-vUzBvpAl.js");
|
|
52154
52154
|
return { id: JL, diagram: t };
|
|
52155
52155
|
}, "loader"), QV = {
|
|
52156
52156
|
id: JL,
|
|
52157
52157
|
detector: YV,
|
|
52158
52158
|
loader: ZV
|
|
52159
52159
|
}, XV = QV, eT = "flowchart-v2", KV = /* @__PURE__ */ S((t, e) => e?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (e?.flowchart?.defaultRenderer === "elk" && (e.layout = "elk"), /^\s*graph/.test(t) && e?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t)), "detector"), JV = /* @__PURE__ */ S(async () => {
|
|
52160
|
-
const { diagram: t } = await import("./flowDiagram-NV44I4VS-
|
|
52160
|
+
const { diagram: t } = await import("./flowDiagram-NV44I4VS-vUzBvpAl.js");
|
|
52161
52161
|
return { id: eT, diagram: t };
|
|
52162
52162
|
}, "loader"), eY = {
|
|
52163
52163
|
id: eT,
|
|
52164
52164
|
detector: KV,
|
|
52165
52165
|
loader: JV
|
|
52166
52166
|
}, tY = eY, tT = "er", iY = /* @__PURE__ */ S((t) => /^\s*erDiagram/.test(t), "detector"), rY = /* @__PURE__ */ S(async () => {
|
|
52167
|
-
const { diagram: t } = await import("./erDiagram-Q2GNP2WA-
|
|
52167
|
+
const { diagram: t } = await import("./erDiagram-Q2GNP2WA-hZ_gfIFY.js");
|
|
52168
52168
|
return { id: tT, diagram: t };
|
|
52169
52169
|
}, "loader"), sY = {
|
|
52170
52170
|
id: tT,
|
|
52171
52171
|
detector: iY,
|
|
52172
52172
|
loader: rY
|
|
52173
52173
|
}, oY = sY, iT = "gitGraph", nY = /* @__PURE__ */ S((t) => /^\s*gitGraph/.test(t), "detector"), aY = /* @__PURE__ */ S(async () => {
|
|
52174
|
-
const { diagram: t } = await import("./gitGraphDiagram-NY62KEGX-
|
|
52174
|
+
const { diagram: t } = await import("./gitGraphDiagram-NY62KEGX-fZaPPkg2.js");
|
|
52175
52175
|
return { id: iT, diagram: t };
|
|
52176
52176
|
}, "loader"), lY = {
|
|
52177
52177
|
id: iT,
|
|
52178
52178
|
detector: nY,
|
|
52179
52179
|
loader: aY
|
|
52180
52180
|
}, cY = lY, rT = "gantt", hY = /* @__PURE__ */ S((t) => /^\s*gantt/.test(t), "detector"), dY = /* @__PURE__ */ S(async () => {
|
|
52181
|
-
const { diagram: t } = await import("./ganttDiagram-LVOFAZNH-
|
|
52181
|
+
const { diagram: t } = await import("./ganttDiagram-LVOFAZNH-WYbgDSC6.js");
|
|
52182
52182
|
return { id: rT, diagram: t };
|
|
52183
52183
|
}, "loader"), pY = {
|
|
52184
52184
|
id: rT,
|
|
52185
52185
|
detector: hY,
|
|
52186
52186
|
loader: dY
|
|
52187
52187
|
}, uY = pY, sT = "info", fY = /* @__PURE__ */ S((t) => /^\s*info/.test(t), "detector"), gY = /* @__PURE__ */ S(async () => {
|
|
52188
|
-
const { diagram: t } = await import("./infoDiagram-F6ZHWCRC-
|
|
52188
|
+
const { diagram: t } = await import("./infoDiagram-F6ZHWCRC-CE5aCiKV.js");
|
|
52189
52189
|
return { id: sT, diagram: t };
|
|
52190
52190
|
}, "loader"), mY = {
|
|
52191
52191
|
id: sT,
|
|
52192
52192
|
detector: fY,
|
|
52193
52193
|
loader: gY
|
|
52194
52194
|
}, oT = "pie", bY = /* @__PURE__ */ S((t) => /^\s*pie/.test(t), "detector"), yY = /* @__PURE__ */ S(async () => {
|
|
52195
|
-
const { diagram: t } = await import("./pieDiagram-ADFJNKIX-
|
|
52195
|
+
const { diagram: t } = await import("./pieDiagram-ADFJNKIX-COTsjh1f.js");
|
|
52196
52196
|
return { id: oT, diagram: t };
|
|
52197
52197
|
}, "loader"), vY = {
|
|
52198
52198
|
id: oT,
|
|
52199
52199
|
detector: bY,
|
|
52200
52200
|
loader: yY
|
|
52201
52201
|
}, nT = "quadrantChart", xY = /* @__PURE__ */ S((t) => /^\s*quadrantChart/.test(t), "detector"), wY = /* @__PURE__ */ S(async () => {
|
|
52202
|
-
const { diagram: t } = await import("./quadrantDiagram-AYHSOK5B-
|
|
52202
|
+
const { diagram: t } = await import("./quadrantDiagram-AYHSOK5B-CwZFHRdc.js");
|
|
52203
52203
|
return { id: nT, diagram: t };
|
|
52204
52204
|
}, "loader"), CY = {
|
|
52205
52205
|
id: nT,
|
|
52206
52206
|
detector: xY,
|
|
52207
52207
|
loader: wY
|
|
52208
52208
|
}, kY = CY, aT = "xychart", MY = /* @__PURE__ */ S((t) => /^\s*xychart(-beta)?/.test(t), "detector"), SY = /* @__PURE__ */ S(async () => {
|
|
52209
|
-
const { diagram: t } = await import("./xychartDiagram-PRI3JC2R-
|
|
52209
|
+
const { diagram: t } = await import("./xychartDiagram-PRI3JC2R-C9a1QBu6.js");
|
|
52210
52210
|
return { id: aT, diagram: t };
|
|
52211
52211
|
}, "loader"), LY = {
|
|
52212
52212
|
id: aT,
|
|
52213
52213
|
detector: MY,
|
|
52214
52214
|
loader: SY
|
|
52215
52215
|
}, TY = LY, lT = "requirement", _Y = /* @__PURE__ */ S((t) => /^\s*requirement(Diagram)?/.test(t), "detector"), $Y = /* @__PURE__ */ S(async () => {
|
|
52216
|
-
const { diagram: t } = await import("./requirementDiagram-UZGBJVZJ-
|
|
52216
|
+
const { diagram: t } = await import("./requirementDiagram-UZGBJVZJ-IWxwgSOA.js");
|
|
52217
52217
|
return { id: lT, diagram: t };
|
|
52218
52218
|
}, "loader"), EY = {
|
|
52219
52219
|
id: lT,
|
|
52220
52220
|
detector: _Y,
|
|
52221
52221
|
loader: $Y
|
|
52222
52222
|
}, IY = EY, cT = "sequence", AY = /* @__PURE__ */ S((t) => /^\s*sequenceDiagram/.test(t), "detector"), NY = /* @__PURE__ */ S(async () => {
|
|
52223
|
-
const { diagram: t } = await import("./sequenceDiagram-WL72ISMW-
|
|
52223
|
+
const { diagram: t } = await import("./sequenceDiagram-WL72ISMW-DKEYvd1s.js");
|
|
52224
52224
|
return { id: cT, diagram: t };
|
|
52225
52225
|
}, "loader"), DY = {
|
|
52226
52226
|
id: cT,
|
|
52227
52227
|
detector: AY,
|
|
52228
52228
|
loader: NY
|
|
52229
52229
|
}, PY = DY, hT = "class", OY = /* @__PURE__ */ S((t, e) => e?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t), "detector"), RY = /* @__PURE__ */ S(async () => {
|
|
52230
|
-
const { diagram: t } = await import("./classDiagram-2ON5EDUG-
|
|
52230
|
+
const { diagram: t } = await import("./classDiagram-2ON5EDUG-Cw7wLeoA.js");
|
|
52231
52231
|
return { id: hT, diagram: t };
|
|
52232
52232
|
}, "loader"), BY = {
|
|
52233
52233
|
id: hT,
|
|
52234
52234
|
detector: OY,
|
|
52235
52235
|
loader: RY
|
|
52236
52236
|
}, jY = BY, dT = "classDiagram", zY = /* @__PURE__ */ S((t, e) => /^\s*classDiagram/.test(t) && e?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t), "detector"), FY = /* @__PURE__ */ S(async () => {
|
|
52237
|
-
const { diagram: t } = await import("./classDiagram-v2-WZHVMYZB-
|
|
52237
|
+
const { diagram: t } = await import("./classDiagram-v2-WZHVMYZB-Cw7wLeoA.js");
|
|
52238
52238
|
return { id: dT, diagram: t };
|
|
52239
52239
|
}, "loader"), UY = {
|
|
52240
52240
|
id: dT,
|
|
52241
52241
|
detector: zY,
|
|
52242
52242
|
loader: FY
|
|
52243
52243
|
}, HY = UY, pT = "state", WY = /* @__PURE__ */ S((t, e) => e?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t), "detector"), qY = /* @__PURE__ */ S(async () => {
|
|
52244
|
-
const { diagram: t } = await import("./stateDiagram-FKZM4ZOC-
|
|
52244
|
+
const { diagram: t } = await import("./stateDiagram-FKZM4ZOC-YsmqtK1x.js");
|
|
52245
52245
|
return { id: pT, diagram: t };
|
|
52246
52246
|
}, "loader"), GY = {
|
|
52247
52247
|
id: pT,
|
|
52248
52248
|
detector: WY,
|
|
52249
52249
|
loader: qY
|
|
52250
52250
|
}, VY = GY, uT = "stateDiagram", YY = /* @__PURE__ */ S((t, e) => !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && e?.state?.defaultRenderer === "dagre-wrapper"), "detector"), ZY = /* @__PURE__ */ S(async () => {
|
|
52251
|
-
const { diagram: t } = await import("./stateDiagram-v2-4FDKWEC3-
|
|
52251
|
+
const { diagram: t } = await import("./stateDiagram-v2-4FDKWEC3-DHLeiZBf.js");
|
|
52252
52252
|
return { id: uT, diagram: t };
|
|
52253
52253
|
}, "loader"), QY = {
|
|
52254
52254
|
id: uT,
|
|
52255
52255
|
detector: YY,
|
|
52256
52256
|
loader: ZY
|
|
52257
52257
|
}, XY = QY, fT = "journey", KY = /* @__PURE__ */ S((t) => /^\s*journey/.test(t), "detector"), JY = /* @__PURE__ */ S(async () => {
|
|
52258
|
-
const { diagram: t } = await import("./journeyDiagram-XKPGCS4Q-
|
|
52258
|
+
const { diagram: t } = await import("./journeyDiagram-XKPGCS4Q-DJ6V2dBQ.js");
|
|
52259
52259
|
return { id: fT, diagram: t };
|
|
52260
52260
|
}, "loader"), eZ = {
|
|
52261
52261
|
id: fT,
|
|
@@ -52296,70 +52296,70 @@ var KL = "c4", WV = /* @__PURE__ */ S((t) => /^\s*C4Context|C4Container|C4Compon
|
|
|
52296
52296
|
/^\s*flowchart-elk/.test(t) || // If a flowchart/graph diagram has their default renderer set to elk
|
|
52297
52297
|
/^\s*(flowchart|graph)/.test(t) && e?.flowchart?.defaultRenderer === "elk" ? (e.layout = "elk", !0) : !1
|
|
52298
52298
|
), "detector"), aZ = /* @__PURE__ */ S(async () => {
|
|
52299
|
-
const { diagram: t } = await import("./flowDiagram-NV44I4VS-
|
|
52299
|
+
const { diagram: t } = await import("./flowDiagram-NV44I4VS-vUzBvpAl.js");
|
|
52300
52300
|
return { id: mT, diagram: t };
|
|
52301
52301
|
}, "loader"), lZ = {
|
|
52302
52302
|
id: mT,
|
|
52303
52303
|
detector: nZ,
|
|
52304
52304
|
loader: aZ
|
|
52305
52305
|
}, cZ = lZ, bT = "timeline", hZ = /* @__PURE__ */ S((t) => /^\s*timeline/.test(t), "detector"), dZ = /* @__PURE__ */ S(async () => {
|
|
52306
|
-
const { diagram: t } = await import("./timeline-definition-IT6M3QCI-
|
|
52306
|
+
const { diagram: t } = await import("./timeline-definition-IT6M3QCI-wc-Q7mjm.js");
|
|
52307
52307
|
return { id: bT, diagram: t };
|
|
52308
52308
|
}, "loader"), pZ = {
|
|
52309
52309
|
id: bT,
|
|
52310
52310
|
detector: hZ,
|
|
52311
52311
|
loader: dZ
|
|
52312
52312
|
}, uZ = pZ, yT = "mindmap", fZ = /* @__PURE__ */ S((t) => /^\s*mindmap/.test(t), "detector"), gZ = /* @__PURE__ */ S(async () => {
|
|
52313
|
-
const { diagram: t } = await import("./mindmap-definition-VGOIOE7T-
|
|
52313
|
+
const { diagram: t } = await import("./mindmap-definition-VGOIOE7T-CEY6R2uT.js");
|
|
52314
52314
|
return { id: yT, diagram: t };
|
|
52315
52315
|
}, "loader"), mZ = {
|
|
52316
52316
|
id: yT,
|
|
52317
52317
|
detector: fZ,
|
|
52318
52318
|
loader: gZ
|
|
52319
52319
|
}, bZ = mZ, vT = "kanban", yZ = /* @__PURE__ */ S((t) => /^\s*kanban/.test(t), "detector"), vZ = /* @__PURE__ */ S(async () => {
|
|
52320
|
-
const { diagram: t } = await import("./kanban-definition-3W4ZIXB7-
|
|
52320
|
+
const { diagram: t } = await import("./kanban-definition-3W4ZIXB7-CHwozqlt.js");
|
|
52321
52321
|
return { id: vT, diagram: t };
|
|
52322
52322
|
}, "loader"), xZ = {
|
|
52323
52323
|
id: vT,
|
|
52324
52324
|
detector: yZ,
|
|
52325
52325
|
loader: vZ
|
|
52326
52326
|
}, wZ = xZ, xT = "sankey", CZ = /* @__PURE__ */ S((t) => /^\s*sankey(-beta)?/.test(t), "detector"), kZ = /* @__PURE__ */ S(async () => {
|
|
52327
|
-
const { diagram: t } = await import("./sankeyDiagram-TZEHDZUN-
|
|
52327
|
+
const { diagram: t } = await import("./sankeyDiagram-TZEHDZUN-CNxVVwLZ.js");
|
|
52328
52328
|
return { id: xT, diagram: t };
|
|
52329
52329
|
}, "loader"), MZ = {
|
|
52330
52330
|
id: xT,
|
|
52331
52331
|
detector: CZ,
|
|
52332
52332
|
loader: kZ
|
|
52333
52333
|
}, SZ = MZ, wT = "packet", LZ = /* @__PURE__ */ S((t) => /^\s*packet(-beta)?/.test(t), "detector"), TZ = /* @__PURE__ */ S(async () => {
|
|
52334
|
-
const { diagram: t } = await import("./diagram-S2PKOQOG-
|
|
52334
|
+
const { diagram: t } = await import("./diagram-S2PKOQOG-fAU_B7kH.js");
|
|
52335
52335
|
return { id: wT, diagram: t };
|
|
52336
52336
|
}, "loader"), _Z = {
|
|
52337
52337
|
id: wT,
|
|
52338
52338
|
detector: LZ,
|
|
52339
52339
|
loader: TZ
|
|
52340
52340
|
}, CT = "radar", $Z = /* @__PURE__ */ S((t) => /^\s*radar-beta/.test(t), "detector"), EZ = /* @__PURE__ */ S(async () => {
|
|
52341
|
-
const { diagram: t } = await import("./diagram-QEK2KX5R-
|
|
52341
|
+
const { diagram: t } = await import("./diagram-QEK2KX5R-D5qHrA0J.js");
|
|
52342
52342
|
return { id: CT, diagram: t };
|
|
52343
52343
|
}, "loader"), IZ = {
|
|
52344
52344
|
id: CT,
|
|
52345
52345
|
detector: $Z,
|
|
52346
52346
|
loader: EZ
|
|
52347
52347
|
}, kT = "block", AZ = /* @__PURE__ */ S((t) => /^\s*block(-beta)?/.test(t), "detector"), NZ = /* @__PURE__ */ S(async () => {
|
|
52348
|
-
const { diagram: t } = await import("./blockDiagram-VD42YOAC-
|
|
52348
|
+
const { diagram: t } = await import("./blockDiagram-VD42YOAC-CICDv6Wk.js");
|
|
52349
52349
|
return { id: kT, diagram: t };
|
|
52350
52350
|
}, "loader"), DZ = {
|
|
52351
52351
|
id: kT,
|
|
52352
52352
|
detector: AZ,
|
|
52353
52353
|
loader: NZ
|
|
52354
52354
|
}, PZ = DZ, MT = "architecture", OZ = /* @__PURE__ */ S((t) => /^\s*architecture/.test(t), "detector"), RZ = /* @__PURE__ */ S(async () => {
|
|
52355
|
-
const { diagram: t } = await import("./architectureDiagram-VXUJARFQ-
|
|
52355
|
+
const { diagram: t } = await import("./architectureDiagram-VXUJARFQ-CJl5OVfp.js");
|
|
52356
52356
|
return { id: MT, diagram: t };
|
|
52357
52357
|
}, "loader"), BZ = {
|
|
52358
52358
|
id: MT,
|
|
52359
52359
|
detector: OZ,
|
|
52360
52360
|
loader: RZ
|
|
52361
52361
|
}, jZ = BZ, ST = "treemap", zZ = /* @__PURE__ */ S((t) => /^\s*treemap/.test(t), "detector"), FZ = /* @__PURE__ */ S(async () => {
|
|
52362
|
-
const { diagram: t } = await import("./diagram-PSM6KHXK-
|
|
52362
|
+
const { diagram: t } = await import("./diagram-PSM6KHXK-BYwvaRBx.js");
|
|
52363
52363
|
return { id: ST, diagram: t };
|
|
52364
52364
|
}, "loader"), UZ = {
|
|
52365
52365
|
id: ST,
|
|
@@ -55846,6 +55846,17 @@ const FQ = og(class extends ng {
|
|
|
55846
55846
|
display: flex;
|
|
55847
55847
|
padding: 10px 10px 10px 20px;
|
|
55848
55848
|
height: 370px;
|
|
55849
|
+
width: 100%;
|
|
55850
|
+
box-sizing: border-box;
|
|
55851
|
+
}
|
|
55852
|
+
|
|
55853
|
+
pb33f-chart {
|
|
55854
|
+
flex: 1;
|
|
55855
|
+
min-width: 0;
|
|
55856
|
+
}
|
|
55857
|
+
|
|
55858
|
+
.stats-container > div {
|
|
55859
|
+
flex-shrink: 0;
|
|
55849
55860
|
}
|
|
55850
55861
|
|
|
55851
55862
|
.changes-chart {
|
|
@@ -56141,7 +56152,6 @@ let Pt = class extends gd {
|
|
|
56141
56152
|
<div class="changes-chart stats-container">
|
|
56142
56153
|
<pb33f-chart id="diagnosis-chart"
|
|
56143
56154
|
height="400"
|
|
56144
|
-
width="1000"
|
|
56145
56155
|
smallTitle
|
|
56146
56156
|
?legend=${!1}
|
|
56147
56157
|
title="Diagnosis score over time"
|
|
@@ -65407,7 +65417,7 @@ var bie = Object.defineProperty, yie = Object.getOwnPropertyDescriptor, Ps = (t,
|
|
|
65407
65417
|
};
|
|
65408
65418
|
let jr = class extends gd {
|
|
65409
65419
|
constructor() {
|
|
65410
|
-
super(), this.title = "chart", this.legend = !1, this.height = 458, this.
|
|
65420
|
+
super(), this.title = "chart", this.legend = !1, this.height = 458, this.smallTitle = !1, this.stepSize = 1, this.chartType = "line";
|
|
65411
65421
|
}
|
|
65412
65422
|
updateChart() {
|
|
65413
65423
|
this.chart && this.chart.data && this.datasets && this.datasets.length > 0 && (this.chart.data.labels = this.labels, this.chart.data.datasets = this.datasets, this.chart.update());
|
|
@@ -65424,6 +65434,7 @@ let jr = class extends gd {
|
|
|
65424
65434
|
},
|
|
65425
65435
|
options: {
|
|
65426
65436
|
responsive: !0,
|
|
65437
|
+
maintainAspectRatio: !1,
|
|
65427
65438
|
elements: {
|
|
65428
65439
|
point: {
|
|
65429
65440
|
borderColor: this.secondary,
|
|
@@ -65490,6 +65501,15 @@ let jr = class extends gd {
|
|
|
65490
65501
|
}
|
|
65491
65502
|
);
|
|
65492
65503
|
}
|
|
65504
|
+
connectedCallback() {
|
|
65505
|
+
super.connectedCallback(), !this.chart && this.hasUpdated && this.updateComplete.then(() => this.buildChart());
|
|
65506
|
+
}
|
|
65507
|
+
disconnectedCallback() {
|
|
65508
|
+
super.disconnectedCallback(), this.chart && (this.chart.destroy(), this.chart = null);
|
|
65509
|
+
}
|
|
65510
|
+
resize() {
|
|
65511
|
+
this.chart?.resize();
|
|
65512
|
+
}
|
|
65493
65513
|
firstUpdated() {
|
|
65494
65514
|
super.firstUpdated(), this.buildChart();
|
|
65495
65515
|
}
|
|
@@ -65498,16 +65518,20 @@ let jr = class extends gd {
|
|
|
65498
65518
|
}
|
|
65499
65519
|
render() {
|
|
65500
65520
|
return f`
|
|
65501
|
-
<
|
|
65521
|
+
<div class="chart-container" style="height: ${this.height}px;${this.width ? ` max-width: ${this.width}px;` : ""}">
|
|
65522
|
+
<canvas id="chart" style="width: 100%; height: ${this.height}px;"></canvas>
|
|
65523
|
+
</div>
|
|
65502
65524
|
`;
|
|
65503
65525
|
}
|
|
65504
65526
|
};
|
|
65505
65527
|
jr.styles = oe`
|
|
65506
65528
|
:host {
|
|
65507
|
-
display: block;
|
|
65508
|
-
|
|
65529
|
+
display: block;
|
|
65530
|
+
width: 100%;
|
|
65531
|
+
}
|
|
65532
|
+
.chart-container {
|
|
65533
|
+
position: relative;
|
|
65509
65534
|
width: 100%;
|
|
65510
|
-
|
|
65511
65535
|
}`;
|
|
65512
65536
|
Ps([
|
|
65513
65537
|
I()
|