barsa-sap-ui 1.0.357 → 1.0.358
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/esm2020/lib/barsa-list-file-linear/barsa-list-file-linear.component.mjs +12 -12
- package/esm2020/lib/barsa-sap-ui.module.mjs +118 -129
- package/esm2020/lib/barsa-table-column/barsa-table-column.component.mjs +3 -3
- package/esm2020/lib/barsa-table-header/barsa-table-header.component.mjs +51 -18
- package/esm2020/lib/barsa-table-row/barsa-table-row.component.mjs +3 -3
- package/esm2020/lib/barsa-toolbaritem-search/barsa-toolbaritem-search.component.mjs +11 -8
- package/esm2020/lib/barsa-tree-item/barsa-tree-item.component.mjs +6 -7
- package/esm2020/lib/barsa-ulv-main/barsa-ulv-main.component.mjs +7 -8
- package/esm2020/lib/card-item/card-item.component.mjs +3 -3
- package/esm2020/lib/column-renderer/column-renderer.component.mjs +9 -8
- package/esm2020/lib/fundamental-dynamic-form/fundamental-dynamic-form.component.mjs +3 -3
- package/esm2020/lib/global-search/global-search.component.mjs +7 -6
- package/esm2020/lib/index.mjs +1 -3
- package/esm2020/lib/inline-save-and-cancel/inline-save-and-cancel.component.mjs +4 -4
- package/esm2020/lib/layout-actions/layout-actions.component.mjs +3 -4
- package/esm2020/lib/list-item/list-item.component.mjs +3 -3
- package/esm2020/lib/models/grid-data-provider.mjs +3 -142
- package/esm2020/lib/report-search-fields-manage/report-search-fields-manage.component.mjs +5 -6
- package/esm2020/lib/report-view-renderer.directive.mjs +8 -2
- package/esm2020/lib/sap-ui-report-base.component.mjs +2 -3
- package/esm2020/lib/ui-calendar/ui-calendar.component.mjs +3 -3
- package/esm2020/lib/ui-card-view-horizontal-group/ui-card-view-horizontal-group.component.mjs +3 -3
- package/esm2020/lib/ui-check-box/ui-check-box.component.mjs +3 -3
- package/esm2020/lib/ui-editable-grid/ui-editable-grid.component.mjs +3 -3
- package/esm2020/lib/ui-form-panel-toolbar/ui-form-panel-toolbar.component.mjs +5 -7
- package/esm2020/lib/ui-gantt-chart/ui-gantt-chart.component.mjs +3 -3
- package/esm2020/lib/ui-grid/ui-grid.component.mjs +3 -3
- package/esm2020/lib/ui-linear-list-container-with-button/ui-linear-list-container-with-button.component.mjs +3 -3
- package/esm2020/lib/ui-mo-info-ulv-combo/ui-mo-info-ulv-combo.component.mjs +4 -5
- package/esm2020/lib/ui-picture-file/ui-picture-file.component.mjs +4 -4
- package/esm2020/lib/ui-pictures-info/ui-pictures-info.component.mjs +1 -1
- package/esm2020/lib/ui-report-container/ui-report-container.component.mjs +3 -3
- package/esm2020/lib/ui-table-view/ui-table-view.component.mjs +57 -8
- package/esm2020/lib/ui-tree/ui-tree.component.mjs +8 -8
- package/esm2020/lib/ulv-column-settings/ulv-column-settings.component.mjs +15 -13
- package/esm2020/lib/ulv-form-multi-select/ulv-form-multi-select.component.mjs +13 -14
- package/esm2020/lib/ulv-toolbar/ulv-toolbar.component.mjs +5 -6
- package/esm2020/public-api.mjs +1 -2
- package/fesm2015/barsa-sap-ui.mjs +351 -477
- package/fesm2015/barsa-sap-ui.mjs.map +1 -1
- package/fesm2020/barsa-sap-ui.mjs +351 -476
- package/fesm2020/barsa-sap-ui.mjs.map +1 -1
- package/lib/barsa-sap-ui.module.d.ts +124 -126
- package/lib/barsa-table-header/barsa-table-header.component.d.ts +13 -4
- package/lib/barsa-toolbaritem-search/barsa-toolbaritem-search.component.d.ts +2 -2
- package/lib/global-search/global-search.component.d.ts +1 -2
- package/lib/index.d.ts +1 -2
- package/lib/models/grid-data-provider.d.ts +2 -6
- package/lib/report-view-renderer.directive.d.ts +3 -1
- package/lib/sap-ui-report-base.component.d.ts +1 -3
- package/lib/ui-pictures-info/ui-pictures-info.component.d.ts +1 -1
- package/lib/ui-table-view/ui-table-view.component.d.ts +12 -3
- package/lib/ulv-column-settings/ulv-column-settings.component.d.ts +2 -1
- package/lib/ulv-toolbar/ulv-toolbar.component.d.ts +2 -4
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2020/lib/page-with-header/page-with-header.component.mjs +0 -75
- package/lib/page-with-header/page-with-header.component.d.ts +0 -29
|
@@ -7,10 +7,11 @@ export declare class UlvColumnSettingsComponent extends BaseUlvSettingComponent
|
|
|
7
7
|
private dialogRef;
|
|
8
8
|
gridColumnsComponent: UiGridColumnsComponent;
|
|
9
9
|
columns: ReportViewColumn[];
|
|
10
|
+
searchTerm: string;
|
|
10
11
|
constructor(dialogRef: DialogRef);
|
|
11
12
|
ngOnInit(): void;
|
|
12
13
|
onColumnsChange(columns: any): void;
|
|
13
|
-
|
|
14
|
+
onSearchSubmit(): void;
|
|
14
15
|
onReset(): void;
|
|
15
16
|
getSettings(): GridSetting;
|
|
16
17
|
close(setting?: any): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ContentDensity } from '@fundamental-ngx/core';
|
|
3
|
-
import { SearchInput } from '@fundamental-ngx/platform';
|
|
4
3
|
import { BaseComponent, DefaultCommandsAccess, AbbrevationDeviceSize, DeviceSize, UiReportViewBase } from 'barsa-novin-ray-core';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class UlvToolbarComponent extends BaseComponent implements OnChanges {
|
|
@@ -26,6 +25,7 @@ export declare class UlvToolbarComponent extends BaseComponent implements OnChan
|
|
|
26
25
|
config: any;
|
|
27
26
|
hidden: boolean;
|
|
28
27
|
buttons: any[];
|
|
28
|
+
moDataListCount: number;
|
|
29
29
|
search: EventEmitter<string>;
|
|
30
30
|
groupbyClick: EventEmitter<string>;
|
|
31
31
|
sortClick: EventEmitter<string>;
|
|
@@ -33,7 +33,6 @@ export declare class UlvToolbarComponent extends BaseComponent implements OnChan
|
|
|
33
33
|
editModeClick: EventEmitter<any>;
|
|
34
34
|
viewClick: EventEmitter<UiReportViewBase>;
|
|
35
35
|
createNewInlineMo: EventEmitter<void>;
|
|
36
|
-
searchTerm: string;
|
|
37
36
|
enable: boolean;
|
|
38
37
|
constructor(el: ElementRef);
|
|
39
38
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -42,9 +41,8 @@ export declare class UlvToolbarComponent extends BaseComponent implements OnChan
|
|
|
42
41
|
onColumnSettings(): void;
|
|
43
42
|
onEditMode(): void;
|
|
44
43
|
onChangeView(view: UiReportViewBase): void;
|
|
45
|
-
onSearchSubmit($event: SearchInput): void;
|
|
46
44
|
_trackBy(index: any, item: any): string;
|
|
47
45
|
identify(index: any, item: any): string;
|
|
48
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<UlvToolbarComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UlvToolbarComponent, "bsu-ulv-toolbar", never, { "useLayoutItemTextForControl": "useLayoutItemTextForControl"; "enableSearch": "enableSearch"; "hideTitle": "hideTitle"; "title": "title"; "deviceName": "deviceName"; "deviceSize": "deviceSize"; "access": "access"; "hideToolbar": "hideToolbar"; "toolbarButtons": "toolbarButtons"; "contentDensity": "contentDensity"; "inlineEditMode": "inlineEditMode"; "allowInlineEdit": "allowInlineEdit"; "gridSetting": "gridSetting"; "viewCollection": "viewCollection"; "reportView": "reportView"; "inDialog": "inDialog"; "isMultiSelect": "isMultiSelect"; "hasSelected": "hasSelected"; "config": "config"; "hidden": "hidden"; "buttons": "buttons"; }, { "search": "search"; "groupbyClick": "groupbyClick"; "sortClick": "sortClick"; "columnClick": "columnClick"; "editModeClick": "editModeClick"; "viewClick": "viewClick"; "createNewInlineMo": "createNewInlineMo"; }, never, ["[fd-toolbar-item]"], false>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UlvToolbarComponent, "bsu-ulv-toolbar", never, { "useLayoutItemTextForControl": "useLayoutItemTextForControl"; "enableSearch": "enableSearch"; "hideTitle": "hideTitle"; "title": "title"; "deviceName": "deviceName"; "deviceSize": "deviceSize"; "access": "access"; "hideToolbar": "hideToolbar"; "toolbarButtons": "toolbarButtons"; "contentDensity": "contentDensity"; "inlineEditMode": "inlineEditMode"; "allowInlineEdit": "allowInlineEdit"; "gridSetting": "gridSetting"; "viewCollection": "viewCollection"; "reportView": "reportView"; "inDialog": "inDialog"; "isMultiSelect": "isMultiSelect"; "hasSelected": "hasSelected"; "config": "config"; "hidden": "hidden"; "buttons": "buttons"; "moDataListCount": "moDataListCount"; }, { "search": "search"; "groupbyClick": "groupbyClick"; "sortClick": "sortClick"; "columnClick": "columnClick"; "editModeClick": "editModeClick"; "viewClick": "viewClick"; "createNewInlineMo": "createNewInlineMo"; }, never, ["[fd-toolbar-item]"], false>;
|
|
50
48
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -67,7 +67,6 @@ export * from './lib/ul-loading-mask-ui/ul-loading-mask-ui.component';
|
|
|
67
67
|
export * from './lib/ulv-context-menu/ulv-context-menu.component';
|
|
68
68
|
export * from './lib/ui-workflow-panel-ui/ui-workflow-panel-ui.component';
|
|
69
69
|
export * from './lib/header-avatar/header-avatar.component';
|
|
70
|
-
export * from './lib/page-with-header/page-with-header.component';
|
|
71
70
|
export * from './lib/ui-tree/ui-tree.component';
|
|
72
71
|
export * from './lib/ul-msg-box-adapter/ul-msg-box-adapter.component';
|
|
73
72
|
export * from './lib/ui-mo-info-combo-viewer/ui-mo-info-combo-viewer.component';
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, HostBinding, ViewChild, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { BarsaApi, getHeaderValue, getDeviceIsMobile, PageWithFormHandlerBaseComponent } from 'barsa-novin-ray-core';
|
|
3
|
-
import { insertAvatar } from '../constants';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@fundamental-ngx/core/breadcrumb";
|
|
7
|
-
import * as i3 from "@fundamental-ngx/core/button";
|
|
8
|
-
import * as i4 from "@fundamental-ngx/core/toolbar";
|
|
9
|
-
import * as i5 from "@fundamental-ngx/platform/dynamic-page";
|
|
10
|
-
import * as i6 from "../header-facet-key-value/header-facet-key-value.component";
|
|
11
|
-
import * as i7 from "../header-facet-form/header-facet-form.component";
|
|
12
|
-
import * as i8 from "../header-facet-rate/header-facet-rate.component";
|
|
13
|
-
import * as i9 from "../header-facet-progress/header-facet-progress.component";
|
|
14
|
-
import * as i10 from "../header-facet-microchart/header-facet-microchart.component";
|
|
15
|
-
import * as i11 from "../header-facet-plain-text/header-facet-plain-text.component";
|
|
16
|
-
import * as i12 from "../header-avatar/header-avatar.component";
|
|
17
|
-
import * as i13 from "../global-search/global-search.component";
|
|
18
|
-
export class PageWithHeaderComponent extends PageWithFormHandlerBaseComponent {
|
|
19
|
-
constructor() {
|
|
20
|
-
super(...arguments);
|
|
21
|
-
this.formpageContentClass = true;
|
|
22
|
-
}
|
|
23
|
-
get isMobile() {
|
|
24
|
-
return getDeviceIsMobile();
|
|
25
|
-
}
|
|
26
|
-
ngOnInit() {
|
|
27
|
-
super.ngOnInit();
|
|
28
|
-
this.getData$().subscribe((pageData) => {
|
|
29
|
-
this.headerLayout = pageData?.Component.Settings;
|
|
30
|
-
this.removeContentPadding = pageData?.Component.Settings?.RemoveContentPadding;
|
|
31
|
-
this.removeHeaderBorder = pageData?.Component.Settings?.RemoveHeaderBorder;
|
|
32
|
-
this.commands = pageData?.Component.Settings?.Commands?.MoDataList;
|
|
33
|
-
if (this.headerLayout) {
|
|
34
|
-
this._activatedRoute.snapshot.data.breadcrumb = this.headerLayout.BreadCrumb;
|
|
35
|
-
this.title = getHeaderValue(this.headerLayout.Title);
|
|
36
|
-
this.subtitle = getHeaderValue(this.headerLayout.SubTitle);
|
|
37
|
-
this.avatar = getHeaderValue(this.headerLayout.Avatar);
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
ngAfterViewInit() {
|
|
42
|
-
super.ngAfterViewInit();
|
|
43
|
-
if (this.headerAvatarRef && this.avatar) {
|
|
44
|
-
setTimeout(() => {
|
|
45
|
-
insertAvatar(this._el, this.headerAvatarRef, this.titleRef, this.avatar);
|
|
46
|
-
}, 0);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
onCommandClick(command) {
|
|
50
|
-
const e = { command: command.Command, DynamicSetting: null };
|
|
51
|
-
BarsaApi.Common.CustomCodeManager.RunDynamicCommand(command.Command.Id, e);
|
|
52
|
-
}
|
|
53
|
-
addFragmentDocToPage(fragmentDoc) {
|
|
54
|
-
this.contentRef.nativeElement.appendChild(fragmentDoc);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
PageWithHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PageWithHeaderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
-
PageWithHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PageWithHeaderComponent, selector: "bsu-page-with-header", host: { properties: { "class.form-page-content": "this.formpageContentClass" } }, viewQueries: [{ propertyName: "contentRef", first: true, predicate: ["content"], descendants: true, read: ElementRef }, { propertyName: "headerAvatarRef", first: true, predicate: ["headerAvatar"], descendants: true }, { propertyName: "titleRef", first: true, predicate: ["titleRef"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"!headerLayout || !title; else pageWithHeader\">\r\n <div #content></div>\r\n</ng-container>\r\n<ng-template #pageWithHeader>\r\n <fdp-dynamic-page [size]=\"isMobile ? 'small' : 'large'\" [class.header-border]=\"!removeHeaderBorder\">\r\n <fdp-dynamic-page-title\r\n [class.simple-title]=\"!headerLayout.Description\"\r\n [title]=\"title\"\r\n [subtitle]=\"subtitle\"\r\n [class.p-b0]=\"headerLayout?.RemoveContentPadding\"\r\n #titleRef\r\n >\r\n <fd-breadcrumb>\r\n <fd-breadcrumb-item>\r\n <span>{{ headerLayout.BreadCrumb }}</span>\r\n </fd-breadcrumb-item>\r\n </fd-breadcrumb>\r\n <ng-container *ngFor=\"let facetColumn of headerLayout.FacetList?.MoDataList\">\r\n <fdp-dynamic-page-key-info>\r\n <ng-container [ngSwitch]=\"facetColumn.ColumnType.$Caption\">\r\n <bsu-header-facet-key-value\r\n *ngSwitchCase=\"'KeyValue'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-key-value>\r\n <bsu-header-facet-form\r\n *ngSwitchCase=\"'Form'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-form>\r\n <bsu-header-facet-plain-text\r\n *ngSwitchCase=\"'PlainText'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-plain-text>\r\n <bsu-header-facet-rate\r\n *ngSwitchCase=\"'Rate'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-rate>\r\n <bsu-header-facet-progress\r\n *ngSwitchCase=\"'Progress'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-progress>\r\n <bsu-header-facet-microchart\r\n *ngSwitchCase=\"'Microchart'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-microchart>\r\n <div *ngSwitchDefault></div>\r\n </ng-container>\r\n </fdp-dynamic-page-key-info>\r\n </ng-container>\r\n <fdp-dynamic-page-global-actions>\r\n <fd-toolbar fdType=\"transparent\" [clearBorder]=\"true\" [showOverflow]=\"true\">\r\n <ng-container *ngFor=\"let btn of commands\">\r\n <button\r\n fd-toolbar-item\r\n fd-button\r\n [fdType]=\"btn.Design\"\r\n [label]=\"btn.Title\"\r\n [glyph]=\"btn.Icon\"\r\n (click)=\"onCommandClick(btn)\"\r\n ></button>\r\n </ng-container>\r\n <bsu-global-search\r\n *ngIf=\"headerLayout.HasGlobalSearch\"\r\n [mo]=\"headerLayout.GlobalSearchSettings.GlobalSearchResult\"\r\n ></bsu-global-search>\r\n </fd-toolbar>\r\n </fdp-dynamic-page-global-actions>\r\n <fdp-dynamic-page-layout-actions> </fdp-dynamic-page-layout-actions>\r\n </fdp-dynamic-page-title>\r\n <fdp-dynamic-page-header\r\n [class.hide]=\"!headerLayout.Description\"\r\n [collapsible]=\"true\"\r\n [pinnable]=\"false\"\r\n [collapsed]=\"true\"\r\n >\r\n <span *ngIf=\"headerLayout.Description\">{{ headerLayout.Description }}</span>\r\n </fdp-dynamic-page-header>\r\n <fdp-dynamic-page-content [class.no-padding]=\"removeContentPadding\">\r\n <div #content></div>\r\n </fdp-dynamic-page-content>\r\n </fdp-dynamic-page>\r\n <ng-template #headerAvatar let-avatar let-isIcon=\"isIcon\" let-isNullImage=\"isNullImage\">\r\n <div class=\"fd-dynamic-page__avatar\">\r\n <bsu-header-avatar\r\n [icon]=\"isIcon ? avatar : ''\"\r\n [fileId]=\"isNullImage ? '' : avatar.FileId\"\r\n [size]=\"'m'\"\r\n ></bsu-header-avatar>\r\n </div>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [":host{display:block}:host ::ng-deep .fd-dynamic-page__header-fixed{position:relative!important}:host ::ng-deep .fd-dynamic-page__footer{position:absolute!important}:host ::ng-deep .fd-dynamic-page__content{top:0!important;overflow-y:hidden!important;height:auto!important}:host ::ng-deep .header-border header{border-bottom:1px solid #e4e4e4;box-shadow:0 4px 2px -3px #e4e4e4!important}:host ::ng-deep .no-padding{padding:0!important}:host ::ng-deep .fd-dynamic-page__title-container{flex-wrap:wrap;align-items:flex-start}.simple-title{cursor:default!important}.simple-title:hover{background-color:var(--sapObjectHeader_Background, #fff)!important}.fd-dynamic-page__avatar{padding-left:10px}.fd-dynamic-page__avatar fd-icon{font-size:2rem}@media (max-width: 600px){::ng-deep .fd-dynamic-page__content{padding:4px}.fd-dynamic-page__avatar fd-icon{font-size:1.5rem}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i2.BreadcrumbComponent, selector: "fd-breadcrumb", inputs: ["containerElement", "reverse", "tabIndex"], outputs: ["visibleItemsCount", "hiddenItemsCount"] }, { kind: "component", type: i2.BreadcrumbItemComponent, selector: "fd-breadcrumb-item" }, { kind: "component", type: i3.ButtonComponent, selector: "button[fd-button], a[fd-button]", inputs: ["class"], exportAs: ["fd-button"] }, { kind: "component", type: i4.ToolbarComponent, selector: "fd-toolbar", inputs: ["class", "shouldOverflow", "fdType", "hasTitle", "title", "active", "clearBorder", "forceOverflow", "tabindex"] }, { kind: "directive", type: i4.ToolbarItemDirective, selector: "[fd-toolbar-item]" }, { kind: "component", type: i5.DynamicPageComponent, selector: "fdp-dynamic-page", inputs: ["role", "ariaLabel", "stackContent", "background", "size", "offset", "autoResponsive", "expandContent"], outputs: ["tabChange"] }, { kind: "component", type: i5.DynamicPageTitleComponent, selector: "fdp-dynamic-page-title", inputs: ["title", "subtitle", "background", "size"] }, { kind: "component", type: i5.DynamicPageKeyInfoComponent, selector: "fdp-dynamic-page-key-info" }, { kind: "component", type: i5.DynamicPageGlobalActionsComponent, selector: "fdp-dynamic-page-global-actions" }, { kind: "component", type: i5.DynamicPageLayoutActionsComponent, selector: "fdp-dynamic-page-layout-actions" }, { kind: "component", type: i5.DynamicPageHeaderComponent, selector: "fdp-dynamic-page-header", inputs: ["collapsible", "pinnable", "collapsed", "expandLabel", "collapseLabel", "role", "id", "headerAriaLabel", "pinAriaLabel", "unpinAriaLabel", "background", "size"], outputs: ["collapsedChange", "collapseChange"] }, { kind: "component", type: i5.DynamicPageContentComponent, selector: "fdp-dynamic-page-content", inputs: ["tabLabel", "id", "background", "size"] }, { kind: "component", type: i6.HeaderFacetKeyValueComponent, selector: "bsu-header-facet-key-value", inputs: ["settings"] }, { kind: "component", type: i7.HeaderFacetFormComponent, selector: "bsu-header-facet-form", inputs: ["settings"] }, { kind: "component", type: i8.HeaderFacetRateComponent, selector: "bsu-header-facet-rate", inputs: ["settings"] }, { kind: "component", type: i9.HeaderFacetProgressComponent, selector: "bsu-header-facet-progress", inputs: ["settings"] }, { kind: "component", type: i10.HeaderFacetMicrochartComponent, selector: "bsu-header-facet-microchart", inputs: ["settings"] }, { kind: "component", type: i11.HeaderFacetPlainTextComponent, selector: "bsu-header-facet-plain-text", inputs: ["settings"] }, { kind: "component", type: i12.HeaderAvatarComponent, selector: "bsu-header-avatar", inputs: ["fileId", "icon"] }, { kind: "component", type: i13.GlobalSearchComponent, selector: "bsu-global-search", inputs: ["mo", "compact"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PageWithHeaderComponent, decorators: [{
|
|
60
|
-
type: Component,
|
|
61
|
-
args: [{ selector: 'bsu-page-with-header', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"!headerLayout || !title; else pageWithHeader\">\r\n <div #content></div>\r\n</ng-container>\r\n<ng-template #pageWithHeader>\r\n <fdp-dynamic-page [size]=\"isMobile ? 'small' : 'large'\" [class.header-border]=\"!removeHeaderBorder\">\r\n <fdp-dynamic-page-title\r\n [class.simple-title]=\"!headerLayout.Description\"\r\n [title]=\"title\"\r\n [subtitle]=\"subtitle\"\r\n [class.p-b0]=\"headerLayout?.RemoveContentPadding\"\r\n #titleRef\r\n >\r\n <fd-breadcrumb>\r\n <fd-breadcrumb-item>\r\n <span>{{ headerLayout.BreadCrumb }}</span>\r\n </fd-breadcrumb-item>\r\n </fd-breadcrumb>\r\n <ng-container *ngFor=\"let facetColumn of headerLayout.FacetList?.MoDataList\">\r\n <fdp-dynamic-page-key-info>\r\n <ng-container [ngSwitch]=\"facetColumn.ColumnType.$Caption\">\r\n <bsu-header-facet-key-value\r\n *ngSwitchCase=\"'KeyValue'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-key-value>\r\n <bsu-header-facet-form\r\n *ngSwitchCase=\"'Form'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-form>\r\n <bsu-header-facet-plain-text\r\n *ngSwitchCase=\"'PlainText'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-plain-text>\r\n <bsu-header-facet-rate\r\n *ngSwitchCase=\"'Rate'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-rate>\r\n <bsu-header-facet-progress\r\n *ngSwitchCase=\"'Progress'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-progress>\r\n <bsu-header-facet-microchart\r\n *ngSwitchCase=\"'Microchart'\"\r\n [settings]=\"facetColumn.ColumnSettings.$FormPanelSetting.Data.Mo\"\r\n ></bsu-header-facet-microchart>\r\n <div *ngSwitchDefault></div>\r\n </ng-container>\r\n </fdp-dynamic-page-key-info>\r\n </ng-container>\r\n <fdp-dynamic-page-global-actions>\r\n <fd-toolbar fdType=\"transparent\" [clearBorder]=\"true\" [showOverflow]=\"true\">\r\n <ng-container *ngFor=\"let btn of commands\">\r\n <button\r\n fd-toolbar-item\r\n fd-button\r\n [fdType]=\"btn.Design\"\r\n [label]=\"btn.Title\"\r\n [glyph]=\"btn.Icon\"\r\n (click)=\"onCommandClick(btn)\"\r\n ></button>\r\n </ng-container>\r\n <bsu-global-search\r\n *ngIf=\"headerLayout.HasGlobalSearch\"\r\n [mo]=\"headerLayout.GlobalSearchSettings.GlobalSearchResult\"\r\n ></bsu-global-search>\r\n </fd-toolbar>\r\n </fdp-dynamic-page-global-actions>\r\n <fdp-dynamic-page-layout-actions> </fdp-dynamic-page-layout-actions>\r\n </fdp-dynamic-page-title>\r\n <fdp-dynamic-page-header\r\n [class.hide]=\"!headerLayout.Description\"\r\n [collapsible]=\"true\"\r\n [pinnable]=\"false\"\r\n [collapsed]=\"true\"\r\n >\r\n <span *ngIf=\"headerLayout.Description\">{{ headerLayout.Description }}</span>\r\n </fdp-dynamic-page-header>\r\n <fdp-dynamic-page-content [class.no-padding]=\"removeContentPadding\">\r\n <div #content></div>\r\n </fdp-dynamic-page-content>\r\n </fdp-dynamic-page>\r\n <ng-template #headerAvatar let-avatar let-isIcon=\"isIcon\" let-isNullImage=\"isNullImage\">\r\n <div class=\"fd-dynamic-page__avatar\">\r\n <bsu-header-avatar\r\n [icon]=\"isIcon ? avatar : ''\"\r\n [fileId]=\"isNullImage ? '' : avatar.FileId\"\r\n [size]=\"'m'\"\r\n ></bsu-header-avatar>\r\n </div>\r\n </ng-template>\r\n</ng-template>\r\n", styles: [":host{display:block}:host ::ng-deep .fd-dynamic-page__header-fixed{position:relative!important}:host ::ng-deep .fd-dynamic-page__footer{position:absolute!important}:host ::ng-deep .fd-dynamic-page__content{top:0!important;overflow-y:hidden!important;height:auto!important}:host ::ng-deep .header-border header{border-bottom:1px solid #e4e4e4;box-shadow:0 4px 2px -3px #e4e4e4!important}:host ::ng-deep .no-padding{padding:0!important}:host ::ng-deep .fd-dynamic-page__title-container{flex-wrap:wrap;align-items:flex-start}.simple-title{cursor:default!important}.simple-title:hover{background-color:var(--sapObjectHeader_Background, #fff)!important}.fd-dynamic-page__avatar{padding-left:10px}.fd-dynamic-page__avatar fd-icon{font-size:2rem}@media (max-width: 600px){::ng-deep .fd-dynamic-page__content{padding:4px}.fd-dynamic-page__avatar fd-icon{font-size:1.5rem}}\n"] }]
|
|
62
|
-
}], propDecorators: { formpageContentClass: [{
|
|
63
|
-
type: HostBinding,
|
|
64
|
-
args: ['class.form-page-content']
|
|
65
|
-
}], contentRef: [{
|
|
66
|
-
type: ViewChild,
|
|
67
|
-
args: ['content', { read: ElementRef }]
|
|
68
|
-
}], headerAvatarRef: [{
|
|
69
|
-
type: ViewChild,
|
|
70
|
-
args: ['headerAvatar']
|
|
71
|
-
}], titleRef: [{
|
|
72
|
-
type: ViewChild,
|
|
73
|
-
args: ['titleRef', { read: ViewContainerRef }]
|
|
74
|
-
}] } });
|
|
75
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS13aXRoLWhlYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iYXJzYS1zYXAtdWkvc3JjL2xpYi9wYWdlLXdpdGgtaGVhZGVyL3BhZ2Utd2l0aC1oZWFkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmFyc2Etc2FwLXVpL3NyYy9saWIvcGFnZS13aXRoLWhlYWRlci9wYWdlLXdpdGgtaGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFVBQVUsRUFDVixXQUFXLEVBR1gsU0FBUyxFQUNULGdCQUFnQixFQUNuQixNQUFNLGVBQWUsQ0FBQztBQUd2QixPQUFPLEVBQUUsUUFBUSxFQUFFLGNBQWMsRUFBRSxpQkFBaUIsRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3JILE9BQU8sRUFBRSxZQUFZLEVBQUUsT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AgICAgICA8bmctY29udGFpbmVyIFtuZ1N3aXRjaF09XCJmYWNldENvbHVtbi5Db2x1bW5UeXBlLiRDYXB0aW9uXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxic3UtaGVhZGVyLWZhY2V0LWtleS12YWx1ZVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nU3dpdGNoQ2FzZT1cIidLZXlWYWx1ZSdcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW3NldHRpbmdzXT1cImZhY2V0Q29sdW1uLkNvbHVtblNldHRpbmdzLiRGb3JtUGFuZWxTZXR0aW5nLkRhdGEuTW9cIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA+PC9ic3UtaGVhZGVyLWZhY2V0LWtleS12YWx1ZT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGJzdS1oZWFkZXItZmFjZXQtZm9ybVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nU3dpdGNoQ2FzZT1cIidGb3JtJ1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2V0dGluZ3NdPVwiZmFjZXRDb2x1bW4uQ29sdW1uU2V0dGluZ3MuJEZvcm1QYW5lbFNldHRpbmcuRGF0YS5Nb1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgID48L2JzdS1oZWFkZXItZmFjZXQtZm9ybT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGJzdS1oZWFkZXItZmFjZXQtcGxhaW4tdGV4dFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nU3dpdGNoQ2FzZT1cIidQbGFpblRleHQnXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzZXR0aW5nc109XCJmYWNldENvbHVtbi5Db2x1bW5TZXR0aW5ncy4kRm9ybVBhbmVsU2V0dGluZy5EYXRhLk1vXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgPjwvYnN1LWhlYWRlci1mYWNldC1wbGFpbi10ZXh0PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8YnN1LWhlYWRlci1mYWNldC1yYXRlXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAqbmdTd2l0Y2hDYXNlPVwiJ1JhdGUnXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzZXR0aW5nc109XCJmYWNldENvbHVtbi5Db2x1bW5TZXR0aW5ncy4kRm9ybVBhbmVsU2V0dGluZy5EYXRhLk1vXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgPjwvYnN1LWhlYWRlci1mYWNldC1yYXRlPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8YnN1LWhlYWRlci1mYWNldC1wcm9ncmVzc1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nU3dpdGNoQ2FzZT1cIidQcm9ncmVzcydcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW3NldHRpbmdzXT1cImZhY2V0Q29sdW1uLkNvbHVtblNldHRpbmdzLiRGb3JtUGFuZWxTZXR0aW5nLkRhdGEuTW9cIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA+PC9ic3UtaGVhZGVyLWZhY2V0LXByb2dyZXNzPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8YnN1LWhlYWRlci1mYWNldC1taWNyb2NoYXJ0XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAqbmdTd2l0Y2hDYXNlPVwiJ01pY3JvY2hhcnQnXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzZXR0aW5nc109XCJmYWNldENvbHVtbi5Db2x1bW5TZXR0aW5ncy4kRm9ybVBhbmVsU2V0dGluZy5EYXRhLk1vXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgPjwvYnN1LWhlYWRlci1mYWNldC1taWNyb2NoYXJ0PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2ICpuZ1N3aXRjaERlZmF1bHQ+PC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgICAgICA8L2ZkcC1keW5hbWljLXBhZ2Uta2V5LWluZm8+XHJcbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICA8ZmRwLWR5bmFtaWMtcGFnZS1nbG9iYWwtYWN0aW9ucz5cclxuICAgICAgICAgICAgICAgIDxmZC10b29sYmFyIGZkVHlwZT1cInRyYW5zcGFyZW50XCIgW2NsZWFyQm9yZGVyXT1cInRydWVcIiBbc2hvd092ZXJmbG93XT1cInRydWVcIj5cclxuICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBidG4gb2YgY29tbWFuZHNcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZmQtdG9vbGJhci1pdGVtXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBmZC1idXR0b25cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmZFR5cGVdPVwiYnRuLkRlc2lnblwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbGFiZWxdPVwiYnRuLlRpdGxlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtnbHlwaF09XCJidG4uSWNvblwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwib25Db21tYW5kQ2xpY2soYnRuKVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgID48L2J1dHRvbj5cclxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgICAgICAgICAgICAgICA8YnN1LWdsb2JhbC1zZWFyY2hcclxuICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJoZWFkZXJMYXlvdXQuSGFzR2xvYmFsU2VhcmNoXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgW21vXT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BhZ2U+XHJcbiAgICA8bmctdGVtcGxhdGUgI2hlYWRlckF2YXRhciBsZXQtYXZhdGFyIGxldC1pc0ljb249XCJpc0ljb25cIiBsZXQtaXNOdWxsSW1hZ2U9XCJpc051bGxJbWFnZVwiPlxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJmZC1keW5hbWljLXBhZ2VfX2F2YXRhclwiPlxyXG4gICAgICAgICAgICA8YnN1LWhlYWRlci1hdmF0YXJcclxuICAgICAgICAgICAgICAgIFtpY29uXT1cImlzSWNvbiA/IGF2YXRhciA6ICcnXCJcclxuICAgICAgICAgICAgICAgIFtmaWxlSWRdPVwiaXNOdWxsSW1hZ2UgPyAnJyA6IGF2YXRhci5GaWxlSWRcIlxyXG4gICAgICAgICAgICAgICAgW3NpemVdPVwiJ20nXCJcclxuICAgICAgICAgICAgPjwvYnN1LWhlYWRlci1hdmF0YXI+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICA8L25nLXRlbXBsYXRlPlxyXG48L25nLXRlbXBsYXRlPlxyXG4iXX0=
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ButtonType } from '@fundamental-ngx/core';
|
|
3
|
-
import { PageWithFormHandlerBaseComponent } from 'barsa-novin-ray-core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PageWithHeaderComponent extends PageWithFormHandlerBaseComponent implements OnInit, AfterViewInit {
|
|
6
|
-
formpageContentClass: boolean;
|
|
7
|
-
contentRef: ElementRef;
|
|
8
|
-
headerAvatarRef: TemplateRef<any>;
|
|
9
|
-
titleRef: ViewContainerRef;
|
|
10
|
-
headerLayout: any;
|
|
11
|
-
title: string;
|
|
12
|
-
subtitle: string;
|
|
13
|
-
avatar: string;
|
|
14
|
-
removeContentPadding: boolean;
|
|
15
|
-
removeHeaderBorder: boolean;
|
|
16
|
-
commands: {
|
|
17
|
-
Title: string;
|
|
18
|
-
Icon: string;
|
|
19
|
-
Design: ButtonType;
|
|
20
|
-
Command: any;
|
|
21
|
-
}[];
|
|
22
|
-
get isMobile(): boolean;
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
ngAfterViewInit(): void;
|
|
25
|
-
onCommandClick(command: any): void;
|
|
26
|
-
addFragmentDocToPage(fragmentDoc: any): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageWithHeaderComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageWithHeaderComponent, "bsu-page-with-header", never, {}, {}, never, never, false>;
|
|
29
|
-
}
|