barsa-calendar 2.3.43 → 2.3.44
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.
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { inject, Injectable, Pipe, EventEmitter, HostListener, HostBinding, Output, Input, ChangeDetectionStrategy, Component, ViewChild, ChangeDetectorRef, ComponentFactoryResolver, NO_ERRORS_SCHEMA, NgModule } from '@angular/core';
|
|
3
3
|
import { takeUntil, distinctUntilChanged, map, switchMap } from 'rxjs/operators';
|
|
4
4
|
import * as i2$1 from 'barsa-novin-ray-core';
|
|
5
|
-
import { LogService, getDateService, getUniqueId, BaseComponent, PreventDefaulEvent, PortalService, DateService, BbbTranslatePipe,
|
|
5
|
+
import { LogService, getDateService, getUniqueId, BaseComponent, PreventDefaulEvent, PortalService, BarsaApi, DateService, BbbTranslatePipe, ReportViewBaseComponent, BaseModule, DynamicComponentService, BarsaNovinRayCoreModule } from 'barsa-novin-ray-core';
|
|
6
6
|
import { Subject, BehaviorSubject, combineLatest, of } from 'rxjs';
|
|
7
7
|
import moment from 'moment/moment';
|
|
8
8
|
import * as i1 from '@angular/common';
|
|
@@ -1367,6 +1367,7 @@ class CalendarSelectionDaysComponent extends BaseComponent {
|
|
|
1367
1367
|
return 480;
|
|
1368
1368
|
}
|
|
1369
1369
|
}));
|
|
1370
|
+
this._calendarService.setCulture(BarsaApi.LoginFormData.Culture);
|
|
1370
1371
|
this.weekDaysMin = this._calendarService.weekDaysMin();
|
|
1371
1372
|
this._calendarService.setMode('month');
|
|
1372
1373
|
this.weekDays = this._calendarService.weekDays();
|
|
@@ -2571,6 +2572,7 @@ class CalendarContainerComponent extends ReportViewBaseComponent {
|
|
|
2571
2572
|
}
|
|
2572
2573
|
this.userCalendars = this.contextSetting.View.UserCalendars;
|
|
2573
2574
|
super.ngOnInit();
|
|
2575
|
+
this._calendarService.setCulture(BarsaApi.LoginFormData.Culture);
|
|
2574
2576
|
this.prepare();
|
|
2575
2577
|
this._setWidthAndHeight();
|
|
2576
2578
|
this.prepareMoDataList(this.moDataList);
|