@testgorilla/tgo-ui 8.19.1 → 9.1.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 +45 -35
- 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 +147 -121
- 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,21 +1,21 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, AfterViewInit, EventEmitter } from '@angular/core';
|
|
3
|
-
import * as i5 from '@testgorilla/tgo-ui/components/icon';
|
|
4
|
-
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
2
|
+
import { TemplateRef, OnInit, AfterViewInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
5
3
|
import { NgxSkeletonLoaderConfigTheme } from 'ngx-skeleton-loader';
|
|
6
|
-
import * as i4 from '@
|
|
4
|
+
import * as i4 from '@testgorilla/tgo-ui/components/icon';
|
|
5
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
6
|
+
import * as i3 from '@angular/material/tabs';
|
|
7
7
|
import { MatTabGroup } from '@angular/material/tabs';
|
|
8
|
-
import
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
import * as i5 from '@testgorilla/tgo-ui/components/core';
|
|
9
10
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
10
11
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
13
|
-
import * as i7 from '@testgorilla/tgo-ui/components/skeleton';
|
|
12
|
+
import * as i2 from '@angular/common';
|
|
13
|
+
import * as i6 from '@testgorilla/tgo-ui/components/skeleton';
|
|
14
14
|
|
|
15
15
|
interface Tab {
|
|
16
16
|
tabName: string;
|
|
17
17
|
tabLabel: string;
|
|
18
|
-
contentTemplateRef:
|
|
18
|
+
contentTemplateRef: TemplateRef<unknown>;
|
|
19
19
|
iconLeft?: IconName;
|
|
20
20
|
iconRight?: IconName;
|
|
21
21
|
disabled?: boolean;
|
|
@@ -51,10 +51,10 @@ declare class TabDirective implements OnInit {
|
|
|
51
51
|
order: _angular_core.InputSignal<number | undefined>;
|
|
52
52
|
skeletonTheme: _angular_core.InputSignal<NgxSkeletonLoaderConfigTheme | undefined>;
|
|
53
53
|
isSkeletonAiTheme: _angular_core.InputSignal<boolean | undefined>;
|
|
54
|
-
private tabsComponent;
|
|
55
|
-
private template;
|
|
56
|
-
private syncProps;
|
|
57
|
-
private cleanup;
|
|
54
|
+
private readonly tabsComponent;
|
|
55
|
+
private readonly template;
|
|
56
|
+
private readonly syncProps;
|
|
57
|
+
private readonly cleanup;
|
|
58
58
|
ngOnInit(): void;
|
|
59
59
|
private addTab;
|
|
60
60
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabDirective, never>;
|
|
@@ -64,6 +64,7 @@ declare class TabDirective implements OnInit {
|
|
|
64
64
|
declare class TabsComponent implements AfterViewInit {
|
|
65
65
|
private readonly defaultAppTheme;
|
|
66
66
|
protected readonly isMobile$: Observable<boolean>;
|
|
67
|
+
private readonly cdr;
|
|
67
68
|
/**
|
|
68
69
|
* Color of the Tabs.
|
|
69
70
|
* Defaults to Test Gorilla primary color.
|
|
@@ -118,7 +119,7 @@ declare class TabsComponent implements AfterViewInit {
|
|
|
118
119
|
protected tabIndexMap: Record<string, number>;
|
|
119
120
|
private insertionCounter;
|
|
120
121
|
private tabTransitionInProgress;
|
|
121
|
-
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean
|
|
122
|
+
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>, cdr: ChangeDetectorRef);
|
|
122
123
|
ngAfterViewInit(): void;
|
|
123
124
|
addTab(tab: Tab): void;
|
|
124
125
|
private sortTabs;
|
|
@@ -129,15 +130,15 @@ declare class TabsComponent implements AfterViewInit {
|
|
|
129
130
|
trackByTabName(index: number, tab: Tab): string;
|
|
130
131
|
removeTab(tabName: string): void;
|
|
131
132
|
updateTab(tabName: string, tab: Partial<Omit<Tab, 'tabName'>>): void;
|
|
132
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, [{ optional: true; }, null]>;
|
|
133
|
-
static ɵcmp: _angular_core.ɵɵ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; }; "tabHeaderSize": { "alias": "tabHeaderSize"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "selectedTabIndex": "selectedTabIndex"; "selectedTab": "selectedTab"; }, never, never,
|
|
133
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, [{ optional: true; }, null, null]>;
|
|
134
|
+
static ɵcmp: _angular_core.ɵɵ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; }; "tabHeaderSize": { "alias": "tabHeaderSize"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "selectedTabIndex": "selectedTabIndex"; "selectedTab": "selectedTab"; }, never, never, true, never>;
|
|
134
135
|
static ngAcceptInputType_headerContentPadding: number;
|
|
135
136
|
static ngAcceptInputType_dynamicHeight: unknown;
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
declare class TabsComponentModule {
|
|
139
140
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponentModule, never>;
|
|
140
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<TabsComponentModule,
|
|
141
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<TabsComponentModule, never, [typeof TabDirective, typeof i2.CommonModule, typeof i3.MatTabsModule, typeof i4.IconComponentModule, typeof i5.UiTranslatePipe, typeof i6.SkeletonComponent, typeof TabsComponent], [typeof TabsComponent, typeof TabDirective]>;
|
|
141
142
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<TabsComponentModule>;
|
|
142
143
|
}
|
|
143
144
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { ElementRef } from '@angular/core';
|
|
4
|
-
import * as
|
|
5
|
-
import { IconName, IconColor } from '@testgorilla/tgo-ui/components/icon';
|
|
6
|
-
import * as i7 from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import * as i6 from '@testgorilla/tgo-ui/components/core';
|
|
7
5
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
6
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
9
|
-
import * as i2 from '@
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
7
|
+
import * as i2 from '@testgorilla/tgo-ui/components/icon';
|
|
8
|
+
import { IconName, IconColor } from '@testgorilla/tgo-ui/components/icon';
|
|
9
|
+
import * as i1 from '@angular/common';
|
|
10
|
+
import * as i3 from '@testgorilla/tgo-ui/components/tooltip';
|
|
11
|
+
import * as i4 from '@angular/material/tooltip';
|
|
12
|
+
import * as i5 from '@angular/material/input';
|
|
13
13
|
|
|
14
14
|
declare class TagComponent {
|
|
15
15
|
/**
|
|
@@ -126,7 +126,7 @@ declare class TagComponent {
|
|
|
126
126
|
* @type {void}
|
|
127
127
|
* @memberof TagComponent
|
|
128
128
|
*/
|
|
129
|
-
private checkLabelEllipsis$;
|
|
129
|
+
private readonly checkLabelEllipsis$;
|
|
130
130
|
/**
|
|
131
131
|
* Observable that indicates if the Label is truncated
|
|
132
132
|
* debounceTime is used to wait for view to be initialized after receiving a new Label input
|
|
@@ -151,12 +151,12 @@ declare class TagComponent {
|
|
|
151
151
|
readonly filled: _angular_core.Signal<boolean>;
|
|
152
152
|
onKeydown($event: KeyboardEvent): void;
|
|
153
153
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
154
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "ui-tag", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "allowClose": { "alias": "allowClose"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": false; "isSignal": true; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; "isSignal": true; }; "showBadge": { "alias": "showBadge"; "required": false; "isSignal": true; }; "notificationsAmount": { "alias": "notificationsAmount"; "required": false; "isSignal": true; }; }, { "isSelected": "isSelectedChange"; "close": "close"; "press": "press"; }, never, never,
|
|
154
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "ui-tag", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "allowClose": { "alias": "allowClose"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "isSelected": { "alias": "isSelected"; "required": false; "isSignal": true; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; "isSignal": true; }; "showBadge": { "alias": "showBadge"; "required": false; "isSignal": true; }; "notificationsAmount": { "alias": "notificationsAmount"; "required": false; "isSignal": true; }; }, { "isSelected": "isSelectedChange"; "close": "close"; "press": "press"; }, never, never, true, never>;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
declare class TagComponentModule {
|
|
158
158
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponentModule, never>;
|
|
159
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<TagComponentModule, [typeof
|
|
159
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<TagComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.TooltipComponentModule, typeof i4.MatTooltipModule, typeof i5.MatInputModule, typeof i6.UiTranslatePipe, typeof TagComponent], [typeof TagComponent]>;
|
|
160
160
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<TagComponentModule>;
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnChanges, OnInit, EventEmitter } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i3 from '@testgorilla/tgo-ui/components/core';
|
|
5
5
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
6
6
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
7
|
+
import * as i1 from '@angular/common';
|
|
8
|
+
import * as i2 from '@angular/material/tooltip';
|
|
9
|
+
import * as i4 from '@angular/material/input';
|
|
10
|
+
import * as i5 from '@testgorilla/tgo-ui/components/icon';
|
|
11
|
+
import * as i6 from '@testgorilla/tgo-ui/components/spinner';
|
|
12
12
|
|
|
13
|
-
type RegisterFn = (value
|
|
13
|
+
type RegisterFn = (value?: boolean) => void;
|
|
14
14
|
|
|
15
15
|
declare class ToggleComponent implements ControlValueAccessor, OnChanges, OnInit {
|
|
16
16
|
private readonly defaultAppTheme;
|
|
@@ -108,6 +108,7 @@ declare class ToggleComponent implements ControlValueAccessor, OnChanges, OnInit
|
|
|
108
108
|
ngOnChanges(): void;
|
|
109
109
|
ngOnInit(): void;
|
|
110
110
|
onToggle(): void;
|
|
111
|
+
private readonly cdr;
|
|
111
112
|
writeValue(state: boolean): void;
|
|
112
113
|
registerOnChange(fn: RegisterFn): void;
|
|
113
114
|
registerOnTouched(fn: RegisterFn): void;
|
|
@@ -118,12 +119,12 @@ declare class ToggleComponent implements ControlValueAccessor, OnChanges, OnInit
|
|
|
118
119
|
private onTouched;
|
|
119
120
|
private setClasses;
|
|
120
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, [{ optional: true; }]>;
|
|
121
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "ui-toggle", never, { "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "message": { "alias": "message"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "preventClick": { "alias": "preventClick"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; }, { "toggle": "toggle"; }, never, never,
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "ui-toggle", never, { "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "message": { "alias": "message"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "preventClick": { "alias": "preventClick"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; }, { "toggle": "toggle"; }, never, never, true, never>;
|
|
122
123
|
}
|
|
123
124
|
|
|
124
125
|
declare class ToggleComponentModule {
|
|
125
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponentModule, never>;
|
|
126
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ToggleComponentModule,
|
|
127
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToggleComponentModule, never, [typeof i1.CommonModule, typeof i2.MatTooltipModule, typeof i3.EllipseTextDirective, typeof i4.MatInputModule, typeof i3.UiTranslatePipe, typeof i5.IconComponentModule, typeof i6.SpinnerComponentModule, typeof ToggleComponent], [typeof ToggleComponent]>;
|
|
127
128
|
static ɵinj: i0.ɵɵInjectorDeclaration<ToggleComponentModule>;
|
|
128
129
|
}
|
|
129
130
|
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit,
|
|
3
|
-
import * as
|
|
2
|
+
import { OnInit, TemplateRef, OnChanges, OnDestroy } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/material/tooltip';
|
|
4
4
|
import { TooltipPosition } from '@angular/material/tooltip';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i4 from '@testgorilla/tgo-ui/components/core';
|
|
6
6
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
7
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
-
import * as
|
|
9
|
-
import { Overlay, OverlayPositionBuilder } from '@angular/cdk/overlay';
|
|
10
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
8
|
+
import * as i2 from '@angular/common';
|
|
11
9
|
|
|
12
10
|
declare enum TooltipPositionType {
|
|
13
11
|
TOP = "top",
|
|
@@ -68,29 +66,29 @@ declare class TooltipComponent implements OnInit {
|
|
|
68
66
|
*/
|
|
69
67
|
variant: TooltipVariant;
|
|
70
68
|
isLabelEllipse: boolean;
|
|
71
|
-
templateRef:
|
|
69
|
+
templateRef: TemplateRef<unknown>;
|
|
72
70
|
constructor(defaultAppTheme: ApplicationTheme);
|
|
73
71
|
matPosition: TooltipPosition;
|
|
74
72
|
ngOnInit(): void;
|
|
75
73
|
setPosition(): void;
|
|
76
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, [{ optional: true; }]>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "ui-tooltip", never, { "position": { "alias": "position"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "message": { "alias": "message"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "labelForDefinition": { "alias": "labelForDefinition"; "required": false; }; "definitionTooltipSize": { "alias": "definitionTooltipSize"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"],
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "ui-tooltip", never, { "position": { "alias": "position"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "message": { "alias": "message"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "labelForDefinition": { "alias": "labelForDefinition"; "required": false; }; "definitionTooltipSize": { "alias": "definitionTooltipSize"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
78
76
|
static ngAcceptInputType_disabled: unknown;
|
|
79
77
|
}
|
|
80
78
|
|
|
81
79
|
declare class TooltipTemplateDirective implements OnChanges, OnDestroy {
|
|
82
|
-
private _overlay;
|
|
83
|
-
private _overlayPositionBuilder;
|
|
84
|
-
private _elementRef;
|
|
85
|
-
private focusMonitor;
|
|
86
|
-
private ngZone;
|
|
87
|
-
private injector;
|
|
88
|
-
private tooltipComponentToken;
|
|
89
80
|
tooltipPosition: TooltipPositionType;
|
|
90
81
|
showTooltip: boolean;
|
|
91
|
-
templateRef: TemplateRef<
|
|
82
|
+
templateRef: TemplateRef<unknown>;
|
|
92
83
|
private _overlayRef;
|
|
93
|
-
|
|
84
|
+
private readonly _overlay;
|
|
85
|
+
private readonly _overlayPositionBuilder;
|
|
86
|
+
private readonly _elementRef;
|
|
87
|
+
private readonly focusMonitor;
|
|
88
|
+
private readonly ngZone;
|
|
89
|
+
private readonly injector;
|
|
90
|
+
private readonly tooltipComponentToken;
|
|
91
|
+
constructor();
|
|
94
92
|
ngOnChanges(): void;
|
|
95
93
|
show(): void;
|
|
96
94
|
hide(): void;
|
|
@@ -103,7 +101,7 @@ declare class TooltipTemplateDirective implements OnChanges, OnDestroy {
|
|
|
103
101
|
|
|
104
102
|
declare class TooltipComponentModule {
|
|
105
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponentModule, never>;
|
|
106
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipComponentModule,
|
|
104
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipComponentModule, never, [typeof i1.MatTooltipModule, typeof i2.CommonModule, typeof TooltipTemplateDirective, typeof i4.EllipseTextDirective, typeof i4.UiTranslatePipe, typeof TooltipComponent], [typeof TooltipComponent, typeof TooltipTemplateDirective]>;
|
|
107
105
|
static ɵinj: i0.ɵɵInjectorDeclaration<TooltipComponentModule>;
|
|
108
106
|
}
|
|
109
107
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import * as
|
|
4
|
-
import { ApplicationTheme, UiTranslatePipe } from '@testgorilla/tgo-ui/components/core';
|
|
5
|
-
import * as i4 from '@testgorilla/tgo-ui/components/badge';
|
|
3
|
+
import * as i3 from '@testgorilla/tgo-ui/components/badge';
|
|
6
4
|
import { RebrandBadgeColor } from '@testgorilla/tgo-ui/components/badge';
|
|
7
|
-
import * as
|
|
5
|
+
import * as i5 from '@testgorilla/tgo-ui/components/core';
|
|
6
|
+
import { ApplicationTheme, UiTranslatePipe } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
+
import * as i5$1 from '@testgorilla/tgo-ui/components/spider-chart';
|
|
8
8
|
import { SpiderChartData } from '@testgorilla/tgo-ui/components/spider-chart';
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
9
|
+
import * as i1 from '@angular/common';
|
|
10
|
+
import * as i2 from '@testgorilla/tgo-ui/components/accordion';
|
|
11
|
+
import * as i4 from '@testgorilla/tgo-ui/components/progress-bar';
|
|
12
|
+
import * as i6 from '@testgorilla/tgo-ui/components/divider';
|
|
13
13
|
|
|
14
14
|
interface SkillAreaGroup {
|
|
15
15
|
title: string;
|
|
@@ -58,7 +58,7 @@ declare enum SkillAreaTypes {
|
|
|
58
58
|
declare class UniversalSkillsService {
|
|
59
59
|
readonly translationContext = "UNIVERSAL_SKILLS_REPORT.";
|
|
60
60
|
private skillAreaGroupMap;
|
|
61
|
-
private staticSkillAreaGroupMap;
|
|
61
|
+
private readonly staticSkillAreaGroupMap;
|
|
62
62
|
initializeSkillAreaGroupMap(): void;
|
|
63
63
|
prepareSkillAreaGroupMap(skillAreaDataList: SkillAreaData[]): void;
|
|
64
64
|
getSkillAreaGroupMap(): Record<SkillAreaGroupTypes, SkillAreaGroup>;
|
|
@@ -69,7 +69,7 @@ declare class UniversalSkillsService {
|
|
|
69
69
|
|
|
70
70
|
declare class UniversalSkillsReportComponent implements OnInit {
|
|
71
71
|
private readonly defaultAppTheme;
|
|
72
|
-
private universalSkillsService;
|
|
72
|
+
private readonly universalSkillsService;
|
|
73
73
|
/**
|
|
74
74
|
* Defines the application theme
|
|
75
75
|
* @property applicationTheme
|
|
@@ -92,19 +92,19 @@ declare class UniversalSkillsReportComponent implements OnInit {
|
|
|
92
92
|
getScoreBadgeColor(percentileScoring: number): RebrandBadgeColor;
|
|
93
93
|
checkScoreClassification([percentileScoring, isLabelRequest]: [number, boolean]): string;
|
|
94
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<UniversalSkillsReportComponent, [{ optional: true; }, null]>;
|
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UniversalSkillsReportComponent, "ui-universal-skills-report", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "skillAreaDataList": { "alias": "skillAreaDataList"; "required": false; }; }, {}, never, never,
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UniversalSkillsReportComponent, "ui-universal-skills-report", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "skillAreaDataList": { "alias": "skillAreaDataList"; "required": false; }; }, {}, never, never, true, never>;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
declare class UniversalSkillsReportComponentModule {
|
|
99
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<UniversalSkillsReportComponentModule, never>;
|
|
100
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UniversalSkillsReportComponentModule,
|
|
100
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UniversalSkillsReportComponentModule, never, [typeof i1.CommonModule, typeof i2.AccordionComponentModule, typeof i3.BadgeComponentModule, typeof i4.ProgressBarComponentModule, typeof i5.MemoizeFuncPipe, typeof i5.UiTranslatePipe, typeof i5.OrdinalSuffixPipe, typeof i1.KeyValuePipe, typeof UniversalSkillsReportComponent], [typeof UniversalSkillsReportComponent]>;
|
|
101
101
|
static ɵinj: i0.ɵɵInjectorDeclaration<UniversalSkillsReportComponentModule>;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
declare class UniversalSkillsSpiderChartsComponent implements OnInit {
|
|
105
105
|
private readonly defaultAppTheme;
|
|
106
|
-
private universalSkillsService;
|
|
107
|
-
private uiTranslatePipe;
|
|
106
|
+
private readonly universalSkillsService;
|
|
107
|
+
private readonly uiTranslatePipe;
|
|
108
108
|
/**
|
|
109
109
|
* Defines the application theme
|
|
110
110
|
* @property applicationTheme
|
|
@@ -140,12 +140,12 @@ declare class UniversalSkillsSpiderChartsComponent implements OnInit {
|
|
|
140
140
|
ngOnInit(): void;
|
|
141
141
|
prepareSpiderChartData(): void;
|
|
142
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<UniversalSkillsSpiderChartsComponent, [{ optional: true; }, null, null]>;
|
|
143
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UniversalSkillsSpiderChartsComponent, "ui-universal-skills-spider-charts", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "skillAreaDataList": { "alias": "skillAreaDataList"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never,
|
|
143
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UniversalSkillsSpiderChartsComponent, "ui-universal-skills-spider-charts", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "skillAreaDataList": { "alias": "skillAreaDataList"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
declare class UniversalSkillsSpiderChartsComponentModule {
|
|
147
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<UniversalSkillsSpiderChartsComponentModule, never>;
|
|
148
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UniversalSkillsSpiderChartsComponentModule,
|
|
148
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UniversalSkillsSpiderChartsComponentModule, never, [typeof i1.CommonModule, typeof i2.AccordionComponentModule, typeof i3.BadgeComponentModule, typeof i4.ProgressBarComponentModule, typeof i5$1.SpiderChartComponentModule, typeof i6.DividerComponentModule, typeof i5.MemoizeFuncPipe, typeof i5.UiTranslatePipe, typeof i5.OrdinalSuffixPipe, typeof i1.KeyValuePipe, typeof UniversalSkillsSpiderChartsComponent], [typeof UniversalSkillsSpiderChartsComponent]>;
|
|
149
149
|
static ɵinj: i0.ɵɵInjectorDeclaration<UniversalSkillsSpiderChartsComponentModule>;
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -1,16 +1,28 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { DoCheck } from '@angular/core';
|
|
1
3
|
import { NgControl } from '@angular/forms';
|
|
2
|
-
import * as
|
|
4
|
+
import * as i3 from '@testgorilla/tgo-ui/components/core';
|
|
3
5
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
-
import * as
|
|
5
|
-
import * as i2 from '@
|
|
6
|
-
import * as i3 from '@testgorilla/tgo-ui/components/icon';
|
|
6
|
+
import * as i1 from '@angular/common';
|
|
7
|
+
import * as i2 from '@testgorilla/tgo-ui/components/icon';
|
|
7
8
|
|
|
8
|
-
type
|
|
9
|
+
type ErrorType = 'maxlength' | 'minlength' | 'min' | 'max';
|
|
9
10
|
|
|
10
|
-
declare class ValidationErrorComponent {
|
|
11
|
+
declare class ValidationErrorComponent implements DoCheck {
|
|
11
12
|
ngControl: NgControl;
|
|
12
13
|
touchedOn: boolean;
|
|
13
14
|
errorMessage: string;
|
|
15
|
+
private readonly cdr;
|
|
16
|
+
private lastTouched?;
|
|
17
|
+
private lastErrors?;
|
|
18
|
+
/**
|
|
19
|
+
* The template renders off `ngControl.touched`/`ngControl.errors` — mutable
|
|
20
|
+
* state behind a stable input reference, which OnPush alone never re-checks
|
|
21
|
+
* (blur or markAllAsTouched() marks the parent view, not this one).
|
|
22
|
+
* ngDoCheck runs whenever an ancestor is checked, so snapshot that state and
|
|
23
|
+
* mark this view when it moves (same pattern as autocomplete-v2's ngDoCheck).
|
|
24
|
+
*/
|
|
25
|
+
ngDoCheck(): void;
|
|
14
26
|
label: string | undefined | null;
|
|
15
27
|
/**
|
|
16
28
|
*
|
|
@@ -22,19 +34,19 @@ declare class ValidationErrorComponent {
|
|
|
22
34
|
applicationTheme: ApplicationTheme;
|
|
23
35
|
/** Maps validator error keys to display message templates. Supports {{placeholder}} interpolation. */
|
|
24
36
|
customErrors: Record<string, string>;
|
|
25
|
-
getErrorValue(type:
|
|
37
|
+
getErrorValue(type: ErrorType): number;
|
|
26
38
|
get customErrorKeys(): string[];
|
|
27
39
|
resolveErrorMessage(key: string): string;
|
|
28
40
|
translationContextErrors: string;
|
|
29
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorComponent, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ValidationErrorComponent, "ui-validation-error", never, { "ngControl": { "alias": "ngControl"; "required": false; }; "touchedOn": { "alias": "touchedOn"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "label": { "alias": "label"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "customErrors": { "alias": "customErrors"; "required": false; }; }, {}, never, never,
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ValidationErrorComponent, "ui-validation-error", never, { "ngControl": { "alias": "ngControl"; "required": false; }; "touchedOn": { "alias": "touchedOn"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "label": { "alias": "label"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "customErrors": { "alias": "customErrors"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
43
|
}
|
|
32
44
|
|
|
33
45
|
declare class ValidationErrorModule {
|
|
34
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorModule, never>;
|
|
35
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ValidationErrorModule, [typeof
|
|
47
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ValidationErrorModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.UiTranslatePipe, typeof ValidationErrorComponent], [typeof ValidationErrorComponent]>;
|
|
36
48
|
static ɵinj: i0.ɵɵInjectorDeclaration<ValidationErrorModule>;
|
|
37
49
|
}
|
|
38
50
|
|
|
39
51
|
export { ValidationErrorComponent, ValidationErrorModule };
|
|
40
|
-
export type {
|
|
52
|
+
export type { ErrorType };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { PromptTag, PromptData } from '@testgorilla/tgo-ui/components/prompt';
|
|
5
4
|
import { AlertBannerAction } from '@testgorilla/tgo-ui/components/alert-banner';
|
|
6
5
|
import { AlertBarType } from '@testgorilla/tgo-ui/components/core';
|
|
6
|
+
import { PromptTag, PromptData } from '@testgorilla/tgo-ui/components/prompt';
|
|
7
7
|
import { HttpClient } from '@angular/common/http';
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
|