@manifest-editor/shell 2.1.0 → 2.1.1-next.0.96fdf30
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/index.d.cts +61 -61
- package/dist/index.d.ts +61 -61
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react9 from "react";
|
|
2
2
|
import { CSSProperties, Dispatch, HTMLAttributes, ReactElement, ReactNode, SVGProps, SetStateAction } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
4
4
|
import * as _manifest_editor_creator_api0 from "@manifest-editor/creator-api";
|
|
5
5
|
import { CreatableResource, Creator, CreatorDefinition } from "@manifest-editor/creator-api";
|
|
6
6
|
import * as _iiif_presentation_30 from "@iiif/presentation-3";
|
|
@@ -35,14 +35,14 @@ declare function AppResourceInstanceProvider({
|
|
|
35
35
|
}: {
|
|
36
36
|
id?: string;
|
|
37
37
|
children: React.ReactNode;
|
|
38
|
-
}): string | number | bigint | boolean | Iterable<
|
|
38
|
+
}): string | number | bigint | boolean | Iterable<react9.ReactNode> | Promise<string | number | bigint | boolean | react9.ReactPortal | react9.ReactElement<unknown, string | react9.JSXElementConstructor<any>> | Iterable<react9.ReactNode> | null | undefined> | react_jsx_runtime5.JSX.Element | null | undefined;
|
|
39
39
|
declare function AppResourceProvider({
|
|
40
40
|
resource,
|
|
41
41
|
children
|
|
42
42
|
}: {
|
|
43
43
|
resource?: Resource;
|
|
44
44
|
children: React.ReactNode;
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/PreviewContext/PreviewContext.types.d.ts
|
|
48
48
|
interface Preview {
|
|
@@ -160,8 +160,8 @@ interface UploadBackendConfig {
|
|
|
160
160
|
}
|
|
161
161
|
declare function mergePartialConfig(...configs: Array<Partial<Config> | null | undefined>): Partial<Config>;
|
|
162
162
|
declare function mergeConfig(...configs: Array<Partial<Config> | null | undefined>): Config;
|
|
163
|
-
declare const ConfigReactContext:
|
|
164
|
-
declare const SaveConfigReactContext:
|
|
163
|
+
declare const ConfigReactContext: react9.Context<Config>;
|
|
164
|
+
declare const SaveConfigReactContext: react9.Context<(config: Partial<Config>) => void>;
|
|
165
165
|
declare function useConfig(): Config;
|
|
166
166
|
declare function useSaveConfig(): (config: Partial<Config>) => void;
|
|
167
167
|
declare function ConfigProvider({
|
|
@@ -172,7 +172,7 @@ declare function ConfigProvider({
|
|
|
172
172
|
children: ReactNode;
|
|
173
173
|
config?: Partial<Config>;
|
|
174
174
|
saveConfig?: (config: Partial<Config>) => void;
|
|
175
|
-
}):
|
|
175
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region src/EditingStack/EditingStack.types.d.ts
|
|
178
178
|
interface EditableResource {
|
|
@@ -543,7 +543,7 @@ declare function ManifestEditorCanvasProgressOverlay({
|
|
|
543
543
|
resource?: CanvasProgressResource;
|
|
544
544
|
status?: CanvasProgressStatus;
|
|
545
545
|
className?: string;
|
|
546
|
-
}):
|
|
546
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
547
547
|
//#endregion
|
|
548
548
|
//#region src/PluginContext/PluginContext.types.d.ts
|
|
549
549
|
type PluginMetadata = {
|
|
@@ -725,7 +725,7 @@ declare function ManifestEditorTagIcon({
|
|
|
725
725
|
}: SVGProps<SVGSVGElement> & {
|
|
726
726
|
icon?: string;
|
|
727
727
|
title?: string;
|
|
728
|
-
}):
|
|
728
|
+
}): react_jsx_runtime5.JSX.Element | null;
|
|
729
729
|
declare function ManifestEditorTagBadge({
|
|
730
730
|
tag,
|
|
731
731
|
showIcon,
|
|
@@ -736,7 +736,7 @@ declare function ManifestEditorTagBadge({
|
|
|
736
736
|
showIcon?: boolean;
|
|
737
737
|
className?: string;
|
|
738
738
|
style?: CSSProperties;
|
|
739
|
-
}):
|
|
739
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
740
740
|
declare function ManifestEditorTagOverlay({
|
|
741
741
|
resource,
|
|
742
742
|
tags,
|
|
@@ -745,7 +745,7 @@ declare function ManifestEditorTagOverlay({
|
|
|
745
745
|
resource?: ManifestEditorTagResource;
|
|
746
746
|
tags?: ManifestEditorTag[];
|
|
747
747
|
className?: string;
|
|
748
|
-
}):
|
|
748
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
749
749
|
//#endregion
|
|
750
750
|
//#region src/BackgroundTasks/BackgroundTasks.types.d.ts
|
|
751
751
|
type BackgroundActionStatus = "idle" | "preparing" | "running" | "complete" | "error" | "cancelled";
|
|
@@ -974,9 +974,9 @@ type AppState = {
|
|
|
974
974
|
state: null | any;
|
|
975
975
|
setState: SetStateAction<any>;
|
|
976
976
|
};
|
|
977
|
-
declare const PrimeAppReactContext:
|
|
978
|
-
declare const AppReactContext:
|
|
979
|
-
declare const AppStateReactContext:
|
|
977
|
+
declare const PrimeAppReactContext: react9.Context<MappedApp | null>;
|
|
978
|
+
declare const AppReactContext: react9.Context<AppContext | null>;
|
|
979
|
+
declare const AppStateReactContext: react9.Context<{
|
|
980
980
|
state: null | any;
|
|
981
981
|
setState: SetStateAction<any>;
|
|
982
982
|
}>;
|
|
@@ -1000,7 +1000,7 @@ declare function AppProvider({
|
|
|
1000
1000
|
args?: any;
|
|
1001
1001
|
definition: MappedApp;
|
|
1002
1002
|
children: ReactNode;
|
|
1003
|
-
}):
|
|
1003
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1004
1004
|
//#endregion
|
|
1005
1005
|
//#region src/AppContext/MultiAppContext.d.ts
|
|
1006
1006
|
type MappedApp$1 = any;
|
|
@@ -1039,13 +1039,13 @@ declare function MultiAppProvider({
|
|
|
1039
1039
|
manifestApp?: string;
|
|
1040
1040
|
collectionApp?: string;
|
|
1041
1041
|
};
|
|
1042
|
-
}):
|
|
1042
|
+
}): react_jsx_runtime5.JSX.Element | null;
|
|
1043
1043
|
//#endregion
|
|
1044
1044
|
//#region src/AppHeader/AppHeader.d.ts
|
|
1045
1045
|
interface AppHeaderProps {
|
|
1046
1046
|
onClickLogo?: () => void;
|
|
1047
1047
|
}
|
|
1048
|
-
declare const AppHeader:
|
|
1048
|
+
declare const AppHeader: react9.NamedExoticComponent<AppHeaderProps>;
|
|
1049
1049
|
//#endregion
|
|
1050
1050
|
//#region src/AppMenu/AppMenuContext.d.ts
|
|
1051
1051
|
type MenuItem = {
|
|
@@ -1070,7 +1070,7 @@ declare function AppMenuProvider({
|
|
|
1070
1070
|
}: {
|
|
1071
1071
|
children: React.ReactNode;
|
|
1072
1072
|
menu: AppMenuContext;
|
|
1073
|
-
}):
|
|
1073
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1074
1074
|
//#endregion
|
|
1075
1075
|
//#region src/AtlasStore/AtlasStoreProvider.d.ts
|
|
1076
1076
|
declare function useAtlasStore(): StoreApi<AtlasStore>;
|
|
@@ -1095,9 +1095,9 @@ declare function getImageDimensions(url: string): Promise<{
|
|
|
1095
1095
|
//#endregion
|
|
1096
1096
|
//#region src/BackgroundTasks/BackgroundActions.d.ts
|
|
1097
1097
|
declare function useAvailableBackgroundActions(): BackgroundActionGroup[];
|
|
1098
|
-
declare function BackgroundActionsMount():
|
|
1098
|
+
declare function BackgroundActionsMount(): react_jsx_runtime5.JSX.Element;
|
|
1099
1099
|
declare function BackgroundActionToasts(): null;
|
|
1100
|
-
declare function BackgroundActionsMenu():
|
|
1100
|
+
declare function BackgroundActionsMenu(): react_jsx_runtime5.JSX.Element | null;
|
|
1101
1101
|
//#endregion
|
|
1102
1102
|
//#region src/BackgroundTasks/BackgroundTasksStore.d.ts
|
|
1103
1103
|
interface BackgroundActionsStore {
|
|
@@ -1156,7 +1156,7 @@ declare function getAvailableBackgroundActionGroups({
|
|
|
1156
1156
|
declare function createBackgroundActionsStore(initialDefinitions?: BackgroundActionDefinition[]): StoreApi<BackgroundActionsStore>;
|
|
1157
1157
|
declare function runBackgroundAction(options: RunBackgroundActionOptions): Promise<BackgroundActionInstance | undefined>;
|
|
1158
1158
|
declare function createLocalForageBackgroundActionPersistence(): BackgroundActionPersistence | null;
|
|
1159
|
-
declare const BackgroundActionsReactContext:
|
|
1159
|
+
declare const BackgroundActionsReactContext: react9.Context<StoreApi<BackgroundActionsStore> | null>;
|
|
1160
1160
|
declare function BackgroundActionsProvider({
|
|
1161
1161
|
children,
|
|
1162
1162
|
persistence,
|
|
@@ -1165,7 +1165,7 @@ declare function BackgroundActionsProvider({
|
|
|
1165
1165
|
children: ReactNode;
|
|
1166
1166
|
persistence?: BackgroundActionPersistence | false | null;
|
|
1167
1167
|
persistenceKey?: BackgroundActionPersistenceKey;
|
|
1168
|
-
}):
|
|
1168
|
+
}): react9.FunctionComponentElement<react9.ProviderProps<StoreApi<BackgroundActionsStore> | null>>;
|
|
1169
1169
|
declare function useBackgroundActionsStoreApi(): StoreApi<BackgroundActionsStore>;
|
|
1170
1170
|
declare function useBackgroundActionsStore<T$1 = BackgroundActionsStore>(selector?: (state: BackgroundActionsStore) => T$1): T$1;
|
|
1171
1171
|
declare function useBackgroundActionInstance(instanceKey: string): BackgroundActionInstance | undefined;
|
|
@@ -1179,7 +1179,7 @@ interface BaseAnnotationCreatorProps {
|
|
|
1179
1179
|
resource: CreatableResource;
|
|
1180
1180
|
onCreate: () => void;
|
|
1181
1181
|
}
|
|
1182
|
-
declare function BaseAnnotationCreator(props: BaseAnnotationCreatorProps):
|
|
1182
|
+
declare function BaseAnnotationCreator(props: BaseAnnotationCreatorProps): react_jsx_runtime5.JSX.Element;
|
|
1183
1183
|
//#endregion
|
|
1184
1184
|
//#region src/BaseCreator/BaseCreator.hooks.d.ts
|
|
1185
1185
|
declare function useCreator(parent: any, property: string, type: string, target?: Reference, options?: {
|
|
@@ -1202,7 +1202,7 @@ declare function CreatorInitialData<T$1 extends Record<string, unknown>>(props:
|
|
|
1202
1202
|
id: string;
|
|
1203
1203
|
children: React.ReactNode;
|
|
1204
1204
|
data: T$1;
|
|
1205
|
-
}):
|
|
1205
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1206
1206
|
//#endregion
|
|
1207
1207
|
//#region src/BaseEditor/index.d.ts
|
|
1208
1208
|
declare const baseEditor: LayoutPanel;
|
|
@@ -1224,10 +1224,10 @@ declare function BaseEditor({
|
|
|
1224
1224
|
currentTab
|
|
1225
1225
|
}: {
|
|
1226
1226
|
currentTab?: string;
|
|
1227
|
-
}): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean |
|
|
1227
|
+
}): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react9.ReactPortal | react9.ReactElement<unknown, string | react9.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime5.JSX.Element | null | undefined;
|
|
1228
1228
|
//#endregion
|
|
1229
1229
|
//#region src/ConfigContext/ConfigEditor.d.ts
|
|
1230
|
-
declare function ConfigEditor():
|
|
1230
|
+
declare function ConfigEditor(): react_jsx_runtime5.JSX.Element;
|
|
1231
1231
|
//#endregion
|
|
1232
1232
|
//#region src/ContextMenu/ContextMenuContext.d.ts
|
|
1233
1233
|
type ContextMenuItem = {
|
|
@@ -1276,12 +1276,12 @@ type ContextMenuStore = {
|
|
|
1276
1276
|
}>;
|
|
1277
1277
|
hookMenuItem(req: ContextMenuRequest): () => void;
|
|
1278
1278
|
};
|
|
1279
|
-
declare const ContextMenuReactContext:
|
|
1279
|
+
declare const ContextMenuReactContext: react9.Context<StoreApi<ContextMenuStore> | null>;
|
|
1280
1280
|
declare function ContextMenuProvider({
|
|
1281
1281
|
children
|
|
1282
1282
|
}: {
|
|
1283
1283
|
children: React.ReactNode;
|
|
1284
|
-
}):
|
|
1284
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1285
1285
|
declare function useResourceContextMenuItems(req: {
|
|
1286
1286
|
id?: string;
|
|
1287
1287
|
type: string;
|
|
@@ -1292,7 +1292,7 @@ declare function useResourceContextMenuItems(req: {
|
|
|
1292
1292
|
declare function useCustomContextMenu(req: ContextMenuRequest, deps?: any[]): void;
|
|
1293
1293
|
//#endregion
|
|
1294
1294
|
//#region src/EditingStack/EditingStack.d.ts
|
|
1295
|
-
declare const EditingStackContext:
|
|
1295
|
+
declare const EditingStackContext: react9.Context<EditingStackState>;
|
|
1296
1296
|
declare function useEditingStack(): EditingStackActions;
|
|
1297
1297
|
declare function useEditingResource(): EditableResource | null;
|
|
1298
1298
|
declare function useEditingResourceStack(): EditableResource[];
|
|
@@ -1317,7 +1317,7 @@ declare function EditingStack(props: {
|
|
|
1317
1317
|
id: string;
|
|
1318
1318
|
type: string;
|
|
1319
1319
|
};
|
|
1320
|
-
}):
|
|
1320
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1321
1321
|
declare function InlineEditingStack({
|
|
1322
1322
|
resource,
|
|
1323
1323
|
children
|
|
@@ -1327,14 +1327,14 @@ declare function InlineEditingStack({
|
|
|
1327
1327
|
type: string;
|
|
1328
1328
|
};
|
|
1329
1329
|
children?: React.ReactNode;
|
|
1330
|
-
}):
|
|
1330
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1331
1331
|
//#endregion
|
|
1332
1332
|
//#region src/ExportPanel/ExportPanel.d.ts
|
|
1333
1333
|
interface ExportPanelProps {
|
|
1334
1334
|
initialVersion?: 2 | 3;
|
|
1335
1335
|
versions?: Array<2 | 3>;
|
|
1336
1336
|
}
|
|
1337
|
-
declare function ExportPanel(props: ExportPanelProps):
|
|
1337
|
+
declare function ExportPanel(props: ExportPanelProps): react_jsx_runtime5.JSX.Element;
|
|
1338
1338
|
//#endregion
|
|
1339
1339
|
//#region src/helpers.d.ts
|
|
1340
1340
|
declare function getManifestNomalized(id: string): Promise<ManifestNormalized | undefined>;
|
|
@@ -1387,14 +1387,14 @@ declare function useDecayState(time: number): readonly [boolean, {
|
|
|
1387
1387
|
}];
|
|
1388
1388
|
//#endregion
|
|
1389
1389
|
//#region src/hooks/use-event.d.ts
|
|
1390
|
-
declare const ReactEmitterContext:
|
|
1390
|
+
declare const ReactEmitterContext: react9.Context<Emitter<any>>;
|
|
1391
1391
|
declare function EventEmitterProvider({
|
|
1392
1392
|
children,
|
|
1393
1393
|
emitter
|
|
1394
1394
|
}: {
|
|
1395
1395
|
children: React.ReactNode;
|
|
1396
1396
|
emitter: Emitter<any>;
|
|
1397
|
-
}):
|
|
1397
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1398
1398
|
declare function useEmitter<Event extends Record<string | symbol, unknown>>(): Emitter<Event>;
|
|
1399
1399
|
declare function useEvent<Event extends Record<string | symbol, unknown>, Key extends keyof Event>(key: Key, listener: (data: Event[Key]) => void, deps?: any[]): void;
|
|
1400
1400
|
//#endregion
|
|
@@ -1449,14 +1449,14 @@ declare function useSvgTools(): {
|
|
|
1449
1449
|
};
|
|
1450
1450
|
//#endregion
|
|
1451
1451
|
//#region src/Layout/components/HandleControls.d.ts
|
|
1452
|
-
declare const HandleContainer: styled_components0.IStyledComponent<"web", styled_components_dist_types0.FastOmit<
|
|
1453
|
-
declare const HandleControls:
|
|
1452
|
+
declare const HandleContainer: styled_components0.IStyledComponent<"web", styled_components_dist_types0.FastOmit<react9.DetailedHTMLProps<react9.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
1453
|
+
declare const HandleControls: react9.ForwardRefExoticComponent<{
|
|
1454
1454
|
dir: "left" | "right";
|
|
1455
1455
|
open: boolean;
|
|
1456
1456
|
actions: PanelActions;
|
|
1457
1457
|
transition?: TransitionStatus;
|
|
1458
1458
|
reset?: () => void;
|
|
1459
|
-
} &
|
|
1459
|
+
} & react9.RefAttributes<HTMLDivElement>>;
|
|
1460
1460
|
//#endregion
|
|
1461
1461
|
//#region src/Layout/components/ModularPanel.d.ts
|
|
1462
1462
|
interface ModularPanelProps {
|
|
@@ -1472,11 +1472,11 @@ interface ModularPanelProps {
|
|
|
1472
1472
|
style?: any;
|
|
1473
1473
|
}
|
|
1474
1474
|
declare function useSetCustomTitle(): (title: string) => void;
|
|
1475
|
-
declare const ModularPanelHeader: styled_components0.IStyledComponent<"web", styled_components_dist_types0.Substitute<
|
|
1475
|
+
declare const ModularPanelHeader: styled_components0.IStyledComponent<"web", styled_components_dist_types0.Substitute<react9.DetailedHTMLProps<react9.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
1476
1476
|
$tabs?: boolean;
|
|
1477
1477
|
$error?: boolean;
|
|
1478
1478
|
}>>;
|
|
1479
|
-
declare const ModulePanelButton: styled_components0.IStyledComponent<"web", styled_components_dist_types0.FastOmit<
|
|
1479
|
+
declare const ModulePanelButton: styled_components0.IStyledComponent<"web", styled_components_dist_types0.FastOmit<react9.DetailedHTMLProps<react9.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>>;
|
|
1480
1480
|
declare function ModularPanel({
|
|
1481
1481
|
panel,
|
|
1482
1482
|
state,
|
|
@@ -1488,13 +1488,13 @@ declare function ModularPanel({
|
|
|
1488
1488
|
available,
|
|
1489
1489
|
style,
|
|
1490
1490
|
noHeader
|
|
1491
|
-
}: ModularPanelProps):
|
|
1491
|
+
}: ModularPanelProps): react_jsx_runtime5.JSX.Element | null;
|
|
1492
1492
|
//#endregion
|
|
1493
1493
|
//#region src/Layout/components/PanelError.d.ts
|
|
1494
1494
|
declare function PanelError(props: {
|
|
1495
1495
|
error: Error;
|
|
1496
1496
|
resetErrorBoundary: () => void;
|
|
1497
|
-
}):
|
|
1497
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1498
1498
|
//#endregion
|
|
1499
1499
|
//#region src/Layout/Layout.d.ts
|
|
1500
1500
|
interface LayoutRenderProps {
|
|
@@ -1514,12 +1514,12 @@ interface LayoutRenderProps {
|
|
|
1514
1514
|
disableSideEffects?: string[];
|
|
1515
1515
|
layoutMode?: "default" | "focused";
|
|
1516
1516
|
}
|
|
1517
|
-
declare const Layout:
|
|
1517
|
+
declare const Layout: react9.NamedExoticComponent<LayoutRenderProps>;
|
|
1518
1518
|
//#endregion
|
|
1519
1519
|
//#region src/Layout/Layout.context.d.ts
|
|
1520
|
-
declare const LayoutActionsReactContext:
|
|
1521
|
-
declare const LayoutStateReactContext:
|
|
1522
|
-
declare const LayoutModeReactContext:
|
|
1520
|
+
declare const LayoutActionsReactContext: react9.Context<LayoutActions>;
|
|
1521
|
+
declare const LayoutStateReactContext: react9.Context<LayoutState>;
|
|
1522
|
+
declare const LayoutModeReactContext: react9.Context<"default" | "focused">;
|
|
1523
1523
|
declare function useLayoutState(): LayoutState;
|
|
1524
1524
|
declare function useLayoutActions(): LayoutActions;
|
|
1525
1525
|
declare function useLayoutMode(): "default" | "focused";
|
|
@@ -1567,11 +1567,11 @@ interface ManifestPaginationNavigationProps {
|
|
|
1567
1567
|
declare function ManifestPaginationNavigation({
|
|
1568
1568
|
className,
|
|
1569
1569
|
variant
|
|
1570
|
-
}: ManifestPaginationNavigationProps):
|
|
1570
|
+
}: ManifestPaginationNavigationProps): react_jsx_runtime5.JSX.Element;
|
|
1571
1571
|
//#endregion
|
|
1572
1572
|
//#region src/PluginContext/PluginContext.d.ts
|
|
1573
|
-
declare const PluginReactContext:
|
|
1574
|
-
declare const PluginGlobalConfigReactContext:
|
|
1573
|
+
declare const PluginReactContext: react9.Context<StoreApi<PluginStore> | null>;
|
|
1574
|
+
declare const PluginGlobalConfigReactContext: react9.Context<{
|
|
1575
1575
|
globalPluginConfig?: Config["plugins"];
|
|
1576
1576
|
saveGlobalPluginConfig?: (config: Config["plugins"]) => void | Promise<void>;
|
|
1577
1577
|
}>;
|
|
@@ -1671,7 +1671,7 @@ declare function createPluginStore({
|
|
|
1671
1671
|
}): zustand0.StoreApi<PluginStore>;
|
|
1672
1672
|
//#endregion
|
|
1673
1673
|
//#region src/PluginContext/PluginManager.d.ts
|
|
1674
|
-
declare function PluginManager():
|
|
1674
|
+
declare function PluginManager(): react_jsx_runtime5.JSX.Element | null;
|
|
1675
1675
|
//#endregion
|
|
1676
1676
|
//#region src/PreviewButton/PreviewButton.d.ts
|
|
1677
1677
|
declare function PreviewButton({
|
|
@@ -1680,10 +1680,10 @@ declare function PreviewButton({
|
|
|
1680
1680
|
}: {
|
|
1681
1681
|
downloadEnabled?: boolean;
|
|
1682
1682
|
fileName?: string;
|
|
1683
|
-
}):
|
|
1683
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1684
1684
|
//#endregion
|
|
1685
1685
|
//#region src/PreviewContext/PreviewContext.d.ts
|
|
1686
|
-
declare const PreviewProvider:
|
|
1686
|
+
declare const PreviewProvider: react9.NamedExoticComponent<{
|
|
1687
1687
|
previews: Preview[];
|
|
1688
1688
|
children: ReactNode;
|
|
1689
1689
|
configs: PreviewConfiguration[];
|
|
@@ -1720,18 +1720,18 @@ declare function usePreviewHistory(): {
|
|
|
1720
1720
|
};
|
|
1721
1721
|
declare function PreviewVaultContext(props: {
|
|
1722
1722
|
children: any;
|
|
1723
|
-
}):
|
|
1723
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1724
1724
|
declare function PreviewVaultBoundary({
|
|
1725
1725
|
children
|
|
1726
1726
|
}: {
|
|
1727
1727
|
children: any;
|
|
1728
|
-
}):
|
|
1728
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1729
1729
|
//#endregion
|
|
1730
1730
|
//#region src/ResourceEditingContext/ResourceEditingContext.d.ts
|
|
1731
1731
|
interface ResourceEditingContext {
|
|
1732
1732
|
resource: Reference<any> | null;
|
|
1733
1733
|
}
|
|
1734
|
-
declare const ResourceEditingReactContext:
|
|
1734
|
+
declare const ResourceEditingReactContext: react9.Context<ResourceEditingContext>;
|
|
1735
1735
|
declare function useEditingContext(): ResourceEditingContext;
|
|
1736
1736
|
/**
|
|
1737
1737
|
* useResource
|
|
@@ -1757,7 +1757,7 @@ declare function ResourceEditingProvider({
|
|
|
1757
1757
|
type: string;
|
|
1758
1758
|
} | null | undefined;
|
|
1759
1759
|
children: ReactNode;
|
|
1760
|
-
}):
|
|
1760
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1761
1761
|
//#endregion
|
|
1762
1762
|
//#region src/ShellContext/ShellContext.d.ts
|
|
1763
1763
|
declare function ShellProvider({
|
|
@@ -1781,7 +1781,7 @@ declare function ShellProvider({
|
|
|
1781
1781
|
type: string;
|
|
1782
1782
|
};
|
|
1783
1783
|
backgroundActionPersistence?: BackgroundActionPersistence | false | null;
|
|
1784
|
-
}):
|
|
1784
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1785
1785
|
//#endregion
|
|
1786
1786
|
//#region src/SpecificationContext/SpecificationContext.types.d.ts
|
|
1787
1787
|
type SpecificationEntityType = "Collection" | "Manifest" | "Canvas" | "Range" | "AnnotationPage" | "Annotation" | "ContentResource" | "Agent";
|
|
@@ -1906,7 +1906,7 @@ declare function SpecificationProvider({
|
|
|
1906
1906
|
}: {
|
|
1907
1907
|
children: ReactNode;
|
|
1908
1908
|
specifications?: ManifestEditorSpecification[];
|
|
1909
|
-
}):
|
|
1909
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1910
1910
|
declare function useSpecifications(): ManifestEditorSpecification[];
|
|
1911
1911
|
declare function useSpecificationReport(rootRef?: Reference): SpecificationReport;
|
|
1912
1912
|
declare function useSpecificationTerminology(): {
|
|
@@ -1952,7 +1952,7 @@ declare function TaskBridge({
|
|
|
1952
1952
|
children
|
|
1953
1953
|
}: {
|
|
1954
1954
|
children?: ReactNode;
|
|
1955
|
-
}):
|
|
1955
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
1956
1956
|
//#endregion
|
|
1957
1957
|
//#region src/Toast/ToastContext.d.ts
|
|
1958
1958
|
type ToastVariant = ToastVariant$1;
|
|
@@ -1972,12 +1972,12 @@ interface ToastProviderProps {
|
|
|
1972
1972
|
declare function ToastProvider({
|
|
1973
1973
|
children,
|
|
1974
1974
|
maxVisibleToasts
|
|
1975
|
-
}: ToastProviderProps):
|
|
1975
|
+
}: ToastProviderProps): react_jsx_runtime5.JSX.Element;
|
|
1976
1976
|
declare function useToasts(): ToastApi;
|
|
1977
1977
|
//#endregion
|
|
1978
1978
|
//#region src/Universal/UniversalCopyPaste.types.d.ts
|
|
1979
1979
|
interface UniversalCopyPasteProps<T$1> {
|
|
1980
|
-
as?: keyof JSX.IntrinsicElements |
|
|
1980
|
+
as?: keyof JSX.IntrinsicElements | react9.ComponentType<T$1>;
|
|
1981
1981
|
children?: ReactNode;
|
|
1982
1982
|
reference?: Reference;
|
|
1983
1983
|
onReference?: (reference: Reference) => void;
|
|
@@ -2007,7 +2007,7 @@ declare function UniversalCopyTarget<T$1>({
|
|
|
2007
2007
|
onPasteLink: _onPasteLink,
|
|
2008
2008
|
onPasteAnalysis: _onPasteAnalysis,
|
|
2009
2009
|
...props
|
|
2010
|
-
}: Partial<HTMLAttributes<HTMLElement>> & UniversalCopyPasteProps<T$1> & T$1):
|
|
2010
|
+
}: Partial<HTMLAttributes<HTMLElement>> & UniversalCopyPasteProps<T$1> & T$1): react_jsx_runtime5.JSX.Element;
|
|
2011
2011
|
//#endregion
|
|
2012
2012
|
export { AnnotationPanel, AppContext, AppExtension, AppHeader, AppMenuProvider, AppProvider, AppReactContext, AppResourceInstanceProvider, AppResourceProvider, AppState, AppStateReactContext, AtlasStoreProvider, AtlasStoreReactContext, AvailableBackgroundAction, BackgroundActionContext, BackgroundActionDefinition, BackgroundActionError, BackgroundActionEvent, BackgroundActionEventType, BackgroundActionGroup, BackgroundActionInstance, BackgroundActionLifecycle, BackgroundActionLogEntry, BackgroundActionLogLevel, BackgroundActionPersistedState, BackgroundActionPersistence, BackgroundActionPersistenceKey, BackgroundActionPlan, BackgroundActionProgress, BackgroundActionProgressInput, BackgroundActionRenderContext, BackgroundActionRunContext, BackgroundActionStatus, BackgroundActionSystemContext, BackgroundActionTarget, BackgroundActionTask, BackgroundActionTaskRunOptions, BackgroundActionTaskRunResult, BackgroundActionTaskStatus, BackgroundActionTasksApi, BackgroundActionToasts, BackgroundActionsMenu, BackgroundActionsMount, BackgroundActionsProvider, BackgroundActionsReactContext, BackgroundActionsStore, BackgroundPanel, BaseAnnotationCreator, BaseEditor, BaseEditorBackButton, BaseEditorCloseButton, CANVAS_PROGRESS_META_NAMESPACE, CANVAS_PROGRESS_STATUS_META_KEY, CanvasEditorDefinition, CanvasProgressActiveStatus, CanvasProgressResource, CanvasProgressStatus, CanvasProgressStatusInput, CanvasWithImageServiceSpecificationRule, Config, ConfigEditor, ConfigProvider, ConfigReactContext, ContextMenuItem, ContextMenuProvider, ContextMenuReactContext, ContextMenuRequest, CreatorInitialData, DisallowPropertySpecificationRule, EditableResource, EditingStack, EditingStackActionCreators, EditingStackActions, EditingStackContext, EditingStackState, EditorConfig, EditorDefinition, EventEmitterProvider, ExportPanel, ExportPanelProps, FLAG_TAG, FixedValueSpecificationRule, GetAvailableBackgroundActionGroupsOptions, HOMEPAGE_COLLECTION, HandleContainer, HandleControls, InlineEditingStack, Layout, LayoutActions, LayoutActionsReactContext, LayoutContext, LayoutFunction, LayoutModeReactContext, LayoutPanel, LayoutPanelContext, LayoutPanelFocusedModeContext, LayoutPanelSupportContext, LayoutProps, LayoutProviderProps, LayoutRenderProps, LayoutState, LayoutStateReactContext, LazyPluginModule, LoadedApp, ManifestEditorCanvasProgressApi, ManifestEditorCanvasProgressOverlay, ManifestEditorSpecification, ManifestEditorTag, ManifestEditorTagBadge, ManifestEditorTagGroup, ManifestEditorTagGroupRow, ManifestEditorTagIcon, ManifestEditorTagOverlay, ManifestEditorTagResource, ManifestEditorTagsApi, ManifestPaginationNavigation, ManifestPaginationNavigationProps, MappedApp, MappedPlugin, MenuPositions, MessagePortClientVault, MetadataTemplateSpecificationRule, ModularPanel, ModularPanelHeader, ModulePanelButton, MultiAppContext, MultiAppProvider, PanelActionType, PanelActions, PanelError, PanelState, PinnablePanelActions, PinnablePanelState, PinnedLayoutPanel, PluginAppConfig, PluginConfigBridge, PluginConfigScope, PluginGlobalConfigReactContext, PluginHostApp, PluginInput, PluginManager, PluginMetadata, PluginModule, PluginProvider, PluginReactContext, PluginRuntimeApi, PluginSettingsDefinition, PluginSettingsField, PluginSettingsFieldOption, PluginSettingsRecord, PluginSettingsRenderContext, PluginSettingsValue, PluginStore, PluginStoreSnapshot, Preview, PreviewActions, PreviewActionsType, PreviewButton, PreviewConfiguration, PreviewContext, PreviewHandler, PreviewProvider, PreviewState, PreviewVaultBoundary, PreviewVaultContext, PrimeAppReactContext, ReactEmitterContext, type RemoteVaultAction, type RemoteVaultClientMessage, RequireNonEmptySpecificationRule, RequiredStatementSpecificationRule, Resource, ResourceDefinition, ResourceEditingProvider, ResourceEditingReactContext, RunBackgroundActionOptions, SaveConfigReactContext, ShellProvider, SpecificationEditorTarget, SpecificationEntityType, SpecificationJsonValue, SpecificationPropertyPath, SpecificationPropertyPolicy, SpecificationPropertyRuleBase, SpecificationProvider, SpecificationReport, SpecificationReportItem, SpecificationReportStatus, SpecificationRule, SpecificationRuleBase, SpecificationTextValue, TAGS_META_KEY, TAGS_META_NAMESPACE, TaskBridge, ThumbnailFromBodyServiceSpecificationRule, ToastApi, ToastContent, ToastProvider, ToastVariant, UniversalCopyPasteProps, UniversalCopyTarget, UploadBackendConfig, ValidRightsSpecificationRule, VaultBridgeRegistry, addResourceTag, analyse, analyseJson, applyPlugins, baseCreator, baseEditor, clearCanvasProgressStatus, clearCanvasProgressStatuses, collectSpecificationResources, copyToClipboard, createActionIdentity, createBackgroundActionsStore, createDownload, createIframeVaultBridge, createLocalForageBackgroundActionPersistence, createManifestEditorCanvasProgressApi, createManifestEditorTagsApi, createPluginRuntimeApi, createPluginStore, createPreviewVault, createTrackingCanvasProgressApi, detectMedia, disablePluginInConfig, editBasedOnResource, enablePluginAndDependenciesInConfig, enablePluginInConfig, evaluateSpecifications, extendApp, filterSupportedPanels, getAvailableBackgroundActionGroups, getBackgroundActionInstanceKey, getCanvasProgressStatus, getCanvasProgressStatusFromState, getDefaultLayoutState, getDefaultPanelState, getEffectivePluginSettings, getEmptyPluginState, getEnabledPluginsForApp, getFormat, getImageDimensions, getManifestNomalized, getPluginCompatibilityReason, getPluginDefaultSettings, getPluginSelectionSource, getPluginSettingsFromConfig, getPropertyPolicy, getResourceTag, getResourceTagGroups, getResourceTags, getResourceTagsFromState, getSupportedPanelFallback, getTerminologyLabel, getValueAtPath, hasMeaningfulValue, hasResourceTag, isLazyPlugin, isMappedPlugin, isPinnableState, isPluginCompatible, isPluginSelected, layoutReducer, mapApp, mapLazyPlugin, mapPlugin, mergeBackgroundActionDefinitions, mergeConfig, mergePartialConfig, mergeProviderPlugins, normaliseBackgroundActionError, normaliseJsonValue, normalisePlugin, normalisePluginAppConfig, normalisePluginAppsConfig, normalisePlugins, normaliseSpecificationPath, panelIds, panelSizing, pluginAppConfigEquals, polygonToBoundingBox, randomId, removeResourceTag, renderHelper, resetPluginInConfig, resetPluginSettingsInConfig, runBackgroundAction, setCanvasProgressStatus, setCanvasProgressStatuses, setPluginSettingsInConfig, setResourceTags, setValueAtPath, sortBackgroundActionDefinitions, specificationJsonEquals, specificationPathEquals, toggleResourceTag, useAnnotationCreatorState, useAnnotationPageEditor, useApp, useAppInstance, useAppMenu, useAppMenuItem, useAppResource, useAppResourceInstance, useAppState, useApps, useAtlasStore, useAvailableBackgroundActions, useAvailableLayouts, useBackgroundActionHistory, useBackgroundActionInstance, useBackgroundActionsStore, useBackgroundActionsStoreApi, useCanvasProgressActions, useCanvasProgressStatus, useCollectionEditor, useConfig, useCreatingResource, useCreator, useCustomContextMenu, useDecayState, useEditingContext, useEditingResource, useEditingResourceStack, useEditingStack, useEditor, useEmitter, useEnabledPlugins, useEvent, useGenericEditor, useHighlightedImageResource, useHoverHighlightImageResource, useInitialData, useInlineCreator, useLayoutActions, useLayoutMode, useLayoutProvider, useLayoutState, useLocalStorage, useManifestEditor, useMatchMedia, useOptionalLocalStorage, useOptionalPluginStoreApi, useOptionalResource, usePanelActions, usePluginActions, usePluginConfigApi, usePluginRuntimeApi, usePluginSettings, usePluginStoreApi, usePlugins, usePreviewContext, usePreviewHistory, usePreviewVault, usePreviews, useResolvedPluginApp, useResource, useResourceContextMenuItems, useResourceTagActions, useResourceTags, useSaveConfig, useSaveVault, useSetCustomTitle, useSpecificationPropertyPolicy, useSpecificationReport, useSpecificationTerminology, useSpecifications, useSvgTools, useTask, useTaskDispatch, useTaskEvent, useTaskRunner, useTemporaryHighlight, useToasts };
|
|
2013
2013
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ToastContent as ToastContent$1, ToastVariant as ToastVariant$1, useLocalStorage, useOptionalLocalStorage } from "@manifest-editor/components";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react6 from "react";
|
|
3
3
|
import { CSSProperties, Dispatch, HTMLAttributes, ReactElement, ReactNode, SVGProps, SetStateAction } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
5
|
import * as zustand0 from "zustand";
|
|
6
6
|
import { StoreApi } from "zustand";
|
|
7
7
|
import { AtlasStore, AtlasStoreProvider, AtlasStoreReactContext, RenderingStrategy } from "react-iiif-vault";
|
|
@@ -35,14 +35,14 @@ declare function AppResourceInstanceProvider({
|
|
|
35
35
|
}: {
|
|
36
36
|
id?: string;
|
|
37
37
|
children: React.ReactNode;
|
|
38
|
-
}): string | number | bigint | boolean | Iterable<
|
|
38
|
+
}): string | number | bigint | boolean | Iterable<react6.ReactNode> | Promise<string | number | bigint | boolean | react6.ReactPortal | react6.ReactElement<unknown, string | react6.JSXElementConstructor<any>> | Iterable<react6.ReactNode> | null | undefined> | react_jsx_runtime3.JSX.Element | null | undefined;
|
|
39
39
|
declare function AppResourceProvider({
|
|
40
40
|
resource,
|
|
41
41
|
children
|
|
42
42
|
}: {
|
|
43
43
|
resource?: Resource;
|
|
44
44
|
children: React.ReactNode;
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/PreviewContext/PreviewContext.types.d.ts
|
|
48
48
|
interface Preview {
|
|
@@ -160,8 +160,8 @@ interface UploadBackendConfig {
|
|
|
160
160
|
}
|
|
161
161
|
declare function mergePartialConfig(...configs: Array<Partial<Config> | null | undefined>): Partial<Config>;
|
|
162
162
|
declare function mergeConfig(...configs: Array<Partial<Config> | null | undefined>): Config;
|
|
163
|
-
declare const ConfigReactContext:
|
|
164
|
-
declare const SaveConfigReactContext:
|
|
163
|
+
declare const ConfigReactContext: react6.Context<Config>;
|
|
164
|
+
declare const SaveConfigReactContext: react6.Context<(config: Partial<Config>) => void>;
|
|
165
165
|
declare function useConfig(): Config;
|
|
166
166
|
declare function useSaveConfig(): (config: Partial<Config>) => void;
|
|
167
167
|
declare function ConfigProvider({
|
|
@@ -172,7 +172,7 @@ declare function ConfigProvider({
|
|
|
172
172
|
children: ReactNode;
|
|
173
173
|
config?: Partial<Config>;
|
|
174
174
|
saveConfig?: (config: Partial<Config>) => void;
|
|
175
|
-
}):
|
|
175
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
176
176
|
//#endregion
|
|
177
177
|
//#region src/EditingStack/EditingStack.types.d.ts
|
|
178
178
|
interface EditableResource {
|
|
@@ -543,7 +543,7 @@ declare function ManifestEditorCanvasProgressOverlay({
|
|
|
543
543
|
resource?: CanvasProgressResource;
|
|
544
544
|
status?: CanvasProgressStatus;
|
|
545
545
|
className?: string;
|
|
546
|
-
}):
|
|
546
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
547
547
|
//#endregion
|
|
548
548
|
//#region src/PluginContext/PluginContext.types.d.ts
|
|
549
549
|
type PluginMetadata = {
|
|
@@ -725,7 +725,7 @@ declare function ManifestEditorTagIcon({
|
|
|
725
725
|
}: SVGProps<SVGSVGElement> & {
|
|
726
726
|
icon?: string;
|
|
727
727
|
title?: string;
|
|
728
|
-
}):
|
|
728
|
+
}): react_jsx_runtime3.JSX.Element | null;
|
|
729
729
|
declare function ManifestEditorTagBadge({
|
|
730
730
|
tag,
|
|
731
731
|
showIcon,
|
|
@@ -736,7 +736,7 @@ declare function ManifestEditorTagBadge({
|
|
|
736
736
|
showIcon?: boolean;
|
|
737
737
|
className?: string;
|
|
738
738
|
style?: CSSProperties;
|
|
739
|
-
}):
|
|
739
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
740
740
|
declare function ManifestEditorTagOverlay({
|
|
741
741
|
resource,
|
|
742
742
|
tags,
|
|
@@ -745,7 +745,7 @@ declare function ManifestEditorTagOverlay({
|
|
|
745
745
|
resource?: ManifestEditorTagResource;
|
|
746
746
|
tags?: ManifestEditorTag[];
|
|
747
747
|
className?: string;
|
|
748
|
-
}):
|
|
748
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
749
749
|
//#endregion
|
|
750
750
|
//#region src/BackgroundTasks/BackgroundTasks.types.d.ts
|
|
751
751
|
type BackgroundActionStatus = "idle" | "preparing" | "running" | "complete" | "error" | "cancelled";
|
|
@@ -974,9 +974,9 @@ type AppState = {
|
|
|
974
974
|
state: null | any;
|
|
975
975
|
setState: SetStateAction<any>;
|
|
976
976
|
};
|
|
977
|
-
declare const PrimeAppReactContext:
|
|
978
|
-
declare const AppReactContext:
|
|
979
|
-
declare const AppStateReactContext:
|
|
977
|
+
declare const PrimeAppReactContext: react6.Context<MappedApp | null>;
|
|
978
|
+
declare const AppReactContext: react6.Context<AppContext | null>;
|
|
979
|
+
declare const AppStateReactContext: react6.Context<{
|
|
980
980
|
state: null | any;
|
|
981
981
|
setState: SetStateAction<any>;
|
|
982
982
|
}>;
|
|
@@ -1000,7 +1000,7 @@ declare function AppProvider({
|
|
|
1000
1000
|
args?: any;
|
|
1001
1001
|
definition: MappedApp;
|
|
1002
1002
|
children: ReactNode;
|
|
1003
|
-
}):
|
|
1003
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1004
1004
|
//#endregion
|
|
1005
1005
|
//#region src/AppContext/MultiAppContext.d.ts
|
|
1006
1006
|
type MappedApp$1 = any;
|
|
@@ -1039,13 +1039,13 @@ declare function MultiAppProvider({
|
|
|
1039
1039
|
manifestApp?: string;
|
|
1040
1040
|
collectionApp?: string;
|
|
1041
1041
|
};
|
|
1042
|
-
}):
|
|
1042
|
+
}): react_jsx_runtime3.JSX.Element | null;
|
|
1043
1043
|
//#endregion
|
|
1044
1044
|
//#region src/AppHeader/AppHeader.d.ts
|
|
1045
1045
|
interface AppHeaderProps {
|
|
1046
1046
|
onClickLogo?: () => void;
|
|
1047
1047
|
}
|
|
1048
|
-
declare const AppHeader:
|
|
1048
|
+
declare const AppHeader: react6.NamedExoticComponent<AppHeaderProps>;
|
|
1049
1049
|
//#endregion
|
|
1050
1050
|
//#region src/AppMenu/AppMenuContext.d.ts
|
|
1051
1051
|
type MenuItem = {
|
|
@@ -1070,7 +1070,7 @@ declare function AppMenuProvider({
|
|
|
1070
1070
|
}: {
|
|
1071
1071
|
children: React.ReactNode;
|
|
1072
1072
|
menu: AppMenuContext;
|
|
1073
|
-
}):
|
|
1073
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1074
1074
|
//#endregion
|
|
1075
1075
|
//#region src/AtlasStore/AtlasStoreProvider.d.ts
|
|
1076
1076
|
declare function useAtlasStore(): StoreApi<AtlasStore>;
|
|
@@ -1095,9 +1095,9 @@ declare function getImageDimensions(url: string): Promise<{
|
|
|
1095
1095
|
//#endregion
|
|
1096
1096
|
//#region src/BackgroundTasks/BackgroundActions.d.ts
|
|
1097
1097
|
declare function useAvailableBackgroundActions(): BackgroundActionGroup[];
|
|
1098
|
-
declare function BackgroundActionsMount():
|
|
1098
|
+
declare function BackgroundActionsMount(): react_jsx_runtime3.JSX.Element;
|
|
1099
1099
|
declare function BackgroundActionToasts(): null;
|
|
1100
|
-
declare function BackgroundActionsMenu():
|
|
1100
|
+
declare function BackgroundActionsMenu(): react_jsx_runtime3.JSX.Element | null;
|
|
1101
1101
|
//#endregion
|
|
1102
1102
|
//#region src/BackgroundTasks/BackgroundTasksStore.d.ts
|
|
1103
1103
|
interface BackgroundActionsStore {
|
|
@@ -1156,7 +1156,7 @@ declare function getAvailableBackgroundActionGroups({
|
|
|
1156
1156
|
declare function createBackgroundActionsStore(initialDefinitions?: BackgroundActionDefinition[]): StoreApi<BackgroundActionsStore>;
|
|
1157
1157
|
declare function runBackgroundAction(options: RunBackgroundActionOptions): Promise<BackgroundActionInstance | undefined>;
|
|
1158
1158
|
declare function createLocalForageBackgroundActionPersistence(): BackgroundActionPersistence | null;
|
|
1159
|
-
declare const BackgroundActionsReactContext:
|
|
1159
|
+
declare const BackgroundActionsReactContext: react6.Context<StoreApi<BackgroundActionsStore> | null>;
|
|
1160
1160
|
declare function BackgroundActionsProvider({
|
|
1161
1161
|
children,
|
|
1162
1162
|
persistence,
|
|
@@ -1165,7 +1165,7 @@ declare function BackgroundActionsProvider({
|
|
|
1165
1165
|
children: ReactNode;
|
|
1166
1166
|
persistence?: BackgroundActionPersistence | false | null;
|
|
1167
1167
|
persistenceKey?: BackgroundActionPersistenceKey;
|
|
1168
|
-
}):
|
|
1168
|
+
}): react6.FunctionComponentElement<react6.ProviderProps<StoreApi<BackgroundActionsStore> | null>>;
|
|
1169
1169
|
declare function useBackgroundActionsStoreApi(): StoreApi<BackgroundActionsStore>;
|
|
1170
1170
|
declare function useBackgroundActionsStore<T$1 = BackgroundActionsStore>(selector?: (state: BackgroundActionsStore) => T$1): T$1;
|
|
1171
1171
|
declare function useBackgroundActionInstance(instanceKey: string): BackgroundActionInstance | undefined;
|
|
@@ -1179,7 +1179,7 @@ interface BaseAnnotationCreatorProps {
|
|
|
1179
1179
|
resource: CreatableResource;
|
|
1180
1180
|
onCreate: () => void;
|
|
1181
1181
|
}
|
|
1182
|
-
declare function BaseAnnotationCreator(props: BaseAnnotationCreatorProps):
|
|
1182
|
+
declare function BaseAnnotationCreator(props: BaseAnnotationCreatorProps): react_jsx_runtime3.JSX.Element;
|
|
1183
1183
|
//#endregion
|
|
1184
1184
|
//#region src/BaseCreator/BaseCreator.hooks.d.ts
|
|
1185
1185
|
declare function useCreator(parent: any, property: string, type: string, target?: Reference, options?: {
|
|
@@ -1202,7 +1202,7 @@ declare function CreatorInitialData<T$1 extends Record<string, unknown>>(props:
|
|
|
1202
1202
|
id: string;
|
|
1203
1203
|
children: React.ReactNode;
|
|
1204
1204
|
data: T$1;
|
|
1205
|
-
}):
|
|
1205
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1206
1206
|
//#endregion
|
|
1207
1207
|
//#region src/BaseEditor/index.d.ts
|
|
1208
1208
|
declare const baseEditor: LayoutPanel;
|
|
@@ -1224,10 +1224,10 @@ declare function BaseEditor({
|
|
|
1224
1224
|
currentTab
|
|
1225
1225
|
}: {
|
|
1226
1226
|
currentTab?: string;
|
|
1227
|
-
}): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean |
|
|
1227
|
+
}): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react6.ReactPortal | react6.ReactElement<unknown, string | react6.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime3.JSX.Element | null | undefined;
|
|
1228
1228
|
//#endregion
|
|
1229
1229
|
//#region src/ConfigContext/ConfigEditor.d.ts
|
|
1230
|
-
declare function ConfigEditor():
|
|
1230
|
+
declare function ConfigEditor(): react_jsx_runtime3.JSX.Element;
|
|
1231
1231
|
//#endregion
|
|
1232
1232
|
//#region src/ContextMenu/ContextMenuContext.d.ts
|
|
1233
1233
|
type ContextMenuItem = {
|
|
@@ -1276,12 +1276,12 @@ type ContextMenuStore = {
|
|
|
1276
1276
|
}>;
|
|
1277
1277
|
hookMenuItem(req: ContextMenuRequest): () => void;
|
|
1278
1278
|
};
|
|
1279
|
-
declare const ContextMenuReactContext:
|
|
1279
|
+
declare const ContextMenuReactContext: react6.Context<StoreApi<ContextMenuStore> | null>;
|
|
1280
1280
|
declare function ContextMenuProvider({
|
|
1281
1281
|
children
|
|
1282
1282
|
}: {
|
|
1283
1283
|
children: React.ReactNode;
|
|
1284
|
-
}):
|
|
1284
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1285
1285
|
declare function useResourceContextMenuItems(req: {
|
|
1286
1286
|
id?: string;
|
|
1287
1287
|
type: string;
|
|
@@ -1292,7 +1292,7 @@ declare function useResourceContextMenuItems(req: {
|
|
|
1292
1292
|
declare function useCustomContextMenu(req: ContextMenuRequest, deps?: any[]): void;
|
|
1293
1293
|
//#endregion
|
|
1294
1294
|
//#region src/EditingStack/EditingStack.d.ts
|
|
1295
|
-
declare const EditingStackContext:
|
|
1295
|
+
declare const EditingStackContext: react6.Context<EditingStackState>;
|
|
1296
1296
|
declare function useEditingStack(): EditingStackActions;
|
|
1297
1297
|
declare function useEditingResource(): EditableResource | null;
|
|
1298
1298
|
declare function useEditingResourceStack(): EditableResource[];
|
|
@@ -1317,7 +1317,7 @@ declare function EditingStack(props: {
|
|
|
1317
1317
|
id: string;
|
|
1318
1318
|
type: string;
|
|
1319
1319
|
};
|
|
1320
|
-
}):
|
|
1320
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1321
1321
|
declare function InlineEditingStack({
|
|
1322
1322
|
resource,
|
|
1323
1323
|
children
|
|
@@ -1327,14 +1327,14 @@ declare function InlineEditingStack({
|
|
|
1327
1327
|
type: string;
|
|
1328
1328
|
};
|
|
1329
1329
|
children?: React.ReactNode;
|
|
1330
|
-
}):
|
|
1330
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1331
1331
|
//#endregion
|
|
1332
1332
|
//#region src/ExportPanel/ExportPanel.d.ts
|
|
1333
1333
|
interface ExportPanelProps {
|
|
1334
1334
|
initialVersion?: 2 | 3;
|
|
1335
1335
|
versions?: Array<2 | 3>;
|
|
1336
1336
|
}
|
|
1337
|
-
declare function ExportPanel(props: ExportPanelProps):
|
|
1337
|
+
declare function ExportPanel(props: ExportPanelProps): react_jsx_runtime3.JSX.Element;
|
|
1338
1338
|
//#endregion
|
|
1339
1339
|
//#region src/helpers.d.ts
|
|
1340
1340
|
declare function getManifestNomalized(id: string): Promise<ManifestNormalized | undefined>;
|
|
@@ -1387,14 +1387,14 @@ declare function useDecayState(time: number): readonly [boolean, {
|
|
|
1387
1387
|
}];
|
|
1388
1388
|
//#endregion
|
|
1389
1389
|
//#region src/hooks/use-event.d.ts
|
|
1390
|
-
declare const ReactEmitterContext:
|
|
1390
|
+
declare const ReactEmitterContext: react6.Context<Emitter<any>>;
|
|
1391
1391
|
declare function EventEmitterProvider({
|
|
1392
1392
|
children,
|
|
1393
1393
|
emitter
|
|
1394
1394
|
}: {
|
|
1395
1395
|
children: React.ReactNode;
|
|
1396
1396
|
emitter: Emitter<any>;
|
|
1397
|
-
}):
|
|
1397
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1398
1398
|
declare function useEmitter<Event extends Record<string | symbol, unknown>>(): Emitter<Event>;
|
|
1399
1399
|
declare function useEvent<Event extends Record<string | symbol, unknown>, Key extends keyof Event>(key: Key, listener: (data: Event[Key]) => void, deps?: any[]): void;
|
|
1400
1400
|
//#endregion
|
|
@@ -1449,14 +1449,14 @@ declare function useSvgTools(): {
|
|
|
1449
1449
|
};
|
|
1450
1450
|
//#endregion
|
|
1451
1451
|
//#region src/Layout/components/HandleControls.d.ts
|
|
1452
|
-
declare const HandleContainer: styled_components0.IStyledComponent<"web", styled_components_dist_types0.FastOmit<
|
|
1453
|
-
declare const HandleControls:
|
|
1452
|
+
declare const HandleContainer: styled_components0.IStyledComponent<"web", styled_components_dist_types0.FastOmit<react6.DetailedHTMLProps<react6.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
1453
|
+
declare const HandleControls: react6.ForwardRefExoticComponent<{
|
|
1454
1454
|
dir: "left" | "right";
|
|
1455
1455
|
open: boolean;
|
|
1456
1456
|
actions: PanelActions;
|
|
1457
1457
|
transition?: TransitionStatus;
|
|
1458
1458
|
reset?: () => void;
|
|
1459
|
-
} &
|
|
1459
|
+
} & react6.RefAttributes<HTMLDivElement>>;
|
|
1460
1460
|
//#endregion
|
|
1461
1461
|
//#region src/Layout/components/ModularPanel.d.ts
|
|
1462
1462
|
interface ModularPanelProps {
|
|
@@ -1472,11 +1472,11 @@ interface ModularPanelProps {
|
|
|
1472
1472
|
style?: any;
|
|
1473
1473
|
}
|
|
1474
1474
|
declare function useSetCustomTitle(): (title: string) => void;
|
|
1475
|
-
declare const ModularPanelHeader: styled_components0.IStyledComponent<"web", styled_components_dist_types0.Substitute<
|
|
1475
|
+
declare const ModularPanelHeader: styled_components0.IStyledComponent<"web", styled_components_dist_types0.Substitute<react6.DetailedHTMLProps<react6.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
1476
1476
|
$tabs?: boolean;
|
|
1477
1477
|
$error?: boolean;
|
|
1478
1478
|
}>>;
|
|
1479
|
-
declare const ModulePanelButton: styled_components0.IStyledComponent<"web", styled_components_dist_types0.FastOmit<
|
|
1479
|
+
declare const ModulePanelButton: styled_components0.IStyledComponent<"web", styled_components_dist_types0.FastOmit<react6.DetailedHTMLProps<react6.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>>;
|
|
1480
1480
|
declare function ModularPanel({
|
|
1481
1481
|
panel,
|
|
1482
1482
|
state,
|
|
@@ -1488,13 +1488,13 @@ declare function ModularPanel({
|
|
|
1488
1488
|
available,
|
|
1489
1489
|
style,
|
|
1490
1490
|
noHeader
|
|
1491
|
-
}: ModularPanelProps):
|
|
1491
|
+
}: ModularPanelProps): react_jsx_runtime3.JSX.Element | null;
|
|
1492
1492
|
//#endregion
|
|
1493
1493
|
//#region src/Layout/components/PanelError.d.ts
|
|
1494
1494
|
declare function PanelError(props: {
|
|
1495
1495
|
error: Error;
|
|
1496
1496
|
resetErrorBoundary: () => void;
|
|
1497
|
-
}):
|
|
1497
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1498
1498
|
//#endregion
|
|
1499
1499
|
//#region src/Layout/Layout.d.ts
|
|
1500
1500
|
interface LayoutRenderProps {
|
|
@@ -1514,12 +1514,12 @@ interface LayoutRenderProps {
|
|
|
1514
1514
|
disableSideEffects?: string[];
|
|
1515
1515
|
layoutMode?: "default" | "focused";
|
|
1516
1516
|
}
|
|
1517
|
-
declare const Layout:
|
|
1517
|
+
declare const Layout: react6.NamedExoticComponent<LayoutRenderProps>;
|
|
1518
1518
|
//#endregion
|
|
1519
1519
|
//#region src/Layout/Layout.context.d.ts
|
|
1520
|
-
declare const LayoutActionsReactContext:
|
|
1521
|
-
declare const LayoutStateReactContext:
|
|
1522
|
-
declare const LayoutModeReactContext:
|
|
1520
|
+
declare const LayoutActionsReactContext: react6.Context<LayoutActions>;
|
|
1521
|
+
declare const LayoutStateReactContext: react6.Context<LayoutState>;
|
|
1522
|
+
declare const LayoutModeReactContext: react6.Context<"default" | "focused">;
|
|
1523
1523
|
declare function useLayoutState(): LayoutState;
|
|
1524
1524
|
declare function useLayoutActions(): LayoutActions;
|
|
1525
1525
|
declare function useLayoutMode(): "default" | "focused";
|
|
@@ -1567,11 +1567,11 @@ interface ManifestPaginationNavigationProps {
|
|
|
1567
1567
|
declare function ManifestPaginationNavigation({
|
|
1568
1568
|
className,
|
|
1569
1569
|
variant
|
|
1570
|
-
}: ManifestPaginationNavigationProps):
|
|
1570
|
+
}: ManifestPaginationNavigationProps): react_jsx_runtime3.JSX.Element;
|
|
1571
1571
|
//#endregion
|
|
1572
1572
|
//#region src/PluginContext/PluginContext.d.ts
|
|
1573
|
-
declare const PluginReactContext:
|
|
1574
|
-
declare const PluginGlobalConfigReactContext:
|
|
1573
|
+
declare const PluginReactContext: react6.Context<StoreApi<PluginStore> | null>;
|
|
1574
|
+
declare const PluginGlobalConfigReactContext: react6.Context<{
|
|
1575
1575
|
globalPluginConfig?: Config["plugins"];
|
|
1576
1576
|
saveGlobalPluginConfig?: (config: Config["plugins"]) => void | Promise<void>;
|
|
1577
1577
|
}>;
|
|
@@ -1671,7 +1671,7 @@ declare function createPluginStore({
|
|
|
1671
1671
|
}): zustand0.StoreApi<PluginStore>;
|
|
1672
1672
|
//#endregion
|
|
1673
1673
|
//#region src/PluginContext/PluginManager.d.ts
|
|
1674
|
-
declare function PluginManager():
|
|
1674
|
+
declare function PluginManager(): react_jsx_runtime3.JSX.Element | null;
|
|
1675
1675
|
//#endregion
|
|
1676
1676
|
//#region src/PreviewButton/PreviewButton.d.ts
|
|
1677
1677
|
declare function PreviewButton({
|
|
@@ -1680,10 +1680,10 @@ declare function PreviewButton({
|
|
|
1680
1680
|
}: {
|
|
1681
1681
|
downloadEnabled?: boolean;
|
|
1682
1682
|
fileName?: string;
|
|
1683
|
-
}):
|
|
1683
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1684
1684
|
//#endregion
|
|
1685
1685
|
//#region src/PreviewContext/PreviewContext.d.ts
|
|
1686
|
-
declare const PreviewProvider:
|
|
1686
|
+
declare const PreviewProvider: react6.NamedExoticComponent<{
|
|
1687
1687
|
previews: Preview[];
|
|
1688
1688
|
children: ReactNode;
|
|
1689
1689
|
configs: PreviewConfiguration[];
|
|
@@ -1720,18 +1720,18 @@ declare function usePreviewHistory(): {
|
|
|
1720
1720
|
};
|
|
1721
1721
|
declare function PreviewVaultContext(props: {
|
|
1722
1722
|
children: any;
|
|
1723
|
-
}):
|
|
1723
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1724
1724
|
declare function PreviewVaultBoundary({
|
|
1725
1725
|
children
|
|
1726
1726
|
}: {
|
|
1727
1727
|
children: any;
|
|
1728
|
-
}):
|
|
1728
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1729
1729
|
//#endregion
|
|
1730
1730
|
//#region src/ResourceEditingContext/ResourceEditingContext.d.ts
|
|
1731
1731
|
interface ResourceEditingContext {
|
|
1732
1732
|
resource: Reference<any> | null;
|
|
1733
1733
|
}
|
|
1734
|
-
declare const ResourceEditingReactContext:
|
|
1734
|
+
declare const ResourceEditingReactContext: react6.Context<ResourceEditingContext>;
|
|
1735
1735
|
declare function useEditingContext(): ResourceEditingContext;
|
|
1736
1736
|
/**
|
|
1737
1737
|
* useResource
|
|
@@ -1757,7 +1757,7 @@ declare function ResourceEditingProvider({
|
|
|
1757
1757
|
type: string;
|
|
1758
1758
|
} | null | undefined;
|
|
1759
1759
|
children: ReactNode;
|
|
1760
|
-
}):
|
|
1760
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1761
1761
|
//#endregion
|
|
1762
1762
|
//#region src/ShellContext/ShellContext.d.ts
|
|
1763
1763
|
declare function ShellProvider({
|
|
@@ -1781,7 +1781,7 @@ declare function ShellProvider({
|
|
|
1781
1781
|
type: string;
|
|
1782
1782
|
};
|
|
1783
1783
|
backgroundActionPersistence?: BackgroundActionPersistence | false | null;
|
|
1784
|
-
}):
|
|
1784
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1785
1785
|
//#endregion
|
|
1786
1786
|
//#region src/SpecificationContext/SpecificationContext.types.d.ts
|
|
1787
1787
|
type SpecificationEntityType = "Collection" | "Manifest" | "Canvas" | "Range" | "AnnotationPage" | "Annotation" | "ContentResource" | "Agent";
|
|
@@ -1906,7 +1906,7 @@ declare function SpecificationProvider({
|
|
|
1906
1906
|
}: {
|
|
1907
1907
|
children: ReactNode;
|
|
1908
1908
|
specifications?: ManifestEditorSpecification[];
|
|
1909
|
-
}):
|
|
1909
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1910
1910
|
declare function useSpecifications(): ManifestEditorSpecification[];
|
|
1911
1911
|
declare function useSpecificationReport(rootRef?: Reference): SpecificationReport;
|
|
1912
1912
|
declare function useSpecificationTerminology(): {
|
|
@@ -1952,7 +1952,7 @@ declare function TaskBridge({
|
|
|
1952
1952
|
children
|
|
1953
1953
|
}: {
|
|
1954
1954
|
children?: ReactNode;
|
|
1955
|
-
}):
|
|
1955
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
1956
1956
|
//#endregion
|
|
1957
1957
|
//#region src/Toast/ToastContext.d.ts
|
|
1958
1958
|
type ToastVariant = ToastVariant$1;
|
|
@@ -1972,12 +1972,12 @@ interface ToastProviderProps {
|
|
|
1972
1972
|
declare function ToastProvider({
|
|
1973
1973
|
children,
|
|
1974
1974
|
maxVisibleToasts
|
|
1975
|
-
}: ToastProviderProps):
|
|
1975
|
+
}: ToastProviderProps): react_jsx_runtime3.JSX.Element;
|
|
1976
1976
|
declare function useToasts(): ToastApi;
|
|
1977
1977
|
//#endregion
|
|
1978
1978
|
//#region src/Universal/UniversalCopyPaste.types.d.ts
|
|
1979
1979
|
interface UniversalCopyPasteProps<T$1> {
|
|
1980
|
-
as?: keyof JSX.IntrinsicElements |
|
|
1980
|
+
as?: keyof JSX.IntrinsicElements | react6.ComponentType<T$1>;
|
|
1981
1981
|
children?: ReactNode;
|
|
1982
1982
|
reference?: Reference;
|
|
1983
1983
|
onReference?: (reference: Reference) => void;
|
|
@@ -2007,7 +2007,7 @@ declare function UniversalCopyTarget<T$1>({
|
|
|
2007
2007
|
onPasteLink: _onPasteLink,
|
|
2008
2008
|
onPasteAnalysis: _onPasteAnalysis,
|
|
2009
2009
|
...props
|
|
2010
|
-
}: Partial<HTMLAttributes<HTMLElement>> & UniversalCopyPasteProps<T$1> & T$1):
|
|
2010
|
+
}: Partial<HTMLAttributes<HTMLElement>> & UniversalCopyPasteProps<T$1> & T$1): react_jsx_runtime3.JSX.Element;
|
|
2011
2011
|
//#endregion
|
|
2012
2012
|
export { AnnotationPanel, AppContext, AppExtension, AppHeader, AppMenuProvider, AppProvider, AppReactContext, AppResourceInstanceProvider, AppResourceProvider, AppState, AppStateReactContext, AtlasStoreProvider, AtlasStoreReactContext, AvailableBackgroundAction, BackgroundActionContext, BackgroundActionDefinition, BackgroundActionError, BackgroundActionEvent, BackgroundActionEventType, BackgroundActionGroup, BackgroundActionInstance, BackgroundActionLifecycle, BackgroundActionLogEntry, BackgroundActionLogLevel, BackgroundActionPersistedState, BackgroundActionPersistence, BackgroundActionPersistenceKey, BackgroundActionPlan, BackgroundActionProgress, BackgroundActionProgressInput, BackgroundActionRenderContext, BackgroundActionRunContext, BackgroundActionStatus, BackgroundActionSystemContext, BackgroundActionTarget, BackgroundActionTask, BackgroundActionTaskRunOptions, BackgroundActionTaskRunResult, BackgroundActionTaskStatus, BackgroundActionTasksApi, BackgroundActionToasts, BackgroundActionsMenu, BackgroundActionsMount, BackgroundActionsProvider, BackgroundActionsReactContext, BackgroundActionsStore, BackgroundPanel, BaseAnnotationCreator, BaseEditor, BaseEditorBackButton, BaseEditorCloseButton, CANVAS_PROGRESS_META_NAMESPACE, CANVAS_PROGRESS_STATUS_META_KEY, CanvasEditorDefinition, CanvasProgressActiveStatus, CanvasProgressResource, CanvasProgressStatus, CanvasProgressStatusInput, CanvasWithImageServiceSpecificationRule, Config, ConfigEditor, ConfigProvider, ConfigReactContext, ContextMenuItem, ContextMenuProvider, ContextMenuReactContext, ContextMenuRequest, CreatorInitialData, DisallowPropertySpecificationRule, EditableResource, EditingStack, EditingStackActionCreators, EditingStackActions, EditingStackContext, EditingStackState, EditorConfig, EditorDefinition, EventEmitterProvider, ExportPanel, ExportPanelProps, FLAG_TAG, FixedValueSpecificationRule, GetAvailableBackgroundActionGroupsOptions, HOMEPAGE_COLLECTION, HandleContainer, HandleControls, InlineEditingStack, Layout, LayoutActions, LayoutActionsReactContext, LayoutContext, LayoutFunction, LayoutModeReactContext, LayoutPanel, LayoutPanelContext, LayoutPanelFocusedModeContext, LayoutPanelSupportContext, LayoutProps, LayoutProviderProps, LayoutRenderProps, LayoutState, LayoutStateReactContext, LazyPluginModule, LoadedApp, ManifestEditorCanvasProgressApi, ManifestEditorCanvasProgressOverlay, ManifestEditorSpecification, ManifestEditorTag, ManifestEditorTagBadge, ManifestEditorTagGroup, ManifestEditorTagGroupRow, ManifestEditorTagIcon, ManifestEditorTagOverlay, ManifestEditorTagResource, ManifestEditorTagsApi, ManifestPaginationNavigation, ManifestPaginationNavigationProps, MappedApp, MappedPlugin, MenuPositions, MessagePortClientVault, MetadataTemplateSpecificationRule, ModularPanel, ModularPanelHeader, ModulePanelButton, MultiAppContext, MultiAppProvider, PanelActionType, PanelActions, PanelError, PanelState, PinnablePanelActions, PinnablePanelState, PinnedLayoutPanel, PluginAppConfig, PluginConfigBridge, PluginConfigScope, PluginGlobalConfigReactContext, PluginHostApp, PluginInput, PluginManager, PluginMetadata, PluginModule, PluginProvider, PluginReactContext, PluginRuntimeApi, PluginSettingsDefinition, PluginSettingsField, PluginSettingsFieldOption, PluginSettingsRecord, PluginSettingsRenderContext, PluginSettingsValue, PluginStore, PluginStoreSnapshot, Preview, PreviewActions, PreviewActionsType, PreviewButton, PreviewConfiguration, PreviewContext, PreviewHandler, PreviewProvider, PreviewState, PreviewVaultBoundary, PreviewVaultContext, PrimeAppReactContext, ReactEmitterContext, type RemoteVaultAction, type RemoteVaultClientMessage, RequireNonEmptySpecificationRule, RequiredStatementSpecificationRule, Resource, ResourceDefinition, ResourceEditingProvider, ResourceEditingReactContext, RunBackgroundActionOptions, SaveConfigReactContext, ShellProvider, SpecificationEditorTarget, SpecificationEntityType, SpecificationJsonValue, SpecificationPropertyPath, SpecificationPropertyPolicy, SpecificationPropertyRuleBase, SpecificationProvider, SpecificationReport, SpecificationReportItem, SpecificationReportStatus, SpecificationRule, SpecificationRuleBase, SpecificationTextValue, TAGS_META_KEY, TAGS_META_NAMESPACE, TaskBridge, ThumbnailFromBodyServiceSpecificationRule, ToastApi, ToastContent, ToastProvider, ToastVariant, UniversalCopyPasteProps, UniversalCopyTarget, UploadBackendConfig, ValidRightsSpecificationRule, VaultBridgeRegistry, addResourceTag, analyse, analyseJson, applyPlugins, baseCreator, baseEditor, clearCanvasProgressStatus, clearCanvasProgressStatuses, collectSpecificationResources, copyToClipboard, createActionIdentity, createBackgroundActionsStore, createDownload, createIframeVaultBridge, createLocalForageBackgroundActionPersistence, createManifestEditorCanvasProgressApi, createManifestEditorTagsApi, createPluginRuntimeApi, createPluginStore, createPreviewVault, createTrackingCanvasProgressApi, detectMedia, disablePluginInConfig, editBasedOnResource, enablePluginAndDependenciesInConfig, enablePluginInConfig, evaluateSpecifications, extendApp, filterSupportedPanels, getAvailableBackgroundActionGroups, getBackgroundActionInstanceKey, getCanvasProgressStatus, getCanvasProgressStatusFromState, getDefaultLayoutState, getDefaultPanelState, getEffectivePluginSettings, getEmptyPluginState, getEnabledPluginsForApp, getFormat, getImageDimensions, getManifestNomalized, getPluginCompatibilityReason, getPluginDefaultSettings, getPluginSelectionSource, getPluginSettingsFromConfig, getPropertyPolicy, getResourceTag, getResourceTagGroups, getResourceTags, getResourceTagsFromState, getSupportedPanelFallback, getTerminologyLabel, getValueAtPath, hasMeaningfulValue, hasResourceTag, isLazyPlugin, isMappedPlugin, isPinnableState, isPluginCompatible, isPluginSelected, layoutReducer, mapApp, mapLazyPlugin, mapPlugin, mergeBackgroundActionDefinitions, mergeConfig, mergePartialConfig, mergeProviderPlugins, normaliseBackgroundActionError, normaliseJsonValue, normalisePlugin, normalisePluginAppConfig, normalisePluginAppsConfig, normalisePlugins, normaliseSpecificationPath, panelIds, panelSizing, pluginAppConfigEquals, polygonToBoundingBox, randomId, removeResourceTag, renderHelper, resetPluginInConfig, resetPluginSettingsInConfig, runBackgroundAction, setCanvasProgressStatus, setCanvasProgressStatuses, setPluginSettingsInConfig, setResourceTags, setValueAtPath, sortBackgroundActionDefinitions, specificationJsonEquals, specificationPathEquals, toggleResourceTag, useAnnotationCreatorState, useAnnotationPageEditor, useApp, useAppInstance, useAppMenu, useAppMenuItem, useAppResource, useAppResourceInstance, useAppState, useApps, useAtlasStore, useAvailableBackgroundActions, useAvailableLayouts, useBackgroundActionHistory, useBackgroundActionInstance, useBackgroundActionsStore, useBackgroundActionsStoreApi, useCanvasProgressActions, useCanvasProgressStatus, useCollectionEditor, useConfig, useCreatingResource, useCreator, useCustomContextMenu, useDecayState, useEditingContext, useEditingResource, useEditingResourceStack, useEditingStack, useEditor, useEmitter, useEnabledPlugins, useEvent, useGenericEditor, useHighlightedImageResource, useHoverHighlightImageResource, useInitialData, useInlineCreator, useLayoutActions, useLayoutMode, useLayoutProvider, useLayoutState, useLocalStorage, useManifestEditor, useMatchMedia, useOptionalLocalStorage, useOptionalPluginStoreApi, useOptionalResource, usePanelActions, usePluginActions, usePluginConfigApi, usePluginRuntimeApi, usePluginSettings, usePluginStoreApi, usePlugins, usePreviewContext, usePreviewHistory, usePreviewVault, usePreviews, useResolvedPluginApp, useResource, useResourceContextMenuItems, useResourceTagActions, useResourceTags, useSaveConfig, useSaveVault, useSetCustomTitle, useSpecificationPropertyPolicy, useSpecificationReport, useSpecificationTerminology, useSpecifications, useSvgTools, useTask, useTaskDispatch, useTaskEvent, useTaskRunner, useTemporaryHighlight, useToasts };
|
|
2013
2013
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@manifest-editor/shell",
|
|
3
|
-
"version": "2.1.0",
|
|
3
|
+
"version": "2.1.1-next.0.96fdf30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bugs": "https://github.com/digirati-co-uk/iiif-manifest-editor/issues",
|
|
6
6
|
"repository": {
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@iiif/parser": "2.2.8",
|
|
46
46
|
"@iiif/presentation-3": "^2.2.3",
|
|
47
47
|
"@iiif/presentation-3-normalized": "^0.9.7",
|
|
48
|
-
"@manifest-editor/client-vault": "2.1.0",
|
|
49
|
-
"@manifest-editor/components": "2.1.0",
|
|
50
|
-
"@manifest-editor/creator-api": "2.1.0",
|
|
51
|
-
"@manifest-editor/editor-api": "2.1.0",
|
|
48
|
+
"@manifest-editor/client-vault": "2.1.1-next.0.96fdf30",
|
|
49
|
+
"@manifest-editor/components": "2.1.1-next.0.96fdf30",
|
|
50
|
+
"@manifest-editor/creator-api": "2.1.1-next.0.96fdf30",
|
|
51
|
+
"@manifest-editor/editor-api": "2.1.1-next.0.96fdf30",
|
|
52
52
|
"@react-stately/toast": "^3.1.2",
|
|
53
53
|
"@tanstack/react-query": "^5.56.2",
|
|
54
54
|
"immer": "^10.0.4",
|