@opengis/admin 0.2.2 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +29 -29
- package/config.js +4 -4
- package/dist/{IconChevronDown-BPFs_myL.js → IconChevronDown-CpKfcYoF.js} +1 -1
- package/dist/{add-page-CrpGB-Ou.js → add-page-BUXbBSgi.js} +1 -1
- package/dist/{admin-interface-Bu8ADv9L.js → admin-interface-uzYtYAbe.js} +4 -4
- package/dist/{admin-view-Cy_FlaVp.js → admin-view-Dc5G9EIJ.js} +3 -3
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +59 -51
- package/dist/assets/logo.svg +41 -41
- package/dist/{card-view-avp4Kaot.js → card-view-D0S2x272.js} +1 -1
- package/dist/{edit-page-BPxC4yZm.js → edit-page-BxbXeZNO.js} +1 -1
- package/dist/{import-file-sDPsfE3g.js → import-file-DPPjErFi.js} +3826 -3754
- package/dist/style.css +1 -1
- package/module/settings/card/admin.accounts.table/index.yml +7 -7
- package/module/settings/card/admin.accounts.table/rules.hbs +18 -18
- package/module/settings/card/admin.accounts.table/users.hbs +13 -13
- package/module/settings/card/admin.roles.table/access.hbs +3 -3
- package/module/settings/card/admin.roles.table/general_info.hbs +1 -1
- package/module/settings/card/admin.roles.table/index.yml +21 -21
- package/module/settings/card/admin.roles.table/users.hbs +6 -6
- package/module/settings/card/admin.routes.table/general_info.hbs +13 -13
- package/module/settings/card/admin.routes.table/groups.hbs +11 -11
- package/module/settings/card/admin.routes.table/index.yml +11 -11
- package/module/settings/card/admin.routes.table/users.hbs +16 -16
- package/module/settings/card/admin.users.table/context.hbs +14 -14
- package/module/settings/card/admin.users.table/general_info.hbs +12 -12
- package/module/settings/card/admin.users.table/index.yml +22 -22
- package/module/settings/card/admin.users.table/last_login.hbs +9 -9
- package/module/settings/card/admin.users.table/logs.hbs +10 -10
- package/module/settings/card/admin.users.table/routes.hbs +7 -7
- package/module/settings/card/admin.users.table/user_roles.hbs +12 -12
- package/module/settings/cls/core.actions.json +17 -17
- package/module/settings/cls/core.scope.json +13 -13
- package/module/settings/cls/properties.site_status.json +13 -13
- package/module/settings/cls/properties.widget_status.json +13 -13
- package/module/settings/cls/users.user_type.json +13 -13
- package/module/settings/form/admin.accounts.form.json +13 -13
- package/module/settings/form/admin.custom_column.form.json +71 -71
- package/module/settings/form/admin.properties.form.json +15 -15
- package/module/settings/form/admin.roles.form.json +21 -21
- package/module/settings/form/admin.routes.form.json +25 -25
- package/module/settings/form/admin.rules.form.json +30 -30
- package/module/settings/form/admin.user_properties.form.json +15 -15
- package/module/settings/form/admin.user_roles.form.json +13 -13
- package/module/settings/form/admin.user_roles_card.form.json +13 -13
- package/module/settings/form/admin.users.form.json +153 -153
- package/module/settings/form/context.account_grants.form.json +23 -23
- package/module/settings/form/context.account_users.form.json +12 -12
- package/module/settings/form/user.user_roles.form.json +13 -13
- package/module/settings/interface/admin.properties.json +4 -4
- package/module/settings/interface/admin.roles.json +4 -4
- package/module/settings/interface/admin.routes.json +4 -4
- package/module/settings/interface/admin.users.json +4 -4
- package/module/settings/menu.json +84 -84
- package/module/settings/select/core.routes.sql +1 -1
- package/module/settings/select/core.user_mentioned.sql +1 -1
- package/module/settings/select/core.user_uid.sql +1 -1
- package/module/settings/table/admin.accounts.table.json +42 -42
- package/module/settings/table/admin.custom_column.table.json +99 -99
- package/module/settings/table/admin.properties.table.json +39 -39
- package/module/settings/table/admin.roles.table.json +64 -64
- package/module/settings/table/admin.routes.table.json +73 -73
- package/module/settings/table/admin.rules.table.json +76 -76
- package/module/settings/table/admin.user_properties.table.json +34 -34
- package/module/settings/table/admin.user_roles.table.json +72 -72
- package/module/settings/table/admin.users.table.json +132 -132
- package/module/settings/table/context.account_grants.table.json +67 -67
- package/module/settings/table/context.account_users.table.json +37 -37
- package/package.json +83 -83
- package/plugin.js +29 -29
- package/server/helpers/core/badge.js +16 -16
- package/server/helpers/core/buttonHelper.js +21 -14
- package/server/helpers/core/select.js +48 -48
- package/server/helpers/core/token.js +18 -16
- package/server/helpers/index.js +28 -28
- package/server/helpers/list/buttonHelper.js +18 -8
- package/server/helpers/list/descriptionList.js +43 -43
- package/server/helpers/list/tableList.js +81 -81
- package/server/helpers/temp/contentList.js +58 -58
- package/server/helpers/temp/ifCond.js +101 -101
- package/server/helpers/utils/button.js +5 -5
- package/server/helpers/utils/buttonAdd.js +6 -0
- package/server/helpers/utils/buttonDel.js +5 -5
- package/server/helpers/utils/buttonEdit.js +6 -0
- package/server/plugins/access/funcs/getAdminAccess.js +12 -12
- package/server/plugins/access/index.mjs +6 -6
- package/server/plugins/adminHook.js +81 -81
- package/server/plugins/cron.js +10 -10
- package/server/plugins/docs.js +28 -28
- package/server/plugins/hook.js +230 -226
- package/server/plugins/vite.js +71 -71
- package/server/routes/access/controllers/access.group.js +29 -29
- package/server/routes/access/controllers/access.group.post.js +48 -48
- package/server/routes/access/index.mjs +8 -8
- package/server/routes/access/schema.mjs +57 -57
- package/server/routes/calendar/controllers/calendar.data.js +87 -87
- package/server/routes/calendar/index.mjs +7 -7
- package/server/routes/calendar/schema.js +21 -21
- package/server/routes/data/controllers/cardData.js +105 -105
- package/server/routes/data/controllers/cardTabData.js +49 -49
- package/server/routes/data/controllers/funcs/getFilterSQL/index.js +92 -92
- package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +170 -170
- package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
- package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +64 -64
- package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
- package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
- package/server/routes/data/controllers/tableData.js +29 -29
- package/server/routes/data/controllers/tableDataId.js +27 -27
- package/server/routes/data/controllers/tableFilter.js +67 -67
- package/server/routes/data/controllers/tokenInfo.js +9 -9
- package/server/routes/data/controllers/utils/assignTokens.js +30 -30
- package/server/routes/data/controllers/utils/getColumns.js +8 -8
- package/server/routes/data/index.mjs +17 -17
- package/server/routes/data/schema.js +54 -54
- package/server/routes/menu/controllers/getMenu.js +58 -54
- package/server/routes/menu/index.mjs +5 -5
- package/server/routes/notifications/controllers/readNotifications.js +27 -27
- package/server/routes/notifications/controllers/testEmail.js +35 -35
- package/server/routes/notifications/controllers/userNotifications.js +53 -53
- package/server/routes/notifications/funcs/addNotification.js +21 -21
- package/server/routes/notifications/funcs/sendNotification.js +92 -92
- package/server/routes/notifications/hook/onWidgetSet.js +57 -57
- package/server/routes/notifications/index.mjs +27 -27
- package/server/routes/notifications/schema.js +16 -16
- package/server/routes/properties/controllers/admin.properties.get.js +29 -29
- package/server/routes/properties/controllers/user.properties.get.js +30 -30
- package/server/routes/properties/controllers/user.properties.post.js +30 -30
- package/server/routes/properties/funcs/getSettings.js +56 -56
- package/server/routes/properties/funcs/setSettings.js +44 -44
- package/server/routes/properties/funcs/utils/dataInsert.js +26 -26
- package/server/routes/properties/index.mjs +14 -14
- package/server/routes/properties/schema.js +10 -10
- package/server/routes/root.mjs +3 -3
- package/server/routes/templates/controllers/getTemplate.js +26 -26
- package/server/routes/templates/index.mjs +16 -16
- package/server/routes/templates/schema.js +8 -8
- package/server/routes/user/controllers/user.cls.id.js +14 -14
- package/server/routes/user/controllers/user.cls.js +71 -71
- package/server/routes/user/controllers/user.cls.post.js +52 -52
- package/server/routes/user/controllers/user.info.js +17 -17
- package/server/routes/user/schema.js +14 -14
- package/server/routes/widget/controllers/utils/historyFormat.js +75 -75
- package/server/routes/widget/controllers/utils/obj2db.js +13 -13
- package/server/routes/widget/controllers/widget.del.js +41 -41
- package/server/routes/widget/controllers/widget.get.js +96 -96
- package/server/routes/widget/controllers/widget.set.js +76 -76
- package/server/routes/widget/index.mjs +11 -11
- package/server/routes/widget/schema.js +12 -12
- package/server/templates/cls/itree.recrzone_category.json +73 -73
- package/server/templates/cls/test.json +9 -9
- package/server/templates/form/admin.user_cls.data.form.json +49 -49
- package/server/templates/form/admin.user_group_rel.form.json +21 -21
- package/server/templates/form/cp_building.form.json +32 -32
- package/server/templates/form/form-user-pass.json +10 -10
- package/server/templates/form/form-user_group.json +39 -39
- package/server/templates/form/form-users.json +156 -156
- package/server/templates/form/user_group_access.form.json +22 -22
- package/server/templates/select/account_id.json +2 -2
- package/server/templates/table/gis.dataset.table.json +43 -43
- package/server/templates/table/management.user_group.table.json +112 -112
- package/server/templates/table/management.users.table.json +126 -126
- package/utils.js +29 -29
- package/module/settings/form/admin.access.form.json +0 -37
- package/module/settings/table/admin.access.table.json +0 -84
@@ -1,154 +1,154 @@
|
|
1
|
-
{
|
2
|
-
"schema": {
|
3
|
-
"d1": {
|
4
|
-
"type": "HTML",
|
5
|
-
"title": false,
|
6
|
-
"text": "<h4 class='text-center'>Акаунт</h4><br>",
|
7
|
-
"col": 12
|
8
|
-
},
|
9
|
-
"user_name": {
|
10
|
-
"type": "Text",
|
11
|
-
"validators": [
|
12
|
-
"required"
|
13
|
-
],
|
14
|
-
"ua": "Ім'я",
|
15
|
-
"i": "Вноситься ім'я користувача, що буде відображатися у системі",
|
16
|
-
"ru": "Имя"
|
17
|
-
},
|
18
|
-
"sur_name": {
|
19
|
-
"type": "Text",
|
20
|
-
"validators": [
|
21
|
-
"required"
|
22
|
-
],
|
23
|
-
"ua": "Прізвище",
|
24
|
-
"i": "Вноситься прізвище користувача, що буде відображатися у системі",
|
25
|
-
"ru": "Фамилия"
|
26
|
-
},
|
27
|
-
"father_name": {
|
28
|
-
"ua": "По-батькові",
|
29
|
-
"type": "text"
|
30
|
-
},
|
31
|
-
"phone": {
|
32
|
-
"type": "MarkedText",
|
33
|
-
"mask": "+389999999999",
|
34
|
-
"id": "1",
|
35
|
-
"ua": "Телефон",
|
36
|
-
"i": "Вноситься телефон користувача",
|
37
|
-
"ru": "Телефон"
|
38
|
-
},
|
39
|
-
"email": {
|
40
|
-
"type": "Email",
|
41
|
-
"ua": "E-mail",
|
42
|
-
"i": "Вноситься електронна адреса користувача",
|
43
|
-
"ru": "E-mail",
|
44
|
-
"validators": [
|
45
|
-
"email"
|
46
|
-
]
|
47
|
-
},
|
48
|
-
"d2": {
|
49
|
-
"type": "HTML",
|
50
|
-
"title": false,
|
51
|
-
"text": "<h4 class='text-center'>Логін / Пароль</h4><br>",
|
52
|
-
"col": 12
|
53
|
-
},
|
54
|
-
"login": {
|
55
|
-
"type": "Text",
|
56
|
-
"validators": [
|
57
|
-
"required"
|
58
|
-
],
|
59
|
-
"ua": "Логін",
|
60
|
-
"i": "Вноситься довільний логін користувача латинськими літерами, що буде використовуватися для входу в систему",
|
61
|
-
"ru": "Логин"
|
62
|
-
},
|
63
|
-
"password": {
|
64
|
-
"type": "Password",
|
65
|
-
"validators": [
|
66
|
-
"required",
|
67
|
-
{
|
68
|
-
"type": "regexp",
|
69
|
-
"regexp": "^.{8,}$",
|
70
|
-
"flags": "gm",
|
71
|
-
"message": "Пароль повинен бути більше 8 символів"
|
72
|
-
}
|
73
|
-
],
|
74
|
-
"ua": "Пароль",
|
75
|
-
"i": "Вноситься пароль, що буде використовуватися для входу в систему (рекомендоване використання складних паролів)",
|
76
|
-
"ru": "Пароль"
|
77
|
-
},
|
78
|
-
"d3": {
|
79
|
-
"type": "HTML",
|
80
|
-
"title": false,
|
81
|
-
"text": "<h4 class='text-center'>Доступ</h4><br>",
|
82
|
-
"col": 12
|
83
|
-
},
|
84
|
-
"user_type": {
|
85
|
-
"type": "Autocomplete",
|
86
|
-
"data": "users.user_type",
|
87
|
-
"default": "regular",
|
88
|
-
"ua": "Тип користувача"
|
89
|
-
},
|
90
|
-
"enabled": {
|
91
|
-
"type": "Switcher",
|
92
|
-
"ua": "Off/On",
|
93
|
-
"help": "Off - користувач вимкнутий; On - Користувач увімкнутий"
|
94
|
-
},
|
95
|
-
"readonly": {
|
96
|
-
"type": "Switcher",
|
97
|
-
"ua": "Read Only",
|
98
|
-
"help": "On - У користувача усі інтерфейси в режимі перегляду, без редагування"
|
99
|
-
},
|
100
|
-
"d4": {
|
101
|
-
"type": "HTML",
|
102
|
-
"title": false,
|
103
|
-
"text": "<h4 class='text-center'>Профіль</h4><br>",
|
104
|
-
"col": 12
|
105
|
-
},
|
106
|
-
"user_rnokpp": {
|
107
|
-
"type": "MarkedText",
|
108
|
-
"mask": "9999999999",
|
109
|
-
"ua": "РНОКПП",
|
110
|
-
"col": 6,
|
111
|
-
"validators": [
|
112
|
-
{
|
113
|
-
"type": "regexp",
|
114
|
-
"regexp": "^([0-9]{10,10})$",
|
115
|
-
"flags": "g",
|
116
|
-
"message": "Лише цифри, 10 символів"
|
117
|
-
}
|
118
|
-
]
|
119
|
-
},
|
120
|
-
"avatar": {
|
121
|
-
"type": "File",
|
122
|
-
"ua": "Аватар",
|
123
|
-
"i": "Додається зображення, що буде відображено в системі у якості аватара цього користувача",
|
124
|
-
"ru": "Аватар",
|
125
|
-
"dir": "avatar"
|
126
|
-
},
|
127
|
-
"groups": {
|
128
|
-
"title": false,
|
129
|
-
"type": "DataTable",
|
130
|
-
"ua": "Групи доступу",
|
131
|
-
"parent_id": "user_uid",
|
132
|
-
"table": "admin.user_roles",
|
133
|
-
"col": 12,
|
134
|
-
"colModel": [
|
135
|
-
{
|
136
|
-
"key": "role_id",
|
137
|
-
"ua": "Група",
|
138
|
-
"type": "Select",
|
139
|
-
"data": "core.roles",
|
140
|
-
"validators": [
|
141
|
-
"required"
|
142
|
-
]
|
143
|
-
},
|
144
|
-
{
|
145
|
-
"key": "expiration",
|
146
|
-
"ua": "Закінчення терміну дії доступу до групи",
|
147
|
-
"type": "DatePicker"
|
148
|
-
}
|
149
|
-
]
|
150
|
-
}
|
151
|
-
},
|
152
|
-
"label_style": "vertical",
|
153
|
-
"width": 900
|
1
|
+
{
|
2
|
+
"schema": {
|
3
|
+
"d1": {
|
4
|
+
"type": "HTML",
|
5
|
+
"title": false,
|
6
|
+
"text": "<h4 class='text-center'>Акаунт</h4><br>",
|
7
|
+
"col": 12
|
8
|
+
},
|
9
|
+
"user_name": {
|
10
|
+
"type": "Text",
|
11
|
+
"validators": [
|
12
|
+
"required"
|
13
|
+
],
|
14
|
+
"ua": "Ім'я",
|
15
|
+
"i": "Вноситься ім'я користувача, що буде відображатися у системі",
|
16
|
+
"ru": "Имя"
|
17
|
+
},
|
18
|
+
"sur_name": {
|
19
|
+
"type": "Text",
|
20
|
+
"validators": [
|
21
|
+
"required"
|
22
|
+
],
|
23
|
+
"ua": "Прізвище",
|
24
|
+
"i": "Вноситься прізвище користувача, що буде відображатися у системі",
|
25
|
+
"ru": "Фамилия"
|
26
|
+
},
|
27
|
+
"father_name": {
|
28
|
+
"ua": "По-батькові",
|
29
|
+
"type": "text"
|
30
|
+
},
|
31
|
+
"phone": {
|
32
|
+
"type": "MarkedText",
|
33
|
+
"mask": "+389999999999",
|
34
|
+
"id": "1",
|
35
|
+
"ua": "Телефон",
|
36
|
+
"i": "Вноситься телефон користувача",
|
37
|
+
"ru": "Телефон"
|
38
|
+
},
|
39
|
+
"email": {
|
40
|
+
"type": "Email",
|
41
|
+
"ua": "E-mail",
|
42
|
+
"i": "Вноситься електронна адреса користувача",
|
43
|
+
"ru": "E-mail",
|
44
|
+
"validators": [
|
45
|
+
"email"
|
46
|
+
]
|
47
|
+
},
|
48
|
+
"d2": {
|
49
|
+
"type": "HTML",
|
50
|
+
"title": false,
|
51
|
+
"text": "<h4 class='text-center'>Логін / Пароль</h4><br>",
|
52
|
+
"col": 12
|
53
|
+
},
|
54
|
+
"login": {
|
55
|
+
"type": "Text",
|
56
|
+
"validators": [
|
57
|
+
"required"
|
58
|
+
],
|
59
|
+
"ua": "Логін",
|
60
|
+
"i": "Вноситься довільний логін користувача латинськими літерами, що буде використовуватися для входу в систему",
|
61
|
+
"ru": "Логин"
|
62
|
+
},
|
63
|
+
"password": {
|
64
|
+
"type": "Password",
|
65
|
+
"validators": [
|
66
|
+
"required",
|
67
|
+
{
|
68
|
+
"type": "regexp",
|
69
|
+
"regexp": "^.{8,}$",
|
70
|
+
"flags": "gm",
|
71
|
+
"message": "Пароль повинен бути більше 8 символів"
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"ua": "Пароль",
|
75
|
+
"i": "Вноситься пароль, що буде використовуватися для входу в систему (рекомендоване використання складних паролів)",
|
76
|
+
"ru": "Пароль"
|
77
|
+
},
|
78
|
+
"d3": {
|
79
|
+
"type": "HTML",
|
80
|
+
"title": false,
|
81
|
+
"text": "<h4 class='text-center'>Доступ</h4><br>",
|
82
|
+
"col": 12
|
83
|
+
},
|
84
|
+
"user_type": {
|
85
|
+
"type": "Autocomplete",
|
86
|
+
"data": "users.user_type",
|
87
|
+
"default": "regular",
|
88
|
+
"ua": "Тип користувача"
|
89
|
+
},
|
90
|
+
"enabled": {
|
91
|
+
"type": "Switcher",
|
92
|
+
"ua": "Off/On",
|
93
|
+
"help": "Off - користувач вимкнутий; On - Користувач увімкнутий"
|
94
|
+
},
|
95
|
+
"readonly": {
|
96
|
+
"type": "Switcher",
|
97
|
+
"ua": "Read Only",
|
98
|
+
"help": "On - У користувача усі інтерфейси в режимі перегляду, без редагування"
|
99
|
+
},
|
100
|
+
"d4": {
|
101
|
+
"type": "HTML",
|
102
|
+
"title": false,
|
103
|
+
"text": "<h4 class='text-center'>Профіль</h4><br>",
|
104
|
+
"col": 12
|
105
|
+
},
|
106
|
+
"user_rnokpp": {
|
107
|
+
"type": "MarkedText",
|
108
|
+
"mask": "9999999999",
|
109
|
+
"ua": "РНОКПП",
|
110
|
+
"col": 6,
|
111
|
+
"validators": [
|
112
|
+
{
|
113
|
+
"type": "regexp",
|
114
|
+
"regexp": "^([0-9]{10,10})$",
|
115
|
+
"flags": "g",
|
116
|
+
"message": "Лише цифри, 10 символів"
|
117
|
+
}
|
118
|
+
]
|
119
|
+
},
|
120
|
+
"avatar": {
|
121
|
+
"type": "File",
|
122
|
+
"ua": "Аватар",
|
123
|
+
"i": "Додається зображення, що буде відображено в системі у якості аватара цього користувача",
|
124
|
+
"ru": "Аватар",
|
125
|
+
"dir": "avatar"
|
126
|
+
},
|
127
|
+
"groups": {
|
128
|
+
"title": false,
|
129
|
+
"type": "DataTable",
|
130
|
+
"ua": "Групи доступу",
|
131
|
+
"parent_id": "user_uid",
|
132
|
+
"table": "admin.user_roles",
|
133
|
+
"col": 12,
|
134
|
+
"colModel": [
|
135
|
+
{
|
136
|
+
"key": "role_id",
|
137
|
+
"ua": "Група",
|
138
|
+
"type": "Select",
|
139
|
+
"data": "core.roles",
|
140
|
+
"validators": [
|
141
|
+
"required"
|
142
|
+
]
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"key": "expiration",
|
146
|
+
"ua": "Закінчення терміну дії доступу до групи",
|
147
|
+
"type": "DatePicker"
|
148
|
+
}
|
149
|
+
]
|
150
|
+
}
|
151
|
+
},
|
152
|
+
"label_style": "vertical",
|
153
|
+
"width": 900
|
154
154
|
}
|
@@ -1,24 +1,24 @@
|
|
1
|
-
{
|
2
|
-
"rule_id": {
|
3
|
-
"ua": "id Правила",
|
4
|
-
"type": "Select",
|
5
|
-
"data": "core.rules"
|
6
|
-
},
|
7
|
-
"rule_values": {
|
8
|
-
"ua": "Значення",
|
9
|
-
"type": "text"
|
10
|
-
},
|
11
|
-
"expire_date": {
|
12
|
-
"ua": "Дата закінчення дії дозволу",
|
13
|
-
"type": "Datepicker"
|
14
|
-
},
|
15
|
-
"actions": {
|
16
|
-
"ua": "Дії",
|
17
|
-
"type": "checkbox",
|
18
|
-
"options": [
|
19
|
-
"edit",
|
20
|
-
"edit",
|
21
|
-
"add"
|
22
|
-
]
|
23
|
-
}
|
1
|
+
{
|
2
|
+
"rule_id": {
|
3
|
+
"ua": "id Правила",
|
4
|
+
"type": "Select",
|
5
|
+
"data": "core.rules"
|
6
|
+
},
|
7
|
+
"rule_values": {
|
8
|
+
"ua": "Значення",
|
9
|
+
"type": "text"
|
10
|
+
},
|
11
|
+
"expire_date": {
|
12
|
+
"ua": "Дата закінчення дії дозволу",
|
13
|
+
"type": "Datepicker"
|
14
|
+
},
|
15
|
+
"actions": {
|
16
|
+
"ua": "Дії",
|
17
|
+
"type": "checkbox",
|
18
|
+
"options": [
|
19
|
+
"edit",
|
20
|
+
"edit",
|
21
|
+
"add"
|
22
|
+
]
|
23
|
+
}
|
24
24
|
}
|
@@ -1,12 +1,12 @@
|
|
1
|
-
{
|
2
|
-
"account_id": {
|
3
|
-
"ua": "id Організації",
|
4
|
-
"type": "Select",
|
5
|
-
"data": "core.accounts"
|
6
|
-
},
|
7
|
-
"user_id": {
|
8
|
-
"ua": "id Користувача",
|
9
|
-
"type": "Select",
|
10
|
-
"data": "core.user_uid"
|
11
|
-
}
|
12
|
-
}
|
1
|
+
{
|
2
|
+
"account_id": {
|
3
|
+
"ua": "id Організації",
|
4
|
+
"type": "Select",
|
5
|
+
"data": "core.accounts"
|
6
|
+
},
|
7
|
+
"user_id": {
|
8
|
+
"ua": "id Користувача",
|
9
|
+
"type": "Select",
|
10
|
+
"data": "core.user_uid"
|
11
|
+
}
|
12
|
+
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
{
|
2
|
-
"role_id": {
|
3
|
-
"ua": "Група",
|
4
|
-
"type": "Select",
|
5
|
-
"data": "core.roles",
|
6
|
-
"validators": [
|
7
|
-
"required"
|
8
|
-
]
|
9
|
-
},
|
10
|
-
"expiration": {
|
11
|
-
"ua": "Закінчення терміну дії доступу до групи",
|
12
|
-
"type": "DatePicker"
|
13
|
-
}
|
1
|
+
{
|
2
|
+
"role_id": {
|
3
|
+
"ua": "Група",
|
4
|
+
"type": "Select",
|
5
|
+
"data": "core.roles",
|
6
|
+
"validators": [
|
7
|
+
"required"
|
8
|
+
]
|
9
|
+
},
|
10
|
+
"expiration": {
|
11
|
+
"ua": "Закінчення терміну дії доступу до групи",
|
12
|
+
"type": "DatePicker"
|
13
|
+
}
|
14
14
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
{
|
2
|
-
"ua": "Налаштування",
|
3
|
-
"public": false,
|
4
|
-
"doct_id": "admin.properties"
|
1
|
+
{
|
2
|
+
"ua": "Налаштування",
|
3
|
+
"public": false,
|
4
|
+
"doct_id": "admin.properties"
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
{
|
2
|
-
"ua": "Ролі",
|
3
|
-
"public": false,
|
4
|
-
"doct_id": "admin.roles"
|
1
|
+
{
|
2
|
+
"ua": "Ролі",
|
3
|
+
"public": false,
|
4
|
+
"doct_id": "admin.roles"
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
{
|
2
|
-
"ua": "Інтерфейси",
|
3
|
-
"public": false,
|
4
|
-
"doct_id": "admin.routes"
|
1
|
+
{
|
2
|
+
"ua": "Інтерфейси",
|
3
|
+
"public": false,
|
4
|
+
"doct_id": "admin.routes"
|
5
5
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
{
|
2
|
-
"ua": "Користувачі",
|
3
|
-
"public": false,
|
4
|
-
"doct_id": "admin.users"
|
1
|
+
{
|
2
|
+
"ua": "Користувачі",
|
3
|
+
"public": false,
|
4
|
+
"doct_id": "admin.users"
|
5
5
|
}
|
@@ -1,85 +1,85 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"ua": "Доступ",
|
4
|
-
"en": "Management",
|
5
|
-
"name": "administration",
|
6
|
-
"icon": "fa fa-cogs",
|
7
|
-
"order": 9,
|
8
|
-
"menu": [
|
9
|
-
{
|
10
|
-
"path": "admin.users",
|
11
|
-
"table": "admin.users.table",
|
12
|
-
"ua": "Користувачі",
|
13
|
-
"en": "Users"
|
14
|
-
},
|
15
|
-
{
|
16
|
-
"path": "admin.accounts",
|
17
|
-
"table": "admin.accounts.table",
|
18
|
-
"ua": "Організації",
|
19
|
-
"en": "Accounts"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"path": "admin.roles",
|
23
|
-
"table": "admin.roles.table",
|
24
|
-
"ua": "Ролі/Групи",
|
25
|
-
"en": "Roles"
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"path": "admin.routes",
|
29
|
-
"table": "admin.routes.table",
|
30
|
-
"ua": "Інтерфейси",
|
31
|
-
"en": "Routes"
|
32
|
-
},
|
33
|
-
{
|
34
|
-
"path": "admin.rules",
|
35
|
-
"table": "admin.rules.table",
|
36
|
-
"ua": "Повноваження",
|
37
|
-
"en": "Rules"
|
38
|
-
}
|
39
|
-
]
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"ua": "Управління",
|
43
|
-
"en": "Management",
|
44
|
-
"name": "administration",
|
45
|
-
"order": 10,
|
46
|
-
"icon": "fa fa-cogs",
|
47
|
-
"menu": [
|
48
|
-
{
|
49
|
-
"path": "admin.user-cls",
|
50
|
-
"ua": "Довідники ",
|
51
|
-
"component": "user-cls-page"
|
52
|
-
},
|
53
|
-
{
|
54
|
-
"path": "admin.properties",
|
55
|
-
"table": "admin.properties.table",
|
56
|
-
"ua": "Налаштування",
|
57
|
-
"en": "Settings"
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"path": "admin.user_properties",
|
61
|
-
"table": "admin.user_properties.table",
|
62
|
-
"ua": "Налаштування користувача",
|
63
|
-
"en": "User settings"
|
64
|
-
},
|
65
|
-
{
|
66
|
-
"path": "admin.custom_column",
|
67
|
-
"table": "admin.custom_column.table",
|
68
|
-
"ua": "Налаштування користувацьких колонок",
|
69
|
-
"en": "User custom column settings"
|
70
|
-
},
|
71
|
-
{
|
72
|
-
"path": "context.account_grants",
|
73
|
-
"table": "context.account_grants.table",
|
74
|
-
"ua": "Налаштування організацій",
|
75
|
-
"en": "Account settings"
|
76
|
-
},
|
77
|
-
{
|
78
|
-
"path": "context.account_users",
|
79
|
-
"table": "context.account_users.table",
|
80
|
-
"ua": "Користувачі/Організації",
|
81
|
-
"en": "Contact/Account"
|
82
|
-
}
|
83
|
-
]
|
84
|
-
}
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"ua": "Доступ",
|
4
|
+
"en": "Management",
|
5
|
+
"name": "administration",
|
6
|
+
"icon": "fa fa-cogs",
|
7
|
+
"order": 9,
|
8
|
+
"menu": [
|
9
|
+
{
|
10
|
+
"path": "admin.users",
|
11
|
+
"table": "admin.users.table",
|
12
|
+
"ua": "Користувачі",
|
13
|
+
"en": "Users"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"path": "admin.accounts",
|
17
|
+
"table": "admin.accounts.table",
|
18
|
+
"ua": "Організації",
|
19
|
+
"en": "Accounts"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"path": "admin.roles",
|
23
|
+
"table": "admin.roles.table",
|
24
|
+
"ua": "Ролі/Групи",
|
25
|
+
"en": "Roles"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"path": "admin.routes",
|
29
|
+
"table": "admin.routes.table",
|
30
|
+
"ua": "Інтерфейси",
|
31
|
+
"en": "Routes"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"path": "admin.rules",
|
35
|
+
"table": "admin.rules.table",
|
36
|
+
"ua": "Повноваження",
|
37
|
+
"en": "Rules"
|
38
|
+
}
|
39
|
+
]
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"ua": "Управління",
|
43
|
+
"en": "Management",
|
44
|
+
"name": "administration",
|
45
|
+
"order": 10,
|
46
|
+
"icon": "fa fa-cogs",
|
47
|
+
"menu": [
|
48
|
+
{
|
49
|
+
"path": "admin.user-cls",
|
50
|
+
"ua": "Довідники ",
|
51
|
+
"component": "user-cls-page"
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"path": "admin.properties",
|
55
|
+
"table": "admin.properties.table",
|
56
|
+
"ua": "Налаштування",
|
57
|
+
"en": "Settings"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"path": "admin.user_properties",
|
61
|
+
"table": "admin.user_properties.table",
|
62
|
+
"ua": "Налаштування користувача",
|
63
|
+
"en": "User settings"
|
64
|
+
},
|
65
|
+
{
|
66
|
+
"path": "admin.custom_column",
|
67
|
+
"table": "admin.custom_column.table",
|
68
|
+
"ua": "Налаштування користувацьких колонок",
|
69
|
+
"en": "User custom column settings"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"path": "context.account_grants",
|
73
|
+
"table": "context.account_grants.table",
|
74
|
+
"ua": "Налаштування організацій",
|
75
|
+
"en": "Account settings"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"path": "context.account_users",
|
79
|
+
"table": "context.account_users.table",
|
80
|
+
"ua": "Користувачі/Організації",
|
81
|
+
"en": "Contact/Account"
|
82
|
+
}
|
83
|
+
]
|
84
|
+
}
|
85
85
|
]
|
@@ -1,2 +1,2 @@
|
|
1
|
-
select route_id, coalesce(title,'')||' ('||coalesce(table_name,'')|| case when not enabled then ', відключений' else '' end ||')' as text from admin.routes
|
1
|
+
select route_id, coalesce(title,'')||' ('||coalesce(table_name,'')|| case when not enabled then ', відключений' else '' end ||')' as text from admin.routes
|
2
2
|
where 1=1 order by not enabled, title
|
@@ -1,2 +1,2 @@
|
|
1
|
-
select uid, coalesce(sur_name,'')||coalesce(' '||user_name,'') as text, email from admin.users
|
1
|
+
select uid, coalesce(sur_name,'')||coalesce(' '||user_name,'') as text, email from admin.users
|
2
2
|
where enabled order by coalesce(sur_name,'')||coalesce(' '||user_name,'')
|
@@ -1 +1 @@
|
|
1
|
-
select uid, coalesce(coalesce(sur_name,'')||coalesce(' '||user_name,'') ||coalesce(' '||father_name,''),login) as text from admin.users
|
1
|
+
select uid, coalesce(coalesce(sur_name,'')||coalesce(' '||user_name,'') ||coalesce(' '||father_name,''),login) as text from admin.users
|