barsa-novin-ray-core 2.0.105 → 2.0.107
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/esm2022/lib/abstract-classes/field-base.mjs +7 -3
- package/esm2022/lib/barsa-novin-ray-core.module.mjs +15 -9
- package/esm2022/lib/constants.mjs +2 -2
- package/esm2022/lib/directives/absolute-div-body.directive.mjs +45 -0
- package/esm2022/lib/directives/index.mjs +2 -1
- package/esm2022/lib/field-ui/field-ui.component.mjs +1 -1
- package/esm2022/lib/pipes/filter-workflow-mobile.pipe.mjs +24 -0
- package/esm2022/lib/pipes/index.mjs +2 -1
- package/esm2022/lib/pipes/seperator-fix.pipe.mjs +3 -3
- package/esm2022/lib/root-portal/root-portal.component.mjs +67 -67
- package/esm2022/lib/services/ulvmain.service.mjs +10 -1
- package/fesm2022/barsa-novin-ray-core.mjs +158 -77
- package/fesm2022/barsa-novin-ray-core.mjs.map +1 -1
- package/lib/abstract-classes/field-base.d.ts +1 -0
- package/lib/barsa-novin-ray-core.module.d.ts +35 -33
- package/lib/directives/absolute-div-body.directive.d.ts +17 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/pipes/filter-workflow-mobile.pipe.d.ts +8 -0
- package/lib/pipes/index.d.ts +1 -0
- package/lib/pipes/seperator-fix.pipe.d.ts +1 -1
- package/lib/services/ulvmain.service.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1930,7 +1930,7 @@ function FindLayoutSettingFromLayout94(layout94, layoutTitle) {
|
|
|
1930
1930
|
if (!layoutTitle) {
|
|
1931
1931
|
return null;
|
|
1932
1932
|
}
|
|
1933
|
-
if (layout94.Caption === layoutTitle || layout94.Title === layoutTitle) {
|
|
1933
|
+
if (layout94.Caption === layoutTitle || layout94.Title === layoutTitle || layout94.ControlId === layoutTitle) {
|
|
1934
1934
|
return layout94;
|
|
1935
1935
|
}
|
|
1936
1936
|
let tempLayout94 = null;
|
|
@@ -4220,7 +4220,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
4220
4220
|
}], ctorParameters: () => [] });
|
|
4221
4221
|
|
|
4222
4222
|
class SeperatorFixPipe {
|
|
4223
|
-
transform(buttons) {
|
|
4223
|
+
transform(buttons, removeSeperator = false) {
|
|
4224
4224
|
if (Array.isArray(buttons)) {
|
|
4225
4225
|
buttons?.forEach((c, i) => {
|
|
4226
4226
|
if (typeof c === 'string') {
|
|
@@ -4228,7 +4228,7 @@ class SeperatorFixPipe {
|
|
|
4228
4228
|
}
|
|
4229
4229
|
});
|
|
4230
4230
|
}
|
|
4231
|
-
return buttons;
|
|
4231
|
+
return !removeSeperator ? buttons : buttons.filter((c) => typeof c === 'object' && c.cls);
|
|
4232
4232
|
}
|
|
4233
4233
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SeperatorFixPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4234
4234
|
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.5", ngImport: i0, type: SeperatorFixPipe, name: "seperatorFix" }); }
|
|
@@ -5270,6 +5270,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
5270
5270
|
}]
|
|
5271
5271
|
}] });
|
|
5272
5272
|
|
|
5273
|
+
class FilterWorkflowInMobilePipe {
|
|
5274
|
+
constructor() { }
|
|
5275
|
+
transform(buttons
|
|
5276
|
+
// fileCount: number
|
|
5277
|
+
) {
|
|
5278
|
+
const isMobileOrTablet = getDeviceIsMobile() || getDeviceIsTablet();
|
|
5279
|
+
if (!isMobileOrTablet) {
|
|
5280
|
+
return buttons;
|
|
5281
|
+
}
|
|
5282
|
+
return buttons.filter((button) => !button.isWorkflow);
|
|
5283
|
+
}
|
|
5284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FilterWorkflowInMobilePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5285
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.5", ngImport: i0, type: FilterWorkflowInMobilePipe, name: "filterWorkflowInMobile" }); }
|
|
5286
|
+
}
|
|
5287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FilterWorkflowInMobilePipe, decorators: [{
|
|
5288
|
+
type: Pipe,
|
|
5289
|
+
args: [{
|
|
5290
|
+
name: 'filterWorkflowInMobile'
|
|
5291
|
+
}]
|
|
5292
|
+
}], ctorParameters: () => [] });
|
|
5293
|
+
|
|
5273
5294
|
class UlvMainService {
|
|
5274
5295
|
constructor(_bbbPipe, _apiService) {
|
|
5275
5296
|
this._bbbPipe = _bbbPipe;
|
|
@@ -5291,6 +5312,7 @@ class UlvMainService {
|
|
|
5291
5312
|
this._hideToolbarSource = new BehaviorSubject(true);
|
|
5292
5313
|
this._onDestroy$ = new Subject();
|
|
5293
5314
|
this._maskSource = new BehaviorSubject(false);
|
|
5315
|
+
this._showContextMenuSource = new Subject();
|
|
5294
5316
|
this._viewerMaskSource = new BehaviorSubject(false);
|
|
5295
5317
|
this._visibleSource = new BehaviorSubject(true);
|
|
5296
5318
|
this._enableSource = new BehaviorSubject(true);
|
|
@@ -5381,6 +5403,9 @@ class UlvMainService {
|
|
|
5381
5403
|
this.allSearchPanelSettings$
|
|
5382
5404
|
]).pipe(map(([id, settings]) => settings?.find((c) => c.Id === id)), shareReplay(1));
|
|
5383
5405
|
}
|
|
5406
|
+
get showContextMenu$() {
|
|
5407
|
+
return this._showContextMenuSource.asObservable();
|
|
5408
|
+
}
|
|
5384
5409
|
get gridFreeColumnSizing$() {
|
|
5385
5410
|
return this._gridFreeColumnSizing$.asObservable();
|
|
5386
5411
|
}
|
|
@@ -5757,6 +5782,7 @@ class UlvMainService {
|
|
|
5757
5782
|
_addEventListener(context) {
|
|
5758
5783
|
context.on({
|
|
5759
5784
|
scope: this,
|
|
5785
|
+
ShowContextMenu: this._showContextMenu,
|
|
5760
5786
|
MaskChanged: this._maskChanged,
|
|
5761
5787
|
ViewerMaskChanged: this._viewerMaskChanged,
|
|
5762
5788
|
ViewerControlChanged: this._viewerControlChanged,
|
|
@@ -5893,6 +5919,7 @@ class UlvMainService {
|
|
|
5893
5919
|
this._hideToolbarSource.next(hideToolbar);
|
|
5894
5920
|
}
|
|
5895
5921
|
_unscubscribeContext() {
|
|
5922
|
+
this.context.un('ShowContextMenu', this._showContextMenu);
|
|
5896
5923
|
this.context.un('MaskChanged', this._maskChanged);
|
|
5897
5924
|
this.context.un('ViewerControlChanged', this._viewerControlChanged);
|
|
5898
5925
|
this.context.un('ViewerMaskChanged', this._viewerMaskChanged);
|
|
@@ -5935,6 +5962,9 @@ class UlvMainService {
|
|
|
5935
5962
|
_maskChanged(mask) {
|
|
5936
5963
|
this._maskSource.next(mask);
|
|
5937
5964
|
}
|
|
5965
|
+
_showContextMenu(xy) {
|
|
5966
|
+
this._showContextMenuSource.next(xy);
|
|
5967
|
+
}
|
|
5938
5968
|
_viewerMaskChanged(viewerMask) {
|
|
5939
5969
|
this._viewerMaskSource.next(viewerMask);
|
|
5940
5970
|
}
|
|
@@ -7285,6 +7315,7 @@ class FieldBaseComponent extends BaseComponent {
|
|
|
7285
7315
|
this.valueChange = new EventEmitter();
|
|
7286
7316
|
this.formmatedValue = new EventEmitter();
|
|
7287
7317
|
this.isMobile = getDeviceIsMobile();
|
|
7318
|
+
this.isTablet = getDeviceIsTablet();
|
|
7288
7319
|
this.mobileConfig = {
|
|
7289
7320
|
title: 'انتخاب',
|
|
7290
7321
|
approveButtonText: 'تایید',
|
|
@@ -7413,7 +7444,7 @@ class FieldBaseComponent extends BaseComponent {
|
|
|
7413
7444
|
}
|
|
7414
7445
|
}
|
|
7415
7446
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FieldBaseComponent, deps: [{ token: PortalService }, { token: BbbTranslatePipe }, { token: PictureFieldSourcePipe }, { token: NumeralPipe }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1.ActivatedRoute }, { token: i4.DomSanitizer }, { token: DIALOG_SERVICE, optional: true }, { token: UploadService, optional: true, self: true }, { token: DateService, optional: true, self: true }, { token: AudioRecordingService, optional: true, self: true }, { token: VideoRecordingService, optional: true, self: true }, { token: ColumnService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7416
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: FieldBaseComponent, selector: "bnrc-field-base", inputs: { context: "context", focusControl: "focusControl", layoutInfo: "layoutInfo", value: "value", width: "width", height: "height", formHeight: "formHeight", inlineEdit: "inlineEdit", formContainer: "formContainer", id: "id", parametes: "parametes" }, outputs: { valueChange: "valueChange", formmatedValue: "formmatedValue" }, host: { properties: { "class.isMobile": "this.isMobile" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7447
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: FieldBaseComponent, selector: "bnrc-field-base", inputs: { context: "context", focusControl: "focusControl", layoutInfo: "layoutInfo", value: "value", width: "width", height: "height", formHeight: "formHeight", inlineEdit: "inlineEdit", formContainer: "formContainer", id: "id", parametes: "parametes" }, outputs: { valueChange: "valueChange", formmatedValue: "formmatedValue" }, host: { properties: { "class.isMobile": "this.isMobile", "class.isTablet": "this.isTablet" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
7417
7448
|
}
|
|
7418
7449
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: FieldBaseComponent, decorators: [{
|
|
7419
7450
|
type: Component,
|
|
@@ -7474,6 +7505,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
7474
7505
|
}], isMobile: [{
|
|
7475
7506
|
type: HostBinding,
|
|
7476
7507
|
args: ['class.isMobile']
|
|
7508
|
+
}], isTablet: [{
|
|
7509
|
+
type: HostBinding,
|
|
7510
|
+
args: ['class.isTablet']
|
|
7477
7511
|
}] } });
|
|
7478
7512
|
|
|
7479
7513
|
var IntersectionStatus;
|
|
@@ -11465,78 +11499,78 @@ class RootPortalComponent extends PageBaseComponent {
|
|
|
11465
11499
|
}
|
|
11466
11500
|
}
|
|
11467
11501
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: RootPortalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11468
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.5", type: RootPortalComponent, selector: "bnrc-root-portal", viewQueries: [{ propertyName: "sectionRef", first: true, predicate: ["sectionRef"], descendants: true }, { propertyName: "footerRefVcr", first: true, predicate: ["footerRef"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: `
|
|
11469
|
-
@if(inLocalMode){
|
|
11470
|
-
<div class="fd-toolbar" style="flex-wrap:wrap;padding:0.5rem;height:auto">
|
|
11471
|
-
<button class="fd-button fd-button--attention is-compact" (click)="onRemoveOfflineData()">
|
|
11472
|
-
حذف اطلاعات آفلاین
|
|
11473
|
-
</button>
|
|
11474
|
-
<button class="fd-button fd-button--negative is-compact" (click)="onRemoveOfflineDataAndReturnToOnline()">
|
|
11475
|
-
حذف اطلاعات آفلاین و برگشت به حالت آنلاین
|
|
11476
|
-
</button>
|
|
11477
|
-
<button class="fd-button fd-button--positive is-compact" (click)="onSendOfflineDataToServer()">
|
|
11478
|
-
ارسال اطلاعات آفلاین به سرور
|
|
11479
|
-
</button>
|
|
11480
|
-
</div>
|
|
11481
|
-
} @if (imageUrl) {
|
|
11482
|
-
<div id="headerSpaceHolder" #headerSpaceHolder>
|
|
11483
|
-
<div id="bgOuterHolder" #bgOuterHolder>
|
|
11484
|
-
<div id="bgInnerHolder" style="height: 100vh">
|
|
11485
|
-
<div class="backgroundImage" id="backgroundImage">
|
|
11486
|
-
<img class="picture" [src]="imageUrl" loading="lazy" />
|
|
11487
|
-
<span id="backgroundImageOverlay" class="overlay"></span>
|
|
11488
|
-
</div>
|
|
11489
|
-
</div>
|
|
11490
|
-
</div>
|
|
11491
|
-
</div>
|
|
11492
|
-
}
|
|
11493
|
-
<section class="section" id="mainpage" #sectionRef>
|
|
11494
|
-
<div #containerRef></div>
|
|
11495
|
-
</section>
|
|
11496
|
-
<div class="page-wrapper">
|
|
11497
|
-
<router-outlet></router-outlet>
|
|
11498
|
-
</div>
|
|
11499
|
-
<!-- <footer #footerRef></footer> -->
|
|
11500
|
-
<ng-container #footerRef></ng-container>
|
|
11502
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.5", type: RootPortalComponent, selector: "bnrc-root-portal", viewQueries: [{ propertyName: "sectionRef", first: true, predicate: ["sectionRef"], descendants: true }, { propertyName: "footerRefVcr", first: true, predicate: ["footerRef"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: `
|
|
11503
|
+
@if(inLocalMode){
|
|
11504
|
+
<div class="fd-toolbar" style="flex-wrap:wrap;padding:0.5rem;height:auto">
|
|
11505
|
+
<button class="fd-button fd-button--attention is-compact" (click)="onRemoveOfflineData()">
|
|
11506
|
+
حذف اطلاعات آفلاین
|
|
11507
|
+
</button>
|
|
11508
|
+
<button class="fd-button fd-button--negative is-compact" (click)="onRemoveOfflineDataAndReturnToOnline()">
|
|
11509
|
+
حذف اطلاعات آفلاین و برگشت به حالت آنلاین
|
|
11510
|
+
</button>
|
|
11511
|
+
<button class="fd-button fd-button--positive is-compact" (click)="onSendOfflineDataToServer()">
|
|
11512
|
+
ارسال اطلاعات آفلاین به سرور
|
|
11513
|
+
</button>
|
|
11514
|
+
</div>
|
|
11515
|
+
} @if (imageUrl) {
|
|
11516
|
+
<div id="headerSpaceHolder" #headerSpaceHolder>
|
|
11517
|
+
<div id="bgOuterHolder" #bgOuterHolder>
|
|
11518
|
+
<div id="bgInnerHolder" style="height: 100vh">
|
|
11519
|
+
<div class="backgroundImage" id="backgroundImage">
|
|
11520
|
+
<img class="picture" [src]="imageUrl" loading="lazy" />
|
|
11521
|
+
<span id="backgroundImageOverlay" class="overlay"></span>
|
|
11522
|
+
</div>
|
|
11523
|
+
</div>
|
|
11524
|
+
</div>
|
|
11525
|
+
</div>
|
|
11526
|
+
}
|
|
11527
|
+
<section class="section" id="mainpage" #sectionRef>
|
|
11528
|
+
<div #containerRef></div>
|
|
11529
|
+
</section>
|
|
11530
|
+
<div class="page-wrapper">
|
|
11531
|
+
<router-outlet></router-outlet>
|
|
11532
|
+
</div>
|
|
11533
|
+
<!-- <footer #footerRef></footer> -->
|
|
11534
|
+
<ng-container #footerRef></ng-container>
|
|
11501
11535
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
11502
11536
|
}
|
|
11503
11537
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: RootPortalComponent, decorators: [{
|
|
11504
11538
|
type: Component,
|
|
11505
11539
|
args: [{
|
|
11506
11540
|
selector: 'bnrc-root-portal',
|
|
11507
|
-
template: `
|
|
11508
|
-
@if(inLocalMode){
|
|
11509
|
-
<div class="fd-toolbar" style="flex-wrap:wrap;padding:0.5rem;height:auto">
|
|
11510
|
-
<button class="fd-button fd-button--attention is-compact" (click)="onRemoveOfflineData()">
|
|
11511
|
-
حذف اطلاعات آفلاین
|
|
11512
|
-
</button>
|
|
11513
|
-
<button class="fd-button fd-button--negative is-compact" (click)="onRemoveOfflineDataAndReturnToOnline()">
|
|
11514
|
-
حذف اطلاعات آفلاین و برگشت به حالت آنلاین
|
|
11515
|
-
</button>
|
|
11516
|
-
<button class="fd-button fd-button--positive is-compact" (click)="onSendOfflineDataToServer()">
|
|
11517
|
-
ارسال اطلاعات آفلاین به سرور
|
|
11518
|
-
</button>
|
|
11519
|
-
</div>
|
|
11520
|
-
} @if (imageUrl) {
|
|
11521
|
-
<div id="headerSpaceHolder" #headerSpaceHolder>
|
|
11522
|
-
<div id="bgOuterHolder" #bgOuterHolder>
|
|
11523
|
-
<div id="bgInnerHolder" style="height: 100vh">
|
|
11524
|
-
<div class="backgroundImage" id="backgroundImage">
|
|
11525
|
-
<img class="picture" [src]="imageUrl" loading="lazy" />
|
|
11526
|
-
<span id="backgroundImageOverlay" class="overlay"></span>
|
|
11527
|
-
</div>
|
|
11528
|
-
</div>
|
|
11529
|
-
</div>
|
|
11530
|
-
</div>
|
|
11531
|
-
}
|
|
11532
|
-
<section class="section" id="mainpage" #sectionRef>
|
|
11533
|
-
<div #containerRef></div>
|
|
11534
|
-
</section>
|
|
11535
|
-
<div class="page-wrapper">
|
|
11536
|
-
<router-outlet></router-outlet>
|
|
11537
|
-
</div>
|
|
11538
|
-
<!-- <footer #footerRef></footer> -->
|
|
11539
|
-
<ng-container #footerRef></ng-container>
|
|
11541
|
+
template: `
|
|
11542
|
+
@if(inLocalMode){
|
|
11543
|
+
<div class="fd-toolbar" style="flex-wrap:wrap;padding:0.5rem;height:auto">
|
|
11544
|
+
<button class="fd-button fd-button--attention is-compact" (click)="onRemoveOfflineData()">
|
|
11545
|
+
حذف اطلاعات آفلاین
|
|
11546
|
+
</button>
|
|
11547
|
+
<button class="fd-button fd-button--negative is-compact" (click)="onRemoveOfflineDataAndReturnToOnline()">
|
|
11548
|
+
حذف اطلاعات آفلاین و برگشت به حالت آنلاین
|
|
11549
|
+
</button>
|
|
11550
|
+
<button class="fd-button fd-button--positive is-compact" (click)="onSendOfflineDataToServer()">
|
|
11551
|
+
ارسال اطلاعات آفلاین به سرور
|
|
11552
|
+
</button>
|
|
11553
|
+
</div>
|
|
11554
|
+
} @if (imageUrl) {
|
|
11555
|
+
<div id="headerSpaceHolder" #headerSpaceHolder>
|
|
11556
|
+
<div id="bgOuterHolder" #bgOuterHolder>
|
|
11557
|
+
<div id="bgInnerHolder" style="height: 100vh">
|
|
11558
|
+
<div class="backgroundImage" id="backgroundImage">
|
|
11559
|
+
<img class="picture" [src]="imageUrl" loading="lazy" />
|
|
11560
|
+
<span id="backgroundImageOverlay" class="overlay"></span>
|
|
11561
|
+
</div>
|
|
11562
|
+
</div>
|
|
11563
|
+
</div>
|
|
11564
|
+
</div>
|
|
11565
|
+
}
|
|
11566
|
+
<section class="section" id="mainpage" #sectionRef>
|
|
11567
|
+
<div #containerRef></div>
|
|
11568
|
+
</section>
|
|
11569
|
+
<div class="page-wrapper">
|
|
11570
|
+
<router-outlet></router-outlet>
|
|
11571
|
+
</div>
|
|
11572
|
+
<!-- <footer #footerRef></footer> -->
|
|
11573
|
+
<ng-container #footerRef></ng-container>
|
|
11540
11574
|
`,
|
|
11541
11575
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
11542
11576
|
}]
|
|
@@ -12934,6 +12968,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
12934
12968
|
type: Input
|
|
12935
12969
|
}] } });
|
|
12936
12970
|
|
|
12971
|
+
class AbsoluteDivBodyDirective extends BaseDirective {
|
|
12972
|
+
constructor(_el, renderer) {
|
|
12973
|
+
super(_el);
|
|
12974
|
+
this._el = _el;
|
|
12975
|
+
this.renderer = renderer;
|
|
12976
|
+
this.elemCreated = new EventEmitter();
|
|
12977
|
+
this.id = '_' + getUniqueId(4);
|
|
12978
|
+
// this._appendDivToBody();
|
|
12979
|
+
}
|
|
12980
|
+
ngOnInit() {
|
|
12981
|
+
super.ngOnInit();
|
|
12982
|
+
this._appendDivToBody();
|
|
12983
|
+
}
|
|
12984
|
+
_appendDivToBody() {
|
|
12985
|
+
const elemDiv = document.createElement('div');
|
|
12986
|
+
elemDiv.id = this.id;
|
|
12987
|
+
elemDiv.style.cssText = 'position:absolute;opacity:0;visibility:hidden;';
|
|
12988
|
+
document.body.appendChild(elemDiv);
|
|
12989
|
+
this.elem = elemDiv;
|
|
12990
|
+
this.elemCreated.emit(elemDiv);
|
|
12991
|
+
}
|
|
12992
|
+
_getEl() {
|
|
12993
|
+
const x = document.querySelector('#' + this.id);
|
|
12994
|
+
return x;
|
|
12995
|
+
}
|
|
12996
|
+
ngOnDestroy() {
|
|
12997
|
+
super.ngOnDestroy();
|
|
12998
|
+
this.elem?.remove();
|
|
12999
|
+
}
|
|
13000
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: AbsoluteDivBodyDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13001
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.5", type: AbsoluteDivBodyDirective, selector: "[absDiv]", outputs: { elemCreated: "elemCreated" }, usesInheritance: true, ngImport: i0 }); }
|
|
13002
|
+
}
|
|
13003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: AbsoluteDivBodyDirective, decorators: [{
|
|
13004
|
+
type: Directive,
|
|
13005
|
+
args: [{
|
|
13006
|
+
selector: '[absDiv]'
|
|
13007
|
+
}]
|
|
13008
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { elemCreated: [{
|
|
13009
|
+
type: Output
|
|
13010
|
+
}] } });
|
|
13011
|
+
|
|
12937
13012
|
class PortalDynamicPageResolver {
|
|
12938
13013
|
constructor(portalService) {
|
|
12939
13014
|
this.portalService = portalService;
|
|
@@ -13963,7 +14038,8 @@ const directives = [
|
|
|
13963
14038
|
RouteFormChangeDirective,
|
|
13964
14039
|
DynamicStyleDirective,
|
|
13965
14040
|
NowraptextDirective,
|
|
13966
|
-
LabelmandatoryDirective
|
|
14041
|
+
LabelmandatoryDirective,
|
|
14042
|
+
AbsoluteDivBodyDirective
|
|
13967
14043
|
];
|
|
13968
14044
|
const pipes = [
|
|
13969
14045
|
NumeralPipe,
|
|
@@ -14010,7 +14086,8 @@ const pipes = [
|
|
|
14010
14086
|
IsExpandedNodePipe,
|
|
14011
14087
|
ThImageOrIconePipe,
|
|
14012
14088
|
FindPreviewColumnPipe,
|
|
14013
|
-
ReplacePipe
|
|
14089
|
+
ReplacePipe,
|
|
14090
|
+
FilterWorkflowInMobilePipe
|
|
14014
14091
|
];
|
|
14015
14092
|
const functionL1 = function () {
|
|
14016
14093
|
if (BarsaApi.LoginFormData.Culture === 'fa-IR') {
|
|
@@ -14190,7 +14267,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
14190
14267
|
IsExpandedNodePipe,
|
|
14191
14268
|
ThImageOrIconePipe,
|
|
14192
14269
|
FindPreviewColumnPipe,
|
|
14193
|
-
ReplacePipe,
|
|
14270
|
+
ReplacePipe,
|
|
14271
|
+
FilterWorkflowInMobilePipe, PlaceHolderDirective,
|
|
14194
14272
|
NumbersOnlyInputDirective,
|
|
14195
14273
|
RenderUlvViewerDirective,
|
|
14196
14274
|
RenderUlvPaginDirective,
|
|
@@ -14216,7 +14294,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
14216
14294
|
RouteFormChangeDirective,
|
|
14217
14295
|
DynamicStyleDirective,
|
|
14218
14296
|
NowraptextDirective,
|
|
14219
|
-
LabelmandatoryDirective
|
|
14297
|
+
LabelmandatoryDirective,
|
|
14298
|
+
AbsoluteDivBodyDirective], imports: [CommonModule,
|
|
14220
14299
|
HttpClientModule,
|
|
14221
14300
|
BarsaNovinRayCoreRoutingModule,
|
|
14222
14301
|
BarsaSapUiFormPageModule,
|
|
@@ -14283,7 +14362,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
14283
14362
|
IsExpandedNodePipe,
|
|
14284
14363
|
ThImageOrIconePipe,
|
|
14285
14364
|
FindPreviewColumnPipe,
|
|
14286
|
-
ReplacePipe,
|
|
14365
|
+
ReplacePipe,
|
|
14366
|
+
FilterWorkflowInMobilePipe, PlaceHolderDirective,
|
|
14287
14367
|
NumbersOnlyInputDirective,
|
|
14288
14368
|
RenderUlvViewerDirective,
|
|
14289
14369
|
RenderUlvPaginDirective,
|
|
@@ -14309,7 +14389,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
|
|
|
14309
14389
|
RouteFormChangeDirective,
|
|
14310
14390
|
DynamicStyleDirective,
|
|
14311
14391
|
NowraptextDirective,
|
|
14312
|
-
LabelmandatoryDirective
|
|
14392
|
+
LabelmandatoryDirective,
|
|
14393
|
+
AbsoluteDivBodyDirective] }); }
|
|
14313
14394
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: BarsaNovinRayCoreModule, imports: [CommonModule,
|
|
14314
14395
|
HttpClientModule,
|
|
14315
14396
|
BarsaNovinRayCoreRoutingModule,
|
|
@@ -14336,5 +14417,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
14336
14417
|
* Generated bundle index. Do not edit.
|
|
14337
14418
|
*/
|
|
14338
14419
|
|
|
14339
|
-
export { APP_VERSION, AffixRespondEvents, AllFilesMimeType, AnchorScrollDirective, ApiService, ApplicationBaseComponent, AttrRtlDirective, AudioMimeType, AudioRecordingService, AuthGuard, BarsaApi, BarsaDialogService, BarsaIconDictPipe, BarsaNovinRayCoreModule, BarsaSapUiFormPageModule, BarsaStorageService, BaseColumnPropsComponent, BaseComponent, BaseDirective, BaseDynamicComponent, BaseFormToolbaritemPropsComponent, BaseItemContentPropsComponent, BaseModule, BaseReportModel, BaseUlvSettingComponent, BaseViewContentPropsComponent, BaseViewItemPropsComponent, BaseViewPropsComponent, BbbTranslatePipe, BodyClickDirective, BoolControlInfoModel, BreadcrumbService, CalculateControlInfoModel, CanUploadFilePipe, ChangeLayoutInfoCustomUi, CodeEditorControlInfoModel, ColSetting, ColumnCustomComponentPipe, ColumnCustomUiPipe, ColumnIconPipe, ColumnResizerDirective, ColumnService, ColumnValuePipe, ComboRowImagePipe, CommandControlInfoModel, ContainerComponent, ContainerService, ContextMenuPipe, ControlUiPipe, ConvertToStylePipe, CopyDirective, CountDownDirective, CustomCommand, CustomInjector, CustomRouteReuseStategy, DIALOG_SERVICE, DateHijriService, DateMiladiService, DateRanges, DateService, DateShamsiService, DateTimeControlInfoModel, DateTimeToCaptionPipe, DeviceWidth, DialogParams, DynamicCommandDirective, DynamicComponentService, DynamicFormComponent, DynamicFormToolbaritemComponent, DynamicItemComponent, DynamicLayoutComponent, DynamicStyleDirective, EllapsisTextDirective, EllipsifyDirective, EmptyPageComponent, EmptyPageWithRouterAndRouterOutletComponent, EnumControlInfoModel, ExecuteDynamicCommand, ExecuteWorkflowChoiceDef, FORM_DIALOG_COMPONENT, FieldBaseComponent, FieldDirective, FieldInfoTypeEnum, FieldUiComponent, FileControlInfoModel, FileInfoCountPipe, FilePictureInfoModel, FilesValidationHelper, FillAllLayoutControls, FillEmptySpaceDirective, FilterColumnsByDetailsPipe, FilterPipe, FilterStringPipe, FilterTabPipe, FilterToolbarControlPipe, FindColumnByDbNamePipe, FindGroup, FindLayoutSettingFromLayout94, FindPreviewColumnPipe, FindToolbarItem, FioriIconPipe, FormBaseComponent, FormCloseDirective, FormComponent, FormFieldReportPageComponent, FormNewComponent, FormPageBaseComponent, FormPageComponent, FormPanelService, FormPropsBaseComponent, FormService, FormToolbarBaseComponent, GaugeControlInfoModel, GeneralControlInfoModel, GetAllColumnsSorted, GetDefaultMoObjectInfo, GetVisibleValue, GridSetting, GroupBy, GroupByPipe, HeaderFacetValuePipe, HistoryControlInfoModel, HorizontalLayoutService, IconControlInfoModel, ImageLazyDirective, ImageMimeType, IndexedDbService, InputNumber, IntersectionObserverDirective, IntersectionStatus, IsExpandedNodePipe, ItemsRendererDirective, LabelmandatoryDirective, LayoutItemBaseComponent, LayoutPanelBaseComponent, LayoutService, LinearListControlInfoModel, LinearListHelper, ListCountPipe, ListRelationModel, LocalStorageService, LogService, MergeFieldsToColumnsPipe, MetaobjectDataModel, MetaobjectRelationModel, MoForReportModel, MoInfoUlvMoListPipe, MoInfoUlvPagingPipe, MoReportValueConcatPipe, MoReportValuePipe, MoValuePipe, MobileDirective, ModalRootComponent, MultipleGroupByPipe, NOTIFICATAION_POPUP_SERVER, NOTIFICATION_WEBWORKER_FACTORY, NetworkStatusService, NotFoundComponent, NotificationService, NowraptextDirective, NumberBaseComponent, NumberControlInfoModel, NumbersOnlyInputDirective, NumeralPipe, PageBaseComponent, PageWithFormHandlerBaseComponent, PdfMimeType, PictureFieldSourcePipe, PictureFileControlInfoModel, PlaceHolderDirective, PortalDynamicPageResolver, PortalFormPageResolver, PortalPageComponent, PortalPageResolver, PortalPageSidebarComponent, PortalReportPageResolver, PortalService, PreventDefaulEvent, PreventDefaultDirective, PromptUpdateService, RabetehAkseTakiListiControlInfoModel, RedirectHomeGuard, RedirectReportNavigatorCommandComponent, RelatedReportControlInfoModel, RelationListControlInfoModel, RemoveNewlinePipe, RenderUlvPaginDirective, RenderUlvViewerDirective, ReplacePipe, ReportBaseComponent, ReportBaseInfo, ReportCalendarModel, ReportContainerComponent, ReportExtraInfo, ReportField, ReportFormModel, ReportItemBaseComponent, ReportListModel, ReportModel, ReportTreeModel, ReportViewBaseComponent, ReportViewColumn, ResizableComponent, ResizableDirective, ResizableModule, ReversePipe, RichStringControlInfoModel, RootPageComponent, RootPortalComponent, RouteFormChangeDirective, RoutingService, RowDataOption, RowNumberPipe, SanitizeTextPipe, SaveScrollPositionService, SelectionMode, SeperatorFixPipe, ServiceWorkerCommuncationService, ServiceWorkerNotificationService, SingleRelationControlInfoModel, SortDirection, SortPipe, SortSetting, StopPropagationDirective, StringControlInfoModel, SubformControlInfoModel, SystemBaseComponent, TOAST_SERVICE, TableHeaderWidthMode, TableResizerDirective, ThImageOrIconePipe, TileGroupBreadcrumResolver, TilePropsComponent, TlbButtonsPipe, TotalSummaryPipe, UiService, UlvCommandDirective, UlvMainService, UntilInViewDirective, UploadService, VideoMimeType, VideoRecordingService, VisibleValuePipe, WordMimeType, WorfkflowwChoiceCommandDirective, availablePrefixes, calcContextMenuWidth, calculateColumnContent, calculateColumnWidth, calculateColumnWidthFitToContainer, calculateFreeColumnSize, calculateMoDataListContentWidthByColumnName, cancelRequestAnimationFrame, createFormPanelMetaConditions, createGridEditorFormPanel, easeInOutCubic, elementInViewport2, enumValueToStringSize, executeUlvCommandHandler, formRoutes, formatBytes, fromIntersectionObserver, genrateInlineMoId, getAllItemsPerChildren, getColumnValueOfMoDataList, getComponentDefined, getControlList, getControlSizeMode, getDateService, getDeviceIsDesktop, getDeviceIsMobile, getDeviceIsPhone, getDeviceIsTablet, getFieldValue, getFormSettings, getGridSettings, getHeaderValue, getIcon, getImagePath, getLabelWidth, getLayout94ObjectInfo, getLayoutControl, getNewMoGridEditor, getParentHeight, getRequestAnimationFrame, getResetGridSettings, getTargetRect, getUniqueId, getValidExtension, isFF, isFirefox, isFunction, isImage, isInLocalMode, isSafari, isTargetWindow, measureText, requestAnimationFramePolyfill, setColumnWidthByMaxMoContentWidth, setOneDepthLevel, setTableThWidth, shallowEqual, stopPropagation, throwIfAlreadyLoaded, toNumber };
|
|
14420
|
+
export { APP_VERSION, AbsoluteDivBodyDirective, AffixRespondEvents, AllFilesMimeType, AnchorScrollDirective, ApiService, ApplicationBaseComponent, AttrRtlDirective, AudioMimeType, AudioRecordingService, AuthGuard, BarsaApi, BarsaDialogService, BarsaIconDictPipe, BarsaNovinRayCoreModule, BarsaSapUiFormPageModule, BarsaStorageService, BaseColumnPropsComponent, BaseComponent, BaseDirective, BaseDynamicComponent, BaseFormToolbaritemPropsComponent, BaseItemContentPropsComponent, BaseModule, BaseReportModel, BaseUlvSettingComponent, BaseViewContentPropsComponent, BaseViewItemPropsComponent, BaseViewPropsComponent, BbbTranslatePipe, BodyClickDirective, BoolControlInfoModel, BreadcrumbService, CalculateControlInfoModel, CanUploadFilePipe, ChangeLayoutInfoCustomUi, CodeEditorControlInfoModel, ColSetting, ColumnCustomComponentPipe, ColumnCustomUiPipe, ColumnIconPipe, ColumnResizerDirective, ColumnService, ColumnValuePipe, ComboRowImagePipe, CommandControlInfoModel, ContainerComponent, ContainerService, ContextMenuPipe, ControlUiPipe, ConvertToStylePipe, CopyDirective, CountDownDirective, CustomCommand, CustomInjector, CustomRouteReuseStategy, DIALOG_SERVICE, DateHijriService, DateMiladiService, DateRanges, DateService, DateShamsiService, DateTimeControlInfoModel, DateTimeToCaptionPipe, DeviceWidth, DialogParams, DynamicCommandDirective, DynamicComponentService, DynamicFormComponent, DynamicFormToolbaritemComponent, DynamicItemComponent, DynamicLayoutComponent, DynamicStyleDirective, EllapsisTextDirective, EllipsifyDirective, EmptyPageComponent, EmptyPageWithRouterAndRouterOutletComponent, EnumControlInfoModel, ExecuteDynamicCommand, ExecuteWorkflowChoiceDef, FORM_DIALOG_COMPONENT, FieldBaseComponent, FieldDirective, FieldInfoTypeEnum, FieldUiComponent, FileControlInfoModel, FileInfoCountPipe, FilePictureInfoModel, FilesValidationHelper, FillAllLayoutControls, FillEmptySpaceDirective, FilterColumnsByDetailsPipe, FilterPipe, FilterStringPipe, FilterTabPipe, FilterToolbarControlPipe, FilterWorkflowInMobilePipe, FindColumnByDbNamePipe, FindGroup, FindLayoutSettingFromLayout94, FindPreviewColumnPipe, FindToolbarItem, FioriIconPipe, FormBaseComponent, FormCloseDirective, FormComponent, FormFieldReportPageComponent, FormNewComponent, FormPageBaseComponent, FormPageComponent, FormPanelService, FormPropsBaseComponent, FormService, FormToolbarBaseComponent, GaugeControlInfoModel, GeneralControlInfoModel, GetAllColumnsSorted, GetDefaultMoObjectInfo, GetVisibleValue, GridSetting, GroupBy, GroupByPipe, HeaderFacetValuePipe, HistoryControlInfoModel, HorizontalLayoutService, IconControlInfoModel, ImageLazyDirective, ImageMimeType, IndexedDbService, InputNumber, IntersectionObserverDirective, IntersectionStatus, IsExpandedNodePipe, ItemsRendererDirective, LabelmandatoryDirective, LayoutItemBaseComponent, LayoutPanelBaseComponent, LayoutService, LinearListControlInfoModel, LinearListHelper, ListCountPipe, ListRelationModel, LocalStorageService, LogService, MergeFieldsToColumnsPipe, MetaobjectDataModel, MetaobjectRelationModel, MoForReportModel, MoInfoUlvMoListPipe, MoInfoUlvPagingPipe, MoReportValueConcatPipe, MoReportValuePipe, MoValuePipe, MobileDirective, ModalRootComponent, MultipleGroupByPipe, NOTIFICATAION_POPUP_SERVER, NOTIFICATION_WEBWORKER_FACTORY, NetworkStatusService, NotFoundComponent, NotificationService, NowraptextDirective, NumberBaseComponent, NumberControlInfoModel, NumbersOnlyInputDirective, NumeralPipe, PageBaseComponent, PageWithFormHandlerBaseComponent, PdfMimeType, PictureFieldSourcePipe, PictureFileControlInfoModel, PlaceHolderDirective, PortalDynamicPageResolver, PortalFormPageResolver, PortalPageComponent, PortalPageResolver, PortalPageSidebarComponent, PortalReportPageResolver, PortalService, PreventDefaulEvent, PreventDefaultDirective, PromptUpdateService, RabetehAkseTakiListiControlInfoModel, RedirectHomeGuard, RedirectReportNavigatorCommandComponent, RelatedReportControlInfoModel, RelationListControlInfoModel, RemoveNewlinePipe, RenderUlvPaginDirective, RenderUlvViewerDirective, ReplacePipe, ReportBaseComponent, ReportBaseInfo, ReportCalendarModel, ReportContainerComponent, ReportExtraInfo, ReportField, ReportFormModel, ReportItemBaseComponent, ReportListModel, ReportModel, ReportTreeModel, ReportViewBaseComponent, ReportViewColumn, ResizableComponent, ResizableDirective, ResizableModule, ReversePipe, RichStringControlInfoModel, RootPageComponent, RootPortalComponent, RouteFormChangeDirective, RoutingService, RowDataOption, RowNumberPipe, SanitizeTextPipe, SaveScrollPositionService, SelectionMode, SeperatorFixPipe, ServiceWorkerCommuncationService, ServiceWorkerNotificationService, SingleRelationControlInfoModel, SortDirection, SortPipe, SortSetting, StopPropagationDirective, StringControlInfoModel, SubformControlInfoModel, SystemBaseComponent, TOAST_SERVICE, TableHeaderWidthMode, TableResizerDirective, ThImageOrIconePipe, TileGroupBreadcrumResolver, TilePropsComponent, TlbButtonsPipe, TotalSummaryPipe, UiService, UlvCommandDirective, UlvMainService, UntilInViewDirective, UploadService, VideoMimeType, VideoRecordingService, VisibleValuePipe, WordMimeType, WorfkflowwChoiceCommandDirective, availablePrefixes, calcContextMenuWidth, calculateColumnContent, calculateColumnWidth, calculateColumnWidthFitToContainer, calculateFreeColumnSize, calculateMoDataListContentWidthByColumnName, cancelRequestAnimationFrame, createFormPanelMetaConditions, createGridEditorFormPanel, easeInOutCubic, elementInViewport2, enumValueToStringSize, executeUlvCommandHandler, formRoutes, formatBytes, fromIntersectionObserver, genrateInlineMoId, getAllItemsPerChildren, getColumnValueOfMoDataList, getComponentDefined, getControlList, getControlSizeMode, getDateService, getDeviceIsDesktop, getDeviceIsMobile, getDeviceIsPhone, getDeviceIsTablet, getFieldValue, getFormSettings, getGridSettings, getHeaderValue, getIcon, getImagePath, getLabelWidth, getLayout94ObjectInfo, getLayoutControl, getNewMoGridEditor, getParentHeight, getRequestAnimationFrame, getResetGridSettings, getTargetRect, getUniqueId, getValidExtension, isFF, isFirefox, isFunction, isImage, isInLocalMode, isSafari, isTargetWindow, measureText, requestAnimationFramePolyfill, setColumnWidthByMaxMoContentWidth, setOneDepthLevel, setTableThWidth, shallowEqual, stopPropagation, throwIfAlreadyLoaded, toNumber };
|
|
14340
14421
|
//# sourceMappingURL=barsa-novin-ray-core.mjs.map
|