@fundamental-ngx/platform 0.63.1-rc.7 → 0.63.1-rc.9
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.
|
@@ -680,13 +680,13 @@ class ApprovalFlowUserListComponent {
|
|
|
680
680
|
this._dontCallSelection = false;
|
|
681
681
|
}
|
|
682
682
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ApprovalFlowUserListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
683
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: ApprovalFlowUserListComponent, isStandalone: true, selector: "fdp-approval-flow-user-list", inputs: { users: "users", selectedUsers: "selectedUsers", isSelectable: "isSelectable" }, outputs: { onUserClick: "onUserClick", onSelectionChange: "onSelectionChange" }, host: { classAttribute: "fdp-approval-flow-user-list" }, viewQueries: [{ propertyName: "list", first: true, predicate: ListComponent, descendants: true }, { propertyName: "listItems", predicate: StandardListItemComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "@if (_allSelectedUsers.length) {\n <div class=\"fdp-approval-flow-user-list__selected-count\">\n @if (_allSelectedUsers.length === 1) {\n {{ ('platformApprovalFlow.userListSelectedItemsCountSingular' | fdTranslate)() }}\n } @else {\n {{\n (\n 'platformApprovalFlow.userListSelectedItemsCountPlural'\n | fdTranslate: { count: _allSelectedUsers.length }\n )()\n }}\n }\n </div>\n}\n<fdp-list\n [selectionMode]=\"isSelectable ? 'multi' : 'none'\"\n [selection]=\"isSelectable\"\n [navigationIndicator]=\"
|
|
683
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: ApprovalFlowUserListComponent, isStandalone: true, selector: "fdp-approval-flow-user-list", inputs: { users: "users", selectedUsers: "selectedUsers", isSelectable: "isSelectable" }, outputs: { onUserClick: "onUserClick", onSelectionChange: "onSelectionChange" }, host: { classAttribute: "fdp-approval-flow-user-list" }, viewQueries: [{ propertyName: "list", first: true, predicate: ListComponent, descendants: true }, { propertyName: "listItems", predicate: StandardListItemComponent, descendants: true }], usesOnChanges: true, ngImport: i0, template: "@if (_allSelectedUsers.length) {\n <div class=\"fdp-approval-flow-user-list__selected-count\">\n @if (_allSelectedUsers.length === 1) {\n {{ ('platformApprovalFlow.userListSelectedItemsCountSingular' | fdTranslate)() }}\n } @else {\n {{\n (\n 'platformApprovalFlow.userListSelectedItemsCountPlural'\n | fdTranslate: { count: _allSelectedUsers.length }\n )()\n }}\n }\n </div>\n}\n\n<fdp-list\n [selectionMode]=\"isSelectable ? 'multi' : 'none'\"\n [selection]=\"isSelectable\"\n [navigationIndicator]=\"_displayUsers.length > 0\"\n [hasByLine]=\"true\"\n [(ngModel)]=\"_selectedItems\"\n [selectedItems]=\"_selectedItems\"\n (selectedItemChange)=\"_onSelect($event)\"\n>\n @if (_displayUsers.length > 0) {\n @for (_user of _displayUsers; track _trackByFn($index, _user)) {\n <fdp-standard-list-item\n [attr.id]=\"_idPrefix + _user.id\"\n [id]=\"_idPrefix + _user.id\"\n [avatar]=\"{ image: _user.imgUrl, ariaLabel: _user.name }\"\n [description]=\"_user.description\"\n [ariaLabel]=\"_user.name\"\n [title]=\"_user.name\"\n (click)=\"$event.stopPropagation(); onUserClick.emit(_user)\"\n ></fdp-standard-list-item>\n }\n } @else {\n <fdp-standard-list-item\n [noDataText]=\"('platformApprovalFlow.noDataFound' | fdTranslate)()\"\n ></fdp-standard-list-item>\n }\n</fdp-list>\n", styles: [".fdp-approval-flow-user-list{display:block;margin-top:-1rem}.fdp-approval-flow-user-list__selected-count{line-height:2rem;margin:0 -1rem;padding:0 1rem;background:#f2f2f2;background:var(--sapList_HeaderBackground, #f2f2f2)}\n"], dependencies: [{ kind: "component", type: ListComponent, selector: "fdp-list", inputs: ["selectedItems", "ariaSetsize", "ariaMultiselectable", "loadTitle", "loadingLabel", "delayTime", "itemSize", "loadMore", "loadOnScroll", "role", "listType", "maxHeight", "noBorder", "scrollOffsetPercentage", "selection", "selectionMode", "value", "rowSelection", "dataSource", "navigated", "navigationIndicator", "hasByLine", "hasObject", "unreadIndicator", "interceptTabKey"], outputs: ["selectedItemChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: StandardListItemComponent, selector: "fdp-standard-list-item" }, { kind: "pipe", type: FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
684
684
|
}
|
|
685
685
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ApprovalFlowUserListComponent, decorators: [{
|
|
686
686
|
type: Component,
|
|
687
687
|
args: [{ selector: 'fdp-approval-flow-user-list', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
688
688
|
class: 'fdp-approval-flow-user-list'
|
|
689
|
-
}, imports: [ListComponent, FormsModule, StandardListItemComponent, FdTranslatePipe], template: "@if (_allSelectedUsers.length) {\n <div class=\"fdp-approval-flow-user-list__selected-count\">\n @if (_allSelectedUsers.length === 1) {\n {{ ('platformApprovalFlow.userListSelectedItemsCountSingular' | fdTranslate)() }}\n } @else {\n {{\n (\n 'platformApprovalFlow.userListSelectedItemsCountPlural'\n | fdTranslate: { count: _allSelectedUsers.length }\n )()\n }}\n }\n </div>\n}\n<fdp-list\n [selectionMode]=\"isSelectable ? 'multi' : 'none'\"\n [selection]=\"isSelectable\"\n [navigationIndicator]=\"
|
|
689
|
+
}, imports: [ListComponent, FormsModule, StandardListItemComponent, FdTranslatePipe], template: "@if (_allSelectedUsers.length) {\n <div class=\"fdp-approval-flow-user-list__selected-count\">\n @if (_allSelectedUsers.length === 1) {\n {{ ('platformApprovalFlow.userListSelectedItemsCountSingular' | fdTranslate)() }}\n } @else {\n {{\n (\n 'platformApprovalFlow.userListSelectedItemsCountPlural'\n | fdTranslate: { count: _allSelectedUsers.length }\n )()\n }}\n }\n </div>\n}\n\n<fdp-list\n [selectionMode]=\"isSelectable ? 'multi' : 'none'\"\n [selection]=\"isSelectable\"\n [navigationIndicator]=\"_displayUsers.length > 0\"\n [hasByLine]=\"true\"\n [(ngModel)]=\"_selectedItems\"\n [selectedItems]=\"_selectedItems\"\n (selectedItemChange)=\"_onSelect($event)\"\n>\n @if (_displayUsers.length > 0) {\n @for (_user of _displayUsers; track _trackByFn($index, _user)) {\n <fdp-standard-list-item\n [attr.id]=\"_idPrefix + _user.id\"\n [id]=\"_idPrefix + _user.id\"\n [avatar]=\"{ image: _user.imgUrl, ariaLabel: _user.name }\"\n [description]=\"_user.description\"\n [ariaLabel]=\"_user.name\"\n [title]=\"_user.name\"\n (click)=\"$event.stopPropagation(); onUserClick.emit(_user)\"\n ></fdp-standard-list-item>\n }\n } @else {\n <fdp-standard-list-item\n [noDataText]=\"('platformApprovalFlow.noDataFound' | fdTranslate)()\"\n ></fdp-standard-list-item>\n }\n</fdp-list>\n", styles: [".fdp-approval-flow-user-list{display:block;margin-top:-1rem}.fdp-approval-flow-user-list__selected-count{line-height:2rem;margin:0 -1rem;padding:0 1rem;background:#f2f2f2;background:var(--sapList_HeaderBackground, #f2f2f2)}\n"] }]
|
|
690
690
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { users: [{
|
|
691
691
|
type: Input
|
|
692
692
|
}], selectedUsers: [{
|