@progress/kendo-angular-scheduler 16.9.0 → 16.9.1-develop.2
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.
|
@@ -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.9.
|
|
12
|
+
publishDate: 1726062982,
|
|
13
|
+
version: '16.9.1-develop.2',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
package/esm2020/views/utils.mjs
CHANGED
|
@@ -295,12 +295,13 @@ export const convertNgClassBindings = (bindingValues) => {
|
|
|
295
295
|
* @hidden
|
|
296
296
|
*/
|
|
297
297
|
export function formatEventTime(start, end, isAllDay, localeId) {
|
|
298
|
-
const
|
|
299
|
-
const
|
|
300
|
-
const
|
|
298
|
+
const dateFormat = { skeleton: 'yMMMMEEEEd' };
|
|
299
|
+
const timeFormat = 't';
|
|
300
|
+
const startFormat = formatEventStart(start, dateFormat, timeFormat, isAllDay, localeId);
|
|
301
|
+
const endFormat = formatEventEnd(start, end, dateFormat, timeFormat, localeId);
|
|
301
302
|
return isAllDay ?
|
|
302
|
-
`${
|
|
303
|
-
`${
|
|
303
|
+
`${startFormat}` :
|
|
304
|
+
`${startFormat}-${endFormat}`;
|
|
304
305
|
}
|
|
305
306
|
/**
|
|
306
307
|
* @hidden
|
|
@@ -325,3 +326,26 @@ export const isWorkWeekDay = (day, start, end) => {
|
|
|
325
326
|
* @hidden
|
|
326
327
|
*/
|
|
327
328
|
export const alwaysFalse = () => false;
|
|
329
|
+
/**
|
|
330
|
+
* @hidden
|
|
331
|
+
*/
|
|
332
|
+
const formatEventStart = (start, dateFormat, timeFormat, isAllDay, localeId) => {
|
|
333
|
+
let startFormat = `${formatDate(start, dateFormat, localeId)}`;
|
|
334
|
+
// the time is relevant only when the event isn't an all day event
|
|
335
|
+
if (!isAllDay) {
|
|
336
|
+
startFormat += `, ${formatDate(start, timeFormat, localeId)}`;
|
|
337
|
+
}
|
|
338
|
+
return startFormat;
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* @hidden
|
|
342
|
+
*/
|
|
343
|
+
const formatEventEnd = (start, end, dateFormat, timeFormat, localeId) => {
|
|
344
|
+
let endFormat = '';
|
|
345
|
+
// the end date is relevant only when the event ends on a different day from when it starts
|
|
346
|
+
if (!isEqualDate(start, end)) {
|
|
347
|
+
endFormat = `${formatDate(end, dateFormat, localeId)}, `;
|
|
348
|
+
}
|
|
349
|
+
endFormat += `${formatDate(end, timeFormat, localeId)}`;
|
|
350
|
+
return endFormat;
|
|
351
|
+
};
|
|
@@ -42,8 +42,8 @@ const packageMetadata = {
|
|
|
42
42
|
name: '@progress/kendo-angular-scheduler',
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
45
|
-
publishDate:
|
|
46
|
-
version: '16.9.
|
|
45
|
+
publishDate: 1726062982,
|
|
46
|
+
version: '16.9.1-develop.2',
|
|
47
47
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
48
48
|
};
|
|
49
49
|
|
|
@@ -2283,12 +2283,13 @@ const convertNgClassBindings = (bindingValues) => {
|
|
|
2283
2283
|
* @hidden
|
|
2284
2284
|
*/
|
|
2285
2285
|
function formatEventTime(start, end, isAllDay, localeId) {
|
|
2286
|
-
const
|
|
2287
|
-
const
|
|
2288
|
-
const
|
|
2286
|
+
const dateFormat = { skeleton: 'yMMMMEEEEd' };
|
|
2287
|
+
const timeFormat = 't';
|
|
2288
|
+
const startFormat = formatEventStart(start, dateFormat, timeFormat, isAllDay, localeId);
|
|
2289
|
+
const endFormat = formatEventEnd(start, end, dateFormat, timeFormat, localeId);
|
|
2289
2290
|
return isAllDay ?
|
|
2290
|
-
`${
|
|
2291
|
-
`${
|
|
2291
|
+
`${startFormat}` :
|
|
2292
|
+
`${startFormat}-${endFormat}`;
|
|
2292
2293
|
}
|
|
2293
2294
|
/**
|
|
2294
2295
|
* @hidden
|
|
@@ -2313,6 +2314,29 @@ const isWorkWeekDay = (day, start, end) => {
|
|
|
2313
2314
|
* @hidden
|
|
2314
2315
|
*/
|
|
2315
2316
|
const alwaysFalse = () => false;
|
|
2317
|
+
/**
|
|
2318
|
+
* @hidden
|
|
2319
|
+
*/
|
|
2320
|
+
const formatEventStart = (start, dateFormat, timeFormat, isAllDay, localeId) => {
|
|
2321
|
+
let startFormat = `${formatDate(start, dateFormat, localeId)}`;
|
|
2322
|
+
// the time is relevant only when the event isn't an all day event
|
|
2323
|
+
if (!isAllDay) {
|
|
2324
|
+
startFormat += `, ${formatDate(start, timeFormat, localeId)}`;
|
|
2325
|
+
}
|
|
2326
|
+
return startFormat;
|
|
2327
|
+
};
|
|
2328
|
+
/**
|
|
2329
|
+
* @hidden
|
|
2330
|
+
*/
|
|
2331
|
+
const formatEventEnd = (start, end, dateFormat, timeFormat, localeId) => {
|
|
2332
|
+
let endFormat = '';
|
|
2333
|
+
// the end date is relevant only when the event ends on a different day from when it starts
|
|
2334
|
+
if (!isEqualDate(start, end)) {
|
|
2335
|
+
endFormat = `${formatDate(end, dateFormat, localeId)}, `;
|
|
2336
|
+
}
|
|
2337
|
+
endFormat += `${formatDate(end, timeFormat, localeId)}`;
|
|
2338
|
+
return endFormat;
|
|
2339
|
+
};
|
|
2316
2340
|
|
|
2317
2341
|
/**
|
|
2318
2342
|
* @hidden
|
|
@@ -42,8 +42,8 @@ const packageMetadata = {
|
|
|
42
42
|
name: '@progress/kendo-angular-scheduler',
|
|
43
43
|
productName: 'Kendo UI for Angular',
|
|
44
44
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
45
|
-
publishDate:
|
|
46
|
-
version: '16.9.
|
|
45
|
+
publishDate: 1726062982,
|
|
46
|
+
version: '16.9.1-develop.2',
|
|
47
47
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
48
48
|
};
|
|
49
49
|
|
|
@@ -2248,12 +2248,13 @@ const convertNgClassBindings = (bindingValues) => {
|
|
|
2248
2248
|
* @hidden
|
|
2249
2249
|
*/
|
|
2250
2250
|
function formatEventTime(start, end, isAllDay, localeId) {
|
|
2251
|
-
const
|
|
2252
|
-
const
|
|
2253
|
-
const
|
|
2251
|
+
const dateFormat = { skeleton: 'yMMMMEEEEd' };
|
|
2252
|
+
const timeFormat = 't';
|
|
2253
|
+
const startFormat = formatEventStart(start, dateFormat, timeFormat, isAllDay, localeId);
|
|
2254
|
+
const endFormat = formatEventEnd(start, end, dateFormat, timeFormat, localeId);
|
|
2254
2255
|
return isAllDay ?
|
|
2255
|
-
`${
|
|
2256
|
-
`${
|
|
2256
|
+
`${startFormat}` :
|
|
2257
|
+
`${startFormat}-${endFormat}`;
|
|
2257
2258
|
}
|
|
2258
2259
|
/**
|
|
2259
2260
|
* @hidden
|
|
@@ -2278,6 +2279,29 @@ const isWorkWeekDay = (day, start, end) => {
|
|
|
2278
2279
|
* @hidden
|
|
2279
2280
|
*/
|
|
2280
2281
|
const alwaysFalse = () => false;
|
|
2282
|
+
/**
|
|
2283
|
+
* @hidden
|
|
2284
|
+
*/
|
|
2285
|
+
const formatEventStart = (start, dateFormat, timeFormat, isAllDay, localeId) => {
|
|
2286
|
+
let startFormat = `${formatDate(start, dateFormat, localeId)}`;
|
|
2287
|
+
// the time is relevant only when the event isn't an all day event
|
|
2288
|
+
if (!isAllDay) {
|
|
2289
|
+
startFormat += `, ${formatDate(start, timeFormat, localeId)}`;
|
|
2290
|
+
}
|
|
2291
|
+
return startFormat;
|
|
2292
|
+
};
|
|
2293
|
+
/**
|
|
2294
|
+
* @hidden
|
|
2295
|
+
*/
|
|
2296
|
+
const formatEventEnd = (start, end, dateFormat, timeFormat, localeId) => {
|
|
2297
|
+
let endFormat = '';
|
|
2298
|
+
// the end date is relevant only when the event ends on a different day from when it starts
|
|
2299
|
+
if (!isEqualDate(start, end)) {
|
|
2300
|
+
endFormat = `${formatDate(end, dateFormat, localeId)}, `;
|
|
2301
|
+
}
|
|
2302
|
+
endFormat += `${formatDate(end, timeFormat, localeId)}`;
|
|
2303
|
+
return endFormat;
|
|
2304
|
+
};
|
|
2281
2305
|
|
|
2282
2306
|
/**
|
|
2283
2307
|
* @hidden
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "16.9.
|
|
3
|
+
"version": "16.9.1-develop.2",
|
|
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",
|
|
@@ -26,23 +26,23 @@
|
|
|
26
26
|
"@progress/kendo-data-query": "^1.0.0",
|
|
27
27
|
"@progress/kendo-drawing": "^1.19.0",
|
|
28
28
|
"@progress/kendo-licensing": "^1.0.2",
|
|
29
|
-
"@progress/kendo-angular-tooltip": "16.9.
|
|
30
|
-
"@progress/kendo-angular-buttons": "16.9.
|
|
31
|
-
"@progress/kendo-angular-common": "16.9.
|
|
32
|
-
"@progress/kendo-angular-dateinputs": "16.9.
|
|
33
|
-
"@progress/kendo-angular-dialog": "16.9.
|
|
34
|
-
"@progress/kendo-angular-dropdowns": "16.9.
|
|
35
|
-
"@progress/kendo-angular-icons": "16.9.
|
|
36
|
-
"@progress/kendo-angular-inputs": "16.9.
|
|
37
|
-
"@progress/kendo-angular-intl": "16.9.
|
|
38
|
-
"@progress/kendo-angular-l10n": "16.9.
|
|
39
|
-
"@progress/kendo-angular-label": "16.9.
|
|
40
|
-
"@progress/kendo-angular-popup": "16.9.
|
|
29
|
+
"@progress/kendo-angular-tooltip": "16.9.1-develop.2",
|
|
30
|
+
"@progress/kendo-angular-buttons": "16.9.1-develop.2",
|
|
31
|
+
"@progress/kendo-angular-common": "16.9.1-develop.2",
|
|
32
|
+
"@progress/kendo-angular-dateinputs": "16.9.1-develop.2",
|
|
33
|
+
"@progress/kendo-angular-dialog": "16.9.1-develop.2",
|
|
34
|
+
"@progress/kendo-angular-dropdowns": "16.9.1-develop.2",
|
|
35
|
+
"@progress/kendo-angular-icons": "16.9.1-develop.2",
|
|
36
|
+
"@progress/kendo-angular-inputs": "16.9.1-develop.2",
|
|
37
|
+
"@progress/kendo-angular-intl": "16.9.1-develop.2",
|
|
38
|
+
"@progress/kendo-angular-l10n": "16.9.1-develop.2",
|
|
39
|
+
"@progress/kendo-angular-label": "16.9.1-develop.2",
|
|
40
|
+
"@progress/kendo-angular-popup": "16.9.1-develop.2",
|
|
41
41
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"tslib": "^2.3.1",
|
|
45
|
-
"@progress/kendo-angular-schematics": "16.9.
|
|
45
|
+
"@progress/kendo-angular-schematics": "16.9.1-develop.2",
|
|
46
46
|
"@progress/kendo-date-math": "^1.3.2",
|
|
47
47
|
"@progress/kendo-draggable": "^3.0.2",
|
|
48
48
|
"@progress/kendo-file-saver": "^1.0.7",
|
|
@@ -4,10 +4,10 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'SchedulerModule', package: 'scheduler', peerDependencies: {
|
|
6
6
|
// peer deps of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '16.9.
|
|
8
|
-
'@progress/kendo-angular-navigation': '16.9.
|
|
7
|
+
'@progress/kendo-angular-treeview': '16.9.1-develop.2',
|
|
8
|
+
'@progress/kendo-angular-navigation': '16.9.1-develop.2',
|
|
9
9
|
// peer dependency of kendo-angular-inputs
|
|
10
|
-
'@progress/kendo-angular-dialog': '16.9.
|
|
10
|
+
'@progress/kendo-angular-dialog': '16.9.1-develop.2',
|
|
11
11
|
// peer dependency of kendo-angular-icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^3.0.0'
|
|
13
13
|
} });
|