@opengis/surveyor 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{AppIcon-Di5F4Bu_.js → AppIcon-CO70tpMX.js} +1 -1
- package/dist/chunks/{AppealDetailField-DNpsGpPY.js → AppealDetailField-DNRGpnyD.js} +2 -2
- package/dist/chunks/{AppealStatusBadge-z77wwkFD.js → AppealStatusBadge-BlAaNUSK.js} +2 -2
- package/dist/chunks/{AppealStatusBadge-MP1qD952.js → AppealStatusBadge-Ct3EcB4_.js} +15 -1
- package/dist/chunks/{ApplicationHistorySection-DIoFZwH6.js → ApplicationHistorySection-D7KPV2cX.js} +155 -141
- package/dist/chunks/{BaseModal-DP_ilBdg.js → BaseModal-SjP521X9.js} +2 -2
- package/dist/chunks/{FormFilePicker-D5fAUE0Z.js → FormFilePicker-DxPQlxgy.js} +2 -2
- package/dist/chunks/{MapLayerMenu-CI5cbLEC.js → MapLayerMenu-AUeTqgEp.js} +1 -1
- package/dist/chunks/{RegistryForm-DbCxZsr0.js → RegistryForm-BlK1lExt.js} +2 -2
- package/dist/chunks/{RegistryFormModal-D_KLGj2d.js → RegistryFormModal-DhzEpxys.js} +3 -3
- package/dist/chunks/{RegistryToolbar-DvbrASlj.js → RegistryToolbar-DXOEcD84.js} +45 -154
- package/dist/chunks/{SurveyorTeleport-D6-KXe_5.js → SurveyorTeleport-CnSF0Ptl.js} +1 -1
- package/dist/chunks/TablePagination-CUtnDQQ_.js +116 -0
- package/dist/chunks/{UserAccessBadge-B5Q1LvNv.js → UserAccessBadge-DyZDv7Oo.js} +1 -1
- package/dist/chunks/{UserTypeBadge-CuAMctTK.js → UserTypeBadge-LvnMuKGo.js} +1 -1
- package/dist/chunks/{VerifiedBadge-D6L7mCdp.js → VerifiedBadge-bk0n-rlC.js} +2 -2
- package/dist/chunks/{buildSchema-CccjX9TJ.js → buildSchema-DEfhZEM8.js} +1 -1
- package/dist/chunks/{card-ylC5NYbz.js → card-BBx1zR0E.js} +316 -306
- package/dist/chunks/{card-BsTSF6aL.js → card-Bj4zFzbe.js} +47 -44
- package/dist/chunks/{card-CI7ntIHf.js → card-C-ohjNkC.js} +5 -5
- package/dist/chunks/{card--XUb1kFK.js → card-DEJs9IIP.js} +6 -6
- package/dist/chunks/card-VnUCFC7v.js +609 -0
- package/dist/chunks/{card-BrjnXf1N.js → card-_YyJbLNI.js} +13 -10
- package/dist/chunks/{certificates-BnseQylH.js → certificates-Be6u7Cix.js} +1 -1
- package/dist/chunks/{certificates-aJ-hvaP-.js → certificates-DtfZTFN9.js} +13 -12
- package/dist/chunks/{create-Bi7-j9Ri.js → create-Cgeu7aKO.js} +348 -293
- package/dist/chunks/{filterQuery-CvfZrkTC.js → filterQuery-Dka-mIso.js} +7 -3
- package/dist/chunks/{forgot-DnixBqdc.js → forgot-DoG6vXhq.js} +2 -2
- package/dist/chunks/{form-DDjELqZ9.js → form-CEfc_shb.js} +1 -1
- package/dist/chunks/{form-Bh6i5n1U.js → form-DZ3CbtkT.js} +1 -1
- package/dist/chunks/{login-BWCQdEkv.js → login-BWGylcSU.js} +2 -2
- package/dist/chunks/{map-CwsVIW79.js → map-DkKsEnCM.js} +1126 -831
- package/dist/chunks/{map-layers-BLiEYC4C.js → map-layers-BmuIMLHa.js} +13 -12
- package/dist/chunks/{organizations-mc6FlSwe.js → organizations-BO1dIl7v.js} +15 -14
- package/dist/chunks/{profile-F7mr0poI.js → profile-CkwMFh82.js} +3 -3
- package/dist/chunks/{registration-BRF4985_.js → registration-3GLgq-ae.js} +2 -2
- package/dist/chunks/{requests-7pD2ckdx.js → requests-BZ2jrt5J.js} +12 -11
- package/dist/chunks/{requests-BCJN-CNx.js → requests-rWq8ok3C.js} +5 -5
- package/dist/chunks/{resendSurveyorRegistration-BHTTVIw1.js → resendSurveyorRegistration-BQjL9IgM.js} +1 -1
- package/dist/chunks/{reset-OZCgLi6f.js → reset-CP9LsLkC.js} +2 -2
- package/dist/chunks/{resources-2e8RFqWR.js → resources-Cj8BzrBX.js} +18 -13
- package/dist/chunks/{surveyorAccount-C7UiiIYg.js → surveyorAccount-Cfba7ZVZ.js} +1 -1
- package/dist/chunks/{useEntityPath-8s0Y1tjA.js → useEntityPath-C5Owtidc.js} +1 -1
- package/dist/chunks/{users-CAEjpaI1.js → users-DOiQeVwn.js} +15 -14
- package/dist/index.css +1 -1
- package/dist/index.js +40 -40
- package/migrations/20261016120000_map_layers.sql +156 -156
- package/migrations/20261016150000_password_reset.sql +15 -15
- package/migrations/20261016180000_settlement_lookup.sql +16 -16
- package/package.json +1 -1
- package/server/dictionaries/index.ts +17 -17
- package/server/dictionaries/surveyor/map_layer_components.ts +11 -11
- package/server/dictionaries/surveyor/map_layer_groups.ts +10 -10
- package/server/dictionaries/surveyor/map_layer_types.ts +11 -11
- package/server/modules/surveyor/services/mapLayers.ts +61 -61
- package/server/modules/surveyor/services/updateSurveyorAccountStatus.ts +52 -52
- package/server/modules/surveyor/services/updateSurveyorStatus.ts +53 -53
- package/server/modules/surveyor/utils/templates/ds.surveyor_password_reset.pt.hbs +79 -79
- package/server/plugins/convertVector.ts +1 -1
- package/server/resources/helpers/settlement_lookup.ts +7 -7
- package/server/resources/surveyor-admin/map_layers.ts +69 -69
- package/server/resources/surveyor-admin/organization_surveyors.ts +31 -31
- package/server/resources/surveyor-admin/organizations.ts +61 -61
- package/dist/chunks/card-Cu8QOSIw.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-
|
|
4
|
-
import { i,
|
|
5
|
-
import { r as o } from "./filterQuery-
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
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:
|
|
232
|
-
RegistryTable:
|
|
233
|
-
TablePagination:
|
|
232
|
+
PageHeader: c,
|
|
233
|
+
RegistryTable: s,
|
|
234
|
+
TablePagination: u,
|
|
234
235
|
RegistryFormModal: f,
|
|
235
|
-
RegistryToolbar:
|
|
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", "
|
|
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-
|
|
4
|
-
import { i,
|
|
5
|
-
import { t as te } from "./VerifiedBadge-
|
|
6
|
-
import { i as a } from "./filterQuery-
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
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:
|
|
230
|
+
PageHeader: c,
|
|
230
231
|
VerifiedBadge: te,
|
|
231
|
-
RegistryTable:
|
|
232
|
-
TablePagination:
|
|
232
|
+
RegistryTable: s,
|
|
233
|
+
TablePagination: u,
|
|
233
234
|
RegistryFormModal: f,
|
|
234
|
-
RegistryToolbar:
|
|
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-
|
|
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", "
|
|
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-
|
|
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", "
|
|
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", "
|
|
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-
|
|
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", "
|
|
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-
|
|
3
|
-
import {
|
|
4
|
-
import { t as i } from "./filterQuery-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
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:
|
|
104
|
-
RegistryTable:
|
|
105
|
-
TablePagination:
|
|
106
|
-
RegistryToolbar:
|
|
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", "
|
|
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-
|
|
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-
|
|
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", "
|
|
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", "
|
|
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", "
|
|
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,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-
|
|
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", "
|
|
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
|
|
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 [
|
|
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
|
-
|
|
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
|
|
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}${
|
|
110
|
+
return c(`/api/resource/${e}${u(t)}`);
|
|
109
111
|
}
|
|
110
|
-
function
|
|
112
|
+
function f(e, t) {
|
|
111
113
|
return c(`/api/resource/${e}/${t}`);
|
|
112
114
|
}
|
|
113
|
-
function
|
|
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
|
|
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
|
|
130
|
+
async function g(e, t) {
|
|
126
131
|
await c(`/api/resource/${e}/${t}`, { method: "DELETE" });
|
|
127
132
|
}
|
|
128
133
|
//#endregion
|
|
129
|
-
export {
|
|
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 };
|
|
@@ -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", "
|
|
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-
|
|
3
|
-
import {
|
|
4
|
-
import { i, n as ee, r as a, t as o } from "./UserTypeBadge-
|
|
5
|
-
import { t as s } from "./UserAccessBadge-
|
|
6
|
-
import { a as c, n as l } from "./surveyorAccount-
|
|
7
|
-
import { a as u, c as d } from "./filterQuery-
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
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:
|
|
139
|
-
RegistryTable:
|
|
140
|
-
TablePagination:
|
|
141
|
-
RegistryToolbar:
|
|
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-
|
|
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", "
|
|
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 };
|