vrfi-design-system 1.0.92 → 1.0.93
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 +176 -68
- package/dist/main.es.js +27580 -32117
- 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,16 @@
|
|
|
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
|
-
import {
|
|
14
|
-
import { CheckboxGroupProps } from 'antd/es/checkbox';
|
|
13
|
+
import { CheckboxGroupProps as CheckboxGroupProps_2 } from 'antd/lib/checkbox';
|
|
15
14
|
import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
|
|
16
15
|
import { default as Col } from 'antd/lib/col';
|
|
17
16
|
import { Colors } from '../../enums/colors.enum';
|
|
@@ -19,7 +18,6 @@ import { ColProps } from 'antd/lib/col';
|
|
|
19
18
|
import { ColumnSortOrder } from './../../enums/columnSortOrder.enum';
|
|
20
19
|
import { ColumnsType } from 'antd/es/table/InternalTable';
|
|
21
20
|
import { ColumnType } from 'antd/lib/table';
|
|
22
|
-
import { ComponentProps } from 'react';
|
|
23
21
|
import { Control } from 'react-hook-form';
|
|
24
22
|
import { ControllerRenderProps } from 'react-hook-form';
|
|
25
23
|
import { CSSProperties } from 'react';
|
|
@@ -27,7 +25,6 @@ import { default as DatePickerAntd } from 'antd/lib/date-picker';
|
|
|
27
25
|
import { DatePickerProps } from 'antd';
|
|
28
26
|
import { default as default_2 } from 'react';
|
|
29
27
|
import { default as default_3 } from 'dayjs';
|
|
30
|
-
import { DefaultOptionType } from 'rc-select/lib/Select';
|
|
31
28
|
import { DocumentStatusEnum } from '../../enums/documentStatus.enum';
|
|
32
29
|
import { DocumentStatusEnum as DocumentStatusEnum_2 } from '../../../enums/documentStatus.enum';
|
|
33
30
|
import { DOM_ELEMENT_ROLE } from './../../enums/domElementRole.enum';
|
|
@@ -50,6 +47,7 @@ import { InputRef } from 'antd';
|
|
|
50
47
|
import { InputRef as InputRef_2 } from 'antd/lib/input';
|
|
51
48
|
import { InputTypes } from '../../enums/inputType.enum';
|
|
52
49
|
import { InputTypes as InputTypes_2 } from '../../../enums/inputType.enum';
|
|
50
|
+
import { JobStatus } from '../../../enums/jobStatus.enum';
|
|
53
51
|
import { JobTypeEnum } from '../../enums/jobType.enum';
|
|
54
52
|
import { JobTypeEnum as JobTypeEnum_2 } from '../../../enums/jobType.enum';
|
|
55
53
|
import { JSX as JSX_2 } from 'react';
|
|
@@ -59,14 +57,12 @@ import { LabelType as LabelType_2 } from '../../../enums/labelType.enum';
|
|
|
59
57
|
import { LoaderSizes } from '../../../enums/LoaderSizes';
|
|
60
58
|
import { MenuProps } from 'antd/lib';
|
|
61
59
|
import { Meta } from '../../models/Meta/meta.model';
|
|
62
|
-
import { Meta as Meta_2 } from '../../../models/Meta/meta.model';
|
|
63
60
|
import { MobileInputValue } from '../types/mobileInputValue.type';
|
|
64
61
|
import { MobileInputValue as MobileInputValue_2 } from '../../../types/mobileInputValue.type';
|
|
65
62
|
import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
|
|
66
63
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
67
64
|
import { NotificationTypes } from '../../enums/notificationTypes';
|
|
68
65
|
import { PaginationMeta } from '../../models/PaginationMeta/paginationMeta.model';
|
|
69
|
-
import { PaginationMeta as PaginationMeta_2 } from '../../../models/PaginationMeta/paginationMeta.model';
|
|
70
66
|
import { PasswordProps } from 'antd/es/input';
|
|
71
67
|
import { Placement } from '../../enums/placement';
|
|
72
68
|
import { default as Popover } from 'antd/lib/popover';
|
|
@@ -74,7 +70,6 @@ import { PopoverProps } from 'antd';
|
|
|
74
70
|
import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
|
|
75
71
|
import { PropsWithChildren } from 'react';
|
|
76
72
|
import { QueryParams } from '../../models/QueryParams/queryParams.model';
|
|
77
|
-
import { QueryParams as QueryParams_2 } from '../../../models/QueryParams/queryParams.model';
|
|
78
73
|
import { RadioChangeEvent } from 'antd';
|
|
79
74
|
import { RadioGroupProps } from 'antd';
|
|
80
75
|
import { RadioProps as RadioProps_2 } from 'antd';
|
|
@@ -92,17 +87,15 @@ import { Size } from '../../enums/size.enum';
|
|
|
92
87
|
import { Size as Size_2 } from '../../../enums/size.enum';
|
|
93
88
|
import { SizeType } from 'antd/lib/config-provider/SizeContext';
|
|
94
89
|
import { SizeType as SizeType_2 } from 'antd/es/config-provider/SizeContext';
|
|
95
|
-
import { SkeletonProps } from 'antd';
|
|
96
90
|
import { SorterResult } from 'antd/lib/table/interface';
|
|
97
91
|
import { SortOrder } from 'antd/lib/table/interface';
|
|
98
92
|
import { SortOrderKeys } from './../../enums/sortOrderKeys.enum';
|
|
99
93
|
import { default as Space } from 'antd/lib/space';
|
|
100
94
|
import { StatusTypes } from '../../enums/statusTypes.enum';
|
|
101
95
|
import { StatusTypes as StatusTypes_2 } from '../../../enums/statusTypes.enum';
|
|
102
|
-
import { StepProps } from 'antd';
|
|
103
|
-
import { StepsProps } from 'antd';
|
|
104
96
|
import { default as Switch } from 'antd/lib/switch';
|
|
105
97
|
import { SwitchProps } from 'antd/lib/switch';
|
|
98
|
+
import { SwitchProps as SwitchProps_2 } from 'antd';
|
|
106
99
|
import { TableCurrentDataSource } from 'antd/lib/table/interface';
|
|
107
100
|
import { TablePaginationConfig } from 'antd/lib/table/interface';
|
|
108
101
|
import { TablePaginationConfig as TablePaginationConfig_2 } from 'antd';
|
|
@@ -111,7 +104,9 @@ import { TableProps as TableProps_2 } from 'rc-table/lib/Table';
|
|
|
111
104
|
import { TableType } from '../../enums/tableType.enum';
|
|
112
105
|
import { TableType as TableType_2 } from '../../../enums/tableType.enum';
|
|
113
106
|
import { TabsProps as TabsProps_2 } from 'antd';
|
|
107
|
+
import { TabsType } from 'antd/es/tabs';
|
|
114
108
|
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
|
109
|
+
import { TimePickerProps } from 'antd';
|
|
115
110
|
import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
|
|
116
111
|
import { TitleHeaderStatus as TitleHeaderStatus_2 } from '../../../enums/titleHeaderStatus.enum';
|
|
117
112
|
import { TooltipProps } from 'antd/es/tooltip';
|
|
@@ -119,19 +114,32 @@ import { Typography } from 'antd';
|
|
|
119
114
|
import { TypographyProps } from 'antd';
|
|
120
115
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
121
116
|
import { UploadFile as UploadFile_2 } from 'antd';
|
|
117
|
+
import { UploadInputTypes } from '../../../../enums/uploadInputTypes.enum';
|
|
122
118
|
import { UploadProps } from 'antd';
|
|
123
119
|
import { UploadProps as UploadProps_2 } from 'antd/lib';
|
|
124
120
|
import { default as useForm } from '../hooks/useForm';
|
|
125
121
|
import { UseFormProps } from 'react-hook-form';
|
|
126
122
|
import { useFormProps } from '../hooks/useForm';
|
|
127
123
|
import { UseFormReturn } from 'react-hook-form';
|
|
128
|
-
import { UseInfiniteQueryOptions } from '@tanstack/react-query';
|
|
129
124
|
import { VerificationTypes } from '../../enums/verificationTypes.enum';
|
|
130
125
|
import { VerificationTypes as VerificationTypes_2 } from '../../../enums/verificationTypes.enum';
|
|
131
126
|
import * as Yup from 'yup';
|
|
132
127
|
|
|
133
128
|
export { ActionType }
|
|
134
129
|
|
|
130
|
+
export declare const AgencyJobCard: FC<AgencyJobCardProps>;
|
|
131
|
+
|
|
132
|
+
declare interface AgencyJobCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
133
|
+
assignedNames?: string[];
|
|
134
|
+
badges: BadgeProps[];
|
|
135
|
+
bodyList: ListItemProps[];
|
|
136
|
+
createdBy: Omit<CustomAvatarProps, "size">;
|
|
137
|
+
headerExtra?: default_2.ReactNode;
|
|
138
|
+
status: JobStatus;
|
|
139
|
+
title: string;
|
|
140
|
+
footerExtra?: default_2.ReactNode;
|
|
141
|
+
}
|
|
142
|
+
|
|
135
143
|
export { Align }
|
|
136
144
|
|
|
137
145
|
export declare interface AssignedEmployerProps {
|
|
@@ -144,6 +152,8 @@ export declare interface AssignedEmployerProps {
|
|
|
144
152
|
|
|
145
153
|
export { AuthBanner }
|
|
146
154
|
|
|
155
|
+
export { AuthBannerTextType }
|
|
156
|
+
|
|
147
157
|
export { AuthForm }
|
|
148
158
|
|
|
149
159
|
export { AuthFormProps }
|
|
@@ -154,6 +164,8 @@ export declare interface AvatarCardProps {
|
|
|
154
164
|
email: string;
|
|
155
165
|
textMaxWidth?: number;
|
|
156
166
|
className?: string;
|
|
167
|
+
copyEmail?: boolean;
|
|
168
|
+
userId?: string;
|
|
157
169
|
}
|
|
158
170
|
|
|
159
171
|
export declare interface AvatarProps {
|
|
@@ -176,6 +188,12 @@ export declare interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
176
188
|
|
|
177
189
|
export { BadgeType }
|
|
178
190
|
|
|
191
|
+
export declare const Bookmark: (props: BookmarkProps) => default_2.JSX.Element;
|
|
192
|
+
|
|
193
|
+
export declare interface BookmarkProps {
|
|
194
|
+
onClick: () => boolean;
|
|
195
|
+
}
|
|
196
|
+
|
|
179
197
|
export declare const Button: FC<ButtonProps>;
|
|
180
198
|
|
|
181
199
|
export declare interface ButtonProps {
|
|
@@ -208,6 +226,14 @@ export declare interface CardWithIconAndTextProps {
|
|
|
208
226
|
|
|
209
227
|
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, label, isBlock, checked, maxRows }: CheckboxProps) => default_2.JSX.Element;
|
|
210
228
|
|
|
229
|
+
export declare const CheckboxGroup: ({ label, name, isBlock, className, options, maxRows, ...props }: CheckboxGroupProps) => default_2.JSX.Element;
|
|
230
|
+
|
|
231
|
+
declare interface CheckboxGroupProps extends CheckboxGroupProps_2 {
|
|
232
|
+
label?: string;
|
|
233
|
+
isBlock?: boolean;
|
|
234
|
+
maxRows?: number;
|
|
235
|
+
}
|
|
236
|
+
|
|
211
237
|
export declare interface CheckboxProps {
|
|
212
238
|
children?: string | number;
|
|
213
239
|
disabled?: boolean;
|
|
@@ -222,17 +248,25 @@ export declare interface CheckboxProps {
|
|
|
222
248
|
maxRows?: number;
|
|
223
249
|
}
|
|
224
250
|
|
|
225
|
-
export declare const
|
|
251
|
+
export declare const CheckboxSelectField: ({ name, label, options, selectedOptions, handleCheckboxChange, className, size, type, required, customInput, ...props }: CheckboxSelectFieldProps) => default_2.JSX.Element;
|
|
252
|
+
|
|
253
|
+
export declare interface CheckboxSelectFieldProps extends SelectPropsBase {
|
|
254
|
+
selectedOptions?: (string | number)[];
|
|
255
|
+
handleCheckboxChange?: (value: string) => void;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export declare const CheckBoxWithFormWrapper: ({ name, onCheckboxChange, group, children, singleSelectionMode, ...props }: CheckBoxWithFormWrapperProps) => default_2.JSX.Element;
|
|
226
259
|
|
|
227
260
|
declare interface CheckBoxWithFormWrapperProps {
|
|
228
261
|
children?: default_2.ReactNode;
|
|
229
262
|
disabled?: boolean;
|
|
230
263
|
indeterminate?: boolean;
|
|
231
264
|
group?: boolean;
|
|
232
|
-
onCheckboxChange?: (event:
|
|
265
|
+
onCheckboxChange?: (event: string | number | boolean | (string | number)[] | null) => void;
|
|
233
266
|
options?: (CheckboxOptionType | string | number)[];
|
|
234
267
|
name: string;
|
|
235
268
|
className?: string;
|
|
269
|
+
singleSelectionMode?: boolean;
|
|
236
270
|
}
|
|
237
271
|
|
|
238
272
|
export { Col }
|
|
@@ -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,16 +345,23 @@ declare interface CustomUploadProps extends Omit<UploadProps, "onChange"> {
|
|
|
310
345
|
required?: boolean;
|
|
311
346
|
loading?: boolean;
|
|
312
347
|
fileNamePrefix?: string;
|
|
348
|
+
uploadInputType?: UploadInputTypes;
|
|
313
349
|
showFileNameFormat?: boolean;
|
|
314
350
|
docNamingConvention?: string;
|
|
315
351
|
documentTypes?: string;
|
|
316
352
|
}
|
|
317
353
|
|
|
354
|
+
export declare const DashboardCard: (props: DashboardCardProps) => default_2.JSX.Element;
|
|
355
|
+
|
|
356
|
+
export declare interface DashboardCardProps {
|
|
357
|
+
data: Stats[];
|
|
358
|
+
}
|
|
359
|
+
|
|
318
360
|
export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
|
|
319
361
|
|
|
320
362
|
export { DatePickerAntd }
|
|
321
363
|
|
|
322
|
-
declare type DatePickerComponentProps = CustomInputProps & Omit<DatePickerProps,
|
|
364
|
+
declare type DatePickerComponentProps = CustomInputProps & Omit<DatePickerProps, "name" | "value"> & {
|
|
323
365
|
value?: string;
|
|
324
366
|
format?: string;
|
|
325
367
|
};
|
|
@@ -364,21 +406,14 @@ export declare interface DrawerProps extends DrawerProps_2 {
|
|
|
364
406
|
subHeading?: string;
|
|
365
407
|
}
|
|
366
408
|
|
|
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
|
-
|
|
376
409
|
export declare const EllipsisWithTooltip: default_2.FC<EllipsisWithTooltipProps>;
|
|
377
410
|
|
|
378
411
|
export declare interface EllipsisWithTooltipProps {
|
|
379
412
|
text: string;
|
|
380
413
|
maxWidth?: number;
|
|
381
414
|
textClassName?: string;
|
|
415
|
+
copyText?: boolean;
|
|
416
|
+
userId?: string;
|
|
382
417
|
}
|
|
383
418
|
|
|
384
419
|
declare type EmployerDataType = {
|
|
@@ -391,6 +426,7 @@ export { Error_2 as Error }
|
|
|
391
426
|
|
|
392
427
|
declare interface ErrorProps {
|
|
393
428
|
fieldName: string;
|
|
429
|
+
customInput?: boolean;
|
|
394
430
|
}
|
|
395
431
|
|
|
396
432
|
export declare const FileUpload: ({ actionURL, uploadIcon, fileTypes, multiple, maxCount, handleChange, maxFileSize, supportedFileType, uploadTitle }: FileUploadProps) => default_2.JSX.Element;
|
|
@@ -424,18 +460,13 @@ export declare interface FloatingLabelProps {
|
|
|
424
460
|
required?: boolean;
|
|
425
461
|
placeholder?: string;
|
|
426
462
|
type?: LabelType_2;
|
|
463
|
+
customInput?: boolean;
|
|
427
464
|
}
|
|
428
465
|
|
|
429
466
|
export { FooterDetailsProps }
|
|
430
467
|
|
|
431
468
|
export declare function Form<T extends FieldValues>({ onSubmit, children, methods, ...rest }: FormProps<T>): default_2.JSX.Element;
|
|
432
469
|
|
|
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
|
-
|
|
439
470
|
declare interface FormProps<T extends FieldValues> extends UseFormProps<T> {
|
|
440
471
|
children: ReactNode | ((methods: UseFormReturn<T>) => ReactNode | default_2.JSX.Element);
|
|
441
472
|
onSubmit: (data: T, methods: UseFormReturn<T>) => void;
|
|
@@ -468,6 +499,35 @@ declare interface InputWithCountryFlagProps extends Omit<CustomInputProps, "cust
|
|
|
468
499
|
onChange?: (value: MobileInputValue_2) => void;
|
|
469
500
|
}
|
|
470
501
|
|
|
502
|
+
export declare const JobCard: FC<JobCardProps>;
|
|
503
|
+
|
|
504
|
+
declare interface JobCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
505
|
+
assignedNames?: string[];
|
|
506
|
+
badges?: BadgeProps[];
|
|
507
|
+
bodyList: ListItemProps[];
|
|
508
|
+
createdBy?: Omit<CustomAvatarProps, "size">;
|
|
509
|
+
headerExtra?: default_2.ReactNode;
|
|
510
|
+
footerExtra?: default_2.ReactNode;
|
|
511
|
+
isOngoing?: boolean;
|
|
512
|
+
isCheckedIn?: boolean;
|
|
513
|
+
checkedInDetails?: {
|
|
514
|
+
statusDescription?: string;
|
|
515
|
+
checkInTime: string;
|
|
516
|
+
location: string;
|
|
517
|
+
};
|
|
518
|
+
status?: JobStatus;
|
|
519
|
+
jobTrackId?: string;
|
|
520
|
+
title: string;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
export declare const JobTrackingCard: (props: JobTrackingCardProps) => default_2.JSX.Element;
|
|
524
|
+
|
|
525
|
+
export declare interface JobTrackingCardProps {
|
|
526
|
+
title: string;
|
|
527
|
+
identifier: string | number;
|
|
528
|
+
date: string;
|
|
529
|
+
}
|
|
530
|
+
|
|
471
531
|
export { JobTypeEnum }
|
|
472
532
|
|
|
473
533
|
export { Justify }
|
|
@@ -480,17 +540,19 @@ export declare interface ListingTableHeaderProps {
|
|
|
480
540
|
onSearch?: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
481
541
|
onFilter?: () => void;
|
|
482
542
|
onClear?: () => void;
|
|
543
|
+
onSettings?: () => void;
|
|
483
544
|
searchPlaceholder?: string;
|
|
484
545
|
searchValue?: string;
|
|
485
546
|
actionButtons?: ReactNode;
|
|
486
547
|
className?: string;
|
|
487
548
|
}
|
|
488
549
|
|
|
489
|
-
export declare const ListItem: ({ text, iconName, className, ...props }: ListItemProps) => default_2.JSX.Element;
|
|
550
|
+
export declare const ListItem: ({ text, iconName, className, children, name, ...props }: ListItemProps) => default_2.JSX.Element;
|
|
490
551
|
|
|
491
552
|
declare interface ListItemProps extends HTMLAttributes<HTMLSpanElement> {
|
|
492
|
-
text
|
|
553
|
+
text?: string;
|
|
493
554
|
iconName: Icons_2;
|
|
555
|
+
name?: string;
|
|
494
556
|
}
|
|
495
557
|
|
|
496
558
|
export declare const Loader: default_2.FC<LoaderProps>;
|
|
@@ -516,14 +578,16 @@ export declare interface ModalProps extends ModalProps_2 {
|
|
|
516
578
|
title?: string;
|
|
517
579
|
confirmLoading?: boolean;
|
|
518
580
|
modalTitleIcon?: string;
|
|
519
|
-
modalType
|
|
581
|
+
modalType?: ModalTypeEnum;
|
|
582
|
+
className?: string;
|
|
520
583
|
}
|
|
521
584
|
|
|
522
585
|
export declare enum ModalTypeEnum {
|
|
523
586
|
SUCCESS = "success",
|
|
524
587
|
DANGER = "danger",
|
|
525
588
|
BASIC = "basic",
|
|
526
|
-
WARNING = "warning"
|
|
589
|
+
WARNING = "warning",
|
|
590
|
+
DEFAULT = "default"
|
|
527
591
|
}
|
|
528
592
|
|
|
529
593
|
export declare const NoData: ({ headingText, subHeading, noDataIcon, buttonOnClick, buttonText, }: NoDataProps) => default_2.JSX.Element;
|
|
@@ -558,15 +622,17 @@ declare interface OfflineProps {
|
|
|
558
622
|
|
|
559
623
|
declare type OutlineType = "primary" | "danger" | "success";
|
|
560
624
|
|
|
561
|
-
export declare const
|
|
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
|
-
}
|
|
625
|
+
export declare const Pagination: default_2.FC<PaginationProps>;
|
|
567
626
|
|
|
568
627
|
export { PaginationMeta }
|
|
569
628
|
|
|
629
|
+
declare interface PaginationProps {
|
|
630
|
+
total: number;
|
|
631
|
+
pageSize?: number;
|
|
632
|
+
currentPage: number;
|
|
633
|
+
onPageChange: (page: number) => void;
|
|
634
|
+
}
|
|
635
|
+
|
|
570
636
|
declare const PasswordField: default_2.ForwardRefExoticComponent<CustomInputProps & PasswordProps & default_2.RefAttributes<InputRef_2>>;
|
|
571
637
|
export { PasswordField as Password }
|
|
572
638
|
export { PasswordField }
|
|
@@ -589,6 +655,16 @@ export { Placement }
|
|
|
589
655
|
|
|
590
656
|
export { Popover }
|
|
591
657
|
|
|
658
|
+
export declare const PopoverIconCard: (props: PopoverIconCardProps) => default_2.JSX.Element;
|
|
659
|
+
|
|
660
|
+
export declare interface PopoverIconCardProps {
|
|
661
|
+
title: string;
|
|
662
|
+
text: string;
|
|
663
|
+
editIconClick?: () => void;
|
|
664
|
+
deleteIconClick?: () => void;
|
|
665
|
+
icon?: Icons_2;
|
|
666
|
+
}
|
|
667
|
+
|
|
592
668
|
export { PopoverProps }
|
|
593
669
|
|
|
594
670
|
export declare const PreviewCard: default_2.FC<PreviewCardProps>;
|
|
@@ -598,7 +674,10 @@ declare interface PreviewCardProps {
|
|
|
598
674
|
url?: string;
|
|
599
675
|
showPreviewIcon?: boolean;
|
|
600
676
|
className?: string;
|
|
601
|
-
|
|
677
|
+
isProfileDocCard?: boolean;
|
|
678
|
+
isCandidateDocCard?: boolean;
|
|
679
|
+
onDelete?: () => void;
|
|
680
|
+
expiryDate?: string;
|
|
602
681
|
}
|
|
603
682
|
|
|
604
683
|
export declare const PreviewDocumentsCard: default_2.FC<PreviewDocumentsCardProps>;
|
|
@@ -628,19 +707,24 @@ export declare const ProfileDetail: (props: ProfileDetailProps) => default_2.JSX
|
|
|
628
707
|
export { ProfileDetailFooterTypes }
|
|
629
708
|
|
|
630
709
|
export declare interface ProfileDetailProps {
|
|
631
|
-
name
|
|
632
|
-
phoneNumber
|
|
633
|
-
email
|
|
634
|
-
address
|
|
635
|
-
gender
|
|
710
|
+
name?: string;
|
|
711
|
+
phoneNumber?: string;
|
|
712
|
+
email?: string;
|
|
713
|
+
address?: string;
|
|
714
|
+
gender?: GenderProfileEnum_2;
|
|
636
715
|
jobType?: JobTypeEnum_2;
|
|
637
716
|
jobTitle?: string[];
|
|
638
717
|
skills?: string[];
|
|
639
718
|
yearsOfExperience?: number | string;
|
|
640
|
-
userId
|
|
719
|
+
userId?: string;
|
|
641
720
|
imageUrl?: string;
|
|
642
|
-
verified
|
|
721
|
+
verified?: boolean;
|
|
643
722
|
sinNumber?: number;
|
|
723
|
+
footerDetails?: boolean;
|
|
724
|
+
agencyName?: string;
|
|
725
|
+
verificationType?: string;
|
|
726
|
+
verificationDocument?: string;
|
|
727
|
+
verificationExpiryDate?: string;
|
|
644
728
|
}
|
|
645
729
|
|
|
646
730
|
export { QueryParams }
|
|
@@ -654,9 +738,17 @@ declare interface RadioProps extends RadioProps_2, Pick<RadioGroupProps, 'option
|
|
|
654
738
|
customOnChange?: (event: RadioChangeEvent | null, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
655
739
|
}
|
|
656
740
|
|
|
657
|
-
declare
|
|
658
|
-
|
|
659
|
-
|
|
741
|
+
export declare const RoleManagement: (props: RoleManagementProps) => default_2.JSX.Element;
|
|
742
|
+
|
|
743
|
+
export declare interface RoleManagementProps {
|
|
744
|
+
roles: RoleManagementRole[];
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
export declare interface RoleManagementRole {
|
|
748
|
+
roleName: string;
|
|
749
|
+
id: number;
|
|
750
|
+
content: default_2.ReactNode;
|
|
751
|
+
roleDescription: string;
|
|
660
752
|
}
|
|
661
753
|
|
|
662
754
|
export { Row }
|
|
@@ -672,7 +764,7 @@ export declare interface SearchComponentProps {
|
|
|
672
764
|
|
|
673
765
|
export declare const SearchField: FC<SearchComponentProps>;
|
|
674
766
|
|
|
675
|
-
export declare const Select: ({ name, label, required, customOnChange, options, size, type, className, ...props }: SelectPropsBase) => default_2.JSX.Element;
|
|
767
|
+
export declare const Select: ({ name, label, required, customOnChange, options, size, type, customInput, className, ...props }: SelectPropsBase) => default_2.JSX.Element;
|
|
676
768
|
|
|
677
769
|
declare interface SelectPropsBase extends SelectProps {
|
|
678
770
|
name: string;
|
|
@@ -680,6 +772,7 @@ declare interface SelectPropsBase extends SelectProps {
|
|
|
680
772
|
required?: boolean;
|
|
681
773
|
size?: SizeType_2;
|
|
682
774
|
type?: SelectType_2;
|
|
775
|
+
customInput?: boolean;
|
|
683
776
|
customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement> | string | number, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
684
777
|
}
|
|
685
778
|
|
|
@@ -699,8 +792,6 @@ export declare interface SidebarProps {
|
|
|
699
792
|
|
|
700
793
|
export { Size }
|
|
701
794
|
|
|
702
|
-
export declare const Skeleton: FC<SkeletonProps>;
|
|
703
|
-
|
|
704
795
|
export { SorterResult }
|
|
705
796
|
|
|
706
797
|
export { SortOrder }
|
|
@@ -722,22 +813,21 @@ export declare interface StatsBannerProps {
|
|
|
722
813
|
|
|
723
814
|
export { StatusTypes }
|
|
724
815
|
|
|
725
|
-
declare
|
|
726
|
-
component?: default_2.ReactElement;
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
export declare const Stepper: FC<StepperProps>;
|
|
816
|
+
export declare const SummaryCard: default_2.FC<SummaryCardProps>;
|
|
730
817
|
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
title?: string;
|
|
734
|
-
destroyOnChange?: boolean;
|
|
818
|
+
declare interface SummaryCardProps extends PropsWithChildren {
|
|
819
|
+
className?: string;
|
|
735
820
|
}
|
|
736
821
|
|
|
737
|
-
export declare const SummaryCard: (props: PropsWithChildren) => default_2.JSX.Element;
|
|
738
|
-
|
|
739
822
|
export { Switch }
|
|
740
823
|
|
|
824
|
+
export declare const SwitchComponent: default_2.FC<SwitchComponentProps>;
|
|
825
|
+
|
|
826
|
+
export declare interface SwitchComponentProps extends SwitchProps_2 {
|
|
827
|
+
name: string;
|
|
828
|
+
onChange: (checked: boolean) => void;
|
|
829
|
+
}
|
|
830
|
+
|
|
741
831
|
export { SwitchProps }
|
|
742
832
|
|
|
743
833
|
declare interface TabItems {
|
|
@@ -789,8 +879,12 @@ declare interface TabsProps extends TabsProps_2 {
|
|
|
789
879
|
tabBarGutter?: number;
|
|
790
880
|
tabBarStyle?: CSSProperties;
|
|
791
881
|
tabPosition?: "top" | "bottom" | "right" | "left";
|
|
792
|
-
type?:
|
|
882
|
+
type?: TabsType;
|
|
793
883
|
onEdit?: () => void;
|
|
884
|
+
isRemovable?: boolean;
|
|
885
|
+
onRemove?: (key: string) => void;
|
|
886
|
+
onDoubleClickHandler?: (key: string) => void;
|
|
887
|
+
isSticky?: boolean;
|
|
794
888
|
}
|
|
795
889
|
|
|
796
890
|
export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;
|
|
@@ -801,10 +895,23 @@ export declare interface TextAreaProps extends Omit<TextAreaProps_2, "value"> {
|
|
|
801
895
|
required?: boolean;
|
|
802
896
|
}
|
|
803
897
|
|
|
804
|
-
export declare const TextAreaWithController: ({ label, type, placeholder, required, ...rest }: TextAreaWithControllerProps) => default_2.JSX.Element;
|
|
898
|
+
export declare const TextAreaWithController: ({ label, type, placeholder, required, name, ...rest }: TextAreaWithControllerProps) => default_2.JSX.Element;
|
|
805
899
|
|
|
806
900
|
export declare type TextAreaWithControllerProps = CustomInputProps & TextAreaProps_2;
|
|
807
901
|
|
|
902
|
+
declare type TimePickerComponentProps = CustomInputProps & Omit<TimePickerProps, "ref"> & {
|
|
903
|
+
format?: string;
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
export declare const Timer: (props: TimerProps) => default_2.JSX.Element;
|
|
907
|
+
|
|
908
|
+
export declare const TImerPicker: default_2.FC<TimePickerComponentProps>;
|
|
909
|
+
|
|
910
|
+
export declare interface TimerProps {
|
|
911
|
+
hours: number;
|
|
912
|
+
minutes: number;
|
|
913
|
+
}
|
|
914
|
+
|
|
808
915
|
export declare const TitleHeader: (props: TitleHeaderProps) => default_2.JSX.Element;
|
|
809
916
|
|
|
810
917
|
export declare interface TitleHeaderProps {
|
|
@@ -826,12 +933,13 @@ export { Typography }
|
|
|
826
933
|
|
|
827
934
|
export { TypographyProps }
|
|
828
935
|
|
|
829
|
-
export declare const Upload: ({ name, onChange, showUploadList, ...rest }: UploadBaseProps) => default_2.JSX.Element;
|
|
936
|
+
export declare const Upload: ({ name, onChange, showUploadList, supportedFileType, ...rest }: UploadBaseProps) => default_2.JSX.Element;
|
|
830
937
|
|
|
831
938
|
export declare interface UploadBaseProps extends CustomUploadProps {
|
|
832
939
|
name: string;
|
|
833
940
|
required?: boolean;
|
|
834
941
|
showUploadList?: boolean;
|
|
942
|
+
uploadInputType?: UploadInputTypes;
|
|
835
943
|
}
|
|
836
944
|
|
|
837
945
|
export declare interface UploadBasePropsForDropdown extends CustomDropDownFileUploadProps {
|