vrfi-design-system 1.0.73 → 1.0.74
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 +38 -2
- package/dist/main.es.js +31310 -26489
- package/dist/main.umd.js +190 -164
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
|
|
|
16
16
|
import { default as Col } from 'antd/lib/col';
|
|
17
17
|
import { Colors } from '../../enums/colors.enum';
|
|
18
18
|
import { ColProps } from 'antd/lib/col';
|
|
19
|
+
import { ColumnSortOrder } from './../../enums/columnSortOrder.enum';
|
|
19
20
|
import { ColumnsType } from 'antd/es/table/InternalTable';
|
|
20
21
|
import { ColumnType } from 'antd/lib/table';
|
|
21
22
|
import { ComponentProps } from 'react';
|
|
@@ -45,6 +46,8 @@ import { Icons } from '../../enums/icons.enum';
|
|
|
45
46
|
import { Icons as Icons_2 } from '../../../enums/icons.enum';
|
|
46
47
|
import { InputProps } from 'antd/lib';
|
|
47
48
|
import { InputProps as InputProps_2 } from 'antd';
|
|
49
|
+
import { InputRef } from 'antd';
|
|
50
|
+
import { InputRef as InputRef_2 } from 'antd/lib/input';
|
|
48
51
|
import { InputTypes } from '../../enums/inputType.enum';
|
|
49
52
|
import { InputTypes as InputTypes_2 } from '../../../enums/inputType.enum';
|
|
50
53
|
import { JobTypeEnum } from '../../enums/jobType.enum';
|
|
@@ -55,17 +58,23 @@ import { LabelType } from './../../enums/labelType.enum';
|
|
|
55
58
|
import { LabelType as LabelType_2 } from '../../../enums/labelType.enum';
|
|
56
59
|
import { LoaderSizes } from '../../../enums/LoaderSizes';
|
|
57
60
|
import { MenuProps } from 'antd/lib';
|
|
61
|
+
import { Meta } from '../../models/Meta/meta.model';
|
|
62
|
+
import { Meta as Meta_2 } from '../../../models/Meta/meta.model';
|
|
58
63
|
import { MobileInputValue } from '../types/mobileInputValue.type';
|
|
59
64
|
import { MobileInputValue as MobileInputValue_2 } from '../../../types/mobileInputValue.type';
|
|
60
65
|
import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
|
|
61
66
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
62
67
|
import { NotificationTypes } from '../../enums/notificationTypes';
|
|
68
|
+
import { PaginationMeta } from '../../models/PaginationMeta/paginationMeta.model';
|
|
69
|
+
import { PaginationMeta as PaginationMeta_2 } from '../../../models/PaginationMeta/paginationMeta.model';
|
|
63
70
|
import { PasswordProps } from 'antd/es/input';
|
|
64
71
|
import { Placement } from '../../enums/placement';
|
|
65
72
|
import { default as Popover } from 'antd/lib/popover';
|
|
66
73
|
import { PopoverProps } from 'antd';
|
|
67
74
|
import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
|
|
68
75
|
import { PropsWithChildren } from 'react';
|
|
76
|
+
import { QueryParams } from '../../models/QueryParams/queryParams.model';
|
|
77
|
+
import { QueryParams as QueryParams_2 } from '../../../models/QueryParams/queryParams.model';
|
|
69
78
|
import { Radio as Radio_2 } from 'antd';
|
|
70
79
|
import { RadioChangeEvent } from 'antd';
|
|
71
80
|
import { RadioGroupProps } from 'antd';
|
|
@@ -87,6 +96,7 @@ import { SizeType as SizeType_2 } from 'antd/es/config-provider/SizeContext';
|
|
|
87
96
|
import { SkeletonProps } from 'antd';
|
|
88
97
|
import { SorterResult } from 'antd/lib/table/interface';
|
|
89
98
|
import { SortOrder } from 'antd/lib/table/interface';
|
|
99
|
+
import { SortOrderKeys } from './../../enums/sortOrderKeys.enum';
|
|
90
100
|
import { default as Space } from 'antd/lib/space';
|
|
91
101
|
import { StatusTypes } from '../../enums/statusTypes.enum';
|
|
92
102
|
import { StatusTypes as StatusTypes_2 } from '../../../enums/statusTypes.enum';
|
|
@@ -116,6 +126,7 @@ import { default as useForm } from '../hooks/useForm';
|
|
|
116
126
|
import { UseFormProps } from 'react-hook-form';
|
|
117
127
|
import { useFormProps } from '../hooks/useForm';
|
|
118
128
|
import { UseFormReturn } from 'react-hook-form';
|
|
129
|
+
import { UseInfiniteQueryOptions } from '@tanstack/react-query';
|
|
119
130
|
import { VerificationTypes } from '../../enums/verificationTypes.enum';
|
|
120
131
|
import { VerificationTypes as VerificationTypes_2 } from '../../../enums/verificationTypes.enum';
|
|
121
132
|
import * as Yup from 'yup';
|
|
@@ -231,6 +242,8 @@ export { Colors }
|
|
|
231
242
|
|
|
232
243
|
export { ColProps }
|
|
233
244
|
|
|
245
|
+
export { ColumnSortOrder }
|
|
246
|
+
|
|
234
247
|
export { ColumnType }
|
|
235
248
|
|
|
236
249
|
export declare const CustomAvatar: ({ name, size, imageUrl, isExtra }: CustomAvatarProps) => default_2.JSX.Element;
|
|
@@ -440,7 +453,9 @@ export declare interface INotification {
|
|
|
440
453
|
type: string;
|
|
441
454
|
}
|
|
442
455
|
|
|
443
|
-
export declare const InputField:
|
|
456
|
+
export declare const InputField: default_2.ForwardRefExoticComponent<CustomInputProps & InputProps & default_2.RefAttributes<InputRef>>;
|
|
457
|
+
|
|
458
|
+
export { InputRef }
|
|
444
459
|
|
|
445
460
|
export { InputTypes }
|
|
446
461
|
|
|
@@ -466,6 +481,7 @@ export declare interface ListingTableHeaderProps {
|
|
|
466
481
|
searchPlaceholder?: string;
|
|
467
482
|
searchValue?: string;
|
|
468
483
|
actionButtons?: ReactNode;
|
|
484
|
+
className?: string;
|
|
469
485
|
}
|
|
470
486
|
|
|
471
487
|
export declare const ListItem: ({ text, iconName, className, ...props }: ListItemProps) => default_2.JSX.Element;
|
|
@@ -483,6 +499,8 @@ export declare interface LoaderProps {
|
|
|
483
499
|
tip?: string;
|
|
484
500
|
}
|
|
485
501
|
|
|
502
|
+
export { Meta }
|
|
503
|
+
|
|
486
504
|
export { MobileInputValue }
|
|
487
505
|
|
|
488
506
|
export declare const Modal: default_2.FC<ModalProps>;
|
|
@@ -538,7 +556,16 @@ declare interface OfflineProps {
|
|
|
538
556
|
|
|
539
557
|
declare type OutlineType = "primary" | "danger" | "success";
|
|
540
558
|
|
|
541
|
-
declare const
|
|
559
|
+
export declare const PaginatedDropdown: <T extends Meta_2>({ enabled, onPageUpdate, queryKey, params, onSearch, ...props }: PaginatedDropdownProps<T>) => default_2.JSX.Element;
|
|
560
|
+
|
|
561
|
+
declare interface PaginatedDropdownProps<T> extends Omit<ComponentProps<typeof Select>, "options">, Pick<UseInfiniteQueryOptions<Response_2<T>>, "queryKey" | "enabled"> {
|
|
562
|
+
onPageUpdate: (params: QueryParams_2) => Promise<Response_2<T>>;
|
|
563
|
+
params?: QueryParams_2;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export { PaginationMeta }
|
|
567
|
+
|
|
568
|
+
declare const PasswordField: default_2.ForwardRefExoticComponent<CustomInputProps & PasswordProps & default_2.RefAttributes<InputRef_2>>;
|
|
542
569
|
export { PasswordField as Password }
|
|
543
570
|
export { PasswordField }
|
|
544
571
|
|
|
@@ -612,6 +639,8 @@ export declare interface ProfileDetailProps {
|
|
|
612
639
|
verified: boolean;
|
|
613
640
|
}
|
|
614
641
|
|
|
642
|
+
export { QueryParams }
|
|
643
|
+
|
|
615
644
|
export declare const Radio: (props: CustomInputProps & RadioProps_2) => default_2.JSX.Element;
|
|
616
645
|
|
|
617
646
|
declare interface RadioButtonProps {
|
|
@@ -629,6 +658,11 @@ declare interface RadioProps_3 extends RadioProps_2, Pick<RadioGroupProps, 'opti
|
|
|
629
658
|
customOnChange?: (event: RadioChangeEvent | null, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
630
659
|
}
|
|
631
660
|
|
|
661
|
+
declare interface Response_2<T> {
|
|
662
|
+
data: T[];
|
|
663
|
+
meta: PaginationMeta_2;
|
|
664
|
+
}
|
|
665
|
+
|
|
632
666
|
export { Row }
|
|
633
667
|
|
|
634
668
|
export { RowProps }
|
|
@@ -675,6 +709,8 @@ export { SorterResult }
|
|
|
675
709
|
|
|
676
710
|
export { SortOrder }
|
|
677
711
|
|
|
712
|
+
export { SortOrderKeys }
|
|
713
|
+
|
|
678
714
|
export { Space }
|
|
679
715
|
|
|
680
716
|
export declare interface Stats {
|