@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,303 +0,0 @@
1
- import { Styles } from '@react-pdf/renderer';
2
- import { PdfTheme } from '../model/theme';
3
- /** One react-pdf style object. */
4
- export type PdfElementStyle = Styles[string];
5
- /**
6
- * Plain react-pdf styles for every block, from a theme. The keys shared with
7
- * `commonPrintStyles` hold exactly what `tw(commonPrintStyles.x)` gives in
8
- * `@nxgt/material/print` (a test there compares them), so a document built
9
- * from the model looks like one written with the JSX blocks.
10
- */
11
- export declare function createPdfStyles({ colors: c, fonts }: PdfTheme): {
12
- page: {
13
- flexDirection: "column";
14
- gap: number;
15
- paddingTop: number;
16
- paddingBottom: number;
17
- paddingLeft: number;
18
- paddingRight: number;
19
- fontFamily: string;
20
- fontSize: string;
21
- color: string;
22
- };
23
- header: {
24
- flexDirection: "row";
25
- alignItems: "center";
26
- marginBottom: number;
27
- };
28
- headerTitle: {
29
- fontSize: string;
30
- fontWeight: number;
31
- color: string;
32
- letterSpacing: number;
33
- };
34
- headerRef: {
35
- fontSize: string;
36
- color: string;
37
- marginTop: number;
38
- };
39
- divider: {
40
- borderBottomWidth: number;
41
- borderColor: string;
42
- marginBottom: number;
43
- };
44
- sectionTitle: {
45
- fontSize: string;
46
- fontWeight: number;
47
- color: string;
48
- marginBottom: number;
49
- textTransform: "uppercase";
50
- letterSpacing: number;
51
- };
52
- infoGrid: {
53
- flexDirection: "row";
54
- gap: number;
55
- marginBottom: number;
56
- };
57
- infoCol: {
58
- flex: string;
59
- flexDirection: "column";
60
- gap: number;
61
- };
62
- infoRow: {
63
- flexDirection: "row";
64
- gap: number;
65
- };
66
- infoLabel: {
67
- fontSize: string;
68
- color: string;
69
- fontWeight: number;
70
- width: number;
71
- };
72
- infoValue: {
73
- fontSize: string;
74
- color: string;
75
- flex: string;
76
- };
77
- tableSection: {
78
- marginBottom: number;
79
- };
80
- tableHeader: {
81
- gap: number;
82
- marginBottom: number;
83
- paddingTop: number;
84
- paddingBottom: number;
85
- paddingLeft: number;
86
- paddingRight: number;
87
- flexDirection: "row";
88
- backgroundColor: string;
89
- borderRadius: number;
90
- };
91
- tableHeaderCell: {
92
- fontSize: string;
93
- fontWeight: number;
94
- color: string;
95
- };
96
- tableRow: {
97
- gap: number;
98
- borderBottomWidth: number;
99
- borderColor: string;
100
- paddingTop: number;
101
- paddingBottom: number;
102
- paddingLeft: number;
103
- paddingRight: number;
104
- flexDirection: "row";
105
- };
106
- tableRowAlt: {
107
- backgroundColor: string;
108
- };
109
- tableCell: {
110
- fontSize: string;
111
- color: string;
112
- };
113
- totalsSection: {
114
- alignItems: "flex-end";
115
- marginBottom: number;
116
- };
117
- totalsTable: {
118
- width: string;
119
- borderWidth: number;
120
- borderColor: string;
121
- borderRadius: number;
122
- };
123
- totalsRow: {
124
- borderBottomWidth: number;
125
- borderColor: string;
126
- paddingTop: number;
127
- paddingBottom: number;
128
- paddingLeft: number;
129
- paddingRight: number;
130
- flexDirection: "row";
131
- justifyContent: "space-between";
132
- };
133
- totalsRowLast: {
134
- backgroundColor: string;
135
- borderRadius: number;
136
- paddingTop: number;
137
- paddingBottom: number;
138
- paddingLeft: number;
139
- paddingRight: number;
140
- flexDirection: "row";
141
- justifyContent: "space-between";
142
- };
143
- totalsLabel: {
144
- fontSize: string;
145
- color: string;
146
- };
147
- totalsValue: {
148
- fontSize: string;
149
- color: string;
150
- fontWeight: number;
151
- };
152
- totalsLabelBold: {
153
- fontSize: string;
154
- color: string;
155
- fontWeight: number;
156
- };
157
- totalsValueBold: {
158
- fontSize: string;
159
- color: string;
160
- fontWeight: number;
161
- };
162
- notesSection: {
163
- borderWidth: number;
164
- borderColor: string;
165
- borderRadius: number;
166
- padding: number;
167
- };
168
- notesText: {
169
- fontSize: string;
170
- color: string;
171
- lineHeight: number;
172
- };
173
- badge: {
174
- alignSelf: "flex-start";
175
- paddingTop: number;
176
- paddingBottom: number;
177
- paddingLeft: number;
178
- paddingRight: number;
179
- borderRadius: number;
180
- };
181
- badgeText: {
182
- fontSize: string;
183
- fontWeight: number;
184
- color: string;
185
- };
186
- section: {
187
- marginBottom: number;
188
- };
189
- logoBox: {
190
- width: string;
191
- height: string;
192
- borderRadius: number;
193
- justifyContent: "center";
194
- alignItems: "center";
195
- };
196
- logoText: {
197
- fontSize: string;
198
- fontWeight: number;
199
- color: string;
200
- letterSpacing: number;
201
- textTransform: "uppercase";
202
- };
203
- headerCentre: {
204
- flex: string;
205
- flexDirection: "column";
206
- alignItems: "center";
207
- };
208
- headerSubtitle: {
209
- fontSize: string;
210
- color: string;
211
- marginTop: number;
212
- };
213
- qrBox: {
214
- width: string;
215
- height: string;
216
- borderRadius: number;
217
- };
218
- heading1: {
219
- fontSize: string;
220
- fontWeight: number;
221
- color: string;
222
- marginBottom: number;
223
- };
224
- heading2: {
225
- fontSize: string;
226
- fontWeight: number;
227
- color: string;
228
- marginBottom: number;
229
- };
230
- heading3: {
231
- fontSize: string;
232
- fontWeight: number;
233
- color: string;
234
- marginBottom: number;
235
- };
236
- textBody: {
237
- fontSize: string;
238
- color: string;
239
- };
240
- textMuted: {
241
- fontSize: string;
242
- color: string;
243
- };
244
- textCaption: {
245
- fontSize: string;
246
- color: string;
247
- };
248
- textLabel: {
249
- fontSize: string;
250
- fontWeight: number;
251
- color: string;
252
- textTransform: "uppercase";
253
- };
254
- link: {
255
- color: string;
256
- textDecoration: "underline";
257
- };
258
- tableEmpty: {
259
- fontSize: string;
260
- color: string;
261
- fontStyle: "italic";
262
- };
263
- tableFooter: {
264
- gap: number;
265
- paddingTop: number;
266
- paddingBottom: number;
267
- paddingLeft: number;
268
- paddingRight: number;
269
- flexDirection: "row";
270
- };
271
- tableFooterCell: {
272
- fontSize: string;
273
- fontWeight: number;
274
- color: string;
275
- };
276
- metric: {
277
- flex: string;
278
- borderWidth: number;
279
- borderColor: string;
280
- borderRadius: number;
281
- padding: number;
282
- gap: number;
283
- };
284
- metricValue: {
285
- fontSize: string;
286
- fontWeight: number;
287
- color: string;
288
- };
289
- deltaUp: {
290
- fontSize: string;
291
- color: string;
292
- };
293
- deltaDown: {
294
- fontSize: string;
295
- color: string;
296
- };
297
- pageNumber: {
298
- fontSize: string;
299
- color: string;
300
- };
301
- };
302
- export type PdfStyles = ReturnType<typeof createPdfStyles>;
303
- export type PdfStyleName = keyof PdfStyles;
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { S as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createPacketServices };
@@ -1,153 +0,0 @@
1
- //#region lib/lib/pdf-source.ts
2
- var e = (e) => Object.prototype.toString.call(e);
3
- function t(t) {
4
- return e(t) === "[object ArrayBuffer]";
5
- }
6
- function n(e) {
7
- return t(e) || ArrayBuffer.isView(e);
8
- }
9
- function r(t) {
10
- if (typeof Blob < "u" && t instanceof Blob) return !0;
11
- let n = e(t);
12
- return n === "[object Blob]" || n === "[object File]";
13
- }
14
- function i(e) {
15
- return typeof URL < "u" && e instanceof URL;
16
- }
17
- function a(e) {
18
- return typeof e == "object" && !!e && !n(e) && !r(e) && !i(e) && "url" in e;
19
- }
20
- function o(e) {
21
- return typeof e == "string" ? e : i(e) ? e.href : a(e) ? String(e.url) : null;
22
- }
23
- var s = /* @__PURE__ */ new WeakMap(), c = 0;
24
- function l(e) {
25
- let t = s.get(e);
26
- return t === void 0 && (c += 1, t = c, s.set(e, t)), t;
27
- }
28
- function u(e) {
29
- if (e == null) return "";
30
- let t = o(e);
31
- if (t !== null) {
32
- if (!a(e)) return `url:${t}`;
33
- let n = Object.entries(e.httpHeaders ?? {}).sort(([e], [t]) => e < t ? -1 : +(e > t));
34
- return `url+:${JSON.stringify([
35
- t,
36
- n,
37
- !!e.withCredentials
38
- ])}`;
39
- }
40
- return typeof e == "object" ? `bytes:${l(e)}` : `invalid:${String(e)}`;
41
- }
42
- function d(e) {
43
- return e.byteLength === 0 ? /* @__PURE__ */ new Uint8Array() : t(e) ? new Uint8Array(e.slice(0)) : new Uint8Array(e.buffer, e.byteOffset, e.byteLength).slice();
44
- }
45
- function f(t) {
46
- if (r(t)) return t;
47
- if (n(t)) return new Blob([d(t)], { type: "application/pdf" });
48
- let i = o(t);
49
- if (i === null) throw TypeError(`PdfReader cannot open ${e(t)}: pass a URL, a Blob, an ArrayBuffer, a Uint8Array or { url, httpHeaders }.`);
50
- return a(t) ? {
51
- url: i,
52
- ...t.httpHeaders && { httpHeaders: t.httpHeaders },
53
- ...t.withCredentials && { withCredentials: !0 }
54
- } : { url: i };
55
- }
56
- async function p(e) {
57
- let t = f(e);
58
- return r(t) ? { data: new Uint8Array(await t.arrayBuffer()) } : t;
59
- }
60
- //#endregion
61
- //#region lib/lib/pdf-file-name.ts
62
- var m = "document";
63
- function h(e) {
64
- return /\.pdf$/i.test(e) ? e : `${e}.pdf`;
65
- }
66
- function g(e) {
67
- try {
68
- let { pathname: t, protocol: n } = new URL(e, "http://localhost/");
69
- return n === "blob:" || n === "data:" ? "" : decodeURIComponent(t.split("/").pop() ?? "").replace(/[\\/]/g, "_");
70
- } catch {
71
- return "";
72
- }
73
- }
74
- function _(e) {
75
- if (r(e)) {
76
- let { name: t } = e;
77
- return typeof t == "string" ? t : "";
78
- }
79
- let t = o(e);
80
- return t === null ? "" : g(t);
81
- }
82
- function v(e, t, n = m) {
83
- return h(t?.trim() || _(e).trim() || n.trim() || "document");
84
- }
85
- //#endregion
86
- //#region lib/lib/pdf-download.ts
87
- var y = 6e4;
88
- function b(e) {
89
- if (a(e)) return {
90
- headers: e.httpHeaders,
91
- credentials: e.withCredentials ? "include" : "same-origin"
92
- };
93
- }
94
- async function x(e, t) {
95
- let n = o(e);
96
- if (n === null) return r(e) ? e : new Blob([d(e)], { type: "application/pdf" });
97
- try {
98
- let e = await t?.();
99
- if (e?.byteLength) return new Blob([d(e)], { type: "application/pdf" });
100
- } catch {}
101
- try {
102
- let t = b(e), r = await (t ? fetch(n, t) : fetch(n));
103
- return r.ok ? await r.blob() : null;
104
- } catch {
105
- return null;
106
- }
107
- }
108
- function S(e) {
109
- window.setTimeout(() => URL.revokeObjectURL(e), y);
110
- }
111
- function C(e, t) {
112
- let n = document.createElement("a");
113
- n.href = e;
114
- for (let [e, r] of Object.entries(t)) n.setAttribute(e, r);
115
- n.style.display = "none", document.body.append(n), n.click(), n.remove();
116
- }
117
- function w(e, t) {
118
- let n = URL.createObjectURL(e);
119
- C(n, { download: t }), S(n);
120
- }
121
- function T(e) {
122
- C(e, {
123
- target: "_blank",
124
- rel: "noopener"
125
- });
126
- }
127
- function E(e) {
128
- return a(e) && e.httpHeaders ? null : o(e);
129
- }
130
- async function D(e, t = {}) {
131
- let n = v(e, t.fileName, t.defaultName), r = await x(e, t.getData), i = E(e);
132
- r ? w(r, n) : i !== null && T(i);
133
- }
134
- async function O(e, t = {}) {
135
- let n = await x(e, t.getData);
136
- if (!n) {
137
- let t = E(e);
138
- t !== null && T(t);
139
- return;
140
- }
141
- let r = URL.createObjectURL(n), i = document.createElement("iframe");
142
- i.setAttribute("aria-hidden", "true"), i.style.position = "fixed", i.style.right = "0", i.style.bottom = "0", i.style.width = "0", i.style.height = "0", i.style.border = "0", i.src = r, i.onload = () => {
143
- try {
144
- i.contentWindow?.focus(), i.contentWindow?.print();
145
- } catch {
146
- T(r);
147
- } finally {
148
- window.setTimeout(() => i.remove(), 1e3), S(r);
149
- }
150
- }, document.body.append(i);
151
- }
152
- //#endregion
153
- export { u as a, v as i, D as n, p as o, O as r, f as s, y as t };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { b as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createPieServices };
@@ -1,53 +0,0 @@
1
- import { t as e } from "./print-fraction-digits-WtEBeztr.js";
2
- //#region lib/lib/print-format.utils.ts
3
- var t = "—", n = /^(\d{4})-(\d{2})-(\d{2})$/;
4
- function r(n, r, i = {}) {
5
- if (n == null) return t;
6
- let { locale: a, fractionDigits: o } = i, s = e(o) ?? (r ? void 0 : 2);
7
- try {
8
- return new Intl.NumberFormat(a, {
9
- style: r ? "currency" : "decimal",
10
- currency: r || void 0,
11
- minimumFractionDigits: s,
12
- maximumFractionDigits: s
13
- }).format(n);
14
- } catch {
15
- return `${n.toFixed(s ?? 2)}${r ? ` ${r}` : ""}`;
16
- }
17
- }
18
- function i(e, r = {}) {
19
- if (e == null || e === "") return t;
20
- let { locale: i, timeZone: a, dateStyle: o = "medium", timeStyle: s } = r, c = typeof e == "string" ? n.exec(e) : null;
21
- try {
22
- if (c) {
23
- let [, t, n, r] = c, a = /* @__PURE__ */ new Date(0);
24
- return a.setUTCFullYear(+t, n - 1, +r), a.getUTCMonth() !== n - 1 || a.getUTCDate() !== +r ? e : new Intl.DateTimeFormat(i, {
25
- dateStyle: o,
26
- timeZone: "UTC"
27
- }).format(a);
28
- }
29
- let n = e instanceof Date ? e : new Date(e);
30
- return Number.isNaN(n.getTime()) ? typeof e == "string" ? e : t : new Intl.DateTimeFormat(i, {
31
- dateStyle: o,
32
- timeStyle: s,
33
- timeZone: a
34
- }).format(n);
35
- } catch {
36
- return typeof e == "string" ? e : t;
37
- }
38
- }
39
- function a(e = {}) {
40
- return {
41
- formatAmount: (t, n, i) => r(t, n, {
42
- ...i,
43
- locale: i?.locale ?? e.locale
44
- }),
45
- formatDate: (t, n) => i(t, {
46
- ...n,
47
- locale: n?.locale ?? e.locale,
48
- timeZone: n?.timeZone ?? e.timeZone
49
- })
50
- };
51
- }
52
- //#endregion
53
- export { r as n, i as r, a as t };
@@ -1,5 +0,0 @@
1
- function e(e) {
2
- if (!(e === void 0 || !Number.isFinite(e))) return Math.min(20, Math.max(0, Math.trunc(e)));
3
- }
4
- //#endregion
5
- export { e as t };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { v as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createRadarServices };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { g as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createRailroadServices };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { m as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createRailroadAbnfServices };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { f as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createRailroadEbnfServices };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { u as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createRailroadPegServices };
@@ -1,28 +0,0 @@
1
- import "./src-BIbdeDuO.js";
2
- import "./chunk-ZIGJFQKS-Dqo-x9kg.js";
3
- import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import "./chunk-O7XYJQB3-CocGKgmL.js";
5
- import "./chunk-742MDFTN-C8SK_MEU.js";
6
- import "./chunk-MBY4JIJT-efJLM0ZL.js";
7
- import "./chunk-7PRAP22T-DSh07ASj.js";
8
- import "./chunk-7INBJB4K-CyUOVm3_.js";
9
- import "./chunk-5DYCD2WN-B2Jnu3zk.js";
10
- import "./chunk-Z7XXMR3K-D00WQ1MY.js";
11
- import "./chunk-GWA4HPMP-LeZ8CTY7.js";
12
- import "./chunk-XXDRQBXY-mQqOBHO_.js";
13
- import "./chunk-WEXAMYUT-Dt2jrFYj.js";
14
- import "./chunk-UA2S7LBM-C81eiQ4_.js";
15
- import "./chunk-GNY47TPC-CNRH-hmN.js";
16
- import "./chunk-LNGE3PJU-CiGrDO_F.js";
17
- import { r as t, t as n } from "./chunk-7M6MHVWA-stRISv0F.js";
18
- //#region node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-TC7HE7FX.mjs
19
- var r = n({ styles: /* @__PURE__ */ e((e) => `${t(e)}
20
- .swimlane.cluster:not([data-color-id]) rect {
21
- stroke: ${e.clusterBorder} !important;
22
- }
23
- [data-look="neo"].cluster rect {
24
- filter: none;
25
- }
26
- `, "getStyles") });
27
- //#endregion
28
- export { r as diagram };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { c as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createTreeViewServices };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { o as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createTreemapServices };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { i as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createWardleyServices };