@triiiceratops/plugin-image-export 1.0.0-rc.4 → 1.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/dist/catalog.d.ts +5 -6
- package/dist/exportImage.d.ts +29 -7
- package/dist/identity.d.ts +10 -0
- package/dist/iife.js +1 -200
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -3579
- package/dist/plugin.d.ts +2 -2
- package/dist/reportError.d.ts +1 -1
- package/dist/styles.d.ts +3 -11
- package/package.json +9 -9
package/dist/plugin.d.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* cleanup. Styles install through the SDK style service (root-aware), strings
|
|
9
9
|
* resolve through the per-viewer locale service over this package's catalog, and
|
|
10
10
|
* the toolbar glyph is a `svgIcon` descriptor. Export reads canvas geometry from
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* raw Canvas JSON and core's first-party layout helpers, so the plugin requires
|
|
12
|
+
* no capability.
|
|
13
13
|
*
|
|
14
14
|
* This plugin's validation duty (SPEC.md Plugin Migration) is asynchronous
|
|
15
15
|
* operations and binary output: the panel runs async IIIF fetch/compositing and
|
package/dist/reportError.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare const reportImageDownloadError: (node: EventTarget, error: unknown, retry: () => void) => void;
|
package/dist/styles.d.ts
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The plugin's package-owned global CSS
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* are not Svelte-scoped (they are installed globally into the viewer root).
|
|
6
|
-
*
|
|
7
|
-
* Core-owned-chrome path (ticket 04): core renders the toolbar button and the
|
|
8
|
-
* docked panel's header/title and owns open/close + docking, so this stylesheet
|
|
9
|
-
* carries NO toggle button and NO `position: absolute` — only the layout of the
|
|
10
|
-
* panel *content* (body + footer). The controls themselves are themed by the
|
|
11
|
-
* bundled `@triiiceratops/ui` primitives; these rules only lay out the content
|
|
12
|
-
* and restore `main`'s Panel look with the current `--tri-` theme tokens.
|
|
2
|
+
* The plugin's package-owned global CSS and its style-service install id. What
|
|
3
|
+
* the rules cover, and where core's ownership of the panel chrome stops, is
|
|
4
|
+
* documented in `panel.css` beside them.
|
|
13
5
|
*/
|
|
14
6
|
export declare const STYLES: string, STYLE_ID: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@triiiceratops/plugin-image-export",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Image download (single/composite/current-view export) plugin for the triiiceratops IIIF viewer, authored on @triiiceratops/plugin-sdk.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "git+https://github.com/d-flood/triiiceratops.git",
|
|
11
11
|
"directory": "packages/plugin-image-export"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://
|
|
13
|
+
"homepage": "https://triiiceratops.org/",
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public",
|
|
16
16
|
"provenance": true
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"./iife": "./dist/iife.js"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
|
-
"build": "pnpm build:esm && pnpm build:iife && pnpm build:types",
|
|
40
|
+
"build": "pnpm clean && pnpm build:esm && pnpm build:iife && pnpm build:types",
|
|
41
41
|
"build:esm": "BUILD_FORMAT=es vite build",
|
|
42
42
|
"build:iife": "BUILD_FORMAT=iife vite build",
|
|
43
43
|
"build:types": "tsc -p tsconfig.build.json",
|
|
@@ -49,17 +49,17 @@
|
|
|
49
49
|
"lint:fix": "eslint . --fix --max-warnings 0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"triiiceratops": "^1.0.0
|
|
53
|
-
"@triiiceratops/plugin-sdk": "^1.0.0
|
|
52
|
+
"triiiceratops": "^1.0.0",
|
|
53
|
+
"@triiiceratops/plugin-sdk": "^1.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@sveltejs/vite-plugin-svelte": "^6.2.
|
|
57
|
-
"@triiiceratops/plugin-sdk": "1.0.0
|
|
56
|
+
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
|
57
|
+
"@triiiceratops/plugin-sdk": "1.0.0",
|
|
58
58
|
"@triiiceratops/ui": "0.0.0",
|
|
59
59
|
"@vitest/coverage-v8": "4.0.15",
|
|
60
|
-
"svelte": "5.
|
|
60
|
+
"svelte": "5.56.10",
|
|
61
61
|
"svelte-check": "^4.3.4",
|
|
62
|
-
"triiiceratops": "1.0.0
|
|
62
|
+
"triiiceratops": "1.0.0",
|
|
63
63
|
"typescript": "~5.9.3",
|
|
64
64
|
"vite": "^6.0.0",
|
|
65
65
|
"vitest": "^4.0.15"
|