@testgorilla/tgo-ui 2.1.8 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/card/card.component.d.ts +14 -3
- package/components/card/card.component.module.d.ts +2 -1
- package/components/card/card.model.d.ts +1 -1
- package/components/field/field.component.d.ts +19 -3
- package/components/field/field.model.d.ts +1 -1
- package/components/navbar/navbar.component.d.ts +5 -4
- package/components/overflow-menu/overflow-menu.model.d.ts +1 -0
- package/components/side-sheet/side-sheet.model.d.ts +2 -0
- package/esm2022/components/card/card.component.mjs +26 -9
- package/esm2022/components/card/card.component.module.mjs +5 -4
- package/esm2022/components/card/card.model.mjs +1 -1
- package/esm2022/components/field/field.component.mjs +29 -5
- package/esm2022/components/field/field.model.mjs +1 -1
- package/esm2022/components/navbar/navbar.component.mjs +23 -10
- package/esm2022/components/overflow-menu/overflow-menu.component.mjs +3 -3
- package/esm2022/components/overflow-menu/overflow-menu.model.mjs +1 -1
- package/esm2022/components/password-criteria/password.component.mjs +1 -1
- package/esm2022/components/side-sheet/side-sheet.component.mjs +8 -3
- package/esm2022/components/side-sheet/side-sheet.model.mjs +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +154 -98
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/i18n/src/assets/i18n/da-dk.json +13 -0
- package/src/assets/i18n/src/assets/i18n/de.json +13 -0
- package/src/assets/i18n/src/assets/i18n/es.json +13 -0
- package/src/assets/i18n/src/assets/i18n/fr.json +13 -0
- package/src/assets/i18n/src/assets/i18n/it-it.json +13 -0
- package/src/assets/i18n/src/assets/i18n/ja-jp.json +13 -0
- package/src/assets/i18n/src/assets/i18n/nb-no.json +13 -0
- package/src/assets/i18n/src/assets/i18n/nl.json +13 -0
- package/src/assets/i18n/src/assets/i18n/pl-pl.json +13 -0
- package/src/assets/i18n/src/assets/i18n/pt-br.json +13 -0
- package/src/assets/i18n/src/assets/i18n/sv-se.json +13 -0
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { OnChanges, OnInit } from '@angular/core';
|
|
2
2
|
import { CardSize, CardVariant } from './card.model';
|
|
3
3
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class CardComponent implements OnChanges, OnInit {
|
|
6
7
|
private readonly defaultAppTheme;
|
|
8
|
+
private domSanitizer;
|
|
7
9
|
/**
|
|
8
10
|
* Card size. Defaults "medium".
|
|
9
11
|
*
|
|
@@ -26,10 +28,19 @@ export declare class CardComponent implements OnChanges, OnInit {
|
|
|
26
28
|
* @memberof CardComponent
|
|
27
29
|
*/
|
|
28
30
|
applicationTheme: ApplicationTheme;
|
|
31
|
+
/**
|
|
32
|
+
* Show errors below card.
|
|
33
|
+
*
|
|
34
|
+
* @type {string[]}
|
|
35
|
+
* @memberof CardComponent
|
|
36
|
+
*/
|
|
37
|
+
set errors(errors: string[]);
|
|
38
|
+
safeErrors: SafeHtml[];
|
|
29
39
|
classes: string;
|
|
30
|
-
constructor(defaultAppTheme: ApplicationTheme);
|
|
40
|
+
constructor(defaultAppTheme: ApplicationTheme, domSanitizer: DomSanitizer);
|
|
31
41
|
ngOnChanges(): void;
|
|
32
42
|
ngOnInit(): void;
|
|
33
|
-
|
|
34
|
-
static
|
|
43
|
+
get cardVariant(): CardVariant;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, [{ optional: true; }, null]>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
35
46
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./card.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../icon/icon.component.module";
|
|
4
5
|
export declare class CardComponentModule {
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponentModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CardComponentModule, [typeof i1.CardComponent], [typeof i2.CommonModule], [typeof i1.CardComponent]>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CardComponentModule, [typeof i1.CardComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule], [typeof i1.CardComponent]>;
|
|
7
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<CardComponentModule>;
|
|
8
9
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export type CardSize = 'small' | 'medium' | 'large';
|
|
2
|
-
export type CardVariant = 'default' | 'shadow' | 'state';
|
|
2
|
+
export type CardVariant = 'default' | 'shadow' | 'state' | 'error';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { FieldType } from '../../components/field/field.model';
|
|
4
4
|
import { MatIconRegistry } from '@angular/material/icon';
|
|
5
5
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
6
|
-
import { ApplicationTheme } from
|
|
6
|
+
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
7
7
|
import { IconName } from '../icon/icon.model';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class FieldComponent implements OnInit, ControlValueAccessor {
|
|
@@ -133,6 +133,21 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor {
|
|
|
133
133
|
* @memberof FieldComponent
|
|
134
134
|
*/
|
|
135
135
|
ariaRequired: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Show loading button. Only for text
|
|
138
|
+
*
|
|
139
|
+
* @type {boolean}
|
|
140
|
+
* @memberof FieldComponent
|
|
141
|
+
*/
|
|
142
|
+
loading: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Show icon when field is valid
|
|
145
|
+
*
|
|
146
|
+
* @type {boolean}
|
|
147
|
+
* @memberof FieldComponent
|
|
148
|
+
*/
|
|
149
|
+
isValid: boolean;
|
|
150
|
+
validateEvent: EventEmitter<string>;
|
|
136
151
|
get getPasswordIcon(): IconName;
|
|
137
152
|
isActiveField: boolean;
|
|
138
153
|
isActiveHover: boolean;
|
|
@@ -151,6 +166,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor {
|
|
|
151
166
|
currentType: string;
|
|
152
167
|
errorsLength: boolean;
|
|
153
168
|
ngOnInit(): void;
|
|
169
|
+
validate(): void;
|
|
154
170
|
setSearchInput(): void;
|
|
155
171
|
getType(): string;
|
|
156
172
|
clearValue(): void;
|
|
@@ -166,5 +182,5 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor {
|
|
|
166
182
|
onActive(state: boolean, action: string): void;
|
|
167
183
|
trackByFn: (index: number, value: any) => any;
|
|
168
184
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, [{ optional: true; }, null, null, null]>;
|
|
169
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "type": { "alias": "type"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "allowOnlyDigits": { "alias": "allowOnlyDigits"; "required": false; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; }, {}, never, never, false, never>;
|
|
185
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "type": { "alias": "type"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "allowOnlyDigits": { "alias": "allowOnlyDigits"; "required": false; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; }, { "validateEvent": "validateEvent"; }, never, never, false, never>;
|
|
170
186
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type FieldType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'search' | 'collapsed-search';
|
|
1
|
+
export type FieldType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'search' | 'collapsed-search' | 'validation-text';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
1
|
+
import { DestroyRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { IRoute, MenuItem } from './navbar.model';
|
|
3
3
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
4
|
import { SideSheetService } from '../side-sheet/side-sheet.service';
|
|
@@ -8,6 +8,7 @@ export declare class NavbarComponent {
|
|
|
8
8
|
private readonly breakpointObserver;
|
|
9
9
|
private readonly defaultAppTheme;
|
|
10
10
|
private sideSheetService;
|
|
11
|
+
private destroyRef;
|
|
11
12
|
/**
|
|
12
13
|
* Routes object
|
|
13
14
|
*
|
|
@@ -97,11 +98,11 @@ export declare class NavbarComponent {
|
|
|
97
98
|
private readonly _mobileBreakpoint$;
|
|
98
99
|
private readonly mobileBreakpointObs$;
|
|
99
100
|
protected readonly isMobile$: import("rxjs").Observable<boolean>;
|
|
100
|
-
constructor(breakpointObserver: BreakpointObserver, defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService);
|
|
101
|
+
constructor(breakpointObserver: BreakpointObserver, defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef);
|
|
101
102
|
openMobileMenu(): void;
|
|
102
103
|
navigate(routeId: string): void;
|
|
103
104
|
logout(): void;
|
|
104
105
|
clickMenuItem(id: string): void;
|
|
105
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, [null, { optional: true; }, null]>;
|
|
106
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "email": { "alias": "email"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "language": { "alias": "language"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "contentTemplateRef": { "alias": "contentTemplateRef"; "required": false; }; "mobileBreakpoint": { "alias": "mobileBreakpoint"; "required": false; }; "isAvatar": { "alias": "isAvatar"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; }, never, ["*"], false, never>;
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, [null, { optional: true; }, null, null]>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "email": { "alias": "email"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "language": { "alias": "language"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "contentTemplateRef": { "alias": "contentTemplateRef"; "required": false; }; "mobileBreakpoint": { "alias": "mobileBreakpoint"; "required": false; }; "isAvatar": { "alias": "isAvatar"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; }, never, ["[actions]", "*"], false, never>;
|
|
107
108
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
1
2
|
export interface SideSheetConfig {
|
|
2
3
|
componentRef: any;
|
|
3
4
|
title?: string;
|
|
4
5
|
showLogo?: boolean;
|
|
5
6
|
showBackButton?: boolean;
|
|
6
7
|
showTitleTooltip?: boolean;
|
|
8
|
+
closed?: Observable<void>;
|
|
7
9
|
}
|
|
8
10
|
export type SideSheetPosition = 'start' | 'end';
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, Inject, Input, Optional } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/
|
|
3
|
+
import * as i1 from "@angular/platform-browser";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
import * as i3 from "../icon/icon.component";
|
|
4
6
|
export class CardComponent {
|
|
5
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Show errors below card.
|
|
9
|
+
*
|
|
10
|
+
* @type {string[]}
|
|
11
|
+
* @memberof CardComponent
|
|
12
|
+
*/
|
|
13
|
+
set errors(errors) {
|
|
14
|
+
this.safeErrors = errors?.filter(Boolean).map(error => this.domSanitizer.bypassSecurityTrustHtml(error));
|
|
15
|
+
}
|
|
16
|
+
constructor(defaultAppTheme, domSanitizer) {
|
|
6
17
|
this.defaultAppTheme = defaultAppTheme;
|
|
18
|
+
this.domSanitizer = domSanitizer;
|
|
7
19
|
/**
|
|
8
20
|
* Card size. Defaults "medium".
|
|
9
21
|
*
|
|
@@ -32,27 +44,32 @@ export class CardComponent {
|
|
|
32
44
|
}
|
|
33
45
|
}
|
|
34
46
|
ngOnChanges() {
|
|
35
|
-
this.classes = `card-size-${this.size ?? 'medium'} ${this.
|
|
47
|
+
this.classes = `card-size-${this.size ?? 'medium'} ${this.cardVariant ?? 'default'}`;
|
|
36
48
|
}
|
|
37
49
|
ngOnInit() {
|
|
38
|
-
this.classes = `card-size-${this.size ?? 'medium'} ${this.
|
|
50
|
+
this.classes = `card-size-${this.size ?? 'medium'} ${this.cardVariant ?? 'default'}`;
|
|
51
|
+
}
|
|
52
|
+
get cardVariant() {
|
|
53
|
+
return this.safeErrors?.length ? 'error' : this.variant;
|
|
39
54
|
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
41
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CardComponent, selector: "ui-card", inputs: { size: "size", variant: "variant", applicationTheme: "applicationTheme" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"card-container\" [ngClass]=\"classes\" [attr.theme]=\"applicationTheme\" tabindex=\"0\" >\n <ng-content></ng-content>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.card-container{border-radius:8px;border:1px solid #E0E0E0;background:#fff}.card-container.card-size-medium{padding:24px}.card-container.card-size-large{padding:80px}.card-container.card-size-small{padding:16px}.card-container[theme=dark],.card-container[theme=light]{border-color:#d3d3d3;border-radius:10px}.card-container[theme=dark].shadow,.card-container[theme=light].shadow{box-shadow:0 4px 100px #2424240a}.card-container[theme=dark].state,.card-container[theme=light].state{cursor:pointer}.card-container[theme=dark].state:hover,.card-container[theme=light].state:hover{border-width:2px;border-color:#242424;box-shadow:0 4px 16px #24242414}.card-container[theme=dark].state:focus,.card-container[theme=light].state:focus{border-width:2px;border-color:#242424}.card-size-brand.card-size-medium,.card-size-medium.card-container[theme=dark].state:hover,.card-size-medium.card-container[theme=light].state:hover,.card-size-medium.card-container[theme=dark].state:focus,.card-size-medium.card-container[theme=light].state:focus{padding:23px}.card-size-brand.card-size-large,.card-size-large.card-container[theme=dark].state:hover,.card-size-large.card-container[theme=light].state:hover,.card-size-large.card-container[theme=dark].state:focus,.card-size-large.card-container[theme=light].state:focus{padding:79px}.card-size-brand.card-size-small,.card-size-small.card-container[theme=dark].state:hover,.card-size-small.card-container[theme=light].state:hover,.card-size-small.card-container[theme=dark].state:focus,.card-size-small.card-container[theme=light].state:focus{padding:15px}\n"], dependencies: [{ kind: "directive", type:
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }, { token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CardComponent, selector: "ui-card", inputs: { size: "size", variant: "variant", applicationTheme: "applicationTheme", errors: "errors" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"card-container\" [ngClass]=\"classes\" [attr.theme]=\"applicationTheme\" tabindex=\"0\" >\n <ng-content></ng-content>\n</div>\n<div class=\"errors\" *ngIf=\"safeErrors?.length\">\n <div class=\"error\" *ngFor=\"let error of safeErrors\">\n <ui-icon [size]=\"'24'\" [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span [innerHTML]=\"error\"></span>\n </div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.card-container{border-radius:8px;border:1px solid #E0E0E0;background:#fff}.card-container.card-size-medium{padding:24px}.card-container.card-size-large{padding:80px}.card-container.card-size-small{padding:16px}.card-container[theme=dark],.card-container[theme=light]{border-color:#d3d3d3;border-radius:10px}.card-container[theme=dark].shadow,.card-container[theme=light].shadow{box-shadow:0 4px 100px #2424240a}.card-container[theme=dark].error,.card-container[theme=light].error{border-width:2px;border-color:#e02800}.card-container[theme=dark].state,.card-container[theme=light].state{cursor:pointer}.card-container[theme=dark].state:hover,.card-container[theme=light].state:hover{border-width:2px;border-color:#242424;box-shadow:0 4px 16px #24242414}.card-container[theme=dark].state:focus,.card-container[theme=light].state:focus{border-width:2px;border-color:#242424}.card-size-brand.card-size-medium,.card-size-medium.card-container[theme=dark].state:hover,.card-size-medium.card-container[theme=light].state:hover,.card-size-medium.card-container[theme=dark].state:focus,.card-size-medium.card-container[theme=light].state:focus{padding:23px}.card-size-brand.card-size-large,.card-size-large.card-container[theme=dark].state:hover,.card-size-large.card-container[theme=light].state:hover,.card-size-large.card-container[theme=dark].state:focus,.card-size-large.card-container[theme=light].state:focus{padding:79px}.card-size-brand.card-size-small,.card-size-small.card-container[theme=dark].state:hover,.card-size-small.card-container[theme=light].state:hover,.card-size-small.card-container[theme=dark].state:focus,.card-size-small.card-container[theme=light].state:focus{padding:15px}.errors{margin-top:8px}.errors .error{font-size:14px;display:flex;flex-direction:row;align-items:center;color:#e02800}.errors .error ui-icon{margin-right:8px}.errors .error ui-icon ::ng-deep svg{color:#e02800}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "applicationTheme"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
42
57
|
}
|
|
43
58
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponent, decorators: [{
|
|
44
59
|
type: Component,
|
|
45
|
-
args: [{ selector: 'ui-card', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"card-container\" [ngClass]=\"classes\" [attr.theme]=\"applicationTheme\" tabindex=\"0\" >\n <ng-content></ng-content>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.card-container{border-radius:8px;border:1px solid #E0E0E0;background:#fff}.card-container.card-size-medium{padding:24px}.card-container.card-size-large{padding:80px}.card-container.card-size-small{padding:16px}.card-container[theme=dark],.card-container[theme=light]{border-color:#d3d3d3;border-radius:10px}.card-container[theme=dark].shadow,.card-container[theme=light].shadow{box-shadow:0 4px 100px #2424240a}.card-container[theme=dark].state,.card-container[theme=light].state{cursor:pointer}.card-container[theme=dark].state:hover,.card-container[theme=light].state:hover{border-width:2px;border-color:#242424;box-shadow:0 4px 16px #24242414}.card-container[theme=dark].state:focus,.card-container[theme=light].state:focus{border-width:2px;border-color:#242424}.card-size-brand.card-size-medium,.card-size-medium.card-container[theme=dark].state:hover,.card-size-medium.card-container[theme=light].state:hover,.card-size-medium.card-container[theme=dark].state:focus,.card-size-medium.card-container[theme=light].state:focus{padding:23px}.card-size-brand.card-size-large,.card-size-large.card-container[theme=dark].state:hover,.card-size-large.card-container[theme=light].state:hover,.card-size-large.card-container[theme=dark].state:focus,.card-size-large.card-container[theme=light].state:focus{padding:79px}.card-size-brand.card-size-small,.card-size-small.card-container[theme=dark].state:hover,.card-size-small.card-container[theme=light].state:hover,.card-size-small.card-container[theme=dark].state:focus,.card-size-small.card-container[theme=light].state:focus{padding:15px}\n"] }]
|
|
60
|
+
args: [{ selector: 'ui-card', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"card-container\" [ngClass]=\"classes\" [attr.theme]=\"applicationTheme\" tabindex=\"0\" >\n <ng-content></ng-content>\n</div>\n<div class=\"errors\" *ngIf=\"safeErrors?.length\">\n <div class=\"error\" *ngFor=\"let error of safeErrors\">\n <ui-icon [size]=\"'24'\" [applicationTheme]=\"applicationTheme\" [name]=\"'Error'\"></ui-icon>\n <span [innerHTML]=\"error\"></span>\n </div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}.card-container{border-radius:8px;border:1px solid #E0E0E0;background:#fff}.card-container.card-size-medium{padding:24px}.card-container.card-size-large{padding:80px}.card-container.card-size-small{padding:16px}.card-container[theme=dark],.card-container[theme=light]{border-color:#d3d3d3;border-radius:10px}.card-container[theme=dark].shadow,.card-container[theme=light].shadow{box-shadow:0 4px 100px #2424240a}.card-container[theme=dark].error,.card-container[theme=light].error{border-width:2px;border-color:#e02800}.card-container[theme=dark].state,.card-container[theme=light].state{cursor:pointer}.card-container[theme=dark].state:hover,.card-container[theme=light].state:hover{border-width:2px;border-color:#242424;box-shadow:0 4px 16px #24242414}.card-container[theme=dark].state:focus,.card-container[theme=light].state:focus{border-width:2px;border-color:#242424}.card-size-brand.card-size-medium,.card-size-medium.card-container[theme=dark].state:hover,.card-size-medium.card-container[theme=light].state:hover,.card-size-medium.card-container[theme=dark].state:focus,.card-size-medium.card-container[theme=light].state:focus{padding:23px}.card-size-brand.card-size-large,.card-size-large.card-container[theme=dark].state:hover,.card-size-large.card-container[theme=light].state:hover,.card-size-large.card-container[theme=dark].state:focus,.card-size-large.card-container[theme=light].state:focus{padding:79px}.card-size-brand.card-size-small,.card-size-small.card-container[theme=dark].state:hover,.card-size-small.card-container[theme=light].state:hover,.card-size-small.card-container[theme=dark].state:focus,.card-size-small.card-container[theme=light].state:focus{padding:15px}.errors{margin-top:8px}.errors .error{font-size:14px;display:flex;flex-direction:row;align-items:center;color:#e02800}.errors .error ui-icon{margin-right:8px}.errors .error ui-icon ::ng-deep svg{color:#e02800}\n"] }]
|
|
46
61
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
47
62
|
type: Optional
|
|
48
63
|
}, {
|
|
49
64
|
type: Inject,
|
|
50
65
|
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
51
|
-
}] }]; }, propDecorators: { size: [{
|
|
66
|
+
}] }, { type: i1.DomSanitizer }]; }, propDecorators: { size: [{
|
|
52
67
|
type: Input
|
|
53
68
|
}], variant: [{
|
|
54
69
|
type: Input
|
|
55
70
|
}], applicationTheme: [{
|
|
56
71
|
type: Input
|
|
72
|
+
}], errors: [{
|
|
73
|
+
type: Input
|
|
57
74
|
}] } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9jYXJkL2NhcmQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvY2FyZC9jYXJkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBcUIsUUFBUSxF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bWVdPVwiYXBwbGljYXRpb25UaGVtZVwiIHRhYmluZGV4PVwiMFwiICA+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvZGl2PlxuPGRpdiBjbGFzcz1cImVycm9yc1wiICpuZ0lmPVwic2FmZUVycm9ycz8ubGVuZ3RoXCI+XG4gIDxkaXYgY2xhc3M9XCJlcnJvclwiICpuZ0Zvcj1cImxldCBlcnJvciBvZiBzYWZlRXJyb3JzXCI+XG4gICAgPHVpLWljb24gW3NpemVdPVwiJzI0J1wiIFthcHBsaWNhdGlvblRoZW1lXT1cImFwcGxpY2F0aW9uVGhlbWVcIiBbbmFtZV09XCInRXJyb3InXCI+PC91aS1pY29uPlxuICAgIDxzcGFuIFtpbm5lckhUTUxdPVwiZXJyb3JcIj48L3NwYW4+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { CommonModule } from '@angular/common';
|
|
2
2
|
import { NgModule } from '@angular/core';
|
|
3
3
|
import { CardComponent } from './card.component';
|
|
4
|
+
import { IconComponentModule } from '../icon/icon.component.module';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export class CardComponentModule {
|
|
6
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CardComponentModule, declarations: [CardComponent], imports: [CommonModule], exports: [CardComponent] }); }
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponentModule, imports: [CommonModule] }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CardComponentModule, declarations: [CardComponent], imports: [CommonModule, IconComponentModule], exports: [CardComponent] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponentModule, imports: [CommonModule, IconComponentModule] }); }
|
|
9
10
|
}
|
|
10
11
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponentModule, decorators: [{
|
|
11
12
|
type: NgModule,
|
|
12
13
|
args: [{
|
|
13
14
|
declarations: [CardComponent],
|
|
14
|
-
imports: [CommonModule],
|
|
15
|
+
imports: [CommonModule, IconComponentModule],
|
|
15
16
|
exports: [CardComponent],
|
|
16
17
|
}]
|
|
17
18
|
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5jb21wb25lbnQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvY2FyZC9jYXJkLmNvbXBvbmVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ2pELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLCtCQUErQixDQUFDOztBQU9wRSxNQUFNLE9BQU8sbUJBQW1COytHQUFuQixtQkFBbUI7Z0hBQW5CLG1CQUFtQixpQkFKZixhQUFhLGFBQ2xCLFlBQVksRUFBRSxtQkFBbUIsYUFDakMsYUFBYTtnSEFFWixtQkFBbUIsWUFIcEIsWUFBWSxFQUFFLG1CQUFtQjs7NEZBR2hDLG1CQUFtQjtrQkFML0IsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxhQUFhLENBQUM7b0JBQzdCLE9BQU8sRUFBRSxDQUFDLFlBQVksRUFBRSxtQkFBbUIsQ0FBQztvQkFDNUMsT0FBTyxFQUFFLENBQUMsYUFBYSxDQUFDO2lCQUN6QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ2FyZENvbXBvbmVudCB9IGZyb20gJy4vY2FyZC5jb21wb25lbnQnO1xuaW1wb3J0IHsgSWNvbkNvbXBvbmVudE1vZHVsZSB9IGZyb20gJy4uL2ljb24vaWNvbi5jb21wb25lbnQubW9kdWxlJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQ2FyZENvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIEljb25Db21wb25lbnRNb2R1bGVdLFxuICBleHBvcnRzOiBbQ2FyZENvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIENhcmRDb21wb25lbnRNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2NhcmQvY2FyZC5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQ2FyZFNpemUgPSAnc21hbGwnIHwgJ21lZGl1bScgfCAnbGFyZ2UnO1xuZXhwb3J0IHR5cGUgQ2FyZFZhcmlhbnQgPSAnZGVmYXVsdCcgfCAnc2hhZG93JyB8ICdzdGF0ZScgfCAnZXJyb3InO1xuIl19
|