@nxgt/material-vue 0.22.0 → 0.23.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 (231) hide show
  1. package/README.md +14 -1
  2. package/dist/{Button-pivhf0dI.js → Button-DcFHQ3oH.js} +2 -2
  3. package/dist/{DropdownMenuTrigger-CN8_B7pW.js → DropdownMenuTrigger-BHAhXGUO.js} +1 -1
  4. package/dist/{HoverCardTrigger-yygLSc07.js → HoverCardTrigger-D99aHKDX.js} +56 -85
  5. package/dist/{_Uint8Array-DT-6Im9e.js → _Uint8Array-2hFHkjYD.js} +20 -20
  6. package/dist/{_baseIsEqual-DO9tjdtt.js → _baseIsEqual-BUD8VQJE.js} +22 -22
  7. package/dist/{_defineProperty-BlaaM_1a.js → _defineProperty-C606G0Re.js} +2 -2
  8. package/dist/{_initCloneObject-BSldCT0L.js → _initCloneObject-D3WSYU-D.js} +15 -15
  9. package/dist/{abnfDiagram-O67JEVCF-Cl_I9xuI.js → abnfDiagram-O67JEVCF-zi427H-1.js} +8 -8
  10. package/dist/{arc-DNNg1pxp.js → arc-BVFnqPx6.js} +3 -3
  11. package/dist/architecture-7GRP2DOG-CMg7-eYj.js +3 -0
  12. package/dist/{architectureDiagram-NJMV4G6O-CVS4UUCi.js → architectureDiagram-NJMV4G6O-HNmyjC6R.js} +11 -11
  13. package/dist/{blockDiagram-BEXU5L5S-BsSbtJ0q.js → blockDiagram-BEXU5L5S-TXcaNPiA.js} +18 -18
  14. package/dist/{c4Diagram-YGBWAQC7-B6jKsl3h.js → c4Diagram-YGBWAQC7-DB1KwkmW.js} +10 -10
  15. package/dist/{camera-DquOJeHc.js → camera-C7V5U_xH.js} +11 -11
  16. package/dist/channel-B8wKCSzH.js +5 -0
  17. package/dist/{chunk-2Q5K7J3B-kzxEEeTu.js → chunk-2Q5K7J3B-C1pX24ft.js} +2 -2
  18. package/dist/{chunk-3FUC2YCW-BjAQA8CW.js → chunk-3FUC2YCW-Bw4AJEzl.js} +11 -11
  19. package/dist/{chunk-5DYCD2WN-B9vjeX2u.js → chunk-5DYCD2WN-4BDKWc4g.js} +5 -5
  20. package/dist/{chunk-5VM5RSS4-Cr17nBXp.js → chunk-5VM5RSS4-BFskf6Qk.js} +2 -2
  21. package/dist/{chunk-6AEJRKK7-D9IaQdwq.js → chunk-6AEJRKK7-D1W4b1Ir.js} +4 -4
  22. package/dist/{chunk-742MDFTN-BIhVe9GR.js → chunk-742MDFTN-Bh_u1X2k.js} +14 -14
  23. package/dist/{chunk-7INBJB4K-CwPgdc2G.js → chunk-7INBJB4K-OheKRjIZ.js} +10 -10
  24. package/dist/{chunk-7M6MHVWA-B6VDnhvE.js → chunk-7M6MHVWA-wgE1MsQ9.js} +14 -14
  25. package/dist/{chunk-7PRAP22T-CofnNOEr.js → chunk-7PRAP22T-CZmOrCLD.js} +3 -3
  26. package/dist/{chunk-DUW6YSOI-BdOla2G8.js → chunk-DUW6YSOI-9R-v-IIp.js} +2 -2
  27. package/dist/{chunk-FOHPRMQF-Crq0JMf2.js → chunk-FOHPRMQF-DBc3Omt0.js} +1 -1
  28. package/dist/{chunk-GNY47TPC-c_sooZ3L.js → chunk-GNY47TPC-BByCj-tp.js} +14 -14
  29. package/dist/{chunk-GTNCS2PH-BR0O70z_.js → chunk-GTNCS2PH--PxF9Mrf.js} +5 -5
  30. package/dist/{chunk-GWA4HPMP-DU9lUCZD.js → chunk-GWA4HPMP-hjyItnXu.js} +5 -5
  31. package/dist/{chunk-J5ZVWO5B-CYzz6Pq8.js → chunk-J5ZVWO5B-DmRRmhon.js} +2 -2
  32. package/dist/{chunk-JWPE2WC7-Ccb0QaC8.js → chunk-JWPE2WC7-BGVSGRTC.js} +2 -2
  33. package/dist/{chunk-LNGE3PJU-CiGrDO_F.js → chunk-LNGE3PJU-DJjGTS7O.js} +2 -2
  34. package/dist/{chunk-MBY4JIJT-HYVRUG_P.js → chunk-MBY4JIJT-ODeZ1ugd.js} +8 -8
  35. package/dist/{chunk-NETBCI7D-C8amwD_P.js → chunk-NETBCI7D-B_M68PfO.js} +3 -3
  36. package/dist/{chunk-O7XYJQB3-WMQqqzRb.js → chunk-O7XYJQB3-BDucxjeL.js} +5 -5
  37. package/dist/{chunk-UA2S7LBM-DtBatid7.js → chunk-UA2S7LBM-DN55-gzN.js} +10 -10
  38. package/dist/{chunk-WEXAMYUT-Cc10h8ed.js → chunk-WEXAMYUT-DufdZ2tS.js} +4 -4
  39. package/dist/{chunk-XXDRQBXY-B2pGFcse.js → chunk-XXDRQBXY-B9ckANit.js} +3 -3
  40. package/dist/{chunk-Y2CYZVJY-i11wjrBe.js → chunk-Y2CYZVJY-BAad7w_K.js} +1 -1
  41. package/dist/{chunk-Z7XXMR3K-CJmsOGTV.js → chunk-Z7XXMR3K-DdnrI6vA.js} +11 -11
  42. package/dist/{chunk-ZIGJFQKS-DBdWb0bj.js → chunk-ZIGJFQKS-JoSqKBE3.js} +44 -44
  43. package/dist/{classDiagram-v2-NBCMYWYE-BTeb-Duf.js → classDiagram-v2-NBCMYWYE-LDc3yyTu.js} +18 -18
  44. package/dist/{cloneDeep-Gp-zHISG.js → cloneDeep-Cv9TF8j3.js} +20 -20
  45. package/dist/{components-Bwxq-DLd.js → components-BSnW1NZK.js} +9731 -9766
  46. package/dist/components.js +8 -11
  47. package/dist/composables.js +13 -13
  48. package/dist/{cose-bilkent-JH36ORCC-DStMi-eo.js → cose-bilkent-JH36ORCC-DMu3MtOq.js} +4 -4
  49. package/dist/cynefin-OW5HDTMX-BGe4AjUw.js +3 -0
  50. package/dist/{cynefinDiagram-VND7K2PF-0Mq0e5NQ.js → cynefinDiagram-VND7K2PF-D5sBaWLI.js} +8 -8
  51. package/dist/{cytoscape.esm-_jXi1N4y.js → cytoscape.esm-DXVRLXF3.js} +1 -1
  52. package/dist/{dagre-6A5THRUB-DjL-7QUw.js → dagre-6A5THRUB-CCigPI-W.js} +91 -91
  53. package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-DQ8-aLi9.js} +12 -12
  54. package/dist/{diagram-22UHCM2B-BZRVXHfN.js → diagram-22UHCM2B-vav-BOss.js} +20 -20
  55. package/dist/{diagram-3UASUU5V-BznCZHss.js → diagram-3UASUU5V-CqXTP2Mz.js} +33 -33
  56. package/dist/{diagram-ATOU4E4O-DtIUxSAn.js → diagram-ATOU4E4O-Cgp2M2t6.js} +8 -8
  57. package/dist/{diagram-CDSNMT55-DOjN3BR2.js → diagram-CDSNMT55-Cn6ZdED_.js} +10 -10
  58. package/dist/{diagram-MLGK6HIB-Dx2UboD6.js → diagram-MLGK6HIB-BRXHWpn7.js} +8 -8
  59. package/dist/{diagram-MPIPVDR6-DnPL3RV0.js → diagram-MPIPVDR6-bi_zEJWx.js} +8 -8
  60. package/dist/{dist-D9zvfe2i.js → dist-Dt_YNX2O.js} +2 -2
  61. package/dist/dnd.js +1 -1
  62. package/dist/{ebnfDiagram-ZINNZB2B-BNbxCL0b.js → ebnfDiagram-ZINNZB2B-C5aSFX4G.js} +8 -8
  63. package/dist/{elk-276RUBZZ-Dk9afnNr.js → elk-276RUBZZ-BJJUfdzz.js} +14 -14
  64. package/dist/{erDiagram-OPXOYQCR-CbcJosNF.js → erDiagram-OPXOYQCR-BV3UGLoQ.js} +17 -17
  65. package/dist/{es-BuwtGDrj.js → es-DHDGcYW_.js} +8 -8
  66. package/dist/eventmodeling-NTZA5JFV-38h1xeNf.js +3 -0
  67. package/dist/flowDiagram-KWPJA3E3-B3AfwLQk.js +17 -0
  68. package/dist/{ganttDiagram-FUAMR5RP-64EZDDmC.js → ganttDiagram-FUAMR5RP-Vt6mFjaq.js} +28 -28
  69. package/dist/{get-Bo6bWpt-.js → get-CTzJAwfc.js} +47 -47
  70. package/dist/gitGraph-4MIJSDKK-C-5NH3Jx.js +3 -0
  71. package/dist/{gitGraphDiagram-X574FWY7-DmMMrp5A.js → gitGraphDiagram-X574FWY7-CE4Fp_CC.js} +8 -8
  72. package/dist/{graphlib-rFZlNaRl.js → graphlib-DQVPat8q.js} +42 -42
  73. package/dist/i18n.js +3 -3
  74. package/dist/{icon-button-BLvgnEFO.js → icon-button-DnjboAtZ.js} +2 -2
  75. package/dist/{image-cropper-canvas-BBPB5AKG.js → image-cropper-canvas-DZGLMjV6.js} +1 -1
  76. package/dist/info-A6RAGUB7-DTwpNebQ.js +3 -0
  77. package/dist/{infoDiagram-VRGFBTTK-XlBUAu0t.js → infoDiagram-VRGFBTTK-Ct4AP_ux.js} +6 -6
  78. package/dist/{init-MwSGRDIl.js → init-O6p85zx5.js} +1 -1
  79. package/dist/{isArrayLikeObject-BEv42rW5.js → isArrayLikeObject-Bs4bzQBR.js} +12 -12
  80. package/dist/{isEmpty-B1knfyUj.js → isEmpty-Cx_InbyF.js} +5 -5
  81. package/dist/{ishikawaDiagram-OU5B5YK6-C9cMWMPO.js → ishikawaDiagram-OU5B5YK6-Dw6IQYtd.js} +7 -7
  82. package/dist/{journeyDiagram-ZHPQQLJL-DXdfP9BW.js → journeyDiagram-ZHPQQLJL-BGCDYlgK.js} +7 -7
  83. package/dist/{kanban-definition-PNTS6WVX-DhOBy3A0.js → kanban-definition-PNTS6WVX-BkzhtlFU.js} +14 -14
  84. package/dist/{katex-BMQ6LGsM.js → katex-BLTzjTha.js} +1 -1
  85. package/dist/lib/components/ui/media/pdf-viewer/index.d.ts +9 -9
  86. package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-page-list.vue.d.ts +1 -1
  87. package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-page.vue.d.ts +1 -1
  88. package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-reader-body.vue.d.ts +2 -2
  89. package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-sidebar.vue.d.ts +1 -1
  90. package/dist/lib/components/ui/media/pdf-viewer/partials/pdf-thumbnail-sidebar.vue.d.ts +1 -1
  91. package/dist/lib/components/ui/media/pdf-viewer/pdf-text-layer.d.ts +1 -1
  92. package/dist/lib/components/ui/media/pdf-viewer/types.d.ts +3 -3
  93. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-document-search.d.ts +1 -1
  94. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-document.d.ts +2 -2
  95. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-file-actions.d.ts +1 -1
  96. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-page-area.d.ts +1 -1
  97. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-reader.d.ts +1 -1
  98. package/dist/lib/components/ui/media/pdf-viewer/use-pdf-search-hits.d.ts +1 -2
  99. package/dist/lib/composables/use-formatters.d.ts +1 -1
  100. package/dist/lib/lib/print-format.utils.d.ts +7 -57
  101. package/dist/lib/pdf/index.d.ts +7 -7
  102. package/dist/lib/pdf/output.d.ts +2 -2
  103. package/dist/lib/pdf/pdf-download-action.d.ts +1 -1
  104. package/dist/lib/pdf/renderer.d.ts +2 -2
  105. package/dist/lib/pdf/renderer.lazy.d.ts +1 -1
  106. package/dist/lib/pdf/use-pdf.d.ts +1 -1
  107. package/dist/lib/vite/index.d.ts +5 -64
  108. package/dist/lib.js +15 -16
  109. package/dist/{line-UP6dkL36.js → line-CAYWvrRN.js} +4 -4
  110. package/dist/{linear-bD_QoED_.js → linear-CobEklb6.js} +23 -23
  111. package/dist/main.js +15 -18
  112. package/dist/map.js +5 -5
  113. package/dist/{merge-Cdqy5M_E.js → merge-BzRhCAF6.js} +13 -13
  114. package/dist/{mermaid-parser.core-Cz-MfB4Z.js → mermaid-parser.core-BXD_TD1T.js} +32 -32
  115. package/dist/{mermaid.core-BJPK8qYI.js → mermaid.core-B2ydTQ4X.js} +59 -59
  116. package/dist/{mindmap-definition-NLK3R4M7-Dqo7INQ9.js → mindmap-definition-NLK3R4M7-DCb99I7s.js} +18 -18
  117. package/dist/{number.utils-B19BYzc_.js → number.utils-Cy1z6qI7.js} +47 -47
  118. package/dist/{ordinal-D_ZgubzR.js → ordinal-BCmOO3Sy.js} +3 -3
  119. package/dist/packet-AYTQ26CC-Cc2sGaDY.js +3 -0
  120. package/dist/{path-DGNPZRdx.js → path-3-p5y-N7.js} +3 -3
  121. package/dist/{pdf-D_G-uiri.js → pdf-MkmivNXn.js} +1 -1
  122. package/dist/{pdf-outline-sidebar-BVRKziX3.js → pdf-outline-sidebar-D45RuliO.js} +3 -3
  123. package/dist/pdf-page-QUKMeod_.js +255 -0
  124. package/dist/{pdf-page-list-Cy6S2VCO.js → pdf-page-list-DzfNykQj.js} +2 -2
  125. package/dist/pdf-reader-Bmj2kN0E.js +603 -0
  126. package/dist/{pdf-sidebar-DoGyXFtw.js → pdf-sidebar-CV_Hy9vw.js} +4 -4
  127. package/dist/{pdf-thumbnail-sidebar-DmayzCN2.js → pdf-thumbnail-sidebar-Cgk8Y79g.js} +4 -4
  128. package/dist/{pdf-toolbar-CZqa7bbp.js → pdf-toolbar-Cj_fCmo3.js} +6 -6
  129. package/dist/pdf.js +72 -363
  130. package/dist/{pdf.worker.min-DRpqlnXj.js → pdf.worker.min-ByGJNiUH.js} +1 -1
  131. package/dist/{pegDiagram-GJSIUBJH-gvsGke9W.js → pegDiagram-GJSIUBJH-C27MdQV_.js} +8 -8
  132. package/dist/pie-WAS4IAKB-Qm7ZL20Y.js +3 -0
  133. package/dist/{pieDiagram-5QR66LMP-DLBcErnI.js → pieDiagram-5QR66LMP-B_7CzTL0.js} +15 -15
  134. package/dist/{client-only.utils-KvNbU5SA.js → print-format.utils-DwJfU1tK.js} +40 -39
  135. package/dist/{quadrantDiagram-O4NWA36T-Bn3CmGxM.js → quadrantDiagram-O4NWA36T-D84Ta5MW.js} +5 -5
  136. package/dist/radar-RG4KPBEZ-TQ0zaqCR.js +3 -0
  137. package/dist/railroad-74A4TZTK-bk-BYNub.js +3 -0
  138. package/dist/railroad-abnf-HS5TGJTU-Bdw25bd-.js +3 -0
  139. package/dist/railroad-ebnf-LZEXJU2U-DiFjNUyt.js +3 -0
  140. package/dist/railroad-peg-WCYAUIDC-xf3JLr_Y.js +3 -0
  141. package/dist/{railroadDiagram-XR7U4H2S-DLeBxWbV.js → railroadDiagram-XR7U4H2S-Cw5CuVpF.js} +8 -8
  142. package/dist/renderer.lazy-DCZLnjCM.js +10 -0
  143. package/dist/{requirementDiagram-PLB6GJNP-Kk5ubF7h.js → requirementDiagram-PLB6GJNP-DnkvMOW6.js} +16 -16
  144. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-Cvc79rxE.js} +1 -1
  145. package/dist/{sankeyDiagram-IPEJSGJF-a4rFl5rR.js → sankeyDiagram-IPEJSGJF-jmnYqtty.js} +19 -19
  146. package/dist/{sequenceDiagram-PO4LG4MO-CjUigcL2.js → sequenceDiagram-PO4LG4MO-KN-jz2e0.js} +9 -9
  147. package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-C_032szM.js} +2 -2
  148. package/dist/{sortable-provider-DWSOOfI1.js → sortable-provider-CxI3cMbb.js} +3 -3
  149. package/dist/{src-CNRY2AUH.js → src-Pe71xVTz.js} +87 -87
  150. package/dist/{stateDiagram-v2-GCMORJYK-CrmN5l-3.js → stateDiagram-v2-GCMORJYK-BCh7NZQn.js} +17 -17
  151. package/dist/{stx-player-3Z0wuORy.js → stx-player-C3g6Pcxu.js} +3 -3
  152. package/dist/{swimlanes-2SLR337P-BkQTH51J.js → swimlanes-2SLR337P-BKV0Xke-.js} +14 -14
  153. package/dist/swimlanesDiagram-TC7HE7FX-D4-k5-iq.js +28 -0
  154. package/dist/{timeline-definition-EJHVYXUP-C0aHlt9K.js → timeline-definition-EJHVYXUP-BSBcDEzP.js} +8 -8
  155. package/dist/{intl-messageformat-C5e1ivyL.js → translator-BJPRdlc8.js} +171 -137
  156. package/dist/treeView-Q6P3EWNA-Dyk8HSag.js +3 -0
  157. package/dist/treemap-WGGIJYW6-CHrhBv7m.js +3 -0
  158. package/dist/{use-heading-spy-ByCrZQBk.js → use-heading-spy-xe2FFmGU.js} +2 -2
  159. package/dist/{use-material-translation-ClPGTJaN.js → use-material-translation-gr5V24w5.js} +1 -1
  160. package/dist/{usecaseDiagram-POWQR4AR-B1FgJuU5.js → usecaseDiagram-POWQR4AR-Bi5we59l.js} +403 -403
  161. package/dist/{utils-Cy-ByIEo.js → utils-CykWQ0iJ.js} +2 -2
  162. package/dist/{vennDiagram-UO4OBE2U-B22Jhju8.js → vennDiagram-UO4OBE2U-DC4GDZLl.js} +8 -8
  163. package/dist/vite.js +1 -17
  164. package/dist/wardley-WFR3VGLG-DnLHjx6k.js +3 -0
  165. package/dist/{wardleyDiagram-VNRHLVJA-Dw4YgRiQ.js → wardleyDiagram-VNRHLVJA-CZHdSrpN.js} +8 -8
  166. package/dist/{xychartDiagram-PMCCYNJV-DtuDs9I7.js → xychartDiagram-PMCCYNJV-CYfbQA4q.js} +14 -14
  167. package/docs/getting-started.md +20 -0
  168. package/docs/guides/pdf.md +5 -1
  169. package/docs/guides/ssr.md +7 -1
  170. package/docs/troubleshooting.md +30 -1
  171. package/lib/vite/index.ts +5 -125
  172. package/package.json +7 -10
  173. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +0 -3
  174. package/dist/channel-BA1GJyZ7.js +0 -5
  175. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +0 -3
  176. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +0 -3
  177. package/dist/flowDiagram-KWPJA3E3-Da1NFRX5.js +0 -17
  178. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +0 -3
  179. package/dist/info-A6RAGUB7-BvtuPd9C.js +0 -3
  180. package/dist/lib/components/ui/fields/currency-field/currency-digits.d.ts +0 -7
  181. package/dist/lib/components/ui/forms/field-blur-layers.d.ts +0 -34
  182. package/dist/lib/components/ui/media/pdf-viewer/pdf-document-search.d.ts +0 -44
  183. package/dist/lib/components/ui/media/pdf-viewer/pdf-escape.d.ts +0 -6
  184. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-geometry.d.ts +0 -57
  185. package/dist/lib/components/ui/media/pdf-viewer/pdf-page-sizes.d.ts +0 -37
  186. package/dist/lib/components/ui/media/pdf-viewer/pdf-scroll-spy.d.ts +0 -42
  187. package/dist/lib/components/ui/media/pdf-viewer/pdf-text-search.d.ts +0 -25
  188. package/dist/lib/lib/pdf-download.d.ts +0 -35
  189. package/dist/lib/lib/pdf-file-name.d.ts +0 -9
  190. package/dist/lib/lib/pdf-source.d.ts +0 -57
  191. package/dist/lib/lib/print-fraction-digits.d.ts +0 -12
  192. package/dist/lib/lib/print-table.utils.d.ts +0 -60
  193. package/dist/lib/lib/print-value.utils.d.ts +0 -40
  194. package/dist/lib/pdf-core/file-loader.d.ts +0 -18
  195. package/dist/lib/pdf-core/http.d.ts +0 -22
  196. package/dist/lib/pdf-core/index.d.ts +0 -11
  197. package/dist/lib/pdf-core/model/builders.d.ts +0 -54
  198. package/dist/lib/pdf-core/model/data-table.d.ts +0 -24
  199. package/dist/lib/pdf-core/model/index.d.ts +0 -4
  200. package/dist/lib/pdf-core/model/nodes.d.ts +0 -133
  201. package/dist/lib/pdf-core/model/theme.d.ts +0 -16
  202. package/dist/lib/pdf-core/model/types.d.ts +0 -108
  203. package/dist/lib/pdf-core/render/context.d.ts +0 -50
  204. package/dist/lib/pdf-core/render/document.d.ts +0 -21
  205. package/dist/lib/pdf-core/render/index.d.ts +0 -5
  206. package/dist/lib/pdf-core/render/nodes/blocks.d.ts +0 -19
  207. package/dist/lib/pdf-core/render/nodes/header.d.ts +0 -14
  208. package/dist/lib/pdf-core/render/nodes/layout.d.ts +0 -44
  209. package/dist/lib/pdf-core/render/nodes/table.d.ts +0 -14
  210. package/dist/lib/pdf-core/render/page.d.ts +0 -30
  211. package/dist/lib/pdf-core/render/render-node.d.ts +0 -10
  212. package/dist/lib/pdf-core/render/styles.d.ts +0 -303
  213. package/dist/packet-AYTQ26CC-CshIswP8.js +0 -3
  214. package/dist/pdf-download-WnIo-5y5.js +0 -94
  215. package/dist/pdf-page-CIJOEX08.js +0 -317
  216. package/dist/pdf-page-geometry-DXA9Duo_.js +0 -61
  217. package/dist/pdf-reader-DDLWi_kg.js +0 -745
  218. package/dist/pdf-source-CLguNN1r.js +0 -61
  219. package/dist/pie-WAS4IAKB-CYs22y4X.js +0 -3
  220. package/dist/print-format.utils-Cvgc3Mov.js +0 -56
  221. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +0 -3
  222. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +0 -3
  223. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +0 -3
  224. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +0 -3
  225. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +0 -3
  226. package/dist/renderer.lazy-CSZ6JIRd.js +0 -686
  227. package/dist/swimlanesDiagram-TC7HE7FX-BMfUzAWu.js +0 -28
  228. package/dist/translator-000Eza6E.js +0 -39
  229. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +0 -3
  230. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +0 -3
  231. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +0 -3
@@ -1,4 +1,4 @@
1
- //#region node_modules/clsx/dist/clsx.mjs
1
+ //#region ../../node_modules/clsx/dist/clsx.mjs
2
2
  function e(t) {
3
3
  var n, r, i = "";
4
4
  if (typeof t == "string" || typeof t == "number") i += t;
@@ -13,7 +13,7 @@ function t() {
13
13
  return i;
14
14
  }
15
15
  //#endregion
16
- //#region node_modules/tailwind-merge/dist/bundle-mjs.mjs
16
+ //#region ../../node_modules/tailwind-merge/dist/bundle-mjs.mjs
17
17
  var n = (e, t) => {
18
18
  let n = Array(e.length + t.length);
19
19
  for (let t = 0; t < e.length; t++) n[t] = e[t];
@@ -1,10 +1,10 @@
1
- import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
2
- import { p as t } from "./src-CNRY2AUH.js";
3
- import { H as n, U as r, a as i, b as a, c as o, f as s, it as c, nt as l, q as u, rt as d, tt as f, v as p, w as m, y as h } from "./chunk-O7XYJQB3-WMQqqzRb.js";
4
- import { i as g } from "./chunk-ZIGJFQKS-DBdWb0bj.js";
5
- import { t as _ } from "./chunk-6AEJRKK7-D9IaQdwq.js";
6
- import { t as v } from "./rough.esm-rcMoXTJj.js";
7
- //#region node_modules/khroma/dist/methods/transparentize.js
1
+ import { n as e } from "./chunk-Y2CYZVJY-BAad7w_K.js";
2
+ import { p as t } from "./src-Pe71xVTz.js";
3
+ import { H as n, U as r, a as i, b as a, c as o, f as s, it as c, nt as l, q as u, rt as d, tt as f, v as p, w as m, y as h } from "./chunk-O7XYJQB3-BDucxjeL.js";
4
+ import { i as g } from "./chunk-ZIGJFQKS-JoSqKBE3.js";
5
+ import { t as _ } from "./chunk-6AEJRKK7-D1W4b1Ir.js";
6
+ import { t as v } from "./rough.esm-Cvc79rxE.js";
7
+ //#region ../../node_modules/khroma/dist/methods/transparentize.js
8
8
  var y = (e, t) => d(e, "a", -t), b = 1e-10;
9
9
  function x(e, t) {
10
10
  let n = C(e), r = n.filter((t) => S(t, e)), i = 0, a = 0, o = [];
@@ -908,7 +908,7 @@ function we(e, t = {}) {
908
908
  }));
909
909
  }
910
910
  //#endregion
911
- //#region node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-UO4OBE2U.mjs
911
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/vennDiagram-UO4OBE2U.mjs
912
912
  var W = (function() {
913
913
  var t = /* @__PURE__ */ e(function(e, t, n, r) {
914
914
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
package/dist/vite.js CHANGED
@@ -1,18 +1,2 @@
1
- //#region lib/vite/index.ts
2
- function e() {
3
- let e = /[A-Za-z_$][\w$]*\(\s*(['"])#standard-fonts\/(\w+)\1\s*\)/g;
4
- return {
5
- name: "nxgt-material:pdfkit-standard-fonts",
6
- enforce: "pre",
7
- transform(t, n) {
8
- if (!n.includes("pdfkit") || !t.includes("#standard-fonts/")) return null;
9
- let r = /* @__PURE__ */ new Set(), i = t.replace(e, (e, t, n) => (r.add(n), `__stdFont_${n}`));
10
- return i.includes("#standard-fonts/") && this.error(`${n} still references '#standard-fonts/' after the transform — pdfkit changed how it loads its standard fonts. See the doc comment on pdfkitStandardFonts() in the /vite entry.`), {
11
- code: `${[...r].map((e) => `import __stdFont_${e} from './standard-fonts/${e}.mjs';`).join("\n")}\n${i}`,
12
- map: null
13
- };
14
- }
15
- };
16
- }
17
- //#endregion
1
+ import { pdfkitStandardFonts as e } from "@nxgt/material-core/vite";
18
2
  export { e as pdfkitStandardFonts };
@@ -0,0 +1,3 @@
1
+ import "./chunk-FOHPRMQF-DBc3Omt0.js";
2
+ import { i as e } from "./mermaid-parser.core-BXD_TD1T.js";
3
+ export { e as createWardleyServices };
@@ -1,11 +1,11 @@
1
- import { n as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
2
- import { n as t } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
- import { m as n } from "./src-CNRY2AUH.js";
4
- import { D as r, H as i, U as a, a as o, b as s, c, q as l, v as u, w as d, x as f, y as p } from "./chunk-O7XYJQB3-WMQqqzRb.js";
5
- import { i as m } from "./chunk-ZIGJFQKS-DBdWb0bj.js";
6
- import { t as h } from "./chunk-6AEJRKK7-D9IaQdwq.js";
7
- import { t as g } from "./chunk-JWPE2WC7-Ccb0QaC8.js";
8
- //#region node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-VNRHLVJA.mjs
1
+ import { n as e } from "./mermaid-parser.core-BXD_TD1T.js";
2
+ import { n as t } from "./chunk-Y2CYZVJY-BAad7w_K.js";
3
+ import { m as n } from "./src-Pe71xVTz.js";
4
+ import { D as r, H as i, U as a, a as o, b as s, c, q as l, v as u, w as d, x as f, y as p } from "./chunk-O7XYJQB3-BDucxjeL.js";
5
+ import { i as m } from "./chunk-ZIGJFQKS-JoSqKBE3.js";
6
+ import { t as h } from "./chunk-6AEJRKK7-D1W4b1Ir.js";
7
+ import { t as g } from "./chunk-JWPE2WC7-BGVSGRTC.js";
8
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-VNRHLVJA.mjs
9
9
  var _ = /* @__PURE__ */ t((e, t) => {
10
10
  let n = e <= 1 ? e * 100 : e;
11
11
  if (n < 0 || n > 100) throw Error(`${t} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${e}`);
@@ -1,22 +1,22 @@
1
- import { n as e } from "./chunk-Y2CYZVJY-i11wjrBe.js";
2
- import { m as t } from "./src-CNRY2AUH.js";
3
- import { D as n, H as r, U as i, a, b as o, c as s, f as c, q as l, v as u, w as d, y as f, z as p } from "./chunk-O7XYJQB3-WMQqqzRb.js";
4
- import { t as m } from "./linear-bD_QoED_.js";
5
- import { t as h } from "./ordinal-D_ZgubzR.js";
6
- import { t as g } from "./init-MwSGRDIl.js";
7
- import { i as _ } from "./chunk-ZIGJFQKS-DBdWb0bj.js";
8
- import { t as v } from "./line-UP6dkL36.js";
9
- import { t as y } from "./chunk-6AEJRKK7-D9IaQdwq.js";
10
- import "./chunk-742MDFTN-BIhVe9GR.js";
11
- import { t as b } from "./chunk-MBY4JIJT-HYVRUG_P.js";
12
- //#region node_modules/d3-array/src/range.js
1
+ import { n as e } from "./chunk-Y2CYZVJY-BAad7w_K.js";
2
+ import { m as t } from "./src-Pe71xVTz.js";
3
+ import { D as n, H as r, U as i, a, b as o, c as s, f as c, q as l, v as u, w as d, y as f, z as p } from "./chunk-O7XYJQB3-BDucxjeL.js";
4
+ import { t as m } from "./linear-CobEklb6.js";
5
+ import { t as h } from "./ordinal-BCmOO3Sy.js";
6
+ import { t as g } from "./init-O6p85zx5.js";
7
+ import { i as _ } from "./chunk-ZIGJFQKS-JoSqKBE3.js";
8
+ import { t as v } from "./line-CAYWvrRN.js";
9
+ import { t as y } from "./chunk-6AEJRKK7-D1W4b1Ir.js";
10
+ import "./chunk-742MDFTN-Bh_u1X2k.js";
11
+ import { t as b } from "./chunk-MBY4JIJT-ODeZ1ugd.js";
12
+ //#region ../../node_modules/d3-array/src/range.js
13
13
  function x(e, t, n) {
14
14
  e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
15
15
  for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
16
16
  return a;
17
17
  }
18
18
  //#endregion
19
- //#region node_modules/d3-scale/src/band.js
19
+ //#region ../../node_modules/d3-scale/src/band.js
20
20
  function S() {
21
21
  var e = h().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
22
22
  delete e.unknown;
@@ -53,7 +53,7 @@ function S() {
53
53
  }, g.apply(d(), arguments);
54
54
  }
55
55
  //#endregion
56
- //#region node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PMCCYNJV.mjs
56
+ //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PMCCYNJV.mjs
57
57
  var C = (function() {
58
58
  var t = /* @__PURE__ */ e(function(e, t, n, r) {
59
59
  for (n ||= {}, r = e.length; r--; n[e[r]] = t);
@@ -382,3 +382,23 @@ buttons, `Filter` shows its inline actions and trigger label, and
382
382
  `Notifications`, `Gallery`, `ImageCropperDialog` and `PaneLayout` open from
383
383
  their trigger without `v-model:open`. `LocationMarker` shows a "You are here"
384
384
  tooltip. Update visual snapshots accordingly.
385
+
386
+ ### 0.23.0: `@nxgt/material-core` comes with it
387
+
388
+ The PDF model and renderer, the print formatters and the other
389
+ framework-free helpers now live in `@nxgt/material-core`, which
390
+ `@nxgt/material-vue` depends on and re-exports at the same subpaths. Nothing
391
+ changes in your imports or your `package.json`: your install adds
392
+ `@nxgt/material-core` as a dependency.
393
+
394
+ The one thing to check: a server bundle that inlines `@nxgt/material-vue`
395
+ (`ssr.noExternal`, or a bundle step with an `--external` list), or that runs
396
+ without `node_modules`, must include `@nxgt/material-core` as well
397
+ ([details](troubleshooting.md#cannot-find-package-nxgtmaterial-core)):
398
+
399
+ ```ts
400
+ // vite.config.ts
401
+ export default defineConfig({
402
+ ssr: { noExternal: ['@nxgt/material-vue', '@nxgt/material-core'] },
403
+ });
404
+ ```
@@ -288,10 +288,14 @@ import { pdfkitStandardFonts } from '@nxgt/material-vue/vite';
288
288
 
289
289
  export default defineConfig({
290
290
  plugins: [pdfkitStandardFonts()],
291
- ssr: { noExternal: ['@nxgt/material-vue'] },
291
+ ssr: { noExternal: ['@nxgt/material-vue', '@nxgt/material-core'] },
292
292
  });
293
293
  ```
294
294
 
295
+ `@nxgt/material-core`, which the library's built code imports by name, is
296
+ bundled with it: leave it out and the server fails at boot with
297
+ [`Cannot find package '@nxgt/material-core'`](../troubleshooting.md#cannot-find-package-nxgtmaterial-core).
298
+
295
299
  The plugin fails the build if a reference survives, rather than the first
296
300
  request ([troubleshooting](../troubleshooting.md#cannot-find-module-standard-fontshelvetica)).
297
301
 
@@ -14,10 +14,15 @@ import { defineConfig } from 'vite';
14
14
 
15
15
  export default defineConfig({
16
16
  plugins: [vue()],
17
- ssr: { noExternal: ['@nxgt/material-vue'] },
17
+ ssr: { noExternal: ['@nxgt/material-vue', '@nxgt/material-core'] },
18
18
  });
19
19
  ```
20
20
 
21
+ `@nxgt/material-core` is a dependency of this package that its built code
22
+ imports by name: bundle it together with `@nxgt/material-vue`, or a server run
23
+ without it in `node_modules` fails at boot with
24
+ [`Cannot find package '@nxgt/material-core'`](../troubleshooting.md#cannot-find-package-nxgtmaterial-core).
25
+
21
26
  With that, **every module the barrels reach is evaluated when the server
22
27
  boots**, whether or not a page renders the component. A browser global touched
23
28
  at import time would crash the server before it answers anything.
@@ -262,6 +267,7 @@ export default defineNuxtPlugin((nuxtApp) => {
262
267
  | --- | --- | --- |
263
268
  | `ReferenceError: window is not defined` at server boot | `leaflet` (or another browser-only module) imported statically by your server code | Import maps from `@nxgt/material-vue/map` only, never `leaflet` directly; `clientOnly(defineAsyncComponent(() => import('./MapView.vue')))` for your own |
264
269
  | `ReferenceError: DOMMatrix is not defined` at server boot | a static `pdfjs-dist` import in your own code | `import()` + `clientOnly`, or use `PdfReader` |
270
+ | Built server fails at boot with `Cannot find package '@nxgt/material-core'` | the library bundled into the server, its core left out | Add `@nxgt/material-core` wherever `@nxgt/material-vue` is in `ssr.noExternal` or `--external` ([troubleshooting](../troubleshooting.md#cannot-find-package-nxgtmaterial-core)) |
265
271
  | Built server answers nothing on every route; its log names a module it cannot find | a bundled dependency whose loader resolves paths at runtime | Keep such a dependency out of your server bundle (`import()` + `clientOnly`), or leave it external |
266
272
  | A map renders as an empty box on the first paint | leaflet initialises in the browser only | Expected: wrap it in `<ClientOnly>` ([maps](maps.md#browser-only)) |
267
273
  | `getActivePinia()` was called but there was no active Pinia | a widget rendered on the server before Pinia was installed | `app.use(createPinia())` in the server entry too; in Nuxt the module does it |
@@ -38,6 +38,7 @@ words in your error.
38
38
  - [`ReferenceError: localStorage is not defined`](#referenceerror-localstorage-is-not-defined)
39
39
  - [`Hydration completed but contains mismatches.`](#hydration-completed-but-contains-mismatches)
40
40
  - [`Failed to resolve component: LocationFormField`](#failed-to-resolve-component-locationformfield)
41
+ - [`Cannot find package '@nxgt/material-core'`](#cannot-find-package-nxgtmaterial-core)
41
42
 
42
43
  **Pinia, router & forms**
43
44
 
@@ -724,6 +725,32 @@ import { I18nProvider } from '@nxgt/material-vue/i18n';
724
725
  </script>
725
726
  ```
726
727
 
728
+ ### `Cannot find package '@nxgt/material-core'`
729
+
730
+ **When:** a built SSR server fails at boot, before it answers anything. Bun
731
+ prints `Cannot find module '@nxgt/material-core'` (or one of its subpaths),
732
+ for the same cause.
733
+ **Why:** `@nxgt/material-vue` depends on `@nxgt/material-core` and its built
734
+ code imports it by name. A server that inlines `@nxgt/material-vue`
735
+ (`ssr.noExternal`, or a bundle step that inlines all but an `--external`
736
+ list) but not its core keeps that import, and a runtime without
737
+ `node_modules` (or with a pruned one that holds only your app's direct
738
+ dependencies) cannot resolve it.
739
+ **Fix:** treat the two as one. Bundle both:
740
+
741
+ ```ts
742
+ // vite.config.ts
743
+ import { defineConfig } from 'vite';
744
+
745
+ export default defineConfig({
746
+ ssr: { noExternal: ['@nxgt/material-vue', '@nxgt/material-core'] },
747
+ });
748
+ ```
749
+
750
+ or leave both external, with a `node_modules` that keeps
751
+ `@nxgt/material-vue`'s dependencies:
752
+ `--external @nxgt/material-vue --external @nxgt/material-core`.
753
+
727
754
  ## Pinia, router & forms
728
755
 
729
756
  ### `"getActivePinia()" was called but there was no active Pinia`
@@ -997,10 +1024,12 @@ import { pdfkitStandardFonts } from '@nxgt/material-vue/vite';
997
1024
 
998
1025
  export default defineConfig({
999
1026
  plugins: [pdfkitStandardFonts()],
1000
- ssr: { noExternal: ['@nxgt/material-vue'] },
1027
+ ssr: { noExternal: ['@nxgt/material-vue', '@nxgt/material-core'] },
1001
1028
  });
1002
1029
  ```
1003
1030
 
1031
+ `@nxgt/material-core` is inlined with the library, which imports it by name
1032
+ ([SSR & build](#cannot-find-package-nxgtmaterial-core)).
1004
1033
  When the runtime image keeps `node_modules`, leaving the renderer external
1005
1034
  works too, and keeps pdfkit out of the artifact. A `resolve.alias` for
1006
1035
  `#standard-fonts/` does not help: the specifier is a string passed to
package/lib/vite/index.ts CHANGED
@@ -1,127 +1,7 @@
1
- // Identical in @nxgt/material and @nxgt/material-vue: keep them in sync.
2
1
  /**
3
- * Build-time helpers for the apps that consume this library.
4
- *
5
- * This entry is the odd one out: everything else here runs in a browser or in
6
- * an SSR server, and the `/vite` entry is Node code that runs inside a
7
- * consumer's `vite.config.ts` (or a Nuxt app's Nitro build). It is here anyway
8
- * because the problem it solves is this package's to own — a consumer should
9
- * not have to rediscover it — and because there is exactly one copy of the fix
10
- * to maintain, shared by `@nxgt/material` and `@nxgt/material-vue`.
11
- *
12
- * It imports nothing at runtime: `Plugin` is a type, erased by the compiler, so
13
- * the built `dist/vite.js` has no dependency on `vite` at all.
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.
14
6
  */
15
-
16
- import type { Plugin } from 'vite';
17
-
18
- /**
19
- * Bundles pdfkit's fourteen standard fonts instead of leaving them to a
20
- * `require` that cannot work in a bundle.
21
- *
22
- * **Only needed by an app that renders PDFs** (`@nxgt/material/print`, or
23
- * `@nxgt/material-vue/pdf`). No other entry reaches `@react-pdf/renderer`, so
24
- * an app that does not print never sees this at all.
25
- * If you do print, read on, because the failure is spectacular and silent until
26
- * production.
27
- *
28
- * Both are built on `@react-pdf/renderer`, which is built on
29
- * `pdfkit`, whose node build ends with:
30
- *
31
- * ```js
32
- * const require$1 = createRequire(import.meta.url);
33
- * registerStdFontLoaders({ Helvetica: () => require$1('#standard-fonts/Helvetica'), … });
34
- * ```
35
- *
36
- * `#standard-fonts/*` is a package-`imports` entry **private to pdfkit**, and
37
- * that is a RUNTIME call, not an import — so no bundler resolves it. Bundle
38
- * pdfkit into an SSR server (`ssr.noExternal`) and the literal survives into the
39
- * output, where `createRequire` is rooted at the build directory and the importer
40
- * is no longer inside pdfkit. The server then throws on **every request**,
41
- * `/health` included:
42
- *
43
- * ```
44
- * error: Cannot find module '#standard-fonts/Helvetica' from '…/build/app.js'
45
- * ```
46
- *
47
- * A compose healthcheck that fetches a route never goes healthy either, so the
48
- * container looks like it is failing to start rather than failing to serve.
49
- *
50
- * This plugin rewrites those calls into static imports of
51
- * `./standard-fonts/<name>.mjs`, so the font data lands in the bundle and the
52
- * server stays self-contained. Use it when the runtime image has **no
53
- * `node_modules`** — a single-file `bun build` artifact copied alone into the
54
- * image. When the image does keep `node_modules`, the lighter answer is to leave
55
- * the library external instead (`--external` it in the bundle step, and keep it
56
- * out of `ssr.noExternal`), which also keeps ~12 MB of
57
- * pdfkit out of the artifact. In Nuxt, `nxgtMaterial: { pdf: {
58
- * bundleStandardFonts: true } }` adds this plugin to the Nitro build.
59
- *
60
- * ```ts
61
- * // `@nxgt/material/vite` in a React app: the same function
62
- * import { pdfkitStandardFonts } from '@nxgt/material-vue/vite';
63
- *
64
- * export default defineConfig({
65
- * plugins: [pdfkitStandardFonts()],
66
- * ssr: { noExternal: ['@nxgt/material-vue'] },
67
- * });
68
- * ```
69
- *
70
- * Two things that look like fixes and are not:
71
- *
72
- * - **`resolve.alias`** mapping `#standard-fonts/` to `pdfkit/standard-fonts/`.
73
- * An alias rewrites specifiers the resolver is *asked* about; this one is a
74
- * string handed to `createRequire` at runtime, which the resolver never sees.
75
- * - **`--external pdfkit`**. It is a transitive dependency, so the runtime cannot
76
- * resolve it from the app's own directory: `Cannot find package 'pdfkit'`.
77
- *
78
- * The plugin throws if a `#standard-fonts/` reference survives the rewrite, so a
79
- * future pdfkit that changes the shape of those calls fails the build instead of
80
- * the first request.
81
- */
82
- export function pdfkitStandardFonts(): Plugin {
83
- /**
84
- * Any call whose only argument is that literal. Deliberately not pinned to
85
- * `require$1`, which is a name rollup generated for pdfkit's own build and is
86
- * free to change on any release — there is nothing else one can do with a
87
- * `#standard-fonts/*` specifier but require it.
88
- */
89
- const CALL = /[A-Za-z_$][\w$]*\(\s*(['"])#standard-fonts\/(\w+)\1\s*\)/g;
90
-
91
- return {
92
- name: 'nxgt-material:pdfkit-standard-fonts',
93
- enforce: 'pre',
94
- transform(code, id) {
95
- if (!id.includes('pdfkit') || !code.includes('#standard-fonts/')) {
96
- return null;
97
- }
98
-
99
- const fonts = new Set<string>();
100
- const out = code.replace(CALL, (_match, _quote, font: string) => {
101
- fonts.add(font);
102
- return `__stdFont_${font}`;
103
- });
104
-
105
- // Fail the build rather than ship a server that dies on its first
106
- // request: an unmatched occurrence means pdfkit changed the shape of
107
- // these calls, and the whole point of this plugin is that nothing
108
- // downstream notices the difference until runtime.
109
- if (out.includes('#standard-fonts/')) {
110
- this.error(
111
- `${id} still references '#standard-fonts/' after the transform — ` +
112
- 'pdfkit changed how it loads its standard fonts. See the doc ' +
113
- 'comment on pdfkitStandardFonts() in the /vite entry.',
114
- );
115
- }
116
-
117
- const imports = [...fonts]
118
- .map(
119
- (font) =>
120
- `import __stdFont_${font} from './standard-fonts/${font}.mjs';`,
121
- )
122
- .join('\n');
123
-
124
- return { code: `${imports}\n${out}`, map: null };
125
- },
126
- };
127
- }
7
+ export { pdfkitStandardFonts } from '@nxgt/material-core/vite';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material-vue",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "license": "MIT",
5
5
  "bugs": {
6
6
  "email": "stevegires@gmail.com"
@@ -100,17 +100,15 @@
100
100
  "dev": "bun storybook",
101
101
  "generate:nuxt-names": "bun scripts/generate-nuxt-names.ts",
102
102
  "build": "bun run generate:nuxt-names && vue-tsc -b && vite build",
103
- "postbuild": "bun scripts/copy-styles.ts && bun run verify:ssr && bun run verify:dts",
103
+ "postbuild": "bun ../../scripts/copy-styles.ts && bun run verify:ssr && bun run verify:dts",
104
104
  "prepack": "bun run verify:dts",
105
105
  "storybook": "storybook dev -p 6006",
106
106
  "build-storybook": "storybook build",
107
107
  "test": "vitest run --project unit",
108
- "changeset": "changeset",
109
- "changeset:version": "changeset version",
110
- "changeset:publish": "bun run build && bun run scripts/publish.ts",
111
- "changeset:status": "changeset status --since=origin/develop",
108
+ "test:scripts": "bun test ./scripts/",
112
109
  "shadcn:add": "bunx --bun shadcn-vue@latest add",
113
110
  "tsc": "vue-tsc -b",
111
+ "typecheck": "vue-tsc -b",
114
112
  "check": "biome check --write",
115
113
  "format": "biome format --write",
116
114
  "lint": "biome lint --write",
@@ -120,6 +118,7 @@
120
118
  "docs:previews": "vitest run --project previews"
121
119
  },
122
120
  "dependencies": {
121
+ "@nxgt/material-core": "^0.1.0",
123
122
  "@floating-ui/dom": "^1.8.0",
124
123
  "@fortawesome/fontawesome-common-types": "7.3.1",
125
124
  "@lucide/vue": "^1.45.0",
@@ -177,10 +176,8 @@
177
176
  "zod": "^4.4.3"
178
177
  },
179
178
  "devDependencies": {
180
- "@biomejs/biome": "2.5.13",
181
- "@changesets/changelog-github": "^1.0.1",
182
- "@changesets/cli": "^3.0.1",
183
179
  "@chromatic-com/storybook": "^5.3.1",
180
+ "@nxgt/material-testing": "0.0.0",
184
181
  "@nxgt/playwright": "^0.1.0",
185
182
  "@react-pdf/renderer": "^4.9.0",
186
183
  "@storybook/addon-a11y": "10.6.0",
@@ -198,7 +195,7 @@
198
195
  "@types/qrcode": "^1.5.6",
199
196
  "@types/react": "^19.2.17",
200
197
  "@vitejs/plugin-vue": "^6.0.1",
201
- "@vitest/browser-playwright": "4.1.11",
198
+ "@vitest/browser-playwright": "4.1.10",
202
199
  "@vue-leaflet/vue-leaflet": "^0.10.1",
203
200
  "@vue/server-renderer": "^3.5.22",
204
201
  "ajv": "^8.20.0",
@@ -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 createArchitectureServices };
@@ -1,5 +0,0 @@
1
- import { ot as e, st as t } from "./chunk-O7XYJQB3-WMQqqzRb.js";
2
- //#region node_modules/khroma/dist/methods/channel.js
3
- var n = (n, r) => t.lang.round(e.parse(n)[r]);
4
- //#endregion
5
- export { n as t };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { A as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createCynefinServices };
@@ -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 createEventModelingServices };
@@ -1,17 +0,0 @@
1
- import "./src-CNRY2AUH.js";
2
- import "./chunk-O7XYJQB3-WMQqqzRb.js";
3
- import "./chunk-ZIGJFQKS-DBdWb0bj.js";
4
- import "./chunk-742MDFTN-BIhVe9GR.js";
5
- import "./chunk-MBY4JIJT-HYVRUG_P.js";
6
- import "./chunk-7PRAP22T-CofnNOEr.js";
7
- import "./chunk-7INBJB4K-CwPgdc2G.js";
8
- import "./chunk-5DYCD2WN-B9vjeX2u.js";
9
- import "./chunk-Z7XXMR3K-CJmsOGTV.js";
10
- import "./chunk-GWA4HPMP-DU9lUCZD.js";
11
- import "./chunk-XXDRQBXY-B2pGFcse.js";
12
- import "./chunk-WEXAMYUT-Cc10h8ed.js";
13
- import "./chunk-UA2S7LBM-DtBatid7.js";
14
- import "./chunk-GNY47TPC-c_sooZ3L.js";
15
- import "./chunk-LNGE3PJU-CiGrDO_F.js";
16
- import { n as e } from "./chunk-7M6MHVWA-B6VDnhvE.js";
17
- export { e as diagram };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { E as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createGitGraphServices };
@@ -1,3 +0,0 @@
1
- import "./chunk-FOHPRMQF-Crq0JMf2.js";
2
- import { w as e } from "./mermaid-parser.core-Cz-MfB4Z.js";
3
- export { e as createInfoServices };
@@ -1,7 +0,0 @@
1
- /**
2
- * The decimals `CurrencyField` shows: `fractionDigits` when given (0 to 20;
3
- * `NaN` or `Infinity` counts as not given), else the currency's own (ISO
4
- * 4217: JPY 0, EUR 2, KWD 3), else 2 for a code `Intl` does not know. The
5
- * same rule as `formatAmount` (`fractionDigitsOption`).
6
- */
7
- export declare function currencyFractionDigits(currency: string, fractionDigits?: number): number;
@@ -1,34 +0,0 @@
1
- /**
2
- * The top-level layer a node is in: its ancestor that is a child of `<body>`.
3
- * An overlay rendered into `<body>` (a popover, a listbox, a dialog) is a
4
- * layer of its own; the page is another. `null` for a node no longer in the
5
- * document.
6
- */
7
- export declare function layerOf(node: Node): Node | null;
8
- /** What a field knows about the layers of the page since focus entered it. */
9
- export type FieldLayers = {
10
- /** The layers of the page when focus entered the field. */
11
- before: Set<Node>;
12
- /** The layers the field itself is in (the page, or the sheet it is in). */
13
- home: Set<Node | null>;
14
- /** The layers focus reached since entering that are the field's overlays. */
15
- opened: Set<Node>;
16
- };
17
- /**
18
- * Who opened `layer`, going by the controls that name an element of it as
19
- * the popup they control (`aria-controls`, `aria-owns`), as a select, a
20
- * popover or a dialog trigger does:
21
- * - `'ours'`: a control of the field (inside `roots`), or a control inside
22
- * an overlay of the field — one focus already reached, or one mounted since
23
- * focus entered that nothing else opened (the field's dialog, which leaves
24
- * focus on the button that opened it, and the select inside it). Such a
25
- * layer is the field's even when it was mounted before focus entered the
26
- * field: a mouse-opened select mounts its list before its trigger has focus.
27
- * - `'theirs'`: only a control of something else — another field whose
28
- * overlay opened while focus was still here (a mouse-opened select, a
29
- * Safari button that takes no focus on click).
30
- * - `null`: nothing names it.
31
- * A control inside `layer` itself (a tab naming its panel) says nothing about
32
- * who opened it.
33
- */
34
- export declare function openerOf(roots: Element[], layers: FieldLayers, layer: Node, seen?: Set<Node>): 'ours' | 'theirs' | null;
@@ -1,44 +0,0 @@
1
- import { PdfPageText, PdfTextRange } from './pdf-text-search';
2
- /** Where a match sits: its page, and its rank among that page's matches. */
3
- export type PdfSearchHit = {
4
- page: number;
5
- hit: number;
6
- };
7
- type PdfTextSource = {
8
- numPages: number;
9
- getPage: (pageNumber: number) => Promise<{
10
- getTextContent: () => Promise<{
11
- items: readonly unknown[];
12
- }>;
13
- }>;
14
- };
15
- /** A page's text, read once per document. */
16
- export declare function loadPageText(pdf: PdfTextSource, pageNumber: number): Promise<PdfPageText>;
17
- /** A page the search has read: its text and the matches in it. */
18
- export type PdfPageMatches = {
19
- page: number;
20
- text: PdfPageText;
21
- matches: PdfTextRange[];
22
- };
23
- /**
24
- * Searches every page in order, drawn or not, and reports the pages read: the
25
- * first one at once, then `chunk` at a time. A report per page would have the
26
- * reader draw every page again after each one read, a quadratic first search.
27
- * Stops once `isCancelled` says so.
28
- */
29
- export declare function searchDocument(pdf: PdfTextSource, query: string, onPages: (pages: PdfPageMatches[]) => void, isCancelled?: () => boolean, chunk?: number): Promise<void>;
30
- /** Each page's text and matches, as far as the search has read. */
31
- export type PdfDocumentMatches = {
32
- texts: (PdfPageText | undefined)[];
33
- matches: PdfTextRange[][];
34
- };
35
- /** `found` with a batch of pages read, copied once for the whole batch. */
36
- export declare function withPageMatches(found: PdfDocumentMatches, pages: readonly PdfPageMatches[]): PdfDocumentMatches;
37
- /**
38
- * The rank `delta` away from `from`, wrapping; from none (-1), the first
39
- * match forward or the last one back.
40
- */
41
- export declare function stepHit(from: number, delta: number, count: number): number;
42
- /** The hit at a document-wide rank, from each page's match count. */
43
- export declare function hitAt(counts: readonly (number | undefined)[], index: number): PdfSearchHit | null;
44
- export {};
@@ -1,6 +0,0 @@
1
- export declare function escapeHtml(text: string): string;
2
- export declare function mapPdfOutline(items: unknown): {
3
- title: string;
4
- dest: unknown;
5
- items: ReturnType<typeof mapPdfOutline>;
6
- }[];