@coreui/angular-pro 4.2.0-next.0 → 4.2.0-next.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.
@@ -1,15 +1,17 @@
1
- import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
3
3
  import { BooleanInput } from '@angular/cdk/coercion';
4
+ import { TemplateIdDirective } from '../shared';
4
5
  import { DateTimeFormatOptions, DayPeriod, ITimeValue } from './time.utils';
5
6
  import * as i0 from "@angular/core";
6
- export declare class TimePickerComponent implements OnChanges, OnInit, ControlValueAccessor {
7
+ export declare class TimePickerComponent implements OnChanges, OnInit, ControlValueAccessor, AfterViewInit {
7
8
  constructor();
8
9
  static ngAcceptInputType_cleaner: BooleanInput;
9
10
  static ngAcceptInputType_disabled: BooleanInput;
10
11
  static ngAcceptInputType_indicator: BooleanInput;
11
12
  static ngAcceptInputType_inputReadOnly: BooleanInput;
12
13
  static ngAcceptInputType_seconds: BooleanInput;
14
+ static ngAcceptInputType_visible: BooleanInput;
13
15
  /**
14
16
  * Toggle visibility or set the content of the cleaner button.
15
17
  * @type boolean
@@ -108,8 +110,19 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
108
110
  * @default 'roll'
109
111
  */
110
112
  variant: 'roll' | 'select';
113
+ /**
114
+ * Toggle the visibility of dropdown menu component.
115
+ * @type boolean
116
+ * @default false
117
+ */
118
+ set visible(value: boolean);
119
+ get visible(): boolean;
120
+ private _visible;
111
121
  timeChange: EventEmitter<Date | undefined>;
112
122
  onBlur(): void;
123
+ dropdown?: ElementRef;
124
+ templates: any;
125
+ contentTemplates: QueryList<TemplateIdDirective>;
113
126
  listOfHours: ITimeValue[];
114
127
  listOfHours12: ITimeValue[];
115
128
  listOfMinutes: ITimeValue[];
@@ -146,6 +159,7 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
146
159
  emitTime(time: Date | undefined): void;
147
160
  ngOnInit(): void;
148
161
  ngOnChanges(changes: SimpleChanges): void;
162
+ ngAfterViewInit(): void;
149
163
  setTimeLists(): void;
150
164
  updateSelectTime(time?: Date | undefined): void;
151
165
  closestTime(timeArray: ITimeValue[], timeSegment: number): ITimeValue;
@@ -165,5 +179,5 @@ export declare class TimePickerComponent implements OnChanges, OnInit, ControlVa
165
179
  handleTimeInputChange($event: any): void;
166
180
  handleClear($event: MouseEvent): void;
167
181
  static ɵfac: i0.ɵɵFactoryDeclaration<TimePickerComponent, never>;
168
- static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "c-time-picker-select", ["cTimePickerSelect"], { "cleaner": "cleaner"; "dateTimeFormatOptions": "dateTimeFormatOptions"; "disabled": "disabled"; "filterHours": "filterHours"; "filterMinutes": "filterMinutes"; "filterSeconds": "filterSeconds"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "locale": "locale"; "placeholder": "placeholder"; "seconds": "seconds"; "size": "size"; "time": "time"; "variant": "variant"; }, { "timeChange": "timeChange"; }, never, never, false>;
182
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimePickerComponent, "c-time-picker", ["cTimePicker"], { "cleaner": "cleaner"; "dateTimeFormatOptions": "dateTimeFormatOptions"; "disabled": "disabled"; "filterHours": "filterHours"; "filterMinutes": "filterMinutes"; "filterSeconds": "filterSeconds"; "indicator": "indicator"; "inputReadOnly": "inputReadOnly"; "locale": "locale"; "placeholder": "placeholder"; "seconds": "seconds"; "size": "size"; "time": "time"; "variant": "variant"; "visible": "visible"; }, { "timeChange": "timeChange"; }, ["contentTemplates"], never, false>;
169
183
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "4.2.0-next.0",
3
+ "version": "4.2.0-next.1",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "homepage": "https://coreui.io/angular",
6
6
  "author": {