@corp-products/ui-components 3.3.0 → 3.3.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
|
@@ -10,8 +10,7 @@ import { Subject, Observable } from 'rxjs';
|
|
|
10
10
|
import { SelectButtonChangeEvent } from 'primeng/selectbutton';
|
|
11
11
|
import { SelectChangeEvent } from 'primeng/select';
|
|
12
12
|
import { MenuItem } from 'primeng/api';
|
|
13
|
-
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
14
|
-
import moment from 'moment-hijri';
|
|
13
|
+
import { NgbDateStruct, NgbCalendarIslamicUmalqura, NgbDate } from '@ng-bootstrap/ng-bootstrap';
|
|
15
14
|
|
|
16
15
|
type AppButtonSeverity = 'success' | 'info' | 'warn' | 'danger' | 'help' | 'primary' | 'secondary' | 'contrast';
|
|
17
16
|
type AppButtonSize = 'large' | 'small';
|
|
@@ -627,6 +626,7 @@ declare class DynamicSidebarV2Service {
|
|
|
627
626
|
declare class DualCalendarComponent {
|
|
628
627
|
selectedDate: string;
|
|
629
628
|
control: FormControl<any>;
|
|
629
|
+
label: string;
|
|
630
630
|
mode: 'gregorian' | 'hijri';
|
|
631
631
|
gregorianModel: NgbDateStruct;
|
|
632
632
|
hijriModel: NgbDateStruct;
|
|
@@ -637,14 +637,16 @@ declare class DualCalendarComponent {
|
|
|
637
637
|
}>;
|
|
638
638
|
isCalendarOpen: boolean;
|
|
639
639
|
calendarContainer: ElementRef;
|
|
640
|
+
hijriCal: NgbCalendarIslamicUmalqura;
|
|
640
641
|
constructor();
|
|
641
642
|
onDocumentClick(event: MouseEvent): void;
|
|
643
|
+
private structToNgbDate;
|
|
642
644
|
onSelectGregorian(date: NgbDateStruct): void;
|
|
643
645
|
onSelectHijri(date: NgbDateStruct): void;
|
|
644
646
|
showCalender(isOpen: boolean): void;
|
|
645
|
-
formatHijri(
|
|
647
|
+
formatHijri(h: NgbDate): string;
|
|
646
648
|
static ɵfac: i0.ɵɵFactoryDeclaration<DualCalendarComponent, never>;
|
|
647
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DualCalendarComponent, "app-dual-calendar", never, { "control": { "alias": "control"; "required": false; }; }, { "selectButtonChange": "selectButtonChange"; }, never, never, true, never>;
|
|
649
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DualCalendarComponent, "app-dual-calendar", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "selectButtonChange": "selectButtonChange"; }, never, never, true, never>;
|
|
648
650
|
}
|
|
649
651
|
|
|
650
652
|
export { AppAccordionComponent, AppBreadcrumbComponent, AppButtonComponent, AppDropdownMenuComponent, AppTabsComponent, AutoCompleteComponent, BasicErrorKeysEnum, BottomSheetComponent, ConfirmationDialogComponent, ConfirmationDialogService, DatePickerComponent, DualCalendarComponent, DynamicFormComponent, DynamicSidebarService, DynamicSidebarV2Service, ErrorsWithValuesKeysEnum, FormFieldTypeEnum, FormUtils, FormValidationService, IcoMoonIconComponent, InputComponent, ReadMoreComponent, SelectButtonComponent, SelectComponent, SideBarComponent, SidebarConfigDefaults, SwitchComponent, UserAutocompleteCardComponent, UserInfoComponent, ValidationErrorsPipe };
|