@syncfusion/ej2-schedule 26.2.7 → 26.2.10

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 26.2.7
3
+ * version : 26.2.10
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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@26.2.5",
3
+ "_id": "@syncfusion/ej2-schedule@26.2.7",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-+jOCiEvgLpIJPh9//QtWuHSST8G7tk+pQdWPfGzj6Uf0KDJYu0Hmm0AwlMt1m0QsK3dQmEBYGm0G5gZzFUFeXw==",
5
+ "_integrity": "sha512-EC+hJjCqWqPSCu/AZzMefxqNZMVRlcMcTsjLSDC4fvsfZIEu9ASnmzHWOk2I0ErDqXLl68lI9Jpj4RRtoTNs+g==",
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.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-26.2.5.tgz",
27
- "_shasum": "d6eb25bd8e2caea44116521572e59580a2649e15",
26
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-schedule/-/ej2-schedule-26.2.7.tgz",
27
+ "_shasum": "341e344c55540b547fe61f4874c25b1b84281e83",
28
28
  "_spec": "@syncfusion/ej2-schedule@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
30
30
  "author": {
@@ -35,16 +35,16 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~26.2.5",
39
- "@syncfusion/ej2-buttons": "~26.2.7",
40
- "@syncfusion/ej2-calendars": "~26.2.5",
41
- "@syncfusion/ej2-data": "~26.2.5",
42
- "@syncfusion/ej2-dropdowns": "~26.2.7",
43
- "@syncfusion/ej2-excel-export": "~26.2.5",
44
- "@syncfusion/ej2-inputs": "~26.2.5",
45
- "@syncfusion/ej2-lists": "~26.2.5",
46
- "@syncfusion/ej2-navigations": "~26.2.7",
47
- "@syncfusion/ej2-popups": "~26.2.5",
38
+ "@syncfusion/ej2-base": "~26.2.10",
39
+ "@syncfusion/ej2-buttons": "~26.2.10",
40
+ "@syncfusion/ej2-calendars": "~26.2.10",
41
+ "@syncfusion/ej2-data": "~26.2.10",
42
+ "@syncfusion/ej2-dropdowns": "~26.2.10",
43
+ "@syncfusion/ej2-excel-export": "~26.2.10",
44
+ "@syncfusion/ej2-inputs": "~26.2.10",
45
+ "@syncfusion/ej2-lists": "~26.2.10",
46
+ "@syncfusion/ej2-navigations": "~26.2.10",
47
+ "@syncfusion/ej2-popups": "~26.2.10",
48
48
  "@types/requirejs": "^2.1.37"
49
49
  },
50
50
  "deprecated": false,
@@ -74,6 +74,6 @@
74
74
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
75
75
  },
76
76
  "typings": "index.d.ts",
77
- "version": "26.2.7",
77
+ "version": "26.2.10",
78
78
  "sideEffects": false
79
79
  }
@@ -17,6 +17,7 @@ export declare class VirtualScroll {
17
17
  isRemoteRefresh: boolean;
18
18
  private startIndex;
19
19
  existingDataCollection: TdData[];
20
+ enableTransition: boolean;
20
21
  constructor(parent: Schedule);
21
22
  private addEventListener;
22
23
  private removeEventListener;
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
- import { append, addClass, remove, isNullOrUndefined, setStyleAttribute, createElement, prepend } from '@syncfusion/ej2-base';
2
+ import { append, addClass, remove, isNullOrUndefined, setStyleAttribute, createElement, prepend, removeClass } from '@syncfusion/ej2-base';
3
3
  import * as events from '../base/constant';
4
4
  import * as cls from '../base/css-constant';
5
5
  import * as util from '../base/util';
@@ -15,6 +15,7 @@ var VirtualScroll = /** @class */ (function () {
15
15
  this.averageRowHeight = 0;
16
16
  this.startIndex = 0;
17
17
  this.existingDataCollection = [];
18
+ this.enableTransition = true;
18
19
  this.parent = parent;
19
20
  this.addEventListener();
20
21
  }
@@ -104,6 +105,10 @@ var VirtualScroll = /** @class */ (function () {
104
105
  var resWrap = this.parent.element.querySelector('.' + cls.RESOURCE_COLUMN_WRAP_CLASS);
105
106
  var conWrap = this.parent.element.querySelector('.' + cls.CONTENT_WRAP_CLASS);
106
107
  var eventWrap = this.parent.element.querySelector('.' + cls.EVENT_TABLE_CLASS);
108
+ if (!this.parent.rowAutoHeight) {
109
+ this.enableTransition = false;
110
+ removeClass([conWrap, resWrap], 'e-transition');
111
+ }
107
112
  var firstTDIndex = parseInt(resWrap.querySelector('tbody td').getAttribute('data-group-index'), 10);
108
113
  var endIndex = (firstTDIndex + this.renderedLength);
109
114
  firstTDIndex = (endIndex > this.parent.resourceBase.expandedResources.length) ?
@@ -1280,6 +1280,12 @@ var Schedule = /** @class */ (function (_super) {
1280
1280
  this.virtualScrollModule.isRemoteRefresh = false;
1281
1281
  }
1282
1282
  this.refreshEvents(isRemoteRefresh);
1283
+ if (this.virtualScrollModule && !this.virtualScrollModule.enableTransition) {
1284
+ var resWrap = this.element.querySelector('.' + cls.RESOURCE_COLUMN_WRAP_CLASS);
1285
+ var conWrap = this.element.querySelector('.' + cls.CONTENT_WRAP_CLASS);
1286
+ this.virtualScrollModule.enableTransition = true;
1287
+ addClass([conWrap, resWrap], 'e-transition');
1288
+ }
1283
1289
  }
1284
1290
  else {
1285
1291
  this.notify(events.contentReady, {});