@opengis/surveyor 0.0.5 → 0.0.7
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-CO70tpMX.js +95 -0
- package/dist/chunks/{AppealStatusBadge-CefimzY3.js → AppealStatusBadge-BlAaNUSK.js} +16 -16
- package/dist/chunks/{ApplicationHistorySection-PwToBfej.js → ApplicationHistorySection-Cwq0-Frd.js} +252 -247
- package/dist/chunks/{FormFilePicker-CKVdZJU9.js → FormFilePicker-DxPQlxgy.js} +1 -1
- package/dist/chunks/{applications-CsCsndMV.js → applications-CLhv5l_j.js} +24 -24
- package/dist/chunks/auth-acuaYbYM.js +60 -0
- package/dist/chunks/{card-B_SfARf7.js → card-9r6Si3cz.js} +315 -315
- package/dist/chunks/card-rXkTqZqA.js +609 -0
- package/dist/chunks/create-BAsyL76t.js +1306 -0
- package/dist/chunks/forgot-DoG6vXhq.js +100 -0
- package/dist/chunks/list-search-D5VdmGdV.js +5 -0
- package/dist/chunks/login-BWGylcSU.js +124 -0
- package/dist/chunks/{map-dvA3ayAK.js → map-UTBxwT7-.js} +1 -1
- package/dist/chunks/{mapLayersApi-CWoQ2be-.js → mapLayersApi-CBLcbADa.js} +1 -1
- package/dist/chunks/organizations-DbVDoURw.js +93 -0
- package/dist/chunks/{profile-CuxlkEev.js → profile-CkwMFh82.js} +21 -19
- package/dist/chunks/profile-aXlo4qqA.js +104 -0
- package/dist/chunks/registration-3GLgq-ae.js +102 -0
- package/dist/chunks/{requests-Bt8fEdRc.js → requests-BM6XqgpC.js} +213 -212
- package/dist/chunks/reset-CP9LsLkC.js +111 -0
- package/dist/chunks/surveyor-CDkI2Dcp.js +92 -0
- package/dist/index.css +1 -1
- package/dist/index.js +533 -114
- package/package.json +1 -1
- package/surveyor-types.d.ts +4 -0
- package/dist/chunks/card-DCyBFoDZ.js +0 -607
- package/dist/chunks/create-DTP9x2uS.js +0 -1046
- package/dist/chunks/organizations-BtuMZ5s_.js +0 -14
- package/dist/chunks/profile-DxZHxGum.js +0 -164
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import "./profile-DxZHxGum.js";
|
|
2
|
-
import { ref as e } from "vue";
|
|
3
|
-
//#region cabinet/src/api/organizations.ts
|
|
4
|
-
var t = "surveyor_active_org_id";
|
|
5
|
-
function n() {
|
|
6
|
-
try {
|
|
7
|
-
return localStorage.getItem(t) ?? "";
|
|
8
|
-
} catch {
|
|
9
|
-
return "";
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
var r = e([]), i = e(!1), a = e(""), o = e(n());
|
|
13
|
-
//#endregion
|
|
14
|
-
export { r as i, a as n, i as r, o as t };
|
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
|
-
import { computed as t, createBlock as n, defineComponent as r, openBlock as i, reactive as a, resolveDynamicComponent as ee } from "vue";
|
|
3
|
-
import { AlertCircle as te, ArrowRight as ne, Award as o, Ban as s, Building2 as c, CalendarDays as l, Check as u, ChevronDown as d, ChevronLeft as f, ChevronRight as p, ChevronsLeft as m, ChevronsRight as h, ChevronsUpDown as g, CircleCheck as _, CircleX as v, ClipboardList as y, Columns3 as b, Download as x, ExternalLink as S, Eye as C, EyeOff as w, FileCheck2 as T, FileText as E, Filter as D, GraduationCap as O, History as k, Home as A, LayoutGrid as j, List as M, Lock as N, LogOut as P, Mail as F, Map as I, MapPin as L, MapPinned as R, Maximize2 as z, MessageSquare as B, Minimize2 as V, MoreVertical as re, PauseCircle as H, Pencil as U, Phone as W, Plus as G, Search as K, Send as q, Settings as J, ShieldAlert as Y, ShieldCheck as X, SlidersHorizontal as ie, Trash2 as ae, Upload as oe, UploadCloud as se, User as ce, Users as le, UsersRound as ue, X as de } from "lucide-vue-next";
|
|
4
|
-
//#region cabinet/src/components/ui/AppIcon.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var fe = /*@__PURE__*/ r({
|
|
6
|
-
__name: "AppIcon",
|
|
7
|
-
props: {
|
|
8
|
-
name: {
|
|
9
|
-
type: null,
|
|
10
|
-
required: !0
|
|
11
|
-
},
|
|
12
|
-
strokeWidth: {
|
|
13
|
-
type: [Number, String],
|
|
14
|
-
required: !1,
|
|
15
|
-
default: 2
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
setup(e, { expose: n }) {
|
|
19
|
-
n();
|
|
20
|
-
let r = {
|
|
21
|
-
"arrow-right": ne,
|
|
22
|
-
award: o,
|
|
23
|
-
ban: s,
|
|
24
|
-
"building-2": c,
|
|
25
|
-
"calendar-days": l,
|
|
26
|
-
"alert-circle": te,
|
|
27
|
-
check: u,
|
|
28
|
-
"chevron-down": d,
|
|
29
|
-
"chevron-left": f,
|
|
30
|
-
"chevron-right": p,
|
|
31
|
-
"chevrons-left": m,
|
|
32
|
-
"chevrons-right": h,
|
|
33
|
-
"chevrons-up-down": g,
|
|
34
|
-
"circle-check": _,
|
|
35
|
-
"circle-x": v,
|
|
36
|
-
"clipboard-list": y,
|
|
37
|
-
"columns-3": b,
|
|
38
|
-
download: x,
|
|
39
|
-
"external-link": S,
|
|
40
|
-
eye: C,
|
|
41
|
-
"eye-off": w,
|
|
42
|
-
"file-check-2": T,
|
|
43
|
-
"file-text": E,
|
|
44
|
-
filter: D,
|
|
45
|
-
"graduation-cap": O,
|
|
46
|
-
history: k,
|
|
47
|
-
home: A,
|
|
48
|
-
"layout-grid": j,
|
|
49
|
-
list: M,
|
|
50
|
-
lock: N,
|
|
51
|
-
"log-out": P,
|
|
52
|
-
"maximize-2": z,
|
|
53
|
-
"minimize-2": V,
|
|
54
|
-
map: I,
|
|
55
|
-
"map-pin": L,
|
|
56
|
-
"map-pinned": R,
|
|
57
|
-
mail: F,
|
|
58
|
-
"message-square": B,
|
|
59
|
-
"more-vertical": re,
|
|
60
|
-
"pause-circle": H,
|
|
61
|
-
pencil: U,
|
|
62
|
-
phone: W,
|
|
63
|
-
plus: G,
|
|
64
|
-
search: K,
|
|
65
|
-
send: q,
|
|
66
|
-
settings: J,
|
|
67
|
-
"shield-alert": Y,
|
|
68
|
-
"shield-check": X,
|
|
69
|
-
"sliders-horizontal": ie,
|
|
70
|
-
"trash-2": ae,
|
|
71
|
-
upload: oe,
|
|
72
|
-
"upload-cloud": se,
|
|
73
|
-
user: ce,
|
|
74
|
-
users: le,
|
|
75
|
-
"users-round": ue,
|
|
76
|
-
x: de
|
|
77
|
-
}, i = e, a = {
|
|
78
|
-
icons: r,
|
|
79
|
-
props: i,
|
|
80
|
-
icon: t(() => r[i.name])
|
|
81
|
-
};
|
|
82
|
-
return Object.defineProperty(a, "__isScriptSetup", {
|
|
83
|
-
enumerable: !1,
|
|
84
|
-
value: !0
|
|
85
|
-
}), a;
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
//#endregion
|
|
89
|
-
//#region cabinet/src/components/ui/AppIcon.vue
|
|
90
|
-
function pe(e, t, r, a, te, ne) {
|
|
91
|
-
return i(), n(ee(a.icon), { "stroke-width": r.strokeWidth }, null, 8, ["stroke-width"]);
|
|
92
|
-
}
|
|
93
|
-
var me = /*#__PURE__*/ e(fe, [["render", pe], ["__file", "C:/softpro/surveyor/cabinet/src/components/ui/AppIcon.vue"]]);
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region cabinet/src/api/surveyor.ts
|
|
96
|
-
function Z(e) {
|
|
97
|
-
return `${"".replace(/\/$/, "")}${e}`;
|
|
98
|
-
}
|
|
99
|
-
function Q(e, t) {
|
|
100
|
-
let n = e || `HTTP ${t}`;
|
|
101
|
-
try {
|
|
102
|
-
let t = JSON.parse(e);
|
|
103
|
-
n = (typeof t.error == "object" ? t.error.message : void 0) || t.message || (typeof t.error == "string" ? t.error : n);
|
|
104
|
-
} catch {}
|
|
105
|
-
return n;
|
|
106
|
-
}
|
|
107
|
-
async function he(e) {
|
|
108
|
-
let t = await fetch(Z(`/api/surveyor/change_password/${encodeURIComponent(e.surveyorId)}`), {
|
|
109
|
-
method: "POST",
|
|
110
|
-
credentials: "include",
|
|
111
|
-
headers: { "Content-Type": "application/json" },
|
|
112
|
-
body: JSON.stringify({
|
|
113
|
-
password: e.password,
|
|
114
|
-
password_confirmation: e.passwordConfirmation
|
|
115
|
-
})
|
|
116
|
-
});
|
|
117
|
-
if (!t.ok) throw Error(Q(await t.text(), t.status));
|
|
118
|
-
return t.json();
|
|
119
|
-
}
|
|
120
|
-
//#endregion
|
|
121
|
-
//#region cabinet/src/api/profile.ts
|
|
122
|
-
function ge() {
|
|
123
|
-
return {
|
|
124
|
-
certificateDate: "",
|
|
125
|
-
certificateNumber: "",
|
|
126
|
-
certificateVerified: !1,
|
|
127
|
-
institution: "",
|
|
128
|
-
protocolDate: "",
|
|
129
|
-
protocolNumber: "",
|
|
130
|
-
qualificationIncrease: "",
|
|
131
|
-
certificateStopping: "",
|
|
132
|
-
certificateSuspension: ""
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
function $() {
|
|
136
|
-
return {
|
|
137
|
-
uid: "",
|
|
138
|
-
login: "",
|
|
139
|
-
surName: "",
|
|
140
|
-
userName: "",
|
|
141
|
-
fatherName: "",
|
|
142
|
-
phone: "",
|
|
143
|
-
email: "",
|
|
144
|
-
enabled: !1,
|
|
145
|
-
type: "geodesist",
|
|
146
|
-
organization: "",
|
|
147
|
-
orgAddress: "",
|
|
148
|
-
orgPhone: "",
|
|
149
|
-
orgEmail: "",
|
|
150
|
-
...ge(),
|
|
151
|
-
registry: "Реєстр геодезистів",
|
|
152
|
-
workplace: ""
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
var _e = a($());
|
|
156
|
-
function ve(e) {
|
|
157
|
-
return [
|
|
158
|
-
e.surName,
|
|
159
|
-
e.userName,
|
|
160
|
-
e.fatherName
|
|
161
|
-
].filter(Boolean).join(" ");
|
|
162
|
-
}
|
|
163
|
-
//#endregion
|
|
164
|
-
export { Q as a, he as i, ve as n, me as o, Z as r, _e as t };
|