@nxgt/material 2.2.0 → 2.3.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.
Files changed (214) 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/roadmap.md +9 -0
  157. package/docs/troubleshooting.md +57 -2
  158. package/package.json +30 -33
  159. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +0 -3
  160. package/dist/channel-CUIVvEUM.js +0 -5
  161. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +0 -3
  162. package/dist/diagram-3UASUU5V-BEydDExL.js +0 -724
  163. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +0 -3
  164. package/dist/flowDiagram-KWPJA3E3-uiZryqlC.js +0 -17
  165. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +0 -3
  166. package/dist/info-A6RAGUB7-BvtuPd9C.js +0 -3
  167. package/dist/lib/components/ui/fields/currency-field/currency-digits.d.ts +0 -7
  168. package/dist/lib/components/ui/forms/field-blur-layers.d.ts +0 -34
  169. package/dist/lib/components/ui/media/pdf-viewer/pdf-document-search.d.ts +0 -44
  170. package/dist/lib/components/ui/media/pdf-viewer/pdf-escape.d.ts +0 -6
  171. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-geometry.d.ts +0 -57
  172. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-sizes.d.ts +0 -37
  173. package/dist/lib/components/ui/media/pdf-viewer/pdf-scroll-spy.d.ts +0 -42
  174. package/dist/lib/components/ui/media/pdf-viewer/pdf-text-search.d.ts +0 -25
  175. package/dist/lib/lib/pdf-download.d.ts +0 -35
  176. package/dist/lib/lib/pdf-file-name.d.ts +0 -9
  177. package/dist/lib/lib/pdf-source.d.ts +0 -57
  178. package/dist/lib/lib/print-format.utils.d.ts +0 -59
  179. package/dist/lib/lib/print-fraction-digits.d.ts +0 -12
  180. package/dist/lib/lib/print-table.utils.d.ts +0 -60
  181. package/dist/lib/lib/print-value.utils.d.ts +0 -40
  182. package/dist/lib/pdf-core/file-loader.d.ts +0 -18
  183. package/dist/lib/pdf-core/http.d.ts +0 -22
  184. package/dist/lib/pdf-core/index.d.ts +0 -11
  185. package/dist/lib/pdf-core/model/builders.d.ts +0 -54
  186. package/dist/lib/pdf-core/model/data-table.d.ts +0 -24
  187. package/dist/lib/pdf-core/model/index.d.ts +0 -4
  188. package/dist/lib/pdf-core/model/nodes.d.ts +0 -133
  189. package/dist/lib/pdf-core/model/theme.d.ts +0 -16
  190. package/dist/lib/pdf-core/model/types.d.ts +0 -108
  191. package/dist/lib/pdf-core/render/context.d.ts +0 -50
  192. package/dist/lib/pdf-core/render/document.d.ts +0 -21
  193. package/dist/lib/pdf-core/render/index.d.ts +0 -5
  194. package/dist/lib/pdf-core/render/nodes/blocks.d.ts +0 -19
  195. package/dist/lib/pdf-core/render/nodes/header.d.ts +0 -14
  196. package/dist/lib/pdf-core/render/nodes/layout.d.ts +0 -44
  197. package/dist/lib/pdf-core/render/nodes/table.d.ts +0 -14
  198. package/dist/lib/pdf-core/render/page.d.ts +0 -30
  199. package/dist/lib/pdf-core/render/render-node.d.ts +0 -10
  200. package/dist/lib/pdf-core/render/styles.d.ts +0 -303
  201. package/dist/packet-AYTQ26CC-CshIswP8.js +0 -3
  202. package/dist/pdf-download-hrKrI5_6.js +0 -153
  203. package/dist/pie-WAS4IAKB-CYs22y4X.js +0 -3
  204. package/dist/print-format.utils-B7K9qvuo.js +0 -53
  205. package/dist/print-fraction-digits-WtEBeztr.js +0 -5
  206. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +0 -3
  207. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +0 -3
  208. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +0 -3
  209. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +0 -3
  210. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +0 -3
  211. package/dist/swimlanesDiagram-TC7HE7FX-DO3BxSlE.js +0 -28
  212. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +0 -3
  213. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +0 -3
  214. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +0 -3
@@ -1,17 +1,17 @@
1
- import { n as e } from "./src-BIbdeDuO.js";
2
- import "./chunk-ZIGJFQKS-Dqo-x9kg.js";
3
- import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { Y as n, f as r, it as i, nt as a, tt as o, x as s, z as c } from "./chunk-O7XYJQB3-CocGKgmL.js";
5
- import { t as l } from "./chunk-6AEJRKK7-C9kihZu8.js";
6
- import "./chunk-742MDFTN-C8SK_MEU.js";
7
- import "./chunk-MBY4JIJT-efJLM0ZL.js";
8
- import { t as u } from "./chunk-5VM5RSS4-Cr17nBXp.js";
9
- import "./chunk-7PRAP22T-DSh07ASj.js";
10
- import "./chunk-7INBJB4K-CyUOVm3_.js";
11
- import { i as d, r as f } from "./chunk-5DYCD2WN-B2Jnu3zk.js";
12
- import { r as p } from "./chunk-UA2S7LBM-C81eiQ4_.js";
13
- import { n as m, t as h } from "./chunk-LNGE3PJU-CiGrDO_F.js";
14
- //#region node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-PNTS6WVX.mjs
1
+ import { n as e } from "./src-CJ8DNrI1.js";
2
+ import "./chunk-ZIGJFQKS-HDJ6e6OJ.js";
3
+ import { n as t } from "./chunk-Y2CYZVJY-BAad7w_K.js";
4
+ import { Y as n, f as r, it as i, nt as a, tt as o, x as s, z as c } from "./chunk-O7XYJQB3-C87zK8E5.js";
5
+ import { t as l } from "./chunk-6AEJRKK7-DDXoGWDs.js";
6
+ import "./chunk-742MDFTN-nG_ROTnT.js";
7
+ import "./chunk-MBY4JIJT-IA2XBafa.js";
8
+ import { t as u } from "./chunk-5VM5RSS4-BFskf6Qk.js";
9
+ import "./chunk-7PRAP22T-DIiYRAce.js";
10
+ import "./chunk-7INBJB4K-Dg64CbhT.js";
11
+ import { i as d, r as f } from "./chunk-5DYCD2WN-Bqi3iL5i.js";
12
+ import { r as p } from "./chunk-UA2S7LBM-B0LGFGu3.js";
13
+ import { n as m, t as h } from "./chunk-LNGE3PJU-DJjGTS7O.js";
14
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-PNTS6WVX.mjs
15
15
  var g = (function() {
16
16
  var e = /* @__PURE__ */ t(function(e, t, n, r) {
17
17
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
@@ -1,4 +1,4 @@
1
- //#region node_modules/mermaid/node_modules/katex/dist/katex.mjs
1
+ //#region ../../node_modules/mermaid/node_modules/katex/dist/katex.mjs
2
2
  var e = class e extends Error {
3
3
  constructor(t, n) {
4
4
  var r = "KaTeX parse error: " + t, i, a, o = n && n.loc;
@@ -1,8 +1,8 @@
1
- export type { PdfjsSourceParams, PdfjsUrlParams, PdfSource, PdfUrlSource, } from '../../../../lib/pdf-source';
2
- export { toPdfjsParams, toPdfjsSource } from '../../../../lib/pdf-source';
1
+ export type { PdfjsSourceParams, PdfjsUrlParams, PdfSource, PdfUrlSource, } from '@nxgt/material-core/pdf-source';
2
+ export { toPdfjsParams, toPdfjsSource } from '@nxgt/material-core/pdf-source';
3
+ export type { PdfPageSize } from '@nxgt/material-core/pdf-viewer';
3
4
  export type { PdfOutlineSidebarProps } from './pdf-outline-sidebar';
4
5
  export { PdfOutlineSidebar } from './pdf-outline-sidebar';
5
- export type { PdfPageSize } from './pdf-page-geometry';
6
6
  export type { PdfPageListProps } from './pdf-page-list';
7
7
  export { PdfPageList } from './pdf-page-list';
8
8
  export type { PdfReaderProps } from './pdf-reader';
@@ -1,4 +1,4 @@
1
- import { PdfPageSize } from './pdf-page-geometry';
1
+ import { PdfPageSize } from '@nxgt/material-core/pdf-viewer';
2
2
  import { PdfSearchHighlight } from './use-pdf-search-hits';
3
3
  export type PdfPageListProps = {
4
4
  numPages: number;
@@ -1,6 +1,6 @@
1
+ import { PdfjsUrlParams } from '@nxgt/material-core/pdf-source';
2
+ import { PdfLoadedDocument } from '@nxgt/material-core/pdf-viewer';
1
3
  import { RefObject } from 'react';
2
- import { PdfjsUrlParams } from '../../../../lib/pdf-source';
3
- import { PdfLoadedDocument } from './pdf-page-sizes';
4
4
  import { PdfExternalLinkTarget, PdfOutlineNode, PdfReaderState } from './types';
5
5
  import { PdfSearchHighlight } from './use-pdf-search-hits';
6
6
  type Actions = {
@@ -1,4 +1,4 @@
1
- import { PdfPageSize } from './pdf-page-geometry';
1
+ import { PdfPageSize } from '@nxgt/material-core/pdf-viewer';
2
2
  import { FitMode, PdfOutlineNode, PdfReaderOptions, PdfReaderState, PdfSidebarTab } from './types';
3
3
  export declare const ZOOM_STEP = 0.15;
4
4
  export declare const MIN_SCALE = 0.25;
@@ -1,4 +1,4 @@
1
- import { PdfPageSize } from './pdf-page-geometry';
1
+ import { PdfPageSize } from '@nxgt/material-core/pdf-viewer';
2
2
  import { PdfOutlineNode, PdfSidebarTab } from './types';
3
3
  export type PdfSidebarProps = {
4
4
  tab: PdfSidebarTab;
@@ -1,4 +1,4 @@
1
- import { PdfPageSize } from './pdf-page-geometry';
1
+ import { PdfPageSize } from '@nxgt/material-core/pdf-viewer';
2
2
  export type PdfThumbnailSidebarProps = {
3
3
  numPages: number;
4
4
  currentPage: number;
@@ -1,6 +1,6 @@
1
- import { PdfSource } from '../../../../lib/pdf-source';
2
- import { PdfPageSize } from './pdf-page-geometry';
3
- export type FitMode = 'width' | 'page' | 'custom';
1
+ import { PdfSource } from '@nxgt/material-core/pdf-source';
2
+ import { FitMode, PdfPageSize } from '@nxgt/material-core/pdf-viewer';
3
+ export type { FitMode };
4
4
  export type PdfSidebarTab = 'thumbs' | 'outline';
5
5
  export type PdfOutlineNode = {
6
6
  title: string;
@@ -1,5 +1,5 @@
1
+ import { PdfDocumentMatches, searchDocument } from '@nxgt/material-core/pdf-viewer';
1
2
  import { RefObject } from 'react';
2
- import { PdfDocumentMatches, searchDocument } from './pdf-document-search';
3
3
  type SearchDocument = Parameters<typeof searchDocument>[0];
4
4
  /**
5
5
  * Reads every page's text for `query`, 150 ms after the last keystroke, and
@@ -1,5 +1,5 @@
1
+ import { PdfSource } from '@nxgt/material-core/pdf-source';
1
2
  import { RefObject } from 'react';
2
- import { PdfSource } from '../../../../lib/pdf-source';
3
3
  /** The toolbar's download and print: yours when given, else the built-in ones. */
4
4
  export declare function usePdfFileActions({ file, fileName, pdfRef, onDownload, onPrint, }: {
5
5
  file: PdfSource | null;
@@ -8,5 +8,5 @@ import { PdfReaderAction } from './pdf-reader.reducer';
8
8
  */
9
9
  export declare function usePdfPageArea(containerRef: RefObject<HTMLDivElement | null>, hasPages: boolean, dispatch: Dispatch<PdfReaderAction>): {
10
10
  reset(): void;
11
- load(pdf: import('./pdf-page-sizes').PdfLoadedDocument): Promise<void>;
11
+ load(pdf: import('@nxgt/material-core/pdf-viewer').PdfLoadedDocument): Promise<void>;
12
12
  };
@@ -1,4 +1,4 @@
1
- import { PdfLoadedDocument } from './pdf-page-sizes';
1
+ import { PdfLoadedDocument } from '@nxgt/material-core/pdf-viewer';
2
2
  import { FitMode, PdfOutlineNode, PdfReaderOptions, PdfSidebarTab } from './types';
3
3
  export declare function usePdfReader(options: PdfReaderOptions): {
4
4
  state: import('./types').PdfReaderState;
@@ -1,6 +1,5 @@
1
+ import { PdfPageText, PdfSearchHit, PdfTextRange, searchDocument } from '@nxgt/material-core/pdf-viewer';
1
2
  import { RefObject } from 'react';
2
- import { PdfSearchHit, searchDocument } from './pdf-document-search';
3
- import { PdfPageText, PdfTextRange } from './pdf-text-search';
4
3
  /** What the toolbar shows and drives: `hitIndex` is -1 before a jump. */
5
4
  export type PdfSearchHits = {
6
5
  hitIndex: number;
@@ -1,4 +1,4 @@
1
- import { PdfSource } from '../../../../lib/pdf-source';
1
+ import { PdfSource } from '@nxgt/material-core/pdf-source';
2
2
  /**
3
3
  * The source react-pdf's `Document` takes, one object per document: it
4
4
  * reloads whenever `file` changes identity, so an inline
@@ -1,4 +1,4 @@
1
- import { Formatters, FormattersOptions } from '../lib/print-format.utils';
1
+ import { Formatters, FormattersOptions } from '@nxgt/material-core/print-format';
2
2
  /**
3
3
  * `formatAmount` and `formatDate` bound to the `I18nProvider` language
4
4
  * (`'en'` without a provider), for a screen or a server-rendered page.
@@ -1,3 +1,4 @@
1
+ export { createFormatters, type DateInput, type FormatAmountOptions, type FormatDateOptions, type Formatters, type FormattersOptions, formatAmount, formatDate, } from '@nxgt/material-core/print-format';
1
2
  export * from './array.utils';
2
3
  export * from './build-field-options';
3
4
  export * from './client-only.utils';
@@ -5,7 +6,6 @@ export * from './date.utils';
5
6
  export * from './format.utils';
6
7
  export * from './number.utils';
7
8
  export * from './object.utils';
8
- export * from './print-format.utils';
9
9
  export * from './promise.utils';
10
10
  export * from './redux';
11
11
  export * from './storage.utils';
@@ -1,5 +1,5 @@
1
+ import { PrintColumn, PrintTableOptions } from '@nxgt/material-core/print-table';
1
2
  import { ReactElement } from 'react';
2
- import { PrintColumn, PrintTableOptions } from '../../../lib/print-table.utils';
3
3
  export type PrintDataTableProps<T> = PrintTableOptions & {
4
4
  columns: PrintColumn<T>[];
5
5
  rows: T[];
@@ -1,6 +1,6 @@
1
+ import { PrintColumn } from '@nxgt/material-core/print-table';
2
+ import { PrintValue } from '@nxgt/material-core/print-value';
1
3
  import { ReactElement } from 'react';
2
- import { PrintColumn } from '../../../lib/print-table.utils';
3
- import { PrintValue } from '../../../lib/print-value.utils';
4
4
  type PrintKeyValueLayout = {
5
5
  /** 1 or 2 columns of pairs; 1 by default. */
6
6
  columns?: 1 | 2;
@@ -1,6 +1,6 @@
1
+ import { PrintColumnFormat } from '@nxgt/material-core/print-table';
2
+ import { PrintValue } from '@nxgt/material-core/print-value';
1
3
  import { ReactElement, ReactNode } from 'react';
2
- import { PrintColumnFormat } from '../../../lib/print-table.utils';
3
- import { PrintValue } from '../../../lib/print-value.utils';
4
4
  export type PrintMetricProps = {
5
5
  label: string;
6
6
  /** A figure, formatted with `format`, or any print value. */
@@ -1,5 +1,5 @@
1
+ import { PdfMeta, PdfPageOptions } from '@nxgt/material-core/pdf/model';
1
2
  import { ReactNode } from 'react';
2
- import { PdfMeta, PdfPageOptions } from '../../../pdf-core/model/types';
3
3
  export type PrintPageInfo = {
4
4
  pageNumber: number;
5
5
  totalPages: number;
@@ -1,4 +1,4 @@
1
- import { PdfRenderContext } from '../../../pdf-core/render/context';
1
+ import { PdfRenderContext } from '@nxgt/material-core/pdf/render';
2
2
  /**
3
3
  * The document's render context — language, locale, time zone, styles —
4
4
  * shared by `PrintDocument` with the blocks inside it. Blocks rendered outside
@@ -1,4 +1,4 @@
1
- import { PdfNode } from '../../pdf-core/model/types';
1
+ import { PdfNode } from '@nxgt/material-core/pdf/model';
2
2
  export type PrintHeaderProps = Omit<Extract<PdfNode, {
3
3
  type: 'header';
4
4
  }>, 'type'>;
@@ -20,10 +20,10 @@
20
20
  * server whose runtime image has no `node_modules`, you also want
21
21
  * `pdfkitStandardFonts()` from `@nxgt/material/vite`.
22
22
  */
23
- export * from '../lib/print-format.utils';
24
- export * from '../lib/print-table.utils';
25
- export * from '../lib/print-value.utils';
26
- export * from '../pdf-core/model';
23
+ export { badge, type DataTableOptions, dataTable, defaultPdfTheme, definePdfDocument, divider, header, heading, image, keyValue, keyValueOf, link, metric, type PdfAlign, type PdfBox, type PdfColor, type PdfDocument, type PdfInline, type PdfJsonValue, type PdfMeta, type PdfNode, type PdfNodeType, type PdfPage, type PdfPageNumbers, type PdfPageOptions, type PdfPageSize, type PdfStyle, type PdfTableColumn, type PdfTheme, type PdfThemeColor, type PdfThemeOverrides, type PdfWatermark, page, pageBreak, pageNumber, pdfDocument, resolvePdfColor, resolvePdfTheme, row, section, spacer, stack, table, text, totals, } from '@nxgt/material-core/pdf/model';
24
+ export { createFormatters, type DateInput, type FormatAmountOptions, type FormatDateOptions, type Formatters, type FormattersOptions, formatAmount, formatDate, } from '@nxgt/material-core/print-format';
25
+ export { definePrintColumns, type PrintColumn, type PrintColumnFormat, type PrintColumnSource, type PrintTableOptions, type ResolvedPrintColumn, type ResolvedPrintTable, resolvePrintFields, resolvePrintTable, toPrintValue, } from '@nxgt/material-core/print-table';
26
+ export { formatPrintValue, isEmptyPrintValue, type PrintAmountValue, type PrintDateValue, type PrintNumberValue, type PrintValue, type PrintValueOptions, } from '@nxgt/material-core/print-value';
27
27
  export * from './components/print-badge';
28
28
  export * from './components/print-card';
29
29
  export * from './components/print-data-table';
@@ -1,5 +1,5 @@
1
- export type { PdfFileSnapshot } from '../../pdf-core/file-loader';
2
- export { contentDisposition, type PdfResponseOptions, } from '../../pdf-core/http';
1
+ export type { PdfFileSnapshot } from '@nxgt/material-core/pdf/file-loader';
2
+ export { contentDisposition, type PdfResponseOptions, } from '@nxgt/material-core/pdf/http';
3
3
  export * from './download-pdf';
4
4
  export * from './pdf-response';
5
5
  export * from './render-pdf';
@@ -1,4 +1,4 @@
1
- import { PdfResponseOptions } from '../../pdf-core/http';
1
+ import { PdfResponseOptions } from '@nxgt/material-core/pdf/http';
2
2
  import { PdfInput, PdfRenderInputOptions } from './types';
3
3
  /**
4
4
  * Renders the document into a Web `Response` a server route returns as it is
@@ -1,7 +1,7 @@
1
+ import { PdfDocument } from '@nxgt/material-core/pdf/model';
2
+ import { PdfCustomRenderer } from '@nxgt/material-core/pdf/render';
1
3
  import { DocumentProps } from '@react-pdf/renderer';
2
4
  import { ReactElement } from 'react';
3
- import { PdfDocument } from '../../pdf-core/model/types';
4
- import { PdfCustomRenderer } from '../../pdf-core/render/context';
5
5
  /**
6
6
  * What the output functions render: a react-pdf `Document` element (such as
7
7
  * a `<PrintDocument>`), or a document model built with the `/print`
@@ -16,4 +16,4 @@ export type PdfFileNameOptions = {
16
16
  /** Name of the file; `.pdf` is added when missing. `document.pdf` by default. */
17
17
  fileName?: string;
18
18
  };
19
- export type { PdfCustomRenderer, PdfRenderContext, } from '../../pdf-core/render/context';
19
+ export type { PdfCustomRenderer, PdfRenderContext, } from '@nxgt/material-core/pdf/render';
@@ -1,4 +1,4 @@
1
- import { PdfFileSnapshot } from '../../pdf-core/file-loader';
1
+ import { PdfFileSnapshot } from '@nxgt/material-core/pdf/file-loader';
2
2
  import { PdfInput, PdfRenderInputOptions } from './types';
3
3
  export type PdfFileState = PdfFileSnapshot & {
4
4
  /** Renders the document again. */
@@ -1,66 +1,7 @@
1
- import { Plugin } from 'vite';
2
1
  /**
3
- * Bundles pdfkit's fourteen standard fonts instead of leaving them to a
4
- * `require` that cannot work in a bundle.
5
- *
6
- * **Only needed by an app that renders PDFs** (`@nxgt/material/print`, or
7
- * `@nxgt/material-vue/pdf`). No other entry reaches `@react-pdf/renderer`, so
8
- * an app that does not print never sees this at all.
9
- * If you do print, read on, because the failure is spectacular and silent until
10
- * production.
11
- *
12
- * Both are built on `@react-pdf/renderer`, which is built on
13
- * `pdfkit`, whose node build ends with:
14
- *
15
- * ```js
16
- * const require$1 = createRequire(import.meta.url);
17
- * registerStdFontLoaders({ Helvetica: () => require$1('#standard-fonts/Helvetica'), … });
18
- * ```
19
- *
20
- * `#standard-fonts/*` is a package-`imports` entry **private to pdfkit**, and
21
- * that is a RUNTIME call, not an import — so no bundler resolves it. Bundle
22
- * pdfkit into an SSR server (`ssr.noExternal`) and the literal survives into the
23
- * output, where `createRequire` is rooted at the build directory and the importer
24
- * is no longer inside pdfkit. The server then throws on **every request**,
25
- * `/health` included:
26
- *
27
- * ```
28
- * error: Cannot find module '#standard-fonts/Helvetica' from '…/build/app.js'
29
- * ```
30
- *
31
- * A compose healthcheck that fetches a route never goes healthy either, so the
32
- * container looks like it is failing to start rather than failing to serve.
33
- *
34
- * This plugin rewrites those calls into static imports of
35
- * `./standard-fonts/<name>.mjs`, so the font data lands in the bundle and the
36
- * server stays self-contained. Use it when the runtime image has **no
37
- * `node_modules`** — a single-file `bun build` artifact copied alone into the
38
- * image. When the image does keep `node_modules`, the lighter answer is to leave
39
- * the library external instead (`--external` it in the bundle step, and keep it
40
- * out of `ssr.noExternal`), which also keeps ~12 MB of
41
- * pdfkit out of the artifact. In Nuxt, `nxgtMaterial: { pdf: {
42
- * bundleStandardFonts: true } }` adds this plugin to the Nitro build.
43
- *
44
- * ```ts
45
- * // `@nxgt/material/vite` in a React app: the same function
46
- * import { pdfkitStandardFonts } from '@nxgt/material-vue/vite';
47
- *
48
- * export default defineConfig({
49
- * plugins: [pdfkitStandardFonts()],
50
- * ssr: { noExternal: ['@nxgt/material-vue'] },
51
- * });
52
- * ```
53
- *
54
- * Two things that look like fixes and are not:
55
- *
56
- * - **`resolve.alias`** mapping `#standard-fonts/` to `pdfkit/standard-fonts/`.
57
- * An alias rewrites specifiers the resolver is *asked* about; this one is a
58
- * string handed to `createRequire` at runtime, which the resolver never sees.
59
- * - **`--external pdfkit`**. It is a transitive dependency, so the runtime cannot
60
- * resolve it from the app's own directory: `Cannot find package 'pdfkit'`.
61
- *
62
- * The plugin throws if a `#standard-fonts/` reference survives the rewrite, so a
63
- * future pdfkit that changes the shape of those calls fails the build instead of
64
- * the first request.
2
+ * Build-time helpers for the apps that consume this library: Node code that
3
+ * runs inside a consumer's `vite.config.ts`. The one copy lives in
4
+ * `@nxgt/material-core/vite`, shared with the sister library; this entry keeps
5
+ * the subpath consumers already import. See `pdfkitStandardFonts` there.
65
6
  */
66
- export declare function pdfkitStandardFonts(): Plugin;
7
+ export { pdfkitStandardFonts } from '@nxgt/material-core/vite';