@opengis/admin 0.2.110 → 0.2.111
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-7-oywgur.js → add-page-CJwzSjcW.js} +1 -1
- package/dist/{admin-interface-DJR7Ja_q.js → admin-interface-BZFCowsT.js} +2 -2
- package/dist/{admin-view-CnNlqdz2.js → admin-view-CCuPr8g1.js} +2 -2
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +49 -49
- package/dist/assets/logo.svg +41 -41
- package/dist/{card-view-DqBznGjQ.js → card-view-Cn_iP3q3.js} +1 -1
- package/dist/{edit-page-CaEzzieK.js → edit-page-CieGhQpW.js} +1 -1
- package/dist/{import-file-C56XWSjI.js → import-file-BwBdLE9n.js} +5769 -5788
- package/dist/{profile-page-C-qpd66o.js → profile-page-CWBKAVrP.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/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 +2 -2
- 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/descriptionList.js +1 -1
- 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/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
|
}
|
@@ -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
|
@@ -1,40 +1,40 @@
|
|
1
|
-
{
|
2
|
-
"ua": "Налаштування",
|
3
|
-
"key": "property_id",
|
4
|
-
"form": "admin.properties.form",
|
5
|
-
"table": "admin.properties",
|
6
|
-
"order": "cdate desc",
|
7
|
-
"access": "admin",
|
8
|
-
"actions": [
|
9
|
-
"add",
|
10
|
-
"edit",
|
11
|
-
"del"
|
12
|
-
],
|
13
|
-
"meta": {
|
14
|
-
"search": "property_key,property_text"
|
15
|
-
},
|
16
|
-
"columns": [
|
17
|
-
{
|
18
|
-
"name": "property_key",
|
19
|
-
"title": "Ключ",
|
20
|
-
"format": "text"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"name": "property_text",
|
24
|
-
"title": "Значення",
|
25
|
-
"format": "text"
|
26
|
-
}
|
27
|
-
],
|
28
|
-
"filters": [
|
29
|
-
{
|
30
|
-
"ua": "Ключ",
|
31
|
-
"name": "property_key",
|
32
|
-
"type": "text"
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"ua": "Значення",
|
36
|
-
"name": "property_text",
|
37
|
-
"type": "text"
|
38
|
-
}
|
39
|
-
]
|
1
|
+
{
|
2
|
+
"ua": "Налаштування",
|
3
|
+
"key": "property_id",
|
4
|
+
"form": "admin.properties.form",
|
5
|
+
"table": "admin.properties",
|
6
|
+
"order": "cdate desc",
|
7
|
+
"access": "admin",
|
8
|
+
"actions": [
|
9
|
+
"add",
|
10
|
+
"edit",
|
11
|
+
"del"
|
12
|
+
],
|
13
|
+
"meta": {
|
14
|
+
"search": "property_key,property_text"
|
15
|
+
},
|
16
|
+
"columns": [
|
17
|
+
{
|
18
|
+
"name": "property_key",
|
19
|
+
"title": "Ключ",
|
20
|
+
"format": "text"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "property_text",
|
24
|
+
"title": "Значення",
|
25
|
+
"format": "text"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"filters": [
|
29
|
+
{
|
30
|
+
"ua": "Ключ",
|
31
|
+
"name": "property_key",
|
32
|
+
"type": "text"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"ua": "Значення",
|
36
|
+
"name": "property_text",
|
37
|
+
"type": "text"
|
38
|
+
}
|
39
|
+
]
|
40
40
|
}
|