@progress/kendo-angular-scheduler 4.3.1-dev.202208110754 → 4.3.1-dev.202208290849
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.
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injectable, Optional, EventEmitter } from '@angular/core';
|
|
6
|
-
import { Subscription
|
|
6
|
+
import { Subscription } from 'rxjs';
|
|
7
|
+
import { take } from 'rxjs/operators';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "../views/common/dom-events.service";
|
|
9
10
|
/**
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-scheduler',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1661762899,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -12,8 +12,8 @@ import { isEqualDate, timezoneNames, ZonedDate, toLocalDate, getDate, Day, MS_PE
|
|
|
12
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
13
13
|
import * as i4 from '@progress/kendo-angular-dateinputs';
|
|
14
14
|
import { PreventableEvent as PreventableEvent$1, CalendarModule, DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
15
|
-
import { Subject, BehaviorSubject, fromEvent, Subscription,
|
|
16
|
-
import { auditTime, buffer, filter, map, debounceTime, take
|
|
15
|
+
import { Subject, BehaviorSubject, fromEvent, Subscription, combineLatest, merge } from 'rxjs';
|
|
16
|
+
import { auditTime, buffer, filter, map, debounceTime, take, switchMap, tap, distinctUntilChanged } from 'rxjs/operators';
|
|
17
17
|
import * as i11$1 from '@angular/forms';
|
|
18
18
|
import { NG_VALUE_ACCESSOR, FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms';
|
|
19
19
|
import * as i1 from '@progress/kendo-angular-dialog';
|
|
@@ -43,7 +43,7 @@ const packageMetadata = {
|
|
|
43
43
|
name: '@progress/kendo-angular-scheduler',
|
|
44
44
|
productName: 'Kendo UI for Angular',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
46
|
-
publishDate:
|
|
46
|
+
publishDate: 1661762899,
|
|
47
47
|
version: '',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
49
49
|
};
|
|
@@ -1618,7 +1618,7 @@ class DialogsService {
|
|
|
1618
1618
|
this.focusService.focus();
|
|
1619
1619
|
return false;
|
|
1620
1620
|
}
|
|
1621
|
-
this.viewState.layoutEnd.pipe(take
|
|
1621
|
+
this.viewState.layoutEnd.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
1622
1622
|
const res = result;
|
|
1623
1623
|
return res.value;
|
|
1624
1624
|
}));
|
|
@@ -8301,7 +8301,7 @@ class AgendaViewInternalComponent {
|
|
|
8301
8301
|
this.tasks.next(tasks);
|
|
8302
8302
|
}));
|
|
8303
8303
|
this.subs.add(this.viewContext.optionsChange.subscribe(this.optionsChange.bind(this)));
|
|
8304
|
-
const onStable = () => this.zone.onStable.pipe(take
|
|
8304
|
+
const onStable = () => this.zone.onStable.pipe(take(1));
|
|
8305
8305
|
this.subs.add(combineLatest(this.tasks, this.localization.changes).pipe(switchMap(onStable))
|
|
8306
8306
|
.subscribe(this.updateContentHeight));
|
|
8307
8307
|
this.subs.add(this.pdfService.createElement.subscribe(this.createPDFElement.bind(this)));
|
|
@@ -9666,7 +9666,7 @@ class BaseView {
|
|
|
9666
9666
|
}
|
|
9667
9667
|
}
|
|
9668
9668
|
onStable() {
|
|
9669
|
-
return this.zone.onStable.asObservable().pipe(take
|
|
9669
|
+
return this.zone.onStable.asObservable().pipe(take(1));
|
|
9670
9670
|
}
|
|
9671
9671
|
updateView() {
|
|
9672
9672
|
this.slotService.invalidate();
|
|
@@ -15892,7 +15892,7 @@ class ShortcutsDirective {
|
|
|
15892
15892
|
}
|
|
15893
15893
|
}
|
|
15894
15894
|
focusWait() {
|
|
15895
|
-
this.viewState.layoutEnd.pipe(take
|
|
15895
|
+
this.viewState.layoutEnd.pipe(take(1)).subscribe(() => this.focusService.focus());
|
|
15896
15896
|
}
|
|
15897
15897
|
}
|
|
15898
15898
|
ShortcutsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ShortcutsDirective, deps: [{ token: SchedulerComponent }, { token: DomEventsService }, { token: FocusService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: ViewStateService }, { token: DialogsService }], target: i0.ɵɵFactoryTarget.Directive });
|
package/package.json
CHANGED