@opengis/admin 0.2.116 → 0.2.118
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +97 -97
- package/config.js +4 -4
- package/dist/{add-page-Cw8du65u.js → add-page-DxFHzUHv.js} +1 -1
- package/dist/{admin-interface-vWqlFsk0.js → admin-interface-D-2SX2oY.js} +2 -2
- package/dist/{admin-view-BBgd4w7j.js → admin-view-GJZnI5RQ.js} +2 -2
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +75 -75
- package/dist/assets/logo.svg +41 -41
- package/dist/{card-view-6INGfYSE.js → card-view-DsH9i1nr.js} +1 -1
- package/dist/{edit-page-BNXUpOAj.js → edit-page-C0W47Sry.js} +1 -1
- package/dist/{import-file-C9mMGOua.js → import-file-DvysASZJ.js} +10286 -10297
- package/dist/{profile-page-BJe4fPmp.js → profile-page-BUNumNci.js} +1 -1
- 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.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/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/cls/yes_no.json +11 -11
- package/module/settings/form/admin.accounts.form.json +13 -13
- 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.user_properties.form.json +15 -15
- package/module/settings/form/admin.user_roles_card.form.json +13 -13
- package/module/settings/form/admin.users.form.json +2 -2
- package/module/settings/form/admin.users_edit.form.json +0 -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/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.properties.table.json +39 -39
- package/module/settings/table/admin.user_properties.table.json +34 -34
- package/package.json +3 -3
- package/plugin.js +29 -29
- package/server/helpers/core/badge.js +16 -16
- package/server/helpers/core/buttonHelper.js +21 -21
- package/server/helpers/core/select.js +48 -48
- package/server/helpers/core/token.js +18 -18
- package/server/helpers/index.js +31 -31
- package/server/helpers/list/buttonHelper.js +21 -21
- package/server/helpers/list/utils/button.js +5 -5
- 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/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/routes/access/controllers/access.group.js +29 -29
- package/server/routes/access/controllers/access.group.post.js +54 -54
- package/server/routes/access/index.mjs +11 -11
- package/server/routes/access/schema.mjs +67 -67
- package/server/routes/calendar/controllers/calendar.data.js +125 -125
- package/server/routes/calendar/index.mjs +7 -7
- package/server/routes/calendar/schema.js +21 -21
- package/server/routes/data/controllers/cardData.js +117 -117
- 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 +31 -31
- package/server/routes/data/controllers/tableDataId.js +27 -27
- package/server/routes/data/controllers/tableFilter.js +101 -101
- 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/conditions.js +20 -20
- package/server/routes/data/controllers/utils/getColumns.js +8 -8
- package/server/routes/data/index.mjs +20 -20
- package/server/routes/data/schema.js +54 -54
- package/server/routes/menu/controllers/getMenu.js +3 -3
- 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 +56 -56
- package/server/routes/notifications/index.mjs +26 -26
- package/server/routes/notifications/schema.js +16 -16
- package/server/routes/print/controllers/cardPrint.js +134 -134
- package/server/routes/properties/funcs/getSettings.js +56 -56
- package/server/routes/properties/schema.js +10 -10
- package/server/routes/root.mjs +3 -3
- package/server/routes/templates/controllers/getTemplate.js +49 -49
- 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.info.js +17 -17
- package/server/routes/user/schema.js +14 -14
- package/server/routes/widget/controllers/widget.del.js +47 -47
- package/server/routes/widget/controllers/widget.set.js +84 -84
- package/server/routes/widget/hook/onWidgetSet.js +12 -12
- package/server/routes/widget/index.mjs +16 -16
- 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/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/setting/test.json +5 -5
- 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
@@ -1,19 +1,19 @@
|
|
1
|
-
<div>
|
2
|
-
{{{button this token=(token table="admin.account_grants" obj=(concat 'account_id=' id) form="context.account_grants.form") }}}
|
3
|
-
{{#contentList table="(select ag_id, r.routes,attr,cls,rule_name,rule_values,account_id from admin.account_grants g left join(select routes,attr,cls,rule_name,rule_id from admin.rules )r on r.rule_id=g.rule_id)" query="account_id='{{id}}'" sql1=1}}
|
4
|
-
|
5
|
-
{{{tableList
|
6
|
-
rows
|
7
|
-
table="admin.account_grants"
|
8
|
-
id="ag_id"
|
9
|
-
form="context.account_grants.form"
|
10
|
-
uid=../user.uid
|
11
|
-
columns="
|
12
|
-
Назва, rule_name,
|
13
|
-
Роути, routes,
|
14
|
-
Атрибут, attr,
|
15
|
-
Значення, rule_values
|
16
|
-
"
|
17
|
-
}}}
|
18
|
-
{{/contentList}}
|
1
|
+
<div>
|
2
|
+
{{{button this token=(token table="admin.account_grants" obj=(concat 'account_id=' id) form="context.account_grants.form") }}}
|
3
|
+
{{#contentList table="(select ag_id, r.routes,attr,cls,rule_name,rule_values,account_id from admin.account_grants g left join(select routes,attr,cls,rule_name,rule_id from admin.rules )r on r.rule_id=g.rule_id)" query="account_id='{{id}}'" sql1=1}}
|
4
|
+
|
5
|
+
{{{tableList
|
6
|
+
rows
|
7
|
+
table="admin.account_grants"
|
8
|
+
id="ag_id"
|
9
|
+
form="context.account_grants.form"
|
10
|
+
uid=../user.uid
|
11
|
+
columns="
|
12
|
+
Назва, rule_name,
|
13
|
+
Роути, routes,
|
14
|
+
Атрибут, attr,
|
15
|
+
Значення, rule_values
|
16
|
+
"
|
17
|
+
}}}
|
18
|
+
{{/contentList}}
|
19
19
|
</div>
|
@@ -1,14 +1,14 @@
|
|
1
|
-
<div>
|
2
|
-
{{{button this token=(token table="admin.account_users" obj=(concat 'account_id=' id) form="admin.user_roles_card.form") }}}
|
3
|
-
{{#contentList table="admin.account_users" query="account_id='{{id}}'" sql1=1}}
|
4
|
-
{{{tableList
|
5
|
-
rows
|
6
|
-
table="admin.account_users"
|
7
|
-
id="au_id"
|
8
|
-
uid=../user.uid
|
9
|
-
columns="
|
10
|
-
ПІБ, <a href='/card/admin.users.table/{{user_uid}}'>{{select user_uid data='core.user_uid'}}</a>
|
11
|
-
"
|
12
|
-
}}}
|
13
|
-
{{/contentList}}
|
1
|
+
<div>
|
2
|
+
{{{button this token=(token table="admin.account_users" obj=(concat 'account_id=' id) form="admin.user_roles_card.form") }}}
|
3
|
+
{{#contentList table="admin.account_users" query="account_id='{{id}}'" sql1=1}}
|
4
|
+
{{{tableList
|
5
|
+
rows
|
6
|
+
table="admin.account_users"
|
7
|
+
id="au_id"
|
8
|
+
uid=../user.uid
|
9
|
+
columns="
|
10
|
+
ПІБ, <a href='/card/admin.users.table/{{user_uid}}'>{{select user_uid data='core.user_uid'}}</a>
|
11
|
+
"
|
12
|
+
}}}
|
13
|
+
{{/contentList}}
|
14
14
|
</div>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
{{#contentList table="admin.role_access" query="route_id='{{id}}'" order="cdate desc" limit="50" sql1=1}}
|
2
|
-
<div>
|
3
|
-
{{{tableList rows
|
4
|
-
table="admin.role_access" query="route_id='{{id}}'" order="cdate desc" limit="50"
|
5
|
-
columns="
|
6
|
-
Група, <a href='/card/admin.roles.table/{{role_id}}'>{{select role_id data='core.roles'}}</a>,
|
7
|
-
Права, {{actions}},
|
8
|
-
Хто надав права, {{select access_granted data='core.user_uid'}}
|
9
|
-
"
|
10
|
-
}}}
|
11
|
-
</div>
|
1
|
+
{{#contentList table="admin.role_access" query="route_id='{{id}}'" order="cdate desc" limit="50" sql1=1}}
|
2
|
+
<div>
|
3
|
+
{{{tableList rows
|
4
|
+
table="admin.role_access" query="route_id='{{id}}'" order="cdate desc" limit="50"
|
5
|
+
columns="
|
6
|
+
Група, <a href='/card/admin.roles.table/{{role_id}}'>{{select role_id data='core.roles'}}</a>,
|
7
|
+
Права, {{actions}},
|
8
|
+
Хто надав права, {{select access_granted data='core.user_uid'}}
|
9
|
+
"
|
10
|
+
}}}
|
11
|
+
</div>
|
12
12
|
{{/contentList}}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
component: default
|
2
|
-
panels:
|
3
|
-
- name: general_info
|
4
|
-
title: Загальна інформація
|
5
|
-
col: 4
|
6
|
-
- name: users
|
7
|
-
title: Користувачі
|
8
|
-
col: 8
|
9
|
-
- name: groups
|
10
|
-
title: Групи
|
11
|
-
col: 4
|
1
|
+
component: default
|
2
|
+
panels:
|
3
|
+
- name: general_info
|
4
|
+
title: Загальна інформація
|
5
|
+
col: 4
|
6
|
+
- name: users
|
7
|
+
title: Користувачі
|
8
|
+
col: 8
|
9
|
+
- name: groups
|
10
|
+
title: Групи
|
11
|
+
col: 4
|
@@ -1,17 +1,17 @@
|
|
1
|
-
{{#contentList table="(select user_uid,a.role_id,actions from admin.user_roles r inner join (select role_id,actions from admin.role_access where route_id='{{id}}' )a on a.role_id=r.role_id )" limit="50" sql1=1}}
|
2
|
-
<div>
|
3
|
-
{{{tableList rows
|
4
|
-
table="admin.role_access" query="route_id='{{id}}'" order="cdate desc" limit="50"
|
5
|
-
columns="
|
6
|
-
Користувач, {{select user_uid data='core.user_uid'}},
|
7
|
-
Група, {{select role_id data='core.roles'}} ,
|
8
|
-
Права, {{actions}},
|
9
|
-
Хто надав доступ, {{select access_granted data='core.user_uid'}},
|
10
|
-
Активність,
|
11
|
-
Надання доступу: {{formatDate access_granted_time}}<br>
|
12
|
-
Остання активність: - <br>
|
13
|
-
Створено: {{formatDate cdate}}
|
14
|
-
"
|
15
|
-
}}}
|
16
|
-
</div>
|
1
|
+
{{#contentList table="(select user_uid,a.role_id,actions from admin.user_roles r inner join (select role_id,actions from admin.role_access where route_id='{{id}}' )a on a.role_id=r.role_id )" limit="50" sql1=1}}
|
2
|
+
<div>
|
3
|
+
{{{tableList rows
|
4
|
+
table="admin.role_access" query="route_id='{{id}}'" order="cdate desc" limit="50"
|
5
|
+
columns="
|
6
|
+
Користувач, {{select user_uid data='core.user_uid'}},
|
7
|
+
Група, {{select role_id data='core.roles'}} ,
|
8
|
+
Права, {{actions}},
|
9
|
+
Хто надав доступ, {{select access_granted data='core.user_uid'}},
|
10
|
+
Активність,
|
11
|
+
Надання доступу: {{formatDate access_granted_time}}<br>
|
12
|
+
Остання активність: - <br>
|
13
|
+
Створено: {{formatDate cdate}}
|
14
|
+
"
|
15
|
+
}}}
|
16
|
+
</div>
|
17
17
|
{{/contentList}}
|
@@ -1,18 +1,18 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "view",
|
4
|
-
"text": "Отримання"
|
5
|
-
},
|
6
|
-
{
|
7
|
-
"id": "add",
|
8
|
-
"text": "Внесення"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "edit",
|
12
|
-
"text": "Редагування"
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"id": "del",
|
16
|
-
"text": "Видалення"
|
17
|
-
}
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "view",
|
4
|
+
"text": "Отримання"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"id": "add",
|
8
|
+
"text": "Внесення"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "edit",
|
12
|
+
"text": "Редагування"
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"id": "del",
|
16
|
+
"text": "Видалення"
|
17
|
+
}
|
18
18
|
]
|
@@ -1,14 +1,14 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "my",
|
4
|
-
"text": "Власні записи"
|
5
|
-
},
|
6
|
-
{
|
7
|
-
"id": "responsible",
|
8
|
-
"text": "Призначені записи (відповідальний)"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "all",
|
12
|
-
"text": "Повний доступ"
|
13
|
-
}
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "my",
|
4
|
+
"text": "Власні записи"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"id": "responsible",
|
8
|
+
"text": "Призначені записи (відповідальний)"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "all",
|
12
|
+
"text": "Повний доступ"
|
13
|
+
}
|
14
14
|
]
|
@@ -1,14 +1,14 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "1",
|
4
|
-
"text": "Вимкнений"
|
5
|
-
},
|
6
|
-
{
|
7
|
-
"id": "2",
|
8
|
-
"text": "Увімкнений"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "3",
|
12
|
-
"text": "Dev-mode"
|
13
|
-
}
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "1",
|
4
|
+
"text": "Вимкнений"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"id": "2",
|
8
|
+
"text": "Увімкнений"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "3",
|
12
|
+
"text": "Dev-mode"
|
13
|
+
}
|
14
14
|
]
|
@@ -1,14 +1,14 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "1",
|
4
|
-
"text": "Усі"
|
5
|
-
},
|
6
|
-
{
|
7
|
-
"id": "2",
|
8
|
-
"text": "Тільки вільні"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "3",
|
12
|
-
"text": "Не відображати"
|
13
|
-
}
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "1",
|
4
|
+
"text": "Усі"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"id": "2",
|
8
|
+
"text": "Тільки вільні"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "3",
|
12
|
+
"text": "Не відображати"
|
13
|
+
}
|
14
14
|
]
|
@@ -1,14 +1,14 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "regular",
|
4
|
-
"text": "Користувач"
|
5
|
-
},
|
6
|
-
{
|
7
|
-
"id": "admin",
|
8
|
-
"text": "Адмін"
|
9
|
-
},
|
10
|
-
{
|
11
|
-
"id": "superadmin",
|
12
|
-
"text": "Суперадмін"
|
13
|
-
}
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "regular",
|
4
|
+
"text": "Користувач"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"id": "admin",
|
8
|
+
"text": "Адмін"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"id": "superadmin",
|
12
|
+
"text": "Суперадмін"
|
13
|
+
}
|
14
14
|
]
|
@@ -1,12 +1,12 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": "true",
|
4
|
-
"text": "Так",
|
5
|
-
"color": "green"
|
6
|
-
},
|
7
|
-
{
|
8
|
-
"id": "false",
|
9
|
-
"text": "Ні",
|
10
|
-
"color": "red"
|
11
|
-
}
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"id": "true",
|
4
|
+
"text": "Так",
|
5
|
+
"color": "green"
|
6
|
+
},
|
7
|
+
{
|
8
|
+
"id": "false",
|
9
|
+
"text": "Ні",
|
10
|
+
"color": "red"
|
11
|
+
}
|
12
12
|
]
|
@@ -1,13 +1,13 @@
|
|
1
|
-
{
|
2
|
-
"account_name": {
|
3
|
-
"ua": "Назва",
|
4
|
-
"type": "Text",
|
5
|
-
"validators": [
|
6
|
-
"required"
|
7
|
-
]
|
8
|
-
},
|
9
|
-
"description": {
|
10
|
-
"ua": "Опис",
|
11
|
-
"type": "Textarea"
|
12
|
-
}
|
13
|
-
}
|
1
|
+
{
|
2
|
+
"account_name": {
|
3
|
+
"ua": "Назва",
|
4
|
+
"type": "Text",
|
5
|
+
"validators": [
|
6
|
+
"required"
|
7
|
+
]
|
8
|
+
},
|
9
|
+
"description": {
|
10
|
+
"ua": "Опис",
|
11
|
+
"type": "Textarea"
|
12
|
+
}
|
13
|
+
}
|
@@ -1,16 +1,16 @@
|
|
1
|
-
{
|
2
|
-
"property_key": {
|
3
|
-
"ua": "Ключ",
|
4
|
-
"type": "Text",
|
5
|
-
"validators": [
|
6
|
-
"required"
|
7
|
-
]
|
8
|
-
},
|
9
|
-
"property_text": {
|
10
|
-
"ua": "Значення",
|
11
|
-
"type": "Text",
|
12
|
-
"validators": [
|
13
|
-
"required"
|
14
|
-
]
|
15
|
-
}
|
1
|
+
{
|
2
|
+
"property_key": {
|
3
|
+
"ua": "Ключ",
|
4
|
+
"type": "Text",
|
5
|
+
"validators": [
|
6
|
+
"required"
|
7
|
+
]
|
8
|
+
},
|
9
|
+
"property_text": {
|
10
|
+
"ua": "Значення",
|
11
|
+
"type": "Text",
|
12
|
+
"validators": [
|
13
|
+
"required"
|
14
|
+
]
|
15
|
+
}
|
16
16
|
}
|
@@ -1,22 +1,22 @@
|
|
1
|
-
{
|
2
|
-
"schema": {
|
3
|
-
"name": {
|
4
|
-
"ua": "Назва",
|
5
|
-
"type": "text",
|
6
|
-
"validators": [
|
7
|
-
"required"
|
8
|
-
]
|
9
|
-
},
|
10
|
-
"enabled": {
|
11
|
-
"ua": "On/Off",
|
12
|
-
"type": "Switcher"
|
13
|
-
},
|
14
|
-
"info": {
|
15
|
-
"ua": "Опис",
|
16
|
-
"type": "textarea",
|
17
|
-
"validators": [
|
18
|
-
"required"
|
19
|
-
]
|
20
|
-
}
|
21
|
-
}
|
1
|
+
{
|
2
|
+
"schema": {
|
3
|
+
"name": {
|
4
|
+
"ua": "Назва",
|
5
|
+
"type": "text",
|
6
|
+
"validators": [
|
7
|
+
"required"
|
8
|
+
]
|
9
|
+
},
|
10
|
+
"enabled": {
|
11
|
+
"ua": "On/Off",
|
12
|
+
"type": "Switcher"
|
13
|
+
},
|
14
|
+
"info": {
|
15
|
+
"ua": "Опис",
|
16
|
+
"type": "textarea",
|
17
|
+
"validators": [
|
18
|
+
"required"
|
19
|
+
]
|
20
|
+
}
|
21
|
+
}
|
22
22
|
}
|
@@ -1,16 +1,16 @@
|
|
1
|
-
{
|
2
|
-
"property_key": {
|
3
|
-
"ua": "Ключ",
|
4
|
-
"type": "Text",
|
5
|
-
"validators": [
|
6
|
-
"required"
|
7
|
-
]
|
8
|
-
},
|
9
|
-
"property_json": {
|
10
|
-
"ua": "Значення",
|
11
|
-
"type": "Text",
|
12
|
-
"validators": [
|
13
|
-
"required"
|
14
|
-
]
|
15
|
-
}
|
1
|
+
{
|
2
|
+
"property_key": {
|
3
|
+
"ua": "Ключ",
|
4
|
+
"type": "Text",
|
5
|
+
"validators": [
|
6
|
+
"required"
|
7
|
+
]
|
8
|
+
},
|
9
|
+
"property_json": {
|
10
|
+
"ua": "Значення",
|
11
|
+
"type": "Text",
|
12
|
+
"validators": [
|
13
|
+
"required"
|
14
|
+
]
|
15
|
+
}
|
16
16
|
}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
{
|
2
|
-
"user_uid": {
|
3
|
-
"ua": "Користувач",
|
4
|
-
"type": "Autocomplete",
|
5
|
-
"data": "core.user_uid",
|
6
|
-
"validators": [
|
7
|
-
"required"
|
8
|
-
]
|
9
|
-
},
|
10
|
-
"expiration": {
|
11
|
-
"ua": "Закінчення терміну дії доступу до групи",
|
12
|
-
"type": "DatePicker"
|
13
|
-
}
|
1
|
+
{
|
2
|
+
"user_uid": {
|
3
|
+
"ua": "Користувач",
|
4
|
+
"type": "Autocomplete",
|
5
|
+
"data": "core.user_uid",
|
6
|
+
"validators": [
|
7
|
+
"required"
|
8
|
+
]
|
9
|
+
},
|
10
|
+
"expiration": {
|
11
|
+
"ua": "Закінчення терміну дії доступу до групи",
|
12
|
+
"type": "DatePicker"
|
13
|
+
}
|
14
14
|
}
|
@@ -54,14 +54,14 @@
|
|
54
54
|
},
|
55
55
|
"login": {
|
56
56
|
"type": "Text",
|
57
|
-
"
|
57
|
+
"hidden": true,
|
58
58
|
"ua": "Логін",
|
59
59
|
"i": "Вноситься довільний логін користувача латинськими літерами, що буде використовуватися для входу в систему",
|
60
60
|
"ru": "Логин"
|
61
61
|
},
|
62
62
|
"password": {
|
63
63
|
"type": "Password",
|
64
|
-
"
|
64
|
+
"hidden": true,
|
65
65
|
"validators": [
|
66
66
|
{
|
67
67
|
"type": "regexp",
|
@@ -44,19 +44,6 @@
|
|
44
44
|
"email"
|
45
45
|
]
|
46
46
|
},
|
47
|
-
"d2": {
|
48
|
-
"type": "HTML",
|
49
|
-
"text": "<h4 class='text-center'>Логін</h4><br>",
|
50
|
-
"hidden": true,
|
51
|
-
"col": 12
|
52
|
-
},
|
53
|
-
"login": {
|
54
|
-
"type": "Text",
|
55
|
-
"hidden": true,
|
56
|
-
"ua": "Логін",
|
57
|
-
"i": "Вноситься довільний логін користувача латинськими літерами, що буде використовуватися для входу в систему",
|
58
|
-
"ru": "Логин"
|
59
|
-
},
|
60
47
|
"d3": {
|
61
48
|
"type": "HTML",
|
62
49
|
"text": "<h4 class='text-center'>Доступ</h4><br>",
|
@@ -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,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
|