@interopio/home-ui-react 1.2.8 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/executors/types.d.ts +1 -1
- package/hooks/index.d.ts +2 -0
- package/hooks/useBeforeunload.d.ts +1 -0
- package/hooks/useExecuteLayoutAction.d.ts +1 -1
- package/hooks/useExecuteLayoutOperationIfNotBlocked.d.ts +1 -0
- package/hooks/useRestoreWorkspace.d.ts +5 -1
- package/hooks/useStartApplication.d.ts +4 -1
- package/index.css +1 -1
- package/index.js +11 -11
- package/index.js.map +1 -1
- package/index.mjs +2084 -1957
- package/index.mjs.map +1 -1
- package/lib/icon-components/index.d.ts +1 -0
- package/lib/icon-components/start-failed-icon.d.ts +2 -0
- package/lib/info-card/info-card.d.ts +2 -1
- package/lib/io-connect-browser-start-failed/io-connect-browser-start-failed.d.ts +3 -0
- package/lib/io-connect-home-provider/constants.d.ts +1 -0
- package/lib/launchpad/helpers.d.ts +3 -0
- package/lib/launchpad/launchpad.context.d.ts +2 -0
- package/lib/permissions-setup/constants.d.ts +3 -2
- package/lib/permissions-setup/permissions-list.d.ts +1 -1
- package/package.json +1 -1
package/executors/types.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export type LayoutActionExecutor = (config: {
|
|
|
7
7
|
io: IOConnectBrowser.API | IOConnectDesktop.API;
|
|
8
8
|
layout: Layout;
|
|
9
9
|
setDefaultLayout: (layout: LayoutSummary) => Promise<void>;
|
|
10
|
-
}) => void
|
|
10
|
+
}) => void | Promise<void>;
|
|
11
11
|
export type ApplicationActionExecutor = (config: {
|
|
12
12
|
io: IOConnectBrowser.API | IOConnectDesktop.API;
|
|
13
13
|
item: SectionItemType;
|
package/hooks/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from './useApplications';
|
|
2
2
|
export * from './useApplicationsInstances';
|
|
3
|
+
export * from './useBeforeunload';
|
|
3
4
|
export * from './useFavoriteEntities';
|
|
4
5
|
export * from './useFrame';
|
|
5
6
|
export * from './useInvokeInteropMethod';
|
|
@@ -17,4 +18,5 @@ export * from './useWorkspacesInstances';
|
|
|
17
18
|
export * from './useExecuteApplicationAction';
|
|
18
19
|
export * from './useExecuteWorkspaceAction';
|
|
19
20
|
export * from './useExecuteLayoutAction';
|
|
21
|
+
export * from './useExecuteLayoutOperationIfNotBlocked';
|
|
20
22
|
export * from './useUA';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useBeforeunload: () => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Layout, LayoutSummary } from '../lib/layouts-panel/types';
|
|
2
|
-
export declare const useExecuteLayoutAction: () => (layout: Layout, actionName: string, setDefaultLayout: (layout: LayoutSummary) => Promise<void>) => void
|
|
2
|
+
export declare const useExecuteLayoutAction: () => (layout: Layout, actionName: string, setDefaultLayout: (layout: LayoutSummary) => Promise<void>) => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useExecuteLayoutOperationIfNotBlocked: () => (callback: () => Promise<unknown>) => Promise<void>;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { IOConnectWorkspaces } from '@interopio/workspaces-api';
|
|
2
|
-
export declare const useRestoreWorkspace: () => (id
|
|
2
|
+
export declare const useRestoreWorkspace: () => ({ id, modifier, reuseWorkspaceId }: {
|
|
3
|
+
id: string;
|
|
4
|
+
modifier?: string | null | undefined;
|
|
5
|
+
reuseWorkspaceId?: string | undefined;
|
|
6
|
+
}) => Promise<IOConnectWorkspaces.Workspace | undefined>;
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
export declare const useStartApplication: () => (id
|
|
1
|
+
export declare const useStartApplication: () => ({ id, modifier }: {
|
|
2
|
+
id: string;
|
|
3
|
+
modifier: string | null;
|
|
4
|
+
}) => Promise<import("@interopio/browser").IOConnectBrowser.AppManager.Instance | import("@interopio/workspaces-api").IOConnectWorkspaces.WorkspaceWindow>;
|