ru.coon 2.7.62 → 2.7.64
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,16 @@
|
|
|
1
|
+
# Version 2.7.64, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8b0b9a392f1f27837b2ef59a39ab5e0cfb4c6167)
|
|
2
|
+
* ## Fixes
|
|
3
|
+
* <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))
|
|
4
|
+
* <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))
|
|
5
|
+
|
|
6
|
+
* update: CHANGELOG.md ([eadbfc], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/eadbfcd1f66dc7e59c26b198c160054c7140fa5b))
|
|
7
|
+
|
|
8
|
+
# Version 2.7.63, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/3105569cc716302c9533958daa3aef9dbdc0e6a8)
|
|
9
|
+
* ## Fixes
|
|
10
|
+
* <span style='color:red'> BFL-14999: check north panel exists</span> ([cbc17a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/cbc17a278fd1468539fe081d29fdd3819df51b08))
|
|
11
|
+
|
|
12
|
+
* update: CHANGELOG.md ([27a607], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/27a607ea17c7004bbb6abf65c5dc43543e9bab58))
|
|
13
|
+
|
|
1
14
|
# Version 2.7.62, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/818cd19829cccd21e2889c189d14a6087c03365f)
|
|
2
15
|
* hotfix: HT-9789 ([a4dfa5], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a4dfa58f1654c726de4ccf76c9eb8ad106ee486c))
|
|
3
16
|
* update: CHANGELOG.md ([0fc2a0], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0fc2a028fb4477ca5289ac00ad7494d207164c4e))
|
package/package.json
CHANGED
|
@@ -281,7 +281,7 @@ Ext.define('Coon.report.component.reportpanel.FilterPanel', {
|
|
|
281
281
|
const msg = 'Поле заполнено не верно: ' +
|
|
282
282
|
(component.fieldLabel ? component.fieldLabel : (component.name || component.$className)) +
|
|
283
283
|
(component.getErrors().length? 'Ошибка:' + component.getErrors()[0]: '');
|
|
284
|
-
northPanel.searchButtonToggle(false, msg);
|
|
284
|
+
northPanel && northPanel.searchButtonToggle(false, msg);
|
|
285
285
|
Coon.log.warn(msg);
|
|
286
286
|
} else {
|
|
287
287
|
Coon.log.error('invalid component', component);
|
|
@@ -289,7 +289,7 @@ Ext.define('Coon.report.component.reportpanel.FilterPanel', {
|
|
|
289
289
|
return false;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
|
-
northPanel.searchButtonToggle(true, '');
|
|
292
|
+
northPanel && northPanel.searchButtonToggle(true, '');
|
|
293
293
|
return true;
|
|
294
294
|
},
|
|
295
295
|
|
|
@@ -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