@testgorilla/tgo-ui 2.17.11 → 2.17.13

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 (71) hide show
  1. package/components/accordion/accordion.component.d.ts +26 -2
  2. package/components/accordion/accordion.model.d.ts +1 -0
  3. package/components/deprecated-table/deprecated-table.component.d.ts +2 -2
  4. package/components/radio-button/radio-button.component.d.ts +14 -3
  5. package/components/segmented-bar/segmented-bar.component.d.ts +12 -3
  6. package/components/segmented-bar/segmented-bar.component.module.d.ts +4 -1
  7. package/components/segmented-bar/segmented-bar.model.d.ts +5 -0
  8. package/components/step/step.component.d.ts +10 -1
  9. package/components/stepper/stepper.component.d.ts +9 -2
  10. package/components/stepper/stepper.component.module.d.ts +2 -2
  11. package/components/stepper/stepper.model.d.ts +1 -0
  12. package/components/table/table.component.d.ts +1 -1
  13. package/components/tabs/tab.directive.d.ts +9 -3
  14. package/components/tabs/tabs.component.d.ts +6 -1
  15. package/components/tabs/tabs.model.d.ts +4 -0
  16. package/components/tooltip/tooltip-template.directive.d.ts +22 -0
  17. package/components/tooltip/tooltip.component.d.ts +1 -0
  18. package/components/tooltip/tooltip.component.module.d.ts +2 -1
  19. package/directives/step-line-element.directive.d.ts +17 -0
  20. package/esm2022/components/accordion/accordion.component.mjs +33 -3
  21. package/esm2022/components/accordion/accordion.model.mjs +1 -1
  22. package/esm2022/components/alert-banner/alert-banner.component.mjs +3 -3
  23. package/esm2022/components/autocomplete/autocomplete.component.mjs +3 -3
  24. package/esm2022/components/badge/badge.component.mjs +1 -1
  25. package/esm2022/components/button/button.component.mjs +2 -2
  26. package/esm2022/components/checkbox/checkbox.component.mjs +1 -1
  27. package/esm2022/components/datepicker/datepicker.component.mjs +1 -1
  28. package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +1 -1
  29. package/esm2022/components/deprecated-table/deprecated-table.component.mjs +2 -2
  30. package/esm2022/components/dialog/dialog.component.mjs +1 -1
  31. package/esm2022/components/dropdown/dropdown.component.mjs +1 -1
  32. package/esm2022/components/field/field.component.mjs +2 -2
  33. package/esm2022/components/navbar/navbar.component.mjs +2 -2
  34. package/esm2022/components/overflow-menu/overflow-menu.component.mjs +1 -1
  35. package/esm2022/components/paginator/paginator.component.mjs +1 -1
  36. package/esm2022/components/phone-input/phone-input.component.mjs +1 -1
  37. package/esm2022/components/radio-button/radio-button.component.mjs +37 -7
  38. package/esm2022/components/rating/rating.component.mjs +3 -3
  39. package/esm2022/components/segmented-bar/segmented-bar.component.mjs +41 -10
  40. package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +7 -4
  41. package/esm2022/components/segmented-bar/segmented-bar.model.mjs +1 -1
  42. package/esm2022/components/segmented-button/segmented-button.component.mjs +1 -1
  43. package/esm2022/components/side-sheet/side-sheet.component.mjs +1 -1
  44. package/esm2022/components/slider/slider.component.mjs +1 -1
  45. package/esm2022/components/snackbar/snackbar.component.mjs +2 -2
  46. package/esm2022/components/step/step.component.mjs +5 -3
  47. package/esm2022/components/stepper/stepper.component.mjs +13 -4
  48. package/esm2022/components/stepper/stepper.component.module.mjs +4 -4
  49. package/esm2022/components/stepper/stepper.model.mjs +1 -1
  50. package/esm2022/components/table/table.component.mjs +2 -2
  51. package/esm2022/components/tabs/tab.directive.mjs +8 -2
  52. package/esm2022/components/tabs/tabs.component.mjs +69 -4
  53. package/esm2022/components/tabs/tabs.model.mjs +1 -1
  54. package/esm2022/components/tag/tag.component.mjs +1 -1
  55. package/esm2022/components/toggle/toggle.component.mjs +1 -1
  56. package/esm2022/components/tooltip/tooltip-template.directive.mjs +115 -0
  57. package/esm2022/components/tooltip/tooltip.component.mjs +4 -3
  58. package/esm2022/components/tooltip/tooltip.component.module.mjs +5 -4
  59. package/esm2022/directives/step-line-element.directive.mjs +47 -0
  60. package/esm2022/public-api.mjs +3 -1
  61. package/esm2022/utils/alert-bars.utils.mjs +3 -2
  62. package/esm2022/utils/autocomplete-utils.mjs +2 -2
  63. package/fesm2022/testgorilla-tgo-ui.mjs +375 -84
  64. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  65. package/package.json +2 -1
  66. package/projects/tgo-canopy-ui/assets/images/rebrand-logo/powered-by.svg +13 -13
  67. package/projects/tgo-canopy-ui/theme/_input.scss +13 -4
  68. package/projects/tgo-canopy-ui/theme/_tooltip.scss +130 -28
  69. package/public-api.d.ts +1 -0
  70. package/directives/step-line-width.directive.d.ts +0 -15
  71. package/esm2022/directives/step-line-width.directive.mjs +0 -38
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { ApplicationTheme } from '../../models/application-theme.model';
3
- import { AccordionVariant } from './accordion.model';
3
+ import { AccordionVariant, ToggleIconPosition } from './accordion.model';
4
4
  import { IconName } from '../icon/icon.model';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class AccordionComponent {
@@ -64,12 +64,36 @@ export declare class AccordionComponent {
64
64
  * @memberof AccordionComponent
65
65
  */
66
66
  variant: AccordionVariant;
67
+ /**
68
+ *
69
+ * Projects content with attribute 'customHeader'
70
+ *
71
+ * @type {boolean}
72
+ * @memberof AccordionComponent
73
+ */
74
+ allowCustomHeader: boolean;
75
+ /**
76
+ *
77
+ * Sets background color of content to none
78
+ *
79
+ * @type {boolean}
80
+ * @memberof AccordionComponent
81
+ */
82
+ noBackgroundColor: boolean;
83
+ /**
84
+ *
85
+ * Defines the toggle icon position
86
+ *
87
+ * @type {boolean}
88
+ * @memberof AccordionComponent
89
+ */
90
+ toggleIconPosition: ToggleIconPosition;
67
91
  closed: EventEmitter<void>;
68
92
  opened: EventEmitter<void>;
69
93
  constructor(defaultAppTheme: ApplicationTheme);
70
94
  protected toggle(open: boolean): void;
71
95
  static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, [{ optional: true; }]>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ui-accordion", never, { "label": { "alias": "label"; "required": true; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showPremiumIcon": { "alias": "showPremiumIcon"; "required": false; }; "premiumTooltipText": { "alias": "premiumTooltipText"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, never, ["[subHeader]", "[actions]", "*"], false, never>;
96
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ui-accordion", never, { "label": { "alias": "label"; "required": true; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showPremiumIcon": { "alias": "showPremiumIcon"; "required": false; }; "premiumTooltipText": { "alias": "premiumTooltipText"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "allowCustomHeader": { "alias": "allowCustomHeader"; "required": false; }; "noBackgroundColor": { "alias": "noBackgroundColor"; "required": false; }; "toggleIconPosition": { "alias": "toggleIconPosition"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, never, ["[subHeader]", "[customHeader]", "[actions]", "*"], false, never>;
73
97
  static ngAcceptInputType_open: unknown;
74
98
  static ngAcceptInputType_disabled: unknown;
75
99
  static ngAcceptInputType_showPremiumIcon: unknown;
@@ -1 +1,2 @@
1
1
  export type AccordionVariant = 'standard' | 'filter' | 'table';
2
+ export type ToggleIconPosition = 'left' | 'right';
@@ -51,11 +51,11 @@ export declare class DeprecatedTableComponent<T extends IDataSource, TDetail ext
51
51
  /**
52
52
  * @ignore
53
53
  */
54
- dataSource: MatTableDataSource<any, import("@angular/material/paginator").MatPaginator>;
54
+ dataSource: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
55
55
  /**
56
56
  * @ignore
57
57
  */
58
- dataSourceDetail: MatTableDataSource<any, import("@angular/material/paginator").MatPaginator>;
58
+ dataSourceDetail: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
59
59
  /**
60
60
  * @ignore
61
61
  */
@@ -2,9 +2,11 @@ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { MatRadioButton } from '@angular/material/radio';
3
3
  import { RadioButtonEventType } from './radio-button.model';
4
4
  import { ApplicationTheme } from "../../models/application-theme.model";
5
+ import { ControlValueAccessor, NgControl } from "@angular/forms";
5
6
  import * as i0 from "@angular/core";
6
- export declare class RadioButtonComponent implements OnInit, OnChanges {
7
+ export declare class RadioButtonComponent implements OnInit, OnChanges, ControlValueAccessor {
7
8
  private readonly defaultAppTheme;
9
+ ngControl: NgControl;
8
10
  /**
9
11
  * Determines whether the radio button is disabled.
10
12
  * Default: false.
@@ -106,11 +108,20 @@ export declare class RadioButtonComponent implements OnInit, OnChanges {
106
108
  */
107
109
  changeRadio: EventEmitter<RadioButtonEventType>;
108
110
  classMultiple: string;
109
- constructor(defaultAppTheme: ApplicationTheme);
111
+ constructor(defaultAppTheme: ApplicationTheme, ngControl: NgControl);
110
112
  ngOnInit(): void;
111
113
  ngOnChanges(changes: SimpleChanges): void;
112
114
  clickRadio(element: MatRadioButton, event: MouseEvent): void;
115
+ writeValue(value: any): void;
116
+ registerOnChange(fn: any): void;
117
+ registerOnTouched(fn: any): void;
118
+ setDisabledState(isDisabled: boolean): void;
119
+ onChange: (_: any) => void;
120
+ /**
121
+ * @ignore
122
+ */
123
+ onTouch: () => void;
113
124
  setClass(): string;
114
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, [{ optional: true; }]>;
125
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, [{ optional: true; }, { optional: true; self: true; }]>;
115
126
  static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "ui-radio-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowUnselect": { "alias": "allowUnselect"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "value": { "alias": "value"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; }, { "changeRadio": "changeRadio"; }, never, ["[radio-label]"], false, never>;
116
127
  }
@@ -1,4 +1,4 @@
1
- import { SegmentedBar, SegmentedBarVariant } from './segmented-bar.model';
1
+ import { SegmentedBar, SegmentedBarVariant, SegmentedBarWithPercentage } from './segmented-bar.model';
2
2
  import { ApplicationTheme } from "../../models/application-theme.model";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class SegmentedBarComponent {
@@ -25,7 +25,7 @@ export declare class SegmentedBarComponent {
25
25
  * @type {SegmentedBar}
26
26
  * @memberof SegmentedBarComponent
27
27
  */
28
- segments: SegmentedBar[];
28
+ set segments(segments: SegmentedBar[]);
29
29
  /**
30
30
  *
31
31
  * Defines the application theme
@@ -48,7 +48,16 @@ export declare class SegmentedBarComponent {
48
48
  * @memberof SegmentedBarComponent
49
49
  */
50
50
  ariaRequired: boolean;
51
+ /**
52
+ * Groups the tooltips into one template
53
+ *
54
+ * @type {boolean}
55
+ * @memberof SegmentedBarComponent
56
+ */
57
+ tooltipStats: boolean;
58
+ segmentList: SegmentedBarWithPercentage[];
51
59
  constructor(defaultAppTheme: ApplicationTheme);
60
+ calculatePercentages(segments: SegmentedBar[]): SegmentedBarWithPercentage[];
52
61
  static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedBarComponent, [{ optional: true; }]>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedBarComponent, "ui-segmented-bar", never, { "width": { "alias": "width"; "required": false; }; "size": { "alias": "size"; "required": false; }; "segments": { "alias": "segments"; "required": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; }, {}, never, never, false, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedBarComponent, "ui-segmented-bar", never, { "width": { "alias": "width"; "required": false; }; "size": { "alias": "size"; "required": false; }; "segments": { "alias": "segments"; "required": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "tooltipStats": { "alias": "tooltipStats"; "required": false; }; }, {}, never, never, false, never>;
54
63
  }
@@ -3,8 +3,11 @@ import * as i1 from "./segmented-bar.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/tooltip";
5
5
  import * as i4 from "@angular/material/input";
6
+ import * as i5 from "../icon/icon.component.module";
7
+ import * as i6 from "../tooltip/tooltip.component.module";
8
+ import * as i7 from "../tooltip/tooltip-template.directive";
6
9
  export declare class SegmentedBarComponentModule {
7
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedBarComponentModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<SegmentedBarComponentModule, [typeof i1.SegmentedBarComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.MatInputModule], [typeof i1.SegmentedBarComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SegmentedBarComponentModule, [typeof i1.SegmentedBarComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.TooltipComponentModule, typeof i7.TooltipTemplateDirective], [typeof i1.SegmentedBarComponent]>;
9
12
  static ɵinj: i0.ɵɵInjectorDeclaration<SegmentedBarComponentModule>;
10
13
  }
@@ -1,7 +1,12 @@
1
+ import { IconName } from "../icon/icon.model";
1
2
  export type SegmentedBarVariant = 'large' | 'small';
2
3
  export type SegmentedBarColor = 'teal' | 'rhubarb' | 'light-teal' | 'grey';
3
4
  export interface SegmentedBar {
4
5
  value: number;
5
6
  color: SegmentedBarColor;
6
7
  tooltip?: string;
8
+ icon?: IconName;
7
9
  }
10
+ export type SegmentedBarWithPercentage = SegmentedBar & {
11
+ percentage: string;
12
+ };
@@ -2,6 +2,7 @@ import { EventEmitter } from '@angular/core';
2
2
  import { IconName } from '../icon/icon.model';
3
3
  import { ApplicationTheme } from '../../models/application-theme.model';
4
4
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
5
+ import { StepperPosition } from "../stepper/stepper.model";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class StepComponent {
7
8
  private readonly defaultAppTheme;
@@ -92,6 +93,14 @@ export declare class StepComponent {
92
93
  * @memberof StepComponent
93
94
  */
94
95
  applicationTheme: ApplicationTheme;
96
+ /**
97
+ *
98
+ * Defines the stepper position
99
+ *
100
+ * @type {StepperPosition}
101
+ * @memberof StepComponent
102
+ */
103
+ position: StepperPosition;
95
104
  /**
96
105
  *
97
106
  * Step description
@@ -119,5 +128,5 @@ export declare class StepComponent {
119
128
  protected get hasLastStepDefaultIcon(): boolean;
120
129
  protected onStepSelected(index: number): void;
121
130
  static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, [{ optional: true; }, null]>;
122
- static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "ui-step", never, { "label": { "alias": "label"; "required": false; }; "isVisited": { "alias": "isVisited"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "prevStepIsVisited": { "alias": "prevStepIsVisited"; "required": false; }; "mobileMode": { "alias": "mobileMode"; "required": false; }; "finalIcon": { "alias": "finalIcon"; "required": false; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "htmlDescription": { "alias": "htmlDescription"; "required": false; }; "boldLabel": { "alias": "boldLabel"; "required": false; }; }, { "stepSelected": "stepSelected"; }, never, never, false, never>;
131
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "ui-step", never, { "label": { "alias": "label"; "required": false; }; "isVisited": { "alias": "isVisited"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "prevStepIsVisited": { "alias": "prevStepIsVisited"; "required": false; }; "mobileMode": { "alias": "mobileMode"; "required": false; }; "finalIcon": { "alias": "finalIcon"; "required": false; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "position": { "alias": "position"; "required": false; }; "htmlDescription": { "alias": "htmlDescription"; "required": false; }; "boldLabel": { "alias": "boldLabel"; "required": false; }; }, { "stepSelected": "stepSelected"; }, never, never, false, never>;
123
132
  }
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Step } from './stepper.model';
2
+ import { Step, StepperPosition } from './stepper.model';
3
3
  import { Observable } from 'rxjs';
4
4
  import { ApplicationTheme } from "../../models/application-theme.model";
5
5
  import * as i0 from "@angular/core";
@@ -49,6 +49,13 @@ export declare class StepperComponent {
49
49
  * @memberof StepperComponent
50
50
  */
51
51
  ariaLabel: string;
52
+ /**
53
+ * Defines the stepper position
54
+ *
55
+ * @type {StepperPosition}
56
+ * @memberof StepperComponent
57
+ */
58
+ position: StepperPosition;
52
59
  /**
53
60
  * A string representing the ARIA requirement for accessibility.
54
61
  * This attribute is used to indicate whether an input field is required for form submission.
@@ -72,5 +79,5 @@ export declare class StepperComponent {
72
79
  protected showStepsToggle(): void;
73
80
  protected onCloseStepList(): void;
74
81
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null]>;
75
- static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ui-stepper", never, { "steps": { "alias": "steps"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "lastStepFinalIcon": { "alias": "lastStepFinalIcon"; "required": false; }; "language": { "alias": "language"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
82
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ui-stepper", never, { "steps": { "alias": "steps"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "lastStepFinalIcon": { "alias": "lastStepFinalIcon"; "required": false; }; "language": { "alias": "language"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "position": { "alias": "position"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
76
83
  }
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./stepper.component";
3
- import * as i2 from "../../directives/step-line-width.directive";
3
+ import * as i2 from "../../directives/step-line-element.directive";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "../icon/icon.component.module";
6
6
  import * as i5 from "../step/step.component.module";
@@ -10,6 +10,6 @@ import * as i8 from "../../pipes/ui-translate.pipe";
10
10
  import * as i9 from "@angular/material/input";
11
11
  export declare class StepperComponentModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponentModule, never>;
13
- 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.RadialProgressComponentModule, typeof i8.UiTranslatePipe, typeof i9.MatInputModule], [typeof i1.StepperComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule, [typeof i1.StepperComponent, typeof i2.StepLineElementDirective], [typeof i3.CommonModule, typeof i4.IconComponentModule, typeof i5.StepComponentModule, typeof i6.MatProgressSpinnerModule, typeof i7.RadialProgressComponentModule, typeof i8.UiTranslatePipe, typeof i9.MatInputModule], [typeof i1.StepperComponent]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<StepperComponentModule>;
15
15
  }
@@ -9,3 +9,4 @@ export interface Step {
9
9
  htmlDescription?: string;
10
10
  boldLabel?: boolean;
11
11
  }
12
+ export type StepperPosition = 'horizontal' | 'vertical';
@@ -70,7 +70,7 @@ export declare class TableComponent<T extends DataSource, TDetail extends DataSo
70
70
  'border-radius': string;
71
71
  height: string;
72
72
  };
73
- protected dataSourceDetail: MatTableDataSource<any, import("@angular/material/paginator").MatPaginator>;
73
+ protected dataSourceDetail: MatTableDataSource<any, import("@angular/material/table").MatTableDataSourcePaginator>;
74
74
  protected elementDetail: any;
75
75
  protected readonly DataType: typeof ColumnType;
76
76
  protected scrollSettings$: BehaviorSubject<ScrollSettings>;
@@ -1,8 +1,9 @@
1
- import { OnChanges, TemplateRef } from '@angular/core';
1
+ import { OnChanges, OnDestroy, TemplateRef } from '@angular/core';
2
2
  import { TabsComponent } from "./tabs.component";
3
3
  import { IconName } from '../icon/icon.model';
4
+ import { Tab } from './tabs.model';
4
5
  import * as i0 from "@angular/core";
5
- export declare class TabDirective implements OnChanges {
6
+ export declare class TabDirective implements OnChanges, OnDestroy {
6
7
  private tabsComponent;
7
8
  private template;
8
9
  tabLabel: string;
@@ -10,10 +11,15 @@ export declare class TabDirective implements OnChanges {
10
11
  iconLeft: IconName;
11
12
  iconRight: IconName;
12
13
  disabled: boolean;
14
+ canLeave?: (ctx?: {
15
+ currentTab: Tab;
16
+ nextTab: Tab;
17
+ }) => boolean | Promise<boolean>;
13
18
  constructor(tabsComponent: TabsComponent, template: TemplateRef<any>);
14
19
  ngOnChanges(): void;
15
20
  private addTab;
21
+ ngOnDestroy(): void;
16
22
  static ɵfac: i0.ɵɵFactoryDeclaration<TabDirective, [{ host: true; }, null]>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabDirective, "[uiTab]", never, { "tabLabel": { "alias": "tabLabel"; "required": true; }; "tabName": { "alias": "tabName"; "required": true; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabDirective, "[uiTab]", never, { "tabLabel": { "alias": "tabLabel"; "required": true; }; "tabName": { "alias": "tabName"; "required": true; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "canLeave": { "alias": "canLeave"; "required": false; }; }, {}, never, never, false, never>;
18
24
  static ngAcceptInputType_disabled: unknown;
19
25
  }
@@ -2,7 +2,7 @@ import { EventEmitter } from '@angular/core';
2
2
  import { Tab, TabsType } from "./tabs.model";
3
3
  import { ApplicationTheme } from "../../models/application-theme.model";
4
4
  import { Observable } from 'rxjs';
5
- import { MatTabChangeEvent } from "@angular/material/tabs";
5
+ import { MatTabChangeEvent, MatTabGroup } from '@angular/material/tabs';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class TabsComponent {
8
8
  private readonly defaultAppTheme;
@@ -53,13 +53,18 @@ export declare class TabsComponent {
53
53
  applicationTheme: ApplicationTheme;
54
54
  selectedTabIndex: EventEmitter<number>;
55
55
  selectedTab: EventEmitter<Tab>;
56
+ tabGroup: MatTabGroup;
56
57
  protected tabs: Tab[];
57
58
  readonly tabIndex: import("@angular/core").WritableSignal<number>;
58
59
  protected tabIndexMap: Record<string, number>;
59
60
  constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>);
61
+ ngAfterViewInit(): void;
60
62
  addTab(tab: Tab): void;
61
63
  onTabChange(ev: MatTabChangeEvent): void;
64
+ selectTab(tabName: string): void;
65
+ indexOf(tabName: string): number;
62
66
  trackByTabName(index: number, tab: Tab): string;
67
+ removeTab(tabName: string): void;
63
68
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, [{ optional: true; }, null]>;
64
69
  static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ui-tabs", never, { "companyColor": { "alias": "companyColor"; "required": false; }; "type": { "alias": "type"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "headerContentPadding": { "alias": "headerContentPadding"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "selectedTabIndex": "selectedTabIndex"; "selectedTab": "selectedTab"; }, never, never, false, never>;
65
70
  static ngAcceptInputType_headerContentPadding: number;
@@ -6,5 +6,9 @@ export interface Tab {
6
6
  iconLeft?: IconName;
7
7
  iconRight?: IconName;
8
8
  disabled?: boolean;
9
+ canLeave?: (ctx?: {
10
+ currentTab: Tab;
11
+ nextTab: Tab;
12
+ }) => boolean | Promise<boolean>;
9
13
  }
10
14
  export type TabsType = 'underlined' | 'filled';
@@ -0,0 +1,22 @@
1
+ import { ElementRef, OnChanges, OnDestroy, TemplateRef } from '@angular/core';
2
+ import { Overlay, OverlayPositionBuilder } from "@angular/cdk/overlay";
3
+ import { TooltipPositionType } from "./tooltip.model";
4
+ import * as i0 from "@angular/core";
5
+ export declare class TooltipTemplateDirective implements OnChanges, OnDestroy {
6
+ private _overlay;
7
+ private _overlayPositionBuilder;
8
+ private _elementRef;
9
+ tooltipPosition: TooltipPositionType;
10
+ showTooltip: boolean;
11
+ templateRef: TemplateRef<any>;
12
+ private _overlayRef;
13
+ constructor(_overlay: Overlay, _overlayPositionBuilder: OverlayPositionBuilder, _elementRef: ElementRef);
14
+ ngOnChanges(): void;
15
+ show(): void;
16
+ hide(): void;
17
+ ngOnDestroy(): void;
18
+ private closeToolTip;
19
+ private setPosition;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipTemplateDirective, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipTemplateDirective, "[uiTooltipTemplate]", never, { "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "templateRef": { "alias": "uiTooltipTemplate"; "required": false; }; }, {}, never, never, true, never>;
22
+ }
@@ -34,6 +34,7 @@ export declare class TooltipComponent implements OnInit {
34
34
  * @memberof TooltipComponent
35
35
  */
36
36
  applicationTheme: ApplicationTheme;
37
+ templateRef: any;
37
38
  constructor(defaultAppTheme: ApplicationTheme);
38
39
  matPosition: TooltipPosition;
39
40
  ngOnInit(): void;
@@ -1,8 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./tooltip.component";
3
3
  import * as i2 from "@angular/material/tooltip";
4
+ import * as i3 from "@angular/common";
4
5
  export declare class TooltipComponentModule {
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponentModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipComponentModule, [typeof i1.TooltipComponent], [typeof i2.MatTooltipModule], [typeof i1.TooltipComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipComponentModule, [typeof i1.TooltipComponent], [typeof i2.MatTooltipModule, typeof i3.CommonModule], [typeof i1.TooltipComponent]>;
7
8
  static ɵinj: i0.ɵɵInjectorDeclaration<TooltipComponentModule>;
8
9
  }
@@ -0,0 +1,17 @@
1
+ import { ElementRef, OnChanges } from '@angular/core';
2
+ import { StepperPosition } from "../components/stepper/stepper.model";
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Directive is used to draw lines between steps
6
+ */
7
+ export declare class StepLineElementDirective implements OnChanges {
8
+ private el;
9
+ stepLineElement: HTMLElement;
10
+ position: StepperPosition;
11
+ resize(): void;
12
+ constructor(el: ElementRef);
13
+ setSize(): void;
14
+ ngOnChanges(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepLineElementDirective, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StepLineElementDirective, "[stepLineElement]", never, { "stepLineElement": { "alias": "stepLineElement"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
17
+ }