@syncfusion/ej2-base 24.1.46 → 24.2.3

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 : 24.1.46
3
+ * version : 24.2.3
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-base@*",
3
- "_id": "@syncfusion/ej2-base@24.1.41",
3
+ "_id": "@syncfusion/ej2-base@24.1.46",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-2MebJP8e01bIC9iriBZfZjwyKkDwgcNA/NICTg+yfGewhjq5s+3pkOkOyTBbl9sQxNAlynqZni2UiXYfyeRCDw==",
5
+ "_integrity": "sha512-Gy+nZPGP5xrGJsznrfD+M1buBFv1BGmbzwhQ4ZHPDA8vWjebqec7mhe2DqDyyCV2DIzy5sQFDJgPNbkz+8N0wg==",
6
6
  "_location": "/@syncfusion/ej2-base",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -22,25 +22,38 @@
22
22
  "/@syncfusion/ej2-angular-barcode-generator",
23
23
  "/@syncfusion/ej2-angular-base",
24
24
  "/@syncfusion/ej2-angular-buttons",
25
+ "/@syncfusion/ej2-angular-calendars",
25
26
  "/@syncfusion/ej2-angular-charts",
27
+ "/@syncfusion/ej2-angular-circulargauge",
26
28
  "/@syncfusion/ej2-angular-diagrams",
27
29
  "/@syncfusion/ej2-angular-documenteditor",
28
30
  "/@syncfusion/ej2-angular-dropdowns",
31
+ "/@syncfusion/ej2-angular-filemanager",
29
32
  "/@syncfusion/ej2-angular-gantt",
30
33
  "/@syncfusion/ej2-angular-grids",
34
+ "/@syncfusion/ej2-angular-heatmap",
31
35
  "/@syncfusion/ej2-angular-image-editor",
36
+ "/@syncfusion/ej2-angular-inplace-editor",
37
+ "/@syncfusion/ej2-angular-inputs",
32
38
  "/@syncfusion/ej2-angular-kanban",
39
+ "/@syncfusion/ej2-angular-layouts",
33
40
  "/@syncfusion/ej2-angular-lineargauge",
34
41
  "/@syncfusion/ej2-angular-lists",
42
+ "/@syncfusion/ej2-angular-maps",
35
43
  "/@syncfusion/ej2-angular-navigations",
44
+ "/@syncfusion/ej2-angular-notifications",
36
45
  "/@syncfusion/ej2-angular-pdfviewer",
37
46
  "/@syncfusion/ej2-angular-pivotview",
38
47
  "/@syncfusion/ej2-angular-popups",
48
+ "/@syncfusion/ej2-angular-progressbar",
39
49
  "/@syncfusion/ej2-angular-querybuilder",
50
+ "/@syncfusion/ej2-angular-ribbon",
40
51
  "/@syncfusion/ej2-angular-richtexteditor",
52
+ "/@syncfusion/ej2-angular-schedule",
41
53
  "/@syncfusion/ej2-angular-splitbuttons",
42
54
  "/@syncfusion/ej2-angular-spreadsheet",
43
55
  "/@syncfusion/ej2-angular-treegrid",
56
+ "/@syncfusion/ej2-angular-treemap",
44
57
  "/@syncfusion/ej2-barcode-generator",
45
58
  "/@syncfusion/ej2-buttons",
46
59
  "/@syncfusion/ej2-calendars",
@@ -75,25 +88,38 @@
75
88
  "/@syncfusion/ej2-react-barcode-generator",
76
89
  "/@syncfusion/ej2-react-base",
77
90
  "/@syncfusion/ej2-react-buttons",
91
+ "/@syncfusion/ej2-react-calendars",
78
92
  "/@syncfusion/ej2-react-charts",
93
+ "/@syncfusion/ej2-react-circulargauge",
79
94
  "/@syncfusion/ej2-react-diagrams",
80
95
  "/@syncfusion/ej2-react-documenteditor",
81
96
  "/@syncfusion/ej2-react-dropdowns",
97
+ "/@syncfusion/ej2-react-filemanager",
82
98
  "/@syncfusion/ej2-react-gantt",
83
99
  "/@syncfusion/ej2-react-grids",
100
+ "/@syncfusion/ej2-react-heatmap",
84
101
  "/@syncfusion/ej2-react-image-editor",
102
+ "/@syncfusion/ej2-react-inplace-editor",
103
+ "/@syncfusion/ej2-react-inputs",
85
104
  "/@syncfusion/ej2-react-kanban",
105
+ "/@syncfusion/ej2-react-layouts",
86
106
  "/@syncfusion/ej2-react-lineargauge",
87
107
  "/@syncfusion/ej2-react-lists",
108
+ "/@syncfusion/ej2-react-maps",
88
109
  "/@syncfusion/ej2-react-navigations",
110
+ "/@syncfusion/ej2-react-notifications",
89
111
  "/@syncfusion/ej2-react-pdfviewer",
90
112
  "/@syncfusion/ej2-react-pivotview",
91
113
  "/@syncfusion/ej2-react-popups",
114
+ "/@syncfusion/ej2-react-progressbar",
92
115
  "/@syncfusion/ej2-react-querybuilder",
116
+ "/@syncfusion/ej2-react-ribbon",
93
117
  "/@syncfusion/ej2-react-richtexteditor",
118
+ "/@syncfusion/ej2-react-schedule",
94
119
  "/@syncfusion/ej2-react-splitbuttons",
95
120
  "/@syncfusion/ej2-react-spreadsheet",
96
121
  "/@syncfusion/ej2-react-treegrid",
122
+ "/@syncfusion/ej2-react-treemap",
97
123
  "/@syncfusion/ej2-ribbon",
98
124
  "/@syncfusion/ej2-richtexteditor",
99
125
  "/@syncfusion/ej2-schedule",
@@ -105,28 +131,41 @@
105
131
  "/@syncfusion/ej2-vue-barcode-generator",
106
132
  "/@syncfusion/ej2-vue-base",
107
133
  "/@syncfusion/ej2-vue-buttons",
134
+ "/@syncfusion/ej2-vue-calendars",
108
135
  "/@syncfusion/ej2-vue-charts",
136
+ "/@syncfusion/ej2-vue-circulargauge",
109
137
  "/@syncfusion/ej2-vue-diagrams",
110
138
  "/@syncfusion/ej2-vue-documenteditor",
111
139
  "/@syncfusion/ej2-vue-dropdowns",
140
+ "/@syncfusion/ej2-vue-filemanager",
112
141
  "/@syncfusion/ej2-vue-gantt",
113
142
  "/@syncfusion/ej2-vue-grids",
143
+ "/@syncfusion/ej2-vue-heatmap",
114
144
  "/@syncfusion/ej2-vue-image-editor",
145
+ "/@syncfusion/ej2-vue-inplace-editor",
146
+ "/@syncfusion/ej2-vue-inputs",
115
147
  "/@syncfusion/ej2-vue-kanban",
148
+ "/@syncfusion/ej2-vue-layouts",
116
149
  "/@syncfusion/ej2-vue-lineargauge",
117
150
  "/@syncfusion/ej2-vue-lists",
151
+ "/@syncfusion/ej2-vue-maps",
118
152
  "/@syncfusion/ej2-vue-navigations",
153
+ "/@syncfusion/ej2-vue-notifications",
119
154
  "/@syncfusion/ej2-vue-pdfviewer",
120
155
  "/@syncfusion/ej2-vue-pivotview",
121
156
  "/@syncfusion/ej2-vue-popups",
157
+ "/@syncfusion/ej2-vue-progressbar",
122
158
  "/@syncfusion/ej2-vue-querybuilder",
159
+ "/@syncfusion/ej2-vue-ribbon",
123
160
  "/@syncfusion/ej2-vue-richtexteditor",
161
+ "/@syncfusion/ej2-vue-schedule",
124
162
  "/@syncfusion/ej2-vue-splitbuttons",
125
163
  "/@syncfusion/ej2-vue-spreadsheet",
126
- "/@syncfusion/ej2-vue-treegrid"
164
+ "/@syncfusion/ej2-vue-treegrid",
165
+ "/@syncfusion/ej2-vue-treemap"
127
166
  ],
128
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-24.1.41.tgz",
129
- "_shasum": "b825b6fb63456a2f20d974343718f975a588f5ea",
167
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-24.1.46.tgz",
168
+ "_shasum": "704e255d3741d012416d9155d31b02322e1e8c02",
130
169
  "_spec": "@syncfusion/ej2-base@*",
131
170
  "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
132
171
  "author": {
@@ -140,7 +179,7 @@
140
179
  },
141
180
  "bundleDependencies": false,
142
181
  "dependencies": {
143
- "@syncfusion/ej2-icons": "~24.1.41"
182
+ "@syncfusion/ej2-icons": "~24.2.3"
144
183
  },
145
184
  "deprecated": false,
146
185
  "description": "A common package of Essential JS 2 base libraries, methods and class definitions",
@@ -181,6 +220,6 @@
181
220
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
182
221
  },
183
222
  "typings": "index.d.ts",
184
- "version": "24.1.46",
223
+ "version": "24.2.3",
185
224
  "sideEffects": true
186
225
  }
package/src/base.d.ts CHANGED
@@ -139,3 +139,4 @@ export declare function getComponent<T>(elem: HTMLElement | string, comp: string
139
139
  * @private
140
140
  */
141
141
  export declare function removeChildInstance(element: HTMLElement): void;
142
+ export declare let proxyToRaw: Function, setProxyToRaw: (toRaw: Function) => void;
package/src/base.js CHANGED
@@ -257,7 +257,12 @@ var Base = /** @class */ (function () {
257
257
  var _this = this;
258
258
  // eslint-disable-next-line
259
259
  this.element.ej2_instances =
260
- this.element.ej2_instances ? this.element.ej2_instances.filter(function (i) { return i !== _this; })
260
+ this.element.ej2_instances ? this.element.ej2_instances.filter(function (i) {
261
+ if (proxyToRaw) {
262
+ return proxyToRaw(i) !== proxyToRaw(_this);
263
+ }
264
+ return i !== _this;
265
+ })
261
266
  : [];
262
267
  removeClass([this.element], ['e-' + this.getModuleName()]);
263
268
  if (this.element.ej2_instances.length === 0) {
@@ -320,3 +325,4 @@ export function removeChildInstance(element) {
320
325
  }
321
326
  }
322
327
  }
328
+ export var proxyToRaw, setProxyToRaw = function (toRaw) { proxyToRaw = toRaw; };
@@ -338,10 +338,12 @@ var DateParser = /** @class */ (function () {
338
338
  }
339
339
  }
340
340
  else {
341
+ var cultureOptions = ['en-US', 'en-MH', 'en-MP'];
341
342
  // eslint-disable-next-line
342
343
  matchString = ((prop === 'month') && (!parseOptions.isIslamic) && (parseOptions.culture === 'en' || parseOptions.culture === 'en-GB' || parseOptions.culture === 'en-US'))
343
344
  ? matchString[0].toUpperCase() + matchString.substring(1).toLowerCase() : matchString;
344
- matchString = ((prop !== 'month') && (prop === 'designator') && parseOptions.culture === 'en-GB') ? matchString.toLowerCase() : matchString;
345
+ matchString = ((prop !== 'month') && (prop === 'designator') && parseOptions.culture && parseOptions.culture.indexOf('en-') !== -1 && cultureOptions.indexOf(parseOptions.culture) === -1)
346
+ ? matchString.toLowerCase() : matchString;
345
347
  // eslint-disable-next-line
346
348
  retOptions[prop] = parseOptions[prop][matchString];
347
349
  }
package/src/template.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Template Engine
3
3
  */
4
- var LINES = new RegExp('\\n\\s+|(?<=>)\\s{1,}(?=<)', 'g');
4
+ var LINES = new RegExp('\\n|\\r|\\s\\s+', 'g');
5
5
  var QUOTES = new RegExp(/'|"/g);
6
6
  var IF_STMT = new RegExp('if ?\\(');
7
7
  var ELSEIF_STMT = new RegExp('else if ?\\(');