@file-viewer/assets-design 3.1.2 → 3.2.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.
package/README.en.md CHANGED
@@ -1,3 +1,7 @@
1
1
  # @file-viewer/assets-design
2
2
 
3
- Self-hosted Workers, WebAssembly, and accompanying license assets for PSD/PSB/PDD/PSDT, AI/AIT, IDML/ICML/IDMS/INX, XD, INDD/INDT, FLA/XFL, ASE/ACO, ABR/CSH/PAT/GRD/ASL, and EPS/PS previews. The package is installed only with `@file-viewer/renderer-design` and transactionally merges ten asset groups into the stable `file-viewer/` runtime directory. AI/AIT supports both its saved PDF surface and an offline native PGF Worker without a public CDN.
3
+ Runtime package version 3.2.1.
4
+
5
+ Usage and API documentation: https://doc.file-viewer.app/
6
+
7
+ The package's own license is Apache-2.0. Included third-party notices apply to their respective components.
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
1
  # @file-viewer/assets-design
2
2
 
3
- Adobe 设计文件预览的离线 Worker、WASM 与随附许可证资产,覆盖 PSD/PSB/PDD/PSDT、AI/AIT、IDML/ICML/IDMS/INX、XD、INDD/INDT、FLA/XFL、ASE/ACO、ABR/CSH/PAT/GRD/ASL 与 EPS/PS。该包只在选择 `@file-viewer/renderer-design` 时安装,并通过事务式安装器把 10 个资产组合并到稳定的 `file-viewer/` 运行时目录;AI/AIT 的 PDF 兼容面与原生 PGF Worker 均离线自托管,不依赖公共 CDN。
3
+ Runtime package version 3.2.1.
4
+
5
+ Usage and API documentation: https://doc.file-viewer.app/
6
+
7
+ The package's own license is Apache-2.0. Included third-party notices apply to their respective components.
package/bin/install.mjs CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/assets-design",
3
- "version": "3.1.2",
3
+ "version": "3.2.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Independent self-hosted Worker and WebAssembly runtime for Adobe design previews.",
@@ -10,18 +10,46 @@
10
10
  "./package.json": "./package.json"
11
11
  },
12
12
  "files": [
13
- "bin",
14
- "viewer",
13
+ "bin/install.mjs",
15
14
  "file-viewer.asset-pack.json",
16
- "README.md",
15
+ "LICENSE",
17
16
  "README.en.md",
18
- "LICENSE"
17
+ "README.md",
18
+ "viewer/file-viewer-asset-pack.json",
19
+ "viewer/THIRD_PARTY_LICENSES.assets.json",
20
+ "viewer/vendor/design/adobe-container.worker.js",
21
+ "viewer/vendor/design/adobe-resource.worker.js",
22
+ "viewer/vendor/design/idml.worker.js",
23
+ "viewer/vendor/design/illustrator-pgf.worker.js",
24
+ "viewer/vendor/design/Introspect_NATIVE_THIRD_PARTY_LICENSES.json",
25
+ "viewer/vendor/design/LICENSE.ag-psd-MIT.txt",
26
+ "viewer/vendor/design/LICENSE.base64-js-MIT.txt",
27
+ "viewer/vendor/design/LICENSE.Carlito-OFL-1.1.txt",
28
+ "viewer/vendor/design/LICENSE.Cousine-OFL-1.1.txt",
29
+ "viewer/vendor/design/LICENSE.fzstd-MIT.txt",
30
+ "viewer/vendor/design/LICENSE.illustrator-pgf-MIT.txt",
31
+ "viewer/vendor/design/LICENSE.introspect-wasm-MPL-2.0.txt",
32
+ "viewer/vendor/design/LICENSE.NotoSansSymbols2-OFL-1.1.txt",
33
+ "viewer/vendor/design/LICENSE.pako-MIT.txt",
34
+ "viewer/vendor/design/LICENSE.saxes-ISC.txt",
35
+ "viewer/vendor/design/LICENSE.stet-Apache-2.0.txt",
36
+ "viewer/vendor/design/LICENSE.stet-MIT.txt",
37
+ "viewer/vendor/design/LICENSE.Tinos-OFL-1.1.txt",
38
+ "viewer/vendor/design/LICENSE.webtoon-psd-MIT.txt",
39
+ "viewer/vendor/design/LICENSE.xmlchars-MIT.txt",
40
+ "viewer/vendor/design/LICENSE.xmldom-MIT.txt",
41
+ "viewer/vendor/design/paged_introspect_wasm_bg.wasm",
42
+ "viewer/vendor/design/photoshop.worker.js",
43
+ "viewer/vendor/design/postscript.worker.js",
44
+ "viewer/vendor/design/Stet_NATIVE_THIRD_PARTY_LICENSES.json",
45
+ "viewer/vendor/design/stet_wasm_bg.wasm",
46
+ "viewer/vendor/design/THIRD_PARTY_NOTICES.md"
19
47
  ],
20
48
  "bin": {
21
49
  "file-viewer-assets-design": "./bin/install.mjs"
22
50
  },
23
51
  "dependencies": {
24
- "@file-viewer/asset-installer": "3.1.2"
52
+ "@file-viewer/asset-installer": "3.2.1"
25
53
  },
26
54
  "engines": {
27
55
  "node": ">=20"
@@ -32,15 +60,14 @@
32
60
  },
33
61
  "repository": {
34
62
  "type": "git",
35
- "url": "git+https://github.com/flyfish-dev/file-viewer.git",
36
- "directory": "packages/tools/assets-design"
63
+ "url": "git+https://github.com/flyfish-dev/file-viewer.git"
37
64
  },
38
65
  "fileViewer": {
39
- "assetPackManifest": "./file-viewer.asset-pack.json"
66
+ "assetPackManifest": "./file-viewer.asset-pack.json",
67
+ "distribution": {
68
+ "schemaVersion": 1,
69
+ "mode": "runtime-only"
70
+ }
40
71
  },
41
- "license": "Apache-2.0",
42
- "scripts": {
43
- "stage-assets": "node ../../build-support/stage-capability-asset-pack.mjs --package-dir packages/tools/assets-design",
44
- "verify": "pnpm stage-assets && node scripts/verify-assets.mjs"
45
- }
46
- }
72
+ "license": "Apache-2.0"
73
+ }
@@ -0,0 +1,122 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "purpose": "shared-runtime-material-attribution",
4
+ "scope": "Material identity and actual copied payloads; not a source-availability or release approval.",
5
+ "registrySha256": "d06cd1dfceaf3da9d1650c3f4f1967b9fb1d8bed734a7309adc700f11ccefbe0",
6
+ "releaseApproval": false,
7
+ "materials": [
8
+ {
9
+ "path": "vendor/design/LICENSE.Carlito-OFL-1.1.txt",
10
+ "sha256": "58402f82a7c332a700294988fe7554fbb0a63a8d27ccc1ee3bbc640311990a00",
11
+ "bytes": 4424,
12
+ "kind": "original-license-grant",
13
+ "component": "Carlito",
14
+ "declaredLicense": "OFL-1.1",
15
+ "source": "https://github.com/google/fonts/tree/ade3d1533e06b2b1462ffcde8e08b129627ca360/ofl",
16
+ "runtimePaths": [
17
+ "vendor/design/postscript.worker.js",
18
+ "vendor/design/stet_wasm_bg.wasm"
19
+ ]
20
+ },
21
+ {
22
+ "path": "vendor/design/LICENSE.Cousine-OFL-1.1.txt",
23
+ "sha256": "b81c4d4dc0a9f72c9155e78187316e016e2012a8102468804173dc61468b906d",
24
+ "bytes": 4387,
25
+ "kind": "original-license-grant",
26
+ "component": "Cousine",
27
+ "declaredLicense": "OFL-1.1",
28
+ "source": "https://github.com/google/fonts/tree/ade3d1533e06b2b1462ffcde8e08b129627ca360/ofl",
29
+ "runtimePaths": [
30
+ "vendor/design/postscript.worker.js",
31
+ "vendor/design/stet_wasm_bg.wasm"
32
+ ]
33
+ },
34
+ {
35
+ "path": "vendor/design/LICENSE.NotoSansSymbols2-OFL-1.1.txt",
36
+ "sha256": "b118dd41337806a5d4797052c77caf3bd096aed783e5eb21b4d11154351e1ac0",
37
+ "bytes": 4383,
38
+ "kind": "original-license-grant",
39
+ "component": "NotoSansSymbols2",
40
+ "declaredLicense": "OFL-1.1",
41
+ "source": "https://github.com/google/fonts/tree/ade3d1533e06b2b1462ffcde8e08b129627ca360/ofl",
42
+ "runtimePaths": [
43
+ "vendor/design/postscript.worker.js",
44
+ "vendor/design/stet_wasm_bg.wasm"
45
+ ]
46
+ },
47
+ {
48
+ "path": "vendor/design/LICENSE.Tinos-OFL-1.1.txt",
49
+ "sha256": "cb3382d4643e8b02c12e322c220a3c76a5020d667e4fd4e7c75e744cca6caa6b",
50
+ "bytes": 4383,
51
+ "kind": "original-license-grant",
52
+ "component": "Tinos",
53
+ "declaredLicense": "OFL-1.1",
54
+ "source": "https://github.com/googlefonts/tinos/blob/3b4482a99b80ea5fc75f187b1be3120a3f5905b3/OFL.txt",
55
+ "runtimePaths": [
56
+ "vendor/design/postscript.worker.js",
57
+ "vendor/design/stet_wasm_bg.wasm"
58
+ ]
59
+ },
60
+ {
61
+ "path": "vendor/design/LICENSE.saxes-ISC.txt",
62
+ "sha256": "0fac2374380621b22e6b50451057721a9c52935b02d16d106a9f04897f061d0e",
63
+ "bytes": 3011,
64
+ "kind": "original-license-grant",
65
+ "component": "saxes@6.0.0",
66
+ "declaredLicense": "ISC",
67
+ "source": "https://github.com/lddubeau/saxes/blob/211fa0ebec9b628affc09219199639887174bfc3/LICENSE",
68
+ "runtimePaths": [
69
+ "vendor/design/adobe-container.worker.js"
70
+ ]
71
+ },
72
+ {
73
+ "path": "vendor/design/LICENSE.stet-Apache-2.0.txt",
74
+ "sha256": "281755c6f4d045a464a29eb720c3e7586175c621352675dce144ca74bd1228cb",
75
+ "bytes": 10283,
76
+ "kind": "original-license-grant",
77
+ "component": "Stet",
78
+ "declaredLicense": "Apache-2.0 OR MIT",
79
+ "source": "https://github.com/AndyCappDev/stet/tree/3aaf0a76ebd0f9129a715dfa10614d8871d8e965",
80
+ "runtimePaths": [
81
+ "vendor/design/postscript.worker.js",
82
+ "vendor/design/stet_wasm_bg.wasm"
83
+ ]
84
+ },
85
+ {
86
+ "path": "vendor/design/LICENSE.stet-MIT.txt",
87
+ "sha256": "4e27c8bbd00f817fb6fb96e8ca8eada8f0983a50a38fe3114ba8f977d31f654b",
88
+ "bytes": 1069,
89
+ "kind": "original-license-grant",
90
+ "component": "Stet",
91
+ "declaredLicense": "Apache-2.0 OR MIT",
92
+ "source": "https://github.com/AndyCappDev/stet/tree/3aaf0a76ebd0f9129a715dfa10614d8871d8e965",
93
+ "runtimePaths": [
94
+ "vendor/design/postscript.worker.js",
95
+ "vendor/design/stet_wasm_bg.wasm"
96
+ ]
97
+ }
98
+ ],
99
+ "runtimeFiles": [
100
+ {
101
+ "path": "vendor/design/adobe-container.worker.js",
102
+ "bytes": 195086,
103
+ "sha256": "b2c1867d5854e649274789b93365e875cdd84af6ad8dd8ddd221c37d547477fd",
104
+ "sourceSha256": "b2c1867d5854e649274789b93365e875cdd84af6ad8dd8ddd221c37d547477fd",
105
+ "sourceTransform": "none"
106
+ },
107
+ {
108
+ "path": "vendor/design/postscript.worker.js",
109
+ "bytes": 11090,
110
+ "sha256": "b8a9e512adc036cb1b6d167c689b7ccfda2c118a2724427ab0756aa2892c9375",
111
+ "sourceSha256": "b8a9e512adc036cb1b6d167c689b7ccfda2c118a2724427ab0756aa2892c9375",
112
+ "sourceTransform": "none"
113
+ },
114
+ {
115
+ "path": "vendor/design/stet_wasm_bg.wasm",
116
+ "bytes": 12144124,
117
+ "sha256": "454a28adcd8403a7885af9ca8ffb725cb469b273635602757d7c324cbd1ebeea",
118
+ "sourceSha256": "454a28adcd8403a7885af9ca8ffb725cb469b273635602757d7c324cbd1ebeea",
119
+ "sourceTransform": "none"
120
+ }
121
+ ]
122
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "packageName": "@file-viewer/assets-design",
4
- "packageVersion": "3.1.2",
4
+ "packageVersion": "3.2.1",
5
5
  "copyGroups": [
6
6
  "adobe-animate-xfl-design",
7
7
  "adobe-palette-design",
@@ -558,6 +558,15 @@
558
558
  "defaultPath": "vendor/design/LICENSE.NotoSansSymbols2-OFL-1.1.txt",
559
559
  "packagePath": "@file-viewer/renderer-design/licenses/NotoSansSymbols2-OFL-1.1.txt",
560
560
  "description": "Noto Sans Symbols 2 SIL Open Font License 1.1 text."
561
+ },
562
+ {
563
+ "id": "postscript-design-wasm-Stet_NATIVE_THIRD_PARTY_LICENSES.json",
564
+ "rendererId": "postscript-design",
565
+ "kind": "file",
566
+ "target": "public",
567
+ "required": true,
568
+ "defaultPath": "vendor/design/Stet_NATIVE_THIRD_PARTY_LICENSES.json",
569
+ "description": "Complete original native license materials and public corresponding source notice."
561
570
  }
562
571
  ]
563
572
  },
@@ -574,6 +583,16 @@
574
583
  "packagePath": "@file-viewer/renderer-design/third-party-notices",
575
584
  "description": "Third-party notices for the bundled Adobe design Worker and WebAssembly dependency closure."
576
585
  },
586
+ {
587
+ "id": "indesign-idml-native-third-party-licenses",
588
+ "rendererId": "indesign-idml-design",
589
+ "kind": "license",
590
+ "target": "public",
591
+ "required": true,
592
+ "defaultPath": "vendor/design/Introspect_NATIVE_THIRD_PARTY_LICENSES.json",
593
+ "packagePath": "@file-viewer/renderer-design/licenses/Introspect_NATIVE_THIRD_PARTY_LICENSES.json",
594
+ "description": "Complete collected native dependency license texts and matching Introspect WASM provenance."
595
+ },
577
596
  {
578
597
  "id": "indesign-idml-worker",
579
598
  "rendererId": "indesign-idml-design",