@syncfusion/ej2-base 29.1.36 → 29.2.4

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,3 +1,12 @@
1
+ /*!
2
+ * filename: index.d.ts
3
+ * version : 29.2.4
4
+ * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
1
10
  import * as _base from '@syncfusion/ej2-base';
2
11
 
3
12
  export declare namespace ej {
package/package.json CHANGED
@@ -1,167 +1,233 @@
1
1
  {
2
- "_from": "@syncfusion/ej2-base@*",
3
- "_id": "@syncfusion/ej2-base@29.1.33",
4
- "_inBundle": false,
5
- "_integrity": "sha512-Cd2JARYQajHGNZMw9jgai7ljvX07cgkuL14gkME5XZDFMmj+vEKWinx913Y5FMSLo83pQuUT9Sn2ppAZPtkmZA==",
6
- "_location": "/@syncfusion/ej2-base",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "@syncfusion/ej2-base@*",
12
- "name": "@syncfusion/ej2-base",
13
- "escapedName": "@syncfusion%2fej2-base",
14
- "scope": "@syncfusion",
15
- "rawSpec": "*",
16
- "saveSpec": null,
17
- "fetchSpec": "*"
18
- },
19
- "_requiredBy": [
20
- "/",
21
- "/@syncfusion/ej2",
22
- "/@syncfusion/ej2-angular-barcode-generator",
23
- "/@syncfusion/ej2-angular-base",
24
- "/@syncfusion/ej2-angular-calendars",
25
- "/@syncfusion/ej2-angular-charts",
26
- "/@syncfusion/ej2-angular-diagrams",
27
- "/@syncfusion/ej2-angular-documenteditor",
28
- "/@syncfusion/ej2-angular-gantt",
29
- "/@syncfusion/ej2-angular-grids",
30
- "/@syncfusion/ej2-angular-image-editor",
31
- "/@syncfusion/ej2-angular-kanban",
32
- "/@syncfusion/ej2-angular-layouts",
33
- "/@syncfusion/ej2-angular-pdfviewer",
34
- "/@syncfusion/ej2-angular-popups",
35
- "/@syncfusion/ej2-angular-richtexteditor",
36
- "/@syncfusion/ej2-angular-spreadsheet",
37
- "/@syncfusion/ej2-barcode-generator",
38
- "/@syncfusion/ej2-buttons",
39
- "/@syncfusion/ej2-calendars",
40
- "/@syncfusion/ej2-charts",
41
- "/@syncfusion/ej2-circulargauge",
42
- "/@syncfusion/ej2-data",
43
- "/@syncfusion/ej2-diagrams",
44
- "/@syncfusion/ej2-documenteditor",
45
- "/@syncfusion/ej2-drawings",
46
- "/@syncfusion/ej2-dropdowns",
47
- "/@syncfusion/ej2-excel-export",
48
- "/@syncfusion/ej2-filemanager",
49
- "/@syncfusion/ej2-gantt",
50
- "/@syncfusion/ej2-grids",
51
- "/@syncfusion/ej2-heatmap",
52
- "/@syncfusion/ej2-image-editor",
53
- "/@syncfusion/ej2-inplace-editor",
54
- "/@syncfusion/ej2-inputs",
55
- "/@syncfusion/ej2-interactive-chat",
56
- "/@syncfusion/ej2-kanban",
57
- "/@syncfusion/ej2-layouts",
58
- "/@syncfusion/ej2-lineargauge",
59
- "/@syncfusion/ej2-lists",
60
- "/@syncfusion/ej2-maps",
61
- "/@syncfusion/ej2-multicolumn-combobox",
62
- "/@syncfusion/ej2-navigations",
63
- "/@syncfusion/ej2-notifications",
64
- "/@syncfusion/ej2-pdf",
65
- "/@syncfusion/ej2-pdfviewer",
66
- "/@syncfusion/ej2-pivotview",
67
- "/@syncfusion/ej2-popups",
68
- "/@syncfusion/ej2-progressbar",
69
- "/@syncfusion/ej2-querybuilder",
70
- "/@syncfusion/ej2-react-barcode-generator",
71
- "/@syncfusion/ej2-react-base",
72
- "/@syncfusion/ej2-react-calendars",
73
- "/@syncfusion/ej2-react-charts",
74
- "/@syncfusion/ej2-react-diagrams",
75
- "/@syncfusion/ej2-react-documenteditor",
76
- "/@syncfusion/ej2-react-gantt",
77
- "/@syncfusion/ej2-react-grids",
78
- "/@syncfusion/ej2-react-image-editor",
79
- "/@syncfusion/ej2-react-kanban",
80
- "/@syncfusion/ej2-react-layouts",
81
- "/@syncfusion/ej2-react-pdfviewer",
82
- "/@syncfusion/ej2-react-popups",
83
- "/@syncfusion/ej2-react-richtexteditor",
84
- "/@syncfusion/ej2-react-spreadsheet",
85
- "/@syncfusion/ej2-ribbon",
86
- "/@syncfusion/ej2-richtexteditor",
87
- "/@syncfusion/ej2-schedule",
88
- "/@syncfusion/ej2-splitbuttons",
89
- "/@syncfusion/ej2-spreadsheet",
90
- "/@syncfusion/ej2-svg-base",
91
- "/@syncfusion/ej2-treegrid",
92
- "/@syncfusion/ej2-treemap",
93
- "/@syncfusion/ej2-vue-barcode-generator",
94
- "/@syncfusion/ej2-vue-base",
95
- "/@syncfusion/ej2-vue-calendars",
96
- "/@syncfusion/ej2-vue-charts",
97
- "/@syncfusion/ej2-vue-diagrams",
98
- "/@syncfusion/ej2-vue-documenteditor",
99
- "/@syncfusion/ej2-vue-gantt",
100
- "/@syncfusion/ej2-vue-grids",
101
- "/@syncfusion/ej2-vue-image-editor",
102
- "/@syncfusion/ej2-vue-kanban",
103
- "/@syncfusion/ej2-vue-layouts",
104
- "/@syncfusion/ej2-vue-pdfviewer",
105
- "/@syncfusion/ej2-vue-popups",
106
- "/@syncfusion/ej2-vue-richtexteditor",
107
- "/@syncfusion/ej2-vue-spreadsheet"
108
- ],
109
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-29.1.33.tgz",
110
- "_shasum": "0287b0275e13303d74f78913cab4eec6b695120e",
111
- "_spec": "@syncfusion/ej2-base@*",
112
- "_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
113
- "author": {
114
- "name": "Syncfusion Inc."
115
- },
116
- "bin": {
117
- "syncfusion-license": "bin/syncfusion-license.js"
118
- },
119
- "bugs": {
120
- "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
121
- },
122
- "bundleDependencies": false,
123
- "dependencies": {
124
- "@syncfusion/ej2-icons": "~29.1.33"
125
- },
126
- "deprecated": false,
127
- "description": "A common package of Essential JS 2 base libraries, methods and class definitions",
128
- "devDependencies": {},
129
- "es2015": "./dist/es6/ej2-base.es5.js",
130
- "homepage": "https://www.syncfusion.com/javascript-ui-controls",
131
- "keywords": [
132
- "ej2",
133
- "syncfusion",
134
- "ej2-base",
135
- "web-components",
136
- "typescript",
137
- "base",
138
- "common",
139
- "core",
140
- "library",
141
- "ajax",
142
- "animation",
143
- "internationalization",
144
- "drag",
145
- "drop",
146
- "drag-drop",
147
- "template",
148
- "template-engine",
149
- "rtl",
150
- "right-to-left",
151
- "persistence",
152
- "state-persistence",
153
- "theme",
154
- "styles"
155
- ],
156
- "license": "SEE LICENSE IN license",
157
- "main": "./dist/ej2-base.umd.min.js",
158
- "module": "./index.js",
159
- "name": "@syncfusion/ej2-base",
160
- "repository": {
161
- "type": "git",
162
- "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
163
- },
164
- "typings": "index.d.ts",
165
- "version": "29.1.36",
166
- "sideEffects": true
167
- }
2
+ "_from": "@syncfusion/ej2-base@*",
3
+ "_id": "@syncfusion/ej2-base@29.1.35",
4
+ "_inBundle": false,
5
+ "_integrity": "sha512-aPnobCdB3YvWbNlIQhfa+HIZTrFz0nixk0tGtO6WTt6qVQ2Y+ovr7+Jte8ExbiRKb4j4vls7NkUoLiSdHiJN1Q==",
6
+ "_location": "/@syncfusion/ej2-base",
7
+ "_phantomChildren": {},
8
+ "_requested": {
9
+ "type": "range",
10
+ "registry": true,
11
+ "raw": "@syncfusion/ej2-base@*",
12
+ "name": "@syncfusion/ej2-base",
13
+ "escapedName": "@syncfusion%2fej2-base",
14
+ "scope": "@syncfusion",
15
+ "rawSpec": "*",
16
+ "saveSpec": null,
17
+ "fetchSpec": "*"
18
+ },
19
+ "_requiredBy": [
20
+ "/",
21
+ "/@syncfusion/ej2",
22
+ "/@syncfusion/ej2-angular-barcode-generator",
23
+ "/@syncfusion/ej2-angular-base",
24
+ "/@syncfusion/ej2-angular-buttons",
25
+ "/@syncfusion/ej2-angular-calendars",
26
+ "/@syncfusion/ej2-angular-charts",
27
+ "/@syncfusion/ej2-angular-circulargauge",
28
+ "/@syncfusion/ej2-angular-diagrams",
29
+ "/@syncfusion/ej2-angular-documenteditor",
30
+ "/@syncfusion/ej2-angular-dropdowns",
31
+ "/@syncfusion/ej2-angular-filemanager",
32
+ "/@syncfusion/ej2-angular-gantt",
33
+ "/@syncfusion/ej2-angular-grids",
34
+ "/@syncfusion/ej2-angular-heatmap",
35
+ "/@syncfusion/ej2-angular-image-editor",
36
+ "/@syncfusion/ej2-angular-inplace-editor",
37
+ "/@syncfusion/ej2-angular-inputs",
38
+ "/@syncfusion/ej2-angular-interactive-chat",
39
+ "/@syncfusion/ej2-angular-kanban",
40
+ "/@syncfusion/ej2-angular-layouts",
41
+ "/@syncfusion/ej2-angular-lineargauge",
42
+ "/@syncfusion/ej2-angular-lists",
43
+ "/@syncfusion/ej2-angular-maps",
44
+ "/@syncfusion/ej2-angular-multicolumn-combobox",
45
+ "/@syncfusion/ej2-angular-navigations",
46
+ "/@syncfusion/ej2-angular-notifications",
47
+ "/@syncfusion/ej2-angular-pdfviewer",
48
+ "/@syncfusion/ej2-angular-pivotview",
49
+ "/@syncfusion/ej2-angular-popups",
50
+ "/@syncfusion/ej2-angular-progressbar",
51
+ "/@syncfusion/ej2-angular-querybuilder",
52
+ "/@syncfusion/ej2-angular-ribbon",
53
+ "/@syncfusion/ej2-angular-richtexteditor",
54
+ "/@syncfusion/ej2-angular-schedule",
55
+ "/@syncfusion/ej2-angular-splitbuttons",
56
+ "/@syncfusion/ej2-angular-spreadsheet",
57
+ "/@syncfusion/ej2-angular-treegrid",
58
+ "/@syncfusion/ej2-angular-treemap",
59
+ "/@syncfusion/ej2-barcode-generator",
60
+ "/@syncfusion/ej2-buttons",
61
+ "/@syncfusion/ej2-calendars",
62
+ "/@syncfusion/ej2-charts",
63
+ "/@syncfusion/ej2-circulargauge",
64
+ "/@syncfusion/ej2-data",
65
+ "/@syncfusion/ej2-diagrams",
66
+ "/@syncfusion/ej2-documenteditor",
67
+ "/@syncfusion/ej2-drawings",
68
+ "/@syncfusion/ej2-dropdowns",
69
+ "/@syncfusion/ej2-excel-export",
70
+ "/@syncfusion/ej2-filemanager",
71
+ "/@syncfusion/ej2-gantt",
72
+ "/@syncfusion/ej2-grids",
73
+ "/@syncfusion/ej2-heatmap",
74
+ "/@syncfusion/ej2-image-editor",
75
+ "/@syncfusion/ej2-inplace-editor",
76
+ "/@syncfusion/ej2-inputs",
77
+ "/@syncfusion/ej2-interactive-chat",
78
+ "/@syncfusion/ej2-kanban",
79
+ "/@syncfusion/ej2-layouts",
80
+ "/@syncfusion/ej2-lineargauge",
81
+ "/@syncfusion/ej2-lists",
82
+ "/@syncfusion/ej2-maps",
83
+ "/@syncfusion/ej2-multicolumn-combobox",
84
+ "/@syncfusion/ej2-navigations",
85
+ "/@syncfusion/ej2-notifications",
86
+ "/@syncfusion/ej2-pdf",
87
+ "/@syncfusion/ej2-pdfviewer",
88
+ "/@syncfusion/ej2-pivotview",
89
+ "/@syncfusion/ej2-popups",
90
+ "/@syncfusion/ej2-progressbar",
91
+ "/@syncfusion/ej2-querybuilder",
92
+ "/@syncfusion/ej2-react-barcode-generator",
93
+ "/@syncfusion/ej2-react-base",
94
+ "/@syncfusion/ej2-react-buttons",
95
+ "/@syncfusion/ej2-react-calendars",
96
+ "/@syncfusion/ej2-react-charts",
97
+ "/@syncfusion/ej2-react-circulargauge",
98
+ "/@syncfusion/ej2-react-diagrams",
99
+ "/@syncfusion/ej2-react-documenteditor",
100
+ "/@syncfusion/ej2-react-dropdowns",
101
+ "/@syncfusion/ej2-react-filemanager",
102
+ "/@syncfusion/ej2-react-gantt",
103
+ "/@syncfusion/ej2-react-grids",
104
+ "/@syncfusion/ej2-react-heatmap",
105
+ "/@syncfusion/ej2-react-image-editor",
106
+ "/@syncfusion/ej2-react-inplace-editor",
107
+ "/@syncfusion/ej2-react-inputs",
108
+ "/@syncfusion/ej2-react-interactive-chat",
109
+ "/@syncfusion/ej2-react-kanban",
110
+ "/@syncfusion/ej2-react-layouts",
111
+ "/@syncfusion/ej2-react-lineargauge",
112
+ "/@syncfusion/ej2-react-lists",
113
+ "/@syncfusion/ej2-react-maps",
114
+ "/@syncfusion/ej2-react-multicolumn-combobox",
115
+ "/@syncfusion/ej2-react-navigations",
116
+ "/@syncfusion/ej2-react-notifications",
117
+ "/@syncfusion/ej2-react-pdfviewer",
118
+ "/@syncfusion/ej2-react-pivotview",
119
+ "/@syncfusion/ej2-react-popups",
120
+ "/@syncfusion/ej2-react-progressbar",
121
+ "/@syncfusion/ej2-react-querybuilder",
122
+ "/@syncfusion/ej2-react-ribbon",
123
+ "/@syncfusion/ej2-react-richtexteditor",
124
+ "/@syncfusion/ej2-react-schedule",
125
+ "/@syncfusion/ej2-react-splitbuttons",
126
+ "/@syncfusion/ej2-react-spreadsheet",
127
+ "/@syncfusion/ej2-react-treegrid",
128
+ "/@syncfusion/ej2-react-treemap",
129
+ "/@syncfusion/ej2-ribbon",
130
+ "/@syncfusion/ej2-richtexteditor",
131
+ "/@syncfusion/ej2-schedule",
132
+ "/@syncfusion/ej2-splitbuttons",
133
+ "/@syncfusion/ej2-spreadsheet",
134
+ "/@syncfusion/ej2-svg-base",
135
+ "/@syncfusion/ej2-treegrid",
136
+ "/@syncfusion/ej2-treemap",
137
+ "/@syncfusion/ej2-vue-barcode-generator",
138
+ "/@syncfusion/ej2-vue-base",
139
+ "/@syncfusion/ej2-vue-buttons",
140
+ "/@syncfusion/ej2-vue-calendars",
141
+ "/@syncfusion/ej2-vue-charts",
142
+ "/@syncfusion/ej2-vue-circulargauge",
143
+ "/@syncfusion/ej2-vue-diagrams",
144
+ "/@syncfusion/ej2-vue-documenteditor",
145
+ "/@syncfusion/ej2-vue-dropdowns",
146
+ "/@syncfusion/ej2-vue-filemanager",
147
+ "/@syncfusion/ej2-vue-gantt",
148
+ "/@syncfusion/ej2-vue-grids",
149
+ "/@syncfusion/ej2-vue-heatmap",
150
+ "/@syncfusion/ej2-vue-image-editor",
151
+ "/@syncfusion/ej2-vue-inplace-editor",
152
+ "/@syncfusion/ej2-vue-inputs",
153
+ "/@syncfusion/ej2-vue-interactive-chat",
154
+ "/@syncfusion/ej2-vue-kanban",
155
+ "/@syncfusion/ej2-vue-layouts",
156
+ "/@syncfusion/ej2-vue-lineargauge",
157
+ "/@syncfusion/ej2-vue-lists",
158
+ "/@syncfusion/ej2-vue-maps",
159
+ "/@syncfusion/ej2-vue-multicolumn-combobox",
160
+ "/@syncfusion/ej2-vue-navigations",
161
+ "/@syncfusion/ej2-vue-notifications",
162
+ "/@syncfusion/ej2-vue-pdfviewer",
163
+ "/@syncfusion/ej2-vue-pivotview",
164
+ "/@syncfusion/ej2-vue-popups",
165
+ "/@syncfusion/ej2-vue-progressbar",
166
+ "/@syncfusion/ej2-vue-querybuilder",
167
+ "/@syncfusion/ej2-vue-ribbon",
168
+ "/@syncfusion/ej2-vue-richtexteditor",
169
+ "/@syncfusion/ej2-vue-schedule",
170
+ "/@syncfusion/ej2-vue-splitbuttons",
171
+ "/@syncfusion/ej2-vue-spreadsheet",
172
+ "/@syncfusion/ej2-vue-treegrid",
173
+ "/@syncfusion/ej2-vue-treemap"
174
+ ],
175
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-29.1.35.tgz",
176
+ "_shasum": "c87145beaccf7077bfa7cb5784e333f3d76ed2fa",
177
+ "_spec": "@syncfusion/ej2-base@*",
178
+ "_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
179
+ "author": {
180
+ "name": "Syncfusion Inc."
181
+ },
182
+ "bin": {
183
+ "syncfusion-license": "bin/syncfusion-license.js"
184
+ },
185
+ "bugs": {
186
+ "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
187
+ },
188
+ "bundleDependencies": false,
189
+ "dependencies": {
190
+ "@syncfusion/ej2-icons": "~29.2.4"
191
+ },
192
+ "deprecated": false,
193
+ "description": "A common package of Essential JS 2 base libraries, methods and class definitions",
194
+ "devDependencies": {},
195
+ "es2015": "./dist/es6/ej2-base.es5.js",
196
+ "homepage": "https://www.syncfusion.com/javascript-ui-controls",
197
+ "keywords": [
198
+ "ej2",
199
+ "syncfusion",
200
+ "ej2-base",
201
+ "web-components",
202
+ "typescript",
203
+ "base",
204
+ "common",
205
+ "core",
206
+ "library",
207
+ "ajax",
208
+ "animation",
209
+ "internationalization",
210
+ "drag",
211
+ "drop",
212
+ "drag-drop",
213
+ "template",
214
+ "template-engine",
215
+ "rtl",
216
+ "right-to-left",
217
+ "persistence",
218
+ "state-persistence",
219
+ "theme",
220
+ "styles"
221
+ ],
222
+ "license": "SEE LICENSE IN license",
223
+ "main": "./dist/ej2-base.umd.min.js",
224
+ "module": "./index.js",
225
+ "name": "@syncfusion/ej2-base",
226
+ "repository": {
227
+ "type": "git",
228
+ "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
229
+ },
230
+ "typings": "index.d.ts",
231
+ "version": "29.2.4",
232
+ "sideEffects": true
233
+ }
package/src/component.js CHANGED
@@ -130,6 +130,9 @@ var Component = /** @class */ (function (_super) {
130
130
  this.moduleLoader.clean();
131
131
  this.destroy();
132
132
  this.clearChanges();
133
+ if (this.enablePersistence && this.getModuleName() === 'grid') {
134
+ this.attachUnloadEvent();
135
+ }
133
136
  this.localObserver = new Observer(this);
134
137
  this.preRender();
135
138
  this.injectModules();