@opengis/admin 0.2.119 → 0.2.120

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. package/README.md +97 -97
  2. package/config.js +4 -4
  3. package/dist/{add-page-CPDzzR5Z.js → add-page-D9BweG1f.js} +1 -1
  4. package/dist/{admin-interface-DJMdEnFy.js → admin-interface-Bq8kf59d.js} +2 -2
  5. package/dist/{admin-view-BwlRkg4u.js → admin-view-pmWjnncn.js} +2 -2
  6. package/dist/admin.js +1 -1
  7. package/dist/admin.umd.cjs +75 -75
  8. package/dist/assets/logo.svg +41 -41
  9. package/dist/{card-view-r12jzxlN.js → card-view-DNKItKZ_.js} +1 -1
  10. package/dist/{edit-page-EumLhwIH.js → edit-page-DmanLFQC.js} +1 -1
  11. package/dist/{import-file-D3YW_CPS.js → import-file-B3hz_TTe.js} +9085 -9084
  12. package/dist/{profile-page-BTfa7pai.js → profile-page-CnXrMOV_.js} +1 -1
  13. package/dist/style.css +1 -1
  14. package/module/settings/card/admin.accounts.table/index.yml +7 -7
  15. package/module/settings/card/admin.accounts.table/rules.hbs +18 -18
  16. package/module/settings/card/admin.accounts.table/users.hbs +13 -13
  17. package/module/settings/card/admin.routes.table/groups.hbs +11 -11
  18. package/module/settings/card/admin.routes.table/index.yml +11 -11
  19. package/module/settings/card/admin.routes.table/users.hbs +16 -16
  20. package/module/settings/cls/core.actions.json +17 -17
  21. package/module/settings/cls/core.scope.json +13 -13
  22. package/module/settings/cls/properties.site_status.json +13 -13
  23. package/module/settings/cls/properties.widget_status.json +13 -13
  24. package/module/settings/cls/users.user_type.json +13 -13
  25. package/module/settings/cls/yes_no.json +11 -11
  26. package/module/settings/form/admin.accounts.form.json +13 -13
  27. package/module/settings/form/admin.properties.form.json +15 -15
  28. package/module/settings/form/admin.roles.form.json +21 -21
  29. package/module/settings/form/admin.user_properties.form.json +15 -15
  30. package/module/settings/form/admin.user_roles_card.form.json +13 -13
  31. package/module/settings/interface/admin.properties.json +4 -4
  32. package/module/settings/interface/admin.roles.json +4 -4
  33. package/module/settings/interface/admin.routes.json +4 -4
  34. package/module/settings/interface/admin.users.json +4 -4
  35. package/module/settings/select/core.routes.sql +1 -1
  36. package/module/settings/select/core.user_mentioned.sql +1 -1
  37. package/module/settings/select/core.user_uid.sql +1 -1
  38. package/module/settings/table/admin.properties.table.json +39 -39
  39. package/module/settings/table/admin.user_properties.table.json +34 -34
  40. package/package.json +2 -2
  41. package/plugin.js +29 -29
  42. package/server/helpers/core/badge.js +16 -16
  43. package/server/helpers/core/buttonHelper.js +21 -21
  44. package/server/helpers/core/select.js +48 -48
  45. package/server/helpers/core/token.js +18 -18
  46. package/server/helpers/index.js +31 -31
  47. package/server/helpers/list/buttonHelper.js +21 -21
  48. package/server/helpers/list/utils/button.js +5 -5
  49. package/server/helpers/temp/contentList.js +58 -58
  50. package/server/helpers/temp/ifCond.js +101 -101
  51. package/server/helpers/utils/button.js +5 -5
  52. package/server/plugins/access/index.mjs +6 -6
  53. package/server/plugins/adminHook.js +81 -81
  54. package/server/plugins/cron.js +10 -10
  55. package/server/plugins/docs.js +28 -28
  56. package/server/routes/access/controllers/access.group.js +29 -29
  57. package/server/routes/access/controllers/access.group.post.js +54 -54
  58. package/server/routes/access/index.mjs +11 -11
  59. package/server/routes/access/schema.mjs +67 -67
  60. package/server/routes/calendar/controllers/calendar.data.js +125 -125
  61. package/server/routes/calendar/index.mjs +7 -7
  62. package/server/routes/calendar/schema.js +21 -21
  63. package/server/routes/data/controllers/cardData.js +117 -117
  64. package/server/routes/data/controllers/cardTabData.js +49 -49
  65. package/server/routes/data/controllers/funcs/getFilterSQL/index.js +92 -92
  66. package/server/routes/data/controllers/funcs/getFilterSQL/util/formatValue.js +170 -170
  67. package/server/routes/data/controllers/funcs/getFilterSQL/util/getCustomQuery.js +13 -13
  68. package/server/routes/data/controllers/funcs/getFilterSQL/util/getFilterQuery.js +64 -64
  69. package/server/routes/data/controllers/funcs/getFilterSQL/util/getOptimizedQuery.js +12 -12
  70. package/server/routes/data/controllers/funcs/getFilterSQL/util/getTableSql.js +34 -34
  71. package/server/routes/data/controllers/tableData.js +31 -31
  72. package/server/routes/data/controllers/tableDataId.js +27 -27
  73. package/server/routes/data/controllers/tableFilter.js +101 -101
  74. package/server/routes/data/controllers/tokenInfo.js +9 -9
  75. package/server/routes/data/controllers/utils/assignTokens.js +30 -30
  76. package/server/routes/data/controllers/utils/conditions.js +20 -20
  77. package/server/routes/data/controllers/utils/getColumns.js +8 -8
  78. package/server/routes/data/index.mjs +20 -20
  79. package/server/routes/data/schema.js +54 -54
  80. package/server/routes/menu/index.mjs +5 -5
  81. package/server/routes/notifications/controllers/readNotifications.js +27 -27
  82. package/server/routes/notifications/controllers/testEmail.js +35 -35
  83. package/server/routes/notifications/controllers/userNotifications.js +53 -53
  84. package/server/routes/notifications/funcs/addNotification.js +21 -21
  85. package/server/routes/notifications/funcs/sendNotification.js +92 -92
  86. package/server/routes/notifications/hook/onWidgetSet.js +56 -56
  87. package/server/routes/notifications/index.mjs +26 -26
  88. package/server/routes/notifications/schema.js +16 -16
  89. package/server/routes/print/controllers/cardPrint.js +134 -134
  90. package/server/routes/properties/funcs/getSettings.js +56 -56
  91. package/server/routes/properties/schema.js +10 -10
  92. package/server/routes/root.mjs +3 -3
  93. package/server/routes/templates/controllers/getTemplate.js +49 -49
  94. package/server/routes/templates/index.mjs +16 -16
  95. package/server/routes/templates/schema.js +8 -8
  96. package/server/routes/user/controllers/user.cls.id.js +14 -14
  97. package/server/routes/user/controllers/user.cls.js +71 -71
  98. package/server/routes/user/controllers/user.info.js +17 -17
  99. package/server/routes/user/schema.js +14 -14
  100. package/server/routes/widget/controllers/widget.del.js +47 -47
  101. package/server/routes/widget/controllers/widget.get.js +31 -16
  102. package/server/routes/widget/controllers/widget.set.js +84 -84
  103. package/server/routes/widget/hook/onWidgetSet.js +12 -12
  104. package/server/routes/widget/index.mjs +16 -16
  105. package/server/routes/widget/schema.js +12 -12
  106. package/server/templates/cls/itree.recrzone_category.json +73 -73
  107. package/server/templates/cls/test.json +9 -9
  108. package/server/templates/form/admin.user_cls.data.form.json +49 -49
  109. package/server/templates/form/admin.user_group_rel.form.json +21 -21
  110. package/server/templates/form/form-user-pass.json +10 -10
  111. package/server/templates/form/form-user_group.json +39 -39
  112. package/server/templates/form/form-users.json +156 -156
  113. package/server/templates/form/user_group_access.form.json +22 -22
  114. package/server/templates/select/account_id.json +2 -2
  115. package/server/templates/setting/test.json +5 -5
  116. package/server/templates/table/gis.dataset.table.json +43 -43
  117. package/server/templates/table/management.user_group.table.json +112 -112
  118. package/server/templates/table/management.users.table.json +126 -126
  119. 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
  }