ru.coon 2.7.63 → 2.7.65

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,13 @@
1
+ # Version 2.7.65, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/575aaa8ea4982726ce21f98300e95aa55ecbb906)
2
+ * update: CHANGELOG.md ([72d780], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/72d7808927b07eb6ce33080c2b2e808b9b9a4a55))
3
+
4
+ # Version 2.7.64, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8b0b9a392f1f27837b2ef59a39ab5e0cfb4c6167)
5
+ * ## Fixes
6
+ * <span style='color:red'> TR-68748: set aceEditor value on render editor</span> ([91d6a5], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/91d6a540b1c59bf30fc9b137d713dab6fd10f23c))
7
+ * <span style='color:red'> TR-68748: set aceEditor value on render editor</span> ([d9104a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d9104adce83918b72fa7d97032a33c3f5faf402e))
8
+
9
+ * update: CHANGELOG.md ([eadbfc], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/eadbfcd1f66dc7e59c26b198c160054c7140fa5b))
10
+
1
11
  # Version 2.7.63, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/3105569cc716302c9533958daa3aef9dbdc0e6a8)
2
12
  * ## Fixes
3
13
  * <span style='color:red'> BFL-14999: check north panel exists</span> ([cbc17a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/cbc17a278fd1468539fe081d29fdd3819df51b08))
@@ -97,7 +107,10 @@ This reverts commit b3524303e203486f1c393f2174967c652d2f8c33.</span> ([0bfe61],
97
107
  * <span style='color:green'>feat: TR-69015: css</span> ([ecd879], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ecd87930a535ff13b0ad42eba28df9d1ed91cd2a))
98
108
 
99
109
  * ## Fixes
110
+ * <span style='color:red'> HT-7916 ExportReportDataToFilePluginConfigPanel fix display checkboxes</span> ([4971af], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4971af01b9196a138c382f04090bb681d11b40aa))
100
111
  * <span style='color:red'> HT-9084 ReportColumnStatePlugin column width</span> ([b10a75], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b10a75f78f92262543be268863961fda1113d9d5))
112
+ * <span style='color:red'> HT-7916 ExportReportDataToFilePluginConfigPanel fix display checkboxes</span> ([a32fb4], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a32fb45007cdc8a1a32cb958a92ac490ab081fd9))
113
+ * <span style='color:red'> HT-7916 ExportReportDataToFilePluginConfigPanel fix displya checkboxes</span> ([a56d49], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a56d4938522370475d73072188ac72851a2c010f))
101
114
 
102
115
  * improve custom panel plugin tracing ([ed6206], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ed62065b34ebb04520b62f6fce269e4d4cbb6d21))
103
116
  * upd ([57157a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/57157acdd88c0fa6702e5c5cbd321bc89d840d09))
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "ru.coon"
5
5
  },
6
6
  "description": "",
7
- "version": "2.7.63",
7
+ "version": "2.7.65",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
@@ -179,9 +179,7 @@ Ext.define('Coon.report.plugin.configPanel.ExportReportDataToFilePluginConfigPan
179
179
 
180
180
  doInit: function(config) {
181
181
  this.callParent(arguments);
182
- if (config && config.columnList) {
183
- this.columnList = config.columnList;
184
- }
182
+ this.columnList = config && config.columnList && Coon.util.parseJSON5(config.columnList) || [];
185
183
  if (config.exportConfig) {
186
184
  this.down('UiAceEditor').setValue(config.exportConfig);
187
185
  }
@@ -201,7 +199,7 @@ Ext.define('Coon.report.plugin.configPanel.ExportReportDataToFilePluginConfigPan
201
199
  return {
202
200
  reportField: field[ns.$reportField],
203
201
  description: field[ns.$description],
204
- checkbox: (this.columnList && this.columnList.includes(field[ns.$reportField])),
202
+ checkbox: this.columnList.find((col) => col.reportField === field[ns.$reportField]),
205
203
  };
206
204
  });
207
205
 
@@ -12,6 +12,7 @@ Ext.define('Coon.uielement.component.settings.UiAceEditor', {
12
12
  cls: 'ace_editor ace_hidpi ace-xcode',
13
13
  config: {
14
14
  value: '',
15
+ originalValue: null,
15
16
  readOnly: false,
16
17
  useLinter: false,
17
18
  enableEmptyValue: false,
@@ -95,6 +96,7 @@ Ext.define('Coon.uielement.component.settings.UiAceEditor', {
95
96
 
96
97
  updateValue: function(value) {
97
98
  if (!this.editor) {
99
+ this.setOriginalValue(value);
98
100
  return;
99
101
  }
100
102
  this.setValue(value);
@@ -102,13 +104,14 @@ Ext.define('Coon.uielement.component.settings.UiAceEditor', {
102
104
 
103
105
  getValue: function() {
104
106
  if (!this.editor) {
105
- return;
107
+ return this.getOriginalValue();
106
108
  }
107
109
  return this.editor.getValue();
108
110
  },
109
111
 
110
112
  setValue: function(value) {
111
113
  if (!this.editor) {
114
+ this.setOriginalValue(value);
112
115
  return;
113
116
  }
114
117
  const pos = this.editor.getCursorPosition();
@@ -282,6 +285,9 @@ Ext.define('Coon.uielement.component.settings.UiAceEditor', {
282
285
  this.markClean();
283
286
  }
284
287
  this.linterInitialized = true;
288
+ if (this.getOriginalValue() !== null && this.getOriginalValue() !== undefined) {
289
+ this.setValue(this.getOriginalValue());
290
+ }
285
291
  this.fireEvent('ready', this);
286
292
  },
287
293
 
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '2.7.63',
3
+ number: '2.7.65',
4
4
  });