@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,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { n as t, t as n } from "./useEntityPath-
|
|
2
|
+
import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
|
|
3
3
|
import { a as r, s as i } from "./resources-Cj8BzrBX.js";
|
|
4
|
-
import { t as a } from "./VerifiedBadge-
|
|
5
|
-
import { t as o } from "./UserTypeBadge-
|
|
6
|
-
import { t as s } from "./UserAccessBadge-
|
|
7
|
-
import { n as c, t as l } from "./AppealDetailField-
|
|
4
|
+
import { t as a } from "./VerifiedBadge-bk0n-rlC.js";
|
|
5
|
+
import { t as o } from "./UserTypeBadge-LvnMuKGo.js";
|
|
6
|
+
import { t as s } from "./UserAccessBadge-DyZDv7Oo.js";
|
|
7
|
+
import { n as c, t as l } from "./AppealDetailField-ByK9ZqR4.js";
|
|
8
8
|
import { a as u } from "./surveyorAccount-Cfba7ZVZ.js";
|
|
9
9
|
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, normalizeClass as b, openBlock as x, ref as S, renderList as C, toDisplayString as w, watch as T, withCtx as E } from "vue";
|
|
10
10
|
import { RouterLink as D, useRoute as O } from "vue-router";
|
|
@@ -108,13 +108,13 @@ var k = /*@__PURE__*/ y({
|
|
|
108
108
|
class: "mt-1 text-xs text-slate-400"
|
|
109
109
|
}, J = { class: "break-all px-1 py-3 text-slate-600" }, Y = { class: "whitespace-nowrap px-1 py-3 text-slate-600" }, X = { class: "px-1 py-3" }, Z = {
|
|
110
110
|
key: 2,
|
|
111
|
-
class: "rounded-xl border border-slate-200 bg-white px-6 py-16 text-center shadow-
|
|
111
|
+
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)]"
|
|
112
112
|
}, Q = { class: "text-sm text-slate-500" };
|
|
113
113
|
function $(e, t, n, r, i, a) {
|
|
114
114
|
return r.loading ? (x(), h("div", A, " Завантаження… ")) : r.certificate ? (x(), h("div", j, [g("header", M, [g("nav", N, [
|
|
115
115
|
v(r.RouterLink, {
|
|
116
116
|
to: r.listPath,
|
|
117
|
-
class: "flex items-center gap-1 text-slate-400 transition-colors hover:text-
|
|
117
|
+
class: "flex items-center gap-1 text-slate-400 transition-colors hover:text-[#1f5ae0]"
|
|
118
118
|
}, {
|
|
119
119
|
default: E(() => [v(r.AppIcon, {
|
|
120
120
|
name: "home",
|
|
@@ -239,11 +239,11 @@ function $(e, t, n, r, i, a) {
|
|
|
239
239
|
_: 1
|
|
240
240
|
}),
|
|
241
241
|
v(r.AppealDetailField, { label: "Дата призупинення" }, {
|
|
242
|
-
default: E(() => [g("span", { class: b(r.certificate.certificate_suspension ? "text-
|
|
242
|
+
default: E(() => [g("span", { class: b(r.certificate.certificate_suspension ? "text-red-700" : "") }, w(r.formatDate(r.certificate.certificate_suspension) || "—"), 3)]),
|
|
243
243
|
_: 1
|
|
244
244
|
}),
|
|
245
245
|
v(r.AppealDetailField, { label: "Дата припинення" }, {
|
|
246
|
-
default: E(() => [g("span", { class: b(r.certificate.certificate_stopping ? "text-
|
|
246
|
+
default: E(() => [g("span", { class: b(r.certificate.certificate_stopping ? "text-red-700" : "") }, w(r.certificate.certificate_stopping || "—"), 3)]),
|
|
247
247
|
_: 1
|
|
248
248
|
})
|
|
249
249
|
])]),
|
|
@@ -269,14 +269,14 @@ function $(e, t, n, r, i, a) {
|
|
|
269
269
|
])], -1),
|
|
270
270
|
g("tbody", G, [(x(!0), h(d, null, C(r.surveyors, (e) => (x(), h("tr", {
|
|
271
271
|
key: e.surveyor_id,
|
|
272
|
-
class: "transition-colors hover:bg-
|
|
272
|
+
class: "transition-colors hover:bg-[#eef6ff]/40"
|
|
273
273
|
}, [
|
|
274
274
|
g("td", K, [v(r.RouterLink, {
|
|
275
275
|
to: {
|
|
276
276
|
name: "surveyor-detail",
|
|
277
277
|
params: { id: e.surveyor_id }
|
|
278
278
|
},
|
|
279
|
-
class: "font-semibold text-
|
|
279
|
+
class: "font-semibold text-[#1a46b8] hover:text-[#1c3776] hover:underline"
|
|
280
280
|
}, {
|
|
281
281
|
default: E(() => [_(w(r.personName(e)), 1)]),
|
|
282
282
|
_: 2
|
|
@@ -290,12 +290,12 @@ function $(e, t, n, r, i, a) {
|
|
|
290
290
|
})
|
|
291
291
|
])])) : (x(), h("div", Z, [g("p", Q, w(r.error || "Сертифікат не знайдено."), 1), v(r.RouterLink, {
|
|
292
292
|
to: r.listPath,
|
|
293
|
-
class: "mt-3 inline-block text-sm font-medium text-
|
|
293
|
+
class: "mt-3 inline-block text-sm font-medium text-[#1f5ae0] hover:text-[#1a46b8]"
|
|
294
294
|
}, {
|
|
295
295
|
default: E(() => [...t[5] ||= [_(" Повернутися до реєстру ", -1)]]),
|
|
296
296
|
_: 1
|
|
297
297
|
}, 8, ["to"])]));
|
|
298
298
|
}
|
|
299
|
-
var te = /*#__PURE__*/ e(k, [["render", $], ["__file", "
|
|
299
|
+
var te = /*#__PURE__*/ e(k, [["render", $], ["__file", "C:/softpro/surveyor/admin/src/pages/certificates/card.vue"]]);
|
|
300
300
|
//#endregion
|
|
301
301
|
export { te as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { n as t, t as n } from "./useEntityPath-
|
|
2
|
+
import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
|
|
3
3
|
import { i as r } from "./resources-Cj8BzrBX.js";
|
|
4
|
-
import { n as i, t as a } from "./AppealDetailField-
|
|
5
|
-
import { t as o } from "./RegistryForm-
|
|
4
|
+
import { n as i, t as a } from "./AppealDetailField-ByK9ZqR4.js";
|
|
5
|
+
import { t as o } from "./RegistryForm-Dpis_ncj.js";
|
|
6
6
|
import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./form-DZ3CbtkT.js";
|
|
7
7
|
import { l as ee } from "./appealMapLayers-CQMK3rrz.js";
|
|
8
8
|
import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, normalizeClass as C, normalizeStyle as w, openBlock as T, ref as E, renderList as D, toDisplayString as O, watch as k, withCtx as A } from "vue";
|
|
@@ -147,7 +147,7 @@ var F = /*@__PURE__*/ S({
|
|
|
147
147
|
class: "pl-0"
|
|
148
148
|
}, R = { class: "mb-6" }, z = { class: "mb-4 flex items-center gap-1.5 text-sm" }, B = { class: "font-medium text-slate-700" }, V = { class: "flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between" }, H = { class: "flex items-center gap-3" }, U = { class: "text-xl font-bold tracking-tight text-slate-900" }, W = { class: "flex flex-col gap-5" }, G = {
|
|
149
149
|
key: 0,
|
|
150
|
-
class: "rounded-xl border border-slate-200 bg-white p-5 shadow-
|
|
150
|
+
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)]"
|
|
151
151
|
}, K = { class: "mt-4 flex justify-end gap-3 border-t border-slate-100 pt-4" }, q = { class: "grid grid-cols-1 gap-x-6 gap-y-4 sm:grid-cols-2" }, J = { class: "text-xs" }, Y = { class: "grid grid-cols-1 gap-x-6 gap-y-4 sm:grid-cols-2" }, X = {
|
|
152
152
|
key: 0,
|
|
153
153
|
class: "space-y-1"
|
|
@@ -165,13 +165,13 @@ var F = /*@__PURE__*/ S({
|
|
|
165
165
|
class: "inline-flex items-center gap-2"
|
|
166
166
|
}, ie = { key: 1 }, ae = {
|
|
167
167
|
key: 2,
|
|
168
|
-
class: "rounded-xl border border-slate-200 bg-white px-6 py-16 text-center shadow-
|
|
168
|
+
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)]"
|
|
169
169
|
}, oe = { class: "text-sm text-slate-500" };
|
|
170
170
|
function se(e, t, n, r, i, a) {
|
|
171
171
|
return r.loading ? (T(), v("div", I, " Завантаження… ")) : r.layer ? (T(), v("div", L, [y("header", R, [y("nav", z, [
|
|
172
172
|
x(r.RouterLink, {
|
|
173
173
|
to: r.listPath,
|
|
174
|
-
class: "flex items-center gap-1 text-slate-400 transition-colors hover:text-
|
|
174
|
+
class: "flex items-center gap-1 text-slate-400 transition-colors hover:text-[#1f5ae0]"
|
|
175
175
|
}, {
|
|
176
176
|
default: A(() => [x(r.AppIcon, {
|
|
177
177
|
name: "home",
|
|
@@ -184,7 +184,7 @@ function se(e, t, n, r, i, a) {
|
|
|
184
184
|
]), y("div", V, [y("div", H, [y("h1", U, O(r.layer.name), 1), y("span", { class: C(["inline-flex rounded-full px-2 py-0.5 text-xs font-medium", r.layer.enabled ? "bg-emerald-50 text-emerald-700" : "bg-slate-100 text-slate-500"]) }, O(r.layer.enabled ? "Увімкнено" : "Вимкнено"), 3)]), r.editing ? _("", !0) : (T(), v("button", {
|
|
185
185
|
key: 0,
|
|
186
186
|
type: "button",
|
|
187
|
-
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-
|
|
187
|
+
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]",
|
|
188
188
|
onClick: r.startEdit
|
|
189
189
|
}, [x(r.AppIcon, {
|
|
190
190
|
name: "pencil",
|
|
@@ -202,7 +202,7 @@ function se(e, t, n, r, i, a) {
|
|
|
202
202
|
onClick: r.cancelEdit
|
|
203
203
|
}, " Скасувати "), y("button", {
|
|
204
204
|
type: "button",
|
|
205
|
-
class: "inline-flex h-10 items-center rounded-lg bg-
|
|
205
|
+
class: "inline-flex h-10 items-center rounded-lg bg-[#1f5ae0] px-4 text-sm font-semibold text-white transition-colors hover:bg-[#1a46b8]",
|
|
206
206
|
onClick: t[0] ||= (e) => r.formRef?.submit()
|
|
207
207
|
}, " Зберегти зміни ")])])) : (T(), v(m, { key: 1 }, [
|
|
208
208
|
x(r.AppealDetailSection, { title: "Загальна інформація" }, {
|
|
@@ -320,12 +320,12 @@ function se(e, t, n, r, i, a) {
|
|
|
320
320
|
})
|
|
321
321
|
], 64))])])) : (T(), v("div", ae, [y("p", oe, O(r.error || "Шар не знайдено."), 1), x(r.RouterLink, {
|
|
322
322
|
to: r.listPath,
|
|
323
|
-
class: "mt-3 inline-block text-sm font-medium text-
|
|
323
|
+
class: "mt-3 inline-block text-sm font-medium text-[#1f5ae0] hover:text-[#1a46b8]"
|
|
324
324
|
}, {
|
|
325
325
|
default: A(() => [...t[4] ||= [b(" Повернутися до реєстру ", -1)]]),
|
|
326
326
|
_: 1
|
|
327
327
|
}, 8, ["to"])]));
|
|
328
328
|
}
|
|
329
|
-
var ce = /*#__PURE__*/ e(F, [["render", se], ["__file", "
|
|
329
|
+
var ce = /*#__PURE__*/ e(F, [["render", se], ["__file", "C:/softpro/surveyor/admin/src/pages/map-layers/card.vue"]]);
|
|
330
330
|
//#endregion
|
|
331
331
|
export { ce as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { n as t, t as n } from "./useEntityPath-
|
|
2
|
+
import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
|
|
3
3
|
import { c as r, s as i } from "./resources-Cj8BzrBX.js";
|
|
4
|
-
import { t as a } from "./VerifiedBadge-
|
|
5
|
-
import { t as o } from "./UserAccessBadge-
|
|
6
|
-
import { n as s, t as c } from "./AppealDetailField-
|
|
4
|
+
import { t as a } from "./VerifiedBadge-bk0n-rlC.js";
|
|
5
|
+
import { t as o } from "./UserAccessBadge-DyZDv7Oo.js";
|
|
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
|
-
import { t as d } from "./SurveyorTeleport-
|
|
9
|
-
import { t as f } from "./BaseModal-
|
|
10
|
-
import { t as p } from "./RegistryForm-
|
|
8
|
+
import { t as d } from "./SurveyorTeleport-Cd6D92mo.js";
|
|
9
|
+
import { t as f } from "./BaseModal-BJxKuONh.js";
|
|
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", "
|
|
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", "D:/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)])]),
|
|
@@ -553,7 +553,7 @@ function Ve(e, t, n, r, i, a) {
|
|
|
553
553
|
}, 8, ["model-value", "title"])
|
|
554
554
|
]);
|
|
555
555
|
}
|
|
556
|
-
var He = /*#__PURE__*/ e(W, [["render", Ve], ["__file", "
|
|
556
|
+
var He = /*#__PURE__*/ e(W, [["render", Ve], ["__file", "C:/softpro/surveyor/admin/src/pages/organizations/components/OrganizationUsers.vue"]]), Ue = /*@__PURE__*/ E({
|
|
557
557
|
__name: "card",
|
|
558
558
|
setup(e, { expose: r }) {
|
|
559
559
|
r();
|
|
@@ -671,16 +671,16 @@ var He = /*#__PURE__*/ e(W, [["render", Ve], ["__file", "D:/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,12 +777,12 @@ 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
|
|
784
784
|
}, 8, ["to"])]));
|
|
785
785
|
}
|
|
786
|
-
var ct = /*#__PURE__*/ e(Ue, [["render", st], ["__file", "
|
|
786
|
+
var ct = /*#__PURE__*/ e(Ue, [["render", st], ["__file", "C:/softpro/surveyor/admin/src/pages/organizations/card.vue"]]);
|
|
787
787
|
//#endregion
|
|
788
788
|
export { ct as default };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { n as t, t as n } from "./useEntityPath-
|
|
2
|
+
import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
|
|
3
3
|
import { c as r, o as i, s as a } from "./resources-Cj8BzrBX.js";
|
|
4
|
-
import { t as ee } from "./UserTypeBadge-
|
|
5
|
-
import { n as te, t as ne } from "./AppealDetailField-
|
|
4
|
+
import { t as ee } from "./UserTypeBadge-LvnMuKGo.js";
|
|
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,18 +592,18 @@ 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
|
|
605
605
|
}, 8, ["to"])]));
|
|
606
606
|
}
|
|
607
|
-
var Pe = /*#__PURE__*/ e(E, [["render", Ne], ["__file", "
|
|
607
|
+
var Pe = /*#__PURE__*/ e(E, [["render", Ne], ["__file", "C:/softpro/surveyor/admin/src/pages/users/card.vue"]]);
|
|
608
608
|
//#endregion
|
|
609
609
|
export { Pe as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { n as t, t as n } from "./useEntityPath-
|
|
2
|
+
import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
|
|
3
3
|
import { a as r } from "./resources-Cj8BzrBX.js";
|
|
4
|
-
import { t as i } from "./VerifiedBadge-
|
|
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"
|
|
@@ -137,6 +137,16 @@ function G(e, t, n, r, i, a) {
|
|
|
137
137
|
S(r.PageHeader, {
|
|
138
138
|
title: "Реєстр сертифікатів",
|
|
139
139
|
subtitle: "Кваліфікаційні сертифікати геодезичного кабінету"
|
|
140
|
+
}, {
|
|
141
|
+
default: A(() => [b("button", {
|
|
142
|
+
type: "button",
|
|
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
|
+
onClick: t[0] ||= (e) => r.showAddModal = !0
|
|
145
|
+
}, [S(r.AppIcon, {
|
|
146
|
+
name: "plus",
|
|
147
|
+
class: "h-4 w-4"
|
|
148
|
+
}), t[6] ||= x(" Додати ", -1)])]),
|
|
149
|
+
_: 1
|
|
140
150
|
}),
|
|
141
151
|
b("section", P, [
|
|
142
152
|
S(r.RegistryToolbar, {
|
|
@@ -148,34 +158,34 @@ function G(e, t, n, r, i, a) {
|
|
|
148
158
|
name: "search",
|
|
149
159
|
class: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400"
|
|
150
160
|
}), j(b("input", {
|
|
151
|
-
"onUpdate:modelValue": t[
|
|
161
|
+
"onUpdate:modelValue": t[1] ||= (e) => r.query = e,
|
|
152
162
|
type: "search",
|
|
153
163
|
placeholder: "Пошук (ПІБ, номер сертифіката)…",
|
|
154
|
-
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]"
|
|
155
165
|
}, null, 512), [[k, r.query]])])]),
|
|
156
166
|
actions: A(() => [b("button", I, [S(r.AppIcon, {
|
|
157
167
|
name: "download",
|
|
158
168
|
class: "h-4 w-4"
|
|
159
169
|
})]), b("div", L, [b("button", {
|
|
160
170
|
type: "button",
|
|
161
|
-
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]",
|
|
162
172
|
"aria-label": "Налаштувати колонки",
|
|
163
|
-
onClick: t[
|
|
173
|
+
onClick: t[2] ||= (e) => r.columnsOpen = !r.columnsOpen
|
|
164
174
|
}, [S(r.AppIcon, {
|
|
165
175
|
name: "columns-3",
|
|
166
176
|
class: "h-4 w-4"
|
|
167
|
-
})]), r.columnsOpen ? (T(), y("div", R, [t[
|
|
177
|
+
})]), r.columnsOpen ? (T(), y("div", R, [t[7] ||= b("p", { class: "px-2 py-1 text-xs font-semibold uppercase tracking-wide text-slate-400" }, "Показати колонки", -1), (T(!0), y(h, null, D(r.columns, (e) => (T(), y("label", {
|
|
168
178
|
key: e.key,
|
|
169
179
|
class: "flex cursor-pointer items-center gap-2 rounded-md px-2 py-2 text-sm text-slate-600 hover:bg-slate-50"
|
|
170
180
|
}, [b("input", {
|
|
171
181
|
type: "checkbox",
|
|
172
182
|
checked: r.visibleColumns.includes(e.key),
|
|
173
|
-
class: "h-4 w-4 accent-
|
|
183
|
+
class: "h-4 w-4 accent-[#1f5ae0]",
|
|
174
184
|
onChange: (t) => r.toggleColumn(e.key)
|
|
175
185
|
}, null, 40, z), x(" " + O(e.label), 1)]))), 128))])) : v("", !0)])]),
|
|
176
186
|
_: 1
|
|
177
187
|
}, 8, ["filter-config", "filter-values"]),
|
|
178
|
-
b("div", B, [b("span", null, [t[
|
|
188
|
+
b("div", B, [b("span", null, [t[8] ||= x("Знайдено сертифікатів: ", -1), b("strong", V, O(r.total), 1)])]),
|
|
179
189
|
S(r.RegistryTable, {
|
|
180
190
|
class: "mt-3",
|
|
181
191
|
rows: r.rows,
|
|
@@ -188,7 +198,7 @@ function G(e, t, n, r, i, a) {
|
|
|
188
198
|
cell: A(({ row: e, column: t }) => [t === "fullName" ? (T(), _(r.RouterLink, {
|
|
189
199
|
key: 0,
|
|
190
200
|
to: r.detailPath(e.certificate_id),
|
|
191
|
-
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"
|
|
192
202
|
}, {
|
|
193
203
|
default: A(() => [x(O(r.personName(e)), 1)]),
|
|
194
204
|
_: 2
|
|
@@ -197,10 +207,10 @@ function G(e, t, n, r, i, a) {
|
|
|
197
207
|
verified: e.isvalid
|
|
198
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", {
|
|
199
209
|
key: 5,
|
|
200
|
-
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"])
|
|
201
211
|
}, O(r.formatDate(e.certificate_suspension) || "—"), 3)) : t === "terminatedAt" ? (T(), y("span", {
|
|
202
212
|
key: 6,
|
|
203
|
-
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"])
|
|
204
214
|
}, O(e.certificate_stopping || "—"), 3)) : v("", !0)]),
|
|
205
215
|
_: 1
|
|
206
216
|
}, 8, [
|
|
@@ -212,9 +222,9 @@ function G(e, t, n, r, i, a) {
|
|
|
212
222
|
r.total > 0 ? (T(), _(r.TablePagination, {
|
|
213
223
|
key: 0,
|
|
214
224
|
page: r.page,
|
|
215
|
-
"onUpdate:page": t[
|
|
225
|
+
"onUpdate:page": t[3] ||= (e) => r.page = e,
|
|
216
226
|
"page-size": r.pageSize,
|
|
217
|
-
"onUpdate:pageSize": t[
|
|
227
|
+
"onUpdate:pageSize": t[4] ||= (e) => r.pageSize = e,
|
|
218
228
|
total: r.total
|
|
219
229
|
}, null, 8, [
|
|
220
230
|
"page",
|
|
@@ -224,7 +234,7 @@ function G(e, t, n, r, i, a) {
|
|
|
224
234
|
]),
|
|
225
235
|
S(r.RegistryFormModal, {
|
|
226
236
|
modelValue: r.showAddModal,
|
|
227
|
-
"onUpdate:modelValue": t[
|
|
237
|
+
"onUpdate:modelValue": t[5] ||= (e) => r.showAddModal = e,
|
|
228
238
|
title: "Новий сертифікат",
|
|
229
239
|
config: r.config.form,
|
|
230
240
|
width: "max-w-3xl",
|
|
@@ -232,6 +242,6 @@ function G(e, t, n, r, i, a) {
|
|
|
232
242
|
}, null, 8, ["modelValue", "config"])
|
|
233
243
|
]);
|
|
234
244
|
}
|
|
235
|
-
var K = /*#__PURE__*/ e(N, [["render", G], ["__file", "
|
|
245
|
+
var K = /*#__PURE__*/ e(N, [["render", G], ["__file", "C:/softpro/surveyor/admin/src/pages/certificates/index.vue"]]);
|
|
236
246
|
//#endregion
|
|
237
247
|
export { K as default };
|