@testgorilla/tgo-ui 5.2.5 → 6.0.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.
Files changed (34) hide show
  1. package/components/alert-banner/alert-banner.component.d.ts +4 -8
  2. package/components/autocomplete/autocomplete.component.d.ts +4 -6
  3. package/components/card/card.component.d.ts +3 -5
  4. package/components/checklist/checklist.component.d.ts +1 -2
  5. package/components/datepicker/datepicker.component.d.ts +3 -5
  6. package/components/dialog/confirm-dialog/confirm-dialog.component.d.ts +3 -5
  7. package/components/empty-state/empty-state.component.d.ts +1 -4
  8. package/components/field/field.component.d.ts +4 -4
  9. package/components/media-dialog/media-dialog.component.d.ts +2 -4
  10. package/components/phone-input/phone-input.component.d.ts +4 -6
  11. package/components/snackbar/snackbar.component.d.ts +3 -5
  12. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +16 -24
  13. package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
  14. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +19 -21
  15. package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
  16. package/fesm2022/testgorilla-tgo-ui-components-card.mjs +8 -9
  17. package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
  18. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +2 -6
  19. package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
  20. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +13 -15
  21. package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
  22. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +4 -8
  23. package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
  24. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +9 -16
  25. package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
  26. package/fesm2022/testgorilla-tgo-ui-components-field.mjs +3 -5
  27. package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
  28. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +9 -11
  29. package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
  30. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +13 -15
  31. package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
  32. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +11 -13
  33. package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
  34. package/package.json +30 -30
@@ -1,5 +1,4 @@
1
1
  import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
2
  import { IconName } from '@testgorilla/tgo-ui/components/icon';
4
3
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
5
4
  import { AlertBarType, AlertVariant } from '@testgorilla/tgo-ui/components/core';
@@ -7,8 +6,7 @@ import { LinkTargetType } from './alert-banner.model';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class AlertBannerComponent implements OnInit, OnChanges {
9
8
  private readonly defaultAppTheme;
10
- private domSanitizer;
11
- constructor(defaultAppTheme: ApplicationTheme, domSanitizer: DomSanitizer);
9
+ constructor(defaultAppTheme: ApplicationTheme);
12
10
  /**
13
11
  * Alert Banner type
14
12
  *
@@ -30,7 +28,7 @@ export declare class AlertBannerComponent implements OnInit, OnChanges {
30
28
  *
31
29
  * @memberof AlertBannerComponent
32
30
  */
33
- set message(msg: string);
31
+ message: string;
34
32
  /**
35
33
  * Include dismmiss button
36
34
  *
@@ -113,20 +111,18 @@ export declare class AlertBannerComponent implements OnInit, OnChanges {
113
111
  * @memberof AlertBannerComponent
114
112
  */
115
113
  ariaDescribedby: string;
116
- set secondaryAlerts(alerts: string[]);
114
+ secondaryAlerts: string[];
117
115
  get isDismissed(): boolean;
118
116
  iconName: IconName;
119
117
  visible: boolean;
120
118
  fullWidth: boolean;
121
119
  position: string;
122
120
  cssClass: string;
123
- _message: SafeHtml;
124
- _secondaryAlerts: SafeHtml[];
125
121
  dismissAlertBanner: boolean;
126
122
  ngOnInit(): void;
127
123
  ngOnChanges(changes: SimpleChanges): void;
128
124
  private updateBanner;
129
125
  dismissClick(): void;
130
- static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerComponent, [{ optional: true; }, null]>;
126
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerComponent, [{ optional: true; }]>;
131
127
  static ɵcmp: i0.ɵɵComponentDeclaration<AlertBannerComponent, "ui-alert-banner", never, { "alertType": { "alias": "alertType"; "required": false; }; "alertVariant": { "alias": "alertVariant"; "required": false; }; "message": { "alias": "message"; "required": false; }; "includeDismissButton": { "alias": "includeDismissButton"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrl": { "alias": "linkUrl"; "required": false; }; "linkTarget": { "alias": "linkTarget"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "isFullWidth": { "alias": "isFullWidth"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "hasIcon": { "alias": "hasIcon"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "secondaryAlerts": { "alias": "secondaryAlerts"; "required": false; }; }, {}, never, never, false, never>;
132
128
  }
@@ -3,7 +3,6 @@ import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
3
3
  import { AfterViewInit, ChangeDetectorRef, DestroyRef, DoCheck, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
4
4
  import { ControlValueAccessor, NgControl } from '@angular/forms';
5
5
  import { MatAutocomplete, MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';
6
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
7
6
  import { BehaviorSubject, ReplaySubject, Subscription } from 'rxjs';
8
7
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
9
8
  import { AutocompleteUtils } from '@testgorilla/tgo-ui/components/core';
@@ -12,7 +11,6 @@ import * as i0 from "@angular/core";
12
11
  export declare class AutocompleteComponent implements ControlValueAccessor, OnChanges, AfterViewInit, DoCheck, OnDestroy {
13
12
  private readonly defaultAppTheme;
14
13
  private readonly cdr;
15
- private readonly domSanitizer;
16
14
  ngControl: NgControl;
17
15
  private readonly platformId;
18
16
  private readonly el;
@@ -253,7 +251,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
253
251
  set cdkVirtualScrollViewport(viewport: CdkVirtualScrollViewport);
254
252
  matAutocomplete: MatAutocomplete;
255
253
  matInput: ElementRef<HTMLInputElement>;
256
- protected safeErrors: SafeHtml[];
254
+ protected safeErrors: string[];
257
255
  protected value: any;
258
256
  protected inputValue: any;
259
257
  protected isInputFocus: boolean;
@@ -279,7 +277,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
279
277
  private observer;
280
278
  protected keyboardFocused: import("@angular/core").WritableSignal<boolean>;
281
279
  isAlreadyAdded: boolean;
282
- constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, domSanitizer: DomSanitizer, ngControl: NgControl, platformId: any, el: ElementRef, focusMonitor: FocusMonitor, destroyRef: DestroyRef, ngZone: NgZone);
280
+ constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl, platformId: any, el: ElementRef, focusMonitor: FocusMonitor, destroyRef: DestroyRef, ngZone: NgZone);
283
281
  ngOnInit(): void;
284
282
  /**
285
283
  * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
@@ -311,7 +309,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
311
309
  protected get isDropdown(): boolean;
312
310
  protected onChevronClick(autocomplete: MatAutocomplete): void;
313
311
  protected get inputWidth(): number;
314
- protected trackByFn: (index: number, value: any) => any;
312
+ protected trackByFn: (index: number, value: string) => string;
315
313
  /**
316
314
  * Adding company color variable to the body to style overlay container that's out of the component scope.
317
315
  */
@@ -320,7 +318,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
320
318
  protected get hasObjectValue(): boolean;
321
319
  onKeydown($event: KeyboardEvent): void;
322
320
  protected getVirtualScrollHeight(itemCount: number): number;
323
- static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null, null, null, null, null]>;
321
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; }, null, { optional: true; self: true; }, null, null, null, null, null]>;
324
322
  static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "suggestionsList": { "alias": "suggestionsList"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowAdd": { "alias": "allowAdd"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "dropdownPanelClass": { "alias": "dropdownPanelClass"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "size": { "alias": "size"; "required": false; }; "allowUserInput": { "alias": "allowUserInput"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "exactMatchSelect": { "alias": "exactMatchSelect"; "required": false; }; "maxItemSelected": { "alias": "maxItemSelected"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "isDynamicFilteringEnabled": { "alias": "isDynamicFilteringEnabled"; "required": false; }; "dynamicFilterLoading": { "alias": "dynamicFilterLoading"; "required": false; }; "dynamicFilteredList": { "alias": "dynamicFilteredList"; "required": false; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; }; "hasMoreOptionsForInfiniteScroll": { "alias": "hasMoreOptionsForInfiniteScroll"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; "blur": "blur"; "focus": "focus"; "scrollViewportBottomReached": "scrollViewportBottomReached"; "scrollViewportBottomReachedFiltered": "scrollViewportBottomReachedFiltered"; }, never, never, false, never>;
325
323
  static ngAcceptInputType_virtualScroll: unknown;
326
324
  }
@@ -1,12 +1,10 @@
1
1
  import { EventEmitter, OnChanges, OnInit } from '@angular/core';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
2
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
3
  import { IconSize } from '@testgorilla/tgo-ui/components/icon';
5
4
  import { CardSize, CardSizeVariant, CardVariant } from './card.model';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class CardComponent implements OnChanges, OnInit {
8
7
  private readonly defaultAppTheme;
9
- private domSanitizer;
10
8
  /**
11
9
  * Card size. Defaults "medium".
12
10
  *
@@ -75,15 +73,15 @@ export declare class CardComponent implements OnChanges, OnInit {
75
73
  * Emits when card is being selected
76
74
  */
77
75
  cardSelected: EventEmitter<boolean>;
78
- safeErrors: SafeHtml[];
76
+ safeErrors: string[];
79
77
  classes: string;
80
- constructor(defaultAppTheme: ApplicationTheme, domSanitizer: DomSanitizer);
78
+ constructor(defaultAppTheme: ApplicationTheme);
81
79
  ngOnChanges(): void;
82
80
  ngOnInit(): void;
83
81
  get cardVariant(): CardVariant;
84
82
  get errorIconSize(): IconSize;
85
83
  get isSelected(): boolean;
86
84
  selectCard(): void;
87
- static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, [{ optional: true; }, null]>;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, [{ optional: true; }]>;
88
86
  static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, { "size": { "alias": "size"; "required": false; }; "sizeVariant": { "alias": "sizeVariant"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "errorsSize": { "alias": "errorsSize"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowSelect": { "alias": "allowSelect"; "required": false; }; "allowFocus": { "alias": "allowFocus"; "required": false; }; }, { "cardSelected": "cardSelected"; }, never, ["*"], false, never>;
89
87
  }
@@ -4,7 +4,6 @@ import type { ChecklistItem } from './checklist.model';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ChecklistComponent {
6
6
  private readonly defaultAppTheme;
7
- private readonly domSanitizer;
8
7
  /**
9
8
  * Label for the checklist
10
9
  * @type {string}
@@ -16,7 +15,7 @@ export declare class ChecklistComponent {
16
15
  * @type {string}
17
16
  * @memberof ChecklistComponent
18
17
  */
19
- description: import("@angular/core").InputSignalWithTransform<import("@angular/platform-browser").SafeHtml | null, string>;
18
+ description: import("@angular/core").InputSignal<string | null>;
20
19
  /**
21
20
  * Items for the checklist
22
21
  * @type {ModelSignal<ChecklistItem[]>}
@@ -2,13 +2,11 @@ import { ChangeDetectorRef, DoCheck, EventEmitter, OnChanges, SimpleChanges, OnI
2
2
  import { ControlValueAccessor, FormControl, FormGroup, NgControl } from '@angular/forms';
3
3
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
4
  import { MatDatepicker } from '@angular/material/datepicker';
5
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
5
  import { DatepickerService } from './datepicker.service';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class DatepickerComponent implements OnChanges, ControlValueAccessor, DoCheck, OnInit {
9
8
  private readonly defaultAppTheme;
10
9
  private cdr;
11
- private sanitizer;
12
10
  ngControl: NgControl;
13
11
  private datepickerService;
14
12
  class: string;
@@ -47,7 +45,7 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
47
45
  * @memberof DatepickerComponent
48
46
  */
49
47
  value?: Array<Date | null> | Date;
50
- _errors: SafeHtml[];
48
+ _errors: string[];
51
49
  /**
52
50
  * Input field errors
53
51
  *
@@ -210,7 +208,7 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
210
208
  }>;
211
209
  errorsLength: boolean;
212
210
  protected translationContext: string;
213
- constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, sanitizer: DomSanitizer, ngControl: NgControl, datepickerService: DatepickerService);
211
+ constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl, datepickerService: DatepickerService);
214
212
  get hint(): string;
215
213
  /**
216
214
  * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
@@ -232,6 +230,6 @@ export declare class DatepickerComponent implements OnChanges, ControlValueAcces
232
230
  private setRange;
233
231
  onInput(event: Event): void;
234
232
  private setStyleVariable;
235
- static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null]>;
233
+ static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{ optional: true; }, null, { optional: true; self: true; }, null]>;
236
234
  static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", 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; }; "isRange": { "alias": "isRange"; "required": false; }; "setSingleDateRangeOnBlur": { "alias": "setSingleDateRangeOnBlur"; "required": false; }; "showInnerErrors": { "alias": "showInnerErrors"; "required": false; }; "innerErrorsMessage": { "alias": "innerErrorsMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "browserTimezone": { "alias": "browserTimezone"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
237
235
  }
@@ -1,5 +1,4 @@
1
1
  import { MatDialogRef } from '@angular/material/dialog';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
2
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
3
  import { ButtonColor, ButtonIconPosition } from '@testgorilla/tgo-ui/components/button';
5
4
  import { IconName } from '@testgorilla/tgo-ui/components/icon';
@@ -9,13 +8,12 @@ export declare class ConfirmDialogComponent {
9
8
  private readonly defaultAppTheme;
10
9
  dialogRef: MatDialogRef<ConfirmDialogComponent>;
11
10
  private data;
12
- protected domSanitizer: DomSanitizer;
13
11
  confirmMessage: string | undefined;
14
12
  confirmButtonText: string | undefined;
15
13
  cancelButtonText: string | undefined;
16
14
  title: string | undefined;
17
15
  lang: import("@testgorilla/tgo-ui/components/core").Language;
18
- confirmMessageHtml: SafeHtml | undefined;
16
+ confirmMessageHtml: string | undefined;
19
17
  showCloseButton: boolean;
20
18
  showSecondaryButton: boolean;
21
19
  color: string | null;
@@ -33,8 +31,8 @@ export declare class ConfirmDialogComponent {
33
31
  * @memberof DialogComponent
34
32
  */
35
33
  applicationTheme: ApplicationTheme;
36
- constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<ConfirmDialogComponent>, data: ConfirmDialogData, domSanitizer: DomSanitizer);
34
+ constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<ConfirmDialogComponent>, data: ConfirmDialogData);
37
35
  onConfirm(): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, [{ optional: true; }, null, null, null]>;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, [{ optional: true; }, null, null]>;
39
37
  static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ui-confirm-dialog", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
40
38
  }
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { SafeHtml } from '@angular/platform-browser';
3
2
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
4
3
  import { ButtonColor, ButtonIconPosition, ButtonSize } from '@testgorilla/tgo-ui/components/button';
5
4
  import { IconName } from '@testgorilla/tgo-ui/components/icon';
@@ -7,8 +6,6 @@ import { ButtonVariant, EmptyStateVariant, IllustrationVariant } from './empty-s
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class EmptyStateComponent {
9
8
  private readonly defaultAppTheme;
10
- private domSanitizer;
11
- safeBodyText: SafeHtml;
12
9
  /**
13
10
  * @description If the default image should be displayed.
14
11
  * @type {boolean}
@@ -44,7 +41,7 @@ export declare class EmptyStateComponent {
44
41
  * @type {string}
45
42
  * @memberof EmptyStateComponent
46
43
  */
47
- set bodyText(value: string);
44
+ bodyText: string;
48
45
  /**
49
46
  * @description Displays primary button if passed.
50
47
  * @type {string}
@@ -2,7 +2,7 @@ import { FocusMonitor } from '@angular/cdk/a11y';
2
2
  import { AfterViewInit, ChangeDetectorRef, DestroyRef, DoCheck, ElementRef, EventEmitter, NgZone, OnInit } from '@angular/core';
3
3
  import { ControlValueAccessor, NgControl } from '@angular/forms';
4
4
  import { MatIconRegistry } from '@angular/material/icon';
5
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
5
+ import { DomSanitizer } from '@angular/platform-browser';
6
6
  import { CdkTextareaAutosize } from '@angular/cdk/text-field';
7
7
  import { FieldType } from './field.model';
8
8
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
@@ -54,7 +54,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
54
54
  *
55
55
  * @memberof FieldComponent
56
56
  */
57
- labelHtml: import("@angular/core").InputSignalWithTransform<SafeHtml | null, string>;
57
+ labelHtml: import("@angular/core").InputSignal<string | null>;
58
58
  /**
59
59
  * Icon to display alongside the label
60
60
  *
@@ -97,7 +97,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
97
97
  * @memberof FieldComponent
98
98
  */
99
99
  badgeVariant?: BadgeVariant | undefined;
100
- _errors: SafeHtml[];
100
+ _errors: string[];
101
101
  /**
102
102
  * Input field errors
103
103
  *
@@ -368,7 +368,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
368
368
  onSubmit(): void;
369
369
  private clearSpace;
370
370
  onBlur(): void;
371
- trackByFn: (index: number, value: any) => any;
371
+ trackByFn: (index: number, value: string) => string;
372
372
  focus(): void;
373
373
  refocusPasswordButton(btn: any): void;
374
374
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, [{ optional: true; }, null, null, null, { optional: true; self: true; }, null, null, null]>;
@@ -1,12 +1,10 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
4
3
  import { MediaDialogData, MediaDialogStep } from './media-dialog.model';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class MediaDialogComponent {
7
6
  dialogRef: MatDialogRef<MediaDialogComponent>;
8
7
  private data;
9
- protected domSanitizer: DomSanitizer;
10
8
  primaryButtonLabel: string | undefined;
11
9
  secondaryButtonLabel: string | undefined;
12
10
  backButtonLabel: string | undefined;
@@ -16,10 +14,10 @@ export declare class MediaDialogComponent {
16
14
  backButtonDataTestId: string;
17
15
  mediaContainer: TemplateRef<any>;
18
16
  subheader: string | undefined;
19
- body: SafeHtml;
17
+ body: string;
20
18
  currentStepIndex: number;
21
19
  steps: MediaDialogStep[];
22
- constructor(dialogRef: MatDialogRef<MediaDialogComponent>, data: MediaDialogData, domSanitizer: DomSanitizer);
20
+ constructor(dialogRef: MatDialogRef<MediaDialogComponent>, data: MediaDialogData);
23
21
  private setStep;
24
22
  onPrimaryButtonClick(): void;
25
23
  onBackButtonClick(): void;
@@ -3,7 +3,6 @@ import { ChangeDetectorRef, DoCheck, ElementRef, OnDestroy, OnInit } from '@angu
3
3
  import { ControlValueAccessor, NgControl, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
4
4
  import { ErrorStateMatcher } from '@angular/material/core';
5
5
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
6
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
7
6
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
8
7
  import { UICountry } from './phone-input.model';
9
8
  import * as i0 from "@angular/core";
@@ -13,7 +12,6 @@ export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlVa
13
12
  private fb;
14
13
  private focusMonitor;
15
14
  private ref;
16
- private sanitizer;
17
15
  private readonly defaultAppTheme;
18
16
  /**
19
17
  * Phone number
@@ -65,7 +63,7 @@ export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlVa
65
63
  * @memberof PhoneInputComponent
66
64
  */
67
65
  fullWidth: boolean;
68
- _errors: SafeHtml[];
66
+ _errors: string[];
69
67
  /**
70
68
  * Input field errors
71
69
  *
@@ -114,7 +112,7 @@ export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlVa
114
112
  private internalPlaceholder;
115
113
  protected selectedCountry: UICountry;
116
114
  private unsubscribeAll$;
117
- constructor(ngControl: NgControl, errorMatcher: ErrorStateMatcher, fb: UntypedFormBuilder, focusMonitor: FocusMonitor, ref: ChangeDetectorRef, sanitizer: DomSanitizer, defaultAppTheme: ApplicationTheme);
115
+ constructor(ngControl: NgControl, errorMatcher: ErrorStateMatcher, fb: UntypedFormBuilder, focusMonitor: FocusMonitor, ref: ChangeDetectorRef, defaultAppTheme: ApplicationTheme);
118
116
  /**
119
117
  * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
120
118
  * to display validation errors that might happen (e.g. required)
@@ -141,7 +139,7 @@ export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlVa
141
139
  private getCountryByCallingCode;
142
140
  private loadCountries;
143
141
  disableClick(ev: Event): void;
144
- trackByFn: (index: number, value: any) => any;
145
- static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, [{ optional: true; self: true; }, null, null, null, null, null, { optional: true; }]>;
142
+ trackByFn: (index: number, value: string) => string;
143
+ static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, [{ optional: true; self: true; }, null, null, null, null, { optional: true; }]>;
146
144
  static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "ui-phone-input", never, { "value": { "alias": "value"; "required": false; }; "countryList": { "alias": "countryList"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, {}, never, never, false, never>;
147
145
  }
@@ -4,13 +4,11 @@ import { IconName } from '@testgorilla/tgo-ui/components/icon';
4
4
  import { SnackbarLink, SnackbarType, SnackbarVariant } from './snackbar.model';
5
5
  import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
6
6
  import { LinkTargetType } from '@testgorilla/tgo-ui/components/alert-banner';
7
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class SnackbarComponent implements OnInit {
10
9
  private readonly defaultAppTheme;
11
10
  private data;
12
11
  private snackbarRef;
13
- private domSanitizer;
14
12
  /**
15
13
  * Background color of the button while in active state
16
14
  *
@@ -104,7 +102,7 @@ export declare class SnackbarComponent implements OnInit {
104
102
  timerStartedAt: number;
105
103
  timerPausedAt: number;
106
104
  position: string;
107
- safeHtml: SafeHtml;
105
+ safeHtml: string;
108
106
  translationContext: string;
109
107
  protected readonly maxCharacters = 70;
110
108
  constructor(defaultAppTheme: ApplicationTheme, data: {
@@ -114,7 +112,7 @@ export declare class SnackbarComponent implements OnInit {
114
112
  applicationTheme?: ApplicationTheme;
115
113
  html?: string;
116
114
  seconds?: number;
117
- }, snackbarRef: MatSnackBarRef<SnackbarComponent>, domSanitizer: DomSanitizer);
115
+ }, snackbarRef: MatSnackBarRef<SnackbarComponent>);
118
116
  ngOnInit(): void;
119
117
  show(): void;
120
118
  hide(): void;
@@ -123,6 +121,6 @@ export declare class SnackbarComponent implements OnInit {
123
121
  dismissClick(): void;
124
122
  onLinkClick(event: Event): void;
125
123
  private dismissSnackbar;
126
- static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, [{ optional: true; }, null, null, null]>;
124
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, [{ optional: true; }, null, null]>;
127
125
  static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarComponent, "ui-snackbar", never, { "snackbarType": { "alias": "snackbarType"; "required": false; }; "message": { "alias": "message"; "required": false; }; "html": { "alias": "html"; "required": false; }; "seconds": { "alias": "seconds"; "required": false; }; "includeDismissButton": { "alias": "includeDismissButton"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrl": { "alias": "linkUrl"; "required": false; }; "linkTarget": { "alias": "linkTarget"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; }, {}, never, never, false, never>;
128
126
  }
@@ -1,20 +1,18 @@
1
1
  import { trigger, transition, animate, style } from '@angular/animations';
2
2
  import * as i0 from '@angular/core';
3
3
  import { HostBinding, Input, Optional, Inject, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
4
- import * as i5 from '@testgorilla/tgo-ui/components/core';
4
+ import * as i4 from '@testgorilla/tgo-ui/components/core';
5
5
  import { alertBarsUtil, UiTranslatePipe } from '@testgorilla/tgo-ui/components/core';
6
- import * as i1 from '@angular/platform-browser';
7
- import * as i2 from '@angular/common';
6
+ import * as i1 from '@angular/common';
8
7
  import { CommonModule } from '@angular/common';
9
- import * as i3 from '@testgorilla/tgo-ui/components/button';
8
+ import * as i2 from '@testgorilla/tgo-ui/components/button';
10
9
  import { ButtonComponentModule } from '@testgorilla/tgo-ui/components/button';
11
- import * as i4 from '@testgorilla/tgo-ui/components/icon';
10
+ import * as i3 from '@testgorilla/tgo-ui/components/icon';
12
11
  import { IconComponentModule } from '@testgorilla/tgo-ui/components/icon';
13
12
 
14
13
  class AlertBannerComponent {
15
- constructor(defaultAppTheme, domSanitizer) {
14
+ constructor(defaultAppTheme) {
16
15
  this.defaultAppTheme = defaultAppTheme;
17
- this.domSanitizer = domSanitizer;
18
16
  /**
19
17
  * Alert Banner type
20
18
  *
@@ -31,6 +29,12 @@ class AlertBannerComponent {
31
29
  * @memberof AlertBannerComponent
32
30
  */
33
31
  this.alertVariant = 'banner';
32
+ /**
33
+ * Alert banner message
34
+ *
35
+ * @memberof AlertBannerComponent
36
+ */
37
+ this.message = '';
34
38
  /**
35
39
  * Include dismmiss button
36
40
  *
@@ -100,25 +104,13 @@ class AlertBannerComponent {
100
104
  * @memberof AlertBannerComponent
101
105
  */
102
106
  this.ariaDescribedby = '';
107
+ this.secondaryAlerts = [];
103
108
  this.visible = true;
104
- this._message = '';
105
- this._secondaryAlerts = [];
106
109
  this.dismissAlertBanner = false;
107
110
  if (defaultAppTheme) {
108
111
  this.applicationTheme = defaultAppTheme;
109
112
  }
110
113
  }
111
- /**
112
- * Alert banner message
113
- *
114
- * @memberof AlertBannerComponent
115
- */
116
- set message(msg) {
117
- this._message = this.domSanitizer.bypassSecurityTrustHtml(msg);
118
- }
119
- set secondaryAlerts(alerts) {
120
- this._secondaryAlerts = alerts.map(alert => this.domSanitizer.bypassSecurityTrustHtml(alert));
121
- }
122
114
  get isDismissed() {
123
115
  return this.dismissAlertBanner;
124
116
  }
@@ -144,8 +136,8 @@ class AlertBannerComponent {
144
136
  this.dismissAlertBanner = true;
145
137
  }, 200);
146
138
  }
147
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: AlertBannerComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }, { token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
148
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: AlertBannerComponent, isStandalone: false, selector: "ui-alert-banner", inputs: { alertType: "alertType", alertVariant: "alertVariant", message: "message", includeDismissButton: "includeDismissButton", shadow: "shadow", linkText: "linkText", linkUrl: "linkUrl", linkTarget: "linkTarget", applicationTheme: "applicationTheme", isFullWidth: "isFullWidth", closeButtonTooltip: "closeButtonTooltip", hasIcon: "hasIcon", fixed: "fixed", ariaDescribedby: "ariaDescribedby", secondaryAlerts: "secondaryAlerts" }, host: { properties: { "class.display-none": "this.isDismissed" } }, usesOnChanges: true, ngImport: i0, template: "<div\n [ngClass]=\"cssClass\"\n [@openClose]\n *ngIf=\"visible\"\n role=\"alert\"\n class=\"alert-container\"\n [attr.theme]=\"applicationTheme\"\n [class.shadow]=\"alertVariant === 'callout' && shadow\"\n [attr.aria-live]=\"(alertType === 'error' || alertType === 'warning') ? 'assertive' : 'polite'\"\n [attr.aria-describedby]=\"'describedby'\"\n [attr.aria-labelledby]=\"'labelledby'\"\n [tabIndex]=\"0\"\n>\n <span style=\"position: absolute; left: -9999px\" id=\"labelledby\">{{ ('ALERT_BANNER.' + (alertType | uppercase)) | uiTranslate | async }}</span>\n <span [style.display]=\"'none'\" id=\"describedby\">{{ ariaDescribedby }}</span>\n <div class=\"primary-alert-container\">\n <div class=\"alert-text\">\n @if (hasIcon) {\n <ui-icon class=\"left-icon\" [name]=\"iconName\" size=\"24\" [applicationTheme]=\"applicationTheme\"></ui-icon>\n }\n <span [innerHTML]=\"_message\"></span>\n <a *ngIf=\"!!linkText\" [target]=\"linkTarget\" [href]=\"linkUrl\">{{ linkText }}</a>\n </div>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme === 'classic'\"\n variant=\"text\"\n [justIcon]=\"true\"\n class=\"close\"\n iconName=\"Close\"\n (buttonClickEvent)=\"dismissClick()\"\n ></ui-button>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme !== 'classic' && alertVariant !== 'callout'\"\n class=\"right-icon\"\n [variant]=\"'icon-button'\"\n [applicationTheme]=\"applicationTheme\"\n [iconName]=\"'Close'\"\n [size]=\"'small'\"\n [justIcon]=\"true\"\n [tooltip]=\"(closeButtonTooltip || ('COMMON.CLOSE' | uiTranslate | async))!\"\n (click)=\"dismissClick()\"\n ></ui-button>\n </div>\n <div class=\"secondary-alerts-container\">\n <div class=\"alert-text\" *ngFor=\"let alert of _secondaryAlerts\">\n <ui-icon class=\"left-icon\" [name]=\"'Stop-filled'\" [applicationTheme]=\"applicationTheme\"></ui-icon>\n <span [innerHTML]=\"alert\"></span>\n </div>\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}:host{display:flex;width:100%;justify-content:center}:host .snackbar-container{max-width:600px}:host .alert-container,:host .snackbar-container{margin:0 auto;display:flex;padding:0 14px;border-radius:4px;align-items:center;justify-content:space-between;opacity:1;min-height:48px}:host .alert-container.fixed,:host .snackbar-container.fixed{position:fixed}:host .alert-container.static,:host .snackbar-container.static{position:relative}:host .alert-container ui-icon,:host .snackbar-container ui-icon{margin-right:14px}:host .alert-container ui-button,:host .snackbar-container ui-button{margin-left:14px}:host .alert-container ::ng-deep button.mat-mdc-unelevated-button.big,:host .snackbar-container ::ng-deep button.mat-mdc-unelevated-button.big{padding:0;min-width:auto}:host .alert-container .alert-text,:host .alert-container .snackbar-text,:host .snackbar-container .alert-text,:host .snackbar-container .snackbar-text{display:flex;align-items:center;color:#000}:host .alert-container .alert-text a,:host .alert-container .snackbar-text a,:host .snackbar-container .alert-text a,:host .snackbar-container .snackbar-text a{color:#000;text-decoration:underline;font-weight:700}:host .alert-container .alert-text a:hover,:host .alert-container .alert-text a:visited,:host .alert-container .alert-text a:focus,:host .alert-container .snackbar-text a:hover,:host .alert-container .snackbar-text a:visited,:host .alert-container .snackbar-text a:focus,:host .snackbar-container .alert-text a:hover,:host .snackbar-container .alert-text a:visited,:host .snackbar-container .alert-text a:focus,:host .snackbar-container .snackbar-text a:hover,:host .snackbar-container .snackbar-text a:visited,:host .snackbar-container .snackbar-text a:focus{text-decoration:none}:host .alert-container.success,:host .snackbar-container.success{background-color:#cbd6cb}:host .alert-container.info,:host .snackbar-container.info{background-color:#c8d7de}:host .alert-container.warning,:host .snackbar-container.warning{background-color:#f0d6bb}:host .alert-container.error,:host .snackbar-container.error{background-color:#e3c3c6}:host .alert-container[theme=dark].success,:host .alert-container[theme=light].success,:host .snackbar-container[theme=dark].success,:host .snackbar-container[theme=light].success{background-color:#aae47a}:host .alert-container[theme=dark].info,:host .alert-container[theme=light].info,:host .snackbar-container[theme=dark].info,:host .snackbar-container[theme=light].info{background-color:#d9e8ff}:host .alert-container[theme=dark].warning,:host .alert-container[theme=light].warning,:host .snackbar-container[theme=dark].warning,:host .snackbar-container[theme=light].warning{background-color:#ffe1b3}:host .alert-container[theme=dark].error,:host .alert-container[theme=light].error,:host .snackbar-container[theme=dark].error,:host .snackbar-container[theme=light].error{background-color:#ffac9a}::ng-deep .display-none{display:none!important}@media (max-width: 600px){:host .alert-container,:host .snackbar-container{padding:8px 14px}}:host .alert-container{max-width:1312px;flex-direction:column}:host .alert-container.fixed{top:0;z-index:98}:host .alert-container.full-width{width:100%;min-width:100%}:host .alert-container a{margin-left:7px}:host .alert-container[theme=dark] .alert-text,:host .alert-container[theme=light] .alert-text{padding:12px 0}:host .alert-container[theme=dark].banner,:host .alert-container[theme=light].banner{border-radius:0}:host .alert-container[theme=dark].callout,:host .alert-container[theme=light].callout{border-radius:10px}:host .alert-container[theme=dark].shadow,:host .alert-container[theme=light].shadow{box-shadow:0 4px 16px #2424240a}:host .alert-container[theme=dark] .left-icon,:host .alert-container[theme=light] .left-icon{margin-right:8px}:host .alert-container[theme=dark] .right-icon,:host .alert-container[theme=light] .right-icon{cursor:pointer;margin-left:8px;margin-right:2px}:host .alert-container .primary-alert-container{display:flex;justify-content:space-between;align-items:center;width:100%}:host .alert-container .secondary-alerts-container{padding-left:8px;display:flex;width:100%;flex-direction:column}:host .alert-container .secondary-alerts-container .alert-text{padding:4px 0}\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.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired", "ariaLabelledby", "ariaDescribedby", "preventDefault", "hasBackground", "tooltipPosition", "role", "iconFilled"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "component", type: i4.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "toggleIconStyle", "applicationTheme", "useFullIconName"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i5.UiTranslatePipe, name: "uiTranslate" }], animations: [
139
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: AlertBannerComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
140
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: AlertBannerComponent, isStandalone: false, selector: "ui-alert-banner", inputs: { alertType: "alertType", alertVariant: "alertVariant", message: "message", includeDismissButton: "includeDismissButton", shadow: "shadow", linkText: "linkText", linkUrl: "linkUrl", linkTarget: "linkTarget", applicationTheme: "applicationTheme", isFullWidth: "isFullWidth", closeButtonTooltip: "closeButtonTooltip", hasIcon: "hasIcon", fixed: "fixed", ariaDescribedby: "ariaDescribedby", secondaryAlerts: "secondaryAlerts" }, host: { properties: { "class.display-none": "this.isDismissed" } }, usesOnChanges: true, ngImport: i0, template: "<div\n [ngClass]=\"cssClass\"\n [@openClose]\n *ngIf=\"visible\"\n role=\"alert\"\n class=\"alert-container\"\n [attr.theme]=\"applicationTheme\"\n [class.shadow]=\"alertVariant === 'callout' && shadow\"\n [attr.aria-live]=\"alertType === 'error' || alertType === 'warning' ? 'assertive' : 'polite'\"\n [attr.aria-describedby]=\"'describedby'\"\n [attr.aria-labelledby]=\"'labelledby'\"\n [tabIndex]=\"0\"\n>\n <span style=\"position: absolute; left: -9999px\" id=\"labelledby\">{{\n 'ALERT_BANNER.' + (alertType | uppercase) | uiTranslate | async\n }}</span>\n <span [style.display]=\"'none'\" id=\"describedby\">{{ ariaDescribedby }}</span>\n <div class=\"primary-alert-container\">\n <div class=\"alert-text\">\n @if (hasIcon) {\n <ui-icon class=\"left-icon\" [name]=\"iconName\" size=\"24\" [applicationTheme]=\"applicationTheme\"></ui-icon>\n }\n <span [innerHTML]=\"message\"></span>\n <a *ngIf=\"!!linkText\" [target]=\"linkTarget\" [href]=\"linkUrl\">{{ linkText }}</a>\n </div>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme === 'classic'\"\n variant=\"text\"\n [justIcon]=\"true\"\n class=\"close\"\n iconName=\"Close\"\n (buttonClickEvent)=\"dismissClick()\"\n ></ui-button>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme !== 'classic' && alertVariant !== 'callout'\"\n class=\"right-icon\"\n [variant]=\"'icon-button'\"\n [applicationTheme]=\"applicationTheme\"\n [iconName]=\"'Close'\"\n [size]=\"'small'\"\n [justIcon]=\"true\"\n [tooltip]=\"(closeButtonTooltip || ('COMMON.CLOSE' | uiTranslate | async))!\"\n (click)=\"dismissClick()\"\n ></ui-button>\n </div>\n <div class=\"secondary-alerts-container\">\n <div class=\"alert-text\" *ngFor=\"let alert of secondaryAlerts\">\n <ui-icon class=\"left-icon\" [name]=\"'Stop-filled'\" [applicationTheme]=\"applicationTheme\"></ui-icon>\n <span [innerHTML]=\"alert\"></span>\n </div>\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}:host{display:flex;width:100%;justify-content:center}:host .snackbar-container{max-width:600px}:host .alert-container,:host .snackbar-container{margin:0 auto;display:flex;padding:0 14px;border-radius:4px;align-items:center;justify-content:space-between;opacity:1;min-height:48px}:host .alert-container.fixed,:host .snackbar-container.fixed{position:fixed}:host .alert-container.static,:host .snackbar-container.static{position:relative}:host .alert-container ui-icon,:host .snackbar-container ui-icon{margin-right:14px}:host .alert-container ui-button,:host .snackbar-container ui-button{margin-left:14px}:host .alert-container ::ng-deep button.mat-mdc-unelevated-button.big,:host .snackbar-container ::ng-deep button.mat-mdc-unelevated-button.big{padding:0;min-width:auto}:host .alert-container .alert-text,:host .alert-container .snackbar-text,:host .snackbar-container .alert-text,:host .snackbar-container .snackbar-text{display:flex;align-items:center;color:#000}:host .alert-container .alert-text a,:host .alert-container .snackbar-text a,:host .snackbar-container .alert-text a,:host .snackbar-container .snackbar-text a{color:#000;text-decoration:underline;font-weight:700}:host .alert-container .alert-text a:hover,:host .alert-container .alert-text a:visited,:host .alert-container .alert-text a:focus,:host .alert-container .snackbar-text a:hover,:host .alert-container .snackbar-text a:visited,:host .alert-container .snackbar-text a:focus,:host .snackbar-container .alert-text a:hover,:host .snackbar-container .alert-text a:visited,:host .snackbar-container .alert-text a:focus,:host .snackbar-container .snackbar-text a:hover,:host .snackbar-container .snackbar-text a:visited,:host .snackbar-container .snackbar-text a:focus{text-decoration:none}:host .alert-container.success,:host .snackbar-container.success{background-color:#cbd6cb}:host .alert-container.info,:host .snackbar-container.info{background-color:#c8d7de}:host .alert-container.warning,:host .snackbar-container.warning{background-color:#f0d6bb}:host .alert-container.error,:host .snackbar-container.error{background-color:#e3c3c6}:host .alert-container[theme=dark].success,:host .alert-container[theme=light].success,:host .snackbar-container[theme=dark].success,:host .snackbar-container[theme=light].success{background-color:#aae47a}:host .alert-container[theme=dark].info,:host .alert-container[theme=light].info,:host .snackbar-container[theme=dark].info,:host .snackbar-container[theme=light].info{background-color:#d9e8ff}:host .alert-container[theme=dark].warning,:host .alert-container[theme=light].warning,:host .snackbar-container[theme=dark].warning,:host .snackbar-container[theme=light].warning{background-color:#ffe1b3}:host .alert-container[theme=dark].error,:host .alert-container[theme=light].error,:host .snackbar-container[theme=dark].error,:host .snackbar-container[theme=light].error{background-color:#ffac9a}::ng-deep .display-none{display:none!important}@media (max-width: 600px){:host .alert-container,:host .snackbar-container{padding:8px 14px}}:host .alert-container{max-width:1312px;flex-direction:column}:host .alert-container.fixed{top:0;z-index:98}:host .alert-container.full-width{width:100%;min-width:100%}:host .alert-container a{margin-left:7px}:host .alert-container[theme=dark] .alert-text,:host .alert-container[theme=light] .alert-text{padding:12px 0}:host .alert-container[theme=dark].banner,:host .alert-container[theme=light].banner{border-radius:0}:host .alert-container[theme=dark].callout,:host .alert-container[theme=light].callout{border-radius:10px}:host .alert-container[theme=dark].shadow,:host .alert-container[theme=light].shadow{box-shadow:0 4px 16px #2424240a}:host .alert-container[theme=dark] .left-icon,:host .alert-container[theme=light] .left-icon{margin-right:8px}:host .alert-container[theme=dark] .right-icon,:host .alert-container[theme=light] .right-icon{cursor:pointer;margin-left:8px;margin-right:2px}:host .alert-container .primary-alert-container{display:flex;justify-content:space-between;align-items:center;width:100%}:host .alert-container .secondary-alerts-container{padding-left:8px;display:flex;width:100%;flex-direction:column}:host .alert-container .secondary-alerts-container .alert-text{padding:4px 0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired", "ariaLabelledby", "ariaDescribedby", "preventDefault", "hasBackground", "tooltipPosition", "role", "iconFilled"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "component", type: i3.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "toggleIconStyle", "applicationTheme", "useFullIconName"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i4.UiTranslatePipe, name: "uiTranslate" }], animations: [
149
141
  trigger('openClose', [
150
142
  transition(':enter', [animate('0.2s ease-out', style({ opacity: 1 }))]),
151
143
  transition(':leave', [animate('0.2s ease-in', style({ opacity: 0 }))]),
@@ -159,13 +151,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
159
151
  transition(':enter', [animate('0.2s ease-out', style({ opacity: 1 }))]),
160
152
  transition(':leave', [animate('0.2s ease-in', style({ opacity: 0 }))]),
161
153
  ]),
162
- ], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div\n [ngClass]=\"cssClass\"\n [@openClose]\n *ngIf=\"visible\"\n role=\"alert\"\n class=\"alert-container\"\n [attr.theme]=\"applicationTheme\"\n [class.shadow]=\"alertVariant === 'callout' && shadow\"\n [attr.aria-live]=\"(alertType === 'error' || alertType === 'warning') ? 'assertive' : 'polite'\"\n [attr.aria-describedby]=\"'describedby'\"\n [attr.aria-labelledby]=\"'labelledby'\"\n [tabIndex]=\"0\"\n>\n <span style=\"position: absolute; left: -9999px\" id=\"labelledby\">{{ ('ALERT_BANNER.' + (alertType | uppercase)) | uiTranslate | async }}</span>\n <span [style.display]=\"'none'\" id=\"describedby\">{{ ariaDescribedby }}</span>\n <div class=\"primary-alert-container\">\n <div class=\"alert-text\">\n @if (hasIcon) {\n <ui-icon class=\"left-icon\" [name]=\"iconName\" size=\"24\" [applicationTheme]=\"applicationTheme\"></ui-icon>\n }\n <span [innerHTML]=\"_message\"></span>\n <a *ngIf=\"!!linkText\" [target]=\"linkTarget\" [href]=\"linkUrl\">{{ linkText }}</a>\n </div>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme === 'classic'\"\n variant=\"text\"\n [justIcon]=\"true\"\n class=\"close\"\n iconName=\"Close\"\n (buttonClickEvent)=\"dismissClick()\"\n ></ui-button>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme !== 'classic' && alertVariant !== 'callout'\"\n class=\"right-icon\"\n [variant]=\"'icon-button'\"\n [applicationTheme]=\"applicationTheme\"\n [iconName]=\"'Close'\"\n [size]=\"'small'\"\n [justIcon]=\"true\"\n [tooltip]=\"(closeButtonTooltip || ('COMMON.CLOSE' | uiTranslate | async))!\"\n (click)=\"dismissClick()\"\n ></ui-button>\n </div>\n <div class=\"secondary-alerts-container\">\n <div class=\"alert-text\" *ngFor=\"let alert of _secondaryAlerts\">\n <ui-icon class=\"left-icon\" [name]=\"'Stop-filled'\" [applicationTheme]=\"applicationTheme\"></ui-icon>\n <span [innerHTML]=\"alert\"></span>\n </div>\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}:host{display:flex;width:100%;justify-content:center}:host .snackbar-container{max-width:600px}:host .alert-container,:host .snackbar-container{margin:0 auto;display:flex;padding:0 14px;border-radius:4px;align-items:center;justify-content:space-between;opacity:1;min-height:48px}:host .alert-container.fixed,:host .snackbar-container.fixed{position:fixed}:host .alert-container.static,:host .snackbar-container.static{position:relative}:host .alert-container ui-icon,:host .snackbar-container ui-icon{margin-right:14px}:host .alert-container ui-button,:host .snackbar-container ui-button{margin-left:14px}:host .alert-container ::ng-deep button.mat-mdc-unelevated-button.big,:host .snackbar-container ::ng-deep button.mat-mdc-unelevated-button.big{padding:0;min-width:auto}:host .alert-container .alert-text,:host .alert-container .snackbar-text,:host .snackbar-container .alert-text,:host .snackbar-container .snackbar-text{display:flex;align-items:center;color:#000}:host .alert-container .alert-text a,:host .alert-container .snackbar-text a,:host .snackbar-container .alert-text a,:host .snackbar-container .snackbar-text a{color:#000;text-decoration:underline;font-weight:700}:host .alert-container .alert-text a:hover,:host .alert-container .alert-text a:visited,:host .alert-container .alert-text a:focus,:host .alert-container .snackbar-text a:hover,:host .alert-container .snackbar-text a:visited,:host .alert-container .snackbar-text a:focus,:host .snackbar-container .alert-text a:hover,:host .snackbar-container .alert-text a:visited,:host .snackbar-container .alert-text a:focus,:host .snackbar-container .snackbar-text a:hover,:host .snackbar-container .snackbar-text a:visited,:host .snackbar-container .snackbar-text a:focus{text-decoration:none}:host .alert-container.success,:host .snackbar-container.success{background-color:#cbd6cb}:host .alert-container.info,:host .snackbar-container.info{background-color:#c8d7de}:host .alert-container.warning,:host .snackbar-container.warning{background-color:#f0d6bb}:host .alert-container.error,:host .snackbar-container.error{background-color:#e3c3c6}:host .alert-container[theme=dark].success,:host .alert-container[theme=light].success,:host .snackbar-container[theme=dark].success,:host .snackbar-container[theme=light].success{background-color:#aae47a}:host .alert-container[theme=dark].info,:host .alert-container[theme=light].info,:host .snackbar-container[theme=dark].info,:host .snackbar-container[theme=light].info{background-color:#d9e8ff}:host .alert-container[theme=dark].warning,:host .alert-container[theme=light].warning,:host .snackbar-container[theme=dark].warning,:host .snackbar-container[theme=light].warning{background-color:#ffe1b3}:host .alert-container[theme=dark].error,:host .alert-container[theme=light].error,:host .snackbar-container[theme=dark].error,:host .snackbar-container[theme=light].error{background-color:#ffac9a}::ng-deep .display-none{display:none!important}@media (max-width: 600px){:host .alert-container,:host .snackbar-container{padding:8px 14px}}:host .alert-container{max-width:1312px;flex-direction:column}:host .alert-container.fixed{top:0;z-index:98}:host .alert-container.full-width{width:100%;min-width:100%}:host .alert-container a{margin-left:7px}:host .alert-container[theme=dark] .alert-text,:host .alert-container[theme=light] .alert-text{padding:12px 0}:host .alert-container[theme=dark].banner,:host .alert-container[theme=light].banner{border-radius:0}:host .alert-container[theme=dark].callout,:host .alert-container[theme=light].callout{border-radius:10px}:host .alert-container[theme=dark].shadow,:host .alert-container[theme=light].shadow{box-shadow:0 4px 16px #2424240a}:host .alert-container[theme=dark] .left-icon,:host .alert-container[theme=light] .left-icon{margin-right:8px}:host .alert-container[theme=dark] .right-icon,:host .alert-container[theme=light] .right-icon{cursor:pointer;margin-left:8px;margin-right:2px}:host .alert-container .primary-alert-container{display:flex;justify-content:space-between;align-items:center;width:100%}:host .alert-container .secondary-alerts-container{padding-left:8px;display:flex;width:100%;flex-direction:column}:host .alert-container .secondary-alerts-container .alert-text{padding:4px 0}\n"] }]
154
+ ], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div\n [ngClass]=\"cssClass\"\n [@openClose]\n *ngIf=\"visible\"\n role=\"alert\"\n class=\"alert-container\"\n [attr.theme]=\"applicationTheme\"\n [class.shadow]=\"alertVariant === 'callout' && shadow\"\n [attr.aria-live]=\"alertType === 'error' || alertType === 'warning' ? 'assertive' : 'polite'\"\n [attr.aria-describedby]=\"'describedby'\"\n [attr.aria-labelledby]=\"'labelledby'\"\n [tabIndex]=\"0\"\n>\n <span style=\"position: absolute; left: -9999px\" id=\"labelledby\">{{\n 'ALERT_BANNER.' + (alertType | uppercase) | uiTranslate | async\n }}</span>\n <span [style.display]=\"'none'\" id=\"describedby\">{{ ariaDescribedby }}</span>\n <div class=\"primary-alert-container\">\n <div class=\"alert-text\">\n @if (hasIcon) {\n <ui-icon class=\"left-icon\" [name]=\"iconName\" size=\"24\" [applicationTheme]=\"applicationTheme\"></ui-icon>\n }\n <span [innerHTML]=\"message\"></span>\n <a *ngIf=\"!!linkText\" [target]=\"linkTarget\" [href]=\"linkUrl\">{{ linkText }}</a>\n </div>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme === 'classic'\"\n variant=\"text\"\n [justIcon]=\"true\"\n class=\"close\"\n iconName=\"Close\"\n (buttonClickEvent)=\"dismissClick()\"\n ></ui-button>\n <ui-button\n *ngIf=\"includeDismissButton && applicationTheme !== 'classic' && alertVariant !== 'callout'\"\n class=\"right-icon\"\n [variant]=\"'icon-button'\"\n [applicationTheme]=\"applicationTheme\"\n [iconName]=\"'Close'\"\n [size]=\"'small'\"\n [justIcon]=\"true\"\n [tooltip]=\"(closeButtonTooltip || ('COMMON.CLOSE' | uiTranslate | async))!\"\n (click)=\"dismissClick()\"\n ></ui-button>\n </div>\n <div class=\"secondary-alerts-container\">\n <div class=\"alert-text\" *ngFor=\"let alert of secondaryAlerts\">\n <ui-icon class=\"left-icon\" [name]=\"'Stop-filled'\" [applicationTheme]=\"applicationTheme\"></ui-icon>\n <span [innerHTML]=\"alert\"></span>\n </div>\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}:host{display:flex;width:100%;justify-content:center}:host .snackbar-container{max-width:600px}:host .alert-container,:host .snackbar-container{margin:0 auto;display:flex;padding:0 14px;border-radius:4px;align-items:center;justify-content:space-between;opacity:1;min-height:48px}:host .alert-container.fixed,:host .snackbar-container.fixed{position:fixed}:host .alert-container.static,:host .snackbar-container.static{position:relative}:host .alert-container ui-icon,:host .snackbar-container ui-icon{margin-right:14px}:host .alert-container ui-button,:host .snackbar-container ui-button{margin-left:14px}:host .alert-container ::ng-deep button.mat-mdc-unelevated-button.big,:host .snackbar-container ::ng-deep button.mat-mdc-unelevated-button.big{padding:0;min-width:auto}:host .alert-container .alert-text,:host .alert-container .snackbar-text,:host .snackbar-container .alert-text,:host .snackbar-container .snackbar-text{display:flex;align-items:center;color:#000}:host .alert-container .alert-text a,:host .alert-container .snackbar-text a,:host .snackbar-container .alert-text a,:host .snackbar-container .snackbar-text a{color:#000;text-decoration:underline;font-weight:700}:host .alert-container .alert-text a:hover,:host .alert-container .alert-text a:visited,:host .alert-container .alert-text a:focus,:host .alert-container .snackbar-text a:hover,:host .alert-container .snackbar-text a:visited,:host .alert-container .snackbar-text a:focus,:host .snackbar-container .alert-text a:hover,:host .snackbar-container .alert-text a:visited,:host .snackbar-container .alert-text a:focus,:host .snackbar-container .snackbar-text a:hover,:host .snackbar-container .snackbar-text a:visited,:host .snackbar-container .snackbar-text a:focus{text-decoration:none}:host .alert-container.success,:host .snackbar-container.success{background-color:#cbd6cb}:host .alert-container.info,:host .snackbar-container.info{background-color:#c8d7de}:host .alert-container.warning,:host .snackbar-container.warning{background-color:#f0d6bb}:host .alert-container.error,:host .snackbar-container.error{background-color:#e3c3c6}:host .alert-container[theme=dark].success,:host .alert-container[theme=light].success,:host .snackbar-container[theme=dark].success,:host .snackbar-container[theme=light].success{background-color:#aae47a}:host .alert-container[theme=dark].info,:host .alert-container[theme=light].info,:host .snackbar-container[theme=dark].info,:host .snackbar-container[theme=light].info{background-color:#d9e8ff}:host .alert-container[theme=dark].warning,:host .alert-container[theme=light].warning,:host .snackbar-container[theme=dark].warning,:host .snackbar-container[theme=light].warning{background-color:#ffe1b3}:host .alert-container[theme=dark].error,:host .alert-container[theme=light].error,:host .snackbar-container[theme=dark].error,:host .snackbar-container[theme=light].error{background-color:#ffac9a}::ng-deep .display-none{display:none!important}@media (max-width: 600px){:host .alert-container,:host .snackbar-container{padding:8px 14px}}:host .alert-container{max-width:1312px;flex-direction:column}:host .alert-container.fixed{top:0;z-index:98}:host .alert-container.full-width{width:100%;min-width:100%}:host .alert-container a{margin-left:7px}:host .alert-container[theme=dark] .alert-text,:host .alert-container[theme=light] .alert-text{padding:12px 0}:host .alert-container[theme=dark].banner,:host .alert-container[theme=light].banner{border-radius:0}:host .alert-container[theme=dark].callout,:host .alert-container[theme=light].callout{border-radius:10px}:host .alert-container[theme=dark].shadow,:host .alert-container[theme=light].shadow{box-shadow:0 4px 16px #2424240a}:host .alert-container[theme=dark] .left-icon,:host .alert-container[theme=light] .left-icon{margin-right:8px}:host .alert-container[theme=dark] .right-icon,:host .alert-container[theme=light] .right-icon{cursor:pointer;margin-left:8px;margin-right:2px}:host .alert-container .primary-alert-container{display:flex;justify-content:space-between;align-items:center;width:100%}:host .alert-container .secondary-alerts-container{padding-left:8px;display:flex;width:100%;flex-direction:column}:host .alert-container .secondary-alerts-container .alert-text{padding:4px 0}\n"] }]
163
155
  }], ctorParameters: () => [{ type: undefined, decorators: [{
164
156
  type: Optional
165
157
  }, {
166
158
  type: Inject,
167
159
  args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
168
- }] }, { type: i1.DomSanitizer }], propDecorators: { alertType: [{
160
+ }] }], propDecorators: { alertType: [{
169
161
  type: Input
170
162
  }], alertVariant: [{
171
163
  type: Input