@testgorilla/tgo-ui 2.23.55 → 2.24.1
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/alert-banner/alert-banner.component.d.ts +3 -13
- package/components/autocomplete/autocomplete.component.d.ts +3 -12
- package/components/button/button.component.d.ts +3 -12
- package/components/checkbox/checkbox.component.d.ts +3 -12
- package/components/checklist/checklist.component.d.ts +60 -0
- package/components/checklist/checklist.model.d.ts +7 -0
- package/components/datepicker/datepicker.component.d.ts +3 -12
- package/components/dialog/dialog.component.d.ts +3 -12
- package/components/dropdown/dropdown.component.d.ts +3 -12
- package/components/empty-state/empty-state.component.d.ts +3 -11
- package/components/field/field.component.d.ts +3 -12
- package/components/file-upload/file-upload.component.d.ts +3 -12
- package/components/icon/icon.config.d.ts +1 -1
- package/components/multi-input/multi-input.component.d.ts +3 -12
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +1 -2
- package/components/navbar/navbar.component.d.ts +3 -12
- package/components/overflow-menu/overflow-menu.component.d.ts +3 -12
- package/components/page-header/page-header.component.d.ts +3 -12
- package/components/password-criteria/password.component.d.ts +3 -12
- package/components/password-strength/password-strength.component.d.ts +3 -12
- package/components/phone-input/phone-input.component.d.ts +3 -12
- package/components/progress-bar/progress-bar.component.d.ts +7 -9
- package/components/side-panel/side-panel.component.d.ts +3 -5
- package/components/side-sheet/side-sheet.component.d.ts +3 -12
- package/components/slider/slider.component.d.ts +3 -12
- package/components/snackbar/snackbar.component.d.ts +3 -12
- package/components/spinner/spinner.component.d.ts +3 -12
- package/components/spinner/spinner.module.d.ts +1 -1
- package/components/stepper/stepper.component.d.ts +3 -12
- package/components/tag/tag.component.d.ts +3 -12
- package/components/toggle/toggle.component.d.ts +3 -12
- package/components/validation-error/validation-error.component.d.ts +2 -12
- package/esm2022/assets/i18n/en.json +2 -1
- package/esm2022/components/alert-banner/alert-banner.component.mjs +6 -28
- package/esm2022/components/autocomplete/autocomplete.component.mjs +6 -27
- package/esm2022/components/autocomplete/transform-Item.pipe.mjs +14 -12
- package/esm2022/components/avatar/avatar.component.mjs +1 -1
- package/esm2022/components/button/button.component.mjs +5 -26
- package/esm2022/components/checkbox/checkbox.component.mjs +6 -27
- package/esm2022/components/checklist/checklist.component.mjs +133 -0
- package/esm2022/components/checklist/checklist.model.mjs +2 -0
- package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +5 -4
- package/esm2022/components/datepicker/datepicker.component.mjs +6 -27
- package/esm2022/components/dialog/dialog.component.mjs +5 -26
- package/esm2022/components/dropdown/dropdown.component.mjs +6 -27
- package/esm2022/components/empty-state/empty-state.component.mjs +5 -25
- package/esm2022/components/field/field.component.mjs +6 -27
- package/esm2022/components/file-upload/file-upload.component.mjs +6 -27
- package/esm2022/components/icon/icon.config.mjs +5 -1
- package/esm2022/components/multi-input/multi-input.component.mjs +6 -27
- package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +5 -8
- package/esm2022/components/navbar/navbar.component.mjs +6 -28
- package/esm2022/components/overflow-menu/overflow-menu.component.mjs +6 -27
- package/esm2022/components/page-header/page-header.component.mjs +5 -26
- package/esm2022/components/password-criteria/password.component.mjs +8 -29
- package/esm2022/components/password-strength/password-strength.component.mjs +5 -26
- package/esm2022/components/phone-input/phone-input.component.mjs +6 -27
- package/esm2022/components/progress-bar/progress-bar.component.mjs +10 -22
- package/esm2022/components/radial-progress/radial-progress.component.mjs +1 -1
- package/esm2022/components/side-panel/side-panel.component.mjs +8 -18
- package/esm2022/components/side-sheet/side-sheet.component.mjs +6 -27
- package/esm2022/components/slider/slider.component.mjs +6 -27
- package/esm2022/components/snackbar/snackbar.component.mjs +6 -27
- package/esm2022/components/spinner/spinner.component.mjs +5 -26
- package/esm2022/components/spinner/spinner.module.mjs +4 -4
- package/esm2022/components/stepper/stepper.component.mjs +5 -26
- package/esm2022/components/tag/tag.component.mjs +5 -26
- package/esm2022/components/toggle/toggle.component.mjs +5 -26
- package/esm2022/components/validation-error/validation-error.component.mjs +7 -28
- package/esm2022/pipes/ui-translate.pipe.mjs +19 -14
- package/esm2022/public-api.mjs +5 -3
- package/esm2022/utils/localization/language.service.mjs +12 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +350 -685
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/pipes/ui-translate.pipe.d.ts +5 -1
- package/projects/tgo-canopy-ui/assets/i18n/en.json +2 -1
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Circle-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Circle-in-line.svg +3 -0
- package/public-api.d.ts +3 -1
- package/utils/localization/language.service.d.ts +4 -0
- package/esm2022/tokens/app-lang.token.mjs +0 -3
- package/tokens/app-lang.token.d.ts +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const tgoIcons: readonly ["Add", "Archive", "Arrow_down", "Arrow_left", "Arrow_right", "Arrow_up", "Assessment", "Attempts", "Book", "Calendar", "Candidates", "Chat-notifications", "Chat", "Check", "Clone", "Close", "Code", "Company", "Copy", "Custom-questions", "Delete", "Devices", "Document", "Dot", "Download", "Edit", "Email-message", "Empty-placeholder", "Error", "Essay", "Eye-hide", "Eye-view", "Feedback-1", "Feedback-2", "Feedback-3", "Feedback-4", "Feedback-5", "File-attach", "File-upload", "Filter", "Folder", "Format-add-file", "Format-add-table", "Format-align-L", "Format-align-R", "Format-align-center", "Format-align-justify", "Format-bold", "Format-code-active", "Format-code-block", "Format-edit-table", "Format-format", "Format-function", "Format-italics", "Format-list-bulleted", "Format-list-numbered", "Format-picker", "Format-quote", "Format-subscript", "Format-superscript", "Format-text-direction-L", "Format-text-direction-R", "Format-text-size", "Format-underline", "Format-variable", "Full-screen", "Gender-female", "Gender-male", "Help-2", "Help", "Image", "Info", "Integration", "Language", "Layout", "Learn", "Level", "Light-bulb", "Link", "Loading-spinner", "Localisation", "Location", "Lock", "Log-out", "Menu-burger", "Menu-ellipsis", "Microphone", "Minus", "Mouse-cursor", "Mouse-grab-cursor", "Mouse", "Multi-choice", "Notifications", "Password", "Path", "Pin-marker", "Plan-billing", "Plus", "Premium", "Promotion", "Question-count", "Refer", "Reset", "Review", "Round-check-filled", "Round-check", "Search", "Secure-checkout", "Send", "Settings", "Social-facebook", "Social-instagram", "Social-linkedin", "Sorting-down-1", "Sorting-down", "Speedometer", "Star-filled", "Star-half", "Star-outline", "Support", "Sync", "Team", "Test", "Thunder", "Timer", "Trophy", "Type", "Unarchive", "Unlock", "Upgrade", "Upload", "User-access", "User-add", "User-invite", "User-profile", "User-reject", "User-switch", "Video-pause", "Video-play", "Video-record", "Video", "Volume", "Warning", "Zoom-in", "Zoom-out", "Fire", "Gift", "Grab", "Share", "Sparkles", "Video-stop", "Minimize", "Employee", "Money-bag", "Suitcase", "Google", "Fast-forward", "Fast-rewind", "Skip-next", "Skip-previous", "TestGorilla"];
|
|
2
|
-
export declare const tgoRebrandIcons: readonly ["Archive-filled", "Archive-in-line", "Add-in-line", "Add-filled", "Arrow-chevron-down-filled", "Arrow-chevron-down-in-line", "Arrow-chevron-left-filled", "Arrow-chevron-left-in-line", "Arrow-chevron-right-filled", "Arrow-chevron-right-in-line", "Arrow-chevron-up-filled", "Arrow-chevron-up-in-line", "Arrow-down-filled", "Arrow-down-in-line", "Arrow-up-filled", "Arrow-up-in-line", "Assessment-filled", "Assessment-in-line", "Attach-filled", "Attach-in-line", "Attempts-filled", "Attempts-in-line", "Book-filled", "Book-in-line", "Calendar-filled", "Calendar-in-line", "Candidates-filled", "Candidates-in-line", "Chat-filled", "Chat-in-line", "Check-filled", "Check-in-line", "Check-round-filled", "Check-round-in-line", "Clone-filled", "Clone-in-line", "Close-filled", "Close-in-line", "Code-filled", "Code-in-line", "Company-filled", "Company-in-line", "Copy-filled", "Copy-in-line", "Delete-filled", "Delete-in-line", "Devices-filled", "Devices-in-line", "Document-filled", "Document-in-line", "Dot-filled", "Dot-in-line", "Download-filled", "Download-in-line", "Edit-filled", "Edit-in-line", "Edit-text-filled", "Edit-text-in-line", "Employee-filled", "Employee-in-line", "Error-filled", "Error-in-line", "Essay-filled", "Essay-in-line", "Experience-filled", "Experience-in-line", "Facebook-filled", "Facebook-in-line", "Fast-forward-filled", "Fast-forward-in-line", "Fast-rewind-filled", "Fast-rewind-in-line", "Filter-filled", "Filter-in-line", "Fire-filled", "Fire-in-line", "Folder-filled", "Folder-in-line", "Full-screen-filled", "Full-screen-in-line", "Gender-male-filled", "Gender-male-in-line", "Gender-female-filled", "Gender-female-in-line", "Gift-filled", "Gift-in-line", "Google-filled", "Google-in-line", "Grab-filled", "Grab-in-line", "Help-filled", "Help-in-line", "Hide-filled", "Hide-in-line", "Image-filled", "Image-in-line", "Info-filled", "Info-in-line", "Instagram-filled", "Instagram-in-line", "Integration-filled", "Integration-in-line", "Invite-filled", "Invite-in-line", "Language-filled", "Language-in-line", "Layout-filled", "Layout-in-line", "Learn-filled", "Learn-in-line", "Level-filled", "Level-in-line", "Light-bulb-filled", "Light-bulb-in-line", "Link-filled", "Link-in-line", "Linkedin-filled", "Linkedin-in-line", "Localization-filled", "Localization-in-line", "Location-filled", "Location-in-line", "Lock-filled", "Lock-in-line", "Logout-filled", "Logout-in-line", "Medal-filled", "Medal-in-line", "Menu-burger-filled", "Menu-burger-in-line", "Menu-ellipsis-filled", "Menu-ellipsis-in-line", "Mic-filled", "Mic-in-line", "Minimize-filled", "Minimize-in-line", "Minus-filled", "Minus-in-line", "Mouse-filled", "Mouse-in-line", "Multi-choice-filled", "Multi-choice-in-line", "Notification-bell-filled", "Notification-bell-in-line", "Password-filled", "Password-in-line", "Path-filled", "Path-in-line", "Pause-filled", "Pause-in-line", "Pin-marker-filled", "Pin-marker-in-line", "Plan-billing-filled", "Plan-billing-in-line", "Play-filled", "Play-in-line", "Plus-filled", "Plus-in-line", "Premium-filled", "Premium-in-line", "Premium-circle-in-line", "Question-count-filled", "Question-count-in-line", "Question-filled", "Question-in-line", "Record-filled", "Record-in-line", "Reject-filled", "Refer-in-line", "Refer-filled", "Reject-in-line", "Reset-filled", "Reset-in-line", "Review-emoji-1-filled", "Review-emoji-1-in-line", "Review-emoji-2-filled", "Review-emoji-2-in-line", "Review-emoji-3-filled", "Review-emoji-3-in-line", "Review-emoji-4-filled", "Review-emoji-4-in-line", "Review-emoji-5-filled", "Review-emoji-5-in-line", "Review-filled", "Review-half-star-filled", "Review-half-star-in-line", "Review-in-line", "Review-star-filled", "Review-star-in-line", "Search-filled", "Search-in-line", "Secure-filled", "Secure-in-line", "Send-filled", "Send-in-line", "Settings-filled", "Settings-in-line", "Share-filled", "Share-in-line", "Skip-next-filled", "Skip-next-in-line", "Skip-previous-filled", "Skip-previous-in-line", "Sparkle-filled", "Sparkle-in-line", "Speedometer-filled", "Speedometer-in-line", "Stop-filled", "Stop-in-line", "Switch-filled", "Switch-in-line", "Sync-filled", "Sync-in-line", "Team-filled", "Team-in-line", "Test-filled", "Test-in-line", "Timer-filled", "Timer-in-line", "Trophy-filled", "Trophy-in-line", "Type-filled", "Type-in-line", "Unarchive-filled", "Unarchive-in-line", "Unlock-filled", "Unlock-in-line", "Upgrade-filled", "Upgrade-in-line", "Upload-filled", "Upload-in-line", "User-access-filled", "User-access-in-line", "User-add-filled", "User-add-in-line", "User-profile-filled", "User-profile-in-line", "Video-filled", "Video-in-line", "View-filled", "View-in-line", "Volume-filled", "Volume-in-line", "Warning-filled", "Warning-in-line", "Validated-filled", "Validated-in-line", "Zoom-in-filled", "Zoom-in-in-line", "Zoom-out-filled", "Zoom-out-in-line", "TestGorilla-filled", "TestGorilla-in-line"];
|
|
2
|
+
export declare const tgoRebrandIcons: readonly ["Archive-filled", "Archive-in-line", "Add-in-line", "Add-filled", "Arrow-chevron-down-filled", "Arrow-chevron-down-in-line", "Arrow-chevron-left-filled", "Arrow-chevron-left-in-line", "Arrow-chevron-right-filled", "Arrow-chevron-right-in-line", "Arrow-chevron-up-filled", "Arrow-chevron-up-in-line", "Arrow-down-filled", "Arrow-down-in-line", "Arrow-up-filled", "Arrow-up-in-line", "Assessment-filled", "Assessment-in-line", "Attach-filled", "Attach-in-line", "Attempts-filled", "Attempts-in-line", "Book-filled", "Book-in-line", "Calendar-filled", "Calendar-in-line", "Candidates-filled", "Candidates-in-line", "Chat-filled", "Chat-in-line", "Check-filled", "Check-in-line", "Check-round-filled", "Check-round-in-line", "Circle-filled", "Circle-in-line", "Clone-filled", "Clone-in-line", "Close-filled", "Close-in-line", "Code-filled", "Code-in-line", "Company-filled", "Company-in-line", "Copy-filled", "Copy-in-line", "Delete-filled", "Delete-in-line", "Devices-filled", "Devices-in-line", "Document-filled", "Document-in-line", "Dot-filled", "Dot-in-line", "Download-filled", "Download-in-line", "Edit-filled", "Edit-in-line", "Edit-text-filled", "Edit-text-in-line", "Employee-filled", "Employee-in-line", "Error-filled", "Error-in-line", "Essay-filled", "Essay-in-line", "Experience-filled", "Experience-in-line", "Facebook-filled", "Facebook-in-line", "Fast-forward-filled", "Fast-forward-in-line", "Fast-rewind-filled", "Fast-rewind-in-line", "Filter-filled", "Filter-in-line", "Fire-filled", "Fire-in-line", "Folder-filled", "Folder-in-line", "Full-screen-filled", "Full-screen-in-line", "Gender-male-filled", "Gender-male-in-line", "Gender-female-filled", "Gender-female-in-line", "Gift-filled", "Gift-in-line", "Google-filled", "Google-in-line", "Grab-filled", "Grab-in-line", "Help-filled", "Help-in-line", "Hide-filled", "Hide-in-line", "Image-filled", "Image-in-line", "Info-filled", "Info-in-line", "Instagram-filled", "Instagram-in-line", "Integration-filled", "Integration-in-line", "Invite-filled", "Invite-in-line", "Language-filled", "Language-in-line", "Layout-filled", "Layout-in-line", "Learn-filled", "Learn-in-line", "Level-filled", "Level-in-line", "Light-bulb-filled", "Light-bulb-in-line", "Link-filled", "Link-in-line", "Linkedin-filled", "Linkedin-in-line", "Localization-filled", "Localization-in-line", "Location-filled", "Location-in-line", "Lock-filled", "Lock-in-line", "Logout-filled", "Logout-in-line", "Medal-filled", "Medal-in-line", "Menu-burger-filled", "Menu-burger-in-line", "Menu-ellipsis-filled", "Menu-ellipsis-in-line", "Mic-filled", "Mic-in-line", "Minimize-filled", "Minimize-in-line", "Minus-filled", "Minus-in-line", "Mouse-filled", "Mouse-in-line", "Multi-choice-filled", "Multi-choice-in-line", "Notification-bell-filled", "Notification-bell-in-line", "Password-filled", "Password-in-line", "Path-filled", "Path-in-line", "Pause-filled", "Pause-in-line", "Pin-marker-filled", "Pin-marker-in-line", "Plan-billing-filled", "Plan-billing-in-line", "Play-filled", "Play-in-line", "Plus-filled", "Plus-in-line", "Premium-filled", "Premium-in-line", "Premium-circle-in-line", "Question-count-filled", "Question-count-in-line", "Question-filled", "Question-in-line", "Record-filled", "Record-in-line", "Reject-filled", "Refer-in-line", "Refer-filled", "Reject-in-line", "Reset-filled", "Reset-in-line", "Review-emoji-1-filled", "Review-emoji-1-in-line", "Review-emoji-2-filled", "Review-emoji-2-in-line", "Review-emoji-3-filled", "Review-emoji-3-in-line", "Review-emoji-4-filled", "Review-emoji-4-in-line", "Review-emoji-5-filled", "Review-emoji-5-in-line", "Review-filled", "Review-half-star-filled", "Review-half-star-in-line", "Review-in-line", "Review-star-filled", "Review-star-in-line", "Search-filled", "Search-in-line", "Secure-filled", "Secure-in-line", "Send-filled", "Send-in-line", "Settings-filled", "Settings-in-line", "Share-filled", "Share-in-line", "Skip-next-filled", "Skip-next-in-line", "Skip-previous-filled", "Skip-previous-in-line", "Sparkle-filled", "Sparkle-in-line", "Speedometer-filled", "Speedometer-in-line", "Stop-filled", "Stop-in-line", "Switch-filled", "Switch-in-line", "Sync-filled", "Sync-in-line", "Team-filled", "Team-in-line", "Test-filled", "Test-in-line", "Timer-filled", "Timer-in-line", "Trophy-filled", "Trophy-in-line", "Type-filled", "Type-in-line", "Unarchive-filled", "Unarchive-in-line", "Unlock-filled", "Unlock-in-line", "Upgrade-filled", "Upgrade-in-line", "Upload-filled", "Upload-in-line", "User-access-filled", "User-access-in-line", "User-add-filled", "User-add-in-line", "User-profile-filled", "User-profile-in-line", "Video-filled", "Video-in-line", "View-filled", "View-in-line", "Volume-filled", "Volume-in-line", "Warning-filled", "Warning-in-line", "Validated-filled", "Validated-in-line", "Zoom-in-filled", "Zoom-in-in-line", "Zoom-out-filled", "Zoom-out-in-line", "TestGorilla-filled", "TestGorilla-in-line"];
|
|
3
3
|
export declare const groupedIcons: {
|
|
4
4
|
directional: string[];
|
|
5
5
|
assessment: string[];
|
|
@@ -2,13 +2,11 @@ import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import { AbstractControl, ControlValueAccessor, FormBuilder, FormControl, NgControl } from '@angular/forms';
|
|
3
3
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
4
|
import { MultiInputValue } from './multi-input.model';
|
|
5
|
-
import { Language } from '../../utils/localization/language.model';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class MultiInputComponent implements ControlValueAccessor, OnInit {
|
|
8
7
|
protected ngControl: NgControl;
|
|
9
8
|
private readonly defaultAppTheme;
|
|
10
9
|
private readonly fb;
|
|
11
|
-
protected readonly appLang: Language;
|
|
12
10
|
/**
|
|
13
11
|
*
|
|
14
12
|
* @description List of items to be displayed in the dropdown list
|
|
@@ -107,13 +105,6 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
|
|
|
107
105
|
* @memberof MultiInputComponent
|
|
108
106
|
*/
|
|
109
107
|
hideLabelInErrors: boolean;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @description The language to be used
|
|
113
|
-
* @type {Language}
|
|
114
|
-
* @memberof MultiInputComponent
|
|
115
|
-
*/
|
|
116
|
-
language: Language;
|
|
117
108
|
/**
|
|
118
109
|
*
|
|
119
110
|
* @description The maximum characters allowed in the multi input
|
|
@@ -143,7 +134,7 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
|
|
|
143
134
|
protected readonly multiInputForm: import("@angular/forms").FormGroup<{
|
|
144
135
|
[x: string]: FormControl<unknown>;
|
|
145
136
|
}>;
|
|
146
|
-
constructor(ngControl: NgControl, defaultAppTheme: ApplicationTheme, fb: FormBuilder
|
|
137
|
+
constructor(ngControl: NgControl, defaultAppTheme: ApplicationTheme, fb: FormBuilder);
|
|
147
138
|
ngOnInit(): void;
|
|
148
139
|
ngOnChanges(changes: SimpleChanges): void;
|
|
149
140
|
writeValue(value: MultiInputValue): void;
|
|
@@ -162,8 +153,8 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
|
|
|
162
153
|
protected getValueLength(): number;
|
|
163
154
|
private addValidation;
|
|
164
155
|
private updateDisableState;
|
|
165
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MultiInputComponent, [{ optional: true; self: true; }, { optional: true; }, null
|
|
166
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiInputComponent, "ui-multi-input", never, { "itemsList": { "alias": "itemsList"; "required": true; }; "itemTextField": { "alias": "itemTextField"; "required": true; }; "itemValueField": { "alias": "itemValueField"; "required": true; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "
|
|
156
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultiInputComponent, [{ optional: true; self: true; }, { optional: true; }, null]>;
|
|
157
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiInputComponent, "ui-multi-input", never, { "itemsList": { "alias": "itemsList"; "required": true; }; "itemTextField": { "alias": "itemTextField"; "required": true; }; "itemValueField": { "alias": "itemValueField"; "required": true; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
167
158
|
static ngAcceptInputType_disabled: unknown;
|
|
168
159
|
static ngAcceptInputType_required: unknown;
|
|
169
160
|
static ngAcceptInputType_allowDecimal: unknown;
|
|
@@ -9,7 +9,6 @@ export declare class MobileNavbarSideSheetComponent {
|
|
|
9
9
|
email: string;
|
|
10
10
|
userName: string;
|
|
11
11
|
menuItems: MenuItem[];
|
|
12
|
-
language: import("@testgorilla/tgo-ui").Language;
|
|
13
12
|
contentTemplateRef: TemplateRef<any>;
|
|
14
13
|
isDesktop: boolean;
|
|
15
14
|
applicationTheme: ApplicationTheme;
|
|
@@ -22,5 +21,5 @@ export declare class MobileNavbarSideSheetComponent {
|
|
|
22
21
|
logout(): void;
|
|
23
22
|
clickMenuItem(id: string): void;
|
|
24
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<MobileNavbarSideSheetComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MobileNavbarSideSheetComponent, "ui-mobile-navbar-side-sheet", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "email": { "alias": "email"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MobileNavbarSideSheetComponent, "ui-mobile-navbar-side-sheet", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "email": { "alias": "email"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "contentTemplateRef": { "alias": "contentTemplateRef"; "required": false; }; "isDesktop": { "alias": "isDesktop"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; }, never, never, true, never>;
|
|
26
25
|
}
|
|
@@ -5,14 +5,12 @@ import { SideSheetService } from '../side-sheet/side-sheet.service';
|
|
|
5
5
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
6
6
|
import { LogoTypeEnum } from '../logo/logo.model';
|
|
7
7
|
import { AvatarSize } from '../avatar/avatar.model';
|
|
8
|
-
import { Language } from '../../utils/localization/language.model';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class NavbarComponent {
|
|
11
10
|
private readonly breakpointObserver;
|
|
12
11
|
private readonly defaultAppTheme;
|
|
13
12
|
private sideSheetService;
|
|
14
13
|
private destroyRef;
|
|
15
|
-
protected readonly appLang: Language;
|
|
16
14
|
/**
|
|
17
15
|
* Routes object
|
|
18
16
|
*
|
|
@@ -49,13 +47,6 @@ export declare class NavbarComponent {
|
|
|
49
47
|
* @memberof NavbarComponent
|
|
50
48
|
*/
|
|
51
49
|
menuItems: MenuItem[];
|
|
52
|
-
/**
|
|
53
|
-
* The language to be used
|
|
54
|
-
* @property language
|
|
55
|
-
* @type {Language}
|
|
56
|
-
* @memberof NavbarComponent
|
|
57
|
-
*/
|
|
58
|
-
language: Language;
|
|
59
50
|
/**
|
|
60
51
|
*
|
|
61
52
|
* Defines the application theme
|
|
@@ -116,13 +107,13 @@ export declare class NavbarComponent {
|
|
|
116
107
|
protected readonly isTablet$: import("rxjs").Observable<boolean>;
|
|
117
108
|
protected isOpened: boolean;
|
|
118
109
|
protected logoType: typeof LogoTypeEnum;
|
|
119
|
-
constructor(breakpointObserver: BreakpointObserver, defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef
|
|
110
|
+
constructor(breakpointObserver: BreakpointObserver, defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef);
|
|
120
111
|
openMobileMenu(): void;
|
|
121
112
|
navigate(routeId: string): void;
|
|
122
113
|
logout(): void;
|
|
123
114
|
clickMenuItem(id: string): void;
|
|
124
115
|
onChangeMenuState(isOpened: boolean, screenSize: ScreenSize): void;
|
|
125
116
|
protected readonly AvatarSize: typeof AvatarSize;
|
|
126
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, [null, { optional: true; }, null, null
|
|
127
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "email": { "alias": "email"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, [null, { optional: true; }, null, null]>;
|
|
118
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "email": { "alias": "email"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "contentTemplateRef": { "alias": "contentTemplateRef"; "required": false; }; "mobileBreakpoint": { "alias": "mobileBreakpoint"; "required": false; }; "isAvatar": { "alias": "isAvatar"; "required": false; }; "menuClass": { "alias": "menuClass"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; "menuState": "menuState"; }, never, ["[actions]", "*"], false, never>;
|
|
128
119
|
}
|
|
@@ -4,13 +4,11 @@ import { OverflowMenuButtonModify, OverflowMenuButtonsType } from './overflow-me
|
|
|
4
4
|
import { ApplicationTheme } from "../../models/application-theme.model";
|
|
5
5
|
import { MatMenu, MatMenuTrigger } from "@angular/material/menu";
|
|
6
6
|
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
7
|
-
import { Language } from '../../utils/localization/language.model';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class OverflowMenuComponent implements OnInit {
|
|
10
9
|
private readonly defaultAppTheme;
|
|
11
10
|
private focusMonitor;
|
|
12
11
|
private ngZone;
|
|
13
|
-
protected readonly appLang: Language;
|
|
14
12
|
/**
|
|
15
13
|
* Menu buttons
|
|
16
14
|
*
|
|
@@ -59,13 +57,6 @@ export declare class OverflowMenuComponent implements OnInit {
|
|
|
59
57
|
* @memberof OverflowMenuComponent
|
|
60
58
|
*/
|
|
61
59
|
describedby: string;
|
|
62
|
-
/**
|
|
63
|
-
* The language to be used
|
|
64
|
-
*
|
|
65
|
-
* @type {Language}
|
|
66
|
-
* @memberof OverflowMenuComponent
|
|
67
|
-
*/
|
|
68
|
-
language: Language;
|
|
69
60
|
selectItem: EventEmitter<string>;
|
|
70
61
|
menuOpened: EventEmitter<void>;
|
|
71
62
|
menuClosed: EventEmitter<void>;
|
|
@@ -77,7 +68,7 @@ export declare class OverflowMenuComponent implements OnInit {
|
|
|
77
68
|
isMenuRendered: import("@angular/core").WritableSignal<boolean>;
|
|
78
69
|
isMenuOpened: import("@angular/core").WritableSignal<boolean>;
|
|
79
70
|
isFocused: import("@angular/core").WritableSignal<boolean>;
|
|
80
|
-
constructor(defaultAppTheme: ApplicationTheme, focusMonitor: FocusMonitor, ngZone: NgZone
|
|
71
|
+
constructor(defaultAppTheme: ApplicationTheme, focusMonitor: FocusMonitor, ngZone: NgZone);
|
|
81
72
|
ngOnInit(): void;
|
|
82
73
|
ngAfterViewInit(): void;
|
|
83
74
|
onSelectItem(event: Event, value: string): void;
|
|
@@ -90,6 +81,6 @@ export declare class OverflowMenuComponent implements OnInit {
|
|
|
90
81
|
private reindex;
|
|
91
82
|
private createSubmenus;
|
|
92
83
|
onSubmenuOpened(): void;
|
|
93
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponent, [{ optional: true; }, null, null
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OverflowMenuComponent, "ui-overflow-menu", never, { "buttons": { "alias": "buttons"; "required": false; }; "iconTrigger": { "alias": "iconTrigger"; "required": false; }; "menuLabel": { "alias": "menuLabel"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "describedby": { "alias": "describedby"; "required": false; };
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponent, [{ optional: true; }, null, null]>;
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OverflowMenuComponent, "ui-overflow-menu", never, { "buttons": { "alias": "buttons"; "required": false; }; "iconTrigger": { "alias": "iconTrigger"; "required": false; }; "menuLabel": { "alias": "menuLabel"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "describedby": { "alias": "describedby"; "required": false; }; }, { "selectItem": "selectItem"; "menuOpened": "menuOpened"; "menuClosed": "menuClosed"; }, never, ["[menu-content]"], false, never>;
|
|
95
86
|
}
|
|
@@ -1,25 +1,16 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { ApplicationTheme } from "../../models/application-theme.model";
|
|
4
|
-
import { Language } from '../../utils/localization/language.model';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class PageHeaderComponent {
|
|
7
6
|
private readonly defaultAppTheme;
|
|
8
7
|
protected readonly isMobile$: Observable<boolean>;
|
|
9
|
-
protected readonly appLang: Language;
|
|
10
8
|
/**
|
|
11
9
|
* Flag to determine whether the "Back" button should be displayed.
|
|
12
10
|
* @default true
|
|
13
11
|
* @memberof PageHeaderComponent
|
|
14
12
|
*/
|
|
15
13
|
showBackButton: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* The language to be used
|
|
18
|
-
* @property language
|
|
19
|
-
* @type {Language}
|
|
20
|
-
* @memberof PageHeaderComponent
|
|
21
|
-
*/
|
|
22
|
-
language: Language;
|
|
23
14
|
/**
|
|
24
15
|
* Back button tooltip for mobile variation
|
|
25
16
|
* @property tooltip
|
|
@@ -39,9 +30,9 @@ export declare class PageHeaderComponent {
|
|
|
39
30
|
* @memberof PageHeaderComponent
|
|
40
31
|
*/
|
|
41
32
|
back: EventEmitter<void>;
|
|
42
|
-
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean
|
|
33
|
+
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>);
|
|
43
34
|
protected onBack(): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, [{ optional: true; }, null
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ui-page-header", never, { "showBackButton": { "alias": "showBackButton"; "required": false; }; "
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, [{ optional: true; }, null]>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ui-page-header", never, { "showBackButton": { "alias": "showBackButton"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "back": "back"; }, never, ["[content]", "[right-side]"], false, never>;
|
|
46
37
|
static ngAcceptInputType_showBackButton: unknown;
|
|
47
38
|
}
|
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import { DestroyRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
-
import { Language } from '../../utils/localization/language.model';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class PasswordComponent implements ControlValueAccessor {
|
|
6
5
|
private readonly destroyRef;
|
|
7
|
-
protected readonly appLang: Language;
|
|
8
|
-
/**
|
|
9
|
-
* The language to be used
|
|
10
|
-
*
|
|
11
|
-
* @type {Language}
|
|
12
|
-
* @memberof PasswordComponent
|
|
13
|
-
*/
|
|
14
|
-
language: Language;
|
|
15
6
|
/**
|
|
16
7
|
* Show criteria for password. Defaults true
|
|
17
8
|
*
|
|
@@ -38,7 +29,7 @@ export declare class PasswordComponent implements ControlValueAccessor {
|
|
|
38
29
|
translateKey: string;
|
|
39
30
|
key: string;
|
|
40
31
|
}[];
|
|
41
|
-
constructor(destroyRef: DestroyRef
|
|
32
|
+
constructor(destroyRef: DestroyRef);
|
|
42
33
|
checkCriteria(): void;
|
|
43
34
|
countPassed(): number;
|
|
44
35
|
onChange: (v: any) => void;
|
|
@@ -46,6 +37,6 @@ export declare class PasswordComponent implements ControlValueAccessor {
|
|
|
46
37
|
writeValue(obj: any): void;
|
|
47
38
|
registerOnChange(fn: any): void;
|
|
48
39
|
registerOnTouched(fn: any): void;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordComponent,
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordComponent, "ui-password-criteria", never, { "
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordComponent, "ui-password-criteria", never, { "showCriteria": { "alias": "showCriteria"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "passwordChange": "passwordChange"; "allCriteriaPassed": "allCriteriaPassed"; }, never, never, false, never>;
|
|
51
42
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
3
3
|
import { IconName } from '../icon/icon.model';
|
|
4
|
-
import { Language } from '../../utils/localization/language.model';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class PasswordStrengthComponent {
|
|
7
6
|
private readonly defaultAppTheme;
|
|
8
|
-
protected readonly appLang: Language;
|
|
9
7
|
/**
|
|
10
8
|
*
|
|
11
9
|
* Defines the application theme
|
|
@@ -14,13 +12,6 @@ export declare class PasswordStrengthComponent {
|
|
|
14
12
|
* @memberof PasswordStrengthComponent
|
|
15
13
|
*/
|
|
16
14
|
applicationTheme: ApplicationTheme;
|
|
17
|
-
/**
|
|
18
|
-
* The language to be used
|
|
19
|
-
* @property language
|
|
20
|
-
* @type {Language}
|
|
21
|
-
* @memberof PasswordStrengthComponent
|
|
22
|
-
*/
|
|
23
|
-
language: Language;
|
|
24
15
|
/**
|
|
25
16
|
* The password that needs to be checked
|
|
26
17
|
* @property password
|
|
@@ -44,11 +35,11 @@ export declare class PasswordStrengthComponent {
|
|
|
44
35
|
translateKey: string;
|
|
45
36
|
key: string;
|
|
46
37
|
}[];
|
|
47
|
-
constructor(defaultAppTheme: ApplicationTheme
|
|
38
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
48
39
|
checkCriteria(password: string): void;
|
|
49
40
|
private countPassed;
|
|
50
41
|
get infoIcon(): IconName;
|
|
51
42
|
get checkIcon(): IconName;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponent, [{ optional: true; }
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordStrengthComponent, "ui-password-strength", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponent, [{ optional: true; }]>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PasswordStrengthComponent, "ui-password-strength", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "password": { "alias": "password"; "required": false; }; }, { "validationCheck": "validationCheck"; }, never, never, false, never>;
|
|
54
45
|
}
|
|
@@ -6,7 +6,6 @@ import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
|
6
6
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
7
7
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
8
8
|
import { UICountry } from './phone-input.model';
|
|
9
|
-
import { Language } from '../../utils/localization/language.model';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlValueAccessor, DoCheck {
|
|
12
11
|
ngControl: NgControl;
|
|
@@ -16,7 +15,6 @@ export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlVa
|
|
|
16
15
|
private ref;
|
|
17
16
|
private sanitizer;
|
|
18
17
|
private readonly defaultAppTheme;
|
|
19
|
-
protected readonly appLang: Language;
|
|
20
18
|
/**
|
|
21
19
|
* Phone number
|
|
22
20
|
*
|
|
@@ -89,13 +87,6 @@ export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlVa
|
|
|
89
87
|
* @memberof PhoneInputComponent
|
|
90
88
|
*/
|
|
91
89
|
hideLabelInErrors: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* The language to be used
|
|
94
|
-
* @property language
|
|
95
|
-
* @type {Language}
|
|
96
|
-
* @memberof PhoneInputComponent
|
|
97
|
-
*/
|
|
98
|
-
language: Language;
|
|
99
90
|
static nextId: number;
|
|
100
91
|
private countries;
|
|
101
92
|
protected countries$: Observable<UICountry[]>;
|
|
@@ -123,7 +114,7 @@ export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlVa
|
|
|
123
114
|
private internalPlaceholder;
|
|
124
115
|
protected selectedCountry: UICountry;
|
|
125
116
|
private unsubscribeAll$;
|
|
126
|
-
constructor(ngControl: NgControl, errorMatcher: ErrorStateMatcher, fb: UntypedFormBuilder, focusMonitor: FocusMonitor, ref: ChangeDetectorRef, sanitizer: DomSanitizer, defaultAppTheme: ApplicationTheme
|
|
117
|
+
constructor(ngControl: NgControl, errorMatcher: ErrorStateMatcher, fb: UntypedFormBuilder, focusMonitor: FocusMonitor, ref: ChangeDetectorRef, sanitizer: DomSanitizer, defaultAppTheme: ApplicationTheme);
|
|
127
118
|
/**
|
|
128
119
|
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
129
120
|
* to display validation errors that might happen (e.g. required)
|
|
@@ -151,6 +142,6 @@ export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlVa
|
|
|
151
142
|
private loadCountries;
|
|
152
143
|
disableClick(ev: Event): void;
|
|
153
144
|
trackByFn: (index: number, value: any) => any;
|
|
154
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, [{ optional: true; self: true; }, null, null, null, null, null, { optional: true; }
|
|
155
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "ui-phone-input", never, { "value": { "alias": "value"; "required": false; }; "countryList": { "alias": "countryList"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; };
|
|
145
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, [{ optional: true; self: true; }, null, null, null, null, null, { optional: true; }]>;
|
|
146
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "ui-phone-input", never, { "value": { "alias": "value"; "required": false; }; "countryList": { "alias": "countryList"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, {}, never, never, false, never>;
|
|
156
147
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ProgressBarMode } from '@angular/material/progress-bar';
|
|
3
3
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
|
-
import { Language } from '../../utils/localization/language.model';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class ProgressBarComponent implements OnChanges {
|
|
7
6
|
private readonly defaultAppTheme;
|
|
8
|
-
protected readonly appLang: Language;
|
|
9
7
|
/**
|
|
10
8
|
* Color of the progress bar.
|
|
11
9
|
* Defaults to Test Gorilla primary color.
|
|
@@ -62,14 +60,14 @@ export declare class ProgressBarComponent implements OnChanges {
|
|
|
62
60
|
*/
|
|
63
61
|
ariaDescribedBy: string;
|
|
64
62
|
/**
|
|
65
|
-
*
|
|
66
|
-
* @property
|
|
67
|
-
* @type {
|
|
63
|
+
* Shows the percentage amount
|
|
64
|
+
* @property showPercentage
|
|
65
|
+
* @type {boolean}
|
|
68
66
|
* @memberof ProgressBarComponent
|
|
69
67
|
*/
|
|
70
|
-
|
|
71
|
-
constructor(defaultAppTheme: ApplicationTheme
|
|
68
|
+
showPercentage: boolean;
|
|
69
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
72
70
|
ngOnChanges(changes: SimpleChanges): void;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, [{ optional: true; }
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ui-progress-bar", never, { "companyColor": { "alias": "companyColor"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "buffer": { "alias": "buffer"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; }; "
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, [{ optional: true; }]>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ui-progress-bar", never, { "companyColor": { "alias": "companyColor"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "buffer": { "alias": "buffer"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; }; "showPercentage": { "alias": "showPercentage"; "required": false; }; }, {}, never, never, false, never>;
|
|
75
73
|
}
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import { ElementRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { SidePanelAnimationState, SidePanelPosition } from './side-panel.model';
|
|
3
|
-
import { Language } from '../../utils/localization/language.model';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class SidePanelComponent {
|
|
6
|
-
protected readonly appLang: Language;
|
|
7
5
|
title: string;
|
|
8
6
|
showBackButton: boolean;
|
|
9
7
|
sidePanelPosition: import("@angular/core").WritableSignal<SidePanelPosition>;
|
|
10
8
|
sidePanelContainer: import("@angular/core").Signal<ViewContainerRef>;
|
|
11
9
|
sidePanel: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
|
|
12
10
|
backdrop: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
|
|
13
|
-
language: Language;
|
|
11
|
+
language: import("@testgorilla/tgo-ui").Language;
|
|
14
12
|
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
15
13
|
animation: import("@angular/core").Signal<SidePanelAnimationState.Open | SidePanelAnimationState.ClosedRight | SidePanelAnimationState.ClosedLeft>;
|
|
16
14
|
private sidePanelService;
|
|
17
15
|
private sidePanelConfig;
|
|
18
|
-
constructor(
|
|
16
|
+
constructor();
|
|
19
17
|
open(): void;
|
|
20
18
|
close(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SidePanelComponent,
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidePanelComponent, never>;
|
|
22
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<SidePanelComponent, "ui-side-panel", never, {}, {}, never, never, true, never>;
|
|
23
21
|
}
|
|
@@ -3,13 +3,11 @@ import { SideSheetService } from './side-sheet.service';
|
|
|
3
3
|
import { SideSheetConfig, SideSheetPosition } from './side-sheet.model';
|
|
4
4
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
5
5
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
6
|
-
import { Language } from '../../utils/localization/language.model';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class SideSheetComponent implements OnInit {
|
|
9
8
|
private readonly defaultAppTheme;
|
|
10
9
|
private sideSheetService;
|
|
11
10
|
private destroyRef;
|
|
12
|
-
protected readonly appLang: Language;
|
|
13
11
|
/**
|
|
14
12
|
* Set position. Defaults "end"
|
|
15
13
|
*
|
|
@@ -17,13 +15,6 @@ export declare class SideSheetComponent implements OnInit {
|
|
|
17
15
|
* @memberof SideSheetComponent
|
|
18
16
|
*/
|
|
19
17
|
position: SideSheetPosition;
|
|
20
|
-
/**
|
|
21
|
-
* The language to be used
|
|
22
|
-
*
|
|
23
|
-
* @type {Language}
|
|
24
|
-
* @memberof SideSheetComponent
|
|
25
|
-
*/
|
|
26
|
-
language: Language;
|
|
27
18
|
/**
|
|
28
19
|
*
|
|
29
20
|
* Defines the application theme
|
|
@@ -41,12 +32,12 @@ export declare class SideSheetComponent implements OnInit {
|
|
|
41
32
|
protected showTitleTooltip: boolean;
|
|
42
33
|
protected showLogo: boolean;
|
|
43
34
|
protected componentRef$: import("rxjs").Observable<SideSheetConfig | null>;
|
|
44
|
-
constructor(defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef
|
|
35
|
+
constructor(defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef);
|
|
45
36
|
ngOnInit(): void;
|
|
46
37
|
private setComponentRef;
|
|
47
38
|
private setConfig;
|
|
48
39
|
protected onClose(): void;
|
|
49
40
|
onOpenChange(isOpened: boolean): void;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponent, [{ optional: true; }, null, null
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SideSheetComponent, "ui-side-sheet", never, { "position": { "alias": "position"; "required": false; }; "
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideSheetComponent, [{ optional: true; }, null, null]>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideSheetComponent, "ui-side-sheet", never, { "position": { "alias": "position"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], false, never>;
|
|
52
43
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { SliderValue, SliderVariant } from './slider.model';
|
|
3
3
|
import { ApplicationTheme } from "../../models/application-theme.model";
|
|
4
|
-
import { Language } from '../../utils/localization/language.model';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class SliderComponent {
|
|
7
6
|
private readonly defaultAppTheme;
|
|
8
|
-
protected readonly appLang: Language;
|
|
9
7
|
/**
|
|
10
8
|
* The maximum value of the slider.
|
|
11
9
|
*
|
|
@@ -69,13 +67,6 @@ export declare class SliderComponent {
|
|
|
69
67
|
* @default 1
|
|
70
68
|
*/
|
|
71
69
|
step: number;
|
|
72
|
-
/**
|
|
73
|
-
* The language to be used
|
|
74
|
-
*
|
|
75
|
-
* @property language
|
|
76
|
-
* @type {Language}
|
|
77
|
-
*/
|
|
78
|
-
language: Language;
|
|
79
70
|
/**
|
|
80
71
|
*
|
|
81
72
|
* Defines the application theme
|
|
@@ -93,7 +84,7 @@ export declare class SliderComponent {
|
|
|
93
84
|
*/
|
|
94
85
|
variant: SliderVariant;
|
|
95
86
|
sliderValueChange: EventEmitter<SliderValue>;
|
|
96
|
-
constructor(defaultAppTheme: ApplicationTheme
|
|
87
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
97
88
|
private value;
|
|
98
89
|
protected translationContext: string;
|
|
99
90
|
protected touchedControlName: string;
|
|
@@ -109,6 +100,6 @@ export declare class SliderComponent {
|
|
|
109
100
|
private isValueChanged;
|
|
110
101
|
get hasError(): boolean;
|
|
111
102
|
get isBasicSlider(): boolean;
|
|
112
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, [{ optional: true; }
|
|
113
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "ui-slider", never, { "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "sliderStart": { "alias": "sliderStart"; "required": false; }; "sliderEnd": { "alias": "sliderEnd"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showInputs": { "alias": "showInputs"; "required": false; }; "step": { "alias": "step"; "required": false; }; "
|
|
103
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliderComponent, [{ optional: true; }]>;
|
|
104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliderComponent, "ui-slider", never, { "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "sliderStart": { "alias": "sliderStart"; "required": false; }; "sliderEnd": { "alias": "sliderEnd"; "required": false; }; "label": { "alias": "label"; "required": false; }; "showInputs": { "alias": "showInputs"; "required": false; }; "step": { "alias": "step"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "sliderValueChange": "sliderValueChange"; }, never, never, false, never>;
|
|
114
105
|
}
|
|
@@ -5,14 +5,12 @@ import { SnackbarType, SnackbarVariant } from '../../components/snackbar/snackba
|
|
|
5
5
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
6
6
|
import { LinkTargetType } from '../alert-banner/alert-banner.model';
|
|
7
7
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
8
|
-
import { Language } from '../../utils/localization/language.model';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class SnackbarComponent implements OnInit {
|
|
11
10
|
private readonly defaultAppTheme;
|
|
12
11
|
private data;
|
|
13
12
|
private snackbarRef;
|
|
14
13
|
private domSanitizer;
|
|
15
|
-
protected readonly appLang: Language;
|
|
16
14
|
/**
|
|
17
15
|
* Background color of the button while in active state
|
|
18
16
|
*
|
|
@@ -69,13 +67,6 @@ export declare class SnackbarComponent implements OnInit {
|
|
|
69
67
|
* @memberof AlertBannerComponent
|
|
70
68
|
*/
|
|
71
69
|
linkTarget?: LinkTargetType;
|
|
72
|
-
/**
|
|
73
|
-
* The language to be used
|
|
74
|
-
*
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof SnackbarComponent
|
|
77
|
-
*/
|
|
78
|
-
language: Language;
|
|
79
70
|
/**
|
|
80
71
|
* The variant to be used
|
|
81
72
|
*
|
|
@@ -116,13 +107,13 @@ export declare class SnackbarComponent implements OnInit {
|
|
|
116
107
|
safeHtml: SafeHtml;
|
|
117
108
|
translationContext: string;
|
|
118
109
|
protected readonly maxCharacters = 70;
|
|
119
|
-
constructor(defaultAppTheme: ApplicationTheme, data: any, snackbarRef: MatSnackBarRef<SnackbarComponent>, domSanitizer: DomSanitizer
|
|
110
|
+
constructor(defaultAppTheme: ApplicationTheme, data: any, snackbarRef: MatSnackBarRef<SnackbarComponent>, domSanitizer: DomSanitizer);
|
|
120
111
|
ngOnInit(): void;
|
|
121
112
|
show(): void;
|
|
122
113
|
hide(): void;
|
|
123
114
|
onMouseEnter(): void;
|
|
124
115
|
onMouseLeave(): void;
|
|
125
116
|
dismissClick(): void;
|
|
126
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, [{ optional: true; }, null, null, null
|
|
127
|
-
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; }; "
|
|
117
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarComponent, [{ optional: true; }, null, null, null]>;
|
|
118
|
+
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, false, never>;
|
|
128
119
|
}
|