ru.coon 2.7.36 → 2.7.37

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,9 @@
1
+ # Version 2.7.37, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9c30533f4a94a056b7723c7bf7e07379a979e3fd)
2
+ * ## Fixes
3
+ * <span style='color:red'> HT-9272 ExportReportDataToFilePlugin add property exportAllRows</span> ([58af00], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/58af00a085a964d6fcc2c2eca42ec98d4137b373))
4
+
5
+ * update: CHANGELOG.md ([0ed1ed], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0ed1edefa3a1a5c3bee5bf4cac0da1ba663026b3))
6
+
1
7
  # Version 2.7.36, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9857ca304c8428bc53cddfa0e1476f6af4ec1778)
2
8
  * ## Fixes
3
9
  * <span style='color:red'> HT-9057 GridEditorsPlugin fix date format</span> ([b702c4], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b702c4eefab3c75b8c2be1857d510e70b9c0e52a))
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "ru.coon"
5
5
  },
6
6
  "description": "",
7
- "version": "2.7.36",
7
+ "version": "2.7.37",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
@@ -362,7 +362,7 @@ Ext.define('Coon.report.plugin.configPanel.CopyRowsFromGridConfigPanel', {
362
362
  getAllRowsCheckBox: function() {
363
363
  return {
364
364
  xtype: 'checkbox',
365
- boxLabel: 'выгружать все строки',
365
+ boxLabel: 'выгружать все строки (если false, то выгружаются только выделенные)',
366
366
  name: 'exportAllRows',
367
367
  value: true,
368
368
  };
@@ -75,6 +75,7 @@ Ext.define('Coon.report.plugin.configPanel.ExportReportDataToFilePluginConfigPan
75
75
  },
76
76
  },
77
77
  this.createAddButtonPanel(),
78
+ this.getAllRowsCheckBox(),
78
79
  this.createCustomColumnsFieldset()
79
80
  ],
80
81
  defaults: {
@@ -116,6 +117,11 @@ Ext.define('Coon.report.plugin.configPanel.ExportReportDataToFilePluginConfigPan
116
117
  Конфиг. Для выгрузки в csv можно задать значение параметров:
117
118
  <br>border - символ начала и окончания строки, по умолчанию '"' (двойные кавычки)
118
119
  <br>separator - разделитель значений ячеек, по умолчанию ',' (запятая)
120
+ <br>Пример конфига:
121
+ {
122
+ border: '',
123
+ separator: ';'
124
+ }
119
125
  </div>`,
120
126
  },
121
127
  {
@@ -138,7 +144,7 @@ Ext.define('Coon.report.plugin.configPanel.ExportReportDataToFilePluginConfigPan
138
144
  },
139
145
  checkboxName: 'allowUserColumns',
140
146
  checkboxToggle: true,
141
- collapsible: true,
147
+ collapsed: true,
142
148
  labelWidth: 130,
143
149
  width: '100%',
144
150
  title: 'Пользовательский набор полей для экспорта',
@@ -9,6 +9,7 @@ Ext.define('Coon.report.plugin.grid.ExportReportDataToFilePlugin', {
9
9
  reportFileName: undefined,
10
10
  appendDateToFileName: true,
11
11
  exportFileFormat: undefined,
12
+ exportAllRows: true,
12
13
  allowUserSelectColumnsToUpload: undefined,
13
14
  addToSearchButton: false,
14
15
  },
@@ -166,7 +167,7 @@ Ext.define('Coon.report.plugin.grid.ExportReportDataToFilePlugin', {
166
167
  getRecordsToPrint: function() {
167
168
  this.config.toExcel = [];
168
169
  const selectedRecords = this.getSelectedRecords();
169
- const records = selectedRecords.length ? selectedRecords : this.grid.getStore().getRange();
170
+ const records = !this.exportAllRows && selectedRecords.length ? selectedRecords : this.grid.getStore().getRange();
170
171
 
171
172
  records.forEach((rec) => {
172
173
  const recData = rec.getData();
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '2.7.36',
3
+ number: '2.7.37',
4
4
  });