@testgorilla/tgo-ui 1.4.0 → 1.5.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 (47) hide show
  1. package/components/autocomplete/autocomplete.component.d.ts +15 -6
  2. package/components/autocomplete/autocomplete.model.d.ts +7 -2
  3. package/components/avatar/avatar.component.d.ts +9 -10
  4. package/components/avatar/avatar.component.module.d.ts +2 -1
  5. package/components/banner-action/banner-action.component.d.ts +34 -18
  6. package/components/banner-action/banner-action.component.module.d.ts +2 -1
  7. package/components/banner-action/banner-action.model.d.ts +15 -0
  8. package/components/button/button.component.d.ts +3 -1
  9. package/components/button/button.model.d.ts +1 -0
  10. package/components/empty-state/empty-state.component.d.ts +73 -0
  11. package/components/empty-state/empty-state.component.module.d.ts +11 -0
  12. package/components/field/field.component.d.ts +5 -2
  13. package/components/field/field.component.module.d.ts +2 -1
  14. package/components/icon/icon.model.d.ts +1 -1
  15. package/components/radial-progress/radial-progress.component.d.ts +27 -0
  16. package/components/radial-progress/radial-progress.component.module.d.ts +9 -0
  17. package/components/radial-progress/radial-progress.model.d.ts +9 -0
  18. package/components/stepper/stepper.component.d.ts +2 -4
  19. package/components/stepper/stepper.component.module.d.ts +2 -1
  20. package/esm2022/components/autocomplete/autocomplete.component.mjs +37 -11
  21. package/esm2022/components/autocomplete/autocomplete.model.mjs +9 -3
  22. package/esm2022/components/avatar/avatar.component.mjs +14 -16
  23. package/esm2022/components/avatar/avatar.component.module.mjs +5 -4
  24. package/esm2022/components/banner-action/banner-action.component.mjs +35 -15
  25. package/esm2022/components/banner-action/banner-action.component.module.mjs +5 -4
  26. package/esm2022/components/banner-action/banner-action.model.mjs +17 -0
  27. package/esm2022/components/button/button.component.mjs +10 -3
  28. package/esm2022/components/button/button.model.mjs +1 -1
  29. package/esm2022/components/empty-state/empty-state.component.mjs +109 -0
  30. package/esm2022/components/empty-state/empty-state.component.module.mjs +41 -0
  31. package/esm2022/components/field/field.component.mjs +17 -16
  32. package/esm2022/components/field/field.component.module.mjs +7 -3
  33. package/esm2022/components/icon/icon.component.mjs +2 -2
  34. package/esm2022/components/icon/icon.model.mjs +1 -1
  35. package/esm2022/components/radial-progress/radial-progress.component.mjs +47 -0
  36. package/esm2022/components/radial-progress/radial-progress.component.module.mjs +19 -0
  37. package/esm2022/components/radial-progress/radial-progress.model.mjs +11 -0
  38. package/esm2022/components/stepper/stepper.component.mjs +5 -12
  39. package/esm2022/components/stepper/stepper.component.module.mjs +5 -4
  40. package/esm2022/public-api.mjs +8 -1
  41. package/fesm2022/testgorilla-tgo-ui.mjs +363 -94
  42. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  43. package/package.json +1 -1
  44. package/public-api.d.ts +5 -0
  45. package/src/assets/i18n/en.json +2 -1
  46. package/src/assets/images/Illustration.png +0 -0
  47. package/src/theme/_tooltip.scss +3 -65
@@ -1,9 +1,8 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter, OnChanges } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
- import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
4
- import { MatFormField } from '@angular/material/form-field';
3
+ import { MatAutocomplete, MatAutocompleteSelectedEvent, MatAutocompleteTrigger } from '@angular/material/autocomplete';
5
4
  import { ReplaySubject } from 'rxjs';
6
- import { Autocomplete, AutocompleteType } from './autocomplete.model';
5
+ import { Autocomplete, AutocompleteType, DropdownVariation } from './autocomplete.model';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class AutocompleteComponent implements ControlValueAccessor, OnChanges, AfterViewInit {
9
8
  /**
@@ -66,10 +65,17 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
66
65
  * @memberof AutocompleteComponent
67
66
  */
68
67
  minCharactersSearch: number;
68
+ /**
69
+ * @property variant
70
+ * @description The variant of Autocomplete
71
+ * @memberof AutocompleteComponent
72
+ */
73
+ variant: DropdownVariation;
69
74
  selectionChange: EventEmitter<any>;
70
75
  searchTextChange: EventEmitter<string>;
71
- matFormFieldElement: MatFormField;
76
+ formFieldElement: ElementRef<HTMLElement>;
72
77
  tagContainer: ElementRef<HTMLElement>;
78
+ autocomplete: MatAutocompleteTrigger;
73
79
  private readonly cdr;
74
80
  protected value: any;
75
81
  protected inputValue: any;
@@ -93,7 +99,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
93
99
  setDisabledState(isDisabled: boolean): void;
94
100
  writeValue(value: any): void;
95
101
  protected onOptionSelected(event: MatAutocompleteSelectedEvent): void;
96
- protected onOptionRemoved(input: any, option: any): void;
102
+ protected onOptionRemoved(option: any): void;
97
103
  protected onInputChange(event: Event): void;
98
104
  protected onClear(): void;
99
105
  protected refillInput(): void;
@@ -102,6 +108,9 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
102
108
  private onUpdate;
103
109
  private initValue;
104
110
  private addNewValue;
111
+ protected get isDropdown(): boolean;
112
+ protected onChevronClick(autocomplete: MatAutocomplete): void;
113
+ protected get inputWidth(): number;
105
114
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
106
- 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; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; }, never, never, false, never>;
115
+ 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; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; }, never, never, false, never>;
107
116
  }
@@ -5,9 +5,14 @@ export declare enum Autocomplete {
5
5
  LARGE = "large"
6
6
  }
7
7
  export declare enum Padding {
8
- AUTOCOMPLETE_CONTAINER = 80
8
+ AUTOCOMPLETE_CONTAINER = 30,
9
+ DROPDOWN_CONTAINER = 60
9
10
  }
10
11
  export declare enum Timeout {
11
- VIEW_INITIALIZED_AFTER_ACTION = 20,
12
+ VIEW_INITIALIZED_AFTER_ACTION = 150,
12
13
  VIEW_INITIALIZED_COMPONENT_LOAD = 600
13
14
  }
15
+ export declare enum DropdownVariation {
16
+ AUTOCOMPLETE = "autocomplete",
17
+ DROPDOWN = "dropdown"
18
+ }
@@ -28,21 +28,20 @@ export declare class AvatarComponent {
28
28
  */
29
29
  tooltipText: string;
30
30
  /**
31
- * Input property that makes avatar clickable.
31
+ * Input property that makes avatar editable.
32
32
  * @type {boolean}
33
33
  * @memberof AvatarComponent
34
34
  */
35
- allowClick: boolean;
35
+ allowEdit: boolean;
36
36
  /**
37
- * Event emitted when the avatar is clicked.
38
- * @type {void}
37
+ * Event emitted when the edit button is clicked.
38
+ * @type {Event}
39
39
  * @memberof AvatarComponent
40
40
  */
41
- avatarClick: EventEmitter<void>;
42
- protected iconSize: Record<string, import("@testgorilla/tgo-ui").IconSize>;
43
- protected avatarSize: typeof AvatarSize;
44
- protected onAvatarClick(): void;
45
- get clickAllowance(): string;
41
+ editClick: EventEmitter<Event>;
42
+ protected readonly iconSize: Record<string, import("@testgorilla/tgo-ui").IconSize>;
43
+ protected readonly avatarSize: typeof AvatarSize;
44
+ protected onEditClick(event: Event): void;
46
45
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ui-avatar", never, { "size": { "alias": "size"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "name": { "alias": "name"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "allowClick": { "alias": "allowClick"; "required": false; }; }, { "avatarClick": "avatarClick"; }, never, never, false, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ui-avatar", never, { "size": { "alias": "size"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "name": { "alias": "name"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "allowEdit": { "alias": "allowEdit"; "required": false; }; }, { "editClick": "editClick"; }, never, never, false, never>;
48
47
  }
@@ -4,8 +4,9 @@ import * as i2 from "../../pipes/name-initials.pipe";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "../icon/icon.component.module";
6
6
  import * as i5 from "@angular/material/tooltip";
7
+ import * as i6 from "../button/button.component.module";
7
8
  export declare class AvatarComponentModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponentModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarComponentModule, [typeof i1.AvatarComponent, typeof i2.NameInitialsPipe], [typeof i3.CommonModule, typeof i4.IconComponentModule, typeof i5.MatTooltipModule], [typeof i1.AvatarComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarComponentModule, [typeof i1.AvatarComponent, typeof i2.NameInitialsPipe], [typeof i3.CommonModule, typeof i4.IconComponentModule, typeof i5.MatTooltipModule, typeof i6.ButtonComponentModule], [typeof i1.AvatarComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<AvatarComponentModule>;
11
12
  }
@@ -1,52 +1,68 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { IconName } from '../../components/icon/icon.model';
3
- import { AlertBarType } from '../../utils/alert-bar.model';
2
+ import { IconName } from '../icon/icon.model';
3
+ import { BannerActionType, BannerProgress, BannerType } from './banner-action.model';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class BannerActionComponent implements OnInit {
6
6
  /**
7
7
  * BannerAction text
8
- *
8
+ * @type {string}
9
9
  * @memberof BannerActionComponent
10
10
  */
11
11
  message?: string | undefined;
12
12
  /**
13
13
  * BannerAction type
14
- *
15
- * @type {AlertBarType}
14
+ * @type {BannerActionType}
16
15
  * @memberof BannerActionComponent
17
16
  */
18
- bannerActionType: AlertBarType;
17
+ bannerActionType: BannerActionType;
19
18
  /**
20
19
  * BannerAction button label
21
- *
20
+ * @type {string}
22
21
  * @memberof BannerActionComponent
23
22
  */
24
23
  buttonText: string;
25
24
  /**
26
25
  * Static or fixed position
27
- *
28
- * @memberof AlertBannerComponent
26
+ * @type {boolean}
27
+ * @memberof BannerActionComponent
29
28
  */
30
29
  fixed: boolean;
31
30
  /**
32
31
  * Full width for alert banner
33
- *
34
- * @memberof AlertBannerComponent
32
+ * @type {boolean}
33
+ * @memberof BannerActionComponent
35
34
  */
36
35
  fullWidth: boolean;
37
36
  /**
38
37
  * BannerAction button icon
39
- *
38
+ * @type {IconName}
40
39
  * @memberof BannerActionComponent
41
40
  */
42
41
  buttonIcon: IconName;
43
- buttonClickEvent: EventEmitter<Event>;
42
+ /**
43
+ * BannerAction icon
44
+ * @type {IconName}
45
+ * @memberof BannerActionComponent
46
+ */
44
47
  iconName: IconName;
45
- position: string;
46
- cssClass: string;
47
- constructor();
48
- buttonClick(event: Event): void;
48
+ /**
49
+ * BannerAction title
50
+ * @type {string}
51
+ * @memberof BannerActionComponent
52
+ */
53
+ title: string;
54
+ /**
55
+ * Event emitted when the banner button is clicked.
56
+ * @type {EventEmitter<Event>}
57
+ * @memberof BannerActionComponent
58
+ */
59
+ buttonClickEvent: EventEmitter<Event>;
60
+ protected position: string;
61
+ protected cssClass: string;
62
+ protected readonly bannerType: typeof BannerType;
63
+ protected readonly BannerProgress: typeof BannerProgress;
49
64
  ngOnInit(): void;
65
+ protected buttonClick(event: Event): void;
50
66
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerActionComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<BannerActionComponent, "ui-banner-action", never, { "message": { "alias": "message"; "required": false; }; "bannerActionType": { "alias": "bannerActionType"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; }, never, never, false, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<BannerActionComponent, "ui-banner-action", never, { "message": { "alias": "message"; "required": false; }; "bannerActionType": { "alias": "bannerActionType"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; }, never, never, false, never>;
52
68
  }
@@ -3,8 +3,9 @@ import * as i1 from "./banner-action.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../button/button.component.module";
5
5
  import * as i4 from "../icon/icon.component.module";
6
+ import * as i5 from "../radial-progress/radial-progress.component.module";
6
7
  export declare class BannerActionComponentModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerActionComponentModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<BannerActionComponentModule, [typeof i1.BannerActionComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.IconComponentModule], [typeof i1.BannerActionComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BannerActionComponentModule, [typeof i1.BannerActionComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.IconComponentModule, typeof i5.RadialProgressComponentModule], [typeof i1.BannerActionComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<BannerActionComponentModule>;
10
11
  }
@@ -0,0 +1,15 @@
1
+ export type BannerActionType = 'success' | 'error' | 'info' | 'warning' | 'not-started' | 'incomplete' | 'body-text';
2
+ export declare enum BannerType {
3
+ SUCCESS = "success",
4
+ ERROR = "error",
5
+ INFO = "info",
6
+ WARNING = "warning",
7
+ NOT_STARTED = "not-started",
8
+ INCOMPLETE = "incomplete",
9
+ BODY_TEXT = "body-text"
10
+ }
11
+ export declare enum BannerProgress {
12
+ NOT_STARTED = 0,
13
+ INCOMPLETE = 75,
14
+ TOTAL = 100
15
+ }
@@ -1,6 +1,6 @@
1
1
  import { AfterViewInit, EventEmitter, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { IconName } from '../../components/icon/icon.model';
3
- import { ButtonColor, ButtonIconPosition, ButtonSize, LinkUrlTarget } from './button.model';
3
+ import { ButtonColor, ButtonIconPosition, ButtonSize, IconButtonSize, LinkUrlTarget } from './button.model';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ButtonComponent implements OnInit, AfterViewInit {
6
6
  /**
@@ -93,6 +93,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
93
93
  classCss: string;
94
94
  isButtonLink: boolean;
95
95
  isLabel: boolean;
96
+ iconButtonSize: IconButtonSize;
96
97
  ngOnInit(): void;
97
98
  ngOnChanges(changes: SimpleChanges): void;
98
99
  ngAfterViewInit(): void;
@@ -102,6 +103,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
102
103
  setCssClass(): string;
103
104
  showSpinner(): boolean;
104
105
  showButtonLink(): boolean;
106
+ setIconButtonSize(): IconButtonSize;
105
107
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
106
108
  static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "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; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, false, never>;
107
109
  }
@@ -2,3 +2,4 @@ export type ButtonIconPosition = 'left' | 'right';
2
2
  export type ButtonColor = 'primary' | 'secondary' | 'outlined' | 'destructive' | 'tertiary' | 'link' | 'tab' | 'text' | 'menuTrigger' | 'menuCell' | 'icon-button';
3
3
  export type ButtonSize = 'big' | 'small';
4
4
  export type LinkUrlTarget = '' | '_self' | '_blank' | '_parent' | '_top';
5
+ export type IconButtonSize = '32' | '40';
@@ -0,0 +1,73 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { IconName } from '../icon/icon.model';
3
+ import * as i0 from "@angular/core";
4
+ export declare class EmptyStateComponent {
5
+ /**
6
+ * @description If the default image should be displayed.
7
+ * @type {boolean}
8
+ * @memberof EmptyStateComponent
9
+ */
10
+ showDefaultImg: boolean;
11
+ /**
12
+ * @description The icon to be displayed in the empty state.
13
+ * @type {IconName}
14
+ * @memberof EmptyStateComponent
15
+ */
16
+ icon: IconName;
17
+ /**
18
+ * @description The title of the empty state.
19
+ * @type {string}
20
+ * @memberof EmptyStateComponent
21
+ */
22
+ title: string;
23
+ /**
24
+ * @description The body text or description of the empty state.
25
+ * @type {string}
26
+ * @memberof EmptyStateComponent
27
+ */
28
+ bodyText: string;
29
+ /**
30
+ * @description Displays primary button if passed.
31
+ * @type {string}
32
+ * @memberof EmptyStateComponent
33
+ */
34
+ primaryButtonText: string;
35
+ /**
36
+ * @description Displays secondary button if passed.
37
+ * @type {string}
38
+ * @memberof EmptyStateComponent
39
+ */
40
+ secondaryButtonText: string;
41
+ /**
42
+ * @description Displays tertiary button if passed.
43
+ * @type {string}
44
+ * @memberof EmptyStateComponent
45
+ */
46
+ tertiaryButtonText: string;
47
+ /**
48
+ * Event triggered when the primary button is clicked.
49
+ * @type {Event}
50
+ * @event
51
+ * @memberof TagComponent
52
+ */
53
+ primaryButtonClick: EventEmitter<Event>;
54
+ /**
55
+ * Event triggered when the secondary button is clicked.
56
+ * @type {Event}
57
+ * @event
58
+ * @memberof TagComponent
59
+ */
60
+ secondaryButtonClick: EventEmitter<Event>;
61
+ /**
62
+ * Event triggered when the tertiary button is clicked.
63
+ * @type {Event}
64
+ * @event
65
+ * @memberof TagComponent
66
+ */
67
+ tertiaryButtonClick: EventEmitter<Event>;
68
+ onPrimaryButtonClick(event: Event): void;
69
+ onSecondaryButtonClick(event: Event): void;
70
+ onTertiaryButtonClick(event: Event): void;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "ui-empty-state", never, { "showDefaultImg": { "alias": "showDefaultImg"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "bodyText": { "alias": "bodyText"; "required": false; }; "primaryButtonText": { "alias": "primaryButtonText"; "required": false; }; "secondaryButtonText": { "alias": "secondaryButtonText"; "required": false; }; "tertiaryButtonText": { "alias": "tertiaryButtonText"; "required": false; }; }, { "primaryButtonClick": "primaryButtonClick"; "secondaryButtonClick": "secondaryButtonClick"; "tertiaryButtonClick": "tertiaryButtonClick"; }, never, never, false, never>;
73
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./empty-state.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.component.module";
5
+ import * as i4 from "@ngneat/transloco";
6
+ import * as i5 from "../button/button.component.module";
7
+ export declare class EmptyStateComponentModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponentModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EmptyStateComponentModule, [typeof i1.EmptyStateComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i2.NgOptimizedImage, typeof i4.TranslocoModule, typeof i5.ButtonComponentModule], [typeof i1.EmptyStateComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<EmptyStateComponentModule>;
11
+ }
@@ -1,8 +1,12 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { FieldType } from '../../components/field/field.model';
4
+ import { MatIconRegistry } from '@angular/material/icon';
5
+ import { DomSanitizer } from '@angular/platform-browser';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class FieldComponent implements OnInit, ControlValueAccessor {
8
+ private matIconRegistry;
9
+ private domSanitizer;
6
10
  class: string;
7
11
  /**
8
12
  * Form field label
@@ -97,8 +101,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor {
97
101
  * @ignore
98
102
  */
99
103
  onTouch: () => void;
100
- constructor();
101
- showSearch: boolean;
104
+ constructor(matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer);
102
105
  showClose: boolean;
103
106
  showPassword: boolean;
104
107
  currentType: string;
@@ -7,8 +7,9 @@ import * as i5 from "@angular/material/input";
7
7
  import * as i6 from "../icon/icon.component.module";
8
8
  import * as i7 from "@angular/forms";
9
9
  import * as i8 from "../button/button.component.module";
10
+ import * as i9 from "@angular/material/icon";
10
11
  export declare class FieldComponentModule {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponentModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<FieldComponentModule, [typeof i1.FieldComponent, typeof i2.DigitsOnlyDirective], [typeof i3.CommonModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.ButtonComponentModule], [typeof i1.FieldComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FieldComponentModule, [typeof i1.FieldComponent, typeof i2.DigitsOnlyDirective], [typeof i3.CommonModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.ButtonComponentModule, typeof i9.MatIconModule], [typeof i1.FieldComponent]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<FieldComponentModule>;
14
15
  }
@@ -1,4 +1,4 @@
1
1
  import { tgoIcons } from './icon.config';
2
- export type IconSize = '16' | '24' | '80';
2
+ export type IconSize = '16' | '24' | '40' | '80';
3
3
  export type IconName = typeof tgoIcons[number] | '';
4
4
  export type IconColor = 'teal' | 'petrol' | 'dark' | 'white' | 'black' | 'inherit';
@@ -0,0 +1,27 @@
1
+ import { RadialProgressSize, RadialProgressSizeEnum } from './radial-progress.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RadialProgressComponent {
4
+ /**
5
+ * The size of the component. Defaults to 'small'.
6
+ * @type {RadialProgressSize}
7
+ * @memberof RadialProgressComponent
8
+ */
9
+ size: RadialProgressSize;
10
+ /**
11
+ * The current value of the progress. Defaults to 0.
12
+ * @type {number}
13
+ * @memberof RadialProgressComponent
14
+ */
15
+ value: number;
16
+ /**
17
+ * The value of the total progress. Used to set the cap and used for percentage calculations. Defaults to 0.
18
+ * @type {number}
19
+ * @memberof RadialProgressComponent
20
+ */
21
+ total: number;
22
+ protected radialProgressSize: typeof RadialProgressSizeEnum;
23
+ protected get progressSize(): number;
24
+ protected get percentage(): number;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadialProgressComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadialProgressComponent, "ui-radial-progress", never, { "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "total": { "alias": "total"; "required": false; }; }, {}, never, never, false, never>;
27
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./radial-progress.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/progress-spinner";
5
+ export declare class RadialProgressComponentModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadialProgressComponentModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RadialProgressComponentModule, [typeof i1.RadialProgressComponent], [typeof i2.CommonModule, typeof i3.MatProgressSpinnerModule], [typeof i1.RadialProgressComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<RadialProgressComponentModule>;
9
+ }
@@ -0,0 +1,9 @@
1
+ export type RadialProgressSize = 'large' | 'small';
2
+ export declare enum RadialProgressSizeValue {
3
+ LARGE = 64,
4
+ SMALL = 40
5
+ }
6
+ export declare enum RadialProgressSizeEnum {
7
+ LARGE = "large",
8
+ SMALL = "small"
9
+ }
@@ -1,8 +1,8 @@
1
- import { EventEmitter, OnChanges } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { Step } from './stepper.model';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
- export declare class StepperComponent implements OnChanges {
5
+ export declare class StepperComponent {
6
6
  protected readonly isMobile$: Observable<boolean>;
7
7
  /**
8
8
  * Input property to set the steps for the stepper.
@@ -37,11 +37,9 @@ export declare class StepperComponent implements OnChanges {
37
37
  get isOpen(): boolean;
38
38
  set isOpen(value: boolean);
39
39
  constructor(isMobile$: Observable<boolean>);
40
- ngOnChanges(): void;
41
40
  protected onSelect(changedIndex: number, step: Step): void;
42
41
  protected showStepsToggle(): void;
43
42
  protected onCloseStepList(): void;
44
- protected setProgressBar(selectedIndex: number): void;
45
43
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
46
44
  static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ui-stepper", never, { "steps": { "alias": "steps"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "lastStepFinalIcon": { "alias": "lastStepFinalIcon"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
47
45
  }
@@ -6,8 +6,9 @@ import * as i4 from "../icon/icon.component.module";
6
6
  import * as i5 from "../step/step.component.module";
7
7
  import * as i6 from "@angular/material/progress-spinner";
8
8
  import * as i7 from "@ngneat/transloco";
9
+ import * as i8 from "../radial-progress/radial-progress.component.module";
9
10
  export declare class StepperComponentModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponentModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule, [typeof i1.StepperComponent, typeof i2.StepLineWidthDirective], [typeof i3.CommonModule, typeof i4.IconComponentModule, typeof i5.StepComponentModule, typeof i6.MatProgressSpinnerModule, typeof i7.TranslocoModule], [typeof i1.StepperComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule, [typeof i1.StepperComponent, typeof i2.StepLineWidthDirective], [typeof i3.CommonModule, typeof i4.IconComponentModule, typeof i5.StepComponentModule, typeof i6.MatProgressSpinnerModule, typeof i7.TranslocoModule, typeof i8.RadialProgressComponentModule], [typeof i1.StepperComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<StepperComponentModule>;
13
14
  }