@progress/kendo-angular-scheduler 22.1.0-develop.9 → 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 +187 -189
- package/package-metadata.mjs +2 -2
- package/package.json +17 -17
- package/pdf/pdf-command.directive.d.ts +3 -3
- package/pdf/pdf.component.d.ts +1 -1
- package/scheduler.component.d.ts +10 -10
- 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
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1770287107,
|
|
11
|
+
"version": "23.0.0-develop.1",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0-develop.1",
|
|
4
4
|
"description": "Kendo UI Scheduler Angular - Outlook or Google-style angular scheduler calendar. Full-featured and customizable embedded scheduling from the creator developers trust for professional UI components.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1770287107,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -29,26 +29,26 @@
|
|
|
29
29
|
"@angular/core": "19 - 21",
|
|
30
30
|
"@angular/forms": "19 - 21",
|
|
31
31
|
"@angular/platform-browser": "19 - 21",
|
|
32
|
-
"@progress/kendo-data-query": "^1.
|
|
33
|
-
"@progress/kendo-drawing": "^1.
|
|
32
|
+
"@progress/kendo-data-query": "^1.7.3",
|
|
33
|
+
"@progress/kendo-drawing": "^1.24.0",
|
|
34
34
|
"@progress/kendo-licensing": "^1.10.0",
|
|
35
|
-
"@progress/kendo-angular-tooltip": "
|
|
36
|
-
"@progress/kendo-angular-buttons": "
|
|
37
|
-
"@progress/kendo-angular-common": "
|
|
38
|
-
"@progress/kendo-angular-dateinputs": "
|
|
39
|
-
"@progress/kendo-angular-dialog": "
|
|
40
|
-
"@progress/kendo-angular-dropdowns": "
|
|
41
|
-
"@progress/kendo-angular-icons": "
|
|
42
|
-
"@progress/kendo-angular-inputs": "
|
|
43
|
-
"@progress/kendo-angular-intl": "
|
|
44
|
-
"@progress/kendo-angular-l10n": "
|
|
45
|
-
"@progress/kendo-angular-label": "
|
|
46
|
-
"@progress/kendo-angular-popup": "
|
|
35
|
+
"@progress/kendo-angular-tooltip": "23.0.0-develop.1",
|
|
36
|
+
"@progress/kendo-angular-buttons": "23.0.0-develop.1",
|
|
37
|
+
"@progress/kendo-angular-common": "23.0.0-develop.1",
|
|
38
|
+
"@progress/kendo-angular-dateinputs": "23.0.0-develop.1",
|
|
39
|
+
"@progress/kendo-angular-dialog": "23.0.0-develop.1",
|
|
40
|
+
"@progress/kendo-angular-dropdowns": "23.0.0-develop.1",
|
|
41
|
+
"@progress/kendo-angular-icons": "23.0.0-develop.1",
|
|
42
|
+
"@progress/kendo-angular-inputs": "23.0.0-develop.1",
|
|
43
|
+
"@progress/kendo-angular-intl": "23.0.0-develop.1",
|
|
44
|
+
"@progress/kendo-angular-l10n": "23.0.0-develop.1",
|
|
45
|
+
"@progress/kendo-angular-label": "23.0.0-develop.1",
|
|
46
|
+
"@progress/kendo-angular-popup": "23.0.0-develop.1",
|
|
47
47
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"tslib": "^2.3.1",
|
|
51
|
-
"@progress/kendo-angular-schematics": "
|
|
51
|
+
"@progress/kendo-angular-schematics": "23.0.0-develop.1",
|
|
52
52
|
"@progress/kendo-date-math": "^1.3.2",
|
|
53
53
|
"@progress/kendo-draggable": "^3.0.2",
|
|
54
54
|
"@progress/kendo-file-saver": "^1.0.7",
|
|
@@ -10,9 +10,9 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents the `export-to-PDF` command for the Scheduler.
|
|
12
12
|
*
|
|
13
|
-
* You can apply this directive to any `button` element inside a [`ToolbarTemplate`](
|
|
14
|
-
* When a user clicks a button associated with this directive, the [`pdfExport`](
|
|
15
|
-
* ([see example](
|
|
13
|
+
* You can apply this directive to any `button` element inside a [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar).
|
|
14
|
+
* When a user clicks a button associated with this directive, the [`pdfExport`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#pdfexport) event fires
|
|
15
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/pdf-export)).
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html
|
package/pdf/pdf.component.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { pdf } from '@progress/kendo-drawing';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Configures the settings for exporting the Scheduler to PDF
|
|
11
|
-
* ([see example](
|
|
11
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/pdf-export)).
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```html
|
package/scheduler.component.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ import { SlotDragEvent } from './events/slot-drag-event';
|
|
|
46
46
|
import { SlotDragEndEvent } from './events/slot-drag-end-event';
|
|
47
47
|
import * as i0 from "@angular/core";
|
|
48
48
|
/**
|
|
49
|
-
* Represents the [Kendo UI Scheduler component for Angular](
|
|
49
|
+
* Represents the [Kendo UI Scheduler component for Angular](https://www.telerik.com/kendo-angular-ui/components/scheduler).
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* ```html
|
|
@@ -94,8 +94,8 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
94
94
|
*/
|
|
95
95
|
editable: boolean | EditableSettings;
|
|
96
96
|
/**
|
|
97
|
-
* Specifies whether the Scheduler's day or time slots are selectable ([see example](
|
|
98
|
-
* When set to `true`, the Scheduler emits [`slotDragStart`](
|
|
97
|
+
* Specifies whether the Scheduler's day or time slots are selectable ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/slot-selection#custom-callback)).
|
|
98
|
+
* When set to `true`, the Scheduler emits [`slotDragStart`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#slotdragstart), [`slotDrag`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#slotdrag), and [`slotDragEnd`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#slotdragend) events on user interaction.
|
|
99
99
|
* @default false
|
|
100
100
|
*/
|
|
101
101
|
selectable: boolean;
|
|
@@ -208,8 +208,8 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
208
208
|
/**
|
|
209
209
|
* Sets the array of event instances shown by the Scheduler.
|
|
210
210
|
*
|
|
211
|
-
* Provide an array of [`SchedulerEvent`](
|
|
212
|
-
* To bind data from custom object schemas, configure the [`modelFields`](
|
|
211
|
+
* Provide an array of [`SchedulerEvent`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerevent) objects to display events in the Scheduler.
|
|
212
|
+
* To bind data from custom object schemas, configure the [`modelFields`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#modelfields) property to map your custom fields to the Scheduler event fields.
|
|
213
213
|
*/
|
|
214
214
|
set events(value: any[]);
|
|
215
215
|
get events(): any[];
|
|
@@ -219,9 +219,9 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
219
219
|
set selectedDate(value: Date);
|
|
220
220
|
get selectedDate(): Date;
|
|
221
221
|
/**
|
|
222
|
-
* Sets the names of the model fields from which the Scheduler reads its data ([see example])(
|
|
222
|
+
* Sets the names of the model fields from which the Scheduler reads its data ([see example])(https://www.telerik.com/kendo-angular-ui/components/scheduler/data-binding#binding-to-custom-object-schemas).
|
|
223
223
|
*
|
|
224
|
-
* Use `modelFields` when you want to bind custom event objects with property names that differ from the default [`SchedulerEvent`](
|
|
224
|
+
* Use `modelFields` when you want to bind custom event objects with property names that differ from the default [`SchedulerEvent`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerevent) fields. This lets you map your data to the Scheduler's expected fields.
|
|
225
225
|
*/
|
|
226
226
|
set modelFields(value: SchedulerModelFields);
|
|
227
227
|
get modelFields(): SchedulerModelFields;
|
|
@@ -294,7 +294,7 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
294
294
|
*/
|
|
295
295
|
slotDblClick: EventEmitter<SlotClickEvent>;
|
|
296
296
|
/**
|
|
297
|
-
* Emits when the user creates a new event using the `'c'` key ([see example](
|
|
297
|
+
* Emits when the user creates a new event using the `'c'` key ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/keyboard-navigation)).
|
|
298
298
|
*/
|
|
299
299
|
create: EventEmitter<CreateEvent>;
|
|
300
300
|
/**
|
|
@@ -568,7 +568,7 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
568
568
|
/**
|
|
569
569
|
* Focuses the next event or an event at a specified relative position.
|
|
570
570
|
* The `options` parameter can be used to set a positive or negative offset
|
|
571
|
-
* that is relative to the currently focused event ([see example](
|
|
571
|
+
* that is relative to the currently focused event ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/keyboard-navigation#event-navigation-with-the-tab-key)).
|
|
572
572
|
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
573
573
|
*
|
|
574
574
|
* @param position The relative position of the event to focus.
|
|
@@ -578,7 +578,7 @@ export declare class SchedulerComponent implements AfterContentInit, OnDestroy,
|
|
|
578
578
|
/**
|
|
579
579
|
* Focuses the previous event or an event at a specified relative position.
|
|
580
580
|
* The `options` parameter can be used to set a positive or negative offset
|
|
581
|
-
* that is relative to the currently focused event ([see example](
|
|
581
|
+
* that is relative to the currently focused event ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/keyboard-navigation#event-navigation-with-the-tab-key)).
|
|
582
582
|
* A `nowrap` flag toggles the wrapping to the first or to the last item.
|
|
583
583
|
*
|
|
584
584
|
* @param position The relative position of the event to focus.
|
|
@@ -9,10 +9,10 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'SchedulerModule', package: 'scheduler', peerDependencies: {
|
|
11
11
|
// peer deps of the dropdowns
|
|
12
|
-
'@progress/kendo-angular-treeview': '
|
|
13
|
-
'@progress/kendo-angular-navigation': '
|
|
12
|
+
'@progress/kendo-angular-treeview': '23.0.0-develop.1',
|
|
13
|
+
'@progress/kendo-angular-navigation': '23.0.0-develop.1',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '
|
|
15
|
+
'@progress/kendo-angular-dialog': '23.0.0-develop.1',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
18
18
|
} });
|
|
@@ -21,9 +21,9 @@ interface DateRangeText {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* A toolbar component that contains controls for date navigation
|
|
24
|
-
* ([see example](
|
|
24
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar#including-the-built-in-components)).
|
|
25
25
|
*
|
|
26
|
-
* To render the **Previous**, **Today**, **Next**, and **Date picker** buttons, include this component in the [toolbar template](
|
|
26
|
+
* To render the **Previous**, **Today**, **Next**, and **Date picker** buttons, include this component in the [toolbar template](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/toolbartemplatedirective).
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* ```html
|
|
@@ -57,13 +57,13 @@ export declare class ToolbarNavigationComponent implements OnDestroy {
|
|
|
57
57
|
*/
|
|
58
58
|
get todayText(): string;
|
|
59
59
|
/**
|
|
60
|
-
* Sets the [`activeView`](
|
|
60
|
+
* Sets the [`activeView`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/calendarcomponent#activeview) of the Calendar in the navigation component.
|
|
61
61
|
*
|
|
62
62
|
* @default month
|
|
63
63
|
*/
|
|
64
64
|
activeView: CalendarView;
|
|
65
65
|
/**
|
|
66
|
-
* Sets the [`bottomView`](
|
|
66
|
+
* Sets the [`bottomView`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/calendarcomponent#bottomview) of the Calendar in the navigation component.
|
|
67
67
|
*
|
|
68
68
|
* @default month
|
|
69
69
|
*/
|
|
@@ -6,7 +6,7 @@ import { Observable } from 'rxjs';
|
|
|
6
6
|
import { DateRange, SchedulerView } from '../types';
|
|
7
7
|
/**
|
|
8
8
|
* Contains the context for the built-in toolbar components
|
|
9
|
-
* ([see example](
|
|
9
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar#setting-the-template-context)).
|
|
10
10
|
*
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
* Represents the toolbar template of the Scheduler. To define a toolbar template, nest an `<ng-template kendoSchedulerToolbarTemplate>` tag inside the `<kendo-scheduler>`. For more information and examples, see [customizing the toolbar](
|
|
8
|
+
* Represents the toolbar template of the Scheduler. To define a toolbar template, nest an `<ng-template kendoSchedulerToolbarTemplate>` tag inside the `<kendo-scheduler>`. For more information and examples, see [customizing the toolbar](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar) article.
|
|
9
9
|
*
|
|
10
10
|
* The template context provides the following variables:
|
|
11
11
|
* * `selectedDate`—The currently selected date.
|
|
12
|
-
* * `dateRange`—The currently selected [`DateRange`](
|
|
13
|
-
* * `views`—An array of [`SchedulerView`](
|
|
14
|
-
* * `selectedView`—The currently selected [`SchedulerView`](
|
|
12
|
+
* * `dateRange`—The currently selected [`DateRange`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/daterange).
|
|
13
|
+
* * `views`—An array of [`SchedulerView`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerview) instances with the available views.
|
|
14
|
+
* * `selectedView`—The currently selected [`SchedulerView`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerview).
|
|
15
15
|
*
|
|
16
16
|
* You can declare either of the following built-in navigation components in the toolbar template:
|
|
17
17
|
* * `kendoSchedulerToolbarNavigation`—Renders navigation buttons, a calendar, and a date-range label.
|
|
18
18
|
* * `kendoSchedulerToolbarViewSelector`—Renders the buttons for selecting the view.
|
|
19
19
|
*
|
|
20
|
-
* To emit navigation events, components inside the toolbar can inject the [`ToolbarService`](
|
|
20
|
+
* To emit navigation events, components inside the toolbar can inject the [`ToolbarService`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/toolbarservice).
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* ```html
|
|
@@ -8,7 +8,7 @@ import { ToolbarContext } from './toolbar-context';
|
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
10
|
* Represents a service for communication with toolbar controls. Toolbar components use this service to publish navigation actions
|
|
11
|
-
* ([see example](
|
|
11
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar#using-the-toolbar-service)).
|
|
12
12
|
*/
|
|
13
13
|
export declare class ToolbarService {
|
|
14
14
|
/**
|
|
@@ -10,9 +10,9 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
/**
|
|
12
12
|
* A toolbar component that contains controls for switching views
|
|
13
|
-
* ([see example](
|
|
13
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar#including-the-built-in-components)).
|
|
14
14
|
*
|
|
15
|
-
* To render the view-selection buttons, include this component in the [toolbar template](
|
|
15
|
+
* To render the view-selection buttons, include this component in the [toolbar template](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/toolbartemplatedirective).
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```html
|
|
@@ -27,7 +27,7 @@ export declare class ToolbarViewSelectorComponent implements OnDestroy {
|
|
|
27
27
|
private service;
|
|
28
28
|
private localization;
|
|
29
29
|
/**
|
|
30
|
-
* Sets the current width of the Toolbar in pixels for responsive calculations. Use the [`schedulerResize`](
|
|
30
|
+
* Sets the current width of the Toolbar in pixels for responsive calculations. Use the [`schedulerResize`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#schedulerresize) event to get the Toolbar width.
|
|
31
31
|
*/
|
|
32
32
|
toolbarWidth: number;
|
|
33
33
|
/**
|
package/types/actions.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { SchedulerView } from './scheduler-view';
|
|
6
6
|
/**
|
|
7
7
|
* Represents an action that switches the current view to the next period
|
|
8
|
-
* ([more information and examples](
|
|
8
|
+
* ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar)).
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```typescript
|
|
@@ -20,7 +20,7 @@ export interface Next {
|
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Represents an action that switches the current view to the previous period
|
|
23
|
-
* ([more information](
|
|
23
|
+
* ([more information](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/navigationaction)).
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* ```typescript
|
|
@@ -35,7 +35,7 @@ export interface Prev {
|
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* Represents an action that switches the current view to today's date
|
|
38
|
-
* [more information](
|
|
38
|
+
* [more information](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/navigationaction).
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* ```typescript
|
|
@@ -50,7 +50,7 @@ export interface Today {
|
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Represents an action that switches the current view to a specific date
|
|
53
|
-
* ([more information](
|
|
53
|
+
* ([more information](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/navigationaction)).
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* ```typescript
|
|
@@ -70,7 +70,7 @@ export interface SelectDate {
|
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* Represents an action that changes the selected view to a specific instance
|
|
73
|
-
* ([more information and examples](
|
|
73
|
+
* ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar)).
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* ```typescript
|
|
@@ -153,6 +153,6 @@ export interface FocusToolbar {
|
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
155
|
* Represents a discriminated union of supported navigation actions
|
|
156
|
-
* ([more information and examples](
|
|
156
|
+
* ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar)).
|
|
157
157
|
*/
|
|
158
158
|
export type NavigationAction = Next | Prev | SelectDate | Today | ViewChange | ShowDate | ScrollTime | FocusPrev | FocusNext | ToggleBusinessHours | FocusToolbar;
|
|
@@ -10,7 +10,7 @@ import { Day } from '@progress/kendo-date-math';
|
|
|
10
10
|
export interface DatePickerOptions {
|
|
11
11
|
/**
|
|
12
12
|
* Defines the active view that the Calendar initially renders
|
|
13
|
-
* ([see example](
|
|
13
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/view-options#active-view).
|
|
14
14
|
* Always set the `activeView` within the range defined by `topView` and `bottomView`.
|
|
15
15
|
*
|
|
16
16
|
* @default 'month'
|
|
@@ -18,60 +18,60 @@ export interface DatePickerOptions {
|
|
|
18
18
|
activeView?: CalendarView;
|
|
19
19
|
/**
|
|
20
20
|
* Defines the bottommost Calendar view to which the user can navigate
|
|
21
|
-
* ([see example](
|
|
21
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/calendar-options#view-selection-depth)).
|
|
22
22
|
*/
|
|
23
23
|
bottomView?: CalendarView;
|
|
24
24
|
/**
|
|
25
25
|
* Determines whether the built-in validator for disabled
|
|
26
26
|
* date ranges is enforced when validating a form
|
|
27
|
-
* ([see example](
|
|
27
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/disabled-dates#using-a-function)).
|
|
28
28
|
*/
|
|
29
29
|
disabledDatesValidation?: boolean;
|
|
30
30
|
/**
|
|
31
31
|
* Sets the focused date of the Calendar component
|
|
32
|
-
* ([see example](
|
|
32
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/calendar-options#focused-dates)).
|
|
33
33
|
*/
|
|
34
34
|
focusedDate?: Date;
|
|
35
35
|
/**
|
|
36
36
|
* Sets the date format used to display the input value
|
|
37
|
-
* ([see example](
|
|
37
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/formats)).
|
|
38
38
|
*/
|
|
39
39
|
format?: string;
|
|
40
40
|
/**
|
|
41
41
|
* Defines the descriptions of the format sections in the input field
|
|
42
|
-
* ([more information and examples](
|
|
42
|
+
* ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/placeholders)).
|
|
43
43
|
*/
|
|
44
44
|
formatPlaceHolder?: DateInputFormatPlaceholder;
|
|
45
45
|
/**
|
|
46
46
|
* Sets the largest valid date
|
|
47
|
-
* ([see example](
|
|
47
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/date-ranges)).
|
|
48
48
|
*/
|
|
49
49
|
max?: Date;
|
|
50
50
|
/**
|
|
51
51
|
* Sets the smallest valid date
|
|
52
|
-
* ([see example](
|
|
52
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/date-ranges)).
|
|
53
53
|
*/
|
|
54
54
|
min?: Date;
|
|
55
55
|
/**
|
|
56
56
|
* Sets or gets the `navigation` property of the Calendar and determines if the navigation side-bar is displayed
|
|
57
|
-
* ([see example](
|
|
57
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/sidebar)).
|
|
58
58
|
*/
|
|
59
59
|
navigation?: boolean;
|
|
60
60
|
/**
|
|
61
61
|
* Specifies the hint the DatePicker displays when its value is `null`
|
|
62
|
-
* ([more information and examples](
|
|
62
|
+
* ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/placeholders)).
|
|
63
63
|
*/
|
|
64
64
|
placeholder?: string;
|
|
65
65
|
/**
|
|
66
66
|
* Sets the read-only state of the DatePicker input field
|
|
67
|
-
* ([see example](
|
|
67
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/readonly-state#read-only-input)).
|
|
68
68
|
*
|
|
69
|
-
* If [`readonly`](
|
|
69
|
+
* If [`readonly`](https://www.telerik.com/kendo-angular-ui/components/dateinputs/api/datepickercomponent#readonly) is `true`, the input appears in a read-only state, regardless of the `readOnlyInput` value.
|
|
70
70
|
*/
|
|
71
71
|
readOnlyInput?: boolean;
|
|
72
72
|
/**
|
|
73
73
|
* Sets the read-only state of the DatePicker
|
|
74
|
-
* ([see example](
|
|
74
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/readonly-state#read-only-datepicker)).
|
|
75
75
|
*/
|
|
76
76
|
readonly?: boolean;
|
|
77
77
|
/**
|
|
@@ -80,17 +80,17 @@ export interface DatePickerOptions {
|
|
|
80
80
|
title?: string;
|
|
81
81
|
/**
|
|
82
82
|
* Defines the topmost Calendar view to which the user can navigate
|
|
83
|
-
* ([see example](
|
|
83
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/calendar/view-depth)).
|
|
84
84
|
*/
|
|
85
85
|
topView?: CalendarView;
|
|
86
86
|
/**
|
|
87
87
|
* Determines if the week number column is displayed in the `month` view of the Calendar
|
|
88
|
-
* ([see example](
|
|
88
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/calendar-options#week-number-column)).
|
|
89
89
|
*/
|
|
90
90
|
weekNumber?: boolean;
|
|
91
91
|
/**
|
|
92
92
|
* Sets the dates of the DatePicker that are disabled
|
|
93
|
-
* ([see example](
|
|
93
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/dateinputs/datepicker/disabled-dates)).
|
|
94
94
|
*/
|
|
95
95
|
disabledDates?: ((date: Date) => boolean) | Date[] | Day[];
|
|
96
96
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { FormGroup } from '@angular/forms';
|
|
6
6
|
import { EditMode } from '../types';
|
|
7
7
|
/**
|
|
8
|
-
* Defines the options for the [`editEvent`](
|
|
8
|
+
* Defines the options for the [`editEvent`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#editevent) method of the Scheduler.
|
|
9
9
|
*/
|
|
10
10
|
export interface EditEventArgs {
|
|
11
11
|
/**
|
|
@@ -19,11 +19,11 @@ export interface EditableSettings {
|
|
|
19
19
|
*/
|
|
20
20
|
resize: boolean;
|
|
21
21
|
/**
|
|
22
|
-
* Specifies if the user can add new events on [`slotDblClick`](
|
|
22
|
+
* Specifies if the user can add new events on [`slotDblClick`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#slotdblclick) when using the editing directives.
|
|
23
23
|
*/
|
|
24
24
|
add: boolean;
|
|
25
25
|
/**
|
|
26
|
-
* Specifies if the user can edit events on [`eventDblClick`](
|
|
26
|
+
* Specifies if the user can edit events on [`eventDblClick`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#eventdblclick) when using the editing directives.
|
|
27
27
|
*/
|
|
28
28
|
edit: boolean;
|
|
29
29
|
}
|
|
@@ -9,22 +9,22 @@ import { NumberFormatOptions } from '@progress/kendo-angular-intl';
|
|
|
9
9
|
export interface NumericTextBoxOptions {
|
|
10
10
|
/**
|
|
11
11
|
* Specifies if the value is auto-corrected based on the minimum and maximum values
|
|
12
|
-
* [see example](
|
|
12
|
+
* [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision).
|
|
13
13
|
*/
|
|
14
14
|
autoCorrect?: boolean;
|
|
15
15
|
/**
|
|
16
16
|
* Sets the greatest valid value
|
|
17
|
-
* [see example](
|
|
17
|
+
* [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision#value-ranges).
|
|
18
18
|
*/
|
|
19
19
|
max?: number;
|
|
20
20
|
/**
|
|
21
21
|
* Sets the smallest valid value
|
|
22
|
-
* [see example](
|
|
22
|
+
* [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision#value-ranges).
|
|
23
23
|
*/
|
|
24
24
|
min?: number;
|
|
25
25
|
/**
|
|
26
26
|
* Specifies if the NumericTextBox is in a read-only state
|
|
27
|
-
* [see example](
|
|
27
|
+
* [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/readonly-state).
|
|
28
28
|
*/
|
|
29
29
|
readonly?: boolean;
|
|
30
30
|
/**
|
|
@@ -35,12 +35,12 @@ export interface NumericTextBoxOptions {
|
|
|
35
35
|
selectOnFocus?: boolean;
|
|
36
36
|
/**
|
|
37
37
|
* Specifies if the **Up** and **Down** spin buttons are rendered
|
|
38
|
-
* [see example](
|
|
38
|
+
* [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/spin-buttons).
|
|
39
39
|
*/
|
|
40
40
|
spinners?: boolean;
|
|
41
41
|
/**
|
|
42
42
|
* Sets the value used to increment or decrement the component value
|
|
43
|
-
* [see example](
|
|
43
|
+
* [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/predefined-step).
|
|
44
44
|
*/
|
|
45
45
|
step?: number;
|
|
46
46
|
/**
|
|
@@ -49,7 +49,7 @@ export interface NumericTextBoxOptions {
|
|
|
49
49
|
title?: string;
|
|
50
50
|
/**
|
|
51
51
|
* Sets the number format used when the NumericTextBox is not focused
|
|
52
|
-
* [see example](
|
|
52
|
+
* [see example](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/formats).
|
|
53
53
|
*
|
|
54
54
|
* If `format` is `null` or `undefined`, the default format is used.
|
|
55
55
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
export type SlotSelectionCallback = (args: IsSlotSelectedArgs) => boolean;
|
|
12
12
|
/**
|
|
13
|
-
* The arguments for the [`isSlotSelected`](
|
|
13
|
+
* The arguments for the [`isSlotSelected`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#isslotselected) callback.
|
|
14
14
|
*/
|
|
15
15
|
export declare class IsSlotSelectedArgs implements SlotRange {
|
|
16
16
|
/**
|
|
@@ -32,7 +32,7 @@ export declare class IsSlotSelectedArgs implements SlotRange {
|
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Defines a range of regular or all-day slots.
|
|
35
|
-
* Used to describe the selected slots in the [`slotSelectionChange`](
|
|
35
|
+
* Used to describe the selected slots in the [`slotSelectionChange`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/slotselectabledirective#slotselectionchange) event and to set the selected slots with the [`kendoSchedulerSlotSelectable`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/slotselectabledirective) directive.
|
|
36
36
|
*/
|
|
37
37
|
export interface SlotRange {
|
|
38
38
|
/**
|
|
@@ -27,14 +27,14 @@ export declare class AgendaViewComponent extends ConfigurationViewBase {
|
|
|
27
27
|
/**
|
|
28
28
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
29
29
|
* Defaults to `'{0:D} - {1:D}'`, where `0` is the start and `1` is the end date.
|
|
30
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
30
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
31
31
|
* @default '{0:D} - {1:D}'
|
|
32
32
|
*/
|
|
33
33
|
selectedDateFormat: string;
|
|
34
34
|
/**
|
|
35
35
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
36
36
|
* Defaults to `'{0:d} - {1:d}'`, where `0` is the start and `1` is the end date.
|
|
37
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
37
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
38
38
|
* @default '{0:d} - {1:d}'
|
|
39
39
|
*/
|
|
40
40
|
selectedShortDateFormat: string;
|
|
@@ -29,7 +29,7 @@ export declare abstract class ConfigurationViewBase extends SchedulerView implem
|
|
|
29
29
|
get hiddenDays(): Day[];
|
|
30
30
|
/**
|
|
31
31
|
* Defines a function that is executed for every slot in the view.
|
|
32
|
-
* The function returns a value which is supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']) [see example](
|
|
32
|
+
* The function returns a value which is supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']) [see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/styling#slot-styling).
|
|
33
33
|
*/
|
|
34
34
|
slotClass: (args: SlotClassArgs) => any;
|
|
35
35
|
/**
|
|
@@ -31,7 +31,7 @@ export declare class MonthViewComponent extends ConfigurationViewBase implements
|
|
|
31
31
|
get title(): string;
|
|
32
32
|
/**
|
|
33
33
|
* Sets the number of events to render per day. If set to `'auto'`, all events display in the slot. If set to `0`, it normalizes to `1`
|
|
34
|
-
* ([see example](
|
|
34
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/month#setting-the-number-of-events-per-day)).
|
|
35
35
|
* > When set to `'auto'`, it automatically sets the `adaptiveSlotHeight` property to `true`.
|
|
36
36
|
* @default 2
|
|
37
37
|
*/
|
|
@@ -40,25 +40,25 @@ export declare class MonthViewComponent extends ConfigurationViewBase implements
|
|
|
40
40
|
private _eventsPerDay;
|
|
41
41
|
/**
|
|
42
42
|
* Sets the height of the rendered events. If set to `'auto'`, the height is based on the event content
|
|
43
|
-
* ([see example](
|
|
43
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/month#configuring-the-height-of-the-scheduler-events)).
|
|
44
44
|
* > When set to `'auto'`, it automatically sets the `adaptiveSlotHeight` property to `true`.
|
|
45
45
|
*/
|
|
46
46
|
eventHeight: number | 'auto';
|
|
47
47
|
/**
|
|
48
48
|
* Enables adaptive slot height in the Scheduler. Increases the slot group (row) height when containing events up to the number of displayed events and reduces its height if there are fewer events for that slot group (row)
|
|
49
|
-
* ([see example](
|
|
49
|
+
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/views/month#enabling-the-adaptive-slot-height-of-the-scheduler)).
|
|
50
50
|
* @default false
|
|
51
51
|
*/
|
|
52
52
|
adaptiveSlotHeight: boolean;
|
|
53
53
|
/**
|
|
54
54
|
* Sets the long-date format for the selected date in the Scheduler toolbar.
|
|
55
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
55
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
56
56
|
* @default '{0:Y}'
|
|
57
57
|
*/
|
|
58
58
|
selectedDateFormat: string;
|
|
59
59
|
/**
|
|
60
60
|
* Sets the short-date format for the selected date in the Scheduler toolbar.
|
|
61
|
-
* For more information, see [Parsing and Formatting Dates and Numbers](
|
|
61
|
+
* For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
|
|
62
62
|
* @default '{0:y}'
|
|
63
63
|
*/
|
|
64
64
|
selectedShortDateFormat: string;
|