otimus-library 0.3.60 → 0.3.61

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
@@ -233,6 +233,7 @@ declare class OcChipComponent {
233
233
  ocFontSize: string;
234
234
  ocClick: EventEmitter<any>;
235
235
  ocRemove: EventEmitter<any>;
236
+ protected ocStyleTheme: OcStyleThemeType;
236
237
  ocEvent(event: any): void;
237
238
  ocRemoveEvent(event: any): void;
238
239
  static ɵfac: i0.ɵɵFactoryDeclaration<OcChipComponent, never>;
@@ -724,8 +725,9 @@ interface OcCalendarDay {
724
725
  isCurrentMonth: boolean;
725
726
  isSelected: boolean;
726
727
  isInRange: boolean;
728
+ isDisabled: boolean;
727
729
  }
728
- declare class OcCalendarComponent {
730
+ declare class OcCalendarComponent implements OnChanges {
729
731
  private styleThemeService;
730
732
  ocSelectionMode: 'single' | 'range';
731
733
  ocStartDate?: Date;
@@ -753,11 +755,14 @@ declare class OcCalendarComponent {
753
755
  weekDays: string[];
754
756
  constructor(styleThemeService: StyleThemeService);
755
757
  ngOnInit(): void;
758
+ ngOnChanges(changes: SimpleChanges): void;
756
759
  previousMonth(): void;
757
760
  nextMonth(): void;
758
761
  selectDay(day: OcCalendarDay): void;
759
762
  private generateCalendar;
760
763
  private isSameDate;
764
+ private isDateInRange;
765
+ private isDateDisabled;
761
766
  private getWeekRange;
762
767
  private getConsecutiveDaysRange;
763
768
  onMonthChange(value: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otimus-library",
3
- "version": "0.3.60",
3
+ "version": "0.3.61",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^20.2.5",