@testgorilla/tgo-ui 2.0.6 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/accordion.component.module.d.ts +1 -1
- package/components/button/button.component.d.ts +3 -1
- package/components/dialog/dialog.component.d.ts +17 -1
- package/components/dialog/dialog.service.d.ts +1 -1
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +22 -0
- package/components/navbar/navbar.component.d.ts +33 -4
- package/components/navbar/navbar.component.module.d.ts +4 -1
- package/components/password-criteria/password.component.d.ts +41 -0
- package/components/password-criteria/password.component.module.d.ts +13 -0
- package/components/side-sheet/side-sheet.component.d.ts +1 -0
- package/components/side-sheet/side-sheet.component.module.d.ts +2 -1
- package/components/side-sheet/side-sheet.model.d.ts +2 -1
- package/components/side-sheet/side-sheet.service.d.ts +1 -1
- package/components/stepper/stepper.model.d.ts +0 -3
- package/components/toggle/toggle.component.d.ts +3 -2
- package/esm2022/assets/i18n/en.json +8 -0
- package/esm2022/components/accordion/accordion.component.module.mjs +5 -2
- package/esm2022/components/button/button.component.mjs +17 -4
- package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +1 -1
- package/esm2022/components/dialog/dialog.component.mjs +23 -3
- package/esm2022/components/dialog/dialog.service.mjs +5 -3
- package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +75 -0
- package/esm2022/components/navbar/navbar.component.mjs +68 -17
- package/esm2022/components/navbar/navbar.component.module.mjs +15 -3
- package/esm2022/components/page-header/page-header.component.mjs +2 -2
- package/esm2022/components/password-criteria/password.component.mjs +102 -0
- package/esm2022/components/password-criteria/password.component.module.mjs +39 -0
- package/esm2022/components/side-sheet/side-sheet.component.mjs +8 -5
- package/esm2022/components/side-sheet/side-sheet.component.module.mjs +7 -3
- package/esm2022/components/side-sheet/side-sheet.model.mjs +1 -1
- package/esm2022/components/side-sheet/side-sheet.service.mjs +2 -1
- package/esm2022/components/stepper/stepper.component.mjs +2 -2
- package/esm2022/components/stepper/stepper.model.mjs +2 -5
- package/esm2022/components/toggle/toggle.component.mjs +6 -3
- package/esm2022/models/screen-breakpoints.model.mjs +5 -0
- package/esm2022/pipes/ui-translate.pipe.mjs +5 -3
- package/esm2022/providers/is-mobile.mjs +11 -0
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +644 -349
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/models/screen-breakpoints.model.d.ts +3 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/src/assets/i18n/en.json +8 -0
- package/esm2022/components/stepper/providers/is-mobile.mjs +0 -11
- /package/{components/stepper/providers → providers}/is-mobile.d.ts +0 -0
|
@@ -7,6 +7,6 @@ import * as i5 from "@angular/material/tooltip";
|
|
|
7
7
|
import * as i6 from "@angular/material/expansion";
|
|
8
8
|
export declare class AccordionComponentModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponentModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionComponentModule, [typeof i1.AccordionComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.ButtonComponentModule, typeof i5.MatTooltipModule, typeof i6.MatExpansionModule],
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionComponentModule, [typeof i1.AccordionComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.ButtonComponentModule, typeof i5.MatTooltipModule, typeof i6.MatExpansionModule], [typeof i1.AccordionComponent]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<AccordionComponentModule>;
|
|
12
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { IconName } from '../icon/icon.model';
|
|
3
3
|
import { ButtonBadgeConfig, ButtonColor, ButtonIconPosition, ButtonSize, ButtonState, ButtonType, IconButtonSize, LinkUrlTarget } from './button.model';
|
|
4
4
|
import { MatButton } from '@angular/material/button';
|
|
@@ -6,6 +6,8 @@ import { ApplicationTheme } from '../../models/application-theme.model';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
8
8
|
private readonly defaultAppTheme;
|
|
9
|
+
get enabled(): string;
|
|
10
|
+
tooltipElement: ElementRef<HTMLElement>;
|
|
9
11
|
/**
|
|
10
12
|
* Define button height
|
|
11
13
|
*
|
|
@@ -72,6 +72,22 @@ export declare class DialogComponent implements OnInit, OnChanges {
|
|
|
72
72
|
* @memberof DialogComponent
|
|
73
73
|
*/
|
|
74
74
|
applicationTheme: ApplicationTheme;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* Disable primary button
|
|
78
|
+
*
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof DialogComponent
|
|
81
|
+
*/
|
|
82
|
+
disablePrimaryButton: boolean;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* Disable close button
|
|
86
|
+
*
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
* @memberof DialogComponent
|
|
89
|
+
*/
|
|
90
|
+
disableClose: boolean;
|
|
75
91
|
closeEvent: EventEmitter<Event>;
|
|
76
92
|
secondaryButtonClickEvent: EventEmitter<Event>;
|
|
77
93
|
primaryButtonClickEvent: EventEmitter<Event>;
|
|
@@ -88,5 +104,5 @@ export declare class DialogComponent implements OnInit, OnChanges {
|
|
|
88
104
|
onSecondaryButtonClick(event: Event): void;
|
|
89
105
|
onPrimaryButtonClick(event: Event): void;
|
|
90
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, [{ optional: true; }, null, null]>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canCloseFn": { "alias": "canCloseFn"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "language": { "alias": "language"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, never, ["*"], false, never>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canCloseFn": { "alias": "canCloseFn"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "language": { "alias": "language"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disablePrimaryButton": { "alias": "disablePrimaryButton"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, never, ["*"], false, never>;
|
|
92
108
|
}
|
|
@@ -7,7 +7,7 @@ export declare class DialogService {
|
|
|
7
7
|
private matDialog;
|
|
8
8
|
private readonly defaultAppTheme;
|
|
9
9
|
constructor(matDialog: MatDialog, defaultAppTheme: ApplicationTheme);
|
|
10
|
-
open(dialogComponent: ComponentType<any>, applicationTheme?: ApplicationTheme, size?: DialogSize): MatDialogRef<any>;
|
|
10
|
+
open(dialogComponent: ComponentType<any>, applicationTheme?: ApplicationTheme, size?: DialogSize, panelClass?: string): MatDialogRef<any>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, [null, { optional: true; }]>;
|
|
12
12
|
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
13
13
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { IRoute, MenuItem } from "../navbar.model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MobileNavbarSideSheetComponent {
|
|
5
|
+
routes: IRoute[];
|
|
6
|
+
activedRoute: string;
|
|
7
|
+
email: string;
|
|
8
|
+
userName: string;
|
|
9
|
+
menuItems: MenuItem[];
|
|
10
|
+
language: import("@testgorilla/tgo-ui").Language;
|
|
11
|
+
contentTemplateRef: TemplateRef<any>;
|
|
12
|
+
navigateEvent: EventEmitter<string>;
|
|
13
|
+
menuItemClicked: EventEmitter<string>;
|
|
14
|
+
logoutEvent: EventEmitter<void>;
|
|
15
|
+
protected readonly translationContext = "NAVBAR.";
|
|
16
|
+
isOpenSettings: boolean;
|
|
17
|
+
navigate(routeId: string): void;
|
|
18
|
+
logout(): void;
|
|
19
|
+
clickMenuItem(id: string): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MobileNavbarSideSheetComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MobileNavbarSideSheetComponent, "ui-mobile-navbar-side-sheet", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "email": { "alias": "email"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "language": { "alias": "language"; "required": false; }; "contentTemplateRef": { "alias": "contentTemplateRef"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; }, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { IRoute, MenuItem } from './navbar.model';
|
|
3
3
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
|
+
import { SideSheetService } from '../side-sheet/side-sheet.service';
|
|
5
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class NavbarComponent {
|
|
8
|
+
private readonly breakpointObserver;
|
|
6
9
|
private readonly defaultAppTheme;
|
|
10
|
+
private sideSheetService;
|
|
7
11
|
/**
|
|
8
12
|
* Routes object
|
|
9
13
|
*
|
|
@@ -26,6 +30,13 @@ export declare class NavbarComponent {
|
|
|
26
30
|
* @memberof NavbarComponent
|
|
27
31
|
*/
|
|
28
32
|
userName: string;
|
|
33
|
+
/**
|
|
34
|
+
* User email
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof NavbarComponent
|
|
38
|
+
*/
|
|
39
|
+
email: string;
|
|
29
40
|
/**
|
|
30
41
|
* Menu items to show in menu above the Log out button
|
|
31
42
|
*
|
|
@@ -48,6 +59,20 @@ export declare class NavbarComponent {
|
|
|
48
59
|
* @memberof NavbarComponent
|
|
49
60
|
*/
|
|
50
61
|
applicationTheme: ApplicationTheme;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* It's ng-content for mobile version
|
|
65
|
+
*
|
|
66
|
+
* @type {ApplicationTheme}
|
|
67
|
+
* @memberof NavbarComponent
|
|
68
|
+
*/
|
|
69
|
+
contentTemplateRef: TemplateRef<any>;
|
|
70
|
+
/**
|
|
71
|
+
* Mobile breakpoint
|
|
72
|
+
* @tyoe {number}
|
|
73
|
+
* @memberof NavbarComponent
|
|
74
|
+
*/
|
|
75
|
+
set mobileBreakpoint(value: number);
|
|
51
76
|
/**
|
|
52
77
|
*
|
|
53
78
|
* Show avatar with user initials
|
|
@@ -69,10 +94,14 @@ export declare class NavbarComponent {
|
|
|
69
94
|
*/
|
|
70
95
|
logoutEvent: EventEmitter<void>;
|
|
71
96
|
protected readonly translationContext = "NAVBAR.";
|
|
72
|
-
|
|
97
|
+
private readonly _mobileBreakpoint$;
|
|
98
|
+
private readonly mobileBreakpointObs$;
|
|
99
|
+
protected readonly isMobile$: import("rxjs").Observable<boolean>;
|
|
100
|
+
constructor(breakpointObserver: BreakpointObserver, defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService);
|
|
101
|
+
openMobileMenu(): void;
|
|
73
102
|
navigate(routeId: string): void;
|
|
74
103
|
logout(): void;
|
|
75
104
|
clickMenuItem(id: string): void;
|
|
76
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, [{ optional: true; }]>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "language": { "alias": "language"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "isAvatar": { "alias": "isAvatar"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; }, never, ["*"], false, never>;
|
|
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, ["[actions]", "*"], false, never>;
|
|
78
107
|
}
|
|
@@ -10,8 +10,11 @@ import * as i8 from "../logo/logo.component.module";
|
|
|
10
10
|
import * as i9 from "../icon/icon.component.module";
|
|
11
11
|
import * as i10 from "../../pipes/ui-translate.pipe";
|
|
12
12
|
import * as i11 from "../avatar/avatar.component.module";
|
|
13
|
+
import * as i12 from "../side-sheet/side-sheet.component.module";
|
|
14
|
+
import * as i13 from "../button/button.component.module";
|
|
15
|
+
import * as i14 from "./mobile-navbar-side-sheet/mobile-navbar-side-sheet.component";
|
|
13
16
|
export declare class NavbarComponentModule {
|
|
14
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponentModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NavbarComponentModule, [typeof i1.NavbarComponent], [typeof i2.CommonModule, typeof i3.MatToolbarModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatRippleModule, typeof i7.MatMenuModule, typeof i8.LogoComponentModule, typeof i9.IconComponentModule, typeof i10.UiTranslatePipe, typeof i11.AvatarComponentModule], [typeof i1.NavbarComponent]>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NavbarComponentModule, [typeof i1.NavbarComponent], [typeof i2.CommonModule, typeof i3.MatToolbarModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatRippleModule, typeof i7.MatMenuModule, typeof i8.LogoComponentModule, typeof i9.IconComponentModule, typeof i10.UiTranslatePipe, typeof i11.AvatarComponentModule, typeof i12.SideSheetComponentModule, typeof i13.ButtonComponentModule, typeof i14.MobileNavbarSideSheetComponent], [typeof i1.NavbarComponent]>;
|
|
16
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<NavbarComponentModule>;
|
|
17
20
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { DestroyRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PasswordComponent implements ControlValueAccessor {
|
|
5
|
+
private readonly destroyRef;
|
|
6
|
+
/**
|
|
7
|
+
* The language to be used
|
|
8
|
+
*
|
|
9
|
+
* @type {Language}
|
|
10
|
+
* @memberof PasswordComponent
|
|
11
|
+
*/
|
|
12
|
+
language: import("@testgorilla/tgo-ui").Language;
|
|
13
|
+
/**
|
|
14
|
+
* Show criteria for password. Defaults true
|
|
15
|
+
*
|
|
16
|
+
* @type {boolean}
|
|
17
|
+
* @memberof PasswordComponent
|
|
18
|
+
*/
|
|
19
|
+
showCriteria: boolean;
|
|
20
|
+
passwordChange: EventEmitter<string>;
|
|
21
|
+
protected formControl: FormControl<string | null>;
|
|
22
|
+
protected criteriaPassed: {
|
|
23
|
+
[key: string]: boolean;
|
|
24
|
+
};
|
|
25
|
+
protected showError: boolean;
|
|
26
|
+
protected progressValue: number;
|
|
27
|
+
protected criteria: {
|
|
28
|
+
translateKey: string;
|
|
29
|
+
key: string;
|
|
30
|
+
}[];
|
|
31
|
+
constructor(destroyRef: DestroyRef);
|
|
32
|
+
checkCriteria(): void;
|
|
33
|
+
countPassed(): number;
|
|
34
|
+
onChange: (v: any) => void;
|
|
35
|
+
onTouch: () => void;
|
|
36
|
+
writeValue(obj: any): void;
|
|
37
|
+
registerOnChange(fn: any): void;
|
|
38
|
+
registerOnTouched(fn: any): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordComponent, "ui-password-criteria", never, { "language": { "alias": "language"; "required": false; }; "showCriteria": { "alias": "showCriteria"; "required": false; }; }, { "passwordChange": "passwordChange"; }, never, never, false, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./password.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../field/field.component.module";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../icon/icon.component.module";
|
|
7
|
+
import * as i6 from "../progress-bar/progress-bar.component.module";
|
|
8
|
+
import * as i7 from "../../pipes/ui-translate.pipe";
|
|
9
|
+
export declare class PasswordComponentModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordComponentModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PasswordComponentModule, [typeof i1.PasswordComponent], [typeof i2.CommonModule, typeof i3.FieldComponentModule, typeof i4.ReactiveFormsModule, typeof i5.IconComponentModule, typeof i6.ProgressBarComponentModule, typeof i7.UiTranslatePipe], [typeof i1.PasswordComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PasswordComponentModule>;
|
|
13
|
+
}
|
|
@@ -35,6 +35,7 @@ export declare class SideSheetComponent implements OnInit {
|
|
|
35
35
|
protected title: string;
|
|
36
36
|
protected showBackButton: boolean;
|
|
37
37
|
protected showTitleTooltip: boolean;
|
|
38
|
+
protected showLogo: boolean;
|
|
38
39
|
protected componentRef$: import("rxjs").Observable<SideSheetConfig | null>;
|
|
39
40
|
constructor(defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef);
|
|
40
41
|
ngOnInit(): void;
|
|
@@ -6,8 +6,9 @@ import * as i4 from "../button/button.component.module";
|
|
|
6
6
|
import * as i5 from "@angular/material/tooltip";
|
|
7
7
|
import * as i6 from "@angular/material/sidenav";
|
|
8
8
|
import * as i7 from "../../pipes/ui-translate.pipe";
|
|
9
|
+
import * as i8 from "../logo/logo.component.module";
|
|
9
10
|
export declare class SideSheetComponentModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponentModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SideSheetComponentModule, [typeof i1.SideSheetComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.ButtonComponentModule, typeof i5.MatTooltipModule, typeof i6.MatSidenavModule, typeof i7.UiTranslatePipe], [typeof i1.SideSheetComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SideSheetComponentModule, [typeof i1.SideSheetComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.ButtonComponentModule, typeof i5.MatTooltipModule, typeof i6.MatSidenavModule, typeof i7.UiTranslatePipe, typeof i8.LogoComponentModule], [typeof i1.SideSheetComponent]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<SideSheetComponentModule>;
|
|
13
14
|
}
|
|
@@ -6,7 +6,7 @@ export declare class SideSheetService {
|
|
|
6
6
|
private applicationRef;
|
|
7
7
|
private componentRef$;
|
|
8
8
|
constructor(applicationRef: ApplicationRef);
|
|
9
|
-
open(config: SideSheetConfig):
|
|
9
|
+
open<T>(config: SideSheetConfig): T;
|
|
10
10
|
close(): void;
|
|
11
11
|
getComponentRef(): Observable<SideSheetConfig | null>;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetService, never>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { RegisterFn } from './toggle.model';
|
|
4
4
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class ToggleComponent implements ControlValueAccessor, OnChanges {
|
|
6
|
+
export declare class ToggleComponent implements ControlValueAccessor, OnChanges, OnInit {
|
|
7
7
|
private readonly defaultAppTheme;
|
|
8
8
|
/**
|
|
9
9
|
* The `selected` property determines the current state of the toggle switch.
|
|
@@ -77,6 +77,7 @@ export declare class ToggleComponent implements ControlValueAccessor, OnChanges
|
|
|
77
77
|
protected classes: string;
|
|
78
78
|
constructor(defaultAppTheme: ApplicationTheme);
|
|
79
79
|
ngOnChanges(): void;
|
|
80
|
+
ngOnInit(): void;
|
|
80
81
|
onToggle(): void;
|
|
81
82
|
writeValue(state: boolean): void;
|
|
82
83
|
registerOnChange(fn: RegisterFn): void;
|
|
@@ -74,5 +74,13 @@
|
|
|
74
74
|
},
|
|
75
75
|
"NAVBAR": {
|
|
76
76
|
"LOG_OUT": "Log out"
|
|
77
|
+
},
|
|
78
|
+
"PASSWORD": {
|
|
79
|
+
"LOWERCASE": "Contains at least one lowercase",
|
|
80
|
+
"UPPERCASE": "Contains at least one uppercase",
|
|
81
|
+
"NUMBER": "Contains at least one number",
|
|
82
|
+
"SPECIAL_CHARACTER": "Contains at least one special character",
|
|
83
|
+
"CHARACTERS": "Contains at least 12 characters",
|
|
84
|
+
"PASSWORD_PLACEHOLDER": "Password"
|
|
77
85
|
}
|
|
78
86
|
}
|
|
@@ -12,7 +12,7 @@ export class AccordionComponentModule {
|
|
|
12
12
|
IconComponentModule,
|
|
13
13
|
ButtonComponentModule,
|
|
14
14
|
MatTooltipModule,
|
|
15
|
-
MatExpansionModule] }); }
|
|
15
|
+
MatExpansionModule], exports: [AccordionComponent] }); }
|
|
16
16
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccordionComponentModule, imports: [CommonModule,
|
|
17
17
|
IconComponentModule,
|
|
18
18
|
ButtonComponentModule,
|
|
@@ -25,6 +25,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
25
25
|
declarations: [
|
|
26
26
|
AccordionComponent
|
|
27
27
|
],
|
|
28
|
+
exports: [
|
|
29
|
+
AccordionComponent
|
|
30
|
+
],
|
|
28
31
|
imports: [
|
|
29
32
|
CommonModule,
|
|
30
33
|
IconComponentModule,
|
|
@@ -34,4 +37,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
34
37
|
]
|
|
35
38
|
}]
|
|
36
39
|
}] });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmNvbXBvbmVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9hY2NvcmRpb24vYWNjb3JkaW9uLmNvbXBvbmVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDM0QsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDcEUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDMUUsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDN0QsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7O0FBbUJqRSxNQUFNLE9BQU8sd0JBQXdCOytHQUF4Qix3QkFBd0I7Z0hBQXhCLHdCQUF3QixpQkFiN0Isa0JBQWtCLGFBTWxCLFlBQVk7WUFDWixtQkFBbUI7WUFDbkIscUJBQXFCO1lBQ3JCLGdCQUFnQjtZQUNoQixrQkFBa0IsYUFQbEIsa0JBQWtCO2dIQVViLHdCQUF3QixZQVA3QixZQUFZO1lBQ1osbUJBQW1CO1lBQ25CLHFCQUFxQjtZQUNyQixnQkFBZ0I7WUFDaEIsa0JBQWtCOzs0RkFHYix3QkFBd0I7a0JBZnBDLFFBQVE7bUJBQUM7b0JBQ04sWUFBWSxFQUFFO3dCQUNWLGtCQUFrQjtxQkFDckI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNMLGtCQUFrQjtxQkFDckI7b0JBQ0QsT0FBTyxFQUFFO3dCQUNMLFlBQVk7d0JBQ1osbUJBQW1CO3dCQUNuQixxQkFBcUI7d0JBQ3JCLGdCQUFnQjt3QkFDaEIsa0JBQWtCO3FCQUNyQjtpQkFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgQWNjb3JkaW9uQ29tcG9uZW50IH0gZnJvbSAnLi9hY2NvcmRpb24uY29tcG9uZW50JztcbmltcG9ydCB7IEljb25Db21wb25lbnRNb2R1bGUgfSBmcm9tIFwiLi4vaWNvbi9pY29uLmNvbXBvbmVudC5tb2R1bGVcIjtcbmltcG9ydCB7IEJ1dHRvbkNvbXBvbmVudE1vZHVsZSB9IGZyb20gXCIuLi9idXR0b24vYnV0dG9uLmNvbXBvbmVudC5tb2R1bGVcIjtcbmltcG9ydCB7IE1hdFRvb2x0aXBNb2R1bGUgfSBmcm9tIFwiQGFuZ3VsYXIvbWF0ZXJpYWwvdG9vbHRpcFwiO1xuaW1wb3J0IHsgTWF0RXhwYW5zaW9uTW9kdWxlIH0gZnJvbSBcIkBhbmd1bGFyL21hdGVyaWFsL2V4cGFuc2lvblwiO1xuXG5cblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgQWNjb3JkaW9uQ29tcG9uZW50XG4gICAgXSxcbiAgICBleHBvcnRzOiBbXG4gICAgICAgIEFjY29yZGlvbkNvbXBvbmVudFxuICAgIF0sXG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIEljb25Db21wb25lbnRNb2R1bGUsXG4gICAgICAgIEJ1dHRvbkNvbXBvbmVudE1vZHVsZSxcbiAgICAgICAgTWF0VG9vbHRpcE1vZHVsZSxcbiAgICAgICAgTWF0RXhwYW5zaW9uTW9kdWxlXG4gICAgXVxufSlcbmV4cG9ydCBjbGFzcyBBY2NvcmRpb25Db21wb25lbnRNb2R1bGUgeyB9XG4iXX0=
|