@testgorilla/tgo-ui 11.22.2 → 12.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/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +335 -229
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +547 -465
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +160 -75
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +678 -278
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +337 -274
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +351 -192
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +1950 -960
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +1206 -1044
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +328 -182
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +383 -203
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +553 -261
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +709 -739
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +219 -184
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +515 -458
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +423 -162
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +10784 -10996
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +810 -533
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs +473 -116
- package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +1149 -540
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +148 -84
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +239 -142
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +599 -467
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +126 -70
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +324 -329
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +969 -648
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +553 -419
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +847 -452
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +398 -302
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +162 -95
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +1825 -1789
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs +1018 -672
- package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +758 -368
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +204 -212
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +183 -48
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +243 -79
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +751 -361
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +1122 -385
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +689 -413
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +227 -92
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +174 -113
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +367 -165
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +253 -118
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +730 -444
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +533 -221
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs +274 -76
- package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +184 -124
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +1223 -574
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +249 -160
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +447 -439
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +226 -150
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +255 -67
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +205 -162
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +245 -153
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +274 -140
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs +319 -147
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +286 -84
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +660 -208
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +579 -320
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +419 -200
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +132 -80
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +741 -390
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +455 -329
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +543 -514
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +193 -104
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +760 -524
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +714 -415
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +847 -438
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +535 -275
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +316 -246
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +404 -284
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +664 -383
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +201 -112
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +1014 -458
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +147 -155
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/mcp/catalog.json +1 -1
- package/package.json +16 -17
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Sequences-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Sequences-in-line.svg +3 -0
- package/projects/tgo-canopy-ui/theme/_palette.scss +23 -18
- package/types/testgorilla-tgo-ui-components-accordion.d.ts +214 -158
- package/types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts +93 -69
- package/types/testgorilla-tgo-ui-components-ai-caveat.d.ts +37 -34
- package/types/testgorilla-tgo-ui-components-ai-feedback.d.ts +126 -86
- package/types/testgorilla-tgo-ui-components-alert-banner.d.ts +260 -185
- package/types/testgorilla-tgo-ui-components-audio-waveform.d.ts +96 -67
- package/types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts +455 -256
- package/types/testgorilla-tgo-ui-components-autocomplete.d.ts +545 -390
- package/types/testgorilla-tgo-ui-components-avatar.d.ts +128 -102
- package/types/testgorilla-tgo-ui-components-badge.d.ts +191 -139
- package/types/testgorilla-tgo-ui-components-breadcrumb.d.ts +100 -62
- package/types/testgorilla-tgo-ui-components-button.d.ts +479 -340
- package/types/testgorilla-tgo-ui-components-card.d.ts +153 -114
- package/types/testgorilla-tgo-ui-components-checkbox.d.ts +299 -223
- package/types/testgorilla-tgo-ui-components-checklist.d.ts +149 -97
- package/types/testgorilla-tgo-ui-components-core.d.ts +307 -295
- package/types/testgorilla-tgo-ui-components-datepicker.d.ts +404 -299
- package/types/testgorilla-tgo-ui-components-device-control.d.ts +151 -81
- package/types/testgorilla-tgo-ui-components-dialog.d.ts +442 -329
- package/types/testgorilla-tgo-ui-components-divider.d.ts +64 -51
- package/types/testgorilla-tgo-ui-components-donut-chart.d.ts +41 -37
- package/types/testgorilla-tgo-ui-components-dropdown.d.ts +335 -241
- package/types/testgorilla-tgo-ui-components-elevation-shadow.d.ts +48 -43
- package/types/testgorilla-tgo-ui-components-empty-state.d.ts +317 -215
- package/types/testgorilla-tgo-ui-components-field.d.ts +559 -388
- package/types/testgorilla-tgo-ui-components-file-upload.d.ts +230 -168
- package/types/testgorilla-tgo-ui-components-filter-button.d.ts +263 -206
- package/types/testgorilla-tgo-ui-components-gaussian-chart.d.ts +107 -94
- package/types/testgorilla-tgo-ui-components-icon-label.d.ts +84 -61
- package/types/testgorilla-tgo-ui-components-icon.d.ts +137 -110
- package/types/testgorilla-tgo-ui-components-infinite-scroll-table.d.ts +429 -303
- package/types/testgorilla-tgo-ui-components-inline-field.d.ts +338 -254
- package/types/testgorilla-tgo-ui-components-logo.d.ts +119 -101
- package/types/testgorilla-tgo-ui-components-media-card.d.ts +51 -35
- package/types/testgorilla-tgo-ui-components-media-dialog.d.ts +40 -45
- package/types/testgorilla-tgo-ui-components-multi-input.d.ts +283 -194
- package/types/testgorilla-tgo-ui-components-navbar.d.ts +326 -208
- package/types/testgorilla-tgo-ui-components-overflow-menu.d.ts +276 -204
- package/types/testgorilla-tgo-ui-components-page-header.d.ts +67 -50
- package/types/testgorilla-tgo-ui-components-paginator.d.ts +103 -70
- package/types/testgorilla-tgo-ui-components-password-criteria.d.ts +67 -58
- package/types/testgorilla-tgo-ui-components-password-strength.d.ts +66 -57
- package/types/testgorilla-tgo-ui-components-phone-input.d.ts +217 -175
- package/types/testgorilla-tgo-ui-components-popover.d.ts +94 -53
- package/types/testgorilla-tgo-ui-components-popup-tip.d.ts +81 -44
- package/types/testgorilla-tgo-ui-components-progress-bar.d.ts +115 -84
- package/types/testgorilla-tgo-ui-components-prompt.d.ts +315 -219
- package/types/testgorilla-tgo-ui-components-radial-progress.d.ts +146 -107
- package/types/testgorilla-tgo-ui-components-radio-button.d.ts +296 -219
- package/types/testgorilla-tgo-ui-components-rating.d.ts +134 -95
- package/types/testgorilla-tgo-ui-components-scale-table.d.ts +67 -47
- package/types/testgorilla-tgo-ui-components-scale.d.ts +91 -66
- package/types/testgorilla-tgo-ui-components-segmented-bar.d.ts +118 -89
- package/types/testgorilla-tgo-ui-components-segmented-button.d.ts +107 -80
- package/types/testgorilla-tgo-ui-components-segmented-toggle.d.ts +138 -105
- package/types/testgorilla-tgo-ui-components-selectable-card.d.ts +90 -56
- package/types/testgorilla-tgo-ui-components-side-navigation.d.ts +183 -107
- package/types/testgorilla-tgo-ui-components-side-panel.d.ts +156 -145
- package/types/testgorilla-tgo-ui-components-side-sheet.d.ts +98 -89
- package/types/testgorilla-tgo-ui-components-skeleton.d.ts +50 -33
- package/types/testgorilla-tgo-ui-components-slider.d.ts +278 -198
- package/types/testgorilla-tgo-ui-components-snackbar.d.ts +211 -159
- package/types/testgorilla-tgo-ui-components-spider-chart.d.ts +140 -121
- package/types/testgorilla-tgo-ui-components-spinner.d.ts +93 -72
- package/types/testgorilla-tgo-ui-components-stepper.d.ts +480 -338
- package/types/testgorilla-tgo-ui-components-table.d.ts +280 -233
- package/types/testgorilla-tgo-ui-components-tabs.d.ts +282 -183
- package/types/testgorilla-tgo-ui-components-tag.d.ts +266 -193
- package/types/testgorilla-tgo-ui-components-toggle.d.ts +180 -132
- package/types/testgorilla-tgo-ui-components-tooltip.d.ts +142 -105
- package/types/testgorilla-tgo-ui-components-universal-skills.d.ts +165 -144
- package/types/testgorilla-tgo-ui-components-validation-error.d.ts +70 -51
- package/types/testgorilla-tgo-ui-components-write-with-ai.d.ts +210 -133
- package/types/testgorilla-tgo-ui.d.ts +52 -45
|
@@ -1,99 +1,138 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { EventEmitter, PipeTransform } from
|
|
3
|
-
import { ApplicationTheme } from
|
|
4
|
-
|
|
5
|
-
import * as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EventEmitter, PipeTransform } from "@angular/core";
|
|
3
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/material/input";
|
|
6
|
+
export type RatingComponentTheme = 'stars' | 'block';
|
|
7
|
+
export declare class RatingComponent {
|
|
8
|
+
private readonly defaultAppTheme;
|
|
9
|
+
private readonly MIN_LENGTH;
|
|
10
|
+
private readonly DEFAULT_LENGTH;
|
|
11
|
+
protected items: number[];
|
|
12
|
+
protected hoverIndex: number;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* Defines the application theme where accordion is used
|
|
16
|
+
*
|
|
17
|
+
* @type {ApplicationTheme}
|
|
18
|
+
* @memberof AccordionComponent
|
|
19
|
+
*/
|
|
20
|
+
applicationTheme: ApplicationTheme$1;
|
|
21
|
+
/**
|
|
22
|
+
* The value representing the rating.
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof RatingComponent
|
|
25
|
+
*/
|
|
26
|
+
value: number;
|
|
27
|
+
/**
|
|
28
|
+
* The theme of the rating component. Defaults "block".
|
|
29
|
+
* @type {RatingComponentTheme}
|
|
30
|
+
* @memberof RatingComponent
|
|
31
|
+
*/
|
|
32
|
+
theme: RatingComponentTheme;
|
|
33
|
+
/**
|
|
34
|
+
* A flag indicating whether the rating component is disabled.
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
* @memberof RatingComponent
|
|
37
|
+
*/
|
|
38
|
+
disabled: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* A string representing the ARIA label for accessibility.
|
|
41
|
+
* This label is used to provide an accessible name for the input element.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof RatingComponent
|
|
44
|
+
*/
|
|
45
|
+
ariaLabel: string;
|
|
46
|
+
testId: string | null;
|
|
47
|
+
itemTestId(item: number): string | null;
|
|
48
|
+
/**
|
|
49
|
+
* A string representing the ARIA requirement for accessibility.
|
|
50
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof RatingComponent
|
|
53
|
+
*/
|
|
54
|
+
ariaRequired: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The width of the rating bar.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof RatingComponent
|
|
59
|
+
*/
|
|
60
|
+
barWidth: number;
|
|
61
|
+
/**
|
|
62
|
+
* A flag indicating whether the rating can be unselected by clicking on the same value.
|
|
63
|
+
* When false, clicking on the same value will not change the rating.
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof RatingComponent
|
|
66
|
+
*/
|
|
67
|
+
canUnselect: boolean;
|
|
68
|
+
set length(length: number);
|
|
69
|
+
valueChange: EventEmitter<number>;
|
|
70
|
+
constructor(defaultAppTheme: ApplicationTheme$1);
|
|
71
|
+
protected select(index: number): void;
|
|
72
|
+
protected onHover(index: number): void;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponent, [{
|
|
74
|
+
optional: true;
|
|
75
|
+
}]>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "ui-rating", never, {
|
|
77
|
+
"applicationTheme": {
|
|
78
|
+
"alias": "applicationTheme";
|
|
79
|
+
"required": false;
|
|
80
|
+
};
|
|
81
|
+
"value": {
|
|
82
|
+
"alias": "value";
|
|
83
|
+
"required": false;
|
|
84
|
+
};
|
|
85
|
+
"theme": {
|
|
86
|
+
"alias": "theme";
|
|
87
|
+
"required": false;
|
|
88
|
+
};
|
|
89
|
+
"disabled": {
|
|
90
|
+
"alias": "disabled";
|
|
91
|
+
"required": false;
|
|
92
|
+
};
|
|
93
|
+
"ariaLabel": {
|
|
94
|
+
"alias": "ariaLabel";
|
|
95
|
+
"required": false;
|
|
96
|
+
};
|
|
97
|
+
"testId": {
|
|
98
|
+
"alias": "testId";
|
|
99
|
+
"required": false;
|
|
100
|
+
};
|
|
101
|
+
"ariaRequired": {
|
|
102
|
+
"alias": "ariaRequired";
|
|
103
|
+
"required": false;
|
|
104
|
+
};
|
|
105
|
+
"barWidth": {
|
|
106
|
+
"alias": "barWidth";
|
|
107
|
+
"required": false;
|
|
108
|
+
};
|
|
109
|
+
"canUnselect": {
|
|
110
|
+
"alias": "canUnselect";
|
|
111
|
+
"required": false;
|
|
112
|
+
};
|
|
113
|
+
"length": {
|
|
114
|
+
"alias": "length";
|
|
115
|
+
"required": false;
|
|
116
|
+
};
|
|
117
|
+
}, {
|
|
118
|
+
"valueChange": "valueChange";
|
|
119
|
+
}, never, never, true, never>;
|
|
77
120
|
}
|
|
78
|
-
|
|
79
121
|
declare class HalfStarPipe implements PipeTransform {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
122
|
+
/**
|
|
123
|
+
* @description Used to indicate whether display half-star icon.
|
|
124
|
+
* Returns true if the rounded value of the current element
|
|
125
|
+
* is equal to it's index, and value is not integer (e.g. index = 4, value = 3.5),
|
|
126
|
+
* @param index the index of the current element
|
|
127
|
+
* @param value the value of the current element
|
|
128
|
+
*/
|
|
129
|
+
transform(index: number, value: number): boolean;
|
|
130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HalfStarPipe, never>;
|
|
131
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HalfStarPipe, "halfStar", true>;
|
|
90
132
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RatingComponentModule>;
|
|
133
|
+
export declare class RatingComponentModule {
|
|
134
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponentModule, never>;
|
|
135
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RatingComponentModule, never, [typeof i1.CommonModule, typeof i2.MatInputModule, typeof RatingComponent, typeof HalfStarPipe], [typeof RatingComponent]>;
|
|
136
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RatingComponentModule>;
|
|
96
137
|
}
|
|
97
|
-
|
|
98
|
-
export { RatingComponent, RatingComponentModule };
|
|
99
|
-
export type { RatingComponentTheme };
|
|
138
|
+
export { ApplicationTheme };
|
|
@@ -1,49 +1,69 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
value?: number;
|
|
8
|
-
text: string;
|
|
1
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface ScaleItem {
|
|
4
|
+
length?: number;
|
|
5
|
+
value?: number;
|
|
6
|
+
text: string;
|
|
9
7
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
8
|
+
export declare class ScaleTableComponent {
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* Defines the application theme
|
|
12
|
+
*
|
|
13
|
+
* @type {ApplicationTheme}
|
|
14
|
+
* @memberof ScaleTableComponent
|
|
15
|
+
*/
|
|
16
|
+
applicationTheme: import("@angular/core").InputSignal<ApplicationTheme$1>;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* Defines items with their text and it's values
|
|
20
|
+
*
|
|
21
|
+
* @type {ScaleTable}
|
|
22
|
+
* @memberof ScaleTableComponent
|
|
23
|
+
*/
|
|
24
|
+
scaleItems: import("@angular/core").ModelSignal<ScaleItem[]>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* Defines description of scales
|
|
28
|
+
*
|
|
29
|
+
* @type {string[]}
|
|
30
|
+
* @memberof ScaleTableComponent
|
|
31
|
+
*/
|
|
32
|
+
labels: import("@angular/core").InputSignal<string[]>;
|
|
33
|
+
hideBetterExperience: import("@angular/core").ModelSignal<boolean>;
|
|
34
|
+
scaleItemChange: import("@angular/core").OutputEmitterRef<{
|
|
35
|
+
item: ScaleItem;
|
|
36
|
+
label: string;
|
|
37
|
+
}>;
|
|
38
|
+
scaleCount: import("@angular/core").Signal<number>;
|
|
39
|
+
protected readonly translationContext = "SCALE_TABLE.";
|
|
40
|
+
select(scaleItemIndex: number, scaleIndex: number): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleTableComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScaleTableComponent, "ui-scale-table", never, {
|
|
43
|
+
"applicationTheme": {
|
|
44
|
+
"alias": "applicationTheme";
|
|
45
|
+
"required": false;
|
|
46
|
+
"isSignal": true;
|
|
47
|
+
};
|
|
48
|
+
"scaleItems": {
|
|
49
|
+
"alias": "scaleItems";
|
|
50
|
+
"required": true;
|
|
51
|
+
"isSignal": true;
|
|
52
|
+
};
|
|
53
|
+
"labels": {
|
|
54
|
+
"alias": "labels";
|
|
55
|
+
"required": true;
|
|
56
|
+
"isSignal": true;
|
|
57
|
+
};
|
|
58
|
+
"hideBetterExperience": {
|
|
59
|
+
"alias": "hideBetterExperience";
|
|
60
|
+
"required": false;
|
|
61
|
+
"isSignal": true;
|
|
62
|
+
};
|
|
63
|
+
}, {
|
|
64
|
+
"scaleItems": "scaleItemsChange";
|
|
65
|
+
"hideBetterExperience": "hideBetterExperienceChange";
|
|
66
|
+
"scaleItemChange": "scaleItemChange";
|
|
67
|
+
}, never, never, true, never>;
|
|
46
68
|
}
|
|
47
|
-
|
|
48
|
-
export { ScaleTableComponent };
|
|
49
|
-
export type { ScaleItem };
|
|
69
|
+
export { ApplicationTheme };
|
|
@@ -1,68 +1,93 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { ApplicationTheme } from
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from "@angular/core";
|
|
3
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export declare class ScaleComponent implements OnInit, OnChanges {
|
|
6
|
+
private readonly defaultAppTheme;
|
|
7
|
+
private readonly MIN_LENGTH;
|
|
8
|
+
private readonly DEFAULT_LENGTH;
|
|
9
|
+
protected items: number[];
|
|
10
|
+
scaleItems: QueryList<ElementRef<HTMLElement>>;
|
|
11
|
+
/**
|
|
12
|
+
* The value representing the selected item of the scale.
|
|
13
|
+
* @type {number}
|
|
14
|
+
* @memberof ScaleComponent
|
|
15
|
+
*/
|
|
16
|
+
selectedIndex: number | null;
|
|
17
|
+
/**
|
|
18
|
+
* The max number of items in the scale.
|
|
19
|
+
* @type {number}
|
|
20
|
+
* @memberof ScaleComponent
|
|
21
|
+
*/
|
|
22
|
+
set length(length: number);
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* Defines the application theme
|
|
26
|
+
*
|
|
27
|
+
* @type {ApplicationTheme}
|
|
28
|
+
* @memberof ScaleComponent
|
|
29
|
+
*/
|
|
30
|
+
applicationTheme: ApplicationTheme$1;
|
|
31
|
+
/**
|
|
32
|
+
* Color of the option hover.
|
|
33
|
+
* Defaults to Test Gorilla primary color.
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof ScaleComponent
|
|
37
|
+
*/
|
|
38
|
+
companyColor: string;
|
|
39
|
+
testId: string | null;
|
|
40
|
+
ariaLabel: string;
|
|
41
|
+
itemTestId(item: number): string | null;
|
|
42
|
+
selectedIndexChange: EventEmitter<number>;
|
|
43
|
+
styles: import("@angular/core").WritableSignal<{
|
|
44
|
+
'--hover-color': string;
|
|
45
|
+
'--selected-color': string;
|
|
46
|
+
}>;
|
|
47
|
+
constructor(defaultAppTheme: ApplicationTheme$1);
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
50
|
+
protected select(index: number): void;
|
|
51
|
+
onKeyDown(event: KeyboardEvent, index: number): void;
|
|
52
|
+
focusItem(index: number): void;
|
|
53
|
+
getAriaLabel(index: number): string;
|
|
54
|
+
private setCompanyColor;
|
|
55
|
+
onFocus(item: number): void;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleComponent, [{
|
|
57
|
+
optional: true;
|
|
58
|
+
}]>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScaleComponent, "ui-scale", never, {
|
|
60
|
+
"selectedIndex": {
|
|
61
|
+
"alias": "selectedIndex";
|
|
62
|
+
"required": false;
|
|
63
|
+
};
|
|
64
|
+
"length": {
|
|
65
|
+
"alias": "length";
|
|
66
|
+
"required": false;
|
|
67
|
+
};
|
|
68
|
+
"applicationTheme": {
|
|
69
|
+
"alias": "applicationTheme";
|
|
70
|
+
"required": false;
|
|
71
|
+
};
|
|
72
|
+
"companyColor": {
|
|
73
|
+
"alias": "companyColor";
|
|
74
|
+
"required": false;
|
|
75
|
+
};
|
|
76
|
+
"testId": {
|
|
77
|
+
"alias": "testId";
|
|
78
|
+
"required": false;
|
|
79
|
+
};
|
|
80
|
+
"ariaLabel": {
|
|
81
|
+
"alias": "ariaLabel";
|
|
82
|
+
"required": false;
|
|
83
|
+
};
|
|
84
|
+
}, {
|
|
85
|
+
"selectedIndexChange": "selectedIndexChange";
|
|
86
|
+
}, never, never, true, never>;
|
|
60
87
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScaleComponentModule>;
|
|
88
|
+
export declare class ScaleComponentModule {
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleComponentModule, never>;
|
|
90
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScaleComponentModule, never, [typeof i1.CommonModule, typeof ScaleComponent], [typeof ScaleComponent]>;
|
|
91
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScaleComponentModule>;
|
|
66
92
|
}
|
|
67
|
-
|
|
68
|
-
export { ScaleComponent, ScaleComponentModule };
|
|
93
|
+
export { ApplicationTheme };
|