@vuu-ui/vuu-utils 0.8.77 → 0.8.79
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/cjs/ShellContext.js.map +1 -1
- package/cjs/feature-utils.js +1 -1
- package/cjs/feature-utils.js.map +1 -1
- package/esm/ShellContext.js.map +1 -1
- package/esm/feature-utils.js +1 -1
- package/esm/feature-utils.js.map +1 -1
- package/package.json +6 -6
- package/types/{vuu-utils/src/ShellContext.d.ts → ShellContext.d.ts} +2 -2
- package/types/{vuu-utils/src/feature-utils.d.ts → feature-utils.d.ts} +18 -1
- package/types/vuu-shell/src/ShellContextProvider.d.ts +0 -10
- package/types/vuu-shell/src/app-header/AppHeader.d.ts +0 -6
- package/types/vuu-shell/src/app-header/index.d.ts +0 -1
- package/types/vuu-shell/src/application-provider/ApplicationContext.d.ts +0 -12
- package/types/vuu-shell/src/application-provider/ApplicationProvider.d.ts +0 -19
- package/types/vuu-shell/src/application-provider/index.d.ts +0 -1
- package/types/vuu-shell/src/connection-status/ConnectionStatusIndicator.d.ts +0 -10
- package/types/vuu-shell/src/connection-status/index.d.ts +0 -1
- package/types/vuu-shell/src/datasource-provider/DataSourceProvider.d.ts +0 -21
- package/types/vuu-shell/src/datasource-provider/index.d.ts +0 -1
- package/types/vuu-shell/src/feature/Feature.d.ts +0 -26
- package/types/vuu-shell/src/feature/FeatureErrorBoundary.d.ts +0 -13
- package/types/vuu-shell/src/feature/Loader.d.ts +0 -2
- package/types/vuu-shell/src/feature/index.d.ts +0 -1
- package/types/vuu-shell/src/feature-list/FeatureList.d.ts +0 -7
- package/types/vuu-shell/src/feature-list/index.d.ts +0 -1
- package/types/vuu-shell/src/feature-provider/FeatureProvider.d.ts +0 -14
- package/types/vuu-shell/src/feature-provider/index.d.ts +0 -2
- package/types/vuu-shell/src/feature-provider/useVuuFeatures.d.ts +0 -9
- package/types/vuu-shell/src/index.d.ts +0 -16
- package/types/vuu-shell/src/left-nav/LeftNav.d.ts +0 -18
- package/types/vuu-shell/src/left-nav/index.d.ts +0 -1
- package/types/vuu-shell/src/login/LoginPanel.d.ts +0 -7
- package/types/vuu-shell/src/login/VuuLogo.d.ts +0 -2
- package/types/vuu-shell/src/login/index.d.ts +0 -2
- package/types/vuu-shell/src/login/login-utils.d.ts +0 -4
- package/types/vuu-shell/src/persistence-manager/LocalPersistenceManager.d.ts +0 -21
- package/types/vuu-shell/src/persistence-manager/PersistenceManager.d.ts +0 -66
- package/types/vuu-shell/src/persistence-manager/PersistenceProvider.d.ts +0 -11
- package/types/vuu-shell/src/persistence-manager/RemotePersistenceManager.d.ts +0 -23
- package/types/vuu-shell/src/persistence-manager/StaticPersistenceManager.d.ts +0 -21
- package/types/vuu-shell/src/persistence-manager/index.d.ts +0 -5
- package/types/vuu-shell/src/shell-layout-templates/context-panel/ContextPanel.d.ts +0 -11
- package/types/vuu-shell/src/shell-layout-templates/context-panel/index.d.ts +0 -1
- package/types/vuu-shell/src/shell-layout-templates/full-height-left-panel/useFullHeightLeftPanel.d.ts +0 -2
- package/types/vuu-shell/src/shell-layout-templates/index.d.ts +0 -3
- package/types/vuu-shell/src/shell-layout-templates/inlay-left-panel/useInlayLeftPanel.d.ts +0 -2
- package/types/vuu-shell/src/shell-layout-templates/side-panel/SidePanel.d.ts +0 -8
- package/types/vuu-shell/src/shell-layout-templates/side-panel/index.d.ts +0 -1
- package/types/vuu-shell/src/shell-layout-templates/simple-content-pane/useSimpleContentPane.d.ts +0 -2
- package/types/vuu-shell/src/shell-layout-templates/useShellLayout.d.ts +0 -41
- package/types/vuu-shell/src/shell.d.ts +0 -15
- package/types/vuu-shell/src/theme-switch/ThemeSwitch.d.ts +0 -8
- package/types/vuu-shell/src/theme-switch/index.d.ts +0 -1
- package/types/vuu-shell/src/user-settings/SettingsForm.d.ts +0 -47
- package/types/vuu-shell/src/user-settings/UserSettingsPanel.d.ts +0 -3
- package/types/vuu-shell/src/user-settings/index.d.ts +0 -2
- package/types/vuu-shell/src/workspace-management/LayoutList.d.ts +0 -2
- package/types/vuu-shell/src/workspace-management/LayoutTile.d.ts +0 -7
- package/types/vuu-shell/src/workspace-management/SaveLayoutPanel.d.ts +0 -10
- package/types/vuu-shell/src/workspace-management/WorkspaceProvider.d.ts +0 -53
- package/types/vuu-shell/src/workspace-management/defaultWorkspaceJSON.d.ts +0 -9
- package/types/vuu-shell/src/workspace-management/index.d.ts +0 -5
- package/types/vuu-shell/src/workspace-management/screenshot-utils.d.ts +0 -6
- package/types/vuu-shell/src/workspace-management/useWorkspaceContextMenuItems.d.ts +0 -5
- /package/types/{vuu-utils/src/DataWindow.d.ts → DataWindow.d.ts} +0 -0
- /package/types/{vuu-utils/src/ThemeProvider.d.ts → ThemeProvider.d.ts} +0 -0
- /package/types/{vuu-utils/src/array-utils.d.ts → array-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/box-utils.d.ts → box-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/broadcast-channel.d.ts → broadcast-channel.d.ts} +0 -0
- /package/types/{vuu-utils/src/column-utils.d.ts → column-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/common-types.d.ts → common-types.d.ts} +0 -0
- /package/types/{vuu-utils/src/component-registry.d.ts → component-registry.d.ts} +0 -0
- /package/types/{vuu-utils/src/context-definitions → context-definitions}/WorkspaceContext.d.ts +0 -0
- /package/types/{vuu-utils/src/cookie-utils.d.ts → cookie-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/css-utils.d.ts → css-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/data-utils.d.ts → data-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/datasource-action-utils.d.ts → datasource-action-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/datasource-utils.d.ts → datasource-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/date → date}/date-utils.d.ts +0 -0
- /package/types/{vuu-utils/src/date → date}/dateTimePattern.d.ts +0 -0
- /package/types/{vuu-utils/src/date → date}/formatter.d.ts +0 -0
- /package/types/{vuu-utils/src/date → date}/index.d.ts +0 -0
- /package/types/{vuu-utils/src/date → date}/types.d.ts +0 -0
- /package/types/{vuu-utils/src/debug-utils.d.ts → debug-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/event-emitter.d.ts → event-emitter.d.ts} +0 -0
- /package/types/{vuu-utils/src/filters → filters}/filterAsQuery.d.ts +0 -0
- /package/types/{vuu-utils/src/filters → filters}/index.d.ts +0 -0
- /package/types/{vuu-utils/src/filters → filters}/utils.d.ts +0 -0
- /package/types/{vuu-utils/src/form-utils.d.ts → form-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/formatting-utils.d.ts → formatting-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/getUniqueId.d.ts → getUniqueId.d.ts} +0 -0
- /package/types/{vuu-utils/src/group-utils.d.ts → group-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/html-utils.d.ts → html-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/index.d.ts → index.d.ts} +0 -0
- /package/types/{vuu-utils/src/input-utils.d.ts → input-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/invariant.d.ts → invariant.d.ts} +0 -0
- /package/types/{vuu-utils/src/itemToString.d.ts → itemToString.d.ts} +0 -0
- /package/types/{vuu-utils/src/json-types.d.ts → json-types.d.ts} +0 -0
- /package/types/{vuu-utils/src/json-utils.d.ts → json-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/keyboard-utils.d.ts → keyboard-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/keyset.d.ts → keyset.d.ts} +0 -0
- /package/types/{vuu-utils/src/layout-types.d.ts → layout-types.d.ts} +0 -0
- /package/types/{vuu-utils/src/list-utils.d.ts → list-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/local-storage-utils.d.ts → local-storage-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/logging-utils.d.ts → logging-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/menu-utils.d.ts → menu-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/module-utils.d.ts → module-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/nanoid → nanoid}/index.d.ts +0 -0
- /package/types/{vuu-utils/src/perf-utils.d.ts → perf-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/protocol-message-utils.d.ts → protocol-message-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/range-utils.d.ts → range-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/react-utils.d.ts → react-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/round-decimal.d.ts → round-decimal.d.ts} +0 -0
- /package/types/{vuu-utils/src/row-utils.d.ts → row-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/selection-utils.d.ts → selection-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/shell-layout-types.d.ts → shell-layout-types.d.ts} +0 -0
- /package/types/{vuu-utils/src/sort-utils.d.ts → sort-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/table-schema-utils.d.ts → table-schema-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/text-utils.d.ts → text-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/ts-utils.d.ts → ts-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/url-utils.d.ts → url-utils.d.ts} +0 -0
- /package/types/{vuu-utils/src/useId.d.ts → useId.d.ts} +0 -0
- /package/types/{vuu-utils/src/useLayoutEffectSkipFirst.d.ts → useLayoutEffectSkipFirst.d.ts} +0 -0
- /package/types/{vuu-utils/src/user-types.d.ts → user-types.d.ts} +0 -0
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { LayoutJSON } from "@vuu-ui/vuu-utils";
|
|
3
|
-
export interface ContextPanelProps {
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
className?: string;
|
|
6
|
-
content?: LayoutJSON;
|
|
7
|
-
expanded?: boolean;
|
|
8
|
-
id?: string;
|
|
9
|
-
overlay?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare const ContextPanel: ({ className: classNameProp, expanded, content: contentProp, id, overlay, title, }: ContextPanelProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ContextPanel";
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "react";
|
|
2
|
-
export interface SidePanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
open?: boolean;
|
|
4
|
-
path?: string;
|
|
5
|
-
sizeOpen?: number;
|
|
6
|
-
sizeClosed?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const SidePanel: ({ children, open, sizeClosed, sizeOpen, style: styleProp, ...htmlAttributes }: SidePanelProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./SidePanel";
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes, ReactElement, ReactNode } from "react";
|
|
2
|
-
import { SidePanelProps } from "./side-panel";
|
|
3
|
-
declare const LayoutHook: {
|
|
4
|
-
"full-height": ShellLayoutTemplateHook;
|
|
5
|
-
inlay: ShellLayoutTemplateHook;
|
|
6
|
-
"simple-content-pane": ShellLayoutTemplateHook;
|
|
7
|
-
};
|
|
8
|
-
export type LayoutTemplateId = keyof typeof LayoutHook;
|
|
9
|
-
export type ShellLayoutTemplateProps = Omit<ShellLayoutProps, "layoutTemplateId">;
|
|
10
|
-
export type ShellLayoutTemplateHook = (props: ShellLayoutTemplateProps) => ReactElement;
|
|
11
|
-
/**
|
|
12
|
-
* The Shell Layout is the outermost 'chrome' of the appliciation,
|
|
13
|
-
* enclosing the main content area. It will be rendered by one of
|
|
14
|
-
* two available templates, determined by the layoutTemplateId,
|
|
15
|
-
*/
|
|
16
|
-
export interface ShellLayoutProps {
|
|
17
|
-
/**
|
|
18
|
-
* App Header will be rendered in position determined by layout-template
|
|
19
|
-
*/
|
|
20
|
-
appHeader?: ReactNode;
|
|
21
|
-
/**
|
|
22
|
-
* HTML attributes that will be applied to root div.
|
|
23
|
-
*/
|
|
24
|
-
htmlAttributes?: HTMLAttributes<HTMLDivElement>;
|
|
25
|
-
/**
|
|
26
|
-
* identifier for shell layout template to be used. Default template
|
|
27
|
-
* will be "inlay"
|
|
28
|
-
*/
|
|
29
|
-
layoutTemplateId?: LayoutTemplateId;
|
|
30
|
-
/**
|
|
31
|
-
* If template renders SidePanel, these props will be provided
|
|
32
|
-
*/
|
|
33
|
-
LeftSidePanelProps?: SidePanelProps;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* This hook acts as a stub for the actual shell layout
|
|
37
|
-
* template hooks. It will delegate to the appropriate shell
|
|
38
|
-
* layout hook, based on the value of layoutTemplateId.
|
|
39
|
-
*/
|
|
40
|
-
export declare const useShellLayout: ({ layoutTemplateId, ...props }: ShellLayoutProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
41
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { VuuUser } from "@vuu-ui/vuu-utils";
|
|
2
|
-
import { HTMLAttributes, ReactNode } from "react";
|
|
3
|
-
import { ShellLayoutProps } from "./shell-layout-templates";
|
|
4
|
-
import { WorkspaceProps } from "./workspace-management";
|
|
5
|
-
export type LayoutTemplateName = "full-height" | "inlay";
|
|
6
|
-
export interface ShellProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
|
-
shellLayoutProps?: ShellLayoutProps;
|
|
8
|
-
workspaceProps?: WorkspaceProps;
|
|
9
|
-
children?: ReactNode;
|
|
10
|
-
loginUrl?: string;
|
|
11
|
-
saveUrl?: string;
|
|
12
|
-
serverUrl?: string;
|
|
13
|
-
user: VuuUser;
|
|
14
|
-
}
|
|
15
|
-
export declare const Shell: ({ loginUrl, user, workspaceProps, ...props }: ShellProps) => JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from "react";
|
|
2
|
-
import { ThemeMode } from "@vuu-ui/vuu-utils";
|
|
3
|
-
export interface ThemeSwitchProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
4
|
-
defaultMode?: ThemeMode;
|
|
5
|
-
mode?: ThemeMode;
|
|
6
|
-
onChange: (mode: ThemeMode) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const ThemeSwitch: ({ className: classNameProp, defaultMode: defaultModeProp, mode: modeProp, onChange, ...htmlAttributes }: ThemeSwitchProps) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./ThemeSwitch";
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { VuuRowDataItemType } from "@vuu-ui/vuu-protocol-types";
|
|
2
|
-
import { Settings } from "@vuu-ui/vuu-utils";
|
|
3
|
-
import { DropdownProps, Option } from "@salt-ds/core";
|
|
4
|
-
import { FormEventHandler, HTMLAttributes } from "react";
|
|
5
|
-
export interface SettingsSchema {
|
|
6
|
-
properties: SettingsProperty[];
|
|
7
|
-
}
|
|
8
|
-
export interface SettingsProps {
|
|
9
|
-
settingsSchema: SettingsSchema;
|
|
10
|
-
settings: Settings;
|
|
11
|
-
onSettingChanged: (propertyName: string, value: string | number | boolean) => void;
|
|
12
|
-
}
|
|
13
|
-
export type Option<T> = {
|
|
14
|
-
label: string;
|
|
15
|
-
value: T;
|
|
16
|
-
};
|
|
17
|
-
export declare const isOption: (value: Option<number | string> | number | string) => value is Option<string | number>;
|
|
18
|
-
export interface BaseProperty {
|
|
19
|
-
name: string;
|
|
20
|
-
label: string;
|
|
21
|
-
}
|
|
22
|
-
export interface StringProperty extends BaseProperty {
|
|
23
|
-
values?: string[] | Option<string>[];
|
|
24
|
-
defaultValue?: string;
|
|
25
|
-
type: "string";
|
|
26
|
-
}
|
|
27
|
-
export interface NumericProperty extends BaseProperty {
|
|
28
|
-
values?: number[] | Option<number>[];
|
|
29
|
-
defaultValue?: number;
|
|
30
|
-
type: "number";
|
|
31
|
-
}
|
|
32
|
-
export interface BooleanProperty extends BaseProperty {
|
|
33
|
-
defaultValue?: boolean;
|
|
34
|
-
type: "boolean";
|
|
35
|
-
}
|
|
36
|
-
export type SettingsProperty = StringProperty | NumericProperty | BooleanProperty;
|
|
37
|
-
export declare const isBooleanProperty: (property: SettingsProperty) => property is BooleanProperty;
|
|
38
|
-
export declare const isStringOrNumber: (value: unknown) => value is string | number;
|
|
39
|
-
export declare function FormControl({ property, changeHandler, selectHandler, inputHandler, currentValue, }: {
|
|
40
|
-
property: SettingsProperty;
|
|
41
|
-
changeHandler: FormEventHandler;
|
|
42
|
-
selectHandler: DropdownProps["onSelectionChange"];
|
|
43
|
-
inputHandler: FormEventHandler;
|
|
44
|
-
currentValue: VuuRowDataItemType;
|
|
45
|
-
}): JSX.Element | null;
|
|
46
|
-
export type SettingsFormProps = SettingsProps & HTMLAttributes<HTMLDivElement>;
|
|
47
|
-
export declare const SettingsForm: ({ settingsSchema, settings, onSettingChanged, ...htmlAttributes }: SettingsFormProps) => JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { LayoutMetadata } from "@vuu-ui/vuu-utils";
|
|
2
|
-
import { HTMLAttributes } from "react";
|
|
3
|
-
export interface LayoutTileProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
|
-
metadata: LayoutMetadata;
|
|
5
|
-
onLoadLayout: (layoutId?: string) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const LayoutTile: ({ metadata, onLoadLayout, ...htmlAttributes }: LayoutTileProps) => JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { LayoutMetadataDto } from "@vuu-ui/vuu-utils";
|
|
3
|
-
type SaveLayoutPanelProps = {
|
|
4
|
-
componentId?: string;
|
|
5
|
-
defaultTitle?: string;
|
|
6
|
-
onCancel: () => void;
|
|
7
|
-
onSave: (layoutMetadata: LayoutMetadataDto) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare const SaveLayoutPanel: (props: SaveLayoutPanelProps) => JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { LayoutMetadata, LayoutMetadataDto, type ApplicationSetting, type ApplicationSettings, type LayoutJSON } from "@vuu-ui/vuu-utils";
|
|
3
|
-
import { type WorkspaceStackProps } from "./defaultWorkspaceJSON";
|
|
4
|
-
export type WorkspaceProps = WorkspaceStackProps & {
|
|
5
|
-
layoutPlaceholderJSON?: LayoutJSON;
|
|
6
|
-
/**
|
|
7
|
-
* layoutJSON defines the default layout to render on first load and until such time as
|
|
8
|
-
* layout state has been persisted. After that, the persisted state will be rendered.
|
|
9
|
-
*/
|
|
10
|
-
layoutJSON?: LayoutJSON;
|
|
11
|
-
/**
|
|
12
|
-
* The Vuu workspace is the container into which layouts are loaded. By default, it will be
|
|
13
|
-
* a Tabbed Panel (Stack + Tabstrip), showing a tab per Layout.
|
|
14
|
-
*/
|
|
15
|
-
workspaceJSON?: LayoutJSON;
|
|
16
|
-
};
|
|
17
|
-
export interface WorkspaceProviderProps extends WorkspaceProps {
|
|
18
|
-
children: JSX.Element | JSX.Element[];
|
|
19
|
-
/**
|
|
20
|
-
* layoutPlaceholderJSON defines the layout to render when a new workspace layout is created.
|
|
21
|
-
*/
|
|
22
|
-
layoutPlaceholderJSON?: LayoutJSON;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* LayoutManagementProvider supplies an API for loading and saving layout documents.
|
|
26
|
-
* Initial layout is automatically loaded on startup. Because this hook is responsible
|
|
27
|
-
* only for loading and saving layouts, it only triggers a render when content is loaded.
|
|
28
|
-
*
|
|
29
|
-
* Initial layout displays a loading state
|
|
30
|
-
* User may supply a default layout. This will not be displayed until call has been made to
|
|
31
|
-
* persistenceManager to retrieve stored layout state. If no stored state is returned, the
|
|
32
|
-
* default layout provided by user will be set as current state (and hence rendered). If no
|
|
33
|
-
* default layout has been provided by user, the sysem default will be used (simple PlaceHolder)
|
|
34
|
-
* If saved layout state has been returned, that will be set as current state (and rendered)
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
export declare const WorkspaceProvider: ({ TabstripProps, children, layoutJSON, layoutPlaceholderJSON, showTabs, workspaceJSON: customWorkspaceJSON, }: WorkspaceProviderProps) => JSX.Element;
|
|
38
|
-
export declare const useWorkspace: () => {
|
|
39
|
-
workspaceJSON: LayoutJSON<{
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
}>;
|
|
42
|
-
layoutMetadata: LayoutMetadata[];
|
|
43
|
-
layoutPlaceholderJSON?: LayoutJSON<{
|
|
44
|
-
[key: string]: any;
|
|
45
|
-
}> | undefined;
|
|
46
|
-
getApplicationSettings: (key?: keyof ApplicationSettings | undefined) => ApplicationSettings | ApplicationSetting;
|
|
47
|
-
loadLayoutById: (id: string) => void;
|
|
48
|
-
saveApplicationSettings: (settings: ApplicationSettings | ApplicationSetting, key?: keyof ApplicationSettings | undefined) => void;
|
|
49
|
-
saveLayout: (n: LayoutMetadataDto) => void;
|
|
50
|
-
saveApplicationLayout: (layout: LayoutJSON<{
|
|
51
|
-
[key: string]: any;
|
|
52
|
-
}>) => void;
|
|
53
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { StackProps } from "@vuu-ui/vuu-layout";
|
|
2
|
-
import { LayoutJSON } from "@vuu-ui/vuu-utils";
|
|
3
|
-
export type WorkspaceStackProps = Pick<StackProps, "showTabs" | "TabstripProps">;
|
|
4
|
-
export declare const warningLayout: LayoutJSON;
|
|
5
|
-
export declare const loadingJSON: Readonly<LayoutJSON>;
|
|
6
|
-
export declare const stackWorkspaceJSON: LayoutJSON<StackProps & {
|
|
7
|
-
preserve: boolean;
|
|
8
|
-
}>;
|
|
9
|
-
export declare const getWorkspaceWithLayoutJSON: (customWorkspaceJSON?: LayoutJSON, layoutJSON?: LayoutJSON | LayoutJSON[], stackProps?: WorkspaceStackProps) => LayoutJSON;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/types/{vuu-utils/src/context-definitions → context-definitions}/WorkspaceContext.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/types/{vuu-utils/src/useLayoutEffectSkipFirst.d.ts → useLayoutEffectSkipFirst.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|