ru.coon 2.6.7 → 2.6.8
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/.eslintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
# Version 2.6.8, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/93e8208b4895493b8ad13ac0910a75fc2a2b4531)
|
|
2
|
+
* update: CHANGELOG.md ([367797], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/367797afa5241e6fd9eff7af17f4a28f2e1043ce))
|
|
3
|
+
|
|
1
4
|
# Version 2.6.7, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6802942bc71e923767f61cfc703ea6385d7f932e)
|
|
2
5
|
* ## Features
|
|
3
6
|
* <span style='color:green'>feat: HT-8060: if we have grid AutoSize option true and have saved grid columns config set it in false</span> ([2c6e2d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/2c6e2d28a88cfbd383ea963e35cd7289e8412c49))
|
|
@@ -294,6 +297,7 @@ fix ExecuteCommandPlugin - remove reject on failure if command hasnt erorHandler
|
|
|
294
297
|
* BFL-8607 Доработка редактора характеристики типа "Дата" ([6b2ee8], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6b2ee8c52c6f89799f0de52b30b78179650f518c))
|
|
295
298
|
* BFL-8607 Доработка редактора характеристики типа "Дата" ([20c221], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/20c2210c3c15817168bf0a3465a219fe49f7d2fe))
|
|
296
299
|
* BFL-8607 Доработка редактора характеристики типа "Дата" ([0c7529], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0c752984e1e82cdf68d9aa25413375319adfe30e))
|
|
300
|
+
* Merge with develop ([2f0b72], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/2f0b7296a4764645e248dfe2f2e4d5399f695dc4))
|
|
297
301
|
* update: CHANGELOG.md ([892608], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/892608eb6ddd2ef85d205ba9e1e857aa27672320))
|
|
298
302
|
|
|
299
303
|
# Version 2.5.42, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a6256f14a891eda0974a2af1ee2c108c8904feab)
|
|
@@ -309,6 +313,7 @@ fix ExecuteCommandPlugin - remove reject on failure if command hasnt erorHandler
|
|
|
309
313
|
|
|
310
314
|
# Version 2.5.41, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/612fb7573419ad9857649f7211c8d7a56e52cdb4)
|
|
311
315
|
* ## Features
|
|
316
|
+
* <span style='color:green'>feat: Перенесен ShowReportEditorCreator из ISWE. Closes BFL-9446.</span> ([1d7ee3], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1d7ee326527f9d14d332bb115bd68a15a7e9c22e))
|
|
312
317
|
* <span style='color:green'>feat: BFL-9521: init dependent form params anytime</span> ([2e5aa1], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/2e5aa16eeace7205cff9e01295f43d0f4ce956c6))
|
|
313
318
|
|
|
314
319
|
* ## Fixes
|
|
@@ -499,6 +504,7 @@ isolate lastValue from native ComboBox logic</span> ([57078e], [link](http://git
|
|
|
499
504
|
* update: CHANGELOG.md ([473997], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4739978f7ebb8564b5b233c496ce9c98d977c1c6))
|
|
500
505
|
|
|
501
506
|
# Version 2.5.21, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/dc202083a949169e0203fa47bf2defa312201a33)
|
|
507
|
+
* CRM-7662 Управление выравниванием xtype = iconSvgColumn в ячейке ([064e19], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/064e191cd27cd45f0293bb30c9938325722b4837))
|
|
502
508
|
* update: CHANGELOG.md ([e1a4d6], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e1a4d65ec93284adeab64eb21ab51e737c229df7))
|
|
503
509
|
|
|
504
510
|
# Version 2.5.20, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a884bf408a15fd41a3b62aa7f11301df69e99fc1)
|
|
@@ -524,6 +530,8 @@ fix ReportPropertiesPanelController</span> ([e2b928], [link](http://gitlab-dbr.s
|
|
|
524
530
|
* <span style='color:red'> HT-6314 change icon and master widget style</span> ([ac9da8], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ac9da82d4f00015e52da554cb985b4f2bdf2a1fe))
|
|
525
531
|
* <span style='color:red'> HT-6314 change icon and master widget style</span> ([6b03cc], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6b03ccc5600c2d757b811bad43b790a85633d844))
|
|
526
532
|
|
|
533
|
+
* CRM-7662 Управление выравниванием xtype = iconSvgColumn в ячейке ([8065d1], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8065d124ffdbfe46177d5ea710e14183257a9494))
|
|
534
|
+
* CRM-7662 Управление выравниванием xtype = iconSvgColumn в ячейке ([cfd31c], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/cfd31c9d0e148c37a26e8d924abeff30b8a404b2))
|
|
527
535
|
* update: CHANGELOG.md ([ff88bb], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ff88bb739914adacf1bbfa5284b31f603e480795))
|
|
528
536
|
|
|
529
537
|
# Version 2.5.18, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b13b1b683795ffae10f8d406829a96bd7850553f)
|
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@ Ext.define('Coon.common.component.editor.EditorFactory', {
|
|
|
59
59
|
Ext.decode(mask, true) : {});
|
|
60
60
|
if (type === Coon.common.component.editor.CharacteristicEditorTypes.FOREIGN ||
|
|
61
61
|
type === Coon.common.component.editor.CharacteristicEditorTypes.FILE ||
|
|
62
|
-
!Ext.isEmpty(record.get(Coon.report.model.CharacteristicBeanFields.$editor))) {
|
|
62
|
+
!Ext.isEmpty(record.get(Coon.report.model.CharacteristicBeanFields.$editor).trim())) {
|
|
63
63
|
return new Coon.common.component.editor.CustomTypeEditor({
|
|
64
64
|
record: record,
|
|
65
65
|
context: context,
|
|
@@ -453,7 +453,7 @@ Ext.define('Coon.common.component.editor.CustomTypeEditor', {
|
|
|
453
453
|
const ns = Coon.report.model.CharacteristicBeanFields;
|
|
454
454
|
|
|
455
455
|
let field = null;
|
|
456
|
-
const editorCode = record.get(ns.$editor);
|
|
456
|
+
const editorCode = record.get(ns.$editor).trim();
|
|
457
457
|
if (!Ext.isEmpty(editorCode)) {
|
|
458
458
|
if (Ext.ClassManager.getByAlias('widget.' + editorCode)) {
|
|
459
459
|
let editor = null;
|
|
@@ -43,7 +43,7 @@ Ext.define('Coon.common.component.editor.creators.TriggerFieldEditorCreator', {
|
|
|
43
43
|
|
|
44
44
|
showPanel: function(record, parent) {
|
|
45
45
|
const ns = Coon.report.model.CharacteristicBeanFields;
|
|
46
|
-
const props = this.parseMask(record.get(ns.$mask));
|
|
46
|
+
const props = this.parseMask(record.get(ns.$mask).trim());
|
|
47
47
|
this.value = record.get(ns.$value);
|
|
48
48
|
|
|
49
49
|
const panel = Ext.create({
|
|
@@ -55,10 +55,13 @@ Ext.define('Coon.common.component.editor.creators.TriggerFieldEditorCreator', {
|
|
|
55
55
|
const win = Ext.widget('WindowWrap', {
|
|
56
56
|
items: panel,
|
|
57
57
|
});
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
if (props) {
|
|
59
|
+
const parameter = {};
|
|
60
|
+
parameter[props.parameterName] = this.field.ID;
|
|
61
|
+
win.doInit(props.reportId, Object.assign(parameter, this.context), true);
|
|
62
|
+
} else {
|
|
63
|
+
Coon.log.error('Не задана маска характеристики');
|
|
64
|
+
}
|
|
62
65
|
panel.on('gridReady', function() {
|
|
63
66
|
if (this.doubleClickHandler) {
|
|
64
67
|
panel.grid.on('rowdblclick', function(grid, record) {
|
|
@@ -104,7 +107,11 @@ Ext.define('Coon.common.component.editor.creators.TriggerFieldEditorCreator', {
|
|
|
104
107
|
|
|
105
108
|
win.show();
|
|
106
109
|
},
|
|
107
|
-
|
|
110
|
+
/**
|
|
111
|
+
* @example
|
|
112
|
+
* 'REPORTS:CM_REPORT_CD' -> reportId: REPORTS, valueColumn: CM_REPORT_CD
|
|
113
|
+
* @param {string} mask
|
|
114
|
+
*/
|
|
108
115
|
parseMask: function(mask) {
|
|
109
116
|
let result;
|
|
110
117
|
if (mask.match(/[\w-]*:[\w-]*/)) {
|
|
@@ -6,10 +6,21 @@ Ext.define('Coon.report.column.IconSvgColumn', {
|
|
|
6
6
|
'Sigma.grid.column.IconSvgColumn'
|
|
7
7
|
],
|
|
8
8
|
uses: [],
|
|
9
|
-
requires: [
|
|
10
|
-
|
|
9
|
+
requires: [
|
|
10
|
+
'Iconpack.util'
|
|
11
|
+
],
|
|
12
|
+
config: {
|
|
13
|
+
set: 'project',
|
|
14
|
+
priority: 'project,fa',
|
|
15
|
+
},
|
|
16
|
+
renderer: function(value, meta, record, rowIndex, colIndex) {
|
|
11
17
|
if (!Ext.isEmpty(value)) {
|
|
12
|
-
return
|
|
18
|
+
return Iconpack.util.getIconDiv(value, {
|
|
19
|
+
align: this.columns[colIndex].align,
|
|
20
|
+
set: this.columns[colIndex].set,
|
|
21
|
+
isGridCell: true,
|
|
22
|
+
priority: this.columns[colIndex].priority,
|
|
23
|
+
});
|
|
13
24
|
}
|
|
14
25
|
},
|
|
15
26
|
});
|
package/src/version.js
CHANGED