barsa-calendar 2.3.42 → 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.
- package/fesm2022/barsa-calendar.mjs +24 -11
- package/fesm2022/barsa-calendar.mjs.map +1 -1
- package/index.d.ts +7 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnChanges, EventEmitter, SimpleChanges, OnInit, TemplateRef, ElementRef, PipeTransform, ComponentFactoryResolver } from '@angular/core';
|
|
2
|
+
import { OnChanges, EventEmitter, SimpleChanges, OnInit, TemplateRef, ElementRef, OnDestroy, PipeTransform, ComponentFactoryResolver } from '@angular/core';
|
|
3
3
|
import { Observable, BehaviorSubject } from 'rxjs';
|
|
4
4
|
import * as i24 from 'barsa-novin-ray-core';
|
|
5
5
|
import { DateInfo, CalendarMetaobjectDataModel, BaseComponent, AbbrevationDeviceSize, CultureTypes, CalendarFields, MetaobjectDataModel, ReportViewBaseComponent, UiReportViewBaseSetting, DateService, BaseModule, DynamicComponentService } from 'barsa-novin-ray-core';
|
|
@@ -697,7 +697,7 @@ interface UiCalendarSetting extends UiReportViewBaseSetting {
|
|
|
697
697
|
CalendarColorField: string;
|
|
698
698
|
}
|
|
699
699
|
|
|
700
|
-
declare class CalendarService
|
|
700
|
+
declare class CalendarService implements OnDestroy {
|
|
701
701
|
selected$: Observable<CalendarMonthInfo>;
|
|
702
702
|
days$: Observable<Day[]>;
|
|
703
703
|
mode$: Observable<CalendarMode>;
|
|
@@ -707,6 +707,7 @@ declare class CalendarService extends BaseComponent {
|
|
|
707
707
|
today: Date;
|
|
708
708
|
todayDay: Day | undefined;
|
|
709
709
|
_dateService: DateService;
|
|
710
|
+
private readonly _onDestroy$;
|
|
710
711
|
private _todayMonthInfo;
|
|
711
712
|
private _calendarsSource;
|
|
712
713
|
private _selectedSource;
|
|
@@ -714,6 +715,8 @@ declare class CalendarService extends BaseComponent {
|
|
|
714
715
|
private _currentMonthIndexSource;
|
|
715
716
|
private _weekModeDaysSource;
|
|
716
717
|
private _daysSource;
|
|
718
|
+
private _log;
|
|
719
|
+
ngOnDestroy(): void;
|
|
717
720
|
get todayMonthInfo(): CalendarMonthInfo;
|
|
718
721
|
get selectedMonth(): CalendarMonthInfo;
|
|
719
722
|
get calendars(): Array<CalendarMonthInfo>;
|
|
@@ -820,11 +823,11 @@ declare class EqualDatePipe implements PipeTransform {
|
|
|
820
823
|
declare class BarsaCalendarModule extends BaseModule {
|
|
821
824
|
protected dcm: DynamicComponentService;
|
|
822
825
|
protected componentFactoryResolver: ComponentFactoryResolver;
|
|
823
|
-
protected dynamicComponents: (typeof DayEventListComponent | typeof DayNumberBoxComponent | typeof EventPreviewComponent | typeof MonthDaysComponent | typeof CalendarHeaderComponent | typeof CalendarMonthComponent | typeof CalendarWeekComponent | typeof CalendarListItemComponent | typeof CalendarListContainerComponent | typeof CalendarListComponent | typeof CalendarContainerComponent | typeof EventButtonEndArrowComponent)[];
|
|
826
|
+
protected dynamicComponents: (typeof CalendarSelectionDaysComponent | typeof DateTimePickerComponent | typeof DayEventListComponent | typeof DayNumberBoxComponent | typeof EventPreviewComponent | typeof MonthDaysComponent | typeof CalendarHeaderComponent | typeof CalendarMonthComponent | typeof CalendarWeekComponent | typeof CalendarListItemComponent | typeof CalendarListContainerComponent | typeof CalendarListComponent | typeof CalendarContainerComponent | typeof EventButtonEndArrowComponent)[];
|
|
824
827
|
/** Inserted by Angular inject() migration for backwards compatibility */
|
|
825
828
|
constructor();
|
|
826
829
|
static ɵfac: i0.ɵɵFactoryDeclaration<BarsaCalendarModule, never>;
|
|
827
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BarsaCalendarModule, [typeof CalendarContainerComponent, typeof CalendarListComponent, typeof CalendarListContainerComponent, typeof CalendarListItemComponent, typeof CalendarWeekComponent, typeof CalendarMonthComponent, typeof MonthDaysComponent, typeof CalendarHeaderComponent, typeof EventPreviewComponent, typeof DayNumberBoxComponent, typeof EventButtonComponent, typeof DayEventListComponent, typeof EventButtonEndArrowComponent, typeof EventButtonStartArrowComponent, typeof
|
|
830
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BarsaCalendarModule, [typeof CalendarContainerComponent, typeof CalendarListComponent, typeof CalendarListContainerComponent, typeof CalendarListItemComponent, typeof CalendarWeekComponent, typeof CalendarMonthComponent, typeof MonthDaysComponent, typeof CalendarHeaderComponent, typeof EventPreviewComponent, typeof DayNumberBoxComponent, typeof EventButtonComponent, typeof DayEventListComponent, typeof EventButtonEndArrowComponent, typeof EventButtonStartArrowComponent, typeof DateTimePickerComponent, typeof CalendarSelectionDaysComponent, typeof DaysInWeekPipe, typeof EventDatePipe, typeof EventTimePipe, typeof FromToTimePipe, typeof EqualDatePipe], [typeof i22.CommonModule, typeof i23.FormsModule, typeof i24.BarsaNovinRayCoreModule, typeof i25.FundamentalNgxCoreModule, typeof i26.PopoverModule, typeof i27.CardModule, typeof i28.QuickViewModule], [typeof CalendarContainerComponent, typeof CalendarListComponent, typeof CalendarListContainerComponent, typeof CalendarListItemComponent, typeof CalendarWeekComponent, typeof CalendarMonthComponent, typeof MonthDaysComponent, typeof CalendarHeaderComponent, typeof EventPreviewComponent, typeof DayNumberBoxComponent, typeof EventButtonComponent, typeof DayEventListComponent, typeof EventButtonEndArrowComponent, typeof EventButtonStartArrowComponent, typeof DateTimePickerComponent, typeof CalendarSelectionDaysComponent]>;
|
|
828
831
|
static ɵinj: i0.ɵɵInjectorDeclaration<BarsaCalendarModule>;
|
|
829
832
|
}
|
|
830
833
|
|