ngwr 0.0.15 → 0.1.0
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.
- package/README.md +7 -13
- package/_core/index.d.ts +1 -1
- package/_core/types/color.d.ts +1 -0
- package/_core/types/index.d.ts +1 -0
- package/button/button.component.d.ts +4 -7
- package/button/index.d.ts +2 -2
- package/checkbox/checkbox.component.d.ts +5 -5
- package/checkbox/index.d.ts +2 -2
- package/divider/divider.component.d.ts +24 -2
- package/divider/index.d.ts +2 -2
- package/esm2020/_core/index.mjs +2 -2
- package/esm2020/_core/types/color.mjs +2 -0
- package/esm2020/_core/types/index.mjs +1 -1
- package/esm2020/button/button.component.mjs +2 -2
- package/esm2020/button/index.mjs +3 -3
- package/esm2020/checkbox/checkbox.component.mjs +14 -10
- package/esm2020/checkbox/index.mjs +3 -3
- package/esm2020/divider/divider.component.mjs +55 -6
- package/esm2020/divider/index.mjs +3 -3
- package/esm2020/form/form-error.component.mjs +5 -5
- package/esm2020/form/form-item.component.mjs +15 -28
- package/esm2020/form/index.mjs +4 -4
- package/esm2020/icon/index.mjs +5 -5
- package/esm2020/input/index.mjs +3 -3
- package/esm2020/input/input.component.mjs +159 -0
- package/esm2020/input/input.module.mjs +9 -8
- package/esm2020/public-api.mjs +11 -12
- package/esm2020/skeleton/index.mjs +3 -3
- package/esm2020/skeleton/skeleton.component.mjs +29 -13
- package/esm2020/skeleton/skeleton.module.mjs +4 -5
- package/esm2020/spinner/index.mjs +3 -3
- package/esm2020/spinner/spinner.component.mjs +4 -4
- package/esm2020/tag/index.mjs +3 -3
- package/esm2020/tag/tag.component.mjs +47 -51
- package/esm2020/tag/tag.module.mjs +5 -4
- package/fesm2015/ngwr.mjs +440 -443
- package/fesm2015/ngwr.mjs.map +1 -1
- package/fesm2020/ngwr.mjs +440 -437
- package/fesm2020/ngwr.mjs.map +1 -1
- package/form/form-error.component.d.ts +1 -1
- package/form/form-item.component.d.ts +3 -11
- package/form/index.d.ts +3 -3
- package/icon/index.d.ts +4 -4
- package/input/index.d.ts +2 -2
- package/input/input.component.d.ts +41 -0
- package/input/input.module.d.ts +4 -3
- package/ngwr.min.css +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +10 -11
- package/skeleton/index.d.ts +2 -2
- package/skeleton/skeleton.component.d.ts +6 -8
- package/skeleton/skeleton.module.d.ts +1 -2
- package/spinner/index.d.ts +2 -2
- package/spinner/spinner.component.d.ts +1 -1
- package/tag/index.d.ts +2 -2
- package/tag/tag.component.d.ts +10 -16
- package/tag/tag.module.d.ts +3 -2
- package/esm2020/extended-input/extended-input.component.mjs +0 -68
- package/esm2020/extended-input/extended-input.module.mjs +0 -20
- package/esm2020/extended-input/index.mjs +0 -3
- package/esm2020/input/input.directive.mjs +0 -65
- package/esm2020/password-input/index.mjs +0 -3
- package/esm2020/password-input/password-input.component.mjs +0 -58
- package/esm2020/password-input/password-input.module.mjs +0 -21
- package/extended-input/extended-input.component.d.ts +0 -26
- package/extended-input/extended-input.module.d.ts +0 -10
- package/extended-input/index.d.ts +0 -2
- package/input/input.directive.d.ts +0 -18
- package/password-input/index.d.ts +0 -2
- package/password-input/password-input.component.d.ts +0 -22
- package/password-input/password-input.module.d.ts +0 -11
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './password-input.module';
|
|
2
|
-
export * from './password-input.component';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9saWIvcGFzc3dvcmQtaW5wdXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLDRCQUE0QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wYXNzd29yZC1pbnB1dC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9wYXNzd29yZC1pbnB1dC5jb21wb25lbnQnO1xuIl19
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Component, HostBinding, Optional, Self, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import { stylePrefix } from '../_core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/forms";
|
|
5
|
-
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "../input/input.directive";
|
|
7
|
-
import * as i4 from "../icon/wr-icon.component";
|
|
8
|
-
export class WrPasswordInputComponent {
|
|
9
|
-
constructor(ngControl) {
|
|
10
|
-
this.ngControl = ngControl;
|
|
11
|
-
this.class = `${stylePrefix}-password-input`;
|
|
12
|
-
this.type = 'password';
|
|
13
|
-
this.disabled = false;
|
|
14
|
-
this.value = null;
|
|
15
|
-
this.touched = false;
|
|
16
|
-
this.onChange = (value) => { };
|
|
17
|
-
this.onTouched = () => { };
|
|
18
|
-
if (ngControl !== null) {
|
|
19
|
-
ngControl.valueAccessor = this;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
onVisibilityClick($event) {
|
|
23
|
-
$event.stopPropagation();
|
|
24
|
-
this.type === 'password' ? (this.type = 'input') : (this.type = 'password');
|
|
25
|
-
}
|
|
26
|
-
onInput($event) {
|
|
27
|
-
this.value = $event.currentTarget.value;
|
|
28
|
-
this.touched = true;
|
|
29
|
-
this.onChange(this.value);
|
|
30
|
-
}
|
|
31
|
-
onFocusOut() {
|
|
32
|
-
this.touched = true;
|
|
33
|
-
this.onTouched();
|
|
34
|
-
}
|
|
35
|
-
registerOnChange(fn) {
|
|
36
|
-
this.onChange = fn;
|
|
37
|
-
}
|
|
38
|
-
registerOnTouched(fn) {
|
|
39
|
-
this.onTouched = fn;
|
|
40
|
-
}
|
|
41
|
-
writeValue(obj) {
|
|
42
|
-
this.value = obj;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
WrPasswordInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: WrPasswordInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
46
|
-
WrPasswordInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: WrPasswordInputComponent, selector: "wr-password-input", host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<input\n wr-input\n [disabled]=\"disabled\"\n [type]=\"type\"\n [value]=\"value\"\n (focusout)=\"onFocusOut()\"\n (input)=\"onInput($event)\"\n/>\n<wr-icon\n class=\"wr-password-input-icon\"\n *ngIf=\"type === 'input'\"\n name=\"eye\"\n (click)=\"onVisibilityClick($event)\"\n></wr-icon>\n<wr-icon\n class=\"wr-password-input-icon\"\n *ngIf=\"type === 'password'\"\n name=\"eye-off\"\n (click)=\"onVisibilityClick($event)\"\n></wr-icon>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.WrInputDirective, selector: "wr-input, input[wr-input], textarea[wr-input]", inputs: ["disabled"] }, { kind: "component", type: i4.WrIconComponent, selector: "wr-icon[name]", inputs: ["name"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: WrPasswordInputComponent, decorators: [{
|
|
48
|
-
type: Component,
|
|
49
|
-
args: [{ selector: 'wr-password-input', encapsulation: ViewEncapsulation.None, template: "<input\n wr-input\n [disabled]=\"disabled\"\n [type]=\"type\"\n [value]=\"value\"\n (focusout)=\"onFocusOut()\"\n (input)=\"onInput($event)\"\n/>\n<wr-icon\n class=\"wr-password-input-icon\"\n *ngIf=\"type === 'input'\"\n name=\"eye\"\n (click)=\"onVisibilityClick($event)\"\n></wr-icon>\n<wr-icon\n class=\"wr-password-input-icon\"\n *ngIf=\"type === 'password'\"\n name=\"eye-off\"\n (click)=\"onVisibilityClick($event)\"\n></wr-icon>\n" }]
|
|
50
|
-
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
|
51
|
-
type: Optional
|
|
52
|
-
}, {
|
|
53
|
-
type: Self
|
|
54
|
-
}] }]; }, propDecorators: { class: [{
|
|
55
|
-
type: HostBinding,
|
|
56
|
-
args: ['class']
|
|
57
|
-
}] } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vbGliL3Bhc3N3b3JkLWlucHV0L3Bhc3N3b3JkLWlucHV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uL2xpYi9wYXNzd29yZC1pbnB1dC9wYXNzd29yZC1pbnB1dC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRzFGLE9BQU8sRUFBVyxXQUFXLEVBQUUsTUFBTSxVQUFVLENBQUM7Ozs7OztBQU9oRCxNQUFNLE9BQU8sd0JBQXdCO0lBUW5DLFlBQXVDLFNBQW9CO1FBQXBCLGNBQVMsR0FBVCxTQUFTLENBQVc7UUFQckMsVUFBSyxHQUFHLEdBQUcsV0FBVyxpQkFBaUIsQ0FBQztRQUV2RCxTQUFJLEdBQXlCLFVBQVUsQ0FBQztRQUN4QyxhQUFRLEdBQVksS0FBSyxDQUFDO1FBQzFCLFVBQUssR0FBa0IsSUFBSSxDQUFDO1FBQzVCLFlBQU8sR0FBRyxLQUFLLENBQUM7UUFtQnZCLGFBQVEsR0FBRyxDQUFDLEtBQWMsRUFBUS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vblRvdWNoZWQgPSBmbjtcbiAgfVxuXG4gIHdyaXRlVmFsdWUob2JqOiBTYWZlQW55KTogdm9pZCB7XG4gICAgdGhpcy52YWx1ZSA9IG9iajtcbiAgfVxufVxuIiwiPGlucHV0XG4gIHdyLWlucHV0XG4gIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXG4gIFt0eXBlXT1cInR5cGVcIlxuICBbdmFsdWVdPVwidmFsdWVcIlxuICAoZm9jdXNvdXQpPVwib25Gb2N1c091dCgpXCJcbiAgKGlucHV0KT1cIm9uSW5wdXQoJGV2ZW50KVwiXG4vPlxuPHdyLWljb25cbiAgY2xhc3M9XCJ3ci1wYXNzd29yZC1pbnB1dC1pY29uXCJcbiAgKm5nSWY9XCJ0eXBlID09PSAnaW5wdXQnXCJcbiAgbmFtZT1cImV5ZVwiXG4gIChjbGljayk9XCJvblZpc2liaWxpdHlDbGljaygkZXZlbnQpXCJcbj48L3dyLWljb24+XG48d3ItaWNvblxuICBjbGFzcz1cIndyLXBhc3N3b3JkLWlucHV0LWljb25cIlxuICAqbmdJZj1cInR5cGUgPT09ICdwYXNzd29yZCdcIlxuICBuYW1lPVwiZXllLW9mZlwiXG4gIChjbGljayk9XCJvblZpc2liaWxpdHlDbGljaygkZXZlbnQpXCJcbj48L3dyLWljb24+XG4iXX0=
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { PlatformModule } from '@angular/cdk/platform';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { NgModule } from '@angular/core';
|
|
4
|
-
import { WrIconModule } from '../icon';
|
|
5
|
-
import { WrInputModule } from '../input';
|
|
6
|
-
import { WrPasswordInputComponent } from './password-input.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class WrPasswordInputModule {
|
|
9
|
-
}
|
|
10
|
-
WrPasswordInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: WrPasswordInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
WrPasswordInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.8", ngImport: i0, type: WrPasswordInputModule, declarations: [WrPasswordInputComponent], imports: [CommonModule, PlatformModule, WrInputModule, WrIconModule], exports: [WrPasswordInputComponent] });
|
|
12
|
-
WrPasswordInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: WrPasswordInputModule, imports: [CommonModule, PlatformModule, WrInputModule, WrIconModule] });
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: WrPasswordInputModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [CommonModule, PlatformModule, WrInputModule, WrIconModule],
|
|
17
|
-
declarations: [WrPasswordInputComponent],
|
|
18
|
-
exports: [WrPasswordInputComponent]
|
|
19
|
-
}]
|
|
20
|
-
}] });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQtaW5wdXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vbGliL3Bhc3N3b3JkLWlucHV0L3Bhc3N3b3JkLWlucHV0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDdkQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUN2QyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sVUFB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JJY29uTW9kdWxlXSxcbiAgZGVjbGFyYXRpb25zOiBbV3JQYXNzd29yZElucHV0Q29tcG9uZW50XSxcbiAgZXhwb3J0czogW1dyUGFzc3dvcmRJbnB1dENvbXBvbmVudF1cbn0pXG5leHBvcnQgY2xhc3MgV3JQYXNzd29yZElucHV0TW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import { SafeAny } from '../_core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class WrExtendedInputComponent implements ControlValueAccessor, OnInit {
|
|
6
|
-
ngControl: NgControl;
|
|
7
|
-
private readonly elRef;
|
|
8
|
-
private readonly r2;
|
|
9
|
-
class: string;
|
|
10
|
-
suffix?: string;
|
|
11
|
-
prefix?: string;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
value: string | undefined;
|
|
14
|
-
touched: boolean;
|
|
15
|
-
constructor(ngControl: NgControl, elRef: ElementRef, r2: Renderer2);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
onInput($event: SafeAny): void;
|
|
18
|
-
onChange: (value: SafeAny) => void;
|
|
19
|
-
onTouched: () => void;
|
|
20
|
-
onFocusOut(): void;
|
|
21
|
-
registerOnChange(fn: SafeAny): void;
|
|
22
|
-
registerOnTouched(fn: SafeAny): void;
|
|
23
|
-
writeValue(obj: SafeAny): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WrExtendedInputComponent, [{ optional: true; self: true; }, null, null]>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WrExtendedInputComponent, "wr-extended-input", never, { "suffix": "suffix"; "prefix": "prefix"; }, {}, never, never, false>;
|
|
26
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./extended-input.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/cdk/platform";
|
|
5
|
-
import * as i4 from "../input/input.module";
|
|
6
|
-
export declare class WrExtendedInputModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WrExtendedInputModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WrExtendedInputModule, [typeof i1.WrExtendedInputComponent], [typeof i2.CommonModule, typeof i3.PlatformModule, typeof i4.WrInputModule], [typeof i1.WrExtendedInputComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<WrExtendedInputModule>;
|
|
10
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { BaseComponent, BooleanInput } from '../_core';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class WrInputDirective extends BaseComponent implements OnInit, OnChanges {
|
|
7
|
-
ngControl: NgControl;
|
|
8
|
-
class: string;
|
|
9
|
-
get disabled(): boolean;
|
|
10
|
-
set disabled(value: BooleanInput);
|
|
11
|
-
_disabled: boolean;
|
|
12
|
-
disabled$: Subject<boolean>;
|
|
13
|
-
constructor(ngControl: NgControl);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WrInputDirective, [{ optional: true; self: true; }]>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<WrInputDirective, "wr-input, input[wr-input], textarea[wr-input]", never, { "disabled": "disabled"; }, {}, never, never, false>;
|
|
18
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
2
|
-
import { SafeAny } from '../_core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class WrPasswordInputComponent implements ControlValueAccessor {
|
|
5
|
-
ngControl: NgControl;
|
|
6
|
-
class: string;
|
|
7
|
-
type: 'input' | 'password';
|
|
8
|
-
disabled: boolean;
|
|
9
|
-
value: string | null;
|
|
10
|
-
touched: boolean;
|
|
11
|
-
constructor(ngControl: NgControl);
|
|
12
|
-
onVisibilityClick($event: SafeAny): void;
|
|
13
|
-
onInput($event: SafeAny): void;
|
|
14
|
-
onChange: (value: SafeAny) => void;
|
|
15
|
-
onTouched: () => void;
|
|
16
|
-
onFocusOut(): void;
|
|
17
|
-
registerOnChange(fn: SafeAny): void;
|
|
18
|
-
registerOnTouched(fn: SafeAny): void;
|
|
19
|
-
writeValue(obj: SafeAny): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WrPasswordInputComponent, [{ optional: true; self: true; }]>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WrPasswordInputComponent, "wr-password-input", never, {}, {}, never, never, false>;
|
|
22
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./password-input.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/cdk/platform";
|
|
5
|
-
import * as i4 from "../input/input.module";
|
|
6
|
-
import * as i5 from "../icon/wr-icon.module";
|
|
7
|
-
export declare class WrPasswordInputModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<WrPasswordInputModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WrPasswordInputModule, [typeof i1.WrPasswordInputComponent], [typeof i2.CommonModule, typeof i3.PlatformModule, typeof i4.WrInputModule, typeof i5.WrIconModule], [typeof i1.WrPasswordInputComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<WrPasswordInputModule>;
|
|
11
|
-
}
|