barsa-novin-ray-core 2.2.74 → 2.2.76
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.
|
@@ -7,7 +7,7 @@ import { filter, startWith, map, tap, takeUntil, withLatestFrom, delay, debounce
|
|
|
7
7
|
import { _isNumberValue } from '@angular/cdk/coercion';
|
|
8
8
|
import moment from 'moment';
|
|
9
9
|
import moment$1 from 'moment-hijri';
|
|
10
|
-
import 'moment/locale/ar
|
|
10
|
+
import 'moment/locale/ar';
|
|
11
11
|
import moment$2 from 'moment-jalaali';
|
|
12
12
|
import 'moment/locale/fa';
|
|
13
13
|
import { FormControl, FormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
@@ -336,7 +336,7 @@ class DateHijriService extends DateService {
|
|
|
336
336
|
constructor(logService) {
|
|
337
337
|
super(logService);
|
|
338
338
|
this.logService = logService;
|
|
339
|
-
this.locale = 'ar
|
|
339
|
+
this.locale = 'ar';
|
|
340
340
|
}
|
|
341
341
|
getTimes(date) {
|
|
342
342
|
return moment$1(date).format('HH:mm');
|
|
@@ -12065,12 +12065,13 @@ class RootPortalComponent extends PageBaseComponent {
|
|
|
12065
12065
|
this.addFooter(pageData);
|
|
12066
12066
|
BigNumber.prototype.subtract = BigNumber.prototype.minus;
|
|
12067
12067
|
BigNumber.prototype.add = BigNumber.prototype.plus;
|
|
12068
|
-
const { BackgroundId, BackgroundColor, HasOverlay } = this.pageData;
|
|
12068
|
+
const { BackgroundId, BackgroundColor, HasOverlay, BackgroundSize } = this.pageData;
|
|
12069
12069
|
if (BackgroundId) {
|
|
12070
12070
|
this.backgroundColor = BackgroundColor;
|
|
12071
12071
|
this.hasOverlay = HasOverlay !== 'False';
|
|
12072
12072
|
this._renderer2.addClass(this._el.nativeElement, 'root-custom-background');
|
|
12073
12073
|
this.hasOverlay && this._renderer2.addClass(this._el.nativeElement, 'root-background-overlay');
|
|
12074
|
+
BackgroundSize && this._renderer2.addClass(this._el.nativeElement, 'size-' + BackgroundSize);
|
|
12074
12075
|
this.imageUrl = `/IH.ashx?ty=ID&moId=&id=${BackgroundId}`;
|
|
12075
12076
|
this._portalService.setSiteImageUrl(BackgroundColor, this.imageUrl);
|
|
12076
12077
|
}
|