@opengis/admin 0.3.40 → 0.3.41
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/README.md +97 -97
- package/config.js +4 -4
- package/dist/{add-page-0tbU2ZNu.js → add-page-DmhwcAMY.js} +1 -1
- package/dist/{admin-interface-Ce34jSGd.js → admin-interface-5dHYgR-t.js} +2 -2
- package/dist/{admin-view-BATaA4bq.js → admin-view-C7JteOit.js} +1 -1
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +50 -50
- package/dist/assets/logo.svg +41 -41
- package/dist/{card-view-BFDfT9LI.js → card-view-Cey1LE5b.js} +1 -1
- package/dist/{edit-page-BTccecZF.js → edit-page-C-cpKJC2.js} +1 -1
- package/dist/{import-file-D7kmC9pj.js → import-file-B53vJ2ve.js} +5910 -5929
- package/dist/{profile-page-wPxhrzAG.js → profile-page-BqYeCCjU.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/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/server/helpers/core/badge.js +16 -16
- package/server/helpers/core/buttonHelper.js +21 -21
- package/server/helpers/core/coalesce.js +7 -7
- package/server/helpers/core/select.js +48 -48
- package/server/helpers/core/token.js +18 -18
- 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/helpers/utils/mdToHTML.js +17 -17
- 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 +31 -9
- 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/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/tableDataId.js +27 -27
- 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/notifications/controllers/readNotifications.js +18 -18
- package/server/routes/notifications/controllers/testEmail.js +35 -35
- package/server/routes/notifications/controllers/userNotifications.js +53 -53
- 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 +135 -135
- package/server/routes/properties/schema.js +10 -10
- package/server/routes/report/controllers/data.js +76 -76
- package/server/routes/report/controllers/list.js +18 -18
- package/server/routes/report/index.mjs +7 -7
- package/server/routes/report/utils/formatValue.js +179 -179
- package/server/routes/root.mjs +3 -3
- package/server/routes/templates/controllers/getTemplate.js +44 -44
- 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 +72 -72
- package/server/routes/user/controllers/user.info.js +17 -17
- package/server/routes/user/schema.js +14 -14
- package/server/routes/util/controllers/code.generator.js +89 -89
- package/server/routes/widget/controllers/widget.del.js +80 -80
- package/server/routes/widget/controllers/widget.set.js +93 -93
- 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/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/server/utils/addNotification.js +21 -21
- package/server/utils/sendNotification.js +89 -89
@@ -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,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
|
}
|
@@ -1,35 +1,35 @@
|
|
1
|
-
{
|
2
|
-
"ua": "Налаштування користувача",
|
3
|
-
"key": "property_id",
|
4
|
-
"form": "admin.user_properties.form",
|
5
|
-
"table": "admin.user_properties",
|
6
|
-
"order": "cdate desc",
|
7
|
-
"access": "admin",
|
8
|
-
"actions": [
|
9
|
-
"add",
|
10
|
-
"edit",
|
11
|
-
"del"
|
12
|
-
],
|
13
|
-
"meta": {
|
14
|
-
"search": "property_key"
|
15
|
-
},
|
16
|
-
"columns": [
|
17
|
-
{
|
18
|
-
"name": "property_key",
|
19
|
-
"title": "Ключ",
|
20
|
-
"format": "text"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"name": "property_json",
|
24
|
-
"title": "Значення",
|
25
|
-
"format": "text"
|
26
|
-
}
|
27
|
-
],
|
28
|
-
"filters": [
|
29
|
-
{
|
30
|
-
"ua": "Ключ",
|
31
|
-
"name": "property_key",
|
32
|
-
"type": "text"
|
33
|
-
}
|
34
|
-
]
|
1
|
+
{
|
2
|
+
"ua": "Налаштування користувача",
|
3
|
+
"key": "property_id",
|
4
|
+
"form": "admin.user_properties.form",
|
5
|
+
"table": "admin.user_properties",
|
6
|
+
"order": "cdate desc",
|
7
|
+
"access": "admin",
|
8
|
+
"actions": [
|
9
|
+
"add",
|
10
|
+
"edit",
|
11
|
+
"del"
|
12
|
+
],
|
13
|
+
"meta": {
|
14
|
+
"search": "property_key"
|
15
|
+
},
|
16
|
+
"columns": [
|
17
|
+
{
|
18
|
+
"name": "property_key",
|
19
|
+
"title": "Ключ",
|
20
|
+
"format": "text"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"name": "property_json",
|
24
|
+
"title": "Значення",
|
25
|
+
"format": "text"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"filters": [
|
29
|
+
{
|
30
|
+
"ua": "Ключ",
|
31
|
+
"name": "property_key",
|
32
|
+
"type": "text"
|
33
|
+
}
|
34
|
+
]
|
35
35
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@opengis/admin",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.41",
|
4
4
|
"description": "This project Softpro Admin",
|
5
5
|
"main": "dist/admin.js",
|
6
6
|
"type": "module",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"@opengis/fastify-auth": "^1.0.73",
|
50
50
|
"@opengis/fastify-file": "^1.0.42",
|
51
51
|
"@opengis/fastify-table": "^1.2.88",
|
52
|
-
"@opengis/v3-core": "^0.3.
|
52
|
+
"@opengis/v3-core": "^0.3.110",
|
53
53
|
"@opengis/v3-filter": "^0.0.72",
|
54
54
|
"@tiptap/core": "^2.8.0",
|
55
55
|
"@tiptap/extension-color": "^2.8.0",
|