@opengis/surveyor 0.0.15 → 0.0.16

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 (60) hide show
  1. package/dist/chunks/{AppIcon-Di5F4Bu_.js → AppIcon-CO70tpMX.js} +1 -1
  2. package/dist/chunks/{AppealDetailField-DNpsGpPY.js → AppealDetailField-DNRGpnyD.js} +2 -2
  3. package/dist/chunks/AppealStatusBadge-7KruOSVI.js +295 -0
  4. package/dist/chunks/{AppealStatusBadge-z77wwkFD.js → AppealStatusBadge-BlAaNUSK.js} +2 -2
  5. package/dist/chunks/ApplicationGeometryExportModal-DJbnKPm6.js +1245 -0
  6. package/dist/chunks/{BaseModal-DP_ilBdg.js → BaseModal-BJxKuONh.js} +2 -2
  7. package/dist/chunks/{FormFilePicker-D5fAUE0Z.js → FormFilePicker-DxPQlxgy.js} +2 -2
  8. package/dist/chunks/{MapLayerMenu-CI5cbLEC.js → MapLayerMenu-AUeTqgEp.js} +1 -1
  9. package/dist/chunks/{RegistryForm-Ct8xiLV0.js → RegistryForm-BlK1lExt.js} +1 -1
  10. package/dist/chunks/{RegistryFormModal-DTi3g3CX.js → RegistryFormModal-BmBsUOF3.js} +3 -3
  11. package/dist/chunks/{RegistryToolbar-v7DdReH2.js → RegistryToolbar-DXOEcD84.js} +5 -5
  12. package/dist/chunks/SurveyorTeleport-Cd6D92mo.js +30 -0
  13. package/dist/chunks/{TablePagination-Iri38U68.js → TablePagination-CUtnDQQ_.js} +2 -2
  14. package/dist/chunks/{UserAccessBadge-B5Q1LvNv.js → UserAccessBadge-DyZDv7Oo.js} +1 -1
  15. package/dist/chunks/{UserTypeBadge-CuAMctTK.js → UserTypeBadge-LvnMuKGo.js} +1 -1
  16. package/dist/chunks/{VerifiedBadge-D6L7mCdp.js → VerifiedBadge-bk0n-rlC.js} +2 -2
  17. package/dist/chunks/{applications-D6pHAQaK.js → applications-B6GAxopO.js} +16 -19
  18. package/dist/chunks/card-B113dNzv.js +1327 -0
  19. package/dist/chunks/card-COmcUdms.js +639 -0
  20. package/dist/chunks/{card-Ba8_kfj9.js → card-DEJs9IIP.js} +4 -4
  21. package/dist/chunks/{card-CJhdeB6f.js → card-Deae73xd.js} +10 -10
  22. package/dist/chunks/{card-TP5UFJb2.js → card-VnUCFC7v.js} +5 -5
  23. package/dist/chunks/{card-DcYkb_aF.js → card-_YyJbLNI.js} +6 -6
  24. package/dist/chunks/{certificates-Ew5AekPn.js → certificates-DHf1zGQs.js} +23 -13
  25. package/dist/chunks/{create-CSIDl4gP.js → create-BVPqfJOb.js} +18 -18
  26. package/dist/chunks/{forgot-DnixBqdc.js → forgot-DoG6vXhq.js} +2 -2
  27. package/dist/chunks/{login-BWCQdEkv.js → login-BWGylcSU.js} +2 -2
  28. package/dist/chunks/{map-mZ8Rn4aR.js → map-BZi4eVl3.js} +894 -898
  29. package/dist/chunks/{map-layers-BdWEHPLx.js → map-layers-CKZK50de.js} +6 -6
  30. package/dist/chunks/{organizations-D0o0e_ps.js → organizations-DYGfYfHS.js} +7 -7
  31. package/dist/chunks/{profile-F7mr0poI.js → profile-CkwMFh82.js} +3 -3
  32. package/dist/chunks/{registration-BRF4985_.js → registration-3GLgq-ae.js} +2 -2
  33. package/dist/chunks/{requests-BCJN-CNx.js → requests-D1ix8U5f.js} +6 -6
  34. package/dist/chunks/requests-v1jHarHb.js +303 -0
  35. package/dist/chunks/{reset-OZCgLi6f.js → reset-CP9LsLkC.js} +2 -2
  36. package/dist/chunks/{useEntityPath-8s0Y1tjA.js → useEntityPath-C5Owtidc.js} +1 -1
  37. package/dist/chunks/{users-Dr543AYk.js → users-frk3gmmd.js} +7 -7
  38. package/dist/index.css +1 -1
  39. package/dist/index.js +47 -47
  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 +83 -83
  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/services/mapLayers.ts +61 -61
  49. package/server/modules/surveyor/utils/templates/ds.surveyor_password_reset.pt.hbs +79 -79
  50. package/server/resources/helpers/settlement_lookup.ts +7 -7
  51. package/server/resources/surveyor-admin/applications.ts +11 -10
  52. package/server/resources/surveyor-admin/certificates.ts +25 -25
  53. package/server/resources/surveyor-admin/organization_surveyors.ts +31 -31
  54. package/server/suggests/index.ts +18 -1
  55. package/dist/chunks/AppealStatusBadge-COxcUM2Q.js +0 -185
  56. package/dist/chunks/ApplicationHistorySection-DHq-iJla.js +0 -788
  57. package/dist/chunks/SurveyorTeleport-D6-KXe_5.js +0 -23
  58. package/dist/chunks/card-CF5Lo4ui.js +0 -609
  59. package/dist/chunks/card-CVujkVkR.js +0 -1193
  60. package/dist/chunks/requests-F0Kp8OPp.js +0 -234
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { n as t, t as n } from "./useEntityPath-8s0Y1tjA.js";
2
+ import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
3
3
  import { c as r, s as i } from "./resources-Cj8BzrBX.js";
4
- import { t as a } from "./VerifiedBadge-D6L7mCdp.js";
5
- import { t as o } from "./UserAccessBadge-B5Q1LvNv.js";
6
- import { n as s, t as c } from "./AppealDetailField-DNpsGpPY.js";
4
+ import { t as a } from "./VerifiedBadge-bk0n-rlC.js";
5
+ import { t as o } from "./UserAccessBadge-DyZDv7Oo.js";
6
+ import { n as s, t as c } from "./AppealDetailField-DNRGpnyD.js";
7
7
  import { i as ee, r as l, t as u } from "./surveyorAccount-Cfba7ZVZ.js";
8
- import { t as d } from "./SurveyorTeleport-D6-KXe_5.js";
9
- import { t as f } from "./BaseModal-DP_ilBdg.js";
10
- import { t as p } from "./RegistryForm-Ct8xiLV0.js";
8
+ import { t as d } from "./SurveyorTeleport-Cd6D92mo.js";
9
+ import { t as f } from "./BaseModal-BJxKuONh.js";
10
+ import { t as p } from "./RegistryForm-BlK1lExt.js";
11
11
  import { n as m } from "./certificates-Be6u7Cix.js";
12
12
  import { n as h, t as g } from "./resendSurveyorRegistration-BQjL9IgM.js";
13
13
  import { t as _ } from "./form-CEfc_shb.js";
@@ -42,7 +42,7 @@ function U(e, t, n, r, i, a) {
42
42
  r.config.border
43
43
  ]]) }, [S("span", { class: D(["h-1.5 w-1.5 rounded-full", r.config.dot]) }, null, 2), w(" " + N(r.config.label), 1)], 2);
44
44
  }
45
- var ae = /*#__PURE__*/ e(H, [["render", U], ["__file", "D:/softpro/surveyor/admin/src/components/ui/ValidityBadge.vue"]]), oe = "h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors focus:border-brand-400 focus:ring-1 focus:ring-brand-400", W = /*@__PURE__*/ E({
45
+ var ae = /*#__PURE__*/ e(H, [["render", U], ["__file", "C:/softpro/surveyor/admin/src/components/ui/ValidityBadge.vue"]]), oe = "h-10 w-full rounded-lg border border-slate-200 bg-white px-3 text-sm text-slate-700 outline-none transition-colors focus:border-brand-400 focus:ring-1 focus:ring-brand-400", W = /*@__PURE__*/ E({
46
46
  __name: "OrganizationUsers",
47
47
  props: {
48
48
  orgId: {
@@ -553,7 +553,7 @@ function Ve(e, t, n, r, i, a) {
553
553
  }, 8, ["model-value", "title"])
554
554
  ]);
555
555
  }
556
- var He = /*#__PURE__*/ e(W, [["render", Ve], ["__file", "D:/softpro/surveyor/admin/src/pages/organizations/components/OrganizationUsers.vue"]]), Ue = /*@__PURE__*/ E({
556
+ var He = /*#__PURE__*/ e(W, [["render", Ve], ["__file", "C:/softpro/surveyor/admin/src/pages/organizations/components/OrganizationUsers.vue"]]), Ue = /*@__PURE__*/ E({
557
557
  __name: "card",
558
558
  setup(e, { expose: r }) {
559
559
  r();
@@ -783,6 +783,6 @@ function st(e, t, n, r, i, a) {
783
783
  _: 1
784
784
  }, 8, ["to"])]));
785
785
  }
786
- var ct = /*#__PURE__*/ e(Ue, [["render", st], ["__file", "D:/softpro/surveyor/admin/src/pages/organizations/card.vue"]]);
786
+ var ct = /*#__PURE__*/ e(Ue, [["render", st], ["__file", "C:/softpro/surveyor/admin/src/pages/organizations/card.vue"]]);
787
787
  //#endregion
788
788
  export { ct as default };
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { n as t, t as n } from "./useEntityPath-8s0Y1tjA.js";
2
+ import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
3
3
  import { c as r, o as i, s as a } from "./resources-Cj8BzrBX.js";
4
- import { t as ee } from "./UserTypeBadge-CuAMctTK.js";
5
- import { n as te, t as ne } from "./AppealDetailField-DNpsGpPY.js";
4
+ import { t as ee } from "./UserTypeBadge-LvnMuKGo.js";
5
+ import { n as te, t as ne } from "./AppealDetailField-DNRGpnyD.js";
6
6
  import { a as re, i as ie, n as ae, r as oe, t as se } from "./surveyorAccount-Cfba7ZVZ.js";
7
- import { t as ce } from "./TablePagination-Iri38U68.js";
7
+ import { t as ce } from "./TablePagination-CUtnDQQ_.js";
8
8
  import { n as le, t as ue } from "./resendSurveyorRegistration-BQjL9IgM.js";
9
9
  import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, onMounted as de, onUnmounted as fe, openBlock as g, ref as _, renderList as v, toDisplayString as y, vModelText as b, watch as x, withCtx as S, withDirectives as C, withModifiers as w } from "vue";
10
10
  import { RouterLink as pe, useRoute as me } from "vue-router";
@@ -604,6 +604,6 @@ function Ne(e, t, n, r, i, a) {
604
604
  _: 1
605
605
  }, 8, ["to"])]));
606
606
  }
607
- var Pe = /*#__PURE__*/ e(E, [["render", Ne], ["__file", "D:/softpro/surveyor/admin/src/pages/users/card.vue"]]);
607
+ var Pe = /*#__PURE__*/ e(E, [["render", Ne], ["__file", "C:/softpro/surveyor/admin/src/pages/users/card.vue"]]);
608
608
  //#endregion
609
609
  export { Pe as default };
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { n as t, t as n } from "./useEntityPath-8s0Y1tjA.js";
2
+ import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
3
3
  import { a as r, s as i } from "./resources-Cj8BzrBX.js";
4
- import { t as a } from "./VerifiedBadge-D6L7mCdp.js";
5
- import { t as o } from "./UserTypeBadge-CuAMctTK.js";
6
- import { t as s } from "./UserAccessBadge-B5Q1LvNv.js";
7
- import { n as c, t as l } from "./AppealDetailField-DNpsGpPY.js";
4
+ import { t as a } from "./VerifiedBadge-bk0n-rlC.js";
5
+ import { t as o } from "./UserTypeBadge-LvnMuKGo.js";
6
+ import { t as s } from "./UserAccessBadge-DyZDv7Oo.js";
7
+ import { n as c, t as l } from "./AppealDetailField-DNRGpnyD.js";
8
8
  import { a as u } from "./surveyorAccount-Cfba7ZVZ.js";
9
9
  import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, normalizeClass as b, openBlock as x, ref as S, renderList as C, toDisplayString as w, watch as T, withCtx as E } from "vue";
10
10
  import { RouterLink as D, useRoute as O } from "vue-router";
@@ -296,6 +296,6 @@ function $(e, t, n, r, i, a) {
296
296
  _: 1
297
297
  }, 8, ["to"])]));
298
298
  }
299
- var te = /*#__PURE__*/ e(k, [["render", $], ["__file", "D:/softpro/surveyor/admin/src/pages/certificates/card.vue"]]);
299
+ var te = /*#__PURE__*/ e(k, [["render", $], ["__file", "C:/softpro/surveyor/admin/src/pages/certificates/card.vue"]]);
300
300
  //#endregion
301
301
  export { te as default };
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
- import { n as t, t as n } from "./useEntityPath-8s0Y1tjA.js";
2
+ import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
3
3
  import { a as r } from "./resources-Cj8BzrBX.js";
4
- import { t as i } from "./VerifiedBadge-D6L7mCdp.js";
4
+ import { t as i } from "./VerifiedBadge-bk0n-rlC.js";
5
5
  import { n as a } from "./filterQuery-Dka-mIso.js";
6
- import { i as o, n as s, r as c, t as l } from "./RegistryToolbar-v7DdReH2.js";
7
- import { t as u } from "./TablePagination-Iri38U68.js";
8
- import { t as d } from "./RegistryFormModal-DTi3g3CX.js";
6
+ import { i as o, n as s, r as c, t as l } from "./RegistryToolbar-DXOEcD84.js";
7
+ import { t as u } from "./TablePagination-CUtnDQQ_.js";
8
+ import { t as d } from "./RegistryFormModal-BmBsUOF3.js";
9
9
  import { i as f, r as p, t as m } from "./certificates-Be6u7Cix.js";
10
10
  import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as x, createVNode as S, defineComponent as C, normalizeClass as w, openBlock as T, ref as E, renderList as D, toDisplayString as O, vModelText as k, withCtx as A, withDirectives as j } from "vue";
11
11
  import { RouterLink as M } from "vue-router";
@@ -137,6 +137,16 @@ function G(e, t, n, r, i, a) {
137
137
  S(r.PageHeader, {
138
138
  title: "Реєстр сертифікатів",
139
139
  subtitle: "Кваліфікаційні сертифікати геодезичного кабінету"
140
+ }, {
141
+ default: A(() => [b("button", {
142
+ type: "button",
143
+ class: "inline-flex h-10 items-center justify-center gap-2 rounded-lg bg-brand-600 px-4 text-sm font-semibold text-white shadow-sm transition-colors hover:bg-brand-700",
144
+ onClick: t[0] ||= (e) => r.showAddModal = !0
145
+ }, [S(r.AppIcon, {
146
+ name: "plus",
147
+ class: "h-4 w-4"
148
+ }), t[6] ||= x(" Додати ", -1)])]),
149
+ _: 1
140
150
  }),
141
151
  b("section", P, [
142
152
  S(r.RegistryToolbar, {
@@ -148,7 +158,7 @@ function G(e, t, n, r, i, a) {
148
158
  name: "search",
149
159
  class: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-slate-400"
150
160
  }), j(b("input", {
151
- "onUpdate:modelValue": t[0] ||= (e) => r.query = e,
161
+ "onUpdate:modelValue": t[1] ||= (e) => r.query = e,
152
162
  type: "search",
153
163
  placeholder: "Пошук (ПІБ, номер сертифіката)…",
154
164
  class: "h-10 w-full rounded-lg border border-slate-200 bg-white pl-9 pr-3 text-sm text-slate-700 outline-none transition-colors placeholder:text-slate-400 focus:border-brand-400 focus:ring-1 focus:ring-brand-400"
@@ -160,11 +170,11 @@ function G(e, t, n, r, i, a) {
160
170
  type: "button",
161
171
  class: "inline-flex h-10 w-10 items-center justify-center rounded-lg border border-slate-200 bg-white text-slate-600 transition-colors hover:border-brand-300 hover:text-brand-700",
162
172
  "aria-label": "Налаштувати колонки",
163
- onClick: t[1] ||= (e) => r.columnsOpen = !r.columnsOpen
173
+ onClick: t[2] ||= (e) => r.columnsOpen = !r.columnsOpen
164
174
  }, [S(r.AppIcon, {
165
175
  name: "columns-3",
166
176
  class: "h-4 w-4"
167
- })]), r.columnsOpen ? (T(), y("div", R, [t[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", {
177
+ })]), r.columnsOpen ? (T(), y("div", R, [t[7] ||= b("p", { class: "px-2 py-1 text-xs font-semibold uppercase tracking-wide text-slate-400" }, "Показати колонки", -1), (T(!0), y(h, null, D(r.columns, (e) => (T(), y("label", {
168
178
  key: e.key,
169
179
  class: "flex cursor-pointer items-center gap-2 rounded-md px-2 py-2 text-sm text-slate-600 hover:bg-slate-50"
170
180
  }, [b("input", {
@@ -175,7 +185,7 @@ function G(e, t, n, r, i, a) {
175
185
  }, null, 40, z), x(" " + O(e.label), 1)]))), 128))])) : v("", !0)])]),
176
186
  _: 1
177
187
  }, 8, ["filter-config", "filter-values"]),
178
- b("div", B, [b("span", null, [t[6] ||= x("Знайдено сертифікатів: ", -1), b("strong", V, O(r.total), 1)])]),
188
+ b("div", B, [b("span", null, [t[8] ||= x("Знайдено сертифікатів: ", -1), b("strong", V, O(r.total), 1)])]),
179
189
  S(r.RegistryTable, {
180
190
  class: "mt-3",
181
191
  rows: r.rows,
@@ -212,9 +222,9 @@ function G(e, t, n, r, i, a) {
212
222
  r.total > 0 ? (T(), _(r.TablePagination, {
213
223
  key: 0,
214
224
  page: r.page,
215
- "onUpdate:page": t[2] ||= (e) => r.page = e,
225
+ "onUpdate:page": t[3] ||= (e) => r.page = e,
216
226
  "page-size": r.pageSize,
217
- "onUpdate:pageSize": t[3] ||= (e) => r.pageSize = e,
227
+ "onUpdate:pageSize": t[4] ||= (e) => r.pageSize = e,
218
228
  total: r.total
219
229
  }, null, 8, [
220
230
  "page",
@@ -224,7 +234,7 @@ function G(e, t, n, r, i, a) {
224
234
  ]),
225
235
  S(r.RegistryFormModal, {
226
236
  modelValue: r.showAddModal,
227
- "onUpdate:modelValue": t[4] ||= (e) => r.showAddModal = e,
237
+ "onUpdate:modelValue": t[5] ||= (e) => r.showAddModal = e,
228
238
  title: "Новий сертифікат",
229
239
  config: r.config.form,
230
240
  width: "max-w-3xl",
@@ -232,6 +242,6 @@ function G(e, t, n, r, i, a) {
232
242
  }, null, 8, ["modelValue", "config"])
233
243
  ]);
234
244
  }
235
- var K = /*#__PURE__*/ e(N, [["render", G], ["__file", "D:/softpro/surveyor/admin/src/pages/certificates/index.vue"]]);
245
+ var K = /*#__PURE__*/ e(N, [["render", G], ["__file", "C:/softpro/surveyor/admin/src/pages/certificates/index.vue"]]);
236
246
  //#endregion
237
247
  export { K as default };
@@ -1,15 +1,15 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { a as t, t as n } from "./surveyor-CDkI2Dcp.js";
3
3
  import { s as r, t as i } from "./organizations-DbVDoURw.js";
4
- import { t as a } from "./AppIcon-Di5F4Bu_.js";
5
- import { t as o } from "./SurveyorTeleport-D6-KXe_5.js";
4
+ import { t as a } from "./AppIcon-CO70tpMX.js";
5
+ import { t as o } from "./SurveyorTeleport-Cd6D92mo.js";
6
6
  import { c as s, t as c, u as l } from "./appealMapLayers-CQMK3rrz.js";
7
7
  import { t as u } from "./work_types-Hwme-FEX.js";
8
8
  import { a as d, d as f, i as p, l as m, r as h, s as g, t as _, u as v } from "./mapLayersApi-CBLcbADa.js";
9
9
  import { i as y, n as b } from "./geometry-DyhIVRcw.js";
10
- import { t as x } from "./MapLayerMenu-CI5cbLEC.js";
11
- import { t as S } from "./FormFilePicker-D5fAUE0Z.js";
12
- import { i as ee, r as C, s as w } from "./applications-D6pHAQaK.js";
10
+ import { t as x } from "./MapLayerMenu-AUeTqgEp.js";
11
+ import { t as S } from "./FormFilePicker-DxPQlxgy.js";
12
+ import { n as ee, o as C, r as w } from "./applications-B6GAxopO.js";
13
13
  import { Fragment as T, computed as E, createBlock as D, createCommentVNode as O, createElementBlock as k, createElementVNode as A, createTextVNode as j, createVNode as M, defineComponent as N, nextTick as P, normalizeClass as F, normalizeStyle as I, onBeforeUnmount as L, onMounted as te, onUnmounted as ne, openBlock as R, ref as z, renderList as B, shallowRef as re, toDisplayString as V, vModelText as H, watch as U, withCtx as W, withDirectives as G, withModifiers as K } from "vue";
14
14
  import { RouterLink as q, useRouter as ie } from "vue-router";
15
15
  import { ArrowUp as ae, Minus as oe, Pencil as se, Plus as ce, Trash2 as le, Upload as ue } from "lucide-vue-next";
@@ -155,7 +155,7 @@ function ye(e, t, n, r, i, a) {
155
155
  _: 1
156
156
  })], 512)]);
157
157
  }
158
- var be = /*#__PURE__*/ e(de, [["render", ye], ["__file", "D:/softpro/surveyor/cabinet/src/pages/requests/components/FormSearchSelect.vue"]]), xe = /*@__PURE__*/ N({
158
+ var be = /*#__PURE__*/ e(de, [["render", ye], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/components/FormSearchSelect.vue"]]), xe = /*@__PURE__*/ N({
159
159
  __name: "FormSuggestSelect",
160
160
  props: {
161
161
  label: {
@@ -316,7 +316,7 @@ function Me(e, t, n, r, i, a) {
316
316
  _: 1
317
317
  })], 512)]);
318
318
  }
319
- var Ne = /*#__PURE__*/ e(xe, [["render", Me], ["__file", "D:/softpro/surveyor/cabinet/src/pages/requests/components/FormSuggestSelect.vue"]]), X = "draft-polygon", Pe = "draft-polygon-fill", Fe = "draft-polygon-line", Z = "draft-vertices", Q = "draft-vertices-layer", $ = "draft-vertices-hit", Ie = 12, Le = 17, Re = 13, ze = /*@__PURE__*/ N({
319
+ var Ne = /*#__PURE__*/ e(xe, [["render", Me], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/components/FormSuggestSelect.vue"]]), X = "draft-polygon", Pe = "draft-polygon-fill", Fe = "draft-polygon-line", Z = "draft-vertices", Q = "draft-vertices-layer", $ = "draft-vertices-hit", Ie = 12, Le = 17, Re = 13, ze = /*@__PURE__*/ N({
320
320
  __name: "ApplicationCreateMap",
321
321
  props: {
322
322
  points: {
@@ -938,7 +938,7 @@ function Xe(e, t, n, r, i, a) {
938
938
  var Ze = /*#__PURE__*/ e(ze, [
939
939
  ["render", Xe],
940
940
  ["__scopeId", "data-v-c52d7431"],
941
- ["__file", "D:/softpro/surveyor/cabinet/src/pages/requests/components/ApplicationCreateMap.vue"]
941
+ ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/components/ApplicationCreateMap.vue"]
942
942
  ]), Qe = /*@__PURE__*/ N({
943
943
  __name: "GeometryImportDialog",
944
944
  emits: ["close", "imported"],
@@ -952,7 +952,7 @@ var Ze = /*#__PURE__*/ e(ze, [
952
952
  if (i.value && !s.value) {
953
953
  c.value = "", s.value = !0;
954
954
  try {
955
- let e = await w(i.value);
955
+ let e = await C(i.value);
956
956
  r("imported", e);
957
957
  } catch (e) {
958
958
  c.value = e instanceof Error ? e.message : "Не вдалося імпортувати геометрію";
@@ -1028,7 +1028,7 @@ function ot(e, t, n, r, i, a) {
1028
1028
  _: 1
1029
1029
  });
1030
1030
  }
1031
- var st = /*#__PURE__*/ e(Qe, [["render", ot], ["__file", "D:/softpro/surveyor/cabinet/src/pages/requests/components/GeometryImportDialog.vue"]]), ct = "public_applications", lt = ct;
1031
+ var st = /*#__PURE__*/ e(Qe, [["render", ot], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/components/GeometryImportDialog.vue"]]), ct = "public_applications", lt = ct;
1032
1032
  async function ut(e, r, i) {
1033
1033
  let a = new URLSearchParams();
1034
1034
  if (a.set("limit", String(i?.limit ?? 20)), i?.search && a.set("search", i.search), i?.filter) for (let [e, t] of Object.entries(i.filter)) a.set(`filter[${e}]`, String(t));
@@ -1042,20 +1042,20 @@ var dt = /*@__PURE__*/ N({
1042
1042
  __name: "create",
1043
1043
  setup(e, { expose: t }) {
1044
1044
  t();
1045
- let n = ie(), o = z(""), s = z(""), c = z(""), l = z(""), d = z([]), f = z([]), p = z(!1), m = z(!1), h = z(!1), g = z(""), _ = z(""), v = z(""), y = z(""), b = z(""), x = z(""), S = z([]), w = z(null), T = z(!1), D = z(null), O = z(!1), k = z(""), A = E(() => r.value.find((e) => e.id === i.value)?.name ?? ""), j = u.items.map((e) => e.name);
1045
+ let n = ie(), o = z(""), s = z(""), c = z(""), l = z(""), d = z([]), f = z([]), p = z(!1), m = z(!1), h = z(!1), g = z(""), _ = z(""), v = z(""), y = z(""), b = z(""), x = z(""), S = z([]), C = z(null), T = z(!1), D = z(null), O = z(!1), k = z(""), A = E(() => r.value.find((e) => e.id === i.value)?.name ?? ""), j = u.items.map((e) => e.name);
1046
1046
  U(o, () => {
1047
1047
  c.value = "", l.value = "", f.value = [], D.value = null;
1048
1048
  }), U(v, (e) => {
1049
1049
  _.value = u.items.find((t) => t.name === e)?.code ?? "";
1050
1050
  }), U(S, (e) => {
1051
- e.length > 0 && (w.value = null);
1051
+ e.length > 0 && (C.value = null);
1052
1052
  });
1053
1053
  let M = E(() => {
1054
- let e = !!o.value, t = h.value ? g.value.trim().length > 0 : !!c.value, n = !!w.value || S.value.length >= 3;
1054
+ let e = !!o.value, t = h.value ? g.value.trim().length > 0 : !!c.value, n = !!C.value || S.value.length >= 3;
1055
1055
  return !!(_.value && e && t && n);
1056
1056
  });
1057
1057
  function N(e) {
1058
- w.value = e, S.value = [], T.value = !1;
1058
+ C.value = e, S.value = [], T.value = !1;
1059
1059
  }
1060
1060
  async function P(e) {
1061
1061
  p.value = !0;
@@ -1109,14 +1109,14 @@ var dt = /*@__PURE__*/ N({
1109
1109
  k.value = "Заповніть обовʼязкові поля та окресліть територію на карті або імпортуйте геометрію";
1110
1110
  return;
1111
1111
  }
1112
- let e = w.value ?? C(S.value);
1112
+ let e = C.value ?? ee(S.value);
1113
1113
  if (!e) {
1114
1114
  k.value = "Некоректний контур території";
1115
1115
  return;
1116
1116
  }
1117
1117
  O.value = !0;
1118
1118
  try {
1119
- let t = await ee({
1119
+ let t = await w({
1120
1120
  organization_id: i.value,
1121
1121
  work_type: _.value,
1122
1122
  settlement_id: o.value,
@@ -1158,7 +1158,7 @@ var dt = /*@__PURE__*/ N({
1158
1158
  basis: b,
1159
1159
  notes: x,
1160
1160
  mapPoints: S,
1161
- importedGeom: w,
1161
+ importedGeom: C,
1162
1162
  importOpen: T,
1163
1163
  addressPoint: D,
1164
1164
  submitting: O,
@@ -1356,6 +1356,6 @@ function Bt(e, t, n, r, i, a) {
1356
1356
  })) : O("", !0)
1357
1357
  ]);
1358
1358
  }
1359
- var Vt = /*#__PURE__*/ e(dt, [["render", Bt], ["__file", "D:/softpro/surveyor/cabinet/src/pages/requests/create.vue"]]);
1359
+ var Vt = /*#__PURE__*/ e(dt, [["render", Bt], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/create.vue"]]);
1360
1360
  //#endregion
1361
1361
  export { Vt as default };
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { o as t } from "./surveyor-CDkI2Dcp.js";
3
- import { t as n } from "./AppIcon-Di5F4Bu_.js";
3
+ import { t as n } from "./AppIcon-CO70tpMX.js";
4
4
  import { createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, openBlock as l, ref as u, toDisplayString as d, vModelText as f, withCtx as p, withDirectives as m, withModifiers as h } from "vue";
5
5
  import { RouterLink as g, useRoute as _ } from "vue-router";
6
6
  //#region cabinet/src/pages/password/forgot.vue?vue&type=script&setup=true&lang.ts
@@ -95,6 +95,6 @@ function O(e, t, n, c, u, g) {
95
95
  })])
96
96
  ], 32))])]);
97
97
  }
98
- var k = /*#__PURE__*/ e(v, [["render", O], ["__file", "D:/softpro/surveyor/cabinet/src/pages/password/forgot.vue"]]);
98
+ var k = /*#__PURE__*/ e(v, [["render", O], ["__file", "C:/softpro/surveyor/cabinet/src/pages/password/forgot.vue"]]);
99
99
  //#endregion
100
100
  export { k as default };
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { t } from "./auth-acuaYbYM.js";
3
- import { t as n } from "./AppIcon-Di5F4Bu_.js";
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/login/index.vue?vue&type=script&setup=true&lang.ts
@@ -119,6 +119,6 @@ function M(e, t, n, r, l, d) {
119
119
  ], 32)
120
120
  ])]);
121
121
  }
122
- var N = /*#__PURE__*/ e(b, [["render", M], ["__file", "D:/softpro/surveyor/cabinet/src/pages/login/index.vue"]]);
122
+ var N = /*#__PURE__*/ e(b, [["render", M], ["__file", "C:/softpro/surveyor/cabinet/src/pages/login/index.vue"]]);
123
123
  //#endregion
124
124
  export { N as default };