@manifest-editor/manifest-preset 1.4.2 → 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.
@@ -1,68 +1,89 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as _manifest_editor_editor_api from '@manifest-editor/editor-api';
3
- import * as _iiif_presentation_3 from '@iiif/presentation-3';
4
- import * as _manifest_editor_shell from '@manifest-editor/shell';
5
- import { SVGProps } from 'react';
1
+ import * as _manifest_editor_shell0 from "@manifest-editor/shell";
2
+ import { LayoutPanel } from "@manifest-editor/shell";
3
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
4
+ import { SVGProps } from "react";
5
+ import * as _manifest_editor_editor_api0 from "@manifest-editor/editor-api";
6
+ import * as _iiif_presentation_32 from "@iiif/presentation-3";
6
7
 
7
- declare function ManifestOverviewCenterPanel(): react_jsx_runtime.JSX.Element;
8
-
9
- declare const CanvasListingIcon: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & {
10
- title?: string;
11
- titleId?: string;
12
- }) => react_jsx_runtime.JSX.Element;
13
- declare function CanvasListing({ gridView, onChangeGridView, }: {
14
- gridView: boolean;
15
- onChangeGridView: (gridView: boolean) => void;
16
- }): react_jsx_runtime.JSX.Element;
8
+ //#region src/center-panels/manifest-overview.d.ts
9
+ declare function ManifestOverviewCenterPanel(): react_jsx_runtime1.JSX.Element;
10
+ //#endregion
11
+ //#region src/left-panels/canvas-listing.d.ts
12
+ declare const CanvasListingIcon: ({
13
+ title,
14
+ titleId,
15
+ ...props
16
+ }: SVGProps<SVGSVGElement> & {
17
+ title?: string;
18
+ titleId?: string;
19
+ }) => react_jsx_runtime1.JSX.Element;
20
+ declare function CanvasListing({
21
+ gridView,
22
+ onChangeGridView
23
+ }: {
24
+ gridView: boolean;
25
+ onChangeGridView: (gridView: boolean) => void;
26
+ }): react_jsx_runtime1.JSX.Element;
17
27
  declare function useEditCanvasItems(): {
18
- canvas: _manifest_editor_shell.EditableResource | undefined;
19
- canvases: {
20
- type: string;
21
- id: string;
22
- }[];
23
- items: _manifest_editor_editor_api.BaseReferenceListEditor<Partial<_iiif_presentation_3.DescriptiveProperties> & Partial<_iiif_presentation_3.TechnicalProperties> & Partial<_iiif_presentation_3.LinkingProperties> & Partial<_iiif_presentation_3.StructuralProperties<unknown>> & Partial<_iiif_presentation_3.NavPlaceExtension & _iiif_presentation_3.TextGranularityExtension>, {
24
- type: string;
25
- id: string;
26
- }>;
27
- canvasActions: {
28
- readonly create: (index?: number, initialData?: any) => void;
29
- readonly edit: (resource: any, index?: number) => void;
30
- readonly createFiltered: (filter: string, index?: number, initialData?: any) => void;
31
- readonly creator: (initialCreator: string, initialData?: any) => void;
32
- readonly buttonProps: {
33
- "data-action-id": string;
34
- };
35
- };
36
- open: {
37
- (id: string, state?: any): void;
38
- (args: {
39
- id: string;
40
- state?: any;
41
- stacked?: boolean;
42
- unique?: boolean;
43
- }): void;
28
+ canvas: _manifest_editor_shell0.EditableResource | undefined;
29
+ canvases: {
30
+ type: string;
31
+ id: string;
32
+ }[];
33
+ items: _manifest_editor_editor_api0.BaseReferenceListEditor<Partial<_iiif_presentation_32.DescriptiveProperties> & Partial<_iiif_presentation_32.TechnicalProperties> & Partial<_iiif_presentation_32.LinkingProperties> & Partial<_iiif_presentation_32.StructuralProperties<unknown>> & Partial<_iiif_presentation_32.NavPlaceExtension & _iiif_presentation_32.TextGranularityExtension>, {
34
+ type: string;
35
+ id: string;
36
+ }>;
37
+ canvasActions: {
38
+ readonly create: (index?: number, initialData?: any) => void;
39
+ readonly edit: (resource: any, index?: number) => void;
40
+ readonly createFiltered: (filter: string, index?: number, initialData?: any) => void;
41
+ readonly creator: (initialCreator: string, initialData?: any) => void;
42
+ readonly buttonProps: {
43
+ "data-action-id": string;
44
44
  };
45
- edit: (resource: _iiif_presentation_3.Reference | _iiif_presentation_3.SpecificResource, context?: Omit<_manifest_editor_shell.EditableResource, "resource">, options?: {
46
- reset?: boolean;
47
- property?: string;
48
- stacked?: boolean | undefined;
49
- selectedTab?: string;
50
- }) => void;
51
- canCreateCanvas: any;
45
+ };
46
+ open: {
47
+ (id: string, state?: any): void;
48
+ (args: {
49
+ id: string;
50
+ state?: any;
51
+ stacked?: boolean;
52
+ unique?: boolean;
53
+ }): void;
54
+ };
55
+ edit: (resource: _iiif_presentation_32.Reference | _iiif_presentation_32.SpecificResource, context?: Omit<_manifest_editor_shell0.EditableResource, "resource">, options?: {
56
+ reset?: boolean;
57
+ property?: string;
58
+ stacked?: boolean | undefined;
59
+ selectedTab?: string;
60
+ forceOpen?: boolean;
61
+ }) => void;
62
+ canCreateCanvas: any;
52
63
  };
53
- declare function CanvasGridView({ isEditing }: {
54
- isEditing: boolean;
55
- }): react_jsx_runtime.JSX.Element;
56
- declare function CanvasListView({ isEditing }: {
57
- isEditing: boolean;
58
- }): react_jsx_runtime.JSX.Element;
59
- declare function ListEditIcon(): react_jsx_runtime.JSX.Element;
60
- declare function CanvasThumbnailsIcon(): react_jsx_runtime.JSX.Element;
61
-
62
- declare function ManifestIcon({ title, titleId, ...props }: SVGProps<SVGSVGElement> & {
63
- title?: string;
64
- titleId?: string;
65
- }): react_jsx_runtime.JSX.Element;
66
- declare function ManifestPanel(): react_jsx_runtime.JSX.Element;
67
-
64
+ declare function CanvasGridView({
65
+ isEditing
66
+ }: {
67
+ isEditing: boolean;
68
+ }): react_jsx_runtime1.JSX.Element;
69
+ declare function CanvasListView({
70
+ isEditing
71
+ }: {
72
+ isEditing: boolean;
73
+ }): react_jsx_runtime1.JSX.Element;
74
+ declare function ListEditIcon(props: React.SVGProps<SVGSVGElement>): react_jsx_runtime1.JSX.Element;
75
+ declare function CanvasThumbnailsIcon(): react_jsx_runtime1.JSX.Element;
76
+ //#endregion
77
+ //#region src/left-panels/manifest.d.ts
78
+ declare function ManifestIcon({
79
+ title,
80
+ titleId,
81
+ ...props
82
+ }: SVGProps<SVGSVGElement> & {
83
+ title?: string;
84
+ titleId?: string;
85
+ }): react_jsx_runtime1.JSX.Element;
86
+ declare function ManifestPanel(): react_jsx_runtime1.JSX.Element;
87
+ //#endregion
68
88
  export { CanvasGridView, CanvasListView, CanvasListing, CanvasListingIcon, CanvasThumbnailsIcon, ListEditIcon, ManifestIcon, ManifestOverviewCenterPanel, ManifestPanel, useEditCanvasItems };
89
+ //# sourceMappingURL=components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.d.ts","names":[],"sources":["../src/center-panels/manifest-overview.tsx","../src/left-panels/canvas-listing.tsx","../src/left-panels/manifest.tsx"],"sourcesContent":[],"mappings":";;;;;;;;iBA4BgB,2BAAA,CAAA,GAA2B,kBAAA,CAAA,GAAA,CAAA;;;cCC9B;;;;GAIV,SAAS;;;MAAqD,kBAAA,CAAA,GAAA,CAAA;iBAuCjD,aAAA;;;;ED5CA,QAAA,EAAA,OAAA;;ICkDf,kBAAA,CAAA,GAAA,CAAA;iBAqDe,kBAAA,CAAA;EAtGH,MAAA,EAsGqB,uBAAA,CAAA,gBAAA,GA9EjC,SAAA;EAxB6B,QAAA,EAAA;IAAA,IAAA,EAAA,MAAA;IAIlB,EAAA,EAAA,MAAA;EAAT,CAAA,EAAA;EAA8D,KAAA,sDAAA,QAAA,6CAAA,UAAA,2CAAA,UAAA,yCAAA,UAAA,2CAAA,CAAA,OAAA,CAAA,CAAA,UAAA,yFAAA,CAAA,EAAA;IAoBhE,IAAA,EAAA,MAAA;IAmBe,EAAA,EAAA,MAAA;EACd,CAAA,CAAA;EACA,aAAA,EAAA;IAID,SAAA,MAAA,EAAA,CAAA,KAAA,CAAA,EAAA,MAAA,EAAA,WAAA,CAAA,EAAA,GAAA,EAAA,GAAA,IAAA;IAAA,SAAA,IAAA,EAAA,CAAA,QAAA,EAAA,GAAA,EAAA,KAAA,CAAA,EAAA,MAAA,EAAA,GAAA,IAAA;IAqDe,SAAA,cAAkB,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,KAAA,CAAA,EAAA,MAAA,EAAA,WAAA,CAAA,EAAA,GAAA,EAAA,GAAA,IAAA;IAAA,SAAA,OAAA,EAAA,CAAA,cAAA,EAAA,MAAA,EAAA,WAAA,CAAA,EAAA,GAAA,EAAA,GAAA,IAAA;;;;;;;;;;;;;;0KAyGlB;;;;IApFA,WAAA,CAAA,EAAc,MAAA;IA0Cd,SAAA,CAAA,EAAA,OAAc;EA0Cd,CAAA,EAAA,GAAA,IAAA;EAAmC,eAAA,EAAA,GAAA;CAAf;AAA6B,iBApFjD,cAAA,CAoFiD;EAAA;AAYjE,CAZiE,EAAA;EAAA,SAAA,EAAA,OAAA;AAYjE,CAAA,CAAA,EAhGoE,kBAAA,CAAA,GAAA,CAAA,OAgGhC;iBAtDpB,cAAA;;;;IAAoD,kBAAA,CAAA,GAAA,CAAA;AC5LpD,iBDsOA,YAAA,CCtOY,KAAA,EDsOQ,KAAA,CAAM,QCtOd,CDsOuB,aCtOvB,CAAA,CAAA,EDsOqC,kBAAA,CAAA,GAAA,CAAA,OCtOrC;AAC1B,iBDiPc,oBAAA,CAAA,CCjPd,EDiPkC,kBAAA,CAAA,GAAA,CAAA,OCjPlC;;;iBADc,YAAA;;;;GAIb,SAAS;;;IAAqD,kBAAA,CAAA,GAAA,CAAA;iBAmCjD,aAAA,CAAA,GAAa,kBAAA,CAAA,GAAA,CAAA"}
@@ -1,24 +1 @@
1
- import {
2
- CanvasGridView,
3
- CanvasListView,
4
- CanvasListing,
5
- CanvasListingIcon,
6
- CanvasThumbnailsIcon,
7
- ListEditIcon,
8
- ManifestIcon,
9
- ManifestOverviewCenterPanel,
10
- ManifestPanel,
11
- useEditCanvasItems
12
- } from "./chunk-SJ3QA4KN.js";
13
- export {
14
- CanvasGridView,
15
- CanvasListView,
16
- CanvasListing,
17
- CanvasListingIcon,
18
- CanvasThumbnailsIcon,
19
- ListEditIcon,
20
- ManifestIcon,
21
- ManifestOverviewCenterPanel,
22
- ManifestPanel,
23
- useEditCanvasItems
24
- };
1
+ import{a as e,c as t,d as n,f as r,i,l as a,n as o,o as s,s as c,t as l}from"./components-BXdAFfup.js";export{i as CanvasGridView,e as CanvasListView,s as CanvasListing,c as CanvasListingIcon,t as CanvasThumbnailsIcon,a as ListEditIcon,l as ManifestIcon,r as ManifestOverviewCenterPanel,o as ManifestPanel,n as useEditCanvasItems};