@progress/kendo-angular-scheduler 22.1.0-develop.8 → 23.0.0-develop.1
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/data-binding.directive.d.ts +1 -1
- package/editing/edit-dialog-template.directive.d.ts +1 -1
- package/editing/recurrence/recurrence-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +4 -1
- package/editing/recurrence/recurrence.service.d.ts +1 -0
- package/editing-directives/base-edit.service.d.ts +7 -7
- package/editing-directives/edit-service.interface.d.ts +2 -2
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/events/drag-event.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-scheduler.mjs +395 -397
- package/package-metadata.mjs +2 -2
- package/package.json +18 -18
- package/pdf/pdf-command.directive.d.ts +3 -3
- package/pdf/pdf.component.d.ts +1 -1
- package/scheduler.component.d.ts +12 -11
- package/schematics/ngAdd/index.js +3 -3
- package/toolbar/navigation.component.d.ts +4 -4
- package/toolbar/toolbar-context.d.ts +1 -1
- package/toolbar/toolbar-template.directive.d.ts +5 -5
- package/toolbar/toolbar.service.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +3 -3
- package/types/actions.d.ts +6 -6
- package/types/datepicker-options.interface.d.ts +16 -16
- package/types/edit-event-args.interface.d.ts +1 -1
- package/types/editable-settings.interface.d.ts +2 -2
- package/types/numeric-options.interface.d.ts +7 -7
- package/types/slot-selection.d.ts +2 -2
- package/views/agenda/agenda-view.component.d.ts +2 -2
- package/views/common/configuration-view-base.d.ts +1 -1
- package/views/month/month-view.component.d.ts +5 -5
- package/views/month/multi-week-view.component.d.ts +5 -5
- package/views/multi-day/day-view.component.d.ts +2 -2
- package/views/multi-day/multi-day-view.component.d.ts +2 -2
- package/views/multi-day/week-view.component.d.ts +2 -2
- package/views/templates/agenda-date-template.directive.d.ts +1 -1
- package/views/templates/agenda-time-template.directive.d.ts +1 -1
- package/views/templates/all-day-event-template.directive.d.ts +1 -1
- package/views/templates/all-day-slot-template.directive.d.ts +1 -1
- package/views/templates/date-header-template.directive.d.ts +1 -1
- package/views/templates/event-template.directive.d.ts +1 -1
- package/views/templates/group-header-template.directive.d.ts +1 -1
- package/views/templates/major-time-header-template.directive.d.ts +1 -1
- package/views/templates/minor-time-header-template.directive.d.ts +1 -1
- package/views/templates/month-day-slot-template.directive.d.ts +1 -1
- package/views/templates/multi-week-day-slot-template.directive.d.ts +1 -1
- package/views/templates/time-slot-template.directive.d.ts +1 -1
- package/views/timeline/timeline-month-view.component.d.ts +2 -2
- package/views/timeline/timeline-view.component.d.ts +2 -2
- package/views/timeline/timeline-week-view.component.d.ts +2 -2
- package/views/year/year-view.component.d.ts +2 -2
|
@@ -9,7 +9,7 @@ import { LocalDataChangesService } from './editing/local-data-changes.service';
|
|
|
9
9
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
|
-
* A directive that processes Scheduler events in memory ([see example](
|
|
12
|
+
* A directive that processes Scheduler events in memory ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/data-binding#automatic-data-processing)).
|
|
13
13
|
*
|
|
14
14
|
* Processing includes expanding of recurring events and filtering data for
|
|
15
15
|
* the currently active period.
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
/**
|
|
8
8
|
* Represents the template directive for customizing the Scheduler edit dialog.
|
|
9
9
|
* To define the template, nest an `<ng-template>` tag
|
|
10
|
-
* with the `kendoSchedulerEditDialogTemplate` directive inside the `<kendo-scheduler>` tag ([see example](
|
|
10
|
+
* with the `kendoSchedulerEditDialogTemplate` directive inside the `<kendo-scheduler>` tag ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing/custom-reactive-editing)).
|
|
11
11
|
*
|
|
12
12
|
* The template context is set to the current event and the following additional fields are passed:
|
|
13
13
|
* - `event`—The currently edited event. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax—for example, `let-event`.
|
|
@@ -17,7 +17,7 @@ export declare const RECURRENCE_VALUE_ACCESSOR: any;
|
|
|
17
17
|
/**
|
|
18
18
|
* Represents the Kendo UI Recurrence Editor component for Angular. Use this component to let users set recurrence rules for Scheduler events.
|
|
19
19
|
*
|
|
20
|
-
* [This example](
|
|
20
|
+
* [This example](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing/custom-reactive-editing) demonstrates the Recurrence Editor, among other components.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* ```html
|
|
@@ -3,20 +3,23 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NumericTextBoxOptions } from './../../types/numeric-options.interface';
|
|
6
|
+
import { OnDestroy } from '@angular/core';
|
|
6
7
|
import { RecurrenceService } from './recurrence.service';
|
|
7
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
11
12
|
*/
|
|
12
|
-
export declare class RecurrenceIntervalEditorComponent {
|
|
13
|
+
export declare class RecurrenceIntervalEditorComponent implements OnDestroy {
|
|
13
14
|
private recurrence;
|
|
14
15
|
private localization?;
|
|
15
16
|
cssClass: boolean;
|
|
16
17
|
set userNumericOptions(options: NumericTextBoxOptions);
|
|
17
18
|
intervalValue: number;
|
|
18
19
|
numericOptions: NumericTextBoxOptions;
|
|
20
|
+
private frequencyChangeSubscription;
|
|
19
21
|
constructor(recurrence: RecurrenceService, localization?: LocalizationService);
|
|
22
|
+
ngOnDestroy(): void;
|
|
20
23
|
get currentFreq(): string;
|
|
21
24
|
onIntervalChange(newInterval: number): void;
|
|
22
25
|
onIntervalBlur(): void;
|
|
@@ -6,16 +6,16 @@ import { EditService } from './edit-service.interface';
|
|
|
6
6
|
import { SchedulerModelFields } from '../types';
|
|
7
7
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
8
8
|
/**
|
|
9
|
-
* Represents a base implementation of the [edit service](
|
|
9
|
+
* Represents a base implementation of the [edit service](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/editservice) that persists data to CRUD services such as OData.
|
|
10
10
|
*
|
|
11
|
-
* To use custom models, pass a [field map](
|
|
11
|
+
* To use custom models, pass a [field map](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulermodelfields) as a constructor parameter in the `BaseEditService` implementation. Subclasses must implement the `read` operation (that is not called directly by the base class) and the `save` method to persist created, updated, and deleted entities.
|
|
12
12
|
*
|
|
13
|
-
* The [`events`](#
|
|
13
|
+
* The [`events`](#events) observable publishes the current data when you subscribe, for example, by using an [async pipe](https://angular.io/api/common/AsyncPipe) ([more information](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing#connecting-custom-data-services)).
|
|
14
14
|
*
|
|
15
15
|
* Implementations that utilize dedicated services, such as Google Calendar and Microsoft Exchange, typically implement the
|
|
16
|
-
* [`EditService`](
|
|
16
|
+
* [`EditService`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/editservice) of the Scheduler directly.
|
|
17
17
|
*
|
|
18
|
-
* See example in [this article](
|
|
18
|
+
* See example in [this article](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing/custom-reactive-editing).
|
|
19
19
|
*/
|
|
20
20
|
export declare abstract class BaseEditService<TEvent> implements EditService<TEvent> {
|
|
21
21
|
/**
|
|
@@ -49,7 +49,7 @@ export declare abstract class BaseEditService<TEvent> implements EditService<TEv
|
|
|
49
49
|
/**
|
|
50
50
|
* Initializes the base edit service.
|
|
51
51
|
*
|
|
52
|
-
* @param fields - A field map that will be used for reading and modifying model objects. Defaults to the [`SchedulerEvent`](
|
|
52
|
+
* @param fields - A field map that will be used for reading and modifying model objects. Defaults to the [`SchedulerEvent`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerevent) fields.
|
|
53
53
|
*/
|
|
54
54
|
constructor(fields: SchedulerModelFields);
|
|
55
55
|
/**
|
|
@@ -112,7 +112,7 @@ export declare abstract class BaseEditService<TEvent> implements EditService<TEv
|
|
|
112
112
|
protected assignValues(target: any, source: any): void;
|
|
113
113
|
/**
|
|
114
114
|
* Clones an existing model object.
|
|
115
|
-
* To copy the top-level model fields, the base creates an empty object and calls [`assignValues`](#
|
|
115
|
+
* To copy the top-level model fields, the base creates an empty object and calls [`assignValues`](#assignvalues).
|
|
116
116
|
* To create models of the correct type, override `cloneEvent`.
|
|
117
117
|
*
|
|
118
118
|
* @param event - The model instance to copy.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* Defines the interface for a service that the reactive and template editing directives of the Scheduler use to persist changes made during editing.
|
|
7
7
|
*
|
|
8
|
-
* * [Custom Service](
|
|
9
|
-
* * [`BaseEditService`](
|
|
8
|
+
* * [Custom Service](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing#connecting-custom-data-services)
|
|
9
|
+
* * [`BaseEditService`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/baseeditservice)
|
|
10
10
|
*/
|
|
11
11
|
export interface EditService<TEvent> {
|
|
12
12
|
/**
|
|
@@ -11,7 +11,7 @@ import { DialogsService } from '../editing/dialogs.service';
|
|
|
11
11
|
import { FocusService } from "../navigation";
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
/**
|
|
14
|
-
* A directive that encapsulates editing operations for the Scheduler using [Angular Reactive Forms](link:site.data.urls.angular['reactiveforms']) ([see example](
|
|
14
|
+
* A directive that encapsulates editing operations for the Scheduler using [Angular Reactive Forms](link:site.data.urls.angular['reactiveforms']) ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing)).
|
|
15
15
|
*
|
|
16
16
|
* Handles event editing, saving, and form validation logic for the Scheduler component.
|
|
17
17
|
* Provides integration with custom form group creation and supports recurring event editing scenarios.
|
package/events/drag-event.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare class DragEvent extends PreventableEvent {
|
|
|
33
33
|
*/
|
|
34
34
|
resources: any;
|
|
35
35
|
/**
|
|
36
|
-
* Sets the class to the drag hint ([see example](
|
|
36
|
+
* Sets the class to the drag hint ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/editing/restrictions)).
|
|
37
37
|
*/
|
|
38
38
|
setHintClass: (className: string) => void;
|
|
39
39
|
/**
|