@testgorilla/tgo-ui 8.19.1 → 9.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.
- package/components/accordion/index.d.ts +7 -7
- package/components/ai-audio-circle/index.d.ts +3 -3
- package/components/ai-caveat/index.d.ts +5 -5
- package/components/ai-feedback/index.d.ts +14 -14
- package/components/alert-banner/index.d.ts +8 -8
- package/components/autocomplete/index.d.ts +15 -16
- package/components/autocomplete-v2/index.d.ts +36 -32
- package/components/avatar/index.d.ts +7 -7
- package/components/badge/index.d.ts +6 -6
- package/components/breadcrumb/index.d.ts +11 -11
- package/components/button/index.d.ts +23 -13
- package/components/card/index.d.ts +4 -4
- package/components/checkbox/index.d.ts +24 -24
- package/components/core/index.d.ts +39 -31
- package/components/datepicker/index.d.ts +18 -18
- package/components/dialog/index.d.ts +29 -21
- package/components/divider/index.d.ts +4 -4
- package/components/donut-chart/index.d.ts +3 -3
- package/components/dropdown/index.d.ts +37 -33
- package/components/elevation-shadow/index.d.ts +3 -3
- package/components/empty-state/index.d.ts +7 -7
- package/components/field/index.d.ts +33 -44
- package/components/file-upload/index.d.ts +14 -13
- package/components/filter-button/index.d.ts +19 -19
- package/components/gaussian-chart/index.d.ts +8 -8
- package/components/icon/index.d.ts +20 -18
- package/components/icon-label/index.d.ts +5 -5
- package/components/inline-field/index.d.ts +20 -24
- package/components/logo/index.d.ts +2 -3
- package/components/media-dialog/index.d.ts +3 -3
- package/components/multi-input/index.d.ts +25 -16
- package/components/navbar/index.d.ts +30 -30
- package/components/overflow-menu/index.d.ts +20 -19
- package/components/page-header/index.d.ts +5 -5
- package/components/paginator/index.d.ts +4 -4
- package/components/password-criteria/index.d.ts +13 -12
- package/components/password-strength/index.d.ts +6 -6
- package/components/phone-input/index.d.ts +28 -30
- package/components/progress-bar/index.d.ts +5 -5
- package/components/prompt/index.d.ts +25 -25
- package/components/radial-progress/index.d.ts +5 -5
- package/components/radio-button/index.d.ts +28 -29
- package/components/rating/index.d.ts +5 -5
- package/components/scale/index.d.ts +4 -4
- package/components/segmented-bar/index.d.ts +8 -8
- package/components/segmented-button/index.d.ts +17 -16
- package/components/selectable-card/index.d.ts +6 -6
- package/components/side-navigation/index.d.ts +14 -14
- package/components/side-panel/index.d.ts +8 -8
- package/components/side-sheet/index.d.ts +19 -17
- package/components/snackbar/index.d.ts +16 -15
- package/components/spider-chart/index.d.ts +12 -12
- package/components/spinner/index.d.ts +5 -5
- package/components/stepper/index.d.ts +35 -35
- package/components/table/index.d.ts +36 -34
- package/components/tabs/index.d.ts +18 -17
- package/components/tag/index.d.ts +10 -10
- package/components/toggle/index.d.ts +10 -9
- package/components/tooltip/index.d.ts +16 -18
- package/components/universal-skills/index.d.ts +16 -16
- package/components/validation-error/index.d.ts +22 -10
- package/components/write-with-ai/index.d.ts +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +36 -15
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +9 -12
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -10
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +39 -27
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +25 -14
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +4 -2
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +134 -117
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +47 -48
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +30 -18
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +9 -12
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +25 -18
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +155 -120
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +7 -9
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +51 -47
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +2232 -2210
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +44 -25
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +55 -31
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +8 -11
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +8 -10
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +105 -90
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +5 -7
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +24 -13
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +65 -57
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +35 -23
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +34 -27
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +26 -16
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +6 -7
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +63 -57
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +24 -24
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +6 -6
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +6 -6
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +4 -4
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +42 -21
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +44 -32
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +39 -21
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +10 -14
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +7 -9
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +33 -20
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +9 -12
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +82 -73
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +8 -11
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +47 -40
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -10
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +43 -48
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +7 -12
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +6 -10
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +30 -16
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +15 -14
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +8 -11
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +27 -21
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +5 -2
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +34 -26
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +5 -5
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +31 -20
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +28 -23
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +9 -12
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +85 -79
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +74 -51
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +57 -25
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +16 -17
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +25 -17
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +44 -28
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +34 -27
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +30 -14
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +13 -11
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +6 -8
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/index.d.ts +4 -4
- package/mcp/catalog.json +1 -1
- package/package.json +1 -2
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { ApplicationRef, OnInit, EventEmitter, ViewContainerRef, DestroyRef } from '@angular/core';
|
|
5
|
-
import * as
|
|
4
|
+
import { Type, ComponentRef, ApplicationRef, OnInit, EventEmitter, ViewContainerRef, DestroyRef, ChangeDetectorRef } from '@angular/core';
|
|
5
|
+
import * as i5 from '@angular/material/sidenav';
|
|
6
6
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i6 from '@testgorilla/tgo-ui/components/core';
|
|
8
8
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
9
|
+
import * as i1 from '@angular/common';
|
|
10
|
+
import * as i2 from '@testgorilla/tgo-ui/components/icon';
|
|
11
|
+
import * as i3 from '@testgorilla/tgo-ui/components/button';
|
|
12
|
+
import * as i4 from '@angular/material/tooltip';
|
|
13
|
+
import * as i7 from '@testgorilla/tgo-ui/components/logo';
|
|
14
14
|
|
|
15
15
|
interface SideSheetConfig {
|
|
16
|
-
|
|
16
|
+
/** A component class on input; replaced with its created ComponentRef by SideSheetService.open. */
|
|
17
|
+
componentRef: Type<unknown> | ComponentRef<unknown>;
|
|
17
18
|
title?: string;
|
|
18
19
|
showLogo?: boolean;
|
|
19
20
|
showBackButton?: boolean;
|
|
@@ -23,8 +24,8 @@ interface SideSheetConfig {
|
|
|
23
24
|
type SideSheetPosition = 'start' | 'end';
|
|
24
25
|
|
|
25
26
|
declare class SideSheetService {
|
|
26
|
-
private applicationRef;
|
|
27
|
-
private componentRef$;
|
|
27
|
+
private readonly applicationRef;
|
|
28
|
+
private readonly componentRef$;
|
|
28
29
|
constructor(applicationRef: ApplicationRef);
|
|
29
30
|
open<T>(config: SideSheetConfig): T;
|
|
30
31
|
close(): void;
|
|
@@ -35,8 +36,9 @@ declare class SideSheetService {
|
|
|
35
36
|
|
|
36
37
|
declare class SideSheetComponent implements OnInit {
|
|
37
38
|
private readonly defaultAppTheme;
|
|
38
|
-
private sideSheetService;
|
|
39
|
-
private destroyRef;
|
|
39
|
+
private readonly sideSheetService;
|
|
40
|
+
private readonly destroyRef;
|
|
41
|
+
private readonly cdr;
|
|
40
42
|
/**
|
|
41
43
|
* Set position. Defaults "end"
|
|
42
44
|
*
|
|
@@ -61,19 +63,19 @@ declare class SideSheetComponent implements OnInit {
|
|
|
61
63
|
protected showTitleTooltip: boolean;
|
|
62
64
|
protected showLogo: boolean;
|
|
63
65
|
protected componentRef$: rxjs.Observable<SideSheetConfig | null>;
|
|
64
|
-
constructor(defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef);
|
|
66
|
+
constructor(defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef, cdr: ChangeDetectorRef);
|
|
65
67
|
ngOnInit(): void;
|
|
66
68
|
private setComponentRef;
|
|
67
69
|
private setConfig;
|
|
68
70
|
protected onClose(): void;
|
|
69
71
|
onOpenChange(isOpened: boolean): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponent, [{ optional: true; }, null, null]>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideSheetComponent, "ui-side-sheet", never, { "position": { "alias": "position"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"],
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponent, [{ optional: true; }, null, null, null]>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideSheetComponent, "ui-side-sheet", never, { "position": { "alias": "position"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], true, never>;
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
declare class SideSheetComponentModule {
|
|
75
77
|
static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponentModule, never>;
|
|
76
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SideSheetComponentModule, [typeof
|
|
78
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SideSheetComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.ButtonComponentModule, typeof i4.MatTooltipModule, typeof i5.MatSidenavModule, typeof i6.UiTranslatePipe, typeof i7.LogoComponentModule, typeof SideSheetComponent], [typeof SideSheetComponent]>;
|
|
77
79
|
static ɵinj: i0.ɵɵInjectorDeclaration<SideSheetComponentModule>;
|
|
78
80
|
}
|
|
79
81
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
2
|
+
import { OnInit, ChangeDetectorRef } from '@angular/core';
|
|
3
3
|
import * as _angular_material_snack_bar from '@angular/material/snack-bar';
|
|
4
4
|
import { MatSnackBarRef, MatSnackBar } from '@angular/material/snack-bar';
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import * as i5 from '@testgorilla/tgo-ui/components/core';
|
|
5
|
+
import { LinkTargetType } from '@testgorilla/tgo-ui/components/alert-banner';
|
|
6
|
+
import * as i4 from '@testgorilla/tgo-ui/components/core';
|
|
8
7
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
9
8
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
9
|
+
import * as i3 from '@testgorilla/tgo-ui/components/icon';
|
|
10
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
11
|
+
import * as i1 from '@angular/common';
|
|
12
|
+
import * as i2 from '@testgorilla/tgo-ui/components/button';
|
|
13
|
+
import * as i6 from '@angular/material/tooltip';
|
|
14
14
|
|
|
15
15
|
type SnackbarType = 'success' | 'error' | 'info' | 'warning';
|
|
16
16
|
type SnackbarVariant = 'desktop' | 'mobile';
|
|
@@ -22,8 +22,9 @@ interface SnackbarLink {
|
|
|
22
22
|
|
|
23
23
|
declare class SnackbarComponent implements OnInit {
|
|
24
24
|
private readonly defaultAppTheme;
|
|
25
|
-
private data;
|
|
26
|
-
private snackbarRef;
|
|
25
|
+
private readonly data;
|
|
26
|
+
private readonly snackbarRef;
|
|
27
|
+
private readonly cdr;
|
|
27
28
|
/**
|
|
28
29
|
* Background color of the button while in active state
|
|
29
30
|
*
|
|
@@ -127,7 +128,7 @@ declare class SnackbarComponent implements OnInit {
|
|
|
127
128
|
applicationTheme?: ApplicationTheme;
|
|
128
129
|
html?: string;
|
|
129
130
|
seconds?: number;
|
|
130
|
-
}, snackbarRef: MatSnackBarRef<SnackbarComponent
|
|
131
|
+
}, snackbarRef: MatSnackBarRef<SnackbarComponent>, cdr: ChangeDetectorRef);
|
|
131
132
|
ngOnInit(): void;
|
|
132
133
|
show(): void;
|
|
133
134
|
hide(): void;
|
|
@@ -136,18 +137,18 @@ declare class SnackbarComponent implements OnInit {
|
|
|
136
137
|
dismissClick(): void;
|
|
137
138
|
onLinkClick(event: Event): void;
|
|
138
139
|
private dismissSnackbar;
|
|
139
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, [{ optional: true; }, null, null]>;
|
|
140
|
-
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,
|
|
140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, [{ optional: true; }, null, null, null]>;
|
|
141
|
+
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, true, never>;
|
|
141
142
|
}
|
|
142
143
|
|
|
143
144
|
declare class SnackbarComponentModule {
|
|
144
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponentModule, never>;
|
|
145
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SnackbarComponentModule,
|
|
146
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SnackbarComponentModule, never, [typeof i1.CommonModule, typeof i2.ButtonComponentModule, typeof i3.IconComponentModule, typeof i4.UiTranslatePipe, typeof _angular_material_snack_bar.MatSnackBarModule, typeof i6.MatTooltipModule, typeof SnackbarComponent], [typeof SnackbarComponent]>;
|
|
146
147
|
static ɵinj: i0.ɵɵInjectorDeclaration<SnackbarComponentModule>;
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
declare class SnackbarService {
|
|
150
|
-
private snackBar;
|
|
151
|
+
private readonly snackBar;
|
|
151
152
|
constructor(snackBar: MatSnackBar);
|
|
152
153
|
error(message: string, applicationTheme?: ApplicationTheme, html?: string, link?: SnackbarLink, seconds?: number): _angular_material_snack_bar.MatSnackBarRef<SnackbarComponent>;
|
|
153
154
|
success(message: string, applicationTheme?: ApplicationTheme, html?: string, link?: SnackbarLink, seconds?: number): _angular_material_snack_bar.MatSnackBarRef<SnackbarComponent>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, AfterViewInit, QueryList, ElementRef } from '@angular/core';
|
|
3
|
-
import * as i3 from '@testgorilla/tgo-ui/components/core';
|
|
4
|
-
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
5
3
|
import { ChartData, ChartOptions } from 'chart.js';
|
|
6
|
-
import * as
|
|
4
|
+
import * as i3 from 'ng2-charts';
|
|
7
5
|
import { BaseChartDirective } from 'ng2-charts';
|
|
8
|
-
import * as i2 from '@
|
|
9
|
-
import
|
|
10
|
-
import * as
|
|
6
|
+
import * as i2 from '@testgorilla/tgo-ui/components/core';
|
|
7
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
+
import * as i1 from '@angular/common';
|
|
9
|
+
import * as i4 from '@angular/material/tooltip';
|
|
10
|
+
import * as i5 from '@testgorilla/tgo-ui/components/spinner';
|
|
11
11
|
|
|
12
12
|
type SpiderChartSize = 'large' | 'small';
|
|
13
13
|
declare const SmallSpiderChartSize = 200;
|
|
@@ -62,10 +62,10 @@ declare class SpiderChartComponent implements OnInit, AfterViewInit {
|
|
|
62
62
|
*/
|
|
63
63
|
applicationTheme: ApplicationTheme;
|
|
64
64
|
chart: BaseChartDirective;
|
|
65
|
-
labelContainers: QueryList<ElementRef
|
|
66
|
-
fakeDataPoints: QueryList<ElementRef
|
|
67
|
-
fakeDataPointsSecondary: QueryList<ElementRef
|
|
68
|
-
legendItems: QueryList<ElementRef
|
|
65
|
+
labelContainers: QueryList<ElementRef<HTMLElement>>;
|
|
66
|
+
fakeDataPoints: QueryList<ElementRef<HTMLElement>>;
|
|
67
|
+
fakeDataPointsSecondary: QueryList<ElementRef<HTMLElement>>;
|
|
68
|
+
legendItems: QueryList<ElementRef<HTMLElement>>;
|
|
69
69
|
radarChartData: ChartData<'radar'>;
|
|
70
70
|
radarChartOptions: ChartOptions<'radar'>;
|
|
71
71
|
labelPositions: {
|
|
@@ -113,12 +113,12 @@ declare class SpiderChartComponent implements OnInit, AfterViewInit {
|
|
|
113
113
|
getFirstLine(label: string): string;
|
|
114
114
|
getSecondLine(label: string): string;
|
|
115
115
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpiderChartComponent, never>;
|
|
116
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpiderChartComponent, "ui-spider-chart", never, { "size": { "alias": "size"; "required": false; }; "spiderChartData": { "alias": "spiderChartData"; "required": false; }; "stepSize": { "alias": "stepSize"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never,
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpiderChartComponent, "ui-spider-chart", never, { "size": { "alias": "size"; "required": false; }; "spiderChartData": { "alias": "spiderChartData"; "required": false; }; "stepSize": { "alias": "stepSize"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, true, never>;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
declare class SpiderChartComponentModule {
|
|
120
120
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpiderChartComponentModule, never>;
|
|
121
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderChartComponentModule,
|
|
121
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpiderChartComponentModule, never, [typeof i1.NgClass, typeof i2.UiTranslatePipe, typeof i3.BaseChartDirective, typeof i4.MatTooltipModule, typeof i2.MemoizeFuncPipe, typeof i5.SpinnerComponentModule, typeof i1.CommonModule, typeof SpiderChartComponent], [typeof SpiderChartComponent]>;
|
|
122
122
|
static ɵinj: i0.ɵɵInjectorDeclaration<SpiderChartComponentModule>;
|
|
123
123
|
}
|
|
124
124
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, OnChanges } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i2 from '@testgorilla/tgo-ui/components/core';
|
|
4
4
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
5
5
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i3 from '@testgorilla/tgo-ui/components/icon';
|
|
7
7
|
import { IconName, IconSize } from '@testgorilla/tgo-ui/components/icon';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i1 from '@angular/common';
|
|
9
9
|
|
|
10
10
|
type SpinnerSize = 'large' | 'small';
|
|
11
11
|
|
|
@@ -61,12 +61,12 @@ declare class SpinnerComponent implements OnInit, OnChanges {
|
|
|
61
61
|
ngOnInit(): void;
|
|
62
62
|
setSpinnerClasses(): void;
|
|
63
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, [{ optional: true; }]>;
|
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "ui-spinner", never, { "size": { "alias": "size"; "required": false; }; "isLoader": { "alias": "isLoader"; "required": false; }; "text": { "alias": "text"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; }, {}, never, never,
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "ui-spinner", never, { "size": { "alias": "size"; "required": false; }; "isLoader": { "alias": "isLoader"; "required": false; }; "text": { "alias": "text"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
declare class SpinnerComponentModule {
|
|
68
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponentModule, never>;
|
|
69
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SpinnerComponentModule,
|
|
69
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SpinnerComponentModule, never, [typeof i1.NgClass, typeof i2.UiTranslatePipe, typeof i1.AsyncPipe, typeof i3.IconComponentModule, typeof SpinnerComponent], [typeof SpinnerComponent]>;
|
|
70
70
|
static ɵinj: i0.ɵɵInjectorDeclaration<SpinnerComponentModule>;
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { TemplateRef, AfterViewInit, DestroyRef, EventEmitter, ElementRef, OnChanges } from '@angular/core';
|
|
3
|
-
import
|
|
4
|
-
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
3
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
5
4
|
import { Observable } from 'rxjs';
|
|
6
|
-
import * as
|
|
5
|
+
import * as i6 from '@testgorilla/tgo-ui/components/core';
|
|
7
6
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
7
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
8
|
+
import * as i2 from '@testgorilla/tgo-ui/components/icon';
|
|
9
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
10
|
+
import * as i1 from '@angular/common';
|
|
11
|
+
import * as i3 from '@angular/material/tooltip';
|
|
12
|
+
import * as i4 from '@testgorilla/tgo-ui/components/tooltip';
|
|
12
13
|
import { TooltipPositionType } from '@testgorilla/tgo-ui/components/tooltip';
|
|
13
|
-
import * as i4 from '@angular/material/
|
|
14
|
-
import * as
|
|
15
|
-
import * as i7 from '@
|
|
16
|
-
import * as i9 from '@angular/material/input';
|
|
14
|
+
import * as i4$1 from '@angular/material/progress-spinner';
|
|
15
|
+
import * as i5 from '@testgorilla/tgo-ui/components/radial-progress';
|
|
16
|
+
import * as i7 from '@angular/material/input';
|
|
17
17
|
|
|
18
18
|
interface Step {
|
|
19
19
|
label: string;
|
|
@@ -24,10 +24,10 @@ interface Step {
|
|
|
24
24
|
showIconWhenSelected?: boolean;
|
|
25
25
|
htmlDescription?: HtmlDescription[];
|
|
26
26
|
boldLabel?: boolean;
|
|
27
|
-
descriptionTpl?: TemplateRef<
|
|
27
|
+
descriptionTpl?: TemplateRef<unknown>;
|
|
28
28
|
labelTooltip?: string;
|
|
29
29
|
alwaysShowIcon?: boolean;
|
|
30
|
-
context?:
|
|
30
|
+
context?: unknown;
|
|
31
31
|
}
|
|
32
32
|
interface HtmlDescription {
|
|
33
33
|
text?: string;
|
|
@@ -131,28 +131,13 @@ declare class StepperComponent implements AfterViewInit {
|
|
|
131
131
|
protected subscriberFocus(): void;
|
|
132
132
|
private selectedStepFocus;
|
|
133
133
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null, null, null, null]>;
|
|
134
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ui-stepper", never, { "setFirstStepAutoSelect": { "alias": "firstStepAutoSelect"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "setSelectedIndex": { "alias": "selectedIndex"; "required": false; }; "lastStepFinalIcon": { "alias": "lastStepFinalIcon"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "position": { "alias": "position"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "stepperVariant": { "alias": "stepperVariant"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never,
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* Directive is used to draw lines between steps
|
|
139
|
-
*/
|
|
140
|
-
declare class StepLineElementDirective implements OnChanges {
|
|
141
|
-
private el;
|
|
142
|
-
stepLineElement: HTMLElement;
|
|
143
|
-
position: StepperPosition;
|
|
144
|
-
resize(): void;
|
|
145
|
-
constructor(el: ElementRef);
|
|
146
|
-
setSize(): void;
|
|
147
|
-
ngOnChanges(): void;
|
|
148
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepLineElementDirective, never>;
|
|
149
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<StepLineElementDirective, "[stepLineElement]", never, { "stepLineElement": { "alias": "stepLineElement"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
|
|
134
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "ui-stepper", never, { "setFirstStepAutoSelect": { "alias": "firstStepAutoSelect"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; "setSelectedIndex": { "alias": "selectedIndex"; "required": false; }; "lastStepFinalIcon": { "alias": "lastStepFinalIcon"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "position": { "alias": "position"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "stepperVariant": { "alias": "stepperVariant"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
150
135
|
}
|
|
151
136
|
|
|
152
137
|
declare class StepComponent implements AfterViewInit {
|
|
153
138
|
private readonly defaultAppTheme;
|
|
154
|
-
private focusMonitor;
|
|
155
|
-
private destroyRef;
|
|
139
|
+
private readonly focusMonitor;
|
|
140
|
+
private readonly destroyRef;
|
|
156
141
|
/**
|
|
157
142
|
* Input property for the label of the step.
|
|
158
143
|
*
|
|
@@ -276,7 +261,7 @@ declare class StepComponent implements AfterViewInit {
|
|
|
276
261
|
* @type {TemplateRef}
|
|
277
262
|
* @memberof StepComponent
|
|
278
263
|
*/
|
|
279
|
-
descriptionTpl?: TemplateRef<
|
|
264
|
+
descriptionTpl?: TemplateRef<unknown>;
|
|
280
265
|
/**
|
|
281
266
|
*
|
|
282
267
|
* Tooltip for the step label
|
|
@@ -300,7 +285,7 @@ declare class StepComponent implements AfterViewInit {
|
|
|
300
285
|
* @type {any}
|
|
301
286
|
* @memberof StepComponent
|
|
302
287
|
*/
|
|
303
|
-
context:
|
|
288
|
+
context: unknown;
|
|
304
289
|
/**
|
|
305
290
|
* A string representing the step variant.
|
|
306
291
|
* This attribute is used to indicate the variant that should be used.
|
|
@@ -324,18 +309,33 @@ declare class StepComponent implements AfterViewInit {
|
|
|
324
309
|
protected subscriberFocus(): void;
|
|
325
310
|
onKeydown($event: KeyboardEvent): void;
|
|
326
311
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, [{ optional: true; }, null, null]>;
|
|
327
|
-
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; }; "largeTabletMode": { "alias": "largeTabletMode"; "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; }; "descriptionTpl": { "alias": "descriptionTpl"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "alwaysShowIcon": { "alias": "alwaysShowIcon"; "required": false; }; "context": { "alias": "context"; "required": false; }; "stepVariant": { "alias": "stepVariant"; "required": false; }; }, { "stepSelected": "stepSelected"; }, never, never,
|
|
312
|
+
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; }; "largeTabletMode": { "alias": "largeTabletMode"; "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; }; "descriptionTpl": { "alias": "descriptionTpl"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "alwaysShowIcon": { "alias": "alwaysShowIcon"; "required": false; }; "context": { "alias": "context"; "required": false; }; "stepVariant": { "alias": "stepVariant"; "required": false; }; }, { "stepSelected": "stepSelected"; }, never, never, true, never>;
|
|
328
313
|
}
|
|
329
314
|
|
|
330
315
|
declare class StepComponentModule {
|
|
331
316
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepComponentModule, never>;
|
|
332
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StepComponentModule, [typeof
|
|
317
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StepComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.MatTooltipModule, typeof i4.TooltipComponentModule, typeof StepComponent], [typeof StepComponent]>;
|
|
333
318
|
static ɵinj: i0.ɵɵInjectorDeclaration<StepComponentModule>;
|
|
334
319
|
}
|
|
335
320
|
|
|
321
|
+
/**
|
|
322
|
+
* Directive is used to draw lines between steps
|
|
323
|
+
*/
|
|
324
|
+
declare class StepLineElementDirective implements OnChanges {
|
|
325
|
+
private readonly el;
|
|
326
|
+
stepLineElement: HTMLElement;
|
|
327
|
+
position: StepperPosition;
|
|
328
|
+
resize(): void;
|
|
329
|
+
constructor(el: ElementRef<HTMLElement>);
|
|
330
|
+
setSize(): void;
|
|
331
|
+
ngOnChanges(): void;
|
|
332
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepLineElementDirective, never>;
|
|
333
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<StepLineElementDirective, "[stepLineElement]", never, { "stepLineElement": { "alias": "stepLineElement"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
336
|
declare class StepperComponentModule {
|
|
337
337
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponentModule, never>;
|
|
338
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule,
|
|
338
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof StepComponentModule, typeof i4$1.MatProgressSpinnerModule, typeof i5.RadialProgressComponentModule, typeof i6.UiTranslatePipe, typeof i7.MatInputModule, typeof StepperComponent, typeof StepLineElementDirective], [typeof StepperComponent]>;
|
|
339
339
|
static ɵinj: i0.ɵɵInjectorDeclaration<StepperComponentModule>;
|
|
340
340
|
}
|
|
341
341
|
|
|
@@ -2,20 +2,20 @@ import * as _angular_material_paginator from '@angular/material/paginator';
|
|
|
2
2
|
import { PageEvent } from '@angular/material/paginator';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { Type, TemplateRef, OnChanges, AfterViewInit, OnInit, EventEmitter, ElementRef, DestroyRef, SimpleChanges, PipeTransform } from '@angular/core';
|
|
5
|
-
import * as
|
|
6
|
-
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
-
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
-
import * as i4 from '@angular/material/table';
|
|
9
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
10
|
-
import * as i9 from '@angular/material/sort';
|
|
5
|
+
import * as i7 from '@angular/material/sort';
|
|
11
6
|
import { Sort as Sort$1 } from '@angular/material/sort';
|
|
7
|
+
import * as i2 from '@angular/material/table';
|
|
8
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
12
9
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
13
|
-
import * as
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
10
|
+
import * as i9 from '@testgorilla/tgo-ui/components/core';
|
|
11
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
12
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
13
|
+
import * as i1 from '@angular/common';
|
|
14
|
+
import * as i3 from '@angular/material/tooltip';
|
|
15
|
+
import * as i4 from '@testgorilla/tgo-ui/components/skeleton';
|
|
16
|
+
import * as i5 from '@testgorilla/tgo-ui/components/paginator';
|
|
17
|
+
import * as i6 from '@testgorilla/tgo-ui/components/button';
|
|
18
|
+
import * as i8 from '@testgorilla/tgo-ui/components/icon';
|
|
19
19
|
|
|
20
20
|
interface TableConfig<T = any> {
|
|
21
21
|
columns: TableColumn<T>[];
|
|
@@ -24,7 +24,7 @@ interface TableConfig<T = any> {
|
|
|
24
24
|
width?: number;
|
|
25
25
|
sort?: Sort;
|
|
26
26
|
hidePagination?: boolean;
|
|
27
|
-
noDataRowTpl?: TemplateRef<
|
|
27
|
+
noDataRowTpl?: TemplateRef<unknown>;
|
|
28
28
|
sortable?: boolean;
|
|
29
29
|
}
|
|
30
30
|
interface TableConfigWithPagination<T> extends TableConfig<T> {
|
|
@@ -39,9 +39,9 @@ interface TableColumn<T = any> {
|
|
|
39
39
|
tooltip?: string;
|
|
40
40
|
allowSort?: boolean;
|
|
41
41
|
isSticky?: boolean;
|
|
42
|
-
headerCellTemplate?: TemplateRef<
|
|
43
|
-
rowCellTemplate?: TemplateRef<
|
|
44
|
-
rowCellTemplateClick?: () =>
|
|
42
|
+
headerCellTemplate?: TemplateRef<unknown>;
|
|
43
|
+
rowCellTemplate?: TemplateRef<unknown>;
|
|
44
|
+
rowCellTemplateClick?: () => void;
|
|
45
45
|
sortHeader?: string;
|
|
46
46
|
hidden?: boolean;
|
|
47
47
|
order?: number;
|
|
@@ -60,7 +60,7 @@ interface Pagination {
|
|
|
60
60
|
currentPage: number;
|
|
61
61
|
totalItems: number;
|
|
62
62
|
}
|
|
63
|
-
type TableData = Record<string,
|
|
63
|
+
type TableData = Record<string, unknown>[];
|
|
64
64
|
interface ColumnEllipse {
|
|
65
65
|
index: number;
|
|
66
66
|
showTooltip: boolean;
|
|
@@ -85,10 +85,10 @@ declare enum ColumnType {
|
|
|
85
85
|
RENDERER = "renderer"
|
|
86
86
|
}
|
|
87
87
|
interface ComponentRenderer {
|
|
88
|
-
component: Type<
|
|
89
|
-
inputs?:
|
|
88
|
+
component: Type<unknown>;
|
|
89
|
+
inputs?: Record<string, unknown>;
|
|
90
90
|
outputs?: {
|
|
91
|
-
[key: string]:
|
|
91
|
+
[key: string]: (event: unknown) => void;
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
interface ColumnStyles {
|
|
@@ -113,7 +113,7 @@ declare enum ColumnAlignmentEnum {
|
|
|
113
113
|
CENTER = "center"
|
|
114
114
|
}
|
|
115
115
|
type DataSource = {
|
|
116
|
-
[key: string]:
|
|
116
|
+
[key: string]: unknown;
|
|
117
117
|
};
|
|
118
118
|
type ScrollSettings = {
|
|
119
119
|
scrollEnd: boolean;
|
|
@@ -123,7 +123,7 @@ type ScrollSettings = {
|
|
|
123
123
|
|
|
124
124
|
declare class TableComponent<T extends DataSource, TDetail extends DataSource> implements OnChanges, AfterViewInit, OnInit {
|
|
125
125
|
private readonly defaultAppTheme;
|
|
126
|
-
private destroyRef;
|
|
126
|
+
private readonly destroyRef;
|
|
127
127
|
protected readonly isMobile$: Observable<boolean>;
|
|
128
128
|
/**
|
|
129
129
|
* Table configuration
|
|
@@ -190,11 +190,13 @@ declare class TableComponent<T extends DataSource, TDetail extends DataSource> i
|
|
|
190
190
|
* @memberof TableComponent
|
|
191
191
|
*/
|
|
192
192
|
maxHeight: string;
|
|
193
|
-
onRowClickEvent: EventEmitter<
|
|
194
|
-
|
|
193
|
+
onRowClickEvent: EventEmitter<T & {
|
|
194
|
+
index: number;
|
|
195
|
+
}>;
|
|
196
|
+
onDetailRowClickEvent: EventEmitter<TDetail>;
|
|
195
197
|
paginatorChange: EventEmitter<PageEvent>;
|
|
196
198
|
sortChange: EventEmitter<Sort$1>;
|
|
197
|
-
table: ElementRef
|
|
199
|
+
table: ElementRef<HTMLElement>;
|
|
198
200
|
protected tableData: TableData;
|
|
199
201
|
protected sourceData: TableData;
|
|
200
202
|
protected columnsTooltipState: ColumnEllipse[];
|
|
@@ -206,8 +208,8 @@ declare class TableComponent<T extends DataSource, TDetail extends DataSource> i
|
|
|
206
208
|
'border-radius': string;
|
|
207
209
|
height: string;
|
|
208
210
|
};
|
|
209
|
-
protected dataSourceDetail: MatTableDataSource<
|
|
210
|
-
protected elementDetail:
|
|
211
|
+
protected dataSourceDetail: MatTableDataSource<TDetail, _angular_material_paginator.MatPaginator>;
|
|
212
|
+
protected elementDetail: T | null;
|
|
211
213
|
protected readonly DataType: typeof ColumnType;
|
|
212
214
|
protected scrollSettings$: BehaviorSubject<ScrollSettings>;
|
|
213
215
|
constructor(defaultAppTheme: ApplicationTheme, destroyRef: DestroyRef, isMobile$: Observable<boolean>);
|
|
@@ -215,31 +217,31 @@ declare class TableComponent<T extends DataSource, TDetail extends DataSource> i
|
|
|
215
217
|
ngAfterViewInit(): void;
|
|
216
218
|
ngOnChanges(changes: SimpleChanges): void;
|
|
217
219
|
hasTableScroll(): void;
|
|
218
|
-
callRenderer([rendererFn, element]: [(v: T) => ComponentRenderer | string, T]):
|
|
220
|
+
callRenderer([rendererFn, element]: [(v: T) => ComponentRenderer | string, T]): ComponentRenderer | string | undefined;
|
|
219
221
|
protected onPaginatorChange(event: PageEvent): void;
|
|
220
222
|
protected onChangeColumnSize(columnIndex: number, showTooltip: boolean): void;
|
|
221
223
|
protected onSortChange(sortState: Sort$1, emitEvent?: boolean): void;
|
|
222
|
-
protected onRowClick(rowParams:
|
|
223
|
-
protected onDetailRowClick(rowParams:
|
|
224
|
+
protected onRowClick(rowParams: T, rowIndex: number): void;
|
|
225
|
+
protected onDetailRowClick(rowParams: TDetail): void;
|
|
224
226
|
protected toggleRow(element: T): void;
|
|
225
227
|
private setTableDetailDataSource;
|
|
226
228
|
private setTableConfig;
|
|
227
229
|
private setTableData;
|
|
228
|
-
private defaultPaginationConfig;
|
|
230
|
+
private readonly defaultPaginationConfig;
|
|
229
231
|
trackColumnUniqueId: (index: number, column: TableColumn<T>) => string;
|
|
230
232
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any, any>, [{ optional: true; }, null, null]>;
|
|
231
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any, any>, "ui-table", never, { "config": { "alias": "config"; "required": true; }; "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "tableDetailColumns": { "alias": "tableDetailColumns"; "required": false; }; "tableDetails": { "alias": "tableDetails"; "required": false; }; "disableBorderRadius": { "alias": "disableBorderRadius"; "required": false; }; "isCondensed": { "alias": "isCondensed"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; "paginatorChange": "paginatorChange"; "sortChange": "sortChange"; }, never, ["[title-actions]"],
|
|
233
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any, any>, "ui-table", never, { "config": { "alias": "config"; "required": true; }; "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "tableDetailColumns": { "alias": "tableDetailColumns"; "required": false; }; "tableDetails": { "alias": "tableDetails"; "required": false; }; "disableBorderRadius": { "alias": "disableBorderRadius"; "required": false; }; "isCondensed": { "alias": "isCondensed"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; "paginatorChange": "paginatorChange"; "sortChange": "sortChange"; }, never, ["[title-actions]"], true, never>;
|
|
232
234
|
}
|
|
233
235
|
|
|
234
236
|
declare class SentenceCasePipe implements PipeTransform {
|
|
235
237
|
transform(value: string | undefined): string;
|
|
236
238
|
static ɵfac: i0.ɵɵFactoryDeclaration<SentenceCasePipe, never>;
|
|
237
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SentenceCasePipe, "sentencecase",
|
|
239
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SentenceCasePipe, "sentencecase", true>;
|
|
238
240
|
}
|
|
239
241
|
|
|
240
242
|
declare class TableComponentModule {
|
|
241
243
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponentModule, never>;
|
|
242
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule,
|
|
244
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule, never, [typeof i1.CommonModule, typeof i2.MatTableModule, typeof i3.MatTooltipModule, typeof i4.SkeletonComponent, typeof i5.PaginatorComponentModule, typeof i6.ButtonComponentModule, typeof i7.MatSortModule, typeof i8.IconComponentModule, typeof i9.EllipseTextDirective, typeof i9.DynamicComponentDirective, typeof i9.DataPropertyGetterPipe, typeof i9.MemoizeFuncPipe, typeof TableComponent, typeof SentenceCasePipe], [typeof TableComponent]>;
|
|
243
245
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableComponentModule>;
|
|
244
246
|
}
|
|
245
247
|
|