@opengis/surveyor 0.0.18 → 0.0.19
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/{ApplicationGeometryExportModal-DMPn9bkq.js → ApplicationGeometryExportModal-DhKC31To.js} +10 -17
- package/dist/chunks/{card-CBOQibhl.js → card-BP2byleo.js} +1 -1
- package/dist/chunks/{card-BP4nulPr.js → card-DuGbROGY.js} +1 -1
- package/dist/index.js +3 -3
- package/package.json +2 -2
|
@@ -615,30 +615,27 @@ var Pe = /*@__PURE__*/ O({
|
|
|
615
615
|
let n = [
|
|
616
616
|
"history",
|
|
617
617
|
"font_family",
|
|
618
|
-
"font_size",
|
|
619
|
-
"bold",
|
|
620
|
-
"italic",
|
|
621
|
-
"underline",
|
|
622
|
-
"strike",
|
|
623
|
-
"text_align",
|
|
624
618
|
"bullet_list",
|
|
625
619
|
"ordered_list",
|
|
626
620
|
"link",
|
|
627
|
-
"
|
|
628
|
-
"
|
|
621
|
+
"help",
|
|
622
|
+
"font_size",
|
|
623
|
+
"strike",
|
|
624
|
+
"text_align",
|
|
625
|
+
"italic"
|
|
629
626
|
], r = e, i = P([]), a = P({}), o = P(!0), s = P(""), c = P(""), l = P(!1), u = P(""), d = S(() => r.variant === "admin"), f = S(() => Ae(c.value) && !l.value), p = S(() => d.value ? "rounded-2xl border border-slate-200 bg-white shadow-[0_1px_2px_0_rgb(15_23_42/0.04),0_1px_3px_0_rgb(15_23_42/0.06)]" : "overflow-hidden rounded-2xl border border-gray-200 bg-white"), m = S(() => d.value ? "flex items-center gap-2.5 border-b border-slate-100 px-5 py-3.5" : "flex items-center gap-2 border-b border-gray-100 bg-gray-50/60 px-5 py-3"), h = S(() => d.value ? "text-[15px] font-semibold text-slate-800" : "text-xs font-semibold uppercase tracking-wider text-gray-500"), g = S(() => (d.value, "flex flex-col gap-4 p-5"));
|
|
630
627
|
function _(e) {
|
|
631
628
|
return Me(e, a.value[e.note_id] ?? r.resolveAuthor?.(e) ?? Ne(e));
|
|
632
629
|
}
|
|
633
|
-
async function v() {
|
|
630
|
+
async function v(e) {
|
|
634
631
|
if (r.applicationId) {
|
|
635
|
-
o.value = !0, s.value = "";
|
|
632
|
+
e?.silent || (o.value = !0), s.value = "";
|
|
636
633
|
try {
|
|
637
634
|
i.value = await be(r.resource, r.applicationId), a.value = {};
|
|
638
635
|
} catch (e) {
|
|
639
636
|
i.value = [], s.value = e instanceof Error ? e.message : "Не вдалося завантажити коментарі";
|
|
640
637
|
} finally {
|
|
641
|
-
o.value = !1;
|
|
638
|
+
e?.silent || (o.value = !1);
|
|
642
639
|
}
|
|
643
640
|
}
|
|
644
641
|
}
|
|
@@ -647,11 +644,7 @@ var Pe = /*@__PURE__*/ O({
|
|
|
647
644
|
if (Ae(e) && !l.value && r.applicationId) {
|
|
648
645
|
l.value = !0, u.value = "";
|
|
649
646
|
try {
|
|
650
|
-
|
|
651
|
-
a.value = {
|
|
652
|
-
...a.value,
|
|
653
|
-
[t.note_id]: r.currentAuthor
|
|
654
|
-
}, i.value = [...i.value, t].sort((e, t) => String(e.created_at ?? "").localeCompare(String(t.created_at ?? ""))), c.value = "";
|
|
647
|
+
await xe(r.resource, r.applicationId, e), c.value = "", await v({ silent: !0 });
|
|
655
648
|
} catch (e) {
|
|
656
649
|
u.value = e instanceof Error ? e.message : "Не вдалося надіслати коментар";
|
|
657
650
|
} finally {
|
|
@@ -717,7 +710,7 @@ var Pe = /*@__PURE__*/ O({
|
|
|
717
710
|
}, We = { class: "mb-1 flex items-center justify-between gap-2" }, Ge = { class: "text-xs font-semibold text-gray-800" }, Ke = { class: "text-xs text-gray-400" }, qe = {
|
|
718
711
|
key: 0,
|
|
719
712
|
class: "mb-1 text-xs font-medium text-[#2663EB]"
|
|
720
|
-
}, Je = ["innerHTML"], Ye = { class: "min-w-0 flex-1" }, Xe = { class: "!h-full overflow-hidden" }, Ze = { class: "mt-2 flex justify-end" }, Qe = ["disabled", "aria-label"], $e = { key: 0 }, et = {
|
|
713
|
+
}, Je = ["innerHTML"], Ye = { class: "min-w-0 flex-1" }, Xe = { class: "!h-full relative overflow-hidden" }, Ze = { class: "mt-2 flex justify-end" }, Qe = ["disabled", "aria-label"], $e = { key: 0 }, et = {
|
|
721
714
|
key: 2,
|
|
722
715
|
class: "text-xs text-red-600"
|
|
723
716
|
};
|
|
@@ -6,7 +6,7 @@ import { t as u } from "./BaseModal-BJxKuONh.js";
|
|
|
6
6
|
import { t as d } from "./RegistryForm-Dpis_ncj.js";
|
|
7
7
|
import { r as f, t as p } from "./AppealStatusBadge-DzMn4RVy.js";
|
|
8
8
|
import { r as m } from "./geometry-DyhIVRcw.js";
|
|
9
|
-
import { a as h, c as g, i as _, l as v, n as y, o as b, r as x, s as S, t as C, u as w } from "./ApplicationGeometryExportModal-
|
|
9
|
+
import { a as h, c as g, i as _, l as v, n as y, o as b, r as x, s as S, t as C, u as w } from "./ApplicationGeometryExportModal-DhKC31To.js";
|
|
10
10
|
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, mergeModels as P, normalizeClass as F, openBlock as I, ref as L, renderList as R, toDisplayString as z, useModel as B, vModelRadio as V, vModelSelect as H, vModelText as U, watch as W, withCtx as G, withDirectives as K } from "vue";
|
|
11
11
|
import { RouterLink as ee, useRoute as te, useRouter as ne } from "vue-router";
|
|
12
12
|
import { notify as re } from "@opengis/core";
|
|
@@ -3,7 +3,7 @@ import { a as t, t as n } from "./surveyor-CDkI2Dcp.js";
|
|
|
3
3
|
import { i as r, r as i } from "./profile-aXlo4qqA.js";
|
|
4
4
|
import { t as a } from "./AppIcon-CO70tpMX.js";
|
|
5
5
|
import { r as o } from "./geometry-DyhIVRcw.js";
|
|
6
|
-
import { c as s, l as c, o as ee, s as te, t as ne, u as re } from "./ApplicationGeometryExportModal-
|
|
6
|
+
import { c as s, l as c, o as ee, s as te, t as ne, u as re } from "./ApplicationGeometryExportModal-DhKC31To.js";
|
|
7
7
|
import { t as ie } from "./FormFilePicker-DxPQlxgy.js";
|
|
8
8
|
import { n as l, t as ae } from "./AppealStatusBadge-BlAaNUSK.js";
|
|
9
9
|
import { i as oe, t as u } from "./applications-B6GAxopO.js";
|
package/dist/index.js
CHANGED
|
@@ -136,7 +136,7 @@ var K = /*#__PURE__*/ r(W, [["render", G], ["__file", "C:/softpro/surveyor/src/w
|
|
|
136
136
|
t();
|
|
137
137
|
let n = {
|
|
138
138
|
Index: S(() => import("./chunks/requests-B9Ejt4av.js")),
|
|
139
|
-
Card: S(() => import("./chunks/card-
|
|
139
|
+
Card: S(() => import("./chunks/card-BP2byleo.js")),
|
|
140
140
|
BaseEntityWrapper: K,
|
|
141
141
|
SurveyorEmbedShell: B
|
|
142
142
|
};
|
|
@@ -277,7 +277,7 @@ var Se = /*#__PURE__*/ r(be, [["render", xe], ["__file", "C:/softpro/surveyor/sr
|
|
|
277
277
|
let n = {
|
|
278
278
|
Index: S(() => import("./chunks/requests-D1ix8U5f.js")),
|
|
279
279
|
Create: S(() => import("./chunks/create-DQPxIZMW.js")),
|
|
280
|
-
Card: S(() => import("./chunks/card-
|
|
280
|
+
Card: S(() => import("./chunks/card-DuGbROGY.js")),
|
|
281
281
|
BaseEntityWrapper: K,
|
|
282
282
|
SurveyorEmbedShell: B
|
|
283
283
|
};
|
|
@@ -689,7 +689,7 @@ var X = [
|
|
|
689
689
|
{
|
|
690
690
|
path: "requests/:number",
|
|
691
691
|
name: "request-detail",
|
|
692
|
-
component: () => import("./chunks/card-
|
|
692
|
+
component: () => import("./chunks/card-DuGbROGY.js"),
|
|
693
693
|
meta: {
|
|
694
694
|
title: "Звернення",
|
|
695
695
|
section: "requests"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengis/surveyor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "Softpro",
|
|
6
6
|
"description": "Surveyor admin and geodesist cabinet UI for embedded host applications",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@opengis/core": "^0.0.37",
|
|
68
68
|
"@opengis/filter": "^0.1.59",
|
|
69
|
-
"@opengis/form": "^0.1
|
|
69
|
+
"@opengis/form": "^1.0.1",
|
|
70
70
|
"@types/node": "^26.4.1",
|
|
71
71
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
72
72
|
"@vue/tsconfig": "^0.8.1",
|