ngwr 0.0.6 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -16
- package/_core/constants/style-prefix.d.ts +1 -1
- package/_core/index.d.ts +1 -0
- package/_core/types/safe-any.d.ts +1 -0
- package/_core/util/convert.d.ts +2 -1
- package/button/button.component.d.ts +1 -1
- package/esm2020/_core/components/base.component.mjs +1 -1
- package/esm2020/_core/constants/style-prefix.mjs +1 -1
- package/esm2020/_core/index.mjs +2 -1
- package/esm2020/_core/types/safe-any.mjs +2 -0
- package/esm2020/_core/util/convert.mjs +3 -2
- package/esm2020/button/button.component.mjs +1 -1
- package/esm2020/button/button.module.mjs +3 -3
- package/esm2020/divider/divider.component.mjs +1 -1
- package/esm2020/divider/divider.module.mjs +1 -1
- package/esm2020/extended-input/extended-input.component.mjs +3 -3
- package/esm2020/extended-input/extended-input.module.mjs +6 -14
- package/esm2020/form/form-error.component.mjs +1 -1
- package/esm2020/form/form-item.component.mjs +1 -1
- package/esm2020/form/form.module.mjs +5 -13
- 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 +54 -4
- package/esm2020/input/input.directive.mjs +7 -3
- package/esm2020/input/input.module.mjs +5 -5
- package/esm2020/password-input/password-input.component.mjs +4 -4
- package/esm2020/password-input/password-input.module.mjs +11 -26
- package/esm2020/skeleton/skeleton.component.mjs +2 -2
- package/esm2020/skeleton/skeleton.module.mjs +7 -7
- package/esm2020/spinner/spinner.component.mjs +1 -1
- package/esm2020/spinner/spinner.module.mjs +1 -1
- package/esm2020/tag/tag.component.mjs +2 -2
- package/esm2020/tag/tag.module.mjs +2 -2
- package/extended-input/extended-input.component.d.ts +6 -5
- package/fesm2015/ngwr.mjs +111 -88
- package/fesm2015/ngwr.mjs.map +1 -1
- package/fesm2020/ngwr.mjs +111 -88
- package/fesm2020/ngwr.mjs.map +1 -1
- package/icon/wr-icon.component.d.ts +2 -1
- package/icon/wr-icons.d.ts +71 -1
- package/logo.svg +1 -1
- package/ngwr.min.css +8 -0
- package/package.json +1 -1
- package/password-input/password-input.component.d.ts +7 -6
- package/password-input/password-input.module.d.ts +4 -4
- package/skeleton/skeleton.module.d.ts +4 -4
- package/tag/tag.component.d.ts +2 -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 -164
- 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/styles.css +0 -4
package/fesm2015/ngwr.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, NgModule, Input, Optional, Self, Injectable, Inject } from '@angular/core';
|
|
3
1
|
import * as i2 from '@angular/common';
|
|
4
2
|
import { CommonModule, DOCUMENT } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { Directive, Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, NgModule, Input, Optional, Self, Injectable, Inject } from '@angular/core';
|
|
5
5
|
import { Subject, fromEvent } from 'rxjs';
|
|
6
6
|
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
7
7
|
import { __decorate } from 'tslib';
|
|
@@ -34,9 +34,10 @@ const stylePrefix = 'wr';
|
|
|
34
34
|
function toBoolean(value) {
|
|
35
35
|
return coerceBooleanProperty(value);
|
|
36
36
|
}
|
|
37
|
+
// eslint-disable
|
|
37
38
|
function propDecoratorFactory(name, fallback) {
|
|
38
39
|
function propDecorator(target, propName, originalDescriptor) {
|
|
39
|
-
const privatePropName = `$$
|
|
40
|
+
const privatePropName = `$$__wrPropDecorator__${propName}`;
|
|
40
41
|
if (Object.prototype.hasOwnProperty.call(target, privatePropName)) {
|
|
41
42
|
console.warn(`The prop "${privatePropName}" is already exist, it will be overrided by ${name} decorator.`);
|
|
42
43
|
}
|
|
@@ -251,7 +252,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
251
252
|
args: [{
|
|
252
253
|
imports: [CommonModule, WrSpinnerModule],
|
|
253
254
|
declarations: [WrButtonComponent],
|
|
254
|
-
exports: [WrButtonComponent]
|
|
255
|
+
exports: [WrButtonComponent]
|
|
255
256
|
}]
|
|
256
257
|
}] });
|
|
257
258
|
|
|
@@ -320,10 +321,13 @@ class WrInputDirective extends BaseComponent {
|
|
|
320
321
|
}
|
|
321
322
|
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
323
|
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 });
|
|
324
|
+
__decorate([
|
|
325
|
+
InputBoolean()
|
|
326
|
+
], WrInputDirective.prototype, "disabled", null);
|
|
323
327
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrInputDirective, decorators: [{
|
|
324
328
|
type: Directive,
|
|
325
329
|
args: [{
|
|
326
|
-
selector: 'wr-input, input[wr-input], textarea[wr-input]'
|
|
330
|
+
selector: 'wr-input, input[wr-input], textarea[wr-input]'
|
|
327
331
|
}]
|
|
328
332
|
}], ctorParameters: function () {
|
|
329
333
|
return [{ type: i1.NgControl, decorators: [{
|
|
@@ -353,8 +357,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
353
357
|
type: NgModule,
|
|
354
358
|
args: [{
|
|
355
359
|
imports: [CommonModule, PlatformModule],
|
|
356
|
-
declarations: [WrInputDirective
|
|
357
|
-
exports: [WrInputDirective
|
|
360
|
+
declarations: [WrInputDirective],
|
|
361
|
+
exports: [WrInputDirective]
|
|
358
362
|
}]
|
|
359
363
|
}] });
|
|
360
364
|
|
|
@@ -403,10 +407,10 @@ class WrExtendedInputComponent {
|
|
|
403
407
|
}
|
|
404
408
|
}
|
|
405
409
|
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 });
|
|
406
|
-
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\"
|
|
410
|
+
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 });
|
|
407
411
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputComponent, decorators: [{
|
|
408
412
|
type: Component,
|
|
409
|
-
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\"
|
|
413
|
+
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" }]
|
|
410
414
|
}], ctorParameters: function () {
|
|
411
415
|
return [{ type: i1.NgControl, decorators: [{
|
|
412
416
|
type: Optional
|
|
@@ -425,25 +429,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
425
429
|
class WrExtendedInputModule {
|
|
426
430
|
}
|
|
427
431
|
WrExtendedInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
428
|
-
WrExtendedInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputModule, declarations: [WrExtendedInputComponent], imports: [CommonModule,
|
|
429
|
-
|
|
430
|
-
WrInputModule], exports: [WrExtendedInputComponent] });
|
|
431
|
-
WrExtendedInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputModule, imports: [CommonModule,
|
|
432
|
-
PlatformModule,
|
|
433
|
-
WrInputModule] });
|
|
432
|
+
WrExtendedInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputModule, declarations: [WrExtendedInputComponent], imports: [CommonModule, PlatformModule, WrInputModule], exports: [WrExtendedInputComponent] });
|
|
433
|
+
WrExtendedInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputModule, imports: [CommonModule, PlatformModule, WrInputModule] });
|
|
434
434
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrExtendedInputModule, decorators: [{
|
|
435
435
|
type: NgModule,
|
|
436
436
|
args: [{
|
|
437
|
-
imports: [
|
|
438
|
-
CommonModule,
|
|
439
|
-
PlatformModule,
|
|
440
|
-
WrInputModule,
|
|
441
|
-
],
|
|
437
|
+
imports: [CommonModule, PlatformModule, WrInputModule],
|
|
442
438
|
declarations: [WrExtendedInputComponent],
|
|
443
439
|
exports: [WrExtendedInputComponent]
|
|
444
440
|
}]
|
|
445
441
|
}] });
|
|
446
442
|
|
|
443
|
+
class WrFormErrorComponent {
|
|
444
|
+
constructor() {
|
|
445
|
+
this.class = `${stylePrefix}-form-error`;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
WrFormErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
449
|
+
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 });
|
|
450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormErrorComponent, decorators: [{
|
|
451
|
+
type: Component,
|
|
452
|
+
args: [{
|
|
453
|
+
selector: 'wr-form-error',
|
|
454
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
455
|
+
encapsulation: ViewEncapsulation.None,
|
|
456
|
+
template: `<ng-content></ng-content>`
|
|
457
|
+
}]
|
|
458
|
+
}], propDecorators: { class: [{
|
|
459
|
+
type: HostBinding,
|
|
460
|
+
args: ['class']
|
|
461
|
+
}] } });
|
|
462
|
+
|
|
447
463
|
class WrFormItemComponent {
|
|
448
464
|
constructor(cdr, elRef, r2) {
|
|
449
465
|
this.cdr = cdr;
|
|
@@ -489,60 +505,72 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
489
505
|
type: Input
|
|
490
506
|
}] } });
|
|
491
507
|
|
|
492
|
-
class WrFormErrorComponent {
|
|
493
|
-
constructor() {
|
|
494
|
-
this.class = `${stylePrefix}-form-error`;
|
|
495
|
-
}
|
|
496
|
-
}
|
|
497
|
-
WrFormErrorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
498
|
-
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 });
|
|
499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormErrorComponent, decorators: [{
|
|
500
|
-
type: Component,
|
|
501
|
-
args: [{
|
|
502
|
-
selector: 'wr-form-error',
|
|
503
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
504
|
-
encapsulation: ViewEncapsulation.None,
|
|
505
|
-
template: `<ng-content></ng-content>`
|
|
506
|
-
}]
|
|
507
|
-
}], propDecorators: { class: [{
|
|
508
|
-
type: HostBinding,
|
|
509
|
-
args: ['class']
|
|
510
|
-
}] } });
|
|
511
|
-
|
|
512
508
|
class WrFormModule {
|
|
513
509
|
}
|
|
514
510
|
WrFormModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
515
|
-
WrFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrFormModule, declarations: [WrFormItemComponent,
|
|
516
|
-
WrFormErrorComponent], imports: [CommonModule], exports: [WrFormItemComponent,
|
|
517
|
-
WrFormErrorComponent] });
|
|
511
|
+
WrFormModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrFormModule, declarations: [WrFormItemComponent, WrFormErrorComponent], imports: [CommonModule], exports: [WrFormItemComponent, WrFormErrorComponent] });
|
|
518
512
|
WrFormModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormModule, imports: [CommonModule] });
|
|
519
513
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrFormModule, decorators: [{
|
|
520
514
|
type: NgModule,
|
|
521
515
|
args: [{
|
|
522
516
|
imports: [CommonModule],
|
|
523
|
-
declarations: [
|
|
524
|
-
|
|
525
|
-
WrFormErrorComponent
|
|
526
|
-
],
|
|
527
|
-
exports: [
|
|
528
|
-
WrFormItemComponent,
|
|
529
|
-
WrFormErrorComponent
|
|
530
|
-
]
|
|
517
|
+
declarations: [WrFormItemComponent, WrFormErrorComponent],
|
|
518
|
+
exports: [WrFormItemComponent, WrFormErrorComponent]
|
|
531
519
|
}]
|
|
532
520
|
}] });
|
|
533
521
|
|
|
534
522
|
/* 🤖 this file was generated by svg-to-ts */
|
|
523
|
+
const wrIconAlertCircle = {
|
|
524
|
+
name: 'alert-circle',
|
|
525
|
+
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>`
|
|
526
|
+
};
|
|
527
|
+
const wrIconAlertSquircle = {
|
|
528
|
+
name: 'alert-squircle',
|
|
529
|
+
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>`
|
|
530
|
+
};
|
|
535
531
|
const wrIconAlert = {
|
|
536
532
|
name: 'alert',
|
|
537
|
-
data:
|
|
533
|
+
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>`
|
|
534
|
+
};
|
|
535
|
+
const wrIconArrowBackCircle = {
|
|
536
|
+
name: 'arrow-back-circle',
|
|
537
|
+
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>`
|
|
538
538
|
};
|
|
539
539
|
const wrIconArrowBack = {
|
|
540
540
|
name: 'arrow-back',
|
|
541
|
-
data:
|
|
541
|
+
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>`
|
|
542
|
+
};
|
|
543
|
+
const wrIconArrowBottomCircle = {
|
|
544
|
+
name: 'arrow-bottom-circle',
|
|
545
|
+
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>`
|
|
546
|
+
};
|
|
547
|
+
const wrIconArrowBottom = {
|
|
548
|
+
name: 'arrow-bottom',
|
|
549
|
+
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>`
|
|
550
|
+
};
|
|
551
|
+
const wrIconArrowForwardCircle = {
|
|
552
|
+
name: 'arrow-forward-circle',
|
|
553
|
+
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>`
|
|
554
|
+
};
|
|
555
|
+
const wrIconArrowForward = {
|
|
556
|
+
name: 'arrow-forward',
|
|
557
|
+
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>`
|
|
558
|
+
};
|
|
559
|
+
const wrIconArrowTopCircle = {
|
|
560
|
+
name: 'arrow-top-circle',
|
|
561
|
+
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>`
|
|
562
|
+
};
|
|
563
|
+
const wrIconArrowTop = {
|
|
564
|
+
name: 'arrow-top',
|
|
565
|
+
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>`
|
|
566
|
+
};
|
|
567
|
+
const wrIconBugOutline = {
|
|
568
|
+
name: 'bug-outline',
|
|
569
|
+
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>`
|
|
542
570
|
};
|
|
543
571
|
const wrIconBug = {
|
|
544
572
|
name: 'bug',
|
|
545
|
-
data:
|
|
573
|
+
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>`
|
|
546
574
|
};
|
|
547
575
|
const wrIconCaretBack = {
|
|
548
576
|
name: 'caret-back',
|
|
@@ -725,8 +753,18 @@ const wrIconWarning = {
|
|
|
725
753
|
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>`
|
|
726
754
|
};
|
|
727
755
|
const wrIconSet = [
|
|
756
|
+
wrIconAlertCircle,
|
|
757
|
+
wrIconAlertSquircle,
|
|
728
758
|
wrIconAlert,
|
|
759
|
+
wrIconArrowBackCircle,
|
|
729
760
|
wrIconArrowBack,
|
|
761
|
+
wrIconArrowBottomCircle,
|
|
762
|
+
wrIconArrowBottom,
|
|
763
|
+
wrIconArrowForwardCircle,
|
|
764
|
+
wrIconArrowForward,
|
|
765
|
+
wrIconArrowTopCircle,
|
|
766
|
+
wrIconArrowTop,
|
|
767
|
+
wrIconBugOutline,
|
|
730
768
|
wrIconBug,
|
|
731
769
|
wrIconCaretBack,
|
|
732
770
|
wrIconCaretForward,
|
|
@@ -884,7 +922,7 @@ class WrPasswordInputComponent {
|
|
|
884
922
|
}
|
|
885
923
|
onVisibilityClick($event) {
|
|
886
924
|
$event.stopPropagation();
|
|
887
|
-
this.type === 'password' ? this.type = 'input' : this.type = 'password';
|
|
925
|
+
this.type === 'password' ? (this.type = 'input') : (this.type = 'password');
|
|
888
926
|
}
|
|
889
927
|
onInput($event) {
|
|
890
928
|
this.value = $event.currentTarget.value;
|
|
@@ -906,10 +944,10 @@ class WrPasswordInputComponent {
|
|
|
906
944
|
}
|
|
907
945
|
}
|
|
908
946
|
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 });
|
|
909
|
-
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
|
|
947
|
+
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 });
|
|
910
948
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrPasswordInputComponent, decorators: [{
|
|
911
949
|
type: Component,
|
|
912
|
-
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
|
|
950
|
+
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" }]
|
|
913
951
|
}], ctorParameters: function () {
|
|
914
952
|
return [{ type: i1.NgControl, decorators: [{
|
|
915
953
|
type: Optional
|
|
@@ -921,32 +959,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
921
959
|
args: ['class']
|
|
922
960
|
}] } });
|
|
923
961
|
|
|
924
|
-
class
|
|
962
|
+
class WrPasswordInputModule {
|
|
925
963
|
}
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
WrIconModule], exports: [WrPasswordInputComponent] });
|
|
931
|
-
WalrusPasswordInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusPasswordInputModule, imports: [CommonModule,
|
|
932
|
-
PlatformModule,
|
|
933
|
-
WrInputModule,
|
|
934
|
-
WrIconModule] });
|
|
935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WalrusPasswordInputModule, decorators: [{
|
|
964
|
+
WrPasswordInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrPasswordInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
965
|
+
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] });
|
|
966
|
+
WrPasswordInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrPasswordInputModule, imports: [CommonModule, PlatformModule, WrInputModule, WrIconModule] });
|
|
967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrPasswordInputModule, decorators: [{
|
|
936
968
|
type: NgModule,
|
|
937
969
|
args: [{
|
|
938
|
-
imports: [
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
WrInputModule,
|
|
942
|
-
WrIconModule
|
|
943
|
-
],
|
|
944
|
-
declarations: [
|
|
945
|
-
WrPasswordInputComponent,
|
|
946
|
-
],
|
|
947
|
-
exports: [
|
|
948
|
-
WrPasswordInputComponent,
|
|
949
|
-
]
|
|
970
|
+
imports: [CommonModule, PlatformModule, WrInputModule, WrIconModule],
|
|
971
|
+
declarations: [WrPasswordInputComponent],
|
|
972
|
+
exports: [WrPasswordInputComponent]
|
|
950
973
|
}]
|
|
951
974
|
}] });
|
|
952
975
|
|
|
@@ -957,7 +980,7 @@ class WrSkeletonComponent {
|
|
|
957
980
|
this.class = `${stylePrefix}-skeleton`;
|
|
958
981
|
}
|
|
959
982
|
ngAfterViewInit() {
|
|
960
|
-
const style = this.color === 'light' ?
|
|
983
|
+
const style = this.color === 'light' ? `var(--${stylePrefix}-color-white-rgb)` : `var(--${stylePrefix}-color-dark-rgb)`;
|
|
961
984
|
this.elRef.nativeElement.style.setProperty('--skeleton-style', style);
|
|
962
985
|
}
|
|
963
986
|
}
|
|
@@ -978,12 +1001,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
978
1001
|
args: ['class']
|
|
979
1002
|
}] } });
|
|
980
1003
|
|
|
981
|
-
class
|
|
1004
|
+
class WrSkeletonModule {
|
|
982
1005
|
}
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type:
|
|
1006
|
+
WrSkeletonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1007
|
+
WrSkeletonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.1.3", ngImport: i0, type: WrSkeletonModule, declarations: [WrSkeletonComponent], imports: [CommonModule, WrSpinnerModule], exports: [WrSkeletonComponent] });
|
|
1008
|
+
WrSkeletonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSkeletonModule, imports: [CommonModule, WrSpinnerModule] });
|
|
1009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: WrSkeletonModule, decorators: [{
|
|
987
1010
|
type: NgModule,
|
|
988
1011
|
args: [{
|
|
989
1012
|
imports: [CommonModule, WrSpinnerModule],
|
|
@@ -997,7 +1020,7 @@ class WrTagComponent {
|
|
|
997
1020
|
this.cdr = cdr;
|
|
998
1021
|
this.elRef = elRef;
|
|
999
1022
|
this.r2 = r2;
|
|
1000
|
-
this.color = '
|
|
1023
|
+
this.color = 'primary';
|
|
1001
1024
|
this.transparent = false;
|
|
1002
1025
|
this.loading = false;
|
|
1003
1026
|
this.outlined = false;
|
|
@@ -1088,5 +1111,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImpor
|
|
|
1088
1111
|
* Generated bundle index. Do not edit.
|
|
1089
1112
|
*/
|
|
1090
1113
|
|
|
1091
|
-
export {
|
|
1114
|
+
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
1115
|
//# sourceMappingURL=ngwr.mjs.map
|