@ndwnu/design-system 4.0.0 → 5.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.
Files changed (130) hide show
  1. package/assets/images/dashboard-card-icons/contact.png +0 -0
  2. package/assets/images/dashboard-card-icons/faq.png +0 -0
  3. package/assets/images/dashboard-card-icons/manual.png +0 -0
  4. package/components/card/index.d.ts +2 -2
  5. package/components/dashboard-card/dashboard-card.component.d.ts +22 -0
  6. package/components/dashboard-card/index.d.ts +1 -0
  7. package/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.d.ts +8 -0
  8. package/components/form-field/autosuggest/autosuggest-add-option/index.d.ts +1 -0
  9. package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.d.ts +19 -0
  10. package/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.d.ts +2 -0
  11. package/components/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.d.ts +27 -0
  12. package/components/form-field/autosuggest/autosuggest-option/index.d.ts +2 -0
  13. package/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.d.ts +39 -0
  14. package/components/form-field/autosuggest/autosuggest.directive.d.ts +72 -0
  15. package/components/form-field/autosuggest/index.d.ts +5 -5
  16. package/components/form-field/autosuggest/match-bold.pipe.d.ts +7 -0
  17. package/components/form-field/clear-search-button/clear-search-button.component.d.ts +15 -0
  18. package/components/form-field/form-field.component.d.ts +19 -24
  19. package/components/form-field/form-field.constant.d.ts +1 -0
  20. package/components/form-field/index.d.ts +2 -0
  21. package/components/form-field/input/input.directive.d.ts +0 -1
  22. package/components/form-field/input-button/index.d.ts +1 -0
  23. package/components/form-field/input-button/input-button.component.d.ts +12 -0
  24. package/components/form-field/input-icon/index.d.ts +1 -0
  25. package/components/form-field/input-icon/input-icon.component.d.ts +5 -0
  26. package/components/form-field/picker-button/picker-button.component.d.ts +14 -0
  27. package/components/icon/icon.component.d.ts +1 -0
  28. package/components/index.d.ts +3 -2
  29. package/components/main-navigation/main-navigation.component.d.ts +8 -3
  30. package/components/main-navigation/main-navigation.imports.d.ts +1 -1
  31. package/components/main-navigation/main-navigation.model.d.ts +1 -0
  32. package/components/main-navigation-menu/main-navigation-menu.component.d.ts +2 -2
  33. package/components/modal/index.d.ts +0 -1
  34. package/components/modal/modal-header/modal-header.component.d.ts +1 -1
  35. package/components/modal/modal-ref.d.ts +3 -0
  36. package/components/modal/modal.service.d.ts +13 -12
  37. package/core/{styles/ndw-styles.scss → style/styles.css} +488 -224
  38. package/core/{styles/nwb-styles.scss → style/styles.scss} +519 -223
  39. package/esm2022/components/accordion/accordion.component.mjs +3 -3
  40. package/esm2022/components/accordion/accordion.service.mjs +3 -3
  41. package/esm2022/components/alert/alert.component.mjs +5 -5
  42. package/esm2022/components/badge/badge.component.mjs +4 -4
  43. package/esm2022/components/banner/banner.component.mjs +5 -5
  44. package/esm2022/components/breadcrumb/breadcrumb.component.mjs +3 -3
  45. package/esm2022/components/breadcrumb-group/breadcrumb-group.component.mjs +5 -5
  46. package/esm2022/components/button/button.directive.mjs +3 -3
  47. package/esm2022/components/card/card-content/card-content.component.mjs +3 -3
  48. package/esm2022/components/card/card-footer/card-footer.component.mjs +3 -3
  49. package/esm2022/components/card/card-header/card-header.component.mjs +3 -3
  50. package/esm2022/components/card/card.component.mjs +3 -3
  51. package/esm2022/components/collapsible/collapsible.component.mjs +3 -3
  52. package/esm2022/components/dashboard-card/dashboard-card.component.mjs +32 -0
  53. package/esm2022/components/dashboard-card/index.mjs +2 -0
  54. package/esm2022/components/dropdown/dropdown.component.mjs +3 -3
  55. package/esm2022/components/form-field/autosuggest/autosuggest-add-option/autosuggest-add-option.component.mjs +29 -0
  56. package/esm2022/components/form-field/autosuggest/autosuggest-add-option/index.mjs +2 -0
  57. package/esm2022/components/form-field/autosuggest/autosuggest-option/autosuggest-option.component.mjs +45 -0
  58. package/esm2022/components/form-field/autosuggest/autosuggest-option/autosuggest-option.model.mjs +2 -0
  59. package/esm2022/components/form-field/autosuggest/autosuggest-option/base-autosuggest-option.component.mjs +85 -0
  60. package/esm2022/components/form-field/autosuggest/autosuggest-option/index.mjs +3 -0
  61. package/esm2022/components/form-field/autosuggest/autosuggest-panel/autosuggest-panel.component.mjs +82 -0
  62. package/esm2022/components/form-field/autosuggest/autosuggest.directive.mjs +411 -0
  63. package/esm2022/components/form-field/autosuggest/index.mjs +6 -6
  64. package/esm2022/components/form-field/autosuggest/match-bold.pipe.mjs +21 -0
  65. package/esm2022/components/form-field/checkbox/checkbox.component.mjs +6 -6
  66. package/esm2022/components/form-field/checkbox-group/checkbox-group.component.mjs +3 -3
  67. package/esm2022/components/form-field/clear-search-button/clear-search-button.component.mjs +37 -0
  68. package/esm2022/components/form-field/error/error.component.mjs +3 -3
  69. package/esm2022/components/form-field/file-upload/file-upload.component.mjs +3 -3
  70. package/esm2022/components/form-field/form-field.component.mjs +24 -82
  71. package/esm2022/components/form-field/form-field.constant.mjs +2 -0
  72. package/esm2022/components/form-field/index.mjs +3 -1
  73. package/esm2022/components/form-field/info/info.component.mjs +3 -3
  74. package/esm2022/components/form-field/input/input.directive.mjs +5 -11
  75. package/esm2022/components/form-field/input-button/index.mjs +2 -0
  76. package/esm2022/components/form-field/input-button/input-button.component.mjs +23 -0
  77. package/esm2022/components/form-field/input-icon/index.mjs +2 -0
  78. package/esm2022/components/form-field/input-icon/input-icon.component.mjs +12 -0
  79. package/esm2022/components/form-field/month-input/month-input.component.mjs +5 -5
  80. package/esm2022/components/form-field/option-group/option-group.component.mjs +3 -3
  81. package/esm2022/components/form-field/option-group/option.component.mjs +3 -3
  82. package/esm2022/components/form-field/picker-button/picker-button.component.mjs +45 -0
  83. package/esm2022/components/form-field/radio-button/radio-button.component.mjs +6 -6
  84. package/esm2022/components/form-field/radio-group/radio-group.component.mjs +3 -3
  85. package/esm2022/components/form-field/success/success.component.mjs +3 -3
  86. package/esm2022/components/form-field/textarea/auto-grow.directive.mjs +3 -3
  87. package/esm2022/components/icon/action-icon/action-icon.component.mjs +3 -3
  88. package/esm2022/components/icon/icon.component.mjs +12 -7
  89. package/esm2022/components/index.mjs +4 -3
  90. package/esm2022/components/layout/layout.component.mjs +5 -5
  91. package/esm2022/components/layout-banners/layout-banners.component.mjs +3 -3
  92. package/esm2022/components/loader/loader.component.mjs +3 -3
  93. package/esm2022/components/main-navigation/main-navigation.component.mjs +46 -24
  94. package/esm2022/components/main-navigation/main-navigation.model.mjs +1 -1
  95. package/esm2022/components/main-navigation-menu/main-navigation-menu.component.mjs +8 -8
  96. package/esm2022/components/modal/index.mjs +1 -4
  97. package/esm2022/components/modal/modal-content/modal-content.component.mjs +3 -3
  98. package/esm2022/components/modal/modal-footer/modal-footer.component.mjs +3 -3
  99. package/esm2022/components/modal/modal-header/modal-header.component.mjs +7 -9
  100. package/esm2022/components/modal/modal-ref.mjs +4 -0
  101. package/esm2022/components/modal/modal.component.mjs +5 -6
  102. package/esm2022/components/modal/modal.service.mjs +20 -51
  103. package/esm2022/components/multi-select/multi-select.component.mjs +4 -4
  104. package/esm2022/components/pill/pill.component.mjs +3 -3
  105. package/esm2022/components/popover/popover-trigger.directive.mjs +3 -3
  106. package/esm2022/components/router-breadcrumbs/router-breadcrumbs.component.mjs +3 -3
  107. package/esm2022/components/tab/tab.component.mjs +3 -3
  108. package/esm2022/components/tab-group/tab-group.component.mjs +3 -3
  109. package/esm2022/components/tag/tag.component.mjs +3 -3
  110. package/esm2022/components/toast/toast.component.mjs +3 -3
  111. package/esm2022/components/toast/toast.service.mjs +3 -3
  112. package/esm2022/components/tooltip/tooltip.component.mjs +4 -4
  113. package/esm2022/components/tooltip/tooltip.directive.mjs +3 -3
  114. package/fesm2022/ndwnu-design-system.mjs +948 -580
  115. package/fesm2022/ndwnu-design-system.mjs.map +1 -1
  116. package/package.json +1 -1
  117. package/components/form-field/autosuggest/autosuggest-highlight.pipe.d.ts +0 -7
  118. package/components/form-field/autosuggest/autosuggest-item/autosuggest-item.component.d.ts +0 -15
  119. package/components/form-field/autosuggest/autosuggest-trigger.directive.d.ts +0 -35
  120. package/components/form-field/autosuggest/autosuggest.component.d.ts +0 -30
  121. package/components/form-field/autosuggest/autosuggest.model.d.ts +0 -1
  122. package/components/form-field/autosuggest/autosuggest.utils.d.ts +0 -2
  123. package/components/modal/modal-trigger.directive.d.ts +0 -17
  124. package/esm2022/components/form-field/autosuggest/autosuggest-highlight.pipe.mjs +0 -21
  125. package/esm2022/components/form-field/autosuggest/autosuggest-item/autosuggest-item.component.mjs +0 -34
  126. package/esm2022/components/form-field/autosuggest/autosuggest-trigger.directive.mjs +0 -160
  127. package/esm2022/components/form-field/autosuggest/autosuggest.component.mjs +0 -82
  128. package/esm2022/components/form-field/autosuggest/autosuggest.model.mjs +0 -2
  129. package/esm2022/components/form-field/autosuggest/autosuggest.utils.mjs +0 -13
  130. package/esm2022/components/modal/modal-trigger.directive.mjs +0 -51
@@ -1,6 +1,6 @@
1
- import { CardContentComponent } from './card-content';
1
+ import { CardComponent } from './card.component';
2
2
  export * from './card-content';
3
3
  export * from './card-footer';
4
4
  export * from './card-header';
5
5
  export * from './card.component';
6
- export declare const CARD_COMPONENTS: (typeof CardContentComponent)[];
6
+ export declare const CARD_COMPONENTS: (typeof CardComponent)[];
@@ -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';
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ export type AutosuggestOption = string | Record<string, unknown>;
2
+ export type AutosuggestOptions = Array<AutosuggestOption>;
@@ -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,2 @@
1
+ export * from './autosuggest-option.component';
2
+ export * from './base-autosuggest-option.component';
@@ -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-highlight.pipe';
2
- export * from './autosuggest-item/autosuggest-item.component';
3
- export * from './autosuggest-trigger.directive';
4
- export * from './autosuggest.component';
5
- export * from './autosuggest.model';
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
- private readonly cdr;
6
- readonly monthInput: import("@angular/core").Signal<MonthInputComponent | undefined>;
7
- readonly regularInput: import("@angular/core").Signal<InputDirective | undefined>;
8
- input: import("@angular/core").Signal<InputDirective | undefined>;
9
- label: import("@angular/core").InputSignal<string>;
10
- clearSearchAriaLabel: import("@angular/core").InputSignal<string | undefined>;
11
- suffixButtonAriaLabel: import("@angular/core").InputSignal<string | undefined>;
12
- hideLabel: import("@angular/core").InputSignal<boolean>;
13
- disabled: import("@angular/core").InputSignal<boolean>;
14
- error: import("@angular/core").InputSignal<string | undefined>;
15
- success: import("@angular/core").InputSignal<string | undefined>;
16
- info: import("@angular/core").InputSignal<string | undefined>;
17
- tooltip: import("@angular/core").InputSignal<string>;
18
- inputPrefix: import("@angular/core").Signal<string | undefined>;
19
- inputSuffix: import("@angular/core").Signal<string | undefined>;
20
- uuid: `${string}-${string}-${string}-${string}-${string}`;
21
- descriptionUuid: `${string}-${string}-${string}-${string}-${string}`;
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; }; "clearSearchAriaLabel": { "alias": "clearSearchAriaLabel"; "required": false; "isSignal": true; }; "suffixButtonAriaLabel": { "alias": "suffixButtonAriaLabel"; "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>;
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,14 @@
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
+ protected readonly icon: import("@angular/core").Signal<string | undefined>;
10
+ protected onClick(): void;
11
+ private getIcon;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<PickerButtonComponent, never>;
13
+ 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>;
14
+ }
@@ -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>;
@@ -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,6 @@ 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';
@@ -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(item: MenuItem): void;
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;
@@ -6,4 +6,4 @@ import { BadgeComponent } from '../badge';
6
6
  import { IconComponent } from '../icon';
7
7
  import { MainNavigationMenuComponent } from '../main-navigation-menu';
8
8
  import { TooltipDirective } from '../tooltip';
9
- export declare const MAIN_NAVIGATION_IMPORTS: (typeof BadgeComponent | typeof IconComponent | typeof NgTemplateOutlet | typeof RouterLink | typeof NgClass | typeof TooltipDirective | typeof MainNavigationMenuComponent | typeof CdkPortalOutlet | typeof OverlayModule)[];
9
+ export declare const MAIN_NAVIGATION_IMPORTS: (typeof IconComponent | typeof NgTemplateOutlet | typeof TooltipDirective | typeof MainNavigationMenuComponent | typeof BadgeComponent | typeof CdkPortalOutlet | typeof NgClass | typeof OverlayModule | typeof RouterLink)[];
@@ -1,4 +1,5 @@
1
1
  export interface SimpleMenuItem {
2
+ active?: boolean;
2
3
  id: number;
3
4
  label: string;
4
5
  callback?: (id: number) => 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<void>;
7
- handleSelected(item: SimpleMenuItem): void;
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 readonly modalService;
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>;
@@ -0,0 +1,3 @@
1
+ import { DialogRef } from '@angular/cdk/dialog';
2
+ export declare class ModalRef<R, C = unknown> extends DialogRef<R, C> {
3
+ }
@@ -1,16 +1,17 @@
1
- import { TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { Subject } from 'rxjs';
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 readonly destroyRef;
6
- private readonly overlay;
7
- isOpen$: Subject<boolean>;
8
- private isOpen;
9
- private overlayRef?;
10
- private context?;
11
- detach(): void;
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
  }