ru.coon 2.8.24 → 2.8.26

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 CHANGED
@@ -1,3 +1,15 @@
1
+ # Version 2.8.26, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e2d42324a8e9948d79584e4f9751f126405ef103)
2
+ * ## Features
3
+ * <span style='color:green'>feat: add style check before addCellStyle</span> ([ff4abf], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ff4abf157a32ec98720caabafc2f65749b0c98bf))
4
+
5
+ * upd ([009237], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/009237a355c8aa9928fd919b90ff8e9f750db98e))
6
+ * relocate and rename method ([a2a61b], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a2a61b2a6dcd4d4622becfc2f11602a97c9d49d8))
7
+ * update: CHANGELOG.md ([d4b2c7], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d4b2c7e1effb2bd46eb587a3d5bf2d03cbc27053))
8
+
9
+ # Version 2.8.25, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0ead4798f8be665c09627567bb8ac2b473d6d429)
10
+ # Version 2.8.24, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/51b87374eb81c47d86d6fa33c8f25eaa9dce5d18)
11
+ * update: CHANGELOG.md ([82435f], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/82435f28e840a46cc9e30ec228a8778c22fc75c4))
12
+
1
13
  # Version 2.8.24, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/c4c48ae9746e9698a71cee189e9d4193ee08b0ad)
2
14
  * ## Fixes
3
15
  * <span style='color:red'> refactoring CopyRowsFromGrid, add Coon.perf</span> ([347b0c], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/347b0c16446273fbe50dcd3a460d8454566355d1))
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "ru.coon"
5
5
  },
6
6
  "description": "",
7
- "version": "2.8.24",
7
+ "version": "2.8.26",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
@@ -326,6 +326,7 @@ Ext.define('Coon.report.component.ReportPanel', {
326
326
  }, {id: Ext.id(false, 'fakeid-')});
327
327
  const data = [...Array(len)].map(getRow);
328
328
  this.grid.getStore().loadData(data);
329
+ return 'complete loadFakeData';
329
330
  },
330
331
 
331
332
  initComponent: function() {
@@ -268,11 +268,22 @@ Ext.define('Coon.report.plugin.grid.exporters.xlsxExporter', {
268
268
  }
269
269
  }
270
270
 
271
- col['styleId'] = workbook.addCellStyle(styles);
271
+ if (this.isNotEmptyStyle(styles)) {
272
+ col['styleId'] = workbook.addCellStyle(styles);
273
+ }
272
274
 
273
275
  result.push(JSON.parse(JSON.stringify(col)));
274
276
  }, this);
275
277
  return result;
276
278
  },
277
279
 
280
+ isNotEmptyStyle (styles) {
281
+ return Object.values(styles).find((el) => {
282
+ if (Ext.isObject(el) && Object.keys(el)[0]) {
283
+ return true;
284
+ } else if (!Ext.isObject(el) && el !== null && el !== undefined) {
285
+ return true;
286
+ }
287
+ });
288
+ },
278
289
  });
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '2.8.24',
3
+ number: '2.8.26',
4
4
  });