vrfi-design-system 1.0.60 → 1.0.61
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/index.d.ts +20 -16
- package/dist/main.es.js +20621 -19180
- package/dist/main.umd.js +139 -139
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { CheckboxChangeEvent } from 'antd/es/checkbox';
|
|
|
12
12
|
import { CheckboxGroupProps } from 'antd/es/checkbox';
|
|
13
13
|
import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
|
|
14
14
|
import { default as Col } from 'antd/lib/col';
|
|
15
|
+
import { Colors } from '../../enums/colors.enum';
|
|
15
16
|
import { ColProps } from 'antd/lib/col';
|
|
16
17
|
import { ColumnsType } from 'antd/es/table/InternalTable';
|
|
17
18
|
import { ColumnType } from 'antd/lib/table';
|
|
@@ -56,6 +57,8 @@ import { MouseEvent as MouseEvent_2 } from 'react';
|
|
|
56
57
|
import { NotificationTypes } from '../../enums/notificationTypes';
|
|
57
58
|
import { PasswordProps } from 'antd/es/input';
|
|
58
59
|
import { Placement } from '../../enums/placement';
|
|
60
|
+
import { default as Popover } from 'antd/lib/popover';
|
|
61
|
+
import { PopoverProps } from 'antd';
|
|
59
62
|
import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
|
|
60
63
|
import { PropsWithChildren } from 'react';
|
|
61
64
|
import { Radio as Radio_2 } from 'antd';
|
|
@@ -87,15 +90,14 @@ import { SwitchProps } from 'antd/lib/switch';
|
|
|
87
90
|
import { TableCurrentDataSource } from 'antd/lib/table/interface';
|
|
88
91
|
import { TablePaginationConfig } from 'antd/lib/table/interface';
|
|
89
92
|
import { TablePaginationConfig as TablePaginationConfig_2 } from 'antd';
|
|
90
|
-
import { TableProps } from 'antd
|
|
93
|
+
import { TableProps } from 'antd';
|
|
91
94
|
import { TableProps as TableProps_2 } from 'rc-table/lib/Table';
|
|
92
|
-
import { TableProps as TableProps_3 } from 'antd';
|
|
93
95
|
import { TableType } from '../../enums/tableType.enum';
|
|
94
96
|
import { TableType as TableType_2 } from '../../../enums/tableType.enum';
|
|
95
97
|
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
|
96
98
|
import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
|
|
97
99
|
import { TitleHeaderStatus as TitleHeaderStatus_2 } from '../../../enums/titleHeaderStatus.enum';
|
|
98
|
-
import {
|
|
100
|
+
import { TooltipProps } from 'antd/es/tooltip';
|
|
99
101
|
import { Typography } from 'antd';
|
|
100
102
|
import { TypographyProps } from 'antd';
|
|
101
103
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
@@ -199,6 +201,8 @@ declare interface CheckBoxWithFormWrapperProps {
|
|
|
199
201
|
|
|
200
202
|
export { Col }
|
|
201
203
|
|
|
204
|
+
export { Colors }
|
|
205
|
+
|
|
202
206
|
export { ColProps }
|
|
203
207
|
|
|
204
208
|
export { ColumnType }
|
|
@@ -247,6 +251,11 @@ export declare interface CustomInputProps {
|
|
|
247
251
|
rules?: RegisterOptions;
|
|
248
252
|
}
|
|
249
253
|
|
|
254
|
+
export declare interface CustomTooltipProps extends Omit<TooltipProps, 'title'> {
|
|
255
|
+
icon?: ReactNode;
|
|
256
|
+
title: ReactNode;
|
|
257
|
+
}
|
|
258
|
+
|
|
250
259
|
declare interface CustomUploadProps extends Omit<UploadProps, 'onChange'> {
|
|
251
260
|
value?: UploadFile_2[];
|
|
252
261
|
onChange: (fileList: UploadFile_2[]) => void | boolean;
|
|
@@ -521,6 +530,10 @@ declare interface PathIconProps {
|
|
|
521
530
|
|
|
522
531
|
export { Placement }
|
|
523
532
|
|
|
533
|
+
export { Popover }
|
|
534
|
+
|
|
535
|
+
export { PopoverProps }
|
|
536
|
+
|
|
524
537
|
export declare const PreviewCard: default_2.FC<PreviewCardProps>;
|
|
525
538
|
|
|
526
539
|
declare interface PreviewCardProps {
|
|
@@ -674,9 +687,9 @@ export declare type tabItems = {
|
|
|
674
687
|
children: ReactNode;
|
|
675
688
|
};
|
|
676
689
|
|
|
677
|
-
export declare const Table: <T extends object>(props:
|
|
690
|
+
export declare const Table: <T extends object>(props: TableProps<T>) => default_2.JSX.Element;
|
|
678
691
|
|
|
679
|
-
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent, rowHoverAction, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
|
|
692
|
+
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onTableRowEvents, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent, rowHoverAction, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
|
|
680
693
|
|
|
681
694
|
export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onRow"> {
|
|
682
695
|
dataSource?: T[];
|
|
@@ -684,6 +697,7 @@ export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onR
|
|
|
684
697
|
type?: TableType_2;
|
|
685
698
|
pagination?: false | TablePaginationConfig_2;
|
|
686
699
|
loading?: boolean;
|
|
700
|
+
onTableRowEvents?: TableProps<T>["onRow"];
|
|
687
701
|
onRow?: (record: T) => void;
|
|
688
702
|
rowClassName?: (record: T) => string;
|
|
689
703
|
scroll?: TableProps_2<T>["scroll"] & {
|
|
@@ -745,17 +759,7 @@ export declare interface TitleHeaderProps {
|
|
|
745
759
|
|
|
746
760
|
export { TitleHeaderStatus }
|
|
747
761
|
|
|
748
|
-
export declare const Tooltip: FC<
|
|
749
|
-
|
|
750
|
-
declare interface TooltipProps {
|
|
751
|
-
title: string;
|
|
752
|
-
arrowPointAtCenter?: boolean;
|
|
753
|
-
autoAdjustOverflow?: boolean;
|
|
754
|
-
placement?: tooltipPosition;
|
|
755
|
-
trigger?: 'hover' | 'focus' | 'click';
|
|
756
|
-
zIndex?: number;
|
|
757
|
-
children: JSX_2.Element;
|
|
758
|
-
}
|
|
762
|
+
export declare const Tooltip: default_2.FC<CustomTooltipProps>;
|
|
759
763
|
|
|
760
764
|
export { Typography }
|
|
761
765
|
|