@ndwnu/design-system 11.1.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/images/map-button-icons.svg +5 -1
- package/fesm2022/ndwnu-design-system.mjs +605 -670
- package/fesm2022/ndwnu-design-system.mjs.map +1 -1
- package/index.d.ts +1288 -2
- package/package.json +9 -11
- package/styles/components/_divider.scss +1 -1
- package/styles/components/divider.stories.ts +1 -1
- package/lib/components/accordion/accordion.component.d.ts +0 -12
- package/lib/components/accordion/accordion.service.d.ts +0 -8
- package/lib/components/accordion/index.d.ts +0 -2
- package/lib/components/alert/alert.component.d.ts +0 -26
- package/lib/components/alert/alert.model.d.ts +0 -1
- package/lib/components/alert/index.d.ts +0 -2
- package/lib/components/avatar/avatar.component.d.ts +0 -9
- package/lib/components/avatar/avatar.model.d.ts +0 -2
- package/lib/components/avatar/index.d.ts +0 -2
- package/lib/components/badge/badge.component.d.ts +0 -18
- package/lib/components/badge/index.d.ts +0 -1
- package/lib/components/banner/banner.component.d.ts +0 -38
- package/lib/components/banner/banner.model.d.ts +0 -1
- package/lib/components/banner/index.d.ts +0 -2
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +0 -6
- package/lib/components/breadcrumb/index.d.ts +0 -1
- package/lib/components/breadcrumb-group/breadcrumb-group.component.d.ts +0 -8
- package/lib/components/breadcrumb-group/index.d.ts +0 -1
- package/lib/components/button/button.directive.d.ts +0 -9
- package/lib/components/button/index.d.ts +0 -1
- package/lib/components/card/card-content/card-content.component.d.ts +0 -5
- package/lib/components/card/card-content/index.d.ts +0 -1
- package/lib/components/card/card-footer/card-footer.component.d.ts +0 -5
- package/lib/components/card/card-footer/index.d.ts +0 -1
- package/lib/components/card/card-header/card-header.component.d.ts +0 -11
- package/lib/components/card/card-header/index.d.ts +0 -1
- package/lib/components/card/card.animation.d.ts +0 -1
- package/lib/components/card/card.component.d.ts +0 -19
- package/lib/components/card/index.d.ts +0 -6
- package/lib/components/collapsible/collapsible.animation.d.ts +0 -1
- package/lib/components/collapsible/collapsible.component.d.ts +0 -17
- package/lib/components/collapsible/index.d.ts +0 -1
- package/lib/components/dashboard-card/dashboard-card.component.d.ts +0 -22
- package/lib/components/dashboard-card/index.d.ts +0 -1
- package/lib/components/dropdown/dropdown.component.d.ts +0 -22
- package/lib/components/dropdown/index.d.ts +0 -1
- package/lib/components/edit-bar/edit-bar-actions/edit-bar-actions.component.d.ts +0 -5
- package/lib/components/edit-bar/edit-bar-message/edit-bar-message.component.d.ts +0 -5
- package/lib/components/edit-bar/edit-bar.component.d.ts +0 -15
- package/lib/components/edit-bar/edit-bar.model.d.ts +0 -2
- package/lib/components/edit-bar/index.d.ts +0 -4
- package/lib/components/favorite/favorite.component.d.ts +0 -7
- package/lib/components/favorite/index.d.ts +0 -1
- package/lib/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.d.ts +0 -6
- package/lib/components/form-field/autosuggest/autosuggest-add-option/index.d.ts +0 -1
- package/lib/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.d.ts +0 -8
- package/lib/components/form-field/autosuggest/autosuggest-option/index.d.ts +0 -1
- package/lib/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.d.ts +0 -6
- package/lib/components/form-field/autosuggest/autosuggest-panel/index.d.ts +0 -1
- package/lib/components/form-field/autosuggest/autosuggest.directive.d.ts +0 -9
- package/lib/components/form-field/autosuggest/index.d.ts +0 -5
- package/lib/components/form-field/checkbox/checkbox.component.d.ts +0 -21
- package/lib/components/form-field/checkbox/index.d.ts +0 -1
- package/lib/components/form-field/checkbox-group/checkbox-group.component.d.ts +0 -7
- package/lib/components/form-field/checkbox-group/index.d.ts +0 -1
- package/lib/components/form-field/clear-search-button/clear-search-button.component.d.ts +0 -16
- package/lib/components/form-field/clear-search-button/index.d.ts +0 -1
- package/lib/components/form-field/datepicker/datepicker.component.d.ts +0 -7
- package/lib/components/form-field/datepicker/index.d.ts +0 -1
- package/lib/components/form-field/error/error.component.d.ts +0 -5
- package/lib/components/form-field/error/index.d.ts +0 -1
- package/lib/components/form-field/file-upload/file-upload-text.interface.d.ts +0 -4
- package/lib/components/form-field/file-upload/file-upload.component.d.ts +0 -47
- package/lib/components/form-field/file-upload/index.d.ts +0 -2
- package/lib/components/form-field/form-field.component.d.ts +0 -32
- package/lib/components/form-field/form-field.constant.d.ts +0 -1
- package/lib/components/form-field/form-field.model.d.ts +0 -7
- package/lib/components/form-field/index.d.ts +0 -17
- package/lib/components/form-field/info/index.d.ts +0 -1
- package/lib/components/form-field/info/info.component.d.ts +0 -5
- package/lib/components/form-field/input/index.d.ts +0 -1
- package/lib/components/form-field/input/input.directive.d.ts +0 -22
- package/lib/components/form-field/input-button/index.d.ts +0 -1
- package/lib/components/form-field/input-button/input-button.component.d.ts +0 -12
- package/lib/components/form-field/input-icon/index.d.ts +0 -1
- package/lib/components/form-field/input-icon/input-icon.component.d.ts +0 -5
- package/lib/components/form-field/month-input/date-validators.d.ts +0 -3
- package/lib/components/form-field/month-input/index.d.ts +0 -1
- package/lib/components/form-field/month-input/month-input-utils.d.ts +0 -6
- package/lib/components/form-field/month-input/month-input.component.d.ts +0 -47
- package/lib/components/form-field/option-group/index.d.ts +0 -3
- package/lib/components/form-field/option-group/option-group.component.d.ts +0 -29
- package/lib/components/form-field/option-group/option-group.model.d.ts +0 -1
- package/lib/components/form-field/option-group/option.component.d.ts +0 -10
- package/lib/components/form-field/picker-button/index.d.ts +0 -1
- package/lib/components/form-field/picker-button/picker-button.component.d.ts +0 -15
- package/lib/components/form-field/radio-button/index.d.ts +0 -1
- package/lib/components/form-field/radio-button/radio-button.component.d.ts +0 -20
- package/lib/components/form-field/radio-group/index.d.ts +0 -1
- package/lib/components/form-field/radio-group/radio-group.component.d.ts +0 -16
- package/lib/components/form-field/success/index.d.ts +0 -1
- package/lib/components/form-field/success/success.component.d.ts +0 -5
- package/lib/components/form-field/textarea/auto-grow.directive.d.ts +0 -22
- package/lib/components/form-field/textarea/index.d.ts +0 -2
- package/lib/components/form-field/textarea/max-char.directive.d.ts +0 -27
- package/lib/components/hoverable-list-item/hoverable-list-item.component.d.ts +0 -18
- package/lib/components/hoverable-list-item/hoverable-list-item.model.d.ts +0 -9
- package/lib/components/hoverable-list-item/index.d.ts +0 -2
- package/lib/components/icon/action-icon/action-icon.component.d.ts +0 -33
- package/lib/components/icon/action-icon/index.d.ts +0 -1
- package/lib/components/icon/icon.component.d.ts +0 -6
- package/lib/components/icon/index.d.ts +0 -2
- package/lib/components/index.d.ts +0 -42
- package/lib/components/key-value-list/index.d.ts +0 -1
- package/lib/components/key-value-list/key-value-list.component.d.ts +0 -6
- package/lib/components/layout/index.d.ts +0 -1
- package/lib/components/layout/layout.component.d.ts +0 -14
- package/lib/components/layout-banners/index.d.ts +0 -1
- package/lib/components/layout-banners/layout-banners.component.d.ts +0 -5
- package/lib/components/list/index.d.ts +0 -1
- package/lib/components/list/list.component.d.ts +0 -11
- package/lib/components/list-item/index.d.ts +0 -1
- package/lib/components/list-item/list-item.component.d.ts +0 -33
- package/lib/components/loader/index.d.ts +0 -1
- package/lib/components/loader/loader.component.d.ts +0 -5
- package/lib/components/main-navigation/index.d.ts +0 -2
- package/lib/components/main-navigation/main-navigation-header/index.d.ts +0 -1
- package/lib/components/main-navigation/main-navigation-header/main-navigation-header.component.d.ts +0 -15
- package/lib/components/main-navigation/main-navigation-menu/index.d.ts +0 -1
- package/lib/components/main-navigation/main-navigation-menu/main-navigation-menu.component.d.ts +0 -16
- package/lib/components/main-navigation/main-navigation.component.d.ts +0 -25
- package/lib/components/main-navigation/main-navigation.model.d.ts +0 -15
- package/lib/components/map-button/index.d.ts +0 -2
- package/lib/components/map-button/map-button.component.d.ts +0 -14
- package/lib/components/map-button/map-button.model.d.ts +0 -4
- package/lib/components/map-display/backgrounds.d.ts +0 -21
- package/lib/components/map-display/index.d.ts +0 -3
- package/lib/components/map-display/layers.d.ts +0 -10
- package/lib/components/map-display/map-display-option/index.d.ts +0 -2
- package/lib/components/map-display/map-display-option/map-display-option.component.d.ts +0 -11
- package/lib/components/map-display/map-display-option/map-display-option.model.d.ts +0 -14
- package/lib/components/map-display/map-display.component.d.ts +0 -30
- package/lib/components/map-legend/index.d.ts +0 -2
- package/lib/components/map-legend/map-legend-group/map-legend-group.component.d.ts +0 -9
- package/lib/components/map-legend/map-legend-option/map-legend-option.component.d.ts +0 -7
- package/lib/components/map-legend/map-legend.component.d.ts +0 -17
- package/lib/components/map-legend/map-legend.model.d.ts +0 -33
- package/lib/components/modal/index.d.ts +0 -7
- package/lib/components/modal/modal-content/index.d.ts +0 -1
- package/lib/components/modal/modal-content/modal-content.component.d.ts +0 -5
- package/lib/components/modal/modal-footer/index.d.ts +0 -1
- package/lib/components/modal/modal-footer/modal-footer.component.d.ts +0 -5
- package/lib/components/modal/modal-header/index.d.ts +0 -1
- package/lib/components/modal/modal-header/modal-header.component.d.ts +0 -7
- package/lib/components/modal/modal-ref.d.ts +0 -3
- package/lib/components/modal/modal.component.d.ts +0 -7
- package/lib/components/modal/modal.service.d.ts +0 -17
- package/lib/components/multi-select/checkbox-data.interface.d.ts +0 -8
- package/lib/components/multi-select/index.d.ts +0 -3
- package/lib/components/multi-select/multi-select.component.d.ts +0 -29
- package/lib/components/multi-select/select-all-text.interface.d.ts +0 -4
- package/lib/components/pill/index.d.ts +0 -1
- package/lib/components/pill/pill.component.d.ts +0 -6
- package/lib/components/popover/index.d.ts +0 -1
- package/lib/components/popover/popover-trigger.directive.d.ts +0 -29
- package/lib/components/router-breadcrumbs/index.d.ts +0 -1
- package/lib/components/router-breadcrumbs/router-breadcrumbs.component.d.ts +0 -6
- package/lib/components/splitter/index.d.ts +0 -1
- package/lib/components/splitter/splitter.component.d.ts +0 -69
- package/lib/components/summary-card/index.d.ts +0 -9
- package/lib/components/summary-card/summary-card-action/summary-card-action.component.d.ts +0 -11
- package/lib/components/summary-card/summary-card-actions/summary-card-actions.component.d.ts +0 -9
- package/lib/components/summary-card/summary-card-content/summary-card-content.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card-header/summary-card-header.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card-subtitle/summary-card-subtitle.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card-tag/summary-card-tag.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card-tags/summary-card-tags.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card.component.d.ts +0 -5
- package/lib/components/summary-card/summary-card.model.d.ts +0 -1
- package/lib/components/switcher/index.d.ts +0 -2
- package/lib/components/switcher/model.d.ts +0 -6
- package/lib/components/switcher/switcher.component.d.ts +0 -26
- package/lib/components/tab/index.d.ts +0 -1
- package/lib/components/tab/tab.component.d.ts +0 -18
- package/lib/components/tab-group/index.d.ts +0 -1
- package/lib/components/tab-group/tab-group.component.d.ts +0 -16
- package/lib/components/table/ag-grid-theme.d.ts +0 -2
- package/lib/components/table/index.d.ts +0 -1
- package/lib/components/tag/index.d.ts +0 -1
- package/lib/components/tag/tag.component.d.ts +0 -18
- package/lib/components/toast/index.d.ts +0 -2
- package/lib/components/toast/toast-list/toast-list.component.d.ts +0 -17
- package/lib/components/toast/toast.component.d.ts +0 -20
- package/lib/components/toast/toast.service.d.ts +0 -32
- package/lib/components/tooltip/index.d.ts +0 -2
- package/lib/components/tooltip/tooltip.component.d.ts +0 -6
- package/lib/components/tooltip/tooltip.directive.d.ts +0 -19
- package/lib/models/aria.model.d.ts +0 -1
- package/lib/models/index.d.ts +0 -2
package/index.d.ts
CHANGED
|
@@ -1,2 +1,1288 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import { CoreAutosuggestPanelComponent, CoreAutosuggestDirective, CoreAutosuggestOptionComponent, Image, CoreAutosuggestAddOptionComponent, CoreCheckboxComponent, CoreCheckboxGroupComponent, InputType, CheckableComponent, PillColor, CoreBreadcrumbComponent, CoreBreadcrumbGroupComponent, CoreIconComponent, CoreKeyValueListComponent, CorePillComponent, CoreRouterBreadcrumbsComponent } from '@ndwnu/core';
|
|
2
|
+
export { AutosuggestOption, AutosuggestOptions, AutosuggestSearchFn, IconSize, KeyValueRow } from '@ndwnu/core';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { ElementRef, OnInit, AfterContentInit, AfterViewInit, OnDestroy, InjectionToken, EventEmitter, TemplateRef, Signal, OnChanges } from '@angular/core';
|
|
5
|
+
import { ControlValueAccessor, AbstractControl, NgControl } from '@angular/forms';
|
|
6
|
+
import { Subject, Observable } from 'rxjs';
|
|
7
|
+
import { MatCalendarCellClassFunction } from '@angular/material/datepicker';
|
|
8
|
+
import { Params } from '@angular/router';
|
|
9
|
+
import * as _ndwnu_design_system from '@ndwnu/design-system';
|
|
10
|
+
import { Point } from '@angular/cdk/drag-drop';
|
|
11
|
+
import { ComponentType, TemplatePortal } from '@angular/cdk/portal';
|
|
12
|
+
import { ThemeDefaultParams } from 'ag-grid-community';
|
|
13
|
+
import { DialogRef, Dialog, DialogConfig } from '@angular/cdk/dialog';
|
|
14
|
+
|
|
15
|
+
declare class CollapsibleComponent {
|
|
16
|
+
index: _angular_core.InputSignal<number>;
|
|
17
|
+
title: _angular_core.InputSignal<string>;
|
|
18
|
+
checkable: _angular_core.InputSignal<boolean>;
|
|
19
|
+
subtitle: _angular_core.InputSignal<string | undefined>;
|
|
20
|
+
value: _angular_core.InputSignal<number | undefined>;
|
|
21
|
+
expanded: _angular_core.ModelSignal<boolean>;
|
|
22
|
+
private readonly accordionService;
|
|
23
|
+
private readonly uuid;
|
|
24
|
+
readonly toggleUuid: string;
|
|
25
|
+
readonly sectionUuid: string;
|
|
26
|
+
animationState: _angular_core.Signal<"open" | "closed">;
|
|
27
|
+
toggle(): void;
|
|
28
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CollapsibleComponent, never>;
|
|
29
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CollapsibleComponent, "ndw-collapsible", never, { "index": { "alias": "index"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "checkable": { "alias": "checkable"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["custom-header-content", "*"], true, never>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare class AutosuggestPanelComponent extends CoreAutosuggestPanelComponent {
|
|
33
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutosuggestPanelComponent, never>;
|
|
34
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AutosuggestPanelComponent, "ndw-autosuggest", never, {}, {}, never, never, true, never>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class AutosuggestDirective extends CoreAutosuggestDirective<AutosuggestPanelComponent> {
|
|
38
|
+
readonly ndwAutosuggest: _angular_core.InputSignal<AutosuggestPanelComponent>;
|
|
39
|
+
get autosuggest(): AutosuggestPanelComponent;
|
|
40
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutosuggestDirective, never>;
|
|
41
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AutosuggestDirective, "input[ndwAutosuggest], textarea[ndwAutosuggest]", never, { "ndwAutosuggest": { "alias": "ndwAutosuggest"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare class AutosuggestOptionComponent extends CoreAutosuggestOptionComponent {
|
|
45
|
+
icon: _angular_core.InputSignal<string | undefined>;
|
|
46
|
+
image: _angular_core.InputSignal<Image | undefined>;
|
|
47
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutosuggestOptionComponent, never>;
|
|
48
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AutosuggestOptionComponent, "ndw-autosuggest-option", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare class AutosuggestAddOptionComponent extends CoreAutosuggestAddOptionComponent {
|
|
52
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutosuggestAddOptionComponent, never>;
|
|
53
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AutosuggestAddOptionComponent, "ndw-autosuggest-add-option", never, {}, {}, never, never, true, never>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare class CheckboxComponent extends CoreCheckboxComponent implements ControlValueAccessor {
|
|
57
|
+
switch: _angular_core.InputSignal<boolean>;
|
|
58
|
+
success: _angular_core.InputSignal<boolean>;
|
|
59
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
60
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxComponent, "ndw-checkbox", never, { "switch": { "alias": "switch"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
declare class CheckboxGroupComponent extends CoreCheckboxGroupComponent {
|
|
64
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CheckboxGroupComponent, never>;
|
|
65
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxGroupComponent, "ndw-checkbox-group", never, {}, {}, never, ["*"], true, never>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
declare class DatepickerComponent {
|
|
69
|
+
dateClass: MatCalendarCellClassFunction<Date>;
|
|
70
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DatepickerComponent, never>;
|
|
71
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatepickerComponent, "ndw-datepicker", never, {}, {}, never, never, true, never>;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
declare class ErrorComponent {
|
|
75
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ErrorComponent, never>;
|
|
76
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ErrorComponent, "ndw-error", never, {}, {}, never, ["*"], true, never>;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
interface FileUploadText {
|
|
80
|
+
dragText: string;
|
|
81
|
+
dragOverText: string;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
declare class FileUploadComponent implements ControlValueAccessor {
|
|
85
|
+
readonly allowedFileTypeRegex: _angular_core.InputSignal<RegExp | undefined>;
|
|
86
|
+
readonly disabled: _angular_core.ModelSignal<boolean>;
|
|
87
|
+
readonly fileUploadText: _angular_core.InputSignal<FileUploadText>;
|
|
88
|
+
readonly maxFileSizeInBytes: _angular_core.InputSignal<number>;
|
|
89
|
+
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
90
|
+
readonly uploadDate: _angular_core.InputSignal<string>;
|
|
91
|
+
readonly draggingOver: _angular_core.ModelSignal<boolean>;
|
|
92
|
+
readonly error: _angular_core.ModelSignal<boolean>;
|
|
93
|
+
readonly incorrectFileSize: _angular_core.ModelSignal<boolean>;
|
|
94
|
+
readonly incorrectFileType: _angular_core.ModelSignal<boolean>;
|
|
95
|
+
readonly selectedFile: _angular_core.ModelSignal<File | null | undefined>;
|
|
96
|
+
readonly success: _angular_core.ModelSignal<boolean>;
|
|
97
|
+
private readonly canEdit;
|
|
98
|
+
readonly fileInputElement: _angular_core.Signal<ElementRef<HTMLInputElement>>;
|
|
99
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
100
|
+
onClick(): void;
|
|
101
|
+
onDragLeave(event: DragEvent): void;
|
|
102
|
+
onDragOver(event: DragEvent): void;
|
|
103
|
+
onDragEnter(event: DragEvent): void;
|
|
104
|
+
onDrop(event: DragEvent): void;
|
|
105
|
+
onDownloadFileClick(): void;
|
|
106
|
+
onDeleteClick(event: Event): void;
|
|
107
|
+
displayText(): string;
|
|
108
|
+
onFileSelected(event: Event): void;
|
|
109
|
+
writeValue(value: File): void;
|
|
110
|
+
registerOnChange(fn: (value: File | null | undefined) => void): void;
|
|
111
|
+
registerOnTouched(): void;
|
|
112
|
+
setDisabledState(isDisabled: boolean): void;
|
|
113
|
+
private selectFile;
|
|
114
|
+
private resetFile;
|
|
115
|
+
private correctFileSize;
|
|
116
|
+
private correctFileType;
|
|
117
|
+
/**
|
|
118
|
+
* Ensures that the provided File has a valid MIME type.
|
|
119
|
+
*
|
|
120
|
+
* NOTE: Some file extensions are not automatically mapped to a valid MIME type by the operating system.
|
|
121
|
+
* In such cases, the MIME_TYPE_MAP is used to assign the correct MIME type.
|
|
122
|
+
*/
|
|
123
|
+
private ensureFileType;
|
|
124
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
125
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FileUploadComponent, "ndw-file-upload", never, { "allowedFileTypeRegex": { "alias": "allowedFileTypeRegex"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fileUploadText": { "alias": "fileUploadText"; "required": false; "isSignal": true; }; "maxFileSizeInBytes": { "alias": "maxFileSizeInBytes"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "uploadDate": { "alias": "uploadDate"; "required": false; "isSignal": true; }; "draggingOver": { "alias": "draggingOver"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "incorrectFileSize": { "alias": "incorrectFileSize"; "required": false; "isSignal": true; }; "incorrectFileType": { "alias": "incorrectFileType"; "required": false; "isSignal": true; }; "selectedFile": { "alias": "selectedFile"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "draggingOver": "draggingOverChange"; "error": "errorChange"; "incorrectFileSize": "incorrectFileSizeChange"; "incorrectFileType": "incorrectFileTypeChange"; "selectedFile": "selectedFileChange"; "success": "successChange"; }, never, never, true, never>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
declare class InputDirective implements OnInit {
|
|
129
|
+
set disabled(disabled: boolean);
|
|
130
|
+
get error(): boolean;
|
|
131
|
+
set error(error: boolean);
|
|
132
|
+
set success(success: boolean);
|
|
133
|
+
set id(id: string);
|
|
134
|
+
set ariaDescribedBy(id: string);
|
|
135
|
+
private readonly elementRef;
|
|
136
|
+
private readonly destroyRef;
|
|
137
|
+
private readonly ngControl;
|
|
138
|
+
get element(): HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
|
|
139
|
+
get control(): AbstractControl | null;
|
|
140
|
+
ngOnInit(): void;
|
|
141
|
+
updateErrorAttribute(formFieldError?: boolean): void;
|
|
142
|
+
private setSelectPlaceholderAttribute;
|
|
143
|
+
private updateRequiredAttribute;
|
|
144
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputDirective, never>;
|
|
145
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<InputDirective, "input[ndwInput], select[ndwInput], textarea[ndwInput]", never, {}, {}, never, never, true, never>;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
declare class MonthInputComponent implements ControlValueAccessor, OnInit {
|
|
149
|
+
private readonly destroyRef;
|
|
150
|
+
protected readonly ngControl: NgControl | null;
|
|
151
|
+
readonly required: _angular_core.InputSignal<boolean>;
|
|
152
|
+
readonly showMonthPickerLabel: _angular_core.InputSignal<string>;
|
|
153
|
+
readonly placeholder: _angular_core.InputSignal<string>;
|
|
154
|
+
readonly yearPlaceholder: _angular_core.InputSignal<string>;
|
|
155
|
+
readonly minDate: _angular_core.InputSignal<Date>;
|
|
156
|
+
readonly maxDate: _angular_core.InputSignal<Date>;
|
|
157
|
+
readonly monthLabels: _angular_core.InputSignal<string[]>;
|
|
158
|
+
readonly addValidators: _angular_core.InputSignal<boolean>;
|
|
159
|
+
readonly disabled: _angular_core.ModelSignal<boolean>;
|
|
160
|
+
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
161
|
+
protected readonly selectedYear: _angular_core.ModelSignal<number>;
|
|
162
|
+
protected readonly selectedMonth: _angular_core.ModelSignal<number | null>;
|
|
163
|
+
readonly inputElement: _angular_core.Signal<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement | undefined>;
|
|
164
|
+
protected readonly selectedDate: _angular_core.Signal<Date | null>;
|
|
165
|
+
protected readonly inputValue: _angular_core.Signal<string | null>;
|
|
166
|
+
protected readonly years: _angular_core.Signal<number[]>;
|
|
167
|
+
protected readonly months: _angular_core.Signal<{
|
|
168
|
+
label: string;
|
|
169
|
+
value: number;
|
|
170
|
+
disabled: boolean;
|
|
171
|
+
}[]>;
|
|
172
|
+
protected readonly isYearValid: _angular_core.Signal<boolean>;
|
|
173
|
+
readonly input: _angular_core.Signal<InputDirective | undefined>;
|
|
174
|
+
protected showMonthPicker: boolean;
|
|
175
|
+
private onChange;
|
|
176
|
+
constructor();
|
|
177
|
+
ngOnInit(): void;
|
|
178
|
+
updateErrorAttribute(formFieldError?: boolean): void;
|
|
179
|
+
writeValue(value: Date | null): void;
|
|
180
|
+
registerOnChange(fn: (value: Date | null) => void): void;
|
|
181
|
+
setDisabledState(isDisabled: boolean): void;
|
|
182
|
+
registerOnTouched(): void;
|
|
183
|
+
protected onInputChanged(value: string): void;
|
|
184
|
+
protected onYearSelected(year: string): void;
|
|
185
|
+
protected onMonthSelected(month: number): void;
|
|
186
|
+
protected onKeyDown(event: KeyboardEvent): void;
|
|
187
|
+
private adjustMonth;
|
|
188
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MonthInputComponent, never>;
|
|
189
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MonthInputComponent, "ndw-month-input", never, { "required": { "alias": "required"; "required": false; "isSignal": true; }; "showMonthPickerLabel": { "alias": "showMonthPickerLabel"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "yearPlaceholder": { "alias": "yearPlaceholder"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "monthLabels": { "alias": "monthLabels"; "required": false; "isSignal": true; }; "addValidators": { "alias": "addValidators"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "selectedYear": { "alias": "selectedYear"; "required": false; "isSignal": true; }; "selectedMonth": { "alias": "selectedMonth"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; "selectedYear": "selectedYearChange"; "selectedMonth": "selectedMonthChange"; }, never, never, true, never>;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
declare class FormFieldComponent {
|
|
193
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
194
|
+
readonly suffixAriaLabel: _angular_core.InputSignal<string>;
|
|
195
|
+
readonly hideLabel: _angular_core.InputSignal<boolean>;
|
|
196
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
197
|
+
readonly error: _angular_core.InputSignal<string | undefined>;
|
|
198
|
+
readonly success: _angular_core.InputSignal<string | undefined>;
|
|
199
|
+
readonly info: _angular_core.InputSignal<string | undefined>;
|
|
200
|
+
readonly tooltip: _angular_core.InputSignal<string>;
|
|
201
|
+
readonly clearButtonClicked: _angular_core.OutputEmitterRef<void>;
|
|
202
|
+
protected readonly monthInput: _angular_core.Signal<MonthInputComponent | undefined>;
|
|
203
|
+
protected readonly regularInput: _angular_core.Signal<InputDirective | undefined>;
|
|
204
|
+
protected readonly input: _angular_core.Signal<InputDirective | undefined>;
|
|
205
|
+
protected readonly inputType: _angular_core.Signal<InputType | undefined>;
|
|
206
|
+
protected readonly isSearchInput: _angular_core.Signal<boolean>;
|
|
207
|
+
protected readonly hasPickerButton: _angular_core.Signal<boolean>;
|
|
208
|
+
protected readonly uuid: `${string}-${string}-${string}-${string}-${string}`;
|
|
209
|
+
protected readonly descriptionUuid: `${string}-${string}-${string}-${string}-${string}`;
|
|
210
|
+
protected readonly inputContainerClass = "input-container";
|
|
211
|
+
constructor();
|
|
212
|
+
private setInputDisabledState;
|
|
213
|
+
private setInputErrorState;
|
|
214
|
+
private setInputSuccessState;
|
|
215
|
+
private setInputId;
|
|
216
|
+
private setAriaDescribedBy;
|
|
217
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
218
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "ndw-form-field", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "suffixAriaLabel": { "alias": "suffixAriaLabel"; "required": false; "isSignal": true; }; "hideLabel": { "alias": "hideLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "info": { "alias": "info"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "clearButtonClicked": "clearButtonClicked"; }, ["monthInput", "regularInput"], ["*"], true, never>;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
declare enum FormFieldElement {
|
|
222
|
+
Dropdown = "ndw-dropdown",
|
|
223
|
+
Input = "input",
|
|
224
|
+
Select = "select",
|
|
225
|
+
Textarea = "textarea"
|
|
226
|
+
}
|
|
227
|
+
type CheckType = 'checkbox' | 'radio';
|
|
228
|
+
|
|
229
|
+
declare class InfoComponent {
|
|
230
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoComponent, never>;
|
|
231
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoComponent, "ndw-info", never, {}, {}, never, ["*"], true, never>;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
declare class InputButtonComponent {
|
|
235
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
236
|
+
readonly input: _angular_core.InputSignal<InputDirective | undefined>;
|
|
237
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
238
|
+
readonly alternative: _angular_core.InputSignal<boolean>;
|
|
239
|
+
readonly buttonClicked: _angular_core.OutputEmitterRef<void>;
|
|
240
|
+
protected onClick(): void;
|
|
241
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputButtonComponent, never>;
|
|
242
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputButtonComponent, "ndw-input-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "input": { "alias": "input"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "alternative": { "alias": "alternative"; "required": false; "isSignal": true; }; }, { "buttonClicked": "buttonClicked"; }, never, ["*"], true, never>;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
declare class InputIconComponent {
|
|
246
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputIconComponent, never>;
|
|
247
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputIconComponent, "ndw-input-icon", never, {}, {}, never, ["*"], true, never>;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
type OptionGroupMode = 'single' | 'multiple';
|
|
251
|
+
|
|
252
|
+
declare class OptionComponent {
|
|
253
|
+
value: _angular_core.InputSignal<unknown>;
|
|
254
|
+
label: _angular_core.InputSignal<string>;
|
|
255
|
+
description: _angular_core.InputSignal<string | undefined>;
|
|
256
|
+
required: _angular_core.InputSignal<boolean>;
|
|
257
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
258
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OptionComponent, never>;
|
|
259
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OptionComponent, "ndw-option", never, { "value": { "alias": "value"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
declare class OptionGroupComponent implements ControlValueAccessor {
|
|
263
|
+
private readonly ngControl;
|
|
264
|
+
readonly error: _angular_core.InputSignal<boolean>;
|
|
265
|
+
readonly readonly: _angular_core.InputSignal<boolean>;
|
|
266
|
+
readonly fluid: _angular_core.InputSignal<boolean>;
|
|
267
|
+
readonly fluidColumns: _angular_core.InputSignal<number | null>;
|
|
268
|
+
readonly mode: _angular_core.InputSignal<OptionGroupMode>;
|
|
269
|
+
readonly required: _angular_core.InputSignal<boolean>;
|
|
270
|
+
readonly success: _angular_core.InputSignal<boolean>;
|
|
271
|
+
protected readonly checkedValues: _angular_core.ModelSignal<unknown[]>;
|
|
272
|
+
readonly disabled: _angular_core.ModelSignal<boolean>;
|
|
273
|
+
protected readonly fluidColumnStyle: _angular_core.Signal<string | null>;
|
|
274
|
+
readonly children: _angular_core.Signal<readonly OptionComponent[]>;
|
|
275
|
+
protected readonly uuid: `${string}-${string}-${string}-${string}-${string}`;
|
|
276
|
+
constructor();
|
|
277
|
+
get isRequiredOrHasRequiredValidator(): boolean | null;
|
|
278
|
+
private onChange;
|
|
279
|
+
protected toggleValue(value: unknown): void;
|
|
280
|
+
writeValue(value: unknown[]): void;
|
|
281
|
+
registerOnChange(fn: (value: unknown[]) => void): void;
|
|
282
|
+
registerOnTouched(): void;
|
|
283
|
+
setDisabledState(isDisabled: boolean): void;
|
|
284
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OptionGroupComponent, never>;
|
|
285
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OptionGroupComponent, "ndw-option-group", never, { "error": { "alias": "error"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "fluidColumns": { "alias": "fluidColumns"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "checkedValues": { "alias": "checkedValues"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "checkedValues": "checkedValuesChange"; "disabled": "disabledChange"; }, ["children"], never, true, never>;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
declare class RadioButtonComponent implements ControlValueAccessor, CheckableComponent {
|
|
289
|
+
checked: _angular_core.ModelSignal<boolean>;
|
|
290
|
+
disabled: _angular_core.ModelSignal<boolean>;
|
|
291
|
+
error: _angular_core.InputSignal<boolean>;
|
|
292
|
+
success: _angular_core.InputSignal<boolean>;
|
|
293
|
+
required: _angular_core.InputSignal<boolean>;
|
|
294
|
+
value: _angular_core.ModelSignal<unknown>;
|
|
295
|
+
name: _angular_core.WritableSignal<string | undefined>;
|
|
296
|
+
uuid: `${string}-${string}-${string}-${string}-${string}`;
|
|
297
|
+
onInputChange(event: Event): void;
|
|
298
|
+
writeValue(value: boolean): void;
|
|
299
|
+
registerOnChange(fn: (value: boolean) => void): void;
|
|
300
|
+
registerOnTouched(): void;
|
|
301
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
302
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
|
|
303
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioButtonComponent, "ndw-radio-button", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "disabled": "disabledChange"; "value": "valueChange"; }, never, ["*"], true, never>;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
declare class RadioGroupComponent implements AfterContentInit, ControlValueAccessor {
|
|
307
|
+
radioButtons: _angular_core.Signal<readonly RadioButtonComponent[]>;
|
|
308
|
+
private uuid;
|
|
309
|
+
private onChange;
|
|
310
|
+
ngAfterContentInit(): void;
|
|
311
|
+
writeValue(value: unknown): void;
|
|
312
|
+
registerOnChange(fn: (value: unknown) => void): void;
|
|
313
|
+
registerOnTouched(): void;
|
|
314
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
315
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RadioGroupComponent, never>;
|
|
316
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RadioGroupComponent, "ndw-radio-group", never, {}, {}, ["radioButtons"], ["*"], true, never>;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Directive that automatically grows a textarea element to fit its content.
|
|
321
|
+
*
|
|
322
|
+
* Note that at this moment (2024-09-06) there is an experimental CSS property
|
|
323
|
+
* `field-sizing: content;` that can be used to achieve the same effect. At this
|
|
324
|
+
* moment not all browsers support this property (FF and Safari do not for example).
|
|
325
|
+
*
|
|
326
|
+
* So for now a directive is used to achieve the same effect.
|
|
327
|
+
*/
|
|
328
|
+
declare class AutoGrowDirective implements AfterViewInit {
|
|
329
|
+
private readonly elementRef;
|
|
330
|
+
private readonly ngControl;
|
|
331
|
+
private readonly destroyRef;
|
|
332
|
+
get element(): HTMLTextAreaElement;
|
|
333
|
+
ngAfterViewInit(): void;
|
|
334
|
+
fitContentInTextArea(): void;
|
|
335
|
+
private updateHeightOnNgControlUpdate;
|
|
336
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutoGrowDirective, never>;
|
|
337
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AutoGrowDirective, "textarea[ndwAutoGrow]", never, {}, {}, never, never, true, never>;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
declare class MaxCharDirective implements OnInit, OnDestroy {
|
|
341
|
+
ndwMaxChar: _angular_core.InputSignal<number>;
|
|
342
|
+
maxCharText: _angular_core.InputSignal<string>;
|
|
343
|
+
private readonly elementRef;
|
|
344
|
+
private readonly renderer;
|
|
345
|
+
private readonly destroyRef;
|
|
346
|
+
private counterElement;
|
|
347
|
+
private originalParentStyle;
|
|
348
|
+
private originalElementStyle;
|
|
349
|
+
private get element();
|
|
350
|
+
private get parentStyle();
|
|
351
|
+
private readonly isRendered;
|
|
352
|
+
private readonly isDisabled;
|
|
353
|
+
private readonly ngControl;
|
|
354
|
+
private disabledAttrObserver;
|
|
355
|
+
constructor();
|
|
356
|
+
ngOnInit(): void;
|
|
357
|
+
ngOnDestroy(): void;
|
|
358
|
+
onInput(): void;
|
|
359
|
+
private monitorDisabledState;
|
|
360
|
+
private addCounterElement;
|
|
361
|
+
private removeCounterElement;
|
|
362
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MaxCharDirective, never>;
|
|
363
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MaxCharDirective, "textarea[ndwMaxChar]", never, { "ndwMaxChar": { "alias": "ndwMaxChar"; "required": false; "isSignal": true; }; "maxCharText": { "alias": "maxCharText"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
declare class ListItemComponent implements CheckableComponent {
|
|
367
|
+
#private;
|
|
368
|
+
active: _angular_core.ModelSignal<boolean>;
|
|
369
|
+
badgeValue: _angular_core.InputSignal<number | undefined>;
|
|
370
|
+
buttonIcon: _angular_core.InputSignal<string | undefined>;
|
|
371
|
+
buttonLabel: _angular_core.InputSignal<string | undefined>;
|
|
372
|
+
checkable: _angular_core.InputSignal<boolean>;
|
|
373
|
+
checkType: _angular_core.InputSignal<CheckType>;
|
|
374
|
+
collapsible: _angular_core.InputSignal<boolean>;
|
|
375
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
376
|
+
indented: _angular_core.InputSignal<boolean>;
|
|
377
|
+
pillColor: _angular_core.InputSignal<PillColor>;
|
|
378
|
+
pillLabel: _angular_core.InputSignal<string | undefined>;
|
|
379
|
+
prefixIcon: _angular_core.InputSignal<string | undefined>;
|
|
380
|
+
showButton: _angular_core.InputSignal<boolean>;
|
|
381
|
+
subtitle: _angular_core.InputSignal<string | undefined>;
|
|
382
|
+
title: _angular_core.InputSignal<string | undefined>;
|
|
383
|
+
buttonClicked: _angular_core.OutputEmitterRef<void>;
|
|
384
|
+
checked: _angular_core.ModelSignal<boolean>;
|
|
385
|
+
expanded: _angular_core.ModelSignal<boolean>;
|
|
386
|
+
radioButton: _angular_core.Signal<RadioButtonComponent | undefined>;
|
|
387
|
+
name: _angular_core.WritableSignal<string | undefined>;
|
|
388
|
+
actionable: _angular_core.Signal<boolean>;
|
|
389
|
+
constructor();
|
|
390
|
+
onButtonClick(event: Event): void;
|
|
391
|
+
onCheckClick(event: Event): void;
|
|
392
|
+
onListItemSelect(): void;
|
|
393
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListItemComponent, never>;
|
|
394
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListItemComponent, "ndw-list-item", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "badgeValue": { "alias": "badgeValue"; "required": false; "isSignal": true; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; "isSignal": true; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "checkable": { "alias": "checkable"; "required": false; "isSignal": true; }; "checkType": { "alias": "checkType"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "indented": { "alias": "indented"; "required": false; "isSignal": true; }; "pillColor": { "alias": "pillColor"; "required": false; "isSignal": true; }; "pillLabel": { "alias": "pillLabel"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "showButton": { "alias": "showButton"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "buttonClicked": "buttonClicked"; "checked": "checkedChange"; "expanded": "expandedChange"; }, never, ["*"], true, never>;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
declare class ListComponent implements AfterContentInit {
|
|
398
|
+
#private;
|
|
399
|
+
elevated: _angular_core.InputSignal<boolean>;
|
|
400
|
+
listItems: _angular_core.Signal<readonly ListItemComponent[]>;
|
|
401
|
+
ngAfterContentInit(): void;
|
|
402
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
403
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListComponent, "ndw-list", never, { "elevated": { "alias": "elevated"; "required": false; "isSignal": true; }; }, {}, ["listItems"], ["*"], true, never>;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
declare class AccordionComponent extends ListComponent implements OnInit {
|
|
407
|
+
#private;
|
|
408
|
+
collapseOthers: _angular_core.InputSignal<boolean>;
|
|
409
|
+
collapsibles: _angular_core.Signal<readonly CollapsibleComponent[]>;
|
|
410
|
+
ngOnInit(): void;
|
|
411
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
412
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "ndw-accordion", never, { "collapseOthers": { "alias": "collapseOthers"; "required": false; "isSignal": true; }; }, {}, ["collapsibles"], ["*"], true, never>;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
declare class AccordionService {
|
|
416
|
+
expanded$: Subject<number>;
|
|
417
|
+
setExpandedCollapsible(index: number): void;
|
|
418
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionService, never>;
|
|
419
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AccordionService>;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
type AriaLive = 'polite' | 'assertive' | 'off';
|
|
423
|
+
|
|
424
|
+
type AlertType = 'critical' | 'info' | 'info-grey' | 'warning';
|
|
425
|
+
|
|
426
|
+
declare class AlertComponent {
|
|
427
|
+
/**
|
|
428
|
+
* Whether the alert is actionable, shows a close icon and a title.
|
|
429
|
+
*/
|
|
430
|
+
actionable: _angular_core.InputSignal<boolean>;
|
|
431
|
+
/**
|
|
432
|
+
* The title of the alert. Only used when actionable is true.
|
|
433
|
+
*/
|
|
434
|
+
title: _angular_core.InputSignal<string | undefined>;
|
|
435
|
+
/**
|
|
436
|
+
* Use info, info-grey, warning or critical to indicate the type of alert.
|
|
437
|
+
*/
|
|
438
|
+
type: _angular_core.InputSignal<AlertType>;
|
|
439
|
+
/**
|
|
440
|
+
* Use polite, assertive or off to indicate whether the alert is
|
|
441
|
+
* announced automatically by the screen reader.
|
|
442
|
+
*/
|
|
443
|
+
ariaLive: _angular_core.InputSignal<AriaLive>;
|
|
444
|
+
close: _angular_core.OutputEmitterRef<void>;
|
|
445
|
+
onClose(): void;
|
|
446
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
447
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AlertComponent, "ndw-alert", never, { "actionable": { "alias": "actionable"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "ariaLive": { "alias": "ariaLive"; "required": false; "isSignal": true; }; }, { "close": "close"; }, never, ["*"], true, never>;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
type AvatarStatus = 'approved' | 'open' | 'none';
|
|
451
|
+
type AvatarColor = 'default' | 'blue' | 'purple' | 'red' | 'green' | 'yellow' | 'orange';
|
|
452
|
+
|
|
453
|
+
declare class AvatarComponent {
|
|
454
|
+
status: _angular_core.InputSignal<AvatarStatus>;
|
|
455
|
+
initials: _angular_core.InputSignal<boolean>;
|
|
456
|
+
color: _angular_core.InputSignal<AvatarColor | undefined>;
|
|
457
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
458
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AvatarComponent, "ndw-avatar", never, { "status": { "alias": "status"; "required": false; "isSignal": true; }; "initials": { "alias": "initials"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
declare class BadgeComponent {
|
|
462
|
+
/**
|
|
463
|
+
* The value of the badge
|
|
464
|
+
*/
|
|
465
|
+
value: _angular_core.InputSignal<number | undefined>;
|
|
466
|
+
/**
|
|
467
|
+
* The aria label, used by screen readers to give context.
|
|
468
|
+
*/
|
|
469
|
+
ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
470
|
+
/**
|
|
471
|
+
* When true, the badge will display values above 99.
|
|
472
|
+
* When false (default), the badge will display values above 99 as a dot
|
|
473
|
+
*/
|
|
474
|
+
displayLargeNumbers: _angular_core.InputSignal<boolean>;
|
|
475
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
476
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BadgeComponent, "ndw-badge", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "displayLargeNumbers": { "alias": "displayLargeNumbers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
type BannerType = 'critical' | 'info' | 'info-grey' | 'warning' | 'positive';
|
|
480
|
+
|
|
481
|
+
declare class BannerComponent implements AfterViewInit {
|
|
482
|
+
/**
|
|
483
|
+
* The title of the banner.
|
|
484
|
+
*/
|
|
485
|
+
title: _angular_core.InputSignal<string>;
|
|
486
|
+
/**
|
|
487
|
+
* The message of the banner.
|
|
488
|
+
*/
|
|
489
|
+
message: _angular_core.InputSignal<string>;
|
|
490
|
+
/**
|
|
491
|
+
* The read more label if the message is truncated.
|
|
492
|
+
*/
|
|
493
|
+
readMoreLabel: _angular_core.InputSignal<string>;
|
|
494
|
+
/**
|
|
495
|
+
* Use info, info-grey, warning, positive or critical to indicate the type of banner.
|
|
496
|
+
*/
|
|
497
|
+
type: _angular_core.InputSignal<BannerType>;
|
|
498
|
+
/**
|
|
499
|
+
* Use polite, assertive or off to indicate whether the alert is
|
|
500
|
+
* announced automatically by the screen reader.
|
|
501
|
+
*/
|
|
502
|
+
ariaLive: _angular_core.InputSignal<AriaLive>;
|
|
503
|
+
/**
|
|
504
|
+
* Emits when the banner close button is clicked.
|
|
505
|
+
*/
|
|
506
|
+
close: _angular_core.OutputEmitterRef<void>;
|
|
507
|
+
textContent: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
508
|
+
showReadMore: boolean;
|
|
509
|
+
ngAfterViewInit(): void;
|
|
510
|
+
onClose(event: MouseEvent): void;
|
|
511
|
+
private setReadMore;
|
|
512
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BannerComponent, never>;
|
|
513
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BannerComponent, "ndw-banner", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": true; "isSignal": true; }; "readMoreLabel": { "alias": "readMoreLabel"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "ariaLive": { "alias": "ariaLive"; "required": false; "isSignal": true; }; }, { "close": "close"; }, never, never, true, never>;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
declare class BreadcrumbComponent extends CoreBreadcrumbComponent {
|
|
517
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
518
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbComponent, "ndw-breadcrumb", never, {}, {}, never, ["*"], true, never>;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
declare class BreadcrumbGroupComponent extends CoreBreadcrumbGroupComponent<BreadcrumbComponent> {
|
|
522
|
+
protected breadcrumbs: _angular_core.Signal<readonly BreadcrumbComponent[]>;
|
|
523
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbGroupComponent, never>;
|
|
524
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbGroupComponent, "ndw-breadcrumb-group", never, {}, {}, ["breadcrumbs"], never, true, never>;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
declare class ButtonDirective implements OnInit {
|
|
528
|
+
private readonly elementRef;
|
|
529
|
+
get element(): HTMLButtonElement;
|
|
530
|
+
ngOnInit(): void;
|
|
531
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonDirective, never>;
|
|
532
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ButtonDirective, "[ndwButton]", never, {}, {}, never, never, true, never>;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
declare class CardContentComponent {
|
|
536
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardContentComponent, never>;
|
|
537
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardContentComponent, "ndw-card-content", never, {}, {}, never, ["*"], true, never>;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
declare class CardFooterComponent {
|
|
541
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardFooterComponent, never>;
|
|
542
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardFooterComponent, "ndw-card-footer", never, {}, {}, never, ["*"], true, never>;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
declare class CardHeaderComponent {
|
|
546
|
+
readonly cardId: string | null;
|
|
547
|
+
readonly isCollapsible: _angular_core.InputSignal<boolean>;
|
|
548
|
+
readonly isCollapsed: _angular_core.ModelSignal<boolean>;
|
|
549
|
+
private readonly elementRef;
|
|
550
|
+
get height(): number;
|
|
551
|
+
toggleCollapsed(): void;
|
|
552
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardHeaderComponent, never>;
|
|
553
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardHeaderComponent, "ndw-card-header", never, { "isCollapsible": { "alias": "isCollapsible"; "required": false; "isSignal": true; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; }, { "isCollapsed": "isCollapsedChange"; }, never, ["*"], true, never>;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
declare const CARD_ID_TOKEN: InjectionToken<string>;
|
|
557
|
+
declare class CardComponent implements AfterContentInit {
|
|
558
|
+
private readonly header;
|
|
559
|
+
private readonly headerHeight;
|
|
560
|
+
readonly cardId: string;
|
|
561
|
+
readonly isCollapsable: _angular_core.Signal<boolean>;
|
|
562
|
+
readonly isCollapsed: _angular_core.ModelSignal<boolean>;
|
|
563
|
+
ngAfterContentInit(): void;
|
|
564
|
+
animationState: _angular_core.Signal<{
|
|
565
|
+
value: string;
|
|
566
|
+
params: {
|
|
567
|
+
headerHeight: number;
|
|
568
|
+
};
|
|
569
|
+
}>;
|
|
570
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
571
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardComponent, "ndw-card", never, { "isCollapsed": { "alias": "isCollapsed"; "required": false; "isSignal": true; }; }, { "isCollapsed": "isCollapsedChange"; }, ["header"], ["*"], true, never>;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
declare const CARD_COMPONENTS: (typeof CardContentComponent)[];
|
|
575
|
+
|
|
576
|
+
declare class DashboardCardComponent {
|
|
577
|
+
/**
|
|
578
|
+
* The title of the card.
|
|
579
|
+
*/
|
|
580
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
581
|
+
/**
|
|
582
|
+
* The URL to the icon to display on the card. The icon is assumed to be rectangular.
|
|
583
|
+
*/
|
|
584
|
+
readonly imgSource: _angular_core.InputSignal<string>;
|
|
585
|
+
/**
|
|
586
|
+
* The url to open in a new window when the card is clicked.
|
|
587
|
+
*/
|
|
588
|
+
readonly link: _angular_core.InputSignal<string>;
|
|
589
|
+
/**
|
|
590
|
+
* Specifies where to open the linked document.
|
|
591
|
+
* Valid values are `_blank`, `_parent`, `_self`, or `_top`.
|
|
592
|
+
*/
|
|
593
|
+
readonly linkTarget: _angular_core.InputSignal<string>;
|
|
594
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DashboardCardComponent, never>;
|
|
595
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DashboardCardComponent, "ndw-dashboard-card", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "imgSource": { "alias": "imgSource"; "required": true; "isSignal": true; }; "link": { "alias": "link"; "required": true; "isSignal": true; }; "linkTarget": { "alias": "linkTarget"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
type PopoverPosition = 'nextToTriggerButton' | 'overTriggerButton';
|
|
599
|
+
declare class PopoverTriggerDirective implements OnDestroy {
|
|
600
|
+
popoverToggled: EventEmitter<boolean>;
|
|
601
|
+
popoverPosition: _angular_core.InputSignal<PopoverPosition>;
|
|
602
|
+
popoverContent: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
603
|
+
toggleOnClick: _angular_core.InputSignal<boolean>;
|
|
604
|
+
isOpen: _angular_core.ModelSignal<boolean>;
|
|
605
|
+
toggle(): void;
|
|
606
|
+
private destroyRef;
|
|
607
|
+
private elementRef;
|
|
608
|
+
private overlay;
|
|
609
|
+
private viewContainerRef;
|
|
610
|
+
private focusTrapFactory;
|
|
611
|
+
private overlayRef?;
|
|
612
|
+
ngOnDestroy(): void;
|
|
613
|
+
togglePopover(): void;
|
|
614
|
+
private open;
|
|
615
|
+
private trapFocus;
|
|
616
|
+
private closeOverlayOnEscapeKey;
|
|
617
|
+
private nodeOrParentsHaveAttribute;
|
|
618
|
+
private closeOverlayOnBackdropClick;
|
|
619
|
+
private close;
|
|
620
|
+
private getPopoverPosition;
|
|
621
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverTriggerDirective, never>;
|
|
622
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverTriggerDirective, "[ndwPopoverTrigger]", ["ndwPopoverTrigger"], { "popoverPosition": { "alias": "popoverPosition"; "required": false; "isSignal": true; }; "popoverContent": { "alias": "ndwPopoverTrigger"; "required": true; "isSignal": true; }; "toggleOnClick": { "alias": "toggleOnClick"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; }, { "popoverToggled": "popoverToggled"; "isOpen": "isOpenChange"; }, never, never, true, never>;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
declare class DropdownComponent {
|
|
626
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
627
|
+
readonly chevron: _angular_core.InputSignal<boolean>;
|
|
628
|
+
readonly buttonText: _angular_core.InputSignal<string>;
|
|
629
|
+
readonly prefixIcon: _angular_core.InputSignal<string>;
|
|
630
|
+
readonly selectAmount: _angular_core.InputSignal<number>;
|
|
631
|
+
readonly tagClicked: _angular_core.OutputEmitterRef<void>;
|
|
632
|
+
readonly isOpenChange: _angular_core.OutputEmitterRef<boolean>;
|
|
633
|
+
readonly popoverTrigger: _angular_core.Signal<PopoverTriggerDirective>;
|
|
634
|
+
readonly dropdownButton: _angular_core.Signal<ElementRef<any>>;
|
|
635
|
+
readonly buttonIcon: _angular_core.Signal<"keyboard_arrow_down" | "keyboard_arrow_up">;
|
|
636
|
+
onTagClicked($event: Event): void;
|
|
637
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
638
|
+
closeDropdown(): void;
|
|
639
|
+
onTagKeyDown(event: KeyboardEvent): void;
|
|
640
|
+
isOpenChanged(isOpen: boolean): void;
|
|
641
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
642
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropdownComponent, "ndw-dropdown", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "chevron": { "alias": "chevron"; "required": false; "isSignal": true; }; "buttonText": { "alias": "buttonText"; "required": true; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "selectAmount": { "alias": "selectAmount"; "required": false; "isSignal": true; }; }, { "tagClicked": "tagClicked"; "isOpenChange": "isOpenChange"; }, never, ["*"], true, never>;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
type EditBarPosition = 'fixed' | 'sticky' | 'static' | 'absolute';
|
|
646
|
+
type EditBarWidth = 'full' | 'layout';
|
|
647
|
+
|
|
648
|
+
declare class EditBarComponent implements AfterViewInit, OnDestroy {
|
|
649
|
+
#private;
|
|
650
|
+
readonly grid: _angular_core.InputSignal<boolean>;
|
|
651
|
+
readonly position: _angular_core.InputSignal<EditBarPosition>;
|
|
652
|
+
readonly positionFixedWidth: _angular_core.InputSignal<EditBarWidth>;
|
|
653
|
+
readonly editBar: _angular_core.Signal<ElementRef<HTMLDivElement>>;
|
|
654
|
+
readonly height: _angular_core.WritableSignal<number | null>;
|
|
655
|
+
ngAfterViewInit(): void;
|
|
656
|
+
ngOnDestroy(): void;
|
|
657
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditBarComponent, never>;
|
|
658
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EditBarComponent, "ndw-edit-bar", never, { "grid": { "alias": "grid"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "positionFixedWidth": { "alias": "positionFixedWidth"; "required": false; "isSignal": true; }; }, {}, never, ["ndw-edit-bar-message", "ndw-edit-bar-actions"], true, never>;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
declare class EditBarActionsComponent {
|
|
662
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditBarActionsComponent, never>;
|
|
663
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EditBarActionsComponent, "ndw-edit-bar-actions", never, {}, {}, never, ["*"], true, never>;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
declare class EditBarMessageComponent {
|
|
667
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditBarMessageComponent, never>;
|
|
668
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EditBarMessageComponent, "ndw-edit-bar-message", never, {}, {}, never, ["*"], true, never>;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
declare class FavoriteComponent {
|
|
672
|
+
checked: _angular_core.ModelSignal<boolean>;
|
|
673
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FavoriteComponent, never>;
|
|
674
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FavoriteComponent, "ndw-favorite", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, never, true, never>;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
interface HoverableListItemAction {
|
|
678
|
+
id: string | number;
|
|
679
|
+
icon: string;
|
|
680
|
+
label: string;
|
|
681
|
+
callback?: () => void;
|
|
682
|
+
path?: string[];
|
|
683
|
+
queryParams?: Params;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
declare class HoverableListItemComponent {
|
|
687
|
+
actions: _angular_core.InputSignal<HoverableListItemAction[] | undefined>;
|
|
688
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
689
|
+
path: _angular_core.InputSignal<string[] | undefined>;
|
|
690
|
+
prefixIcon: _angular_core.InputSignal<string | undefined>;
|
|
691
|
+
queryParams: _angular_core.InputSignal<Params | undefined>;
|
|
692
|
+
subtitle: _angular_core.InputSignal<string | undefined>;
|
|
693
|
+
title: _angular_core.InputSignal<string | undefined>;
|
|
694
|
+
actionSelected: _angular_core.OutputEmitterRef<HoverableListItemAction>;
|
|
695
|
+
selected: _angular_core.OutputEmitterRef<void>;
|
|
696
|
+
onActionButtonClick(event: Event, action: HoverableListItemAction): void;
|
|
697
|
+
onButtonClick(event: Event): void;
|
|
698
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HoverableListItemComponent, never>;
|
|
699
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HoverableListItemComponent, "ndw-hoverable-list-item", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "path": { "alias": "path"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "actionSelected": "actionSelected"; "selected": "selected"; }, never, ["*"], true, never>;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
declare class IconComponent extends CoreIconComponent {
|
|
703
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
704
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconComponent, "ndw-icon", never, {}, {}, never, ["*"], true, never>;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
declare class KeyValueListComponent extends CoreKeyValueListComponent {
|
|
708
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KeyValueListComponent, never>;
|
|
709
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KeyValueListComponent, "ndw-key-value-list", never, {}, {}, never, never, true, never>;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
interface SubMenuItem {
|
|
713
|
+
label: string;
|
|
714
|
+
active?: boolean;
|
|
715
|
+
callback?: () => void;
|
|
716
|
+
notifications?: number;
|
|
717
|
+
path?: string[];
|
|
718
|
+
queryParams?: Params;
|
|
719
|
+
}
|
|
720
|
+
interface MenuItem extends SubMenuItem {
|
|
721
|
+
icon: string;
|
|
722
|
+
children?: SubMenuItem[];
|
|
723
|
+
}
|
|
724
|
+
type Theme = 'ndw' | 'nwb';
|
|
725
|
+
type Environment = 'Local' | 'Staging' | 'Acceptance';
|
|
726
|
+
|
|
727
|
+
declare class MainNavigationComponent implements AfterViewInit {
|
|
728
|
+
#private;
|
|
729
|
+
applicationName: _angular_core.InputSignal<string>;
|
|
730
|
+
topMenuItems: _angular_core.InputSignal<MenuItem[]>;
|
|
731
|
+
bottomMenuItems: _angular_core.InputSignal<MenuItem[] | undefined>;
|
|
732
|
+
environment: _angular_core.InputSignal<Environment | undefined>;
|
|
733
|
+
footerTexts: _angular_core.InputSignal<string[] | undefined>;
|
|
734
|
+
isCollapsible: _angular_core.InputSignal<boolean>;
|
|
735
|
+
version: _angular_core.InputSignal<string | undefined>;
|
|
736
|
+
isMobile: _angular_core.WritableSignal<boolean>;
|
|
737
|
+
isMobileMenuOpen: _angular_core.WritableSignal<boolean>;
|
|
738
|
+
theme: _angular_core.WritableSignal<Theme>;
|
|
739
|
+
isExpanded: _angular_core.ModelSignal<boolean>;
|
|
740
|
+
mobileMenuItems: _angular_core.Signal<MenuItem[]>;
|
|
741
|
+
themeImagePath: _angular_core.Signal<string>;
|
|
742
|
+
ngAfterViewInit(): void;
|
|
743
|
+
closeMobileMenu(): void;
|
|
744
|
+
onWindowResize(): void;
|
|
745
|
+
toggleView(): void;
|
|
746
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MainNavigationComponent, never>;
|
|
747
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MainNavigationComponent, "ndw-main-navigation", never, { "applicationName": { "alias": "applicationName"; "required": true; "isSignal": true; }; "topMenuItems": { "alias": "topMenuItems"; "required": true; "isSignal": true; }; "bottomMenuItems": { "alias": "bottomMenuItems"; "required": false; "isSignal": true; }; "environment": { "alias": "environment"; "required": false; "isSignal": true; }; "footerTexts": { "alias": "footerTexts"; "required": false; "isSignal": true; }; "isCollapsible": { "alias": "isCollapsible"; "required": false; "isSignal": true; }; "version": { "alias": "version"; "required": false; "isSignal": true; }; "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; }, { "isExpanded": "isExpandedChange"; }, never, never, true, never>;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
declare class LayoutComponent {
|
|
751
|
+
applicationName: _angular_core.InputSignal<string>;
|
|
752
|
+
topMenuItems: _angular_core.InputSignal<MenuItem[]>;
|
|
753
|
+
bottomMenuItems: _angular_core.InputSignal<MenuItem[] | undefined>;
|
|
754
|
+
environment: _angular_core.InputSignal<Environment | undefined>;
|
|
755
|
+
isCollapsible: _angular_core.InputSignal<boolean>;
|
|
756
|
+
isExpanded: _angular_core.InputSignal<boolean>;
|
|
757
|
+
menuFooterTexts: _angular_core.InputSignal<string[] | undefined>;
|
|
758
|
+
version: _angular_core.InputSignal<string | undefined>;
|
|
759
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LayoutComponent, never>;
|
|
760
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LayoutComponent, "ndw-layout", never, { "applicationName": { "alias": "applicationName"; "required": true; "isSignal": true; }; "topMenuItems": { "alias": "topMenuItems"; "required": true; "isSignal": true; }; "bottomMenuItems": { "alias": "bottomMenuItems"; "required": false; "isSignal": true; }; "environment": { "alias": "environment"; "required": false; "isSignal": true; }; "isCollapsible": { "alias": "isCollapsible"; "required": false; "isSignal": true; }; "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; "menuFooterTexts": { "alias": "menuFooterTexts"; "required": false; "isSignal": true; }; "version": { "alias": "version"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
declare class LayoutBannersComponent {
|
|
764
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LayoutBannersComponent, never>;
|
|
765
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LayoutBannersComponent, "ndw-layout-banners", never, {}, {}, never, ["*"], true, never>;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
declare class LoaderComponent {
|
|
769
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
770
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LoaderComponent, "ndw-loader", never, {}, {}, never, never, true, never>;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
declare class MapButtonComponent {
|
|
774
|
+
#private;
|
|
775
|
+
readonly icon: _angular_core.InputSignal<"search" | "direction" | "gps" | "high-res" | "layers" | "polygon" | "zoom-in" | "zoom-out" | "add-traffic-sign" | "add-zone" | "download" | "hectometer" | "low-res" | "zoom-to-content">;
|
|
776
|
+
readonly active: _angular_core.InputSignal<boolean>;
|
|
777
|
+
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
778
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
779
|
+
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
780
|
+
protected readonly buttonIcon: _angular_core.Signal<string>;
|
|
781
|
+
protected readonly svgIcon: _angular_core.Signal<string | undefined>;
|
|
782
|
+
protected readonly iconLabel: _angular_core.Signal<string>;
|
|
783
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapButtonComponent, never>;
|
|
784
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MapButtonComponent, "ndw-map-button", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
declare const fontMapButtonIcons: readonly ["direction", "gps", "high-res", "layers", "polygon", "search", "zoom-in", "zoom-out"];
|
|
788
|
+
declare const svgMapButtonIcons: readonly ["add-traffic-sign", "add-zone", "download", "hectometer", "low-res", "zoom-to-content"];
|
|
789
|
+
declare const mapButtonIcons: readonly ["direction", "gps", "high-res", "layers", "polygon", "search", "zoom-in", "zoom-out", "add-traffic-sign", "add-zone", "download", "hectometer", "low-res", "zoom-to-content"];
|
|
790
|
+
type MapButtonIcon = (typeof mapButtonIcons)[number];
|
|
791
|
+
|
|
792
|
+
type DisplayOptionType = 'none' | 'button' | 'radio' | 'checkbox';
|
|
793
|
+
type DisplayOptionDirection = 'row' | 'column';
|
|
794
|
+
interface MapDisplayOption {
|
|
795
|
+
id: string;
|
|
796
|
+
name: string;
|
|
797
|
+
active?: boolean;
|
|
798
|
+
imageLink?: string;
|
|
799
|
+
description?: string;
|
|
800
|
+
[key: string]: unknown;
|
|
801
|
+
}
|
|
802
|
+
type MapBackgroundOption<T = string> = MapDisplayOption & {
|
|
803
|
+
style: T;
|
|
804
|
+
};
|
|
805
|
+
type MapBackgrounds = Record<string, MapBackgroundOption>;
|
|
806
|
+
|
|
807
|
+
declare class MapDisplayOptionComponent {
|
|
808
|
+
option: _angular_core.InputSignal<MapDisplayOption>;
|
|
809
|
+
direction: _angular_core.InputSignal<DisplayOptionDirection>;
|
|
810
|
+
type: _angular_core.InputSignal<DisplayOptionType>;
|
|
811
|
+
group: _angular_core.InputSignal<string | undefined>;
|
|
812
|
+
selectionChange: _angular_core.OutputEmitterRef<MapDisplayOption>;
|
|
813
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapDisplayOptionComponent, never>;
|
|
814
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MapDisplayOptionComponent, "ndw-map-display-option", never, { "option": { "alias": "option"; "required": true; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "group": { "alias": "group"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
declare class MapDisplayComponent implements OnInit {
|
|
818
|
+
#private;
|
|
819
|
+
title: _angular_core.InputSignal<string>;
|
|
820
|
+
backgroundsTitle: _angular_core.InputSignal<string>;
|
|
821
|
+
layersTitle: _angular_core.InputSignal<string>;
|
|
822
|
+
enableClearLayers: _angular_core.InputSignal<boolean>;
|
|
823
|
+
layerOptionType: _angular_core.InputSignal<"checkbox" | "radio">;
|
|
824
|
+
backgroundOptions: _angular_core.InputSignalWithTransform<MapBackgroundOption[], MapBackgroundOption[]>;
|
|
825
|
+
layerOptions: _angular_core.InputSignalWithTransform<MapDisplayOption[], MapDisplayOption[]>;
|
|
826
|
+
readonly backgroundChange: _angular_core.OutputEmitterRef<MapBackgroundOption>;
|
|
827
|
+
readonly layerChange: _angular_core.OutputEmitterRef<MapDisplayOption>;
|
|
828
|
+
readonly clearAllLayers: _angular_core.OutputEmitterRef<void>;
|
|
829
|
+
readonly open: _angular_core.ModelSignal<boolean>;
|
|
830
|
+
readonly htmlIsRendered: _angular_core.WritableSignal<boolean>;
|
|
831
|
+
readonly showPopover: _angular_core.Signal<boolean>;
|
|
832
|
+
readonly linkedBackgroundOptions: _angular_core.WritableSignal<MapBackgroundOption[]>;
|
|
833
|
+
readonly activeBackgroundOption: _angular_core.Signal<MapBackgroundOption | undefined>;
|
|
834
|
+
readonly linkedLayerOptions: _angular_core.WritableSignal<MapDisplayOption[]>;
|
|
835
|
+
readonly numberOfSelectedLayers: _angular_core.Signal<number>;
|
|
836
|
+
constructor();
|
|
837
|
+
ngOnInit(): void;
|
|
838
|
+
selectBackground(option: MapDisplayOption): void;
|
|
839
|
+
toggleLayer(option: MapDisplayOption): void;
|
|
840
|
+
clearLayers(): void;
|
|
841
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapDisplayComponent, never>;
|
|
842
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MapDisplayComponent, "ndw-map-display", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "backgroundsTitle": { "alias": "backgroundsTitle"; "required": false; "isSignal": true; }; "layersTitle": { "alias": "layersTitle"; "required": false; "isSignal": true; }; "enableClearLayers": { "alias": "enableClearLayers"; "required": false; "isSignal": true; }; "layerOptionType": { "alias": "layerOptionType"; "required": false; "isSignal": true; }; "backgroundOptions": { "alias": "backgroundOptions"; "required": false; "isSignal": true; }; "layerOptions": { "alias": "layerOptions"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "backgroundChange": "backgroundChange"; "layerChange": "layerChange"; "clearAllLayers": "clearAllLayers"; "open": "openChange"; }, never, never, true, never>;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
declare const MAP_BACKGROUND_IMAGES: {
|
|
846
|
+
OSM_DEFAULT: string;
|
|
847
|
+
OSM_BASIC: string;
|
|
848
|
+
OSM_COLOR_BLIND: string;
|
|
849
|
+
OSM_DARK: string;
|
|
850
|
+
OSM_NO_ROADS: string;
|
|
851
|
+
OSM_FCD_LINKS: string;
|
|
852
|
+
OSM_FCD_ROADS: string;
|
|
853
|
+
OSM_FCD_SEGMENTS: string;
|
|
854
|
+
OSM_MST: string;
|
|
855
|
+
OSM_NWB_ROADS_WHITE: string;
|
|
856
|
+
OSM_NWB_ROADS: string;
|
|
857
|
+
OSM_DEFAULT_FULL: string;
|
|
858
|
+
OSM_FRONT_DARK: string;
|
|
859
|
+
OSM_FRONT_LIGHT_NWB: string;
|
|
860
|
+
OSM_FRONT_LIGHT: string;
|
|
861
|
+
OSM_GREEN: string;
|
|
862
|
+
};
|
|
863
|
+
declare const MAP_BACKGROUNDS: MapBackgrounds;
|
|
864
|
+
declare const DEFAULT_BACKGROUNDS: _ndwnu_design_system.MapBackgroundOption<string>[];
|
|
865
|
+
|
|
866
|
+
declare const MAP_LAYER_IMAGES: {
|
|
867
|
+
ACTUAL_TRAFFIC_V1: string;
|
|
868
|
+
ACTUAL_TRAFFIC_V2: string;
|
|
869
|
+
IMAGE_MODE_V1: string;
|
|
870
|
+
IMAGE_MODE_V2: string;
|
|
871
|
+
HECTOMETRY: string;
|
|
872
|
+
ROAD_WORKS: string;
|
|
873
|
+
};
|
|
874
|
+
declare const MAP_LAYERS: Record<string, MapDisplayOption>;
|
|
875
|
+
|
|
876
|
+
type MapLegendOptionType = 'image' | 'line' | 'circle' | 'polygon' | 'icon';
|
|
877
|
+
interface BaseMapLegendOption {
|
|
878
|
+
type: MapLegendOptionType;
|
|
879
|
+
label: string;
|
|
880
|
+
}
|
|
881
|
+
interface ImageMapLegendOption extends BaseMapLegendOption {
|
|
882
|
+
type: 'image';
|
|
883
|
+
src: string;
|
|
884
|
+
objectFit?: 'contain' | 'cover';
|
|
885
|
+
}
|
|
886
|
+
interface LineMapLegendOption extends BaseMapLegendOption {
|
|
887
|
+
type: 'line';
|
|
888
|
+
color: string;
|
|
889
|
+
fillMode: 'solid' | 'dashed';
|
|
890
|
+
}
|
|
891
|
+
interface CircleMapLegendOption extends BaseMapLegendOption {
|
|
892
|
+
type: 'circle';
|
|
893
|
+
color: string;
|
|
894
|
+
}
|
|
895
|
+
interface PolygonMapLegendOption extends BaseMapLegendOption {
|
|
896
|
+
type: 'polygon';
|
|
897
|
+
color: string;
|
|
898
|
+
}
|
|
899
|
+
interface IconMapLegendOption extends BaseMapLegendOption {
|
|
900
|
+
type: 'icon';
|
|
901
|
+
iconName: string;
|
|
902
|
+
}
|
|
903
|
+
type MapLegendOption = ImageMapLegendOption | LineMapLegendOption | CircleMapLegendOption | PolygonMapLegendOption | IconMapLegendOption;
|
|
904
|
+
interface MapLegendOptionGroup {
|
|
905
|
+
label?: string;
|
|
906
|
+
options: MapLegendOption[];
|
|
907
|
+
}
|
|
908
|
+
type MapLegendViewMode = 'dropdown' | 'fixed';
|
|
909
|
+
|
|
910
|
+
declare class MapLegendComponent {
|
|
911
|
+
readonly groups: _angular_core.InputSignal<MapLegendOptionGroup[]>;
|
|
912
|
+
readonly icon: _angular_core.InputSignal<string>;
|
|
913
|
+
readonly title: _angular_core.InputSignal<string>;
|
|
914
|
+
readonly viewMode: _angular_core.InputSignal<MapLegendViewMode>;
|
|
915
|
+
readonly open: _angular_core.ModelSignal<boolean>;
|
|
916
|
+
readonly htmlIsRendered: _angular_core.WritableSignal<boolean>;
|
|
917
|
+
readonly showPopover: _angular_core.Signal<boolean>;
|
|
918
|
+
readonly isDropdownViewMode: _angular_core.Signal<boolean>;
|
|
919
|
+
readonly isFixedViewMode: _angular_core.Signal<boolean>;
|
|
920
|
+
readonly hasJustOneGroup: _angular_core.Signal<boolean>;
|
|
921
|
+
constructor();
|
|
922
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapLegendComponent, never>;
|
|
923
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MapLegendComponent, "ndw-map-legend", never, { "groups": { "alias": "groups"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; }, { "open": "openChange"; }, never, never, true, never>;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
declare class ModalContentComponent {
|
|
927
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalContentComponent, never>;
|
|
928
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalContentComponent, "ndw-modal-content", never, {}, {}, never, ["*"], true, never>;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
declare class ModalFooterComponent {
|
|
932
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalFooterComponent, never>;
|
|
933
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalFooterComponent, "ndw-modal-footer", never, {}, {}, never, ["*"], true, never>;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
declare class ModalHeaderComponent {
|
|
937
|
+
#private;
|
|
938
|
+
detachModal(): void;
|
|
939
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalHeaderComponent, never>;
|
|
940
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalHeaderComponent, "ndw-modal-header", never, {}, {}, never, ["*"], true, never>;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
type ModalSize = 'sm' | 'md';
|
|
944
|
+
declare class ModalComponent {
|
|
945
|
+
size: _angular_core.InputSignal<ModalSize>;
|
|
946
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
947
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "ndw-modal", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
declare class ModalRef<R, C = unknown> extends DialogRef<R, C> {
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
declare class ModalService extends Dialog {
|
|
954
|
+
#private;
|
|
955
|
+
backdropClick$?: Observable<MouseEvent>;
|
|
956
|
+
closed$?: Observable<unknown | undefined>;
|
|
957
|
+
close(): void;
|
|
958
|
+
open(componentOrTemplateRef: ComponentType<unknown> | TemplateRef<unknown>, config?: DialogConfig<unknown, ModalRef<unknown, unknown>>): ModalRef<unknown, unknown>;
|
|
959
|
+
getModalRef(): ModalRef<unknown, unknown>;
|
|
960
|
+
setModalRef(modalRef: ModalRef<unknown, unknown>): void;
|
|
961
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalService, never>;
|
|
962
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ModalService>;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
declare const MODAL_COMPONENTS: (typeof ModalContentComponent)[];
|
|
966
|
+
|
|
967
|
+
interface CheckboxData {
|
|
968
|
+
id: string | number;
|
|
969
|
+
label: string;
|
|
970
|
+
value: boolean;
|
|
971
|
+
icon?: string;
|
|
972
|
+
image?: Image;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
interface SelectAllText {
|
|
976
|
+
deselect: string;
|
|
977
|
+
select: string;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
declare class MultiSelectComponent {
|
|
981
|
+
readonly dropdownTrigger: _angular_core.Signal<PopoverTriggerDirective>;
|
|
982
|
+
readonly buttonText: _angular_core.InputSignal<string>;
|
|
983
|
+
readonly searchLabel: _angular_core.InputSignal<string>;
|
|
984
|
+
readonly prefixIcon: _angular_core.InputSignal<string>;
|
|
985
|
+
readonly searchPlaceholder: _angular_core.InputSignal<string>;
|
|
986
|
+
readonly noResultText: _angular_core.InputSignal<string>;
|
|
987
|
+
readonly chevron: _angular_core.InputSignal<boolean>;
|
|
988
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
989
|
+
readonly selectAmountHidden: _angular_core.InputSignal<boolean>;
|
|
990
|
+
readonly selectAllText: _angular_core.InputSignal<SelectAllText>;
|
|
991
|
+
readonly dataSource: _angular_core.ModelSignal<CheckboxData[]>;
|
|
992
|
+
protected readonly lastCheckedElementId: _angular_core.ModelSignal<string | number | null | undefined>;
|
|
993
|
+
protected readonly searchInputValue: _angular_core.ModelSignal<string>;
|
|
994
|
+
protected readonly isOpen: _angular_core.WritableSignal<boolean>;
|
|
995
|
+
readonly selectAmount: _angular_core.Signal<number>;
|
|
996
|
+
readonly noSearchResults: _angular_core.Signal<boolean>;
|
|
997
|
+
filterSearch(value: string): boolean;
|
|
998
|
+
searchInputChanged(event: Event): void;
|
|
999
|
+
checkboxChanged(id: string | number): void;
|
|
1000
|
+
toggleSelectAll(selectAll?: boolean): void;
|
|
1001
|
+
isOpenChanged(isOpen: boolean): void;
|
|
1002
|
+
private determineLastCheckedElement;
|
|
1003
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
1004
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiSelectComponent, "ndw-multi-select", never, { "buttonText": { "alias": "buttonText"; "required": true; "isSignal": true; }; "searchLabel": { "alias": "searchLabel"; "required": false; "isSignal": true; }; "prefixIcon": { "alias": "prefixIcon"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "noResultText": { "alias": "noResultText"; "required": false; "isSignal": true; }; "chevron": { "alias": "chevron"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectAmountHidden": { "alias": "selectAmountHidden"; "required": false; "isSignal": true; }; "selectAllText": { "alias": "selectAllText"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "lastCheckedElementId": { "alias": "lastCheckedElementId"; "required": false; "isSignal": true; }; "searchInputValue": { "alias": "searchInputValue"; "required": false; "isSignal": true; }; }, { "dataSource": "dataSourceChange"; "lastCheckedElementId": "lastCheckedElementIdChange"; "searchInputValue": "searchInputValueChange"; }, never, never, true, never>;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
declare class PillComponent extends CorePillComponent {
|
|
1008
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PillComponent, never>;
|
|
1009
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PillComponent, "ndw-pill", never, {}, {}, never, ["*"], true, never>;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
declare class RouterBreadcrumbsComponent extends CoreRouterBreadcrumbsComponent {
|
|
1013
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RouterBreadcrumbsComponent, never>;
|
|
1014
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RouterBreadcrumbsComponent, "ndw-router-breadcrumbs", never, {}, {}, never, never, true, never>;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
declare class SplitterComponent implements AfterViewInit, OnDestroy {
|
|
1018
|
+
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Optional width of the first panel (in pixels) when the component is initialized.
|
|
1021
|
+
*/
|
|
1022
|
+
readonly initialPanelWidth: _angular_core.InputSignal<number | undefined>;
|
|
1023
|
+
/**
|
|
1024
|
+
* Minimum width of both panels (in pixels).
|
|
1025
|
+
*/
|
|
1026
|
+
readonly minimumPanelWidth: _angular_core.InputSignal<number>;
|
|
1027
|
+
protected readonly firstPanelWidth: _angular_core.WritableSignal<number>;
|
|
1028
|
+
protected readonly secondPanelWidth: _angular_core.Signal<number>;
|
|
1029
|
+
protected readonly isDragging: _angular_core.WritableSignal<boolean>;
|
|
1030
|
+
private readonly container;
|
|
1031
|
+
private readonly splitter;
|
|
1032
|
+
private readonly cdkDrag;
|
|
1033
|
+
private storedFirstPanelWidth;
|
|
1034
|
+
/**
|
|
1035
|
+
* Flag to indicate if the mouse click event should be
|
|
1036
|
+
* ignored because the user is dragging the splitter.
|
|
1037
|
+
*/
|
|
1038
|
+
private ignoreMouseClick;
|
|
1039
|
+
/**
|
|
1040
|
+
* Reactive object to store the dimensions of the drag elements.
|
|
1041
|
+
* Updated by a resize observer on the container.
|
|
1042
|
+
*/
|
|
1043
|
+
private readonly dragElementDimensions;
|
|
1044
|
+
private readonly resizeObserver;
|
|
1045
|
+
/**
|
|
1046
|
+
* Available width for the panels, without considering the `minimumPanelWidth` input.
|
|
1047
|
+
*/
|
|
1048
|
+
private readonly availableWidth;
|
|
1049
|
+
/**
|
|
1050
|
+
* Position of the drag handle when the component is initialized.
|
|
1051
|
+
* The drag position is always relative to this starting position.
|
|
1052
|
+
*/
|
|
1053
|
+
private readonly dragStartPosition;
|
|
1054
|
+
/**
|
|
1055
|
+
* Minimum panel width that is safe to use, considering the
|
|
1056
|
+
* available container width and the `minimumPanelWidth` input.
|
|
1057
|
+
*/
|
|
1058
|
+
protected readonly safeMinPanelWidth: _angular_core.Signal<number>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Maximum panel width that is safe to use, considering the
|
|
1061
|
+
* available container width and the `minimumPanelWidth
|
|
1062
|
+
*/
|
|
1063
|
+
protected readonly safeMaxPanelWidth: _angular_core.Signal<number>;
|
|
1064
|
+
constructor();
|
|
1065
|
+
ngAfterViewInit(): void;
|
|
1066
|
+
ngOnDestroy(): void;
|
|
1067
|
+
protected constrainPosition: (userPointerPosition: Point) => {
|
|
1068
|
+
x: number;
|
|
1069
|
+
y: number;
|
|
1070
|
+
};
|
|
1071
|
+
protected onDragStarted(): void;
|
|
1072
|
+
protected onDragEnded(): void;
|
|
1073
|
+
protected onDragMoved(): void;
|
|
1074
|
+
protected onSplitterMouseDown(): void;
|
|
1075
|
+
protected onSplitterMouseUp(): void;
|
|
1076
|
+
protected setDragPosition(position: number): void;
|
|
1077
|
+
protected storeFirstPanelWidth(): void;
|
|
1078
|
+
private setFirstPanelWidth;
|
|
1079
|
+
private clampPanelWidth;
|
|
1080
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SplitterComponent, never>;
|
|
1081
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SplitterComponent, "ndw-splitter", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "initialPanelWidth": { "alias": "initialPanelWidth"; "required": false; "isSignal": true; }; "minimumPanelWidth": { "alias": "minimumPanelWidth"; "required": false; "isSignal": true; }; }, {}, never, ["[first-panel]", "[second-panel]"], true, never>;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
type SummaryActionsView = 'visible' | 'popover' | 'auto';
|
|
1085
|
+
|
|
1086
|
+
declare class SummaryCardComponent {
|
|
1087
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SummaryCardComponent, never>;
|
|
1088
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SummaryCardComponent, "ndw-summary-card", never, {}, {}, never, ["ndw-avatar", "ndw-summary-card-header", "ndw-summary-card-content", "ndw-summary-card-tags"], true, never>;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
declare class SummaryCardActionComponent {
|
|
1092
|
+
readonly iconName: _angular_core.InputSignal<string>;
|
|
1093
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
1094
|
+
readonly disabled: _angular_core.InputSignal<boolean | undefined>;
|
|
1095
|
+
readonly action: _angular_core.OutputEmitterRef<void>;
|
|
1096
|
+
readonly template: _angular_core.Signal<TemplateRef<Element>>;
|
|
1097
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SummaryCardActionComponent, never>;
|
|
1098
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SummaryCardActionComponent, "ndw-summary-card-action", never, { "iconName": { "alias": "iconName"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "action": "action"; }, never, never, true, never>;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
declare class SummaryCardActionsComponent {
|
|
1102
|
+
readonly view: _angular_core.InputSignal<SummaryActionsView>;
|
|
1103
|
+
readonly actions: _angular_core.Signal<readonly SummaryCardActionComponent[]>;
|
|
1104
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SummaryCardActionsComponent, never>;
|
|
1105
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SummaryCardActionsComponent, "ndw-summary-card-actions", never, { "view": { "alias": "view"; "required": false; "isSignal": true; }; }, {}, ["actions"], ["ndw-favorite"], true, never>;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
declare class SummaryCardContentComponent {
|
|
1109
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SummaryCardContentComponent, never>;
|
|
1110
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SummaryCardContentComponent, "ndw-summary-card-content", never, {}, {}, never, ["*"], true, never>;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
declare class SummaryCardHeaderComponent {
|
|
1114
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SummaryCardHeaderComponent, never>;
|
|
1115
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SummaryCardHeaderComponent, "ndw-summary-card-header", never, {}, {}, never, ["ndw-pill", "*", "ndw-summary-card-subtitle", "ndw-summary-card-actions"], true, never>;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
declare class SummaryCardTagsComponent {
|
|
1119
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SummaryCardTagsComponent, never>;
|
|
1120
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SummaryCardTagsComponent, "ndw-summary-card-tags", never, {}, {}, never, ["*"], true, never>;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
declare class SummaryCardTagComponent {
|
|
1124
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SummaryCardTagComponent, never>;
|
|
1125
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SummaryCardTagComponent, "ndw-summary-card-tag", never, {}, {}, never, ["*"], true, never>;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
declare class SummaryCardSubtitleComponent {
|
|
1129
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SummaryCardSubtitleComponent, never>;
|
|
1130
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SummaryCardSubtitleComponent, "ndw-summary-card-subtitle", never, {}, {}, never, ["ndw-icon", "*"], true, never>;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
interface SwitcherOption {
|
|
1134
|
+
value: string;
|
|
1135
|
+
label: string;
|
|
1136
|
+
icon?: string;
|
|
1137
|
+
disabled?: boolean;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
declare class SwitcherComponent implements ControlValueAccessor, OnInit {
|
|
1141
|
+
#private;
|
|
1142
|
+
readonly options: _angular_core.InputSignal<SwitcherOption[]>;
|
|
1143
|
+
readonly selectedValue: _angular_core.ModelSignal<string | undefined>;
|
|
1144
|
+
readonly disabled: _angular_core.ModelSignal<boolean>;
|
|
1145
|
+
readonly selectionChange: _angular_core.OutputEmitterRef<string>;
|
|
1146
|
+
sliderWidth: string;
|
|
1147
|
+
sliderPosition: string;
|
|
1148
|
+
private onChange;
|
|
1149
|
+
private onTouched;
|
|
1150
|
+
ngOnInit(): void;
|
|
1151
|
+
writeValue(value: string): void;
|
|
1152
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
1153
|
+
registerOnTouched(fn: () => void): void;
|
|
1154
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1155
|
+
selectOption(value: string): void;
|
|
1156
|
+
onKeyDown(event: KeyboardEvent, _currentIndex: number): void;
|
|
1157
|
+
generateId(index: number): string;
|
|
1158
|
+
get componentName(): string;
|
|
1159
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SwitcherComponent, never>;
|
|
1160
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitcherComponent, "ndw-switcher", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "selectedValue": { "alias": "selectedValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "selectedValue": "selectedValueChange"; "disabled": "disabledChange"; "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
declare class TabComponent implements OnInit {
|
|
1164
|
+
private readonly _viewContainerRef;
|
|
1165
|
+
private readonly _elementRef;
|
|
1166
|
+
private _content;
|
|
1167
|
+
private readonly _contentTemplate;
|
|
1168
|
+
get content(): TemplatePortal | null;
|
|
1169
|
+
title: _angular_core.InputSignal<string>;
|
|
1170
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
1171
|
+
active: boolean;
|
|
1172
|
+
id: _angular_core.InputSignal<string | number>;
|
|
1173
|
+
ngOnInit(): void;
|
|
1174
|
+
getNativeElement(): HTMLElement;
|
|
1175
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
1176
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabComponent, "ndw-tab", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
declare class TabGroupComponent {
|
|
1180
|
+
private readonly _tabs;
|
|
1181
|
+
private readonly _tabButtons;
|
|
1182
|
+
tabs: _angular_core.Signal<TabComponent[]>;
|
|
1183
|
+
hasPadding: _angular_core.InputSignal<boolean>;
|
|
1184
|
+
activeTabId: _angular_core.ModelSignal<string | number | undefined>;
|
|
1185
|
+
inlinePadding: _angular_core.InputSignal<number>;
|
|
1186
|
+
constructor();
|
|
1187
|
+
selectTab(index: number): void;
|
|
1188
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
1189
|
+
private getNextEnabledIndex;
|
|
1190
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
|
1191
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabGroupComponent, "ndw-tab-group", never, { "hasPadding": { "alias": "hasPadding"; "required": false; "isSignal": true; }; "activeTabId": { "alias": "activeTabId"; "required": false; "isSignal": true; }; "inlinePadding": { "alias": "inlinePadding"; "required": false; "isSignal": true; }; }, { "activeTabId": "activeTabIdChange"; }, ["_tabs"], never, true, never>;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
declare const ndwAgGridTheme: Partial<ThemeDefaultParams>;
|
|
1195
|
+
|
|
1196
|
+
declare class TagComponent {
|
|
1197
|
+
/**
|
|
1198
|
+
* Disables the tag
|
|
1199
|
+
*/
|
|
1200
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
1201
|
+
/**
|
|
1202
|
+
* Aria label for the interactive button
|
|
1203
|
+
*/
|
|
1204
|
+
suffixAriaLabel: _angular_core.InputSignal<string>;
|
|
1205
|
+
/**
|
|
1206
|
+
* The name of the icon to display
|
|
1207
|
+
*/
|
|
1208
|
+
suffixIcon: _angular_core.InputSignal<string>;
|
|
1209
|
+
clicked: _angular_core.OutputEmitterRef<Event>;
|
|
1210
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
1211
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "ndw-tag", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "suffixAriaLabel": { "alias": "suffixAriaLabel"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
interface ToastDimensions {
|
|
1215
|
+
width: number;
|
|
1216
|
+
height: number;
|
|
1217
|
+
}
|
|
1218
|
+
declare class ToastComponent implements AfterViewInit {
|
|
1219
|
+
#private;
|
|
1220
|
+
message: _angular_core.InputSignal<string>;
|
|
1221
|
+
closeButtonLabel: _angular_core.InputSignal<string>;
|
|
1222
|
+
id: _angular_core.InputSignal<string | undefined>;
|
|
1223
|
+
duration: _angular_core.InputSignal<number>;
|
|
1224
|
+
paused: _angular_core.InputSignal<boolean>;
|
|
1225
|
+
showProgress: _angular_core.InputSignal<boolean>;
|
|
1226
|
+
closed: _angular_core.OutputEmitterRef<void>;
|
|
1227
|
+
elementDimensions: _angular_core.OutputEmitterRef<ToastDimensions>;
|
|
1228
|
+
ngAfterViewInit(): void;
|
|
1229
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
1230
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastComponent, "ndw-toast", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "paused": { "alias": "paused"; "required": false; "isSignal": true; }; "showProgress": { "alias": "showProgress"; "required": false; "isSignal": true; }; }, { "closed": "closed"; "elementDimensions": "elementDimensions"; }, never, never, true, never>;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
type ToastId = string;
|
|
1234
|
+
interface ToastData {
|
|
1235
|
+
id: ToastId;
|
|
1236
|
+
message: string;
|
|
1237
|
+
duration: number;
|
|
1238
|
+
remainingTime: number;
|
|
1239
|
+
closeButtonLabel?: string;
|
|
1240
|
+
}
|
|
1241
|
+
declare class ToastService {
|
|
1242
|
+
#private;
|
|
1243
|
+
paused: Signal<boolean>;
|
|
1244
|
+
get toasts(): Signal<ToastData[]>;
|
|
1245
|
+
constructor();
|
|
1246
|
+
/**
|
|
1247
|
+
* Close a toast by its ID. If no ID is provided, all toasts will be closed.
|
|
1248
|
+
*/
|
|
1249
|
+
close(id?: string): void;
|
|
1250
|
+
/**
|
|
1251
|
+
* Open a toast notification with the given message and optional duration.
|
|
1252
|
+
* @param message The message to display in the toast.
|
|
1253
|
+
* @param duration Optional duration in milliseconds for which the toast should be visible. Defaults to 5000ms.
|
|
1254
|
+
* @returns The ID of the created toast. Can be used to close the toast.
|
|
1255
|
+
*/
|
|
1256
|
+
open(message: string, duration?: number, closeButtonLabel?: string): ToastId;
|
|
1257
|
+
pause(): void;
|
|
1258
|
+
resume(): void;
|
|
1259
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastService, never>;
|
|
1260
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ToastService>;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
declare class TooltipComponent {
|
|
1264
|
+
text: _angular_core.InputSignal<string>;
|
|
1265
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
1266
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TooltipComponent, "ndw-tooltip", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
declare class TooltipDirective implements OnChanges, OnDestroy, OnInit {
|
|
1270
|
+
private readonly elementRef;
|
|
1271
|
+
private readonly overlay;
|
|
1272
|
+
private readonly ariaDescriber;
|
|
1273
|
+
text: _angular_core.InputSignal<string>;
|
|
1274
|
+
private overlayRef;
|
|
1275
|
+
ngOnInit(): void;
|
|
1276
|
+
ngOnChanges(): void;
|
|
1277
|
+
ngOnDestroy(): void;
|
|
1278
|
+
protected show(): void;
|
|
1279
|
+
protected hide(): void;
|
|
1280
|
+
protected hideOnEscape(): void;
|
|
1281
|
+
private updateAriaDescription;
|
|
1282
|
+
private getFlexibleConnectedPositionStrategy;
|
|
1283
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
1284
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipDirective, "[ndwTooltip]", never, { "text": { "alias": "ndwTooltip"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
export { AccordionComponent, AccordionService, AlertComponent, AutoGrowDirective, AutosuggestAddOptionComponent, AutosuggestDirective, AutosuggestOptionComponent, AutosuggestPanelComponent, AvatarComponent, BadgeComponent, BannerComponent, BreadcrumbComponent, BreadcrumbGroupComponent, ButtonDirective, CARD_COMPONENTS, CARD_ID_TOKEN, CardComponent, CardContentComponent, CardFooterComponent, CardHeaderComponent, CheckboxComponent, CheckboxGroupComponent, CollapsibleComponent, DEFAULT_BACKGROUNDS, DashboardCardComponent, DatepickerComponent, DropdownComponent, EditBarActionsComponent, EditBarComponent, EditBarMessageComponent, ErrorComponent, FavoriteComponent, FileUploadComponent, FormFieldComponent, FormFieldElement, HoverableListItemComponent, IconComponent, InfoComponent, InputButtonComponent, InputDirective, InputIconComponent, KeyValueListComponent, LayoutBannersComponent, LayoutComponent, ListComponent, ListItemComponent, LoaderComponent, MAP_BACKGROUNDS, MAP_BACKGROUND_IMAGES, MAP_LAYERS, MAP_LAYER_IMAGES, MODAL_COMPONENTS, MainNavigationComponent, MapButtonComponent, MapDisplayComponent, MapDisplayOptionComponent, MapLegendComponent, MaxCharDirective, ModalComponent, ModalContentComponent, ModalFooterComponent, ModalHeaderComponent, ModalService, MonthInputComponent, MultiSelectComponent, OptionComponent, OptionGroupComponent, PillComponent, PopoverTriggerDirective, RadioButtonComponent, RadioGroupComponent, RouterBreadcrumbsComponent, SplitterComponent, SummaryCardActionComponent, SummaryCardActionsComponent, SummaryCardComponent, SummaryCardContentComponent, SummaryCardHeaderComponent, SummaryCardSubtitleComponent, SummaryCardTagComponent, SummaryCardTagsComponent, SwitcherComponent, TabComponent, TabGroupComponent, TagComponent, ToastComponent, ToastService, TooltipComponent, TooltipDirective, fontMapButtonIcons, mapButtonIcons, ndwAgGridTheme, svgMapButtonIcons };
|
|
1288
|
+
export type { AlertType, AvatarColor, AvatarStatus, BannerType, BaseMapLegendOption, CheckType, CheckboxData, CircleMapLegendOption, DisplayOptionDirection, DisplayOptionType, EditBarPosition, EditBarWidth, Environment, FileUploadText, HoverableListItemAction, IconMapLegendOption, ImageMapLegendOption, LineMapLegendOption, MapBackgroundOption, MapBackgrounds, MapButtonIcon, MapDisplayOption, MapLegendOption, MapLegendOptionGroup, MapLegendOptionType, MapLegendViewMode, MenuItem, ModalSize, OptionGroupMode, PolygonMapLegendOption, PopoverPosition, SelectAllText, SubMenuItem, SummaryActionsView, SwitcherOption, Theme, ToastDimensions };
|