@marimo-team/islands 0.14.11-dev39 → 0.14.11-dev4
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-Sd9Nxepm.js → ConnectedDataExplorerComponent-B3jU38aR.js} +4 -4
- package/dist/{ImageComparisonComponent-5Y_UPK-4.js → ImageComparisonComponent-CUfFulP7.js} +1 -1
- package/dist/{VegaLite-xEnU6x-s.js → VegaLite-CT_m2Gns.js} +7180 -6961
- package/dist/{_baseUniq-hectrKF-.js → _baseUniq-DVXzAxqW.js} +36 -36
- package/dist/{any-language-editor-CFSQwvzE.js → any-language-editor-Bm5ppbnQ.js} +1 -1
- package/dist/{architectureDiagram-NQ2NVSRB-CCXJjFvh.js → architectureDiagram-IEHRJDOE-Buq1PEDd.js} +894 -897
- package/dist/assets/{worker-Bfk1FrzG.js → save-worker-BIDtxCd1.js} +1724 -1604
- package/dist/assets/{save-worker-fI5ofStJ.js → worker-BcyuOSTi.js} +1649 -1076
- package/dist/assets/worker-Dz6PPEGc.js +4115 -0
- package/dist/{blockDiagram-PHRCVELO-BjyOlQ-1.js → blockDiagram-JOT3LUYC-Baj8O4gb.js} +522 -534
- package/dist/{c4Diagram-6F6E4RAY-Dekfu0nv.js → c4Diagram-VJAJSXHY-CBDfWUzS.js} +4 -4
- package/dist/{channel-3ZP1Ahsx.js → channel-Cy0SmgpI.js} +1 -1
- package/dist/{chunk-353BL4L5-DAFgStCL.js → chunk-4BMEZGHF-BnpEqs6S.js} +1 -1
- package/dist/{chunk-QEP2MXWD-B3Qy_0QF.js → chunk-A2AXSNBT-i8l7moUJ.js} +27 -30
- package/dist/chunk-AEK57VVT-BxuW_6WB.js +1416 -0
- package/dist/{chunk-67H74DCK-DZpdsEFc.js → chunk-D6G4REZN-DwIklRV0.js} +1 -1
- package/dist/chunk-RZ5BOZE2-CNoeotZt.js +24 -0
- package/dist/{chunk-AACKK3MU-B95hL8py.js → chunk-XZIHB7SX-Cr4T9caJ.js} +1 -1
- package/dist/{classDiagram-v2-O24JOBDK-CRnOnb_r.js → classDiagram-GIVACNV2-CbFkMOFI.js} +2 -2
- package/dist/{classDiagram-BGRH5UQR-CRnOnb_r.js → classDiagram-v2-COTLJTTW-CbFkMOFI.js} +2 -2
- package/dist/{clone-CFt3Dbsx.js → clone-BeXSGgDB.js} +1 -1
- package/dist/{dagre-FFZHY6LT-BCZYCsTf.js → dagre-OKDRZEBW-Bo2roBvL.js} +8 -8
- package/dist/{data-editor-DJm7TwNK.js → data-editor-Dnm_K2_c.js} +201 -213
- package/dist/{diagram-ZTM2IBQH-CZn2HwdK.js → diagram-SSKATNLV-6e7ZOneB.js} +3 -3
- package/dist/diagram-VNBRO52H-VcG5htt_.js +126 -0
- package/dist/{erDiagram-R3QVA2FD-CgONUTHE.js → erDiagram-Q7BY3M3F-DObb1KYA.js} +5 -6
- package/dist/{flowDiagram-PKI6S5ZS-Dk7_9UWG.js → flowDiagram-4HSFHLVR-BAvIkIMr.js} +278 -283
- package/dist/{ganttDiagram-EK5VF46D-CRpVp1Tv.js → ganttDiagram-APWFNJXF-BUabt1F7.js} +439 -453
- package/dist/{gitGraphDiagram-GW3U2K7C-C62qVSS0.js → gitGraphDiagram-7IBYFJ6S-Bs-H6FAX.js} +35 -35
- package/dist/{graph-Bmg6ThvY.js → graph-B7tbSSJp.js} +3 -3
- package/dist/{index-DjyV3XsQ.js → index-CiG5v3ld.js} +3 -3
- package/dist/{index-CpMCQprO.js → index-DI-1MlWW.js} +1 -1
- package/dist/{index-DOW7j8QD.js → index-DpepA-b-.js} +3 -6
- package/dist/{index-BmXq13zt.js → index-phTQQwAJ.js} +4 -4
- package/dist/{infoDiagram-RLU2ROGC-BxV_L_v4.js → infoDiagram-PH2N3AL5-7fwphtgP.js} +3 -5
- package/dist/journeyDiagram-U35MCT3I-C4s4ilvs.js +809 -0
- package/dist/{kanban-definition-ILFWEQ3N-Czy4NHmp.js → kanban-definition-NDS4AKOZ-DcxIaLdv.js} +39 -41
- package/dist/{layout-oDYqqouw.js → layout-v4OeDCTb.js} +49 -49
- package/dist/{linear-B2w8crqt.js → linear-xHimOevt.js} +22 -22
- package/dist/{main-WBPEOYUW.js → main-C7CuKeJY.js} +47637 -47530
- package/dist/main.js +1 -1
- package/dist/{mermaid-BrDUrAOA.js → mermaid-C9S7GU2b.js} +4855 -4927
- package/dist/min-BT9mkTQN.js +80 -0
- package/dist/{mindmap-definition-CZNETY7S-DwnN0Xtd.js → mindmap-definition-ALO5MXBD-CVFEcHZK.js} +3 -3
- package/dist/{pieDiagram-NIOCPIFQ-C6DftsTF.js → pieDiagram-IB7DONF6-Co1Ma8jK.js} +3 -3
- package/dist/{quadrantDiagram-2OG54O6I-D_F4-y3O.js → quadrantDiagram-7GDLP6J5-DQlP2K2y.js} +2 -2
- package/dist/{treemap-FKARHQ26-BdRtb6Jl.js → radar-MK3ICKWK-BhkTFShi.js} +2330 -2469
- package/dist/{react-plotly-DyGjmGkP.js → react-plotly-Bh6GaXqm.js} +1 -1
- package/dist/{requirementDiagram-SO3GGRV7-B0B6nUaZ.js → requirementDiagram-KVF5MWMF-BygiWyL4.js} +4 -5
- package/dist/{sankeyDiagram-4UZDY2LN-Dc9a_ZCf.js → sankeyDiagram-QLVOVGJD-Ch4TJi_X.js} +11 -11
- package/dist/{sequenceDiagram-ZIKVLSP4-CK0IGm4R.js → sequenceDiagram-X6HHIX6F-DuQdesWk.js} +149 -151
- package/dist/{slides-component-Dnp9jsH4.js → slides-component-BA1GLkbQ.js} +962 -969
- package/dist/stateDiagram-DGXRK772-CG6dTG8s.js +271 -0
- package/dist/{stateDiagram-v2-GD6S3NHB-z7eMLBFB.js → stateDiagram-v2-YXO3MK2T-ChBhvPue.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-CsAbaoLW.js → time-BImtLwbp.js} +2 -2
- package/dist/{timeline-definition-RI47OAVP-BClUsJ6N.js → timeline-definition-BDJGKUSR-DDxqWt73.js} +102 -99
- package/dist/{vega-component-B4kFG0mV.js → vega-component-ClHul7Ph.js} +21 -21
- package/dist/{xychartDiagram-H2YORKM3-DKa9A91j.js → xychartDiagram-VJFVF3MP-DsuROm2x.js} +375 -409
- package/package.json +42 -42
- package/dist/assets/worker-BldghCZh.js +0 -3752
- package/dist/chunk-6OLS64BW-Brmt-SZS.js +0 -1383
- package/dist/chunk-BFAMUDN2-BT75CqeT.js +0 -8
- package/dist/chunk-E2GYISFI-C0R6djsG.js +0 -19
- package/dist/chunk-SKB7J2MH-CW_LVmrE.js +0 -20
- package/dist/diagram-3EMPZRKU-K1apRbx_.js +0 -313
- package/dist/diagram-5UYTHUR4-CDt_HKgG.js +0 -137
- package/dist/index-pBmAzQJl.js +0 -235
- package/dist/journeyDiagram-EWQZEKCU-BmLTz9kg.js +0 -836
- package/dist/min-DrafC17d.js +0 -80
- package/dist/stateDiagram-XX37X6EN-BvfpfSgz.js +0 -264
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as Y } from "./chunk-
|
|
2
|
-
import { I as K } from "./chunk-
|
|
3
|
-
import { _ as l, t as U, q as V, s as X, g as J, a as Q, b as Z, l as
|
|
4
|
-
import { p as dr } from "./
|
|
1
|
+
import { p as Y } from "./chunk-4BMEZGHF-BnpEqs6S.js";
|
|
2
|
+
import { I as K } from "./chunk-XZIHB7SX-Cr4T9caJ.js";
|
|
3
|
+
import { _ as l, t as U, q as V, s as X, g as J, a as Q, b as Z, l as b, c as rr, d as er, u as tr, E as ar, z as sr, k as C, F as nr, G as or, H as cr, I as ir } from "./mermaid-C9S7GU2b.js";
|
|
4
|
+
import { p as dr } from "./radar-MK3ICKWK-BhkTFShi.js";
|
|
5
5
|
var p = {
|
|
6
6
|
NORMAL: 0,
|
|
7
7
|
REVERSE: 1,
|
|
@@ -40,11 +40,11 @@ l(F, "uniqBy");
|
|
|
40
40
|
var lr = /* @__PURE__ */ l(function(t) {
|
|
41
41
|
c.records.direction = t;
|
|
42
42
|
}, "setDirection"), $r = /* @__PURE__ */ l(function(t) {
|
|
43
|
-
|
|
43
|
+
b.debug("options str", t), t = t == null ? void 0 : t.trim(), t = t || "{}";
|
|
44
44
|
try {
|
|
45
45
|
c.records.options = JSON.parse(t);
|
|
46
46
|
} catch (r) {
|
|
47
|
-
|
|
47
|
+
b.error("error while parsing gitGraph options", r.message);
|
|
48
48
|
}
|
|
49
49
|
}, "setOptions"), fr = /* @__PURE__ */ l(function() {
|
|
50
50
|
return c.records.options;
|
|
@@ -52,7 +52,7 @@ var lr = /* @__PURE__ */ l(function(t) {
|
|
|
52
52
|
let r = t.msg, s = t.id;
|
|
53
53
|
const n = t.type;
|
|
54
54
|
let e = t.tags;
|
|
55
|
-
|
|
55
|
+
b.info("commit", r, s, n, e), b.debug("Entering commit:", r, s, n, e);
|
|
56
56
|
const a = I();
|
|
57
57
|
s = C.sanitizeText(s, a), r = C.sanitizeText(r, a), e = e == null ? void 0 : e.map((o) => C.sanitizeText(o, a));
|
|
58
58
|
const d = {
|
|
@@ -64,7 +64,7 @@ var lr = /* @__PURE__ */ l(function(t) {
|
|
|
64
64
|
parents: c.records.head == null ? [] : [c.records.head.id],
|
|
65
65
|
branch: c.records.currBranch
|
|
66
66
|
};
|
|
67
|
-
c.records.head = d,
|
|
67
|
+
c.records.head = d, b.info("main branch", a.mainBranchName), c.records.commits.set(d.id, d), c.records.branches.set(c.records.currBranch, d.id), b.debug("in pushCommit " + d.id);
|
|
68
68
|
}, "commit"), yr = /* @__PURE__ */ l(function(t) {
|
|
69
69
|
let r = t.name;
|
|
70
70
|
const s = t.order;
|
|
@@ -72,7 +72,7 @@ var lr = /* @__PURE__ */ l(function(t) {
|
|
|
72
72
|
throw new Error(
|
|
73
73
|
`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`
|
|
74
74
|
);
|
|
75
|
-
c.records.branches.set(r, c.records.head != null ? c.records.head.id : null), c.records.branchConfig.set(r, { name: r, order: s }), D(r),
|
|
75
|
+
c.records.branches.set(r, c.records.head != null ? c.records.head.id : null), c.records.branchConfig.set(r, { name: r, order: s }), D(r), b.debug("in createBranch");
|
|
76
76
|
}, "branch"), ur = /* @__PURE__ */ l((t) => {
|
|
77
77
|
let r = t.branch, s = t.id;
|
|
78
78
|
const n = t.type, e = t.tags, a = I();
|
|
@@ -128,7 +128,7 @@ var lr = /* @__PURE__ */ l(function(t) {
|
|
|
128
128
|
}
|
|
129
129
|
if (s && c.records.commits.has(s)) {
|
|
130
130
|
const i = new Error(
|
|
131
|
-
'Incorrect usage of "merge". Commit with id:' + s + " already exists, use different custom
|
|
131
|
+
'Incorrect usage of "merge". Commit with id:' + s + " already exists, use different custom Id"
|
|
132
132
|
);
|
|
133
133
|
throw i.hash = {
|
|
134
134
|
text: `merge ${r} ${s} ${n} ${e == null ? void 0 : e.join(" ")}`,
|
|
@@ -149,10 +149,10 @@ var lr = /* @__PURE__ */ l(function(t) {
|
|
|
149
149
|
customId: !!s,
|
|
150
150
|
tags: e ?? []
|
|
151
151
|
};
|
|
152
|
-
c.records.head = g, c.records.commits.set(g.id, g), c.records.branches.set(c.records.currBranch, g.id),
|
|
152
|
+
c.records.head = g, c.records.commits.set(g.id, g), c.records.branches.set(c.records.currBranch, g.id), b.debug(c.records.branches), b.debug("in mergeBranch");
|
|
153
153
|
}, "merge"), xr = /* @__PURE__ */ l(function(t) {
|
|
154
154
|
let r = t.id, s = t.targetId, n = t.tags, e = t.parent;
|
|
155
|
-
|
|
155
|
+
b.debug("Entering cherryPick:", r, s, n);
|
|
156
156
|
const a = I();
|
|
157
157
|
if (r = C.sanitizeText(r, a), s = C.sanitizeText(s, a), n = n == null ? void 0 : n.map((f) => C.sanitizeText(f, a)), e = C.sanitizeText(e, a), !r || !c.records.commits.has(r)) {
|
|
158
158
|
const f = new Error(
|
|
@@ -220,7 +220,7 @@ var lr = /* @__PURE__ */ l(function(t) {
|
|
|
220
220
|
`cherry-pick:${d.id}${d.type === p.MERGE ? `|parent:${e}` : ""}`
|
|
221
221
|
]
|
|
222
222
|
};
|
|
223
|
-
c.records.head = $, c.records.commits.set($.id, $), c.records.branches.set(c.records.currBranch, $.id),
|
|
223
|
+
c.records.head = $, c.records.commits.set($.id, $), c.records.branches.set(c.records.currBranch, $.id), b.debug(c.records.branches), b.debug("in cherryPick");
|
|
224
224
|
}
|
|
225
225
|
}, "cherryPick"), D = /* @__PURE__ */ l(function(t) {
|
|
226
226
|
if (t = C.sanitizeText(t, I()), c.records.branches.has(t)) {
|
|
@@ -252,7 +252,7 @@ function P(t) {
|
|
|
252
252
|
const n = [s, r.id, r.seq];
|
|
253
253
|
for (const e in c.records.branches)
|
|
254
254
|
c.records.branches.get(e) === r.id && n.push(e);
|
|
255
|
-
if (
|
|
255
|
+
if (b.debug(n.join(" ")), r.parents && r.parents.length == 2 && r.parents[0] && r.parents[1]) {
|
|
256
256
|
const e = c.records.commits.get(r.parents[0]);
|
|
257
257
|
_(t, r, e), r.parents[1] && t.push(c.records.commits.get(r.parents[1]));
|
|
258
258
|
} else {
|
|
@@ -267,12 +267,12 @@ function P(t) {
|
|
|
267
267
|
}
|
|
268
268
|
l(P, "prettyPrintCommitHistory");
|
|
269
269
|
var pr = /* @__PURE__ */ l(function() {
|
|
270
|
-
|
|
270
|
+
b.debug(c.records.commits);
|
|
271
271
|
const t = N()[0];
|
|
272
272
|
P([t]);
|
|
273
|
-
}, "prettyPrint"),
|
|
273
|
+
}, "prettyPrint"), br = /* @__PURE__ */ l(function() {
|
|
274
274
|
c.reset(), sr();
|
|
275
|
-
}, "clear"),
|
|
275
|
+
}, "clear"), mr = /* @__PURE__ */ l(function() {
|
|
276
276
|
return [...c.records.branchConfig.values()].map((r, s) => r.order !== null && r.order !== void 0 ? r : {
|
|
277
277
|
...r,
|
|
278
278
|
order: parseFloat(`0.${s}`)
|
|
@@ -284,7 +284,7 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
284
284
|
}, "getCommits"), N = /* @__PURE__ */ l(function() {
|
|
285
285
|
const t = [...c.records.commits.values()];
|
|
286
286
|
return t.forEach(function(r) {
|
|
287
|
-
|
|
287
|
+
b.debug(r.id);
|
|
288
288
|
}), t.sort((r, s) => r.seq - s.seq), t;
|
|
289
289
|
}, "getCommitsArray"), Cr = /* @__PURE__ */ l(function() {
|
|
290
290
|
return c.records.currBranch;
|
|
@@ -305,8 +305,8 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
305
305
|
checkout: D,
|
|
306
306
|
//reset,
|
|
307
307
|
prettyPrint: pr,
|
|
308
|
-
clear:
|
|
309
|
-
getBranchesAsObjArray:
|
|
308
|
+
clear: br,
|
|
309
|
+
getBranchesAsObjArray: mr,
|
|
310
310
|
getBranches: wr,
|
|
311
311
|
getCommits: vr,
|
|
312
312
|
getCommitsArray: N,
|
|
@@ -331,7 +331,7 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
331
331
|
Checkout: /* @__PURE__ */ l((e) => r.checkout(Rr(e)), "Checkout"),
|
|
332
332
|
CherryPicking: /* @__PURE__ */ l((e) => r.cherryPick(Gr(e)), "CherryPicking")
|
|
333
333
|
}[t.$type];
|
|
334
|
-
n ? n(t) :
|
|
334
|
+
n ? n(t) : b.error(`Unknown statement type: ${t.$type}`);
|
|
335
335
|
}, "parseStatement"), kr = /* @__PURE__ */ l((t) => ({
|
|
336
336
|
id: t.id,
|
|
337
337
|
msg: t.message ?? "",
|
|
@@ -356,10 +356,10 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
356
356
|
}, "parseCherryPicking"), Or = {
|
|
357
357
|
parse: /* @__PURE__ */ l(async (t) => {
|
|
358
358
|
const r = await dr("gitGraph", t);
|
|
359
|
-
|
|
359
|
+
b.debug(r), Br(r, S);
|
|
360
360
|
}, "parse")
|
|
361
|
-
}, qr = rr(), v = qr == null ? void 0 : qr.gitGraph, L = 10, k = 40, E = 4, T = 2, M = 8,
|
|
362
|
-
|
|
361
|
+
}, qr = rr(), v = qr == null ? void 0 : qr.gitGraph, L = 10, k = 40, E = 4, T = 2, M = 8, m = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), O = 30, R = /* @__PURE__ */ new Map(), q = [], B = 0, u = "LR", Ar = /* @__PURE__ */ l(() => {
|
|
362
|
+
m.clear(), w.clear(), R.clear(), B = 0, q = [], u = "LR";
|
|
363
363
|
}, "clear"), W = /* @__PURE__ */ l((t) => {
|
|
364
364
|
const r = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
365
365
|
return (typeof t == "string" ? t.split(/\\n|\n|<br\s*\/?>/gi) : t).forEach((n) => {
|
|
@@ -394,7 +394,7 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
394
394
|
if (o == null ? void 0 : o.parents.length) {
|
|
395
395
|
const f = Hr(o.parents);
|
|
396
396
|
n = w.get(f).y - k, n <= e && (e = n);
|
|
397
|
-
const h =
|
|
397
|
+
const h = m.get(o.branch).pos, $ = n - L;
|
|
398
398
|
w.set(o.id, { x: h, y: $ });
|
|
399
399
|
}
|
|
400
400
|
});
|
|
@@ -408,13 +408,13 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
408
408
|
throw new Error(`Closest parent position not found for commit ${t.id}`);
|
|
409
409
|
return s;
|
|
410
410
|
}, "findClosestParentPos"), zr = /* @__PURE__ */ l((t) => Pr(t) + k, "calculateCommitPosition"), Fr = /* @__PURE__ */ l((t, r) => {
|
|
411
|
-
const s =
|
|
411
|
+
const s = m.get(t.branch);
|
|
412
412
|
if (!s)
|
|
413
413
|
throw new Error(`Branch not found for commit ${t.id}`);
|
|
414
414
|
const n = s.pos, e = r + L;
|
|
415
415
|
return w.set(t.id, { x: n, y: e }), { x: n, y: e };
|
|
416
416
|
}, "setCommitPosition"), Dr = /* @__PURE__ */ l((t, r, s) => {
|
|
417
|
-
const n =
|
|
417
|
+
const n = m.get(t.branch);
|
|
418
418
|
if (!n)
|
|
419
419
|
throw new Error(`Branch not found for commit ${t.id}`);
|
|
420
420
|
const e = r + s, a = n.pos;
|
|
@@ -535,7 +535,7 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
535
535
|
return 0;
|
|
536
536
|
}, "calculatePosition"), Kr = /* @__PURE__ */ l((t, r, s) => {
|
|
537
537
|
var _a, _b;
|
|
538
|
-
const n = u === "BT" && s ? r : r + L, e = u === "TB" || u === "BT" ? n : (_a =
|
|
538
|
+
const n = u === "BT" && s ? r : r + L, e = u === "TB" || u === "BT" ? n : (_a = m.get(t.branch)) == null ? void 0 : _a.pos, a = u === "TB" || u === "BT" ? (_b = m.get(t.branch)) == null ? void 0 : _b.pos : n;
|
|
539
539
|
if (a === void 0 || e === void 0)
|
|
540
540
|
throw new Error(`Position were undefined for commit ${t.id}`);
|
|
541
541
|
return { x: a, y: e, posWithOffset: n };
|
|
@@ -558,7 +558,7 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
558
558
|
o && (a = Yr(g, u, a, w));
|
|
559
559
|
const i = Kr(g, a, o);
|
|
560
560
|
if (s) {
|
|
561
|
-
const y = jr(g), x = g.customType ?? g.type, H = ((_a =
|
|
561
|
+
const y = jr(g), x = g.customType ?? g.type, H = ((_a = m.get(g.branch)) == null ? void 0 : _a.index) ?? 0;
|
|
562
562
|
Nr(n, g, i, y, H, x), Sr(e, g, i, a), Wr(e, g, i, a);
|
|
563
563
|
}
|
|
564
564
|
u === "TB" || u === "BT" ? w.set(g.id, { x: i.x, y: i.posWithOffset }) : w.set(g.id, { x: i.posWithOffset, y: i.y }), a = u === "BT" && o ? a + k : a + k + L, a > B && (B = a);
|
|
@@ -580,13 +580,13 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
580
580
|
if (e === void 0 || a === void 0)
|
|
581
581
|
throw new Error(`Commit positions not found for commits ${r.id} and ${s.id}`);
|
|
582
582
|
const d = Ur(r, s, e, a, n);
|
|
583
|
-
let o = "", f = "", h = 0, $ = 0, g = (_a =
|
|
584
|
-
s.type === p.MERGE && r.id !== s.parents[0] && (g = (_b =
|
|
583
|
+
let o = "", f = "", h = 0, $ = 0, g = (_a = m.get(s.branch)) == null ? void 0 : _a.index;
|
|
584
|
+
s.type === p.MERGE && r.id !== s.parents[0] && (g = (_b = m.get(r.branch)) == null ? void 0 : _b.index);
|
|
585
585
|
let i;
|
|
586
586
|
if (d) {
|
|
587
587
|
o = "A 10 10, 0, 0, 0,", f = "A 10 10, 0, 0, 1,", h = 10, $ = 10;
|
|
588
588
|
const y = e.y < a.y ? G(e.y, a.y) : G(a.y, e.y), x = e.x < a.x ? G(e.x, a.x) : G(a.x, e.x);
|
|
589
|
-
u === "TB" ? e.x < a.x ? i = `M ${e.x} ${e.y} L ${x - h} ${e.y} ${f} ${x} ${e.y + $} L ${x} ${a.y - h} ${o} ${x + $} ${a.y} L ${a.x} ${a.y}` : (g = (_c =
|
|
589
|
+
u === "TB" ? e.x < a.x ? i = `M ${e.x} ${e.y} L ${x - h} ${e.y} ${f} ${x} ${e.y + $} L ${x} ${a.y - h} ${o} ${x + $} ${a.y} L ${a.x} ${a.y}` : (g = (_c = m.get(r.branch)) == null ? void 0 : _c.index, i = `M ${e.x} ${e.y} L ${x + h} ${e.y} ${o} ${x} ${e.y + $} L ${x} ${a.y - h} ${f} ${x - $} ${a.y} L ${a.x} ${a.y}`) : u === "BT" ? e.x < a.x ? i = `M ${e.x} ${e.y} L ${x - h} ${e.y} ${o} ${x} ${e.y - $} L ${x} ${a.y + h} ${f} ${x + $} ${a.y} L ${a.x} ${a.y}` : (g = (_d = m.get(r.branch)) == null ? void 0 : _d.index, i = `M ${e.x} ${e.y} L ${x + h} ${e.y} ${f} ${x} ${e.y - $} L ${x} ${a.y + h} ${o} ${x - $} ${a.y} L ${a.x} ${a.y}`) : e.y < a.y ? i = `M ${e.x} ${e.y} L ${e.x} ${y - h} ${o} ${e.x + $} ${y} L ${a.x - h} ${y} ${f} ${a.x} ${y + $} L ${a.x} ${a.y}` : (g = (_e = m.get(r.branch)) == null ? void 0 : _e.index, i = `M ${e.x} ${e.y} L ${e.x} ${y + h} ${f} ${e.x + $} ${y} L ${a.x - h} ${y} ${o} ${a.x} ${y - $} L ${a.x} ${a.y}`);
|
|
590
590
|
} else
|
|
591
591
|
o = "A 20 20, 0, 0, 0,", f = "A 20 20, 0, 0, 1,", h = 20, $ = 20, u === "TB" ? (e.x < a.x && (s.type === p.MERGE && r.id !== s.parents[0] ? i = `M ${e.x} ${e.y} L ${e.x} ${a.y - h} ${o} ${e.x + $} ${a.y} L ${a.x} ${a.y}` : i = `M ${e.x} ${e.y} L ${a.x - h} ${e.y} ${f} ${a.x} ${e.y + $} L ${a.x} ${a.y}`), e.x > a.x && (o = "A 20 20, 0, 0, 0,", f = "A 20 20, 0, 0, 1,", h = 20, $ = 20, s.type === p.MERGE && r.id !== s.parents[0] ? i = `M ${e.x} ${e.y} L ${e.x} ${a.y - h} ${f} ${e.x - $} ${a.y} L ${a.x} ${a.y}` : i = `M ${e.x} ${e.y} L ${a.x + h} ${e.y} ${o} ${a.x} ${e.y + $} L ${a.x} ${a.y}`), e.x === a.x && (i = `M ${e.x} ${e.y} L ${a.x} ${a.y}`)) : u === "BT" ? (e.x < a.x && (s.type === p.MERGE && r.id !== s.parents[0] ? i = `M ${e.x} ${e.y} L ${e.x} ${a.y + h} ${f} ${e.x + $} ${a.y} L ${a.x} ${a.y}` : i = `M ${e.x} ${e.y} L ${a.x - h} ${e.y} ${o} ${a.x} ${e.y - $} L ${a.x} ${a.y}`), e.x > a.x && (o = "A 20 20, 0, 0, 0,", f = "A 20 20, 0, 0, 1,", h = 20, $ = 20, s.type === p.MERGE && r.id !== s.parents[0] ? i = `M ${e.x} ${e.y} L ${e.x} ${a.y + h} ${o} ${e.x - $} ${a.y} L ${a.x} ${a.y}` : i = `M ${e.x} ${e.y} L ${a.x - h} ${e.y} ${o} ${a.x} ${e.y - $} L ${a.x} ${a.y}`), e.x === a.x && (i = `M ${e.x} ${e.y} L ${a.x} ${a.y}`)) : (e.y < a.y && (s.type === p.MERGE && r.id !== s.parents[0] ? i = `M ${e.x} ${e.y} L ${a.x - h} ${e.y} ${f} ${a.x} ${e.y + $} L ${a.x} ${a.y}` : i = `M ${e.x} ${e.y} L ${e.x} ${a.y - h} ${o} ${e.x + $} ${a.y} L ${a.x} ${a.y}`), e.y > a.y && (s.type === p.MERGE && r.id !== s.parents[0] ? i = `M ${e.x} ${e.y} L ${a.x - h} ${e.y} ${o} ${a.x} ${e.y - $} L ${a.x} ${a.y}` : i = `M ${e.x} ${e.y} L ${e.x} ${a.y + h} ${f} ${e.x + $} ${a.y} L ${a.x} ${a.y}`), e.y === a.y && (i = `M ${e.x} ${e.y} L ${a.x} ${a.y}`));
|
|
592
592
|
if (i === void 0)
|
|
@@ -604,7 +604,7 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
604
604
|
const s = t.append("g");
|
|
605
605
|
r.forEach((n, e) => {
|
|
606
606
|
var _a;
|
|
607
|
-
const a = e % M, d = (_a =
|
|
607
|
+
const a = e % M, d = (_a = m.get(n.name)) == null ? void 0 : _a.pos;
|
|
608
608
|
if (d === void 0)
|
|
609
609
|
throw new Error(`Position not found for branch ${n.name}`);
|
|
610
610
|
const o = s.append("line");
|
|
@@ -618,9 +618,9 @@ var pr = /* @__PURE__ */ l(function() {
|
|
|
618
618
|
), u === "TB" ? ($.attr("x", d - y.width / 2 - 10).attr("y", 0), i.attr("transform", "translate(" + (d - y.width / 2 - 5) + ", 0)")) : u === "BT" ? ($.attr("x", d - y.width / 2 - 10).attr("y", B), i.attr("transform", "translate(" + (d - y.width / 2 - 5) + ", " + B + ")")) : $.attr("transform", "translate(-19, " + (d - y.height / 2) + ")");
|
|
619
619
|
});
|
|
620
620
|
}, "drawBranches"), Qr = /* @__PURE__ */ l(function(t, r, s, n, e) {
|
|
621
|
-
return
|
|
621
|
+
return m.set(t, { pos: r, index: s }), r += 50 + (e ? 40 : 0) + (u === "TB" || u === "BT" ? n.width / 2 : 0), r;
|
|
622
622
|
}, "setBranchPosition"), Zr = /* @__PURE__ */ l(function(t, r, s, n) {
|
|
623
|
-
if (Ar(),
|
|
623
|
+
if (Ar(), b.debug("in gitgraph renderer", t + `
|
|
624
624
|
`, "id:", r, s), !v)
|
|
625
625
|
throw new Error("GitGraph config not found");
|
|
626
626
|
const e = v.rotateCommitLabel ?? false, a = n.db;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as P, f as g, c as d, i as l, v as p, r as D } from "./_baseUniq-
|
|
3
|
-
import {
|
|
1
|
+
import { x as N, y as j, z as v, A as f, B as b, D as _ } from "./main-C7CuKeJY.js";
|
|
2
|
+
import { a as P, f as g, c as d, i as l, v as p, r as D } from "./_baseUniq-DVXzAxqW.js";
|
|
3
|
+
import { aa as E } from "./mermaid-C9S7GU2b.js";
|
|
4
4
|
var w = N(function(o) {
|
|
5
5
|
return P(j(o, 1, v, true));
|
|
6
6
|
}), F = "\0", a = "\0", O = "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { V as s } from "./VegaLite-
|
|
2
|
-
import { a as g } from "./VegaLite-
|
|
3
|
-
import { b as o } from "./main-
|
|
1
|
+
import { V as s } from "./VegaLite-CT_m2Gns.js";
|
|
2
|
+
import { a as g } from "./VegaLite-CT_m2Gns.js";
|
|
3
|
+
import { b as o } from "./main-C7CuKeJY.js";
|
|
4
4
|
function a() {
|
|
5
5
|
return a = Object.assign || function(e) {
|
|
6
6
|
for (var r = 1; r < arguments.length; r++) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as s, e as R,
|
|
1
|
+
import { d as s, e as R, f as Y, s as x, g as w, t as O, h as d, i as X, k, m as h, n as f, o as u, p as y, q as l, r as g, u as j, v as U, w as G, N as b, I as Z } from "./main-C7CuKeJY.js";
|
|
2
2
|
const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new R((Q, e) => {
|
|
3
3
|
for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
|
|
4
4
|
a = Q.peek(++n);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as me } from "./main-C7CuKeJY.js";
|
|
2
2
|
const d = (s) => s.flatMap(Oe), Oe = (s) => G(fe(s)).map(Le), Le = (s) => s.replace(/ +/g, " ").trim(), fe = (s) => ({
|
|
3
3
|
type: "mandatory_block",
|
|
4
4
|
items: q(s, 0)[0]
|
|
@@ -737,7 +737,7 @@ const de = (s) => s === n.RESERVED_DATA_TYPE || s === n.RESERVED_KEYWORD || s ==
|
|
|
737
737
|
// Keywords that also need to be listed as functions
|
|
738
738
|
"CAST",
|
|
739
739
|
"COALESCE",
|
|
740
|
-
|
|
740
|
+
"NULL",
|
|
741
741
|
"RANK",
|
|
742
742
|
"ROW_NUMBER"
|
|
743
743
|
], $e = [
|
|
@@ -785,7 +785,6 @@ const de = (s) => s === n.RESERVED_DATA_TYPE || s === n.RESERVED_KEYWORD || s ==
|
|
|
785
785
|
"INITIALLY",
|
|
786
786
|
"INTERSECT",
|
|
787
787
|
"INTO",
|
|
788
|
-
"IS",
|
|
789
788
|
"LATERAL",
|
|
790
789
|
"LEADING",
|
|
791
790
|
"LIMIT",
|
|
@@ -1065,10 +1064,8 @@ const de = (s) => s === n.RESERVED_DATA_TYPE || s === n.RESERVED_KEYWORD || s ==
|
|
|
1065
1064
|
"::",
|
|
1066
1065
|
// Comparison:
|
|
1067
1066
|
"==",
|
|
1068
|
-
// Lambda
|
|
1067
|
+
// Lambda:
|
|
1069
1068
|
"->",
|
|
1070
|
-
// JSON:
|
|
1071
|
-
"->>",
|
|
1072
1069
|
// key-value separator:
|
|
1073
1070
|
":",
|
|
1074
1071
|
// Named function params:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { d as C, e as i, s as
|
|
4
|
+
import { d as C, e as i, s as Z, g as _, t as P, h as w, k as L, o as B, p as M, r as v, v as E } from "./main-C7CuKeJY.js";
|
|
5
5
|
const f = 63, q = 64, j = 1, A = 2, U = 3, H = 4, W = 5, N = 6, u = 7, y = 65, I = 66, F = 8, K = 9, J = 10, OO = 11, eO = 12, Y = 13, aO = 19, rO = 20, QO = 29, PO = 33, tO = 34, oO = 47, nO = 0, $ = 1, b = 2, d = 3, g = 4;
|
|
6
6
|
const _s = class _s {
|
|
7
7
|
constructor(e, a, r) {
|
|
@@ -28,7 +28,7 @@ function z(O) {
|
|
|
28
28
|
function l(O) {
|
|
29
29
|
return O < 0 || z(O);
|
|
30
30
|
}
|
|
31
|
-
const sO = new
|
|
31
|
+
const sO = new _({
|
|
32
32
|
start: s.top,
|
|
33
33
|
reduce(O, e) {
|
|
34
34
|
return O.type == d && (e == rO || e == tO) ? O.parent : O;
|
|
@@ -235,7 +235,7 @@ const RO = new i((O, e) => {
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
O.acceptTokenTo(Y, r);
|
|
238
|
-
}), iO =
|
|
238
|
+
}), iO = Z({
|
|
239
239
|
DirectiveName: P.keyword,
|
|
240
240
|
DirectiveContent: P.attributeValue,
|
|
241
241
|
"DirectiveEnd DocEnd": P.meta,
|
|
@@ -271,7 +271,7 @@ const RO = new i((O, e) => {
|
|
|
271
271
|
tokenizers: [lO, fO, RO, SO, 0, 1],
|
|
272
272
|
topRules: { Stream: [0, 15] },
|
|
273
273
|
tokenPrec: 0
|
|
274
|
-
}), bO = /* @__PURE__ */
|
|
274
|
+
}), bO = /* @__PURE__ */ w.define({
|
|
275
275
|
name: "yaml",
|
|
276
276
|
parser: /* @__PURE__ */ kO.configure({
|
|
277
277
|
props: [
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-
|
|
2
|
-
import { p } from "./
|
|
1
|
+
import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-C9S7GU2b.js";
|
|
2
|
+
import { p } from "./radar-MK3ICKWK-BhkTFShi.js";
|
|
3
3
|
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
|
5
5
|
const a = await p("info", r);
|
|
6
6
|
s.debug(a);
|
|
7
7
|
}, "parse")
|
|
8
|
-
}, d = {
|
|
9
|
-
version: g.version + ""
|
|
10
|
-
}, c = /* @__PURE__ */ e(() => d.version, "getVersion"), m = {
|
|
8
|
+
}, d = { version: g.version }, c = /* @__PURE__ */ e(() => d.version, "getVersion"), m = {
|
|
11
9
|
getVersion: c
|
|
12
10
|
}, l = /* @__PURE__ */ e((r, a, n) => {
|
|
13
11
|
s.debug(`rendering info diagram
|