@testgorilla/tgo-ui 2.8.4 → 2.9.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.
Files changed (38) hide show
  1. package/components/icon/icon.config.d.ts +2 -2
  2. package/components/password-strength/password-strength.component.d.ts +52 -0
  3. package/components/password-strength/password-strength.component.module.d.ts +11 -0
  4. package/components/radial-progress/radial-progress.component.d.ts +33 -3
  5. package/components/radial-progress/radial-progress.component.module.d.ts +2 -1
  6. package/components/radial-progress/radial-progress.model.d.ts +1 -0
  7. package/components/toggle/toggle.component.d.ts +9 -1
  8. package/components/toggle/toggle.component.module.d.ts +2 -1
  9. package/esm2022/assets/i18n/en.json +3 -1
  10. package/esm2022/components/autocomplete/autocomplete.component.mjs +3 -3
  11. package/esm2022/components/dialog/dialog.component.mjs +3 -3
  12. package/esm2022/components/icon/icon.config.mjs +23 -3
  13. package/esm2022/components/password-strength/password-strength.component.mjs +103 -0
  14. package/esm2022/components/password-strength/password-strength.component.module.mjs +21 -0
  15. package/esm2022/components/radial-progress/radial-progress.component.mjs +44 -4
  16. package/esm2022/components/radial-progress/radial-progress.component.module.mjs +5 -4
  17. package/esm2022/components/radial-progress/radial-progress.model.mjs +1 -1
  18. package/esm2022/components/stepper/stepper.component.mjs +1 -1
  19. package/esm2022/components/toggle/toggle.component.mjs +16 -4
  20. package/esm2022/components/toggle/toggle.component.module.mjs +4 -3
  21. package/esm2022/public-api.mjs +4 -1
  22. package/fesm2022/testgorilla-tgo-ui.mjs +200 -19
  23. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  24. package/package.json +1 -1
  25. package/projects/tgo-canopy-ui/assets/i18n/en.json +3 -1
  26. package/projects/tgo-canopy-ui/assets/icons/Fast-forward.svg +4 -0
  27. package/projects/tgo-canopy-ui/assets/icons/Fast-rewind.svg +4 -0
  28. package/projects/tgo-canopy-ui/assets/icons/Skip-next.svg +4 -0
  29. package/projects/tgo-canopy-ui/assets/icons/Skip-previous.svg +4 -0
  30. package/projects/tgo-canopy-ui/assets/icons/rebrand/Fast-forward-filled.svg +3 -0
  31. package/projects/tgo-canopy-ui/assets/icons/rebrand/Fast-forward-in-line.svg +3 -0
  32. package/projects/tgo-canopy-ui/assets/icons/rebrand/Fast-rewind-filled.svg +3 -0
  33. package/projects/tgo-canopy-ui/assets/icons/rebrand/Fast-rewind-in-line.svg +3 -0
  34. package/projects/tgo-canopy-ui/assets/icons/rebrand/Skip-next-filled.svg +3 -0
  35. package/projects/tgo-canopy-ui/assets/icons/rebrand/Skip-next-in-line.svg +3 -0
  36. package/projects/tgo-canopy-ui/assets/icons/rebrand/Skip-previous-filled.svg +3 -0
  37. package/projects/tgo-canopy-ui/assets/icons/rebrand/Skip-previous-in-line.svg +3 -0
  38. package/public-api.d.ts +2 -0
@@ -1,5 +1,5 @@
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", "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", "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", "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"];
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", "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", "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", "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", "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", "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", "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", "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", "Zoom-in-filled", "Zoom-in-in-line", "Zoom-out-filled", "Zoom-out-in-line", "Google-filled", "Google-in-line"];
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", "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", "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", "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"];
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", "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", "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", "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", "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", "Zoom-in-filled", "Zoom-in-in-line", "Zoom-out-filled", "Zoom-out-in-line"];
3
3
  export declare const groupedIcons: {
4
4
  directional: string[];
5
5
  assessment: string[];
@@ -0,0 +1,52 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ApplicationTheme } from '../../models/application-theme.model';
3
+ import { IconName } from '../icon/icon.model';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PasswordStrengthComponent {
6
+ private readonly defaultAppTheme;
7
+ /**
8
+ *
9
+ * Defines the application theme
10
+ *
11
+ * @type {ApplicationTheme}
12
+ * @memberof PasswordStrengthComponent
13
+ */
14
+ applicationTheme: ApplicationTheme;
15
+ /**
16
+ * The language to be used
17
+ * @property language
18
+ * @type {Language}
19
+ * @memberof PasswordStrengthComponent
20
+ */
21
+ language: import("@testgorilla/tgo-ui").Language;
22
+ /**
23
+ * The password that needs to be checked
24
+ * @property password
25
+ * @type {string}
26
+ * @memberof PasswordStrengthComponent
27
+ */
28
+ set password(value: string);
29
+ /**
30
+ * Event that outputs validation check result
31
+ * @property validationCheck
32
+ * @type {boolean}
33
+ * @memberof PasswordStrengthComponent
34
+ */
35
+ validationCheck: EventEmitter<boolean>;
36
+ protected progressValue: number;
37
+ protected criteriaPassed: {
38
+ [key: string]: boolean;
39
+ };
40
+ private _password;
41
+ protected criteria: {
42
+ translateKey: string;
43
+ key: string;
44
+ }[];
45
+ constructor(defaultAppTheme: ApplicationTheme);
46
+ checkCriteria(password: string): void;
47
+ private countPassed;
48
+ get infoIcon(): IconName;
49
+ get checkIcon(): IconName;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponent, [{ optional: true; }]>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<PasswordStrengthComponent, "ui-password-strength", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "language": { "alias": "language"; "required": false; }; "password": { "alias": "password"; "required": false; }; }, { "validationCheck": "validationCheck"; }, never, never, false, never>;
52
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./password-strength.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.component.module";
5
+ import * as i4 from "../progress-bar/progress-bar.component.module";
6
+ import * as i5 from "../../pipes/ui-translate.pipe";
7
+ export declare class PasswordStrengthComponentModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordStrengthComponentModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PasswordStrengthComponentModule, [typeof i1.PasswordStrengthComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.ProgressBarComponentModule, typeof i5.UiTranslatePipe], [typeof i1.PasswordStrengthComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<PasswordStrengthComponentModule>;
11
+ }
@@ -1,5 +1,7 @@
1
- import { RadialProgressSize, RadialProgressSizeEnum } from './radial-progress.model';
2
- import { ApplicationTheme } from "../../models/application-theme.model";
1
+ import { EventEmitter, SimpleChanges } from '@angular/core';
2
+ import { RadialProgressSize, RadialProgressSizeEnum, RadialProgressVariant } from './radial-progress.model';
3
+ import { ApplicationTheme } from '../../models/application-theme.model';
4
+ import { IconName } from '../icon/icon.model';
3
5
  import * as i0 from "@angular/core";
4
6
  export declare class RadialProgressComponent {
5
7
  private readonly defaultAppTheme;
@@ -21,6 +23,31 @@ export declare class RadialProgressComponent {
21
23
  * @memberof RadialProgressComponent
22
24
  */
23
25
  total: number;
26
+ /**
27
+ * @type {number}
28
+ * @memberof RadialProgressComponent
29
+ */
30
+ variant: RadialProgressVariant;
31
+ /**
32
+ * Icon for icon button
33
+ * @type {number}
34
+ * @memberof RadialProgressComponent
35
+ */
36
+ icon: IconName;
37
+ /**
38
+ * The tooltip that is displayed on hover. Required for icon-button
39
+ * @type {number}
40
+ * @memberof RadialProgressComponent
41
+ */
42
+ buttonTooltip: string;
43
+ /**
44
+ * Color of the progress bar.
45
+ * Defaults to Test Gorilla primary color.
46
+ *
47
+ * @type {string}
48
+ * @memberof RadialProgressComponent
49
+ */
50
+ companyColor: string;
24
51
  /**
25
52
  *
26
53
  * Defines the application theme
@@ -29,10 +56,13 @@ export declare class RadialProgressComponent {
29
56
  * @memberof ButtonComponent
30
57
  */
31
58
  applicationTheme: ApplicationTheme;
59
+ buttonClicked: EventEmitter<Event>;
32
60
  protected radialProgressSize: typeof RadialProgressSizeEnum;
33
61
  constructor(defaultAppTheme: ApplicationTheme);
62
+ ngOnChanges(changes: SimpleChanges): void;
34
63
  protected get progressSize(): number;
35
64
  protected get percentage(): number;
65
+ protected onButtonClick(ev: Event): void;
36
66
  static ɵfac: i0.ɵɵFactoryDeclaration<RadialProgressComponent, [{ optional: true; }]>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<RadialProgressComponent, "ui-radial-progress", never, { "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "total": { "alias": "total"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadialProgressComponent, "ui-radial-progress", never, { "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "total": { "alias": "total"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "buttonTooltip": { "alias": "buttonTooltip"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "buttonClicked": "buttonClicked"; }, never, never, false, never>;
38
68
  }
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./radial-progress.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/progress-spinner";
5
+ import * as i4 from "../button/button.component.module";
5
6
  export declare class RadialProgressComponentModule {
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<RadialProgressComponentModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<RadialProgressComponentModule, [typeof i1.RadialProgressComponent], [typeof i2.CommonModule, typeof i3.MatProgressSpinnerModule], [typeof i1.RadialProgressComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RadialProgressComponentModule, [typeof i1.RadialProgressComponent], [typeof i2.CommonModule, typeof i3.MatProgressSpinnerModule, typeof i4.ButtonComponentModule], [typeof i1.RadialProgressComponent]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<RadialProgressComponentModule>;
9
10
  }
@@ -7,3 +7,4 @@ export declare enum RadialProgressSizeEnum {
7
7
  LARGE = "large",
8
8
  SMALL = "small"
9
9
  }
10
+ export type RadialProgressVariant = 'number' | 'icon-button';
@@ -73,8 +73,16 @@ export declare class ToggleComponent implements ControlValueAccessor, OnChanges,
73
73
  * @memberof ToggleComponent
74
74
  */
75
75
  ariaRequired: boolean;
76
+ /**
77
+ * The language to be used
78
+ *
79
+ * @type {Language}
80
+ * @memberof ToggleComponent
81
+ */
82
+ language: import("@testgorilla/tgo-ui").Language;
76
83
  protected showLabelTooltip: boolean;
77
84
  protected classes: string;
85
+ protected translateContext: string;
78
86
  constructor(defaultAppTheme: ApplicationTheme);
79
87
  ngOnChanges(): void;
80
88
  ngOnInit(): void;
@@ -87,5 +95,5 @@ export declare class ToggleComponent implements ControlValueAccessor, OnChanges,
87
95
  private onChange;
88
96
  private onTouched;
89
97
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, [{ optional: true; }]>;
90
- 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; }; }, { "toggle": "toggle"; }, never, never, false, never>;
98
+ 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; }; "language": { "alias": "language"; "required": false; }; }, { "toggle": "toggle"; }, never, never, false, never>;
91
99
  }
@@ -4,8 +4,9 @@ import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/tooltip";
5
5
  import * as i4 from "../../directives/ellipse-text.directive";
6
6
  import * as i5 from "@angular/material/input";
7
+ import * as i6 from "../../pipes/ui-translate.pipe";
7
8
  export declare class ToggleComponentModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponentModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<ToggleComponentModule, [typeof i1.ToggleComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.EllipseTextDirective, typeof i5.MatInputModule], [typeof i1.ToggleComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToggleComponentModule, [typeof i1.ToggleComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.EllipseTextDirective, typeof i5.MatInputModule, typeof i6.UiTranslatePipe], [typeof i1.ToggleComponent]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<ToggleComponentModule>;
11
12
  }
@@ -55,7 +55,9 @@
55
55
  "MAX": "Max",
56
56
  "MIN": "Min",
57
57
  "CLEAR": "Clear",
58
- "PHONE_NUMBER": "Phone number"
58
+ "PHONE_NUMBER": "Phone number",
59
+ "ON": "On",
60
+ "OFF": "Off"
59
61
  },
60
62
  "DIALOG": {
61
63
  "CLOSE_LABEL": "Close dialog"