@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,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { a as t, t as n } from "./surveyor-CDkI2Dcp.js";
|
|
3
3
|
import { s as r, t as i } from "./organizations-DbVDoURw.js";
|
|
4
|
-
import { t as a } from "./AppIcon-
|
|
5
|
-
import { t as o } from "./SurveyorTeleport-
|
|
4
|
+
import { t as a } from "./AppIcon-CO70tpMX.js";
|
|
5
|
+
import { t as o } from "./SurveyorTeleport-Cd6D92mo.js";
|
|
6
6
|
import { c as s, t as c, u as l } from "./appealMapLayers-CQMK3rrz.js";
|
|
7
7
|
import { t as u } from "./work_types-Hwme-FEX.js";
|
|
8
8
|
import { a as d, d as f, i as p, l as m, r as h, s as g, t as _, u as v } from "./mapLayersApi-CBLcbADa.js";
|
|
9
9
|
import { i as y, n as b } from "./geometry-DyhIVRcw.js";
|
|
10
|
-
import { t as x } from "./MapLayerMenu-
|
|
11
|
-
import { t as S } from "./FormFilePicker-
|
|
12
|
-
import {
|
|
10
|
+
import { t as x } from "./MapLayerMenu-B0TEoCJm.js";
|
|
11
|
+
import { t as S } from "./FormFilePicker-DxPQlxgy.js";
|
|
12
|
+
import { n as ee, o as C, r as w } from "./applications-B6GAxopO.js";
|
|
13
13
|
import { Fragment as T, computed as E, createBlock as D, createCommentVNode as O, createElementBlock as k, createElementVNode as A, createTextVNode as j, createVNode as M, defineComponent as N, nextTick as P, normalizeClass as F, normalizeStyle as I, onBeforeUnmount as L, onMounted as te, onUnmounted as ne, openBlock as R, ref as z, renderList as B, shallowRef as re, toDisplayString as V, vModelText as H, watch as U, withCtx as W, withDirectives as G, withModifiers as K } from "vue";
|
|
14
14
|
import { RouterLink as q, useRouter as ie } from "vue-router";
|
|
15
15
|
import { ArrowUp as ae, Minus as oe, Pencil as se, Plus as ce, Trash2 as le, Upload as ue } from "lucide-vue-next";
|
|
@@ -155,7 +155,7 @@ function ye(e, t, n, r, i, a) {
|
|
|
155
155
|
_: 1
|
|
156
156
|
})], 512)]);
|
|
157
157
|
}
|
|
158
|
-
var be = /*#__PURE__*/ e(de, [["render", ye], ["__file", "
|
|
158
|
+
var be = /*#__PURE__*/ e(de, [["render", ye], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/components/FormSearchSelect.vue"]]), xe = /*@__PURE__*/ N({
|
|
159
159
|
__name: "FormSuggestSelect",
|
|
160
160
|
props: {
|
|
161
161
|
label: {
|
|
@@ -316,7 +316,7 @@ function Me(e, t, n, r, i, a) {
|
|
|
316
316
|
_: 1
|
|
317
317
|
})], 512)]);
|
|
318
318
|
}
|
|
319
|
-
var Ne = /*#__PURE__*/ e(xe, [["render", Me], ["__file", "
|
|
319
|
+
var Ne = /*#__PURE__*/ e(xe, [["render", Me], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/components/FormSuggestSelect.vue"]]), X = "draft-polygon", Pe = "draft-polygon-fill", Fe = "draft-polygon-line", Z = "draft-vertices", Q = "draft-vertices-layer", $ = "draft-vertices-hit", Ie = 12, Le = 17, Re = 13, ze = /*@__PURE__*/ N({
|
|
320
320
|
__name: "ApplicationCreateMap",
|
|
321
321
|
props: {
|
|
322
322
|
points: {
|
|
@@ -938,7 +938,7 @@ function Xe(e, t, n, r, i, a) {
|
|
|
938
938
|
var Ze = /*#__PURE__*/ e(ze, [
|
|
939
939
|
["render", Xe],
|
|
940
940
|
["__scopeId", "data-v-c52d7431"],
|
|
941
|
-
["__file", "
|
|
941
|
+
["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/components/ApplicationCreateMap.vue"]
|
|
942
942
|
]), Qe = /*@__PURE__*/ N({
|
|
943
943
|
__name: "GeometryImportDialog",
|
|
944
944
|
emits: ["close", "imported"],
|
|
@@ -952,7 +952,7 @@ var Ze = /*#__PURE__*/ e(ze, [
|
|
|
952
952
|
if (i.value && !s.value) {
|
|
953
953
|
c.value = "", s.value = !0;
|
|
954
954
|
try {
|
|
955
|
-
let e = await
|
|
955
|
+
let e = await C(i.value);
|
|
956
956
|
r("imported", e);
|
|
957
957
|
} catch (e) {
|
|
958
958
|
c.value = e instanceof Error ? e.message : "Не вдалося імпортувати геометрію";
|
|
@@ -1028,7 +1028,7 @@ function ot(e, t, n, r, i, a) {
|
|
|
1028
1028
|
_: 1
|
|
1029
1029
|
});
|
|
1030
1030
|
}
|
|
1031
|
-
var st = /*#__PURE__*/ e(Qe, [["render", ot], ["__file", "
|
|
1031
|
+
var st = /*#__PURE__*/ e(Qe, [["render", ot], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/components/GeometryImportDialog.vue"]]), ct = "public_applications", lt = ct;
|
|
1032
1032
|
async function ut(e, r, i) {
|
|
1033
1033
|
let a = new URLSearchParams();
|
|
1034
1034
|
if (a.set("limit", String(i?.limit ?? 20)), i?.search && a.set("search", i.search), i?.filter) for (let [e, t] of Object.entries(i.filter)) a.set(`filter[${e}]`, String(t));
|
|
@@ -1042,20 +1042,20 @@ var dt = /*@__PURE__*/ N({
|
|
|
1042
1042
|
__name: "create",
|
|
1043
1043
|
setup(e, { expose: t }) {
|
|
1044
1044
|
t();
|
|
1045
|
-
let n = ie(), o = z(""), s = z(""), c = z(""), l = z(""), d = z([]), f = z([]), p = z(!1), m = z(!1), h = z(!1), g = z(""), _ = z(""), v = z(""), y = z(""), b = z(""), x = z(""), S = z([]),
|
|
1045
|
+
let n = ie(), o = z(""), s = z(""), c = z(""), l = z(""), d = z([]), f = z([]), p = z(!1), m = z(!1), h = z(!1), g = z(""), _ = z(""), v = z(""), y = z(""), b = z(""), x = z(""), S = z([]), C = z(null), T = z(!1), D = z(null), O = z(!1), k = z(""), A = E(() => r.value.find((e) => e.id === i.value)?.name ?? ""), j = u.items.map((e) => e.name);
|
|
1046
1046
|
U(o, () => {
|
|
1047
1047
|
c.value = "", l.value = "", f.value = [], D.value = null;
|
|
1048
1048
|
}), U(v, (e) => {
|
|
1049
1049
|
_.value = u.items.find((t) => t.name === e)?.code ?? "";
|
|
1050
1050
|
}), U(S, (e) => {
|
|
1051
|
-
e.length > 0 && (
|
|
1051
|
+
e.length > 0 && (C.value = null);
|
|
1052
1052
|
});
|
|
1053
1053
|
let M = E(() => {
|
|
1054
|
-
let e = !!o.value, t = h.value ? g.value.trim().length > 0 : !!c.value, n = !!
|
|
1054
|
+
let e = !!o.value, t = h.value ? g.value.trim().length > 0 : !!c.value, n = !!C.value || S.value.length >= 3;
|
|
1055
1055
|
return !!(_.value && e && t && n);
|
|
1056
1056
|
});
|
|
1057
1057
|
function N(e) {
|
|
1058
|
-
|
|
1058
|
+
C.value = e, S.value = [], T.value = !1;
|
|
1059
1059
|
}
|
|
1060
1060
|
async function P(e) {
|
|
1061
1061
|
p.value = !0;
|
|
@@ -1109,14 +1109,14 @@ var dt = /*@__PURE__*/ N({
|
|
|
1109
1109
|
k.value = "Заповніть обовʼязкові поля та окресліть територію на карті або імпортуйте геометрію";
|
|
1110
1110
|
return;
|
|
1111
1111
|
}
|
|
1112
|
-
let e =
|
|
1112
|
+
let e = C.value ?? ee(S.value);
|
|
1113
1113
|
if (!e) {
|
|
1114
1114
|
k.value = "Некоректний контур території";
|
|
1115
1115
|
return;
|
|
1116
1116
|
}
|
|
1117
1117
|
O.value = !0;
|
|
1118
1118
|
try {
|
|
1119
|
-
let t = await
|
|
1119
|
+
let t = await w({
|
|
1120
1120
|
organization_id: i.value,
|
|
1121
1121
|
work_type: _.value,
|
|
1122
1122
|
settlement_id: o.value,
|
|
@@ -1158,7 +1158,7 @@ var dt = /*@__PURE__*/ N({
|
|
|
1158
1158
|
basis: b,
|
|
1159
1159
|
notes: x,
|
|
1160
1160
|
mapPoints: S,
|
|
1161
|
-
importedGeom:
|
|
1161
|
+
importedGeom: C,
|
|
1162
1162
|
importOpen: T,
|
|
1163
1163
|
addressPoint: D,
|
|
1164
1164
|
submitting: O,
|
|
@@ -1356,6 +1356,6 @@ function Bt(e, t, n, r, i, a) {
|
|
|
1356
1356
|
})) : O("", !0)
|
|
1357
1357
|
]);
|
|
1358
1358
|
}
|
|
1359
|
-
var Vt = /*#__PURE__*/ e(dt, [["render", Bt], ["__file", "
|
|
1359
|
+
var Vt = /*#__PURE__*/ e(dt, [["render", Bt], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/create.vue"]]);
|
|
1360
1360
|
//#endregion
|
|
1361
1361
|
export { Vt as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { o 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 { createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, openBlock as l, ref as u, toDisplayString as d, vModelText as f, withCtx as p, withDirectives as m, withModifiers as h } from "vue";
|
|
5
5
|
import { RouterLink as g, useRoute as _ } from "vue-router";
|
|
6
6
|
//#region cabinet/src/pages/password/forgot.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -47,7 +47,7 @@ var v = /*@__PURE__*/ c({
|
|
|
47
47
|
value: !0
|
|
48
48
|
}), p;
|
|
49
49
|
}
|
|
50
|
-
}), y = { class: "flex min-h-screen items-center justify-center bg-gradient-to-br from-
|
|
50
|
+
}), y = { class: "flex min-h-screen items-center justify-center bg-gradient-to-br from-[#eef6ff] via-white to-slate-100 px-4" }, b = { class: "w-full max-w-md" }, x = { class: "mb-8 text-center" }, S = { 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" }, C = {
|
|
51
51
|
key: 0,
|
|
52
52
|
class: "rounded-2xl border border-slate-200 bg-white p-8 shadow-sm"
|
|
53
53
|
}, w = { class: "block text-sm font-medium text-slate-700" }, T = {
|
|
@@ -58,13 +58,13 @@ function O(e, t, n, c, u, g) {
|
|
|
58
58
|
return l(), i("div", y, [a("div", b, [a("div", x, [
|
|
59
59
|
a("div", S, [s(c.AppIcon, {
|
|
60
60
|
name: "map-pinned",
|
|
61
|
-
class: "h-7 w-7 text-
|
|
61
|
+
class: "h-7 w-7 text-[#1f5ae0]"
|
|
62
62
|
})]),
|
|
63
63
|
t[1] ||= a("h1", { class: "text-2xl font-semibold text-slate-900" }, "Відновлення пароля", -1),
|
|
64
64
|
t[2] ||= a("p", { class: "mt-1 text-sm text-slate-500" }, "Вкажіть email — надішлемо одноразове посилання", -1)
|
|
65
65
|
]), c.sent ? (l(), i("div", C, [t[4] ||= a("p", { class: "rounded-xl border border-emerald-200 bg-emerald-50 px-4 py-3 text-sm text-emerald-800" }, " Якщо обліковий запис із цією адресою зареєстровано, на пошту надійде лист із посиланням для встановлення нового пароля. Посилання дійсне 1 годину. ", -1), s(c.RouterLink, {
|
|
66
66
|
to: "/login",
|
|
67
|
-
class: "mt-4 block w-full rounded-xl bg-
|
|
67
|
+
class: "mt-4 block w-full rounded-xl bg-[#1f5ae0] py-2.5 text-center text-sm font-semibold text-white transition-colors hover:bg-[#1a46b8]"
|
|
68
68
|
}, {
|
|
69
69
|
default: p(() => [...t[3] ||= [o(" Повернутися до входу ", -1)]]),
|
|
70
70
|
_: 1
|
|
@@ -78,23 +78,23 @@ function O(e, t, n, c, u, g) {
|
|
|
78
78
|
type: "email",
|
|
79
79
|
autocomplete: "username",
|
|
80
80
|
placeholder: "email@example.com",
|
|
81
|
-
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-
|
|
81
|
+
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]"
|
|
82
82
|
}, null, 512), [[f, c.email]])]),
|
|
83
83
|
c.error ? (l(), i("p", T, d(c.error), 1)) : r("", !0),
|
|
84
84
|
a("button", {
|
|
85
85
|
type: "submit",
|
|
86
|
-
class: "mt-4 w-full rounded-xl bg-
|
|
86
|
+
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",
|
|
87
87
|
disabled: c.submitting
|
|
88
88
|
}, d(c.submitting ? "Надсилання…" : "Надіслати лист"), 9, E),
|
|
89
89
|
a("p", D, [t[7] ||= o(" Згадали пароль? ", -1), s(c.RouterLink, {
|
|
90
90
|
to: "/login",
|
|
91
|
-
class: "font-medium text-
|
|
91
|
+
class: "font-medium text-[#1a46b8] hover:text-[#1c3776] hover:underline"
|
|
92
92
|
}, {
|
|
93
93
|
default: p(() => [...t[6] ||= [o(" Увійти ", -1)]]),
|
|
94
94
|
_: 1
|
|
95
95
|
})])
|
|
96
96
|
], 32))])]);
|
|
97
97
|
}
|
|
98
|
-
var k = /*#__PURE__*/ e(v, [["render", O], ["__file", "
|
|
98
|
+
var k = /*#__PURE__*/ e(v, [["render", O], ["__file", "C:/softpro/surveyor/cabinet/src/pages/password/forgot.vue"]]);
|
|
99
99
|
//#endregion
|
|
100
100
|
export { k as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { t } from "./auth-acuaYbYM.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/login/index.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -63,7 +63,7 @@ var b = /*@__PURE__*/ l({
|
|
|
63
63
|
value: !0
|
|
64
64
|
}), b;
|
|
65
65
|
}
|
|
66
|
-
}), x = { class: "flex min-h-screen items-center justify-center bg-gradient-to-br from-
|
|
66
|
+
}), x = { class: "flex min-h-screen items-center justify-center bg-gradient-to-br from-[#eef6ff] via-white to-slate-100 px-4" }, S = { class: "w-full max-w-md" }, C = { class: "mb-8 text-center" }, w = { 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" }, T = {
|
|
67
67
|
key: 0,
|
|
68
68
|
class: "mb-4 rounded-xl border border-emerald-200 bg-emerald-50 px-4 py-3 text-sm text-emerald-800"
|
|
69
69
|
}, E = {
|
|
@@ -78,7 +78,7 @@ function M(e, t, n, r, l, d) {
|
|
|
78
78
|
o("div", C, [
|
|
79
79
|
o("div", w, [c(r.AppIcon, {
|
|
80
80
|
name: "map-pinned",
|
|
81
|
-
class: "h-7 w-7 text-
|
|
81
|
+
class: "h-7 w-7 text-[#1f5ae0]"
|
|
82
82
|
})]),
|
|
83
83
|
t[2] ||= o("h1", { class: "text-2xl font-semibold text-slate-900" }, "Кабінет геодезиста", -1),
|
|
84
84
|
t[3] ||= o("p", { class: "mt-1 text-sm text-slate-500" }, "Вхід за email і паролем", -1)
|
|
@@ -94,24 +94,24 @@ function M(e, t, n, r, l, d) {
|
|
|
94
94
|
type: "email",
|
|
95
95
|
autocomplete: "username",
|
|
96
96
|
placeholder: "email@example.com",
|
|
97
|
-
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-
|
|
97
|
+
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]"
|
|
98
98
|
}, null, 512), [[p, r.email]])]),
|
|
99
99
|
o("label", O, [t[5] ||= s(" Пароль ", -1), h(o("input", {
|
|
100
100
|
"onUpdate:modelValue": t[1] ||= (e) => r.password = e,
|
|
101
101
|
type: "password",
|
|
102
102
|
autocomplete: "current-password",
|
|
103
103
|
placeholder: "Пароль",
|
|
104
|
-
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-
|
|
104
|
+
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]"
|
|
105
105
|
}, null, 512), [[p, r.password]])]),
|
|
106
106
|
r.error ? (u(), a("p", k, f(r.error), 1)) : i("", !0),
|
|
107
107
|
o("button", {
|
|
108
108
|
type: "submit",
|
|
109
|
-
class: "mt-4 w-full rounded-xl bg-
|
|
109
|
+
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",
|
|
110
110
|
disabled: r.submitting
|
|
111
111
|
}, f(r.submitting ? "Вхід…" : "Увійти"), 9, A),
|
|
112
112
|
o("p", j, [c(r.RouterLink, {
|
|
113
113
|
to: r.forgotLink,
|
|
114
|
-
class: "text-sm font-medium text-slate-600 transition-colors hover:text-
|
|
114
|
+
class: "text-sm font-medium text-slate-600 transition-colors hover:text-[#1a46b8] hover:underline"
|
|
115
115
|
}, {
|
|
116
116
|
default: m(() => [...t[6] ||= [s(" Забули пароль? ", -1)]]),
|
|
117
117
|
_: 1
|
|
@@ -119,6 +119,6 @@ function M(e, t, n, r, l, d) {
|
|
|
119
119
|
], 32)
|
|
120
120
|
])]);
|
|
121
121
|
}
|
|
122
|
-
var N = /*#__PURE__*/ e(b, [["render", M], ["__file", "
|
|
122
|
+
var N = /*#__PURE__*/ e(b, [["render", M], ["__file", "C:/softpro/surveyor/cabinet/src/pages/login/index.vue"]]);
|
|
123
123
|
//#endregion
|
|
124
124
|
export { N as default };
|