@mparticle/aquarium 1.62.0-aquarium-2-blurple.2 → 1.62.0-aquarium-2-upgrade.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/dist/aquarium.js +3702 -5489
- package/dist/aquarium.umd.cjs +1 -75
- package/dist/index.d.ts +1 -0
- package/dist/src/components/UXPatterns/MoreActionsButton/MoreActionsButton.d.ts +2 -2
- package/dist/src/components/UXPatterns/PermissionsRestrictions/UnauthorizedTooltip.d.ts +2 -2
- package/dist/src/components/UXPatterns/StatisticsCard/StatisticsCard.d.ts +11 -0
- package/dist/src/components/data-display/Avatar/Avatar.d.ts +4 -7
- package/dist/src/components/data-display/Badge/Badge.d.ts +3 -5
- package/dist/src/components/data-display/Card/Card.d.ts +3 -5
- package/dist/src/components/data-display/Collapse/Collapse.d.ts +3 -5
- package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +3 -5
- package/dist/src/components/data-display/Empty/Empty.d.ts +3 -4
- package/dist/src/components/data-display/Image/Image.d.ts +3 -5
- package/dist/src/components/data-display/List/List.d.ts +3 -5
- package/dist/src/components/data-display/Popover/Popover.d.ts +2 -3
- package/dist/src/components/data-display/Segmented/Segmented.d.ts +2 -4
- package/dist/src/components/data-display/Table/Table.d.ts +13 -15
- package/dist/src/components/data-display/Tabs/Tabs.d.ts +2 -5
- package/dist/src/components/data-display/Tag/Tag.d.ts +4 -6
- package/dist/src/components/data-display/Tooltip/IconWithTooltip.d.ts +10 -0
- package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +2 -3
- package/dist/src/components/data-display/Tour/Tour.d.ts +2 -3
- package/dist/src/components/data-entry/AutoComplete/AutoComplete.d.ts +2 -3
- package/dist/src/components/data-entry/Cascader/Cascader.d.ts +5 -6
- package/dist/src/components/data-entry/Checkbox/Checkbox.d.ts +6 -10
- package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +55 -54
- package/dist/src/components/data-entry/Form/Form.d.ts +15 -15
- package/dist/src/components/data-entry/Input/Input.d.ts +2 -4
- package/dist/src/components/data-entry/InputNumber/InputNumber.d.ts +2 -3
- package/dist/src/components/data-entry/QueryItem/Action.d.ts +2 -3
- package/dist/src/components/data-entry/QueryItem/Cascader.d.ts +5 -6
- package/dist/src/components/data-entry/QueryItem/NumberInput.d.ts +2 -3
- package/dist/src/components/data-entry/QueryItem/Qualifier.d.ts +2 -3
- package/dist/src/components/data-entry/QueryItem/QueryItem.d.ts +11 -12
- package/dist/src/components/data-entry/QueryItem/Text.d.ts +1 -2
- package/dist/src/components/data-entry/QueryItem/TextInput.d.ts +1 -2
- package/dist/src/components/data-entry/QueryItem/ValueSelector.d.ts +6 -7
- package/dist/src/components/data-entry/Radio/Radio.d.ts +5 -6
- package/dist/src/components/data-entry/Radio/RadioButton.d.ts +2 -3
- package/dist/src/components/data-entry/Radio/RadioGroup.d.ts +2 -3
- package/dist/src/components/data-entry/Select/Select.d.ts +4 -5
- package/dist/src/components/data-entry/Switch/Switch.d.ts +2 -3
- package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +4 -6
- package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +3 -5
- package/dist/src/components/data-entry/Upload/Upload.d.ts +4 -6
- package/dist/src/components/feedback/Alert/Alert.d.ts +5 -6
- package/dist/src/components/feedback/Drawer/Drawer.d.ts +2 -3
- package/dist/src/components/feedback/LoadingModal/LoadingModal.d.ts +2 -4
- package/dist/src/components/feedback/Message/Message.d.ts +5 -9
- package/dist/src/components/feedback/Modal/DeleteConfirmModal/DeleteConfirmModal.d.ts +3 -4
- package/dist/src/components/feedback/Modal/ErrorModal/ErrorModal.d.ts +2 -2
- package/dist/src/components/feedback/Modal/Modal.d.ts +5 -6
- package/dist/src/components/feedback/Notification/Notification.d.ts +5 -9
- package/dist/src/components/feedback/Popconfirm/Popconfirm.d.ts +2 -3
- package/dist/src/components/feedback/Progress/Progress.d.ts +2 -3
- package/dist/src/components/feedback/Result/Result.d.ts +2 -4
- package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +7 -8
- package/dist/src/components/feedback/Spin/Spin.d.ts +3 -6
- package/dist/src/components/general/Button/Button.d.ts +9 -7
- package/dist/src/components/general/FloatButton/FloatButton.d.ts +5 -7
- package/dist/src/components/general/Icon/ErrorStateIcon/ErrorStateIcon.d.ts +1 -1
- package/dist/src/components/general/Icon/Icon.d.ts +2 -2
- package/dist/src/components/general/Icon/SuccessStateIcon/SuccessStateIcon.d.ts +1 -1
- package/dist/src/components/general/Icon/WarningStateIcon/WarningStateIcon.d.ts +1 -1
- package/dist/src/components/general/Typography/Typography.d.ts +11 -12
- package/dist/src/components/general/Typography/colors.d.ts +1 -1
- package/dist/src/components/icons/index.d.ts +140 -140
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/layout/Center/Center.d.ts +2 -3
- package/dist/src/components/layout/Divider/Divider.d.ts +2 -3
- package/dist/src/components/layout/Flex/Flex.d.ts +2 -3
- package/dist/src/components/layout/Grid/Grid.d.ts +1 -5
- package/dist/src/components/layout/Layout/Layout.d.ts +3 -5
- package/dist/src/components/layout/Space/Space.d.ts +3 -5
- package/dist/src/components/layout/Splitter/Splitter.d.ts +5 -6
- package/dist/src/components/navigation/Anchor/Anchor.d.ts +2 -4
- package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +2 -4
- package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +3 -5
- package/dist/src/components/navigation/GlobalNavigation/GlobalNavigation.d.ts +4 -5
- package/dist/src/components/navigation/GlobalNavigation/HomeButton.d.ts +1 -2
- package/dist/src/components/navigation/GlobalNavigation/NavigationButtonItem.d.ts +1 -1
- package/dist/src/components/navigation/GlobalNavigation/NavigationCreate.d.ts +2 -3
- package/dist/src/components/navigation/GlobalNavigation/NavigationIcon.d.ts +2 -3
- package/dist/src/components/navigation/GlobalNavigation/NavigationItem.d.ts +4 -5
- package/dist/src/components/navigation/GlobalNavigation/NavigationList.d.ts +2 -3
- package/dist/src/components/navigation/GlobalNavigation/NavigationMenu.d.ts +2 -3
- package/dist/src/components/navigation/GlobalNavigation/NavigationSearch.d.ts +1 -2
- package/dist/src/components/navigation/GlobalNavigation/NotificationCenter.d.ts +2 -3
- package/dist/src/components/navigation/GlobalNavigation/SuiteLogo.d.ts +2 -3
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelector.d.ts +4 -5
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts +2 -3
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts +2 -3
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceNoResults.d.ts +1 -2
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts +2 -3
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContent.d.ts +3 -4
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContentItems.d.ts +2 -3
- package/dist/src/components/navigation/GlobalNavigation/stories-utils.d.ts +1 -1
- package/dist/src/components/navigation/Menu/Menu.d.ts +7 -10
- package/dist/src/components/navigation/Pagination/Pagination.d.ts +2 -3
- package/dist/src/components/navigation/Steps/Steps.d.ts +2 -3
- package/dist/src/components/not-prod-ready/Affix/Affix.d.ts +2 -3
- package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +5 -7
- package/dist/src/components/not-prod-ready/Carousel/Carousel.d.ts +2 -3
- package/dist/src/components/not-prod-ready/ColorPicker/ColorPicker.d.ts +2 -3
- package/dist/src/components/not-prod-ready/QRCode/QRCode.d.ts +2 -3
- package/dist/src/components/not-prod-ready/Rate/Rate.d.ts +2 -3
- package/dist/src/components/not-prod-ready/Slider/Slider.d.ts +2 -4
- package/dist/src/components/not-prod-ready/Statistic/Statistic.d.ts +3 -6
- package/dist/src/components/not-prod-ready/Timeline/Timeline.d.ts +2 -4
- package/dist/src/components/not-prod-ready/Transfer/Transfer.d.ts +4 -6
- package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +7 -13
- package/dist/src/components/not-prod-ready/Watermark/Watermark.d.ts +2 -3
- package/dist/src/components/other/ConfigProvider/ConfigProvider.d.ts +4 -6
- package/dist/src/constants/ChartConfig.d.ts +1 -1
- package/dist/src/constants/Icons.d.ts +1 -1
- package/dist/src/hooks/NewExperienceReminder/useNewExperienceReminder.d.ts +1 -1
- package/dist/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.d.ts +3 -3
- package/dist/src/services/user-preferences/models/definitions/user-preference-definition.d.ts +1 -1
- package/dist/src/services/user-preferences/models/definitions/user-preference-definitions.d.ts +1 -1
- package/dist/src/services/user-preferences/models/definitions/user-preference-per-scope.d.ts +1 -1
- package/dist/src/services/user-preferences/user-preferences-service.d.ts +3 -3
- package/dist/src/services/user-preferences/user-preferences-service.spec.d.ts +4 -4
- package/dist/src/shared/services/AuthorizationsService.d.ts +1 -1
- package/dist/src/shared/services/NavigationItemsService.d.ts +1 -1
- package/dist/src/shared/services/RoutesAuthorizationsService.d.ts +1 -1
- package/dist/src/shared/services/routeAuthorizations/anaytics-authorizations.d.ts +2 -2
- package/dist/src/shared/services/routeAuthorizations/base-routes-authorizations.d.ts +2 -2
- package/dist/src/shared/services/routeAuthorizations/customer-360-authorizations.d.ts +2 -2
- package/dist/src/shared/services/routeAuthorizations/oversight-authorizations.d.ts +2 -2
- package/dist/src/types/icons.d.ts +1 -2
- package/dist/src/utils/Cookies.d.ts +1 -1
- package/dist/src/utils/ExampleStory.d.ts +1 -3
- package/dist/src/utils/GetGlobalToken.d.ts +0 -1
- package/dist/src/utils/debounce.d.ts +1 -1
- package/dist/src/utils/svg-prettifier/SvgPrettifier.d.ts +1 -2
- package/dist/src/utils/utils.d.ts +2 -2
- package/package.json +59 -65
- package/dist/style.css +0 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { type ISuiteSelectorOptions, type SuiteLink } from '../GlobalNavigationItems';
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IPopoverProps } from '../../..';
|
|
3
|
+
import { ISuiteSelectorOptions, SuiteLink } from '../GlobalNavigationItems';
|
|
5
4
|
interface ISuiteSelectorProps extends IPopoverProps {
|
|
6
5
|
suiteSelectorOptions: ISuiteSelectorOptions;
|
|
7
6
|
onLinkClick: (link: SuiteLink) => void;
|
|
8
7
|
children: ReactNode;
|
|
9
8
|
}
|
|
10
|
-
export declare function SuiteSelector(props: ISuiteSelectorProps): JSX.Element;
|
|
9
|
+
export declare function SuiteSelector(props: ISuiteSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type ISuiteSelectorOptions } from '../GlobalNavigationItems';
|
|
1
|
+
import { ISuiteSelectorOptions } from '../GlobalNavigationItems';
|
|
3
2
|
type ISuiteSelectorContentProps = ISuiteSelectorOptions;
|
|
4
|
-
export declare function SuiteSelectorContent(props: ISuiteSelectorContentProps): JSX.Element;
|
|
3
|
+
export declare function SuiteSelectorContent(props: ISuiteSelectorContentProps): import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export {};
|
package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type SuiteLink, type SuiteLinks } from '../GlobalNavigationItems';
|
|
1
|
+
import { SuiteLink, SuiteLinks } from '../GlobalNavigationItems';
|
|
3
2
|
interface ISuiteSelectorSuiteLinkProps {
|
|
4
3
|
link: SuiteLink;
|
|
5
4
|
onLinkClick: (link: SuiteLink) => void;
|
|
6
5
|
unauthorizedLinks?: SuiteLinks[];
|
|
7
6
|
activeLink: SuiteLinks;
|
|
8
7
|
}
|
|
9
|
-
export declare function SuiteSelectorSuiteLink(props: ISuiteSelectorSuiteLinkProps): JSX.Element;
|
|
8
|
+
export declare function SuiteSelectorSuiteLink(props: ISuiteSelectorSuiteLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export {};
|
package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceNoResults.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const WorkspaceNoResults: () => JSX.Element;
|
|
1
|
+
export declare const WorkspaceNoResults: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type IAvatarProps, type INavigationOrg } from '../../..';
|
|
1
|
+
import { IAvatarProps, INavigationOrg } from '../../..';
|
|
3
2
|
export interface IWorkspaceSelectorProps {
|
|
4
3
|
orgs: INavigationOrg[];
|
|
5
4
|
avatarOptions?: IAvatarProps;
|
|
@@ -9,4 +8,4 @@ export interface IWorkspaceSelectorProps {
|
|
|
9
8
|
withoutContainer?: boolean;
|
|
10
9
|
};
|
|
11
10
|
}
|
|
12
|
-
export declare function WorkspaceSelector(props: IWorkspaceSelectorProps): JSX.Element;
|
|
11
|
+
export declare function WorkspaceSelector(props: IWorkspaceSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { type InputRef, type IWorkspaceSelectorDisplayItem } from '../../..';
|
|
1
|
+
import { ChangeEvent, RefObject } from 'react';
|
|
2
|
+
import { InputRef, IWorkspaceSelectorDisplayItem } from '../../..';
|
|
4
3
|
type WorkspaceSelectorContentProps = {
|
|
5
4
|
onSearch: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
6
5
|
searchTerm: string;
|
|
@@ -14,5 +13,5 @@ type WorkspaceSelectorContentProps = {
|
|
|
14
13
|
withoutContainer?: boolean;
|
|
15
14
|
};
|
|
16
15
|
};
|
|
17
|
-
export declare function WorkspaceSelectorContent(props: WorkspaceSelectorContentProps): JSX.Element;
|
|
16
|
+
export declare function WorkspaceSelectorContent(props: WorkspaceSelectorContentProps): import("react/jsx-runtime").JSX.Element;
|
|
18
17
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type IWorkspaceSelectorDisplayItem } from '../../..';
|
|
1
|
+
import { IWorkspaceSelectorDisplayItem } from '../../..';
|
|
3
2
|
type WorkspaceSelectorContentItemsProps = {
|
|
4
3
|
menuItems: IWorkspaceSelectorDisplayItem[];
|
|
5
4
|
};
|
|
6
|
-
export declare function WorkspaceSelectorContentItems({ menuItems }: WorkspaceSelectorContentItemsProps): JSX.Element;
|
|
5
|
+
export declare function WorkspaceSelectorContentItems({ menuItems }: WorkspaceSelectorContentItemsProps): import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { INavigationOrg } from '../..';
|
|
2
2
|
export declare function generateOrgs(orgs: number, accounts: number, workspaces: number): INavigationOrg[];
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MenuProps, MenuProps as AntMenuProps, SubMenuProps, MenuItemProps } from 'antd';
|
|
2
|
+
import { MenuInfo as RCMenuInfo } from '@rc-component/menu/lib/interface';
|
|
3
|
+
import { FC, FunctionComponent, ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
4
|
import { MenuItemGroupProps } from '@rc-component/menu';
|
|
3
|
-
import {
|
|
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-component/menu/lib/interface';
|
|
5
|
+
import { MenuDividerProps } from 'antd/es/menu';
|
|
9
6
|
type AntDMenuItemType = Required<MenuProps>['items'][number];
|
|
10
7
|
type AntDMenuItemGroupType = Required<MenuProps>['items'][number];
|
|
11
8
|
type AntDMenuDividerType = Required<MenuProps>['items'][number];
|
|
@@ -16,9 +13,9 @@ export interface IMenuInfo extends RCMenuInfo {
|
|
|
16
13
|
}
|
|
17
14
|
export { type AntDMenuItemType as MenuItemType, type AntDMenuItemGroupType as MenuItemGroupType, type AntDMenuDividerType as MenuDividerType, type AntDSubMenuType as SubMenuType, };
|
|
18
15
|
export declare const Menu: {
|
|
19
|
-
(props: IMenuProps): JSX.Element;
|
|
16
|
+
(props: IMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
20
17
|
SubMenu: FC<SubMenuProps>;
|
|
21
|
-
Item: Omit<FunctionComponent<MenuItemProps>, ""> & (<T extends MenuItemProps>(props: T extends infer U extends MenuItemProps ? unknown extends U ? MenuItemProps : U : MenuItemProps
|
|
22
|
-
ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref"> & RefAttributes<HTMLLIElement>>;
|
|
18
|
+
Item: Omit< FunctionComponent<MenuItemProps>, ""> & (<T extends MenuItemProps>(props: T extends infer U extends MenuItemProps ? unknown extends U ? MenuItemProps : U : MenuItemProps) => ReturnType< FunctionComponent<MenuItemProps>>);
|
|
19
|
+
ItemGroup: ForwardRefExoticComponent<Omit< MenuItemGroupProps, "ref"> & RefAttributes<HTMLLIElement>>;
|
|
23
20
|
Divider: FC<MenuDividerProps>;
|
|
24
21
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type PaginationProps as AntPaginationProps } from 'antd';
|
|
1
|
+
import { PaginationProps as AntPaginationProps } from 'antd';
|
|
3
2
|
export interface IPaginationProps extends AntPaginationProps {
|
|
4
3
|
}
|
|
5
|
-
export declare const Pagination: (props: IPaginationProps) => JSX.Element;
|
|
4
|
+
export declare const Pagination: (props: IPaginationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type StepsProps as AntStepsProps } from 'antd';
|
|
1
|
+
import { StepsProps as AntStepsProps } from 'antd';
|
|
3
2
|
export interface IStepsProps extends AntStepsProps {
|
|
4
3
|
}
|
|
5
|
-
export declare const Steps: (props: IStepsProps) => JSX.Element;
|
|
4
|
+
export declare const Steps: (props: IStepsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type AffixProps as AntAffixProps } from 'antd';
|
|
1
|
+
import { AffixProps as AntAffixProps } from 'antd';
|
|
3
2
|
export interface IAffixProps extends AntAffixProps {
|
|
4
3
|
}
|
|
5
|
-
export declare const Affix: (props: IAffixProps) => JSX.Element;
|
|
4
|
+
export declare const Affix: (props: IAffixProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CalendarProps as AntCalendarProps } from 'antd';
|
|
2
|
+
import { Dayjs } from 'dayjs';
|
|
2
3
|
import { AnyObject } from 'antd/es/_util/type';
|
|
3
|
-
import {
|
|
4
|
-
/// <reference types="react" />
|
|
5
|
-
import { type CalendarProps as AntCalendarProps } from 'antd';
|
|
6
|
-
import { type Dayjs } from 'dayjs';
|
|
4
|
+
import { GenerateConfig } from '@rc-component/picker/generate';
|
|
7
5
|
export interface ICalendarProps extends AntCalendarProps<Dayjs> {
|
|
8
6
|
}
|
|
9
7
|
export declare const Calendar: {
|
|
10
|
-
(props: ICalendarProps): JSX.Element;
|
|
11
|
-
generateCalendar: <DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>) => FC<Readonly<AntCalendarProps<DateType>>>;
|
|
8
|
+
(props: ICalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
generateCalendar: <DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>) => React.FC<Readonly<AntCalendarProps<DateType>>>;
|
|
12
10
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type CarouselProps as AntCarouselProps } from 'antd';
|
|
1
|
+
import { CarouselProps as AntCarouselProps } from 'antd';
|
|
3
2
|
export interface ICarouselProps extends AntCarouselProps {
|
|
4
3
|
}
|
|
5
|
-
export declare const Carousel: (props: ICarouselProps) => JSX.Element;
|
|
4
|
+
export declare const Carousel: (props: ICarouselProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { ColorPickerProps as AntColorPickerProps } from 'antd';
|
|
1
|
+
import { ColorPickerProps as AntColorPickerProps } from 'antd';
|
|
3
2
|
export interface IColorPickerProps extends AntColorPickerProps {
|
|
4
3
|
}
|
|
5
|
-
export declare const ColorPicker: (props: IColorPickerProps) => JSX.Element;
|
|
4
|
+
export declare const ColorPicker: (props: IColorPickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type QRCodeProps as AntQRCodeProps } from 'antd';
|
|
1
|
+
import { QRCodeProps as AntQRCodeProps } from 'antd';
|
|
3
2
|
export interface IQRCodeProps extends AntQRCodeProps {
|
|
4
3
|
}
|
|
5
|
-
export declare const QRCode: (props: IQRCodeProps) => JSX.Element;
|
|
4
|
+
export declare const QRCode: (props: IQRCodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { RateProps as AntRateProps } from 'antd';
|
|
1
|
+
import { RateProps as AntRateProps } from 'antd';
|
|
3
2
|
export interface IRateProps extends AntRateProps {
|
|
4
3
|
}
|
|
5
|
-
export declare const Rate: (props: IRateProps) => JSX.Element;
|
|
4
|
+
export declare const Rate: (props: IRateProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type SliderRangeProps } from 'antd/es/slider';
|
|
3
|
-
import { type SliderSingleProps } from 'antd/es/slider';
|
|
1
|
+
import { SliderRangeProps, SliderSingleProps } from 'antd/es/slider';
|
|
4
2
|
export type ISliderProps = SliderSingleProps | SliderRangeProps;
|
|
5
|
-
export declare const Slider: (props: ISliderProps) => JSX.Element;
|
|
3
|
+
export declare const Slider: (props: ISliderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
+
import { StatisticProps as AntStatisticProps, CountdownProps as AntCountdownProps } from 'antd';
|
|
2
|
+
import { valueType as AntValueType } from 'antd/es/statistic/utils';
|
|
1
3
|
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
4
|
export interface IStatisticProps extends AntStatisticProps {
|
|
8
5
|
}
|
|
9
6
|
export interface ICountdownProps extends AntCountdownProps {
|
|
10
7
|
}
|
|
11
8
|
export type valueType = AntValueType;
|
|
12
9
|
export declare const Statistic: {
|
|
13
|
-
(props: IStatisticProps): JSX.Element;
|
|
10
|
+
(props: IStatisticProps): import("react/jsx-runtime").JSX.Element;
|
|
14
11
|
Countdown: NamedExoticComponent<AntCountdownProps>;
|
|
15
12
|
};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
+
import { TimelineProps as AntTimelineProps, TimelineItemProps } from 'antd';
|
|
1
2
|
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
3
|
export interface ITimelineProps extends AntTimelineProps {
|
|
6
4
|
}
|
|
7
5
|
export declare const Timeline: {
|
|
8
|
-
(props: ITimelineProps): JSX.Element;
|
|
6
|
+
(props: ITimelineProps): import("react/jsx-runtime").JSX.Element;
|
|
9
7
|
Item: FC<TimelineItemProps>;
|
|
10
8
|
};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TransferProps as AntTransferProps } from 'antd';
|
|
2
2
|
import { KeyWiseTransferItem, TransferListProps, TransferSearchProps, TransferOperationProps } from 'antd/es/transfer';
|
|
3
|
-
import {
|
|
4
|
-
/// <reference types="react" />
|
|
5
|
-
import { type TransferProps as AntTransferProps } from 'antd';
|
|
3
|
+
import { FC } from 'react';
|
|
6
4
|
export interface ITransferProps extends AntTransferProps {
|
|
7
5
|
}
|
|
8
6
|
export declare const Transfer: {
|
|
9
|
-
(props: ITransferProps): JSX.Element;
|
|
7
|
+
(props: ITransferProps): import("react/jsx-runtime").JSX.Element;
|
|
10
8
|
List: {
|
|
11
|
-
<RecordType extends KeyWiseTransferItem>(props: TransferListProps<RecordType>): JSX.Element;
|
|
9
|
+
<RecordType extends KeyWiseTransferItem>(props: TransferListProps<RecordType>): React.JSX.Element;
|
|
12
10
|
displayName: string;
|
|
13
11
|
};
|
|
14
12
|
Search: FC<TransferSearchProps>;
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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';
|
|
1
|
+
import { TreeDataNode, TreeProps as AntTreeProps } from 'antd';
|
|
2
|
+
import { BasicDataNode, DataNode, DirectoryTreeProps } from 'antd/es/tree';
|
|
3
|
+
import { default as __DTS_DEFAULT_0__, TreeNodeProps } from '@rc-component/tree';
|
|
4
|
+
import { FC } from 'react';
|
|
9
5
|
export interface ITreeProps<T extends BasicDataNode = DataNode> extends AntTreeProps<T> {
|
|
10
6
|
}
|
|
11
7
|
export interface ITreeData extends TreeDataNode {
|
|
12
8
|
}
|
|
13
9
|
export declare const Tree: {
|
|
14
|
-
<T extends BasicDataNode = TreeDataNode>(props: ITreeProps<T>): JSX.Element;
|
|
15
|
-
DirectoryTree: (<
|
|
16
|
-
|
|
17
|
-
} & RefAttributes<__DTS_1__<TreeDataNode>>) => ReactElement<any, string | JSXElementConstructor<any>>) & Pick<FC<{}>, "displayName">;
|
|
18
|
-
TreeNode: FC<Readonly<TreeNodeProps<TreeDataNode>>>;
|
|
10
|
+
<T extends BasicDataNode = TreeDataNode>(props: ITreeProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
DirectoryTree: (<T extends BasicDataNode | DataNode = TreeDataNode>(props: React.PropsWithChildren< DirectoryTreeProps<T>> & React.RefAttributes< __DTS_DEFAULT_0__>) => React.ReactElement) & Pick< FC<{}>, "displayName">;
|
|
12
|
+
TreeNode: FC<Readonly< TreeNodeProps<TreeDataNode>>>;
|
|
19
13
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { WatermarkProps as AntWatermarkProps } from 'antd';
|
|
1
|
+
import { WatermarkProps as AntWatermarkProps } from 'antd';
|
|
3
2
|
export interface IWatermarkProps extends AntWatermarkProps {
|
|
4
3
|
}
|
|
5
|
-
export declare const Watermark: (props: IWatermarkProps) => JSX.Element;
|
|
4
|
+
export declare const Watermark: (props: IWatermarkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ConfigProviderProps as AntConfigProviderProps, ConfigConsumerProps, GlobalConfigProps } from 'antd/es/config-provider';
|
|
2
2
|
import { Context } from 'react';
|
|
3
|
-
import {
|
|
4
|
-
/// <reference types="react" />
|
|
5
|
-
import { ConfigConsumerProps, GlobalConfigProps, type ConfigProviderProps as AntConfigProviderProps } from 'antd/es/config-provider';
|
|
3
|
+
import { default as __DTS_DEFAULT_0__ } from 'antd/es/config-provider/hooks/useConfig';
|
|
6
4
|
export interface IConfigProviderProps extends AntConfigProviderProps {
|
|
7
5
|
}
|
|
8
6
|
export declare const ConfigProvider: {
|
|
9
|
-
(props: IConfigProviderProps): JSX.Element;
|
|
7
|
+
(props: IConfigProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
8
|
ConfigContext: Context<ConfigConsumerProps>;
|
|
11
|
-
useConfig:
|
|
9
|
+
useConfig: __DTS_DEFAULT_0__;
|
|
12
10
|
config: (props: GlobalConfigProps) => void;
|
|
13
11
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IconOptions, IconNames } from '../types/icons';
|
|
2
2
|
export declare const Icons: Record<IconNames, IconOptions>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { UserPreferenceScopeType,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { UserPreferenceScopeType, UserPreferenceDefinitions } from '../models/definitions';
|
|
2
|
+
import { UserPreferenceScope } from '../models/storage-models';
|
|
3
|
+
import { UserPreferencesPerScope } from '../models/definitions/user-preference-per-scope';
|
|
4
4
|
export declare class CompositeUserPreferencesService<T extends Record<string, unknown>> {
|
|
5
5
|
getScopedUserPreferences(userPreferencesPerScope: UserPreferencesPerScope<T>, currentScope: UserPreferenceScope, definitions: UserPreferenceDefinitions<T>): T;
|
|
6
6
|
getUpdatedUserPreferenceStorageObject<TKey extends keyof T>(userPreferenceKey: TKey, value: T[TKey], currentScope: UserPreferenceScope, currentPreferences: UserPreferencesPerScope<T>, allowedScope: UserPreferenceScopeType): UserPreferencesPerScope<T>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { UserPreferenceScope } from './models/storage-models';
|
|
2
|
+
import { CookieOptions } from '../../utils/Cookies';
|
|
3
|
+
import { UserPreferenceDefinitions } from '../../components';
|
|
4
4
|
export declare class UserPreferencesService<T extends Record<string, unknown>> {
|
|
5
5
|
private readonly definitions;
|
|
6
6
|
private readonly currentScope;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UserPreferenceScope } from './models/storage-models/user-preference-scope';
|
|
2
2
|
import { UserPreferenceScopeType } from './models/definitions/user-preference-scope-type';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Sync } from 'factory.ts';
|
|
4
|
+
import { UserPreferenceDefinitions } from '../../components';
|
|
5
|
+
import { UserPreferencesPerScope } from './models/definitions/user-preference-per-scope';
|
|
6
6
|
export type TestType = {
|
|
7
7
|
Default: {
|
|
8
8
|
isOptedIn: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseRoutesAuthorizations } from
|
|
2
|
-
import { Suite } from
|
|
1
|
+
import { BaseRoutesAuthorizations } from './base-routes-authorizations';
|
|
2
|
+
import { Suite } from '../../Suite';
|
|
3
3
|
export declare class AnalyticsAuthorizations extends BaseRoutesAuthorizations {
|
|
4
4
|
protected suite: Suite;
|
|
5
5
|
protected getAuthorizations(): Record<string, boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Suite } from
|
|
2
|
-
import { RouteAuthorization } from
|
|
1
|
+
import { Suite } from '../../Suite';
|
|
2
|
+
import { RouteAuthorization } from '../RoutesAuthorizationsService';
|
|
3
3
|
export declare abstract class BaseRoutesAuthorizations {
|
|
4
4
|
protected abstract suite: Suite;
|
|
5
5
|
protected abstract getAuthorizations(): Record<string, boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Suite } from
|
|
2
|
-
import { BaseRoutesAuthorizations } from
|
|
1
|
+
import { Suite } from '../../Suite';
|
|
2
|
+
import { BaseRoutesAuthorizations } from './base-routes-authorizations';
|
|
3
3
|
export declare class Customer360Authorizations extends BaseRoutesAuthorizations {
|
|
4
4
|
protected suite: Suite;
|
|
5
5
|
protected getAuthorizations(): Record<string, boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseRoutesAuthorizations } from
|
|
2
|
-
import { Suite } from
|
|
1
|
+
import { BaseRoutesAuthorizations } from './base-routes-authorizations';
|
|
2
|
+
import { Suite } from '../../Suite';
|
|
3
3
|
export declare class OversightAuthorizations extends BaseRoutesAuthorizations {
|
|
4
4
|
protected suite: Suite;
|
|
5
5
|
protected getAuthorizations(): Record<string, boolean>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RequireOneOrNone } from 'type-fest';
|
|
2
2
|
export declare function get(key: string): string | null;
|
|
3
3
|
export declare function getAll(): Record<string, string>;
|
|
4
4
|
export declare function getObject(key: string): string | null;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { JSX } from 'react/jsx-runtime';
|
|
2
|
-
/// <reference types="react" />
|
|
3
1
|
interface IExampleStoryProps {
|
|
4
2
|
children: React.ReactNode;
|
|
5
3
|
title: React.ReactNode;
|
|
6
4
|
description?: React.ReactNode;
|
|
7
5
|
}
|
|
8
|
-
export declare function ExampleStory(props: IExampleStoryProps): JSX.Element;
|
|
6
|
+
export declare function ExampleStory(props: IExampleStoryProps): import("react/jsx-runtime").JSX.Element;
|
|
9
7
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const debounce: (callback: (...args: unknown[]) => void, wait: number) => (...args: unknown[]) => void;
|
|
1
|
+
export declare const debounce: (callback: (...args: unknown[]) => void, wait: number) => ((...args: unknown[]) => void);
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SVGPrettifier: () => JSX.Element;
|
|
1
|
+
export declare const SVGPrettifier: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export declare function getInitials(str?: string): string;
|
|
3
|
-
export declare const debounce: (callback: (...args: any[]) => void, wait: number) => (...args: unknown[]) => void;
|
|
3
|
+
export declare const debounce: (callback: (...args: any[]) => void, wait: number) => ((...args: unknown[]) => void);
|
|
4
4
|
type OSNames = 'Windows' | 'Macintosh' | 'Linux' | 'Android' | 'iOS' | 'Unknown OS';
|
|
5
5
|
export declare const getOS: () => OSNames;
|
|
6
6
|
export declare function hasImageAtSrc(src: string, hasImageSetter?: (hasImage: boolean) => void): Promise<boolean>;
|