@corp-products/ui-components 3.9.0 → 3.9.2
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
|
@@ -226,6 +226,7 @@ declare class DatePickerComponent extends BaseInputComponent {
|
|
|
226
226
|
minDate: Date | undefined | null;
|
|
227
227
|
maxDate: Date | undefined | null;
|
|
228
228
|
hourFormat: '12' | '24';
|
|
229
|
+
appendTo: string;
|
|
229
230
|
nowTime: Date;
|
|
230
231
|
selectionMode: 'single' | 'range';
|
|
231
232
|
onAfterClearDate: EventEmitter<void>;
|
|
@@ -239,7 +240,7 @@ declare class DatePickerComponent extends BaseInputComponent {
|
|
|
239
240
|
afterClearDate(): void;
|
|
240
241
|
onDateChange(value: Date): void;
|
|
241
242
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
242
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "stc-date-picker", never, { "showIcon": { "alias": "showIcon"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "basicInput": { "alias": "basicInput"; "required": false; }; "isTimeOnly": { "alias": "isTimeOnly"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "hourFormat": { "alias": "hourFormat"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "withoutTime": { "alias": "withoutTime"; "required": false; }; }, { "onAfterClearDate": "onAfterClearDate"; }, never, never, true, never>;
|
|
243
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerComponent, "stc-date-picker", never, { "showIcon": { "alias": "showIcon"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "basicInput": { "alias": "basicInput"; "required": false; }; "isTimeOnly": { "alias": "isTimeOnly"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "hourFormat": { "alias": "hourFormat"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "withoutTime": { "alias": "withoutTime"; "required": false; }; }, { "onAfterClearDate": "onAfterClearDate"; }, never, never, true, never>;
|
|
243
244
|
}
|
|
244
245
|
|
|
245
246
|
declare class InputComponent extends BaseInputComponent {
|
|
@@ -369,6 +370,7 @@ interface InputsMapData {
|
|
|
369
370
|
checkmark?: boolean;
|
|
370
371
|
filterBy?: string;
|
|
371
372
|
selectedItemsLabel?: string;
|
|
373
|
+
optionTemplate?: OptionTemplateConfig;
|
|
372
374
|
autoCompleteItems?: unknown[];
|
|
373
375
|
minLengthToSearch?: number;
|
|
374
376
|
delay?: number;
|
|
@@ -392,6 +394,11 @@ interface DateRangeInterface {
|
|
|
392
394
|
notBeforeOrSameDateInput?: string;
|
|
393
395
|
notAfterOrSameDateInput?: string;
|
|
394
396
|
}
|
|
397
|
+
interface OptionTemplateConfig {
|
|
398
|
+
imageKey?: string;
|
|
399
|
+
mainTextKey: string;
|
|
400
|
+
subTextKey?: string;
|
|
401
|
+
}
|
|
395
402
|
declare enum FormFieldTypeEnum {
|
|
396
403
|
DATE_PICKER = "date-picker",
|
|
397
404
|
SELECT_BUTTON = "select-button",
|
|
@@ -832,4 +839,4 @@ interface Position {
|
|
|
832
839
|
}
|
|
833
840
|
|
|
834
841
|
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 };
|
|
842
|
+
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 };
|