@opengis/surveyor 0.0.2 → 0.0.3
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/dist/chunks/{AppealDetailField-CI-1qhs3.js → AppealDetailField-DNRGpnyD.js} +2 -2
- package/dist/chunks/{AppealStatusBadge-CSXnfarR.js → AppealStatusBadge-CefimzY3.js} +2 -2
- package/dist/chunks/{AppealStatusBadge-DYBe9hqP.js → AppealStatusBadge-Cu-UzdzA.js} +1 -1
- package/dist/chunks/{ApplicationHistorySection-C0wwhwA4.js → ApplicationHistorySection-PwToBfej.js} +4 -4
- package/dist/chunks/BaseModal-SQXvRRNW.js +90 -0
- package/dist/chunks/{FormFilePicker-C3XQw50i.js → FormFilePicker-CKVdZJU9.js} +2 -2
- package/dist/chunks/{MapLayerMenu-DjYCxEc3.js → MapLayerMenu-AUeTqgEp.js} +1 -1
- package/dist/chunks/{RegistryForm-CEUqFmsF.js → RegistryForm-wG-c8GKf.js} +1 -1
- package/dist/chunks/{RegistryFormModal-DfY4z_7r.js → RegistryFormModal-R_iZYqGE.js} +3 -3
- package/dist/chunks/{RegistryToolbar-BV4mYVAc.js → RegistryToolbar-322DKUXi.js} +6 -6
- package/dist/chunks/SurveyorTeleport-CnSF0Ptl.js +23 -0
- package/dist/chunks/{UserAccessBadge-D8JfgGfN.js → UserAccessBadge-DyZDv7Oo.js} +1 -1
- package/dist/chunks/{UserTypeBadge-YIwwoCho.js → UserTypeBadge-LvnMuKGo.js} +1 -1
- package/dist/chunks/{VerifiedBadge-Bba8WnuB.js → VerifiedBadge-bk0n-rlC.js} +2 -2
- package/dist/chunks/{applications-BB9JRcgl.js → applications-CsCsndMV.js} +1 -1
- package/dist/chunks/{card-fL26_Gvc.js → card-B_SfARf7.js} +358 -357
- package/dist/chunks/card-C3y-j2TA.js +298 -0
- package/dist/chunks/{card-CKD1N0QD.js → card-CWqi1K-x.js} +107 -106
- package/dist/chunks/{card-DUtDfwMk.js → card-DCyBFoDZ.js} +6 -6
- package/dist/chunks/card-DWpAv92l.js +539 -0
- package/dist/chunks/{card-B-ftozcq.js → card-X9UVFgdR.js} +256 -250
- package/dist/chunks/{certificates-BSd1i0un.js → certificates-Cwch72-o.js} +131 -130
- package/dist/chunks/{create-DxMC_IL1.js → create-DTP9x2uS.js} +283 -270
- package/dist/chunks/dom-BSjFG3O0.js +7 -0
- package/dist/chunks/{map-layers-DnmkOEld.js → map-layers-sT-gTiD_.js} +130 -125
- package/dist/chunks/{map-Z57iMvFb.js → map-qXQe_qam.js} +645 -632
- package/dist/chunks/{organizations-BbYipLwk.js → organizations-BtuMZ5s_.js} +1 -1
- package/dist/chunks/{organizations-BO1_JETm.js → organizations-ByVE2f0c.js} +128 -123
- package/dist/chunks/{profile-Dwwn_4Pr.js → profile-CuxlkEev.js} +3 -3
- package/dist/chunks/{profile-ByahbF4B.js → profile-DxZHxGum.js} +1 -1
- package/dist/chunks/requests-BTpLXrNj.js +233 -0
- package/dist/chunks/{requests-CFv5wwAN.js → requests-Bt8fEdRc.js} +7 -7
- package/dist/chunks/useEntityPath-C5Owtidc.js +98 -0
- package/dist/chunks/{users-DtTYsgMb.js → users-U1P6xCP4.js} +105 -99
- package/dist/index.css +1 -1
- package/dist/index.js +154 -114
- package/package.json +2 -5
- package/server/modules/surveyor/services/changeSurveyorPasswordByAdmin.ts +41 -41
- package/server/modules/surveyor/utils/templates/ds.surveyor_admin_password.pt.hbs +79 -79
- package/surveyor-types.d.ts +5 -0
- package/dist/chunks/AppIcon-CIR6y5uE.js +0 -85
- package/dist/chunks/BaseModal-C7PVYz0m.js +0 -85
- package/dist/chunks/card-BctFHFZe.js +0 -538
- package/dist/chunks/card-CiNZxAd5.js +0 -297
- package/dist/chunks/requests-BCin936Z.js +0 -232
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
-
import { t as
|
|
4
|
-
import { i
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as
|
|
8
|
-
import { a as
|
|
9
|
-
import { t as
|
|
10
|
-
import { Fragment as
|
|
11
|
-
import { RouterLink as
|
|
3
|
+
import { n, t as r } from "./useEntityPath-C5Owtidc.js";
|
|
4
|
+
import { i, o as a, t as o } from "./resources-2e8RFqWR.js";
|
|
5
|
+
import { t as s } from "./VerifiedBadge-bk0n-rlC.js";
|
|
6
|
+
import { n as c } from "./account-types-Br7gx_D_.js";
|
|
7
|
+
import { n as l } from "./filterQuery-CvfZrkTC.js";
|
|
8
|
+
import { a as u, i as d, n as f, r as p, t as m } from "./RegistryToolbar-322DKUXi.js";
|
|
9
|
+
import { t as h } from "./RegistryFormModal-R_iZYqGE.js";
|
|
10
|
+
import { Fragment as g, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as S, createVNode as C, defineComponent as w, normalizeClass as T, openBlock as E, ref as D, renderList as O, toDisplayString as k, vModelText as A, withCtx as j, withDirectives as M } from "vue";
|
|
11
|
+
import { RouterLink as N } from "vue-router";
|
|
12
12
|
//#region admin/src/static/registry/certificates/resource.ts
|
|
13
|
-
var
|
|
14
|
-
resource:
|
|
13
|
+
var P = "certificates", F = {
|
|
14
|
+
resource: P,
|
|
15
15
|
pageSize: 10,
|
|
16
16
|
sort: "-created_at",
|
|
17
17
|
columns: [
|
|
@@ -40,8 +40,8 @@ var N = "certificates", P = {
|
|
|
40
40
|
label: "Дата припинення"
|
|
41
41
|
}
|
|
42
42
|
]
|
|
43
|
-
},
|
|
44
|
-
resource:
|
|
43
|
+
}, I = {
|
|
44
|
+
resource: P,
|
|
45
45
|
view: "inline",
|
|
46
46
|
fields: { verified: {
|
|
47
47
|
component: "select",
|
|
@@ -59,15 +59,15 @@ var N = "certificates", P = {
|
|
|
59
59
|
};
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region admin/src/static/registry/certificates/form.ts
|
|
62
|
-
function
|
|
62
|
+
function L(e) {
|
|
63
63
|
return [
|
|
64
64
|
e.last_name,
|
|
65
65
|
e.first_name,
|
|
66
66
|
e.middle_name
|
|
67
67
|
].map((e) => String(e ?? "").trim()).filter(Boolean).join(" ");
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
let t =
|
|
69
|
+
function R(e) {
|
|
70
|
+
let t = L(e);
|
|
71
71
|
return {
|
|
72
72
|
certificate_type: String(e.certificate_type ?? "").trim(),
|
|
73
73
|
last_name: String(e.last_name ?? "").trim(),
|
|
@@ -82,10 +82,10 @@ function L(e) {
|
|
|
82
82
|
isvalid: e.isvalid == null ? null : !!e.isvalid
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
var
|
|
86
|
-
resource:
|
|
85
|
+
var z = {
|
|
86
|
+
resource: P,
|
|
87
87
|
emptyValues: () => ({
|
|
88
|
-
certificate_type:
|
|
88
|
+
certificate_type: c,
|
|
89
89
|
last_name: "",
|
|
90
90
|
first_name: "",
|
|
91
91
|
middle_name: "",
|
|
@@ -97,7 +97,7 @@ var R = {
|
|
|
97
97
|
isvalid: !0
|
|
98
98
|
}),
|
|
99
99
|
recordToValues: (e) => ({
|
|
100
|
-
certificate_type: String(e.certificate_type ??
|
|
100
|
+
certificate_type: String(e.certificate_type ?? c),
|
|
101
101
|
last_name: String(e.last_name ?? ""),
|
|
102
102
|
first_name: String(e.first_name ?? ""),
|
|
103
103
|
middle_name: String(e.middle_name ?? ""),
|
|
@@ -109,8 +109,8 @@ var R = {
|
|
|
109
109
|
isvalid: e.isvalid == null || !!e.isvalid
|
|
110
110
|
}),
|
|
111
111
|
save: async (e, t) => {
|
|
112
|
-
let n =
|
|
113
|
-
return e ?
|
|
112
|
+
let n = R(t);
|
|
113
|
+
return e ? a(P, e, n) : o(P, n);
|
|
114
114
|
},
|
|
115
115
|
fields: {
|
|
116
116
|
certificate_type: {
|
|
@@ -170,7 +170,7 @@ var R = {
|
|
|
170
170
|
view: "checkbox"
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
},
|
|
173
|
+
}, B = {
|
|
174
174
|
valid: {
|
|
175
175
|
label: "Дійсний",
|
|
176
176
|
dot: "bg-emerald-500",
|
|
@@ -192,178 +192,179 @@ var R = {
|
|
|
192
192
|
bg: "bg-slate-100",
|
|
193
193
|
border: "border-slate-200"
|
|
194
194
|
}
|
|
195
|
-
},
|
|
196
|
-
VALIDITY_STATUS: () =>
|
|
197
|
-
filter: () =>
|
|
198
|
-
form: () =>
|
|
199
|
-
resource: () =>
|
|
200
|
-
table: () =>
|
|
201
|
-
}),
|
|
195
|
+
}, V = /* @__PURE__ */ e({
|
|
196
|
+
VALIDITY_STATUS: () => B,
|
|
197
|
+
filter: () => I,
|
|
198
|
+
form: () => z,
|
|
199
|
+
resource: () => P,
|
|
200
|
+
table: () => F
|
|
201
|
+
}), H = /*@__PURE__*/ w({
|
|
202
202
|
__name: "index",
|
|
203
203
|
setup(e, { expose: t }) {
|
|
204
204
|
t();
|
|
205
|
-
let
|
|
205
|
+
let a = F.columns, { query: o, filterValues: c, page: g, pageSize: v, listFilters: y, bindListLoader: b, refreshList: x } = u({
|
|
206
206
|
arrayFilterKeys: ["verified"],
|
|
207
|
-
buildFilters:
|
|
208
|
-
}),
|
|
209
|
-
function
|
|
207
|
+
buildFilters: l
|
|
208
|
+
}), { detailPath: S } = r(), C = D(!1), w = D(a.map((e) => e.key)), T = D([]), E = D(0), O = D(!1), k = D(""), A = D(!1);
|
|
209
|
+
function j(e) {
|
|
210
210
|
return e.surveyor_name || [
|
|
211
211
|
e.last_name,
|
|
212
212
|
e.first_name,
|
|
213
213
|
e.middle_name
|
|
214
214
|
].filter(Boolean).join(" ") || "—";
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function M(e) {
|
|
217
217
|
if (!e) return "";
|
|
218
218
|
let t = e.match(/^(\d{4})-(\d{2})-(\d{2})/);
|
|
219
219
|
return t ? `${t[3]}.${t[2]}.${t[1]}` : e;
|
|
220
220
|
}
|
|
221
|
-
let
|
|
222
|
-
async function
|
|
223
|
-
let e = ++
|
|
224
|
-
|
|
221
|
+
let I = 0, L = _(() => O.value ? "Завантаження…" : k.value ? k.value : "Сертифікатів за заданими фільтрами не знайдено.");
|
|
222
|
+
async function R() {
|
|
223
|
+
let e = ++I;
|
|
224
|
+
O.value = !0, k.value = "";
|
|
225
225
|
try {
|
|
226
|
-
let t = await
|
|
227
|
-
page:
|
|
228
|
-
limit:
|
|
229
|
-
sort:
|
|
230
|
-
search:
|
|
231
|
-
filters:
|
|
226
|
+
let t = await i(P, {
|
|
227
|
+
page: g.value,
|
|
228
|
+
limit: v.value,
|
|
229
|
+
sort: F.sort,
|
|
230
|
+
search: o.value.trim() || void 0,
|
|
231
|
+
filters: y.value
|
|
232
232
|
});
|
|
233
|
-
if (e !==
|
|
234
|
-
|
|
233
|
+
if (e !== I) return;
|
|
234
|
+
T.value = t.rows ?? [], E.value = Number(t.total) || 0;
|
|
235
235
|
} catch (t) {
|
|
236
|
-
if (e !==
|
|
237
|
-
|
|
236
|
+
if (e !== I) return;
|
|
237
|
+
T.value = [], E.value = 0, k.value = t instanceof Error ? t.message : "Не вдалося завантажити сертифікати";
|
|
238
238
|
} finally {
|
|
239
|
-
e ===
|
|
239
|
+
e === I && (O.value = !1);
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
b(() => {
|
|
243
|
+
R();
|
|
244
244
|
});
|
|
245
|
-
function
|
|
246
|
-
|
|
245
|
+
function z(e) {
|
|
246
|
+
c.value = e;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
|
|
248
|
+
function B(e) {
|
|
249
|
+
w.value = w.value.includes(e) ? w.value.length > 1 ? w.value.filter((t) => t !== e) : w.value : [...w.value, e];
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
}) :
|
|
251
|
+
function H() {
|
|
252
|
+
g.value === 1 ? x(() => {
|
|
253
|
+
R();
|
|
254
|
+
}) : g.value = 1;
|
|
255
255
|
}
|
|
256
|
-
let
|
|
257
|
-
columns:
|
|
258
|
-
query:
|
|
259
|
-
filterValues:
|
|
260
|
-
page:
|
|
261
|
-
pageSize:
|
|
262
|
-
listFilters:
|
|
263
|
-
bindListLoader:
|
|
264
|
-
refreshList:
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
256
|
+
let U = {
|
|
257
|
+
columns: a,
|
|
258
|
+
query: o,
|
|
259
|
+
filterValues: c,
|
|
260
|
+
page: g,
|
|
261
|
+
pageSize: v,
|
|
262
|
+
listFilters: y,
|
|
263
|
+
bindListLoader: b,
|
|
264
|
+
refreshList: x,
|
|
265
|
+
detailPath: S,
|
|
266
|
+
columnsOpen: C,
|
|
267
|
+
visibleColumns: w,
|
|
268
|
+
rows: T,
|
|
269
|
+
total: E,
|
|
270
|
+
loading: O,
|
|
271
|
+
error: k,
|
|
272
|
+
showAddModal: A,
|
|
273
|
+
personName: j,
|
|
274
|
+
formatDate: M,
|
|
274
275
|
get requestId() {
|
|
275
|
-
return
|
|
276
|
+
return I;
|
|
276
277
|
},
|
|
277
278
|
set requestId(e) {
|
|
278
|
-
|
|
279
|
+
I = e;
|
|
279
280
|
},
|
|
280
|
-
emptyText:
|
|
281
|
-
loadRows:
|
|
282
|
-
onFilterValuesUpdate:
|
|
283
|
-
toggleColumn:
|
|
284
|
-
onCertificateSaved:
|
|
281
|
+
emptyText: L,
|
|
282
|
+
loadRows: R,
|
|
283
|
+
onFilterValuesUpdate: z,
|
|
284
|
+
toggleColumn: B,
|
|
285
|
+
onCertificateSaved: H,
|
|
285
286
|
AppIcon: n,
|
|
286
287
|
get RouterLink() {
|
|
287
|
-
return
|
|
288
|
+
return N;
|
|
288
289
|
},
|
|
289
|
-
PageHeader:
|
|
290
|
-
VerifiedBadge:
|
|
291
|
-
RegistryTable:
|
|
292
|
-
TablePagination:
|
|
293
|
-
RegistryFormModal:
|
|
294
|
-
RegistryToolbar:
|
|
290
|
+
PageHeader: d,
|
|
291
|
+
VerifiedBadge: s,
|
|
292
|
+
RegistryTable: p,
|
|
293
|
+
TablePagination: f,
|
|
294
|
+
RegistryFormModal: h,
|
|
295
|
+
RegistryToolbar: m,
|
|
295
296
|
get config() {
|
|
296
|
-
return
|
|
297
|
+
return V;
|
|
297
298
|
}
|
|
298
299
|
};
|
|
299
|
-
return Object.defineProperty(
|
|
300
|
+
return Object.defineProperty(U, "__isScriptSetup", {
|
|
300
301
|
enumerable: !1,
|
|
301
302
|
value: !0
|
|
302
|
-
}),
|
|
303
|
+
}), U;
|
|
303
304
|
}
|
|
304
|
-
}),
|
|
305
|
+
}), U = { class: "px-4" }, W = { class: "relative block" }, G = {
|
|
305
306
|
type: "button",
|
|
306
307
|
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-brand-300 hover:text-brand-700",
|
|
307
308
|
"aria-label": "Експорт",
|
|
308
309
|
title: "Експорт"
|
|
309
|
-
},
|
|
310
|
+
}, K = { class: "relative" }, q = {
|
|
310
311
|
key: 0,
|
|
311
312
|
class: "absolute right-0 top-12 z-20 w-64 rounded-lg border border-slate-200 bg-white p-2 shadow-card-hover"
|
|
312
|
-
},
|
|
313
|
+
}, J = ["checked", "onChange"], Y = { class: "mt-3 flex items-center justify-between border-t border-slate-100 pt-3 text-xs text-slate-400" }, X = { class: "font-semibold text-slate-600" }, Z = {
|
|
313
314
|
key: 1,
|
|
314
315
|
class: "break-words font-medium text-slate-700"
|
|
315
|
-
},
|
|
316
|
+
}, Q = {
|
|
316
317
|
key: 3,
|
|
317
318
|
class: "text-slate-400"
|
|
318
|
-
},
|
|
319
|
+
}, $ = {
|
|
319
320
|
key: 4,
|
|
320
321
|
class: "whitespace-nowrap text-slate-600"
|
|
321
322
|
};
|
|
322
|
-
function
|
|
323
|
-
return
|
|
324
|
-
|
|
323
|
+
function ee(e, t, n, r, i, a) {
|
|
324
|
+
return E(), b("div", null, [
|
|
325
|
+
C(r.PageHeader, {
|
|
325
326
|
title: "Реєстр сертифікатів",
|
|
326
327
|
subtitle: "Кваліфікаційні сертифікати геодезичного кабінету"
|
|
327
328
|
}),
|
|
328
|
-
|
|
329
|
-
|
|
329
|
+
x("section", U, [
|
|
330
|
+
C(r.RegistryToolbar, {
|
|
330
331
|
"filter-config": r.config.filter,
|
|
331
332
|
"filter-values": r.filterValues,
|
|
332
333
|
"onUpdate:filterValues": r.onFilterValuesUpdate
|
|
333
334
|
}, {
|
|
334
|
-
search:
|
|
335
|
+
search: j(() => [x("label", W, [C(r.AppIcon, {
|
|
335
336
|
name: "search",
|
|
336
337
|
class: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400"
|
|
337
|
-
}),
|
|
338
|
+
}), M(x("input", {
|
|
338
339
|
"onUpdate:modelValue": t[0] ||= (e) => r.query = e,
|
|
339
340
|
type: "search",
|
|
340
341
|
placeholder: "Пошук (ПІБ, номер сертифіката)…",
|
|
341
342
|
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-brand-400 focus:ring-1 focus:ring-brand-400"
|
|
342
|
-
}, null, 512), [[
|
|
343
|
-
actions:
|
|
343
|
+
}, null, 512), [[A, r.query]])])]),
|
|
344
|
+
actions: j(() => [x("button", G, [C(r.AppIcon, {
|
|
344
345
|
name: "download",
|
|
345
346
|
class: "h-4 w-4"
|
|
346
|
-
})]),
|
|
347
|
+
})]), x("div", K, [x("button", {
|
|
347
348
|
type: "button",
|
|
348
349
|
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-brand-300 hover:text-brand-700",
|
|
349
350
|
"aria-label": "Налаштувати колонки",
|
|
350
351
|
onClick: t[1] ||= (e) => r.columnsOpen = !r.columnsOpen
|
|
351
|
-
}, [
|
|
352
|
+
}, [C(r.AppIcon, {
|
|
352
353
|
name: "columns-3",
|
|
353
354
|
class: "h-4 w-4"
|
|
354
|
-
})]), r.columnsOpen ? (
|
|
355
|
+
})]), r.columnsOpen ? (E(), b("div", q, [t[5] ||= x("p", { class: "px-2 py-1 text-xs font-semibold uppercase tracking-wide text-slate-400" }, "Показати колонки", -1), (E(!0), b(g, null, O(r.columns, (e) => (E(), b("label", {
|
|
355
356
|
key: e.key,
|
|
356
357
|
class: "flex cursor-pointer items-center gap-2 rounded-md px-2 py-2 text-sm text-slate-600 hover:bg-slate-50"
|
|
357
|
-
}, [
|
|
358
|
+
}, [x("input", {
|
|
358
359
|
type: "checkbox",
|
|
359
360
|
checked: r.visibleColumns.includes(e.key),
|
|
360
361
|
class: "h-4 w-4 accent-brand-600",
|
|
361
362
|
onChange: (t) => r.toggleColumn(e.key)
|
|
362
|
-
}, null, 40,
|
|
363
|
+
}, null, 40, J), S(" " + k(e.label), 1)]))), 128))])) : y("", !0)])]),
|
|
363
364
|
_: 1
|
|
364
365
|
}, 8, ["filter-config", "filter-values"]),
|
|
365
|
-
|
|
366
|
-
|
|
366
|
+
x("div", Y, [x("span", null, [t[6] ||= S("Знайдено сертифікатів: ", -1), x("strong", X, k(r.total), 1)])]),
|
|
367
|
+
C(r.RegistryTable, {
|
|
367
368
|
class: "mt-3",
|
|
368
369
|
rows: r.rows,
|
|
369
370
|
columns: r.columns,
|
|
@@ -372,23 +373,23 @@ function $(e, t, n, r, i, a) {
|
|
|
372
373
|
"min-width": "1100px",
|
|
373
374
|
"empty-text": r.emptyText
|
|
374
375
|
}, {
|
|
375
|
-
cell:
|
|
376
|
+
cell: j(({ row: e, column: t }) => [t === "fullName" ? (E(), v(r.RouterLink, {
|
|
376
377
|
key: 0,
|
|
377
|
-
to:
|
|
378
|
+
to: r.detailPath(e.certificate_id),
|
|
378
379
|
class: "block w-full max-w-full break-words text-left font-semibold text-brand-700 hover:text-brand-900 hover:underline"
|
|
379
380
|
}, {
|
|
380
|
-
default:
|
|
381
|
+
default: j(() => [S(k(r.personName(e)), 1)]),
|
|
381
382
|
_: 2
|
|
382
|
-
}, 1032, ["to"])) : t === "certificate" ? (
|
|
383
|
+
}, 1032, ["to"])) : t === "certificate" ? (E(), b("span", Z, k(e.number_certificate || "—"), 1)) : t === "verified" && typeof e.isvalid == "boolean" ? (E(), v(r.VerifiedBadge, {
|
|
383
384
|
key: 2,
|
|
384
385
|
verified: e.isvalid
|
|
385
|
-
}, null, 8, ["verified"])) : t === "verified" ? (
|
|
386
|
+
}, null, 8, ["verified"])) : t === "verified" ? (E(), b("span", Q, "—")) : t === "qualificationUpgrade" ? (E(), b("span", $, k(r.formatDate(e.last_qualification_date) || "—"), 1)) : t === "suspendedAt" ? (E(), b("span", {
|
|
386
387
|
key: 5,
|
|
387
|
-
class:
|
|
388
|
-
},
|
|
388
|
+
class: T(["whitespace-nowrap", e.certificate_suspension ? "font-medium text-danger-700" : "text-slate-400"])
|
|
389
|
+
}, k(r.formatDate(e.certificate_suspension) || "—"), 3)) : t === "terminatedAt" ? (E(), b("span", {
|
|
389
390
|
key: 6,
|
|
390
|
-
class:
|
|
391
|
-
},
|
|
391
|
+
class: T(["whitespace-nowrap", e.certificate_stopping ? "font-medium text-danger-700" : "text-slate-400"])
|
|
392
|
+
}, k(e.certificate_stopping || "—"), 3)) : y("", !0)]),
|
|
392
393
|
_: 1
|
|
393
394
|
}, 8, [
|
|
394
395
|
"rows",
|
|
@@ -396,7 +397,7 @@ function $(e, t, n, r, i, a) {
|
|
|
396
397
|
"visible-keys",
|
|
397
398
|
"empty-text"
|
|
398
399
|
]),
|
|
399
|
-
r.total > 0 ? (
|
|
400
|
+
r.total > 0 ? (E(), v(r.TablePagination, {
|
|
400
401
|
key: 0,
|
|
401
402
|
page: r.page,
|
|
402
403
|
"onUpdate:page": t[2] ||= (e) => r.page = e,
|
|
@@ -407,9 +408,9 @@ function $(e, t, n, r, i, a) {
|
|
|
407
408
|
"page",
|
|
408
409
|
"page-size",
|
|
409
410
|
"total"
|
|
410
|
-
])) :
|
|
411
|
+
])) : y("", !0)
|
|
411
412
|
]),
|
|
412
|
-
|
|
413
|
+
C(r.RegistryFormModal, {
|
|
413
414
|
modelValue: r.showAddModal,
|
|
414
415
|
"onUpdate:modelValue": t[4] ||= (e) => r.showAddModal = e,
|
|
415
416
|
title: "Новий сертифікат",
|
|
@@ -419,6 +420,6 @@ function $(e, t, n, r, i, a) {
|
|
|
419
420
|
}, null, 8, ["modelValue", "config"])
|
|
420
421
|
]);
|
|
421
422
|
}
|
|
422
|
-
var
|
|
423
|
+
var te = /*#__PURE__*/ t(H, [["render", ee], ["__file", "C:/softpro/surveyor/admin/src/pages/certificates/index.vue"]]);
|
|
423
424
|
//#endregion
|
|
424
|
-
export {
|
|
425
|
+
export { te as default };
|