ru.coon 2.6.7 → 2.6.9
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 +1 -0
- package/CHANGELOG.md +33 -2
- package/package.json +1 -1
- package/src/common/component/editor/EditorFactory.js +2 -2
- package/src/common/component/editor/creators/TriggerFieldEditorCreator.js +13 -6
- package/src/report/column/IconSvgColumn.js +14 -3
- package/src/report/plugin/grid/ReportColumnStatePlugin.js +1 -1
- package/src/uielement/component/UiCPVisualEditor.js +896 -0
- package/src/uielement/component/UiCPVisualEditor.scss +108 -0
- package/src/uielement/component/UiCPVisualEditorConfigWindow.js +303 -0
- package/src/version.js +1 -1
- package/src/report/plugin/grid/ExportReportDataToFilePlugin.md +0 -7
package/.eslintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
# Version 2.6.9, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/09a3ff5aed07b24a015644b873b7ee84a959d67e)
|
|
2
|
+
* ## Fixes
|
|
3
|
+
* <span style='color:red'> HT-8060: check property, in tree report we dont have it</span> ([156dbc], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/156dbceeb316315d85970bbe9000d4f79dbdcc6c))
|
|
4
|
+
* <span style='color:red'> HT-8060: check property, in tree report we dont have it</span> ([ec8361], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ec83613d1dd2673b448c9fabee62287e9160f6bf))
|
|
5
|
+
|
|
6
|
+
* Revert "fix: HT-8060: check property, in tree report we dont have it"
|
|
7
|
+
|
|
8
|
+
This reverts commit ec83613d1dd2673b448c9fabee62287e9160f6bf. ([e6e94a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e6e94a278bb9b4d385f4687fe82b60d743985ff6))
|
|
9
|
+
* update: CHANGELOG.md ([569285], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/569285008ba24521643516619a3082ece72d9f8f))
|
|
10
|
+
|
|
11
|
+
# Version 2.6.8, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/93e8208b4895493b8ad13ac0910a75fc2a2b4531)
|
|
12
|
+
* update: CHANGELOG.md ([367797], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/367797afa5241e6fd9eff7af17f4a28f2e1043ce))
|
|
13
|
+
|
|
1
14
|
# Version 2.6.7, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6802942bc71e923767f61cfc703ea6385d7f932e)
|
|
2
15
|
* ## Features
|
|
3
16
|
* <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))
|
|
@@ -88,13 +101,26 @@ This reverts commit 92855b1225a747f15d977c0f23c8d9794523352d. ([312854], [link](
|
|
|
88
101
|
# Version 2.5.64, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d55fa844a67279117847d229fd7edcb5b5784fe9)
|
|
89
102
|
* ## Features
|
|
90
103
|
* <span style='color:green'>feat: HT-7281 GridEditorPlugin editor dependField</span> ([975be6], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/975be69118652f7995b2bfd40e5a174deaa47c68))
|
|
104
|
+
|
|
105
|
+
* update: CHANGELOG.md ([d8027e], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d8027e3fe08b900d1cb6da3bfe688684b5764008))
|
|
106
|
+
|
|
107
|
+
# Version 2.5.66, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4e253ae2e8836166212d3886d091d342673deaee)
|
|
108
|
+
* update: CHANGELOG.md ([51a0c7], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/51a0c702bb85db10b71ba3002e52ae2b0c7f98f7))
|
|
109
|
+
|
|
110
|
+
# Version 2.5.65, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/64478c87b5169b1d5be5b28bae8b82ada2477f32)
|
|
111
|
+
* ## Fixes
|
|
112
|
+
* <span style='color:red'> BFL-9170 GridRowStylePlugin in method renderer metadata equal nul</span> ([ac1868], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ac18684cc90b93256bc64067dc8a050d17fafa1d))
|
|
113
|
+
* <span style='color:red'> HT-7918 WindowWrap missing focus</span> ([0bdf38], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0bdf38c03dbd1cac10c9f2d8ea5d0786909d68e1))
|
|
114
|
+
|
|
115
|
+
* update: CHANGELOG.md ([4a4d82], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4a4d820afb7cfa7df56e325ba7435a3ecdfff712))
|
|
116
|
+
|
|
117
|
+
# Version 2.5.64, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9f48777236abed76cf08cd5cef56e7f9be0dac63)
|
|
118
|
+
* ## Features
|
|
91
119
|
* <span style='color:green'>feat: HT-7955: focus CP before save action, set cell editing values in grids</span> ([4c6578], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4c6578c6873cd21c509de304494938276e7367a9))
|
|
92
120
|
* <span style='color:green'>feat: BFL-9365 move TimeEditorCreator and DeliveryTimeField from ISWE</span> ([12c3c7], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/12c3c701ac9387f4d2918a9feb1840bf0f7fb3ea))
|
|
93
121
|
* <span style='color:green'>feat: HT-7281 GridEditorPlugin editor dependField</span> ([387052], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/38705228276f86858100b6b43c0e204bcc6f26b7))
|
|
94
122
|
|
|
95
123
|
* ## Fixes
|
|
96
|
-
* <span style='color:red'> BFL-9170 GridRowStylePlugin in method renderer metadata equal nul</span> ([ac1868], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ac18684cc90b93256bc64067dc8a050d17fafa1d))
|
|
97
|
-
* <span style='color:red'> HT-7918 WindowWrap missing focus</span> ([0bdf38], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0bdf38c03dbd1cac10c9f2d8ea5d0786909d68e1))
|
|
98
124
|
* <span style='color:red'>Fix:HT-7887 fix filterItemsOnRow property in ReportFormParameterEditPanel</span> ([c10ca9], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/c10ca98610970df2f51ca39fe698e278db6fe719))
|
|
99
125
|
* <span style='color:red'> HT-7941: check if do not have saved data object then close window</span> ([0baf4e], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0baf4ea72862a4a61230ffc3ac0af7f8b065d794))
|
|
100
126
|
|
|
@@ -294,6 +320,7 @@ fix ExecuteCommandPlugin - remove reject on failure if command hasnt erorHandler
|
|
|
294
320
|
* BFL-8607 Доработка редактора характеристики типа "Дата" ([6b2ee8], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6b2ee8c52c6f89799f0de52b30b78179650f518c))
|
|
295
321
|
* BFL-8607 Доработка редактора характеристики типа "Дата" ([20c221], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/20c2210c3c15817168bf0a3465a219fe49f7d2fe))
|
|
296
322
|
* BFL-8607 Доработка редактора характеристики типа "Дата" ([0c7529], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0c752984e1e82cdf68d9aa25413375319adfe30e))
|
|
323
|
+
* Merge with develop ([2f0b72], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/2f0b7296a4764645e248dfe2f2e4d5399f695dc4))
|
|
297
324
|
* update: CHANGELOG.md ([892608], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/892608eb6ddd2ef85d205ba9e1e857aa27672320))
|
|
298
325
|
|
|
299
326
|
# Version 2.5.42, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a6256f14a891eda0974a2af1ee2c108c8904feab)
|
|
@@ -309,6 +336,7 @@ fix ExecuteCommandPlugin - remove reject on failure if command hasnt erorHandler
|
|
|
309
336
|
|
|
310
337
|
# Version 2.5.41, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/612fb7573419ad9857649f7211c8d7a56e52cdb4)
|
|
311
338
|
* ## Features
|
|
339
|
+
* <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
340
|
* <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
341
|
|
|
314
342
|
* ## Fixes
|
|
@@ -499,6 +527,7 @@ isolate lastValue from native ComboBox logic</span> ([57078e], [link](http://git
|
|
|
499
527
|
* update: CHANGELOG.md ([473997], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4739978f7ebb8564b5b233c496ce9c98d977c1c6))
|
|
500
528
|
|
|
501
529
|
# Version 2.5.21, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/dc202083a949169e0203fa47bf2defa312201a33)
|
|
530
|
+
* CRM-7662 Управление выравниванием xtype = iconSvgColumn в ячейке ([064e19], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/064e191cd27cd45f0293bb30c9938325722b4837))
|
|
502
531
|
* update: CHANGELOG.md ([e1a4d6], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e1a4d65ec93284adeab64eb21ab51e737c229df7))
|
|
503
532
|
|
|
504
533
|
# Version 2.5.20, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a884bf408a15fd41a3b62aa7f11301df69e99fc1)
|
|
@@ -524,6 +553,8 @@ fix ReportPropertiesPanelController</span> ([e2b928], [link](http://gitlab-dbr.s
|
|
|
524
553
|
* <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
554
|
* <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
555
|
|
|
556
|
+
* CRM-7662 Управление выравниванием xtype = iconSvgColumn в ячейке ([8065d1], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8065d124ffdbfe46177d5ea710e14183257a9494))
|
|
557
|
+
* CRM-7662 Управление выравниванием xtype = iconSvgColumn в ячейке ([cfd31c], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/cfd31c9d0e148c37a26e8d924abeff30b8a404b2))
|
|
527
558
|
* update: CHANGELOG.md ([ff88bb], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ff88bb739914adacf1bbfa5284b31f603e480795))
|
|
528
559
|
|
|
529
560
|
# 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
|
});
|
|
@@ -29,7 +29,7 @@ Ext.define('Coon.report.plugin.grid.ReportColumnStatePlugin', {
|
|
|
29
29
|
}.bind(this));
|
|
30
30
|
},
|
|
31
31
|
checkEnableAutoSize() {
|
|
32
|
-
if (this.grid.getEnableAutoSize() === true) {
|
|
32
|
+
if (typeof this.grid.getEnableAutoSize === 'function' && this.grid.getEnableAutoSize() === true) {
|
|
33
33
|
const savedState = localStorage.getItem('reportsState');
|
|
34
34
|
let deserializedState; let currentReportState;
|
|
35
35
|
try {
|