@progress/kendo-angular-scheduler 20.0.0-develop.4 → 20.0.0-develop.5
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/esm2022/common/util.mjs +1 -2
- package/esm2022/editing-directives/base-edit.service.mjs +1 -2
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-scheduler.mjs +3 -56
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +3 -3
- package/common/getter.d.ts +0 -10
- package/common/setter.d.ts +0 -10
- package/esm2022/common/getter.mjs +0 -29
- package/esm2022/common/setter.mjs +0 -30
package/esm2022/common/util.mjs
CHANGED
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { fromEvent } from 'rxjs';
|
|
6
6
|
import { auditTime, buffer, filter, map } from 'rxjs/operators';
|
|
7
|
-
import { getter } from '
|
|
8
|
-
import { setter } from './setter';
|
|
7
|
+
import { getter, setter } from '@progress/kendo-angular-common';
|
|
9
8
|
import { OCCURRENCE_ID } from './constants';
|
|
10
9
|
/**
|
|
11
10
|
* @hidden
|
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
import { parseDate, formatDate } from '@progress/kendo-angular-intl';
|
|
6
6
|
import { toLocalDate } from '@progress/kendo-date-math';
|
|
7
7
|
import { BehaviorSubject } from 'rxjs';
|
|
8
|
-
import { setter } from '
|
|
9
|
-
import { getter } from '../common/getter';
|
|
8
|
+
import { getter, setter } from '@progress/kendo-angular-common';
|
|
10
9
|
import { defaultModelFields } from '../common/default-model-fields';
|
|
11
10
|
import { isRecurring, isException, isPresent, cloneTo, assignField } from '../common/util';
|
|
12
11
|
const DATE_FORMATS = [
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '20.0.0-develop.
|
|
13
|
+
publishDate: 1755869199,
|
|
14
|
+
version: '20.0.0-develop.5',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -7,7 +7,7 @@ import { Directive, Optional, Injectable, EventEmitter, Input, Inject, isDevMode
|
|
|
7
7
|
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX, RTL, ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import * as i7 from '@progress/kendo-angular-common';
|
|
10
|
-
import { hasObservers, isDocumentAvailable, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, ResizeSensorComponent, getLicenseMessage, shouldShowValidationUI, anyChanged, WatermarkOverlayComponent, guid, normalizeNumpadKeys, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { getter, setter, hasObservers, isDocumentAvailable, isVisible as isVisible$1, scrollbarWidth, isChanged, Keys, ResizeSensorComponent, getLicenseMessage, shouldShowValidationUI, anyChanged, WatermarkOverlayComponent, guid, normalizeNumpadKeys, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
11
11
|
import { isEqualDate, ZonedDate, toLocalDate, getDate, timezoneNames, Day, MS_PER_DAY as MS_PER_DAY$1, addDays, firstDayOfMonth, lastDayOfMonth, firstDayInWeek, addMonths, addWeeks, addYears } from '@progress/kendo-date-math';
|
|
12
12
|
import { auditTime, buffer, filter, map, debounceTime, take, distinctUntilChanged, switchMap, tap } from 'rxjs/operators';
|
|
13
13
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -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: '20.0.0-develop.
|
|
46
|
+
publishDate: 1755869199,
|
|
47
|
+
version: '20.0.0-develop.5',
|
|
48
48
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -1551,59 +1551,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1551
1551
|
}]
|
|
1552
1552
|
}], ctorParameters: function () { return []; } });
|
|
1553
1553
|
|
|
1554
|
-
const FIELD_REGEX$1 = /\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;
|
|
1555
|
-
const getterCache = {};
|
|
1556
|
-
getterCache['undefined'] = () => undefined;
|
|
1557
|
-
/**
|
|
1558
|
-
* @hidden
|
|
1559
|
-
*
|
|
1560
|
-
* TODO: Move to @progress/kendo-common
|
|
1561
|
-
*/
|
|
1562
|
-
function getter(field) {
|
|
1563
|
-
if (getterCache[field]) {
|
|
1564
|
-
return getterCache[field];
|
|
1565
|
-
}
|
|
1566
|
-
const fields = [];
|
|
1567
|
-
field.replace(FIELD_REGEX$1, function (_match, index, indexAccessor, fieldName) {
|
|
1568
|
-
fields.push(index !== undefined ? index : (indexAccessor || fieldName));
|
|
1569
|
-
});
|
|
1570
|
-
getterCache[field] = function (obj) {
|
|
1571
|
-
let result = obj;
|
|
1572
|
-
for (let idx = 0; idx < fields.length && result; idx++) {
|
|
1573
|
-
result = result[fields[idx]];
|
|
1574
|
-
}
|
|
1575
|
-
return result;
|
|
1576
|
-
};
|
|
1577
|
-
return getterCache[field];
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
const FIELD_REGEX = /\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;
|
|
1581
|
-
const setterCache = {};
|
|
1582
|
-
setterCache['undefined'] = obj => obj;
|
|
1583
|
-
/**
|
|
1584
|
-
* @hidden
|
|
1585
|
-
*
|
|
1586
|
-
* TODO: Move to @progress/kendo-common
|
|
1587
|
-
*/
|
|
1588
|
-
function setter(field) {
|
|
1589
|
-
if (setterCache[field]) {
|
|
1590
|
-
return setterCache[field];
|
|
1591
|
-
}
|
|
1592
|
-
const fields = [];
|
|
1593
|
-
field.replace(FIELD_REGEX, function (_match, index, indexAccessor, fieldName) {
|
|
1594
|
-
fields.push(index !== undefined ? index : (indexAccessor || fieldName));
|
|
1595
|
-
});
|
|
1596
|
-
setterCache[field] = function (obj, value) {
|
|
1597
|
-
let root = obj;
|
|
1598
|
-
const depth = fields.length - 1;
|
|
1599
|
-
for (let idx = 0; idx < depth && root; idx++) {
|
|
1600
|
-
root = root[fields[idx]] = root[fields[idx]] || {};
|
|
1601
|
-
}
|
|
1602
|
-
root[fields[depth]] = value;
|
|
1603
|
-
};
|
|
1604
|
-
return setterCache[field];
|
|
1605
|
-
}
|
|
1606
|
-
|
|
1607
1554
|
/**
|
|
1608
1555
|
* @hidden
|
|
1609
1556
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-scheduler",
|
|
3
|
-
"version": "20.0.0-develop.
|
|
3
|
+
"version": "20.0.0-develop.5",
|
|
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": 1755869199,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
"@progress/kendo-data-query": "^1.0.0",
|
|
33
33
|
"@progress/kendo-drawing": "^1.21.0",
|
|
34
34
|
"@progress/kendo-licensing": "^1.7.0",
|
|
35
|
-
"@progress/kendo-angular-tooltip": "20.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-buttons": "20.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-common": "20.0.0-develop.
|
|
38
|
-
"@progress/kendo-angular-dateinputs": "20.0.0-develop.
|
|
39
|
-
"@progress/kendo-angular-dialog": "20.0.0-develop.
|
|
40
|
-
"@progress/kendo-angular-dropdowns": "20.0.0-develop.
|
|
41
|
-
"@progress/kendo-angular-icons": "20.0.0-develop.
|
|
42
|
-
"@progress/kendo-angular-inputs": "20.0.0-develop.
|
|
43
|
-
"@progress/kendo-angular-intl": "20.0.0-develop.
|
|
44
|
-
"@progress/kendo-angular-l10n": "20.0.0-develop.
|
|
45
|
-
"@progress/kendo-angular-label": "20.0.0-develop.
|
|
46
|
-
"@progress/kendo-angular-popup": "20.0.0-develop.
|
|
35
|
+
"@progress/kendo-angular-tooltip": "20.0.0-develop.5",
|
|
36
|
+
"@progress/kendo-angular-buttons": "20.0.0-develop.5",
|
|
37
|
+
"@progress/kendo-angular-common": "20.0.0-develop.5",
|
|
38
|
+
"@progress/kendo-angular-dateinputs": "20.0.0-develop.5",
|
|
39
|
+
"@progress/kendo-angular-dialog": "20.0.0-develop.5",
|
|
40
|
+
"@progress/kendo-angular-dropdowns": "20.0.0-develop.5",
|
|
41
|
+
"@progress/kendo-angular-icons": "20.0.0-develop.5",
|
|
42
|
+
"@progress/kendo-angular-inputs": "20.0.0-develop.5",
|
|
43
|
+
"@progress/kendo-angular-intl": "20.0.0-develop.5",
|
|
44
|
+
"@progress/kendo-angular-l10n": "20.0.0-develop.5",
|
|
45
|
+
"@progress/kendo-angular-label": "20.0.0-develop.5",
|
|
46
|
+
"@progress/kendo-angular-popup": "20.0.0-develop.5",
|
|
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": "20.0.0-develop.
|
|
51
|
+
"@progress/kendo-angular-schematics": "20.0.0-develop.5",
|
|
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",
|
|
@@ -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': '20.0.0-develop.
|
|
8
|
-
'@progress/kendo-angular-navigation': '20.0.0-develop.
|
|
7
|
+
'@progress/kendo-angular-treeview': '20.0.0-develop.5',
|
|
8
|
+
'@progress/kendo-angular-navigation': '20.0.0-develop.5',
|
|
9
9
|
// peer dependency of kendo-angular-inputs
|
|
10
|
-
'@progress/kendo-angular-dialog': '20.0.0-develop.
|
|
10
|
+
'@progress/kendo-angular-dialog': '20.0.0-develop.5',
|
|
11
11
|
// peer dependency of kendo-angular-icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
13
13
|
} });
|
package/common/getter.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*
|
|
8
|
-
* TODO: Move to @progress/kendo-common
|
|
9
|
-
*/
|
|
10
|
-
export declare function getter(field: string): any;
|
package/common/setter.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*
|
|
8
|
-
* TODO: Move to @progress/kendo-common
|
|
9
|
-
*/
|
|
10
|
-
export declare function setter(field: string): any;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
const FIELD_REGEX = /\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;
|
|
6
|
-
const getterCache = {};
|
|
7
|
-
getterCache['undefined'] = () => undefined;
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*
|
|
11
|
-
* TODO: Move to @progress/kendo-common
|
|
12
|
-
*/
|
|
13
|
-
export function getter(field) {
|
|
14
|
-
if (getterCache[field]) {
|
|
15
|
-
return getterCache[field];
|
|
16
|
-
}
|
|
17
|
-
const fields = [];
|
|
18
|
-
field.replace(FIELD_REGEX, function (_match, index, indexAccessor, fieldName) {
|
|
19
|
-
fields.push(index !== undefined ? index : (indexAccessor || fieldName));
|
|
20
|
-
});
|
|
21
|
-
getterCache[field] = function (obj) {
|
|
22
|
-
let result = obj;
|
|
23
|
-
for (let idx = 0; idx < fields.length && result; idx++) {
|
|
24
|
-
result = result[fields[idx]];
|
|
25
|
-
}
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
|
-
return getterCache[field];
|
|
29
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
const FIELD_REGEX = /\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;
|
|
6
|
-
const setterCache = {};
|
|
7
|
-
setterCache['undefined'] = obj => obj;
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*
|
|
11
|
-
* TODO: Move to @progress/kendo-common
|
|
12
|
-
*/
|
|
13
|
-
export function setter(field) {
|
|
14
|
-
if (setterCache[field]) {
|
|
15
|
-
return setterCache[field];
|
|
16
|
-
}
|
|
17
|
-
const fields = [];
|
|
18
|
-
field.replace(FIELD_REGEX, function (_match, index, indexAccessor, fieldName) {
|
|
19
|
-
fields.push(index !== undefined ? index : (indexAccessor || fieldName));
|
|
20
|
-
});
|
|
21
|
-
setterCache[field] = function (obj, value) {
|
|
22
|
-
let root = obj;
|
|
23
|
-
const depth = fields.length - 1;
|
|
24
|
-
for (let idx = 0; idx < depth && root; idx++) {
|
|
25
|
-
root = root[fields[idx]] = root[fields[idx]] || {};
|
|
26
|
-
}
|
|
27
|
-
root[fields[depth]] = value;
|
|
28
|
-
};
|
|
29
|
-
return setterCache[field];
|
|
30
|
-
}
|