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