ru.coon 2.6.13 → 2.6.15
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.6.15, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9ad5ed1315f5d90adfe7569f83a8f354025f96dd)
|
|
2
|
+
* ## Fixes
|
|
3
|
+
* <span style='color:red'>fix BFL-11632</span> ([8600ec], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8600ec86a3b2b824530ae8116416d7b29b087f3b))
|
|
4
|
+
|
|
5
|
+
* update: CHANGELOG.md ([08f451], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/08f45144a4d946fd328a2b43645f08e5b06903aa))
|
|
6
|
+
|
|
7
|
+
# Version 2.6.14, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/2fa5952910e2d64f357d1c17486ab785686f3cc2)
|
|
8
|
+
* ## Fixes
|
|
9
|
+
* <span style='color:red'> HT-8113 synchronization of fileName in ExportReportDataToFilePlagin</span> ([2dee16], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/2dee167031e2cf5071092a81b437d4748513de30))
|
|
10
|
+
|
|
11
|
+
* update: CHANGELOG.md ([122574], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/12257435ce3081dc5641232b789cfa8b2b188e82))
|
|
12
|
+
|
|
1
13
|
# Version 2.6.13, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b546bb7b481a9dbc4b408c99b9ce158b676a15fa)
|
|
2
14
|
* ## Fixes
|
|
3
15
|
* <span style='color:red'> BFL-11558 ExportReportDataToFilePlugin date format</span> ([109998], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/109998bd10e4fd67d98b88784c008f56c5e965c8))
|
package/package.json
CHANGED
|
@@ -168,19 +168,19 @@ Ext.define('Coon.report.plugin.configPanel.GroupRowsPluginConfigPanel', {
|
|
|
168
168
|
|
|
169
169
|
doInit: function(properties) {
|
|
170
170
|
this.selectColumnForGroupingCombo.setValue(
|
|
171
|
-
properties
|
|
171
|
+
properties.groupField ||
|
|
172
172
|
this.selectColumnForGroupingCombo.getStore().getData().getRange()[0]
|
|
173
173
|
);
|
|
174
|
-
if (properties
|
|
175
|
-
this.summaryGrid.doInit(properties
|
|
174
|
+
if (properties.valueConfig) {
|
|
175
|
+
this.summaryGrid.doInit(properties.valueConfig);
|
|
176
176
|
}
|
|
177
177
|
if (
|
|
178
|
-
properties
|
|
179
|
-
Ext.isObject(properties
|
|
178
|
+
properties.groupHeaderTpl &&
|
|
179
|
+
Ext.isObject(properties.groupHeaderTpl)
|
|
180
180
|
) {
|
|
181
181
|
this.groupHeaderTplEditor &&
|
|
182
182
|
this.groupHeaderTplEditor.setValue(
|
|
183
|
-
properties
|
|
183
|
+
properties.groupHeaderTpl.tpl || '{name}'
|
|
184
184
|
);
|
|
185
185
|
}
|
|
186
186
|
this.callParent([properties]);
|
|
@@ -282,7 +282,7 @@ Ext.define('Coon.report.plugin.configPanel.GroupRowsPluginConfigPanel', {
|
|
|
282
282
|
{
|
|
283
283
|
text: 'Очистить',
|
|
284
284
|
handler(btn) {
|
|
285
|
-
btn.up('UiAceEditorPanel').links.editor.setValue('');
|
|
285
|
+
btn.up('UiAceEditorPanel').links.editor.setValue('{name}');
|
|
286
286
|
},
|
|
287
287
|
},
|
|
288
288
|
{
|
|
@@ -34,15 +34,15 @@ Ext.define('Coon.report.plugin.grid.ExportReportDataToFilePlugin', {
|
|
|
34
34
|
handler: Ext.bind(this.handler, this),
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
|
+
this.fileName = this.config.reportFileName || this.report.reportId || 'defaultReportName';
|
|
38
|
+
const dateFormat = this.dateFormat || this.defaultDateFormat;
|
|
39
|
+
const appendDateToFileName = Ext.isBoolean(this.config.appendDateToFileName) ? this.config.appendDateToFileName : true;
|
|
40
|
+
if (appendDateToFileName) {
|
|
41
|
+
this.fileName += '_';
|
|
42
|
+
this.fileName += Ext.Date.format(new Date(), dateFormat);
|
|
43
|
+
}
|
|
37
44
|
}, this);
|
|
38
45
|
this.printPdfCommand = Ext.create('command.GetPdfReportDataCommand', {useRawFilterParams: this.getConfig('addToSearchButton')});
|
|
39
|
-
this.fileName = this.config.reportFileName || this.report.reportId || 'defaultReportName';
|
|
40
|
-
const dateFormat = this.dateFormat || this.defaultDateFormat;
|
|
41
|
-
const appendDateToFileName = Ext.isBoolean(this.config.appendDateToFileName) ? this.config.appendDateToFileName : true;
|
|
42
|
-
if (appendDateToFileName) {
|
|
43
|
-
this.fileName += '_';
|
|
44
|
-
this.fileName += Ext.Date.format(new Date(), dateFormat);
|
|
45
|
-
}
|
|
46
46
|
},
|
|
47
47
|
callExportByType() {
|
|
48
48
|
switch (this.config.exportFileFormat) {
|
|
@@ -47,7 +47,7 @@ Ext.define('Coon.report.plugin.grid.GroupRowsPlugin', {
|
|
|
47
47
|
undefined;
|
|
48
48
|
if (groupFeature) {
|
|
49
49
|
const groupHeaderTpl = Ext.isObject(this.groupHeaderTpl) && this.groupHeaderTpl.tpl;
|
|
50
|
-
groupFeature.groupHeaderTpl = groupHeaderTpl ||
|
|
50
|
+
groupFeature.groupHeaderTpl = groupHeaderTpl || '{name}';
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
|
package/src/version.js
CHANGED