@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,182 +1,224 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import * as i3 from
|
|
4
|
-
import { ControlValueAccessor, NgControl,
|
|
5
|
-
import {
|
|
6
|
-
import * as i10 from
|
|
7
|
-
import { ApplicationTheme } from
|
|
8
|
-
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
import * as i11 from '@testgorilla/tgo-ui/components/validation-error';
|
|
18
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { DoCheck, ElementRef, OnDestroy, OnInit, PipeTransform } from "@angular/core";
|
|
3
|
+
import * as i3 from "@angular/forms";
|
|
4
|
+
import { ControlValueAccessor, NgControl, UntypedFormControl, UntypedFormGroup } from "@angular/forms";
|
|
5
|
+
import { BehaviorSubject, Observable, Subject } from "rxjs";
|
|
6
|
+
import * as i10 from "@testgorilla/tgo-ui/components/core";
|
|
7
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
8
|
+
import * as i1 from "@angular/common";
|
|
9
|
+
import * as i2 from "@angular/material/progress-spinner";
|
|
10
|
+
import * as i4 from "@angular/material/select";
|
|
11
|
+
import * as i5 from "@angular/material/icon";
|
|
12
|
+
import * as i6 from "@angular/material/input";
|
|
13
|
+
import * as i7 from "ngx-mat-select-search";
|
|
14
|
+
import * as i8 from "@testgorilla/tgo-ui/components/icon";
|
|
15
|
+
import * as i9 from "@testgorilla/tgo-ui/components/spinner";
|
|
16
|
+
import * as i11 from "@testgorilla/tgo-ui/components/validation-error";
|
|
19
17
|
/**
|
|
20
18
|
* Country interface ISO 3166 (minus numeric code and alpha3Code)
|
|
21
19
|
*/
|
|
22
|
-
interface UICountry {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
export interface UICountry {
|
|
21
|
+
name: string;
|
|
22
|
+
alpha2Code: string;
|
|
23
|
+
callingCode: string;
|
|
26
24
|
}
|
|
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
|
-
|
|
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
|
-
|
|
25
|
+
export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlValueAccessor, DoCheck {
|
|
26
|
+
/**
|
|
27
|
+
* Phone number
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof PhoneInputComponent
|
|
31
|
+
*/
|
|
32
|
+
set value(value: string);
|
|
33
|
+
get value(): string;
|
|
34
|
+
/**
|
|
35
|
+
* Country list for select
|
|
36
|
+
*
|
|
37
|
+
* @type {UICountry[]}
|
|
38
|
+
* @memberof PhoneInputComponent
|
|
39
|
+
*/
|
|
40
|
+
set countryList(countryList: UICountry[]);
|
|
41
|
+
/**
|
|
42
|
+
* Placeholder input
|
|
43
|
+
*
|
|
44
|
+
* @type {text}
|
|
45
|
+
* @memberof PhoneInputComponent
|
|
46
|
+
*/
|
|
47
|
+
set placeholder(value: string);
|
|
48
|
+
get placeholder(): string;
|
|
49
|
+
/**
|
|
50
|
+
* Determines if input is disabled
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof PhoneInputComponent
|
|
54
|
+
*/
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Input is required or not
|
|
58
|
+
*
|
|
59
|
+
* @type {boolean}
|
|
60
|
+
* @memberof PhoneInputComponent
|
|
61
|
+
*/
|
|
62
|
+
required: boolean;
|
|
63
|
+
testId: string | null;
|
|
64
|
+
countryAriaLabel: string;
|
|
65
|
+
get countrySelectTestId(): string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* Defines the application theme
|
|
69
|
+
*
|
|
70
|
+
* @type {ApplicationTheme}
|
|
71
|
+
* @memberof PhoneInputComponent
|
|
72
|
+
*/
|
|
73
|
+
applicationTheme: ApplicationTheme$1;
|
|
74
|
+
/**
|
|
75
|
+
* Indicator of the phone input width
|
|
76
|
+
* @property fullWidth
|
|
77
|
+
* @type {boolean}
|
|
78
|
+
* @memberof PhoneInputComponent
|
|
79
|
+
*/
|
|
80
|
+
fullWidth: boolean;
|
|
81
|
+
_errors: string[];
|
|
82
|
+
/**
|
|
83
|
+
* Input field errors
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PhoneInputComponent
|
|
87
|
+
*/
|
|
88
|
+
set errors(errors: string[]);
|
|
89
|
+
/**
|
|
90
|
+
* Hide in build errors for Reactive Forms
|
|
91
|
+
*
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof PhoneInputComponent
|
|
94
|
+
*/
|
|
95
|
+
hideBuiltInErrors: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Hide label in errors
|
|
98
|
+
*
|
|
99
|
+
* @type {number}
|
|
100
|
+
* @memberof PhoneInputComponent
|
|
101
|
+
*/
|
|
102
|
+
hideLabelInErrors: boolean;
|
|
103
|
+
static nextId: number;
|
|
104
|
+
private readonly countries;
|
|
105
|
+
protected countries$: Observable<UICountry[]>;
|
|
106
|
+
ngControl: NgControl | null;
|
|
107
|
+
private readonly errorMatcher;
|
|
108
|
+
private readonly fb;
|
|
109
|
+
private readonly focusMonitor;
|
|
110
|
+
private readonly ref;
|
|
111
|
+
private readonly defaultAppTheme;
|
|
112
|
+
form: UntypedFormGroup;
|
|
113
|
+
protected controlType: string;
|
|
114
|
+
protected userAriaDescribedBy?: string;
|
|
115
|
+
protected loadCountries$: BehaviorSubject<UICountry[]>;
|
|
116
|
+
protected countryCode: BehaviorSubject<string>;
|
|
117
|
+
protected stateChanges: Subject<void>;
|
|
118
|
+
protected focused: boolean;
|
|
119
|
+
protected selectFilterCtrl: UntypedFormControl;
|
|
120
|
+
protected errorsLength: boolean;
|
|
121
|
+
protected readonly countryFlagSrc = "assets/svg-country-flags/";
|
|
122
|
+
input: ElementRef<HTMLElement>;
|
|
123
|
+
select: ElementRef<HTMLElement>;
|
|
124
|
+
id: string;
|
|
125
|
+
get shouldLabelFloat(): boolean;
|
|
126
|
+
describedBy: string;
|
|
127
|
+
get empty(): boolean;
|
|
128
|
+
get errorState(): boolean;
|
|
129
|
+
private initialValue;
|
|
130
|
+
private readonly DEFAULT_COUNTRY_CODE;
|
|
131
|
+
private internalPlaceholder;
|
|
132
|
+
protected selectedCountry: UICountry;
|
|
133
|
+
private readonly destroyRef;
|
|
134
|
+
constructor();
|
|
135
|
+
/**
|
|
136
|
+
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
137
|
+
* to display validation errors that might happen (e.g. required)
|
|
138
|
+
*/
|
|
139
|
+
ngDoCheck(): void;
|
|
140
|
+
ngOnInit(): void;
|
|
141
|
+
setErrorsLength(): boolean;
|
|
142
|
+
setDescribedByIds(ids: string[]): void;
|
|
143
|
+
onChange: (value: string) => void;
|
|
144
|
+
onTouch: () => void;
|
|
145
|
+
writeValue(phoneNumber: string): void;
|
|
146
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
147
|
+
registerOnTouched(fn: () => void): void;
|
|
148
|
+
setDisabledState(isDisabled: boolean): void;
|
|
149
|
+
ngOnDestroy(): void;
|
|
150
|
+
onOptionsSelected(value: UICountry): void;
|
|
151
|
+
onInput(value: string): void;
|
|
152
|
+
filteredCountryTrackByMethod(index: number, el: UICountry): string;
|
|
153
|
+
private setCountry;
|
|
154
|
+
private getNumberWithCountryCode;
|
|
155
|
+
private subscribeToFocusEvents;
|
|
156
|
+
private preSelectCountry;
|
|
157
|
+
private getCountryByAlpha2Code;
|
|
158
|
+
private getCountryByCallingCode;
|
|
159
|
+
private loadCountries;
|
|
160
|
+
disableClick(ev: Event): void;
|
|
161
|
+
trackByFn: (index: number, value: string) => string;
|
|
162
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, never>;
|
|
163
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "ui-phone-input", never, {
|
|
164
|
+
"value": {
|
|
165
|
+
"alias": "value";
|
|
166
|
+
"required": false;
|
|
167
|
+
};
|
|
168
|
+
"countryList": {
|
|
169
|
+
"alias": "countryList";
|
|
170
|
+
"required": false;
|
|
171
|
+
};
|
|
172
|
+
"placeholder": {
|
|
173
|
+
"alias": "placeholder";
|
|
174
|
+
"required": false;
|
|
175
|
+
};
|
|
176
|
+
"disabled": {
|
|
177
|
+
"alias": "disabled";
|
|
178
|
+
"required": false;
|
|
179
|
+
};
|
|
180
|
+
"required": {
|
|
181
|
+
"alias": "required";
|
|
182
|
+
"required": false;
|
|
183
|
+
};
|
|
184
|
+
"testId": {
|
|
185
|
+
"alias": "testId";
|
|
186
|
+
"required": false;
|
|
187
|
+
};
|
|
188
|
+
"countryAriaLabel": {
|
|
189
|
+
"alias": "countryAriaLabel";
|
|
190
|
+
"required": false;
|
|
191
|
+
};
|
|
192
|
+
"applicationTheme": {
|
|
193
|
+
"alias": "applicationTheme";
|
|
194
|
+
"required": false;
|
|
195
|
+
};
|
|
196
|
+
"fullWidth": {
|
|
197
|
+
"alias": "fullWidth";
|
|
198
|
+
"required": false;
|
|
199
|
+
};
|
|
200
|
+
"errors": {
|
|
201
|
+
"alias": "errors";
|
|
202
|
+
"required": false;
|
|
203
|
+
};
|
|
204
|
+
"hideBuiltInErrors": {
|
|
205
|
+
"alias": "hideBuiltInErrors";
|
|
206
|
+
"required": false;
|
|
207
|
+
};
|
|
208
|
+
"hideLabelInErrors": {
|
|
209
|
+
"alias": "hideLabelInErrors";
|
|
210
|
+
"required": false;
|
|
211
|
+
};
|
|
212
|
+
}, {}, never, never, true, never>;
|
|
167
213
|
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<JoinStringsPipe, "joinStrings", true>;
|
|
214
|
+
export declare class JoinStringsPipe implements PipeTransform {
|
|
215
|
+
transform(value: string[], separator?: string): string;
|
|
216
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JoinStringsPipe, never>;
|
|
217
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<JoinStringsPipe, "joinStrings", true>;
|
|
173
218
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PhoneInputComponentModule>;
|
|
219
|
+
export declare class PhoneInputComponentModule {
|
|
220
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponentModule, never>;
|
|
221
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PhoneInputComponentModule, never, [typeof i1.CommonModule, typeof i2.MatProgressSpinnerModule, typeof i3.ReactiveFormsModule, typeof i4.MatSelectModule, typeof i5.MatIconModule, typeof i6.MatInputModule, typeof i7.NgxMatSelectSearchModule, typeof i8.IconComponentModule, typeof i9.SpinnerComponentModule, typeof i10.UiTranslatePipe, typeof i11.ValidationErrorModule, typeof i10.HasValidationErrorPipe, typeof PhoneInputComponent, typeof JoinStringsPipe], [typeof PhoneInputComponent]>;
|
|
222
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PhoneInputComponentModule>;
|
|
179
223
|
}
|
|
180
|
-
|
|
181
|
-
export { JoinStringsPipe, PhoneInputComponent, PhoneInputComponentModule };
|
|
182
|
-
export type { UICountry };
|
|
224
|
+
export { ApplicationTheme };
|
|
@@ -1,54 +1,95 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import { CardSize } from
|
|
5
|
-
|
|
1
|
+
import { HorizontalConnectionPos } from "@angular/cdk/overlay";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { OnDestroy, OnInit, TemplateRef } from "@angular/core";
|
|
4
|
+
import { CardSize } from "@testgorilla/tgo-ui/components/card";
|
|
6
5
|
/** How the popover is opened: on hover of the anchor, or on click. */
|
|
7
|
-
type PopoverTrigger = 'hover' | 'click';
|
|
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
|
-
|
|
6
|
+
export type PopoverTrigger = 'hover' | 'click';
|
|
7
|
+
export declare class PopoverDirective implements OnInit, OnDestroy {
|
|
8
|
+
uiPopover: import("@angular/core").InputSignal<TemplateRef<unknown>>;
|
|
9
|
+
popoverOffset: import("@angular/core").InputSignal<number>;
|
|
10
|
+
popoverAlign: import("@angular/core").InputSignal<HorizontalConnectionPos>;
|
|
11
|
+
popoverOpen: import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
popoverCard: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
popoverCardSize: import("@angular/core").InputSignal<CardSize>;
|
|
14
|
+
popoverTrigger: import("@angular/core").InputSignal<PopoverTrigger>;
|
|
15
|
+
popoverAriaLabel: import("@angular/core").InputSignal<string>;
|
|
16
|
+
uiPopoverDisabled: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
private readonly openState;
|
|
18
|
+
/** Whether the popover is currently showing. Read it via `#ref="uiPopover"` or `viewChild(PopoverDirective)`. */
|
|
19
|
+
readonly isOpen: import("@angular/core").Signal<boolean>;
|
|
20
|
+
private readonly overlay;
|
|
21
|
+
private readonly elementRef;
|
|
22
|
+
private readonly injector;
|
|
23
|
+
private readonly ngZone;
|
|
24
|
+
private overlayRef;
|
|
25
|
+
private openTimeout;
|
|
26
|
+
private closeTimeout;
|
|
27
|
+
private overlayListeners;
|
|
28
|
+
private dismissSubscriptions;
|
|
29
|
+
onMouseEnter(): void;
|
|
30
|
+
onMouseLeave(): void;
|
|
31
|
+
onClick(): void;
|
|
32
|
+
/** Opens the popover. No-op while `uiPopoverDisabled` is `true` or it is already open. */
|
|
33
|
+
open(): void;
|
|
34
|
+
/** Closes the popover. Safe to call when it is already closed. */
|
|
35
|
+
close(): void;
|
|
36
|
+
/** Opens the popover when closed, closes it when open. */
|
|
37
|
+
toggle(): void;
|
|
38
|
+
private createOverlay;
|
|
39
|
+
/** Click-triggered popovers dismiss on an outside pointer event or on Escape. */
|
|
40
|
+
private listenForDismiss;
|
|
41
|
+
private scheduleOpen;
|
|
42
|
+
private cancelOpen;
|
|
43
|
+
private scheduleClose;
|
|
44
|
+
private cancelClose;
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[uiPopover]", ["uiPopover"], {
|
|
49
|
+
"uiPopover": {
|
|
50
|
+
"alias": "uiPopover";
|
|
51
|
+
"required": true;
|
|
52
|
+
"isSignal": true;
|
|
53
|
+
};
|
|
54
|
+
"popoverOffset": {
|
|
55
|
+
"alias": "popoverOffset";
|
|
56
|
+
"required": false;
|
|
57
|
+
"isSignal": true;
|
|
58
|
+
};
|
|
59
|
+
"popoverAlign": {
|
|
60
|
+
"alias": "popoverAlign";
|
|
61
|
+
"required": false;
|
|
62
|
+
"isSignal": true;
|
|
63
|
+
};
|
|
64
|
+
"popoverOpen": {
|
|
65
|
+
"alias": "popoverOpen";
|
|
66
|
+
"required": false;
|
|
67
|
+
"isSignal": true;
|
|
68
|
+
};
|
|
69
|
+
"popoverCard": {
|
|
70
|
+
"alias": "popoverCard";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"popoverCardSize": {
|
|
75
|
+
"alias": "popoverCardSize";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"popoverTrigger": {
|
|
80
|
+
"alias": "popoverTrigger";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"popoverAriaLabel": {
|
|
85
|
+
"alias": "popoverAriaLabel";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"uiPopoverDisabled": {
|
|
90
|
+
"alias": "uiPopoverDisabled";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
}, {}, never, never, true, never>;
|
|
95
|
+
}
|