@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.
- package/bundles/gipisistemas-ng-core.umd.js +140 -11
- package/bundles/gipisistemas-ng-core.umd.js.map +1 -1
- package/bundles/gipisistemas-ng-core.umd.min.js +9 -9
- package/bundles/gipisistemas-ng-core.umd.min.js.map +1 -1
- package/esm2015/gipi-components.js +2 -1
- package/esm2015/gipisistemas-ng-core.js +8 -7
- package/esm2015/shared/components/input/input.component.js +12 -3
- package/esm2015/shared/directives/input-trim.directive.js +70 -0
- package/esm2015/shared/directives/lower-case.directive.js +1 -1
- package/esm2015/shared/directives/phone-mask.directive.js +1 -1
- package/esm2015/shared/directives/space-drop.directive.js +1 -1
- package/esm2015/shared/directives/upper-case.directive.js +1 -1
- package/esm2015/shared/gipi-components/qr-code/qr-code.component.js +46 -0
- package/esm2015/shared/shared.module.js +7 -1
- package/esm5/gipi-components.js +2 -1
- package/esm5/gipisistemas-ng-core.js +8 -7
- package/esm5/shared/components/input/input.component.js +16 -3
- package/esm5/shared/directives/input-trim.directive.js +71 -0
- package/esm5/shared/directives/lower-case.directive.js +1 -1
- package/esm5/shared/directives/phone-mask.directive.js +1 -1
- package/esm5/shared/directives/space-drop.directive.js +1 -1
- package/esm5/shared/directives/upper-case.directive.js +1 -1
- package/esm5/shared/gipi-components/qr-code/qr-code.component.js +47 -0
- package/esm5/shared/shared.module.js +7 -1
- package/fesm2015/gipisistemas-ng-core.js +124 -2
- package/fesm2015/gipisistemas-ng-core.js.map +1 -1
- package/fesm5/gipisistemas-ng-core.js +130 -2
- package/fesm5/gipisistemas-ng-core.js.map +1 -1
- package/gipi-components.d.ts +1 -0
- package/gipisistemas-ng-core.d.ts +7 -6
- package/gipisistemas-ng-core.metadata.json +1 -1
- package/package.json +3 -2
- package/shared/components/input/input.component.d.ts +3 -1
- package/shared/directives/input-trim.directive.d.ts +9 -0
- 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.
|
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
|
+
}
|