@manifest-editor/creators 1.2.0 → 1.3.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/iiif-browser-form.lazy-3EZNJN4M.js +21 -0
- package/dist/iiif-browser-form.lazy-3YUQOIEL.js +21 -0
- package/dist/iiif-browser-form.lazy-4CDWA6JD.js +47 -0
- package/dist/iiif-browser-form.lazy-B2RXVKR5.js +21 -0
- package/dist/iiif-browser-form.lazy-DCCYGD42.js +35 -0
- package/dist/iiif-browser-form.lazy-DU2NJUCE.js +46 -0
- package/dist/iiif-browser-form.lazy-DUTUHLUT.js +50 -0
- package/dist/iiif-browser-form.lazy-EJZ754MG.js +42 -0
- package/dist/iiif-browser-form.lazy-ENQRBLTJ.js +21 -0
- package/dist/iiif-browser-form.lazy-FMKQQWDE.js +33 -0
- package/dist/iiif-browser-form.lazy-FOIWPPI7.js +47 -0
- package/dist/iiif-browser-form.lazy-G7XAQYYG.js +51 -0
- package/dist/iiif-browser-form.lazy-GO6U6NE5.js +32 -0
- package/dist/iiif-browser-form.lazy-GVEEZX37.js +33 -0
- package/dist/iiif-browser-form.lazy-HBWB7QGF.js +31 -0
- package/dist/iiif-browser-form.lazy-I7ZNZHID.js +48 -0
- package/dist/iiif-browser-form.lazy-IX5DFVDG.js +47 -0
- package/dist/iiif-browser-form.lazy-KPB57B25.js +21 -0
- package/dist/iiif-browser-form.lazy-KYOKLDRV.js +47 -0
- package/dist/iiif-browser-form.lazy-NDPLPCQQ.js +43 -0
- package/dist/iiif-browser-form.lazy-OQLU6NDJ.js +51 -0
- package/dist/iiif-browser-form.lazy-OZNQO2OO.js +21 -0
- package/dist/iiif-browser-form.lazy-QR55LXI4.js +21 -0
- package/dist/iiif-browser-form.lazy-R5TMXUBV.js +19 -0
- package/dist/iiif-browser-form.lazy-RWEJWTIW.js +21 -0
- package/dist/iiif-browser-form.lazy-T6LT6BJD.js +48 -0
- package/dist/iiif-browser-form.lazy-TWQYATEG.js +21 -0
- package/dist/iiif-browser-form.lazy-UPZXU6JB.js +51 -0
- package/dist/iiif-browser-form.lazy-W42LJ6X2.js +47 -0
- package/dist/iiif-browser-form.lazy-WAK45BLF.js +42 -0
- package/dist/iiif-browser-form.lazy-WVCVE6XK.js +21 -0
- package/dist/index.cjs +1550 -1378
- package/dist/index.d.cts +18 -16
- package/dist/index.d.ts +18 -16
- package/dist/index.js +1451 -1283
- package/package.json +13 -12
- package/dist/chunk-YSQDPG26.js +0 -30
- package/dist/iiif-browser-form.lazy-C3VAAY7I.js +0 -34
- package/dist/iiif-browser-form.lazy-QLO62DFA.js +0 -32
- package/dist/iiif-browser-form.lazy-ZADCSMAN.js +0 -32
- package/dist/manifest-browser-form.lazy-FLU4HSPW.js +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manifest-editor/creators",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bugs": "https://github.com/digirati-co-uk/iiif-manifest-editor/issues",
|
|
6
6
|
"repository": {
|
|
@@ -43,24 +43,25 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@atlas-viewer/iiif-image-api": "^2.2.0",
|
|
46
|
-
"@iiif/helpers": "^1.
|
|
47
|
-
"@iiif/parser": "^2.1.
|
|
46
|
+
"@iiif/helpers": "^1.3.1",
|
|
47
|
+
"@iiif/parser": "^2.1.7",
|
|
48
48
|
"@iiif/presentation-3": "^2.2.3",
|
|
49
49
|
"@iiif/presentation-3-normalized": "^0.9.7",
|
|
50
|
-
"@manifest-editor/components": "
|
|
51
|
-
"@manifest-editor/creator-api": "
|
|
52
|
-
"@manifest-editor/editor-api": "1.
|
|
53
|
-
"@manifest-editor/editors": "
|
|
54
|
-
"@manifest-editor/iiif-browser": "1.
|
|
55
|
-
"@manifest-editor/shell": "
|
|
50
|
+
"@manifest-editor/components": "1.3.0",
|
|
51
|
+
"@manifest-editor/creator-api": "1.3.0",
|
|
52
|
+
"@manifest-editor/editor-api": "1.3.0",
|
|
53
|
+
"@manifest-editor/editors": "1.3.0",
|
|
54
|
+
"@manifest-editor/iiif-browser": "1.3.0",
|
|
55
|
+
"@manifest-editor/shell": "1.3.0",
|
|
56
|
+
"iiif-browser": "^2.0.0",
|
|
56
57
|
"react": "^18.3.1",
|
|
57
58
|
"react-dom": "^18.3.1",
|
|
58
|
-
"react-iiif-vault": "^1.
|
|
59
|
+
"react-iiif-vault": "^1.5.1",
|
|
59
60
|
"styled-components": "6.1.8"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
63
|
"@manifest-editor/ui": "1.0.0",
|
|
63
|
-
"@repo/eslint-config": "
|
|
64
|
+
"@repo/eslint-config": "workspace:*",
|
|
64
65
|
"@types/react": "^18.3.3",
|
|
65
66
|
"@types/react-dom": "^18.3.0",
|
|
66
67
|
"tiny-invariant": "^1.3.3",
|
|
@@ -69,5 +70,5 @@
|
|
|
69
70
|
"publishConfig": {
|
|
70
71
|
"access": "public"
|
|
71
72
|
},
|
|
72
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "deba5190f58c11b91383eacd79715607ba5b8d24"
|
|
73
74
|
}
|
package/dist/chunk-YSQDPG26.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __commonJS = (cb, mod) => function __require() {
|
|
8
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
19
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
20
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
21
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
22
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
23
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
24
|
-
mod
|
|
25
|
-
));
|
|
26
|
-
|
|
27
|
-
export {
|
|
28
|
-
__commonJS,
|
|
29
|
-
__toESM
|
|
30
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import "./chunk-YSQDPG26.js";
|
|
2
|
-
|
|
3
|
-
// src/ContentResource/IIIFBrowserCreator/iiif-browser-form.lazy.tsx
|
|
4
|
-
import { IIIFExplorer } from "@manifest-editor/iiif-browser";
|
|
5
|
-
import { HOMEPAGE_COLLECTION, PreviewVaultBoundary, usePreviewHistory, usePreviewVault } from "@manifest-editor/shell";
|
|
6
|
-
import { Fragment, jsx } from "react/jsx-runtime";
|
|
7
|
-
function IIIFBrowserCreatorForm(props) {
|
|
8
|
-
const vault = usePreviewVault();
|
|
9
|
-
const { addHistory, clearHistory } = usePreviewHistory();
|
|
10
|
-
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(PreviewVaultBoundary, { children: /* @__PURE__ */ jsx(
|
|
11
|
-
IIIFExplorer,
|
|
12
|
-
{
|
|
13
|
-
window: false,
|
|
14
|
-
hideHeader: true,
|
|
15
|
-
outputTypes: ["Canvas", "CanvasList", "CanvasRegion", "ImageService", "ImageServiceRegion"],
|
|
16
|
-
vault,
|
|
17
|
-
output: { type: "content-state" },
|
|
18
|
-
homepageCollection: HOMEPAGE_COLLECTION,
|
|
19
|
-
clearHomepageCollection: clearHistory,
|
|
20
|
-
onHistory: addHistory,
|
|
21
|
-
outputTargets: [
|
|
22
|
-
{
|
|
23
|
-
type: "callback",
|
|
24
|
-
label: "Select",
|
|
25
|
-
cb: (resource) => props.runCreate({ output: resource })
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
allowRemoveEntry: true
|
|
29
|
-
}
|
|
30
|
-
) }) });
|
|
31
|
-
}
|
|
32
|
-
export {
|
|
33
|
-
IIIFBrowserCreatorForm as default
|
|
34
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// src/ContentResource/IIIFBrowserCreator/iiif-browser-form.lazy.tsx
|
|
2
|
-
import { IIIFExplorer } from "@manifest-editor/iiif-browser";
|
|
3
|
-
import { HOMEPAGE_COLLECTION, PreviewVaultBoundary, usePreviewHistory, usePreviewVault } from "@manifest-editor/shell";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
function IIIFBrowserCreatorForm(props) {
|
|
6
|
-
const vault = usePreviewVault();
|
|
7
|
-
const { addHistory, clearHistory } = usePreviewHistory();
|
|
8
|
-
return /* @__PURE__ */ jsx("div", { style: { height: 500 }, children: /* @__PURE__ */ jsx(PreviewVaultBoundary, { children: /* @__PURE__ */ jsx(
|
|
9
|
-
IIIFExplorer,
|
|
10
|
-
{
|
|
11
|
-
window: false,
|
|
12
|
-
hideHeader: true,
|
|
13
|
-
outputTypes: ["Canvas", "CanvasList", "CanvasRegion", "ImageService", "ImageServiceRegion"],
|
|
14
|
-
vault,
|
|
15
|
-
output: { type: "content-state" },
|
|
16
|
-
homepageCollection: HOMEPAGE_COLLECTION,
|
|
17
|
-
clearHomepageCollection: clearHistory,
|
|
18
|
-
onHistory: addHistory,
|
|
19
|
-
outputTargets: [
|
|
20
|
-
{
|
|
21
|
-
type: "callback",
|
|
22
|
-
label: "Select",
|
|
23
|
-
cb: (resource) => props.runCreate({ output: resource })
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
allowRemoveEntry: true
|
|
27
|
-
}
|
|
28
|
-
) }) });
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
IIIFBrowserCreatorForm as default
|
|
32
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// src/ContentResource/IIIFBrowserCreator/iiif-browser-form.lazy.tsx
|
|
2
|
-
import { IIIFExplorer } from "@manifest-editor/iiif-browser";
|
|
3
|
-
import { HOMEPAGE_COLLECTION, PreviewVaultBoundary, usePreviewHistory, usePreviewVault } from "@manifest-editor/shell";
|
|
4
|
-
import { Fragment, jsx } from "react/jsx-runtime";
|
|
5
|
-
function IIIFBrowserCreatorForm(props) {
|
|
6
|
-
const vault = usePreviewVault();
|
|
7
|
-
const { addHistory, clearHistory } = usePreviewHistory();
|
|
8
|
-
return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(PreviewVaultBoundary, { children: /* @__PURE__ */ jsx(
|
|
9
|
-
IIIFExplorer,
|
|
10
|
-
{
|
|
11
|
-
window: false,
|
|
12
|
-
hideHeader: true,
|
|
13
|
-
outputTypes: ["Canvas", "CanvasList", "CanvasRegion", "ImageService", "ImageServiceRegion"],
|
|
14
|
-
vault,
|
|
15
|
-
output: { type: "content-state" },
|
|
16
|
-
homepageCollection: HOMEPAGE_COLLECTION,
|
|
17
|
-
clearHomepageCollection: clearHistory,
|
|
18
|
-
onHistory: addHistory,
|
|
19
|
-
outputTargets: [
|
|
20
|
-
{
|
|
21
|
-
type: "callback",
|
|
22
|
-
label: "Select",
|
|
23
|
-
cb: (resource) => props.runCreate({ output: resource })
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
allowRemoveEntry: true
|
|
27
|
-
}
|
|
28
|
-
) }) });
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
IIIFBrowserCreatorForm as default
|
|
32
|
-
};
|