@coreui/angular-pro 4.2.0-next.3 → 4.2.0-next.4

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,12 +1,10 @@
1
- import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl, FormGroup } from '@angular/forms';
3
3
  import { BooleanInput } from '@angular/cdk/coercion';
4
4
  import { BreakpointObserver } from '@angular/cdk/layout';
5
5
  import { Colors } from '../../coreui.types';
6
6
  import { CalendarComponent } from '../../calendar';
7
7
  import { DateFilterType, DayFormatType, WeekdayFormatType } from '../../calendar/calendar.service';
8
- import { StartDateDirective } from '../start-date.directive';
9
- import { EndDateDirective } from '../end-date.directive';
10
8
  import { TemplateIdDirective } from '../../shared';
11
9
  import * as i0 from "@angular/core";
12
10
  export interface ICalendarRanges {
@@ -14,7 +12,7 @@ export interface ICalendarRanges {
14
12
  }
15
13
  export declare type TCustomRange = [string, Date[]];
16
14
  /** Must be a valid date string */
17
- export declare class DateRangePickerComponent implements OnInit, OnDestroy, ControlValueAccessor, AfterViewInit {
15
+ export declare class DateRangePickerComponent implements OnInit, OnDestroy, ControlValueAccessor, AfterViewInit, OnChanges {
18
16
  private breakpointObserver;
19
17
  static ngAcceptInputType_disabled: BooleanInput;
20
18
  static ngAcceptInputType_navYearFirst: BooleanInput;
@@ -189,8 +187,8 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
189
187
  endDateChange: EventEmitter<Date | null>;
190
188
  startDateChange: EventEmitter<Date | null>;
191
189
  calendarComponent: CalendarComponent;
192
- startDateDirective: StartDateDirective;
193
- endDateDirective: EndDateDirective;
190
+ startDateElementRef: ElementRef<HTMLInputElement>;
191
+ endDateElementRef: ElementRef<HTMLInputElement>;
194
192
  templates: any;
195
193
  contentTemplates: QueryList<TemplateIdDirective>;
196
194
  onBlur(): void;
@@ -218,6 +216,7 @@ export declare class DateRangePickerComponent implements OnInit, OnDestroy, Cont
218
216
  ngOnInit(): void;
219
217
  ngOnDestroy(): void;
220
218
  ngAfterViewInit(): void;
219
+ ngOnChanges(changes: SimpleChanges): void;
221
220
  getCustomRangeKey(customRange: any): any;
222
221
  setCustomRange(customRange: any): void;
223
222
  handleCalendarCellHover($event: Date | null): void;
@@ -1,17 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./date-range-picker/date-range-picker.component";
3
- import * as i2 from "./start-date.directive";
4
- import * as i3 from "./end-date.directive";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/forms";
7
- import * as i6 from "../button/button.module";
8
- import * as i7 from "../calendar/calendar.module";
9
- import * as i8 from "../shared/shared.module";
10
- import * as i9 from "../form/form.module";
11
- import * as i10 from "../dropdown/dropdown.module";
12
- import * as i11 from "../time-picker/time-picker.module";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../button/button.module";
6
+ import * as i5 from "../calendar/calendar.module";
7
+ import * as i6 from "../shared/shared.module";
8
+ import * as i7 from "../form/form.module";
9
+ import * as i8 from "../dropdown/dropdown.module";
10
+ import * as i9 from "../time-picker/time-picker.module";
13
11
  export declare class DateRangePickerModule {
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangePickerModule, [typeof i1.DateRangePickerComponent, typeof i2.StartDateDirective, typeof i3.EndDateDirective], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ButtonModule, typeof i7.CalendarModule, typeof i8.SharedModule, typeof i9.FormModule, typeof i10.DropdownModule, typeof i11.TimePickerModule], [typeof i1.DateRangePickerComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangePickerModule, [typeof i1.DateRangePickerComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.ButtonModule, typeof i5.CalendarModule, typeof i6.SharedModule, typeof i7.FormModule, typeof i8.DropdownModule, typeof i9.TimePickerModule], [typeof i1.DateRangePickerComponent]>;
16
14
  static ɵinj: i0.ɵɵInjectorDeclaration<DateRangePickerModule>;
17
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/angular-pro",
3
- "version": "4.2.0-next.3",
3
+ "version": "4.2.0-next.4",
4
4
  "description": "CoreUI Pro Components Library for Angular",
5
5
  "homepage": "https://coreui.io/angular",
6
6
  "author": {
@@ -1,17 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class EndDateDirective {
4
- constructor(elementRef) {
5
- this.elementRef = elementRef;
6
- }
7
- }
8
- EndDateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EndDateDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
9
- EndDateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: EndDateDirective, selector: "[cEndDate]", exportAs: ["cEndDate"], ngImport: i0 });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: EndDateDirective, decorators: [{
11
- type: Directive,
12
- args: [{
13
- selector: '[cEndDate]',
14
- exportAs: 'cEndDate'
15
- }]
16
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW5kLWRhdGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZXVpLWFuZ3VsYXIvc3JjL2xpYi9kYXRlLXJhbmdlLXBpY2tlci9lbmQtZGF0ZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxNQUFNLGVBQWUsQ0FBQzs7QUFNdEQsTUFBTSxPQUFPLGdCQUFnQjtJQUUzQixZQUNTLFVBQXNCO1FBQXRCLGVBQVUsR0FBVixVQUFVLENBQVk7SUFDM0IsQ0FBQzs7NkdBSk0sZ0JBQWdCO2lHQUFoQixnQkFBZ0I7MkZBQWhCLGdCQUFnQjtrQkFKNUIsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsWUFBWTtvQkFDdEIsUUFBUSxFQUFFLFVBQVU7aUJBQ3JCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBFbGVtZW50UmVmIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5ARGlyZWN0aXZlKHtcclxuICBzZWxlY3RvcjogJ1tjRW5kRGF0ZV0nLFxyXG4gIGV4cG9ydEFzOiAnY0VuZERhdGUnXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBFbmREYXRlRGlyZWN0aXZlIHtcclxuXHJcbiAgY29uc3RydWN0b3IoXHJcbiAgICBwdWJsaWMgZWxlbWVudFJlZjogRWxlbWVudFJlZlxyXG4gICkgeyB9XHJcblxyXG59XHJcbiJdfQ==
@@ -1,17 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class StartDateDirective {
4
- constructor(elementRef) {
5
- this.elementRef = elementRef;
6
- }
7
- }
8
- StartDateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: StartDateDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
9
- StartDateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.2", type: StartDateDirective, selector: "[cStartDate]", exportAs: ["cStartDate"], ngImport: i0 });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.2", ngImport: i0, type: StartDateDirective, decorators: [{
11
- type: Directive,
12
- args: [{
13
- selector: '[cStartDate]',
14
- exportAs: 'cStartDate'
15
- }]
16
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhcnQtZGF0ZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JldWktYW5ndWxhci9zcmMvbGliL2RhdGUtcmFuZ2UtcGlja2VyL3N0YXJ0LWRhdGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWMsTUFBTSxlQUFlLENBQUM7O0FBTXRELE1BQU0sT0FBTyxrQkFBa0I7SUFFN0IsWUFDUyxVQUFzQjtRQUF0QixlQUFVLEdBQVYsVUFBVSxDQUFZO0lBQzNCLENBQUM7OytHQUpNLGtCQUFrQjttR0FBbEIsa0JBQWtCOzJGQUFsQixrQkFBa0I7a0JBSjlCLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLGNBQWM7b0JBQ3hCLFFBQVEsRUFBRSxZQUFZO2lCQUN2QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgRWxlbWVudFJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQERpcmVjdGl2ZSh7XHJcbiAgc2VsZWN0b3I6ICdbY1N0YXJ0RGF0ZV0nLFxyXG4gIGV4cG9ydEFzOiAnY1N0YXJ0RGF0ZSdcclxufSlcclxuZXhwb3J0IGNsYXNzIFN0YXJ0RGF0ZURpcmVjdGl2ZSB7XHJcblxyXG4gIGNvbnN0cnVjdG9yKFxyXG4gICAgcHVibGljIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWZcclxuICApIHsgfVxyXG5cclxufVxyXG4iXX0=
@@ -1,8 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EndDateDirective {
4
- elementRef: ElementRef;
5
- constructor(elementRef: ElementRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<EndDateDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<EndDateDirective, "[cEndDate]", ["cEndDate"], {}, {}, never, never, false>;
8
- }
@@ -1,8 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class StartDateDirective {
4
- elementRef: ElementRef;
5
- constructor(elementRef: ElementRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<StartDateDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<StartDateDirective, "[cStartDate]", ["cStartDate"], {}, {}, never, never, false>;
8
- }