@fundamental-ngx/core 0.54.2 → 0.54.4

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 (102) hide show
  1. package/esm2022/avatar-group/avatar-group.component.mjs +4 -5
  2. package/esm2022/avatar-group/components/avatar-group-host.component.mjs +3 -10
  3. package/esm2022/popover/popover-body/popover-body.component.mjs +14 -17
  4. package/esm2022/popover/popover-service/popover.service.mjs +26 -1
  5. package/fesm2022/fundamental-ngx-core-action-bar.mjs +1 -1
  6. package/fesm2022/fundamental-ngx-core-action-sheet.mjs +1 -1
  7. package/fesm2022/fundamental-ngx-core-avatar-group-legacy.mjs +1 -1
  8. package/fesm2022/fundamental-ngx-core-avatar-group.mjs +6 -14
  9. package/fesm2022/fundamental-ngx-core-avatar-group.mjs.map +1 -1
  10. package/fesm2022/fundamental-ngx-core-avatar.mjs +1 -1
  11. package/fesm2022/fundamental-ngx-core-bar.mjs +1 -1
  12. package/fesm2022/fundamental-ngx-core-breadcrumb.mjs +1 -1
  13. package/fesm2022/fundamental-ngx-core-busy-indicator.mjs +1 -1
  14. package/fesm2022/fundamental-ngx-core-button.mjs +1 -1
  15. package/fesm2022/fundamental-ngx-core-calendar.mjs +2 -2
  16. package/fesm2022/fundamental-ngx-core-card.mjs +1 -1
  17. package/fesm2022/fundamental-ngx-core-carousel.mjs +1 -1
  18. package/fesm2022/fundamental-ngx-core-checkbox.mjs +4 -4
  19. package/fesm2022/fundamental-ngx-core-combobox.mjs +6 -6
  20. package/fesm2022/fundamental-ngx-core-content-density.mjs +1 -1
  21. package/fesm2022/fundamental-ngx-core-date-picker.mjs +5 -5
  22. package/fesm2022/fundamental-ngx-core-datetime-picker.mjs +5 -5
  23. package/fesm2022/fundamental-ngx-core-datetime.mjs +1 -1
  24. package/fesm2022/fundamental-ngx-core-dialog.mjs +4 -4
  25. package/fesm2022/fundamental-ngx-core-dynamic-page.mjs +1 -1
  26. package/fesm2022/fundamental-ngx-core-dynamic-side-content.mjs +1 -1
  27. package/fesm2022/fundamental-ngx-core-facets.mjs +1 -1
  28. package/fesm2022/fundamental-ngx-core-feed-input.mjs +1 -1
  29. package/fesm2022/fundamental-ngx-core-feed-list-item.mjs +1 -1
  30. package/fesm2022/fundamental-ngx-core-file-uploader.mjs +1 -1
  31. package/fesm2022/fundamental-ngx-core-fixed-card-layout.mjs +2 -2
  32. package/fesm2022/fundamental-ngx-core-flexible-column-layout.mjs +1 -1
  33. package/fesm2022/fundamental-ngx-core-form.mjs +2 -2
  34. package/fesm2022/fundamental-ngx-core-formatted-text.mjs +1 -1
  35. package/fesm2022/fundamental-ngx-core-generic-tag.mjs +1 -1
  36. package/fesm2022/fundamental-ngx-core-grid-list.mjs +2 -2
  37. package/fesm2022/fundamental-ngx-core-icon.mjs +1 -1
  38. package/fesm2022/fundamental-ngx-core-illustrated-message.mjs +1 -1
  39. package/fesm2022/fundamental-ngx-core-infinite-scroll.mjs +1 -1
  40. package/fesm2022/fundamental-ngx-core-info-label.mjs +1 -1
  41. package/fesm2022/fundamental-ngx-core-inline-help.mjs +1 -1
  42. package/fesm2022/fundamental-ngx-core-input-group.mjs +1 -1
  43. package/fesm2022/fundamental-ngx-core-layout-grid.mjs +1 -1
  44. package/fesm2022/fundamental-ngx-core-layout-panel.mjs +1 -1
  45. package/fesm2022/fundamental-ngx-core-link.mjs +1 -1
  46. package/fesm2022/fundamental-ngx-core-list.mjs +1 -1
  47. package/fesm2022/fundamental-ngx-core-menu.mjs +3 -3
  48. package/fesm2022/fundamental-ngx-core-message-box.mjs +2 -2
  49. package/fesm2022/fundamental-ngx-core-message-page.mjs +1 -1
  50. package/fesm2022/fundamental-ngx-core-message-strip.mjs +1 -1
  51. package/fesm2022/fundamental-ngx-core-message-toast.mjs +2 -2
  52. package/fesm2022/fundamental-ngx-core-micro-process-flow.mjs +1 -1
  53. package/fesm2022/fundamental-ngx-core-multi-combobox.mjs +3 -3
  54. package/fesm2022/fundamental-ngx-core-multi-input.mjs +5 -5
  55. package/fesm2022/fundamental-ngx-core-nested-list.mjs +1 -1
  56. package/fesm2022/fundamental-ngx-core-notification.mjs +1 -1
  57. package/fesm2022/fundamental-ngx-core-object-attribute.mjs +1 -1
  58. package/fesm2022/fundamental-ngx-core-object-identifier.mjs +1 -1
  59. package/fesm2022/fundamental-ngx-core-object-marker.mjs +1 -1
  60. package/fesm2022/fundamental-ngx-core-object-number.mjs +1 -1
  61. package/fesm2022/fundamental-ngx-core-object-status.mjs +1 -1
  62. package/fesm2022/fundamental-ngx-core-overflow-layout.mjs +1 -1
  63. package/fesm2022/fundamental-ngx-core-pagination.mjs +1 -1
  64. package/fesm2022/fundamental-ngx-core-panel.mjs +1 -1
  65. package/fesm2022/fundamental-ngx-core-popover.mjs +407 -387
  66. package/fesm2022/fundamental-ngx-core-popover.mjs.map +1 -1
  67. package/fesm2022/fundamental-ngx-core-product-switch.mjs +1 -1
  68. package/fesm2022/fundamental-ngx-core-progress-indicator.mjs +1 -1
  69. package/fesm2022/fundamental-ngx-core-quick-view.mjs +1 -1
  70. package/fesm2022/fundamental-ngx-core-radio.mjs +2 -2
  71. package/fesm2022/fundamental-ngx-core-rating-indicator.mjs +1 -1
  72. package/fesm2022/fundamental-ngx-core-resizable-card-layout.mjs +1 -1
  73. package/fesm2022/fundamental-ngx-core-scroll-spy.mjs +1 -1
  74. package/fesm2022/fundamental-ngx-core-scrollbar.mjs +1 -1
  75. package/fesm2022/fundamental-ngx-core-segmented-button.mjs +1 -1
  76. package/fesm2022/fundamental-ngx-core-select.mjs +1 -1
  77. package/fesm2022/fundamental-ngx-core-shellbar.mjs +3 -3
  78. package/fesm2022/fundamental-ngx-core-side-navigation.mjs +2 -2
  79. package/fesm2022/fundamental-ngx-core-skeleton.mjs +1 -1
  80. package/fesm2022/fundamental-ngx-core-slider.mjs +2 -2
  81. package/fesm2022/fundamental-ngx-core-split-button.mjs +2 -2
  82. package/fesm2022/fundamental-ngx-core-status-indicator.mjs +1 -1
  83. package/fesm2022/fundamental-ngx-core-step-input.mjs +2 -2
  84. package/fesm2022/fundamental-ngx-core-switch.mjs +1 -1
  85. package/fesm2022/fundamental-ngx-core-table.mjs +1 -1
  86. package/fesm2022/fundamental-ngx-core-tabs.mjs +2 -2
  87. package/fesm2022/fundamental-ngx-core-text.mjs +1 -1
  88. package/fesm2022/fundamental-ngx-core-theming.mjs +1 -1
  89. package/fesm2022/fundamental-ngx-core-tile.mjs +1 -1
  90. package/fesm2022/fundamental-ngx-core-time-picker.mjs +5 -5
  91. package/fesm2022/fundamental-ngx-core-time.mjs +1 -1
  92. package/fesm2022/fundamental-ngx-core-timeline.mjs +1 -1
  93. package/fesm2022/fundamental-ngx-core-title.mjs +1 -1
  94. package/fesm2022/fundamental-ngx-core-token.mjs +1 -1
  95. package/fesm2022/fundamental-ngx-core-toolbar.mjs +2 -2
  96. package/fesm2022/fundamental-ngx-core-tree.mjs +2 -2
  97. package/fesm2022/fundamental-ngx-core-upload-collection.mjs +1 -1
  98. package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs +2 -2
  99. package/fesm2022/fundamental-ngx-core-wizard.mjs +1 -1
  100. package/package.json +3 -3
  101. package/popover/popover-body/popover-body.component.d.ts +7 -5
  102. package/popover/popover-service/popover.service.d.ts +13 -0
@@ -1,6 +1,6 @@
1
1
  import { ENTER, SPACE } from '@angular/cdk/keycodes';
2
2
  import * as i0 from '@angular/core';
3
- import { effect, booleanAttribute, forwardRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Host, Input, ContentChildren, HostListener, NgModule } from '@angular/core';
3
+ import { effect, forwardRef, booleanAttribute, HostListener, ContentChildren, Input, Optional, Host, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
4
4
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
6
  import * as i1 from '@fundamental-ngx/cdk/utils';
@@ -1,6 +1,6 @@
1
1
  import { ENTER, SPACE, hasModifierKey, HOME, END, UP_ARROW, DOWN_ARROW, ESCAPE, TAB } from '@angular/cdk/keycodes';
2
2
  import * as i0 from '@angular/core';
3
- import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, HostBinding, ContentChildren, Injectable, InjectionToken, Inject, ViewChild, HostListener, NgModule, inject, DestroyRef, computed, isDevMode, Injector, ElementRef, Attribute, Optional, Self } from '@angular/core';
3
+ import { EventEmitter, ContentChildren, HostBinding, Output, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, Injectable, InjectionToken, HostListener, ViewChild, Inject, NgModule, inject, DestroyRef, computed, isDevMode, Injector, ElementRef, Attribute, Optional, Self } from '@angular/core';
4
4
  import { Subject, Subscription, defer, merge } from 'rxjs';
5
5
  import { ListTitleDirective, ListComponent, ListMessageDirective } from '@fundamental-ngx/core/list';
6
6
  import { NgTemplateOutlet, CommonModule, NgClass } from '@angular/common';
@@ -1,17 +1,17 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ViewChild, InjectionToken, EventEmitter, Output, inject, isDevMode, Directive, ContentChild, ChangeDetectorRef, ContentChildren, HostBinding, DestroyRef, ElementRef, NgModule } from '@angular/core';
2
+ import { ViewChild, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, InjectionToken, EventEmitter, Output, inject, isDevMode, Directive, ContentChild, ChangeDetectorRef, HostBinding, ContentChildren, DestroyRef, ElementRef, NgModule } from '@angular/core';
3
3
  import { ButtonComponent, FD_BUTTON_COMPONENT, defaultButtonType } from '@fundamental-ngx/core/button';
4
4
  import { ContentDensityDirective, contentDensityObserverProviders, ContentDensityMode, ContentDensityModule } from '@fundamental-ngx/core/content-density';
5
5
  import { IconComponent, FD_DEFAULT_ICON_FONT_FAMILY } from '@fundamental-ngx/core/icon';
6
6
  import * as i1 from '@fundamental-ngx/core/menu';
7
- import { MenuComponent, MenuModule } from '@fundamental-ngx/core/menu';
7
+ import { MenuModule, MenuComponent } from '@fundamental-ngx/core/menu';
8
8
  import * as i1$1 from '@fundamental-ngx/core/action-sheet';
9
9
  import { ActionSheetModule } from '@fundamental-ngx/core/action-sheet';
10
10
  import { FdTranslatePipe } from '@fundamental-ngx/i18n';
11
11
  import { FD_COMBOBOX_COMPONENT } from '@fundamental-ngx/core/combobox';
12
12
  import { FD_PRODUCT_SWITCH_COMPONENT } from '@fundamental-ngx/core/product-switch';
13
13
  import * as i1$2 from '@angular/cdk/portal';
14
- import { CdkPortalOutlet, PortalModule, DomPortal } from '@angular/cdk/portal';
14
+ import { PortalModule, CdkPortalOutlet, DomPortal } from '@angular/cdk/portal';
15
15
  import { AvatarComponent } from '@fundamental-ngx/core/avatar';
16
16
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
17
17
  import { resizeObservable } from '@fundamental-ngx/cdk/utils';
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, ContentChild, HostBinding, Component, ViewEncapsulation, Input, ViewChildren, HostListener, NgModule } from '@angular/core';
2
+ import { HostBinding, ContentChild, Directive, HostListener, ViewChildren, Input, ViewEncapsulation, Component, NgModule } from '@angular/core';
3
3
  import * as i1 from '@fundamental-ngx/core/nested-list';
4
- import { NestedListDirective, NestedListKeyboardService, NestedListStateService, PreparedNestedListComponent } from '@fundamental-ngx/core/nested-list';
4
+ import { NestedListDirective, PreparedNestedListComponent, NestedListKeyboardService, NestedListStateService } from '@fundamental-ngx/core/nested-list';
5
5
  import { warnOnce } from '@fundamental-ngx/cdk/utils';
6
6
  import { MenuKeyboardService } from '@fundamental-ngx/core/menu';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import { coerceNumberProperty } from '@angular/cdk/coercion';
2
2
  import * as i0 from '@angular/core';
3
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding, NgModule } from '@angular/core';
3
+ import { HostBinding, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
4
4
 
5
5
  let skeletonUniqueId = 0;
6
6
  class SkeletonComponent {
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { computed, effect, Directive, Optional, Input, forwardRef, inject, DestroyRef, ElementRef, Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, ViewChild, ViewChildren, NgModule } from '@angular/core';
2
+ import { computed, effect, Input, Optional, Directive, forwardRef, inject, DestroyRef, ElementRef, HostBinding, ViewChildren, ViewChild, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
3
3
  import * as i1 from '@fundamental-ngx/cdk/utils';
4
4
  import { KeyUtil, OnlyDigitsDirective, applyCssClass, OnlyDigitsModule } from '@fundamental-ngx/cdk/utils';
5
5
  import { __decorate, __metadata } from 'tslib';
@@ -17,7 +17,7 @@ import * as i4 from '@fundamental-ngx/core/content-density';
17
17
  import { contentDensityObserverProviders, ContentDensityMode, ContentDensityModule } from '@fundamental-ngx/core/content-density';
18
18
  import { registerFormItemControl } from '@fundamental-ngx/core/form';
19
19
  import * as i5 from '@fundamental-ngx/core/popover';
20
- import { PopoverComponent, PopoverModule } from '@fundamental-ngx/core/popover';
20
+ import { PopoverModule, PopoverComponent } from '@fundamental-ngx/core/popover';
21
21
  import { FdTranslatePipe, I18nModule } from '@fundamental-ngx/i18n';
22
22
 
23
23
  class SliderPositionDirective {
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, EventEmitter, TemplateRef, ElementRef, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, ViewChild, NgModule } from '@angular/core';
3
- import { MenuComponent, MenuTriggerDirective } from '@fundamental-ngx/core/menu';
2
+ import { Directive, EventEmitter, TemplateRef, ElementRef, ViewChild, ContentChild, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
+ import { MenuTriggerDirective, MenuComponent } from '@fundamental-ngx/core/menu';
4
4
  import { Subscription, tap } from 'rxjs';
5
5
  import { first } from 'rxjs/operators';
6
6
  import { NgClass, NgTemplateOutlet } from '@angular/common';
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import { NgTemplateOutlet } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
4
+ import { Input, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
5
5
  import { applyCssClass } from '@fundamental-ngx/cdk/utils';
6
6
 
7
7
  class Point {
@@ -1,13 +1,13 @@
1
1
  import * as i1 from '@angular/cdk/a11y';
2
2
  import { UP_ARROW, DOWN_ARROW, SPACE, ENTER } from '@angular/cdk/keycodes';
3
3
  import * as i0 from '@angular/core';
4
- import { EventEmitter, isDevMode, LOCALE_ID, forwardRef, ElementRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, Input, Output, ViewChild, NgModule } from '@angular/core';
4
+ import { EventEmitter, isDevMode, LOCALE_ID, ElementRef, forwardRef, ViewChild, Output, Input, Inject, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
6
  import { KeyUtil } from '@fundamental-ngx/cdk/utils';
7
7
  import { ButtonComponent } from '@fundamental-ngx/core/button';
8
8
  import * as i2 from '@fundamental-ngx/core/content-density';
9
9
  import { contentDensityObserverProviders, ContentDensityModule } from '@fundamental-ngx/core/content-density';
10
- import { registerFormItemControl, FormInputMessageGroupComponent, FormMessageComponent } from '@fundamental-ngx/core/form';
10
+ import { FormInputMessageGroupComponent, FormMessageComponent, registerFormItemControl } from '@fundamental-ngx/core/form';
11
11
  import { FdTranslatePipe } from '@fundamental-ngx/i18n';
12
12
  import { Subscription, fromEvent, defer, timer, interval, merge } from 'rxjs';
13
13
  import { filter, switchMap, takeUntil } from 'rxjs/operators';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, inject, ElementRef, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, Input, Output, NgModule } from '@angular/core';
2
+ import { EventEmitter, inject, ElementRef, ViewChild, Output, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
3
3
  import * as i3 from '@angular/forms';
4
4
  import { FormsModule } from '@angular/forms';
5
5
  import * as i2 from '@fundamental-ngx/cdk/forms';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, HostBinding, Input, booleanAttribute, ContentChildren, HostListener, inject, Renderer2, ElementRef, ContentChild, signal, ChangeDetectorRef, effect, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
2
+ import { HostBinding, Input, Directive, booleanAttribute, HostListener, ContentChildren, inject, Renderer2, ElementRef, ContentChild, signal, ChangeDetectorRef, effect, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
3
3
  import * as i3 from '@fundamental-ngx/cdk/utils';
4
4
  import { FocusableItemDirective, FDK_FOCUSABLE_ITEM_DIRECTIVE, ResizeObserverService, applyCssClass, FocusableListDirective, FDK_FOCUSABLE_LIST_DIRECTIVE, FocusableGridDirective } from '@fundamental-ngx/cdk/utils';
5
5
  import { FD_CHECKBOX_COMPONENT } from '@fundamental-ngx/core/checkbox';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, HostBinding, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, EventEmitter, Output, HostListener, ContentChild, InjectionToken, TemplateRef, Optional, Inject, inject, NgZone, ElementRef, ContentChildren, forwardRef, ViewChildren, ViewChild, DestroyRef, NgModule } from '@angular/core';
2
+ import { Directive, HostBinding, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, EventEmitter, HostListener, Output, ContentChild, InjectionToken, TemplateRef, Optional, Inject, inject, NgZone, ElementRef, ViewChild, ViewChildren, forwardRef, ContentChildren, DestroyRef, NgModule } from '@angular/core';
3
3
  import { FD_DEFAULT_ICON_FONT_FAMILY, IconComponent } from '@fundamental-ngx/core/icon';
4
4
  import { FdTranslatePipe } from '@fundamental-ngx/i18n';
5
5
  import { __decorate, __metadata } from 'tslib';
@@ -11,7 +11,7 @@ import { NgTemplateOutlet } from '@angular/common';
11
11
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
12
12
  import * as i1 from '@fundamental-ngx/core/content-density';
13
13
  import { contentDensityObserverProviders } from '@fundamental-ngx/core/content-density';
14
- import { MenuComponent, MenuTriggerDirective, MenuItemComponent, MenuInteractiveComponent, MenuTitleDirective } from '@fundamental-ngx/core/menu';
14
+ import { MenuTriggerDirective, MenuComponent, MenuItemComponent, MenuInteractiveComponent, MenuTitleDirective } from '@fundamental-ngx/core/menu';
15
15
  import { OverflowLayoutComponent, OverflowItemRefDirective, OverflowLayoutItemDirective, OverflowLayoutFocusableItemDirective, OverflowExpandDirective } from '@fundamental-ngx/core/overflow-layout';
16
16
  import { ScrollSpyDirective } from '@fundamental-ngx/core/scroll-spy';
17
17
  import { ScrollbarDirective } from '@fundamental-ngx/core/scrollbar';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
2
+ import { EventEmitter, Output, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
3
3
  import { LineClampDirective, LineClampTargetDirective } from '@fundamental-ngx/cdk/utils';
4
4
  import { LinkComponent } from '@fundamental-ngx/core/link';
5
5
  import { FdTranslatePipe } from '@fundamental-ngx/i18n';
@@ -1,6 +1,6 @@
1
1
  import { DOCUMENT, CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { InjectionToken, inject, DestroyRef, isDevMode, Injectable, Inject, Optional, APP_INITIALIZER, NgModule } from '@angular/core';
3
+ import { InjectionToken, inject, DestroyRef, isDevMode, Inject, Optional, Injectable, APP_INITIALIZER, NgModule } from '@angular/core';
4
4
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
5
5
  import * as i1 from '@angular/router';
6
6
  import { THEME_SWITCHER_ROUTER_MISSING_ERROR } from '@fundamental-ngx/cdk/utils';
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { Directive, Input, HostBinding, inject, ElementRef, EventEmitter, booleanAttribute, Component, ViewEncapsulation, ChangeDetectionStrategy, Output, ViewChild, NgModule } from '@angular/core';
3
+ import { HostBinding, Input, Directive, inject, ElementRef, EventEmitter, booleanAttribute, ViewChild, Output, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
4
4
  import { applyCssClass } from '@fundamental-ngx/cdk/utils';
5
5
  import { FD_DEFAULT_ICON_FONT_FAMILY, fdBuildIconClass } from '@fundamental-ngx/core/icon';
6
6
 
@@ -1,14 +1,14 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, EventEmitter, DestroyRef, forwardRef, ElementRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, Input, Output, ViewChild, NgModule } from '@angular/core';
2
+ import { inject, EventEmitter, DestroyRef, ElementRef, forwardRef, ViewChild, Output, Input, Optional, Inject, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule } from '@angular/core';
3
3
  import * as i3 from '@angular/forms';
4
- import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule } from '@angular/forms';
4
+ import { FormsModule, NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
5
5
  import { Subscription } from 'rxjs';
6
6
  import * as i1 from '@fundamental-ngx/core/datetime';
7
7
  import { DATE_TIME_FORMATS, TranslateDayPeriodPipe } from '@fundamental-ngx/core/datetime';
8
8
  import * as i2 from '@fundamental-ngx/core/form';
9
- import { PopoverFormMessageService, registerFormItemControl, FormMessageComponent } from '@fundamental-ngx/core/form';
10
- import { InputGroupInputDirective, InputGroupComponent } from '@fundamental-ngx/core/input-group';
11
- import { PopoverService, PopoverComponent, PopoverControlComponent, PopoverBodyComponent } from '@fundamental-ngx/core/popover';
9
+ import { FormMessageComponent, PopoverFormMessageService, registerFormItemControl } from '@fundamental-ngx/core/form';
10
+ import { InputGroupComponent, InputGroupInputDirective } from '@fundamental-ngx/core/input-group';
11
+ import { PopoverComponent, PopoverControlComponent, PopoverBodyComponent, PopoverService } from '@fundamental-ngx/core/popover';
12
12
  import { ValueStateAriaMessageService } from '@fundamental-ngx/core/shared';
13
13
  import { TimeComponent } from '@fundamental-ngx/core/time';
14
14
  import { NgTemplateOutlet } from '@angular/common';
@@ -1,6 +1,6 @@
1
1
  import { DOWN_ARROW, UP_ARROW, SPACE, LEFT_ARROW, RIGHT_ARROW } from '@angular/cdk/keycodes';
2
2
  import * as i0 from '@angular/core';
3
- import { EventEmitter, ElementRef, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostBinding, Output, ViewChild, ViewChildren, HostListener, inject, DestroyRef, forwardRef, Optional, NgModule } from '@angular/core';
3
+ import { EventEmitter, ElementRef, HostListener, ViewChild, ViewChildren, Output, Input, HostBinding, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, DestroyRef, forwardRef, Optional, NgModule } from '@angular/core';
4
4
  import { BehaviorSubject, Subject, Subscription, combineLatest } from 'rxjs';
5
5
  import { filter, tap, debounceTime, buffer, map } from 'rxjs/operators';
6
6
  import * as i3 from '@fundamental-ngx/cdk/utils';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Injectable, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ViewChild, inject, DestroyRef, ContentChildren, HostBinding, NgModule } from '@angular/core';
2
+ import { Directive, Injectable, ViewChild, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, inject, DestroyRef, ContentChildren, HostBinding, NgModule } from '@angular/core';
3
3
  import { resizeObservable, RepeatDirective } from '@fundamental-ngx/cdk/utils';
4
4
  import { debounceTime } from 'rxjs';
5
5
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, NgModule } from '@angular/core';
2
+ import { Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
3
 
4
4
  class TitleToken {
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, ElementRef, Directive, Input, EventEmitter, DestroyRef, ViewContainerRef, Component, ViewEncapsulation, ChangeDetectionStrategy, ViewChild, Output, Optional, Inject, ContentChildren, forwardRef, ContentChild, ViewChildren, HostListener, NgModule } from '@angular/core';
3
+ import { inject, ElementRef, Input, Directive, EventEmitter, DestroyRef, ViewContainerRef, Output, ViewChild, ChangeDetectionStrategy, ViewEncapsulation, Component, HostListener, ViewChildren, forwardRef, ContentChild, ContentChildren, Optional, Inject, NgModule } from '@angular/core';
4
4
  import * as i2 from '@fundamental-ngx/cdk/utils';
5
5
  import { applyCssClass, KeyUtil, resizeObservable } from '@fundamental-ngx/cdk/utils';
6
6
  import { ENTER, SPACE, DELETE, BACKSPACE, A, RIGHT_ARROW, DOWN_ARROW, LEFT_ARROW, UP_ARROW } from '@angular/cdk/keycodes';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { isDevMode, forwardRef, Directive, Input, InjectionToken, inject, ElementRef, Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, signal, contentChildren, Optional, SkipSelf, Inject, ViewChild, ContentChildren, ContentChild, NgModule } from '@angular/core';
2
+ import { isDevMode, forwardRef, Input, Directive, InjectionToken, inject, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, Component, HostBinding, signal, contentChildren, ContentChild, ContentChildren, ViewChild, Optional, SkipSelf, Inject, NgModule } from '@angular/core';
3
3
  import * as i1 from '@fundamental-ngx/core/content-density';
4
4
  import { ContentDensityMode, CONTENT_DENSITY_DIRECTIVE, contentDensityObserverProviders, ContentDensityModule } from '@fundamental-ngx/core/content-density';
5
5
  import { BehaviorSubject, combineLatest, map, startWith } from 'rxjs';
@@ -11,7 +11,7 @@ import { OVERFLOW_PRIORITY_SCORE, DynamicPortalComponent, applyCssClass } from '
11
11
  import { ButtonComponent } from '@fundamental-ngx/core/button';
12
12
  import * as i3 from '@fundamental-ngx/core/popover';
13
13
  import { PopoverModule } from '@fundamental-ngx/core/popover';
14
- import { TitleToken, TitleComponent } from '@fundamental-ngx/core/title';
14
+ import { TitleComponent, TitleToken } from '@fundamental-ngx/core/title';
15
15
 
16
16
  class ToolbarItem {
17
17
  }
@@ -6,11 +6,11 @@ import { FocusKeyManager } from '@angular/cdk/a11y';
6
6
  import { DOWN_ARROW, UP_ARROW, LEFT_ARROW, RIGHT_ARROW } from '@angular/cdk/keycodes';
7
7
  import { NgTemplateOutlet, NgClass, NgStyle } from '@angular/common';
8
8
  import * as i0 from '@angular/core';
9
- import { inject, TemplateRef, Directive, Input, Injector, signal, Injectable, EventEmitter, ElementRef, DestroyRef, ChangeDetectorRef, effect, Component, ViewEncapsulation, Output, ContentChild, ViewChildren, ContentChildren, HostListener, input, ChangeDetectionStrategy, HostBinding, ViewChild, NgModule, InjectionToken } from '@angular/core';
9
+ import { inject, TemplateRef, Input, Directive, Injector, signal, Injectable, EventEmitter, ElementRef, DestroyRef, ChangeDetectorRef, effect, HostListener, ContentChildren, ViewChildren, ContentChild, Output, ViewEncapsulation, Component, input, ViewChild, HostBinding, ChangeDetectionStrategy, NgModule, InjectionToken } from '@angular/core';
10
10
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
11
11
  import * as i2 from '@fundamental-ngx/cdk/forms';
12
12
  import { CvaDirective } from '@fundamental-ngx/cdk/forms';
13
- import { uuidv4, SelectionService, RtlService, KeyUtil, RepeatDirective, SelectableItemDirective, applyCssClass, FDK_SELECTABLE_ITEM_PROVIDER, ClickedDirective } from '@fundamental-ngx/cdk/utils';
13
+ import { uuidv4, SelectionService, RtlService, KeyUtil, RepeatDirective, SelectableItemDirective, applyCssClass, ClickedDirective, FDK_SELECTABLE_ITEM_PROVIDER } from '@fundamental-ngx/cdk/utils';
14
14
  import { ContentDensityObserver, contentDensityObserverProviders } from '@fundamental-ngx/core/content-density';
15
15
  import { SkeletonComponent } from '@fundamental-ngx/core/skeleton';
16
16
  import { FdTranslatePipe } from '@fundamental-ngx/i18n';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Output, Input, ViewChild, Directive, inject, ElementRef, Optional, Inject, ContentChildren, HostBinding, ContentChild, HostListener, NgModule } from '@angular/core';
2
+ import { EventEmitter, ViewChild, Input, Output, ChangeDetectionStrategy, ViewEncapsulation, Component, Directive, inject, ElementRef, Optional, Inject, HostBinding, ContentChildren, HostListener, ContentChild, NgModule } from '@angular/core';
3
3
  import { ButtonComponent } from '@fundamental-ngx/core/button';
4
4
  import { FdTranslatePipe } from '@fundamental-ngx/i18n';
5
5
  import * as i1 from '@angular/forms';
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, HostBinding, Component, ViewEncapsulation, ChangeDetectionStrategy, ContentChild, inject, DestroyRef, signal, effect, Input, ContentChildren, HostListener, NgModule } from '@angular/core';
3
- import { FD_LIST_COMPONENT, ListNavigationItemComponent, ListComponent } from '@fundamental-ngx/core/list';
2
+ import { HostBinding, Directive, ContentChild, ChangeDetectionStrategy, ViewEncapsulation, Component, inject, DestroyRef, signal, effect, HostListener, ContentChildren, Input, NgModule } from '@angular/core';
3
+ import { FD_LIST_COMPONENT, ListComponent, ListNavigationItemComponent } from '@fundamental-ngx/core/list';
4
4
  import { FdTranslatePipe } from '@fundamental-ngx/i18n';
5
5
  import { FocusKeyManager } from '@angular/cdk/a11y';
6
6
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ElementRef, Component, ChangeDetectionStrategy, Input, ViewChild, ContentChild, InjectionToken, Optional, Inject, Directive, EventEmitter, signal, Output, Injectable, ViewEncapsulation, HostBinding, ContentChildren, HostListener, NgModule } from '@angular/core';
2
+ import { inject, ElementRef, Input, ChangeDetectionStrategy, Component, ContentChild, ViewChild, InjectionToken, Optional, Inject, Directive, EventEmitter, signal, Output, Injectable, HostListener, ContentChildren, HostBinding, ViewEncapsulation, NgModule } from '@angular/core';
3
3
  import { NgTemplateOutlet } from '@angular/common';
4
4
  import { ActionSheetComponent, ActionSheetControlComponent, ActionSheetBodyComponent, ActionSheetItemComponent } from '@fundamental-ngx/core/action-sheet';
5
5
  import { FD_DEFAULT_ICON_FONT_FAMILY, IconComponent } from '@fundamental-ngx/core/icon';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundamental-ngx/core",
3
- "version": "0.54.2",
3
+ "version": "0.54.4",
4
4
  "schematics": "./schematics/collection.json",
5
5
  "ng-update": {
6
6
  "migrations": "./schematics/migrations.json"
@@ -23,8 +23,8 @@
23
23
  "@angular/forms": "^18.0.0",
24
24
  "@angular/platform-browser": "^18.0.0",
25
25
  "@angular/router": "^18.0.0",
26
- "@fundamental-ngx/cdk": "0.54.2",
27
- "@fundamental-ngx/i18n": "0.54.2",
26
+ "@fundamental-ngx/cdk": "0.54.4",
27
+ "@fundamental-ngx/i18n": "0.54.4",
28
28
  "@sap-theming/theming-base-content": "^11.24.0",
29
29
  "fundamental-styles": "0.38.0",
30
30
  "rxjs": "^7.8.0"
@@ -1,10 +1,11 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, Renderer2, TemplateRef } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
2
2
  import { CdkTrapFocus } from '@angular/cdk/a11y';
3
3
  import { ConnectionPositionPair } from '@angular/cdk/overlay';
4
4
  import { Subject } from 'rxjs';
5
5
  import { Nullable } from '@fundamental-ngx/cdk/utils';
6
6
  import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
7
7
  import { ScrollbarDirective } from '@fundamental-ngx/core/scrollbar';
8
+ import { PopoverService } from '../popover-service/popover.service';
8
9
  import * as i0 from "@angular/core";
9
10
  /**
10
11
  * A component used to enforce a certain layout for the popover.
@@ -15,11 +16,12 @@ import * as i0 from "@angular/core";
15
16
  * </fd-popover>
16
17
  * ```
17
18
  */
18
- export declare class PopoverBodyComponent implements AfterViewInit {
19
+ export declare class PopoverBodyComponent implements AfterViewInit, OnDestroy {
19
20
  readonly _elementRef: ElementRef;
20
21
  private _changeDetectorRef;
21
22
  private readonly _renderer;
22
23
  readonly _contentDensityObserver: ContentDensityObserver;
24
+ private _popoverService;
23
25
  /** Minimum width of the popover body element. */
24
26
  minWidth: Nullable<string>;
25
27
  /** Maximum width of the popover body element. */
@@ -72,14 +74,14 @@ export declare class PopoverBodyComponent implements AfterViewInit {
72
74
  /** @hidden */
73
75
  private _bodyComponentClasses;
74
76
  /** @hidden */
75
- constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _renderer: Renderer2, _contentDensityObserver: ContentDensityObserver);
77
+ constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _renderer: Renderer2, _contentDensityObserver: ContentDensityObserver, _popoverService: PopoverService);
76
78
  /** Handler escape keydown */
77
79
  bodyKeyupHandler(event: KeyboardEvent): void;
78
- /** Handler for focus when clicking outside */
79
- onClick(targetElement: HTMLElement): void;
80
80
  /** @hidden */
81
81
  ngAfterViewInit(): void;
82
82
  /** @hidden */
83
+ ngOnDestroy(): void;
84
+ /** @hidden */
83
85
  _setBodyComponentClasses(classes: string | null): void;
84
86
  /** @hidden */
85
87
  _setArrowStyles(position: ConnectionPositionPair, rtl: 'rtl' | 'ltr'): void;
@@ -54,6 +54,8 @@ export declare class PopoverService extends BasePopoverClass {
54
54
  private _modalTriggerClass;
55
55
  /** @hidden */
56
56
  private _isModal;
57
+ /** @hidden */
58
+ private _popoverComponents;
57
59
  /** An RxJS Subject that will kill the data stream upon component’s destruction (for unsubscribing) */
58
60
  private readonly _destroyRef;
59
61
  /** @hidden */
@@ -107,6 +109,17 @@ export declare class PopoverService extends BasePopoverClass {
107
109
  * @param trigger Trigger element ref.
108
110
  */
109
111
  updateTriggerElement(trigger: ElementRef | HTMLElement): void;
112
+ /**
113
+ * register a popover body component instance
114
+ * @param popoverBodyComponent
115
+ */
116
+ registerPopover(popoverBodyComponent: PopoverBodyComponent): void;
117
+ /**
118
+ * unregister a popover body component instance
119
+ * @param popoverBodyComponent
120
+ */
121
+ unregisterPopover(popoverBodyComponent: PopoverBodyComponent): void;
122
+ private _handleGlobalClick;
110
123
  /** @hidden */
111
124
  private _normalizeTriggers;
112
125
  /** @hidden */