ru.coon 2.7.41 → 2.7.43

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.
Files changed (97) hide show
  1. package/.gitattributes +1 -1
  2. package/.husky/pre-commit +4 -4
  3. package/.lintstagedrc.json +2 -2
  4. package/CHANGELOG.md +18 -0
  5. package/Readme.md +24 -24
  6. package/TODO.md +7 -7
  7. package/doc/changelog.md +118 -118
  8. package/doc/shortcuts.md +5 -5
  9. package/jsdoc.config.json +29 -29
  10. package/package.json +78 -78
  11. package/sass/src/common/plugin/form/PeriodPicker.scss +8 -8
  12. package/src/Function.scss +4 -4
  13. package/src/app/viewPort/Main.scss +133 -133
  14. package/src/command/Readme.md +4 -4
  15. package/src/common/component/ColorPalette.scss +102 -102
  16. package/src/common/component/ExternalFrame.scss +8 -8
  17. package/src/common/component/HotkeyHelpText.scss +34 -34
  18. package/src/common/component/TreeComponentStructure.scss +5 -5
  19. package/src/common/component/editor/CharacteristicGridEditor.scss +66 -66
  20. package/src/common/component/editor/TypedCharacteristicEditor.scss +7 -7
  21. package/src/common/component/formeditor/UiCustomFilterForm.scss +7 -7
  22. package/src/common/component/formeditor/UiCustomFormEditor.scss +42 -42
  23. package/src/common/component/visualeditor/UiCPVisualEditor.scss +108 -108
  24. package/src/common/field/EditorJs.scss +41 -41
  25. package/src/common/field/FieldsHelper.js +0 -0
  26. package/src/common/field/ReportValueField.scss +2 -2
  27. package/src/common/field/combo/CommandComboBox.scss +19 -19
  28. package/src/common/panel/DayPicker.scss +15 -15
  29. package/src/common/panel/MainUploadPanel.js +6 -6
  30. package/src/common/panel/MainUploadPanel.scss +13 -13
  31. package/src/common/panel/SelectIconClassPanel.scss +38 -38
  32. package/src/common/panel/SelectIconClassPanelTemplate.scss +14 -14
  33. package/src/common/panel/WindowWrap.js +0 -0
  34. package/src/common/panel/WindowWrap.scss +8 -8
  35. package/src/common/panel/dropzone/UniversalMultiUploadForm.scss +29 -29
  36. package/src/common/panel/dropzone/UploadDropZone.scss +36 -36
  37. package/src/common/panel/widget/WidgetPanel.scss +157 -157
  38. package/src/info.scss +12 -12
  39. package/src/nav/AppNavTab.scss +20 -20
  40. package/src/nav/AppNavigationBar.scss +9 -9
  41. package/src/nav/AppNavigationMenu.scss +60 -60
  42. package/src/nav/AppNavigationToggleButton.scss +6 -6
  43. package/src/nav/editor/menu/NavMenuTreeView.scss +104 -104
  44. package/src/nav/editor/menu/form/NavMenuFormView.js +1 -1
  45. package/src/nav/editor/menu/form/NavMenuFormViewController.js +3 -4
  46. package/src/nav/editor/workspace/NavWorkspaceListView.scss +35 -35
  47. package/src/nav/editor/workspace/form/NavWorkspaceFormController.js +38 -6
  48. package/src/nav/menu/NavMenuPanel.scss +11 -11
  49. package/src/nav/menu/WorkspaceMenuView.scss +218 -218
  50. package/src/nav/windowHolderTab.scss +13 -13
  51. package/src/report/column/MultiFilesColumn.scss +8 -8
  52. package/src/report/component/BoundListPagingToolbar.scss +7 -7
  53. package/src/report/component/ErrorWindow.scss +15 -15
  54. package/src/report/component/ParameterizedReportCombo.scss +85 -85
  55. package/src/report/component/ReportPanel.scss +69 -69
  56. package/src/report/component/SimpleReportTag.scss +22 -22
  57. package/src/report/component/reportpanel/CopyReportPanel.scss +14 -14
  58. package/src/report/component/reportpanel/FilterPanel.scss +16 -16
  59. package/src/report/component/reportpanel/FilterPanelLegend.scss +23 -23
  60. package/src/report/component/reportpanel/NorthPanel.scss +18 -18
  61. package/src/report/component/reportpanel/ReportGrid.scss +37 -37
  62. package/src/report/component/settings/ReportFormEditPanel.scss +87 -87
  63. package/src/report/component/settings/ReportPropertiesGrid.scss +25 -25
  64. package/src/report/component/settings/field/ReportFormFieldsGrid.scss +5 -5
  65. package/src/report/component/settings/property/ReportPropertiesPanel.scss +12 -12
  66. package/src/report/plugin/SettingsManagerPlugin/view/SMPMainView.scss +3 -3
  67. package/src/report/plugin/configPanel/AddFilterConditionPluginConfigPanel.scss +53 -53
  68. package/src/report/plugin/configPanel/CopyRowsFromGridConfigPanel.js +34 -14
  69. package/src/report/plugin/configPanel/ExecuteCommandButtonPluginConfigPanel.scss +5 -5
  70. package/src/report/plugin/configPanel/GroupRowsPluginConfigPanel.scss +3 -3
  71. package/src/report/plugin/configPanel/UiAceEditorField.scss +20 -20
  72. package/src/report/plugin/configPanel/common/pluginDescriptionLabel.scss +8 -8
  73. package/src/report/plugin/grid/CopyRowsFromGrid.js +17 -11
  74. package/src/report/plugin/grid/GridRowStylePlugin.scss +56 -56
  75. package/src/report/plugin/grid/ReportTabContainerPlugin.scss +3 -3
  76. package/src/report/plugin/grid/ToggleColumnsPlugin.scss +7 -7
  77. package/src/report/plugin/grid/ToolbarButtonPlugin.scss +3 -3
  78. package/src/report/plugin/grid/TreeNestingToolbarButtonPlugin.js +14 -4
  79. package/src/research/ResearchTreeView.scss +19 -19
  80. package/src/security/component/RoleFileUploadForm.scss +4 -4
  81. package/src/security/component/ui/UiCPRestrictionEditor.scss +4 -4
  82. package/src/security/securitySettingComponent/RoleEditPanel.scss +16 -16
  83. package/src/uielement/component/MenuItemList.scss +35 -35
  84. package/src/uielement/component/formchips/FilterConditionToolbar.scss +74 -74
  85. package/src/uielement/component/settings/UiCustomPanelEditor.scss +9 -9
  86. package/src/uielement/component/settings/config/UiCPConfigPanelController.scss +24 -24
  87. package/src/uielement/component/settings/plugin/UiCustomPanelPluginGrid.js +18 -2
  88. package/src/uielement/component/settings/plugin/UiCustomPanelPluginGrid.scss +11 -11
  89. package/src/uielement/component/settings/plugin/UiCustomPanelPluginGridController.js +10 -0
  90. package/src/uielement/component/settings/plugin/UiCustomPanelPluginPanel.scss +30 -30
  91. package/src/uielement/component/settings/version/UiCPVersionPanel.scss +15 -15
  92. package/src/uielement/component/settings/version/UiCPVersionPanelController.js +2 -1
  93. package/src/uielement/plugin/AddOutputParamsPlugin.js +1 -1
  94. package/src/uielement/plugin/configPanel/AddBindingsPluginConfigPanelFormEditor.scss +29 -29
  95. package/src/uielement/plugin/configPanel/executeCommand/ExecuteCommandPluginConfigPanelFormEditor.scss +22 -22
  96. package/src/version.js +1 -1
  97. package/src/common/panel/StopwatchWindow.js +0 -44
@@ -1,74 +1,74 @@
1
- .x-menu-body .x-box-target, .FilterConditionToolbar {
2
-
3
- .closable-chip, .unusable-chip, .chip, .service-chip {
4
- display: inline-block;
5
- cursor: default;
6
- padding: 0 15px;
7
- height: 26px;
8
- line-height: 26px;
9
- border-radius: 13px;
10
- .chip-value {
11
- font-size: 13px;
12
- }
13
- .closebtn {
14
- padding-left: 10px;
15
- color: #888;
16
- font-weight: bold;
17
- float: right;
18
- font-size: 15px;
19
- cursor: pointer;
20
- }
21
- .closebtn:hover {
22
- color: #000;
23
- }
24
- }
25
- .remote-search-chip {
26
- background-color: #f5f5f5;
27
- .chip-value {
28
- font-size: 12px;
29
- color: rgba(17,17,17,0.8);
30
- font-weight: 400;
31
- line-height: 16px;
32
- }
33
- }
34
-
35
- .local-search-chip {
36
- background-color: #dffad3;
37
- }
38
-
39
- /* Неиспользованное для поиска поле и сервисное поле */
40
- .unusable-chip {
41
- .chip-value {
42
- font-size: 12px;
43
- font-style: italic;
44
- color: #111111;
45
- font-weight: 400;
46
- line-height: 16px;
47
- }
48
- }
49
-
50
- .service-chip {
51
- .chip-value {
52
- font-size: 12px;
53
- color: rgba(17,17,17,0.8);
54
- font-weight: 400;
55
- line-height: 16px;
56
- }
57
- }
58
-
59
- .chip, .service-chip, .unusable-chip {
60
- .closebtn {
61
- display: none;
62
- }
63
- }
64
-
65
- .closable-chip {
66
- .closebtn {
67
- display: block;
68
- }
69
- }
70
-
71
- .tool-eye-horus {
72
- color: #002453;
73
- }
74
- }
1
+ .x-menu-body .x-box-target, .FilterConditionToolbar {
2
+
3
+ .closable-chip, .unusable-chip, .chip, .service-chip {
4
+ display: inline-block;
5
+ cursor: default;
6
+ padding: 0 15px;
7
+ height: 26px;
8
+ line-height: 26px;
9
+ border-radius: 13px;
10
+ .chip-value {
11
+ font-size: 13px;
12
+ }
13
+ .closebtn {
14
+ padding-left: 10px;
15
+ color: #888;
16
+ font-weight: bold;
17
+ float: right;
18
+ font-size: 15px;
19
+ cursor: pointer;
20
+ }
21
+ .closebtn:hover {
22
+ color: #000;
23
+ }
24
+ }
25
+ .remote-search-chip {
26
+ background-color: #f5f5f5;
27
+ .chip-value {
28
+ font-size: 12px;
29
+ color: rgba(17,17,17,0.8);
30
+ font-weight: 400;
31
+ line-height: 16px;
32
+ }
33
+ }
34
+
35
+ .local-search-chip {
36
+ background-color: #dffad3;
37
+ }
38
+
39
+ /* Неиспользованное для поиска поле и сервисное поле */
40
+ .unusable-chip {
41
+ .chip-value {
42
+ font-size: 12px;
43
+ font-style: italic;
44
+ color: #111111;
45
+ font-weight: 400;
46
+ line-height: 16px;
47
+ }
48
+ }
49
+
50
+ .service-chip {
51
+ .chip-value {
52
+ font-size: 12px;
53
+ color: rgba(17,17,17,0.8);
54
+ font-weight: 400;
55
+ line-height: 16px;
56
+ }
57
+ }
58
+
59
+ .chip, .service-chip, .unusable-chip {
60
+ .closebtn {
61
+ display: none;
62
+ }
63
+ }
64
+
65
+ .closable-chip {
66
+ .closebtn {
67
+ display: block;
68
+ }
69
+ }
70
+
71
+ .tool-eye-horus {
72
+ color: #002453;
73
+ }
74
+ }
@@ -1,10 +1,10 @@
1
- .UiCustomPanelEditor {
2
- .good-hash {
3
- color: #64AA2B;
4
- font-size: 19px;
5
- }
6
- .bad-hash {
7
- color: red;
8
- font-size: 19px;
9
- }
1
+ .UiCustomPanelEditor {
2
+ .good-hash {
3
+ color: #64AA2B;
4
+ font-size: 19px;
5
+ }
6
+ .bad-hash {
7
+ color: red;
8
+ font-size: 19px;
9
+ }
10
10
  }
@@ -1,24 +1,24 @@
1
- .errorsCountMsg, .errorsCountBtn span[data-ref="btnInnerEl"] {
2
- color: red !important;
3
- }
4
-
5
- .errorsCountBtn, .warningsCountBtn {
6
- font-size: 15px !important;
7
- background-color: white !important;
8
- }
9
-
10
- .warningsCountBtn span[data-ref="btnInnerEl"] {
11
- color: #b9b92d !important;
12
- }
13
-
14
- .errorsCountMsg {
15
- margin-top: 12px !important;
16
- }
17
-
18
- .x-warningsCountBtn-focus {
19
- background-color: white !important;
20
- }
21
-
22
- .x-warningsCountMenuItem-focus a[data-ref="itemEl"] {
23
- background-color: #d0d0d0 !important;
24
- }
1
+ .errorsCountMsg, .errorsCountBtn span[data-ref="btnInnerEl"] {
2
+ color: red !important;
3
+ }
4
+
5
+ .errorsCountBtn, .warningsCountBtn {
6
+ font-size: 15px !important;
7
+ background-color: white !important;
8
+ }
9
+
10
+ .warningsCountBtn span[data-ref="btnInnerEl"] {
11
+ color: #b9b92d !important;
12
+ }
13
+
14
+ .errorsCountMsg {
15
+ margin-top: 12px !important;
16
+ }
17
+
18
+ .x-warningsCountBtn-focus {
19
+ background-color: white !important;
20
+ }
21
+
22
+ .x-warningsCountMenuItem-focus a[data-ref="itemEl"] {
23
+ background-color: #d0d0d0 !important;
24
+ }
@@ -69,7 +69,7 @@ Ext.define('Coon.uielement.component.settings.plugin.UiCustomPanelPluginGrid', {
69
69
  this.fireEvent('dataUpdated');
70
70
  },
71
71
  getData: function() {
72
- return this.getStore().getRange().map((rec) => rec.getData());
72
+ return this.getStore().getDataSource().getRange().map((rec) => rec.getData());
73
73
  },
74
74
 
75
75
  excludePtypes() {
@@ -113,6 +113,23 @@ Ext.define('Coon.uielement.component.settings.plugin.UiCustomPanelPluginGrid', {
113
113
  listeners: {
114
114
  select: 'addHandler',
115
115
  },
116
+ },
117
+ {
118
+ xtype: 'textfield',
119
+ emptyText: 'фильтр по тексту в плагинах',
120
+ flex: 1,
121
+ listeners: {
122
+ change: 'searchInPlugins',
123
+ },
124
+ triggers: {
125
+ clear: {
126
+ cls: 'svg-icon svg-icon-cancel-small',
127
+ tooltip: 'Очистить поле',
128
+ handler: function() {
129
+ this.clear();
130
+ },
131
+ },
132
+ },
116
133
  }
117
134
  ],
118
135
  }],
@@ -201,6 +218,5 @@ Ext.define('Coon.uielement.component.settings.plugin.UiCustomPanelPluginGrid', {
201
218
  this.callParent(arguments);
202
219
  const state = Ext.state.Manager.getProvider().get('UiCustomPanelPluginGrid') || {};
203
220
  this.setPinned(state.pinned);
204
- Coon.log.debug(state, this);
205
221
  },
206
222
  });
@@ -1,11 +1,11 @@
1
- .UiCustomPanelPluginGrid {
2
- .x-title-icon {
3
- color: gray!important;
4
- }
5
- .deletedRecord {
6
- text-decoration: line-through;
7
- }
8
- .newRecord {
9
- font-style:italic;
10
- }
11
- }
1
+ .UiCustomPanelPluginGrid {
2
+ .x-title-icon {
3
+ color: gray!important;
4
+ }
5
+ .deletedRecord {
6
+ text-decoration: line-through;
7
+ }
8
+ .newRecord {
9
+ font-style:italic;
10
+ }
11
+ }
@@ -25,6 +25,16 @@ Ext.define('Coon.uielement.component.settings.plugin.UiCustomPanelPluginGridCont
25
25
  });
26
26
  },
27
27
 
28
+ searchInPlugins(field, value) {
29
+ const filterByText = (plugin) => JSON.stringify(plugin.get('jsonProperties')).includes(value);
30
+ const store = this.getView().getStore();
31
+ if (value) {
32
+ store.addFilter(filterByText);
33
+ } else {
34
+ store.clearFilter();
35
+ }
36
+ },
37
+
28
38
  getNextIDSeq: function() {
29
39
  let maxSeqID = 0;
30
40
  this.getView().getStore().each(function(record) {
@@ -1,30 +1,30 @@
1
- .UiCustomPanelPluginPanel {
2
- .pluginInfo .x-form-display-field{
3
- text-align: left;
4
- font-size: 1em;
5
- font-weight: bold;
6
- padding: 8px;
7
- }
8
- .x-docked.x-panel-header-collapsed {
9
- padding: 8px 4px!important;
10
- }
11
-
12
- .deletedRecord {
13
- color: darkred;
14
- text-decoration: line-through;
15
- }
16
- .readOnlyRecord {
17
- .x-grid-td {
18
- background-color: #f5f5f5;
19
- color: #555;
20
- }
21
- }
22
-
23
- .readOnlyDeletedRecord {
24
- .x-grid-td {
25
- color: darkred;
26
- text-decoration: line-through;
27
- background-color: #f5f5f5;
28
- }
29
- }
30
- }
1
+ .UiCustomPanelPluginPanel {
2
+ .pluginInfo .x-form-display-field{
3
+ text-align: left;
4
+ font-size: 1em;
5
+ font-weight: bold;
6
+ padding: 8px;
7
+ }
8
+ .x-docked.x-panel-header-collapsed {
9
+ padding: 8px 4px!important;
10
+ }
11
+
12
+ .deletedRecord {
13
+ color: darkred;
14
+ text-decoration: line-through;
15
+ }
16
+ .readOnlyRecord {
17
+ .x-grid-td {
18
+ background-color: #f5f5f5;
19
+ color: #555;
20
+ }
21
+ }
22
+
23
+ .readOnlyDeletedRecord {
24
+ .x-grid-td {
25
+ color: darkred;
26
+ text-decoration: line-through;
27
+ background-color: #f5f5f5;
28
+ }
29
+ }
30
+ }
@@ -1,15 +1,15 @@
1
- .headerAceDiffContainerLeftSection{
2
- width: 50%;
3
- height: 20px;
4
- float: left;
5
- text-align: center;
6
- }
7
- .headerAceDiffContainerRightSection{
8
- width: 50%;
9
- height: 20px;
10
- float: right;
11
- text-align: center;
12
- }
13
- .x-btn-icon-el-default-toolbar-small{
14
- height: 24px;
15
- }
1
+ .headerAceDiffContainerLeftSection{
2
+ width: 50%;
3
+ height: 20px;
4
+ float: left;
5
+ text-align: center;
6
+ }
7
+ .headerAceDiffContainerRightSection{
8
+ width: 50%;
9
+ height: 20px;
10
+ float: right;
11
+ text-align: center;
12
+ }
13
+ .x-btn-icon-el-default-toolbar-small{
14
+ height: 24px;
15
+ }
@@ -83,7 +83,8 @@ Ext.define('Coon.uielement.component.settings.version.UiCPVersionPanelController
83
83
  const record = grid.getSelection()[0];
84
84
  const version = vm.get('version');
85
85
  if (record && version) {
86
- this.getView().fireEvent('loadUiElementBean', version);
86
+ const controller = this.getView().up('UiCustomPanelEditor').getController();
87
+ controller.loadUiElementBean(version);
87
88
  }
88
89
  },
89
90
  onApplyChanges: function(elem) {
@@ -1,5 +1,5 @@
1
1
  Ext.define('Coon.uielement.plugin.AddOutputParamsPlugin', {
2
- extend: 'Ext.plugin.Abstract',
2
+ extend: 'Coon.uielement.plugin.CustomPanelPlugin',
3
3
  alias: 'plugin.AddOutputParamsPlugin',
4
4
  configurePanelWizardForFormEditor: 'AddOutputParamsPluginConfigPanelFormEditor',
5
5
  config: {
@@ -1,29 +1,29 @@
1
- .ace-editor-content .x-grid-cell-inner {
2
- overflow: auto;
3
- white-space: pre-wrap;
4
- }
5
-
6
- .middle-align-elem{
7
- vertical-align: middle;
8
- }
9
-
10
- .is-used-action{
11
- background-color: #ddfdd2;
12
- color: #111 !important;
13
- }
14
-
15
- .not-in-list-action{
16
- cursor: pointer;
17
- color: rgba(243, 173, 22, 0.89);
18
- float:right;
19
- width:18px;
20
- height: 20px;
21
- }
22
-
23
- .already-exists-in-list-action{
24
- cursor: pointer;
25
- color: rgba(231, 70, 70, 0.91);
26
- float:right;
27
- width:18px;
28
- height: 20px;
29
- }
1
+ .ace-editor-content .x-grid-cell-inner {
2
+ overflow: auto;
3
+ white-space: pre-wrap;
4
+ }
5
+
6
+ .middle-align-elem{
7
+ vertical-align: middle;
8
+ }
9
+
10
+ .is-used-action{
11
+ background-color: #ddfdd2;
12
+ color: #111 !important;
13
+ }
14
+
15
+ .not-in-list-action{
16
+ cursor: pointer;
17
+ color: rgba(243, 173, 22, 0.89);
18
+ float:right;
19
+ width:18px;
20
+ height: 20px;
21
+ }
22
+
23
+ .already-exists-in-list-action{
24
+ cursor: pointer;
25
+ color: rgba(231, 70, 70, 0.91);
26
+ float:right;
27
+ width:18px;
28
+ height: 20px;
29
+ }
@@ -1,22 +1,22 @@
1
- .ExecuteCommandPluginConfigPanelFormEditor {
2
- $required-flag-color: dynamic(#bf1313);
3
- font-size: 12px;
4
- margin: 5px;
5
- .required-flag {
6
- font-size: 18px;
7
- color: $required-flag-color;
8
- }
9
- span.code {
10
- color: green;
11
- font-family: "Lucida Console", "Courier New", monospace;
12
- }
13
- .x-form-trigger-default.helpicon {
14
- background-color: white;
15
- }
16
-
17
- .wrong-parameters {
18
- color: green;
19
- font-style: italic;
20
- font-family: "Lucida Console", "Courier New", monospace;
21
- }
22
- }
1
+ .ExecuteCommandPluginConfigPanelFormEditor {
2
+ $required-flag-color: dynamic(#bf1313);
3
+ font-size: 12px;
4
+ margin: 5px;
5
+ .required-flag {
6
+ font-size: 18px;
7
+ color: $required-flag-color;
8
+ }
9
+ span.code {
10
+ color: green;
11
+ font-family: "Lucida Console", "Courier New", monospace;
12
+ }
13
+ .x-form-trigger-default.helpicon {
14
+ background-color: white;
15
+ }
16
+
17
+ .wrong-parameters {
18
+ color: green;
19
+ font-style: italic;
20
+ font-family: "Lucida Console", "Courier New", monospace;
21
+ }
22
+ }
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '2.7.41',
3
+ number: '2.7.43',
4
4
  });
@@ -1,44 +0,0 @@
1
- Ext.define('Coon.common.panel.StopwatchWindow',
2
- {
3
- extend: 'Ext.window.Window',
4
- xtype: 'stopwatch-window',
5
- bodyPadding: 0,
6
- layout: {
7
- type: 'vbox',
8
- align: 'center',
9
- },
10
- height: 240,
11
- width: 300,
12
- modal: true,
13
- closable: false,
14
- resizable: false,
15
- draggable: false,
16
- closeAction: 'destroy',
17
- textPrefix: 'Время выполнения: ',
18
- items: [{
19
- xtype: 'container',
20
- itemId: 'stopwatch-window-mask-target',
21
- width: '100%',
22
- flex: 1,
23
- }],
24
- listeners: {
25
- render: function(win) {
26
- win.tick();
27
- win.timerId = setInterval(win.tick.bind(win), 1000);
28
- },
29
- destroy: function(win) {
30
- win.timerId && clearInterval(win.timerId);
31
- },
32
- },
33
- tick: function() {
34
- this.setLoading(
35
- (this.textPrefix || '') + new Date(this.secondsVisible++ * 1000).toISOString().substr(11, 8),
36
- this.getComponent('stopwatch-window-mask-target'));
37
- },
38
- constructor: function(config) {
39
- Ext.apply(this, config);
40
- this.self.superclass['constructor'].apply(this);
41
- this.secondsVisible = 1;
42
- },
43
- }
44
- );