@testgorilla/tgo-ui 2.25.0 → 2.25.2

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 (30) hide show
  1. package/components/button/button.component.d.ts +3 -3
  2. package/components/dropdown/dropdown.component.d.ts +1 -0
  3. package/components/table/table.model.d.ts +1 -1
  4. package/components/universal-skills-report/universal-skills-report.component.d.ts +2 -2
  5. package/components/universal-skills-report/universal-skills-report.model.d.ts +22 -18
  6. package/esm2022/assets/i18n/en.json +617 -1
  7. package/esm2022/components/alert-banner/alert-banner.component.mjs +2 -2
  8. package/esm2022/components/avatar/avatar.component.mjs +1 -1
  9. package/esm2022/components/button/button.component.mjs +5 -5
  10. package/esm2022/components/checklist/checklist.component.mjs +2 -2
  11. package/esm2022/components/dialog/dialog.component.mjs +1 -1
  12. package/esm2022/components/dropdown/dropdown.component.mjs +11 -10
  13. package/esm2022/components/empty-state/empty-state.component.mjs +1 -1
  14. package/esm2022/components/field/field.component.mjs +1 -1
  15. package/esm2022/components/media-card/media-card.component.mjs +3 -3
  16. package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +2 -2
  17. package/esm2022/components/navbar/navbar.component.mjs +1 -1
  18. package/esm2022/components/page-header/page-header.component.mjs +1 -1
  19. package/esm2022/components/radial-progress/radial-progress.component.mjs +1 -1
  20. package/esm2022/components/side-panel/side-panel.component.mjs +2 -2
  21. package/esm2022/components/side-sheet/side-sheet.component.mjs +1 -1
  22. package/esm2022/components/snackbar/snackbar.component.mjs +2 -2
  23. package/esm2022/components/table/table.component.mjs +3 -3
  24. package/esm2022/components/table/table.model.mjs +1 -1
  25. package/esm2022/components/universal-skills-report/universal-skills-report.component.mjs +39 -25
  26. package/esm2022/components/universal-skills-report/universal-skills-report.model.mjs +22 -8
  27. package/fesm2022/testgorilla-tgo-ui.mjs +706 -61
  28. package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
  29. package/package.json +1 -1
  30. package/projects/tgo-canopy-ui/assets/i18n/en.json +617 -1
@@ -179,7 +179,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
179
179
  * @type {boolean}
180
180
  * @memberof ButtonComponent
181
181
  */
182
- transparent: boolean;
182
+ hasBackground: boolean;
183
183
  /**
184
184
  * Sets tooltip position
185
185
  *
@@ -224,7 +224,7 @@ export declare class ButtonComponent implements OnInit, AfterViewInit {
224
224
  onKeyup(event: KeyboardEvent): void;
225
225
  onLabelEllipsisChange(state: boolean): void;
226
226
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{ optional: true; }]>;
227
- 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; }; "transparent": { "alias": "transparent"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, false, never>;
227
+ 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
228
  static ngAcceptInputType_preventDefault: unknown;
229
- static ngAcceptInputType_transparent: unknown;
229
+ static ngAcceptInputType_hasBackground: unknown;
230
230
  }
@@ -149,6 +149,7 @@ export declare class DropdownComponent implements OnInit, ControlValueAccessor,
149
149
  closed: EventEmitter<void>;
150
150
  opened: EventEmitter<void>;
151
151
  matSelect: MatSelect;
152
+ onTabPress(): void;
152
153
  /**
153
154
  * @ignore
154
155
  */
@@ -10,7 +10,7 @@ export interface TableConfig<T = any> {
10
10
  sortable?: boolean;
11
11
  }
12
12
  export interface TableConfigWithPagination<T> extends TableConfig<T> {
13
- pagination: Pagination;
13
+ pagination?: Pagination;
14
14
  }
15
15
  export interface TableColumn<T = any> {
16
16
  title?: string;
@@ -19,7 +19,7 @@ export declare class UniversalSkillsReportComponent implements OnInit {
19
19
  * @memberof UniversalSkillsReportComponent
20
20
  */
21
21
  skillAreaDataList: SkillAreaData[];
22
- readonly translationContext = "UNIVERSAL_SKILLS_REPORT";
22
+ readonly translationContext = "UNIVERSAL_SKILLS_REPORT.";
23
23
  skillAreaGroupMap: Record<SkillAreaGroupTypes, SkillAreaGroup>;
24
24
  constructor(defaultAppTheme: ApplicationTheme);
25
25
  ngOnInit(): void;
@@ -27,7 +27,7 @@ export declare class UniversalSkillsReportComponent implements OnInit {
27
27
  getScoreBadgeColor(percentileScoring: number): RebrandBadgeColor;
28
28
  private initializeSkillAreaGroupMap;
29
29
  private prepareSkillAreaGroupMap;
30
- private checkScoreClassification;
30
+ checkScoreClassification([percentileScoring, isLabelRequest]: [number, boolean]): string | RebrandBadgeColor;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<UniversalSkillsReportComponent, [{ optional: true; }]>;
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
  }
@@ -5,17 +5,7 @@ export interface SkillAreaGroup {
5
5
  }
6
6
  export interface SkillAreaData {
7
7
  percentileScoring: number;
8
- skillArea: SkillArea;
9
- reportGroup: ReportBox[];
10
- }
11
- export interface SkillArea {
12
- type: string;
13
- title: string;
14
- description: string;
15
- }
16
- export interface ReportBox {
17
- title: string;
18
- description: string;
8
+ skillAreaName: SkillAreaTypes;
19
9
  }
20
10
  export declare enum SkillAreaGroupTypes {
21
11
  FocusingOnObjectives = 1,
@@ -23,11 +13,25 @@ export declare enum SkillAreaGroupTypes {
23
13
  ManagingOnesSelf = 3
24
14
  }
25
15
  export declare enum SkillAreaTypes {
26
- BusinessSavvy = "business_savvy",
27
- CustomerFocus = "customer_focus",
28
- BuildingRelationships = "building_relationships",
29
- HandlingConflict = "handling_conflict",
30
- CommunicatingEffectively = "communicating_effectively",
31
- EarningTrust = "earning_trust",
32
- ShowingResilience = "showing_resilience"
16
+ BusinessSavvy = "BUSINESS_SAVVY",
17
+ StrategicPerspective = "STRATEGIC_PERSPECTIVE",
18
+ CustomerFocus = "CUSTOMER_FOCUS",
19
+ NavigatingComplexity = "NAVIGATING_COMPLEXITY",
20
+ AgileDecisionMaking = "AGILE_DECISION_MAKING",
21
+ EmbracingInnovation = "EMBRACING_INNOVATION",
22
+ PlanningAndPrioritizing = "PLANNING_AND_PRIORITIZING",
23
+ OrganizingResources = "ORGANIZING_RESOURCES",
24
+ DrivingResults = "DRIVING_RESULTS",
25
+ WorkingCollaboratively = "WORKING_COLLABORATIVELY",
26
+ SocialAgility = "SOCIAL_AGILITY",
27
+ CommunicatingEffectively = "COMMUNICATING_EFFECTIVELY",
28
+ HandlingConflict = "HANDLING_CONFLICT",
29
+ ValuingDiversity = "VALUING_DIVERSITY",
30
+ DevelopingOthers = "DEVELOPING_OTHERS",
31
+ ShowingResilience = "SHOWING_RESILIENCE",
32
+ NavigatingAmbiguity = "NAVIGATING_AMBIGUITY",
33
+ SelfAwareness = "SELF_AWARENESS",
34
+ SelfDevelopment = "SELF_DEVELOPMENT",
35
+ BeingBold = "BEING_BOLD",
36
+ EarningTrust = "EARNING_TRUST"
33
37
  }