@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,272 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import * as i6 from
|
|
5
|
-
import { ButtonIconPosition } from
|
|
6
|
-
import * as i5 from
|
|
7
|
-
import { ApplicationTheme } from
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
icon?: IconName;
|
|
25
|
-
sectionTitle?: string;
|
|
1
|
+
import { CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ChangeDetectorRef, DestroyRef, ElementRef, EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
|
|
4
|
+
import * as i6 from "@testgorilla/tgo-ui/components/button";
|
|
5
|
+
import { ButtonIconPosition } from "@testgorilla/tgo-ui/components/button";
|
|
6
|
+
import * as i5 from "@testgorilla/tgo-ui/components/core";
|
|
7
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1 } from "@testgorilla/tgo-ui/components/core";
|
|
8
|
+
import * as i7 from "@testgorilla/tgo-ui/components/icon";
|
|
9
|
+
import { IconName } from "@testgorilla/tgo-ui/components/icon";
|
|
10
|
+
import * as i1 from "@angular/common";
|
|
11
|
+
import * as i2 from "@angular/forms";
|
|
12
|
+
import * as i3 from "@angular/material/tooltip";
|
|
13
|
+
import * as i4 from "@angular/cdk/overlay";
|
|
14
|
+
import * as i8 from "@testgorilla/tgo-ui/components/checkbox";
|
|
15
|
+
import * as i9 from "@testgorilla/tgo-ui/components/field";
|
|
16
|
+
import * as i10 from "@testgorilla/tgo-ui/components/radio-button";
|
|
17
|
+
export type FilterValue = string | number;
|
|
18
|
+
export interface FilterButtonOption {
|
|
19
|
+
value: FilterValue;
|
|
20
|
+
label: string;
|
|
21
|
+
labelNumber?: number;
|
|
22
|
+
icon?: IconName;
|
|
23
|
+
sectionTitle?: string;
|
|
26
24
|
}
|
|
27
|
-
interface OptionChangeEvent {
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
export interface OptionChangeEvent {
|
|
26
|
+
selected: boolean;
|
|
27
|
+
option: FilterButtonOption;
|
|
30
28
|
}
|
|
31
|
-
|
|
32
29
|
type FilterButtonRow = {
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
kind: 'header';
|
|
31
|
+
title: string;
|
|
35
32
|
} | {
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
kind: 'option';
|
|
34
|
+
option: FilterButtonOption;
|
|
38
35
|
};
|
|
39
|
-
declare class FilterButtonComponent implements OnChanges {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
36
|
+
export declare class FilterButtonComponent implements OnChanges {
|
|
37
|
+
private readonly defaultAppTheme;
|
|
38
|
+
private readonly cdr;
|
|
39
|
+
class: string;
|
|
40
|
+
/**
|
|
41
|
+
* The button label when no value is selected.
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof FilterButtonComponent
|
|
45
|
+
*/
|
|
46
|
+
label: string;
|
|
47
|
+
/**
|
|
48
|
+
* Optional message to display on the overflow bottom.
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof FilterButtonComponent
|
|
52
|
+
*/
|
|
53
|
+
message?: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* List of selected values.
|
|
56
|
+
*
|
|
57
|
+
* @type {string[]}
|
|
58
|
+
* @memberof FilterButtonComponent
|
|
59
|
+
*/
|
|
60
|
+
value: FilterValue[];
|
|
61
|
+
/**
|
|
62
|
+
* Whether the component is disabled.
|
|
63
|
+
* Default: false.
|
|
64
|
+
*
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
* @memberof FilterButtonComponent
|
|
67
|
+
*/
|
|
68
|
+
disabled: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* List of options.
|
|
71
|
+
*
|
|
72
|
+
* @type {OptionType}
|
|
73
|
+
* @memberof FilterButtonComponent
|
|
74
|
+
*/
|
|
75
|
+
options: import("@angular/core").InputSignal<FilterButtonOption[]>;
|
|
76
|
+
/**
|
|
77
|
+
* Whether the user should be allowed to clear the values.
|
|
78
|
+
* Default: true.
|
|
79
|
+
*
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof FilterButtonComponent
|
|
82
|
+
*/
|
|
83
|
+
allowClear: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Whether the user should be allowed to select single or multiple values.
|
|
86
|
+
* Default: false.
|
|
87
|
+
*
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof FilterButtonComponent
|
|
90
|
+
*/
|
|
91
|
+
singleSelection?: boolean | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* The icon name to display.
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof FilterButtonComponent
|
|
97
|
+
*
|
|
98
|
+
**/
|
|
99
|
+
iconName?: IconName;
|
|
100
|
+
/**
|
|
101
|
+
* The position of the icon.
|
|
102
|
+
* Default: 'right'.
|
|
103
|
+
*
|
|
104
|
+
* @type {ButtonIconPosition}
|
|
105
|
+
* @memberof FilterButtonComponent
|
|
106
|
+
*/
|
|
107
|
+
iconPosition?: ButtonIconPosition;
|
|
108
|
+
/**
|
|
109
|
+
* Optional message to display if there are no options to select available
|
|
110
|
+
*
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof FilterButtonComponent
|
|
113
|
+
*/
|
|
114
|
+
noOptionsMessage?: string | undefined;
|
|
115
|
+
/**
|
|
116
|
+
* Whether the button should stretch to fill its container, and the dropdown panel
|
|
117
|
+
* follow that width instead of the default 240px.
|
|
118
|
+
* The panel never shrinks below 240px, so a container narrower than that is safe.
|
|
119
|
+
* Default: false.
|
|
120
|
+
*
|
|
121
|
+
* @type {boolean}
|
|
122
|
+
* @memberof FilterButtonComponent
|
|
123
|
+
*/
|
|
124
|
+
fullWidth: boolean;
|
|
125
|
+
testId: string | null;
|
|
126
|
+
ariaLabel: string;
|
|
127
|
+
get panelTestId(): string | null;
|
|
128
|
+
get resetButtonTestId(): string | null;
|
|
129
|
+
/**
|
|
130
|
+
* Emits the list of selected values when the selection changes.
|
|
131
|
+
*
|
|
132
|
+
* @type {EventEmitter<string[]>}
|
|
133
|
+
* @memberof FilterButtonComponent
|
|
134
|
+
*/
|
|
135
|
+
changed: EventEmitter<FilterValue[]>;
|
|
136
|
+
/**
|
|
137
|
+
* Emits the option change event
|
|
138
|
+
*
|
|
139
|
+
* @type {EventEmitter<OptionChangeEvent>}
|
|
140
|
+
* @memberof FilterButtonComponent
|
|
141
|
+
*/
|
|
142
|
+
optionChange: EventEmitter<OptionChangeEvent>;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* Defines the application theme
|
|
146
|
+
*
|
|
147
|
+
* @type {ApplicationTheme}
|
|
148
|
+
* @memberof FilterButtonComponent
|
|
149
|
+
*/
|
|
150
|
+
applicationTheme: ApplicationTheme$1;
|
|
151
|
+
get fullWidthClass(): boolean;
|
|
152
|
+
overlayContainer: ElementRef<HTMLElement>;
|
|
153
|
+
viewport?: CdkVirtualScrollViewport;
|
|
154
|
+
private readonly triggerOrigin?;
|
|
155
|
+
private readonly connectedOverlay?;
|
|
156
|
+
/** Must match the `.item` height in the SCSS — the fixed-size viewport relies on it. */
|
|
157
|
+
readonly ITEM_SIZE = 48;
|
|
158
|
+
readonly MAX_LIST_HEIGHT = 290;
|
|
159
|
+
readonly PANEL_MIN_WIDTH = 240;
|
|
160
|
+
readonly MATCH_TRIGGER_PANEL_CLASS = "ui-filter-button-panel-match-trigger";
|
|
161
|
+
isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
162
|
+
displayedLabel: import("@angular/core").WritableSignal<string>;
|
|
163
|
+
tooltip: import("@angular/core").WritableSignal<string>;
|
|
164
|
+
search: import("@angular/core").WritableSignal<string>;
|
|
165
|
+
activeIndex: import("@angular/core").WritableSignal<number>;
|
|
166
|
+
showTooltip: {
|
|
167
|
+
[key: string]: boolean;
|
|
168
|
+
};
|
|
169
|
+
displayedOptions: import("@angular/core").Signal<{
|
|
170
|
+
sectionTitle: string;
|
|
171
|
+
value: FilterValue;
|
|
49
172
|
label: string;
|
|
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
|
-
changed: EventEmitter<FilterValue[]>;
|
|
139
|
-
/**
|
|
140
|
-
* Emits the option change event
|
|
141
|
-
*
|
|
142
|
-
* @type {EventEmitter<OptionChangeEvent>}
|
|
143
|
-
* @memberof FilterButtonComponent
|
|
144
|
-
*/
|
|
145
|
-
optionChange: EventEmitter<OptionChangeEvent>;
|
|
146
|
-
/**
|
|
147
|
-
*
|
|
148
|
-
* Defines the application theme
|
|
149
|
-
*
|
|
150
|
-
* @type {ApplicationTheme}
|
|
151
|
-
* @memberof FilterButtonComponent
|
|
152
|
-
*/
|
|
153
|
-
applicationTheme: ApplicationTheme;
|
|
154
|
-
get fullWidthClass(): boolean;
|
|
155
|
-
overlayContainer: ElementRef<HTMLElement>;
|
|
156
|
-
viewport?: CdkVirtualScrollViewport;
|
|
157
|
-
private readonly triggerOrigin?;
|
|
158
|
-
private readonly connectedOverlay?;
|
|
159
|
-
/** Must match the `.item` height in the SCSS — the fixed-size viewport relies on it. */
|
|
160
|
-
readonly ITEM_SIZE = 48;
|
|
161
|
-
readonly MAX_LIST_HEIGHT = 290;
|
|
162
|
-
readonly PANEL_MIN_WIDTH = 240;
|
|
163
|
-
readonly MATCH_TRIGGER_PANEL_CLASS = "ui-filter-button-panel-match-trigger";
|
|
164
|
-
isOpen: _angular_core.WritableSignal<boolean>;
|
|
165
|
-
displayedLabel: _angular_core.WritableSignal<string>;
|
|
166
|
-
tooltip: _angular_core.WritableSignal<string>;
|
|
167
|
-
search: _angular_core.WritableSignal<string>;
|
|
168
|
-
activeIndex: _angular_core.WritableSignal<number>;
|
|
169
|
-
showTooltip: {
|
|
170
|
-
[key: string]: boolean;
|
|
173
|
+
labelNumber?: number;
|
|
174
|
+
icon?: IconName;
|
|
175
|
+
}[]>;
|
|
176
|
+
flatOptions: import("@angular/core").Signal<FilterButtonRow[]>;
|
|
177
|
+
optionCount: import("@angular/core").Signal<number>;
|
|
178
|
+
activeOption: import("@angular/core").Signal<FilterButtonOption | undefined>;
|
|
179
|
+
activePosition: import("@angular/core").Signal<number>;
|
|
180
|
+
listHeight: import("@angular/core").Signal<number>;
|
|
181
|
+
protected trackByRow: (_index: number, row: FilterButtonRow) => string;
|
|
182
|
+
readonly MIN_OPTIONS_LENGTH_FOR_SEARCH = 8;
|
|
183
|
+
protected translationContext: string;
|
|
184
|
+
private readonly searchInput$;
|
|
185
|
+
constructor(defaultAppTheme: ApplicationTheme$1, cdr: ChangeDetectorRef, destroyRef: DestroyRef);
|
|
186
|
+
private syncPanelWidth;
|
|
187
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
188
|
+
clearValue(): void;
|
|
189
|
+
outsideClick(): void;
|
|
190
|
+
toggle(): void;
|
|
191
|
+
isSelected(value?: FilterValue): boolean;
|
|
192
|
+
optionChanged(selected: boolean, option: FilterButtonOption): void;
|
|
193
|
+
onSearchChange(value: string): void;
|
|
194
|
+
keyDownHandler(ev: KeyboardEvent): void;
|
|
195
|
+
onLabelEllipsisChange(isEllipsis: boolean, value: FilterValue): void;
|
|
196
|
+
private firstOptionIndex;
|
|
197
|
+
private moveActive;
|
|
198
|
+
private toggleActiveOption;
|
|
199
|
+
private updateLabel;
|
|
200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterButtonComponent, [{
|
|
201
|
+
optional: true;
|
|
202
|
+
}, null, null]>;
|
|
203
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilterButtonComponent, "ui-filter-button", never, {
|
|
204
|
+
"label": {
|
|
205
|
+
"alias": "label";
|
|
206
|
+
"required": false;
|
|
207
|
+
};
|
|
208
|
+
"message": {
|
|
209
|
+
"alias": "message";
|
|
210
|
+
"required": false;
|
|
211
|
+
};
|
|
212
|
+
"value": {
|
|
213
|
+
"alias": "value";
|
|
214
|
+
"required": false;
|
|
215
|
+
};
|
|
216
|
+
"disabled": {
|
|
217
|
+
"alias": "disabled";
|
|
218
|
+
"required": false;
|
|
219
|
+
};
|
|
220
|
+
"options": {
|
|
221
|
+
"alias": "options";
|
|
222
|
+
"required": false;
|
|
223
|
+
"isSignal": true;
|
|
224
|
+
};
|
|
225
|
+
"allowClear": {
|
|
226
|
+
"alias": "allowClear";
|
|
227
|
+
"required": false;
|
|
228
|
+
};
|
|
229
|
+
"singleSelection": {
|
|
230
|
+
"alias": "singleSelection";
|
|
231
|
+
"required": false;
|
|
232
|
+
};
|
|
233
|
+
"iconName": {
|
|
234
|
+
"alias": "iconName";
|
|
235
|
+
"required": false;
|
|
236
|
+
};
|
|
237
|
+
"iconPosition": {
|
|
238
|
+
"alias": "iconPosition";
|
|
239
|
+
"required": false;
|
|
240
|
+
};
|
|
241
|
+
"noOptionsMessage": {
|
|
242
|
+
"alias": "noOptionsMessage";
|
|
243
|
+
"required": false;
|
|
244
|
+
};
|
|
245
|
+
"fullWidth": {
|
|
246
|
+
"alias": "fullWidth";
|
|
247
|
+
"required": false;
|
|
248
|
+
};
|
|
249
|
+
"testId": {
|
|
250
|
+
"alias": "testId";
|
|
251
|
+
"required": false;
|
|
252
|
+
};
|
|
253
|
+
"ariaLabel": {
|
|
254
|
+
"alias": "ariaLabel";
|
|
255
|
+
"required": false;
|
|
256
|
+
};
|
|
257
|
+
"applicationTheme": {
|
|
258
|
+
"alias": "applicationTheme";
|
|
259
|
+
"required": false;
|
|
171
260
|
};
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
icon?: IconName;
|
|
178
|
-
}[]>;
|
|
179
|
-
flatOptions: _angular_core.Signal<FilterButtonRow[]>;
|
|
180
|
-
optionCount: _angular_core.Signal<number>;
|
|
181
|
-
activeOption: _angular_core.Signal<FilterButtonOption | undefined>;
|
|
182
|
-
activePosition: _angular_core.Signal<number>;
|
|
183
|
-
listHeight: _angular_core.Signal<number>;
|
|
184
|
-
protected trackByRow: (_index: number, row: FilterButtonRow) => string;
|
|
185
|
-
readonly MIN_OPTIONS_LENGTH_FOR_SEARCH = 8;
|
|
186
|
-
protected translationContext: string;
|
|
187
|
-
private readonly searchInput$;
|
|
188
|
-
constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, destroyRef: DestroyRef);
|
|
189
|
-
private syncPanelWidth;
|
|
190
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
191
|
-
clearValue(): void;
|
|
192
|
-
outsideClick(): void;
|
|
193
|
-
toggle(): void;
|
|
194
|
-
isSelected(value?: FilterValue): boolean;
|
|
195
|
-
optionChanged(selected: boolean, option: FilterButtonOption): void;
|
|
196
|
-
onSearchChange(value: string): void;
|
|
197
|
-
keyDownHandler(ev: KeyboardEvent): void;
|
|
198
|
-
onLabelEllipsisChange(isEllipsis: boolean, value: FilterValue): void;
|
|
199
|
-
private firstOptionIndex;
|
|
200
|
-
private moveActive;
|
|
201
|
-
private toggleActiveOption;
|
|
202
|
-
private updateLabel;
|
|
203
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterButtonComponent, [{ optional: true; }, null, null]>;
|
|
204
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterButtonComponent, "ui-filter-button", never, { "label": { "alias": "label"; "required": false; }; "message": { "alias": "message"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "allowClear": { "alias": "allowClear"; "required": false; }; "singleSelection": { "alias": "singleSelection"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "noOptionsMessage": { "alias": "noOptionsMessage"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "changed": "changed"; "optionChange": "optionChange"; }, never, never, true, never>;
|
|
205
|
-
static ngAcceptInputType_fullWidth: unknown;
|
|
261
|
+
}, {
|
|
262
|
+
"changed": "changed";
|
|
263
|
+
"optionChange": "optionChange";
|
|
264
|
+
}, never, never, true, never>;
|
|
265
|
+
static ngAcceptInputType_fullWidth: unknown;
|
|
206
266
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FilterButtonComponentModule>;
|
|
267
|
+
export declare class FilterButtonComponentModule {
|
|
268
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterButtonComponentModule, never>;
|
|
269
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FilterButtonComponentModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.MatTooltipModule, typeof i4.OverlayModule, typeof i5.UiTranslatePipe, typeof i6.ButtonComponentModule, typeof i7.IconComponentModule, typeof i8.CheckboxComponentModule, typeof i9.FieldComponentModule, typeof i5.EllipseTextDirective, typeof i10.RadioButtonComponentModule, typeof FilterButtonComponent], [typeof FilterButtonComponent]>;
|
|
270
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FilterButtonComponentModule>;
|
|
212
271
|
}
|
|
213
|
-
|
|
214
|
-
export { FilterButtonComponent, FilterButtonComponentModule };
|
|
215
|
-
export type { FilterButtonOption, FilterValue, OptionChangeEvent };
|
|
272
|
+
export { ApplicationTheme };
|