vrfi-design-system 1.0.84 → 1.0.86
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 +31923 -27219
- 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,20 +310,13 @@ declare interface CustomUploadProps extends Omit<UploadProps, "onChange"> {
|
|
|
338
310
|
required?: boolean;
|
|
339
311
|
loading?: boolean;
|
|
340
312
|
fileNamePrefix?: string;
|
|
341
|
-
uploadInputType?: UploadInputTypes;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
export declare const DashboardCard: (props: DashboardCardProps) => default_2.JSX.Element;
|
|
345
|
-
|
|
346
|
-
export declare interface DashboardCardProps {
|
|
347
|
-
data: Stats[];
|
|
348
313
|
}
|
|
349
314
|
|
|
350
315
|
export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
|
|
351
316
|
|
|
352
317
|
export { DatePickerAntd }
|
|
353
318
|
|
|
354
|
-
declare type DatePickerComponentProps = CustomInputProps & Omit<DatePickerProps,
|
|
319
|
+
declare type DatePickerComponentProps = CustomInputProps & Omit<DatePickerProps, 'name' | 'value'> & {
|
|
355
320
|
value?: string;
|
|
356
321
|
format?: string;
|
|
357
322
|
};
|
|
@@ -396,14 +361,21 @@ export declare interface DrawerProps extends DrawerProps_2 {
|
|
|
396
361
|
subHeading?: string;
|
|
397
362
|
}
|
|
398
363
|
|
|
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
|
+
|
|
399
373
|
export declare const EllipsisWithTooltip: default_2.FC<EllipsisWithTooltipProps>;
|
|
400
374
|
|
|
401
375
|
export declare interface EllipsisWithTooltipProps {
|
|
402
376
|
text: string;
|
|
403
377
|
maxWidth?: number;
|
|
404
378
|
textClassName?: string;
|
|
405
|
-
copyText?: boolean;
|
|
406
|
-
userId?: string;
|
|
407
379
|
}
|
|
408
380
|
|
|
409
381
|
declare type EmployerDataType = {
|
|
@@ -416,7 +388,6 @@ export { Error_2 as Error }
|
|
|
416
388
|
|
|
417
389
|
declare interface ErrorProps {
|
|
418
390
|
fieldName: string;
|
|
419
|
-
customInput?: boolean;
|
|
420
391
|
}
|
|
421
392
|
|
|
422
393
|
export declare const FileUpload: ({ actionURL, uploadIcon, fileTypes, multiple, maxCount, handleChange, maxFileSize, supportedFileType, uploadTitle }: FileUploadProps) => default_2.JSX.Element;
|
|
@@ -450,13 +421,18 @@ export declare interface FloatingLabelProps {
|
|
|
450
421
|
required?: boolean;
|
|
451
422
|
placeholder?: string;
|
|
452
423
|
type?: LabelType_2;
|
|
453
|
-
customInput?: boolean;
|
|
454
424
|
}
|
|
455
425
|
|
|
456
426
|
export { FooterDetailsProps }
|
|
457
427
|
|
|
458
428
|
export declare function Form<T extends FieldValues>({ onSubmit, children, methods, ...rest }: FormProps<T>): default_2.JSX.Element;
|
|
459
429
|
|
|
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
|
+
|
|
460
436
|
declare interface FormProps<T extends FieldValues> extends UseFormProps<T> {
|
|
461
437
|
children: ReactNode | ((methods: UseFormReturn<T>) => ReactNode | default_2.JSX.Element);
|
|
462
438
|
onSubmit: (data: T, methods: UseFormReturn<T>) => void;
|
|
@@ -489,35 +465,6 @@ declare interface InputWithCountryFlagProps extends Omit<CustomInputProps, "cust
|
|
|
489
465
|
onChange?: (value: MobileInputValue_2) => void;
|
|
490
466
|
}
|
|
491
467
|
|
|
492
|
-
export declare const JobCard: FC<JobCardProps>;
|
|
493
|
-
|
|
494
|
-
declare interface JobCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
495
|
-
assignedNames?: string[];
|
|
496
|
-
badges?: BadgeProps[];
|
|
497
|
-
bodyList: ListItemProps[];
|
|
498
|
-
createdBy?: Omit<CustomAvatarProps, "size">;
|
|
499
|
-
headerExtra?: default_2.ReactNode;
|
|
500
|
-
footerExtra?: default_2.ReactNode;
|
|
501
|
-
isOngoing?: boolean;
|
|
502
|
-
isCheckedIn?: boolean;
|
|
503
|
-
checkedInDetails?: {
|
|
504
|
-
statusDescription?: string;
|
|
505
|
-
checkInTime: string;
|
|
506
|
-
location: string;
|
|
507
|
-
};
|
|
508
|
-
status?: JobStatus;
|
|
509
|
-
jobTrackId?: string;
|
|
510
|
-
title: string;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
export declare const JobTrackingCard: (props: JobTrackingCardProps) => default_2.JSX.Element;
|
|
514
|
-
|
|
515
|
-
export declare interface JobTrackingCardProps {
|
|
516
|
-
title: string;
|
|
517
|
-
identifier: string | number;
|
|
518
|
-
date: string;
|
|
519
|
-
}
|
|
520
|
-
|
|
521
468
|
export { JobTypeEnum }
|
|
522
469
|
|
|
523
470
|
export { Justify }
|
|
@@ -530,7 +477,6 @@ export declare interface ListingTableHeaderProps {
|
|
|
530
477
|
onSearch?: (event: default_2.ChangeEvent<HTMLInputElement>) => void;
|
|
531
478
|
onFilter?: () => void;
|
|
532
479
|
onClear?: () => void;
|
|
533
|
-
onSettings?: () => void;
|
|
534
480
|
searchPlaceholder?: string;
|
|
535
481
|
searchValue?: string;
|
|
536
482
|
actionButtons?: ReactNode;
|
|
@@ -609,6 +555,13 @@ declare interface OfflineProps {
|
|
|
609
555
|
|
|
610
556
|
declare type OutlineType = "primary" | "danger" | "success";
|
|
611
557
|
|
|
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
|
+
|
|
612
565
|
export { PaginationMeta }
|
|
613
566
|
|
|
614
567
|
declare const PasswordField: default_2.ForwardRefExoticComponent<CustomInputProps & PasswordProps & default_2.RefAttributes<InputRef_2>>;
|
|
@@ -633,16 +586,6 @@ export { Placement }
|
|
|
633
586
|
|
|
634
587
|
export { Popover }
|
|
635
588
|
|
|
636
|
-
export declare const PopoverIconCard: (props: PopoverIconCardProps) => default_2.JSX.Element;
|
|
637
|
-
|
|
638
|
-
export declare interface PopoverIconCardProps {
|
|
639
|
-
title: string;
|
|
640
|
-
text: string;
|
|
641
|
-
editIconClick?: () => void;
|
|
642
|
-
deleteIconClick?: () => void;
|
|
643
|
-
icon?: Icons_2;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
589
|
export { PopoverProps }
|
|
647
590
|
|
|
648
591
|
export declare const PreviewCard: default_2.FC<PreviewCardProps>;
|
|
@@ -652,10 +595,6 @@ declare interface PreviewCardProps {
|
|
|
652
595
|
url?: string;
|
|
653
596
|
showPreviewIcon?: boolean;
|
|
654
597
|
className?: string;
|
|
655
|
-
isProfileDocCard?: boolean;
|
|
656
|
-
isCandidateDocCard?: boolean;
|
|
657
|
-
onDelete?: () => void;
|
|
658
|
-
expiryDate?: string;
|
|
659
598
|
}
|
|
660
599
|
|
|
661
600
|
export declare const PreviewDocumentsCard: default_2.FC<PreviewDocumentsCardProps>;
|
|
@@ -686,9 +625,9 @@ export { ProfileDetailFooterTypes }
|
|
|
686
625
|
|
|
687
626
|
export declare interface ProfileDetailProps {
|
|
688
627
|
name: string;
|
|
689
|
-
phoneNumber
|
|
628
|
+
phoneNumber: string;
|
|
690
629
|
email: string;
|
|
691
|
-
address
|
|
630
|
+
address: string;
|
|
692
631
|
gender: GenderProfileEnum_2;
|
|
693
632
|
jobType?: JobTypeEnum_2;
|
|
694
633
|
jobTitle?: string[];
|
|
@@ -698,11 +637,6 @@ export declare interface ProfileDetailProps {
|
|
|
698
637
|
imageUrl?: string;
|
|
699
638
|
verified: boolean;
|
|
700
639
|
sinNumber?: number;
|
|
701
|
-
footerDetails?: boolean;
|
|
702
|
-
agencyName?: string;
|
|
703
|
-
verificationType?: string;
|
|
704
|
-
verificationDocument?: string;
|
|
705
|
-
verificationExpiryDate?: string;
|
|
706
640
|
}
|
|
707
641
|
|
|
708
642
|
export { QueryParams }
|
|
@@ -716,17 +650,9 @@ declare interface RadioProps extends RadioProps_2, Pick<RadioGroupProps, 'option
|
|
|
716
650
|
customOnChange?: (event: RadioChangeEvent | null, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
717
651
|
}
|
|
718
652
|
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
roles: RoleManagementRole[];
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
export declare interface RoleManagementRole {
|
|
726
|
-
roleName: string;
|
|
727
|
-
id: number;
|
|
728
|
-
content: default_2.ReactNode;
|
|
729
|
-
roleDescription: string;
|
|
653
|
+
declare interface Response_2<T> {
|
|
654
|
+
data: T[];
|
|
655
|
+
meta: PaginationMeta_2;
|
|
730
656
|
}
|
|
731
657
|
|
|
732
658
|
export { Row }
|
|
@@ -742,7 +668,7 @@ export declare interface SearchComponentProps {
|
|
|
742
668
|
|
|
743
669
|
export declare const SearchField: FC<SearchComponentProps>;
|
|
744
670
|
|
|
745
|
-
export declare const Select: ({ name, label, required, customOnChange, options, size, type,
|
|
671
|
+
export declare const Select: ({ name, label, required, customOnChange, options, size, type, className, ...props }: SelectPropsBase) => default_2.JSX.Element;
|
|
746
672
|
|
|
747
673
|
declare interface SelectPropsBase extends SelectProps {
|
|
748
674
|
name: string;
|
|
@@ -750,10 +676,7 @@ declare interface SelectPropsBase extends SelectProps {
|
|
|
750
676
|
required?: boolean;
|
|
751
677
|
size?: SizeType_2;
|
|
752
678
|
type?: SelectType_2;
|
|
753
|
-
customInput?: boolean;
|
|
754
679
|
customOnChange?: (event: default_2.ChangeEvent<HTMLInputElement> | string | number, field: ControllerRenderProps<FieldValues, string>) => void;
|
|
755
|
-
selectedOptions?: (string | number)[];
|
|
756
|
-
handleCheckboxChange?: (value: string) => void;
|
|
757
680
|
}
|
|
758
681
|
|
|
759
682
|
export { SelectType }
|
|
@@ -772,6 +695,8 @@ export declare interface SidebarProps {
|
|
|
772
695
|
|
|
773
696
|
export { Size }
|
|
774
697
|
|
|
698
|
+
export declare const Skeleton: FC<SkeletonProps>;
|
|
699
|
+
|
|
775
700
|
export { SorterResult }
|
|
776
701
|
|
|
777
702
|
export { SortOrder }
|
|
@@ -793,21 +718,22 @@ export declare interface StatsBannerProps {
|
|
|
793
718
|
|
|
794
719
|
export { StatusTypes }
|
|
795
720
|
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
declare interface SummaryCardProps extends PropsWithChildren {
|
|
799
|
-
className?: string;
|
|
721
|
+
declare interface StepItem extends StepProps {
|
|
722
|
+
component?: default_2.ReactElement;
|
|
800
723
|
}
|
|
801
724
|
|
|
802
|
-
export
|
|
803
|
-
|
|
804
|
-
export declare const SwitchComponent: default_2.FC<SwitchComponentProps>;
|
|
725
|
+
export declare const Stepper: FC<StepperProps>;
|
|
805
726
|
|
|
806
|
-
export declare interface
|
|
807
|
-
|
|
808
|
-
|
|
727
|
+
export declare interface StepperProps extends StepsProps {
|
|
728
|
+
items: StepItem[];
|
|
729
|
+
title?: string;
|
|
730
|
+
destroyOnChange?: boolean;
|
|
809
731
|
}
|
|
810
732
|
|
|
733
|
+
export declare const SummaryCard: (props: PropsWithChildren) => default_2.JSX.Element;
|
|
734
|
+
|
|
735
|
+
export { Switch }
|
|
736
|
+
|
|
811
737
|
export { SwitchProps }
|
|
812
738
|
|
|
813
739
|
declare interface TabItems {
|
|
@@ -861,9 +787,6 @@ declare interface TabsProps extends TabsProps_2 {
|
|
|
861
787
|
tabPosition?: "top" | "bottom" | "right" | "left";
|
|
862
788
|
type?: "line" | "card" | "editable-card";
|
|
863
789
|
onEdit?: () => void;
|
|
864
|
-
isRemovable?: boolean;
|
|
865
|
-
onRemove?: (key: string) => void;
|
|
866
|
-
onDoubleClickHandler?: (key: string) => void;
|
|
867
790
|
}
|
|
868
791
|
|
|
869
792
|
export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;
|
|
@@ -878,19 +801,6 @@ export declare const TextAreaWithController: ({ label, type, placeholder, requir
|
|
|
878
801
|
|
|
879
802
|
export declare type TextAreaWithControllerProps = CustomInputProps & TextAreaProps_2;
|
|
880
803
|
|
|
881
|
-
declare type TimePickerComponentProps = CustomInputProps & Omit<TimePickerProps, "ref"> & {
|
|
882
|
-
format?: string;
|
|
883
|
-
};
|
|
884
|
-
|
|
885
|
-
export declare const Timer: (props: TimerProps) => default_2.JSX.Element;
|
|
886
|
-
|
|
887
|
-
export declare const TImerPicker: default_2.FC<TimePickerComponentProps>;
|
|
888
|
-
|
|
889
|
-
export declare interface TimerProps {
|
|
890
|
-
hours: number;
|
|
891
|
-
minutes: number;
|
|
892
|
-
}
|
|
893
|
-
|
|
894
804
|
export declare const TitleHeader: (props: TitleHeaderProps) => default_2.JSX.Element;
|
|
895
805
|
|
|
896
806
|
export declare interface TitleHeaderProps {
|
|
@@ -912,13 +822,12 @@ export { Typography }
|
|
|
912
822
|
|
|
913
823
|
export { TypographyProps }
|
|
914
824
|
|
|
915
|
-
export declare const Upload: ({ name, onChange, showUploadList,
|
|
825
|
+
export declare const Upload: ({ name, onChange, showUploadList, ...rest }: UploadBaseProps) => default_2.JSX.Element;
|
|
916
826
|
|
|
917
827
|
export declare interface UploadBaseProps extends CustomUploadProps {
|
|
918
828
|
name: string;
|
|
919
829
|
required?: boolean;
|
|
920
830
|
showUploadList?: boolean;
|
|
921
|
-
uploadInputType?: UploadInputTypes;
|
|
922
831
|
}
|
|
923
832
|
|
|
924
833
|
export declare interface UploadBasePropsForDropdown extends CustomDropDownFileUploadProps {
|