@corp-products/ui-components 4.3.0 → 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
@@ -548,6 +548,7 @@ declare class ConfirmationDialogComponent extends DynamicDialogRef implements On
548
548
  documentId: string | null;
549
549
  uploadState: FileUploadState;
550
550
  get hasFileUpload(): boolean;
551
+ hasFileUploadField(): boolean;
551
552
  get isConfirmDisabled(): boolean;
552
553
  ngOnDestroy(): void;
553
554
  ngOnInit(): void;
@@ -832,10 +833,12 @@ declare class DualCalendarComponent implements OnInit, OnChanges, OnDestroy {
832
833
  mode: 'gregorian' | 'hijri';
833
834
  gregorianModel: NgbDateStruct;
834
835
  hijriModel: NgbDateStruct;
835
- currentLang: i0.WritableSignal<"ar" | "en">;
836
+ lang: 'ar' | 'en' | undefined;
836
837
  disabledDays: number[];
838
+ disabledDates: Date[];
837
839
  gregorianUTC: EventEmitter<string>;
838
840
  onClose: EventEmitter<boolean>;
841
+ currentLang: i0.WritableSignal<"ar" | "en">;
839
842
  gregorianUTCValue: string;
840
843
  isShown: boolean;
841
844
  appedToBody: boolean;
@@ -843,6 +846,8 @@ declare class DualCalendarComponent implements OnInit, OnChanges, OnDestroy {
843
846
  hijriCal: NgbCalendarIslamicUmalqura;
844
847
  renderer: Renderer2;
845
848
  private hostEl;
849
+ private translateService;
850
+ private langSubscription?;
846
851
  constructor();
847
852
  ngOnChanges(changes: SimpleChanges): void;
848
853
  ngOnInit(): void;
@@ -860,7 +865,7 @@ declare class DualCalendarComponent implements OnInit, OnChanges, OnDestroy {
860
865
  formatHijri(h: NgbDate): string;
861
866
  ngOnDestroy(): void;
862
867
  static ɵfac: i0.ɵɵFactoryDeclaration<DualCalendarComponent, never>;
863
- 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; }; "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>;
864
869
  }
865
870
 
866
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.0",
3
+ "version": "4.3.2",
4
4
  "author": "shireen Omar",
5
5
  "description": "shared UI components across our apps",
6
6
  "peerDependencies": {