@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,215 +1,333 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
import * as
|
|
10
|
-
import {
|
|
11
|
-
import * as
|
|
12
|
-
import {
|
|
13
|
-
import * as
|
|
14
|
-
import
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import * as
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
id: string;
|
|
26
|
-
title: string;
|
|
27
|
-
badgeOptions?: RouteBadge;
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { Signal, TemplateRef } from "@angular/core";
|
|
3
|
+
import * as i10 from "@testgorilla/tgo-ui/components/avatar";
|
|
4
|
+
import { AvatarSize } from "@testgorilla/tgo-ui/components/avatar";
|
|
5
|
+
import * as i9 from "@testgorilla/tgo-ui/components/core";
|
|
6
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
7
|
+
import * as i7 from "@testgorilla/tgo-ui/components/logo";
|
|
8
|
+
import { LogoTypeEnum } from "@testgorilla/tgo-ui/components/logo";
|
|
9
|
+
import * as i14 from "@testgorilla/tgo-ui/components/badge";
|
|
10
|
+
import { BadgeVariant, RebrandBadgeColor } from "@testgorilla/tgo-ui/components/badge";
|
|
11
|
+
import * as i8 from "@testgorilla/tgo-ui/components/icon";
|
|
12
|
+
import { IconName } from "@testgorilla/tgo-ui/components/icon";
|
|
13
|
+
import * as i1 from "@angular/common";
|
|
14
|
+
import * as i2 from "@angular/material/toolbar";
|
|
15
|
+
import * as i3 from "@angular/material/icon";
|
|
16
|
+
import * as i4 from "@angular/material/button";
|
|
17
|
+
import * as i5 from "@angular/material/core";
|
|
18
|
+
import * as i6 from "@angular/material/menu";
|
|
19
|
+
import * as i11 from "@testgorilla/tgo-ui/components/side-sheet";
|
|
20
|
+
import * as i12 from "@testgorilla/tgo-ui/components/button";
|
|
21
|
+
export interface IRoute {
|
|
22
|
+
id: string;
|
|
23
|
+
title: string;
|
|
24
|
+
badgeOptions?: RouteBadge;
|
|
28
25
|
}
|
|
29
|
-
interface RouteBadge {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
export interface RouteBadge {
|
|
27
|
+
color: RebrandBadgeColor;
|
|
28
|
+
text?: string;
|
|
29
|
+
variant?: BadgeVariant;
|
|
30
|
+
notificationsAmount?: number;
|
|
34
31
|
}
|
|
35
|
-
interface MenuItem {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
export interface MenuItem {
|
|
33
|
+
id: string;
|
|
34
|
+
icon: IconName;
|
|
35
|
+
text: string;
|
|
39
36
|
}
|
|
40
|
-
interface MenuState {
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
export interface MenuState {
|
|
38
|
+
screenSize: ScreenSize;
|
|
39
|
+
isOpened: boolean;
|
|
43
40
|
}
|
|
44
|
-
type ScreenSize = 'mobile' | 'tablet' | 'desktop';
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
41
|
+
export type ScreenSize = 'mobile' | 'tablet' | 'desktop';
|
|
42
|
+
export declare class NavbarComponent {
|
|
43
|
+
private readonly breakpointObserver;
|
|
44
|
+
private readonly sideSheetService;
|
|
45
|
+
private readonly translatePipe;
|
|
46
|
+
private readonly defaultAppTheme;
|
|
47
|
+
/**
|
|
48
|
+
* Routes object
|
|
49
|
+
*
|
|
50
|
+
* @memberof NavbarComponent
|
|
51
|
+
* @ignore
|
|
52
|
+
*/
|
|
53
|
+
readonly routes: import("@angular/core").InputSignal<IRoute[]>;
|
|
54
|
+
/**
|
|
55
|
+
* Actived route id
|
|
56
|
+
*
|
|
57
|
+
* @memberof NavbarComponent
|
|
58
|
+
*/
|
|
59
|
+
readonly activedRoute: import("@angular/core").InputSignal<string>;
|
|
60
|
+
/**
|
|
61
|
+
* User first name and last name
|
|
62
|
+
*
|
|
63
|
+
* @memberof NavbarComponent
|
|
64
|
+
*/
|
|
65
|
+
readonly userName: import("@angular/core").InputSignal<string>;
|
|
66
|
+
/**
|
|
67
|
+
* User email
|
|
68
|
+
*
|
|
69
|
+
* @memberof NavbarComponent
|
|
70
|
+
*/
|
|
71
|
+
readonly email: import("@angular/core").InputSignal<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Menu items to show in menu above the Log out button
|
|
74
|
+
*
|
|
75
|
+
* @memberof NavbarComponent
|
|
76
|
+
*/
|
|
77
|
+
readonly menuItems: import("@angular/core").InputSignal<MenuItem[]>;
|
|
78
|
+
/**
|
|
79
|
+
* Defines the application theme
|
|
80
|
+
*
|
|
81
|
+
* @memberof NavbarComponent
|
|
82
|
+
*/
|
|
83
|
+
readonly applicationTheme: import("@angular/core").InputSignal<ApplicationTheme$1>;
|
|
84
|
+
/**
|
|
85
|
+
* It's ng-content for the collapsed (drawer) version
|
|
86
|
+
*
|
|
87
|
+
* @memberof NavbarComponent
|
|
88
|
+
*/
|
|
89
|
+
readonly contentTemplateRef: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Additional info template reference for the extra user info in the dropdown/sidesheet
|
|
92
|
+
*
|
|
93
|
+
* @memberof NavbarComponent
|
|
94
|
+
*/
|
|
95
|
+
readonly userInfoExtraTemplateRef: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Custom content template reference for the menu section between user info and menu items.
|
|
98
|
+
* Use this to add custom components like credits display.
|
|
99
|
+
*
|
|
100
|
+
* @memberof NavbarComponent
|
|
101
|
+
*/
|
|
102
|
+
readonly menuContentTemplateRef: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Width at or below which the navbar renders its compact (brandmark) logo
|
|
105
|
+
*
|
|
106
|
+
* @memberof NavbarComponent
|
|
107
|
+
*/
|
|
108
|
+
readonly mobileBreakpoint: import("@angular/core").InputSignalWithTransform<number, number>;
|
|
109
|
+
/**
|
|
110
|
+
* Width at or below which the horizontal navigation and the profile menu collapse
|
|
111
|
+
* into the hamburger-triggered drawer
|
|
112
|
+
*
|
|
113
|
+
* @memberof NavbarComponent
|
|
114
|
+
*/
|
|
115
|
+
readonly collapseBreakpoint: import("@angular/core").InputSignalWithTransform<number, number>;
|
|
116
|
+
/**
|
|
117
|
+
* Show avatar with user initials
|
|
118
|
+
*
|
|
119
|
+
* @memberof NavbarComponent
|
|
120
|
+
*/
|
|
121
|
+
readonly isAvatar: import("@angular/core").InputSignal<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* Sets class for the menu
|
|
124
|
+
*
|
|
125
|
+
* @memberof NavbarComponent
|
|
126
|
+
*/
|
|
127
|
+
readonly menuClass: import("@angular/core").InputSignal<string>;
|
|
128
|
+
/**
|
|
129
|
+
* @ignore
|
|
130
|
+
*/
|
|
131
|
+
readonly navigateEvent: import("@angular/core").OutputEmitterRef<string>;
|
|
132
|
+
/**
|
|
133
|
+
* @ignore
|
|
134
|
+
*/
|
|
135
|
+
readonly menuItemClicked: import("@angular/core").OutputEmitterRef<string>;
|
|
136
|
+
/**
|
|
137
|
+
* @ignore
|
|
138
|
+
*/
|
|
139
|
+
readonly logoutEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
140
|
+
readonly menuState: import("@angular/core").OutputEmitterRef<MenuState>;
|
|
141
|
+
protected readonly isMobile: Signal<boolean>;
|
|
142
|
+
protected readonly isCollapsed: Signal<boolean>;
|
|
143
|
+
protected readonly screenSize: Signal<ScreenSize>;
|
|
144
|
+
/**
|
|
145
|
+
* @deprecated Use the `screenSize` reported by `menuState` instead. Removed in the next major.
|
|
146
|
+
*/
|
|
147
|
+
protected readonly isMobile$: import("rxjs").Observable<boolean>;
|
|
148
|
+
/**
|
|
149
|
+
* @deprecated Use the `screenSize` reported by `menuState` instead. Removed in the next major.
|
|
150
|
+
*/
|
|
151
|
+
protected readonly isTablet$: import("rxjs").Observable<boolean>;
|
|
152
|
+
protected readonly translationContext = "NAVBAR.";
|
|
153
|
+
protected readonly logoType: typeof LogoTypeEnum;
|
|
154
|
+
protected readonly AvatarSize: typeof AvatarSize;
|
|
155
|
+
readonly activeRoutesMap: Signal<Map<string, boolean>>;
|
|
156
|
+
/**
|
|
157
|
+
* Output subscriptions of the currently open drawer. Torn down when it closes, so repeated
|
|
158
|
+
* opens don't accumulate one set per open.
|
|
159
|
+
*/
|
|
160
|
+
private drawerSubscriptions;
|
|
161
|
+
private readonly isDrawerOpened;
|
|
162
|
+
private readonly closeDrawerOnExpand;
|
|
163
|
+
openMobileMenu(): void;
|
|
164
|
+
/**
|
|
165
|
+
* Closes the drawer if the navbar is currently collapsed. Consumers use this to dismiss the
|
|
166
|
+
* menu on navigation without reaching into the component's internals.
|
|
167
|
+
*/
|
|
168
|
+
closeMenu(): void;
|
|
169
|
+
navigate(routeId: string): void;
|
|
170
|
+
logout(): void;
|
|
171
|
+
clickMenuItem(id: string): void;
|
|
172
|
+
onChangeMenuState(isOpened: boolean, screenSize: ScreenSize): void;
|
|
173
|
+
protected onSideSheetOpenChange(isOpened: boolean): void;
|
|
174
|
+
private teardownDrawerSubscriptions;
|
|
175
|
+
private observeMaxWidth;
|
|
176
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
|
|
177
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, {
|
|
178
|
+
"routes": {
|
|
179
|
+
"alias": "routes";
|
|
180
|
+
"required": false;
|
|
181
|
+
"isSignal": true;
|
|
182
|
+
};
|
|
183
|
+
"activedRoute": {
|
|
184
|
+
"alias": "activedRoute";
|
|
185
|
+
"required": false;
|
|
186
|
+
"isSignal": true;
|
|
187
|
+
};
|
|
188
|
+
"userName": {
|
|
189
|
+
"alias": "userName";
|
|
190
|
+
"required": false;
|
|
191
|
+
"isSignal": true;
|
|
192
|
+
};
|
|
193
|
+
"email": {
|
|
194
|
+
"alias": "email";
|
|
195
|
+
"required": false;
|
|
196
|
+
"isSignal": true;
|
|
197
|
+
};
|
|
198
|
+
"menuItems": {
|
|
199
|
+
"alias": "menuItems";
|
|
200
|
+
"required": false;
|
|
201
|
+
"isSignal": true;
|
|
202
|
+
};
|
|
203
|
+
"applicationTheme": {
|
|
204
|
+
"alias": "applicationTheme";
|
|
205
|
+
"required": false;
|
|
206
|
+
"isSignal": true;
|
|
207
|
+
};
|
|
208
|
+
"contentTemplateRef": {
|
|
209
|
+
"alias": "contentTemplateRef";
|
|
210
|
+
"required": false;
|
|
211
|
+
"isSignal": true;
|
|
212
|
+
};
|
|
213
|
+
"userInfoExtraTemplateRef": {
|
|
214
|
+
"alias": "userInfoExtraTemplateRef";
|
|
215
|
+
"required": false;
|
|
216
|
+
"isSignal": true;
|
|
217
|
+
};
|
|
218
|
+
"menuContentTemplateRef": {
|
|
219
|
+
"alias": "menuContentTemplateRef";
|
|
220
|
+
"required": false;
|
|
221
|
+
"isSignal": true;
|
|
222
|
+
};
|
|
223
|
+
"mobileBreakpoint": {
|
|
224
|
+
"alias": "mobileBreakpoint";
|
|
225
|
+
"required": false;
|
|
226
|
+
"isSignal": true;
|
|
227
|
+
};
|
|
228
|
+
"collapseBreakpoint": {
|
|
229
|
+
"alias": "collapseBreakpoint";
|
|
230
|
+
"required": false;
|
|
231
|
+
"isSignal": true;
|
|
232
|
+
};
|
|
233
|
+
"isAvatar": {
|
|
234
|
+
"alias": "isAvatar";
|
|
235
|
+
"required": false;
|
|
236
|
+
"isSignal": true;
|
|
237
|
+
};
|
|
238
|
+
"menuClass": {
|
|
239
|
+
"alias": "menuClass";
|
|
240
|
+
"required": false;
|
|
241
|
+
"isSignal": true;
|
|
242
|
+
};
|
|
243
|
+
}, {
|
|
244
|
+
"navigateEvent": "navigateEvent";
|
|
245
|
+
"menuItemClicked": "menuItemClicked";
|
|
246
|
+
"logoutEvent": "logoutEvent";
|
|
247
|
+
"menuState": "menuState";
|
|
248
|
+
}, never, ["[actions]", "*"], true, never>;
|
|
182
249
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
250
|
+
export declare class MobileNavbarSideSheetComponent {
|
|
251
|
+
readonly routes: import("@angular/core").InputSignal<IRoute[]>;
|
|
252
|
+
readonly activedRoute: import("@angular/core").InputSignal<string>;
|
|
253
|
+
readonly email: import("@angular/core").InputSignal<string>;
|
|
254
|
+
readonly userName: import("@angular/core").InputSignal<string>;
|
|
255
|
+
readonly menuItems: import("@angular/core").InputSignal<MenuItem[]>;
|
|
256
|
+
readonly contentTemplateRef: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
257
|
+
readonly userInfoExtraTemplateRef: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
258
|
+
readonly menuContentTemplateRef: import("@angular/core").InputSignal<TemplateRef<unknown> | undefined>;
|
|
259
|
+
readonly isDesktop: import("@angular/core").InputSignal<boolean>;
|
|
260
|
+
readonly applicationTheme: import("@angular/core").InputSignal<ApplicationTheme$1>;
|
|
261
|
+
readonly navigateEvent: import("@angular/core").OutputEmitterRef<string>;
|
|
262
|
+
readonly menuItemClicked: import("@angular/core").OutputEmitterRef<string>;
|
|
263
|
+
readonly logoutEvent: import("@angular/core").OutputEmitterRef<void>;
|
|
264
|
+
protected readonly translationContext = "NAVBAR.";
|
|
265
|
+
protected readonly avatarSize: typeof AvatarSize;
|
|
266
|
+
readonly activeRoutesMap: Signal<Map<string, boolean>>;
|
|
267
|
+
navigate(routeId: string): void;
|
|
268
|
+
logout(): void;
|
|
269
|
+
clickMenuItem(id: string): void;
|
|
270
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MobileNavbarSideSheetComponent, never>;
|
|
271
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MobileNavbarSideSheetComponent, "ui-mobile-navbar-side-sheet", never, {
|
|
272
|
+
"routes": {
|
|
273
|
+
"alias": "routes";
|
|
274
|
+
"required": false;
|
|
275
|
+
"isSignal": true;
|
|
276
|
+
};
|
|
277
|
+
"activedRoute": {
|
|
278
|
+
"alias": "activedRoute";
|
|
279
|
+
"required": false;
|
|
280
|
+
"isSignal": true;
|
|
281
|
+
};
|
|
282
|
+
"email": {
|
|
283
|
+
"alias": "email";
|
|
284
|
+
"required": false;
|
|
285
|
+
"isSignal": true;
|
|
286
|
+
};
|
|
287
|
+
"userName": {
|
|
288
|
+
"alias": "userName";
|
|
289
|
+
"required": false;
|
|
290
|
+
"isSignal": true;
|
|
291
|
+
};
|
|
292
|
+
"menuItems": {
|
|
293
|
+
"alias": "menuItems";
|
|
294
|
+
"required": false;
|
|
295
|
+
"isSignal": true;
|
|
296
|
+
};
|
|
297
|
+
"contentTemplateRef": {
|
|
298
|
+
"alias": "contentTemplateRef";
|
|
299
|
+
"required": false;
|
|
300
|
+
"isSignal": true;
|
|
301
|
+
};
|
|
302
|
+
"userInfoExtraTemplateRef": {
|
|
303
|
+
"alias": "userInfoExtraTemplateRef";
|
|
304
|
+
"required": false;
|
|
305
|
+
"isSignal": true;
|
|
306
|
+
};
|
|
307
|
+
"menuContentTemplateRef": {
|
|
308
|
+
"alias": "menuContentTemplateRef";
|
|
309
|
+
"required": false;
|
|
310
|
+
"isSignal": true;
|
|
311
|
+
};
|
|
312
|
+
"isDesktop": {
|
|
313
|
+
"alias": "isDesktop";
|
|
314
|
+
"required": false;
|
|
315
|
+
"isSignal": true;
|
|
316
|
+
};
|
|
317
|
+
"applicationTheme": {
|
|
318
|
+
"alias": "applicationTheme";
|
|
319
|
+
"required": false;
|
|
320
|
+
"isSignal": true;
|
|
321
|
+
};
|
|
322
|
+
}, {
|
|
323
|
+
"navigateEvent": "navigateEvent";
|
|
324
|
+
"menuItemClicked": "menuItemClicked";
|
|
325
|
+
"logoutEvent": "logoutEvent";
|
|
326
|
+
}, never, never, true, never>;
|
|
206
327
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<NavbarComponentModule>;
|
|
328
|
+
export declare class NavbarComponentModule {
|
|
329
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponentModule, never>;
|
|
330
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NavbarComponentModule, never, [typeof i1.CommonModule, typeof i2.MatToolbarModule, typeof i3.MatIconModule, typeof i4.MatButtonModule, typeof i5.MatRippleModule, typeof i6.MatMenuModule, typeof i7.LogoComponentModule, typeof i8.IconComponentModule, typeof i9.UiTranslatePipe, typeof i10.AvatarComponentModule, typeof i11.SideSheetComponentModule, typeof i12.ButtonComponentModule, typeof MobileNavbarSideSheetComponent, typeof i14.BadgeComponentModule, typeof NavbarComponent], [typeof NavbarComponent]>;
|
|
331
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NavbarComponentModule>;
|
|
212
332
|
}
|
|
213
|
-
|
|
214
|
-
export { MobileNavbarSideSheetComponent, NavbarComponent, NavbarComponentModule };
|
|
215
|
-
export type { IRoute, MenuItem, MenuState, RouteBadge, ScreenSize };
|
|
333
|
+
export { ApplicationTheme };
|