@testgorilla/tgo-ui 11.22.3 → 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 -1795
- 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/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,246 +1,340 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import * as i5 from
|
|
4
|
-
import { ControlValueAccessor, NgControl } from
|
|
5
|
-
import { MatOption } from
|
|
6
|
-
import * as i2 from
|
|
7
|
-
import { FloatLabelType } from
|
|
8
|
-
import * as i7 from
|
|
9
|
-
import { MatSelect, MatSelectChange } from
|
|
10
|
-
import * as i8 from
|
|
11
|
-
import { ApplicationTheme } from
|
|
12
|
-
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
sectionTitle?: string;
|
|
24
|
-
isAISuggested?: boolean;
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { AfterViewInit, DoCheck, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
3
|
+
import * as i5 from "@angular/forms";
|
|
4
|
+
import { ControlValueAccessor, NgControl } from "@angular/forms";
|
|
5
|
+
import { MatOption } from "@angular/material/core";
|
|
6
|
+
import * as i2 from "@angular/material/form-field";
|
|
7
|
+
import { FloatLabelType } from "@angular/material/form-field";
|
|
8
|
+
import * as i7 from "@angular/material/select";
|
|
9
|
+
import { MatSelect, MatSelectChange } from "@angular/material/select";
|
|
10
|
+
import * as i8 from "@testgorilla/tgo-ui/components/core";
|
|
11
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
12
|
+
import * as i4 from "@testgorilla/tgo-ui/components/icon";
|
|
13
|
+
import { IconName } from "@testgorilla/tgo-ui/components/icon";
|
|
14
|
+
import * as i1 from "@angular/common";
|
|
15
|
+
import * as i3 from "@angular/material/input";
|
|
16
|
+
import * as i6 from "@testgorilla/tgo-ui/components/button";
|
|
17
|
+
import * as i9 from "@testgorilla/tgo-ui/components/validation-error";
|
|
18
|
+
export type OptionType = {
|
|
19
|
+
value?: string;
|
|
20
|
+
displayValue?: string;
|
|
21
|
+
sectionTitle?: string;
|
|
22
|
+
isAISuggested?: boolean;
|
|
25
23
|
} & Record<string, unknown>;
|
|
26
|
-
|
|
27
24
|
/** The dropdown's form value: a single option value, or an array for multi-select. */
|
|
28
25
|
type DropdownValue = string | string[] | null | undefined;
|
|
29
|
-
declare class DropdownComponent implements OnInit, ControlValueAccessor, DoCheck, OnChanges, AfterViewInit {
|
|
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
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
26
|
+
export declare class DropdownComponent implements OnInit, ControlValueAccessor, DoCheck, OnChanges, AfterViewInit {
|
|
27
|
+
class: string;
|
|
28
|
+
findValueByValueField: (item: OptionType) => boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Text content will be applied to the input element if present.
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DropdownComponent
|
|
34
|
+
*/
|
|
35
|
+
label?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Icon to display alongside the label
|
|
38
|
+
*
|
|
39
|
+
* @type {IconName}
|
|
40
|
+
* @memberof DropdownComponent
|
|
41
|
+
*/
|
|
42
|
+
labelIcon?: IconName;
|
|
43
|
+
/**
|
|
44
|
+
* Indicates if this field is filled by AI
|
|
45
|
+
*
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof DropdownComponent
|
|
48
|
+
*/
|
|
49
|
+
isAIVariant: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Input name attribute
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof DropdownComponent
|
|
55
|
+
*/
|
|
56
|
+
name: string;
|
|
57
|
+
/**
|
|
58
|
+
* Placeholder to be shown if no value has been selected.
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof DropdownComponent
|
|
62
|
+
*/
|
|
63
|
+
placeholder: string;
|
|
64
|
+
/**
|
|
65
|
+
* Unique id of the element.
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof DropdownComponent
|
|
69
|
+
*/
|
|
70
|
+
id?: string | undefined;
|
|
71
|
+
testId: string | null;
|
|
72
|
+
ariaLabel: string;
|
|
73
|
+
/**
|
|
74
|
+
* Input value
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof DropdownComponent
|
|
78
|
+
*/
|
|
79
|
+
value?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Whether the component is in an error state.
|
|
82
|
+
*
|
|
83
|
+
* @type {string[]}
|
|
84
|
+
* @memberof DropdownComponent
|
|
85
|
+
*/
|
|
86
|
+
errors?: string[];
|
|
87
|
+
/**
|
|
88
|
+
* Whether the component is disabled.
|
|
89
|
+
* Default: false.
|
|
90
|
+
*
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof DropdownComponent
|
|
93
|
+
*/
|
|
94
|
+
disabled: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* List of options.
|
|
97
|
+
*
|
|
98
|
+
* @type {OptionType}
|
|
99
|
+
* @memberof DropdownComponent
|
|
100
|
+
*/
|
|
101
|
+
valueList: OptionType[];
|
|
102
|
+
/**
|
|
103
|
+
* Whether the user should be allowed to clear the values.
|
|
104
|
+
* Default: true.
|
|
105
|
+
*
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof DropdownComponent
|
|
108
|
+
*/
|
|
109
|
+
allowClear: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* This will allow the user to select multiple values at once.
|
|
112
|
+
* Default: true.
|
|
113
|
+
*
|
|
114
|
+
* @type {boolean}
|
|
115
|
+
* @memberof DropdownComponent
|
|
116
|
+
*/
|
|
117
|
+
allowMultipleSelection?: boolean | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Whether the component is required.
|
|
120
|
+
* Default: false.
|
|
121
|
+
*
|
|
122
|
+
* @type {boolean}
|
|
123
|
+
* @memberof DropdownComponent
|
|
124
|
+
*/
|
|
125
|
+
required: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Show reserved content below form field
|
|
128
|
+
* @property showBottomContent
|
|
129
|
+
* @type {boolean}
|
|
130
|
+
* @memberof DropdownComponent
|
|
131
|
+
*/
|
|
132
|
+
showBottomContent: boolean;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* Defines the application theme
|
|
136
|
+
*
|
|
137
|
+
* @type {ApplicationTheme}
|
|
138
|
+
* @memberof DropdownComponent
|
|
139
|
+
*/
|
|
140
|
+
applicationTheme: ApplicationTheme$1;
|
|
141
|
+
/**
|
|
142
|
+
* Hide in build errors for Reactive Forms
|
|
143
|
+
*
|
|
144
|
+
* @type {number}
|
|
145
|
+
* @memberof DropdownComponent
|
|
146
|
+
*/
|
|
147
|
+
hideBuiltInErrors: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Hide label in errors
|
|
150
|
+
*
|
|
151
|
+
* @type {number}
|
|
152
|
+
* @memberof DropdownComponent
|
|
153
|
+
*/
|
|
154
|
+
hideLabelInErrors: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* @property textField
|
|
157
|
+
* @description The field to be used as the display text in the dropdown.
|
|
158
|
+
* @memberof DropdownComponent
|
|
159
|
+
*/
|
|
160
|
+
textField: string;
|
|
161
|
+
/**
|
|
162
|
+
* @property valueField
|
|
163
|
+
* @description The field to be used as the value in the dropdown.
|
|
164
|
+
* @memberof DropdownComponent
|
|
165
|
+
*/
|
|
166
|
+
valueField: string;
|
|
167
|
+
hasError: boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Color of the option hover.
|
|
170
|
+
* Defaults to Test Gorilla primary color.
|
|
171
|
+
*
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof DropdownComponent
|
|
174
|
+
*/
|
|
175
|
+
companyColor: string;
|
|
176
|
+
/**
|
|
177
|
+
* Class to be applied to the panel.
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof DropdownComponent
|
|
180
|
+
*/
|
|
181
|
+
panelClass: string;
|
|
182
|
+
closed: EventEmitter<void>;
|
|
183
|
+
opened: EventEmitter<void>;
|
|
184
|
+
matSelect: MatSelect;
|
|
185
|
+
customOptionTemplate: TemplateRef<unknown> | null;
|
|
186
|
+
customSelectedOptionTemplate: TemplateRef<unknown> | null;
|
|
187
|
+
onTabPress(): void;
|
|
188
|
+
/**
|
|
189
|
+
* @ignore
|
|
190
|
+
*/
|
|
191
|
+
onChange: (value: DropdownValue) => void;
|
|
192
|
+
/**
|
|
193
|
+
* @ignore
|
|
194
|
+
*/
|
|
195
|
+
onTouch: () => void;
|
|
196
|
+
private readonly defaultAppTheme;
|
|
197
|
+
private readonly cdr;
|
|
198
|
+
ngControl: NgControl | null;
|
|
199
|
+
private readonly renderer2;
|
|
200
|
+
private readonly focusMonitor;
|
|
201
|
+
private readonly destroyRef;
|
|
202
|
+
private readonly ngZone;
|
|
203
|
+
constructor();
|
|
204
|
+
floatLabel: FloatLabelType;
|
|
205
|
+
classError: string;
|
|
206
|
+
errorsLength: boolean;
|
|
207
|
+
showCheck: boolean;
|
|
208
|
+
optionSelected: MatOption | null;
|
|
209
|
+
keyboardFocused: import("@angular/core").WritableSignal<boolean>;
|
|
210
|
+
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
211
|
+
/**
|
|
212
|
+
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
213
|
+
* to display validation errors that might happen (e.g. required)
|
|
214
|
+
*/
|
|
215
|
+
ngDoCheck(): void;
|
|
216
|
+
ngOnInit(): void;
|
|
217
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
218
|
+
ngAfterViewInit(): void;
|
|
219
|
+
clearValue(event: Event): void;
|
|
220
|
+
onChangeOption(event: MatSelectChange): void;
|
|
221
|
+
setErrorsLength(): boolean;
|
|
222
|
+
writeValue(value?: string): void;
|
|
223
|
+
registerOnChange(fn: (value: DropdownValue) => void): void;
|
|
224
|
+
registerOnTouched(fn: () => void): void;
|
|
225
|
+
setDisabledState(isDisabled: boolean): void;
|
|
226
|
+
onClosed(): void;
|
|
227
|
+
onOpened(): void;
|
|
228
|
+
setStyleVariable(): void;
|
|
229
|
+
onKeydown($event: KeyboardEvent): void;
|
|
230
|
+
private handleArrowNavigation;
|
|
231
|
+
private handleSelectionKey;
|
|
232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
233
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ui-dropdown", never, {
|
|
234
|
+
"label": {
|
|
235
|
+
"alias": "label";
|
|
236
|
+
"required": false;
|
|
237
|
+
};
|
|
238
|
+
"labelIcon": {
|
|
239
|
+
"alias": "labelIcon";
|
|
240
|
+
"required": false;
|
|
241
|
+
};
|
|
242
|
+
"isAIVariant": {
|
|
243
|
+
"alias": "isAIVariant";
|
|
244
|
+
"required": false;
|
|
245
|
+
};
|
|
246
|
+
"name": {
|
|
247
|
+
"alias": "name";
|
|
248
|
+
"required": false;
|
|
249
|
+
};
|
|
250
|
+
"placeholder": {
|
|
251
|
+
"alias": "placeholder";
|
|
252
|
+
"required": false;
|
|
253
|
+
};
|
|
254
|
+
"id": {
|
|
255
|
+
"alias": "id";
|
|
256
|
+
"required": false;
|
|
257
|
+
};
|
|
258
|
+
"testId": {
|
|
259
|
+
"alias": "testId";
|
|
260
|
+
"required": false;
|
|
261
|
+
};
|
|
262
|
+
"ariaLabel": {
|
|
263
|
+
"alias": "ariaLabel";
|
|
264
|
+
"required": false;
|
|
265
|
+
};
|
|
266
|
+
"value": {
|
|
267
|
+
"alias": "value";
|
|
268
|
+
"required": false;
|
|
269
|
+
};
|
|
270
|
+
"errors": {
|
|
271
|
+
"alias": "errors";
|
|
272
|
+
"required": false;
|
|
273
|
+
};
|
|
274
|
+
"disabled": {
|
|
275
|
+
"alias": "disabled";
|
|
276
|
+
"required": false;
|
|
277
|
+
};
|
|
278
|
+
"valueList": {
|
|
279
|
+
"alias": "valueList";
|
|
280
|
+
"required": false;
|
|
281
|
+
};
|
|
282
|
+
"allowClear": {
|
|
283
|
+
"alias": "allowClear";
|
|
284
|
+
"required": false;
|
|
285
|
+
};
|
|
286
|
+
"allowMultipleSelection": {
|
|
287
|
+
"alias": "allowMultipleSelection";
|
|
288
|
+
"required": false;
|
|
289
|
+
};
|
|
290
|
+
"required": {
|
|
291
|
+
"alias": "required";
|
|
292
|
+
"required": false;
|
|
293
|
+
};
|
|
294
|
+
"showBottomContent": {
|
|
295
|
+
"alias": "showBottomContent";
|
|
296
|
+
"required": false;
|
|
297
|
+
};
|
|
298
|
+
"applicationTheme": {
|
|
299
|
+
"alias": "applicationTheme";
|
|
300
|
+
"required": false;
|
|
301
|
+
};
|
|
302
|
+
"hideBuiltInErrors": {
|
|
303
|
+
"alias": "hideBuiltInErrors";
|
|
304
|
+
"required": false;
|
|
305
|
+
};
|
|
306
|
+
"hideLabelInErrors": {
|
|
307
|
+
"alias": "hideLabelInErrors";
|
|
308
|
+
"required": false;
|
|
309
|
+
};
|
|
310
|
+
"textField": {
|
|
311
|
+
"alias": "textField";
|
|
312
|
+
"required": false;
|
|
313
|
+
};
|
|
314
|
+
"valueField": {
|
|
315
|
+
"alias": "valueField";
|
|
316
|
+
"required": false;
|
|
317
|
+
};
|
|
318
|
+
"hasError": {
|
|
319
|
+
"alias": "hasError";
|
|
320
|
+
"required": false;
|
|
321
|
+
};
|
|
322
|
+
"companyColor": {
|
|
323
|
+
"alias": "companyColor";
|
|
324
|
+
"required": false;
|
|
325
|
+
};
|
|
326
|
+
"panelClass": {
|
|
327
|
+
"alias": "panelClass";
|
|
328
|
+
"required": false;
|
|
329
|
+
};
|
|
330
|
+
}, {
|
|
331
|
+
"closed": "closed";
|
|
332
|
+
"opened": "opened";
|
|
333
|
+
}, ["customOptionTemplate", "customSelectedOptionTemplate"], never, true, never>;
|
|
237
334
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DropdownComponentModule>;
|
|
335
|
+
export declare class DropdownComponentModule {
|
|
336
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponentModule, never>;
|
|
337
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownComponentModule, never, [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.MatInputModule, typeof i4.IconComponentModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ButtonComponentModule, typeof i7.MatSelectModule, typeof i8.UiTranslatePipe, typeof i9.ValidationErrorModule, typeof i8.HasValidationErrorPipe, typeof DropdownComponent], [typeof DropdownComponent]>;
|
|
338
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DropdownComponentModule>;
|
|
243
339
|
}
|
|
244
|
-
|
|
245
|
-
export { DropdownComponent, DropdownComponentModule };
|
|
246
|
-
export type { OptionType };
|
|
340
|
+
export { ApplicationTheme };
|