@interopio/home-ui-react 1.4.3 → 2.0.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/LICENSE +21 -0
- package/{README.md → dist/README.md} +56 -56
- package/dist/common/sequelizer.d.ts +7 -0
- package/dist/common/types.d.ts +26 -0
- package/dist/common/utils.d.ts +2 -0
- package/dist/constants/alerts.d.ts +8 -0
- package/{constants → dist/constants}/defaults.d.ts +0 -1
- package/dist/constants/dialogs.d.ts +5 -0
- package/{constants → dist/constants}/itemTypes.d.ts +1 -0
- package/dist/constants/platformPrefs.d.ts +14 -0
- package/dist/constants/regex.d.ts +1 -0
- package/dist/constants/sections.d.ts +5 -0
- package/{constants → dist/constants}/storageKeys.d.ts +1 -2
- package/{decoders → dist/decoders}/base.d.ts +2 -1
- package/dist/decoders/config.d.ts +3 -0
- package/dist/decoders/layouts.d.ts +3 -0
- package/{decoders → dist/decoders}/platform.d.ts +3 -3
- package/dist/decoders/user.d.ts +3 -0
- package/dist/decoders/validation.d.ts +3 -0
- package/{executors → dist/executors}/applicationActions.d.ts +1 -1
- package/{executors → dist/executors}/layoutActions.d.ts +1 -1
- package/dist/executors/setupStepsActions.d.ts +3 -0
- package/dist/executors/types.d.ts +33 -0
- package/{executors → dist/executors}/workspaceActions.d.ts +1 -1
- package/{helpers → dist/helpers}/a11y.d.ts +0 -16
- package/dist/helpers/alerts.d.ts +9 -0
- package/{helpers → dist/helpers}/sort.d.ts +4 -4
- package/dist/hooks/index.d.ts +28 -0
- package/dist/hooks/useApplications.d.ts +2 -0
- package/{hooks → dist/hooks}/useExecuteApplicationAction.d.ts +1 -1
- package/dist/hooks/useExecuteLayoutAction.d.ts +5 -0
- package/{hooks → dist/hooks}/useExecuteWorkspaceAction.d.ts +1 -1
- package/dist/hooks/useFavorites.d.ts +8 -0
- package/dist/hooks/useFrameId.d.ts +1 -0
- package/{hooks → dist/hooks}/useInvokeInteropMethod.d.ts +1 -1
- package/dist/hooks/useIsLaunchpadPinned.d.ts +8 -0
- package/dist/hooks/useLayouts.d.ts +5 -0
- package/{hooks → dist/hooks}/useNotifications.d.ts +1 -1
- package/dist/hooks/useNotificationsConfiguration.d.ts +3 -0
- package/dist/hooks/useOnIframeFocus.d.ts +6 -0
- package/dist/hooks/useOnOutsideClick.d.ts +9 -0
- package/{hooks → dist/hooks}/usePlatformWindow.d.ts +1 -1
- package/{hooks → dist/hooks}/useRestoreLayout.d.ts +1 -1
- package/{hooks → dist/hooks}/useRestoreWorkspace.d.ts +1 -2
- package/{hooks → dist/hooks}/useSearch.d.ts +1 -1
- package/dist/hooks/useStartApplication.d.ts +7 -0
- package/{hooks → dist/hooks}/useStorage.d.ts +2 -2
- package/dist/hooks/useWorkspaces.d.ts +2 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +61 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +14515 -0
- package/dist/index.mjs.map +1 -0
- package/{lib → dist/lib}/applications-section/applications-section.d.ts +1 -1
- package/dist/lib/applications-section/helpers.d.ts +5 -0
- package/dist/lib/applications-section/types.d.ts +9 -0
- package/{lib → dist/lib}/base-section/base-section-header.d.ts +2 -4
- package/dist/lib/base-section/base-section-item.d.ts +14 -0
- package/{lib → dist/lib}/base-section/base-section.d.ts +3 -3
- package/{lib → dist/lib}/base-section/helpers.d.ts +1 -1
- package/dist/lib/base-section/types.d.ts +20 -0
- package/dist/lib/base-section/useCollapsedSections.d.ts +4 -0
- package/dist/lib/context-menu/constants.d.ts +11 -0
- package/dist/lib/context-menu/context-menu.d.ts +11 -0
- package/dist/lib/context-menu/dropdown-button/dropdown-button.d.ts +20 -0
- package/{lib → dist/lib}/context-menu/types.d.ts +5 -1
- package/dist/lib/default-header-system-buttons/constants.d.ts +2 -0
- package/dist/lib/default-header-system-buttons/default-header-system-buttons.d.ts +2 -0
- package/dist/lib/default-header-system-buttons/default-header-system-menu.d.ts +2 -0
- package/{lib → dist/lib}/favorites-section/favorites-section.d.ts +1 -1
- package/dist/lib/favorites-section/helpers.d.ts +3 -0
- package/dist/lib/home-app-workspace/after-tabs.d.ts +3 -0
- package/dist/lib/home-app-workspace/constants.d.ts +2 -0
- package/{lib → dist/lib}/home-app-workspace/group-header-buttons.d.ts +1 -1
- package/dist/lib/home-app-workspace/home-app-workspace.d.ts +13 -0
- package/dist/lib/home-app-workspace/index.d.ts +1 -0
- package/dist/lib/home-app-workspace/launchpad-access.d.ts +7 -0
- package/{lib → dist/lib}/home-app-workspace/workspace-components-context.d.ts +3 -4
- package/dist/lib/icon-components/index.d.ts +4 -0
- package/dist/lib/icon-components/platform-setup/index.d.ts +4 -0
- package/{lib → dist/lib}/io-connect-home/auth0-login-home.d.ts +1 -1
- package/{lib → dist/lib}/io-connect-home/home-app.d.ts +1 -1
- package/{lib → dist/lib}/io-connect-home/io-connect-home.d.ts +1 -1
- package/{lib → dist/lib}/io-connect-home/no-login-home.d.ts +1 -1
- package/{lib → dist/lib}/io-connect-home/simple-login-home.d.ts +1 -1
- package/{lib → dist/lib}/io-connect-home/types.d.ts +54 -18
- package/{lib → dist/lib}/io-connect-home/useUser.d.ts +1 -1
- package/{lib → dist/lib}/io-connect-home-provider/helpers.d.ts +1 -1
- package/{lib → dist/lib}/io-connect-home-provider/io-connect-home-provider.d.ts +1 -1
- package/{lib → dist/lib}/io-connect-home-provider/types.d.ts +2 -2
- package/{lib/io-connect-browser-start-failed/io-connect-browser-start-failed.d.ts → dist/lib/io-init-error-screen/io-init-error-screen.d.ts} +1 -1
- package/dist/lib/launchpad/constants.d.ts +2 -0
- package/dist/lib/launchpad/helpers.d.ts +4 -0
- package/dist/lib/launchpad/launchpad-header.d.ts +7 -0
- package/dist/lib/launchpad/launchpad-pin-button.d.ts +5 -0
- package/dist/lib/launchpad/launchpad.context.d.ts +19 -0
- package/dist/lib/launchpad/launchpad.d.ts +11 -0
- package/dist/lib/launchpad/useIsLaunchpadCollapsed.d.ts +9 -0
- package/dist/lib/layouts-panel/active-layout.d.ts +2 -0
- package/dist/lib/layouts-panel/all-layouts.d.ts +2 -0
- package/dist/lib/layouts-panel/constants.d.ts +8 -0
- package/dist/lib/layouts-panel/create-layout-button.d.ts +2 -0
- package/dist/lib/layouts-panel/helpers.d.ts +3 -0
- package/dist/lib/layouts-panel/layouts-dropdown.d.ts +6 -0
- package/dist/lib/layouts-panel/layouts-list.d.ts +6 -0
- package/dist/lib/layouts-panel/save-layout-button.d.ts +5 -0
- package/dist/lib/layouts-panel/types.d.ts +8 -0
- package/dist/lib/layouts-panel/useIsLayoutsPanelOpen.d.ts +9 -0
- package/{lib → dist/lib}/login/auth0/auth0-login-page.d.ts +1 -2
- package/dist/lib/login/index.d.ts +3 -0
- package/dist/lib/login/login-heading.d.ts +1 -0
- package/{lib → dist/lib}/login/simple/reducers.d.ts +1 -1
- package/{lib → dist/lib}/login/simple/simple-login-form.d.ts +2 -2
- package/{lib → dist/lib}/login/simple/simple-login-page.d.ts +1 -1
- package/{lib → dist/lib}/login/types.d.ts +1 -5
- package/dist/lib/notifications-panel-button/notifications-badge.d.ts +2 -0
- package/dist/lib/notifications-panel-button/notifications-panel-button.d.ts +6 -0
- package/dist/lib/notifications-panels/notification-settings-panel.d.ts +9 -0
- package/dist/lib/notifications-panels/notifications-panel-with-toggle-button.d.ts +3 -0
- package/dist/lib/notifications-panels/notifications-panel.d.ts +10 -0
- package/dist/lib/panels/launchpad/launchpad-button.d.ts +6 -0
- package/dist/lib/panels/launchpad/launchpad-panel.d.ts +2 -0
- package/dist/lib/panels/panel-with-toggle-button.d.ts +12 -0
- package/dist/lib/panels/panel-wrapper.d.ts +11 -0
- package/dist/lib/panels/types.d.ts +9 -0
- package/{lib → dist/lib}/platform-setup/constants.d.ts +1 -1
- package/{lib → dist/lib}/platform-setup/reducers.d.ts +2 -2
- package/{lib → dist/lib}/platform-setup/setup-steps-list.d.ts +1 -1
- package/{lib → dist/lib}/platform-setup/types.d.ts +4 -4
- package/dist/lib/preferences-panel/preferences-panel.d.ts +2 -0
- package/dist/lib/profile-panel/profile-panel.d.ts +9 -0
- package/{lib → dist/lib}/search/search-bar/search-bar.d.ts +1 -0
- package/dist/lib/search/search-results-section/search-results-section.d.ts +5 -0
- package/{lib → dist/lib}/search/search-results-section/types.d.ts +3 -3
- package/dist/lib/search/search-results-section/useExecuteLayoutSearchResultAction.d.ts +2 -0
- package/dist/lib/search/search-results-section/useGenerateLayoutFromId.d.ts +2 -0
- package/dist/lib/search/search-results-section/useGetActionExecutor.d.ts +1 -0
- package/dist/lib/search/search-results-section/useSearchResultsSectionConfigs.d.ts +3 -0
- package/{lib → dist/lib}/section/helpers.d.ts +2 -2
- package/{lib → dist/lib}/section/section.d.ts +1 -1
- package/{lib → dist/lib}/section/types.d.ts +1 -1
- package/dist/lib/spinner/index.d.ts +1 -0
- package/dist/lib/system-menu/helpers.d.ts +3 -0
- package/dist/lib/system-menu/system-menu.d.ts +6 -0
- package/dist/lib/system-menu/types.d.ts +9 -0
- package/dist/lib/workspaces-section/constants.d.ts +3 -0
- package/{lib → dist/lib}/workspaces-section/helpers.d.ts +3 -3
- package/{lib → dist/lib}/workspaces-section/workspaces-section.d.ts +1 -1
- package/package.json +59 -41
- package/assets/fonts/nunito-regular-webfont.woff +0 -0
- package/assets/fonts/nunito-regular-webfont.woff2 +0 -0
- package/assets/fonts/nunito-semibold-webfont.woff +0 -0
- package/assets/fonts/nunito-semibold-webfont.woff2 +0 -0
- package/assets/io-connect-browser-logo.json +0 -5
- package/common/types.d.ts +0 -10
- package/decoders/config.d.ts +0 -3
- package/decoders/context-menu.d.ts +0 -3
- package/decoders/favorites.d.ts +0 -3
- package/decoders/layouts.d.ts +0 -3
- package/decoders/user.d.ts +0 -3
- package/decoders/validation.d.ts +0 -3
- package/executors/notificationsSort.d.ts +0 -7
- package/executors/setupStepsActions.d.ts +0 -3
- package/executors/types.d.ts +0 -26
- package/helpers/date.d.ts +0 -1
- package/helpers/string.d.ts +0 -1
- package/hooks/index.d.ts +0 -25
- package/hooks/useApplications.d.ts +0 -2
- package/hooks/useExecuteLayoutAction.d.ts +0 -2
- package/hooks/useFavoriteEntities.d.ts +0 -7
- package/hooks/useFrame.d.ts +0 -2
- package/hooks/useIsBrowserSupported.d.ts +0 -1
- package/hooks/useLayouts.d.ts +0 -2
- package/hooks/useNotificationsSort.d.ts +0 -5
- package/hooks/useStartApplication.d.ts +0 -4
- package/hooks/useWorkspaces.d.ts +0 -2
- package/index.css +0 -1
- package/index.d.ts +0 -37
- package/index.js +0 -54
- package/index.js.map +0 -1
- package/index.mjs +0 -8651
- package/index.mjs.map +0 -1
- package/lib/applications-section/helpers.d.ts +0 -6
- package/lib/applications-section/types.d.ts +0 -4
- package/lib/base-section/base-section-item.d.ts +0 -13
- package/lib/base-section/types.d.ts +0 -29
- package/lib/browser-not-supported/additional-information.d.ts +0 -5
- package/lib/browser-not-supported/browser-not-supported.d.ts +0 -11
- package/lib/browser-not-supported/constants.d.ts +0 -6
- package/lib/button/button.d.ts +0 -7
- package/lib/button-group/button-group.d.ts +0 -8
- package/lib/context-menu/constants.d.ts +0 -3
- package/lib/context-menu/context-menu.d.ts +0 -10
- package/lib/context-menu/dropdown-button/dropdown-button.d.ts +0 -11
- package/lib/dialog/dialog.d.ts +0 -8
- package/lib/favorites-section/helpers.d.ts +0 -3
- package/lib/home-app-workspace/after-tabs.d.ts +0 -3
- package/lib/home-app-workspace/home-app-workspace.d.ts +0 -14
- package/lib/home-app-workspace/index.d.ts +0 -2
- package/lib/home-app-workspace/launchpad-access.d.ts +0 -6
- package/lib/home-app-workspace/workspace-logo.d.ts +0 -10
- package/lib/icon/icon.d.ts +0 -9
- package/lib/icon-components/google-chrome-icon.d.ts +0 -2
- package/lib/icon-components/index.d.ts +0 -7
- package/lib/icon-components/microsoft-edge-icon.d.ts +0 -2
- package/lib/icon-components/opera-icon.d.ts +0 -2
- package/lib/icon-components/platform-setup/index.d.ts +0 -4
- package/lib/img-icon/img-icon.d.ts +0 -8
- package/lib/launchpad/default-sections.d.ts +0 -2
- package/lib/launchpad/helpers.d.ts +0 -3
- package/lib/launchpad/launchpad.context.d.ts +0 -19
- package/lib/launchpad/launchpad.d.ts +0 -12
- package/lib/launchpad/types.d.ts +0 -16
- package/lib/layouts-panel/available-layouts.d.ts +0 -6
- package/lib/layouts-panel/constants.d.ts +0 -6
- package/lib/layouts-panel/helpers.d.ts +0 -4
- package/lib/layouts-panel/layout-actions.d.ts +0 -9
- package/lib/layouts-panel/layouts-notification.d.ts +0 -6
- package/lib/layouts-panel/types.d.ts +0 -20
- package/lib/login/index.d.ts +0 -4
- package/lib/login/login-heading.d.ts +0 -5
- package/lib/login/login-loader.d.ts +0 -5
- package/lib/logo/logo.d.ts +0 -2
- package/lib/notifications-panel/constants.d.ts +0 -9
- package/lib/notifications-panel/index.d.ts +0 -4
- package/lib/notifications-panel/notification.d.ts +0 -6
- package/lib/notifications-panel/notifications-badge.d.ts +0 -5
- package/lib/notifications-panel/notifications-icon.d.ts +0 -6
- package/lib/notifications-panel/notifications-panel.d.ts +0 -2
- package/lib/notifications-panel/types.d.ts +0 -7
- package/lib/panels/launchpad-slide-panel.d.ts +0 -10
- package/lib/panels/slide-panel.d.ts +0 -9
- package/lib/search/search-results-section/helpers.d.ts +0 -3
- package/lib/search/search-results-section/search-results-section.d.ts +0 -5
- package/lib/spinner/index.d.ts +0 -1
- package/lib/user-panel/settings-card.d.ts +0 -2
- package/lib/user-panel/support-card.d.ts +0 -11
- package/lib/user-panel/user-details-card.d.ts +0 -6
- package/lib/user-panel/user-panel-icon.d.ts +0 -6
- package/lib/user-panel/user-panel.d.ts +0 -7
- /package/{constants → dist/constants}/auth0LoginTypes.d.ts +0 -0
- /package/{constants → dist/constants}/modifierKeys.d.ts +0 -0
- /package/{constants → dist/constants}/sortOrder.d.ts +0 -0
- /package/{hooks → dist/hooks}/useApplicationsInstances.d.ts +0 -0
- /package/{hooks → dist/hooks}/useBeforeunload.d.ts +0 -0
- /package/{hooks → dist/hooks}/useExecuteLayoutOperationIfNotBlocked.d.ts +0 -0
- /package/{hooks → dist/hooks}/useIsHomeLoaded.d.ts +0 -0
- /package/{hooks → dist/hooks}/useIsRunningInDesktopContainer.d.ts +0 -0
- /package/{hooks → dist/hooks}/usePressedKeys.d.ts +0 -0
- /package/{hooks → dist/hooks}/useUA.d.ts +0 -0
- /package/{hooks → dist/hooks}/useWorkspacesInstances.d.ts +0 -0
- /package/{lib → dist/lib}/home-app-workspace/no-logo.d.ts +0 -0
- /package/{lib → dist/lib}/home-app-workspace/types.d.ts +0 -0
- /package/{lib → dist/lib}/home-app-workspace/useAddWindowButtonVisible.d.ts +0 -0
- /package/{lib → dist/lib}/icon-components/platform-setup/browser-notifications-icon.d.ts +0 -0
- /package/{lib → dist/lib}/icon-components/platform-setup/popups-icon.d.ts +0 -0
- /package/{lib → dist/lib}/icon-components/platform-setup/pwa-install-icon.d.ts +0 -0
- /package/{lib → dist/lib}/icon-components/platform-setup/window-management-icon.d.ts +0 -0
- /package/{lib → dist/lib}/icon-components/reopen-prompt-icon.d.ts +0 -0
- /package/{lib → dist/lib}/icon-components/start-failed-icon.d.ts +0 -0
- /package/{lib → dist/lib}/icon-components/warning-icon.d.ts +0 -0
- /package/{lib → dist/lib}/info-card/info-card.d.ts +0 -0
- /package/{lib → dist/lib}/info-page-container/info-page-container.d.ts +0 -0
- /package/{lib → dist/lib}/io-connect-home-provider/constants.d.ts +0 -0
- /package/{lib → dist/lib}/layouts-panel/layouts-panel.d.ts +0 -0
- /package/{lib → dist/lib}/login/constants.d.ts +0 -0
- /package/{lib → dist/lib}/login/login-logo.d.ts +0 -0
- /package/{lib → dist/lib}/login/login-page-container.d.ts +0 -0
- /package/{lib → dist/lib}/platform-setup/platform-setup.d.ts +0 -0
- /package/{lib → dist/lib}/platform-setup/setup-steps.d.ts +0 -0
- /package/{lib → dist/lib}/platform-setup/use-edge-notifications-permission.d.ts +0 -0
- /package/{lib → dist/lib}/section/section.context.d.ts +0 -0
- /package/{lib → dist/lib}/spinner/spinner.d.ts +0 -0
- /package/{lib → dist/lib}/system-loader/system-loader.d.ts +0 -0
- /package/{lib → dist/lib}/workspaces-section/types.d.ts +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IOConnectBrowser } from '@interopio/browser';
|
|
2
|
-
import { SectionType } from '../section/types';
|
|
3
|
-
import { ApplicationsSectionProps } from './types';
|
|
4
|
-
export declare const getApplicationsSectionConfig: (applications: IOConnectBrowser.AppManager.Application[], runningInstances: {
|
|
5
|
-
[appName: string]: string[];
|
|
6
|
-
}, settings: ApplicationsSectionProps) => SectionType;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BaseSectionItemType } from './types';
|
|
3
|
-
import { ContextMenuAction } from '../context-menu/types';
|
|
4
|
-
import { ActivationEvent } from '../../helpers/a11y';
|
|
5
|
-
interface BaseSectionItemProps<Item extends BaseSectionItemType> extends React.HTMLProps<HTMLDivElement> {
|
|
6
|
-
isFavoritismEnabled?: boolean;
|
|
7
|
-
item: Item;
|
|
8
|
-
onClick: (event: ActivationEvent, action?: ContextMenuAction) => void;
|
|
9
|
-
onKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
10
|
-
focused: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const BaseSectionItem: <Item extends BaseSectionItemType>(props: BaseSectionItemProps<Item>) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export default BaseSectionItem;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ContextMenuAction } from '../context-menu/types';
|
|
2
|
-
export type PaginationSettings = {
|
|
3
|
-
showAllItems: boolean;
|
|
4
|
-
displayCount?: never;
|
|
5
|
-
} | {
|
|
6
|
-
showAllItems?: never;
|
|
7
|
-
displayCount: number;
|
|
8
|
-
} | {
|
|
9
|
-
showAllItems?: never;
|
|
10
|
-
displayCount?: never;
|
|
11
|
-
};
|
|
12
|
-
export interface BaseSectionItemType {
|
|
13
|
-
description?: string;
|
|
14
|
-
icon?: string;
|
|
15
|
-
iconSrc?: string;
|
|
16
|
-
id: string;
|
|
17
|
-
isOpen?: boolean;
|
|
18
|
-
contextMenuActions?: ContextMenuAction[];
|
|
19
|
-
title: string;
|
|
20
|
-
type: string;
|
|
21
|
-
}
|
|
22
|
-
export type BaseSectionType<Item extends BaseSectionItemType> = {
|
|
23
|
-
iconSrc?: string;
|
|
24
|
-
iconName?: string;
|
|
25
|
-
id: string;
|
|
26
|
-
items: (Item | BaseSectionType<Item>)[];
|
|
27
|
-
title: string;
|
|
28
|
-
isCollapsible?: boolean;
|
|
29
|
-
} & PaginationSettings;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface BrowserNotSupportedProps {
|
|
3
|
-
components?: {
|
|
4
|
-
Logo?: React.ComponentType<{
|
|
5
|
-
className?: string;
|
|
6
|
-
}>;
|
|
7
|
-
};
|
|
8
|
-
supportEmail?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const BrowserNotSupported: ({ components: { Logo }, supportEmail }: BrowserNotSupportedProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default BrowserNotSupported;
|
package/lib/button/button.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { HTMLProps } from 'react';
|
|
2
|
-
export interface ButtonProps extends HTMLProps<HTMLButtonElement> {
|
|
3
|
-
type?: 'button' | 'submit' | 'reset';
|
|
4
|
-
color?: 'primary' | 'secondary';
|
|
5
|
-
}
|
|
6
|
-
export declare function Button({ children, className, color, ...rest }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default Button;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { HTMLProps } from 'react';
|
|
2
|
-
import { ButtonProps } from '../button/button';
|
|
3
|
-
export interface ButtonGroupProps extends HTMLProps<HTMLDivElement> {
|
|
4
|
-
items: ButtonProps[];
|
|
5
|
-
onItemClick?: (event: React.MouseEvent, props: ButtonProps) => void;
|
|
6
|
-
}
|
|
7
|
-
export declare function ButtonGroup(props: ButtonGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default ButtonGroup;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ContextMenuAction } from './types';
|
|
3
|
-
import { ActivationEvent } from '../../helpers/a11y';
|
|
4
|
-
interface ContextMenuProps extends React.HTMLProps<HTMLUListElement> {
|
|
5
|
-
actions: ContextMenuAction[];
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
onActionItemClick: (event: ActivationEvent, action: ContextMenuAction) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const ContextMenu: import("react").ForwardRefExoticComponent<Omit<ContextMenuProps, "ref"> & import("react").RefAttributes<HTMLUListElement>>;
|
|
10
|
-
export default ContextMenu;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ContextMenuAction } from '../types';
|
|
2
|
-
import { ActivationEvent } from 'packages/home-ui-react/src/helpers/a11y';
|
|
3
|
-
export interface DropdownButtonProps {
|
|
4
|
-
iconName: string;
|
|
5
|
-
iconSize?: number;
|
|
6
|
-
actions: ContextMenuAction[];
|
|
7
|
-
isTabStop?: boolean;
|
|
8
|
-
onActionItemClick: (event: ActivationEvent, action: ContextMenuAction) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare function DropdownButton(props: DropdownButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default DropdownButton;
|
package/lib/dialog/dialog.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { HTMLProps, PropsWithChildren } from 'react';
|
|
2
|
-
interface DialogProps extends HTMLProps<HTMLDialogElement> {
|
|
3
|
-
open: boolean;
|
|
4
|
-
showCloseButton?: boolean;
|
|
5
|
-
closeFn: () => void;
|
|
6
|
-
}
|
|
7
|
-
export declare const Dialog: ({ children, closeFn, open, showCloseButton }: PropsWithChildren<DialogProps>) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default Dialog;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { User, WorkspacesConfig, LaunchpadConfig, BeforeunloadDialogConfig } from '../io-connect-home/types';
|
|
3
|
-
interface HomeAppWorkspaceProps {
|
|
4
|
-
onLogout?: () => void;
|
|
5
|
-
user?: User | null;
|
|
6
|
-
workspaces?: WorkspacesConfig;
|
|
7
|
-
launchpad?: LaunchpadConfig;
|
|
8
|
-
Loader?: React.ComponentType<{
|
|
9
|
-
text?: string;
|
|
10
|
-
}>;
|
|
11
|
-
beforeunloadDialog?: BeforeunloadDialogConfig;
|
|
12
|
-
}
|
|
13
|
-
export declare const HomeAppWorkspace: ({ onLogout, user, workspaces, launchpad, Loader, beforeunloadDialog, }: HomeAppWorkspaceProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { LaunchpadConfig, User } from '../io-connect-home/types';
|
|
3
|
-
export interface WorkspaceLogoProps {
|
|
4
|
-
onLogout?: () => void;
|
|
5
|
-
user?: User | null;
|
|
6
|
-
launchpad?: LaunchpadConfig;
|
|
7
|
-
icon?: React.ReactElement;
|
|
8
|
-
}
|
|
9
|
-
export declare const WorkspaceLogo: (props: WorkspaceLogoProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default WorkspaceLogo;
|
package/lib/icon/icon.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ActivationEvent } from '../../helpers/a11y';
|
|
3
|
-
export interface IconProps extends React.HTMLProps<HTMLSpanElement> {
|
|
4
|
-
name: string;
|
|
5
|
-
handleClick?: (e: ActivationEvent<HTMLSpanElement>) => void;
|
|
6
|
-
size?: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const Icon: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
9
|
-
export default Icon;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface ImgIconProps extends React.HTMLProps<HTMLImageElement> {
|
|
3
|
-
src: string;
|
|
4
|
-
size?: number;
|
|
5
|
-
crossOrigin?: '' | 'anonymous' | 'use-credentials';
|
|
6
|
-
}
|
|
7
|
-
export declare function ImgIcon(props: ImgIconProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default ImgIcon;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { LayoutSummary } from '../layouts-panel/types';
|
|
3
|
-
interface LaunchpadAPIProviderProps {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
setOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
6
|
-
isOpen: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const useLaunchpadAPI: () => {
|
|
9
|
-
close: () => void;
|
|
10
|
-
isOpen: boolean;
|
|
11
|
-
defaultLayout: LayoutSummary | null;
|
|
12
|
-
selectedLayout: LayoutSummary | null;
|
|
13
|
-
setDefaultLayout: (layout: LayoutSummary) => Promise<void>;
|
|
14
|
-
setSelectedLayout: (layout: LayoutSummary) => void;
|
|
15
|
-
isLayoutOperationBlocked: boolean;
|
|
16
|
-
setIsLayoutOperationBlocked: React.Dispatch<React.SetStateAction<boolean>>;
|
|
17
|
-
};
|
|
18
|
-
export declare const LaunchpadAPIProvider: ({ children, setOpen, isOpen }: LaunchpadAPIProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { User } from '../io-connect-home/types';
|
|
3
|
-
import { LaunchpadComponents } from './types';
|
|
4
|
-
export interface LaunchpadProps extends React.HTMLProps<HTMLDivElement> {
|
|
5
|
-
open: boolean;
|
|
6
|
-
setOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
7
|
-
onLogout?: () => void;
|
|
8
|
-
components?: LaunchpadComponents;
|
|
9
|
-
user?: User | null;
|
|
10
|
-
}
|
|
11
|
-
export declare function Launchpad(props: LaunchpadProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default Launchpad;
|
package/lib/launchpad/types.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface LaunchpadComponentsBasic {
|
|
3
|
-
NotificationsPanel?: React.ComponentType | null;
|
|
4
|
-
UserPanel?: React.ComponentType | null;
|
|
5
|
-
}
|
|
6
|
-
export type LaunchpadComponents = (LaunchpadComponentsBasic & {
|
|
7
|
-
sections?: never;
|
|
8
|
-
Sections?: never;
|
|
9
|
-
}) | (LaunchpadComponentsBasic & {
|
|
10
|
-
sections: React.ReactElement;
|
|
11
|
-
Sections?: never;
|
|
12
|
-
}) | (LaunchpadComponentsBasic & {
|
|
13
|
-
sections?: never;
|
|
14
|
-
Sections: React.ComponentType;
|
|
15
|
-
});
|
|
16
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Layout } from './types';
|
|
2
|
-
import { ContextMenuAction } from '../context-menu/types';
|
|
3
|
-
export declare const createLayoutContextMenuActions: (layout: Layout) => ContextMenuAction[];
|
|
4
|
-
export declare const createActionClickHandler: (callback: () => Promise<unknown> | void) => (event: React.MouseEvent) => Promise<void>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Notification } from './types';
|
|
3
|
-
interface LayoutActionsProps {
|
|
4
|
-
inputValue: string;
|
|
5
|
-
setNotification: React.Dispatch<React.SetStateAction<Notification | null>>;
|
|
6
|
-
className?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const LayoutActions: (props: LayoutActionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default LayoutActions;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Notification } from './types';
|
|
2
|
-
interface LayoutsNotificationProps extends Notification {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
declare const LayoutsNotification: ({ className, message, type }: LayoutsNotificationProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default LayoutsNotification;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface Layout {
|
|
3
|
-
name: string;
|
|
4
|
-
type: string;
|
|
5
|
-
isDefault?: boolean;
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export type LayoutSummary = Pick<Layout, 'name'>;
|
|
9
|
-
export type ActionType = 'save' | 'restore';
|
|
10
|
-
export interface Action {
|
|
11
|
-
type: ActionType;
|
|
12
|
-
label: string;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
15
|
-
testId?: string;
|
|
16
|
-
}
|
|
17
|
-
export interface Notification {
|
|
18
|
-
message: string;
|
|
19
|
-
type: 'success';
|
|
20
|
-
}
|
package/lib/login/index.d.ts
DELETED
package/lib/logo/logo.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ActiveSort, NotificationSeverity, SortKey } from './types';
|
|
2
|
-
export declare const SEVERITY_ORDER: readonly NotificationSeverity[];
|
|
3
|
-
export declare const SEVERITY_COLORS: {
|
|
4
|
-
[Severity in NotificationSeverity]: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const SORT_KEY: {
|
|
7
|
-
[Key in SortKey as Uppercase<Key>]: Key;
|
|
8
|
-
};
|
|
9
|
-
export declare const DEFAULT_SORT: ActiveSort;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { IOConnectBrowser } from '@interopio/browser';
|
|
2
|
-
interface NotificationProps {
|
|
3
|
-
notificationData: IOConnectBrowser.Notifications.NotificationData;
|
|
4
|
-
}
|
|
5
|
-
export declare const Notification: (props: NotificationProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default Notification;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface NotificationsIconProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
iconSize?: number;
|
|
4
|
-
}
|
|
5
|
-
export declare const NotificationsIcon: (props: NotificationsIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default NotificationsIcon;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IOConnectBrowser } from '@interopio/browser';
|
|
2
|
-
export type SortKey = 'timestamp' | 'severity';
|
|
3
|
-
export type ActiveSort = {
|
|
4
|
-
key: SortKey;
|
|
5
|
-
descending: boolean;
|
|
6
|
-
};
|
|
7
|
-
export type NotificationSeverity = NonNullable<IOConnectBrowser.Notifications.NotificationData['severity']>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { User } from '../io-connect-home/types';
|
|
3
|
-
import { LaunchpadComponents } from '../launchpad/types';
|
|
4
|
-
export interface LaunchpadSlidePanelProps {
|
|
5
|
-
icon?: React.ReactElement;
|
|
6
|
-
components?: LaunchpadComponents;
|
|
7
|
-
onLogout?: () => void;
|
|
8
|
-
user?: User | null;
|
|
9
|
-
}
|
|
10
|
-
export declare const LaunchpadSlidePanel: (props: LaunchpadSlidePanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface SlidePanelRenderPropsProps {
|
|
3
|
-
icon: React.ReactElement;
|
|
4
|
-
children: (props: {
|
|
5
|
-
open: boolean;
|
|
6
|
-
setOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
7
|
-
}) => React.ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare const SlidePanel: (props: SlidePanelRenderPropsProps) => import("react/jsx-runtime").JSX.Element;
|
package/lib/spinner/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './spinner';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { HTMLProps } from 'react';
|
|
2
|
-
import { User } from '../io-connect-home/types';
|
|
3
|
-
export interface SupportCardProps {
|
|
4
|
-
title?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
links?: HTMLProps<HTMLAnchorElement>[];
|
|
7
|
-
onLogout?: () => void;
|
|
8
|
-
user?: User | null;
|
|
9
|
-
}
|
|
10
|
-
export declare const SupportCard: ({ title, description, links, onLogout, user }: SupportCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default SupportCard;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface UserPanelIconProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
initials: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const UserPanelIcon: (props: UserPanelIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export default UserPanelIcon;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { User } from '../io-connect-home/types';
|
|
2
|
-
export interface UserPanelProps {
|
|
3
|
-
onLogout?: () => void;
|
|
4
|
-
user?: User | null;
|
|
5
|
-
}
|
|
6
|
-
export declare const UserPanel: ({ onLogout, user }: UserPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default UserPanel;
|
|
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
|