@ndwnu/design-system 4.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/images/dashboard-card-icons/contact.png +0 -0
- package/assets/images/dashboard-card-icons/faq.png +0 -0
- package/assets/images/dashboard-card-icons/manual.png +0 -0
- package/components/dashboard-card/dashboard-card.component.d.ts +22 -0
- package/components/dashboard-card/index.d.ts +1 -0
- package/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.d.ts +8 -0
- package/components/form-field/autosuggest/autosuggest-add-option/index.d.ts +1 -0
- package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.d.ts +19 -0
- package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.d.ts +2 -0
- package/components/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.d.ts +27 -0
- package/components/form-field/autosuggest/autosuggest-option/index.d.ts +2 -0
- package/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.d.ts +39 -0
- package/components/form-field/autosuggest/autosuggest.directive.d.ts +72 -0
- package/components/form-field/autosuggest/index.d.ts +5 -5
- package/components/form-field/autosuggest/match-bold.pipe.d.ts +7 -0
- package/components/form-field/clear-search-button/clear-search-button.component.d.ts +15 -0
- package/components/form-field/form-field.component.d.ts +19 -24
- package/components/form-field/form-field.constant.d.ts +1 -0
- package/components/form-field/index.d.ts +2 -0
- package/components/form-field/input/input.directive.d.ts +0 -1
- package/components/form-field/input-button/index.d.ts +1 -0
- package/components/form-field/input-button/input-button.component.d.ts +12 -0
- package/components/form-field/input-icon/index.d.ts +1 -0
- package/components/form-field/input-icon/input-icon.component.d.ts +5 -0
- package/components/form-field/picker-button/picker-button.component.d.ts +15 -0
- package/components/icon/icon.component.d.ts +1 -0
- package/components/index.d.ts +4 -2
- package/components/layout/layout.component.d.ts +5 -2
- package/components/main-navigation/main-navigation.component.d.ts +8 -3
- package/components/main-navigation/main-navigation.model.d.ts +1 -0
- package/components/main-navigation-menu/main-navigation-menu.component.d.ts +2 -2
- package/components/modal/index.d.ts +0 -1
- package/components/modal/modal-header/modal-header.component.d.ts +1 -1
- package/components/modal/modal-ref.d.ts +3 -0
- package/components/modal/modal.service.d.ts +13 -12
- package/components/pill/pill.model.d.ts +1 -1
- package/components/summary-card/index.d.ts +10 -0
- package/components/summary-card/summary-card-action/summary-card-action.component.d.ts +11 -0
- package/components/summary-card/summary-card-actions/summary-card-actions.component.d.ts +9 -0
- package/components/summary-card/summary-card-avatar/summary-card-avatar.component.d.ts +8 -0
- package/components/summary-card/summary-card-content/summary-card-content.component.d.ts +5 -0
- package/components/summary-card/summary-card-header/summary-card-header.component.d.ts +5 -0
- package/components/summary-card/summary-card-subtitle/summary-card-subtitle.component.d.ts +5 -0
- package/components/summary-card/summary-card-tag/summary-card-tag.component.d.ts +5 -0
- package/components/summary-card/summary-card-tags/summary-card-tags.component.d.ts +5 -0
- package/components/summary-card/summary-card.component.d.ts +5 -0
- package/components/summary-card/summary-card.model.d.ts +2 -0
- package/core/{styles/ndw-styles.scss → style/styles.css} +667 -217
- package/core/{styles/nwb-styles.scss → style/styles.scss} +698 -216
- package/esm2022/components/accordion/accordion.component.mjs +3 -3
- package/esm2022/components/accordion/accordion.service.mjs +3 -3
- package/esm2022/components/alert/alert.component.mjs +5 -5
- package/esm2022/components/badge/badge.component.mjs +4 -4
- package/esm2022/components/banner/banner.component.mjs +5 -5
- package/esm2022/components/breadcrumb/breadcrumb.component.mjs +3 -3
- package/esm2022/components/breadcrumb-group/breadcrumb-group.component.mjs +5 -5
- package/esm2022/components/button/button.directive.mjs +3 -3
- package/esm2022/components/card/card-content/card-content.component.mjs +3 -3
- package/esm2022/components/card/card-footer/card-footer.component.mjs +3 -3
- package/esm2022/components/card/card-header/card-header.component.mjs +3 -3
- package/esm2022/components/card/card.component.mjs +3 -3
- package/esm2022/components/collapsible/collapsible.component.mjs +3 -3
- package/esm2022/components/dashboard-card/dashboard-card.component.mjs +32 -0
- package/esm2022/components/dashboard-card/index.mjs +2 -0
- package/esm2022/components/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.mjs +29 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-add-option/index.mjs +2 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.mjs +45 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.mjs +2 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.mjs +85 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-option/index.mjs +3 -0
- package/esm2022/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.mjs +82 -0
- package/esm2022/components/form-field/autosuggest/autosuggest.directive.mjs +411 -0
- package/esm2022/components/form-field/autosuggest/index.mjs +6 -6
- package/esm2022/components/form-field/autosuggest/match-bold.pipe.mjs +21 -0
- package/esm2022/components/form-field/checkbox/checkbox.component.mjs +6 -6
- package/esm2022/components/form-field/checkbox-group/checkbox-group.component.mjs +3 -3
- package/esm2022/components/form-field/clear-search-button/clear-search-button.component.mjs +37 -0
- package/esm2022/components/form-field/error/error.component.mjs +3 -3
- package/esm2022/components/form-field/file-upload/file-upload.component.mjs +3 -3
- package/esm2022/components/form-field/form-field.component.mjs +24 -82
- package/esm2022/components/form-field/form-field.constant.mjs +2 -0
- package/esm2022/components/form-field/index.mjs +3 -1
- package/esm2022/components/form-field/info/info.component.mjs +3 -3
- package/esm2022/components/form-field/input/input.directive.mjs +5 -11
- package/esm2022/components/form-field/input-button/index.mjs +2 -0
- package/esm2022/components/form-field/input-button/input-button.component.mjs +23 -0
- package/esm2022/components/form-field/input-icon/index.mjs +2 -0
- package/esm2022/components/form-field/input-icon/input-icon.component.mjs +12 -0
- package/esm2022/components/form-field/month-input/month-input.component.mjs +5 -5
- package/esm2022/components/form-field/option-group/option-group.component.mjs +3 -3
- package/esm2022/components/form-field/option-group/option.component.mjs +3 -3
- package/esm2022/components/form-field/picker-button/picker-button.component.mjs +50 -0
- package/esm2022/components/form-field/radio-button/radio-button.component.mjs +6 -6
- package/esm2022/components/form-field/radio-group/radio-group.component.mjs +3 -3
- package/esm2022/components/form-field/success/success.component.mjs +3 -3
- package/esm2022/components/form-field/textarea/auto-grow.directive.mjs +3 -3
- package/esm2022/components/icon/action-icon/action-icon.component.mjs +3 -3
- package/esm2022/components/icon/icon.component.mjs +12 -7
- package/esm2022/components/index.mjs +5 -3
- package/esm2022/components/layout/layout.component.mjs +9 -6
- package/esm2022/components/layout-banners/layout-banners.component.mjs +3 -3
- package/esm2022/components/loader/loader.component.mjs +3 -3
- package/esm2022/components/main-navigation/main-navigation.component.mjs +46 -24
- package/esm2022/components/main-navigation/main-navigation.model.mjs +1 -1
- package/esm2022/components/main-navigation-menu/main-navigation-menu.component.mjs +8 -8
- package/esm2022/components/modal/index.mjs +1 -4
- package/esm2022/components/modal/modal-content/modal-content.component.mjs +3 -3
- package/esm2022/components/modal/modal-footer/modal-footer.component.mjs +3 -3
- package/esm2022/components/modal/modal-header/modal-header.component.mjs +7 -9
- package/esm2022/components/modal/modal-ref.mjs +4 -0
- package/esm2022/components/modal/modal.component.mjs +5 -6
- package/esm2022/components/modal/modal.service.mjs +20 -51
- package/esm2022/components/multi-select/multi-select.component.mjs +4 -4
- package/esm2022/components/pill/pill.component.mjs +6 -5
- package/esm2022/components/pill/pill.model.mjs +10 -2
- package/esm2022/components/popover/popover-trigger.directive.mjs +3 -3
- package/esm2022/components/router-breadcrumbs/router-breadcrumbs.component.mjs +3 -3
- package/esm2022/components/summary-card/index.mjs +11 -0
- package/esm2022/components/summary-card/summary-card-action/summary-card-action.component.mjs +23 -0
- package/esm2022/components/summary-card/summary-card-actions/summary-card-actions.component.mjs +26 -0
- package/esm2022/components/summary-card/summary-card-avatar/summary-card-avatar.component.mjs +25 -0
- package/esm2022/components/summary-card/summary-card-content/summary-card-content.component.mjs +19 -0
- package/esm2022/components/summary-card/summary-card-header/summary-card-header.component.mjs +13 -0
- package/esm2022/components/summary-card/summary-card-subtitle/summary-card-subtitle.component.mjs +11 -0
- package/esm2022/components/summary-card/summary-card-tag/summary-card-tag.component.mjs +20 -0
- package/esm2022/components/summary-card/summary-card-tags/summary-card-tags.component.mjs +20 -0
- package/esm2022/components/summary-card/summary-card.component.mjs +14 -0
- package/esm2022/components/summary-card/summary-card.model.mjs +2 -0
- package/esm2022/components/tab/tab.component.mjs +3 -3
- package/esm2022/components/tab-group/tab-group.component.mjs +3 -3
- package/esm2022/components/tag/tag.component.mjs +3 -3
- package/esm2022/components/toast/toast.component.mjs +3 -3
- package/esm2022/components/toast/toast.service.mjs +3 -3
- package/esm2022/components/tooltip/tooltip.component.mjs +4 -4
- package/esm2022/components/tooltip/tooltip.directive.mjs +3 -3
- package/fesm2022/ndwnu-design-system.mjs +1111 -581
- package/fesm2022/ndwnu-design-system.mjs.map +1 -1
- package/package.json +1 -1
- package/components/form-field/autosuggest/autosuggest-highlight.pipe.d.ts +0 -7
- package/components/form-field/autosuggest/autosuggest-item/autosuggest-item.component.d.ts +0 -15
- package/components/form-field/autosuggest/autosuggest-trigger.directive.d.ts +0 -35
- package/components/form-field/autosuggest/autosuggest.component.d.ts +0 -30
- package/components/form-field/autosuggest/autosuggest.model.d.ts +0 -1
- package/components/form-field/autosuggest/autosuggest.utils.d.ts +0 -2
- package/components/modal/modal-trigger.directive.d.ts +0 -17
- package/esm2022/components/form-field/autosuggest/autosuggest-highlight.pipe.mjs +0 -21
- package/esm2022/components/form-field/autosuggest/autosuggest-item/autosuggest-item.component.mjs +0 -34
- package/esm2022/components/form-field/autosuggest/autosuggest-trigger.directive.mjs +0 -160
- package/esm2022/components/form-field/autosuggest/autosuggest.component.mjs +0 -82
- package/esm2022/components/form-field/autosuggest/autosuggest.model.mjs +0 -2
- package/esm2022/components/form-field/autosuggest/autosuggest.utils.mjs +0 -13
- package/esm2022/components/modal/modal-trigger.directive.mjs +0 -51
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DashboardCardComponent {
|
|
3
|
+
/**
|
|
4
|
+
* The title of the card.
|
|
5
|
+
*/
|
|
6
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
7
|
+
/**
|
|
8
|
+
* The URL to the icon to display on the card. The icon is assumed to be rectangular.
|
|
9
|
+
*/
|
|
10
|
+
readonly imgSource: import("@angular/core").InputSignal<string>;
|
|
11
|
+
/**
|
|
12
|
+
* The url to open in a new window when the card is clicked.
|
|
13
|
+
*/
|
|
14
|
+
readonly link: import("@angular/core").InputSignal<string>;
|
|
15
|
+
/**
|
|
16
|
+
* Specifies where to open the linked document.
|
|
17
|
+
* Valid values are `_blank`, `_parent`, `_self`, or `_top`.
|
|
18
|
+
*/
|
|
19
|
+
readonly linkTarget: import("@angular/core").InputSignal<string>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardCardComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵ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>;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dashboard-card.component';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseAutosuggestOptionComponent } from '../autosuggest-option';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AutosuggestAddOptionComponent extends BaseAutosuggestOptionComponent {
|
|
4
|
+
readonly addOption: import("@angular/core").OutputEmitterRef<string>;
|
|
5
|
+
protected emitSelectionChangeEvent(isUserInput?: boolean): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutosuggestAddOptionComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutosuggestAddOptionComponent, "ndw-autosuggest-add-option", never, {}, { "addOption": "addOption"; }, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './autosuggest-add-option.component';
|
package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AutosuggestAddOptionComponent } from '../autosuggest-add-option';
|
|
2
|
+
import { BaseAutosuggestOptionComponent } from './base-autosuggest-option.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AutocompleteOptionSelectionChange {
|
|
5
|
+
source: AutosuggestOptionComponent | AutosuggestAddOptionComponent;
|
|
6
|
+
isUserInput: boolean;
|
|
7
|
+
constructor(source: AutosuggestOptionComponent | AutosuggestAddOptionComponent, isUserInput?: boolean);
|
|
8
|
+
}
|
|
9
|
+
export declare class AutosuggestOptionComponent extends BaseAutosuggestOptionComponent {
|
|
10
|
+
readonly searchTerm: import("@angular/core").InputSignal<string>;
|
|
11
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
12
|
+
id: string;
|
|
13
|
+
get viewValue(): string;
|
|
14
|
+
constructor();
|
|
15
|
+
getLabel(): string;
|
|
16
|
+
protected emitSelectionChangeEvent(isUserInput?: boolean): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutosuggestOptionComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutosuggestOptionComponent, "ndw-autosuggest-option", never, { "searchTerm": { "alias": "searchTerm"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
package/components/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FocusableOption, FocusOrigin } from '@angular/cdk/a11y';
|
|
2
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
3
|
+
import { AutocompleteOptionSelectionChange } from './autosuggest-option.component';
|
|
4
|
+
import { AutosuggestOption } from './autosuggest-option.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare abstract class BaseAutosuggestOptionComponent implements FocusableOption, OnDestroy {
|
|
7
|
+
readonly value: import("@angular/core").InputSignal<AutosuggestOption | undefined>;
|
|
8
|
+
readonly selectionChange: EventEmitter<AutocompleteOptionSelectionChange>;
|
|
9
|
+
protected _active: boolean;
|
|
10
|
+
protected _selected: boolean;
|
|
11
|
+
get active(): boolean;
|
|
12
|
+
get selected(): boolean;
|
|
13
|
+
private readonly element;
|
|
14
|
+
private readonly changeDetectorRef;
|
|
15
|
+
focus(_origin?: FocusOrigin, options?: FocusOptions): void;
|
|
16
|
+
setActiveStyles(): void;
|
|
17
|
+
setInactiveStyles(): void;
|
|
18
|
+
select(emitEvent?: boolean): void;
|
|
19
|
+
deselect(emitEvent?: boolean): void;
|
|
20
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
21
|
+
selectViaInteraction(): void;
|
|
22
|
+
protected abstract emitSelectionChangeEvent(isUserInput?: boolean): void;
|
|
23
|
+
ngOnDestroy(): void;
|
|
24
|
+
protected getHostElement(): HTMLElement;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseAutosuggestOptionComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseAutosuggestOptionComponent, "ng-component", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
|
3
|
+
import { AutosuggestAddOptionComponent } from '../autosuggest-add-option';
|
|
4
|
+
import { AutosuggestOptionComponent } from '../autosuggest-option';
|
|
5
|
+
import { AutosuggestOption, AutosuggestOptions } from '../autosuggest-option/autosuggest-option.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AutosuggestPanelComponent implements AfterViewInit, OnDestroy {
|
|
8
|
+
readonly suggestions: import("@angular/core").InputSignal<AutosuggestOptions>;
|
|
9
|
+
readonly enableAddOption: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
readonly maxResults: import("@angular/core").InputSignal<number>;
|
|
11
|
+
readonly noResultText: import("@angular/core").InputSignal<string>;
|
|
12
|
+
readonly displayWith: import("@angular/core").InputSignal<((value: AutosuggestOption) => string) | undefined>;
|
|
13
|
+
readonly opened: import("@angular/core").OutputEmitterRef<void>;
|
|
14
|
+
readonly closed: import("@angular/core").OutputEmitterRef<void>;
|
|
15
|
+
readonly optionSelected: import("@angular/core").OutputEmitterRef<AutosuggestOption | null>;
|
|
16
|
+
readonly addOption: import("@angular/core").OutputEmitterRef<string>;
|
|
17
|
+
items: QueryList<AutosuggestOptionComponent | AutosuggestAddOptionComponent>;
|
|
18
|
+
readonly template: import("@angular/core").Signal<TemplateRef<any>>;
|
|
19
|
+
readonly panel: import("@angular/core").Signal<ElementRef<HTMLDivElement>>;
|
|
20
|
+
readonly searchTerm: import("@angular/core").WritableSignal<string>;
|
|
21
|
+
readonly slicedOptions: import("@angular/core").Signal<AutosuggestOption[]>;
|
|
22
|
+
readonly hasMoreResults: import("@angular/core").Signal<boolean>;
|
|
23
|
+
readonly numberOfLeftOverResults: import("@angular/core").Signal<number>;
|
|
24
|
+
keyManager: ActiveDescendantKeyManager<AutosuggestOptionComponent | AutosuggestAddOptionComponent> | undefined;
|
|
25
|
+
showPanel: boolean;
|
|
26
|
+
id: string;
|
|
27
|
+
isOpen: boolean;
|
|
28
|
+
private readonly changeDetectorRef;
|
|
29
|
+
constructor();
|
|
30
|
+
ngAfterViewInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
getLabelOption(option: AutosuggestOption): string;
|
|
33
|
+
setScrollTop(scrollTop: number): void;
|
|
34
|
+
setVisibility(): void;
|
|
35
|
+
emitSelectEvent(option: AutosuggestOptionComponent | AutosuggestAddOptionComponent): void;
|
|
36
|
+
addNewOption(value: string): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutosuggestPanelComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutosuggestPanelComponent, "ndw-autosuggest", ["apAutocomplete"], { "suggestions": { "alias": "suggestions"; "required": false; "isSignal": true; }; "enableAddOption": { "alias": "enableAddOption"; "required": false; "isSignal": true; }; "maxResults": { "alias": "maxResults"; "required": false; "isSignal": true; }; "noResultText": { "alias": "noResultText"; "required": false; "isSignal": true; }; "displayWith": { "alias": "displayWith"; "required": false; "isSignal": true; }; }, { "opened": "opened"; "closed": "closed"; "optionSelected": "optionSelected"; "addOption": "addOption"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { AutosuggestAddOptionComponent } from './autosuggest-add-option';
|
|
4
|
+
import { AutosuggestOptionComponent } from './autosuggest-option/autosuggest-option.component';
|
|
5
|
+
import { AutosuggestPanelComponent } from './autosuggest-panel/autosuggest-panel.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AutosuggestDirective implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
8
|
+
readonly ndwAutosuggest: import("@angular/core").InputSignal<AutosuggestPanelComponent>;
|
|
9
|
+
readonly filter: import("@angular/core").OutputEmitterRef<string>;
|
|
10
|
+
private overlayAttached;
|
|
11
|
+
private overlayRef;
|
|
12
|
+
private portal;
|
|
13
|
+
private previousValue;
|
|
14
|
+
private closingActionsSubscription;
|
|
15
|
+
private keydownSubscription;
|
|
16
|
+
private canOpenOnNextFocus;
|
|
17
|
+
private valueOnAttach;
|
|
18
|
+
private valueOnLastKeydown;
|
|
19
|
+
private readonly closeKeyEventStream;
|
|
20
|
+
private readonly zone;
|
|
21
|
+
private readonly element;
|
|
22
|
+
private readonly viewContainerRef;
|
|
23
|
+
private readonly overlay;
|
|
24
|
+
private readonly changeDetectorRef;
|
|
25
|
+
private readonly document;
|
|
26
|
+
private readonly viewportRuler;
|
|
27
|
+
private readonly destroyRef;
|
|
28
|
+
get panelOpen(): boolean;
|
|
29
|
+
get activeOption(): AutosuggestOptionComponent | AutosuggestAddOptionComponent | null;
|
|
30
|
+
get autosuggest(): AutosuggestPanelComponent;
|
|
31
|
+
private get panelClosingActions();
|
|
32
|
+
private readonly optionSelections;
|
|
33
|
+
ngAfterViewInit(): void;
|
|
34
|
+
ngOnDestroy(): void;
|
|
35
|
+
openPanel(valueOnAttach?: string): void;
|
|
36
|
+
closePanel(): void;
|
|
37
|
+
handleFocus(): void;
|
|
38
|
+
writeValue(value: unknown): void;
|
|
39
|
+
registerOnChange(fn: (value: unknown) => unknown): void;
|
|
40
|
+
registerOnTouched(fn: () => unknown): void;
|
|
41
|
+
clearValue(): void;
|
|
42
|
+
handleClick(): void;
|
|
43
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
44
|
+
handleInput(event: KeyboardEvent): void;
|
|
45
|
+
setDisabledState(isDisabled: boolean): void;
|
|
46
|
+
private readonly handlePanelKeydown;
|
|
47
|
+
private readonly windowBlurHandler;
|
|
48
|
+
onChange: (value: unknown) => void;
|
|
49
|
+
onTouched: () => void;
|
|
50
|
+
private destroyPanel;
|
|
51
|
+
private attachOverlay;
|
|
52
|
+
private initKeydownEvents;
|
|
53
|
+
private getOverlayConfig;
|
|
54
|
+
private getHostWidth;
|
|
55
|
+
private bindingElement;
|
|
56
|
+
private getOverlayPosition;
|
|
57
|
+
private resetActiveItem;
|
|
58
|
+
private blur;
|
|
59
|
+
private getOutsideClickStream;
|
|
60
|
+
private subscribeToClosingActions;
|
|
61
|
+
private setValueAndClose;
|
|
62
|
+
private assignOptionValue;
|
|
63
|
+
private getDisplayValue;
|
|
64
|
+
private updateNativeInputValue;
|
|
65
|
+
private scrollToOption;
|
|
66
|
+
private setTriggerValue;
|
|
67
|
+
private clearPreviousSelectedOption;
|
|
68
|
+
private canOpen;
|
|
69
|
+
private getWindow;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutosuggestDirective, never>;
|
|
71
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutosuggestDirective, "input[ndwAutosuggest], textarea[ndwAutosuggest]", ["ndwAutosuggestTrigger"], { "ndwAutosuggest": { "alias": "ndwAutosuggest"; "required": true; "isSignal": true; }; }, { "filter": "filter"; }, never, never, true, never>;
|
|
72
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './autosuggest
|
|
2
|
-
export * from './autosuggest-
|
|
3
|
-
export * from './autosuggest-
|
|
4
|
-
export * from './autosuggest.component';
|
|
5
|
-
export * from './autosuggest.
|
|
1
|
+
export * from './autosuggest.directive';
|
|
2
|
+
export * from './autosuggest-option/autosuggest-option.model';
|
|
3
|
+
export * from './autosuggest-option/autosuggest-option.component';
|
|
4
|
+
export * from './autosuggest-panel/autosuggest-panel.component';
|
|
5
|
+
export * from './autosuggest-add-option/autosuggest-add-option.component';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MatchBoldPipe implements PipeTransform {
|
|
4
|
+
transform(value: unknown, searchTerm: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatchBoldPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MatchBoldPipe, "matchBold", true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { InputDirective } from '../input/input.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ClearSearchButtonComponent implements OnInit, OnDestroy {
|
|
5
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
readonly input: import("@angular/core").InputSignal<InputDirective | undefined>;
|
|
7
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
8
|
+
protected readonly inputValue: import("@angular/core").WritableSignal<string>;
|
|
9
|
+
private readonly onInput;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
protected clear(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClearSearchButtonComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClearSearchButtonComponent, "ndw-clear-search-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "input": { "alias": "input"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
import { InputDirective } from './input';
|
|
1
|
+
import { InputDirective, InputType } from './input';
|
|
2
2
|
import { MonthInputComponent } from './month-input';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FormFieldComponent {
|
|
5
|
-
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
5
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly suffixAriaLabel: import("@angular/core").InputSignal<string>;
|
|
7
|
+
readonly hideLabel: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
readonly error: import("@angular/core").InputSignal<string | undefined>;
|
|
10
|
+
readonly success: import("@angular/core").InputSignal<string | undefined>;
|
|
11
|
+
readonly info: import("@angular/core").InputSignal<string | undefined>;
|
|
12
|
+
readonly tooltip: import("@angular/core").InputSignal<string>;
|
|
13
|
+
protected readonly monthInput: import("@angular/core").Signal<MonthInputComponent | undefined>;
|
|
14
|
+
protected readonly regularInput: import("@angular/core").Signal<InputDirective | undefined>;
|
|
15
|
+
protected readonly input: import("@angular/core").Signal<InputDirective | undefined>;
|
|
16
|
+
protected readonly inputType: import("@angular/core").Signal<InputType | undefined>;
|
|
17
|
+
protected readonly isSearchInput: import("@angular/core").Signal<boolean>;
|
|
18
|
+
protected readonly hasPickerButton: import("@angular/core").Signal<boolean>;
|
|
19
|
+
protected readonly uuid: `${string}-${string}-${string}-${string}-${string}`;
|
|
20
|
+
protected readonly descriptionUuid: `${string}-${string}-${string}-${string}-${string}`;
|
|
21
|
+
protected readonly inputContainerClass = "input-container";
|
|
22
22
|
constructor();
|
|
23
|
-
clearInput(): void;
|
|
24
|
-
protected onSuffixButtonClick(): void;
|
|
25
|
-
private addInputTypeBasedClass;
|
|
26
23
|
private setInputDisabledState;
|
|
27
24
|
private setInputErrorState;
|
|
28
25
|
private setInputSuccessState;
|
|
29
26
|
private setInputId;
|
|
30
27
|
private setAriaDescribedBy;
|
|
31
|
-
private setInputPrefix;
|
|
32
|
-
private setInputSuffix;
|
|
33
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "ndw-form-field", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "
|
|
29
|
+
static ɵcmp: i0.ɵɵ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; }; }, {}, ["monthInput", "regularInput"], ["*"], true, never>;
|
|
35
30
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const INPUT_CONTAINER_CLASS = "input-container";
|
|
@@ -7,6 +7,8 @@ export * from './form-field.component';
|
|
|
7
7
|
export * from './form-field.model';
|
|
8
8
|
export * from './info';
|
|
9
9
|
export * from './input';
|
|
10
|
+
export * from './input-button';
|
|
11
|
+
export * from './input-icon';
|
|
10
12
|
export * from './month-input';
|
|
11
13
|
export * from './option-group';
|
|
12
14
|
export * from './radio-button';
|
|
@@ -13,7 +13,6 @@ export declare class InputDirective implements OnInit {
|
|
|
13
13
|
get element(): HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
|
|
14
14
|
get control(): AbstractControl | null;
|
|
15
15
|
ngOnInit(): void;
|
|
16
|
-
private setChangedAttribute;
|
|
17
16
|
private setSelectPlaceholderAttribute;
|
|
18
17
|
private updateRequiredAttribute;
|
|
19
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputDirective, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './input-button.component';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InputDirective } from '../input/input.directive';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class InputButtonComponent {
|
|
4
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
readonly input: import("@angular/core").InputSignal<InputDirective | undefined>;
|
|
6
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
7
|
+
readonly alternative: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
readonly buttonClicked: import("@angular/core").OutputEmitterRef<void>;
|
|
9
|
+
protected onClick(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputButtonComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵ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>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './input-icon.component';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class InputIconComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputIconComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputIconComponent, "ndw-input-icon", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { InputType } from '../input';
|
|
2
|
+
import { InputDirective } from '../input/input.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PickerButtonComponent {
|
|
5
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
readonly input: import("@angular/core").InputSignal<InputDirective | undefined>;
|
|
7
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
8
|
+
readonly required: import("@angular/core").InputSignal<InputType | undefined>;
|
|
9
|
+
private readonly platform;
|
|
10
|
+
protected readonly icon: import("@angular/core").Signal<string | undefined>;
|
|
11
|
+
protected onClick(): void;
|
|
12
|
+
private getIcon;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PickerButtonComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PickerButtonComponent, "ndw-picker-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "input": { "alias": "input"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -5,6 +5,7 @@ export declare class IconComponent implements OnInit {
|
|
|
5
5
|
size: import("@angular/core").InputSignal<IconSize>;
|
|
6
6
|
private readonly elementRef;
|
|
7
7
|
private readonly renderer;
|
|
8
|
+
private readonly document;
|
|
8
9
|
get hostClass(): string;
|
|
9
10
|
ngOnInit(): void;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
package/components/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export * from './breadcrumb-group';
|
|
|
7
7
|
export * from './button';
|
|
8
8
|
export * from './card';
|
|
9
9
|
export * from './collapsible';
|
|
10
|
+
export * from './dashboard-card';
|
|
10
11
|
export * from './dropdown';
|
|
11
12
|
export * from './form-field';
|
|
12
13
|
export * from './icon';
|
|
@@ -21,6 +22,7 @@ export * from './popover';
|
|
|
21
22
|
export * from './router-breadcrumbs';
|
|
22
23
|
export * from './tab';
|
|
23
24
|
export * from './tab-group';
|
|
24
|
-
export * from './tooltip';
|
|
25
|
-
export * from './toast';
|
|
26
25
|
export * from './tag';
|
|
26
|
+
export * from './toast';
|
|
27
|
+
export * from './tooltip';
|
|
28
|
+
export * from './summary-card';
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { MenuItem } from '../main-navigation';
|
|
1
|
+
import { MenuItem, NdwBrand } from '../main-navigation';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class LayoutComponent {
|
|
4
4
|
applicationName: import("@angular/core").InputSignal<string>;
|
|
5
5
|
topMenuItems: import("@angular/core").InputSignal<MenuItem[]>;
|
|
6
6
|
bottomMenuItems: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
7
|
+
brand: import("@angular/core").InputSignal<NdwBrand>;
|
|
8
|
+
isCollapsible: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
isExpanded: import("@angular/core").InputSignal<boolean>;
|
|
7
10
|
menuFooterTexts: import("@angular/core").InputSignal<string[] | undefined>;
|
|
8
11
|
version: import("@angular/core").InputSignal<string | undefined>;
|
|
9
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵ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; }; "menuFooterTexts": { "alias": "menuFooterTexts"; "required": false; "isSignal": true; }; "version": { "alias": "version"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵ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; }; "brand": { "alias": "brand"; "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>;
|
|
11
14
|
}
|
|
@@ -5,6 +5,7 @@ import { MainNavigationMenuComponent } from '../main-navigation-menu';
|
|
|
5
5
|
import { MenuItem, NdwBrand, SimpleMenuItem } from './main-navigation.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class MainNavigationComponent implements AfterViewInit, OnDestroy {
|
|
8
|
+
#private;
|
|
8
9
|
applicationName: import("@angular/core").InputSignal<string>;
|
|
9
10
|
topMenuItems: import("@angular/core").InputSignal<MenuItem[]>;
|
|
10
11
|
bottomMenuItems: import("@angular/core").InputSignal<MenuItem[] | undefined>;
|
|
@@ -20,20 +21,24 @@ export declare class MainNavigationComponent implements AfterViewInit, OnDestroy
|
|
|
20
21
|
childMenuTemplate: import("@angular/core").Signal<TemplateRef<MainNavigationMenuComponent>>;
|
|
21
22
|
isMobile: import("@angular/core").WritableSignal<boolean>;
|
|
22
23
|
brandImagePath: import("@angular/core").Signal<string>;
|
|
24
|
+
activeId?: number;
|
|
25
|
+
private selectedId?;
|
|
23
26
|
protected mobilePortal?: TemplatePortal<MainNavigationMenuComponent>;
|
|
24
|
-
private activeId?;
|
|
25
27
|
onMouseMove(event: MouseEvent): void;
|
|
26
28
|
onWindowResize(): void;
|
|
27
29
|
activeChildItems: SimpleMenuItem[];
|
|
28
30
|
overlayPositions: ConnectedPosition[];
|
|
29
31
|
private overlay;
|
|
30
32
|
private viewContainerRef;
|
|
33
|
+
private document;
|
|
34
|
+
private platform;
|
|
31
35
|
private activeButton?;
|
|
32
36
|
private overlayRef?;
|
|
37
|
+
constructor();
|
|
33
38
|
ngAfterViewInit(): void;
|
|
34
39
|
ngOnDestroy(): void;
|
|
35
|
-
close(toggleMobileView?: boolean): void;
|
|
36
|
-
handleClick(
|
|
40
|
+
close(activeItem?: SimpleMenuItem, toggleMobileView?: boolean): void;
|
|
41
|
+
handleClick(activeItem: MenuItem): void;
|
|
37
42
|
handleLogoClick(): void;
|
|
38
43
|
open(item: MenuItem): void;
|
|
39
44
|
toggleChildMenu(item: MenuItem, event?: KeyboardEvent): void;
|
|
@@ -3,8 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class MainNavigationMenuComponent {
|
|
4
4
|
menuItems: import("@angular/core").InputSignal<SimpleMenuItem[]>;
|
|
5
5
|
isMobile: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
close: import("@angular/core").OutputEmitterRef<
|
|
7
|
-
handleSelected(
|
|
6
|
+
close: import("@angular/core").OutputEmitterRef<SimpleMenuItem>;
|
|
7
|
+
handleSelected(activeItem: SimpleMenuItem): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainNavigationMenuComponent, never>;
|
|
9
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<MainNavigationMenuComponent, "ndw-main-navigation-menu", never, { "menuItems": { "alias": "menuItems"; "required": true; "isSignal": true; }; "isMobile": { "alias": "isMobile"; "required": false; "isSignal": true; }; }, { "close": "close"; }, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -2,7 +2,6 @@ import { ModalContentComponent } from './modal-content';
|
|
|
2
2
|
export * from './modal-content';
|
|
3
3
|
export * from './modal-footer';
|
|
4
4
|
export * from './modal-header';
|
|
5
|
-
export * from './modal-trigger.directive';
|
|
6
5
|
export * from './modal.component';
|
|
7
6
|
export * from './modal.service';
|
|
8
7
|
export declare const MODAL_COMPONENTS: (typeof ModalContentComponent)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ModalHeaderComponent {
|
|
3
|
-
private
|
|
3
|
+
#private;
|
|
4
4
|
detachModal(): void;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalHeaderComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModalHeaderComponent, "ndw-modal-header", never, {}, {}, never, ["*"], true, never>;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Dialog, DialogConfig } from '@angular/cdk/dialog';
|
|
2
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
3
|
+
import { TemplateRef } from '@angular/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { ModalRef } from './modal-ref';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ModalService {
|
|
5
|
-
private
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
dispose(): void;
|
|
13
|
-
open(templateRef: TemplateRef<unknown>, viewContainerRef: ViewContainerRef): void;
|
|
7
|
+
export declare class ModalService extends Dialog {
|
|
8
|
+
#private;
|
|
9
|
+
backdropClick$?: Observable<MouseEvent>;
|
|
10
|
+
closed$?: Observable<unknown | undefined>;
|
|
11
|
+
close(): void;
|
|
12
|
+
open(componentOrTemplateRef: ComponentType<unknown> | TemplateRef<unknown>, config?: DialogConfig<unknown, ModalRef<unknown, unknown>>): ModalRef<unknown, unknown>;
|
|
13
|
+
getModalRef(): ModalRef<unknown, unknown>;
|
|
14
|
+
setModalRef(modalRef: ModalRef<unknown, unknown>): void;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
15
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
16
17
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './summary-card.model';
|
|
2
|
+
export * from './summary-card.component';
|
|
3
|
+
export * from './summary-card-actions/summary-card-actions.component';
|
|
4
|
+
export * from './summary-card-action/summary-card-action.component';
|
|
5
|
+
export * from './summary-card-avatar/summary-card-avatar.component';
|
|
6
|
+
export * from './summary-card-content/summary-card-content.component';
|
|
7
|
+
export * from './summary-card-header/summary-card-header.component';
|
|
8
|
+
export * from './summary-card-tags/summary-card-tags.component';
|
|
9
|
+
export * from './summary-card-tag/summary-card-tag.component';
|
|
10
|
+
export * from './summary-card-subtitle/summary-card-subtitle.component';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SummaryCardActionComponent {
|
|
4
|
+
readonly iconName: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly disabled: import("@angular/core").InputSignal<boolean | undefined>;
|
|
7
|
+
readonly action: import("@angular/core").OutputEmitterRef<void>;
|
|
8
|
+
readonly template: import("@angular/core").Signal<TemplateRef<Element>>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SummaryCardActionComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵ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>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SummaryActionsView } from '../summary-card.model';
|
|
2
|
+
import { SummaryCardActionComponent } from '../summary-card-action/summary-card-action.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SummaryCardActionsComponent {
|
|
5
|
+
readonly view: import("@angular/core").InputSignal<SummaryActionsView>;
|
|
6
|
+
readonly actions: import("@angular/core").Signal<readonly SummaryCardActionComponent[]>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SummaryCardActionsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SummaryCardActionsComponent, "ndw-summary-card-actions", never, { "view": { "alias": "view"; "required": false; "isSignal": true; }; }, {}, ["actions"], never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SummaryVariant } from '../summary-card.model';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SummaryCardAvatarComponent {
|
|
4
|
+
readonly variant: import("@angular/core").InputSignal<SummaryVariant>;
|
|
5
|
+
protected readonly variantClass: import("@angular/core").Signal<string>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SummaryCardAvatarComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SummaryCardAvatarComponent, "ndw-summary-card-avatar", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SummaryCardContentComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SummaryCardContentComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SummaryCardContentComponent, "ndw-summary-card-content", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|