@corp-products/ui-components 3.5.5 → 3.5.7
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
|
@@ -3,7 +3,7 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { TemplateRef, OnInit, EventEmitter, PipeTransform, OnDestroy, Type, EnvironmentInjector, ApplicationRef, ViewContainerRef, ElementRef } from '@angular/core';
|
|
4
4
|
import { Params, Router, ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { DynamicDialogRef, DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';
|
|
6
|
-
import { FormGroup, FormControl, ValidationErrors, AbstractControl } from '@angular/forms';
|
|
6
|
+
import { FormGroup, FormControl, ValidationErrors, AbstractControl, ValidatorFn } from '@angular/forms';
|
|
7
7
|
import { AutoCompleteSelectEvent, AutoCompleteCompleteEvent } from 'primeng/autocomplete';
|
|
8
8
|
import * as rxjs from 'rxjs';
|
|
9
9
|
import { Subject, Observable } from 'rxjs';
|
|
@@ -82,14 +82,15 @@ declare class AppDropdownMenuComponent implements OnInit {
|
|
|
82
82
|
popupMenuStyle: "white" | "purple";
|
|
83
83
|
buttonIcon: string;
|
|
84
84
|
buttonClass: string;
|
|
85
|
-
buttonStyle:
|
|
85
|
+
buttonStyle: string;
|
|
86
|
+
buttonSeverity: AppButtonSeverity;
|
|
86
87
|
buttonIconPosition: AppButtonIconPos;
|
|
87
88
|
router: Router;
|
|
88
89
|
showMenu: boolean;
|
|
89
90
|
ngOnInit(): void;
|
|
90
91
|
onMenuItemClick(item: DropdownMenuItem): void;
|
|
91
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppDropdownMenuComponent, never>;
|
|
92
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppDropdownMenuComponent, "app-dropdown-menu", never, { "buttonTitle": { "alias": "buttonTitle"; "required": true; }; "menuItems": { "alias": "menuItems"; "required": true; }; "popupMenuStyle": { "alias": "popupMenuStyle"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonIconPosition": { "alias": "buttonIconPosition"; "required": false; }; }, {}, never, never, true, never>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppDropdownMenuComponent, "app-dropdown-menu", never, { "buttonTitle": { "alias": "buttonTitle"; "required": true; }; "menuItems": { "alias": "menuItems"; "required": true; }; "popupMenuStyle": { "alias": "popupMenuStyle"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "buttonSeverity": { "alias": "buttonSeverity"; "required": false; }; "buttonIconPosition": { "alias": "buttonIconPosition"; "required": false; }; }, {}, never, never, true, never>;
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
declare class SideBarComponent {
|
|
@@ -223,14 +224,16 @@ declare class DatePickerComponent extends BaseInputComponent {
|
|
|
223
224
|
selectionMode: 'single' | 'range';
|
|
224
225
|
onAfterClearDate: EventEmitter<void>;
|
|
225
226
|
variant: 'in' | 'over' | 'on';
|
|
226
|
-
|
|
227
|
+
withoutTime: boolean;
|
|
228
|
+
innerControl: FormControl<Date | null>;
|
|
227
229
|
constructor();
|
|
230
|
+
ngOnInit(): void;
|
|
228
231
|
selectCurrentTime(e: any): void;
|
|
229
232
|
clearButtonClick(e: any): void;
|
|
230
233
|
afterClearDate(): void;
|
|
231
234
|
onDateChange(value: any): void;
|
|
232
235
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerComponent, never>;
|
|
233
|
-
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; }; "
|
|
236
|
+
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>;
|
|
234
237
|
}
|
|
235
238
|
|
|
236
239
|
declare class InputComponent extends BaseInputComponent {
|
|
@@ -710,5 +713,8 @@ declare class AlertDialogService {
|
|
|
710
713
|
static ɵprov: i0.ɵɵInjectableDeclaration<AlertDialogService>;
|
|
711
714
|
}
|
|
712
715
|
|
|
713
|
-
|
|
716
|
+
declare const dateRangeValidator: (fromKey: string, toKey: string) => ValidatorFn;
|
|
717
|
+
declare const notFutureDateValidator: (dateKey: string) => ValidatorFn;
|
|
718
|
+
|
|
719
|
+
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, UserAutocompleteCardComponent, UserInfoComponent, ValidationErrorsPipe, WEEKDAYS, dateRangeValidator, getGregorianMonthName, getHijriMonthName, getWeekdayName, notFutureDateValidator };
|
|
714
720
|
export type { AlertDialogData, AppButtonIconPos, AppButtonSeverity, AppButtonSize, AppButtonVariant, AppTabs, BreadCrumbExtraData, BreadCrumbPosition, BreadcrumbItem, ConfirmationDialogData, DateRangeInterface, Dropdown, DropdownMenuItem, DropdownTextColor, DynamicFormData, DynamicSidebarV2Actions, DynamicSidebarV2Config, InputContentType, InputType, InputsMap, InputsMapData, LabelValue, RoutedTab, SidebarActionConfig, SidebarActionV2Config, SidebarConfig, SidebarV2Actions, TemplateTab };
|