@interopio/home-ui-react 1.3.1 → 1.4.1
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/constants/storageKeys.d.ts +2 -0
- package/decoders/platform.d.ts +5 -0
- package/executors/setupStepsActions.d.ts +3 -0
- package/executors/types.d.ts +6 -0
- package/hooks/index.d.ts +2 -0
- package/hooks/useBeforeunload.d.ts +1 -1
- package/hooks/useIsHomeLoaded.d.ts +1 -0
- package/hooks/usePlatformWindow.d.ts +5 -0
- package/index.css +1 -1
- package/index.d.ts +1 -1
- package/index.js +19 -11
- package/index.js.map +1 -1
- package/index.mjs +6498 -6385
- package/index.mjs.map +1 -1
- package/lib/home-app-workspace/home-app-workspace.d.ts +5 -1
- package/lib/home-app-workspace/no-logo.d.ts +2 -0
- package/lib/home-app-workspace/types.d.ts +3 -0
- package/lib/icon-components/index.d.ts +1 -2
- package/lib/icon-components/platform-setup/index.d.ts +4 -0
- package/lib/icon-components/platform-setup/popups-icon.d.ts +2 -0
- package/lib/icon-components/platform-setup/pwa-install-icon.d.ts +2 -0
- package/lib/icon-components/platform-setup/window-management-icon.d.ts +2 -0
- package/lib/io-connect-home/no-login-home.d.ts +8 -2
- package/lib/io-connect-home/types.d.ts +17 -2
- package/lib/io-connect-home-provider/io-connect-home-provider.d.ts +6 -4
- package/lib/io-connect-home-provider/types.d.ts +5 -2
- package/lib/login/auth0/auth0-login-page.d.ts +7 -3
- package/lib/login/constants.d.ts +1 -1
- package/lib/login/index.d.ts +0 -1
- package/lib/login/simple/simple-login-page.d.ts +7 -3
- package/lib/platform-setup/constants.d.ts +12 -0
- package/lib/platform-setup/platform-setup.d.ts +16 -0
- package/lib/platform-setup/reducers.d.ts +7 -0
- package/lib/platform-setup/setup-steps-list.d.ts +8 -0
- package/lib/platform-setup/setup-steps.d.ts +7 -0
- package/lib/platform-setup/types.d.ts +33 -0
- package/lib/spinner/index.d.ts +1 -0
- package/lib/spinner/spinner.d.ts +2 -0
- package/lib/system-loader/system-loader.d.ts +7 -0
- package/package.json +1 -1
- package/lib/icon-components/window-placement-icon.d.ts +0 -2
- package/lib/loader/index.d.ts +0 -1
- package/lib/loader/loader.d.ts +0 -2
- package/lib/login/logout-page.d.ts +0 -7
- package/lib/login/verifying-credentials.d.ts +0 -1
- package/lib/permissions-setup/constants.d.ts +0 -7
- package/lib/permissions-setup/permissions-list.d.ts +0 -7
- package/lib/permissions-setup/permissions-setup-flow.d.ts +0 -7
- package/lib/permissions-setup/permissions-setup.d.ts +0 -13
- package/lib/permissions-setup/permissions-steps.d.ts +0 -7
- package/lib/permissions-setup/something-went-wrong.d.ts +0 -5
- package/lib/permissions-setup/types.d.ts +0 -12
- package/lib/permissions-setup/unsuccessful-setup.d.ts +0 -6
- /package/lib/icon-components/{browser-notifications-icon.d.ts → platform-setup/browser-notifications-icon.d.ts} +0 -0
- /package/lib/{permissions-setup → platform-setup}/use-edge-notifications-permission.d.ts +0 -0
|
@@ -2,3 +2,5 @@ export declare const SELECTED_LAYOUT_SESSION_STORAGE_KEY = "interopio_home_ui_se
|
|
|
2
2
|
export declare const AUTH0_VALIDATION_ERROR_SESSION_STORAGE_KEY = "interopio_home_ui_auth0_validation_error";
|
|
3
3
|
export declare const FAVORITE_ENTITIES_LOCAL_STORAGE_KEY = "interopio_home_ui_favorite_entities";
|
|
4
4
|
export declare const USER_LOCAL_STORAGE_KEY = "interopio_home_ui_user";
|
|
5
|
+
export declare const PLATFORM_WINDOW_SESSION_STORAGE_KEY = "interopio_home_ui_platform_window";
|
|
6
|
+
export declare const PLATFORM_SETUP_LOCAL_STORAGE_KEY = "interopio_home_ui_platform_setup";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Decoder } from 'decoder-validate';
|
|
2
|
+
import { PlatformWindow } from '../lib/home-app-workspace/types';
|
|
3
|
+
import { PlatformSetupStatus } from '../lib/platform-setup/types';
|
|
4
|
+
export declare const platformWindowStorageValueDecoder: Decoder<PlatformWindow | null>;
|
|
5
|
+
export declare const platformSetupStorageValueDecoder: Decoder<PlatformSetupStatus | null>;
|
package/executors/types.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { IOConnectDesktop } from '@interopio/desktop';
|
|
|
3
3
|
import { IOConnectWorkspaces } from '@interopio/workspaces-api';
|
|
4
4
|
import { Layout, LayoutSummary } from '../lib/layouts-panel/types';
|
|
5
5
|
import { SectionItemType } from '../lib/section/types';
|
|
6
|
+
import { SetupStepReducerAction } from '../lib/platform-setup/types';
|
|
6
7
|
export type LayoutActionExecutor = (config: {
|
|
7
8
|
io: IOConnectBrowser.API | IOConnectDesktop.API;
|
|
8
9
|
layout: Layout;
|
|
@@ -18,3 +19,8 @@ export type WorkspaceActionExecutor = (config: {
|
|
|
18
19
|
item: SectionItemType;
|
|
19
20
|
removeFavorite: (id: string) => void;
|
|
20
21
|
}) => void;
|
|
22
|
+
export type SetupStepActionExecutor = (config: {
|
|
23
|
+
handleDeferredStep: () => void;
|
|
24
|
+
handleOperationComplete: () => void;
|
|
25
|
+
dispatchAction: (action: SetupStepReducerAction) => void;
|
|
26
|
+
}) => void;
|
package/hooks/index.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export * from './useBeforeunload';
|
|
|
4
4
|
export * from './useFavoriteEntities';
|
|
5
5
|
export * from './useFrame';
|
|
6
6
|
export * from './useInvokeInteropMethod';
|
|
7
|
+
export * from './useIsHomeLoaded';
|
|
8
|
+
export * from './usePlatformWindow';
|
|
7
9
|
export * from './useLayouts';
|
|
8
10
|
export * from './useNotifications';
|
|
9
11
|
export * from './useNotificationsSort';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const useBeforeunload: () => void;
|
|
1
|
+
export declare const useBeforeunload: (isDisabled: boolean) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useIsHomeLoaded: () => boolean;
|