@progress/kendo-angular-scheduler 22.1.0-develop.17 → 22.1.0-develop.19
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.
|
@@ -3,20 +3,23 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NumericTextBoxOptions } from './../../types/numeric-options.interface';
|
|
6
|
+
import { OnDestroy } from '@angular/core';
|
|
6
7
|
import { RecurrenceService } from './recurrence.service';
|
|
7
8
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* @hidden
|
|
11
12
|
*/
|
|
12
|
-
export declare class RecurrenceIntervalEditorComponent {
|
|
13
|
+
export declare class RecurrenceIntervalEditorComponent implements OnDestroy {
|
|
13
14
|
private recurrence;
|
|
14
15
|
private localization?;
|
|
15
16
|
cssClass: boolean;
|
|
16
17
|
set userNumericOptions(options: NumericTextBoxOptions);
|
|
17
18
|
intervalValue: number;
|
|
18
19
|
numericOptions: NumericTextBoxOptions;
|
|
20
|
+
private frequencyChangeSubscription;
|
|
19
21
|
constructor(recurrence: RecurrenceService, localization?: LocalizationService);
|
|
22
|
+
ngOnDestroy(): void;
|
|
20
23
|
get currentFreq(): string;
|
|
21
24
|
onIntervalChange(newInterval: number): void;
|
|
22
25
|
onIntervalBlur(): void;
|
|
@@ -44,7 +44,7 @@ const packageMetadata = {
|
|
|
44
44
|
productCode: 'KENDOUIANGULAR',
|
|
45
45
|
productCodes: ['KENDOUIANGULAR'],
|
|
46
46
|
publishDate: 0,
|
|
47
|
-
version: '22.1.0-develop.
|
|
47
|
+
version: '22.1.0-develop.19',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -2426,7 +2426,8 @@ class FocusableDirective {
|
|
|
2426
2426
|
}
|
|
2427
2427
|
toggleFocus(value) {
|
|
2428
2428
|
const element = this.element.nativeElement;
|
|
2429
|
-
const
|
|
2429
|
+
const isFooterButton = element.matches('.k-scheduler-navigation .k-button');
|
|
2430
|
+
const focusedClass = element.matches('.k-button-group .k-button') || isFooterButton ? 'k-focus' : 'k-selected';
|
|
2430
2431
|
const renderedEvents = this.element.nativeElement.ownerDocument.querySelectorAll('.k-event');
|
|
2431
2432
|
const method = value ? 'addClass' : 'removeClass';
|
|
2432
2433
|
this.renderer[method](element, focusedClass);
|
|
@@ -3219,6 +3220,7 @@ class RecurrenceService {
|
|
|
3219
3220
|
timezone;
|
|
3220
3221
|
weekStart;
|
|
3221
3222
|
start;
|
|
3223
|
+
minInterval = 1;
|
|
3222
3224
|
change = new EventEmitter();
|
|
3223
3225
|
endRuleChange = new EventEmitter();
|
|
3224
3226
|
frequencyChange = new EventEmitter();
|
|
@@ -3257,7 +3259,7 @@ class RecurrenceService {
|
|
|
3257
3259
|
setFrequency(freq) {
|
|
3258
3260
|
this.rrule = {};
|
|
3259
3261
|
this.rrule.freq = freq;
|
|
3260
|
-
this.rrule.interval =
|
|
3262
|
+
this.rrule.interval = this.minInterval;
|
|
3261
3263
|
if (freq === 'weekly') {
|
|
3262
3264
|
this.rrule.byWeekDay = [{
|
|
3263
3265
|
day: this.start.getDay(),
|
|
@@ -4442,7 +4444,6 @@ class RecurrenceWeekdayRuleEditorComponent {
|
|
|
4442
4444
|
></kendo-label>
|
|
4443
4445
|
<div class="k-form-field-wrap">
|
|
4444
4446
|
<kendo-buttongroup
|
|
4445
|
-
class="k-button-group-solid"
|
|
4446
4447
|
width="100%"
|
|
4447
4448
|
selection="multiple"
|
|
4448
4449
|
>
|
|
@@ -4471,7 +4472,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4471
4472
|
></kendo-label>
|
|
4472
4473
|
<div class="k-form-field-wrap">
|
|
4473
4474
|
<kendo-buttongroup
|
|
4474
|
-
class="k-button-group-solid"
|
|
4475
4475
|
width="100%"
|
|
4476
4476
|
selection="multiple"
|
|
4477
4477
|
>
|
|
@@ -4503,6 +4503,9 @@ class RecurrenceIntervalEditorComponent {
|
|
|
4503
4503
|
cssClass = true;
|
|
4504
4504
|
set userNumericOptions(options) {
|
|
4505
4505
|
this.numericOptions = { ...this.numericOptions, ...options };
|
|
4506
|
+
this.recurrence.minInterval = this.numericOptions.min;
|
|
4507
|
+
this.intervalValue = this.recurrence.rrule.interval >= this.numericOptions.min ? this.recurrence.rrule.interval : this.numericOptions.min;
|
|
4508
|
+
this.recurrence.interval = this.intervalValue;
|
|
4506
4509
|
}
|
|
4507
4510
|
intervalValue;
|
|
4508
4511
|
numericOptions = {
|
|
@@ -4512,10 +4515,16 @@ class RecurrenceIntervalEditorComponent {
|
|
|
4512
4515
|
step: 1,
|
|
4513
4516
|
spinners: true
|
|
4514
4517
|
};
|
|
4518
|
+
frequencyChangeSubscription;
|
|
4515
4519
|
constructor(recurrence, localization) {
|
|
4516
4520
|
this.recurrence = recurrence;
|
|
4517
4521
|
this.localization = localization;
|
|
4518
|
-
this.
|
|
4522
|
+
this.frequencyChangeSubscription = this.recurrence.frequencyChange.subscribe(() => {
|
|
4523
|
+
this.intervalValue = this.numericOptions.min;
|
|
4524
|
+
});
|
|
4525
|
+
}
|
|
4526
|
+
ngOnDestroy() {
|
|
4527
|
+
this.frequencyChangeSubscription.unsubscribe();
|
|
4519
4528
|
}
|
|
4520
4529
|
get currentFreq() {
|
|
4521
4530
|
return this.recurrence.frequency;
|
|
@@ -4523,6 +4532,7 @@ class RecurrenceIntervalEditorComponent {
|
|
|
4523
4532
|
onIntervalChange(newInterval) {
|
|
4524
4533
|
if (isPresent(newInterval)) {
|
|
4525
4534
|
this.recurrence.interval = newInterval;
|
|
4535
|
+
this.intervalValue = newInterval;
|
|
4526
4536
|
}
|
|
4527
4537
|
}
|
|
4528
4538
|
onIntervalBlur() {
|
|
@@ -4586,7 +4596,7 @@ class RecurrenceIntervalEditorComponent {
|
|
|
4586
4596
|
[spinners]="numericOptions.spinners"
|
|
4587
4597
|
[step]="numericOptions.step"
|
|
4588
4598
|
[title]="numericOptions.title"
|
|
4589
|
-
[
|
|
4599
|
+
[value]="intervalValue"
|
|
4590
4600
|
(blur)="onIntervalBlur()"
|
|
4591
4601
|
(valueChange)="onIntervalChange($event)"
|
|
4592
4602
|
>
|
|
@@ -4627,7 +4637,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4627
4637
|
[spinners]="numericOptions.spinners"
|
|
4628
4638
|
[step]="numericOptions.step"
|
|
4629
4639
|
[title]="numericOptions.title"
|
|
4630
|
-
[
|
|
4640
|
+
[value]="intervalValue"
|
|
4631
4641
|
(blur)="onIntervalBlur()"
|
|
4632
4642
|
(valueChange)="onIntervalChange($event)"
|
|
4633
4643
|
>
|
|
@@ -4693,7 +4703,7 @@ class RecurrenceFrequencyEditorComponent {
|
|
|
4693
4703
|
></kendo-label>
|
|
4694
4704
|
<div class="k-form-field-wrap">
|
|
4695
4705
|
<kendo-buttongroup
|
|
4696
|
-
class="k-scheduler-recurrence-repeat
|
|
4706
|
+
class="k-scheduler-recurrence-repeat"
|
|
4697
4707
|
width="100%"
|
|
4698
4708
|
selection="single"
|
|
4699
4709
|
>
|
|
@@ -4722,7 +4732,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
4722
4732
|
></kendo-label>
|
|
4723
4733
|
<div class="k-form-field-wrap">
|
|
4724
4734
|
<kendo-buttongroup
|
|
4725
|
-
class="k-scheduler-recurrence-repeat
|
|
4735
|
+
class="k-scheduler-recurrence-repeat"
|
|
4726
4736
|
width="100%"
|
|
4727
4737
|
selection="single"
|
|
4728
4738
|
>
|
|
@@ -6590,7 +6600,7 @@ class ToolbarViewSelectorComponent {
|
|
|
6590
6600
|
}
|
|
6591
6601
|
@if (toolbarWidth > responsiveBreakpoint) {
|
|
6592
6602
|
<span
|
|
6593
|
-
class="k-toolbar-button-group k-scheduler-views k-button-group
|
|
6603
|
+
class="k-toolbar-button-group k-scheduler-views k-button-group"
|
|
6594
6604
|
role="group"
|
|
6595
6605
|
>
|
|
6596
6606
|
@for (view of ctx.views; track view) {
|
|
@@ -6635,7 +6645,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6635
6645
|
}
|
|
6636
6646
|
@if (toolbarWidth > responsiveBreakpoint) {
|
|
6637
6647
|
<span
|
|
6638
|
-
class="k-toolbar-button-group k-scheduler-views k-button-group
|
|
6648
|
+
class="k-toolbar-button-group k-scheduler-views k-button-group"
|
|
6639
6649
|
role="group"
|
|
6640
6650
|
>
|
|
6641
6651
|
@for (view of ctx.views; track view) {
|
|
@@ -6875,7 +6885,7 @@ class ToolbarNavigationComponent {
|
|
|
6875
6885
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: ToolbarNavigationComponent, isStandalone: true, selector: "[kendoSchedulerToolbarNavigation]", inputs: { min: "min", max: "max", activeView: "activeView", bottomView: "bottomView" }, host: { properties: { "class.k-toolbar-group": "this.hostClass" } }, providers: [
|
|
6876
6886
|
PopupService
|
|
6877
6887
|
], viewQueries: [{ propertyName: "calendar", first: true, predicate: ["calendar"], descendants: true }], ngImport: i0, template: `
|
|
6878
|
-
<span class="k-scheduler-navigation k-button-group
|
|
6888
|
+
<span class="k-scheduler-navigation k-button-group" role="group">
|
|
6879
6889
|
<button kendoButton
|
|
6880
6890
|
(click)="todayClick()"
|
|
6881
6891
|
class="k-nav-today"
|
|
@@ -6951,7 +6961,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
6951
6961
|
PopupService
|
|
6952
6962
|
],
|
|
6953
6963
|
template: `
|
|
6954
|
-
<span class="k-scheduler-navigation k-button-group
|
|
6964
|
+
<span class="k-scheduler-navigation k-button-group" role="group">
|
|
6955
6965
|
<button kendoButton
|
|
6956
6966
|
(click)="todayClick()"
|
|
6957
6967
|
class="k-nav-today"
|
|
@@ -7104,7 +7114,7 @@ class ToolbarComponent {
|
|
|
7104
7114
|
this.toolbarWidthChange.emit(this.toolbarWidth);
|
|
7105
7115
|
}
|
|
7106
7116
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ToolbarComponent, deps: [{ token: ToolbarService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
7107
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ToolbarComponent, isStandalone: true, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "
|
|
7117
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ToolbarComponent, isStandalone: true, selector: "kendo-scheduler-toolbar", inputs: { selectedView: "selectedView", views: "views", dateRange: "dateRange", selectedDate: "selectedDate", template: "template", min: "min", max: "max" }, outputs: { navigate: "navigate", toolbarWidthChange: "toolbarWidthChange" }, host: { properties: { "class.k-scheduler-toolbar": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "attr.role": "this.toolbarRole" } }, usesOnChanges: true, ngImport: i0, template: `
|
|
7108
7118
|
@if (template) {
|
|
7109
7119
|
<ng-template
|
|
7110
7120
|
[ngTemplateOutlet]="template.templateRef"
|
|
@@ -7160,12 +7170,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7160
7170
|
}, {
|
|
7161
7171
|
type: HostBinding,
|
|
7162
7172
|
args: ['class.k-toolbar']
|
|
7163
|
-
}, {
|
|
7164
|
-
type: HostBinding,
|
|
7165
|
-
args: ['class.k-toolbar-solid']
|
|
7166
|
-
}, {
|
|
7167
|
-
type: HostBinding,
|
|
7168
|
-
args: ['class.k-toolbar-md']
|
|
7169
7173
|
}], toolbarRole: [{
|
|
7170
7174
|
type: HostBinding,
|
|
7171
7175
|
args: ['attr.role']
|
|
@@ -15652,7 +15656,7 @@ class ViewFooterComponent {
|
|
|
15652
15656
|
this.itemClick.emit(item);
|
|
15653
15657
|
}
|
|
15654
15658
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ViewFooterComponent, deps: [{ token: ViewStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15655
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ViewFooterComponent, isStandalone: true, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "
|
|
15659
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: ViewFooterComponent, isStandalone: true, selector: "[viewFooter]", inputs: { items: "items" }, outputs: { itemClick: "itemClick" }, host: { properties: { "class.k-scheduler-footer": "this.hostClasses", "class.k-toolbar": "this.hostClasses", "attr.role": "this.toolbarRole", "style.justify-content": "this.inlineJustifyContentStyle" } }, ngImport: i0, template: `
|
|
15656
15660
|
<span class="k-scheduler-navigation">
|
|
15657
15661
|
@for (item of items; track item) {
|
|
15658
15662
|
<button
|
|
@@ -15701,12 +15705,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
15701
15705
|
}, {
|
|
15702
15706
|
type: HostBinding,
|
|
15703
15707
|
args: ['class.k-toolbar']
|
|
15704
|
-
}, {
|
|
15705
|
-
type: HostBinding,
|
|
15706
|
-
args: ['class.k-toolbar-solid']
|
|
15707
|
-
}, {
|
|
15708
|
-
type: HostBinding,
|
|
15709
|
-
args: ['class.k-toolbar-md']
|
|
15710
15708
|
}], toolbarRole: [{
|
|
15711
15709
|
type: HostBinding,
|
|
15712
15710
|
args: ['attr.role']
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "22.1.0-develop.
|
|
10
|
+
"publishDate": 1770219927,
|
|
11
|
+
"version": "22.1.0-develop.19",
|
|
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": "22.1.0-develop.
|
|
3
|
+
"version": "22.1.0-develop.19",
|
|
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": 1770219927,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -30,25 +30,25 @@
|
|
|
30
30
|
"@angular/forms": "19 - 21",
|
|
31
31
|
"@angular/platform-browser": "19 - 21",
|
|
32
32
|
"@progress/kendo-data-query": "^1.7.3",
|
|
33
|
-
"@progress/kendo-drawing": "^1.
|
|
33
|
+
"@progress/kendo-drawing": "^1.24.0",
|
|
34
34
|
"@progress/kendo-licensing": "^1.10.0",
|
|
35
|
-
"@progress/kendo-angular-tooltip": "22.1.0-develop.
|
|
36
|
-
"@progress/kendo-angular-buttons": "22.1.0-develop.
|
|
37
|
-
"@progress/kendo-angular-common": "22.1.0-develop.
|
|
38
|
-
"@progress/kendo-angular-dateinputs": "22.1.0-develop.
|
|
39
|
-
"@progress/kendo-angular-dialog": "22.1.0-develop.
|
|
40
|
-
"@progress/kendo-angular-dropdowns": "22.1.0-develop.
|
|
41
|
-
"@progress/kendo-angular-icons": "22.1.0-develop.
|
|
42
|
-
"@progress/kendo-angular-inputs": "22.1.0-develop.
|
|
43
|
-
"@progress/kendo-angular-intl": "22.1.0-develop.
|
|
44
|
-
"@progress/kendo-angular-l10n": "22.1.0-develop.
|
|
45
|
-
"@progress/kendo-angular-label": "22.1.0-develop.
|
|
46
|
-
"@progress/kendo-angular-popup": "22.1.0-develop.
|
|
35
|
+
"@progress/kendo-angular-tooltip": "22.1.0-develop.19",
|
|
36
|
+
"@progress/kendo-angular-buttons": "22.1.0-develop.19",
|
|
37
|
+
"@progress/kendo-angular-common": "22.1.0-develop.19",
|
|
38
|
+
"@progress/kendo-angular-dateinputs": "22.1.0-develop.19",
|
|
39
|
+
"@progress/kendo-angular-dialog": "22.1.0-develop.19",
|
|
40
|
+
"@progress/kendo-angular-dropdowns": "22.1.0-develop.19",
|
|
41
|
+
"@progress/kendo-angular-icons": "22.1.0-develop.19",
|
|
42
|
+
"@progress/kendo-angular-inputs": "22.1.0-develop.19",
|
|
43
|
+
"@progress/kendo-angular-intl": "22.1.0-develop.19",
|
|
44
|
+
"@progress/kendo-angular-l10n": "22.1.0-develop.19",
|
|
45
|
+
"@progress/kendo-angular-label": "22.1.0-develop.19",
|
|
46
|
+
"@progress/kendo-angular-popup": "22.1.0-develop.19",
|
|
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": "22.1.0-develop.
|
|
51
|
+
"@progress/kendo-angular-schematics": "22.1.0-develop.19",
|
|
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",
|
|
@@ -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': '22.1.0-develop.
|
|
13
|
-
'@progress/kendo-angular-navigation': '22.1.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '22.1.0-develop.19',
|
|
13
|
+
'@progress/kendo-angular-navigation': '22.1.0-develop.19',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '22.1.0-develop.
|
|
15
|
+
'@progress/kendo-angular-dialog': '22.1.0-develop.19',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
18
18
|
} });
|