vrfi-design-system 1.0.86 → 1.0.87
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 +156 -60
- package/dist/main.es.js +27481 -32074
- package/dist/main.umd.js +159 -199
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
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';
|
|
4
5
|
import { default as AuthForm } from '../../views/Auth/AuthForm';
|
|
5
6
|
import { AuthFormProps } from './../../views/Auth/AuthForm/index';
|
|
6
7
|
import { AvatarSize } from '../../enums/avatarSize.enum';
|
|
7
8
|
import { AvatarSize as AvatarSize_2 } from '../../../enums/avatarSize.enum';
|
|
8
9
|
import { BadgeType } from '../../enums/badgeType.enum';
|
|
9
10
|
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 } from 'antd/
|
|
14
|
+
import { CheckboxGroupProps as CheckboxGroupProps_2 } from 'antd/lib/checkbox';
|
|
15
|
+
import { CheckboxGroupProps as CheckboxGroupProps_3 } from 'antd/es/checkbox';
|
|
15
16
|
import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
|
|
16
17
|
import { default as Col } from 'antd/lib/col';
|
|
17
18
|
import { Colors } from '../../enums/colors.enum';
|
|
@@ -19,7 +20,6 @@ import { ColProps } from 'antd/lib/col';
|
|
|
19
20
|
import { ColumnSortOrder } from './../../enums/columnSortOrder.enum';
|
|
20
21
|
import { ColumnsType } from 'antd/es/table/InternalTable';
|
|
21
22
|
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,7 +27,6 @@ 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';
|
|
31
30
|
import { DocumentStatusEnum } from '../../enums/documentStatus.enum';
|
|
32
31
|
import { DocumentStatusEnum as DocumentStatusEnum_2 } from '../../../enums/documentStatus.enum';
|
|
33
32
|
import { DOM_ELEMENT_ROLE } from './../../enums/domElementRole.enum';
|
|
@@ -50,6 +49,7 @@ import { InputRef } from 'antd';
|
|
|
50
49
|
import { InputRef as InputRef_2 } from 'antd/lib/input';
|
|
51
50
|
import { InputTypes } from '../../enums/inputType.enum';
|
|
52
51
|
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,14 +59,12 @@ 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';
|
|
63
62
|
import { MobileInputValue } from '../types/mobileInputValue.type';
|
|
64
63
|
import { MobileInputValue as MobileInputValue_2 } from '../../../types/mobileInputValue.type';
|
|
65
64
|
import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
|
|
66
65
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
67
66
|
import { NotificationTypes } from '../../enums/notificationTypes';
|
|
68
67
|
import { PaginationMeta } from '../../models/PaginationMeta/paginationMeta.model';
|
|
69
|
-
import { PaginationMeta as PaginationMeta_2 } from '../../../models/PaginationMeta/paginationMeta.model';
|
|
70
68
|
import { PasswordProps } from 'antd/es/input';
|
|
71
69
|
import { Placement } from '../../enums/placement';
|
|
72
70
|
import { default as Popover } from 'antd/lib/popover';
|
|
@@ -74,7 +72,6 @@ import { PopoverProps } from 'antd';
|
|
|
74
72
|
import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
|
|
75
73
|
import { PropsWithChildren } from 'react';
|
|
76
74
|
import { QueryParams } from '../../models/QueryParams/queryParams.model';
|
|
77
|
-
import { QueryParams as QueryParams_2 } from '../../../models/QueryParams/queryParams.model';
|
|
78
75
|
import { RadioChangeEvent } from 'antd';
|
|
79
76
|
import { RadioGroupProps } from 'antd';
|
|
80
77
|
import { RadioProps as RadioProps_2 } from 'antd';
|
|
@@ -92,17 +89,15 @@ import { Size } from '../../enums/size.enum';
|
|
|
92
89
|
import { Size as Size_2 } from '../../../enums/size.enum';
|
|
93
90
|
import { SizeType } from 'antd/lib/config-provider/SizeContext';
|
|
94
91
|
import { SizeType as SizeType_2 } from 'antd/es/config-provider/SizeContext';
|
|
95
|
-
import { SkeletonProps } from 'antd';
|
|
96
92
|
import { SorterResult } from 'antd/lib/table/interface';
|
|
97
93
|
import { SortOrder } from 'antd/lib/table/interface';
|
|
98
94
|
import { SortOrderKeys } from './../../enums/sortOrderKeys.enum';
|
|
99
95
|
import { default as Space } from 'antd/lib/space';
|
|
100
96
|
import { StatusTypes } from '../../enums/statusTypes.enum';
|
|
101
97
|
import { StatusTypes as StatusTypes_2 } from '../../../enums/statusTypes.enum';
|
|
102
|
-
import { StepProps } from 'antd';
|
|
103
|
-
import { StepsProps } from 'antd';
|
|
104
98
|
import { default as Switch } from 'antd/lib/switch';
|
|
105
99
|
import { SwitchProps } from 'antd/lib/switch';
|
|
100
|
+
import { SwitchProps as SwitchProps_2 } from 'antd';
|
|
106
101
|
import { TableCurrentDataSource } from 'antd/lib/table/interface';
|
|
107
102
|
import { TablePaginationConfig } from 'antd/lib/table/interface';
|
|
108
103
|
import { TablePaginationConfig as TablePaginationConfig_2 } from 'antd';
|
|
@@ -112,6 +107,7 @@ import { TableType } from '../../enums/tableType.enum';
|
|
|
112
107
|
import { TableType as TableType_2 } from '../../../enums/tableType.enum';
|
|
113
108
|
import { TabsProps as TabsProps_2 } from 'antd';
|
|
114
109
|
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
|
110
|
+
import { TimePickerProps } from 'antd';
|
|
115
111
|
import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
|
|
116
112
|
import { TitleHeaderStatus as TitleHeaderStatus_2 } from '../../../enums/titleHeaderStatus.enum';
|
|
117
113
|
import { TooltipProps } from 'antd/es/tooltip';
|
|
@@ -119,19 +115,32 @@ import { Typography } from 'antd';
|
|
|
119
115
|
import { TypographyProps } from 'antd';
|
|
120
116
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
121
117
|
import { UploadFile as UploadFile_2 } from 'antd';
|
|
118
|
+
import { UploadInputTypes } from '../../../../enums/uploadInputTypes.enum';
|
|
122
119
|
import { UploadProps } from 'antd';
|
|
123
120
|
import { UploadProps as UploadProps_2 } from 'antd/lib';
|
|
124
121
|
import { default as useForm } from '../hooks/useForm';
|
|
125
122
|
import { UseFormProps } from 'react-hook-form';
|
|
126
123
|
import { useFormProps } from '../hooks/useForm';
|
|
127
124
|
import { UseFormReturn } from 'react-hook-form';
|
|
128
|
-
import { UseInfiniteQueryOptions } from '@tanstack/react-query';
|
|
129
125
|
import { VerificationTypes } from '../../enums/verificationTypes.enum';
|
|
130
126
|
import { VerificationTypes as VerificationTypes_2 } from '../../../enums/verificationTypes.enum';
|
|
131
127
|
import * as Yup from 'yup';
|
|
132
128
|
|
|
133
129
|
export { ActionType }
|
|
134
130
|
|
|
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
|
+
|
|
135
144
|
export { Align }
|
|
136
145
|
|
|
137
146
|
export declare interface AssignedEmployerProps {
|
|
@@ -144,6 +153,8 @@ export declare interface AssignedEmployerProps {
|
|
|
144
153
|
|
|
145
154
|
export { AuthBanner }
|
|
146
155
|
|
|
156
|
+
export { AuthBannerTextType }
|
|
157
|
+
|
|
147
158
|
export { AuthForm }
|
|
148
159
|
|
|
149
160
|
export { AuthFormProps }
|
|
@@ -154,6 +165,8 @@ export declare interface AvatarCardProps {
|
|
|
154
165
|
email: string;
|
|
155
166
|
textMaxWidth?: number;
|
|
156
167
|
className?: string;
|
|
168
|
+
copyEmail?: boolean;
|
|
169
|
+
userId?: string;
|
|
157
170
|
}
|
|
158
171
|
|
|
159
172
|
export declare interface AvatarProps {
|
|
@@ -176,6 +189,12 @@ export declare interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
176
189
|
|
|
177
190
|
export { BadgeType }
|
|
178
191
|
|
|
192
|
+
export declare const Bookmark: (props: BookmarkProps) => default_2.JSX.Element;
|
|
193
|
+
|
|
194
|
+
export declare interface BookmarkProps {
|
|
195
|
+
onClick: () => boolean;
|
|
196
|
+
}
|
|
197
|
+
|
|
179
198
|
export declare const Button: FC<ButtonProps>;
|
|
180
199
|
|
|
181
200
|
export declare interface ButtonProps {
|
|
@@ -208,6 +227,14 @@ export declare interface CardWithIconAndTextProps {
|
|
|
208
227
|
|
|
209
228
|
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, label, isBlock, checked, maxRows }: CheckboxProps) => default_2.JSX.Element;
|
|
210
229
|
|
|
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
|
+
|
|
211
238
|
export declare interface CheckboxProps {
|
|
212
239
|
children?: string | number;
|
|
213
240
|
disabled?: boolean;
|
|
@@ -222,6 +249,13 @@ export declare interface CheckboxProps {
|
|
|
222
249
|
maxRows?: number;
|
|
223
250
|
}
|
|
224
251
|
|
|
252
|
+
export declare const CheckboxSelectField: ({ name, label, options, selectedOptions, handleCheckboxChange, className, size, type, required, customInput, ...props }: CheckboxSelectFieldProps) => default_2.JSX.Element;
|
|
253
|
+
|
|
254
|
+
export declare interface CheckboxSelectFieldProps extends SelectPropsBase {
|
|
255
|
+
selectedOptions?: (string | number)[];
|
|
256
|
+
handleCheckboxChange?: (value: string) => void;
|
|
257
|
+
}
|
|
258
|
+
|
|
225
259
|
export declare const CheckBoxWithFormWrapper: ({ name, onCheckboxChange, group, children, ...props }: CheckBoxWithFormWrapperProps) => default_2.JSX.Element;
|
|
226
260
|
|
|
227
261
|
declare interface CheckBoxWithFormWrapperProps {
|
|
@@ -229,7 +263,7 @@ declare interface CheckBoxWithFormWrapperProps {
|
|
|
229
263
|
disabled?: boolean;
|
|
230
264
|
indeterminate?: boolean;
|
|
231
265
|
group?: boolean;
|
|
232
|
-
onCheckboxChange?: (event: CheckboxChangeEvent |
|
|
266
|
+
onCheckboxChange?: (event: CheckboxChangeEvent | CheckboxGroupProps_3[] | boolean) => void;
|
|
233
267
|
options?: (CheckboxOptionType | string | number)[];
|
|
234
268
|
name: string;
|
|
235
269
|
className?: string;
|
|
@@ -287,6 +321,7 @@ export declare interface CustomInputProps {
|
|
|
287
321
|
customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement | HTMLTextAreaElement> | default_3.Dayjs | null, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
288
322
|
control?: Control<FieldValues>;
|
|
289
323
|
rules?: RegisterOptions;
|
|
324
|
+
customInput?: boolean;
|
|
290
325
|
}
|
|
291
326
|
|
|
292
327
|
export declare interface CustomTooltipProps extends Omit<TooltipProps, 'title'> {
|
|
@@ -310,13 +345,20 @@ declare interface CustomUploadProps extends Omit<UploadProps, "onChange"> {
|
|
|
310
345
|
required?: boolean;
|
|
311
346
|
loading?: boolean;
|
|
312
347
|
fileNamePrefix?: string;
|
|
348
|
+
uploadInputType?: UploadInputTypes;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export declare const DashboardCard: (props: DashboardCardProps) => default_2.JSX.Element;
|
|
352
|
+
|
|
353
|
+
export declare interface DashboardCardProps {
|
|
354
|
+
data: Stats[];
|
|
313
355
|
}
|
|
314
356
|
|
|
315
357
|
export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
|
|
316
358
|
|
|
317
359
|
export { DatePickerAntd }
|
|
318
360
|
|
|
319
|
-
declare type DatePickerComponentProps = CustomInputProps & Omit<DatePickerProps,
|
|
361
|
+
declare type DatePickerComponentProps = CustomInputProps & Omit<DatePickerProps, "name" | "value"> & {
|
|
320
362
|
value?: string;
|
|
321
363
|
format?: string;
|
|
322
364
|
};
|
|
@@ -361,21 +403,14 @@ export declare interface DrawerProps extends DrawerProps_2 {
|
|
|
361
403
|
subHeading?: string;
|
|
362
404
|
}
|
|
363
405
|
|
|
364
|
-
declare const Dropdown: <ValueType, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>({ title, ...props }: DropdownProps<ValueType, OptionType>) => default_2.JSX.Element;
|
|
365
|
-
|
|
366
|
-
export declare const DropdownField: (props: FormDropdown) => default_2.JSX.Element;
|
|
367
|
-
|
|
368
|
-
export declare interface DropdownProps<ValueType, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType> extends SelectProps<ValueType, OptionType> {
|
|
369
|
-
name: string;
|
|
370
|
-
title?: string;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
406
|
export declare const EllipsisWithTooltip: default_2.FC<EllipsisWithTooltipProps>;
|
|
374
407
|
|
|
375
408
|
export declare interface EllipsisWithTooltipProps {
|
|
376
409
|
text: string;
|
|
377
410
|
maxWidth?: number;
|
|
378
411
|
textClassName?: string;
|
|
412
|
+
copyText?: boolean;
|
|
413
|
+
userId?: string;
|
|
379
414
|
}
|
|
380
415
|
|
|
381
416
|
declare type EmployerDataType = {
|
|
@@ -388,6 +423,7 @@ export { Error_2 as Error }
|
|
|
388
423
|
|
|
389
424
|
declare interface ErrorProps {
|
|
390
425
|
fieldName: string;
|
|
426
|
+
customInput?: boolean;
|
|
391
427
|
}
|
|
392
428
|
|
|
393
429
|
export declare const FileUpload: ({ actionURL, uploadIcon, fileTypes, multiple, maxCount, handleChange, maxFileSize, supportedFileType, uploadTitle }: FileUploadProps) => default_2.JSX.Element;
|
|
@@ -421,18 +457,13 @@ export declare interface FloatingLabelProps {
|
|
|
421
457
|
required?: boolean;
|
|
422
458
|
placeholder?: string;
|
|
423
459
|
type?: LabelType_2;
|
|
460
|
+
customInput?: boolean;
|
|
424
461
|
}
|
|
425
462
|
|
|
426
463
|
export { FooterDetailsProps }
|
|
427
464
|
|
|
428
465
|
export declare function Form<T extends FieldValues>({ onSubmit, children, methods, ...rest }: FormProps<T>): default_2.JSX.Element;
|
|
429
466
|
|
|
430
|
-
declare interface FormDropdown extends Omit<ComponentProps<typeof Dropdown>, "onChange"> {
|
|
431
|
-
name: string;
|
|
432
|
-
type?: string;
|
|
433
|
-
customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement> | string | number | unknown, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
467
|
declare interface FormProps<T extends FieldValues> extends UseFormProps<T> {
|
|
437
468
|
children: ReactNode | ((methods: UseFormReturn<T>) => ReactNode | default_2.JSX.Element);
|
|
438
469
|
onSubmit: (data: T, methods: UseFormReturn<T>) => void;
|
|
@@ -465,6 +496,35 @@ declare interface InputWithCountryFlagProps extends Omit<CustomInputProps, "cust
|
|
|
465
496
|
onChange?: (value: MobileInputValue_2) => void;
|
|
466
497
|
}
|
|
467
498
|
|
|
499
|
+
export declare const JobCard: FC<JobCardProps>;
|
|
500
|
+
|
|
501
|
+
declare interface JobCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
502
|
+
assignedNames?: string[];
|
|
503
|
+
badges?: BadgeProps[];
|
|
504
|
+
bodyList: ListItemProps[];
|
|
505
|
+
createdBy?: Omit<CustomAvatarProps, "size">;
|
|
506
|
+
headerExtra?: default_2.ReactNode;
|
|
507
|
+
footerExtra?: default_2.ReactNode;
|
|
508
|
+
isOngoing?: boolean;
|
|
509
|
+
isCheckedIn?: boolean;
|
|
510
|
+
checkedInDetails?: {
|
|
511
|
+
statusDescription?: string;
|
|
512
|
+
checkInTime: string;
|
|
513
|
+
location: string;
|
|
514
|
+
};
|
|
515
|
+
status?: JobStatus;
|
|
516
|
+
jobTrackId?: string;
|
|
517
|
+
title: string;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
export declare const JobTrackingCard: (props: JobTrackingCardProps) => default_2.JSX.Element;
|
|
521
|
+
|
|
522
|
+
export declare interface JobTrackingCardProps {
|
|
523
|
+
title: string;
|
|
524
|
+
identifier: string | number;
|
|
525
|
+
date: string;
|
|
526
|
+
}
|
|
527
|
+
|
|
468
528
|
export { JobTypeEnum }
|
|
469
529
|
|
|
470
530
|
export { Justify }
|
|
@@ -477,6 +537,7 @@ export declare interface ListingTableHeaderProps {
|
|
|
477
537
|
onSearch?: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
478
538
|
onFilter?: () => void;
|
|
479
539
|
onClear?: () => void;
|
|
540
|
+
onSettings?: () => void;
|
|
480
541
|
searchPlaceholder?: string;
|
|
481
542
|
searchValue?: string;
|
|
482
543
|
actionButtons?: ReactNode;
|
|
@@ -555,13 +616,6 @@ declare interface OfflineProps {
|
|
|
555
616
|
|
|
556
617
|
declare type OutlineType = "primary" | "danger" | "success";
|
|
557
618
|
|
|
558
|
-
export declare const PaginatedDropdown: <T extends Meta_2>({ enabled, onPageUpdate, queryKey, params, onSearch, ...props }: PaginatedDropdownProps<T>) => default_2.JSX.Element;
|
|
559
|
-
|
|
560
|
-
declare interface PaginatedDropdownProps<T> extends Omit<ComponentProps<typeof Select>, "options">, Pick<UseInfiniteQueryOptions<Response_2<T>>, "queryKey" | "enabled"> {
|
|
561
|
-
onPageUpdate: (params: QueryParams_2) => Promise<Response_2<T>>;
|
|
562
|
-
params?: QueryParams_2;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
619
|
export { PaginationMeta }
|
|
566
620
|
|
|
567
621
|
declare const PasswordField: default_2.ForwardRefExoticComponent<CustomInputProps & PasswordProps & default_2.RefAttributes<InputRef_2>>;
|
|
@@ -586,6 +640,16 @@ export { Placement }
|
|
|
586
640
|
|
|
587
641
|
export { Popover }
|
|
588
642
|
|
|
643
|
+
export declare const PopoverIconCard: (props: PopoverIconCardProps) => default_2.JSX.Element;
|
|
644
|
+
|
|
645
|
+
export declare interface PopoverIconCardProps {
|
|
646
|
+
title: string;
|
|
647
|
+
text: string;
|
|
648
|
+
editIconClick?: () => void;
|
|
649
|
+
deleteIconClick?: () => void;
|
|
650
|
+
icon?: Icons_2;
|
|
651
|
+
}
|
|
652
|
+
|
|
589
653
|
export { PopoverProps }
|
|
590
654
|
|
|
591
655
|
export declare const PreviewCard: default_2.FC<PreviewCardProps>;
|
|
@@ -595,6 +659,10 @@ declare interface PreviewCardProps {
|
|
|
595
659
|
url?: string;
|
|
596
660
|
showPreviewIcon?: boolean;
|
|
597
661
|
className?: string;
|
|
662
|
+
isProfileDocCard?: boolean;
|
|
663
|
+
isCandidateDocCard?: boolean;
|
|
664
|
+
onDelete?: () => void;
|
|
665
|
+
expiryDate?: string;
|
|
598
666
|
}
|
|
599
667
|
|
|
600
668
|
export declare const PreviewDocumentsCard: default_2.FC<PreviewDocumentsCardProps>;
|
|
@@ -624,19 +692,24 @@ export declare const ProfileDetail: (props: ProfileDetailProps) => default_2.JSX
|
|
|
624
692
|
export { ProfileDetailFooterTypes }
|
|
625
693
|
|
|
626
694
|
export declare interface ProfileDetailProps {
|
|
627
|
-
name
|
|
628
|
-
phoneNumber
|
|
629
|
-
email
|
|
630
|
-
address
|
|
631
|
-
gender
|
|
695
|
+
name?: string;
|
|
696
|
+
phoneNumber?: string;
|
|
697
|
+
email?: string;
|
|
698
|
+
address?: string;
|
|
699
|
+
gender?: GenderProfileEnum_2;
|
|
632
700
|
jobType?: JobTypeEnum_2;
|
|
633
701
|
jobTitle?: string[];
|
|
634
702
|
skills?: string[];
|
|
635
703
|
yearsOfExperience?: number | string;
|
|
636
|
-
userId
|
|
704
|
+
userId?: string;
|
|
637
705
|
imageUrl?: string;
|
|
638
|
-
verified
|
|
706
|
+
verified?: boolean;
|
|
639
707
|
sinNumber?: number;
|
|
708
|
+
footerDetails?: boolean;
|
|
709
|
+
agencyName?: string;
|
|
710
|
+
verificationType?: string;
|
|
711
|
+
verificationDocument?: string;
|
|
712
|
+
verificationExpiryDate?: string;
|
|
640
713
|
}
|
|
641
714
|
|
|
642
715
|
export { QueryParams }
|
|
@@ -650,9 +723,17 @@ declare interface RadioProps extends RadioProps_2, Pick<RadioGroupProps, 'option
|
|
|
650
723
|
customOnChange?: (event: RadioChangeEvent | null, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
651
724
|
}
|
|
652
725
|
|
|
653
|
-
declare
|
|
654
|
-
|
|
655
|
-
|
|
726
|
+
export declare const RoleManagement: (props: RoleManagementProps) => default_2.JSX.Element;
|
|
727
|
+
|
|
728
|
+
export declare interface RoleManagementProps {
|
|
729
|
+
roles: RoleManagementRole[];
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
export declare interface RoleManagementRole {
|
|
733
|
+
roleName: string;
|
|
734
|
+
id: number;
|
|
735
|
+
content: default_2.ReactNode;
|
|
736
|
+
roleDescription: string;
|
|
656
737
|
}
|
|
657
738
|
|
|
658
739
|
export { Row }
|
|
@@ -668,7 +749,7 @@ export declare interface SearchComponentProps {
|
|
|
668
749
|
|
|
669
750
|
export declare const SearchField: FC<SearchComponentProps>;
|
|
670
751
|
|
|
671
|
-
export declare const Select: ({ name, label, required, customOnChange, options, size, type, className, ...props }: SelectPropsBase) => default_2.JSX.Element;
|
|
752
|
+
export declare const Select: ({ name, label, required, customOnChange, options, size, type, customInput, className, ...props }: SelectPropsBase) => default_2.JSX.Element;
|
|
672
753
|
|
|
673
754
|
declare interface SelectPropsBase extends SelectProps {
|
|
674
755
|
name: string;
|
|
@@ -676,6 +757,7 @@ declare interface SelectPropsBase extends SelectProps {
|
|
|
676
757
|
required?: boolean;
|
|
677
758
|
size?: SizeType_2;
|
|
678
759
|
type?: SelectType_2;
|
|
760
|
+
customInput?: boolean;
|
|
679
761
|
customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement> | string | number, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
680
762
|
}
|
|
681
763
|
|
|
@@ -695,8 +777,6 @@ export declare interface SidebarProps {
|
|
|
695
777
|
|
|
696
778
|
export { Size }
|
|
697
779
|
|
|
698
|
-
export declare const Skeleton: FC<SkeletonProps>;
|
|
699
|
-
|
|
700
780
|
export { SorterResult }
|
|
701
781
|
|
|
702
782
|
export { SortOrder }
|
|
@@ -718,22 +798,21 @@ export declare interface StatsBannerProps {
|
|
|
718
798
|
|
|
719
799
|
export { StatusTypes }
|
|
720
800
|
|
|
721
|
-
declare
|
|
722
|
-
component?: default_2.ReactElement;
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
export declare const Stepper: FC<StepperProps>;
|
|
801
|
+
export declare const SummaryCard: default_2.FC<SummaryCardProps>;
|
|
726
802
|
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
title?: string;
|
|
730
|
-
destroyOnChange?: boolean;
|
|
803
|
+
declare interface SummaryCardProps extends PropsWithChildren {
|
|
804
|
+
className?: string;
|
|
731
805
|
}
|
|
732
806
|
|
|
733
|
-
export declare const SummaryCard: (props: PropsWithChildren) => default_2.JSX.Element;
|
|
734
|
-
|
|
735
807
|
export { Switch }
|
|
736
808
|
|
|
809
|
+
export declare const SwitchComponent: default_2.FC<SwitchComponentProps>;
|
|
810
|
+
|
|
811
|
+
export declare interface SwitchComponentProps extends SwitchProps_2 {
|
|
812
|
+
name: string;
|
|
813
|
+
onChange: (checked: boolean) => void;
|
|
814
|
+
}
|
|
815
|
+
|
|
737
816
|
export { SwitchProps }
|
|
738
817
|
|
|
739
818
|
declare interface TabItems {
|
|
@@ -787,6 +866,9 @@ declare interface TabsProps extends TabsProps_2 {
|
|
|
787
866
|
tabPosition?: "top" | "bottom" | "right" | "left";
|
|
788
867
|
type?: "line" | "card" | "editable-card";
|
|
789
868
|
onEdit?: () => void;
|
|
869
|
+
isRemovable?: boolean;
|
|
870
|
+
onRemove?: (key: string) => void;
|
|
871
|
+
onDoubleClickHandler?: (key: string) => void;
|
|
790
872
|
}
|
|
791
873
|
|
|
792
874
|
export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;
|
|
@@ -801,6 +883,19 @@ export declare const TextAreaWithController: ({ label, type, placeholder, requir
|
|
|
801
883
|
|
|
802
884
|
export declare type TextAreaWithControllerProps = CustomInputProps & TextAreaProps_2;
|
|
803
885
|
|
|
886
|
+
declare type TimePickerComponentProps = CustomInputProps & Omit<TimePickerProps, "ref"> & {
|
|
887
|
+
format?: string;
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
export declare const Timer: (props: TimerProps) => default_2.JSX.Element;
|
|
891
|
+
|
|
892
|
+
export declare const TImerPicker: default_2.FC<TimePickerComponentProps>;
|
|
893
|
+
|
|
894
|
+
export declare interface TimerProps {
|
|
895
|
+
hours: number;
|
|
896
|
+
minutes: number;
|
|
897
|
+
}
|
|
898
|
+
|
|
804
899
|
export declare const TitleHeader: (props: TitleHeaderProps) => default_2.JSX.Element;
|
|
805
900
|
|
|
806
901
|
export declare interface TitleHeaderProps {
|
|
@@ -822,12 +917,13 @@ export { Typography }
|
|
|
822
917
|
|
|
823
918
|
export { TypographyProps }
|
|
824
919
|
|
|
825
|
-
export declare const Upload: ({ name, onChange, showUploadList, ...rest }: UploadBaseProps) => default_2.JSX.Element;
|
|
920
|
+
export declare const Upload: ({ name, onChange, showUploadList, supportedFileType, ...rest }: UploadBaseProps) => default_2.JSX.Element;
|
|
826
921
|
|
|
827
922
|
export declare interface UploadBaseProps extends CustomUploadProps {
|
|
828
923
|
name: string;
|
|
829
924
|
required?: boolean;
|
|
830
925
|
showUploadList?: boolean;
|
|
926
|
+
uploadInputType?: UploadInputTypes;
|
|
831
927
|
}
|
|
832
928
|
|
|
833
929
|
export declare interface UploadBasePropsForDropdown extends CustomDropDownFileUploadProps {
|