@fundamental-ngx/platform 0.64.1-rc.1 → 0.64.1-rc.3

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.
@@ -1,6 +1,6 @@
1
1
  import { ENTER, SPACE, TAB, ESCAPE, DOWN_ARROW, UP_ARROW } from '@angular/cdk/keycodes';
2
2
  import * as i0 from '@angular/core';
3
- import { InjectionToken, Injectable, Directive, EventEmitter, inject, ElementRef, HostListener, Input, ViewChild, Output, Optional, Inject, forwardRef, ChangeDetectionStrategy, Component, NgModule, ViewEncapsulation, ContentChildren, ContentChild } from '@angular/core';
3
+ import { InjectionToken, Injectable, Directive, EventEmitter, inject, ElementRef, HostListener, Input, ViewChild, Output, Optional, Inject, forwardRef, ChangeDetectionStrategy, Component, NgModule, HostBinding, ViewEncapsulation, ContentChildren, ContentChild } from '@angular/core';
4
4
  import { merge, KeyUtil, range } from '@fundamental-ngx/cdk/utils';
5
5
  import { AsyncPipe, NgTemplateOutlet, NgClass } from '@angular/common';
6
6
  import { FD_LIST_UNREAD_INDICATOR, ListItemComponent, ListLinkDirective, ListTitleDirective, ListSecondaryDirective, ListGroupHeaderDirective, ListComponent as ListComponent$1, ListThumbnailDirective } from '@fundamental-ngx/core/list';
@@ -639,14 +639,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
639
639
 
640
640
  class FreeContentListItemComponent extends BaseListItem {
641
641
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FreeContentListItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
642
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: FreeContentListItemComponent, isStandalone: true, selector: "fdp-free-content-list-item, li[fdp-free-content-list-item]", host: { attributes: { "role": "listitem" } }, providers: [{ provide: BaseListItem, useExisting: forwardRef(() => FreeContentListItemComponent) }], usesInheritance: true, ngImport: i0, template: "<div\n #listItem\n [class.fd-list__item--unread]=\"unRead\"\n fd-list-item\n [id]=\"id\"\n [selected]=\"_selected\"\n [tabindex]=\"-1\"\n (click)=\"_onItemClick()\"\n (keydown)=\"_onKeyDown($event)\"\n (keyup)=\"_onKeyUp($event)\"\n class=\"fd-list__item--link\"\n [class.fd-list__item--inactive]=\"listType === 'inactive'\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [attr.aria-level]=\"ariaLevel\"\n [attr.aria-posinset]=\"ariaPosinset\"\n [attr.aria-setsize]=\"ariaSetSize | async\"\n [ariaRole]=\"_listItemRole\"\n [attr.aria-selected]=\"_selectedAttr\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: ListItemComponent, selector: "[fdListItem] ,[fd-list-item]", inputs: ["selected", "noData", "action", "interactive", "growing", "counter", "counterRole", "counterAriaLabel", "active", "unread", "byline", "ariaRole", "id", "preventClick", "settingsListTpl", "suggestion"], outputs: ["keyDown"], exportAs: ["fdListItem"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
642
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: FreeContentListItemComponent, isStandalone: true, selector: "fdp-free-content-list-item, li[fdp-free-content-list-item]", inputs: { role: "role", listItemRole: "listItemRole" }, host: { properties: { "attr.role": "this.role" } }, providers: [{ provide: BaseListItem, useExisting: forwardRef(() => FreeContentListItemComponent) }], usesInheritance: true, ngImport: i0, template: "<div\n #listItem\n [class.fd-list__item--unread]=\"unRead\"\n fd-list-item\n [id]=\"id\"\n [selected]=\"_selected\"\n [tabindex]=\"-1\"\n (click)=\"_onItemClick()\"\n (keydown)=\"_onKeyDown($event)\"\n (keyup)=\"_onKeyUp($event)\"\n class=\"fd-list__item--link\"\n [class.fd-list__item--inactive]=\"listType === 'inactive'\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [attr.aria-level]=\"ariaLevel\"\n [attr.aria-posinset]=\"ariaPosinset\"\n [attr.aria-setsize]=\"ariaSetSize | async\"\n [attr.aria-selected]=\"_selectedAttr\"\n [ariaRole]=\"listItemRole\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: ListItemComponent, selector: "[fdListItem] ,[fd-list-item]", inputs: ["selected", "noData", "action", "interactive", "growing", "counter", "counterRole", "counterAriaLabel", "active", "unread", "byline", "ariaRole", "id", "preventClick", "settingsListTpl", "suggestion"], outputs: ["keyDown"], exportAs: ["fdListItem"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
643
643
  }
644
644
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FreeContentListItemComponent, decorators: [{
645
645
  type: Component,
646
- args: [{ selector: 'fdp-free-content-list-item, li[fdp-free-content-list-item]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: BaseListItem, useExisting: forwardRef(() => FreeContentListItemComponent) }], host: {
647
- role: 'listitem'
648
- }, imports: [ListItemComponent, AsyncPipe], template: "<div\n #listItem\n [class.fd-list__item--unread]=\"unRead\"\n fd-list-item\n [id]=\"id\"\n [selected]=\"_selected\"\n [tabindex]=\"-1\"\n (click)=\"_onItemClick()\"\n (keydown)=\"_onKeyDown($event)\"\n (keyup)=\"_onKeyUp($event)\"\n class=\"fd-list__item--link\"\n [class.fd-list__item--inactive]=\"listType === 'inactive'\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [attr.aria-level]=\"ariaLevel\"\n [attr.aria-posinset]=\"ariaPosinset\"\n [attr.aria-setsize]=\"ariaSetSize | async\"\n [ariaRole]=\"_listItemRole\"\n [attr.aria-selected]=\"_selectedAttr\"\n>\n <ng-content></ng-content>\n</div>\n" }]
649
- }] });
646
+ args: [{ selector: 'fdp-free-content-list-item, li[fdp-free-content-list-item]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: BaseListItem, useExisting: forwardRef(() => FreeContentListItemComponent) }], imports: [ListItemComponent, AsyncPipe], template: "<div\n #listItem\n [class.fd-list__item--unread]=\"unRead\"\n fd-list-item\n [id]=\"id\"\n [selected]=\"_selected\"\n [tabindex]=\"-1\"\n (click)=\"_onItemClick()\"\n (keydown)=\"_onKeyDown($event)\"\n (keyup)=\"_onKeyUp($event)\"\n class=\"fd-list__item--link\"\n [class.fd-list__item--inactive]=\"listType === 'inactive'\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [attr.aria-level]=\"ariaLevel\"\n [attr.aria-posinset]=\"ariaPosinset\"\n [attr.aria-setsize]=\"ariaSetSize | async\"\n [attr.aria-selected]=\"_selectedAttr\"\n [ariaRole]=\"listItemRole\"\n>\n <ng-content></ng-content>\n</div>\n" }]
647
+ }], propDecorators: { role: [{
648
+ type: Input
649
+ }, {
650
+ type: HostBinding,
651
+ args: ['attr.role']
652
+ }], listItemRole: [{
653
+ type: Input
654
+ }] } });
650
655
 
651
656
  class ListFooterComponent extends BaseComponent {
652
657
  constructor() {