@nxgt/material 2.2.0 → 2.3.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.
Files changed (213) hide show
  1. package/README.md +7 -2
  2. package/dist/{_Uint8Array-BlYETJ93.js → _Uint8Array-BDK6FjpM.js} +20 -20
  3. package/dist/{abnfDiagram-O67JEVCF-UBHbDvRt.js → abnfDiagram-O67JEVCF-C7NxOWqd.js} +8 -8
  4. package/dist/architecture-7GRP2DOG-CMg7-eYj.js +3 -0
  5. package/dist/{architectureDiagram-NJMV4G6O-YUaZEFrZ.js → architectureDiagram-NJMV4G6O-BIvwyzEh.js} +12 -12
  6. package/dist/{blockDiagram-BEXU5L5S-LYb2ZWFy.js → blockDiagram-BEXU5L5S-C8q-lXgt.js} +18 -18
  7. package/dist/{c4Diagram-YGBWAQC7-C-2N38iN.js → c4Diagram-YGBWAQC7-WgqlRIL5.js} +10 -10
  8. package/dist/channel-Ba8pEAWx.js +5 -0
  9. package/dist/{chunk-2Q5K7J3B-kzxEEeTu.js → chunk-2Q5K7J3B-C1pX24ft.js} +2 -2
  10. package/dist/{chunk-3FUC2YCW-uD4dp-_M.js → chunk-3FUC2YCW-BGpNbruY.js} +11 -11
  11. package/dist/{chunk-5DYCD2WN-B2Jnu3zk.js → chunk-5DYCD2WN-Bqi3iL5i.js} +5 -5
  12. package/dist/{chunk-5VM5RSS4-Cr17nBXp.js → chunk-5VM5RSS4-BFskf6Qk.js} +2 -2
  13. package/dist/{chunk-6AEJRKK7-C9kihZu8.js → chunk-6AEJRKK7-DDXoGWDs.js} +4 -4
  14. package/dist/{chunk-742MDFTN-C8SK_MEU.js → chunk-742MDFTN-nG_ROTnT.js} +14 -14
  15. package/dist/{chunk-7INBJB4K-CyUOVm3_.js → chunk-7INBJB4K-Dg64CbhT.js} +10 -10
  16. package/dist/{chunk-7M6MHVWA-stRISv0F.js → chunk-7M6MHVWA-_-i4Sb1c.js} +14 -14
  17. package/dist/{chunk-7PRAP22T-DSh07ASj.js → chunk-7PRAP22T-DIiYRAce.js} +3 -3
  18. package/dist/{chunk-DUW6YSOI-BdOla2G8.js → chunk-DUW6YSOI-9R-v-IIp.js} +2 -2
  19. package/dist/{chunk-FOHPRMQF-Crq0JMf2.js → chunk-FOHPRMQF-DBc3Omt0.js} +1 -1
  20. package/dist/{chunk-GNY47TPC-CNRH-hmN.js → chunk-GNY47TPC-BJperC1X.js} +14 -14
  21. package/dist/{chunk-GTNCS2PH-Dd-9mUKz.js → chunk-GTNCS2PH-CzDYTYNy.js} +5 -5
  22. package/dist/{chunk-GWA4HPMP-LeZ8CTY7.js → chunk-GWA4HPMP-CmsxMX3A.js} +5 -5
  23. package/dist/{chunk-J5ZVWO5B-CYzz6Pq8.js → chunk-J5ZVWO5B-DmRRmhon.js} +2 -2
  24. package/dist/{chunk-JWPE2WC7-Ccb0QaC8.js → chunk-JWPE2WC7-BGVSGRTC.js} +2 -2
  25. package/dist/{chunk-LNGE3PJU-CiGrDO_F.js → chunk-LNGE3PJU-DJjGTS7O.js} +2 -2
  26. package/dist/{chunk-MBY4JIJT-efJLM0ZL.js → chunk-MBY4JIJT-IA2XBafa.js} +8 -8
  27. package/dist/{chunk-NETBCI7D-Dh3LtOKr.js → chunk-NETBCI7D-D0kbMnm0.js} +3 -3
  28. package/dist/{chunk-O7XYJQB3-CocGKgmL.js → chunk-O7XYJQB3-C87zK8E5.js} +5 -5
  29. package/dist/{chunk-UA2S7LBM-C81eiQ4_.js → chunk-UA2S7LBM-B0LGFGu3.js} +10 -10
  30. package/dist/{chunk-WEXAMYUT-Dt2jrFYj.js → chunk-WEXAMYUT-C-QP0DFq.js} +4 -4
  31. package/dist/{chunk-XXDRQBXY-mQqOBHO_.js → chunk-XXDRQBXY-Bq4sFnO2.js} +3 -3
  32. package/dist/{chunk-Y2CYZVJY-i11wjrBe.js → chunk-Y2CYZVJY-BAad7w_K.js} +1 -1
  33. package/dist/{chunk-Z7XXMR3K-D00WQ1MY.js → chunk-Z7XXMR3K-CJmPL4k9.js} +12 -12
  34. package/dist/{chunk-ZIGJFQKS-Dqo-x9kg.js → chunk-ZIGJFQKS-HDJ6e6OJ.js} +29 -29
  35. package/dist/{classDiagram-v2-NBCMYWYE-C4ucYlr1.js → classDiagram-v2-NBCMYWYE-DRoCWiaP.js} +18 -18
  36. package/dist/{client-only.utils-ojMUdy5B.js → client-only.utils-qMX_CMiw.js} +25 -25
  37. package/dist/{components-DqMrnRRo.js → components-CRrswCsD.js} +33211 -26822
  38. package/dist/components.js +6 -7
  39. package/dist/{cose-bilkent-JH36ORCC-BgR2hiLh.js → cose-bilkent-JH36ORCC-11-T1rfk.js} +5 -5
  40. package/dist/cynefin-OW5HDTMX-BGe4AjUw.js +3 -0
  41. package/dist/{cynefinDiagram-VND7K2PF-wsthSZGu.js → cynefinDiagram-VND7K2PF-1kHi2rGa.js} +8 -8
  42. package/dist/{cytoscape.esm-_jXi1N4y.js → cytoscape.esm-DXVRLXF3.js} +1 -1
  43. package/dist/{dagre-6A5THRUB-D9hh4vCU.js → dagre-6A5THRUB-B11jdkPL.js} +104 -104
  44. package/dist/{diagram-22UHCM2B-Bu26TJjA.js → diagram-22UHCM2B-CAVrn_uY.js} +20 -20
  45. package/dist/diagram-3UASUU5V-uO9-gtWR.js +525 -0
  46. package/dist/{diagram-ATOU4E4O-DNtxHPVW.js → diagram-ATOU4E4O-Clju_0RY.js} +8 -8
  47. package/dist/{diagram-CDSNMT55-BrwCxgMX.js → diagram-CDSNMT55-w7kkJ6MU.js} +10 -10
  48. package/dist/{diagram-MLGK6HIB-Bk26pSvC.js → diagram-MLGK6HIB-mUOtRVmm.js} +8 -8
  49. package/dist/{diagram-MPIPVDR6-Bl3F8b-U.js → diagram-MPIPVDR6-DEUw58dq.js} +8 -8
  50. package/dist/{dist-C-0DUGrt.js → dist-CeHNxLJG.js} +30 -30
  51. package/dist/{dist-CZn89tDX.js → dist-gYpAi-su.js} +2 -2
  52. package/dist/dnd.js +1 -1
  53. package/dist/{ebnfDiagram-ZINNZB2B-C7vCu85A.js → ebnfDiagram-ZINNZB2B-BYfatie5.js} +8 -8
  54. package/dist/{elk-276RUBZZ-ChJLevem.js → elk-276RUBZZ-BALenDhN.js} +16 -16
  55. package/dist/{erDiagram-OPXOYQCR-DLzDCh2a.js → erDiagram-OPXOYQCR-FtFHGu-P.js} +17 -17
  56. package/dist/eventmodeling-NTZA5JFV-38h1xeNf.js +3 -0
  57. package/dist/{field-blur-CtjbtCDw.js → field-blur-DkydMwaN.js} +614 -643
  58. package/dist/flowDiagram-KWPJA3E3-DZwUgKQu.js +17 -0
  59. package/dist/{ganttDiagram-FUAMR5RP-35sd5PoK.js → ganttDiagram-FUAMR5RP-CmMpH0CG.js} +436 -1117
  60. package/dist/gitGraph-4MIJSDKK-C-5NH3Jx.js +3 -0
  61. package/dist/{gitGraphDiagram-X574FWY7-Z7zhlcB8.js → gitGraphDiagram-X574FWY7-DcGaPSwy.js} +8 -8
  62. package/dist/{graphlib-DlxAzBTD.js → graphlib-DovxbouT.js} +43 -43
  63. package/dist/hooks.js +15 -15
  64. package/dist/i18n.js +4 -4
  65. package/dist/{icon-button-38As1vrs.js → icon-button-Dl9PDYCE.js} +15 -15
  66. package/dist/info-A6RAGUB7-DTwpNebQ.js +3 -0
  67. package/dist/{infoDiagram-VRGFBTTK-BwoHwPPX.js → infoDiagram-VRGFBTTK-Cvj167dl.js} +6 -6
  68. package/dist/{init-Buj1GKRa.js → init-B-aM8wRX.js} +1 -1
  69. package/dist/{isArrayLikeObject-DsRXN32g.js → isArrayLikeObject-D0u9Q9Yg.js} +11 -11
  70. package/dist/{ishikawaDiagram-OU5B5YK6-C-aWtSta.js → ishikawaDiagram-OU5B5YK6-ChBwjCfr.js} +7 -7
  71. package/dist/{journeyDiagram-ZHPQQLJL-vXvTzJwE.js → journeyDiagram-ZHPQQLJL-DVxTOFQu.js} +7 -7
  72. package/dist/{kanban-definition-PNTS6WVX-Co0CvKcV.js → kanban-definition-PNTS6WVX-BRoa-Yp5.js} +14 -14
  73. package/dist/{katex-BMQ6LGsM.js → katex-BLTzjTha.js} +1 -1
  74. package/dist/lib/components/ui/media/pdf-viewer/index.d.ts +3 -3
  75. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-list.d.ts +1 -1
  76. package/dist/lib/components/ui/media/pdf-viewer/pdf-reader-body.d.ts +2 -2
  77. package/dist/lib/components/ui/media/pdf-viewer/pdf-reader.reducer.d.ts +1 -1
  78. package/dist/lib/components/ui/media/pdf-viewer/pdf-sidebar.d.ts +1 -1
  79. package/dist/lib/components/ui/media/pdf-viewer/pdf-thumbnail-sidebar.d.ts +1 -1
  80. package/dist/lib/components/ui/media/pdf-viewer/types.d.ts +3 -3
  81. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-document-search.d.ts +1 -1
  82. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-file-actions.d.ts +1 -1
  83. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-area.d.ts +1 -1
  84. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-reader.d.ts +1 -1
  85. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-hits.d.ts +1 -2
  86. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-source.d.ts +1 -1
  87. package/dist/lib/hooks/use-formatters.d.ts +1 -1
  88. package/dist/lib/lib/index.d.ts +1 -1
  89. package/dist/lib/print/components/print-data-table/print-data-table.d.ts +1 -1
  90. package/dist/lib/print/components/print-data-table/print-key-value.d.ts +2 -2
  91. package/dist/lib/print/components/print-data-table/print-metric.d.ts +2 -2
  92. package/dist/lib/print/components/print-document/print-document.d.ts +1 -1
  93. package/dist/lib/print/components/print-document/print-render-context.d.ts +1 -1
  94. package/dist/lib/print/components/print-header.d.ts +1 -1
  95. package/dist/lib/print/index.d.ts +4 -4
  96. package/dist/lib/print/output/index.d.ts +2 -2
  97. package/dist/lib/print/output/pdf-response.d.ts +1 -1
  98. package/dist/lib/print/output/types.d.ts +3 -3
  99. package/dist/lib/print/output/use-pdf-file.d.ts +1 -1
  100. package/dist/lib/vite/index.d.ts +5 -64
  101. package/dist/{lib-uF8iIfvP.js → lib-B_cBmfz5.js} +70 -69
  102. package/dist/lib.js +5 -6
  103. package/dist/main.js +17 -19
  104. package/dist/map.js +4 -4
  105. package/dist/{math-C5EhTgJw.js → math-D0ky-xWd.js} +1 -1
  106. package/dist/{merge-Z2oE4ahJ.js → merge-DQLOWMVN.js} +24 -24
  107. package/dist/{mermaid-parser.core-Cz-MfB4Z.js → mermaid-parser.core-BXD_TD1T.js} +32 -32
  108. package/dist/{mermaid.core-6Yzht5pQ.js → mermaid.core-CQ6lUhgC.js} +59 -59
  109. package/dist/{mindmap-definition-NLK3R4M7-AxpMaPtm.js → mindmap-definition-NLK3R4M7-DyB5NgHM.js} +18 -18
  110. package/dist/{number.utils-CRFiOD5c.js → number.utils-BiBN2hWJ.js} +48 -48
  111. package/dist/{ordinal-DuP05kVQ.js → ordinal-DwxdXP1t.js} +3 -3
  112. package/dist/packet-AYTQ26CC-Cc2sGaDY.js +3 -0
  113. package/dist/{path-Cjou0lUh.js → path-Cxq8zobN.js} +3 -3
  114. package/dist/{pdf.worker.min-DRpqlnXj.js → pdf.worker.min-ByGJNiUH.js} +1 -1
  115. package/dist/{pegDiagram-GJSIUBJH-DjilqSgv.js → pegDiagram-GJSIUBJH-Dcm3LCQX.js} +8 -8
  116. package/dist/pie-WAS4IAKB-Qm7ZL20Y.js +3 -0
  117. package/dist/{pieDiagram-5QR66LMP-H8rVCHkC.js → pieDiagram-5QR66LMP-DCdDWF2H.js} +16 -16
  118. package/dist/print.js +164 -1113
  119. package/dist/{quadrantDiagram-O4NWA36T-CEDIjm-K.js → quadrantDiagram-O4NWA36T-BMfcGUfy.js} +5 -5
  120. package/dist/radar-RG4KPBEZ-TQ0zaqCR.js +3 -0
  121. package/dist/railroad-74A4TZTK-bk-BYNub.js +3 -0
  122. package/dist/railroad-abnf-HS5TGJTU-Bdw25bd-.js +3 -0
  123. package/dist/railroad-ebnf-LZEXJU2U-DiFjNUyt.js +3 -0
  124. package/dist/railroad-peg-WCYAUIDC-xf3JLr_Y.js +3 -0
  125. package/dist/{railroadDiagram-XR7U4H2S-BxR9jg9Y.js → railroadDiagram-XR7U4H2S-CzOJlTUA.js} +8 -8
  126. package/dist/{requirementDiagram-PLB6GJNP-DAuKYcHc.js → requirementDiagram-PLB6GJNP-Bg-uQlZj.js} +16 -16
  127. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-Cvc79rxE.js} +1 -1
  128. package/dist/{sankeyDiagram-IPEJSGJF-C3JJqzLE.js → sankeyDiagram-IPEJSGJF-E-o_7bq2.js} +18 -18
  129. package/dist/{sequenceDiagram-PO4LG4MO-Cs8x9lRY.js → sequenceDiagram-PO4LG4MO-DMLeIQ03.js} +9 -9
  130. package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-C_032szM.js} +2 -2
  131. package/dist/{sortable-provider-DalccwHj.js → sortable-provider-NE74zkmo.js} +7 -7
  132. package/dist/{src-BIbdeDuO.js → src-CJ8DNrI1.js} +82 -82
  133. package/dist/{stateDiagram-v2-GCMORJYK-PpP0APmW.js → stateDiagram-v2-GCMORJYK-BDB4K1Fw.js} +17 -17
  134. package/dist/{step-B6KjpKgN.js → step-Dt43c9X4.js} +17 -17
  135. package/dist/{string-B-ZWXCs2.js → string-BqyOfyFV.js} +8 -8
  136. package/dist/{swimlanes-2SLR337P-BmqILJTV.js → swimlanes-2SLR337P-C406S8ui.js} +14 -14
  137. package/dist/swimlanesDiagram-TC7HE7FX-BstKZ--K.js +28 -0
  138. package/dist/{timeline-definition-EJHVYXUP-CEOIzkcq.js → timeline-definition-EJHVYXUP-BmhxT0qo.js} +8 -8
  139. package/dist/{translate-material-BO32ZDCi.js → translate-material-CRxs5aS3.js} +1 -1
  140. package/dist/{translator-CiPgm2s3.js → translator-BfyVF7Ej.js} +88 -88
  141. package/dist/treeView-Q6P3EWNA-Dyk8HSag.js +3 -0
  142. package/dist/treemap-WGGIJYW6-CHrhBv7m.js +3 -0
  143. package/dist/{use-heading-spy-DSs5Coe-.js → use-heading-spy-BiLosksJ.js} +2 -2
  144. package/dist/{use-material-translation-RhoPY_RC.js → use-material-translation-D3HwtYDm.js} +1 -1
  145. package/dist/{usecaseDiagram-POWQR4AR-CMvboR6A.js → usecaseDiagram-POWQR4AR-cHGV1E_T.js} +403 -403
  146. package/dist/{utils-Brj-Qb2N.js → utils-UBn-46YY.js} +2 -2
  147. package/dist/{vennDiagram-UO4OBE2U-xN_G4DeI.js → vennDiagram-UO4OBE2U-Aql8mhcy.js} +8 -8
  148. package/dist/vite.js +1 -17
  149. package/dist/wardley-WFR3VGLG-DnLHjx6k.js +3 -0
  150. package/dist/{wardleyDiagram-VNRHLVJA-C0B-kQ2b.js → wardleyDiagram-VNRHLVJA-tknlhG_t.js} +8 -8
  151. package/dist/{xychartDiagram-PMCCYNJV-Crmi6_s-.js → xychartDiagram-PMCCYNJV-ixeD_kO0.js} +24 -24
  152. package/docs/components/rich-widgets.md +2 -0
  153. package/docs/getting-started.md +20 -0
  154. package/docs/guides/printing.md +6 -2
  155. package/docs/guides/ssr.md +8 -2
  156. package/docs/troubleshooting.md +57 -2
  157. package/package.json +30 -33
  158. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +0 -3
  159. package/dist/channel-CUIVvEUM.js +0 -5
  160. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +0 -3
  161. package/dist/diagram-3UASUU5V-BEydDExL.js +0 -724
  162. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +0 -3
  163. package/dist/flowDiagram-KWPJA3E3-uiZryqlC.js +0 -17
  164. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +0 -3
  165. package/dist/info-A6RAGUB7-BvtuPd9C.js +0 -3
  166. package/dist/lib/components/ui/fields/currency-field/currency-digits.d.ts +0 -7
  167. package/dist/lib/components/ui/forms/field-blur-layers.d.ts +0 -34
  168. package/dist/lib/components/ui/media/pdf-viewer/pdf-document-search.d.ts +0 -44
  169. package/dist/lib/components/ui/media/pdf-viewer/pdf-escape.d.ts +0 -6
  170. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-geometry.d.ts +0 -57
  171. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-sizes.d.ts +0 -37
  172. package/dist/lib/components/ui/media/pdf-viewer/pdf-scroll-spy.d.ts +0 -42
  173. package/dist/lib/components/ui/media/pdf-viewer/pdf-text-search.d.ts +0 -25
  174. package/dist/lib/lib/pdf-download.d.ts +0 -35
  175. package/dist/lib/lib/pdf-file-name.d.ts +0 -9
  176. package/dist/lib/lib/pdf-source.d.ts +0 -57
  177. package/dist/lib/lib/print-format.utils.d.ts +0 -59
  178. package/dist/lib/lib/print-fraction-digits.d.ts +0 -12
  179. package/dist/lib/lib/print-table.utils.d.ts +0 -60
  180. package/dist/lib/lib/print-value.utils.d.ts +0 -40
  181. package/dist/lib/pdf-core/file-loader.d.ts +0 -18
  182. package/dist/lib/pdf-core/http.d.ts +0 -22
  183. package/dist/lib/pdf-core/index.d.ts +0 -11
  184. package/dist/lib/pdf-core/model/builders.d.ts +0 -54
  185. package/dist/lib/pdf-core/model/data-table.d.ts +0 -24
  186. package/dist/lib/pdf-core/model/index.d.ts +0 -4
  187. package/dist/lib/pdf-core/model/nodes.d.ts +0 -133
  188. package/dist/lib/pdf-core/model/theme.d.ts +0 -16
  189. package/dist/lib/pdf-core/model/types.d.ts +0 -108
  190. package/dist/lib/pdf-core/render/context.d.ts +0 -50
  191. package/dist/lib/pdf-core/render/document.d.ts +0 -21
  192. package/dist/lib/pdf-core/render/index.d.ts +0 -5
  193. package/dist/lib/pdf-core/render/nodes/blocks.d.ts +0 -19
  194. package/dist/lib/pdf-core/render/nodes/header.d.ts +0 -14
  195. package/dist/lib/pdf-core/render/nodes/layout.d.ts +0 -44
  196. package/dist/lib/pdf-core/render/nodes/table.d.ts +0 -14
  197. package/dist/lib/pdf-core/render/page.d.ts +0 -30
  198. package/dist/lib/pdf-core/render/render-node.d.ts +0 -10
  199. package/dist/lib/pdf-core/render/styles.d.ts +0 -303
  200. package/dist/packet-AYTQ26CC-CshIswP8.js +0 -3
  201. package/dist/pdf-download-hrKrI5_6.js +0 -153
  202. package/dist/pie-WAS4IAKB-CYs22y4X.js +0 -3
  203. package/dist/print-format.utils-B7K9qvuo.js +0 -53
  204. package/dist/print-fraction-digits-WtEBeztr.js +0 -5
  205. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +0 -3
  206. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +0 -3
  207. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +0 -3
  208. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +0 -3
  209. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +0 -3
  210. package/dist/swimlanesDiagram-TC7HE7FX-DO3BxSlE.js +0 -28
  211. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +0 -3
  212. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +0 -3
  213. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +0 -3
@@ -1,23 +1,23 @@
1
- import { n as e, t } from "./src-BIbdeDuO.js";
2
- import { c as n, g as r } from "./chunk-ZIGJFQKS-Dqo-x9kg.js";
3
- import { n as i } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { G as a, H as o, U as s, a as c, at as l, d as u, et as d, q as f, s as p, v as m, w as h, x as g, y as _ } from "./chunk-O7XYJQB3-CocGKgmL.js";
5
- import { t as v } from "./channel-CUIVvEUM.js";
6
- import "./chunk-742MDFTN-C8SK_MEU.js";
7
- import "./chunk-MBY4JIJT-efJLM0ZL.js";
8
- import { t as y } from "./chunk-5VM5RSS4-Cr17nBXp.js";
9
- import "./chunk-7PRAP22T-DSh07ASj.js";
10
- import { i as b, n as x, o as S, r as C } from "./chunk-J5ZVWO5B-CYzz6Pq8.js";
11
- import { a as w } from "./chunk-7INBJB4K-CyUOVm3_.js";
12
- import "./chunk-5DYCD2WN-B2Jnu3zk.js";
13
- import "./chunk-Z7XXMR3K-D00WQ1MY.js";
14
- import { t as T } from "./chunk-GWA4HPMP-LeZ8CTY7.js";
15
- import { t as E } from "./chunk-XXDRQBXY-mQqOBHO_.js";
16
- import { t as D } from "./chunk-WEXAMYUT-Dt2jrFYj.js";
17
- import "./chunk-UA2S7LBM-C81eiQ4_.js";
18
- import { r as O, t as k } from "./chunk-GNY47TPC-CNRH-hmN.js";
19
- import { n as A, t as j } from "./chunk-LNGE3PJU-CiGrDO_F.js";
20
- //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-22UHCM2B.mjs
1
+ import { n as e, t } from "./src-CJ8DNrI1.js";
2
+ import { c as n, g as r } from "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
3
+ import { n as i } from "./chunk-Y2CYZVJY-BAad7w_K.js";
4
+ import { G as a, H as o, U as s, a as c, at as l, d as u, et as d, q as f, s as p, v as m, w as h, x as g, y as _ } from "./chunk-O7XYJQB3-C87zK8E5.js";
5
+ import { t as v } from "./channel-Ba8pEAWx.js";
6
+ import "./chunk-742MDFTN-nG_ROTnT.js";
7
+ import "./chunk-MBY4JIJT-IA2XBafa.js";
8
+ import { t as y } from "./chunk-5VM5RSS4-BFskf6Qk.js";
9
+ import "./chunk-7PRAP22T-DIiYRAce.js";
10
+ import { i as b, n as x, o as S, r as C } from "./chunk-J5ZVWO5B-DmRRmhon.js";
11
+ import { a as w } from "./chunk-7INBJB4K-Dg64CbhT.js";
12
+ import "./chunk-5DYCD2WN-Bqi3iL5i.js";
13
+ import "./chunk-Z7XXMR3K-CJmPL4k9.js";
14
+ import { t as T } from "./chunk-GWA4HPMP-CmsxMX3A.js";
15
+ import { t as E } from "./chunk-XXDRQBXY-Bq4sFnO2.js";
16
+ import { t as D } from "./chunk-WEXAMYUT-C-QP0DFq.js";
17
+ import "./chunk-UA2S7LBM-B0LGFGu3.js";
18
+ import { r as O, t as k } from "./chunk-GNY47TPC-BJperC1X.js";
19
+ import { n as A, t as j } from "./chunk-LNGE3PJU-DJjGTS7O.js";
20
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-22UHCM2B.mjs
21
21
  var M = {
22
22
  SHAPE_UNSUPPORTED: "SHAPE_UNSUPPORTED",
23
23
  SHAPE_REMOVED: "SHAPE_REMOVED",
@@ -0,0 +1,525 @@
1
+ import { it as e } from "./components-CRrswCsD.js";
2
+ import { n as t, t as n } from "./src-CJ8DNrI1.js";
3
+ import { i as r } from "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
4
+ import { t as i } from "./ordinal-DwxdXP1t.js";
5
+ import { n as a } from "./mermaid-parser.core-BXD_TD1T.js";
6
+ import { n as o } from "./chunk-Y2CYZVJY-BAad7w_K.js";
7
+ import { D as s, H as c, U as l, a as u, b as d, c as f, f as p, q as m, v as h, w as g, y as _ } from "./chunk-O7XYJQB3-C87zK8E5.js";
8
+ import { t as v } from "./chunk-6AEJRKK7-DDXoGWDs.js";
9
+ import { t as y } from "./chunk-JWPE2WC7-BGVSGRTC.js";
10
+ import { i as b, n as x } from "./chunk-7PRAP22T-DIiYRAce.js";
11
+ import { t as S } from "./chunk-WEXAMYUT-C-QP0DFq.js";
12
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/count.js
13
+ function C(e) {
14
+ var t = 0, n = e.children, r = n && n.length;
15
+ if (!r) t = 1;
16
+ else for (; --r >= 0;) t += n[r].value;
17
+ e.value = t;
18
+ }
19
+ function w() {
20
+ return this.eachAfter(C);
21
+ }
22
+ //#endregion
23
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/each.js
24
+ function T(e, t) {
25
+ let n = -1;
26
+ for (let r of this) e.call(t, r, ++n, this);
27
+ return this;
28
+ }
29
+ //#endregion
30
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/eachBefore.js
31
+ function E(e, t) {
32
+ for (var n = this, r = [n], i, a, o = -1; n = r.pop();) if (e.call(t, n, ++o, this), i = n.children) for (a = i.length - 1; a >= 0; --a) r.push(i[a]);
33
+ return this;
34
+ }
35
+ //#endregion
36
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/eachAfter.js
37
+ function D(e, t) {
38
+ for (var n = this, r = [n], i = [], a, o, s, c = -1; n = r.pop();) if (i.push(n), a = n.children) for (o = 0, s = a.length; o < s; ++o) r.push(a[o]);
39
+ for (; n = i.pop();) e.call(t, n, ++c, this);
40
+ return this;
41
+ }
42
+ //#endregion
43
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/find.js
44
+ function O(e, t) {
45
+ let n = -1;
46
+ for (let r of this) if (e.call(t, r, ++n, this)) return r;
47
+ }
48
+ //#endregion
49
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/sum.js
50
+ function k(e) {
51
+ return this.eachAfter(function(t) {
52
+ for (var n = +e(t.data) || 0, r = t.children, i = r && r.length; --i >= 0;) n += r[i].value;
53
+ t.value = n;
54
+ });
55
+ }
56
+ //#endregion
57
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/sort.js
58
+ function A(e) {
59
+ return this.eachBefore(function(t) {
60
+ t.children && t.children.sort(e);
61
+ });
62
+ }
63
+ //#endregion
64
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/path.js
65
+ function j(e) {
66
+ for (var t = this, n = M(t, e), r = [t]; t !== n;) t = t.parent, r.push(t);
67
+ for (var i = r.length; e !== n;) r.splice(i, 0, e), e = e.parent;
68
+ return r;
69
+ }
70
+ function M(e, t) {
71
+ if (e === t) return e;
72
+ var n = e.ancestors(), r = t.ancestors(), i = null;
73
+ for (e = n.pop(), t = r.pop(); e === t;) i = e, e = n.pop(), t = r.pop();
74
+ return i;
75
+ }
76
+ //#endregion
77
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/ancestors.js
78
+ function N() {
79
+ for (var e = this, t = [e]; e = e.parent;) t.push(e);
80
+ return t;
81
+ }
82
+ //#endregion
83
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/descendants.js
84
+ function P() {
85
+ return Array.from(this);
86
+ }
87
+ //#endregion
88
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/leaves.js
89
+ function F() {
90
+ var e = [];
91
+ return this.eachBefore(function(t) {
92
+ t.children || e.push(t);
93
+ }), e;
94
+ }
95
+ //#endregion
96
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/links.js
97
+ function I() {
98
+ var e = this, t = [];
99
+ return e.each(function(n) {
100
+ n !== e && t.push({
101
+ source: n.parent,
102
+ target: n
103
+ });
104
+ }), t;
105
+ }
106
+ //#endregion
107
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/iterator.js
108
+ function* L() {
109
+ var e = this, t, n = [e], r, i, a;
110
+ do
111
+ for (t = n.reverse(), n = []; e = t.pop();) if (yield e, r = e.children) for (i = 0, a = r.length; i < a; ++i) n.push(r[i]);
112
+ while (n.length);
113
+ }
114
+ //#endregion
115
+ //#region ../../node_modules/d3-hierarchy/src/hierarchy/index.js
116
+ function R(e, t) {
117
+ e instanceof Map ? (e = [void 0, e], t === void 0 && (t = V)) : t === void 0 && (t = B);
118
+ for (var n = new W(e), r, i = [n], a, o, s, c; r = i.pop();) if ((o = t(r.data)) && (c = (o = Array.from(o)).length)) for (r.children = o, s = c - 1; s >= 0; --s) i.push(a = o[s] = new W(o[s])), a.parent = r, a.depth = r.depth + 1;
119
+ return n.eachBefore(U);
120
+ }
121
+ function z() {
122
+ return R(this).eachBefore(H);
123
+ }
124
+ function B(e) {
125
+ return e.children;
126
+ }
127
+ function V(e) {
128
+ return Array.isArray(e) ? e[1] : null;
129
+ }
130
+ function H(e) {
131
+ e.data.value !== void 0 && (e.value = e.data.value), e.data = e.data.data;
132
+ }
133
+ function U(e) {
134
+ var t = 0;
135
+ do
136
+ e.height = t;
137
+ while ((e = e.parent) && e.height < ++t);
138
+ }
139
+ function W(e) {
140
+ this.data = e, this.depth = this.height = 0, this.parent = null;
141
+ }
142
+ W.prototype = R.prototype = {
143
+ constructor: W,
144
+ count: w,
145
+ each: T,
146
+ eachAfter: D,
147
+ eachBefore: E,
148
+ find: O,
149
+ sum: k,
150
+ sort: A,
151
+ path: j,
152
+ ancestors: N,
153
+ descendants: P,
154
+ leaves: F,
155
+ links: I,
156
+ copy: z,
157
+ [Symbol.iterator]: L
158
+ };
159
+ //#endregion
160
+ //#region ../../node_modules/d3-hierarchy/src/accessors.js
161
+ function G(e) {
162
+ if (typeof e != "function") throw Error();
163
+ return e;
164
+ }
165
+ //#endregion
166
+ //#region ../../node_modules/d3-hierarchy/src/constant.js
167
+ function K() {
168
+ return 0;
169
+ }
170
+ function q(e) {
171
+ return function() {
172
+ return e;
173
+ };
174
+ }
175
+ //#endregion
176
+ //#region ../../node_modules/d3-hierarchy/src/treemap/round.js
177
+ function ee(e) {
178
+ e.x0 = Math.round(e.x0), e.y0 = Math.round(e.y0), e.x1 = Math.round(e.x1), e.y1 = Math.round(e.y1);
179
+ }
180
+ //#endregion
181
+ //#region ../../node_modules/d3-hierarchy/src/treemap/dice.js
182
+ function te(e, t, n, r, i) {
183
+ for (var a = e.children, o, s = -1, c = a.length, l = e.value && (r - t) / e.value; ++s < c;) o = a[s], o.y0 = n, o.y1 = i, o.x0 = t, o.x1 = t += o.value * l;
184
+ }
185
+ //#endregion
186
+ //#region ../../node_modules/d3-hierarchy/src/treemap/slice.js
187
+ function ne(e, t, n, r, i) {
188
+ for (var a = e.children, o, s = -1, c = a.length, l = e.value && (i - n) / e.value; ++s < c;) o = a[s], o.x0 = t, o.x1 = r, o.y0 = n, o.y1 = n += o.value * l;
189
+ }
190
+ //#endregion
191
+ //#region ../../node_modules/d3-hierarchy/src/treemap/squarify.js
192
+ var re = (1 + Math.sqrt(5)) / 2;
193
+ function ie(e, t, n, r, i, a) {
194
+ for (var o = [], s = t.children, c, l, u = 0, d = 0, f = s.length, p, m, h = t.value, g, _, v, y, b, x, S; u < f;) {
195
+ p = i - n, m = a - r;
196
+ do
197
+ g = s[d++].value;
198
+ while (!g && d < f);
199
+ for (_ = v = g, x = Math.max(m / p, p / m) / (h * e), S = g * g * x, b = Math.max(v / S, S / _); d < f; ++d) {
200
+ if (g += l = s[d].value, l < _ && (_ = l), l > v && (v = l), S = g * g * x, y = Math.max(v / S, S / _), y > b) {
201
+ g -= l;
202
+ break;
203
+ }
204
+ b = y;
205
+ }
206
+ o.push(c = {
207
+ value: g,
208
+ dice: p < m,
209
+ children: s.slice(u, d)
210
+ }), c.dice ? te(c, n, r, i, h ? r += m * g / h : a) : ne(c, n, r, h ? n += p * g / h : i, a), h -= g, u = d;
211
+ }
212
+ return o;
213
+ }
214
+ var ae = (function e(t) {
215
+ function n(e, n, r, i, a) {
216
+ ie(t, e, n, r, i, a);
217
+ }
218
+ return n.ratio = function(t) {
219
+ return e((t = +t) > 1 ? t : 1);
220
+ }, n;
221
+ })(re);
222
+ //#endregion
223
+ //#region ../../node_modules/d3-hierarchy/src/treemap/index.js
224
+ function oe() {
225
+ var e = ae, t = !1, n = 1, r = 1, i = [0], a = K, o = K, s = K, c = K, l = K;
226
+ function u(e) {
227
+ return e.x0 = e.y0 = 0, e.x1 = n, e.y1 = r, e.eachBefore(d), i = [0], t && e.eachBefore(ee), e;
228
+ }
229
+ function d(t) {
230
+ var n = i[t.depth], r = t.x0 + n, u = t.y0 + n, d = t.x1 - n, f = t.y1 - n;
231
+ d < r && (r = d = (r + d) / 2), f < u && (u = f = (u + f) / 2), t.x0 = r, t.y0 = u, t.x1 = d, t.y1 = f, t.children && (n = i[t.depth + 1] = a(t) / 2, r += l(t) - n, u += o(t) - n, d -= s(t) - n, f -= c(t) - n, d < r && (r = d = (r + d) / 2), f < u && (u = f = (u + f) / 2), e(t, r, u, d, f));
232
+ }
233
+ return u.round = function(e) {
234
+ return arguments.length ? (t = !!e, u) : t;
235
+ }, u.size = function(e) {
236
+ return arguments.length ? (n = +e[0], r = +e[1], u) : [n, r];
237
+ }, u.tile = function(t) {
238
+ return arguments.length ? (e = G(t), u) : e;
239
+ }, u.padding = function(e) {
240
+ return arguments.length ? u.paddingInner(e).paddingOuter(e) : u.paddingInner();
241
+ }, u.paddingInner = function(e) {
242
+ return arguments.length ? (a = typeof e == "function" ? e : q(+e), u) : a;
243
+ }, u.paddingOuter = function(e) {
244
+ return arguments.length ? u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e) : u.paddingTop();
245
+ }, u.paddingTop = function(e) {
246
+ return arguments.length ? (o = typeof e == "function" ? e : q(+e), u) : o;
247
+ }, u.paddingRight = function(e) {
248
+ return arguments.length ? (s = typeof e == "function" ? e : q(+e), u) : s;
249
+ }, u.paddingBottom = function(e) {
250
+ return arguments.length ? (c = typeof e == "function" ? e : q(+e), u) : c;
251
+ }, u.paddingLeft = function(e) {
252
+ return arguments.length ? (l = typeof e == "function" ? e : q(+e), u) : l;
253
+ }, u;
254
+ }
255
+ //#endregion
256
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-3UASUU5V.mjs
257
+ var J = class {
258
+ constructor() {
259
+ this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = l, this.getAccTitle = _, this.setDiagramTitle = m, this.getDiagramTitle = g, this.getAccDescription = h, this.setAccDescription = c;
260
+ }
261
+ static {
262
+ o(this, "TreeMapDB");
263
+ }
264
+ getNodes() {
265
+ return this.nodes;
266
+ }
267
+ getConfig() {
268
+ let e = p, t = d();
269
+ return r({
270
+ ...e.treemap,
271
+ ...t.treemap ?? {}
272
+ });
273
+ }
274
+ addNode(e, t) {
275
+ this.nodes.push(e), this.levels.set(e, t), t === 0 && (this.outerNodes.push(e), this.root ??= e);
276
+ }
277
+ getRoot() {
278
+ return {
279
+ name: "",
280
+ children: this.outerNodes
281
+ };
282
+ }
283
+ addClass(e, t) {
284
+ let n = this.classes.get(e) ?? {
285
+ id: e,
286
+ styles: [],
287
+ textStyles: []
288
+ }, r = t.replace(/\\,/g, "§§§").replace(/,/g, ";").replace(/§§§/g, ",").split(";");
289
+ r && r.forEach((e) => {
290
+ x(e) && (n?.textStyles ? n.textStyles.push(e) : n.textStyles = [e]), n?.styles ? n.styles.push(e) : n.styles = [e];
291
+ }), this.classes.set(e, n);
292
+ }
293
+ getClasses() {
294
+ return this.classes;
295
+ }
296
+ getStylesForClass(e) {
297
+ return this.classes.get(e)?.styles ?? [];
298
+ }
299
+ clear() {
300
+ u(), this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.root = void 0;
301
+ }
302
+ };
303
+ function Y(e) {
304
+ if (!e.length) return [];
305
+ let t = [], n = [];
306
+ return e.forEach((e) => {
307
+ let r = {
308
+ name: e.name,
309
+ children: e.type === "Leaf" ? void 0 : []
310
+ };
311
+ for (r.classSelector = e?.classSelector, e?.cssCompiledStyles && (r.cssCompiledStyles = e.cssCompiledStyles), e.type === "Leaf" && e.value !== void 0 && (r.value = e.value); n.length > 0 && n[n.length - 1].level >= e.level;) n.pop();
312
+ if (n.length === 0) t.push(r);
313
+ else {
314
+ let e = n[n.length - 1].node;
315
+ e.children ? e.children.push(r) : e.children = [r];
316
+ }
317
+ e.type !== "Leaf" && n.push({
318
+ node: r,
319
+ level: e.level
320
+ });
321
+ }), t;
322
+ }
323
+ o(Y, "buildHierarchy");
324
+ var se = /* @__PURE__ */ o((e, t) => {
325
+ y(e, t);
326
+ let n = [];
327
+ for (let n of e.TreemapRows ?? []) n.$type === "ClassDefStatement" && t.addClass(n.className ?? "", n.styleText ?? "");
328
+ for (let r of e.TreemapRows ?? []) {
329
+ let e = r.item;
330
+ if (!e) continue;
331
+ let i = r.indent ? parseInt(r.indent) : 0, a = ce(e), o = e.classSelector ? t.getStylesForClass(e.classSelector) : [], s = o.length > 0 ? o : void 0, c = {
332
+ level: i,
333
+ name: a,
334
+ type: e.$type,
335
+ value: e.value,
336
+ classSelector: e.classSelector,
337
+ cssCompiledStyles: s
338
+ };
339
+ n.push(c);
340
+ }
341
+ let r = Y(n), i = /* @__PURE__ */ o((e, n) => {
342
+ for (let r of e) t.addNode(r, n), r.children && r.children.length > 0 && i(r.children, n + 1);
343
+ }, "addNodesRecursively");
344
+ i(r, 0);
345
+ }, "populate"), ce = /* @__PURE__ */ o((e) => e.name ? String(e.name) : "", "getItemName"), X = {
346
+ parser: { yy: void 0 },
347
+ parse: /* @__PURE__ */ o(async (e) => {
348
+ try {
349
+ let n = await a("treemap", e);
350
+ t.debug("Treemap AST:", n);
351
+ let r = X.parser?.yy;
352
+ if (!(r instanceof J)) throw Error("parser.parser?.yy was not a TreemapDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
353
+ se(n, r);
354
+ } catch (e) {
355
+ throw t.error("Error parsing treemap:", e), e;
356
+ }
357
+ }, "parse")
358
+ }, Z = 10, Q = 10, $ = 25, le = {
359
+ draw: /* @__PURE__ */ o((r, a, s, c) => {
360
+ let l = c.db, u = l.getConfig(), p = u.padding ?? Z, m = l.getDiagramTitle(), h = l.getRoot(), { themeVariables: g } = d();
361
+ if (!h) return;
362
+ let _ = m ? 30 : 0, y = v(a), x = u.nodeWidth ? u.nodeWidth * Q : 960, C = u.nodeHeight ? u.nodeHeight * Q : 500, w = x, T = C + _;
363
+ y.attr("viewBox", `0 0 ${w} ${T}`), f(y, T, w, u.useMaxWidth);
364
+ let E;
365
+ try {
366
+ let t = u.valueFormat || ",";
367
+ if (t === "$0,0") E = /* @__PURE__ */ o((t) => "$" + e(",")(t), "valueFormat");
368
+ else if (t.startsWith("$") && t.includes(",")) {
369
+ let n = /\.\d+/.exec(t), r = n ? n[0] : "";
370
+ E = /* @__PURE__ */ o((t) => "$" + e("," + r)(t), "valueFormat");
371
+ } else if (t.startsWith("$")) {
372
+ let n = t.substring(1);
373
+ E = /* @__PURE__ */ o((t) => "$" + e(n || "")(t), "valueFormat");
374
+ } else E = e(t);
375
+ } catch (n) {
376
+ t.error("Error creating format function:", n), E = e(",");
377
+ }
378
+ let D = i().range([
379
+ "transparent",
380
+ g.cScale0,
381
+ g.cScale1,
382
+ g.cScale2,
383
+ g.cScale3,
384
+ g.cScale4,
385
+ g.cScale5,
386
+ g.cScale6,
387
+ g.cScale7,
388
+ g.cScale8,
389
+ g.cScale9,
390
+ g.cScale10,
391
+ g.cScale11
392
+ ]), O = i().range([
393
+ "transparent",
394
+ g.cScalePeer0,
395
+ g.cScalePeer1,
396
+ g.cScalePeer2,
397
+ g.cScalePeer3,
398
+ g.cScalePeer4,
399
+ g.cScalePeer5,
400
+ g.cScalePeer6,
401
+ g.cScalePeer7,
402
+ g.cScalePeer8,
403
+ g.cScalePeer9,
404
+ g.cScalePeer10,
405
+ g.cScalePeer11
406
+ ]), k = i().range([
407
+ g.cScaleLabel0,
408
+ g.cScaleLabel1,
409
+ g.cScaleLabel2,
410
+ g.cScaleLabel3,
411
+ g.cScaleLabel4,
412
+ g.cScaleLabel5,
413
+ g.cScaleLabel6,
414
+ g.cScaleLabel7,
415
+ g.cScaleLabel8,
416
+ g.cScaleLabel9,
417
+ g.cScaleLabel10,
418
+ g.cScaleLabel11
419
+ ]);
420
+ m && y.append("text").attr("x", w / 2).attr("y", _ / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(m);
421
+ let A = y.append("g").attr("transform", `translate(0, ${_})`).attr("class", "treemapContainer"), j = R(h).sum((e) => e.value ?? 0).sort((e, t) => (t.value ?? 0) - (e.value ?? 0)), M = oe().size([x, C]).paddingTop((e) => e.children && e.children.length > 0 ? $ + Q : 0).paddingInner(p).paddingLeft((e) => e.children && e.children.length > 0 ? Q : 0).paddingRight((e) => e.children && e.children.length > 0 ? Q : 0).paddingBottom((e) => e.children && e.children.length > 0 ? Q : 0).round(!0)(j), N = M.descendants().filter((e) => e.children && e.children.length > 0), P = A.selectAll(".treemapSection").data(N).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
422
+ P.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", $).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", .6).attr("stroke-width", .6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), P.append("clipPath").attr("id", (e, t) => `clip-section-${a}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", $), P.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, t) => `treemapSection section${t}`).attr("fill", (e) => D(e.data.name)).attr("fill-opacity", .6).attr("stroke", (e) => O(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", .4).attr("style", (e) => {
423
+ if (e.depth === 0) return "display: none;";
424
+ let t = b({ cssCompiledStyles: e.data.cssCompiledStyles });
425
+ return t.nodeStyles + ";" + t.borderStyles.join(";");
426
+ }), P.append("text").attr("class", "treemapSectionLabel").attr("x", 6).attr("y", $ / 2).attr("dominant-baseline", "middle").text((e) => e.depth === 0 ? "" : e.data.name).attr("font-weight", "bold").attr("clip-path", (e, t) => `url(#clip-section-${a}-${t})`).attr("style", (e) => e.depth === 0 ? "display: none;" : "dominant-baseline: middle; font-size: 12px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).each(function(e) {
427
+ if (e.depth === 0) return;
428
+ let t = n(this), r = e.data.name;
429
+ t.text(r);
430
+ let i = e.x1 - e.x0, a;
431
+ a = u.showValues !== !1 && e.value ? i - 10 - 30 - 10 - 6 : i - 6 - 6;
432
+ let o = Math.max(15, a), s = t.node();
433
+ if (s.getComputedTextLength() > o) {
434
+ let e = r;
435
+ for (; e.length > 0;) {
436
+ if (e = r.substring(0, e.length - 1), e.length === 0) {
437
+ t.text("..."), s.getComputedTextLength() > o && t.text("");
438
+ break;
439
+ }
440
+ if (t.text(e + "..."), s.getComputedTextLength() <= o) break;
441
+ }
442
+ }
443
+ }), u.showValues !== !1 && P.append("text").attr("class", "treemapSectionValue").attr("x", (e) => e.x1 - e.x0 - 10).attr("y", $ / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").text((e) => e.value ? E(e.value) : "").attr("font-style", "italic").attr("style", (e) => e.depth === 0 ? "display: none;" : "text-anchor: end; dominant-baseline: middle; font-size: 10px; fill:" + k(e.data.name) + "; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:"));
444
+ let F = M.leaves(), I = F.length > 20, L = I ? 16 : 38, z = I ? 14 : 28, B = I ? 4 : 8, V = I ? 4 : 6, H = I ? 2 : 4, U = I ? 8 : 10, W = I ? 1 : 2, G = A.selectAll(".treemapLeafGroup").data(F).enter().append("g").attr("class", (e, t) => `treemapNode treemapLeafGroup leaf${t}${e.data.classSelector ? ` ${e.data.classSelector}` : ""}x`).attr("transform", (e) => `translate(${e.x0},${e.y0})`);
445
+ G.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", "treemapLeaf").attr("fill", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("style", (e) => b({ cssCompiledStyles: e.data.cssCompiledStyles }).nodeStyles).attr("fill-opacity", .3).attr("stroke", (e) => e.parent ? D(e.parent.data.name) : D(e.data.name)).attr("stroke-width", 3), G.append("clipPath").attr("id", (e, t) => `clip-${a}-${t}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 4)).attr("height", (e) => Math.max(0, e.y1 - e.y0 - 4)), G.append("text").attr("class", "treemapLabel").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", (e) => (e.y1 - e.y0) / 2).attr("style", (e) => `text-anchor: middle; dominant-baseline: middle; font-size: ${L}px;fill:` + k(e.data.name) + ";" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${a}-${t})`).text((e) => e.data.name).each(function(e) {
446
+ let t = n(this), r = e.x1 - e.x0, i = e.y1 - e.y0, a = t.node(), o = r - 2 * H, s = i - 2 * H;
447
+ if (o < U || s < U) {
448
+ t.style("display", "none");
449
+ return;
450
+ }
451
+ let c = parseInt(t.style("font-size"), 10), l = .6;
452
+ for (; a.getComputedTextLength() > o && c > B;) c--, t.style("font-size", `${c}px`);
453
+ let u = Math.max(V, Math.min(z, Math.round(c * l))), d = c + W + u;
454
+ for (; d > s && c > B && (c--, u = Math.max(V, Math.min(z, Math.round(c * l))), !(u < V && c === B));) t.style("font-size", `${c}px`), d = c + W + u;
455
+ t.style("font-size", `${c}px`), I ? (c < B || s < B) && t.style("display", "none") : (a.getComputedTextLength() > o || c < B || s < c) && t.style("display", "none");
456
+ }), u.showValues !== !1 && G.append("text").attr("class", "treemapValue").attr("x", (e) => (e.x1 - e.x0) / 2).attr("y", function(e) {
457
+ return (e.y1 - e.y0) / 2;
458
+ }).attr("style", (e) => `text-anchor: middle; dominant-baseline: hanging; font-size: ${z}px;fill:` + k(e.data.name) + ";" + b({ cssCompiledStyles: e.data.cssCompiledStyles }).labelStyles.replace("color:", "fill:")).attr("clip-path", (e, t) => `url(#clip-${a}-${t})`).text((e) => e.value ? E(e.value) : "").each(function(e) {
459
+ let t = n(this), r = this.parentNode;
460
+ if (!r) {
461
+ t.style("display", "none");
462
+ return;
463
+ }
464
+ let i = n(r).select(".treemapLabel");
465
+ if (i.empty() || i.style("display") === "none") {
466
+ t.style("display", "none");
467
+ return;
468
+ }
469
+ let a = parseFloat(i.style("font-size")), o = Math.max(V, Math.min(z, Math.round(a * .6)));
470
+ t.style("font-size", `${o}px`);
471
+ let s = (e.y1 - e.y0) / 2 + a / 2 + W;
472
+ t.attr("y", s);
473
+ let c = e.x1 - e.x0, l = e.y1 - e.y0 - 4, u = c - 2 * H;
474
+ t.node().getComputedTextLength() > u || s + o > l || o < V ? t.style("display", "none") : t.style("display", null);
475
+ }), S(y, u.diagramPadding ?? 8, "flowchart", u?.useMaxWidth || !1);
476
+ }, "draw"),
477
+ getClasses: /* @__PURE__ */ o(function(e, t) {
478
+ return t.db.getClasses();
479
+ }, "getClasses")
480
+ }, ue = {
481
+ sectionStrokeColor: "black",
482
+ sectionStrokeWidth: "1",
483
+ sectionFillColor: "#efefef",
484
+ leafStrokeColor: "black",
485
+ leafStrokeWidth: "1",
486
+ leafFillColor: "#efefef",
487
+ labelFontSize: "12px",
488
+ valueFontSize: "10px",
489
+ titleFontSize: "14px"
490
+ }, de = {
491
+ parser: X,
492
+ get db() {
493
+ return new J();
494
+ },
495
+ renderer: le,
496
+ styles: /* @__PURE__ */ o(({ treemap: e } = {}) => {
497
+ let t = r(s(), d().themeVariables), n = r(ue, e), i = n.titleColor ?? t.titleColor, a = n.labelColor ?? t.textColor, o = n.valueColor ?? t.textColor;
498
+ return `
499
+ .treemapNode.section {
500
+ stroke: ${n.sectionStrokeColor};
501
+ stroke-width: ${n.sectionStrokeWidth};
502
+ fill: ${n.sectionFillColor};
503
+ }
504
+ .treemapNode.leaf {
505
+ stroke: ${n.leafStrokeColor};
506
+ stroke-width: ${n.leafStrokeWidth};
507
+ fill: ${n.leafFillColor};
508
+ }
509
+ .treemapLabel {
510
+ fill: ${a};
511
+ font-size: ${n.labelFontSize};
512
+ }
513
+ .treemapValue {
514
+ fill: ${o};
515
+ font-size: ${n.valueFontSize};
516
+ }
517
+ .treemapTitle {
518
+ fill: ${i};
519
+ font-size: ${n.titleFontSize};
520
+ }
521
+ `;
522
+ }, "getStyles")
523
+ };
524
+ //#endregion
525
+ export { de as diagram };
@@ -1,11 +1,11 @@
1
- import { n as e, t } from "./src-BIbdeDuO.js";
2
- import { _ as n, i as r, t as i } from "./chunk-ZIGJFQKS-Dqo-x9kg.js";
3
- import { T as a } from "./chunk-FOHPRMQF-Crq0JMf2.js";
4
- import { n as o } from "./mermaid-parser.core-Cz-MfB4Z.js";
5
- import { n as s } from "./chunk-Y2CYZVJY-i11wjrBe.js";
6
- import { H as c, U as l, X as u, a as d, b as f, f as p, q as m, v as h, w as g, x as _, y as ee, z as v } from "./chunk-O7XYJQB3-CocGKgmL.js";
7
- import { t as te } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
8
- //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-ATOU4E4O.mjs
1
+ import { n as e, t } from "./src-CJ8DNrI1.js";
2
+ import { _ as n, i as r, t as i } from "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
3
+ import { T as a } from "./chunk-FOHPRMQF-DBc3Omt0.js";
4
+ import { n as o } from "./mermaid-parser.core-BXD_TD1T.js";
5
+ import { n as s } from "./chunk-Y2CYZVJY-BAad7w_K.js";
6
+ import { H as c, U as l, X as u, a as d, b as f, f as p, q as m, v as h, w as g, x as _, y as ee, z as v } from "./chunk-O7XYJQB3-C87zK8E5.js";
7
+ import { t as te } from "./chunk-JWPE2WC7-BGVSGRTC.js";
8
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-ATOU4E4O.mjs
9
9
  var y = "position frame", b = "frame positioned", x = "position relation", S = "relation positioned", ne = /* @__PURE__ */ s(function(t) {
10
10
  e.debug("options str", t);
11
11
  }, "setOptions"), re = /* @__PURE__ */ s(function() {
@@ -1,13 +1,13 @@
1
- import { n as e } from "./src-BIbdeDuO.js";
2
- import { i as t } from "./chunk-ZIGJFQKS-Dqo-x9kg.js";
3
- import { n } from "./mermaid-parser.core-Cz-MfB4Z.js";
4
- import { n as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
5
- import { H as i, U as a, a as o, b as s, c, f as l, q as u, v as d, w as f, y as p, z as m } from "./chunk-O7XYJQB3-CocGKgmL.js";
6
- import { t as h } from "./chunk-6AEJRKK7-C9kihZu8.js";
7
- import { t as g } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
8
- import { r as _, t as v } from "./chunk-742MDFTN-C8SK_MEU.js";
9
- import { t as y } from "./chunk-2Q5K7J3B-kzxEEeTu.js";
10
- //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-CDSNMT55.mjs
1
+ import { n as e } from "./src-CJ8DNrI1.js";
2
+ import { i as t } from "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
3
+ import { n } from "./mermaid-parser.core-BXD_TD1T.js";
4
+ import { n as r } from "./chunk-Y2CYZVJY-BAad7w_K.js";
5
+ import { H as i, U as a, a as o, b as s, c, f as l, q as u, v as d, w as f, y as p, z as m } from "./chunk-O7XYJQB3-C87zK8E5.js";
6
+ import { t as h } from "./chunk-6AEJRKK7-DDXoGWDs.js";
7
+ import { t as g } from "./chunk-JWPE2WC7-BGVSGRTC.js";
8
+ import { r as _, t as v } from "./chunk-742MDFTN-nG_ROTnT.js";
9
+ import { t as y } from "./chunk-2Q5K7J3B-C1pX24ft.js";
10
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-CDSNMT55.mjs
11
11
  var b = /[─━│┃└┗├┣]/, x = /[└┗├┣]/, S = /[─━]/, C = /^[\s│┃]+$/, w = /^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/, T = /^\s*%%/, E = " ";
12
12
  function D(e) {
13
13
  return e.some((e) => b.test(e));
@@ -1,11 +1,11 @@
1
- import { n as e } from "./src-BIbdeDuO.js";
2
- import { i as t } from "./chunk-ZIGJFQKS-Dqo-x9kg.js";
3
- import { n } from "./mermaid-parser.core-Cz-MfB4Z.js";
4
- import { n as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
5
- import { H as i, U as a, a as o, b as s, c, f as l, q as u, v as d, w as f, y as p } from "./chunk-O7XYJQB3-CocGKgmL.js";
6
- import { t as m } from "./chunk-6AEJRKK7-C9kihZu8.js";
7
- import { t as h } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
8
- //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-MLGK6HIB.mjs
1
+ import { n as e } from "./src-CJ8DNrI1.js";
2
+ import { i as t } from "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
3
+ import { n } from "./mermaid-parser.core-BXD_TD1T.js";
4
+ import { n as r } from "./chunk-Y2CYZVJY-BAad7w_K.js";
5
+ import { H as i, U as a, a as o, b as s, c, f as l, q as u, v as d, w as f, y as p } from "./chunk-O7XYJQB3-C87zK8E5.js";
6
+ import { t as m } from "./chunk-6AEJRKK7-DDXoGWDs.js";
7
+ import { t as h } from "./chunk-JWPE2WC7-BGVSGRTC.js";
8
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-MLGK6HIB.mjs
9
9
  var g = l.packet, _ = class {
10
10
  constructor() {
11
11
  this.packet = [], this.setAccTitle = a, this.getAccTitle = p, this.setDiagramTitle = u, this.getDiagramTitle = f, this.getAccDescription = d, this.setAccDescription = i;
@@ -1,11 +1,11 @@
1
- import { n as e } from "./src-BIbdeDuO.js";
2
- import { i as t } from "./chunk-ZIGJFQKS-Dqo-x9kg.js";
3
- import { n } from "./mermaid-parser.core-Cz-MfB4Z.js";
4
- import { n as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
5
- import { D as i, H as a, U as o, a as s, b as c, c as l, f as u, q as d, v as f, w as p, y as m } from "./chunk-O7XYJQB3-CocGKgmL.js";
6
- import { t as h } from "./chunk-6AEJRKK7-C9kihZu8.js";
7
- import { t as g } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
8
- //#region node_modules/mermaid/dist/chunks/mermaid.core/diagram-MPIPVDR6.mjs
1
+ import { n as e } from "./src-CJ8DNrI1.js";
2
+ import { i as t } from "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
3
+ import { n } from "./mermaid-parser.core-BXD_TD1T.js";
4
+ import { n as r } from "./chunk-Y2CYZVJY-BAad7w_K.js";
5
+ import { D as i, H as a, U as o, a as s, b as c, c as l, f as u, q as d, v as f, w as p, y as m } from "./chunk-O7XYJQB3-C87zK8E5.js";
6
+ import { t as h } from "./chunk-6AEJRKK7-DDXoGWDs.js";
7
+ import { t as g } from "./chunk-JWPE2WC7-BGVSGRTC.js";
8
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/diagram-MPIPVDR6.mjs
9
9
  var _ = {
10
10
  showLegend: !0,
11
11
  ticks: 5,