@corp-products/ui-components 3.3.1 → 3.3.3

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
@@ -300,6 +300,8 @@ interface Dropdown<T = unknown> {
300
300
  id?: string;
301
301
  keyValue: T;
302
302
  label: string;
303
+ labelAr?: string;
304
+ labelEn?: string;
303
305
  icon?: string;
304
306
  hidden?: boolean;
305
307
  disabled?: boolean;
@@ -631,10 +633,7 @@ declare class DualCalendarComponent {
631
633
  gregorianModel: NgbDateStruct;
632
634
  hijriModel: NgbDateStruct;
633
635
  currentLang: 'ar' | 'en';
634
- selectButtonChange: EventEmitter<{
635
- name: string;
636
- value: any;
637
- }>;
636
+ gregorianUTC: EventEmitter<string>;
638
637
  isCalendarOpen: boolean;
639
638
  calendarContainer: ElementRef;
640
639
  hijriCal: NgbCalendarIslamicUmalqura;
@@ -646,8 +645,24 @@ declare class DualCalendarComponent {
646
645
  showCalender(isOpen: boolean): void;
647
646
  formatHijri(h: NgbDate): string;
648
647
  static ɵfac: i0.ɵɵFactoryDeclaration<DualCalendarComponent, 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>;
650
- }
651
-
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 };
648
+ static ɵcmp: i0.ɵɵComponentDeclaration<DualCalendarComponent, "app-dual-calendar", never, { "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "gregorianUTC": "gregorianUTC"; }, never, never, true, never>;
649
+ }
650
+
651
+ declare const WEEKDAYS: {
652
+ ar: string[];
653
+ en: string[];
654
+ };
655
+ declare const MONTHS_GREGORIAN: {
656
+ ar: string[];
657
+ en: string[];
658
+ };
659
+ declare const MONTHS_HIJRI: {
660
+ ar: string[];
661
+ en: string[];
662
+ };
663
+ declare function getGregorianMonthName(lang: 'ar' | 'en', month: number): string;
664
+ declare function getHijriMonthName(lang: 'ar' | 'en', month: number): string;
665
+ declare function getWeekdayName(lang: 'ar' | 'en', weekday: number): string;
666
+
667
+ export { 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, getGregorianMonthName, getHijriMonthName, getWeekdayName };
653
668
  export type { 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corp-products/ui-components",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "author": "shireen Omar",
5
5
  "description": "shared UI components across our apps",
6
6
  "peerDependencies": {