@progress/kendo-angular-scheduler 24.0.0-develop.2 → 24.0.0-develop.21
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 +2599 -172
- package/fesm2022/progress-kendo-angular-scheduler.mjs +103 -80
- package/package-metadata.mjs +2 -2
- package/package.json +16 -16
- package/schematics/ngAdd/index.js +3 -3
- package/toolbar/view-selector.component.d.ts +16 -0
- package/views/agenda/agenda-view-list.component.d.ts +2 -2
- package/views/day-time/day-time-view-item.component.d.ts +4 -4
- package/views/month/month-view-item.component.d.ts +2 -2
- package/views/view-items/base-view-item.d.ts +2 -2
- package/views/year/year-view-internal.component.d.ts +2 -2
|
@@ -20,8 +20,8 @@ import * as i4 from '@progress/kendo-angular-intl';
|
|
|
20
20
|
import { formatDate, CldrIntlService, DatePipe, parseDate } from '@progress/kendo-angular-intl';
|
|
21
21
|
import { MultiSelectComponent, ItemTemplateDirective, TagTemplateDirective, DropDownListComponent, ComboBoxComponent } from '@progress/kendo-angular-dropdowns';
|
|
22
22
|
import { NgStyle, NgTemplateOutlet, AsyncPipe, NgClass } from '@angular/common';
|
|
23
|
-
import { saveIcon, cancelOutlineIcon, calendarIcon,
|
|
24
|
-
import { ButtonGroupComponent, ButtonComponent, Button } from '@progress/kendo-angular-buttons';
|
|
23
|
+
import { saveIcon, cancelOutlineIcon, calendarIcon, chevronRightIcon, chevronLeftIcon, filePdfIcon, arrowRotateCwIcon, arrowsNoRepeatIcon, xIcon, moreHorizontalIcon, clockIcon, chevronUpIcon, chevronDownIcon } from '@progress/kendo-svg-icons';
|
|
24
|
+
import { ButtonGroupComponent, ButtonComponent, Button, SegmentedControlComponent } from '@progress/kendo-angular-buttons';
|
|
25
25
|
import { NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, FormFieldComponent, TextBoxDirective, CheckBoxDirective, TextAreaDirective } from '@progress/kendo-angular-inputs';
|
|
26
26
|
import { parseRule, serializeRule, expand } from '@progress/kendo-recurrence';
|
|
27
27
|
import { DatePickerComponent, DatePickerCustomMessagesComponent, DateTimePickerComponent, DateTimePickerCustomMessagesComponent, CalendarComponent, CalendarCustomMessagesComponent, MultiViewCalendarComponent, MonthCellTemplateDirective, CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, NavigationService, TimePickerDOMService, HoursService, MinutesService, SecondsService, MillisecondsService, DayPeriodService } from '@progress/kendo-angular-dateinputs';
|
|
@@ -43,8 +43,8 @@ const packageMetadata = {
|
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCode: 'KENDOUIANGULAR',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR'],
|
|
46
|
-
publishDate:
|
|
47
|
-
version: '24.0.0-develop.
|
|
46
|
+
publishDate: 1778161184,
|
|
47
|
+
version: '24.0.0-develop.21',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -2422,7 +2422,8 @@ class FocusableDirective {
|
|
|
2422
2422
|
const element = this.element.nativeElement;
|
|
2423
2423
|
const isFooterButton = element.matches('.k-scheduler-navigation .k-button');
|
|
2424
2424
|
const focusedClass = element.matches('.k-button-group .k-button') || isFooterButton ? 'k-focus' : 'k-selected';
|
|
2425
|
-
const
|
|
2425
|
+
const schedulerElement = element.closest('.k-scheduler');
|
|
2426
|
+
const renderedEvents = schedulerElement ? schedulerElement.querySelectorAll('.k-event') : [];
|
|
2426
2427
|
const method = value ? 'addClass' : 'removeClass';
|
|
2427
2428
|
this.renderer[method](element, focusedClass);
|
|
2428
2429
|
if (renderedEvents.length > 0) {
|
|
@@ -4467,7 +4468,7 @@ class RecurrenceWeekdayRuleEditorComponent {
|
|
|
4467
4468
|
</kendo-buttongroup>
|
|
4468
4469
|
</div>
|
|
4469
4470
|
</div>
|
|
4470
|
-
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
4471
|
+
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
4471
4472
|
}
|
|
4472
4473
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: RecurrenceWeekdayRuleEditorComponent, decorators: [{
|
|
4473
4474
|
type: Component,
|
|
@@ -4727,7 +4728,7 @@ class RecurrenceFrequencyEditorComponent {
|
|
|
4727
4728
|
</kendo-buttongroup>
|
|
4728
4729
|
</div>
|
|
4729
4730
|
</div>
|
|
4730
|
-
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
4731
|
+
`, isInline: true, dependencies: [{ kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
4731
4732
|
}
|
|
4732
4733
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: RecurrenceFrequencyEditorComponent, decorators: [{
|
|
4733
4734
|
type: Component,
|
|
@@ -6309,7 +6310,7 @@ class EditDialogComponent {
|
|
|
6309
6310
|
</kendo-dialog-actions>
|
|
6310
6311
|
</kendo-dialog>
|
|
6311
6312
|
}
|
|
6312
|
-
`, isInline: true, dependencies: [{ kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "closable", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"
|
|
6313
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "closable", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors", "colSpan"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "component", type: SchedulerDateTimePickerComponent, selector: "kendo-scheduler-datetime-picker", inputs: ["isAllDay"], outputs: ["valueChange"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: TimeZoneEditorComponent, selector: "kendo-timezone-editor", inputs: ["width"], outputs: ["valueChange"] }, { kind: "component", type: RecurrenceEditorComponent, selector: "kendo-recurrence-editor", inputs: ["start", "timezone", "weekStart", "repeatEveryOptions", "endAfterOptions", "repeatOnOptions", "endOnOptions"], outputs: ["valueChange"], exportAs: ["kendoRecurrenceEditor"] }, { kind: "directive", type: TextAreaDirective, selector: "textarea[kendoTextArea]", inputs: ["autoSize", "value"], outputs: ["valueChange"] }, { kind: "component", type: MultipleResourceEditorComponent, selector: "kendo-multiple-resource-editor" }, { kind: "component", type: SingleResourceEditorComponent, selector: "kendo-single-resource-editor" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
6313
6314
|
}
|
|
6314
6315
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
6315
6316
|
type: Component,
|
|
@@ -6536,6 +6537,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
6536
6537
|
type: Input
|
|
6537
6538
|
}] } });
|
|
6538
6539
|
|
|
6540
|
+
const EMPTY_VIEWS = [];
|
|
6539
6541
|
/**
|
|
6540
6542
|
* A toolbar component that contains controls for switching views
|
|
6541
6543
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar#including-the-built-in-components)).
|
|
@@ -6576,7 +6578,26 @@ class ToolbarViewSelectorComponent {
|
|
|
6576
6578
|
get selectView() {
|
|
6577
6579
|
return this.localization.get('selectView');
|
|
6578
6580
|
}
|
|
6581
|
+
/**
|
|
6582
|
+
* @hidden
|
|
6583
|
+
*/
|
|
6584
|
+
get viewItems() {
|
|
6585
|
+
const views = Array.from(this.ctx.views ?? EMPTY_VIEWS);
|
|
6586
|
+
if (!this.areSameViews(views) || this.cachedViewItems === null) {
|
|
6587
|
+
this.cachedViews = views;
|
|
6588
|
+
this.cachedViewItems = views.map(view => ({ text: view.title }));
|
|
6589
|
+
}
|
|
6590
|
+
return this.cachedViewItems;
|
|
6591
|
+
}
|
|
6592
|
+
/**
|
|
6593
|
+
* @hidden
|
|
6594
|
+
*/
|
|
6595
|
+
get selectedViewIndex() {
|
|
6596
|
+
return Array.from(this.ctx.views ?? EMPTY_VIEWS).indexOf(this.ctx.selectedView);
|
|
6597
|
+
}
|
|
6579
6598
|
detachDomEvents;
|
|
6599
|
+
cachedViews = null;
|
|
6600
|
+
cachedViewItems = null;
|
|
6580
6601
|
constructor(service, localization) {
|
|
6581
6602
|
this.service = service;
|
|
6582
6603
|
this.localization = localization;
|
|
@@ -6597,11 +6618,20 @@ class ToolbarViewSelectorComponent {
|
|
|
6597
6618
|
});
|
|
6598
6619
|
}
|
|
6599
6620
|
}
|
|
6621
|
+
/**
|
|
6622
|
+
* @hidden
|
|
6623
|
+
*/
|
|
6624
|
+
onViewChange(index) {
|
|
6625
|
+
const view = Array.from(this.ctx.views ?? EMPTY_VIEWS)[index];
|
|
6626
|
+
if (view) {
|
|
6627
|
+
this.select(view);
|
|
6628
|
+
}
|
|
6629
|
+
}
|
|
6600
6630
|
/**
|
|
6601
6631
|
* @hidden
|
|
6602
6632
|
*/
|
|
6603
6633
|
onChange(e) {
|
|
6604
|
-
const view = this.ctx.views.find(view => view.name === e.target.value);
|
|
6634
|
+
const view = Array.from(this.ctx.views ?? EMPTY_VIEWS).find(view => view.name === e.target.value);
|
|
6605
6635
|
if (view) {
|
|
6606
6636
|
this.select(view);
|
|
6607
6637
|
}
|
|
@@ -6612,6 +6642,15 @@ class ToolbarViewSelectorComponent {
|
|
|
6612
6642
|
isSelected(view) {
|
|
6613
6643
|
return this.ctx.selectedView === view;
|
|
6614
6644
|
}
|
|
6645
|
+
areSameViews(views) {
|
|
6646
|
+
if (this.cachedViews === views) {
|
|
6647
|
+
return true;
|
|
6648
|
+
}
|
|
6649
|
+
if (this.cachedViews?.length !== views.length) {
|
|
6650
|
+
return false;
|
|
6651
|
+
}
|
|
6652
|
+
return this.cachedViews.every((view, index) => view === views[index]);
|
|
6653
|
+
}
|
|
6615
6654
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolbarViewSelectorComponent, deps: [{ token: ToolbarService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6616
6655
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: ToolbarViewSelectorComponent, isStandalone: true, selector: "[kendoSchedulerToolbarViewSelector]", inputs: { toolbarWidth: "toolbarWidth", responsiveBreakpoint: "responsiveBreakpoint" }, ngImport: i0, template: `
|
|
6617
6656
|
@if (ctx.views?.length > 1 && toolbarWidth <= responsiveBreakpoint) {
|
|
@@ -6632,26 +6671,16 @@ class ToolbarViewSelectorComponent {
|
|
|
6632
6671
|
</select>
|
|
6633
6672
|
}
|
|
6634
6673
|
@if (toolbarWidth > responsiveBreakpoint) {
|
|
6635
|
-
<
|
|
6636
|
-
class="k-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
[attr.aria-pressed]="isSelected(view)"
|
|
6644
|
-
(click)="select(view)"
|
|
6645
|
-
[kendoSchedulerFocusIndex]="0"
|
|
6646
|
-
containerType="toolbar">
|
|
6647
|
-
<span class="k-button-text">
|
|
6648
|
-
{{ view.title }}
|
|
6649
|
-
</span>
|
|
6650
|
-
</button>
|
|
6651
|
-
}
|
|
6652
|
-
</span>
|
|
6674
|
+
<kendo-segmented-control
|
|
6675
|
+
class="k-scheduler-views"
|
|
6676
|
+
[items]="viewItems"
|
|
6677
|
+
[selected]="selectedViewIndex"
|
|
6678
|
+
(selectedChange)="onViewChange($event)"
|
|
6679
|
+
[kendoSchedulerFocusIndex]="0"
|
|
6680
|
+
containerType="toolbar">
|
|
6681
|
+
</kendo-segmented-control>
|
|
6653
6682
|
}
|
|
6654
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type:
|
|
6683
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: SegmentedControlComponent, selector: "kendo-segmented-control", inputs: ["items", "layoutMode", "size", "selected"], outputs: ["selectedChange"] }] });
|
|
6655
6684
|
}
|
|
6656
6685
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolbarViewSelectorComponent, decorators: [{
|
|
6657
6686
|
type: Component,
|
|
@@ -6676,28 +6705,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
6676
6705
|
</select>
|
|
6677
6706
|
}
|
|
6678
6707
|
@if (toolbarWidth > responsiveBreakpoint) {
|
|
6679
|
-
<
|
|
6680
|
-
class="k-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
[attr.aria-pressed]="isSelected(view)"
|
|
6688
|
-
(click)="select(view)"
|
|
6689
|
-
[kendoSchedulerFocusIndex]="0"
|
|
6690
|
-
containerType="toolbar">
|
|
6691
|
-
<span class="k-button-text">
|
|
6692
|
-
{{ view.title }}
|
|
6693
|
-
</span>
|
|
6694
|
-
</button>
|
|
6695
|
-
}
|
|
6696
|
-
</span>
|
|
6708
|
+
<kendo-segmented-control
|
|
6709
|
+
class="k-scheduler-views"
|
|
6710
|
+
[items]="viewItems"
|
|
6711
|
+
[selected]="selectedViewIndex"
|
|
6712
|
+
(selectedChange)="onViewChange($event)"
|
|
6713
|
+
[kendoSchedulerFocusIndex]="0"
|
|
6714
|
+
containerType="toolbar">
|
|
6715
|
+
</kendo-segmented-control>
|
|
6697
6716
|
}
|
|
6698
6717
|
`,
|
|
6699
6718
|
standalone: true,
|
|
6700
|
-
imports: [FocusableDirective,
|
|
6719
|
+
imports: [FocusableDirective, SegmentedControlComponent]
|
|
6701
6720
|
}]
|
|
6702
6721
|
}], ctorParameters: () => [{ type: ToolbarService }, { type: i1$1.LocalizationService }], propDecorators: { toolbarWidth: [{
|
|
6703
6722
|
type: Input
|
|
@@ -6705,7 +6724,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
6705
6724
|
type: Input
|
|
6706
6725
|
}] } });
|
|
6707
6726
|
|
|
6708
|
-
const iconsMap = {
|
|
6727
|
+
const iconsMap = { chevronLeftIcon, chevronRightIcon, calendarIcon };
|
|
6709
6728
|
/**
|
|
6710
6729
|
* A toolbar component that contains controls for date navigation
|
|
6711
6730
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/toolbar#including-the-built-in-components)).
|
|
@@ -6908,10 +6927,10 @@ class ToolbarNavigationComponent {
|
|
|
6908
6927
|
this.cd.detectChanges();
|
|
6909
6928
|
}
|
|
6910
6929
|
get arrowIcons() {
|
|
6911
|
-
return !this.localization.rtl ? ['
|
|
6930
|
+
return !this.localization.rtl ? ['chevron-left', 'chevron-right'] : ['chevron-right', 'chevron-left'];
|
|
6912
6931
|
}
|
|
6913
6932
|
get arrowSVGIcons() {
|
|
6914
|
-
return !this.localization.rtl ? ['
|
|
6933
|
+
return !this.localization.rtl ? ['chevronLeftIcon', 'chevronRightIcon'] : ['chevronRightIcon', 'chevronLeftIcon'];
|
|
6915
6934
|
}
|
|
6916
6935
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolbarNavigationComponent, deps: [{ token: i1$2.PopupService }, { token: ToolbarService }, { token: i1$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: ViewContextService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6917
6936
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: ToolbarNavigationComponent, isStandalone: true, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max", activeView: "activeView", bottomView: "bottomView" }, host: { properties: { "class.k-toolbar-group": "this.hostClass" } }, providers: [
|
|
@@ -6981,7 +7000,7 @@ class ToolbarNavigationComponent {
|
|
|
6981
7000
|
</kendo-calendar-messages>
|
|
6982
7001
|
</kendo-calendar>
|
|
6983
7002
|
</ng-template>
|
|
6984
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
7003
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }, { kind: "component", type: CalendarComponent, selector: "kendo-calendar", inputs: ["showOtherMonthDays", "id", "focusedDate", "min", "max", "rangeValidation", "weekDaysFormat", "footer", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "disabledDates", "navigation", "activeView", "bottomView", "topView", "type", "animateNavigation", "weekNumber", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "headerTitleTemplate", "headerTemplate", "footerTemplate", "navigationItemTemplate", "size", "activeRangeEnd"], outputs: ["closePopup", "activeViewChange", "navigate", "activeViewDateChange", "blur", "focus", "valueChange"], exportAs: ["kendo-calendar"] }, { kind: "component", type: CalendarCustomMessagesComponent, selector: "kendo-calendar-messages" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6985
7004
|
}
|
|
6986
7005
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToolbarNavigationComponent, decorators: [{
|
|
6987
7006
|
type: Component,
|
|
@@ -11133,8 +11152,8 @@ class AgendaListComponent {
|
|
|
11133
11152
|
agendaTimeTemplate;
|
|
11134
11153
|
agendaDateTemplate;
|
|
11135
11154
|
editable;
|
|
11136
|
-
|
|
11137
|
-
|
|
11155
|
+
chevronLeftIcon = chevronLeftIcon;
|
|
11156
|
+
chevronRightIcon = chevronRightIcon;
|
|
11138
11157
|
constructor(intlService, localization) {
|
|
11139
11158
|
this.intlService = intlService;
|
|
11140
11159
|
this.localization = localization;
|
|
@@ -11201,10 +11220,10 @@ class AgendaListComponent {
|
|
|
11201
11220
|
}
|
|
11202
11221
|
}
|
|
11203
11222
|
get arrowIcons() {
|
|
11204
|
-
return !this.localization.rtl ? ['
|
|
11223
|
+
return !this.localization.rtl ? ['chevron-left', 'chevron-right'] : ['chevron-right', 'chevron-left'];
|
|
11205
11224
|
}
|
|
11206
11225
|
get arrowSVGIcons() {
|
|
11207
|
-
return !this.localization.rtl ? [this.
|
|
11226
|
+
return !this.localization.rtl ? [this.chevronLeftIcon, this.chevronRightIcon] : [this.chevronRightIcon, this.chevronLeftIcon];
|
|
11208
11227
|
}
|
|
11209
11228
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AgendaListComponent, deps: [{ token: i4.IntlService }, { token: i1$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11210
11229
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.20", type: AgendaListComponent, isStandalone: true, selector: "[kendoSchedulerAgendaList]", inputs: { tasks: "tasks", eventTemplate: "eventTemplate", slotClass: "slotClass", eventClass: "eventClass", eventStyles: "eventStyles", agendaTimeTemplate: "agendaTimeTemplate", agendaDateTemplate: "agendaDateTemplate", editable: "editable" }, host: { properties: { "class.k-scheduler-content": "this.classes" } }, ngImport: i0, template: `
|
|
@@ -13737,8 +13756,8 @@ class BaseViewItem {
|
|
|
13737
13756
|
get removable() {
|
|
13738
13757
|
return this.editable && this.editable.remove !== false;
|
|
13739
13758
|
}
|
|
13740
|
-
|
|
13741
|
-
|
|
13759
|
+
chevronLeftIcon = chevronLeftIcon;
|
|
13760
|
+
chevronRightIcon = chevronRightIcon;
|
|
13742
13761
|
rect;
|
|
13743
13762
|
subs = new Subscription();
|
|
13744
13763
|
constructor(slotService, localization, focusService, element, renderer, intl) {
|
|
@@ -13833,10 +13852,10 @@ class BaseViewItem {
|
|
|
13833
13852
|
this.subs.unsubscribe();
|
|
13834
13853
|
}
|
|
13835
13854
|
get arrowIcons() {
|
|
13836
|
-
return !this.localization.rtl ? ['
|
|
13855
|
+
return !this.localization.rtl ? ['chevron-left', 'chevron-right'] : ['chevron-right', 'chevron-left'];
|
|
13837
13856
|
}
|
|
13838
13857
|
get arrowSVGIcons() {
|
|
13839
|
-
return !this.localization.rtl ? [this.
|
|
13858
|
+
return !this.localization.rtl ? [this.chevronLeftIcon, this.chevronRightIcon] : [this.chevronRightIcon, this.chevronLeftIcon];
|
|
13840
13859
|
}
|
|
13841
13860
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BaseViewItem, deps: [{ token: BaseSlotService }, { token: i1$1.LocalizationService }, { token: FocusService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i4.IntlService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
13842
13861
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: BaseViewItem, isStandalone: true, inputs: { item: "item", resourceIndex: "resourceIndex", rangeIndex: "rangeIndex", index: "index", eventTemplate: "eventTemplate", editable: "editable", dragHint: "dragHint", resources: "resources" }, host: { properties: { "class.k-event": "this.className", "attr.data-task-index": "this.taskIndex", "style.touch-action": "this.touchAction", "attr.aria-label": "this.eventTitle" } }, usesOnChanges: true, ngImport: i0 });
|
|
@@ -13877,8 +13896,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
13877
13896
|
* @hidden
|
|
13878
13897
|
*/
|
|
13879
13898
|
class MonthViewItemComponent extends BaseViewItem {
|
|
13880
|
-
|
|
13881
|
-
|
|
13899
|
+
chevronLeftIcon = chevronLeftIcon;
|
|
13900
|
+
chevronRightIcon = chevronRightIcon;
|
|
13882
13901
|
arrowRotateCwIcon = arrowRotateCwIcon;
|
|
13883
13902
|
arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
13884
13903
|
xIcon = xIcon;
|
|
@@ -15742,7 +15761,7 @@ class ViewFooterComponent {
|
|
|
15742
15761
|
</button>
|
|
15743
15762
|
}
|
|
15744
15763
|
</span>
|
|
15745
|
-
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"
|
|
15764
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconPosition", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: FocusableDirective, selector: "[kendoSchedulerFocusIndex]", inputs: ["kendoSchedulerFocusIndex", "containerType"] }] });
|
|
15746
15765
|
}
|
|
15747
15766
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ViewFooterComponent, decorators: [{
|
|
15748
15767
|
type: Component,
|
|
@@ -16605,10 +16624,10 @@ function createTimeSlots(intlService, { showWorkHours, startTime, endTime, workD
|
|
|
16605
16624
|
*/
|
|
16606
16625
|
class DayTimeViewItemComponent extends BaseViewItem {
|
|
16607
16626
|
intlService;
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16627
|
+
chevronLeftIcon = chevronLeftIcon;
|
|
16628
|
+
chevronRightIcon = chevronRightIcon;
|
|
16629
|
+
chevronUpIcon = chevronUpIcon;
|
|
16630
|
+
chevronDownIcon = chevronDownIcon;
|
|
16612
16631
|
arrowRotateCwIcon = arrowRotateCwIcon;
|
|
16613
16632
|
arrowsNoRepeatIcon = arrowsNoRepeatIcon;
|
|
16614
16633
|
xIcon = xIcon;
|
|
@@ -16678,13 +16697,13 @@ class DayTimeViewItemComponent extends BaseViewItem {
|
|
|
16678
16697
|
|
|
16679
16698
|
@if (item.tail && vertical) {
|
|
16680
16699
|
<span class="k-event-top-actions">
|
|
16681
|
-
<kendo-icon-wrapper name="
|
|
16700
|
+
<kendo-icon-wrapper name="chevron-up" [svgIcon]="chevronUpIcon"></kendo-icon-wrapper>
|
|
16682
16701
|
</span>
|
|
16683
16702
|
}
|
|
16684
16703
|
|
|
16685
16704
|
@if (item.head && vertical) {
|
|
16686
16705
|
<span class="k-event-bottom-actions">
|
|
16687
|
-
<kendo-icon-wrapper name="
|
|
16706
|
+
<kendo-icon-wrapper name="chevron-down" [svgIcon]="chevronDownIcon"></kendo-icon-wrapper>
|
|
16688
16707
|
</span>
|
|
16689
16708
|
}
|
|
16690
16709
|
|
|
@@ -16762,13 +16781,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
16762
16781
|
|
|
16763
16782
|
@if (item.tail && vertical) {
|
|
16764
16783
|
<span class="k-event-top-actions">
|
|
16765
|
-
<kendo-icon-wrapper name="
|
|
16784
|
+
<kendo-icon-wrapper name="chevron-up" [svgIcon]="chevronUpIcon"></kendo-icon-wrapper>
|
|
16766
16785
|
</span>
|
|
16767
16786
|
}
|
|
16768
16787
|
|
|
16769
16788
|
@if (item.head && vertical) {
|
|
16770
16789
|
<span class="k-event-bottom-actions">
|
|
16771
|
-
<kendo-icon-wrapper name="
|
|
16790
|
+
<kendo-icon-wrapper name="chevron-down" [svgIcon]="chevronDownIcon"></kendo-icon-wrapper>
|
|
16772
16791
|
</span>
|
|
16773
16792
|
}
|
|
16774
16793
|
|
|
@@ -16898,9 +16917,11 @@ class DayTimeViewComponent extends BaseView {
|
|
|
16898
16917
|
}
|
|
16899
16918
|
timeSlotClass(slot, date, resourceIndex) {
|
|
16900
16919
|
if (this.slotClass) {
|
|
16920
|
+
const start = dateWithTime(date, slot.start);
|
|
16921
|
+
const end = dateWithTime(date, slot.end);
|
|
16901
16922
|
return this.slotClass({
|
|
16902
|
-
start:
|
|
16903
|
-
end:
|
|
16923
|
+
start: start,
|
|
16924
|
+
end: end < start ? addDays(end, 1) : end,
|
|
16904
16925
|
resources: this.resourcesByIndex(resourceIndex),
|
|
16905
16926
|
isAllDay: false
|
|
16906
16927
|
});
|
|
@@ -18860,7 +18881,9 @@ class WorkWeekViewComponent extends WeekViewComponent {
|
|
|
18860
18881
|
* @hidden
|
|
18861
18882
|
*/
|
|
18862
18883
|
getStartDate(selectedDate) {
|
|
18863
|
-
|
|
18884
|
+
const weekStartDate = firstDayInWeek(getDate(selectedDate), this.viewWeekStart);
|
|
18885
|
+
const workWeekOffset = (DAYS_IN_WEEK + this.viewWorkWeekStart - this.viewWeekStart) % DAYS_IN_WEEK;
|
|
18886
|
+
return getDate(addDays(weekStartDate, workWeekOffset));
|
|
18864
18887
|
}
|
|
18865
18888
|
/**
|
|
18866
18889
|
* @hidden
|
|
@@ -20276,16 +20299,16 @@ class YearViewInternalComponent extends BaseView {
|
|
|
20276
20299
|
tooltip;
|
|
20277
20300
|
get arrowIcons() {
|
|
20278
20301
|
return !this.localization.rtl
|
|
20279
|
-
? ['
|
|
20280
|
-
: ['
|
|
20302
|
+
? ['chevron-left', 'chevron-right']
|
|
20303
|
+
: ['chevron-right', 'chevron-left'];
|
|
20281
20304
|
}
|
|
20282
20305
|
get arrowSVGIcons() {
|
|
20283
20306
|
return !this.localization.rtl
|
|
20284
|
-
? [this.
|
|
20285
|
-
: [this.
|
|
20307
|
+
? [this.chevronLeftIcon, this.chevronRightIcon]
|
|
20308
|
+
: [this.chevronRightIcon, this.chevronLeftIcon];
|
|
20286
20309
|
}
|
|
20287
|
-
|
|
20288
|
-
|
|
20310
|
+
chevronLeftIcon = chevronLeftIcon;
|
|
20311
|
+
chevronRightIcon = chevronRightIcon;
|
|
20289
20312
|
eventsPerSelectedDay = [];
|
|
20290
20313
|
days = [];
|
|
20291
20314
|
focusedDate;
|
|
@@ -20590,7 +20613,7 @@ class YearViewInternalComponent extends BaseView {
|
|
|
20590
20613
|
</div>
|
|
20591
20614
|
}
|
|
20592
20615
|
</ng-template>
|
|
20593
|
-
`, isInline: true, dependencies: [{ kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "directive", type: TooltipDirective, selector: "[kendoTooltip]", inputs: ["filter", "position", "titleTemplate", "showOn", "showAfter", "callout", "closable", "offset", "tooltipWidth", "tooltipHeight", "tooltipClass", "tooltipContentClass", "collision", "closeTitle", "tooltipTemplate"], exportAs: ["kendoTooltip"] }, { kind: "directive", type: MonthCellTemplateDirective, selector: "[kendoCalendarMonthCellTemplate]" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
20616
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MultiViewCalendarComponent, selector: "kendo-multiviewcalendar", inputs: ["showOtherMonthDays", "showCalendarHeader", "size", "id", "focusedDate", "footer", "min", "max", "rangeValidation", "disabledDatesRangeValidation", "selection", "allowReverse", "value", "disabled", "tabindex", "tabIndex", "weekDaysFormat", "isActive", "disabledDates", "activeView", "bottomView", "topView", "showViewHeader", "animateNavigation", "weekNumber", "activeRangeEnd", "selectionRange", "views", "orientation", "cellTemplate", "monthCellTemplate", "yearCellTemplate", "decadeCellTemplate", "centuryCellTemplate", "weekNumberTemplate", "footerTemplate", "headerTitleTemplate", "headerTemplate"], outputs: ["activeViewChange", "navigate", "cellEnter", "cellLeave", "valueChange", "rangeSelectionChange", "blur", "focus", "focusCalendar", "onClosePopup", "onTabPress", "onShiftTabPress"], exportAs: ["kendo-multiviewcalendar"] }, { kind: "directive", type: TooltipDirective, selector: "[kendoTooltip]", inputs: ["filter", "position", "titleTemplate", "showOn", "showAfter", "callout", "closable", "offset", "tooltipWidth", "tooltipHeight", "tooltipClass", "themeColor", "tooltipContentClass", "collision", "closeTitle", "tooltipTemplate"], exportAs: ["kendoTooltip"] }, { kind: "directive", type: MonthCellTemplateDirective, selector: "[kendoCalendarMonthCellTemplate]" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
20594
20617
|
}
|
|
20595
20618
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: YearViewInternalComponent, decorators: [{
|
|
20596
20619
|
type: Component,
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.0.0-develop.
|
|
10
|
+
"publishDate": 1778161184,
|
|
11
|
+
"version": "24.0.0-develop.21",
|
|
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": "24.0.0-develop.
|
|
3
|
+
"version": "24.0.0-develop.21",
|
|
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",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"package": {
|
|
35
35
|
"productName": "Kendo UI for Angular",
|
|
36
36
|
"productCode": "KENDOUIANGULAR",
|
|
37
|
-
"publishDate":
|
|
37
|
+
"publishDate": 1778161184,
|
|
38
38
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
@@ -45,25 +45,25 @@
|
|
|
45
45
|
"@angular/forms": "19 - 21",
|
|
46
46
|
"@angular/platform-browser": "19 - 21",
|
|
47
47
|
"@progress/kendo-data-query": "^1.7.3",
|
|
48
|
-
"@progress/kendo-drawing": "^1.
|
|
48
|
+
"@progress/kendo-drawing": "^1.25.0",
|
|
49
49
|
"@progress/kendo-licensing": "^1.11.0",
|
|
50
|
-
"@progress/kendo-angular-tooltip": "24.0.0-develop.
|
|
51
|
-
"@progress/kendo-angular-buttons": "24.0.0-develop.
|
|
52
|
-
"@progress/kendo-angular-common": "24.0.0-develop.
|
|
53
|
-
"@progress/kendo-angular-dateinputs": "24.0.0-develop.
|
|
54
|
-
"@progress/kendo-angular-dialog": "24.0.0-develop.
|
|
55
|
-
"@progress/kendo-angular-dropdowns": "24.0.0-develop.
|
|
56
|
-
"@progress/kendo-angular-icons": "24.0.0-develop.
|
|
57
|
-
"@progress/kendo-angular-inputs": "24.0.0-develop.
|
|
58
|
-
"@progress/kendo-angular-intl": "24.0.0-develop.
|
|
59
|
-
"@progress/kendo-angular-l10n": "24.0.0-develop.
|
|
60
|
-
"@progress/kendo-angular-label": "24.0.0-develop.
|
|
61
|
-
"@progress/kendo-angular-popup": "24.0.0-develop.
|
|
50
|
+
"@progress/kendo-angular-tooltip": "24.0.0-develop.21",
|
|
51
|
+
"@progress/kendo-angular-buttons": "24.0.0-develop.21",
|
|
52
|
+
"@progress/kendo-angular-common": "24.0.0-develop.21",
|
|
53
|
+
"@progress/kendo-angular-dateinputs": "24.0.0-develop.21",
|
|
54
|
+
"@progress/kendo-angular-dialog": "24.0.0-develop.21",
|
|
55
|
+
"@progress/kendo-angular-dropdowns": "24.0.0-develop.21",
|
|
56
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.21",
|
|
57
|
+
"@progress/kendo-angular-inputs": "24.0.0-develop.21",
|
|
58
|
+
"@progress/kendo-angular-intl": "24.0.0-develop.21",
|
|
59
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.21",
|
|
60
|
+
"@progress/kendo-angular-label": "24.0.0-develop.21",
|
|
61
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.21",
|
|
62
62
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"tslib": "^2.3.1",
|
|
66
|
-
"@progress/kendo-angular-schematics": "24.0.0-develop.
|
|
66
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.21",
|
|
67
67
|
"@progress/kendo-date-math": "^1.3.2",
|
|
68
68
|
"@progress/kendo-draggable": "^3.0.2",
|
|
69
69
|
"@progress/kendo-file-saver": "^1.0.7",
|
|
@@ -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': '24.0.0-develop.
|
|
13
|
-
'@progress/kendo-angular-navigation': '24.0.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '24.0.0-develop.21',
|
|
13
|
+
'@progress/kendo-angular-navigation': '24.0.0-develop.21',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '24.0.0-develop.
|
|
15
|
+
'@progress/kendo-angular-dialog': '24.0.0-develop.21',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
18
18
|
} });
|
|
@@ -7,6 +7,7 @@ import { SchedulerView } from '../types';
|
|
|
7
7
|
import { ToolbarService } from './toolbar.service';
|
|
8
8
|
import { ToolbarContext } from './toolbar-context';
|
|
9
9
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
|
+
import { SegmentedItemSettings } from '@progress/kendo-angular-buttons';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* A toolbar component that contains controls for switching views
|
|
@@ -44,13 +45,27 @@ export declare class ToolbarViewSelectorComponent implements OnDestroy {
|
|
|
44
45
|
* @hidden
|
|
45
46
|
*/
|
|
46
47
|
get selectView(): string;
|
|
48
|
+
/**
|
|
49
|
+
* @hidden
|
|
50
|
+
*/
|
|
51
|
+
get viewItems(): SegmentedItemSettings[];
|
|
52
|
+
/**
|
|
53
|
+
* @hidden
|
|
54
|
+
*/
|
|
55
|
+
get selectedViewIndex(): number;
|
|
47
56
|
private detachDomEvents;
|
|
57
|
+
private cachedViews;
|
|
58
|
+
private cachedViewItems;
|
|
48
59
|
constructor(service: ToolbarService, localization: LocalizationService);
|
|
49
60
|
ngOnDestroy(): void;
|
|
50
61
|
/**
|
|
51
62
|
* @hidden
|
|
52
63
|
*/
|
|
53
64
|
select(view: SchedulerView): void;
|
|
65
|
+
/**
|
|
66
|
+
* @hidden
|
|
67
|
+
*/
|
|
68
|
+
onViewChange(index: number): void;
|
|
54
69
|
/**
|
|
55
70
|
* @hidden
|
|
56
71
|
*/
|
|
@@ -59,6 +74,7 @@ export declare class ToolbarViewSelectorComponent implements OnDestroy {
|
|
|
59
74
|
* @hidden
|
|
60
75
|
*/
|
|
61
76
|
isSelected(view: SchedulerView): boolean;
|
|
77
|
+
private areSameViews;
|
|
62
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarViewSelectorComponent, never>;
|
|
63
79
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarViewSelectorComponent, "[kendoSchedulerToolbarViewSelector]", never, { "toolbarWidth": { "alias": "toolbarWidth"; "required": false; }; "responsiveBreakpoint": { "alias": "responsiveBreakpoint"; "required": false; }; }, {}, never, never, true, never>;
|
|
64
80
|
}
|
|
@@ -22,8 +22,8 @@ export declare class AgendaListComponent {
|
|
|
22
22
|
agendaTimeTemplate: TemplateRef<any>;
|
|
23
23
|
agendaDateTemplate: TemplateRef<any>;
|
|
24
24
|
editable: any;
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
chevronLeftIcon: SVGIcon;
|
|
26
|
+
chevronRightIcon: SVGIcon;
|
|
27
27
|
constructor(intlService: IntlService, localization: LocalizationService);
|
|
28
28
|
extractDataItem(item: any): any;
|
|
29
29
|
extractDataItemInLocalTime(item: any): any;
|
|
@@ -15,10 +15,10 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare class DayTimeViewItemComponent extends BaseViewItem {
|
|
17
17
|
private intlService;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
chevronLeftIcon: SVGIcon;
|
|
19
|
+
chevronRightIcon: SVGIcon;
|
|
20
|
+
chevronUpIcon: SVGIcon;
|
|
21
|
+
chevronDownIcon: SVGIcon;
|
|
22
22
|
arrowRotateCwIcon: SVGIcon;
|
|
23
23
|
arrowsNoRepeatIcon: SVGIcon;
|
|
24
24
|
xIcon: SVGIcon;
|
|
@@ -14,8 +14,8 @@ import * as i0 from "@angular/core";
|
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
|
16
16
|
export declare class MonthViewItemComponent extends BaseViewItem {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
chevronLeftIcon: SVGIcon;
|
|
18
|
+
chevronRightIcon: SVGIcon;
|
|
19
19
|
arrowRotateCwIcon: SVGIcon;
|
|
20
20
|
arrowsNoRepeatIcon: SVGIcon;
|
|
21
21
|
xIcon: SVGIcon;
|