@opengis/admin 0.2.58 → 0.2.59
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/{add-page-DdvFmTgc.js → add-page-BVXAKtgy.js} +1 -1
- package/dist/{admin-interface-D3qL--vJ.js → admin-interface-Banen1tI.js} +1 -1
- package/dist/{admin-view-HtofXFzi.js → admin-view-Dn5aHdef.js} +116 -120
- package/dist/admin.js +1 -1
- package/dist/admin.umd.cjs +34 -34
- package/dist/{card-view-Dh_K-AYO.js → card-view-D_Dof-56.js} +1 -1
- package/dist/{edit-page-6ni8DMRH.js → edit-page-Ci9Ms1PR.js} +1 -1
- package/dist/{import-file-BCQRB2FQ.js → import-file-DbyDFGeQ.js} +141 -139
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as Zt, getCurrentInstance as to, onMounted as ah, resolveComponent as gt, openBlock as oe, createBlock as
|
1
|
+
import { ref as Zt, getCurrentInstance as to, onMounted as ah, resolveComponent as gt, openBlock as oe, createBlock as en, withCtx as un, createElementVNode as V, createVNode as dt, createCommentVNode as Kt, createElementBlock as me, Fragment as Gt, shallowRef as YE, unref as sl, shallowReactive as XE, inject as Sc, nextTick as F_, defineComponent as so, reactive as KE, computed as fs, h as Pc, provide as By, watch as lh, watchEffect as Ek, normalizeClass as _i, toDisplayString as wt, renderSlot as Ak, withDirectives as Ao, vModelText as Pk, renderList as $n, normalizeStyle as ka, vModelCheckbox as B_, resolveDynamicComponent as va, vModelRadio as JE, createStaticVNode as Sa, vShow as $m, withModifiers as N0, onBeforeUnmount as cp, markRaw as QE, customRef as eA, Transition as Vm, createTextVNode as Ls, mergeProps as Ny, Teleport as tA, createApp as N_, defineCustomElement as nA } from "vue";
|
2
2
|
function Ik(n, e) {
|
3
3
|
return function() {
|
4
4
|
return n.apply(e, arguments);
|
@@ -1690,8 +1690,9 @@ const Id = Zt({}), Zm = () => {
|
|
1690
1690
|
setup(n) {
|
1691
1691
|
var k;
|
1692
1692
|
const { $notify: e = () => 1 } = (k = to()) == null ? void 0 : k.proxy, t = Zt(!1), i = Zt(null), r = Zt({}), l = Zt(), u = Zt({}), a = (S) => {
|
1693
|
+
t.value = !1, i.value = null, r.value = {}, u.value = {};
|
1693
1694
|
const T = new CustomEvent("closeFormPlugin");
|
1694
|
-
T.message = S, window.dispatchEvent(T)
|
1695
|
+
T.message = S, window.dispatchEvent(T);
|
1695
1696
|
}, m = async () => {
|
1696
1697
|
var S, T, E, D, L, B;
|
1697
1698
|
try {
|
@@ -1703,7 +1704,7 @@ const Id = Zt({}), Zm = () => {
|
|
1703
1704
|
const { data: Z } = await Ct.get(
|
1704
1705
|
`/api/template/form/${((L = u.value) == null ? void 0 : L.token) || ((B = u.value) == null ? void 0 : B.form)}`
|
1705
1706
|
);
|
1706
|
-
Z != null && Z.obj && (r.value = { ...
|
1707
|
+
Z != null && Z.obj && (r.value = { ...r.value, ...Z.obj }), i.value = (Z == null ? void 0 : Z.schema) || Z;
|
1707
1708
|
} catch (Z) {
|
1708
1709
|
console.error("Error fetching form scheme:", Z);
|
1709
1710
|
} finally {
|
@@ -1738,10 +1739,12 @@ const Id = Zt({}), Zm = () => {
|
|
1738
1739
|
}), (S, T) => {
|
1739
1740
|
var L;
|
1740
1741
|
const E = gt("VsForm"), D = gt("VsDialog");
|
1741
|
-
return oe(),
|
1742
|
+
return i.value ? (oe(), en(D, {
|
1743
|
+
key: 0,
|
1742
1744
|
title: ((L = u.value) == null ? void 0 : L.title) || "Редагувати",
|
1743
1745
|
visible: t.value,
|
1744
|
-
"onUpdate:visible": T[2] || (T[2] = (B) => t.value = B)
|
1746
|
+
"onUpdate:visible": T[2] || (T[2] = (B) => t.value = B),
|
1747
|
+
onOnClose: a
|
1745
1748
|
}, {
|
1746
1749
|
footer: un(() => [
|
1747
1750
|
V("div", DP, [
|
@@ -1757,18 +1760,17 @@ const Id = Zt({}), Zm = () => {
|
|
1757
1760
|
])
|
1758
1761
|
]),
|
1759
1762
|
default: un(() => [
|
1760
|
-
|
1761
|
-
key: 0,
|
1763
|
+
dt(E, {
|
1762
1764
|
ref_key: "form",
|
1763
1765
|
ref: l,
|
1764
1766
|
scheme: i.value,
|
1765
1767
|
modelValue: r.value,
|
1766
1768
|
"onUpdate:modelValue": T[0] || (T[0] = (B) => r.value = B),
|
1767
1769
|
class: "p-0"
|
1768
|
-
}, null, 8, ["scheme", "modelValue"])
|
1770
|
+
}, null, 8, ["scheme", "modelValue"])
|
1769
1771
|
]),
|
1770
1772
|
_: 1
|
1771
|
-
}, 8, ["title", "visible"]);
|
1773
|
+
}, 8, ["title", "visible"])) : Kt("", !0);
|
1772
1774
|
};
|
1773
1775
|
}
|
1774
1776
|
}, zP = {
|
@@ -3682,16 +3684,16 @@ function hD(n) {
|
|
3682
3684
|
}
|
3683
3685
|
const dD = [
|
3684
3686
|
// { name: 'profile', path: '/profile', component: () => import('../components/profile/vs-profile.vue') },
|
3685
|
-
{ name: "edit", path: "/edit", component: () => import("./edit-page-
|
3686
|
-
{ name: "add", path: "/add", component: () => import("./add-page-
|
3687
|
+
{ name: "edit", path: "/edit", component: () => import("./edit-page-Ci9Ms1PR.js") },
|
3688
|
+
{ name: "add", path: "/add", component: () => import("./add-page-BVXAKtgy.js") },
|
3687
3689
|
{
|
3688
3690
|
name: "card-view",
|
3689
3691
|
path: "/card",
|
3690
|
-
component: () => import("./card-view-
|
3692
|
+
component: () => import("./card-view-D_Dof-56.js"),
|
3691
3693
|
children: [{
|
3692
3694
|
name: "table",
|
3693
3695
|
path: ":table",
|
3694
|
-
component: () => import("./card-view-
|
3696
|
+
component: () => import("./card-view-D_Dof-56.js"),
|
3695
3697
|
children: [{ name: "card", path: ":id", component: () => Promise.resolve().then(() => WW) }]
|
3696
3698
|
}]
|
3697
3699
|
}
|
@@ -3745,14 +3747,14 @@ const yD = /* @__PURE__ */ xt(pD, [["render", gD]]), _D = (n) => {
|
|
3745
3747
|
{
|
3746
3748
|
path: "/",
|
3747
3749
|
name: "home",
|
3748
|
-
component: () => import("./admin-view-
|
3750
|
+
component: () => import("./admin-view-Dn5aHdef.js"),
|
3749
3751
|
children: [
|
3750
3752
|
...e,
|
3751
3753
|
...n,
|
3752
3754
|
// { path: '/', redirect: '/home' },
|
3753
3755
|
{
|
3754
3756
|
path: "/:catchAll(.*)",
|
3755
|
-
component: () => import("./admin-interface-
|
3757
|
+
component: () => import("./admin-interface-Banen1tI.js")
|
3756
3758
|
}
|
3757
3759
|
]
|
3758
3760
|
}
|
@@ -3796,7 +3798,7 @@ const yD = /* @__PURE__ */ xt(pD, [["render", gD]]), _D = (n) => {
|
|
3796
3798
|
function bD(n, e, t, i, r, l) {
|
3797
3799
|
var a, m;
|
3798
3800
|
const u = gt("VsInlineEdit");
|
3799
|
-
return t.edit ? (oe(),
|
3801
|
+
return t.edit ? (oe(), en(u, {
|
3800
3802
|
key: 0,
|
3801
3803
|
"model-value": t.value,
|
3802
3804
|
onUpdateValue: l.changeData,
|
@@ -3871,7 +3873,7 @@ const TD = /* @__PURE__ */ xt(wD, [["render", SD]]), CD = { class: "w-[170px]" }
|
|
3871
3873
|
};
|
3872
3874
|
return (S, T) => {
|
3873
3875
|
const E = gt("VsPopover");
|
3874
|
-
return oe(),
|
3876
|
+
return oe(), en(E, {
|
3875
3877
|
ref_key: "popover",
|
3876
3878
|
ref: u
|
3877
3879
|
}, {
|
@@ -3910,7 +3912,7 @@ const TD = /* @__PURE__ */ xt(wD, [["render", SD]]), CD = { class: "w-[170px]" }
|
|
3910
3912
|
[B_, r.value]
|
3911
3913
|
]),
|
3912
3914
|
V("span", PD, wt(B == null ? void 0 : B.text), 1),
|
3913
|
-
r.value === (B == null ? void 0 : B.id) ? (oe(),
|
3915
|
+
r.value === (B == null ? void 0 : B.id) ? (oe(), en(TD, {
|
3914
3916
|
key: 0,
|
3915
3917
|
class: "ml-auto size-3 shrink-0"
|
3916
3918
|
})) : Kt("", !0)
|
@@ -4004,7 +4006,7 @@ const TD = /* @__PURE__ */ xt(wD, [["render", SD]]), CD = { class: "w-[170px]" }
|
|
4004
4006
|
function LD(n, e, t, i, r, l) {
|
4005
4007
|
var a, m, _;
|
4006
4008
|
const u = gt("AdminBadgeEdit");
|
4007
|
-
return t.edit ? (oe(),
|
4009
|
+
return t.edit ? (oe(), en(u, {
|
4008
4010
|
key: 0,
|
4009
4011
|
options: r.optionsList,
|
4010
4012
|
value: r.value,
|
@@ -4067,7 +4069,7 @@ const w2 = /* @__PURE__ */ xt(FD, [["render", ND]]), $D = {
|
|
4067
4069
|
function UD(n, e, t, i, r, l) {
|
4068
4070
|
const u = gt("IconCheck");
|
4069
4071
|
return oe(), me("div", VD, [
|
4070
|
-
t.value ? (oe(),
|
4072
|
+
t.value ? (oe(), en(u, {
|
4071
4073
|
key: 0,
|
4072
4074
|
height: "24",
|
4073
4075
|
width: "24",
|
@@ -4139,7 +4141,7 @@ const Bu = /* @__PURE__ */ xt($D, [["render", UD]]), HD = {
|
|
4139
4141
|
function XD(n, e, t, i, r, l) {
|
4140
4142
|
const u = gt("AdminBadgeEdit");
|
4141
4143
|
return oe(), me("div", null, [
|
4142
|
-
t.edit ? (oe(),
|
4144
|
+
t.edit ? (oe(), en(u, {
|
4143
4145
|
key: 0,
|
4144
4146
|
options: r.optionsList,
|
4145
4147
|
value: r.value,
|
@@ -6811,7 +6813,7 @@ const n5 = {
|
|
6811
6813
|
function s5(n, e, t, i, r, l) {
|
6812
6814
|
var a;
|
6813
6815
|
const u = gt("VsInlineEdit");
|
6814
|
-
return t.edit ? (oe(),
|
6816
|
+
return t.edit ? (oe(), en(u, {
|
6815
6817
|
key: 0,
|
6816
6818
|
"model-value": ((a = t.data) == null ? void 0 : a[t.name]) || null,
|
6817
6819
|
component: "vs-form-calendar",
|
@@ -6863,7 +6865,7 @@ const gS = /* @__PURE__ */ xt(o5, [["render", l5]]), c5 = { class: "text-start"
|
|
6863
6865
|
var r, l, u, a, m;
|
6864
6866
|
const { asyncTemplateSlot: e } = (m = (a = (u = (l = (r = to()) == null ? void 0 : r.appContext) == null ? void 0 : l.app) == null ? void 0 : u.config) == null ? void 0 : a.globalProperties) == null ? void 0 : m.utils, t = to().appContext.app, i = ["data", "column", "table", "name", "value"];
|
6865
6867
|
return t.component(n.name) || e(n.name, n.column.slot.content, i), (_, k) => (oe(), me("div", c5, [
|
6866
|
-
(oe(),
|
6868
|
+
(oe(), en(va(n.name), {
|
6867
6869
|
column: n.column,
|
6868
6870
|
table: n.table,
|
6869
6871
|
name: n.name,
|
@@ -7332,7 +7334,7 @@ var vS = { exports: {} };
|
|
7332
7334
|
return !!this.bindings[o] || !!this.parent && this.parent.has(o);
|
7333
7335
|
}
|
7334
7336
|
}
|
7335
|
-
const Ts = { kind: "null" }, We = { kind: "number" }, ke = { kind: "string" }, Le = { kind: "boolean" }, Mt = { kind: "color" },
|
7337
|
+
const Ts = { kind: "null" }, We = { kind: "number" }, ke = { kind: "string" }, Le = { kind: "boolean" }, Mt = { kind: "color" }, Qt = { kind: "object" }, Je = { kind: "value" }, Wn = { kind: "collator" }, li = { kind: "formatted" }, Xi = { kind: "padding" }, Mr = { kind: "resolvedImage" }, se = { kind: "variableAnchorOffsetCollection" };
|
7336
7338
|
function q(c, o) {
|
7337
7339
|
return { kind: "array", itemType: c, N: o };
|
7338
7340
|
}
|
@@ -7343,7 +7345,7 @@ var vS = { exports: {} };
|
|
7343
7345
|
}
|
7344
7346
|
return c.kind;
|
7345
7347
|
}
|
7346
|
-
const X = [Ts, We, ke, Le, Mt, li,
|
7348
|
+
const X = [Ts, We, ke, Le, Mt, li, Qt, q(Je), Xi, Mr, se];
|
7347
7349
|
function ne(c, o) {
|
7348
7350
|
if (o.kind === "error") return null;
|
7349
7351
|
if (c.kind === "array") {
|
@@ -7606,7 +7608,7 @@ var vS = { exports: {} };
|
|
7606
7608
|
}
|
7607
7609
|
return q(h || Je, o);
|
7608
7610
|
}
|
7609
|
-
return
|
7611
|
+
return Qt;
|
7610
7612
|
}
|
7611
7613
|
function Sl(c) {
|
7612
7614
|
const o = typeof c;
|
@@ -7641,7 +7643,7 @@ var vS = { exports: {} };
|
|
7641
7643
|
return this.message;
|
7642
7644
|
}
|
7643
7645
|
}
|
7644
|
-
const Oc = { string: ke, number: We, boolean: Le, object:
|
7646
|
+
const Oc = { string: ke, number: We, boolean: Le, object: Qt };
|
7645
7647
|
class es {
|
7646
7648
|
constructor(o, h) {
|
7647
7649
|
this.type = o, this.args = h;
|
@@ -9278,7 +9280,7 @@ var vS = { exports: {} };
|
|
9278
9280
|
}], typeof: [ke, [Je], (c, [o]) => H(gi(o.evaluate(c)))], "to-rgba": [q(We, 4), [Mt], (c, [o]) => {
|
9279
9281
|
const [h, p, y, b] = o.evaluate(c).rgb;
|
9280
9282
|
return [255 * h, 255 * p, 255 * y, b];
|
9281
|
-
}], rgb: [Mt, [We, We, We], $p], rgba: [Mt, [We, We, We, We], $p], has: { type: Le, overloads: [[[ke], (c, [o]) => Oh(o.evaluate(c), c.properties())], [[ke,
|
9283
|
+
}], rgb: [Mt, [We, We, We], $p], rgba: [Mt, [We, We, We, We], $p], has: { type: Le, overloads: [[[ke], (c, [o]) => Oh(o.evaluate(c), c.properties())], [[ke, Qt], (c, [o, h]) => Oh(o.evaluate(c), h.evaluate(c))]] }, get: { type: Je, overloads: [[[ke], (c, [o]) => qc(o.evaluate(c), c.properties())], [[ke, Qt], (c, [o, h]) => qc(o.evaluate(c), h.evaluate(c))]] }, "feature-state": [Je, [ke], (c, [o]) => qc(o.evaluate(c), c.featureState || {})], properties: [Qt, [], (c) => c.properties()], "geometry-type": [ke, [], (c) => c.geometryType()], id: [Je, [], (c) => c.id()], zoom: [We, [], (c) => c.globals.zoom], "heatmap-density": [We, [], (c) => c.globals.heatmapDensity || 0], "line-progress": [We, [], (c) => c.globals.lineProgress || 0], accumulated: [Je, [], (c) => c.globals.accumulated === void 0 ? null : c.globals.accumulated], "+": [We, qo(We), (c, o) => {
|
9282
9284
|
let h = 0;
|
9283
9285
|
for (const p of o) h += p.evaluate(c);
|
9284
9286
|
return h;
|
@@ -15815,7 +15817,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
15815
15817
|
const ue = [q, H, X, ne], Ae = this.options, Re = Ae.debug;
|
15816
15818
|
for (; ue.length; ) {
|
15817
15819
|
ne = ue.pop(), X = ue.pop(), H = ue.pop(), q = ue.pop();
|
15818
|
-
const Ce = 1 << H, Ue =
|
15820
|
+
const Ce = 1 << H, Ue = Qt(H, X, ne);
|
15819
15821
|
let Tt = this.tiles[Ue];
|
15820
15822
|
if (!Tt && (Re > 1 && console.time("creation"), Tt = this.tiles[Ue] = Ts(q, H, X, ne, Ae), this.tileCoords.push({ z: H, x: X, y: ne }), Re)) {
|
15821
15823
|
Re > 1 && (console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)", H, X, ne, Tt.numFeatures, Tt.numPoints, Tt.numSimplified), console.timeEnd("creation"));
|
@@ -15842,15 +15844,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
15842
15844
|
q = +q, H = +H, X = +X;
|
15843
15845
|
const ne = this.options, { extent: de, debug: ge } = ne;
|
15844
15846
|
if (q < 0 || q > 24) return null;
|
15845
|
-
const xe = 1 << q, ue =
|
15847
|
+
const xe = 1 << q, ue = Qt(q, H = H + xe & xe - 1, X);
|
15846
15848
|
if (this.tiles[ue]) return Oi(this.tiles[ue], de);
|
15847
15849
|
ge > 1 && console.log("drilling down to z%d-%d-%d", q, H, X);
|
15848
15850
|
let Ae, Re = q, Ce = H, Ue = X;
|
15849
|
-
for (; !Ae && Re > 0; ) Re--, Ce >>= 1, Ue >>= 1, Ae = this.tiles[
|
15851
|
+
for (; !Ae && Re > 0; ) Re--, Ce >>= 1, Ue >>= 1, Ae = this.tiles[Qt(Re, Ce, Ue)];
|
15850
15852
|
return Ae && Ae.source ? (ge > 1 && (console.log("found parent tile z%d-%d-%d", Re, Ce, Ue), console.time("drilling down")), this.splitTile(Ae.source, Re, Ce, Ue, q, H, X), ge > 1 && console.timeEnd("drilling down"), this.tiles[ue] ? Oi(this.tiles[ue], de) : null) : null;
|
15851
15853
|
}
|
15852
15854
|
}
|
15853
|
-
function
|
15855
|
+
function Qt(se, q, H) {
|
15854
15856
|
return 32 * ((1 << se) * H + q) + se;
|
15855
15857
|
}
|
15856
15858
|
function Je(se, q) {
|
@@ -17896,7 +17898,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
17896
17898
|
const P = f.length === 0 && !this._updated && this._didEmitContent;
|
17897
17899
|
this._updated = !0, P && this.fire(new a.k("data", { sourceDataType: "idle", dataType: "source", sourceId: this.id }));
|
17898
17900
|
const I = this._updateRetainedTiles(f, g);
|
17899
|
-
|
17901
|
+
Qt(this._source.type) && this._updateCoveredAndRetainedTiles(I, v, M, g, f, d);
|
17900
17902
|
for (const N in I) this._tiles[N].clearFadeHold();
|
17901
17903
|
const R = a.ab(this._tiles, I);
|
17902
17904
|
for (const N of R) {
|
@@ -18017,7 +18019,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
18017
18019
|
}
|
18018
18020
|
hasTransition() {
|
18019
18021
|
if (this._source.hasTransition()) return !0;
|
18020
|
-
if (
|
18022
|
+
if (Qt(this._source.type)) {
|
18021
18023
|
const s = S.now();
|
18022
18024
|
for (const d in this._tiles) if (this._tiles[d].fadeEndTime >= s) return !0;
|
18023
18025
|
}
|
@@ -18045,7 +18047,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
18045
18047
|
const d = Math.abs(2 * x.wrap) - +(x.wrap < 0), f = Math.abs(2 * s.wrap) - +(s.wrap < 0);
|
18046
18048
|
return x.overscaledZ - s.overscaledZ || f - d || s.canonical.y - x.canonical.y || s.canonical.x - x.canonical.x;
|
18047
18049
|
}
|
18048
|
-
function
|
18050
|
+
function Qt(x) {
|
18049
18051
|
return x === "raster" || x === "image" || x === "video";
|
18050
18052
|
}
|
18051
18053
|
Le.maxOverzooming = 10, Le.maxUnderzooming = 3;
|
@@ -28639,7 +28641,7 @@ function W4(n, e, t, i, r, l) {
|
|
28639
28641
|
])
|
28640
28642
|
])) : Kt("", !0),
|
28641
28643
|
(T = r.files) != null && T.length ? (oe(), me("div", V4, [
|
28642
|
-
(oe(!0), me(Gt, null, $n(l.filteredFiles, (E, D) => (oe(),
|
28644
|
+
(oe(!0), me(Gt, null, $n(l.filteredFiles, (E, D) => (oe(), en(a, {
|
28643
28645
|
key: D,
|
28644
28646
|
id: t.id,
|
28645
28647
|
item: E,
|
@@ -28649,7 +28651,7 @@ function W4(n, e, t, i, r, l) {
|
|
28649
28651
|
l.filteredFiles.length ? Kt("", !0) : (oe(), me("div", j4, e[9] || (e[9] = [
|
28650
28652
|
V("p", { class: "text-sm text-gray-600 font-sm" }, " Файлів з такою назвою не існує, введіть інше пошукове слово ", -1)
|
28651
28653
|
])))
|
28652
|
-
])) : (oe(),
|
28654
|
+
])) : (oe(), en(m, {
|
28653
28655
|
key: 2,
|
28654
28656
|
text: "Файли відсутні"
|
28655
28657
|
})),
|
@@ -33264,7 +33266,7 @@ class ln {
|
|
33264
33266
|
found.
|
33265
33267
|
*/
|
33266
33268
|
static findFrom(e, t, i = !1) {
|
33267
|
-
let r = e.parent.inlineContent ? new
|
33269
|
+
let r = e.parent.inlineContent ? new Jt(e) : Ru(e.node(0), e.parent, e.pos, e.index(), t, i);
|
33268
33270
|
if (r)
|
33269
33271
|
return r;
|
33270
33272
|
for (let l = e.depth - 1; l >= 0; l--) {
|
@@ -33331,7 +33333,7 @@ class ln {
|
|
33331
33333
|
returns the bookmark for that.
|
33332
33334
|
*/
|
33333
33335
|
getBookmark() {
|
33334
|
-
return
|
33336
|
+
return Jt.between(this.$anchor, this.$head).getBookmark();
|
33335
33337
|
}
|
33336
33338
|
}
|
33337
33339
|
ln.prototype.visible = !0;
|
@@ -33347,7 +33349,7 @@ let lw = !1;
|
|
33347
33349
|
function cw(n) {
|
33348
33350
|
!lw && !n.parent.inlineContent && (lw = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + n.parent.type.name + ")"));
|
33349
33351
|
}
|
33350
|
-
class
|
33352
|
+
class Jt extends ln {
|
33351
33353
|
/**
|
33352
33354
|
Construct a text selection between the given points.
|
33353
33355
|
*/
|
@@ -33366,7 +33368,7 @@ class Qt extends ln {
|
|
33366
33368
|
if (!i.parent.inlineContent)
|
33367
33369
|
return ln.near(i);
|
33368
33370
|
let r = e.resolve(t.map(this.anchor));
|
33369
|
-
return new
|
33371
|
+
return new Jt(r.parent.inlineContent ? r : i, i);
|
33370
33372
|
}
|
33371
33373
|
replace(e, t = ft.empty) {
|
33372
33374
|
if (super.replace(e, t), t == ft.empty) {
|
@@ -33375,7 +33377,7 @@ class Qt extends ln {
|
|
33375
33377
|
}
|
33376
33378
|
}
|
33377
33379
|
eq(e) {
|
33378
|
-
return e instanceof
|
33380
|
+
return e instanceof Jt && e.anchor == this.anchor && e.head == this.head;
|
33379
33381
|
}
|
33380
33382
|
getBookmark() {
|
33381
33383
|
return new hg(this.anchor, this.head);
|
@@ -33389,7 +33391,7 @@ class Qt extends ln {
|
|
33389
33391
|
static fromJSON(e, t) {
|
33390
33392
|
if (typeof t.anchor != "number" || typeof t.head != "number")
|
33391
33393
|
throw new RangeError("Invalid input for TextSelection.fromJSON");
|
33392
|
-
return new
|
33394
|
+
return new Jt(e.resolve(t.anchor), e.resolve(t.head));
|
33393
33395
|
}
|
33394
33396
|
/**
|
33395
33397
|
Create a text selection from non-resolved positions.
|
@@ -33415,10 +33417,10 @@ class Qt extends ln {
|
|
33415
33417
|
else
|
33416
33418
|
return ln.near(t, i);
|
33417
33419
|
}
|
33418
|
-
return e.parent.inlineContent || (r == 0 ? e = t : (e = (ln.findFrom(e, -i, !0) || ln.findFrom(e, i, !0)).$anchor, e.pos < t.pos != r < 0 && (e = t))), new
|
33420
|
+
return e.parent.inlineContent || (r == 0 ? e = t : (e = (ln.findFrom(e, -i, !0) || ln.findFrom(e, i, !0)).$anchor, e.pos < t.pos != r < 0 && (e = t))), new Jt(e, t);
|
33419
33421
|
}
|
33420
33422
|
}
|
33421
|
-
ln.jsonID("text",
|
33423
|
+
ln.jsonID("text", Jt);
|
33422
33424
|
class hg {
|
33423
33425
|
constructor(e, t) {
|
33424
33426
|
this.anchor = e, this.head = t;
|
@@ -33427,7 +33429,7 @@ class hg {
|
|
33427
33429
|
return new hg(e.map(this.anchor), e.map(this.head));
|
33428
33430
|
}
|
33429
33431
|
resolve(e) {
|
33430
|
-
return
|
33432
|
+
return Jt.between(e.resolve(this.anchor), e.resolve(this.head));
|
33431
33433
|
}
|
33432
33434
|
}
|
33433
33435
|
class $t extends ln {
|
@@ -33537,7 +33539,7 @@ const sF = {
|
|
33537
33539
|
};
|
33538
33540
|
function Ru(n, e, t, i, r, l = !1) {
|
33539
33541
|
if (e.inlineContent)
|
33540
|
-
return
|
33542
|
+
return Jt.create(n, t);
|
33541
33543
|
for (let u = i - (r > 0 ? 0 : 1); r > 0 ? u < e.childCount : u >= 0; u += r) {
|
33542
33544
|
let a = e.child(u);
|
33543
33545
|
if (a.isAtom) {
|
@@ -34922,7 +34924,7 @@ class ml extends _p {
|
|
34922
34924
|
}
|
34923
34925
|
localCompositionInfo(e, t) {
|
34924
34926
|
let { from: i, to: r } = e.state.selection;
|
34925
|
-
if (!(e.state.selection instanceof
|
34927
|
+
if (!(e.state.selection instanceof Jt) || i < t || r > t + this.node.content.size)
|
34926
34928
|
return null;
|
34927
34929
|
let l = e.input.compositionNode;
|
34928
34930
|
if (!l || !this.dom.contains(l.parentNode))
|
@@ -35481,7 +35483,7 @@ function wa(n, e = !1) {
|
|
35481
35483
|
jF(n);
|
35482
35484
|
else {
|
35483
35485
|
let { anchor: i, head: r } = t, l, u;
|
35484
|
-
Sw && !(t instanceof
|
35486
|
+
Sw && !(t instanceof Jt) && (t.$from.parent.inlineContent || (l = Tw(n, t.from)), !t.empty && !t.$from.parent.inlineContent && (u = Tw(n, t.to))), n.docView.setSelection(i, r, n, e), Sw && (l && Cw(l), u && Cw(u)), t.visible ? n.dom.classList.remove("ProseMirror-hideselection") : (n.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && VF(n));
|
35485
35487
|
}
|
35486
35488
|
n.domObserver.setCurSelection(), n.domObserver.connectSelection();
|
35487
35489
|
}
|
@@ -35532,7 +35534,7 @@ function Mw(n) {
|
|
35532
35534
|
n.lastSelectedViewDesc && (n.lastSelectedViewDesc.parent && n.lastSelectedViewDesc.deselectNode(), n.lastSelectedViewDesc = void 0);
|
35533
35535
|
}
|
35534
35536
|
function Tv(n, e, t, i) {
|
35535
|
-
return n.someProp("createSelectionBetween", (r) => r(n, e, t)) ||
|
35537
|
+
return n.someProp("createSelectionBetween", (r) => r(n, e, t)) || Jt.between(e, t, i);
|
35536
35538
|
}
|
35537
35539
|
function Ew(n) {
|
35538
35540
|
return n.editable && !n.hasFocus() ? !1 : NT(n);
|
@@ -35560,13 +35562,13 @@ function nl(n, e) {
|
|
35560
35562
|
}
|
35561
35563
|
function Aw(n, e, t) {
|
35562
35564
|
let i = n.state.selection;
|
35563
|
-
if (i instanceof
|
35565
|
+
if (i instanceof Jt)
|
35564
35566
|
if (t.indexOf("s") > -1) {
|
35565
35567
|
let { $head: r } = i, l = r.textOffset ? null : e < 0 ? r.nodeBefore : r.nodeAfter;
|
35566
35568
|
if (!l || l.isText || !l.isLeaf)
|
35567
35569
|
return !1;
|
35568
35570
|
let u = n.state.doc.resolve(r.pos + l.nodeSize * (e < 0 ? -1 : 1));
|
35569
|
-
return nl(n, new
|
35571
|
+
return nl(n, new Jt(i.$anchor, u));
|
35570
35572
|
} else if (i.empty) {
|
35571
35573
|
if (n.endOfTextblock(e > 0 ? "forward" : "backward")) {
|
35572
35574
|
let r = w_(n.state, e);
|
@@ -35576,12 +35578,12 @@ function Aw(n, e, t) {
|
|
35576
35578
|
if (!l || l.isText)
|
35577
35579
|
return !1;
|
35578
35580
|
let a = e < 0 ? r.pos - l.nodeSize : r.pos;
|
35579
|
-
return l.isAtom || (u = n.docView.descAt(a)) && !u.contentDOM ? $t.isSelectable(l) ? nl(n, new $t(e < 0 ? n.state.doc.resolve(r.pos - l.nodeSize) : r)) : yp ? nl(n, new
|
35581
|
+
return l.isAtom || (u = n.docView.descAt(a)) && !u.contentDOM ? $t.isSelectable(l) ? nl(n, new $t(e < 0 ? n.state.doc.resolve(r.pos - l.nodeSize) : r)) : yp ? nl(n, new Jt(n.state.doc.resolve(e < 0 ? a : a + l.nodeSize))) : !1 : !1;
|
35580
35582
|
}
|
35581
35583
|
} else return !1;
|
35582
35584
|
else {
|
35583
35585
|
if (i instanceof $t && i.node.isInline)
|
35584
|
-
return nl(n, new
|
35586
|
+
return nl(n, new Jt(e > 0 ? i.$to : i.$from));
|
35585
35587
|
{
|
35586
35588
|
let r = w_(n.state, e);
|
35587
35589
|
return r ? nl(n, r) : !1;
|
@@ -35731,7 +35733,7 @@ function Pw(n, e) {
|
|
35731
35733
|
}
|
35732
35734
|
function Iw(n, e, t) {
|
35733
35735
|
let i = n.state.selection;
|
35734
|
-
if (i instanceof
|
35736
|
+
if (i instanceof Jt && !i.empty || t.indexOf("s") > -1 || Rs && t.indexOf("m") > -1)
|
35735
35737
|
return !1;
|
35736
35738
|
let { $from: r, $to: l } = i;
|
35737
35739
|
if (!r.parent.inlineContent || n.endOfTextblock(e < 0 ? "up" : "down")) {
|
@@ -35746,7 +35748,7 @@ function Iw(n, e, t) {
|
|
35746
35748
|
return !1;
|
35747
35749
|
}
|
35748
35750
|
function Dw(n, e) {
|
35749
|
-
if (!(n.state.selection instanceof
|
35751
|
+
if (!(n.state.selection instanceof Jt))
|
35750
35752
|
return !0;
|
35751
35753
|
let { $head: t, $anchor: i, empty: r } = n.state.selection;
|
35752
35754
|
if (!t.sameParent(i))
|
@@ -36062,7 +36064,7 @@ Fr.keypress = (n, e) => {
|
|
36062
36064
|
return;
|
36063
36065
|
}
|
36064
36066
|
let i = n.state.selection;
|
36065
|
-
if (!(i instanceof
|
36067
|
+
if (!(i instanceof Jt) || !i.$from.sameParent(i.$to)) {
|
36066
36068
|
let r = String.fromCharCode(t.charCode);
|
36067
36069
|
!/[\r\n]/.test(r) && !n.someProp("handleTextInput", (l) => l(n, i.$from.pos, i.$to.pos, r)) && n.dispatch(n.state.tr.insertText(r).scrollIntoView()), t.preventDefault();
|
36068
36070
|
}
|
@@ -36124,12 +36126,12 @@ function mB(n, e, t) {
|
|
36124
36126
|
return !1;
|
36125
36127
|
let i = n.state.doc;
|
36126
36128
|
if (e == -1)
|
36127
|
-
return i.inlineContent ? (Zu(n,
|
36129
|
+
return i.inlineContent ? (Zu(n, Jt.create(i, 0, i.content.size)), !0) : !1;
|
36128
36130
|
let r = i.resolve(e);
|
36129
36131
|
for (let l = r.depth + 1; l > 0; l--) {
|
36130
36132
|
let u = l > r.depth ? r.nodeAfter : r.node(l), a = r.before(l);
|
36131
36133
|
if (u.inlineContent)
|
36132
|
-
Zu(n,
|
36134
|
+
Zu(n, Jt.create(i, a + 1, a + 1 + u.content.size));
|
36133
36135
|
else if ($t.isSelectable(u))
|
36134
36136
|
Zu(n, $t.create(i, a));
|
36135
36137
|
else
|
@@ -36210,7 +36212,7 @@ Fr.compositionstart = Fr.compositionupdate = (n) => {
|
|
36210
36212
|
if (!n.composing) {
|
36211
36213
|
n.domObserver.flush();
|
36212
36214
|
let { state: e } = n, t = e.selection.$to;
|
36213
|
-
if (e.selection instanceof
|
36215
|
+
if (e.selection instanceof Jt && (e.storedMarks || !t.textOffset && t.parentOffset && t.nodeBefore.marks.some((i) => i.type.spec.inclusive === !1)))
|
36214
36216
|
n.markCursor = n.state.storedMarks || t.marks(), Pm(n, !0), n.markCursor = null;
|
36215
36217
|
else if (Pm(n, !e.selection.empty), ro && e.selection.empty && t.parentOffset && !t.textOffset && t.nodeBefore.marks.length) {
|
36216
36218
|
let i = n.domSelectionRange();
|
@@ -37186,7 +37188,7 @@ function RB(n, e, t, i, r) {
|
|
37186
37188
|
return;
|
37187
37189
|
}
|
37188
37190
|
if (!D)
|
37189
|
-
if (i && m instanceof
|
37191
|
+
if (i && m instanceof Jt && !m.empty && m.$head.sameParent(m.$anchor) && !n.composing && !(_.sel && _.sel.anchor != _.sel.head))
|
37190
37192
|
D = { start: m.from, endA: m.to, endB: m.to };
|
37191
37193
|
else {
|
37192
37194
|
if (_.sel) {
|
@@ -37198,7 +37200,7 @@ function RB(n, e, t, i, r) {
|
|
37198
37200
|
}
|
37199
37201
|
return;
|
37200
37202
|
}
|
37201
|
-
n.state.selection.from < n.state.selection.to && D.start == D.endB && n.state.selection instanceof
|
37203
|
+
n.state.selection.from < n.state.selection.to && D.start == D.endB && n.state.selection instanceof Jt && (D.start > n.state.selection.from && D.start <= n.state.selection.from + 2 && n.state.selection.from >= _.from ? D.start = n.state.selection.from : D.endA < n.state.selection.to && D.endA >= n.state.selection.to - 2 && n.state.selection.to <= _.to && (D.endB += n.state.selection.to - D.endA, D.endA = n.state.selection.to)), Yr && fl <= 11 && D.endB == D.start + 1 && D.endA == D.start && D.start > _.from && _.doc.textBetween(D.start - _.from - 1, D.start - _.from + 1) == " " && (D.start--, D.endA--, D.endB--);
|
37202
37204
|
let L = _.doc.resolveNoCache(D.start - _.from), B = _.doc.resolveNoCache(D.endB - _.from), Z = k.resolve(D.start), ee = L.sameParent(B) && L.parent.inlineContent && Z.end() >= D.endA, pe;
|
37203
37205
|
if ((Qu && n.input.lastIOSEnter > Date.now() - 225 && (!ee || r.some((Fe) => Fe.nodeName == "DIV" || Fe.nodeName == "P")) || !ee && L.pos < _.doc.content.size && !L.sameParent(B) && (pe = ln.findFrom(_.doc.resolve(L.pos + 1), 1, !0)) && pe.head == B.pos) && n.someProp("handleKeyDown", (Fe) => Fe(n, cc(13, "Enter")))) {
|
37204
37206
|
n.input.lastIOSEnter = 0;
|
@@ -37896,7 +37898,7 @@ function oC(n, e, t) {
|
|
37896
37898
|
return !1;
|
37897
37899
|
if (t) {
|
37898
37900
|
let k = n.tr.step(_);
|
37899
|
-
k.setSelection(
|
37901
|
+
k.setSelection(Jt.create(k.doc, l)), t(k.scrollIntoView());
|
37900
37902
|
}
|
37901
37903
|
return !0;
|
37902
37904
|
}
|
@@ -38038,7 +38040,7 @@ const oN = (n, e) => {
|
|
38038
38040
|
return !1;
|
38039
38041
|
if (e) {
|
38040
38042
|
let u = (!i.parentOffset && r.index() < r.parent.childCount ? i : r).pos, a = n.tr.insert(u, l.createAndFill());
|
38041
|
-
a.setSelection(
|
38043
|
+
a.setSelection(Jt.create(a.doc, u + 1)), e(a.scrollIntoView());
|
38042
38044
|
}
|
38043
38045
|
return !0;
|
38044
38046
|
}, lN = (n, e) => {
|
@@ -38107,7 +38109,7 @@ function uC(n) {
|
|
38107
38109
|
return !1;
|
38108
38110
|
l--;
|
38109
38111
|
}
|
38110
|
-
return r.node(l).isTextblock ? (t && t(e.tr.setSelection(
|
38112
|
+
return r.node(l).isTextblock ? (t && t(e.tr.setSelection(Jt.create(e.doc, n < 0 ? r.start(l) : r.end(l)))), !0) : !1;
|
38111
38113
|
};
|
38112
38114
|
}
|
38113
38115
|
const hN = uC(-1), dN = uC(1);
|
@@ -39180,7 +39182,7 @@ const LN = Yi.create({
|
|
39180
39182
|
const { state: r } = t, l = r.doc.slice(n.from, n.to);
|
39181
39183
|
i.deleteRange(n.from, n.to);
|
39182
39184
|
const u = i.mapping.map(e);
|
39183
|
-
return i.insert(u, l.content), i.setSelection(new
|
39185
|
+
return i.insert(u, l.content), i.setSelection(new Jt(i.doc.resolve(u - 1))), !0;
|
39184
39186
|
}, UN = () => ({ tr: n, dispatch: e }) => {
|
39185
39187
|
const { selection: t } = n, i = t.$anchor.node();
|
39186
39188
|
if (i.content.size > 0)
|
@@ -39254,7 +39256,7 @@ const YN = (n, e = {}) => ({ tr: t, state: i, dispatch: r }) => {
|
|
39254
39256
|
if (r) {
|
39255
39257
|
const S = Rv(m, l, e);
|
39256
39258
|
if (S && S.from <= _ && S.to >= k) {
|
39257
|
-
const T =
|
39259
|
+
const T = Jt.create(u, S.from, S.to);
|
39258
39260
|
t.setSelection(T);
|
39259
39261
|
}
|
39260
39262
|
}
|
@@ -39267,7 +39269,7 @@ const YN = (n, e = {}) => ({ tr: t, state: i, dispatch: r }) => {
|
|
39267
39269
|
return !1;
|
39268
39270
|
};
|
39269
39271
|
function Lv(n) {
|
39270
|
-
return n instanceof
|
39272
|
+
return n instanceof Jt;
|
39271
39273
|
}
|
39272
39274
|
function _a(n = 0, e = 0, t = 0) {
|
39273
39275
|
return Math.min(Math.max(n, e), t);
|
@@ -39281,7 +39283,7 @@ function gC(n, e = null) {
|
|
39281
39283
|
if (e === "end")
|
39282
39284
|
return i;
|
39283
39285
|
const r = t.from, l = i.to;
|
39284
|
-
return e === "all" ?
|
39286
|
+
return e === "all" ? Jt.create(n, _a(0, r, l), _a(n.content.size, r, l)) : Jt.create(n, _a(e, r, l), _a(e, r, l));
|
39285
39287
|
}
|
39286
39288
|
function Fv() {
|
39287
39289
|
return [
|
@@ -39765,7 +39767,7 @@ const O$ = (n, e = {}) => ({ tr: t, state: i, dispatch: r }) => {
|
|
39765
39767
|
return !0;
|
39766
39768
|
}, F$ = (n) => ({ tr: e, dispatch: t }) => {
|
39767
39769
|
if (t) {
|
39768
|
-
const { doc: i } = e, { from: r, to: l } = typeof n == "number" ? { from: n, to: n } : n, u =
|
39770
|
+
const { doc: i } = e, { from: r, to: l } = typeof n == "number" ? { from: n, to: n } : n, u = Jt.atStart(i).from, a = Jt.atEnd(i).to, m = _a(r, u, a), _ = _a(l, u, a), k = Jt.create(i, m, _);
|
39769
39771
|
e.setSelection(k);
|
39770
39772
|
}
|
39771
39773
|
return !0;
|
@@ -39799,7 +39801,7 @@ const N$ = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, edit
|
|
39799
39801
|
attrs: k
|
39800
39802
|
}
|
39801
39803
|
] : void 0), i) {
|
39802
|
-
if (D && (l instanceof
|
39804
|
+
if (D && (l instanceof Jt && e.deleteSelection(), e.split(e.mapping.map(a.pos), 1, E), T && !S && !a.parentOffset && a.parent.type !== T)) {
|
39803
39805
|
const L = e.mapping.map(a.before()), B = e.doc.resolve(L);
|
39804
39806
|
a.node(-1).canReplaceWith(B.index(), B.index() + 1, T) && e.setNodeMarkup(e.mapping.map(a.before()), T);
|
39805
39807
|
}
|
@@ -39835,7 +39837,7 @@ const N$ = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: i, edit
|
|
39835
39837
|
if (ze > -1)
|
39836
39838
|
return !1;
|
39837
39839
|
it.isTextblock && it.content.size === 0 && (ze = Fe + 1);
|
39838
|
-
}), ze > -1 && t.setSelection(
|
39840
|
+
}), ze > -1 && t.setSelection(Jt.near(t.doc.resolve(ze))), t.scrollIntoView();
|
39839
39841
|
}
|
39840
39842
|
return !0;
|
39841
39843
|
}
|
@@ -42232,15 +42234,15 @@ function j6(n, e) {
|
|
42232
42234
|
if (Mt === void 0 && (Mt = !0), it.forEach(function(Je) {
|
42233
42235
|
Je[ke] && Je[ke].apply(Je, Le);
|
42234
42236
|
}), Mt) {
|
42235
|
-
var
|
42236
|
-
(
|
42237
|
+
var Qt;
|
42238
|
+
(Qt = U.props)[ke].apply(Qt, Le);
|
42237
42239
|
}
|
42238
42240
|
}
|
42239
42241
|
function zn() {
|
42240
42242
|
var ke = U.props.aria;
|
42241
42243
|
if (ke.content) {
|
42242
|
-
var Le = "aria-" + ke.content, Mt = Te.id,
|
42243
|
-
|
42244
|
+
var Le = "aria-" + ke.content, Mt = Te.id, Qt = Fu(U.props.triggerTarget || n);
|
42245
|
+
Qt.forEach(function(Je) {
|
42244
42246
|
var Wn = Je.getAttribute(Le);
|
42245
42247
|
if (U.state.isVisible)
|
42246
42248
|
Je.setAttribute(Le, Wn ? Wn + " " + Mt : Mt);
|
@@ -42305,17 +42307,17 @@ function j6(n, e) {
|
|
42305
42307
|
}
|
42306
42308
|
function Xe(ke, Le) {
|
42307
42309
|
var Mt = jt().box;
|
42308
|
-
function
|
42309
|
-
Je.target === Mt && (O0(Mt, "remove",
|
42310
|
+
function Qt(Je) {
|
42311
|
+
Je.target === Mt && (O0(Mt, "remove", Qt), Le());
|
42310
42312
|
}
|
42311
42313
|
if (ke === 0)
|
42312
42314
|
return Le();
|
42313
|
-
O0(Mt, "remove", S), O0(Mt, "add",
|
42315
|
+
O0(Mt, "remove", S), O0(Mt, "add", Qt), S = Qt;
|
42314
42316
|
}
|
42315
42317
|
function ct(ke, Le, Mt) {
|
42316
42318
|
Mt === void 0 && (Mt = !1);
|
42317
|
-
var
|
42318
|
-
|
42319
|
+
var Qt = Fu(U.props.triggerTarget || n);
|
42320
|
+
Qt.forEach(function(Je) {
|
42319
42321
|
Je.addEventListener(ke, Le, Mt), E.push({
|
42320
42322
|
node: Je,
|
42321
42323
|
eventType: ke,
|
@@ -42346,23 +42348,23 @@ function j6(n, e) {
|
|
42346
42348
|
}
|
42347
42349
|
function pn() {
|
42348
42350
|
E.forEach(function(ke) {
|
42349
|
-
var Le = ke.node, Mt = ke.eventType,
|
42350
|
-
Le.removeEventListener(Mt,
|
42351
|
+
var Le = ke.node, Mt = ke.eventType, Qt = ke.handler, Je = ke.options;
|
42352
|
+
Le.removeEventListener(Mt, Qt, Je);
|
42351
42353
|
}), E = [];
|
42352
42354
|
}
|
42353
42355
|
function Bt(ke) {
|
42354
42356
|
var Le, Mt = !1;
|
42355
42357
|
if (!(!U.state.isEnabled || Rn(ke) || a)) {
|
42356
|
-
var
|
42358
|
+
var Qt = ((Le = k) == null ? void 0 : Le.type) === "focus";
|
42357
42359
|
k = ke, L = ke.currentTarget, Mn(), !U.state.isVisible && k6(ke) && Jf.forEach(function(Je) {
|
42358
42360
|
return Je(ke);
|
42359
|
-
}), ke.type === "click" && (U.props.trigger.indexOf("mouseenter") < 0 || u) && U.props.hideOnClick !== !1 && U.state.isVisible ? Mt = !0 : ur(ke), ke.type === "click" && (u = !Mt), Mt && !
|
42361
|
+
}), ke.type === "click" && (U.props.trigger.indexOf("mouseenter") < 0 || u) && U.props.hideOnClick !== !1 && U.state.isVisible ? Mt = !0 : ur(ke), ke.type === "click" && (u = !Mt), Mt && !Qt && Ii(ke);
|
42360
42362
|
}
|
42361
42363
|
}
|
42362
42364
|
function Rt(ke) {
|
42363
42365
|
var Le = ke.target, Mt = nt().contains(Le) || Te.contains(Le);
|
42364
42366
|
if (!(ke.type === "mousemove" && Mt)) {
|
42365
|
-
var
|
42367
|
+
var Qt = cr().concat(Te).map(function(Je) {
|
42366
42368
|
var Wn, li = Je._tippy, Xi = (Wn = li.popperInstance) == null ? void 0 : Wn.state;
|
42367
42369
|
return Xi ? {
|
42368
42370
|
popperRect: Je.getBoundingClientRect(),
|
@@ -42370,7 +42372,7 @@ function j6(n, e) {
|
|
42370
42372
|
props: t
|
42371
42373
|
} : null;
|
42372
42374
|
}).filter(Boolean);
|
42373
|
-
M6(
|
42375
|
+
M6(Qt, ke) && (Hn(), Ii(ke));
|
42374
42376
|
}
|
42375
42377
|
}
|
42376
42378
|
function gn(ke) {
|
@@ -42391,7 +42393,7 @@ function j6(n, e) {
|
|
42391
42393
|
}
|
42392
42394
|
function ws() {
|
42393
42395
|
cn();
|
42394
|
-
var ke = U.props, Le = ke.popperOptions, Mt = ke.placement,
|
42396
|
+
var ke = U.props, Le = ke.popperOptions, Mt = ke.placement, Qt = ke.offset, Je = ke.getReferenceClientRect, Wn = ke.moveTransition, li = _t() ? R_(Te).arrow : null, Xi = Je ? {
|
42395
42397
|
getBoundingClientRect: Je,
|
42396
42398
|
contextElement: Je.contextElement || nt()
|
42397
42399
|
} : n, Mr = {
|
@@ -42411,7 +42413,7 @@ function j6(n, e) {
|
|
42411
42413
|
}, se = [{
|
42412
42414
|
name: "offset",
|
42413
42415
|
options: {
|
42414
|
-
offset:
|
42416
|
+
offset: Qt
|
42415
42417
|
}
|
42416
42418
|
}, {
|
42417
42419
|
name: "preventOverflow",
|
@@ -42464,8 +42466,8 @@ function j6(n, e) {
|
|
42464
42466
|
}
|
42465
42467
|
function ur(ke) {
|
42466
42468
|
U.clearDelayTimeouts(), ke && tn("onTrigger", [U, ke]), Jn();
|
42467
|
-
var Le = Ht(!0), Mt = yt(),
|
42468
|
-
ko.isTouch &&
|
42469
|
+
var Le = Ht(!0), Mt = yt(), Qt = Mt[0], Je = Mt[1];
|
42470
|
+
ko.isTouch && Qt === "hold" && Je && (Le = Je), Le ? i = setTimeout(function() {
|
42469
42471
|
U.show();
|
42470
42472
|
}, Le) : U.show();
|
42471
42473
|
}
|
@@ -42498,10 +42500,10 @@ function j6(n, e) {
|
|
42498
42500
|
var Le = U.props, Mt = yk(n, Object.assign({}, Le, dk(ke), {
|
42499
42501
|
ignoreAttributes: !0
|
42500
42502
|
}));
|
42501
|
-
U.props = Mt, qt(), Le.interactiveDebounce !== Mt.interactiveDebounce && (Hn(), D = uk(Rt, Mt.interactiveDebounce)), Le.triggerTarget && !Mt.triggerTarget ? Fu(Le.triggerTarget).forEach(function(
|
42502
|
-
|
42503
|
-
}) : Mt.triggerTarget && n.removeAttribute("aria-expanded"), Mn(), Vt(), ze && ze(Le, Mt), U.popperInstance && (ws(), cr().forEach(function(
|
42504
|
-
requestAnimationFrame(
|
42503
|
+
U.props = Mt, qt(), Le.interactiveDebounce !== Mt.interactiveDebounce && (Hn(), D = uk(Rt, Mt.interactiveDebounce)), Le.triggerTarget && !Mt.triggerTarget ? Fu(Le.triggerTarget).forEach(function(Qt) {
|
42504
|
+
Qt.removeAttribute("aria-expanded");
|
42505
|
+
}) : Mt.triggerTarget && n.removeAttribute("aria-expanded"), Mn(), Vt(), ze && ze(Le, Mt), U.popperInstance && (ws(), cr().forEach(function(Qt) {
|
42506
|
+
requestAnimationFrame(Qt._tippy.popperInstance.forceUpdate);
|
42505
42507
|
})), tn("onAfterUpdate", [U, ke]);
|
42506
42508
|
}
|
42507
42509
|
}
|
@@ -42512,8 +42514,8 @@ function j6(n, e) {
|
|
42512
42514
|
}
|
42513
42515
|
function Nr() {
|
42514
42516
|
process.env.NODE_ENV !== "production" && da(U.state.isDestroyed, Ou("show"));
|
42515
|
-
var ke = U.state.isVisible, Le = U.state.isDestroyed, Mt = !U.state.isEnabled,
|
42516
|
-
if (!(ke || Le || Mt ||
|
42517
|
+
var ke = U.state.isVisible, Le = U.state.isDestroyed, Mt = !U.state.isEnabled, Qt = ko.isTouch && !U.props.touch, Je = I0(U.props.duration, 0, gs.duration);
|
42518
|
+
if (!(ke || Le || Mt || Qt) && !nt().hasAttribute("disabled") && (tn("onShow", [U], !1), U.props.onShow(U) !== !1)) {
|
42517
42519
|
if (U.state.isVisible = !0, _t() && (Te.style.visibility = "visible"), Vt(), Jn(), U.state.isMounted || (Te.style.transition = "none"), _t()) {
|
42518
42520
|
var Wn = jt(), li = Wn.box, Xi = Wn.content;
|
42519
42521
|
D0([li, Xi], 0);
|
@@ -42534,13 +42536,13 @@ function j6(n, e) {
|
|
42534
42536
|
}
|
42535
42537
|
function Oi() {
|
42536
42538
|
process.env.NODE_ENV !== "production" && da(U.state.isDestroyed, Ou("hide"));
|
42537
|
-
var ke = !U.state.isVisible, Le = U.state.isDestroyed, Mt = !U.state.isEnabled,
|
42539
|
+
var ke = !U.state.isVisible, Le = U.state.isDestroyed, Mt = !U.state.isEnabled, Qt = I0(U.props.duration, 1, gs.duration);
|
42538
42540
|
if (!(ke || Le || Mt) && (tn("onHide", [U], !1), U.props.onHide(U) !== !1)) {
|
42539
42541
|
if (U.state.isVisible = !1, U.state.isShown = !1, _ = !1, u = !1, _t() && (Te.style.visibility = "hidden"), Hn(), ni(), Vt(!0), _t()) {
|
42540
42542
|
var Je = jt(), Wn = Je.box, li = Je.content;
|
42541
|
-
U.props.animation && (D0([Wn, li],
|
42543
|
+
U.props.animation && (D0([Wn, li], Qt), pk([Wn, li], "hidden"));
|
42542
42544
|
}
|
42543
|
-
zn(), Mn(), U.props.animation ? _t() && Ee(
|
42545
|
+
zn(), Mn(), U.props.animation ? _t() && Ee(Qt, U.unmount) : U.unmount();
|
42544
42546
|
}
|
42545
42547
|
}
|
42546
42548
|
function $r(ke) {
|
@@ -43340,7 +43342,7 @@ const G6 = /^\s*>\s$/, Z6 = qs.create({
|
|
43340
43342
|
return !1;
|
43341
43343
|
const { tr: u, schema: a } = n.state, m = a.text(t.replace(/\r\n?/g, `
|
43342
43344
|
`));
|
43343
|
-
return u.replaceSelectionWith(this.type.create({ language: l }, m)), u.selection.$from.parent.type !== this.type && u.setSelection(
|
43345
|
+
return u.replaceSelectionWith(this.type.create({ language: l }, m)), u.selection.$from.parent.type !== this.type && u.setSelection(Jt.near(u.doc.resolve(Math.max(0, u.selection.from - 2)))), u.setMeta("paste", !0), n.dispatch(u), !0;
|
43344
43346
|
}
|
43345
43347
|
}
|
43346
43348
|
})
|
@@ -43602,7 +43604,7 @@ function Qf(n, e) {
|
|
43602
43604
|
const t = n == "vert" ? e > 0 ? "down" : "up" : e > 0 ? "right" : "left";
|
43603
43605
|
return function(i, r, l) {
|
43604
43606
|
let u = i.selection, a = e > 0 ? u.$to : u.$from, m = u.empty;
|
43605
|
-
if (u instanceof
|
43607
|
+
if (u instanceof Jt) {
|
43606
43608
|
if (!l.endOfTextblock(t) || a.depth == 0)
|
43607
43609
|
return !1;
|
43608
43610
|
m = !1, a = i.doc.resolve(e > 0 ? a.after() : a.before());
|
@@ -43630,7 +43632,7 @@ function gj(n, e) {
|
|
43630
43632
|
for (let u = i.length - 1; u >= 0; u--)
|
43631
43633
|
r = Ve.from(i[u].createAndFill(null, r));
|
43632
43634
|
let l = n.state.tr.replace(t.pos, t.pos, new ft(r, 0, 0));
|
43633
|
-
return l.setSelection(
|
43635
|
+
return l.setSelection(Jt.near(l.doc.resolve(t.pos + 1))), n.dispatch(l), !1;
|
43634
43636
|
}
|
43635
43637
|
function yj(n) {
|
43636
43638
|
if (!(n.selection instanceof vi))
|
@@ -44151,10 +44153,10 @@ const ZC = GC(!1, !0), YC = GC(!0, !0), Pj = Yi.create({
|
|
44151
44153
|
if (a) {
|
44152
44154
|
const { $to: _ } = u.selection, k = _.end();
|
44153
44155
|
if (_.nodeAfter)
|
44154
|
-
_.nodeAfter.isTextblock ? u.setSelection(
|
44156
|
+
_.nodeAfter.isTextblock ? u.setSelection(Jt.create(u.doc, _.pos + 1)) : _.nodeAfter.isBlock ? u.setSelection($t.create(u.doc, _.pos)) : u.setSelection(Jt.create(u.doc, _.pos));
|
44155
44157
|
else {
|
44156
44158
|
const S = (m = _.parent.type.contentMatch.defaultType) === null || m === void 0 ? void 0 : m.create();
|
44157
|
-
S && (u.insert(k, S), u.setSelection(
|
44159
|
+
S && (u.insert(k, S), u.setSelection(Jt.create(u.doc, k + 1)));
|
44158
44160
|
}
|
44159
44161
|
u.scrollIntoView();
|
44160
44162
|
}
|
@@ -44996,7 +44998,7 @@ const x8 = /* @__PURE__ */ xt(y8, [["render", v8]]), b8 = {
|
|
44996
44998
|
}, w8 = { class: "relative flex" }, k8 = { class: "flex w-[160px] flex-wrap gap-[4px]" }, S8 = ["onClick"];
|
44997
44999
|
function T8(n, e, t, i, r, l) {
|
44998
45000
|
const u = gt("IconA"), a = gt("VsPopover");
|
44999
|
-
return oe(),
|
45001
|
+
return oe(), en(a, {
|
45000
45002
|
ref: "popover",
|
45001
45003
|
placement: "bottom"
|
45002
45004
|
}, {
|
@@ -45064,7 +45066,7 @@ const KC = /* @__PURE__ */ xt(M8, [["render", A8]]), P8 = {
|
|
45064
45066
|
};
|
45065
45067
|
function I8(n, e, t, i, r, l) {
|
45066
45068
|
const u = gt("IconMore"), a = gt("VsPopover");
|
45067
|
-
return oe(),
|
45069
|
+
return oe(), en(a, {
|
45068
45070
|
ref: "popover",
|
45069
45071
|
placement: "bottom"
|
45070
45072
|
}, {
|
@@ -45235,7 +45237,7 @@ function F8(n, e, t, i, r, l) {
|
|
45235
45237
|
const u = gt("EditorContent");
|
45236
45238
|
return oe(), me("div", R8, [
|
45237
45239
|
r.editor ? (oe(), me("div", L8, [
|
45238
|
-
(oe(!0), me(Gt, null, $n(l.controlsList, (a, m) => (oe(),
|
45240
|
+
(oe(!0), me(Gt, null, $n(l.controlsList, (a, m) => (oe(), en(va(a), {
|
45239
45241
|
key: m,
|
45240
45242
|
editor: r.editor
|
45241
45243
|
}, null, 8, ["editor"]))), 128))
|
@@ -45321,7 +45323,7 @@ const W8 = /* @__PURE__ */ xt(N8, [["render", q8]]), G8 = {
|
|
45321
45323
|
isCommentActionVisible: !1,
|
45322
45324
|
isOpen: !1,
|
45323
45325
|
hovered: !1,
|
45324
|
-
windowWidth:
|
45326
|
+
windowWidth: null,
|
45325
45327
|
textareaValue: ""
|
45326
45328
|
};
|
45327
45329
|
},
|
@@ -45358,7 +45360,7 @@ const W8 = /* @__PURE__ */ xt(N8, [["render", q8]]), G8 = {
|
|
45358
45360
|
},
|
45359
45361
|
methods: {
|
45360
45362
|
updateWindowWidth() {
|
45361
|
-
this.windowWidth = window.innerWidth;
|
45363
|
+
this.windowWidth = typeof window > "u" ? null : window == null ? void 0 : window.innerWidth;
|
45362
45364
|
},
|
45363
45365
|
confirnDeleteComment() {
|
45364
45366
|
document.body.click(), this.$emit("openModal", {
|
@@ -45564,9 +45566,9 @@ function yU(n, e, t, i, r, l) {
|
|
45564
45566
|
const u = gt("VsErrorOnLoading"), a = gt("VsWidgetCommentsItem"), m = gt("VsLoader"), _ = gt("VsDialog");
|
45565
45567
|
return oe(), me("div", hU, [
|
45566
45568
|
r.isLoaded ? (oe(), me(Gt, { key: 0 }, [
|
45567
|
-
r.isLoadFailed ? (oe(),
|
45569
|
+
r.isLoadFailed ? (oe(), en(u, { key: 0 })) : (oe(), me(Gt, { key: 1 }, [
|
45568
45570
|
(k = r.comments) != null && k.length ? (oe(), me("div", dU, [
|
45569
|
-
(oe(!0), me(Gt, null, $n(r.comments, (S, T) => (oe(),
|
45571
|
+
(oe(!0), me(Gt, null, $n(r.comments, (S, T) => (oe(), en(a, {
|
45570
45572
|
key: T,
|
45571
45573
|
comment: S,
|
45572
45574
|
user: r.user,
|
@@ -45580,7 +45582,7 @@ function yU(n, e, t, i, r, l) {
|
|
45580
45582
|
V("p", { class: "pl-3 text-sm font-medium text-gray-600" }, " Коментарі відсутні ", -1)
|
45581
45583
|
])))
|
45582
45584
|
], 64))
|
45583
|
-
], 64)) : (oe(),
|
45585
|
+
], 64)) : (oe(), en(m, {
|
45584
45586
|
key: 1,
|
45585
45587
|
class: "justify-center",
|
45586
45588
|
text: "Please wait..."
|
@@ -45653,7 +45655,7 @@ function kU(n, e, t, i, r, l) {
|
|
45653
45655
|
V("div", bU, [
|
45654
45656
|
dt(Vm, { name: "fade" }, {
|
45655
45657
|
default: un(() => [
|
45656
|
-
r.isEditorOpen ? (oe(),
|
45658
|
+
r.isEditorOpen ? (oe(), en(u, {
|
45657
45659
|
key: 0,
|
45658
45660
|
modelValue: r.commentContent,
|
45659
45661
|
"onUpdate:modelValue": e[0] || (e[0] = (a) => r.commentContent = a),
|
@@ -45902,7 +45904,7 @@ function KU(n, e, t, i, r, l) {
|
|
45902
45904
|
(oe(!0), me(Gt, null, $n(n.item.changes, (m, _) => (oe(), me("div", { key: _ }, [
|
45903
45905
|
m.attr === "geom" ? (oe(), me("div", GU, [
|
45904
45906
|
e[1] || (e[1] = V("p", null, "Додана геометрія:", -1)),
|
45905
|
-
m.new ? (oe(),
|
45907
|
+
m.new ? (oe(), en(a, {
|
45906
45908
|
key: 0,
|
45907
45909
|
point: m.new
|
45908
45910
|
}, null, 8, ["point"])) : Kt("", !0)
|
@@ -46241,7 +46243,7 @@ const TH = /* @__PURE__ */ xt(wH, [["render", SH]]), CH = { class: "flex justify
|
|
46241
46243
|
};
|
46242
46244
|
function AH(n, e, t, i, r, l) {
|
46243
46245
|
var u, a, m, _, k, S, T, E;
|
46244
|
-
return oe(),
|
46246
|
+
return oe(), en(va(
|
46245
46247
|
((u = t.column) == null ? void 0 : u.format) === "custom" ? (a = t.column) == null ? void 0 : a.component : `table-format-${((_ = (m = t.column) == null ? void 0 : m.format) == null ? void 0 : _.toLowerCase()) || "text"}`
|
46246
46248
|
), {
|
46247
46249
|
onUpdateTable: e[0] || (e[0] = (D) => n.$emit("update-table")),
|
@@ -46327,7 +46329,7 @@ function FH(n, e, t, i, r, l) {
|
|
46327
46329
|
class: "fixed filter-container top-0 flex justify-end items-center z-[2] right-0 left-0 bottom-0 bg-[rgba(0,0,0,0.5)]"
|
46328
46330
|
}, [
|
46329
46331
|
V("div", LH, [
|
46330
|
-
(m = t.scheme) != null && m.length ? (oe(),
|
46332
|
+
(m = t.scheme) != null && m.length ? (oe(), en(a, {
|
46331
46333
|
key: 0,
|
46332
46334
|
ref: "filter",
|
46333
46335
|
scheme: t.scheme,
|
@@ -46414,7 +46416,7 @@ const BH = /* @__PURE__ */ xt(zH, [["render", FH]]), NH = { class: "h-full" }, $
|
|
46414
46416
|
placeholder: "Пошук..."
|
46415
46417
|
}, null, 8, ["modelValue"]),
|
46416
46418
|
V("div", VH, [
|
46417
|
-
u.value ? (oe(),
|
46419
|
+
u.value ? (oe(), en(BH, {
|
46418
46420
|
key: 0,
|
46419
46421
|
scheme: u.value,
|
46420
46422
|
table: n.table,
|
@@ -46757,7 +46759,7 @@ const eM = /* @__PURE__ */ xt(Cq, [["render", Dq]]), Oq = {
|
|
46757
46759
|
]),
|
46758
46760
|
V("div", Bq, [
|
46759
46761
|
(S = t.value) != null && S.length ? (oe(), me("ul", Nq, [
|
46760
|
-
(oe(!0), me(Gt, null, $n(t.value, (T) => (oe(),
|
46762
|
+
(oe(!0), me(Gt, null, $n(t.value, (T) => (oe(), en(yq, {
|
46761
46763
|
key: T == null ? void 0 : T.id,
|
46762
46764
|
item: T,
|
46763
46765
|
onUpdateNotification: a
|
@@ -47474,7 +47476,7 @@ function m7(n, e, t, i, r, l) {
|
|
47474
47476
|
"onOn:toggled": (E) => l.toggleAll(E, T),
|
47475
47477
|
actions: t.options
|
47476
47478
|
}, null, 8, ["item", "onOn:toggled", "actions"]),
|
47477
|
-
(oe(!0), me(Gt, null, $n(S.menu, (E) => (oe(),
|
47479
|
+
(oe(!0), me(Gt, null, $n(S.menu, (E) => (oe(), en(m, {
|
47478
47480
|
toggled: (S == null ? void 0 : S.toggled) || !1,
|
47479
47481
|
optionID: S == null ? void 0 : S.optionID,
|
47480
47482
|
key: E == null ? void 0 : E.path,
|
@@ -47485,14 +47487,14 @@ function m7(n, e, t, i, r, l) {
|
|
47485
47487
|
}, null, 8, ["toggled", "optionID", "subitem", "actions", "onOn:checked", "routes"]))), 128))
|
47486
47488
|
]))), 128))
|
47487
47489
|
])
|
47488
|
-
])) : (oe(),
|
47490
|
+
])) : (oe(), en(_, { key: 1 }))
|
47489
47491
|
]);
|
47490
47492
|
}
|
47491
47493
|
const g7 = /* @__PURE__ */ xt(u7, [["render", m7]]), y7 = {
|
47492
47494
|
__name: "vs-group-interface-page",
|
47493
47495
|
setup(n) {
|
47494
47496
|
const e = ["view", "add", "edit", "del"];
|
47495
|
-
return (t, i) => (oe(),
|
47497
|
+
return (t, i) => (oe(), en(sl(g7), {
|
47496
47498
|
options: e,
|
47497
47499
|
routes: t.routes
|
47498
47500
|
}, null, 8, ["routes"]));
|
@@ -47644,7 +47646,7 @@ const F7 = /* @__PURE__ */ xt(P7, [["render", L7]]), B7 = {
|
|
47644
47646
|
}, N7 = { class: "flex w-[160px] flex-wrap gap-[4px]" }, $7 = ["onClick"];
|
47645
47647
|
function V7(n, e, t, i, r, l) {
|
47646
47648
|
const u = gt("VsPopover");
|
47647
|
-
return oe(),
|
47649
|
+
return oe(), en(u, {
|
47648
47650
|
ref: "popover",
|
47649
47651
|
placement: "bottom"
|
47650
47652
|
}, {
|
@@ -47874,7 +47876,7 @@ function oW(n, e, t, i, r, l) {
|
|
47874
47876
|
(T = (S = n.$route) == null ? void 0 : S.query) != null && T.name ? (oe(), me("div", rW, [
|
47875
47877
|
e[3] || (e[3] = V("h2", { class: "font-bold mb-[10px]" }, "Створити", -1)),
|
47876
47878
|
V("div", sW, [
|
47877
|
-
r.formVisible ? (oe(),
|
47879
|
+
r.formVisible ? (oe(), en(u, {
|
47878
47880
|
key: 0,
|
47879
47881
|
ref: "form",
|
47880
47882
|
scheme: r.scheme,
|
@@ -47896,12 +47898,12 @@ function oW(n, e, t, i, r, l) {
|
|
47896
47898
|
})
|
47897
47899
|
])
|
47898
47900
|
]),
|
47899
|
-
(D = (E = r.data) == null ? void 0 : E.children) != null && D.length ? (oe(),
|
47901
|
+
(D = (E = r.data) == null ? void 0 : E.children) != null && D.length ? (oe(), en(_, {
|
47900
47902
|
key: 0,
|
47901
47903
|
list: (L = r.data) == null ? void 0 : L.children,
|
47902
47904
|
onUpdateList: l.updateChildren
|
47903
47905
|
}, null, 8, ["list", "onUpdateList"])) : Kt("", !0)
|
47904
|
-
])) : (oe(),
|
47906
|
+
])) : (oe(), en(k, {
|
47905
47907
|
key: 1,
|
47906
47908
|
class: "mt-[100px]",
|
47907
47909
|
text: "Оберіть один з пунктів меню для відображення"
|
@@ -47974,7 +47976,7 @@ const hW = /* @__PURE__ */ xt(lW, [["render", uW]]), dW = { class: "h-[76px] bg-
|
|
47974
47976
|
V("h2", fW, wt(n.title), 1),
|
47975
47977
|
n.tableName ? (oe(), me("div", mW, wt(n.tableName), 1)) : Kt("", !0)
|
47976
47978
|
]),
|
47977
|
-
(oe(),
|
47979
|
+
(oe(), en(va(u.value))),
|
47978
47980
|
V("div", {
|
47979
47981
|
class: _i([{ "gap-[6px]": n.isHeaderEditButton }, "flex items-center ml-auto"])
|
47980
47982
|
}, [
|
@@ -48006,9 +48008,9 @@ const hW = /* @__PURE__ */ xt(lW, [["render", uW]]), dW = { class: "h-[76px] bg-
|
|
48006
48008
|
V("span", { class: "hidden sm:block ml-[8px]" }, "Повернутися до реєстру", -1)
|
48007
48009
|
])),
|
48008
48010
|
V("div", gW, [
|
48009
|
-
(oe(),
|
48011
|
+
(oe(), en(va(l.value)))
|
48010
48012
|
]),
|
48011
|
-
n.isHeaderEditButton ? (oe(),
|
48013
|
+
n.isHeaderEditButton ? (oe(), en(ee, {
|
48012
48014
|
key: 0,
|
48013
48015
|
to: m.value,
|
48014
48016
|
class: "inline-flex items-center px-3 py-2 text-sm font-medium text-white duration-300 bg-blue-600 border border-transparent rounded-lg gap-x-2 hover:bg-blue-700 hover:text-white"
|
@@ -48035,7 +48037,7 @@ const hW = /* @__PURE__ */ xt(lW, [["render", uW]]), dW = { class: "h-[76px] bg-
|
|
48035
48037
|
return (() => {
|
48036
48038
|
const k = e("CustomComponent", i.slot, ["data"]);
|
48037
48039
|
t.value = k;
|
48038
|
-
})(), (k, S) => (oe(),
|
48040
|
+
})(), (k, S) => (oe(), en(va(t.value), { data: n.objectData }, null, 8, ["data"]));
|
48039
48041
|
}
|
48040
48042
|
}, vW = {}, xW = {
|
48041
48043
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -48187,7 +48189,7 @@ function qW(n, e, t, i, r, l) {
|
|
48187
48189
|
var _, k, S, T;
|
48188
48190
|
const u = gt("AdminCardHeader"), a = gt("AdminCardAsyncComponent"), m = gt("IconChevron");
|
48189
48191
|
return oe(), me("div", SW, [
|
48190
|
-
r.objectData && ((_ = r.objectData) == null ? void 0 : _.isHeader) !== !1 ? (oe(),
|
48192
|
+
r.objectData && ((_ = r.objectData) == null ? void 0 : _.isHeader) !== !1 ? (oe(), en(u, {
|
48191
48193
|
key: 0,
|
48192
48194
|
title: l.getTitle,
|
48193
48195
|
tableName: l.getTable,
|
@@ -48210,7 +48212,7 @@ function qW(n, e, t, i, r, l) {
|
|
48210
48212
|
key: 0,
|
48211
48213
|
class: "p-[20px] border-t",
|
48212
48214
|
innerHTML: (B = r.objectData) == null ? void 0 : B.html[E == null ? void 0 : E.name]
|
48213
|
-
}, null, 8, MW)) : (oe(),
|
48215
|
+
}, null, 8, MW)) : (oe(), en(a, {
|
48214
48216
|
key: 1,
|
48215
48217
|
slot: (Z = r.objectData) == null ? void 0 : Z.vue[E == null ? void 0 : E.name],
|
48216
48218
|
data: (pe = (ee = r.objectData) == null ? void 0 : ee.rows) == null ? void 0 : pe[0],
|
@@ -48228,7 +48230,7 @@ function qW(n, e, t, i, r, l) {
|
|
48228
48230
|
key: 1,
|
48229
48231
|
class: _i(["p-[20px]", { "border-t": U == null ? void 0 : U.title }])
|
48230
48232
|
}, [
|
48231
|
-
(oe(),
|
48233
|
+
(oe(), en(va(U.component), Ny({
|
48232
48234
|
geometry: (ze = (Te = r.objectData) == null ? void 0 : Te.rows[0]) == null ? void 0 : ze.geom,
|
48233
48235
|
columns: U == null ? void 0 : U.columns,
|
48234
48236
|
token: (Fe = (it = r.objectData) == null ? void 0 : it.tokens) == null ? void 0 : Fe[U == null ? void 0 : U.token],
|
@@ -48243,7 +48245,7 @@ function qW(n, e, t, i, r, l) {
|
|
48243
48245
|
(nt = (_t = r.objectData) == null ? void 0 : _t.html) != null && nt[U == null ? void 0 : U.name] ? (oe(), me("div", {
|
48244
48246
|
key: 0,
|
48245
48247
|
innerHTML: (jt = (Dt = r.objectData) == null ? void 0 : Dt.html) == null ? void 0 : jt[U == null ? void 0 : U.name]
|
48246
|
-
}, null, 8, IW)) : (oe(),
|
48248
|
+
}, null, 8, IW)) : (oe(), en(a, {
|
48247
48249
|
key: 1,
|
48248
48250
|
slot: (Vt = (Ht = r.objectData) == null ? void 0 : Ht.vue) == null ? void 0 : Vt[U == null ? void 0 : U.name],
|
48249
48251
|
data: (zn = (tn = r.objectData) == null ? void 0 : tn.rows) == null ? void 0 : zn[0],
|
@@ -48269,7 +48271,7 @@ function qW(n, e, t, i, r, l) {
|
|
48269
48271
|
return oe(), me(Gt, { key: Pe }, [
|
48270
48272
|
r.component === (U == null ? void 0 : U.component) || r.component === (U == null ? void 0 : U.name) ? (oe(), me("div", zW, [
|
48271
48273
|
U != null && U.component ? (oe(), me("div", RW, [
|
48272
|
-
(oe(),
|
48274
|
+
(oe(), en(va(U.component), Ny({
|
48273
48275
|
data: r.objectData,
|
48274
48276
|
token: (ze = (Te = r.objectData) == null ? void 0 : Te.tokens) == null ? void 0 : ze[U == null ? void 0 : U.token],
|
48275
48277
|
columns: U == null ? void 0 : U.columns,
|
@@ -48284,7 +48286,7 @@ function qW(n, e, t, i, r, l) {
|
|
48284
48286
|
(nt = (_t = r.objectData) == null ? void 0 : _t.html) != null && nt[U == null ? void 0 : U.name] ? (oe(), me("div", {
|
48285
48287
|
key: 0,
|
48286
48288
|
innerHTML: (Dt = r.objectData) == null ? void 0 : Dt.html[U == null ? void 0 : U.name]
|
48287
|
-
}, null, 8, FW)) : (oe(),
|
48289
|
+
}, null, 8, FW)) : (oe(), en(a, {
|
48288
48290
|
key: 1,
|
48289
48291
|
slot: (jt = r.objectData) == null ? void 0 : jt.vue[U == null ? void 0 : U.name],
|
48290
48292
|
data: (Vt = (Ht = r.objectData) == null ? void 0 : Ht.rows) == null ? void 0 : Vt[0],
|
@@ -48324,7 +48326,7 @@ function qW(n, e, t, i, r, l) {
|
|
48324
48326
|
return oe(), me(Gt, { key: Pe }, [
|
48325
48327
|
r.component === (U == null ? void 0 : U.component) || r.component === (U == null ? void 0 : U.name) ? (oe(), me("div", VW, [
|
48326
48328
|
U != null && U.component ? (oe(), me("div", jW, [
|
48327
|
-
(oe(),
|
48329
|
+
(oe(), en(va(U.component), Ny({
|
48328
48330
|
token: (ze = (Te = r.objectData) == null ? void 0 : Te.tokens) == null ? void 0 : ze[U == null ? void 0 : U.token],
|
48329
48331
|
data: r.objectData,
|
48330
48332
|
columns: U == null ? void 0 : U.columns,
|
@@ -48339,7 +48341,7 @@ function qW(n, e, t, i, r, l) {
|
|
48339
48341
|
(nt = (_t = r.objectData) == null ? void 0 : _t.html) != null && nt[U == null ? void 0 : U.name] ? (oe(), me("div", {
|
48340
48342
|
key: 0,
|
48341
48343
|
innerHTML: (Dt = r.objectData) == null ? void 0 : Dt.html[U == null ? void 0 : U.name]
|
48342
|
-
}, null, 8, HW)) : (oe(),
|
48344
|
+
}, null, 8, HW)) : (oe(), en(a, {
|
48343
48345
|
key: 1,
|
48344
48346
|
slot: (jt = r.objectData) == null ? void 0 : jt.vue[U == null ? void 0 : U.name],
|
48345
48347
|
data: (Vt = (Ht = r.objectData) == null ? void 0 : Ht.rows) == null ? void 0 : Vt[0],
|
@@ -48489,7 +48491,7 @@ const t9 = /* @__PURE__ */ xt(JW, [["render", e9]]), n9 = async (n, e, t, i = 10
|
|
48489
48491
|
width: "20",
|
48490
48492
|
class: "text-gray-700 cursor-pointer"
|
48491
48493
|
}),
|
48492
|
-
(oe(),
|
48494
|
+
(oe(), en(tA, { to: "#modal" }, [
|
48493
48495
|
dt(Vm, { name: "fade" }, {
|
48494
48496
|
default: un(() => {
|
48495
48497
|
var L;
|