ru.coon 2.7.33 → 2.7.35
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 +47 -0
- package/package.json +1 -1
- package/src/common/component/formeditor/UiCFCellController.js +2 -1
- package/src/common/component/formeditor/UiCFConfigEditorWindow.js +1 -1
- package/src/common/component/formeditor/UiCFContainerController.js +4 -3
- package/src/common/component/formeditor/UiCFFieldsConfig.js +146 -72
- package/src/common/component/formeditor/UiCFMenuEditorWindow.js +2 -1
- package/src/common/component/formeditor/UiCFMenuEditorWindowController.js +5 -4
- package/src/common/component/formeditor/UiCFPropertiesChooseWindow.js +2 -0
- package/src/common/component/formeditor/UiCFRowController.js +5 -1
- package/src/common/component/formeditor/UiCustomFormEditor.js +21 -9
- package/src/common/component/formeditor/UiCustomFormEditorController.js +122 -39
- package/src/common/panel/MainUploadPanel.js +1 -1
- package/src/nav/AppNavigationMenu.js +2 -2
- package/src/nav/AppNavigationMenu.scss +11 -5
- package/src/nav/menu/WorkspaceMenuView.js +7 -0
- package/src/report/component/ReportPanel.js +2 -0
- package/src/report/plugin/configPanel/CopyRowsFromGridConfigPanel.js +1 -0
- package/src/report/plugin/configPanel/FilterFormEditingPluginConfigPanel.js +14 -16
- package/src/security/component/RoleAccessPanel.js +5 -1
- package/src/security/component/ui/UiCPRestrictionEditor.js +31 -8
- package/src/security/component/ui/UiCPRestrictionEditorController.js +53 -18
- package/src/security/component/url/UrlRestrictionEditor.js +55 -0
- package/src/security/component/url/UrlRestrictionEditorController.js +5 -0
- package/src/security/securitySettingComponent/RoleEditPanel.js +83 -0
- package/src/security/securitySettingComponent/RoleEditPanel.scss +17 -0
- package/src/security/securitySettingComponent/RoleEditPanelController.js +211 -0
- package/src/security/securitySettingComponent/RoleListPanel.js +35 -0
- package/src/security/securitySettingComponent/RoleListPanelController.js +240 -0
- package/src/security/securitySettingComponent/command/GitOpaDownloadCommand.js +33 -0
- package/src/security/securitySettingComponent/menu/RoleEditMenuController.js +171 -0
- package/src/security/securitySettingComponent/menu/RoleEditMenuPanel.js +72 -0
- package/src/security/securitySettingComponent/report/RoleEditReportController.js +111 -0
- package/src/security/securitySettingComponent/report/RoleEditReportPanel.js +88 -0
- package/src/security/securitySettingComponent/uiCP/RoleEditUiCPController.js +139 -0
- package/src/security/securitySettingComponent/uiCP/RoleEditUiCPPanel.js +88 -0
- package/src/security/securitySettingComponent/url/RoleEditUrlController.js +40 -0
- package/src/security/securitySettingComponent/url/RoleEditUrlPanel.js +53 -0
- package/src/security/securitySettingComponent/user/RoleEditUserController.js +61 -0
- package/src/security/securitySettingComponent/user/RoleEditUserPanel.js +49 -0
- package/src/uielement/component/formchips/FilterConditionToolbar.js +3 -6
- package/src/uielement/component/formchips/FilterConditionToolbarController.js +10 -1
- package/src/version.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,24 @@
|
|
|
1
|
+
# Version 2.7.35, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/8a36c677b3a30a03bfb3b7045d0c663fdf090bf3)
|
|
2
|
+
* update: CHANGELOG.md ([78b2a5], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/78b2a5573bdea9aede4f354a0584f5e606f7c573))
|
|
3
|
+
|
|
4
|
+
# Version 2.7.34, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9e609fb8d3d88af639747d63fc85cbb46440ac6d)
|
|
5
|
+
* ## Features
|
|
6
|
+
* <span style='color:green'>feat: HT-8422: custom menu for filter editing, upgrade interface</span> ([0eb548], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0eb54815eb605b638868a77b3a334e779fc62b77))
|
|
7
|
+
* <span style='color:green'>feat: HT-9095: move expander left, add padding-right (expander under text), update layout on item collapse</span> ([d246e1], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d246e1c110e98959b25e8f4a976104ebb2ea8921))
|
|
8
|
+
* <span style='color:green'>feat: HT-8492: create new type field</span> ([6c4d96], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6c4d967fa5e3a9fc787d692a2828ba1e3c0959d3))
|
|
9
|
+
|
|
10
|
+
* ## Fixes
|
|
11
|
+
* <span style='color:red'> HT-8148 CopyRowsFromGrid: exportAllRows default false</span> ([9be836], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9be8360fbc00aca06777895a34279463cf1a3696))
|
|
12
|
+
* <span style='color:red'> HT-9046 Ошибки на "чипах" репортов</span> ([baacd7], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/baacd776084b5e89a5df8e94c323510df291f910))
|
|
13
|
+
|
|
14
|
+
* HT-8438 feat: Переименование кнопки Отмена на Закрыть в MainUploadPanel. ([d7fdaa], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d7fdaa103a8cd181d8ee483a137c81e900a846f0))
|
|
15
|
+
* update: CHANGELOG.md ([f4992d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/f4992d42314d91d12402df364984b72e14beee51))
|
|
16
|
+
|
|
1
17
|
# Version 2.7.33, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e47cc0c267a947daeb5624b8f174b5a8a8e22375)
|
|
18
|
+
* ## Features
|
|
19
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([4f43e8], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4f43e856c4a041b681460a74d7819678a71c85f2))
|
|
20
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([5d0074], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/5d0074b69a22905e54922dd96b008f0b252a8099))
|
|
21
|
+
|
|
2
22
|
* ## Fixes
|
|
3
23
|
* <span style='color:red'> add requiredAuth property support for MainUploadPanel, BFL-13506</span> ([cf56d8], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/cf56d8856ffd43090110911e176e3ca37ee7c050))
|
|
4
24
|
|
|
@@ -7,6 +27,7 @@
|
|
|
7
27
|
# Version 2.7.32, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/40925f0ca399d6d5da42511e20b8c7fa10acadaf)
|
|
8
28
|
* ## Features
|
|
9
29
|
* <span style='color:green'>feat: HT-8492: create new type field</span> ([0657da], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0657da1e4ba8e54a47eaca571cf71596c8107c7c))
|
|
30
|
+
* <span style='color:green'>feat: HT-8422: make interface</span> ([9204dc], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9204dcabf8d689acf4ec9341fe97a26193b12e23))
|
|
10
31
|
|
|
11
32
|
* update: CHANGELOG.md ([1e8b7b], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1e8b7b6e038fb0ea66ce786f648af3e4934afc11))
|
|
12
33
|
|
|
@@ -21,6 +42,9 @@
|
|
|
21
42
|
* update: CHANGELOG.md ([935b5a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/935b5a73025d3ff9cdf61188e1b3fb1f754b84da))
|
|
22
43
|
|
|
23
44
|
# Version 2.7.30, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a72ce199d2d79b7a5dcb52cc81cd68e46f34829a)
|
|
45
|
+
* ## Features
|
|
46
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([97cda5], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/97cda502cccce84bd63fd23a9f4b82fb42caa65b))
|
|
47
|
+
|
|
24
48
|
* ## Fixes
|
|
25
49
|
* <span style='color:red'> HT-8422: set filter panel height on afterlayout</span> ([d65a92], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d65a9277c2fcedaba912ff40ba7a912049bdd7f7))
|
|
26
50
|
* <span style='color:red'> HT-8131 add universal button for collapse/expand report lines in a hierarchy</span> ([0a7edf], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0a7edf4357213fd7872ecb361ce47261b3102b4c))
|
|
@@ -44,6 +68,9 @@
|
|
|
44
68
|
* update: CHANGELOG.md ([6b1c8b], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6b1c8b9cfb4519d95713d70996f2d8f816bcaea4))
|
|
45
69
|
|
|
46
70
|
# Version 2.7.27, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/c59dc7400f5e4ee4f7bbfcd42f4aa371d9b2e68f)
|
|
71
|
+
* ## Features
|
|
72
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([1428a9], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1428a9b3baed2f41dcf5b454f5b13959700f11d6))
|
|
73
|
+
|
|
47
74
|
* ## Fixes
|
|
48
75
|
* <span style='color:red'> HT-8707 checking the component is rendered</span> ([d1fd00], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d1fd008a47ca9a0f2d7a2404c1b21e1d7aa8b2a7))
|
|
49
76
|
* <span style='color:red'> Запрещен ввод значений в характеристики типа FKV, отсутствующих в списке выбора. Closes HT-8762.</span> ([dece4f], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/dece4f2ce361c8c54d11a54dc469099698338c46))
|
|
@@ -151,7 +178,9 @@
|
|
|
151
178
|
|
|
152
179
|
# Version 2.7.15, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1e27a6d56071c26951813a36d45daf805a6f750d)
|
|
153
180
|
* ## Features
|
|
181
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([849569], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/849569ae71cf1996b287c33df5c037d2257b1029))
|
|
154
182
|
* <span style='color:green'>feat: HT-8131 add universal button for collapse/expand report lines in a hierarchy</span> ([9e7242], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9e7242dadb2907ac135dd9e6bd2bf7309ef5996f))
|
|
183
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([ca384d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ca384dc967e98e9366bdbe3afbed6558c45b9678))
|
|
155
184
|
* <span style='color:green'>feat: Вывод сообщения об ошибках при инициализации плагинов отчета. Closes HT-8531.</span> ([a35d09], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a35d09c39f20263dd032f6accc9d175a8241e111))
|
|
156
185
|
* <span style='color:green'>feat: Добавлено логирование ошибки, при возврате отчетом более одной строки. Related to HT-8223.</span> ([34491c], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/34491c4ee3f5dc6d26f5c04652796d563c9fb6c4))
|
|
157
186
|
* <span style='color:green'>feat: HT-8131 add universal button for collapse/expand report lines in a hierarchy</span> ([4da24d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4da24d2084419d57871be03bda1d714bc3e2cc7b))
|
|
@@ -389,6 +418,9 @@
|
|
|
389
418
|
* update: CHANGELOG.md ([471cb3], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/471cb32a135f4ce1e9ed5c7e03ea5ab143b84893))
|
|
390
419
|
|
|
391
420
|
# Version 2.6.12, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/3fbd123cd431a5a382b5929913df42fabddebea0)
|
|
421
|
+
* ## Features
|
|
422
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([d2d66d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d2d66de15b77e01bf96a49ade94b7a6ca65cde1e))
|
|
423
|
+
|
|
392
424
|
* ## Fixes
|
|
393
425
|
* <span style='color:red'>BFL-11558 hot fix</span> ([66e78d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/66e78dfde422a1b5938be7d43b607eadac52bd04))
|
|
394
426
|
|
|
@@ -429,6 +461,7 @@ This reverts commit ec83613d1dd2673b448c9fabee62287e9160f6bf. ([e6e94a], [link](
|
|
|
429
461
|
# Version 2.6.7, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6802942bc71e923767f61cfc703ea6385d7f932e)
|
|
430
462
|
* ## Features
|
|
431
463
|
* <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))
|
|
464
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([5f91bd], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/5f91bd8847c6ccd524f09b19789b5ac08f7345c6))
|
|
432
465
|
|
|
433
466
|
* ## Fixes
|
|
434
467
|
* <span style='color:red'> HT-7489 убрана лишняя зависимость mode-sql</span> ([f8ae6d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/f8ae6d20e8285ddeaaa9063f1e9f5524ed0832d5))
|
|
@@ -491,6 +524,7 @@ This reverts commit ec83613d1dd2673b448c9fabee62287e9160f6bf. ([e6e94a], [link](
|
|
|
491
524
|
|
|
492
525
|
# Version 2.6.0, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/78a28499d4ba7dc466ba5ff5a4b815d191c349bf)
|
|
493
526
|
* ## Features
|
|
527
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([0ce0c9], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0ce0c9c6e57c3dcf2c6f195abc3d65a71ddff478))
|
|
494
528
|
* <span style='color:green'>feat: HT-7986: chars editor interface upgrade</span> ([9af20a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/9af20aa30d2b1fa494994e0cf7d84b26b19604e0))
|
|
495
529
|
* <span style='color:green'>feat: HT-7986: chars editor interface upgrade</span> ([ccf1d4], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ccf1d42831f67ca298e2598422430da06b01ab49))
|
|
496
530
|
|
|
@@ -737,6 +771,10 @@ fix ExecuteCommandPlugin - remove reject on failure if command hasnt erorHandler
|
|
|
737
771
|
* update: CHANGELOG.md ([0ba408], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0ba4083336d6e3a3ea078bb20c8bf40e8c19c9c7))
|
|
738
772
|
|
|
739
773
|
# Version 2.5.45, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/f1e28ba95e77bbe4be40d19ea9fde58a74fbb645)
|
|
774
|
+
* ## Features
|
|
775
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([c8c4cb], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/c8c4cb9c90246e73808061371e145bc9ce1412ec))
|
|
776
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([b145cb], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b145cb9ef0a36d48ca04c0910152c66ec8ed03cd))
|
|
777
|
+
|
|
740
778
|
* ## Fixes
|
|
741
779
|
* <span style='color:red'> hot-fix: move EditorJs to coon from project</span> ([12daf8], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/12daf8abb9dbaf48910870616b0e6d52f3b2bbfd))
|
|
742
780
|
|
|
@@ -867,6 +905,7 @@ fix ExecuteCommandPlugin - remove reject on failure if command hasnt erorHandler
|
|
|
867
905
|
|
|
868
906
|
# Version 2.5.31, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/51eafa59b0b64087dacaafd66b754c04ada7e027)
|
|
869
907
|
* ## Features
|
|
908
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([e24426], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e24426d69b5746beb618716ea408a52859608700))
|
|
870
909
|
* <span style='color:green'>feat: HT-6956 add SQL beautifier</span> ([a3968b], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a3968bb98d16fbc294d355930b53f5e707d52ad7))
|
|
871
910
|
* <span style='color:green'>feat: BFL-8598 добавлена возможность скрытия легенды обязательных полей</span> ([1ac031], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1ac031674684a282c769ea74bc9bd1b0f04484bc))
|
|
872
911
|
* <span style='color:green'>feat: HT-4550 changed to Ext.ajax</span> ([3a4af5], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/3a4af588bb24b481c427749ca8d658edc9d42a57))
|
|
@@ -935,6 +974,7 @@ fix ExecuteCommandPlugin - remove reject on failure if command hasnt erorHandler
|
|
|
935
974
|
* ## Features
|
|
936
975
|
* <span style='color:green'>feat: HT-6865 доработка сервиса начитывания репортов</span> ([d5204c], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/d5204c0e6470e9f4858b800da4bfb779bd9d3d6a))
|
|
937
976
|
* <span style='color:green'>feat: BFL-8383 механизм сравнения конфигураций кастомных панелей</span> ([4514f1], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4514f131b714942a8314d772726ce33989d334fa))
|
|
977
|
+
* <span style='color:green'>feat: HT-6760 компонент для управления правами кастомных панелей</span> ([92ed5c], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/92ed5c448ea3ef1a8ae37951b12139cd6d148612))
|
|
938
978
|
|
|
939
979
|
* ## Fixes
|
|
940
980
|
* <span style='color:red'> HT-4550 fix excel file download</span> ([b81e8d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b81e8d28b762e38362624149ddaaf9d9b5daa272))
|
|
@@ -993,6 +1033,7 @@ isolate lastValue from native ComboBox logic</span> ([57078e], [link](http://git
|
|
|
993
1033
|
# Version 2.5.19, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/60dafd3ee4e54456992b474b81201242521c3991)
|
|
994
1034
|
* ## Features
|
|
995
1035
|
* <span style='color:green'>feat: HT-4550 configPanel changes</span> ([7d3ac0], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/7d3ac0a6a4a1124c3b1a240e26a4096635573e6a))
|
|
1036
|
+
* <span style='color:green'>feat: BFL-5531 компонент для управления правами кастомных панелей</span> ([7c6c22], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/7c6c224a30e08ecafea5f513badfa7c8d25930f6))
|
|
996
1037
|
|
|
997
1038
|
* ## Fixes
|
|
998
1039
|
* <span style='color:red'>fix HT-7070
|
|
@@ -1026,6 +1067,7 @@ fix ReportPropertiesPanelController</span> ([e2b928], [link](http://gitlab-dbr.s
|
|
|
1026
1067
|
* <span style='color:green'>feat: TR-67140 разработка универсальной компонент-формы для обработки статуса требуемых полей</span> ([20e76d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/20e76d097db4ddf9120ddc56f86b6470ab7335ca))
|
|
1027
1068
|
* <span style='color:green'>feat: HT-4550 add localization field property</span> ([b3bd46], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/b3bd466dd68c893fefae86ae7e16877aedb861ba))
|
|
1028
1069
|
* <span style='color:green'>feat BFL-7734: передача headers в ASyncBaseCommand</span> ([ed1202], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/ed1202d1f90cb9c73bd858598a28f63b519642c7))
|
|
1070
|
+
* <span style='color:green'>feat: BFL-5531 компонент для управления правами кастомных панелей</span> ([fa5ce6], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/fa5ce69287e739ef6bf91a8220c5605284ca7b4a))
|
|
1029
1071
|
|
|
1030
1072
|
* ## Fixes
|
|
1031
1073
|
* <span style='color:red'>fix ReportPanel saving
|
|
@@ -1229,12 +1271,16 @@ ReportSqlPreviewPanel - add UiAceEditor as sql preview field(readOnly) with sql
|
|
|
1229
1271
|
* update: CHANGELOG.md ([4f30ec], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4f30ec6b33ae95a9ab578bffca7c6dbfb63d564b))
|
|
1230
1272
|
|
|
1231
1273
|
# Version 2.4.42, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/3ee58968d5317eada421e0dc7305015761e4bcbe)
|
|
1274
|
+
* ## Features
|
|
1275
|
+
* <span style='color:green'>feat: BFL-5531 компонент для управления правами кастомных панелей</span> ([6037c3], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6037c35a23354b1cfc0cc5376fe2db6d2080fbb7))
|
|
1276
|
+
|
|
1232
1277
|
* add SelectIconClassPanel to ru.coon ([409ee0], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/409ee069080f9f1bbe08727b850e267707ebdc54))
|
|
1233
1278
|
* update: CHANGELOG.md ([cab0be], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/cab0beabbbe9e1ada4ccea28763253c0e5feb839))
|
|
1234
1279
|
|
|
1235
1280
|
# Version 2.4.41, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/95627ef5983aa5f2fd5eaf8bd4b808ba169a48fb)
|
|
1236
1281
|
* ## Features
|
|
1237
1282
|
* <span style='color:green'>feat: HT-4550 Приведение boolean полей к string при экспорте</span> ([1765f1], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1765f1c1959e585ee724021ceaa840b0fb3c2485))
|
|
1283
|
+
* <span style='color:green'>feat: BFL-5531 компонент для управления правами кастомных панелей</span> ([630150], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/6301506c6df9c577e12722c902b84a9abeaba946))
|
|
1238
1284
|
* <span style='color:green'>feat: HT-6314 Изменение отображения CharacteristicGridCopyPlugin</span> ([5fa321], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/5fa3214c6e395bc66804a7acc7fe062780da1dfd))
|
|
1239
1285
|
|
|
1240
1286
|
* add no-console rule to eslint rules ([aa512d], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/aa512db0fb0165af39481718d010c9748c5cebb5))
|
|
@@ -1694,6 +1740,7 @@ This reverts commit 0797f80cda34caf39cc4c5eb0a9ddd2c53ad1d7f. ([9db6cd], [link](
|
|
|
1694
1740
|
|
|
1695
1741
|
# Version 2.3.2, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/1fad7ad35b2e8126da6b48f87d21813d2d795fd1)
|
|
1696
1742
|
* ## Features
|
|
1743
|
+
* <span style='color:green'>feat: BFL-5531компонент для управления правами кастомных панелей</span> ([4c7521], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/4c752166453a9c71330e6a7f1511ed7a5828683c))
|
|
1697
1744
|
* <span style='color:green'>feat: TR-63829: add Characteristic editing</span> ([58654a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/58654ab2a56f601b263d92dd5dc7a7514d7bd033))
|
|
1698
1745
|
|
|
1699
1746
|
* ## Fixes
|
package/package.json
CHANGED
|
@@ -183,7 +183,8 @@ Ext.define('Coon.common.component.formeditor.UiCFCellController', {
|
|
|
183
183
|
contextMenu.showAt(event.pageX, event.pageY);
|
|
184
184
|
};
|
|
185
185
|
if (!Coon.UiCFFieldsConfig.menuIsLoaded) {
|
|
186
|
-
|
|
186
|
+
const cnt = this.getUiCFEditorController();
|
|
187
|
+
Coon.UiCFFieldsConfig.getMenuCfgFromStorage(cnt.storageMenuId, cnt.defaultMenuId).then((data) => {
|
|
187
188
|
doForm();
|
|
188
189
|
});
|
|
189
190
|
} else {
|
|
@@ -87,7 +87,8 @@ Ext.define('Coon.common.component.formeditor.UiCFContainerController', {
|
|
|
87
87
|
contextMenu.showAt(event.pageX, event.pageY);
|
|
88
88
|
};
|
|
89
89
|
if (!Coon.UiCFFieldsConfig.menuIsLoaded) {
|
|
90
|
-
|
|
90
|
+
const cnt = this.getUiCFEditorController();
|
|
91
|
+
Coon.UiCFFieldsConfig.getMenuCfgFromStorage(cnt.storageMenuId, cnt.defaultMenuId).then((data) => {
|
|
91
92
|
doForm();
|
|
92
93
|
});
|
|
93
94
|
} else {
|
|
@@ -200,15 +201,15 @@ Ext.define('Coon.common.component.formeditor.UiCFContainerController', {
|
|
|
200
201
|
|
|
201
202
|
getMenuItems(activeRow) {
|
|
202
203
|
const me = this;
|
|
204
|
+
const cnt = this.getUiCFEditorController();
|
|
203
205
|
const menuItems = [
|
|
204
206
|
{
|
|
205
207
|
text: 'добавить', iconCls: 'fa fa-plus',
|
|
206
|
-
menu: Coon.UiCFFieldsConfig.getMenuCfg(me, 'addRow', activeRow),
|
|
208
|
+
menu: Coon.UiCFFieldsConfig.getMenuCfg(me, 'addRow', activeRow, cnt.defaultMenuId),
|
|
207
209
|
}
|
|
208
210
|
];
|
|
209
211
|
// me.addRow(item.type, activeRow);
|
|
210
212
|
|
|
211
|
-
const cnt = this.getUiCFEditorController();
|
|
212
213
|
const cell = cnt.copyCell || cnt.cutCell;
|
|
213
214
|
if (cell && cell.getView() && cell.getView().id !== this.getView().id) {
|
|
214
215
|
menuItems[0].menu.push({
|
|
@@ -5,6 +5,7 @@ Ext.define('Coon.common.component.formeditor.UiCFFieldsConfig', {
|
|
|
5
5
|
storageElem: null,
|
|
6
6
|
settingsIsLoaded: false,
|
|
7
7
|
storageMenuId: 'UiCFMenuCfg',
|
|
8
|
+
menuId: 'formEditorMenu',
|
|
8
9
|
storageMenu: null,
|
|
9
10
|
menuIsLoaded: false,
|
|
10
11
|
propsCfg: {},
|
|
@@ -60,8 +61,9 @@ Ext.define('Coon.common.component.formeditor.UiCFFieldsConfig', {
|
|
|
60
61
|
this.UiCFMenuConfig = cfg;
|
|
61
62
|
}
|
|
62
63
|
},
|
|
63
|
-
getMenuCfgFromStorage() {
|
|
64
|
-
return Coon.util.promisifyCmd('command.GetUIElementCommand',
|
|
64
|
+
getMenuCfgFromStorage(storageMenuId, menuId) {
|
|
65
|
+
return Coon.util.promisifyCmd('command.GetUIElementCommand',
|
|
66
|
+
storageMenuId ? storageMenuId : this.storageMenuId).then((data) => {
|
|
65
67
|
this.storageMenu = data;
|
|
66
68
|
this.applyMenuCfg(data && data.propertyData ? JSON.parse(data.propertyData) :{});
|
|
67
69
|
this.menuIsLoaded = true;
|
|
@@ -70,74 +72,144 @@ Ext.define('Coon.common.component.formeditor.UiCFFieldsConfig', {
|
|
|
70
72
|
Ext.Msg.alert('Ошибка', error.toString());
|
|
71
73
|
});
|
|
72
74
|
},
|
|
73
|
-
setMenuCfgToStorage(cfg) {
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
setMenuCfgToStorage(cfg, storageMenuId, menuId) {
|
|
76
|
+
if (menuId) {
|
|
77
|
+
const oldCfg = JSON.parse(this.storageMenu.propertyData);
|
|
78
|
+
if (Ext.isObject(oldCfg) && oldCfg[menuId]) {
|
|
79
|
+
oldCfg[menuId] = cfg;
|
|
80
|
+
this.storageMenu.propertyData = JSON.stringify(oldCfg || {});
|
|
81
|
+
} else {
|
|
82
|
+
this.storageMenu.propertyData = JSON.stringify(cfg || {});
|
|
83
|
+
}
|
|
84
|
+
} else {
|
|
85
|
+
this.storageMenu.propertyData = JSON.stringify(cfg || {});
|
|
86
|
+
}
|
|
87
|
+
return Coon.util.promisifyCmd('command.SaveUIElementCommand',
|
|
88
|
+
storageMenuId ? storageMenuId : this.storageMenu).catch((error) => {
|
|
76
89
|
Coon.log.debug(error);
|
|
77
90
|
Ext.Msg.alert('Ошибка', error.toString());
|
|
78
91
|
});
|
|
79
92
|
},
|
|
80
93
|
UiCFMenuConfig: {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
94
|
+
formEditorMenu: {
|
|
95
|
+
expanded: true,
|
|
96
|
+
text: 'Структура меню',
|
|
97
|
+
fields: [],
|
|
98
|
+
children: [
|
|
99
|
+
{
|
|
100
|
+
text: 'Избранное',
|
|
101
|
+
leaf: true,
|
|
102
|
+
expanded: true,
|
|
103
|
+
fields: [],
|
|
104
|
+
tag: 'favorite',
|
|
105
|
+
children: [
|
|
106
|
+
],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
text: 'Поля ввода',
|
|
110
|
+
leaf: false,
|
|
111
|
+
expanded: true,
|
|
112
|
+
fields: [],
|
|
113
|
+
children: [
|
|
114
|
+
{
|
|
115
|
+
text: 'Бизнес-поля',
|
|
116
|
+
leaf: true,
|
|
117
|
+
fields: [],
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
text: 'Выбор из списка',
|
|
123
|
+
leaf: false,
|
|
124
|
+
fields: [],
|
|
125
|
+
expanded: true,
|
|
126
|
+
children: [
|
|
127
|
+
{
|
|
128
|
+
text: 'Чекбокс',
|
|
129
|
+
fields: [],
|
|
130
|
+
leaf: true,
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
text: 'Радио',
|
|
134
|
+
fields: [],
|
|
135
|
+
leaf: true,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
text: 'Выбор из отчета',
|
|
139
|
+
fields: [],
|
|
140
|
+
leaf: true,
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
text: 'Группировка полей',
|
|
146
|
+
fields: [],
|
|
147
|
+
leaf: true,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
text: 'Оформление задания',
|
|
151
|
+
fields: [],
|
|
152
|
+
leaf: true,
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
},
|
|
156
|
+
filterFormEditorMenu: {
|
|
157
|
+
expanded: true,
|
|
158
|
+
text: 'Структура меню',
|
|
159
|
+
fields: [],
|
|
160
|
+
children: [
|
|
161
|
+
{
|
|
162
|
+
text: 'Избранное',
|
|
163
|
+
leaf: true,
|
|
164
|
+
expanded: true,
|
|
165
|
+
fields: [],
|
|
166
|
+
tag: 'favorite',
|
|
167
|
+
children: [
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
text: 'Поля ввода',
|
|
172
|
+
leaf: false,
|
|
173
|
+
expanded: true,
|
|
174
|
+
fields: [],
|
|
175
|
+
children: [
|
|
176
|
+
{
|
|
177
|
+
text: 'Бизнес-поля',
|
|
178
|
+
leaf: true,
|
|
179
|
+
fields: [],
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
text: 'Выбор из списка',
|
|
185
|
+
leaf: false,
|
|
186
|
+
fields: [],
|
|
187
|
+
expanded: true,
|
|
188
|
+
children: [
|
|
189
|
+
{
|
|
190
|
+
text: 'Чекбокс',
|
|
191
|
+
fields: [],
|
|
192
|
+
leaf: true,
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
text: 'Радио',
|
|
196
|
+
fields: [],
|
|
197
|
+
leaf: true,
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
text: 'Выбор из отчета',
|
|
201
|
+
fields: [],
|
|
202
|
+
leaf: true,
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
text: 'Группировка полей',
|
|
208
|
+
fields: [],
|
|
209
|
+
leaf: true,
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
},
|
|
141
213
|
},
|
|
142
214
|
UiCFFieldsConfig: {
|
|
143
215
|
textfield: {
|
|
@@ -426,8 +498,8 @@ Ext.define('Coon.common.component.formeditor.UiCFFieldsConfig', {
|
|
|
426
498
|
description: 'Изображение',
|
|
427
499
|
},
|
|
428
500
|
},
|
|
429
|
-
getMenuStructure() {
|
|
430
|
-
return this.UiCFMenuConfig;
|
|
501
|
+
getMenuStructure(menuId) {
|
|
502
|
+
return this.UiCFMenuConfig[menuId ? menuId : this.menuId];
|
|
431
503
|
},
|
|
432
504
|
getFieldsTypes() {
|
|
433
505
|
return Object.keys(this.UiCFFieldsConfig).map((key) => {
|
|
@@ -476,15 +548,17 @@ Ext.define('Coon.common.component.formeditor.UiCFFieldsConfig', {
|
|
|
476
548
|
getFavoriteItemsName() {
|
|
477
549
|
return localStorage.getItem(this.favoriteMenuItemsPath) ? localStorage.getItem(this.favoriteMenuItemsPath).split(',') : []; ;
|
|
478
550
|
},
|
|
479
|
-
getMenuCfg(scope, fn, active) {
|
|
551
|
+
getMenuCfg(scope, fn, active, menuId) {
|
|
480
552
|
if (!this.UiCFMenuConfig) {
|
|
481
553
|
return [];
|
|
482
554
|
}
|
|
483
555
|
const favorites = this.getFavoriteItemsName();
|
|
484
556
|
let cfg = [];
|
|
485
557
|
const me = this;
|
|
486
|
-
|
|
487
|
-
|
|
558
|
+
menuId = menuId ? menuId : this.menuId;
|
|
559
|
+
const menu = this.UiCFMenuConfig[menuId];
|
|
560
|
+
if (menu.fields && menu.fields.length) {
|
|
561
|
+
menu.fields.forEach((field) => {
|
|
488
562
|
cfg.push({
|
|
489
563
|
text: this.getFieldDescription(field),
|
|
490
564
|
xtype: 'UiCFFavoriteMenuItem',
|
|
@@ -502,8 +576,8 @@ Ext.define('Coon.common.component.formeditor.UiCFFieldsConfig', {
|
|
|
502
576
|
});
|
|
503
577
|
});
|
|
504
578
|
}
|
|
505
|
-
if (
|
|
506
|
-
cfg = cfg.concat(this.getMenuRecursive(
|
|
579
|
+
if (menu.children && menu.children.length) {
|
|
580
|
+
cfg = cfg.concat(this.getMenuRecursive(menu.children, scope, fn, active));
|
|
507
581
|
}
|
|
508
582
|
return cfg;
|
|
509
583
|
},
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* global Ext */
|
|
2
2
|
Ext.define('Coon.common.component.formeditor.UiCFMenuEditorWindow', {
|
|
3
3
|
extend: 'Ext.window.Window',
|
|
4
|
+
defaultMenuId: undefined,
|
|
4
5
|
xtype: 'UiCFMenuEditorWindow',
|
|
5
6
|
cls: 'UiCFMenuEditorWindow',
|
|
6
7
|
controller: 'UiCFMenuEditorWindowController',
|
|
@@ -9,7 +10,7 @@ Ext.define('Coon.common.component.formeditor.UiCFMenuEditorWindow', {
|
|
|
9
10
|
align: 'stretch',
|
|
10
11
|
},
|
|
11
12
|
modal: true,
|
|
12
|
-
title: '
|
|
13
|
+
title: 'Настройка компонентов меню',
|
|
13
14
|
maximized: true,
|
|
14
15
|
buttons: [
|
|
15
16
|
{
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
Ext.define('Coon.common.component.formeditor.UiCFMenuEditorWindowController', {
|
|
2
2
|
extend: 'Ext.app.ViewController',
|
|
3
3
|
alias: 'controller.UiCFMenuEditorWindowController',
|
|
4
|
+
defaultMenuId: undefined,
|
|
4
5
|
init: function(view) {
|
|
5
6
|
const vm = this.getViewModel();
|
|
6
|
-
|
|
7
|
+
this.defaultMenuId = view.defaultMenuId;
|
|
7
8
|
const doForm = () => {
|
|
8
|
-
const structure = JSON.parse(JSON.stringify(Coon.UiCFFieldsConfig.getMenuStructure()));
|
|
9
|
+
const structure = JSON.parse(JSON.stringify(Coon.UiCFFieldsConfig.getMenuStructure(this.defaultMenuId)));
|
|
9
10
|
structure.children.splice(0, 1);
|
|
10
11
|
structure.children.push(Coon.UiCFFieldsConfig.unusedMenuItem);
|
|
11
12
|
vm.getStore('menuStore').setRoot(structure);
|
|
@@ -111,8 +112,8 @@ Ext.define('Coon.common.component.formeditor.UiCFMenuEditorWindowController', {
|
|
|
111
112
|
const savedValues = this.getMenuCfg(this.getViewModel().getStore('menuStore').getRoot().getData());
|
|
112
113
|
savedValues.children.splice(0, 0, Coon.UiCFFieldsConfig.favoriteMenuItem);
|
|
113
114
|
this.getView().mask('Подождите, идет сохранение');
|
|
114
|
-
Coon.UiCFFieldsConfig.setMenuCfgToStorage(savedValues).then(() => {
|
|
115
|
-
Coon.UiCFFieldsConfig.UiCFMenuConfig = savedValues;
|
|
115
|
+
Coon.UiCFFieldsConfig.setMenuCfgToStorage(savedValues, null, this.defaultMenuId).then(() => {
|
|
116
|
+
Coon.UiCFFieldsConfig.UiCFMenuConfig[this.defaultMenuId || Coon.UiCFFieldsConfig.menuId] = savedValues;
|
|
116
117
|
this.getView().unmask();
|
|
117
118
|
this.closeWindow();
|
|
118
119
|
});
|
|
@@ -7,6 +7,7 @@ Ext.define('Coon.common.component.formeditor.UiCFPropertiesChooseWindow', {
|
|
|
7
7
|
maximized: false,
|
|
8
8
|
width: 300,
|
|
9
9
|
height: '90%',
|
|
10
|
+
layout: 'fit',
|
|
10
11
|
controller: {
|
|
11
12
|
init(view) {
|
|
12
13
|
if (view.initialConfig && view.initialConfig.unusedProps && view.initialConfig.unusedProps.length) {
|
|
@@ -49,6 +50,7 @@ Ext.define('Coon.common.component.formeditor.UiCFPropertiesChooseWindow', {
|
|
|
49
50
|
items: [
|
|
50
51
|
{
|
|
51
52
|
xtype: 'grid',
|
|
53
|
+
scrollable: 'y',
|
|
52
54
|
selModel: {
|
|
53
55
|
selType: 'rowmodel',
|
|
54
56
|
mode: 'MULTI',
|
|
@@ -19,11 +19,15 @@ Ext.define('Coon.common.component.formeditor.UiCFRowController', {
|
|
|
19
19
|
getRowIndex() {
|
|
20
20
|
return this.getUiCFContainerController().getRowIndex(this.getView());
|
|
21
21
|
},
|
|
22
|
+
getUiCFEditorController() {
|
|
23
|
+
return this.getView().up('UiCustomFormEditor').getController();
|
|
24
|
+
},
|
|
22
25
|
getMenuItems(activeCell) {
|
|
23
26
|
const me = this;
|
|
27
|
+
const cnt = this.getUiCFEditorController();
|
|
24
28
|
const menuItems = [{
|
|
25
29
|
text: 'в строку', iconCls: 'fa fa-plus',
|
|
26
|
-
menu: Coon.UiCFFieldsConfig.getMenuCfg(me, 'addCell', activeCell),
|
|
30
|
+
menu: Coon.UiCFFieldsConfig.getMenuCfg(me, 'addCell', activeCell, cnt.defaultMenuId),
|
|
27
31
|
}];
|
|
28
32
|
// me.addCell(item.type, activeCell);
|
|
29
33
|
const count = this.getCountRows();
|