@mparticle/aquarium 1.61.0-operation-prism-shift.1 → 1.61.0-operation-prism-shift.3

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 (161) hide show
  1. package/dist/aquarium.js +27036 -0
  2. package/dist/aquarium.umd.cjs +252 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/src/components/UXPatterns/MoreActionsButton/MoreActionsButton.d.ts +18 -0
  5. package/dist/src/components/UXPatterns/UnauthorizedTooltip/UnauthorizedTooltip.d.ts +9 -0
  6. package/dist/src/components/data-display/Avatar/Avatar.d.ts +11 -0
  7. package/dist/src/components/data-display/Badge/Badge.d.ts +11 -0
  8. package/dist/src/components/data-display/Card/Card.d.ts +12 -0
  9. package/dist/src/components/data-display/Collapse/Collapse.d.ts +10 -0
  10. package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +11 -0
  11. package/dist/src/components/data-display/Empty/Empty.d.ts +36 -0
  12. package/dist/src/components/data-display/Image/Image.d.ts +11 -0
  13. package/dist/src/components/data-display/List/List.d.ts +9 -0
  14. package/dist/src/components/data-display/Popover/Popover.d.ts +5 -0
  15. package/dist/src/components/data-display/Segmented/Segmented.d.ts +7 -0
  16. package/dist/src/components/data-display/Table/Table.d.ts +21 -0
  17. package/dist/src/components/data-display/Tabs/Tabs.d.ts +10 -0
  18. package/dist/src/components/data-display/Tag/Tag.d.ts +13 -0
  19. package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +5 -0
  20. package/dist/src/components/data-display/Tour/Tour.d.ts +5 -0
  21. package/dist/src/components/data-entry/AutoComplete/AutoComplete.d.ts +5 -0
  22. package/dist/src/components/data-entry/Cascader/Cascader.d.ts +11 -0
  23. package/dist/src/components/data-entry/Checkbox/Checkbox.d.ts +11 -0
  24. package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +78 -0
  25. package/dist/src/components/data-entry/Form/Form.d.ts +28 -0
  26. package/dist/src/components/data-entry/Input/Input.d.ts +14 -0
  27. package/dist/src/components/data-entry/InputNumber/InputNumber.d.ts +5 -0
  28. package/dist/src/components/data-entry/QueryItem/Action.d.ts +10 -0
  29. package/dist/src/components/data-entry/QueryItem/Cascader.d.ts +27 -0
  30. package/dist/src/components/data-entry/QueryItem/NumberInput.d.ts +16 -0
  31. package/dist/src/components/data-entry/QueryItem/Qualifier.d.ts +16 -0
  32. package/dist/src/components/data-entry/QueryItem/QueryItem.d.ts +17 -0
  33. package/dist/src/components/data-entry/QueryItem/Text.d.ts +11 -0
  34. package/dist/src/components/data-entry/QueryItem/TextInput.d.ts +10 -0
  35. package/dist/src/components/data-entry/QueryItem/ValueSelector.d.ts +11 -0
  36. package/dist/src/components/data-entry/Radio/Radio.d.ts +11 -0
  37. package/dist/src/components/data-entry/Radio/RadioButton.d.ts +5 -0
  38. package/dist/src/components/data-entry/Radio/RadioGroup.d.ts +5 -0
  39. package/dist/src/components/data-entry/Select/Select.d.ts +14 -0
  40. package/dist/src/components/data-entry/Switch/Switch.d.ts +5 -0
  41. package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +11 -0
  42. package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +14 -0
  43. package/dist/src/components/data-entry/Upload/Upload.d.ts +16 -0
  44. package/dist/src/components/feedback/Alert/Alert.d.ts +13 -0
  45. package/dist/src/components/feedback/Drawer/Drawer.d.ts +5 -0
  46. package/dist/src/components/feedback/LoadingModal/LoadingModal.d.ts +8 -0
  47. package/dist/src/components/feedback/Message/Message.d.ts +23 -0
  48. package/dist/src/components/feedback/Modal/DeleteConfirmModal/DeleteConfirmModal.d.ts +14 -0
  49. package/dist/src/components/feedback/Modal/ErrorModal/ErrorModal.d.ts +9 -0
  50. package/dist/src/components/feedback/Modal/Modal.d.ts +16 -0
  51. package/dist/src/components/feedback/Notification/Notification.d.ts +22 -0
  52. package/dist/src/components/feedback/Popconfirm/Popconfirm.d.ts +5 -0
  53. package/dist/src/components/feedback/Progress/Progress.d.ts +5 -0
  54. package/dist/src/components/feedback/Result/Result.d.ts +17 -0
  55. package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +19 -0
  56. package/dist/src/components/feedback/Spin/Spin.d.ts +10 -0
  57. package/dist/src/components/general/Button/Button.d.ts +18 -0
  58. package/dist/src/components/general/FloatButton/FloatButton.d.ts +12 -0
  59. package/dist/src/components/general/Icon/ErrorStateIcon/ErrorStateIcon.d.ts +9 -0
  60. package/dist/src/components/general/Icon/Icon.d.ts +12 -0
  61. package/dist/src/components/general/Icon/SuccessStateIcon/SuccessStateIcon.d.ts +9 -0
  62. package/dist/src/components/general/Icon/WarningStateIcon/WarningStateIcon.d.ts +9 -0
  63. package/dist/src/components/general/Typography/Typography.d.ts +35 -0
  64. package/dist/src/components/general/Typography/colors.d.ts +3 -0
  65. package/dist/src/components/icons/index.d.ts +140 -0
  66. package/dist/src/components/index.d.ts +99 -0
  67. package/dist/src/components/layout/Center/Center.d.ts +3 -0
  68. package/dist/src/components/layout/Divider/Divider.d.ts +5 -0
  69. package/dist/src/components/layout/Flex/Flex.d.ts +5 -0
  70. package/dist/src/components/layout/Grid/Grid.d.ts +6 -0
  71. package/dist/src/components/layout/Layout/Layout.d.ts +13 -0
  72. package/dist/src/components/layout/Space/Space.d.ts +11 -0
  73. package/dist/src/components/layout/Splitter/Splitter.d.ts +23 -0
  74. package/dist/src/components/navigation/Anchor/Anchor.d.ts +10 -0
  75. package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +12 -0
  76. package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +11 -0
  77. package/dist/src/components/navigation/GlobalNavigation/GlobalNavigation.d.ts +46 -0
  78. package/dist/src/components/navigation/GlobalNavigation/HomeButton.d.ts +6 -0
  79. package/dist/src/components/navigation/GlobalNavigation/NavigationButtonItem.d.ts +9 -0
  80. package/dist/src/components/navigation/GlobalNavigation/NavigationCreate.d.ts +20 -0
  81. package/dist/src/components/navigation/GlobalNavigation/NavigationIcon.d.ts +11 -0
  82. package/dist/src/components/navigation/GlobalNavigation/NavigationItem.d.ts +15 -0
  83. package/dist/src/components/navigation/GlobalNavigation/NavigationList.d.ts +6 -0
  84. package/dist/src/components/navigation/GlobalNavigation/NavigationMenu.d.ts +6 -0
  85. package/dist/src/components/navigation/GlobalNavigation/NavigationSearch.d.ts +6 -0
  86. package/dist/src/components/navigation/GlobalNavigation/NotificationCenter.d.ts +9 -0
  87. package/dist/src/components/navigation/GlobalNavigation/SuiteLogo.d.ts +7 -0
  88. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelector.d.ts +11 -0
  89. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts +5 -0
  90. package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts +10 -0
  91. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceNoResults.d.ts +2 -0
  92. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts +12 -0
  93. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContent.d.ts +18 -0
  94. package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContentItems.d.ts +7 -0
  95. package/dist/src/components/navigation/GlobalNavigation/stories-utils.d.ts +2 -0
  96. package/dist/src/components/navigation/Menu/Menu.d.ts +24 -0
  97. package/dist/src/components/navigation/Pagination/Pagination.d.ts +5 -0
  98. package/dist/src/components/navigation/Steps/Steps.d.ts +5 -0
  99. package/dist/src/components/not-prod-ready/Affix/Affix.d.ts +5 -0
  100. package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +13 -0
  101. package/dist/src/components/not-prod-ready/Carousel/Carousel.d.ts +5 -0
  102. package/dist/src/components/not-prod-ready/ColorPicker/ColorPicker.d.ts +5 -0
  103. package/dist/src/components/not-prod-ready/QRCode/QRCode.d.ts +5 -0
  104. package/dist/src/components/not-prod-ready/Rate/Rate.d.ts +5 -0
  105. package/dist/src/components/not-prod-ready/Slider/Slider.d.ts +5 -0
  106. package/dist/src/components/not-prod-ready/Statistic/Statistic.d.ts +15 -0
  107. package/dist/src/components/not-prod-ready/Timeline/Timeline.d.ts +10 -0
  108. package/dist/src/components/not-prod-ready/Transfer/Transfer.d.ts +16 -0
  109. package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +19 -0
  110. package/dist/src/components/not-prod-ready/Watermark/Watermark.d.ts +5 -0
  111. package/dist/src/constants/ChartColors.d.ts +1 -0
  112. package/dist/src/constants/ChartConfig.d.ts +8 -0
  113. package/dist/src/constants/Icons.d.ts +2 -0
  114. package/dist/src/hooks/NewExperienceReminder/useNewExperienceReminder.d.ts +14 -0
  115. package/dist/src/hooks/useInitData.d.ts +1 -0
  116. package/dist/src/hooks/useMount.d.ts +1 -0
  117. package/dist/src/hooks/useUnMount.d.ts +1 -0
  118. package/dist/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.d.ts +9 -0
  119. package/dist/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.spec.d.ts +1 -0
  120. package/dist/src/services/user-preferences/composite-user-preferences-service/index.d.ts +1 -0
  121. package/dist/src/services/user-preferences/index.d.ts +1 -0
  122. package/dist/src/services/user-preferences/models/definitions/index.d.ts +4 -0
  123. package/dist/src/services/user-preferences/models/definitions/user-preference-definition.d.ts +5 -0
  124. package/dist/src/services/user-preferences/models/definitions/user-preference-definitions.d.ts +4 -0
  125. package/dist/src/services/user-preferences/models/definitions/user-preference-per-scope.d.ts +4 -0
  126. package/dist/src/services/user-preferences/models/definitions/user-preference-scope-type.d.ts +6 -0
  127. package/dist/src/services/user-preferences/models/storage-models/index.d.ts +1 -0
  128. package/dist/src/services/user-preferences/models/storage-models/user-preference-scope.d.ts +8 -0
  129. package/dist/src/services/user-preferences/user-preferences-service.d.ts +19 -0
  130. package/dist/src/services/user-preferences/user-preferences-service.spec.d.ts +26 -0
  131. package/dist/src/shared/Operation.d.ts +178 -0
  132. package/dist/src/shared/Paths.d.ts +146 -0
  133. package/dist/src/shared/Suite.d.ts +9 -0
  134. package/dist/src/shared/UserPreferences.d.ts +12 -0
  135. package/dist/src/shared/Utils.d.ts +4 -0
  136. package/dist/src/shared/services/AudiencePermissionsService.d.ts +9 -0
  137. package/dist/src/shared/services/AuthorizationsService.d.ts +6 -0
  138. package/dist/src/shared/services/FeatureFlagsService.d.ts +54 -0
  139. package/dist/src/shared/services/InitializationService.d.ts +4 -0
  140. package/dist/src/shared/services/NavigationItemsService.d.ts +55 -0
  141. package/dist/src/shared/services/RoutesAuthorizationsService.d.ts +12 -0
  142. package/dist/src/shared/services/routeAuthorizations/anaytics-authorizations.d.ts +6 -0
  143. package/dist/src/shared/services/routeAuthorizations/base-routes-authorizations.d.ts +7 -0
  144. package/dist/src/shared/services/routeAuthorizations/customer-360-authorizations.d.ts +11 -0
  145. package/dist/src/shared/services/routeAuthorizations/data-platform-authorizations.d.ts +22 -0
  146. package/dist/src/shared/services/routeAuthorizations/data-warehouse-authorizations.d.ts +10 -0
  147. package/dist/src/shared/services/routeAuthorizations/oversight-authorizations.d.ts +13 -0
  148. package/dist/src/shared/services/routeAuthorizations/root-authorizations.d.ts +10 -0
  149. package/dist/src/shared/services/routeAuthorizations/segmentation-authorizations.d.ts +10 -0
  150. package/dist/src/styles/style.d.ts +425 -0
  151. package/dist/src/types/icons.d.ts +14 -0
  152. package/dist/src/utils/Cookies.d.ts +15 -0
  153. package/dist/src/utils/ExampleStory.d.ts +9 -0
  154. package/dist/src/utils/GetGlobalToken.d.ts +2 -0
  155. package/dist/src/utils/debounce.d.ts +1 -0
  156. package/dist/src/utils/svg-prettifier/SvgPrettifier.d.ts +2 -0
  157. package/dist/src/utils/utils.d.ts +16 -0
  158. package/dist/src/utils/utils.spec.d.ts +1 -0
  159. package/dist/style.css +1 -0
  160. package/dist/style.ts +437 -0
  161. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import type { SplitterProps as AntSplitterProps } from 'antd/es/splitter';
3
+ import type { ReactNode } from 'react';
4
+ import { type PanelProps as AntPanelProps } from 'antd/es/splitter/interface';
5
+ export interface ISplitterProps extends AntSplitterProps {
6
+ children?: ReactNode;
7
+ }
8
+ export interface ISplitterPanelProps extends AntPanelProps {
9
+ children?: ReactNode;
10
+ defaultSize?: string | number;
11
+ size?: string | number;
12
+ min?: string | number;
13
+ max?: string | number;
14
+ collapsible?: boolean | {
15
+ start?: boolean;
16
+ end?: boolean;
17
+ };
18
+ resizable?: boolean;
19
+ }
20
+ export declare const Splitter: {
21
+ (props: ISplitterProps): JSX.Element;
22
+ Panel: (props: ISplitterPanelProps) => JSX.Element;
23
+ };
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+ import { JSX } from 'react/jsx-runtime';
3
+ /// <reference types="react" />
4
+ import { AnchorLinkProps, type AnchorProps as AntAnchorProps } from 'antd';
5
+ export interface IAnchorProps extends AntAnchorProps {
6
+ }
7
+ export declare const Anchor: {
8
+ (props: IAnchorProps): JSX.Element;
9
+ Link: FC<AnchorLinkProps>;
10
+ };
@@ -0,0 +1,12 @@
1
+ import { FC } from 'react';
2
+ import { JSX } from 'react/jsx-runtime';
3
+ /// <reference types="react" />
4
+ import { BreadcrumbItemProps, type BreadcrumbProps as AntBreadcrumbProps } from 'antd';
5
+ export interface IBreadcrumbProps extends AntBreadcrumbProps {
6
+ }
7
+ export declare const Breadcrumb: {
8
+ (props: IBreadcrumbProps): JSX.Element;
9
+ Item: FC<BreadcrumbItemProps> & {
10
+ __ANT_BREADCRUMB_ITEM: boolean;
11
+ };
12
+ };
@@ -0,0 +1,11 @@
1
+ import { DropdownButtonProps } from 'antd/es/dropdown';
2
+ import { FC } from 'react';
3
+ import { JSX } from 'react/jsx-runtime';
4
+ /// <reference types="react" />
5
+ import { type DropdownProps as AntDropdownProps } from 'antd';
6
+ export interface IDropdownProps extends AntDropdownProps {
7
+ }
8
+ export declare const Dropdown: {
9
+ (props: IDropdownProps): JSX.Element;
10
+ Button: FC<DropdownButtonProps>;
11
+ };
@@ -0,0 +1,46 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { INewExperienceReminderOptions, NewExperienceReminderHook, type IGlobalNavigationLogo, type INavigationOrg, type INavigationCreateProps, type IAvatarProps } from '../..';
3
+ import { type IGlobalNavigationItem, type ISuiteSelectorOptions } from './GlobalNavigationItems';
4
+ import { type INotificationCenterProps } from './NotificationCenter';
5
+ export interface NotificationActions {
6
+ onClose?: () => void;
7
+ onPreferencesClick?: () => void;
8
+ }
9
+ export interface IGlobalNavigationProps {
10
+ logo: IGlobalNavigationLogo;
11
+ tools: IGlobalNavigationItem[];
12
+ management: IGlobalNavigationItem[];
13
+ orgs?: INavigationOrg[];
14
+ createItems?: INavigationCreateProps['createItems'];
15
+ onSearchClick?: () => void;
16
+ /**
17
+ * @deprecated
18
+ * This will be removed once all the apps updated with unified nav.
19
+ */
20
+ onSuiteLogoClick?: () => void;
21
+ onMpHomeClick: () => void;
22
+ hideMpHome?: boolean;
23
+ /**
24
+ * @deprecated
25
+ * This will be removed once all the apps updated with unified nav.
26
+ */
27
+ showSuiteLogo?: boolean;
28
+ avatarOptions?: IAvatarProps;
29
+ navigationButtonItemOptions?: {
30
+ label: string;
31
+ onClick: () => void;
32
+ withoutContainer?: boolean;
33
+ };
34
+ /**
35
+ * @deprecated
36
+ * This will be removed once all the apps updated with unified nav.
37
+ */
38
+ suiteSelectorOptions?: ISuiteSelectorOptions;
39
+ notificationCenter?: INotificationCenterProps;
40
+ showUnifiedNavigation?: boolean;
41
+ }
42
+ export declare const GlobalNavWidth: 90;
43
+ export declare const GlobalNavigation: {
44
+ ({ showSuiteLogo, showUnifiedNavigation, ...props }: IGlobalNavigationProps): JSX.Element;
45
+ useNewExperienceReminder: (options: INewExperienceReminderOptions) => NewExperienceReminderHook;
46
+ };
@@ -0,0 +1,6 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ interface HomeButtonProps {
3
+ onMpHomeClick: () => void;
4
+ }
5
+ export declare function HomeButton(props: HomeButtonProps): JSX.Element;
6
+ export {};
@@ -0,0 +1,9 @@
1
+ import React, { type ReactNode } from 'react';
2
+ export interface INavigationButtonItemProps {
3
+ label: ReactNode;
4
+ onClick?: () => void;
5
+ withoutContainer?: boolean;
6
+ href?: string;
7
+ target?: '_blank' | '_self';
8
+ }
9
+ export declare const NavigationButtonItem: React.FC<INavigationButtonItemProps>;
@@ -0,0 +1,20 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type MenuItemGroupType, type MenuItemType } from '../..';
3
+ export interface INavigationCreateProps {
4
+ createItems: Array<INavigationCreateItem | INavigationCreateGroup>;
5
+ }
6
+ export interface INavigationCreateGroup extends Omit<MenuItemGroupType, 'key'> {
7
+ label: string;
8
+ type: 'group';
9
+ }
10
+ export interface INavigationCreateItem extends Omit<MenuItemType, 'key'> {
11
+ disabled?: boolean;
12
+ title: string;
13
+ description: string;
14
+ type?: undefined;
15
+ isLoading?: boolean;
16
+ isLocked?: boolean;
17
+ tooltip?: string;
18
+ onClick?: () => void;
19
+ }
20
+ export declare function NavigationCreate(props: INavigationCreateProps): JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type ReactNode } from 'react';
3
+ interface INavigationIconProps {
4
+ className?: string;
5
+ icon: ReactNode;
6
+ label: ReactNode;
7
+ hideLabel?: boolean;
8
+ onClick?: (e: React.MouseEvent) => void;
9
+ }
10
+ export declare function NavigationIcon(props: INavigationIconProps): JSX.Element;
11
+ export {};
@@ -0,0 +1,15 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type MouseEvent, type ReactNode } from 'react';
3
+ import { type IGlobalNavigationItem } from '../..';
4
+ import { type HrefOptions } from '../../../utils/utils';
5
+ export interface INavigationItemProps {
6
+ type: 'link' | 'menu';
7
+ icon?: ReactNode;
8
+ label?: ReactNode;
9
+ hideLabel?: boolean;
10
+ items?: IGlobalNavigationItem[];
11
+ isActive?: boolean;
12
+ onClick?: (e: MouseEvent) => void;
13
+ hrefOptions?: HrefOptions;
14
+ }
15
+ export declare function NavigationItem(props: INavigationItemProps): string | number | boolean | JSX.Element | Iterable<ReactNode> | null | undefined;
@@ -0,0 +1,6 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type IGlobalNavigationItem } from './GlobalNavigationItems';
3
+ export interface INavigationListProps {
4
+ items: IGlobalNavigationItem[];
5
+ }
6
+ export declare function NavigationList(props: INavigationListProps): JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type IGlobalNavigationItem } from './GlobalNavigationItems';
3
+ export interface INavigationMenuProps {
4
+ items: IGlobalNavigationItem[];
5
+ }
6
+ export declare function NavigationMenu(props: INavigationMenuProps): JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ interface INavigationSearchProps {
3
+ onClick: () => void;
4
+ }
5
+ export declare function NavigationSearch(props: INavigationSearchProps): JSX.Element;
6
+ export {};
@@ -0,0 +1,9 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type IButtonProps, type IPopoverProps } from '../..';
3
+ export interface INotificationCenterProps extends Omit<IPopoverProps, 'key' | 'trigger' | 'placement' | 'arrow' | 'overlayClassName' | 'title'> {
4
+ unreadMessages?: number;
5
+ onClose?: IButtonProps['onClick'];
6
+ onPreferencesClick?: IButtonProps['onClick'];
7
+ }
8
+ export declare const NotificationCenterZIndex = 9999;
9
+ export declare function NotificationCenter({ zIndex, onClose, onPreferencesClick, unreadMessages, ...props }: INotificationCenterProps): JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type IGlobalNavigationLogo, type ISuiteSelectorOptions } from './GlobalNavigationItems';
3
+ interface SuiteLogoProps extends IGlobalNavigationLogo {
4
+ suiteSelectorOptions?: ISuiteSelectorOptions;
5
+ }
6
+ export declare function SuiteLogo({ icon, label, type, onSuiteLogoClick, navSwitcherTourOptions, suiteSelectorOptions, }: SuiteLogoProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,11 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type ReactNode } from 'react';
3
+ import { type IPopoverProps } from '../../..';
4
+ import { type ISuiteSelectorOptions, type SuiteLink } from '../GlobalNavigationItems';
5
+ interface ISuiteSelectorProps extends IPopoverProps {
6
+ suiteSelectorOptions: ISuiteSelectorOptions;
7
+ onLinkClick: (link: SuiteLink) => void;
8
+ children: ReactNode;
9
+ }
10
+ export declare function SuiteSelector(props: ISuiteSelectorProps): JSX.Element;
11
+ export {};
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type ISuiteSelectorOptions } from '../GlobalNavigationItems';
3
+ type ISuiteSelectorContentProps = ISuiteSelectorOptions;
4
+ export declare function SuiteSelectorContent(props: ISuiteSelectorContentProps): JSX.Element;
5
+ export {};
@@ -0,0 +1,10 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type SuiteLink, type SuiteLinks } from '../GlobalNavigationItems';
3
+ interface ISuiteSelectorSuiteLinkProps {
4
+ link: SuiteLink;
5
+ onLinkClick: (link: SuiteLink) => void;
6
+ unauthorizedLinks?: SuiteLinks[];
7
+ activeLink: SuiteLinks;
8
+ }
9
+ export declare function SuiteSelectorSuiteLink(props: ISuiteSelectorSuiteLinkProps): JSX.Element;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ export declare const WorkspaceNoResults: () => JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type IAvatarProps, type INavigationOrg } from '../../..';
3
+ export interface IWorkspaceSelectorProps {
4
+ orgs: INavigationOrg[];
5
+ avatarOptions?: IAvatarProps;
6
+ navigationButtonItemOptions?: {
7
+ label: string;
8
+ onClick: () => void;
9
+ withoutContainer?: boolean;
10
+ };
11
+ }
12
+ export declare function WorkspaceSelector(props: IWorkspaceSelectorProps): JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type ChangeEvent, type RefObject } from 'react';
3
+ import { type InputRef, type IWorkspaceSelectorDisplayItem } from '../../..';
4
+ type WorkspaceSelectorContentProps = {
5
+ onSearch: (e: ChangeEvent<HTMLInputElement>) => void;
6
+ searchTerm: string;
7
+ hasSearchInput: boolean;
8
+ inputRef: RefObject<InputRef>;
9
+ hasNoResults: boolean;
10
+ menuItems: IWorkspaceSelectorDisplayItem[];
11
+ navigationButtonItemOptions?: {
12
+ label: string;
13
+ onClick: () => void;
14
+ withoutContainer?: boolean;
15
+ };
16
+ };
17
+ export declare function WorkspaceSelectorContent(props: WorkspaceSelectorContentProps): JSX.Element;
18
+ export {};
@@ -0,0 +1,7 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type IWorkspaceSelectorDisplayItem } from '../../..';
3
+ type WorkspaceSelectorContentItemsProps = {
4
+ menuItems: IWorkspaceSelectorDisplayItem[];
5
+ };
6
+ export declare function WorkspaceSelectorContentItems({ menuItems }: WorkspaceSelectorContentItemsProps): JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import { type INavigationOrg } from '../..';
2
+ export declare function generateOrgs(orgs: number, accounts: number, workspaces: number): INavigationOrg[];
@@ -0,0 +1,24 @@
1
+ import { MenuDividerProps } from 'antd/es/menu';
2
+ import { MenuItemGroupProps } from 'rc-menu';
3
+ import { FC, FunctionComponent, ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
4
+ import { JSX } from 'react/jsx-runtime';
5
+ /// <reference types="react" />
6
+ import { SubMenuProps, MenuItemProps, type MenuProps } from 'antd';
7
+ import { type MenuProps as AntMenuProps } from 'antd';
8
+ import { type MenuInfo as RCMenuInfo } from 'rc-menu/lib/interface';
9
+ type AntDMenuItemType = Required<MenuProps>['items'][number];
10
+ type AntDMenuItemGroupType = Required<MenuProps>['items'][number];
11
+ type AntDMenuDividerType = Required<MenuProps>['items'][number];
12
+ type AntDSubMenuType = Required<MenuProps>['items'][number];
13
+ export interface IMenuProps extends AntMenuProps {
14
+ }
15
+ export interface IMenuInfo extends RCMenuInfo {
16
+ }
17
+ export { type AntDMenuItemType as MenuItemType, type AntDMenuItemGroupType as MenuItemGroupType, type AntDMenuDividerType as MenuDividerType, type AntDSubMenuType as SubMenuType, };
18
+ export declare const Menu: {
19
+ (props: IMenuProps): JSX.Element;
20
+ SubMenu: FC<SubMenuProps>;
21
+ Item: Omit<FunctionComponent<MenuItemProps>, ""> & (<T extends MenuItemProps>(props: T extends infer U extends MenuItemProps ? unknown extends U ? MenuItemProps : U : MenuItemProps, deprecatedLegacyContext?: any) => ReactNode);
22
+ ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref"> & RefAttributes<HTMLLIElement>>;
23
+ Divider: FC<MenuDividerProps>;
24
+ };
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type PaginationProps as AntPaginationProps } from 'antd';
3
+ export interface IPaginationProps extends AntPaginationProps {
4
+ }
5
+ export declare const Pagination: (props: IPaginationProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type StepsProps as AntStepsProps } from 'antd';
3
+ export interface IStepsProps extends AntStepsProps {
4
+ }
5
+ export declare const Steps: (props: IStepsProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type AffixProps as AntAffixProps } from 'antd';
3
+ export interface IAffixProps extends AntAffixProps {
4
+ }
5
+ export declare const Affix: (props: IAffixProps) => JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ import { GenerateConfig } from 'rc-picker/lib/generate';
3
+ import { AnyObject } from 'antd/es/_util/type';
4
+ import { JSX } from 'react/jsx-runtime';
5
+ /// <reference types="react" />
6
+ import { type CalendarProps as AntCalendarProps } from 'antd';
7
+ import { type Dayjs } from 'dayjs';
8
+ export interface ICalendarProps extends AntCalendarProps<Dayjs> {
9
+ }
10
+ export declare const Calendar: {
11
+ (props: ICalendarProps): JSX.Element;
12
+ generateCalendar: <DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>) => FC<Readonly<AntCalendarProps<DateType>>>;
13
+ };
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type CarouselProps as AntCarouselProps } from 'antd';
3
+ export interface ICarouselProps extends AntCarouselProps {
4
+ }
5
+ export declare const Carousel: (props: ICarouselProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import type { ColorPickerProps as AntColorPickerProps } from 'antd';
3
+ export interface IColorPickerProps extends AntColorPickerProps {
4
+ }
5
+ export declare const ColorPicker: (props: IColorPickerProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type QRCodeProps as AntQRCodeProps } from 'antd';
3
+ export interface IQRCodeProps extends AntQRCodeProps {
4
+ }
5
+ export declare const QRCode: (props: IQRCodeProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import type { RateProps as AntRateProps } from 'antd';
3
+ export interface IRateProps extends AntRateProps {
4
+ }
5
+ export declare const Rate: (props: IRateProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import { type SliderRangeProps } from 'antd/es/slider';
3
+ import { type SliderSingleProps } from 'antd/es/slider';
4
+ export type ISliderProps = SliderSingleProps | SliderRangeProps;
5
+ export declare const Slider: (props: ISliderProps) => JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { NamedExoticComponent } from 'react';
2
+ import { JSX } from 'react/jsx-runtime';
3
+ /// <reference types="react" />
4
+ import { type StatisticProps as AntStatisticProps } from 'antd';
5
+ import { type CountdownProps as AntCountdownProps } from 'antd';
6
+ import { type valueType as AntValueType } from 'antd/es/statistic/utils';
7
+ export interface IStatisticProps extends AntStatisticProps {
8
+ }
9
+ export interface ICountdownProps extends AntCountdownProps {
10
+ }
11
+ export type valueType = AntValueType;
12
+ export declare const Statistic: {
13
+ (props: IStatisticProps): JSX.Element;
14
+ Countdown: NamedExoticComponent<AntCountdownProps>;
15
+ };
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+ import { JSX } from 'react/jsx-runtime';
3
+ /// <reference types="react" />
4
+ import { TimelineItemProps, type TimelineProps as AntTimelineProps } from 'antd';
5
+ export interface ITimelineProps extends AntTimelineProps {
6
+ }
7
+ export declare const Timeline: {
8
+ (props: ITimelineProps): JSX.Element;
9
+ Item: FC<TimelineItemProps>;
10
+ };
@@ -0,0 +1,16 @@
1
+ import { JSX, FC } from 'react';
2
+ import { KeyWiseTransferItem, TransferListProps, TransferSearchProps, TransferOperationProps } from 'antd/es/transfer';
3
+ import { JSX } from 'react/jsx-runtime';
4
+ /// <reference types="react" />
5
+ import { type TransferProps as AntTransferProps } from 'antd';
6
+ export interface ITransferProps extends AntTransferProps {
7
+ }
8
+ export declare const Transfer: {
9
+ (props: ITransferProps): JSX.Element;
10
+ List: {
11
+ <RecordType extends KeyWiseTransferItem>(props: TransferListProps<RecordType>): JSX.Element;
12
+ displayName: string;
13
+ };
14
+ Search: FC<TransferSearchProps>;
15
+ Operation: FC<TransferOperationProps>;
16
+ };
@@ -0,0 +1,19 @@
1
+ import { TreeNodeProps } from 'rc-tree';
2
+ import { default as __DTS_1__ } from 'rc-tree/lib/Tree';
3
+ import { ReactNode, RefAttributes, ReactElement, JSXElementConstructor, FC } from 'react';
4
+ import { JSX } from 'react/jsx-runtime';
5
+ /// <reference types="react" />
6
+ import { type TreeDataNode } from 'antd';
7
+ import { type TreeProps as AntTreeProps } from 'antd';
8
+ import { DirectoryTreeProps, BasicDataNode, DataNode } from 'antd/es/tree';
9
+ export interface ITreeProps<T extends BasicDataNode = DataNode> extends AntTreeProps<T> {
10
+ }
11
+ export interface ITreeData extends TreeDataNode {
12
+ }
13
+ export declare const Tree: {
14
+ <T extends BasicDataNode = TreeDataNode>(props: ITreeProps<T>): JSX.Element;
15
+ DirectoryTree: (<T_1 extends BasicDataNode | TreeDataNode = TreeDataNode>(props: DirectoryTreeProps<T_1> & {
16
+ children?: ReactNode;
17
+ } & RefAttributes<__DTS_1__<TreeDataNode>>) => ReactElement<any, string | JSXElementConstructor<any>>) & Pick<FC<{}>, "displayName">;
18
+ TreeNode: FC<Readonly<TreeNodeProps<TreeDataNode>>>;
19
+ };
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+ import type { WatermarkProps as AntWatermarkProps } from 'antd';
3
+ export interface IWatermarkProps extends AntWatermarkProps {
4
+ }
5
+ export declare const Watermark: (props: IWatermarkProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const ChartColors: string[];
@@ -0,0 +1,8 @@
1
+ import { type Options } from 'highcharts';
2
+ export declare const ChartAxisStyle: {
3
+ readonly 'font-family': "'GT America', Helvetica, Arial, sans-serif";
4
+ readonly 'font-size': ".9em";
5
+ readonly 'font-weight': "initial";
6
+ readonly color: "rgba(56, 60, 67, 0.7)";
7
+ };
8
+ export declare const ChartConfig: Options;
@@ -0,0 +1,2 @@
1
+ import { type IconOptions, type IconNames } from '../types/icons';
2
+ export declare const Icons: Record<IconNames, IconOptions>;
@@ -0,0 +1,14 @@
1
+ import { type ReactNode } from 'react';
2
+ export interface INewExperienceReminderOptions {
3
+ onClose: () => void;
4
+ onRemindMeLater: () => void;
5
+ onTakeMeThere: () => void;
6
+ duration?: number;
7
+ title?: string;
8
+ message?: string;
9
+ }
10
+ type OpenNotificationFn = () => void;
11
+ type ContextHolder = ReactNode;
12
+ export type NewExperienceReminderHook = [OpenNotificationFn, ContextHolder];
13
+ export declare const useNewExperienceReminder: (options: INewExperienceReminderOptions) => NewExperienceReminderHook;
14
+ export {};
@@ -0,0 +1 @@
1
+ export declare function useInitData<T>(fetchData: () => Promise<T>): [boolean, boolean, T];
@@ -0,0 +1 @@
1
+ export declare const useMount: (mount: () => void) => void;
@@ -0,0 +1 @@
1
+ export declare const useUnMount: (unmount: () => void) => void;
@@ -0,0 +1,9 @@
1
+ import { UserPreferenceScopeType, type UserPreferenceDefinitions } from '../models/definitions';
2
+ import { type UserPreferenceScope } from '../models/storage-models';
3
+ import { type UserPreferencesPerScope } from '../models/definitions/user-preference-per-scope';
4
+ export declare class CompositeUserPreferencesService<T extends Record<string, unknown>> {
5
+ getScopedUserPreferences(userPreferencesPerScope: UserPreferencesPerScope<T>, currentScope: UserPreferenceScope, definitions: UserPreferenceDefinitions<T>): T;
6
+ getUpdatedUserPreferenceStorageObject<TKey extends keyof T>(userPreferenceKey: TKey, value: T[TKey], currentScope: UserPreferenceScope, currentPreferences: UserPreferencesPerScope<T>, allowedScope: UserPreferenceScopeType): UserPreferencesPerScope<T>;
7
+ private createUserPreferenceEntryFromDefinition;
8
+ private getEffectiveScope;
9
+ }
@@ -0,0 +1 @@
1
+ export * from './composite-user-preferences-service';
@@ -0,0 +1 @@
1
+ export * from './user-preferences-service';
@@ -0,0 +1,4 @@
1
+ export * from './user-preference-definition';
2
+ export * from './user-preference-definitions';
3
+ export * from './user-preference-scope-type';
4
+ export * from './user-preference-per-scope';
@@ -0,0 +1,5 @@
1
+ import { type UserPreferenceScopeType } from './user-preference-scope-type';
2
+ export type UserPreferenceDefinition<T> = {
3
+ allowedScope: UserPreferenceScopeType;
4
+ defaultValue: T;
5
+ };
@@ -0,0 +1,4 @@
1
+ import { type UserPreferenceDefinition } from './user-preference-definition';
2
+ export type UserPreferenceDefinitions<T> = {
3
+ [P in keyof T]: UserPreferenceDefinition<T[P]>;
4
+ };
@@ -0,0 +1,4 @@
1
+ import { type UserPreferenceScope } from '../storage-models';
2
+ export type UserPreferencesPerScope<T> = {
3
+ [K in UserPreferenceScope]?: T;
4
+ };
@@ -0,0 +1,6 @@
1
+ export declare enum UserPreferenceScopeType {
2
+ Global = 0,
3
+ LevelOneScope = 1,
4
+ LevelTwoScope = 2,
5
+ LevelThreeScope = 3
6
+ }
@@ -0,0 +1 @@
1
+ export * from './user-preference-scope';
@@ -0,0 +1,8 @@
1
+ export declare const USER_PREFERENCE_SCOPE_SEPARATOR = "-";
2
+ export declare const UserPreferenceGlobalScope: "global";
3
+ type UserPreferenceGlobalScopeType = `global`;
4
+ type UserPreferenceLevelOneScopeType = `${number}`;
5
+ type UserPreferenceLevelTwoScopeType = `${number}-${number}`;
6
+ type UserPreferenceLevelThreeScopeType = `${number}-${number}-${number}`;
7
+ export type UserPreferenceScope = UserPreferenceLevelOneScopeType | UserPreferenceLevelTwoScopeType | UserPreferenceLevelThreeScopeType | UserPreferenceGlobalScopeType;
8
+ export {};
@@ -0,0 +1,19 @@
1
+ import { type UserPreferenceScope } from './models/storage-models';
2
+ import { type CookieOptions } from '../../utils/Cookies';
3
+ import { type UserPreferenceDefinitions } from '../../components';
4
+ export declare class UserPreferencesService<T extends Record<string, unknown>> {
5
+ private readonly definitions;
6
+ private readonly currentScope;
7
+ private readonly cookieOptions;
8
+ private readonly onUpdate?;
9
+ private preferences;
10
+ private readonly compositeUserPreferencesService;
11
+ constructor(definitions: UserPreferenceDefinitions<T>, currentScope: UserPreferenceScope, cookieOptions: CookieOptions & {
12
+ key: string;
13
+ }, onUpdate?: ((resolvedPreferences: T) => void) | undefined);
14
+ getPreference<TKey extends keyof T, TValue extends T[TKey]>(key: TKey): Promise<TValue>;
15
+ setPreference<TKey extends keyof T, TValue extends T[TKey]>(key: TKey, value: TValue): Promise<void>;
16
+ init(): Promise<void>;
17
+ private getStoredPreferences;
18
+ private setStoredPreferences;
19
+ }