@progress/kendo-angular-scheduler 25.4.0-develop.17 → 25.4.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.
|
@@ -44,8 +44,8 @@ const packageMetadata = {
|
|
|
44
44
|
productName: 'Kendo UI for Angular',
|
|
45
45
|
productCode: 'KENDOUIANGULAR',
|
|
46
46
|
productCodes: ['KENDOUIANGULAR'],
|
|
47
|
-
publishDate:
|
|
48
|
-
version: '25.4.0-develop.
|
|
47
|
+
publishDate: 1793118864,
|
|
48
|
+
version: '25.4.0-develop.19',
|
|
49
49
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -13569,7 +13569,7 @@ class BaseView {
|
|
|
13569
13569
|
}
|
|
13570
13570
|
}
|
|
13571
13571
|
getEventStyles(item, itemResource, isAllDay) {
|
|
13572
|
-
const result = {
|
|
13572
|
+
const result = { '--kendo-scheduler-event-color': itemResource.color };
|
|
13573
13573
|
if (this.eventStyles) {
|
|
13574
13574
|
Object.assign(result, this.eventStyles({
|
|
13575
13575
|
event: item.event,
|
|
@@ -13899,8 +13899,7 @@ class BaseView {
|
|
|
13899
13899
|
right: !this.localization.rtl ? '' : toPx(origin),
|
|
13900
13900
|
width: size.width,
|
|
13901
13901
|
height: size.height,
|
|
13902
|
-
|
|
13903
|
-
borderColor: color
|
|
13902
|
+
'--kendo-scheduler-event-color': color
|
|
13904
13903
|
};
|
|
13905
13904
|
if (this.eventStyles) {
|
|
13906
13905
|
Object.assign(styles, this.eventStyles(this.dragHintEventStyleArgs()));
|
|
@@ -14100,6 +14099,7 @@ class BaseView {
|
|
|
14100
14099
|
const direction = resizing.direction;
|
|
14101
14100
|
const horizontal = direction === 'w' || direction === 'e';
|
|
14102
14101
|
const resizeStart = direction === 'w' || direction === 'n';
|
|
14102
|
+
const color = this.resizeResourceColor(resizing.task, resizing.slot);
|
|
14103
14103
|
this.resizeHints = [];
|
|
14104
14104
|
for (let idx = 0; idx < ranges.length; idx++) {
|
|
14105
14105
|
const range = ranges[idx];
|
|
@@ -14118,10 +14118,17 @@ class BaseView {
|
|
|
14118
14118
|
},
|
|
14119
14119
|
start: first && !resizeStart ? resizing.start : firstSlot.start,
|
|
14120
14120
|
end: last && resizeStart ? resizing.end : lastSlot.end,
|
|
14121
|
-
class: resizing.hintClass
|
|
14121
|
+
class: resizing.hintClass,
|
|
14122
|
+
color
|
|
14122
14123
|
});
|
|
14123
14124
|
}
|
|
14124
14125
|
}
|
|
14126
|
+
resizeResourceColor(task, slot) {
|
|
14127
|
+
const taskResources = task?.resources || [];
|
|
14128
|
+
const resourceIndex = slot?.id?.resourceIndex;
|
|
14129
|
+
const itemResource = taskResources.find(r => r.leafIdx === resourceIndex) || taskResources[0];
|
|
14130
|
+
return itemResource?.color;
|
|
14131
|
+
}
|
|
14125
14132
|
coordinatesOffset(x, y, container = this.container, offset = this.containerOffset) {
|
|
14126
14133
|
const schedulerEl = container?.closest('.k-scheduler');
|
|
14127
14134
|
const schedulerRect = schedulerEl?.getBoundingClientRect();
|
|
@@ -14869,6 +14876,9 @@ class ResizeHintComponent {
|
|
|
14869
14876
|
hint;
|
|
14870
14877
|
format;
|
|
14871
14878
|
marqueeClasses = true;
|
|
14879
|
+
get color() {
|
|
14880
|
+
return this.hint.color || null;
|
|
14881
|
+
}
|
|
14872
14882
|
get left() {
|
|
14873
14883
|
return this.hint.rect.left;
|
|
14874
14884
|
}
|
|
@@ -14888,7 +14898,7 @@ class ResizeHintComponent {
|
|
|
14888
14898
|
return toLocalDate(this.hint.end);
|
|
14889
14899
|
}
|
|
14890
14900
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: ResizeHintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14891
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: ResizeHintComponent, isStandalone: true, selector: "[kendoResizeHint]", inputs: { hint: "hint", format: "format" }, host: { properties: { "class.k-marquee": "this.marqueeClasses", "class.k-scheduler-marquee": "this.marqueeClasses", "class.k-first": "this.marqueeClasses", "class.k-last": "this.marqueeClasses", "style.left.px": "this.left", "style.right.px": "this.left", "style.top.px": "this.top", "style.width.px": "this.width", "style.height.px": "this.height" } }, ngImport: i0, template: `
|
|
14901
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.33", type: ResizeHintComponent, isStandalone: true, selector: "[kendoResizeHint]", inputs: { hint: "hint", format: "format" }, host: { properties: { "class.k-marquee": "this.marqueeClasses", "class.k-scheduler-marquee": "this.marqueeClasses", "class.k-first": "this.marqueeClasses", "class.k-last": "this.marqueeClasses", "style.--kendo-marquee-color": "this.color", "style.left.px": "this.left", "style.right.px": "this.left", "style.top.px": "this.top", "style.width.px": "this.width", "style.height.px": "this.height" } }, ngImport: i0, template: `
|
|
14892
14902
|
<div class="k-marquee-color"></div>
|
|
14893
14903
|
<div class="k-marquee-text">
|
|
14894
14904
|
@if (hint.first) {
|
|
@@ -14934,6 +14944,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImpo
|
|
|
14934
14944
|
}, {
|
|
14935
14945
|
type: HostBinding,
|
|
14936
14946
|
args: ['class.k-last']
|
|
14947
|
+
}], color: [{
|
|
14948
|
+
type: HostBinding,
|
|
14949
|
+
args: ['style.--kendo-marquee-color']
|
|
14937
14950
|
}], left: [{
|
|
14938
14951
|
type: HostBinding,
|
|
14939
14952
|
args: ['style.left.px']
|
|
@@ -15234,7 +15247,7 @@ class EventsPopoverComponent {
|
|
|
15234
15247
|
}
|
|
15235
15248
|
getEventStyles(event) {
|
|
15236
15249
|
const itemResource = event.resources?.[0];
|
|
15237
|
-
const result = {
|
|
15250
|
+
const result = { '--kendo-scheduler-event-color': itemResource?.color };
|
|
15238
15251
|
if (this.eventStyles) {
|
|
15239
15252
|
Object.assign(result, this.eventStyles({
|
|
15240
15253
|
event: event.event,
|
package/index.d.ts
CHANGED
|
@@ -6107,6 +6107,7 @@ declare class ResizeHintComponent {
|
|
|
6107
6107
|
hint: any;
|
|
6108
6108
|
format: string;
|
|
6109
6109
|
marqueeClasses: boolean;
|
|
6110
|
+
get color(): string;
|
|
6110
6111
|
get left(): number;
|
|
6111
6112
|
get top(): number;
|
|
6112
6113
|
get width(): number;
|
|
@@ -6481,6 +6482,7 @@ declare abstract class BaseView implements OnInit, OnChanges, AfterViewInit, OnD
|
|
|
6481
6482
|
protected initResize(args: any): void;
|
|
6482
6483
|
protected resize(args: any): void;
|
|
6483
6484
|
protected updateResizeHints(ranges: any[], _start: Date, _end: Date): void;
|
|
6485
|
+
protected resizeResourceColor(task: any, slot: any): string;
|
|
6484
6486
|
protected coordinatesOffset(x: number, y: number, container?: any, offset?: any): any;
|
|
6485
6487
|
protected scrollContainer(callback: any, args: any): void;
|
|
6486
6488
|
protected emitEvent(name: string, args: any): boolean;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.4.0-develop.
|
|
10
|
+
"publishDate": 1793118864,
|
|
11
|
+
"version": "25.4.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": "25.4.0-develop.
|
|
3
|
+
"version": "25.4.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",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"package": {
|
|
81
81
|
"productName": "Kendo UI for Angular",
|
|
82
82
|
"productCode": "KENDOUIANGULAR",
|
|
83
|
-
"publishDate":
|
|
83
|
+
"publishDate": 1793118864,
|
|
84
84
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
85
85
|
}
|
|
86
86
|
},
|
|
@@ -93,23 +93,23 @@
|
|
|
93
93
|
"@progress/kendo-data-query": "^1.7.3",
|
|
94
94
|
"@progress/kendo-drawing": "^1.25.0",
|
|
95
95
|
"@progress/kendo-licensing": "^1.11.0",
|
|
96
|
-
"@progress/kendo-angular-tooltip": "25.4.0-develop.
|
|
97
|
-
"@progress/kendo-angular-buttons": "25.4.0-develop.
|
|
98
|
-
"@progress/kendo-angular-common": "25.4.0-develop.
|
|
99
|
-
"@progress/kendo-angular-dateinputs": "25.4.0-develop.
|
|
100
|
-
"@progress/kendo-angular-dialog": "25.4.0-develop.
|
|
101
|
-
"@progress/kendo-angular-dropdowns": "25.4.0-develop.
|
|
102
|
-
"@progress/kendo-angular-icons": "25.4.0-develop.
|
|
103
|
-
"@progress/kendo-angular-inputs": "25.4.0-develop.
|
|
104
|
-
"@progress/kendo-angular-intl": "25.4.0-develop.
|
|
105
|
-
"@progress/kendo-angular-l10n": "25.4.0-develop.
|
|
106
|
-
"@progress/kendo-angular-label": "25.4.0-develop.
|
|
107
|
-
"@progress/kendo-angular-popup": "25.4.0-develop.
|
|
96
|
+
"@progress/kendo-angular-tooltip": "25.4.0-develop.19",
|
|
97
|
+
"@progress/kendo-angular-buttons": "25.4.0-develop.19",
|
|
98
|
+
"@progress/kendo-angular-common": "25.4.0-develop.19",
|
|
99
|
+
"@progress/kendo-angular-dateinputs": "25.4.0-develop.19",
|
|
100
|
+
"@progress/kendo-angular-dialog": "25.4.0-develop.19",
|
|
101
|
+
"@progress/kendo-angular-dropdowns": "25.4.0-develop.19",
|
|
102
|
+
"@progress/kendo-angular-icons": "25.4.0-develop.19",
|
|
103
|
+
"@progress/kendo-angular-inputs": "25.4.0-develop.19",
|
|
104
|
+
"@progress/kendo-angular-intl": "25.4.0-develop.19",
|
|
105
|
+
"@progress/kendo-angular-l10n": "25.4.0-develop.19",
|
|
106
|
+
"@progress/kendo-angular-label": "25.4.0-develop.19",
|
|
107
|
+
"@progress/kendo-angular-popup": "25.4.0-develop.19",
|
|
108
108
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
109
109
|
},
|
|
110
110
|
"dependencies": {
|
|
111
111
|
"tslib": "^2.3.1",
|
|
112
|
-
"@progress/kendo-angular-schematics": "25.4.0-develop.
|
|
112
|
+
"@progress/kendo-angular-schematics": "25.4.0-develop.19",
|
|
113
113
|
"@progress/kendo-date-math": "^1.3.2",
|
|
114
114
|
"@progress/kendo-draggable": "^3.0.2",
|
|
115
115
|
"@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': '25.4.0-develop.
|
|
13
|
-
'@progress/kendo-angular-navigation': '25.4.0-develop.
|
|
12
|
+
'@progress/kendo-angular-treeview': '25.4.0-develop.19',
|
|
13
|
+
'@progress/kendo-angular-navigation': '25.4.0-develop.19',
|
|
14
14
|
// peer dependency of kendo-angular-inputs
|
|
15
|
-
'@progress/kendo-angular-dialog': '25.4.0-develop.
|
|
15
|
+
'@progress/kendo-angular-dialog': '25.4.0-develop.19',
|
|
16
16
|
// peer dependency of kendo-angular-icons
|
|
17
17
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
18
18
|
} });
|