@opengis/surveyor 0.0.15 → 0.0.17
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/{AppIcon-Di5F4Bu_.js → AppIcon-CO70tpMX.js} +1 -1
- package/dist/chunks/{AppealDetailField-DNpsGpPY.js → AppealDetailField-ByK9ZqR4.js} +4 -4
- package/dist/chunks/{AppealStatusBadge-z77wwkFD.js → AppealStatusBadge-BlAaNUSK.js} +2 -2
- package/dist/chunks/AppealStatusBadge-DzMn4RVy.js +295 -0
- package/dist/chunks/ApplicationGeometryExportModal-Cu6QmJjm.js +1245 -0
- package/dist/chunks/{BaseModal-DP_ilBdg.js → BaseModal-BJxKuONh.js} +2 -2
- package/dist/chunks/{FormFilePicker-D5fAUE0Z.js → FormFilePicker-DxPQlxgy.js} +2 -2
- package/dist/chunks/{MapLayerMenu-CI5cbLEC.js → MapLayerMenu-B0TEoCJm.js} +4 -4
- package/dist/chunks/{RegistryForm-Ct8xiLV0.js → RegistryForm-Dpis_ncj.js} +3 -3
- package/dist/chunks/{RegistryFormModal-DTi3g3CX.js → RegistryFormModal-CH4DbTvC.js} +4 -4
- package/dist/chunks/{RegistryToolbar-v7DdReH2.js → RegistryToolbar-DisEejvi.js} +8 -8
- package/dist/chunks/SurveyorTeleport-Cd6D92mo.js +30 -0
- package/dist/chunks/{TablePagination-Iri38U68.js → TablePagination-thQkE5iA.js} +7 -7
- package/dist/chunks/{UserAccessBadge-B5Q1LvNv.js → UserAccessBadge-DyZDv7Oo.js} +1 -1
- package/dist/chunks/{UserTypeBadge-CuAMctTK.js → UserTypeBadge-LvnMuKGo.js} +1 -1
- package/dist/chunks/{VerifiedBadge-D6L7mCdp.js → VerifiedBadge-bk0n-rlC.js} +2 -2
- package/dist/chunks/{applications-D6pHAQaK.js → applications-B6GAxopO.js} +16 -19
- package/dist/chunks/card-BCMJyzgE.js +1327 -0
- package/dist/chunks/card-BiKSZfYj.js +639 -0
- package/dist/chunks/{card-DcYkb_aF.js → card-Cs8_8A8i.js} +13 -13
- package/dist/chunks/{card-Ba8_kfj9.js → card-DVuqR0rL.js} +10 -10
- package/dist/chunks/{card-CJhdeB6f.js → card-n83dNORm.js} +25 -25
- package/dist/chunks/{card-TP5UFJb2.js → card-u5I--_Gb.js} +16 -16
- package/dist/chunks/{certificates-Ew5AekPn.js → certificates-CDunSANR.js} +31 -21
- package/dist/chunks/{create-CSIDl4gP.js → create-DQPxIZMW.js} +18 -18
- package/dist/chunks/{forgot-DnixBqdc.js → forgot-DfsFu-yY.js} +8 -8
- package/dist/chunks/{login-BWCQdEkv.js → login-Dl0nTWs9.js} +8 -8
- package/dist/chunks/{map-mZ8Rn4aR.js → map-BoHEgBCw.js} +922 -926
- package/dist/chunks/{map-layers-BdWEHPLx.js → map-layers-CRE8lZzH.js} +11 -11
- package/dist/chunks/{organizations-D0o0e_ps.js → organizations-D6aazMAe.js} +18 -18
- package/dist/chunks/{profile-F7mr0poI.js → profile-CkwMFh82.js} +3 -3
- package/dist/chunks/{registration-BRF4985_.js → registration-BSz1iLbO.js} +8 -8
- package/dist/chunks/requests-B9Ejt4av.js +303 -0
- package/dist/chunks/{requests-BCJN-CNx.js → requests-D1ix8U5f.js} +6 -6
- package/dist/chunks/{reset-OZCgLi6f.js → reset-D5G0x5Zi.js} +8 -8
- package/dist/chunks/{useEntityPath-8s0Y1tjA.js → useEntityPath-C5Owtidc.js} +1 -1
- package/dist/chunks/{users-Dr543AYk.js → users-DMe6JYI0.js} +15 -15
- package/dist/index.css +1 -2
- package/dist/index.js +47 -47
- package/migrations/20261016120000_map_layers.sql +156 -156
- package/migrations/20261016150000_password_reset.sql +15 -15
- package/migrations/20261016180000_settlement_lookup.sql +16 -16
- package/package.json +1 -4
- package/server/dictionaries/index.ts +17 -17
- package/server/dictionaries/surveyor/map_layer_components.ts +11 -11
- package/server/dictionaries/surveyor/map_layer_groups.ts +10 -10
- package/server/dictionaries/surveyor/map_layer_types.ts +11 -11
- package/server/modules/surveyor/services/mapLayers.ts +61 -61
- package/server/modules/surveyor/utils/templates/ds.surveyor_password_reset.pt.hbs +79 -79
- package/server/resources/helpers/settlement_lookup.ts +7 -7
- package/server/resources/surveyor-admin/applications.ts +11 -10
- package/server/resources/surveyor-admin/certificates.ts +25 -25
- package/server/resources/surveyor-admin/organization_surveyors.ts +31 -31
- package/server/suggests/index.ts +18 -1
- package/dist/chunks/AppealStatusBadge-COxcUM2Q.js +0 -185
- package/dist/chunks/ApplicationHistorySection-DHq-iJla.js +0 -788
- package/dist/chunks/SurveyorTeleport-D6-KXe_5.js +0 -23
- package/dist/chunks/card-CF5Lo4ui.js +0 -609
- package/dist/chunks/card-CVujkVkR.js +0 -1193
- package/dist/chunks/requests-F0Kp8OPp.js +0 -234
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { s as t } from "./surveyor-CDkI2Dcp.js";
|
|
3
|
-
import { t as n } from "./AppIcon-
|
|
3
|
+
import { t as n } from "./AppIcon-CO70tpMX.js";
|
|
4
4
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, ref as d, toDisplayString as f, vModelText as p, withCtx as m, withDirectives as h, withModifiers as g } from "vue";
|
|
5
5
|
import { RouterLink as _, useRoute as v, useRouter as y } from "vue-router";
|
|
6
6
|
//#region cabinet/src/pages/password/reset.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -58,7 +58,7 @@ var b = "Мінімум 8 символів", x = /*@__PURE__*/ l({
|
|
|
58
58
|
value: !0
|
|
59
59
|
}), x;
|
|
60
60
|
}
|
|
61
|
-
}), S = { class: "flex min-h-screen items-center justify-center bg-gradient-to-br from-
|
|
61
|
+
}), S = { class: "flex min-h-screen items-center justify-center bg-gradient-to-br from-[#eef6ff] via-white to-slate-100 px-4" }, C = { class: "w-full max-w-md" }, w = { class: "mb-8 text-center" }, T = { class: "mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-gradient-to-br from-[#d9eaff] to-[#bcd9ff] shadow-lg shadow-[#1f5ae0]/20 ring-1 ring-[#bcd9ff]/60" }, E = { class: "block text-sm font-medium text-slate-700" }, D = { class: "mt-4 block text-sm font-medium text-slate-700" }, O = {
|
|
62
62
|
key: 0,
|
|
63
63
|
class: "mt-4 text-sm text-red-600"
|
|
64
64
|
}, k = {
|
|
@@ -69,7 +69,7 @@ function M(e, t, n, r, l, d) {
|
|
|
69
69
|
return u(), a("div", S, [o("div", C, [o("div", w, [
|
|
70
70
|
o("div", T, [c(r.AppIcon, {
|
|
71
71
|
name: "map-pinned",
|
|
72
|
-
class: "h-7 w-7 text-
|
|
72
|
+
class: "h-7 w-7 text-[#1f5ae0]"
|
|
73
73
|
})]),
|
|
74
74
|
t[2] ||= o("h1", { class: "text-2xl font-semibold text-slate-900" }, "Новий пароль", -1),
|
|
75
75
|
t[3] ||= o("p", { class: "mt-1 text-sm text-slate-500" }, "Встановіть новий пароль для входу в кабінет геодезиста", -1)
|
|
@@ -82,30 +82,30 @@ function M(e, t, n, r, l, d) {
|
|
|
82
82
|
type: "password",
|
|
83
83
|
autocomplete: "new-password",
|
|
84
84
|
placeholder: r.passwordHint,
|
|
85
|
-
class: "mt-1.5 h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-
|
|
85
|
+
class: "mt-1.5 h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-[#599dff] focus:ring-1 focus:ring-[#599dff]"
|
|
86
86
|
}, null, 512), [[p, r.password]])]),
|
|
87
87
|
o("label", D, [t[5] ||= s(" Підтвердження пароля ", -1), h(o("input", {
|
|
88
88
|
"onUpdate:modelValue": t[1] ||= (e) => r.passwordConfirmation = e,
|
|
89
89
|
type: "password",
|
|
90
90
|
autocomplete: "new-password",
|
|
91
91
|
placeholder: "Повторіть пароль",
|
|
92
|
-
class: "mt-1.5 h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-
|
|
92
|
+
class: "mt-1.5 h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-[#599dff] focus:ring-1 focus:ring-[#599dff]"
|
|
93
93
|
}, null, 512), [[p, r.passwordConfirmation]])]),
|
|
94
94
|
r.tokenValid ? r.error ? (u(), a("p", k, f(r.error), 1)) : i("", !0) : (u(), a("p", O, "Посилання недійсне або строк його дії минув")),
|
|
95
95
|
o("button", {
|
|
96
96
|
type: "submit",
|
|
97
|
-
class: "mt-4 w-full rounded-xl bg-
|
|
97
|
+
class: "mt-4 w-full rounded-xl bg-[#1f5ae0] py-2.5 text-sm font-semibold text-white transition-colors hover:bg-[#1a46b8] disabled:cursor-not-allowed disabled:opacity-60",
|
|
98
98
|
disabled: r.submitting || !r.tokenValid
|
|
99
99
|
}, f(r.submitting ? "Збереження…" : "Зберегти пароль"), 9, A),
|
|
100
100
|
o("p", j, [t[7] ||= s(" Згадали пароль? ", -1), c(r.RouterLink, {
|
|
101
101
|
to: "/login",
|
|
102
|
-
class: "font-medium text-
|
|
102
|
+
class: "font-medium text-[#1a46b8] hover:text-[#1c3776] hover:underline"
|
|
103
103
|
}, {
|
|
104
104
|
default: m(() => [...t[6] ||= [s(" Увійти ", -1)]]),
|
|
105
105
|
_: 1
|
|
106
106
|
})])
|
|
107
107
|
], 32)])]);
|
|
108
108
|
}
|
|
109
|
-
var N = /*#__PURE__*/ e(x, [["render", M], ["__file", "
|
|
109
|
+
var N = /*#__PURE__*/ e(x, [["render", M], ["__file", "C:/softpro/surveyor/cabinet/src/pages/password/reset.vue"]]);
|
|
110
110
|
//#endregion
|
|
111
111
|
export { N as default };
|
|
@@ -81,7 +81,7 @@ var Q = /*@__PURE__*/ r({
|
|
|
81
81
|
function $(e, t, r, o, s, c) {
|
|
82
82
|
return i(), n(a(o.icon), { "stroke-width": r.strokeWidth }, null, 8, ["stroke-width"]);
|
|
83
83
|
}
|
|
84
|
-
var te = /*#__PURE__*/ e(Q, [["render", $], ["__file", "
|
|
84
|
+
var te = /*#__PURE__*/ e(Q, [["render", $], ["__file", "C:/softpro/surveyor/admin/src/components/ui/AppIcon.vue"]]);
|
|
85
85
|
//#endregion
|
|
86
86
|
//#region admin/src/composables/useEntityPath.ts
|
|
87
87
|
function ne(e = "id") {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { n as t, t as n } from "./useEntityPath-
|
|
2
|
+
import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
|
|
3
3
|
import { a as r } from "./resources-Cj8BzrBX.js";
|
|
4
|
-
import { i, n as ee, r as a, t as o } from "./UserTypeBadge-
|
|
5
|
-
import { t as s } from "./UserAccessBadge-
|
|
4
|
+
import { i, n as ee, r as a, t as o } from "./UserTypeBadge-LvnMuKGo.js";
|
|
5
|
+
import { t as s } from "./UserAccessBadge-DyZDv7Oo.js";
|
|
6
6
|
import { a as c, n as l } from "./surveyorAccount-Cfba7ZVZ.js";
|
|
7
7
|
import { a as u, c as d } from "./filterQuery-Dka-mIso.js";
|
|
8
|
-
import { i as f, n as p, r as m, t as h } from "./RegistryToolbar-
|
|
9
|
-
import { t as g } from "./TablePagination-
|
|
10
|
-
import { t as _ } from "./SurveyorTeleport-
|
|
8
|
+
import { i as f, n as p, r as m, t as h } from "./RegistryToolbar-DisEejvi.js";
|
|
9
|
+
import { t as g } from "./TablePagination-thQkE5iA.js";
|
|
10
|
+
import { t as _ } from "./SurveyorTeleport-Cd6D92mo.js";
|
|
11
11
|
import { Fragment as v, computed as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createTextVNode as w, createVNode as T, defineComponent as E, normalizeClass as D, normalizeStyle as O, onMounted as k, onUnmounted as A, openBlock as j, ref as M, renderList as N, toDisplayString as P, vModelText as F, withCtx as I, withDirectives as L, withModifiers as R } from "vue";
|
|
12
12
|
import { RouterLink as z } from "vue-router";
|
|
13
13
|
//#region admin/src/pages/users/index.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -153,12 +153,12 @@ var B = /*@__PURE__*/ E({
|
|
|
153
153
|
}
|
|
154
154
|
}), V = { class: "px-4" }, H = { class: "relative block" }, U = {
|
|
155
155
|
type: "button",
|
|
156
|
-
class: "inline-flex h-10 w-10 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 transition-colors hover:border-
|
|
156
|
+
class: "inline-flex h-10 w-10 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 transition-colors hover:border-[#8ec1ff] hover:text-[#1a46b8]",
|
|
157
157
|
"aria-label": "Експорт",
|
|
158
158
|
title: "Експорт"
|
|
159
159
|
}, W = { class: "relative" }, G = {
|
|
160
160
|
key: 0,
|
|
161
|
-
class: "absolute right-0 top-12 z-20 w-56 rounded-lg border border-slate-200 bg-white p-2 shadow-
|
|
161
|
+
class: "absolute right-0 top-12 z-20 w-56 rounded-lg border border-slate-200 bg-white p-2 shadow-[0_4px_12px_0_rgb(15_23_42/0.08),0_2px_4px_0_rgb(15_23_42/0.06)]"
|
|
162
162
|
}, K = ["checked", "onChange"], q = { class: "mt-3 flex items-center justify-between border-t border-slate-100 pt-3 text-xs text-slate-400" }, J = { class: "font-semibold text-slate-600" }, Y = {
|
|
163
163
|
key: 1,
|
|
164
164
|
class: "text-slate-400"
|
|
@@ -199,14 +199,14 @@ function ie(e, t, n, r, i, ee) {
|
|
|
199
199
|
"onUpdate:modelValue": t[0] ||= (e) => r.query = e,
|
|
200
200
|
type: "search",
|
|
201
201
|
placeholder: "Пошук (ПІБ, пошта, телефон)…",
|
|
202
|
-
class: "h-10 w-full rounded-lg border border-slate-200 bg-white pl-9 pr-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-
|
|
202
|
+
class: "h-10 w-full rounded-lg border border-slate-200 bg-white pl-9 pr-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-[#599dff] focus:ring-1 focus:ring-[#599dff]"
|
|
203
203
|
}, null, 512), [[F, r.query]])])]),
|
|
204
204
|
actions: I(() => [C("button", U, [T(r.AppIcon, {
|
|
205
205
|
name: "download",
|
|
206
206
|
class: "h-4 w-4"
|
|
207
207
|
})]), C("div", W, [C("button", {
|
|
208
208
|
type: "button",
|
|
209
|
-
class: "inline-flex h-10 w-10 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 transition-colors hover:border-
|
|
209
|
+
class: "inline-flex h-10 w-10 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 transition-colors hover:border-[#8ec1ff] hover:text-[#1a46b8]",
|
|
210
210
|
"aria-label": "Налаштувати колонки",
|
|
211
211
|
onClick: t[1] ||= (e) => r.columnsOpen = !r.columnsOpen
|
|
212
212
|
}, [T(r.AppIcon, {
|
|
@@ -218,7 +218,7 @@ function ie(e, t, n, r, i, ee) {
|
|
|
218
218
|
}, [C("input", {
|
|
219
219
|
type: "checkbox",
|
|
220
220
|
checked: r.visibleColumns.includes(e.key),
|
|
221
|
-
class: "h-4 w-4 accent-
|
|
221
|
+
class: "h-4 w-4 accent-[#1f5ae0]",
|
|
222
222
|
onChange: (t) => r.toggleColumn(e.key)
|
|
223
223
|
}, null, 40, K), w(" " + P(e.label), 1)]))), 128))])) : x("", !0)])]),
|
|
224
224
|
_: 1
|
|
@@ -236,7 +236,7 @@ function ie(e, t, n, r, i, ee) {
|
|
|
236
236
|
cell: I(({ row: e, column: t }) => [t === "fullName" ? (j(), b(r.RouterLink, {
|
|
237
237
|
key: 0,
|
|
238
238
|
to: r.detailPath(e.surveyor_id),
|
|
239
|
-
class: "block w-full max-w-full break-words text-left font-semibold text-
|
|
239
|
+
class: "block w-full max-w-full break-words text-left font-semibold text-[#1a46b8] hover:text-[#1c3776] hover:underline"
|
|
240
240
|
}, {
|
|
241
241
|
default: I(() => [w(P(r.personName(e)), 1)]),
|
|
242
242
|
_: 2
|
|
@@ -249,7 +249,7 @@ function ie(e, t, n, r, i, ee) {
|
|
|
249
249
|
}, null, 8, ["account-blocked"])) : t === "actions" ? (j(), S("div", te, [C("button", {
|
|
250
250
|
type: "button",
|
|
251
251
|
"data-row-actions": "",
|
|
252
|
-
class: "inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-lg text-slate-400 transition-colors hover:bg-
|
|
252
|
+
class: "inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-lg text-slate-400 transition-colors hover:bg-[#eef6ff] hover:text-[#1a46b8]",
|
|
253
253
|
"aria-expanded": r.actionsOpen === e.surveyor_id,
|
|
254
254
|
"aria-label": `Дії для ${r.personName(e)}`,
|
|
255
255
|
onClick: R((t) => r.toggleActions(e.surveyor_id, t), ["stop"])
|
|
@@ -260,7 +260,7 @@ function ie(e, t, n, r, i, ee) {
|
|
|
260
260
|
default: I(() => [r.actionsOpen === e.surveyor_id ? (j(), S("div", {
|
|
261
261
|
key: 0,
|
|
262
262
|
"data-row-actions": "",
|
|
263
|
-
class: "fixed z-50 w-56 overflow-hidden rounded-lg border border-slate-200 bg-white py-1 text-left shadow-
|
|
263
|
+
class: "fixed z-50 w-56 overflow-hidden rounded-lg border border-slate-200 bg-white py-1 text-left shadow-[0_4px_12px_0_rgb(15_23_42/0.08),0_2px_4px_0_rgb(15_23_42/0.06)]",
|
|
264
264
|
style: O(r.menuStyle)
|
|
265
265
|
}, [C("button", {
|
|
266
266
|
type: "button",
|
|
@@ -293,6 +293,6 @@ function ie(e, t, n, r, i, ee) {
|
|
|
293
293
|
])) : x("", !0)
|
|
294
294
|
])]);
|
|
295
295
|
}
|
|
296
|
-
var ae = /*#__PURE__*/ e(B, [["render", ie], ["__file", "
|
|
296
|
+
var ae = /*#__PURE__*/ e(B, [["render", ie], ["__file", "C:/softpro/surveyor/admin/src/pages/users/index.vue"]]);
|
|
297
297
|
//#endregion
|
|
298
298
|
export { ae as default };
|