@gipisistemas/ng-core 1.1.13 → 1.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/bundles/gipisistemas-ng-core.umd.js +140 -11
  2. package/bundles/gipisistemas-ng-core.umd.js.map +1 -1
  3. package/bundles/gipisistemas-ng-core.umd.min.js +9 -9
  4. package/bundles/gipisistemas-ng-core.umd.min.js.map +1 -1
  5. package/esm2015/gipi-components.js +2 -1
  6. package/esm2015/gipisistemas-ng-core.js +8 -7
  7. package/esm2015/shared/components/input/input.component.js +12 -3
  8. package/esm2015/shared/directives/input-trim.directive.js +70 -0
  9. package/esm2015/shared/directives/lower-case.directive.js +1 -1
  10. package/esm2015/shared/directives/phone-mask.directive.js +1 -1
  11. package/esm2015/shared/directives/space-drop.directive.js +1 -1
  12. package/esm2015/shared/directives/upper-case.directive.js +1 -1
  13. package/esm2015/shared/gipi-components/qr-code/qr-code.component.js +46 -0
  14. package/esm2015/shared/shared.module.js +7 -1
  15. package/esm5/gipi-components.js +2 -1
  16. package/esm5/gipisistemas-ng-core.js +8 -7
  17. package/esm5/shared/components/input/input.component.js +16 -3
  18. package/esm5/shared/directives/input-trim.directive.js +71 -0
  19. package/esm5/shared/directives/lower-case.directive.js +1 -1
  20. package/esm5/shared/directives/phone-mask.directive.js +1 -1
  21. package/esm5/shared/directives/space-drop.directive.js +1 -1
  22. package/esm5/shared/directives/upper-case.directive.js +1 -1
  23. package/esm5/shared/gipi-components/qr-code/qr-code.component.js +47 -0
  24. package/esm5/shared/shared.module.js +7 -1
  25. package/fesm2015/gipisistemas-ng-core.js +124 -2
  26. package/fesm2015/gipisistemas-ng-core.js.map +1 -1
  27. package/fesm5/gipisistemas-ng-core.js +130 -2
  28. package/fesm5/gipisistemas-ng-core.js.map +1 -1
  29. package/gipi-components.d.ts +1 -0
  30. package/gipisistemas-ng-core.d.ts +7 -6
  31. package/gipisistemas-ng-core.metadata.json +1 -1
  32. package/package.json +3 -2
  33. package/shared/components/input/input.component.d.ts +3 -1
  34. package/shared/directives/input-trim.directive.d.ts +9 -0
  35. package/shared/gipi-components/qr-code/qr-code.component.d.ts +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gipisistemas/ng-core",
3
- "version": "1.1.13",
3
+ "version": "1.1.15",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "~8.2.3",
6
6
  "@angular/core": "~8.2.3",
@@ -13,7 +13,8 @@
13
13
  "ngx-mask": "^9.1.2",
14
14
  "ngx-infinite-scroll": "^9.0.0",
15
15
  "moment": "^2.27.0",
16
- "@brazilian-utils/brazilian-utils": "^1.0.0-rc.12"
16
+ "@brazilian-utils/brazilian-utils": "^1.0.0-rc.12",
17
+ "angularx-qrcode": "^2.1.4"
17
18
  },
18
19
  "private": false,
19
20
  "main": "bundles/gipisistemas-ng-core.umd.js",
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, ElementRef, EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { BehaviorSubject } from 'rxjs';
3
+ import { BehaviorSubject, Observable } from 'rxjs';
4
4
  export declare class InputComponent implements ControlValueAccessor, OnInit {
5
5
  elementRef: ElementRef;
6
6
  private _changeDetectorRef;
@@ -33,10 +33,12 @@ export declare class InputComponent implements ControlValueAccessor, OnInit {
33
33
  dropSpecialCharacters: boolean;
34
34
  upperCase: boolean;
35
35
  lowerCase: boolean;
36
+ inputTrim: boolean;
36
37
  patterns: any;
37
38
  spaceDrop: boolean;
38
39
  focus: EventEmitter<Event>;
39
40
  blur: EventEmitter<Event>;
41
+ get isPassword$(): Observable<boolean>;
40
42
  constructor(elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
41
43
  ngOnInit(): void;
42
44
  onChange: any;
@@ -0,0 +1,9 @@
1
+ import { NgControl } from '@angular/forms';
2
+ export declare class InputTrimDirective {
3
+ ngControl: NgControl;
4
+ enabledInputTrim: boolean;
5
+ constructor(ngControl: NgControl);
6
+ keydown(event: any): void;
7
+ onInput(event: any): void;
8
+ onBlur(event: any): void;
9
+ }
@@ -0,0 +1,8 @@
1
+ export declare class GIPIQrCodeComponent {
2
+ qrdata: string;
3
+ allowEmptyString: boolean;
4
+ level: 'L' | 'M' | 'Q' | 'H';
5
+ scale: number;
6
+ margin: 0 | 4 | 10 | 25;
7
+ width: number;
8
+ }