ru.coon 2.7.19 → 2.7.21

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,13 @@
1
+ # Version 2.7.21, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0dee5b7b0d46ea4aa23fc331e69d4fa4700cc767)
2
+ * update: CHANGELOG.md ([d3afa0], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d3afa0140acb4f44e51200cb0577051436e419f0))
3
+
4
+ # Version 2.7.20, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9c18ce767386a88eac213195958715c31f23b6df)
5
+ * ## Fixes
6
+ * <span style='color:red'>fix HT-8655, ReportPropertiesGridController.addDescriptions, will check commandProperties definition</span> ([ddf290], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ddf290e8ca91ca2b443a89c96b77b81611ae603e))
7
+ * <span style='color:red'> up extjs_iconpack version. Closes HT-8076.</span> ([1fef22], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1fef2229dc42be8045e3c9daf8d07b7fb39e82a5))
8
+
9
+ * update: CHANGELOG.md ([6d76d7], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6d76d7df04a5d952c35e4685855111bf6acb24eb))
10
+
1
11
  # Version 2.7.19, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a37058502f6f51e727d642b2aa309d2bfbe78d33)
2
12
  * update: CHANGELOG.md ([56dad9], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/56dad92c0e1c05074c641f4420527378f2c74934))
3
13
 
@@ -18,6 +28,7 @@
18
28
  * <span style='color:red'> HT-8477 overriding the method clearInput text after set value</span> ([65ee44], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/65ee4462502177dd22a9d938135913abc93152af))
19
29
  * <span style='color:red'> HT-8477 overriding the method clearInput text after set value</span> ([eeb0f6], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/eeb0f6731c804dc2a2581ca669747a835d6681bf))
20
30
 
31
+ * add requires ([e47e73], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e47e73e14a7ed40678eb7364e9040ce63cf3a81b))
21
32
  * update: CHANGELOG.md ([3a4dfb], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/3a4dfba9c4337ec6e50034a4d08a32f040fada4a))
22
33
 
23
34
  # Version 2.7.17, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8cb0e275496ba8cadce344aa25b16c66cb56251d)
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "ru.coon"
5
5
  },
6
6
  "description": "",
7
- "version": "2.7.19",
7
+ "version": "2.7.21",
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.21",
30
+ "extjs_iconpack": "1.3.23",
31
31
  "json5": "2.2.3",
32
32
  "object-hash": "^3.0.0",
33
33
  "sigma-printjs": "^1.0.1",
@@ -1,5 +1,6 @@
1
1
  Ext.define('Coon.common.component.settings.modules.settingwindowHolder', {
2
2
  alias: 'usersetting.windowHolder',
3
+ requires: ['Coon.setup'],
3
4
  defaultValue: false,
4
5
  getFieldComponent: (get, set) => {
5
6
  return {
@@ -188,12 +188,18 @@ Ext.define('Coon.report.component.settings.ReportPropertiesGridController', {
188
188
  if (!commandCombo) {
189
189
  return;
190
190
  }
191
- const command = commandCombo.getValue();
192
- if (!command) {
191
+ const commandName = commandCombo.getValue();
192
+ if (!commandName) {
193
193
  return;
194
194
  }
195
195
 
196
- const descriptions = Ext.ClassManager.getByAlias('command.' + command).prototype.commandProperties().reduce((acc, property) => {
196
+ const commandClass = Ext.ClassManager.getByAlias('command.' + commandName).prototype;
197
+
198
+ const commandProperties = typeof commandClass.commandProperties === 'function' ?
199
+ commandClass.commandProperties :
200
+ [];
201
+
202
+ const descriptions = commandProperties.reduce((acc, property) => {
197
203
  acc[property['name']] = property['description'];
198
204
  return acc;
199
205
  }, {});
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '2.7.19',
3
+ number: '2.7.21',
4
4
  });
@@ -1,5 +0,0 @@
1
- Ext.define('Coon.common.field.checkbox.RoundCheckbox', {
2
- extend: 'Ext.form.field.Checkbox',
3
- cls: 'RoundCheckbox',
4
- xtype: ['roundcheckbox', 'RoundCheckbox'],
5
- });
@@ -1,48 +0,0 @@
1
- .x-form-fieldCheckbox {
2
- .x-form-field {
3
- position: relative;
4
- }
5
-
6
- .x-form-field label {
7
- background-color: #fff;
8
- border: 1px solid #ccc;
9
- border-radius: 50%;
10
- cursor: pointer;
11
- height: 28px;
12
- left: 0;
13
- position: absolute;
14
- top: 0;
15
- width: 28px;
16
- }
17
-
18
- .x-form-field label:after {
19
- border: 2px solid #fff;
20
- border-top: none;
21
- border-right: none;
22
- content: "";
23
- height: 6px;
24
- left: 7px;
25
- opacity: 0;
26
- position: absolute;
27
- top: 8px;
28
- transform: rotate(-45deg);
29
- width: 12px;
30
- }
31
-
32
- .x-form-field input[type="checkbox"] {
33
- visibility: hidden;
34
- }
35
-
36
- .x-form-field input[type="checkbox"]:checked + label {
37
- background-color: #66bb6a;
38
- border-color: #66bb6a;
39
- }
40
-
41
- .x-form-field input[type="checkbox"]:checked + label:after {
42
- opacity: 1;
43
- }
44
-
45
- .x-form-item-body, .x-form-cb-wrap-inner {
46
- margin: 0 auto;
47
- }
48
- }
@@ -1,23 +0,0 @@
1
- Ext.define('Coon.nav.MenuLoader', {
2
- singleton: true,
3
-
4
- isLoaded: false,
5
-
6
- load() {
7
- return Coon.util.promisifyCmd('command.GetDynamicReportDataCommand', 'MENU_ALLITEMS')
8
- .then((data) => {
9
- if (Array.isArray(data.list)) {
10
- this.uiElementMap = data.list.reduce();
11
- }
12
- this.isLoaded = true;
13
- });
14
- },
15
-
16
- get() {
17
-
18
- },
19
-
20
- isValidMenuItem(uiEmentId) {
21
- return this.uiElementMap.has(uiEmentId);
22
- },
23
- });
@@ -1,7 +0,0 @@
1
- **спецификация:**
2
-
3
- входные параметры:
4
-
5
- - exportFileFormat [xls/pdf]
6
- - allowUserSelectColumnsToUpload
7
- - addToSearchButton добавить в кнопку "поиск", в этом случае в качестве параметра отправляем текущие параметры из FilterPanel(useRawFilterParams: true)