@progress/kendo-angular-scheduler 22.1.0-develop.9 → 23.0.0-develop.2

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.
Files changed (52) hide show
  1. package/data-binding.directive.d.ts +1 -1
  2. package/editing/edit-dialog-template.directive.d.ts +1 -1
  3. package/editing/edit-dialog.component.d.ts +5 -1
  4. package/editing/recurrence/recurrence-editor.component.d.ts +1 -1
  5. package/editing/recurrence/recurrence-interval-editor.component.d.ts +4 -1
  6. package/editing/recurrence/recurrence.service.d.ts +1 -0
  7. package/editing-directives/base-edit.service.d.ts +7 -7
  8. package/editing-directives/edit-service.interface.d.ts +2 -2
  9. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  10. package/events/drag-event.d.ts +1 -1
  11. package/fesm2022/progress-kendo-angular-scheduler.mjs +231 -206
  12. package/package-metadata.mjs +2 -2
  13. package/package.json +17 -17
  14. package/pdf/pdf-command.directive.d.ts +3 -3
  15. package/pdf/pdf.component.d.ts +1 -1
  16. package/scheduler.component.d.ts +10 -10
  17. package/schematics/ngAdd/index.js +3 -3
  18. package/toolbar/navigation.component.d.ts +4 -4
  19. package/toolbar/toolbar-context.d.ts +1 -1
  20. package/toolbar/toolbar-template.directive.d.ts +5 -5
  21. package/toolbar/toolbar.service.d.ts +1 -1
  22. package/toolbar/view-selector.component.d.ts +3 -3
  23. package/types/actions.d.ts +6 -6
  24. package/types/datepicker-options.interface.d.ts +16 -16
  25. package/types/edit-event-args.interface.d.ts +1 -1
  26. package/types/editable-settings.interface.d.ts +2 -2
  27. package/types/numeric-options.interface.d.ts +7 -7
  28. package/types/slot-selection.d.ts +2 -2
  29. package/views/agenda/agenda-view.component.d.ts +2 -2
  30. package/views/common/configuration-view-base.d.ts +1 -1
  31. package/views/month/month-view.component.d.ts +5 -5
  32. package/views/month/multi-week-view.component.d.ts +5 -5
  33. package/views/multi-day/day-view.component.d.ts +2 -2
  34. package/views/multi-day/multi-day-view.component.d.ts +2 -2
  35. package/views/multi-day/week-view.component.d.ts +2 -2
  36. package/views/templates/agenda-date-template.directive.d.ts +1 -1
  37. package/views/templates/agenda-time-template.directive.d.ts +1 -1
  38. package/views/templates/all-day-event-template.directive.d.ts +1 -1
  39. package/views/templates/all-day-slot-template.directive.d.ts +1 -1
  40. package/views/templates/date-header-template.directive.d.ts +1 -1
  41. package/views/templates/event-template.directive.d.ts +1 -1
  42. package/views/templates/group-header-template.directive.d.ts +1 -1
  43. package/views/templates/major-time-header-template.directive.d.ts +1 -1
  44. package/views/templates/minor-time-header-template.directive.d.ts +1 -1
  45. package/views/templates/month-day-slot-template.directive.d.ts +1 -1
  46. package/views/templates/multi-week-day-slot-template.directive.d.ts +1 -1
  47. package/views/templates/time-slot-template.directive.d.ts +1 -1
  48. package/views/timeline/timeline-month-view.component.d.ts +2 -2
  49. package/views/timeline/timeline-view.component.d.ts +2 -2
  50. package/views/timeline/timeline-week-view.component.d.ts +2 -2
  51. package/views/utils.d.ts +4 -0
  52. 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](slug:databinding_scheduler#automatic-data-processing)).
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](slug:custom_reactive_editing_scheduler)).
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`&mdash;The currently edited event. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax&mdash;for example, `let-event`.
@@ -14,6 +14,7 @@ import { SingleResourceEditorComponent } from './resource-single-editor.componen
14
14
  import { FocusService } from '../navigation';
15
15
  import { Day } from '@progress/kendo-date-math';
16
16
  import { SVGIcon } from '@progress/kendo-svg-icons';
17
+ import { CldrIntlService } from '@progress/kendo-angular-intl';
17
18
  import * as i0 from "@angular/core";
18
19
  /**
19
20
  * @hidden
@@ -25,6 +26,7 @@ export declare class EditDialogComponent implements OnDestroy {
25
26
  private changeDetector;
26
27
  private element;
27
28
  private focusService;
29
+ private intl;
28
30
  multipleResourceEditors: QueryList<MultipleResourceEditorComponent>;
29
31
  singleResourceEditors: QueryList<SingleResourceEditorComponent>;
30
32
  resources: Array<Resource>;
@@ -48,7 +50,8 @@ export declare class EditDialogComponent implements OnDestroy {
48
50
  saveIcon: SVGIcon;
49
51
  cancelIcon: SVGIcon;
50
52
  private subs;
51
- constructor(ngZone: NgZone, editService: EditService, localization: LocalizationService, changeDetector: ChangeDetectorRef, element: ElementRef, focusService: FocusService);
53
+ private pendingNewEventData;
54
+ constructor(ngZone: NgZone, editService: EditService, localization: LocalizationService, changeDetector: ChangeDetectorRef, element: ElementRef, focusService: FocusService, intl: CldrIntlService);
52
55
  onChange(): void;
53
56
  ngOnDestroy(): void;
54
57
  onCancel(e: any): void;
@@ -78,6 +81,7 @@ export declare class EditDialogComponent implements OnDestroy {
78
81
  private applyTimezone;
79
82
  private readDateWithTimezone;
80
83
  private readDateAsLocal;
84
+ private focusNewEvent;
81
85
  static ɵfac: i0.ɵɵFactoryDeclaration<EditDialogComponent, never>;
82
86
  static ɵcmp: i0.ɵɵComponentDeclaration<EditDialogComponent, "kendo-scheduler-edit-dialog", never, { "resources": { "alias": "resources"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "weekStart": { "alias": "weekStart"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "editTemplate": { "alias": "editTemplate"; "required": false; }; }, {}, never, never, true, never>;
83
87
  }
@@ -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](slug:custom_reactive_editing_scheduler) demonstrates the Recurrence Editor, among other components.
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;
@@ -83,6 +83,7 @@ export declare class RecurrenceService {
83
83
  timezone: string;
84
84
  weekStart: number;
85
85
  start: Date;
86
+ minInterval: number;
86
87
  change: EventEmitter<string>;
87
88
  endRuleChange: EventEmitter<string>;
88
89
  frequencyChange: EventEmitter<any>;
@@ -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](slug:api_scheduler_editservice) that persists data to CRUD services such as OData.
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](slug:api_scheduler_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.
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`](#toc-events) observable publishes the current data when you subscribe, for example, by using an [async pipe](https://angular.io/api/common/AsyncPipe) ([more information](slug:editing_scheduler#connecting-custom-data-services)).
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`](slug:api_scheduler_editservice) of the Scheduler directly.
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](slug:custom_reactive_editing_scheduler).
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`]({% slug api_scheduler_schedulerevent %}) fields.
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`](#toc-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](slug:editing_scheduler#connecting-custom-data-services)
9
- * * [`BaseEditService`](slug:api_scheduler_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](slug:editing_scheduler)).
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.
@@ -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]({% slug restrictions_scheduler %})).
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
  /**