@corp-products/ui-components 4.3.1 → 4.3.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
@@ -833,11 +833,12 @@ declare class DualCalendarComponent implements OnInit, OnChanges, OnDestroy {
833
833
  mode: 'gregorian' | 'hijri';
834
834
  gregorianModel: NgbDateStruct;
835
835
  hijriModel: NgbDateStruct;
836
- currentLang: i0.WritableSignal<"ar" | "en">;
836
+ lang: 'ar' | 'en' | undefined;
837
837
  disabledDays: number[];
838
838
  disabledDates: Date[];
839
839
  gregorianUTC: EventEmitter<string>;
840
840
  onClose: EventEmitter<boolean>;
841
+ currentLang: i0.WritableSignal<"ar" | "en">;
841
842
  gregorianUTCValue: string;
842
843
  isShown: boolean;
843
844
  appedToBody: boolean;
@@ -845,6 +846,8 @@ declare class DualCalendarComponent implements OnInit, OnChanges, OnDestroy {
845
846
  hijriCal: NgbCalendarIslamicUmalqura;
846
847
  renderer: Renderer2;
847
848
  private hostEl;
849
+ private translateService;
850
+ private langSubscription?;
848
851
  constructor();
849
852
  ngOnChanges(changes: SimpleChanges): void;
850
853
  ngOnInit(): void;
@@ -862,7 +865,7 @@ declare class DualCalendarComponent implements OnInit, OnChanges, OnDestroy {
862
865
  formatHijri(h: NgbDate): string;
863
866
  ngOnDestroy(): void;
864
867
  static ɵfac: i0.ɵɵFactoryDeclaration<DualCalendarComponent, never>;
865
- static ɵcmp: i0.ɵɵComponentDeclaration<DualCalendarComponent, "app-dual-calendar", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "withTime": { "alias": "withTime"; "required": false; }; "isDatePickerShow": { "alias": "isDatePickerShow"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "disabledDays": { "alias": "disabledDays"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "isShown": { "alias": "isShown"; "required": false; }; "appedToBody": { "alias": "appedToBody"; "required": false; }; }, { "gregorianUTC": "gregorianUTC"; "onClose": "onClose"; }, never, never, true, never>;
868
+ static ɵcmp: i0.ɵɵComponentDeclaration<DualCalendarComponent, "app-dual-calendar", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "withTime": { "alias": "withTime"; "required": false; }; "isDatePickerShow": { "alias": "isDatePickerShow"; "required": false; }; "lang": { "alias": "lang"; "required": false; }; "disabledDays": { "alias": "disabledDays"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "isShown": { "alias": "isShown"; "required": false; }; "appedToBody": { "alias": "appedToBody"; "required": false; }; }, { "gregorianUTC": "gregorianUTC"; "onClose": "onClose"; }, never, never, true, never>;
866
869
  }
867
870
 
868
871
  declare const WEEKDAYS: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corp-products/ui-components",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "author": "shireen Omar",
5
5
  "description": "shared UI components across our apps",
6
6
  "peerDependencies": {