@progress/kendo-angular-scheduler 16.5.0 → 16.6.0-develop.10
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/NOTICE.txt +12 -19
- package/data-binding.directive.d.ts +1 -1
- package/directives.d.ts +50 -0
- package/editing/date-time-picker.component.d.ts +1 -1
- package/editing/edit-dialog-template.directive.d.ts +1 -1
- package/editing/edit-dialog.component.d.ts +1 -1
- package/editing/recurrence/end-rule-radio-button.directive.d.ts +1 -1
- package/editing/recurrence/localization/custom-messages.component.d.ts +1 -1
- package/editing/recurrence/localization/localized-messages.directive.d.ts +1 -1
- package/editing/recurrence/recurrence-editor.component.d.ts +2 -2
- package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-frequency-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-interval-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +1 -1
- package/editing/recurrence/recurrence-weekday-rule-editor.component.d.ts +1 -1
- package/editing/recurrence/repeat-on-radio-button.directive.d.ts +1 -1
- package/editing/resource-multiple-editor.component.d.ts +1 -1
- package/editing/resource-single-editor.component.d.ts +1 -1
- package/editing/timezone-editor.component.d.ts +1 -1
- package/editing-directives/base-edit.service.d.ts +1 -1
- package/editing-directives/reactive-editing.directive.d.ts +1 -1
- package/esm2020/data-binding.directive.mjs +3 -2
- package/esm2020/directives.mjs +96 -0
- package/esm2020/editing/date-time-picker.component.mjs +9 -8
- package/esm2020/editing/edit-dialog-template.directive.mjs +3 -2
- package/esm2020/editing/edit-dialog.component.mjs +15 -15
- package/esm2020/editing/edit.service.mjs +5 -2
- package/esm2020/editing/recurrence/end-rule-radio-button.directive.mjs +3 -2
- package/esm2020/editing/recurrence/localization/custom-messages.component.mjs +3 -2
- package/esm2020/editing/recurrence/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/editing/recurrence/recurrence-editor.component.mjs +13 -11
- package/esm2020/editing/recurrence/recurrence-end-rule-editor.component.mjs +8 -7
- package/esm2020/editing/recurrence/recurrence-frequency-editor.component.mjs +8 -7
- package/esm2020/editing/recurrence/recurrence-interval-editor.component.mjs +7 -5
- package/esm2020/editing/recurrence/recurrence-monthly-yearly-editor.component.mjs +9 -8
- package/esm2020/editing/recurrence/recurrence-weekday-rule-editor.component.mjs +8 -7
- package/esm2020/editing/recurrence/repeat-on-radio-button.directive.mjs +3 -2
- package/esm2020/editing/resource-multiple-editor.component.mjs +7 -6
- package/esm2020/editing/resource-single-editor.component.mjs +7 -6
- package/esm2020/editing/timezone-editor.component.mjs +8 -7
- package/esm2020/editing-directives/base-edit.service.mjs +1 -1
- package/esm2020/editing-directives/reactive-editing.directive.mjs +3 -2
- package/esm2020/index.mjs +1 -0
- package/esm2020/loading.component.mjs +3 -2
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/navigation/focusable.directive.mjs +3 -2
- package/esm2020/navigation/shortcuts.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pdf/pdf-command.directive.mjs +7 -5
- package/esm2020/pdf/pdf.component.mjs +3 -2
- package/esm2020/pdf/pdf.module.mjs +10 -14
- package/esm2020/scheduler.component.mjs +10 -11
- package/esm2020/scheduler.module.mjs +107 -243
- package/esm2020/shared.module.mjs +5 -2
- package/esm2020/toolbar/navigation.component.mjs +9 -8
- package/esm2020/toolbar/toolbar-template.directive.mjs +3 -2
- package/esm2020/toolbar/toolbar.component.mjs +9 -7
- package/esm2020/toolbar/toolbar.service.mjs +5 -2
- package/esm2020/toolbar/view-selector.component.mjs +8 -6
- package/esm2020/views/agenda/agenda-header-item.component.mjs +7 -5
- package/esm2020/views/agenda/agenda-header.component.mjs +6 -4
- package/esm2020/views/agenda/agenda-task-item.component.mjs +7 -5
- package/esm2020/views/agenda/agenda-view-internal.component.mjs +8 -6
- package/esm2020/views/agenda/agenda-view-list.component.mjs +10 -8
- package/esm2020/views/agenda/agenda-view.component.mjs +6 -4
- package/esm2020/views/common/hint-container.component.mjs +6 -4
- package/esm2020/views/common/repeat.pipe.mjs +3 -2
- package/esm2020/views/common/resize-hint.component.mjs +7 -5
- package/esm2020/views/common/resource-iterator.pipe.mjs +3 -2
- package/esm2020/views/common/slot-selectable.directive.mjs +3 -2
- package/esm2020/views/common/view-footer.component.mjs +8 -6
- package/esm2020/views/common/views-shared.module.mjs +22 -25
- package/esm2020/views/common/work-hours-footer.directive.mjs +3 -2
- package/esm2020/views/day-time/day-time-view-item.component.mjs +7 -5
- package/esm2020/views/day-time/day-time.module.mjs +18 -12
- package/esm2020/views/day-time/event-slot.directive.mjs +6 -4
- package/esm2020/views/month/month-slot.component.mjs +8 -6
- package/esm2020/views/month/month-view-item.component.mjs +7 -5
- package/esm2020/views/month/month-view-renderer.component.mjs +13 -12
- package/esm2020/views/month/month-view.component.mjs +6 -4
- package/esm2020/views/month/month-view.module.mjs +20 -21
- package/esm2020/views/month/multi-week-view.component.mjs +6 -4
- package/esm2020/views/multi-day/day-view.component.mjs +8 -6
- package/esm2020/views/multi-day/multi-day-view-renderer.component.mjs +12 -11
- package/esm2020/views/multi-day/multi-day-view.component.mjs +8 -6
- package/esm2020/views/multi-day/multi-day-view.module.mjs +19 -18
- package/esm2020/views/multi-day/week-view.component.mjs +8 -6
- package/esm2020/views/multi-day/work-week-view.component.mjs +8 -6
- package/esm2020/views/scheduler-view.directive.mjs +3 -2
- package/esm2020/views/templates/agenda-date-template.directive.mjs +3 -2
- package/esm2020/views/templates/agenda-time-template.directive.mjs +3 -2
- package/esm2020/views/templates/all-day-event-template.directive.mjs +3 -2
- package/esm2020/views/templates/all-day-slot-template.directive.mjs +3 -2
- package/esm2020/views/templates/date-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/event-template.directive.mjs +3 -2
- package/esm2020/views/templates/group-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/major-time-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/minor-time-header-template.directive.mjs +3 -2
- package/esm2020/views/templates/month-day-slot-template.directive.mjs +3 -2
- package/esm2020/views/templates/multi-week-day-slot-template.directive.mjs +3 -2
- package/esm2020/views/templates/time-slot-template.directive.mjs +3 -2
- package/esm2020/views/timeline/timeline-month-view.component.mjs +8 -6
- package/esm2020/views/timeline/timeline-multi-day-view.component.mjs +14 -13
- package/esm2020/views/timeline/timeline-view.component.mjs +8 -6
- package/esm2020/views/timeline/timeline-view.module.mjs +19 -18
- package/esm2020/views/timeline/timeline-week-view.component.mjs +8 -6
- package/esm2020/views/timeline/utils.mjs +3 -2
- package/esm2020/views/view-context.service.mjs +5 -2
- package/esm2020/views/view-state.service.mjs +5 -2
- package/esm2020/views/year/year-view-internal.component.mjs +7 -7
- package/esm2020/views/year/year-view.component.mjs +6 -4
- package/fesm2015/progress-kendo-angular-scheduler.mjs +6524 -6585
- package/fesm2020/progress-kendo-angular-scheduler.mjs +6317 -6378
- package/index.d.ts +1 -0
- package/loading.component.d.ts +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/navigation/focusable.directive.d.ts +1 -1
- package/navigation/shortcuts.directive.d.ts +1 -1
- package/package.json +14 -14
- package/pdf/pdf-command.directive.d.ts +1 -1
- package/pdf/pdf.component.d.ts +1 -1
- package/pdf/pdf.module.d.ts +1 -2
- package/scheduler.component.d.ts +1 -1
- package/scheduler.module.d.ts +38 -58
- package/schematics/ngAdd/index.js +3 -3
- package/shared.module.d.ts +4 -1
- package/toolbar/navigation.component.d.ts +1 -1
- package/toolbar/toolbar-template.directive.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +1 -1
- package/types/slot-selection.d.ts +1 -1
- package/views/agenda/agenda-header-item.component.d.ts +1 -1
- package/views/agenda/agenda-header.component.d.ts +1 -1
- package/views/agenda/agenda-task-item.component.d.ts +1 -1
- package/views/agenda/agenda-view-internal.component.d.ts +1 -1
- package/views/agenda/agenda-view-list.component.d.ts +1 -1
- package/views/agenda/agenda-view.component.d.ts +1 -1
- package/views/common/configuration-view-base.d.ts +1 -3
- package/views/common/hint-container.component.d.ts +1 -1
- package/views/common/repeat.pipe.d.ts +1 -1
- package/views/common/resize-hint.component.d.ts +1 -1
- package/views/common/resource-iterator.pipe.d.ts +1 -1
- package/views/common/slot-selectable.directive.d.ts +1 -1
- package/views/common/view-footer.component.d.ts +1 -1
- package/views/common/views-shared.module.d.ts +4 -6
- package/views/common/work-hours-footer.directive.d.ts +1 -1
- package/views/day-time/day-time-view-item.component.d.ts +1 -1
- package/views/day-time/day-time.module.d.ts +4 -5
- package/views/day-time/event-slot.directive.d.ts +2 -2
- package/views/month/month-slot.component.d.ts +1 -1
- package/views/month/month-view-item.component.d.ts +1 -1
- package/views/month/month-view-renderer.component.d.ts +1 -1
- package/views/month/month-view.component.d.ts +1 -1
- package/views/month/month-view.module.d.ts +5 -7
- package/views/month/multi-week-view.component.d.ts +1 -1
- package/views/multi-day/day-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view-renderer.component.d.ts +1 -1
- package/views/multi-day/multi-day-view.component.d.ts +1 -1
- package/views/multi-day/multi-day-view.module.d.ts +4 -4
- package/views/multi-day/week-view.component.d.ts +1 -1
- package/views/multi-day/work-week-view.component.d.ts +1 -1
- package/views/scheduler-view.directive.d.ts +1 -1
- 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 +1 -1
- package/views/timeline/timeline-multi-day-view.component.d.ts +1 -1
- package/views/timeline/timeline-view.component.d.ts +1 -1
- package/views/timeline/timeline-view.module.d.ts +4 -4
- package/views/timeline/timeline-week-view.component.d.ts +1 -1
- package/views/timeline/utils.d.ts +1 -1
- package/views/year/year-view-internal.component.d.ts +1 -1
- package/views/year/year-view.component.d.ts +1 -1
- package/esm2020/toolbar/toolbar.module.mjs +0 -71
- package/esm2020/views/agenda/agenda-view.module.mjs +0 -45
- package/esm2020/views/year/year-view.module.mjs +0 -45
- package/toolbar/toolbar.module.d.ts +0 -30
- package/views/agenda/agenda-view.module.d.ts +0 -23
- package/views/year/year-view.module.d.ts +0 -19
|
@@ -5,10 +5,9 @@
|
|
|
5
5
|
import { Component, forwardRef, ViewChild } from '@angular/core';
|
|
6
6
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
7
|
import { ResourceEditorBase } from './resource-editor-base';
|
|
8
|
-
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
8
|
+
import { DropDownListComponent, ItemTemplateDirective } from '@progress/kendo-angular-dropdowns';
|
|
9
|
+
import { NgIf, NgStyle } from '@angular/common';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
|
-
import * as i1 from "@angular/common";
|
|
11
|
-
import * as i2 from "@progress/kendo-angular-dropdowns";
|
|
12
11
|
/**
|
|
13
12
|
* @hidden
|
|
14
13
|
*/
|
|
@@ -26,7 +25,7 @@ export class SingleResourceEditorComponent extends ResourceEditorBase {
|
|
|
26
25
|
}
|
|
27
26
|
}
|
|
28
27
|
SingleResourceEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SingleResourceEditorComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
-
SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor", providers: [
|
|
28
|
+
SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SingleResourceEditorComponent, isStandalone: true, selector: "kendo-single-resource-editor", providers: [
|
|
30
29
|
SINGLE_RESOURCE_VALUE_ACCESSOR
|
|
31
30
|
], viewQueries: [{ propertyName: "resourceDropDown", first: true, predicate: ["resourceDropDown"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
|
32
31
|
<kendo-dropdownlist
|
|
@@ -44,7 +43,7 @@ SingleResourceEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
44
43
|
{{ getField(dataItem, resource.textField) }}
|
|
45
44
|
</ng-template>
|
|
46
45
|
</kendo-dropdownlist>
|
|
47
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
46
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
48
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SingleResourceEditorComponent, decorators: [{
|
|
49
48
|
type: Component,
|
|
50
49
|
args: [{
|
|
@@ -68,7 +67,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
68
67
|
{{ getField(dataItem, resource.textField) }}
|
|
69
68
|
</ng-template>
|
|
70
69
|
</kendo-dropdownlist>
|
|
71
|
-
|
|
70
|
+
`,
|
|
71
|
+
standalone: true,
|
|
72
|
+
imports: [DropDownListComponent, ItemTemplateDirective, NgIf, NgStyle]
|
|
72
73
|
}]
|
|
73
74
|
}], propDecorators: { resourceDropDown: [{
|
|
74
75
|
type: ViewChild,
|
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Injector, ViewChild } from '@angular/core';
|
|
6
6
|
import { Component, forwardRef, Input, EventEmitter, Output } from '@angular/core';
|
|
7
|
-
import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
|
|
7
|
+
import { NG_VALUE_ACCESSOR, NgControl, ReactiveFormsModule } from '@angular/forms';
|
|
8
8
|
import { timezoneNames } from '@progress/kendo-date-math';
|
|
9
9
|
import { ComboBoxComponent } from '@progress/kendo-angular-dropdowns';
|
|
10
|
+
import { NgIf } from '@angular/common';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
|
-
import * as i1 from "@angular/
|
|
12
|
-
import * as i2 from "@progress/kendo-angular-dropdowns";
|
|
13
|
-
import * as i3 from "@angular/forms";
|
|
12
|
+
import * as i1 from "@angular/forms";
|
|
14
13
|
/**
|
|
15
14
|
* @hidden
|
|
16
15
|
*/
|
|
@@ -96,7 +95,7 @@ export class TimeZoneEditorComponent {
|
|
|
96
95
|
}
|
|
97
96
|
}
|
|
98
97
|
TimeZoneEditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeZoneEditorComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
99
|
-
TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: { width: "width" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
98
|
+
TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimeZoneEditorComponent, isStandalone: true, selector: "kendo-timezone-editor", inputs: { width: "width" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
100
99
|
TIME_ZONE_VALUE_ACCESSOR
|
|
101
100
|
], viewQueries: [{ propertyName: "tzComboBox", first: true, predicate: ["tzcombobox"], descendants: true, static: true }, { propertyName: "tzComboBoxControl", first: true, predicate: ["tzcomboboxControl"], descendants: true, static: true }], ngImport: i0, template: `
|
|
102
101
|
<kendo-combobox
|
|
@@ -124,7 +123,7 @@ TimeZoneEditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
124
123
|
(filterChange)="onTimeZoneFilterChange($event)"
|
|
125
124
|
(valueChange)="onTimeZoneChange($event)">
|
|
126
125
|
</kendo-combobox>
|
|
127
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
126
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
128
127
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimeZoneEditorComponent, decorators: [{
|
|
129
128
|
type: Component,
|
|
130
129
|
args: [{
|
|
@@ -158,7 +157,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
158
157
|
(filterChange)="onTimeZoneFilterChange($event)"
|
|
159
158
|
(valueChange)="onTimeZoneChange($event)">
|
|
160
159
|
</kendo-combobox>
|
|
161
|
-
|
|
160
|
+
`,
|
|
161
|
+
standalone: true,
|
|
162
|
+
imports: [NgIf, ComboBoxComponent, ReactiveFormsModule]
|
|
162
163
|
}]
|
|
163
164
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { tzComboBox: [{
|
|
164
165
|
type: ViewChild,
|
|
@@ -21,7 +21,7 @@ const DATE_FORMATS = [
|
|
|
21
21
|
* A base implementation of the [edit service]({% slug api_scheduler_editservice %}) which persists data to traditional CRUD services such as OData.
|
|
22
22
|
*
|
|
23
23
|
* To support custom models, the `BaseEditService` class requires a [field map]({% slug api_scheduler_schedulermodelfields %}) as a constructor parameter. Subclasses require you to
|
|
24
|
-
* implement the `read` operation, which is not called directly by the base class, and the
|
|
24
|
+
* implement the `read` operation, which is not called directly by the base class, and the `save` method which persists the created,
|
|
25
25
|
* updated, and deleted entities.
|
|
26
26
|
*
|
|
27
27
|
* The [`events`](#toc-events) observable will publish the current data which is set upon subscription by using, for example, an [async pipe](https://angular.io/api/common/AsyncPipe)
|
|
@@ -99,11 +99,12 @@ export class ReactiveEditingDirective extends EditingDirectiveBase {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
ReactiveEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ReactiveEditingDirective, deps: [{ token: i1.SchedulerComponent }, { token: i2.LocalDataChangesService }, { token: i3.DialogsService }, { token: i4.FocusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
102
|
-
ReactiveEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ReactiveEditingDirective, selector: "[kendoSchedulerReactiveEditing]", inputs: { createFormGroup: ["kendoSchedulerReactiveEditing", "createFormGroup"] }, usesInheritance: true, ngImport: i0 });
|
|
102
|
+
ReactiveEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ReactiveEditingDirective, isStandalone: true, selector: "[kendoSchedulerReactiveEditing]", inputs: { createFormGroup: ["kendoSchedulerReactiveEditing", "createFormGroup"] }, usesInheritance: true, ngImport: i0 });
|
|
103
103
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ReactiveEditingDirective, decorators: [{
|
|
104
104
|
type: Directive,
|
|
105
105
|
args: [{
|
|
106
|
-
selector: '[kendoSchedulerReactiveEditing]'
|
|
106
|
+
selector: '[kendoSchedulerReactiveEditing]',
|
|
107
|
+
standalone: true
|
|
107
108
|
}]
|
|
108
109
|
}], ctorParameters: function () { return [{ type: i1.SchedulerComponent }, { type: i2.LocalDataChangesService }, { type: i3.DialogsService }, { type: i4.FocusService }]; }, propDecorators: { createFormGroup: [{
|
|
109
110
|
type: Input,
|
package/esm2020/index.mjs
CHANGED
|
@@ -22,7 +22,7 @@ export class LoadingComponent {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
LoadingComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LoadingComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
-
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: { loading: "loading" }, host: { properties: { "class.k-loading-mask": "this.hostClasses", "style.display": "this.display" } }, ngImport: i0, template: `
|
|
25
|
+
LoadingComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: LoadingComponent, isStandalone: true, selector: "[kendoSchedulerLoading]", inputs: { loading: "loading" }, host: { properties: { "class.k-loading-mask": "this.hostClasses", "style.display": "this.display" } }, ngImport: i0, template: `
|
|
26
26
|
<div class="k-loading-image"></div>
|
|
27
27
|
<div class="k-loading-color"></div>
|
|
28
28
|
`, isInline: true });
|
|
@@ -34,7 +34,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
34
34
|
template: `
|
|
35
35
|
<div class="k-loading-image"></div>
|
|
36
36
|
<div class="k-loading-color"></div>
|
|
37
|
-
|
|
37
|
+
`,
|
|
38
|
+
standalone: true
|
|
38
39
|
}]
|
|
39
40
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { hostClasses: [{
|
|
40
41
|
type: HostBinding,
|
|
@@ -20,7 +20,7 @@ export class SchedulerCustomMessagesComponent extends Messages {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
SchedulerCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23
|
-
SchedulerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SchedulerCustomMessagesComponent, selector: "kendo-scheduler-messages", providers: [
|
|
23
|
+
SchedulerCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SchedulerCustomMessagesComponent, isStandalone: true, selector: "kendo-scheduler-messages", providers: [
|
|
24
24
|
{
|
|
25
25
|
provide: Messages,
|
|
26
26
|
useExisting: forwardRef(() => SchedulerCustomMessagesComponent)
|
|
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
36
36
|
}
|
|
37
37
|
],
|
|
38
38
|
selector: 'kendo-scheduler-messages',
|
|
39
|
-
template:
|
|
39
|
+
template: ``,
|
|
40
|
+
standalone: true
|
|
40
41
|
}]
|
|
41
42
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -17,7 +17,7 @@ export class LocalizedMessagesDirective extends Messages {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]", providers: [
|
|
20
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoSchedulerLocalizedMessages]", providers: [
|
|
21
21
|
{
|
|
22
22
|
provide: Messages,
|
|
23
23
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
32
32
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
|
-
selector: '[kendoSchedulerLocalizedMessages]'
|
|
35
|
+
selector: '[kendoSchedulerLocalizedMessages]',
|
|
36
|
+
standalone: true
|
|
36
37
|
}]
|
|
37
38
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
|
@@ -79,11 +79,12 @@ export class FocusableDirective {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusableDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.FocusService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
82
|
-
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: { focusIndex: ["kendoSchedulerFocusIndex", "focusIndex"], containerType: "containerType" }, ngImport: i0 });
|
|
82
|
+
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FocusableDirective, isStandalone: true, selector: "[kendoSchedulerFocusIndex]", inputs: { focusIndex: ["kendoSchedulerFocusIndex", "focusIndex"], containerType: "containerType" }, ngImport: i0 });
|
|
83
83
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FocusableDirective, decorators: [{
|
|
84
84
|
type: Directive,
|
|
85
85
|
args: [{
|
|
86
|
-
selector: '[kendoSchedulerFocusIndex]'
|
|
86
|
+
selector: '[kendoSchedulerFocusIndex]',
|
|
87
|
+
standalone: true
|
|
87
88
|
}]
|
|
88
89
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.FocusService }]; }, propDecorators: { focusIndex: [{
|
|
89
90
|
type: Input,
|
|
@@ -188,10 +188,11 @@ export class ShortcutsDirective {
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
ShortcutsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ShortcutsDirective, deps: [{ token: i1.SchedulerComponent }, { token: i2.DomEventsService }, { token: i3.FocusService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i4.ViewStateService }, { token: i5.DialogsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
191
|
-
ShortcutsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ShortcutsDirective, selector: "kendo-scheduler", ngImport: i0 });
|
|
191
|
+
ShortcutsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ShortcutsDirective, isStandalone: true, selector: "kendo-scheduler", ngImport: i0 });
|
|
192
192
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ShortcutsDirective, decorators: [{
|
|
193
193
|
type: Directive,
|
|
194
194
|
args: [{
|
|
195
|
-
selector: 'kendo-scheduler'
|
|
195
|
+
selector: 'kendo-scheduler',
|
|
196
|
+
standalone: true
|
|
196
197
|
}]
|
|
197
198
|
}], ctorParameters: function () { return [{ type: i1.SchedulerComponent }, { type: i2.DomEventsService }, { type: i3.FocusService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i4.ViewStateService }, { type: i5.DialogsService }]; } });
|
|
@@ -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:
|
|
13
|
-
version: '16.
|
|
12
|
+
publishDate: 1722607218,
|
|
13
|
+
version: '16.6.0-develop.10',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -7,11 +7,11 @@ import { Button } from '@progress/kendo-angular-buttons';
|
|
|
7
7
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { PDFService } from './pdf.service';
|
|
9
9
|
import { filePdfIcon } from '@progress/kendo-svg-icons';
|
|
10
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
11
|
+
import { NgIf, NgClass } from '@angular/common';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
import * as i1 from "./pdf.service";
|
|
12
14
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
13
|
-
import * as i3 from "@angular/common";
|
|
14
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
15
15
|
/**
|
|
16
16
|
* Represents the `export-to-PDF` command of the Scheduler.
|
|
17
17
|
* You can apply this directive to any `button` element inside a
|
|
@@ -48,7 +48,7 @@ export class PDFCommandDirective extends Button {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
PDFCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFCommandDirective, deps: [{ token: i1.PDFService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
-
PDFCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFCommandDirective, selector: "[kendoSchedulerPDFCommand]", host: { listeners: { "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
51
|
+
PDFCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFCommandDirective, isStandalone: true, selector: "[kendoSchedulerPDFCommand]", host: { listeners: { "click": "onClick($event)" } }, usesInheritance: true, ngImport: i0, template: `
|
|
52
52
|
<kendo-icon-wrapper
|
|
53
53
|
*ngIf="icon || svgIcon"
|
|
54
54
|
innerCssClass="k-button-icon"
|
|
@@ -59,7 +59,7 @@ PDFCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
59
59
|
</span>
|
|
60
60
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
61
61
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
62
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
62
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
63
63
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFCommandDirective, decorators: [{
|
|
64
64
|
type: Component,
|
|
65
65
|
args: [{
|
|
@@ -75,7 +75,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
75
75
|
</span>
|
|
76
76
|
<span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
|
|
77
77
|
<span class="k-button-text"><ng-content></ng-content></span>
|
|
78
|
-
|
|
78
|
+
`,
|
|
79
|
+
standalone: true,
|
|
80
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
79
81
|
}]
|
|
80
82
|
}], ctorParameters: function () { return [{ type: i1.PDFService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.LocalizationService }, { type: i0.NgZone }]; }, propDecorators: { onClick: [{
|
|
81
83
|
type: HostListener,
|
|
@@ -102,12 +102,13 @@ export class PDFComponent {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
PDFComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFComponent, deps: [{ token: i1.PDFService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
105
|
-
PDFComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFComponent, selector: "kendo-scheduler-pdf", inputs: { author: "author", avoidLinks: "avoidLinks", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", margin: "margin", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, ngImport: i0, template: '', isInline: true });
|
|
105
|
+
PDFComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PDFComponent, isStandalone: true, selector: "kendo-scheduler-pdf", inputs: { author: "author", avoidLinks: "avoidLinks", creator: "creator", date: "date", imageResolution: "imageResolution", fileName: "fileName", forceProxy: "forceProxy", keywords: "keywords", margin: "margin", scale: "scale", proxyData: "proxyData", proxyURL: "proxyURL", proxyTarget: "proxyTarget", producer: "producer", subject: "subject", title: "title" }, ngImport: i0, template: '', isInline: true });
|
|
106
106
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFComponent, decorators: [{
|
|
107
107
|
type: Component,
|
|
108
108
|
args: [{
|
|
109
109
|
selector: 'kendo-scheduler-pdf',
|
|
110
|
-
template: ''
|
|
110
|
+
template: '',
|
|
111
|
+
standalone: true
|
|
111
112
|
}]
|
|
112
113
|
}], ctorParameters: function () { return [{ type: i1.PDFService }, { type: i0.NgZone }]; }, propDecorators: { author: [{
|
|
113
114
|
type: Input
|
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
6
|
+
import { KENDO_SCHEDULERPDF } from '../directives';
|
|
7
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
];
|
|
9
|
+
import * as i1 from "./pdf.component";
|
|
10
|
+
import * as i2 from "./pdf-command.directive";
|
|
11
|
+
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
14
12
|
/**
|
|
15
13
|
* Represents the [NgModule](https://angular.io/api/core/NgModule)
|
|
16
14
|
* definition for the Scheduler PDF component.
|
|
@@ -33,15 +31,13 @@ const declarations = [
|
|
|
33
31
|
export class PDFModule {
|
|
34
32
|
}
|
|
35
33
|
PDFModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
-
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFModule,
|
|
37
|
-
|
|
38
|
-
PDFCommandDirective] });
|
|
39
|
-
PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, imports: [IconsModule] });
|
|
34
|
+
PDFModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, imports: [i1.PDFComponent, i2.PDFCommandDirective], exports: [i1.PDFComponent, i2.PDFCommandDirective] });
|
|
35
|
+
PDFModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, providers: [IconsService], imports: [KENDO_SCHEDULERPDF] });
|
|
40
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PDFModule, decorators: [{
|
|
41
37
|
type: NgModule,
|
|
42
38
|
args: [{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
imports: [...KENDO_SCHEDULERPDF],
|
|
40
|
+
exports: [...KENDO_SCHEDULERPDF],
|
|
41
|
+
providers: [IconsService]
|
|
46
42
|
}]
|
|
47
43
|
}] });
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ContentChild, ContentChildren, EventEmitter, HostBinding, Input, isDevMode, NgZone, Output, QueryList, ViewChild, ViewContainerRef, ChangeDetectorRef, ChangeDetectionStrategy, ElementRef, Renderer2 } from '@angular/core';
|
|
6
6
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { ResizeSensorComponent, isDocumentAvailable, shouldShowValidationUI } from '@progress/kendo-angular-common';
|
|
8
|
-
import { anyChanged, isChanged, hasObservers } from '@progress/kendo-angular-common';
|
|
7
|
+
import { ResizeSensorComponent, isDocumentAvailable, shouldShowValidationUI, anyChanged, isChanged, hasObservers, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
|
9
8
|
import { getDate, ZonedDate, Day } from '@progress/kendo-date-math';
|
|
10
9
|
import { take } from 'rxjs/operators';
|
|
11
10
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -46,6 +45,10 @@ import { closest } from './common/dom-queries';
|
|
|
46
45
|
import { alwaysFalse } from './views/utils';
|
|
47
46
|
import { SlotDragEvent } from './events/slot-drag-event';
|
|
48
47
|
import { SlotDragEndEvent } from './events/slot-drag-end-event';
|
|
48
|
+
import { EditDialogComponent } from './editing/edit-dialog.component';
|
|
49
|
+
import { NgTemplateOutlet, NgIf } from '@angular/common';
|
|
50
|
+
import { ToolbarComponent } from './toolbar/toolbar.component';
|
|
51
|
+
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
49
52
|
import * as i0 from "@angular/core";
|
|
50
53
|
import * as i1 from "./views/view-context.service";
|
|
51
54
|
import * as i2 from "./views/view-state.service";
|
|
@@ -56,12 +59,6 @@ import * as i6 from "./pdf/pdf.service";
|
|
|
56
59
|
import * as i7 from "@progress/kendo-angular-l10n";
|
|
57
60
|
import * as i8 from "./views/common/dom-events.service";
|
|
58
61
|
import * as i9 from "./navigation";
|
|
59
|
-
import * as i10 from "@angular/common";
|
|
60
|
-
import * as i11 from "./toolbar/toolbar.component";
|
|
61
|
-
import * as i12 from "@progress/kendo-angular-common";
|
|
62
|
-
import * as i13 from "./editing/edit-dialog.component";
|
|
63
|
-
import * as i14 from "./localization/localized-messages.directive";
|
|
64
|
-
import * as i15 from "./loading.component";
|
|
65
62
|
const todayDate = () => getDate(new Date());
|
|
66
63
|
const DAYS_IN_WEEK = 7;
|
|
67
64
|
/**
|
|
@@ -880,7 +877,7 @@ export class SchedulerComponent {
|
|
|
880
877
|
}
|
|
881
878
|
}
|
|
882
879
|
SchedulerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerComponent, deps: [{ token: i0.ElementRef }, { token: i1.ViewContextService }, { token: i2.ViewStateService }, { token: i3.EditService }, { token: i4.DialogsService }, { token: i5.IntlService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i6.PDFService }, { token: i7.LocalizationService }, { token: i8.DomEventsService }, { token: i0.Renderer2 }, { token: i9.FocusService }], target: i0.ɵɵFactoryTarget.Component });
|
|
883
|
-
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SchedulerComponent, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", allDaySlot: "allDaySlot", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport", schedulerResize: "schedulerResize" }, host: { properties: { "class.k-scheduler": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
880
|
+
SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SchedulerComponent, isStandalone: true, selector: "kendo-scheduler", inputs: { selectedViewIndex: "selectedViewIndex", editable: "editable", selectable: "selectable", min: "min", max: "max", eventHeight: "eventHeight", columnWidth: "columnWidth", showWorkHours: "showWorkHours", startTime: "startTime", endTime: "endTime", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", weekStart: "weekStart", slotDuration: "slotDuration", slotDivisions: "slotDivisions", slotFill: "slotFill", allDaySlot: "allDaySlot", scrollTime: "scrollTime", group: "group", resources: "resources", loading: "loading", timezone: "timezone", events: "events", selectedDate: "selectedDate", modelFields: "modelFields", currentTimeMarker: "currentTimeMarker", highlightOngoingEvents: "highlightOngoingEvents", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", isSlotSelected: "isSlotSelected" }, outputs: { selectedViewIndexChange: "selectedViewIndexChange", navigate: "navigate", dateChange: "dateChange", slotClick: "slotClick", slotDblClick: "slotDblClick", create: "create", eventClick: "eventClick", eventDblClick: "eventDblClick", eventKeydown: "eventKeydown", cancel: "cancel", save: "save", remove: "remove", resizeStart: "resizeStart", resize: "resize", resizeEnd: "resizeEnd", dragStart: "dragStart", drag: "drag", dragEnd: "dragEnd", slotDragStart: "slotDragStart", slotDrag: "slotDrag", slotDragEnd: "slotDragEnd", pdfExport: "pdfExport", schedulerResize: "schedulerResize" }, host: { properties: { "class.k-scheduler": "this.hostClasses", "attr.role": "this.ariaRole", "class.k-rtl": "this.rtl", "attr.dir": "this.dir" } }, providers: [
|
|
884
881
|
EditService,
|
|
885
882
|
DialogsService,
|
|
886
883
|
DomEventsService,
|
|
@@ -1229,7 +1226,7 @@ SchedulerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
1229
1226
|
</div>
|
|
1230
1227
|
|
|
1231
1228
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1232
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1229
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoSchedulerLocalizedMessages]" }, { kind: "component", type: ToolbarComponent, selector: "kendo-scheduler-toolbar", inputs: ["selectedView", "views", "dateRange", "selectedDate", "template", "min", "max"], outputs: ["navigate", "toolbarWidthChange"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: EditDialogComponent, selector: "kendo-scheduler-edit-dialog", inputs: ["resources", "timezone", "weekStart", "fields", "editTemplate"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }, { kind: "component", type: LoadingComponent, selector: "[kendoSchedulerLoading]", inputs: ["loading"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1233
1230
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SchedulerComponent, decorators: [{
|
|
1234
1231
|
type: Component,
|
|
1235
1232
|
args: [{
|
|
@@ -1585,7 +1582,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1585
1582
|
</div>
|
|
1586
1583
|
|
|
1587
1584
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1588
|
-
|
|
1585
|
+
`,
|
|
1586
|
+
standalone: true,
|
|
1587
|
+
imports: [LocalizedMessagesDirective, ToolbarComponent, NgTemplateOutlet, EditDialogComponent, ResizeSensorComponent, LoadingComponent, NgIf, WatermarkOverlayComponent]
|
|
1589
1588
|
}]
|
|
1590
1589
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ViewContextService }, { type: i2.ViewStateService }, { type: i3.EditService }, { type: i4.DialogsService }, { type: i5.IntlService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i6.PDFService }, { type: i7.LocalizationService }, { type: i8.DomEventsService }, { type: i0.Renderer2 }, { type: i9.FocusService }]; }, propDecorators: { hostClasses: [{
|
|
1591
1590
|
type: HostBinding,
|