@versini/sassysaint 8.107.4 → 8.108.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/chunks/{AboutChangelog.DeRcKN5H.js → AboutChangelog.BQtbpOat.js} +2 -2
- package/dist/chunks/{AboutEntry.6mTHwkfb.js → AboutEntry.Bb0L9eCQ.js} +7 -7
- package/dist/chunks/{App.DTjbiLAP.js → App.CSBqbQnm.js} +1147 -1146
- package/dist/chunks/{Bubble.ltolxxta.js → Bubble.Jl_vP6Bg.js} +1 -1
- package/dist/chunks/{DeleteButtonIcon.P0LgJDjE.js → ButtonIconDelete.C3bf-YVf.js} +3 -3
- package/dist/chunks/{Chart.BzOmOhOW.js → Chart.KnjXKeEm.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.lGE_8ao1.js → ChatBubbleAssistant.8hHak3Xb.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.DC661ePq.js → ChatBubbleUser.C3QnvRpy.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.BkRFWpsA.js → ChatHistoryTable.CIIrZME7.js} +4 -4
- package/dist/chunks/{HistoryEntry.uUjsDuT0.js → HistoryEntry.B0U0RQ7-.js} +6 -6
- package/dist/chunks/{LoginEntry.BGZdTDwf.js → LoginEntry.Cf03Pbyq.js} +4 -4
- package/dist/chunks/{LogoEntry.Bpddd0yA.js → LogoEntry.C_oLwnbv.js} +3 -3
- package/dist/chunks/{MemoriesEntry.BYQm9cuU.js → MemoriesEntry.CeMfI8F3.js} +5 -5
- package/dist/chunks/{ProfileEntry.BqcZXSeT.js → ProfileEntry.BasVTLyr.js} +4 -4
- package/dist/chunks/{SettingsEntry.BdC5Vyof.js → SettingsEntry.DqKtJfKG.js} +5 -5
- package/dist/chunks/{UsageEntry._O8Q6TwS.js → UsageEntry.phb8YqH1.js} +5 -5
- package/dist/chunks/_basePickBy.DiyBcH_b.js +151 -0
- package/dist/chunks/_baseUniq.B9L9wOT1.js +614 -0
- package/dist/chunks/arc.C1rfS5dQ.js +83 -0
- package/dist/chunks/architecture-U656AL7Q.Bw4J2QgD.js +36 -0
- package/dist/chunks/architectureDiagram-VXUJARFQ.DuwD3xDO.js +4653 -0
- package/dist/chunks/blockDiagram-VD42YOAC.BeIrwe07.js +2254 -0
- package/dist/chunks/browser.BQGdandl.js +260 -0
- package/dist/chunks/c4Diagram-YG6GDRKO.YzJEqJgk.js +1579 -0
- package/dist/chunks/channel.BPPTH6mh.js +5 -0
- package/dist/chunks/chunk-4BX2VUAB.BCIoHYCy.js +8 -0
- package/dist/chunks/chunk-55IACEB6.CFEkh5zE.js +8 -0
- package/dist/chunks/chunk-B4BG7PRW.CwfV87jH.js +1375 -0
- package/dist/chunks/chunk-DI55MBZ5.CcFvwYqB.js +1370 -0
- package/dist/chunks/chunk-FMBD7UC4.C9__m3G-.js +19 -0
- package/dist/chunks/chunk-QN33PNHL.EonhZUcV.js +19 -0
- package/dist/chunks/chunk-QZHKN3VN.CKR_DhAb.js +15 -0
- package/dist/chunks/chunk-TZMSLE5B.eMD178H9.js +64 -0
- package/dist/chunks/classDiagram-2ON5EDUG.DCsDc7LM.js +16 -0
- package/dist/chunks/classDiagram-v2-WZHVMYZB.DCsDc7LM.js +16 -0
- package/dist/chunks/clone.DG_v08Gm.js +8 -0
- package/dist/chunks/cose-bilkent-S5V4N54A.Bw5tPVeS.js +2600 -0
- package/dist/chunks/cytoscape.esm.DmRZGnqW.js +18700 -0
- package/dist/chunks/dagre-6UL2VRFP.CTW14kZK.js +444 -0
- package/dist/chunks/defaultLocale.CPJLP5jg.js +171 -0
- package/dist/chunks/diagram-PSM6KHXK.DDyW__Et.js +531 -0
- package/dist/chunks/diagram-QEK2KX5R.C8Y6Nyjq.js +217 -0
- package/dist/chunks/diagram-S2PKOQOG.DnnZ1m7x.js +142 -0
- package/dist/chunks/erDiagram-Q2GNP2WA.BavKd766.js +841 -0
- package/dist/chunks/flowDiagram-NV44I4VS.roMN4lsc.js +1620 -0
- package/dist/chunks/ganttDiagram-JELNMOA3.B_SkSqyi.js +2647 -0
- package/dist/chunks/gitGraph-F6HP7TQM.C7PwqG55.js +27 -0
- package/dist/chunks/gitGraphDiagram-NY62KEGX.BHfSeSWk.js +699 -0
- package/dist/chunks/graph.CsxOkYbN.js +247 -0
- package/dist/chunks/{index.D2nN0rC6.js → index.BHKlxxP5.js} +1 -1
- package/dist/chunks/{index.CYcieK1H.js → index.BUYdarBy.js} +1 -1
- package/dist/chunks/{index.BxbWxVtd.js → index.BetC5DSu.js} +1 -1
- package/dist/chunks/{index.DuxTgnco.js → index.BmLHPbgB.js} +1 -1
- package/dist/chunks/{index.C70LcKzU.js → index.Bq1fyGUB.js} +1 -1
- package/dist/chunks/{index.CaofbEIP.js → index.DQPv0lQj.js} +2 -3
- package/dist/chunks/{index.BlviGqw0.js → index.DbyaywZN.js} +3 -3
- package/dist/chunks/{index.DG-VhqKw.js → index.DjuVXA0R.js} +1 -1
- package/dist/chunks/index.DzRoQenq.js +67 -0
- package/dist/chunks/info-NVLQJR56.DZPZ5T1V.js +27 -0
- package/dist/chunks/infoDiagram-WHAUD3N6.Bi7I8DQ6.js +24 -0
- package/dist/chunks/init.DAGnb5BH.js +16 -0
- package/dist/chunks/journeyDiagram-XKPGCS4Q.D8VPEfAI.js +834 -0
- package/dist/chunks/kanban-definition-3W4ZIXB7.BWUqPfZ4.js +719 -0
- package/dist/chunks/{index.s8Izh8-Q.js → katex.D0sQThIv.js} +1638 -1943
- package/dist/chunks/layout.BVs5Fo34.js +1332 -0
- package/dist/chunks/linear.CIDfImUo.js +625 -0
- package/dist/chunks/mermaid-parser.core.ORd6OSMH.js +12724 -0
- package/dist/chunks/mindmap-definition-VGOIOE7T.B8li-u54.js +784 -0
- package/dist/chunks/ordinal.EWT-qnu7.js +61 -0
- package/dist/chunks/packet-BFZMPI3H.ucR6ljZQ.js +27 -0
- package/dist/chunks/pie-7BOR55EZ.CUpVQfSo.js +32 -0
- package/dist/chunks/pieDiagram-ADFJNKIX.GfyALym8.js +161 -0
- package/dist/chunks/quadrantDiagram-AYHSOK5B.CsUp44jt.js +1022 -0
- package/dist/chunks/radar-NHE76QYJ.Es4sfwW2.js +27 -0
- package/dist/chunks/rehype-mermaid.QzUnaHa9.js +14283 -0
- package/dist/chunks/requirementDiagram-UZGBJVZJ.DQTWxv7j.js +850 -0
- package/dist/chunks/sankeyDiagram-TZEHDZUN.DJdcOMBP.js +810 -0
- package/dist/chunks/sequenceDiagram-WL72ISMW.CIFR_pCj.js +2511 -0
- package/dist/chunks/stateDiagram-FKZM4ZOC.DgM5pVKO.js +263 -0
- package/dist/chunks/stateDiagram-v2-4FDKWEC3.BUygW1pY.js +16 -0
- package/dist/chunks/timeline-definition-IT6M3QCI.Ca0YkAdx.js +795 -0
- package/dist/chunks/treemap-KMMF4GRG.Xsds0Pr-.js +81 -0
- package/dist/chunks/{useMarkdown.DjEZz9lH.js → useMarkdown.DgNUxPe8.js} +1951 -1936
- package/dist/chunks/xychartDiagram-PRI3JC2R.DyQEBwDk.js +1340 -0
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +5 -5
|
@@ -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.ORd6OSMH.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
|
+
};
|