@fundamental-ngx/core 0.61.2 → 0.62.0-rc.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.
- package/fesm2022/fundamental-ngx-core-action-sheet.mjs +3 -2
- package/fesm2022/fundamental-ngx-core-action-sheet.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-avatar-group.mjs +6 -4
- package/fesm2022/fundamental-ngx-core-avatar-group.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-bar.mjs +36 -11
- package/fesm2022/fundamental-ngx-core-bar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-breadcrumb.mjs +11 -13
- package/fesm2022/fundamental-ngx-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-busy-indicator.mjs +5 -7
- package/fesm2022/fundamental-ngx-core-busy-indicator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-calendar.mjs +35 -31
- package/fesm2022/fundamental-ngx-core-calendar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-carousel.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-carousel.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-combobox.mjs +6 -4
- package/fesm2022/fundamental-ngx-core-combobox.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-date-picker.mjs +3 -3
- package/fesm2022/fundamental-ngx-core-date-picker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-datetime-picker.mjs +3 -3
- package/fesm2022/fundamental-ngx-core-datetime-picker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-datetime.mjs +7 -13
- package/fesm2022/fundamental-ngx-core-datetime.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-dialog.mjs +19 -22
- package/fesm2022/fundamental-ngx-core-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-dynamic-page.mjs +13 -13
- package/fesm2022/fundamental-ngx-core-dynamic-page.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-facets.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-facets.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-feed-list-item.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-feed-list-item.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-grid-list.mjs +4 -4
- package/fesm2022/fundamental-ngx-core-grid-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-info-label.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-info-label.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-link.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-link.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-list.mjs +47 -12
- package/fesm2022/fundamental-ngx-core-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-menu.mjs +5 -5
- package/fesm2022/fundamental-ngx-core-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-message-box.mjs +10 -10
- package/fesm2022/fundamental-ngx-core-message-box.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-message-strip.mjs +44 -49
- package/fesm2022/fundamental-ngx-core-message-strip.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-multi-combobox.mjs +25 -23
- package/fesm2022/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-multi-input.mjs +6 -8
- package/fesm2022/fundamental-ngx-core-multi-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-nested-list.mjs +22 -21
- package/fesm2022/fundamental-ngx-core-nested-list.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-notification.mjs +13 -16
- package/fesm2022/fundamental-ngx-core-notification.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-identifier.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-object-identifier.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-number.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-object-number.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-object-status.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-object-status.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-overflow-layout.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-overflow-layout.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-pagination.mjs +11 -14
- package/fesm2022/fundamental-ngx-core-pagination.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-popover.mjs +5 -5
- package/fesm2022/fundamental-ngx-core-popover.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-product-switch.mjs +8 -4
- package/fesm2022/fundamental-ngx-core-product-switch.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-quick-view.mjs +3 -3
- package/fesm2022/fundamental-ngx-core-quick-view.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-rating-indicator.mjs +4 -7
- package/fesm2022/fundamental-ngx-core-rating-indicator.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-segmented-button.mjs +10 -11
- package/fesm2022/fundamental-ngx-core-segmented-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-select.mjs +15 -8
- package/fesm2022/fundamental-ngx-core-select.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-settings.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-settings.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-shellbar.mjs +44 -27
- package/fesm2022/fundamental-ngx-core-shellbar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-slider.mjs +6 -6
- package/fesm2022/fundamental-ngx-core-slider.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-split-button.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-split-button.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-step-input.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-step-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-switch.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-switch.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-tabs.mjs +2 -2
- package/fesm2022/fundamental-ngx-core-tabs.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-text.mjs +6 -4
- package/fesm2022/fundamental-ngx-core-text.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-time-picker.mjs +4 -29
- package/fesm2022/fundamental-ngx-core-time-picker.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-time.mjs +4 -4
- package/fesm2022/fundamental-ngx-core-time.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-timeline.mjs +1 -1
- package/fesm2022/fundamental-ngx-core-timeline.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-title.mjs +7 -4
- package/fesm2022/fundamental-ngx-core-title.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-token.mjs +12 -15
- package/fesm2022/fundamental-ngx-core-token.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-toolbar.mjs +5 -3
- package/fesm2022/fundamental-ngx-core-toolbar.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-tree.mjs +4 -4
- package/fesm2022/fundamental-ngx-core-tree.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-upload-collection.mjs +5 -5
- package/fesm2022/fundamental-ngx-core-upload-collection.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-user-menu.mjs +6 -4
- package/fesm2022/fundamental-ngx-core-user-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs +3 -3
- package/fesm2022/fundamental-ngx-core-vertical-navigation.mjs.map +1 -1
- package/package.json +3 -3
- package/types/fundamental-ngx-core-bar.d.ts +14 -4
- package/types/fundamental-ngx-core-breadcrumb.d.ts +5 -5
- package/types/fundamental-ngx-core-busy-indicator.d.ts +3 -3
- package/types/fundamental-ngx-core-combobox.d.ts +4 -2
- package/types/fundamental-ngx-core-datetime.d.ts +1 -5
- package/types/fundamental-ngx-core-dialog.d.ts +4 -2
- package/types/fundamental-ngx-core-dynamic-page.d.ts +1 -2
- package/types/fundamental-ngx-core-list.d.ts +24 -5
- package/types/fundamental-ngx-core-menu.d.ts +2 -0
- package/types/fundamental-ngx-core-message-box.d.ts +1 -1
- package/types/fundamental-ngx-core-message-strip.d.ts +3 -12
- package/types/fundamental-ngx-core-multi-combobox.d.ts +1 -1
- package/types/fundamental-ngx-core-nested-list.d.ts +10 -10
- package/types/fundamental-ngx-core-notification.d.ts +5 -7
- package/types/fundamental-ngx-core-pagination.d.ts +3 -4
- package/types/fundamental-ngx-core-product-switch.d.ts +3 -0
- package/types/fundamental-ngx-core-rating-indicator.d.ts +3 -2
- package/types/fundamental-ngx-core-segmented-button.d.ts +3 -5
- package/types/fundamental-ngx-core-select.d.ts +5 -1
- package/types/fundamental-ngx-core-shared.d.ts +21 -20
- package/types/fundamental-ngx-core-shellbar.d.ts +7 -1
- package/types/fundamental-ngx-core-slider.d.ts +1 -1
- package/types/fundamental-ngx-core-text.d.ts +3 -1
- package/types/fundamental-ngx-core-time-picker.d.ts +1 -17
- package/types/fundamental-ngx-core-title.d.ts +3 -1
- package/types/fundamental-ngx-core-token.d.ts +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fundamental-ngx-core-vertical-navigation.mjs","sources":["../../../../libs/core/vertical-navigation/vertical-navigation-group-header.directive.ts","../../../../libs/core/vertical-navigation/vertical-navigation-main-navigation.component.ts","../../../../libs/core/vertical-navigation/vertical-navigation.component.ts","../../../../libs/core/vertical-navigation/vertical-navigation.component.html","../../../../libs/core/vertical-navigation/vertical-navigation.module.ts","../../../../libs/core/vertical-navigation/fundamental-ngx-core-vertical-navigation.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[fdVerticalNavigationGroupHeader], [fd-vertical-navigation-group-header]',\n standalone: true\n})\nexport class VerticalNavigationGroupHeaderDirective {\n /** @hidden */\n @HostBinding('class.fd-vertical-nav__group-header')\n fdVerticalNavigationGroupHeaderClass = true;\n}\n","import { ChangeDetectionStrategy, Component, ContentChild, ViewEncapsulation } from '@angular/core';\nimport { FD_LIST_COMPONENT, ListComponent } from '@fundamental-ngx/core/list';\nimport { FdTranslatePipe } from '@fundamental-ngx/i18n';\n\n@Component({\n selector: 'fd-vertical-navigation-main-navigation',\n template: `<nav\n [attr.aria-label]=\"'coreNavigation.mainNavigation' | fdTranslate\"\n class=\"fd-vertical-nav__main-navigation\"\n >\n <ng-content></ng-content>\n </nav>`,\n styleUrl: './vertical-navigation.component.scss',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [FdTranslatePipe]\n})\nexport class VerticalNavigationMainNavigationComponent {\n /** @hidden */\n @ContentChild(FD_LIST_COMPONENT)\n _list: ListComponent;\n}\n","import { FocusKeyManager } from '@angular/cdk/a11y';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n DestroyRef,\n HostListener,\n Input,\n OnDestroy,\n QueryList,\n ViewEncapsulation,\n effect,\n inject,\n signal\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { destroyObservable } from '@fundamental-ngx/cdk/utils';\nimport { ListComponent, ListNavigationItemComponent } from '@fundamental-ngx/core/list';\nimport { Subject, delay, map, merge, startWith, takeUntil } from 'rxjs';\nimport { VerticalNavigationMainNavigationComponent } from './vertical-navigation-main-navigation.component';\n\n/**\n * @deprecated use the (btp)vertical navigation component instead.\n * The side-navigation is a wrapping component representing\n * a left navigation that can always display or expand/collapse using the menu icon within the global navigation.\n */\n@Component({\n selector: 'fd-vertical-navigation',\n templateUrl: './vertical-navigation.component.html',\n styleUrl: './vertical-navigation.component.scss',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [VerticalNavigationMainNavigationComponent, ListComponent]\n})\nexport class VerticalNavigationComponent implements AfterContentInit, OnDestroy {\n /** Whether or not this component is to be shown in 'condensed' mode. */\n @Input()\n set condensed(value: boolean) {\n this._condensed.set(value);\n }\n\n get condensed(): boolean {\n return this._condensed();\n }\n\n /** @hidden */\n @ContentChildren(ListNavigationItemComponent, { descendants: true })\n private readonly _navigationItems: QueryList<ListNavigationItemComponent>;\n\n /** @hidden\n * Querylist of list-items in main navigation.\n */\n @ContentChildren(ListNavigationItemComponent)\n private set _mainItems(items: QueryList<ListNavigationItemComponent>) {\n this._mainNavItems.set(items?.toArray() ?? []);\n }\n\n /** @hidden */\n private _keyManager: FocusKeyManager<ListNavigationItemComponent>;\n\n /** An RxJS Subject that will kill the data stream upon component’s destruction (for unsubscribing) */\n private readonly _destroyRef = inject(DestroyRef);\n\n /** An RxJS Subject that will kill the data stream upon queryList changes (for unsubscribing) */\n private readonly _onRefresh$ = new Subject<void>();\n\n /** @hidden */\n private readonly _condensed = signal(false);\n\n /** @hidden */\n private readonly _contentInited = signal(false);\n\n /** @hidden */\n private readonly _mainNavItems = signal<ListNavigationItemComponent[]>([]);\n\n /** @hidden */\n constructor() {\n effect(() => {\n if (!this._contentInited()) {\n return;\n }\n\n const isCondensed = this._condensed();\n\n this._mainNavItems().forEach((item) => {\n item._condensed.set(isCondensed);\n });\n });\n }\n\n /** @hidden */\n @HostListener('keydown', ['$event'])\n keyDownHandler(event: KeyboardEvent): void {\n this._keyManager.onKeydown(event);\n event.stopPropagation();\n }\n\n /** @hidden */\n ngAfterContentInit(): void {\n this._contentInited.set(true);\n\n this._keyManager?.destroy();\n this._keyManager = new FocusKeyManager(this._navigationItems)\n .withHomeAndEnd()\n .skipPredicate((item) => !item._isItemVisible || (item._condensed() && item.expanded));\n this._listenOnQueryChange();\n }\n\n /** @hidden */\n ngOnDestroy(): void {\n this._keyManager?.destroy();\n this._onRefresh$.next();\n this._onRefresh$.complete();\n }\n\n /** Set fake focus on element with passed index */\n setItemActive(index: number, updateOnly = false): void {\n if (updateOnly) {\n this._keyManager.updateActiveItem(index);\n } else {\n this._keyManager.setActiveItem(index);\n }\n }\n\n /** @hidden */\n private _listenOnQueryChange(): void {\n this._navigationItems.changes\n .pipe(delay(0), startWith(0), takeUntilDestroyed(this._destroyRef))\n .subscribe(() => {\n this._listenOnItemsClick();\n setTimeout(() => {\n // using setTimeout to avoid ExpressionChangedAfterItHasBeenCheckedError\n this._navigationItems.forEach((navItem, index) => {\n index !== 0 && (navItem._tabIndex = -1);\n });\n });\n });\n }\n\n /** @hidden */\n private _listenOnItemsClick(): void {\n /** Finish all the streams, from before */\n this._onRefresh$.next();\n\n /** Merge refresh/destroy observables */\n const completion$ = merge(this._onRefresh$, destroyObservable(this._destroyRef));\n const interactionChangesIndexes = this._navigationItems.map((item, index) =>\n merge(\n item._clicked$.pipe(map(() => ({ index, updateOnly: false }))),\n item._focused$.pipe(map((focusedOn) => ({ index, updateOnly: focusedOn })))\n )\n );\n merge(...interactionChangesIndexes)\n .pipe(takeUntil(completion$))\n .subscribe(({ index, updateOnly }) => this.setItemActive(index, updateOnly));\n }\n}\n","<div class=\"fd-vertical-nav\" [class.fd-vertical-nav--condensed]=\"condensed\">\n <fd-vertical-navigation-main-navigation>\n <ul fd-list role=\"tree\">\n <ng-content></ng-content>\n </ul>\n </fd-vertical-navigation-main-navigation>\n</div>\n","import { NgModule } from '@angular/core';\nimport { VerticalNavigationGroupHeaderDirective } from './vertical-navigation-group-header.directive';\nimport { VerticalNavigationMainNavigationComponent } from './vertical-navigation-main-navigation.component';\nimport { VerticalNavigationComponent } from './vertical-navigation.component';\n\nconst components = [\n VerticalNavigationComponent,\n VerticalNavigationMainNavigationComponent,\n VerticalNavigationGroupHeaderDirective\n];\n\n/**\n * @deprecated\n * Use direct imports of `VerticalNavigationComponent`, `VerticalNavigationMainNavigationComponent`, `VerticalNavigationGroupHeaderDirective`\n */\n@NgModule({\n imports: [...components],\n exports: [...components]\n})\nexport class VerticalNavigationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAMa,sCAAsC,CAAA;AAJnD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AA,i/mBAAA,CAAA,EAAA;;sBAIlE;;sBAUA,eAAe;AAAC,gBAAA,IAAA,EAAA,CAAA,2BAA2B,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;;sBAMlE,eAAe;uBAAC,2BAA2B;;sBAuC3C,YAAY;uBAAC,SAAS,EAAE,CAAC,QAAQ,CAAC;;;AEvFvC,MAAM,UAAU,GAAG;IACf,2BAA2B;IAC3B,yCAAyC;IACzC;CACH;AAED;;;AAGG;MAKU,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAbjC,2BAA2B;YAC3B,yCAAyC;AACzC,YAAA,sCAAsC,aAFtC,2BAA2B;YAC3B,yCAAyC;YACzC,sCAAsC,CAAA,EAAA,CAAA,CAAA;AAW7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAbjC,2BAA2B,CAAA,EAAA,CAAA,CAAA;;2FAalB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU;AAC1B,iBAAA;;;AClBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"fundamental-ngx-core-vertical-navigation.mjs","sources":["../../../../libs/core/vertical-navigation/vertical-navigation-group-header.directive.ts","../../../../libs/core/vertical-navigation/vertical-navigation-main-navigation.component.ts","../../../../libs/core/vertical-navigation/vertical-navigation.component.ts","../../../../libs/core/vertical-navigation/vertical-navigation.component.html","../../../../libs/core/vertical-navigation/vertical-navigation.module.ts","../../../../libs/core/vertical-navigation/fundamental-ngx-core-vertical-navigation.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[fdVerticalNavigationGroupHeader], [fd-vertical-navigation-group-header]',\n standalone: true\n})\nexport class VerticalNavigationGroupHeaderDirective {\n /** @hidden */\n @HostBinding('class.fd-vertical-nav__group-header')\n fdVerticalNavigationGroupHeaderClass = true;\n}\n","import { ChangeDetectionStrategy, Component, ContentChild, ViewEncapsulation } from '@angular/core';\nimport { FD_LIST_COMPONENT, ListComponent } from '@fundamental-ngx/core/list';\nimport { FdTranslatePipe } from '@fundamental-ngx/i18n';\n\n@Component({\n selector: 'fd-vertical-navigation-main-navigation',\n template: `<nav\n [attr.aria-label]=\"('coreNavigation.mainNavigation' | fdTranslate)()\"\n class=\"fd-vertical-nav__main-navigation\"\n >\n <ng-content></ng-content>\n </nav>`,\n styleUrl: './vertical-navigation.component.scss',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [FdTranslatePipe]\n})\nexport class VerticalNavigationMainNavigationComponent {\n /** @hidden */\n @ContentChild(FD_LIST_COMPONENT)\n _list: ListComponent;\n}\n","import { FocusKeyManager } from '@angular/cdk/a11y';\nimport {\n AfterContentInit,\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n DestroyRef,\n HostListener,\n Input,\n OnDestroy,\n QueryList,\n ViewEncapsulation,\n effect,\n inject,\n signal\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { destroyObservable } from '@fundamental-ngx/cdk/utils';\nimport { ListComponent, ListNavigationItemComponent } from '@fundamental-ngx/core/list';\nimport { Subject, delay, map, merge, startWith, takeUntil } from 'rxjs';\nimport { VerticalNavigationMainNavigationComponent } from './vertical-navigation-main-navigation.component';\n\n/**\n * @deprecated use the (btp)vertical navigation component instead.\n * The side-navigation is a wrapping component representing\n * a left navigation that can always display or expand/collapse using the menu icon within the global navigation.\n */\n@Component({\n selector: 'fd-vertical-navigation',\n templateUrl: './vertical-navigation.component.html',\n styleUrl: './vertical-navigation.component.scss',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [VerticalNavigationMainNavigationComponent, ListComponent]\n})\nexport class VerticalNavigationComponent implements AfterContentInit, OnDestroy {\n /** Whether or not this component is to be shown in 'condensed' mode. */\n @Input()\n set condensed(value: boolean) {\n this._condensed.set(value);\n }\n\n get condensed(): boolean {\n return this._condensed();\n }\n\n /** @hidden */\n @ContentChildren(ListNavigationItemComponent, { descendants: true })\n private readonly _navigationItems: QueryList<ListNavigationItemComponent>;\n\n /** @hidden\n * Querylist of list-items in main navigation.\n */\n @ContentChildren(ListNavigationItemComponent)\n private set _mainItems(items: QueryList<ListNavigationItemComponent>) {\n this._mainNavItems.set(items?.toArray() ?? []);\n }\n\n /** @hidden */\n private _keyManager: FocusKeyManager<ListNavigationItemComponent>;\n\n /** An RxJS Subject that will kill the data stream upon component’s destruction (for unsubscribing) */\n private readonly _destroyRef = inject(DestroyRef);\n\n /** An RxJS Subject that will kill the data stream upon queryList changes (for unsubscribing) */\n private readonly _onRefresh$ = new Subject<void>();\n\n /** @hidden */\n private readonly _condensed = signal(false);\n\n /** @hidden */\n private readonly _contentInited = signal(false);\n\n /** @hidden */\n private readonly _mainNavItems = signal<ListNavigationItemComponent[]>([]);\n\n /** @hidden */\n constructor() {\n effect(() => {\n if (!this._contentInited()) {\n return;\n }\n\n const isCondensed = this._condensed();\n\n this._mainNavItems().forEach((item) => {\n item._condensed.set(isCondensed);\n });\n });\n }\n\n /** @hidden */\n @HostListener('keydown', ['$event'])\n keyDownHandler(event: KeyboardEvent): void {\n this._keyManager.onKeydown(event);\n event.stopPropagation();\n }\n\n /** @hidden */\n ngAfterContentInit(): void {\n this._contentInited.set(true);\n\n this._keyManager?.destroy();\n this._keyManager = new FocusKeyManager(this._navigationItems)\n .withHomeAndEnd()\n .skipPredicate((item) => !item._isItemVisible || (item._condensed() && item.expanded));\n this._listenOnQueryChange();\n }\n\n /** @hidden */\n ngOnDestroy(): void {\n this._keyManager?.destroy();\n this._onRefresh$.next();\n this._onRefresh$.complete();\n }\n\n /** Set fake focus on element with passed index */\n setItemActive(index: number, updateOnly = false): void {\n if (updateOnly) {\n this._keyManager.updateActiveItem(index);\n } else {\n this._keyManager.setActiveItem(index);\n }\n }\n\n /** @hidden */\n private _listenOnQueryChange(): void {\n this._navigationItems.changes\n .pipe(delay(0), startWith(0), takeUntilDestroyed(this._destroyRef))\n .subscribe(() => {\n this._listenOnItemsClick();\n setTimeout(() => {\n // using setTimeout to avoid ExpressionChangedAfterItHasBeenCheckedError\n this._navigationItems.forEach((navItem, index) => {\n index !== 0 && (navItem._tabIndex = -1);\n });\n });\n });\n }\n\n /** @hidden */\n private _listenOnItemsClick(): void {\n /** Finish all the streams, from before */\n this._onRefresh$.next();\n\n /** Merge refresh/destroy observables */\n const completion$ = merge(this._onRefresh$, destroyObservable(this._destroyRef));\n const interactionChangesIndexes = this._navigationItems.map((item, index) =>\n merge(\n item._clicked$.pipe(map(() => ({ index, updateOnly: false }))),\n item._focused$.pipe(map((focusedOn) => ({ index, updateOnly: focusedOn })))\n )\n );\n merge(...interactionChangesIndexes)\n .pipe(takeUntil(completion$))\n .subscribe(({ index, updateOnly }) => this.setItemActive(index, updateOnly));\n }\n}\n","<div class=\"fd-vertical-nav\" [class.fd-vertical-nav--condensed]=\"condensed\">\n <fd-vertical-navigation-main-navigation>\n <ul fd-list role=\"tree\">\n <ng-content></ng-content>\n </ul>\n </fd-vertical-navigation-main-navigation>\n</div>\n","import { NgModule } from '@angular/core';\nimport { VerticalNavigationGroupHeaderDirective } from './vertical-navigation-group-header.directive';\nimport { VerticalNavigationMainNavigationComponent } from './vertical-navigation-main-navigation.component';\nimport { VerticalNavigationComponent } from './vertical-navigation.component';\n\nconst components = [\n VerticalNavigationComponent,\n VerticalNavigationMainNavigationComponent,\n VerticalNavigationGroupHeaderDirective\n];\n\n/**\n * @deprecated\n * Use direct imports of `VerticalNavigationComponent`, `VerticalNavigationMainNavigationComponent`, `VerticalNavigationGroupHeaderDirective`\n */\n@NgModule({\n imports: [...components],\n exports: [...components]\n})\nexport class VerticalNavigationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAMa,sCAAsC,CAAA;AAJnD,IAAA,WAAA,GAAA;;QAOI,IAAA,CAAA,oCAAoC,GAAG,IAAI;AAC9C,IAAA;8GAJY,sCAAsC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAtC,sCAAsC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,qCAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAtC,sCAAsC,EAAA,UAAA,EAAA,CAAA;kBAJlD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,0EAA0E;AACpF,oBAAA,UAAU,EAAE;AACf,iBAAA;;sBAGI,WAAW;uBAAC,qCAAqC;;;MCSzC,yCAAyC,CAAA;8GAAzC,yCAAyC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAzC,yCAAyC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wCAAA,EAAA,OAAA,EAAA,CAAA,EAAA,YAAA,EAAA,OAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EA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,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,wBAAwB,YAbjC,2BAA2B,CAAA,EAAA,CAAA,CAAA;;2FAalB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU;AAC1B,iBAAA;;;AClBD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.62.0-rc.1",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
5
|
"ng-update": {
|
|
6
6
|
"migrations": "./schematics/migrations.json"
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@angular/forms": "^21.0.0",
|
|
24
24
|
"@angular/platform-browser": "^21.0.0",
|
|
25
25
|
"@angular/router": "^21.0.0",
|
|
26
|
-
"@fundamental-ngx/cdk": "0.
|
|
27
|
-
"@fundamental-ngx/i18n": "0.
|
|
26
|
+
"@fundamental-ngx/cdk": "0.62.0-rc.1",
|
|
27
|
+
"@fundamental-ngx/i18n": "0.62.0-rc.1",
|
|
28
28
|
"@sap-theming/theming-base-content": "^11.32.0",
|
|
29
29
|
"fundamental-styles": "0.40.1",
|
|
30
30
|
"rxjs": "^7.8.0"
|
|
@@ -31,6 +31,10 @@ declare class BarComponent implements OnChanges, OnInit, CssClassBuilder, OnDest
|
|
|
31
31
|
* Available sizes: 's' | 'm_l' | 'xl'
|
|
32
32
|
*/
|
|
33
33
|
size: SizeType;
|
|
34
|
+
/** Whether this bar is to be used for the search results initial suggestion title. */
|
|
35
|
+
initialSuggestionTitle: boolean;
|
|
36
|
+
/** Whether this bar is to be used for the search results initial suggestion subline. */
|
|
37
|
+
initialSuggestionSubline: boolean;
|
|
34
38
|
/** Aria role for the Bar
|
|
35
39
|
* default is toolbar
|
|
36
40
|
*/
|
|
@@ -52,31 +56,37 @@ declare class BarComponent implements OnChanges, OnInit, CssClassBuilder, OnDest
|
|
|
52
56
|
/** @hidden */
|
|
53
57
|
ngOnChanges(): void;
|
|
54
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BarComponent, "[fd-bar]", never, { "class": { "alias": "class"; "required": false; }; "barDesign": { "alias": "barDesign"; "required": false; }; "inPage": { "alias": "inPage"; "required": false; }; "inHomePage": { "alias": "inHomePage"; "required": false; }; "clear": { "alias": "clear"; "required": false; }; "size": { "alias": "size"; "required": false; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, ["[fd-bar-left]", "[fd-bar-middle]", "[fd-bar-right]", "*"], true, never>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BarComponent, "[fd-bar]", never, { "class": { "alias": "class"; "required": false; }; "barDesign": { "alias": "barDesign"; "required": false; }; "inPage": { "alias": "inPage"; "required": false; }; "inHomePage": { "alias": "inHomePage"; "required": false; }; "clear": { "alias": "clear"; "required": false; }; "size": { "alias": "size"; "required": false; }; "initialSuggestionTitle": { "alias": "initialSuggestionTitle"; "required": false; }; "initialSuggestionSubline": { "alias": "initialSuggestionSubline"; "required": false; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, ["[fd-bar-left]", "[fd-bar-middle]", "[fd-bar-right]", "*"], true, never>;
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
/**
|
|
59
63
|
* The left side area of the Bar component.
|
|
60
64
|
*/
|
|
61
65
|
declare class BarLeftDirective {
|
|
66
|
+
/** Whether to stack the contents of this portion of the bar vertically. */
|
|
67
|
+
readonly stackContentsVertically: i0.InputSignalWithTransform<boolean, unknown>;
|
|
62
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarLeftDirective, never>;
|
|
63
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BarLeftDirective, "[fd-bar-left]", never, {}, {}, never, never, true, never>;
|
|
69
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BarLeftDirective, "[fd-bar-left]", never, { "stackContentsVertically": { "alias": "stackContentsVertically"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
/**
|
|
67
73
|
* The middle section of the Bar component.
|
|
68
74
|
*/
|
|
69
75
|
declare class BarMiddleDirective {
|
|
76
|
+
/** Whether to stack the contents of this portion of the bar vertically. */
|
|
77
|
+
readonly stackContentsVertically: i0.InputSignalWithTransform<boolean, unknown>;
|
|
70
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarMiddleDirective, never>;
|
|
71
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BarMiddleDirective, "[fd-bar-middle]", never, {}, {}, never, never, true, never>;
|
|
79
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BarMiddleDirective, "[fd-bar-middle]", never, { "stackContentsVertically": { "alias": "stackContentsVertically"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
72
80
|
}
|
|
73
81
|
|
|
74
82
|
/**
|
|
75
83
|
* The right side area of the Bar component.
|
|
76
84
|
*/
|
|
77
85
|
declare class BarRightDirective {
|
|
86
|
+
/** Whether to stack the contents of this portion of the bar vertically. */
|
|
87
|
+
readonly stackContentsVertically: i0.InputSignalWithTransform<boolean, unknown>;
|
|
78
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarRightDirective, never>;
|
|
79
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BarRightDirective, "[fd-bar-right]", never, {}, {}, never, never, true, never>;
|
|
89
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BarRightDirective, "[fd-bar-right]", never, { "stackContentsVertically": { "alias": "stackContentsVertically"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
80
90
|
}
|
|
81
91
|
|
|
82
92
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DomPortal } from '@angular/cdk/portal';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { AfterViewInit, ElementRef,
|
|
3
|
+
import { AfterViewInit, ElementRef, EventEmitter, InjectionToken } from '@angular/core';
|
|
4
4
|
import * as i3 from '@fundamental-ngx/core/link';
|
|
5
5
|
import { LinkComponent } from '@fundamental-ngx/core/link';
|
|
6
6
|
import { HasElementRef } from '@fundamental-ngx/cdk/utils';
|
|
@@ -58,7 +58,7 @@ type BreadcrumbSeparatorStyle = '' | 'backslash' | 'double-slash' | 'double-back
|
|
|
58
58
|
* </fd-breadcrumb>
|
|
59
59
|
* ```
|
|
60
60
|
*/
|
|
61
|
-
declare class BreadcrumbComponent implements
|
|
61
|
+
declare class BreadcrumbComponent implements AfterViewInit, HasElementRef {
|
|
62
62
|
/** Whether to append items to the overflow dropdown in reverse order. Default is true. */
|
|
63
63
|
reverse: boolean;
|
|
64
64
|
/** Tabindex of the breadcrumb. */
|
|
@@ -99,20 +99,20 @@ declare class BreadcrumbComponent implements OnInit, AfterViewInit, HasElementRe
|
|
|
99
99
|
/** @hidden */
|
|
100
100
|
private readonly _rtlService;
|
|
101
101
|
/** @hidden */
|
|
102
|
-
private readonly
|
|
102
|
+
private readonly _langSignal;
|
|
103
103
|
/** @hidden */
|
|
104
104
|
private readonly _translationResolver;
|
|
105
105
|
/** @hidden */
|
|
106
106
|
private readonly _destroyRef;
|
|
107
107
|
/** @hidden */
|
|
108
|
+
constructor();
|
|
109
|
+
/** @hidden */
|
|
108
110
|
onResize(): void;
|
|
109
111
|
/**
|
|
110
112
|
* Function that handles click, touch, enter and space events.
|
|
111
113
|
*/
|
|
112
114
|
itemClicked(breadcrumbItem: BreadcrumbItemComponent, $event: Event): void;
|
|
113
115
|
/** @hidden */
|
|
114
|
-
ngOnInit(): void;
|
|
115
|
-
/** @hidden */
|
|
116
116
|
ngAfterViewInit(): void;
|
|
117
117
|
/** @hidden */
|
|
118
118
|
_keyDownHandle(event: Event): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { ElementRef, InjectionToken } from '@angular/core';
|
|
3
3
|
import { HasElementRef } from '@fundamental-ngx/cdk/utils';
|
|
4
|
-
import * as
|
|
5
|
-
import {
|
|
4
|
+
import * as _fundamental_ngx_i18n from '@fundamental-ngx/i18n';
|
|
5
|
+
import { TranslationResolver } from '@fundamental-ngx/i18n';
|
|
6
6
|
|
|
7
7
|
type BusyIndicatorSize = 's' | 'm' | 'l';
|
|
8
8
|
declare class BusyIndicatorComponent {
|
|
@@ -25,7 +25,7 @@ declare class BusyIndicatorComponent {
|
|
|
25
25
|
/** @hidden */
|
|
26
26
|
protected readonly fakeFocusElement: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
27
27
|
/** @hidden */
|
|
28
|
-
protected readonly
|
|
28
|
+
protected readonly _langSignal: _angular_core.WritableSignal<_fundamental_ngx_i18n.FdLanguage>;
|
|
29
29
|
/** @hidden */
|
|
30
30
|
protected readonly _translationResolver: TranslationResolver;
|
|
31
31
|
/** @hidden */
|
|
@@ -297,10 +297,12 @@ declare class ComboboxComponent<T = any> implements ComboboxInterface, SingleDro
|
|
|
297
297
|
/** @hidden */
|
|
298
298
|
clearInputBtnFocused: boolean;
|
|
299
299
|
/** @hidden */
|
|
300
|
-
get _customRenderer(): Nullable<TemplateRef<ComboboxItemDirectiveContext<T>>>;
|
|
301
|
-
/** @hidden */
|
|
302
300
|
_itemMousedown: boolean;
|
|
303
301
|
/** @hidden */
|
|
302
|
+
protected readonly _clearButtonTitle: i0.Signal<string>;
|
|
303
|
+
/** @hidden */
|
|
304
|
+
get _customRenderer(): Nullable<TemplateRef<ComboboxItemDirectiveContext<T>>>;
|
|
305
|
+
/** @hidden */
|
|
304
306
|
private _subscriptions;
|
|
305
307
|
/** @hidden */
|
|
306
308
|
private _value;
|
|
@@ -2,7 +2,6 @@ import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { InjectionToken, PipeTransform, Provider } from '@angular/core';
|
|
5
|
-
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
6
5
|
import * as i1 from '@angular/cdk/platform';
|
|
7
6
|
import { Platform } from '@angular/cdk/platform';
|
|
8
7
|
|
|
@@ -388,13 +387,10 @@ declare class DayPeriodFormatPipe<D> implements PipeTransform {
|
|
|
388
387
|
static ɵpipe: i0.ɵɵPipeDeclaration<DayPeriodFormatPipe<any>, "dayPeriodFormat", true>;
|
|
389
388
|
}
|
|
390
389
|
declare class TranslateDayPeriodPipe implements PipeTransform {
|
|
391
|
-
private _language$;
|
|
392
390
|
/** @hidden */
|
|
393
391
|
private readonly _translationResolver;
|
|
394
|
-
/** Signal that will hold the current language */
|
|
395
|
-
private readonly _currentLanguageSignal;
|
|
396
392
|
/** @hidden */
|
|
397
|
-
|
|
393
|
+
private readonly _currentLanguageSignal;
|
|
398
394
|
/** Format date object for day period */
|
|
399
395
|
transform(value: string | null): string | null;
|
|
400
396
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateDayPeriodPipe, never>;
|
|
@@ -533,8 +533,10 @@ declare abstract class DialogHeaderBase {
|
|
|
533
533
|
declare class DialogHeaderComponent extends DialogHeaderBase {
|
|
534
534
|
/** @hidden */
|
|
535
535
|
dialogConfig: DialogConfig<any>;
|
|
536
|
+
/** @hidden */
|
|
537
|
+
inShellbar: i0.InputSignalWithTransform<boolean, unknown>;
|
|
536
538
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogHeaderComponent, never>;
|
|
537
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "fd-dialog-header", never, {}, {}, never, ["[fd-title]", "[fd-dialog-full-screen-toggler-button]", "[fd-dialog-close-button]"], true, never>;
|
|
539
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "fd-dialog-header", never, { "inShellbar": { "alias": "inShellbar"; "required": false; "isSignal": true; }; }, {}, never, ["[fd-title]", "[fd-dialog-full-screen-toggler-button]", "[fd-dialog-close-button]"], true, never>;
|
|
538
540
|
}
|
|
539
541
|
|
|
540
542
|
interface DialogContainer<T> {
|
|
@@ -1001,7 +1003,7 @@ declare class DialogTemplateDirective<T = DialogConfig<any>> {
|
|
|
1001
1003
|
*/
|
|
1002
1004
|
declare class DialogModule {
|
|
1003
1005
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialogModule, never>;
|
|
1004
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof DialogComponent, typeof DialogBodyComponent, typeof DialogFooterComponent, typeof DialogHeaderComponent, typeof DialogDefaultComponent, typeof DialogContainerComponent, typeof DialogCloseButtonComponent, typeof DialogTitleDirective, typeof DialogFullScreenTogglerButtonComponent, typeof DialogTemplateDirective, typeof i11.
|
|
1006
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogModule, never, [typeof DialogComponent, typeof DialogBodyComponent, typeof DialogFooterComponent, typeof DialogHeaderComponent, typeof DialogDefaultComponent, typeof DialogContainerComponent, typeof DialogCloseButtonComponent, typeof DialogTitleDirective, typeof DialogFullScreenTogglerButtonComponent, typeof DialogTemplateDirective, typeof i11.TemplateDirective, typeof i12.BarComponent, typeof i12.BarLeftDirective, typeof i12.BarMiddleDirective, typeof i12.BarRightDirective, typeof i12.BarElementDirective, typeof i12.ButtonBarComponent, typeof i13.TitleComponent], [typeof DialogComponent, typeof DialogBodyComponent, typeof DialogFooterComponent, typeof DialogHeaderComponent, typeof DialogDefaultComponent, typeof DialogContainerComponent, typeof DialogCloseButtonComponent, typeof DialogTitleDirective, typeof DialogFullScreenTogglerButtonComponent, typeof DialogTemplateDirective, typeof i11.TemplateDirective, typeof i12.BarComponent, typeof i12.BarLeftDirective, typeof i12.BarMiddleDirective, typeof i12.BarRightDirective, typeof i12.BarElementDirective, typeof i12.ButtonBarComponent, typeof i13.TitleComponent]>;
|
|
1005
1007
|
static ɵinj: i0.ɵɵInjectorDeclaration<DialogModule>;
|
|
1006
1008
|
}
|
|
1007
1009
|
|
|
@@ -8,7 +8,6 @@ import { HeadingLevel, TabList } from '@fundamental-ngx/core/shared';
|
|
|
8
8
|
import { FlexibleColumnLayoutComponent } from '@fundamental-ngx/core/flexible-column-layout';
|
|
9
9
|
import { ScrollbarDirective } from '@fundamental-ngx/core/scrollbar';
|
|
10
10
|
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
11
|
-
import { Observable } from 'rxjs';
|
|
12
11
|
|
|
13
12
|
declare const DYNAMIC_PAGE_CLASS_NAME: {
|
|
14
13
|
readonly dynamicPage: "fd-dynamic-page";
|
|
@@ -535,7 +534,7 @@ declare const FD_DYNAMIC_PAGE: InjectionToken<DynamicPage>;
|
|
|
535
534
|
/**
|
|
536
535
|
* Patch header i18n texts
|
|
537
536
|
*/
|
|
538
|
-
declare function patchHeaderI18nTexts(config?: DynamicPageConfig):
|
|
537
|
+
declare function patchHeaderI18nTexts(config?: DynamicPageConfig): Signal<FdLanguage>;
|
|
539
538
|
|
|
540
539
|
declare const FD_DYNAMIC_PAGE_BREADCRUMB_COMPONENT: InjectionToken<unknown>;
|
|
541
540
|
|
|
@@ -108,6 +108,11 @@ declare class ListIconDirective implements OnChanges, OnInit, CssClassBuilder {
|
|
|
108
108
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ListIconDirective, "[fdListIcon], [fd-list-icon]", never, { "glyph": { "alias": "glyph"; "required": false; }; "glyphFont": { "alias": "glyphFont"; "required": false; }; "class": { "alias": "class"; "required": false; }; "role": { "alias": "role"; "required": false; }; "ariaHidden": { "alias": "ariaHidden"; "required": false; }; }, {}, never, never, true, never>;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
+
declare class ListInfoLabelDirective {
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListInfoLabelDirective, never>;
|
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ListInfoLabelDirective, "[fd-list-info-label], [fdListInfoLabel]", never, {}, {}, never, never, true, never>;
|
|
114
|
+
}
|
|
115
|
+
|
|
111
116
|
declare class ListLinkDirective implements OnChanges {
|
|
112
117
|
elementRef: ElementRef;
|
|
113
118
|
/** Defines if navigation indicator arrow should be included inside list item */
|
|
@@ -184,12 +189,14 @@ declare class ListTitleDirective implements OnInit {
|
|
|
184
189
|
readonly wrap: i0.InputSignalWithTransform<boolean, unknown>;
|
|
185
190
|
/** Whether the text should truncate with ellipsis. */
|
|
186
191
|
readonly truncate: i0.InputSignalWithTransform<boolean, unknown>;
|
|
192
|
+
/** Whether this title is used for scope in the shell search results. */
|
|
193
|
+
readonly scope: i0.InputSignalWithTransform<boolean, unknown>;
|
|
187
194
|
/** @hidden */
|
|
188
195
|
readonly elRef: ElementRef<any>;
|
|
189
196
|
/** @hidden */
|
|
190
197
|
ngOnInit(): void;
|
|
191
198
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListTitleDirective, never>;
|
|
192
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ListTitleDirective, "[fd-list-title], [fdListTitle]", never, { "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "truncate": { "alias": "truncate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
199
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ListTitleDirective, "[fd-list-title], [fdListTitle]", never, { "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "truncate": { "alias": "truncate"; "required": false; "isSignal": true; }; "scope": { "alias": "scope"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
193
200
|
}
|
|
194
201
|
|
|
195
202
|
declare class ListSublineDirective {
|
|
@@ -267,6 +274,10 @@ declare class ListItemComponent<T = any> extends ListFocusItem<T> implements Aft
|
|
|
267
274
|
growing: boolean;
|
|
268
275
|
/** Counter on list item */
|
|
269
276
|
counter: number;
|
|
277
|
+
/** Counter aria role */
|
|
278
|
+
counterRole: string;
|
|
279
|
+
/** Counter aria label */
|
|
280
|
+
counterAriaLabel: string;
|
|
270
281
|
/** Whether list item shows active indicator. Used only in List with Subline. */
|
|
271
282
|
active: boolean;
|
|
272
283
|
/** Whether list item should contain additional unRead styles */
|
|
@@ -291,6 +302,8 @@ declare class ListItemComponent<T = any> extends ListFocusItem<T> implements Aft
|
|
|
291
302
|
set checkbox(value: CheckboxComponent);
|
|
292
303
|
get checkbox(): CheckboxComponent;
|
|
293
304
|
/** @hidden */
|
|
305
|
+
listTitle: ListTitleDirective;
|
|
306
|
+
/** @hidden */
|
|
294
307
|
linkDirectives: QueryList<ListLinkDirective>;
|
|
295
308
|
/** @hidden */
|
|
296
309
|
buttons: QueryList<ButtonComponent>;
|
|
@@ -302,6 +315,8 @@ declare class ListItemComponent<T = any> extends ListFocusItem<T> implements Aft
|
|
|
302
315
|
readonly _list: _fundamental_ngx_core_list.ListComponentInterface | null;
|
|
303
316
|
/** Template ref for Settings list item */
|
|
304
317
|
settingsListTpl: i0.InputSignal<TemplateRef<any> | undefined>;
|
|
318
|
+
/** @hidden Whether this is a suggestion type list item. */
|
|
319
|
+
readonly suggestion: i0.InputSignalWithTransform<boolean, unknown>;
|
|
305
320
|
/** @hidden */
|
|
306
321
|
private _role;
|
|
307
322
|
/** @hidden An RxJS Subject that will kill the data stream upon component’s destruction (for unsubscribing) */
|
|
@@ -335,7 +350,7 @@ declare class ListItemComponent<T = any> extends ListFocusItem<T> implements Aft
|
|
|
335
350
|
/** @hidden */
|
|
336
351
|
private _muteEvent;
|
|
337
352
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListItemComponent<any>, never>;
|
|
338
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent<any>, "[fdListItem] ,[fd-list-item]", ["fdListItem"], { "selected": { "alias": "selected"; "required": false; }; "noData": { "alias": "noData"; "required": false; }; "action": { "alias": "action"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "growing": { "alias": "growing"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "active": { "alias": "active"; "required": false; }; "unread": { "alias": "unread"; "required": false; }; "byline": { "alias": "byline"; "required": false; }; "ariaRole": { "alias": "ariaRole"; "required": false; }; "id": { "alias": "id"; "required": false; }; "preventClick": { "alias": "preventClick"; "required": false; }; "settingsListTpl": { "alias": "settingsListTpl"; "required": false; "isSignal": true; }; }, { "keyDown": "keyDown"; }, ["radio", "checkbox", "linkDirectives", "buttons"], ["fd-checkbox", "fd-radio-button", "*"], true, never>;
|
|
353
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent<any>, "[fdListItem] ,[fd-list-item]", ["fdListItem"], { "selected": { "alias": "selected"; "required": false; }; "noData": { "alias": "noData"; "required": false; }; "action": { "alias": "action"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "growing": { "alias": "growing"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "counterRole": { "alias": "counterRole"; "required": false; }; "counterAriaLabel": { "alias": "counterAriaLabel"; "required": false; }; "active": { "alias": "active"; "required": false; }; "unread": { "alias": "unread"; "required": false; }; "byline": { "alias": "byline"; "required": false; }; "ariaRole": { "alias": "ariaRole"; "required": false; }; "id": { "alias": "id"; "required": false; }; "preventClick": { "alias": "preventClick"; "required": false; }; "settingsListTpl": { "alias": "settingsListTpl"; "required": false; "isSignal": true; }; "suggestion": { "alias": "suggestion"; "required": false; "isSignal": true; }; }, { "keyDown": "keyDown"; }, ["radio", "checkbox", "listTitle", "linkDirectives", "buttons"], ["fd-checkbox", "fd-radio-button", "*"], true, never>;
|
|
339
354
|
}
|
|
340
355
|
|
|
341
356
|
declare class ListMessageDirective implements OnChanges, OnInit, CssClassBuilder {
|
|
@@ -490,6 +505,10 @@ declare class ListComponent implements ListComponentInterface, ListUnreadIndicat
|
|
|
490
505
|
settingsList: i0.InputSignalWithTransform<boolean, unknown>;
|
|
491
506
|
/** Whether the list is used inside Settings Dialog Footer */
|
|
492
507
|
settingsListFooter: i0.InputSignalWithTransform<boolean, unknown>;
|
|
508
|
+
/** @hidden Whether the list is the shell search results list. */
|
|
509
|
+
searchResultsList: i0.InputSignal<boolean>;
|
|
510
|
+
/** @hidden */
|
|
511
|
+
elementRef: ElementRef<any>;
|
|
493
512
|
/**
|
|
494
513
|
* @hidden
|
|
495
514
|
* Default role for lists
|
|
@@ -526,7 +545,7 @@ declare class ListComponent implements ListComponentInterface, ListUnreadIndicat
|
|
|
526
545
|
/** @hidden */
|
|
527
546
|
private _listenOnListFocusEscape;
|
|
528
547
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
529
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "[fd-list], [fdList]", never, { "dropdownMode": { "alias": "dropdownMode"; "required": false; }; "multiInputMode": { "alias": "multiInputMode"; "required": false; }; "mobileMode": { "alias": "mobileMode"; "required": false; }; "hasMessage": { "alias": "hasMessage"; "required": false; }; "noBorder": { "alias": "noBorder"; "required": false; }; "navigationIndicator": { "alias": "navigationIndicator"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "keyboardSupport": { "alias": "keyboardSupport"; "required": false; }; "byline": { "alias": "byline"; "required": false; }; "subline": { "alias": "subline"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "unreadIndicator": { "alias": "unreadIndicator"; "required": false; }; "role": { "alias": "role"; "required": false; }; "settingsList": { "alias": "settingsList"; "required": false; "isSignal": true; }; "settingsListFooter": { "alias": "settingsListFooter"; "required": false; "isSignal": true; }; }, { "focusEscapeList": "focusEscapeList"; }, ["items", "_navItems", "_focusItems"], ["*"], true, never>;
|
|
548
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "[fd-list], [fdList]", never, { "dropdownMode": { "alias": "dropdownMode"; "required": false; }; "multiInputMode": { "alias": "multiInputMode"; "required": false; }; "mobileMode": { "alias": "mobileMode"; "required": false; }; "hasMessage": { "alias": "hasMessage"; "required": false; }; "noBorder": { "alias": "noBorder"; "required": false; }; "navigationIndicator": { "alias": "navigationIndicator"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "keyboardSupport": { "alias": "keyboardSupport"; "required": false; }; "byline": { "alias": "byline"; "required": false; }; "subline": { "alias": "subline"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "unreadIndicator": { "alias": "unreadIndicator"; "required": false; }; "role": { "alias": "role"; "required": false; }; "settingsList": { "alias": "settingsList"; "required": false; "isSignal": true; }; "settingsListFooter": { "alias": "settingsListFooter"; "required": false; "isSignal": true; }; "searchResultsList": { "alias": "searchResultsList"; "required": false; "isSignal": true; }; }, { "focusEscapeList": "focusEscapeList"; }, ["items", "_navItems", "_focusItems"], ["*"], true, never>;
|
|
530
549
|
}
|
|
531
550
|
|
|
532
551
|
/**
|
|
@@ -535,7 +554,7 @@ declare class ListComponent implements ListComponentInterface, ListUnreadIndicat
|
|
|
535
554
|
*/
|
|
536
555
|
declare class ListModule {
|
|
537
556
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListModule, never>;
|
|
538
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ListModule, never, [typeof ListComponent, typeof ListItemComponent, typeof ListTitleDirective, typeof ListFooterDirective, typeof ListGroupHeaderDirective, typeof ListSecondaryDirective, typeof ListIconDirective, typeof ListMessageDirective, typeof ListLinkDirective, typeof ListBylineDirective, typeof ListBylineLeftDirective, typeof ListBylineRightDirective, typeof ListContentDirective, typeof ListThumbnailDirective, typeof ListTitleTextDirective, typeof ListNavigationItemComponent, typeof ListNavigationItemArrowDirective, typeof ListNavigationItemTextDirective, typeof ListSublineDirective], [typeof ListComponent, typeof ListItemComponent, typeof ListTitleDirective, typeof ListFooterDirective, typeof ListGroupHeaderDirective, typeof ListSecondaryDirective, typeof ListIconDirective, typeof ListMessageDirective, typeof ListLinkDirective, typeof ListBylineDirective, typeof ListBylineLeftDirective, typeof ListBylineRightDirective, typeof ListContentDirective, typeof ListThumbnailDirective, typeof ListTitleTextDirective, typeof ListNavigationItemComponent, typeof ListNavigationItemArrowDirective, typeof ListNavigationItemTextDirective, typeof ListSublineDirective]>;
|
|
557
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ListModule, never, [typeof ListComponent, typeof ListItemComponent, typeof ListTitleDirective, typeof ListFooterDirective, typeof ListGroupHeaderDirective, typeof ListSecondaryDirective, typeof ListIconDirective, typeof ListMessageDirective, typeof ListLinkDirective, typeof ListBylineDirective, typeof ListBylineLeftDirective, typeof ListBylineRightDirective, typeof ListContentDirective, typeof ListThumbnailDirective, typeof ListTitleTextDirective, typeof ListInfoLabelDirective, typeof ListNavigationItemComponent, typeof ListNavigationItemArrowDirective, typeof ListNavigationItemTextDirective, typeof ListSublineDirective], [typeof ListComponent, typeof ListItemComponent, typeof ListTitleDirective, typeof ListFooterDirective, typeof ListGroupHeaderDirective, typeof ListSecondaryDirective, typeof ListIconDirective, typeof ListMessageDirective, typeof ListLinkDirective, typeof ListBylineDirective, typeof ListBylineLeftDirective, typeof ListBylineRightDirective, typeof ListContentDirective, typeof ListThumbnailDirective, typeof ListTitleTextDirective, typeof ListInfoLabelDirective, typeof ListNavigationItemComponent, typeof ListNavigationItemArrowDirective, typeof ListNavigationItemTextDirective, typeof ListSublineDirective]>;
|
|
539
558
|
static ɵinj: i0.ɵɵInjectorDeclaration<ListModule>;
|
|
540
559
|
}
|
|
541
560
|
|
|
@@ -544,5 +563,5 @@ declare const FD_LIST_LINK_DIRECTIVE: InjectionToken<unknown>;
|
|
|
544
563
|
declare const FD_LIST_COMPONENT: InjectionToken<ListComponentInterface>;
|
|
545
564
|
declare const FD_LIST_UNREAD_INDICATOR: InjectionToken<ListComponentInterface>;
|
|
546
565
|
|
|
547
|
-
export { FD_LIST_COMPONENT, FD_LIST_LINK_DIRECTIVE, FD_LIST_MESSAGE_DIRECTIVE, FD_LIST_UNREAD_INDICATOR, ListBylineDirective, ListBylineLeftDirective, ListBylineRightDirective, ListComponent, ListContentDirective, ListFocusItem, ListFooterDirective, ListGroupHeaderDirective, ListIconDirective, ListItemComponent, ListLinkDirective, ListMessageDirective, ListModule, ListNavigationItemArrowDirective, ListNavigationItemComponent, ListNavigationItemTextDirective, ListSecondaryDirective, ListSublineDirective, ListThumbnailDirective, ListTitleDirective, ListTitleTextDirective, _secondaryListItemTypes };
|
|
566
|
+
export { FD_LIST_COMPONENT, FD_LIST_LINK_DIRECTIVE, FD_LIST_MESSAGE_DIRECTIVE, FD_LIST_UNREAD_INDICATOR, ListBylineDirective, ListBylineLeftDirective, ListBylineRightDirective, ListComponent, ListContentDirective, ListFocusItem, ListFooterDirective, ListGroupHeaderDirective, ListIconDirective, ListInfoLabelDirective, ListItemComponent, ListLinkDirective, ListMessageDirective, ListModule, ListNavigationItemArrowDirective, ListNavigationItemComponent, ListNavigationItemTextDirective, ListSecondaryDirective, ListSublineDirective, ListThumbnailDirective, ListTitleDirective, ListTitleTextDirective, _secondaryListItemTypes };
|
|
548
567
|
export type { ListBylineStatus, ListComponentInterface, ListUnreadIndicator, SecondaryListItemType };
|
|
@@ -174,6 +174,8 @@ declare class SegmentedButtonOptionDirective<T> implements AfterViewInit, HasEle
|
|
|
174
174
|
/** @hidden */
|
|
175
175
|
private _selected$;
|
|
176
176
|
/** @hidden */
|
|
177
|
+
private readonly _destroyRef;
|
|
178
|
+
/** @hidden */
|
|
177
179
|
constructor();
|
|
178
180
|
/** @hidden */
|
|
179
181
|
_onClick($event: Event): void;
|
|
@@ -291,7 +291,7 @@ declare class MessageBoxTemplateDirective<T = MessageBoxConfig<any>> {
|
|
|
291
291
|
*/
|
|
292
292
|
declare class MessageBoxModule {
|
|
293
293
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageBoxModule, never>;
|
|
294
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MessageBoxModule, never, [typeof i1.
|
|
294
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MessageBoxModule, never, [typeof i1.TemplateDirective, typeof i1.InitialFocusModule, typeof i2.TitleComponent, typeof MessageBoxSemanticIconComponent, typeof MessageBoxContainerComponent, typeof MessageBoxDefaultComponent, typeof MessageBoxFooterComponent, typeof MessageBoxHeaderComponent, typeof MessageBoxBodyComponent, typeof MessageBoxComponent, typeof MessageBoxTemplateDirective], [typeof MessageBoxSemanticIconComponent, typeof MessageBoxContainerComponent, typeof MessageBoxDefaultComponent, typeof MessageBoxFooterComponent, typeof MessageBoxHeaderComponent, typeof MessageBoxBodyComponent, typeof MessageBoxComponent, typeof MessageBoxTemplateDirective, typeof i1.TemplateDirective, typeof i1.InitialFocusModule, typeof i2.TitleComponent]>;
|
|
295
295
|
static ɵinj: i0.ɵɵInjectorDeclaration<MessageBoxModule>;
|
|
296
296
|
}
|
|
297
297
|
|
|
@@ -4,7 +4,6 @@ import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { TemplateRef, Type, InjectionToken, ElementRef } from '@angular/core';
|
|
6
6
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
7
|
-
import { Observable as Observable$1 } from 'rxjs/internal/Observable';
|
|
8
7
|
|
|
9
8
|
type MessageStripAlertVerticalPosition = 'top' | 'bottom';
|
|
10
9
|
type MessageStripAlertHorizontalPosition = 'start' | 'middle' | 'end';
|
|
@@ -265,27 +264,19 @@ declare class MessageStripComponent {
|
|
|
265
264
|
*/
|
|
266
265
|
protected readonly typeSpecificIconName: _angular_core.Signal<"" | MessageStringIconEnum>;
|
|
267
266
|
/** message strip information read by screen readers */
|
|
268
|
-
protected messageStripHiddenText
|
|
267
|
+
protected messageStripHiddenText: _angular_core.Signal<string>;
|
|
269
268
|
/** default dismiss button text read by screen readers */
|
|
270
|
-
protected defaultDismissButtonText
|
|
269
|
+
protected defaultDismissButtonText: _angular_core.Signal<string>;
|
|
271
270
|
/** @hidden */
|
|
272
271
|
private readonly _destroyRef;
|
|
273
272
|
/** @hidden */
|
|
274
|
-
private readonly
|
|
273
|
+
private readonly _langSignal;
|
|
275
274
|
/** @hidden */
|
|
276
275
|
private readonly _translationResolver;
|
|
277
|
-
/** @hidden */
|
|
278
|
-
constructor();
|
|
279
276
|
/**
|
|
280
277
|
* Dismisses the message-strip.
|
|
281
278
|
*/
|
|
282
279
|
dismiss(): void;
|
|
283
|
-
/** @hidden */
|
|
284
|
-
private _translateAnnouncement;
|
|
285
|
-
/** @hidden */
|
|
286
|
-
private _buildMessageStripHiddenText;
|
|
287
|
-
/** @hidden **/
|
|
288
|
-
private _getHiddenButtonText;
|
|
289
280
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MessageStripComponent, never>;
|
|
290
281
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MessageStripComponent, "fd-message-strip", never, { "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "dismissBtnTitle": { "alias": "dismissBtnTitle"; "required": false; "isSignal": true; }; "noIcon": { "alias": "noIcon"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "marginBottom": { "alias": "marginBottom"; "required": false; "isSignal": true; }; "indicationColor": { "alias": "indicationColor"; "required": false; "isSignal": true; }; }, { "onDismiss": "onDismiss"; }, ["icon"], ["*"], true, never>;
|
|
291
282
|
}
|
|
@@ -721,7 +721,7 @@ declare class MultiComboboxComponent<T = any> extends BaseMultiCombobox<T> imple
|
|
|
721
721
|
* Observable stream of the current language configuration.
|
|
722
722
|
* @hidden
|
|
723
723
|
*/
|
|
724
|
-
private readonly
|
|
724
|
+
private readonly _langSignal;
|
|
725
725
|
/**
|
|
726
726
|
* Helper for resolving translation keys to localized strings.
|
|
727
727
|
* @hidden
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, QueryList, ChangeDetectorRef, ElementRef, AfterContentInit
|
|
3
|
-
import { Subject
|
|
2
|
+
import { EventEmitter, QueryList, ChangeDetectorRef, ElementRef, AfterContentInit } from '@angular/core';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
4
|
import { DefaultMenuItem, MenuKeyboardService } from '@fundamental-ngx/core/menu';
|
|
5
5
|
import { Nullable } from '@fundamental-ngx/cdk/utils';
|
|
6
6
|
import { IconComponent } from '@fundamental-ngx/core/icon';
|
|
7
7
|
import { PopoverComponent } from '@fundamental-ngx/core/popover';
|
|
8
8
|
import { Placement } from '@fundamental-ngx/core/shared';
|
|
9
9
|
import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
10
|
-
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
11
10
|
|
|
12
11
|
/** Interface, to reduce amount of circular dependency warnings */
|
|
13
12
|
interface NestedItemInterface extends DefaultMenuItem {
|
|
@@ -406,13 +405,12 @@ declare class NestedListPopoverComponent implements NestedListPopoverInterface,
|
|
|
406
405
|
* </div>
|
|
407
406
|
* </div>
|
|
408
407
|
*/
|
|
409
|
-
declare class NestedListDirective implements AfterContentInit, NestedListInterface
|
|
408
|
+
declare class NestedListDirective implements AfterContentInit, NestedListInterface {
|
|
410
409
|
private _nestedItemService;
|
|
411
410
|
private _nestedListKeyboardService;
|
|
412
411
|
private _elementRef;
|
|
413
412
|
private _changeDetectionRef;
|
|
414
413
|
private readonly _nestedListStateService;
|
|
415
|
-
private _language$;
|
|
416
414
|
/** In case the user wants to no use icons for items in this list */
|
|
417
415
|
textOnly: boolean;
|
|
418
416
|
/** Aria defines role description for the Nested List Tree. */
|
|
@@ -442,13 +440,15 @@ declare class NestedListDirective implements AfterContentInit, NestedListInterfa
|
|
|
442
440
|
/** @hidden */
|
|
443
441
|
protected _tabindex: string;
|
|
444
442
|
/** @hidden */
|
|
445
|
-
private _subscriptions;
|
|
446
|
-
/** @hidden */
|
|
447
443
|
private readonly _translationResolver;
|
|
448
444
|
/** @hidden */
|
|
449
|
-
|
|
445
|
+
private readonly _langSignal;
|
|
446
|
+
/** @hidden */
|
|
447
|
+
private readonly _destroyRef;
|
|
448
|
+
/** @hidden */
|
|
449
|
+
private readonly _injector;
|
|
450
450
|
/** @hidden */
|
|
451
|
-
|
|
451
|
+
constructor(_nestedItemService: NestedItemService, _nestedListKeyboardService: NestedListKeyboardService, _elementRef: ElementRef, _changeDetectionRef: ChangeDetectorRef, _nestedListStateService: NestedListStateService, _contentDensityObserver: ContentDensityObserver);
|
|
452
452
|
/** @hidden */
|
|
453
453
|
ngAfterContentInit(): void;
|
|
454
454
|
/** @hidden */
|
|
@@ -464,7 +464,7 @@ declare class NestedListDirective implements AfterContentInit, NestedListInterfa
|
|
|
464
464
|
private _setAriaAttributes;
|
|
465
465
|
/** @hidden */
|
|
466
466
|
private _setAccessibilityProperties;
|
|
467
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NestedListDirective, [{ optional: true; }, null, null, null, null, null
|
|
467
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NestedListDirective, [{ optional: true; }, null, null, null, null, null]>;
|
|
468
468
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NestedListDirective, "[fdNestedList], [fd-nested-list]", never, { "textOnly": { "alias": "textOnly"; "required": false; }; "ariaRoledescriptionTree": { "alias": "ariaRoledescriptionTree"; "required": false; }; "ariaRoledescriptionMenuBar": { "alias": "ariaRoledescriptionMenuBar"; "required": false; }; "ariaLabelSelected": { "alias": "ariaLabelSelected"; "required": false; }; }, {}, ["_nestedListHeader", "nestedItems"], never, true, never>;
|
|
469
469
|
}
|
|
470
470
|
|
|
@@ -245,7 +245,7 @@ declare class NotificationGroupHeaderComponent extends NotificationGroupBaseDire
|
|
|
245
245
|
/** @hidden */
|
|
246
246
|
private readonly _rtlService;
|
|
247
247
|
/** @hidden */
|
|
248
|
-
private readonly
|
|
248
|
+
private readonly _langSignal;
|
|
249
249
|
/** @hidden */
|
|
250
250
|
private readonly _translationResolver;
|
|
251
251
|
constructor();
|
|
@@ -397,7 +397,7 @@ declare class NotificationGroupListComponent implements AfterViewInit {
|
|
|
397
397
|
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationGroupListComponent, "fd-notification-group-list", never, { "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, ["notifications"], ["*"], true, never>;
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
declare class NotificationGroupComponent implements
|
|
400
|
+
declare class NotificationGroupComponent implements AfterViewInit {
|
|
401
401
|
/**
|
|
402
402
|
* Whether the group is expanded
|
|
403
403
|
* default value is false
|
|
@@ -427,15 +427,13 @@ declare class NotificationGroupComponent implements OnInit, AfterViewInit {
|
|
|
427
427
|
/** @hidden */
|
|
428
428
|
private _collapsedString;
|
|
429
429
|
/** @hidden */
|
|
430
|
-
private readonly
|
|
431
|
-
/** @hidden */
|
|
432
|
-
private readonly _lang$;
|
|
430
|
+
private readonly _langSignal;
|
|
433
431
|
/** @hidden */
|
|
434
432
|
private _translationResolver;
|
|
435
433
|
/** @hidden */
|
|
436
|
-
|
|
434
|
+
constructor();
|
|
437
435
|
/** @hidden */
|
|
438
|
-
|
|
436
|
+
ngAfterViewInit(): void;
|
|
439
437
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationGroupComponent, never>;
|
|
440
438
|
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationGroupComponent, "fd-notification-group", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, ["groupHeader", "groupTitle", "groupList"], ["fd-notification-group-header", "fd-notification-group-list", "fd-notification-group-growing-item"], true, never>;
|
|
441
439
|
}
|
|
@@ -2,10 +2,8 @@ import { LiveAnnouncer, FocusableOption } from '@angular/cdk/a11y';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { OnChanges, AfterViewInit, OnDestroy, QueryList, ElementRef, TemplateRef, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
4
4
|
import { NgModel } from '@angular/forms';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
5
|
import { FocusKeyManagerListDirective, FocusKeyManagerItemDirective } from '@fundamental-ngx/cdk/utils';
|
|
7
6
|
import { ContentDensityObserver } from '@fundamental-ngx/core/content-density';
|
|
8
|
-
import { FdLanguage } from '@fundamental-ngx/i18n';
|
|
9
7
|
|
|
10
8
|
interface Pagination {
|
|
11
9
|
totalItems: number;
|
|
@@ -58,7 +56,6 @@ declare class PaginationComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
58
56
|
private readonly paginationService;
|
|
59
57
|
private readonly _cdr;
|
|
60
58
|
private readonly _liveAnnouncer;
|
|
61
|
-
private readonly _language;
|
|
62
59
|
readonly _contentDensityObserver: ContentDensityObserver;
|
|
63
60
|
/** @hidden */
|
|
64
61
|
readonly _focusKeyManagerList: FocusKeyManagerListDirective;
|
|
@@ -139,7 +136,9 @@ declare class PaginationComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
139
136
|
/** @hidden */
|
|
140
137
|
private readonly _rtlService;
|
|
141
138
|
/** @hidden */
|
|
142
|
-
|
|
139
|
+
private readonly _languageSignal;
|
|
140
|
+
/** @hidden */
|
|
141
|
+
constructor(paginationService: PaginationService, _cdr: ChangeDetectorRef, _liveAnnouncer: LiveAnnouncer, _contentDensityObserver: ContentDensityObserver);
|
|
143
142
|
/** @hidden */
|
|
144
143
|
ngOnChanges(changes: SimpleChanges): void;
|
|
145
144
|
/** @hidden */
|