@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.
Files changed (189) hide show
  1. package/README.md +81 -57
  2. package/dist/index.css +2 -2
  3. package/dist/index.d.ts +419 -25
  4. package/dist/index.js +17 -21
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +12342 -10122
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +24 -17
  9. package/LICENSE +0 -21
  10. package/dist/common/sequelizer.d.ts +0 -7
  11. package/dist/common/types.d.ts +0 -25
  12. package/dist/common/utils.d.ts +0 -2
  13. package/dist/constants/alerts.d.ts +0 -8
  14. package/dist/constants/auth0LoginTypes.d.ts +0 -4
  15. package/dist/constants/defaults.d.ts +0 -1
  16. package/dist/constants/dialogs.d.ts +0 -5
  17. package/dist/constants/itemTypes.d.ts +0 -6
  18. package/dist/constants/modifierKeys.d.ts +0 -4
  19. package/dist/constants/platformPrefs.d.ts +0 -13
  20. package/dist/constants/regex.d.ts +0 -1
  21. package/dist/constants/sections.d.ts +0 -5
  22. package/dist/constants/sortOrder.d.ts +0 -5
  23. package/dist/constants/storageKeys.d.ts +0 -5
  24. package/dist/decoders/base.d.ts +0 -5
  25. package/dist/decoders/config.d.ts +0 -3
  26. package/dist/decoders/layouts.d.ts +0 -3
  27. package/dist/decoders/platform.d.ts +0 -5
  28. package/dist/decoders/user.d.ts +0 -3
  29. package/dist/decoders/validation.d.ts +0 -3
  30. package/dist/executors/applicationActions.d.ts +0 -4
  31. package/dist/executors/layoutActions.d.ts +0 -4
  32. package/dist/executors/setupStepsActions.d.ts +0 -3
  33. package/dist/executors/types.d.ts +0 -33
  34. package/dist/executors/workspaceActions.d.ts +0 -4
  35. package/dist/helpers/a11y.d.ts +0 -22
  36. package/dist/helpers/alerts.d.ts +0 -9
  37. package/dist/helpers/sort.d.ts +0 -11
  38. package/dist/hooks/index.d.ts +0 -29
  39. package/dist/hooks/useApplications.d.ts +0 -2
  40. package/dist/hooks/useApplicationsInstances.d.ts +0 -3
  41. package/dist/hooks/useBeforeunload.d.ts +0 -1
  42. package/dist/hooks/useExecuteApplicationAction.d.ts +0 -2
  43. package/dist/hooks/useExecuteLayoutAction.d.ts +0 -5
  44. package/dist/hooks/useExecuteLayoutOperationIfNotBlocked.d.ts +0 -1
  45. package/dist/hooks/useExecuteWorkspaceAction.d.ts +0 -2
  46. package/dist/hooks/useFavorites.d.ts +0 -8
  47. package/dist/hooks/useFrameId.d.ts +0 -1
  48. package/dist/hooks/useInvokeInteropMethod.d.ts +0 -2
  49. package/dist/hooks/useIsHomeLoaded.d.ts +0 -1
  50. package/dist/hooks/useIsLaunchpadCollapsed.d.ts +0 -9
  51. package/dist/hooks/useIsLaunchpadPinned.d.ts +0 -8
  52. package/dist/hooks/useIsRunningInDesktopContainer.d.ts +0 -1
  53. package/dist/hooks/useLayouts.d.ts +0 -5
  54. package/dist/hooks/useNotifications.d.ts +0 -2
  55. package/dist/hooks/useNotificationsConfiguration.d.ts +0 -3
  56. package/dist/hooks/useOnIframeFocus.d.ts +0 -6
  57. package/dist/hooks/useOnOutsideClick.d.ts +0 -9
  58. package/dist/hooks/usePlatformWindow.d.ts +0 -5
  59. package/dist/hooks/usePressedKeys.d.ts +0 -1
  60. package/dist/hooks/useRestoreLayout.d.ts +0 -2
  61. package/dist/hooks/useRestoreWorkspace.d.ts +0 -5
  62. package/dist/hooks/useSearch.d.ts +0 -5
  63. package/dist/hooks/useStartApplication.d.ts +0 -7
  64. package/dist/hooks/useStorage.d.ts +0 -4
  65. package/dist/hooks/useUA.d.ts +0 -2
  66. package/dist/hooks/useWorkspaces.d.ts +0 -2
  67. package/dist/hooks/useWorkspacesInstances.d.ts +0 -3
  68. package/dist/lib/applications-section/applications-section.d.ts +0 -3
  69. package/dist/lib/applications-section/helpers.d.ts +0 -5
  70. package/dist/lib/applications-section/types.d.ts +0 -9
  71. package/dist/lib/base-section/base-section-header.d.ts +0 -8
  72. package/dist/lib/base-section/base-section-item.d.ts +0 -14
  73. package/dist/lib/base-section/base-section.d.ts +0 -14
  74. package/dist/lib/base-section/helpers.d.ts +0 -2
  75. package/dist/lib/base-section/types.d.ts +0 -20
  76. package/dist/lib/base-section/useCollapsedSections.d.ts +0 -4
  77. package/dist/lib/context-menu/constants.d.ts +0 -11
  78. package/dist/lib/context-menu/context-menu.d.ts +0 -11
  79. package/dist/lib/context-menu/dropdown-button/dropdown-button.d.ts +0 -24
  80. package/dist/lib/context-menu/types.d.ts +0 -13
  81. package/dist/lib/default-header-system-buttons/constants.d.ts +0 -2
  82. package/dist/lib/default-header-system-buttons/default-header-system-buttons.d.ts +0 -2
  83. package/dist/lib/default-header-system-buttons/default-header-system-menu.d.ts +0 -2
  84. package/dist/lib/favorites-section/favorites-section.d.ts +0 -3
  85. package/dist/lib/favorites-section/helpers.d.ts +0 -3
  86. package/dist/lib/home-app-workspace/after-tabs.d.ts +0 -3
  87. package/dist/lib/home-app-workspace/constants.d.ts +0 -2
  88. package/dist/lib/home-app-workspace/group-header-buttons.d.ts +0 -3
  89. package/dist/lib/home-app-workspace/home-app-workspace.d.ts +0 -12
  90. package/dist/lib/home-app-workspace/index.d.ts +0 -1
  91. package/dist/lib/home-app-workspace/launchpad-access.d.ts +0 -6
  92. package/dist/lib/home-app-workspace/no-logo.d.ts +0 -2
  93. package/dist/lib/home-app-workspace/types.d.ts +0 -3
  94. package/dist/lib/home-app-workspace/useAddWindowButtonVisible.d.ts +0 -1
  95. package/dist/lib/home-app-workspace/workspace-components-context.d.ts +0 -11
  96. package/dist/lib/icon-components/index.d.ts +0 -4
  97. package/dist/lib/icon-components/platform-setup/browser-notifications-icon.d.ts +0 -2
  98. package/dist/lib/icon-components/platform-setup/index.d.ts +0 -4
  99. package/dist/lib/icon-components/platform-setup/popups-icon.d.ts +0 -2
  100. package/dist/lib/icon-components/platform-setup/pwa-install-icon.d.ts +0 -2
  101. package/dist/lib/icon-components/platform-setup/window-management-icon.d.ts +0 -2
  102. package/dist/lib/icon-components/reopen-prompt-icon.d.ts +0 -2
  103. package/dist/lib/icon-components/start-failed-icon.d.ts +0 -2
  104. package/dist/lib/icon-components/warning-icon.d.ts +0 -2
  105. package/dist/lib/info-card/info-card.d.ts +0 -10
  106. package/dist/lib/info-page-container/info-page-container.d.ts +0 -9
  107. package/dist/lib/io-connect-home/auth0-login-home.d.ts +0 -8
  108. package/dist/lib/io-connect-home/home-app.d.ts +0 -2
  109. package/dist/lib/io-connect-home/io-connect-home.d.ts +0 -2
  110. package/dist/lib/io-connect-home/no-login-home.d.ts +0 -8
  111. package/dist/lib/io-connect-home/simple-login-home.d.ts +0 -8
  112. package/dist/lib/io-connect-home/types.d.ts +0 -131
  113. package/dist/lib/io-connect-home/useUser.d.ts +0 -8
  114. package/dist/lib/io-connect-home-provider/constants.d.ts +0 -5
  115. package/dist/lib/io-connect-home-provider/helpers.d.ts +0 -2
  116. package/dist/lib/io-connect-home-provider/io-connect-home-provider.d.ts +0 -16
  117. package/dist/lib/io-connect-home-provider/types.d.ts +0 -8
  118. package/dist/lib/io-init-error-screen/io-init-error-screen.d.ts +0 -3
  119. package/dist/lib/launchpad/constants.d.ts +0 -2
  120. package/dist/lib/launchpad/helpers.d.ts +0 -4
  121. package/dist/lib/launchpad/launchpad-body.d.ts +0 -5
  122. package/dist/lib/launchpad/launchpad-config.context.d.ts +0 -10
  123. package/dist/lib/launchpad/launchpad-contents-container.d.ts +0 -10
  124. package/dist/lib/launchpad/launchpad-header.d.ts +0 -5
  125. package/dist/lib/launchpad/launchpad-pin-button.d.ts +0 -5
  126. package/dist/lib/launchpad/launchpad-search.context.d.ts +0 -11
  127. package/dist/lib/launchpad/launchpad.context.d.ts +0 -21
  128. package/dist/lib/launchpad/launchpad.d.ts +0 -10
  129. package/dist/lib/layouts-panel/active-layout.d.ts +0 -2
  130. package/dist/lib/layouts-panel/all-layouts.d.ts +0 -2
  131. package/dist/lib/layouts-panel/constants.d.ts +0 -8
  132. package/dist/lib/layouts-panel/create-layout-button.d.ts +0 -2
  133. package/dist/lib/layouts-panel/helpers.d.ts +0 -3
  134. package/dist/lib/layouts-panel/layouts-dropdown.d.ts +0 -6
  135. package/dist/lib/layouts-panel/layouts-list.d.ts +0 -7
  136. package/dist/lib/layouts-panel/layouts-panel.d.ts +0 -2
  137. package/dist/lib/layouts-panel/save-layout-button.d.ts +0 -5
  138. package/dist/lib/layouts-panel/types.d.ts +0 -8
  139. package/dist/lib/layouts-panel/useIsLayoutsPanelOpen.d.ts +0 -9
  140. package/dist/lib/login/auth0/auth0-login-page.d.ts +0 -13
  141. package/dist/lib/login/constants.d.ts +0 -1
  142. package/dist/lib/login/index.d.ts +0 -3
  143. package/dist/lib/login/login-heading.d.ts +0 -1
  144. package/dist/lib/login/login-logo.d.ts +0 -6
  145. package/dist/lib/login/login-page-container.d.ts +0 -7
  146. package/dist/lib/login/simple/reducers.d.ts +0 -2
  147. package/dist/lib/login/simple/simple-login-form.d.ts +0 -10
  148. package/dist/lib/login/simple/simple-login-page.d.ts +0 -11
  149. package/dist/lib/login/types.d.ts +0 -9
  150. package/dist/lib/notifications-panel-button/notifications-badge.d.ts +0 -2
  151. package/dist/lib/notifications-panel-button/notifications-panel-button.d.ts +0 -5
  152. package/dist/lib/notifications-panels/notification-settings-panel.d.ts +0 -9
  153. package/dist/lib/notifications-panels/notifications-panel-with-toggle-button.d.ts +0 -3
  154. package/dist/lib/notifications-panels/notifications-panel.d.ts +0 -10
  155. package/dist/lib/panels/launchpad/launchpad-button.d.ts +0 -6
  156. package/dist/lib/panels/launchpad/launchpad-panel.d.ts +0 -2
  157. package/dist/lib/panels/panel-with-toggle-button.d.ts +0 -11
  158. package/dist/lib/panels/panel-wrapper.d.ts +0 -10
  159. package/dist/lib/panels/types.d.ts +0 -9
  160. package/dist/lib/platform-setup/constants.d.ts +0 -12
  161. package/dist/lib/platform-setup/platform-setup.d.ts +0 -15
  162. package/dist/lib/platform-setup/reducers.d.ts +0 -7
  163. package/dist/lib/platform-setup/setup-steps-list.d.ts +0 -8
  164. package/dist/lib/platform-setup/setup-steps.d.ts +0 -7
  165. package/dist/lib/platform-setup/types.d.ts +0 -32
  166. package/dist/lib/platform-setup/use-edge-notifications-permission.d.ts +0 -6
  167. package/dist/lib/preferences-panel/preferences-panel.d.ts +0 -2
  168. package/dist/lib/profile-panel/profile-panel.d.ts +0 -9
  169. package/dist/lib/search/search-bar/search-bar.d.ts +0 -8
  170. package/dist/lib/search/search-results-section/search-results-section.d.ts +0 -5
  171. package/dist/lib/search/search-results-section/types.d.ts +0 -8
  172. package/dist/lib/search/search-results-section/useExecuteLayoutSearchResultAction.d.ts +0 -2
  173. package/dist/lib/search/search-results-section/useGenerateLayoutFromId.d.ts +0 -2
  174. package/dist/lib/search/search-results-section/useGetActionExecutor.d.ts +0 -1
  175. package/dist/lib/search/search-results-section/useSearchResultsSectionConfigs.d.ts +0 -3
  176. package/dist/lib/section/helpers.d.ts +0 -3
  177. package/dist/lib/section/section.context.d.ts +0 -11
  178. package/dist/lib/section/section.d.ts +0 -11
  179. package/dist/lib/section/types.d.ts +0 -8
  180. package/dist/lib/spinner/index.d.ts +0 -1
  181. package/dist/lib/spinner/spinner.d.ts +0 -2
  182. package/dist/lib/system-loader/system-loader.d.ts +0 -6
  183. package/dist/lib/system-menu/helpers.d.ts +0 -3
  184. package/dist/lib/system-menu/system-menu.d.ts +0 -6
  185. package/dist/lib/system-menu/types.d.ts +0 -8
  186. package/dist/lib/workspaces-section/constants.d.ts +0 -3
  187. package/dist/lib/workspaces-section/helpers.d.ts +0 -6
  188. package/dist/lib/workspaces-section/types.d.ts +0 -4
  189. package/dist/lib/workspaces-section/workspaces-section.d.ts +0 -3
@@ -1,8 +0,0 @@
1
- export interface Layout {
2
- name: string;
3
- isDefault?: boolean;
4
- isActive?: boolean;
5
- }
6
- export type LayoutSummary = {
7
- name: string;
8
- };
@@ -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,3 +0,0 @@
1
- export * from "./auth0/auth0-login-page";
2
- export * from "./simple/simple-login-page";
3
- export * from "./simple/simple-login-form";
@@ -1 +0,0 @@
1
- export declare const LoginHeading: () => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +0,0 @@
1
- export interface LogoProps {
2
- logoSrc?: string;
3
- width?: string;
4
- className?: string;
5
- }
6
- export declare const LoginLogo: ({ logoSrc, width, className }: LogoProps) => 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,2 +0,0 @@
1
- import { LoginFormElementReducer } from "../types";
2
- export declare const inputReducer: LoginFormElementReducer;
@@ -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,2 +0,0 @@
1
- export declare const NotificationsBadge: () => import("react/jsx-runtime").JSX.Element | null;
2
- export default NotificationsBadge;
@@ -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,2 +0,0 @@
1
- import { PanelProps } from "../types";
2
- export declare const LaunchpadPanel: ({ isOpen, onClose }: PanelProps) => import("react/jsx-runtime").JSX.Element;
@@ -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,9 +0,0 @@
1
- export interface PanelButtonProps {
2
- active: boolean;
3
- onClick: () => void;
4
- }
5
- export type PanelPosition = "left" | "right";
6
- export interface PanelProps {
7
- isOpen: boolean;
8
- onClose: () => void;
9
- }
@@ -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,7 +0,0 @@
1
- interface SetupStepsProps {
2
- settings: {
3
- edgeNotificationsPermissionTimeout: number;
4
- };
5
- }
6
- export declare const SetupSteps: ({ settings }: SetupStepsProps) => import("react/jsx-runtime").JSX.Element;
7
- export default SetupSteps;
@@ -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,2 +0,0 @@
1
- export declare const PreferencesPanel: ({ components, ...rest }: import("@interopio/components-react").PreferencesBrowserPanelProps) => import("react/jsx-runtime").JSX.Element;
2
- export default PreferencesPanel;
@@ -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,5 +0,0 @@
1
- export interface SearchResultsProps {
2
- searchTerm: string;
3
- }
4
- export declare function SearchResults(props: Readonly<SearchResultsProps>): import("react/jsx-runtime").JSX.Element;
5
- export default SearchResults;
@@ -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,2 +0,0 @@
1
- import { SectionItemType } from "../../section/types";
2
- export declare const useExecuteLayoutSearchResultAction: () => (item: SectionItemType, actionName: string) => Promise<void>;
@@ -1,2 +0,0 @@
1
- import { Layout } from "../../layouts-panel/types";
2
- export declare const useGenerateLayoutFromId: () => (id: string) => Layout;
@@ -1 +0,0 @@
1
- export declare const useGetActionExecutor: () => (itemType: string) => ((item: import("../../base-section/types").BaseSectionItemType, actionName: string) => void) | undefined;
@@ -1,3 +0,0 @@
1
- import { IOConnectSearch } from "@interopio/search-api";
2
- import type { SearchResultsSectionType } from "./types";
3
- export declare const useSearchResultsSectionConfigs: (results: IOConnectSearch.QueryResult[]) => SearchResultsSectionType[];
@@ -1,3 +0,0 @@
1
- import type { SectionItemType, SectionType } from "./types";
2
- export declare const getItemName: (item: SectionItemType) => string;
3
- export declare const getClickedItem: (items: SectionType["items"], clickedItemName: string) => SectionItemType | 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,2 +0,0 @@
1
- export declare const Spinner: () => import("react/jsx-runtime").JSX.Element;
2
- export default Spinner;
@@ -1,6 +0,0 @@
1
- export interface SystemLoaderProps {
2
- Logo?: React.ComponentType;
3
- text?: string;
4
- }
5
- export declare const SystemLoader: ({ Logo, text }: SystemLoaderProps) => import("react/jsx-runtime").JSX.Element;
6
- export default SystemLoader;
@@ -1,3 +0,0 @@
1
- import { PanelProps } from "../panels/types";
2
- import { SystemMenuPanel } from "./types";
3
- export declare const createPanelComponent: (SystemMenuPanel: SystemMenuPanel) => ({ onClose }: PanelProps) => import("react/jsx-runtime").JSX.Element;
@@ -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,3 +0,0 @@
1
- export declare const ACTION_BUTTON_IDS: {
2
- readonly CREATE_WORKSPACE: "createWorkspace";
3
- };
@@ -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;
@@ -1,4 +0,0 @@
1
- export interface Workspace {
2
- id: string;
3
- title: string;
4
- }
@@ -1,3 +0,0 @@
1
- import { DefaultSectionProps } from "../../common/types";
2
- export declare const WorkspacesSection: (props: DefaultSectionProps) => import("react/jsx-runtime").JSX.Element;
3
- export default WorkspacesSection;