barsa-novin-ray-core 2.3.65 → 2.3.67

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.
@@ -2524,7 +2524,11 @@ class BbbTranslatePipe {
2524
2524
  if (!key.replace) {
2525
2525
  return key;
2526
2526
  }
2527
- let result = BarsaApi.BBB[key] ?? key;
2527
+ let result = BarsaApi.BBB[key];
2528
+ if (!result) {
2529
+ const tKey = key.trimStart().trimEnd();
2530
+ result = BarsaApi.BBB[tKey] ?? key;
2531
+ }
2528
2532
  if (addText) {
2529
2533
  result += ' ' + this.transform(addText);
2530
2534
  }
@@ -5162,6 +5166,9 @@ class ApplicationCtrlrService {
5162
5166
  }
5163
5167
  this._addSystemUi(context._systemsUi);
5164
5168
  this._customApplicationMenuBodyUi = appMenuBodyUi;
5169
+ this._customApplicationMenuBodyUi.on({
5170
+ HideMenu: () => this._document?.body?.click()
5171
+ });
5165
5172
  }
5166
5173
  _appMenuBodyUi_itemsChanged(items) {
5167
5174
  this._appMenuItems$.next([...items]);
@@ -12955,6 +12962,9 @@ class RootPortalComponent extends PageBaseComponent {
12955
12962
  this._portalService.rtl$.subscribe((c) => {
12956
12963
  this._dir = c ? 'rtl' : 'ltr';
12957
12964
  });
12965
+ this._portalService.deviceSize$.subscribe((c) => {
12966
+ this._deviceSize = c;
12967
+ });
12958
12968
  // this.inLocalMode = true;
12959
12969
  this._router.events.subscribe((event) => {
12960
12970
  if (event instanceof NavigationStart && event instanceof RouterEvent) {
@@ -13024,7 +13034,7 @@ class RootPortalComponent extends PageBaseComponent {
13024
13034
  }
13025
13035
  }
13026
13036
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: RootPortalComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
13027
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: RootPortalComponent, isStandalone: false, selector: "bnrc-root-portal", host: { properties: { "attr.dir": "this._dir" } }, viewQueries: [{ propertyName: "sectionRef", first: true, predicate: ["sectionRef"], descendants: true }, { propertyName: "footerRefVcr", first: true, predicate: ["footerRef"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: `
13037
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: RootPortalComponent, isStandalone: false, selector: "bnrc-root-portal", host: { properties: { "attr.dir": "this._dir", "attr.devicesize": "this._deviceSize" } }, viewQueries: [{ propertyName: "sectionRef", first: true, predicate: ["sectionRef"], descendants: true }, { propertyName: "footerRefVcr", first: true, predicate: ["footerRef"], descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0, template: `
13028
13038
  <div
13029
13039
  class="tw-hidden grid-cols-0 tw-grid-cols-1 tw-grid-cols-2 tw-grid-cols-3 tw-grid-cols-4 tw-grid-cols-5
13030
13040
  tw-grid-cols-6 tw-grid-cols-7 tw-grid-cols-8 tw-grid-cols-9 tw-grid-cols-10 tw-grid-cols-11 tw-grid-cols-12"
@@ -13175,6 +13185,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
13175
13185
  }], _dir: [{
13176
13186
  type: HostBinding,
13177
13187
  args: ['attr.dir']
13188
+ }], _deviceSize: [{
13189
+ type: HostBinding,
13190
+ args: ['attr.devicesize']
13178
13191
  }] } });
13179
13192
 
13180
13193
  class AnchorScrollDirective {