@corp-products/ui-components 3.7.9 → 3.8.1
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/index.d.ts
CHANGED
|
@@ -369,6 +369,7 @@ interface InputsMapData {
|
|
|
369
369
|
checkmark?: boolean;
|
|
370
370
|
filterBy?: string;
|
|
371
371
|
selectedItemsLabel?: string;
|
|
372
|
+
optionTemplate?: OptionTemplateConfig;
|
|
372
373
|
autoCompleteItems?: unknown[];
|
|
373
374
|
minLengthToSearch?: number;
|
|
374
375
|
delay?: number;
|
|
@@ -392,6 +393,11 @@ interface DateRangeInterface {
|
|
|
392
393
|
notBeforeOrSameDateInput?: string;
|
|
393
394
|
notAfterOrSameDateInput?: string;
|
|
394
395
|
}
|
|
396
|
+
interface OptionTemplateConfig {
|
|
397
|
+
imageKey?: string;
|
|
398
|
+
mainTextKey: string;
|
|
399
|
+
subTextKey?: string;
|
|
400
|
+
}
|
|
395
401
|
declare enum FormFieldTypeEnum {
|
|
396
402
|
DATE_PICKER = "date-picker",
|
|
397
403
|
SELECT_BUTTON = "select-button",
|
|
@@ -832,4 +838,4 @@ interface Position {
|
|
|
832
838
|
}
|
|
833
839
|
|
|
834
840
|
export { AlertDialogComponent, AlertDialogService, AppAccordionComponent, AppBreadcrumbComponent, AppButtonComponent, AppDropdownMenuComponent, AppTabsComponent, AutoCompleteComponent, BasicErrorKeysEnum, BottomSheetComponent, ConfirmationDialogComponent, ConfirmationDialogService, DatePickerComponent, DualCalendarComponent, DynamicFormComponent, DynamicSidebarService, DynamicSidebarV2Service, ErrorsWithValuesKeysEnum, FormFieldTypeEnum, FormUtils, FormValidationService, IcoMoonIconComponent, InputComponent, MONTHS_GREGORIAN, MONTHS_HIJRI, ReadMoreComponent, SelectButtonComponent, SelectComponent, SideBarComponent, SidebarConfigDefaults, SwitchComponent, UploadStatus, UserAutocompleteCardComponent, UserInfoComponent, ValidationErrorsPipe, WEEKDAYS, dateRangeValidator, getGregorianMonthName, getHijriMonthName, getWeekdayName, notFutureDateValidator, numbersOnlyValidator };
|
|
835
|
-
export type { AlertDialogData, AppButtonIconPos, AppButtonSeverity, AppButtonSize, AppButtonVariant, AppTabs, Attachment, AttachmentFile, AttachmentStatusDisplay, BreadCrumbExtraData, BreadCrumbPosition, BreadcrumbItem, ConfirmationDialogData, Contact, DateRangeInterface, Department, DownloadRequest, Dropdown, DropdownMenuItem, DropdownTextColor, DynamicFormData, DynamicSidebarV2Actions, DynamicSidebarV2Config, FileItem, FileTypeConfig, InputContentType, InputType, InputsMap, InputsMapData, LabelValue, PdfPreviewState, Position, RoutedTab, SidebarActionConfig, SidebarActionV2Config, SidebarConfig, SidebarV2Actions, TemplateTab, UploadProgress, UserProfileData };
|
|
841
|
+
export type { AlertDialogData, AppButtonIconPos, AppButtonSeverity, AppButtonSize, AppButtonVariant, AppTabs, Attachment, AttachmentFile, AttachmentStatusDisplay, BreadCrumbExtraData, BreadCrumbPosition, BreadcrumbItem, ConfirmationDialogData, Contact, DateRangeInterface, Department, DownloadRequest, Dropdown, DropdownMenuItem, DropdownTextColor, DynamicFormData, DynamicSidebarV2Actions, DynamicSidebarV2Config, FileItem, FileTypeConfig, InputContentType, InputType, InputsMap, InputsMapData, LabelValue, OptionTemplateConfig, PdfPreviewState, Position, RoutedTab, SidebarActionConfig, SidebarActionV2Config, SidebarConfig, SidebarV2Actions, TemplateTab, UploadProgress, UserProfileData };
|