@testgorilla/tgo-ui 3.2.5-beta.1 → 3.2.6
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/autocomplete/autocomplete.component.d.ts +8 -1
- package/components/icon/icon.model.d.ts +1 -1
- package/components/step/step.component.d.ts +18 -3
- package/components/step/step.component.module.d.ts +2 -1
- package/components/stepper/stepper.component.d.ts +14 -6
- package/components/stepper/stepper.model.d.ts +1 -0
- package/esm2022/components/autocomplete/autocomplete.component.mjs +5 -3
- package/esm2022/components/field/field.component.mjs +3 -3
- package/esm2022/components/icon/icon.model.mjs +1 -1
- package/esm2022/components/step/step.component.mjs +23 -3
- package/esm2022/components/step/step.component.module.mjs +5 -4
- package/esm2022/components/stepper/stepper.component.mjs +19 -5
- package/esm2022/components/stepper/stepper.model.mjs +1 -1
- package/esm2022/models/screen-breakpoints.model.mjs +2 -1
- package/esm2022/providers/is-large-tablet.mjs +11 -0
- package/fesm2022/testgorilla-tgo-ui.mjs +54 -13
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/models/screen-breakpoints.model.d.ts +2 -1
- package/package.json +1 -1
- package/providers/is-large-tablet.d.ts +2 -0
|
@@ -219,6 +219,13 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
|
|
|
219
219
|
* @memberof AutocompleteComponent
|
|
220
220
|
*/
|
|
221
221
|
maxItemSelected: number;
|
|
222
|
+
/**
|
|
223
|
+
* @property maxItemSelected
|
|
224
|
+
* @description Sets the maximum length of the autocomplete input
|
|
225
|
+
* @type {boolean}
|
|
226
|
+
* @memberof AutocompleteComponent
|
|
227
|
+
*/
|
|
228
|
+
maxLength: number;
|
|
222
229
|
isDynamicFilteringEnabled: boolean;
|
|
223
230
|
dynamicFilterLoading: boolean;
|
|
224
231
|
dynamicFilteredList: any[] | null;
|
|
@@ -302,6 +309,6 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
|
|
|
302
309
|
protected get hasObjectValue(): boolean;
|
|
303
310
|
onKeydown($event: KeyboardEvent): void;
|
|
304
311
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null, null, null, null, null]>;
|
|
305
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "suggestionsList": { "alias": "suggestionsList"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowAdd": { "alias": "allowAdd"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "dropdownPanelClass": { "alias": "dropdownPanelClass"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "size": { "alias": "size"; "required": false; }; "allowUserInput": { "alias": "allowUserInput"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "exactMatchSelect": { "alias": "exactMatchSelect"; "required": false; }; "maxItemSelected": { "alias": "maxItemSelected"; "required": false; }; "isDynamicFilteringEnabled": { "alias": "isDynamicFilteringEnabled"; "required": false; }; "dynamicFilterLoading": { "alias": "dynamicFilterLoading"; "required": false; }; "dynamicFilteredList": { "alias": "dynamicFilteredList"; "required": false; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; }; "hasMoreOptionsForInfiniteScroll": { "alias": "hasMoreOptionsForInfiniteScroll"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; "blur": "blur"; "focus": "focus"; "scrollViewportBottomReached": "scrollViewportBottomReached"; }, never, never, false, never>;
|
|
312
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "suggestionsList": { "alias": "suggestionsList"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowAdd": { "alias": "allowAdd"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "dropdownPanelClass": { "alias": "dropdownPanelClass"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "size": { "alias": "size"; "required": false; }; "allowUserInput": { "alias": "allowUserInput"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "exactMatchSelect": { "alias": "exactMatchSelect"; "required": false; }; "maxItemSelected": { "alias": "maxItemSelected"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "isDynamicFilteringEnabled": { "alias": "isDynamicFilteringEnabled"; "required": false; }; "dynamicFilterLoading": { "alias": "dynamicFilterLoading"; "required": false; }; "dynamicFilteredList": { "alias": "dynamicFilteredList"; "required": false; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; }; "hasMoreOptionsForInfiniteScroll": { "alias": "hasMoreOptionsForInfiniteScroll"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; "blur": "blur"; "focus": "focus"; "scrollViewportBottomReached": "scrollViewportBottomReached"; }, never, never, false, never>;
|
|
306
313
|
static ngAcceptInputType_virtualScroll: unknown;
|
|
307
314
|
}
|
|
@@ -3,5 +3,5 @@ type TgoIcons = typeof tgoIcons[number];
|
|
|
3
3
|
type TgoRebrandIcons = typeof tgoRebrandIcons[number];
|
|
4
4
|
export type IconSize = '16' | '24' | '40' | '80';
|
|
5
5
|
export type IconName = TgoRebrandIcons | TgoIcons | '';
|
|
6
|
-
export type IconColor = 'teal' | 'petrol' | 'dark' | 'white' | 'black' | 'inherit' | 'rebrand-black' | 'red' | 'grey' | 'orange' | string;
|
|
6
|
+
export type IconColor = 'teal' | 'petrol' | 'dark' | 'white' | 'black' | 'inherit' | 'rebrand-black' | 'red' | 'grey' | 'orange' | 'gray' | string;
|
|
7
7
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, DestroyRef, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
2
|
import { IconName } from '../icon/icon.model';
|
|
3
3
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
|
-
import { HtmlDescription, StepperPosition } from '../stepper/stepper.model';
|
|
4
|
+
import { HtmlDescription, StepperPosition, StepperVariation } from '../stepper/stepper.model';
|
|
5
5
|
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
6
|
+
import { TooltipPositionType } from '../tooltip/tooltip.model';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class StepComponent implements AfterViewInit {
|
|
8
9
|
private readonly defaultAppTheme;
|
|
@@ -74,6 +75,12 @@ export declare class StepComponent implements AfterViewInit {
|
|
|
74
75
|
* @memberof StepComponent
|
|
75
76
|
*/
|
|
76
77
|
mobileMode: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Input property indicating whether the component is in large tablet mode.
|
|
80
|
+
*
|
|
81
|
+
* @memberof StepComponent
|
|
82
|
+
*/
|
|
83
|
+
largeTabletMode: boolean | null;
|
|
77
84
|
/**
|
|
78
85
|
* Input property indicating whether the final icon should be displayed.
|
|
79
86
|
*
|
|
@@ -150,14 +157,22 @@ export declare class StepComponent implements AfterViewInit {
|
|
|
150
157
|
* @memberof StepComponent
|
|
151
158
|
*/
|
|
152
159
|
context: any;
|
|
160
|
+
/**
|
|
161
|
+
* A string representing the step variant.
|
|
162
|
+
* This attribute is used to indicate the variant that should be used.
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof StepComponent
|
|
165
|
+
*/
|
|
166
|
+
stepVariant: StepperVariation;
|
|
153
167
|
/**
|
|
154
168
|
* Event emitted when the step was clicked.
|
|
155
169
|
* @type {number}
|
|
156
170
|
* @memberof StepComponent
|
|
157
171
|
*/
|
|
158
172
|
stepSelected: EventEmitter<number>;
|
|
159
|
-
protected keyboardFocused: import("@angular/core").WritableSignal<boolean>;
|
|
160
173
|
stepElement: ElementRef<HTMLElement>;
|
|
174
|
+
protected readonly TooltipPositionType: typeof TooltipPositionType;
|
|
175
|
+
protected keyboardFocused: import("@angular/core").WritableSignal<boolean>;
|
|
161
176
|
constructor(defaultAppTheme: ApplicationTheme, focusMonitor: FocusMonitor, destroyRef: DestroyRef);
|
|
162
177
|
ngAfterViewInit(): void;
|
|
163
178
|
protected get hasLastStepDefaultIcon(): boolean;
|
|
@@ -165,5 +180,5 @@ export declare class StepComponent implements AfterViewInit {
|
|
|
165
180
|
protected subscriberFocus(): void;
|
|
166
181
|
onKeydown($event: KeyboardEvent): void;
|
|
167
182
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, [{ optional: true; }, null, null]>;
|
|
168
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "ui-step", never, { "label": { "alias": "label"; "required": false; }; "isVisited": { "alias": "isVisited"; "required": false; }; "submitted": { "alias": "submitted"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "prevStepIsVisited": { "alias": "prevStepIsVisited"; "required": false; }; "mobileMode": { "alias": "mobileMode"; "required": false; }; "finalIcon": { "alias": "finalIcon"; "required": false; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "position": { "alias": "position"; "required": false; }; "htmlDescription": { "alias": "htmlDescription"; "required": false; }; "boldLabel": { "alias": "boldLabel"; "required": false; }; "descriptionTpl": { "alias": "descriptionTpl"; "required": false; }; "labelTooltip": { "alias": "labelTooltip"; "required": false; }; "alwaysShowIcon": { "alias": "alwaysShowIcon"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, { "stepSelected": "stepSelected"; }, never, never, false, never>;
|
|
183
|
+
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, false, never>;
|
|
169
184
|
}
|
|
@@ -3,8 +3,9 @@ import * as i1 from "./step.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "../icon/icon.component.module";
|
|
5
5
|
import * as i4 from "@angular/material/tooltip";
|
|
6
|
+
import * as i5 from "../tooltip/tooltip.component.module";
|
|
6
7
|
export declare class StepComponentModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepComponentModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StepComponentModule, [typeof i1.StepComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.MatTooltipModule], [typeof i1.StepComponent]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StepComponentModule, [typeof i1.StepComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.MatTooltipModule, typeof i5.TooltipComponentModule], [typeof i1.StepComponent]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<StepComponentModule>;
|
|
10
11
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { DestroyRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { Step, StepperPosition } from './stepper.model';
|
|
1
|
+
import { AfterViewInit, DestroyRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { Step, StepperPosition, StepperVariation } from './stepper.model';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { ApplicationTheme } from "../../models/application-theme.model";
|
|
5
5
|
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class StepperComponent {
|
|
7
|
+
export declare class StepperComponent implements AfterViewInit {
|
|
8
8
|
private readonly defaultAppTheme;
|
|
9
9
|
protected readonly isMobile$: Observable<boolean>;
|
|
10
|
+
protected readonly isLargeTablet$: Observable<boolean>;
|
|
10
11
|
protected focusMonitor: FocusMonitor;
|
|
11
12
|
protected destroyRef: DestroyRef;
|
|
12
13
|
/**
|
|
@@ -67,6 +68,13 @@ export declare class StepperComponent {
|
|
|
67
68
|
* @memberof StepperComponent
|
|
68
69
|
*/
|
|
69
70
|
ariaRequired: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* A string representing the stepper variant.
|
|
73
|
+
* This attribute is used to indicate the variant that should be used.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof StepperComponent
|
|
76
|
+
*/
|
|
77
|
+
stepperVariant: StepperVariation;
|
|
70
78
|
selectionChange: EventEmitter<{
|
|
71
79
|
selectedIndex: number;
|
|
72
80
|
previousIndex: number;
|
|
@@ -82,13 +90,13 @@ export declare class StepperComponent {
|
|
|
82
90
|
set isOpen(value: boolean);
|
|
83
91
|
protected keyboardFocused: import("@angular/core").WritableSignal<boolean>;
|
|
84
92
|
stepperElement: ElementRef<HTMLElement>;
|
|
85
|
-
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>, focusMonitor: FocusMonitor, destroyRef: DestroyRef);
|
|
93
|
+
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>, isLargeTablet$: Observable<boolean>, focusMonitor: FocusMonitor, destroyRef: DestroyRef);
|
|
86
94
|
ngAfterViewInit(): void;
|
|
87
95
|
protected onSelect(changedIndex: number, step: Step): void;
|
|
88
96
|
protected showStepsToggle(): void;
|
|
89
97
|
protected onCloseStepList(): void;
|
|
90
98
|
protected subscriberFocus(): void;
|
|
91
99
|
private selectedStepFocus;
|
|
92
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null, null, null]>;
|
|
93
|
-
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; }; }, { "selectionChange": "selectionChange"; }, never, never, false, never>;
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null, null, null, null]>;
|
|
101
|
+
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, false, never>;
|
|
94
102
|
}
|