@nxgt/material-core 0.1.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 (138) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +335 -0
  3. package/dist/chunks/index-0xc5q9tp.js +81 -0
  4. package/dist/chunks/index-0xc5q9tp.js.map +10 -0
  5. package/dist/chunks/index-2gcgcmc0.js +36 -0
  6. package/dist/chunks/index-2gcgcmc0.js.map +10 -0
  7. package/dist/chunks/index-3ca6xe71.js +36 -0
  8. package/dist/chunks/index-3ca6xe71.js.map +10 -0
  9. package/dist/chunks/index-5r6rzp43.js +90 -0
  10. package/dist/chunks/index-5r6rzp43.js.map +10 -0
  11. package/dist/chunks/index-6tn0wjsb.js +13 -0
  12. package/dist/chunks/index-6tn0wjsb.js.map +10 -0
  13. package/dist/chunks/index-8gf9e2d4.js +76 -0
  14. package/dist/chunks/index-8gf9e2d4.js.map +11 -0
  15. package/dist/chunks/index-eh0e5ex7.js +61 -0
  16. package/dist/chunks/index-eh0e5ex7.js.map +10 -0
  17. package/dist/chunks/index-g7rh8fpv.js +57 -0
  18. package/dist/chunks/index-g7rh8fpv.js.map +10 -0
  19. package/dist/chunks/index-h3vjydz7.js +113 -0
  20. package/dist/chunks/index-h3vjydz7.js.map +10 -0
  21. package/dist/chunks/index-paaaedrm.js +37 -0
  22. package/dist/chunks/index-paaaedrm.js.map +10 -0
  23. package/dist/chunks/index-w3ajz57t.js +72 -0
  24. package/dist/chunks/index-w3ajz57t.js.map +10 -0
  25. package/dist/chunks/index-z3yjh0a8.js +642 -0
  26. package/dist/chunks/index-z3yjh0a8.js.map +18 -0
  27. package/dist/index.d.ts +21 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +133 -0
  30. package/dist/index.js.map +9 -0
  31. package/dist/lib/currency-digits.d.ts +8 -0
  32. package/dist/lib/currency-digits.d.ts.map +1 -0
  33. package/dist/lib/currency-digits.js +24 -0
  34. package/dist/lib/currency-digits.js.map +10 -0
  35. package/dist/lib/field-blur-layers.d.ts +35 -0
  36. package/dist/lib/field-blur-layers.d.ts.map +1 -0
  37. package/dist/lib/field-blur-layers.js +52 -0
  38. package/dist/lib/field-blur-layers.js.map +10 -0
  39. package/dist/lib/pdf-download.d.ts +36 -0
  40. package/dist/lib/pdf-download.d.ts.map +1 -0
  41. package/dist/lib/pdf-download.js +15 -0
  42. package/dist/lib/pdf-download.js.map +9 -0
  43. package/dist/lib/pdf-file-name.d.ts +10 -0
  44. package/dist/lib/pdf-file-name.d.ts.map +1 -0
  45. package/dist/lib/pdf-file-name.js +12 -0
  46. package/dist/lib/pdf-file-name.js.map +9 -0
  47. package/dist/lib/pdf-source.d.ts +58 -0
  48. package/dist/lib/pdf-source.d.ts.map +1 -0
  49. package/dist/lib/pdf-source.js +21 -0
  50. package/dist/lib/pdf-source.js.map +9 -0
  51. package/dist/lib/print-format.utils.d.ts +72 -0
  52. package/dist/lib/print-format.utils.d.ts.map +1 -0
  53. package/dist/lib/print-format.utils.js +14 -0
  54. package/dist/lib/print-format.utils.js.map +9 -0
  55. package/dist/lib/print-fraction-digits.d.ts +13 -0
  56. package/dist/lib/print-fraction-digits.d.ts.map +1 -0
  57. package/dist/lib/print-fraction-digits.js +11 -0
  58. package/dist/lib/print-fraction-digits.js.map +9 -0
  59. package/dist/lib/print-table.utils.d.ts +69 -0
  60. package/dist/lib/print-table.utils.d.ts.map +1 -0
  61. package/dist/lib/print-table.utils.js +15 -0
  62. package/dist/lib/print-table.utils.js.map +9 -0
  63. package/dist/lib/print-value.utils.d.ts +41 -0
  64. package/dist/lib/print-value.utils.d.ts.map +1 -0
  65. package/dist/lib/print-value.utils.js +13 -0
  66. package/dist/lib/print-value.utils.js.map +9 -0
  67. package/dist/pdf/file-loader.d.ts +19 -0
  68. package/dist/pdf/file-loader.d.ts.map +1 -0
  69. package/dist/pdf/file-loader.js +11 -0
  70. package/dist/pdf/file-loader.js.map +9 -0
  71. package/dist/pdf/http.d.ts +23 -0
  72. package/dist/pdf/http.d.ts.map +1 -0
  73. package/dist/pdf/http.js +13 -0
  74. package/dist/pdf/http.js.map +9 -0
  75. package/dist/pdf/index.d.ts +12 -0
  76. package/dist/pdf/index.d.ts.map +1 -0
  77. package/dist/pdf/index.js +99 -0
  78. package/dist/pdf/index.js.map +9 -0
  79. package/dist/pdf/model/builders.d.ts +59 -0
  80. package/dist/pdf/model/builders.d.ts.map +1 -0
  81. package/dist/pdf/model/data-table.d.ts +25 -0
  82. package/dist/pdf/model/data-table.d.ts.map +1 -0
  83. package/dist/pdf/model/index.d.ts +5 -0
  84. package/dist/pdf/model/index.d.ts.map +1 -0
  85. package/dist/pdf/model/index.js +60 -0
  86. package/dist/pdf/model/index.js.map +9 -0
  87. package/dist/pdf/model/nodes.d.ts +135 -0
  88. package/dist/pdf/model/nodes.d.ts.map +1 -0
  89. package/dist/pdf/model/theme.d.ts +17 -0
  90. package/dist/pdf/model/theme.d.ts.map +1 -0
  91. package/dist/pdf/model/types.d.ts +124 -0
  92. package/dist/pdf/model/types.d.ts.map +1 -0
  93. package/dist/pdf/render/context.d.ts +51 -0
  94. package/dist/pdf/render/context.d.ts.map +1 -0
  95. package/dist/pdf/render/document.d.ts +22 -0
  96. package/dist/pdf/render/document.d.ts.map +1 -0
  97. package/dist/pdf/render/index.d.ts +9 -0
  98. package/dist/pdf/render/index.d.ts.map +1 -0
  99. package/dist/pdf/render/index.js +44 -0
  100. package/dist/pdf/render/index.js.map +9 -0
  101. package/dist/pdf/render/nodes/blocks.d.ts +20 -0
  102. package/dist/pdf/render/nodes/blocks.d.ts.map +1 -0
  103. package/dist/pdf/render/nodes/header.d.ts +15 -0
  104. package/dist/pdf/render/nodes/header.d.ts.map +1 -0
  105. package/dist/pdf/render/nodes/layout.d.ts +45 -0
  106. package/dist/pdf/render/nodes/layout.d.ts.map +1 -0
  107. package/dist/pdf/render/nodes/table.d.ts +15 -0
  108. package/dist/pdf/render/nodes/table.d.ts.map +1 -0
  109. package/dist/pdf/render/page.d.ts +31 -0
  110. package/dist/pdf/render/page.d.ts.map +1 -0
  111. package/dist/pdf/render/render-node.d.ts +11 -0
  112. package/dist/pdf/render/render-node.d.ts.map +1 -0
  113. package/dist/pdf/render/styles.d.ts +304 -0
  114. package/dist/pdf/render/styles.d.ts.map +1 -0
  115. package/dist/pdf-viewer/index.d.ts +14 -0
  116. package/dist/pdf-viewer/index.d.ts.map +1 -0
  117. package/dist/pdf-viewer/index.js +380 -0
  118. package/dist/pdf-viewer/index.js.map +15 -0
  119. package/dist/pdf-viewer/pdf-document-search.d.ts +44 -0
  120. package/dist/pdf-viewer/pdf-document-search.d.ts.map +1 -0
  121. package/dist/pdf-viewer/pdf-escape.d.ts +7 -0
  122. package/dist/pdf-viewer/pdf-escape.d.ts.map +1 -0
  123. package/dist/pdf-viewer/pdf-page-geometry.d.ts +62 -0
  124. package/dist/pdf-viewer/pdf-page-geometry.d.ts.map +1 -0
  125. package/dist/pdf-viewer/pdf-page-sizes.d.ts +38 -0
  126. package/dist/pdf-viewer/pdf-page-sizes.d.ts.map +1 -0
  127. package/dist/pdf-viewer/pdf-scroll-spy.d.ts +43 -0
  128. package/dist/pdf-viewer/pdf-scroll-spy.d.ts.map +1 -0
  129. package/dist/pdf-viewer/pdf-text-search.d.ts +26 -0
  130. package/dist/pdf-viewer/pdf-text-search.d.ts.map +1 -0
  131. package/dist/vite/index.d.ts +81 -0
  132. package/dist/vite/index.d.ts.map +1 -0
  133. package/dist/vite/index.js +31 -0
  134. package/dist/vite/index.js.map +10 -0
  135. package/docs/README.md +9 -0
  136. package/docs/roadmap.md +35 -0
  137. package/docs/troubleshooting.md +105 -0
  138. package/package.json +187 -0
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Everything `PdfReader` opens, without touching pdf.js: that is loaded
3
+ * lazily, and this module is safe on a server (no browser global at module
4
+ * scope).
5
+ */
6
+ /** A URL fetched with request headers, such as an `Authorization` token. */
7
+ export type PdfUrlSource = {
8
+ url: string | URL;
9
+ httpHeaders?: Record<string, string>;
10
+ /** Sends cookies with a cross-origin request. */
11
+ withCredentials?: boolean;
12
+ };
13
+ /**
14
+ * What `PdfReader`'s `file` accepts: a URL, a `File` or `Blob`, the bytes
15
+ * (`ArrayBuffer`, `Uint8Array`), or a URL with headers. Bytes are copied, so
16
+ * your buffer stays usable after the reader opened it.
17
+ */
18
+ export type PdfSource = string | URL | Blob | ArrayBuffer | Uint8Array | PdfUrlSource;
19
+ /** The parameters pdf.js `getDocument` takes. */
20
+ export type PdfjsSourceParams = {
21
+ url: string;
22
+ httpHeaders?: Record<string, string>;
23
+ withCredentials?: boolean;
24
+ } | {
25
+ data: Uint8Array;
26
+ };
27
+ /** A Blob or a File, also from another realm (an iframe). */
28
+ export declare function isBlob(value: unknown): value is Blob;
29
+ export declare function isPdfUrlSource(value: unknown): value is PdfUrlSource;
30
+ /** The URL a source is fetched from; `null` for a Blob or bytes. */
31
+ export declare function pdfSourceUrl(source: PdfSource): string | null;
32
+ /**
33
+ * A key that changes only when the document does, so a re-render does not
34
+ * reload it: a URL (with its headers) is compared by value, a Blob or a
35
+ * buffer by identity. An inline `{ url, httpHeaders }` object is therefore
36
+ * fine; a new `Uint8Array` on every render reloads every time.
37
+ */
38
+ export declare function pdfSourceKey(source: PdfSource | null | undefined): string;
39
+ /**
40
+ * A copy of the bytes. A buffer that was already detached (transferred to a
41
+ * worker: it has 0 bytes) gives an empty copy, which pdf.js reports as an
42
+ * empty file, instead of throwing here.
43
+ */
44
+ export declare function copyPdfData(data: ArrayBuffer | ArrayBufferView): Uint8Array<ArrayBuffer>;
45
+ /** The URL parameters pdf.js `getDocument` takes. */
46
+ export type PdfjsUrlParams = Extract<PdfjsSourceParams, {
47
+ url: string;
48
+ }>;
49
+ /**
50
+ * The source as react-pdf's `file` takes it, synchronously: URL parameters,
51
+ * or a Blob. Bytes are copied into a Blob, and every load reads a fresh
52
+ * buffer from it: pdf.js transfers the buffer it is given to its worker,
53
+ * which would leave yours, or a copy reused by a second load, detached.
54
+ */
55
+ export declare function toPdfjsSource(source: PdfSource): Blob | PdfjsUrlParams;
56
+ /** {@link toPdfjsSource} with a Blob read into bytes, for `getDocument`. */
57
+ export declare function toPdfjsParams(source: PdfSource): Promise<PdfjsSourceParams>;
58
+ //# sourceMappingURL=pdf-source.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf-source.d.ts","sourceRoot":"","sources":["../../src/lib/pdf-source.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,4EAA4E;AAC5E,MAAM,MAAM,YAAY,GAAG;IAC1B,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,iDAAiD;IACjD,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAClB,MAAM,GACN,GAAG,GACH,IAAI,GACJ,WAAW,GACX,UAAU,GACV,YAAY,CAAC;AAEhB,iDAAiD;AACjD,MAAM,MAAM,iBAAiB,GAC1B;IACA,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,eAAe,CAAC,EAAE,OAAO,CAAC;CACzB,GACD;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC;AAYxB,6DAA6D;AAC7D,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,IAAI,CAIpD;AAMD,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,YAAY,CASpE;AAED,oEAAoE;AACpE,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAK7D;AAeD;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAazE;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAC1B,IAAI,EAAE,WAAW,GAAG,eAAe,GACjC,UAAU,CAAC,WAAW,CAAC,CAIzB;AAED,qDAAqD;AACrD,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,iBAAiB,EAAE;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAEzE;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,GAAG,cAAc,CAiBtE;AAED,4EAA4E;AAC5E,wBAAsB,aAAa,CAClC,MAAM,EAAE,SAAS,GACf,OAAO,CAAC,iBAAiB,CAAC,CAI5B"}
@@ -0,0 +1,21 @@
1
+ import {
2
+ isBlob2,
3
+ isPdfUrlSource2,
4
+ pdfSourceUrl2,
5
+ pdfSourceKey2,
6
+ copyPdfData2,
7
+ toPdfjsSource2,
8
+ toPdfjsParams2
9
+ } from "../chunks/index-5r6rzp43.js";
10
+ export {
11
+ copyPdfData2 as copyPdfData,
12
+ isBlob2 as isBlob,
13
+ isPdfUrlSource2 as isPdfUrlSource,
14
+ pdfSourceKey2 as pdfSourceKey,
15
+ pdfSourceUrl2 as pdfSourceUrl,
16
+ toPdfjsParams2 as toPdfjsParams,
17
+ toPdfjsSource2 as toPdfjsSource
18
+ };
19
+
20
+ //# debugId=03F8695C31E436A164756E2164756E21
21
+ //# sourceMappingURL=pdf-source.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "03F8695C31E436A164756E2164756E21",
8
+ "names": []
9
+ }
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Amount and date formatting, written for printed documents and used
3
+ * everywhere.
4
+ *
5
+ * This lives in `lib/` because it depends on nothing but `Intl`, so a screen
6
+ * that formats an amount never imports the print entry and its optional
7
+ * peers. The print entry re-exports it.
8
+ *
9
+ * Without a `locale`, the runtime's locale applies (as before); pass one, or
10
+ * use `useFormatters()`, for output that is the same on a server and in the
11
+ * browser.
12
+ */
13
+ export type FormatAmountOptions = {
14
+ /** BCP 47 locale, such as `'fr-FR'`. Defaults to the runtime's locale. */
15
+ locale?: string;
16
+ /**
17
+ * Decimals to show, 0 to 20. With a currency it defaults to the
18
+ * currency's own (ISO 4217: JPY 0, EUR 2, KWD 3); without one, to 2. Pass
19
+ * `2` to keep two decimals whatever the currency. `NaN` or `Infinity`
20
+ * counts as not given.
21
+ */
22
+ fractionDigits?: number;
23
+ };
24
+ export type FormatDateOptions = {
25
+ /** BCP 47 locale, such as `'fr-FR'`. Defaults to the runtime's locale. */
26
+ locale?: string;
27
+ /**
28
+ * IANA time zone for values with a time, such as `'Europe/Paris'`.
29
+ * Defaults to the runtime's. A date-only value (`'2026-03-01'`) ignores it
30
+ * and always shows its own calendar day.
31
+ */
32
+ timeZone?: string;
33
+ /** Defaults to `'medium'` (`Mar 1, 2026`). */
34
+ dateStyle?: 'full' | 'long' | 'medium' | 'short';
35
+ /** Adds the time; ignored for a date-only value. */
36
+ timeStyle?: 'full' | 'long' | 'medium' | 'short';
37
+ };
38
+ export type DateInput = string | number | Date | null | undefined;
39
+ /**
40
+ * Formats an amount, in a currency when one is given. `null` and
41
+ * `undefined` give `'—'`.
42
+ *
43
+ * @example formatAmount(1234.5, 'EUR', { locale: 'fr-FR' }) // '1 234,50 €'
44
+ * @example formatAmount(1234.5, 'JPY', { locale: 'en-US' }) // '¥1,235'
45
+ */
46
+ export declare function formatAmount(value: number | null | undefined, currency?: string | null, options?: FormatAmountOptions): string;
47
+ /**
48
+ * Formats a date. A date-only string (`YYYY-MM-DD`) keeps its calendar day
49
+ * in every time zone; other values are shown in `timeZone`. Empty values
50
+ * give `'—'`; a string that is not a date is returned as it is.
51
+ *
52
+ * @example formatDate('2026-03-01', { locale: 'en-US' }) // 'Mar 1, 2026'
53
+ */
54
+ export declare function formatDate(value: DateInput, options?: FormatDateOptions): string;
55
+ export type FormattersOptions = {
56
+ locale?: string;
57
+ timeZone?: string;
58
+ };
59
+ export type Formatters = {
60
+ formatAmount: (value: number | null | undefined, currency?: string | null, options?: FormatAmountOptions) => string;
61
+ formatDate: (value: DateInput, options?: FormatDateOptions) => string;
62
+ };
63
+ /**
64
+ * `formatAmount` and `formatDate` bound to a locale and a time zone, for a
65
+ * server route or a document builder. Options given per call win, unless
66
+ * they are `undefined`.
67
+ *
68
+ * @example
69
+ * const { formatAmount, formatDate } = createFormatters({ locale: 'fr-FR', timeZone: 'Europe/Paris' });
70
+ */
71
+ export declare function createFormatters(defaults?: FormattersOptions): Formatters;
72
+ //# sourceMappingURL=print-format.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print-format.utils.d.ts","sourceRoot":"","sources":["../../src/lib/print-format.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAOH,MAAM,MAAM,mBAAmB,GAAG;IACjC,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC/B,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACjD,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;AAElE;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC3B,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,EACxB,OAAO,GAAE,mBAAwB,GAC/B,MAAM,CAeR;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CACzB,KAAK,EAAE,SAAS,EAChB,OAAO,GAAE,iBAAsB,GAC7B,MAAM,CA8BR;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,YAAY,EAAE,CACb,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,EACxB,OAAO,CAAC,EAAE,mBAAmB,KACzB,MAAM,CAAC;IACZ,UAAU,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,iBAAiB,KAAK,MAAM,CAAC;CACtE,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,GAAE,iBAAsB,GAAG,UAAU,CAc7E"}
@@ -0,0 +1,14 @@
1
+ import {
2
+ formatAmount2,
3
+ formatDate2,
4
+ createFormatters2
5
+ } from "../chunks/index-w3ajz57t.js";
6
+ import"../chunks/index-6tn0wjsb.js";
7
+ export {
8
+ createFormatters2 as createFormatters,
9
+ formatAmount2 as formatAmount,
10
+ formatDate2 as formatDate
11
+ };
12
+
13
+ //# debugId=249C3B82C71CF0D364756E2164756E21
14
+ //# sourceMappingURL=print-format.utils.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "249C3B82C71CF0D364756E2164756E21",
8
+ "names": []
9
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * The most decimals every `Intl.NumberFormat` accepts. ES2023 raised the
3
+ * limit to 100; engines before it throw a `RangeError` above 20.
4
+ */
5
+ export declare const MAX_FRACTION_DIGITS = 20;
6
+ /**
7
+ * A `fractionDigits` option as both amount formatters apply it —
8
+ * `formatAmount` and `CurrencyField` (`currencyFractionDigits`): a finite
9
+ * number, truncated and clamped to 0..20; anything else (`undefined`, `NaN`,
10
+ * `Infinity`) is `undefined`, so the default decimals apply.
11
+ */
12
+ export declare function fractionDigitsOption(fractionDigits?: number): number | undefined;
13
+ //# sourceMappingURL=print-fraction-digits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print-fraction-digits.d.ts","sourceRoot":"","sources":["../../src/lib/print-fraction-digits.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,cAAc,CAAC,EAAE,MAAM,sBAK3D"}
@@ -0,0 +1,11 @@
1
+ import {
2
+ MAX_FRACTION_DIGITS2,
3
+ fractionDigitsOption2
4
+ } from "../chunks/index-6tn0wjsb.js";
5
+ export {
6
+ MAX_FRACTION_DIGITS2 as MAX_FRACTION_DIGITS,
7
+ fractionDigitsOption2 as fractionDigitsOption
8
+ };
9
+
10
+ //# debugId=4D266B026D4131EB64756E2164756E21
11
+ //# sourceMappingURL=print-fraction-digits.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "4D266B026D4131EB64756E2164756E21",
8
+ "names": []
9
+ }
@@ -0,0 +1,69 @@
1
+ /**
2
+ * Printed tables from column definitions and plain rows.
3
+ *
4
+ * One column list drives a table (`resolvePrintTable`) and a detail block
5
+ * (`resolvePrintFields`). Cells come out as {@link PrintValue}s — still data —
6
+ * so the renderer formats them with the document's locale and time zone.
7
+ * Framework-free: no React, no Vue, no react-pdf.
8
+ */
9
+ import type { PrintValue } from './print-value.utils';
10
+ export type PrintColumnFormat = 'amount' | 'date' | 'number' | 'percent';
11
+ /** How a column reads its value: a key of the row, or an accessor. */
12
+ export type PrintColumnSource<T> = {
13
+ key: keyof T & string;
14
+ id?: string;
15
+ } | {
16
+ id: string;
17
+ accessor: (row: T, index: number) => unknown;
18
+ };
19
+ export type PrintColumn<T> = PrintColumnSource<T> & {
20
+ label: string;
21
+ /** Points, or a percentage of the table (`'25%'`); otherwise it flexes. */
22
+ width?: number | `${number}%`;
23
+ /** Share of the remaining width; 1 by default. */
24
+ flex?: number;
25
+ /** `'right'` by default for amounts, numbers and percentages. */
26
+ align?: 'left' | 'center' | 'right';
27
+ /** How to print the value; a function returns the text itself. */
28
+ format?: PrintColumnFormat | ((value: unknown, row: T) => string);
29
+ /** ISO 4217 code for `format: 'amount'`, or one per row. */
30
+ currency?: string | ((row: T) => string | null | undefined);
31
+ /** A footer total: the sum of the column, or your own figure. */
32
+ total?: 'sum' | ((rows: T[]) => number | string | null);
33
+ };
34
+ export type PrintTableOptions = {
35
+ /** Currency of `amount` columns that name none. */
36
+ currency?: string;
37
+ /** Text in the first footer cell when that column has no total. */
38
+ totalLabel?: string;
39
+ };
40
+ export type ResolvedPrintColumn = {
41
+ id: string;
42
+ label: string;
43
+ align: 'left' | 'center' | 'right';
44
+ width?: number | `${number}%`;
45
+ flex?: number;
46
+ };
47
+ export type ResolvedPrintTable = {
48
+ columns: ResolvedPrintColumn[];
49
+ rows: PrintValue[][];
50
+ /** One totals row, or none when no column has a `total`. */
51
+ footer: PrintValue[][];
52
+ empty: boolean;
53
+ };
54
+ /** Types a column list, so `key` is checked against the row type. */
55
+ export declare function definePrintColumns<T>(columns: PrintColumn<T>[]): PrintColumn<T>[];
56
+ /** A column's value as a {@link PrintValue}, ready for the renderer. */
57
+ export declare function toPrintValue<T>(column: PrintColumn<T>, value: unknown, row: T | undefined, options?: PrintTableOptions): PrintValue;
58
+ /**
59
+ * Columns, cells and totals of a printed table. A footer row is added when a
60
+ * column has a `total`; its first cell, when that column has none, holds
61
+ * `totalLabel`.
62
+ */
63
+ export declare function resolvePrintTable<T>(columns: PrintColumn<T>[], rows: T[], options?: PrintTableOptions): ResolvedPrintTable;
64
+ /** Label and value pairs for one row: a detail block from the same columns. */
65
+ export declare function resolvePrintFields<T>(fields: PrintColumn<T>[], row: T, options?: PrintTableOptions): {
66
+ label: string;
67
+ value: PrintValue;
68
+ }[];
69
+ //# sourceMappingURL=print-table.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print-table.utils.d.ts","sourceRoot":"","sources":["../../src/lib/print-table.utils.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,15 @@
1
+ import {
2
+ definePrintColumns2,
3
+ toPrintValue2,
4
+ resolvePrintTable2,
5
+ resolvePrintFields2
6
+ } from "../chunks/index-0xc5q9tp.js";
7
+ export {
8
+ definePrintColumns2 as definePrintColumns,
9
+ resolvePrintFields2 as resolvePrintFields,
10
+ resolvePrintTable2 as resolvePrintTable,
11
+ toPrintValue2 as toPrintValue
12
+ };
13
+
14
+ //# debugId=5751AD8280104FC764756E2164756E21
15
+ //# sourceMappingURL=print-table.utils.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "5751AD8280104FC764756E2164756E21",
8
+ "names": []
9
+ }
@@ -0,0 +1,41 @@
1
+ export type PrintAmountValue = {
2
+ amount: number | null;
3
+ /** ISO 4217 code, such as `'EUR'`. Without one, a plain decimal. */
4
+ currency?: string | null;
5
+ /** Decimals to show; defaults to the currency's own. */
6
+ fractionDigits?: number;
7
+ };
8
+ export type PrintDateValue = {
9
+ /** `'2026-03-01'`, an ISO date-time or epoch milliseconds. */
10
+ date: string | number | null;
11
+ dateStyle?: 'full' | 'long' | 'medium' | 'short';
12
+ timeStyle?: 'full' | 'long' | 'medium' | 'short';
13
+ };
14
+ export type PrintNumberValue = {
15
+ number: number | null;
16
+ /** `'percent'` shows `0.2` as `20%`. */
17
+ style?: 'decimal' | 'percent';
18
+ /** Maximum decimals; defaults to 3 (0 for a percentage). */
19
+ fractionDigits?: number;
20
+ };
21
+ /** Text, a number, or an amount, date or number formatted when rendered. */
22
+ export type PrintValue = string | number | null | undefined | PrintAmountValue | PrintDateValue | PrintNumberValue;
23
+ export type PrintValueOptions = {
24
+ /** BCP 47 locale, such as `'fr-FR'`. Defaults to the runtime's locale. */
25
+ locale?: string;
26
+ /** IANA time zone for dates with a time. */
27
+ timeZone?: string;
28
+ /** What an empty value shows; `'—'` by default. */
29
+ empty?: string;
30
+ };
31
+ /** Whether a value is empty: `null`, `undefined`, `''` or an empty wrapper. */
32
+ export declare function isEmptyPrintValue(value: PrintValue): boolean;
33
+ /**
34
+ * Formats a {@link PrintValue} as the text a document prints. An empty value
35
+ * gives `options.empty` (`'—'`).
36
+ *
37
+ * @example formatPrintValue({ amount: 1234.5, currency: 'EUR' }, { locale: 'fr-FR' }) // '1 234,50 €'
38
+ * @example formatPrintValue({ number: 0.2, style: 'percent' }, { locale: 'en-US' }) // '20%'
39
+ */
40
+ export declare function formatPrintValue(value: PrintValue, options?: PrintValueOptions): string;
41
+ //# sourceMappingURL=print-value.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print-value.utils.d.ts","sourceRoot":"","sources":["../../src/lib/print-value.utils.ts"],"names":[],"mappings":"AAYA,MAAM,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,wDAAwD;IACxD,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC5B,8DAA8D;IAC9D,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACjD,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,wCAAwC;IACxC,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC9B,4DAA4D;IAC5D,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,4EAA4E;AAC5E,MAAM,MAAM,UAAU,GACnB,MAAM,GACN,MAAM,GACN,IAAI,GACJ,SAAS,GACT,gBAAgB,GAChB,cAAc,GACd,gBAAgB,CAAC;AAEpB,MAAM,MAAM,iBAAiB,GAAG;IAC/B,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAsBF,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAM5D;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC/B,KAAK,EAAE,UAAU,EACjB,OAAO,GAAE,iBAAsB,GAC7B,MAAM,CA4BR"}
@@ -0,0 +1,13 @@
1
+ import {
2
+ isEmptyPrintValue2,
3
+ formatPrintValue2
4
+ } from "../chunks/index-eh0e5ex7.js";
5
+ import"../chunks/index-w3ajz57t.js";
6
+ import"../chunks/index-6tn0wjsb.js";
7
+ export {
8
+ formatPrintValue2 as formatPrintValue,
9
+ isEmptyPrintValue2 as isEmptyPrintValue
10
+ };
11
+
12
+ //# debugId=B00976842A8A880464756E2164756E21
13
+ //# sourceMappingURL=print-value.utils.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "B00976842A8A880464756E2164756E21",
8
+ "names": []
9
+ }
@@ -0,0 +1,19 @@
1
+ export type PdfFileSnapshot = {
2
+ blob: Blob | null;
3
+ /** An object URL of `blob`, for an `<iframe>`, a `PdfReader` or a link. */
4
+ url: string | null;
5
+ loading: boolean;
6
+ error: Error | null;
7
+ };
8
+ export declare const IDLE_PDF_FILE: PdfFileSnapshot;
9
+ /**
10
+ * What `usePdfFile` (React) and `usePdf` (Vue) run, framework-free: renders a
11
+ * document with `render`, keeps one object URL alive at a time and revokes it
12
+ * when replaced or disposed, and drops the result of a render that a newer
13
+ * `load` (or `dispose`) overtook.
14
+ */
15
+ export declare function createPdfFileLoader<I, O = undefined>(onChange: (snapshot: PdfFileSnapshot) => void, render: (input: I, options?: O) => Promise<Blob>): {
16
+ load(input: I | null, options?: O): Promise<void>;
17
+ dispose(): void;
18
+ };
19
+ //# sourceMappingURL=file-loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-loader.d.ts","sourceRoot":"","sources":["../../src/pdf/file-loader.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,2EAA2E;IAC3E,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAK3B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,GAAG,SAAS,EACnD,QAAQ,EAAE,CAAC,QAAQ,EAAE,eAAe,KAAK,IAAI,EAC7C,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC;gBAe7B,CAAC,GAAG,IAAI,YAAY,CAAC;;EA4BxC"}
@@ -0,0 +1,11 @@
1
+ import {
2
+ IDLE_PDF_FILE2,
3
+ createPdfFileLoader2
4
+ } from "../chunks/index-g7rh8fpv.js";
5
+ export {
6
+ IDLE_PDF_FILE2 as IDLE_PDF_FILE,
7
+ createPdfFileLoader2 as createPdfFileLoader
8
+ };
9
+
10
+ //# debugId=3500584FFA3ADDF064756E2164756E21
11
+ //# sourceMappingURL=file-loader.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "3500584FFA3ADDF064756E2164756E21",
8
+ "names": []
9
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Serving a rendered PDF, framework-free: the headers of a response and a
3
+ * Web stream over react-pdf's Node stream. No `node:*` import, so a browser
4
+ * bundle stays clean.
5
+ */
6
+ export type PdfResponseOptions = {
7
+ /** Name of the file; `.pdf` is added when missing. `document.pdf` by default. */
8
+ fileName?: string;
9
+ /** `'inline'` shows it in the browser; `'attachment'` (default) saves it. */
10
+ disposition?: 'inline' | 'attachment';
11
+ /** More headers, such as `Cache-Control`. */
12
+ headers?: HeadersInit;
13
+ };
14
+ /**
15
+ * `Content-Disposition` with an ASCII `filename` every client reads and a
16
+ * UTF-8 `filename*` for the rest (RFC 6266).
17
+ */
18
+ export declare function contentDisposition(disposition: 'inline' | 'attachment', fileName: string): string;
19
+ /** A Web `Response` carrying PDF bytes, with type, length and file name. */
20
+ export declare function pdfBytesResponse(bytes: Uint8Array<ArrayBuffer>, options?: PdfResponseOptions): Response;
21
+ /** A Web `ReadableStream` over an async iterable of chunks (react-pdf's stream). */
22
+ export declare function toWebStream(source: AsyncIterable<Uint8Array | string>): ReadableStream<Uint8Array>;
23
+ //# sourceMappingURL=http.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/pdf/http.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,MAAM,kBAAkB,GAAG;IAChC,iFAAiF;IACjF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAC;IACtC,6CAA6C;IAC7C,OAAO,CAAC,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,kBAAkB,CACjC,WAAW,EAAE,QAAQ,GAAG,YAAY,EACpC,QAAQ,EAAE,MAAM,GACd,MAAM,CAOR;AAKD,4EAA4E;AAC5E,wBAAgB,gBAAgB,CAC/B,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,EAC9B,OAAO,GAAE,kBAAuB,GAC9B,QAAQ,CAYV;AAED,oFAAoF;AACpF,wBAAgB,WAAW,CAC1B,MAAM,EAAE,aAAa,CAAC,UAAU,GAAG,MAAM,CAAC,GACxC,cAAc,CAAC,UAAU,CAAC,CAkB5B"}
@@ -0,0 +1,13 @@
1
+ import {
2
+ contentDisposition2,
3
+ pdfBytesResponse2,
4
+ toWebStream2
5
+ } from "../chunks/index-2gcgcmc0.js";
6
+ export {
7
+ contentDisposition2 as contentDisposition,
8
+ pdfBytesResponse2 as pdfBytesResponse,
9
+ toWebStream2 as toWebStream
10
+ };
11
+
12
+ //# debugId=B926E2961B117CC764756E2164756E21
13
+ //# sourceMappingURL=http.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "B926E2961B117CC764756E2164756E21",
8
+ "names": []
9
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The document model and its react-pdf renderer, shared by
3
+ * `@nxgt/material/print` and `@nxgt/material-vue/pdf`.
4
+ *
5
+ * `model/` is plain data and imports nothing from React. `render/` imports
6
+ * `react` and `@react-pdf/renderer` — optional peers in both libraries — so
7
+ * it is reached from the print (React) and pdf (Vue) entries only, never from
8
+ * a barrel: `scripts/verify-ssr-safe.ts` fails the build otherwise.
9
+ */
10
+ export * from './model';
11
+ export * from './render';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/pdf/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
@@ -0,0 +1,99 @@
1
+ import"../chunks/index-0xc5q9tp.js";
2
+ import"../chunks/index-6tn0wjsb.js";
3
+ import"../chunks/index-w3ajz57t.js";
4
+ import"../chunks/index-eh0e5ex7.js";
5
+ import {
6
+ createPdfStyles2,
7
+ DEFAULT_PDF_LANGUAGE2,
8
+ toPdfText2,
9
+ createPdfRenderContext2,
10
+ renderKeyValue2,
11
+ renderMetric2,
12
+ DEFAULT_PDF_MARGINS2,
13
+ DEFAULT_FOOTER_HEIGHT2,
14
+ resolvePdfMargins2,
15
+ renderPdfPage2,
16
+ renderHeader2,
17
+ renderTable2,
18
+ renderPdfNode2,
19
+ renderPdfNodes2,
20
+ createPdfContext2,
21
+ renderPdfDocumentShell2,
22
+ renderPdfElement2
23
+ } from "../chunks/index-z3yjh0a8.js";
24
+ import {
25
+ text2,
26
+ heading2,
27
+ stack2,
28
+ row2,
29
+ section2,
30
+ image2,
31
+ link2,
32
+ spacer2,
33
+ divider2,
34
+ pageBreak2,
35
+ table2,
36
+ keyValue2,
37
+ totals2,
38
+ metric2,
39
+ badge2,
40
+ header2,
41
+ pageNumber2,
42
+ page2,
43
+ pdfDocument2,
44
+ definePdfDocument2,
45
+ dataTable2,
46
+ keyValueOf2
47
+ } from "../chunks/index-8gf9e2d4.js";
48
+ import {
49
+ defaultPdfTheme2,
50
+ resolvePdfTheme2,
51
+ resolvePdfColor2
52
+ } from "../chunks/index-3ca6xe71.js";
53
+ export {
54
+ DEFAULT_FOOTER_HEIGHT2 as DEFAULT_FOOTER_HEIGHT,
55
+ DEFAULT_PDF_LANGUAGE2 as DEFAULT_PDF_LANGUAGE,
56
+ DEFAULT_PDF_MARGINS2 as DEFAULT_PDF_MARGINS,
57
+ badge2 as badge,
58
+ createPdfContext2 as createPdfContext,
59
+ createPdfRenderContext2 as createPdfRenderContext,
60
+ createPdfStyles2 as createPdfStyles,
61
+ dataTable2 as dataTable,
62
+ defaultPdfTheme2 as defaultPdfTheme,
63
+ definePdfDocument2 as definePdfDocument,
64
+ divider2 as divider,
65
+ header2 as header,
66
+ heading2 as heading,
67
+ image2 as image,
68
+ keyValue2 as keyValue,
69
+ keyValueOf2 as keyValueOf,
70
+ link2 as link,
71
+ metric2 as metric,
72
+ page2 as page,
73
+ pageBreak2 as pageBreak,
74
+ pageNumber2 as pageNumber,
75
+ pdfDocument2 as pdfDocument,
76
+ renderHeader2 as renderHeader,
77
+ renderKeyValue2 as renderKeyValue,
78
+ renderMetric2 as renderMetric,
79
+ renderPdfDocumentShell2 as renderPdfDocumentShell,
80
+ renderPdfElement2 as renderPdfElement,
81
+ renderPdfNode2 as renderPdfNode,
82
+ renderPdfNodes2 as renderPdfNodes,
83
+ renderPdfPage2 as renderPdfPage,
84
+ renderTable2 as renderTable,
85
+ resolvePdfColor2 as resolvePdfColor,
86
+ resolvePdfMargins2 as resolvePdfMargins,
87
+ resolvePdfTheme2 as resolvePdfTheme,
88
+ row2 as row,
89
+ section2 as section,
90
+ spacer2 as spacer,
91
+ stack2 as stack,
92
+ table2 as table,
93
+ text2 as text,
94
+ toPdfText2 as toPdfText,
95
+ totals2 as totals
96
+ };
97
+
98
+ //# debugId=215C788FEDFD7D8864756E2164756E21
99
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,9 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [
5
+ ],
6
+ "mappings": "",
7
+ "debugId": "215C788FEDFD7D8864756E2164756E21",
8
+ "names": []
9
+ }