ru.coon 2.8.70 → 2.8.71
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 +6 -0
- package/package.json +1 -1
- package/src/report/model/ColorPluginBean.js +2 -1
- package/src/report/model/ColorPluginBeanFields.js +1 -0
- package/src/report/plugin/configPanel/GridRowStylePluginConfigPropertyGrid.js +5 -1
- package/src/report/plugin/grid/GridRowStylePlugin.js +1 -0
- package/src/report/plugin/grid/GridRowStylePlugin.scss +8 -0
- package/src/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# Version 2.8.71, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/5a46d94b4b3b366b1b4af0c1cf66350abf7a2010)
|
|
2
|
+
* ## Features
|
|
3
|
+
* <span style='color:green'>feat: add text-decoration line-through to GridRowStylePlugin CRM-10848</span> ([d6c80a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d6c80af921e7c084d484722a44f738b92f5c68b5))
|
|
4
|
+
|
|
5
|
+
* update: CHANGELOG.md ([b9a59f], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b9a59f1863f1398cd89ec637ee4abf5f75c72a44))
|
|
6
|
+
|
|
1
7
|
# Version 2.8.70, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/710920872535e7280a7e303e552cd9d43737afcc)
|
|
2
8
|
* ## Fixes
|
|
3
9
|
* <span style='color:red'> CRM-10747 add callParent to badgeButtonPlugin</span> ([05e3ac], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/05e3ac96cf3b13e83313bb98d751fccb06ea8d4b))
|
package/package.json
CHANGED
|
@@ -9,7 +9,8 @@ Ext.define('Coon.report.model.ColorPluginBean', {
|
|
|
9
9
|
{name: Coon.report.model.ColorPluginBeanFields.$background},
|
|
10
10
|
{name: Coon.report.model.ColorPluginBeanFields.$bold, type: 'boolean'},
|
|
11
11
|
{name: Coon.report.model.ColorPluginBeanFields.$italic, type: 'boolean'},
|
|
12
|
-
{name: Coon.report.model.ColorPluginBeanFields.$underline, type: 'boolean'}
|
|
12
|
+
{name: Coon.report.model.ColorPluginBeanFields.$underline, type: 'boolean'},
|
|
13
|
+
{name: Coon.report.model.ColorPluginBeanFields.$lineThrough, type: 'boolean'}
|
|
13
14
|
];
|
|
14
15
|
this.callParent(arguments);
|
|
15
16
|
},
|
|
@@ -84,6 +84,9 @@ Ext.define('Coon.report.plugin.configPanel.GridRowStylePluginConfigPropertyGrid'
|
|
|
84
84
|
if (record.get(ns.$underline)) {
|
|
85
85
|
classList.push('underlineOnRow');
|
|
86
86
|
}
|
|
87
|
+
if (record.get(ns.$lineThrough)) {
|
|
88
|
+
classList.push('lineThroughOnRow');
|
|
89
|
+
}
|
|
87
90
|
if (record.get(ns.$background)) {
|
|
88
91
|
classList.push('backgroundColorMark');
|
|
89
92
|
}
|
|
@@ -123,7 +126,8 @@ Ext.define('Coon.report.plugin.configPanel.GridRowStylePluginConfigPropertyGrid'
|
|
|
123
126
|
{header: 'Фон', flex: 1, dataIndex: ns.$background, xtype: 'hintColumn', editor: backgroundField},
|
|
124
127
|
{header: 'Жирным', dataIndex: ns.$bold, xtype: 'checkcolumn', editable: true},
|
|
125
128
|
{header: 'Наклонно', dataIndex: ns.$italic, xtype: 'checkcolumn', editable: true},
|
|
126
|
-
{header: 'С подчеркиванием', dataIndex: ns.$underline, xtype: 'checkcolumn', editable: true}
|
|
129
|
+
{header: 'С подчеркиванием', dataIndex: ns.$underline, xtype: 'checkcolumn', editable: true},
|
|
130
|
+
{header: 'Зачеркнутый', dataIndex: ns.$lineThrough, xtype: 'checkcolumn', editable: true}
|
|
127
131
|
],
|
|
128
132
|
defaults: {
|
|
129
133
|
sortable: true,
|
|
@@ -168,6 +168,7 @@ Ext.define('Coon.report.plugin.grid.GridRowStylePlugin', {
|
|
|
168
168
|
this.makeStyle(config, {prop: 'bold', css: 'font-weight', value: 'bold'});
|
|
169
169
|
this.makeStyle(config, {prop: 'italic', css: 'font-style', value: 'italic'});
|
|
170
170
|
this.makeStyle(config, {prop: 'underline', css: 'text-decoration', value: 'underline'});
|
|
171
|
+
this.makeStyle(config, {prop: 'lineThrough', css: 'text-decoration', value: 'line-through'});
|
|
171
172
|
rules.push(config);
|
|
172
173
|
return rules;
|
|
173
174
|
}, [], this);
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
text-decoration: underline;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
.lineThroughOnRow.x-grid-row {
|
|
15
|
+
text-decoration: line-through;
|
|
16
|
+
}
|
|
17
|
+
|
|
14
18
|
.linkColor.x-grid-row {
|
|
15
19
|
a {
|
|
16
20
|
color: inherit;
|
|
@@ -29,6 +33,10 @@
|
|
|
29
33
|
text-decoration: underline;
|
|
30
34
|
}
|
|
31
35
|
|
|
36
|
+
.lineThroughOnRow .x-grid-row {
|
|
37
|
+
text-decoration: line-through;
|
|
38
|
+
}
|
|
39
|
+
|
|
32
40
|
.linkColor .x-grid-row {
|
|
33
41
|
a {
|
|
34
42
|
color: inherit;
|
package/src/version.js
CHANGED