@syncfusion/ej2-schedule 22.2.5 → 22.2.8
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/CHANGELOG.md +8 -3
- package/dist/ej2-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +5 -2
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +5 -2
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +12 -12
- package/src/schedule/base/util.js +5 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 22.2.
|
|
3
|
+
* version : 22.2.8
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-schedule@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-schedule@22.
|
|
3
|
+
"_id": "@syncfusion/ej2-schedule@22.2.5",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-ZZHWpfm3u01zXFvMxeG4FnLxImHvYMrrF21zy4FEnfeYXwrKNF7eFEZXhK8hXaNRsyebvUCc8NWV6n07xOrCzQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-schedule",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"/@syncfusion/ej2-react-schedule",
|
|
24
24
|
"/@syncfusion/ej2-vue-schedule"
|
|
25
25
|
],
|
|
26
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-22.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-22.2.5.tgz",
|
|
27
|
+
"_shasum": "2df651a9adbba15d66af5bf503cf4da5503a2e24",
|
|
28
28
|
"_spec": "@syncfusion/ej2-schedule@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@syncfusion/ej2-base": "~22.2.5",
|
|
39
|
-
"@syncfusion/ej2-buttons": "~22.2.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~22.2.
|
|
39
|
+
"@syncfusion/ej2-buttons": "~22.2.8",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~22.2.8",
|
|
41
41
|
"@syncfusion/ej2-data": "~22.2.5",
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~22.2.
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~22.2.8",
|
|
43
43
|
"@syncfusion/ej2-excel-export": "~22.2.5",
|
|
44
|
-
"@syncfusion/ej2-inputs": "~22.2.
|
|
45
|
-
"@syncfusion/ej2-lists": "~22.2.
|
|
46
|
-
"@syncfusion/ej2-navigations": "~22.2.
|
|
47
|
-
"@syncfusion/ej2-popups": "~22.2.
|
|
44
|
+
"@syncfusion/ej2-inputs": "~22.2.7",
|
|
45
|
+
"@syncfusion/ej2-lists": "~22.2.8",
|
|
46
|
+
"@syncfusion/ej2-navigations": "~22.2.8",
|
|
47
|
+
"@syncfusion/ej2-popups": "~22.2.7"
|
|
48
48
|
},
|
|
49
49
|
"deprecated": false,
|
|
50
50
|
"description": "Flexible scheduling library with more built-in features and enhanced customization options similar to outlook and google calendar, allowing the users to plan and manage their appointments with efficient data-binding support.",
|
|
@@ -73,6 +73,6 @@
|
|
|
73
73
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
74
74
|
},
|
|
75
75
|
"typings": "index.d.ts",
|
|
76
|
-
"version": "22.2.
|
|
76
|
+
"version": "22.2.8",
|
|
77
77
|
"sideEffects": false
|
|
78
78
|
}
|
|
@@ -272,7 +272,7 @@ export function getDateFromString(date) {
|
|
|
272
272
|
/** @private */
|
|
273
273
|
var scrollWidth = null;
|
|
274
274
|
/** @private */
|
|
275
|
-
var pixelRatio =
|
|
275
|
+
var pixelRatio = null;
|
|
276
276
|
/**
|
|
277
277
|
* Method to get scrollbar width
|
|
278
278
|
*
|
|
@@ -283,6 +283,9 @@ export function getScrollBarWidth() {
|
|
|
283
283
|
if (scrollWidth !== null) {
|
|
284
284
|
return scrollWidth;
|
|
285
285
|
}
|
|
286
|
+
if (pixelRatio === null) {
|
|
287
|
+
pixelRatio = window.devicePixelRatio || window.screen.availWidth / document.documentElement.clientWidth;
|
|
288
|
+
}
|
|
286
289
|
var divNode = createElement('div');
|
|
287
290
|
var value = 0;
|
|
288
291
|
divNode.style.cssText = 'width:100px;height: 100px;overflow: scroll;position: absolute;top: -9999px;';
|
|
@@ -300,7 +303,7 @@ export function getScrollBarWidth() {
|
|
|
300
303
|
*/
|
|
301
304
|
export function resetScrollbarWidth() {
|
|
302
305
|
var zoomPixelRatio = window.devicePixelRatio || window.screen.availWidth / document.documentElement.clientWidth;
|
|
303
|
-
if (pixelRatio
|
|
306
|
+
if (pixelRatio && pixelRatio !== zoomPixelRatio) {
|
|
304
307
|
scrollWidth = null;
|
|
305
308
|
pixelRatio = zoomPixelRatio;
|
|
306
309
|
}
|