vrfi-design-system 1.0.60 → 1.0.62
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 +31 -18
- package/dist/main.es.js +21432 -19991
- package/dist/main.umd.js +159 -159
- 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';
|
|
@@ -34,6 +35,7 @@ import { FooterDetailsProps } from '../types/footerDetails';
|
|
|
34
35
|
import { FooterDetailsProps as FooterDetailsProps_2 } from '../../types/footerDetails';
|
|
35
36
|
import { GenderProfileEnum } from '../../enums/genderProfile.enum';
|
|
36
37
|
import { GenderProfileEnum as GenderProfileEnum_2 } from '../../../enums/genderProfile.enum';
|
|
38
|
+
import { HTMLAttributes } from 'react';
|
|
37
39
|
import { HtmlButtonType } from '../../enums/buttonType';
|
|
38
40
|
import { Icons } from '../../enums/icons.enum';
|
|
39
41
|
import { Icons as Icons_2 } from '../../../enums/icons.enum';
|
|
@@ -56,6 +58,8 @@ import { MouseEvent as MouseEvent_2 } from 'react';
|
|
|
56
58
|
import { NotificationTypes } from '../../enums/notificationTypes';
|
|
57
59
|
import { PasswordProps } from 'antd/es/input';
|
|
58
60
|
import { Placement } from '../../enums/placement';
|
|
61
|
+
import { default as Popover } from 'antd/lib/popover';
|
|
62
|
+
import { PopoverProps } from 'antd';
|
|
59
63
|
import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
|
|
60
64
|
import { PropsWithChildren } from 'react';
|
|
61
65
|
import { Radio as Radio_2 } from 'antd';
|
|
@@ -87,15 +91,14 @@ import { SwitchProps } from 'antd/lib/switch';
|
|
|
87
91
|
import { TableCurrentDataSource } from 'antd/lib/table/interface';
|
|
88
92
|
import { TablePaginationConfig } from 'antd/lib/table/interface';
|
|
89
93
|
import { TablePaginationConfig as TablePaginationConfig_2 } from 'antd';
|
|
90
|
-
import { TableProps } from 'antd
|
|
94
|
+
import { TableProps } from 'antd';
|
|
91
95
|
import { TableProps as TableProps_2 } from 'rc-table/lib/Table';
|
|
92
|
-
import { TableProps as TableProps_3 } from 'antd';
|
|
93
96
|
import { TableType } from '../../enums/tableType.enum';
|
|
94
97
|
import { TableType as TableType_2 } from '../../../enums/tableType.enum';
|
|
95
98
|
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
|
96
99
|
import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
|
|
97
100
|
import { TitleHeaderStatus as TitleHeaderStatus_2 } from '../../../enums/titleHeaderStatus.enum';
|
|
98
|
-
import {
|
|
101
|
+
import { TooltipProps } from 'antd/es/tooltip';
|
|
99
102
|
import { Typography } from 'antd';
|
|
100
103
|
import { TypographyProps } from 'antd';
|
|
101
104
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
@@ -199,6 +202,8 @@ declare interface CheckBoxWithFormWrapperProps {
|
|
|
199
202
|
|
|
200
203
|
export { Col }
|
|
201
204
|
|
|
205
|
+
export { Colors }
|
|
206
|
+
|
|
202
207
|
export { ColProps }
|
|
203
208
|
|
|
204
209
|
export { ColumnType }
|
|
@@ -247,6 +252,11 @@ export declare interface CustomInputProps {
|
|
|
247
252
|
rules?: RegisterOptions;
|
|
248
253
|
}
|
|
249
254
|
|
|
255
|
+
export declare interface CustomTooltipProps extends Omit<TooltipProps, 'title'> {
|
|
256
|
+
icon?: ReactNode;
|
|
257
|
+
title: ReactNode;
|
|
258
|
+
}
|
|
259
|
+
|
|
250
260
|
declare interface CustomUploadProps extends Omit<UploadProps, 'onChange'> {
|
|
251
261
|
value?: UploadFile_2[];
|
|
252
262
|
onChange: (fileList: UploadFile_2[]) => void | boolean;
|
|
@@ -433,6 +443,13 @@ export declare interface ListingTableHeaderProps {
|
|
|
433
443
|
actionButtons?: ReactNode;
|
|
434
444
|
}
|
|
435
445
|
|
|
446
|
+
export declare const ListItem: ({ text, iconName, ...props }: ListItemProps) => default_2.JSX.Element;
|
|
447
|
+
|
|
448
|
+
declare interface ListItemProps extends HTMLAttributes<HTMLSpanElement> {
|
|
449
|
+
text: string;
|
|
450
|
+
iconName: Icons_2;
|
|
451
|
+
}
|
|
452
|
+
|
|
436
453
|
export declare const Loader: default_2.FC<LoaderProps>;
|
|
437
454
|
|
|
438
455
|
export declare interface LoaderProps {
|
|
@@ -521,6 +538,10 @@ declare interface PathIconProps {
|
|
|
521
538
|
|
|
522
539
|
export { Placement }
|
|
523
540
|
|
|
541
|
+
export { Popover }
|
|
542
|
+
|
|
543
|
+
export { PopoverProps }
|
|
544
|
+
|
|
524
545
|
export declare const PreviewCard: default_2.FC<PreviewCardProps>;
|
|
525
546
|
|
|
526
547
|
declare interface PreviewCardProps {
|
|
@@ -674,9 +695,9 @@ export declare type tabItems = {
|
|
|
674
695
|
children: ReactNode;
|
|
675
696
|
};
|
|
676
697
|
|
|
677
|
-
export declare const Table: <T extends object>(props:
|
|
698
|
+
export declare const Table: <T extends object>(props: TableProps<T>) => default_2.JSX.Element;
|
|
678
699
|
|
|
679
|
-
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent,
|
|
700
|
+
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onTableRowEvents, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent, hoverColumn: HoverColumn, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
|
|
680
701
|
|
|
681
702
|
export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onRow"> {
|
|
682
703
|
dataSource?: T[];
|
|
@@ -684,17 +705,19 @@ export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onR
|
|
|
684
705
|
type?: TableType_2;
|
|
685
706
|
pagination?: false | TablePaginationConfig_2;
|
|
686
707
|
loading?: boolean;
|
|
708
|
+
onTableRowEvents?: TableProps<T>["onRow"];
|
|
687
709
|
onRow?: (record: T) => void;
|
|
688
710
|
rowClassName?: (record: T) => string;
|
|
689
711
|
scroll?: TableProps_2<T>["scroll"] & {
|
|
690
712
|
scrollToFirstRowOnChange?: boolean;
|
|
691
713
|
};
|
|
692
|
-
rowHoverable?: boolean;
|
|
693
714
|
onChange?: (pagination?: TablePaginationConfig_2, filters?: Record<string, FilterValue | null>, sorter?: SorterResult<T> | SorterResult<T>[], extra?: TableCurrentDataSource<T>) => void;
|
|
694
715
|
loadingCount?: number;
|
|
695
716
|
size?: SizeType;
|
|
696
717
|
noDataComponent?: default_2.ReactNode;
|
|
697
|
-
|
|
718
|
+
hoverColumn?: default_2.JSXElementConstructor<{
|
|
719
|
+
record: T;
|
|
720
|
+
}>;
|
|
698
721
|
}
|
|
699
722
|
|
|
700
723
|
export { TablePaginationConfig }
|
|
@@ -745,17 +768,7 @@ export declare interface TitleHeaderProps {
|
|
|
745
768
|
|
|
746
769
|
export { TitleHeaderStatus }
|
|
747
770
|
|
|
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
|
-
}
|
|
771
|
+
export declare const Tooltip: default_2.FC<CustomTooltipProps>;
|
|
759
772
|
|
|
760
773
|
export { Typography }
|
|
761
774
|
|