barsa-novin-ray-core 2.3.70 → 2.3.72

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.
@@ -3668,13 +3668,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
3668
3668
 
3669
3669
  class FilterWorkflowInMobilePipe {
3670
3670
  constructor() { }
3671
- transform(buttons, worfklowButtonsOnFooter = false
3671
+ transform(buttons, _worfklowButtonsOnFooter = false
3672
3672
  // fileCount: number
3673
3673
  ) {
3674
- const isMobileOrTablet = getDeviceIsMobile() || worfklowButtonsOnFooter;
3675
- if (!isMobileOrTablet) {
3676
- return buttons;
3677
- }
3674
+ // const isMobileOrTablet = getDeviceIsMobile() || worfklowButtonsOnFooter;
3675
+ // if (!isMobileOrTablet) {
3676
+ // return buttons;
3677
+ // }
3678
3678
  return buttons.filter((button) => !button.isWorkflow);
3679
3679
  }
3680
3680
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: FilterWorkflowInMobilePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
@@ -4965,7 +4965,7 @@ class ApplicationCtrlrService {
4965
4965
  this._selectedSystemNavUi$ = new BehaviorSubject(null);
4966
4966
  this._selectedCommandId$ = new BehaviorSubject({});
4967
4967
  this._isCommandGroupsSelected$ = new BehaviorSubject({});
4968
- this._log = inject(LogService);
4968
+ this._isMobile = getDeviceIsMobile();
4969
4969
  this._document = inject(DOCUMENT);
4970
4970
  this._router = inject(Router);
4971
4971
  }
@@ -5167,7 +5167,7 @@ class ApplicationCtrlrService {
5167
5167
  this._addSystemUi(context._systemsUi);
5168
5168
  this._customApplicationMenuBodyUi = appMenuBodyUi;
5169
5169
  this._customApplicationMenuBodyUi.on({
5170
- HideMenu: () => this._document?.body?.click()
5170
+ HideMenu: () => !this._isMobile && this.deviceSize !== 's' && this._document?.body?.click()
5171
5171
  });
5172
5172
  }
5173
5173
  _appMenuBodyUi_itemsChanged(items) {
@@ -5483,6 +5483,7 @@ class PortalService {
5483
5483
  }
5484
5484
  _setDeviceSize() {
5485
5485
  const deviceSize = this._initalizeDeviceSize();
5486
+ this._applicationCtrlrService.deviceSize = deviceSize;
5486
5487
  this._deviceSizeSource.next(deviceSize);
5487
5488
  }
5488
5489
  _initalizeDeviceSize() {