@design.estate/dees-document 3.4.0 → 4.0.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.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-document',
6
- version: '3.4.0',
6
+ version: '4.0.1',
7
7
  description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSw4QkFBOEI7SUFDcEMsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVMQUF1TDtDQUNyTSxDQUFBIn0=
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-document',
6
- version: '3.4.0',
6
+ version: '4.0.1',
7
7
  description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUsOEJBQThCO0lBQ3BDLE9BQU8sRUFBRSxPQUFPO0lBQ2hCLFdBQVcsRUFBRSx1TEFBdUw7Q0FDck0sQ0FBQSJ9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-document",
3
- "version": "3.4.0",
3
+ "version": "4.0.1",
4
4
  "private": false,
5
5
  "description": "A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.",
6
6
  "main": "dist_ts_web/index.js",
@@ -15,15 +15,15 @@
15
15
  "author": "Lossless GmbH",
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "@design.estate/dees-catalog": "^9.7.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0",
18
+ "@design.estate/dees-catalog": "^9.7.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
19
19
  "@design.estate/dees-domtools": "^3.0.0",
20
- "@design.estate/dees-element": "^3.1.1",
20
+ "@design.estate/dees-element": "^3.2.0",
21
21
  "@design.estate/dees-wcctools": "^3.9.4",
22
22
  "@push.rocks/smartfile": "^13.1.3",
23
23
  "@push.rocks/smartfs": "^1.7.0",
24
24
  "@push.rocks/smartjson": "^6.0.2",
25
25
  "@push.rocks/smartpath": "^6.0.0",
26
- "@push.rocks/smartpdf": "^5.0.2",
26
+ "@push.rocks/smartpdf": "^6.0.1",
27
27
  "@push.rocks/smarttime": "^4.2.3",
28
28
  "@tsclass/tsclass": "^9.10.0",
29
29
  "@types/qrcode": "^1.5.6",
@@ -33,7 +33,7 @@
33
33
  "@git.zone/tsbuild": "^5.0.0",
34
34
  "@git.zone/tsbundle": "^2.15.0",
35
35
  "@git.zone/tsrun": "^3.0.0",
36
- "@git.zone/tstest": "^6.2.0",
36
+ "@git.zone/tstest": "^6.2.1",
37
37
  "@git.zone/tswatch": "^4.0.1",
38
38
  "@types/node": "^26.6.1"
39
39
  },
@@ -53,6 +53,9 @@
53
53
  "last 1 Chrome versions"
54
54
  ],
55
55
  "type": "module",
56
+ "engines": {
57
+ "node": ">=22.13.0 || >=24"
58
+ },
56
59
  "repository": {
57
60
  "type": "git",
58
61
  "url": "https://code.foss.global/design.estate/dees-document.git"
package/readme.md CHANGED
@@ -140,6 +140,8 @@ await fs.file('./invoice.pdf').write(Buffer.from(pdfResult.buffer));
140
140
  await pdfService.stop();
141
141
  ```
142
142
 
143
+ `createPdfFromLetterObject()` returns the `IPdf` of `@push.rocks/smartpdf` 6: the PDF in `buffer`, and in `metadata.textExtraction` its text as PDF.js reads it, a line break where a printed line ends and a blank line (`PDF_TEXT_PAGE_SEPARATOR` of smartpdf) between pages. PDF generation needs Node.js 22.13 or newer.
144
+
143
145
  ### Document Settings
144
146
 
145
147
  Customize document appearance with `IDocumentSettings`:
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-document',
6
- version: '3.4.0',
6
+ version: '4.0.1',
7
7
  description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.'
8
8
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-document',
6
- version: '3.4.0',
6
+ version: '4.0.1',
7
7
  description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.'
8
8
  }