@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,210 +1,282 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import * as i4 from
|
|
5
|
-
import {
|
|
6
|
-
import * as i2 from
|
|
7
|
-
import { ButtonColor, ButtonSize } from
|
|
8
|
-
import * as i7 from
|
|
9
|
-
import { ApplicationTheme } from
|
|
10
|
-
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
isPremium?: boolean;
|
|
34
|
-
testId?: string;
|
|
1
|
+
import { FocusMonitor } from "@angular/cdk/a11y";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, OnInit, QueryList, SimpleChanges, TemplateRef } from "@angular/core";
|
|
4
|
+
import * as i4 from "@angular/material/menu";
|
|
5
|
+
import { MatMenu, MatMenuTrigger, MenuPositionX, MenuPositionY } from "@angular/material/menu";
|
|
6
|
+
import * as i2 from "@testgorilla/tgo-ui/components/button";
|
|
7
|
+
import { ButtonColor, ButtonSize } from "@testgorilla/tgo-ui/components/button";
|
|
8
|
+
import * as i7 from "@testgorilla/tgo-ui/components/core";
|
|
9
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
10
|
+
import * as i3 from "@testgorilla/tgo-ui/components/icon";
|
|
11
|
+
import { IconName } from "@testgorilla/tgo-ui/components/icon";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i5 from "@angular/material/button";
|
|
14
|
+
import * as i6 from "@angular/material/tooltip";
|
|
15
|
+
export type OverflowMenuSelectionMode = 'none' | 'single';
|
|
16
|
+
export type OverflowMenuButtonsType = {
|
|
17
|
+
icon?: IconName;
|
|
18
|
+
label: string;
|
|
19
|
+
isDestructive?: boolean;
|
|
20
|
+
value: string;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
isSelected?: boolean;
|
|
23
|
+
btnTemplate?: TemplateRef<unknown>;
|
|
24
|
+
subMenu?: OverflowMenuButtonsType[] | number;
|
|
25
|
+
action?: number | string;
|
|
26
|
+
describedby?: string;
|
|
27
|
+
ariaLabel?: string;
|
|
28
|
+
tooltipText?: string;
|
|
29
|
+
isTitleButton?: boolean;
|
|
30
|
+
hideTitleButton?: boolean;
|
|
31
|
+
isPremium?: boolean;
|
|
32
|
+
testId?: string;
|
|
35
33
|
};
|
|
36
34
|
type ButtonOptions = {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
isTextEllipsed?: boolean;
|
|
36
|
+
isFocused?: boolean;
|
|
37
|
+
isHovered?: boolean;
|
|
40
38
|
};
|
|
41
|
-
type MenuConfig = {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
export type MenuConfig = {
|
|
40
|
+
xPosition: MenuPositionX;
|
|
41
|
+
yPosition: MenuPositionY;
|
|
42
|
+
overlapTrigger: boolean;
|
|
43
|
+
panelClass: string;
|
|
46
44
|
};
|
|
47
|
-
type OverflowMenuButtonModify = OverflowMenuButtonsType & ButtonOptions;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
45
|
+
export type OverflowMenuButtonModify = OverflowMenuButtonsType & ButtonOptions;
|
|
46
|
+
export declare class OverflowMenuComponent implements OnInit, OnChanges, AfterViewInit {
|
|
47
|
+
private readonly defaultAppTheme;
|
|
48
|
+
private readonly focusMonitor;
|
|
49
|
+
private readonly ngZone;
|
|
50
|
+
/**
|
|
51
|
+
* Menu buttons
|
|
52
|
+
*
|
|
53
|
+
* @type {OverflowMenuButtonsType[]}
|
|
54
|
+
* @memberof OverflowMenuComponent
|
|
55
|
+
*/
|
|
56
|
+
buttons: OverflowMenuButtonsType[];
|
|
57
|
+
/**
|
|
58
|
+
* Menu icon trigger
|
|
59
|
+
*
|
|
60
|
+
* @memberof OverflowMenuComponent
|
|
61
|
+
*/
|
|
62
|
+
iconTrigger: IconName;
|
|
63
|
+
/**
|
|
64
|
+
* Label menu
|
|
65
|
+
*
|
|
66
|
+
* @memberof OverflowMenuComponent
|
|
67
|
+
*/
|
|
68
|
+
menuLabel: string;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* Defines the application theme
|
|
72
|
+
*
|
|
73
|
+
* @type {ApplicationTheme}
|
|
74
|
+
* @memberof OverflowMenuComponent
|
|
75
|
+
*/
|
|
76
|
+
applicationTheme: ApplicationTheme$1;
|
|
77
|
+
/**
|
|
78
|
+
* A string representing the ARIA label for accessibility.
|
|
79
|
+
* This label is used to provide an accessible name for the input element.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof OverflowMenuComponent
|
|
82
|
+
*/
|
|
83
|
+
ariaLabel: string;
|
|
84
|
+
testId: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* A string representing the ARIA requirement for accessibility.
|
|
87
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof OverflowMenuComponent
|
|
90
|
+
*/
|
|
91
|
+
ariaRequired: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* A string representing the ARIA requirement for accessibility.
|
|
94
|
+
* This attribute is used to indicate whether an input for description.
|
|
95
|
+
* @type {text}
|
|
96
|
+
* @memberof OverflowMenuComponent
|
|
97
|
+
*/
|
|
98
|
+
describedby: string;
|
|
99
|
+
/**
|
|
100
|
+
* Custom template for the button (optional)
|
|
101
|
+
*
|
|
102
|
+
* @type {TemplateRef<unknown>}
|
|
103
|
+
* @memberof OverflowMenuComponent
|
|
104
|
+
*/
|
|
105
|
+
contentTemplateRef: TemplateRef<unknown>;
|
|
106
|
+
/**
|
|
107
|
+
* Button variant for the overflow menu trigger
|
|
108
|
+
* When null, uses the default icon rendering
|
|
109
|
+
*
|
|
110
|
+
* @type {ButtonColor | null}
|
|
111
|
+
* @memberof OverflowMenuComponent
|
|
112
|
+
*/
|
|
113
|
+
buttonVariant: ButtonColor | null;
|
|
114
|
+
/**
|
|
115
|
+
* Button size for the overflow menu trigger
|
|
116
|
+
*
|
|
117
|
+
* @type {ButtonSize}
|
|
118
|
+
* @memberof OverflowMenuComponent
|
|
119
|
+
*/
|
|
120
|
+
buttonSize: ButtonSize;
|
|
121
|
+
menuConfig: MenuConfig;
|
|
122
|
+
/**
|
|
123
|
+
* Selection semantics of the menu. 'single' renders every entry as a menuitemradio whose
|
|
124
|
+
* aria-checked and right-aligned check come from the button's isSelected flag; 'none' keeps
|
|
125
|
+
* plain menuitem entries.
|
|
126
|
+
*
|
|
127
|
+
* @type {OverflowMenuSelectionMode}
|
|
128
|
+
* @memberof OverflowMenuComponent
|
|
129
|
+
*/
|
|
130
|
+
readonly selectionMode: import("@angular/core").InputSignal<OverflowMenuSelectionMode>;
|
|
131
|
+
/**
|
|
132
|
+
* Element the dropdown is positioned against, instead of the trigger: an element, or a selector
|
|
133
|
+
* resolved as the trigger's closest matching ancestor (e.g. `'ui-tag'` to open from the start of
|
|
134
|
+
* the tag the trigger sits in). Read when the dropdown is first opened.
|
|
135
|
+
*
|
|
136
|
+
* @type {string | HTMLElement | null}
|
|
137
|
+
* @memberof OverflowMenuComponent
|
|
138
|
+
*/
|
|
139
|
+
readonly menuAnchor: import("@angular/core").InputSignal<string | HTMLElement | null>;
|
|
140
|
+
/**
|
|
141
|
+
* Makes the open dropdown as wide as its anchor (`menuAnchor`, or the trigger when none is set),
|
|
142
|
+
* instead of sizing it to its content. Measured each time it opens.
|
|
143
|
+
*
|
|
144
|
+
* @type {boolean}
|
|
145
|
+
* @default false
|
|
146
|
+
* @memberof OverflowMenuComponent
|
|
147
|
+
*/
|
|
148
|
+
readonly shouldMatchAnchorWidth: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
149
|
+
isDynamicMenu: boolean;
|
|
150
|
+
withRemovableOption: boolean;
|
|
151
|
+
selectItem: EventEmitter<string>;
|
|
152
|
+
menuOpened: EventEmitter<void>;
|
|
153
|
+
menuClosed: EventEmitter<void>;
|
|
154
|
+
matmenus: QueryList<MatMenu>;
|
|
155
|
+
matTrigger: QueryList<MatMenuTrigger>;
|
|
156
|
+
buttonElement: ElementRef<HTMLElement>;
|
|
157
|
+
menuItems: string[];
|
|
158
|
+
submenus: Array<OverflowMenuButtonModify[]>;
|
|
159
|
+
isMenuRendered: import("@angular/core").WritableSignal<boolean>;
|
|
160
|
+
isMenuOpened: import("@angular/core").WritableSignal<boolean>;
|
|
161
|
+
isFocused: import("@angular/core").WritableSignal<boolean>;
|
|
162
|
+
get menuItemHasHovered(): boolean;
|
|
163
|
+
private readonly destroyRef;
|
|
164
|
+
private readonly anchoredTriggers;
|
|
165
|
+
private readonly document;
|
|
166
|
+
constructor(defaultAppTheme: ApplicationTheme$1, focusMonitor: FocusMonitor, ngZone: NgZone);
|
|
167
|
+
ngOnInit(): void;
|
|
168
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
169
|
+
ngAfterViewInit(): void;
|
|
170
|
+
/**
|
|
171
|
+
* MatMenuTrigger has no public way to position against another element: it takes its origin from
|
|
172
|
+
* the protected `_getOverlayOrigin()` when it first creates the overlay. Overriding it on the root
|
|
173
|
+
* trigger lets `menuAnchor` move the origin, falling back to the trigger itself.
|
|
174
|
+
*/
|
|
175
|
+
private anchorTrigger;
|
|
176
|
+
private resolveMenuAnchor;
|
|
177
|
+
/** Sizes the open panel to the anchor (or the trigger), overriding Material's 112–280px panel limits. */
|
|
178
|
+
private matchPanelToAnchorWidth;
|
|
179
|
+
/** Opens the dropdown programmatically, as if the trigger had been used. */
|
|
180
|
+
openMenu(): void;
|
|
181
|
+
/** Closes the dropdown, whichever way it was opened. */
|
|
182
|
+
closeMenu(): void;
|
|
183
|
+
onSelectItem(event: Event, value: string): void;
|
|
184
|
+
onMenuOpened(): void;
|
|
185
|
+
onMenuClosed(): void;
|
|
186
|
+
onButtonFocus(button: OverflowMenuButtonModify): void;
|
|
187
|
+
onButtonBlur(button: OverflowMenuButtonModify): void;
|
|
188
|
+
onButtonClick(button: OverflowMenuButtonModify, $event: Event): void;
|
|
189
|
+
onSubmenuOpened(): void;
|
|
190
|
+
trackByButton: (_: number, btn: OverflowMenuButtonModify) => string | number;
|
|
191
|
+
onButtonHover(button: OverflowMenuButtonModify, state: boolean): void;
|
|
192
|
+
getMenu(index: unknown): MatMenu | null;
|
|
193
|
+
private reindex;
|
|
194
|
+
private resetSubmenus;
|
|
195
|
+
private createSubmenus;
|
|
196
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponent, [{
|
|
197
|
+
optional: true;
|
|
198
|
+
}, null, null]>;
|
|
199
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OverflowMenuComponent, "ui-overflow-menu", never, {
|
|
200
|
+
"buttons": {
|
|
201
|
+
"alias": "buttons";
|
|
202
|
+
"required": false;
|
|
203
|
+
};
|
|
204
|
+
"iconTrigger": {
|
|
205
|
+
"alias": "iconTrigger";
|
|
206
|
+
"required": false;
|
|
207
|
+
};
|
|
208
|
+
"menuLabel": {
|
|
209
|
+
"alias": "menuLabel";
|
|
210
|
+
"required": false;
|
|
211
|
+
};
|
|
212
|
+
"applicationTheme": {
|
|
213
|
+
"alias": "applicationTheme";
|
|
214
|
+
"required": false;
|
|
215
|
+
};
|
|
216
|
+
"ariaLabel": {
|
|
217
|
+
"alias": "ariaLabel";
|
|
218
|
+
"required": false;
|
|
219
|
+
};
|
|
220
|
+
"testId": {
|
|
221
|
+
"alias": "testId";
|
|
222
|
+
"required": false;
|
|
223
|
+
};
|
|
224
|
+
"ariaRequired": {
|
|
225
|
+
"alias": "ariaRequired";
|
|
226
|
+
"required": false;
|
|
227
|
+
};
|
|
228
|
+
"describedby": {
|
|
229
|
+
"alias": "describedby";
|
|
230
|
+
"required": false;
|
|
231
|
+
};
|
|
232
|
+
"contentTemplateRef": {
|
|
233
|
+
"alias": "contentTemplateRef";
|
|
234
|
+
"required": false;
|
|
235
|
+
};
|
|
236
|
+
"buttonVariant": {
|
|
237
|
+
"alias": "buttonVariant";
|
|
238
|
+
"required": false;
|
|
239
|
+
};
|
|
240
|
+
"buttonSize": {
|
|
241
|
+
"alias": "buttonSize";
|
|
242
|
+
"required": false;
|
|
243
|
+
};
|
|
244
|
+
"menuConfig": {
|
|
245
|
+
"alias": "menuConfig";
|
|
246
|
+
"required": false;
|
|
247
|
+
};
|
|
248
|
+
"selectionMode": {
|
|
249
|
+
"alias": "selectionMode";
|
|
250
|
+
"required": false;
|
|
251
|
+
"isSignal": true;
|
|
252
|
+
};
|
|
253
|
+
"menuAnchor": {
|
|
254
|
+
"alias": "menuAnchor";
|
|
255
|
+
"required": false;
|
|
256
|
+
"isSignal": true;
|
|
257
|
+
};
|
|
258
|
+
"shouldMatchAnchorWidth": {
|
|
259
|
+
"alias": "shouldMatchAnchorWidth";
|
|
260
|
+
"required": false;
|
|
261
|
+
"isSignal": true;
|
|
262
|
+
};
|
|
263
|
+
"isDynamicMenu": {
|
|
264
|
+
"alias": "isDynamicMenu";
|
|
265
|
+
"required": false;
|
|
266
|
+
};
|
|
267
|
+
"withRemovableOption": {
|
|
268
|
+
"alias": "withRemovableOption";
|
|
269
|
+
"required": false;
|
|
270
|
+
};
|
|
271
|
+
}, {
|
|
272
|
+
"selectItem": "selectItem";
|
|
273
|
+
"menuOpened": "menuOpened";
|
|
274
|
+
"menuClosed": "menuClosed";
|
|
275
|
+
}, never, ["[menu-content]"], true, never>;
|
|
201
276
|
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<OverflowMenuComponentModule>;
|
|
277
|
+
export declare class OverflowMenuComponentModule {
|
|
278
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponentModule, never>;
|
|
279
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OverflowMenuComponentModule, never, [typeof i1.CommonModule, typeof i2.ButtonComponentModule, typeof i3.IconComponentModule, typeof i4.MatMenuModule, typeof i5.MatButtonModule, typeof i6.MatTooltipModule, typeof i7.EllipseTextDirective, typeof i7.UiTranslatePipe, typeof OverflowMenuComponent], [typeof OverflowMenuComponent]>;
|
|
280
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OverflowMenuComponentModule>;
|
|
207
281
|
}
|
|
208
|
-
|
|
209
|
-
export { OverflowMenuComponent, OverflowMenuComponentModule };
|
|
210
|
-
export type { MenuConfig, OverflowMenuButtonModify, OverflowMenuButtonsType, OverflowMenuSelectionMode };
|
|
282
|
+
export { ApplicationTheme };
|
|
@@ -1,52 +1,69 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import { EventEmitter } from
|
|
3
|
-
import { Observable } from
|
|
4
|
-
import * as i3 from
|
|
5
|
-
import { ApplicationTheme } from
|
|
6
|
-
|
|
7
|
-
import * as
|
|
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
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { EventEmitter } from "@angular/core";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
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 "@testgorilla/tgo-ui/components/button";
|
|
8
|
+
export declare class PageHeaderComponent {
|
|
9
|
+
private readonly defaultAppTheme;
|
|
10
|
+
protected readonly isMobile$: Observable<boolean>;
|
|
11
|
+
/**
|
|
12
|
+
* Flag to determine whether the "Back" button should be displayed.
|
|
13
|
+
* @default true
|
|
14
|
+
* @memberof PageHeaderComponent
|
|
15
|
+
*/
|
|
16
|
+
showBackButton: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Back button tooltip for mobile variation
|
|
19
|
+
* @property tooltip
|
|
20
|
+
* @memberof PageHeaderComponent
|
|
21
|
+
*/
|
|
22
|
+
tooltip: string;
|
|
23
|
+
backButtonTestId: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* Defines the application theme
|
|
27
|
+
*
|
|
28
|
+
* @type {ApplicationTheme}
|
|
29
|
+
* @memberof PageHeaderComponent
|
|
30
|
+
*/
|
|
31
|
+
applicationTheme: ApplicationTheme$1;
|
|
32
|
+
/**
|
|
33
|
+
* Event triggered when the "Back" button is clicked.
|
|
34
|
+
* @memberof PageHeaderComponent
|
|
35
|
+
*/
|
|
36
|
+
back: EventEmitter<void>;
|
|
37
|
+
constructor(defaultAppTheme: ApplicationTheme$1, isMobile$: Observable<boolean>);
|
|
38
|
+
protected onBack(): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, [{
|
|
40
|
+
optional: true;
|
|
41
|
+
}, null]>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ui-page-header", never, {
|
|
43
|
+
"showBackButton": {
|
|
44
|
+
"alias": "showBackButton";
|
|
45
|
+
"required": false;
|
|
46
|
+
};
|
|
47
|
+
"tooltip": {
|
|
48
|
+
"alias": "tooltip";
|
|
49
|
+
"required": false;
|
|
50
|
+
};
|
|
51
|
+
"backButtonTestId": {
|
|
52
|
+
"alias": "backButtonTestId";
|
|
53
|
+
"required": false;
|
|
54
|
+
};
|
|
55
|
+
"applicationTheme": {
|
|
56
|
+
"alias": "applicationTheme";
|
|
57
|
+
"required": false;
|
|
58
|
+
};
|
|
59
|
+
}, {
|
|
60
|
+
"back": "back";
|
|
61
|
+
}, never, ["[content]", "[right-side]"], true, never>;
|
|
62
|
+
static ngAcceptInputType_showBackButton: unknown;
|
|
44
63
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
|
|
64
|
+
export declare class PageHeaderModule {
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
|
|
66
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, never, [typeof i1.CommonModule, typeof i2.ButtonComponentModule, typeof i3.UiTranslatePipe, typeof PageHeaderComponent], [typeof PageHeaderComponent]>;
|
|
67
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
|
|
50
68
|
}
|
|
51
|
-
|
|
52
|
-
export { PageHeaderComponent, PageHeaderModule };
|
|
69
|
+
export { ApplicationTheme };
|