@marimo-team/islands 0.12.1-dev7 → 0.12.2-dev0
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/{ConnectedDataExplorerComponent-BERPq-7i.js → ConnectedDataExplorerComponent-DlGGxGp0.js} +8 -8
- package/dist/{VegaLite-C2a1fRyf.js → VegaLite-C8_-Rteo.js} +2456 -2455
- package/dist/{_baseUniq-CduQYEg0.js → _baseUniq-DcMHqcMx.js} +1 -1
- package/dist/{any-language-editor-iAFPE9Wa.js → any-language-editor-Djf8tYu3.js} +176 -177
- package/dist/architectureDiagram-IEHRJDOE-Dpk5J_Ka.js +4634 -0
- package/dist/assets/{save-worker-J2nVA3vw.js → save-worker-CYdkP5Ic.js} +5 -5
- package/dist/assets/{worker-6ypxTHEH.js → worker-CH7zxkMA.js} +5 -5
- package/dist/assets/{worker-0hM8VAjI.js → worker-DEw2ZetQ.js} +5 -5
- package/dist/{blockDiagram-ZHA2E4KO-D0GjioNB.js → blockDiagram-JOT3LUYC-DqCrJqje.js} +4 -4
- package/dist/{c4Diagram-6F5ED5ID-DMQc8sn0.js → c4Diagram-VJAJSXHY-SiC0ZWnY.js} +2 -2
- package/dist/{channel-BQPTUN0j.js → channel-CTzwA6OW.js} +1 -1
- package/dist/{chunk-TMUBEWPD-B5nG3-4_.js → chunk-4BMEZGHF-BJFa_HSm.js} +1 -1
- package/dist/chunk-A2AXSNBT-C4rIQGEB.js +1372 -0
- package/dist/chunk-AEK57VVT-C2E3avBd.js +1415 -0
- package/dist/{chunk-ASOPGD6M-C66YPQw_.js → chunk-D6G4REZN-jvun3rFz.js} +1 -1
- package/dist/{chunk-5HRBRIJM-BJ4JduJ4.js → chunk-RZ5BOZE2-DDyCzZLD.js} +1 -1
- package/dist/{chunk-KFBOBJHC-D7ImvFdf.js → chunk-XZIHB7SX-B-_oUPxx.js} +1 -1
- package/dist/classDiagram-GIVACNV2-gMXntfgi.js +16 -0
- package/dist/classDiagram-v2-COTLJTTW-gMXntfgi.js +16 -0
- package/dist/{clike-BLr83cjT.js → clike-BUuHEmgZ.js} +19 -17
- package/dist/{clone-BPM1grmT.js → clone-np3PejDV.js} +1 -1
- package/dist/{dagre-4EVJKHTY-taV4nXAZ.js → dagre-OKDRZEBW-Dk9EOtRZ.js} +46 -46
- package/dist/{data-editor-CP7A6R7x.js → data-editor-CCGJMQ-A.js} +27 -22
- package/dist/diagram-SSKATNLV-BdlMuz26.js +221 -0
- package/dist/{diagram-QW4FP2JN-DvfDoD4R.js → diagram-VNBRO52H-DHK51oAq.js} +28 -28
- package/dist/{dockerfile-CFG_IPGn.js → dockerfile-DIy8NleC.js} +1 -1
- package/dist/erDiagram-Q7BY3M3F-xH-9At_V.js +841 -0
- package/dist/{factor-DJHfQ4a1.js → factor-DDOC7X6P.js} +1 -1
- package/dist/flowDiagram-4HSFHLVR-DwmcRrr2.js +1622 -0
- package/dist/ganttDiagram-APWFNJXF-DQSjywCU.js +1681 -0
- package/dist/{gitGraphDiagram-NRZ2UAAF-4kw3hKkI.js → gitGraphDiagram-7IBYFJ6S-DVQbpHsO.js} +55 -55
- package/dist/{graph-Ct8J3K-U.js → graph-DDoPYpXh.js} +3 -3
- package/dist/{groovy-CdgvOO23.js → groovy-DZeT_VM-.js} +1 -1
- package/dist/{index-4rX0HueT.js → index-B4ZiakJ2.js} +1 -1
- package/dist/{index-DcIxs1SB.js → index-B6VRSn0G.js} +1 -1
- package/dist/{index-DCTyxe1r.js → index-B9TiK-1N.js} +1 -1
- package/dist/{index-CMPKyInT.js → index-BaI2S4NP.js} +1 -1
- package/dist/{index-Ttf47Jzx.js → index-BpZdfrrE.js} +1 -1
- package/dist/{index-CB_J72aP.js → index-CHJbM8NH.js} +1 -1
- package/dist/{index-JOf7zIR3.js → index-CMOfndh8.js} +1 -1
- package/dist/{index-CP0DlVCF.js → index-CZ4qAWqA.js} +1 -1
- package/dist/{index-CQARR2Zu.js → index-Ck_knR8D.js} +1 -1
- package/dist/{index-ChVYxFE2.js → index-DHX724WI.js} +1 -1
- package/dist/{index-Dg-6DK-t.js → index-D_51duzM.js} +1 -1
- package/dist/{index-CGLMoK_7.js → index-DaRv_uSA.js} +1 -1
- package/dist/{index-DjuGc3PT.js → index-V_2bVjlK.js} +3 -3
- package/dist/{index-CTDpfz0V.js → index-ZrcB1I9v.js} +1 -1
- package/dist/{index-Bclp07uz.js → index-pgxH06N0.js} +1 -1
- package/dist/{infoDiagram-A4XQUW5V-Cjc2sW3v.js → infoDiagram-PH2N3AL5-DN7Ua0i-.js} +5 -5
- package/dist/{journeyDiagram-G5WM74LC-BRuUsJcp.js → journeyDiagram-U35MCT3I-Oc-2jK1T.js} +34 -35
- package/dist/{kanban-definition-QRCXZQQD-BdcV-_PG.js → kanban-definition-NDS4AKOZ-B6Srvldc.js} +26 -25
- package/dist/{layout-mBe7V6XD.js → layout-BOIe2TUO.js} +4 -4
- package/dist/{linear-D1lI84Kf.js → linear-B1wK8jL2.js} +1 -1
- package/dist/{main-Br5eJ3xj.js → main-TZD_8qdu.js} +30944 -30438
- package/dist/main.js +1 -1
- package/dist/mermaid-bM0PMjHu.js +11991 -0
- package/dist/{min-CaUxuWMi.js → min-C1JTrbkM.js} +2 -2
- package/dist/{mindmap-definition-GWI6TPTV-BAe-w3fl.js → mindmap-definition-ALO5MXBD-Ce4ZNQeo.js} +3 -2
- package/dist/{nsis-BtA0qkjU.js → nsis-fePjrhq7.js} +1 -1
- package/dist/{pascal-ixanSKUz.js → pascal-De0D6mP7.js} +1 -1
- package/dist/{pieDiagram-YF2LJOPJ-DXtbtIhU.js → pieDiagram-IB7DONF6-B8oplxmT.js} +38 -38
- package/dist/{quadrantDiagram-OS5C2QUG-q7UzXGha.js → quadrantDiagram-7GDLP6J5-B1uy7zDH.js} +2 -2
- package/dist/{gitGraph-YCYPL57B-BYkc7Tmr.js → radar-MK3ICKWK-D18QsrcW.js} +3259 -2897
- package/dist/{react-plotly-DxTX0xij.js → react-plotly-Cqh5R1OO.js} +1 -1
- package/dist/requirementDiagram-KVF5MWMF-B8Re_64r.js +851 -0
- package/dist/{sankeyDiagram-Y46BX6SQ-BP3WClHp.js → sankeyDiagram-QLVOVGJD-CDTRxxiE.js} +152 -149
- package/dist/sequenceDiagram-X6HHIX6F-r8RuFeB3.js +2281 -0
- package/dist/{simple-mode-HGTvdazT.js → simple-mode-B0dvCdAA.js} +15 -14
- package/dist/slides-component-CNd_TxKo.js +3782 -0
- package/dist/{stateDiagram-MAYHULR4-BeqZ24-x.js → stateDiagram-DGXRK772-CDkxp576.js} +41 -39
- package/dist/stateDiagram-v2-YXO3MK2T-Cl3HeC-N.js +16 -0
- package/dist/style.css +1 -1
- package/dist/{time-iUCPkF1n.js → time-D2pH4chu.js} +2 -2
- package/dist/{timeline-definition-U7ZMHBDA-KODR30fP.js → timeline-definition-BDJGKUSR-DOJemw50.js} +25 -25
- package/dist/{vega-component-CgI2jbza.js → vega-component-Df9L7pHW.js} +2 -2
- package/dist/{xquery-xQxle02u.js → xquery-BUQdORAS.js} +72 -76
- package/dist/{xychartDiagram-6QU3TZC5-D4FODTRk.js → xychartDiagram-VJFVF3MP-9rVSkwOp.js} +11 -11
- package/package.json +26 -24
- package/dist/architectureDiagram-UYN6MBPD-CRNipS_I.js +0 -4595
- package/dist/chunk-7U56Z5CX-DD_mllcM.js +0 -1215
- package/dist/chunk-T2TOU4HS-91K54MXN.js +0 -1303
- package/dist/classDiagram-LNE6IOMH-CECok1Lr.js +0 -14
- package/dist/classDiagram-v2-MQ7JQ4JX-CECok1Lr.js +0 -14
- package/dist/erDiagram-6RL3IURR-DUa_nn4Y.js +0 -938
- package/dist/flowDiagram-7ASYPVHJ-D4jAZDX5.js +0 -1484
- package/dist/ganttDiagram-NTVNEXSI-CytePZBz.js +0 -1679
- package/dist/mermaid-CWYkSuCE.js +0 -12937
- package/dist/requirementDiagram-MIRIMTAZ-By-bdQmW.js +0 -769
- package/dist/sequenceDiagram-G6AWOVSC-Cyb7nkt-.js +0 -2274
- package/dist/slides-component-Dahr8CLe.js +0 -3776
- package/dist/stateDiagram-v2-4JROLMXI-C82KMuZU.js +0 -14
- package/dist/stex-92raWT1r.js +0 -129
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ft, g as at, f as gt, d as mt } from "./chunk-
|
|
2
|
-
import { _ as i, g as xt, s as kt, a as _t, b as vt,
|
|
1
|
+
import { a as ft, g as at, f as gt, d as mt } from "./chunk-D6G4REZN-jvun3rFz.js";
|
|
2
|
+
import { _ as i, g as xt, s as kt, a as _t, b as vt, t as bt, q as wt, c as A, d as W, e as Tt, z as St } from "./mermaid-bM0PMjHu.js";
|
|
3
3
|
import { d as tt } from "./arc-CbMargV8.js";
|
|
4
4
|
var H = function() {
|
|
5
5
|
var t = /* @__PURE__ */ i(function(g, r, a, l) {
|
|
@@ -77,7 +77,7 @@ var H = function() {
|
|
|
77
77
|
return b = y.pop() || k.lex() || K, typeof b != "number" && (b instanceof Array && (y = b, b = y.pop()), b = a.symbols_[b] || b), b;
|
|
78
78
|
}
|
|
79
79
|
i(Q, "lex");
|
|
80
|
-
for (var v, P, w, q, C = {}, N,
|
|
80
|
+
for (var v, P, w, q, C = {}, N, $, D, j; ; ) {
|
|
81
81
|
if (P = l[l.length - 1], this.defaultActions[P] ? w = this.defaultActions[P] : ((v === null || typeof v > "u") && (v = Q()), w = S[P] && S[P][v]), typeof w > "u" || !w.length || !w[0]) {
|
|
82
82
|
var G = "";
|
|
83
83
|
j = [];
|
|
@@ -100,13 +100,13 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
|
|
|
100
100
|
l.push(v), f.push(k.yytext), o.push(k.yylloc), l.push(w[1]), v = null, J = k.yyleng, _ = k.yytext, B = k.yylineno, Y = k.yylloc;
|
|
101
101
|
break;
|
|
102
102
|
case 2:
|
|
103
|
-
if (
|
|
104
|
-
first_line: o[o.length - (
|
|
103
|
+
if ($ = this.productions_[w[1]][1], C.$ = f[f.length - $], C._$ = {
|
|
104
|
+
first_line: o[o.length - ($ || 1)].first_line,
|
|
105
105
|
last_line: o[o.length - 1].last_line,
|
|
106
|
-
first_column: o[o.length - (
|
|
106
|
+
first_column: o[o.length - ($ || 1)].first_column,
|
|
107
107
|
last_column: o[o.length - 1].last_column
|
|
108
108
|
}, dt && (C._$.range = [
|
|
109
|
-
o[o.length - (
|
|
109
|
+
o[o.length - ($ || 1)].range[0],
|
|
110
110
|
o[o.length - 1].range[1]
|
|
111
111
|
]), q = this.performAction.apply(C, [
|
|
112
112
|
_,
|
|
@@ -118,7 +118,7 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
|
|
|
118
118
|
o
|
|
119
119
|
].concat(yt)), typeof q < "u")
|
|
120
120
|
return q;
|
|
121
|
-
|
|
121
|
+
$ && (l = l.slice(0, -1 * $ * 2), f = f.slice(0, -1 * $), o = o.slice(0, -1 * $)), l.push(this.productions_[w[1]][0]), f.push(C.$), o.push(C._$), D = S[l[l.length - 2]][l[l.length - 1]], l.push(D);
|
|
122
122
|
break;
|
|
123
123
|
case 3:
|
|
124
124
|
return !0;
|
|
@@ -354,8 +354,8 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : G = "
|
|
|
354
354
|
return i(m, "Parser"), m.prototype = d, d.Parser = m, new m();
|
|
355
355
|
}();
|
|
356
356
|
H.parser = H;
|
|
357
|
-
var
|
|
358
|
-
U.length = 0,
|
|
357
|
+
var $t = H, V = "", U = [], F = [], R = [], Mt = /* @__PURE__ */ i(function() {
|
|
358
|
+
U.length = 0, F.length = 0, V = "", R.length = 0, St();
|
|
359
359
|
}, "clear"), Et = /* @__PURE__ */ i(function(t) {
|
|
360
360
|
V = t, U.push(t);
|
|
361
361
|
}, "addSection"), Pt = /* @__PURE__ */ i(function() {
|
|
@@ -366,10 +366,10 @@ var Mt = H, V = "", U = [], R = [], F = [], $t = /* @__PURE__ */ i(function() {
|
|
|
366
366
|
let n = 0;
|
|
367
367
|
for (; !t && n < e; )
|
|
368
368
|
t = et(), n++;
|
|
369
|
-
return
|
|
369
|
+
return F.push(...R), F;
|
|
370
370
|
}, "getTasks"), At = /* @__PURE__ */ i(function() {
|
|
371
371
|
const t = [];
|
|
372
|
-
return
|
|
372
|
+
return F.forEach((n) => {
|
|
373
373
|
n.people && t.push(...n.people);
|
|
374
374
|
}), [...new Set(t)].sort();
|
|
375
375
|
}, "updateActors"), Ct = /* @__PURE__ */ i(function(t, e) {
|
|
@@ -383,7 +383,7 @@ var Mt = H, V = "", U = [], R = [], F = [], $t = /* @__PURE__ */ i(function() {
|
|
|
383
383
|
task: t,
|
|
384
384
|
score: c
|
|
385
385
|
};
|
|
386
|
-
|
|
386
|
+
R.push(h);
|
|
387
387
|
}, "addTask"), Vt = /* @__PURE__ */ i(function(t) {
|
|
388
388
|
const e = {
|
|
389
389
|
section: V,
|
|
@@ -392,20 +392,20 @@ var Mt = H, V = "", U = [], R = [], F = [], $t = /* @__PURE__ */ i(function() {
|
|
|
392
392
|
task: t,
|
|
393
393
|
classes: []
|
|
394
394
|
};
|
|
395
|
-
|
|
395
|
+
F.push(e);
|
|
396
396
|
}, "addTaskOrg"), et = /* @__PURE__ */ i(function() {
|
|
397
397
|
const t = /* @__PURE__ */ i(function(n) {
|
|
398
|
-
return
|
|
398
|
+
return R[n].processed;
|
|
399
399
|
}, "compileTask");
|
|
400
400
|
let e = !0;
|
|
401
|
-
for (const [n, c] of
|
|
401
|
+
for (const [n, c] of R.entries())
|
|
402
402
|
t(n), e = e && c.processed;
|
|
403
403
|
return e;
|
|
404
|
-
}, "compileTasks"),
|
|
404
|
+
}, "compileTasks"), Ft = /* @__PURE__ */ i(function() {
|
|
405
405
|
return At();
|
|
406
406
|
}, "getActors"), rt = {
|
|
407
407
|
getConfig: /* @__PURE__ */ i(() => A().journey, "getConfig"),
|
|
408
|
-
clear:
|
|
408
|
+
clear: Mt,
|
|
409
409
|
setDiagramTitle: wt,
|
|
410
410
|
getDiagramTitle: bt,
|
|
411
411
|
setAccTitle: vt,
|
|
@@ -417,10 +417,9 @@ var Mt = H, V = "", U = [], R = [], F = [], $t = /* @__PURE__ */ i(function() {
|
|
|
417
417
|
getTasks: It,
|
|
418
418
|
addTask: Ct,
|
|
419
419
|
addTaskOrg: Vt,
|
|
420
|
-
getActors:
|
|
421
|
-
},
|
|
422
|
-
font-family:
|
|
423
|
-
font-family: var(--mermaid-font-family);
|
|
420
|
+
getActors: Ft
|
|
421
|
+
}, Rt = /* @__PURE__ */ i((t) => `.label {
|
|
422
|
+
font-family: ${t.fontFamily};
|
|
424
423
|
color: ${t.textColor};
|
|
425
424
|
}
|
|
426
425
|
.mouth {
|
|
@@ -433,6 +432,7 @@ var Mt = H, V = "", U = [], R = [], F = [], $t = /* @__PURE__ */ i(function() {
|
|
|
433
432
|
|
|
434
433
|
.legend {
|
|
435
434
|
fill: ${t.textColor};
|
|
435
|
+
font-family: ${t.fontFamily};
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
.label text {
|
|
@@ -498,8 +498,7 @@ var Mt = H, V = "", U = [], R = [], F = [], $t = /* @__PURE__ */ i(function() {
|
|
|
498
498
|
text-align: center;
|
|
499
499
|
max-width: 200px;
|
|
500
500
|
padding: 2px;
|
|
501
|
-
font-family:
|
|
502
|
-
font-family: var(--mermaid-font-family);
|
|
501
|
+
font-family: ${t.fontFamily};
|
|
503
502
|
font-size: 12px;
|
|
504
503
|
background: ${t.tertiaryColor};
|
|
505
504
|
border: 1px solid ${t.border2};
|
|
@@ -551,7 +550,7 @@ var Mt = H, V = "", U = [], R = [], F = [], $t = /* @__PURE__ */ i(function() {
|
|
|
551
550
|
.actor-5 {
|
|
552
551
|
${t.actor5 ? `fill: ${t.actor5}` : ""};
|
|
553
552
|
}
|
|
554
|
-
`, "getStyles"), Lt =
|
|
553
|
+
`, "getStyles"), Lt = Rt, Z = /* @__PURE__ */ i(function(t, e) {
|
|
555
554
|
return mt(t, e);
|
|
556
555
|
}, "drawRect"), Bt = /* @__PURE__ */ i(function(t, e) {
|
|
557
556
|
const c = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), s = t.append("g");
|
|
@@ -673,18 +672,18 @@ var Mt = H, V = "", U = [], R = [], F = [], $t = /* @__PURE__ */ i(function() {
|
|
|
673
672
|
Object.keys(t).forEach(function(n) {
|
|
674
673
|
z[n] = t[n];
|
|
675
674
|
});
|
|
676
|
-
}, "setConf"),
|
|
675
|
+
}, "setConf"), M = {};
|
|
677
676
|
function ht(t) {
|
|
678
677
|
const e = A().journey;
|
|
679
678
|
let n = 60;
|
|
680
|
-
Object.keys(
|
|
681
|
-
const s =
|
|
679
|
+
Object.keys(M).forEach((c) => {
|
|
680
|
+
const s = M[c].color, u = {
|
|
682
681
|
cx: 20,
|
|
683
682
|
cy: n,
|
|
684
683
|
r: 7,
|
|
685
684
|
fill: s,
|
|
686
685
|
stroke: "#000",
|
|
687
|
-
pos:
|
|
686
|
+
pos: M[c].position
|
|
688
687
|
};
|
|
689
688
|
L.drawCircle(t, u);
|
|
690
689
|
const h = {
|
|
@@ -707,15 +706,15 @@ var z = A().journey, I = z.leftMargin, Gt = /* @__PURE__ */ i(function(t, e, n,
|
|
|
707
706
|
const d = p.select("#" + e);
|
|
708
707
|
L.initGraphics(d);
|
|
709
708
|
const x = c.db.getTasks(), m = c.db.getDiagramTitle(), g = c.db.getActors();
|
|
710
|
-
for (const o in
|
|
711
|
-
delete
|
|
709
|
+
for (const o in M)
|
|
710
|
+
delete M[o];
|
|
712
711
|
let r = 0;
|
|
713
712
|
g.forEach((o) => {
|
|
714
|
-
|
|
713
|
+
M[o] = {
|
|
715
714
|
color: s.actorColours[r % s.actorColours.length],
|
|
716
715
|
position: r
|
|
717
716
|
}, r++;
|
|
718
|
-
}), ht(d), T.insert(0, 0, I, Object.keys(
|
|
717
|
+
}), ht(d), T.insert(0, 0, I, Object.keys(M).length * 50), Wt(d, x, 0);
|
|
719
718
|
const a = T.getBounds();
|
|
720
719
|
m && d.append("text").text(m).attr("x", I).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 25);
|
|
721
720
|
const l = a.stopy - a.starty + 2 * s.diagramMarginY, y = I + a.stopx + 2 * s.diagramMarginX;
|
|
@@ -790,14 +789,14 @@ var z = A().journey, I = z.leftMargin, Gt = /* @__PURE__ */ i(function(t, e, n,
|
|
|
790
789
|
};
|
|
791
790
|
L.drawSection(t, f, c), s = r.section, p++;
|
|
792
791
|
}
|
|
793
|
-
const a = r.people.reduce((l, y) => (
|
|
792
|
+
const a = r.people.reduce((l, y) => (M[y] && (l[y] = M[y]), l), {});
|
|
794
793
|
r.x = g * c.taskMargin + g * c.width + I, r.y = h, r.width = c.diagramMarginX, r.height = c.diagramMarginY, r.colour = x, r.fill = d, r.num = m, r.actors = a, L.drawTask(t, r, c), T.insert(r.x, r.y, r.x + r.width + c.taskMargin, 300 + 5 * 30);
|
|
795
794
|
}
|
|
796
795
|
}, "drawTasks"), nt = {
|
|
797
796
|
setConf: qt,
|
|
798
797
|
draw: Gt
|
|
799
798
|
}, Zt = {
|
|
800
|
-
parser:
|
|
799
|
+
parser: $t,
|
|
801
800
|
db: rt,
|
|
802
801
|
renderer: nt,
|
|
803
802
|
styles: Lt,
|
package/dist/{kanban-definition-QRCXZQQD-BdcV-_PG.js → kanban-definition-NDS4AKOZ-B6Srvldc.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as c, l as te, c as W,
|
|
1
|
+
import { _ as c, l as te, c as W, K as fe, $ as ye, a0 as be, a1 as me, T as _e, H as Y, i as G, v as Ee, J as ke, V as Se, W as le, X as ce } from "./mermaid-bM0PMjHu.js";
|
|
2
2
|
var $ = function() {
|
|
3
3
|
var t = /* @__PURE__ */ c(function(_, s, n, a) {
|
|
4
4
|
for (n = n || {}, a = _.length; a--; n[_[a]] = s) ;
|
|
5
5
|
return n;
|
|
6
|
-
}, "o"), g = [1, 4], d = [1, 13], r = [1, 12], p = [1, 15], E = [1, 16], f = [1, 20], h = [1, 19], L = [6, 7, 8], C = [1, 26], w = [1, 24], N = [1, 25], i = [6, 7, 11],
|
|
6
|
+
}, "o"), g = [1, 4], d = [1, 13], r = [1, 12], p = [1, 15], E = [1, 16], f = [1, 20], h = [1, 19], L = [6, 7, 8], C = [1, 26], w = [1, 24], N = [1, 25], i = [6, 7, 11], H = [1, 31], x = [6, 7, 11, 24], P = [1, 6, 13, 16, 17, 20, 23], M = [1, 35], U = [1, 36], A = [1, 6, 7, 11, 13, 16, 17, 20, 23], j = [1, 38], V = {
|
|
7
7
|
trace: /* @__PURE__ */ c(function() {
|
|
8
8
|
}, "trace"),
|
|
9
9
|
yy: {},
|
|
@@ -70,7 +70,7 @@ var $ = function() {
|
|
|
70
70
|
break;
|
|
71
71
|
}
|
|
72
72
|
}, "anonymous"),
|
|
73
|
-
table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: g }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: g }, { 6: d, 7: [1, 10], 9: 9, 12: 11, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, t(L, [2, 3]), { 1: [2, 2] }, t(L, [2, 4]), t(L, [2, 5]), { 1: [2, 6], 6: d, 12: 21, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, { 6: d, 9: 22, 12: 11, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, { 6: C, 7: w, 10: 23, 11: N }, t(i, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: f, 23: h }), t(i, [2, 19]), t(i, [2, 21], { 15: 30, 24:
|
|
73
|
+
table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: g }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: g }, { 6: d, 7: [1, 10], 9: 9, 12: 11, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, t(L, [2, 3]), { 1: [2, 2] }, t(L, [2, 4]), t(L, [2, 5]), { 1: [2, 6], 6: d, 12: 21, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, { 6: d, 9: 22, 12: 11, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, { 6: C, 7: w, 10: 23, 11: N }, t(i, [2, 24], { 18: 17, 19: 18, 14: 27, 16: [1, 28], 17: [1, 29], 20: f, 23: h }), t(i, [2, 19]), t(i, [2, 21], { 15: 30, 24: H }), t(i, [2, 22]), t(i, [2, 23]), t(x, [2, 25]), t(x, [2, 26]), t(x, [2, 28], { 20: [1, 32] }), { 21: [1, 33] }, { 6: C, 7: w, 10: 34, 11: N }, { 1: [2, 7], 6: d, 12: 21, 13: r, 14: 14, 16: p, 17: E, 18: 17, 19: 18, 20: f, 23: h }, t(P, [2, 14], { 7: M, 11: U }), t(A, [2, 8]), t(A, [2, 9]), t(A, [2, 10]), t(i, [2, 16], { 15: 37, 24: H }), t(i, [2, 17]), t(i, [2, 18]), t(i, [2, 20], { 24: j }), t(x, [2, 31]), { 21: [1, 39] }, { 22: [1, 40] }, t(P, [2, 13], { 7: M, 11: U }), t(A, [2, 11]), t(A, [2, 12]), t(i, [2, 15], { 24: j }), t(x, [2, 30]), { 22: [1, 41] }, t(x, [2, 27]), t(x, [2, 29])],
|
|
74
74
|
defaultActions: { 2: [2, 1], 6: [2, 2] },
|
|
75
75
|
parseError: /* @__PURE__ */ c(function(s, n) {
|
|
76
76
|
if (n.recoverable)
|
|
@@ -98,7 +98,7 @@ var $ = function() {
|
|
|
98
98
|
return S = o.pop() || b.lex() || re, typeof S != "number" && (S instanceof Array && (o = S, S = o.pop()), S = n.symbols_[S] || S), S;
|
|
99
99
|
}
|
|
100
100
|
c(ae, "lex");
|
|
101
|
-
for (var k, R, v, Q,
|
|
101
|
+
for (var k, R, v, Q, F = {}, X, I, oe, K; ; ) {
|
|
102
102
|
if (R = a[a.length - 1], this.defaultActions[R] ? v = this.defaultActions[R] : ((k === null || typeof k > "u") && (k = ae()), v = B[R] && B[R][k]), typeof v > "u" || !v.length || !v[0]) {
|
|
103
103
|
var Z = "";
|
|
104
104
|
K = [];
|
|
@@ -121,15 +121,15 @@ Expecting ` + K.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
121
121
|
a.push(k), u.push(b.yytext), e.push(b.yylloc), a.push(v[1]), k = null, ie = b.yyleng, l = b.yytext, z = b.yylineno, q = b.yylloc;
|
|
122
122
|
break;
|
|
123
123
|
case 2:
|
|
124
|
-
if (I = this.productions_[v[1]][1],
|
|
124
|
+
if (I = this.productions_[v[1]][1], F.$ = u[u.length - I], F._$ = {
|
|
125
125
|
first_line: e[e.length - (I || 1)].first_line,
|
|
126
126
|
last_line: e[e.length - 1].last_line,
|
|
127
127
|
first_column: e[e.length - (I || 1)].first_column,
|
|
128
128
|
last_column: e[e.length - 1].last_column
|
|
129
|
-
}, de && (
|
|
129
|
+
}, de && (F._$.range = [
|
|
130
130
|
e[e.length - (I || 1)].range[0],
|
|
131
131
|
e[e.length - 1].range[1]
|
|
132
|
-
]), Q = this.performAction.apply(
|
|
132
|
+
]), Q = this.performAction.apply(F, [
|
|
133
133
|
l,
|
|
134
134
|
ie,
|
|
135
135
|
z,
|
|
@@ -139,7 +139,7 @@ Expecting ` + K.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
139
139
|
e
|
|
140
140
|
].concat(ge)), typeof Q < "u")
|
|
141
141
|
return Q;
|
|
142
|
-
I && (a = a.slice(0, -1 * I * 2), u = u.slice(0, -1 * I), e = e.slice(0, -1 * I)), a.push(this.productions_[v[1]][0]), u.push(
|
|
142
|
+
I && (a = a.slice(0, -1 * I * 2), u = u.slice(0, -1 * I), e = e.slice(0, -1 * I)), a.push(this.productions_[v[1]][0]), u.push(F.$), e.push(F._$), oe = B[a[a.length - 2]][a[a.length - 1]], a.push(oe);
|
|
143
143
|
break;
|
|
144
144
|
case 3:
|
|
145
145
|
return !0;
|
|
@@ -447,7 +447,7 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
|
|
|
447
447
|
for (const p of d) {
|
|
448
448
|
const E = {
|
|
449
449
|
id: p.id,
|
|
450
|
-
label:
|
|
450
|
+
label: G(p.label ?? "", r),
|
|
451
451
|
isGroup: !0,
|
|
452
452
|
ticket: p.ticket,
|
|
453
453
|
shape: "kanbanSection",
|
|
@@ -460,7 +460,7 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
|
|
|
460
460
|
const L = {
|
|
461
461
|
id: h.id,
|
|
462
462
|
parentId: p.id,
|
|
463
|
-
label:
|
|
463
|
+
label: G(h.label ?? "", r),
|
|
464
464
|
isGroup: !1,
|
|
465
465
|
ticket: h == null ? void 0 : h.ticket,
|
|
466
466
|
priority: h == null ? void 0 : h.priority,
|
|
@@ -487,9 +487,9 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
|
|
|
487
487
|
f *= 2;
|
|
488
488
|
}
|
|
489
489
|
const h = {
|
|
490
|
-
id:
|
|
490
|
+
id: G(g, E) || "kbn" + ee++,
|
|
491
491
|
level: t,
|
|
492
|
-
label:
|
|
492
|
+
label: G(d, E),
|
|
493
493
|
width: ((w = E.mindmap) == null ? void 0 : w.maxNodeWidth) ?? Y.mindmap.maxNodeWidth,
|
|
494
494
|
padding: f,
|
|
495
495
|
isGroup: !1
|
|
@@ -540,7 +540,7 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
|
|
|
540
540
|
if (!t)
|
|
541
541
|
return;
|
|
542
542
|
const g = W(), d = D[D.length - 1];
|
|
543
|
-
t.icon && (d.icon =
|
|
543
|
+
t.icon && (d.icon = G(t.icon, g)), t.class && (d.cssClasses = G(t.class, g));
|
|
544
544
|
}, "decorateNode"), we = /* @__PURE__ */ c((t) => {
|
|
545
545
|
switch (t) {
|
|
546
546
|
case y.DEFAULT:
|
|
@@ -557,6 +557,7 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
|
|
|
557
557
|
return "bang";
|
|
558
558
|
case y.HEXAGON:
|
|
559
559
|
return "hexgon";
|
|
560
|
+
// cspell: disable-line
|
|
560
561
|
default:
|
|
561
562
|
return "no-border";
|
|
562
563
|
}
|
|
@@ -573,7 +574,7 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
|
|
|
573
574
|
getLogger: Ae,
|
|
574
575
|
getElementById: Te
|
|
575
576
|
}, Pe = Re, Ve = /* @__PURE__ */ c(async (t, g, d, r) => {
|
|
576
|
-
var
|
|
577
|
+
var M, U, A, j, V;
|
|
577
578
|
te.debug(`Rendering kanban diagram
|
|
578
579
|
` + t);
|
|
579
580
|
const E = r.db.getData(), f = W();
|
|
@@ -587,17 +588,17 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
|
|
|
587
588
|
(m) => m.isGroup
|
|
588
589
|
);
|
|
589
590
|
let N = 0;
|
|
590
|
-
const i = 10,
|
|
591
|
+
const i = 10, H = [];
|
|
591
592
|
let x = 25;
|
|
592
593
|
for (const m of w) {
|
|
593
|
-
const O = ((
|
|
594
|
+
const O = ((M = f == null ? void 0 : f.kanban) == null ? void 0 : M.sectionWidth) || 200;
|
|
594
595
|
N = N + 1, m.x = O * N + (N - 1) * i / 2, m.width = O, m.y = 0, m.height = O * 3, m.rx = 5, m.ry = 5, m.cssClasses = m.cssClasses + " section-" + N;
|
|
595
596
|
const _ = await ye(L, m);
|
|
596
|
-
x = Math.max(x, (
|
|
597
|
+
x = Math.max(x, (U = _ == null ? void 0 : _.labelBBox) == null ? void 0 : U.height), H.push(_);
|
|
597
598
|
}
|
|
598
599
|
let P = 0;
|
|
599
600
|
for (const m of w) {
|
|
600
|
-
const O =
|
|
601
|
+
const O = H[P];
|
|
601
602
|
P = P + 1;
|
|
602
603
|
const _ = ((A = f == null ? void 0 : f.kanban) == null ? void 0 : A.sectionWidth) || 200, s = -_ * 3 / 2 + x;
|
|
603
604
|
let n = s;
|
|
@@ -615,12 +616,12 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
|
|
|
615
616
|
_e(
|
|
616
617
|
void 0,
|
|
617
618
|
h,
|
|
618
|
-
((
|
|
619
|
+
((j = f.mindmap) == null ? void 0 : j.padding) ?? Y.kanban.padding,
|
|
619
620
|
((V = f.mindmap) == null ? void 0 : V.useMaxWidth) ?? Y.kanban.useMaxWidth
|
|
620
621
|
);
|
|
621
622
|
}, "draw"), Be = {
|
|
622
623
|
draw: Ve
|
|
623
|
-
},
|
|
624
|
+
}, Fe = /* @__PURE__ */ c((t) => {
|
|
624
625
|
let g = "";
|
|
625
626
|
for (let r = 0; r < t.THEME_COLOR_LIMIT; r++)
|
|
626
627
|
t["lineColor" + r] = t["lineColor" + r] || t["cScaleInv" + r], Se(t["lineColor" + r]) ? t["lineColor" + r] = le(t["lineColor" + r], 20) : t["lineColor" + r] = ce(t["lineColor" + r], 20);
|
|
@@ -676,11 +677,11 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
|
|
|
676
677
|
`;
|
|
677
678
|
}
|
|
678
679
|
return g;
|
|
679
|
-
}, "genSections"),
|
|
680
|
+
}, "genSections"), Ge = /* @__PURE__ */ c((t) => `
|
|
680
681
|
.edge {
|
|
681
682
|
stroke-width: 3;
|
|
682
683
|
}
|
|
683
|
-
${
|
|
684
|
+
${Fe(t)}
|
|
684
685
|
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
685
686
|
fill: ${t.git0};
|
|
686
687
|
}
|
|
@@ -707,12 +708,12 @@ var Ne = $, D = [], ne = [], ee = 0, se = {}, xe = /* @__PURE__ */ c(() => {
|
|
|
707
708
|
dominant-baseline: middle;
|
|
708
709
|
text-align: center;
|
|
709
710
|
}
|
|
710
|
-
`, "getStyles"),
|
|
711
|
+
`, "getStyles"), He = Ge, Ue = {
|
|
711
712
|
db: Pe,
|
|
712
713
|
renderer: Be,
|
|
713
714
|
parser: Ne,
|
|
714
|
-
styles:
|
|
715
|
+
styles: He
|
|
715
716
|
};
|
|
716
717
|
export {
|
|
717
|
-
|
|
718
|
+
Ue as diagram
|
|
718
719
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as g } from "./graph-
|
|
2
|
-
import { b as Re, h as fe, j as ce, d as q, c as f, i as m, f as P, v as x, r as M } from "./_baseUniq-
|
|
3
|
-
import { b as le, a as Te, c as Ie, m as w, d as N, h as he, f as W, l as T, e as Me } from "./min-
|
|
4
|
-
import {
|
|
1
|
+
import { G as g } from "./graph-DDoPYpXh.js";
|
|
2
|
+
import { b as Re, h as fe, j as ce, d as q, c as f, i as m, f as P, v as x, r as M } from "./_baseUniq-DcMHqcMx.js";
|
|
3
|
+
import { b as le, a as Te, c as Ie, m as w, d as N, h as he, f as W, l as T, e as Me } from "./min-C1JTrbkM.js";
|
|
4
|
+
import { be as je, ay as Se, bf as Fe, aG as ve, aF as K, aC as F, aD as pe, bg as Ve, bh as Ae, w as Be, ax as Q, x as Ge, bi as Ye, bj as De, bk as _, bl as E, z as $e, bm as I, bn as D } from "./main-TZD_8qdu.js";
|
|
5
5
|
var qe = 1, We = 4;
|
|
6
6
|
function ze(e) {
|
|
7
7
|
return Re(e, qe | We);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { x, y as h, z as v, A as S, B as d } from "./timer-ly3uOrxC.js";
|
|
2
|
-
import { a9 as M,
|
|
2
|
+
import { a9 as M, b4 as B, ai as D, b5 as F, b6 as z, b7 as I, b8 as P, b9 as V, ba as $, bb as b, bc as q } from "./main-TZD_8qdu.js";
|
|
3
3
|
import { i as L } from "./init-DxzjmxYy.js";
|
|
4
4
|
function O(n) {
|
|
5
5
|
return n === null ? NaN : +n;
|