@vuu-ui/vuu-layout 0.8.17 → 0.8.19-debug

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,17 +0,0 @@
1
- import { LayoutMetadata, LayoutMetadataDto } from "@vuu-ui/vuu-shell";
2
- import { ApplicationJSON, LayoutJSON, LayoutPersistenceManager } from "@vuu-ui/vuu-layout";
3
- export declare class LocalLayoutPersistenceManager implements LayoutPersistenceManager {
4
- #private;
5
- constructor(urlKey?: string);
6
- createLayout(metadata: LayoutMetadataDto, layout: LayoutJSON): Promise<LayoutMetadata>;
7
- updateLayout(id: string, newMetadata: LayoutMetadataDto, newLayout: LayoutJSON): Promise<void>;
8
- deleteLayout(id: string): Promise<void>;
9
- loadLayout(id: string): Promise<LayoutJSON>;
10
- loadMetadata(): Promise<LayoutMetadata[]>;
11
- loadApplicationJSON(): Promise<ApplicationJSON>;
12
- saveApplicationJSON(applicationJSON: ApplicationJSON): Promise<void>;
13
- private loadLayouts;
14
- private saveLayoutsWithMetadata;
15
- private validateIds;
16
- private validateId;
17
- }
@@ -1,21 +0,0 @@
1
- import { LayoutMetadata, LayoutMetadataDto } from "@vuu-ui/vuu-shell";
2
- import { LayoutPersistenceManager } from "./LayoutPersistenceManager";
3
- import { ApplicationJSON, LayoutJSON } from "../layout-reducer";
4
- export type CreateLayoutResponseDto = {
5
- metadata: LayoutMetadata;
6
- };
7
- export type GetLayoutResponseDto = {
8
- definition: LayoutJSON;
9
- };
10
- export type GetApplicationResponseDto = {
11
- definition: ApplicationJSON;
12
- };
13
- export declare class RemoteLayoutPersistenceManager implements LayoutPersistenceManager {
14
- createLayout(metadata: LayoutMetadataDto, layout: LayoutJSON): Promise<LayoutMetadata>;
15
- updateLayout(id: string, metadata: LayoutMetadataDto, newLayoutJson: LayoutJSON): Promise<void>;
16
- deleteLayout(id: string): Promise<void>;
17
- loadLayout(id: string): Promise<LayoutJSON>;
18
- loadMetadata(): Promise<LayoutMetadata[]>;
19
- saveApplicationJSON(applicationJSON: ApplicationJSON): Promise<void>;
20
- loadApplicationJSON(): Promise<ApplicationJSON>;
21
- }
@@ -1,4 +0,0 @@
1
- import { ApplicationJSON, LayoutJSON } from "../layout-reducer";
2
- export declare const warningLayout: LayoutJSON;
3
- export declare const loadingApplicationJson: Readonly<ApplicationJSON>;
4
- export declare const defaultApplicationJson: ApplicationJSON;
@@ -1,5 +0,0 @@
1
- export * from "./defaultApplicationJson";
2
- export * from "./LayoutPersistenceManager";
3
- export * from "./LocalLayoutPersistenceManager";
4
- export * from "./RemoteLayoutPersistenceManager";
5
- export * from "./useLayoutContextMenuItems";
@@ -1,6 +0,0 @@
1
- import { MenuActionHandler, MenuBuilder } from "@vuu-ui/vuu-data-types";
2
- import { SetDialog } from "@vuu-ui/vuu-popups";
3
- export declare const useLayoutContextMenuItems: (setDialogState: SetDialog) => {
4
- buildMenuOptions: MenuBuilder<string, unknown>;
5
- handleMenuAction: MenuActionHandler;
6
- };