@interopio/home-ui-react 2.2.7 → 4.2.8-next.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/README.md +81 -57
- package/dist/index.css +2 -2
- package/dist/index.d.ts +419 -25
- package/dist/index.js +17 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12342 -10122
- package/dist/index.mjs.map +1 -1
- package/package.json +24 -17
- package/LICENSE +0 -21
- package/dist/common/sequelizer.d.ts +0 -7
- package/dist/common/types.d.ts +0 -25
- package/dist/common/utils.d.ts +0 -2
- package/dist/constants/alerts.d.ts +0 -8
- package/dist/constants/auth0LoginTypes.d.ts +0 -4
- package/dist/constants/defaults.d.ts +0 -1
- package/dist/constants/dialogs.d.ts +0 -5
- package/dist/constants/itemTypes.d.ts +0 -6
- package/dist/constants/modifierKeys.d.ts +0 -4
- package/dist/constants/platformPrefs.d.ts +0 -13
- package/dist/constants/regex.d.ts +0 -1
- package/dist/constants/sections.d.ts +0 -5
- package/dist/constants/sortOrder.d.ts +0 -5
- package/dist/constants/storageKeys.d.ts +0 -5
- package/dist/decoders/base.d.ts +0 -5
- package/dist/decoders/config.d.ts +0 -3
- package/dist/decoders/layouts.d.ts +0 -3
- package/dist/decoders/platform.d.ts +0 -5
- package/dist/decoders/user.d.ts +0 -3
- package/dist/decoders/validation.d.ts +0 -3
- package/dist/executors/applicationActions.d.ts +0 -4
- package/dist/executors/layoutActions.d.ts +0 -4
- package/dist/executors/setupStepsActions.d.ts +0 -3
- package/dist/executors/types.d.ts +0 -33
- package/dist/executors/workspaceActions.d.ts +0 -4
- package/dist/helpers/a11y.d.ts +0 -22
- package/dist/helpers/alerts.d.ts +0 -9
- package/dist/helpers/sort.d.ts +0 -11
- package/dist/hooks/index.d.ts +0 -29
- package/dist/hooks/useApplications.d.ts +0 -2
- package/dist/hooks/useApplicationsInstances.d.ts +0 -3
- package/dist/hooks/useBeforeunload.d.ts +0 -1
- package/dist/hooks/useExecuteApplicationAction.d.ts +0 -2
- package/dist/hooks/useExecuteLayoutAction.d.ts +0 -5
- package/dist/hooks/useExecuteLayoutOperationIfNotBlocked.d.ts +0 -1
- package/dist/hooks/useExecuteWorkspaceAction.d.ts +0 -2
- package/dist/hooks/useFavorites.d.ts +0 -8
- package/dist/hooks/useFrameId.d.ts +0 -1
- package/dist/hooks/useInvokeInteropMethod.d.ts +0 -2
- package/dist/hooks/useIsHomeLoaded.d.ts +0 -1
- package/dist/hooks/useIsLaunchpadCollapsed.d.ts +0 -9
- package/dist/hooks/useIsLaunchpadPinned.d.ts +0 -8
- package/dist/hooks/useIsRunningInDesktopContainer.d.ts +0 -1
- package/dist/hooks/useLayouts.d.ts +0 -5
- package/dist/hooks/useNotifications.d.ts +0 -2
- package/dist/hooks/useNotificationsConfiguration.d.ts +0 -3
- package/dist/hooks/useOnIframeFocus.d.ts +0 -6
- package/dist/hooks/useOnOutsideClick.d.ts +0 -9
- package/dist/hooks/usePlatformWindow.d.ts +0 -5
- package/dist/hooks/usePressedKeys.d.ts +0 -1
- package/dist/hooks/useRestoreLayout.d.ts +0 -2
- package/dist/hooks/useRestoreWorkspace.d.ts +0 -5
- package/dist/hooks/useSearch.d.ts +0 -5
- package/dist/hooks/useStartApplication.d.ts +0 -7
- package/dist/hooks/useStorage.d.ts +0 -4
- package/dist/hooks/useUA.d.ts +0 -2
- package/dist/hooks/useWorkspaces.d.ts +0 -2
- package/dist/hooks/useWorkspacesInstances.d.ts +0 -3
- package/dist/lib/applications-section/applications-section.d.ts +0 -3
- package/dist/lib/applications-section/helpers.d.ts +0 -5
- package/dist/lib/applications-section/types.d.ts +0 -9
- package/dist/lib/base-section/base-section-header.d.ts +0 -8
- package/dist/lib/base-section/base-section-item.d.ts +0 -14
- package/dist/lib/base-section/base-section.d.ts +0 -14
- package/dist/lib/base-section/helpers.d.ts +0 -2
- package/dist/lib/base-section/types.d.ts +0 -20
- package/dist/lib/base-section/useCollapsedSections.d.ts +0 -4
- package/dist/lib/context-menu/constants.d.ts +0 -11
- package/dist/lib/context-menu/context-menu.d.ts +0 -11
- package/dist/lib/context-menu/dropdown-button/dropdown-button.d.ts +0 -24
- package/dist/lib/context-menu/types.d.ts +0 -13
- package/dist/lib/default-header-system-buttons/constants.d.ts +0 -2
- package/dist/lib/default-header-system-buttons/default-header-system-buttons.d.ts +0 -2
- package/dist/lib/default-header-system-buttons/default-header-system-menu.d.ts +0 -2
- package/dist/lib/favorites-section/favorites-section.d.ts +0 -3
- package/dist/lib/favorites-section/helpers.d.ts +0 -3
- package/dist/lib/home-app-workspace/after-tabs.d.ts +0 -3
- package/dist/lib/home-app-workspace/constants.d.ts +0 -2
- package/dist/lib/home-app-workspace/group-header-buttons.d.ts +0 -3
- package/dist/lib/home-app-workspace/home-app-workspace.d.ts +0 -12
- package/dist/lib/home-app-workspace/index.d.ts +0 -1
- package/dist/lib/home-app-workspace/launchpad-access.d.ts +0 -6
- package/dist/lib/home-app-workspace/no-logo.d.ts +0 -2
- package/dist/lib/home-app-workspace/types.d.ts +0 -3
- package/dist/lib/home-app-workspace/useAddWindowButtonVisible.d.ts +0 -1
- package/dist/lib/home-app-workspace/workspace-components-context.d.ts +0 -11
- package/dist/lib/icon-components/index.d.ts +0 -4
- package/dist/lib/icon-components/platform-setup/browser-notifications-icon.d.ts +0 -2
- package/dist/lib/icon-components/platform-setup/index.d.ts +0 -4
- package/dist/lib/icon-components/platform-setup/popups-icon.d.ts +0 -2
- package/dist/lib/icon-components/platform-setup/pwa-install-icon.d.ts +0 -2
- package/dist/lib/icon-components/platform-setup/window-management-icon.d.ts +0 -2
- package/dist/lib/icon-components/reopen-prompt-icon.d.ts +0 -2
- package/dist/lib/icon-components/start-failed-icon.d.ts +0 -2
- package/dist/lib/icon-components/warning-icon.d.ts +0 -2
- package/dist/lib/info-card/info-card.d.ts +0 -10
- package/dist/lib/info-page-container/info-page-container.d.ts +0 -9
- package/dist/lib/io-connect-home/auth0-login-home.d.ts +0 -8
- package/dist/lib/io-connect-home/home-app.d.ts +0 -2
- package/dist/lib/io-connect-home/io-connect-home.d.ts +0 -2
- package/dist/lib/io-connect-home/no-login-home.d.ts +0 -8
- package/dist/lib/io-connect-home/simple-login-home.d.ts +0 -8
- package/dist/lib/io-connect-home/types.d.ts +0 -131
- package/dist/lib/io-connect-home/useUser.d.ts +0 -8
- package/dist/lib/io-connect-home-provider/constants.d.ts +0 -5
- package/dist/lib/io-connect-home-provider/helpers.d.ts +0 -2
- package/dist/lib/io-connect-home-provider/io-connect-home-provider.d.ts +0 -16
- package/dist/lib/io-connect-home-provider/types.d.ts +0 -8
- package/dist/lib/io-init-error-screen/io-init-error-screen.d.ts +0 -3
- package/dist/lib/launchpad/constants.d.ts +0 -2
- package/dist/lib/launchpad/helpers.d.ts +0 -4
- package/dist/lib/launchpad/launchpad-body.d.ts +0 -5
- package/dist/lib/launchpad/launchpad-config.context.d.ts +0 -10
- package/dist/lib/launchpad/launchpad-contents-container.d.ts +0 -10
- package/dist/lib/launchpad/launchpad-header.d.ts +0 -5
- package/dist/lib/launchpad/launchpad-pin-button.d.ts +0 -5
- package/dist/lib/launchpad/launchpad-search.context.d.ts +0 -11
- package/dist/lib/launchpad/launchpad.context.d.ts +0 -21
- package/dist/lib/launchpad/launchpad.d.ts +0 -10
- package/dist/lib/layouts-panel/active-layout.d.ts +0 -2
- package/dist/lib/layouts-panel/all-layouts.d.ts +0 -2
- package/dist/lib/layouts-panel/constants.d.ts +0 -8
- package/dist/lib/layouts-panel/create-layout-button.d.ts +0 -2
- package/dist/lib/layouts-panel/helpers.d.ts +0 -3
- package/dist/lib/layouts-panel/layouts-dropdown.d.ts +0 -6
- package/dist/lib/layouts-panel/layouts-list.d.ts +0 -7
- package/dist/lib/layouts-panel/layouts-panel.d.ts +0 -2
- package/dist/lib/layouts-panel/save-layout-button.d.ts +0 -5
- package/dist/lib/layouts-panel/types.d.ts +0 -8
- package/dist/lib/layouts-panel/useIsLayoutsPanelOpen.d.ts +0 -9
- package/dist/lib/login/auth0/auth0-login-page.d.ts +0 -13
- package/dist/lib/login/constants.d.ts +0 -1
- package/dist/lib/login/index.d.ts +0 -3
- package/dist/lib/login/login-heading.d.ts +0 -1
- package/dist/lib/login/login-logo.d.ts +0 -6
- package/dist/lib/login/login-page-container.d.ts +0 -7
- package/dist/lib/login/simple/reducers.d.ts +0 -2
- package/dist/lib/login/simple/simple-login-form.d.ts +0 -10
- package/dist/lib/login/simple/simple-login-page.d.ts +0 -11
- package/dist/lib/login/types.d.ts +0 -9
- package/dist/lib/notifications-panel-button/notifications-badge.d.ts +0 -2
- package/dist/lib/notifications-panel-button/notifications-panel-button.d.ts +0 -5
- package/dist/lib/notifications-panels/notification-settings-panel.d.ts +0 -9
- package/dist/lib/notifications-panels/notifications-panel-with-toggle-button.d.ts +0 -3
- package/dist/lib/notifications-panels/notifications-panel.d.ts +0 -10
- package/dist/lib/panels/launchpad/launchpad-button.d.ts +0 -6
- package/dist/lib/panels/launchpad/launchpad-panel.d.ts +0 -2
- package/dist/lib/panels/panel-with-toggle-button.d.ts +0 -11
- package/dist/lib/panels/panel-wrapper.d.ts +0 -10
- package/dist/lib/panels/types.d.ts +0 -9
- package/dist/lib/platform-setup/constants.d.ts +0 -12
- package/dist/lib/platform-setup/platform-setup.d.ts +0 -15
- package/dist/lib/platform-setup/reducers.d.ts +0 -7
- package/dist/lib/platform-setup/setup-steps-list.d.ts +0 -8
- package/dist/lib/platform-setup/setup-steps.d.ts +0 -7
- package/dist/lib/platform-setup/types.d.ts +0 -32
- package/dist/lib/platform-setup/use-edge-notifications-permission.d.ts +0 -6
- package/dist/lib/preferences-panel/preferences-panel.d.ts +0 -2
- package/dist/lib/profile-panel/profile-panel.d.ts +0 -9
- package/dist/lib/search/search-bar/search-bar.d.ts +0 -8
- package/dist/lib/search/search-results-section/search-results-section.d.ts +0 -5
- package/dist/lib/search/search-results-section/types.d.ts +0 -8
- package/dist/lib/search/search-results-section/useExecuteLayoutSearchResultAction.d.ts +0 -2
- package/dist/lib/search/search-results-section/useGenerateLayoutFromId.d.ts +0 -2
- package/dist/lib/search/search-results-section/useGetActionExecutor.d.ts +0 -1
- package/dist/lib/search/search-results-section/useSearchResultsSectionConfigs.d.ts +0 -3
- package/dist/lib/section/helpers.d.ts +0 -3
- package/dist/lib/section/section.context.d.ts +0 -11
- package/dist/lib/section/section.d.ts +0 -11
- package/dist/lib/section/types.d.ts +0 -8
- package/dist/lib/spinner/index.d.ts +0 -1
- package/dist/lib/spinner/spinner.d.ts +0 -2
- package/dist/lib/system-loader/system-loader.d.ts +0 -6
- package/dist/lib/system-menu/helpers.d.ts +0 -3
- package/dist/lib/system-menu/system-menu.d.ts +0 -6
- package/dist/lib/system-menu/types.d.ts +0 -8
- package/dist/lib/workspaces-section/constants.d.ts +0 -3
- package/dist/lib/workspaces-section/helpers.d.ts +0 -6
- package/dist/lib/workspaces-section/types.d.ts +0 -4
- package/dist/lib/workspaces-section/workspaces-section.d.ts +0 -3
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SetStateAction } from "react";
|
|
2
|
-
export declare const useIsLayoutsPanelOpen: () => {
|
|
3
|
-
error: {
|
|
4
|
-
message: string;
|
|
5
|
-
} | undefined;
|
|
6
|
-
isLayoutsPanelOpen: boolean | undefined;
|
|
7
|
-
setIsLayoutsPanelOpen: (value: SetStateAction<boolean | undefined>) => Promise<void>;
|
|
8
|
-
isLoading: boolean;
|
|
9
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Auth0ValidationError, LoginPageComponents } from "../../io-connect-home/types";
|
|
2
|
-
export interface Auth0LoginPageProps {
|
|
3
|
-
onLogin: () => void;
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
validationError: Auth0ValidationError | null;
|
|
6
|
-
components?: LoginPageComponents & {
|
|
7
|
-
Loader?: React.ComponentType<{
|
|
8
|
-
text?: string;
|
|
9
|
-
}>;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export declare const Auth0LoginPage: ({ onLogin, isLoading, validationError, components: { Logo, Heading, Loader }, }: Auth0LoginPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default Auth0LoginPage;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LOGO_WIDTH = "200px";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LoginHeading: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
interface LoginPageContainerProps {
|
|
2
|
-
Logo: React.ComponentType;
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const LoginPageContainer: ({ Logo, children, className }: LoginPageContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default LoginPageContainer;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface SimpleLoginFormProps {
|
|
3
|
-
onLogin: (user: string, password: string) => Promise<void>;
|
|
4
|
-
userInputName?: string;
|
|
5
|
-
setIsLoading: React.Dispatch<React.SetStateAction<boolean>>;
|
|
6
|
-
loginError: Error | null;
|
|
7
|
-
setLoginError: React.Dispatch<React.SetStateAction<Error | null>>;
|
|
8
|
-
}
|
|
9
|
-
declare const SimpleLoginForm: ({ onLogin, setIsLoading, loginError, setLoginError, userInputName, }: SimpleLoginFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default SimpleLoginForm;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { LoginPageComponents } from "../../io-connect-home/types";
|
|
2
|
-
export interface SimpleLoginPageProps {
|
|
3
|
-
onLogin: (user: string, password: string) => Promise<void>;
|
|
4
|
-
userInputName?: string;
|
|
5
|
-
components?: LoginPageComponents & {
|
|
6
|
-
Loader?: React.ComponentType<{
|
|
7
|
-
text?: string;
|
|
8
|
-
}>;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export declare const SimpleLoginPage: ({ onLogin, userInputName, components: { Logo, Heading, Loader }, }: SimpleLoginPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Reducer } from "react";
|
|
2
|
-
export type LoginFormElementReducer = Reducer<LoginFormElementState, LoginFormElementAction>;
|
|
3
|
-
export interface LoginFormElementState {
|
|
4
|
-
value: string;
|
|
5
|
-
isValid: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface LoginFormElementAction {
|
|
8
|
-
value: string;
|
|
9
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
interface NotificationsPanelButtonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
|
|
2
|
-
active: boolean;
|
|
3
|
-
}
|
|
4
|
-
export declare const NotificationsPanelButton: (props: NotificationsPanelButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export default NotificationsPanelButton;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IONotifications } from "@interopio/components-react";
|
|
2
|
-
interface NotificationsSettingsPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
components?: IONotifications.SettingsPanelProps["components"];
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
title?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const NotificationSettingsPanel: ({ className, components, onClose, title }: NotificationsSettingsPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default NotificationSettingsPanel;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { PanelWithToggleButtonProps } from "../panels/panel-with-toggle-button";
|
|
2
|
-
export declare const NotificationsPanelWithToggleButton: ({ Button, Panel, position, ...rest }: Partial<Omit<PanelWithToggleButtonProps, "onClose">>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default NotificationsPanelWithToggleButton;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IONotifications } from "@interopio/components-react";
|
|
2
|
-
interface NotificationsPanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
components?: IONotifications.PanelProps["components"];
|
|
5
|
-
settings?: IONotifications.PanelProps["settings"];
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
title?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const NotificationsPanel: ({ className, components, onClose, settings, title }: NotificationsPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default NotificationsPanel;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ButtonIconProps } from "@interopio/components-react";
|
|
2
|
-
type LaunchpadButtonProps = ButtonIconProps & {
|
|
3
|
-
active: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare const LaunchpadButton: (props: LaunchpadButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default LaunchpadButton;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PanelButtonProps, PanelPosition, PanelProps } from "./types";
|
|
2
|
-
export interface PanelWithToggleButtonProps {
|
|
3
|
-
Button: React.ComponentType<PanelButtonProps>;
|
|
4
|
-
Panel: React.ComponentType<PanelProps>;
|
|
5
|
-
panelWrapperClassName?: string;
|
|
6
|
-
pinned?: boolean;
|
|
7
|
-
position?: PanelPosition;
|
|
8
|
-
tag?: React.ElementType;
|
|
9
|
-
onClose?: () => void | Promise<void>;
|
|
10
|
-
}
|
|
11
|
-
export declare const PanelWithToggleButton: (props: PanelWithToggleButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PanelPosition, PanelProps } from "./types";
|
|
2
|
-
export interface PanelWrapperProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
Panel?: React.ComponentType<PanelProps>;
|
|
7
|
-
pinned?: boolean;
|
|
8
|
-
position?: PanelPosition;
|
|
9
|
-
}
|
|
10
|
-
export declare const PanelWrapper: import("react").ForwardRefExoticComponent<PanelWrapperProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { SetupStep, SetupStepsStatuses } from "./types";
|
|
2
|
-
export declare const DEFAULT_SETTINGS: {
|
|
3
|
-
edgeNotificationsPermissionTimeout: number;
|
|
4
|
-
};
|
|
5
|
-
export declare const SETUP_STEPS_NAMES: {
|
|
6
|
-
readonly WINDOW_MANAGEMENT: "window-management";
|
|
7
|
-
readonly NOTIFICATIONS: "notifications";
|
|
8
|
-
readonly POPUPS: "popups";
|
|
9
|
-
readonly PWA_INSTALL: "pwa-install";
|
|
10
|
-
};
|
|
11
|
-
export declare const SETUP_STEPS: SetupStep[];
|
|
12
|
-
export declare const INITIAL_STEPS_STATUSES: SetupStepsStatuses;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface PlatformSetupProps {
|
|
2
|
-
components?: {
|
|
3
|
-
Logo?: React.ComponentType<{
|
|
4
|
-
className?: string;
|
|
5
|
-
}>;
|
|
6
|
-
Loader?: React.ComponentType<{
|
|
7
|
-
text?: string;
|
|
8
|
-
}>;
|
|
9
|
-
};
|
|
10
|
-
settings?: {
|
|
11
|
-
edgeNotificationsPermissionTimeout?: number;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export declare const PlatformSetup: ({ components: { Logo, Loader }, settings, }: PlatformSetupProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export default PlatformSetup;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SetupStepReducerAction, SetupStepsStatuses } from "./types";
|
|
2
|
-
export declare const setupStepsReducer: (stepsState: SetupStepsStatuses, action: SetupStepReducerAction) => {
|
|
3
|
-
notifications: import("./types").SetupStepStatus;
|
|
4
|
-
"window-management": import("./types").SetupStepStatus;
|
|
5
|
-
popups: import("./types").SetupStepStatus;
|
|
6
|
-
"pwa-install": import("./types").SetupStepStatus;
|
|
7
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SetupStepName, SetupStepsStatuses } from "./types";
|
|
2
|
-
interface SetupStepsListProps {
|
|
3
|
-
activeStepName: SetupStepName;
|
|
4
|
-
showWarnIcon: boolean;
|
|
5
|
-
stepsStatuses: SetupStepsStatuses;
|
|
6
|
-
}
|
|
7
|
-
export declare const SetupStepsList: ({ activeStepName, showWarnIcon, stepsStatuses }: SetupStepsListProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default SetupStepsList;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { SETUP_STEPS_NAMES } from "./constants";
|
|
2
|
-
export type SetupStepName = typeof SETUP_STEPS_NAMES[keyof typeof SETUP_STEPS_NAMES];
|
|
3
|
-
type SetupStepState = "prompt" | "granted" | "denied";
|
|
4
|
-
export type SetupStepStatus = {
|
|
5
|
-
isCompleted: boolean;
|
|
6
|
-
state: SetupStepState;
|
|
7
|
-
};
|
|
8
|
-
export type SetupStepsStatuses = Record<SetupStepName, SetupStepStatus>;
|
|
9
|
-
type SetupStepReducerActionType = "completed" | "skipped" | "stateUpdated";
|
|
10
|
-
export interface SetupStepReducerAction {
|
|
11
|
-
type: SetupStepReducerActionType;
|
|
12
|
-
payload: {
|
|
13
|
-
stepName: SetupStepName;
|
|
14
|
-
state?: SetupStepState;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
export interface SetupStep {
|
|
18
|
-
name: SetupStepName;
|
|
19
|
-
label: string;
|
|
20
|
-
heading: string;
|
|
21
|
-
description: string;
|
|
22
|
-
instructions: {
|
|
23
|
-
initial: string;
|
|
24
|
-
additional?: string;
|
|
25
|
-
};
|
|
26
|
-
Image: (props: React.SVGProps<SVGSVGElement>) => JSX.Element;
|
|
27
|
-
actionBtnText: string;
|
|
28
|
-
}
|
|
29
|
-
export interface PlatformSetupStatus {
|
|
30
|
-
isCompleted: boolean;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const useEdgeNotificationsPermission: ({ edgeNotificationsPermissionTimeout, isNotificationsPermissionPromptOpen, }: {
|
|
2
|
-
edgeNotificationsPermissionTimeout: number;
|
|
3
|
-
isNotificationsPermissionPromptOpen: boolean;
|
|
4
|
-
}) => {
|
|
5
|
-
hasEdgeNotificationsPermissionError: boolean;
|
|
6
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IOProfile } from "@interopio/components-react";
|
|
2
|
-
interface ProfilePanelProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
components?: IOProfile.PanelProps["components"];
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
title?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const ProfilePanel: ({ className, components, onClose, title }: ProfilePanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default ProfilePanel;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface SearchBarProps {
|
|
2
|
-
onSearch: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
3
|
-
searchTerm: string;
|
|
4
|
-
onClear: () => void;
|
|
5
|
-
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const SearchBar: import("react").ForwardRefExoticComponent<SearchBarProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
8
|
-
export default SearchBar;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IOConnectSearch } from "@interopio/search-api";
|
|
2
|
-
import type { BaseSectionItemType, BaseSectionType } from "../../base-section/types";
|
|
3
|
-
import { SearchResultsContextMenuAction } from "../../context-menu/types";
|
|
4
|
-
export interface SearchResultsSectionItemType extends BaseSectionItemType {
|
|
5
|
-
mainAction?: IOConnectSearch.MainAction;
|
|
6
|
-
contextMenuActions?: SearchResultsContextMenuAction[];
|
|
7
|
-
}
|
|
8
|
-
export type SearchResultsSectionType = BaseSectionType<SearchResultsSectionItemType>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useGetActionExecutor: () => (itemType: string) => ((item: import("../../base-section/types").BaseSectionItemType, actionName: string) => void) | undefined;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface SectionProviderProps {
|
|
2
|
-
children: React.ReactNode;
|
|
3
|
-
}
|
|
4
|
-
interface ClickDataState {
|
|
5
|
-
itemName: string;
|
|
6
|
-
modifier: string | null;
|
|
7
|
-
selectedContextMenuActionName?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const useSection: () => [ClickDataState | null, import("react").Dispatch<import("react").SetStateAction<ClickDataState | null>>];
|
|
10
|
-
export declare const SectionProvider: ({ children }: SectionProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { SectionItemType, SectionType } from "./types";
|
|
2
|
-
export interface SectionProps {
|
|
3
|
-
config: SectionType;
|
|
4
|
-
onItemClick?: (params: {
|
|
5
|
-
item: SectionItemType;
|
|
6
|
-
modifier: string | null;
|
|
7
|
-
selectedContextMenuActionName?: string;
|
|
8
|
-
}) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const Section: ({ config, onItemClick }: SectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default Section;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { BaseSectionItemType, BaseSectionType } from "../base-section/types";
|
|
2
|
-
export type SectionItemType = BaseSectionItemType;
|
|
3
|
-
export type SectionType = BaseSectionType<SectionItemType>;
|
|
4
|
-
export type SectionItemClickedType = {
|
|
5
|
-
item: SectionItemType;
|
|
6
|
-
modifier: string | null;
|
|
7
|
-
selectedContextMenuActionName?: string;
|
|
8
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./spinner";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { SystemMenuAction } from "./types";
|
|
2
|
-
export interface SystemMenuProps {
|
|
3
|
-
actions: SystemMenuAction[];
|
|
4
|
-
panelWrapperClassName?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const SystemMenu: ({ actions, panelWrapperClassName }: SystemMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ContextMenuAction } from "../context-menu/types";
|
|
2
|
-
export type SystemMenuAction = ContextMenuAction & {
|
|
3
|
-
onClick: (openPanel: (Panel: SystemMenuPanel) => void) => void;
|
|
4
|
-
};
|
|
5
|
-
export type SystemMenuPanel = React.ComponentType<{
|
|
6
|
-
className: string;
|
|
7
|
-
onClose: () => void;
|
|
8
|
-
}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DefaultSectionProps } from "../../common/types";
|
|
2
|
-
import type { SectionType } from "../section/types";
|
|
3
|
-
import type { Workspace } from "./types";
|
|
4
|
-
export declare const getWorkspacesSectionConfig: (workspaces: Workspace[], runningInstances: {
|
|
5
|
-
[appName: string]: Set<string>;
|
|
6
|
-
}, settings: DefaultSectionProps) => SectionType;
|