@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,135 +1,183 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { OnChanges, OnInit
|
|
3
|
-
import { ControlValueAccessor } from
|
|
4
|
-
import * as i3 from
|
|
5
|
-
import { ApplicationTheme } from
|
|
6
|
-
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as i6 from '@testgorilla/tgo-ui/components/spinner';
|
|
12
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EventEmitter, OnChanges, OnInit } from "@angular/core";
|
|
3
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
4
|
+
import * as i3 from "@testgorilla/tgo-ui/components/core";
|
|
5
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/material/tooltip";
|
|
8
|
+
import * as i4 from "@angular/material/input";
|
|
9
|
+
import * as i5 from "@testgorilla/tgo-ui/components/icon";
|
|
10
|
+
import * as i6 from "@testgorilla/tgo-ui/components/spinner";
|
|
13
11
|
type RegisterFn = (value?: boolean) => void;
|
|
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
|
-
|
|
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
|
-
|
|
12
|
+
export declare class ToggleComponent implements ControlValueAccessor, OnChanges, OnInit {
|
|
13
|
+
private readonly defaultAppTheme;
|
|
14
|
+
/**
|
|
15
|
+
* The `selected` property determines the current state of the toggle switch.
|
|
16
|
+
*
|
|
17
|
+
* @type {boolean}
|
|
18
|
+
* @default false
|
|
19
|
+
* @memberof ToggleComponent
|
|
20
|
+
*/
|
|
21
|
+
selected: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* The `disabled` property determines whether the toggle switch is disabled.
|
|
24
|
+
*
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @default false
|
|
27
|
+
* @memberof ToggleComponent
|
|
28
|
+
*/
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Toggle label
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @default ''
|
|
35
|
+
* @memberof ToggleComponent
|
|
36
|
+
*/
|
|
37
|
+
label: string;
|
|
38
|
+
/**
|
|
39
|
+
* Message
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @default ''
|
|
43
|
+
* @memberof ToggleComponent
|
|
44
|
+
*/
|
|
45
|
+
message: string;
|
|
46
|
+
/**
|
|
47
|
+
* Max width of the toggle container
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof ToggleComponent
|
|
51
|
+
*/
|
|
52
|
+
maxWidth: number | undefined;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* Defines the application theme
|
|
56
|
+
*
|
|
57
|
+
* @type {ApplicationTheme}
|
|
58
|
+
* @memberof ToggleComponent
|
|
59
|
+
*/
|
|
60
|
+
applicationTheme: ApplicationTheme$1;
|
|
61
|
+
/**
|
|
62
|
+
* The `toggle` event is triggered when the state of the toggle switch changes. It returns the new state.
|
|
63
|
+
*
|
|
64
|
+
* @type {event}
|
|
65
|
+
* @memberof ToggleComponent
|
|
66
|
+
*/
|
|
67
|
+
toggle: EventEmitter<boolean>;
|
|
68
|
+
/**
|
|
69
|
+
* A string representing the ARIA label for accessibility.
|
|
70
|
+
* This label is used to provide an accessible name for the input element.
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof ToggleComponent
|
|
73
|
+
*/
|
|
74
|
+
ariaLabel: string;
|
|
75
|
+
testId: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* A string representing the ARIA requirement for accessibility.
|
|
78
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof ToggleComponent
|
|
81
|
+
*/
|
|
82
|
+
ariaRequired: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* disable/enable click on toggle
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @memberof ToggleComponent
|
|
87
|
+
*/
|
|
88
|
+
preventClick: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* The loading state
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof ToggleComponent
|
|
94
|
+
*/
|
|
95
|
+
loading: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* A string representing the ARIA requirement for accessibility.
|
|
98
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof ToggleComponent
|
|
101
|
+
*/
|
|
102
|
+
ariaDescribedby: string;
|
|
103
|
+
protected showLabelTooltip: boolean;
|
|
104
|
+
protected classes: string;
|
|
105
|
+
private static nextInstanceId;
|
|
106
|
+
protected readonly labelId: string;
|
|
107
|
+
protected readonly describedbyId: string;
|
|
108
|
+
constructor(defaultAppTheme: ApplicationTheme$1);
|
|
109
|
+
ngOnChanges(): void;
|
|
110
|
+
ngOnInit(): void;
|
|
111
|
+
onToggle(): void;
|
|
112
|
+
private readonly cdr;
|
|
113
|
+
writeValue(state: boolean): void;
|
|
114
|
+
registerOnChange(fn: RegisterFn): void;
|
|
115
|
+
registerOnTouched(fn: RegisterFn): void;
|
|
116
|
+
setDisabledState(isDisabled: boolean): void;
|
|
117
|
+
changeTextState(state: boolean): void;
|
|
118
|
+
onKeydown($event: KeyboardEvent): void;
|
|
119
|
+
private onChange;
|
|
120
|
+
private onTouched;
|
|
121
|
+
private setClasses;
|
|
122
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, [{
|
|
123
|
+
optional: true;
|
|
124
|
+
}]>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "ui-toggle", never, {
|
|
126
|
+
"selected": {
|
|
127
|
+
"alias": "selected";
|
|
128
|
+
"required": false;
|
|
129
|
+
};
|
|
130
|
+
"disabled": {
|
|
131
|
+
"alias": "disabled";
|
|
132
|
+
"required": false;
|
|
133
|
+
};
|
|
134
|
+
"label": {
|
|
135
|
+
"alias": "label";
|
|
136
|
+
"required": false;
|
|
137
|
+
};
|
|
138
|
+
"message": {
|
|
139
|
+
"alias": "message";
|
|
140
|
+
"required": false;
|
|
141
|
+
};
|
|
142
|
+
"maxWidth": {
|
|
143
|
+
"alias": "maxWidth";
|
|
144
|
+
"required": false;
|
|
145
|
+
};
|
|
146
|
+
"applicationTheme": {
|
|
147
|
+
"alias": "applicationTheme";
|
|
148
|
+
"required": false;
|
|
149
|
+
};
|
|
150
|
+
"ariaLabel": {
|
|
151
|
+
"alias": "ariaLabel";
|
|
152
|
+
"required": false;
|
|
153
|
+
};
|
|
154
|
+
"testId": {
|
|
155
|
+
"alias": "testId";
|
|
156
|
+
"required": false;
|
|
157
|
+
};
|
|
158
|
+
"ariaRequired": {
|
|
159
|
+
"alias": "ariaRequired";
|
|
160
|
+
"required": false;
|
|
161
|
+
};
|
|
162
|
+
"preventClick": {
|
|
163
|
+
"alias": "preventClick";
|
|
164
|
+
"required": false;
|
|
165
|
+
};
|
|
166
|
+
"loading": {
|
|
167
|
+
"alias": "loading";
|
|
168
|
+
"required": false;
|
|
169
|
+
};
|
|
170
|
+
"ariaDescribedby": {
|
|
171
|
+
"alias": "ariaDescribedby";
|
|
172
|
+
"required": false;
|
|
173
|
+
};
|
|
174
|
+
}, {
|
|
175
|
+
"toggle": "toggle";
|
|
176
|
+
}, never, never, true, never>;
|
|
127
177
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ToggleComponentModule>;
|
|
178
|
+
export declare class ToggleComponentModule {
|
|
179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponentModule, never>;
|
|
180
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToggleComponentModule, never, [typeof i1.CommonModule, typeof i2.MatTooltipModule, typeof i3.EllipseTextDirective, typeof i4.MatInputModule, typeof i3.UiTranslatePipe, typeof i5.IconComponentModule, typeof i6.SpinnerComponentModule, typeof ToggleComponent], [typeof ToggleComponent]>;
|
|
181
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToggleComponentModule>;
|
|
133
182
|
}
|
|
134
|
-
|
|
135
|
-
export { ToggleComponent, ToggleComponentModule };
|
|
183
|
+
export { ApplicationTheme };
|
|
@@ -1,109 +1,146 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import * as i1 from
|
|
4
|
-
import { TooltipPosition } from
|
|
5
|
-
import * as i4 from
|
|
6
|
-
import { ApplicationTheme } from
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
LEFT = "left",
|
|
14
|
-
RIGHT = "right"
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { OnChanges, OnDestroy, OnInit, TemplateRef } from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/material/tooltip";
|
|
4
|
+
import { TooltipPosition } from "@angular/material/tooltip";
|
|
5
|
+
import * as i4 from "@testgorilla/tgo-ui/components/core";
|
|
6
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
export declare enum TooltipPositionType {
|
|
9
|
+
TOP = "top",
|
|
10
|
+
BOTTOM = "bottom",
|
|
11
|
+
LEFT = "left",
|
|
12
|
+
RIGHT = "right"
|
|
15
13
|
}
|
|
16
|
-
type TooltipVariant = 'basic' | 'definition';
|
|
17
|
-
type TooltipDefinitionSize = 'small' | 'medium' | 'large';
|
|
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
|
-
|
|
14
|
+
export type TooltipVariant = 'basic' | 'definition';
|
|
15
|
+
export type TooltipDefinitionSize = 'small' | 'medium' | 'large';
|
|
16
|
+
export declare class TooltipComponent implements OnInit {
|
|
17
|
+
private readonly defaultAppTheme;
|
|
18
|
+
/**
|
|
19
|
+
* Allows the user to define the position of the tooltip relative to the parent element.
|
|
20
|
+
*
|
|
21
|
+
* @type {TooltipPositionType}
|
|
22
|
+
* @memberof TooltipComponent
|
|
23
|
+
*/
|
|
24
|
+
position: TooltipPositionType;
|
|
25
|
+
/**
|
|
26
|
+
* Disables the display of the tooltip.
|
|
27
|
+
*
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof TooltipComponent
|
|
30
|
+
*/
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The message to be displayed in the tooltip.
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof TooltipComponent
|
|
37
|
+
*/
|
|
38
|
+
message: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* Defines the application theme
|
|
42
|
+
*
|
|
43
|
+
* @type {ApplicationTheme}
|
|
44
|
+
* @memberof TooltipComponent
|
|
45
|
+
*/
|
|
46
|
+
applicationTheme: ApplicationTheme$1;
|
|
47
|
+
/**
|
|
48
|
+
* The label for definition variant
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof TooltipComponent
|
|
51
|
+
*/
|
|
52
|
+
labelForDefinition: string;
|
|
53
|
+
/**
|
|
54
|
+
* Defines size for definition variant
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof TooltipComponent
|
|
57
|
+
*/
|
|
58
|
+
definitionTooltipSize: TooltipDefinitionSize;
|
|
59
|
+
/**
|
|
60
|
+
* Variant render tooltip
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof TooltipComponent
|
|
63
|
+
*/
|
|
64
|
+
variant: TooltipVariant;
|
|
65
|
+
isLabelEllipse: boolean;
|
|
66
|
+
templateRef: TemplateRef<unknown>;
|
|
67
|
+
constructor(defaultAppTheme: ApplicationTheme$1);
|
|
68
|
+
matPosition: TooltipPosition;
|
|
69
|
+
ngOnInit(): void;
|
|
70
|
+
setPosition(): void;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, [{
|
|
72
|
+
optional: true;
|
|
73
|
+
}]>;
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "ui-tooltip", never, {
|
|
75
|
+
"position": {
|
|
76
|
+
"alias": "position";
|
|
77
|
+
"required": false;
|
|
78
|
+
};
|
|
79
|
+
"disabled": {
|
|
80
|
+
"alias": "disabled";
|
|
81
|
+
"required": false;
|
|
82
|
+
};
|
|
83
|
+
"message": {
|
|
84
|
+
"alias": "message";
|
|
85
|
+
"required": false;
|
|
86
|
+
};
|
|
87
|
+
"applicationTheme": {
|
|
88
|
+
"alias": "applicationTheme";
|
|
89
|
+
"required": false;
|
|
90
|
+
};
|
|
91
|
+
"labelForDefinition": {
|
|
92
|
+
"alias": "labelForDefinition";
|
|
93
|
+
"required": false;
|
|
94
|
+
};
|
|
95
|
+
"definitionTooltipSize": {
|
|
96
|
+
"alias": "definitionTooltipSize";
|
|
97
|
+
"required": false;
|
|
98
|
+
};
|
|
99
|
+
"variant": {
|
|
100
|
+
"alias": "variant";
|
|
101
|
+
"required": false;
|
|
102
|
+
};
|
|
103
|
+
}, {}, never, ["*"], true, never>;
|
|
104
|
+
static ngAcceptInputType_disabled: unknown;
|
|
77
105
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
106
|
+
export declare class TooltipTemplateDirective implements OnChanges, OnDestroy {
|
|
107
|
+
tooltipPosition: TooltipPositionType;
|
|
108
|
+
showTooltip: boolean;
|
|
109
|
+
templateRef: TemplateRef<unknown>;
|
|
110
|
+
private _overlayRef;
|
|
111
|
+
private readonly _overlay;
|
|
112
|
+
private readonly _overlayPositionBuilder;
|
|
113
|
+
private readonly _elementRef;
|
|
114
|
+
private readonly focusMonitor;
|
|
115
|
+
private readonly ngZone;
|
|
116
|
+
private readonly injector;
|
|
117
|
+
private readonly tooltipComponentToken;
|
|
118
|
+
constructor();
|
|
119
|
+
ngOnChanges(): void;
|
|
120
|
+
show(): void;
|
|
121
|
+
hide(): void;
|
|
122
|
+
ngOnDestroy(): void;
|
|
123
|
+
private closeToolTip;
|
|
124
|
+
private setPosition;
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipTemplateDirective, never>;
|
|
126
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipTemplateDirective, "[uiTooltipTemplate]", never, {
|
|
127
|
+
"tooltipPosition": {
|
|
128
|
+
"alias": "tooltipPosition";
|
|
129
|
+
"required": false;
|
|
130
|
+
};
|
|
131
|
+
"showTooltip": {
|
|
132
|
+
"alias": "showTooltip";
|
|
133
|
+
"required": false;
|
|
134
|
+
};
|
|
135
|
+
"templateRef": {
|
|
136
|
+
"alias": "uiTooltipTemplate";
|
|
137
|
+
"required": false;
|
|
138
|
+
};
|
|
139
|
+
}, {}, never, never, true, never>;
|
|
100
140
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TooltipComponentModule>;
|
|
141
|
+
export declare class TooltipComponentModule {
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponentModule, never>;
|
|
143
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipComponentModule, never, [typeof i1.MatTooltipModule, typeof i2.CommonModule, typeof TooltipTemplateDirective, typeof i4.EllipseTextDirective, typeof i4.UiTranslatePipe, typeof TooltipComponent], [typeof TooltipComponent, typeof TooltipTemplateDirective]>;
|
|
144
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TooltipComponentModule>;
|
|
106
145
|
}
|
|
107
|
-
|
|
108
|
-
export { TooltipComponent, TooltipComponentModule, TooltipPositionType, TooltipTemplateDirective };
|
|
109
|
-
export type { TooltipDefinitionSize, TooltipVariant };
|
|
146
|
+
export { ApplicationTheme };
|