@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,12 +1,13 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { n, t as r } from "./useEntityPath-n7hCq8zh.js";
4
- import { i, n as a } from "./resources-2e8RFqWR.js";
5
- import { r as o } from "./filterQuery-CvfZrkTC.js";
6
- import { a as ee, i as s, n as c, r as l, t as u } from "./RegistryToolbar-CI1MRqzw.js";
7
- import { t as d } from "./SurveyorTeleport-BLEO6we9.js";
8
- import { t as f } from "./RegistryFormModal-C-Z4MMHi.js";
9
- import { i as p, n as te, o as m, r as h, s as g, t as _ } from "./form-Bh6i5n1U.js";
3
+ import { n, t as r } from "./useEntityPath-C5Owtidc.js";
4
+ import { a as i, r as a } from "./resources-Cj8BzrBX.js";
5
+ import { r as o } from "./filterQuery-Dka-mIso.js";
6
+ import { i as ee, n as s, r as c, t as l } from "./RegistryToolbar-DXOEcD84.js";
7
+ import { t as u } from "./TablePagination-CUtnDQQ_.js";
8
+ import { t as d } from "./SurveyorTeleport-CnSF0Ptl.js";
9
+ import { t as f } from "./RegistryFormModal-DhzEpxys.js";
10
+ import { i as p, n as te, o as m, r as h, s as g, t as _ } from "./form-DZ3CbtkT.js";
10
11
  import { computed as ne, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as S, createVNode as C, defineComponent as w, normalizeClass as T, normalizeStyle as E, onMounted as D, onUnmounted as O, openBlock as k, ref as A, toDisplayString as j, vModelText as M, withCtx as N, withDirectives as P, withModifiers as F } from "vue";
11
12
  import { RouterLink as I, useRouter as L } from "vue-router";
12
13
  import { confirm as R, notify as z } from "@opengis/core";
@@ -228,11 +229,11 @@ var B = {
228
229
  get RouterLink() {
229
230
  return I;
230
231
  },
231
- PageHeader: s,
232
- RegistryTable: l,
233
- TablePagination: c,
232
+ PageHeader: c,
233
+ RegistryTable: s,
234
+ TablePagination: u,
234
235
  RegistryFormModal: f,
235
- RegistryToolbar: u,
236
+ RegistryToolbar: l,
236
237
  get config() {
237
238
  return H;
238
239
  },
@@ -400,6 +401,6 @@ function se(e, t, n, r, i, a) {
400
401
  }, null, 8, ["modelValue", "config"])
401
402
  ]);
402
403
  }
403
- var ce = /*#__PURE__*/ t(U, [["render", se], ["__file", "D:/Softpro/surveyor/admin/src/pages/map-layers/index.vue"]]);
404
+ var ce = /*#__PURE__*/ t(U, [["render", se], ["__file", "C:/softpro/surveyor/admin/src/pages/map-layers/index.vue"]]);
404
405
  //#endregion
405
406
  export { ce as default };
@@ -1,13 +1,14 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { t } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { n, t as r } from "./useEntityPath-n7hCq8zh.js";
4
- import { i, n as ee } from "./resources-2e8RFqWR.js";
5
- import { t as te } from "./VerifiedBadge-B__Vs_ce.js";
6
- import { i as a } from "./filterQuery-CvfZrkTC.js";
7
- import { a as o, i as s, n as c, r as l, t as u } from "./RegistryToolbar-CI1MRqzw.js";
8
- import { t as d } from "./SurveyorTeleport-BLEO6we9.js";
9
- import { t as f } from "./RegistryFormModal-C-Z4MMHi.js";
10
- import { n as p, t as m } from "./form-DDjELqZ9.js";
3
+ import { n, t as r } from "./useEntityPath-C5Owtidc.js";
4
+ import { a as i, r as ee } from "./resources-Cj8BzrBX.js";
5
+ import { t as te } from "./VerifiedBadge-bk0n-rlC.js";
6
+ import { i as a } from "./filterQuery-Dka-mIso.js";
7
+ import { i as o, n as s, r as c, t as l } from "./RegistryToolbar-DXOEcD84.js";
8
+ import { t as u } from "./TablePagination-CUtnDQQ_.js";
9
+ import { t as d } from "./SurveyorTeleport-CnSF0Ptl.js";
10
+ import { t as f } from "./RegistryFormModal-DhzEpxys.js";
11
+ import { n as p, t as m } from "./form-CEfc_shb.js";
11
12
  import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as x, createVNode as S, defineComponent as C, normalizeStyle as w, onMounted as T, onUnmounted as E, openBlock as D, ref as O, renderList as k, toDisplayString as A, vModelText as j, withCtx as M, withDirectives as N, withModifiers as P } from "vue";
12
13
  import { RouterLink as F, useRouter as I } from "vue-router";
13
14
  import { confirm as ne, notify as re } from "@opengis/core";
@@ -226,12 +227,12 @@ var L = {
226
227
  get RouterLink() {
227
228
  return F;
228
229
  },
229
- PageHeader: s,
230
+ PageHeader: c,
230
231
  VerifiedBadge: te,
231
- RegistryTable: l,
232
- TablePagination: c,
232
+ RegistryTable: s,
233
+ TablePagination: u,
233
234
  RegistryFormModal: f,
234
- RegistryToolbar: u,
235
+ RegistryToolbar: l,
235
236
  get config() {
236
237
  return z;
237
238
  }
@@ -254,7 +255,7 @@ var L = {
254
255
  class: "block w-full max-w-full break-words text-slate-600"
255
256
  }, Z = {
256
257
  key: 2,
257
- class: "whitespace-nowrap text-slate-600"
258
+ class: "whitespace-wrap text-slate-600"
258
259
  }, Q = {
259
260
  key: 3,
260
261
  class: "block w-full max-w-full break-all text-slate-600"
@@ -476,6 +477,6 @@ function pe(e, t, n, r, i, ee) {
476
477
  }, null, 8, ["modelValue", "config"])
477
478
  ]);
478
479
  }
479
- var me = /*#__PURE__*/ t(B, [["render", pe], ["__file", "D:/Softpro/surveyor/admin/src/pages/organizations/index.vue"]]);
480
+ var me = /*#__PURE__*/ t(B, [["render", pe], ["__file", "C:/softpro/surveyor/admin/src/pages/organizations/index.vue"]]);
480
481
  //#endregion
481
482
  export { me as default };
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { n as t } from "./surveyor-CDkI2Dcp.js";
3
3
  import { i as n, r } from "./profile-aXlo4qqA.js";
4
- import { t as i } from "./AppIcon-CCLzEE-_.js";
4
+ import { t as i } from "./AppIcon-CO70tpMX.js";
5
5
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, openBlock as h, ref as g, renderList as _, toDisplayString as v, vModelDynamic as y, withDirectives as b } from "vue";
6
6
  //#region cabinet/src/pages/profile/components/PasswordModal.vue?vue&type=script&setup=true&lang.ts
7
7
  var x = 8, ee = /*@__PURE__*/ p({
@@ -124,7 +124,7 @@ function L(e, t, n, r, i, a) {
124
124
  })) : c("", !0), d(" " + v(r.saved ? "Збережено" : r.submitting ? "Збереження…" : "Зберегти"), 1)], 10, I)])
125
125
  ])]);
126
126
  }
127
- var R = /*#__PURE__*/ e(ee, [["render", L], ["__file", "D:/Softpro/surveyor/cabinet/src/pages/profile/components/PasswordModal.vue"]]), z = "Не вказано", B = /*@__PURE__*/ p({
127
+ var R = /*#__PURE__*/ e(ee, [["render", L], ["__file", "C:/softpro/surveyor/cabinet/src/pages/profile/components/PasswordModal.vue"]]), z = "Не вказано", B = /*@__PURE__*/ p({
128
128
  __name: "index",
129
129
  setup(e, { expose: t }) {
130
130
  t();
@@ -240,6 +240,6 @@ function re(e, t, n, r, i, o) {
240
240
  onClose: t[1] ||= (e) => r.passwordOpen = !1
241
241
  })) : c("", !0)]);
242
242
  }
243
- var ie = /*#__PURE__*/ e(B, [["render", re], ["__file", "D:/Softpro/surveyor/cabinet/src/pages/profile/index.vue"]]);
243
+ var ie = /*#__PURE__*/ e(B, [["render", re], ["__file", "C:/softpro/surveyor/cabinet/src/pages/profile/index.vue"]]);
244
244
  //#endregion
245
245
  export { ie as default };
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { r as t } from "./surveyor-CDkI2Dcp.js";
3
- import { t as n } from "./AppIcon-CCLzEE-_.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/registration/index.vue?vue&type=script&setup=true&lang.ts
@@ -97,6 +97,6 @@ function j(e, t, n, r, l, d) {
97
97
  })])
98
98
  ], 32)])]);
99
99
  }
100
- var M = /*#__PURE__*/ e(x, [["render", j], ["__file", "D:/Softpro/surveyor/cabinet/src/pages/registration/index.vue"]]);
100
+ var M = /*#__PURE__*/ e(x, [["render", j], ["__file", "C:/softpro/surveyor/cabinet/src/pages/registration/index.vue"]]);
101
101
  //#endregion
102
102
  export { M as default };
@@ -1,9 +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-n7hCq8zh.js";
3
- import { i as r } from "./resources-2e8RFqWR.js";
4
- import { t as i } from "./filterQuery-CvfZrkTC.js";
5
- import { a, i as o, n as s, r as c, t as l } from "./RegistryToolbar-CI1MRqzw.js";
6
- import { n as u, r as d, s as f, t as p } from "./AppealStatusBadge-DYBe9hqP.js";
2
+ import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
3
+ import { a as r } from "./resources-Cj8BzrBX.js";
4
+ import { t as i } from "./filterQuery-Dka-mIso.js";
5
+ import { i as a, n as o, r as s, t as c } from "./RegistryToolbar-DXOEcD84.js";
6
+ import { t as l } from "./TablePagination-CUtnDQQ_.js";
7
+ import { n as u, r as d, s as f, t as p } from "./AppealStatusBadge-Ct3EcB4_.js";
7
8
  import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createTextVNode as b, createVNode as x, defineComponent as S, openBlock as C, ref as w, renderList as T, toDisplayString as E, vModelText as D, withCtx as O, withDirectives as k } from "vue";
8
9
  import { RouterLink as A } from "vue-router";
9
10
  //#region admin/src/pages/requests/index.vue?vue&type=script&setup=true&lang.ts
@@ -100,10 +101,10 @@ var j = /*@__PURE__*/ S({
100
101
  return A;
101
102
  },
102
103
  AppealStatusBadge: p,
103
- PageHeader: o,
104
- RegistryTable: c,
105
- TablePagination: s,
106
- RegistryToolbar: l,
104
+ PageHeader: s,
105
+ RegistryTable: o,
106
+ TablePagination: l,
107
+ RegistryToolbar: c,
107
108
  get config() {
108
109
  return u;
109
110
  }
@@ -143,7 +144,7 @@ function q(e, t, n, r, i, a) {
143
144
  }), y("section", M, [
144
145
  x(r.RegistryToolbar, {
145
146
  nowrap: "",
146
- "search-min": "min-w-[160px]",
147
+ "search-min": "min-w-[160px] max-w-[300px]",
147
148
  "filter-config": r.config.filter,
148
149
  "filter-values": r.filterValues,
149
150
  "onUpdate:filterValues": r.onFilterValuesUpdate
@@ -228,6 +229,6 @@ function q(e, t, n, r, i, a) {
228
229
  ])) : _("", !0)
229
230
  ])]);
230
231
  }
231
- var J = /*#__PURE__*/ e(j, [["render", q], ["__file", "D:/Softpro/surveyor/admin/src/pages/requests/index.vue"]]);
232
+ var J = /*#__PURE__*/ e(j, [["render", q], ["__file", "C:/softpro/surveyor/admin/src/pages/requests/index.vue"]]);
232
233
  //#endregion
233
234
  export { J as default };
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { n as t, r as n, s as r, t as i } from "./organizations-DbVDoURw.js";
3
- import { t as a } from "./AppIcon-CCLzEE-_.js";
3
+ import { t as a } from "./AppIcon-CO70tpMX.js";
4
4
  import { t as o } from "./list-search-D5VdmGdV.js";
5
- import { n as s, r as c, t as l } from "./AppealStatusBadge-CzzI6x8I.js";
5
+ import { n as s, r as c, t as l } from "./AppealStatusBadge-BlAaNUSK.js";
6
6
  import { o as u } from "./applications-D6pHAQaK.js";
7
7
  import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, normalizeClass as b, openBlock as x, reactive as S, ref as C, renderList as w, toDisplayString as T, vModelText as E, watch as D, withCtx as O, withDirectives as k, withModifiers as A } from "vue";
8
8
  import { RouterLink as ee, useRoute as te } from "vue-router";
@@ -118,7 +118,7 @@ function W(e, t, n, r, i, a) {
118
118
  })], 8, U)
119
119
  ])]);
120
120
  }
121
- var G = /*#__PURE__*/ e(j, [["render", W], ["__file", "D:/Softpro/surveyor/cabinet/src/components/table/TablePagination.vue"]]), K = /*@__PURE__*/ y({
121
+ var G = /*#__PURE__*/ e(j, [["render", W], ["__file", "C:/softpro/surveyor/cabinet/src/components/table/TablePagination.vue"]]), K = /*@__PURE__*/ y({
122
122
  __name: "RequestFilters",
123
123
  props: { filters: {
124
124
  type: Object,
@@ -206,7 +206,7 @@ function ae(e, t, n, r, i, a) {
206
206
  }, " Застосувати ")])
207
207
  ])], 32);
208
208
  }
209
- var oe = /*#__PURE__*/ e(K, [["render", ae], ["__file", "D:/Softpro/surveyor/cabinet/src/pages/requests/components/RequestFilters.vue"]]), se = /*@__PURE__*/ y({
209
+ var oe = /*#__PURE__*/ e(K, [["render", ae], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/components/RequestFilters.vue"]]), se = /*@__PURE__*/ y({
210
210
  __name: "index",
211
211
  setup(e, { expose: d }) {
212
212
  d();
@@ -526,6 +526,6 @@ function We(e, t, n, r, i, a) {
526
526
  }, null, 8, ["filters"])) : m("", !0)
527
527
  ]);
528
528
  }
529
- var Ge = /*#__PURE__*/ e(se, [["render", We], ["__file", "D:/Softpro/surveyor/cabinet/src/pages/requests/index.vue"]]);
529
+ var Ge = /*#__PURE__*/ e(se, [["render", We], ["__file", "C:/softpro/surveyor/cabinet/src/pages/requests/index.vue"]]);
530
530
  //#endregion
531
531
  export { Ge as default };
@@ -1,4 +1,4 @@
1
- import { a as e } from "./resources-2e8RFqWR.js";
1
+ import { s as e } from "./resources-Cj8BzrBX.js";
2
2
  import { notify as t } from "@opengis/core";
3
3
  //#region admin/src/utils/resendSurveyorRegistration.ts
4
4
  function n(e) {
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
2
  import { s as t } from "./surveyor-CDkI2Dcp.js";
3
- import { t as n } from "./AppIcon-CCLzEE-_.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/password/reset.vue?vue&type=script&setup=true&lang.ts
@@ -106,6 +106,6 @@ function M(e, t, n, r, l, d) {
106
106
  })])
107
107
  ], 32)])]);
108
108
  }
109
- var N = /*#__PURE__*/ e(x, [["render", M], ["__file", "D:/Softpro/surveyor/cabinet/src/pages/password/reset.vue"]]);
109
+ var N = /*#__PURE__*/ e(x, [["render", M], ["__file", "C:/softpro/surveyor/cabinet/src/pages/password/reset.vue"]]);
110
110
  //#endregion
111
111
  export { N as default };
@@ -87,43 +87,48 @@ async function c(e, n) {
87
87
  }
88
88
  return r.status === 204 ? void 0 : r.json();
89
89
  }
90
- function l(e = {}) {
91
- let t = new URLSearchParams();
92
- e.page !== void 0 && t.set("page", String(e.page)), e.limit !== void 0 && t.set("limit", String(e.limit)), e.search && t.set("search", e.search), e.sort && t.set("sort", e.sort), e.order && t.set("order", e.order);
93
- for (let [n, r] of Object.entries(e.filters ?? {})) if (r != null && r !== "") {
90
+ function l(e, t) {
91
+ for (let [n, r] of Object.entries(t ?? {})) if (r != null && r !== "") {
94
92
  if (typeof r == "object" && !Array.isArray(r)) {
95
- for (let [e, i] of Object.entries(r)) i != null && i !== "" && t.set(`filter[${n}][${e}]`, String(i));
93
+ for (let [t, i] of Object.entries(r)) i != null && i !== "" && e.set(`filter[${n}][${t}]`, String(i));
96
94
  continue;
97
95
  }
98
- t.set(`filter[${n}]`, String(r));
96
+ e.set(`filter[${n}]`, String(r));
99
97
  }
98
+ }
99
+ function u(e = {}) {
100
+ let t = new URLSearchParams();
101
+ e.page !== void 0 && t.set("page", String(e.page)), e.limit !== void 0 && t.set("limit", String(e.limit)), e.search && t.set("search", e.search), e.sort && t.set("sort", e.sort), e.order && t.set("order", e.order), l(t, e.filters);
100
102
  let n = t.toString();
101
103
  return n ? `?${n}` : "";
102
104
  }
103
- async function u(e, t = {
105
+ async function d(e, t = {
104
106
  page: 1,
105
107
  limit: 100,
106
108
  order: "asc"
107
109
  }) {
108
- return c(`/api/resource/${e}${l(t)}`);
110
+ return c(`/api/resource/${e}${u(t)}`);
109
111
  }
110
- function d(e, t) {
112
+ function f(e, t) {
111
113
  return c(`/api/resource/${e}/${t}`);
112
114
  }
113
- function f(e, t) {
115
+ function p(e, t, n, r = {}) {
116
+ return c(`/api/resource/${e}/${t}/${n}${u(r)}`);
117
+ }
118
+ function m(e, t) {
114
119
  return c(`/api/resource/${e}`, {
115
120
  method: "POST",
116
121
  body: JSON.stringify(t)
117
122
  });
118
123
  }
119
- function p(e, t, n) {
124
+ function h(e, t, n) {
120
125
  return c(`/api/resource/${e}/${t}`, {
121
126
  method: "PUT",
122
127
  body: JSON.stringify(n)
123
128
  });
124
129
  }
125
- async function m(e, t) {
130
+ async function g(e, t) {
126
131
  await c(`/api/resource/${e}/${t}`, { method: "DELETE" });
127
132
  }
128
133
  //#endregion
129
- export { c as a, s as c, u as i, r as l, m as n, p as o, d as r, t as s, f as t };
134
+ export { d as a, h as c, r as d, f as i, t as l, m as n, p as o, g as r, c as s, l as t, s as u };
@@ -1,4 +1,4 @@
1
- import { a as e } from "./resources-2e8RFqWR.js";
1
+ import { s as e } from "./resources-Cj8BzrBX.js";
2
2
  import { confirm as t, notify as n } from "@opengis/core";
3
3
  //#region admin/src/utils/surveyorAccount.ts
4
4
  function r(e) {
@@ -81,7 +81,7 @@ var Q = /*@__PURE__*/ r({
81
81
  function $(e, t, r, o, s, c) {
82
82
  return i(), n(a(o.icon), { "stroke-width": r.strokeWidth }, null, 8, ["stroke-width"]);
83
83
  }
84
- var te = /*#__PURE__*/ e(Q, [["render", $], ["__file", "D:/Softpro/surveyor/admin/src/components/ui/AppIcon.vue"]]);
84
+ var te = /*#__PURE__*/ e(Q, [["render", $], ["__file", "C:/softpro/surveyor/admin/src/components/ui/AppIcon.vue"]]);
85
85
  //#endregion
86
86
  //#region admin/src/composables/useEntityPath.ts
87
87
  function ne(e = "id") {
@@ -1,12 +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-n7hCq8zh.js";
3
- import { i as r } from "./resources-2e8RFqWR.js";
4
- import { i, n as ee, r as a, t as o } from "./UserTypeBadge-YIwwoCho.js";
5
- import { t as s } from "./UserAccessBadge-D8JfgGfN.js";
6
- import { a as c, n as l } from "./surveyorAccount-C7UiiIYg.js";
7
- import { a as u, c as d } from "./filterQuery-CvfZrkTC.js";
8
- import { a as f, i as p, n as m, r as h, t as g } from "./RegistryToolbar-CI1MRqzw.js";
9
- import { t as _ } from "./SurveyorTeleport-BLEO6we9.js";
2
+ import { n as t, t as n } from "./useEntityPath-C5Owtidc.js";
3
+ import { a as r } from "./resources-Cj8BzrBX.js";
4
+ import { i, n as ee, r as a, t as o } from "./UserTypeBadge-LvnMuKGo.js";
5
+ import { t as s } from "./UserAccessBadge-DyZDv7Oo.js";
6
+ import { a as c, n as l } from "./surveyorAccount-Cfba7ZVZ.js";
7
+ import { a as u, c as d } from "./filterQuery-Dka-mIso.js";
8
+ import { i as f, n as p, r as m, t as h } from "./RegistryToolbar-DXOEcD84.js";
9
+ import { t as g } from "./TablePagination-CUtnDQQ_.js";
10
+ import { t as _ } from "./SurveyorTeleport-CnSF0Ptl.js";
10
11
  import { Fragment as v, computed as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createTextVNode as w, createVNode as T, defineComponent as E, normalizeClass as D, normalizeStyle as O, onMounted as k, onUnmounted as A, openBlock as j, ref as M, renderList as N, toDisplayString as P, vModelText as F, withCtx as I, withDirectives as L, withModifiers as R } from "vue";
11
12
  import { RouterLink as z } from "vue-router";
12
13
  //#region admin/src/pages/users/index.vue?vue&type=script&setup=true&lang.ts
@@ -135,10 +136,10 @@ var B = /*@__PURE__*/ E({
135
136
  get surveyorEnabled() {
136
137
  return c;
137
138
  },
138
- PageHeader: p,
139
- RegistryTable: h,
140
- TablePagination: m,
141
- RegistryToolbar: g,
139
+ PageHeader: m,
140
+ RegistryTable: p,
141
+ TablePagination: g,
142
+ RegistryToolbar: h,
142
143
  UserAccessBadge: s,
143
144
  UserTypeBadge: o,
144
145
  get config() {
@@ -172,7 +173,7 @@ var B = /*@__PURE__*/ E({
172
173
  class: "block w-full max-w-full break-all text-slate-600"
173
174
  }, $ = {
174
175
  key: 5,
175
- class: "whitespace-nowrap text-slate-600"
176
+ class: "whitespace-wrap text-slate-600"
176
177
  }, te = {
177
178
  key: 7,
178
179
  class: "flex justify-center"
@@ -292,6 +293,6 @@ function ie(e, t, n, r, i, ee) {
292
293
  ])) : x("", !0)
293
294
  ])]);
294
295
  }
295
- var ae = /*#__PURE__*/ e(B, [["render", ie], ["__file", "D:/Softpro/surveyor/admin/src/pages/users/index.vue"]]);
296
+ var ae = /*#__PURE__*/ e(B, [["render", ie], ["__file", "C:/softpro/surveyor/admin/src/pages/users/index.vue"]]);
296
297
  //#endregion
297
298
  export { ae as default };