@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,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { n, t as r } from "./useEntityPath-
|
|
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-
|
|
8
|
-
import { t as d } from "./SurveyorTeleport-
|
|
9
|
-
import { t as f } from "./RegistryFormModal-
|
|
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
|
+
import { t as d } from "./SurveyorTeleport-Cd6D92mo.js";
|
|
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", {
|
|
@@ -401,6 +401,6 @@ function se(e, t, n, r, i, a) {
|
|
|
401
401
|
}, null, 8, ["modelValue", "config"])
|
|
402
402
|
]);
|
|
403
403
|
}
|
|
404
|
-
var ce = /*#__PURE__*/ t(U, [["render", se], ["__file", "
|
|
404
|
+
var ce = /*#__PURE__*/ t(U, [["render", se], ["__file", "C:/softpro/surveyor/admin/src/pages/map-layers/index.vue"]]);
|
|
405
405
|
//#endregion
|
|
406
406
|
export { ce as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { n, t as r } from "./useEntityPath-
|
|
3
|
+
import { n, t as r } from "./useEntityPath-C5Owtidc.js";
|
|
4
4
|
import { a as i, r as ee } from "./resources-Cj8BzrBX.js";
|
|
5
|
-
import { t as te } from "./VerifiedBadge-
|
|
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-
|
|
9
|
-
import { t as d } from "./SurveyorTeleport-
|
|
10
|
-
import { t as f } from "./RegistryFormModal-
|
|
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
|
+
import { t as d } from "./SurveyorTeleport-Cd6D92mo.js";
|
|
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", {
|
|
@@ -477,6 +477,6 @@ function pe(e, t, n, r, i, ee) {
|
|
|
477
477
|
}, null, 8, ["modelValue", "config"])
|
|
478
478
|
]);
|
|
479
479
|
}
|
|
480
|
-
var me = /*#__PURE__*/ t(B, [["render", pe], ["__file", "
|
|
480
|
+
var me = /*#__PURE__*/ t(B, [["render", pe], ["__file", "C:/softpro/surveyor/admin/src/pages/organizations/index.vue"]]);
|
|
481
481
|
//#endregion
|
|
482
482
|
export { me as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { n as t } from "./surveyor-CDkI2Dcp.js";
|
|
3
3
|
import { i as n, r } from "./profile-aXlo4qqA.js";
|
|
4
|
-
import { t as i } from "./AppIcon-
|
|
4
|
+
import { t as i } from "./AppIcon-CO70tpMX.js";
|
|
5
5
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, openBlock as h, ref as g, renderList as _, toDisplayString as v, vModelDynamic as y, withDirectives as b } from "vue";
|
|
6
6
|
//#region cabinet/src/pages/profile/components/PasswordModal.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var x = 8, ee = /*@__PURE__*/ p({
|
|
@@ -124,7 +124,7 @@ function L(e, t, n, r, i, a) {
|
|
|
124
124
|
})) : c("", !0), d(" " + v(r.saved ? "Збережено" : r.submitting ? "Збереження…" : "Зберегти"), 1)], 10, I)])
|
|
125
125
|
])]);
|
|
126
126
|
}
|
|
127
|
-
var R = /*#__PURE__*/ e(ee, [["render", L], ["__file", "
|
|
127
|
+
var R = /*#__PURE__*/ e(ee, [["render", L], ["__file", "C:/softpro/surveyor/cabinet/src/pages/profile/components/PasswordModal.vue"]]), z = "Не вказано", B = /*@__PURE__*/ p({
|
|
128
128
|
__name: "index",
|
|
129
129
|
setup(e, { expose: t }) {
|
|
130
130
|
t();
|
|
@@ -240,6 +240,6 @@ function re(e, t, n, r, i, o) {
|
|
|
240
240
|
onClose: t[1] ||= (e) => r.passwordOpen = !1
|
|
241
241
|
})) : c("", !0)]);
|
|
242
242
|
}
|
|
243
|
-
var ie = /*#__PURE__*/ e(B, [["render", re], ["__file", "
|
|
243
|
+
var ie = /*#__PURE__*/ e(B, [["render", re], ["__file", "C:/softpro/surveyor/cabinet/src/pages/profile/index.vue"]]);
|
|
244
244
|
//#endregion
|
|
245
245
|
export { ie as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { r as t } from "./surveyor-CDkI2Dcp.js";
|
|
3
|
-
import { t as n } from "./AppIcon-
|
|
3
|
+
import { t as n } from "./AppIcon-CO70tpMX.js";
|
|
4
4
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, openBlock as u, ref as d, toDisplayString as f, vModelText as p, withCtx as m, withDirectives as h, withModifiers as g } from "vue";
|
|
5
5
|
import { RouterLink as _, useRoute as v, useRouter as y } from "vue-router";
|
|
6
6
|
//#region cabinet/src/pages/registration/index.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -52,7 +52,7 @@ var b = "Мінімум 8 символів", x = /*@__PURE__*/ l({
|
|
|
52
52
|
value: !0
|
|
53
53
|
}), h;
|
|
54
54
|
}
|
|
55
|
-
}), S = { class: "flex min-h-screen items-center justify-center bg-gradient-to-br from-
|
|
55
|
+
}), S = { class: "flex min-h-screen items-center justify-center bg-gradient-to-br from-[#eef6ff] via-white to-slate-100 px-4" }, C = { class: "w-full max-w-md" }, w = { class: "mb-8 text-center" }, T = { class: "mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-2xl bg-gradient-to-br from-[#d9eaff] to-[#bcd9ff] shadow-lg shadow-[#1f5ae0]/20 ring-1 ring-[#bcd9ff]/60" }, E = { class: "block text-sm font-medium text-slate-700" }, D = { class: "mt-4 block text-sm font-medium text-slate-700" }, O = {
|
|
56
56
|
key: 0,
|
|
57
57
|
class: "mt-4 text-sm text-red-600"
|
|
58
58
|
}, k = ["disabled"], A = { class: "mt-6 text-center text-sm text-slate-500" };
|
|
@@ -60,7 +60,7 @@ function j(e, t, n, r, l, d) {
|
|
|
60
60
|
return u(), a("div", S, [o("div", C, [o("div", w, [
|
|
61
61
|
o("div", T, [c(r.AppIcon, {
|
|
62
62
|
name: "map-pinned",
|
|
63
|
-
class: "h-7 w-7 text-
|
|
63
|
+
class: "h-7 w-7 text-[#1f5ae0]"
|
|
64
64
|
})]),
|
|
65
65
|
t[2] ||= o("h1", { class: "text-2xl font-semibold text-slate-900" }, "Завершення реєстрації", -1),
|
|
66
66
|
t[3] ||= o("p", { class: "mt-1 text-sm text-slate-500" }, "Встановіть пароль для входу в кабінет геодезиста", -1)
|
|
@@ -73,30 +73,30 @@ function j(e, t, n, r, l, d) {
|
|
|
73
73
|
type: "password",
|
|
74
74
|
autocomplete: "new-password",
|
|
75
75
|
placeholder: r.passwordHint,
|
|
76
|
-
class: "mt-1.5 h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-
|
|
76
|
+
class: "mt-1.5 h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-[#599dff] focus:ring-1 focus:ring-[#599dff]"
|
|
77
77
|
}, null, 512), [[p, r.password]])]),
|
|
78
78
|
o("label", D, [t[5] ||= s(" Підтвердження пароля ", -1), h(o("input", {
|
|
79
79
|
"onUpdate:modelValue": t[1] ||= (e) => r.passwordConfirmation = e,
|
|
80
80
|
type: "password",
|
|
81
81
|
autocomplete: "new-password",
|
|
82
82
|
placeholder: "Повторіть пароль",
|
|
83
|
-
class: "mt-1.5 h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-
|
|
83
|
+
class: "mt-1.5 h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-[#599dff] focus:ring-1 focus:ring-[#599dff]"
|
|
84
84
|
}, null, 512), [[p, r.passwordConfirmation]])]),
|
|
85
85
|
r.error ? (u(), a("p", O, f(r.error), 1)) : i("", !0),
|
|
86
86
|
o("button", {
|
|
87
87
|
type: "submit",
|
|
88
|
-
class: "mt-4 w-full rounded-xl bg-
|
|
88
|
+
class: "mt-4 w-full rounded-xl bg-[#1f5ae0] py-2.5 text-sm font-semibold text-white transition-colors hover:bg-[#1a46b8] disabled:cursor-not-allowed disabled:opacity-60",
|
|
89
89
|
disabled: r.submitting || !r.token
|
|
90
90
|
}, f(r.submitting ? "Збереження…" : "Активувати обліковий запис"), 9, k),
|
|
91
91
|
o("p", A, [t[7] ||= s(" Уже маєте пароль? ", -1), c(r.RouterLink, {
|
|
92
92
|
to: "/login",
|
|
93
|
-
class: "font-medium text-
|
|
93
|
+
class: "font-medium text-[#1a46b8] hover:text-[#1c3776] hover:underline"
|
|
94
94
|
}, {
|
|
95
95
|
default: m(() => [...t[6] ||= [s(" Увійти ", -1)]]),
|
|
96
96
|
_: 1
|
|
97
97
|
})])
|
|
98
98
|
], 32)])]);
|
|
99
99
|
}
|
|
100
|
-
var M = /*#__PURE__*/ e(x, [["render", j], ["__file", "
|
|
100
|
+
var M = /*#__PURE__*/ e(x, [["render", j], ["__file", "C:/softpro/surveyor/cabinet/src/pages/registration/index.vue"]]);
|
|
101
101
|
//#endregion
|
|
102
102
|
export { M as default };
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
+
import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
|
|
3
|
+
import { a as r } from "./resources-Cj8BzrBX.js";
|
|
4
|
+
import { t as i } from "./filterQuery-Dka-mIso.js";
|
|
5
|
+
import { i as a, n as o, r as s, t as c } from "./RegistryToolbar-DisEejvi.js";
|
|
6
|
+
import { t as l } from "./TablePagination-thQkE5iA.js";
|
|
7
|
+
import { t as u } from "./SurveyorTeleport-Cd6D92mo.js";
|
|
8
|
+
import { i as d, n as f, t as p, u as m } from "./AppealStatusBadge-DzMn4RVy.js";
|
|
9
|
+
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";
|
|
10
|
+
import { RouterLink as F, useRouter as I } from "vue-router";
|
|
11
|
+
//#region admin/src/pages/requests/index.vue?vue&type=script&setup=true&lang.ts
|
|
12
|
+
var L = /*@__PURE__*/ C({
|
|
13
|
+
__name: "index",
|
|
14
|
+
setup(e, { expose: h }) {
|
|
15
|
+
h();
|
|
16
|
+
let _ = d.columns, v = _.flatMap((e) => e.sort ? [e.sort] : []), { query: y, filterValues: b, page: x, pageSize: S, sort: C, listFilters: w, bindListLoader: D } = a({
|
|
17
|
+
arrayFilterKeys: ["status", "year"],
|
|
18
|
+
defaultSort: d.sort,
|
|
19
|
+
sortFields: v,
|
|
20
|
+
buildFilters: i
|
|
21
|
+
}), k = I(), { detailPath: A } = n("number"), j = O(!1), M = O([
|
|
22
|
+
"number",
|
|
23
|
+
"organization",
|
|
24
|
+
"address",
|
|
25
|
+
"status",
|
|
26
|
+
"workType",
|
|
27
|
+
"createdAt",
|
|
28
|
+
"actions"
|
|
29
|
+
]), N = O(null), P = O({
|
|
30
|
+
top: "0px",
|
|
31
|
+
left: "0px"
|
|
32
|
+
}), L = O([]), R = O(0), z = O(!1), B = O("");
|
|
33
|
+
function V(e) {
|
|
34
|
+
if (!e) return "—";
|
|
35
|
+
let t = e.match(/^(\d{4})-(\d{2})-(\d{2})/);
|
|
36
|
+
return t ? `${t[3]}.${t[2]}.${t[1]}` : e;
|
|
37
|
+
}
|
|
38
|
+
function H(e) {
|
|
39
|
+
return e.address_id_data?.text || e.location || "—";
|
|
40
|
+
}
|
|
41
|
+
function U(e, t) {
|
|
42
|
+
if (N.value === e) {
|
|
43
|
+
N.value = null;
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
let n = t.currentTarget.getBoundingClientRect(), r = window.innerHeight - n.bottom < 56 ? n.top - 48 - 4 : n.bottom + 4, i = Math.min(Math.max(8, n.right - 176), window.innerWidth - 176 - 8);
|
|
47
|
+
P.value = {
|
|
48
|
+
top: `${r}px`,
|
|
49
|
+
left: `${i}px`
|
|
50
|
+
}, N.value = e;
|
|
51
|
+
}
|
|
52
|
+
function W(e) {
|
|
53
|
+
N.value = null, k.push({
|
|
54
|
+
path: A(e.app_id),
|
|
55
|
+
query: { edit: "1" }
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function G(e) {
|
|
59
|
+
let t = e.target;
|
|
60
|
+
t instanceof Element && t.closest("[data-row-actions]") || (N.value = null);
|
|
61
|
+
}
|
|
62
|
+
let K = 0, q = g(() => z.value ? "Завантаження…" : B.value ? B.value : "За заданими фільтрами звернень не знайдено.");
|
|
63
|
+
async function J() {
|
|
64
|
+
let e = ++K;
|
|
65
|
+
z.value = !0, B.value = "";
|
|
66
|
+
try {
|
|
67
|
+
let t = await r(m, {
|
|
68
|
+
page: x.value,
|
|
69
|
+
limit: S.value,
|
|
70
|
+
sort: C.value,
|
|
71
|
+
search: y.value.trim() || void 0,
|
|
72
|
+
filters: w.value
|
|
73
|
+
});
|
|
74
|
+
if (e !== K) return;
|
|
75
|
+
L.value = t.rows ?? [], R.value = Number(t.total) || 0;
|
|
76
|
+
} catch (t) {
|
|
77
|
+
if (e !== K) return;
|
|
78
|
+
L.value = [], R.value = 0, B.value = t instanceof Error ? t.message : "Не вдалося завантажити звернення";
|
|
79
|
+
} finally {
|
|
80
|
+
e === K && (z.value = !1);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
D(() => {
|
|
84
|
+
N.value = null, J();
|
|
85
|
+
}), T(() => {
|
|
86
|
+
document.addEventListener("click", G), window.addEventListener("resize", G), window.addEventListener("scroll", G, !0);
|
|
87
|
+
}), E(() => {
|
|
88
|
+
document.removeEventListener("click", G), window.removeEventListener("resize", G), window.removeEventListener("scroll", G, !0);
|
|
89
|
+
});
|
|
90
|
+
function Y(e) {
|
|
91
|
+
b.value = e;
|
|
92
|
+
}
|
|
93
|
+
function X(e) {
|
|
94
|
+
C.value !== e && (x.value !== 1 && (x.value = 1), C.value = e);
|
|
95
|
+
}
|
|
96
|
+
function Z(e) {
|
|
97
|
+
M.value = M.value.includes(e) ? M.value.length > 1 ? M.value.filter((t) => t !== e) : M.value : M.value.length < 8 ? [...M.value, e] : M.value;
|
|
98
|
+
}
|
|
99
|
+
let Q = {
|
|
100
|
+
columns: _,
|
|
101
|
+
sortableFields: v,
|
|
102
|
+
query: y,
|
|
103
|
+
filterValues: b,
|
|
104
|
+
page: x,
|
|
105
|
+
pageSize: S,
|
|
106
|
+
sort: C,
|
|
107
|
+
listFilters: w,
|
|
108
|
+
bindListLoader: D,
|
|
109
|
+
router: k,
|
|
110
|
+
detailPath: A,
|
|
111
|
+
columnsOpen: j,
|
|
112
|
+
visibleColumns: M,
|
|
113
|
+
actionsOpen: N,
|
|
114
|
+
menuStyle: P,
|
|
115
|
+
rows: L,
|
|
116
|
+
total: R,
|
|
117
|
+
loading: z,
|
|
118
|
+
error: B,
|
|
119
|
+
formatDate: V,
|
|
120
|
+
addressLabel: H,
|
|
121
|
+
toggleActions: U,
|
|
122
|
+
editApplication: W,
|
|
123
|
+
closeActions: G,
|
|
124
|
+
get requestId() {
|
|
125
|
+
return K;
|
|
126
|
+
},
|
|
127
|
+
set requestId(e) {
|
|
128
|
+
K = e;
|
|
129
|
+
},
|
|
130
|
+
emptyText: q,
|
|
131
|
+
loadRows: J,
|
|
132
|
+
onFilterValuesUpdate: Y,
|
|
133
|
+
onSort: X,
|
|
134
|
+
toggleColumn: Z,
|
|
135
|
+
AppIcon: t,
|
|
136
|
+
SurveyorTeleport: u,
|
|
137
|
+
get RouterLink() {
|
|
138
|
+
return F;
|
|
139
|
+
},
|
|
140
|
+
AppealStatusBadge: p,
|
|
141
|
+
PageHeader: s,
|
|
142
|
+
RegistryTable: o,
|
|
143
|
+
TablePagination: l,
|
|
144
|
+
RegistryToolbar: c,
|
|
145
|
+
get config() {
|
|
146
|
+
return f;
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
return Object.defineProperty(Q, "__isScriptSetup", {
|
|
150
|
+
enumerable: !1,
|
|
151
|
+
value: !0
|
|
152
|
+
}), Q;
|
|
153
|
+
}
|
|
154
|
+
}), R = { class: "px-4" }, z = { class: "relative block" }, B = {
|
|
155
|
+
type: "button",
|
|
156
|
+
class: "inline-flex h-10 w-10 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 transition-colors hover:border-[#8ec1ff] hover:text-[#1a46b8]",
|
|
157
|
+
"aria-label": "Експорт"
|
|
158
|
+
}, V = { class: "relative" }, H = {
|
|
159
|
+
key: 0,
|
|
160
|
+
class: "absolute right-0 top-12 z-20 w-56 rounded-lg border border-slate-200 bg-white p-2 shadow-[0_4px_12px_0_rgb(15_23_42/0.08),0_2px_4px_0_rgb(15_23_42/0.06)]"
|
|
161
|
+
}, U = ["checked", "onChange"], W = { class: "mt-3 flex items-center justify-between border-t border-slate-100 pt-3 text-xs text-slate-400" }, G = { class: "font-semibold text-slate-600" }, K = {
|
|
162
|
+
key: 1,
|
|
163
|
+
class: "min-w-0"
|
|
164
|
+
}, q = { class: "break-words font-semibold text-slate-700" }, J = { class: "break-words text-xs text-slate-400" }, Y = {
|
|
165
|
+
key: 2,
|
|
166
|
+
class: "text-slate-600"
|
|
167
|
+
}, X = {
|
|
168
|
+
key: 4,
|
|
169
|
+
class: "text-slate-600"
|
|
170
|
+
}, Z = {
|
|
171
|
+
key: 5,
|
|
172
|
+
class: "whitespace-nowrap text-slate-600"
|
|
173
|
+
}, Q = {
|
|
174
|
+
key: 6,
|
|
175
|
+
class: "text-slate-600"
|
|
176
|
+
}, $ = {
|
|
177
|
+
key: 7,
|
|
178
|
+
class: "flex justify-center"
|
|
179
|
+
}, ee = [
|
|
180
|
+
"aria-expanded",
|
|
181
|
+
"aria-label",
|
|
182
|
+
"onClick"
|
|
183
|
+
], te = ["onClick"];
|
|
184
|
+
function ne(e, t, n, r, i, a) {
|
|
185
|
+
return D(), y("div", null, [S(r.PageHeader, {
|
|
186
|
+
title: "Звернення на видачу та прийом матеріалів",
|
|
187
|
+
subtitle: "Реєстр звернень геодезичного кабінету"
|
|
188
|
+
}), b("section", R, [
|
|
189
|
+
S(r.RegistryToolbar, {
|
|
190
|
+
nowrap: "",
|
|
191
|
+
"search-min": "min-w-[160px] max-w-[300px]",
|
|
192
|
+
"filter-config": r.config.filter,
|
|
193
|
+
"filter-values": r.filterValues,
|
|
194
|
+
"onUpdate:filterValues": r.onFilterValuesUpdate
|
|
195
|
+
}, {
|
|
196
|
+
search: M(() => [b("label", z, [S(r.AppIcon, {
|
|
197
|
+
name: "search",
|
|
198
|
+
class: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400"
|
|
199
|
+
}), N(b("input", {
|
|
200
|
+
"onUpdate:modelValue": t[0] ||= (e) => r.query = e,
|
|
201
|
+
type: "search",
|
|
202
|
+
placeholder: "Пошук…",
|
|
203
|
+
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]"
|
|
204
|
+
}, null, 512), [[j, r.query]])])]),
|
|
205
|
+
actions: M(() => [b("button", B, [S(r.AppIcon, {
|
|
206
|
+
name: "download",
|
|
207
|
+
class: "h-4 w-4"
|
|
208
|
+
})]), b("div", V, [b("button", {
|
|
209
|
+
type: "button",
|
|
210
|
+
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]",
|
|
211
|
+
onClick: t[1] ||= (e) => r.columnsOpen = !r.columnsOpen
|
|
212
|
+
}, [S(r.AppIcon, {
|
|
213
|
+
name: "columns-3",
|
|
214
|
+
class: "h-4 w-4"
|
|
215
|
+
})]), r.columnsOpen ? (D(), y("div", H, [
|
|
216
|
+
t[4] ||= b("p", { class: "px-2 py-1 text-xs font-semibold uppercase tracking-wide text-slate-400" }, "Налаштувати колонки", -1),
|
|
217
|
+
(D(!0), y(h, null, k(r.columns, (e) => (D(), y("label", {
|
|
218
|
+
key: e.key,
|
|
219
|
+
class: "flex cursor-pointer items-center gap-2 rounded-md px-2 py-2 text-sm text-slate-600 hover:bg-slate-50"
|
|
220
|
+
}, [b("input", {
|
|
221
|
+
type: "checkbox",
|
|
222
|
+
checked: r.visibleColumns.includes(e.key),
|
|
223
|
+
class: "h-4 w-4 accent-[#1f5ae0]",
|
|
224
|
+
onChange: (t) => r.toggleColumn(e.key)
|
|
225
|
+
}, null, 40, U), x(" " + A(e.label), 1)]))), 128)),
|
|
226
|
+
t[5] ||= b("p", { class: "px-2 pt-1 text-[11px] text-slate-400" }, "До 8 колонок одночасно", -1)
|
|
227
|
+
])) : v("", !0)])]),
|
|
228
|
+
_: 1
|
|
229
|
+
}, 8, ["filter-config", "filter-values"]),
|
|
230
|
+
b("div", W, [b("span", null, [t[6] ||= x("Знайдено звернень: ", -1), b("strong", G, A(r.total), 1)])]),
|
|
231
|
+
S(r.RegistryTable, {
|
|
232
|
+
class: "mt-3",
|
|
233
|
+
rows: r.rows,
|
|
234
|
+
columns: r.columns,
|
|
235
|
+
"visible-keys": r.visibleColumns,
|
|
236
|
+
"row-key": "app_id",
|
|
237
|
+
sort: r.sort,
|
|
238
|
+
"empty-text": r.emptyText,
|
|
239
|
+
onSort: r.onSort
|
|
240
|
+
}, {
|
|
241
|
+
cell: M(({ row: e, column: n }) => [n === "number" ? (D(), _(r.RouterLink, {
|
|
242
|
+
key: 0,
|
|
243
|
+
to: r.detailPath(e.app_id),
|
|
244
|
+
class: "font-semibold text-[#1a46b8] underline-offset-4 transition-colors hover:text-[#1c3776] hover:underline"
|
|
245
|
+
}, {
|
|
246
|
+
default: M(() => [x(A(e.number || "—"), 1)]),
|
|
247
|
+
_: 2
|
|
248
|
+
}, 1032, ["to"])) : n === "organization" ? (D(), y("div", K, [b("p", q, A(e.org_id_data?.text || "—"), 1), b("p", J, A(e.surveyor_id_data?.text || "—"), 1)])) : n === "address" ? (D(), y("span", Y, A(r.addressLabel(e)), 1)) : n === "status" ? (D(), _(r.AppealStatusBadge, {
|
|
249
|
+
key: 3,
|
|
250
|
+
status: e.status || "",
|
|
251
|
+
label: e.status_data?.text || void 0,
|
|
252
|
+
size: "sm"
|
|
253
|
+
}, null, 8, ["status", "label"])) : n === "workType" ? (D(), y("span", X, A(e.work_type_data?.text || "—"), 1)) : n === "createdAt" ? (D(), y("span", Z, A(r.formatDate(e.created_at)), 1)) : n === "checkedBy" ? (D(), y("span", Q, A(e.verified_by_data?.text || "—"), 1)) : n === "actions" ? (D(), y("div", $, [b("button", {
|
|
254
|
+
type: "button",
|
|
255
|
+
"data-row-actions": "",
|
|
256
|
+
class: "inline-flex h-8 w-8 items-center justify-center rounded-lg text-slate-400 transition-colors hover:bg-[#eef6ff] hover:text-[#1a46b8]",
|
|
257
|
+
"aria-expanded": r.actionsOpen === e.app_id,
|
|
258
|
+
"aria-label": `Дії для звернення ${e.number || e.app_id}`,
|
|
259
|
+
onClick: P((t) => r.toggleActions(e.app_id, t), ["stop"])
|
|
260
|
+
}, [S(r.AppIcon, {
|
|
261
|
+
name: "more-vertical",
|
|
262
|
+
class: "h-4 w-4"
|
|
263
|
+
})], 8, ee), S(r.SurveyorTeleport, null, {
|
|
264
|
+
default: M(() => [r.actionsOpen === e.app_id ? (D(), y("div", {
|
|
265
|
+
key: 0,
|
|
266
|
+
"data-row-actions": "",
|
|
267
|
+
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)]",
|
|
268
|
+
style: w(r.menuStyle)
|
|
269
|
+
}, [b("button", {
|
|
270
|
+
type: "button",
|
|
271
|
+
class: "flex w-full items-center gap-2 px-3 py-2.5 text-sm text-slate-700 transition-colors hover:bg-slate-50",
|
|
272
|
+
onClick: (t) => r.editApplication(e)
|
|
273
|
+
}, [S(r.AppIcon, {
|
|
274
|
+
name: "pencil",
|
|
275
|
+
class: "h-4 w-4 text-slate-400"
|
|
276
|
+
}), t[7] ||= x(" Редагувати ", -1)], 8, te)], 4)) : v("", !0)]),
|
|
277
|
+
_: 2
|
|
278
|
+
}, 1024)])) : v("", !0)]),
|
|
279
|
+
_: 1
|
|
280
|
+
}, 8, [
|
|
281
|
+
"rows",
|
|
282
|
+
"columns",
|
|
283
|
+
"visible-keys",
|
|
284
|
+
"sort",
|
|
285
|
+
"empty-text"
|
|
286
|
+
]),
|
|
287
|
+
r.total > 0 ? (D(), _(r.TablePagination, {
|
|
288
|
+
key: 0,
|
|
289
|
+
page: r.page,
|
|
290
|
+
"onUpdate:page": t[2] ||= (e) => r.page = e,
|
|
291
|
+
"page-size": r.pageSize,
|
|
292
|
+
"onUpdate:pageSize": t[3] ||= (e) => r.pageSize = e,
|
|
293
|
+
total: r.total
|
|
294
|
+
}, null, 8, [
|
|
295
|
+
"page",
|
|
296
|
+
"page-size",
|
|
297
|
+
"total"
|
|
298
|
+
])) : v("", !0)
|
|
299
|
+
])]);
|
|
300
|
+
}
|
|
301
|
+
var re = /*#__PURE__*/ e(L, [["render", ne], ["__file", "C:/softpro/surveyor/admin/src/pages/requests/index.vue"]]);
|
|
302
|
+
//#endregion
|
|
303
|
+
export { re as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { n as t, r as n, s as r, t as i } from "./organizations-DbVDoURw.js";
|
|
3
|
-
import { t as a } from "./AppIcon-
|
|
3
|
+
import { t as a } from "./AppIcon-CO70tpMX.js";
|
|
4
4
|
import { t as o } from "./list-search-D5VdmGdV.js";
|
|
5
|
-
import { n as s, r as c, t as l } from "./AppealStatusBadge-
|
|
6
|
-
import {
|
|
5
|
+
import { n as s, r as c, t as l } from "./AppealStatusBadge-BlAaNUSK.js";
|
|
6
|
+
import { a as u } from "./applications-B6GAxopO.js";
|
|
7
7
|
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, reactive as S, ref as C, renderList as w, toDisplayString as T, vModelText as E, watch as D, withCtx as O, withDirectives as k, withModifiers as A } from "vue";
|
|
8
8
|
import { RouterLink as ee, useRoute as te } from "vue-router";
|
|
9
9
|
//#region cabinet/src/components/table/TablePagination.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -118,7 +118,7 @@ function W(e, t, n, r, i, a) {
|
|
|
118
118
|
})], 8, U)
|
|
119
119
|
])]);
|
|
120
120
|
}
|
|
121
|
-
var G = /*#__PURE__*/ e(j, [["render", W], ["__file", "
|
|
121
|
+
var G = /*#__PURE__*/ e(j, [["render", W], ["__file", "C:/softpro/surveyor/cabinet/src/components/table/TablePagination.vue"]]), K = /*@__PURE__*/ y({
|
|
122
122
|
__name: "RequestFilters",
|
|
123
123
|
props: { filters: {
|
|
124
124
|
type: Object,
|
|
@@ -206,7 +206,7 @@ function ae(e, t, n, r, i, a) {
|
|
|
206
206
|
}, " Застосувати ")])
|
|
207
207
|
])], 32);
|
|
208
208
|
}
|
|
209
|
-
var oe = /*#__PURE__*/ e(K, [["render", ae], ["__file", "
|
|
209
|
+
var oe = /*#__PURE__*/ e(K, [["render", ae], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/components/RequestFilters.vue"]]), se = /*@__PURE__*/ y({
|
|
210
210
|
__name: "index",
|
|
211
211
|
setup(e, { expose: d }) {
|
|
212
212
|
d();
|
|
@@ -526,6 +526,6 @@ function We(e, t, n, r, i, a) {
|
|
|
526
526
|
}, null, 8, ["filters"])) : m("", !0)
|
|
527
527
|
]);
|
|
528
528
|
}
|
|
529
|
-
var Ge = /*#__PURE__*/ e(se, [["render", We], ["__file", "
|
|
529
|
+
var Ge = /*#__PURE__*/ e(se, [["render", We], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/index.vue"]]);
|
|
530
530
|
//#endregion
|
|
531
531
|
export { Ge as default };
|