@testgorilla/tgo-ui 8.19.0 → 9.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/components/accordion/index.d.ts +7 -7
- package/components/ai-audio-circle/index.d.ts +3 -3
- package/components/ai-caveat/index.d.ts +5 -5
- package/components/ai-feedback/index.d.ts +14 -14
- package/components/alert-banner/index.d.ts +8 -8
- package/components/autocomplete/index.d.ts +15 -16
- package/components/autocomplete-v2/index.d.ts +36 -32
- package/components/avatar/index.d.ts +7 -7
- package/components/badge/index.d.ts +6 -6
- package/components/breadcrumb/index.d.ts +11 -11
- package/components/button/index.d.ts +23 -13
- package/components/card/index.d.ts +4 -4
- package/components/checkbox/index.d.ts +24 -24
- package/components/core/index.d.ts +39 -31
- package/components/datepicker/index.d.ts +18 -18
- package/components/dialog/index.d.ts +29 -21
- package/components/divider/index.d.ts +4 -4
- package/components/donut-chart/index.d.ts +3 -3
- package/components/dropdown/index.d.ts +37 -33
- package/components/elevation-shadow/index.d.ts +3 -3
- package/components/empty-state/index.d.ts +7 -7
- package/components/field/index.d.ts +33 -44
- package/components/file-upload/index.d.ts +14 -13
- package/components/filter-button/index.d.ts +19 -19
- package/components/gaussian-chart/index.d.ts +8 -8
- package/components/icon/index.d.ts +20 -16
- package/components/icon-label/index.d.ts +5 -5
- package/components/inline-field/index.d.ts +20 -24
- package/components/logo/index.d.ts +2 -3
- package/components/media-dialog/index.d.ts +3 -3
- package/components/multi-input/index.d.ts +25 -16
- package/components/navbar/index.d.ts +30 -30
- package/components/overflow-menu/index.d.ts +20 -19
- package/components/page-header/index.d.ts +5 -5
- package/components/paginator/index.d.ts +4 -4
- package/components/password-criteria/index.d.ts +13 -12
- package/components/password-strength/index.d.ts +6 -6
- package/components/phone-input/index.d.ts +28 -30
- package/components/progress-bar/index.d.ts +5 -5
- package/components/prompt/index.d.ts +25 -25
- package/components/radial-progress/index.d.ts +5 -5
- package/components/radio-button/index.d.ts +28 -29
- package/components/rating/index.d.ts +5 -5
- package/components/scale/index.d.ts +4 -4
- package/components/segmented-bar/index.d.ts +8 -8
- package/components/segmented-button/index.d.ts +17 -16
- package/components/selectable-card/index.d.ts +6 -6
- package/components/side-navigation/index.d.ts +14 -14
- package/components/side-panel/index.d.ts +8 -8
- package/components/side-sheet/index.d.ts +19 -17
- package/components/snackbar/index.d.ts +16 -15
- package/components/spider-chart/index.d.ts +12 -12
- package/components/spinner/index.d.ts +5 -5
- package/components/stepper/index.d.ts +35 -35
- package/components/table/index.d.ts +36 -34
- package/components/tabs/index.d.ts +18 -17
- package/components/tag/index.d.ts +10 -10
- package/components/toggle/index.d.ts +10 -9
- package/components/tooltip/index.d.ts +16 -18
- package/components/universal-skills/index.d.ts +16 -16
- package/components/validation-error/index.d.ts +22 -10
- package/components/write-with-ai/index.d.ts +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +36 -15
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +9 -12
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -10
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +39 -27
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +25 -14
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +4 -2
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +134 -117
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +47 -48
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +30 -18
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +9 -12
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +25 -18
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +155 -120
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +7 -9
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +51 -47
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +2232 -2210
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +44 -25
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +55 -31
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +8 -11
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +8 -10
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +105 -90
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +5 -7
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +24 -13
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +65 -57
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +35 -23
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +34 -27
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +26 -16
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +6 -7
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +112 -81
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +24 -24
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +6 -6
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +6 -6
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +4 -4
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +42 -21
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +44 -32
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +39 -21
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +10 -14
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +7 -9
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +33 -20
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +9 -12
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +82 -73
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +8 -11
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +47 -40
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -10
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +43 -48
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +7 -12
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +6 -10
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +30 -16
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +15 -14
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +8 -11
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +27 -21
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +5 -2
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +34 -26
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +5 -5
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +31 -20
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +28 -23
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +9 -12
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +85 -79
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +74 -51
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +57 -25
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +16 -17
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +25 -17
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +44 -28
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +34 -27
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +30 -14
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +13 -11
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +6 -8
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/index.d.ts +4 -4
- package/mcp/catalog.json +1 -1
- package/package.json +1 -2
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { OnInit, AfterViewInit, ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i2 from '@angular/material/button';
|
|
5
5
|
import { MatButton } from '@angular/material/button';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i5 from '@angular/material/tooltip';
|
|
7
7
|
import { TooltipPosition } from '@angular/material/tooltip';
|
|
8
|
-
import * as
|
|
8
|
+
import * as i7 from '@testgorilla/tgo-ui/components/core';
|
|
9
9
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
10
10
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i3 from '@testgorilla/tgo-ui/components/icon';
|
|
12
12
|
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i6 from '@testgorilla/tgo-ui/components/badge';
|
|
14
14
|
import { BadgeVariant, RebrandBadgeColor } from '@testgorilla/tgo-ui/components/badge';
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
15
|
+
import * as i1 from '@angular/common';
|
|
16
|
+
import * as i4 from '@angular/material/progress-spinner';
|
|
17
|
+
import * as i8 from '@angular/material/radio';
|
|
18
18
|
|
|
19
19
|
type ButtonIconPosition = 'left' | 'right';
|
|
20
20
|
type ButtonColor = 'primary' | 'secondary' | 'secondary-inverted' | 'ghost' | 'ghost-ai' | 'outlined' | 'destructive' | 'tertiary' | 'link' | 'tab' | 'text' | 'text-inline' | 'menuTrigger' | 'menuCell' | 'icon-button' | 'linkedin';
|
|
@@ -248,7 +248,7 @@ declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
|
248
248
|
get isDisabled(): boolean;
|
|
249
249
|
get compColor(): string;
|
|
250
250
|
classCss: string;
|
|
251
|
-
styleCss:
|
|
251
|
+
styleCss: Record<string, string>;
|
|
252
252
|
isButtonLink: boolean;
|
|
253
253
|
isLabel: boolean;
|
|
254
254
|
buttonState: ButtonState;
|
|
@@ -265,12 +265,21 @@ declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
|
265
265
|
constructor(defaultAppTheme: ApplicationTheme);
|
|
266
266
|
ngOnInit(): void;
|
|
267
267
|
ngOnChanges(changes: SimpleChanges): void;
|
|
268
|
+
private hasCssAffectingChange;
|
|
269
|
+
private isIconButtonSizeChange;
|
|
270
|
+
private isFilledIconVariant;
|
|
268
271
|
ngAfterViewInit(): void;
|
|
269
272
|
buttonClick(event: Event): void;
|
|
270
273
|
buttonHover(event: Event): void;
|
|
271
274
|
showLabel(): boolean;
|
|
272
275
|
setCssClass(): string;
|
|
273
|
-
setCssStyle():
|
|
276
|
+
setCssStyle(): Record<string, string>;
|
|
277
|
+
private get isColorVariant();
|
|
278
|
+
private get isTextVariant();
|
|
279
|
+
private getInteractiveStyle;
|
|
280
|
+
private getClassicInteractiveStyle;
|
|
281
|
+
private getCompanyColorStyle;
|
|
282
|
+
private getGhostBackgroundStyle;
|
|
274
283
|
get showSpinner(): boolean;
|
|
275
284
|
get showInlineSpinner(): boolean;
|
|
276
285
|
showButtonLink(): boolean;
|
|
@@ -285,14 +294,14 @@ declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
|
285
294
|
getIconName(iconName: string, defaultValue: string): IconName;
|
|
286
295
|
private createAriaLabelledById;
|
|
287
296
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{ optional: true; }]>;
|
|
288
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingWithLabel": { "alias": "loadingWithLabel"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "buttonBadgeConfig": { "alias": "buttonBadgeConfig"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disabledScaleOnClick": { "alias": "disabledScaleOnClick"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "ariaControls": { "alias": "ariaControls"; "required": false; }; "ariaPressed": { "alias": "ariaPressed"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; "hasBackground": { "alias": "hasBackground"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; "iconFilled": { "alias": "iconFilled"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never,
|
|
297
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingWithLabel": { "alias": "loadingWithLabel"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "buttonBadgeConfig": { "alias": "buttonBadgeConfig"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disabledScaleOnClick": { "alias": "disabledScaleOnClick"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "ariaControls": { "alias": "ariaControls"; "required": false; }; "ariaPressed": { "alias": "ariaPressed"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; "hasBackground": { "alias": "hasBackground"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; "iconFilled": { "alias": "iconFilled"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, true, never>;
|
|
289
298
|
static ngAcceptInputType_preventDefault: unknown;
|
|
290
299
|
static ngAcceptInputType_hasBackground: unknown;
|
|
291
300
|
}
|
|
292
301
|
|
|
293
302
|
declare class ButtonComponentModule {
|
|
294
303
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponentModule, never>;
|
|
295
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonComponentModule,
|
|
304
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonComponentModule, never, [typeof i1.CommonModule, typeof i2.MatButtonModule, typeof i3.IconComponentModule, typeof i4.MatProgressSpinnerModule, typeof i5.MatTooltipModule, typeof i6.BadgeComponentModule, typeof i7.EllipseTextDirective, typeof i8.MatRadioModule, typeof i7.UiTranslatePipe, typeof ButtonComponent], [typeof ButtonComponent]>;
|
|
296
305
|
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonComponentModule>;
|
|
297
306
|
}
|
|
298
307
|
|
|
@@ -305,7 +314,8 @@ declare class ButtonComponentModule {
|
|
|
305
314
|
* @param typeEvent interaction event
|
|
306
315
|
* @param theme
|
|
307
316
|
*/
|
|
308
|
-
|
|
317
|
+
type LightnessEvent = 'hover' | 'pressed' | 'disabled';
|
|
318
|
+
declare const adjustLightness: (hexColor: string, typeEvent: LightnessEvent, theme?: "new" | "classic") => string;
|
|
309
319
|
/**
|
|
310
320
|
* Transforms hex color to HSL in object variation.
|
|
311
321
|
* @param hexColor string value with hex color
|
|
@@ -2,9 +2,9 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { OnChanges, OnInit, EventEmitter } from '@angular/core';
|
|
3
3
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
4
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i2 from '@testgorilla/tgo-ui/components/icon';
|
|
6
6
|
import { IconSize } from '@testgorilla/tgo-ui/components/icon';
|
|
7
|
-
import * as
|
|
7
|
+
import * as i1 from '@angular/common';
|
|
8
8
|
|
|
9
9
|
type CardSize = 'small' | 'medium' | 'large';
|
|
10
10
|
type CardSizeVariant = 'regular' | 'condensed';
|
|
@@ -90,12 +90,12 @@ declare class CardComponent implements OnChanges, OnInit {
|
|
|
90
90
|
get isSelected(): boolean;
|
|
91
91
|
selectCard(): void;
|
|
92
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, [{ optional: true; }]>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, { "size": { "alias": "size"; "required": false; }; "sizeVariant": { "alias": "sizeVariant"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "errorsSize": { "alias": "errorsSize"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowSelect": { "alias": "allowSelect"; "required": false; }; "allowFocus": { "alias": "allowFocus"; "required": false; }; }, { "cardSelected": "cardSelected"; }, never, ["*"],
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ui-card", never, { "size": { "alias": "size"; "required": false; }; "sizeVariant": { "alias": "sizeVariant"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "errorsSize": { "alias": "errorsSize"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "allowSelect": { "alias": "allowSelect"; "required": false; }; "allowFocus": { "alias": "allowFocus"; "required": false; }; }, { "cardSelected": "cardSelected"; }, never, ["*"], true, never>;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
declare class CardComponentModule {
|
|
97
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponentModule, never>;
|
|
98
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CardComponentModule, [typeof
|
|
98
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CardComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof CardComponent], [typeof CardComponent]>;
|
|
99
99
|
static ɵinj: i0.ɵɵInjectorDeclaration<CardComponentModule>;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
+
import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
|
|
1
2
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, DoCheck, OnChanges, AfterViewInit, OnDestroy, EventEmitter
|
|
3
|
-
import * as
|
|
3
|
+
import { OnInit, DoCheck, OnChanges, AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
4
|
+
import * as i3 from '@angular/forms';
|
|
4
5
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
5
|
-
import * as
|
|
6
|
+
import * as i2 from '@angular/material/checkbox';
|
|
6
7
|
import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
|
|
7
|
-
import * as
|
|
8
|
+
import * as i8 from '@angular/material/tooltip';
|
|
9
|
+
import { MatTooltip } from '@angular/material/tooltip';
|
|
10
|
+
import * as i6 from '@testgorilla/tgo-ui/components/core';
|
|
8
11
|
import { ApplicationTheme, Alignment } from '@testgorilla/tgo-ui/components/core';
|
|
9
12
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
10
|
-
import * as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
14
|
-
import * as i5 from '@angular/material/input';
|
|
15
|
-
import * as i6 from '@testgorilla/tgo-ui/components/icon';
|
|
16
|
-
import * as i8 from '@testgorilla/tgo-ui/components/validation-error';
|
|
13
|
+
import * as i1 from '@angular/common';
|
|
14
|
+
import * as i4 from '@angular/material/input';
|
|
15
|
+
import * as i5 from '@testgorilla/tgo-ui/components/icon';
|
|
16
|
+
import * as i7 from '@testgorilla/tgo-ui/components/validation-error';
|
|
17
17
|
|
|
18
18
|
declare class CheckboxComponent implements OnInit, FocusableOption, ControlValueAccessor, DoCheck, OnChanges, AfterViewInit, OnDestroy {
|
|
19
|
-
private readonly defaultAppTheme;
|
|
20
|
-
private cdr;
|
|
21
|
-
ngControl: NgControl;
|
|
22
|
-
private focusMonitor;
|
|
23
|
-
private ngZone;
|
|
24
|
-
private destroyRef;
|
|
25
19
|
/**
|
|
26
20
|
* Determines whether the checkbox is disabled.
|
|
27
21
|
* Default: false.
|
|
@@ -165,7 +159,7 @@ declare class CheckboxComponent implements OnInit, FocusableOption, ControlValue
|
|
|
165
159
|
/**
|
|
166
160
|
* @ignore
|
|
167
161
|
*/
|
|
168
|
-
onChange: (
|
|
162
|
+
onChange: (_value: boolean) => void;
|
|
169
163
|
/**
|
|
170
164
|
* @ignore
|
|
171
165
|
*/
|
|
@@ -175,7 +169,13 @@ declare class CheckboxComponent implements OnInit, FocusableOption, ControlValue
|
|
|
175
169
|
tooltipElement: MatTooltip;
|
|
176
170
|
checkboxElement: MatCheckbox;
|
|
177
171
|
protected origin: string | null;
|
|
178
|
-
|
|
172
|
+
private readonly defaultAppTheme;
|
|
173
|
+
private readonly cdr;
|
|
174
|
+
ngControl: NgControl | null;
|
|
175
|
+
private readonly focusMonitor;
|
|
176
|
+
private readonly ngZone;
|
|
177
|
+
private readonly destroyRef;
|
|
178
|
+
constructor();
|
|
179
179
|
ngOnChanges(): void;
|
|
180
180
|
/**
|
|
181
181
|
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
@@ -190,15 +190,15 @@ declare class CheckboxComponent implements OnInit, FocusableOption, ControlValue
|
|
|
190
190
|
toggleChecked(): void;
|
|
191
191
|
setClass(): string;
|
|
192
192
|
writeValue(value: boolean): void;
|
|
193
|
-
registerOnChange(fn:
|
|
194
|
-
registerOnTouched(fn:
|
|
193
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
194
|
+
registerOnTouched(fn: () => void): void;
|
|
195
195
|
setDisabledState(isDisabled: boolean): void;
|
|
196
196
|
onLabelEllipsisChange(isEllipsis: boolean): void;
|
|
197
197
|
onFocus(isFocus: boolean): void;
|
|
198
198
|
private setCompanyColor;
|
|
199
199
|
focus(): void;
|
|
200
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent,
|
|
201
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "truncateText": { "alias": "truncateText"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changed": "changed"; }, never, ["[checkbox-label]"],
|
|
200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
201
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "ui-checkbox", never, { "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "name": { "alias": "name"; "required": false; }; "label": { "alias": "label"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "truncateText": { "alias": "truncateText"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, { "changed": "changed"; }, never, ["[checkbox-label]"], true, never>;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
declare class FocusVisibleDirective {
|
|
@@ -214,7 +214,7 @@ declare class FocusVisibleDirective {
|
|
|
214
214
|
|
|
215
215
|
declare class CheckboxComponentModule {
|
|
216
216
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponentModule, never>;
|
|
217
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxComponentModule,
|
|
217
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxComponentModule, never, [typeof i1.CommonModule, typeof i2.MatCheckboxModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.UiTranslatePipe, typeof i7.ValidationErrorModule, typeof i6.HasValidationErrorPipe, typeof i6.EllipseTextDirective, typeof i8.MatTooltipModule, typeof FocusVisibleDirective, typeof CheckboxComponent], [typeof CheckboxComponent]>;
|
|
218
218
|
static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxComponentModule>;
|
|
219
219
|
}
|
|
220
220
|
|
|
@@ -48,14 +48,15 @@ declare class LanguageService {
|
|
|
48
48
|
* Checks if element ellipsis
|
|
49
49
|
*/
|
|
50
50
|
declare class EllipseTextDirective implements OnInit {
|
|
51
|
-
private el;
|
|
51
|
+
private readonly el;
|
|
52
52
|
isMultiline: boolean;
|
|
53
53
|
maxDiffPixels: number;
|
|
54
54
|
checkEllipsis$: Subject<void>;
|
|
55
55
|
refreshEllipsis$: Subject<void>;
|
|
56
|
-
set refresh(_:
|
|
56
|
+
set refresh(_: unknown);
|
|
57
57
|
onChangeTextState: EventEmitter<boolean>;
|
|
58
58
|
resize(): void;
|
|
59
|
+
private readonly destroyRef;
|
|
59
60
|
constructor(el: ElementRef);
|
|
60
61
|
ngOnInit(): void;
|
|
61
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<EllipseTextDirective, never>;
|
|
@@ -68,7 +69,7 @@ declare class EllipseTextDirective implements OnInit {
|
|
|
68
69
|
declare class UiTranslatePipe implements PipeTransform {
|
|
69
70
|
private readonly languageService;
|
|
70
71
|
protected readonly LANGS: {
|
|
71
|
-
[key: string]:
|
|
72
|
+
[key: string]: unknown;
|
|
72
73
|
};
|
|
73
74
|
constructor(languageService: LanguageService);
|
|
74
75
|
/**
|
|
@@ -80,7 +81,7 @@ declare class UiTranslatePipe implements PipeTransform {
|
|
|
80
81
|
* 'You have {{attemptsAmount}} attempts left
|
|
81
82
|
* the interpolation object should be { attemptsAmount: 10 }
|
|
82
83
|
*/
|
|
83
|
-
transform(translateKey: string, interpolationData?:
|
|
84
|
+
transform(translateKey: string, interpolationData?: Record<string, unknown>): Observable<string>;
|
|
84
85
|
/**
|
|
85
86
|
* Used to find and replace interpolation in text
|
|
86
87
|
* @param translation the translation text
|
|
@@ -108,29 +109,35 @@ type Alignment = 'center' | 'top';
|
|
|
108
109
|
declare const hexToRgbWithAlpha: (hex: string, alpha?: number) => string;
|
|
109
110
|
|
|
110
111
|
declare class AutocompleteUtils {
|
|
111
|
-
static transformDisplayValue(value:
|
|
112
|
-
static filterItems(items:
|
|
113
|
-
static isPrimitive(value:
|
|
114
|
-
static isArray(value:
|
|
112
|
+
static transformDisplayValue(value: unknown, textField: string): unknown;
|
|
113
|
+
static filterItems<T>(items: T[], inputValue: string, textField?: string, isGroup?: boolean): T[];
|
|
114
|
+
static isPrimitive(value: unknown): boolean;
|
|
115
|
+
static isArray(value: unknown): boolean;
|
|
115
116
|
static throwInvalidSetupError(): void;
|
|
116
|
-
static excludeSuggestions(items:
|
|
117
|
-
static shouldBeObject(value:
|
|
118
|
-
static createValueItem(value:
|
|
119
|
-
static findDuplicate(value:
|
|
120
|
-
static countMatchingWords(words:
|
|
117
|
+
static excludeSuggestions<T>(items: T[], excludeItems: T[], valueField?: string): T[];
|
|
118
|
+
static shouldBeObject(value: unknown, textField: string, valueField: string): boolean;
|
|
119
|
+
static createValueItem(value: unknown, textField: string, valueField: string): unknown;
|
|
120
|
+
static findDuplicate(value: unknown, selectedValue: unknown, lookupKey?: string): unknown;
|
|
121
|
+
static countMatchingWords(words: unknown[], query: string, textField?: string, isGroup?: boolean): number;
|
|
122
|
+
/**
|
|
123
|
+
* Faithful to the previous `any` behaviour: text/value fields are expected to
|
|
124
|
+
* be strings, and calling `.toLowerCase()` on a non-string throws exactly as
|
|
125
|
+
* it did before. Kept private so it is not part of the public API surface.
|
|
126
|
+
*/
|
|
127
|
+
private static toLower;
|
|
121
128
|
}
|
|
122
129
|
|
|
123
130
|
declare class DigitsOnlyDirective {
|
|
124
|
-
private el;
|
|
125
|
-
constructor(el: ElementRef);
|
|
131
|
+
private readonly el;
|
|
132
|
+
constructor(el: ElementRef<HTMLInputElement>);
|
|
126
133
|
allowNegative: boolean;
|
|
127
134
|
allowDecimal: boolean;
|
|
128
135
|
allowOnlyDigits: boolean;
|
|
129
136
|
regex: RegExp;
|
|
130
137
|
onKeyPress(event: KeyboardEvent): void;
|
|
131
138
|
onPaste(event: Event): void;
|
|
132
|
-
onKeydown(event:
|
|
133
|
-
onInput(event:
|
|
139
|
+
onKeydown(event: KeyboardEvent): void;
|
|
140
|
+
onInput(event: Event): void;
|
|
134
141
|
validate(event: Event, text: string): void;
|
|
135
142
|
static ɵfac: i0.ɵɵFactoryDeclaration<DigitsOnlyDirective, never>;
|
|
136
143
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DigitsOnlyDirective, "[digitsOnly]", never, { "allowNegative": { "alias": "allowNegative"; "required": false; }; "allowDecimal": { "alias": "allowDecimal"; "required": false; }; "allowOnlyDigits": { "alias": "allowOnlyDigits"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -145,14 +152,14 @@ declare class HasValidationErrorPipe implements PipeTransform {
|
|
|
145
152
|
* Checks if the error on the NgControl is in the list of handled error types
|
|
146
153
|
* @param value
|
|
147
154
|
*/
|
|
148
|
-
transform(value: Record<string,
|
|
155
|
+
transform(value: Record<string, unknown> | null | undefined): boolean;
|
|
149
156
|
static ɵfac: i0.ɵɵFactoryDeclaration<HasValidationErrorPipe, never>;
|
|
150
157
|
static ɵpipe: i0.ɵɵPipeDeclaration<HasValidationErrorPipe, "hasValidationError", true>;
|
|
151
158
|
}
|
|
152
159
|
|
|
153
160
|
declare class SelectTextDirective {
|
|
154
161
|
selectText: i0.InputSignal<string | null>;
|
|
155
|
-
private el;
|
|
162
|
+
private readonly el;
|
|
156
163
|
private highlighted;
|
|
157
164
|
constructor();
|
|
158
165
|
private highlight;
|
|
@@ -168,14 +175,14 @@ declare class PreventInputDirective {
|
|
|
168
175
|
}
|
|
169
176
|
|
|
170
177
|
declare class IncludesPipe implements PipeTransform {
|
|
171
|
-
transform(value: Record<string,
|
|
178
|
+
transform(value: Record<string, unknown>, values: Record<string, unknown> | Record<string, unknown>[], valueField?: string): boolean;
|
|
172
179
|
static ɵfac: i0.ɵɵFactoryDeclaration<IncludesPipe, never>;
|
|
173
180
|
static ɵpipe: i0.ɵɵPipeDeclaration<IncludesPipe, "includes", true>;
|
|
174
181
|
}
|
|
175
182
|
|
|
176
183
|
declare class TransformItemPipe implements PipeTransform {
|
|
177
|
-
transform(value: Record<string,
|
|
178
|
-
transform(value: Record<string,
|
|
184
|
+
transform(value: Record<string, unknown> | Record<string, unknown>[] | null | undefined, field: string, getValueList: true): string[];
|
|
185
|
+
transform(value: Record<string, unknown> | Record<string, unknown>[] | null | undefined, field: string, getValueList?: false): string;
|
|
179
186
|
static ɵfac: i0.ɵɵFactoryDeclaration<TransformItemPipe, never>;
|
|
180
187
|
static ɵpipe: i0.ɵɵPipeDeclaration<TransformItemPipe, "transformItem", true>;
|
|
181
188
|
}
|
|
@@ -276,7 +283,7 @@ declare enum Color {
|
|
|
276
283
|
*
|
|
277
284
|
* */
|
|
278
285
|
declare class MemoizeFuncPipe implements PipeTransform {
|
|
279
|
-
transform<T, K>(value: T, handler: (value: T) => K, context?:
|
|
286
|
+
transform<T, K>(value: T, handler: (value: T) => K, context?: unknown): K;
|
|
280
287
|
static ɵfac: i0.ɵɵFactoryDeclaration<MemoizeFuncPipe, never>;
|
|
281
288
|
static ɵpipe: i0.ɵɵPipeDeclaration<MemoizeFuncPipe, "memoizeFunc", true>;
|
|
282
289
|
}
|
|
@@ -288,28 +295,28 @@ declare class OrdinalSuffixPipe implements PipeTransform {
|
|
|
288
295
|
}
|
|
289
296
|
|
|
290
297
|
declare class TruncatePipe implements PipeTransform {
|
|
291
|
-
transform(input:
|
|
298
|
+
transform(input: unknown, length?: number, suffix?: string, preserve?: boolean): unknown;
|
|
292
299
|
static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
|
|
293
300
|
static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", true>;
|
|
294
301
|
}
|
|
295
302
|
|
|
296
303
|
declare class DataPropertyGetterPipe implements PipeTransform {
|
|
297
|
-
transform(obj: object, keyName?: string):
|
|
304
|
+
transform(obj: object, keyName?: string): unknown;
|
|
298
305
|
private getDeepVal;
|
|
299
306
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataPropertyGetterPipe, never>;
|
|
300
307
|
static ɵpipe: i0.ɵɵPipeDeclaration<DataPropertyGetterPipe, "dataPropertyGetter", true>;
|
|
301
308
|
}
|
|
302
309
|
|
|
303
310
|
interface IComponentRenderer {
|
|
304
|
-
component: Type<
|
|
305
|
-
inputs?:
|
|
311
|
+
component: Type<unknown>;
|
|
312
|
+
inputs?: Record<string, unknown>;
|
|
306
313
|
outputs?: {
|
|
307
|
-
[key: string]:
|
|
314
|
+
[key: string]: (event: unknown) => void;
|
|
308
315
|
};
|
|
309
316
|
}
|
|
310
317
|
declare class DynamicComponentDirective implements OnDestroy {
|
|
311
|
-
private vcr;
|
|
312
|
-
private subscription;
|
|
318
|
+
private readonly vcr;
|
|
319
|
+
private readonly subscription;
|
|
313
320
|
private compRef;
|
|
314
321
|
set dynamicComponent(componentRenderer: IComponentRenderer);
|
|
315
322
|
constructor(vcr: ViewContainerRef);
|
|
@@ -327,7 +334,8 @@ declare class DynamicComponentDirective implements OnDestroy {
|
|
|
327
334
|
* @param typeEvent interaction event
|
|
328
335
|
* @param theme
|
|
329
336
|
*/
|
|
330
|
-
|
|
337
|
+
type LightnessEvent = 'hover' | 'pressed' | 'disabled';
|
|
338
|
+
declare const adjustLightness: (hexColor: string, typeEvent: LightnessEvent, theme?: "new" | "classic") => string;
|
|
331
339
|
/**
|
|
332
340
|
* Transforms hex color to HSL in object variation.
|
|
333
341
|
* @param hexColor string value with hex color
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnChanges, DoCheck, OnInit, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i5 from '@angular/forms';
|
|
4
4
|
import { ControlValueAccessor, NgControl, FormGroup, FormControl } from '@angular/forms';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i6 from '@angular/material/datepicker';
|
|
6
|
+
import { MatDatepicker } from '@angular/material/datepicker';
|
|
7
|
+
import * as i8 from '@testgorilla/tgo-ui/components/core';
|
|
6
8
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
9
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
-
import * as
|
|
9
|
-
import
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import * as i5 from '@testgorilla/tgo-ui/components/icon';
|
|
14
|
-
import * as i8 from '@angular/material/core';
|
|
10
|
+
import * as i1 from '@angular/common';
|
|
11
|
+
import * as i2 from '@angular/material/form-field';
|
|
12
|
+
import * as i3 from '@angular/material/input';
|
|
13
|
+
import * as i4 from '@testgorilla/tgo-ui/components/icon';
|
|
14
|
+
import * as i7 from '@angular/material/core';
|
|
15
15
|
import { NativeDateAdapter } from '@angular/material/core';
|
|
16
|
-
import * as
|
|
16
|
+
import * as i10 from '@testgorilla/tgo-ui/components/validation-error';
|
|
17
17
|
|
|
18
18
|
declare class DatepickerService {
|
|
19
19
|
#private;
|
|
@@ -25,9 +25,9 @@ declare class DatepickerService {
|
|
|
25
25
|
|
|
26
26
|
declare class DatepickerComponent implements OnChanges, ControlValueAccessor, DoCheck, OnInit {
|
|
27
27
|
private readonly defaultAppTheme;
|
|
28
|
-
private cdr;
|
|
28
|
+
private readonly cdr;
|
|
29
29
|
ngControl: NgControl;
|
|
30
|
-
private datepickerService;
|
|
30
|
+
private readonly datepickerService;
|
|
31
31
|
class: string;
|
|
32
32
|
/**
|
|
33
33
|
* Form field label
|
|
@@ -209,7 +209,7 @@ declare class DatepickerComponent implements OnChanges, ControlValueAccessor, Do
|
|
|
209
209
|
/**
|
|
210
210
|
* @ignore
|
|
211
211
|
*/
|
|
212
|
-
onChange: (
|
|
212
|
+
onChange: (value: Date | Date[]) => void;
|
|
213
213
|
/**
|
|
214
214
|
* @ignore
|
|
215
215
|
*/
|
|
@@ -239,18 +239,18 @@ declare class DatepickerComponent implements OnChanges, ControlValueAccessor, Do
|
|
|
239
239
|
setErrorsLength(): boolean;
|
|
240
240
|
onValueChange(value: Date | Date[]): void;
|
|
241
241
|
writeValue(value?: Date | Date[]): void;
|
|
242
|
-
registerOnChange(fn:
|
|
243
|
-
registerOnTouched(fn:
|
|
242
|
+
registerOnChange(fn: (value: Date | Date[]) => void): void;
|
|
243
|
+
registerOnTouched(fn: () => void): void;
|
|
244
244
|
setDisabledState(isDisabled: boolean): void;
|
|
245
245
|
handleCloseRangePicker(): void;
|
|
246
246
|
fillSingleDateRange(isStart: boolean): void;
|
|
247
247
|
dateRangeChange(): void;
|
|
248
|
-
setMonthAndYear(normalizedMonthAndYear:
|
|
248
|
+
setMonthAndYear(normalizedMonthAndYear: Date, datepicker: MatDatepicker<Date>): void;
|
|
249
249
|
private setRange;
|
|
250
250
|
onInput(event: Event): void;
|
|
251
251
|
private setStyleVariable;
|
|
252
252
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponent, [{ optional: true; }, null, { optional: true; self: true; }, null]>;
|
|
253
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "setSingleDateRangeOnBlur": { "alias": "setSingleDateRangeOnBlur"; "required": false; }; "showInnerErrors": { "alias": "showInnerErrors"; "required": false; }; "innerErrorsMessage": { "alias": "innerErrorsMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "browserTimezone": { "alias": "browserTimezone"; "required": false; }; }, { "changed": "changed"; }, never, never,
|
|
253
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerComponent, "ui-datepicker", never, { "label": { "alias": "label"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "isRange": { "alias": "isRange"; "required": false; }; "setSingleDateRangeOnBlur": { "alias": "setSingleDateRangeOnBlur"; "required": false; }; "showInnerErrors": { "alias": "showInnerErrors"; "required": false; }; "innerErrorsMessage": { "alias": "innerErrorsMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "monthPicker": { "alias": "monthPicker"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "preventUserInput": { "alias": "preventUserInput"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "browserTimezone": { "alias": "browserTimezone"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
declare class CustomDateAdapter extends NativeDateAdapter {
|
|
@@ -265,7 +265,7 @@ declare class NoDateFormatDirective {
|
|
|
265
265
|
|
|
266
266
|
declare class DatepickerComponentModule {
|
|
267
267
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerComponentModule, never>;
|
|
268
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerComponentModule,
|
|
268
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerComponentModule, never, [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.MatInputModule, typeof i4.IconComponentModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.MatDatepickerModule, typeof i7.MatNativeDateModule, typeof i8.UiTranslatePipe, typeof NoDateFormatDirective, typeof i8.HasValidationErrorPipe, typeof i10.ValidationErrorModule, typeof DatepickerComponent], [typeof DatepickerComponent]>;
|
|
269
269
|
static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerComponentModule>;
|
|
270
270
|
}
|
|
271
271
|
|