ru.coon 2.7.26 → 2.7.28
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,20 @@
|
|
|
1
|
+
# Version 2.7.28, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/cb4662ac201c84739a5abb84ba36f10af0e35a25)
|
|
2
|
+
* ## Fixes
|
|
3
|
+
* <span style='color:red'>fix HT-8819</span> ([c5be10], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/c5be103a7e463659ee436dd478eee04c9cfa6b35))
|
|
4
|
+
|
|
5
|
+
* update: CHANGELOG.md ([6b1c8b], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6b1c8b9cfb4519d95713d70996f2d8f816bcaea4))
|
|
6
|
+
|
|
7
|
+
# Version 2.7.27, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/c59dc7400f5e4ee4f7bbfcd42f4aa371d9b2e68f)
|
|
8
|
+
* ## Fixes
|
|
9
|
+
* <span style='color:red'> HT-8707 checking the component is rendered</span> ([d1fd00], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d1fd008a47ca9a0f2d7a2404c1b21e1d7aa8b2a7))
|
|
10
|
+
* <span style='color:red'> Запрещен ввод значений в характеристики типа FKV, отсутствующих в списке выбора. Closes HT-8762.</span> ([dece4f], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/dece4f2ce361c8c54d11a54dc469099698338c46))
|
|
11
|
+
* <span style='color:red'> HT-8707 checking the component is rendered</span> ([486939], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4869399bb137ba99a4925ff8f4c633f1b71f028c))
|
|
12
|
+
* <span style='color:red'> HT-8707 masking for undestroyed component</span> ([ee85fc], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ee85fc21f81d2efdcf024c0dcee8670f85a0f866))
|
|
13
|
+
|
|
14
|
+
* up ([5ed117], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/5ed117251d0ded671bf25aeadf091da7165d4518))
|
|
15
|
+
* ([Update], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/Update src/Function.js54cab5f445fe40d8ec4605af38a41df54f1eef8a))
|
|
16
|
+
* update: CHANGELOG.md ([abedd8], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/abedd84e336660b4100d97028c0267d7fdd5ec44))
|
|
17
|
+
|
|
1
18
|
# Version 2.7.25, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/568fd6aae3e5756be342c7e74d434b7976700dae)
|
|
2
19
|
* ## Features
|
|
3
20
|
* <span style='color:green'>feat: HT-8513: add copy item in cell context menu</span> ([5355d4], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/5355d48244eceb3add5e5002bfe970b8059e235d))
|
|
@@ -5,6 +22,9 @@
|
|
|
5
22
|
* <span style='color:green'>feat: HT-8513: add copy item in cell context menu</span> ([915abe], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/915abebc3f710ae7236d2584292d7fd62b2067e0))
|
|
6
23
|
* <span style='color:green'>feat: HT-8763: search footer view by reference</span> ([2648fe], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/2648fe29ea96319055c586e4cea1015115c19494))
|
|
7
24
|
|
|
25
|
+
* ## Fixes
|
|
26
|
+
* <span style='color:red'> При ручном вводе минут очищается все поле. Closes HT-8712.</span> ([bdde0d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/bdde0da03da609ce1e24c9c54dd92dfbb78305ba))
|
|
27
|
+
|
|
8
28
|
* update: CHANGELOG.md ([971505], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9715050f4ce08854c84792001dea4c334fd74a0f))
|
|
9
29
|
|
|
10
30
|
# Version 2.7.24, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8e3cc36a693f048a9feceada5eb46f979eda23db)
|
|
@@ -18,6 +38,7 @@
|
|
|
18
38
|
|
|
19
39
|
# Version 2.7.23, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e1fd5ef91937dab7196de70f1ec48895dd0e036f)
|
|
20
40
|
* ## Fixes
|
|
41
|
+
* <span style='color:red'> Если в загруженном отчете не найдено value, то value = null. Closes HT-8629.</span> ([c1d69b], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/c1d69b443d608ca65eb35c744e1e56068a2f1e2a))
|
|
21
42
|
* <span style='color:red'>fix ReportLookupCombo</span> ([389b88], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/389b882bb57e27db1acebb9196f4ebf533794200))
|
|
22
43
|
|
|
23
44
|
* update: CHANGELOG.md ([1da73b], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1da73b648a1493be777199ffce8a8fe0dac63998))
|
|
@@ -994,6 +1015,9 @@ ReportPropertiesPanelController.buildPropertiesTreeData was losing property "key
|
|
|
994
1015
|
* update: CHANGELOG.md ([65d101], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/65d10184c4d288dd083ff31880e560dab4a764e7))
|
|
995
1016
|
|
|
996
1017
|
# Version 2.5.14, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1c5a4296f1a7a2649f02deb68e05542aa6185f10)
|
|
1018
|
+
* ## Features
|
|
1019
|
+
* <span style='color:green'>feat: TR-67274: add convert function in model to trim values</span> ([2dd614], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/2dd614f646501a438b8e0647ed71f7259c366f61))
|
|
1020
|
+
|
|
997
1021
|
* ## Fixes
|
|
998
1022
|
* <span style='color:red'> HT-7017 linter</span> ([264cac], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/264cac926d75d4c68805a4904828ebb26b9b7979))
|
|
999
1023
|
* <span style='color:red'> HT-7017 GridEditButtons исправлено создание кнопки при отсутствии initialConfig</span> ([510cac], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/510cac7188bebbf9a92944a95f9cfceb668436a1))
|
package/package.json
CHANGED
package/src/Function.js
CHANGED
|
@@ -32,7 +32,7 @@ Ext.define('Coon.Function', {
|
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
34
|
let myMask;
|
|
35
|
-
if (component &&
|
|
35
|
+
if (component && this.isComponentRendered(component)) {
|
|
36
36
|
myMask = new Ext.LoadMask({
|
|
37
37
|
target: component,
|
|
38
38
|
msg: requestOptions.text || 'Загрузка...',
|
|
@@ -93,10 +93,9 @@ Ext.define('Coon.Function', {
|
|
|
93
93
|
},
|
|
94
94
|
|
|
95
95
|
isComponentRendered: function(component) {
|
|
96
|
-
return
|
|
97
|
-
component &&
|
|
96
|
+
return component &&
|
|
98
97
|
component.isComponent &&
|
|
99
|
-
component.rendered
|
|
98
|
+
component.rendered;
|
|
100
99
|
},
|
|
101
100
|
|
|
102
101
|
/**
|
|
@@ -302,12 +302,18 @@ Ext.define('Coon.common.component.editor.CharacteristicGridEditor', {
|
|
|
302
302
|
|
|
303
303
|
const ns = Coon.report.model.CharacteristicBeanFields;
|
|
304
304
|
|
|
305
|
+
const normalize = (el) => {
|
|
306
|
+
el.value = typeof el.value === 'string' ? el.value.trim() : el.value;
|
|
307
|
+
el.type = typeof el.type === 'string' ? el.type.trim() : el.type;
|
|
308
|
+
return el;
|
|
309
|
+
};
|
|
310
|
+
|
|
305
311
|
const withTypeDefinition = (!Ext.isEmpty(typeList) || Ext.isEmpty(valueList));
|
|
306
312
|
if (!withTypeDefinition) {
|
|
307
313
|
const typesCache = [];
|
|
308
314
|
// Без определения доступных типов - типы формируются из списка значений
|
|
309
315
|
for (let i = 0; i < valueList.length; i++) {
|
|
310
|
-
const valueBean = valueList[i];
|
|
316
|
+
const valueBean = normalize(valueList[i]);
|
|
311
317
|
const valueType = valueBean[ns.$type];
|
|
312
318
|
if (typesCache.indexOf(valueType) === -1) {
|
|
313
319
|
const typeRawBean = Ext.apply({}, valueBean);
|
|
@@ -11,14 +11,10 @@ Ext.define('Coon.report.model.CharacteristicBean', {
|
|
|
11
11
|
fields: [
|
|
12
12
|
{name: Coon.report.model.CharacteristicBeanFields.$effectiveDate, type: 'date'},
|
|
13
13
|
{
|
|
14
|
-
name: Coon.report.model.CharacteristicBeanFields.$value, type: 'string',
|
|
15
|
-
return typeof val === 'string' ? val.trim() : val;
|
|
16
|
-
},
|
|
14
|
+
name: Coon.report.model.CharacteristicBeanFields.$value, type: 'string',
|
|
17
15
|
},
|
|
18
16
|
{name: Coon.report.model.CharacteristicBeanFields.$valueDescription, type: 'string'},
|
|
19
|
-
{name: Coon.report.model.CharacteristicBeanFields.$type, type: 'string',
|
|
20
|
-
return typeof val === 'string' ? val.trim() : val;
|
|
21
|
-
}},
|
|
17
|
+
{name: Coon.report.model.CharacteristicBeanFields.$type, type: 'string'},
|
|
22
18
|
{name: Coon.report.model.CharacteristicBeanFields.$typeDescription, type: 'string'},
|
|
23
19
|
{name: Coon.report.model.CharacteristicBeanFields.$editable, type: 'boolean', defaultValue: true},
|
|
24
20
|
{name: Coon.report.model.CharacteristicBeanFields.$visible, type: 'boolean', defaultValue: true},
|
package/src/version.js
CHANGED