@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,268 +1,284 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { OnInit, EventEmitter, ElementRef, PipeTransform, InjectionToken, OnDestroy, Type, ViewContainerRef } from '@angular/core';
|
|
5
|
-
|
|
1
|
+
import { Observable, Subject } from "rxjs";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { ElementRef, EventEmitter, InjectionToken, OnDestroy, OnInit, PipeTransform, Type, ViewContainerRef } from "@angular/core";
|
|
6
4
|
/**
|
|
7
5
|
* Application theme type used across all UI components.
|
|
8
6
|
* - 'light': Light theme with white backgrounds
|
|
9
7
|
* - 'dark': Dark theme with dark backgrounds
|
|
10
8
|
* - 'classic': Classic TestGorilla theme
|
|
11
9
|
*/
|
|
12
|
-
type ApplicationTheme = 'dark' | 'light' | 'classic';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
'sv-se' = "sv-se"
|
|
10
|
+
export type ApplicationTheme = 'dark' | 'light' | 'classic';
|
|
11
|
+
export declare enum Language {
|
|
12
|
+
en = "en",
|
|
13
|
+
es = "es",
|
|
14
|
+
nl = "nl",
|
|
15
|
+
fr = "fr",
|
|
16
|
+
de = "de",
|
|
17
|
+
'it-it' = "it-it",
|
|
18
|
+
'ja-jp' = "ja-jp",
|
|
19
|
+
'pt-br' = "pt-br",
|
|
20
|
+
'da-dk' = "da-dk",
|
|
21
|
+
'nb-no' = "nb-no",
|
|
22
|
+
'pl-pl' = "pl-pl",
|
|
23
|
+
'sv-se' = "sv-se"
|
|
27
24
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
export type TranslationMap = { [key in Language]: string; };
|
|
26
|
+
export declare const getAvailableLangs: () => Language[];
|
|
27
|
+
export type UILanguage = {
|
|
28
|
+
code: Language | string;
|
|
29
|
+
label: string;
|
|
31
30
|
};
|
|
32
|
-
declare
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
readonly defaultLanguageList: UILanguage[];
|
|
41
|
-
setActiveLang(language: Language): void;
|
|
42
|
-
getActiveLang(): Observable<Language>;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageService, never>;
|
|
44
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LanguageService>;
|
|
31
|
+
export declare class LanguageService {
|
|
32
|
+
#private;
|
|
33
|
+
static readonly defaultLanguage = Language.en;
|
|
34
|
+
readonly defaultLanguageList: UILanguage[];
|
|
35
|
+
setActiveLang(language: Language): void;
|
|
36
|
+
getActiveLang(): Observable<Language>;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageService, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
45
39
|
}
|
|
46
|
-
|
|
47
40
|
/**
|
|
48
41
|
* Checks if element ellipsis
|
|
49
42
|
*/
|
|
50
|
-
declare class EllipseTextDirective implements OnInit {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
43
|
+
export declare class EllipseTextDirective implements OnInit {
|
|
44
|
+
private readonly el;
|
|
45
|
+
isMultiline: boolean;
|
|
46
|
+
maxDiffPixels: number;
|
|
47
|
+
checkEllipsis$: Subject<void>;
|
|
48
|
+
refreshEllipsis$: Subject<void>;
|
|
49
|
+
set refresh(_: unknown);
|
|
50
|
+
onChangeTextState: EventEmitter<boolean>;
|
|
51
|
+
resize(): void;
|
|
52
|
+
private readonly destroyRef;
|
|
53
|
+
constructor(el: ElementRef);
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipseTextDirective, never>;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EllipseTextDirective, "[uiEllipseText]", never, {
|
|
57
|
+
"isMultiline": {
|
|
58
|
+
"alias": "isMultiline";
|
|
59
|
+
"required": false;
|
|
60
|
+
};
|
|
61
|
+
"maxDiffPixels": {
|
|
62
|
+
"alias": "maxDiffPixels";
|
|
63
|
+
"required": false;
|
|
64
|
+
};
|
|
65
|
+
"refresh": {
|
|
66
|
+
"alias": "refresh";
|
|
67
|
+
"required": false;
|
|
68
|
+
};
|
|
69
|
+
}, {
|
|
70
|
+
"onChangeTextState": "onChangeTextState";
|
|
71
|
+
}, never, never, true, never>;
|
|
64
72
|
}
|
|
65
|
-
|
|
66
73
|
/**
|
|
67
74
|
* Used for translations
|
|
68
75
|
*/
|
|
69
|
-
declare class UiTranslatePipe implements PipeTransform {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
76
|
+
export declare class UiTranslatePipe implements PipeTransform {
|
|
77
|
+
private readonly languageService;
|
|
78
|
+
protected readonly LANGS: {
|
|
79
|
+
[key: string]: unknown;
|
|
80
|
+
};
|
|
81
|
+
constructor(languageService: LanguageService);
|
|
82
|
+
/**
|
|
83
|
+
* Finds the translation by keys with interpolation if provided
|
|
84
|
+
* @param translateKey key, can have multiple keys separated with '.' eg ('KEY', 'FIRST_LVL_KEY.SECOND_LVL_KEY')
|
|
85
|
+
* @param activeLang current active language
|
|
86
|
+
* @param interpolationData data that will be used to replace interpolations in translated variant
|
|
87
|
+
* For example, for translate text like this
|
|
88
|
+
* 'You have {{attemptsAmount}} attempts left
|
|
89
|
+
* the interpolation object should be { attemptsAmount: 10 }
|
|
90
|
+
*/
|
|
91
|
+
transform(translateKey: string, interpolationData?: Record<string, unknown>): Observable<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Used to find and replace interpolation in text
|
|
94
|
+
* @param translation the translation text
|
|
95
|
+
* @param interpolationData the interpolation object
|
|
96
|
+
*/
|
|
97
|
+
private interpolate;
|
|
98
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTranslatePipe, never>;
|
|
99
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<UiTranslatePipe, "uiTranslate", true>;
|
|
93
100
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
PAGE_DOWN = "PageDown"
|
|
101
|
+
export declare enum IKeyboardEvent {
|
|
102
|
+
ENTER = "Enter",
|
|
103
|
+
SPACE = " ",
|
|
104
|
+
ARROW_DOWN = "ArrowDown",
|
|
105
|
+
ARROW_UP = "ArrowUp",
|
|
106
|
+
ESCAPE = "Escape",
|
|
107
|
+
HOME = "Home",
|
|
108
|
+
END = "End",
|
|
109
|
+
PAGE_UP = "PageUp",
|
|
110
|
+
PAGE_DOWN = "PageDown"
|
|
105
111
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
* it did before. Kept private so it is not part of the public API surface.
|
|
126
|
-
*/
|
|
127
|
-
private static toLower;
|
|
112
|
+
export type Alignment = 'center' | 'top';
|
|
113
|
+
export declare const hexToRgbWithAlpha: (hex: string, alpha?: number) => string;
|
|
114
|
+
export declare class AutocompleteUtils {
|
|
115
|
+
static transformDisplayValue(value: unknown, textField: string): unknown;
|
|
116
|
+
static filterItems<T>(items: T[], inputValue: string, textField?: string, isGroup?: boolean): T[];
|
|
117
|
+
static isPrimitive(value: unknown): boolean;
|
|
118
|
+
static isArray(value: unknown): boolean;
|
|
119
|
+
static throwInvalidSetupError(): void;
|
|
120
|
+
static excludeSuggestions<T>(items: T[], excludeItems: T[], valueField?: string): T[];
|
|
121
|
+
static shouldBeObject(value: unknown, textField: string, valueField: string): boolean;
|
|
122
|
+
static createValueItem(value: unknown, textField: string, valueField: string): unknown;
|
|
123
|
+
static findDuplicate(value: unknown, selectedValue: unknown, lookupKey?: string): unknown;
|
|
124
|
+
static countMatchingWords(words: unknown[], query: string, textField?: string, isGroup?: boolean): number;
|
|
125
|
+
/**
|
|
126
|
+
* Faithful to the previous `any` behaviour: text/value fields are expected to
|
|
127
|
+
* be strings, and calling `.toLowerCase()` on a non-string throws exactly as
|
|
128
|
+
* it did before. Kept private so it is not part of the public API surface.
|
|
129
|
+
*/
|
|
130
|
+
private static toLower;
|
|
128
131
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
132
|
+
export declare class DigitsOnlyDirective {
|
|
133
|
+
private readonly el;
|
|
134
|
+
constructor(el: ElementRef<HTMLInputElement>);
|
|
135
|
+
allowNegative: boolean;
|
|
136
|
+
allowDecimal: boolean;
|
|
137
|
+
allowOnlyDigits: boolean;
|
|
138
|
+
regex: RegExp;
|
|
139
|
+
onKeyPress(event: KeyboardEvent): void;
|
|
140
|
+
onPaste(event: Event): void;
|
|
141
|
+
onKeydown(event: KeyboardEvent): void;
|
|
142
|
+
onInput(event: Event): void;
|
|
143
|
+
validate(event: Event, text: string): void;
|
|
144
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DigitsOnlyDirective, never>;
|
|
145
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DigitsOnlyDirective, "[digitsOnly]", never, {
|
|
146
|
+
"allowNegative": {
|
|
147
|
+
"alias": "allowNegative";
|
|
148
|
+
"required": false;
|
|
149
|
+
};
|
|
150
|
+
"allowDecimal": {
|
|
151
|
+
"alias": "allowDecimal";
|
|
152
|
+
"required": false;
|
|
153
|
+
};
|
|
154
|
+
"allowOnlyDigits": {
|
|
155
|
+
"alias": "allowOnlyDigits";
|
|
156
|
+
"required": false;
|
|
157
|
+
};
|
|
158
|
+
}, {}, never, never, true, never>;
|
|
144
159
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<HasValidationErrorPipe, "hasValidationError", true>;
|
|
160
|
+
export declare class HasValidationErrorPipe implements PipeTransform {
|
|
161
|
+
/**
|
|
162
|
+
* List of the error types that are handled
|
|
163
|
+
*/
|
|
164
|
+
private readonly errorTypes;
|
|
165
|
+
/**
|
|
166
|
+
* Checks if the error on the NgControl is in the list of handled error types
|
|
167
|
+
* @param value
|
|
168
|
+
*/
|
|
169
|
+
transform(value: Record<string, unknown> | null | undefined): boolean;
|
|
170
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HasValidationErrorPipe, never>;
|
|
171
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<HasValidationErrorPipe, "hasValidationError", true>;
|
|
158
172
|
}
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
173
|
+
export declare class SelectTextDirective {
|
|
174
|
+
selectText: import("@angular/core").InputSignal<string | null>;
|
|
175
|
+
private readonly el;
|
|
176
|
+
private highlighted;
|
|
177
|
+
constructor();
|
|
178
|
+
private highlight;
|
|
179
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectTextDirective, never>;
|
|
180
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectTextDirective, "[selectText]", never, {
|
|
181
|
+
"selectText": {
|
|
182
|
+
"alias": "selectText";
|
|
183
|
+
"required": false;
|
|
184
|
+
"isSignal": true;
|
|
185
|
+
};
|
|
186
|
+
}, {}, never, never, true, never>;
|
|
168
187
|
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
188
|
+
export declare class PreventInputDirective {
|
|
189
|
+
uiPreventInput: import("@angular/core").InputSignal<boolean>;
|
|
190
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
191
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreventInputDirective, never>;
|
|
192
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PreventInputDirective, "[uiPreventInput]", never, {
|
|
193
|
+
"uiPreventInput": {
|
|
194
|
+
"alias": "uiPreventInput";
|
|
195
|
+
"required": false;
|
|
196
|
+
"isSignal": true;
|
|
197
|
+
};
|
|
198
|
+
}, {}, never, never, true, never>;
|
|
175
199
|
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<IncludesPipe, "includes", true>;
|
|
200
|
+
export declare class IncludesPipe implements PipeTransform {
|
|
201
|
+
transform(value: Record<string, unknown>, values: Record<string, unknown> | Record<string, unknown>[], valueField?: string): boolean;
|
|
202
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IncludesPipe, never>;
|
|
203
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IncludesPipe, "includes", true>;
|
|
181
204
|
}
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TransformItemPipe, "transformItem", true>;
|
|
205
|
+
export declare class TransformItemPipe implements PipeTransform {
|
|
206
|
+
transform(value: Record<string, unknown> | Record<string, unknown>[] | null | undefined, field: string, getValueList: true): string[];
|
|
207
|
+
transform(value: Record<string, unknown> | Record<string, unknown>[] | null | undefined, field: string, getValueList?: false): string;
|
|
208
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransformItemPipe, never>;
|
|
209
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TransformItemPipe, "transformItem", true>;
|
|
188
210
|
}
|
|
189
|
-
|
|
190
|
-
declare const
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
MOBILE = 600,
|
|
196
|
-
TABLET = 1023,
|
|
197
|
-
LARGE_TABLET = 1280
|
|
211
|
+
export declare const IS_MOBILE_TOKEN: InjectionToken<import("rxjs").Observable<boolean>>;
|
|
212
|
+
export declare const IS_LARGE_TABLET_TOKEN: InjectionToken<import("rxjs").Observable<boolean>>;
|
|
213
|
+
export declare enum ScreenBreakpoints {
|
|
214
|
+
MOBILE = 600,
|
|
215
|
+
TABLET = 1023,
|
|
216
|
+
LARGE_TABLET = 1280
|
|
198
217
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
WARNING_20 = "#FFE1B3",
|
|
263
|
-
WARNING_10 = "#FFF5E6"
|
|
218
|
+
export type LinkTargetType = '' | '_self' | '_blank' | '_parent' | '_top';
|
|
219
|
+
export declare enum Color {
|
|
220
|
+
TGO_TEAL_60B = "#1C443C",
|
|
221
|
+
TGO_TEAL_30B = "#31766A",
|
|
222
|
+
TGO_TEAL_DEFAULT = "#46A997",
|
|
223
|
+
TGO_TEAL_30W = "#7EC3B6",
|
|
224
|
+
TGO_TEAL_60W = "#B5DDD5",
|
|
225
|
+
TGO_TEAL_SECONDARY = "#CBD6CB",
|
|
226
|
+
TGO_TEAL_90W = "#ECF6F5",
|
|
227
|
+
TGO_PETROL_60B = "#102930",
|
|
228
|
+
TGO_PETROL_30B = "#1B4754",
|
|
229
|
+
TGO_PETROL_DEFAULT = "#276678",
|
|
230
|
+
TGO_PETROL_30W = "#6894A0",
|
|
231
|
+
TGO_PETROL_60W = "#A9C2C9",
|
|
232
|
+
TGO_PETROL_SECONDARY = "#C8D7DE",
|
|
233
|
+
TGO_PETROL_90W = "#E9F0F1",
|
|
234
|
+
TGO_ERROR_60B = "#513131",
|
|
235
|
+
TGO_ERROR_30B = "#8E5655",
|
|
236
|
+
TGO_ERROR_60W = "#E3C3C6",
|
|
237
|
+
TGO_ERROR_SECONDARY = "#F0DAD9",
|
|
238
|
+
TGO_ERROR_DEFAULT = "#CB7B7A",
|
|
239
|
+
TGO_WARNING_SECONDARY = "#F0D6BB",
|
|
240
|
+
TGO_WARNING_DEFAULT = "#CCA45F",
|
|
241
|
+
TGO_BLACK = "#000000",
|
|
242
|
+
TGO_DARK = "#888888",
|
|
243
|
+
TGO_MEDIUM = "#E0E0E0",
|
|
244
|
+
TGO_GREY = "#EDEDED",
|
|
245
|
+
TGO_LIGHT = "#F6F6F6",
|
|
246
|
+
TGO_WHITE = "#FFFFFF",
|
|
247
|
+
BRAND_60 = "#A90686",
|
|
248
|
+
BRAND_50 = "#D410AA",
|
|
249
|
+
BRAND_40 = "#FF54DA",
|
|
250
|
+
BRAND_30 = "#FFB3EE",
|
|
251
|
+
BRAND_20 = "#FFE6FA",
|
|
252
|
+
BRAND_10 = "#FFF2FC",
|
|
253
|
+
GRAYSCALE_50 = "#666666",
|
|
254
|
+
GRAYSCALE_40 = "#919191",
|
|
255
|
+
GRAYSCALE_30 = "#D3D3D3",
|
|
256
|
+
GRAYSCALE_20 = "#E9E9E9",
|
|
257
|
+
GRAYSCALE_10 = "#F4F4F4",
|
|
258
|
+
BLACK = "#242424",
|
|
259
|
+
ACCENT_20 = "#FFF5ED",
|
|
260
|
+
ACCENT_10 = "#FFFAF6",
|
|
261
|
+
INFORMATIVE_50 = "#1A47AA",
|
|
262
|
+
INFORMATIVE_40 = "#0165FC",
|
|
263
|
+
INFORMATIVE_30 = "#277CFD",
|
|
264
|
+
INFORMATIVE_20 = "#99C1FE",
|
|
265
|
+
INFORMATIVE_10 = "#D9E8FF",
|
|
266
|
+
SUCCESS_50 = "#3C9A13",
|
|
267
|
+
SUCCESS_40 = "#56C71A",
|
|
268
|
+
SUCCESS_30 = "#80D63E",
|
|
269
|
+
SUCCESS_20 = "#AAE47A",
|
|
270
|
+
SUCCESS_10 = "#D4F2C3",
|
|
271
|
+
ERROR_50 = "#E02800",
|
|
272
|
+
ERROR_40 = "#FF3003",
|
|
273
|
+
ERROR_30 = "#FF6E4F",
|
|
274
|
+
ERROR_20 = "#FFAC9A",
|
|
275
|
+
ERROR_10 = "#FFEAE6",
|
|
276
|
+
WARNING_50 = "#D07D00",
|
|
277
|
+
WARNING_40 = "#FF9A03",
|
|
278
|
+
WARNING_30 = "#FFC268",
|
|
279
|
+
WARNING_20 = "#FFE1B3",
|
|
280
|
+
WARNING_10 = "#FFF5E6"
|
|
264
281
|
}
|
|
265
|
-
|
|
266
282
|
/**
|
|
267
283
|
* USAGE:
|
|
268
284
|
* {{ argument | memoizeFunc : method [: context] }}
|
|
@@ -282,49 +298,49 @@ declare enum Color {
|
|
|
282
298
|
* {{ argument | memoizeFunc : method.bind(this) }}
|
|
283
299
|
*
|
|
284
300
|
* */
|
|
285
|
-
declare class MemoizeFuncPipe implements PipeTransform {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
301
|
+
export declare class MemoizeFuncPipe implements PipeTransform {
|
|
302
|
+
transform<T, K>(value: T, handler: (value: T) => K, context?: unknown): K;
|
|
303
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MemoizeFuncPipe, never>;
|
|
304
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MemoizeFuncPipe, "memoizeFunc", true>;
|
|
289
305
|
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<OrdinalSuffixPipe, "ordinalSuffix", true>;
|
|
306
|
+
export declare class OrdinalSuffixPipe implements PipeTransform {
|
|
307
|
+
transform(value: number): string;
|
|
308
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrdinalSuffixPipe, never>;
|
|
309
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OrdinalSuffixPipe, "ordinalSuffix", true>;
|
|
295
310
|
}
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", true>;
|
|
311
|
+
export declare class TruncatePipe implements PipeTransform {
|
|
312
|
+
transform(input: unknown, length?: number, suffix?: string, preserve?: boolean): unknown;
|
|
313
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
|
|
314
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", true>;
|
|
301
315
|
}
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DataPropertyGetterPipe, "dataPropertyGetter", true>;
|
|
316
|
+
export declare class DataPropertyGetterPipe implements PipeTransform {
|
|
317
|
+
transform(obj: object, keyName?: string): unknown;
|
|
318
|
+
private getDeepVal;
|
|
319
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataPropertyGetterPipe, never>;
|
|
320
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DataPropertyGetterPipe, "dataPropertyGetter", true>;
|
|
308
321
|
}
|
|
309
|
-
|
|
310
322
|
interface IComponentRenderer {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
323
|
+
component: Type<unknown>;
|
|
324
|
+
inputs?: Record<string, unknown>;
|
|
325
|
+
outputs?: {
|
|
326
|
+
[key: string]: (event: unknown) => void;
|
|
327
|
+
};
|
|
316
328
|
}
|
|
317
|
-
declare class DynamicComponentDirective implements OnDestroy {
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
329
|
+
export declare class DynamicComponentDirective implements OnDestroy {
|
|
330
|
+
private readonly vcr;
|
|
331
|
+
private readonly subscription;
|
|
332
|
+
private compRef;
|
|
333
|
+
set dynamicComponent(componentRenderer: IComponentRenderer);
|
|
334
|
+
constructor(vcr: ViewContainerRef);
|
|
335
|
+
ngOnDestroy(): void;
|
|
336
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentDirective, never>;
|
|
337
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicComponentDirective, "[dynamicComponent]", never, {
|
|
338
|
+
"dynamicComponent": {
|
|
339
|
+
"alias": "dynamicComponent";
|
|
340
|
+
"required": false;
|
|
341
|
+
};
|
|
342
|
+
}, {}, never, never, true, never>;
|
|
326
343
|
}
|
|
327
|
-
|
|
328
344
|
/**
|
|
329
345
|
* Function for adjusting the lightness of a color based on different events (hover, pressed, disabled).
|
|
330
346
|
* Accepts a hex color, transforms it to HSL, and based on color's L and event darkens or lightens it.
|
|
@@ -335,35 +351,31 @@ declare class DynamicComponentDirective implements OnDestroy {
|
|
|
335
351
|
* @param theme
|
|
336
352
|
*/
|
|
337
353
|
type LightnessEvent = 'hover' | 'pressed' | 'disabled';
|
|
338
|
-
declare const adjustLightness: (hexColor: string, typeEvent: LightnessEvent, theme?: "new" | "classic") => string;
|
|
354
|
+
export declare const adjustLightness: (hexColor: string, typeEvent: LightnessEvent, theme?: "new" | "classic") => string;
|
|
339
355
|
/**
|
|
340
356
|
* Transforms hex color to HSL in object variation.
|
|
341
357
|
* @param hexColor string value with hex color
|
|
342
358
|
*/
|
|
343
|
-
declare const hexToHsl: (hexColor: string) => {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
359
|
+
export declare const hexToHsl: (hexColor: string) => {
|
|
360
|
+
h: number;
|
|
361
|
+
s: number;
|
|
362
|
+
l: number;
|
|
347
363
|
};
|
|
348
364
|
/**
|
|
349
365
|
* Transforms HSL color, represented as an object and transforms it to hex string.
|
|
350
366
|
* @param hslColor accepts the HSL color like an object.
|
|
351
367
|
*/
|
|
352
|
-
declare const hslToHex: (hslColor: {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
368
|
+
export declare const hslToHex: (hslColor: {
|
|
369
|
+
h: number;
|
|
370
|
+
s: number;
|
|
371
|
+
l: number;
|
|
356
372
|
}) => string;
|
|
357
|
-
|
|
358
|
-
type
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
setPosition: (fixed: boolean) => string;
|
|
365
|
-
setCssClass: (fullWidth: boolean, type: string, position: string, variant?: AlertVariant) => string;
|
|
373
|
+
export type AlertBarType = 'success' | 'error' | 'info' | 'warning' | 'ai';
|
|
374
|
+
export type AlertVariant = 'banner' | 'callout';
|
|
375
|
+
export declare const alertBarsUtil: {
|
|
376
|
+
setIcon: (alertType: string) => string;
|
|
377
|
+
setIconColor: (alertType: string) => Color;
|
|
378
|
+
setPosition: (fixed: boolean) => string;
|
|
379
|
+
setCssClass: (fullWidth: boolean, type: string, position: string, variant?: AlertVariant) => string;
|
|
366
380
|
};
|
|
367
|
-
|
|
368
|
-
export { AutocompleteUtils, Color, DataPropertyGetterPipe, DigitsOnlyDirective, DynamicComponentDirective, EllipseTextDirective, HasValidationErrorPipe, IKeyboardEvent, IS_LARGE_TABLET_TOKEN, IS_MOBILE_TOKEN, IncludesPipe, Language, LanguageService, MemoizeFuncPipe, OrdinalSuffixPipe, PreventInputDirective, ScreenBreakpoints, SelectTextDirective, TransformItemPipe, TruncatePipe, UiTranslatePipe, adjustLightness, alertBarsUtil, getAvailableLangs, hexToHsl, hexToRgbWithAlpha, hslToHex };
|
|
369
|
-
export type { AlertBarType, AlertVariant, Alignment, ApplicationTheme, LinkTargetType, TranslationMap, UILanguage };
|
|
381
|
+
export {};
|