@opengis/gis 0.1.80 → 0.1.82
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/dist/index.css +1 -1
- package/dist/index.js +3263 -2789
- package/dist/index.umd.cjs +30 -30
- package/module/test/cls/doc_status.json +31 -31
- package/module/test/map/address/addr.yml +6 -0
- package/module/test/map/address/index.yml +22 -0
- package/module/test/map/address/street.yml +16 -0
- package/module/test/map/address2/addr.json +9 -0
- package/module/test/map/address2/index.json +35 -0
- package/module/test/map/address2/street.json +19 -0
- package/module/test/map/address3.yml +52 -0
- package/module/test/map/address4.json +74 -0
- package/module/test/map/mbd.json +243 -0
- package/module/test/select/core.user_uid.sql +1 -1
- package/module/test/table/data_address.street.table.json +70 -0
- package/package.json +61 -59
- package/server/migrations/services.sql +3 -0
- package/server/plugins/mapnik/funcs/map.proto +241 -241
- package/server/routes/gis/registers/funcs/classifiers.js +18 -3
- package/server/routes/gis/registers/funcs/handleRegistryRequest.js +4 -2
- package/server/routes/gis/services/add.service.js +51 -16
- package/server/routes/gis/services/get.services.js +24 -3
- package/server/routes/map/controllers/mapFormat.js +15 -5
- package/server/routes/map/controllers/marker_icon.js +2 -1
- package/server/routes/map/index.mjs +2 -0
- package/server/routes/map/vtile1.js +2 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "1",
|
|
4
|
-
"text": "Діючий",
|
|
5
|
-
"color": "#1ab394"
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"id": "2",
|
|
9
|
-
"text": "Зупинений",
|
|
10
|
-
"color": "#ed82c8"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"id": "3",
|
|
14
|
-
"text": "Скасований",
|
|
15
|
-
"color": "#4a4a4a"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"id": "5",
|
|
19
|
-
"text": "Проектний",
|
|
20
|
-
"color": "#6495ed"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"id": "7",
|
|
24
|
-
"text": "Очікує розгляду",
|
|
25
|
-
"color": "#92b8ef"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"id": "10",
|
|
29
|
-
"text": "Архівний",
|
|
30
|
-
"color": "#d48428"
|
|
31
|
-
}
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "1",
|
|
4
|
+
"text": "Діючий",
|
|
5
|
+
"color": "#1ab394"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"id": "2",
|
|
9
|
+
"text": "Зупинений",
|
|
10
|
+
"color": "#ed82c8"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "3",
|
|
14
|
+
"text": "Скасований",
|
|
15
|
+
"color": "#4a4a4a"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "5",
|
|
19
|
+
"text": "Проектний",
|
|
20
|
+
"color": "#6495ed"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "7",
|
|
24
|
+
"text": "Очікує розгляду",
|
|
25
|
+
"color": "#92b8ef"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "10",
|
|
29
|
+
"text": "Архівний",
|
|
30
|
+
"color": "#d48428"
|
|
31
|
+
}
|
|
32
32
|
]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: address
|
|
3
|
+
name: address
|
|
4
|
+
title: Адресний реєстр
|
|
5
|
+
description: Адресний реєстр
|
|
6
|
+
center:
|
|
7
|
+
- 30.5234
|
|
8
|
+
- 50.4501
|
|
9
|
+
zoom: 12
|
|
10
|
+
basemap: osm
|
|
11
|
+
sources: []
|
|
12
|
+
widgets:
|
|
13
|
+
- type: legend
|
|
14
|
+
position: bottom-right
|
|
15
|
+
config:
|
|
16
|
+
items:
|
|
17
|
+
- label: Житлова зона
|
|
18
|
+
color: "#4caf50"
|
|
19
|
+
- label: Комерційна зона
|
|
20
|
+
color: "#2196f3"
|
|
21
|
+
- label: Промислова зона
|
|
22
|
+
color: "#f44336"
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
label: Вулиці
|
|
2
|
+
source_path: data_address.street.table
|
|
3
|
+
style:
|
|
4
|
+
attribute: type
|
|
5
|
+
colors:
|
|
6
|
+
"1": "#4caf50"
|
|
7
|
+
"2": "#2196f3"
|
|
8
|
+
"3": "#f44336"
|
|
9
|
+
"4": "#4caf50"
|
|
10
|
+
"5": "#2196f3"
|
|
11
|
+
"6": "#f44336"
|
|
12
|
+
"8": "#4caf50"
|
|
13
|
+
"9": "#2196f3"
|
|
14
|
+
"11": "#f44336"
|
|
15
|
+
"16": "#4caf50"
|
|
16
|
+
visible: true
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "address3",
|
|
3
|
+
"name": "address",
|
|
4
|
+
"title": "Адресний реєстр",
|
|
5
|
+
"description": "Адресний реєстр",
|
|
6
|
+
"center": [
|
|
7
|
+
30.5234,
|
|
8
|
+
50.4501
|
|
9
|
+
],
|
|
10
|
+
"zoom": 12,
|
|
11
|
+
"basemap": "osm",
|
|
12
|
+
"sources": [],
|
|
13
|
+
"widgets": [
|
|
14
|
+
{
|
|
15
|
+
"type": "legend",
|
|
16
|
+
"position": "bottom-right",
|
|
17
|
+
"config": {
|
|
18
|
+
"items": [
|
|
19
|
+
{
|
|
20
|
+
"label": "Житлова зона",
|
|
21
|
+
"color": "#4caf50"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"label": "Комерційна зона",
|
|
25
|
+
"color": "#2196f3"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"label": "Промислова зона",
|
|
29
|
+
"color": "#f44336"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label": "Вулиці",
|
|
3
|
+
"source_path": "data_address.street.table",
|
|
4
|
+
"style": {
|
|
5
|
+
"attribute": "type",
|
|
6
|
+
"colors": {
|
|
7
|
+
"1": "#4caf50",
|
|
8
|
+
"2": "#2196f3",
|
|
9
|
+
"3": "#f44336",
|
|
10
|
+
"4": "#4caf50",
|
|
11
|
+
"5": "#2196f3",
|
|
12
|
+
"6": "#f44336",
|
|
13
|
+
"8": "#4caf50",
|
|
14
|
+
"9": "#2196f3",
|
|
15
|
+
"11": "#f44336",
|
|
16
|
+
"16": "#4caf50"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: address1
|
|
3
|
+
name: address1
|
|
4
|
+
title: Адресний реєстр
|
|
5
|
+
description: Адресний реєстр.
|
|
6
|
+
center:
|
|
7
|
+
- 30.5234
|
|
8
|
+
- 50.4501
|
|
9
|
+
zoom: 12
|
|
10
|
+
basemap: osm
|
|
11
|
+
sources: []
|
|
12
|
+
layers:
|
|
13
|
+
- id: address3
|
|
14
|
+
label: Адреси
|
|
15
|
+
source_path: data_address.address
|
|
16
|
+
style:
|
|
17
|
+
attribute: type
|
|
18
|
+
colors:
|
|
19
|
+
build: "Будівля / Споруда"
|
|
20
|
+
countrySeat: "Садибний / Садовий / Дачний будинок"
|
|
21
|
+
landPlot: "Земельна ділянка"
|
|
22
|
+
complex: "Комплекс будівель і споруд"
|
|
23
|
+
undergroundObject: "Підземний об’єкт"
|
|
24
|
+
visible: true
|
|
25
|
+
- id: street3
|
|
26
|
+
label: Вулиці
|
|
27
|
+
source_path: data_address.street.table
|
|
28
|
+
style:
|
|
29
|
+
attribute: type
|
|
30
|
+
colors:
|
|
31
|
+
"1": "#4caf50"
|
|
32
|
+
"2": "#2196f3"
|
|
33
|
+
"3": "#f44336"
|
|
34
|
+
"4": "#4caf50"
|
|
35
|
+
"5": "#2196f3"
|
|
36
|
+
"6": "#f44336"
|
|
37
|
+
"8": "#4caf50"
|
|
38
|
+
"9": "#2196f3"
|
|
39
|
+
"11": "#f44336"
|
|
40
|
+
"16": "#4caf50"
|
|
41
|
+
visible: true
|
|
42
|
+
widgets:
|
|
43
|
+
- type: legend
|
|
44
|
+
position: bottom-right
|
|
45
|
+
config:
|
|
46
|
+
items:
|
|
47
|
+
- label: Житлова зона
|
|
48
|
+
color: "#4caf50"
|
|
49
|
+
- label: Комерційна зона
|
|
50
|
+
color: "#2196f3"
|
|
51
|
+
- label: Промислова зона
|
|
52
|
+
color: "#f44336"
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "address2",
|
|
3
|
+
"name": "address",
|
|
4
|
+
"title": "Адресний реєстр",
|
|
5
|
+
"description": "Адресний реєстр.",
|
|
6
|
+
"center": [
|
|
7
|
+
30.5234,
|
|
8
|
+
50.4501
|
|
9
|
+
],
|
|
10
|
+
"zoom": 12,
|
|
11
|
+
"basemap": "osm",
|
|
12
|
+
"sources": [],
|
|
13
|
+
"layers": [
|
|
14
|
+
{
|
|
15
|
+
"id": "address4",
|
|
16
|
+
"label": "Адреси",
|
|
17
|
+
"source_path": "data_address.address",
|
|
18
|
+
"geometry_column": "geom",
|
|
19
|
+
"style": {
|
|
20
|
+
"attribute": "type",
|
|
21
|
+
"colors": {
|
|
22
|
+
"build": "Будівля / Споруда",
|
|
23
|
+
"countrySeat": "Садибний / Садовий / Дачний будинок",
|
|
24
|
+
"landPlot": "Земельна ділянка",
|
|
25
|
+
"complex": "Комплекс будівель і споруд",
|
|
26
|
+
"undergroundObject": "Підземний об’єкт"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"visible": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "street4",
|
|
33
|
+
"label": "Вулиці",
|
|
34
|
+
"source_path": "data_address.street.table",
|
|
35
|
+
"style": {
|
|
36
|
+
"attribute": "type",
|
|
37
|
+
"colors": {
|
|
38
|
+
"1": "#4caf50",
|
|
39
|
+
"2": "#2196f3",
|
|
40
|
+
"3": "#f44336",
|
|
41
|
+
"4": "#4caf50",
|
|
42
|
+
"5": "#2196f3",
|
|
43
|
+
"6": "#f44336",
|
|
44
|
+
"8": "#4caf50",
|
|
45
|
+
"9": "#2196f3",
|
|
46
|
+
"11": "#f44336",
|
|
47
|
+
"16": "#4caf50"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"widgets": [
|
|
53
|
+
{
|
|
54
|
+
"type": "legend",
|
|
55
|
+
"position": "bottom-right",
|
|
56
|
+
"config": {
|
|
57
|
+
"items": [
|
|
58
|
+
{
|
|
59
|
+
"label": "Житлова зона",
|
|
60
|
+
"color": "#4caf50"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"label": "Комерційна зона",
|
|
64
|
+
"color": "#2196f3"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"label": "Промислова зона",
|
|
68
|
+
"color": "#f44336"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
{
|
|
2
|
+
"history": true,
|
|
3
|
+
"height": "calc(100vh - 65px)",
|
|
4
|
+
"source_path": "data_mbd.mbd",
|
|
5
|
+
"widgets": [
|
|
6
|
+
{
|
|
7
|
+
"type": "info",
|
|
8
|
+
"position": "top-left",
|
|
9
|
+
"config": {
|
|
10
|
+
"title": "Містобудівна документація",
|
|
11
|
+
"content": "<p style='font-size: 14px; color: #34495E;'>Затверджені текстові і графічні матеріали, якими регулюється планування, забудова та інше використання територій.</p>",
|
|
12
|
+
"goTo": [
|
|
13
|
+
{
|
|
14
|
+
"label": "Карта адресного реєстру",
|
|
15
|
+
"url": "/map/addr"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"label": "Карта БП/МУО",
|
|
19
|
+
"url": "/map/bp_myo"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"label": "Основна карта",
|
|
23
|
+
"url": "/map/main"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"label": "Карта тимчасових споруд",
|
|
27
|
+
"url": "/map/ts"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "attribute_style",
|
|
34
|
+
"position": "top-right",
|
|
35
|
+
"title": "Густота населення",
|
|
36
|
+
"config": {
|
|
37
|
+
"layer_id": "municipalities",
|
|
38
|
+
"source_path": "data_mbd.mbd",
|
|
39
|
+
"attribute": "status",
|
|
40
|
+
"cls": "mbd.mbd_status",
|
|
41
|
+
"colors1": [
|
|
42
|
+
"red",
|
|
43
|
+
"blue"
|
|
44
|
+
],
|
|
45
|
+
"legend1": [
|
|
46
|
+
{
|
|
47
|
+
"label": "Чинна",
|
|
48
|
+
"color": "#00FF00"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"visible": true
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "attribute",
|
|
56
|
+
"position": "top-left",
|
|
57
|
+
"config": {
|
|
58
|
+
"layer": {
|
|
59
|
+
"id": "data_mbd.mbd",
|
|
60
|
+
"service": "vtile",
|
|
61
|
+
"url": "/api/vtile/data_mbd.mbd/ua/{z}/{x}/{y}.vmt",
|
|
62
|
+
"service_key": "mbd",
|
|
63
|
+
"map_key": "mbd",
|
|
64
|
+
"style": {
|
|
65
|
+
"type": "point",
|
|
66
|
+
"color": "blue",
|
|
67
|
+
"width": 2,
|
|
68
|
+
"border": 1,
|
|
69
|
+
"opacity": 0.4,
|
|
70
|
+
"lineOpacity": 0.8,
|
|
71
|
+
"stroke": "black",
|
|
72
|
+
"attrType": "attribute-color",
|
|
73
|
+
"attribute": "status",
|
|
74
|
+
"rules": [
|
|
75
|
+
{
|
|
76
|
+
"value": "3",
|
|
77
|
+
"label": "Чинна",
|
|
78
|
+
"color": "#00FF00"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"value": "4",
|
|
82
|
+
"label": "Втратила чинність",
|
|
83
|
+
"color": "#FF0000"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"value": "5",
|
|
87
|
+
"label": "Завантажено",
|
|
88
|
+
"color": "#A52A2A"
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"popup": {
|
|
92
|
+
"mode": "html",
|
|
93
|
+
"title": "name",
|
|
94
|
+
"fields": [
|
|
95
|
+
{
|
|
96
|
+
"label": "Назва",
|
|
97
|
+
"value": "name"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"label": "Реєстраційний номер в МБКД",
|
|
101
|
+
"value": "reg_num"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"label": "Площа розробки",
|
|
105
|
+
"value": "developing_area"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "legend",
|
|
115
|
+
"position": "bottom-right",
|
|
116
|
+
"config": {
|
|
117
|
+
"width": "200px",
|
|
118
|
+
"items": [
|
|
119
|
+
{
|
|
120
|
+
"label": "Чинна",
|
|
121
|
+
"color": "#00FF00",
|
|
122
|
+
"shape": "circle",
|
|
123
|
+
"count": 4
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"label": "Втратила чинність",
|
|
127
|
+
"color": "red",
|
|
128
|
+
"shape": "circle",
|
|
129
|
+
"count": 1
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"label": "Завантажено",
|
|
133
|
+
"color": "brown",
|
|
134
|
+
"shape": "circle"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"type": "inline-filters",
|
|
141
|
+
"position": "absolute",
|
|
142
|
+
"style": {
|
|
143
|
+
"top": "20px",
|
|
144
|
+
"left": "430px",
|
|
145
|
+
"width": "1200px"
|
|
146
|
+
},
|
|
147
|
+
"title": "Фільтри (absolute)",
|
|
148
|
+
"config": {
|
|
149
|
+
"layer_id": "data_mbd.mbd",
|
|
150
|
+
"source_path": "data_mbd.mbd",
|
|
151
|
+
"dialog": false,
|
|
152
|
+
"filters": [
|
|
153
|
+
{
|
|
154
|
+
"name": "status",
|
|
155
|
+
"data": "mbd.mbd_status",
|
|
156
|
+
"type": "check",
|
|
157
|
+
"label": "Статус",
|
|
158
|
+
"inline": true
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "class_mbd_id",
|
|
162
|
+
"data": "mbd.class_mbd_id_all",
|
|
163
|
+
"type": "check",
|
|
164
|
+
"label": "Вид МБД",
|
|
165
|
+
"inline": true
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "external_id",
|
|
169
|
+
"data": "mbd.external_id_all",
|
|
170
|
+
"type": "autocomplete",
|
|
171
|
+
"label": "Об`єкт АТУ",
|
|
172
|
+
"inline": true
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "reg_num",
|
|
176
|
+
"type": "text",
|
|
177
|
+
"label": "Реєстраційний номер в системі МБКД",
|
|
178
|
+
"inline": true
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "app_date",
|
|
182
|
+
"type": "date",
|
|
183
|
+
"label": "Дата затвердження",
|
|
184
|
+
"inline": true
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"type": "basemaps",
|
|
191
|
+
"position": "bottom-left",
|
|
192
|
+
"title": "Базові карти",
|
|
193
|
+
"config": {
|
|
194
|
+
"default": "voyager",
|
|
195
|
+
"layers": [
|
|
196
|
+
{
|
|
197
|
+
"id": "voyager",
|
|
198
|
+
"title": "Базова карта (voyager)",
|
|
199
|
+
"url": "https://data.gki.com.ua/api-user/rtile/voyager/ua/{z}/{x}/{y}.png",
|
|
200
|
+
"service": "raster",
|
|
201
|
+
"attribution": "© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>, © <a href='https://carto.com/attributions'>CARTO</a>",
|
|
202
|
+
"image": "https://data.gki.com.ua/api-user/rtile/voyager/ua/12/2422/1400.png",
|
|
203
|
+
"owner": "OSM",
|
|
204
|
+
"basemap": true
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "esri",
|
|
208
|
+
"title": "ESRI Online Imagery(2022-2023)",
|
|
209
|
+
"url": "https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}.png",
|
|
210
|
+
"service": "raster",
|
|
211
|
+
"image": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/7/47/69.png"
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
"visible": true
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"type": "card",
|
|
219
|
+
"position": "top-right",
|
|
220
|
+
"config": {
|
|
221
|
+
"title": "Інформація про об'єкт"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"interactions": {
|
|
226
|
+
"hover": {
|
|
227
|
+
"enabled": true
|
|
228
|
+
},
|
|
229
|
+
"navigation": {
|
|
230
|
+
"enabled": true
|
|
231
|
+
},
|
|
232
|
+
"click": {
|
|
233
|
+
"enabled": true
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"tools": [
|
|
237
|
+
"home",
|
|
238
|
+
"geolocation",
|
|
239
|
+
"length",
|
|
240
|
+
"area",
|
|
241
|
+
"print"
|
|
242
|
+
]
|
|
243
|
+
}
|
|
@@ -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
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "str_id",
|
|
3
|
+
"table": "data_address.street",
|
|
4
|
+
"controls": [
|
|
5
|
+
"search",
|
|
6
|
+
"list",
|
|
7
|
+
"add"
|
|
8
|
+
],
|
|
9
|
+
"form": "data_address.street.form",
|
|
10
|
+
"access": "user",
|
|
11
|
+
"sqlColumns": "*",
|
|
12
|
+
"order": "cdate desc",
|
|
13
|
+
"columns": [
|
|
14
|
+
{
|
|
15
|
+
"ua": "Назва вулиці",
|
|
16
|
+
"meta": "title",
|
|
17
|
+
"name": "name",
|
|
18
|
+
"format": "text"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"ua": "Статус",
|
|
22
|
+
"name": "status",
|
|
23
|
+
"data": "address.status",
|
|
24
|
+
"format": "select"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"ua": "Тип об'єкта",
|
|
28
|
+
"name": "type",
|
|
29
|
+
"data": "str_type",
|
|
30
|
+
"format": "select"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"ua": "Територіальна належність",
|
|
34
|
+
"name": "parent",
|
|
35
|
+
"data": "address.atu.object_id_all",
|
|
36
|
+
"width": 300,
|
|
37
|
+
"format": "select"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"ua": "Довжина вулиці",
|
|
41
|
+
"name": "str_length",
|
|
42
|
+
"html": "{{num_format str_length dec='2'}}",
|
|
43
|
+
"format": "number"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"ua": "Версія",
|
|
47
|
+
"name": "version",
|
|
48
|
+
"format": "text"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"meta": {
|
|
52
|
+
"search": "name",
|
|
53
|
+
"title": "name"
|
|
54
|
+
},
|
|
55
|
+
"ua": "Вулиці",
|
|
56
|
+
"filterList": [
|
|
57
|
+
{
|
|
58
|
+
"ua": "Тип об'єкта",
|
|
59
|
+
"name": "type",
|
|
60
|
+
"data": "str_type",
|
|
61
|
+
"type": "Autocomplete"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"ua": "Статус",
|
|
65
|
+
"name": "status",
|
|
66
|
+
"data": "address.status",
|
|
67
|
+
"type": "Autocomplete"
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|