@testgorilla/tgo-ui 1.8.0 → 1.9.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.d.ts +47 -0
- package/components/accordion/accordion.component.module.d.ts +12 -0
- package/components/button/button.component.d.ts +19 -3
- package/components/button/button.model.d.ts +1 -0
- package/components/checkbox/checkbox.component.d.ts +2 -2
- package/components/dialog/dialog.component.d.ts +9 -1
- package/components/divider/divider.component.d.ts +21 -0
- package/components/divider/divider.component.module.d.ts +9 -0
- package/components/divider/divider.model.d.ts +1 -0
- package/components/file-upload/file-upload.component.d.ts +9 -1
- package/components/page-header/page-header.component.d.ts +39 -0
- package/components/page-header/page-header.component.module.d.ts +10 -0
- package/components/progress-bar/progress-bar.component.d.ts +2 -2
- package/components/radio-button/radio-button.component.d.ts +2 -2
- package/components/tabs/tab.directive.d.ts +18 -0
- package/components/tabs/tabs.component.d.ts +24 -0
- package/components/tabs/tabs.component.module.d.ts +11 -0
- package/components/tabs/tabs.model.d.ts +9 -0
- package/esm2022/components/accordion/accordion.component.mjs +74 -0
- package/esm2022/components/accordion/accordion.component.module.mjs +37 -0
- package/esm2022/components/alert-banner/alert-banner.component.mjs +3 -3
- package/esm2022/components/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/components/avatar/avatar.component.mjs +2 -2
- package/esm2022/components/badge/badge.component.mjs +2 -2
- package/esm2022/components/banner-action/banner-action.component.mjs +2 -2
- package/esm2022/components/button/button.component.mjs +61 -7
- package/esm2022/components/button/button.model.mjs +1 -1
- package/esm2022/components/card/card.component.mjs +2 -2
- package/esm2022/components/checkbox/checkbox.component.mjs +6 -6
- package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +1 -1
- package/esm2022/components/datepicker/datepicker.component.mjs +2 -2
- package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +2 -2
- package/esm2022/components/deprecated-table/deprecated-table.component.mjs +3 -3
- package/esm2022/components/dialog/dialog.component.mjs +17 -4
- package/esm2022/components/divider/divider.component.mjs +37 -0
- package/esm2022/components/divider/divider.component.module.mjs +19 -0
- package/esm2022/components/divider/divider.model.mjs +2 -0
- package/esm2022/components/dropdown/dropdown.component.mjs +2 -2
- package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +2 -2
- package/esm2022/components/empty-state/empty-state.component.mjs +2 -2
- package/esm2022/components/field/field.component.mjs +2 -2
- package/esm2022/components/file-upload/file-upload.component.mjs +17 -4
- package/esm2022/components/icon/icon.component.mjs +2 -2
- package/esm2022/components/navbar/navbar.component.mjs +2 -2
- package/esm2022/components/navigation/navigation.component.mjs +2 -2
- package/esm2022/components/page-header/page-header.component.mjs +68 -0
- package/esm2022/components/page-header/page-header.component.module.mjs +39 -0
- package/esm2022/components/paginator/paginator.component.mjs +2 -2
- package/esm2022/components/progress-bar/progress-bar.component.mjs +5 -5
- package/esm2022/components/radial-progress/radial-progress.component.mjs +2 -2
- package/esm2022/components/radio-button/radio-button.component.mjs +5 -5
- package/esm2022/components/rating/rating.component.mjs +2 -2
- package/esm2022/components/segmented-bar/segmented-bar.component.mjs +2 -2
- package/esm2022/components/side-sheet/side-sheet.component.mjs +2 -2
- package/esm2022/components/slider/slider.component.mjs +2 -2
- package/esm2022/components/snackbar/snackbar.component.mjs +4 -3
- package/esm2022/components/spinner/spinner.component.mjs +2 -2
- package/esm2022/components/step/step.component.mjs +2 -2
- package/esm2022/components/stepper/stepper.component.mjs +2 -2
- package/esm2022/components/table/table.component.mjs +2 -2
- package/esm2022/components/tabs/tab.directive.mjs +42 -0
- package/esm2022/components/tabs/tabs.component.mjs +43 -0
- package/esm2022/components/tabs/tabs.component.module.mjs +32 -0
- package/esm2022/components/tabs/tabs.model.mjs +2 -0
- package/esm2022/components/tag/tag.component.mjs +2 -2
- package/esm2022/components/toggle/toggle.component.mjs +2 -2
- package/esm2022/public-api.mjs +16 -1
- package/esm2022/utils/color-contrast.mjs +117 -0
- package/fesm2022/testgorilla-tgo-ui.mjs +663 -123
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +11 -0
- package/src/theme/_core.scss +1 -1
- package/src/theme/_variables.scss +3 -0
- package/utils/color-contrast.d.ts +9 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AccordionComponent {
|
|
4
|
+
/**
|
|
5
|
+
* The label displayed for the accordion.
|
|
6
|
+
* @type {string}
|
|
7
|
+
* @required
|
|
8
|
+
* @memberof AccordionComponent
|
|
9
|
+
*/
|
|
10
|
+
label: string;
|
|
11
|
+
/**
|
|
12
|
+
* Determines whether the accordion is initially open.
|
|
13
|
+
* @type {boolean}
|
|
14
|
+
* @default false
|
|
15
|
+
* @memberof AccordionComponent
|
|
16
|
+
*/
|
|
17
|
+
open: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Disables the accordion if set to true.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @default false
|
|
22
|
+
* @memberof AccordionComponent
|
|
23
|
+
*/
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Indicates whether to show a premium icon.
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @default false
|
|
29
|
+
* @memberof AccordionComponent
|
|
30
|
+
*/
|
|
31
|
+
showPremiumIcon: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The tooltip text for the premium icon.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @default ''
|
|
36
|
+
* @memberof AccordionComponent
|
|
37
|
+
*/
|
|
38
|
+
premiumTooltipText: string;
|
|
39
|
+
closed: EventEmitter<void>;
|
|
40
|
+
opened: EventEmitter<void>;
|
|
41
|
+
protected toggle(open: boolean): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ui-accordion", never, { "label": { "alias": "label"; "required": true; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showPremiumIcon": { "alias": "showPremiumIcon"; "required": false; }; "premiumTooltipText": { "alias": "premiumTooltipText"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, never, ["[actions]", "*"], false, never>;
|
|
44
|
+
static ngAcceptInputType_open: unknown;
|
|
45
|
+
static ngAcceptInputType_disabled: unknown;
|
|
46
|
+
static ngAcceptInputType_showPremiumIcon: unknown;
|
|
47
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./accordion.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../icon/icon.component.module";
|
|
5
|
+
import * as i4 from "../button/button.component.module";
|
|
6
|
+
import * as i5 from "@angular/material/tooltip";
|
|
7
|
+
import * as i6 from "@angular/material/expansion";
|
|
8
|
+
export declare class AccordionComponentModule {
|
|
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], never>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AccordionComponentModule>;
|
|
12
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { IconName } from '
|
|
3
|
-
import { ButtonColor, ButtonIconPosition, ButtonSize, ButtonType, IconButtonSize, LinkUrlTarget } from './button.model';
|
|
2
|
+
import { IconName } from '../icon/icon.model';
|
|
3
|
+
import { ButtonColor, ButtonIconPosition, ButtonSize, ButtonState, ButtonType, IconButtonSize, LinkUrlTarget } from './button.model';
|
|
4
|
+
import { MatButton } from '@angular/material/button';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
6
7
|
/**
|
|
@@ -102,12 +103,24 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
|
102
103
|
* @default 'button'
|
|
103
104
|
*/
|
|
104
105
|
type: ButtonType;
|
|
106
|
+
/**
|
|
107
|
+
* Color of the button.
|
|
108
|
+
* Defaults to Test Gorilla primary color.
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof ButtonComponent
|
|
112
|
+
*/
|
|
113
|
+
companyColor: string;
|
|
105
114
|
buttonClickEvent: EventEmitter<Event>;
|
|
106
115
|
buttonHoverEvent: EventEmitter<Event>;
|
|
116
|
+
buttonElement: MatButton;
|
|
107
117
|
constructor();
|
|
108
118
|
classCss: string;
|
|
119
|
+
styleCss: any;
|
|
109
120
|
isButtonLink: boolean;
|
|
110
121
|
isLabel: boolean;
|
|
122
|
+
buttonState: ButtonState;
|
|
123
|
+
hover: boolean;
|
|
111
124
|
iconButtonSize: IconButtonSize;
|
|
112
125
|
allowButtonTypeForPremium: ButtonColor[];
|
|
113
126
|
get typeIncluded(): boolean;
|
|
@@ -118,9 +131,12 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
|
118
131
|
buttonHover(event: Event): void;
|
|
119
132
|
showLabel(): boolean;
|
|
120
133
|
setCssClass(): string;
|
|
134
|
+
setCssStyle(): any;
|
|
121
135
|
showSpinner(): boolean;
|
|
122
136
|
showButtonLink(): boolean;
|
|
123
137
|
setIconButtonSize(): IconButtonSize;
|
|
138
|
+
onPressed(ev: Event): void;
|
|
139
|
+
focus(): void;
|
|
124
140
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
125
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, false, never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, false, never>;
|
|
126
142
|
}
|
|
@@ -4,3 +4,4 @@ export type ButtonSize = 'big' | 'small';
|
|
|
4
4
|
export type LinkUrlTarget = '' | '_self' | '_blank' | '_parent' | '_top';
|
|
5
5
|
export type IconButtonSize = '32' | '40';
|
|
6
6
|
export type ButtonType = 'button' | 'submit' | 'reset';
|
|
7
|
+
export type ButtonState = 'hover' | 'pressed' | 'disabled' | 'default';
|
|
@@ -35,7 +35,7 @@ export declare class CheckboxComponent implements OnInit, ControlValueAccessor {
|
|
|
35
35
|
* @type {string}
|
|
36
36
|
* @memberof CheckboxComponent
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
companyColor: string;
|
|
39
39
|
/**
|
|
40
40
|
* Name value will be applied to the input element if present.
|
|
41
41
|
*
|
|
@@ -83,5 +83,5 @@ export declare class CheckboxComponent implements OnInit, ControlValueAccessor {
|
|
|
83
83
|
registerOnTouched(fn: any): void;
|
|
84
84
|
setDisabledState(isDisabled: boolean): void;
|
|
85
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
86
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
87
87
|
}
|
|
@@ -56,6 +56,14 @@ export declare class DialogComponent implements OnInit, OnChanges {
|
|
|
56
56
|
* @memberof DialogComponent
|
|
57
57
|
*/
|
|
58
58
|
set language(value: Language);
|
|
59
|
+
/**
|
|
60
|
+
* Color of the dialog.
|
|
61
|
+
* Defaults to Test Gorilla primary color.
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof DialogComponent
|
|
65
|
+
*/
|
|
66
|
+
companyColor: string;
|
|
59
67
|
closeEvent: EventEmitter<Event>;
|
|
60
68
|
secondaryButtonClickEvent: EventEmitter<Event>;
|
|
61
69
|
primaryButtonClickEvent: EventEmitter<Event>;
|
|
@@ -70,5 +78,5 @@ export declare class DialogComponent implements OnInit, OnChanges {
|
|
|
70
78
|
onSecondaryButtonClick(event: Event): void;
|
|
71
79
|
onPrimaryButtonClick(event: Event): void;
|
|
72
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
73
|
-
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; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, never, ["*"], false, never>;
|
|
81
|
+
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; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, never, ["*"], false, never>;
|
|
74
82
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DividerSize } from './divider.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DividerComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Divider size
|
|
6
|
+
*
|
|
7
|
+
* @type {DividerSize}
|
|
8
|
+
* @memberof DividerComponent
|
|
9
|
+
*/
|
|
10
|
+
size: DividerSize;
|
|
11
|
+
/**
|
|
12
|
+
* Determines whether the checkbox color.
|
|
13
|
+
* Default: Test Gorilla primary color.
|
|
14
|
+
*
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof DividerComponent
|
|
17
|
+
*/
|
|
18
|
+
companyColor: string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "ui-divider", never, { "size": { "alias": "size"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./divider.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/divider";
|
|
5
|
+
export declare class DividerComponentModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponentModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DividerComponentModule, [typeof i1.DividerComponent], [typeof i2.CommonModule, typeof i3.MatDividerModule], [typeof i1.DividerComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DividerComponentModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type DividerSize = 'small' | 'large';
|
|
@@ -53,6 +53,14 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
|
|
|
53
53
|
* @memberof FileUploadComponent
|
|
54
54
|
*/
|
|
55
55
|
set language(value: Language);
|
|
56
|
+
/**
|
|
57
|
+
* Color of the file upload.
|
|
58
|
+
* Defaults to Test Gorilla primary color.
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof FileUploadComponent
|
|
62
|
+
*/
|
|
63
|
+
companyColor: string;
|
|
56
64
|
OnDrop: EventEmitter<File>;
|
|
57
65
|
private lang;
|
|
58
66
|
protected readonly translationContext = "FILE_UPLOAD.";
|
|
@@ -81,5 +89,5 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
|
|
|
81
89
|
registerOnTouched(fn: any): void;
|
|
82
90
|
setDisabledState(isDisabled: boolean): void;
|
|
83
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "required": false; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "file": { "alias": "file"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "required": false; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "file": { "alias": "file"; "required": false; }; "language": { "alias": "language"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
|
|
85
93
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Language, LanguageService } from '../../utils/localization/language.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PageHeaderComponent implements OnInit {
|
|
6
|
+
protected readonly isMobile$: Observable<boolean>;
|
|
7
|
+
private readonly languageService;
|
|
8
|
+
/**
|
|
9
|
+
* Flag to determine whether the "Back" button should be displayed.
|
|
10
|
+
* @default true
|
|
11
|
+
* @memberof PageHeaderComponent
|
|
12
|
+
*/
|
|
13
|
+
showBackButton: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* The language to be used
|
|
16
|
+
* @property language
|
|
17
|
+
* @type {Language}
|
|
18
|
+
* @memberof PageHeaderComponent
|
|
19
|
+
*/
|
|
20
|
+
set language(value: Language);
|
|
21
|
+
/**
|
|
22
|
+
* Back button tooltip for mobile variation
|
|
23
|
+
* @property tooltip
|
|
24
|
+
* @memberof PageHeaderComponent
|
|
25
|
+
*/
|
|
26
|
+
tooltip: string;
|
|
27
|
+
/**
|
|
28
|
+
* Event triggered when the "Back" button is clicked.
|
|
29
|
+
* @memberof PageHeaderComponent
|
|
30
|
+
*/
|
|
31
|
+
back: EventEmitter<void>;
|
|
32
|
+
private lang;
|
|
33
|
+
constructor(isMobile$: Observable<boolean>, languageService: LanguageService);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
protected onBack(): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ui-page-header", never, { "showBackButton": { "alias": "showBackButton"; "required": false; }; "language": { "alias": "language"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "back": "back"; }, never, ["[content]", "[right-side]"], false, never>;
|
|
38
|
+
static ngAcceptInputType_showBackButton: unknown;
|
|
39
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./page-header.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../button/button.component.module";
|
|
5
|
+
import * as i4 from "@ngneat/transloco";
|
|
6
|
+
export declare class PageHeaderModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, [typeof i1.PageHeaderComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.TranslocoModule], never>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
|
|
10
|
+
}
|
|
@@ -8,7 +8,7 @@ export declare class ProgressBarComponent {
|
|
|
8
8
|
* @type {string}
|
|
9
9
|
* @memberof ProgressBarComponent
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
companyColor: string;
|
|
12
12
|
/**
|
|
13
13
|
* Progress value of the progress bar.
|
|
14
14
|
* Defaults to zero.
|
|
@@ -36,5 +36,5 @@ export declare class ProgressBarComponent {
|
|
|
36
36
|
buffer: number;
|
|
37
37
|
constructor();
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ui-progress-bar", never, { "
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ui-progress-bar", never, { "companyColor": { "alias": "companyColor"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "buffer": { "alias": "buffer"; "required": false; }; }, {}, never, never, false, never>;
|
|
40
40
|
}
|
|
@@ -36,7 +36,7 @@ export declare class RadioButtonComponent implements OnInit, OnChanges {
|
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof RadioButtonComponent
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
companyColor: string;
|
|
40
40
|
/**
|
|
41
41
|
* Used to group radios for unique selection.
|
|
42
42
|
*
|
|
@@ -80,5 +80,5 @@ export declare class RadioButtonComponent implements OnInit, OnChanges {
|
|
|
80
80
|
clickRadio(element: MatRadioButton, event: MouseEvent): void;
|
|
81
81
|
setClass(): string;
|
|
82
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
83
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ui-radio-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowUnselect": { "alias": "allowUnselect"; "required": false; }; "
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ui-radio-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowUnselect": { "alias": "allowUnselect"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "changeRadio": "changeRadio"; }, never, never, false, never>;
|
|
84
84
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { TabsComponent } from "./tabs.component";
|
|
3
|
+
import { IconName } from '../icon/icon.model';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TabDirective implements OnChanges {
|
|
6
|
+
private tabsComponent;
|
|
7
|
+
private template;
|
|
8
|
+
tabName: string;
|
|
9
|
+
iconLeft: IconName;
|
|
10
|
+
iconRight: IconName;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
constructor(tabsComponent: TabsComponent, template: TemplateRef<any>);
|
|
13
|
+
ngOnChanges(): void;
|
|
14
|
+
private addTab;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabDirective, [{ host: true; }, null]>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabDirective, "[uiTab]", never, { "tabName": { "alias": "tabName"; "required": true; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
static ngAcceptInputType_disabled: unknown;
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Tab, TabsType } from "./tabs.model";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TabsComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Color of the Tabs.
|
|
6
|
+
* Defaults to Test Gorilla primary color.
|
|
7
|
+
*
|
|
8
|
+
* @type {string}
|
|
9
|
+
* @memberof TabsComponent
|
|
10
|
+
*/
|
|
11
|
+
companyColor: string;
|
|
12
|
+
/**
|
|
13
|
+
* Type the Tabs.
|
|
14
|
+
* Defaults underlined.
|
|
15
|
+
*
|
|
16
|
+
* @type {TabsType}
|
|
17
|
+
* @memberof TabsComponent
|
|
18
|
+
*/
|
|
19
|
+
type: TabsType;
|
|
20
|
+
protected tabs: Tab[];
|
|
21
|
+
addTab(tab: Tab): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ui-tabs", never, { "companyColor": { "alias": "companyColor"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tabs.component";
|
|
3
|
+
import * as i2 from "./tab.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/material/tabs";
|
|
6
|
+
import * as i5 from "../icon/icon.component.module";
|
|
7
|
+
export declare class TabsComponentModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponentModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TabsComponentModule, [typeof i1.TabsComponent, typeof i2.TabDirective], [typeof i3.CommonModule, typeof i4.MatTabsModule, typeof i5.IconComponentModule], never>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TabsComponentModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { booleanAttribute, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "../icon/icon.component";
|
|
5
|
+
import * as i3 from "@angular/material/tooltip";
|
|
6
|
+
import * as i4 from "@angular/material/expansion";
|
|
7
|
+
export class AccordionComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
/**
|
|
10
|
+
* Determines whether the accordion is initially open.
|
|
11
|
+
* @type {boolean}
|
|
12
|
+
* @default false
|
|
13
|
+
* @memberof AccordionComponent
|
|
14
|
+
*/
|
|
15
|
+
this.open = false;
|
|
16
|
+
/**
|
|
17
|
+
* Disables the accordion if set to true.
|
|
18
|
+
* @type {boolean}
|
|
19
|
+
* @default false
|
|
20
|
+
* @memberof AccordionComponent
|
|
21
|
+
*/
|
|
22
|
+
this.disabled = false;
|
|
23
|
+
/**
|
|
24
|
+
* Indicates whether to show a premium icon.
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @default false
|
|
27
|
+
* @memberof AccordionComponent
|
|
28
|
+
*/
|
|
29
|
+
this.showPremiumIcon = false;
|
|
30
|
+
/**
|
|
31
|
+
* The tooltip text for the premium icon.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @default ''
|
|
34
|
+
* @memberof AccordionComponent
|
|
35
|
+
*/
|
|
36
|
+
this.premiumTooltipText = '';
|
|
37
|
+
this.closed = new EventEmitter();
|
|
38
|
+
this.opened = new EventEmitter();
|
|
39
|
+
}
|
|
40
|
+
toggle(open) {
|
|
41
|
+
this.open = open;
|
|
42
|
+
if (this.open) {
|
|
43
|
+
this.opened.emit();
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this.closed.emit();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
50
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: AccordionComponent, selector: "ui-accordion", inputs: { label: "label", open: ["open", "open", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], showPremiumIcon: ["showPremiumIcon", "showPremiumIcon", booleanAttribute], premiumTooltipText: "premiumTooltipText" }, outputs: { closed: "closed", opened: "opened" }, ngImport: i0, template: "<mat-accordion class=\"accordion-wrapper\" [ngClass]=\"{ disabled }\">\n <mat-expansion-panel [expanded]=\"open\"\n (opened)=\"toggle(true)\"\n (closed)=\"toggle(false)\">\n <mat-expansion-panel-header >\n <mat-panel-title>\n <div class=\"accordion-label\">\n {{ label }}\n <ui-icon [matTooltip]=\"premiumTooltipText\" [name]=\"'Premium'\" *ngIf=\"showPremiumIcon\"></ui-icon>\n </div>\n </mat-panel-title>\n <mat-panel-description>\n <div class=\"accordion-actions\">\n <ng-content select=\"[actions]\"></ng-content>\n </div>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <ng-content></ng-content>\n </mat-expansion-panel>\n</mat-accordion>\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:#000000}.bg-dark{background:#888888}.bg-medium{background:#E0E0E0}.bg-grey{background:#EDEDED}.bg-light{background:#F6F6F6}.bg-white{background:#ffffff}.bg-box-shadow{background:rgba(0,0,0,.0784313725)}.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}.flex-center,.mat-expansion-panel-header .accordion-label,.mat-expansion-panel-header-description .accordion-actions{display:flex;justify-content:center;align-items:center}:host ::ng-deep .mat-expansion-panel-body{background:#EDEDED;border-radius:8px;width:calc(100% - 32px);padding:0;margin:0 auto}:host ::ng-deep .mat-expansion-indicator:after{color:#000!important;margin-top:-6px}.mat-expansion-panel{box-shadow:unset!important;background:transparent}.accordion-wrapper.disabled{opacity:.5;pointer-events:none}.mat-expansion-panel-header-description{justify-content:end;margin:0 16px 0 8px}.mat-expansion-panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 22px 12px 16px;height:48px!important;border-radius:8px;z-index:1;border:1px solid transparent}.mat-expansion-panel-header:focus{border:1px dashed #888888!important}.mat-expansion-panel-header:hover{background:#F6F6F6!important}.mat-expansion-panel-header .accordion-label{font-size:14px;font-weight:700;gap:8px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color"] }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: i4.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i4.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i4.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i4.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i4.MatExpansionPanelDescription, selector: "mat-panel-description" }] }); }
|
|
51
|
+
}
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccordionComponent, decorators: [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{ selector: 'ui-accordion', template: "<mat-accordion class=\"accordion-wrapper\" [ngClass]=\"{ disabled }\">\n <mat-expansion-panel [expanded]=\"open\"\n (opened)=\"toggle(true)\"\n (closed)=\"toggle(false)\">\n <mat-expansion-panel-header >\n <mat-panel-title>\n <div class=\"accordion-label\">\n {{ label }}\n <ui-icon [matTooltip]=\"premiumTooltipText\" [name]=\"'Premium'\" *ngIf=\"showPremiumIcon\"></ui-icon>\n </div>\n </mat-panel-title>\n <mat-panel-description>\n <div class=\"accordion-actions\">\n <ng-content select=\"[actions]\"></ng-content>\n </div>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <ng-content></ng-content>\n </mat-expansion-panel>\n</mat-accordion>\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:#000000}.bg-dark{background:#888888}.bg-medium{background:#E0E0E0}.bg-grey{background:#EDEDED}.bg-light{background:#F6F6F6}.bg-white{background:#ffffff}.bg-box-shadow{background:rgba(0,0,0,.0784313725)}.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}.flex-center,.mat-expansion-panel-header .accordion-label,.mat-expansion-panel-header-description .accordion-actions{display:flex;justify-content:center;align-items:center}:host ::ng-deep .mat-expansion-panel-body{background:#EDEDED;border-radius:8px;width:calc(100% - 32px);padding:0;margin:0 auto}:host ::ng-deep .mat-expansion-indicator:after{color:#000!important;margin-top:-6px}.mat-expansion-panel{box-shadow:unset!important;background:transparent}.accordion-wrapper.disabled{opacity:.5;pointer-events:none}.mat-expansion-panel-header-description{justify-content:end;margin:0 16px 0 8px}.mat-expansion-panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 22px 12px 16px;height:48px!important;border-radius:8px;z-index:1;border:1px solid transparent}.mat-expansion-panel-header:focus{border:1px dashed #888888!important}.mat-expansion-panel-header:hover{background:#F6F6F6!important}.mat-expansion-panel-header .accordion-label{font-size:14px;font-weight:700;gap:8px}\n"] }]
|
|
55
|
+
}], propDecorators: { label: [{
|
|
56
|
+
type: Input,
|
|
57
|
+
args: [{ required: true }]
|
|
58
|
+
}], open: [{
|
|
59
|
+
type: Input,
|
|
60
|
+
args: [{ transform: booleanAttribute }]
|
|
61
|
+
}], disabled: [{
|
|
62
|
+
type: Input,
|
|
63
|
+
args: [{ transform: booleanAttribute }]
|
|
64
|
+
}], showPremiumIcon: [{
|
|
65
|
+
type: Input,
|
|
66
|
+
args: [{ transform: booleanAttribute }]
|
|
67
|
+
}], premiumTooltipText: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], closed: [{
|
|
70
|
+
type: Output
|
|
71
|
+
}], opened: [{
|
|
72
|
+
type: Output
|
|
73
|
+
}] } });
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL2FjY29yZGlvbi9hY2NvcmRpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvYWNjb3JkaW9uL2FjY29yZGlvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7QUFPekYsTUFBTSxPQUFPLGtCQUFrQjtJQUwvQjtRQWNFOzs7OztXQUtHO1FBQ3FDLFNBQUksR0FBRyxLQUFLLENBQUM7UUFFckQ7Ozs7O1dBS0c7UUFDcUMsYUFBUSxHQUFHLEtBQUssQ0FBQztRQUV6RDs7Ozs7V0FLRztRQUNxQyxvQkFBZSxHQUFHLEtBQUssQ0FBQztRQUVoRTs7Ozs7V0FLRztRQUNNLHVCQUFrQixHQUFHLEVBQUUsQ0FBQztRQUV2QixXQUFNLEdBQUcsSUFBSSxZQUFZLEVBQVEsQ0FBQztRQUNsQyxXQUFNLEdBQUcsSUFBSSxZQUFZLEVBQVEsQ0FBQztLQVc3QztJQVRXLE1BQU0sQ0FB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LWxhYmVsXCI+XG4gICAgICAgICAge3sgbGFiZWwgfX1cbiAgICAgICAgICA8dWktaWNvbiBbbWF0VG9vbHRpcF09XCJwcmVtaXVtVG9vbHRpcFRleHRcIiBbbmFtZV09XCInUHJlbWl1bSdcIiAqbmdJZj1cInNob3dQcmVtaXVtSWNvblwiPjwvdWktaWNvbj5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L21hdC1wYW5lbC10aXRsZT5cbiAgICAgIDxtYXQtcGFuZWwtZGVzY3JpcHRpb24+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJhY2NvcmRpb24tYWN0aW9uc1wiPlxuICAgICAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIlthY3Rpb25zXVwiPjwvbmctY29udGVudD5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L21hdC1wYW5lbC1kZXNjcmlwdGlvbj5cbiAgICA8L21hdC1leHBhbnNpb24tcGFuZWwtaGVhZGVyPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPC9tYXQtZXhwYW5zaW9uLXBhbmVsPlxuPC9tYXQtYWNjb3JkaW9uPlxuIl19
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AccordionComponent } from './accordion.component';
|
|
4
|
+
import { IconComponentModule } from "../icon/icon.component.module";
|
|
5
|
+
import { ButtonComponentModule } from "../button/button.component.module";
|
|
6
|
+
import { MatTooltipModule } from "@angular/material/tooltip";
|
|
7
|
+
import { MatExpansionModule } from "@angular/material/expansion";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class AccordionComponentModule {
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccordionComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AccordionComponentModule, declarations: [AccordionComponent], imports: [CommonModule,
|
|
12
|
+
IconComponentModule,
|
|
13
|
+
ButtonComponentModule,
|
|
14
|
+
MatTooltipModule,
|
|
15
|
+
MatExpansionModule] }); }
|
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccordionComponentModule, imports: [CommonModule,
|
|
17
|
+
IconComponentModule,
|
|
18
|
+
ButtonComponentModule,
|
|
19
|
+
MatTooltipModule,
|
|
20
|
+
MatExpansionModule] }); }
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AccordionComponentModule, decorators: [{
|
|
23
|
+
type: NgModule,
|
|
24
|
+
args: [{
|
|
25
|
+
declarations: [
|
|
26
|
+
AccordionComponent
|
|
27
|
+
],
|
|
28
|
+
imports: [
|
|
29
|
+
CommonModule,
|
|
30
|
+
IconComponentModule,
|
|
31
|
+
ButtonComponentModule,
|
|
32
|
+
MatTooltipModule,
|
|
33
|
+
MatExpansionModule
|
|
34
|
+
]
|
|
35
|
+
}]
|
|
36
|
+
}] });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmNvbXBvbmVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9hY2NvcmRpb24vYWNjb3JkaW9uLmNvbXBvbmVudC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUF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