@fundamental-ngx/core 0.59.1-rc.8 → 0.59.1

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 (131) hide show
  1. package/fesm2022/fundamental-ngx-core-avatar-group-legacy.mjs +33 -50
  2. package/fesm2022/fundamental-ngx-core-avatar-group-legacy.mjs.map +1 -1
  3. package/fesm2022/fundamental-ngx-core-avatar-group.mjs +9 -11
  4. package/fesm2022/fundamental-ngx-core-avatar-group.mjs.map +1 -1
  5. package/fesm2022/fundamental-ngx-core-avatar.mjs +206 -293
  6. package/fesm2022/fundamental-ngx-core-avatar.mjs.map +1 -1
  7. package/fesm2022/fundamental-ngx-core-breadcrumb.mjs +25 -12
  8. package/fesm2022/fundamental-ngx-core-breadcrumb.mjs.map +1 -1
  9. package/fesm2022/fundamental-ngx-core-calendar.mjs +11 -14
  10. package/fesm2022/fundamental-ngx-core-calendar.mjs.map +1 -1
  11. package/fesm2022/fundamental-ngx-core-card.mjs +13 -26
  12. package/fesm2022/fundamental-ngx-core-card.mjs.map +1 -1
  13. package/fesm2022/fundamental-ngx-core-carousel.mjs +11 -11
  14. package/fesm2022/fundamental-ngx-core-carousel.mjs.map +1 -1
  15. package/fesm2022/fundamental-ngx-core-combobox.mjs +33 -7
  16. package/fesm2022/fundamental-ngx-core-combobox.mjs.map +1 -1
  17. package/fesm2022/fundamental-ngx-core-dialog.mjs +13 -17
  18. package/fesm2022/fundamental-ngx-core-dialog.mjs.map +1 -1
  19. package/fesm2022/fundamental-ngx-core-dynamic-page.mjs +32 -24
  20. package/fesm2022/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
  21. package/fesm2022/fundamental-ngx-core-fixed-card-layout.mjs +28 -30
  22. package/fesm2022/fundamental-ngx-core-fixed-card-layout.mjs.map +1 -1
  23. package/fesm2022/fundamental-ngx-core-grid-list.mjs +12 -10
  24. package/fesm2022/fundamental-ngx-core-grid-list.mjs.map +1 -1
  25. package/fesm2022/fundamental-ngx-core-illustrated-message.mjs +202 -100
  26. package/fesm2022/fundamental-ngx-core-illustrated-message.mjs.map +1 -1
  27. package/fesm2022/fundamental-ngx-core-layout-panel.mjs +72 -231
  28. package/fesm2022/fundamental-ngx-core-layout-panel.mjs.map +1 -1
  29. package/fesm2022/fundamental-ngx-core-list.mjs +12 -12
  30. package/fesm2022/fundamental-ngx-core-list.mjs.map +1 -1
  31. package/fesm2022/fundamental-ngx-core-menu.mjs +28 -28
  32. package/fesm2022/fundamental-ngx-core-menu.mjs.map +1 -1
  33. package/fesm2022/fundamental-ngx-core-message-strip.mjs +85 -84
  34. package/fesm2022/fundamental-ngx-core-message-strip.mjs.map +1 -1
  35. package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs +21 -24
  36. package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs.map +1 -1
  37. package/fesm2022/fundamental-ngx-core-multi-combobox.mjs +19 -12
  38. package/fesm2022/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
  39. package/fesm2022/fundamental-ngx-core-multi-input.mjs +46 -39
  40. package/fesm2022/fundamental-ngx-core-multi-input.mjs.map +1 -1
  41. package/fesm2022/fundamental-ngx-core-nested-list.mjs +66 -103
  42. package/fesm2022/fundamental-ngx-core-nested-list.mjs.map +1 -1
  43. package/fesm2022/fundamental-ngx-core-notification.mjs +63 -27
  44. package/fesm2022/fundamental-ngx-core-notification.mjs.map +1 -1
  45. package/fesm2022/fundamental-ngx-core-object-marker.mjs +69 -59
  46. package/fesm2022/fundamental-ngx-core-object-marker.mjs.map +1 -1
  47. package/fesm2022/fundamental-ngx-core-object-status.mjs +92 -118
  48. package/fesm2022/fundamental-ngx-core-object-status.mjs.map +1 -1
  49. package/fesm2022/fundamental-ngx-core-overflow-layout.mjs +27 -29
  50. package/fesm2022/fundamental-ngx-core-overflow-layout.mjs.map +1 -1
  51. package/fesm2022/fundamental-ngx-core-pagination.mjs +17 -18
  52. package/fesm2022/fundamental-ngx-core-pagination.mjs.map +1 -1
  53. package/fesm2022/fundamental-ngx-core-panel.mjs +7 -9
  54. package/fesm2022/fundamental-ngx-core-panel.mjs.map +1 -1
  55. package/fesm2022/fundamental-ngx-core-popover.mjs +10 -15
  56. package/fesm2022/fundamental-ngx-core-popover.mjs.map +1 -1
  57. package/fesm2022/fundamental-ngx-core-product-switch.mjs +12 -15
  58. package/fesm2022/fundamental-ngx-core-product-switch.mjs.map +1 -1
  59. package/fesm2022/fundamental-ngx-core-resizable-card-layout.mjs +18 -20
  60. package/fesm2022/fundamental-ngx-core-resizable-card-layout.mjs.map +1 -1
  61. package/fesm2022/fundamental-ngx-core-segmented-button.mjs +8 -11
  62. package/fesm2022/fundamental-ngx-core-segmented-button.mjs.map +1 -1
  63. package/fesm2022/fundamental-ngx-core-select.mjs +6 -8
  64. package/fesm2022/fundamental-ngx-core-select.mjs.map +1 -1
  65. package/fesm2022/fundamental-ngx-core-settings.mjs +9 -12
  66. package/fesm2022/fundamental-ngx-core-settings.mjs.map +1 -1
  67. package/fesm2022/fundamental-ngx-core-shellbar.mjs +48 -34
  68. package/fesm2022/fundamental-ngx-core-shellbar.mjs.map +1 -1
  69. package/fesm2022/fundamental-ngx-core-slider.mjs +30 -31
  70. package/fesm2022/fundamental-ngx-core-slider.mjs.map +1 -1
  71. package/fesm2022/fundamental-ngx-core-status-indicator.mjs +137 -131
  72. package/fesm2022/fundamental-ngx-core-status-indicator.mjs.map +1 -1
  73. package/fesm2022/fundamental-ngx-core-tabs.mjs +21 -17
  74. package/fesm2022/fundamental-ngx-core-tabs.mjs.map +1 -1
  75. package/fesm2022/fundamental-ngx-core-tile.mjs +375 -631
  76. package/fesm2022/fundamental-ngx-core-tile.mjs.map +1 -1
  77. package/fesm2022/fundamental-ngx-core-time.mjs +7 -9
  78. package/fesm2022/fundamental-ngx-core-time.mjs.map +1 -1
  79. package/fesm2022/fundamental-ngx-core-token.mjs +11 -13
  80. package/fesm2022/fundamental-ngx-core-token.mjs.map +1 -1
  81. package/fesm2022/fundamental-ngx-core-toolbar.mjs +2 -2
  82. package/fesm2022/fundamental-ngx-core-toolbar.mjs.map +1 -1
  83. package/fesm2022/fundamental-ngx-core-tree.mjs +2 -2
  84. package/fesm2022/fundamental-ngx-core-tree.mjs.map +1 -1
  85. package/fesm2022/fundamental-ngx-core-user-menu.mjs +63 -21
  86. package/fesm2022/fundamental-ngx-core-user-menu.mjs.map +1 -1
  87. package/fesm2022/fundamental-ngx-core-wizard.mjs +1 -1
  88. package/fesm2022/fundamental-ngx-core-wizard.mjs.map +1 -1
  89. package/package.json +4 -4
  90. package/types/fundamental-ngx-core-avatar-group-legacy.d.ts +15 -17
  91. package/types/fundamental-ngx-core-avatar-group.d.ts +1 -1
  92. package/types/fundamental-ngx-core-avatar.d.ts +66 -86
  93. package/types/fundamental-ngx-core-breadcrumb.d.ts +13 -5
  94. package/types/fundamental-ngx-core-calendar.d.ts +3 -4
  95. package/types/fundamental-ngx-core-card.d.ts +4 -11
  96. package/types/fundamental-ngx-core-carousel.d.ts +3 -3
  97. package/types/fundamental-ngx-core-combobox.d.ts +8 -1
  98. package/types/fundamental-ngx-core-dialog.d.ts +2 -4
  99. package/types/fundamental-ngx-core-dynamic-page.d.ts +0 -6
  100. package/types/fundamental-ngx-core-fixed-card-layout.d.ts +7 -7
  101. package/types/fundamental-ngx-core-grid-list.d.ts +6 -4
  102. package/types/fundamental-ngx-core-illustrated-message.d.ts +165 -31
  103. package/types/fundamental-ngx-core-layout-panel.d.ts +19 -131
  104. package/types/fundamental-ngx-core-list.d.ts +8 -6
  105. package/types/fundamental-ngx-core-menu.d.ts +16 -13
  106. package/types/fundamental-ngx-core-message-strip.d.ts +5 -2
  107. package/types/fundamental-ngx-core-micro-process-flow.d.ts +8 -6
  108. package/types/fundamental-ngx-core-multi-combobox.d.ts +8 -5
  109. package/types/fundamental-ngx-core-multi-input.d.ts +24 -16
  110. package/types/fundamental-ngx-core-nested-list.d.ts +19 -33
  111. package/types/fundamental-ngx-core-notification.d.ts +42 -19
  112. package/types/fundamental-ngx-core-object-marker.d.ts +47 -27
  113. package/types/fundamental-ngx-core-object-status.d.ts +49 -48
  114. package/types/fundamental-ngx-core-overflow-layout.d.ts +10 -10
  115. package/types/fundamental-ngx-core-pagination.d.ts +7 -8
  116. package/types/fundamental-ngx-core-panel.d.ts +2 -4
  117. package/types/fundamental-ngx-core-popover.d.ts +7 -5
  118. package/types/fundamental-ngx-core-product-switch.d.ts +5 -4
  119. package/types/fundamental-ngx-core-resizable-card-layout.d.ts +10 -8
  120. package/types/fundamental-ngx-core-segmented-button.d.ts +5 -4
  121. package/types/fundamental-ngx-core-select.d.ts +4 -5
  122. package/types/fundamental-ngx-core-settings.d.ts +7 -10
  123. package/types/fundamental-ngx-core-shellbar.d.ts +23 -14
  124. package/types/fundamental-ngx-core-slider.d.ts +18 -13
  125. package/types/fundamental-ngx-core-status-indicator.d.ts +42 -58
  126. package/types/fundamental-ngx-core-tabs.d.ts +9 -7
  127. package/types/fundamental-ngx-core-tile.d.ts +114 -243
  128. package/types/fundamental-ngx-core-time.d.ts +5 -4
  129. package/types/fundamental-ngx-core-token.d.ts +5 -4
  130. package/types/fundamental-ngx-core-tree.d.ts +1 -1
  131. package/types/fundamental-ngx-core-user-menu.d.ts +25 -21
@@ -1,10 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { HostBinding, Input, Directive, Component, computed, HostListener, Optional, ViewEncapsulation, ChangeDetectionStrategy, EventEmitter, ContentChild, Output, inject, DestroyRef, Inject, Injectable, ViewChild, INJECTOR, ContentChildren, forwardRef, NgModule } from '@angular/core';
2
+ import { inject, ElementRef, Input, Directive, Component, signal, computed, ViewEncapsulation, ChangeDetectionStrategy, EventEmitter, HostListener, ContentChild, HostBinding, Output, DestroyRef, Inject, Injectable, ViewChild, INJECTOR, ContentChildren, forwardRef, Optional, NgModule } from '@angular/core';
3
3
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
4
  import * as i5 from 'rxjs';
5
5
  import { Subject, merge, Subscription, combineLatest, startWith } from 'rxjs';
6
- import * as i2 from '@fundamental-ngx/cdk/utils';
7
- import { destroyObservable, KeyUtil } from '@fundamental-ngx/cdk/utils';
6
+ import { RtlService, destroyObservable, KeyUtil } from '@fundamental-ngx/cdk/utils';
8
7
  import { IconComponent } from '@fundamental-ngx/core/icon';
9
8
  import { takeUntil, filter } from 'rxjs/operators';
10
9
  import { RIGHT_ARROW, LEFT_ARROW, ENTER, SPACE } from '@angular/cdk/keycodes';
@@ -33,46 +32,39 @@ class NestedItemService {
33
32
 
34
33
  let uniqueId = 0;
35
34
  class NestedListHeaderDirective {
36
- /** @hidden */
37
- constructor(_elementRef) {
38
- this._elementRef = _elementRef;
35
+ constructor() {
39
36
  /** Id of the element. */
40
37
  this.id = `fd-nested-list-group-header-${++uniqueId}`;
41
38
  /** @hidden */
42
- this.fdNestedListHeaderClass = true;
39
+ this._elementRef = inject(ElementRef);
43
40
  }
44
41
  /** Get the header title */
45
42
  get title() {
46
43
  return this._elementRef.nativeElement.textContent;
47
44
  }
48
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListHeaderDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
49
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: NestedListHeaderDirective, isStandalone: true, selector: "[fdNestedDirectivesHeader], [fd-nested-list-header]", inputs: { id: "id" }, host: { properties: { "attr.id": "this.id", "class.fd-nested-list__group-header": "this.fdNestedListHeaderClass" } }, ngImport: i0 }); }
45
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
46
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: NestedListHeaderDirective, isStandalone: true, selector: "[fdNestedDirectivesHeader], [fd-nested-list-header]", inputs: { id: "id" }, host: { properties: { "attr.id": "id" }, classAttribute: "fd-nested-list__group-header" }, ngImport: i0 }); }
50
47
  }
51
48
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListHeaderDirective, decorators: [{
52
49
  type: Directive,
53
50
  args: [{
54
51
  selector: '[fdNestedDirectivesHeader], [fd-nested-list-header]',
55
- standalone: true
52
+ host: {
53
+ class: 'fd-nested-list__group-header',
54
+ '[attr.id]': 'id'
55
+ }
56
56
  }]
57
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { id: [{
57
+ }], propDecorators: { id: [{
58
58
  type: Input
59
- }, {
60
- type: HostBinding,
61
- args: ['attr.id']
62
- }], fdNestedListHeaderClass: [{
63
- type: HostBinding,
64
- args: ['class.fd-nested-list__group-header']
65
59
  }] } });
66
60
  class NestedListIconComponent extends IconComponent {
67
61
  constructor() {
68
62
  super(...arguments);
69
63
  /** Role attribute */
70
64
  this.role = 'presentation';
71
- /** @hidden */
72
- this.fdNestedListIconClass = true;
73
65
  }
74
66
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListIconComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
75
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.0", type: NestedListIconComponent, isStandalone: true, selector: "[fdNestedDirectivesIcon], [fd-nested-list-icon]", inputs: { role: "role" }, host: { properties: { "attr.role": "this.role", "class.fd-nested-list__icon": "this.fdNestedListIconClass" } }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true }); }
67
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.0", type: NestedListIconComponent, isStandalone: true, selector: "[fdNestedDirectivesIcon], [fd-nested-list-icon]", inputs: { role: "role" }, host: { properties: { "attr.role": "role" }, classAttribute: "fd-nested-list__icon" }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true }); }
76
68
  }
77
69
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListIconComponent, decorators: [{
78
70
  type: Component,
@@ -80,65 +72,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
80
72
  // eslint-disable-next-line @angular-eslint/component-selector
81
73
  selector: '[fdNestedDirectivesIcon], [fd-nested-list-icon]',
82
74
  template: `<ng-content></ng-content>`,
83
- standalone: true
75
+ host: {
76
+ class: 'fd-nested-list__icon',
77
+ '[attr.role]': 'role'
78
+ }
84
79
  }]
85
80
  }], propDecorators: { role: [{
86
81
  type: Input
87
- }, {
88
- type: HostBinding,
89
- args: ['attr.role']
90
- }], fdNestedListIconClass: [{
91
- type: HostBinding,
92
- args: ['class.fd-nested-list__icon']
93
82
  }] } });
94
83
  class NestedListTitleDirective {
95
- /** @hidden */
96
- constructor(elementRef) {
97
- this.elementRef = elementRef;
84
+ constructor() {
98
85
  /** @hidden */
99
- this.fdNestedListTitleClass = true;
86
+ this._elementRef = inject(ElementRef);
100
87
  }
101
88
  /** Returns element's InnerText */
102
89
  getInnerText() {
103
- return this.elementRef && this.elementRef.nativeElement.textContent;
90
+ return this._elementRef?.nativeElement.textContent;
104
91
  }
105
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
106
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: NestedListTitleDirective, isStandalone: true, selector: "[fdNestedDirectivesTitle], [fd-nested-list-title]", host: { properties: { "class.fd-nested-list__title": "this.fdNestedListTitleClass" } }, ngImport: i0 }); }
92
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
93
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: NestedListTitleDirective, isStandalone: true, selector: "[fdNestedDirectivesTitle], [fd-nested-list-title]", host: { classAttribute: "fd-nested-list__title" }, ngImport: i0 }); }
107
94
  }
108
95
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListTitleDirective, decorators: [{
109
96
  type: Directive,
110
97
  args: [{
111
98
  selector: '[fdNestedDirectivesTitle], [fd-nested-list-title]',
112
- standalone: true
99
+ host: {
100
+ class: 'fd-nested-list__title'
101
+ }
113
102
  }]
114
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { fdNestedListTitleClass: [{
115
- type: HostBinding,
116
- args: ['class.fd-nested-list__title']
117
- }] } });
103
+ }] });
118
104
  class NestedListExpandIconComponent {
119
- /** @hidden */
120
- constructor(_itemService, _changeDetRef, _rtlService) {
121
- this._itemService = _itemService;
122
- this._changeDetRef = _changeDetRef;
123
- this._rtlService = _rtlService;
124
- /** @hidden */
125
- this.fdNestedListTitleClass = true;
126
- /** @hidden */
127
- this.fdButtonClass = true;
105
+ constructor() {
128
106
  /**
129
107
  * @hidden
130
108
  * Attribute controlled by the parent `NestedItemDirective`
131
109
  */
132
- this.expanded = false;
110
+ this.expanded = signal(false, ...(ngDevMode ? [{ debugName: "expanded" }] : []));
133
111
  /** @hidden */
134
- this.ariaHidden = true;
112
+ this.expandIcon = computed(() => {
113
+ if (this.expanded()) {
114
+ return 'navigation-down-arrow';
115
+ }
116
+ return this._rtlService?.rtl() ? 'navigation-left-arrow' : 'navigation-right-arrow';
117
+ }, ...(ngDevMode ? [{ debugName: "expandIcon" }] : []));
118
+ /** @hidden */
119
+ this._itemService = inject(NestedItemService);
135
120
  /** @hidden */
136
- this.sideArrowIcon$ = computed(() => this._rtlService?.rtlSignal() ? 'navigation-left-arrow' : 'navigation-right-arrow', ...(ngDevMode ? [{ debugName: "sideArrowIcon$" }] : []));
121
+ this._rtlService = inject(RtlService, { optional: true });
137
122
  }
138
123
  /** Mouse event handler */
139
124
  onClick(event) {
140
- this.expanded = !this.expanded;
141
- this._itemService.toggle.next(this.expanded);
125
+ this.expanded.update((v) => !v);
126
+ this._itemService.toggle.next(this.expanded());
142
127
  event.stopPropagation();
143
128
  }
144
129
  /** Handler for focus events */
@@ -147,13 +132,12 @@ class NestedListExpandIconComponent {
147
132
  }
148
133
  /** @hidden */
149
134
  changeExpandedState(expanded) {
150
- this.expanded = expanded;
151
- this._changeDetRef.detectChanges();
135
+ this.expanded.set(expanded);
152
136
  }
153
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListExpandIconComponent, deps: [{ token: NestedItemService }, { token: i0.ChangeDetectorRef }, { token: i2.RtlService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
154
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.0", type: NestedListExpandIconComponent, isStandalone: true, selector: "[fdNestedListExpandIcon], [fd-nested-list-expand-icon]", host: { attributes: { "aria-haspopup": "true", "tabindex": "-1" }, listeners: { "click": "onClick($event)", "focus": "onFocus()" }, properties: { "class.fd-nested-list__button": "this.fdNestedListTitleClass", "class.fd-button": "this.fdButtonClass", "class.is-expanded": "this.expanded", "attr.aria-expanded": "this.expanded", "attr.aria-hidden": "this.ariaHidden" } }, ngImport: i0, template: `
137
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListExpandIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
138
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.0", type: NestedListExpandIconComponent, isStandalone: true, selector: "[fdNestedListExpandIcon], [fd-nested-list-expand-icon]", host: { attributes: { "aria-haspopup": "true", "tabindex": "-1" }, listeners: { "click": "onClick($event)", "focus": "onFocus()" }, properties: { "class.is-expanded": "expanded()", "attr.aria-expanded": "expanded()", "attr.aria-hidden": "true" }, classAttribute: "fd-nested-list__button fd-button" }, ngImport: i0, template: `
155
139
  <ng-content></ng-content>
156
- <fd-icon [glyph]="expanded ? 'navigation-down-arrow' : sideArrowIcon$()"></fd-icon>
140
+ <fd-icon [glyph]="expandIcon()"></fd-icon>
157
141
  `, isInline: true, dependencies: [{ kind: "component", type: IconComponent, selector: "fd-icon", inputs: ["glyph", "font", "color", "background", "class", "ariaLabel", "ariaHidden"], outputs: ["ariaHiddenChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
158
142
  }
159
143
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListExpandIconComponent, decorators: [{
@@ -163,40 +147,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
163
147
  selector: '[fdNestedListExpandIcon], [fd-nested-list-expand-icon]',
164
148
  template: `
165
149
  <ng-content></ng-content>
166
- <fd-icon [glyph]="expanded ? 'navigation-down-arrow' : sideArrowIcon$()"></fd-icon>
150
+ <fd-icon [glyph]="expandIcon()"></fd-icon>
167
151
  `,
168
152
  host: {
169
153
  'aria-haspopup': 'true',
170
- tabindex: '-1'
154
+ tabindex: '-1',
155
+ class: 'fd-nested-list__button fd-button',
156
+ '[class.is-expanded]': 'expanded()',
157
+ '[attr.aria-expanded]': 'expanded()',
158
+ '[attr.aria-hidden]': 'true',
159
+ '(click)': 'onClick($event)',
160
+ '(focus)': 'onFocus()'
171
161
  },
172
162
  changeDetection: ChangeDetectionStrategy.OnPush,
173
163
  encapsulation: ViewEncapsulation.None,
174
164
  imports: [IconComponent]
175
165
  }]
176
- }], ctorParameters: () => [{ type: NestedItemService }, { type: i0.ChangeDetectorRef }, { type: i2.RtlService, decorators: [{
177
- type: Optional
178
- }] }], propDecorators: { fdNestedListTitleClass: [{
179
- type: HostBinding,
180
- args: ['class.fd-nested-list__button']
181
- }], fdButtonClass: [{
182
- type: HostBinding,
183
- args: ['class.fd-button']
184
- }], expanded: [{
185
- type: HostBinding,
186
- args: ['class.is-expanded']
187
- }, {
188
- type: HostBinding,
189
- args: ['attr.aria-expanded']
190
- }], ariaHidden: [{
191
- type: HostBinding,
192
- args: ['attr.aria-hidden']
193
- }], onClick: [{
194
- type: HostListener,
195
- args: ['click', ['$event']]
196
- }], onFocus: [{
197
- type: HostListener,
198
- args: ['focus']
199
- }] } });
166
+ }] });
200
167
 
201
168
  class NestedLinkDirective {
202
169
  /** @hidden */
@@ -779,20 +746,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
779
746
 
780
747
  class NestedListPopoverComponent {
781
748
  /** @hidden */
782
- constructor(_keyboardNestService, _itemService, _rtlService) {
783
- this._keyboardNestService = _keyboardNestService;
784
- this._itemService = _itemService;
785
- this._rtlService = _rtlService;
749
+ constructor() {
786
750
  /** @hidden
787
751
  * For Internal Usage - Gets information about title, which should be displayed inside popover
788
752
  */
789
753
  this.title = '';
790
754
  /** @hidden */
791
- this.popoverClass = true;
755
+ this.open = false;
792
756
  /** @hidden */
793
- this.placement$ = computed(() => (this._rtlService?.rtlSignal() ? 'left-start' : 'right-start'), ...(ngDevMode ? [{ debugName: "placement$" }] : []));
757
+ this.placement = computed(() => (this._rtlService?.rtl() ? 'left-start' : 'right-start'), ...(ngDevMode ? [{ debugName: "placement" }] : []));
794
758
  /** @hidden */
795
- this.open = false;
759
+ this._keyboardNestService = inject(NestedListKeyboardService);
760
+ /** @hidden */
761
+ this._itemService = inject(NestedItemService, { optional: true });
762
+ /** @hidden */
763
+ this._rtlService = inject(RtlService, { optional: true });
796
764
  this._listenOnKeyboardRefresh();
797
765
  if (this._itemService) {
798
766
  this._itemService.popover = this;
@@ -836,30 +804,25 @@ class NestedListPopoverComponent {
836
804
  }
837
805
  });
838
806
  }
839
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListPopoverComponent, deps: [{ token: NestedListKeyboardService }, { token: NestedItemService, optional: true }, { token: i2.RtlService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
840
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.0", type: NestedListPopoverComponent, isStandalone: true, selector: "fd-nested-list-popover", inputs: { title: "title" }, host: { properties: { "class.fd-nested-list__popover": "this.popoverClass" } }, queries: [{ propertyName: "linkDirective", first: true, predicate: NestedLinkDirective, descendants: true }, { propertyName: "contentDirective", first: true, predicate: NestedListContentDirective, descendants: true }], viewQueries: [{ propertyName: "popoverComponent", first: true, predicate: PopoverComponent, descendants: true }], ngImport: i0, template: "<fd-popover\n [placement]=\"placement$()\"\n [triggers]=\"['click']\"\n [noArrow]=\"false\"\n [isOpen]=\"open\"\n (isOpenChange)=\"handleOpenChange($event)\"\n>\n <fd-popover-control>\n <ng-content select=\"[fd-nested-list-link]\"></ng-content>\n <ng-content select=\"[fd-nested-list-content]\"></ng-content>\n </fd-popover-control>\n <fd-popover-body class=\"fd-nested-list--text-only\">\n <a fd-nested-list-link class=\"fd-nested-list__popover-header\">\n <span fd-nested-list-title>{{ title }}</span>\n </a>\n <ng-content select=\"[fd-nested-list]\"></ng-content>\n <ng-content select=\"fd-prepared-nested-list\"></ng-content>\n </fd-popover-body>\n</fd-popover>\n", styles: [".fd-side-nav--condensed .fd-popover-container-custom .fd-nested-list__title{display:inline-flex}.fd-side-nav--condensed .fd-nested-list__popover-header{box-shadow:0 0 .25rem #00000026,inset 0 -.0625rem #d9d9d9}.fd-side-nav--condensed .fd-popover-custom{display:block}[dir=rtl] .fd-side-nav--condensed .fd-popover-container-custom .fd-nested-list__link,.fd-side-nav--condensed[dir=rtl] .fd-popover-container-custom .fd-nested-list__link{padding-left:1rem}\n"], dependencies: [{ kind: "component", type: PopoverComponent, selector: "fd-popover", inputs: ["title", "trigger", "fixedPosition", "id", "mobile", "mobileConfig", "preventSpaceKeyScroll"] }, { kind: "component", type: PopoverControlComponent, selector: "fd-popover-control, [fdPopoverControl]" }, { kind: "component", type: PopoverBodyComponent, selector: "fd-popover-body", inputs: ["minWidth", "maxWidth", "minHeight", "maxHeight"] }, { kind: "directive", type: NestedLinkDirective, selector: "[fdNestedLink], [fd-nested-list-link]", inputs: ["onClickCallback", "selected", "ariaDescribedby"], outputs: ["selectedChange"] }, { kind: "directive", type: NestedListTitleDirective, selector: "[fdNestedDirectivesTitle], [fd-nested-list-title]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
807
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
808
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.0", type: NestedListPopoverComponent, isStandalone: true, selector: "fd-nested-list-popover", inputs: { title: "title" }, host: { classAttribute: "fd-nested-list__popover" }, queries: [{ propertyName: "linkDirective", first: true, predicate: NestedLinkDirective, descendants: true }, { propertyName: "contentDirective", first: true, predicate: NestedListContentDirective, descendants: true }], viewQueries: [{ propertyName: "popoverComponent", first: true, predicate: PopoverComponent, descendants: true }], ngImport: i0, template: "<fd-popover\n [placement]=\"placement()\"\n [triggers]=\"['click']\"\n [noArrow]=\"false\"\n [isOpen]=\"open\"\n (isOpenChange)=\"handleOpenChange($event)\"\n>\n <fd-popover-control>\n <ng-content select=\"[fd-nested-list-link]\"></ng-content>\n <ng-content select=\"[fd-nested-list-content]\"></ng-content>\n </fd-popover-control>\n <fd-popover-body class=\"fd-nested-list--text-only\">\n <a fd-nested-list-link class=\"fd-nested-list__popover-header\">\n <span fd-nested-list-title>{{ title }}</span>\n </a>\n <ng-content select=\"[fd-nested-list]\"></ng-content>\n <ng-content select=\"fd-prepared-nested-list\"></ng-content>\n </fd-popover-body>\n</fd-popover>\n", styles: [".fd-side-nav--condensed .fd-popover-container-custom .fd-nested-list__title{display:inline-flex}.fd-side-nav--condensed .fd-nested-list__popover-header{box-shadow:0 0 .25rem #00000026,inset 0 -.0625rem #d9d9d9}.fd-side-nav--condensed .fd-popover-custom{display:block}[dir=rtl] .fd-side-nav--condensed .fd-popover-container-custom .fd-nested-list__link,.fd-side-nav--condensed[dir=rtl] .fd-popover-container-custom .fd-nested-list__link{padding-left:1rem}\n"], dependencies: [{ kind: "component", type: PopoverComponent, selector: "fd-popover", inputs: ["title", "trigger", "fixedPosition", "id", "mobile", "mobileConfig", "preventSpaceKeyScroll"] }, { kind: "component", type: PopoverControlComponent, selector: "fd-popover-control, [fdPopoverControl]" }, { kind: "component", type: PopoverBodyComponent, selector: "fd-popover-body", inputs: ["minWidth", "maxWidth", "minHeight", "maxHeight"] }, { kind: "directive", type: NestedLinkDirective, selector: "[fdNestedLink], [fd-nested-list-link]", inputs: ["onClickCallback", "selected", "ariaDescribedby"], outputs: ["selectedChange"] }, { kind: "directive", type: NestedListTitleDirective, selector: "[fdNestedDirectivesTitle], [fd-nested-list-title]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
841
809
  }
842
810
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: NestedListPopoverComponent, decorators: [{
843
811
  type: Component,
844
- args: [{ selector: 'fd-nested-list-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
812
+ args: [{ selector: 'fd-nested-list-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
813
+ class: 'fd-nested-list__popover'
814
+ }, imports: [
845
815
  PopoverComponent,
846
816
  PopoverControlComponent,
847
817
  PopoverBodyComponent,
848
818
  NestedLinkDirective,
849
819
  NestedListTitleDirective
850
- ], template: "<fd-popover\n [placement]=\"placement$()\"\n [triggers]=\"['click']\"\n [noArrow]=\"false\"\n [isOpen]=\"open\"\n (isOpenChange)=\"handleOpenChange($event)\"\n>\n <fd-popover-control>\n <ng-content select=\"[fd-nested-list-link]\"></ng-content>\n <ng-content select=\"[fd-nested-list-content]\"></ng-content>\n </fd-popover-control>\n <fd-popover-body class=\"fd-nested-list--text-only\">\n <a fd-nested-list-link class=\"fd-nested-list__popover-header\">\n <span fd-nested-list-title>{{ title }}</span>\n </a>\n <ng-content select=\"[fd-nested-list]\"></ng-content>\n <ng-content select=\"fd-prepared-nested-list\"></ng-content>\n </fd-popover-body>\n</fd-popover>\n", styles: [".fd-side-nav--condensed .fd-popover-container-custom .fd-nested-list__title{display:inline-flex}.fd-side-nav--condensed .fd-nested-list__popover-header{box-shadow:0 0 .25rem #00000026,inset 0 -.0625rem #d9d9d9}.fd-side-nav--condensed .fd-popover-custom{display:block}[dir=rtl] .fd-side-nav--condensed .fd-popover-container-custom .fd-nested-list__link,.fd-side-nav--condensed[dir=rtl] .fd-popover-container-custom .fd-nested-list__link{padding-left:1rem}\n"] }]
851
- }], ctorParameters: () => [{ type: NestedListKeyboardService }, { type: NestedItemService, decorators: [{
852
- type: Optional
853
- }] }, { type: i2.RtlService, decorators: [{
854
- type: Optional
855
- }] }], propDecorators: { title: [{
820
+ ], template: "<fd-popover\n [placement]=\"placement()\"\n [triggers]=\"['click']\"\n [noArrow]=\"false\"\n [isOpen]=\"open\"\n (isOpenChange)=\"handleOpenChange($event)\"\n>\n <fd-popover-control>\n <ng-content select=\"[fd-nested-list-link]\"></ng-content>\n <ng-content select=\"[fd-nested-list-content]\"></ng-content>\n </fd-popover-control>\n <fd-popover-body class=\"fd-nested-list--text-only\">\n <a fd-nested-list-link class=\"fd-nested-list__popover-header\">\n <span fd-nested-list-title>{{ title }}</span>\n </a>\n <ng-content select=\"[fd-nested-list]\"></ng-content>\n <ng-content select=\"fd-prepared-nested-list\"></ng-content>\n </fd-popover-body>\n</fd-popover>\n", styles: [".fd-side-nav--condensed .fd-popover-container-custom .fd-nested-list__title{display:inline-flex}.fd-side-nav--condensed .fd-nested-list__popover-header{box-shadow:0 0 .25rem #00000026,inset 0 -.0625rem #d9d9d9}.fd-side-nav--condensed .fd-popover-custom{display:block}[dir=rtl] .fd-side-nav--condensed .fd-popover-container-custom .fd-nested-list__link,.fd-side-nav--condensed[dir=rtl] .fd-popover-container-custom .fd-nested-list__link{padding-left:1rem}\n"] }]
821
+ }], ctorParameters: () => [], propDecorators: { title: [{
856
822
  type: Input
857
823
  }], popoverComponent: [{
858
824
  type: ViewChild,
859
825
  args: [PopoverComponent]
860
- }], popoverClass: [{
861
- type: HostBinding,
862
- args: ['class.fd-nested-list__popover']
863
826
  }], linkDirective: [{
864
827
  type: ContentChild,
865
828
  args: [NestedLinkDirective]