ngx-vector-components 0.0.11 → 1.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.
@@ -10,6 +10,7 @@ export declare class CalendarComponent {
10
10
  max: Date;
11
11
  disabledDates: Date[];
12
12
  disabled: boolean;
13
+ defaultDate: Date;
13
14
  get placeholder(): string;
14
15
  keyFilter: string;
15
16
  constructor(modalService: ModalService);
@@ -17,5 +18,5 @@ export declare class CalendarComponent {
17
18
  onShowCalendar(): void;
18
19
  onHideCalendar(): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "vector-calendar-field", never, { "isRequired": "isRequired"; "control": "control"; "label": "label"; "showCalendarOnFocus": "showCalendarOnFocus"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "disabled": "disabled"; }, {}, never, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarComponent, "vector-calendar-field", never, { "isRequired": "isRequired"; "control": "control"; "label": "label"; "showCalendarOnFocus": "showCalendarOnFocus"; "min": "min"; "max": "max"; "disabledDates": "disabledDates"; "disabled": "disabled"; "defaultDate": "defaultDate"; }, {}, never, never>;
21
22
  }
@@ -1,9 +1,9 @@
1
- import { EventEmitter, OnDestroy } from '@angular/core';
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
3
  import { AppName, MenuItem } from '../../models';
4
4
  import { MenuService, ProfileService, StorageService } from '../../services';
5
5
  import * as i0 from "@angular/core";
6
- export declare class MenuComponent implements OnDestroy {
6
+ export declare class MenuComponent implements OnInit, OnDestroy {
7
7
  private menuService;
8
8
  private router;
9
9
  private profileService;
@@ -31,6 +31,7 @@ export declare class MenuComponent implements OnDestroy {
31
31
  private subscription;
32
32
  private currentWindowWidth;
33
33
  constructor(menuService: MenuService, router: Router, profileService: ProfileService, storageService: StorageService, environment: any, currentApp: string);
34
+ ngOnInit(): void;
34
35
  onResize(): void;
35
36
  handleKeyboardEvent(): void;
36
37
  ngOnDestroy(): void;
@@ -2,6 +2,7 @@ import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
2
2
  export declare class ValidationUtil {
3
3
  static email(control: AbstractControl): ValidationErrors | null;
4
4
  static fullName(control: AbstractControl): ValidationErrors | null;
5
+ static noMultipleWhitespace(control: AbstractControl): ValidationErrors | null;
5
6
  static isValidTaxId(control: AbstractControl): ValidationErrors | null;
6
7
  static isValidCpf(control: AbstractControl): ValidationErrors | null;
7
8
  static isValidCnpj(control: AbstractControl): ValidationErrors | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-vector-components",
3
- "version": "0.0.11",
3
+ "version": "1.0.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.3",
6
6
  "@angular/core": "^13.2.3",