barsa-novin-ray-core 2.0.121 → 2.0.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, InjectionToken, Injectable, Optional, inject, SkipSelf, NgModuleFactory, Inject, Pipe, EventEmitter, Self, Output, HostBinding, ChangeDetectorRef, HostListener, ViewContainerRef, ViewChild, Directive, Renderer2, NgModule, NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA, ElementRef, APP_INITIALIZER, ErrorHandler } from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Input, InjectionToken, Injectable, Optional, inject, ElementRef, SkipSelf, NgModuleFactory, Inject, Pipe, EventEmitter, Self, Output, HostBinding, ChangeDetectorRef, HostListener, ViewContainerRef, ViewChild, Directive, Renderer2, NgModule, NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA, APP_INITIALIZER, ErrorHandler } from '@angular/core';
3
3
  import { Subject, from, BehaviorSubject, of, combineLatest, fromEvent, forkJoin, throwError, merge, interval, filter as filter$1, tap as tap$1, concatMap as concatMap$1, catchError as catchError$1, finalize as finalize$1, Observable, takeUntil as takeUntil$1, debounceTime as debounceTime$1, switchMap as switchMap$1, timer, mergeWith } from 'rxjs';
4
4
  import * as i1 from '@angular/router';
5
5
  import { NavigationEnd, ActivatedRoute, Router, NavigationStart, RouterEvent, RouterModule } from '@angular/router';
@@ -2958,6 +2958,8 @@ class ContainerService {
2958
2958
  this.detachParent = true;
2959
2959
  this.oldActiveSystem = null;
2960
2960
  this._activatedRoute = inject(ActivatedRoute);
2961
+ this._scrollTop = 0;
2962
+ this._el = inject(ElementRef);
2961
2963
  // console.log(this);
2962
2964
  }
2963
2965
  ngOnDestroy() {
@@ -2972,11 +2974,37 @@ class ContainerService {
2972
2974
  }
2973
2975
  }
2974
2976
  detach() {
2977
+ this._setScrollPosition();
2975
2978
  this._viewRef = this._viewContainerRef.detach();
2976
2979
  }
2980
+ _setScrollPosition() {
2981
+ const elDom = this._el.nativeElement;
2982
+ if (elDom) {
2983
+ const x1 = elDom.querySelector('fd-dynamic-page-content');
2984
+ const x2 = elDom.querySelector('.fd-scrollbar[fd-scrollbar]');
2985
+ const scrollTopPage = x1?.scrollTop;
2986
+ const scrollTopScrollbar = x2?.scrollTop;
2987
+ if (scrollTopPage && scrollTopPage > 0) {
2988
+ this._scrollTop = scrollTopPage;
2989
+ this._elDomScrollbar = x1;
2990
+ }
2991
+ else if (scrollTopScrollbar && scrollTopScrollbar > 0) {
2992
+ this._scrollTop = scrollTopScrollbar;
2993
+ this._elDomScrollbar = x2;
2994
+ }
2995
+ }
2996
+ }
2997
+ _restoreScrollPostion() {
2998
+ if (this._scrollTop && this._scrollTop > 0) {
2999
+ if (this._elDomScrollbar) {
3000
+ this._elDomScrollbar.scrollTop = this._scrollTop;
3001
+ }
3002
+ }
3003
+ }
2977
3004
  insert() {
2978
3005
  if (this._viewRef) {
2979
3006
  this._viewContainerRef.insert(this._viewRef);
3007
+ this._restoreScrollPostion();
2980
3008
  }
2981
3009
  }
2982
3010
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: ContainerService, deps: [{ token: ContainerService, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
@@ -3913,6 +3941,9 @@ class PortalService {
3913
3941
  if (BarsaApi.LoginFormData?.error?.userMessage) {
3914
3942
  return Promise.reject(BarsaApi.LoginFormData?.error?.userMessage);
3915
3943
  }
3944
+ if (id === 0) {
3945
+ BarsaApi.Ul.ApplicationCtrlr.DefaultSystemId = null;
3946
+ }
3916
3947
  return new Promise((resolve, reject) => {
3917
3948
  BarsaApi.Ul.ApplicationCtrlr._loadSystem(id, true, (data) => {
3918
3949
  resolve(data);
@@ -3973,7 +4004,14 @@ class PortalService {
3973
4004
  filter(([userLoggedin, pushAction]) => userLoggedin))
3974
4005
  .subscribe(([userLoggedin, pushAction]) => {
3975
4006
  if (pushAction != null) {
3976
- this.ExecuteNotificationAction(pushAction.notificationTag, pushAction.action);
4007
+ if (!pushAction.notificationTag) {
4008
+ if (pushAction.moid && pushAction.tpid && pushAction.action == 'show') {
4009
+ setTimeout(() => BarsaApi.Bw.Form.Show({ MoId: pushAction.moid }), 500);
4010
+ }
4011
+ }
4012
+ else {
4013
+ this.ExecuteNotificationAction(pushAction.notificationTag, pushAction.action);
4014
+ }
3977
4015
  }
3978
4016
  });
3979
4017
  }
@@ -5123,7 +5161,7 @@ class ColumnCustomComponentPipe {
5123
5161
  allCustomComponents = {};
5124
5162
  customComponentMoDataList
5125
5163
  .map((c) => c)
5126
- .forEach((c) => (allCustomComponents[c.Title] = c.Component));
5164
+ .forEach((c) => (allCustomComponents[c.Title] = { ...c, ...c.Component }));
5127
5165
  }
5128
5166
  if (allCustomComponents) {
5129
5167
  columns.forEach((c) => {
@@ -5332,6 +5370,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
5332
5370
  }]
5333
5371
  }], ctorParameters: () => [] });
5334
5372
 
5373
+ class HideColumnsInmobilePipe {
5374
+ transform(columns, hideColumnsInMobile) {
5375
+ if (!columns?.length || !hideColumnsInMobile || !getDeviceIsMobile()) {
5376
+ return columns;
5377
+ }
5378
+ const arrOfColumns = hideColumnsInMobile.split(',');
5379
+ const x = columns.filter((column, i) => arrOfColumns.indexOf(column.Caption) === -1 && arrOfColumns.indexOf(column.Name) === -1);
5380
+ return x;
5381
+ }
5382
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: HideColumnsInmobilePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5383
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.5", ngImport: i0, type: HideColumnsInmobilePipe, name: "hideColumnsInmobile" }); }
5384
+ }
5385
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: HideColumnsInmobilePipe, decorators: [{
5386
+ type: Pipe,
5387
+ args: [{
5388
+ name: 'hideColumnsInmobile'
5389
+ }]
5390
+ }] });
5391
+
5335
5392
  class UlvMainService {
5336
5393
  constructor(_bbbPipe, _apiService) {
5337
5394
  this._bbbPipe = _bbbPipe;
@@ -11142,7 +11199,7 @@ class BaseViewItemPropsComponent extends BaseViewPropsComponent {
11142
11199
  });
11143
11200
  }
11144
11201
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: BaseViewItemPropsComponent, deps: [{ token: i0.ElementRef }, { token: i4.DomSanitizer }, { token: i0.ChangeDetectorRef }, { token: MoReportValuePipe }, { token: FormPanelService, optional: true, skipSelf: true }, { token: FormPanelService, optional: true, self: true }, { token: UlvMainService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
11145
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: BaseViewItemPropsComponent, selector: "bnrc-base-view-item-props", inputs: { checkboxComponent: "checkboxComponent", mo: "mo", moDataListCount: "moDataListCount", index: "index", last: "last", isdirty: "isdirty", isChecked: "isChecked", hideDetailsText: "hideDetailsText", showViewButton: "showViewButton", isNewInlineMo: "isNewInlineMo", extraRelation: "extraRelation", hideOpenIcon: "hideOpenIcon", inDialog: "inDialog", isMultiSelect: "isMultiSelect", rowIndicator: "rowIndicator", groupSummary: "groupSummary", isLastChildGroup: "isLastChildGroup", showRowNumber: "showRowNumber", rowNumber: "rowNumber", coloringRow: "coloringRow", noSaveInlineEditInServer: "noSaveInlineEditInServer", rowIndicatorColor: "rowIndicatorColor", UlvMainCtrlr: "UlvMainCtrlr", fieldDict: "fieldDict", actionList: "actionList", serializedRelatedMo: "serializedRelatedMo", cartableTemplate: "cartableTemplate", cartableMo: "cartableMo", cartableWorkflowData: "cartableWorkflowData" }, outputs: { actionListClick: "actionListClick", events: "events" }, viewQueries: [{ propertyName: "_cartableFormRef", first: true, predicate: ["cartableFormRef"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11202
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: BaseViewItemPropsComponent, selector: "bnrc-base-view-item-props", inputs: { checkboxComponent: "checkboxComponent", disableEllapsis: "disableEllapsis", mo: "mo", moDataListCount: "moDataListCount", index: "index", last: "last", isdirty: "isdirty", isChecked: "isChecked", hideDetailsText: "hideDetailsText", showViewButton: "showViewButton", isNewInlineMo: "isNewInlineMo", extraRelation: "extraRelation", hideOpenIcon: "hideOpenIcon", inDialog: "inDialog", isMultiSelect: "isMultiSelect", rowIndicator: "rowIndicator", groupSummary: "groupSummary", isLastChildGroup: "isLastChildGroup", showRowNumber: "showRowNumber", rowNumber: "rowNumber", coloringRow: "coloringRow", noSaveInlineEditInServer: "noSaveInlineEditInServer", rowIndicatorColor: "rowIndicatorColor", UlvMainCtrlr: "UlvMainCtrlr", fieldDict: "fieldDict", actionList: "actionList", serializedRelatedMo: "serializedRelatedMo", cartableTemplate: "cartableTemplate", cartableMo: "cartableMo", cartableWorkflowData: "cartableWorkflowData" }, outputs: { actionListClick: "actionListClick", events: "events" }, viewQueries: [{ propertyName: "_cartableFormRef", first: true, predicate: ["cartableFormRef"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11146
11203
  }
11147
11204
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: BaseViewItemPropsComponent, decorators: [{
11148
11205
  type: Component,
@@ -11170,6 +11227,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
11170
11227
  args: ['cartableFormRef', { static: false }]
11171
11228
  }], checkboxComponent: [{
11172
11229
  type: Input
11230
+ }], disableEllapsis: [{
11231
+ type: Input
11173
11232
  }], mo: [{
11174
11233
  type: Input
11175
11234
  }], moDataListCount: [{
@@ -11446,6 +11505,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
11446
11505
  type: Input
11447
11506
  }] } });
11448
11507
 
11508
+ class LoadExternalFilesDirective {
11509
+ constructor() {
11510
+ this._renderer2 = inject(Renderer2);
11511
+ }
11512
+ ngOnInit() {
11513
+ const jsfiles = [];
11514
+ const cssfiles = [];
11515
+ Object.keys(BarsaApi.LoginFormData).forEach((key) => {
11516
+ if (key.startsWith('JSFile')) {
11517
+ jsfiles.push(BarsaApi.LoginFormData[key]);
11518
+ }
11519
+ if (key.startsWith('CSSFile')) {
11520
+ cssfiles.push(BarsaApi.LoginFormData[key]);
11521
+ }
11522
+ });
11523
+ if (jsfiles.length > 0) {
11524
+ head.load(jsfiles);
11525
+ }
11526
+ if (cssfiles.length > 0) {
11527
+ cssfiles.forEach((c) => {
11528
+ document.head.insertAdjacentHTML('beforeend', ` <link href="${c}" rel="stylesheet" noportal />`);
11529
+ });
11530
+ }
11531
+ }
11532
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: LoadExternalFilesDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
11533
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.5", type: LoadExternalFilesDirective, selector: "[loadExternalFiles]", ngImport: i0 }); }
11534
+ }
11535
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: LoadExternalFilesDirective, decorators: [{
11536
+ type: Directive,
11537
+ args: [{
11538
+ selector: '[loadExternalFiles]'
11539
+ }]
11540
+ }] });
11541
+
11449
11542
  class RootPortalComponent extends PageBaseComponent {
11450
11543
  constructor() {
11451
11544
  super(...arguments);
@@ -11510,110 +11603,87 @@ class RootPortalComponent extends PageBaseComponent {
11510
11603
  renderPlaceHolders(pageData) {
11511
11604
  super.renderPlaceHolders(pageData);
11512
11605
  this.addFooter(pageData);
11513
- const jsfiles = [];
11514
- const cssfiles = [];
11515
- Object.keys(BarsaApi.LoginFormData).forEach((key) => {
11516
- if (key.startsWith('JSFile')) {
11517
- jsfiles.push(BarsaApi.LoginFormData[key]);
11518
- }
11519
- if (key.startsWith('CSSFile')) {
11520
- cssfiles.push(BarsaApi.LoginFormData[key]);
11521
- }
11522
- });
11523
11606
  BigNumber.prototype.subtract = BigNumber.prototype.minus;
11524
11607
  BigNumber.prototype.add = BigNumber.prototype.plus;
11525
- if (jsfiles.length > 0) {
11526
- head.load(jsfiles);
11527
- }
11528
- if (cssfiles.length > 0) {
11529
- cssfiles.forEach((c) => {
11530
- document.head.insertAdjacentHTML('beforeend', ` <link href="${c}" rel="stylesheet" noportal />`);
11531
- });
11532
- }
11533
11608
  const { BackgroundId } = this.pageData;
11534
11609
  if (BackgroundId) {
11535
11610
  this._renderer2.addClass(this._el.nativeElement, 'root-custom-background');
11536
11611
  this.imageUrl = `/IH.ashx?ty=ID&moId=&id=${BackgroundId}&si=1920&sih=1080`;
11537
- // this._renderer2.setStyle(
11538
- // this._el.nativeElement,
11539
- // 'background',
11540
- // );
11541
- // this._renderer2.setStyle(this._el.nativeElement, 'background-size', `cover`);
11542
11612
  }
11543
11613
  }
11544
11614
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: RootPortalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
11545
- 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: `
11546
- @if(inLocalMode){
11547
- <div class="fd-toolbar" style="flex-wrap:wrap;padding:0.5rem;height:auto">
11548
- <button class="fd-button fd-button--attention is-compact" (click)="onRemoveOfflineData()">
11549
- حذف اطلاعات آفلاین
11550
- </button>
11551
- <button class="fd-button fd-button--negative is-compact" (click)="onRemoveOfflineDataAndReturnToOnline()">
11552
- حذف اطلاعات آفلاین و برگشت به حالت آنلاین
11553
- </button>
11554
- <button class="fd-button fd-button--positive is-compact" (click)="onSendOfflineDataToServer()">
11555
- ارسال اطلاعات آفلاین به سرور
11556
- </button>
11557
- </div>
11558
- } @if (imageUrl) {
11559
- <div id="headerSpaceHolder" #headerSpaceHolder>
11560
- <div id="bgOuterHolder" #bgOuterHolder>
11561
- <div id="bgInnerHolder" style="height: 100vh">
11562
- <div class="backgroundImage" id="backgroundImage">
11563
- <img class="picture" [src]="imageUrl" loading="lazy" />
11564
- <span id="backgroundImageOverlay" class="overlay"></span>
11565
- </div>
11566
- </div>
11567
- </div>
11568
- </div>
11569
- }
11570
- <section class="section" id="mainpage" #sectionRef>
11571
- <div #containerRef></div>
11572
- </section>
11573
- <div class="page-wrapper">
11574
- <router-outlet></router-outlet>
11575
- </div>
11576
- <!-- <footer #footerRef></footer> -->
11577
- <ng-container #footerRef></ng-container>
11578
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11615
+ 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: `
11616
+ @if(inLocalMode){
11617
+ <div class="fd-toolbar" style="flex-wrap:wrap;padding:0.5rem;height:auto">
11618
+ <button class="fd-button fd-button--attention is-compact" (click)="onRemoveOfflineData()">
11619
+ حذف اطلاعات آفلاین
11620
+ </button>
11621
+ <button class="fd-button fd-button--negative is-compact" (click)="onRemoveOfflineDataAndReturnToOnline()">
11622
+ حذف اطلاعات آفلاین و برگشت به حالت آنلاین
11623
+ </button>
11624
+ <button class="fd-button fd-button--positive is-compact" (click)="onSendOfflineDataToServer()">
11625
+ ارسال اطلاعات آفلاین به سرور
11626
+ </button>
11627
+ </div>
11628
+ } @if (imageUrl) {
11629
+ <div id="headerSpaceHolder" #headerSpaceHolder>
11630
+ <div id="bgOuterHolder" #bgOuterHolder>
11631
+ <div id="bgInnerHolder" style="height: 100vh">
11632
+ <div class="backgroundImage" id="backgroundImage">
11633
+ <img class="picture" [src]="imageUrl" loading="lazy" />
11634
+ <span id="backgroundImageOverlay" class="overlay"></span>
11635
+ </div>
11636
+ </div>
11637
+ </div>
11638
+ </div>
11639
+ }
11640
+ <section loadExternalFiles class="section" id="mainpage" #sectionRef>
11641
+ <div #containerRef></div>
11642
+ </section>
11643
+ <div class="page-wrapper">
11644
+ <router-outlet></router-outlet>
11645
+ </div>
11646
+ <!-- <footer #footerRef></footer> -->
11647
+ <ng-container #footerRef></ng-container>
11648
+ `, isInline: true, dependencies: [{ kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: LoadExternalFilesDirective, selector: "[loadExternalFiles]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11579
11649
  }
11580
11650
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: RootPortalComponent, decorators: [{
11581
11651
  type: Component,
11582
11652
  args: [{
11583
11653
  selector: 'bnrc-root-portal',
11584
- template: `
11585
- @if(inLocalMode){
11586
- <div class="fd-toolbar" style="flex-wrap:wrap;padding:0.5rem;height:auto">
11587
- <button class="fd-button fd-button--attention is-compact" (click)="onRemoveOfflineData()">
11588
- حذف اطلاعات آفلاین
11589
- </button>
11590
- <button class="fd-button fd-button--negative is-compact" (click)="onRemoveOfflineDataAndReturnToOnline()">
11591
- حذف اطلاعات آفلاین و برگشت به حالت آنلاین
11592
- </button>
11593
- <button class="fd-button fd-button--positive is-compact" (click)="onSendOfflineDataToServer()">
11594
- ارسال اطلاعات آفلاین به سرور
11595
- </button>
11596
- </div>
11597
- } @if (imageUrl) {
11598
- <div id="headerSpaceHolder" #headerSpaceHolder>
11599
- <div id="bgOuterHolder" #bgOuterHolder>
11600
- <div id="bgInnerHolder" style="height: 100vh">
11601
- <div class="backgroundImage" id="backgroundImage">
11602
- <img class="picture" [src]="imageUrl" loading="lazy" />
11603
- <span id="backgroundImageOverlay" class="overlay"></span>
11604
- </div>
11605
- </div>
11606
- </div>
11607
- </div>
11608
- }
11609
- <section class="section" id="mainpage" #sectionRef>
11610
- <div #containerRef></div>
11611
- </section>
11612
- <div class="page-wrapper">
11613
- <router-outlet></router-outlet>
11614
- </div>
11615
- <!-- <footer #footerRef></footer> -->
11616
- <ng-container #footerRef></ng-container>
11654
+ template: `
11655
+ @if(inLocalMode){
11656
+ <div class="fd-toolbar" style="flex-wrap:wrap;padding:0.5rem;height:auto">
11657
+ <button class="fd-button fd-button--attention is-compact" (click)="onRemoveOfflineData()">
11658
+ حذف اطلاعات آفلاین
11659
+ </button>
11660
+ <button class="fd-button fd-button--negative is-compact" (click)="onRemoveOfflineDataAndReturnToOnline()">
11661
+ حذف اطلاعات آفلاین و برگشت به حالت آنلاین
11662
+ </button>
11663
+ <button class="fd-button fd-button--positive is-compact" (click)="onSendOfflineDataToServer()">
11664
+ ارسال اطلاعات آفلاین به سرور
11665
+ </button>
11666
+ </div>
11667
+ } @if (imageUrl) {
11668
+ <div id="headerSpaceHolder" #headerSpaceHolder>
11669
+ <div id="bgOuterHolder" #bgOuterHolder>
11670
+ <div id="bgInnerHolder" style="height: 100vh">
11671
+ <div class="backgroundImage" id="backgroundImage">
11672
+ <img class="picture" [src]="imageUrl" loading="lazy" />
11673
+ <span id="backgroundImageOverlay" class="overlay"></span>
11674
+ </div>
11675
+ </div>
11676
+ </div>
11677
+ </div>
11678
+ }
11679
+ <section loadExternalFiles class="section" id="mainpage" #sectionRef>
11680
+ <div #containerRef></div>
11681
+ </section>
11682
+ <div class="page-wrapper">
11683
+ <router-outlet></router-outlet>
11684
+ </div>
11685
+ <!-- <footer #footerRef></footer> -->
11686
+ <ng-container #footerRef></ng-container>
11617
11687
  `,
11618
11688
  changeDetection: ChangeDetectionStrategy.OnPush
11619
11689
  }]
@@ -13598,11 +13668,13 @@ class RedirectHomeGuard {
13598
13668
  }), map(([hasAuthorized]) => !hasAuthorized));
13599
13669
  }
13600
13670
  _handle(params) {
13601
- const { notificationTag, action } = params;
13671
+ const { notificationTag, action, moid, tpid } = params;
13602
13672
  if (typeof notificationTag !== 'undefined' && action) {
13603
13673
  const pushAction = {
13604
13674
  notificationTag,
13605
- action
13675
+ action,
13676
+ moid,
13677
+ tpid
13606
13678
  };
13607
13679
  // if (notificationTag === '' && action === 'show') {
13608
13680
  // setTimeout(() => {
@@ -14093,7 +14165,8 @@ const directives = [
14093
14165
  DynamicStyleDirective,
14094
14166
  NowraptextDirective,
14095
14167
  LabelmandatoryDirective,
14096
- AbsoluteDivBodyDirective
14168
+ AbsoluteDivBodyDirective,
14169
+ LoadExternalFilesDirective
14097
14170
  ];
14098
14171
  const pipes = [
14099
14172
  NumeralPipe,
@@ -14141,7 +14214,8 @@ const pipes = [
14141
14214
  ThImageOrIconePipe,
14142
14215
  FindPreviewColumnPipe,
14143
14216
  ReplacePipe,
14144
- FilterWorkflowInMobilePipe
14217
+ FilterWorkflowInMobilePipe,
14218
+ HideColumnsInmobilePipe
14145
14219
  ];
14146
14220
  const functionL1 = function () {
14147
14221
  if (BarsaApi.LoginFormData.Culture === 'fa-IR') {
@@ -14322,7 +14396,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
14322
14396
  ThImageOrIconePipe,
14323
14397
  FindPreviewColumnPipe,
14324
14398
  ReplacePipe,
14325
- FilterWorkflowInMobilePipe, PlaceHolderDirective,
14399
+ FilterWorkflowInMobilePipe,
14400
+ HideColumnsInmobilePipe, PlaceHolderDirective,
14326
14401
  NumbersOnlyInputDirective,
14327
14402
  RenderUlvViewerDirective,
14328
14403
  RenderUlvPaginDirective,
@@ -14349,7 +14424,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
14349
14424
  DynamicStyleDirective,
14350
14425
  NowraptextDirective,
14351
14426
  LabelmandatoryDirective,
14352
- AbsoluteDivBodyDirective], imports: [CommonModule,
14427
+ AbsoluteDivBodyDirective,
14428
+ LoadExternalFilesDirective], imports: [CommonModule,
14353
14429
  HttpClientModule,
14354
14430
  BarsaNovinRayCoreRoutingModule,
14355
14431
  BarsaSapUiFormPageModule,
@@ -14417,7 +14493,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
14417
14493
  ThImageOrIconePipe,
14418
14494
  FindPreviewColumnPipe,
14419
14495
  ReplacePipe,
14420
- FilterWorkflowInMobilePipe, PlaceHolderDirective,
14496
+ FilterWorkflowInMobilePipe,
14497
+ HideColumnsInmobilePipe, PlaceHolderDirective,
14421
14498
  NumbersOnlyInputDirective,
14422
14499
  RenderUlvViewerDirective,
14423
14500
  RenderUlvPaginDirective,
@@ -14444,7 +14521,8 @@ class BarsaNovinRayCoreModule extends BaseModule {
14444
14521
  DynamicStyleDirective,
14445
14522
  NowraptextDirective,
14446
14523
  LabelmandatoryDirective,
14447
- AbsoluteDivBodyDirective] }); }
14524
+ AbsoluteDivBodyDirective,
14525
+ LoadExternalFilesDirective] }); }
14448
14526
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: BarsaNovinRayCoreModule, imports: [CommonModule,
14449
14527
  HttpClientModule,
14450
14528
  BarsaNovinRayCoreRoutingModule,
@@ -14471,5 +14549,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
14471
14549
  * Generated bundle index. Do not edit.
14472
14550
  */
14473
14551
 
14474
- 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 };
14552
+ 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, HideColumnsInmobilePipe, HistoryControlInfoModel, HorizontalLayoutService, IconControlInfoModel, ImageLazyDirective, ImageMimeType, IndexedDbService, InputNumber, IntersectionObserverDirective, IntersectionStatus, IsExpandedNodePipe, ItemsRendererDirective, LabelmandatoryDirective, LayoutItemBaseComponent, LayoutPanelBaseComponent, LayoutService, LinearListControlInfoModel, LinearListHelper, ListCountPipe, ListRelationModel, LoadExternalFilesDirective, 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 };
14475
14553
  //# sourceMappingURL=barsa-novin-ray-core.mjs.map