@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,188 +1,287 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import { NgxSkeletonLoaderConfigTheme } from
|
|
4
|
-
import * as i4 from
|
|
5
|
-
import { IconName } from
|
|
6
|
-
import * as i3 from
|
|
7
|
-
import { MatTabGroup } from
|
|
8
|
-
import { Observable } from
|
|
9
|
-
import * as i5 from
|
|
10
|
-
import { ApplicationTheme } from
|
|
11
|
-
|
|
12
|
-
import * as
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
isSkeletonAiTheme?: boolean;
|
|
32
|
-
isLabelLoading?: boolean;
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnInit, TemplateRef } from "@angular/core";
|
|
3
|
+
import { NgxSkeletonLoaderConfigTheme } from "ngx-skeleton-loader";
|
|
4
|
+
import * as i4 from "@testgorilla/tgo-ui/components/icon";
|
|
5
|
+
import { IconName } from "@testgorilla/tgo-ui/components/icon";
|
|
6
|
+
import * as i3 from "@angular/material/tabs";
|
|
7
|
+
import { MatTabGroup } from "@angular/material/tabs";
|
|
8
|
+
import { Observable } from "rxjs";
|
|
9
|
+
import * as i5 from "@testgorilla/tgo-ui/components/core";
|
|
10
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
11
|
+
import * as i2 from "@angular/common";
|
|
12
|
+
import * as i6 from "@testgorilla/tgo-ui/components/skeleton";
|
|
13
|
+
export interface Tab {
|
|
14
|
+
tabName: string;
|
|
15
|
+
tabLabel: string;
|
|
16
|
+
contentTemplateRef: TemplateRef<unknown>;
|
|
17
|
+
iconLeft?: IconName;
|
|
18
|
+
iconRight?: IconName;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
canLeave?: (ctx?: {
|
|
21
|
+
currentTab: Tab;
|
|
22
|
+
nextTab: Tab;
|
|
23
|
+
}) => boolean | Promise<boolean>;
|
|
24
|
+
linkUrl?: string;
|
|
25
|
+
ariaLabel?: string;
|
|
26
|
+
testId?: string;
|
|
27
|
+
order?: number;
|
|
28
|
+
skeletonTheme?: NgxSkeletonLoaderConfigTheme;
|
|
29
|
+
isSkeletonAiTheme?: boolean;
|
|
30
|
+
isLabelLoading?: boolean;
|
|
33
31
|
}
|
|
34
|
-
type TabsType = 'underlined' | 'filled';
|
|
35
|
-
declare const TAB_HEADER_SIZE: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
export type TabsType = 'underlined' | 'filled';
|
|
33
|
+
export declare const TAB_HEADER_SIZE: {
|
|
34
|
+
readonly BIG: "big";
|
|
35
|
+
readonly MEDIUM: "medium";
|
|
36
|
+
readonly SMALL: "small";
|
|
39
37
|
};
|
|
40
|
-
type TabHeaderSize = (typeof TAB_HEADER_SIZE)[keyof typeof TAB_HEADER_SIZE];
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
38
|
+
export type TabHeaderSize = (typeof TAB_HEADER_SIZE)[keyof typeof TAB_HEADER_SIZE];
|
|
39
|
+
export declare class TabDirective implements OnInit {
|
|
40
|
+
tabLabel: import("@angular/core").InputSignal<string>;
|
|
41
|
+
tabName: import("@angular/core").InputSignal<string>;
|
|
42
|
+
iconLeft: import("@angular/core").InputSignal<IconName | undefined>;
|
|
43
|
+
iconRight: import("@angular/core").InputSignal<IconName | undefined>;
|
|
44
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, string>;
|
|
45
|
+
canLeave: import("@angular/core").InputSignal<((ctx?: {
|
|
46
|
+
currentTab: Tab;
|
|
47
|
+
nextTab: Tab;
|
|
48
|
+
}) => boolean | Promise<boolean>) | undefined>;
|
|
49
|
+
linkUrl: import("@angular/core").InputSignal<string | undefined>;
|
|
50
|
+
order: import("@angular/core").InputSignal<number | undefined>;
|
|
51
|
+
skeletonTheme: import("@angular/core").InputSignal<NgxSkeletonLoaderConfigTheme | undefined>;
|
|
52
|
+
isSkeletonAiTheme: import("@angular/core").InputSignal<boolean | undefined>;
|
|
53
|
+
isLabelLoading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
54
|
+
private readonly tabsComponent;
|
|
55
|
+
private readonly template;
|
|
56
|
+
private readonly syncProps;
|
|
57
|
+
private readonly cleanup;
|
|
58
|
+
ngOnInit(): void;
|
|
59
|
+
private addTab;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabDirective, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabDirective, "ng-template[uiTab]", never, {
|
|
62
|
+
"tabLabel": {
|
|
63
|
+
"alias": "tabLabel";
|
|
64
|
+
"required": true;
|
|
65
|
+
"isSignal": true;
|
|
66
|
+
};
|
|
67
|
+
"tabName": {
|
|
68
|
+
"alias": "tabName";
|
|
69
|
+
"required": true;
|
|
70
|
+
"isSignal": true;
|
|
71
|
+
};
|
|
72
|
+
"iconLeft": {
|
|
73
|
+
"alias": "iconLeft";
|
|
74
|
+
"required": false;
|
|
75
|
+
"isSignal": true;
|
|
76
|
+
};
|
|
77
|
+
"iconRight": {
|
|
78
|
+
"alias": "iconRight";
|
|
79
|
+
"required": false;
|
|
80
|
+
"isSignal": true;
|
|
81
|
+
};
|
|
82
|
+
"disabled": {
|
|
83
|
+
"alias": "disabled";
|
|
84
|
+
"required": false;
|
|
85
|
+
"isSignal": true;
|
|
86
|
+
};
|
|
87
|
+
"canLeave": {
|
|
88
|
+
"alias": "canLeave";
|
|
89
|
+
"required": false;
|
|
90
|
+
"isSignal": true;
|
|
91
|
+
};
|
|
92
|
+
"linkUrl": {
|
|
93
|
+
"alias": "linkUrl";
|
|
94
|
+
"required": false;
|
|
95
|
+
"isSignal": true;
|
|
96
|
+
};
|
|
97
|
+
"order": {
|
|
98
|
+
"alias": "order";
|
|
99
|
+
"required": false;
|
|
100
|
+
"isSignal": true;
|
|
101
|
+
};
|
|
102
|
+
"skeletonTheme": {
|
|
103
|
+
"alias": "skeletonTheme";
|
|
104
|
+
"required": false;
|
|
105
|
+
"isSignal": true;
|
|
106
|
+
};
|
|
107
|
+
"isSkeletonAiTheme": {
|
|
108
|
+
"alias": "isSkeletonAiTheme";
|
|
109
|
+
"required": false;
|
|
110
|
+
"isSignal": true;
|
|
111
|
+
};
|
|
112
|
+
"isLabelLoading": {
|
|
113
|
+
"alias": "isLabelLoading";
|
|
114
|
+
"required": false;
|
|
115
|
+
"isSignal": true;
|
|
116
|
+
};
|
|
117
|
+
}, {}, never, never, true, never>;
|
|
65
118
|
}
|
|
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
|
-
|
|
119
|
+
export declare class TabsComponent implements AfterViewInit {
|
|
120
|
+
private readonly defaultAppTheme;
|
|
121
|
+
protected readonly isMobile$: Observable<boolean>;
|
|
122
|
+
private readonly cdr;
|
|
123
|
+
/**
|
|
124
|
+
* Color of the Tabs.
|
|
125
|
+
* Defaults to Test Gorilla primary color.
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof TabsComponent
|
|
129
|
+
*/
|
|
130
|
+
companyColor: string | null;
|
|
131
|
+
/**
|
|
132
|
+
* Type the Tabs.
|
|
133
|
+
* Defaults underlined.
|
|
134
|
+
*
|
|
135
|
+
* @type {TabsType}
|
|
136
|
+
* @memberof TabsComponent
|
|
137
|
+
*/
|
|
138
|
+
type: TabsType;
|
|
139
|
+
/**
|
|
140
|
+
* Animation duration when switching tabs
|
|
141
|
+
*
|
|
142
|
+
* @type {number}
|
|
143
|
+
* @memberof TabsComponent
|
|
144
|
+
*/
|
|
145
|
+
animationDuration: number;
|
|
146
|
+
/**
|
|
147
|
+
* Sets the padding for content and header
|
|
148
|
+
*
|
|
149
|
+
* @type {number}
|
|
150
|
+
* @memberof TabsComponent
|
|
151
|
+
*/
|
|
152
|
+
headerContentPadding: string;
|
|
153
|
+
/**
|
|
154
|
+
* Sets the dynamic height of the tab
|
|
155
|
+
* @type {boolean}
|
|
156
|
+
* @memberof TabsComponent
|
|
157
|
+
*/
|
|
158
|
+
dynamicHeight: boolean;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* Defines the application theme
|
|
162
|
+
*
|
|
163
|
+
* @type {ApplicationTheme}
|
|
164
|
+
* @memberof TabsComponent
|
|
165
|
+
*/
|
|
166
|
+
applicationTheme: ApplicationTheme$1;
|
|
167
|
+
tabHeaderSize: import("@angular/core").InputSignal<TabHeaderSize>;
|
|
168
|
+
isLoading: import("@angular/core").InputSignal<boolean>;
|
|
169
|
+
/**
|
|
170
|
+
* Name of the tab to show. Applied as tabs register, so a tab requested before the
|
|
171
|
+
* projected `ng-template uiTab` children exist — a deep link, a query param — is still
|
|
172
|
+
* honoured on first paint, with no need to call `selectTab()` from a lifecycle hook.
|
|
173
|
+
*
|
|
174
|
+
* This is a request, not live state: it is applied when the value changes and once more as
|
|
175
|
+
* soon as the named tab registers, but a later click or a change to the tab list will not
|
|
176
|
+
* snap the selection back to it. An unknown name is a no-op — while tabs are still
|
|
177
|
+
* registering every name is unknown, so it cannot warn or throw. Bind a name the consumer
|
|
178
|
+
* has already validated.
|
|
179
|
+
*
|
|
180
|
+
* Applying it does not emit `selectedTab` / `selectedTabIndex` (the consumer supplied the
|
|
181
|
+
* value, so echoing it back would double-handle it) and does not consult the current tab's
|
|
182
|
+
* `canLeave` — declarative selection is the consumer's own decision, so it owns any
|
|
183
|
+
* guarding around the value it binds. User-driven switches still honour `canLeave`.
|
|
184
|
+
*/
|
|
185
|
+
readonly selectedTabName: import("@angular/core").InputSignal<string | null>;
|
|
186
|
+
readonly testId: import("@angular/core").InputSignal<string | null>;
|
|
187
|
+
selectedTabIndex: EventEmitter<number>;
|
|
188
|
+
selectedTab: EventEmitter<Tab>;
|
|
189
|
+
tabGroup: MatTabGroup;
|
|
190
|
+
protected tabs: Tab[];
|
|
191
|
+
readonly tabIndex: import("@angular/core").WritableSignal<number>;
|
|
192
|
+
protected tabIndexMap: Record<string, number>;
|
|
193
|
+
private insertionCounter;
|
|
194
|
+
private tabTransitionInProgress;
|
|
195
|
+
private requestedTabName;
|
|
196
|
+
constructor(defaultAppTheme: ApplicationTheme$1, isMobile$: Observable<boolean>, cdr: ChangeDetectorRef);
|
|
197
|
+
ngAfterViewInit(): void;
|
|
198
|
+
addTab(tab: Tab): void;
|
|
199
|
+
private sortTabs;
|
|
200
|
+
private updateTabIndexMap;
|
|
201
|
+
private get activeTabName();
|
|
202
|
+
/**
|
|
203
|
+
* `tabIndex` stores a position, but the selection it stands for is a tab identity, and
|
|
204
|
+
* adding, removing or re-ordering tabs shifts positions. Without re-resolving the index
|
|
205
|
+
* from the name, `tabIndex` keeps pointing at whatever tab now sits at that position —
|
|
206
|
+
* MatTabGroup re-derives its own selection from the active tab, so the body stays correct
|
|
207
|
+
* while this component's `aria-selected` and click gating silently drift onto a different
|
|
208
|
+
* tab. Falls back to clamping when the active tab is the one that went away.
|
|
209
|
+
*/
|
|
210
|
+
private reconcileTabIndex;
|
|
211
|
+
/**
|
|
212
|
+
* Applies `selectedTabName` once the named tab is known, then clears the request so later
|
|
213
|
+
* clicks and tab list changes are not overridden by a stale value. Stays armed while the
|
|
214
|
+
* name is unresolved, because a requested tab can register after the input is set — either
|
|
215
|
+
* with the rest of a subtree that renders late, or later still if it is behind its own
|
|
216
|
+
* condition — so `addTab()` retries until it resolves.
|
|
217
|
+
*
|
|
218
|
+
* Silent by design — see the doc on `selectedTabName`.
|
|
219
|
+
*/
|
|
220
|
+
private applyRequestedTabName;
|
|
221
|
+
onTabChange(index: number): void;
|
|
222
|
+
selectTab(tabName: string): void;
|
|
223
|
+
indexOf(tabName: string): number;
|
|
224
|
+
trackByTabName(index: number, tab: Tab): string;
|
|
225
|
+
removeTab(tabName: string): void;
|
|
226
|
+
updateTab(tabName: string, tab: Partial<Omit<Tab, 'tabName'>>): void;
|
|
227
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, [{
|
|
228
|
+
optional: true;
|
|
229
|
+
}, null, null]>;
|
|
230
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ui-tabs", never, {
|
|
231
|
+
"companyColor": {
|
|
232
|
+
"alias": "companyColor";
|
|
233
|
+
"required": false;
|
|
234
|
+
};
|
|
235
|
+
"type": {
|
|
236
|
+
"alias": "type";
|
|
237
|
+
"required": false;
|
|
238
|
+
};
|
|
239
|
+
"animationDuration": {
|
|
240
|
+
"alias": "animationDuration";
|
|
241
|
+
"required": false;
|
|
242
|
+
};
|
|
243
|
+
"headerContentPadding": {
|
|
244
|
+
"alias": "headerContentPadding";
|
|
245
|
+
"required": false;
|
|
246
|
+
};
|
|
247
|
+
"dynamicHeight": {
|
|
248
|
+
"alias": "dynamicHeight";
|
|
249
|
+
"required": false;
|
|
250
|
+
};
|
|
251
|
+
"applicationTheme": {
|
|
252
|
+
"alias": "applicationTheme";
|
|
253
|
+
"required": false;
|
|
254
|
+
};
|
|
255
|
+
"tabHeaderSize": {
|
|
256
|
+
"alias": "tabHeaderSize";
|
|
257
|
+
"required": false;
|
|
258
|
+
"isSignal": true;
|
|
259
|
+
};
|
|
260
|
+
"isLoading": {
|
|
261
|
+
"alias": "isLoading";
|
|
262
|
+
"required": false;
|
|
263
|
+
"isSignal": true;
|
|
264
|
+
};
|
|
265
|
+
"selectedTabName": {
|
|
266
|
+
"alias": "selectedTabName";
|
|
267
|
+
"required": false;
|
|
268
|
+
"isSignal": true;
|
|
269
|
+
};
|
|
270
|
+
"testId": {
|
|
271
|
+
"alias": "testId";
|
|
272
|
+
"required": false;
|
|
273
|
+
"isSignal": true;
|
|
274
|
+
};
|
|
275
|
+
}, {
|
|
276
|
+
"selectedTabIndex": "selectedTabIndex";
|
|
277
|
+
"selectedTab": "selectedTab";
|
|
278
|
+
}, never, never, true, never>;
|
|
279
|
+
static ngAcceptInputType_headerContentPadding: number;
|
|
280
|
+
static ngAcceptInputType_dynamicHeight: unknown;
|
|
179
281
|
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<TabsComponentModule>;
|
|
282
|
+
export declare class TabsComponentModule {
|
|
283
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponentModule, never>;
|
|
284
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TabsComponentModule, never, [typeof TabDirective, typeof i2.CommonModule, typeof i3.MatTabsModule, typeof i4.IconComponentModule, typeof i5.UiTranslatePipe, typeof i6.SkeletonComponent, typeof TabsComponent], [typeof TabsComponent, typeof TabDirective]>;
|
|
285
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TabsComponentModule>;
|
|
185
286
|
}
|
|
186
|
-
|
|
187
|
-
export { TAB_HEADER_SIZE, TabDirective, TabsComponent, TabsComponentModule };
|
|
188
|
-
export type { Tab, TabHeaderSize, TabsType };
|
|
287
|
+
export { ApplicationTheme };
|