vrfi-design-system 1.0.91 → 1.0.92
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 +55 -146
- package/dist/main.es.js +31930 -27242
- package/dist/main.umd.js +199 -159
- package/dist/style.css +1 -1
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { ActionType } from '../../enums/trigger';
|
|
2
2
|
import { Align } from '../../enums/align.enum';
|
|
3
3
|
import { default as AuthBanner } from '../../views/Auth/AuthBanner';
|
|
4
|
-
import { AuthBannerTextType } from '../../views/Auth/AuthBanner/authBanner.constants';
|
|
5
4
|
import { default as AuthForm } from '../../views/Auth/AuthForm';
|
|
6
5
|
import { AuthFormProps } from './../../views/Auth/AuthForm/index';
|
|
7
6
|
import { AvatarSize } from '../../enums/avatarSize.enum';
|
|
8
7
|
import { AvatarSize as AvatarSize_2 } from '../../../enums/avatarSize.enum';
|
|
9
8
|
import { BadgeType } from '../../enums/badgeType.enum';
|
|
10
9
|
import { BadgeType as BadgeType_2 } from '../../../enums/badgeType.enum';
|
|
10
|
+
import { BaseOptionType } from 'rc-select/lib/Select';
|
|
11
11
|
import { ButtonType } from '../../enums/buttonType';
|
|
12
12
|
import { ButtonType as ButtonType_2 } from 'antd/lib/button';
|
|
13
13
|
import { CheckboxChangeEvent } from 'antd/es/checkbox';
|
|
14
|
-
import { CheckboxGroupProps
|
|
15
|
-
import { CheckboxGroupProps as CheckboxGroupProps_3 } from 'antd/es/checkbox';
|
|
14
|
+
import { CheckboxGroupProps } from 'antd/es/checkbox';
|
|
16
15
|
import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
|
|
17
16
|
import { default as Col } from 'antd/lib/col';
|
|
18
17
|
import { Colors } from '../../enums/colors.enum';
|
|
@@ -20,6 +19,7 @@ import { ColProps } from 'antd/lib/col';
|
|
|
20
19
|
import { ColumnSortOrder } from './../../enums/columnSortOrder.enum';
|
|
21
20
|
import { ColumnsType } from 'antd/es/table/InternalTable';
|
|
22
21
|
import { ColumnType } from 'antd/lib/table';
|
|
22
|
+
import { ComponentProps } from 'react';
|
|
23
23
|
import { Control } from 'react-hook-form';
|
|
24
24
|
import { ControllerRenderProps } from 'react-hook-form';
|
|
25
25
|
import { CSSProperties } from 'react';
|
|
@@ -27,6 +27,7 @@ import { default as DatePickerAntd } from 'antd/lib/date-picker';
|
|
|
27
27
|
import { DatePickerProps } from 'antd';
|
|
28
28
|
import { default as default_2 } from 'react';
|
|
29
29
|
import { default as default_3 } from 'dayjs';
|
|
30
|
+
import { DefaultOptionType } from 'rc-select/lib/Select';
|
|
30
31
|
import { DocumentStatusEnum } from '../../enums/documentStatus.enum';
|
|
31
32
|
import { DocumentStatusEnum as DocumentStatusEnum_2 } from '../../../enums/documentStatus.enum';
|
|
32
33
|
import { DOM_ELEMENT_ROLE } from './../../enums/domElementRole.enum';
|
|
@@ -49,7 +50,6 @@ import { InputRef } from 'antd';
|
|
|
49
50
|
import { InputRef as InputRef_2 } from 'antd/lib/input';
|
|
50
51
|
import { InputTypes } from '../../enums/inputType.enum';
|
|
51
52
|
import { InputTypes as InputTypes_2 } from '../../../enums/inputType.enum';
|
|
52
|
-
import { JobStatus } from '../../../enums/jobStatus.enum';
|
|
53
53
|
import { JobTypeEnum } from '../../enums/jobType.enum';
|
|
54
54
|
import { JobTypeEnum as JobTypeEnum_2 } from '../../../enums/jobType.enum';
|
|
55
55
|
import { JSX as JSX_2 } from 'react';
|
|
@@ -59,12 +59,14 @@ import { LabelType as LabelType_2 } from '../../../enums/labelType.enum';
|
|
|
59
59
|
import { LoaderSizes } from '../../../enums/LoaderSizes';
|
|
60
60
|
import { MenuProps } from 'antd/lib';
|
|
61
61
|
import { Meta } from '../../models/Meta/meta.model';
|
|
62
|
+
import { Meta as Meta_2 } from '../../../models/Meta/meta.model';
|
|
62
63
|
import { MobileInputValue } from '../types/mobileInputValue.type';
|
|
63
64
|
import { MobileInputValue as MobileInputValue_2 } from '../../../types/mobileInputValue.type';
|
|
64
65
|
import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
|
|
65
66
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
66
67
|
import { NotificationTypes } from '../../enums/notificationTypes';
|
|
67
68
|
import { PaginationMeta } from '../../models/PaginationMeta/paginationMeta.model';
|
|
69
|
+
import { PaginationMeta as PaginationMeta_2 } from '../../../models/PaginationMeta/paginationMeta.model';
|
|
68
70
|
import { PasswordProps } from 'antd/es/input';
|
|
69
71
|
import { Placement } from '../../enums/placement';
|
|
70
72
|
import { default as Popover } from 'antd/lib/popover';
|
|
@@ -72,6 +74,7 @@ import { PopoverProps } from 'antd';
|
|
|
72
74
|
import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
|
|
73
75
|
import { PropsWithChildren } from 'react';
|
|
74
76
|
import { QueryParams } from '../../models/QueryParams/queryParams.model';
|
|
77
|
+
import { QueryParams as QueryParams_2 } from '../../../models/QueryParams/queryParams.model';
|
|
75
78
|
import { RadioChangeEvent } from 'antd';
|
|
76
79
|
import { RadioGroupProps } from 'antd';
|
|
77
80
|
import { RadioProps as RadioProps_2 } from 'antd';
|
|
@@ -89,15 +92,17 @@ import { Size } from '../../enums/size.enum';
|
|
|
89
92
|
import { Size as Size_2 } from '../../../enums/size.enum';
|
|
90
93
|
import { SizeType } from 'antd/lib/config-provider/SizeContext';
|
|
91
94
|
import { SizeType as SizeType_2 } from 'antd/es/config-provider/SizeContext';
|
|
95
|
+
import { SkeletonProps } from 'antd';
|
|
92
96
|
import { SorterResult } from 'antd/lib/table/interface';
|
|
93
97
|
import { SortOrder } from 'antd/lib/table/interface';
|
|
94
98
|
import { SortOrderKeys } from './../../enums/sortOrderKeys.enum';
|
|
95
99
|
import { default as Space } from 'antd/lib/space';
|
|
96
100
|
import { StatusTypes } from '../../enums/statusTypes.enum';
|
|
97
101
|
import { StatusTypes as StatusTypes_2 } from '../../../enums/statusTypes.enum';
|
|
102
|
+
import { StepProps } from 'antd';
|
|
103
|
+
import { StepsProps } from 'antd';
|
|
98
104
|
import { default as Switch } from 'antd/lib/switch';
|
|
99
105
|
import { SwitchProps } from 'antd/lib/switch';
|
|
100
|
-
import { SwitchProps as SwitchProps_2 } from 'antd';
|
|
101
106
|
import { TableCurrentDataSource } from 'antd/lib/table/interface';
|
|
102
107
|
import { TablePaginationConfig } from 'antd/lib/table/interface';
|
|
103
108
|
import { TablePaginationConfig as TablePaginationConfig_2 } from 'antd';
|
|
@@ -107,7 +112,6 @@ import { TableType } from '../../enums/tableType.enum';
|
|
|
107
112
|
import { TableType as TableType_2 } from '../../../enums/tableType.enum';
|
|
108
113
|
import { TabsProps as TabsProps_2 } from 'antd';
|
|
109
114
|
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
|
110
|
-
import { TimePickerProps } from 'antd';
|
|
111
115
|
import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
|
|
112
116
|
import { TitleHeaderStatus as TitleHeaderStatus_2 } from '../../../enums/titleHeaderStatus.enum';
|
|
113
117
|
import { TooltipProps } from 'antd/es/tooltip';
|
|
@@ -115,32 +119,19 @@ import { Typography } from 'antd';
|
|
|
115
119
|
import { TypographyProps } from 'antd';
|
|
116
120
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
117
121
|
import { UploadFile as UploadFile_2 } from 'antd';
|
|
118
|
-
import { UploadInputTypes } from '../../../../enums/uploadInputTypes.enum';
|
|
119
122
|
import { UploadProps } from 'antd';
|
|
120
123
|
import { UploadProps as UploadProps_2 } from 'antd/lib';
|
|
121
124
|
import { default as useForm } from '../hooks/useForm';
|
|
122
125
|
import { UseFormProps } from 'react-hook-form';
|
|
123
126
|
import { useFormProps } from '../hooks/useForm';
|
|
124
127
|
import { UseFormReturn } from 'react-hook-form';
|
|
128
|
+
import { UseInfiniteQueryOptions } from '@tanstack/react-query';
|
|
125
129
|
import { VerificationTypes } from '../../enums/verificationTypes.enum';
|
|
126
130
|
import { VerificationTypes as VerificationTypes_2 } from '../../../enums/verificationTypes.enum';
|
|
127
131
|
import * as Yup from 'yup';
|
|
128
132
|
|
|
129
133
|
export { ActionType }
|
|
130
134
|
|
|
131
|
-
export declare const AgencyJobCard: FC<AgencyJobCardProps>;
|
|
132
|
-
|
|
133
|
-
declare interface AgencyJobCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
134
|
-
assignedNames?: string[];
|
|
135
|
-
badges: BadgeProps[];
|
|
136
|
-
bodyList: ListItemProps[];
|
|
137
|
-
createdBy: Omit<CustomAvatarProps, "size">;
|
|
138
|
-
headerExtra?: default_2.ReactNode;
|
|
139
|
-
status: JobStatus;
|
|
140
|
-
title: string;
|
|
141
|
-
footerExtra?: default_2.ReactNode;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
135
|
export { Align }
|
|
145
136
|
|
|
146
137
|
export declare interface AssignedEmployerProps {
|
|
@@ -153,8 +144,6 @@ export declare interface AssignedEmployerProps {
|
|
|
153
144
|
|
|
154
145
|
export { AuthBanner }
|
|
155
146
|
|
|
156
|
-
export { AuthBannerTextType }
|
|
157
|
-
|
|
158
147
|
export { AuthForm }
|
|
159
148
|
|
|
160
149
|
export { AuthFormProps }
|
|
@@ -165,8 +154,6 @@ export declare interface AvatarCardProps {
|
|
|
165
154
|
email: string;
|
|
166
155
|
textMaxWidth?: number;
|
|
167
156
|
className?: string;
|
|
168
|
-
copyEmail?: boolean;
|
|
169
|
-
userId?: string;
|
|
170
157
|
}
|
|
171
158
|
|
|
172
159
|
export declare interface AvatarProps {
|
|
@@ -189,12 +176,6 @@ export declare interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
189
176
|
|
|
190
177
|
export { BadgeType }
|
|
191
178
|
|
|
192
|
-
export declare const Bookmark: (props: BookmarkProps) => default_2.JSX.Element;
|
|
193
|
-
|
|
194
|
-
export declare interface BookmarkProps {
|
|
195
|
-
onClick: () => boolean;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
179
|
export declare const Button: FC<ButtonProps>;
|
|
199
180
|
|
|
200
181
|
export declare interface ButtonProps {
|
|
@@ -227,14 +208,6 @@ export declare interface CardWithIconAndTextProps {
|
|
|
227
208
|
|
|
228
209
|
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, label, isBlock, checked, maxRows }: CheckboxProps) => default_2.JSX.Element;
|
|
229
210
|
|
|
230
|
-
export declare const CheckboxGroup: ({ label, name, isBlock, className, options, maxRows, ...props }: CheckboxGroupProps) => default_2.JSX.Element;
|
|
231
|
-
|
|
232
|
-
declare interface CheckboxGroupProps extends CheckboxGroupProps_2 {
|
|
233
|
-
label?: string;
|
|
234
|
-
isBlock?: boolean;
|
|
235
|
-
maxRows?: number;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
211
|
export declare interface CheckboxProps {
|
|
239
212
|
children?: string | number;
|
|
240
213
|
disabled?: boolean;
|
|
@@ -256,7 +229,7 @@ declare interface CheckBoxWithFormWrapperProps {
|
|
|
256
229
|
disabled?: boolean;
|
|
257
230
|
indeterminate?: boolean;
|
|
258
231
|
group?: boolean;
|
|
259
|
-
onCheckboxChange?: (event: CheckboxChangeEvent |
|
|
232
|
+
onCheckboxChange?: (event: CheckboxChangeEvent | CheckboxGroupProps[] | boolean) => void;
|
|
260
233
|
options?: (CheckboxOptionType | string | number)[];
|
|
261
234
|
name: string;
|
|
262
235
|
className?: string;
|
|
@@ -314,7 +287,6 @@ export declare interface CustomInputProps {
|
|
|
314
287
|
customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement | HTMLTextAreaElement> | default_3.Dayjs | null, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
315
288
|
control?: Control<FieldValues>;
|
|
316
289
|
rules?: RegisterOptions;
|
|
317
|
-
customInput?: boolean;
|
|
318
290
|
}
|
|
319
291
|
|
|
320
292
|
export declare interface CustomTooltipProps extends Omit<TooltipProps, 'title'> {
|
|
@@ -338,23 +310,16 @@ declare interface CustomUploadProps extends Omit<UploadProps, "onChange"> {
|
|
|
338
310
|
required?: boolean;
|
|
339
311
|
loading?: boolean;
|
|
340
312
|
fileNamePrefix?: string;
|
|
341
|
-
uploadInputType?: UploadInputTypes;
|
|
342
313
|
showFileNameFormat?: boolean;
|
|
343
314
|
docNamingConvention?: string;
|
|
344
315
|
documentTypes?: string;
|
|
345
316
|
}
|
|
346
317
|
|
|
347
|
-
export declare const DashboardCard: (props: DashboardCardProps) => default_2.JSX.Element;
|
|
348
|
-
|
|
349
|
-
export declare interface DashboardCardProps {
|
|
350
|
-
data: Stats[];
|
|
351
|
-
}
|
|
352
|
-
|
|
353
318
|
export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
|
|
354
319
|
|
|
355
320
|
export { DatePickerAntd }
|
|
356
321
|
|
|
357
|
-
declare type DatePickerComponentProps = CustomInputProps & Omit<DatePickerProps,
|
|
322
|
+
declare type DatePickerComponentProps = CustomInputProps & Omit<DatePickerProps, 'name' | 'value'> & {
|
|
358
323
|
value?: string;
|
|
359
324
|
format?: string;
|
|
360
325
|
};
|
|
@@ -399,14 +364,21 @@ export declare interface DrawerProps extends DrawerProps_2 {
|
|
|
399
364
|
subHeading?: string;
|
|
400
365
|
}
|
|
401
366
|
|
|
367
|
+
declare const Dropdown: <ValueType, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>({ title, ...props }: DropdownProps<ValueType, OptionType>) => default_2.JSX.Element;
|
|
368
|
+
|
|
369
|
+
export declare const DropdownField: (props: FormDropdown) => default_2.JSX.Element;
|
|
370
|
+
|
|
371
|
+
export declare interface DropdownProps<ValueType, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType> extends SelectProps<ValueType, OptionType> {
|
|
372
|
+
name: string;
|
|
373
|
+
title?: string;
|
|
374
|
+
}
|
|
375
|
+
|
|
402
376
|
export declare const EllipsisWithTooltip: default_2.FC<EllipsisWithTooltipProps>;
|
|
403
377
|
|
|
404
378
|
export declare interface EllipsisWithTooltipProps {
|
|
405
379
|
text: string;
|
|
406
380
|
maxWidth?: number;
|
|
407
381
|
textClassName?: string;
|
|
408
|
-
copyText?: boolean;
|
|
409
|
-
userId?: string;
|
|
410
382
|
}
|
|
411
383
|
|
|
412
384
|
declare type EmployerDataType = {
|
|
@@ -419,7 +391,6 @@ export { Error_2 as Error }
|
|
|
419
391
|
|
|
420
392
|
declare interface ErrorProps {
|
|
421
393
|
fieldName: string;
|
|
422
|
-
customInput?: boolean;
|
|
423
394
|
}
|
|
424
395
|
|
|
425
396
|
export declare const FileUpload: ({ actionURL, uploadIcon, fileTypes, multiple, maxCount, handleChange, maxFileSize, supportedFileType, uploadTitle }: FileUploadProps) => default_2.JSX.Element;
|
|
@@ -453,13 +424,18 @@ export declare interface FloatingLabelProps {
|
|
|
453
424
|
required?: boolean;
|
|
454
425
|
placeholder?: string;
|
|
455
426
|
type?: LabelType_2;
|
|
456
|
-
customInput?: boolean;
|
|
457
427
|
}
|
|
458
428
|
|
|
459
429
|
export { FooterDetailsProps }
|
|
460
430
|
|
|
461
431
|
export declare function Form<T extends FieldValues>({ onSubmit, children, methods, ...rest }: FormProps<T>): default_2.JSX.Element;
|
|
462
432
|
|
|
433
|
+
declare interface FormDropdown extends Omit<ComponentProps<typeof Dropdown>, "onChange"> {
|
|
434
|
+
name: string;
|
|
435
|
+
type?: string;
|
|
436
|
+
customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement> | string | number | unknown, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
437
|
+
}
|
|
438
|
+
|
|
463
439
|
declare interface FormProps<T extends FieldValues> extends UseFormProps<T> {
|
|
464
440
|
children: ReactNode | ((methods: UseFormReturn<T>) => ReactNode | default_2.JSX.Element);
|
|
465
441
|
onSubmit: (data: T, methods: UseFormReturn<T>) => void;
|
|
@@ -492,35 +468,6 @@ declare interface InputWithCountryFlagProps extends Omit<CustomInputProps, "cust
|
|
|
492
468
|
onChange?: (value: MobileInputValue_2) => void;
|
|
493
469
|
}
|
|
494
470
|
|
|
495
|
-
export declare const JobCard: FC<JobCardProps>;
|
|
496
|
-
|
|
497
|
-
declare interface JobCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
498
|
-
assignedNames?: string[];
|
|
499
|
-
badges?: BadgeProps[];
|
|
500
|
-
bodyList: ListItemProps[];
|
|
501
|
-
createdBy?: Omit<CustomAvatarProps, "size">;
|
|
502
|
-
headerExtra?: default_2.ReactNode;
|
|
503
|
-
footerExtra?: default_2.ReactNode;
|
|
504
|
-
isOngoing?: boolean;
|
|
505
|
-
isCheckedIn?: boolean;
|
|
506
|
-
checkedInDetails?: {
|
|
507
|
-
statusDescription?: string;
|
|
508
|
-
checkInTime: string;
|
|
509
|
-
location: string;
|
|
510
|
-
};
|
|
511
|
-
status?: JobStatus;
|
|
512
|
-
jobTrackId?: string;
|
|
513
|
-
title: string;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
export declare const JobTrackingCard: (props: JobTrackingCardProps) => default_2.JSX.Element;
|
|
517
|
-
|
|
518
|
-
export declare interface JobTrackingCardProps {
|
|
519
|
-
title: string;
|
|
520
|
-
identifier: string | number;
|
|
521
|
-
date: string;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
471
|
export { JobTypeEnum }
|
|
525
472
|
|
|
526
473
|
export { Justify }
|
|
@@ -533,7 +480,6 @@ export declare interface ListingTableHeaderProps {
|
|
|
533
480
|
onSearch?: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
534
481
|
onFilter?: () => void;
|
|
535
482
|
onClear?: () => void;
|
|
536
|
-
onSettings?: () => void;
|
|
537
483
|
searchPlaceholder?: string;
|
|
538
484
|
searchValue?: string;
|
|
539
485
|
actionButtons?: ReactNode;
|
|
@@ -612,6 +558,13 @@ declare interface OfflineProps {
|
|
|
612
558
|
|
|
613
559
|
declare type OutlineType = "primary" | "danger" | "success";
|
|
614
560
|
|
|
561
|
+
export declare const PaginatedDropdown: <T extends Meta_2>({ enabled, onPageUpdate, queryKey, params, onSearch, ...props }: PaginatedDropdownProps<T>) => default_2.JSX.Element;
|
|
562
|
+
|
|
563
|
+
declare interface PaginatedDropdownProps<T> extends Omit<ComponentProps<typeof Select>, "options">, Pick<UseInfiniteQueryOptions<Response_2<T>>, "queryKey" | "enabled"> {
|
|
564
|
+
onPageUpdate: (params: QueryParams_2) => Promise<Response_2<T>>;
|
|
565
|
+
params?: QueryParams_2;
|
|
566
|
+
}
|
|
567
|
+
|
|
615
568
|
export { PaginationMeta }
|
|
616
569
|
|
|
617
570
|
declare const PasswordField: default_2.ForwardRefExoticComponent<CustomInputProps & PasswordProps & default_2.RefAttributes<InputRef_2>>;
|
|
@@ -636,16 +589,6 @@ export { Placement }
|
|
|
636
589
|
|
|
637
590
|
export { Popover }
|
|
638
591
|
|
|
639
|
-
export declare const PopoverIconCard: (props: PopoverIconCardProps) => default_2.JSX.Element;
|
|
640
|
-
|
|
641
|
-
export declare interface PopoverIconCardProps {
|
|
642
|
-
title: string;
|
|
643
|
-
text: string;
|
|
644
|
-
editIconClick?: () => void;
|
|
645
|
-
deleteIconClick?: () => void;
|
|
646
|
-
icon?: Icons_2;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
592
|
export { PopoverProps }
|
|
650
593
|
|
|
651
594
|
export declare const PreviewCard: default_2.FC<PreviewCardProps>;
|
|
@@ -655,10 +598,6 @@ declare interface PreviewCardProps {
|
|
|
655
598
|
url?: string;
|
|
656
599
|
showPreviewIcon?: boolean;
|
|
657
600
|
className?: string;
|
|
658
|
-
isProfileDocCard?: boolean;
|
|
659
|
-
isCandidateDocCard?: boolean;
|
|
660
|
-
onDelete?: () => void;
|
|
661
|
-
expiryDate?: string;
|
|
662
601
|
showDownloadIcon?: boolean;
|
|
663
602
|
}
|
|
664
603
|
|
|
@@ -690,9 +629,9 @@ export { ProfileDetailFooterTypes }
|
|
|
690
629
|
|
|
691
630
|
export declare interface ProfileDetailProps {
|
|
692
631
|
name: string;
|
|
693
|
-
phoneNumber
|
|
632
|
+
phoneNumber: string;
|
|
694
633
|
email: string;
|
|
695
|
-
address
|
|
634
|
+
address: string;
|
|
696
635
|
gender: GenderProfileEnum_2;
|
|
697
636
|
jobType?: JobTypeEnum_2;
|
|
698
637
|
jobTitle?: string[];
|
|
@@ -702,11 +641,6 @@ export declare interface ProfileDetailProps {
|
|
|
702
641
|
imageUrl?: string;
|
|
703
642
|
verified: boolean;
|
|
704
643
|
sinNumber?: number;
|
|
705
|
-
footerDetails?: boolean;
|
|
706
|
-
agencyName?: string;
|
|
707
|
-
verificationType?: string;
|
|
708
|
-
verificationDocument?: string;
|
|
709
|
-
verificationExpiryDate?: string;
|
|
710
644
|
}
|
|
711
645
|
|
|
712
646
|
export { QueryParams }
|
|
@@ -720,17 +654,9 @@ declare interface RadioProps extends RadioProps_2, Pick<RadioGroupProps, 'option
|
|
|
720
654
|
customOnChange?: (event: RadioChangeEvent | null, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
721
655
|
}
|
|
722
656
|
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
roles: RoleManagementRole[];
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
export declare interface RoleManagementRole {
|
|
730
|
-
roleName: string;
|
|
731
|
-
id: number;
|
|
732
|
-
content: default_2.ReactNode;
|
|
733
|
-
roleDescription: string;
|
|
657
|
+
declare interface Response_2<T> {
|
|
658
|
+
data: T[];
|
|
659
|
+
meta: PaginationMeta_2;
|
|
734
660
|
}
|
|
735
661
|
|
|
736
662
|
export { Row }
|
|
@@ -746,7 +672,7 @@ export declare interface SearchComponentProps {
|
|
|
746
672
|
|
|
747
673
|
export declare const SearchField: FC<SearchComponentProps>;
|
|
748
674
|
|
|
749
|
-
export declare const Select: ({ name, label, required, customOnChange, options, size, type,
|
|
675
|
+
export declare const Select: ({ name, label, required, customOnChange, options, size, type, className, ...props }: SelectPropsBase) => default_2.JSX.Element;
|
|
750
676
|
|
|
751
677
|
declare interface SelectPropsBase extends SelectProps {
|
|
752
678
|
name: string;
|
|
@@ -754,10 +680,7 @@ declare interface SelectPropsBase extends SelectProps {
|
|
|
754
680
|
required?: boolean;
|
|
755
681
|
size?: SizeType_2;
|
|
756
682
|
type?: SelectType_2;
|
|
757
|
-
customInput?: boolean;
|
|
758
683
|
customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement> | string | number, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
759
|
-
selectedOptions?: (string | number)[];
|
|
760
|
-
handleCheckboxChange?: (value: string) => void;
|
|
761
684
|
}
|
|
762
685
|
|
|
763
686
|
export { SelectType }
|
|
@@ -776,6 +699,8 @@ export declare interface SidebarProps {
|
|
|
776
699
|
|
|
777
700
|
export { Size }
|
|
778
701
|
|
|
702
|
+
export declare const Skeleton: FC<SkeletonProps>;
|
|
703
|
+
|
|
779
704
|
export { SorterResult }
|
|
780
705
|
|
|
781
706
|
export { SortOrder }
|
|
@@ -797,21 +722,22 @@ export declare interface StatsBannerProps {
|
|
|
797
722
|
|
|
798
723
|
export { StatusTypes }
|
|
799
724
|
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
declare interface SummaryCardProps extends PropsWithChildren {
|
|
803
|
-
className?: string;
|
|
725
|
+
declare interface StepItem extends StepProps {
|
|
726
|
+
component?: default_2.ReactElement;
|
|
804
727
|
}
|
|
805
728
|
|
|
806
|
-
export
|
|
807
|
-
|
|
808
|
-
export declare const SwitchComponent: default_2.FC<SwitchComponentProps>;
|
|
729
|
+
export declare const Stepper: FC<StepperProps>;
|
|
809
730
|
|
|
810
|
-
export declare interface
|
|
811
|
-
|
|
812
|
-
|
|
731
|
+
export declare interface StepperProps extends StepsProps {
|
|
732
|
+
items: StepItem[];
|
|
733
|
+
title?: string;
|
|
734
|
+
destroyOnChange?: boolean;
|
|
813
735
|
}
|
|
814
736
|
|
|
737
|
+
export declare const SummaryCard: (props: PropsWithChildren) => default_2.JSX.Element;
|
|
738
|
+
|
|
739
|
+
export { Switch }
|
|
740
|
+
|
|
815
741
|
export { SwitchProps }
|
|
816
742
|
|
|
817
743
|
declare interface TabItems {
|
|
@@ -865,9 +791,6 @@ declare interface TabsProps extends TabsProps_2 {
|
|
|
865
791
|
tabPosition?: "top" | "bottom" | "right" | "left";
|
|
866
792
|
type?: "line" | "card" | "editable-card";
|
|
867
793
|
onEdit?: () => void;
|
|
868
|
-
isRemovable?: boolean;
|
|
869
|
-
onRemove?: (key: string) => void;
|
|
870
|
-
onDoubleClickHandler?: (key: string) => void;
|
|
871
794
|
}
|
|
872
795
|
|
|
873
796
|
export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;
|
|
@@ -882,19 +805,6 @@ export declare const TextAreaWithController: ({ label, type, placeholder, requir
|
|
|
882
805
|
|
|
883
806
|
export declare type TextAreaWithControllerProps = CustomInputProps & TextAreaProps_2;
|
|
884
807
|
|
|
885
|
-
declare type TimePickerComponentProps = CustomInputProps & Omit<TimePickerProps, "ref"> & {
|
|
886
|
-
format?: string;
|
|
887
|
-
};
|
|
888
|
-
|
|
889
|
-
export declare const Timer: (props: TimerProps) => default_2.JSX.Element;
|
|
890
|
-
|
|
891
|
-
export declare const TImerPicker: default_2.FC<TimePickerComponentProps>;
|
|
892
|
-
|
|
893
|
-
export declare interface TimerProps {
|
|
894
|
-
hours: number;
|
|
895
|
-
minutes: number;
|
|
896
|
-
}
|
|
897
|
-
|
|
898
808
|
export declare const TitleHeader: (props: TitleHeaderProps) => default_2.JSX.Element;
|
|
899
809
|
|
|
900
810
|
export declare interface TitleHeaderProps {
|
|
@@ -916,13 +826,12 @@ export { Typography }
|
|
|
916
826
|
|
|
917
827
|
export { TypographyProps }
|
|
918
828
|
|
|
919
|
-
export declare const Upload: ({ name, onChange, showUploadList,
|
|
829
|
+
export declare const Upload: ({ name, onChange, showUploadList, ...rest }: UploadBaseProps) => default_2.JSX.Element;
|
|
920
830
|
|
|
921
831
|
export declare interface UploadBaseProps extends CustomUploadProps {
|
|
922
832
|
name: string;
|
|
923
833
|
required?: boolean;
|
|
924
834
|
showUploadList?: boolean;
|
|
925
|
-
uploadInputType?: UploadInputTypes;
|
|
926
835
|
}
|
|
927
836
|
|
|
928
837
|
export declare interface UploadBasePropsForDropdown extends CustomDropDownFileUploadProps {
|