@opengis/surveyor 0.0.1 → 0.0.2
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 +42 -0
- package/README.md +175 -33
- package/dist/chunks/{AppIcon-C-4QykTP.js → AppIcon-CIR6y5uE.js} +1 -1
- package/dist/chunks/{AppealDetailField-DNRGpnyD.js → AppealDetailField-CI-1qhs3.js} +2 -2
- package/dist/chunks/{AppealStatusBadge-CefimzY3.js → AppealStatusBadge-CSXnfarR.js} +2 -2
- package/dist/chunks/{AppealStatusBadge-Cu-UzdzA.js → AppealStatusBadge-DYBe9hqP.js} +1 -1
- package/dist/chunks/{ApplicationHistorySection-PwToBfej.js → ApplicationHistorySection-C0wwhwA4.js} +4 -4
- package/dist/chunks/{BaseModal-DrTTkLmR.js → BaseModal-C7PVYz0m.js} +1 -1
- package/dist/chunks/{FormFilePicker-CKVdZJU9.js → FormFilePicker-C3XQw50i.js} +2 -2
- package/dist/chunks/{MapLayerMenu-AUeTqgEp.js → MapLayerMenu-DjYCxEc3.js} +1 -1
- package/dist/chunks/{RegistryForm-pvIcFR-V.js → RegistryForm-CEUqFmsF.js} +2 -2
- package/dist/chunks/{RegistryFormModal-BjGu7Upv.js → RegistryFormModal-DfY4z_7r.js} +3 -3
- package/dist/chunks/{RegistryToolbar-CiUgsjpU.js → RegistryToolbar-BV4mYVAc.js} +8 -8
- package/dist/chunks/{UserAccessBadge-DyZDv7Oo.js → UserAccessBadge-D8JfgGfN.js} +1 -1
- package/dist/chunks/{UserTypeBadge-LvnMuKGo.js → UserTypeBadge-YIwwoCho.js} +1 -1
- package/dist/chunks/{VerifiedBadge-B6droMOf.js → VerifiedBadge-Bba8WnuB.js} +2 -2
- package/dist/chunks/{applications-CsCsndMV.js → applications-BB9JRcgl.js} +1 -1
- package/dist/chunks/{buildSchema-nkA4Y0YG.js → buildSchema-CccjX9TJ.js} +1 -1
- package/dist/chunks/{card-BZn5CDw9.js → card-B-ftozcq.js} +12 -12
- package/dist/chunks/{card-9LaB42Ol.js → card-BctFHFZe.js} +7 -7
- package/dist/chunks/{card--DHsMNBd.js → card-CKD1N0QD.js} +6 -6
- package/dist/chunks/{card-CNqXSyqX.js → card-CiNZxAd5.js} +8 -8
- package/dist/chunks/{card-DCyBFoDZ.js → card-DUtDfwMk.js} +6 -6
- package/dist/chunks/card-fL26_Gvc.js +1189 -0
- package/dist/chunks/{certificates-DueBDDvc.js → certificates-BSd1i0un.js} +7 -7
- package/dist/chunks/{create-l28e-bWl.js → create-DxMC_IL1.js} +10 -10
- package/dist/chunks/{filterQuery-B9XNx1f1.js → filterQuery-CvfZrkTC.js} +1 -1
- package/dist/chunks/{form-CdGS1nVO.js → form-Bh6i5n1U.js} +1 -1
- package/dist/chunks/{form-QTkkzwbC.js → form-DDjELqZ9.js} +1 -1
- package/dist/chunks/{map-BW3iOhQg.js → map-Z57iMvFb.js} +11 -11
- package/dist/chunks/{map-layers-qxWjos2V.js → map-layers-DnmkOEld.js} +7 -7
- package/dist/chunks/{organizations-CZOINYMq.js → organizations-BO1_JETm.js} +8 -8
- package/dist/chunks/{organizations-BtuMZ5s_.js → organizations-BbYipLwk.js} +1 -1
- package/dist/chunks/{profile-DxZHxGum.js → profile-ByahbF4B.js} +1 -1
- package/dist/chunks/{profile-CuxlkEev.js → profile-Dwwn_4Pr.js} +3 -3
- package/dist/chunks/{requests-DQJIhz00.js → requests-BCin936Z.js} +6 -6
- package/dist/chunks/{requests-Bt8fEdRc.js → requests-CFv5wwAN.js} +7 -7
- package/dist/chunks/{resendSurveyorRegistration-DopjOHaM.js → resendSurveyorRegistration-BHTTVIw1.js} +1 -1
- package/dist/chunks/{resources-Cl_EvaIy.js → resources-2e8RFqWR.js} +1 -1
- package/dist/chunks/{surveyorAccount-BceNQypZ.js → surveyorAccount-C7UiiIYg.js} +1 -1
- package/dist/chunks/{users-DlaogjC_.js → users-DtTYsgMb.js} +8 -8
- package/dist/index.css +1 -1
- package/dist/index.js +165 -88
- package/package.json +86 -77
- package/plugin.d.ts +15 -0
- package/plugin.js +8 -10
- package/server/app.ts +2 -1
- package/server/modules/surveyor/services/changeSurveyorPasswordByAdmin.ts +41 -41
- package/server/modules/surveyor/utils/templates/ds.surveyor_admin_password.pt.hbs +79 -79
- package/server/resources/surveyor-admin/application_comments.ts +3 -3
- package/server/suggests/index.ts +17 -0
- package/README.npm.md +0 -51
- package/dist/chunks/card-CgGOgGyd.js +0 -973
- package/server/embed.ts +0 -49
package/dist/index.js
CHANGED
|
@@ -1,12 +1,53 @@
|
|
|
1
1
|
import { t as e } from "./chunks/_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { computed as t, createBlock as n,
|
|
3
|
-
import { useRoute as
|
|
4
|
-
//#region src/wrappers/
|
|
5
|
-
var
|
|
2
|
+
import { computed as t, createBlock as n, createElementBlock as r, createVNode as i, defineAsyncComponent as a, defineComponent as o, normalizeClass as s, openBlock as c, renderSlot as l, resolveDynamicComponent as u, withCtx as d } from "vue";
|
|
3
|
+
import { useRoute as f } from "vue-router";
|
|
4
|
+
//#region src/wrappers/SurveyorEmbedShell.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var p = /*@__PURE__*/ o({
|
|
6
|
+
__name: "SurveyorEmbedShell",
|
|
7
|
+
props: {
|
|
8
|
+
card: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
required: !1,
|
|
11
|
+
default: !0
|
|
12
|
+
},
|
|
13
|
+
fill: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
required: !1,
|
|
16
|
+
default: !1
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
setup(e, { expose: t }) {
|
|
20
|
+
t();
|
|
21
|
+
let n = {};
|
|
22
|
+
return Object.defineProperty(n, "__isScriptSetup", {
|
|
23
|
+
enumerable: !1,
|
|
24
|
+
value: !0
|
|
25
|
+
}), n;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/wrappers/SurveyorEmbedShell.vue
|
|
30
|
+
function m(e, t, n, i, a, o) {
|
|
31
|
+
return c(), r("div", { class: s(["surveyor-embed w-full min-w-0 max-w-none", n.fill ? "flex min-h-[calc(100vh-7rem)] flex-col" : ""]) }, [n.card ? (c(), r("div", {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: s(["w-full rounded-xl bg-white p-4 shadow-sm sm:p-5", n.fill ? "min-h-0 flex-1" : ""])
|
|
34
|
+
}, [l(e.$slots, "default", {}, void 0, !0)], 2)) : (c(), r("div", {
|
|
35
|
+
key: 1,
|
|
36
|
+
class: s(["min-h-0 w-full flex-1", n.fill ? "h-full" : ""])
|
|
37
|
+
}, [l(e.$slots, "default", {}, void 0, !0)], 2))], 2);
|
|
38
|
+
}
|
|
39
|
+
var h = /*#__PURE__*/ e(p, [
|
|
40
|
+
["render", m],
|
|
41
|
+
["__scopeId", "data-v-ee198999"],
|
|
42
|
+
["__file", "D:/Softpro/surveyor/src/wrappers/SurveyorEmbedShell.vue"]
|
|
43
|
+
]), g = /*@__PURE__*/ o({
|
|
6
44
|
__name: "Map",
|
|
7
45
|
setup(e, { expose: t }) {
|
|
8
46
|
t();
|
|
9
|
-
let n = {
|
|
47
|
+
let n = {
|
|
48
|
+
MapPage: a(() => import("./chunks/map-Z57iMvFb.js")),
|
|
49
|
+
SurveyorEmbedShell: h
|
|
50
|
+
};
|
|
10
51
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
11
52
|
enumerable: !1,
|
|
12
53
|
value: !0
|
|
@@ -15,10 +56,16 @@ var c = /*@__PURE__*/ i({
|
|
|
15
56
|
});
|
|
16
57
|
//#endregion
|
|
17
58
|
//#region src/wrappers/Map.vue
|
|
18
|
-
function
|
|
19
|
-
return
|
|
59
|
+
function _(e, t, r, a, o, s) {
|
|
60
|
+
return c(), n(a.SurveyorEmbedShell, {
|
|
61
|
+
card: !1,
|
|
62
|
+
fill: ""
|
|
63
|
+
}, {
|
|
64
|
+
default: d(() => [i(a.MapPage)]),
|
|
65
|
+
_: 1
|
|
66
|
+
});
|
|
20
67
|
}
|
|
21
|
-
var
|
|
68
|
+
var v = /*#__PURE__*/ e(g, [["render", _], ["__file", "D:/Softpro/surveyor/src/wrappers/Map.vue"]]), y = /*@__PURE__*/ o({
|
|
22
69
|
__name: "BaseEntityWrapper",
|
|
23
70
|
props: {
|
|
24
71
|
list: {
|
|
@@ -46,7 +93,7 @@ var u = /*#__PURE__*/ e(c, [["render", l], ["__file", "C:/softpro/surveyor/src/w
|
|
|
46
93
|
},
|
|
47
94
|
setup(e, { expose: n }) {
|
|
48
95
|
n();
|
|
49
|
-
let r = e, i =
|
|
96
|
+
let r = e, i = f(), a = {
|
|
50
97
|
props: r,
|
|
51
98
|
route: i,
|
|
52
99
|
activeKey: t(() => {
|
|
@@ -66,17 +113,18 @@ var u = /*#__PURE__*/ e(c, [["render", l], ["__file", "C:/softpro/surveyor/src/w
|
|
|
66
113
|
});
|
|
67
114
|
//#endregion
|
|
68
115
|
//#region src/wrappers/BaseEntityWrapper.vue
|
|
69
|
-
function
|
|
70
|
-
return
|
|
116
|
+
function b(e, t, r, i, a, o) {
|
|
117
|
+
return c(), n(u(i.activeComponent), { key: i.activeKey || "list" });
|
|
71
118
|
}
|
|
72
|
-
var
|
|
119
|
+
var x = /*#__PURE__*/ e(y, [["render", b], ["__file", "D:/Softpro/surveyor/src/wrappers/BaseEntityWrapper.vue"]]), S = /*@__PURE__*/ o({
|
|
73
120
|
__name: "Requests",
|
|
74
121
|
setup(e, { expose: t }) {
|
|
75
122
|
t();
|
|
76
123
|
let n = {
|
|
77
|
-
Index:
|
|
78
|
-
Card:
|
|
79
|
-
BaseEntityWrapper:
|
|
124
|
+
Index: a(() => import("./chunks/requests-BCin936Z.js")),
|
|
125
|
+
Card: a(() => import("./chunks/card-fL26_Gvc.js")),
|
|
126
|
+
BaseEntityWrapper: x,
|
|
127
|
+
SurveyorEmbedShell: h
|
|
80
128
|
};
|
|
81
129
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
82
130
|
enumerable: !1,
|
|
@@ -86,21 +134,25 @@ var p = /*#__PURE__*/ e(d, [["render", f], ["__file", "C:/softpro/surveyor/src/w
|
|
|
86
134
|
});
|
|
87
135
|
//#endregion
|
|
88
136
|
//#region src/wrappers/Requests.vue
|
|
89
|
-
function
|
|
90
|
-
return
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
137
|
+
function C(e, t, r, a, o, s) {
|
|
138
|
+
return c(), n(a.SurveyorEmbedShell, null, {
|
|
139
|
+
default: d(() => [i(a.BaseEntityWrapper, {
|
|
140
|
+
list: a.Index,
|
|
141
|
+
detail: a.Card,
|
|
142
|
+
param: "number"
|
|
143
|
+
}, null, 8, ["list", "detail"])]),
|
|
144
|
+
_: 1
|
|
145
|
+
});
|
|
95
146
|
}
|
|
96
|
-
var
|
|
147
|
+
var w = /*#__PURE__*/ e(S, [["render", C], ["__file", "D:/Softpro/surveyor/src/wrappers/Requests.vue"]]), T = /*@__PURE__*/ o({
|
|
97
148
|
__name: "Organisations",
|
|
98
149
|
setup(e, { expose: t }) {
|
|
99
150
|
t();
|
|
100
151
|
let n = {
|
|
101
|
-
Index:
|
|
102
|
-
Card:
|
|
103
|
-
BaseEntityWrapper:
|
|
152
|
+
Index: a(() => import("./chunks/organizations-BO1_JETm.js")),
|
|
153
|
+
Card: a(() => import("./chunks/card-B-ftozcq.js")),
|
|
154
|
+
BaseEntityWrapper: x,
|
|
155
|
+
SurveyorEmbedShell: h
|
|
104
156
|
};
|
|
105
157
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
106
158
|
enumerable: !1,
|
|
@@ -110,21 +162,25 @@ var g = /*#__PURE__*/ e(m, [["render", h], ["__file", "C:/softpro/surveyor/src/w
|
|
|
110
162
|
});
|
|
111
163
|
//#endregion
|
|
112
164
|
//#region src/wrappers/Organisations.vue
|
|
113
|
-
function
|
|
114
|
-
return
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
165
|
+
function E(e, t, r, a, o, s) {
|
|
166
|
+
return c(), n(a.SurveyorEmbedShell, null, {
|
|
167
|
+
default: d(() => [i(a.BaseEntityWrapper, {
|
|
168
|
+
list: a.Index,
|
|
169
|
+
detail: a.Card,
|
|
170
|
+
param: "id"
|
|
171
|
+
}, null, 8, ["list", "detail"])]),
|
|
172
|
+
_: 1
|
|
173
|
+
});
|
|
119
174
|
}
|
|
120
|
-
var
|
|
175
|
+
var D = /*#__PURE__*/ e(T, [["render", E], ["__file", "D:/Softpro/surveyor/src/wrappers/Organisations.vue"]]), O = /*@__PURE__*/ o({
|
|
121
176
|
__name: "Certificates",
|
|
122
177
|
setup(e, { expose: t }) {
|
|
123
178
|
t();
|
|
124
179
|
let n = {
|
|
125
|
-
Index:
|
|
126
|
-
Card:
|
|
127
|
-
BaseEntityWrapper:
|
|
180
|
+
Index: a(() => import("./chunks/certificates-BSd1i0un.js")),
|
|
181
|
+
Card: a(() => import("./chunks/card-CiNZxAd5.js")),
|
|
182
|
+
BaseEntityWrapper: x,
|
|
183
|
+
SurveyorEmbedShell: h
|
|
128
184
|
};
|
|
129
185
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
130
186
|
enumerable: !1,
|
|
@@ -134,21 +190,25 @@ var y = /*#__PURE__*/ e(_, [["render", v], ["__file", "C:/softpro/surveyor/src/w
|
|
|
134
190
|
});
|
|
135
191
|
//#endregion
|
|
136
192
|
//#region src/wrappers/Certificates.vue
|
|
137
|
-
function
|
|
138
|
-
return
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
193
|
+
function k(e, t, r, a, o, s) {
|
|
194
|
+
return c(), n(a.SurveyorEmbedShell, null, {
|
|
195
|
+
default: d(() => [i(a.BaseEntityWrapper, {
|
|
196
|
+
list: a.Index,
|
|
197
|
+
detail: a.Card,
|
|
198
|
+
param: "id"
|
|
199
|
+
}, null, 8, ["list", "detail"])]),
|
|
200
|
+
_: 1
|
|
201
|
+
});
|
|
143
202
|
}
|
|
144
|
-
var
|
|
203
|
+
var A = /*#__PURE__*/ e(O, [["render", k], ["__file", "D:/Softpro/surveyor/src/wrappers/Certificates.vue"]]), j = /*@__PURE__*/ o({
|
|
145
204
|
__name: "Users",
|
|
146
205
|
setup(e, { expose: t }) {
|
|
147
206
|
t();
|
|
148
207
|
let n = {
|
|
149
|
-
Index:
|
|
150
|
-
Card:
|
|
151
|
-
BaseEntityWrapper:
|
|
208
|
+
Index: a(() => import("./chunks/users-DtTYsgMb.js")),
|
|
209
|
+
Card: a(() => import("./chunks/card-BctFHFZe.js")),
|
|
210
|
+
BaseEntityWrapper: x,
|
|
211
|
+
SurveyorEmbedShell: h
|
|
152
212
|
};
|
|
153
213
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
154
214
|
enumerable: !1,
|
|
@@ -158,21 +218,25 @@ var S = /*#__PURE__*/ e(b, [["render", x], ["__file", "C:/softpro/surveyor/src/w
|
|
|
158
218
|
});
|
|
159
219
|
//#endregion
|
|
160
220
|
//#region src/wrappers/Users.vue
|
|
161
|
-
function
|
|
162
|
-
return
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
221
|
+
function M(e, t, r, a, o, s) {
|
|
222
|
+
return c(), n(a.SurveyorEmbedShell, null, {
|
|
223
|
+
default: d(() => [i(a.BaseEntityWrapper, {
|
|
224
|
+
list: a.Index,
|
|
225
|
+
detail: a.Card,
|
|
226
|
+
param: "id"
|
|
227
|
+
}, null, 8, ["list", "detail"])]),
|
|
228
|
+
_: 1
|
|
229
|
+
});
|
|
167
230
|
}
|
|
168
|
-
var
|
|
231
|
+
var N = /*#__PURE__*/ e(j, [["render", M], ["__file", "D:/Softpro/surveyor/src/wrappers/Users.vue"]]), P = /*@__PURE__*/ o({
|
|
169
232
|
__name: "MapLayers",
|
|
170
233
|
setup(e, { expose: t }) {
|
|
171
234
|
t();
|
|
172
235
|
let n = {
|
|
173
|
-
Index:
|
|
174
|
-
Card:
|
|
175
|
-
BaseEntityWrapper:
|
|
236
|
+
Index: a(() => import("./chunks/map-layers-DnmkOEld.js")),
|
|
237
|
+
Card: a(() => import("./chunks/card-CKD1N0QD.js")),
|
|
238
|
+
BaseEntityWrapper: x,
|
|
239
|
+
SurveyorEmbedShell: h
|
|
176
240
|
};
|
|
177
241
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
178
242
|
enumerable: !1,
|
|
@@ -182,22 +246,26 @@ var T = /*#__PURE__*/ e(C, [["render", w], ["__file", "C:/softpro/surveyor/src/w
|
|
|
182
246
|
});
|
|
183
247
|
//#endregion
|
|
184
248
|
//#region src/wrappers/MapLayers.vue
|
|
185
|
-
function
|
|
186
|
-
return
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
249
|
+
function F(e, t, r, a, o, s) {
|
|
250
|
+
return c(), n(a.SurveyorEmbedShell, null, {
|
|
251
|
+
default: d(() => [i(a.BaseEntityWrapper, {
|
|
252
|
+
list: a.Index,
|
|
253
|
+
detail: a.Card,
|
|
254
|
+
param: "id"
|
|
255
|
+
}, null, 8, ["list", "detail"])]),
|
|
256
|
+
_: 1
|
|
257
|
+
});
|
|
191
258
|
}
|
|
192
|
-
var
|
|
259
|
+
var I = /*#__PURE__*/ e(P, [["render", F], ["__file", "D:/Softpro/surveyor/src/wrappers/MapLayers.vue"]]), L = /*@__PURE__*/ o({
|
|
193
260
|
__name: "CabinetRequests",
|
|
194
261
|
setup(e, { expose: t }) {
|
|
195
262
|
t();
|
|
196
263
|
let n = {
|
|
197
|
-
Index:
|
|
198
|
-
Create:
|
|
199
|
-
Card:
|
|
200
|
-
BaseEntityWrapper:
|
|
264
|
+
Index: a(() => import("./chunks/requests-CFv5wwAN.js")),
|
|
265
|
+
Create: a(() => import("./chunks/create-DxMC_IL1.js")),
|
|
266
|
+
Card: a(() => import("./chunks/card-DUtDfwMk.js")),
|
|
267
|
+
BaseEntityWrapper: x,
|
|
268
|
+
SurveyorEmbedShell: h
|
|
201
269
|
};
|
|
202
270
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
203
271
|
enumerable: !1,
|
|
@@ -207,24 +275,30 @@ var O = /*#__PURE__*/ e(E, [["render", D], ["__file", "C:/softpro/surveyor/src/w
|
|
|
207
275
|
});
|
|
208
276
|
//#endregion
|
|
209
277
|
//#region src/wrappers/CabinetRequests.vue
|
|
210
|
-
function
|
|
211
|
-
return
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
278
|
+
function R(e, t, r, a, o, s) {
|
|
279
|
+
return c(), n(a.SurveyorEmbedShell, null, {
|
|
280
|
+
default: d(() => [i(a.BaseEntityWrapper, {
|
|
281
|
+
list: a.Index,
|
|
282
|
+
detail: a.Card,
|
|
283
|
+
create: a.Create,
|
|
284
|
+
param: "segment",
|
|
285
|
+
"create-value": "new"
|
|
286
|
+
}, null, 8, [
|
|
287
|
+
"list",
|
|
288
|
+
"detail",
|
|
289
|
+
"create"
|
|
290
|
+
])]),
|
|
291
|
+
_: 1
|
|
292
|
+
});
|
|
222
293
|
}
|
|
223
|
-
var
|
|
294
|
+
var z = /*#__PURE__*/ e(L, [["render", R], ["__file", "D:/Softpro/surveyor/src/wrappers/CabinetRequests.vue"]]), B = /*@__PURE__*/ o({
|
|
224
295
|
__name: "CabinetProfile",
|
|
225
296
|
setup(e, { expose: t }) {
|
|
226
297
|
t();
|
|
227
|
-
let n = {
|
|
298
|
+
let n = {
|
|
299
|
+
Profile: a(() => import("./chunks/profile-Dwwn_4Pr.js")),
|
|
300
|
+
SurveyorEmbedShell: h
|
|
301
|
+
};
|
|
228
302
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
229
303
|
enumerable: !1,
|
|
230
304
|
value: !0
|
|
@@ -233,10 +307,13 @@ var j = /*#__PURE__*/ e(k, [["render", A], ["__file", "C:/softpro/surveyor/src/w
|
|
|
233
307
|
});
|
|
234
308
|
//#endregion
|
|
235
309
|
//#region src/wrappers/CabinetProfile.vue
|
|
236
|
-
function
|
|
237
|
-
return
|
|
310
|
+
function V(e, t, r, a, o, s) {
|
|
311
|
+
return c(), n(a.SurveyorEmbedShell, null, {
|
|
312
|
+
default: d(() => [i(a.Profile)]),
|
|
313
|
+
_: 1
|
|
314
|
+
});
|
|
238
315
|
}
|
|
239
|
-
var
|
|
316
|
+
var H = /*#__PURE__*/ e(B, [["render", V], ["__file", "D:/Softpro/surveyor/src/wrappers/CabinetProfile.vue"]]), U = {
|
|
240
317
|
map: "/map",
|
|
241
318
|
requests: "/requests",
|
|
242
319
|
organizations: "/organizations",
|
|
@@ -245,15 +322,15 @@ var P = /*#__PURE__*/ e(M, [["render", N], ["__file", "C:/softpro/surveyor/src/w
|
|
|
245
322
|
mapLayers: "/map-layers",
|
|
246
323
|
cabinetRequests: "/requests",
|
|
247
324
|
cabinetProfile: "/profile"
|
|
248
|
-
},
|
|
249
|
-
function
|
|
325
|
+
}, W = Symbol("surveyor-paths");
|
|
326
|
+
function G(e = {}) {
|
|
250
327
|
let t = {
|
|
251
|
-
...
|
|
328
|
+
...U,
|
|
252
329
|
...e.paths
|
|
253
330
|
};
|
|
254
331
|
return { install(e) {
|
|
255
|
-
e.provide(
|
|
332
|
+
e.provide(W, t);
|
|
256
333
|
} };
|
|
257
334
|
}
|
|
258
335
|
//#endregion
|
|
259
|
-
export {
|
|
336
|
+
export { H as CabinetProfile, z as CabinetRequests, A as Certificates, v as Map, I as MapLayers, D as Organisations, w as Requests, W as SURVEYOR_PATHS_KEY, N as Users, G as createSurveyorPlugin, U as defaultSurveyorPaths };
|
package/package.json
CHANGED
|
@@ -1,77 +1,86 @@
|
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"plugin.js"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
61
|
-
"@
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
|
|
77
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@opengis/surveyor",
|
|
3
|
+
"version": "0.0.2",
|
|
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
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
71
|
+
"@types/node": "^26.4.1",
|
|
72
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
73
|
+
"@vue/tsconfig": "^0.8.1",
|
|
74
|
+
"lucide-vue-next": "0.446.0",
|
|
75
|
+
"tailwindcss": "^4.3.3",
|
|
76
|
+
"typescript": "~6.0.2",
|
|
77
|
+
"vite": "^8.2.2",
|
|
78
|
+
"vue": "^3.5.22",
|
|
79
|
+
"vue-router": "^4.6.4",
|
|
80
|
+
"vue-tsc": "^3.0.8"
|
|
81
|
+
},
|
|
82
|
+
"repository": {
|
|
83
|
+
"type": "git",
|
|
84
|
+
"url": "https://git.softpro.ua/product/surveyor.git"
|
|
85
|
+
}
|
|
86
|
+
}
|
package/plugin.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
AfterUserHook,
|
|
3
|
+
AppContext,
|
|
4
|
+
DictionaryDefinition,
|
|
5
|
+
ResourceContract,
|
|
6
|
+
SuggestContract,
|
|
7
|
+
} from '@opengis/fcore';
|
|
8
|
+
import type { FastifyPluginAsync } from 'fastify';
|
|
9
|
+
|
|
10
|
+
export declare const resourcesSurveyor: ResourceContract[];
|
|
11
|
+
export declare const dictionariesSurveyor: DictionaryDefinition[];
|
|
12
|
+
export declare const suggestsSurveyor: SuggestContract[];
|
|
13
|
+
export declare const afterSurveyorUser: AfterUserHook;
|
|
14
|
+
export declare const surveyorPermissions: string[];
|
|
15
|
+
export declare function createSurveyorRoutes(ctx: AppContext): FastifyPluginAsync;
|
package/plugin.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
await registerSurveyorBackend(app, opts)
|
|
10
|
-
})
|
|
1
|
+
export { createSurveyorRoutes } from './server/modules/surveyor/route.ts';
|
|
2
|
+
export { default as resourcesSurveyor } from './server/resources/index.ts';
|
|
3
|
+
export { default as dictionariesSurveyor } from './server/dictionaries/index.ts';
|
|
4
|
+
export { default as suggestsSurveyor } from './server/suggests/index.ts';
|
|
5
|
+
export {
|
|
6
|
+
afterSurveyorUser,
|
|
7
|
+
surveyorPermissions,
|
|
8
|
+
} from './server/modules/surveyor/utils/permissions.ts';
|
package/server/app.ts
CHANGED
|
@@ -6,6 +6,7 @@ import fcoreFastify from '@opengis/fcore/fastify';
|
|
|
6
6
|
//import fcoreFastify from '../../../npm/fcore/src/fastify.js';
|
|
7
7
|
|
|
8
8
|
import dictionaries from './dictionaries/index.js';
|
|
9
|
+
import suggests from './suggests/index.js';
|
|
9
10
|
import resources from './resources/index.js';
|
|
10
11
|
import { createSurveyorRoutes } from './modules/surveyor/route.js';
|
|
11
12
|
import { afterSurveyorUser } from './modules/surveyor/utils/permissions.js';
|
|
@@ -14,7 +15,7 @@ import viteDevPlugin from './plugins/vite.dev.js';
|
|
|
14
15
|
import viteProdPlugin from './plugins/vite.prod.js';
|
|
15
16
|
|
|
16
17
|
export default async function createApp() {
|
|
17
|
-
const ctx = await createFCore({ resources, dictionaries, hooks: { afterUser: afterSurveyorUser } }) as AppContext;
|
|
18
|
+
const ctx = await createFCore({ resources, dictionaries, suggests, hooks: { afterUser: afterSurveyorUser } }) as AppContext;
|
|
18
19
|
const app = Fastify({
|
|
19
20
|
loggerInstance: ctx.logger,
|
|
20
21
|
routerOptions: { maxParamLength: 2048 },
|