@opengis/surveyor 0.0.16 → 0.0.18
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/CHANGELOG.md +5 -0
- package/README.md +16 -0
- package/dist/chunks/{AppealDetailField-DNRGpnyD.js → AppealDetailField-ByK9ZqR4.js} +2 -2
- package/dist/chunks/{AppealStatusBadge-7KruOSVI.js → AppealStatusBadge-DzMn4RVy.js} +10 -10
- package/dist/chunks/{ApplicationGeometryExportModal-DJbnKPm6.js → ApplicationGeometryExportModal-DMPn9bkq.js} +176 -166
- package/dist/chunks/{MapLayerMenu-AUeTqgEp.js → MapLayerMenu-B0TEoCJm.js} +3 -3
- package/dist/chunks/{RegistryForm-BlK1lExt.js → RegistryForm-Dpis_ncj.js} +2 -2
- package/dist/chunks/{RegistryFormModal-BmBsUOF3.js → RegistryFormModal-CH4DbTvC.js} +2 -2
- package/dist/chunks/{RegistryToolbar-DXOEcD84.js → RegistryToolbar-DisEejvi.js} +3 -3
- package/dist/chunks/{TablePagination-CUtnDQQ_.js → TablePagination-thQkE5iA.js} +5 -5
- package/dist/chunks/{card-COmcUdms.js → card-BP4nulPr.js} +1 -1
- package/dist/chunks/{card-B113dNzv.js → card-CBOQibhl.js} +27 -27
- package/dist/chunks/{card-_YyJbLNI.js → card-Cs8_8A8i.js} +8 -8
- package/dist/chunks/{card-DEJs9IIP.js → card-DVuqR0rL.js} +8 -8
- package/dist/chunks/{card-Deae73xd.js → card-n83dNORm.js} +18 -18
- package/dist/chunks/{card-VnUCFC7v.js → card-u5I--_Gb.js} +13 -13
- package/dist/chunks/{certificates-DHf1zGQs.js → certificates-CDunSANR.js} +12 -12
- package/dist/chunks/{create-BVPqfJOb.js → create-DQPxIZMW.js} +1 -1
- package/dist/chunks/{forgot-DoG6vXhq.js → forgot-DfsFu-yY.js} +6 -6
- package/dist/chunks/{login-BWGylcSU.js → login-Dl0nTWs9.js} +6 -6
- package/dist/chunks/{map-BZi4eVl3.js → map-BoHEgBCw.js} +54 -54
- package/dist/chunks/{map-layers-CKZK50de.js → map-layers-CRE8lZzH.js} +8 -8
- package/dist/chunks/{organizations-DYGfYfHS.js → organizations-D6aazMAe.js} +14 -14
- package/dist/chunks/{registration-3GLgq-ae.js → registration-BSz1iLbO.js} +6 -6
- package/dist/chunks/{requests-v1jHarHb.js → requests-B9Ejt4av.js} +11 -11
- package/dist/chunks/{reset-CP9LsLkC.js → reset-D5G0x5Zi.js} +6 -6
- package/dist/chunks/{users-frk3gmmd.js → users-DMe6JYI0.js} +10 -10
- package/dist/index.css +1 -2
- package/dist/index.js +22 -26
- package/migrations/20261019170000_actor_lookup.sql +25 -10
- package/migrations/20261105120000_user_lookup.sql +15 -0
- package/package.json +80 -83
- package/server/resources/helpers/user_lookup.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -49,21 +49,17 @@ function z(e, t, n, r, i, a) {
|
|
|
49
49
|
}, null, 8, R)), n.card ? (O(), v("div", {
|
|
50
50
|
key: 1,
|
|
51
51
|
class: T(["w-full rounded-xl bg-white p-4 shadow-sm sm:p-5", n.fill ? "min-h-0 flex-1" : ""])
|
|
52
|
-
}, [A(e.$slots, "default"
|
|
52
|
+
}, [A(e.$slots, "default")], 2)) : (O(), v("div", {
|
|
53
53
|
key: 2,
|
|
54
54
|
class: T(["min-h-0 w-full flex-1 flex flex-col", n.fill ? "h-full min-h-0" : ""])
|
|
55
|
-
}, [A(e.$slots, "default"
|
|
55
|
+
}, [A(e.$slots, "default")], 2))], 10, L);
|
|
56
56
|
}
|
|
57
|
-
var B = /*#__PURE__*/ r(I, [
|
|
58
|
-
["render", z],
|
|
59
|
-
["__scopeId", "data-v-ee198999"],
|
|
60
|
-
["__file", "C:/softpro/surveyor/src/wrappers/SurveyorEmbedShell.vue"]
|
|
61
|
-
]), V = /*@__PURE__*/ C({
|
|
57
|
+
var B = /*#__PURE__*/ r(I, [["render", z], ["__file", "C:/softpro/surveyor/src/wrappers/SurveyorEmbedShell.vue"]]), V = /*@__PURE__*/ C({
|
|
62
58
|
__name: "Map",
|
|
63
59
|
setup(e, { expose: t }) {
|
|
64
60
|
t();
|
|
65
61
|
let n = {
|
|
66
|
-
MapPage: S(() => import("./chunks/map-
|
|
62
|
+
MapPage: S(() => import("./chunks/map-BoHEgBCw.js")),
|
|
67
63
|
SurveyorEmbedShell: B
|
|
68
64
|
};
|
|
69
65
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
@@ -139,8 +135,8 @@ var K = /*#__PURE__*/ r(W, [["render", G], ["__file", "C:/softpro/surveyor/src/w
|
|
|
139
135
|
setup(e, { expose: t }) {
|
|
140
136
|
t();
|
|
141
137
|
let n = {
|
|
142
|
-
Index: S(() => import("./chunks/requests-
|
|
143
|
-
Card: S(() => import("./chunks/card-
|
|
138
|
+
Index: S(() => import("./chunks/requests-B9Ejt4av.js")),
|
|
139
|
+
Card: S(() => import("./chunks/card-CBOQibhl.js")),
|
|
144
140
|
BaseEntityWrapper: K,
|
|
145
141
|
SurveyorEmbedShell: B
|
|
146
142
|
};
|
|
@@ -167,8 +163,8 @@ var ue = /*#__PURE__*/ r(ce, [["render", le], ["__file", "C:/softpro/surveyor/sr
|
|
|
167
163
|
setup(e, { expose: t }) {
|
|
168
164
|
t();
|
|
169
165
|
let n = {
|
|
170
|
-
Index: S(() => import("./chunks/organizations-
|
|
171
|
-
Card: S(() => import("./chunks/card-
|
|
166
|
+
Index: S(() => import("./chunks/organizations-D6aazMAe.js")),
|
|
167
|
+
Card: S(() => import("./chunks/card-n83dNORm.js")),
|
|
172
168
|
BaseEntityWrapper: K,
|
|
173
169
|
SurveyorEmbedShell: B
|
|
174
170
|
};
|
|
@@ -195,8 +191,8 @@ var pe = /*#__PURE__*/ r(de, [["render", fe], ["__file", "C:/softpro/surveyor/sr
|
|
|
195
191
|
setup(e, { expose: t }) {
|
|
196
192
|
t();
|
|
197
193
|
let n = {
|
|
198
|
-
Index: S(() => import("./chunks/certificates-
|
|
199
|
-
Card: S(() => import("./chunks/card-
|
|
194
|
+
Index: S(() => import("./chunks/certificates-CDunSANR.js")),
|
|
195
|
+
Card: S(() => import("./chunks/card-Cs8_8A8i.js")),
|
|
200
196
|
BaseEntityWrapper: K,
|
|
201
197
|
SurveyorEmbedShell: B
|
|
202
198
|
};
|
|
@@ -223,8 +219,8 @@ var ge = /*#__PURE__*/ r(me, [["render", he], ["__file", "C:/softpro/surveyor/sr
|
|
|
223
219
|
setup(e, { expose: t }) {
|
|
224
220
|
t();
|
|
225
221
|
let n = {
|
|
226
|
-
Index: S(() => import("./chunks/users-
|
|
227
|
-
Card: S(() => import("./chunks/card-
|
|
222
|
+
Index: S(() => import("./chunks/users-DMe6JYI0.js")),
|
|
223
|
+
Card: S(() => import("./chunks/card-u5I--_Gb.js")),
|
|
228
224
|
BaseEntityWrapper: K,
|
|
229
225
|
SurveyorEmbedShell: B
|
|
230
226
|
};
|
|
@@ -251,8 +247,8 @@ var ye = /*#__PURE__*/ r(_e, [["render", ve], ["__file", "C:/softpro/surveyor/sr
|
|
|
251
247
|
setup(e, { expose: t }) {
|
|
252
248
|
t();
|
|
253
249
|
let n = {
|
|
254
|
-
Index: S(() => import("./chunks/map-layers-
|
|
255
|
-
Card: S(() => import("./chunks/card-
|
|
250
|
+
Index: S(() => import("./chunks/map-layers-CRE8lZzH.js")),
|
|
251
|
+
Card: S(() => import("./chunks/card-DVuqR0rL.js")),
|
|
256
252
|
BaseEntityWrapper: K,
|
|
257
253
|
SurveyorEmbedShell: B
|
|
258
254
|
};
|
|
@@ -280,8 +276,8 @@ var Se = /*#__PURE__*/ r(be, [["render", xe], ["__file", "C:/softpro/surveyor/sr
|
|
|
280
276
|
t();
|
|
281
277
|
let n = {
|
|
282
278
|
Index: S(() => import("./chunks/requests-D1ix8U5f.js")),
|
|
283
|
-
Create: S(() => import("./chunks/create-
|
|
284
|
-
Card: S(() => import("./chunks/card-
|
|
279
|
+
Create: S(() => import("./chunks/create-DQPxIZMW.js")),
|
|
280
|
+
Card: S(() => import("./chunks/card-BP4nulPr.js")),
|
|
285
281
|
BaseEntityWrapper: K,
|
|
286
282
|
SurveyorEmbedShell: B
|
|
287
283
|
};
|
|
@@ -630,7 +626,7 @@ var X = [
|
|
|
630
626
|
{
|
|
631
627
|
path: "/login",
|
|
632
628
|
name: "login",
|
|
633
|
-
component: () => import("./chunks/login-
|
|
629
|
+
component: () => import("./chunks/login-Dl0nTWs9.js"),
|
|
634
630
|
meta: {
|
|
635
631
|
public: !0,
|
|
636
632
|
title: "Вхід"
|
|
@@ -639,7 +635,7 @@ var X = [
|
|
|
639
635
|
{
|
|
640
636
|
path: "/registration/:token",
|
|
641
637
|
name: "registration-complete",
|
|
642
|
-
component: () => import("./chunks/registration-
|
|
638
|
+
component: () => import("./chunks/registration-BSz1iLbO.js"),
|
|
643
639
|
meta: {
|
|
644
640
|
public: !0,
|
|
645
641
|
title: "Завершення реєстрації"
|
|
@@ -648,7 +644,7 @@ var X = [
|
|
|
648
644
|
{
|
|
649
645
|
path: "/password/forgot",
|
|
650
646
|
name: "password-forgot",
|
|
651
|
-
component: () => import("./chunks/forgot-
|
|
647
|
+
component: () => import("./chunks/forgot-DfsFu-yY.js"),
|
|
652
648
|
meta: {
|
|
653
649
|
public: !0,
|
|
654
650
|
title: "Відновлення пароля"
|
|
@@ -657,7 +653,7 @@ var X = [
|
|
|
657
653
|
{
|
|
658
654
|
path: "/password/reset/:token",
|
|
659
655
|
name: "password-reset",
|
|
660
|
-
component: () => import("./chunks/reset-
|
|
656
|
+
component: () => import("./chunks/reset-D5G0x5Zi.js"),
|
|
661
657
|
meta: {
|
|
662
658
|
public: !0,
|
|
663
659
|
title: "Новий пароль"
|
|
@@ -684,7 +680,7 @@ var X = [
|
|
|
684
680
|
{
|
|
685
681
|
path: "requests/new",
|
|
686
682
|
name: "request-create",
|
|
687
|
-
component: () => import("./chunks/create-
|
|
683
|
+
component: () => import("./chunks/create-DQPxIZMW.js"),
|
|
688
684
|
meta: {
|
|
689
685
|
title: "Нове звернення",
|
|
690
686
|
section: "requests"
|
|
@@ -693,7 +689,7 @@ var X = [
|
|
|
693
689
|
{
|
|
694
690
|
path: "requests/:number",
|
|
695
691
|
name: "request-detail",
|
|
696
|
-
component: () => import("./chunks/card-
|
|
692
|
+
component: () => import("./chunks/card-BP4nulPr.js"),
|
|
697
693
|
meta: {
|
|
698
694
|
title: "Звернення",
|
|
699
695
|
section: "requests"
|
|
@@ -1,15 +1,30 @@
|
|
|
1
|
-
-- Shared lookup for actions performed by administrators and surveyors.
|
|
2
|
-
-- Actor IDs must identify the same person unambiguously across both tables.
|
|
3
1
|
CREATE OR REPLACE VIEW surveyor.actor_lookup AS
|
|
4
|
-
SELECT
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
SELECT
|
|
3
|
+
users.uid AS actor_id,
|
|
4
|
+
COALESCE(
|
|
5
|
+
NULLIF(
|
|
6
|
+
TRIM(CONCAT_WS(' ',
|
|
7
|
+
users.last_name,
|
|
8
|
+
users.first_name,
|
|
9
|
+
users.middle_name
|
|
10
|
+
)),
|
|
11
|
+
''
|
|
12
|
+
),
|
|
13
|
+
users.login
|
|
14
|
+
) AS actor_text
|
|
15
|
+
FROM admin.users AS users
|
|
7
16
|
UNION ALL
|
|
8
|
-
|
|
9
17
|
SELECT
|
|
10
|
-
surveyor_id AS actor_id,
|
|
18
|
+
surveyors.surveyor_id AS actor_id,
|
|
11
19
|
COALESCE(
|
|
12
|
-
NULLIF(
|
|
13
|
-
|
|
20
|
+
NULLIF(
|
|
21
|
+
TRIM(CONCAT_WS(' ',
|
|
22
|
+
surveyors.last_name,
|
|
23
|
+
surveyors.first_name,
|
|
24
|
+
surveyors.middle_name
|
|
25
|
+
)),
|
|
26
|
+
''
|
|
27
|
+
),
|
|
28
|
+
surveyors.email
|
|
14
29
|
) AS actor_text
|
|
15
|
-
FROM surveyor.surveyors;
|
|
30
|
+
FROM surveyor.surveyors AS surveyors;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
CREATE OR REPLACE VIEW surveyor.user_lookup AS
|
|
2
|
+
SELECT
|
|
3
|
+
users.uid,
|
|
4
|
+
COALESCE(
|
|
5
|
+
NULLIF(
|
|
6
|
+
TRIM(CONCAT_WS(' ',
|
|
7
|
+
users.last_name,
|
|
8
|
+
users.first_name,
|
|
9
|
+
users.middle_name
|
|
10
|
+
)),
|
|
11
|
+
''
|
|
12
|
+
),
|
|
13
|
+
users.login
|
|
14
|
+
) AS user_text
|
|
15
|
+
FROM admin.users AS users;
|
package/package.json
CHANGED
|
@@ -1,83 +1,80 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@opengis/surveyor",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"author": "Softpro",
|
|
6
|
-
"description": "Surveyor admin and geodesist cabinet UI for embedded host applications",
|
|
7
|
-
"main": "./dist/index.js",
|
|
8
|
-
"types": "./surveyor-types.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./surveyor-types.d.ts",
|
|
12
|
-
"import": "./dist/index.js"
|
|
13
|
-
},
|
|
14
|
-
"./style.css": "./dist/index.css",
|
|
15
|
-
"./plugin": {
|
|
16
|
-
"types": "./plugin.d.ts",
|
|
17
|
-
"import": "./plugin.js"
|
|
18
|
-
},
|
|
19
|
-
"./plugin.js": {
|
|
20
|
-
"types": "./plugin.d.ts",
|
|
21
|
-
"import": "./plugin.js"
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"files": [
|
|
25
|
-
"dist",
|
|
26
|
-
"plugin.js",
|
|
27
|
-
"plugin.d.ts",
|
|
28
|
-
"server",
|
|
29
|
-
"migrations",
|
|
30
|
-
"README.md",
|
|
31
|
-
"CHANGELOG.md",
|
|
32
|
-
"surveyor-types.d.ts"
|
|
33
|
-
],
|
|
34
|
-
"scripts": {
|
|
35
|
-
"build:lib": "vite build --config vite.lib.config.ts",
|
|
36
|
-
"build:admin": "vue-tsc --noEmit -p admin/tsconfig.json && vite build --config admin/vite.config.ts",
|
|
37
|
-
"build:cabinet": "vue-tsc --noEmit -p cabinet/tsconfig.json && vite build --config cabinet/vite.config.ts",
|
|
38
|
-
"build": "bun run build:lib && bun run build:admin && bun run build:cabinet",
|
|
39
|
-
"prepublishOnly": "bun run build:lib",
|
|
40
|
-
"start": "bun server/index.ts",
|
|
41
|
-
"admin": "bun server/index.ts --admin",
|
|
42
|
-
"cabinet": "bun server/index.ts --cabinet",
|
|
43
|
-
"prod": "bun server/index.ts --production",
|
|
44
|
-
"prod:cabinet": "bun server/index.ts --production --cabinet",
|
|
45
|
-
"server:typecheck": "bunx tsc --noEmit -p tsconfig.server.json",
|
|
46
|
-
"migrate": "bunx fcore-migrate"
|
|
47
|
-
},
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"@opengis/core": "^0.0.37",
|
|
50
|
-
"@opengis/filter": "^0.1.59",
|
|
51
|
-
"@opengis/form": "^0.1.32",
|
|
52
|
-
"vue": "^3.5.0",
|
|
53
|
-
"vue-router": "^4.6.0",
|
|
54
|
-
"lucide-vue-next": "^0.446.0"
|
|
55
|
-
},
|
|
56
|
-
"dependencies": {
|
|
57
|
-
"@fastify/static": "9.3.0",
|
|
58
|
-
"@fastify/swagger": "9.9.0",
|
|
59
|
-
"@grpc/grpc-js": "1.14.5",
|
|
60
|
-
"@grpc/proto-loader": "0.8.1",
|
|
61
|
-
"@opengis/fcore": "0.0.42",
|
|
62
|
-
"fastify": "^5.12.3",
|
|
63
|
-
"fastify-plugin": "^5.0.1",
|
|
64
|
-
"nodemailer": "^10.0.12"
|
|
65
|
-
},
|
|
66
|
-
"devDependencies": {
|
|
67
|
-
"@opengis/core": "^0.0.37",
|
|
68
|
-
"@opengis/filter": "^0.1.59",
|
|
69
|
-
"@opengis/form": "^0.1.32",
|
|
70
|
-
"@
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"vue-tsc": "^3.0.8"
|
|
82
|
-
}
|
|
83
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@opengis/surveyor",
|
|
3
|
+
"version": "0.0.18",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"author": "Softpro",
|
|
6
|
+
"description": "Surveyor admin and geodesist cabinet UI for embedded host applications",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./surveyor-types.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./surveyor-types.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./style.css": "./dist/index.css",
|
|
15
|
+
"./plugin": {
|
|
16
|
+
"types": "./plugin.d.ts",
|
|
17
|
+
"import": "./plugin.js"
|
|
18
|
+
},
|
|
19
|
+
"./plugin.js": {
|
|
20
|
+
"types": "./plugin.d.ts",
|
|
21
|
+
"import": "./plugin.js"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"plugin.js",
|
|
27
|
+
"plugin.d.ts",
|
|
28
|
+
"server",
|
|
29
|
+
"migrations",
|
|
30
|
+
"README.md",
|
|
31
|
+
"CHANGELOG.md",
|
|
32
|
+
"surveyor-types.d.ts"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build:lib": "vite build --config vite.lib.config.ts",
|
|
36
|
+
"build:admin": "vue-tsc --noEmit -p admin/tsconfig.json && vite build --config admin/vite.config.ts",
|
|
37
|
+
"build:cabinet": "vue-tsc --noEmit -p cabinet/tsconfig.json && vite build --config cabinet/vite.config.ts",
|
|
38
|
+
"build": "bun run build:lib && bun run build:admin && bun run build:cabinet",
|
|
39
|
+
"prepublishOnly": "bun run build:lib",
|
|
40
|
+
"start": "bun server/index.ts",
|
|
41
|
+
"admin": "bun server/index.ts --admin",
|
|
42
|
+
"cabinet": "bun server/index.ts --cabinet",
|
|
43
|
+
"prod": "bun server/index.ts --production",
|
|
44
|
+
"prod:cabinet": "bun server/index.ts --production --cabinet",
|
|
45
|
+
"server:typecheck": "bunx tsc --noEmit -p tsconfig.server.json",
|
|
46
|
+
"migrate": "bunx fcore-migrate"
|
|
47
|
+
},
|
|
48
|
+
"peerDependencies": {
|
|
49
|
+
"@opengis/core": "^0.0.37",
|
|
50
|
+
"@opengis/filter": "^0.1.59",
|
|
51
|
+
"@opengis/form": "^0.1.32",
|
|
52
|
+
"vue": "^3.5.0",
|
|
53
|
+
"vue-router": "^4.6.0",
|
|
54
|
+
"lucide-vue-next": "^0.446.0"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@fastify/static": "9.3.0",
|
|
58
|
+
"@fastify/swagger": "9.9.0",
|
|
59
|
+
"@grpc/grpc-js": "1.14.5",
|
|
60
|
+
"@grpc/proto-loader": "0.8.1",
|
|
61
|
+
"@opengis/fcore": "0.0.42",
|
|
62
|
+
"fastify": "^5.12.3",
|
|
63
|
+
"fastify-plugin": "^5.0.1",
|
|
64
|
+
"nodemailer": "^10.0.12"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@opengis/core": "^0.0.37",
|
|
68
|
+
"@opengis/filter": "^0.1.59",
|
|
69
|
+
"@opengis/form": "^0.1.32",
|
|
70
|
+
"@types/node": "^26.4.1",
|
|
71
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
72
|
+
"@vue/tsconfig": "^0.8.1",
|
|
73
|
+
"lucide-vue-next": "0.446.0",
|
|
74
|
+
"typescript": "~6.0.2",
|
|
75
|
+
"vite": "^8.2.2",
|
|
76
|
+
"vue": "^3.5.22",
|
|
77
|
+
"vue-router": "^4.6.4",
|
|
78
|
+
"vue-tsc": "^3.0.8"
|
|
79
|
+
}
|
|
80
|
+
}
|