@opengis/surveyor 0.0.11 → 0.0.13

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 (50) hide show
  1. package/dist/chunks/{AppIcon-CCLzEE-_.js → AppIcon-CO70tpMX.js} +1 -1
  2. package/dist/chunks/{AppealDetailField-CI-1qhs3.js → AppealDetailField-DNRGpnyD.js} +2 -2
  3. package/dist/chunks/{AppealStatusBadge-CzzI6x8I.js → AppealStatusBadge-BlAaNUSK.js} +2 -2
  4. package/dist/chunks/{AppealStatusBadge-DYBe9hqP.js → AppealStatusBadge-Ct3EcB4_.js} +15 -1
  5. package/dist/chunks/{ApplicationHistorySection-CPCU_DXH.js → ApplicationHistorySection-D7KPV2cX.js} +155 -141
  6. package/dist/chunks/{BaseModal-DnwqlJhc.js → BaseModal-SjP521X9.js} +2 -2
  7. package/dist/chunks/{FormFilePicker-Dss6pGmO.js → FormFilePicker-DxPQlxgy.js} +2 -2
  8. package/dist/chunks/{MapLayerMenu-DjYCxEc3.js → MapLayerMenu-AUeTqgEp.js} +1 -1
  9. package/dist/chunks/{RegistryForm-CEUqFmsF.js → RegistryForm-BlK1lExt.js} +2 -2
  10. package/dist/chunks/{RegistryFormModal-C-Z4MMHi.js → RegistryFormModal-DhzEpxys.js} +3 -3
  11. package/dist/chunks/{RegistryToolbar-CI1MRqzw.js → RegistryToolbar-DXOEcD84.js} +45 -154
  12. package/dist/chunks/{SurveyorTeleport-BLEO6we9.js → SurveyorTeleport-CnSF0Ptl.js} +1 -1
  13. package/dist/chunks/TablePagination-CUtnDQQ_.js +116 -0
  14. package/dist/chunks/{UserAccessBadge-D8JfgGfN.js → UserAccessBadge-DyZDv7Oo.js} +1 -1
  15. package/dist/chunks/{UserTypeBadge-YIwwoCho.js → UserTypeBadge-LvnMuKGo.js} +1 -1
  16. package/dist/chunks/{VerifiedBadge-B__Vs_ce.js → VerifiedBadge-bk0n-rlC.js} +2 -2
  17. package/dist/chunks/{buildSchema-CccjX9TJ.js → buildSchema-DEfhZEM8.js} +1 -1
  18. package/dist/chunks/{card-BElHsAFl.js → card-BBx1zR0E.js} +316 -306
  19. package/dist/chunks/{card-CUDo4kUH.js → card-Bj4zFzbe.js} +47 -44
  20. package/dist/chunks/{card-DL7yHB1C.js → card-C-ohjNkC.js} +5 -5
  21. package/dist/chunks/{card-UG1mWhcg.js → card-DEJs9IIP.js} +6 -6
  22. package/dist/chunks/card-VnUCFC7v.js +609 -0
  23. package/dist/chunks/{card-sDIYR6YI.js → card-_YyJbLNI.js} +13 -10
  24. package/dist/chunks/{certificates-BnseQylH.js → certificates-Be6u7Cix.js} +1 -1
  25. package/dist/chunks/{certificates-DKi9CSfc.js → certificates-DtfZTFN9.js} +13 -12
  26. package/dist/chunks/{create-DVZv77Uw.js → create-Cgeu7aKO.js} +348 -293
  27. package/dist/chunks/{filterQuery-CvfZrkTC.js → filterQuery-Dka-mIso.js} +7 -3
  28. package/dist/chunks/{forgot-BVzXMKGA.js → forgot-DoG6vXhq.js} +2 -2
  29. package/dist/chunks/{form-DDjELqZ9.js → form-CEfc_shb.js} +1 -1
  30. package/dist/chunks/{form-Bh6i5n1U.js → form-DZ3CbtkT.js} +1 -1
  31. package/dist/chunks/{login-BCib_dtl.js → login-BWGylcSU.js} +2 -2
  32. package/dist/chunks/{map-CNX1_COE.js → map-DkKsEnCM.js} +1126 -831
  33. package/dist/chunks/{map-layers-CCJ7G7ZK.js → map-layers-BmuIMLHa.js} +13 -12
  34. package/dist/chunks/{organizations-BuMFRKjw.js → organizations-BO1dIl7v.js} +15 -14
  35. package/dist/chunks/{profile-BI_RIHN1.js → profile-CkwMFh82.js} +3 -3
  36. package/dist/chunks/{registration-6nn7GgDS.js → registration-3GLgq-ae.js} +2 -2
  37. package/dist/chunks/{requests-DQRmDemb.js → requests-BZ2jrt5J.js} +12 -11
  38. package/dist/chunks/{requests-Dh5jxF06.js → requests-rWq8ok3C.js} +5 -5
  39. package/dist/chunks/{resendSurveyorRegistration-BHTTVIw1.js → resendSurveyorRegistration-BQjL9IgM.js} +1 -1
  40. package/dist/chunks/{reset-D2uXDfB6.js → reset-CP9LsLkC.js} +2 -2
  41. package/dist/chunks/{resources-2e8RFqWR.js → resources-Cj8BzrBX.js} +18 -13
  42. package/dist/chunks/{surveyorAccount-C7UiiIYg.js → surveyorAccount-Cfba7ZVZ.js} +1 -1
  43. package/dist/chunks/{useEntityPath-n7hCq8zh.js → useEntityPath-C5Owtidc.js} +1 -1
  44. package/dist/chunks/{users-LbXn1F2y.js → users-DOiQeVwn.js} +15 -14
  45. package/dist/index.css +1 -1
  46. package/dist/index.js +40 -40
  47. package/package.json +1 -1
  48. package/server/modules/surveyor/services/changeSurveyorPasswordByAdmin.ts +41 -41
  49. package/server/modules/surveyor/utils/templates/ds.surveyor_admin_password.pt.hbs +79 -79
  50. package/dist/chunks/card-CU2THiBT.js +0 -539
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { t } from "./SurveyorTeleport-BLEO6we9.js";
2
+ import { t } from "./SurveyorTeleport-CnSF0Ptl.js";
3
3
  import { Transition as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, renderSlot as d, toDisplayString as f, withCtx as p, withModifiers as m } from "vue";
4
4
  //#region admin/src/components/ui/BaseModal.vue?vue&type=script&setup=true&lang.ts
5
5
  var h = /*@__PURE__*/ c({
@@ -94,7 +94,7 @@ function b(e, t, c, h, b, x) {
94
94
  var x = /*#__PURE__*/ e(h, [
95
95
  ["render", b],
96
96
  ["__scopeId", "data-v-637bdb40"],
97
- ["__file", "D:/Softpro/surveyor/admin/src/components/ui/BaseModal.vue"]
97
+ ["__file", "C:/softpro/surveyor/admin/src/components/ui/BaseModal.vue"]
98
98
  ]);
99
99
  //#endregion
100
100
  export { x as t };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { t } from "./AppIcon-CCLzEE-_.js";
2
+ import { t } from "./AppIcon-CO70tpMX.js";
3
3
  import { createElementBlock as n, createElementVNode as r, createTextVNode as i, createVNode as a, defineComponent as o, openBlock as s, ref as c, toDisplayString as l, watch as u } from "vue";
4
4
  //#region cabinet/src/components/ui/FormFilePicker.vue?vue&type=script&setup=true&lang.ts
5
5
  var d = /*@__PURE__*/ o({
@@ -71,6 +71,6 @@ function b(e, t, o, c, u, d) {
71
71
  onChange: c.onInputChange
72
72
  }, null, 40, y)]);
73
73
  }
74
- var x = /*#__PURE__*/ e(d, [["render", b], ["__file", "D:/Softpro/surveyor/cabinet/src/components/ui/FormFilePicker.vue"]]);
74
+ var x = /*#__PURE__*/ e(d, [["render", b], ["__file", "C:/softpro/surveyor/cabinet/src/components/ui/FormFilePicker.vue"]]);
75
75
  //#endregion
76
76
  export { x as t };
@@ -140,6 +140,6 @@ function C(e, t, s, u, d, p) {
140
140
  ], 64)) : r("", !0)
141
141
  ], 2)) : r("", !0)], 2);
142
142
  }
143
- var w = /*#__PURE__*/ e(g, [["render", C], ["__file", "D:/Softpro/surveyor/shared/map/components/MapLayerMenu.vue"]]);
143
+ var w = /*#__PURE__*/ e(g, [["render", C], ["__file", "C:/softpro/surveyor/shared/map/components/MapLayerMenu.vue"]]);
144
144
  //#endregion
145
145
  export { w as t };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { n as t } from "./buildSchema-CccjX9TJ.js";
2
+ import { n as t } from "./buildSchema-DEfhZEM8.js";
3
3
  import { computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, openBlock as c, ref as l, toDisplayString as u, watch as d } from "vue";
4
4
  import { VForm as f } from "@opengis/form";
5
5
  //#region admin/src/components/registry/RegistryForm.vue?vue&type=script&setup=true&lang.ts
@@ -94,6 +94,6 @@ function _(e, t, n, s, l, d) {
94
94
  }, u(s.isEdit ? "Зберегти" : "Створити"), 1)]))
95
95
  ]);
96
96
  }
97
- var v = /*#__PURE__*/ e(p, [["render", _], ["__file", "D:/Softpro/surveyor/admin/src/components/registry/RegistryForm.vue"]]);
97
+ var v = /*#__PURE__*/ e(p, [["render", _], ["__file", "C:/softpro/surveyor/admin/src/components/registry/RegistryForm.vue"]]);
98
98
  //#endregion
99
99
  export { v as t };
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { t } from "./BaseModal-DnwqlJhc.js";
3
- import { t as n } from "./RegistryForm-CEUqFmsF.js";
2
+ import { t } from "./BaseModal-SjP521X9.js";
3
+ import { t as n } from "./RegistryForm-BlK1lExt.js";
4
4
  import { createBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, openBlock as s, ref as c, toDisplayString as l, withCtx as u } from "vue";
5
5
  //#region admin/src/components/registry/RegistryFormModal.vue?vue&type=script&setup=true&lang.ts
6
6
  var d = /*@__PURE__*/ o({
@@ -80,6 +80,6 @@ function p(e, t, n, o, c, d) {
80
80
  "width"
81
81
  ]);
82
82
  }
83
- var m = /*#__PURE__*/ e(d, [["render", p], ["__file", "D:/Softpro/surveyor/admin/src/components/registry/RegistryFormModal.vue"]]);
83
+ var m = /*#__PURE__*/ e(d, [["render", p], ["__file", "C:/softpro/surveyor/admin/src/components/registry/RegistryFormModal.vue"]]);
84
84
  //#endregion
85
85
  export { m as t };
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { n as t } from "./useEntityPath-n7hCq8zh.js";
3
- import { l as n, o as r, s as i } from "./filterQuery-CvfZrkTC.js";
4
- import { t as a } from "./buildSchema-CccjX9TJ.js";
2
+ import { n as t } from "./useEntityPath-C5Owtidc.js";
3
+ import { l as n, o as r, s as i } from "./filterQuery-Dka-mIso.js";
4
+ import { t as a } from "./buildSchema-DEfhZEM8.js";
5
5
  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, normalizeStyle as g, openBlock as _, ref as v, renderList as y, renderSlot as b, toDisplayString as x, watch as S } from "vue";
6
- import { useRoute as C, useRouter as ee } from "vue-router";
7
- import w from "@opengis/filter";
6
+ import { useRoute as C, useRouter as w } from "vue-router";
7
+ import T from "@opengis/filter";
8
8
  //#region admin/src/composables/useRegistryListQuery.ts
9
- function T(e) {
10
- let t = C(), a = ee(), o = v(""), c = v({}), l = v(1), u = v(10), d = v(e.defaultSort ?? "");
9
+ function E(e) {
10
+ let t = C(), a = w(), o = v(""), c = v({}), l = v(1), u = v(10), d = v(e.defaultSort ?? "");
11
11
  function f(t) {
12
12
  let n = t.trim(), r = e.defaultSort ?? "";
13
13
  if (!n) return r;
@@ -35,24 +35,24 @@ function T(e) {
35
35
  let i = n(c.value);
36
36
  return i && (t.filter = i), d.value && d.value !== (e.defaultSort ?? "") && (t.sort = d.value), t;
37
37
  }
38
- function w() {
38
+ function T() {
39
39
  if (h) return;
40
40
  let e = x(), n = t.query;
41
41
  (String(n.search ?? "") !== (e.search ?? "") || String(n.page ?? "") !== (e.page ?? "") || String(n.filter ?? "") !== (e.filter ?? "") || String(n.sort ?? "") !== (e.sort ?? "")) && (g = !0, a.replace({ query: e }));
42
42
  }
43
- function T(e, t = !1) {
43
+ function E(e, t = !1) {
44
44
  if (h) return;
45
45
  t && (l.value = 1);
46
46
  let n = y();
47
- n !== _ && (_ = n, w(), e());
47
+ n !== _ && (_ = n, T(), e());
48
48
  }
49
- function E(e) {
50
- _ = "", w(), e();
49
+ function D(e) {
50
+ _ = "", T(), e();
51
51
  }
52
- function D() {
52
+ function O() {
53
53
  o.value = "", c.value = {}, l.value = 1;
54
54
  }
55
- function O(e) {
55
+ function k(e) {
56
56
  b(), _ = y(), e(), S(() => [
57
57
  t.query.search,
58
58
  t.query.page,
@@ -65,13 +65,13 @@ function T(e) {
65
65
  }
66
66
  b(), e();
67
67
  }), S([o, c], () => {
68
- T(e, !0);
68
+ E(e, !0);
69
69
  }, { deep: !0 }), S(u, () => {
70
- T(e, !0);
70
+ E(e, !0);
71
71
  }), S(l, () => {
72
- T(e);
72
+ E(e);
73
73
  }), S(d, () => {
74
- T(e);
74
+ E(e);
75
75
  });
76
76
  }
77
77
  return {
@@ -82,14 +82,14 @@ function T(e) {
82
82
  sort: d,
83
83
  listFilters: p,
84
84
  hasFilters: m,
85
- clearFilters: D,
86
- bindListLoader: O,
87
- refreshList: E
85
+ clearFilters: O,
86
+ bindListLoader: k,
87
+ refreshList: D
88
88
  };
89
89
  }
90
90
  //#endregion
91
91
  //#region admin/src/components/ui/PageHeader.vue?vue&type=script&setup=true&lang.ts
92
- var E = /*@__PURE__*/ m({
92
+ var D = /*@__PURE__*/ m({
93
93
  __name: "PageHeader",
94
94
  props: {
95
95
  title: {
@@ -109,11 +109,11 @@ var E = /*@__PURE__*/ m({
109
109
  value: !0
110
110
  }), n;
111
111
  }
112
- }), D = { class: "mb-5 flex flex-col gap-3 px-4 pl-8 sm:flex-row sm:items-center sm:justify-between lg:px-4 lg:pl-4" }, O = { class: "text-xl font-bold tracking-tight text-slate-900" }, k = { class: "mt-1 text-sm text-slate-500" };
113
- function A(e, t, n, r, i, a) {
114
- return _(), u("header", D, [d("div", null, [d("h1", O, x(n.title), 1), d("p", k, x(n.subtitle), 1)]), b(e.$slots, "default")]);
112
+ }), O = { class: "mb-5 flex flex-col gap-3 px-4 pl-8 sm:flex-row sm:items-center sm:justify-between lg:px-4 lg:pl-4" }, k = { class: "text-xl font-bold tracking-tight text-slate-900" }, A = { class: "mt-1 text-sm text-slate-500" };
113
+ function j(e, t, n, r, i, a) {
114
+ return _(), u("header", O, [d("div", null, [d("h1", k, x(n.title), 1), d("p", A, x(n.subtitle), 1)]), b(e.$slots, "default")]);
115
115
  }
116
- var j = /*#__PURE__*/ e(E, [["render", A], ["__file", "D:/Softpro/surveyor/admin/src/components/ui/PageHeader.vue"]]), M = /*@__PURE__*/ m({
116
+ var M = /*#__PURE__*/ e(D, [["render", j], ["__file", "C:/softpro/surveyor/admin/src/components/ui/PageHeader.vue"]]), N = /*@__PURE__*/ m({
117
117
  __name: "RegistryTable",
118
118
  props: {
119
119
  rows: {
@@ -194,17 +194,17 @@ var j = /*#__PURE__*/ e(E, [["render", A], ["__file", "D:/Softpro/surveyor/admin
194
194
  value: !0
195
195
  }), d;
196
196
  }
197
- }), N = { key: 0 }, P = { class: "bg-slate-50 text-xs font-semibold text-slate-500" }, F = ["aria-sort"], I = ["aria-label", "onClick"], L = { class: "divide-y divide-slate-100" }, R = { key: 0 }, z = ["colspan"];
198
- function B(e, t, n, r, i, a) {
197
+ }), P = { key: 0 }, F = { class: "bg-slate-50 text-xs font-semibold text-slate-500" }, I = ["aria-sort"], L = ["aria-label", "onClick"], R = { class: "divide-y divide-slate-100" }, z = { key: 0 }, B = ["colspan"];
198
+ function V(e, t, n, r, i, a) {
199
199
  return _(), u("div", { class: h(["rounded-lg border border-slate-200 bg-white", n.minWidth ? "overflow-x-auto" : "overflow-hidden"]) }, [d("table", {
200
200
  class: "w-full table-fixed text-left text-[13px]",
201
201
  style: g(n.minWidth ? { minWidth: n.minWidth } : void 0)
202
202
  }, [
203
- n.columnWidths ? (_(), u("colgroup", N, [(_(!0), u(o, null, y(n.visibleKeys, (e) => (_(), u("col", {
203
+ n.columnWidths ? (_(), u("colgroup", P, [(_(!0), u(o, null, y(n.visibleKeys, (e) => (_(), u("col", {
204
204
  key: e,
205
205
  class: h(n.columnWidths[e])
206
206
  }, null, 2))), 128))])) : l("", !0),
207
- d("thead", P, [d("tr", null, [(_(!0), u(o, null, y(n.visibleKeys, (e) => (_(), u("th", {
207
+ d("thead", F, [d("tr", null, [(_(!0), u(o, null, y(n.visibleKeys, (e) => (_(), u("th", {
208
208
  key: e,
209
209
  class: "px-3 py-3 first:pl-4 last:pr-4",
210
210
  "aria-sort": r.sortDirection(e) === "asc" ? "ascending" : r.sortDirection(e) === "desc" ? "descending" : void 0
@@ -217,8 +217,8 @@ function B(e, t, n, r, i, a) {
217
217
  }, [d("span", null, x(r.columnLabel(e)), 1), p(r.AppIcon, {
218
218
  name: r.sortDirection(e) === "asc" ? "arrow-up" : r.sortDirection(e) === "desc" ? "arrow-down" : "arrow-up-down",
219
219
  class: h(["h-3.5 w-3.5 shrink-0", r.sortDirection(e) ? "" : "opacity-40"])
220
- }, null, 8, ["name", "class"])], 10, I)) : (_(), u(o, { key: 1 }, [f(x(r.columnLabel(e)), 1)], 64))], 8, F))), 128))])]),
221
- d("tbody", L, [(_(!0), u(o, null, y(n.rows, (t, i) => (_(), u("tr", {
220
+ }, null, 8, ["name", "class"])], 10, L)) : (_(), u(o, { key: 1 }, [f(x(r.columnLabel(e)), 1)], 64))], 8, I))), 128))])]),
221
+ d("tbody", R, [(_(!0), u(o, null, y(n.rows, (t, i) => (_(), u("tr", {
222
222
  key: r.rowId(t, i),
223
223
  class: "transition-colors hover:bg-brand-50/40"
224
224
  }, [(_(!0), u(o, null, y(n.visibleKeys, (r) => (_(), u("td", {
@@ -227,122 +227,13 @@ function B(e, t, n, r, i, a) {
227
227
  }, [b(e.$slots, "cell", {
228
228
  row: t,
229
229
  column: r
230
- })], 2))), 128))]))), 128)), n.rows.length === 0 && n.emptyText ? (_(), u("tr", R, [d("td", {
230
+ })], 2))), 128))]))), 128)), n.rows.length === 0 && n.emptyText ? (_(), u("tr", z, [d("td", {
231
231
  colspan: n.visibleKeys.length,
232
232
  class: "px-4 py-12 text-center text-sm text-slate-400"
233
- }, x(n.emptyText), 9, z)])) : l("", !0)])
233
+ }, x(n.emptyText), 9, B)])) : l("", !0)])
234
234
  ], 4)], 2);
235
235
  }
236
- var V = /*#__PURE__*/ e(M, [["render", B], ["__file", "D:/Softpro/surveyor/admin/src/components/table/RegistryTable.vue"]]), H = /*@__PURE__*/ m({
237
- __name: "TablePagination",
238
- props: {
239
- page: {
240
- type: Number,
241
- required: !0
242
- },
243
- pageSize: {
244
- type: Number,
245
- required: !0
246
- },
247
- total: {
248
- type: Number,
249
- required: !0
250
- }
251
- },
252
- emits: ["update:page", "update:pageSize"],
253
- setup(e, { expose: n, emit: r }) {
254
- n();
255
- let i = e, a = r, o = [
256
- 10,
257
- 25,
258
- 50
259
- ], c = s(() => Math.max(1, Math.ceil(i.total / i.pageSize))), l = s(() => i.total === 0 ? 0 : (i.page - 1) * i.pageSize + 1), u = s(() => Math.min(i.page * i.pageSize, i.total));
260
- function d(e) {
261
- a("update:page", Math.max(1, Math.min(e, c.value)));
262
- }
263
- let f = {
264
- props: i,
265
- emit: a,
266
- pageSizes: o,
267
- totalPages: c,
268
- from: l,
269
- to: u,
270
- goTo: d,
271
- AppIcon: t
272
- };
273
- return Object.defineProperty(f, "__isScriptSetup", {
274
- enumerable: !1,
275
- value: !0
276
- }), f;
277
- }
278
- }), U = { class: "flex flex-col items-center justify-between gap-3 border-t border-slate-100 px-4 py-3 text-sm text-slate-500 sm:flex-row" }, te = { class: "flex items-center gap-3" }, W = { class: "font-semibold text-slate-700" }, G = { class: "font-semibold text-slate-700" }, K = { class: "font-semibold text-slate-700" }, q = { class: "hidden items-center gap-2 sm:flex" }, J = { class: "relative" }, Y = ["value"], X = ["value"], Z = { class: "flex items-center gap-1" }, Q = ["disabled"], ne = ["disabled"], re = { class: "px-2 text-sm font-medium text-slate-600" }, ie = ["disabled"], ae = ["disabled"];
279
- function oe(e, t, n, r, i, a) {
280
- return _(), u("div", U, [d("div", te, [
281
- d("span", null, [
282
- t[5] ||= f(" Показано ", -1),
283
- d("strong", W, x(r.from), 1),
284
- t[6] ||= f("–", -1),
285
- d("strong", G, x(r.to), 1),
286
- t[7] ||= f(" з ", -1),
287
- d("strong", K, x(n.total), 1)
288
- ]),
289
- t[9] ||= d("span", { class: "hidden text-slate-300 sm:inline" }, "|", -1),
290
- d("label", q, [t[8] ||= d("span", null, "Рядків на сторінці:", -1), d("span", J, [d("select", {
291
- value: n.pageSize,
292
- class: "h-8 appearance-none rounded-md border border-slate-200 bg-white py-0 pl-2 pr-9 text-sm text-slate-700 outline-none transition-colors focus:border-brand-400 focus:ring-1 focus:ring-brand-400",
293
- onChange: t[0] ||= (e) => r.emit("update:pageSize", Number(e.target.value))
294
- }, [(_(), u(o, null, y(r.pageSizes, (e) => d("option", {
295
- key: e,
296
- value: e
297
- }, x(e), 9, X)), 64))], 40, Y), p(r.AppIcon, {
298
- name: "chevron-down",
299
- class: "pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-500"
300
- })])])
301
- ]), d("div", Z, [
302
- d("button", {
303
- type: "button",
304
- class: "inline-flex h-8 w-8 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-500 transition-colors hover:border-brand-300 hover:text-brand-700 disabled:cursor-not-allowed disabled:opacity-40",
305
- disabled: n.page <= 1,
306
- "aria-label": "Перша сторінка",
307
- onClick: t[1] ||= (e) => r.goTo(1)
308
- }, [p(r.AppIcon, {
309
- name: "chevrons-left",
310
- class: "h-4 w-4"
311
- })], 8, Q),
312
- d("button", {
313
- type: "button",
314
- class: "inline-flex h-8 w-8 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-500 transition-colors hover:border-brand-300 hover:text-brand-700 disabled:cursor-not-allowed disabled:opacity-40",
315
- disabled: n.page <= 1,
316
- "aria-label": "Попередня сторінка",
317
- onClick: t[2] ||= (e) => r.goTo(n.page - 1)
318
- }, [p(r.AppIcon, {
319
- name: "chevron-left",
320
- class: "h-4 w-4"
321
- })], 8, ne),
322
- d("span", re, x(n.page) + " / " + x(r.totalPages), 1),
323
- d("button", {
324
- type: "button",
325
- class: "inline-flex h-8 w-8 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-500 transition-colors hover:border-brand-300 hover:text-brand-700 disabled:cursor-not-allowed disabled:opacity-40",
326
- disabled: n.page >= r.totalPages,
327
- "aria-label": "Наступна сторінка",
328
- onClick: t[3] ||= (e) => r.goTo(n.page + 1)
329
- }, [p(r.AppIcon, {
330
- name: "chevron-right",
331
- class: "h-4 w-4"
332
- })], 8, ie),
333
- d("button", {
334
- type: "button",
335
- class: "inline-flex h-8 w-8 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-500 transition-colors hover:border-brand-300 hover:text-brand-700 disabled:cursor-not-allowed disabled:opacity-40",
336
- disabled: n.page >= r.totalPages,
337
- "aria-label": "Остання сторінка",
338
- onClick: t[4] ||= (e) => r.goTo(r.totalPages)
339
- }, [p(r.AppIcon, {
340
- name: "chevrons-right",
341
- class: "h-4 w-4"
342
- })], 8, ae)
343
- ])]);
344
- }
345
- var $ = /*#__PURE__*/ e(H, [["render", oe], ["__file", "D:/Softpro/surveyor/admin/src/components/table/TablePagination.vue"]]), se = /*@__PURE__*/ m({
236
+ var H = /*#__PURE__*/ e(N, [["render", V], ["__file", "C:/softpro/surveyor/admin/src/components/table/RegistryTable.vue"]]), U = /*@__PURE__*/ m({
346
237
  __name: "RegistryFilter",
347
238
  props: {
348
239
  config: {
@@ -367,7 +258,7 @@ var $ = /*#__PURE__*/ e(H, [["render", oe], ["__file", "D:/Softpro/surveyor/admi
367
258
  schema: o,
368
259
  onFilterChange: c,
369
260
  get VsFilter() {
370
- return w;
261
+ return T;
371
262
  }
372
263
  };
373
264
  return Object.defineProperty(l, "__isScriptSetup", {
@@ -378,9 +269,9 @@ var $ = /*#__PURE__*/ e(H, [["render", oe], ["__file", "D:/Softpro/surveyor/admi
378
269
  });
379
270
  //#endregion
380
271
  //#region admin/src/components/registry/RegistryFilter.vue
381
- function ce(e, t, n, r, i, a) {
272
+ function W(e, t, n, r, i, a) {
382
273
  return _(), c(r.VsFilter, {
383
- class: "registry-filter min-w-0 flex-1",
274
+ class: "registry-filter min-w-0 flex-2",
384
275
  schema: r.schema,
385
276
  view: n.config.view ?? "inline",
386
277
  limit: n.config.limit ?? 8,
@@ -393,7 +284,7 @@ function ce(e, t, n, r, i, a) {
393
284
  "value"
394
285
  ]);
395
286
  }
396
- var le = /*#__PURE__*/ e(se, [["render", ce], ["__file", "D:/Softpro/surveyor/admin/src/components/registry/RegistryFilter.vue"]]), ue = /*@__PURE__*/ m({
287
+ var G = /*#__PURE__*/ e(U, [["render", W], ["__file", "C:/softpro/surveyor/admin/src/components/registry/RegistryFilter.vue"]]), K = /*@__PURE__*/ m({
397
288
  __name: "RegistryToolbar",
398
289
  props: {
399
290
  filterConfig: {
@@ -425,18 +316,18 @@ var le = /*#__PURE__*/ e(se, [["render", ce], ["__file", "D:/Softpro/surveyor/ad
425
316
  let a = {
426
317
  emit: r,
427
318
  onFilterChange: i,
428
- RegistryFilter: le
319
+ RegistryFilter: G
429
320
  };
430
321
  return Object.defineProperty(a, "__isScriptSetup", {
431
322
  enumerable: !1,
432
323
  value: !0
433
324
  }), a;
434
325
  }
435
- }), de = {
326
+ }), q = {
436
327
  key: 0,
437
328
  class: "ml-auto flex shrink-0 items-center gap-2"
438
329
  };
439
- function fe(e, t, n, r, i, a) {
330
+ function J(e, t, n, r, i, a) {
440
331
  return _(), u("div", { class: h(["flex items-center gap-2", n.nowrap ? "flex-nowrap" : "flex-wrap"]) }, [
441
332
  d("div", { class: h(["relative min-w-0 flex-1", n.searchMin]) }, [b(e.$slots, "search")], 2),
442
333
  p(r.RegistryFilter, {
@@ -444,9 +335,9 @@ function fe(e, t, n, r, i, a) {
444
335
  "filter-values": n.filterValues,
445
336
  onChange: r.onFilterChange
446
337
  }, null, 8, ["config", "filter-values"]),
447
- e.$slots.actions ? (_(), u("div", de, [b(e.$slots, "actions")])) : l("", !0)
338
+ e.$slots.actions ? (_(), u("div", q, [b(e.$slots, "actions")])) : l("", !0)
448
339
  ], 2);
449
340
  }
450
- var pe = /*#__PURE__*/ e(ue, [["render", fe], ["__file", "D:/Softpro/surveyor/admin/src/components/registry/RegistryToolbar.vue"]]);
341
+ var Y = /*#__PURE__*/ e(K, [["render", J], ["__file", "C:/softpro/surveyor/admin/src/components/registry/RegistryToolbar.vue"]]);
451
342
  //#endregion
452
- export { T as a, j as i, $ as n, V as r, pe as t };
343
+ export { E as i, H as n, M as r, Y as t };
@@ -18,6 +18,6 @@ var c = /*@__PURE__*/ a({
18
18
  function l(e, t, r, a, c, l) {
19
19
  return o(), i(n, { to: a.target }, [s(e.$slots, "default")], 8, ["to"]);
20
20
  }
21
- var u = /*#__PURE__*/ t(c, [["render", l], ["__file", "D:/Softpro/surveyor/shared/surveyor/SurveyorTeleport.vue"]]);
21
+ var u = /*#__PURE__*/ t(c, [["render", l], ["__file", "C:/softpro/surveyor/shared/surveyor/SurveyorTeleport.vue"]]);
22
22
  //#endregion
23
23
  export { u as t };
@@ -0,0 +1,116 @@
1
+ import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
+ import { n as t } from "./useEntityPath-C5Owtidc.js";
3
+ import { Fragment as n, computed as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, openBlock as l, renderList as u, toDisplayString as d } from "vue";
4
+ //#region admin/src/components/table/TablePagination.vue?vue&type=script&setup=true&lang.ts
5
+ var f = /*@__PURE__*/ c({
6
+ __name: "TablePagination",
7
+ props: {
8
+ page: {
9
+ type: Number,
10
+ required: !0
11
+ },
12
+ pageSize: {
13
+ type: Number,
14
+ required: !0
15
+ },
16
+ total: {
17
+ type: Number,
18
+ required: !0
19
+ }
20
+ },
21
+ emits: ["update:page", "update:pageSize"],
22
+ setup(e, { expose: n, emit: i }) {
23
+ n();
24
+ let a = e, o = i, s = [
25
+ 10,
26
+ 25,
27
+ 50
28
+ ], c = r(() => Math.max(1, Math.ceil(a.total / a.pageSize))), l = r(() => a.total === 0 ? 0 : (a.page - 1) * a.pageSize + 1), u = r(() => Math.min(a.page * a.pageSize, a.total));
29
+ function d(e) {
30
+ o("update:page", Math.max(1, Math.min(e, c.value)));
31
+ }
32
+ let f = {
33
+ props: a,
34
+ emit: o,
35
+ pageSizes: s,
36
+ totalPages: c,
37
+ from: l,
38
+ to: u,
39
+ goTo: d,
40
+ AppIcon: t
41
+ };
42
+ return Object.defineProperty(f, "__isScriptSetup", {
43
+ enumerable: !1,
44
+ value: !0
45
+ }), f;
46
+ }
47
+ }), p = { class: "flex flex-col items-center justify-between gap-3 border-t border-slate-100 px-4 py-3 text-sm text-slate-500 sm:flex-row" }, m = { class: "flex items-center gap-3" }, h = { class: "font-semibold text-slate-700" }, g = { class: "font-semibold text-slate-700" }, _ = { class: "font-semibold text-slate-700" }, v = { class: "hidden items-center gap-2 sm:flex" }, y = { class: "relative" }, b = ["value"], x = ["value"], S = { class: "pointer-events-none absolute inset-y-0 right-2 flex items-center text-slate-500" }, C = { class: "flex items-center gap-1" }, w = ["disabled"], T = ["disabled"], E = { class: "px-2 text-sm font-medium text-slate-600" }, D = ["disabled"], O = ["disabled"];
48
+ function k(e, t, r, c, f, k) {
49
+ return l(), i("div", p, [a("div", m, [
50
+ a("span", null, [
51
+ t[5] ||= o(" Показано ", -1),
52
+ a("strong", h, d(c.from), 1),
53
+ t[6] ||= o("–", -1),
54
+ a("strong", g, d(c.to), 1),
55
+ t[7] ||= o(" з ", -1),
56
+ a("strong", _, d(r.total), 1)
57
+ ]),
58
+ t[9] ||= a("span", { class: "hidden text-slate-300 sm:inline" }, "|", -1),
59
+ a("label", v, [t[8] ||= a("span", null, "Рядків на сторінці:", -1), a("span", y, [a("select", {
60
+ value: r.pageSize,
61
+ class: "h-8 appearance-none rounded-md border border-slate-200 bg-white py-0 pl-2 pr-9 text-sm text-slate-700 outline-none transition-colors focus:border-brand-400 focus:ring-1 focus:ring-brand-400",
62
+ onChange: t[0] ||= (e) => c.emit("update:pageSize", Number(e.target.value))
63
+ }, [(l(), i(n, null, u(c.pageSizes, (e) => a("option", {
64
+ key: e,
65
+ value: e
66
+ }, d(e), 9, x)), 64))], 40, b), a("span", S, [s(c.AppIcon, {
67
+ name: "chevron-down",
68
+ class: "h-4 w-4"
69
+ })])])])
70
+ ]), a("div", C, [
71
+ a("button", {
72
+ type: "button",
73
+ class: "inline-flex h-8 w-8 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-500 transition-colors hover:border-brand-300 hover:text-brand-700 disabled:cursor-not-allowed disabled:opacity-40",
74
+ disabled: r.page <= 1,
75
+ "aria-label": "Перша сторінка",
76
+ onClick: t[1] ||= (e) => c.goTo(1)
77
+ }, [s(c.AppIcon, {
78
+ name: "chevrons-left",
79
+ class: "h-4 w-4"
80
+ })], 8, w),
81
+ a("button", {
82
+ type: "button",
83
+ class: "inline-flex h-8 w-8 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-500 transition-colors hover:border-brand-300 hover:text-brand-700 disabled:cursor-not-allowed disabled:opacity-40",
84
+ disabled: r.page <= 1,
85
+ "aria-label": "Попередня сторінка",
86
+ onClick: t[2] ||= (e) => c.goTo(r.page - 1)
87
+ }, [s(c.AppIcon, {
88
+ name: "chevron-left",
89
+ class: "h-4 w-4"
90
+ })], 8, T),
91
+ a("span", E, d(r.page) + " / " + d(c.totalPages), 1),
92
+ a("button", {
93
+ type: "button",
94
+ class: "inline-flex h-8 w-8 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-500 transition-colors hover:border-brand-300 hover:text-brand-700 disabled:cursor-not-allowed disabled:opacity-40",
95
+ disabled: r.page >= c.totalPages,
96
+ "aria-label": "Наступна сторінка",
97
+ onClick: t[3] ||= (e) => c.goTo(r.page + 1)
98
+ }, [s(c.AppIcon, {
99
+ name: "chevron-right",
100
+ class: "h-4 w-4"
101
+ })], 8, D),
102
+ a("button", {
103
+ type: "button",
104
+ class: "inline-flex h-8 w-8 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-500 transition-colors hover:border-brand-300 hover:text-brand-700 disabled:cursor-not-allowed disabled:opacity-40",
105
+ disabled: r.page >= c.totalPages,
106
+ "aria-label": "Остання сторінка",
107
+ onClick: t[4] ||= (e) => c.goTo(c.totalPages)
108
+ }, [s(c.AppIcon, {
109
+ name: "chevrons-right",
110
+ class: "h-4 w-4"
111
+ })], 8, O)
112
+ ])]);
113
+ }
114
+ var A = /*#__PURE__*/ e(f, [["render", k], ["__file", "C:/softpro/surveyor/admin/src/components/table/TablePagination.vue"]]);
115
+ //#endregion
116
+ export { A as t };
@@ -39,6 +39,6 @@ var s = /*@__PURE__*/ r({
39
39
  function c(e, t, r, s, c, l) {
40
40
  return a(), n("span", { class: i(["inline-flex items-center whitespace-nowrap rounded-full px-2.5 py-1 text-xs font-semibold", s.status.class]) }, o(s.status.label), 3);
41
41
  }
42
- var l = /*#__PURE__*/ e(s, [["render", c], ["__file", "D:/Softpro/surveyor/admin/src/components/ui/UserAccessBadge.vue"]]);
42
+ var l = /*#__PURE__*/ e(s, [["render", c], ["__file", "C:/softpro/surveyor/admin/src/components/ui/UserAccessBadge.vue"]]);
43
43
  //#endregion
44
44
  export { l as t };
@@ -183,6 +183,6 @@ function v(e, t, n, r, i, c) {
183
183
  r.config.border
184
184
  ]]) }, [o("span", { class: l(["h-1.5 w-1.5 rounded-full", r.config.dot]) }, null, 2), s(" " + d(r.config.label), 1)], 2);
185
185
  }
186
- var y = /*#__PURE__*/ t(_, [["render", v], ["__file", "D:/Softpro/surveyor/admin/src/components/ui/UserTypeBadge.vue"]]);
186
+ var y = /*#__PURE__*/ t(_, [["render", v], ["__file", "C:/softpro/surveyor/admin/src/components/ui/UserTypeBadge.vue"]]);
187
187
  //#endregion
188
188
  export { f as i, g as n, p as r, y as t };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { n as t } from "./useEntityPath-n7hCq8zh.js";
2
+ import { n as t } from "./useEntityPath-C5Owtidc.js";
3
3
  import { createElementBlock as n, createTextVNode as r, createVNode as i, defineComponent as a, openBlock as o } from "vue";
4
4
  //#region admin/src/components/ui/VerifiedBadge.vue?vue&type=script&setup=true&lang.ts
5
5
  var s = /*@__PURE__*/ a({
@@ -29,6 +29,6 @@ function u(e, t, a, s, u, d) {
29
29
  class: "h-3.5 w-3.5"
30
30
  }), t[0] ||= r(" Так ", -1)])) : (o(), n("span", l, " Ні "));
31
31
  }
32
- var d = /*#__PURE__*/ e(s, [["render", u], ["__file", "D:/Softpro/surveyor/admin/src/components/ui/VerifiedBadge.vue"]]);
32
+ var d = /*#__PURE__*/ e(s, [["render", u], ["__file", "C:/softpro/surveyor/admin/src/components/ui/VerifiedBadge.vue"]]);
33
33
  //#endregion
34
34
  export { d as t };
@@ -1,4 +1,4 @@
1
- import { s as e } from "./resources-2e8RFqWR.js";
1
+ import { l as e } from "./resources-Cj8BzrBX.js";
2
2
  //#region admin/src/components/registry/buildSchema.ts
3
3
  function t(e) {
4
4
  return e;