@design.estate/dees-document 5.6.0 → 6.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-document",
3
- "version": "5.6.0",
3
+ "version": "6.0.0",
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,8 +15,8 @@
15
15
  "author": "Lossless GmbH",
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "@design.estate/dees-domtools": "^3.0.0",
19
- "@design.estate/dees-element": "^3.2.0",
18
+ "@design.estate/dees-domtools": "^5.0.0",
19
+ "@design.estate/dees-element": "^4.0.1",
20
20
  "@fin.cx/calculation": "^1.4.0",
21
21
  "@push.rocks/smartfile": "^13.1.3",
22
22
  "@push.rocks/smartfs": "^1.7.0",
@@ -29,16 +29,16 @@
29
29
  "qrcode": "^1.5.4"
30
30
  },
31
31
  "peerDependencies": {
32
- "@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 || ^17.0.0 || ^18.0.0 || ^19.0.0"
32
+ "@design.estate/dees-catalog": "^21.0.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@design.estate/dees-catalog": "^19.4.0",
36
- "@design.estate/dees-wcctools": "^3.9.4",
35
+ "@design.estate/dees-catalog": "^21.0.0",
36
+ "@design.estate/dees-wcctools": "^5.0.0",
37
37
  "@git.zone/tsbuild": "^5.1.2",
38
38
  "@git.zone/tsbundle": "^3.1.3",
39
39
  "@git.zone/tsrun": "^3.0.2",
40
- "@git.zone/tstest": "^7.0.0",
41
- "@git.zone/tswatch": "^6.0.0",
40
+ "@git.zone/tstest": "^7.1.0",
41
+ "@git.zone/tswatch": "^6.0.1",
42
42
  "@types/node": "^26.6.3"
43
43
  },
44
44
  "files": [
package/readme.md CHANGED
@@ -12,7 +12,7 @@ For reporting bugs, issues, or security vulnerabilities, please visit [community
12
12
  pnpm install @design.estate/dees-document @design.estate/dees-catalog
13
13
  ```
14
14
 
15
- `@design.estate/dees-catalog` is a peer dependency (9.7 to 19.x): the web components (`@design.estate/dees-document/web`) render the catalog's `dees-icon` and use the catalog copy your application installs. Custom elements are registered globally, so an application must hold one catalog copy, and a component library that brought its own would register each catalog element a second time. pnpm and npm 7+ install a missing peer automatically; Yarn reports it as missing, so list it yourself. The server side (`@design.estate/dees-document`, `/node`) and `/shared` do not load the catalog at runtime: `PdfService` renders with the bundle built into the package.
15
+ `@design.estate/dees-catalog` is a peer dependency (21.x, the catalog on `@design.estate/dees-element` 4): the web components (`@design.estate/dees-document/web`) render the catalog's `dees-icon` and use the catalog copy your application installs. Custom elements are registered globally, so an application must hold one catalog copy, and a component library that brought its own would register each catalog element a second time. pnpm and npm 7+ install a missing peer automatically; Yarn reports it as missing, so list it yourself. The web components run on `@design.estate/dees-element` 4 and `@design.estate/dees-domtools` 5; an application that depends on either itself needs those majors too, or its bundle carries a second copy. The server side (`@design.estate/dees-document`, `/node`) and `/shared` do not load the catalog at runtime: `PdfService` renders with the bundle built into the package.
16
16
 
17
17
  ## Features
18
18
 
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-document',
6
- version: '5.6.0',
6
+ version: '6.0.0',
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: '5.6.0',
6
+ version: '6.0.0',
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
  }
@@ -124,7 +124,7 @@ export class DeDocument extends DeesElement {
124
124
  public async firstUpdated(
125
125
  _changedProperties: Map<string | number | symbol, unknown>
126
126
  ) {
127
- domtools.plugins.smartdelay.delayFor(0).then(async () => {
127
+ domtools.plugins.smartpromise.delayFor(0).then(async () => {
128
128
  this.documentSettings = {
129
129
  ...defaultDocumentSettings,
130
130
  ...this.documentSettings,
@@ -189,7 +189,7 @@ export class DeDocument extends DeesElement {
189
189
  content.documentSettings = this.documentSettings;
190
190
  document.body.appendChild(content);
191
191
 
192
- await domtools.convenience.smartdelay.delayFor(0);
192
+ await domtools.convenience.smartpromise.delayFor(0);
193
193
  let overallContentOffset: number = 0;
194
194
  let currentContentOffset: number;
195
195
  let trimmed: number;