ru.coon 2.7.46 → 2.7.48
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,6 +1,17 @@
|
|
|
1
|
+
<<<<<<< HEAD
|
|
1
2
|
# Version 2.7.46, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/19e7bc15c819e0dda639b962060e1993b1f29b6b)
|
|
2
3
|
* upd ([b76ef9], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b76ef97561c257ff2c4956cebd21a69813219c2a))
|
|
3
4
|
* sync ([31dbbf], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/31dbbf2431bf2bbc6aff326d50edc1fd61af841d))
|
|
5
|
+
=======
|
|
6
|
+
# Version 2.7.47, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/83d7e98c91d4219f3d673decd3ebae65144e77a3)
|
|
7
|
+
* update: CHANGELOG.md ([e32b02], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e32b025afe52cc55930d04bccba9fd19be5905b9))
|
|
8
|
+
|
|
9
|
+
# Version 2.7.46, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/236b6e13be06add8fe0eeab8b079e086e1d8b524)
|
|
10
|
+
* ## Features
|
|
11
|
+
* <span style='color:green'>feat: extjs_iconpack version 1.3.26. Related to HT-8076.</span> ([4800c2], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4800c23beff6959619ff467bbcb6c7fc30afb188))
|
|
12
|
+
|
|
13
|
+
* :feat HT-8890 update extjs_iconpack to 1.3.27 ([108b17], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/108b17bbd73ed4064b884baa8633b0ceb9981048))
|
|
14
|
+
>>>>>>> ee1e7e89e565e1b5514a5ee284c938b1e138e612
|
|
4
15
|
* update: CHANGELOG.md ([c9af96], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/c9af967e425b3f60570f9bf2198c105c7480f8e6))
|
|
5
16
|
|
|
6
17
|
# Version 2.7.45, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6d09543c991b7ecfb2ea0f7e4369298dbfd2327f)
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "ru.coon"
|
|
5
5
|
},
|
|
6
6
|
"description": "",
|
|
7
|
-
"version": "2.7.
|
|
7
|
+
"version": "2.7.48",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"ace-diff": "^3.0.3",
|
|
28
28
|
"decimal.js-light": "^2.5.1",
|
|
29
29
|
"echarts": "^5.3.3",
|
|
30
|
-
"extjs_iconpack": "1.3.
|
|
30
|
+
"extjs_iconpack": "1.3.27",
|
|
31
31
|
"json5": "2.2.3",
|
|
32
32
|
"object-hash": "^3.0.0",
|
|
33
33
|
"sigma-printjs": "^1.0.1",
|
|
@@ -7,36 +7,34 @@ Ext.define('Coon.uielement.component.UiCustomPanelTraceWindow', {
|
|
|
7
7
|
|
|
8
8
|
scrollable: 'y',
|
|
9
9
|
|
|
10
|
-
width:
|
|
11
|
-
height:
|
|
10
|
+
width: 1200,
|
|
11
|
+
height: 800,
|
|
12
12
|
modal: true,
|
|
13
13
|
maximizable: true,
|
|
14
|
-
layout:
|
|
14
|
+
layout: {
|
|
15
|
+
type: 'hbox',
|
|
16
|
+
align: 'stretch',
|
|
17
|
+
},
|
|
15
18
|
|
|
16
19
|
items: [
|
|
17
20
|
{
|
|
18
|
-
xtype: '
|
|
21
|
+
xtype: 'gridpanel',
|
|
22
|
+
flex: 1,
|
|
23
|
+
split: true,
|
|
24
|
+
width: 500,
|
|
19
25
|
store: {
|
|
20
26
|
type: 'json',
|
|
21
27
|
},
|
|
22
28
|
columns: [
|
|
23
29
|
{xtype: 'datecolumn', dataIndex: 'time', text: 'время', flex: 1, format: 'h:m:s.u'},
|
|
24
30
|
{dataIndex: 'ptype', text: 'плагин', flex: 1},
|
|
25
|
-
{dataIndex: 'handlerName', text: 'название обработчика', flex: 1}
|
|
26
|
-
{
|
|
27
|
-
dataIndex: 'args',
|
|
28
|
-
text: 'args',
|
|
29
|
-
flex: 1,
|
|
30
|
-
renderer(args) {
|
|
31
|
-
return Array.isArray(args) && args.map((arg) => Coon.util.runIfTypeIn(
|
|
32
|
-
arg,
|
|
33
|
-
['boolean', 'string', 'integer'],
|
|
34
|
-
() => arg,
|
|
35
|
-
Coon.util.typeOf
|
|
36
|
-
)).join('<br />') || 'empty';
|
|
37
|
-
},
|
|
38
|
-
}
|
|
31
|
+
{dataIndex: 'handlerName', text: 'название обработчика', flex: 1}
|
|
39
32
|
],
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
xtype: 'UiAceEditor',
|
|
36
|
+
readOnly: true,
|
|
37
|
+
flex: 1,
|
|
40
38
|
}
|
|
41
39
|
],
|
|
42
40
|
|
|
@@ -47,4 +45,37 @@ Ext.define('Coon.uielement.component.UiCustomPanelTraceWindow', {
|
|
|
47
45
|
scope.isTracePluginsEnabled()
|
|
48
46
|
);
|
|
49
47
|
},
|
|
48
|
+
|
|
49
|
+
convertArgs(args) {
|
|
50
|
+
const dict = new WeakSet();
|
|
51
|
+
const unpack = (el) => {
|
|
52
|
+
if (Coon.util.typeOf(el) === 'array') {
|
|
53
|
+
return el.map(unpack).join('\n');
|
|
54
|
+
}
|
|
55
|
+
if (Coon.util.typeOf(el) === 'object') {
|
|
56
|
+
if (dict.has(el)) {
|
|
57
|
+
return 'circular object';
|
|
58
|
+
}
|
|
59
|
+
dict.add(el);
|
|
60
|
+
if (el.$className) {
|
|
61
|
+
return el.$className;
|
|
62
|
+
}
|
|
63
|
+
return Object.entries(el).map(([k, v]) => `${k}: ${unpack(v)}`).join('\n');
|
|
64
|
+
}
|
|
65
|
+
if (typeof el === 'function') {
|
|
66
|
+
return 'function';
|
|
67
|
+
}
|
|
68
|
+
return el && el.toString ? el.toString() : typeof el;
|
|
69
|
+
};
|
|
70
|
+
return unpack(args);
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
initComponent() {
|
|
74
|
+
this.callParent();
|
|
75
|
+
const viewer = this.down('UiAceEditor');
|
|
76
|
+
const grid = this.down('gridpanel');
|
|
77
|
+
grid.on('select', function(_, record) {
|
|
78
|
+
viewer.setValue(this.convertArgs(record.data.args));
|
|
79
|
+
}, this);
|
|
80
|
+
},
|
|
50
81
|
});
|
|
@@ -48,9 +48,7 @@ Ext.define('Coon.uielement.plugin.CustomPanelPlugin', {
|
|
|
48
48
|
|
|
49
49
|
logTraceMessages(msg) {
|
|
50
50
|
const scope = this.getExecuteScope();
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
scope.locals.traceBuffer.push(msg);
|
|
51
|
+
scope.getTraceBuffer().push(msg);
|
|
52
|
+
// console.log('logTraceMessages', msg, scope.getTraceBuffer());
|
|
55
53
|
},
|
|
56
54
|
});
|
package/src/version.js
CHANGED