@contrail/document-generation 2.0.33 → 2.0.35

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 (43) hide show
  1. package/README.md +2 -2
  2. package/lib/board-document-generator.d.ts +23 -23
  3. package/lib/board-document-generator.js +223 -223
  4. package/lib/components/component-generator.d.ts +6 -6
  5. package/lib/components/component-generator.js +55 -55
  6. package/lib/components/component-grid-generator.d.ts +7 -7
  7. package/lib/components/component-grid-generator.js +83 -83
  8. package/lib/components/component-util.d.ts +5 -5
  9. package/lib/components/component-util.js +43 -43
  10. package/lib/document-generator.d.ts +6 -6
  11. package/lib/document-generator.js +11 -11
  12. package/lib/frames/frame-generator.d.ts +12 -12
  13. package/lib/frames/frame-generator.js +131 -131
  14. package/lib/frames/frame.d.ts +16 -16
  15. package/lib/frames/frame.js +67 -67
  16. package/lib/frames/index.d.ts +2 -2
  17. package/lib/frames/index.js +18 -18
  18. package/lib/index.d.ts +6 -6
  19. package/lib/index.js +22 -22
  20. package/lib/info-panel/info-panel-generator.d.ts +6 -6
  21. package/lib/info-panel/info-panel-generator.js +52 -52
  22. package/lib/interfaces.d.ts +72 -72
  23. package/lib/interfaces.js +8 -8
  24. package/lib/scripts/test-board.d.ts +1 -1
  25. package/lib/scripts/test-board.js +230 -230
  26. package/lib/scripts/test-showcase.d.ts +1 -1
  27. package/lib/scripts/test-showcase.js +257 -257
  28. package/lib/showcase-frame-generator.d.ts +8 -8
  29. package/lib/showcase-frame-generator.js +44 -44
  30. package/lib/test-data.d.ts +72 -72
  31. package/lib/test-data.js +187 -187
  32. package/lib/util/document-property-util.d.ts +9 -9
  33. package/lib/util/document-property-util.js +101 -101
  34. package/lib/util/document-text-element-util.d.ts +10 -10
  35. package/lib/util/document-text-element-util.js +124 -124
  36. package/lib/util/document-util.d.ts +8 -8
  37. package/lib/util/document-util.js +22 -22
  38. package/lib/util/index.d.ts +2 -2
  39. package/lib/util/index.js +18 -18
  40. package/lib/util/text-util.d.ts +4 -4
  41. package/lib/util/text-util.js +28 -28
  42. package/package.json +50 -50
  43. package/testdocument.json +25972 -25972
package/package.json CHANGED
@@ -1,50 +1,50 @@
1
- {
2
- "name": "@contrail/document-generation",
3
- "version": "2.0.33",
4
- "description": "Utilities for automatic generation of documents.",
5
- "main": "lib/index.js",
6
- "types": "lib/index.d.ts",
7
- "scripts": {
8
- "build": "tsc",
9
- "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
10
- "lint": "tslint -p tsconfig.json",
11
- "test": "jest"
12
- },
13
- "keywords": [],
14
- "author": "",
15
- "license": "ISC",
16
- "devDependencies": {
17
- "@contrail/aggregates": "^1.0.14",
18
- "@contrail/sdk": "^1.2.3",
19
- "@types/jest": "^29.5.2",
20
- "@types/node": "^18.16.0",
21
- "jest": "^29.5.0",
22
- "nanoid": "^3.3.6",
23
- "npm": "^9.6.5",
24
- "prettier": "^1.19.1",
25
- "ts-jest": "^29.1.1",
26
- "tslint": "^5.11.0",
27
- "tslint-config-prettier": "^1.18.0",
28
- "typescript": "^4.0.0"
29
- },
30
- "jest": {
31
- "moduleFileExtensions": [
32
- "js",
33
- "json",
34
- "ts"
35
- ],
36
- "rootDir": "src",
37
- "testRegex": ".spec.ts$",
38
- "transform": {
39
- "^.+\\.(t|j)s$": "ts-jest"
40
- },
41
- "coverageDirectory": "../coverage",
42
- "testEnvironment": "node"
43
- },
44
- "dependencies": {
45
- "@contrail/data-grouping": "^1.0.24",
46
- "@contrail/documents": "^1.0.91",
47
- "@contrail/types": "^3.0.27",
48
- "@contrail/util": "^1.0.27"
49
- }
50
- }
1
+ {
2
+ "name": "@contrail/document-generation",
3
+ "version": "2.0.35",
4
+ "description": "Utilities for automatic generation of documents.",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "scripts": {
8
+ "build": "tsc",
9
+ "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
10
+ "lint": "tslint -p tsconfig.json",
11
+ "test": "jest"
12
+ },
13
+ "keywords": [],
14
+ "author": "",
15
+ "license": "ISC",
16
+ "devDependencies": {
17
+ "@contrail/aggregates": "^1.0.14",
18
+ "@contrail/sdk": "^1.4.3",
19
+ "@types/jest": "^29.5.2",
20
+ "@types/node": "^18.16.0",
21
+ "jest": "^29.5.0",
22
+ "nanoid": "^3.3.6",
23
+ "npm": "^9.6.5",
24
+ "prettier": "^1.19.1",
25
+ "ts-jest": "^29.1.1",
26
+ "tslint": "^5.11.0",
27
+ "tslint-config-prettier": "^1.18.0",
28
+ "typescript": "^4.0.0"
29
+ },
30
+ "jest": {
31
+ "moduleFileExtensions": [
32
+ "js",
33
+ "json",
34
+ "ts"
35
+ ],
36
+ "rootDir": "src",
37
+ "testRegex": ".spec.ts$",
38
+ "transform": {
39
+ "^.+\\.(t|j)s$": "ts-jest"
40
+ },
41
+ "coverageDirectory": "../coverage",
42
+ "testEnvironment": "node"
43
+ },
44
+ "dependencies": {
45
+ "@contrail/data-grouping": "^1.0.24",
46
+ "@contrail/documents": "^1.0.91",
47
+ "@contrail/types": "^3.0.27",
48
+ "@contrail/util": "^1.0.27"
49
+ }
50
+ }