@testgorilla/tgo-ui 8.19.1 → 9.1.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 +45 -35
- 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 -18
- 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 +147 -121
- 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 +63 -57
- 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,21 +1,21 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, OnChanges, AfterViewInit, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
-
import * as
|
|
2
|
+
import { OnInit, OnChanges, AfterViewInit, EventEmitter, SimpleChanges, ChangeDetectorRef } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/material/dialog';
|
|
4
4
|
import { MatDialogRef, MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i3 from '@testgorilla/tgo-ui/components/button';
|
|
6
|
+
import { ButtonColor, ButtonIconPosition, ButtonComponent } from '@testgorilla/tgo-ui/components/button';
|
|
7
|
+
import * as i4 from '@testgorilla/tgo-ui/components/core';
|
|
6
8
|
import { ApplicationTheme, Language } from '@testgorilla/tgo-ui/components/core';
|
|
7
9
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
-
import * as i4 from '@testgorilla/tgo-ui/components/button';
|
|
9
|
-
import { ButtonColor, ButtonIconPosition, ButtonComponent } from '@testgorilla/tgo-ui/components/button';
|
|
10
10
|
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i1 from '@angular/common';
|
|
12
12
|
import { ComponentType } from '@angular/cdk/portal';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i4$1 from '@testgorilla/tgo-ui/components/toggle';
|
|
14
14
|
|
|
15
15
|
declare class DialogComponent implements OnInit, OnChanges, AfterViewInit {
|
|
16
16
|
private readonly defaultAppTheme;
|
|
17
17
|
dialogRef: MatDialogRef<DialogComponent>;
|
|
18
|
-
private data;
|
|
18
|
+
private readonly data;
|
|
19
19
|
/**
|
|
20
20
|
* Dialog title
|
|
21
21
|
*
|
|
@@ -155,7 +155,7 @@ declare class DialogComponent implements OnInit, OnChanges, AfterViewInit {
|
|
|
155
155
|
});
|
|
156
156
|
disableButtons: boolean;
|
|
157
157
|
protected readonly translationContext = "DIALOG.";
|
|
158
|
-
customHeader?:
|
|
158
|
+
customHeader?: unknown;
|
|
159
159
|
get hasCustomHeader(): boolean;
|
|
160
160
|
ngOnInit(): void;
|
|
161
161
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -166,18 +166,18 @@ declare class DialogComponent implements OnInit, OnChanges, AfterViewInit {
|
|
|
166
166
|
onSecondaryButtonClick(event: Event): void;
|
|
167
167
|
onPrimaryButtonClick(event: Event): void;
|
|
168
168
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, [{ optional: true; }, null, null]>;
|
|
169
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canCloseFn": { "alias": "canCloseFn"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; "footerMessage": { "alias": "footerMessage"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "primaryButtonIconName": { "alias": "primaryButtonIconName"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "primaryButtonDataTestId": { "alias": "primaryButtonDataTestId"; "required": false; }; "secondaryButtonDataTestId": { "alias": "secondaryButtonDataTestId"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disablePrimaryButton": { "alias": "disablePrimaryButton"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "shouldDisableButtons": { "alias": "shouldDisableButtons"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "keyboardOpen": { "alias": "keyboardOpen"; "required": false; }; "primaryButtonIconPosition": { "alias": "primaryButtonIconPosition"; "required": false; "isSignal": true; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, ["customHeader"], ["[dialogHeader]", "*", "[dialogFooter]"],
|
|
169
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canCloseFn": { "alias": "canCloseFn"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; "footerMessage": { "alias": "footerMessage"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "primaryButtonIconName": { "alias": "primaryButtonIconName"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "primaryButtonDataTestId": { "alias": "primaryButtonDataTestId"; "required": false; }; "secondaryButtonDataTestId": { "alias": "secondaryButtonDataTestId"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disablePrimaryButton": { "alias": "disablePrimaryButton"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "shouldDisableButtons": { "alias": "shouldDisableButtons"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "keyboardOpen": { "alias": "keyboardOpen"; "required": false; }; "primaryButtonIconPosition": { "alias": "primaryButtonIconPosition"; "required": false; "isSignal": true; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, ["customHeader"], ["[dialogHeader]", "*", "[dialogFooter]"], true, never>;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
declare class DialogComponentModule {
|
|
173
173
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponentModule, never>;
|
|
174
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof
|
|
174
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, never, [typeof i1.CommonModule, typeof i2.MatDialogModule, typeof i3.ButtonComponentModule, typeof i4.UiTranslatePipe, typeof DialogComponent], [typeof DialogComponent]>;
|
|
175
175
|
static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
type DialogSize = 'small' | 'large' | 'x-large';
|
|
179
179
|
declare class DialogService {
|
|
180
|
-
private matDialog;
|
|
180
|
+
private readonly matDialog;
|
|
181
181
|
private readonly defaultAppTheme;
|
|
182
182
|
constructor(matDialog: MatDialog, defaultAppTheme: ApplicationTheme);
|
|
183
183
|
open<K = any, R = any, T = any>(dialogComponent: ComponentType<T>, dialogConfig?: DialogConfig<K>): MatDialogRef<T, R>;
|
|
@@ -243,12 +243,12 @@ interface ConfirmDialogData {
|
|
|
243
243
|
declare class ConfirmDialogComponent {
|
|
244
244
|
private readonly defaultAppTheme;
|
|
245
245
|
dialogRef: MatDialogRef<ConfirmDialogComponent>;
|
|
246
|
-
private data;
|
|
246
|
+
private readonly data;
|
|
247
247
|
confirmMessage: string | undefined;
|
|
248
248
|
confirmButtonText: string | undefined;
|
|
249
249
|
cancelButtonText: string | undefined;
|
|
250
250
|
title: string | undefined;
|
|
251
|
-
lang:
|
|
251
|
+
lang: i4.Language;
|
|
252
252
|
confirmMessageHtml: string | undefined;
|
|
253
253
|
showCloseButton: boolean;
|
|
254
254
|
showSecondaryButton: boolean;
|
|
@@ -270,18 +270,26 @@ declare class ConfirmDialogComponent {
|
|
|
270
270
|
constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<ConfirmDialogComponent>, data: ConfirmDialogData);
|
|
271
271
|
onConfirm(): void;
|
|
272
272
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, [{ optional: true; }, null, null]>;
|
|
273
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ui-confirm-dialog", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never,
|
|
273
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ui-confirm-dialog", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, true, never>;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
declare class ConfirmDialogComponentModule {
|
|
277
277
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponentModule, never>;
|
|
278
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogComponentModule,
|
|
278
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogComponentModule, never, [typeof i1.CommonModule, typeof i2.MatDialogModule, typeof i3.ButtonComponentModule, typeof DialogComponentModule, typeof i4.UiTranslatePipe, typeof ConfirmDialogComponent], [typeof ConfirmDialogComponent]>;
|
|
279
279
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogComponentModule>;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
+
interface DialogCustomData {
|
|
283
|
+
title?: string;
|
|
284
|
+
type?: 'default' | 'custom-header' | 'footer-content';
|
|
285
|
+
showCloseButton: boolean;
|
|
286
|
+
keyboardOpen: boolean;
|
|
287
|
+
footerMessage?: string;
|
|
288
|
+
}
|
|
282
289
|
declare class DialogCustomComponent implements OnInit {
|
|
283
290
|
private readonly defaultAppTheme;
|
|
284
|
-
protected data:
|
|
291
|
+
protected data: DialogCustomData;
|
|
292
|
+
private readonly cdr;
|
|
285
293
|
canClose: () => boolean;
|
|
286
294
|
/**
|
|
287
295
|
*
|
|
@@ -291,17 +299,17 @@ declare class DialogCustomComponent implements OnInit {
|
|
|
291
299
|
* @memberof DialogComponent
|
|
292
300
|
*/
|
|
293
301
|
applicationTheme: ApplicationTheme;
|
|
294
|
-
constructor(defaultAppTheme: ApplicationTheme, data:
|
|
302
|
+
constructor(defaultAppTheme: ApplicationTheme, data: DialogCustomData, cdr: ChangeDetectorRef);
|
|
295
303
|
ngOnInit(): void;
|
|
296
304
|
canCloseFalse(): boolean;
|
|
297
305
|
canCloseTrue(): boolean;
|
|
298
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponent, [{ optional: true; }, null]>;
|
|
299
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogCustomComponent, "ui-dialog-custom", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never,
|
|
306
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponent, [{ optional: true; }, null, null]>;
|
|
307
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogCustomComponent, "ui-dialog-custom", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, true, never>;
|
|
300
308
|
}
|
|
301
309
|
|
|
302
310
|
declare class DialogCustomComponentModule {
|
|
303
311
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponentModule, never>;
|
|
304
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogCustomComponentModule,
|
|
312
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogCustomComponentModule, never, [typeof i1.CommonModule, typeof DialogComponentModule, typeof i3.ButtonComponentModule, typeof i4$1.ToggleComponentModule, typeof DialogCustomComponent], [typeof DialogCustomComponent]>;
|
|
305
313
|
static ɵinj: i0.ɵɵInjectorDeclaration<DialogCustomComponentModule>;
|
|
306
314
|
}
|
|
307
315
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
2
2
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as i1 from '@angular/common';
|
|
5
|
+
import * as i2 from '@angular/material/divider';
|
|
6
6
|
|
|
7
7
|
type DividerSize = 'small' | 'large';
|
|
8
8
|
|
|
@@ -40,12 +40,12 @@ declare class DividerComponent {
|
|
|
40
40
|
label: string;
|
|
41
41
|
constructor(defaultAppTheme: ApplicationTheme);
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, [{ optional: true; }]>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "ui-divider", never, { "size": { "alias": "size"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never,
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "ui-divider", never, { "size": { "alias": "size"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
declare class DividerComponentModule {
|
|
47
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponentModule, never>;
|
|
48
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DividerComponentModule, [typeof
|
|
48
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DividerComponentModule, never, [typeof i1.CommonModule, typeof i2.MatDividerModule, typeof DividerComponent], [typeof DividerComponent]>;
|
|
49
49
|
static ɵinj: i0.ɵɵInjectorDeclaration<DividerComponentModule>;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -2,7 +2,7 @@ import * as chart_js from 'chart.js';
|
|
|
2
2
|
import { Color, Plugin, ChartOptions } from 'chart.js';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i1 from 'ng2-charts';
|
|
6
6
|
|
|
7
7
|
type DonutChartData = {
|
|
8
8
|
labels: string[];
|
|
@@ -26,12 +26,12 @@ declare class DonutChartComponent {
|
|
|
26
26
|
donutChartPlugins: Plugin<'doughnut'>[];
|
|
27
27
|
donutChartOptions: ChartOptions<'doughnut'>;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DonutChartComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DonutChartComponent, "ui-donut-chart", never, { "donutChartData": { "alias": "donutChartData"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; }, {}, never, never,
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DonutChartComponent, "ui-donut-chart", never, { "donutChartData": { "alias": "donutChartData"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
declare class DonutChartComponentModule {
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<DonutChartComponentModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DonutChartComponentModule, [typeof
|
|
34
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DonutChartComponentModule, never, [typeof i1.BaseChartDirective, typeof DonutChartComponent], [typeof DonutChartComponent]>;
|
|
35
35
|
static ɵinj: i0.ɵɵInjectorDeclaration<DonutChartComponentModule>;
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -1,39 +1,34 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, DoCheck, OnChanges, AfterViewInit, EventEmitter, TemplateRef,
|
|
3
|
-
import * as
|
|
2
|
+
import { OnInit, DoCheck, OnChanges, AfterViewInit, EventEmitter, TemplateRef, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i5 from '@angular/forms';
|
|
4
4
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
5
|
-
import
|
|
5
|
+
import { MatOption } from '@angular/material/core';
|
|
6
|
+
import * as i2 from '@angular/material/form-field';
|
|
6
7
|
import { FloatLabelType } from '@angular/material/form-field';
|
|
7
|
-
import * as
|
|
8
|
+
import * as i7 from '@angular/material/select';
|
|
9
|
+
import { MatSelect, MatSelectChange } from '@angular/material/select';
|
|
10
|
+
import * as i8 from '@testgorilla/tgo-ui/components/core';
|
|
8
11
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
9
12
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
10
|
-
import * as
|
|
13
|
+
import * as i4 from '@testgorilla/tgo-ui/components/icon';
|
|
11
14
|
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
12
|
-
import
|
|
13
|
-
import * as
|
|
14
|
-
import
|
|
15
|
-
import * as
|
|
16
|
-
import * as i4 from '@angular/material/input';
|
|
17
|
-
import * as i7 from '@testgorilla/tgo-ui/components/button';
|
|
18
|
-
import * as i10 from '@testgorilla/tgo-ui/components/validation-error';
|
|
15
|
+
import * as i1 from '@angular/common';
|
|
16
|
+
import * as i3 from '@angular/material/input';
|
|
17
|
+
import * as i6 from '@testgorilla/tgo-ui/components/button';
|
|
18
|
+
import * as i9 from '@testgorilla/tgo-ui/components/validation-error';
|
|
19
19
|
|
|
20
20
|
type OptionType = {
|
|
21
21
|
value?: string;
|
|
22
22
|
displayValue?: string;
|
|
23
23
|
sectionTitle?: string;
|
|
24
24
|
isAISuggested?: boolean;
|
|
25
|
-
} & Record<string,
|
|
25
|
+
} & Record<string, unknown>;
|
|
26
26
|
|
|
27
|
+
/** The dropdown's form value: a single option value, or an array for multi-select. */
|
|
28
|
+
type DropdownValue = string | string[] | null | undefined;
|
|
27
29
|
declare class DropdownComponent implements OnInit, ControlValueAccessor, DoCheck, OnChanges, AfterViewInit {
|
|
28
|
-
private readonly defaultAppTheme;
|
|
29
|
-
private readonly cdr;
|
|
30
|
-
ngControl: NgControl;
|
|
31
|
-
private readonly renderer2;
|
|
32
|
-
private readonly focusMonitor;
|
|
33
|
-
private readonly destroyRef;
|
|
34
|
-
private readonly ngZone;
|
|
35
30
|
class: string;
|
|
36
|
-
findValueByValueField: (item:
|
|
31
|
+
findValueByValueField: (item: OptionType) => boolean;
|
|
37
32
|
/**
|
|
38
33
|
* Text content will be applied to the input element if present.
|
|
39
34
|
*
|
|
@@ -188,23 +183,30 @@ declare class DropdownComponent implements OnInit, ControlValueAccessor, DoCheck
|
|
|
188
183
|
closed: EventEmitter<void>;
|
|
189
184
|
opened: EventEmitter<void>;
|
|
190
185
|
matSelect: MatSelect;
|
|
191
|
-
customOptionTemplate: TemplateRef<
|
|
192
|
-
customSelectedOptionTemplate: TemplateRef<
|
|
186
|
+
customOptionTemplate: TemplateRef<unknown> | null;
|
|
187
|
+
customSelectedOptionTemplate: TemplateRef<unknown> | null;
|
|
193
188
|
onTabPress(): void;
|
|
194
189
|
/**
|
|
195
190
|
* @ignore
|
|
196
191
|
*/
|
|
197
|
-
onChange: (
|
|
192
|
+
onChange: (value: DropdownValue) => void;
|
|
198
193
|
/**
|
|
199
194
|
* @ignore
|
|
200
195
|
*/
|
|
201
196
|
onTouch: () => void;
|
|
202
|
-
|
|
197
|
+
private readonly defaultAppTheme;
|
|
198
|
+
private readonly cdr;
|
|
199
|
+
ngControl: NgControl | null;
|
|
200
|
+
private readonly renderer2;
|
|
201
|
+
private readonly focusMonitor;
|
|
202
|
+
private readonly destroyRef;
|
|
203
|
+
private readonly ngZone;
|
|
204
|
+
constructor();
|
|
203
205
|
floatLabel: FloatLabelType;
|
|
204
206
|
classError: string;
|
|
205
207
|
errorsLength: boolean;
|
|
206
208
|
showCheck: boolean;
|
|
207
|
-
optionSelected:
|
|
209
|
+
optionSelected: MatOption | null;
|
|
208
210
|
keyboardFocused: i0.WritableSignal<boolean>;
|
|
209
211
|
isOpen: i0.WritableSignal<boolean>;
|
|
210
212
|
/**
|
|
@@ -216,23 +218,25 @@ declare class DropdownComponent implements OnInit, ControlValueAccessor, DoCheck
|
|
|
216
218
|
ngOnChanges(changes: SimpleChanges): void;
|
|
217
219
|
ngAfterViewInit(): void;
|
|
218
220
|
clearValue(event: Event): void;
|
|
219
|
-
onChangeOption(event:
|
|
221
|
+
onChangeOption(event: MatSelectChange): void;
|
|
220
222
|
setErrorsLength(): boolean;
|
|
221
|
-
writeValue(value?:
|
|
222
|
-
registerOnChange(fn:
|
|
223
|
-
registerOnTouched(fn:
|
|
223
|
+
writeValue(value?: string): void;
|
|
224
|
+
registerOnChange(fn: (value: DropdownValue) => void): void;
|
|
225
|
+
registerOnTouched(fn: () => void): void;
|
|
224
226
|
setDisabledState(isDisabled: boolean): void;
|
|
225
227
|
onClosed(): void;
|
|
226
228
|
onOpened(): void;
|
|
227
229
|
setStyleVariable(): void;
|
|
228
230
|
onKeydown($event: KeyboardEvent): void;
|
|
229
|
-
|
|
230
|
-
|
|
231
|
+
private handleArrowNavigation;
|
|
232
|
+
private handleSelectionKey;
|
|
233
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
234
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "ui-dropdown", never, { "label": { "alias": "label"; "required": false; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "isAIVariant": { "alias": "isAIVariant"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "valueList": { "alias": "valueList"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "allowMultipleSelection": { "alias": "allowMultipleSelection"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, ["customOptionTemplate", "customSelectedOptionTemplate"], never, true, never>;
|
|
231
235
|
}
|
|
232
236
|
|
|
233
237
|
declare class DropdownComponentModule {
|
|
234
238
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponentModule, never>;
|
|
235
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownComponentModule,
|
|
239
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownComponentModule, never, [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.MatInputModule, typeof i4.IconComponentModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ButtonComponentModule, typeof i7.MatSelectModule, typeof i8.UiTranslatePipe, typeof i9.ValidationErrorModule, typeof i8.HasValidationErrorPipe, typeof DropdownComponent], [typeof DropdownComponent]>;
|
|
236
240
|
static ɵinj: i0.ɵɵInjectorDeclaration<DropdownComponentModule>;
|
|
237
241
|
}
|
|
238
242
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
4
|
|
|
5
5
|
declare enum ElevationType {
|
|
6
6
|
DEFAULT = "default",
|
|
@@ -32,12 +32,12 @@ declare class ElevationShadowComponent {
|
|
|
32
32
|
applicationTheme: ApplicationTheme;
|
|
33
33
|
constructor(defaultAppTheme: ApplicationTheme);
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElevationShadowComponent, [{ optional: true; }]>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ElevationShadowComponent, "ui-elevation-shadow", never, { "elevationType": { "alias": "elevationType"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, ["*"],
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ElevationShadowComponent, "ui-elevation-shadow", never, { "elevationType": { "alias": "elevationType"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
declare class ElevationShadowComponentModule {
|
|
39
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElevationShadowComponentModule, never>;
|
|
40
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ElevationShadowComponentModule, [typeof
|
|
40
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ElevationShadowComponentModule, never, [typeof i1.CommonModule, typeof ElevationShadowComponent], [typeof ElevationShadowComponent]>;
|
|
41
41
|
static ɵinj: i0.ɵɵInjectorDeclaration<ElevationShadowComponentModule>;
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i3 from '@testgorilla/tgo-ui/components/button';
|
|
4
|
+
import { ButtonColor, ButtonIconPosition, ButtonSize } from '@testgorilla/tgo-ui/components/button';
|
|
5
|
+
import * as i4 from '@testgorilla/tgo-ui/components/core';
|
|
4
6
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
5
7
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
6
|
-
import * as
|
|
7
|
-
import { ButtonColor, ButtonIconPosition, ButtonSize } from '@testgorilla/tgo-ui/components/button';
|
|
8
|
-
import * as i3 from '@testgorilla/tgo-ui/components/icon';
|
|
8
|
+
import * as i2 from '@testgorilla/tgo-ui/components/icon';
|
|
9
9
|
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i1 from '@angular/common';
|
|
11
11
|
|
|
12
12
|
type ButtonVariant = 'pink' | 'black' | 'ghost';
|
|
13
13
|
type IllustrationVariant = 'Empty-search' | 'Lost-found-404' | 'Disconnected' | 'Messages' | 'Applications';
|
|
@@ -204,12 +204,12 @@ declare class EmptyStateComponent implements OnInit {
|
|
|
204
204
|
onGeneralVariationButtonClick(event: Event): void;
|
|
205
205
|
getVariant(variant: ButtonVariant): "ghost" | "primary" | "secondary";
|
|
206
206
|
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, [{ optional: true; }]>;
|
|
207
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "ui-empty-state", never, { "showIllustration": { "alias": "showIllustration"; "required": false; }; "illustrationVariant": { "alias": "illustrationVariant"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "emptyStateVariant": { "alias": "emptyStateVariant"; "required": false; }; "title": { "alias": "title"; "required": false; }; "bodyText": { "alias": "bodyText"; "required": false; }; "primaryButtonText": { "alias": "primaryButtonText"; "required": false; }; "primaryButtonVariant": { "alias": "primaryButtonVariant"; "required": false; }; "generalButtonVariation": { "alias": "generalButtonVariation"; "required": false; }; "primaryButtonIconName": { "alias": "primaryButtonIconName"; "required": false; }; "primaryButtonIconPosition": { "alias": "primaryButtonIconPosition"; "required": false; }; "secondaryButtonText": { "alias": "secondaryButtonText"; "required": false; }; "secondaryButtonVariant": { "alias": "secondaryButtonVariant"; "required": false; }; "secondaryButtonIconName": { "alias": "secondaryButtonIconName"; "required": false; }; "secondaryButtonIconPosition": { "alias": "secondaryButtonIconPosition"; "required": false; }; "tertiaryButtonText": { "alias": "tertiaryButtonText"; "required": false; }; "tertiaryButtonVariant": { "alias": "tertiaryButtonVariant"; "required": false; }; "tertiaryButtonIconName": { "alias": "tertiaryButtonIconName"; "required": false; }; "tertiaryButtonIconPosition": { "alias": "tertiaryButtonIconPosition"; "required": false; }; "generalVariationButtonText": { "alias": "generalVariationButtonText"; "required": false; }; "generalVariationButtonSize": { "alias": "generalVariationButtonSize"; "required": false; }; "generalVariationButtonIconName": { "alias": "generalVariationButtonIconName"; "required": false; }; "generalVariationButtonIconPosition": { "alias": "generalVariationButtonIconPosition"; "required": false; }; "generalVariationButtonDisabled": { "alias": "generalVariationButtonDisabled"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "primaryButtonClick": "primaryButtonClick"; "secondaryButtonClick": "secondaryButtonClick"; "tertiaryButtonClick": "tertiaryButtonClick"; "generalVariationButtonClick": "generalVariationButtonClick"; }, never, never,
|
|
207
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "ui-empty-state", never, { "showIllustration": { "alias": "showIllustration"; "required": false; }; "illustrationVariant": { "alias": "illustrationVariant"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "emptyStateVariant": { "alias": "emptyStateVariant"; "required": false; }; "title": { "alias": "title"; "required": false; }; "bodyText": { "alias": "bodyText"; "required": false; }; "primaryButtonText": { "alias": "primaryButtonText"; "required": false; }; "primaryButtonVariant": { "alias": "primaryButtonVariant"; "required": false; }; "generalButtonVariation": { "alias": "generalButtonVariation"; "required": false; }; "primaryButtonIconName": { "alias": "primaryButtonIconName"; "required": false; }; "primaryButtonIconPosition": { "alias": "primaryButtonIconPosition"; "required": false; }; "secondaryButtonText": { "alias": "secondaryButtonText"; "required": false; }; "secondaryButtonVariant": { "alias": "secondaryButtonVariant"; "required": false; }; "secondaryButtonIconName": { "alias": "secondaryButtonIconName"; "required": false; }; "secondaryButtonIconPosition": { "alias": "secondaryButtonIconPosition"; "required": false; }; "tertiaryButtonText": { "alias": "tertiaryButtonText"; "required": false; }; "tertiaryButtonVariant": { "alias": "tertiaryButtonVariant"; "required": false; }; "tertiaryButtonIconName": { "alias": "tertiaryButtonIconName"; "required": false; }; "tertiaryButtonIconPosition": { "alias": "tertiaryButtonIconPosition"; "required": false; }; "generalVariationButtonText": { "alias": "generalVariationButtonText"; "required": false; }; "generalVariationButtonSize": { "alias": "generalVariationButtonSize"; "required": false; }; "generalVariationButtonIconName": { "alias": "generalVariationButtonIconName"; "required": false; }; "generalVariationButtonIconPosition": { "alias": "generalVariationButtonIconPosition"; "required": false; }; "generalVariationButtonDisabled": { "alias": "generalVariationButtonDisabled"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "primaryButtonClick": "primaryButtonClick"; "secondaryButtonClick": "secondaryButtonClick"; "tertiaryButtonClick": "tertiaryButtonClick"; "generalVariationButtonClick": "generalVariationButtonClick"; }, never, never, true, never>;
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
declare class EmptyStateComponentModule {
|
|
211
211
|
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponentModule, never>;
|
|
212
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EmptyStateComponentModule,
|
|
212
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EmptyStateComponentModule, never, [typeof i1.CommonModule, typeof i2.IconComponentModule, typeof i1.NgOptimizedImage, typeof i3.ButtonComponentModule, typeof i4.UiTranslatePipe, typeof EmptyStateComponent], [typeof EmptyStateComponent]>;
|
|
213
213
|
static ɵinj: i0.ɵɵInjectorDeclaration<EmptyStateComponentModule>;
|
|
214
214
|
}
|
|
215
215
|
|
|
@@ -1,45 +1,26 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { OnInit, DoCheck, AfterViewInit, EventEmitter, ElementRef
|
|
3
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
4
|
-
import * as i6 from '@angular/forms';
|
|
5
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
6
|
-
import * as i8 from '@angular/material/icon';
|
|
7
|
-
import { MatIconRegistry } from '@angular/material/icon';
|
|
8
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
2
|
+
import { OnInit, DoCheck, AfterViewInit, EventEmitter, ElementRef } from '@angular/core';
|
|
9
3
|
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
|
|
10
|
-
import * as
|
|
4
|
+
import * as i5 from '@angular/forms';
|
|
5
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
6
|
+
import * as i10 from '@testgorilla/tgo-ui/components/badge';
|
|
7
|
+
import { BadgeVariant } from '@testgorilla/tgo-ui/components/badge';
|
|
8
|
+
import * as i6 from '@testgorilla/tgo-ui/components/button';
|
|
9
|
+
import { ButtonComponent } from '@testgorilla/tgo-ui/components/button';
|
|
10
|
+
import * as i8 from '@testgorilla/tgo-ui/components/core';
|
|
11
11
|
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
12
12
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
13
|
-
import * as
|
|
14
|
-
import { BadgeVariant } from '@testgorilla/tgo-ui/components/badge';
|
|
15
|
-
import * as i5 from '@testgorilla/tgo-ui/components/icon';
|
|
13
|
+
import * as i4 from '@testgorilla/tgo-ui/components/icon';
|
|
16
14
|
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import * as i7 from '@
|
|
21
|
-
import * as
|
|
15
|
+
import * as i1 from '@angular/common';
|
|
16
|
+
import * as i2 from '@angular/material/form-field';
|
|
17
|
+
import * as i3 from '@angular/material/input';
|
|
18
|
+
import * as i7 from '@angular/material/icon';
|
|
19
|
+
import * as i9 from '@testgorilla/tgo-ui/components/validation-error';
|
|
22
20
|
|
|
23
21
|
type FieldType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'search' | 'collapsed-search' | 'validation-text' | 'textarea' | 'textarea-scrollable' | 'multi-line';
|
|
24
22
|
|
|
25
|
-
/**
|
|
26
|
-
* A global counter used to generate unique field IDs.
|
|
27
|
-
* This variable is incremented each time a new field ID is needed.
|
|
28
|
-
*
|
|
29
|
-
* @remarks
|
|
30
|
-
* This is primarily used to ensure that each field component
|
|
31
|
-
* has a unique identifier within the application / useful for their Aria Labels.
|
|
32
|
-
*/
|
|
33
|
-
declare let fieldID: number;
|
|
34
23
|
declare class FieldComponent implements OnInit, ControlValueAccessor, DoCheck, AfterViewInit {
|
|
35
|
-
private readonly defaultAppTheme;
|
|
36
|
-
private matIconRegistry;
|
|
37
|
-
private domSanitizer;
|
|
38
|
-
private cdr;
|
|
39
|
-
ngControl: NgControl;
|
|
40
|
-
private focusMonitor;
|
|
41
|
-
private ngZone;
|
|
42
|
-
private destroyRef;
|
|
43
24
|
class: string;
|
|
44
25
|
/**
|
|
45
26
|
* Indicator of the autocomplete width
|
|
@@ -348,12 +329,20 @@ declare class FieldComponent implements OnInit, ControlValueAccessor, DoCheck, A
|
|
|
348
329
|
/**
|
|
349
330
|
* @ignore
|
|
350
331
|
*/
|
|
351
|
-
onChange: (
|
|
332
|
+
onChange: (value: string | number) => void;
|
|
352
333
|
/**
|
|
353
334
|
* @ignore
|
|
354
335
|
*/
|
|
355
336
|
onTouch: () => void;
|
|
356
|
-
|
|
337
|
+
private readonly defaultAppTheme;
|
|
338
|
+
private readonly matIconRegistry;
|
|
339
|
+
private readonly domSanitizer;
|
|
340
|
+
private readonly cdr;
|
|
341
|
+
ngControl: NgControl | null;
|
|
342
|
+
private readonly focusMonitor;
|
|
343
|
+
private readonly ngZone;
|
|
344
|
+
private readonly destroyRef;
|
|
345
|
+
constructor();
|
|
357
346
|
ngAfterViewInit(): void;
|
|
358
347
|
/**
|
|
359
348
|
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
@@ -372,10 +361,10 @@ declare class FieldComponent implements OnInit, ControlValueAccessor, DoCheck, A
|
|
|
372
361
|
showPasswordClick(): void;
|
|
373
362
|
onChangeInputSearch(): void;
|
|
374
363
|
setErrorsLength(): boolean;
|
|
375
|
-
onInput(event:
|
|
376
|
-
writeValue(value?:
|
|
377
|
-
registerOnChange(fn:
|
|
378
|
-
registerOnTouched(fn:
|
|
364
|
+
onInput(event: Event): void;
|
|
365
|
+
writeValue(value?: string | number): void;
|
|
366
|
+
registerOnChange(fn: (value: string | number) => void): void;
|
|
367
|
+
registerOnTouched(fn: () => void): void;
|
|
379
368
|
setDisabledState(isDisabled: boolean): void;
|
|
380
369
|
onActive(state: boolean, action: string): void;
|
|
381
370
|
onSubmit(): void;
|
|
@@ -383,16 +372,16 @@ declare class FieldComponent implements OnInit, ControlValueAccessor, DoCheck, A
|
|
|
383
372
|
onBlur(): void;
|
|
384
373
|
trackByFn: (index: number, value: string) => string;
|
|
385
374
|
focus(): void;
|
|
386
|
-
refocusPasswordButton(btn:
|
|
387
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldComponent,
|
|
388
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; "fullHeight": { "alias": "fullHeight"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelHtml": { "alias": "labelHtml"; "required": false; "isSignal": true; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "badgeVariant": { "alias": "badgeVariant"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "type": { "alias": "type"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "allowOnlyDigits": { "alias": "allowOnlyDigits"; "required": false; }; "isAutocompleteOff": { "alias": "isAutocompleteOff"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "trimOnBlur": { "alias": "trimOnBlur"; "required": false; }; "trimOnSubmit": { "alias": "trimOnSubmit"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "hasTextAreaCounter": { "alias": "hasTextAreaCounter"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "textareaHeight": { "alias": "textareaHeight"; "required": false; }; "borderless": { "alias": "borderless"; "required": false; }; "autosizableTextarea": { "alias": "autosizableTextarea"; "required": false; }; "isAIVariant": { "alias": "isAIVariant"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; }; }, { "validateEvent": "validateEvent"; "fieldBlur": "fieldBlur"; }, never, never,
|
|
375
|
+
refocusPasswordButton(btn: ButtonComponent): void;
|
|
376
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldComponent, never>;
|
|
377
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; "fullHeight": { "alias": "fullHeight"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelHtml": { "alias": "labelHtml"; "required": false; "isSignal": true; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "badgeVariant": { "alias": "badgeVariant"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "type": { "alias": "type"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "allowOnlyDigits": { "alias": "allowOnlyDigits"; "required": false; }; "isAutocompleteOff": { "alias": "isAutocompleteOff"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "trimOnBlur": { "alias": "trimOnBlur"; "required": false; }; "trimOnSubmit": { "alias": "trimOnSubmit"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "hasTextAreaCounter": { "alias": "hasTextAreaCounter"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "textareaHeight": { "alias": "textareaHeight"; "required": false; }; "borderless": { "alias": "borderless"; "required": false; }; "autosizableTextarea": { "alias": "autosizableTextarea"; "required": false; }; "isAIVariant": { "alias": "isAIVariant"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; }; }, { "validateEvent": "validateEvent"; "fieldBlur": "fieldBlur"; }, never, never, true, never>;
|
|
389
378
|
}
|
|
390
379
|
|
|
391
380
|
declare class FieldComponentModule {
|
|
392
381
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldComponentModule, never>;
|
|
393
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FieldComponentModule,
|
|
382
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FieldComponentModule, never, [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.MatInputModule, typeof i4.IconComponentModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.ButtonComponentModule, typeof i7.MatIconModule, typeof i8.UiTranslatePipe, typeof i9.ValidationErrorModule, typeof i8.HasValidationErrorPipe, typeof i8.DigitsOnlyDirective, typeof i10.BadgeComponentModule, typeof FieldComponent], [typeof FieldComponent]>;
|
|
394
383
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FieldComponentModule>;
|
|
395
384
|
}
|
|
396
385
|
|
|
397
|
-
export { FieldComponent, FieldComponentModule
|
|
386
|
+
export { FieldComponent, FieldComponentModule };
|
|
398
387
|
export type { FieldType };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, OnChanges, EventEmitter, ElementRef, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i6 from '@testgorilla/tgo-ui/components/core';
|
|
5
5
|
import { ApplicationTheme, Color } from '@testgorilla/tgo-ui/components/core';
|
|
6
6
|
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
7
|
+
import * as i1 from '@angular/common';
|
|
8
|
+
import * as i2 from '@angular/material/form-field';
|
|
9
|
+
import * as i3 from '@angular/material/input';
|
|
10
|
+
import * as i4 from '@testgorilla/tgo-ui/components/icon';
|
|
11
|
+
import * as i5 from '@testgorilla/tgo-ui/components/progress-bar';
|
|
12
12
|
|
|
13
13
|
declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAccessor {
|
|
14
14
|
private readonly defaultAppTheme;
|
|
@@ -117,7 +117,7 @@ declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAcce
|
|
|
117
117
|
/**
|
|
118
118
|
* @ignore
|
|
119
119
|
*/
|
|
120
|
-
onChange: (_value:
|
|
120
|
+
onChange: (_value: File | null) => void;
|
|
121
121
|
/**
|
|
122
122
|
* @ignore
|
|
123
123
|
*/
|
|
@@ -138,31 +138,32 @@ declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAcce
|
|
|
138
138
|
showSuccess(): boolean;
|
|
139
139
|
showBrowse(): boolean;
|
|
140
140
|
ngOnChanges(changes: SimpleChanges): void;
|
|
141
|
+
private readonly cdr;
|
|
141
142
|
writeValue(value?: File): void;
|
|
142
|
-
registerOnChange(fn:
|
|
143
|
-
registerOnTouched(fn:
|
|
143
|
+
registerOnChange(fn: (value: File | null) => void): void;
|
|
144
|
+
registerOnTouched(fn: () => void): void;
|
|
144
145
|
setDisabledState(isDisabled: boolean): void;
|
|
145
146
|
private getCompanyColor;
|
|
146
147
|
private fileSizeToMB;
|
|
147
148
|
onKeydown(ev: KeyboardEvent): void;
|
|
148
149
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, [{ optional: true; }]>;
|
|
149
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "required": false; }; "minFileSizeMB": { "alias": "minFileSizeMB"; "required": false; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "showUploadProgress": { "alias": "showUploadProgress"; "required": false; }; "fileProcessingMessage": { "alias": "fileProcessingMessage"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "file": { "alias": "file"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "showFileSize": { "alias": "showFileSize"; "required": false; }; }, { "OnDrop": "OnDrop"; }, never, never,
|
|
150
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "required": false; }; "minFileSizeMB": { "alias": "minFileSizeMB"; "required": false; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "showUploadProgress": { "alias": "showUploadProgress"; "required": false; }; "fileProcessingMessage": { "alias": "fileProcessingMessage"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "file": { "alias": "file"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "showFileSize": { "alias": "showFileSize"; "required": false; }; }, { "OnDrop": "OnDrop"; }, never, never, true, never>;
|
|
150
151
|
}
|
|
151
152
|
|
|
152
153
|
declare class DragDropDirective {
|
|
153
154
|
constructor();
|
|
154
155
|
file: boolean;
|
|
155
|
-
fileDropped: EventEmitter<
|
|
156
|
+
fileDropped: EventEmitter<FileList>;
|
|
156
157
|
onDragOver(event: Event): void;
|
|
157
158
|
onDragLeave(event: Event): void;
|
|
158
159
|
ondrop(event: DragEvent): void;
|
|
159
160
|
static ɵfac: i0.ɵɵFactoryDeclaration<DragDropDirective, never>;
|
|
160
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DragDropDirective, "[uiDragDrop]", never, {}, { "fileDropped": "fileDropped"; }, never, never,
|
|
161
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DragDropDirective, "[uiDragDrop]", never, {}, { "fileDropped": "fileDropped"; }, never, never, true, never>;
|
|
161
162
|
}
|
|
162
163
|
|
|
163
164
|
declare class FileUploadComponentModule {
|
|
164
165
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponentModule, never>;
|
|
165
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadComponentModule, [typeof
|
|
166
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadComponentModule, never, [typeof i1.CommonModule, typeof i2.MatFormFieldModule, typeof i3.MatInputModule, typeof i4.IconComponentModule, typeof i5.ProgressBarComponentModule, typeof i6.UiTranslatePipe, typeof FileUploadComponent, typeof DragDropDirective], [typeof FileUploadComponent]>;
|
|
166
167
|
static ɵinj: i0.ɵɵInjectorDeclaration<FileUploadComponentModule>;
|
|
167
168
|
}
|
|
168
169
|
|