@testgorilla/tgo-ui 2.99.1 → 3.0.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.
- package/components/alert-banner/alert-banner.component.d.ts +9 -1
- package/components/autocomplete/autocomplete.component.d.ts +21 -4
- package/components/autocomplete/autocomplete.component.module.d.ts +2 -1
- package/components/avatar/avatar.component.module.d.ts +2 -1
- package/components/button/button.component.d.ts +14 -3
- package/components/button/button.model.d.ts +2 -2
- package/components/card/card.component.d.ts +16 -4
- package/components/checkbox/checkbox.component.d.ts +15 -4
- package/components/checklist/checklist.model.d.ts +1 -0
- package/components/confirm-dialog/confirm-dialog.component.d.ts +11 -2
- package/components/confirm-dialog/confirm-dialog.model.d.ts +8 -0
- package/components/datepicker/{DateAdapter.d.ts → date-adapter.d.ts} +6 -2
- package/components/datepicker/datepicker.component.d.ts +4 -4
- package/components/dialog/dialog.component.d.ts +10 -1
- package/components/dialog/dialog.model.d.ts +12 -0
- package/components/dialog/dialog.service.d.ts +3 -2
- package/components/dropdown/dropdown.component.d.ts +12 -2
- package/components/empty-state/empty-state.component.d.ts +38 -1
- package/components/field/field.component.d.ts +39 -9
- package/components/file-upload/file-upload.component.d.ts +19 -2
- package/components/filter-button/filter-button.component.d.ts +140 -0
- package/components/filter-button/filter-button.component.module.d.ts +18 -0
- package/components/filter-button/filter-button.model.d.ts +13 -0
- package/components/gaussian-chart/gaussian-chart.component.d.ts +75 -0
- package/components/gaussian-chart/gaussian-chart.module.d.ts +13 -0
- package/components/icon/icon.config.d.ts +1 -1
- package/components/logo/logo.component.d.ts +1 -1
- package/components/multi-input/multi-input.component.d.ts +14 -7
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +5 -3
- package/components/navbar/navbar.component.d.ts +11 -4
- package/components/page-header/page-header.component.d.ts +1 -1
- package/components/password-criteria/password.component.d.ts +3 -1
- package/components/radio-button/radio-button.component.d.ts +11 -1
- package/components/scale/scale.component.d.ts +1 -0
- package/components/side-panel/side-panel.service.d.ts +2 -2
- package/components/slider/slider.component.d.ts +19 -8
- package/components/slider/slider.component.module.d.ts +1 -8
- package/components/spider-chart/spider-chart.component.d.ts +2 -0
- package/components/spider-chart/spider-chart.module.d.ts +3 -2
- package/components/spinner/spinner.component.d.ts +7 -1
- package/components/step/step.component.d.ts +12 -4
- package/components/stepper/stepper.component.d.ts +11 -3
- package/components/table/table.component.d.ts +30 -7
- package/components/table/table.component.module.d.ts +1 -1
- package/components/table/table.model.d.ts +13 -4
- package/components/tabs/tab.directive.d.ts +2 -1
- package/components/tabs/tabs.component.d.ts +3 -0
- package/components/tabs/tabs.component.module.d.ts +2 -1
- package/components/tabs/tabs.model.d.ts +2 -0
- package/components/universal-skills-report/universal-skills-report.component.d.ts +7 -7
- package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.d.ts +47 -0
- package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.d.ts +16 -0
- package/{components/deprecated-table/directives → directives}/dynamic-component.directive.d.ts +9 -2
- package/esm2022/assets/i18n/da-dk.json +62 -1
- package/esm2022/assets/i18n/de.json +62 -1
- package/esm2022/assets/i18n/en.json +664 -10
- package/esm2022/assets/i18n/es.json +62 -1
- package/esm2022/assets/i18n/fr.json +62 -1
- package/esm2022/assets/i18n/it-it.json +62 -1
- package/esm2022/assets/i18n/ja-jp.json +62 -1
- package/esm2022/assets/i18n/nb-no.json +62 -1
- package/esm2022/assets/i18n/nl.json +62 -1
- package/esm2022/assets/i18n/pl-pl.json +62 -1
- package/esm2022/assets/i18n/pt-br.json +62 -1
- package/esm2022/assets/i18n/sv-se.json +62 -1
- package/esm2022/components/accordion/accordion.component.mjs +5 -5
- package/esm2022/components/accordion/accordion.component.module.mjs +4 -4
- package/esm2022/components/alert-banner/alert-banner.component.mjs +15 -5
- package/esm2022/components/alert-banner/alert-banner.component.module.mjs +4 -4
- package/esm2022/components/autocomplete/autocomplete.component.mjs +113 -21
- package/esm2022/components/autocomplete/autocomplete.component.module.mjs +11 -7
- package/esm2022/components/autocomplete/includes.pipe.mjs +3 -3
- package/esm2022/components/autocomplete/prevent-input.directive.mjs +3 -3
- package/esm2022/components/autocomplete/transform-Item.pipe.mjs +3 -3
- package/esm2022/components/avatar/avatar.component.mjs +7 -6
- package/esm2022/components/avatar/avatar.component.module.mjs +7 -6
- package/esm2022/components/badge/badge.component.mjs +4 -4
- package/esm2022/components/badge/badge.component.module.mjs +4 -4
- package/esm2022/components/button/button.component.mjs +44 -20
- package/esm2022/components/button/button.component.module.mjs +4 -4
- package/esm2022/components/button/button.model.mjs +1 -1
- package/esm2022/components/card/card.component.mjs +38 -7
- package/esm2022/components/card/card.component.module.mjs +4 -4
- package/esm2022/components/checkbox/checkbox.component.mjs +35 -11
- package/esm2022/components/checkbox/checkbox.component.module.mjs +4 -4
- package/esm2022/components/checkbox/focus-visible.directive.mjs +3 -3
- package/esm2022/components/checklist/checklist.component.mjs +6 -6
- package/esm2022/components/checklist/checklist.model.mjs +1 -1
- package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +18 -6
- package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +4 -4
- package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +1 -1
- package/esm2022/components/datepicker/date-adapter.mjs +39 -0
- package/esm2022/components/datepicker/datepicker.component.mjs +15 -17
- package/esm2022/components/datepicker/datepicker.component.module.mjs +4 -4
- package/esm2022/components/datepicker/datepicker.service.mjs +3 -3
- package/esm2022/components/datepicker/no-date-format.directive.mjs +6 -6
- package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +3 -3
- package/esm2022/components/deprecated-paginator/deprecated-paginator.component.module.mjs +4 -4
- package/esm2022/components/dialog/dialog.component.mjs +21 -8
- package/esm2022/components/dialog/dialog.component.module.mjs +4 -4
- package/esm2022/components/dialog/dialog.model.mjs +2 -0
- package/esm2022/components/dialog/dialog.service.mjs +6 -5
- package/esm2022/components/divider/divider.component.mjs +3 -3
- package/esm2022/components/divider/divider.component.module.mjs +4 -4
- package/esm2022/components/dropdown/dropdown.component.mjs +28 -9
- package/esm2022/components/dropdown/dropdown.component.module.mjs +4 -4
- package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +3 -3
- package/esm2022/components/elevation-shadow/elevation-shadow.component.module.mjs +4 -4
- package/esm2022/components/empty-state/empty-state.component.mjs +53 -5
- package/esm2022/components/empty-state/empty-state.component.module.mjs +4 -4
- package/esm2022/components/field/field.component.mjs +53 -29
- package/esm2022/components/field/field.component.module.mjs +4 -4
- package/esm2022/components/file-upload/file-upload.component.mjs +46 -32
- package/esm2022/components/file-upload/file-upload.component.module.mjs +4 -4
- package/esm2022/components/filter-button/filter-button.component.mjs +255 -0
- package/esm2022/components/filter-button/filter-button.component.module.mjs +58 -0
- package/esm2022/components/filter-button/filter-button.model.mjs +2 -0
- package/esm2022/components/gaussian-chart/gaussian-chart.component.mjs +246 -0
- package/esm2022/components/gaussian-chart/gaussian-chart.module.mjs +42 -0
- package/esm2022/components/icon/icon.component.mjs +5 -5
- package/esm2022/components/icon/icon.component.module.mjs +4 -4
- package/esm2022/components/icon/icon.config.mjs +27 -1
- package/esm2022/components/icon-label/icon-label.component.mjs +3 -3
- package/esm2022/components/icon-label/icon-label.component.module.mjs +4 -4
- package/esm2022/components/logo/logo.component.mjs +4 -4
- package/esm2022/components/logo/logo.component.module.mjs +4 -4
- package/esm2022/components/media-card/media-card.component.mjs +5 -5
- package/esm2022/components/multi-input/multi-input.component.mjs +37 -24
- package/esm2022/components/multi-input/multi-input.component.module.mjs +4 -4
- package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +13 -9
- package/esm2022/components/navbar/navbar.component.mjs +17 -14
- package/esm2022/components/navbar/navbar.component.module.mjs +4 -4
- package/esm2022/components/overflow-menu/overflow-menu.component.mjs +4 -4
- package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +4 -4
- package/esm2022/components/page-header/page-header.component.mjs +5 -5
- package/esm2022/components/page-header/page-header.component.module.mjs +4 -4
- package/esm2022/components/paginator/paginator.component.mjs +3 -3
- package/esm2022/components/paginator/paginator.component.module.mjs +4 -4
- package/esm2022/components/password-criteria/password.component.mjs +13 -7
- package/esm2022/components/password-criteria/password.component.module.mjs +4 -4
- package/esm2022/components/password-strength/password-strength.component.mjs +3 -3
- package/esm2022/components/password-strength/password-strength.component.module.mjs +4 -4
- package/esm2022/components/phone-input/join-strings.pipe.mjs +3 -3
- package/esm2022/components/phone-input/phone-input.component.mjs +4 -4
- package/esm2022/components/phone-input/phone-input.component.module.mjs +4 -4
- package/esm2022/components/progress-bar/progress-bar.component.mjs +4 -4
- package/esm2022/components/progress-bar/progress-bar.component.module.mjs +4 -4
- package/esm2022/components/radial-progress/radial-progress.component.mjs +3 -3
- package/esm2022/components/radial-progress/radial-progress.component.module.mjs +4 -4
- package/esm2022/components/radio-button/radio-button.component.mjs +19 -5
- package/esm2022/components/radio-button/radio-button.component.module.mjs +4 -4
- package/esm2022/components/rating/half-star.pipe.mjs +3 -3
- package/esm2022/components/rating/rating.component.mjs +3 -3
- package/esm2022/components/rating/rating.component.module.mjs +4 -4
- package/esm2022/components/scale/scale.component.mjs +18 -6
- package/esm2022/components/scale/scale.component.module.mjs +4 -4
- package/esm2022/components/segmented-bar/segmented-bar.component.mjs +3 -3
- package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +4 -4
- package/esm2022/components/segmented-button/segmented-button.component.mjs +6 -6
- package/esm2022/components/segmented-button/segmented-button.component.module.mjs +4 -4
- package/esm2022/components/side-panel/side-panel.component.mjs +6 -6
- package/esm2022/components/side-panel/side-panel.service.mjs +9 -8
- package/esm2022/components/side-sheet/side-sheet.component.mjs +3 -3
- package/esm2022/components/side-sheet/side-sheet.component.module.mjs +4 -4
- package/esm2022/components/side-sheet/side-sheet.service.mjs +3 -3
- package/esm2022/components/skeleton/skeleton.component.mjs +3 -3
- package/esm2022/components/slider/slider.component.mjs +70 -12
- package/esm2022/components/slider/slider.component.module.mjs +6 -33
- package/esm2022/components/slider/slider.model.mjs +1 -1
- package/esm2022/components/snackbar/snackbar.component.mjs +4 -4
- package/esm2022/components/snackbar/snackbar.component.module.mjs +4 -4
- package/esm2022/components/snackbar/snackbar.service.mjs +3 -3
- package/esm2022/components/spider-chart/spider-chart.component.mjs +25 -7
- package/esm2022/components/spider-chart/spider-chart.module.mjs +8 -5
- package/esm2022/components/spinner/spinner.component.mjs +15 -6
- package/esm2022/components/spinner/spinner.module.mjs +4 -4
- package/esm2022/components/step/step.component.mjs +52 -12
- package/esm2022/components/step/step.component.module.mjs +4 -4
- package/esm2022/components/stepper/stepper.component.mjs +52 -18
- package/esm2022/components/stepper/stepper.component.module.mjs +4 -4
- package/esm2022/components/table/sentence-case.pipe.mjs +3 -3
- package/esm2022/components/table/table.component.mjs +104 -57
- package/esm2022/components/table/table.component.module.mjs +6 -6
- package/esm2022/components/table/table.model.mjs +13 -1
- package/esm2022/components/tabs/tab.directive.mjs +7 -4
- package/esm2022/components/tabs/tabs.component.mjs +38 -9
- package/esm2022/components/tabs/tabs.component.module.mjs +7 -6
- package/esm2022/components/tabs/tabs.model.mjs +1 -1
- package/esm2022/components/tag/tag.component.mjs +3 -3
- package/esm2022/components/tag/tag.component.module.mjs +4 -4
- package/esm2022/components/toggle/toggle.component.mjs +4 -4
- package/esm2022/components/toggle/toggle.component.module.mjs +4 -4
- package/esm2022/components/tooltip/tooltip-template.directive.mjs +14 -12
- package/esm2022/components/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/components/tooltip/tooltip.component.module.mjs +4 -4
- package/esm2022/components/universal-skills-report/universal-skills-report.component.mjs +29 -64
- package/esm2022/components/universal-skills-report/universal-skills-report.component.module.mjs +4 -4
- package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.mjs +109 -0
- package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.mjs +52 -0
- package/esm2022/components/validation-error/validation-error.component.mjs +3 -3
- package/esm2022/components/validation-error/validation-error.module.mjs +4 -4
- package/esm2022/directives/digits-only.directive.mjs +3 -3
- package/esm2022/directives/drag-drop.directive.mjs +3 -3
- package/esm2022/directives/dynamic-component.directive.mjs +40 -0
- package/esm2022/directives/ellipse-text.directive.mjs +3 -3
- package/esm2022/directives/select-text.directive.mjs +3 -3
- package/esm2022/directives/step-line-element.directive.mjs +3 -3
- package/esm2022/models/universal-skills-report.model.mjs +33 -0
- package/esm2022/pipes/data-property-getter.mjs +3 -3
- package/esm2022/pipes/has-validation-error.pipe.mjs +3 -3
- package/esm2022/pipes/memoize-func.pipe.mjs +3 -3
- package/esm2022/pipes/name-initials.pipe.mjs +3 -3
- package/esm2022/pipes/ui-ordinal-suffix.pipe.mjs +3 -3
- package/esm2022/pipes/ui-translate.pipe.mjs +3 -3
- package/esm2022/public-api.mjs +17 -6
- package/esm2022/services/icons.service.mjs +3 -3
- package/esm2022/services/universal-skills.service.mjs +85 -0
- package/esm2022/utils/autocomplete-utils.mjs +15 -3
- package/esm2022/utils/localization/language.service.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui.mjs +3878 -1246
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/models/universal-skills-report.model.d.ts +44 -0
- package/package.json +17 -15
- package/projects/tgo-canopy-ui/assets/i18n/da-dk.json +62 -1
- package/projects/tgo-canopy-ui/assets/i18n/de.json +62 -1
- package/projects/tgo-canopy-ui/assets/i18n/en.json +665 -10
- package/projects/tgo-canopy-ui/assets/i18n/es.json +62 -1
- package/projects/tgo-canopy-ui/assets/i18n/fr.json +62 -1
- package/projects/tgo-canopy-ui/assets/i18n/it-it.json +62 -1
- package/projects/tgo-canopy-ui/assets/i18n/ja-jp.json +62 -1
- package/projects/tgo-canopy-ui/assets/i18n/nb-no.json +62 -1
- package/projects/tgo-canopy-ui/assets/i18n/nl.json +62 -1
- package/projects/tgo-canopy-ui/assets/i18n/pl-pl.json +62 -1
- package/projects/tgo-canopy-ui/assets/i18n/pt-br.json +62 -1
- package/projects/tgo-canopy-ui/assets/i18n/sv-se.json +62 -1
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Analytics-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Analytics-in-line.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Failed-to-load-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Failed-to-load-in-line.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/History-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/History-in-line.svg +3 -0
- 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/projects/tgo-canopy-ui/assets/icons/rebrand/Tag-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Tag-in-line.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/TestGorilla-Pink-filled.svg +11 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/TestGorilla-Pink-in-line.svg +11 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Verified-badge-filled.svg +23 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Verified-badge-in-line.svg +23 -0
- package/projects/tgo-canopy-ui/theme/_input.scss +1 -0
- package/projects/tgo-canopy-ui/theme/_palette.scss +9 -9
- package/projects/tgo-canopy-ui/theme/_tooltip.scss +12 -8
- package/projects/tgo-canopy-ui/theme/_typography.scss +4 -0
- package/projects/tgo-canopy-ui/theme/_variables.scss +3 -3
- package/public-api.d.ts +11 -4
- package/services/universal-skills.service.d.ts +13 -0
- package/utils/autocomplete-utils.d.ts +2 -2
- package/components/deprecated-table/deprecated-table.component.d.ts +0 -91
- package/components/deprecated-table/deprecated-table.component.module.d.ts +0 -14
- package/components/deprecated-table/deprecated-table.model.d.ts +0 -45
- package/components/universal-skills-report/universal-skills-report.model.d.ts +0 -33
- package/esm2022/components/datepicker/DateAdapter.mjs +0 -30
- package/esm2022/components/deprecated-table/deprecated-table.component.mjs +0 -158
- package/esm2022/components/deprecated-table/deprecated-table.component.module.mjs +0 -43
- package/esm2022/components/deprecated-table/deprecated-table.model.mjs +0 -13
- package/esm2022/components/deprecated-table/directives/dynamic-component.directive.mjs +0 -40
- package/esm2022/components/universal-skills-report/universal-skills-report.model.mjs +0 -19
|
@@ -1,12 +1,21 @@
|
|
|
1
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
1
2
|
import { AfterViewInit, ChangeDetectorRef, DestroyRef, DoCheck, ElementRef, EventEmitter, NgZone, OnInit } from '@angular/core';
|
|
2
3
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import { FieldType } from '../../components/field/field.model';
|
|
4
4
|
import { MatIconRegistry } from '@angular/material/icon';
|
|
5
5
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
6
|
+
import { FieldType } from '../../components/field/field.model';
|
|
6
7
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
7
8
|
import { IconName } from '../icon/icon.model';
|
|
8
|
-
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* A global counter used to generate unique field IDs.
|
|
12
|
+
* This variable is incremented each time a new field ID is needed.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* This is primarily used to ensure that each field component
|
|
16
|
+
* has a unique identifier within the application / useful for their Aria Labels.
|
|
17
|
+
*/
|
|
18
|
+
export declare let fieldID: number;
|
|
10
19
|
export declare class FieldComponent implements OnInit, ControlValueAccessor, DoCheck, AfterViewInit {
|
|
11
20
|
private readonly defaultAppTheme;
|
|
12
21
|
private matIconRegistry;
|
|
@@ -51,7 +60,7 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
|
|
|
51
60
|
* @type {string}
|
|
52
61
|
* @memberof FieldComponent
|
|
53
62
|
*/
|
|
54
|
-
id
|
|
63
|
+
id: import("@angular/core").InputSignal<string>;
|
|
55
64
|
/**
|
|
56
65
|
* Input value
|
|
57
66
|
*
|
|
@@ -81,6 +90,13 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
|
|
|
81
90
|
* @memberof FieldComponent
|
|
82
91
|
*/
|
|
83
92
|
required: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Input is readonly or not
|
|
95
|
+
*
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof FieldComponent
|
|
98
|
+
*/
|
|
99
|
+
readOnly: boolean;
|
|
84
100
|
/**
|
|
85
101
|
* Hint text
|
|
86
102
|
*
|
|
@@ -217,18 +233,32 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
|
|
|
217
233
|
textareaHeight: number;
|
|
218
234
|
/**
|
|
219
235
|
* A string representing the ARIA requirement for accessibility.
|
|
220
|
-
* This attribute is used
|
|
236
|
+
* This attribute is used for input field Aria Labeled By Element Id.
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof FieldComponent
|
|
239
|
+
*/
|
|
240
|
+
protected readonly ariaLabelledbyId: import("@angular/core").Signal<string>;
|
|
241
|
+
/**
|
|
242
|
+
* A string representing the ARIA requirement for accessibility.
|
|
243
|
+
* This attribute is used for input field Aria LabeledBy Text.
|
|
244
|
+
* @type {string}
|
|
245
|
+
* @memberof FieldComponent
|
|
246
|
+
*/
|
|
247
|
+
protected readonly ariaLabelledby: import("@angular/core").InputSignal<string | undefined>;
|
|
248
|
+
/**
|
|
249
|
+
* A string representing the ARIA requirement for accessibility.
|
|
250
|
+
* This attribute is used for input field Aria Described By Element Id.
|
|
221
251
|
* @type {string}
|
|
222
252
|
* @memberof FieldComponent
|
|
223
253
|
*/
|
|
224
|
-
|
|
254
|
+
protected readonly ariaDescribedbyId: import("@angular/core").Signal<string>;
|
|
225
255
|
/**
|
|
226
256
|
* A string representing the ARIA requirement for accessibility.
|
|
227
|
-
* This attribute is used
|
|
257
|
+
* This attribute is used for input field Aria DescribedBy Text.
|
|
228
258
|
* @type {string}
|
|
229
259
|
* @memberof FieldComponent
|
|
230
260
|
*/
|
|
231
|
-
ariaDescribedby: string
|
|
261
|
+
protected readonly ariaDescribedby: import("@angular/core").InputSignal<string | undefined>;
|
|
232
262
|
/**
|
|
233
263
|
* Show state of error
|
|
234
264
|
* @type {boolean}
|
|
@@ -275,13 +305,13 @@ export declare class FieldComponent implements OnInit, ControlValueAccessor, DoC
|
|
|
275
305
|
registerOnChange(fn: any): void;
|
|
276
306
|
registerOnTouched(fn: any): void;
|
|
277
307
|
setDisabledState(isDisabled: boolean): void;
|
|
278
|
-
onFieldClick(event: MouseEvent): void;
|
|
279
308
|
onActive(state: boolean, action: string): void;
|
|
280
309
|
onSubmit(): void;
|
|
281
310
|
private clearSpace;
|
|
282
311
|
onBlur(): void;
|
|
283
312
|
trackByFn: (index: number, value: any) => any;
|
|
284
313
|
focus(): void;
|
|
314
|
+
refocusPasswordButton(btn: any): void;
|
|
285
315
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldComponent, [{ optional: true; }, null, null, null, { optional: true; self: true; }, null, null, null]>;
|
|
286
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "type": { "alias": "type"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "allowOnlyDigits": { "alias": "allowOnlyDigits"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "trimOnBlur": { "alias": "trimOnBlur"; "required": false; }; "trimOnSubmit": { "alias": "trimOnSubmit"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "textareaHeight": { "alias": "textareaHeight"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; }, { "validateEvent": "validateEvent"; "fieldBlur": "fieldBlur"; }, never, never, false, never>;
|
|
316
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "type": { "alias": "type"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "allowOnlyDigits": { "alias": "allowOnlyDigits"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "trimOnBlur": { "alias": "trimOnBlur"; "required": false; }; "trimOnSubmit": { "alias": "trimOnSubmit"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "textareaHeight": { "alias": "textareaHeight"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; }; }, { "validateEvent": "validateEvent"; "fieldBlur": "fieldBlur"; }, never, never, false, never>;
|
|
287
317
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
|
+
import { Color } from '../../models/colors.model';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAccessor {
|
|
6
7
|
private readonly defaultAppTheme;
|
|
@@ -31,6 +32,20 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
|
|
|
31
32
|
* @memberof FileUploadComponent
|
|
32
33
|
*/
|
|
33
34
|
uploadProgress: number;
|
|
35
|
+
/**
|
|
36
|
+
* Show Upload progress percentage or not
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof FileUploadComponent
|
|
40
|
+
*/
|
|
41
|
+
showUploadProgress: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Custom progress message
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof FileUploadComponent
|
|
47
|
+
*/
|
|
48
|
+
fileProcessingMessage: string | undefined;
|
|
34
49
|
/**
|
|
35
50
|
* File upload errors
|
|
36
51
|
*
|
|
@@ -94,11 +109,13 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
|
|
|
94
109
|
* @ignore
|
|
95
110
|
*/
|
|
96
111
|
onTouch: () => void;
|
|
112
|
+
get fileSizeInMB(): string | null;
|
|
97
113
|
isMissedMinSize: boolean;
|
|
98
114
|
progress: boolean;
|
|
99
115
|
success: boolean;
|
|
100
116
|
browse: boolean;
|
|
101
117
|
isCanceled: boolean;
|
|
118
|
+
colorUploadSuccess: Color;
|
|
102
119
|
constructor(defaultAppTheme: ApplicationTheme);
|
|
103
120
|
ngOnInit(): void;
|
|
104
121
|
onFileDropped(files: FileList): void;
|
|
@@ -116,5 +133,5 @@ export declare class FileUploadComponent implements OnInit, OnChanges, ControlVa
|
|
|
116
133
|
private fileSizeToMB;
|
|
117
134
|
onKeydown(ev: KeyboardEvent): void;
|
|
118
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, [{ optional: true; }]>;
|
|
119
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "required": false; }; "minFileSizeMB": { "alias": "minFileSizeMB"; "required": false; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "file": { "alias": "file"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
|
|
136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "required": false; }; "minFileSizeMB": { "alias": "minFileSizeMB"; "required": false; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "showUploadProgress": { "alias": "showUploadProgress"; "required": false; }; "fileProcessingMessage": { "alias": "fileProcessingMessage"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "file": { "alias": "file"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
|
|
120
137
|
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { FocusKeyManager } from '@angular/cdk/a11y';
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
|
+
import { ButtonIconPosition } from '../button/button.model';
|
|
5
|
+
import { IconName } from '../icon/icon.model';
|
|
6
|
+
import { FilterButtonOption, FilterValue, OptionChangeEvent } from './filter-button.model';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class FilterButtonComponent implements OnChanges {
|
|
9
|
+
private readonly defaultAppTheme;
|
|
10
|
+
private readonly cdr;
|
|
11
|
+
class: string;
|
|
12
|
+
/**
|
|
13
|
+
* The button label when no value is selected.
|
|
14
|
+
*
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof FilterButtonComponent
|
|
17
|
+
*/
|
|
18
|
+
label: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional message to display on the overflow bottom.
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof FilterButtonComponent
|
|
24
|
+
*/
|
|
25
|
+
message?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* List of selected values.
|
|
28
|
+
*
|
|
29
|
+
* @type {string[]}
|
|
30
|
+
* @memberof FilterButtonComponent
|
|
31
|
+
*/
|
|
32
|
+
value: FilterValue[];
|
|
33
|
+
/**
|
|
34
|
+
* Whether the component is disabled.
|
|
35
|
+
* Default: false.
|
|
36
|
+
*
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof FilterButtonComponent
|
|
39
|
+
*/
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* List of options.
|
|
43
|
+
*
|
|
44
|
+
* @type {OptionType}
|
|
45
|
+
* @memberof FilterButtonComponent
|
|
46
|
+
*/
|
|
47
|
+
options: import("@angular/core").InputSignal<FilterButtonOption[]>;
|
|
48
|
+
/**
|
|
49
|
+
* Whether the user should be allowed to clear the values.
|
|
50
|
+
* Default: true.
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof FilterButtonComponent
|
|
54
|
+
*/
|
|
55
|
+
allowClear: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the user should be allowed to select single or multiple values.
|
|
58
|
+
* Default: false.
|
|
59
|
+
*
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof FilterButtonComponent
|
|
62
|
+
*/
|
|
63
|
+
singleSelection?: boolean | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* The icon name to display.
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof FilterButtonComponent
|
|
69
|
+
*
|
|
70
|
+
**/
|
|
71
|
+
iconName?: IconName;
|
|
72
|
+
/**
|
|
73
|
+
* The position of the icon.
|
|
74
|
+
* Default: 'right'.
|
|
75
|
+
*
|
|
76
|
+
* @type {ButtonIconPosition}
|
|
77
|
+
* @memberof FilterButtonComponent
|
|
78
|
+
*/
|
|
79
|
+
iconPosition?: ButtonIconPosition;
|
|
80
|
+
/**
|
|
81
|
+
* Optional message to display if there are no options to select available
|
|
82
|
+
*
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof FilterButtonComponent
|
|
85
|
+
*/
|
|
86
|
+
noOptionsMessage?: string | undefined;
|
|
87
|
+
/**
|
|
88
|
+
* Emits the list of selected values when the selection changes.
|
|
89
|
+
*
|
|
90
|
+
* @type {EventEmitter<string[]>}
|
|
91
|
+
* @memberof FilterButtonComponent
|
|
92
|
+
*/
|
|
93
|
+
changed: EventEmitter<FilterValue[]>;
|
|
94
|
+
/**
|
|
95
|
+
* Emits the option change event
|
|
96
|
+
*
|
|
97
|
+
* @type {EventEmitter<OptionChangeEvent>}
|
|
98
|
+
* @memberof FilterButtonComponent
|
|
99
|
+
*/
|
|
100
|
+
optionChange: EventEmitter<OptionChangeEvent>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* Defines the application theme
|
|
104
|
+
*
|
|
105
|
+
* @type {ApplicationTheme}
|
|
106
|
+
* @memberof FilterButtonComponent
|
|
107
|
+
*/
|
|
108
|
+
applicationTheme: ApplicationTheme;
|
|
109
|
+
overlayContainer: any;
|
|
110
|
+
filterOptions: QueryList<any>;
|
|
111
|
+
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
112
|
+
displayedLabel: import("@angular/core").WritableSignal<string>;
|
|
113
|
+
tooltip: import("@angular/core").WritableSignal<string>;
|
|
114
|
+
search: import("@angular/core").WritableSignal<string>;
|
|
115
|
+
showTooltip: {
|
|
116
|
+
[key: string]: boolean;
|
|
117
|
+
};
|
|
118
|
+
displayedOptions: import("@angular/core").Signal<{
|
|
119
|
+
sectionTitle: string;
|
|
120
|
+
value: FilterValue;
|
|
121
|
+
label: string;
|
|
122
|
+
labelNumber?: number | undefined;
|
|
123
|
+
icon?: IconName | undefined;
|
|
124
|
+
}[]>;
|
|
125
|
+
readonly MIN_OPTIONS_LENGTH_FOR_SEARCH = 8;
|
|
126
|
+
protected keyManager: FocusKeyManager<HTMLElement>;
|
|
127
|
+
protected translationContext: string;
|
|
128
|
+
constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef);
|
|
129
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
130
|
+
clearValue(): void;
|
|
131
|
+
outsideClick(): void;
|
|
132
|
+
toggle(): void;
|
|
133
|
+
isSelected(value?: FilterValue): boolean;
|
|
134
|
+
optionChanged(selected: boolean, option: FilterButtonOption): void;
|
|
135
|
+
keyDownHandler(ev: any): void;
|
|
136
|
+
onLabelEllipsisChange(isEllipsis: boolean, value: FilterValue): void;
|
|
137
|
+
private updateLabel;
|
|
138
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterButtonComponent, [{ optional: true; }, null]>;
|
|
139
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterButtonComponent, "ui-filter-button", never, { "label": { "alias": "label"; "required": false; }; "message": { "alias": "message"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; }; "singleSelection": { "alias": "singleSelection"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "noOptionsMessage": { "alias": "noOptionsMessage"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "changed": "changed"; "optionChange": "optionChange"; }, never, never, false, never>;
|
|
140
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./filter-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/material/tooltip";
|
|
6
|
+
import * as i5 from "@angular/cdk/overlay";
|
|
7
|
+
import * as i6 from "../../pipes/ui-translate.pipe";
|
|
8
|
+
import * as i7 from "../button/button.component.module";
|
|
9
|
+
import * as i8 from "../icon/icon.component.module";
|
|
10
|
+
import * as i9 from "../checkbox/checkbox.component.module";
|
|
11
|
+
import * as i10 from "../field/field.component.module";
|
|
12
|
+
import * as i11 from "../../directives/ellipse-text.directive";
|
|
13
|
+
import * as i12 from "../radio-button/radio-button.component.module";
|
|
14
|
+
export declare class FilterButtonComponentModule {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterButtonComponentModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FilterButtonComponentModule, [typeof i1.FilterButtonComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatTooltipModule, typeof i5.OverlayModule, typeof i6.UiTranslatePipe, typeof i7.ButtonComponentModule, typeof i8.IconComponentModule, typeof i9.CheckboxComponentModule, typeof i10.FieldComponentModule, typeof i11.EllipseTextDirective, typeof i12.RadioButtonComponentModule], [typeof i1.FilterButtonComponent]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FilterButtonComponentModule>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IconName } from '../icon/icon.model';
|
|
2
|
+
export type FilterValue = string | number;
|
|
3
|
+
export interface FilterButtonOption {
|
|
4
|
+
value: FilterValue;
|
|
5
|
+
label: string;
|
|
6
|
+
labelNumber?: number;
|
|
7
|
+
icon?: IconName;
|
|
8
|
+
sectionTitle?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface OptionChangeEvent {
|
|
11
|
+
selected: boolean;
|
|
12
|
+
option: FilterButtonOption;
|
|
13
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
3
|
+
import { Chart, ChartData, ChartOptions } from 'chart.js';
|
|
4
|
+
import gaussian from 'gaussian';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
declare enum PercentileThreshold {
|
|
7
|
+
LOWEST = 20,
|
|
8
|
+
LOWER = 40,
|
|
9
|
+
AVERAGE = 60,
|
|
10
|
+
HIGHER = 80,
|
|
11
|
+
HIGHEST = 100
|
|
12
|
+
}
|
|
13
|
+
export declare class GaussianChartComponent implements OnInit {
|
|
14
|
+
/**
|
|
15
|
+
* The candidate score to be displayed on the chart.
|
|
16
|
+
* @type {number}
|
|
17
|
+
* @memberof GaussianChartComponent
|
|
18
|
+
*/
|
|
19
|
+
score: number;
|
|
20
|
+
/**
|
|
21
|
+
* The best candidate score to be displayed on the chart.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof GaussianChartComponent
|
|
24
|
+
*/
|
|
25
|
+
bestCandidateScore: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* Defines the application theme
|
|
29
|
+
*
|
|
30
|
+
* @type {ApplicationTheme}
|
|
31
|
+
* @memberof SpinnerComponent
|
|
32
|
+
*/
|
|
33
|
+
applicationTheme: ApplicationTheme;
|
|
34
|
+
readonly minXValue = -3;
|
|
35
|
+
readonly maxXValue = 3;
|
|
36
|
+
readonly minYValue = 0;
|
|
37
|
+
readonly stepSize = 0.1;
|
|
38
|
+
readonly pointsToSkip = 2;
|
|
39
|
+
readonly actualMinXvalue: number;
|
|
40
|
+
readonly actualMaxXvalue: number;
|
|
41
|
+
readonly normalContainerPadding = 50;
|
|
42
|
+
readonly bestScoreThreshold = 92;
|
|
43
|
+
readonly bestScoreSpacingRight = "4px";
|
|
44
|
+
readonly bestScoreSpacingLeft = "-39px";
|
|
45
|
+
PercentileThreshold: typeof PercentileThreshold;
|
|
46
|
+
chart: Chart;
|
|
47
|
+
gaussianDistribution: gaussian.Gaussian;
|
|
48
|
+
activeBucket: PercentileThreshold;
|
|
49
|
+
overlayXValue: number;
|
|
50
|
+
overlayYValue: number;
|
|
51
|
+
overlayXBestScoreValue: number;
|
|
52
|
+
overlayYBestScoreValue: number;
|
|
53
|
+
maxYValue: number;
|
|
54
|
+
gaussianChartData: ChartData<'line'>;
|
|
55
|
+
gaussianChartOptions: ChartOptions<'line'>;
|
|
56
|
+
protected readonly translationContext = "CHARTS.GAUSSIAN_CHART.";
|
|
57
|
+
ngOnInit(): void;
|
|
58
|
+
private setChartData;
|
|
59
|
+
private setChartOptions;
|
|
60
|
+
private getTooltip;
|
|
61
|
+
private getScale;
|
|
62
|
+
private generateDataset;
|
|
63
|
+
private generateLabels;
|
|
64
|
+
private setActiveBucket;
|
|
65
|
+
private setOverlayValues;
|
|
66
|
+
private setOverlayValuesForBestScore;
|
|
67
|
+
private calculateOverlayValues;
|
|
68
|
+
private mapRange;
|
|
69
|
+
getCalcPosition([percentage, pixels, operation]: [number, number, 'add' | 'subtract']): string;
|
|
70
|
+
getBestScoreContentPosition(bestScore: number): string;
|
|
71
|
+
getScoreTranslationKey(score: number): string;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaussianChartComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GaussianChartComponent, "ui-gaussian-chart", never, { "score": { "alias": "score"; "required": false; }; "bestCandidateScore": { "alias": "bestCandidateScore"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./gaussian-chart.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../pipes/ui-translate.pipe";
|
|
5
|
+
import * as i4 from "ng2-charts";
|
|
6
|
+
import * as i5 from "@angular/material/tooltip";
|
|
7
|
+
import * as i6 from "../icon/icon.component.module";
|
|
8
|
+
import * as i7 from "../../pipes/memoize-func.pipe";
|
|
9
|
+
export declare class GaussianChartComponentModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GaussianChartComponentModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GaussianChartComponentModule, [typeof i1.GaussianChartComponent], [typeof i2.NgClass, typeof i3.UiTranslatePipe, typeof i4.NgChartsModule, typeof i5.MatTooltipModule, typeof i2.CommonModule, typeof i6.IconComponentModule, typeof i7.MemoizeFuncPipe], [typeof i1.GaussianChartComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GaussianChartComponentModule>;
|
|
13
|
+
}
|
|
@@ -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"];
|
|
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", "Tag-filled", "Tag-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", "Verified-badge-filled", "Verified-badge-in-line", "Zoom-in-filled", "Zoom-in-in-line", "Zoom-out-filled", "Zoom-out-in-line", "Analytics-filled", "Analytics-in-line", "Failed-to-load-filled", "Failed-to-load-in-line", "History-filled", "History-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,6 +1,6 @@
|
|
|
1
1
|
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { LogoTypeEnum } from './logo.model';
|
|
3
2
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
3
|
+
import { LogoTypeEnum } from './logo.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class LogoComponent implements OnInit, OnChanges {
|
|
6
6
|
private readonly defaultAppTheme;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor, FormBuilder, FormControl, NgControl } from '@angular/forms';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, FormBuilder, FormControl, NgControl, ValidatorFn } from '@angular/forms';
|
|
3
3
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
4
|
import { MultiInputValue } from './multi-input.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -57,11 +57,11 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
|
|
|
57
57
|
*/
|
|
58
58
|
label: string;
|
|
59
59
|
/**
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
*
|
|
61
|
+
* @description Defines the placeholder of the multi input
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof MultiInputComponent
|
|
64
|
+
*/
|
|
65
65
|
placeholder: string;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
@@ -112,6 +112,13 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
|
|
|
112
112
|
* @memberof MultiInputComponent
|
|
113
113
|
*/
|
|
114
114
|
maxCharacters: number;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @description The validators to apply to input field
|
|
118
|
+
* @type {Validators[]}
|
|
119
|
+
* @memberof MultiInputComponent
|
|
120
|
+
*/
|
|
121
|
+
validators: ValidatorFn[];
|
|
115
122
|
/**
|
|
116
123
|
*
|
|
117
124
|
* @description The width of the multi input
|
|
@@ -154,7 +161,7 @@ export declare class MultiInputComponent implements ControlValueAccessor, OnInit
|
|
|
154
161
|
private addValidation;
|
|
155
162
|
private updateDisableState;
|
|
156
163
|
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>;
|
|
164
|
+
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; }; "validators": { "alias": "validators"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
158
165
|
static ngAcceptInputType_disabled: unknown;
|
|
159
166
|
static ngAcceptInputType_required: unknown;
|
|
160
167
|
static ngAcceptInputType_allowDecimal: unknown;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
1
|
+
import { EventEmitter, InputSignal, Signal, TemplateRef } from '@angular/core';
|
|
2
2
|
import { IRoute, MenuItem } from "../navbar.model";
|
|
3
3
|
import { AvatarSize } from "../../avatar/avatar.model";
|
|
4
4
|
import { ApplicationTheme } from "../../../models/application-theme.model";
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class MobileNavbarSideSheetComponent {
|
|
7
7
|
routes: IRoute[];
|
|
8
|
-
activedRoute: string
|
|
8
|
+
activedRoute: InputSignal<string>;
|
|
9
9
|
email: string;
|
|
10
10
|
userName: string;
|
|
11
11
|
menuItems: MenuItem[];
|
|
12
12
|
contentTemplateRef: TemplateRef<any>;
|
|
13
|
+
userInfoExtraTemplateRef: TemplateRef<any>;
|
|
13
14
|
isDesktop: boolean;
|
|
14
15
|
applicationTheme: ApplicationTheme;
|
|
15
16
|
navigateEvent: EventEmitter<string>;
|
|
@@ -17,9 +18,10 @@ export declare class MobileNavbarSideSheetComponent {
|
|
|
17
18
|
logoutEvent: EventEmitter<void>;
|
|
18
19
|
protected readonly translationContext = "NAVBAR.";
|
|
19
20
|
protected avatarSize: typeof AvatarSize;
|
|
21
|
+
activeRoutesMap: Signal<Map<string, boolean>>;
|
|
20
22
|
navigate(routeId: string): void;
|
|
21
23
|
logout(): void;
|
|
22
24
|
clickMenuItem(id: string): void;
|
|
23
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<MobileNavbarSideSheetComponent, never>;
|
|
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
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MobileNavbarSideSheetComponent, "ui-mobile-navbar-side-sheet", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; "isSignal": true; }; "email": { "alias": "email"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "contentTemplateRef": { "alias": "contentTemplateRef"; "required": false; }; "userInfoExtraTemplateRef": { "alias": "userInfoExtraTemplateRef"; "required": false; }; "isDesktop": { "alias": "isDesktop"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; }, never, never, true, never>;
|
|
25
27
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DestroyRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
1
|
+
import { DestroyRef, EventEmitter, InputSignal, Signal, TemplateRef } from '@angular/core';
|
|
2
2
|
import { IRoute, MenuItem, MenuState, ScreenSize } from './navbar.model';
|
|
3
3
|
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
4
|
import { SideSheetService } from '../side-sheet/side-sheet.service';
|
|
@@ -22,10 +22,10 @@ export declare class NavbarComponent {
|
|
|
22
22
|
/**
|
|
23
23
|
* Actived route id
|
|
24
24
|
*
|
|
25
|
-
* @type {string}
|
|
25
|
+
* @type {InputSignal<string>}
|
|
26
26
|
* @memberof NavbarComponent
|
|
27
27
|
*/
|
|
28
|
-
activedRoute: string
|
|
28
|
+
activedRoute: InputSignal<string>;
|
|
29
29
|
/**
|
|
30
30
|
* User first name and last name
|
|
31
31
|
*
|
|
@@ -63,6 +63,12 @@ export declare class NavbarComponent {
|
|
|
63
63
|
* @memberof NavbarComponent
|
|
64
64
|
*/
|
|
65
65
|
contentTemplateRef: TemplateRef<any>;
|
|
66
|
+
/**
|
|
67
|
+
* Additional info template reference for the extra user info in the dropdown/sidesheet
|
|
68
|
+
* @type {TemplateRef<any>}
|
|
69
|
+
* @memberof NavbarComponent
|
|
70
|
+
*/
|
|
71
|
+
userInfoExtraTemplateRef: TemplateRef<any>;
|
|
66
72
|
/**
|
|
67
73
|
* Mobile breakpoint
|
|
68
74
|
* @type {number}
|
|
@@ -107,6 +113,7 @@ export declare class NavbarComponent {
|
|
|
107
113
|
protected readonly isTablet$: import("rxjs").Observable<boolean>;
|
|
108
114
|
protected isOpened: boolean;
|
|
109
115
|
protected logoType: typeof LogoTypeEnum;
|
|
116
|
+
activeRoutesMap: Signal<Map<string, boolean>>;
|
|
110
117
|
constructor(breakpointObserver: BreakpointObserver, defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef);
|
|
111
118
|
openMobileMenu(): void;
|
|
112
119
|
navigate(routeId: string): void;
|
|
@@ -115,5 +122,5 @@ export declare class NavbarComponent {
|
|
|
115
122
|
onChangeMenuState(isOpened: boolean, screenSize: ScreenSize): void;
|
|
116
123
|
protected readonly AvatarSize: typeof AvatarSize;
|
|
117
124
|
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>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; "isSignal": true; }; "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; }; "userInfoExtraTemplateRef": { "alias": "userInfoExtraTemplateRef"; "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>;
|
|
119
126
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { ApplicationTheme } from
|
|
3
|
+
import { ApplicationTheme } from '../../models/application-theme.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PageHeaderComponent {
|
|
6
6
|
private readonly defaultAppTheme;
|