@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,108 +1,134 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import {
|
|
5
|
-
import * as
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
MEDIUM_LARGE = "mediumLarge",
|
|
17
|
-
LARGE = "large"
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EventEmitter, PipeTransform } from "@angular/core";
|
|
3
|
+
import * as i5 from "@testgorilla/tgo-ui/components/core";
|
|
4
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
5
|
+
import * as i2 from "@testgorilla/tgo-ui/components/icon";
|
|
6
|
+
import { IconSize } from "@testgorilla/tgo-ui/components/icon";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i3 from "@angular/material/tooltip";
|
|
9
|
+
import * as i4 from "@testgorilla/tgo-ui/components/button";
|
|
10
|
+
export declare enum AvatarSize {
|
|
11
|
+
SMALL = "small",
|
|
12
|
+
SMALL_MEDIUM = "smallMedium",
|
|
13
|
+
MEDIUM = "medium",
|
|
14
|
+
MEDIUM_LARGE = "mediumLarge",
|
|
15
|
+
LARGE = "large"
|
|
18
16
|
}
|
|
19
|
-
type AvatarSizeType = `${AvatarSize}`;
|
|
20
|
-
declare const iconSize: Record<string, IconSize>;
|
|
21
|
-
declare enum AvatarBackgroundColor {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
export type AvatarSizeType = `${AvatarSize}`;
|
|
18
|
+
export declare const iconSize: Record<string, IconSize>;
|
|
19
|
+
export declare enum AvatarBackgroundColor {
|
|
20
|
+
PINK = "#FFE6FA",
|
|
21
|
+
BLUE = "#D9E8FF",
|
|
22
|
+
GREEN = "#D4F2C3",
|
|
23
|
+
ORANGE = "#FFE1B3",
|
|
24
|
+
RED = "#FFAC9A"
|
|
27
25
|
}
|
|
28
|
-
type BackgroundAvatarColorType = 'red' | 'blue' | 'green' | 'orange' | 'pink';
|
|
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
|
-
|
|
26
|
+
export type BackgroundAvatarColorType = 'red' | 'blue' | 'green' | 'orange' | 'pink';
|
|
27
|
+
export declare class AvatarComponent {
|
|
28
|
+
private readonly defaultAppTheme;
|
|
29
|
+
/**
|
|
30
|
+
* Input property for specifying the size of the avatar.
|
|
31
|
+
* @type {AvatarSize}
|
|
32
|
+
* @default AvatarSize.SMALL
|
|
33
|
+
* @memberof AvatarComponent
|
|
34
|
+
*/
|
|
35
|
+
size: AvatarSizeType;
|
|
36
|
+
/**
|
|
37
|
+
* Input property for specifying the URL of the image to display in the avatar.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AvatarComponent
|
|
40
|
+
*/
|
|
41
|
+
imageUrl: string;
|
|
42
|
+
/**
|
|
43
|
+
* Input property for specifying the initials to display in the avatar.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AvatarComponent
|
|
46
|
+
*/
|
|
47
|
+
name: string;
|
|
48
|
+
/**
|
|
49
|
+
* Input property for specifying the tooltip text for edit.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AvatarComponent
|
|
52
|
+
*/
|
|
53
|
+
tooltipText: string;
|
|
54
|
+
/**
|
|
55
|
+
* Input property that makes avatar editable.
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof AvatarComponent
|
|
58
|
+
*/
|
|
59
|
+
allowEdit: boolean;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* Defines the application theme where
|
|
63
|
+
*
|
|
64
|
+
* @type {ApplicationTheme}
|
|
65
|
+
* @memberof AvatarComponent
|
|
66
|
+
*/
|
|
67
|
+
applicationTheme: ApplicationTheme$1;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* Defines the background color
|
|
71
|
+
*
|
|
72
|
+
* @type {BackgroundAvatarColorType}
|
|
73
|
+
* @memberof AvatarComponent
|
|
74
|
+
*/
|
|
75
|
+
set backgroundColor(colorName: BackgroundAvatarColorType);
|
|
76
|
+
/**
|
|
77
|
+
* Event emitted when the edit button is clicked.
|
|
78
|
+
* @type {Event}
|
|
79
|
+
* @memberof AvatarComponent
|
|
80
|
+
*/
|
|
81
|
+
editClick: EventEmitter<Event>;
|
|
82
|
+
protected backgroundAvatarColor: string;
|
|
83
|
+
protected readonly iconSize: Record<string, import("@testgorilla/tgo-ui/components/icon").IconSize>;
|
|
84
|
+
protected readonly avatarSize: typeof AvatarSize;
|
|
85
|
+
constructor(defaultAppTheme: ApplicationTheme$1);
|
|
86
|
+
protected handleImageError(): void;
|
|
87
|
+
protected onEditClick(event: Event): void;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, [{
|
|
89
|
+
optional: true;
|
|
90
|
+
}]>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ui-avatar", never, {
|
|
92
|
+
"size": {
|
|
93
|
+
"alias": "size";
|
|
94
|
+
"required": false;
|
|
95
|
+
};
|
|
96
|
+
"imageUrl": {
|
|
97
|
+
"alias": "imageUrl";
|
|
98
|
+
"required": false;
|
|
99
|
+
};
|
|
100
|
+
"name": {
|
|
101
|
+
"alias": "name";
|
|
102
|
+
"required": false;
|
|
103
|
+
};
|
|
104
|
+
"tooltipText": {
|
|
105
|
+
"alias": "tooltipText";
|
|
106
|
+
"required": false;
|
|
107
|
+
};
|
|
108
|
+
"allowEdit": {
|
|
109
|
+
"alias": "allowEdit";
|
|
110
|
+
"required": false;
|
|
111
|
+
};
|
|
112
|
+
"applicationTheme": {
|
|
113
|
+
"alias": "applicationTheme";
|
|
114
|
+
"required": false;
|
|
115
|
+
};
|
|
116
|
+
"backgroundColor": {
|
|
117
|
+
"alias": "backgroundColor";
|
|
118
|
+
"required": false;
|
|
119
|
+
};
|
|
120
|
+
}, {
|
|
121
|
+
"editClick": "editClick";
|
|
122
|
+
}, never, never, true, never>;
|
|
93
123
|
}
|
|
94
|
-
|
|
95
124
|
declare class NameInitialsPipe implements PipeTransform {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
125
|
+
transform(value: string): string;
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NameInitialsPipe, never>;
|
|
127
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NameInitialsPipe, "nameInitials", true>;
|
|
99
128
|
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AvatarComponentModule>;
|
|
129
|
+
export declare class AvatarComponentModule {
|
|
130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponentModule, never>;
|
|
131
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.MatTooltipModule, typeof i4.ButtonComponentModule, typeof i5.UiTranslatePipe, typeof AvatarComponent, typeof NameInitialsPipe], [typeof AvatarComponent]>;
|
|
132
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AvatarComponentModule>;
|
|
105
133
|
}
|
|
106
|
-
|
|
107
|
-
export { AvatarBackgroundColor, AvatarComponent, AvatarComponentModule, AvatarSize, iconSize };
|
|
108
|
-
export type { AvatarSizeType, BackgroundAvatarColorType };
|
|
134
|
+
export { ApplicationTheme };
|
|
@@ -1,144 +1,196 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
6
|
-
import * as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
BLUE_20 = "blue-20",
|
|
22
|
-
BLUE_40 = "blue-40"
|
|
1
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
2
|
+
import * as i2 from "@testgorilla/tgo-ui/components/icon";
|
|
3
|
+
import { IconColor, IconName } from "@testgorilla/tgo-ui/components/icon";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/material/tooltip";
|
|
7
|
+
export type BadgeVariant = 'primary' | 'secondary' | 'notification' | 'primary-ai' | 'secondary-ai';
|
|
8
|
+
export type BadgeColor = 'red' | 'grey-medium' | 'teal' | 'yellow' | 'petrol' | 'teal-60w' | 'petrol-90w' | 'petrol-60w' | 'grey-dark' | 'blue-20' | 'blue-40' | 'pink-30' | 'blue-10';
|
|
9
|
+
export declare enum BadgeColorEnum {
|
|
10
|
+
RED = "red",
|
|
11
|
+
GREY_MEDIUM = "grey-medium",
|
|
12
|
+
TEAL = "teal",
|
|
13
|
+
YELLOW = "yellow",
|
|
14
|
+
PETROL = "petrol",
|
|
15
|
+
TEAL_60W = "teal-60w",
|
|
16
|
+
PETROL_90W = "petrol-90w",
|
|
17
|
+
PETROL_60W = "petrol-60w",
|
|
18
|
+
GREY_DARK = "grey-dark",
|
|
19
|
+
BLUE_20 = "blue-20",
|
|
20
|
+
BLUE_40 = "blue-40"
|
|
23
21
|
}
|
|
24
|
-
type RebrandBadgeColor = 'success' | 'warning' | 'negative' | 'info' | 'brand' | 'neutral' | 'blue-20' | 'blue-40' | 'pink-30' | 'pink-50' | 'blue-10' | 'grey-10' | 'grey-20' | 'grey-30';
|
|
25
|
-
declare enum RebrandBadgeColorEnum {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
22
|
+
export type RebrandBadgeColor = 'success' | 'warning' | 'negative' | 'info' | 'brand' | 'neutral' | 'blue-20' | 'blue-40' | 'pink-30' | 'pink-50' | 'blue-10' | 'grey-10' | 'grey-20' | 'grey-30';
|
|
23
|
+
export declare enum RebrandBadgeColorEnum {
|
|
24
|
+
SUCCESS = "success",
|
|
25
|
+
WARNING = "warning",
|
|
26
|
+
NEGATIVE = "negative",
|
|
27
|
+
INFO = "info",
|
|
28
|
+
BRAND = "brand",
|
|
29
|
+
NEUTRAL = "neutral",
|
|
30
|
+
BLUE_40 = "blue-40",
|
|
31
|
+
BLUE_20 = "blue-20",
|
|
32
|
+
PINK_30 = "pink-30",
|
|
33
|
+
PINK_50 = "pink-50",
|
|
34
|
+
BLUE_10 = "blue-10",
|
|
35
|
+
GREY_30 = "grey-30",
|
|
36
|
+
GREY_20 = "grey-20",
|
|
37
|
+
GREY_10 = "grey-10"
|
|
40
38
|
}
|
|
41
|
-
declare enum BadgeVariantEnum {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
export declare enum BadgeVariantEnum {
|
|
40
|
+
PRIMARY = "primary",
|
|
41
|
+
PRIMARY_AI = "primary-ai",
|
|
42
|
+
SECONDARY = "secondary",
|
|
43
|
+
SECONDARY_AI = "secondary-ai",
|
|
44
|
+
NOTIFICATION = "notification"
|
|
47
45
|
}
|
|
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
|
-
|
|
46
|
+
export declare class BadgeComponent {
|
|
47
|
+
private readonly defaultAppTheme;
|
|
48
|
+
/**
|
|
49
|
+
* The label to be displayed on the badge.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof BadgeComponent
|
|
52
|
+
*/
|
|
53
|
+
label: string;
|
|
54
|
+
/**
|
|
55
|
+
* A static label always displayed after the main label, never truncated.
|
|
56
|
+
* Intended for short suffixes (max 4 chars, e.g. "100%").
|
|
57
|
+
* When the main label is truncated, the tooltip shows both labels in full.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof BadgeComponent
|
|
60
|
+
*/
|
|
61
|
+
staticLabel: string;
|
|
62
|
+
/**
|
|
63
|
+
* The icon name to be displayed on the badge.
|
|
64
|
+
* @type {IconName}
|
|
65
|
+
* @memberof BadgeComponent
|
|
66
|
+
*/
|
|
67
|
+
icon: IconName;
|
|
68
|
+
/**
|
|
69
|
+
* Override color for the leading icon. Accepts any value the `ui-icon`
|
|
70
|
+
* `color` input accepts (named token, hex, or CSS custom property).
|
|
71
|
+
* When unset, falls back to the auto-derived color based on the badge background.
|
|
72
|
+
*/
|
|
73
|
+
iconColor: import("@angular/core").InputSignal<string | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Optional trailing icon, rendered after the label/static label on the primary variant.
|
|
76
|
+
*/
|
|
77
|
+
trailingIcon: import("@angular/core").InputSignal<IconName>;
|
|
78
|
+
/**
|
|
79
|
+
* Override color for the trailing icon. Accepts any value the `ui-icon`
|
|
80
|
+
* `color` input accepts (named token, hex, or CSS custom property).
|
|
81
|
+
* When unset, falls back to the auto-derived color based on the badge background.
|
|
82
|
+
*/
|
|
83
|
+
trailingIconColor: import("@angular/core").InputSignal<string | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* The color of the badge. Defaults to 'petrol'.
|
|
86
|
+
* @type {BadgeColor}
|
|
87
|
+
* @memberof BadgeComponent
|
|
88
|
+
*/
|
|
89
|
+
color: BadgeColor;
|
|
90
|
+
/**
|
|
91
|
+
* The variant of the badge. Defaults to 'primary'.
|
|
92
|
+
* @type {BadgeVariant}
|
|
93
|
+
* @memberof BadgeComponent
|
|
94
|
+
*/
|
|
95
|
+
variant: BadgeVariant;
|
|
96
|
+
/**
|
|
97
|
+
* The amount of notifications to be displayed on the badge.
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof BadgeComponent
|
|
100
|
+
*/
|
|
101
|
+
notificationsAmount: number;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* Defines the application theme
|
|
105
|
+
*
|
|
106
|
+
* @type {ApplicationTheme}
|
|
107
|
+
* @memberof BadgeComponent
|
|
108
|
+
*/
|
|
109
|
+
applicationTheme: ApplicationTheme$1;
|
|
110
|
+
/**
|
|
111
|
+
* The color of the badge on new theme. Defaults to 'brand'.
|
|
112
|
+
* @type {RebrandBadgeColor}
|
|
113
|
+
* @memberof BadgeComponent
|
|
114
|
+
*/
|
|
115
|
+
rebrandColor: RebrandBadgeColor;
|
|
116
|
+
truncateLabel: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Whether to enable the animation when label changes from empty to having content.
|
|
119
|
+
* @type {boolean}
|
|
120
|
+
* @memberof BadgeComponent
|
|
121
|
+
*/
|
|
122
|
+
enableAnimation: boolean;
|
|
123
|
+
protected badgeVariant: typeof BadgeVariantEnum;
|
|
124
|
+
private readonly darkColors;
|
|
125
|
+
constructor(defaultAppTheme: ApplicationTheme$1);
|
|
126
|
+
protected get autoIconColor(): IconColor;
|
|
127
|
+
protected get resolvedIconColor(): IconColor;
|
|
128
|
+
protected get resolvedTrailingIconColor(): IconColor;
|
|
129
|
+
protected get isClassicTheme(): boolean;
|
|
130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, [{
|
|
131
|
+
optional: true;
|
|
132
|
+
}]>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "ui-badge", never, {
|
|
134
|
+
"label": {
|
|
135
|
+
"alias": "label";
|
|
136
|
+
"required": false;
|
|
137
|
+
};
|
|
138
|
+
"staticLabel": {
|
|
139
|
+
"alias": "staticLabel";
|
|
140
|
+
"required": false;
|
|
141
|
+
};
|
|
142
|
+
"icon": {
|
|
143
|
+
"alias": "icon";
|
|
144
|
+
"required": false;
|
|
145
|
+
};
|
|
146
|
+
"iconColor": {
|
|
147
|
+
"alias": "iconColor";
|
|
148
|
+
"required": false;
|
|
149
|
+
"isSignal": true;
|
|
150
|
+
};
|
|
151
|
+
"trailingIcon": {
|
|
152
|
+
"alias": "trailingIcon";
|
|
153
|
+
"required": false;
|
|
154
|
+
"isSignal": true;
|
|
155
|
+
};
|
|
156
|
+
"trailingIconColor": {
|
|
157
|
+
"alias": "trailingIconColor";
|
|
158
|
+
"required": false;
|
|
159
|
+
"isSignal": true;
|
|
160
|
+
};
|
|
161
|
+
"color": {
|
|
162
|
+
"alias": "color";
|
|
163
|
+
"required": false;
|
|
164
|
+
};
|
|
165
|
+
"variant": {
|
|
166
|
+
"alias": "variant";
|
|
167
|
+
"required": false;
|
|
168
|
+
};
|
|
169
|
+
"notificationsAmount": {
|
|
170
|
+
"alias": "notificationsAmount";
|
|
171
|
+
"required": false;
|
|
172
|
+
};
|
|
173
|
+
"applicationTheme": {
|
|
174
|
+
"alias": "applicationTheme";
|
|
175
|
+
"required": false;
|
|
176
|
+
};
|
|
177
|
+
"rebrandColor": {
|
|
178
|
+
"alias": "rebrandColor";
|
|
179
|
+
"required": false;
|
|
180
|
+
};
|
|
181
|
+
"truncateLabel": {
|
|
182
|
+
"alias": "truncateLabel";
|
|
183
|
+
"required": false;
|
|
184
|
+
};
|
|
185
|
+
"enableAnimation": {
|
|
186
|
+
"alias": "enableAnimation";
|
|
187
|
+
"required": false;
|
|
188
|
+
};
|
|
189
|
+
}, {}, never, never, true, never>;
|
|
135
190
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BadgeComponentModule>;
|
|
191
|
+
export declare class BadgeComponentModule {
|
|
192
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponentModule, never>;
|
|
193
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BadgeComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i3.MatTooltipModule, typeof BadgeComponent], [typeof BadgeComponent]>;
|
|
194
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BadgeComponentModule>;
|
|
141
195
|
}
|
|
142
|
-
|
|
143
|
-
export { BadgeColorEnum, BadgeComponent, BadgeComponentModule, BadgeVariantEnum, RebrandBadgeColorEnum };
|
|
144
|
-
export type { BadgeColor, BadgeVariant, RebrandBadgeColor };
|
|
196
|
+
export { ApplicationTheme };
|