ru.coon 2.8.9 → 2.8.10

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,10 @@
1
+ # Version 2.8.10, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1e5df23b8ccf59593d1960052c5f2598da9d4b7d)
2
+ * ## Fixes
3
+ * <span style='color:red'> HT-10125: work with AddFilterConditionPlugin</span> ([a68af5], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a68af5071134224930c1c771dd93d623c29d51c3))
4
+ * <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))
5
+
6
+ * update: CHANGELOG.md ([8f445c], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8f445c10774a121e821be110d86d7ade2f1dbfcc))
7
+
1
8
  # Version 2.8.9, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e7caa6346a23d956edb83477128e8a326b3161d6)
2
9
  * ## Fixes
3
10
  * <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
@@ -4,7 +4,7 @@
4
4
  "name": "ru.coon"
5
5
  },
6
6
  "description": "",
7
- "version": "2.8.9",
7
+ "version": "2.8.10",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
@@ -13,7 +13,10 @@ Ext.define('Coon.report.component.ClearFiltersButton', {
13
13
  toolbar: null,
14
14
  grid: null,
15
15
  handler() {
16
- this.grid && this.grid.clearFilters();
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({xtype: 'toolbar', hidden: true, enableOverflow: true, items: [{
497
- xtype: 'tbfill',
498
- position: 997,
499
- }, {
500
- xtype: 'ClearFiltersButton',
501
- }].concat(items || [])});
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 || [])});
@@ -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
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '2.8.9',
3
+ number: '2.8.10',
4
4
  });