@ng-matero/extensions 15.0.0 → 15.0.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.
@@ -52,9 +52,8 @@ export declare class MtxCalendar<D> implements AfterContentInit, OnDestroy {
52
52
  set startAt(value: D | null);
53
53
  private _startAt;
54
54
  /**
55
- * Whether the calendar is in time mode. In time mode the calendar clock gets time input elements rather then just clock
56
- *
57
- * When touchUi is enabled this will be disabled
55
+ * Whether the calendar is in time mode. In time mode the calendar clock gets time input elements
56
+ * rather then just clock. When touchUi is enabled this will be disabled
58
57
  */
59
58
  get timeInput(): boolean;
60
59
  set timeInput(value: boolean);
@@ -1,7 +1,8 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
- import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
+ import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy } from '@angular/core';
3
3
  import { DatetimeAdapter } from '@ng-matero/extensions/core';
4
4
  import { MtxDatetimepickerFilterType } from './datetimepicker-filtertype';
5
+ import { MtxAMPM } from './datetimepicker-types';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare const CLOCK_RADIUS = 50;
7
8
  export declare const CLOCK_INNER_RADIUS = 27.5;
@@ -13,7 +14,7 @@ export declare type MtxClockView = 'hour' | 'minute';
13
14
  * A clock that is used as part of the datetimepicker.
14
15
  * @docs-private
15
16
  */
16
- export declare class MtxClock<D> implements AfterContentInit, OnDestroy {
17
+ export declare class MtxClock<D> implements AfterContentInit, OnDestroy, OnChanges {
17
18
  private _elementRef;
18
19
  private _adapter;
19
20
  private _changeDetectorRef;
@@ -24,6 +25,8 @@ export declare class MtxClock<D> implements AfterContentInit, OnDestroy {
24
25
  interval: number;
25
26
  /** Whether the clock uses 12 hour format. */
26
27
  twelvehour: boolean;
28
+ /** Whether the time is now in AM or PM. */
29
+ AMPM: MtxAMPM;
27
30
  /** Emits when the currently selected date changes. */
28
31
  selectedChange: EventEmitter<D>;
29
32
  /** Emits when any date is activated. */
@@ -65,6 +68,7 @@ export declare class MtxClock<D> implements AfterContentInit, OnDestroy {
65
68
  };
66
69
  ngAfterContentInit(): void;
67
70
  ngOnDestroy(): void;
71
+ ngOnChanges(): void;
68
72
  /** Called when the user has put their pointer down on the clock. */
69
73
  private _pointerDown;
70
74
  /**
@@ -87,5 +91,5 @@ export declare class MtxClock<D> implements AfterContentInit, OnDestroy {
87
91
  private setTime;
88
92
  static ngAcceptInputType_twelvehour: BooleanInput;
89
93
  static ɵfac: i0.ɵɵFactoryDeclaration<MtxClock<any>, never>;
90
- static ɵcmp: i0.ɵɵComponentDeclaration<MtxClock<any>, "mtx-clock", ["mtxClock"], { "dateFilter": "dateFilter"; "interval": "interval"; "twelvehour": "twelvehour"; "activeDate": "activeDate"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "startView": "startView"; }, { "selectedChange": "selectedChange"; "activeDateChange": "activeDateChange"; "_userSelection": "_userSelection"; }, never, never, false, never>;
94
+ static ɵcmp: i0.ɵɵComponentDeclaration<MtxClock<any>, "mtx-clock", ["mtxClock"], { "dateFilter": "dateFilter"; "interval": "interval"; "twelvehour": "twelvehour"; "AMPM": "AMPM"; "activeDate": "activeDate"; "selected": "selected"; "minDate": "minDate"; "maxDate": "maxDate"; "startView": "startView"; }, { "selectedChange": "selectedChange"; "activeDateChange": "activeDateChange"; "_userSelection": "_userSelection"; }, never, never, false, never>;
91
95
  }