@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.
- package/dist/aquarium.js +27036 -0
- package/dist/aquarium.umd.cjs +252 -0
- package/dist/index.d.ts +1 -0
- package/dist/src/components/UXPatterns/MoreActionsButton/MoreActionsButton.d.ts +18 -0
- package/dist/src/components/UXPatterns/UnauthorizedTooltip/UnauthorizedTooltip.d.ts +9 -0
- package/dist/src/components/data-display/Avatar/Avatar.d.ts +11 -0
- package/dist/src/components/data-display/Badge/Badge.d.ts +11 -0
- package/dist/src/components/data-display/Card/Card.d.ts +12 -0
- package/dist/src/components/data-display/Collapse/Collapse.d.ts +10 -0
- package/dist/src/components/data-display/Descriptions/Descriptions.d.ts +11 -0
- package/dist/src/components/data-display/Empty/Empty.d.ts +36 -0
- package/dist/src/components/data-display/Image/Image.d.ts +11 -0
- package/dist/src/components/data-display/List/List.d.ts +9 -0
- package/dist/src/components/data-display/Popover/Popover.d.ts +5 -0
- package/dist/src/components/data-display/Segmented/Segmented.d.ts +7 -0
- package/dist/src/components/data-display/Table/Table.d.ts +21 -0
- package/dist/src/components/data-display/Tabs/Tabs.d.ts +10 -0
- package/dist/src/components/data-display/Tag/Tag.d.ts +13 -0
- package/dist/src/components/data-display/Tooltip/Tooltip.d.ts +5 -0
- package/dist/src/components/data-display/Tour/Tour.d.ts +5 -0
- package/dist/src/components/data-entry/AutoComplete/AutoComplete.d.ts +5 -0
- package/dist/src/components/data-entry/Cascader/Cascader.d.ts +11 -0
- package/dist/src/components/data-entry/Checkbox/Checkbox.d.ts +11 -0
- package/dist/src/components/data-entry/DatePicker/DatePicker.d.ts +78 -0
- package/dist/src/components/data-entry/Form/Form.d.ts +28 -0
- package/dist/src/components/data-entry/Input/Input.d.ts +14 -0
- package/dist/src/components/data-entry/InputNumber/InputNumber.d.ts +5 -0
- package/dist/src/components/data-entry/QueryItem/Action.d.ts +10 -0
- package/dist/src/components/data-entry/QueryItem/Cascader.d.ts +27 -0
- package/dist/src/components/data-entry/QueryItem/NumberInput.d.ts +16 -0
- package/dist/src/components/data-entry/QueryItem/Qualifier.d.ts +16 -0
- package/dist/src/components/data-entry/QueryItem/QueryItem.d.ts +17 -0
- package/dist/src/components/data-entry/QueryItem/Text.d.ts +11 -0
- package/dist/src/components/data-entry/QueryItem/TextInput.d.ts +10 -0
- package/dist/src/components/data-entry/QueryItem/ValueSelector.d.ts +11 -0
- package/dist/src/components/data-entry/Radio/Radio.d.ts +11 -0
- package/dist/src/components/data-entry/Radio/RadioButton.d.ts +5 -0
- package/dist/src/components/data-entry/Radio/RadioGroup.d.ts +5 -0
- package/dist/src/components/data-entry/Select/Select.d.ts +14 -0
- package/dist/src/components/data-entry/Switch/Switch.d.ts +5 -0
- package/dist/src/components/data-entry/TimePicker/TimePicker.d.ts +11 -0
- package/dist/src/components/data-entry/TreeSelect/TreeSelect.d.ts +14 -0
- package/dist/src/components/data-entry/Upload/Upload.d.ts +16 -0
- package/dist/src/components/feedback/Alert/Alert.d.ts +13 -0
- package/dist/src/components/feedback/Drawer/Drawer.d.ts +5 -0
- package/dist/src/components/feedback/LoadingModal/LoadingModal.d.ts +8 -0
- package/dist/src/components/feedback/Message/Message.d.ts +23 -0
- package/dist/src/components/feedback/Modal/DeleteConfirmModal/DeleteConfirmModal.d.ts +14 -0
- package/dist/src/components/feedback/Modal/ErrorModal/ErrorModal.d.ts +9 -0
- package/dist/src/components/feedback/Modal/Modal.d.ts +16 -0
- package/dist/src/components/feedback/Notification/Notification.d.ts +22 -0
- package/dist/src/components/feedback/Popconfirm/Popconfirm.d.ts +5 -0
- package/dist/src/components/feedback/Progress/Progress.d.ts +5 -0
- package/dist/src/components/feedback/Result/Result.d.ts +17 -0
- package/dist/src/components/feedback/Skeleton/Skeleton.d.ts +19 -0
- package/dist/src/components/feedback/Spin/Spin.d.ts +10 -0
- package/dist/src/components/general/Button/Button.d.ts +18 -0
- package/dist/src/components/general/FloatButton/FloatButton.d.ts +12 -0
- package/dist/src/components/general/Icon/ErrorStateIcon/ErrorStateIcon.d.ts +9 -0
- package/dist/src/components/general/Icon/Icon.d.ts +12 -0
- package/dist/src/components/general/Icon/SuccessStateIcon/SuccessStateIcon.d.ts +9 -0
- package/dist/src/components/general/Icon/WarningStateIcon/WarningStateIcon.d.ts +9 -0
- package/dist/src/components/general/Typography/Typography.d.ts +35 -0
- package/dist/src/components/general/Typography/colors.d.ts +3 -0
- package/dist/src/components/icons/index.d.ts +140 -0
- package/dist/src/components/index.d.ts +99 -0
- package/dist/src/components/layout/Center/Center.d.ts +3 -0
- package/dist/src/components/layout/Divider/Divider.d.ts +5 -0
- package/dist/src/components/layout/Flex/Flex.d.ts +5 -0
- package/dist/src/components/layout/Grid/Grid.d.ts +6 -0
- package/dist/src/components/layout/Layout/Layout.d.ts +13 -0
- package/dist/src/components/layout/Space/Space.d.ts +11 -0
- package/dist/src/components/layout/Splitter/Splitter.d.ts +23 -0
- package/dist/src/components/navigation/Anchor/Anchor.d.ts +10 -0
- package/dist/src/components/navigation/Breadcrumb/Breadcrumb.d.ts +12 -0
- package/dist/src/components/navigation/Dropdown/Dropdown.d.ts +11 -0
- package/dist/src/components/navigation/GlobalNavigation/GlobalNavigation.d.ts +46 -0
- package/dist/src/components/navigation/GlobalNavigation/HomeButton.d.ts +6 -0
- package/dist/src/components/navigation/GlobalNavigation/NavigationButtonItem.d.ts +9 -0
- package/dist/src/components/navigation/GlobalNavigation/NavigationCreate.d.ts +20 -0
- package/dist/src/components/navigation/GlobalNavigation/NavigationIcon.d.ts +11 -0
- package/dist/src/components/navigation/GlobalNavigation/NavigationItem.d.ts +15 -0
- package/dist/src/components/navigation/GlobalNavigation/NavigationList.d.ts +6 -0
- package/dist/src/components/navigation/GlobalNavigation/NavigationMenu.d.ts +6 -0
- package/dist/src/components/navigation/GlobalNavigation/NavigationSearch.d.ts +6 -0
- package/dist/src/components/navigation/GlobalNavigation/NotificationCenter.d.ts +9 -0
- package/dist/src/components/navigation/GlobalNavigation/SuiteLogo.d.ts +7 -0
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelector.d.ts +11 -0
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorContent.d.ts +5 -0
- package/dist/src/components/navigation/GlobalNavigation/SuiteSelector/SuiteSelectorSuiteLink.d.ts +10 -0
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceNoResults.d.ts +2 -0
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelector.d.ts +12 -0
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContent.d.ts +18 -0
- package/dist/src/components/navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorContentItems.d.ts +7 -0
- package/dist/src/components/navigation/GlobalNavigation/stories-utils.d.ts +2 -0
- package/dist/src/components/navigation/Menu/Menu.d.ts +24 -0
- package/dist/src/components/navigation/Pagination/Pagination.d.ts +5 -0
- package/dist/src/components/navigation/Steps/Steps.d.ts +5 -0
- package/dist/src/components/not-prod-ready/Affix/Affix.d.ts +5 -0
- package/dist/src/components/not-prod-ready/Calendar/Calendar.d.ts +13 -0
- package/dist/src/components/not-prod-ready/Carousel/Carousel.d.ts +5 -0
- package/dist/src/components/not-prod-ready/ColorPicker/ColorPicker.d.ts +5 -0
- package/dist/src/components/not-prod-ready/QRCode/QRCode.d.ts +5 -0
- package/dist/src/components/not-prod-ready/Rate/Rate.d.ts +5 -0
- package/dist/src/components/not-prod-ready/Slider/Slider.d.ts +5 -0
- package/dist/src/components/not-prod-ready/Statistic/Statistic.d.ts +15 -0
- package/dist/src/components/not-prod-ready/Timeline/Timeline.d.ts +10 -0
- package/dist/src/components/not-prod-ready/Transfer/Transfer.d.ts +16 -0
- package/dist/src/components/not-prod-ready/Tree/Tree.d.ts +19 -0
- package/dist/src/components/not-prod-ready/Watermark/Watermark.d.ts +5 -0
- package/dist/src/constants/ChartColors.d.ts +1 -0
- package/dist/src/constants/ChartConfig.d.ts +8 -0
- package/dist/src/constants/Icons.d.ts +2 -0
- package/dist/src/hooks/NewExperienceReminder/useNewExperienceReminder.d.ts +14 -0
- package/dist/src/hooks/useInitData.d.ts +1 -0
- package/dist/src/hooks/useMount.d.ts +1 -0
- package/dist/src/hooks/useUnMount.d.ts +1 -0
- package/dist/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.d.ts +9 -0
- package/dist/src/services/user-preferences/composite-user-preferences-service/composite-user-preferences-service.spec.d.ts +1 -0
- package/dist/src/services/user-preferences/composite-user-preferences-service/index.d.ts +1 -0
- package/dist/src/services/user-preferences/index.d.ts +1 -0
- package/dist/src/services/user-preferences/models/definitions/index.d.ts +4 -0
- package/dist/src/services/user-preferences/models/definitions/user-preference-definition.d.ts +5 -0
- package/dist/src/services/user-preferences/models/definitions/user-preference-definitions.d.ts +4 -0
- package/dist/src/services/user-preferences/models/definitions/user-preference-per-scope.d.ts +4 -0
- package/dist/src/services/user-preferences/models/definitions/user-preference-scope-type.d.ts +6 -0
- package/dist/src/services/user-preferences/models/storage-models/index.d.ts +1 -0
- package/dist/src/services/user-preferences/models/storage-models/user-preference-scope.d.ts +8 -0
- package/dist/src/services/user-preferences/user-preferences-service.d.ts +19 -0
- package/dist/src/services/user-preferences/user-preferences-service.spec.d.ts +26 -0
- package/dist/src/shared/Operation.d.ts +178 -0
- package/dist/src/shared/Paths.d.ts +146 -0
- package/dist/src/shared/Suite.d.ts +9 -0
- package/dist/src/shared/UserPreferences.d.ts +12 -0
- package/dist/src/shared/Utils.d.ts +4 -0
- package/dist/src/shared/services/AudiencePermissionsService.d.ts +9 -0
- package/dist/src/shared/services/AuthorizationsService.d.ts +6 -0
- package/dist/src/shared/services/FeatureFlagsService.d.ts +54 -0
- package/dist/src/shared/services/InitializationService.d.ts +4 -0
- package/dist/src/shared/services/NavigationItemsService.d.ts +55 -0
- package/dist/src/shared/services/RoutesAuthorizationsService.d.ts +12 -0
- package/dist/src/shared/services/routeAuthorizations/anaytics-authorizations.d.ts +6 -0
- package/dist/src/shared/services/routeAuthorizations/base-routes-authorizations.d.ts +7 -0
- package/dist/src/shared/services/routeAuthorizations/customer-360-authorizations.d.ts +11 -0
- package/dist/src/shared/services/routeAuthorizations/data-platform-authorizations.d.ts +22 -0
- package/dist/src/shared/services/routeAuthorizations/data-warehouse-authorizations.d.ts +10 -0
- package/dist/src/shared/services/routeAuthorizations/oversight-authorizations.d.ts +13 -0
- package/dist/src/shared/services/routeAuthorizations/root-authorizations.d.ts +10 -0
- package/dist/src/shared/services/routeAuthorizations/segmentation-authorizations.d.ts +10 -0
- package/dist/src/styles/style.d.ts +425 -0
- package/dist/src/types/icons.d.ts +14 -0
- package/dist/src/utils/Cookies.d.ts +15 -0
- package/dist/src/utils/ExampleStory.d.ts +9 -0
- package/dist/src/utils/GetGlobalToken.d.ts +2 -0
- package/dist/src/utils/debounce.d.ts +1 -0
- package/dist/src/utils/svg-prettifier/SvgPrettifier.d.ts +2 -0
- package/dist/src/utils/utils.d.ts +16 -0
- package/dist/src/utils/utils.spec.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/style.ts +437 -0
- package/package.json +1 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/components/index'
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type IDropdownProps, type IButtonProps, type IMenuProps } from '../..';
|
|
3
|
+
export type IMoreActionsButtonItem = NonNullable<IMenuProps['items']>[number];
|
|
4
|
+
export interface IMoreActionsButtonProps extends Omit<IDropdownProps, 'children' | 'menu'> {
|
|
5
|
+
/**
|
|
6
|
+
* Menu configuration for the dropdown - same as Dropdown component
|
|
7
|
+
*/
|
|
8
|
+
menuItems: IMenuProps;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the button is disabled
|
|
11
|
+
*/
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Additional props to pass to the Button component
|
|
15
|
+
*/
|
|
16
|
+
buttonProps?: Omit<IButtonProps, 'type' | 'icon' | 'disabled'>;
|
|
17
|
+
}
|
|
18
|
+
export declare const MoreActionsButton: React.FC<IMoreActionsButtonProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ITooltipProps } from '../..';
|
|
3
|
+
export interface IUnauthorizedTooltipProps extends Omit<ITooltipProps, 'title'> {
|
|
4
|
+
isAuthorized: boolean;
|
|
5
|
+
children: React.ReactElement;
|
|
6
|
+
unauthorizedMessage?: string;
|
|
7
|
+
maxWidth?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const UnauthorizedTooltip: React.FC<IUnauthorizedTooltipProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AvatarGroupProps } from 'antd/es/avatar/AvatarGroup';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type AvatarProps as AntAvatarProps } from 'antd';
|
|
6
|
+
export interface IAvatarProps extends AntAvatarProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const Avatar: {
|
|
9
|
+
(props: IAvatarProps): JSX.Element;
|
|
10
|
+
Group: FC<AvatarGroupProps>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RibbonProps } from 'antd/es/badge/Ribbon';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type BadgeProps as AntBadgeProps } from 'antd';
|
|
6
|
+
export interface IBadgeProps extends AntBadgeProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const Badge: {
|
|
9
|
+
(props: IBadgeProps): JSX.Element;
|
|
10
|
+
Ribbon: FC<RibbonProps>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CardMetaProps, CardGridProps } from 'antd/es/card';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type CardProps as AntCardProps } from 'antd';
|
|
6
|
+
export interface ICardProps extends AntCardProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const Card: {
|
|
9
|
+
(props: ICardProps): JSX.Element;
|
|
10
|
+
Meta: FC<CardMetaProps>;
|
|
11
|
+
Grid: FC<CardGridProps>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
/// <reference types="react" />
|
|
4
|
+
import { CollapsePanelProps, CollapseProps as AntCollapseProps } from 'antd';
|
|
5
|
+
export interface ICollapseProps extends AntCollapseProps {
|
|
6
|
+
}
|
|
7
|
+
export declare const Collapse: {
|
|
8
|
+
(props: ICollapseProps): JSX.Element;
|
|
9
|
+
Panel: ForwardRefExoticComponent<CollapsePanelProps & RefAttributes<HTMLDivElement>>;
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DescriptionsItemProps } from 'antd/es/descriptions/Item';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type DescriptionsProps as AntDescriptionsProps } from 'antd';
|
|
6
|
+
export interface IDescriptionsProps extends AntDescriptionsProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const Descriptions: {
|
|
9
|
+
(props: IDescriptionsProps): JSX.Element;
|
|
10
|
+
Item: FC<DescriptionsItemProps>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { type EmptyProps as AntEmptyProps } from 'antd';
|
|
4
|
+
export type EmptyState = 'empty' | 'error';
|
|
5
|
+
export interface IEmptyProps extends Omit<AntEmptyProps, 'description'> {
|
|
6
|
+
/** The state of the empty component - determines the icon and styling */
|
|
7
|
+
state?: EmptyState;
|
|
8
|
+
/** Title text - will be rendered with proper Typography */
|
|
9
|
+
title?: string;
|
|
10
|
+
/** Description text - will be rendered with proper Typography, or JSX for custom content (legacy) */
|
|
11
|
+
description?: string | React.ReactNode;
|
|
12
|
+
/** Button configuration - legacy single button support */
|
|
13
|
+
button?: {
|
|
14
|
+
text: string;
|
|
15
|
+
onClick: () => void;
|
|
16
|
+
type?: 'primary' | 'default';
|
|
17
|
+
icon?: React.ReactNode;
|
|
18
|
+
};
|
|
19
|
+
/** Primary button configuration */
|
|
20
|
+
primaryButton?: {
|
|
21
|
+
text: string;
|
|
22
|
+
onClick: () => void;
|
|
23
|
+
icon?: React.ReactNode;
|
|
24
|
+
};
|
|
25
|
+
/** Default button configuration */
|
|
26
|
+
defaultButton?: {
|
|
27
|
+
text: string;
|
|
28
|
+
onClick: () => void;
|
|
29
|
+
icon?: React.ReactNode;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export declare const Empty: {
|
|
33
|
+
(props: IEmptyProps): JSX.Element;
|
|
34
|
+
PRESENTED_IMAGE_DEFAULT: React.ReactNode;
|
|
35
|
+
PRESENTED_IMAGE_SIMPLE: React.ReactNode;
|
|
36
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GroupConsumerProps } from 'rc-image/lib/PreviewGroup';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type ImageProps as AntImageProps } from 'antd';
|
|
6
|
+
export interface IImageProps extends AntImageProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const Image: {
|
|
9
|
+
(props: IImageProps): JSX.Element;
|
|
10
|
+
PreviewGroup: FC<GroupConsumerProps>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ListItemTypeProps } from 'antd/es/list/Item';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import { type ListProps as AntListProps } from 'antd';
|
|
4
|
+
export interface IListProps<T> extends AntListProps<T> {
|
|
5
|
+
}
|
|
6
|
+
export declare function List<T>(props: IListProps<T>): JSX.Element;
|
|
7
|
+
export declare namespace List {
|
|
8
|
+
var Item: ListItemTypeProps;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { type SegmentedProps as AntSegmentedProps } from 'antd';
|
|
4
|
+
export interface ISegmentedProps extends AntSegmentedProps {
|
|
5
|
+
ref?: React.RefObject<HTMLDivElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const Segmented: (props: ISegmentedProps) => JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as __DTS_1__ } from 'rc-table/lib/Footer/Summary';
|
|
2
|
+
import { ColumnGroupProps } from 'antd/es/table/ColumnGroup';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
import { TableColumnProps, type TableProps as AntTableProps } from 'antd';
|
|
5
|
+
import { type AnyObject } from 'antd/es/_util/type';
|
|
6
|
+
import { type ColumnType, type ExpandableConfig } from 'antd/es/table/interface';
|
|
7
|
+
import { type ColumnsType, type TableProps } from 'antd/es/table';
|
|
8
|
+
export interface ITableProps<RecordType extends AnyObject = AnyObject> extends AntTableProps<RecordType> {
|
|
9
|
+
}
|
|
10
|
+
export type { ColumnType, ExpandableConfig, ColumnsType, TableProps };
|
|
11
|
+
export declare const Table: {
|
|
12
|
+
<RecordType extends AnyObject = AnyObject>({ className, ...props }: ITableProps<RecordType>): JSX.Element;
|
|
13
|
+
Column: <RecordType_1 extends AnyObject>(_: TableColumnProps<RecordType_1>) => null;
|
|
14
|
+
ColumnGroup: <RecordType_2 extends AnyObject>(_: ColumnGroupProps<RecordType_2>) => null;
|
|
15
|
+
Summary: typeof __DTS_1__;
|
|
16
|
+
EXPAND_COLUMN: {};
|
|
17
|
+
SELECTION_NONE: "SELECT_NONE";
|
|
18
|
+
SELECTION_ALL: "SELECT_ALL";
|
|
19
|
+
SELECTION_INVERT: "SELECT_INVERT";
|
|
20
|
+
SELECTION_COLUMN: {};
|
|
21
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
/// <reference types="react" />
|
|
4
|
+
import { TabPaneProps, type TabsProps as AntTabsProps } from 'antd';
|
|
5
|
+
export interface ITabsProps extends AntTabsProps {
|
|
6
|
+
}
|
|
7
|
+
export declare const Tabs: {
|
|
8
|
+
(props: ITabsProps): JSX.Element;
|
|
9
|
+
TabPane: FC<TabPaneProps>;
|
|
10
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import type { TagProps as AntTagProps } from 'antd';
|
|
4
|
+
import type { CheckableTagProps as AntCheckableTagProps } from 'antd/es/tag';
|
|
5
|
+
export interface ITagProps extends AntTagProps {
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
type CheckableTagProps = AntCheckableTagProps & ITagProps;
|
|
9
|
+
export declare const Tag: {
|
|
10
|
+
(props: ITagProps): JSX.Element;
|
|
11
|
+
CheckableTag: (props: CheckableTagProps) => JSX.Element;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type TooltipPropsWithTitle as AntTooltipPropsWithTitle } from 'antd/es/tooltip';
|
|
3
|
+
export interface ITooltipProps extends AntTooltipPropsWithTitle {
|
|
4
|
+
}
|
|
5
|
+
export declare const Tooltip: (props: ITooltipProps) => JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as __DTS_1__ } from 'antd/es/cascader/Panel';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import { type CascaderProps as AntCascaderProps } from 'antd';
|
|
4
|
+
import { type BaseOptionType } from 'antd/es/select';
|
|
5
|
+
export type ICascaderProps<DataNodeType extends BaseOptionType = any> = AntCascaderProps<DataNodeType>;
|
|
6
|
+
export declare const Cascader: {
|
|
7
|
+
(props: ICascaderProps): JSX.Element;
|
|
8
|
+
Panel: typeof __DTS_1__;
|
|
9
|
+
SHOW_PARENT: "SHOW_PARENT";
|
|
10
|
+
SHOW_CHILD: "SHOW_CHILD";
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { RefAttributes, ReactElement, JSXElementConstructor } from 'react';
|
|
2
|
+
import { CheckboxGroupProps } from 'antd/es/checkbox';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type CheckboxProps as AntCheckboxProps } from 'antd';
|
|
6
|
+
export interface ICheckboxProps extends AntCheckboxProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const Checkbox: {
|
|
9
|
+
(props: ICheckboxProps): JSX.Element;
|
|
10
|
+
Group: <T = any>(props: CheckboxGroupProps<T> & RefAttributes<HTMLDivElement>) => ReactElement<any, string | JSXElementConstructor<any>>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
import { ButtonSize } from 'antd/es/button';
|
|
3
|
+
import { RangePickerProps, PickerRef } from 'rc-picker';
|
|
4
|
+
import { ReactElement, JSXElementConstructor, ForwardRefExoticComponent, CSSProperties, RefAttributes } from 'react';
|
|
5
|
+
import { PickerProps, PickerLocale } from 'antd/es/date-picker/generatePicker';
|
|
6
|
+
import { PickerPropsWithMultiple, GenericTimePickerProps } from 'antd/es/date-picker/generatePicker/interface';
|
|
7
|
+
import { GenerateConfig } from 'rc-picker/lib/generate';
|
|
8
|
+
import { AnyObject } from 'antd/es/_util/type';
|
|
9
|
+
import { JSX } from 'react/jsx-runtime';
|
|
10
|
+
/// <reference types="react" />
|
|
11
|
+
import { type DatePickerProps as AntDatePickerProps } from 'antd';
|
|
12
|
+
import type { RangePickerProps as AntRangePickerProps } from 'antd/es/date-picker';
|
|
13
|
+
export interface IDatePickerProps extends AntDatePickerProps {
|
|
14
|
+
}
|
|
15
|
+
export interface IRangePickerProps extends AntRangePickerProps {
|
|
16
|
+
}
|
|
17
|
+
export declare const DatePicker: {
|
|
18
|
+
(props: IDatePickerProps): JSX.Element;
|
|
19
|
+
generatePicker: <DateType extends AnyObject = AnyObject>(generateConfig: GenerateConfig<DateType>) => (<ValueType = DateType>(props: PickerPropsWithMultiple<DateType, PickerProps<DateType>, ValueType>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
20
|
+
displayName?: string | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
displayName?: string | undefined;
|
|
23
|
+
WeekPicker: (<ValueType_1 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_1>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
24
|
+
displayName?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
MonthPicker: (<ValueType_2 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_2>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
27
|
+
displayName?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
YearPicker: (<ValueType_3 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_3>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
30
|
+
displayName?: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
RangePicker: ForwardRefExoticComponent<Omit<RangePickerProps<DateType>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
33
|
+
locale?: PickerLocale | undefined;
|
|
34
|
+
size?: ButtonSize;
|
|
35
|
+
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | undefined;
|
|
36
|
+
bordered?: boolean | undefined;
|
|
37
|
+
status?: "" | "warning" | "error" | undefined;
|
|
38
|
+
variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
39
|
+
dropdownClassName?: string | undefined;
|
|
40
|
+
popupClassName?: string | undefined;
|
|
41
|
+
rootClassName?: string | undefined;
|
|
42
|
+
popupStyle?: CSSProperties | undefined;
|
|
43
|
+
} & RefAttributes<PickerRef>>;
|
|
44
|
+
TimePicker: (<ValueType_4 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<GenericTimePickerProps<DateType>, "picker">, ValueType_4>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
45
|
+
displayName?: string | undefined;
|
|
46
|
+
};
|
|
47
|
+
QuarterPicker: (<ValueType_5 = DateType>(props: PickerPropsWithMultiple<DateType, Omit<PickerProps<DateType>, "picker">, ValueType_5>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
48
|
+
displayName?: string | undefined;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
QuarterPicker: (<ValueType_6 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_6>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
52
|
+
displayName?: string | undefined;
|
|
53
|
+
};
|
|
54
|
+
MonthPicker: (<ValueType_7 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_7>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
55
|
+
displayName?: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
RangePicker: ForwardRefExoticComponent<Omit<RangePickerProps<Dayjs>, "locale" | "generateConfig" | "hideHeader"> & {
|
|
58
|
+
locale?: PickerLocale | undefined;
|
|
59
|
+
size?: ButtonSize;
|
|
60
|
+
placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | undefined;
|
|
61
|
+
bordered?: boolean | undefined;
|
|
62
|
+
status?: "" | "warning" | "error" | undefined;
|
|
63
|
+
variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
64
|
+
dropdownClassName?: string | undefined;
|
|
65
|
+
popupClassName?: string | undefined;
|
|
66
|
+
rootClassName?: string | undefined;
|
|
67
|
+
popupStyle?: CSSProperties | undefined;
|
|
68
|
+
} & RefAttributes<PickerRef>>;
|
|
69
|
+
TimePicker: (<ValueType_8 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<GenericTimePickerProps<Dayjs>, "picker">, ValueType_8>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
70
|
+
displayName?: string | undefined;
|
|
71
|
+
};
|
|
72
|
+
WeekPicker: (<ValueType_9 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_9>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
73
|
+
displayName?: string | undefined;
|
|
74
|
+
};
|
|
75
|
+
YearPicker: (<ValueType_10 = Dayjs>(props: PickerPropsWithMultiple<Dayjs, Omit<PickerProps<Dayjs>, "picker">, ValueType_10>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
76
|
+
displayName?: string | undefined;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FormProviderProps } from 'antd/es/form/context';
|
|
2
|
+
import { FormListProps, ErrorListProps } from 'antd/es/form';
|
|
3
|
+
import { default as __DTS_2__ } from 'antd/es/form/hooks/useFormInstance';
|
|
4
|
+
import { default as __DTS_1__ } from 'rc-field-form/es/useWatch';
|
|
5
|
+
import { useForm } from 'antd/es/form/Form';
|
|
6
|
+
import { JSX } from 'react/jsx-runtime';
|
|
7
|
+
import { FormItemProps, type FormProps as AntFormProps } from 'antd';
|
|
8
|
+
import { ReactElement, JSXElementConstructor, FC, type ReactNode } from 'react';
|
|
9
|
+
export type { FormInstance } from 'antd';
|
|
10
|
+
export interface IFormProps<Values = any> extends AntFormProps<Values> {
|
|
11
|
+
children: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare const Form: {
|
|
14
|
+
<Values = any>(props: IFormProps<Values>): JSX.Element;
|
|
15
|
+
useForm: typeof useForm;
|
|
16
|
+
useWatch: typeof __DTS_1__;
|
|
17
|
+
useFormInstance: typeof __DTS_2__;
|
|
18
|
+
Item: (<Values_1 = any>(props: FormItemProps<Values_1>) => ReactElement<any, string | JSXElementConstructor<any>>) & {
|
|
19
|
+
useStatus: () => {
|
|
20
|
+
status?: "" | "success" | "warning" | "error" | "validating" | undefined;
|
|
21
|
+
errors: ReactNode[];
|
|
22
|
+
warnings: ReactNode[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
List: FC<FormListProps>;
|
|
26
|
+
Provider: FC<FormProviderProps>;
|
|
27
|
+
ErrorList: FC<ErrorListProps>;
|
|
28
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Input as AntInput } from 'antd';
|
|
2
|
+
import { type InputProps as AntInputProps } from 'antd';
|
|
3
|
+
import { type InputRef } from 'antd';
|
|
4
|
+
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
5
|
+
export { Input, type InputRef, type IInputProps };
|
|
6
|
+
interface IInputProps extends AntInputProps {
|
|
7
|
+
}
|
|
8
|
+
type CompoundedComponent = ForwardRefExoticComponent<IInputProps & RefAttributes<InputRef>> & {
|
|
9
|
+
Group: typeof AntInput.Group;
|
|
10
|
+
Search: typeof AntInput.Search;
|
|
11
|
+
TextArea: typeof AntInput.TextArea;
|
|
12
|
+
Password: typeof AntInput.Password;
|
|
13
|
+
};
|
|
14
|
+
declare const Input: CompoundedComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type IButtonProps } from '../..';
|
|
3
|
+
export interface IActionProps {
|
|
4
|
+
type?: 'disabled' | 'primary' | 'default';
|
|
5
|
+
text?: string;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
loading?: IButtonProps['loading'];
|
|
8
|
+
}
|
|
9
|
+
declare const Action: (props: IActionProps) => JSX.Element;
|
|
10
|
+
export default Action;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type DefaultOptionType } from 'antd/es/select';
|
|
3
|
+
import { type ReactNode } from 'react';
|
|
4
|
+
import { type ICascaderProps as IBaseCascaderProps } from '../..';
|
|
5
|
+
import { type Icons } from '../../../constants/Icons';
|
|
6
|
+
export interface ICascaderOption extends DefaultOptionType {
|
|
7
|
+
value: string;
|
|
8
|
+
label: ReactNode;
|
|
9
|
+
searchLabel?: string;
|
|
10
|
+
children?: ICascaderOption[];
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface IQueryItemCascaderProps {
|
|
14
|
+
options: ICascaderOption[];
|
|
15
|
+
icon?: keyof Pick<typeof Icons, 'empty' | 'event' | 'userAttribute' | 'eventAttribute'>;
|
|
16
|
+
errorMessage?: string;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
onChange?: (values: Array<number | string>, selectedOptions: any) => Promise<void>;
|
|
19
|
+
loadData?: (value: string) => Promise<void>;
|
|
20
|
+
value?: Array<number | string>;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
placement?: IBaseCascaderProps['placement'];
|
|
23
|
+
defaultOpen?: IBaseCascaderProps['defaultOpen'];
|
|
24
|
+
suffixIcon?: IBaseCascaderProps['suffixIcon'];
|
|
25
|
+
}
|
|
26
|
+
declare const Cascader: (props: IQueryItemCascaderProps) => JSX.Element;
|
|
27
|
+
export default Cascader;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
export interface INumberInputProps {
|
|
4
|
+
value?: number | undefined;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
errorMessage?: ReactNode;
|
|
7
|
+
autoFocus: boolean;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
min?: number;
|
|
10
|
+
max?: number;
|
|
11
|
+
step?: number;
|
|
12
|
+
onChange?: (value: number | undefined) => void;
|
|
13
|
+
onPressEnter?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
14
|
+
}
|
|
15
|
+
declare const NumberInput: (props: INumberInputProps) => JSX.Element;
|
|
16
|
+
export default NumberInput;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import type { DefaultOptionType } from 'antd/es/select';
|
|
3
|
+
export type IQueryItemQualifierOption = DefaultOptionType;
|
|
4
|
+
export interface IQueryItemQualifierProps {
|
|
5
|
+
options: IQueryItemQualifierOption[];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
errorMessage?: string;
|
|
8
|
+
onChange?: (value: IQueryItemQualifierOption | string | number | boolean) => void;
|
|
9
|
+
value?: IQueryItemQualifierOption | string | number | boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Not being used by the component, included here to fix runtime typing problems. Needs to be worked on
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const Qualifier: (props: IQueryItemQualifierProps) => JSX.Element;
|
|
16
|
+
export default Qualifier;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ITextProps } from './Text';
|
|
2
|
+
import { ITextInputProps, INumberInputProps, IQueryItemCascaderProps } from '../..';
|
|
3
|
+
import { IQueryItemQualifierProps } from './Qualifier';
|
|
4
|
+
import { IActionProps } from './Action';
|
|
5
|
+
import { JSX } from 'react/jsx-runtime';
|
|
6
|
+
export declare const QueryItem: {
|
|
7
|
+
(): JSX.Element;
|
|
8
|
+
Action: (props: IActionProps) => JSX.Element;
|
|
9
|
+
Qualifier: (props: IQueryItemQualifierProps) => JSX.Element;
|
|
10
|
+
ValueSelector: {
|
|
11
|
+
(): JSX.Element;
|
|
12
|
+
TextInput: (props: ITextInputProps) => JSX.Element;
|
|
13
|
+
NumberInput: (props: INumberInputProps) => JSX.Element;
|
|
14
|
+
Cascader: (props: IQueryItemCascaderProps) => JSX.Element;
|
|
15
|
+
};
|
|
16
|
+
Text: ({ disabled, text }: ITextProps) => JSX.Element;
|
|
17
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
export interface ITextProps {
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
text: string;
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Not being used by the component, included here to fix runtime typing problems. Needs to be worked on
|
|
7
|
+
*/
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const Text: ({ disabled, text }: ITextProps) => JSX.Element;
|
|
11
|
+
export default Text;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
export interface ITextInputProps {
|
|
3
|
+
value?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
errorMessage?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
onChange?: (value: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const TextInput: (props: ITextInputProps) => JSX.Element;
|
|
10
|
+
export default TextInput;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IQueryItemCascaderProps } from './Cascader';
|
|
2
|
+
import { INumberInputProps } from './NumberInput';
|
|
3
|
+
import { ITextInputProps } from './TextInput';
|
|
4
|
+
import { JSX } from 'react/jsx-runtime';
|
|
5
|
+
declare const ValueSelector: {
|
|
6
|
+
(): JSX.Element;
|
|
7
|
+
TextInput: (props: ITextInputProps) => JSX.Element;
|
|
8
|
+
NumberInput: (props: INumberInputProps) => JSX.Element;
|
|
9
|
+
Cascader: (props: IQueryItemCascaderProps) => JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
export default ValueSelector;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IRadioButtonProps } from './RadioButton';
|
|
2
|
+
import { IRadioGroupProps } from './RadioGroup';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
import { type RadioProps as AntRadioProps } from 'antd';
|
|
5
|
+
export interface IRadioProps extends AntRadioProps {
|
|
6
|
+
}
|
|
7
|
+
export declare const Radio: {
|
|
8
|
+
(props: IRadioProps): JSX.Element;
|
|
9
|
+
Group: (props: IRadioGroupProps) => JSX.Element;
|
|
10
|
+
Button: (props: IRadioButtonProps) => JSX.Element;
|
|
11
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
|
+
import { type RadioButtonProps as AntRadioGroupProps } from "antd/es/radio/radioButton";
|
|
3
|
+
export interface IRadioButtonProps extends AntRadioGroupProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const RadioButton: (props: IRadioButtonProps) => JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OptionGroupFC } from 'rc-select/lib/OptGroup';
|
|
2
|
+
import { OptionFC } from 'rc-select/lib/Option';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
import type { SelectProps as AntSelectProps } from 'antd';
|
|
5
|
+
import type { BaseOptionType as AntBaseOptionType, DefaultOptionType as AntDefaultOptionType } from 'antd/es/select';
|
|
6
|
+
export type SelectBaseOptionType = AntBaseOptionType;
|
|
7
|
+
export type SelectDefaultOptionType = AntDefaultOptionType;
|
|
8
|
+
export interface ISelectProps<SelectValueType = unknown, SelectOptionType extends SelectBaseOptionType | SelectDefaultOptionType = SelectDefaultOptionType> extends AntSelectProps<SelectValueType, SelectOptionType> {
|
|
9
|
+
}
|
|
10
|
+
export declare const Select: {
|
|
11
|
+
<SelectValueType, SelectOptionType extends AntBaseOptionType | AntDefaultOptionType = AntDefaultOptionType>(props: ISelectProps<SelectValueType, SelectOptionType>): JSX.Element;
|
|
12
|
+
Option: OptionFC;
|
|
13
|
+
OptGroup: OptionGroupFC;
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PickerRef } from 'rc-picker';
|
|
2
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { TimeRangePickerProps, type TimePickerProps as AntTimePickerProps } from 'antd';
|
|
6
|
+
export interface ITimePickerProps extends AntTimePickerProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const TimePicker: {
|
|
9
|
+
(props: ITimePickerProps): JSX.Element;
|
|
10
|
+
RangePicker: ForwardRefExoticComponent<TimeRangePickerProps & RefAttributes<PickerRef>>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TreeNodeProps } from 'rc-tree-select/lib/TreeNode';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type TreeSelectProps as AntTreeSelectProps } from 'antd';
|
|
6
|
+
export interface ITreeSelectProps extends AntTreeSelectProps {
|
|
7
|
+
}
|
|
8
|
+
export declare const TreeSelect: {
|
|
9
|
+
(props: ITreeSelectProps): JSX.Element;
|
|
10
|
+
TreeNode: FC<TreeNodeProps>;
|
|
11
|
+
SHOW_ALL: "SHOW_ALL";
|
|
12
|
+
SHOW_CHILD: "SHOW_CHILD";
|
|
13
|
+
SHOW_PARENT: "SHOW_PARENT";
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { UploadRef } from 'antd/es/upload/Upload';
|
|
2
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
|
+
import { JSX } from 'react/jsx-runtime';
|
|
4
|
+
/// <reference types="react" />
|
|
5
|
+
import { type UploadProps as AntUploadProps, type UploadFile as AntUploadFile } from 'antd';
|
|
6
|
+
export interface IUploadFileProps extends AntUploadFile {
|
|
7
|
+
}
|
|
8
|
+
export interface IUploadProps extends AntUploadProps {
|
|
9
|
+
}
|
|
10
|
+
export declare const Upload: {
|
|
11
|
+
(props: IUploadProps): JSX.Element;
|
|
12
|
+
Dragger: ForwardRefExoticComponent<AntUploadProps<any> & {
|
|
13
|
+
height?: number | undefined;
|
|
14
|
+
} & RefAttributes<UploadRef<any>>>;
|
|
15
|
+
LIST_IGNORE: string;
|
|
16
|
+
};
|