@syncfusion/ej2-base 23.2.4 → 23.2.6

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 : 23.2.4
3
+ * version : 23.2.6
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
@@ -174,7 +174,7 @@ exports.config = {
174
174
  imageBPath: '/actual/' + browser.pixDiff.browserName + '/' + fileName,
175
175
  filter: ['grayScale'],
176
176
  debug: true,
177
- hideShift: true,
177
+ hideShift: true
178
178
  };
179
179
  var doneFn = arguments[arguments.length - 1];
180
180
  if (typeof opt === 'object' && Object.keys(opt).length) {
@@ -267,16 +267,25 @@ if (config.browsers && config.browsers.length) {
267
267
  for (var i = 0; i < config.browsers.length; i++) {
268
268
  var browserName = config.browsers[i];
269
269
  if (browserName === 'chrome' && enableW3c === '{W3cenabled}') {
270
- exports.config.multiCapabilities.push({
271
- 'browserName': browserName,
272
- 'goog:chromeOptions': { //disable w3c here
273
- w3c: false,
270
+ exports.config.capabilities = {
271
+ 'browserName': 'chrome',
272
+ 'chromeOptions': {
273
+ 'args': [
274
+ '--headless', // Run in headless mode
275
+ '--disable-gpu'
276
+ ]
274
277
  }
275
- });
278
+ };
276
279
  } else {
277
- exports.config.multiCapabilities.push({
278
- 'browserName': browserName
279
- });
280
+ exports.config.capabilities = {
281
+ 'browserName': 'chrome',
282
+ 'chromeOptions': {
283
+ 'args': [
284
+ '--headless', // Run in headless mode
285
+ '--disable-gpu'
286
+ ]
287
+ }
288
+ };
280
289
  }
281
290
  }
282
291
  } else {
@@ -294,19 +303,25 @@ if (config.browsers && config.browsers.length) {
294
303
  'browserName': 'firefox'
295
304
  });
296
305
  if (enableW3c === '{W3cenabled}') {
297
- exports.config.multiCapabilities.push({
298
- 'browserName': 'chrome',
299
- 'goog:chromeOptions': { //disable w3c here
300
- w3c: false,
301
- }
302
- });
303
- } else {
304
- exports.config.multiCapabilities.push({
306
+ exports.config.capabilities = {
305
307
  'browserName': 'chrome',
306
308
  'chromeOptions': {
307
- 'args': ['no-sandbox']
309
+ 'args': [
310
+ '--headless', // Run in headless mode
311
+ '--disable-gpu'
312
+ ]
308
313
  }
309
- });
314
+ };
315
+ } else {
316
+ exports.config.capabilities = {
317
+ 'browserName': 'chrome',
318
+ 'chromeOptions': {
319
+ 'args': [
320
+ '--headless', // Run in headless mode
321
+ '--disable-gpu'
322
+ ]
323
+ }
324
+ };
310
325
  }
311
326
  }
312
327
  exports.config.seleniumAddress = config.seleniumAddress || 'http://localhost:4444/wd/hub/';
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-base@*",
3
- "_id": "@syncfusion/ej2-base@23.1.41",
3
+ "_id": "@syncfusion/ej2-base@23.2.4",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-vLRfnHiVdeB2NPLY1TFLuE3dqcyHEdHIkehsveZZmdhVCD0HEwrhK0wYzXSFG/KtP3FoM9Xkm/9bhZWx5Emtkw==",
5
+ "_integrity": "sha512-TzxavHSz2VRDag9iNcOUlV6DJE+uE9nYw6ziwZTPCczEhvgFzI+Ef3YuhfAUGk+TcjYne4LfyDz4NqoRWF+7cw==",
6
6
  "_location": "/@syncfusion/ej2-base",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -21,39 +21,20 @@
21
21
  "/@syncfusion/ej2",
22
22
  "/@syncfusion/ej2-angular-barcode-generator",
23
23
  "/@syncfusion/ej2-angular-base",
24
- "/@syncfusion/ej2-angular-buttons",
25
24
  "/@syncfusion/ej2-angular-calendars",
26
25
  "/@syncfusion/ej2-angular-charts",
27
- "/@syncfusion/ej2-angular-circulargauge",
28
26
  "/@syncfusion/ej2-angular-diagrams",
29
27
  "/@syncfusion/ej2-angular-documenteditor",
30
28
  "/@syncfusion/ej2-angular-dropdowns",
31
29
  "/@syncfusion/ej2-angular-filemanager",
32
- "/@syncfusion/ej2-angular-gantt",
33
30
  "/@syncfusion/ej2-angular-grids",
34
- "/@syncfusion/ej2-angular-heatmap",
35
31
  "/@syncfusion/ej2-angular-image-editor",
36
- "/@syncfusion/ej2-angular-inplace-editor",
37
- "/@syncfusion/ej2-angular-inputs",
38
- "/@syncfusion/ej2-angular-kanban",
39
- "/@syncfusion/ej2-angular-layouts",
40
- "/@syncfusion/ej2-angular-lineargauge",
41
- "/@syncfusion/ej2-angular-lists",
42
- "/@syncfusion/ej2-angular-maps",
43
- "/@syncfusion/ej2-angular-navigations",
44
- "/@syncfusion/ej2-angular-notifications",
45
32
  "/@syncfusion/ej2-angular-pdfviewer",
46
33
  "/@syncfusion/ej2-angular-pivotview",
47
- "/@syncfusion/ej2-angular-popups",
48
34
  "/@syncfusion/ej2-angular-progressbar",
49
- "/@syncfusion/ej2-angular-querybuilder",
50
- "/@syncfusion/ej2-angular-ribbon",
51
35
  "/@syncfusion/ej2-angular-richtexteditor",
52
- "/@syncfusion/ej2-angular-schedule",
53
- "/@syncfusion/ej2-angular-splitbuttons",
54
36
  "/@syncfusion/ej2-angular-spreadsheet",
55
37
  "/@syncfusion/ej2-angular-treegrid",
56
- "/@syncfusion/ej2-angular-treemap",
57
38
  "/@syncfusion/ej2-barcode-generator",
58
39
  "/@syncfusion/ej2-buttons",
59
40
  "/@syncfusion/ej2-calendars",
@@ -87,39 +68,20 @@
87
68
  "/@syncfusion/ej2-querybuilder",
88
69
  "/@syncfusion/ej2-react-barcode-generator",
89
70
  "/@syncfusion/ej2-react-base",
90
- "/@syncfusion/ej2-react-buttons",
91
71
  "/@syncfusion/ej2-react-calendars",
92
72
  "/@syncfusion/ej2-react-charts",
93
- "/@syncfusion/ej2-react-circulargauge",
94
73
  "/@syncfusion/ej2-react-diagrams",
95
74
  "/@syncfusion/ej2-react-documenteditor",
96
75
  "/@syncfusion/ej2-react-dropdowns",
97
76
  "/@syncfusion/ej2-react-filemanager",
98
- "/@syncfusion/ej2-react-gantt",
99
77
  "/@syncfusion/ej2-react-grids",
100
- "/@syncfusion/ej2-react-heatmap",
101
78
  "/@syncfusion/ej2-react-image-editor",
102
- "/@syncfusion/ej2-react-inplace-editor",
103
- "/@syncfusion/ej2-react-inputs",
104
- "/@syncfusion/ej2-react-kanban",
105
- "/@syncfusion/ej2-react-layouts",
106
- "/@syncfusion/ej2-react-lineargauge",
107
- "/@syncfusion/ej2-react-lists",
108
- "/@syncfusion/ej2-react-maps",
109
- "/@syncfusion/ej2-react-navigations",
110
- "/@syncfusion/ej2-react-notifications",
111
79
  "/@syncfusion/ej2-react-pdfviewer",
112
80
  "/@syncfusion/ej2-react-pivotview",
113
- "/@syncfusion/ej2-react-popups",
114
81
  "/@syncfusion/ej2-react-progressbar",
115
- "/@syncfusion/ej2-react-querybuilder",
116
- "/@syncfusion/ej2-react-ribbon",
117
82
  "/@syncfusion/ej2-react-richtexteditor",
118
- "/@syncfusion/ej2-react-schedule",
119
- "/@syncfusion/ej2-react-splitbuttons",
120
83
  "/@syncfusion/ej2-react-spreadsheet",
121
84
  "/@syncfusion/ej2-react-treegrid",
122
- "/@syncfusion/ej2-react-treemap",
123
85
  "/@syncfusion/ej2-ribbon",
124
86
  "/@syncfusion/ej2-richtexteditor",
125
87
  "/@syncfusion/ej2-schedule",
@@ -130,42 +92,23 @@
130
92
  "/@syncfusion/ej2-treemap",
131
93
  "/@syncfusion/ej2-vue-barcode-generator",
132
94
  "/@syncfusion/ej2-vue-base",
133
- "/@syncfusion/ej2-vue-buttons",
134
95
  "/@syncfusion/ej2-vue-calendars",
135
96
  "/@syncfusion/ej2-vue-charts",
136
- "/@syncfusion/ej2-vue-circulargauge",
137
97
  "/@syncfusion/ej2-vue-diagrams",
138
98
  "/@syncfusion/ej2-vue-documenteditor",
139
99
  "/@syncfusion/ej2-vue-dropdowns",
140
100
  "/@syncfusion/ej2-vue-filemanager",
141
- "/@syncfusion/ej2-vue-gantt",
142
101
  "/@syncfusion/ej2-vue-grids",
143
- "/@syncfusion/ej2-vue-heatmap",
144
102
  "/@syncfusion/ej2-vue-image-editor",
145
- "/@syncfusion/ej2-vue-inplace-editor",
146
- "/@syncfusion/ej2-vue-inputs",
147
- "/@syncfusion/ej2-vue-kanban",
148
- "/@syncfusion/ej2-vue-layouts",
149
- "/@syncfusion/ej2-vue-lineargauge",
150
- "/@syncfusion/ej2-vue-lists",
151
- "/@syncfusion/ej2-vue-maps",
152
- "/@syncfusion/ej2-vue-navigations",
153
- "/@syncfusion/ej2-vue-notifications",
154
103
  "/@syncfusion/ej2-vue-pdfviewer",
155
104
  "/@syncfusion/ej2-vue-pivotview",
156
- "/@syncfusion/ej2-vue-popups",
157
105
  "/@syncfusion/ej2-vue-progressbar",
158
- "/@syncfusion/ej2-vue-querybuilder",
159
- "/@syncfusion/ej2-vue-ribbon",
160
106
  "/@syncfusion/ej2-vue-richtexteditor",
161
- "/@syncfusion/ej2-vue-schedule",
162
- "/@syncfusion/ej2-vue-splitbuttons",
163
107
  "/@syncfusion/ej2-vue-spreadsheet",
164
- "/@syncfusion/ej2-vue-treegrid",
165
- "/@syncfusion/ej2-vue-treemap"
108
+ "/@syncfusion/ej2-vue-treegrid"
166
109
  ],
167
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-23.1.41.tgz",
168
- "_shasum": "3051b44cd378a829734a06f78f46ceea25160ecc",
110
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-base/-/ej2-base-23.2.4.tgz",
111
+ "_shasum": "04046c324b74c7819aa1513e8fb740824859690f",
169
112
  "_spec": "@syncfusion/ej2-base@*",
170
113
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
171
114
  "author": {
@@ -220,6 +163,6 @@
220
163
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
221
164
  },
222
165
  "typings": "index.d.ts",
223
- "version": "23.2.4",
166
+ "version": "23.2.6",
224
167
  "sideEffects": true
225
168
  }
package/src/template.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Template Engine
3
3
  */
4
- var LINES = new RegExp('\\n|\\r|\\s\\s+', 'g');
4
+ var LINES = new RegExp('[\\n\\r\\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 ?\\(');
@@ -94,7 +94,7 @@ function evalExp(str, nameSpace, helper, ignorePrefix) {
94
94
  str = str.replace(value, singleSpace);
95
95
  });
96
96
  }
97
- return str.replace(LINES, '').replace(DBL_QUOTED_STR, '\'$1\'').replace(exp,
97
+ return str.replace(LINES, ' ').replace(DBL_QUOTED_STR, '\'$1\'').replace(exp,
98
98
  // eslint-disable-next-line
99
99
  function (match, cnt, offset, matchStr) {
100
100
  var SPECIAL_CHAR = /@|#|\$/gm;