@opengis/surveyor 0.0.16 → 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/{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-Cu6QmJjm.js} +159 -159
- 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-B113dNzv.js → card-BCMJyzgE.js} +27 -27
- package/dist/chunks/{card-COmcUdms.js → card-BiKSZfYj.js} +1 -1
- 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 +19 -19
- package/package.json +80 -83
|
@@ -3,11 +3,11 @@ import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
|
|
|
3
3
|
import { c as r, s as i } from "./resources-Cj8BzrBX.js";
|
|
4
4
|
import { t as a } from "./VerifiedBadge-bk0n-rlC.js";
|
|
5
5
|
import { t as o } from "./UserAccessBadge-DyZDv7Oo.js";
|
|
6
|
-
import { n as s, t as c } from "./AppealDetailField-
|
|
6
|
+
import { n as s, t as c } from "./AppealDetailField-ByK9ZqR4.js";
|
|
7
7
|
import { i as ee, r as l, t as u } from "./surveyorAccount-Cfba7ZVZ.js";
|
|
8
8
|
import { t as d } from "./SurveyorTeleport-Cd6D92mo.js";
|
|
9
9
|
import { t as f } from "./BaseModal-BJxKuONh.js";
|
|
10
|
-
import { t as p } from "./RegistryForm-
|
|
10
|
+
import { t as p } from "./RegistryForm-Dpis_ncj.js";
|
|
11
11
|
import { n as m } from "./certificates-Be6u7Cix.js";
|
|
12
12
|
import { n as h, t as g } from "./resendSurveyorRegistration-BQjL9IgM.js";
|
|
13
13
|
import { t as _ } from "./form-CEfc_shb.js";
|
|
@@ -42,7 +42,7 @@ function U(e, t, n, r, i, a) {
|
|
|
42
42
|
r.config.border
|
|
43
43
|
]]) }, [S("span", { class: D(["h-1.5 w-1.5 rounded-full", r.config.dot]) }, null, 2), w(" " + N(r.config.label), 1)], 2);
|
|
44
44
|
}
|
|
45
|
-
var ae = /*#__PURE__*/ e(H, [["render", U], ["__file", "C:/softpro/surveyor/admin/src/components/ui/ValidityBadge.vue"]]), oe = "h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors focus:border-
|
|
45
|
+
var ae = /*#__PURE__*/ e(H, [["render", U], ["__file", "C:/softpro/surveyor/admin/src/components/ui/ValidityBadge.vue"]]), oe = "h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors focus:border-[#599dff] focus:ring-1 focus:ring-[#599dff]", W = /*@__PURE__*/ E({
|
|
46
46
|
__name: "OrganizationUsers",
|
|
47
47
|
props: {
|
|
48
48
|
orgId: {
|
|
@@ -325,7 +325,7 @@ var ae = /*#__PURE__*/ e(H, [["render", U], ["__file", "C:/softpro/surveyor/admi
|
|
|
325
325
|
value: !0
|
|
326
326
|
}), $;
|
|
327
327
|
}
|
|
328
|
-
}), G = { class: "rounded-xl border border-slate-200 bg-white shadow-
|
|
328
|
+
}), G = { class: "rounded-xl border border-slate-200 bg-white shadow-[0_1px_2px_0_rgb(15_23_42/0.04),0_1px_3px_0_rgb(15_23_42/0.06)]" }, K = { class: "flex items-center justify-between gap-2.5 border-b border-slate-100 px-5 py-3.5" }, q = { class: "flex items-center gap-2.5" }, J = { class: "text-[#1f5ae0]" }, Y = { class: "overflow-x-auto" }, X = { class: "w-full min-w-[1080px] table-fixed text-left text-[13px]" }, Z = { class: "divide-y divide-slate-100" }, se = { class: "px-5 py-3.5" }, ce = {
|
|
329
329
|
key: 0,
|
|
330
330
|
class: "mt-1 text-xs text-slate-400"
|
|
331
331
|
}, le = { class: "px-5 py-3.5 leading-snug text-slate-600" }, ue = { class: "px-5 py-3.5 leading-snug text-slate-600" }, Q = { class: "px-5 py-3.5 text-slate-600" }, $ = { class: "px-5 py-3.5" }, de = { class: "px-5 py-3.5 text-center" }, fe = [
|
|
@@ -371,7 +371,7 @@ function Ve(e, t, n, r, i, a) {
|
|
|
371
371
|
class: "h-[18px] w-[18px]"
|
|
372
372
|
})]), t[9] ||= S("h2", { class: "text-[15px] font-semibold text-slate-800" }, "Користувачі", -1)]), S("button", {
|
|
373
373
|
type: "button",
|
|
374
|
-
class: "inline-flex h-8 items-center gap-1.5 rounded-lg bg-
|
|
374
|
+
class: "inline-flex h-8 items-center gap-1.5 rounded-lg bg-[#1f5ae0] px-3 text-[13px] font-semibold text-white shadow-sm transition-colors hover:bg-[#1a46b8]",
|
|
375
375
|
onClick: r.openAdd
|
|
376
376
|
}, [T(r.AppIcon, {
|
|
377
377
|
name: "plus",
|
|
@@ -396,14 +396,14 @@ function Ve(e, t, n, r, i, a) {
|
|
|
396
396
|
])], -1),
|
|
397
397
|
S("tbody", Z, [(k(!0), x(v, null, j(n.users, (e) => (k(), x("tr", {
|
|
398
398
|
key: e.surveyor_id,
|
|
399
|
-
class: "align-top transition-colors hover:bg-
|
|
399
|
+
class: "align-top transition-colors hover:bg-[#eef6ff]/40"
|
|
400
400
|
}, [
|
|
401
401
|
S("td", se, [T(o, {
|
|
402
402
|
to: {
|
|
403
403
|
name: "surveyor-detail",
|
|
404
404
|
params: { id: e.surveyor_id }
|
|
405
405
|
},
|
|
406
|
-
class: "font-semibold text-
|
|
406
|
+
class: "font-semibold text-[#1a46b8] hover:text-[#1c3776] hover:underline"
|
|
407
407
|
}, {
|
|
408
408
|
default: I(() => [w(N(r.personName(e)), 1)]),
|
|
409
409
|
_: 2
|
|
@@ -418,7 +418,7 @@ function Ve(e, t, n, r, i, a) {
|
|
|
418
418
|
S("td", de, [S("button", {
|
|
419
419
|
type: "button",
|
|
420
420
|
"data-user-menu": "",
|
|
421
|
-
class: "inline-flex h-8 w-8 items-center justify-center rounded-lg text-slate-400 transition-colors hover:bg-
|
|
421
|
+
class: "inline-flex h-8 w-8 items-center justify-center rounded-lg text-slate-400 transition-colors hover:bg-[#eef6ff] hover:text-[#1a46b8]",
|
|
422
422
|
"aria-label": `Дії для ${r.personName(e)}`,
|
|
423
423
|
"aria-expanded": r.openMenuId === e.surveyor_id,
|
|
424
424
|
onClick: R((t) => r.toggleMenu(e.surveyor_id, t), ["stop"])
|
|
@@ -429,7 +429,7 @@ function Ve(e, t, n, r, i, a) {
|
|
|
429
429
|
default: I(() => [r.openMenuId === e.surveyor_id ? (k(), x("div", {
|
|
430
430
|
key: 0,
|
|
431
431
|
"data-user-menu": "",
|
|
432
|
-
class: "fixed z-50 w-64 overflow-hidden rounded-lg border border-slate-200 bg-white py-1 text-left shadow-
|
|
432
|
+
class: "fixed z-50 w-64 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)]",
|
|
433
433
|
style: O(r.menuStyle)
|
|
434
434
|
}, [
|
|
435
435
|
S("button", {
|
|
@@ -491,7 +491,7 @@ function Ve(e, t, n, r, i, a) {
|
|
|
491
491
|
onClick: r.closeDialog
|
|
492
492
|
}, " Скасувати ", 8, ze), S("button", {
|
|
493
493
|
type: "button",
|
|
494
|
-
class: "rounded-lg bg-
|
|
494
|
+
class: "rounded-lg bg-[#1f5ae0] px-4 py-2.5 text-sm font-semibold text-white hover:bg-[#1a46b8] disabled:opacity-60",
|
|
495
495
|
disabled: r.saving || r.dialog === "add" && !r.selectedAvailable,
|
|
496
496
|
onClick: t[7] ||= (e) => r.dialog === "add" ? r.submitAdd() : r.submitEdit()
|
|
497
497
|
}, N(r.saving ? "Збереження…" : r.dialog === "add" ? "Додати" : "Зберегти"), 9, Be)])]),
|
|
@@ -671,16 +671,16 @@ var He = /*#__PURE__*/ e(W, [["render", Ve], ["__file", "C:/softpro/surveyor/adm
|
|
|
671
671
|
class: "pl-0"
|
|
672
672
|
}, Ke = { class: "mb-6" }, qe = { class: "mb-4 flex items-center gap-1.5 text-sm" }, Je = { class: "font-medium text-slate-700" }, Ye = { class: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between" }, Xe = { class: "text-xl font-bold tracking-tight text-slate-900" }, Ze = { class: "flex flex-col gap-5" }, Qe = {
|
|
673
673
|
key: 0,
|
|
674
|
-
class: "rounded-xl border border-slate-200 bg-white p-5 shadow-
|
|
674
|
+
class: "rounded-xl border border-slate-200 bg-white p-5 shadow-[0_1px_2px_0_rgb(15_23_42/0.04),0_1px_3px_0_rgb(15_23_42/0.06)]"
|
|
675
675
|
}, $e = { class: "mt-4 flex justify-end gap-3 border-t border-slate-100 pt-4" }, et = { class: "grid grid-cols-1 gap-x-6 gap-y-4 sm:grid-cols-2" }, tt = { class: "flex items-center gap-2" }, nt = ["href"], rt = ["href"], it = { class: "mt-1 text-xs text-slate-400" }, at = {
|
|
676
676
|
key: 2,
|
|
677
|
-
class: "rounded-xl border border-slate-200 bg-white px-6 py-16 text-center shadow-
|
|
677
|
+
class: "rounded-xl border border-slate-200 bg-white px-6 py-16 text-center shadow-[0_1px_2px_0_rgb(15_23_42/0.04),0_1px_3px_0_rgb(15_23_42/0.06)]"
|
|
678
678
|
}, ot = { class: "text-sm text-slate-500" };
|
|
679
679
|
function st(e, t, n, r, i, a) {
|
|
680
680
|
return r.loading ? (k(), x("div", We, " Завантаження… ")) : r.organization ? (k(), x("div", Ge, [S("header", Ke, [S("nav", qe, [
|
|
681
681
|
T(r.RouterLink, {
|
|
682
682
|
to: r.listPath,
|
|
683
|
-
class: "flex items-center gap-1 text-slate-400 transition-colors hover:text-
|
|
683
|
+
class: "flex items-center gap-1 text-slate-400 transition-colors hover:text-[#1f5ae0]"
|
|
684
684
|
}, {
|
|
685
685
|
default: I(() => [T(r.AppIcon, {
|
|
686
686
|
name: "home",
|
|
@@ -693,7 +693,7 @@ function st(e, t, n, r, i, a) {
|
|
|
693
693
|
]), S("div", Ye, [S("h1", Xe, N(r.organization.name), 1), r.editing ? b("", !0) : (k(), x("button", {
|
|
694
694
|
key: 0,
|
|
695
695
|
type: "button",
|
|
696
|
-
class: "inline-flex h-10 items-center gap-2 rounded-lg border border-slate-200 bg-white px-4 text-sm font-semibold text-slate-700 transition-colors hover:border-
|
|
696
|
+
class: "inline-flex h-10 items-center gap-2 rounded-lg border border-slate-200 bg-white px-4 text-sm font-semibold text-slate-700 transition-colors hover:border-[#8ec1ff] hover:text-[#1a46b8]",
|
|
697
697
|
onClick: r.startEdit
|
|
698
698
|
}, [T(r.AppIcon, {
|
|
699
699
|
name: "pencil",
|
|
@@ -711,7 +711,7 @@ function st(e, t, n, r, i, a) {
|
|
|
711
711
|
onClick: r.cancelEdit
|
|
712
712
|
}, " Скасувати "), S("button", {
|
|
713
713
|
type: "button",
|
|
714
|
-
class: "inline-flex h-10 items-center rounded-lg bg-
|
|
714
|
+
class: "inline-flex h-10 items-center rounded-lg bg-[#1f5ae0] px-4 text-sm font-semibold text-white transition-colors hover:bg-[#1a46b8]",
|
|
715
715
|
onClick: t[0] ||= (e) => r.formRef?.submit()
|
|
716
716
|
}, " Зберегти зміни ")])])) : (k(), x(v, { key: 1 }, [T(r.AppealDetailSection, { title: "Інформація про організацію" }, {
|
|
717
717
|
icon: I(() => [T(r.AppIcon, {
|
|
@@ -752,7 +752,7 @@ function st(e, t, n, r, i, a) {
|
|
|
752
752
|
name: "actions",
|
|
753
753
|
fn: I(() => [S("div", tt, [S("a", {
|
|
754
754
|
href: r.fileUrl(r.organization.scan_path, !0),
|
|
755
|
-
class: "inline-flex h-8 items-center gap-1.5 rounded-lg border border-slate-200 px-2.5 text-[13px] font-medium text-slate-600 transition-colors hover:border-
|
|
755
|
+
class: "inline-flex h-8 items-center gap-1.5 rounded-lg border border-slate-200 px-2.5 text-[13px] font-medium text-slate-600 transition-colors hover:border-[#8ec1ff] hover:bg-[#eef6ff] hover:text-[#1a46b8]"
|
|
756
756
|
}, [T(r.AppIcon, {
|
|
757
757
|
name: "download",
|
|
758
758
|
class: "h-3.5 w-3.5"
|
|
@@ -760,7 +760,7 @@ function st(e, t, n, r, i, a) {
|
|
|
760
760
|
href: r.fileUrl(r.organization.scan_path),
|
|
761
761
|
target: "_blank",
|
|
762
762
|
rel: "noopener",
|
|
763
|
-
class: "inline-flex h-8 items-center gap-1.5 rounded-lg border border-slate-200 px-2.5 text-[13px] font-medium text-slate-600 transition-colors hover:border-
|
|
763
|
+
class: "inline-flex h-8 items-center gap-1.5 rounded-lg border border-slate-200 px-2.5 text-[13px] font-medium text-slate-600 transition-colors hover:border-[#8ec1ff] hover:bg-[#eef6ff] hover:text-[#1a46b8]"
|
|
764
764
|
}, [T(r.AppIcon, {
|
|
765
765
|
name: "eye",
|
|
766
766
|
class: "h-3.5 w-3.5"
|
|
@@ -777,7 +777,7 @@ function st(e, t, n, r, i, a) {
|
|
|
777
777
|
"users"
|
|
778
778
|
])])])) : (k(), x("div", at, [S("p", ot, N(r.error || "Організацію не знайдено."), 1), T(r.RouterLink, {
|
|
779
779
|
to: r.listPath,
|
|
780
|
-
class: "mt-3 inline-block text-sm font-medium text-
|
|
780
|
+
class: "mt-3 inline-block text-sm font-medium text-[#1f5ae0] hover:text-[#1a46b8]"
|
|
781
781
|
}, {
|
|
782
782
|
default: I(() => [...t[8] ||= [w(" Повернутися до реєстру ", -1)]]),
|
|
783
783
|
_: 1
|
|
@@ -2,15 +2,15 @@ import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
|
2
2
|
import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
|
|
3
3
|
import { c as r, o as i, s as a } from "./resources-Cj8BzrBX.js";
|
|
4
4
|
import { t as ee } from "./UserTypeBadge-LvnMuKGo.js";
|
|
5
|
-
import { n as te, t as ne } from "./AppealDetailField-
|
|
5
|
+
import { n as te, t as ne } from "./AppealDetailField-ByK9ZqR4.js";
|
|
6
6
|
import { a as re, i as ie, n as ae, r as oe, t as se } from "./surveyorAccount-Cfba7ZVZ.js";
|
|
7
|
-
import { t as ce } from "./TablePagination-
|
|
7
|
+
import { t as ce } from "./TablePagination-thQkE5iA.js";
|
|
8
8
|
import { n as le, t as ue } from "./resendSurveyorRegistration-BQjL9IgM.js";
|
|
9
9
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, onMounted as de, onUnmounted as fe, openBlock as g, ref as _, renderList as v, toDisplayString as y, vModelText as b, watch as x, withCtx as S, withDirectives as C, withModifiers as w } from "vue";
|
|
10
10
|
import { RouterLink as pe, useRoute as me } from "vue-router";
|
|
11
11
|
import { confirm as he, notify as T } from "@opengis/core";
|
|
12
12
|
//#region admin/src/pages/users/card.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
-
var ge = "h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors focus:border-
|
|
13
|
+
var ge = "h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors focus:border-[#599dff] focus:ring-1 focus:ring-[#599dff]", E = /*@__PURE__*/ m({
|
|
14
14
|
__name: "card",
|
|
15
15
|
setup(e, { expose: o }) {
|
|
16
16
|
o();
|
|
@@ -284,7 +284,7 @@ var ge = "h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm t
|
|
|
284
284
|
"data-user-header-menu": ""
|
|
285
285
|
}, L = ["aria-expanded"], R = {
|
|
286
286
|
key: 0,
|
|
287
|
-
class: "absolute right-0 top-11 z-20 w-64 overflow-hidden rounded-lg border border-slate-200 bg-white py-1 text-left shadow-
|
|
287
|
+
class: "absolute right-0 top-11 z-20 w-64 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)]"
|
|
288
288
|
}, z = ["disabled"], B = { class: "flex flex-col gap-5" }, V = {
|
|
289
289
|
key: 0,
|
|
290
290
|
class: "grid grid-cols-1 gap-x-6 gap-y-4 sm:grid-cols-2"
|
|
@@ -308,16 +308,16 @@ var ge = "h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm t
|
|
|
308
308
|
class: "py-6 text-center text-sm text-slate-400"
|
|
309
309
|
}, Se = { key: 3 }, Ce = { class: "min-w-full table-fixed text-left text-[13px]" }, we = { class: "divide-y divide-slate-100" }, Te = { class: "px-1 py-3" }, Ee = { class: "px-1 py-3 text-slate-600" }, De = { class: "px-1 py-3 text-slate-600" }, Oe = {
|
|
310
310
|
key: 0,
|
|
311
|
-
class: "flex justify-end gap-3 rounded-xl border border-slate-200 bg-white px-5 py-4 shadow-
|
|
311
|
+
class: "flex justify-end gap-3 rounded-xl border border-slate-200 bg-white px-5 py-4 shadow-[0_1px_2px_0_rgb(15_23_42/0.04),0_1px_3px_0_rgb(15_23_42/0.06)]"
|
|
312
312
|
}, ke = ["disabled"], Ae = ["disabled"], je = {
|
|
313
313
|
key: 2,
|
|
314
|
-
class: "rounded-xl border border-slate-200 bg-white px-6 py-16 text-center shadow-
|
|
314
|
+
class: "rounded-xl border border-slate-200 bg-white px-6 py-16 text-center shadow-[0_1px_2px_0_rgb(15_23_42/0.04),0_1px_3px_0_rgb(15_23_42/0.06)]"
|
|
315
315
|
}, Me = { class: "text-sm text-slate-500" };
|
|
316
316
|
function Ne(e, t, n, r, i, a) {
|
|
317
317
|
return r.loading ? (g(), u("div", D, " Завантаження… ")) : r.surveyor ? (g(), u("div", O, [d("header", k, [d("nav", A, [
|
|
318
318
|
p(r.RouterLink, {
|
|
319
319
|
to: r.listPath,
|
|
320
|
-
class: "flex items-center gap-1 text-slate-400 transition-colors hover:text-
|
|
320
|
+
class: "flex items-center gap-1 text-slate-400 transition-colors hover:text-[#1f5ae0]"
|
|
321
321
|
}, {
|
|
322
322
|
default: S(() => [p(r.AppIcon, {
|
|
323
323
|
name: "home",
|
|
@@ -332,7 +332,7 @@ function Ne(e, t, n, r, i, a) {
|
|
|
332
332
|
type: r.registryType
|
|
333
333
|
}, null, 8, ["type"])) : r.certificate?.certificate_type_data?.text ? (g(), u("span", F, y(r.certificate.certificate_type_data.text), 1)) : l("", !0)]), d("div", I, [d("button", {
|
|
334
334
|
type: "button",
|
|
335
|
-
class: "inline-flex h-9 w-9 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 transition-colors hover:border-
|
|
335
|
+
class: "inline-flex h-9 w-9 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 transition-colors hover:border-[#8ec1ff] hover:text-[#1a46b8]",
|
|
336
336
|
"aria-label": "Дії",
|
|
337
337
|
"aria-expanded": r.menuOpen,
|
|
338
338
|
onClick: t[0] ||= w((e) => r.menuOpen = !r.menuOpen, ["stop"])
|
|
@@ -502,7 +502,7 @@ function Ne(e, t, n, r, i, a) {
|
|
|
502
502
|
name: "organization-detail",
|
|
503
503
|
params: { id: e.org_id }
|
|
504
504
|
},
|
|
505
|
-
class: "text-
|
|
505
|
+
class: "text-[#1f5ae0] transition-colors hover:text-[#1b3c95] hover:underline"
|
|
506
506
|
}, {
|
|
507
507
|
default: S(() => [f(y(e.name || "—"), 1)]),
|
|
508
508
|
_: 2
|
|
@@ -559,11 +559,11 @@ function Ne(e, t, n, r, i, a) {
|
|
|
559
559
|
])], -1),
|
|
560
560
|
d("tbody", we, [(g(!0), u(o, null, v(r.applications, (e) => (g(), u("tr", {
|
|
561
561
|
key: e.app_id,
|
|
562
|
-
class: "transition-colors hover:bg-
|
|
562
|
+
class: "transition-colors hover:bg-[#eef6ff]/40"
|
|
563
563
|
}, [
|
|
564
564
|
d("td", Te, [p(r.RouterLink, {
|
|
565
565
|
to: `/requests/${e.app_id}`,
|
|
566
|
-
class: "font-semibold text-
|
|
566
|
+
class: "font-semibold text-[#1a46b8] hover:text-[#1c3776] hover:underline"
|
|
567
567
|
}, {
|
|
568
568
|
default: S(() => [f(y(e.number || "—"), 1)]),
|
|
569
569
|
_: 2
|
|
@@ -592,13 +592,13 @@ function Ne(e, t, n, r, i, a) {
|
|
|
592
592
|
onClick: r.cancelEdit
|
|
593
593
|
}, " Скасувати ", 8, ke), d("button", {
|
|
594
594
|
type: "button",
|
|
595
|
-
class: "inline-flex h-10 items-center rounded-lg bg-
|
|
595
|
+
class: "inline-flex h-10 items-center rounded-lg bg-[#1f5ae0] px-4 text-sm font-semibold text-white transition-colors hover:bg-[#1a46b8] disabled:opacity-60",
|
|
596
596
|
disabled: r.saving,
|
|
597
597
|
onClick: r.saveEdit
|
|
598
598
|
}, y(r.saving ? "Збереження…" : "Зберегти зміни"), 9, Ae)])) : l("", !0)
|
|
599
599
|
])])) : (g(), u("div", je, [d("p", Me, y(r.error || "Користувача не знайдено."), 1), p(r.RouterLink, {
|
|
600
600
|
to: r.listPath,
|
|
601
|
-
class: "mt-3 inline-block text-sm font-medium text-
|
|
601
|
+
class: "mt-3 inline-block text-sm font-medium text-[#1f5ae0] hover:text-[#1a46b8]"
|
|
602
602
|
}, {
|
|
603
603
|
default: S(() => [...t[20] ||= [f(" Повернутися до реєстру ", -1)]]),
|
|
604
604
|
_: 1
|
|
@@ -3,9 +3,9 @@ import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
|
|
|
3
3
|
import { a as r } from "./resources-Cj8BzrBX.js";
|
|
4
4
|
import { t as i } from "./VerifiedBadge-bk0n-rlC.js";
|
|
5
5
|
import { n as a } from "./filterQuery-Dka-mIso.js";
|
|
6
|
-
import { i as o, n as s, r as c, t as l } from "./RegistryToolbar-
|
|
7
|
-
import { t as u } from "./TablePagination-
|
|
8
|
-
import { t as d } from "./RegistryFormModal-
|
|
6
|
+
import { i as o, n as s, r as c, t as l } from "./RegistryToolbar-DisEejvi.js";
|
|
7
|
+
import { t as u } from "./TablePagination-thQkE5iA.js";
|
|
8
|
+
import { t as d } from "./RegistryFormModal-CH4DbTvC.js";
|
|
9
9
|
import { i as f, r as p, t as m } from "./certificates-Be6u7Cix.js";
|
|
10
10
|
import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as x, createVNode as S, defineComponent as C, normalizeClass as w, openBlock as T, ref as E, renderList as D, toDisplayString as O, vModelText as k, withCtx as A, withDirectives as j } from "vue";
|
|
11
11
|
import { RouterLink as M } from "vue-router";
|
|
@@ -116,12 +116,12 @@ var N = /*@__PURE__*/ C({
|
|
|
116
116
|
}
|
|
117
117
|
}), P = { class: "px-4" }, F = { class: "relative block" }, I = {
|
|
118
118
|
type: "button",
|
|
119
|
-
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-
|
|
119
|
+
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]",
|
|
120
120
|
"aria-label": "Експорт",
|
|
121
121
|
title: "Експорт"
|
|
122
122
|
}, L = { class: "relative" }, R = {
|
|
123
123
|
key: 0,
|
|
124
|
-
class: "absolute right-0 top-12 z-20 w-64 rounded-lg border border-slate-200 bg-white p-2 shadow-
|
|
124
|
+
class: "absolute right-0 top-12 z-20 w-64 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)]"
|
|
125
125
|
}, z = ["checked", "onChange"], B = { class: "mt-3 flex items-center justify-between border-t border-slate-100 pt-3 text-xs text-slate-400" }, V = { class: "font-semibold text-slate-600" }, H = {
|
|
126
126
|
key: 1,
|
|
127
127
|
class: "break-words font-medium text-slate-700"
|
|
@@ -140,7 +140,7 @@ function G(e, t, n, r, i, a) {
|
|
|
140
140
|
}, {
|
|
141
141
|
default: A(() => [b("button", {
|
|
142
142
|
type: "button",
|
|
143
|
-
class: "inline-flex h-10 items-center justify-center gap-2 rounded-lg bg-
|
|
143
|
+
class: "inline-flex h-10 items-center justify-center gap-2 rounded-lg bg-[#1f5ae0] px-4 text-sm font-semibold text-white shadow-sm transition-colors hover:bg-[#1a46b8]",
|
|
144
144
|
onClick: t[0] ||= (e) => r.showAddModal = !0
|
|
145
145
|
}, [S(r.AppIcon, {
|
|
146
146
|
name: "plus",
|
|
@@ -161,14 +161,14 @@ function G(e, t, n, r, i, a) {
|
|
|
161
161
|
"onUpdate:modelValue": t[1] ||= (e) => r.query = e,
|
|
162
162
|
type: "search",
|
|
163
163
|
placeholder: "Пошук (ПІБ, номер сертифіката)…",
|
|
164
|
-
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-
|
|
164
|
+
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]"
|
|
165
165
|
}, null, 512), [[k, r.query]])])]),
|
|
166
166
|
actions: A(() => [b("button", I, [S(r.AppIcon, {
|
|
167
167
|
name: "download",
|
|
168
168
|
class: "h-4 w-4"
|
|
169
169
|
})]), b("div", L, [b("button", {
|
|
170
170
|
type: "button",
|
|
171
|
-
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-
|
|
171
|
+
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]",
|
|
172
172
|
"aria-label": "Налаштувати колонки",
|
|
173
173
|
onClick: t[2] ||= (e) => r.columnsOpen = !r.columnsOpen
|
|
174
174
|
}, [S(r.AppIcon, {
|
|
@@ -180,7 +180,7 @@ function G(e, t, n, r, i, a) {
|
|
|
180
180
|
}, [b("input", {
|
|
181
181
|
type: "checkbox",
|
|
182
182
|
checked: r.visibleColumns.includes(e.key),
|
|
183
|
-
class: "h-4 w-4 accent-
|
|
183
|
+
class: "h-4 w-4 accent-[#1f5ae0]",
|
|
184
184
|
onChange: (t) => r.toggleColumn(e.key)
|
|
185
185
|
}, null, 40, z), x(" " + O(e.label), 1)]))), 128))])) : v("", !0)])]),
|
|
186
186
|
_: 1
|
|
@@ -198,7 +198,7 @@ function G(e, t, n, r, i, a) {
|
|
|
198
198
|
cell: A(({ row: e, column: t }) => [t === "fullName" ? (T(), _(r.RouterLink, {
|
|
199
199
|
key: 0,
|
|
200
200
|
to: r.detailPath(e.certificate_id),
|
|
201
|
-
class: "block w-full max-w-full break-words text-left font-semibold text-
|
|
201
|
+
class: "block w-full max-w-full break-words text-left font-semibold text-[#1a46b8] hover:text-[#1c3776] hover:underline"
|
|
202
202
|
}, {
|
|
203
203
|
default: A(() => [x(O(r.personName(e)), 1)]),
|
|
204
204
|
_: 2
|
|
@@ -207,10 +207,10 @@ function G(e, t, n, r, i, a) {
|
|
|
207
207
|
verified: e.isvalid
|
|
208
208
|
}, null, 8, ["verified"])) : t === "verified" ? (T(), y("span", U, "—")) : t === "qualificationUpgrade" ? (T(), y("span", W, O(r.formatDate(e.last_qualification_date) || "—"), 1)) : t === "suspendedAt" ? (T(), y("span", {
|
|
209
209
|
key: 5,
|
|
210
|
-
class: w(["whitespace-nowrap", e.certificate_suspension ? "font-medium text-
|
|
210
|
+
class: w(["whitespace-nowrap", e.certificate_suspension ? "font-medium text-red-700" : "text-slate-400"])
|
|
211
211
|
}, O(r.formatDate(e.certificate_suspension) || "—"), 3)) : t === "terminatedAt" ? (T(), y("span", {
|
|
212
212
|
key: 6,
|
|
213
|
-
class: w(["whitespace-nowrap", e.certificate_stopping ? "font-medium text-
|
|
213
|
+
class: w(["whitespace-nowrap", e.certificate_stopping ? "font-medium text-red-700" : "text-slate-400"])
|
|
214
214
|
}, O(e.certificate_stopping || "—"), 3)) : v("", !0)]),
|
|
215
215
|
_: 1
|
|
216
216
|
}, 8, [
|
|
@@ -7,7 +7,7 @@ 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-
|
|
10
|
+
import { t as x } from "./MapLayerMenu-B0TEoCJm.js";
|
|
11
11
|
import { t as S } from "./FormFilePicker-DxPQlxgy.js";
|
|
12
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";
|
|
@@ -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,17 +78,17 @@ 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
|
|
@@ -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
|