@manifest-editor/creators 1.4.3 → 2.0.1-next.0.d468080
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-3ZdoCwGA.cjs +1 -0
- package/dist/iiif-browser-form.lazy-C2OEJ-sB.js +2 -0
- package/dist/iiif-browser-form.lazy-C2OEJ-sB.js.map +1 -0
- package/dist/index.cjs +19 -2675
- package/dist/index.css +758 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.cts +392 -292
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.ts +392 -292
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +20 -2526
- package/dist/index.js.map +1 -0
- package/dist/manifest-browser-form.lazy-ChGxMNuK.js +1 -0
- package/dist/manifest-browser-form.lazy-CyY_B4mJ.cjs +1 -0
- package/dist/manifest-browser-form.lazy-DnIXlrw4.cjs +1 -0
- package/dist/manifest-browser-form.lazy-WlvvR5FO.js +2 -0
- package/dist/manifest-browser-form.lazy-WlvvR5FO.js.map +1 -0
- package/package.json +28 -32
- package/dist/chunk-2B2F7X4A.js +0 -59
- package/dist/chunk-5YV7MYAZ.js +0 -60
- package/dist/chunk-7FSKLOVQ.js +0 -33
- package/dist/chunk-AVISJS46.js +0 -50
- package/dist/chunk-CYVZA2MU.js +0 -59
- package/dist/chunk-ES62IRNT.js +0 -50
- package/dist/chunk-KLSWX2QF.js +0 -38
- package/dist/chunk-PFQB3PNW.js +0 -47
- package/dist/chunk-S3JO5Y3Z.js +0 -50
- package/dist/chunk-W4PYM3PN.js +0 -59
- package/dist/iiif-browser-form.lazy-3EZNJN4M.js +0 -21
- package/dist/iiif-browser-form.lazy-3INAWCE5.js +0 -54
- package/dist/iiif-browser-form.lazy-3YUQOIEL.js +0 -21
- package/dist/iiif-browser-form.lazy-4CDWA6JD.js +0 -47
- package/dist/iiif-browser-form.lazy-4NX7YPGK.js +0 -57
- package/dist/iiif-browser-form.lazy-4X5LD2U4.js +0 -51
- package/dist/iiif-browser-form.lazy-5TF74M2Q.js +0 -48
- package/dist/iiif-browser-form.lazy-B2RXVKR5.js +0 -21
- package/dist/iiif-browser-form.lazy-BHX6TGDY.js +0 -58
- package/dist/iiif-browser-form.lazy-C72INDSJ.js +0 -57
- package/dist/iiif-browser-form.lazy-DCCYGD42.js +0 -35
- package/dist/iiif-browser-form.lazy-DKKTAIO5.js +0 -59
- package/dist/iiif-browser-form.lazy-DPRO7R2W.js +0 -59
- package/dist/iiif-browser-form.lazy-DU2NJUCE.js +0 -46
- package/dist/iiif-browser-form.lazy-DUTUHLUT.js +0 -50
- package/dist/iiif-browser-form.lazy-EJZ754MG.js +0 -42
- package/dist/iiif-browser-form.lazy-ENQRBLTJ.js +0 -21
- package/dist/iiif-browser-form.lazy-EREIP6PZ.js +0 -58
- package/dist/iiif-browser-form.lazy-FMKQQWDE.js +0 -33
- package/dist/iiif-browser-form.lazy-FOIWPPI7.js +0 -47
- package/dist/iiif-browser-form.lazy-FQDZQ3UW.js +0 -58
- package/dist/iiif-browser-form.lazy-G7TCZSC2.js +0 -58
- package/dist/iiif-browser-form.lazy-G7XAQYYG.js +0 -51
- package/dist/iiif-browser-form.lazy-GO6U6NE5.js +0 -32
- package/dist/iiif-browser-form.lazy-GVEEZX37.js +0 -33
- package/dist/iiif-browser-form.lazy-HBWB7QGF.js +0 -31
- package/dist/iiif-browser-form.lazy-HZ3M2DXT.js +0 -57
- package/dist/iiif-browser-form.lazy-I7KTYV3O.js +0 -57
- package/dist/iiif-browser-form.lazy-I7ZNZHID.js +0 -48
- package/dist/iiif-browser-form.lazy-IX5DFVDG.js +0 -47
- package/dist/iiif-browser-form.lazy-JMT72BLP.js +0 -59
- package/dist/iiif-browser-form.lazy-JX4S6NGX.js +0 -48
- package/dist/iiif-browser-form.lazy-KPB57B25.js +0 -21
- package/dist/iiif-browser-form.lazy-KTB4BQBM.js +0 -59
- package/dist/iiif-browser-form.lazy-KYOKLDRV.js +0 -47
- package/dist/iiif-browser-form.lazy-NDPLPCQQ.js +0 -43
- package/dist/iiif-browser-form.lazy-O35TC45U.js +0 -49
- package/dist/iiif-browser-form.lazy-OMDV43NQ.js +0 -51
- package/dist/iiif-browser-form.lazy-OQLU6NDJ.js +0 -51
- package/dist/iiif-browser-form.lazy-OXQVZ3GS.js +0 -59
- package/dist/iiif-browser-form.lazy-OZNQO2OO.js +0 -21
- package/dist/iiif-browser-form.lazy-PL3WMLU5.js +0 -33
- package/dist/iiif-browser-form.lazy-QR55LXI4.js +0 -21
- package/dist/iiif-browser-form.lazy-R5TMXUBV.js +0 -19
- package/dist/iiif-browser-form.lazy-RWEJWTIW.js +0 -21
- package/dist/iiif-browser-form.lazy-T6LT6BJD.js +0 -48
- package/dist/iiif-browser-form.lazy-TWQYATEG.js +0 -21
- package/dist/iiif-browser-form.lazy-UPZXU6JB.js +0 -51
- package/dist/iiif-browser-form.lazy-W42LJ6X2.js +0 -47
- package/dist/iiif-browser-form.lazy-WAK45BLF.js +0 -42
- package/dist/iiif-browser-form.lazy-WVCVE6XK.js +0 -21
- package/dist/iiif-browser-form.lazy-XORWZFSW.js +0 -49
- package/dist/manifest-browser-form.lazy-4CFTHOMZ.js +0 -6
- package/dist/manifest-browser-form.lazy-5JVKGB7O.js +0 -6
- package/dist/manifest-browser-form.lazy-ALVCNMEV.js +0 -6
- package/dist/manifest-browser-form.lazy-FI4GGCPX.js +0 -6
- package/dist/manifest-browser-form.lazy-HJJKFMR6.js +0 -6
- package/dist/manifest-browser-form.lazy-MYI26AX4.js +0 -6
- package/dist/manifest-browser-form.lazy-QGTJHSSC.js +0 -6
- package/dist/manifest-browser-form.lazy-WRWZPVRC.js +0 -6
- package/dist/manifest-browser-form.lazy-XVYSAQAW.js +0 -6
- package/dist/manifest-browser-form.lazy-YYKOYF7R.js +0 -6
package/dist/index.d.cts
CHANGED
|
@@ -1,395 +1,495 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
7
|
-
import * as
|
|
8
|
-
import { BoxSelector } from
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import * as _manifest_editor_creator_api95 from "@manifest-editor/creator-api";
|
|
2
|
+
import { CreatorContext, CreatorFunctionContext, CreatorResource } from "@manifest-editor/creator-api";
|
|
3
|
+
import * as _iiif_presentation_30 from "@iiif/presentation-3";
|
|
4
|
+
import { ImageService, InternationalString, Reference } from "@iiif/presentation-3";
|
|
5
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
|
+
import { RegionParameter, SizeParameter } from "@iiif/parser/image-3";
|
|
7
|
+
import * as react0 from "react";
|
|
8
|
+
import { BoxSelector } from "@iiif/helpers";
|
|
9
|
+
|
|
10
|
+
//#region src/Agent/ProviderCreator/create-provider.d.ts
|
|
11
|
+
interface CreateProviderPayload {
|
|
12
|
+
url: string;
|
|
13
|
+
label: InternationalString;
|
|
14
|
+
homepage?: string;
|
|
15
|
+
homepageLabel?: InternationalString;
|
|
16
|
+
logo?: string;
|
|
17
|
+
}
|
|
18
|
+
declare function createProvider(data: CreateProviderPayload, ctx: CreatorFunctionContext): Promise<_manifest_editor_creator_api95.CreatorResource>;
|
|
19
|
+
declare function CreateProviderForm(props: CreatorContext<CreateProviderPayload>): react_jsx_runtime0.JSX.Element;
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/Agent/ProviderCreator/index.d.ts
|
|
22
|
+
declare module "@manifest-editor/creator-api" {
|
|
23
|
+
namespace IIIFManifestEditor {
|
|
24
|
+
interface CreatorDefinitions {
|
|
25
|
+
"@manifest-editor/provider": typeof createProvider;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
15
28
|
}
|
|
16
|
-
declare
|
|
17
|
-
|
|
18
|
-
|
|
29
|
+
declare const providerCreator: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateProviderPayload, "@manifest-editor/provider", "Agent", [], ["Agent"], ["Manifest", "Collection"], ["provider"], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/Annotation/AudioAnnotation/create-audio-annotation.d.ts
|
|
32
|
+
interface CreateAudioAnnotationPayload {
|
|
33
|
+
label?: InternationalString;
|
|
34
|
+
motivation?: string;
|
|
35
|
+
duration?: number;
|
|
36
|
+
url: string;
|
|
37
|
+
}
|
|
38
|
+
declare function createAudioAnnotation(data: CreateAudioAnnotationPayload, ctx: CreatorFunctionContext): Promise<_manifest_editor_creator_api95.CreatorResource | undefined>;
|
|
39
|
+
declare function CreateAudioAnnotationForm(props: CreatorContext<CreateAudioAnnotationPayload>): react_jsx_runtime0.JSX.Element;
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/Annotation/AudioAnnotation/index.d.ts
|
|
19
42
|
declare module "@manifest-editor/creator-api" {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
43
|
+
namespace IIIFManifestEditor {
|
|
44
|
+
interface CreatorDefinitions {
|
|
45
|
+
"@manifest-editor/audio-annotation": typeof audioAnnotation;
|
|
24
46
|
}
|
|
47
|
+
}
|
|
25
48
|
}
|
|
26
|
-
declare const audioAnnotation:
|
|
27
|
-
|
|
49
|
+
declare const audioAnnotation: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateAudioAnnotationPayload, "@manifest-editor/audio-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource | undefined>>;
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/Annotation/CaptionedImageAnnotation/create-captioned-image-annotation.d.ts
|
|
28
52
|
interface CreateCaptionedImageAnnotationPayload {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
declare function createCaptionedImageAnnotation(data: CreateCaptionedImageAnnotationPayload, ctx: CreatorFunctionContext): Promise<
|
|
37
|
-
declare function CreateCaptionedImageAnnotation(props: CreatorContext<CreateCaptionedImageAnnotationPayload>):
|
|
38
|
-
|
|
53
|
+
label?: InternationalString;
|
|
54
|
+
body: InternationalString;
|
|
55
|
+
imageUrl: string;
|
|
56
|
+
motivation?: string;
|
|
57
|
+
height?: number;
|
|
58
|
+
width?: number;
|
|
59
|
+
}
|
|
60
|
+
declare function createCaptionedImageAnnotation(data: CreateCaptionedImageAnnotationPayload, ctx: CreatorFunctionContext): Promise<_manifest_editor_creator_api95.CreatorResource | undefined>;
|
|
61
|
+
declare function CreateCaptionedImageAnnotation(props: CreatorContext<CreateCaptionedImageAnnotationPayload>): react_jsx_runtime0.JSX.Element;
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/Annotation/CaptionedImageAnnotation/index.d.ts
|
|
39
64
|
declare module "@manifest-editor/creator-api" {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
65
|
+
namespace IIIFManifestEditor {
|
|
66
|
+
interface CreatorDefinitions {
|
|
67
|
+
"@manifest-editor/captioned-image-annotation": typeof captionedImageAnnotation;
|
|
44
68
|
}
|
|
69
|
+
}
|
|
45
70
|
}
|
|
46
|
-
declare const captionedImageAnnotation:
|
|
47
|
-
|
|
71
|
+
declare const captionedImageAnnotation: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateCaptionedImageAnnotationPayload, "@manifest-editor/captioned-image-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource | undefined>>;
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/Annotation/HTMLAnnotation/create-html-annotation.d.ts
|
|
48
74
|
interface CreateHTMLAnnotationPayload {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
declare function createHtmlAnnotation(data: CreateHTMLAnnotationPayload, ctx: CreatorFunctionContext): Promise<
|
|
56
|
-
declare function CreateHTMLAnnotation(props: CreatorContext<CreateHTMLAnnotationPayload>):
|
|
57
|
-
|
|
75
|
+
label?: InternationalString;
|
|
76
|
+
body: InternationalString;
|
|
77
|
+
motivation?: string;
|
|
78
|
+
height?: number;
|
|
79
|
+
width?: number;
|
|
80
|
+
}
|
|
81
|
+
declare function createHtmlAnnotation(data: CreateHTMLAnnotationPayload, ctx: CreatorFunctionContext): Promise<_manifest_editor_creator_api95.CreatorResource | undefined>;
|
|
82
|
+
declare function CreateHTMLAnnotation(props: CreatorContext<CreateHTMLAnnotationPayload>): react_jsx_runtime0.JSX.Element;
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region src/Annotation/HTMLAnnotation/index.d.ts
|
|
58
85
|
declare module "@manifest-editor/creator-api" {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
86
|
+
namespace IIIFManifestEditor {
|
|
87
|
+
interface CreatorDefinitions {
|
|
88
|
+
"@manifest-editor/html-annotation": typeof htmlAnnotation;
|
|
63
89
|
}
|
|
90
|
+
}
|
|
64
91
|
}
|
|
65
|
-
declare const htmlAnnotation:
|
|
66
|
-
|
|
92
|
+
declare const htmlAnnotation: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateHTMLAnnotationPayload, "@manifest-editor/html-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource | undefined>>;
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/ContentResource/ImageServiceCreator/create-image-service.d.ts
|
|
67
95
|
interface CreateImageServicePayload {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
declare function createImageServer(data: CreateImageServicePayload, ctx: CreatorFunctionContext): Promise<
|
|
78
|
-
declare function CreateImageServerForm(props: CreatorContext<CreateImageServicePayload>):
|
|
79
|
-
|
|
96
|
+
url: string;
|
|
97
|
+
height?: number;
|
|
98
|
+
width?: number;
|
|
99
|
+
format?: string;
|
|
100
|
+
service: ImageService;
|
|
101
|
+
size?: SizeParameter;
|
|
102
|
+
embedService?: boolean;
|
|
103
|
+
selector?: RegionParameter;
|
|
104
|
+
}
|
|
105
|
+
declare function createImageServer(data: CreateImageServicePayload, ctx: CreatorFunctionContext): Promise<_manifest_editor_creator_api95.CreatorResource>;
|
|
106
|
+
declare function CreateImageServerForm(props: CreatorContext<CreateImageServicePayload>): react_jsx_runtime0.JSX.Element;
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region src/Annotation/ImageServiceAnnotation/create-service-annotation.d.ts
|
|
80
109
|
interface CreateImageServiceAnnotationPayload extends CreateImageServicePayload {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
110
|
+
label?: InternationalString;
|
|
111
|
+
motivation?: string;
|
|
112
|
+
thumbnailSize?: number;
|
|
84
113
|
}
|
|
85
114
|
declare function createImageServiceAnnotation(data: CreateImageServiceAnnotationPayload, ctx: CreatorFunctionContext): Promise<any>;
|
|
86
|
-
declare function CreateImageServiceAnnotationForm(props: CreatorContext<CreateImageServicePayload>):
|
|
87
|
-
|
|
115
|
+
declare function CreateImageServiceAnnotationForm(props: CreatorContext<CreateImageServicePayload>): react_jsx_runtime0.JSX.Element;
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/Annotation/ImageServiceAnnotation/index.d.ts
|
|
88
118
|
declare module "@manifest-editor/creator-api" {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
119
|
+
namespace IIIFManifestEditor {
|
|
120
|
+
interface CreatorDefinitions {
|
|
121
|
+
"@manifest-editor/image-service-annotation": typeof imageServiceAnnotation;
|
|
93
122
|
}
|
|
123
|
+
}
|
|
94
124
|
}
|
|
95
|
-
declare const imageServiceAnnotation:
|
|
96
|
-
|
|
125
|
+
declare const imageServiceAnnotation: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateImageServiceAnnotationPayload, "@manifest-editor/image-service-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<any>>;
|
|
126
|
+
//#endregion
|
|
127
|
+
//#region src/ContentResource/ImageUrlCreator/create-image-url.d.ts
|
|
97
128
|
interface CreateImageUrlPayload {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
129
|
+
url: string;
|
|
130
|
+
format?: string;
|
|
131
|
+
height?: number;
|
|
132
|
+
width?: number;
|
|
133
|
+
service?: ImageService | ImageService[];
|
|
103
134
|
}
|
|
104
135
|
declare function createImageUrl(data: CreateImageUrlPayload, ctx: CreatorFunctionContext): Promise<CreatorResource>;
|
|
105
|
-
declare function CreateImageUrlForm(props: CreatorContext):
|
|
106
|
-
|
|
136
|
+
declare function CreateImageUrlForm(props: CreatorContext): react_jsx_runtime0.JSX.Element;
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/Annotation/ImageUrlAnnotation/create-image-url-annotation.d.ts
|
|
107
139
|
interface CreateImageUrlAnnotationPayload extends CreateImageUrlPayload {
|
|
108
|
-
|
|
109
|
-
|
|
140
|
+
label?: InternationalString;
|
|
141
|
+
motivation?: string;
|
|
110
142
|
}
|
|
111
143
|
declare function createImageUrlAnnotation(data: CreateImageUrlAnnotationPayload, ctx: CreatorFunctionContext): Promise<CreatorResource>;
|
|
112
|
-
declare function CreateImageUrlAnnotationForm(props: CreatorContext<CreateImageUrlPayload>):
|
|
113
|
-
|
|
144
|
+
declare function CreateImageUrlAnnotationForm(props: CreatorContext<CreateImageUrlPayload>): react_jsx_runtime0.JSX.Element;
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region src/Annotation/ImageUrlAnnotation/index.d.ts
|
|
114
147
|
declare module "@manifest-editor/creator-api" {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
148
|
+
namespace IIIFManifestEditor {
|
|
149
|
+
interface CreatorDefinitions {
|
|
150
|
+
"@manifest-editor/image-url-annotation": typeof imageUrlAnnotation;
|
|
119
151
|
}
|
|
152
|
+
}
|
|
120
153
|
}
|
|
121
|
-
declare const imageUrlAnnotation:
|
|
122
|
-
|
|
154
|
+
declare const imageUrlAnnotation: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateImageUrlAnnotationPayload, "@manifest-editor/image-url-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
155
|
+
//#endregion
|
|
156
|
+
//#region src/Annotation/ImageUrlListAnnotation/index.d.ts
|
|
123
157
|
declare module "@manifest-editor/creator-api" {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
158
|
+
namespace IIIFManifestEditor {
|
|
159
|
+
interface CreatorDefinitions {
|
|
160
|
+
"@manifest-editor/image-url-list-annotation": typeof imageUrlListAnnotation;
|
|
128
161
|
}
|
|
162
|
+
}
|
|
129
163
|
}
|
|
130
|
-
declare const imageUrlListAnnotation:
|
|
131
|
-
|
|
132
|
-
}, "@manifest-editor/image-url-list-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<
|
|
133
|
-
|
|
164
|
+
declare const imageUrlListAnnotation: _manifest_editor_creator_api95.SpecificCreatorDefinition<{
|
|
165
|
+
images: CreateImageUrlPayload[];
|
|
166
|
+
}, "@manifest-editor/image-url-list-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource[]>>;
|
|
167
|
+
//#endregion
|
|
168
|
+
//#region src/Annotation/VideoAnnotation/create-video-annotation.d.ts
|
|
134
169
|
interface CreateVideoAnnotationPayload {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
declare function createVideoAnnotation(data: CreateVideoAnnotationPayload, ctx: CreatorFunctionContext): Promise<
|
|
143
|
-
declare function CreateVideoAnnotationForm(props: CreatorContext<CreateVideoAnnotationPayload>):
|
|
144
|
-
|
|
170
|
+
label?: InternationalString;
|
|
171
|
+
motivation?: string;
|
|
172
|
+
duration?: number;
|
|
173
|
+
url: string;
|
|
174
|
+
width: number;
|
|
175
|
+
height: number;
|
|
176
|
+
}
|
|
177
|
+
declare function createVideoAnnotation(data: CreateVideoAnnotationPayload, ctx: CreatorFunctionContext): Promise<_manifest_editor_creator_api95.CreatorResource | undefined>;
|
|
178
|
+
declare function CreateVideoAnnotationForm(props: CreatorContext<CreateVideoAnnotationPayload>): react_jsx_runtime0.JSX.Element;
|
|
179
|
+
//#endregion
|
|
180
|
+
//#region src/Annotation/VideoAnnotation/index.d.ts
|
|
145
181
|
declare module "@manifest-editor/creator-api" {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
182
|
+
namespace IIIFManifestEditor {
|
|
183
|
+
interface CreatorDefinitions {
|
|
184
|
+
"@manifest-editor/video-annotation": typeof videoAnnotation;
|
|
150
185
|
}
|
|
186
|
+
}
|
|
151
187
|
}
|
|
152
|
-
declare const videoAnnotation:
|
|
153
|
-
|
|
188
|
+
declare const videoAnnotation: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateVideoAnnotationPayload, "@manifest-editor/video-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource | undefined>>;
|
|
189
|
+
//#endregion
|
|
190
|
+
//#region src/AnnotationPage/EmptyAnnotationPage/index.d.ts
|
|
154
191
|
declare module "@manifest-editor/creator-api" {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
192
|
+
namespace IIIFManifestEditor {
|
|
193
|
+
interface CreatorDefinitions {
|
|
194
|
+
"@manifest-editor/empty-annotation-page": typeof emptyAnnotationPage;
|
|
159
195
|
}
|
|
196
|
+
}
|
|
160
197
|
}
|
|
161
|
-
declare const emptyAnnotationPage:
|
|
162
|
-
|
|
163
|
-
}, "@manifest-editor/empty-annotation-page", "AnnotationPage", [], ["AnnotationPage"], ["Manifest", "Canvas", "Range"], [],
|
|
164
|
-
|
|
198
|
+
declare const emptyAnnotationPage: _manifest_editor_creator_api95.SpecificCreatorDefinition<{
|
|
199
|
+
label?: InternationalString;
|
|
200
|
+
}, "@manifest-editor/empty-annotation-page", "AnnotationPage", [], ["AnnotationPage"], ["Manifest", "Canvas", "Range"], [], _manifest_editor_creator_api95.CreatorResource>;
|
|
201
|
+
//#endregion
|
|
202
|
+
//#region src/Canvas/EmptyCanvas/index.d.ts
|
|
165
203
|
declare module "@manifest-editor/creator-api" {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
204
|
+
namespace IIIFManifestEditor {
|
|
205
|
+
interface CreatorDefinitions {
|
|
206
|
+
"@manifest-editor/empty-canvas": typeof emptyCanvas;
|
|
170
207
|
}
|
|
208
|
+
}
|
|
171
209
|
}
|
|
172
|
-
declare const emptyCanvas:
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
210
|
+
declare const emptyCanvas: _manifest_editor_creator_api95.SpecificCreatorDefinition<{
|
|
211
|
+
label?: InternationalString;
|
|
212
|
+
width?: number;
|
|
213
|
+
height?: number;
|
|
176
214
|
}, "@manifest-editor/empty-canvas", "Canvas", [], ["Canvas"], ["Manifest"], ["items"], {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
215
|
+
readonly id: string;
|
|
216
|
+
readonly type: "Canvas";
|
|
217
|
+
readonly label: InternationalString;
|
|
218
|
+
readonly height: number;
|
|
219
|
+
readonly width: number;
|
|
220
|
+
readonly items: readonly [_manifest_editor_creator_api95.CreatorResource];
|
|
183
221
|
}>;
|
|
184
|
-
|
|
222
|
+
//#endregion
|
|
223
|
+
//#region src/ContentResource/HTMLBodyCreator/create-html-body.d.ts
|
|
185
224
|
interface CreateHTMLBodyPayload {
|
|
186
|
-
|
|
187
|
-
|
|
225
|
+
language?: string;
|
|
226
|
+
body: string;
|
|
188
227
|
}
|
|
189
|
-
declare function createHtmlBody(data: CreateHTMLBodyPayload, ctx: CreatorFunctionContext): Promise<
|
|
190
|
-
declare function CreateHTMLBodyForm(props: CreatorContext<CreateHTMLBodyPayload>):
|
|
191
|
-
|
|
228
|
+
declare function createHtmlBody(data: CreateHTMLBodyPayload, ctx: CreatorFunctionContext): Promise<_manifest_editor_creator_api95.CreatorResource>;
|
|
229
|
+
declare function CreateHTMLBodyForm(props: CreatorContext<CreateHTMLBodyPayload>): react_jsx_runtime0.JSX.Element;
|
|
230
|
+
//#endregion
|
|
231
|
+
//#region src/ContentResource/HTMLBodyCreator/index.d.ts
|
|
192
232
|
declare module "@manifest-editor/creator-api" {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
233
|
+
namespace IIIFManifestEditor {
|
|
234
|
+
interface CreatorDefinitions {
|
|
235
|
+
"@manifest-editor/html-body-creator": typeof htmlBodyCreator;
|
|
197
236
|
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
declare const htmlBodyCreator: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateHTMLBodyPayload, "@manifest-editor/html-body-creator", "ContentResource", [], ["ContentResource"], ["Annotation"], ["body"], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
240
|
+
//#endregion
|
|
241
|
+
//#region src/ContentResource/IIIFBrowserCreator/iiif-browser-form.lazy.d.ts
|
|
242
|
+
declare function IIIFBrowserCreatorForm$1(props: CreatorContext): react_jsx_runtime0.JSX.Element;
|
|
243
|
+
//#endregion
|
|
244
|
+
//#region src/ContentResource/IIIFBrowserCreator/iiif-browser-creator.d.ts
|
|
203
245
|
interface IIIFBrowserCreatorPayload {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
246
|
+
output: Array<{
|
|
247
|
+
resource: any;
|
|
248
|
+
parent: {
|
|
249
|
+
id: string;
|
|
250
|
+
type: string;
|
|
251
|
+
} | undefined;
|
|
252
|
+
selector: BoxSelector | undefined;
|
|
253
|
+
}>;
|
|
254
|
+
trackSize?: (dimensions: {
|
|
255
|
+
width: number;
|
|
256
|
+
height: number;
|
|
257
|
+
}) => void;
|
|
216
258
|
}
|
|
217
259
|
declare function createFromIIIFBrowserOutput(data: IIIFBrowserCreatorPayload, ctx: CreatorFunctionContext): Promise<any[]>;
|
|
218
|
-
declare const IIIFBrowserCreatorForm:
|
|
219
|
-
|
|
260
|
+
declare const IIIFBrowserCreatorForm: react0.LazyExoticComponent<typeof IIIFBrowserCreatorForm$1>;
|
|
261
|
+
//#endregion
|
|
262
|
+
//#region src/ContentResource/IIIFBrowserCreator/index.d.ts
|
|
220
263
|
declare module "@manifest-editor/creator-api" {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
}
|
|
264
|
+
namespace IIIFManifestEditor {
|
|
265
|
+
interface CreatorDefinitions {
|
|
266
|
+
"@manifest-editor/iiif-browser-creator": typeof iiifBrowserCreator;
|
|
225
267
|
}
|
|
268
|
+
}
|
|
226
269
|
}
|
|
227
|
-
declare const iiifBrowserCreator:
|
|
228
|
-
|
|
270
|
+
declare const iiifBrowserCreator: _manifest_editor_creator_api95.SpecificCreatorDefinition<IIIFBrowserCreatorPayload, "@manifest-editor/iiif-browser-creator", "ContentResource", ["Annotation", "Canvas"], ["ContentResource", "Annotation", "Canvas"], ["Annotation", "Manifest", "AnnotationPage"], ["body", "items"], Promise<any[]>>;
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region src/ContentResource/ImageServiceCreator/index.d.ts
|
|
229
273
|
declare module "@manifest-editor/creator-api" {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}
|
|
274
|
+
namespace IIIFManifestEditor {
|
|
275
|
+
interface CreatorDefinitions {
|
|
276
|
+
"@manifest-editor/image-service-creator": typeof imageServiceCreator;
|
|
234
277
|
}
|
|
278
|
+
}
|
|
235
279
|
}
|
|
236
|
-
declare const imageServiceCreator:
|
|
237
|
-
|
|
280
|
+
declare const imageServiceCreator: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateImageServicePayload, "@manifest-editor/image-service-creator", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["logo", "body", "thumbnail"], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
281
|
+
//#endregion
|
|
282
|
+
//#region src/ContentResource/ImageUrlCreator/index.d.ts
|
|
238
283
|
declare module "@manifest-editor/creator-api" {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}
|
|
284
|
+
namespace IIIFManifestEditor {
|
|
285
|
+
interface CreatorDefinitions {
|
|
286
|
+
"@manifest-editor/image-url-creator": typeof imageUrlCreator;
|
|
243
287
|
}
|
|
288
|
+
}
|
|
244
289
|
}
|
|
245
|
-
declare const imageUrlCreator:
|
|
246
|
-
|
|
290
|
+
declare const imageUrlCreator: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateImageUrlPayload, "@manifest-editor/image-url-creator", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["logo", "body", "thumbnail"], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
291
|
+
//#endregion
|
|
292
|
+
//#region src/ContentResource/ImageUrlListCreator/create-image-url-list.d.ts
|
|
247
293
|
interface CreateImageUrlListPayload {
|
|
248
|
-
|
|
294
|
+
images: CreateImageUrlPayload[];
|
|
249
295
|
}
|
|
250
296
|
declare function createImageUrlList(payload: CreateImageUrlListPayload, ctx: CreatorFunctionContext): Promise<CreatorResource[]>;
|
|
251
|
-
declare function CreateImageUrlListForm(props: CreatorContext<CreateImageUrlListPayload>):
|
|
252
|
-
|
|
297
|
+
declare function CreateImageUrlListForm(props: CreatorContext<CreateImageUrlListPayload>): react_jsx_runtime0.JSX.Element;
|
|
298
|
+
//#endregion
|
|
299
|
+
//#region src/ContentResource/ImageUrlListCreator/index.d.ts
|
|
253
300
|
declare module "@manifest-editor/creator-api" {
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
}
|
|
301
|
+
namespace IIIFManifestEditor {
|
|
302
|
+
interface CreatorDefinitions {
|
|
303
|
+
"@manifest-editor/image-url-list": typeof imageUrlListCreator;
|
|
258
304
|
}
|
|
305
|
+
}
|
|
259
306
|
}
|
|
260
|
-
declare const imageUrlListCreator:
|
|
261
|
-
|
|
307
|
+
declare const imageUrlListCreator: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateImageUrlListPayload, "@manifest-editor/image-url-list", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["logo", "body", "thumbnail"], Promise<_manifest_editor_creator_api95.CreatorResource[]>>;
|
|
308
|
+
//#endregion
|
|
309
|
+
//#region src/ContentResource/PlaintextCreator/create-plaintext.d.ts
|
|
262
310
|
interface CreatePlaintextPayload {
|
|
263
|
-
|
|
264
|
-
|
|
311
|
+
url: string;
|
|
312
|
+
label?: InternationalString;
|
|
265
313
|
}
|
|
266
|
-
declare function createPlaintext(data: CreatePlaintextPayload, ctx: CreatorFunctionContext): Promise<
|
|
267
|
-
declare function CreatePlaintextForm(props: CreatorContext):
|
|
268
|
-
|
|
314
|
+
declare function createPlaintext(data: CreatePlaintextPayload, ctx: CreatorFunctionContext): Promise<_manifest_editor_creator_api95.CreatorResource>;
|
|
315
|
+
declare function CreatePlaintextForm(props: CreatorContext): react_jsx_runtime0.JSX.Element;
|
|
316
|
+
//#endregion
|
|
317
|
+
//#region src/ContentResource/PlaintextCreator/index.d.ts
|
|
269
318
|
declare module "@manifest-editor/creator-api" {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
}
|
|
319
|
+
namespace IIIFManifestEditor {
|
|
320
|
+
interface CreatorDefinitions {
|
|
321
|
+
"@manifest-editor/plaintext-creator": typeof plaintextCreator;
|
|
274
322
|
}
|
|
323
|
+
}
|
|
275
324
|
}
|
|
276
|
-
declare const plaintextCreator:
|
|
277
|
-
|
|
325
|
+
declare const plaintextCreator: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreatePlaintextPayload, "@manifest-editor/plaintext-creator", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["seeAlso", "rendering", "homepage"], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
326
|
+
//#endregion
|
|
327
|
+
//#region src/ContentResource/WebPageCreator/create-web-page.d.ts
|
|
278
328
|
interface CreateWebpagePayload {
|
|
279
|
-
|
|
280
|
-
|
|
329
|
+
url: string;
|
|
330
|
+
label?: InternationalString;
|
|
281
331
|
}
|
|
282
|
-
declare function createWebPage(data: CreateWebpagePayload, ctx: CreatorFunctionContext): Promise<
|
|
283
|
-
declare function CreateWebPageForm(props: CreatorContext):
|
|
284
|
-
|
|
332
|
+
declare function createWebPage(data: CreateWebpagePayload, ctx: CreatorFunctionContext): Promise<_manifest_editor_creator_api95.CreatorResource>;
|
|
333
|
+
declare function CreateWebPageForm(props: CreatorContext): react_jsx_runtime0.JSX.Element;
|
|
334
|
+
//#endregion
|
|
335
|
+
//#region src/ContentResource/WebPageCreator/index.d.ts
|
|
285
336
|
declare module "@manifest-editor/creator-api" {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
}
|
|
337
|
+
namespace IIIFManifestEditor {
|
|
338
|
+
interface CreatorDefinitions {
|
|
339
|
+
"@manifest-editor/web-page-creator": typeof webPageCreator;
|
|
290
340
|
}
|
|
341
|
+
}
|
|
291
342
|
}
|
|
292
|
-
declare const webPageCreator:
|
|
293
|
-
|
|
343
|
+
declare const webPageCreator: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateWebpagePayload, "@manifest-editor/web-page-creator", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["seeAlso", "rendering", "homepage"], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
344
|
+
//#endregion
|
|
345
|
+
//#region src/ContentResource/YouTubeCreator/create-youtube-body.d.ts
|
|
294
346
|
interface CreateYouTubeBodyPayload {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
347
|
+
youtubeUrl: string;
|
|
348
|
+
label?: InternationalString;
|
|
349
|
+
height?: number;
|
|
350
|
+
width?: number;
|
|
351
|
+
duration: number;
|
|
300
352
|
}
|
|
301
353
|
declare function getYouTubeId(url: string): string | null | undefined;
|
|
302
354
|
declare function validateYouTube(data: CreateYouTubeBodyPayload): boolean;
|
|
303
|
-
declare function createYoutubeBody(data: CreateYouTubeBodyPayload, ctx: CreatorFunctionContext): Promise<
|
|
304
|
-
declare function YouTubeForm(props: CreatorContext):
|
|
305
|
-
|
|
355
|
+
declare function createYoutubeBody(data: CreateYouTubeBodyPayload, ctx: CreatorFunctionContext): Promise<_manifest_editor_creator_api95.CreatorResource>;
|
|
356
|
+
declare function YouTubeForm(props: CreatorContext): react_jsx_runtime0.JSX.Element;
|
|
357
|
+
//#endregion
|
|
358
|
+
//#region src/ContentResource/YouTubeCreator/index.d.ts
|
|
306
359
|
declare module "@manifest-editor/creator-api" {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
}
|
|
360
|
+
namespace IIIFManifestEditor {
|
|
361
|
+
interface CreatorDefinitions {
|
|
362
|
+
"@manifest-editor/youtube": typeof youTubeBodyCreator;
|
|
311
363
|
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
declare const youTubeBodyCreator: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateYouTubeBodyPayload, "@manifest-editor/youtube", "ContentResource", ["Canvas", "Annotation"], ["ContentResource", "Canvas", "Annotation"], ["Annotation", "Manifest", "AnnotationPage"], [], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
367
|
+
//#endregion
|
|
368
|
+
//#region src/Manifest/ManifestBrowserCreator/manifest-browser-form.lazy.d.ts
|
|
369
|
+
declare function ManifestBrowserCreatorForm$1(props: CreatorContext): react_jsx_runtime0.JSX.Element;
|
|
370
|
+
//#endregion
|
|
371
|
+
//#region src/Manifest/ManifestBrowserCreator/manifest-browser-creator.d.ts
|
|
317
372
|
interface ManifestBrowserCreatorPayload {
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
373
|
+
output: Array<{
|
|
374
|
+
resource: any;
|
|
375
|
+
parent: {
|
|
376
|
+
id: string;
|
|
377
|
+
type: string;
|
|
378
|
+
} | undefined;
|
|
379
|
+
selector: BoxSelector | undefined;
|
|
380
|
+
}>;
|
|
326
381
|
}
|
|
327
382
|
declare function createFromManifestBrowserOutput(data: ManifestBrowserCreatorPayload, ctx: CreatorFunctionContext): Promise<CreatorResource[]>;
|
|
328
|
-
declare const ManifestBrowserCreatorForm:
|
|
329
|
-
|
|
383
|
+
declare const ManifestBrowserCreatorForm: react0.LazyExoticComponent<typeof ManifestBrowserCreatorForm$1>;
|
|
384
|
+
//#endregion
|
|
385
|
+
//#region src/Manifest/ManifestBrowserCreator/index.d.ts
|
|
386
|
+
declare module "@manifest-editor/creator-api" {
|
|
387
|
+
namespace IIIFManifestEditor {
|
|
388
|
+
interface CreatorDefinitions {
|
|
389
|
+
"@manifest-editor/manifest-browser-creator": typeof manifestBrowserCreator;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
declare const manifestBrowserCreator: _manifest_editor_creator_api95.SpecificCreatorDefinition<ManifestBrowserCreatorPayload, "@manifest-editor/manifest-browser-creator", "Manifest", ["Collection"], ["Manifest", "Collection"], ["Collection"], [], Promise<_manifest_editor_creator_api95.CreatorResource[]>>;
|
|
394
|
+
//#endregion
|
|
395
|
+
//#region src/Range/RangeWithItems/create-range-with-items.d.ts
|
|
396
|
+
interface CreateRangeWithItemsPayload {
|
|
397
|
+
type: "Range";
|
|
398
|
+
label?: InternationalString | string;
|
|
399
|
+
items?: Array<Reference<"Canvas"> | Reference<"Range">>;
|
|
400
|
+
}
|
|
401
|
+
declare function createRangeWithItems(data: CreateRangeWithItemsPayload, ctx: CreatorFunctionContext, parentId?: string): Promise<CreatorResource>;
|
|
402
|
+
declare function RangeWithItemsCreatorForm(props: CreatorContext<CreateRangeWithItemsPayload>): react_jsx_runtime0.JSX.Element;
|
|
403
|
+
//#endregion
|
|
404
|
+
//#region src/Range/RangeWithItems/index.d.ts
|
|
405
|
+
declare module "@manifest-editor/creator-api" {
|
|
406
|
+
namespace IIIFManifestEditor {
|
|
407
|
+
interface CreatorDefinitions {
|
|
408
|
+
"@manifest-editor/range-with-items": typeof rangeWithItems;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
declare const rangeWithItems: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateRangeWithItemsPayload, "@manifest-editor/range-with-items", "Range", [], ["Range"], ["Range"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
413
|
+
//#endregion
|
|
414
|
+
//#region src/Range/TopLevelRangeCreator/create-range-top-level.d.ts
|
|
415
|
+
interface CreateTopLevelRangePayload {
|
|
416
|
+
type: "Range";
|
|
417
|
+
label?: InternationalString | string;
|
|
418
|
+
items?: Array<Reference<"Canvas"> | Reference<"Range">>;
|
|
419
|
+
}
|
|
420
|
+
declare function createRangeTopLevel(data: CreateTopLevelRangePayload, ctx: CreatorFunctionContext, parentId?: string): Promise<CreatorResource>;
|
|
421
|
+
declare function TopLevelRangeCreatorForm(props: CreatorContext<CreateTopLevelRangePayload>): react_jsx_runtime0.JSX.Element;
|
|
422
|
+
//#endregion
|
|
423
|
+
//#region src/Range/TopLevelRangeCreator/index.d.ts
|
|
330
424
|
declare module "@manifest-editor/creator-api" {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
}
|
|
425
|
+
namespace IIIFManifestEditor {
|
|
426
|
+
interface CreatorDefinitions {
|
|
427
|
+
"@manifest-editor/range-top-level": typeof rangeTopLevel;
|
|
335
428
|
}
|
|
429
|
+
}
|
|
336
430
|
}
|
|
337
|
-
declare const
|
|
338
|
-
|
|
431
|
+
declare const rangeTopLevel: _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateTopLevelRangePayload, "@manifest-editor/range-top-level", "Range", [], ["Range"], ["Manifest"], ["structures"], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
432
|
+
//#endregion
|
|
433
|
+
//#region src/Annotation/ImageUrlListAnnotation/create-image-url-list-annotation.d.ts
|
|
339
434
|
declare function createImageUrlListAnnotation(payload: {
|
|
340
|
-
|
|
435
|
+
images: CreateImageUrlPayload[];
|
|
341
436
|
}, ctx: CreatorFunctionContext): Promise<CreatorResource[]>;
|
|
342
|
-
|
|
437
|
+
//#endregion
|
|
438
|
+
//#region src/Annotation/NoBodyAnnotation/index.d.ts
|
|
343
439
|
declare module "@manifest-editor/creator-api" {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
}
|
|
440
|
+
namespace IIIFManifestEditor {
|
|
441
|
+
interface CreatorDefinitions {
|
|
442
|
+
"@manifest-editor/no-body-annotation": typeof noBodyAnnotation;
|
|
348
443
|
}
|
|
444
|
+
}
|
|
349
445
|
}
|
|
350
446
|
interface NoBodyAnnotationPayload {
|
|
351
|
-
|
|
352
|
-
|
|
447
|
+
label?: InternationalString;
|
|
448
|
+
motivation?: string;
|
|
353
449
|
}
|
|
354
|
-
declare const noBodyAnnotation:
|
|
355
|
-
declare function createNoBodyAnnotation(data: NoBodyAnnotationPayload, ctx: CreatorFunctionContext):
|
|
356
|
-
|
|
450
|
+
declare const noBodyAnnotation: _manifest_editor_creator_api95.SpecificCreatorDefinition<NoBodyAnnotationPayload, "@manifest-editor/no-body-annotation", "Annotation", [], ["Annotation"], ["AnnotationPage"], ["items"], _manifest_editor_creator_api95.CreatorResource>;
|
|
451
|
+
declare function createNoBodyAnnotation(data: NoBodyAnnotationPayload, ctx: CreatorFunctionContext): _manifest_editor_creator_api95.CreatorResource;
|
|
452
|
+
//#endregion
|
|
453
|
+
//#region src/Canvas/InternalCanvas/index.d.ts
|
|
357
454
|
declare module "@manifest-editor/creator-api" {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}
|
|
455
|
+
namespace IIIFManifestEditor {
|
|
456
|
+
interface CreatorDefinitions {
|
|
457
|
+
"@manifest-editor/internal-canvas": typeof internalCanvas;
|
|
362
458
|
}
|
|
459
|
+
}
|
|
363
460
|
}
|
|
364
|
-
declare const internalCanvas:
|
|
461
|
+
declare const internalCanvas: _manifest_editor_creator_api95.SpecificCreatorDefinition<InternalCanvasPayload, "@manifest-editor/internal-canvas", "Canvas", [], ["Canvas"], ["Manifest"], ["start"], Promise<_manifest_editor_creator_api95.CreatorResource>>;
|
|
365
462
|
interface InternalCanvasPayload {
|
|
366
|
-
|
|
463
|
+
id: string;
|
|
367
464
|
}
|
|
368
|
-
|
|
465
|
+
//#endregion
|
|
466
|
+
//#region src/ContentResource/ThumbnailCreator/create-thumbnail.d.ts
|
|
369
467
|
interface CreateThumbnailPayload {
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
468
|
+
service: ImageService;
|
|
469
|
+
thumbnailUrl?: string;
|
|
470
|
+
width: number;
|
|
471
|
+
height?: number;
|
|
374
472
|
}
|
|
375
473
|
declare function createThumbnail(data: CreateThumbnailPayload, ctx: CreatorFunctionContext): Promise<CreatorResource | null>;
|
|
376
|
-
declare function CreateThumbnailForm(props: CreatorContext):
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
474
|
+
declare function CreateThumbnailForm(props: CreatorContext): react_jsx_runtime0.JSX.Element;
|
|
475
|
+
//#endregion
|
|
476
|
+
//#region src/index.d.ts
|
|
477
|
+
declare const allCreators: (_manifest_editor_creator_api95.SpecificCreatorDefinition<CreateImageServicePayload, "@manifest-editor/image-service-creator", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["logo", "body", "thumbnail"], Promise<_manifest_editor_creator_api95.CreatorResource>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateImageServiceAnnotationPayload, "@manifest-editor/image-service-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<any>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateImageUrlPayload, "@manifest-editor/image-url-creator", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["logo", "body", "thumbnail"], Promise<_manifest_editor_creator_api95.CreatorResource>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateImageUrlAnnotationPayload, "@manifest-editor/image-url-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateVideoAnnotationPayload, "@manifest-editor/video-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource | undefined>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateAudioAnnotationPayload, "@manifest-editor/audio-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource | undefined>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateHTMLBodyPayload, "@manifest-editor/html-body-creator", "ContentResource", [], ["ContentResource"], ["Annotation"], ["body"], Promise<_manifest_editor_creator_api95.CreatorResource>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateHTMLAnnotationPayload, "@manifest-editor/html-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource | undefined>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateYouTubeBodyPayload, "@manifest-editor/youtube", "ContentResource", ["Canvas", "Annotation"], ["ContentResource", "Canvas", "Annotation"], ["Annotation", "Manifest", "AnnotationPage"], [], Promise<_manifest_editor_creator_api95.CreatorResource>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<IIIFBrowserCreatorPayload, "@manifest-editor/iiif-browser-creator", "ContentResource", ["Annotation", "Canvas"], ["ContentResource", "Annotation", "Canvas"], ["Annotation", "Manifest", "AnnotationPage"], ["body", "items"], Promise<any[]>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<{
|
|
478
|
+
label?: _iiif_presentation_30.InternationalString;
|
|
479
|
+
width?: number;
|
|
480
|
+
height?: number;
|
|
382
481
|
}, "@manifest-editor/empty-canvas", "Canvas", [], ["Canvas"], ["Manifest"], ["items"], {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
}> |
|
|
390
|
-
|
|
391
|
-
}, "@manifest-editor/empty-annotation-page", "AnnotationPage", [], ["AnnotationPage"], ["Manifest", "Canvas", "Range"], [],
|
|
392
|
-
|
|
393
|
-
}, "@manifest-editor/image-url-list-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<
|
|
394
|
-
|
|
395
|
-
export { CreateAudioAnnotationForm,
|
|
482
|
+
readonly id: string;
|
|
483
|
+
readonly type: "Canvas";
|
|
484
|
+
readonly label: _iiif_presentation_30.InternationalString;
|
|
485
|
+
readonly height: number;
|
|
486
|
+
readonly width: number;
|
|
487
|
+
readonly items: readonly [_manifest_editor_creator_api95.CreatorResource];
|
|
488
|
+
}> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreatePlaintextPayload, "@manifest-editor/plaintext-creator", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["seeAlso", "rendering", "homepage"], Promise<_manifest_editor_creator_api95.CreatorResource>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateWebpagePayload, "@manifest-editor/web-page-creator", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["seeAlso", "rendering", "homepage"], Promise<_manifest_editor_creator_api95.CreatorResource>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<{
|
|
489
|
+
label?: _iiif_presentation_30.InternationalString;
|
|
490
|
+
}, "@manifest-editor/empty-annotation-page", "AnnotationPage", [], ["AnnotationPage"], ["Manifest", "Canvas", "Range"], [], _manifest_editor_creator_api95.CreatorResource> | _manifest_editor_creator_api95.SpecificCreatorDefinition<NoBodyAnnotationPayload, "@manifest-editor/no-body-annotation", "Annotation", [], ["Annotation"], ["AnnotationPage"], ["items"], _manifest_editor_creator_api95.CreatorResource> | _manifest_editor_creator_api95.SpecificCreatorDefinition<InternalCanvasPayload, "@manifest-editor/internal-canvas", "Canvas", [], ["Canvas"], ["Manifest"], ["start"], Promise<_manifest_editor_creator_api95.CreatorResource>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateCaptionedImageAnnotationPayload, "@manifest-editor/captioned-image-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource | undefined>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateImageUrlListPayload, "@manifest-editor/image-url-list", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["logo", "body", "thumbnail"], Promise<_manifest_editor_creator_api95.CreatorResource[]>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<{
|
|
491
|
+
images: CreateImageUrlPayload[];
|
|
492
|
+
}, "@manifest-editor/image-url-list-annotation", "Annotation", ["Canvas"], ["Annotation", "Canvas"], ["AnnotationPage", "Manifest"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource[]>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateThumbnailPayload, "@manifest-editor/thumbnail-image", "ContentResource", [], ["ContentResource"], _manifest_editor_creator_api95.AllParentTypes, ["thumbnail"], Promise<_manifest_editor_creator_api95.CreatorResource | null>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateTopLevelRangePayload, "@manifest-editor/range-top-level", "Range", [], ["Range"], ["Manifest"], ["structures"], Promise<_manifest_editor_creator_api95.CreatorResource>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateRangeWithItemsPayload, "@manifest-editor/range-with-items", "Range", [], ["Range"], ["Range"], ["items"], Promise<_manifest_editor_creator_api95.CreatorResource>> | _manifest_editor_creator_api95.SpecificCreatorDefinition<CreateProviderPayload, "@manifest-editor/provider", "Agent", [], ["Agent"], ["Manifest", "Collection"], ["provider"], Promise<_manifest_editor_creator_api95.CreatorResource>>)[];
|
|
493
|
+
//#endregion
|
|
494
|
+
export { CreateAudioAnnotationForm, CreateAudioAnnotationPayload, CreateCaptionedImageAnnotation, CreateCaptionedImageAnnotationPayload, CreateHTMLAnnotation, CreateHTMLAnnotationPayload, CreateHTMLBodyForm, CreateHTMLBodyPayload, CreateImageServerForm, CreateImageServiceAnnotationForm, CreateImageServiceAnnotationPayload, CreateImageServicePayload, CreateImageUrlAnnotationForm, CreateImageUrlAnnotationPayload, CreateImageUrlForm, CreateImageUrlListForm, CreateImageUrlListPayload, CreateImageUrlPayload, CreatePlaintextForm, CreatePlaintextPayload, CreateProviderForm, CreateProviderPayload, CreateRangeWithItemsPayload, CreateThumbnailForm, CreateThumbnailPayload, CreateTopLevelRangePayload, CreateVideoAnnotationForm, CreateVideoAnnotationPayload, CreateWebPageForm, CreateWebpagePayload, CreateYouTubeBodyPayload, IIIFBrowserCreatorForm, IIIFBrowserCreatorPayload, InternalCanvasPayload, ManifestBrowserCreatorForm, type ManifestBrowserCreatorPayload, NoBodyAnnotationPayload, RangeWithItemsCreatorForm, TopLevelRangeCreatorForm, YouTubeForm, allCreators, audioAnnotation, captionedImageAnnotation, createAudioAnnotation, createCaptionedImageAnnotation, createFromIIIFBrowserOutput, createFromManifestBrowserOutput, createHtmlAnnotation, createHtmlBody, createImageServer, createImageServiceAnnotation, createImageUrl, createImageUrlAnnotation, createImageUrlList, createImageUrlListAnnotation, createNoBodyAnnotation, createPlaintext, createProvider, createRangeTopLevel, createRangeWithItems, createThumbnail, createVideoAnnotation, createWebPage, createYoutubeBody, emptyAnnotationPage, emptyCanvas, getYouTubeId, htmlAnnotation, htmlBodyCreator, iiifBrowserCreator, imageServiceAnnotation, imageServiceCreator, imageUrlAnnotation, imageUrlCreator, imageUrlListAnnotation, imageUrlListCreator, internalCanvas, manifestBrowserCreator, noBodyAnnotation, plaintextCreator, providerCreator, rangeTopLevel, rangeWithItems, validateYouTube, videoAnnotation, webPageCreator, youTubeBodyCreator };
|
|
495
|
+
//# sourceMappingURL=index.d.cts.map
|