@versini/sassysaint 8.107.4 → 8.108.0
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/chunks/{AboutChangelog.DeRcKN5H.js → AboutChangelog.55tIwnGe.js} +2 -2
- package/dist/chunks/{AboutEntry.6mTHwkfb.js → AboutEntry.D1zAHjel.js} +7 -7
- package/dist/chunks/{App.DTjbiLAP.js → App.Br7HE-y0.js} +18 -18
- package/dist/chunks/{Bubble.ltolxxta.js → Bubble.Ic_8FEhH.js} +1 -1
- package/dist/chunks/{DeleteButtonIcon.P0LgJDjE.js → ButtonIconDelete.DRBd_G40.js} +3 -3
- package/dist/chunks/{Chart.BzOmOhOW.js → Chart.CwIVbBYb.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.lGE_8ao1.js → ChatBubbleAssistant.DHlLzqdc.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.DC661ePq.js → ChatBubbleUser.D7ksCr76.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.BkRFWpsA.js → ChatHistoryTable.DhUDW7QO.js} +4 -4
- package/dist/chunks/{HistoryEntry.uUjsDuT0.js → HistoryEntry.BxnMfiXN.js} +6 -6
- package/dist/chunks/{LoginEntry.BGZdTDwf.js → LoginEntry.XF9rPWdB.js} +4 -4
- package/dist/chunks/{LogoEntry.Bpddd0yA.js → LogoEntry.CnTI8jpv.js} +1 -1
- package/dist/chunks/{MemoriesEntry.BYQm9cuU.js → MemoriesEntry.BjNXrPW2.js} +5 -5
- package/dist/chunks/{ProfileEntry.BqcZXSeT.js → ProfileEntry.S6XO2uMT.js} +4 -4
- package/dist/chunks/{SettingsEntry.BdC5Vyof.js → SettingsEntry.C5jHUJzu.js} +5 -5
- package/dist/chunks/{UsageEntry._O8Q6TwS.js → UsageEntry.CQTLPweE.js} +5 -5
- package/dist/chunks/_basePickBy.Dj6LWOd3.js +151 -0
- package/dist/chunks/_baseUniq.DfiF6jap.js +614 -0
- package/dist/chunks/arc.CLrqhM1J.js +83 -0
- package/dist/chunks/architecture-U656AL7Q.CuF-GD1P.js +36 -0
- package/dist/chunks/architectureDiagram-VXUJARFQ.BGPIWweD.js +4653 -0
- package/dist/chunks/blockDiagram-VD42YOAC.cLfUaXxm.js +2254 -0
- package/dist/chunks/browser.B8WuOmYx.js +260 -0
- package/dist/chunks/c4Diagram-YG6GDRKO.Cc4f8G62.js +1579 -0
- package/dist/chunks/channel.D7pUQPat.js +5 -0
- package/dist/chunks/chunk-4BX2VUAB.C5gP6CzO.js +8 -0
- package/dist/chunks/chunk-55IACEB6.CMTOMhuf.js +8 -0
- package/dist/chunks/chunk-B4BG7PRW.CQz5CpXp.js +1375 -0
- package/dist/chunks/chunk-DI55MBZ5.C4SOgQau.js +1370 -0
- package/dist/chunks/chunk-FMBD7UC4.5tYrPDWZ.js +19 -0
- package/dist/chunks/chunk-QN33PNHL.P3o9PZBW.js +19 -0
- package/dist/chunks/chunk-QZHKN3VN.COvsjomn.js +15 -0
- package/dist/chunks/chunk-TZMSLE5B.C5QPHQlj.js +64 -0
- package/dist/chunks/classDiagram-2ON5EDUG.DrIfmpHo.js +16 -0
- package/dist/chunks/classDiagram-v2-WZHVMYZB.DrIfmpHo.js +16 -0
- package/dist/chunks/clone.47X4nGV4.js +8 -0
- package/dist/chunks/cose-bilkent-S5V4N54A.B1umrZne.js +2600 -0
- package/dist/chunks/cytoscape.esm.DmRZGnqW.js +18700 -0
- package/dist/chunks/dagre-6UL2VRFP.Ce4VSTky.js +444 -0
- package/dist/chunks/defaultLocale.CPJLP5jg.js +171 -0
- package/dist/chunks/diagram-PSM6KHXK.B1yvSG9p.js +531 -0
- package/dist/chunks/diagram-QEK2KX5R.CYDnnLB3.js +217 -0
- package/dist/chunks/diagram-S2PKOQOG.BI6w7TZJ.js +142 -0
- package/dist/chunks/erDiagram-Q2GNP2WA.D7mTQJ6P.js +841 -0
- package/dist/chunks/flowDiagram-NV44I4VS.Col8_E_0.js +1620 -0
- package/dist/chunks/ganttDiagram-JELNMOA3.GAUSoSKL.js +2647 -0
- package/dist/chunks/gitGraph-F6HP7TQM.3I_jmRrt.js +27 -0
- package/dist/chunks/gitGraphDiagram-NY62KEGX.DZQ_LVDe.js +699 -0
- package/dist/chunks/graph.BmJVbvPo.js +247 -0
- package/dist/chunks/{index.CaofbEIP.js → index.C0El17wt.js} +2 -2
- package/dist/chunks/{index.D2nN0rC6.js → index.CUn5zNJg.js} +1 -1
- package/dist/chunks/{index.C70LcKzU.js → index.CbEVdl_N.js} +1 -1
- package/dist/chunks/{index.CYcieK1H.js → index.CoZgV6rn.js} +1 -1
- package/dist/chunks/{index.DuxTgnco.js → index.DCqTKdor.js} +1 -1
- package/dist/chunks/index.DctDXsYU.js +67 -0
- package/dist/chunks/{index.BxbWxVtd.js → index.Df-tNwfZ.js} +1 -1
- package/dist/chunks/{index.BlviGqw0.js → index.DxGkXGdu.js} +3 -3
- package/dist/chunks/{index.DG-VhqKw.js → index.z2e7pMwp.js} +1 -1
- package/dist/chunks/info-NVLQJR56.D9ao7_Su.js +27 -0
- package/dist/chunks/infoDiagram-WHAUD3N6.DmFB-CXk.js +24 -0
- package/dist/chunks/init.DAGnb5BH.js +16 -0
- package/dist/chunks/journeyDiagram-XKPGCS4Q.C9FISQxf.js +834 -0
- package/dist/chunks/kanban-definition-3W4ZIXB7.ChmJnTyd.js +719 -0
- package/dist/chunks/{index.s8Izh8-Q.js → katex.D0sQThIv.js} +1638 -1943
- package/dist/chunks/layout.DtZQLIyC.js +1332 -0
- package/dist/chunks/linear.CIDfImUo.js +625 -0
- package/dist/chunks/mermaid-parser.core.CO83pegl.js +12724 -0
- package/dist/chunks/mindmap-definition-VGOIOE7T.B3dfWebK.js +759 -0
- package/dist/chunks/ordinal.EWT-qnu7.js +61 -0
- package/dist/chunks/packet-BFZMPI3H.q9qJMgm9.js +27 -0
- package/dist/chunks/pie-7BOR55EZ.BTnKDmrp.js +32 -0
- package/dist/chunks/pieDiagram-ADFJNKIX.B23eDSnQ.js +161 -0
- package/dist/chunks/quadrantDiagram-AYHSOK5B.B3ZIlLhO.js +1022 -0
- package/dist/chunks/radar-NHE76QYJ.BeKykujs.js +27 -0
- package/dist/chunks/rehype-mermaid.DkS2NcIa.js +14283 -0
- package/dist/chunks/requirementDiagram-UZGBJVZJ.0vOl9IL2.js +850 -0
- package/dist/chunks/sankeyDiagram-TZEHDZUN.DxwTK65F.js +810 -0
- package/dist/chunks/sequenceDiagram-WL72ISMW.BmOg83Gx.js +2511 -0
- package/dist/chunks/stateDiagram-FKZM4ZOC.DBiU28Wu.js +263 -0
- package/dist/chunks/stateDiagram-v2-4FDKWEC3.B6t8_4cH.js +16 -0
- package/dist/chunks/timeline-definition-IT6M3QCI.DpWxwytE.js +795 -0
- package/dist/chunks/treemap-KMMF4GRG.KqgFrxbV.js +81 -0
- package/dist/chunks/{useMarkdown.DjEZz9lH.js → useMarkdown.CxuK_DLo.js} +1951 -1936
- package/dist/chunks/xychartDiagram-PRI3JC2R.CBaIBQ89.js +1340 -0
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +3 -3
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EmptyFileSystem as m, inject as d, MermaidGeneratedSharedModule as p, createDefaultSharedCoreModule as T, __name as a, TreemapGeneratedModule as f, createDefaultCoreModule as u, AbstractMermaidValueConverter as v, AbstractMermaidTokenBuilder as g } from "./mermaid-parser.core.CO83pegl.js";
|
|
2
|
+
var n, h = (n = class extends g {
|
|
3
|
+
constructor() {
|
|
4
|
+
super(["treemap"]);
|
|
5
|
+
}
|
|
6
|
+
}, a(n, "TreemapTokenBuilder"), n), C = /classDef\s+([A-Z_a-z]\w+)(?:\s+([^\n\r;]*))?;?/, i, V = (i = class extends v {
|
|
7
|
+
runCustomConverter(r, e, o) {
|
|
8
|
+
if (r.name === "NUMBER2")
|
|
9
|
+
return parseFloat(e.replace(/,/g, ""));
|
|
10
|
+
if (r.name === "SEPARATOR")
|
|
11
|
+
return e.substring(1, e.length - 1);
|
|
12
|
+
if (r.name === "STRING2")
|
|
13
|
+
return e.substring(1, e.length - 1);
|
|
14
|
+
if (r.name === "INDENTATION")
|
|
15
|
+
return e.length;
|
|
16
|
+
if (r.name === "ClassDef") {
|
|
17
|
+
if (typeof e != "string")
|
|
18
|
+
return e;
|
|
19
|
+
const t = C.exec(e);
|
|
20
|
+
if (t)
|
|
21
|
+
return {
|
|
22
|
+
$type: "ClassDefStatement",
|
|
23
|
+
className: t[1],
|
|
24
|
+
styleText: t[2] || void 0
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}, a(i, "TreemapValueConverter"), i);
|
|
29
|
+
function c(l) {
|
|
30
|
+
const r = l.validation.TreemapValidator, e = l.validation.ValidationRegistry;
|
|
31
|
+
if (e) {
|
|
32
|
+
const o = {
|
|
33
|
+
Treemap: r.checkSingleRoot.bind(r)
|
|
34
|
+
// Remove unused validation for TreemapRow
|
|
35
|
+
};
|
|
36
|
+
e.register(o, r);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
a(c, "registerValidationChecks");
|
|
40
|
+
var s, M = (s = class {
|
|
41
|
+
/**
|
|
42
|
+
* Validates that a treemap has only one root node.
|
|
43
|
+
* A root node is defined as a node that has no indentation.
|
|
44
|
+
*/
|
|
45
|
+
checkSingleRoot(r, e) {
|
|
46
|
+
let o;
|
|
47
|
+
for (const t of r.TreemapRows)
|
|
48
|
+
t.item && (o === void 0 && // Check if this is a root node (no indentation)
|
|
49
|
+
t.indent === void 0 ? o = 0 : t.indent === void 0 ? e("error", "Multiple root nodes are not allowed in a treemap.", {
|
|
50
|
+
node: t,
|
|
51
|
+
property: "item"
|
|
52
|
+
}) : o !== void 0 && o >= parseInt(t.indent, 10) && e("error", "Multiple root nodes are not allowed in a treemap.", {
|
|
53
|
+
node: t,
|
|
54
|
+
property: "item"
|
|
55
|
+
}));
|
|
56
|
+
}
|
|
57
|
+
}, a(s, "TreemapValidator"), s), S = {
|
|
58
|
+
parser: {
|
|
59
|
+
TokenBuilder: /* @__PURE__ */ a(() => new h(), "TokenBuilder"),
|
|
60
|
+
ValueConverter: /* @__PURE__ */ a(() => new V(), "ValueConverter")
|
|
61
|
+
},
|
|
62
|
+
validation: {
|
|
63
|
+
TreemapValidator: /* @__PURE__ */ a(() => new M(), "TreemapValidator")
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
function k(l = m) {
|
|
67
|
+
const r = d(
|
|
68
|
+
T(l),
|
|
69
|
+
p
|
|
70
|
+
), e = d(
|
|
71
|
+
u({ shared: r }),
|
|
72
|
+
f,
|
|
73
|
+
S
|
|
74
|
+
);
|
|
75
|
+
return r.ServiceRegistry.register(e), c(e), { shared: r, Treemap: e };
|
|
76
|
+
}
|
|
77
|
+
a(k, "createTreemapServices");
|
|
78
|
+
export {
|
|
79
|
+
S as TreemapModule,
|
|
80
|
+
k as createTreemapServices
|
|
81
|
+
};
|