@testgorilla/tgo-ui 2.26.6 → 2.26.8
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/button/button.component.d.ts +2 -0
- package/components/icon/icon.config.d.ts +1 -1
- package/components/step/step.component.d.ts +12 -4
- package/components/stepper/stepper.component.d.ts +11 -3
- package/components/universal-skills-report/universal-skills-report.component.d.ts +5 -5
- package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.d.ts +33 -0
- package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.d.ts +16 -0
- package/esm2022/assets/i18n/en.json +4 -1
- package/esm2022/components/button/button.component.mjs +24 -9
- package/esm2022/components/icon/icon.config.mjs +3 -1
- package/esm2022/components/spider-chart/spider-chart.component.mjs +2 -2
- package/esm2022/components/step/step.component.mjs +51 -11
- package/esm2022/components/stepper/stepper.component.mjs +51 -17
- package/esm2022/components/universal-skills-report/universal-skills-report.component.mjs +17 -66
- package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.mjs +86 -0
- package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.mjs +52 -0
- package/esm2022/models/universal-skills-report.model.mjs +33 -0
- package/esm2022/public-api.mjs +5 -2
- package/esm2022/services/universal-skills.service.mjs +71 -0
- package/fesm2022/testgorilla-tgo-ui.mjs +305 -80
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/{components/universal-skills-report → models}/universal-skills-report.model.d.ts +7 -0
- package/package.json +1 -1
- package/projects/tgo-canopy-ui/assets/i18n/en.json +4 -1
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Star-filled.svg +5 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Star-in-line.svg +5 -0
- package/public-api.d.ts +3 -1
- package/services/universal-skills.service.d.ts +11 -0
- package/esm2022/components/universal-skills-report/universal-skills-report.model.mjs +0 -33
|
@@ -203,6 +203,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
|
203
203
|
isFilledIcon: boolean;
|
|
204
204
|
coloredIcons: string[];
|
|
205
205
|
labelEllipsis: boolean;
|
|
206
|
+
icon: IconName;
|
|
206
207
|
get typeIncluded(): boolean;
|
|
207
208
|
constructor(defaultAppTheme: ApplicationTheme);
|
|
208
209
|
ngOnInit(): void;
|
|
@@ -223,6 +224,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
|
223
224
|
onKeydown(event: KeyboardEvent): void;
|
|
224
225
|
onKeyup(event: KeyboardEvent): void;
|
|
225
226
|
onLabelEllipsisChange(state: boolean): void;
|
|
227
|
+
getIconName(iconName: string, defaultValue: string): IconName;
|
|
226
228
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{ optional: true; }]>;
|
|
227
229
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "buttonBadgeConfig": { "alias": "buttonBadgeConfig"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disabledScaleOnClick": { "alias": "disabledScaleOnClick"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; "hasBackground": { "alias": "hasBackground"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, false, never>;
|
|
228
230
|
static ngAcceptInputType_preventDefault: unknown;
|
|
@@ -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", "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", "TestGorilla-Pink-filled", "TestGorilla-Pink-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", "Star-filled", "Star-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", "TestGorilla-Pink-filled", "TestGorilla-Pink-in-line"];
|
|
3
3
|
export declare const groupedIcons: {
|
|
4
4
|
directional: string[];
|
|
5
5
|
assessment: string[];
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
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
4
|
import { HtmlDescription, StepperPosition } from '../stepper/stepper.model';
|
|
5
|
+
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class StepComponent {
|
|
7
|
+
export declare class StepComponent implements AfterViewInit {
|
|
7
8
|
private readonly defaultAppTheme;
|
|
9
|
+
private focusMonitor;
|
|
10
|
+
private destroyRef;
|
|
8
11
|
/**
|
|
9
12
|
* Input property for the label of the step.
|
|
10
13
|
*
|
|
@@ -153,9 +156,14 @@ export declare class StepComponent {
|
|
|
153
156
|
* @memberof StepComponent
|
|
154
157
|
*/
|
|
155
158
|
stepSelected: EventEmitter<number>;
|
|
156
|
-
|
|
159
|
+
protected keyboardFocused: import("@angular/core").WritableSignal<boolean>;
|
|
160
|
+
stepElement: ElementRef<HTMLElement>;
|
|
161
|
+
constructor(defaultAppTheme: ApplicationTheme, focusMonitor: FocusMonitor, destroyRef: DestroyRef);
|
|
162
|
+
ngAfterViewInit(): void;
|
|
157
163
|
protected get hasLastStepDefaultIcon(): boolean;
|
|
158
164
|
protected onStepSelected(index: number): void;
|
|
159
|
-
|
|
165
|
+
protected subscriberFocus(): void;
|
|
166
|
+
onKeydown($event: KeyboardEvent): void;
|
|
167
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, [{ optional: true; }, null, null]>;
|
|
160
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>;
|
|
161
169
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { DestroyRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { Step, StepperPosition } from './stepper.model';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { ApplicationTheme } from "../../models/application-theme.model";
|
|
5
|
+
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class StepperComponent {
|
|
7
8
|
private readonly defaultAppTheme;
|
|
8
9
|
protected readonly isMobile$: Observable<boolean>;
|
|
10
|
+
protected focusMonitor: FocusMonitor;
|
|
11
|
+
protected destroyRef: DestroyRef;
|
|
9
12
|
/**
|
|
10
13
|
*
|
|
11
14
|
* Auto selects first step as visited
|
|
@@ -77,10 +80,15 @@ export declare class StepperComponent {
|
|
|
77
80
|
protected selectedIndex: number;
|
|
78
81
|
get isOpen(): boolean;
|
|
79
82
|
set isOpen(value: boolean);
|
|
80
|
-
|
|
83
|
+
protected keyboardFocused: import("@angular/core").WritableSignal<boolean>;
|
|
84
|
+
stepperElement: ElementRef<HTMLElement>;
|
|
85
|
+
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>, focusMonitor: FocusMonitor, destroyRef: DestroyRef);
|
|
86
|
+
ngAfterViewInit(): void;
|
|
81
87
|
protected onSelect(changedIndex: number, step: Step): void;
|
|
82
88
|
protected showStepsToggle(): void;
|
|
83
89
|
protected onCloseStepList(): void;
|
|
84
|
-
|
|
90
|
+
protected subscriberFocus(): void;
|
|
91
|
+
private selectedStepFocus;
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null, null, null]>;
|
|
85
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>;
|
|
86
94
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
3
3
|
import { RebrandBadgeColor } from '../badge/badge.model';
|
|
4
|
-
import { SkillAreaData, SkillAreaGroup, SkillAreaGroupTypes } from '
|
|
4
|
+
import { SkillAreaData, SkillAreaGroup, SkillAreaGroupTypes } from '../../models/universal-skills-report.model';
|
|
5
|
+
import { UniversalSkillsService } from '../../services/universal-skills.service';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class UniversalSkillsReportComponent implements OnInit {
|
|
7
8
|
private readonly defaultAppTheme;
|
|
9
|
+
private universalSkillsService;
|
|
8
10
|
/**
|
|
9
11
|
* Defines the application theme
|
|
10
12
|
* @property applicationTheme
|
|
@@ -21,13 +23,11 @@ export declare class UniversalSkillsReportComponent implements OnInit {
|
|
|
21
23
|
skillAreaDataList: SkillAreaData[];
|
|
22
24
|
readonly translationContext = "UNIVERSAL_SKILLS_REPORT.";
|
|
23
25
|
skillAreaGroupMap: Record<SkillAreaGroupTypes, SkillAreaGroup>;
|
|
24
|
-
constructor(defaultAppTheme: ApplicationTheme);
|
|
26
|
+
constructor(defaultAppTheme: ApplicationTheme, universalSkillsService: UniversalSkillsService);
|
|
25
27
|
ngOnInit(): void;
|
|
26
28
|
getScoreBadgeLabel(percentileScoring: number): string;
|
|
27
29
|
getScoreBadgeColor(percentileScoring: number): RebrandBadgeColor;
|
|
28
|
-
private initializeSkillAreaGroupMap;
|
|
29
|
-
private prepareSkillAreaGroupMap;
|
|
30
30
|
checkScoreClassification([percentileScoring, isLabelRequest]: [number, boolean]): string | RebrandBadgeColor;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UniversalSkillsReportComponent, [{ optional: true; }]>;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UniversalSkillsReportComponent, [{ optional: true; }, null]>;
|
|
32
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<UniversalSkillsReportComponent, "ui-universal-skills-report", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "skillAreaDataList": { "alias": "skillAreaDataList"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
33
|
}
|
package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
3
|
+
import { SkillAreaData, SkillAreaGroup, SkillAreaGroupTypes, SkillAreaSpiderChartData } from '../../models/universal-skills-report.model';
|
|
4
|
+
import { UniversalSkillsService } from '../../services/universal-skills.service';
|
|
5
|
+
import { UiTranslatePipe } from '../../pipes/ui-translate.pipe';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UniversalSkillsSpiderChartsComponent implements OnInit {
|
|
8
|
+
private readonly defaultAppTheme;
|
|
9
|
+
private universalSkillsService;
|
|
10
|
+
private uiTranslatePipe;
|
|
11
|
+
/**
|
|
12
|
+
* Defines the application theme
|
|
13
|
+
* @property applicationTheme
|
|
14
|
+
* @type {ApplicationTheme}
|
|
15
|
+
* @memberof UniversalSkillsSpiderChartsComponent
|
|
16
|
+
*/
|
|
17
|
+
applicationTheme: ApplicationTheme;
|
|
18
|
+
/**
|
|
19
|
+
* The list of items to be used
|
|
20
|
+
* @property items
|
|
21
|
+
* @type {SkillAreaData[]}
|
|
22
|
+
* @memberof UniversalSkillsReportComponent
|
|
23
|
+
*/
|
|
24
|
+
skillAreaDataList: SkillAreaData[];
|
|
25
|
+
readonly translationContext = "UNIVERSAL_SKILLS_REPORT.";
|
|
26
|
+
skillAreaGroupMap: Record<SkillAreaGroupTypes, SkillAreaGroup>;
|
|
27
|
+
skillAreaSpiderChartData: SkillAreaSpiderChartData[];
|
|
28
|
+
constructor(defaultAppTheme: ApplicationTheme, universalSkillsService: UniversalSkillsService, uiTranslatePipe: UiTranslatePipe);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
prepareSpiderChartData(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UniversalSkillsSpiderChartsComponent, [{ optional: true; }, null, null]>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UniversalSkillsSpiderChartsComponent, "ui-universal-skills-spider-charts", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "skillAreaDataList": { "alias": "skillAreaDataList"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./universal-skills-spider-charts.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../accordion/accordion.component.module";
|
|
5
|
+
import * as i4 from "../badge/badge.component.module";
|
|
6
|
+
import * as i5 from "../progress-bar/progress-bar.component.module";
|
|
7
|
+
import * as i6 from "../spider-chart/spider-chart.module";
|
|
8
|
+
import * as i7 from "../divider/divider.component.module";
|
|
9
|
+
import * as i8 from "../../pipes/memoize-func.pipe";
|
|
10
|
+
import * as i9 from "../../pipes/ui-translate.pipe";
|
|
11
|
+
import * as i10 from "../../pipes/ui-ordinal-suffix.pipe";
|
|
12
|
+
export declare class UniversalSkillsSpiderChartsComponentModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UniversalSkillsSpiderChartsComponentModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UniversalSkillsSpiderChartsComponentModule, [typeof i1.UniversalSkillsSpiderChartsComponent], [typeof i2.CommonModule, typeof i3.AccordionComponentModule, typeof i4.BadgeComponentModule, typeof i5.ProgressBarComponentModule, typeof i6.SpiderChartComponentModule, typeof i7.DividerComponentModule, typeof i8.MemoizeFuncPipe, typeof i9.UiTranslatePipe, typeof i10.OrdinalSuffixPipe, typeof i2.KeyValuePipe], [typeof i1.UniversalSkillsSpiderChartsComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UniversalSkillsSpiderChartsComponentModule>;
|
|
16
|
+
}
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
"MAX_SELECTED_ERROR": "You’ve reached the maximum of ({{max}}) tags. Remove a tag to add another."
|
|
12
12
|
},
|
|
13
13
|
"STEPPER": {
|
|
14
|
-
"FINAL_STEP": "Final step"
|
|
14
|
+
"FINAL_STEP": "Final step",
|
|
15
|
+
"COMPLETED": "Completed",
|
|
16
|
+
"INCOMPLETE": "Incomplete",
|
|
17
|
+
"SELECTED_OF": "Selected ({{selected}} of {{total}}) current step"
|
|
15
18
|
},
|
|
16
19
|
"SLIDER": {
|
|
17
20
|
"MAX_LESS_THAN_MIN": "Max value ({{max}}) cannot be less then current min value ({{min}})",
|