@opengis/surveyor 0.0.8 → 0.0.10

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.
Files changed (68) hide show
  1. package/README.md +4 -3
  2. package/dist/chunks/{AppIcon-CO70tpMX.js → AppIcon-Di5F4Bu_.js} +1 -1
  3. package/dist/chunks/{AppealDetailField-DNRGpnyD.js → AppealDetailField-DNpsGpPY.js} +2 -2
  4. package/dist/chunks/{AppealStatusBadge-Cu-UzdzA.js → AppealStatusBadge-MP1qD952.js} +1 -1
  5. package/dist/chunks/{AppealStatusBadge-BlAaNUSK.js → AppealStatusBadge-z77wwkFD.js} +2 -2
  6. package/dist/chunks/{ApplicationHistorySection-Cwq0-Frd.js → ApplicationHistorySection-DIoFZwH6.js} +4 -4
  7. package/dist/chunks/{BaseModal-SQXvRRNW.js → BaseModal-DP_ilBdg.js} +21 -11
  8. package/dist/chunks/{FormFilePicker-DxPQlxgy.js → FormFilePicker-D5fAUE0Z.js} +2 -2
  9. package/dist/chunks/{MapLayerMenu-AUeTqgEp.js → MapLayerMenu-CI5cbLEC.js} +1 -1
  10. package/dist/chunks/{RegistryForm-wG-c8GKf.js → RegistryForm-DbCxZsr0.js} +1 -1
  11. package/dist/chunks/{RegistryFormModal-R_iZYqGE.js → RegistryFormModal-D_KLGj2d.js} +3 -3
  12. package/dist/chunks/{RegistryToolbar-322DKUXi.js → RegistryToolbar-DvbrASlj.js} +6 -6
  13. package/dist/chunks/{SurveyorTeleport-CnSF0Ptl.js → SurveyorTeleport-D6-KXe_5.js} +1 -1
  14. package/dist/chunks/{UserAccessBadge-DyZDv7Oo.js → UserAccessBadge-B5Q1LvNv.js} +1 -1
  15. package/dist/chunks/{UserTypeBadge-LvnMuKGo.js → UserTypeBadge-CuAMctTK.js} +1 -1
  16. package/dist/chunks/{VerifiedBadge-bk0n-rlC.js → VerifiedBadge-D6L7mCdp.js} +2 -2
  17. package/dist/chunks/{card-CWqi1K-x.js → card--XUb1kFK.js} +4 -4
  18. package/dist/chunks/{card-C3y-j2TA.js → card-BrjnXf1N.js} +6 -6
  19. package/dist/chunks/{card-6z-m7UkM.js → card-BsTSF6aL.js} +10 -10
  20. package/dist/chunks/{card-Dlp8_KhV.js → card-CI7ntIHf.js} +5 -5
  21. package/dist/chunks/{card-DWpAv92l.js → card-Cu8QOSIw.js} +4 -4
  22. package/dist/chunks/{card-X9UVFgdR.js → card-ylC5NYbz.js} +241 -208
  23. package/dist/chunks/certificates-BnseQylH.js +209 -0
  24. package/dist/chunks/certificates-aJ-hvaP-.js +236 -0
  25. package/dist/chunks/{create-CAVC1qXJ.js → create-Bi7-j9Ri.js} +413 -413
  26. package/dist/chunks/{forgot-DoG6vXhq.js → forgot-DnixBqdc.js} +2 -2
  27. package/dist/chunks/{login-BWGylcSU.js → login-BWCQdEkv.js} +2 -2
  28. package/dist/chunks/map-CwsVIW79.js +2872 -0
  29. package/dist/chunks/{map-layers-sT-gTiD_.js → map-layers-BLiEYC4C.js} +5 -5
  30. package/dist/chunks/{organizations-ByVE2f0c.js → organizations-mc6FlSwe.js} +6 -6
  31. package/dist/chunks/{profile-CkwMFh82.js → profile-F7mr0poI.js} +3 -3
  32. package/dist/chunks/{registration-3GLgq-ae.js → registration-BRF4985_.js} +2 -2
  33. package/dist/chunks/{requests-BTpLXrNj.js → requests-7pD2ckdx.js} +4 -4
  34. package/dist/chunks/{requests-rWq8ok3C.js → requests-BCJN-CNx.js} +5 -5
  35. package/dist/chunks/{reset-CP9LsLkC.js → reset-OZCgLi6f.js} +2 -2
  36. package/dist/chunks/{useEntityPath-C5Owtidc.js → useEntityPath-8s0Y1tjA.js} +1 -1
  37. package/dist/chunks/{users-U1P6xCP4.js → users-CAEjpaI1.js} +6 -6
  38. package/dist/index.css +1 -1
  39. package/dist/index.js +40 -40
  40. package/migrations/20261016120000_map_layers.sql +156 -156
  41. package/migrations/20261016150000_password_reset.sql +15 -15
  42. package/migrations/20261016180000_settlement_lookup.sql +16 -16
  43. package/package.json +1 -1
  44. package/server/dictionaries/index.ts +17 -17
  45. package/server/dictionaries/surveyor/map_layer_components.ts +11 -11
  46. package/server/dictionaries/surveyor/map_layer_groups.ts +10 -10
  47. package/server/dictionaries/surveyor/map_layer_types.ts +11 -11
  48. package/server/modules/surveyor/route.ts +4 -2
  49. package/server/modules/surveyor/schema.ts +18 -1
  50. package/server/modules/surveyor/services/applicationTile.ts +36 -8
  51. package/server/modules/surveyor/services/createApplication.ts +2 -3
  52. package/server/modules/surveyor/services/mapLayers.ts +61 -61
  53. package/server/modules/surveyor/services/registerSurveyor.ts +3 -4
  54. package/server/modules/surveyor/services/requestPasswordReset.ts +1 -0
  55. package/server/modules/surveyor/services/resetSurveyorPassword.ts +1 -0
  56. package/server/modules/surveyor/services/updateSurveyorAccountStatus.ts +52 -52
  57. package/server/modules/surveyor/services/updateSurveyorStatus.ts +53 -53
  58. package/server/modules/surveyor/utils/certificateStatus.ts +15 -0
  59. package/server/modules/surveyor/utils/mail.ts +49 -20
  60. package/server/modules/surveyor/utils/templates/ds.surveyor_password_reset.pt.hbs +79 -79
  61. package/server/resources/helpers/settlement_lookup.ts +7 -7
  62. package/server/resources/surveyor-admin/certificates.ts +27 -1
  63. package/server/resources/surveyor-admin/map_layers.ts +69 -69
  64. package/server/resources/surveyor-admin/organization_surveyors.ts +31 -31
  65. package/server/resources/surveyor-admin/organizations.ts +61 -61
  66. package/server/resources/surveyor-user/applications.ts +1 -1
  67. package/dist/chunks/certificates-Cwch72-o.js +0 -425
  68. package/dist/chunks/map-UTBxwT7-.js +0 -2776
@@ -0,0 +1,209 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { o as t, t as n } from "./resources-2e8RFqWR.js";
3
+ import { n as r } from "./account-types-Br7gx_D_.js";
4
+ //#region admin/src/static/registry/certificates/resource.ts
5
+ var i = "certificates", a = {
6
+ resource: i,
7
+ pageSize: 10,
8
+ sort: "-created_at",
9
+ columns: [
10
+ {
11
+ key: "fullName",
12
+ label: "Прізвище, ім'я та по батькові геодезиста"
13
+ },
14
+ {
15
+ key: "certificate",
16
+ label: "Номер кваліфікаційного сертифіката"
17
+ },
18
+ {
19
+ key: "verified",
20
+ label: "Верифікація"
21
+ },
22
+ {
23
+ key: "qualificationUpgrade",
24
+ label: "Підвищення кваліфікації"
25
+ },
26
+ {
27
+ key: "suspendedAt",
28
+ label: "Дата призупинення"
29
+ },
30
+ {
31
+ key: "terminatedAt",
32
+ label: "Дата припинення"
33
+ }
34
+ ]
35
+ }, o = {
36
+ resource: i,
37
+ view: "inline",
38
+ fields: { verified: {
39
+ component: "select",
40
+ label: "Верифікація",
41
+ placeholder: "Верифікація",
42
+ width: 160,
43
+ options: [{
44
+ id: "verified",
45
+ text: "Верифіковані"
46
+ }, {
47
+ id: "unverified",
48
+ text: "Не верифіковані"
49
+ }]
50
+ } }
51
+ };
52
+ //#endregion
53
+ //#region admin/src/static/registry/certificates/form.ts
54
+ function s(e) {
55
+ return [
56
+ e.last_name,
57
+ e.first_name,
58
+ e.middle_name
59
+ ].map((e) => String(e ?? "").trim()).filter(Boolean).join(" ");
60
+ }
61
+ function c(e) {
62
+ let t = s(e);
63
+ return {
64
+ certificate_type: String(e.certificate_type ?? "").trim(),
65
+ last_name: String(e.last_name ?? "").trim(),
66
+ first_name: String(e.first_name ?? "").trim(),
67
+ middle_name: String(e.middle_name ?? "").trim() || null,
68
+ surveyor_name: t || null,
69
+ number_certificate: String(e.number_certificate ?? "").trim(),
70
+ date_certificate: e.date_certificate || null,
71
+ name_school: String(e.name_school ?? "").trim() || null,
72
+ surveyor_email: String(e.surveyor_email ?? "").trim() || null,
73
+ surveyor_phone: String(e.surveyor_phone ?? "").trim() || null,
74
+ isvalid: e.isvalid == null ? null : !!e.isvalid
75
+ };
76
+ }
77
+ var l = {
78
+ resource: i,
79
+ emptyValues: () => ({
80
+ certificate_type: r,
81
+ last_name: "",
82
+ first_name: "",
83
+ middle_name: "",
84
+ number_certificate: "",
85
+ date_certificate: "",
86
+ name_school: "",
87
+ surveyor_email: "",
88
+ surveyor_phone: "",
89
+ isvalid: !0
90
+ }),
91
+ recordToValues: (e) => ({
92
+ certificate_type: String(e.certificate_type ?? r),
93
+ last_name: String(e.last_name ?? ""),
94
+ first_name: String(e.first_name ?? ""),
95
+ middle_name: String(e.middle_name ?? ""),
96
+ number_certificate: String(e.number_certificate ?? ""),
97
+ date_certificate: e.date_certificate ?? "",
98
+ name_school: String(e.name_school ?? ""),
99
+ surveyor_email: String(e.surveyor_email ?? ""),
100
+ surveyor_phone: String(e.surveyor_phone ?? ""),
101
+ isvalid: e.isvalid == null || !!e.isvalid
102
+ }),
103
+ save: async (e, r) => {
104
+ let a = c(r);
105
+ return e ? t(i, e, a) : n(i, a);
106
+ },
107
+ fields: {
108
+ certificate_type: {
109
+ component: "select",
110
+ label: "Реєстр",
111
+ col: 12,
112
+ api: "/api/suggest/certificates/certificate_type",
113
+ validators: ["required"]
114
+ },
115
+ last_name: {
116
+ component: "text",
117
+ label: "Прізвище",
118
+ col: 4,
119
+ validators: ["required"]
120
+ },
121
+ first_name: {
122
+ component: "text",
123
+ label: "Ім'я",
124
+ col: 4,
125
+ validators: ["required"]
126
+ },
127
+ middle_name: {
128
+ component: "text",
129
+ label: "По батькові",
130
+ col: 4
131
+ },
132
+ number_certificate: {
133
+ component: "text",
134
+ label: "Номер кваліфікаційного сертифіката",
135
+ col: 6,
136
+ validators: ["required"]
137
+ },
138
+ date_certificate: {
139
+ component: "date",
140
+ label: "Дата видачі",
141
+ col: 6
142
+ },
143
+ name_school: {
144
+ component: "text",
145
+ label: "Назва навчального закладу",
146
+ col: 12
147
+ },
148
+ surveyor_email: {
149
+ component: "email",
150
+ label: "Email геодезиста",
151
+ col: 6
152
+ },
153
+ surveyor_phone: {
154
+ component: "text",
155
+ label: "Телефон геодезиста",
156
+ col: 6
157
+ },
158
+ isvalid: {
159
+ component: "switcher",
160
+ label: "Дійсний сертифікат",
161
+ col: 12,
162
+ view: "checkbox"
163
+ }
164
+ }
165
+ }, u = {
166
+ valid: {
167
+ label: "Дійсний",
168
+ dot: "bg-emerald-500",
169
+ text: "text-emerald-700",
170
+ bg: "bg-emerald-50",
171
+ border: "border-emerald-200"
172
+ },
173
+ suspended: {
174
+ label: "Призупинений",
175
+ dot: "bg-amber-500",
176
+ text: "text-amber-700",
177
+ bg: "bg-amber-50",
178
+ border: "border-amber-200"
179
+ },
180
+ stopped: {
181
+ label: "Припинений",
182
+ dot: "bg-red-500",
183
+ text: "text-red-700",
184
+ bg: "bg-red-50",
185
+ border: "border-red-200"
186
+ },
187
+ invalid: {
188
+ label: "Недійсний",
189
+ dot: "bg-red-500",
190
+ text: "text-red-700",
191
+ bg: "bg-red-50",
192
+ border: "border-red-200"
193
+ },
194
+ no_data: {
195
+ label: "Відсутні дані",
196
+ dot: "bg-slate-400",
197
+ text: "text-slate-600",
198
+ bg: "bg-slate-100",
199
+ border: "border-slate-200"
200
+ }
201
+ }, d = /* @__PURE__ */ e({
202
+ VALIDITY_STATUS: () => u,
203
+ filter: () => o,
204
+ form: () => l,
205
+ resource: () => i,
206
+ table: () => a
207
+ });
208
+ //#endregion
209
+ export { i, u as n, a as r, d as t };
@@ -0,0 +1,236 @@
1
+ import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
+ import { n as t, t as n } from "./useEntityPath-8s0Y1tjA.js";
3
+ import { i as r } from "./resources-2e8RFqWR.js";
4
+ import { t as i } from "./VerifiedBadge-D6L7mCdp.js";
5
+ import { n as a } from "./filterQuery-CvfZrkTC.js";
6
+ import { a as o, i as s, n as c, r as l, t as u } from "./RegistryToolbar-DvbrASlj.js";
7
+ import { t as d } from "./RegistryFormModal-D_KLGj2d.js";
8
+ import { i as f, r as p, t as m } from "./certificates-BnseQylH.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, 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";
10
+ import { RouterLink as M } from "vue-router";
11
+ //#region admin/src/pages/certificates/index.vue?vue&type=script&setup=true&lang.ts
12
+ var N = /*@__PURE__*/ C({
13
+ __name: "index",
14
+ setup(e, { expose: h }) {
15
+ h();
16
+ let _ = p.columns, { query: v, filterValues: y, page: b, pageSize: x, listFilters: S, bindListLoader: C, refreshList: w } = o({
17
+ arrayFilterKeys: ["verified"],
18
+ buildFilters: a
19
+ }), { detailPath: T } = n(), D = E(!1), O = E(_.map((e) => e.key)), k = E([]), A = E(0), j = E(!1), N = E(""), P = E(!1);
20
+ function F(e) {
21
+ return e.surveyor_name || [
22
+ e.last_name,
23
+ e.first_name,
24
+ e.middle_name
25
+ ].filter(Boolean).join(" ") || "—";
26
+ }
27
+ function I(e) {
28
+ if (!e) return "";
29
+ let t = e.match(/^(\d{4})-(\d{2})-(\d{2})/);
30
+ return t ? `${t[3]}.${t[2]}.${t[1]}` : e;
31
+ }
32
+ let L = 0, R = g(() => j.value ? "Завантаження…" : N.value ? N.value : "Сертифікатів за заданими фільтрами не знайдено.");
33
+ async function z() {
34
+ let e = ++L;
35
+ j.value = !0, N.value = "";
36
+ try {
37
+ let t = await r(f, {
38
+ page: b.value,
39
+ limit: x.value,
40
+ sort: p.sort,
41
+ search: v.value.trim() || void 0,
42
+ filters: S.value
43
+ });
44
+ if (e !== L) return;
45
+ k.value = t.rows ?? [], A.value = Number(t.total) || 0;
46
+ } catch (t) {
47
+ if (e !== L) return;
48
+ k.value = [], A.value = 0, N.value = t instanceof Error ? t.message : "Не вдалося завантажити сертифікати";
49
+ } finally {
50
+ e === L && (j.value = !1);
51
+ }
52
+ }
53
+ C(() => {
54
+ z();
55
+ });
56
+ function B(e) {
57
+ y.value = e;
58
+ }
59
+ function V(e) {
60
+ O.value = O.value.includes(e) ? O.value.length > 1 ? O.value.filter((t) => t !== e) : O.value : [...O.value, e];
61
+ }
62
+ function H() {
63
+ b.value === 1 ? w(() => {
64
+ z();
65
+ }) : b.value = 1;
66
+ }
67
+ let U = {
68
+ columns: _,
69
+ query: v,
70
+ filterValues: y,
71
+ page: b,
72
+ pageSize: x,
73
+ listFilters: S,
74
+ bindListLoader: C,
75
+ refreshList: w,
76
+ detailPath: T,
77
+ columnsOpen: D,
78
+ visibleColumns: O,
79
+ rows: k,
80
+ total: A,
81
+ loading: j,
82
+ error: N,
83
+ showAddModal: P,
84
+ personName: F,
85
+ formatDate: I,
86
+ get requestId() {
87
+ return L;
88
+ },
89
+ set requestId(e) {
90
+ L = e;
91
+ },
92
+ emptyText: R,
93
+ loadRows: z,
94
+ onFilterValuesUpdate: B,
95
+ toggleColumn: V,
96
+ onCertificateSaved: H,
97
+ AppIcon: t,
98
+ get RouterLink() {
99
+ return M;
100
+ },
101
+ PageHeader: s,
102
+ VerifiedBadge: i,
103
+ RegistryTable: l,
104
+ TablePagination: c,
105
+ RegistryFormModal: d,
106
+ RegistryToolbar: u,
107
+ get config() {
108
+ return m;
109
+ }
110
+ };
111
+ return Object.defineProperty(U, "__isScriptSetup", {
112
+ enumerable: !1,
113
+ value: !0
114
+ }), U;
115
+ }
116
+ }), P = { class: "px-4" }, F = { class: "relative block" }, I = {
117
+ type: "button",
118
+ 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",
119
+ "aria-label": "Експорт",
120
+ title: "Експорт"
121
+ }, L = { class: "relative" }, R = {
122
+ key: 0,
123
+ class: "absolute right-0 top-12 z-20 w-64 rounded-lg border border-slate-200 bg-white p-2 shadow-card-hover"
124
+ }, 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 = {
125
+ key: 1,
126
+ class: "break-words font-medium text-slate-700"
127
+ }, U = {
128
+ key: 3,
129
+ class: "text-slate-400"
130
+ }, W = {
131
+ key: 4,
132
+ class: "whitespace-nowrap text-slate-600"
133
+ };
134
+ function G(e, t, n, r, i, a) {
135
+ return T(), y("div", null, [
136
+ S(r.PageHeader, {
137
+ title: "Реєстр сертифікатів",
138
+ subtitle: "Кваліфікаційні сертифікати геодезичного кабінету"
139
+ }),
140
+ b("section", P, [
141
+ S(r.RegistryToolbar, {
142
+ "filter-config": r.config.filter,
143
+ "filter-values": r.filterValues,
144
+ "onUpdate:filterValues": r.onFilterValuesUpdate
145
+ }, {
146
+ search: A(() => [b("label", F, [S(r.AppIcon, {
147
+ name: "search",
148
+ class: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400"
149
+ }), j(b("input", {
150
+ "onUpdate:modelValue": t[0] ||= (e) => r.query = e,
151
+ type: "search",
152
+ placeholder: "Пошук (ПІБ, номер сертифіката)…",
153
+ 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"
154
+ }, null, 512), [[k, r.query]])])]),
155
+ actions: A(() => [b("button", I, [S(r.AppIcon, {
156
+ name: "download",
157
+ class: "h-4 w-4"
158
+ })]), b("div", L, [b("button", {
159
+ type: "button",
160
+ 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",
161
+ "aria-label": "Налаштувати колонки",
162
+ onClick: t[1] ||= (e) => r.columnsOpen = !r.columnsOpen
163
+ }, [S(r.AppIcon, {
164
+ name: "columns-3",
165
+ class: "h-4 w-4"
166
+ })]), r.columnsOpen ? (T(), y("div", R, [t[5] ||= 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", {
167
+ key: e.key,
168
+ class: "flex cursor-pointer items-center gap-2 rounded-md px-2 py-2 text-sm text-slate-600 hover:bg-slate-50"
169
+ }, [b("input", {
170
+ type: "checkbox",
171
+ checked: r.visibleColumns.includes(e.key),
172
+ class: "h-4 w-4 accent-brand-600",
173
+ onChange: (t) => r.toggleColumn(e.key)
174
+ }, null, 40, z), x(" " + O(e.label), 1)]))), 128))])) : v("", !0)])]),
175
+ _: 1
176
+ }, 8, ["filter-config", "filter-values"]),
177
+ b("div", B, [b("span", null, [t[6] ||= x("Знайдено сертифікатів: ", -1), b("strong", V, O(r.total), 1)])]),
178
+ S(r.RegistryTable, {
179
+ class: "mt-3",
180
+ rows: r.rows,
181
+ columns: r.columns,
182
+ "visible-keys": r.visibleColumns,
183
+ "row-key": "certificate_id",
184
+ "min-width": "1100px",
185
+ "empty-text": r.emptyText
186
+ }, {
187
+ cell: A(({ row: e, column: t }) => [t === "fullName" ? (T(), _(r.RouterLink, {
188
+ key: 0,
189
+ to: r.detailPath(e.certificate_id),
190
+ class: "block w-full max-w-full break-words text-left font-semibold text-brand-700 hover:text-brand-900 hover:underline"
191
+ }, {
192
+ default: A(() => [x(O(r.personName(e)), 1)]),
193
+ _: 2
194
+ }, 1032, ["to"])) : t === "certificate" ? (T(), y("span", H, O(e.number_certificate || "—"), 1)) : t === "verified" && typeof e.isvalid == "boolean" ? (T(), _(r.VerifiedBadge, {
195
+ key: 2,
196
+ verified: e.isvalid
197
+ }, 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", {
198
+ key: 5,
199
+ class: w(["whitespace-nowrap", e.certificate_suspension ? "font-medium text-danger-700" : "text-slate-400"])
200
+ }, O(r.formatDate(e.certificate_suspension) || "—"), 3)) : t === "terminatedAt" ? (T(), y("span", {
201
+ key: 6,
202
+ class: w(["whitespace-nowrap", e.certificate_stopping ? "font-medium text-danger-700" : "text-slate-400"])
203
+ }, O(e.certificate_stopping || "—"), 3)) : v("", !0)]),
204
+ _: 1
205
+ }, 8, [
206
+ "rows",
207
+ "columns",
208
+ "visible-keys",
209
+ "empty-text"
210
+ ]),
211
+ r.total > 0 ? (T(), _(r.TablePagination, {
212
+ key: 0,
213
+ page: r.page,
214
+ "onUpdate:page": t[2] ||= (e) => r.page = e,
215
+ "page-size": r.pageSize,
216
+ "onUpdate:pageSize": t[3] ||= (e) => r.pageSize = e,
217
+ total: r.total
218
+ }, null, 8, [
219
+ "page",
220
+ "page-size",
221
+ "total"
222
+ ])) : v("", !0)
223
+ ]),
224
+ S(r.RegistryFormModal, {
225
+ modelValue: r.showAddModal,
226
+ "onUpdate:modelValue": t[4] ||= (e) => r.showAddModal = e,
227
+ title: "Новий сертифікат",
228
+ config: r.config.form,
229
+ width: "max-w-3xl",
230
+ onSaved: r.onCertificateSaved
231
+ }, null, 8, ["modelValue", "config"])
232
+ ]);
233
+ }
234
+ var K = /*#__PURE__*/ e(N, [["render", G], ["__file", "D:/softpro/surveyor/admin/src/pages/certificates/index.vue"]]);
235
+ //#endregion
236
+ export { K as default };