ru.coon 2.8.9 → 2.8.11
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 +13 -0
- package/package.json +1 -1
- package/src/report/component/ClearFiltersButton.js +4 -1
- package/src/report/component/ReportPanel.js +8 -6
- package/src/report/component/settings/ReportFormEditPanelModel.js +6 -1
- package/src/report/plugin/grid/AddFilterConditionPlugin.js +1 -0
- package/src/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# Version 2.8.11, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/42b79fd484035a21adaf0e8870b70519fde032a4)
|
|
2
|
+
* ## Fixes
|
|
3
|
+
* <span style='color:red'> HT-10439: set method for readonly formula to use publishState</span> ([fdb85d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/fdb85df08f3581c2bb5f16005a1d16cccf836352))
|
|
4
|
+
|
|
5
|
+
* update: CHANGELOG.md ([35ced1], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/35ced15d2b167be6875c18152e5467bc2f908ebb))
|
|
6
|
+
|
|
7
|
+
# Version 2.8.10, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1e5df23b8ccf59593d1960052c5f2598da9d4b7d)
|
|
8
|
+
* ## Fixes
|
|
9
|
+
* <span style='color:red'> HT-10125: work with AddFilterConditionPlugin</span> ([a68af5], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a68af5071134224930c1c771dd93d623c29d51c3))
|
|
10
|
+
* <span style='color:red'> HT-10125: add clear filter button as last item element</span> ([b0a942], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b0a942028e0a3f11dc025c0a555b93c92035ff94))
|
|
11
|
+
|
|
12
|
+
* update: CHANGELOG.md ([8f445c], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8f445c10774a121e821be110d86d7ade2f1dbfcc))
|
|
13
|
+
|
|
1
14
|
# Version 2.8.9, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e7caa6346a23d956edb83477128e8a326b3161d6)
|
|
2
15
|
* ## Fixes
|
|
3
16
|
* <span style='color:red'> HT-10322: add tooltip</span> ([ed47ca], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ed47cab60d0baee4710dcda242139b18a37d0336))
|
package/package.json
CHANGED
|
@@ -13,7 +13,10 @@ Ext.define('Coon.report.component.ClearFiltersButton', {
|
|
|
13
13
|
toolbar: null,
|
|
14
14
|
grid: null,
|
|
15
15
|
handler() {
|
|
16
|
-
|
|
16
|
+
if (this.grid) {
|
|
17
|
+
this.grid.clearFilters();
|
|
18
|
+
this.grid.fireEvent('clearAllFilters');
|
|
19
|
+
}
|
|
17
20
|
},
|
|
18
21
|
initComponent() {
|
|
19
22
|
this.callParent();
|
|
@@ -493,12 +493,14 @@ Ext.define('Coon.report.component.ReportPanel', {
|
|
|
493
493
|
},
|
|
494
494
|
|
|
495
495
|
createTopToolbar(items) {
|
|
496
|
-
return this.gridTopToolbar = Ext.create({
|
|
497
|
-
xtype: '
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
496
|
+
return this.gridTopToolbar = Ext.create({
|
|
497
|
+
xtype: 'toolbar', hidden: true, enableOverflow: true, items: [].concat(items || []).concat([{
|
|
498
|
+
xtype: 'tbfill',
|
|
499
|
+
position: 997,
|
|
500
|
+
}, {
|
|
501
|
+
xtype: 'ClearFiltersButton',
|
|
502
|
+
}]),
|
|
503
|
+
});
|
|
502
504
|
},
|
|
503
505
|
createBottomToolbar(items) {
|
|
504
506
|
return this.gridBottomToolbar =Ext.create({xtype: 'toolbar', hidden: true, enableOverflow: true, items: [].concat(items || [])});
|
|
@@ -151,6 +151,11 @@ Ext.define('Coon.report.component.settings.ReportFormEditPanelModel', {
|
|
|
151
151
|
this.set('report.fields', fields);
|
|
152
152
|
},
|
|
153
153
|
},
|
|
154
|
-
plugins:
|
|
154
|
+
plugins: {
|
|
155
|
+
get: (data) => data('report.plugins'),
|
|
156
|
+
set(data) {
|
|
157
|
+
this.set('report.plugins', data);
|
|
158
|
+
},
|
|
159
|
+
},
|
|
155
160
|
},
|
|
156
161
|
});
|
|
@@ -11,6 +11,7 @@ Ext.define('Coon.report.plugin.grid.AddFilterConditionPlugin', {
|
|
|
11
11
|
|
|
12
12
|
init: function(grid) {
|
|
13
13
|
this.grid = grid;
|
|
14
|
+
this.grid.on('clearAllFilters', this.clearAllFilters, this);
|
|
14
15
|
grid.on('added', function(grid) {
|
|
15
16
|
const contextMenu = grid.contextMenu;
|
|
16
17
|
contextMenu.add(new Ext.menu.Item({
|
package/src/version.js
CHANGED