ngwr 0.0.4 → 0.0.8
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/LICENSE +21 -0
- package/README.md +46 -0
- package/_core/components/base.component.d.ts +11 -0
- package/_core/constants/style-prefix.d.ts +1 -0
- package/_core/index.d.ts +5 -0
- package/_core/types/boolean-input.d.ts +1 -0
- package/_core/types/safe-any.d.ts +1 -0
- package/{core → _core}/util/convert.d.ts +2 -1
- package/button/button.component.d.ts +14 -15
- package/button/button.module.d.ts +4 -4
- package/divider/divider.component.d.ts +4 -4
- package/divider/divider.module.d.ts +4 -5
- package/esm2020/_core/components/base.component.mjs +23 -0
- package/esm2020/_core/constants/style-prefix.mjs +2 -0
- package/esm2020/_core/index.mjs +10 -0
- package/esm2020/_core/types/boolean-input.mjs +2 -0
- package/esm2020/_core/types/safe-any.mjs +2 -0
- package/esm2020/_core/util/convert.mjs +51 -0
- package/esm2020/button/button.component.mjs +16 -22
- package/esm2020/button/button.module.mjs +11 -11
- package/esm2020/button/index.mjs +1 -1
- package/esm2020/divider/divider.component.mjs +8 -9
- package/esm2020/divider/divider.module.mjs +9 -11
- package/esm2020/divider/index.mjs +1 -1
- package/esm2020/extended-input/extended-input.component.mjs +8 -7
- package/esm2020/extended-input/extended-input.module.mjs +11 -19
- package/esm2020/extended-input/index.mjs +1 -1
- package/esm2020/form/form-error.component.mjs +9 -15
- package/esm2020/form/form-item.component.mjs +14 -23
- package/esm2020/form/form.module.mjs +10 -18
- package/esm2020/form/index.mjs +1 -1
- package/esm2020/icon/index.mjs +1 -1
- package/esm2020/icon/wr-icon.component.mjs +2 -2
- package/esm2020/icon/wr-icon.module.mjs +1 -1
- package/esm2020/icon/wr-icon.service.mjs +1 -1
- package/esm2020/icon/wr-icons.mjs +99 -29
- package/esm2020/input/index.mjs +1 -1
- package/esm2020/input/input.directive.mjs +14 -19
- package/esm2020/input/input.module.mjs +9 -13
- package/esm2020/ngwr.mjs +1 -1
- package/esm2020/password-input/index.mjs +1 -1
- package/esm2020/password-input/password-input.component.mjs +11 -9
- package/esm2020/password-input/password-input.module.mjs +11 -26
- package/esm2020/public-api.mjs +1 -1
- package/esm2020/skeleton/index.mjs +1 -1
- package/esm2020/skeleton/skeleton.component.mjs +12 -19
- package/esm2020/skeleton/skeleton.module.mjs +11 -11
- package/esm2020/spinner/index.mjs +1 -1
- package/esm2020/spinner/spinner.component.mjs +7 -6
- package/esm2020/spinner/spinner.module.mjs +9 -11
- package/esm2020/tag/index.mjs +1 -1
- package/esm2020/tag/tag.component.mjs +30 -45
- package/esm2020/tag/tag.module.mjs +11 -11
- package/extended-input/extended-input.component.d.ts +9 -8
- package/extended-input/extended-input.module.d.ts +4 -4
- package/fesm2015/ngwr.mjs +332 -322
- package/fesm2015/ngwr.mjs.map +1 -1
- package/fesm2020/ngwr.mjs +333 -323
- package/fesm2020/ngwr.mjs.map +1 -1
- package/form/form-error.component.d.ts +3 -6
- package/form/form-item.component.d.ts +9 -9
- package/form/form.module.d.ts +4 -4
- package/icon/wr-icon.component.d.ts +2 -1
- package/icon/wr-icons.d.ts +121 -23
- package/input/input.directive.d.ts +5 -6
- package/input/input.module.d.ts +4 -4
- package/logo.svg +1 -0
- package/ngwr.min.css +8 -0
- package/package.json +13 -10
- package/password-input/password-input.component.d.ts +10 -9
- package/password-input/password-input.module.d.ts +4 -4
- package/skeleton/skeleton.component.d.ts +7 -9
- package/skeleton/skeleton.module.d.ts +4 -4
- package/spinner/spinner.component.d.ts +3 -3
- package/spinner/spinner.module.d.ts +4 -5
- package/tag/tag.component.d.ts +16 -15
- package/tag/tag.module.d.ts +4 -4
- package/core/util/index.d.ts +0 -1
- package/esm2020/core/util/convert.mjs +0 -50
- package/esm2020/core/util/index.mjs +0 -2
- package/styles/components/_index.scss +0 -15
- package/styles/components/alert.scss +0 -28
- package/styles/components/button.scss +0 -115
- package/styles/components/card.scss +0 -41
- package/styles/components/divider.scss +0 -19
- package/styles/components/dropdown.scss +0 -128
- package/styles/components/extended-input.scss +0 -64
- package/styles/components/form.scss +0 -85
- package/styles/components/heading.scss +0 -25
- package/styles/components/icon.scss +0 -32
- package/styles/components/input.scss +0 -43
- package/styles/components/password-input.scss +0 -31
- package/styles/components/skeleton.scss +0 -58
- package/styles/components/spinner.scss +0 -44
- package/styles/components/tag.scss +0 -70
- package/styles/components/tooltip.scss +0 -60
- package/styles/functions.scss +0 -184
- package/styles/grid.scss +0 -177
- package/styles/index.scss +0 -165
- package/styles/mixins/_index.scss +0 -22
- package/styles/mixins/alert.scss +0 -7
- package/styles/mixins/button.scss +0 -56
- package/styles/mixins/reset-component.scss +0 -13
- package/styles/mixins/tag.scss +0 -68
- package/styles/reset.scss +0 -104
- package/styles/root.scss +0 -31
- package/styles/vars.scss +0 -1075
package/fesm2020/ngwr.mjs
CHANGED
|
@@ -1,54 +1,43 @@
|
|
|
1
1
|
import * as i2 from '@angular/common';
|
|
2
2
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, NgModule, Input,
|
|
5
|
-
import { __decorate } from 'tslib';
|
|
4
|
+
import { Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, NgModule, Input, Optional, Self, Injectable, Inject } from '@angular/core';
|
|
6
5
|
import { Subject, fromEvent } from 'rxjs';
|
|
7
|
-
import { takeUntil, filter } from 'rxjs/operators';
|
|
8
6
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
7
|
+
import { __decorate } from 'tslib';
|
|
8
|
+
import { takeUntil, filter } from 'rxjs/operators';
|
|
9
9
|
import { PlatformModule } from '@angular/cdk/platform';
|
|
10
10
|
import * as i1 from '@angular/forms';
|
|
11
11
|
|
|
12
|
-
class
|
|
12
|
+
class BaseComponent {
|
|
13
13
|
constructor() {
|
|
14
|
-
this.
|
|
14
|
+
this.ngUnsubscribe = new Subject();
|
|
15
|
+
this._isDestroyed = false;
|
|
16
|
+
}
|
|
17
|
+
get isDestroyed() {
|
|
18
|
+
return this._isDestroyed;
|
|
19
|
+
}
|
|
20
|
+
ngOnDestroy() {
|
|
21
|
+
this._isDestroyed = true;
|
|
22
|
+
this.ngUnsubscribe.next(undefined);
|
|
23
|
+
this.ngUnsubscribe.complete();
|
|
15
24
|
}
|
|
16
25
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
20
|
-
type:
|
|
21
|
-
args: [{
|
|
22
|
-
selector: 'wr-spin',
|
|
23
|
-
template: '<svg viewBox="0 0 50 50"><circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="5"></circle></svg>',
|
|
24
|
-
encapsulation: ViewEncapsulation.None,
|
|
25
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
26
|
-
}]
|
|
27
|
-
}], propDecorators: { class: [{
|
|
28
|
-
type: HostBinding,
|
|
29
|
-
args: ['class']
|
|
30
|
-
}] } });
|
|
31
|
-
|
|
32
|
-
class WalrusSpinnerModule {
|
|
33
|
-
}
|
|
34
|
-
WalrusSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
35
|
-
WalrusSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WalrusSpinnerModule, declarations: [WalrusSpinnerComponent], imports: [CommonModule], exports: [WalrusSpinnerComponent] });
|
|
36
|
-
WalrusSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusSpinnerModule, imports: [CommonModule] });
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusSpinnerModule, decorators: [{
|
|
38
|
-
type: NgModule,
|
|
39
|
-
args: [{
|
|
40
|
-
imports: [CommonModule],
|
|
41
|
-
declarations: [WalrusSpinnerComponent],
|
|
42
|
-
exports: [WalrusSpinnerComponent]
|
|
43
|
-
}]
|
|
26
|
+
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: BaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
+
BaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.3", type: BaseComponent, ngImport: i0 });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: BaseComponent, decorators: [{
|
|
29
|
+
type: Directive
|
|
44
30
|
}] });
|
|
45
31
|
|
|
32
|
+
const stylePrefix = 'wr';
|
|
33
|
+
|
|
46
34
|
function toBoolean(value) {
|
|
47
35
|
return coerceBooleanProperty(value);
|
|
48
36
|
}
|
|
37
|
+
// eslint-disable
|
|
49
38
|
function propDecoratorFactory(name, fallback) {
|
|
50
39
|
function propDecorator(target, propName, originalDescriptor) {
|
|
51
|
-
const privatePropName = `$$
|
|
40
|
+
const privatePropName = `$$__wrPropDecorator__${propName}`;
|
|
52
41
|
if (Object.prototype.hasOwnProperty.call(target, privatePropName)) {
|
|
53
42
|
console.warn(`The prop "${privatePropName}" is already exist, it will be overrided by ${name} decorator.`);
|
|
54
43
|
}
|
|
@@ -92,8 +81,44 @@ function InputBoolean() {
|
|
|
92
81
|
return propDecoratorFactory('InputBoolean', toBoolean);
|
|
93
82
|
}
|
|
94
83
|
|
|
95
|
-
|
|
84
|
+
// Components
|
|
85
|
+
|
|
86
|
+
class WrSpinnerComponent {
|
|
87
|
+
constructor() {
|
|
88
|
+
this.class = `${stylePrefix}-spin`;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
WrSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
92
|
+
WrSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: WrSpinnerComponent, selector: "wr-spin", host: { properties: { "class": "this.class" } }, ngImport: i0, template: '<svg viewBox="0 0 50 50"><circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="5"></circle></svg>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSpinnerComponent, decorators: [{
|
|
94
|
+
type: Component,
|
|
95
|
+
args: [{
|
|
96
|
+
selector: 'wr-spin',
|
|
97
|
+
template: '<svg viewBox="0 0 50 50"><circle class="path" cx="25" cy="25" r="20" fill="none" stroke-width="5"></circle></svg>',
|
|
98
|
+
encapsulation: ViewEncapsulation.None,
|
|
99
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
100
|
+
}]
|
|
101
|
+
}], propDecorators: { class: [{
|
|
102
|
+
type: HostBinding,
|
|
103
|
+
args: ['class']
|
|
104
|
+
}] } });
|
|
105
|
+
|
|
106
|
+
class WrSpinnerModule {
|
|
107
|
+
}
|
|
108
|
+
WrSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
109
|
+
WrSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrSpinnerModule, declarations: [WrSpinnerComponent], exports: [WrSpinnerComponent] });
|
|
110
|
+
WrSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSpinnerModule });
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSpinnerModule, decorators: [{
|
|
112
|
+
type: NgModule,
|
|
113
|
+
args: [{
|
|
114
|
+
declarations: [WrSpinnerComponent],
|
|
115
|
+
exports: [WrSpinnerComponent]
|
|
116
|
+
}]
|
|
117
|
+
}] });
|
|
118
|
+
|
|
119
|
+
class WrButtonComponent extends BaseComponent {
|
|
96
120
|
constructor(cdr, elRef, ngZone, r2) {
|
|
121
|
+
super();
|
|
97
122
|
this.cdr = cdr;
|
|
98
123
|
this.elRef = elRef;
|
|
99
124
|
this.ngZone = ngZone;
|
|
@@ -105,8 +130,7 @@ class WalrusButtonComponent {
|
|
|
105
130
|
this.rounded = false;
|
|
106
131
|
this.loading = false;
|
|
107
132
|
this.block = false;
|
|
108
|
-
this.baseClass =
|
|
109
|
-
this.destroy$ = new Subject();
|
|
133
|
+
this.baseClass = `${stylePrefix}-btn`;
|
|
110
134
|
}
|
|
111
135
|
ngOnInit() {
|
|
112
136
|
this.setClasses();
|
|
@@ -119,7 +143,7 @@ class WalrusButtonComponent {
|
|
|
119
143
|
* this doesn't require Angular to run the change detection.
|
|
120
144
|
*/
|
|
121
145
|
fromEvent(this.elRef.nativeElement, 'click')
|
|
122
|
-
.pipe(takeUntil(this.
|
|
146
|
+
.pipe(takeUntil(this.ngUnsubscribe))
|
|
123
147
|
.subscribe(event => {
|
|
124
148
|
if (this.disabled && event.target?.tagName === 'A') {
|
|
125
149
|
event.preventDefault();
|
|
@@ -131,10 +155,6 @@ class WalrusButtonComponent {
|
|
|
131
155
|
ngAfterViewInit() {
|
|
132
156
|
this.insertSpan(this.elRef.nativeElement.childNodes, this.r2);
|
|
133
157
|
}
|
|
134
|
-
ngOnDestroy() {
|
|
135
|
-
this.destroy$.next();
|
|
136
|
-
this.destroy$.complete();
|
|
137
|
-
}
|
|
138
158
|
ngOnChanges(changes) {
|
|
139
159
|
if (!changes['disabled']?.currentValue) {
|
|
140
160
|
this.r2.removeClass(this.elRef.nativeElement, `${this.baseClass}--disabled`);
|
|
@@ -149,7 +169,7 @@ class WalrusButtonComponent {
|
|
|
149
169
|
nodes.forEach(node => {
|
|
150
170
|
if (node.nodeName === '#text') {
|
|
151
171
|
const span = renderer.createElement('span');
|
|
152
|
-
renderer.addClass(span,
|
|
172
|
+
renderer.addClass(span, `${this.baseClass}__text`);
|
|
153
173
|
const parent = renderer.parentNode(node);
|
|
154
174
|
renderer.insertBefore(parent, span, node);
|
|
155
175
|
renderer.appendChild(span, node);
|
|
@@ -179,29 +199,27 @@ class WalrusButtonComponent {
|
|
|
179
199
|
}
|
|
180
200
|
}
|
|
181
201
|
}
|
|
182
|
-
|
|
183
|
-
|
|
202
|
+
WrButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrButtonComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
203
|
+
WrButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: WrButtonComponent, selector: "wr-btn, [wr-btn]", inputs: { color: "color", size: "size", disabled: "disabled", outlined: "outlined", rounded: "rounded", loading: "loading", block: "block" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content><wr-spin *ngIf="loading"></wr-spin>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: WrSpinnerComponent, selector: "wr-spin" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
184
204
|
__decorate([
|
|
185
205
|
InputBoolean()
|
|
186
|
-
],
|
|
206
|
+
], WrButtonComponent.prototype, "disabled", void 0);
|
|
187
207
|
__decorate([
|
|
188
208
|
InputBoolean()
|
|
189
|
-
],
|
|
209
|
+
], WrButtonComponent.prototype, "outlined", void 0);
|
|
190
210
|
__decorate([
|
|
191
211
|
InputBoolean()
|
|
192
|
-
],
|
|
212
|
+
], WrButtonComponent.prototype, "rounded", void 0);
|
|
193
213
|
__decorate([
|
|
194
214
|
InputBoolean()
|
|
195
|
-
],
|
|
215
|
+
], WrButtonComponent.prototype, "loading", void 0);
|
|
196
216
|
__decorate([
|
|
197
217
|
InputBoolean()
|
|
198
|
-
],
|
|
199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
218
|
+
], WrButtonComponent.prototype, "block", void 0);
|
|
219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrButtonComponent, decorators: [{
|
|
200
220
|
type: Component,
|
|
201
221
|
args: [{
|
|
202
222
|
selector: 'wr-btn, [wr-btn]',
|
|
203
|
-
exportAs: 'wrButton',
|
|
204
|
-
preserveWhitespaces: false,
|
|
205
223
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
206
224
|
encapsulation: ViewEncapsulation.None,
|
|
207
225
|
template: `<ng-content></ng-content><wr-spin *ngIf="loading"></wr-spin>`
|
|
@@ -222,63 +240,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
222
240
|
type: Input
|
|
223
241
|
}] } });
|
|
224
242
|
|
|
225
|
-
class
|
|
243
|
+
class WrButtonModule {
|
|
226
244
|
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
245
|
+
WrButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
246
|
+
WrButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrButtonModule, declarations: [WrButtonComponent], imports: [CommonModule, WrSpinnerModule], exports: [WrButtonComponent] });
|
|
247
|
+
WrButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrButtonModule, imports: [CommonModule, WrSpinnerModule] });
|
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrButtonModule, decorators: [{
|
|
231
249
|
type: NgModule,
|
|
232
250
|
args: [{
|
|
233
|
-
imports: [CommonModule,
|
|
234
|
-
declarations: [
|
|
235
|
-
exports: [
|
|
251
|
+
imports: [CommonModule, WrSpinnerModule],
|
|
252
|
+
declarations: [WrButtonComponent],
|
|
253
|
+
exports: [WrButtonComponent]
|
|
236
254
|
}]
|
|
237
255
|
}] });
|
|
238
256
|
|
|
239
|
-
class
|
|
257
|
+
class WrDividerComponent {
|
|
240
258
|
constructor() {
|
|
241
|
-
this.
|
|
259
|
+
this.class = `${stylePrefix}-divider`;
|
|
242
260
|
}
|
|
243
261
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
262
|
+
WrDividerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrDividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
263
|
+
WrDividerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: WrDividerComponent, selector: "wr-divider", host: { properties: { "class": "this.class" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrDividerComponent, decorators: [{
|
|
247
265
|
type: Component,
|
|
248
266
|
args: [{
|
|
249
267
|
selector: 'wr-divider',
|
|
250
|
-
exportAs: 'wrDivider',
|
|
251
|
-
preserveWhitespaces: false,
|
|
252
268
|
template: '',
|
|
253
269
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
254
270
|
encapsulation: ViewEncapsulation.None
|
|
255
271
|
}]
|
|
256
|
-
}], propDecorators: {
|
|
272
|
+
}], propDecorators: { class: [{
|
|
257
273
|
type: HostBinding,
|
|
258
274
|
args: ['class']
|
|
259
275
|
}] } });
|
|
260
276
|
|
|
261
|
-
class
|
|
277
|
+
class WrDividerModule {
|
|
262
278
|
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
279
|
+
WrDividerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
280
|
+
WrDividerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrDividerModule, declarations: [WrDividerComponent], exports: [WrDividerComponent] });
|
|
281
|
+
WrDividerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrDividerModule });
|
|
282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrDividerModule, decorators: [{
|
|
267
283
|
type: NgModule,
|
|
268
284
|
args: [{
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
exports: [WalrusDividerComponent]
|
|
285
|
+
declarations: [WrDividerComponent],
|
|
286
|
+
exports: [WrDividerComponent]
|
|
272
287
|
}]
|
|
273
288
|
}] });
|
|
274
289
|
|
|
275
|
-
class
|
|
290
|
+
class WrInputDirective extends BaseComponent {
|
|
276
291
|
constructor(ngControl) {
|
|
292
|
+
super();
|
|
277
293
|
this.ngControl = ngControl;
|
|
278
|
-
this.class =
|
|
294
|
+
this.class = `${stylePrefix}-input`;
|
|
279
295
|
this._disabled = false;
|
|
280
296
|
this.disabled$ = new Subject();
|
|
281
|
-
this.destroy$ = new Subject();
|
|
282
297
|
}
|
|
283
298
|
get disabled() {
|
|
284
299
|
if (this.ngControl && this.ngControl.disabled !== null) {
|
|
@@ -292,10 +307,8 @@ class WalrusInputDirective {
|
|
|
292
307
|
ngOnInit() {
|
|
293
308
|
if (this.ngControl) {
|
|
294
309
|
this.ngControl.statusChanges
|
|
295
|
-
?.pipe(filter(() => this.ngControl.disabled !== null), takeUntil(this.
|
|
296
|
-
.subscribe(() =>
|
|
297
|
-
this.disabled$.next(this.ngControl.disabled);
|
|
298
|
-
});
|
|
310
|
+
?.pipe(filter(() => this.ngControl.disabled !== null), takeUntil(this.ngUnsubscribe))
|
|
311
|
+
.subscribe(() => this.disabled$.next(this.ngControl.disabled));
|
|
299
312
|
}
|
|
300
313
|
}
|
|
301
314
|
ngOnChanges(changes) {
|
|
@@ -304,28 +317,24 @@ class WalrusInputDirective {
|
|
|
304
317
|
this.disabled$.next(this.disabled);
|
|
305
318
|
}
|
|
306
319
|
}
|
|
307
|
-
ngOnDestroy() {
|
|
308
|
-
this.destroy$.next();
|
|
309
|
-
this.destroy$.complete();
|
|
310
|
-
}
|
|
311
320
|
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
321
|
+
WrInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrInputDirective, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
322
|
+
WrInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.1.3", type: WrInputDirective, selector: "wr-input, input[wr-input], textarea[wr-input]", inputs: { disabled: "disabled" }, host: { properties: { "class": "this.class", "class.wr-input--disabled": "this.disabled", "disabled": "this.disabled" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrInputDirective, decorators: [{
|
|
315
324
|
type: Directive,
|
|
316
325
|
args: [{
|
|
317
|
-
selector: 'wr-input, input[wr-input], textarea[wr-input]'
|
|
318
|
-
exportAs: 'wrInput',
|
|
326
|
+
selector: 'wr-input, input[wr-input], textarea[wr-input]'
|
|
319
327
|
}]
|
|
320
328
|
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
|
321
329
|
type: Optional
|
|
322
330
|
}, {
|
|
323
331
|
type: Self
|
|
324
332
|
}] }]; }, propDecorators: { class: [{
|
|
325
|
-
type: HostBinding
|
|
333
|
+
type: HostBinding,
|
|
334
|
+
args: ['class']
|
|
326
335
|
}], disabled: [{
|
|
327
336
|
type: HostBinding,
|
|
328
|
-
args: [
|
|
337
|
+
args: [`class.${stylePrefix}-input--disabled`]
|
|
329
338
|
}, {
|
|
330
339
|
type: HostBinding,
|
|
331
340
|
args: ['disabled']
|
|
@@ -333,30 +342,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
333
342
|
type: Input
|
|
334
343
|
}] } });
|
|
335
344
|
|
|
336
|
-
class
|
|
345
|
+
class WrInputModule {
|
|
337
346
|
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
347
|
+
WrInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
348
|
+
WrInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrInputModule, declarations: [WrInputDirective], imports: [CommonModule, PlatformModule], exports: [WrInputDirective] });
|
|
349
|
+
WrInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrInputModule, imports: [CommonModule, PlatformModule] });
|
|
350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrInputModule, decorators: [{
|
|
342
351
|
type: NgModule,
|
|
343
352
|
args: [{
|
|
344
353
|
imports: [CommonModule, PlatformModule],
|
|
345
|
-
declarations: [
|
|
346
|
-
|
|
347
|
-
],
|
|
348
|
-
exports: [
|
|
349
|
-
WalrusInputDirective,
|
|
350
|
-
]
|
|
354
|
+
declarations: [WrInputDirective],
|
|
355
|
+
exports: [WrInputDirective]
|
|
351
356
|
}]
|
|
352
357
|
}] });
|
|
353
358
|
|
|
354
|
-
class
|
|
359
|
+
class WrExtendedInputComponent {
|
|
355
360
|
constructor(ngControl, elRef, r2) {
|
|
356
361
|
this.ngControl = ngControl;
|
|
357
362
|
this.elRef = elRef;
|
|
358
363
|
this.r2 = r2;
|
|
359
|
-
this.class =
|
|
364
|
+
this.class = `${stylePrefix}-extended-input`;
|
|
360
365
|
this.disabled = false;
|
|
361
366
|
this.value = undefined;
|
|
362
367
|
this.touched = false;
|
|
@@ -395,11 +400,11 @@ class WalrusExtendedInputComponent {
|
|
|
395
400
|
this.value = obj;
|
|
396
401
|
}
|
|
397
402
|
}
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
403
|
+
WrExtendedInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
404
|
+
WrExtendedInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: WrExtendedInputComponent, selector: "wr-extended-input", inputs: { suffix: "suffix", prefix: "prefix" }, host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<div class=\"wr-extended-input-prefix\" *ngIf=\"prefix\">\n <span class=\"wr-extended-input-prefix__text\">{{ prefix }}</span>\n</div>\n<input wr-input [disabled]=\"disabled\" [value]=\"value\" (focusout)=\"onFocusOut()\" (input)=\"onInput($event)\" />\n<div class=\"wr-extended-input-suffix\" *ngIf=\"suffix\">\n <span class=\"wr-extended-input-suffix__text\">{{ suffix }}</span>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: WrInputDirective, selector: "wr-input, input[wr-input], textarea[wr-input]", inputs: ["disabled"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputComponent, decorators: [{
|
|
401
406
|
type: Component,
|
|
402
|
-
args: [{ selector: 'wr-extended-input', encapsulation: ViewEncapsulation.None, template: "<div class=\"wr-extended-input-prefix\" *ngIf=\"prefix\">\n <span class=\"wr-extended-input-prefix__text\"
|
|
407
|
+
args: [{ selector: 'wr-extended-input', encapsulation: ViewEncapsulation.None, template: "<div class=\"wr-extended-input-prefix\" *ngIf=\"prefix\">\n <span class=\"wr-extended-input-prefix__text\">{{ prefix }}</span>\n</div>\n<input wr-input [disabled]=\"disabled\" [value]=\"value\" (focusout)=\"onFocusOut()\" (input)=\"onInput($event)\" />\n<div class=\"wr-extended-input-suffix\" *ngIf=\"suffix\">\n <span class=\"wr-extended-input-suffix__text\">{{ suffix }}</span>\n</div>\n" }]
|
|
403
408
|
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
|
404
409
|
type: Optional
|
|
405
410
|
}, {
|
|
@@ -413,72 +418,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
413
418
|
type: Input
|
|
414
419
|
}] } });
|
|
415
420
|
|
|
416
|
-
class
|
|
421
|
+
class WrExtendedInputModule {
|
|
417
422
|
}
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
WalrusExtendedInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusExtendedInputModule, imports: [CommonModule,
|
|
423
|
-
PlatformModule,
|
|
424
|
-
WalrusInputModule] });
|
|
425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusExtendedInputModule, decorators: [{
|
|
423
|
+
WrExtendedInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
424
|
+
WrExtendedInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputModule, declarations: [WrExtendedInputComponent], imports: [CommonModule, PlatformModule, WrInputModule], exports: [WrExtendedInputComponent] });
|
|
425
|
+
WrExtendedInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputModule, imports: [CommonModule, PlatformModule, WrInputModule] });
|
|
426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputModule, decorators: [{
|
|
426
427
|
type: NgModule,
|
|
427
428
|
args: [{
|
|
428
|
-
imports: [
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
WalrusInputModule,
|
|
432
|
-
],
|
|
433
|
-
declarations: [WalrusExtendedInputComponent],
|
|
434
|
-
exports: [WalrusExtendedInputComponent]
|
|
429
|
+
imports: [CommonModule, PlatformModule, WrInputModule],
|
|
430
|
+
declarations: [WrExtendedInputComponent],
|
|
431
|
+
exports: [WrExtendedInputComponent]
|
|
435
432
|
}]
|
|
436
433
|
}] });
|
|
437
434
|
|
|
438
|
-
class
|
|
439
|
-
constructor(
|
|
435
|
+
class WrFormErrorComponent {
|
|
436
|
+
constructor() {
|
|
437
|
+
this.class = `${stylePrefix}-form-error`;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
WrFormErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
441
|
+
WrFormErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: WrFormErrorComponent, selector: "wr-form-error", host: { properties: { "class": "this.class" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormErrorComponent, decorators: [{
|
|
443
|
+
type: Component,
|
|
444
|
+
args: [{
|
|
445
|
+
selector: 'wr-form-error',
|
|
446
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
447
|
+
encapsulation: ViewEncapsulation.None,
|
|
448
|
+
template: `<ng-content></ng-content>`
|
|
449
|
+
}]
|
|
450
|
+
}], propDecorators: { class: [{
|
|
451
|
+
type: HostBinding,
|
|
452
|
+
args: ['class']
|
|
453
|
+
}] } });
|
|
454
|
+
|
|
455
|
+
class WrFormItemComponent {
|
|
456
|
+
constructor(cdr, elRef, r2) {
|
|
440
457
|
this.cdr = cdr;
|
|
441
|
-
this.
|
|
458
|
+
this.elRef = elRef;
|
|
442
459
|
this.r2 = r2;
|
|
443
460
|
this.hasError = false;
|
|
444
|
-
this.
|
|
461
|
+
this.baseClass = `${stylePrefix}-form-item`;
|
|
445
462
|
}
|
|
446
463
|
ngOnInit() {
|
|
447
464
|
this.setClasses();
|
|
448
465
|
}
|
|
449
|
-
ngOnDestroy() {
|
|
450
|
-
this.destroy$.next(null);
|
|
451
|
-
this.destroy$.complete();
|
|
452
|
-
}
|
|
453
466
|
ngOnChanges(changes) {
|
|
454
|
-
const baseClass = 'wr-form-item';
|
|
455
467
|
if (!changes['hasError']?.currentValue) {
|
|
456
|
-
this.r2.removeClass(this.
|
|
468
|
+
this.r2.removeClass(this.elRef.nativeElement, `${this.baseClass}--has-error`);
|
|
457
469
|
}
|
|
458
470
|
this.setClasses();
|
|
459
471
|
this.cdr.detectChanges();
|
|
460
472
|
}
|
|
461
473
|
setClasses() {
|
|
462
|
-
const
|
|
463
|
-
const
|
|
464
|
-
|
|
465
|
-
this.r2.addClass(el, baseClass);
|
|
474
|
+
const el = this.elRef.nativeElement;
|
|
475
|
+
const add = (klass) => this.r2.addClass(el, `${this.baseClass}-${klass}`);
|
|
476
|
+
this.r2.addClass(el, this.baseClass);
|
|
466
477
|
if (this.hasError) {
|
|
467
478
|
add('-has-error');
|
|
468
479
|
}
|
|
469
480
|
}
|
|
470
481
|
}
|
|
471
|
-
|
|
472
|
-
|
|
482
|
+
WrFormItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
483
|
+
WrFormItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: WrFormItemComponent, selector: "wr-form-item", inputs: { hasError: "hasError" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
473
484
|
__decorate([
|
|
474
485
|
InputBoolean()
|
|
475
|
-
],
|
|
476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
486
|
+
], WrFormItemComponent.prototype, "hasError", void 0);
|
|
487
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormItemComponent, decorators: [{
|
|
477
488
|
type: Component,
|
|
478
489
|
args: [{
|
|
479
490
|
selector: 'wr-form-item',
|
|
480
|
-
exportAs: 'wrFormItem',
|
|
481
|
-
preserveWhitespaces: false,
|
|
482
491
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
483
492
|
encapsulation: ViewEncapsulation.None,
|
|
484
493
|
template: `<ng-content></ng-content>`
|
|
@@ -487,78 +496,72 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
487
496
|
type: Input
|
|
488
497
|
}] } });
|
|
489
498
|
|
|
490
|
-
class
|
|
491
|
-
constructor() {
|
|
492
|
-
this.class = 'wr-form-error';
|
|
493
|
-
this.destroy$ = new Subject();
|
|
494
|
-
}
|
|
495
|
-
ngOnDestroy() {
|
|
496
|
-
this.destroy$.next(null);
|
|
497
|
-
this.destroy$.complete();
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
WalrusFormErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusFormErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
501
|
-
WalrusFormErrorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: WalrusFormErrorComponent, selector: "wr-form-error", host: { properties: { "class": "this.class" } }, exportAs: ["wrFormError"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusFormErrorComponent, decorators: [{
|
|
503
|
-
type: Component,
|
|
504
|
-
args: [{
|
|
505
|
-
selector: 'wr-form-error',
|
|
506
|
-
exportAs: 'wrFormError',
|
|
507
|
-
preserveWhitespaces: false,
|
|
508
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
509
|
-
encapsulation: ViewEncapsulation.None,
|
|
510
|
-
template: `<ng-content></ng-content>`
|
|
511
|
-
}]
|
|
512
|
-
}], propDecorators: { class: [{
|
|
513
|
-
type: HostBinding
|
|
514
|
-
}] } });
|
|
515
|
-
|
|
516
|
-
class WalrusFormModule {
|
|
499
|
+
class WrFormModule {
|
|
517
500
|
}
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
WalrusFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusFormModule, imports: [CommonModule] });
|
|
523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusFormModule, decorators: [{
|
|
501
|
+
WrFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
502
|
+
WrFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrFormModule, declarations: [WrFormItemComponent, WrFormErrorComponent], imports: [CommonModule], exports: [WrFormItemComponent, WrFormErrorComponent] });
|
|
503
|
+
WrFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormModule, imports: [CommonModule] });
|
|
504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormModule, decorators: [{
|
|
524
505
|
type: NgModule,
|
|
525
506
|
args: [{
|
|
526
507
|
imports: [CommonModule],
|
|
527
|
-
declarations: [
|
|
528
|
-
|
|
529
|
-
WalrusFormErrorComponent
|
|
530
|
-
],
|
|
531
|
-
exports: [
|
|
532
|
-
WalrusFormItemComponent,
|
|
533
|
-
WalrusFormErrorComponent
|
|
534
|
-
]
|
|
508
|
+
declarations: [WrFormItemComponent, WrFormErrorComponent],
|
|
509
|
+
exports: [WrFormItemComponent, WrFormErrorComponent]
|
|
535
510
|
}]
|
|
536
511
|
}] });
|
|
537
512
|
|
|
538
513
|
/* 🤖 this file was generated by svg-to-ts */
|
|
539
|
-
const
|
|
540
|
-
name: '
|
|
541
|
-
data:
|
|
514
|
+
const wrIconAlertCircle = {
|
|
515
|
+
name: 'alert-circle',
|
|
516
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M64,0C28.7,0,0,28.7,0,64c0,35.3,28.7,64,64,64c35.3,0,64-28.7,64-64C128,28.7,99.3,0,64,0z M64,32.9c3.6,0,6.5,3,6.4,6.6 L69.6,70c-0.1,3-2.6,5.4-5.6,5.4c-3,0-5.5-2.4-5.6-5.4l-0.9-30.5C57.5,35.9,60.4,32.9,64,32.9z M64,95.1c-3.9,0-7.1-3.2-7.1-7.1 c0-3.9,3.2-7.1,7.1-7.1c3.9,0,7.1,3.2,7.1,7.1C71.1,91.9,67.9,95.1,64,95.1z"/></svg>`
|
|
542
517
|
};
|
|
543
|
-
const
|
|
544
|
-
name: '
|
|
545
|
-
data:
|
|
518
|
+
const wrIconAlertSquircle = {
|
|
519
|
+
name: 'alert-squircle',
|
|
520
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M117.8,10.2C107.6,0,92,0,64,0S20.4,0,10.2,10.2S0,36,0,64s0,43.6,10.2,53.8S36,128,64,128s43.6,0,53.8-10.2S128,92,128,64 S128,20.4,117.8,10.2z M64,32.9c3.6,0,6.5,3,6.4,6.6L69.6,70c-0.1,3-2.6,5.4-5.6,5.4c-3,0-5.5-2.4-5.6-5.4l-0.9-30.5 C57.5,35.9,60.4,32.9,64,32.9z M64,95.1c-3.9,0-7.1-3.2-7.1-7.1c0-3.9,3.2-7.1,7.1-7.1s7.1,3.2,7.1,7.1C71.1,91.9,67.9,95.1,64,95.1 z"/></svg>`
|
|
546
521
|
};
|
|
547
522
|
const wrIconAlert = {
|
|
548
523
|
name: 'alert',
|
|
549
|
-
data:
|
|
524
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><g><path d="M77.2,13.6l-1.7,62.8c-0.2,6.2-5.3,11.2-11.5,11.2h0c-6.2,0-11.3-4.9-11.5-11.2l-1.8-62.8C50.6,6.1,56.5,0,64,0h0 C71.4,0,77.4,6.1,77.2,13.6z"/><circle cx="64" cy="113.4" r="14.6"/></g></svg>`
|
|
550
525
|
};
|
|
551
|
-
const
|
|
552
|
-
name: '
|
|
553
|
-
data:
|
|
526
|
+
const wrIconArrowBackCircle = {
|
|
527
|
+
name: 'arrow-back-circle',
|
|
528
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M64,0C28.7,0,0,28.7,0,64s28.7,64,64,64s64-28.7,64-64S99.3,0,64,0z M92.1,69.2H48.3L60,80.9c2.1,2.1,2,5.4-0.1,7.4 c-2,1.9-5.3,1.8-7.3-0.2L32.4,67.9c-2.2-2.2-2.2-5.6,0-7.8l20.3-20.2c2.1-2.1,5.4-2,7.4,0.1c1.9,2,1.8,5.3-0.2,7.3L48.3,58.9h43.5 c2.8,0,5.3,2.2,5.4,5C97.3,66.8,95,69.2,92.1,69.2z"/></svg>`
|
|
554
529
|
};
|
|
555
530
|
const wrIconArrowBack = {
|
|
556
531
|
name: 'arrow-back',
|
|
557
|
-
data:
|
|
532
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M99.2,57.6l-54,0l14.4-14.4c2.5-2.5,2.7-6.6,0.3-9.1c-2.5-2.6-6.6-2.7-9.2-0.1L25.5,59.1c-2.7,2.7-2.7,7,0,9.7l25,25 c2.5,2.5,6.6,2.7,9.1,0.3c2.6-2.5,2.7-6.6,0.1-9.2L45.2,70.4h54.3c3.6,0,6.5-3,6.4-6.6C105.8,60.3,102.7,57.6,99.2,57.6z"/></svg>`
|
|
533
|
+
};
|
|
534
|
+
const wrIconArrowBottomCircle = {
|
|
535
|
+
name: 'arrow-bottom-circle',
|
|
536
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M0,64c0,35.3,28.7,64,64,64s64-28.7,64-64S99.3,0,64,0S0,28.7,0,64z M69.2,35.9v43.8L80.9,68c2.1-2.1,5.4-2,7.4,0.1 c1.9,2,1.8,5.3-0.2,7.3L67.9,95.6c-2.2,2.2-5.6,2.2-7.8,0L39.9,75.3c-2.1-2.1-2-5.4,0.1-7.4c2-1.9,5.3-1.8,7.3,0.2l11.6,11.6V36.2 c0-2.8,2.2-5.3,5-5.4C66.8,30.7,69.2,33,69.2,35.9z"/></svg>`
|
|
537
|
+
};
|
|
538
|
+
const wrIconArrowBottom = {
|
|
539
|
+
name: 'arrow-bottom',
|
|
540
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M58.3,29.5l0,54L44,69.1c-2.5-2.5-6.6-2.7-9.1-0.3c-2.6,2.5-2.7,6.6-0.1,9.2l25.2,25.2c2.7,2.7,7,2.7,9.7,0l25-25 c2.5-2.5,2.7-6.6,0.3-9.1c-2.5-2.6-6.6-2.7-9.2-0.1L71.2,83.5V29.2c0-3.6-3-6.5-6.6-6.4C61,22.9,58.3,26,58.3,29.5z"/></svg>`
|
|
541
|
+
};
|
|
542
|
+
const wrIconArrowForwardCircle = {
|
|
543
|
+
name: 'arrow-forward-circle',
|
|
544
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M64,128c35.3,0,64-28.7,64-64S99.3,0,64,0S0,28.7,0,64S28.7,128,64,128z M35.9,58.8h43.8L68,47.1c-2.1-2.1-2-5.4,0.1-7.4 c2-1.9,5.3-1.8,7.3,0.2l20.1,20.1c2.2,2.2,2.2,5.6,0,7.8L75.3,88.1c-2.1,2.1-5.4,2-7.4-0.1c-1.9-2-1.8-5.3,0.2-7.3l11.6-11.6H36.2 c-2.8,0-5.3-2.2-5.4-5C30.7,61.2,33,58.8,35.9,58.8z"/></svg>`
|
|
545
|
+
};
|
|
546
|
+
const wrIconArrowForward = {
|
|
547
|
+
name: 'arrow-forward',
|
|
548
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M30.2,70.3h54L69.8,84.7c-2.5,2.5-2.7,6.6-0.3,9.1c2.5,2.6,6.6,2.7,9.2,0.1l25.2-25.2c2.7-2.7,2.7-7,0-9.7l-25-25 c-2.5-2.5-6.6-2.7-9.1-0.3c-2.6,2.5-2.7,6.6-0.1,9.2l14.6,14.6H29.9c-3.6,0-6.5,3-6.4,6.6C23.6,67.6,26.7,70.3,30.2,70.3z"/></svg>`
|
|
549
|
+
};
|
|
550
|
+
const wrIconArrowTopCircle = {
|
|
551
|
+
name: 'arrow-top-circle',
|
|
552
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M128,64c0-35.3-28.7-64-64-64S0,28.7,0,64s28.7,64,64,64S128,99.3,128,64z M58.8,92.1V48.3L47.1,60c-2.1,2.1-5.4,2-7.4-0.1 c-1.9-2-1.8-5.3,0.2-7.3l20.1-20.1c2.2-2.2,5.6-2.2,7.8,0l20.2,20.3c2.1,2.1,2,5.4-0.1,7.4c-2,1.9-5.3,1.8-7.3-0.2L69.1,48.3v43.5 c0,2.8-2.2,5.3-5,5.4C61.2,97.3,58.8,95,58.8,92.1z"/></svg>`
|
|
553
|
+
};
|
|
554
|
+
const wrIconArrowTop = {
|
|
555
|
+
name: 'arrow-top',
|
|
556
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M71.1,98.5l0-54l14.4,14.4c2.5,2.5,6.6,2.7,9.1,0.3c2.6-2.5,2.7-6.6,0.1-9.2L69.5,24.8c-2.7-2.7-7-2.7-9.7,0l-25,25 c-2.5,2.5-2.7,6.6-0.3,9.1c2.5,2.6,6.6,2.7,9.2,0.1l14.6-14.6v54.3c0,3.6,3,6.5,6.6,6.4C68.4,105,71.1,102,71.1,98.5z"/></svg>`
|
|
557
|
+
};
|
|
558
|
+
const wrIconBugOutline = {
|
|
559
|
+
name: 'bug-outline',
|
|
560
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M108.9,75.5h7.3c3.7,0,6.7-3,6.7-6.7s-3-6.7-6.7-6.7h-7.3v-7.6c0-2-0.1-4-0.4-5.9h7.7c3.7,0,6.7-3,6.7-6.7s-3-6.7-6.7-6.7 h-11.7c-3.5-7.4-9-13.7-15.8-18.2l5.7-5.7C97,8.8,97,4.6,94.4,2c-2.6-2.6-6.8-2.6-9.4,0l-9.2,9.2c-3.8-1-7.7-1.6-11.8-1.6h0 c-4.1,0-8,0.6-11.8,1.6L43,2c-2.6-2.6-6.8-2.6-9.4,0c-2.6,2.6-2.6,6.8,0,9.4l5.7,5.7c-6.8,4.5-12.3,10.8-15.8,18.2H11.8 c-3.7,0-6.7,3-6.7,6.7s3,6.7,6.7,6.7h7.7c-0.3,1.9-0.4,3.9-0.4,5.9v7.6h-7.3c-3.7,0-6.7,3-6.7,6.7s3,6.7,6.7,6.7h7.3v7.6 c0,2,0.1,4,0.4,5.9h-7.7c-3.7,0-6.7,3-6.7,6.7s3,6.7,6.7,6.7h11.7C30.6,117.5,46.1,128,64,128h0c17.9,0,33.4-10.5,40.6-25.7h11.7 c3.7,0,6.7-3,6.7-6.7s-3-6.7-6.7-6.7h-7.7c0.3-1.9,0.4-3.9,0.4-5.9V75.5z M64,114.6c-17.4,0-31.5-14.1-31.5-31.5V54.5 C32.5,37.1,46.6,23,64,23s31.5,14.1,31.5,31.5v28.6C95.5,100.5,81.4,114.6,64,114.6z M82.6,52.8c0,3.7-3,6.7-6.7,6.7H52 c-3.7,0-6.7-3-6.7-6.7c0-3.7,3-6.7,6.7-6.7H76C79.6,46.1,82.6,49.1,82.6,52.8z M82.6,84.8c0,3.7-3,6.7-6.7,6.7H52 c-3.7,0-6.7-3-6.7-6.7s3-6.7,6.7-6.7l23.9,0C79.6,78.2,82.6,81.1,82.6,84.8z"/></svg>`
|
|
558
561
|
};
|
|
559
562
|
const wrIconBug = {
|
|
560
563
|
name: 'bug',
|
|
561
|
-
data:
|
|
564
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M108.9,75.5h7.3c3.7,0,6.7-3,6.7-6.7c0-3.7-3-6.7-6.7-6.7h-7.3v-7.6c0-2-0.1-4-0.4-5.9h7.7c3.7,0,6.7-3,6.7-6.7 c0-3.7-3-6.7-6.7-6.7h-11.7c-3.5-7.4-9-13.7-15.8-18.2l5.7-5.7C97,8.8,97,4.6,94.4,2c-2.6-2.6-6.8-2.6-9.4,0l-9.2,9.2 c-3.8-1-7.7-1.6-11.8-1.6h0c-4.1,0-8,0.6-11.8,1.6L43,2c-2.6-2.6-6.8-2.6-9.4,0c-2.6,2.6-2.6,6.8,0,9.4l5.7,5.7 c-6.8,4.5-12.3,10.8-15.8,18.2H11.8c-3.7,0-6.7,3-6.7,6.7c0,3.7,3,6.7,6.7,6.7h7.7c-0.3,1.9-0.4,3.9-0.4,5.9v7.6h-7.3 c-3.7,0-6.7,3-6.7,6.7c0,3.7,3,6.7,6.7,6.7h7.3v7.6c0,2,0.1,4,0.4,5.9h-7.7c-3.7,0-6.7,3-6.7,6.7c0,3.7,3,6.7,6.7,6.7h11.7 C30.6,117.5,46.1,128,64,128h0c17.9,0,33.4-10.5,40.6-25.7h11.7c3.7,0,6.7-3,6.7-6.7c0-3.7-3-6.7-6.7-6.7h-7.7 c0.3-1.9,0.4-3.9,0.4-5.9V75.5z M76,91.5H52c-3.7,0-6.7-3-6.7-6.7s3-6.7,6.7-6.7H76c3.7,0,6.7,3,6.7,6.7S79.6,91.5,76,91.5z M76,59.4H52c-3.7,0-6.7-3-6.7-6.7c0-3.7,3-6.7,6.7-6.7H76c3.7,0,6.7,3,6.7,6.7C82.6,56.5,79.6,59.4,76,59.4z"/></svg>`
|
|
562
565
|
};
|
|
563
566
|
const wrIconCaretBack = {
|
|
564
567
|
name: 'caret-back',
|
|
@@ -592,6 +595,10 @@ const wrIconCopy = {
|
|
|
592
595
|
name: 'copy',
|
|
593
596
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/></svg>`
|
|
594
597
|
};
|
|
598
|
+
const wrIconDiscover = {
|
|
599
|
+
name: 'discover',
|
|
600
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M119.4,57.3l-33-33.2c-2.2-2.4-5.4-3.6-8.6-3.6s-6.2,1.2-8.6,3.6l-4,4c-0.4,0.4-1,0.4-1.2,0.4s-0.8,0-1.2-0.6l-4-4 c-2.4-2.2-5.4-3.4-8.6-3.4s-6.2,1.2-8.6,3.6l-33,33.2C3.2,62.7,0,70.1,0,78.1c0,16.2,13.2,29.4,29.4,29.4c11.4,0,21.4-6.6,26.2-16.2 c2.4,1.6,5.2,2.4,8.4,2.4c3,0,6-0.8,8.4-2.4c4.8,9.6,14.8,16.2,26.2,16.2c16.2,0,29.4-13.2,29.4-29.4 C128,70.1,124.8,62.7,119.4,57.3z M29.4,92.3c-7.8,0-14.2-6.4-14.2-14.2s6.4-14.2,14.2-14.2s14.2,6.4,14.2,14.2S37.2,92.3,29.4,92.3 z M64,85.1c-3.8,0-7-3-7-7c0-3.8,3-7,7-7s7,3,7,7C71,81.9,67.8,85.1,64,85.1z M98.6,92.3c-7.8,0-14.2-6.4-14.2-14.2 s6.4-14.2,14.2-14.2s14.2,6.4,14.2,14.2S106.4,92.3,98.6,92.3z"/></svg>`
|
|
601
|
+
};
|
|
595
602
|
const wrIconDocument = {
|
|
596
603
|
name: 'document',
|
|
597
604
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M416 221.25V416a48 48 0 01-48 48H144a48 48 0 01-48-48V96a48 48 0 0148-48h98.75a32 32 0 0122.62 9.37l141.26 141.26a32 32 0 019.37 22.62z" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32"/><path d="M256 56v120a32 32 0 0032 32h120M176 288h160M176 368h160" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg>`
|
|
@@ -616,6 +623,22 @@ const wrIconEye = {
|
|
|
616
623
|
name: 'eye',
|
|
617
624
|
data: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/></svg>`
|
|
618
625
|
};
|
|
626
|
+
const wrIconFileAab = {
|
|
627
|
+
name: 'file-aab',
|
|
628
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M94.6,57.4c-1.8,0-3.3,0.6-4.5,1.9s-1.8,2.9-1.8,4.9c0,2.1,0.6,3.7,1.8,4.9c1.2,1.2,2.7,1.9,4.5,1.9c1.8,0,3.3-0.6,4.5-1.9 c1.2-1.2,1.8-2.9,1.8-4.9c0-2.1-0.6-3.7-1.8-4.9C97.9,58,96.4,57.4,94.6,57.4z M39.2,66.8c-0.6,0.3-1.1,0.7-1.3,1.1 c-0.2,0.4-0.3,0.9-0.3,1.5c0,0.7,0.3,1.3,0.9,1.9c0.6,0.6,1.4,0.8,2.3,0.8c1.6,0,2.9-0.5,4-1.5c1-1,1.5-2.2,1.5-3.7v-1.1 c-1.9,0-3.3,0.1-4.5,0.3C40.7,66.3,39.8,66.5,39.2,66.8L39.2,66.8z M64.2,66.8c-0.6,0.3-1.1,0.7-1.3,1.1c-0.2,0.4-0.3,0.9-0.3,1.5 c0,0.7,0.3,1.3,0.9,1.9c0.6,0.6,1.4,0.8,2.3,0.8c1.6,0,2.9-0.5,4-1.5c1-1,1.5-2.2,1.5-3.7v-1.1c-1.9,0-3.3,0.1-4.5,0.3 C65.7,66.3,64.9,66.5,64.2,66.8L64.2,66.8z M117.8,10.2C107.6,0,92,0,64,0S20.4,0,10.2,10.2C0,20.4,0,36,0,64s0,43.6,10.2,53.8 C20.4,128,36,128,64,128s43.6,0,53.8-10.2C128,107.6,128,92,128,64S128,20.4,117.8,10.2z M26.8,75.9c-0.7,0.7-1.5,1.1-2.5,1.1 c-0.9,0-1.8-0.4-2.5-1.1c-0.7-0.7-1.1-1.5-1.1-2.5s0.4-1.8,1.1-2.5c0.7-0.7,1.5-1.1,2.5-1.1c0.9,0,1.8,0.4,2.5,1.1 c0.7,0.7,1.1,1.5,1.1,2.5C27.9,74.4,27.6,75.2,26.8,75.9z M52.6,76.7h-4.6l-1.1-2.4c-0.6,0.5-1.2,1-1.9,1.4 c-0.6,0.4-1.4,0.7-2.2,0.9S40.8,77,39.7,77c-2.7,0-4.8-0.7-6.3-2c-1.5-1.3-2.2-3-2.2-5.1c0-1.2,0.3-2.4,0.7-3.4 c0.5-1,1.3-1.9,2.5-2.7c1.2-0.7,2.7-1.3,4.6-1.7c1.9-0.4,4.3-0.6,7.2-0.6c0-1.4-0.4-2.4-1.1-3.2c-0.7-0.8-1.7-1.1-3-1.1 c-0.8,0-1.5,0.1-2,0.4c-0.5,0.3-0.9,0.6-1.2,0.9c-0.3,0.4-0.5,0.9-0.7,1.4h-6.3c0.1-1.2,0.5-2.3,1-3.3c0.5-1,1.2-1.9,2.1-2.7 c0.9-0.8,2-1.4,3.2-1.8c1.3-0.5,2.7-0.7,4.2-0.7c1.4,0,2.7,0.3,3.9,0.7s2.2,1.2,3.1,2c0.9,0.9,1.6,1.9,2,3.1 c0.5,1.2,0.7,2.5,0.7,3.9L52.6,76.7L52.6,76.7z M77.6,76.7H73l-1.1-2.4c-0.6,0.5-1.2,1-1.9,1.4c-0.6,0.4-1.4,0.7-2.2,0.9 S65.9,77,64.8,77c-2.7,0-4.8-0.7-6.3-2c-1.5-1.3-2.2-3-2.2-5.1c0-1.2,0.3-2.4,0.7-3.4c0.5-1,1.3-1.9,2.5-2.7 c1.2-0.7,2.7-1.3,4.6-1.7c1.9-0.4,4.3-0.6,7.2-0.6c0-1.4-0.4-2.4-1.1-3.2c-0.7-0.8-1.7-1.1-3-1.1c-0.8,0-1.5,0.1-2,0.4 c-0.5,0.3-0.9,0.6-1.2,0.9c-0.3,0.4-0.5,0.9-0.7,1.4h-6.3c0.1-1.2,0.5-2.3,1-3.3c0.5-1,1.2-1.9,2.1-2.7c0.9-0.8,2-1.4,3.2-1.8 s2.7-0.7,4.2-0.7c1.4,0,2.7,0.3,3.9,0.7s2.2,1.2,3.1,2s1.6,1.9,2,3.1c0.5,1.2,0.7,2.5,0.7,3.9L77.6,76.7L77.6,76.7z M106.2,69.3 c-0.6,1.6-1.5,2.9-2.6,4.1c-1.1,1.1-2.3,2-3.7,2.7S97,77,95.5,77c-1.1,0-2.1-0.1-2.9-0.4c-0.9-0.3-1.6-0.6-2.2-0.9 c-0.7-0.4-1.4-0.9-1.9-1.4l-1.1,2.4h-4.6V42.4h6.3v11.4c0.5-0.4,1.1-0.8,1.7-1.2c0.6-0.3,1.3-0.6,2-0.8c0.8-0.3,1.7-0.4,2.8-0.4 c1.6,0,3.1,0.3,4.5,0.9c1.4,0.6,2.7,1.5,3.7,2.7c1.1,1.1,1.9,2.5,2.6,4.1c0.6,1.6,0.9,3.3,0.9,5.1C107.2,66.1,106.8,67.8,106.2,69.3 L106.2,69.3z"/></svg>`
|
|
629
|
+
};
|
|
630
|
+
const wrIconFileApk = {
|
|
631
|
+
name: 'file-apk',
|
|
632
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M38.7,66.8c-0.6,0.3-1.1,0.7-1.3,1.1c-0.2,0.4-0.3,0.9-0.3,1.5c0,0.7,0.3,1.3,0.9,1.9c0.6,0.5,1.4,0.8,2.3,0.8 c1.6,0,2.9-0.5,3.9-1.4c1-0.9,1.5-2.2,1.5-3.7v-1.1c-1.8,0-3.3,0.1-4.4,0.2C40.1,66.3,39.3,66.5,38.7,66.8z M69.2,57.6 c-1.7,0-3.2,0.6-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.9c0,2,0.6,3.7,1.8,4.9c1.2,1.2,2.7,1.8,4.4,1.8c1.7,0,3.2-0.6,4.4-1.8 c1.2-1.2,1.8-2.8,1.8-4.9c0-2-0.6-3.7-1.8-4.9C72.4,58.2,71,57.6,69.2,57.6z M117.8,10.2C107.6,0,92,0,64,0S20.4,0,10.2,10.2 C0,20.4,0,36,0,64s0,43.6,10.2,53.8C20.4,128,36,128,64,128s43.6,0,53.8-10.2C128,107.6,128,92,128,64S128,20.4,117.8,10.2z M26.1,75.8c-0.7,0.7-1.5,1.1-2.4,1.1c-0.9,0-1.7-0.4-2.4-1.1c-0.7-0.7-1.1-1.5-1.1-2.4s0.4-1.7,1.1-2.4c0.7-0.7,1.5-1.1,2.4-1.1 c0.9,0,1.7,0.4,2.4,1.1s1.1,1.5,1.1,2.4S26.8,75.1,26.1,75.8z M51.8,76.6h-4.5l-1.1-2.4c-0.6,0.5-1.2,0.9-1.9,1.3 c-0.6,0.4-1.3,0.7-2.2,0.9c-0.9,0.3-1.8,0.4-2.9,0.4c-2.7,0-4.7-0.7-6.2-2c-1.4-1.3-2.1-3-2.1-5c0-1.2,0.2-2.3,0.7-3.3 c0.5-1,1.3-1.9,2.4-2.6c1.1-0.7,2.7-1.3,4.5-1.7c1.9-0.4,4.2-0.6,7.1-0.6c0-1.3-0.4-2.4-1.1-3.2c-0.7-0.8-1.7-1.1-2.9-1.1 c-0.8,0-1.5,0.1-2,0.4c-0.5,0.3-0.9,0.6-1.2,0.9c-0.3,0.4-0.5,0.8-0.7,1.3h-6.2c0.1-1.1,0.5-2.2,1-3.2c0.5-1,1.2-1.9,2.1-2.6 c0.9-0.8,2-1.3,3.2-1.8c1.2-0.4,2.6-0.7,4.1-0.7c1.4,0,2.7,0.2,3.9,0.7c1.2,0.5,2.2,1.2,3.1,2c0.9,0.9,1.5,1.9,2,3.1 c0.5,1.2,0.7,2.5,0.7,3.9L51.8,76.6L51.8,76.6z M80.6,69.3c-0.6,1.5-1.5,2.9-2.5,4c-1.1,1.1-2.3,2-3.7,2.6s-2.9,0.9-4.4,0.9 c-1,0-1.9-0.1-2.7-0.4c-0.8-0.3-1.4-0.5-2-0.8c-0.7-0.4-1.2-0.8-1.7-1.2v10.7h-6.2V52H62l1.1,2.4c0.5-0.5,1.2-0.9,1.9-1.3 c0.6-0.3,1.3-0.6,2.2-0.9c0.9-0.3,1.8-0.4,2.9-0.4c1.5,0,3,0.3,4.4,0.9c1.4,0.6,2.6,1.5,3.7,2.6c1.1,1.1,1.9,2.5,2.5,4 c0.6,1.5,0.9,3.2,0.9,5C81.5,66.1,81.2,67.8,80.6,69.3L80.6,69.3z M100.8,76.6l-8.6-11.2v11.2h-6.1V42.8h6.2v19.3L99.8,52h7 l-8.8,11.8l9.9,12.9L100.8,76.6L100.8,76.6z"/></svg>`
|
|
633
|
+
};
|
|
634
|
+
const wrIconFileIpa = {
|
|
635
|
+
name: 'file-ipa',
|
|
636
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M63.5,57.5c-1.7,0-3.2,0.6-4.4,1.8c-1.2,1.2-1.8,2.8-1.8,4.9c0,2,0.6,3.7,1.8,4.9c1.2,1.2,2.6,1.8,4.4,1.8 c1.7,0,3.2-0.6,4.4-1.8c1.2-1.2,1.8-2.8,1.8-4.9c0-2-0.6-3.7-1.8-4.9C66.7,58.1,65.2,57.5,63.5,57.5z M87,66.8 c-0.6,0.3-1.1,0.7-1.3,1.1s-0.3,0.9-0.3,1.5c0,0.7,0.3,1.3,0.9,1.9c0.6,0.5,1.4,0.8,2.3,0.8c1.6,0,2.9-0.5,3.9-1.4 c1-0.9,1.5-2.2,1.5-3.7v-1.1c-1.8,0-3.3,0.1-4.4,0.2C88.5,66.2,87.6,66.5,87,66.8L87,66.8z M117.8,10.2C107.6,0,92,0,64,0 S20.4,0,10.2,10.2C0,20.4,0,36,0,64s0,43.6,10.2,53.8C20.4,128,36,128,64,128s43.6,0,53.8-10.2C128,107.6,128,92,128,64 S128,20.4,117.8,10.2z M33.8,75.8c-0.7,0.7-1.5,1.1-2.4,1.1c-0.9,0-1.7-0.4-2.4-1.1c-0.7-0.7-1.1-1.5-1.1-2.4c0-0.9,0.4-1.7,1.1-2.4 c0.7-0.7,1.5-1.1,2.4-1.1c0.9,0,1.7,0.4,2.4,1.1c0.7,0.7,1.1,1.5,1.1,2.4C34.8,74.3,34.5,75.1,33.8,75.8z M45.8,76.5h-6.2V51.9h6.2 V76.5z M45.3,47.7c-0.7,0.7-1.5,1.1-2.4,1.1s-1.7-0.4-2.4-1.1c-0.7-0.7-1.1-1.5-1.1-2.4s0.4-1.7,1.1-2.4c0.7-0.7,1.5-1.1,2.4-1.1 c0.9,0,1.7,0.4,2.4,1.1c0.7,0.7,1.1,1.5,1.1,2.4C46.3,46.1,46,47,45.3,47.7z M74.8,69.3c-0.6,1.5-1.5,2.9-2.5,4 c-1.1,1.1-2.3,2-3.7,2.6s-2.9,0.9-4.4,0.9c-1,0-1.9-0.1-2.7-0.4c-0.8-0.3-1.4-0.5-2-0.8c-0.7-0.4-1.2-0.8-1.7-1.2v10.7h-6.2V51.9 h4.5l1.1,2.4c0.5-0.5,1.2-0.9,1.9-1.3c0.6-0.3,1.3-0.6,2.2-0.9c0.9-0.3,1.8-0.4,2.9-0.4c1.5,0,3,0.3,4.4,0.9 c1.4,0.6,2.6,1.5,3.7,2.6c1.1,1.1,1.9,2.5,2.5,4c0.6,1.5,0.9,3.2,0.9,5C75.8,66.1,75.5,67.7,74.8,69.3L74.8,69.3z M100.1,76.5h-4.5 l-1.1-2.4c-0.6,0.5-1.2,0.9-1.9,1.3c-0.6,0.4-1.3,0.7-2.2,0.9c-0.9,0.3-1.8,0.4-2.9,0.4c-2.7,0-4.7-0.7-6.1-2c-1.4-1.3-2.1-3-2.1-5 c0-1.2,0.2-2.3,0.7-3.3s1.3-1.9,2.4-2.6c1.1-0.7,2.7-1.3,4.5-1.7c1.9-0.4,4.2-0.6,7-0.6c0-1.3-0.4-2.4-1.1-3.2 c-0.7-0.8-1.7-1.1-2.9-1.1c-0.8,0-1.5,0.1-2,0.4c-0.5,0.3-0.9,0.6-1.2,0.9c-0.3,0.4-0.5,0.8-0.7,1.3H80c0.1-1.1,0.5-2.2,1-3.2 c0.5-1,1.2-1.9,2.1-2.6s2-1.3,3.2-1.8c1.2-0.4,2.6-0.7,4.1-0.7c1.4,0,2.7,0.2,3.9,0.7c1.2,0.5,2.2,1.2,3.1,2s1.5,1.9,2,3.1 c0.5,1.2,0.7,2.5,0.7,3.9L100.1,76.5L100.1,76.5z"/></svg>`
|
|
637
|
+
};
|
|
638
|
+
const wrIconFileZip = {
|
|
639
|
+
name: 'file-zip',
|
|
640
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M86.5,57.4c-1.8,0-3.3,0.6-4.5,1.9c-1.2,1.2-1.8,2.9-1.8,4.9c0,2.1,0.6,3.7,1.8,4.9c1.2,1.2,2.7,1.9,4.5,1.9 c1.8,0,3.3-0.6,4.5-1.9s1.8-2.9,1.8-4.9c0-2.1-0.6-3.7-1.8-4.9S88.3,57.4,86.5,57.4z M117.8,10.2C107.6,0,92,0,64,0 S20.4,0,10.2,10.2C0,20.4,0,36,0,64s0,43.6,10.2,53.8C20.4,128,36,128,64,128s43.6,0,53.8-10.2C128,107.6,128,92,128,64 S128,20.4,117.8,10.2z M34.9,75.9c-0.7,0.7-1.5,1.1-2.5,1.1s-1.8-0.4-2.5-1.1c-0.7-0.7-1.1-1.5-1.1-2.5s0.4-1.8,1.1-2.5 c0.7-0.7,1.5-1.1,2.5-1.1s1.8,0.4,2.5,1.1s1.1,1.5,1.1,2.5S35.7,75.2,34.9,75.9z M59.1,76.7H39.7v-5.2l10.9-13.9H39.7v-6h18.8v5.2 L47.6,70.7h11.4V76.7z M69.3,76.7H63V51.7h6.3V76.7z M68.8,47.3c-0.7,0.7-1.5,1.1-2.5,1.1c-0.9,0-1.8-0.4-2.5-1.1 c-0.7-0.7-1.1-1.5-1.1-2.5s0.4-1.8,1.1-2.5c0.7-0.7,1.5-1.1,2.5-1.1c0.9,0,1.8,0.4,2.5,1.1c0.7,0.7,1.1,1.5,1.1,2.5 C69.9,45.8,69.5,46.6,68.8,47.3z M98.1,69.3c-0.6,1.6-1.5,2.9-2.6,4.1c-1.1,1.1-2.3,2-3.7,2.7S88.9,77,87.4,77c-1.1,0-2-0.1-2.8-0.4 c-0.8-0.3-1.5-0.5-2-0.8c-0.7-0.4-1.2-0.8-1.7-1.3v10.9h-6.3V51.7h4.6l1.1,2.4c0.5-0.5,1.2-1,1.9-1.4c0.6-0.3,1.4-0.6,2.2-0.9 s1.9-0.4,2.9-0.4c1.6,0,3.1,0.3,4.5,0.9c1.4,0.6,2.7,1.5,3.7,2.7c1.1,1.1,1.9,2.5,2.6,4.1c0.6,1.6,0.9,3.3,0.9,5.1 C99.1,66.1,98.8,67.8,98.1,69.3L98.1,69.3z"/></svg>`
|
|
641
|
+
};
|
|
619
642
|
const wrIconFlash = {
|
|
620
643
|
name: 'flash',
|
|
621
644
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M194.82 496a18.36 18.36 0 01-18.1-21.53v-.11L204.83 320H96a16 16 0 01-12.44-26.06L302.73 23a18.45 18.45 0 0132.8 13.71c0 .3-.08.59-.13.89L307.19 192H416a16 16 0 0112.44 26.06L209.24 489a18.45 18.45 0 01-14.42 7z"/></svg>`
|
|
@@ -628,14 +651,14 @@ const wrIconHelp = {
|
|
|
628
651
|
name: 'help',
|
|
629
652
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 64C150 64 64 150 64 256s86 192 192 192 192-86 192-192S362 64 256 64zm-6 304a20 20 0 1120-20 20 20 0 01-20 20zm33.44-102C267.23 276.88 265 286.85 265 296a14 14 0 01-28 0c0-21.91 10.08-39.33 30.82-53.26C287.1 229.8 298 221.6 298 203.57c0-12.26-7-21.57-21.49-28.46-3.41-1.62-11-3.2-20.34-3.09-11.72.15-20.82 2.95-27.83 8.59C215.12 191.25 214 202.83 214 203a14 14 0 11-28-1.35c.11-2.43 1.8-24.32 24.77-42.8 11.91-9.58 27.06-14.56 45-14.78 12.7-.15 24.63 2 32.72 5.82C312.7 161.34 326 180.43 326 203.57c0 33.83-22.61 49.02-42.56 62.43z"/></svg>`
|
|
630
653
|
};
|
|
654
|
+
const wrIconHome = {
|
|
655
|
+
name: 'home',
|
|
656
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M72.1,3.5c-4.6-4.6-12-4.6-16.6,0l-50,48.4c-3.6,3.6-5.4,8.6-4.8,13.6l5.6,49.2c0.8,7.6,7.2,13.2,14.8,13.2h16.4 c4.6,0,8.2-3.6,8.2-8.2v-24c0-5.2,4.2-9.6,9.6-9.6h16.8c5.2,0,9.6,4.2,9.6,9.6v24.2c0,4.6,3.6,8.2,8.2,8.2h16.4 c7.6,0,14-5.8,14.8-13.2l5.6-49.2c0.6-5-1.2-10.2-4.8-13.6L72.1,3.5z"/></svg>`
|
|
657
|
+
};
|
|
631
658
|
const wrIconInfoCircleOutline = {
|
|
632
659
|
name: 'info-circle-outline',
|
|
633
660
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M248 64C146.39 64 64 146.39 64 248s82.39 184 184 184 184-82.39 184-184S349.61 64 248 64z" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M220 220h32v116"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M208 340h88"/><path d="M248 130a26 26 0 1026 26 26 26 0 00-26-26z"/></svg>`
|
|
634
661
|
};
|
|
635
|
-
const wrIconIpa = {
|
|
636
|
-
name: 'ipa',
|
|
637
|
-
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 608 608"><path d="M301.5 273.3c-8.3 0-15.3 2.9-20.9 8.6-5.6 5.8-8.4 13.5-8.4 23.1 0 9.7 2.8 17.4 8.4 23.1 5.6 5.8 12.5 8.6 20.9 8.6 8.3 0 15.3-2.9 20.9-8.6 5.6-5.8 8.4-13.5 8.4-23.1 0-9.7-2.8-17.4-8.4-23.1-5.7-5.7-12.6-8.6-20.9-8.6zM413.2 317.2c-3 1.4-5 3.2-6 5.2s-1.5 4.3-1.5 6.9c0 3.2 1.4 6.1 4.3 8.8 2.9 2.6 6.5 3.9 10.9 3.9 7.6 0 13.8-2.2 18.4-6.7 4.7-4.5 7-10.3 7-17.4v-5.1c-8.6 0-15.6.4-20.9 1.1-5.1.7-9.2 1.9-12.2 3.3z"/><path d="M559.6 48.4C511.3 0 437.2 0 304 0S96.7 0 48.4 48.4C0 96.7 0 170.8 0 304s0 207.3 48.4 255.6C96.7 608 170.8 608 304 608s207.3 0 255.6-48.4C608 511.3 608 437.2 608 304s0-207.3-48.4-255.6zM160.4 359.9c-3.3 3.3-7.2 5-11.6 5-4.4 0-8.3-1.7-11.6-5s-5-7.2-5-11.6c0-4.4 1.7-8.3 5-11.6s7.2-5 11.6-5c4.4 0 8.3 1.7 11.6 5s5 7.2 5 11.6c0 4.5-1.7 8.3-5 11.6zm57.1 3.7h-29.3v-117h29.3v117zm-2.4-137.2c-3.3 3.3-7.2 5-11.6 5-4.4 0-8.3-1.7-11.6-5s-5-7.2-5-11.6c0-4.4 1.7-8.3 5-11.6s7.2-5 11.6-5c4.4 0 8.3 1.7 11.6 5s5 7.2 5 11.6c0 4.4-1.7 8.3-5 11.6zM355.5 329c-3 7.3-7 13.6-12 19-5 5.3-10.8 9.5-17.4 12.5-6.6 3-13.6 4.5-20.9 4.5-4.9 0-9.2-.6-12.8-1.8-3.6-1.2-6.8-2.5-9.5-3.8-3.1-1.7-5.8-3.6-8.1-5.8v50.9h-29.3V246.6h21.6l5.1 11.4c2.5-2.4 5.5-4.5 8.9-6.4 2.9-1.5 6.4-3 10.4-4.3 4.1-1.4 8.6-2 13.7-2 7.3 0 14.2 1.5 20.9 4.5 6.6 3 12.4 7.1 17.4 12.5 5 5.3 9 11.7 12 18.9 3 7.3 4.5 15.3 4.5 23.9 0 8.7-1.5 16.6-4.5 23.9zm120.2 34.6h-21.6l-5.1-11.4c-2.7 2.4-5.7 4.5-8.9 6.4-2.9 1.7-6.4 3.2-10.4 4.5-4.1 1.3-8.6 1.9-13.7 1.9-12.7 0-22.5-3.1-29.2-9.3-6.8-6.2-10.2-14.1-10.2-23.8 0-5.8 1.1-11.1 3.4-15.9 2.3-4.8 6.1-9 11.6-12.5 5.4-3.5 12.6-6.2 21.5-8.1 8.9-1.9 20.1-2.9 33.4-2.9 0-6.4-1.7-11.4-5.2-15-3.5-3.6-8.1-5.3-13.9-5.3-3.9 0-7 .7-9.3 2-2.3 1.4-4.1 2.8-5.5 4.3-1.5 1.9-2.5 4-3.1 6.4h-29.3c.7-5.4 2.2-10.5 4.7-15.3 2.5-4.7 5.8-8.9 10-12.5 4.2-3.6 9.3-6.4 15.1-8.5 5.9-2.1 12.4-3.2 19.7-3.2 6.6 0 12.7 1.1 18.3 3.4 5.6 2.3 10.4 5.5 14.5 9.5s7.2 8.9 9.5 14.5 3.4 11.7 3.4 18.3v72.5z"/></svg>`
|
|
638
|
-
};
|
|
639
662
|
const wrIconLogoAndroid = {
|
|
640
663
|
name: 'logo-android',
|
|
641
664
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M380.91 199l42.47-73.57a8.63 8.63 0 00-3.12-11.76 8.52 8.52 0 00-11.71 3.12l-43 74.52c-32.83-15-69.78-23.35-109.52-23.35s-76.69 8.36-109.52 23.35l-43-74.52a8.6 8.6 0 10-14.88 8.64L131 199C57.8 238.64 8.19 312.77 0 399.55h512c-8.19-86.78-57.8-160.91-131.09-200.55zM138.45 327.65a21.46 21.46 0 1121.46-21.46 21.47 21.47 0 01-21.46 21.46zm235 0A21.46 21.46 0 11395 306.19a21.47 21.47 0 01-21.51 21.46z"/></svg>`
|
|
@@ -648,6 +671,10 @@ const wrIconLogoAppscreener = {
|
|
|
648
671
|
name: 'logo-appscreener',
|
|
649
672
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path d="M24.88 215.29c.09-.06.18-.12.24-.18-.06.06-.15.12-.24.18zM95.44 160c0-.8.09-1.59.12-2.36l-23.91-1.83c-1.06 16.47 3.39 32.53 12.1 45.87l20.52-13.11c-5.56-8.14-8.83-17.97-8.83-28.57zm11.1-31.65-32.3-31.94c-9.48 10.72-16.74 23.73-20.78 38.46-.89 3.28-1.59 6.58-2.15 9.89l44.37 10.18c1-10 4.92-19.15 10.86-26.59zm115.66-21.16 22.35-16.62c-5.28-7.59-16.92-20.96-24.44-26.57l-18.13 21.82c12.1 9.15 16.73 16.44 20.22 21.37z"/><path d="M51.19 76.63c-18.13 19.45-25.06 33.8-30.32 61.14l25.92 5.76c3.22-19.34 11.9-36.69 24.35-50.51L51.19 76.63zm-39.47 71.89c-1.86 30.52 6.26 63.11 21.99 86.73l45.84-30.44c-9.45-14.38-14.26-31.65-13.11-49.42l-54.72-6.87c0-.12 0 .09 0 0zm23.5-106.04 44.4 49.8c14.41-14.52 33.36-23.85 53.7-26.98L125.19 0C90.74 4.37 59.51 19.69 35.22 42.48zm153.09 89.42 29.85-21.17c-5.25-7.59-11.78-14.32-19.28-19.93l-24.15 27.34c5.34 3.66 9.98 8.32 13.58 13.76zm33.89-24.71 22.35-16.62c-5.28-7.59-16.92-20.96-24.44-26.57l-18.13 21.82c12.1 9.15 16.73 16.44 20.22 21.37zm-116.28 83.6L72.8 217.12c4.52 5.23 11.51 12.28 17.06 16.38l23.53-34.83a53.541 53.541 0 0 1-7.47-7.88z"/><path d="m140.93 109.58-6.61-38.44c-19.31 2.98-38.2 12.55-51.78 26.45l25.74 28.78c8.18-9.23 19.66-15.46 32.65-16.79zM69.31 219.84l-17.74 14.91c6.05 7 15.14 15.79 22.64 21.25l13.34-18.18a97.97 97.97 0 0 1-18.24-17.98zm76.96-134.76h-.32c-1.3 0-2.57.09-3.84.15l1.3 24.09c.89-.06 1.8-.03 2.72-.03 9.56 0 18.48 2.69 26.1 7.29l13.79-19.96c-11.53-7.26-25.14-11.51-39.75-11.54zm-.15-5.73c15.56 0 30.05 4.4 42.36 12.04.24.15.5.3.77.44L218 49.97c-18.95-12.31-41.3-19.96-65.51-21.11-4.22-.21-8.41-.18-12.55.03l1.77 50.6c1.49-.08 2.94-.14 4.41-.14z"/></svg>`
|
|
650
673
|
};
|
|
674
|
+
const wrIconLogoGithub = {
|
|
675
|
+
name: 'logo-github',
|
|
676
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><style type="text/css">.st0{fill-rule:evenodd;clip-rule:evenodd;}</style><path class="st0" d="M64,1.6c-35.3,0-64,28.7-64,64c0,28.3,18.3,52.3,43.8,60.7c3.2,0.6,4.4-1.4,4.4-3.1c0-1.5-0.1-5.5-0.1-10.9 c-17.8,3.9-21.6-8.6-21.6-8.6c-2.9-7.4-7.1-9.4-7.1-9.4c-5.8-4,0.4-3.9,0.4-3.9c6.4,0.5,9.8,6.6,9.8,6.6c5.7,9.8,15,7,18.6,5.3 c0.6-4.1,2.2-7,4.1-8.6c-14.2-1.6-29.2-7.1-29.2-31.6c0-7,2.5-12.7,6.6-17.2c-0.7-1.6-2.9-8.1,0.6-16.9c0,0,5.4-1.7,17.6,6.6 c5.1-1.4,10.6-2.1,16-2.2c5.4,0,10.9,0.7,16,2.2c12.2-8.3,17.6-6.6,17.6-6.6c3.5,8.8,1.3,15.3,0.6,16.9c4.1,4.5,6.6,10.2,6.6,17.2 c0,24.6-15,30-29.2,31.6c2.3,2,4.3,5.9,4.3,11.9c0,8.6-0.1,15.5-0.1,17.6c0,1.7,1.2,3.7,4.4,3.1c25.4-8.5,43.7-32.5,43.7-60.7 C128,30.2,99.3,1.6,64,1.6z"/></svg>`
|
|
677
|
+
};
|
|
651
678
|
const wrIconLogoOversecured = {
|
|
652
679
|
name: 'logo-oversecured',
|
|
653
680
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path d="M114.67.34C50.24 7.01 0 61.47 0 127.66c0 70.69 57.31 128 128 128s128-57.31 128-128C256 61.47 205.76 7.01 141.33.34v27.42c49.35 6.52 87.43 48.76 87.43 99.89 0 55.65-45.11 100.77-100.77 100.77-55.65 0-100.77-45.11-100.77-100.77 0-51.13 38.08-93.37 87.43-99.89V.34z"/><path d="M61.21 182.13c25.94 32.13 72.12 41.5 109 20.2 40.81-23.56 54.8-75.75 31.23-116.57S125.7 30.97 84.88 54.53c-36.89 21.3-51.86 65.97-37 104.5l24.28-14.02c-7.54-25.09 2.81-52.98 26.49-66.64 27.65-15.96 63-6.49 78.96 21.16 15.96 27.65 6.49 63-21.16 78.97-23.67 13.67-53 8.69-70.96-10.38l-24.28 14.01z"/><path d="M113.76 87.43c-16.56 5.86-28.43 21.66-28.43 40.23 0 23.56 19.1 42.67 42.67 42.67 23.56 0 42.67-19.1 42.67-42.67 0-18.57-11.86-34.37-28.43-40.23v40.23h-.02c0 7.85-6.37 14.22-14.22 14.22-7.85 0-14.22-6.37-14.22-14.22h-.02V87.43z"/></svg>`
|
|
@@ -676,6 +703,10 @@ const wrIconPlay = {
|
|
|
676
703
|
name: 'play',
|
|
677
704
|
data: `<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.2924 0.571289C2.95753 0.571289 0.250977 3.24726 0.250977 6.54444C0.250977 9.84162 2.95753 12.5176 6.2924 12.5176C9.62726 12.5176 12.3338 9.84162 12.3338 6.54444C12.3338 3.24726 9.62726 0.571289 6.2924 0.571289ZM6.29114 11.3231C3.62688 11.3231 1.45801 9.17874 1.45801 6.54458C1.45801 3.91041 3.62688 1.76605 6.29114 1.76605C8.95541 1.76605 11.1243 3.91041 11.1243 6.54458C11.1243 9.17874 8.95541 11.3231 6.29114 11.3231ZM8.70786 6.54461L5.08301 9.23253V3.85669L8.70786 6.54461Z"/></svg>`
|
|
678
705
|
};
|
|
706
|
+
const wrIconPlusCircle = {
|
|
707
|
+
name: 'plus-circle',
|
|
708
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M64,0C28.7,0,0,28.7,0,64c0,35.3,28.7,64,64,64s64-28.7,64-64C128,28.7,99.3,0,64,0z M100.5,68.3c0,1.3-1,2.3-2.3,2.3H70.5 v27.7c0,1.3-1,2.3-2.3,2.3h-8.5c-1.3,0-2.3-1-2.3-2.3V70.5H29.7c-1.3,0-2.3-1-2.3-2.3v-8.5c0-1.3,1-2.3,2.3-2.3h27.7V29.7 c0-1.3,1-2.3,2.3-2.3h8.5c1.3,0,2.3,1,2.3,2.3v27.7h27.7c1.3,0,2.3,1,2.3,2.3V68.3z"/></svg>`
|
|
709
|
+
};
|
|
679
710
|
const wrIconReader = {
|
|
680
711
|
name: 'reader',
|
|
681
712
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><rect x="96" y="48" width="320" height="416" rx="48" ry="48" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="32"/><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M176 128h160M176 208h160M176 288h80"/></svg>`
|
|
@@ -686,7 +717,7 @@ const wrIconRepeat = {
|
|
|
686
717
|
};
|
|
687
718
|
const wrIconSearch = {
|
|
688
719
|
name: 'search',
|
|
689
|
-
data:
|
|
720
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M123.5,100.9l-21.1-21.1c3.8-7.7,6.4-16.6,6.4-25.5c0-30-24.3-54.3-54.3-54.3S0.2,24.3,0.2,54.3s24.3,54.3,54.3,54.3 c8.9,0,17.9-2.6,25.5-6.4l21.1,21.1c6.4,6.4,16,6.4,22.3,0C129.2,116.8,129.2,107.3,123.5,100.9L123.5,100.9z M54.5,95.8 c-23,0-41.5-18.5-41.5-41.5s18.5-41.5,41.5-41.5S96,31.3,96,54.3S77.5,95.8,54.5,95.8z"/></svg>`
|
|
690
721
|
};
|
|
691
722
|
const wrIconStopCircle = {
|
|
692
723
|
name: 'stop-circle',
|
|
@@ -700,24 +731,31 @@ const wrIconTrash = {
|
|
|
700
731
|
name: 'trash',
|
|
701
732
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M112 112l20 320c.95 18.49 14.4 32 32 32h184c17.67 0 30.87-13.51 32-32l20-320" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="32" d="M80 112h352"/><path d="M192 112V72h0a23.93 23.93 0 0124-24h80a23.93 23.93 0 0124 24h0v40M256 176v224M184 176l8 224M328 176l-8 224" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/></svg>`
|
|
702
733
|
};
|
|
734
|
+
const wrIconUserCircle = {
|
|
735
|
+
name: 'user-circle',
|
|
736
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M64,0C28.6,0,0,28.6,0,64s28.6,64,64,64s64-28.6,64-64S99.4,0,64,0z M64,20c10.4,0,19,8.6,19,19s-8.6,19-19,19 s-19-8.6-19-19S53.6,20,64,20z M64,106c-26,0-38-10-38-20s6.6-20,38-20s38,10,38,20S90,106,64,106z"/></svg>`
|
|
737
|
+
};
|
|
703
738
|
const wrIconUser = {
|
|
704
739
|
name: 'user',
|
|
705
|
-
data:
|
|
740
|
+
data: `<?xml version="1.0" encoding="utf-8"?><!--Generator: Adobe Illustrator 26.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)--><svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 128 128" style="enable-background:new 0 0 128 128" xml:space="preserve"><path d="M64,0c15.5,0,28.3,12.8,28.3,28.3S79.5,56.6,64,56.6S35.7,43.8,35.7,28.3S48.5,0,64,0z M64,128c-38.7,0-56.6-14.9-56.6-29.8 S17.3,68.5,64,68.5s56.6,14.9,56.6,29.8S102.7,128,64,128z"/></svg>`
|
|
706
741
|
};
|
|
707
742
|
const wrIconWarning = {
|
|
708
743
|
name: 'warning',
|
|
709
744
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0080 446.25h340.89a32 32 0 0028.18-47.17zm-198.6-1.83a20 20 0 1120-20 20 20 0 01-20 20zm21.72-201.15l-5.74 122a16 16 0 01-32 0l-5.74-121.95a21.73 21.73 0 0121.5-22.69h.21a21.74 21.74 0 0121.73 22.7z"/></svg>`
|
|
710
745
|
};
|
|
711
|
-
const wrIconZip = {
|
|
712
|
-
name: 'zip',
|
|
713
|
-
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 608 608"><path d="M411.1 272.6c-8.5 0-15.5 2.9-21.2 8.8-5.7 5.9-8.5 13.7-8.5 23.5s2.8 17.7 8.5 23.5c5.7 5.9 12.8 8.8 21.2 8.8 8.4 0 15.5-2.9 21.2-8.8 5.7-5.9 8.5-13.7 8.5-23.5s-2.8-17.7-8.5-23.5c-5.7-5.8-12.8-8.8-21.2-8.8z"/><path d="M559.6 48.4C511.3 0 437.2 0 304 0S96.7 0 48.4 48.4C0 96.7 0 170.8 0 304s0 207.3 48.4 255.6C96.7 608 170.8 608 304 608s207.3 0 255.6-48.4C608 511.3 608 437.2 608 304s0-207.3-48.4-255.6zM166 360.7c-3.4 3.4-7.3 5-11.8 5-4.5 0-8.4-1.7-11.8-5-3.4-3.4-5-7.3-5-11.8 0-4.5 1.7-8.4 5-11.8s7.3-5 11.8-5c4.5 0 8.4 1.7 11.8 5s5 7.3 5 11.8c0 4.5-1.6 8.5-5 11.8zm114.6 3.8h-91.9v-24.6l51.7-66h-51.7v-28.5H278V270l-51.7 66h54.3v28.5zm48.6 0h-29.8v-119h29.8v119zm-2.5-139.6c-3.4 3.4-7.3 5-11.8 5-4.5 0-8.4-1.7-11.8-5s-5-7.3-5-11.8c0-4.5 1.7-8.4 5-11.8s7.3-5 11.8-5c4.5 0 8.4 1.7 11.8 5s5 7.3 5 11.8c.1 4.5-1.6 8.4-5 11.8zm139.4 104.4c-3 7.4-7.1 13.8-12.2 19.3-5.1 5.4-11 9.7-17.7 12.7-6.7 3-13.8 4.5-21.2 4.5-5 0-9.4-.6-13.1-1.8-3.7-1.2-6.9-2.5-9.7-3.9-3.1-1.7-5.9-3.7-8.3-6v51.7h-29.8V245.4h22l5.2 11.6c2.6-2.4 5.6-4.6 9.1-6.5 2.9-1.6 6.5-3 10.6-4.4 4.1-1.4 8.8-2.1 14-2.1 7.4 0 14.5 1.5 21.2 4.5 6.7 3 12.6 7.2 17.7 12.7 5.1 5.4 9.1 11.9 12.2 19.3 3 7.4 4.5 15.5 4.5 24.3 0 9-1.5 17.1-4.5 24.5z"/></svg>`
|
|
714
|
-
};
|
|
715
746
|
const wrIconSet = [
|
|
716
|
-
|
|
717
|
-
|
|
747
|
+
wrIconAlertCircle,
|
|
748
|
+
wrIconAlertSquircle,
|
|
718
749
|
wrIconAlert,
|
|
719
|
-
|
|
750
|
+
wrIconArrowBackCircle,
|
|
720
751
|
wrIconArrowBack,
|
|
752
|
+
wrIconArrowBottomCircle,
|
|
753
|
+
wrIconArrowBottom,
|
|
754
|
+
wrIconArrowForwardCircle,
|
|
755
|
+
wrIconArrowForward,
|
|
756
|
+
wrIconArrowTopCircle,
|
|
757
|
+
wrIconArrowTop,
|
|
758
|
+
wrIconBugOutline,
|
|
721
759
|
wrIconBug,
|
|
722
760
|
wrIconCaretBack,
|
|
723
761
|
wrIconCaretForward,
|
|
@@ -727,20 +765,26 @@ const wrIconSet = [
|
|
|
727
765
|
wrIconClock,
|
|
728
766
|
wrIconCloseCircle,
|
|
729
767
|
wrIconCopy,
|
|
768
|
+
wrIconDiscover,
|
|
730
769
|
wrIconDocument,
|
|
731
770
|
wrIconDotsHorizontal,
|
|
732
771
|
wrIconDotsVertical,
|
|
733
772
|
wrIconDownload,
|
|
734
773
|
wrIconEyeOff,
|
|
735
774
|
wrIconEye,
|
|
775
|
+
wrIconFileAab,
|
|
776
|
+
wrIconFileApk,
|
|
777
|
+
wrIconFileIpa,
|
|
778
|
+
wrIconFileZip,
|
|
736
779
|
wrIconFlash,
|
|
737
780
|
wrIconFolder,
|
|
738
781
|
wrIconHelp,
|
|
782
|
+
wrIconHome,
|
|
739
783
|
wrIconInfoCircleOutline,
|
|
740
|
-
wrIconIpa,
|
|
741
784
|
wrIconLogoAndroid,
|
|
742
785
|
wrIconLogoApple,
|
|
743
786
|
wrIconLogoAppscreener,
|
|
787
|
+
wrIconLogoGithub,
|
|
744
788
|
wrIconLogoOversecured,
|
|
745
789
|
wrIconLogoStingray,
|
|
746
790
|
wrIconModules,
|
|
@@ -748,15 +792,16 @@ const wrIconSet = [
|
|
|
748
792
|
wrIconPlayCircle,
|
|
749
793
|
wrIconPlayForward,
|
|
750
794
|
wrIconPlay,
|
|
795
|
+
wrIconPlusCircle,
|
|
751
796
|
wrIconReader,
|
|
752
797
|
wrIconRepeat,
|
|
753
798
|
wrIconSearch,
|
|
754
799
|
wrIconStopCircle,
|
|
755
800
|
wrIconStop,
|
|
756
801
|
wrIconTrash,
|
|
802
|
+
wrIconUserCircle,
|
|
757
803
|
wrIconUser,
|
|
758
|
-
wrIconWarning
|
|
759
|
-
wrIconZip
|
|
804
|
+
wrIconWarning
|
|
760
805
|
];
|
|
761
806
|
|
|
762
807
|
class WrIconService {
|
|
@@ -850,10 +895,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
850
895
|
}]
|
|
851
896
|
}] });
|
|
852
897
|
|
|
853
|
-
class
|
|
898
|
+
class WrPasswordInputComponent {
|
|
854
899
|
constructor(ngControl) {
|
|
855
900
|
this.ngControl = ngControl;
|
|
856
|
-
this.class =
|
|
901
|
+
this.class = `${stylePrefix}-password-input`;
|
|
857
902
|
this.type = 'password';
|
|
858
903
|
this.disabled = false;
|
|
859
904
|
this.value = null;
|
|
@@ -866,7 +911,7 @@ class WalrusPasswordInputComponent {
|
|
|
866
911
|
}
|
|
867
912
|
onVisibilityClick($event) {
|
|
868
913
|
$event.stopPropagation();
|
|
869
|
-
this.type === 'password' ? this.type = 'input' : this.type = 'password';
|
|
914
|
+
this.type === 'password' ? (this.type = 'input') : (this.type = 'password');
|
|
870
915
|
}
|
|
871
916
|
onInput($event) {
|
|
872
917
|
this.value = $event.currentTarget.value;
|
|
@@ -887,136 +932,103 @@ class WalrusPasswordInputComponent {
|
|
|
887
932
|
this.value = obj;
|
|
888
933
|
}
|
|
889
934
|
}
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
935
|
+
WrPasswordInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrPasswordInputComponent, deps: [{ token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
936
|
+
WrPasswordInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", 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: WrInputDirective, selector: "wr-input, input[wr-input], textarea[wr-input]", inputs: ["disabled"] }, { kind: "component", type: WrIconComponent, selector: "wr-icon[name]", inputs: ["name"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrPasswordInputComponent, decorators: [{
|
|
893
938
|
type: Component,
|
|
894
|
-
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
|
|
939
|
+
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" }]
|
|
895
940
|
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
|
896
941
|
type: Optional
|
|
897
942
|
}, {
|
|
898
943
|
type: Self
|
|
899
944
|
}] }]; }, propDecorators: { class: [{
|
|
900
|
-
type: HostBinding
|
|
945
|
+
type: HostBinding,
|
|
946
|
+
args: ['class']
|
|
901
947
|
}] } });
|
|
902
948
|
|
|
903
|
-
class
|
|
949
|
+
class WrPasswordInputModule {
|
|
904
950
|
}
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
WrIconModule], exports: [WalrusPasswordInputComponent] });
|
|
910
|
-
WalrusPasswordInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusPasswordInputModule, imports: [CommonModule,
|
|
911
|
-
PlatformModule,
|
|
912
|
-
WalrusInputModule,
|
|
913
|
-
WrIconModule] });
|
|
914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusPasswordInputModule, decorators: [{
|
|
951
|
+
WrPasswordInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrPasswordInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
952
|
+
WrPasswordInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrPasswordInputModule, declarations: [WrPasswordInputComponent], imports: [CommonModule, PlatformModule, WrInputModule, WrIconModule], exports: [WrPasswordInputComponent] });
|
|
953
|
+
WrPasswordInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrPasswordInputModule, imports: [CommonModule, PlatformModule, WrInputModule, WrIconModule] });
|
|
954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrPasswordInputModule, decorators: [{
|
|
915
955
|
type: NgModule,
|
|
916
956
|
args: [{
|
|
917
|
-
imports: [
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
WalrusInputModule,
|
|
921
|
-
WrIconModule
|
|
922
|
-
],
|
|
923
|
-
declarations: [
|
|
924
|
-
WalrusPasswordInputComponent,
|
|
925
|
-
],
|
|
926
|
-
exports: [
|
|
927
|
-
WalrusPasswordInputComponent,
|
|
928
|
-
]
|
|
957
|
+
imports: [CommonModule, PlatformModule, WrInputModule, WrIconModule],
|
|
958
|
+
declarations: [WrPasswordInputComponent],
|
|
959
|
+
exports: [WrPasswordInputComponent]
|
|
929
960
|
}]
|
|
930
961
|
}] });
|
|
931
962
|
|
|
932
|
-
class
|
|
933
|
-
constructor(
|
|
934
|
-
this.
|
|
963
|
+
class WrSkeletonComponent {
|
|
964
|
+
constructor(elRef) {
|
|
965
|
+
this.elRef = elRef;
|
|
935
966
|
this.color = 'dark';
|
|
936
|
-
this.
|
|
937
|
-
this.destroy$ = new Subject();
|
|
967
|
+
this.class = `${stylePrefix}-skeleton`;
|
|
938
968
|
}
|
|
939
969
|
ngAfterViewInit() {
|
|
940
|
-
const style = this.color === 'light' ?
|
|
941
|
-
this.
|
|
942
|
-
}
|
|
943
|
-
ngOnDestroy() {
|
|
944
|
-
this.destroy$.next();
|
|
945
|
-
this.destroy$.complete();
|
|
970
|
+
const style = this.color === 'light' ? `var(--${stylePrefix}-color-white-rgb)` : `var(--${stylePrefix}-color-dark-rgb)`;
|
|
971
|
+
this.elRef.nativeElement.style.setProperty('--skeleton-style', style);
|
|
946
972
|
}
|
|
947
973
|
}
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
974
|
+
WrSkeletonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSkeletonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
975
|
+
WrSkeletonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: WrSkeletonComponent, selector: "wr-skeleton", inputs: { color: "color" }, host: { properties: { "class": "this.class" } }, ngImport: i0, template: '<span> </span>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSkeletonComponent, decorators: [{
|
|
951
977
|
type: Component,
|
|
952
978
|
args: [{
|
|
953
979
|
selector: 'wr-skeleton',
|
|
954
|
-
exportAs: 'wrSkeleton',
|
|
955
|
-
preserveWhitespaces: false,
|
|
956
980
|
template: '<span> </span>',
|
|
957
981
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
958
982
|
encapsulation: ViewEncapsulation.None
|
|
959
983
|
}]
|
|
960
984
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { color: [{
|
|
961
985
|
type: Input
|
|
962
|
-
}],
|
|
986
|
+
}], class: [{
|
|
963
987
|
type: HostBinding,
|
|
964
988
|
args: ['class']
|
|
965
989
|
}] } });
|
|
966
990
|
|
|
967
|
-
class
|
|
991
|
+
class WrSkeletonModule {
|
|
968
992
|
}
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
993
|
+
WrSkeletonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
994
|
+
WrSkeletonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrSkeletonModule, declarations: [WrSkeletonComponent], imports: [CommonModule, WrSpinnerModule], exports: [WrSkeletonComponent] });
|
|
995
|
+
WrSkeletonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSkeletonModule, imports: [CommonModule, WrSpinnerModule] });
|
|
996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSkeletonModule, decorators: [{
|
|
973
997
|
type: NgModule,
|
|
974
998
|
args: [{
|
|
975
|
-
imports: [CommonModule,
|
|
976
|
-
declarations: [
|
|
977
|
-
exports: [
|
|
999
|
+
imports: [CommonModule, WrSpinnerModule],
|
|
1000
|
+
declarations: [WrSkeletonComponent],
|
|
1001
|
+
exports: [WrSkeletonComponent]
|
|
978
1002
|
}]
|
|
979
1003
|
}] });
|
|
980
1004
|
|
|
981
|
-
class
|
|
982
|
-
constructor(
|
|
983
|
-
this.
|
|
1005
|
+
class WrTagComponent {
|
|
1006
|
+
constructor(cdr, elRef, r2) {
|
|
1007
|
+
this.cdr = cdr;
|
|
1008
|
+
this.elRef = elRef;
|
|
984
1009
|
this.r2 = r2;
|
|
985
|
-
|
|
986
|
-
this.color = 'default';
|
|
987
|
-
// Is tag transparent
|
|
1010
|
+
this.color = 'primary';
|
|
988
1011
|
this.transparent = false;
|
|
989
1012
|
this.loading = false;
|
|
990
|
-
|
|
991
|
-
this.
|
|
992
|
-
// Is tag outlined
|
|
993
|
-
this.round = false;
|
|
994
|
-
// Is tag hoverable
|
|
1013
|
+
this.outlined = false;
|
|
1014
|
+
this.rounded = false;
|
|
995
1015
|
this.hoverable = false;
|
|
996
|
-
this.
|
|
1016
|
+
this.baseClass = `${stylePrefix}-tag`;
|
|
997
1017
|
}
|
|
998
1018
|
ngOnInit() {
|
|
999
1019
|
this.setClasses();
|
|
1000
1020
|
}
|
|
1001
|
-
ngOnDestroy() {
|
|
1002
|
-
this.destroy$.next();
|
|
1003
|
-
this.destroy$.complete();
|
|
1004
|
-
}
|
|
1005
1021
|
ngOnChanges(changes) {
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
}
|
|
1022
|
+
this.setClasses();
|
|
1023
|
+
this.cdr.detectChanges();
|
|
1009
1024
|
}
|
|
1010
1025
|
setClasses() {
|
|
1011
|
-
const
|
|
1012
|
-
const
|
|
1013
|
-
|
|
1014
|
-
const rm = (klass) => this.r2.removeClass(el, `${baseClass}-${klass}`);
|
|
1015
|
-
el.classList = [];
|
|
1016
|
-
this.r2.addClass(el, baseClass);
|
|
1026
|
+
const el = this.elRef.nativeElement;
|
|
1027
|
+
const add = (klass) => this.r2.addClass(el, `${this.baseClass}-${klass}`);
|
|
1028
|
+
this.r2.addClass(el, this.baseClass);
|
|
1017
1029
|
add(this.color);
|
|
1018
|
-
if (this.
|
|
1019
|
-
add(`-
|
|
1030
|
+
if (this.rounded) {
|
|
1031
|
+
add(`-rounded`);
|
|
1020
1032
|
}
|
|
1021
1033
|
if (this.transparent) {
|
|
1022
1034
|
add(`-transparent`);
|
|
@@ -1024,63 +1036,61 @@ class WalrusTagComponent {
|
|
|
1024
1036
|
if (this.hoverable) {
|
|
1025
1037
|
add(`-hoverable`);
|
|
1026
1038
|
}
|
|
1027
|
-
if (this.
|
|
1028
|
-
add(`-
|
|
1039
|
+
if (this.outlined) {
|
|
1040
|
+
add(`-outlined`);
|
|
1029
1041
|
}
|
|
1030
1042
|
}
|
|
1031
1043
|
}
|
|
1032
|
-
|
|
1033
|
-
|
|
1044
|
+
WrTagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrTagComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1045
|
+
WrTagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: WrTagComponent, selector: "wr-tag", inputs: { color: "color", transparent: "transparent", loading: "loading", outlined: "outlined", rounded: "rounded", hoverable: "hoverable" }, usesOnChanges: true, ngImport: i0, template: '<wr-spin *ngIf="loading"></wr-spin><ng-content></ng-content>', isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: WrSpinnerComponent, selector: "wr-spin" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
1034
1046
|
__decorate([
|
|
1035
1047
|
InputBoolean()
|
|
1036
|
-
],
|
|
1048
|
+
], WrTagComponent.prototype, "transparent", void 0);
|
|
1037
1049
|
__decorate([
|
|
1038
1050
|
InputBoolean()
|
|
1039
|
-
],
|
|
1051
|
+
], WrTagComponent.prototype, "loading", void 0);
|
|
1040
1052
|
__decorate([
|
|
1041
1053
|
InputBoolean()
|
|
1042
|
-
],
|
|
1054
|
+
], WrTagComponent.prototype, "outlined", void 0);
|
|
1043
1055
|
__decorate([
|
|
1044
1056
|
InputBoolean()
|
|
1045
|
-
],
|
|
1057
|
+
], WrTagComponent.prototype, "rounded", void 0);
|
|
1046
1058
|
__decorate([
|
|
1047
1059
|
InputBoolean()
|
|
1048
|
-
],
|
|
1049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
1060
|
+
], WrTagComponent.prototype, "hoverable", void 0);
|
|
1061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrTagComponent, decorators: [{
|
|
1050
1062
|
type: Component,
|
|
1051
1063
|
args: [{
|
|
1052
1064
|
selector: 'wr-tag',
|
|
1053
|
-
exportAs: 'wrTag',
|
|
1054
|
-
preserveWhitespaces: false,
|
|
1055
1065
|
template: '<wr-spin *ngIf="loading"></wr-spin><ng-content></ng-content>',
|
|
1056
1066
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1057
1067
|
encapsulation: ViewEncapsulation.None
|
|
1058
1068
|
}]
|
|
1059
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { color: [{
|
|
1069
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { color: [{
|
|
1060
1070
|
type: Input
|
|
1061
1071
|
}], transparent: [{
|
|
1062
1072
|
type: Input
|
|
1063
1073
|
}], loading: [{
|
|
1064
1074
|
type: Input
|
|
1065
|
-
}],
|
|
1075
|
+
}], outlined: [{
|
|
1066
1076
|
type: Input
|
|
1067
|
-
}],
|
|
1077
|
+
}], rounded: [{
|
|
1068
1078
|
type: Input
|
|
1069
1079
|
}], hoverable: [{
|
|
1070
1080
|
type: Input
|
|
1071
1081
|
}] } });
|
|
1072
1082
|
|
|
1073
|
-
class
|
|
1083
|
+
class WrTagModule {
|
|
1074
1084
|
}
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
1085
|
+
WrTagModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrTagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1086
|
+
WrTagModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrTagModule, declarations: [WrTagComponent], imports: [CommonModule, WrSpinnerModule], exports: [WrTagComponent] });
|
|
1087
|
+
WrTagModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrTagModule, imports: [CommonModule, WrSpinnerModule] });
|
|
1088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrTagModule, decorators: [{
|
|
1079
1089
|
type: NgModule,
|
|
1080
1090
|
args: [{
|
|
1081
|
-
imports: [CommonModule,
|
|
1082
|
-
declarations: [
|
|
1083
|
-
exports: [
|
|
1091
|
+
imports: [CommonModule, WrSpinnerModule],
|
|
1092
|
+
declarations: [WrTagComponent],
|
|
1093
|
+
exports: [WrTagComponent]
|
|
1084
1094
|
}]
|
|
1085
1095
|
}] });
|
|
1086
1096
|
|
|
@@ -1088,5 +1098,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1088
1098
|
* Generated bundle index. Do not edit.
|
|
1089
1099
|
*/
|
|
1090
1100
|
|
|
1091
|
-
export {
|
|
1101
|
+
export { WrButtonComponent, WrButtonModule, WrDividerComponent, WrDividerModule, WrExtendedInputComponent, WrExtendedInputModule, WrFormErrorComponent, WrFormItemComponent, WrFormModule, WrIconComponent, WrIconModule, WrIconService, WrInputDirective, WrInputModule, WrPasswordInputComponent, WrPasswordInputModule, WrSkeletonComponent, WrSkeletonModule, WrSpinnerComponent, WrSpinnerModule, WrTagComponent, WrTagModule, wrIconAlert, wrIconAlertCircle, wrIconAlertSquircle, wrIconArrowBack, wrIconArrowBackCircle, wrIconArrowBottom, wrIconArrowBottomCircle, wrIconArrowForward, wrIconArrowForwardCircle, wrIconArrowTop, wrIconArrowTopCircle, wrIconBug, wrIconBugOutline, wrIconCaretBack, wrIconCaretForward, wrIconCheckmarkCircle, wrIconChevronDown, wrIconChevronUp, wrIconClock, wrIconCloseCircle, wrIconCopy, wrIconDiscover, wrIconDocument, wrIconDotsHorizontal, wrIconDotsVertical, wrIconDownload, wrIconEye, wrIconEyeOff, wrIconFileAab, wrIconFileApk, wrIconFileIpa, wrIconFileZip, wrIconFlash, wrIconFolder, wrIconHelp, wrIconHome, wrIconInfoCircleOutline, wrIconLogoAndroid, wrIconLogoApple, wrIconLogoAppscreener, wrIconLogoGithub, wrIconLogoOversecured, wrIconLogoStingray, wrIconModules, wrIconPlay, wrIconPlayBack, wrIconPlayCircle, wrIconPlayForward, wrIconPlusCircle, wrIconReader, wrIconRepeat, wrIconSearch, wrIconSet, wrIconStop, wrIconStopCircle, wrIconTrash, wrIconUser, wrIconUserCircle, wrIconWarning };
|
|
1092
1102
|
//# sourceMappingURL=ngwr.mjs.map
|