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