@opengis/gis 0.2.176 → 0.2.178

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.
Files changed (164) hide show
  1. package/README.md +181 -181
  2. package/dist/{CardIcon-c1Q2M3wQ.js → CardIcon-CMRD1LLh.js} +1 -1
  3. package/dist/{EntityTablePage-B5gpkH4S.js → EntityTablePage-XNNCltAN.js} +2 -2
  4. package/dist/{ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-DnGSvmMU.js → ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-BqUjKTDY.js} +1 -1
  5. package/dist/{HeaderActions.vue_vue_type_script_setup_true_lang-C2B61JP6.js → HeaderActions.vue_vue_type_script_setup_true_lang-BXQ3hKwa.js} +1 -1
  6. package/dist/{MapSettings-6-Xru5Q8.js → MapSettings-P3h-vHn3.js} +2 -2
  7. package/dist/{RastersTablePage-CXNOcTy-.js → RastersTablePage-DnhGZLiH.js} +2 -2
  8. package/dist/{cartocss-BFVqWvfP.js → cartocss-BkrOeQg4.js} +6 -6
  9. package/dist/{import-utils-uxk4LdUJ.js → import-utils-BCATsbB5.js} +1 -1
  10. package/dist/{index-CahlV-Xs.js → index-cUagVqgA.js} +39 -39
  11. package/dist/index.css +1 -1
  12. package/dist/index.js +1 -1
  13. package/dist/index.umd.cjs +5 -5
  14. package/dist/{raster-CEi56f0P.js → raster-CP0tUp3j.js} +3 -3
  15. package/dist/{register-NFAGBNa3.js → register-Cr-uQcby.js} +3 -3
  16. package/dist/{service-BYspag8U.js → service-DwJaKrOd.js} +6 -6
  17. package/dist/{vs-datatable-CHcBr6zy.js → vs-datatable-B9WoVk-b.js} +2 -2
  18. package/module/gis/cls/service_type.json +42 -42
  19. package/module/gis/form/gis.registers.form.json +127 -127
  20. package/module/test/map/addr.json +302 -302
  21. package/module/test/map/addr1.yml +23 -23
  22. package/module/test/select/address.str_id.sql +3 -3
  23. package/package.json +77 -77
  24. package/plugin.js +64 -64
  25. package/server/migrations/array_intersect.sql +13 -13
  26. package/server/migrations/cartocss.sql +27 -27
  27. package/server/migrations/group_list.sql +74 -74
  28. package/server/migrations/maps.sql +30 -30
  29. package/server/migrations/metadata.sql +415 -415
  30. package/server/migrations/ogc.sql +106 -106
  31. package/server/migrations/rasters.sql +265 -265
  32. package/server/migrations/services.sql +247 -247
  33. package/server/migrations/services_users_rel.sql +22 -22
  34. package/server/migrations/widgets.sql +20 -20
  35. package/server/plugins/crons.js +21 -21
  36. package/server/plugins/mapnik/funcs/checkRasterFile.js +107 -107
  37. package/server/plugins/mapnik/funcs/mapnik.js +151 -151
  38. package/server/plugins/mapnik/funcs/rootFolder.mjs +8 -8
  39. package/server/plugins/mapnik/map.proto +437 -437
  40. package/server/plugins/vite.js +74 -74
  41. package/server/routes/cartocss/cartocss.route.js +31 -31
  42. package/server/routes/cartocss/cartocss.route.test.js +78 -78
  43. package/server/routes/cartocss/cartocss.schema.js +73 -73
  44. package/server/routes/cartocss/functions/add.cartocss.js +39 -39
  45. package/server/routes/cartocss/functions/get.cartocss.js +57 -57
  46. package/server/routes/gis/functions/checkXML.js +107 -107
  47. package/server/routes/gis/functions/dashboard.js +24 -24
  48. package/server/routes/gis/gis.route.js +26 -26
  49. package/server/routes/gis/gis.route.test.js +33 -33
  50. package/server/routes/map/functions/clearTiles.js +35 -35
  51. package/server/routes/map/functions/geojson.js +187 -187
  52. package/server/routes/map/functions/gis.convert.js +65 -65
  53. package/server/routes/map/functions/gis.icon.js +220 -220
  54. package/server/routes/map/functions/jsonData.js +206 -206
  55. package/server/routes/map/functions/layerList.js +102 -102
  56. package/server/routes/map/functions/map.js +122 -122
  57. package/server/routes/map/functions/mapCatalog.js +72 -72
  58. package/server/routes/map/functions/mapCatalogAttribute.js +53 -53
  59. package/server/routes/map/functions/mapFeatures.js +133 -133
  60. package/server/routes/map/functions/mapFormat.js +232 -232
  61. package/server/routes/map/functions/mapTiles.js +162 -162
  62. package/server/routes/map/functions/maps.js +15 -15
  63. package/server/routes/map/functions/marker_icon.js +43 -43
  64. package/server/routes/map/functions/parseGeoFile.js +85 -85
  65. package/server/routes/map/functions/pointHeight.js +51 -51
  66. package/server/routes/map/functions/vtile.js +174 -174
  67. package/server/routes/map/functions/vtile1.js +185 -185
  68. package/server/routes/map/map.route.js +280 -280
  69. package/server/routes/map/map.route.test.js +503 -503
  70. package/server/routes/map/map.schema.js +356 -356
  71. package/server/routes/map/pin/circle1.svg +76 -76
  72. package/server/routes/map/pin/circle2.svg +18 -18
  73. package/server/routes/map/pin/none.svg +12 -12
  74. package/server/routes/map/pin/pin.svg +14 -14
  75. package/server/routes/map/pin/pin1.svg +16 -16
  76. package/server/routes/map/pin/pin2.svg +7 -7
  77. package/server/routes/map/pin/pin3.svg +34 -34
  78. package/server/routes/map/pin/pin4.svg +14 -14
  79. package/server/routes/map/pin/pin5.svg +7 -7
  80. package/server/routes/map/pin/pin6.svg +12 -12
  81. package/server/routes/map/pin/pin7.svg +12 -12
  82. package/server/routes/mapnik/functions/cartoBounds.js +32 -32
  83. package/server/routes/mapnik/functions/clearTiles.js +103 -103
  84. package/server/routes/mapnik/functions/convertBoundToTile.js +27 -27
  85. package/server/routes/mapnik/functions/createXml.js +76 -76
  86. package/server/routes/mapnik/functions/createXmlMulti.js +72 -72
  87. package/server/routes/mapnik/functions/fileSearch.js +35 -35
  88. package/server/routes/mapnik/functions/fileStat.js +28 -28
  89. package/server/routes/mapnik/functions/pretile.js +138 -138
  90. package/server/routes/mapnik/functions/rasterInfo.js +66 -66
  91. package/server/routes/mapnik/functions/readDir.js +22 -22
  92. package/server/routes/mapnik/functions/rtile.js +164 -164
  93. package/server/routes/mapnik/functions/uploadRaster.js +152 -152
  94. package/server/routes/mapnik/functions/uploadXML.js +140 -140
  95. package/server/routes/mapnik/mapnik.route.js +102 -102
  96. package/server/routes/mapnik/mapnik.route.test.js +370 -370
  97. package/server/routes/mapnik/mapnik.schema.mjs +195 -195
  98. package/server/routes/mapnik.prefixless/functions/mapnikLogger.js +31 -31
  99. package/server/routes/mapnik.prefixless/functions/mapnikStat.js +21 -21
  100. package/server/routes/mapnik.prefixless/mapnik.prefixless.route.js +20 -20
  101. package/server/routes/mapnik.prefixless/mapnik.prefixless.route.test.js +91 -91
  102. package/server/routes/mapnik.prefixless/mapnik.prefixless.schema.mjs +27 -27
  103. package/server/routes/maps/functions/add.map.js +42 -42
  104. package/server/routes/maps/functions/del.map.js +17 -17
  105. package/server/routes/maps/functions/get.map.js +119 -119
  106. package/server/routes/maps/maps.route.js +58 -58
  107. package/server/routes/maps/maps.route.test.js +231 -231
  108. package/server/routes/maps/maps.schema.js +9 -9
  109. package/server/routes/metadata/functions/editMetadata.js +35 -35
  110. package/server/routes/metadata/functions/metadataXML.js +19 -19
  111. package/server/routes/metadata/metadata.route.js +26 -26
  112. package/server/routes/metadata/metadata.route.test.js +46 -46
  113. package/server/routes/metadata/metadata.schema.js +53 -53
  114. package/server/routes/ogc/functions/map.info.point.js +117 -117
  115. package/server/routes/ogc/ogc.route.js +21 -21
  116. package/server/routes/ogc/ogc.route.test.js +53 -53
  117. package/server/routes/ogc/ogc.schema.js +16 -16
  118. package/server/routes/permissions/functions/catalog.permissions.edit.js +20 -20
  119. package/server/routes/permissions/functions/catalog.permissions.js +12 -12
  120. package/server/routes/permissions/functions/get.permissions.js +59 -59
  121. package/server/routes/permissions/functions/gis.catalog.js +80 -80
  122. package/server/routes/permissions/permissions.route.js +35 -35
  123. package/server/routes/permissions/permissions.route.test.js +35 -35
  124. package/server/routes/permissions/permissions.schema.js +43 -43
  125. package/server/routes/registers/functions/add.registry.js +37 -37
  126. package/server/routes/registers/functions/classifiers.js +100 -100
  127. package/server/routes/registers/functions/columns.js +3 -3
  128. package/server/routes/registers/functions/content.type.js +9 -9
  129. package/server/routes/registers/functions/del.registry.js +14 -14
  130. package/server/routes/registers/functions/get.info.js +93 -93
  131. package/server/routes/registers/functions/getFilterSQLParametrized/formatValue.js +312 -0
  132. package/server/routes/registers/functions/getFilterSQLParametrized/getFilterQuery.js +126 -0
  133. package/server/routes/registers/functions/getFilterSQLParametrized/getRangeQuery.js +353 -0
  134. package/server/routes/registers/functions/getFilterSQLParametrized/index.js +81 -0
  135. package/server/routes/registers/functions/getTableColumnMeta.js +125 -0
  136. package/server/routes/registers/functions/gis.export.js +159 -159
  137. package/server/routes/registers/functions/gis.registry.js +71 -71
  138. package/server/routes/registers/functions/gis.registry.list.js +61 -61
  139. package/server/routes/registers/functions/gis.suggest.js +275 -0
  140. package/server/routes/registers/functions/handleRegistryRequest.js +175 -147
  141. package/server/routes/registers/functions/map.registry.js +87 -87
  142. package/server/routes/registers/registers.route.js +91 -80
  143. package/server/routes/registers/registers.route.test.js +173 -144
  144. package/server/routes/registers/registers.schema.js +275 -246
  145. package/server/routes/root.mjs +3 -3
  146. package/server/routes/services/functions/add.service.js +62 -62
  147. package/server/routes/services/functions/create.route.js +93 -93
  148. package/server/routes/services/functions/del.service.js +12 -12
  149. package/server/routes/services/functions/get.layer.geom.js +27 -27
  150. package/server/routes/services/functions/get.service.users.js +76 -76
  151. package/server/routes/services/functions/get.services.col.js +34 -34
  152. package/server/routes/services/functions/get.services.js +89 -89
  153. package/server/routes/services/functions/legend.auto.js +77 -77
  154. package/server/routes/services/services.route.js +76 -76
  155. package/server/routes/services/services.route.test.js +167 -167
  156. package/server/routes/services/services.schema.js +285 -278
  157. package/server/routes/widgets/functions/add.widget.js +38 -38
  158. package/server/routes/widgets/functions/del.widget.js +17 -17
  159. package/server/routes/widgets/functions/get.widget.js +41 -41
  160. package/server/routes/widgets/widgets.route.js +61 -61
  161. package/server/routes/widgets/widgets.route.test.js +144 -144
  162. package/server/routes/widgets/widgets.schema.js +24 -24
  163. package/server/shared/listFiles.js +14 -14
  164. package/utils.js +13 -13
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as te, resolveDirective as We, openBlock as u, createElementBlock as m, createElementVNode as n, Fragment as W, renderList as X, toDisplayString as d, withDirectives as we, createTextVNode as Xe, normalizeClass as ae, ref as $, watch as S, computed as h, vModelText as Ke, onMounted as Ye, onBeforeUnmount as Ze, createCommentVNode as q, createVNode as B, withCtx as He, createBlock as F, resolveDynamicComponent as Je } from "vue";
2
2
  import { useRouter as et, useRoute as tt } from "vue-router";
3
3
  import { TooltipDirective as st, notify as M } from "@opengis/core";
4
- import { _ as nt, u as lt, f as rt, M as ot, i as it, j as be, F as at } from "./index-CahlV-Xs.js";
5
- import { _ as ut, a as ct, b as dt, c as ft } from "./HeaderActions.vue_vue_type_script_setup_true_lang-C2B61JP6.js";
6
- import { _ as he } from "./ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-DnGSvmMU.js";
4
+ import { _ as nt, u as lt, f as rt, M as ot, i as it, j as be, F as at } from "./index-cUagVqgA.js";
5
+ import { _ as ut, a as ct, b as dt, c as ft } from "./HeaderActions.vue_vue_type_script_setup_true_lang-BXQ3hKwa.js";
6
+ import { _ as he } from "./ExtentOutlineLayer.vue_vue_type_script_setup_true_lang-BqUjKTDY.js";
7
7
  const mt = { class: "flex-1 overflow-y-auto p-4 sm:p-6" }, pt = { class: "space-y-3" }, gt = { class: "bg-white p-3 rounded-xl border border-gray-200 shadow-sm" }, yt = { class: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-2" }, vt = { class: "text-xs text-gray-500 mb-1" }, xt = {
8
8
  key: 0,
9
9
  class: "text-base text-md font-semibold text-gray-900"
@@ -2,9 +2,9 @@ import { defineComponent as B, mergeModels as j, useModel as S, computed as h, d
2
2
  import { useRoute as Z, useRouter as ee } from "vue-router";
3
3
  import { notify as F } from "@opengis/core";
4
4
  import { _ as te } from "./TableFormHeader.vue_vue_type_script_setup_true_lang-Mci_tseM.js";
5
- import { V as N } from "./vs-datatable-CHcBr6zy.js";
6
- import { _ as z, n as R, m as E, r as H } from "./import-utils-uxk4LdUJ.js";
7
- import { a as ae, b as le, c as se, d as oe, e as ie } from "./index-CahlV-Xs.js";
5
+ import { V as N } from "./vs-datatable-B9WoVk-b.js";
6
+ import { _ as z, n as R, m as E, r as H } from "./import-utils-BCATsbB5.js";
7
+ import { a as ae, b as le, c as se, d as oe, e as ie } from "./index-cUagVqgA.js";
8
8
  import { LucideChevronRight as re } from "lucide-vue-next";
9
9
  import { _ as ne } from "./MapSettingsTabs.vue_vue_type_script_setup_true_lang-CKCK3NqY.js";
10
10
  const ue = { class: "vs-form" }, de = { class: "vs-form__body auto-rows-max container" }, ce = { class: "flex flex-wrap" }, me = { class: "h-fit w-full mb-6 bg-white border border-gray-200 rounded-lg p-6" }, ve = { class: "h-fit w-full flex flex-wrap" }, pe = { class: "w-full" }, fe = /* @__PURE__ */ B({
@@ -4,12 +4,12 @@ var L = (e, n, t) => di(e, typeof n != "symbol" ? n + "" : n, t);
4
4
  import { openBlock as _, createElementBlock as M, createElementVNode as g, defineComponent as ae, ref as E, watch as $, createTextVNode as pi, createVNode as D, createBlock as P, createCommentVNode as W, defineAsyncComponent as mi, unref as ze, withCtx as vn, withDirectives as cn, vModelText as fn, normalizeClass as Ee, Fragment as At, renderList as Ct, toDisplayString as fe, getCurrentInstance as wt, onBeforeUnmount as Tt, toRef as hi, computed as ve, onMounted as gi, resolveDynamicComponent as yi } from "vue";
5
5
  import { useRoute as vi, useRouter as bi } from "vue-router";
6
6
  import { notify as te } from "@opengis/core";
7
- import { _ as Xe, u as Ge, f as xi, M as Si, g as ki, h as Ai, i as Ci, j as it, k as wi, l as Ti, m as _i, s as rt, n as Ei } from "./index-CahlV-Xs.js";
8
- import { _ as Ii, a as Ni, b as $i, c as Li } from "./HeaderActions.vue_vue_type_script_setup_true_lang-C2B61JP6.js";
9
- import { S as Fi, C as Ri } from "./CardIcon-c1Q2M3wQ.js";
7
+ import { _ as Xe, u as Ge, f as xi, M as Si, g as ki, h as Ai, i as Ci, j as it, k as wi, l as Ti, m as _i, s as rt, n as Ei } from "./index-cUagVqgA.js";
8
+ import { _ as Ii, a as Ni, b as $i, c as Li } from "./HeaderActions.vue_vue_type_script_setup_true_lang-BXQ3hKwa.js";
9
+ import { S as Fi, C as Ri } from "./CardIcon-CMRD1LLh.js";
10
10
  import { _ as _t } from "./MonacoEditor.vue_vue_type_script_setup_true_lang-D3ZPeXMw.js";
11
- import { V as Ze } from "./vs-datatable-CHcBr6zy.js";
12
- import { _ as Nn, m as $n, r as Le } from "./import-utils-uxk4LdUJ.js";
11
+ import { V as Ze } from "./vs-datatable-B9WoVk-b.js";
12
+ import { _ as Nn, m as $n, r as Le } from "./import-utils-BCATsbB5.js";
13
13
  /*! js-yaml 5.2.1 https://github.com/nodeca/js-yaml @license MIT */
14
14
  var T = Symbol("NOT_RESOLVED"), Ln = Symbol("MERGE_KEY");
15
15
  function U(e, n) {
@@ -3463,7 +3463,7 @@ ${B}` : B;
3463
3463
  ]);
3464
3464
  };
3465
3465
  }
3466
- }), Va = /* @__PURE__ */ Xe(Ia, [["__scopeId", "data-v-57d42c14"]]);
3466
+ }), Va = /* @__PURE__ */ Xe(Ia, [["__scopeId", "data-v-1849d11d"]]);
3467
3467
  export {
3468
3468
  Va as default
3469
3469
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as F, mergeModels as O, defineAsyncComponent as I, useModel as R, ref as y, watch as K, openBlock as o, createElementBlock as s, createElementVNode as e, createVNode as $, unref as x, withCtx as S, createStaticVNode as V, useSlots as P, computed as H, Fragment as b, createTextVNode as U, createCommentVNode as N, renderList as A, normalizeStyle as Q, toDisplayString as M, normalizeClass as z, withModifiers as X, createBlock as Y, resolveDynamicComponent as ee, withDirectives as te, renderSlot as ne } from "vue";
2
2
  import { notify as E } from "@opengis/core";
3
3
  import { Edit as le, Trash as oe } from "lucide-vue-next";
4
- import { _ as u } from "./index-CahlV-Xs.js";
4
+ import { _ as u } from "./index-cUagVqgA.js";
5
5
  const se = { class: "flex items-center justify-center col-span-3 gap-2" }, re = { class: "flex justify-end p-[20px] gap-[10px] border-t w-full" }, ie = /* @__PURE__ */ F({
6
6
  __name: "vs-datatable-controls",
7
7
  props: /* @__PURE__ */ O({
@@ -791,7 +791,7 @@ const kt = /* @__PURE__ */ u(pt, [["render", wt]]), W = {
791
791
  }, 8, ["visible"])
792
792
  ], 64));
793
793
  }
794
- }), Gt = /* @__PURE__ */ u(Ot, [["__scopeId", "data-v-3634d3ec"]]);
794
+ }), Gt = /* @__PURE__ */ u(Ot, [["__scopeId", "data-v-25566600"]]);
795
795
  export {
796
796
  Gt as V,
797
797
  ce as g,
@@ -1,42 +1,42 @@
1
- [
2
- {
3
- "id": "geojson",
4
- "text": "GeoJSON",
5
- "color": "orange"
6
- },
7
- {
8
- "id": "vtile",
9
- "text": "Vector Tile",
10
- "color": "green"
11
- },
12
- {
13
- "id": "wms",
14
- "text": "WMS",
15
- "color": "blue"
16
- },
17
- {
18
- "id": "wfs",
19
- "text": "WFS",
20
- "color": "cyan"
21
- },
22
- {
23
- "id": "wmts",
24
- "text": "WMTS",
25
- "color": "purple"
26
- },
27
- {
28
- "id": "tms",
29
- "text": "TMS",
30
- "color": "indigo"
31
- },
32
- {
33
- "id": "raster",
34
- "text": "Raster",
35
- "color": "brown"
36
- },
37
- {
38
- "id": "other",
39
- "text": "Інше",
40
- "color": "gray"
41
- }
42
- ]
1
+ [
2
+ {
3
+ "id": "geojson",
4
+ "text": "GeoJSON",
5
+ "color": "orange"
6
+ },
7
+ {
8
+ "id": "vtile",
9
+ "text": "Vector Tile",
10
+ "color": "green"
11
+ },
12
+ {
13
+ "id": "wms",
14
+ "text": "WMS",
15
+ "color": "blue"
16
+ },
17
+ {
18
+ "id": "wfs",
19
+ "text": "WFS",
20
+ "color": "cyan"
21
+ },
22
+ {
23
+ "id": "wmts",
24
+ "text": "WMTS",
25
+ "color": "purple"
26
+ },
27
+ {
28
+ "id": "tms",
29
+ "text": "TMS",
30
+ "color": "indigo"
31
+ },
32
+ {
33
+ "id": "raster",
34
+ "text": "Raster",
35
+ "color": "brown"
36
+ },
37
+ {
38
+ "id": "other",
39
+ "text": "Інше",
40
+ "color": "gray"
41
+ }
42
+ ]
@@ -1,128 +1,128 @@
1
- {
2
- "style": {
3
- "navigation": true
4
- },
5
- "schema": {
6
- "d0": {
7
- "type": "HTML",
8
- "title": "Загальна інформація",
9
- "text": "<h2 class='text-xl font-bold text-left'>Загальна інформація про реєстр</h2>",
10
- "col": 12
11
- },
12
- "name": {
13
- "ua": "Назва",
14
- "col": 12,
15
- "type": "Text",
16
- "validators": [
17
- "required"
18
- ]
19
- },
20
- "service_id": {
21
- "ua": "Шар на мапі",
22
- "type": "Autocomplete",
23
- "data": "service_id"
24
- },
25
- "description": {
26
- "ua": "Опис",
27
- "col": 12,
28
- "type": "TextArea"
29
- },
30
- "holder": {
31
- "ua": "Власник/Утримувач/Відповідальний",
32
- "col": 6,
33
- "type": "Text"
34
- },
35
- "register_key": {
36
- "ua": "Аліас реєстру",
37
- "col": 6,
38
- "i": "Унікальний аліас реєстру",
39
- "type": "Text",
40
- "validators": [
41
- "required"
42
- ]
43
- },
44
- "keywords": {
45
- "ua": "Ключові слова",
46
- "col": 6,
47
- "type": "Tags"
48
- },
49
- "view": {
50
- "ua": "Вигляд реєстру",
51
- "col": 6,
52
- "defaultValue": "1",
53
- "data": "view",
54
- "type": "Select",
55
- "validators": [
56
- "required"
57
- ]
58
- },
59
- "is_public": {
60
- "ua": "Чи публічний реєстр?",
61
- "col": 6,
62
- "type": "Switcher",
63
- "data": "yes_no"
64
- },
65
- "is_active": {
66
- "ua": "Чи активний?",
67
- "col": 6,
68
- "type": "Switcher",
69
- "data": "yes_no"
70
- },
71
- "is_map": {
72
- "ua": "Наявність переходу на карту",
73
- "col": 6,
74
- "type": "Switcher",
75
- "data": "bool.yes_no"
76
- },
77
- "is_register": {
78
- "ua": "Наявність переходу до реєстру",
79
- "col": 6,
80
- "type": "Switcher",
81
- "data": "bool.yes_no"
82
- },
83
- "is_downloadable": {
84
- "ua": "Чи можна завантажити дані?",
85
- "col": 6,
86
- "type": "Switcher",
87
- "data": "bool.yes_no"
88
- },
89
- "is_files": {
90
- "ua": "Чи відображати віджет файлів?",
91
- "col": 6,
92
- "type": "Switcher",
93
- "defaultValue": false
94
- },
95
- "image": {
96
- "ua": "Фото",
97
- "col": 6,
98
- "type": "File"
99
- },
100
- "d1": {
101
- "type": "HTML",
102
- "title": "Інформація про джерело",
103
- "text": "<h2 class='text-xl font-bold text-left'>Інформація про джерело</h2>",
104
- "col": 12
105
- },
106
- "table_name": {
107
- "ua": "Таблиця в базі даних",
108
- "type": "Autocomplete",
109
- "data": "pg.table_name",
110
- "col": 12,
111
- "validators": [
112
- "required"
113
- ]
114
- },
115
- "query": {
116
- "ua": "Умова для відображення",
117
- "type": "Text",
118
- "syntax": "sql",
119
- "col": 6
120
- },
121
- "order": {
122
- "ua": "Сортування",
123
- "type": "Text",
124
- "syntax": "sql",
125
- "col": 6
126
- }
127
- }
1
+ {
2
+ "style": {
3
+ "navigation": true
4
+ },
5
+ "schema": {
6
+ "d0": {
7
+ "type": "HTML",
8
+ "title": "Загальна інформація",
9
+ "text": "<h2 class='text-xl font-bold text-left'>Загальна інформація про реєстр</h2>",
10
+ "col": 12
11
+ },
12
+ "name": {
13
+ "ua": "Назва",
14
+ "col": 12,
15
+ "type": "Text",
16
+ "validators": [
17
+ "required"
18
+ ]
19
+ },
20
+ "service_id": {
21
+ "ua": "Шар на мапі",
22
+ "type": "Autocomplete",
23
+ "data": "service_id"
24
+ },
25
+ "description": {
26
+ "ua": "Опис",
27
+ "col": 12,
28
+ "type": "TextArea"
29
+ },
30
+ "holder": {
31
+ "ua": "Власник/Утримувач/Відповідальний",
32
+ "col": 6,
33
+ "type": "Text"
34
+ },
35
+ "register_key": {
36
+ "ua": "Аліас реєстру",
37
+ "col": 6,
38
+ "i": "Унікальний аліас реєстру",
39
+ "type": "Text",
40
+ "validators": [
41
+ "required"
42
+ ]
43
+ },
44
+ "keywords": {
45
+ "ua": "Ключові слова",
46
+ "col": 6,
47
+ "type": "Tags"
48
+ },
49
+ "view": {
50
+ "ua": "Вигляд реєстру",
51
+ "col": 6,
52
+ "defaultValue": "1",
53
+ "data": "view",
54
+ "type": "Select",
55
+ "validators": [
56
+ "required"
57
+ ]
58
+ },
59
+ "is_public": {
60
+ "ua": "Чи публічний реєстр?",
61
+ "col": 6,
62
+ "type": "Switcher",
63
+ "data": "yes_no"
64
+ },
65
+ "is_active": {
66
+ "ua": "Чи активний?",
67
+ "col": 6,
68
+ "type": "Switcher",
69
+ "data": "yes_no"
70
+ },
71
+ "is_map": {
72
+ "ua": "Наявність переходу на карту",
73
+ "col": 6,
74
+ "type": "Switcher",
75
+ "data": "bool.yes_no"
76
+ },
77
+ "is_register": {
78
+ "ua": "Наявність переходу до реєстру",
79
+ "col": 6,
80
+ "type": "Switcher",
81
+ "data": "bool.yes_no"
82
+ },
83
+ "is_downloadable": {
84
+ "ua": "Чи можна завантажити дані?",
85
+ "col": 6,
86
+ "type": "Switcher",
87
+ "data": "bool.yes_no"
88
+ },
89
+ "is_files": {
90
+ "ua": "Чи відображати віджет файлів?",
91
+ "col": 6,
92
+ "type": "Switcher",
93
+ "defaultValue": false
94
+ },
95
+ "image": {
96
+ "ua": "Фото",
97
+ "col": 6,
98
+ "type": "File"
99
+ },
100
+ "d1": {
101
+ "type": "HTML",
102
+ "title": "Інформація про джерело",
103
+ "text": "<h2 class='text-xl font-bold text-left'>Інформація про джерело</h2>",
104
+ "col": 12
105
+ },
106
+ "table_name": {
107
+ "ua": "Таблиця в базі даних",
108
+ "type": "Autocomplete",
109
+ "data": "pg.table_name",
110
+ "col": 12,
111
+ "validators": [
112
+ "required"
113
+ ]
114
+ },
115
+ "query": {
116
+ "ua": "Умова для відображення",
117
+ "type": "Text",
118
+ "syntax": "sql",
119
+ "col": 6
120
+ },
121
+ "order": {
122
+ "ua": "Сортування",
123
+ "type": "Text",
124
+ "syntax": "sql",
125
+ "col": 6
126
+ }
127
+ }
128
128
  }