@opengis/surveyor 0.0.16 → 0.0.18
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-DMPn9bkq.js} +176 -166
- 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-COmcUdms.js → card-BP4nulPr.js} +1 -1
- package/dist/chunks/{card-B113dNzv.js → card-CBOQibhl.js} +27 -27
- 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 +22 -26
- package/migrations/20261019170000_actor_lookup.sql +25 -10
- package/migrations/20261105120000_user_lookup.sql +15 -0
- package/package.json +80 -83
- package/server/resources/helpers/user_lookup.ts +2 -2
|
@@ -3,7 +3,7 @@ import { a as t, d as n, l as r, s as i, t as a } from "./resources-Cj8BzrBX.js"
|
|
|
3
3
|
import { l as o, o as s } from "./filterQuery-Dka-mIso.js";
|
|
4
4
|
import { t as c } from "./SurveyorTeleport-Cd6D92mo.js";
|
|
5
5
|
import { c as l, d as u, f as d, l as f, m as p, p as m, t as h, u as g } from "./appealMapLayers-CQMK3rrz.js";
|
|
6
|
-
import { a as _, c as v, l as y, o as b, s as x, t as S, u as C } from "./AppealStatusBadge-
|
|
6
|
+
import { a as _, c as v, l as y, o as b, s as x, t as S, u as C } from "./AppealStatusBadge-DzMn4RVy.js";
|
|
7
7
|
import { a as w, c as T, d as ee, i as E, l as D, n as te, o as O, r as ne, s as re, t as ie, u as ae } from "./mapLayersApi-CBLcbADa.js";
|
|
8
8
|
import { i as oe, n as se } from "./geometry-DyhIVRcw.js";
|
|
9
9
|
import { Fragment as k, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createTextVNode as F, createVNode as I, defineComponent as L, nextTick as ce, normalizeClass as R, normalizeStyle as z, onMounted as le, onUnmounted as ue, openBlock as B, ref as V, renderList as H, shallowRef as de, toDisplayString as U, useTemplateRef as W, vModelText as fe, watch as G, withCtx as K, withDirectives as q, withModifiers as pe } from "vue";
|
|
@@ -876,7 +876,7 @@ function wt(e, t, n, r, i, a) {
|
|
|
876
876
|
"data-map-filter-ui": "",
|
|
877
877
|
"aria-expanded": r.open,
|
|
878
878
|
"aria-label": n.label,
|
|
879
|
-
class: R(["flex h-9 w-full items-center justify-between gap-2 rounded-lg border bg-white px-2.5 text-left text-xs text-slate-700 outline-none transition-colors focus:border-
|
|
879
|
+
class: R(["flex h-9 w-full items-center justify-between gap-2 rounded-lg border bg-white px-2.5 text-left text-xs text-slate-700 outline-none transition-colors focus:border-[#599dff] focus:ring-1 focus:ring-[#d9eaff]", r.open ? "border-[#599dff] ring-1 ring-[#d9eaff]" : "border-slate-200"]),
|
|
880
880
|
onClick: t[0] ||= (e) => r.open = !r.open
|
|
881
881
|
}, [P("span", yt, U(r.selectedLabel), 1), I(r.ChevronDown, { class: R(["h-3.5 w-3.5 shrink-0 text-slate-400 transition-transform", r.open ? "rotate-180" : ""]) }, null, 8, ["class"])], 10, vt), I(r.SurveyorTeleport, null, {
|
|
882
882
|
default: K(() => [r.open && r.menuStyle ? (B(), N("div", {
|
|
@@ -892,9 +892,9 @@ function wt(e, t, n, r, i, a) {
|
|
|
892
892
|
type: "button",
|
|
893
893
|
role: "option",
|
|
894
894
|
"aria-selected": !n.modelValue.length,
|
|
895
|
-
class: R(["flex w-full items-center gap-2 px-2.5 py-2 text-left text-xs transition-colors hover:bg-slate-50", n.modelValue.length ? "text-slate-700" : "bg-
|
|
895
|
+
class: R(["flex w-full items-center gap-2 px-2.5 py-2 text-left text-xs transition-colors hover:bg-slate-50", n.modelValue.length ? "text-slate-700" : "bg-[#eef6ff] font-medium text-[#1a46b8]"]),
|
|
896
896
|
onClick: t[1] ||= (e) => r.toggle("")
|
|
897
|
-
}, [P("span", { class: R(["flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded border", n.modelValue.length ? "border-slate-300 bg-white" : "border-
|
|
897
|
+
}, [P("span", { class: R(["flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded border", n.modelValue.length ? "border-slate-300 bg-white" : "border-[#1f5ae0] bg-[#1f5ae0] text-white"]) }, [n.modelValue.length ? M("", !0) : (B(), j(r.Check, {
|
|
898
898
|
key: 0,
|
|
899
899
|
class: "h-2.5 w-2.5"
|
|
900
900
|
}))], 2), t[2] ||= P("span", { class: "min-w-0 truncate" }, "Усі значення", -1)], 10, xt), (B(!0), N(k, null, H(n.options, (e) => (B(), N("button", {
|
|
@@ -902,9 +902,9 @@ function wt(e, t, n, r, i, a) {
|
|
|
902
902
|
type: "button",
|
|
903
903
|
role: "option",
|
|
904
904
|
"aria-selected": n.modelValue.includes(e.value),
|
|
905
|
-
class: R(["flex w-full items-center gap-2 px-2.5 py-2 text-left text-xs transition-colors hover:bg-slate-50", n.modelValue.includes(e.value) ? "bg-
|
|
905
|
+
class: R(["flex w-full items-center gap-2 px-2.5 py-2 text-left text-xs transition-colors hover:bg-slate-50", n.modelValue.includes(e.value) ? "bg-[#eef6ff] font-medium text-[#1a46b8]" : "text-slate-700"]),
|
|
906
906
|
onClick: (t) => r.toggle(e.value)
|
|
907
|
-
}, [P("span", { class: R(["flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded border", n.modelValue.includes(e.value) ? "border-
|
|
907
|
+
}, [P("span", { class: R(["flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded border", n.modelValue.includes(e.value) ? "border-[#1f5ae0] bg-[#1f5ae0] text-white" : "border-slate-300 bg-white"]) }, [n.modelValue.includes(e.value) ? (B(), j(r.Check, {
|
|
908
908
|
key: 0,
|
|
909
909
|
class: "h-2.5 w-2.5"
|
|
910
910
|
})) : M("", !0)], 2), P("span", Ct, U(e.label), 1)], 10, St))), 128))], 12, bt)) : M("", !0)]),
|
|
@@ -1077,7 +1077,7 @@ function Vt(e, t, n, r, i, a) {
|
|
|
1077
1077
|
"data-map-filter-ui": "",
|
|
1078
1078
|
"aria-expanded": r.open,
|
|
1079
1079
|
"aria-label": n.label,
|
|
1080
|
-
class: R(["flex h-9 w-full items-center justify-between gap-2 rounded-lg border bg-white px-2.5 text-left text-xs outline-none transition-colors focus:border-
|
|
1080
|
+
class: R(["flex h-9 w-full items-center justify-between gap-2 rounded-lg border bg-white px-2.5 text-left text-xs outline-none transition-colors focus:border-[#599dff] focus:ring-1 focus:ring-[#d9eaff]", r.open || n.modelValue.length ? "border-[#599dff] text-slate-700 ring-1 ring-[#d9eaff]" : "border-slate-200 text-slate-700"]),
|
|
1081
1081
|
onClick: t[0] ||= (e) => r.open = !r.open
|
|
1082
1082
|
}, [P("span", { class: R(["min-w-0 truncate", n.modelValue.length ? "text-slate-700" : "text-slate-400"]) }, U(r.selectedLabel), 3), P("span", jt, [n.modelValue.length ? (B(), N("span", {
|
|
1083
1083
|
key: 0,
|
|
@@ -1101,7 +1101,7 @@ function Vt(e, t, n, r, i, a) {
|
|
|
1101
1101
|
"onUpdate:modelValue": t[1] ||= (e) => r.query = e,
|
|
1102
1102
|
type: "text",
|
|
1103
1103
|
placeholder: "Пошук...",
|
|
1104
|
-
class: "h-8 w-full rounded-md border border-slate-200 py-1.5 pl-8 pr-2 text-xs text-slate-700 outline-none focus:border-
|
|
1104
|
+
class: "h-8 w-full rounded-md border border-slate-200 py-1.5 pl-8 pr-2 text-xs text-slate-700 outline-none focus:border-[#599dff] focus:ring-1 focus:ring-[#d9eaff]",
|
|
1105
1105
|
onClick: t[2] ||= pe(() => {}, ["stop"])
|
|
1106
1106
|
}, null, 512), [[fe, r.query]])])]), P("div", {
|
|
1107
1107
|
class: "overflow-y-auto",
|
|
@@ -1111,9 +1111,9 @@ function Vt(e, t, n, r, i, a) {
|
|
|
1111
1111
|
type: "button",
|
|
1112
1112
|
role: "option",
|
|
1113
1113
|
"aria-selected": !n.modelValue.length,
|
|
1114
|
-
class: R(["flex w-full items-center gap-2 px-2.5 py-2 text-left text-xs transition-colors hover:bg-slate-50", n.modelValue.length ? "text-slate-700" : "bg-
|
|
1114
|
+
class: R(["flex w-full items-center gap-2 px-2.5 py-2 text-left text-xs transition-colors hover:bg-slate-50", n.modelValue.length ? "text-slate-700" : "bg-[#eef6ff] font-medium text-[#1a46b8]"]),
|
|
1115
1115
|
onClick: r.clearAll
|
|
1116
|
-
}, [P("span", { class: R(["flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded border", n.modelValue.length ? "border-slate-300 bg-white" : "border-
|
|
1116
|
+
}, [P("span", { class: R(["flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded border", n.modelValue.length ? "border-slate-300 bg-white" : "border-[#1f5ae0] bg-[#1f5ae0] text-white"]) }, [n.modelValue.length ? M("", !0) : (B(), j(r.Check, {
|
|
1117
1117
|
key: 0,
|
|
1118
1118
|
class: "h-2.5 w-2.5"
|
|
1119
1119
|
}))], 2), t[3] ||= P("span", { class: "min-w-0 truncate" }, "Усі значення", -1)], 10, It),
|
|
@@ -1123,9 +1123,9 @@ function Vt(e, t, n, r, i, a) {
|
|
|
1123
1123
|
type: "button",
|
|
1124
1124
|
role: "option",
|
|
1125
1125
|
"aria-selected": n.modelValue.includes(e.id),
|
|
1126
|
-
class: R(["flex w-full items-center gap-2 px-2.5 py-2 text-left text-xs transition-colors hover:bg-slate-50", n.modelValue.includes(e.id) ? "bg-
|
|
1126
|
+
class: R(["flex w-full items-center gap-2 px-2.5 py-2 text-left text-xs transition-colors hover:bg-slate-50", n.modelValue.includes(e.id) ? "bg-[#eef6ff] font-medium text-[#1a46b8]" : "text-slate-700"]),
|
|
1127
1127
|
onClick: (t) => r.toggle(e)
|
|
1128
|
-
}, [P("span", { class: R(["flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded border", n.modelValue.includes(e.id) ? "border-
|
|
1128
|
+
}, [P("span", { class: R(["flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded border", n.modelValue.includes(e.id) ? "border-[#1f5ae0] bg-[#1f5ae0] text-white" : "border-slate-300 bg-white"]) }, [n.modelValue.includes(e.id) ? (B(), j(r.Check, {
|
|
1129
1129
|
key: 0,
|
|
1130
1130
|
class: "h-2.5 w-2.5"
|
|
1131
1131
|
})) : M("", !0)], 2), P("span", Bt, U(e.text), 1)], 10, zt))), 128))
|
|
@@ -1275,7 +1275,7 @@ var Ht = /*#__PURE__*/ e(Ot, [["render", Vt], ["__file", "C:/softpro/surveyor/ad
|
|
|
1275
1275
|
class: "mt-0.5 flex items-center gap-1 text-[10px] text-amber-600"
|
|
1276
1276
|
}, $t = {
|
|
1277
1277
|
key: 2,
|
|
1278
|
-
class: "mt-0.5 flex items-center gap-1 text-[10px] text-
|
|
1278
|
+
class: "mt-0.5 flex items-center gap-1 text-[10px] text-[#1f5ae0]"
|
|
1279
1279
|
}, en = {
|
|
1280
1280
|
key: 3,
|
|
1281
1281
|
class: "mt-0.5 flex items-center gap-1 text-[10px] text-red-600"
|
|
@@ -1299,7 +1299,7 @@ function un(e, t, n, r, i, a) {
|
|
|
1299
1299
|
"aria-checked": n.visible,
|
|
1300
1300
|
"aria-label": `Показати шар ${n.layer.label}`,
|
|
1301
1301
|
disabled: r.toggleDisabled,
|
|
1302
|
-
class: R(["map-switch-track relative h-5 w-9 shrink-0 overflow-hidden rounded-full focus:outline-none focus:ring-2 focus:ring-
|
|
1302
|
+
class: R(["map-switch-track relative h-5 w-9 shrink-0 overflow-hidden rounded-full focus:outline-none focus:ring-2 focus:ring-[#bcd9ff] focus:ring-offset-1 disabled:cursor-not-allowed", n.visible ? "bg-[#1f5ae0]" : "bg-slate-200"]),
|
|
1303
1303
|
onClick: t[0] ||= (e) => r.emit("toggle")
|
|
1304
1304
|
}, [P("span", { class: R(["map-switch-knob pointer-events-none absolute top-0.5 h-4 w-4 rounded-full bg-white shadow-sm", n.visible ? "left-[18px]" : "left-0.5"]) }, null, 2)], 10, Jt),
|
|
1305
1305
|
P("span", {
|
|
@@ -1322,7 +1322,7 @@ function un(e, t, n, r, i, a) {
|
|
|
1322
1322
|
type: "button",
|
|
1323
1323
|
"aria-expanded": n.menuOpen,
|
|
1324
1324
|
"aria-label": `Меню шару ${n.layer.label}`,
|
|
1325
|
-
class: "rounded-md p-1.5 text-slate-400 transition-colors hover:bg-slate-100 hover:text-slate-700 focus:outline-none focus:ring-2 focus:ring-
|
|
1325
|
+
class: "rounded-md p-1.5 text-slate-400 transition-colors hover:bg-slate-100 hover:text-slate-700 focus:outline-none focus:ring-2 focus:ring-[#bcd9ff]",
|
|
1326
1326
|
onClick: t[2] ||= (e) => r.emit("toggleMenu")
|
|
1327
1327
|
}, [I(r.MoreHorizontal, { class: "h-4 w-4" })], 8, nn)
|
|
1328
1328
|
]),
|
|
@@ -1344,19 +1344,19 @@ function un(e, t, n, r, i, a) {
|
|
|
1344
1344
|
max: "100",
|
|
1345
1345
|
value: n.opacity,
|
|
1346
1346
|
"aria-label": `Прозорість шару ${n.layer.label}`,
|
|
1347
|
-
class: "mb-3 w-full accent-
|
|
1347
|
+
class: "mb-3 w-full accent-[#1f5ae0]",
|
|
1348
1348
|
onInput: r.onOpacityInput
|
|
1349
1349
|
}, null, 40, on),
|
|
1350
1350
|
P("button", {
|
|
1351
1351
|
type: "button",
|
|
1352
1352
|
disabled: !r.canZoom,
|
|
1353
1353
|
title: r.canZoom ? void 0 : "Немає геометрії шару",
|
|
1354
|
-
class: "flex w-full items-center gap-2 rounded-lg px-2 py-2 text-left text-xs text-slate-600 hover:bg-slate-50 focus:outline-none focus:ring-2 focus:ring-
|
|
1354
|
+
class: "flex w-full items-center gap-2 rounded-lg px-2 py-2 text-left text-xs text-slate-600 hover:bg-slate-50 focus:outline-none focus:ring-2 focus:ring-[#bcd9ff] disabled:cursor-not-allowed disabled:text-slate-300 disabled:hover:bg-transparent",
|
|
1355
1355
|
onClick: t[3] ||= (e) => r.emit("zoom")
|
|
1356
1356
|
}, [I(r.ZoomIn, { class: R(["h-3.5 w-3.5", r.canZoom ? "text-slate-400" : "text-slate-300"]) }, null, 8, ["class"]), t[9] ||= F(" Наблизити до шару ", -1)], 8, sn),
|
|
1357
1357
|
P("button", {
|
|
1358
1358
|
type: "button",
|
|
1359
|
-
class: "flex w-full items-center gap-2 rounded-lg px-2 py-2 text-left text-xs text-slate-600 hover:bg-slate-50 focus:outline-none focus:ring-2 focus:ring-
|
|
1359
|
+
class: "flex w-full items-center gap-2 rounded-lg px-2 py-2 text-left text-xs text-slate-600 hover:bg-slate-50 focus:outline-none focus:ring-2 focus:ring-[#bcd9ff]",
|
|
1360
1360
|
onClick: t[4] ||= (e) => r.emit("toggleLegend")
|
|
1361
1361
|
}, [I(r.MapIcon, { class: "h-3.5 w-3.5 text-slate-400" }), t[10] ||= F(" Переглянути легенду ", -1)])
|
|
1362
1362
|
], 4)) : M("", !0)]),
|
|
@@ -1813,7 +1813,7 @@ var mn = Object.entries(y).map(([e, t]) => ({
|
|
|
1813
1813
|
value: !0
|
|
1814
1814
|
}), Fe;
|
|
1815
1815
|
}
|
|
1816
|
-
}), bn = { class: "rounded-full bg-
|
|
1816
|
+
}), bn = { class: "rounded-full bg-[#eef6ff] px-1.5 py-0.5 text-[11px] text-[#1a46b8]" }, xn = {
|
|
1817
1817
|
key: 1,
|
|
1818
1818
|
class: "absolute inset-x-3 bottom-3 z-30 flex max-h-[calc(100%-6rem)] flex-col overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-[0_16px_50px_rgba(15,23,42,0.18)] xl:inset-x-auto xl:bottom-auto xl:left-4 xl:top-4 xl:max-h-[calc(100%-2rem)] xl:w-[400px]",
|
|
1819
1819
|
"aria-label": "Панель шарів карти"
|
|
@@ -1855,7 +1855,7 @@ var mn = Object.entries(y).map(([e, t]) => ({
|
|
|
1855
1855
|
class: "mt-2 rounded-lg border border-dashed border-slate-200 bg-white px-3 py-3 text-center text-xs text-slate-500"
|
|
1856
1856
|
}, or = ["aria-expanded"], sr = {
|
|
1857
1857
|
key: 0,
|
|
1858
|
-
class: "rounded-full bg-
|
|
1858
|
+
class: "rounded-full bg-[#1f5ae0] px-1.5 text-[10px] text-white"
|
|
1859
1859
|
}, cr = {
|
|
1860
1860
|
key: 2,
|
|
1861
1861
|
class: "mt-2 flex flex-wrap gap-1.5"
|
|
@@ -1870,10 +1870,10 @@ function Pr(e, t, n, r, i, a) {
|
|
|
1870
1870
|
return B(), N(k, null, [r.collapsed ? (B(), N("button", {
|
|
1871
1871
|
key: 0,
|
|
1872
1872
|
type: "button",
|
|
1873
|
-
class: "absolute bottom-4 left-4 z-30 inline-flex items-center gap-2 rounded-xl border border-slate-200 bg-white px-4 py-3 text-sm font-semibold text-slate-700 shadow-
|
|
1873
|
+
class: "absolute bottom-4 left-4 z-30 inline-flex items-center gap-2 rounded-xl border border-slate-200 bg-white px-4 py-3 text-sm font-semibold text-slate-700 shadow-[0_4px_12px_0_rgb(15_23_42/0.08),0_2px_4px_0_rgb(15_23_42/0.06)] transition-all hover:border-[#8ec1ff] hover:text-[#1a46b8] xl:bottom-auto xl:top-4",
|
|
1874
1874
|
onClick: t[0] ||= (e) => r.collapsed = !1
|
|
1875
1875
|
}, [
|
|
1876
|
-
I(r.Layers2, { class: "h-4 w-4 text-
|
|
1876
|
+
I(r.Layers2, { class: "h-4 w-4 text-[#1f5ae0]" }),
|
|
1877
1877
|
t[25] ||= F(" Шари ", -1),
|
|
1878
1878
|
P("span", bn, U(r.activeLayersCount), 1)
|
|
1879
1879
|
])) : (B(), N("section", xn, [P("div", Sn, [P("div", Cn, [P("label", wn, [
|
|
@@ -1883,7 +1883,7 @@ function Pr(e, t, n, r, i, a) {
|
|
|
1883
1883
|
type: "text",
|
|
1884
1884
|
autocomplete: "off",
|
|
1885
1885
|
placeholder: "Пошук на карті…",
|
|
1886
|
-
class: "h-10 w-full rounded-lg border border-slate-200 bg-slate-50 pl-9 pr-9 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-
|
|
1886
|
+
class: "h-10 w-full rounded-lg border border-slate-200 bg-slate-50 pl-9 pr-9 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-[#599dff] focus:bg-white focus:ring-2 focus:ring-[#d9eaff]"
|
|
1887
1887
|
}, null, 512), [[fe, r.searchModel]]),
|
|
1888
1888
|
n.searchQuery ? (B(), N("button", {
|
|
1889
1889
|
key: 0,
|
|
@@ -1897,12 +1897,12 @@ function Pr(e, t, n, r, i, a) {
|
|
|
1897
1897
|
type: "button",
|
|
1898
1898
|
title: "Згорнути панель шарів",
|
|
1899
1899
|
"aria-label": "Згорнути панель шарів",
|
|
1900
|
-
class: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg border border-slate-200 text-slate-500 transition-colors hover:border-
|
|
1900
|
+
class: "flex h-10 w-10 shrink-0 items-center justify-center rounded-lg border border-slate-200 text-slate-500 transition-colors hover:border-[#8ec1ff] hover:bg-[#eef6ff] hover:text-[#1a46b8]",
|
|
1901
1901
|
onClick: t[3] ||= (e) => r.collapsed = !0
|
|
1902
1902
|
}, [I(r.X, { class: "h-4 w-4" })])]), r.searchDropdownOpen ? (B(), N("div", En, [n.searchLoading ? (B(), N("p", Dn, "Пошук…")) : n.searchError ? (B(), N("p", On, U(n.searchError), 1)) : n.searchEmpty ? (B(), N("p", kn, "Нічого не знайдено")) : (B(), N("ul", An, [(B(!0), N(k, null, H(n.searchResults, (e) => (B(), N("li", { key: e.id }, [P("button", {
|
|
1903
1903
|
type: "button",
|
|
1904
1904
|
role: "option",
|
|
1905
|
-
class: "flex w-full flex-col gap-0.5 px-3 py-2.5 text-left transition-colors hover:bg-
|
|
1905
|
+
class: "flex w-full flex-col gap-0.5 px-3 py-2.5 text-left transition-colors hover:bg-[#eef6ff]",
|
|
1906
1906
|
onClick: (t) => r.emit("selectSearchResult", e)
|
|
1907
1907
|
}, [P("span", Mn, U(e.number || "Без номера"), 1), P("span", Nn, U(e.address), 1)], 8, jn)]))), 128))]))])) : M("", !0)]), P("div", Pn, [
|
|
1908
1908
|
P("div", Fn, [P("button", {
|
|
@@ -1910,13 +1910,13 @@ function Pr(e, t, n, r, i, a) {
|
|
|
1910
1910
|
class: "flex items-center gap-2 text-[11px] font-bold uppercase tracking-[0.12em] text-slate-400",
|
|
1911
1911
|
onClick: t[4] ||= (e) => r.layersOpen = !r.layersOpen
|
|
1912
1912
|
}, [I(r.ChevronDown, { class: R(["h-3.5 w-3.5 transition-transform", r.layersOpen ? "" : "-rotate-90"]) }, null, 8, ["class"]), t[26] ||= F(" Додаткові шари ", -1)]), P("span", In, U(r.activeLayersCount) + " активні", 1)]),
|
|
1913
|
-
r.layersOpen ? (B(), N("div", Ln, [P("div", { class: R(["overflow-hidden rounded-xl border transition-colors", n.applicationsVisible ? "border-
|
|
1913
|
+
r.layersOpen ? (B(), N("div", Ln, [P("div", { class: R(["overflow-hidden rounded-xl border transition-colors", n.applicationsVisible ? "border-[#8ec1ff] bg-[#eef6ff]/40" : "border-slate-200 bg-white"]) }, [P("div", Rn, [
|
|
1914
1914
|
P("button", {
|
|
1915
1915
|
type: "button",
|
|
1916
1916
|
role: "switch",
|
|
1917
1917
|
"aria-checked": n.applicationsVisible,
|
|
1918
1918
|
"aria-label": "Показати звернення",
|
|
1919
|
-
class: R(["map-switch-track relative h-5 w-9 shrink-0 overflow-hidden rounded-full focus:outline-none focus:ring-2 focus:ring-
|
|
1919
|
+
class: R(["map-switch-track relative h-5 w-9 shrink-0 overflow-hidden rounded-full focus:outline-none focus:ring-2 focus:ring-[#bcd9ff] focus:ring-offset-1", n.applicationsVisible ? "bg-[#1f5ae0]" : "bg-slate-200"]),
|
|
1920
1920
|
onClick: r.toggleApplications
|
|
1921
1921
|
}, [P("span", { class: R(["map-switch-knob pointer-events-none absolute top-0.5 h-4 w-4 rounded-full bg-white shadow-sm", n.applicationsVisible ? "left-[18px]" : "left-0.5"]) }, null, 2)], 10, zn),
|
|
1922
1922
|
P("button", {
|
|
@@ -1935,24 +1935,24 @@ function Pr(e, t, n, r, i, a) {
|
|
|
1935
1935
|
type: "button",
|
|
1936
1936
|
"aria-expanded": r.menuOpen,
|
|
1937
1937
|
"aria-label": "Меню шару звернень",
|
|
1938
|
-
class: "rounded-md p-1 text-slate-400 transition-colors hover:bg-white hover:text-slate-700 focus:outline-none focus:ring-2 focus:ring-
|
|
1938
|
+
class: "rounded-md p-1 text-slate-400 transition-colors hover:bg-white hover:text-slate-700 focus:outline-none focus:ring-2 focus:ring-[#bcd9ff]",
|
|
1939
1939
|
onClick: r.toggleApplicationsMenu
|
|
1940
1940
|
}, [I(r.MoreHorizontal, { class: "h-4 w-4" })], 8, Kn),
|
|
1941
1941
|
P("button", {
|
|
1942
1942
|
type: "button",
|
|
1943
1943
|
"aria-label": "Розгорнути фільтри звернень",
|
|
1944
|
-
class: "rounded-md p-1 text-slate-400 transition-colors hover:bg-white hover:text-
|
|
1944
|
+
class: "rounded-md p-1 text-slate-400 transition-colors hover:bg-white hover:text-[#1f5ae0]",
|
|
1945
1945
|
onClick: t[6] ||= (e) => r.applicationsOpen = !r.applicationsOpen
|
|
1946
1946
|
}, [I(r.ChevronDown, { class: R(["h-4 w-4 transition-transform", r.applicationsOpen ? "" : "-rotate-90"]) }, null, 8, ["class"])])
|
|
1947
1947
|
]), r.applicationsOpen ? (B(), N("div", {
|
|
1948
1948
|
key: 0,
|
|
1949
|
-
class: R(["border-t border-
|
|
1949
|
+
class: R(["border-t border-[#d9eaff] px-3 pt-2", r.filtersOpen ? "pb-0" : "pb-3"])
|
|
1950
1950
|
}, [
|
|
1951
1951
|
P("div", qn, [
|
|
1952
1952
|
P("button", {
|
|
1953
1953
|
type: "button",
|
|
1954
1954
|
"aria-label": "Попередні роки",
|
|
1955
|
-
class: "flex h-7 w-7 shrink-0 items-center justify-center rounded-md border border-slate-200 bg-white text-slate-500 transition-colors hover:border-
|
|
1955
|
+
class: "flex h-7 w-7 shrink-0 items-center justify-center rounded-md border border-slate-200 bg-white text-slate-500 transition-colors hover:border-[#8ec1ff] hover:text-[#1a46b8] disabled:cursor-not-allowed disabled:opacity-35",
|
|
1956
1956
|
disabled: r.yearWindowStart === 0,
|
|
1957
1957
|
onClick: t[7] ||= (e) => r.shiftYearWindow(-1)
|
|
1958
1958
|
}, [I(r.ChevronLeft, { class: "h-3.5 w-3.5" })], 8, Jn),
|
|
@@ -1960,13 +1960,13 @@ function Pr(e, t, n, r, i, a) {
|
|
|
1960
1960
|
key: e,
|
|
1961
1961
|
type: "button",
|
|
1962
1962
|
"aria-pressed": r.selectedYears.includes(e),
|
|
1963
|
-
class: R(["min-w-0 flex-1 rounded-md px-2 py-1 text-[11px] font-semibold transition-colors", r.selectedYears.includes(e) ? "bg-
|
|
1963
|
+
class: R(["min-w-0 flex-1 rounded-md px-2 py-1 text-[11px] font-semibold transition-colors", r.selectedYears.includes(e) ? "bg-[#1f5ae0] text-white" : "border border-slate-200 bg-white text-slate-500 hover:border-[#8ec1ff] hover:text-[#1a46b8]"]),
|
|
1964
1964
|
onClick: (t) => r.toggleYear(e)
|
|
1965
1965
|
}, U(e), 11, Xn))), 128))]),
|
|
1966
1966
|
P("button", {
|
|
1967
1967
|
type: "button",
|
|
1968
1968
|
"aria-label": "Наступні роки",
|
|
1969
|
-
class: "flex h-7 w-7 shrink-0 items-center justify-center rounded-md border border-slate-200 bg-white text-slate-500 transition-colors hover:border-
|
|
1969
|
+
class: "flex h-7 w-7 shrink-0 items-center justify-center rounded-md border border-slate-200 bg-white text-slate-500 transition-colors hover:border-[#8ec1ff] hover:text-[#1a46b8] disabled:cursor-not-allowed disabled:opacity-35",
|
|
1970
1970
|
disabled: r.yearWindowStart >= r.maxYearWindowStart,
|
|
1971
1971
|
onClick: t[8] ||= (e) => r.shiftYearWindow(1)
|
|
1972
1972
|
}, [I(r.ChevronRight, { class: "h-3.5 w-3.5" })], 8, Zn)
|
|
@@ -1974,7 +1974,7 @@ function Pr(e, t, n, r, i, a) {
|
|
|
1974
1974
|
r.selectedYears.length > 0 ? (B(), N("button", {
|
|
1975
1975
|
key: 0,
|
|
1976
1976
|
type: "button",
|
|
1977
|
-
class: "mb-2 inline-flex items-center gap-1 text-[11px] font-semibold text-
|
|
1977
|
+
class: "mb-2 inline-flex items-center gap-1 text-[11px] font-semibold text-[#1a46b8] hover:text-[#1c3776]",
|
|
1978
1978
|
onClick: r.resetYearFilter
|
|
1979
1979
|
}, [I(r.X, { class: "h-3 w-3" }), t[28] ||= F(" Скинути рік ", -1)])) : M("", !0),
|
|
1980
1980
|
P("div", Qn, [t[29] ||= P("span", { class: "text-[11px] font-semibold text-slate-400" }, "Швидкі фільтри за статусом", -1), P("span", $n, U(r.formatCount(r.visibleStatusCount)) + " з " + U(r.formatCount(n.totalCount)), 1)]),
|
|
@@ -1982,7 +1982,7 @@ function Pr(e, t, n, r, i, a) {
|
|
|
1982
1982
|
key: e.key,
|
|
1983
1983
|
type: "button",
|
|
1984
1984
|
title: e.label,
|
|
1985
|
-
class: R(["flex w-full items-start gap-2 rounded-lg px-2 py-2 text-left transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-
|
|
1985
|
+
class: R(["flex w-full items-start gap-2 rounded-lg px-2 py-2 text-left transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[#bcd9ff]", n.visibleStatuses.has(e.key) ? "hover:bg-white" : "opacity-45 hover:bg-white/70"]),
|
|
1986
1986
|
onClick: (t) => r.emit("toggleStatus", e.key)
|
|
1987
1987
|
}, [
|
|
1988
1988
|
P("span", {
|
|
@@ -1994,10 +1994,10 @@ function Pr(e, t, n, r, i, a) {
|
|
|
1994
1994
|
P("span", ir, U(r.statusPercent(e.key)) + "% ", 1)
|
|
1995
1995
|
], 10, tr))), 128))]),
|
|
1996
1996
|
n.visibleStatuses.size === 0 ? (B(), N("div", ar, " За вибраними статусами об'єктів не знайдено. ")) : M("", !0),
|
|
1997
|
-
P("div", { class: R(["mt-2 flex items-center gap-2 border-t border-
|
|
1997
|
+
P("div", { class: R(["mt-2 flex items-center gap-2 border-t border-[#d9eaff] pt-2", r.filtersOpen ? "pb-2" : "pb-0"]) }, [
|
|
1998
1998
|
P("button", {
|
|
1999
1999
|
type: "button",
|
|
2000
|
-
class: "text-xs font-semibold text-
|
|
2000
|
+
class: "text-xs font-semibold text-[#1a46b8] hover:text-[#1c3776]",
|
|
2001
2001
|
onClick: t[9] ||= (e) => r.emit("selectAllStatuses")
|
|
2002
2002
|
}, " Усі "),
|
|
2003
2003
|
t[31] ||= P("span", { class: "text-slate-300" }, "·", -1),
|
|
@@ -2009,7 +2009,7 @@ function Pr(e, t, n, r, i, a) {
|
|
|
2009
2009
|
P("button", {
|
|
2010
2010
|
type: "button",
|
|
2011
2011
|
"aria-expanded": r.filtersOpen,
|
|
2012
|
-
class: R(["ml-auto inline-flex items-center gap-1.5 rounded-md border bg-white px-2 py-1.5 text-xs font-semibold transition-colors", r.filtersOpen || r.activeFilterCount ? "border-
|
|
2012
|
+
class: R(["ml-auto inline-flex items-center gap-1.5 rounded-md border bg-white px-2 py-1.5 text-xs font-semibold transition-colors", r.filtersOpen || r.activeFilterCount ? "border-[#bcd9ff] text-[#1a46b8]" : "border-slate-200 text-slate-600 hover:border-[#8ec1ff] hover:text-[#1a46b8]"]),
|
|
2013
2013
|
onClick: r.toggleFilters
|
|
2014
2014
|
}, [
|
|
2015
2015
|
I(r.SlidersHorizontal, { class: "h-3.5 w-3.5" }),
|
|
@@ -2021,7 +2021,7 @@ function Pr(e, t, n, r, i, a) {
|
|
|
2021
2021
|
key: e.key,
|
|
2022
2022
|
type: "button",
|
|
2023
2023
|
title: `Прибрати фільтр «${e.label}»`,
|
|
2024
|
-
class: "inline-flex max-w-full items-center gap-1 rounded-full border border-
|
|
2024
|
+
class: "inline-flex max-w-full items-center gap-1 rounded-full border border-[#d9eaff] bg-white px-2 py-1 text-[11px] text-[#1a46b8] hover:border-[#8ec1ff]",
|
|
2025
2025
|
onClick: (t) => r.removeFilter(e.key)
|
|
2026
2026
|
}, [P("span", ur, U(e.label), 1), I(r.X, { class: "h-3 w-3 shrink-0" })], 8, lr))), 128))])) : M("", !0),
|
|
2027
2027
|
r.filtersOpen ? (B(), N("form", {
|
|
@@ -2041,13 +2041,13 @@ function Pr(e, t, n, r, i, a) {
|
|
|
2041
2041
|
"onUpdate:modelValue": t[12] ||= (e) => r.draftFilters.dateFrom = e,
|
|
2042
2042
|
type: "date",
|
|
2043
2043
|
max: r.draftFilters.dateTo || void 0,
|
|
2044
|
-
class: "h-9 w-full rounded-lg border border-slate-200 px-2 text-xs text-slate-700 outline-none focus:border-
|
|
2044
|
+
class: "h-9 w-full rounded-lg border border-slate-200 px-2 text-xs text-slate-700 outline-none focus:border-[#599dff] focus:ring-1 focus:ring-[#d9eaff]"
|
|
2045
2045
|
}, null, 8, mr), [[fe, r.draftFilters.dateFrom]])]),
|
|
2046
2046
|
P("label", hr, [t[34] ||= P("span", { class: "mb-1 block text-[11px] font-semibold text-slate-500" }, "Дата до", -1), q(P("input", {
|
|
2047
2047
|
"onUpdate:modelValue": t[13] ||= (e) => r.draftFilters.dateTo = e,
|
|
2048
2048
|
type: "date",
|
|
2049
2049
|
min: r.draftFilters.dateFrom || void 0,
|
|
2050
|
-
class: "h-9 w-full rounded-lg border border-slate-200 px-2 text-xs text-slate-700 outline-none focus:border-
|
|
2050
|
+
class: "h-9 w-full rounded-lg border border-slate-200 px-2 text-xs text-slate-700 outline-none focus:border-[#599dff] focus:ring-1 focus:ring-[#d9eaff]"
|
|
2051
2051
|
}, null, 8, gr), [[fe, r.draftFilters.dateTo]])]),
|
|
2052
2052
|
r.dateRangeInvalid ? (B(), N("p", _r, " Дата «від» не може бути пізнішою за дату «до». ")) : M("", !0),
|
|
2053
2053
|
P("div", vr, [t[35] ||= P("span", { class: "mb-1 block text-[11px] font-semibold text-slate-500" }, "Вид робіт", -1), I(r.MapFilterSelect, {
|
|
@@ -2062,7 +2062,7 @@ function Pr(e, t, n, r, i, a) {
|
|
|
2062
2062
|
P("label", yr, [t[36] ||= P("span", { class: "mb-1 block text-[11px] font-semibold text-slate-500" }, "Перевірив", -1), q(P("input", {
|
|
2063
2063
|
"onUpdate:modelValue": t[15] ||= (e) => r.draftFilters.verifiedBy = e,
|
|
2064
2064
|
type: "text",
|
|
2065
|
-
class: "h-9 w-full rounded-lg border border-slate-200 px-2.5 text-xs text-slate-700 outline-none focus:border-
|
|
2065
|
+
class: "h-9 w-full rounded-lg border border-slate-200 px-2.5 text-xs text-slate-700 outline-none focus:border-[#599dff] focus:ring-1 focus:ring-[#d9eaff]"
|
|
2066
2066
|
}, null, 512), [[fe, r.draftFilters.verifiedBy]])]),
|
|
2067
2067
|
P("div", br, [t[37] ||= P("span", { class: "mb-1 block text-[11px] font-semibold text-slate-500" }, "Організація", -1), I(r.MapFilterSuggest, {
|
|
2068
2068
|
"model-value": r.draftFilters.organization ?? [],
|
|
@@ -2090,7 +2090,7 @@ function Pr(e, t, n, r, i, a) {
|
|
|
2090
2090
|
}, [I(r.RotateCcw, { class: "h-3.5 w-3.5" }), t[39] ||= F(" Скинути ", -1)]), P("button", {
|
|
2091
2091
|
type: "submit",
|
|
2092
2092
|
disabled: r.dateRangeInvalid,
|
|
2093
|
-
class: "flex-1 rounded-lg bg-
|
|
2093
|
+
class: "flex-1 rounded-lg bg-[#1f5ae0] px-3 py-2 text-xs font-semibold text-white hover:bg-[#1a46b8] disabled:cursor-not-allowed disabled:opacity-50"
|
|
2094
2094
|
}, " Застосувати ", 8, Cr)])
|
|
2095
2095
|
], 544)) : M("", !0)
|
|
2096
2096
|
], 2)) : M("", !0)], 2), (B(!0), N(k, null, H(n.overlays, (e) => (B(), j(r.OverlayLayerRow, {
|
|
@@ -2127,7 +2127,7 @@ function Pr(e, t, n, r, i, a) {
|
|
|
2127
2127
|
r.layerNotice ? (B(), N("button", {
|
|
2128
2128
|
key: 1,
|
|
2129
2129
|
type: "button",
|
|
2130
|
-
class: "mt-2 flex w-full items-center justify-between rounded-lg border border-
|
|
2130
|
+
class: "mt-2 flex w-full items-center justify-between rounded-lg border border-[#d9eaff] bg-[#eef6ff] px-3 py-2 text-left text-xs text-[#1b3c95]",
|
|
2131
2131
|
role: "status",
|
|
2132
2132
|
onClick: t[21] ||= (e) => r.layerNotice = null
|
|
2133
2133
|
}, [P("span", null, U(r.layerNotice), 1), I(r.X, { class: "h-3.5 w-3.5 shrink-0" })])) : M("", !0),
|
|
@@ -2139,19 +2139,19 @@ function Pr(e, t, n, r, i, a) {
|
|
|
2139
2139
|
r.baseOpen ? (B(), N("div", Tr, [(B(!0), N(k, null, H(n.baseLayers, (e) => (B(), N("button", {
|
|
2140
2140
|
key: e.id,
|
|
2141
2141
|
type: "button",
|
|
2142
|
-
class: R(["group rounded-xl border p-1.5 text-left transition-all focus:outline-none focus:ring-2 focus:ring-
|
|
2142
|
+
class: R(["group rounded-xl border p-1.5 text-left transition-all focus:outline-none focus:ring-2 focus:ring-[#bcd9ff]", n.basemapId === e.id ? "border-[#3479f6] bg-[#eef6ff] shadow-sm" : "border-slate-200 bg-white hover:border-[#8ec1ff]"]),
|
|
2143
2143
|
onClick: (t) => r.emit("basemapChange", e.id)
|
|
2144
2144
|
}, [P("img", {
|
|
2145
2145
|
src: r.basemapPreview(e),
|
|
2146
2146
|
alt: e.label,
|
|
2147
2147
|
class: "block h-12 w-full rounded-md object-cover"
|
|
2148
|
-
}, null, 8, Dr), P("span", { class: R(["mt-1.5 flex items-center gap-1 px-0.5 text-xs font-semibold", n.basemapId === e.id ? "text-
|
|
2148
|
+
}, null, 8, Dr), P("span", { class: R(["mt-1.5 flex items-center gap-1 px-0.5 text-xs font-semibold", n.basemapId === e.id ? "text-[#1a46b8]" : "text-slate-600"]) }, [n.basemapId === e.id ? (B(), j(r.Check, {
|
|
2149
2149
|
key: 0,
|
|
2150
2150
|
class: "h-3 w-3"
|
|
2151
2151
|
})) : M("", !0), F(" " + U(e.label), 1)], 2)], 10, Er))), 128))])) : r.activeBasemap ? (B(), N("button", {
|
|
2152
2152
|
key: 3,
|
|
2153
2153
|
type: "button",
|
|
2154
|
-
class: "flex w-full items-center gap-3 rounded-xl border border-slate-200 bg-slate-50 p-2 text-left transition-colors hover:border-
|
|
2154
|
+
class: "flex w-full items-center gap-3 rounded-xl border border-slate-200 bg-slate-50 p-2 text-left transition-colors hover:border-[#8ec1ff] hover:bg-[#eef6ff]/40",
|
|
2155
2155
|
onClick: t[23] ||= (e) => r.baseOpen = !0
|
|
2156
2156
|
}, [
|
|
2157
2157
|
P("img", {
|
|
@@ -2178,13 +2178,13 @@ function Pr(e, t, n, r, i, a) {
|
|
|
2178
2178
|
max: "100",
|
|
2179
2179
|
value: n.applicationsOpacity,
|
|
2180
2180
|
"aria-label": "Непрозорість шару звернень",
|
|
2181
|
-
class: "w-full accent-
|
|
2181
|
+
class: "w-full accent-[#1f5ae0]",
|
|
2182
2182
|
onInput: t[24] ||= (e) => r.emit("update:applicationsOpacity", Number(e.target.value))
|
|
2183
2183
|
}, null, 40, Nr)], 4)) : M("", !0)]),
|
|
2184
2184
|
_: 1
|
|
2185
2185
|
})], 64);
|
|
2186
2186
|
}
|
|
2187
|
-
var Fr = /*#__PURE__*/ e(yn, [["render", Pr], ["__file", "C:/softpro/surveyor/admin/src/pages/map/components/MapLayersPanel.vue"]]), Ir = "flex h-9 w-9 items-center justify-center text-slate-600 transition-colors hover:bg-
|
|
2187
|
+
var Fr = /*#__PURE__*/ e(yn, [["render", Pr], ["__file", "C:/softpro/surveyor/admin/src/pages/map/components/MapLayersPanel.vue"]]), Ir = "flex h-9 w-9 items-center justify-center text-slate-600 transition-colors hover:bg-[#eef6ff] hover:text-[#1f5ae0]", Lr = /*@__PURE__*/ L({
|
|
2188
2188
|
__name: "MapControls",
|
|
2189
2189
|
props: { visibleCount: {
|
|
2190
2190
|
type: Number,
|
|
@@ -2215,7 +2215,7 @@ var Fr = /*#__PURE__*/ e(yn, [["render", Pr], ["__file", "C:/softpro/surveyor/ad
|
|
|
2215
2215
|
value: !0
|
|
2216
2216
|
}), r;
|
|
2217
2217
|
}
|
|
2218
|
-
}), Rr = { class: "absolute right-3 top-3 z-20 flex flex-col gap-1.5" }, zr = { class: "flex flex-col overflow-hidden rounded-lg border border-slate-200 bg-white shadow-
|
|
2218
|
+
}), Rr = { class: "absolute right-3 top-3 z-20 flex flex-col gap-1.5" }, zr = { class: "flex flex-col overflow-hidden rounded-lg 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)]" }, Br = { class: "absolute bottom-3 right-3 z-10 flex items-center gap-2 rounded-md bg-white/80 px-2.5 py-1 text-[11px] text-slate-400 backdrop-blur-sm" };
|
|
2219
2219
|
function Vr(e, t, n, r, i, a) {
|
|
2220
2220
|
return B(), N(k, null, [P("div", Rr, [P("div", zr, [
|
|
2221
2221
|
P("button", {
|
|
@@ -2312,7 +2312,7 @@ var Hr = /*#__PURE__*/ e(Lr, [["render", Vr], ["__file", "C:/softpro/surveyor/ad
|
|
|
2312
2312
|
};
|
|
2313
2313
|
function si(e, t, n, r, i, a) {
|
|
2314
2314
|
return B(), N("div", {
|
|
2315
|
-
class: "pointer-events-none absolute z-30 w-64 rounded-lg border border-slate-200 bg-white p-3 shadow-
|
|
2315
|
+
class: "pointer-events-none absolute z-30 w-64 rounded-lg border border-slate-200 bg-white p-3 shadow-[0_4px_12px_0_rgb(15_23_42/0.08),0_2px_4px_0_rgb(15_23_42/0.06)]",
|
|
2316
2316
|
style: z(r.style)
|
|
2317
2317
|
}, [r.single && r.point ? (B(), N(k, { key: 0 }, [P("div", Wr, [P("span", {
|
|
2318
2318
|
class: "h-2.5 w-2.5 shrink-0 rounded-full",
|
|
@@ -2478,7 +2478,7 @@ var ci = /*#__PURE__*/ e(Ur, [["render", si], ["__file", "C:/softpro/surveyor/ad
|
|
|
2478
2478
|
value: !0
|
|
2479
2479
|
}), u;
|
|
2480
2480
|
}
|
|
2481
|
-
}), ui = { class: "absolute right-16 top-3 z-20 flex max-h-[calc(100%-3.75rem)] w-[min(360px,calc(100vw-6rem))] flex-col overflow-hidden rounded-xl border border-slate-200 bg-white shadow-
|
|
2481
|
+
}), ui = { class: "absolute right-16 top-3 z-20 flex max-h-[calc(100%-3.75rem)] w-[min(360px,calc(100vw-6rem))] flex-col overflow-hidden rounded-xl border border-slate-200 bg-white shadow-[0_4px_12px_0_rgb(15_23_42/0.08),0_2px_4px_0_rgb(15_23_42/0.06)]" }, di = { class: "flex items-start justify-between gap-3 border-b border-slate-100 px-4 py-3" }, fi = { class: "flex min-w-0 items-start gap-1" }, pi = { class: "min-w-0" }, mi = { class: "text-[11px] font-semibold uppercase tracking-wide text-slate-400" }, hi = { class: "truncate text-base font-semibold text-slate-900" }, gi = { class: "min-h-0 flex-auto overflow-y-auto px-4 py-3" }, _i = {
|
|
2482
2482
|
key: 0,
|
|
2483
2483
|
class: "py-8 text-center text-sm text-slate-400"
|
|
2484
2484
|
}, vi = {
|
|
@@ -2516,7 +2516,7 @@ function Fi(e, t, n, r, i, a) {
|
|
|
2516
2516
|
}, [I(r.X, { class: "h-4 w-4" })])]),
|
|
2517
2517
|
P("div", gi, [n.loading && !n.rows.length ? (B(), N("p", _i, "Завантаження…")) : n.error ? (B(), N("p", vi, U(n.error), 1)) : r.showList && !n.rows.length ? (B(), N("p", yi, " У цій точці немає звернень ")) : r.showList ? (B(), N("ul", bi, [(B(!0), N(k, null, H(n.rows, (e) => (B(), N("li", { key: e.app_id }, [P("button", {
|
|
2518
2518
|
type: "button",
|
|
2519
|
-
class: "flex w-full flex-col gap-1 rounded-lg border border-slate-200 px-3 py-2.5 text-left transition-colors hover:border-
|
|
2519
|
+
class: "flex w-full flex-col gap-1 rounded-lg border border-slate-200 px-3 py-2.5 text-left transition-colors hover:border-[#8ec1ff] hover:bg-[#eef6ff]",
|
|
2520
2520
|
onClick: (t) => r.emit("select", e)
|
|
2521
2521
|
}, [
|
|
2522
2522
|
P("span", Si, [P("span", Ci, U(e.number || "—"), 1), I(r.AppealStatusBadge, {
|
|
@@ -2548,7 +2548,7 @@ function Fi(e, t, n, r, i, a) {
|
|
|
2548
2548
|
}, " Далі ", 8, Ni)
|
|
2549
2549
|
])) : n.application?.app_id && !n.loading && !n.error ? (B(), N("footer", Pi, [I(r.RouterLink, {
|
|
2550
2550
|
to: `/requests/${n.application.app_id}`,
|
|
2551
|
-
class: "inline-flex text-[13px] font-medium text-
|
|
2551
|
+
class: "inline-flex text-[13px] font-medium text-[#1f5ae0] transition-colors hover:text-[#1b3c95] hover:underline"
|
|
2552
2552
|
}, {
|
|
2553
2553
|
default: K(() => [...t[4] ||= [F(" Відкрити картку звернення ", -1)]]),
|
|
2554
2554
|
_: 1
|
|
@@ -3,10 +3,10 @@ import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
|
3
3
|
import { n, t as r } from "./useEntityPath-C5Owtidc.js";
|
|
4
4
|
import { a as i, r as a } from "./resources-Cj8BzrBX.js";
|
|
5
5
|
import { r as o } from "./filterQuery-Dka-mIso.js";
|
|
6
|
-
import { i as ee, n as s, r as c, t as l } from "./RegistryToolbar-
|
|
7
|
-
import { t as u } from "./TablePagination-
|
|
6
|
+
import { i as ee, n as s, r as c, t as l } from "./RegistryToolbar-DisEejvi.js";
|
|
7
|
+
import { t as u } from "./TablePagination-thQkE5iA.js";
|
|
8
8
|
import { t as d } from "./SurveyorTeleport-Cd6D92mo.js";
|
|
9
|
-
import { t as f } from "./RegistryFormModal-
|
|
9
|
+
import { t as f } from "./RegistryFormModal-CH4DbTvC.js";
|
|
10
10
|
import { i as p, n as te, o as m, r as h, s as g, t as _ } from "./form-DZ3CbtkT.js";
|
|
11
11
|
import { computed as ne, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as S, createVNode as C, defineComponent as w, normalizeClass as T, normalizeStyle as E, onMounted as D, onUnmounted as O, openBlock as k, ref as A, toDisplayString as j, vModelText as M, withCtx as N, withDirectives as P, withModifiers as F } from "vue";
|
|
12
12
|
import { RouterLink as I, useRouter as L } from "vue-router";
|
|
@@ -286,7 +286,7 @@ function se(e, t, n, r, i, a) {
|
|
|
286
286
|
}, {
|
|
287
287
|
default: N(() => [x("button", {
|
|
288
288
|
type: "button",
|
|
289
|
-
class: "inline-flex h-10 items-center justify-center gap-2 rounded-lg bg-
|
|
289
|
+
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]",
|
|
290
290
|
onClick: t[0] ||= (e) => r.showAddModal = !0
|
|
291
291
|
}, [C(r.AppIcon, {
|
|
292
292
|
name: "plus",
|
|
@@ -308,7 +308,7 @@ function se(e, t, n, r, i, a) {
|
|
|
308
308
|
"onUpdate:modelValue": t[1] ||= (e) => r.query = e,
|
|
309
309
|
type: "search",
|
|
310
310
|
placeholder: "Пошук за назвою або кодом…",
|
|
311
|
-
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-
|
|
311
|
+
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]"
|
|
312
312
|
}, null, 512), [[M, r.query]])])]),
|
|
313
313
|
_: 1
|
|
314
314
|
}, 8, ["filter-config", "filter-values"]),
|
|
@@ -327,7 +327,7 @@ function se(e, t, n, r, i, a) {
|
|
|
327
327
|
cell: N(({ row: e, column: n }) => [n === "name" ? (k(), v(r.RouterLink, {
|
|
328
328
|
key: 0,
|
|
329
329
|
to: r.detailPath(e.layer_id),
|
|
330
|
-
class: "block w-full max-w-full break-words text-left font-semibold text-
|
|
330
|
+
class: "block w-full max-w-full break-words text-left font-semibold text-[#1a46b8] hover:text-[#1c3776] hover:underline"
|
|
331
331
|
}, {
|
|
332
332
|
default: N(() => [S(j(e.name), 1)]),
|
|
333
333
|
_: 2
|
|
@@ -337,7 +337,7 @@ function se(e, t, n, r, i, a) {
|
|
|
337
337
|
}, j(e.enabled ? "Увімкнено" : "Вимкнено"), 3)) : n === "actions" ? (k(), b("div", re, [x("button", {
|
|
338
338
|
type: "button",
|
|
339
339
|
"data-row-actions": "",
|
|
340
|
-
class: "inline-flex h-8 w-8 items-center justify-center rounded-lg text-slate-400 transition-colors hover:bg-
|
|
340
|
+
class: "inline-flex h-8 w-8 items-center justify-center rounded-lg text-slate-400 transition-colors hover:bg-[#eef6ff] hover:text-[#1a46b8]",
|
|
341
341
|
"aria-expanded": r.actionsOpen === e.layer_id,
|
|
342
342
|
"aria-label": `Дії для ${e.name}`,
|
|
343
343
|
onClick: F((t) => r.toggleActions(e.layer_id, t), ["stop"])
|
|
@@ -348,7 +348,7 @@ function se(e, t, n, r, i, a) {
|
|
|
348
348
|
default: N(() => [r.actionsOpen === e.layer_id ? (k(), b("div", {
|
|
349
349
|
key: 0,
|
|
350
350
|
"data-row-actions": "",
|
|
351
|
-
class: "fixed z-50 w-44 overflow-hidden rounded-lg border border-slate-200 bg-white py-1 text-left shadow-
|
|
351
|
+
class: "fixed z-50 w-44 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)]",
|
|
352
352
|
style: E(r.menuStyle)
|
|
353
353
|
}, [
|
|
354
354
|
x("button", {
|
|
@@ -4,10 +4,10 @@ import { n, t as r } from "./useEntityPath-C5Owtidc.js";
|
|
|
4
4
|
import { a as i, r as ee } from "./resources-Cj8BzrBX.js";
|
|
5
5
|
import { t as te } from "./VerifiedBadge-bk0n-rlC.js";
|
|
6
6
|
import { i as a } from "./filterQuery-Dka-mIso.js";
|
|
7
|
-
import { i as o, n as s, r as c, t as l } from "./RegistryToolbar-
|
|
8
|
-
import { t as u } from "./TablePagination-
|
|
7
|
+
import { i as o, n as s, r as c, t as l } from "./RegistryToolbar-DisEejvi.js";
|
|
8
|
+
import { t as u } from "./TablePagination-thQkE5iA.js";
|
|
9
9
|
import { t as d } from "./SurveyorTeleport-Cd6D92mo.js";
|
|
10
|
-
import { t as f } from "./RegistryFormModal-
|
|
10
|
+
import { t as f } from "./RegistryFormModal-CH4DbTvC.js";
|
|
11
11
|
import { n as p, t as m } from "./form-CEfc_shb.js";
|
|
12
12
|
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, normalizeStyle as w, onMounted as T, onUnmounted as E, openBlock as D, ref as O, renderList as k, toDisplayString as A, vModelText as j, withCtx as M, withDirectives as N, withModifiers as P } from "vue";
|
|
13
13
|
import { RouterLink as F, useRouter as I } from "vue-router";
|
|
@@ -244,12 +244,12 @@ var L = {
|
|
|
244
244
|
}
|
|
245
245
|
}), V = { class: "px-4" }, H = { class: "relative block" }, U = {
|
|
246
246
|
type: "button",
|
|
247
|
-
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-
|
|
247
|
+
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]",
|
|
248
248
|
"aria-label": "Експорт",
|
|
249
249
|
title: "Експорт реєстру"
|
|
250
250
|
}, W = { class: "relative" }, G = {
|
|
251
251
|
key: 0,
|
|
252
|
-
class: "absolute right-0 top-12 z-20 w-64 rounded-lg border border-slate-200 bg-white p-2 shadow-
|
|
252
|
+
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)]"
|
|
253
253
|
}, K = { class: "flex items-center justify-between px-2 py-1" }, q = ["checked", "onChange"], J = { class: "mt-3 flex items-center justify-between border-t border-slate-100 pt-3 text-xs text-slate-400" }, Y = { class: "font-semibold text-slate-600" }, X = {
|
|
254
254
|
key: 1,
|
|
255
255
|
class: "block w-full max-w-full break-words text-slate-600"
|
|
@@ -287,7 +287,7 @@ function pe(e, t, n, r, i, ee) {
|
|
|
287
287
|
}, {
|
|
288
288
|
default: M(() => [b("button", {
|
|
289
289
|
type: "button",
|
|
290
|
-
class: "inline-flex h-10 items-center justify-center gap-2 rounded-lg bg-
|
|
290
|
+
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]",
|
|
291
291
|
onClick: t[0] ||= (e) => r.showAddModal = !0
|
|
292
292
|
}, [S(r.AppIcon, {
|
|
293
293
|
name: "plus",
|
|
@@ -309,14 +309,14 @@ function pe(e, t, n, r, i, ee) {
|
|
|
309
309
|
"onUpdate:modelValue": t[1] ||= (e) => r.query = e,
|
|
310
310
|
type: "search",
|
|
311
311
|
placeholder: "Пошук організації…",
|
|
312
|
-
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-
|
|
312
|
+
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]"
|
|
313
313
|
}, null, 512), [[j, r.query]])])]),
|
|
314
314
|
actions: M(() => [b("button", U, [S(r.AppIcon, {
|
|
315
315
|
name: "download",
|
|
316
316
|
class: "h-4 w-4"
|
|
317
317
|
})]), b("div", W, [b("button", {
|
|
318
318
|
type: "button",
|
|
319
|
-
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-
|
|
319
|
+
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]",
|
|
320
320
|
"aria-label": "Налаштувати колонки",
|
|
321
321
|
title: "Налаштувати колонки",
|
|
322
322
|
onClick: t[2] ||= (e) => r.columnsOpen = !r.columnsOpen
|
|
@@ -345,7 +345,7 @@ function pe(e, t, n, r, i, ee) {
|
|
|
345
345
|
}, [b("input", {
|
|
346
346
|
type: "checkbox",
|
|
347
347
|
checked: r.visibleColumns.includes(e.key),
|
|
348
|
-
class: "h-4 w-4 accent-
|
|
348
|
+
class: "h-4 w-4 accent-[#1f5ae0]",
|
|
349
349
|
onChange: (t) => r.toggleColumn(e.key)
|
|
350
350
|
}, null, 40, q), x(" " + A(e.label), 1)]))), 128))])) : v("", !0)])]),
|
|
351
351
|
_: 1
|
|
@@ -365,7 +365,7 @@ function pe(e, t, n, r, i, ee) {
|
|
|
365
365
|
cell: M(({ row: e, column: n }) => [n === "name" ? (D(), _(r.RouterLink, {
|
|
366
366
|
key: 0,
|
|
367
367
|
to: r.detailPath(e.org_id),
|
|
368
|
-
class: "block w-full max-w-full break-words text-left font-semibold text-
|
|
368
|
+
class: "block w-full max-w-full break-words text-left font-semibold text-[#1a46b8] hover:text-[#1c3776] hover:underline"
|
|
369
369
|
}, {
|
|
370
370
|
default: M(() => [x(A(e.name), 1)]),
|
|
371
371
|
_: 2
|
|
@@ -373,7 +373,7 @@ function pe(e, t, n, r, i, ee) {
|
|
|
373
373
|
href: r.fileUrl(e.scan_path),
|
|
374
374
|
target: "_blank",
|
|
375
375
|
rel: "noopener",
|
|
376
|
-
class: "rounded-md p-1.5 text-slate-500 transition-colors hover:bg-
|
|
376
|
+
class: "rounded-md p-1.5 text-slate-500 transition-colors hover:bg-[#eef6ff] hover:text-[#1a46b8]",
|
|
377
377
|
"aria-label": "Переглянути документ",
|
|
378
378
|
title: "Переглянути документ"
|
|
379
379
|
}, [...t[11] ||= [b("svg", {
|
|
@@ -394,7 +394,7 @@ function pe(e, t, n, r, i, ee) {
|
|
|
394
394
|
d: "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"
|
|
395
395
|
})], -1)]], 8, $), b("a", {
|
|
396
396
|
href: r.fileUrl(e.scan_path, !0),
|
|
397
|
-
class: "rounded-md p-1.5 text-slate-500 transition-colors hover:bg-
|
|
397
|
+
class: "rounded-md p-1.5 text-slate-500 transition-colors hover:bg-[#eef6ff] hover:text-[#1a46b8]",
|
|
398
398
|
"aria-label": "Завантажити документ",
|
|
399
399
|
title: "Завантажити документ"
|
|
400
400
|
}, [...t[12] ||= [b("svg", {
|
|
@@ -414,7 +414,7 @@ function pe(e, t, n, r, i, ee) {
|
|
|
414
414
|
}, null, 8, ["verified"])) : n === "verified" ? (D(), y("span", ce, "—")) : n === "actions" ? (D(), y("div", le, [b("button", {
|
|
415
415
|
type: "button",
|
|
416
416
|
"data-row-actions": "",
|
|
417
|
-
class: "inline-flex h-8 w-8 items-center justify-center rounded-lg text-slate-400 transition-colors hover:bg-
|
|
417
|
+
class: "inline-flex h-8 w-8 items-center justify-center rounded-lg text-slate-400 transition-colors hover:bg-[#eef6ff] hover:text-[#1a46b8]",
|
|
418
418
|
"aria-expanded": r.actionsOpen === e.org_id,
|
|
419
419
|
"aria-label": `Дії для ${e.name}`,
|
|
420
420
|
onClick: P((t) => r.toggleActions(e.org_id, t), ["stop"])
|
|
@@ -425,7 +425,7 @@ function pe(e, t, n, r, i, ee) {
|
|
|
425
425
|
default: M(() => [r.actionsOpen === e.org_id ? (D(), y("div", {
|
|
426
426
|
key: 0,
|
|
427
427
|
"data-row-actions": "",
|
|
428
|
-
class: "fixed z-50 w-44 overflow-hidden rounded-lg border border-slate-200 bg-white py-1 text-left shadow-
|
|
428
|
+
class: "fixed z-50 w-44 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)]",
|
|
429
429
|
style: w(r.menuStyle)
|
|
430
430
|
}, [
|
|
431
431
|
b("button", {
|