ngx-vector-components 0.0.1 → 0.0.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.
Files changed (27) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/assets/styles/_primeng-custom-theme.scss +16 -2
  3. package/assets/styles/_styles.scss +103 -0
  4. package/assets/styles/_variables.scss +3 -1
  5. package/esm2020/lib/components/fields/button/button.component.mjs +3 -3
  6. package/esm2020/lib/components/fields/data-table/data-table.component.mjs +3 -3
  7. package/esm2020/lib/components/fields/dropdown-field/dropdown-field.component.mjs +2 -2
  8. package/esm2020/lib/components/generic-error-modal/generic-error-modal.component.mjs +2 -2
  9. package/esm2020/lib/components/generic-modal/generic-modal.component.mjs +4 -3
  10. package/esm2020/lib/components/generic-modal/generic-modal.module.mjs +5 -4
  11. package/esm2020/lib/models/index.mjs +2 -1
  12. package/esm2020/lib/services/auth.service.mjs +2 -2
  13. package/esm2020/lib/services/menu.service.mjs +2 -2
  14. package/esm2020/lib/utils/mask.util.mjs +2 -1
  15. package/esm2020/lib/utils/validation.util.mjs +23 -1
  16. package/fesm2015/ngx-vector-components.mjs +55 -32
  17. package/fesm2015/ngx-vector-components.mjs.map +1 -1
  18. package/fesm2020/ngx-vector-components.mjs +55 -32
  19. package/fesm2020/ngx-vector-components.mjs.map +1 -1
  20. package/lib/components/fields/button/button.component.d.ts +1 -1
  21. package/lib/components/generic-modal/generic-modal.module.d.ts +2 -1
  22. package/lib/models/index.d.ts +1 -0
  23. package/lib/services/auth.service.d.ts +1 -1
  24. package/lib/services/menu.service.d.ts +1 -1
  25. package/lib/utils/mask.util.d.ts +1 -0
  26. package/lib/utils/validation.util.d.ts +3 -1
  27. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- declare type ButtonType = 'success' | 'default' | 'cancel' | 'default-inverted';
3
+ declare type ButtonType = 'success' | 'success-outlined' | 'default' | 'default-filled' | 'cancel' | 'cancel-filled';
4
4
  export declare class ButtonComponent {
5
5
  disabled: boolean;
6
6
  label: string;
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./generic-modal.component";
3
3
  import * as i2 from "primeng/dialog";
4
4
  import * as i3 from "../fields/fields.module";
5
+ import * as i4 from "../../shared/shared.module";
5
6
  export declare class GenericModalModule {
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<GenericModalModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<GenericModalModule, [typeof i1.GenericModalComponent], [typeof i2.DialogModule, typeof i3.FieldsModule], [typeof i1.GenericModalComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GenericModalModule, [typeof i1.GenericModalComponent], [typeof i2.DialogModule, typeof i3.FieldsModule, typeof i4.SharedModule], [typeof i1.GenericModalComponent]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<GenericModalModule>;
9
10
  }
@@ -1,5 +1,6 @@
1
1
  export * from './app-name.enum';
2
2
  export * from './boolean-type.enum';
3
+ export * from './crud-mode.enum';
3
4
  export * from './data-table.model';
4
5
  export * from './document-type.enum';
5
6
  export * from './http-response.model';
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { ProfileService, StorageService } from './';
3
+ import { ProfileService, StorageService } from '.';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class AuthService {
6
6
  private http;
@@ -1,7 +1,7 @@
1
1
  import { Router } from '@angular/router';
2
2
  import { Subject } from 'rxjs';
3
+ import { AuthService, ProfileService, StorageService } from '.';
3
4
  import { AppName, MenuItem } from '../models';
4
- import { AuthService, ProfileService, StorageService } from './';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class MenuService {
7
7
  private authService;
@@ -3,6 +3,7 @@ export declare class MaskUtil {
3
3
  static CNPJ_TEXT_FIELD_PATTERN: string;
4
4
  static BOLETO_TEXT_FIELD_PATTERN: string;
5
5
  static CELLPHONE_TEXT_FIELD_PATTERN: string;
6
+ static PHONE_TEXT_FIELD_PATTERN: string;
6
7
  static POSTALCODE_TEXT_FIELD_PATTERN: string;
7
8
  static formatDocument(stringValue: string): string;
8
9
  static formatBoleto(stringValue: string): string;
@@ -1,4 +1,4 @@
1
- import { AbstractControl, ValidationErrors } from '@angular/forms';
1
+ 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;
@@ -6,4 +6,6 @@ export declare class ValidationUtil {
6
6
  static isValidCpf(control: AbstractControl): ValidationErrors | null;
7
7
  static isValidCnpj(control: AbstractControl): ValidationErrors | null;
8
8
  static majorAge(control: AbstractControl): ValidationErrors | null;
9
+ static matchField(anotherField: AbstractControl | null): ValidatorFn;
10
+ static cellphone(control: AbstractControl): ValidationErrors | null;
9
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-vector-components",
3
- "version": "0.0.1",
3
+ "version": "0.0.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.3",
6
6
  "@angular/core": "^13.2.3",