@corp-products/ui-components 3.4.9 → 3.5.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
@@ -271,7 +271,7 @@ declare class SelectButtonComponent extends BaseInputComponent {
271
271
  declare class SelectComponent extends BaseInputComponent {
272
272
  selectedItemTemplate: TemplateRef<unknown> | null;
273
273
  optionTemplate: TemplateRef<unknown> | null;
274
- options: Array<string | Record<string, unknown>>;
274
+ options: unknown[];
275
275
  optionLabel: string;
276
276
  optionValue: string;
277
277
  emptyMessage: string;
@@ -343,7 +343,7 @@ interface InputsMapData {
343
343
  prefix?: string;
344
344
  size?: 'small' | 'large';
345
345
  variant?: 'in' | 'over' | 'on';
346
- selectOptions?: Array<string | Record<string, unknown>>;
346
+ selectOptions?: unknown[];
347
347
  optionLabel?: string;
348
348
  filter?: boolean;
349
349
  multiple?: boolean;
@@ -641,15 +641,18 @@ declare class DualCalendarComponent {
641
641
  selectedDate: string;
642
642
  control: FormControl<any>;
643
643
  label: string;
644
+ name: string;
644
645
  withTime: boolean;
645
646
  mode: 'gregorian' | 'hijri';
646
647
  gregorianModel: NgbDateStruct;
647
648
  hijriModel: NgbDateStruct;
648
- currentLang: 'ar' | 'en';
649
+ currentLang: i0.WritableSignal<"ar" | "en">;
649
650
  gregorianUTC: EventEmitter<string>;
651
+ gregorianUTCValue: string;
650
652
  isCalendarOpen: boolean;
651
653
  calendarContainer: ElementRef;
652
654
  hijriCal: NgbCalendarIslamicUmalqura;
655
+ constructor();
653
656
  ngOnInit(): void;
654
657
  setDate(value: string | null): void;
655
658
  onDocumentClick(event: MouseEvent): void;
@@ -659,7 +662,7 @@ declare class DualCalendarComponent {
659
662
  showCalender(isOpen: boolean): void;
660
663
  formatHijri(h: NgbDate): string;
661
664
  static ɵfac: i0.ɵɵFactoryDeclaration<DualCalendarComponent, never>;
662
- static ɵcmp: i0.ɵɵComponentDeclaration<DualCalendarComponent, "app-dual-calendar", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "withTime": { "alias": "withTime"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; }, { "gregorianUTC": "gregorianUTC"; }, never, never, true, never>;
665
+ 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; }; "currentLang": { "alias": "currentLang"; "required": false; }; }, { "gregorianUTC": "gregorianUTC"; }, never, never, true, never>;
663
666
  }
664
667
 
665
668
  declare const WEEKDAYS: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corp-products/ui-components",
3
- "version": "3.4.9",
3
+ "version": "3.5.1",
4
4
  "author": "shireen Omar",
5
5
  "description": "shared UI components across our apps",
6
6
  "peerDependencies": {