@opengis/surveyor 0.0.1 → 0.0.3
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/BaseModal-SQXvRRNW.js +90 -0
- package/dist/chunks/{RegistryForm-pvIcFR-V.js → RegistryForm-wG-c8GKf.js} +1 -1
- package/dist/chunks/{RegistryFormModal-BjGu7Upv.js → RegistryFormModal-R_iZYqGE.js} +2 -2
- package/dist/chunks/{RegistryToolbar-CiUgsjpU.js → RegistryToolbar-322DKUXi.js} +3 -3
- package/dist/chunks/SurveyorTeleport-CnSF0Ptl.js +23 -0
- package/dist/chunks/{VerifiedBadge-B6droMOf.js → VerifiedBadge-bk0n-rlC.js} +1 -1
- package/dist/chunks/{buildSchema-nkA4Y0YG.js → buildSchema-CccjX9TJ.js} +1 -1
- package/dist/chunks/card-B_SfARf7.js +1190 -0
- package/dist/chunks/card-C3y-j2TA.js +298 -0
- package/dist/chunks/{card--DHsMNBd.js → card-CWqi1K-x.js} +107 -106
- package/dist/chunks/card-DWpAv92l.js +539 -0
- package/dist/chunks/{card-BZn5CDw9.js → card-X9UVFgdR.js} +254 -248
- package/dist/chunks/{certificates-DueBDDvc.js → certificates-Cwch72-o.js} +131 -130
- package/dist/chunks/{create-l28e-bWl.js → create-DTP9x2uS.js} +278 -265
- package/dist/chunks/dom-BSjFG3O0.js +7 -0
- 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-layers-qxWjos2V.js → map-layers-sT-gTiD_.js} +130 -125
- package/dist/chunks/{map-BW3iOhQg.js → map-qXQe_qam.js} +643 -630
- package/dist/chunks/{organizations-CZOINYMq.js → organizations-ByVE2f0c.js} +129 -124
- package/dist/chunks/requests-BTpLXrNj.js +233 -0
- 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/useEntityPath-C5Owtidc.js +98 -0
- package/dist/chunks/{users-DlaogjC_.js → users-U1P6xCP4.js} +106 -100
- package/dist/index.css +1 -1
- package/dist/index.js +215 -98
- package/package.json +83 -77
- package/plugin.d.ts +15 -0
- package/plugin.js +8 -10
- package/server/app.ts +2 -1
- package/server/resources/surveyor-admin/application_comments.ts +3 -3
- package/server/suggests/index.ts +17 -0
- package/surveyor-types.d.ts +5 -0
- package/README.npm.md +0 -51
- package/dist/chunks/AppIcon-C-4QykTP.js +0 -85
- package/dist/chunks/BaseModal-DrTTkLmR.js +0 -85
- package/dist/chunks/card-9LaB42Ol.js +0 -538
- package/dist/chunks/card-CNqXSyqX.js +0 -297
- package/dist/chunks/card-CgGOgGyd.js +0 -973
- package/dist/chunks/requests-DQJIhz00.js +0 -232
- package/server/embed.ts +0 -49
package/dist/index.js
CHANGED
|
@@ -1,12 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { n as e, r as t, t as n } from "./chunks/dom-BSjFG3O0.js";
|
|
2
|
+
import { t as r } from "./chunks/_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
+
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineAsyncComponent as u, defineComponent as d, inject as f, normalizeClass as p, openBlock as m, provide as h, renderSlot as g, resolveDynamicComponent as _, withCtx as v } from "vue";
|
|
4
|
+
import { useRoute as y } from "vue-router";
|
|
5
|
+
//#region src/wrappers/SurveyorEmbedShell.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var b = /*@__PURE__*/ d({
|
|
7
|
+
__name: "SurveyorEmbedShell",
|
|
8
|
+
props: {
|
|
9
|
+
card: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
required: !1,
|
|
12
|
+
default: !0
|
|
13
|
+
},
|
|
14
|
+
fill: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
required: !1,
|
|
17
|
+
default: !1
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
setup(r, { expose: i }) {
|
|
21
|
+
i();
|
|
22
|
+
let a = {
|
|
23
|
+
hostProvidesRoot: f(t, !1),
|
|
24
|
+
get SURVEYOR_PORTAL_ID() {
|
|
25
|
+
return n;
|
|
26
|
+
},
|
|
27
|
+
get SURVEYOR_ROOT_ID() {
|
|
28
|
+
return e;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
return Object.defineProperty(a, "__isScriptSetup", {
|
|
32
|
+
enumerable: !1,
|
|
33
|
+
value: !0
|
|
34
|
+
}), a;
|
|
35
|
+
}
|
|
36
|
+
}), x = ["id"], S = ["id"];
|
|
37
|
+
function C(e, t, n, r, i, a) {
|
|
38
|
+
return m(), s("div", {
|
|
39
|
+
id: r.hostProvidesRoot ? void 0 : r.SURVEYOR_ROOT_ID,
|
|
40
|
+
class: p(["surveyor-embed w-full min-w-0 max-w-none", n.fill ? "flex min-h-[calc(100vh-7rem)] flex-col" : ""])
|
|
41
|
+
}, [n.card ? (m(), s("div", {
|
|
42
|
+
key: 0,
|
|
43
|
+
class: p(["w-full rounded-xl bg-white p-4 shadow-sm sm:p-5", n.fill ? "min-h-0 flex-1" : ""])
|
|
44
|
+
}, [g(e.$slots, "default", {}, void 0, !0)], 2)) : (m(), s("div", {
|
|
45
|
+
key: 1,
|
|
46
|
+
class: p(["min-h-0 w-full flex-1", n.fill ? "h-full" : ""])
|
|
47
|
+
}, [g(e.$slots, "default", {}, void 0, !0)], 2)), r.hostProvidesRoot ? o("", !0) : (m(), s("div", {
|
|
48
|
+
key: 2,
|
|
49
|
+
id: r.SURVEYOR_PORTAL_ID
|
|
50
|
+
}, null, 8, S))], 10, x);
|
|
51
|
+
}
|
|
52
|
+
var w = /*#__PURE__*/ r(b, [
|
|
53
|
+
["render", C],
|
|
54
|
+
["__scopeId", "data-v-ee198999"],
|
|
55
|
+
["__file", "C:/softpro/surveyor/src/wrappers/SurveyorEmbedShell.vue"]
|
|
56
|
+
]), T = /*@__PURE__*/ d({
|
|
6
57
|
__name: "Map",
|
|
7
58
|
setup(e, { expose: t }) {
|
|
8
59
|
t();
|
|
9
|
-
let n = {
|
|
60
|
+
let n = {
|
|
61
|
+
MapPage: u(() => import("./chunks/map-qXQe_qam.js")),
|
|
62
|
+
SurveyorEmbedShell: w
|
|
63
|
+
};
|
|
10
64
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
11
65
|
enumerable: !1,
|
|
12
66
|
value: !0
|
|
@@ -15,10 +69,16 @@ var c = /*@__PURE__*/ i({
|
|
|
15
69
|
});
|
|
16
70
|
//#endregion
|
|
17
71
|
//#region src/wrappers/Map.vue
|
|
18
|
-
function
|
|
19
|
-
return
|
|
72
|
+
function E(e, t, n, r, i, o) {
|
|
73
|
+
return m(), a(r.SurveyorEmbedShell, {
|
|
74
|
+
card: !1,
|
|
75
|
+
fill: ""
|
|
76
|
+
}, {
|
|
77
|
+
default: v(() => [l(r.MapPage)]),
|
|
78
|
+
_: 1
|
|
79
|
+
});
|
|
20
80
|
}
|
|
21
|
-
var
|
|
81
|
+
var D = /*#__PURE__*/ r(T, [["render", E], ["__file", "C:/softpro/surveyor/src/wrappers/Map.vue"]]), O = /*@__PURE__*/ d({
|
|
22
82
|
__name: "BaseEntityWrapper",
|
|
23
83
|
props: {
|
|
24
84
|
list: {
|
|
@@ -44,18 +104,18 @@ var u = /*#__PURE__*/ e(c, [["render", l], ["__file", "C:/softpro/surveyor/src/w
|
|
|
44
104
|
required: !1
|
|
45
105
|
}
|
|
46
106
|
},
|
|
47
|
-
setup(e, { expose:
|
|
48
|
-
|
|
49
|
-
let
|
|
50
|
-
props:
|
|
51
|
-
route:
|
|
52
|
-
activeKey:
|
|
53
|
-
let e =
|
|
107
|
+
setup(e, { expose: t }) {
|
|
108
|
+
t();
|
|
109
|
+
let n = e, r = y(), a = {
|
|
110
|
+
props: n,
|
|
111
|
+
route: r,
|
|
112
|
+
activeKey: i(() => {
|
|
113
|
+
let e = r.params[n.param];
|
|
54
114
|
return e == null || Array.isArray(e) ? "" : String(e);
|
|
55
115
|
}),
|
|
56
|
-
activeComponent:
|
|
57
|
-
let e =
|
|
58
|
-
return t ?
|
|
116
|
+
activeComponent: i(() => {
|
|
117
|
+
let e = r.params[n.param], t = e == null || Array.isArray(e) ? "" : String(e);
|
|
118
|
+
return t ? n.create && t === n.createValue ? n.create : n.detail : n.list;
|
|
59
119
|
})
|
|
60
120
|
};
|
|
61
121
|
return Object.defineProperty(a, "__isScriptSetup", {
|
|
@@ -66,17 +126,18 @@ var u = /*#__PURE__*/ e(c, [["render", l], ["__file", "C:/softpro/surveyor/src/w
|
|
|
66
126
|
});
|
|
67
127
|
//#endregion
|
|
68
128
|
//#region src/wrappers/BaseEntityWrapper.vue
|
|
69
|
-
function
|
|
70
|
-
return
|
|
129
|
+
function k(e, t, n, r, i, o) {
|
|
130
|
+
return m(), a(_(r.activeComponent), { key: r.activeKey || "list" });
|
|
71
131
|
}
|
|
72
|
-
var
|
|
132
|
+
var A = /*#__PURE__*/ r(O, [["render", k], ["__file", "C:/softpro/surveyor/src/wrappers/BaseEntityWrapper.vue"]]), j = /*@__PURE__*/ d({
|
|
73
133
|
__name: "Requests",
|
|
74
134
|
setup(e, { expose: t }) {
|
|
75
135
|
t();
|
|
76
136
|
let n = {
|
|
77
|
-
Index:
|
|
78
|
-
Card:
|
|
79
|
-
BaseEntityWrapper:
|
|
137
|
+
Index: u(() => import("./chunks/requests-BTpLXrNj.js")),
|
|
138
|
+
Card: u(() => import("./chunks/card-B_SfARf7.js")),
|
|
139
|
+
BaseEntityWrapper: A,
|
|
140
|
+
SurveyorEmbedShell: w
|
|
80
141
|
};
|
|
81
142
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
82
143
|
enumerable: !1,
|
|
@@ -86,21 +147,25 @@ var p = /*#__PURE__*/ e(d, [["render", f], ["__file", "C:/softpro/surveyor/src/w
|
|
|
86
147
|
});
|
|
87
148
|
//#endregion
|
|
88
149
|
//#region src/wrappers/Requests.vue
|
|
89
|
-
function
|
|
90
|
-
return
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
150
|
+
function M(e, t, n, r, i, o) {
|
|
151
|
+
return m(), a(r.SurveyorEmbedShell, null, {
|
|
152
|
+
default: v(() => [l(r.BaseEntityWrapper, {
|
|
153
|
+
list: r.Index,
|
|
154
|
+
detail: r.Card,
|
|
155
|
+
param: "number"
|
|
156
|
+
}, null, 8, ["list", "detail"])]),
|
|
157
|
+
_: 1
|
|
158
|
+
});
|
|
95
159
|
}
|
|
96
|
-
var
|
|
160
|
+
var N = /*#__PURE__*/ r(j, [["render", M], ["__file", "C:/softpro/surveyor/src/wrappers/Requests.vue"]]), P = /*@__PURE__*/ d({
|
|
97
161
|
__name: "Organisations",
|
|
98
162
|
setup(e, { expose: t }) {
|
|
99
163
|
t();
|
|
100
164
|
let n = {
|
|
101
|
-
Index:
|
|
102
|
-
Card:
|
|
103
|
-
BaseEntityWrapper:
|
|
165
|
+
Index: u(() => import("./chunks/organizations-ByVE2f0c.js")),
|
|
166
|
+
Card: u(() => import("./chunks/card-X9UVFgdR.js")),
|
|
167
|
+
BaseEntityWrapper: A,
|
|
168
|
+
SurveyorEmbedShell: w
|
|
104
169
|
};
|
|
105
170
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
106
171
|
enumerable: !1,
|
|
@@ -110,21 +175,25 @@ var g = /*#__PURE__*/ e(m, [["render", h], ["__file", "C:/softpro/surveyor/src/w
|
|
|
110
175
|
});
|
|
111
176
|
//#endregion
|
|
112
177
|
//#region src/wrappers/Organisations.vue
|
|
113
|
-
function
|
|
114
|
-
return
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
178
|
+
function F(e, t, n, r, i, o) {
|
|
179
|
+
return m(), a(r.SurveyorEmbedShell, null, {
|
|
180
|
+
default: v(() => [l(r.BaseEntityWrapper, {
|
|
181
|
+
list: r.Index,
|
|
182
|
+
detail: r.Card,
|
|
183
|
+
param: "id"
|
|
184
|
+
}, null, 8, ["list", "detail"])]),
|
|
185
|
+
_: 1
|
|
186
|
+
});
|
|
119
187
|
}
|
|
120
|
-
var
|
|
188
|
+
var I = /*#__PURE__*/ r(P, [["render", F], ["__file", "C:/softpro/surveyor/src/wrappers/Organisations.vue"]]), L = /*@__PURE__*/ d({
|
|
121
189
|
__name: "Certificates",
|
|
122
190
|
setup(e, { expose: t }) {
|
|
123
191
|
t();
|
|
124
192
|
let n = {
|
|
125
|
-
Index:
|
|
126
|
-
Card:
|
|
127
|
-
BaseEntityWrapper:
|
|
193
|
+
Index: u(() => import("./chunks/certificates-Cwch72-o.js")),
|
|
194
|
+
Card: u(() => import("./chunks/card-C3y-j2TA.js")),
|
|
195
|
+
BaseEntityWrapper: A,
|
|
196
|
+
SurveyorEmbedShell: w
|
|
128
197
|
};
|
|
129
198
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
130
199
|
enumerable: !1,
|
|
@@ -134,21 +203,25 @@ var y = /*#__PURE__*/ e(_, [["render", v], ["__file", "C:/softpro/surveyor/src/w
|
|
|
134
203
|
});
|
|
135
204
|
//#endregion
|
|
136
205
|
//#region src/wrappers/Certificates.vue
|
|
137
|
-
function
|
|
138
|
-
return
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
206
|
+
function R(e, t, n, r, i, o) {
|
|
207
|
+
return m(), a(r.SurveyorEmbedShell, null, {
|
|
208
|
+
default: v(() => [l(r.BaseEntityWrapper, {
|
|
209
|
+
list: r.Index,
|
|
210
|
+
detail: r.Card,
|
|
211
|
+
param: "id"
|
|
212
|
+
}, null, 8, ["list", "detail"])]),
|
|
213
|
+
_: 1
|
|
214
|
+
});
|
|
143
215
|
}
|
|
144
|
-
var
|
|
216
|
+
var ee = /*#__PURE__*/ r(L, [["render", R], ["__file", "C:/softpro/surveyor/src/wrappers/Certificates.vue"]]), z = /*@__PURE__*/ d({
|
|
145
217
|
__name: "Users",
|
|
146
218
|
setup(e, { expose: t }) {
|
|
147
219
|
t();
|
|
148
220
|
let n = {
|
|
149
|
-
Index:
|
|
150
|
-
Card:
|
|
151
|
-
BaseEntityWrapper:
|
|
221
|
+
Index: u(() => import("./chunks/users-U1P6xCP4.js")),
|
|
222
|
+
Card: u(() => import("./chunks/card-DWpAv92l.js")),
|
|
223
|
+
BaseEntityWrapper: A,
|
|
224
|
+
SurveyorEmbedShell: w
|
|
152
225
|
};
|
|
153
226
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
154
227
|
enumerable: !1,
|
|
@@ -158,21 +231,25 @@ var S = /*#__PURE__*/ e(b, [["render", x], ["__file", "C:/softpro/surveyor/src/w
|
|
|
158
231
|
});
|
|
159
232
|
//#endregion
|
|
160
233
|
//#region src/wrappers/Users.vue
|
|
161
|
-
function
|
|
162
|
-
return
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
234
|
+
function B(e, t, n, r, i, o) {
|
|
235
|
+
return m(), a(r.SurveyorEmbedShell, null, {
|
|
236
|
+
default: v(() => [l(r.BaseEntityWrapper, {
|
|
237
|
+
list: r.Index,
|
|
238
|
+
detail: r.Card,
|
|
239
|
+
param: "id"
|
|
240
|
+
}, null, 8, ["list", "detail"])]),
|
|
241
|
+
_: 1
|
|
242
|
+
});
|
|
167
243
|
}
|
|
168
|
-
var
|
|
244
|
+
var V = /*#__PURE__*/ r(z, [["render", B], ["__file", "C:/softpro/surveyor/src/wrappers/Users.vue"]]), H = /*@__PURE__*/ d({
|
|
169
245
|
__name: "MapLayers",
|
|
170
246
|
setup(e, { expose: t }) {
|
|
171
247
|
t();
|
|
172
248
|
let n = {
|
|
173
|
-
Index:
|
|
174
|
-
Card:
|
|
175
|
-
BaseEntityWrapper:
|
|
249
|
+
Index: u(() => import("./chunks/map-layers-sT-gTiD_.js")),
|
|
250
|
+
Card: u(() => import("./chunks/card-CWqi1K-x.js")),
|
|
251
|
+
BaseEntityWrapper: A,
|
|
252
|
+
SurveyorEmbedShell: w
|
|
176
253
|
};
|
|
177
254
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
178
255
|
enumerable: !1,
|
|
@@ -182,22 +259,26 @@ var T = /*#__PURE__*/ e(C, [["render", w], ["__file", "C:/softpro/surveyor/src/w
|
|
|
182
259
|
});
|
|
183
260
|
//#endregion
|
|
184
261
|
//#region src/wrappers/MapLayers.vue
|
|
185
|
-
function
|
|
186
|
-
return
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
262
|
+
function U(e, t, n, r, i, o) {
|
|
263
|
+
return m(), a(r.SurveyorEmbedShell, null, {
|
|
264
|
+
default: v(() => [l(r.BaseEntityWrapper, {
|
|
265
|
+
list: r.Index,
|
|
266
|
+
detail: r.Card,
|
|
267
|
+
param: "id"
|
|
268
|
+
}, null, 8, ["list", "detail"])]),
|
|
269
|
+
_: 1
|
|
270
|
+
});
|
|
191
271
|
}
|
|
192
|
-
var
|
|
272
|
+
var W = /*#__PURE__*/ r(H, [["render", U], ["__file", "C:/softpro/surveyor/src/wrappers/MapLayers.vue"]]), G = /*@__PURE__*/ d({
|
|
193
273
|
__name: "CabinetRequests",
|
|
194
274
|
setup(e, { expose: t }) {
|
|
195
275
|
t();
|
|
196
276
|
let n = {
|
|
197
|
-
Index:
|
|
198
|
-
Create:
|
|
199
|
-
Card:
|
|
200
|
-
BaseEntityWrapper:
|
|
277
|
+
Index: u(() => import("./chunks/requests-Bt8fEdRc.js")),
|
|
278
|
+
Create: u(() => import("./chunks/create-DTP9x2uS.js")),
|
|
279
|
+
Card: u(() => import("./chunks/card-DCyBFoDZ.js")),
|
|
280
|
+
BaseEntityWrapper: A,
|
|
281
|
+
SurveyorEmbedShell: w
|
|
201
282
|
};
|
|
202
283
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
203
284
|
enumerable: !1,
|
|
@@ -207,24 +288,30 @@ var O = /*#__PURE__*/ e(E, [["render", D], ["__file", "C:/softpro/surveyor/src/w
|
|
|
207
288
|
});
|
|
208
289
|
//#endregion
|
|
209
290
|
//#region src/wrappers/CabinetRequests.vue
|
|
210
|
-
function
|
|
211
|
-
return
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
291
|
+
function K(e, t, n, r, i, o) {
|
|
292
|
+
return m(), a(r.SurveyorEmbedShell, null, {
|
|
293
|
+
default: v(() => [l(r.BaseEntityWrapper, {
|
|
294
|
+
list: r.Index,
|
|
295
|
+
detail: r.Card,
|
|
296
|
+
create: r.Create,
|
|
297
|
+
param: "segment",
|
|
298
|
+
"create-value": "new"
|
|
299
|
+
}, null, 8, [
|
|
300
|
+
"list",
|
|
301
|
+
"detail",
|
|
302
|
+
"create"
|
|
303
|
+
])]),
|
|
304
|
+
_: 1
|
|
305
|
+
});
|
|
222
306
|
}
|
|
223
|
-
var
|
|
307
|
+
var q = /*#__PURE__*/ r(G, [["render", K], ["__file", "C:/softpro/surveyor/src/wrappers/CabinetRequests.vue"]]), J = /*@__PURE__*/ d({
|
|
224
308
|
__name: "CabinetProfile",
|
|
225
309
|
setup(e, { expose: t }) {
|
|
226
310
|
t();
|
|
227
|
-
let n = {
|
|
311
|
+
let n = {
|
|
312
|
+
Profile: u(() => import("./chunks/profile-CuxlkEev.js")),
|
|
313
|
+
SurveyorEmbedShell: w
|
|
314
|
+
};
|
|
228
315
|
return Object.defineProperty(n, "__isScriptSetup", {
|
|
229
316
|
enumerable: !1,
|
|
230
317
|
value: !0
|
|
@@ -233,10 +320,13 @@ var j = /*#__PURE__*/ e(k, [["render", A], ["__file", "C:/softpro/surveyor/src/w
|
|
|
233
320
|
});
|
|
234
321
|
//#endregion
|
|
235
322
|
//#region src/wrappers/CabinetProfile.vue
|
|
236
|
-
function
|
|
237
|
-
return
|
|
323
|
+
function Y(e, t, n, r, i, o) {
|
|
324
|
+
return m(), a(r.SurveyorEmbedShell, null, {
|
|
325
|
+
default: v(() => [l(r.Profile)]),
|
|
326
|
+
_: 1
|
|
327
|
+
});
|
|
238
328
|
}
|
|
239
|
-
var
|
|
329
|
+
var X = /*#__PURE__*/ r(J, [["render", Y], ["__file", "C:/softpro/surveyor/src/wrappers/CabinetProfile.vue"]]), Z = {
|
|
240
330
|
map: "/map",
|
|
241
331
|
requests: "/requests",
|
|
242
332
|
organizations: "/organizations",
|
|
@@ -245,15 +335,42 @@ var P = /*#__PURE__*/ e(M, [["render", N], ["__file", "C:/softpro/surveyor/src/w
|
|
|
245
335
|
mapLayers: "/map-layers",
|
|
246
336
|
cabinetRequests: "/requests",
|
|
247
337
|
cabinetProfile: "/profile"
|
|
248
|
-
},
|
|
249
|
-
function
|
|
338
|
+
}, Q = Symbol("surveyor-paths");
|
|
339
|
+
function $(e = {}) {
|
|
250
340
|
let t = {
|
|
251
|
-
...
|
|
341
|
+
...Z,
|
|
252
342
|
...e.paths
|
|
253
343
|
};
|
|
254
344
|
return { install(e) {
|
|
255
|
-
e.provide(
|
|
345
|
+
e.provide(Q, t);
|
|
256
346
|
} };
|
|
257
347
|
}
|
|
258
348
|
//#endregion
|
|
259
|
-
|
|
349
|
+
//#region shared/surveyor/SurveyorRoot.vue?vue&type=script&setup=true&lang.ts
|
|
350
|
+
var te = /*@__PURE__*/ d({
|
|
351
|
+
__name: "SurveyorRoot",
|
|
352
|
+
setup(r, { expose: i }) {
|
|
353
|
+
i(), h(t, !0);
|
|
354
|
+
let a = {
|
|
355
|
+
get SURVEYOR_PORTAL_ID() {
|
|
356
|
+
return n;
|
|
357
|
+
},
|
|
358
|
+
get SURVEYOR_ROOT_ID() {
|
|
359
|
+
return e;
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
return Object.defineProperty(a, "__isScriptSetup", {
|
|
363
|
+
enumerable: !1,
|
|
364
|
+
value: !0
|
|
365
|
+
}), a;
|
|
366
|
+
}
|
|
367
|
+
}), ne = ["id"], re = ["id"];
|
|
368
|
+
function ie(e, t, n, r, i, a) {
|
|
369
|
+
return m(), s("div", {
|
|
370
|
+
id: r.SURVEYOR_ROOT_ID,
|
|
371
|
+
class: "surveyor-root min-h-screen bg-slate-50 text-slate-800 antialiased"
|
|
372
|
+
}, [g(e.$slots, "default"), c("div", { id: r.SURVEYOR_PORTAL_ID }, null, 8, re)], 8, ne);
|
|
373
|
+
}
|
|
374
|
+
var ae = /*#__PURE__*/ r(te, [["render", ie], ["__file", "C:/softpro/surveyor/shared/surveyor/SurveyorRoot.vue"]]);
|
|
375
|
+
//#endregion
|
|
376
|
+
export { X as CabinetProfile, q as CabinetRequests, ee as Certificates, D as Map, W as MapLayers, I as Organisations, N as Requests, Q as SURVEYOR_PATHS_KEY, n as SURVEYOR_PORTAL_ID, e as SURVEYOR_ROOT_ID, ae as SurveyorRoot, V as Users, $ as createSurveyorPlugin, Z as defaultSurveyorPaths };
|
package/package.json
CHANGED
|
@@ -1,77 +1,83 @@
|
|
|
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.3",
|
|
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
|
+
"postcss-prefix-selector": "^2.2.1",
|
|
76
|
+
"tailwindcss": "^4.3.3",
|
|
77
|
+
"typescript": "~6.0.2",
|
|
78
|
+
"vite": "^8.2.2",
|
|
79
|
+
"vue": "^3.5.22",
|
|
80
|
+
"vue-router": "^4.6.4",
|
|
81
|
+
"vue-tsc": "^3.0.8"
|
|
82
|
+
}
|
|
83
|
+
}
|
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';
|