barsa-sap-ui 0.0.7 → 1.0.249
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-sap-ui-routing.module.mjs +4 -3
- package/esm2020/lib/barsa-sap-ui.module.mjs +118 -118
- package/esm2020/lib/form-dialog-less/form-dialog-less.component.mjs +12 -6
- package/esm2020/lib/index.mjs +1 -5
- package/esm2020/lib/page-with-header/page-with-header.component.mjs +2 -3
- package/esm2020/lib/ui-form-panel/ui-form-panel.component.mjs +1 -1
- package/esm2020/public-api.mjs +1 -5
- package/fesm2015/barsa-sap-ui.mjs +134 -371
- package/fesm2015/barsa-sap-ui.mjs.map +1 -1
- package/fesm2020/barsa-sap-ui.mjs +133 -367
- package/fesm2020/barsa-sap-ui.mjs.map +1 -1
- package/lib/barsa-sap-ui.module.d.ts +125 -126
- package/lib/form-dialog-less/form-dialog-less.component.d.ts +4 -3
- package/lib/index.d.ts +1 -3
- package/lib/page-with-header/page-with-header.component.d.ts +1 -1
- package/lib/ui-form-panel/ui-form-panel.component.d.ts +1 -2
- package/package.json +3 -3
- package/public-api.d.ts +0 -4
- package/esm2020/lib/empty-page/empty-page.component.mjs +0 -38
- package/esm2020/lib/form-page/form-page.component.mjs +0 -51
- package/esm2020/lib/form-page-base.mjs +0 -129
- package/esm2020/lib/page-with-form-handler-base.mjs +0 -42
- package/lib/empty-page/empty-page.component.d.ts +0 -11
- package/lib/form-page/form-page.component.d.ts +0 -17
- package/lib/form-page-base.d.ts +0 -26
- package/lib/page-with-form-handler-base.d.ts +0 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, ChangeDetectionStrategy, Input, ElementRef, ViewChild, HostBinding, EventEmitter, Output, ViewEncapsulation, ViewChildren, Inject, Optional, Self, TemplateRef, HostListener, Pipe, Directive, ViewContainerRef, SkipSelf, NgModule, APP_INITIALIZER, NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
3
3
|
import * as i2 from 'barsa-novin-ray-core';
|
|
4
|
-
import { BaseComponent, ReportViewBaseComponent, getUniqueId, BarsaApi, LayoutItemBaseComponent, getDeviceIsMobile, LayoutService, BaseUlvSettingComponent, FormComponent, createFormPanelMetaConditions, ReportBaseComponent, GetAllColumnsSorted, getControlSizeMode, getGridSettings, FieldBaseComponent, DateService, getDateService as getDateService$1, DateMiladiService, DateHijriService, DateShamsiService, BaseDirective, EllipsifyDirective, createGridEditorFormPanel, FormPanelService, BaseViewItemPropsComponent, LayoutPanelBaseComponent, BaseViewContentPropsComponent, enumValueToStringSize, DateRanges, LogService, UlvMainService, isFunction, FilesValidationHelper, getValidExtension, isImage, getImagePath, getIcon, UploadService, LinearListHelper, FormToolbarBaseComponent, FormBaseComponent,
|
|
4
|
+
import { BaseComponent, ReportViewBaseComponent, getUniqueId, BarsaApi, LayoutItemBaseComponent, getDeviceIsMobile, LayoutService, BaseUlvSettingComponent, FormComponent, createFormPanelMetaConditions, ReportBaseComponent, GetAllColumnsSorted, getControlSizeMode, getGridSettings, FieldBaseComponent, DateService, getDateService as getDateService$1, DateMiladiService, DateHijriService, DateShamsiService, BaseDirective, EllipsifyDirective, createGridEditorFormPanel, FormPanelService, BaseViewItemPropsComponent, LayoutPanelBaseComponent, BaseViewContentPropsComponent, enumValueToStringSize, DateRanges, LogService, UlvMainService, isFunction, FilesValidationHelper, getValidExtension, isImage, getImagePath, getIcon, UploadService, LinearListHelper, FormToolbarBaseComponent, FormBaseComponent, PageWithFormHandlerBaseComponent, getHeaderValue, ContainerComponent, FORM_DIALOG_COMPONENT, ContainerService, FormPropsBaseComponent, NumberBaseComponent, ImageMimeType, BaseFormToolbaritemPropsComponent, getDeviceIsPhone, getDeviceIsTablet, PortalService, BaseModule, BarsaNovinRayCoreModule, DIALOG_SERVICE } from 'barsa-novin-ray-core';
|
|
5
5
|
import moment from 'moment';
|
|
6
6
|
import jmoment from 'moment-jalaali';
|
|
7
7
|
import { merge, of, BehaviorSubject, Subject, combineLatest, takeUntil as takeUntil$1, fromEvent, filter as filter$1 } from 'rxjs';
|
|
@@ -7979,192 +7979,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
7979
7979
|
type: Input
|
|
7980
7980
|
}] } });
|
|
7981
7981
|
|
|
7982
|
-
class FormDialogComponent extends BaseComponent {
|
|
7983
|
-
constructor(_dialogService, dialogParams, _portalService) {
|
|
7984
|
-
super();
|
|
7985
|
-
this._dialogService = _dialogService;
|
|
7986
|
-
this.dialogParams = dialogParams;
|
|
7987
|
-
this._portalService = _portalService;
|
|
7988
|
-
this.caption = '';
|
|
7989
|
-
this.fullscreen = false;
|
|
7990
|
-
this.isNonePersistance = false;
|
|
7991
|
-
this.showSaveButton = true;
|
|
7992
|
-
this.showToolbar = true;
|
|
7993
|
-
this._portalService.deviceSize$.subscribe((deviceSize) => {
|
|
7994
|
-
this.deviceSize = deviceSize;
|
|
7995
|
-
});
|
|
7996
|
-
const formPanelCtrlr = this.dialogParams.context.formpanelCtrlr;
|
|
7997
|
-
const moId = this.dialogParams.context.id;
|
|
7998
|
-
const typeDefId = this.dialogParams.context.tyid;
|
|
7999
|
-
const reportId = this.dialogParams.context.repid;
|
|
8000
|
-
this.inDialog = this.dialogParams.context.inDialog;
|
|
8001
|
-
this.fullscreen = this.dialogParams.context.fullscreen;
|
|
8002
|
-
this.params = { moId, typeDefId, reportId, inDialog: true };
|
|
8003
|
-
this._setCaption(formPanelCtrlr);
|
|
8004
|
-
this.formPanelCtrlr = formPanelCtrlr;
|
|
8005
|
-
}
|
|
8006
|
-
ngOnInit() {
|
|
8007
|
-
super.ngOnInit();
|
|
8008
|
-
const formPanelCtrlr = this.formPanelCtrlr;
|
|
8009
|
-
this.showSaveButton = BarsaApi.Common.Util.TryGetValue(formPanelCtrlr, 'Setting.View.FormSettings.ShowSaveButton');
|
|
8010
|
-
this.showToolbar = BarsaApi.Common.Util.TryGetValue(formPanelCtrlr, 'Setting.View.FormSettings.ShowToolbar');
|
|
8011
|
-
this.isNonePersistance = formPanelCtrlr?.Setting?.View?.IsNonePersistance;
|
|
8012
|
-
this.showFooter = this.isNonePersistance
|
|
8013
|
-
? this.showSaveButton !== false && this.showToolbar !== false
|
|
8014
|
-
: this.showSaveButton;
|
|
8015
|
-
if (typeof this.showFooter == typeof null) {
|
|
8016
|
-
this.showFooter = true;
|
|
8017
|
-
}
|
|
8018
|
-
this.openDialog();
|
|
8019
|
-
}
|
|
8020
|
-
openDialog() {
|
|
8021
|
-
const smallDevice = this.deviceSize === 's' || this.deviceSize === 'm';
|
|
8022
|
-
const width = smallDevice ? '100vw' : '30vw';
|
|
8023
|
-
let height = smallDevice ? '100vh' : 'auto';
|
|
8024
|
-
const viewWidth = BarsaApi.Common.Util.TryGetValue(this.formPanelCtrlr, 'Setting.View.CustomSize.width', null);
|
|
8025
|
-
const viewHieght = BarsaApi.Common.Util.TryGetValue(this.formPanelCtrlr, 'Setting.View.CustomSize.height', null);
|
|
8026
|
-
const minWidth = smallDevice ? '100vw' : viewWidth ? viewWidth + 'px' : 'auto';
|
|
8027
|
-
const minHeight = smallDevice ? '100vw' : viewHieght ? viewHieght + 'px' : 'auto';
|
|
8028
|
-
if (viewHieght) {
|
|
8029
|
-
height = '100%';
|
|
8030
|
-
}
|
|
8031
|
-
const modalSetting = BarsaApi.Common.Util.TryGetValue(this.formPanelCtrlr, 'Setting.View.CustomUi.Parameters.ModalSetting', null);
|
|
8032
|
-
let setting = {
|
|
8033
|
-
escKeyCloseable: false,
|
|
8034
|
-
responsivePadding: true,
|
|
8035
|
-
backdropClickCloseable: false,
|
|
8036
|
-
mobile: smallDevice,
|
|
8037
|
-
width,
|
|
8038
|
-
height,
|
|
8039
|
-
// bodyMinHeight: minHeight,
|
|
8040
|
-
minHeight,
|
|
8041
|
-
minWidth,
|
|
8042
|
-
fullScreen: smallDevice,
|
|
8043
|
-
verticalPadding: true,
|
|
8044
|
-
resizable: false,
|
|
8045
|
-
data: { caption: this.caption }
|
|
8046
|
-
};
|
|
8047
|
-
if (modalSetting) {
|
|
8048
|
-
setting = { ...setting, ...modalSetting };
|
|
8049
|
-
}
|
|
8050
|
-
this.dialogRef = this._dialogService.open(this.dialogTemplateRef, setting);
|
|
8051
|
-
}
|
|
8052
|
-
onCancel() {
|
|
8053
|
-
this._close();
|
|
8054
|
-
}
|
|
8055
|
-
onSave() {
|
|
8056
|
-
const adapter = this.formPanelCtrlr.Adapter;
|
|
8057
|
-
adapter.fireEvent('ToolClick', adapter, { Key: 'SaveAndClose' });
|
|
8058
|
-
}
|
|
8059
|
-
onOk() {
|
|
8060
|
-
const adapter = this.formPanelCtrlr.Adapter;
|
|
8061
|
-
adapter.fireEvent('ToolClick', adapter, { Key: 'Ok' });
|
|
8062
|
-
}
|
|
8063
|
-
onFormClose() {
|
|
8064
|
-
this.dialogRef.close();
|
|
8065
|
-
this.dialogParams.close();
|
|
8066
|
-
this.dialogOpened = false;
|
|
8067
|
-
}
|
|
8068
|
-
// /* eslint-disable */
|
|
8069
|
-
// @Input() ShowFormPanelControl = (formpanelCtrlr) => {};
|
|
8070
|
-
// /* eslint-disable */
|
|
8071
|
-
// @Input() ForceCloseChild = () => {};
|
|
8072
|
-
// /* eslint-disable */
|
|
8073
|
-
// @Input() RefreshFormPanelControl = (formpanelCtrlr) => {};
|
|
8074
|
-
_close() {
|
|
8075
|
-
// this.dialogRef.nativeElement.close();
|
|
8076
|
-
this.formPanelCtrlr.Adapter.Control.fireEvent('RequestForClose', this.formPanelCtrlr.Adapter.Control);
|
|
8077
|
-
// this.dialogRef.close();
|
|
8078
|
-
// this.dialogParams.close();
|
|
8079
|
-
// this.dialogOpened = false;
|
|
8080
|
-
}
|
|
8081
|
-
_setCaption(formPanelCtrlr) {
|
|
8082
|
-
const typeDefName = BarsaApi.Common.Util.TryGetValue(formPanelCtrlr, 'Mo.$TypeDefName', '');
|
|
8083
|
-
const moCaption = BarsaApi.Common.Util.TryGetValue(formPanelCtrlr, 'Mo.$Caption', '');
|
|
8084
|
-
this.caption = typeDefName + ':' + moCaption;
|
|
8085
|
-
}
|
|
8086
|
-
}
|
|
8087
|
-
FormDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormDialogComponent, deps: [{ token: i1$1.DialogService }, { token: i2.DialogParams }, { token: i2.PortalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
8088
|
-
FormDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: FormDialogComponent, selector: "bsu-form-dialog", providers: [ContainerService], viewQueries: [{ propertyName: "dialogTemplateRef", first: true, predicate: ["dialog"], descendants: true, read: TemplateRef, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-template let-dialog let-dialogConfig=\"dialogConfig\" #dialog>\r\n <fd-dialog [dialogConfig]=\"dialogConfig\" [dialogRef]=\"dialog\">\r\n <fd-dialog-header>\r\n <h1 fd-title>{{ dialogConfig.data.caption }}</h1>\r\n <button fd-dialog-close-button (click)=\"onCancel()\"></button>\r\n </fd-dialog-header>\r\n\r\n <fd-dialog-body>\r\n <bnrc-form [formPanelCtrl]=\"formPanelCtrlr\" [params]=\"params\" (formClose)=\"onFormClose()\"></bnrc-form>\r\n </fd-dialog-body>\r\n <fd-dialog-footer [style.display]=\"!showFooter ? 'none' : null\">\r\n <ng-container *ngIf=\"isNonePersistance; else saveBtn\">\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-dialog-decisive-button\r\n fdType=\"emphasized\"\r\n [label]=\"'Ok' | bbbTranslate\"\r\n (click)=\"onOk()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </ng-container>\r\n <ng-template #saveBtn>\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-dialog-decisive-button\r\n fdType=\"emphasized\"\r\n [label]=\"'Save' | bbbTranslate\"\r\n (click)=\"onSave()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </ng-template>\r\n\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-initial-focus\r\n fd-dialog-decisive-button\r\n fdType=\"transparent\"\r\n [label]=\"'Cancel' | bbbTranslate\"\r\n (click)=\"onCancel()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </fd-dialog-footer>\r\n </fd-dialog>\r\n</ng-template>\r\n", styles: [":host{display:block;height:auto}fd-dialog-body{display:flex;flex-direction:column;height:100%;align-items:stretch;justify-content:stretch}fd-dialog-body>bnrc-form{flex-grow:1;display:flex;flex-direction:row;height:100%;justify-content:stretch;align-items:stretch}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FormComponent, selector: "bnrc-form", inputs: ["params", "customFormPanelUi", "formPanelCtrl", "formPanelCtrlId"], outputs: ["titleChanged", "moChanged", "formClose", "formRendered"] }, { kind: "component", type: i3$1.ButtonBarComponent, selector: "fd-button-bar", inputs: ["fullWidth", "fdType", "title", "ariaLabel", "ariaLabelledby", "id"] }, { kind: "component", type: i4.DialogComponent, selector: "fd-dialog", inputs: ["class", "dialogRef", "dialogConfig"] }, { kind: "component", type: i4.DialogBodyComponent, selector: "fd-dialog-body" }, { kind: "component", type: i4.DialogFooterComponent, selector: "fd-dialog-footer" }, { kind: "component", type: i4.DialogHeaderComponent, selector: "fd-dialog-header" }, { kind: "component", type: i4.DialogCloseButtonComponent, selector: "[fd-dialog-close-button]", inputs: ["mobile", "title"] }, { kind: "component", type: i4.DialogFooterButtonComponent, selector: "fd-dialog-footer-button" }, { kind: "directive", type: i4.DialogDecisiveButtonDirective, selector: "[fd-dialog-decisive-button]" }, { kind: "component", type: i5.TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "directive", type: i6$2.InitialFocusDirective, selector: "[fdInitialFocus], [fd-initial-focus]", inputs: ["fd-initial-focus", "enabled", "focusLastElement"] }, { kind: "pipe", type: i2.BbbTranslatePipe, name: "bbbTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormDialogComponent, decorators: [{
|
|
8090
|
-
type: Component,
|
|
8091
|
-
args: [{ selector: 'bsu-form-dialog', providers: [ContainerService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template let-dialog let-dialogConfig=\"dialogConfig\" #dialog>\r\n <fd-dialog [dialogConfig]=\"dialogConfig\" [dialogRef]=\"dialog\">\r\n <fd-dialog-header>\r\n <h1 fd-title>{{ dialogConfig.data.caption }}</h1>\r\n <button fd-dialog-close-button (click)=\"onCancel()\"></button>\r\n </fd-dialog-header>\r\n\r\n <fd-dialog-body>\r\n <bnrc-form [formPanelCtrl]=\"formPanelCtrlr\" [params]=\"params\" (formClose)=\"onFormClose()\"></bnrc-form>\r\n </fd-dialog-body>\r\n <fd-dialog-footer [style.display]=\"!showFooter ? 'none' : null\">\r\n <ng-container *ngIf=\"isNonePersistance; else saveBtn\">\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-dialog-decisive-button\r\n fdType=\"emphasized\"\r\n [label]=\"'Ok' | bbbTranslate\"\r\n (click)=\"onOk()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </ng-container>\r\n <ng-template #saveBtn>\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-dialog-decisive-button\r\n fdType=\"emphasized\"\r\n [label]=\"'Save' | bbbTranslate\"\r\n (click)=\"onSave()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </ng-template>\r\n\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-initial-focus\r\n fd-dialog-decisive-button\r\n fdType=\"transparent\"\r\n [label]=\"'Cancel' | bbbTranslate\"\r\n (click)=\"onCancel()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </fd-dialog-footer>\r\n </fd-dialog>\r\n</ng-template>\r\n", styles: [":host{display:block;height:auto}fd-dialog-body{display:flex;flex-direction:column;height:100%;align-items:stretch;justify-content:stretch}fd-dialog-body>bnrc-form{flex-grow:1;display:flex;flex-direction:row;height:100%;justify-content:stretch;align-items:stretch}\n"] }]
|
|
8092
|
-
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: i2.DialogParams }, { type: i2.PortalService }]; }, propDecorators: { dialogTemplateRef: [{
|
|
8093
|
-
type: ViewChild,
|
|
8094
|
-
args: ['dialog', { read: TemplateRef, static: true }]
|
|
8095
|
-
}] } });
|
|
8096
|
-
|
|
8097
|
-
class PageWithFormHandlerBaseComponent extends PageBaseComponent {
|
|
8098
|
-
constructor() {
|
|
8099
|
-
super(...arguments);
|
|
8100
|
-
/* eslint-disable */
|
|
8101
|
-
this.ShowFormPanelControl = (formpanelCtrlr) => {
|
|
8102
|
-
this.formpanelCtrlr = formpanelCtrlr;
|
|
8103
|
-
this._portalService.ShowFormPanelControl(formpanelCtrlr, this._router, this._activatedRoute, FormDialogComponent, true);
|
|
8104
|
-
};
|
|
8105
|
-
/* eslint-disable */
|
|
8106
|
-
this.ForceCloseChild = () => {
|
|
8107
|
-
this._router.navigate(['../'], { relativeTo: this._activatedRoute });
|
|
8108
|
-
};
|
|
8109
|
-
/* eslint-disable */
|
|
8110
|
-
this.RefreshFormPanelControl = (formpanelCtrlr) => {
|
|
8111
|
-
if (!this.formpanelCtrlr) {
|
|
8112
|
-
this.formpanelCtrlr = formpanelCtrlr;
|
|
8113
|
-
}
|
|
8114
|
-
this._portalService.ShowFormPanelControl(this.formpanelCtrlr, this._router, this._activatedRoute, FormDialogComponent, true, true);
|
|
8115
|
-
};
|
|
8116
|
-
}
|
|
8117
|
-
}
|
|
8118
|
-
PageWithFormHandlerBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PageWithFormHandlerBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8119
|
-
PageWithFormHandlerBaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PageWithFormHandlerBaseComponent, selector: "bsu-page-with-form-handler-base", inputs: { ShowFormPanelControl: "ShowFormPanelControl", ForceCloseChild: "ForceCloseChild", RefreshFormPanelControl: "RefreshFormPanelControl" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PageWithFormHandlerBaseComponent, decorators: [{
|
|
8121
|
-
type: Component,
|
|
8122
|
-
args: [{
|
|
8123
|
-
selector: 'bsu-page-with-form-handler-base',
|
|
8124
|
-
template: '',
|
|
8125
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
8126
|
-
}]
|
|
8127
|
-
}], propDecorators: { ShowFormPanelControl: [{
|
|
8128
|
-
type: Input
|
|
8129
|
-
}], ForceCloseChild: [{
|
|
8130
|
-
type: Input
|
|
8131
|
-
}], RefreshFormPanelControl: [{
|
|
8132
|
-
type: Input
|
|
8133
|
-
}] } });
|
|
8134
|
-
|
|
8135
|
-
class EmptyPageComponent extends PageWithFormHandlerBaseComponent {
|
|
8136
|
-
constructor() {
|
|
8137
|
-
super(...arguments);
|
|
8138
|
-
this._position = null;
|
|
8139
|
-
this.sectionClass = true;
|
|
8140
|
-
this.absolutePageClass = true;
|
|
8141
|
-
}
|
|
8142
|
-
ngOnInit() {
|
|
8143
|
-
super.ngOnInit();
|
|
8144
|
-
if (!BarsaApi.LoginFormData.IsServiceDesk) {
|
|
8145
|
-
this._position = 'relative';
|
|
8146
|
-
}
|
|
8147
|
-
if (this._activatedRoute.snapshot.data?.pageData?.Component?.Settings?.IsRelativePage) {
|
|
8148
|
-
this._position = 'relative';
|
|
8149
|
-
}
|
|
8150
|
-
}
|
|
8151
|
-
}
|
|
8152
|
-
EmptyPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: EmptyPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
8153
|
-
EmptyPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: EmptyPageComponent, selector: "bsu-empty-page", host: { properties: { "style.position": "this._position", "class.section": "this.sectionClass", "class.absolute-page": "this.absolutePageClass" } }, providers: [ContainerService], usesInheritance: true, ngImport: i0, template: "<ng-container #containerRef></ng-container>\r\n<router-outlet></router-outlet>\r\n<router-outlet name=\"main\"></router-outlet>\r\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i3$7.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: EmptyPageComponent, decorators: [{
|
|
8155
|
-
type: Component,
|
|
8156
|
-
args: [{ selector: 'bsu-empty-page', providers: [ContainerService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container #containerRef></ng-container>\r\n<router-outlet></router-outlet>\r\n<router-outlet name=\"main\"></router-outlet>\r\n", styles: [":host{display:block}\n"] }]
|
|
8157
|
-
}], propDecorators: { _position: [{
|
|
8158
|
-
type: HostBinding,
|
|
8159
|
-
args: ['style.position']
|
|
8160
|
-
}], sectionClass: [{
|
|
8161
|
-
type: HostBinding,
|
|
8162
|
-
args: ['class.section']
|
|
8163
|
-
}], absolutePageClass: [{
|
|
8164
|
-
type: HostBinding,
|
|
8165
|
-
args: ['class.absolute-page']
|
|
8166
|
-
}] } });
|
|
8167
|
-
|
|
8168
7982
|
class HeaderAvatarComponent extends BaseComponent {
|
|
8169
7983
|
}
|
|
8170
7984
|
HeaderAvatarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: HeaderAvatarComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -8869,8 +8683,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
8869
8683
|
}] } });
|
|
8870
8684
|
|
|
8871
8685
|
class FormDialogLessComponent extends ContainerComponent {
|
|
8872
|
-
constructor(dialogParams, _el, _activatedRoute, _portalService, _vcr, _barsaDialogService, _injector, _router, _cdr, _containerService) {
|
|
8873
|
-
super(_el, _activatedRoute, _portalService, _vcr, _barsaDialogService, _injector, _router, _cdr, _containerService);
|
|
8686
|
+
constructor(dialogParams, _el, _activatedRoute, _portalService, _vcr, _barsaDialogService, _injector, _router, _cdr, _containerService, _formDialogComponent) {
|
|
8687
|
+
super(_el, _activatedRoute, _portalService, _vcr, _barsaDialogService, _injector, _router, _cdr, _containerService, _formDialogComponent);
|
|
8874
8688
|
this.dialogParams = dialogParams;
|
|
8875
8689
|
this._el = _el;
|
|
8876
8690
|
this._activatedRoute = _activatedRoute;
|
|
@@ -8881,6 +8695,7 @@ class FormDialogLessComponent extends ContainerComponent {
|
|
|
8881
8695
|
this._router = _router;
|
|
8882
8696
|
this._cdr = _cdr;
|
|
8883
8697
|
this._containerService = _containerService;
|
|
8698
|
+
this._formDialogComponent = _formDialogComponent;
|
|
8884
8699
|
this.formPanelCtrlr = this.dialogParams.context.formpanelCtrlr;
|
|
8885
8700
|
const moId = this.dialogParams.context.queryParams.id;
|
|
8886
8701
|
const typeDefId = this.dialogParams.context.queryParams.tyid;
|
|
@@ -8889,7 +8704,7 @@ class FormDialogLessComponent extends ContainerComponent {
|
|
|
8889
8704
|
}
|
|
8890
8705
|
onFormClose() { }
|
|
8891
8706
|
}
|
|
8892
|
-
FormDialogLessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormDialogLessComponent, deps: [{ token: i2.DialogParams }, { token: i0.ElementRef }, { token: i3$7.ActivatedRoute }, { token: i2.PortalService }, { token: i0.ViewContainerRef }, { token: i2.BarsaDialogService }, { token: i0.Injector }, { token: i3$7.Router }, { token: i0.ChangeDetectorRef }, { token: i2.ContainerService, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
8707
|
+
FormDialogLessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormDialogLessComponent, deps: [{ token: i2.DialogParams }, { token: i0.ElementRef }, { token: i3$7.ActivatedRoute }, { token: i2.PortalService }, { token: i0.ViewContainerRef }, { token: i2.BarsaDialogService }, { token: i0.Injector }, { token: i3$7.Router }, { token: i0.ChangeDetectorRef }, { token: i2.ContainerService, optional: true, self: true }, { token: FORM_DIALOG_COMPONENT, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
8893
8708
|
FormDialogLessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: FormDialogLessComponent, selector: "bsu-form-dialog-less", providers: [ContainerService], usesInheritance: true, ngImport: i0, template: "<bnrc-form *ngIf=\"rendered\" [formPanelCtrl]=\"formPanelCtrlr\" [params]=\"params\" (formClose)=\"onFormClose()\"></bnrc-form>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FormComponent, selector: "bnrc-form", inputs: ["params", "customFormPanelUi", "formPanelCtrl", "formPanelCtrlId"], outputs: ["titleChanged", "moChanged", "formClose", "formRendered"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8894
8709
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormDialogLessComponent, decorators: [{
|
|
8895
8710
|
type: Component,
|
|
@@ -8898,6 +8713,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
8898
8713
|
type: Self
|
|
8899
8714
|
}, {
|
|
8900
8715
|
type: Optional
|
|
8716
|
+
}] }, { type: i0.Type, decorators: [{
|
|
8717
|
+
type: Optional
|
|
8718
|
+
}, {
|
|
8719
|
+
type: Inject,
|
|
8720
|
+
args: [FORM_DIALOG_COMPONENT]
|
|
8901
8721
|
}] }]; } });
|
|
8902
8722
|
|
|
8903
8723
|
class UiFormPanelComponent extends FormBaseComponent {
|
|
@@ -9388,6 +9208,121 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
9388
9208
|
args: ['class.control-readonly']
|
|
9389
9209
|
}] } });
|
|
9390
9210
|
|
|
9211
|
+
class FormDialogComponent extends BaseComponent {
|
|
9212
|
+
constructor(_dialogService, dialogParams, _portalService) {
|
|
9213
|
+
super();
|
|
9214
|
+
this._dialogService = _dialogService;
|
|
9215
|
+
this.dialogParams = dialogParams;
|
|
9216
|
+
this._portalService = _portalService;
|
|
9217
|
+
this.caption = '';
|
|
9218
|
+
this.fullscreen = false;
|
|
9219
|
+
this.isNonePersistance = false;
|
|
9220
|
+
this.showSaveButton = true;
|
|
9221
|
+
this.showToolbar = true;
|
|
9222
|
+
this._portalService.deviceSize$.subscribe((deviceSize) => {
|
|
9223
|
+
this.deviceSize = deviceSize;
|
|
9224
|
+
});
|
|
9225
|
+
const formPanelCtrlr = this.dialogParams.context.formpanelCtrlr;
|
|
9226
|
+
const moId = this.dialogParams.context.id;
|
|
9227
|
+
const typeDefId = this.dialogParams.context.tyid;
|
|
9228
|
+
const reportId = this.dialogParams.context.repid;
|
|
9229
|
+
this.inDialog = this.dialogParams.context.inDialog;
|
|
9230
|
+
this.fullscreen = this.dialogParams.context.fullscreen;
|
|
9231
|
+
this.params = { moId, typeDefId, reportId, inDialog: true };
|
|
9232
|
+
this._setCaption(formPanelCtrlr);
|
|
9233
|
+
this.formPanelCtrlr = formPanelCtrlr;
|
|
9234
|
+
}
|
|
9235
|
+
ngOnInit() {
|
|
9236
|
+
super.ngOnInit();
|
|
9237
|
+
const formPanelCtrlr = this.formPanelCtrlr;
|
|
9238
|
+
this.showSaveButton = BarsaApi.Common.Util.TryGetValue(formPanelCtrlr, 'Setting.View.FormSettings.ShowSaveButton');
|
|
9239
|
+
this.showToolbar = BarsaApi.Common.Util.TryGetValue(formPanelCtrlr, 'Setting.View.FormSettings.ShowToolbar');
|
|
9240
|
+
this.isNonePersistance = formPanelCtrlr?.Setting?.View?.IsNonePersistance;
|
|
9241
|
+
this.showFooter = this.isNonePersistance
|
|
9242
|
+
? this.showSaveButton !== false && this.showToolbar !== false
|
|
9243
|
+
: this.showSaveButton;
|
|
9244
|
+
if (typeof this.showFooter == typeof null) {
|
|
9245
|
+
this.showFooter = true;
|
|
9246
|
+
}
|
|
9247
|
+
this.openDialog();
|
|
9248
|
+
}
|
|
9249
|
+
openDialog() {
|
|
9250
|
+
const smallDevice = this.deviceSize === 's' || this.deviceSize === 'm';
|
|
9251
|
+
const width = smallDevice ? '100vw' : '30vw';
|
|
9252
|
+
let height = smallDevice ? '100vh' : 'auto';
|
|
9253
|
+
const viewWidth = BarsaApi.Common.Util.TryGetValue(this.formPanelCtrlr, 'Setting.View.CustomSize.width', null);
|
|
9254
|
+
const viewHieght = BarsaApi.Common.Util.TryGetValue(this.formPanelCtrlr, 'Setting.View.CustomSize.height', null);
|
|
9255
|
+
const minWidth = smallDevice ? '100vw' : viewWidth ? viewWidth + 'px' : 'auto';
|
|
9256
|
+
const minHeight = smallDevice ? '100vw' : viewHieght ? viewHieght + 'px' : 'auto';
|
|
9257
|
+
if (viewHieght) {
|
|
9258
|
+
height = '100%';
|
|
9259
|
+
}
|
|
9260
|
+
const modalSetting = BarsaApi.Common.Util.TryGetValue(this.formPanelCtrlr, 'Setting.View.CustomUi.Parameters.ModalSetting', null);
|
|
9261
|
+
let setting = {
|
|
9262
|
+
escKeyCloseable: false,
|
|
9263
|
+
responsivePadding: true,
|
|
9264
|
+
backdropClickCloseable: false,
|
|
9265
|
+
mobile: smallDevice,
|
|
9266
|
+
width,
|
|
9267
|
+
height,
|
|
9268
|
+
// bodyMinHeight: minHeight,
|
|
9269
|
+
minHeight,
|
|
9270
|
+
minWidth,
|
|
9271
|
+
fullScreen: smallDevice,
|
|
9272
|
+
verticalPadding: true,
|
|
9273
|
+
resizable: false,
|
|
9274
|
+
data: { caption: this.caption }
|
|
9275
|
+
};
|
|
9276
|
+
if (modalSetting) {
|
|
9277
|
+
setting = { ...setting, ...modalSetting };
|
|
9278
|
+
}
|
|
9279
|
+
this.dialogRef = this._dialogService.open(this.dialogTemplateRef, setting);
|
|
9280
|
+
}
|
|
9281
|
+
onCancel() {
|
|
9282
|
+
this._close();
|
|
9283
|
+
}
|
|
9284
|
+
onSave() {
|
|
9285
|
+
const adapter = this.formPanelCtrlr.Adapter;
|
|
9286
|
+
adapter.fireEvent('ToolClick', adapter, { Key: 'SaveAndClose' });
|
|
9287
|
+
}
|
|
9288
|
+
onOk() {
|
|
9289
|
+
const adapter = this.formPanelCtrlr.Adapter;
|
|
9290
|
+
adapter.fireEvent('ToolClick', adapter, { Key: 'Ok' });
|
|
9291
|
+
}
|
|
9292
|
+
onFormClose() {
|
|
9293
|
+
this.dialogRef.close();
|
|
9294
|
+
this.dialogParams.close();
|
|
9295
|
+
this.dialogOpened = false;
|
|
9296
|
+
}
|
|
9297
|
+
// /* eslint-disable */
|
|
9298
|
+
// @Input() ShowFormPanelControl = (formpanelCtrlr) => {};
|
|
9299
|
+
// /* eslint-disable */
|
|
9300
|
+
// @Input() ForceCloseChild = () => {};
|
|
9301
|
+
// /* eslint-disable */
|
|
9302
|
+
// @Input() RefreshFormPanelControl = (formpanelCtrlr) => {};
|
|
9303
|
+
_close() {
|
|
9304
|
+
// this.dialogRef.nativeElement.close();
|
|
9305
|
+
this.formPanelCtrlr.Adapter.Control.fireEvent('RequestForClose', this.formPanelCtrlr.Adapter.Control);
|
|
9306
|
+
// this.dialogRef.close();
|
|
9307
|
+
// this.dialogParams.close();
|
|
9308
|
+
// this.dialogOpened = false;
|
|
9309
|
+
}
|
|
9310
|
+
_setCaption(formPanelCtrlr) {
|
|
9311
|
+
const typeDefName = BarsaApi.Common.Util.TryGetValue(formPanelCtrlr, 'Mo.$TypeDefName', '');
|
|
9312
|
+
const moCaption = BarsaApi.Common.Util.TryGetValue(formPanelCtrlr, 'Mo.$Caption', '');
|
|
9313
|
+
this.caption = typeDefName + ':' + moCaption;
|
|
9314
|
+
}
|
|
9315
|
+
}
|
|
9316
|
+
FormDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormDialogComponent, deps: [{ token: i1$1.DialogService }, { token: i2.DialogParams }, { token: i2.PortalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
9317
|
+
FormDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: FormDialogComponent, selector: "bsu-form-dialog", providers: [ContainerService], viewQueries: [{ propertyName: "dialogTemplateRef", first: true, predicate: ["dialog"], descendants: true, read: TemplateRef, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-template let-dialog let-dialogConfig=\"dialogConfig\" #dialog>\r\n <fd-dialog [dialogConfig]=\"dialogConfig\" [dialogRef]=\"dialog\">\r\n <fd-dialog-header>\r\n <h1 fd-title>{{ dialogConfig.data.caption }}</h1>\r\n <button fd-dialog-close-button (click)=\"onCancel()\"></button>\r\n </fd-dialog-header>\r\n\r\n <fd-dialog-body>\r\n <bnrc-form [formPanelCtrl]=\"formPanelCtrlr\" [params]=\"params\" (formClose)=\"onFormClose()\"></bnrc-form>\r\n </fd-dialog-body>\r\n <fd-dialog-footer [style.display]=\"!showFooter ? 'none' : null\">\r\n <ng-container *ngIf=\"isNonePersistance; else saveBtn\">\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-dialog-decisive-button\r\n fdType=\"emphasized\"\r\n [label]=\"'Ok' | bbbTranslate\"\r\n (click)=\"onOk()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </ng-container>\r\n <ng-template #saveBtn>\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-dialog-decisive-button\r\n fdType=\"emphasized\"\r\n [label]=\"'Save' | bbbTranslate\"\r\n (click)=\"onSave()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </ng-template>\r\n\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-initial-focus\r\n fd-dialog-decisive-button\r\n fdType=\"transparent\"\r\n [label]=\"'Cancel' | bbbTranslate\"\r\n (click)=\"onCancel()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </fd-dialog-footer>\r\n </fd-dialog>\r\n</ng-template>\r\n", styles: [":host{display:block;height:auto}fd-dialog-body{display:flex;flex-direction:column;height:100%;align-items:stretch;justify-content:stretch}fd-dialog-body>bnrc-form{flex-grow:1;display:flex;flex-direction:row;height:100%;justify-content:stretch;align-items:stretch}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FormComponent, selector: "bnrc-form", inputs: ["params", "customFormPanelUi", "formPanelCtrl", "formPanelCtrlId"], outputs: ["titleChanged", "moChanged", "formClose", "formRendered"] }, { kind: "component", type: i3$1.ButtonBarComponent, selector: "fd-button-bar", inputs: ["fullWidth", "fdType", "title", "ariaLabel", "ariaLabelledby", "id"] }, { kind: "component", type: i4.DialogComponent, selector: "fd-dialog", inputs: ["class", "dialogRef", "dialogConfig"] }, { kind: "component", type: i4.DialogBodyComponent, selector: "fd-dialog-body" }, { kind: "component", type: i4.DialogFooterComponent, selector: "fd-dialog-footer" }, { kind: "component", type: i4.DialogHeaderComponent, selector: "fd-dialog-header" }, { kind: "component", type: i4.DialogCloseButtonComponent, selector: "[fd-dialog-close-button]", inputs: ["mobile", "title"] }, { kind: "component", type: i4.DialogFooterButtonComponent, selector: "fd-dialog-footer-button" }, { kind: "directive", type: i4.DialogDecisiveButtonDirective, selector: "[fd-dialog-decisive-button]" }, { kind: "component", type: i5.TitleComponent, selector: "h1[fd-title], h2[fd-title], h3[fd-title], h4[fd-title], h5[fd-title], h6[fd-title]", inputs: ["headerSize", "wrap"], exportAs: ["fd-title"] }, { kind: "directive", type: i6$2.InitialFocusDirective, selector: "[fdInitialFocus], [fd-initial-focus]", inputs: ["fd-initial-focus", "enabled", "focusLastElement"] }, { kind: "pipe", type: i2.BbbTranslatePipe, name: "bbbTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormDialogComponent, decorators: [{
|
|
9319
|
+
type: Component,
|
|
9320
|
+
args: [{ selector: 'bsu-form-dialog', providers: [ContainerService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template let-dialog let-dialogConfig=\"dialogConfig\" #dialog>\r\n <fd-dialog [dialogConfig]=\"dialogConfig\" [dialogRef]=\"dialog\">\r\n <fd-dialog-header>\r\n <h1 fd-title>{{ dialogConfig.data.caption }}</h1>\r\n <button fd-dialog-close-button (click)=\"onCancel()\"></button>\r\n </fd-dialog-header>\r\n\r\n <fd-dialog-body>\r\n <bnrc-form [formPanelCtrl]=\"formPanelCtrlr\" [params]=\"params\" (formClose)=\"onFormClose()\"></bnrc-form>\r\n </fd-dialog-body>\r\n <fd-dialog-footer [style.display]=\"!showFooter ? 'none' : null\">\r\n <ng-container *ngIf=\"isNonePersistance; else saveBtn\">\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-dialog-decisive-button\r\n fdType=\"emphasized\"\r\n [label]=\"'Ok' | bbbTranslate\"\r\n (click)=\"onOk()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </ng-container>\r\n <ng-template #saveBtn>\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-dialog-decisive-button\r\n fdType=\"emphasized\"\r\n [label]=\"'Save' | bbbTranslate\"\r\n (click)=\"onSave()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </ng-template>\r\n\r\n <fd-dialog-footer-button>\r\n <fd-button-bar\r\n fd-initial-focus\r\n fd-dialog-decisive-button\r\n fdType=\"transparent\"\r\n [label]=\"'Cancel' | bbbTranslate\"\r\n (click)=\"onCancel()\"\r\n ></fd-button-bar>\r\n </fd-dialog-footer-button>\r\n </fd-dialog-footer>\r\n </fd-dialog>\r\n</ng-template>\r\n", styles: [":host{display:block;height:auto}fd-dialog-body{display:flex;flex-direction:column;height:100%;align-items:stretch;justify-content:stretch}fd-dialog-body>bnrc-form{flex-grow:1;display:flex;flex-direction:row;height:100%;justify-content:stretch;align-items:stretch}\n"] }]
|
|
9321
|
+
}], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: i2.DialogParams }, { type: i2.PortalService }]; }, propDecorators: { dialogTemplateRef: [{
|
|
9322
|
+
type: ViewChild,
|
|
9323
|
+
args: ['dialog', { read: TemplateRef, static: true }]
|
|
9324
|
+
}] } });
|
|
9325
|
+
|
|
9391
9326
|
class UiDateTimeComponent extends FieldBaseComponent {
|
|
9392
9327
|
constructor() {
|
|
9393
9328
|
super(...arguments);
|
|
@@ -10732,175 +10667,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
10732
10667
|
type: Input
|
|
10733
10668
|
}] } });
|
|
10734
10669
|
|
|
10735
|
-
class FormPageBaseComponent extends ContainerComponent {
|
|
10736
|
-
constructor() {
|
|
10737
|
-
super(...arguments);
|
|
10738
|
-
/* eslint-disable */
|
|
10739
|
-
this.ShowFormPanelControl = (formpanelCtrlr) => {
|
|
10740
|
-
this._portalService.ShowFormPanelControl(formpanelCtrlr, this._router, this._activatedRoute, FormDialogComponent, false);
|
|
10741
|
-
};
|
|
10742
|
-
/* eslint-disable */
|
|
10743
|
-
this.RefreshFormPanelControl = () => {
|
|
10744
|
-
const formpanelCtrlr = this._portalService.formPanels[this.formpanelCtrlrId];
|
|
10745
|
-
this.parentContainer.RefreshFormPanelControl(formpanelCtrlr);
|
|
10746
|
-
};
|
|
10747
|
-
/* eslint-disable */
|
|
10748
|
-
this.ForceCloseChild = () => {
|
|
10749
|
-
this._router.navigate([{ outlets: { popup: null } }], {
|
|
10750
|
-
relativeTo: this._activatedRoute
|
|
10751
|
-
});
|
|
10752
|
-
};
|
|
10753
|
-
/* eslint-disable */
|
|
10754
|
-
this.ForceClose = () => {
|
|
10755
|
-
this.parentContainer.ForceCloseChild();
|
|
10756
|
-
};
|
|
10757
|
-
}
|
|
10758
|
-
ngOnInit() {
|
|
10759
|
-
super.ngOnInit();
|
|
10760
|
-
this._activatedRoute.params.pipe(takeUntil(this._onDestroy$)).subscribe((params) => {
|
|
10761
|
-
const state = this._router.getCurrentNavigation()?.extras.state;
|
|
10762
|
-
this.prepareIds(state?.formPanelCtrlrId, params);
|
|
10763
|
-
});
|
|
10764
|
-
}
|
|
10765
|
-
ngAfterViewInit() {
|
|
10766
|
-
super.ngAfterViewInit();
|
|
10767
|
-
if (!this.formPanelCtrlr) {
|
|
10768
|
-
this.formPanelCtrlr = this._portalService.formPanels[this.formpanelCtrlrId];
|
|
10769
|
-
}
|
|
10770
|
-
this.hideAllPageContent();
|
|
10771
|
-
if (BarsaApi.LoginFormData.IsServiceDesk) {
|
|
10772
|
-
setTimeout(() => {
|
|
10773
|
-
window.scrollTo({ top: 0 });
|
|
10774
|
-
}, 0);
|
|
10775
|
-
}
|
|
10776
|
-
}
|
|
10777
|
-
ngOnDestroy() {
|
|
10778
|
-
super.ngOnDestroy();
|
|
10779
|
-
this._portalService.formPanels[this.formpanelCtrlrId] = null;
|
|
10780
|
-
this.removeLastHidePage();
|
|
10781
|
-
}
|
|
10782
|
-
hideAllPageContent() {
|
|
10783
|
-
// const pages = document.querySelectorAll('.section.absolute-page');
|
|
10784
|
-
// pages?.forEach((pageEl) => {
|
|
10785
|
-
// if (pageEl !== this._el.nativeElement) {
|
|
10786
|
-
// // (pageEl as HTMLElement).classList.add('hide');
|
|
10787
|
-
// }
|
|
10788
|
-
// });
|
|
10789
|
-
// if (pages && pages.length > 0) {
|
|
10790
|
-
// (pages[pages.length - 1]?.firstChild as HTMLElement)?.classList?.remove('hide');
|
|
10791
|
-
// }
|
|
10792
|
-
}
|
|
10793
|
-
removeLastHidePage() {
|
|
10794
|
-
// const pages = document.querySelectorAll('.section.absolute-page');
|
|
10795
|
-
// if (pages && pages.length > 0) {
|
|
10796
|
-
// const last: null | Element = pages[pages.length - 2];
|
|
10797
|
-
// last.classList?.remove('hide');
|
|
10798
|
-
// }
|
|
10799
|
-
}
|
|
10800
|
-
onFormClose() {
|
|
10801
|
-
if (this._activatedRoute.snapshot.params.isFirst &&
|
|
10802
|
-
this._activatedRoute.parent?.parent?.routeConfig?.path === 'form') {
|
|
10803
|
-
const parentUrl = this._router.url.split('/form/')[0];
|
|
10804
|
-
this._router.navigateByUrl(parentUrl, {
|
|
10805
|
-
replaceUrl: true
|
|
10806
|
-
});
|
|
10807
|
-
// this.router.navigate(['../']);
|
|
10808
|
-
// this.router.navigate([{ outlets: { main: null } }], {
|
|
10809
|
-
// relativeTo: this.activatedRoute,
|
|
10810
|
-
// });
|
|
10811
|
-
}
|
|
10812
|
-
else {
|
|
10813
|
-
this._router.navigate(['../'], {
|
|
10814
|
-
relativeTo: this._activatedRoute,
|
|
10815
|
-
replaceUrl: true
|
|
10816
|
-
});
|
|
10817
|
-
}
|
|
10818
|
-
return;
|
|
10819
|
-
const outlet = this._activatedRoute.outlet;
|
|
10820
|
-
// let outlets = {};
|
|
10821
|
-
// outlets[outlet] = null;
|
|
10822
|
-
// if(this.location.getState())
|
|
10823
|
-
this._router.navigate([{ outlets: { main: null } }]);
|
|
10824
|
-
}
|
|
10825
|
-
prepareIds(formpanelCtrlrId, params) {
|
|
10826
|
-
this.formpanelCtrlrId = formpanelCtrlrId || params.formPanelCtrlrId;
|
|
10827
|
-
if (this.formpanelCtrlrId) {
|
|
10828
|
-
this.formPanelCtrlr = this._portalService.formPanels[this.formpanelCtrlrId];
|
|
10829
|
-
}
|
|
10830
|
-
const moId = params.id;
|
|
10831
|
-
const typeDefId = params.tyid;
|
|
10832
|
-
const reportId = params.repid;
|
|
10833
|
-
const viewId = params.vid;
|
|
10834
|
-
this.params = Object.assign({}, { moId, typeDefId, reportId, viewId });
|
|
10835
|
-
this._cdr.detectChanges();
|
|
10836
|
-
}
|
|
10837
|
-
}
|
|
10838
|
-
FormPageBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormPageBaseComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
10839
|
-
FormPageBaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: FormPageBaseComponent, selector: "bsu-form-page-base", inputs: { formPanelCtrlr: "formPanelCtrlr", ShowFormPanelControl: "ShowFormPanelControl", RefreshFormPanelControl: "RefreshFormPanelControl", ForceCloseChild: "ForceCloseChild", ForceClose: "ForceClose" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormPageBaseComponent, decorators: [{
|
|
10841
|
-
type: Component,
|
|
10842
|
-
args: [{
|
|
10843
|
-
selector: 'bsu-form-page-base',
|
|
10844
|
-
template: '',
|
|
10845
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
10846
|
-
}]
|
|
10847
|
-
}], propDecorators: { formPanelCtrlr: [{
|
|
10848
|
-
type: Input
|
|
10849
|
-
}], ShowFormPanelControl: [{
|
|
10850
|
-
type: Input
|
|
10851
|
-
}], RefreshFormPanelControl: [{
|
|
10852
|
-
type: Input
|
|
10853
|
-
}], ForceCloseChild: [{
|
|
10854
|
-
type: Input
|
|
10855
|
-
}], ForceClose: [{
|
|
10856
|
-
type: Input
|
|
10857
|
-
}] } });
|
|
10858
|
-
|
|
10859
|
-
class FormPageComponent extends FormPageBaseComponent {
|
|
10860
|
-
constructor() {
|
|
10861
|
-
super(...arguments);
|
|
10862
|
-
this.sectionClass = true;
|
|
10863
|
-
this.absolutePageClass = true;
|
|
10864
|
-
}
|
|
10865
|
-
ngOnInit() {
|
|
10866
|
-
this.containerRef = this.formRef.vcr; // it must be first because we change containerRef
|
|
10867
|
-
super.ngOnInit();
|
|
10868
|
-
}
|
|
10869
|
-
}
|
|
10870
|
-
FormPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormPageComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
10871
|
-
FormPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: FormPageComponent, selector: "bsu-form-page", inputs: { formPanelCtrlr: "formPanelCtrlr" }, host: { properties: { "class.section": "this.sectionClass", "class.absolute-page": "this.absolutePageClass" } }, providers: [FormService, ContainerService], viewQueries: [{ propertyName: "formRef", first: true, predicate: FormComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
10872
|
-
<bnrc-form
|
|
10873
|
-
[formPanelCtrl]="formPanelCtrlr"
|
|
10874
|
-
[formPanelCtrlId]="formpanelCtrlrId"
|
|
10875
|
-
[params]="params"
|
|
10876
|
-
(formClose)="onFormClose()"
|
|
10877
|
-
></bnrc-form>
|
|
10878
|
-
<router-outlet></router-outlet>
|
|
10879
|
-
`, isInline: true, styles: [":host{display:block;background:var(--sapBackgroundColor)}\n"], dependencies: [{ kind: "component", type: i2.FormComponent, selector: "bnrc-form", inputs: ["params", "customFormPanelUi", "formPanelCtrl", "formPanelCtrlId"], outputs: ["titleChanged", "moChanged", "formClose", "formRendered"] }, { kind: "directive", type: i3$7.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormPageComponent, decorators: [{
|
|
10881
|
-
type: Component,
|
|
10882
|
-
args: [{ selector: 'bsu-form-page', template: `
|
|
10883
|
-
<bnrc-form
|
|
10884
|
-
[formPanelCtrl]="formPanelCtrlr"
|
|
10885
|
-
[formPanelCtrlId]="formpanelCtrlrId"
|
|
10886
|
-
[params]="params"
|
|
10887
|
-
(formClose)="onFormClose()"
|
|
10888
|
-
></bnrc-form>
|
|
10889
|
-
<router-outlet></router-outlet>
|
|
10890
|
-
`, providers: [FormService, ContainerService], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:block;background:var(--sapBackgroundColor)}\n"] }]
|
|
10891
|
-
}], propDecorators: { formRef: [{
|
|
10892
|
-
type: ViewChild,
|
|
10893
|
-
args: [FormComponent, { static: true }]
|
|
10894
|
-
}], formPanelCtrlr: [{
|
|
10895
|
-
type: Input
|
|
10896
|
-
}], sectionClass: [{
|
|
10897
|
-
type: HostBinding,
|
|
10898
|
-
args: ['class.section']
|
|
10899
|
-
}], absolutePageClass: [{
|
|
10900
|
-
type: HostBinding,
|
|
10901
|
-
args: ['class.absolute-page']
|
|
10902
|
-
}] } });
|
|
10903
|
-
|
|
10904
10670
|
class ColRendererDirective extends BaseDirective {
|
|
10905
10671
|
constructor(el) {
|
|
10906
10672
|
super();
|
|
@@ -11042,15 +10808,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
11042
10808
|
args: [{ selector: 'bsu-title', changeDetection: ChangeDetectionStrategy.OnPush, template: "<h1\r\n fd-title\r\n [ngStyle]=\"parameters?.Style | removeNewline | convertToStyle\"\r\n [headerSize]=\"parameters.Size\"\r\n [wrap]=\"parameters.Wrap\"\r\n>\r\n {{ value }}\r\n</h1>\r\n" }]
|
|
11043
10809
|
}] });
|
|
11044
10810
|
|
|
10811
|
+
const routes = [];
|
|
11045
10812
|
class BarsaSapUiRoutingModule {
|
|
11046
10813
|
}
|
|
11047
10814
|
BarsaSapUiRoutingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarsaSapUiRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11048
10815
|
BarsaSapUiRoutingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: BarsaSapUiRoutingModule, imports: [i3$7.RouterModule], exports: [RouterModule] });
|
|
11049
|
-
BarsaSapUiRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarsaSapUiRoutingModule, imports: [RouterModule.forChild(
|
|
10816
|
+
BarsaSapUiRoutingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarsaSapUiRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
11050
10817
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarsaSapUiRoutingModule, decorators: [{
|
|
11051
10818
|
type: NgModule,
|
|
11052
10819
|
args: [{
|
|
11053
|
-
imports: [RouterModule.forChild(
|
|
10820
|
+
imports: [RouterModule.forChild(routes)],
|
|
11054
10821
|
exports: [RouterModule]
|
|
11055
10822
|
}]
|
|
11056
10823
|
}] });
|
|
@@ -11424,7 +11191,6 @@ const components = [
|
|
|
11424
11191
|
LayoutWizardComponent,
|
|
11425
11192
|
FormWizardComponent,
|
|
11426
11193
|
FormDialogLessComponent,
|
|
11427
|
-
FormPageComponent,
|
|
11428
11194
|
RichTextStaticComponent,
|
|
11429
11195
|
UiPicturesInfoComponent,
|
|
11430
11196
|
LyHorizontalLayoutComponent,
|
|
@@ -11437,7 +11203,6 @@ const components = [
|
|
|
11437
11203
|
UiTreeComponent,
|
|
11438
11204
|
PageWithHeaderComponent,
|
|
11439
11205
|
HeaderAvatarComponent,
|
|
11440
|
-
EmptyPageComponent,
|
|
11441
11206
|
UiWorkflowPanelUiComponent,
|
|
11442
11207
|
UlvContextMenuComponent,
|
|
11443
11208
|
UlLoadingMaskUiComponent,
|
|
@@ -11650,7 +11415,8 @@ const rootProviders = [
|
|
|
11650
11415
|
useFactory: INIT_SAPFIORI,
|
|
11651
11416
|
deps: [RtlService, GlobalContentDensityService, ThemesService, PortalService],
|
|
11652
11417
|
multi: true
|
|
11653
|
-
}
|
|
11418
|
+
},
|
|
11419
|
+
{ provide: FORM_DIALOG_COMPONENT, useValue: FormDialogComponent }
|
|
11654
11420
|
];
|
|
11655
11421
|
class BarsaSapUiModule extends BaseModule {
|
|
11656
11422
|
constructor(dcm, componentFactoryResolver) {
|
|
@@ -11667,7 +11433,7 @@ class BarsaSapUiModule extends BaseModule {
|
|
|
11667
11433
|
}
|
|
11668
11434
|
}
|
|
11669
11435
|
BarsaSapUiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarsaSapUiModule, deps: [{ token: i2.DynamicComponentService }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11670
|
-
BarsaSapUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: BarsaSapUiModule, declarations: [UiTextFieldComponent, LyLayoutFieldLabelComponent, UiCheckBoxComponent, UiSimpleComboComponent, UiRadioGroupComponent, UiGridComponent, LyLayoutContainerOfRootComponent, LyLayoutPanelComponent, UiReadOnlyFieldComponent, UiContainerWithButtonComponent, UiPictureFileComponent, UiMoInfoUlvComboComponent, UiMultiSelectComboComponent, UiNumDecimalUiComponent, UiNumIntUiComponent, UiTimeSpanComponent, UiFileLinearListBoxComponent, LyEmptySpaceComponent, UiSinglePictureComponent, UlvSelectionComponent, UlvToolbarComponent, UlvPagingComponent, UiGridSortSettingComponent, UiGridSortItemComponent, UiGridColumnsComponent, MaskComponent, UiInfoBarPanelComponent, UiFormPanelToolbarComponent, UiFormPanelComponent, UiSearchCommandInfoUiComponent, UlvSettingsComponent, UiTinymceComponent, UiButtonComponent, UiDateTimeComponent, FormDialogComponent, HeaderFacetKeyValueComponent, HeaderFacetFormComponent, HeaderFacetRateComponent, HeaderFacetProgressComponent, HeaderFacetMicrochartComponent, HeaderFacetPlainTextComponent, UiMoInfoSubFormUiComponent, ResponsiveToolbarComponent, ResponsiveToolbarRendererComponent, UiTextAreaComponent, LayoutControlComponent, LayoutWizardComponent, FormWizardComponent, FormDialogLessComponent,
|
|
11436
|
+
BarsaSapUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: BarsaSapUiModule, declarations: [UiTextFieldComponent, LyLayoutFieldLabelComponent, UiCheckBoxComponent, UiSimpleComboComponent, UiRadioGroupComponent, UiGridComponent, LyLayoutContainerOfRootComponent, LyLayoutPanelComponent, UiReadOnlyFieldComponent, UiContainerWithButtonComponent, UiPictureFileComponent, UiMoInfoUlvComboComponent, UiMultiSelectComboComponent, UiNumDecimalUiComponent, UiNumIntUiComponent, UiTimeSpanComponent, UiFileLinearListBoxComponent, LyEmptySpaceComponent, UiSinglePictureComponent, UlvSelectionComponent, UlvToolbarComponent, UlvPagingComponent, UiGridSortSettingComponent, UiGridSortItemComponent, UiGridColumnsComponent, MaskComponent, UiInfoBarPanelComponent, UiFormPanelToolbarComponent, UiFormPanelComponent, UiSearchCommandInfoUiComponent, UlvSettingsComponent, UiTinymceComponent, UiButtonComponent, UiDateTimeComponent, FormDialogComponent, HeaderFacetKeyValueComponent, HeaderFacetFormComponent, HeaderFacetRateComponent, HeaderFacetProgressComponent, HeaderFacetMicrochartComponent, HeaderFacetPlainTextComponent, UiMoInfoSubFormUiComponent, ResponsiveToolbarComponent, ResponsiveToolbarRendererComponent, UiTextAreaComponent, LayoutControlComponent, LayoutWizardComponent, FormWizardComponent, FormDialogLessComponent, RichTextStaticComponent, UiPicturesInfoComponent, LyHorizontalLayoutComponent, LyVerticalLayoutComponent, LyTabContainerComponent, LyTabPageComponent, LyLabelComponent, UiMoInfoComboViewerComponent, UlMsgBoxAdapterComponent, UiTreeComponent, PageWithHeaderComponent, HeaderAvatarComponent, UiWorkflowPanelUiComponent, UlvContextMenuComponent, UlLoadingMaskUiComponent, UiTextFieldAutoCompleteComponent, CaptchaFieldComponent, LySimpleLabelComponent, GlobalSearchPanelComponent, GlobalSearchModuleComponent, GlobalSearchComponent, HyperlinkComponent, StaticTextComponent, UlToastAdapterComponent, MessageStripComponent, UiLinearListContainerWithButtonComponent, FundamentalDynamicFormComponent, LayoutActionsComponent, LyLayoutContainerComponent, UiUlvFormMultiSelectUiComponent, UlvFormMultiSelectComponent, UlvColumnSettingsComponent, UlvFilterSettingsComponent, UlvSortSettingsComponent, UlvGroupbySettingsComponent, BarsaListFileLinearComponent, UiPdfViewerComponent, BarsaTinyemceComponent, UiMonacoEditorComponent, BarsaMonacoEditorComponent, BarsaDateTimePickerComponent, BarsaTreeItemComponent, UiSwitchButtonComponent, UiColorUiComponent, LyLineComponent, UiUlvMainUiComponent, ReportNavigatorComponent, ManageFiltersReportComponent, ReportSearchFieldsManageComponent, ReportSearchFieldsHiddenSettingsComponent, SearchPanelComponent, ReportSearchPanelSaveComponent, UiGridFilterSettingsComponent, UiGridFilterItemComponent, UiDateRangeExComponent, UlNotifyPopupComponent, UiTableViewComponent, UiListViewComponent, UiCardViewComponent, UiReportContainerComponent, NoDataComponent, ColumnRendererComponent, InlineSaveAndCancelComponent, UiTreeViewComponent, InlineSaveAndCancelComponent, UiCalendarComponent, UiAspReportViewerComponent, UiGraphComponent, UiExceptionFormComponent, UiEditableGridComponent, ColumnMatrixRendererComponent, UiMatrixViewComponent, CustomDateTimeComponent, BarsaAspViewerComponent, FileInDialogComponent, UiMoInfoGeneralObjectUiComponent, UiGanttChartComponent, GanttDhtmlChartViewComponent, ProgressIndicatorComponent, CardViewContentComponent, CardItemComponent, UiCardViewHorizontalGroupComponent, TitleComponent, BarsaUlvMainComponent, ListItemComponent, HtreeCreateNewComponent, BarsaTableHeaderComponent, BarsaTableRowComponent, BreadcrumbComponent, UiLabelComponent, FormToolbarButtonComponent, BarsaSearchFormComponent, ReportNewTopFormComponent, BarsaNetworkOfflineComponent, FileViewerContentComponent, FileViewerPopoverComponent, FileViewerComponent, BlobViewerComponent, UploadFileStatusPipe, SapFontPipe, SapFontClassPipe, StringToArrayPipe, NodeHasOneDepthLevelPipe, MatrixValuePipe, DynamicPageSizePipe, WizardLayoutDirective, ColRendererDirective, ApplyConditionalFormatsDirective, ReportViewRendererDirective, FullscreenDialogDirective, FullscreenFilesDirective, DownloadFilesDirective], imports: [CommonModule,
|
|
11671
11437
|
FormsModule,
|
|
11672
11438
|
ReactiveFormsModule,
|
|
11673
11439
|
BarsaNovinRayCoreModule,
|
|
@@ -11685,7 +11451,7 @@ BarsaSapUiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versio
|
|
|
11685
11451
|
ColorChromeModule,
|
|
11686
11452
|
ClipboardModule,
|
|
11687
11453
|
BarsaCalendarModule,
|
|
11688
|
-
BarsaSapUiRoutingModule, i1$1.ContentDensityModule], exports: [UiTextFieldComponent, LyLayoutFieldLabelComponent, UiCheckBoxComponent, UiSimpleComboComponent, UiRadioGroupComponent, UiGridComponent, LyLayoutContainerOfRootComponent, LyLayoutPanelComponent, UiReadOnlyFieldComponent, UiContainerWithButtonComponent, UiPictureFileComponent, UiMoInfoUlvComboComponent, UiMultiSelectComboComponent, UiNumDecimalUiComponent, UiNumIntUiComponent, UiTimeSpanComponent, UiFileLinearListBoxComponent, LyEmptySpaceComponent, UiSinglePictureComponent, UlvSelectionComponent, UlvToolbarComponent, UlvPagingComponent, UiGridSortSettingComponent, UiGridSortItemComponent, UiGridColumnsComponent, MaskComponent, UiInfoBarPanelComponent, UiFormPanelToolbarComponent, UiFormPanelComponent, UiSearchCommandInfoUiComponent, UlvSettingsComponent, UiTinymceComponent, UiButtonComponent, UiDateTimeComponent, FormDialogComponent, HeaderFacetKeyValueComponent, HeaderFacetFormComponent, HeaderFacetRateComponent, HeaderFacetProgressComponent, HeaderFacetMicrochartComponent, HeaderFacetPlainTextComponent, UiMoInfoSubFormUiComponent, ResponsiveToolbarComponent, ResponsiveToolbarRendererComponent, UiTextAreaComponent, LayoutControlComponent, LayoutWizardComponent, FormWizardComponent, FormDialogLessComponent,
|
|
11454
|
+
BarsaSapUiRoutingModule, i1$1.ContentDensityModule], exports: [UiTextFieldComponent, LyLayoutFieldLabelComponent, UiCheckBoxComponent, UiSimpleComboComponent, UiRadioGroupComponent, UiGridComponent, LyLayoutContainerOfRootComponent, LyLayoutPanelComponent, UiReadOnlyFieldComponent, UiContainerWithButtonComponent, UiPictureFileComponent, UiMoInfoUlvComboComponent, UiMultiSelectComboComponent, UiNumDecimalUiComponent, UiNumIntUiComponent, UiTimeSpanComponent, UiFileLinearListBoxComponent, LyEmptySpaceComponent, UiSinglePictureComponent, UlvSelectionComponent, UlvToolbarComponent, UlvPagingComponent, UiGridSortSettingComponent, UiGridSortItemComponent, UiGridColumnsComponent, MaskComponent, UiInfoBarPanelComponent, UiFormPanelToolbarComponent, UiFormPanelComponent, UiSearchCommandInfoUiComponent, UlvSettingsComponent, UiTinymceComponent, UiButtonComponent, UiDateTimeComponent, FormDialogComponent, HeaderFacetKeyValueComponent, HeaderFacetFormComponent, HeaderFacetRateComponent, HeaderFacetProgressComponent, HeaderFacetMicrochartComponent, HeaderFacetPlainTextComponent, UiMoInfoSubFormUiComponent, ResponsiveToolbarComponent, ResponsiveToolbarRendererComponent, UiTextAreaComponent, LayoutControlComponent, LayoutWizardComponent, FormWizardComponent, FormDialogLessComponent, RichTextStaticComponent, UiPicturesInfoComponent, LyHorizontalLayoutComponent, LyVerticalLayoutComponent, LyTabContainerComponent, LyTabPageComponent, LyLabelComponent, UiMoInfoComboViewerComponent, UlMsgBoxAdapterComponent, UiTreeComponent, PageWithHeaderComponent, HeaderAvatarComponent, UiWorkflowPanelUiComponent, UlvContextMenuComponent, UlLoadingMaskUiComponent, UiTextFieldAutoCompleteComponent, CaptchaFieldComponent, LySimpleLabelComponent, GlobalSearchPanelComponent, GlobalSearchModuleComponent, GlobalSearchComponent, HyperlinkComponent, StaticTextComponent, UlToastAdapterComponent, MessageStripComponent, UiLinearListContainerWithButtonComponent, FundamentalDynamicFormComponent, LayoutActionsComponent, LyLayoutContainerComponent, UiUlvFormMultiSelectUiComponent, UlvFormMultiSelectComponent, UlvColumnSettingsComponent, UlvFilterSettingsComponent, UlvSortSettingsComponent, UlvGroupbySettingsComponent, BarsaListFileLinearComponent, UiPdfViewerComponent, BarsaTinyemceComponent, UiMonacoEditorComponent, BarsaMonacoEditorComponent, BarsaDateTimePickerComponent, BarsaTreeItemComponent, UiSwitchButtonComponent, UiColorUiComponent, LyLineComponent, UiUlvMainUiComponent, ReportNavigatorComponent, ManageFiltersReportComponent, ReportSearchFieldsManageComponent, ReportSearchFieldsHiddenSettingsComponent, SearchPanelComponent, ReportSearchPanelSaveComponent, UiGridFilterSettingsComponent, UiGridFilterItemComponent, UiDateRangeExComponent, UlNotifyPopupComponent, UiTableViewComponent, UiListViewComponent, UiCardViewComponent, UiReportContainerComponent, NoDataComponent, ColumnRendererComponent, InlineSaveAndCancelComponent, UiTreeViewComponent, InlineSaveAndCancelComponent, UiCalendarComponent, UiAspReportViewerComponent, UiGraphComponent, UiExceptionFormComponent, UiEditableGridComponent, ColumnMatrixRendererComponent, UiMatrixViewComponent, CustomDateTimeComponent, BarsaAspViewerComponent, FileInDialogComponent, UiMoInfoGeneralObjectUiComponent, UiGanttChartComponent, GanttDhtmlChartViewComponent, ProgressIndicatorComponent, CardViewContentComponent, CardItemComponent, UiCardViewHorizontalGroupComponent, TitleComponent, BarsaUlvMainComponent, ListItemComponent, HtreeCreateNewComponent, BarsaTableHeaderComponent, BarsaTableRowComponent, BreadcrumbComponent, UiLabelComponent, FormToolbarButtonComponent, BarsaSearchFormComponent, ReportNewTopFormComponent, BarsaNetworkOfflineComponent, FileViewerContentComponent, FileViewerPopoverComponent, FileViewerComponent, BlobViewerComponent, WizardLayoutDirective, ColRendererDirective, ApplyConditionalFormatsDirective, ReportViewRendererDirective, FullscreenDialogDirective, FullscreenFilesDirective, DownloadFilesDirective, UploadFileStatusPipe, SapFontPipe, SapFontClassPipe, StringToArrayPipe, NodeHasOneDepthLevelPipe, MatrixValuePipe, DynamicPageSizePipe] });
|
|
11689
11455
|
BarsaSapUiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BarsaSapUiModule, providers: [{ provide: DIALOG_SERVICE, useClass: DialogService }], imports: [CommonModule,
|
|
11690
11456
|
FormsModule,
|
|
11691
11457
|
ReactiveFormsModule,
|
|
@@ -11750,5 +11516,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
11750
11516
|
* Generated bundle index. Do not edit.
|
|
11751
11517
|
*/
|
|
11752
11518
|
|
|
11753
|
-
export { ApplyConditionalFormatsDirective, BarsaAspViewerComponent, BarsaDateTimePickerComponent, BarsaListFileLinearComponent, BarsaMonacoEditorComponent, BarsaNetworkOfflineComponent, BarsaSapUiModule, BarsaSapUiRoutingModule, BarsaSearchFormComponent, BarsaTableHeaderComponent, BarsaTableRowComponent, BarsaTinyemceComponent, BarsaTreeItemComponent, BarsaUlvMainComponent, BlobViewerComponent, BreadcrumbComponent, CaptchaFieldComponent, CardItemComponent, CardViewContentComponent, ColRendererDirective, ColumnMatrixRendererComponent, ColumnRendererComponent, CustomDateTimeComponent, DeviceInfoFieldBaseComponent, DownloadFilesDirective, DynamicPageSizePipe,
|
|
11519
|
+
export { ApplyConditionalFormatsDirective, BarsaAspViewerComponent, BarsaDateTimePickerComponent, BarsaListFileLinearComponent, BarsaMonacoEditorComponent, BarsaNetworkOfflineComponent, BarsaSapUiModule, BarsaSapUiRoutingModule, BarsaSearchFormComponent, BarsaTableHeaderComponent, BarsaTableRowComponent, BarsaTinyemceComponent, BarsaTreeItemComponent, BarsaUlvMainComponent, BlobViewerComponent, BreadcrumbComponent, CaptchaFieldComponent, CardItemComponent, CardViewContentComponent, ColRendererDirective, ColumnMatrixRendererComponent, ColumnRendererComponent, CustomDateTimeComponent, DeviceInfoFieldBaseComponent, DownloadFilesDirective, DynamicPageSizePipe, FileInDialogComponent, FileViewerComponent, FileViewerContentComponent, FileViewerPopoverComponent, FormDialogComponent, FormDialogLessComponent, FormToolbarButtonComponent, FormWizardComponent, FullscreenDialogDirective, FullscreenFilesDirective, FundamentalDynamicFormComponent, GanttDhtmlChartViewComponent, GlobalSearchComponent, GlobalSearchModuleComponent, GlobalSearchPanelComponent, HeaderAvatarComponent, HeaderFacetFormComponent, HeaderFacetKeyValueComponent, HeaderFacetMicrochartComponent, HeaderFacetPlainTextComponent, HeaderFacetProgressComponent, HeaderFacetRateComponent, HtreeCreateNewComponent, HyperlinkComponent, IconBusinessSuite, IconTNT, InlineSaveAndCancelComponent, LayoutActionsComponent, LayoutControlComponent, LayoutWizardComponent, ListItemComponent, LyEmptySpaceComponent, LyHorizontalLayoutComponent, LyLabelComponent, LyLayoutContainerComponent, LyLayoutContainerOfRootComponent, LyLayoutFieldLabelComponent, LyLayoutPanelComponent, LyLineComponent, LySimpleLabelComponent, LyTabContainerComponent, LyTabPageComponent, LyVerticalLayoutComponent, ManageFiltersReportComponent, MaskComponent, MatrixValuePipe, MessageStripComponent, NoDataComponent, NodeHasOneDepthLevelPipe, PageWithHeaderComponent, ProgressIndicatorComponent, ReportNavigatorComponent, ReportNewTopFormComponent, ReportSearchFieldsHiddenSettingsComponent, ReportSearchFieldsManageComponent, ReportSearchPanelSaveComponent, ReportViewRendererDirective, ResponsiveToolbarComponent, ResponsiveToolbarRendererComponent, RichTextStaticComponent, SapFontClassPipe, SapFontPipe, SapUiReportBaseComponent, SearchPanelComponent, StaticTextComponent, StringToArrayPipe, TitleComponent, UiAspReportViewerComponent, UiButtonComponent, UiCalendarComponent, UiCardViewComponent, UiCardViewHorizontalGroupComponent, UiCheckBoxComponent, UiColorUiComponent, UiContainerWithButtonComponent, UiDateRangeExComponent, UiDateTimeComponent, UiEditableGridComponent, UiExceptionFormComponent, UiFileLinearListBoxComponent, UiFormPanelComponent, UiFormPanelToolbarComponent, UiGanttChartComponent, UiGraphComponent, UiGridColumnsComponent, UiGridComponent, UiGridFilterItemComponent, UiGridFilterSettingsComponent, UiGridSortItemComponent, UiGridSortSettingComponent, UiInfoBarPanelComponent, UiLabelComponent, UiLinearListContainerWithButtonComponent, UiListViewComponent, UiMatrixViewComponent, UiMoInfoComboViewerComponent, UiMoInfoGeneralObjectUiComponent, UiMoInfoSubFormUiComponent, UiMoInfoUlvComboComponent, UiMonacoEditorComponent, UiMultiSelectComboComponent, UiNumDecimalUiComponent, UiNumIntUiComponent, UiPdfViewerComponent, UiPictureFileComponent, UiPicturesInfoComponent, UiRadioGroupComponent, UiReadOnlyFieldComponent, UiReportContainerComponent, UiSearchCommandInfoUiComponent, UiSimpleComboComponent, UiSinglePictureComponent, UiSwitchButtonComponent, UiTableViewComponent, UiTextAreaComponent, UiTextFieldAutoCompleteComponent, UiTextFieldComponent, UiTimeSpanComponent, UiTinymceComponent, UiTreeComponent, UiTreeViewComponent, UiUlvFormMultiSelectUiComponent, UiUlvMainUiComponent, UiWorkflowPanelUiComponent, UlLoadingMaskUiComponent, UlMsgBoxAdapterComponent, UlNotifyPopupComponent, UlToastAdapterComponent, UlvColumnSettingsComponent, UlvContextMenuComponent, UlvFilterSettingsComponent, UlvFormMultiSelectComponent, UlvGroupbySettingsComponent, UlvPagingComponent, UlvSelectionComponent, UlvSettingsComponent, UlvSortSettingsComponent, UlvToolbarComponent, UploadFileStatusPipe, WidthTypeEnum, WizardLayoutDirective, _trimEnd, getNestedValue, insertAvatar, sort$1 as sort };
|
|
11754
11520
|
//# sourceMappingURL=barsa-sap-ui.mjs.map
|