@opengis/form 0.0.162 → 0.0.163
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/{index-CYEeoLxG.js → index-C8E76wbx.js} +72 -70
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/src/components/inputs/vs-input-inline-select.vue.d.ts.map +1 -1
- package/dist/src/components/inputs/vs-input-select.vue.d.ts.map +1 -1
- package/dist/{vs-richtext-UDoUXGHe.js → vs-richtext-9bPmzXHt.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as fe, ref as M, createElementBlock as m, openBlock as i, Fragment as $e, createElementVNode as c, createBlock as be, renderSlot as at, createVNode as Q, unref as B, Teleport as tn, createCommentVNode as W, normalizeStyle as Ve, toDisplayString as ce, computed as w, mergeProps as Kt, createTextVNode as je, normalizeProps as dl, guardReactiveProps as cl, onMounted as
|
|
1
|
+
import { defineComponent as fe, ref as M, createElementBlock as m, openBlock as i, Fragment as $e, createElementVNode as c, createBlock as be, renderSlot as at, createVNode as Q, unref as B, Teleport as tn, createCommentVNode as W, normalizeStyle as Ve, toDisplayString as ce, computed as w, mergeProps as Kt, createTextVNode as je, normalizeProps as dl, guardReactiveProps as cl, onMounted as Xe, onUnmounted as sn, normalizeClass as re, mergeModels as Ee, useModel as Be, withDirectives as Le, vModelText as We, useAttrs as Wl, vModelCheckbox as Kl, resolveDynamicComponent as ct, withCtx as rt, withModifiers as Fe, onBeforeUnmount as Ut, watch as me, vModelRadio as Gl, inject as nt, renderList as Ie, reactive as fl, vModelDynamic as Ta, vShow as Rt, resolveComponent as wt, Transition as pl, isRef as Rn, nextTick as Je, defineAsyncComponent as Fa, createStaticVNode as ml, useSlots as Ea, getCurrentInstance as Yl, watchEffect as vn, withKeys as Pa, toRef as Oa, provide as nl } from "vue";
|
|
2
2
|
import { Info as Qt, Check as Zl, Mail as Ba, Phone as Ra, Table as Na, FileCode as ja, FileText as Nn, FileArchive as Ua, Trash2 as nn, Eye as Jl, Download as vl, Plus as xt, Upload as Xl, Search as Un, ChevronDown as bn, X as Mt, GripVertical as rn, Pencil as za, Circle as Ha, MapPin as Ql, Ruler as ea, Maximize as qa, ZoomIn as Wa, LoaderCircle as ta, Copy as Ka, ChevronRight as Ga, ChevronLeft as Ya } from "lucide-vue-next";
|
|
3
3
|
import { notify as Ce, VsModal as zn, modal as Za } from "@opengis/core";
|
|
4
4
|
const na = /* @__PURE__ */ fe({
|
|
@@ -191,7 +191,7 @@ const na = /* @__PURE__ */ fe({
|
|
|
191
191
|
const s = typeof localStorage < "u" ? localStorage.getItem("locale") : null;
|
|
192
192
|
n.value = s || "uk";
|
|
193
193
|
};
|
|
194
|
-
return
|
|
194
|
+
return Xe(() => {
|
|
195
195
|
try {
|
|
196
196
|
typeof localStorage < "u" && localStorage.locale && (n.value = localStorage.locale);
|
|
197
197
|
} catch {
|
|
@@ -727,7 +727,7 @@ const bo = ["placeholder", "disabled"], wo = /* @__PURE__ */ fe({
|
|
|
727
727
|
lazy: !1
|
|
728
728
|
};
|
|
729
729
|
}
|
|
730
|
-
return
|
|
730
|
+
return Xe(async () => {
|
|
731
731
|
if (l.value) {
|
|
732
732
|
const { default: s } = await import("./index-W-qQIppj.js"), u = r(t.mask || "");
|
|
733
733
|
a = s(l.value, u), a.on("accept", () => {
|
|
@@ -866,7 +866,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
866
866
|
const p = r.unmaskedValue ?? "";
|
|
867
867
|
l.value = p ? `+${p}` : "";
|
|
868
868
|
}
|
|
869
|
-
return
|
|
869
|
+
return Xe(async () => {
|
|
870
870
|
if (!a.value) return;
|
|
871
871
|
const { default: p } = await import("./index-W-qQIppj.js"), x = s(t.mask || "");
|
|
872
872
|
r = p(a.value, x), r.on("accept", f), r.on("complete", f);
|
|
@@ -1194,7 +1194,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
1194
1194
|
props: t,
|
|
1195
1195
|
formValues: p
|
|
1196
1196
|
});
|
|
1197
|
-
return
|
|
1197
|
+
return Xe(async () => {
|
|
1198
1198
|
await _();
|
|
1199
1199
|
}), ($, g) => (i(), m("div", {
|
|
1200
1200
|
class: re(u.value)
|
|
@@ -1323,7 +1323,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
1323
1323
|
o("update:modelValue", b.length === 0 ? [] : b);
|
|
1324
1324
|
},
|
|
1325
1325
|
{ deep: !0 }
|
|
1326
|
-
),
|
|
1326
|
+
), Xe(async () => {
|
|
1327
1327
|
if (await s(), typeof n.modelValue == "boolean" && u.value.length === 1) {
|
|
1328
1328
|
const b = f(u.value[0]);
|
|
1329
1329
|
l[b] = n.modelValue;
|
|
@@ -2199,7 +2199,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
2199
2199
|
};
|
|
2200
2200
|
return me(l, (S) => {
|
|
2201
2201
|
S && h();
|
|
2202
|
-
}),
|
|
2202
|
+
}), Xe(() => {
|
|
2203
2203
|
l.value && h();
|
|
2204
2204
|
}), (S, L) => {
|
|
2205
2205
|
const U = wt("Lightbox"), te = wt("MessageBox");
|
|
@@ -2977,13 +2977,13 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
2977
2977
|
}, ze = M(0), qe = async (E) => {
|
|
2978
2978
|
const oe = ++ze.value, ge = await He(E);
|
|
2979
2979
|
return oe !== ze.value ? null : ge;
|
|
2980
|
-
},
|
|
2980
|
+
}, Qe = async () => {
|
|
2981
2981
|
if (n.data) {
|
|
2982
2982
|
const E = await qe(C.value);
|
|
2983
2983
|
return E && Re(E), _e.value;
|
|
2984
2984
|
}
|
|
2985
2985
|
return Ke();
|
|
2986
|
-
},
|
|
2986
|
+
}, et = async (E) => {
|
|
2987
2987
|
if (E == null || E === "") return null;
|
|
2988
2988
|
const oe = _e.value?.find((ge) => ge?.id?.toString() === String(E));
|
|
2989
2989
|
return oe || tt(E);
|
|
@@ -2991,7 +2991,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
2991
2991
|
const oe = new Set(_e.value.map((Te) => Te.id?.toString())), ge = E.filter((Te) => !oe.has(Te?.toString()));
|
|
2992
2992
|
ge.length && await ge.reduce(async (Te, Ge) => {
|
|
2993
2993
|
await Te;
|
|
2994
|
-
const lt = await
|
|
2994
|
+
const lt = await et(Ge);
|
|
2995
2995
|
lt && _e.value.push(lt);
|
|
2996
2996
|
}, Promise.resolve());
|
|
2997
2997
|
}, R = () => {
|
|
@@ -3004,15 +3004,17 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3004
3004
|
const oe = g.value.id?.toString(), ge = z.value.findIndex((Te) => Te.id?.toString() === oe);
|
|
3005
3005
|
ge >= 0 && (E = ge);
|
|
3006
3006
|
}
|
|
3007
|
-
h.value = E,
|
|
3007
|
+
h.value = E, Je(() => {
|
|
3008
3008
|
K(y.value[E], p.value);
|
|
3009
3009
|
});
|
|
3010
3010
|
}, ee = async () => {
|
|
3011
|
-
a.value || (_.value = !0, await
|
|
3011
|
+
a.value || (_.value = !0, await Je(() => {
|
|
3012
|
+
ve();
|
|
3013
|
+
}), await Qe(), await Je(() => {
|
|
3012
3014
|
ve(), b.value?.focus();
|
|
3013
3015
|
}), R());
|
|
3014
3016
|
}, se = () => {
|
|
3015
|
-
_.value = !1, h.value = -1,
|
|
3017
|
+
_.value = !1, h.value = -1, Je(() => {
|
|
3016
3018
|
b.value?.blur();
|
|
3017
3019
|
});
|
|
3018
3020
|
}, T = async (E) => {
|
|
@@ -3027,11 +3029,11 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3027
3029
|
await ee();
|
|
3028
3030
|
}
|
|
3029
3031
|
}, Me = () => {
|
|
3030
|
-
l.value ? (G.value = [], s.value = [], o("change", []), O(null, [])) : (g.value = null, s.value = null, o("change", null), O(null, null)), he(null), C.value = "",
|
|
3032
|
+
l.value ? (G.value = [], s.value = [], o("change", []), O(null, [])) : (g.value = null, s.value = null, o("change", null), O(null, null)), he(null), C.value = "", Je(() => {
|
|
3031
3033
|
b.value?.focus(), _.value || ee();
|
|
3032
3034
|
});
|
|
3033
3035
|
}, F = (E) => {
|
|
3034
|
-
l.value && (G.value = G.value.filter((oe) => oe?.toString() !== E?.toString()), s.value = [...G.value], o("change", s.value), O(null),
|
|
3036
|
+
l.value && (G.value = G.value.filter((oe) => oe?.toString() !== E?.toString()), s.value = [...G.value], o("change", s.value), O(null), Je(() => b.value?.focus()));
|
|
3035
3037
|
}, O = (E, oe) => {
|
|
3036
3038
|
const ge = oe ?? (l.value ? [...G.value] : E?.id ?? null);
|
|
3037
3039
|
o("value-selected", {
|
|
@@ -3040,7 +3042,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3040
3042
|
option: E
|
|
3041
3043
|
});
|
|
3042
3044
|
}, q = (E) => {
|
|
3043
|
-
l.value ? (j(E.id) || (G.value = [...G.value, E.id], s.value = [...G.value], o("change", s.value), O(E)), C.value = "",
|
|
3045
|
+
l.value ? (j(E.id) || (G.value = [...G.value, E.id], s.value = [...G.value], o("change", s.value), O(E)), C.value = "", Je(() => {
|
|
3044
3046
|
b.value?.focus(), h.value = Math.min(h.value, z.value.length - 1);
|
|
3045
3047
|
}), he(null)) : (g.value = E, s.value = E.id, o("change", s.value), O(E), C.value = "", se(), he(E));
|
|
3046
3048
|
}, D = (E) => {
|
|
@@ -3118,18 +3120,18 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3118
3120
|
};
|
|
3119
3121
|
async function zt() {
|
|
3120
3122
|
if (l.value)
|
|
3121
|
-
Array.isArray(s.value) ? G.value = [...s.value] : (G.value = s.value == null ? [] : [s.value], s.value = [...G.value]), n.data && G.value.length && (await ft(G.value), await
|
|
3123
|
+
Array.isArray(s.value) ? G.value = [...s.value] : (G.value = s.value == null ? [] : [s.value], s.value = [...G.value]), n.data && G.value.length && (await ft(G.value), await Je());
|
|
3122
3124
|
else {
|
|
3123
3125
|
if (Array.isArray(s.value)) {
|
|
3124
3126
|
const E = s.value[0] ?? null;
|
|
3125
3127
|
s.value = E ?? null;
|
|
3126
3128
|
}
|
|
3127
|
-
s.value != null && (g.value = await
|
|
3129
|
+
s.value != null && (g.value = await et(s.value)), he(g.value ?? null);
|
|
3128
3130
|
}
|
|
3129
3131
|
}
|
|
3130
3132
|
me(s, () => {
|
|
3131
3133
|
zt();
|
|
3132
|
-
}),
|
|
3134
|
+
}), Xe(async () => {
|
|
3133
3135
|
if (addEventListener("keydown", it), addEventListener("scroll", Lt, !0), addEventListener("resize", kt), document.addEventListener("click", ut, !0), f.value && le(f.value).addEventListener("scroll", ln, !0), n.options?.length && !n.data)
|
|
3134
3136
|
_e.value = [...n.options];
|
|
3135
3137
|
else if (n.data) {
|
|
@@ -3172,7 +3174,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3172
3174
|
}, { immediate: !0 });
|
|
3173
3175
|
const Ht = M(!0);
|
|
3174
3176
|
return me(Oe, async () => {
|
|
3175
|
-
if (n.data && (Ht.value || (l.value ? (G.value = [], s.value = [], o("change", [])) : (g.value = null, s.value = null, o("change", null))), await
|
|
3177
|
+
if (n.data && (Ht.value || (l.value ? (G.value = [], s.value = [], o("change", [])) : (g.value = null, s.value = null, o("change", null))), await Qe(), n.auto === 1 && Oe.value && _e.value.length > 0)) {
|
|
3176
3178
|
const E = _e.value[0];
|
|
3177
3179
|
E && q(E);
|
|
3178
3180
|
}
|
|
@@ -3284,7 +3286,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3284
3286
|
], 512)
|
|
3285
3287
|
], 64));
|
|
3286
3288
|
}
|
|
3287
|
-
}), El = /* @__PURE__ */ Ne(bi, [["__scopeId", "data-v-
|
|
3289
|
+
}), El = /* @__PURE__ */ Ne(bi, [["__scopeId", "data-v-47aa1c50"]]), yl = (e = "") => `${e}${Math.floor(Math.random() * 1e4)}`, wi = ["disabled", "aria-expanded"], xi = { class: "truncate" }, ki = { class: "py-2 px-4" }, _i = { class: "block font-medium text-[13px] text-foreground" }, $i = { class: "truncate" }, Ci = { class: "p-1 border-t border-gray-200" }, Si = { class: "space-y-0.5 max-h-48 overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-none [&::-webkit-scrollbar-track]:bg-scrollbar-track [&::-webkit-scrollbar-thumb]:bg-scrollbar-thumb" }, Vi = ["onClick"], Mi = ["checked"], Li = { class: "shrink-0 size-3.5 flex justify-center items-center" }, Di = {
|
|
3288
3290
|
key: 1,
|
|
3289
3291
|
class: "shrink-0 size-2 block mx-auto rounded-full bg-secondary/60"
|
|
3290
3292
|
}, Ai = { class: "truncate" }, Ii = {
|
|
@@ -3346,11 +3348,11 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3346
3348
|
if (!r) return !1;
|
|
3347
3349
|
const Oe = r.value?.[ne] ?? {}, He = (Ke, De, Re) => {
|
|
3348
3350
|
if (!De.length) return Ke;
|
|
3349
|
-
const [ze, ...qe] = De,
|
|
3351
|
+
const [ze, ...qe] = De, Qe = { ...Ke };
|
|
3350
3352
|
if (!qe.length)
|
|
3351
|
-
return
|
|
3352
|
-
const
|
|
3353
|
-
return
|
|
3353
|
+
return Qe[ze] = Re, Qe;
|
|
3354
|
+
const et = typeof Ke[ze] == "object" && Ke[ze] !== null ? Ke[ze] : {};
|
|
3355
|
+
return Qe[ze] = He(et, qe, Re), Qe;
|
|
3354
3356
|
}, tt = He(Oe, he, _e);
|
|
3355
3357
|
return r.value = {
|
|
3356
3358
|
...r.value || {},
|
|
@@ -3371,12 +3373,12 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3371
3373
|
const ne = x.value.getBoundingClientRect(), he = 8, _e = 8, Oe = window.innerHeight || document.documentElement.clientHeight, He = window.innerWidth || document.documentElement.clientWidth, tt = _.value?.offsetHeight || 260, Ke = Math.max(ne.width, 176), De = Math.max(He - he * 2, 120), Re = Math.min(Ke, De);
|
|
3372
3374
|
let ze = ne.left;
|
|
3373
3375
|
ze + Re + he > He && (ze = He - Re - he), ze = Math.max(ze, he);
|
|
3374
|
-
const qe = Oe - ne.bottom - _e - he,
|
|
3376
|
+
const qe = Oe - ne.bottom - _e - he, Qe = ne.top - _e - he, et = qe < Math.min(tt, 260) && Qe > qe, ft = Math.max(120, Math.min(320, et ? Qe : qe));
|
|
3375
3377
|
$.value = {
|
|
3376
3378
|
position: "fixed",
|
|
3377
3379
|
left: `${ze}px`,
|
|
3378
|
-
top:
|
|
3379
|
-
transform:
|
|
3380
|
+
top: et ? `${ne.top - _e}px` : `${ne.bottom + _e}px`,
|
|
3381
|
+
transform: et ? "translateY(-100%)" : "none",
|
|
3380
3382
|
width: `${Re}px`,
|
|
3381
3383
|
maxHeight: `${ft}px`
|
|
3382
3384
|
};
|
|
@@ -3398,7 +3400,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3398
3400
|
}
|
|
3399
3401
|
u.value = await I(l.value), j(u.value ?? null);
|
|
3400
3402
|
}, we = async () => {
|
|
3401
|
-
s.value || (f.value = !0, await ue(), await
|
|
3403
|
+
s.value || (f.value = !0, await Je(), N(), await ue(), await Je(), N());
|
|
3402
3404
|
}, ke = () => {
|
|
3403
3405
|
f.value = !1;
|
|
3404
3406
|
}, Ue = async () => {
|
|
@@ -3427,7 +3429,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3427
3429
|
de();
|
|
3428
3430
|
}), me(G, async () => {
|
|
3429
3431
|
n.data && (await ue(), u.value && !J.value.some((ne) => ne.id?.toString() === u.value?.id?.toString()) && (u.value = null, l.value = null, o("change", null), Pe(null), j(null)));
|
|
3430
|
-
}),
|
|
3432
|
+
}), Xe(async () => {
|
|
3431
3433
|
document.addEventListener("click", ye, !0), window.addEventListener("resize", Se), window.addEventListener("scroll", Se, !0), await ue(), await de();
|
|
3432
3434
|
}), sn(() => {
|
|
3433
3435
|
document.removeEventListener("click", ye, !0), window.removeEventListener("resize", Se), window.removeEventListener("scroll", Se, !0);
|
|
@@ -3557,7 +3559,7 @@ const Ko = { class: "relative w-full bg-white rounded-lg" }, Go = { class: "abso
|
|
|
3557
3559
|
}),
|
|
3558
3560
|
emits: ["update:modelValue"],
|
|
3559
3561
|
setup(e) {
|
|
3560
|
-
const t = Fa(() => import("./vs-richtext-
|
|
3562
|
+
const t = Fa(() => import("./vs-richtext-9bPmzXHt.js")), n = e, { inputClass: o } = st(n.style), l = Be(e, "modelValue"), a = w(() => !!n.disabled), r = w(() => n.placeholder ?? ""), s = w(() => ({
|
|
3561
3563
|
height: n.richtextProps.height || "300px",
|
|
3562
3564
|
format: n.format,
|
|
3563
3565
|
...n.richtextProps
|
|
@@ -3819,7 +3821,7 @@ const Ri = /* @__PURE__ */ Ne(Pi, [["render", Bi]]), Ni = { class: "bg-white rou
|
|
|
3819
3821
|
async function qe(R, ee) {
|
|
3820
3822
|
we.value = "Редагувати", ke.value = !0, Ue = "edit", Pe = ee, Se.value = { ...R };
|
|
3821
3823
|
}
|
|
3822
|
-
function
|
|
3824
|
+
function Qe() {
|
|
3823
3825
|
const R = ne.value.validate();
|
|
3824
3826
|
if (R) {
|
|
3825
3827
|
Ce({ type: "warning", title: "Помилка валідації", message: Object.entries(R).map(([ee, se]) => `${ee}: ${se}`).join(`
|
|
@@ -3828,7 +3830,7 @@ const Ri = /* @__PURE__ */ Ne(Pi, [["render", Bi]]), Ni = { class: "bg-white rou
|
|
|
3828
3830
|
}
|
|
3829
3831
|
Ue === "add" ? Array.isArray(r.value) ? r.value = [...r.value, Se.value] : r.value = [Se.value] : r.value = r.value.map((ee, se) => se === Pe ? Se.value : ee), ke.value = !1;
|
|
3830
3832
|
}
|
|
3831
|
-
function
|
|
3833
|
+
function et(R) {
|
|
3832
3834
|
r.value = r.value.filter((ee, se) => se !== R);
|
|
3833
3835
|
}
|
|
3834
3836
|
function ft() {
|
|
@@ -3990,7 +3992,7 @@ const Ri = /* @__PURE__ */ Ne(Pi, [["render", Bi]]), Ni = { class: "bg-white rou
|
|
|
3990
3992
|
Q(B(za), { class: "h-4 w-4" })
|
|
3991
3993
|
], 8, fu),
|
|
3992
3994
|
c("button", {
|
|
3993
|
-
onClick: (Y) =>
|
|
3995
|
+
onClick: (Y) => et(T),
|
|
3994
3996
|
class: "p-1.5 text-gray-600 hover:text-red-600 hover:bg-red-50 rounded transition-colors"
|
|
3995
3997
|
}, [
|
|
3996
3998
|
Q(B(nn), { class: "h-4 w-4" })
|
|
@@ -4024,7 +4026,7 @@ const Ri = /* @__PURE__ */ Ne(Pi, [["render", Bi]]), Ni = { class: "bg-white rou
|
|
|
4024
4026
|
class: "vs-button inline-flex border-solid justify-center items-center gap-2 rounded-md font-semibold focus:outline-none text-sm transition-all border !border-gray-200 hover:text-white bg-white text-red-500 hover:border-red-500 hover:bg-red-500 focus:ring-red-500 py-1.5 px-5 focus:ring-1 focus:ring-offset-1 mr-2"
|
|
4025
4027
|
}, " Скасувати "),
|
|
4026
4028
|
c("button", {
|
|
4027
|
-
onClick:
|
|
4029
|
+
onClick: Qe,
|
|
4028
4030
|
type: "button",
|
|
4029
4031
|
class: "vs-button inline-flex border-solid justify-center items-center gap-2 rounded-md font-semibold focus:outline-none text-sm transition-all border-1 border-transparent text-white bg-blue-500 hover:bg-blue-600 focus:ring-blue-500 py-1.5 px-5 focus:ring-1 focus:ring-offset-1"
|
|
4030
4032
|
}, " Зберегти ")
|
|
@@ -4440,7 +4442,7 @@ const Nu = ["title"], ju = {
|
|
|
4440
4442
|
me(g, () => {
|
|
4441
4443
|
h.value = "", y.value = !1, U.value = [], P.value = !1, Pe(), H.value = !1;
|
|
4442
4444
|
}), me(G, (F) => {
|
|
4443
|
-
F ?
|
|
4445
|
+
F ? Je(() => {
|
|
4444
4446
|
ke();
|
|
4445
4447
|
}) : we.display = "none";
|
|
4446
4448
|
}), me(h, (F) => {
|
|
@@ -4487,7 +4489,7 @@ const Nu = ["title"], ju = {
|
|
|
4487
4489
|
q && !q.contains(O) && (!D || !D.contains(O)) && (P.value = !1);
|
|
4488
4490
|
}
|
|
4489
4491
|
}
|
|
4490
|
-
|
|
4492
|
+
Xe(() => {
|
|
4491
4493
|
J.value = N(), window.addEventListener("click", he, !0), window.addEventListener("scroll", Ue, !0), window.addEventListener("resize", Ue);
|
|
4492
4494
|
}), Ut(() => {
|
|
4493
4495
|
window.removeEventListener("click", he, !0), window.removeEventListener("scroll", Ue, !0), window.removeEventListener("resize", Ue), Pe();
|
|
@@ -4580,7 +4582,7 @@ const Nu = ["title"], ju = {
|
|
|
4580
4582
|
return K ? { id: ve, title: le, ...K } : { id: ve, title: le };
|
|
4581
4583
|
}).filter((q) => !!q?.title);
|
|
4582
4584
|
}
|
|
4583
|
-
function
|
|
4585
|
+
function Qe(F) {
|
|
4584
4586
|
const O = u();
|
|
4585
4587
|
if (!O) return null;
|
|
4586
4588
|
if (O.includes(":name"))
|
|
@@ -4592,8 +4594,8 @@ const Nu = ["title"], ju = {
|
|
|
4592
4594
|
return O;
|
|
4593
4595
|
}
|
|
4594
4596
|
}
|
|
4595
|
-
async function
|
|
4596
|
-
const O =
|
|
4597
|
+
async function et(F) {
|
|
4598
|
+
const O = Qe(F);
|
|
4597
4599
|
if (!O) return [];
|
|
4598
4600
|
const q = await fetch(O);
|
|
4599
4601
|
if (!q.ok) throw new Error(`HTTP ${q.status}`);
|
|
@@ -4620,7 +4622,7 @@ const Nu = ["title"], ju = {
|
|
|
4620
4622
|
});
|
|
4621
4623
|
return;
|
|
4622
4624
|
}
|
|
4623
|
-
const D = await
|
|
4625
|
+
const D = await et(F);
|
|
4624
4626
|
if (!D.length) {
|
|
4625
4627
|
Ce({ type: "warning", title: "Пошук адреси", message: "Не знайдено результатів" });
|
|
4626
4628
|
return;
|
|
@@ -4647,7 +4649,7 @@ const Nu = ["title"], ju = {
|
|
|
4647
4649
|
});
|
|
4648
4650
|
}
|
|
4649
4651
|
function se() {
|
|
4650
|
-
g.value !== "address" && g.value !== "nominatim" || (P.value = !0,
|
|
4652
|
+
g.value !== "address" && g.value !== "nominatim" || (P.value = !0, Je(() => {
|
|
4651
4653
|
ke();
|
|
4652
4654
|
}));
|
|
4653
4655
|
}
|
|
@@ -5335,7 +5337,7 @@ const ud = { class: "flex items-center gap-1.5 text-xs bg-gray-50 rounded p-1.5"
|
|
|
5335
5337
|
function f(ae) {
|
|
5336
5338
|
u.value = ae, o("tab-change", ae);
|
|
5337
5339
|
}
|
|
5338
|
-
|
|
5340
|
+
Xe(() => {
|
|
5339
5341
|
o("tab-change", u.value);
|
|
5340
5342
|
});
|
|
5341
5343
|
const p = w(
|
|
@@ -5905,7 +5907,7 @@ const Jd = {
|
|
|
5905
5907
|
}
|
|
5906
5908
|
};
|
|
5907
5909
|
}
|
|
5908
|
-
const qe = ze(),
|
|
5910
|
+
const qe = ze(), Qe = Object.keys(qe), et = M(Qe.length ? Qe[0] : "");
|
|
5909
5911
|
async function ft() {
|
|
5910
5912
|
if (typeof window > "u") return null;
|
|
5911
5913
|
const d = window;
|
|
@@ -6155,7 +6157,7 @@ const Jd = {
|
|
|
6155
6157
|
}
|
|
6156
6158
|
];
|
|
6157
6159
|
function dt() {
|
|
6158
|
-
const d =
|
|
6160
|
+
const d = et.value;
|
|
6159
6161
|
return !d || !qe[d]?.url ? "" : qe[d].url;
|
|
6160
6162
|
}
|
|
6161
6163
|
function Tt(d, v) {
|
|
@@ -6398,7 +6400,7 @@ const Jd = {
|
|
|
6398
6400
|
});
|
|
6399
6401
|
}
|
|
6400
6402
|
function Jn(d) {
|
|
6401
|
-
if (!qe[d] || (
|
|
6403
|
+
if (!qe[d] || (et.value = d, !T)) return;
|
|
6402
6404
|
const v = dt();
|
|
6403
6405
|
if (!v) return;
|
|
6404
6406
|
const k = T.getCenter?.(), V = T.getZoom?.(), A = Y?.getAll?.();
|
|
@@ -6910,7 +6912,7 @@ const Jd = {
|
|
|
6910
6912
|
const d = Y.getAll(), v = new Blob([JSON.stringify(d, null, 2)], { type: "application/json" }), k = URL.createObjectURL(v), V = document.createElement("a");
|
|
6911
6913
|
V.href = k, V.download = "data.geojson", V.click(), URL.revokeObjectURL(k);
|
|
6912
6914
|
}
|
|
6913
|
-
return
|
|
6915
|
+
return Xe(async () => {
|
|
6914
6916
|
if (window.addEventListener("click", Vl, !0), !u.value) return;
|
|
6915
6917
|
const d = await ft();
|
|
6916
6918
|
ee = d.maplibregl, se = d.MapboxDraw;
|
|
@@ -7421,7 +7423,7 @@ const Jd = {
|
|
|
7421
7423
|
const n = e, o = t;
|
|
7422
7424
|
st(n.style);
|
|
7423
7425
|
const l = M(null), a = M(null), r = M(null), s = M(!1), u = M(""), f = Be(e, "modelValue"), p = w(() => n.placeholder || "Add tag…"), x = w(() => f.value?.length === 0 && u.value === ""), _ = w(() => !n.disabled && f.value?.length > 0), $ = w(() => n.disabled), g = async () => {
|
|
7424
|
-
$.value || await
|
|
7426
|
+
$.value || await Je(() => r.value?.focus());
|
|
7425
7427
|
}, h = (te) => {
|
|
7426
7428
|
const P = te.trim();
|
|
7427
7429
|
P !== "" && (!f.value || !Array.isArray(f.value) ? f.value = [P] : n.unique ? f.value.includes(P) || (f.value = [...f.value, P]) : f.value = [...f.value, P], u.value = "");
|
|
@@ -7645,7 +7647,7 @@ const Jd = {
|
|
|
7645
7647
|
}, u = () => {
|
|
7646
7648
|
l.value && (n.value || s());
|
|
7647
7649
|
};
|
|
7648
|
-
return
|
|
7650
|
+
return Xe(() => {
|
|
7649
7651
|
u();
|
|
7650
7652
|
}), me(
|
|
7651
7653
|
() => [t.table, t.code, t.init],
|
|
@@ -8084,7 +8086,7 @@ const Jd = {
|
|
|
8084
8086
|
}), f.value = y;
|
|
8085
8087
|
}
|
|
8086
8088
|
}
|
|
8087
|
-
return
|
|
8089
|
+
return Xe(() => {
|
|
8088
8090
|
if (t.inputType === "mask")
|
|
8089
8091
|
for (let h = 0; h < n.value; h += 1)
|
|
8090
8092
|
u.value[h] && x(u.value[h], h);
|
|
@@ -8296,9 +8298,9 @@ const Jd = {
|
|
|
8296
8298
|
top: it ? `${D.bottom + Ae}px` : `${D.top - Ae}px`
|
|
8297
8299
|
};
|
|
8298
8300
|
}, _e = async (D = "click") => {
|
|
8299
|
-
U.value || x.value || (ne.value = D, await ie(p.value.trim()), x.value = !0, await
|
|
8301
|
+
U.value || x.value || (ne.value = D, await ie(p.value.trim()), x.value = !0, await Je(), he(), y.value?.focus());
|
|
8300
8302
|
}, Oe = () => {
|
|
8301
|
-
x.value = !1, ne.value = null,
|
|
8303
|
+
x.value = !1, ne.value = null, Je(() => {
|
|
8302
8304
|
y.value?.blur();
|
|
8303
8305
|
});
|
|
8304
8306
|
}, He = async (D) => {
|
|
@@ -8342,7 +8344,7 @@ const Jd = {
|
|
|
8342
8344
|
text: I(D) || String(D.id ?? ""),
|
|
8343
8345
|
key: H(D.id)
|
|
8344
8346
|
};
|
|
8345
|
-
a.value = [...a.value, le], qe(D), p.value = "",
|
|
8347
|
+
a.value = [...a.value, le], qe(D), p.value = "", Je(() => {
|
|
8346
8348
|
y.value?.focus();
|
|
8347
8349
|
});
|
|
8348
8350
|
}, qe = (D) => {
|
|
@@ -8352,12 +8354,12 @@ const Jd = {
|
|
|
8352
8354
|
value: K,
|
|
8353
8355
|
option: D
|
|
8354
8356
|
});
|
|
8355
|
-
},
|
|
8357
|
+
}, Qe = (D) => {
|
|
8356
8358
|
if (U.value) return;
|
|
8357
8359
|
const K = a.value.filter((le) => ae(le.id) !== ae(D));
|
|
8358
8360
|
a.value = K;
|
|
8359
8361
|
}, {
|
|
8360
|
-
isOpenAdd:
|
|
8362
|
+
isOpenAdd: et,
|
|
8361
8363
|
addData: ft,
|
|
8362
8364
|
addSchema: R,
|
|
8363
8365
|
addForm: ee,
|
|
@@ -8431,14 +8433,14 @@ const Jd = {
|
|
|
8431
8433
|
}
|
|
8432
8434
|
a.value = [], await ie(p.value.trim()), await O();
|
|
8433
8435
|
}
|
|
8434
|
-
}),
|
|
8436
|
+
}), Xe(async () => {
|
|
8435
8437
|
document.addEventListener("click", De, !0), window.addEventListener("keydown", tt), window.addEventListener("scroll", Ke, !0), await O();
|
|
8436
8438
|
}), sn(() => {
|
|
8437
8439
|
document.removeEventListener("click", De, !0), window.removeEventListener("keydown", tt), window.removeEventListener("scroll", Ke, !0);
|
|
8438
8440
|
}), (D, K) => (i(), m($e, null, [
|
|
8439
8441
|
Q(B(zn), {
|
|
8440
|
-
visible: B(
|
|
8441
|
-
"onUpdate:visible": K[1] || (K[1] = (le) => Rn(
|
|
8442
|
+
visible: B(et),
|
|
8443
|
+
"onUpdate:visible": K[1] || (K[1] = (le) => Rn(et) ? et.value = le : null),
|
|
8442
8444
|
class: "z-[1000]",
|
|
8443
8445
|
title: B(se),
|
|
8444
8446
|
buttonText: "Додати",
|
|
@@ -8566,7 +8568,7 @@ const Jd = {
|
|
|
8566
8568
|
type: "button",
|
|
8567
8569
|
class: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-stone-400 hover:text-stone-900",
|
|
8568
8570
|
disabled: U.value,
|
|
8569
|
-
onClick: Fe((Ae) =>
|
|
8571
|
+
onClick: Fe((Ae) => Qe(le.id), ["stop"]),
|
|
8570
8572
|
"aria-label": `Видалити ${le.text}`
|
|
8571
8573
|
}, [
|
|
8572
8574
|
Q(B(Mt), { class: "h-4 w-4" })
|
|
@@ -9192,7 +9194,7 @@ const Jd = {
|
|
|
9192
9194
|
(g) => {
|
|
9193
9195
|
r && r.updateOptions({ minimap: { enabled: !!g } });
|
|
9194
9196
|
}
|
|
9195
|
-
),
|
|
9197
|
+
), Xe(async () => {
|
|
9196
9198
|
try {
|
|
9197
9199
|
const g = await f();
|
|
9198
9200
|
if (!g || !g.editor) return;
|
|
@@ -9384,7 +9386,7 @@ const Jd = {
|
|
|
9384
9386
|
b.value = !1;
|
|
9385
9387
|
}
|
|
9386
9388
|
}
|
|
9387
|
-
|
|
9389
|
+
Xe(() => {
|
|
9388
9390
|
s.value = G(), window.addEventListener("storage", ae);
|
|
9389
9391
|
}), sn(() => {
|
|
9390
9392
|
window.removeEventListener("storage", ae);
|
|
@@ -9502,7 +9504,7 @@ const Jd = {
|
|
|
9502
9504
|
_ = null, o.value = [], l.value = "";
|
|
9503
9505
|
return;
|
|
9504
9506
|
}
|
|
9505
|
-
_ = I, r.value && (await
|
|
9507
|
+
_ = I, r.value && (await Je(), U(I), b());
|
|
9506
9508
|
},
|
|
9507
9509
|
{ immediate: !0 }
|
|
9508
9510
|
), me(
|
|
@@ -9512,10 +9514,10 @@ const Jd = {
|
|
|
9512
9514
|
$ = I ?? null;
|
|
9513
9515
|
return;
|
|
9514
9516
|
}
|
|
9515
|
-
C(I ?? null),
|
|
9517
|
+
C(I ?? null), Je(() => b());
|
|
9516
9518
|
},
|
|
9517
9519
|
{ immediate: !0 }
|
|
9518
|
-
),
|
|
9520
|
+
), Xe(() => {
|
|
9519
9521
|
n.scrollContainer || C(null), b();
|
|
9520
9522
|
}), Ut(() => {
|
|
9521
9523
|
te(), C(null, !0), _ = null, typeof window < "u" && (p && window.cancelAnimationFrame(p), x && window.cancelAnimationFrame(x));
|
|
@@ -9833,7 +9835,7 @@ const lm = { class: "flex w-full h-full min-h-0 gap-6" }, am = {
|
|
|
9833
9835
|
validate: p,
|
|
9834
9836
|
reset: x,
|
|
9835
9837
|
errors: f
|
|
9836
|
-
}),
|
|
9838
|
+
}), Xe(() => {
|
|
9837
9839
|
a.value = {
|
|
9838
9840
|
value: u.value,
|
|
9839
9841
|
errors: f.value,
|
|
@@ -10018,7 +10020,7 @@ const lm = { class: "flex w-full h-full min-h-0 gap-6" }, am = {
|
|
|
10018
10020
|
function h() {
|
|
10019
10021
|
o("close");
|
|
10020
10022
|
}
|
|
10021
|
-
return
|
|
10023
|
+
return Xe(async () => {
|
|
10022
10024
|
try {
|
|
10023
10025
|
if (n.form && !n.schema) {
|
|
10024
10026
|
const y = await fetch(`/api/template/form/${n.form}`);
|
|
@@ -10747,7 +10749,7 @@ const Zm = fe({
|
|
|
10747
10749
|
return me(
|
|
10748
10750
|
() => e.visible,
|
|
10749
10751
|
($) => {
|
|
10750
|
-
$ &&
|
|
10752
|
+
$ && Je(p);
|
|
10751
10753
|
}
|
|
10752
10754
|
), {
|
|
10753
10755
|
hoursListRef: n,
|
|
@@ -11023,14 +11025,14 @@ const nv = /* @__PURE__ */ Ne(Zm, [["render", tv], ["__scopeId", "data-v-610b89e
|
|
|
11023
11025
|
z && (l.value = z);
|
|
11024
11026
|
}), vn(() => {
|
|
11025
11027
|
s.value = e.modelValue && ot(e.modelValue) ? jn(e.modelValue, e.inputFormat) : "";
|
|
11026
|
-
}),
|
|
11027
|
-
f.value &&
|
|
11028
|
+
}), Xe(() => {
|
|
11029
|
+
f.value && Je(() => {
|
|
11028
11030
|
h();
|
|
11029
11031
|
});
|
|
11030
11032
|
}), Ut(() => {
|
|
11031
11033
|
_();
|
|
11032
11034
|
}), me(f, (z) => {
|
|
11033
|
-
z ?
|
|
11035
|
+
z ? Je(() => {
|
|
11034
11036
|
h();
|
|
11035
11037
|
}) : _();
|
|
11036
11038
|
}), me(s, () => {
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.grid[data-v-9056e0ec]{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem}.item-file:hover>div[data-v-89357cbb]{display:flex!important;background-color:#00000080}.loader[data-v-dda91e05]{width:24px;height:24px;border:3px solid #f3f3f3;border-top:3px solid #3b82f6;border-radius:50%;animation:spin-dda91e05 1s linear infinite}@keyframes spin-dda91e05{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vs-input-file2 button[data-v-19ea2129]:disabled{pointer-events:none}.loader[data-v-19ea2129]{width:24px;height:24px;border:3px solid #f3f3f3;border-top:3px solid #3b82f6;border-radius:50%;animation:spin-19ea2129 1s linear infinite}@keyframes spin-19ea2129{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-file .vs-button{background-color:#2563eb;color:#fff;font-size:.875rem;line-height:1.25rem;font-weight:600}.ui-dialog__modal div.flex.justify-between.items-center.py-3.px-4.border-b{border-bottom-width:0px;--tw-text-opacity: 1;color:#1f2937;font-weight:500;font-size:1.125rem;line-height:1.75rem;padding-bottom:0rem}.ui-dialog__modal .ui-dialog__content .p-4{padding-top:0rem}.slide-fade-enter-active[data-v-90320b87],.slide-fade-leave-active[data-v-90320b87]{transition:all .3s ease}.slide-fade-enter-from[data-v-90320b87],.slide-fade-leave-to[data-v-90320b87]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-90320b87],.slide-fade-leave-from[data-v-90320b87]{max-height:1000px;opacity:1;transform:translateY(0)}.slide-fade-enter-active[data-v-0c825d65],.slide-fade-leave-active[data-v-0c825d65]{transition:all .3s ease}.slide-fade-enter-from[data-v-0c825d65],.slide-fade-leave-to[data-v-0c825d65]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-0c825d65],.slide-fade-leave-from[data-v-0c825d65]{max-height:1000px;opacity:1;transform:translateY(0)}.vs-input-select__control[data-v-8a2f9b30]{border:1px solid #dfe1e6;box-shadow:none;background-color:#fff;transition:border-color .15s ease,box-shadow .15s ease}.vs-input-select__control[data-focus=true][data-v-8a2f9b30]{border-color:#2684ff;box-shadow:0 0 0 1px #2684ff59}.vs-input-select__control[data-v-8a2f9b30]:not([data-focus=true]):hover{border-color:#2684ff}.vs-input-select__control.cursor-not-allowed[data-v-8a2f9b30]{border-color:#dfe1e6;box-shadow:none}.map-search-widget[data-v-64b5dcb8]{width:100%}.vs-btn[data-v-33669cd5]{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:none;cursor:pointer;border-radius:.375rem;transition:background-color .15s ease,color .15s ease,opacity .15s}.vs-btn svg[data-v-33669cd5]{width:16px;height:16px;stroke:currentColor;fill:none;color:#3c3c43;stroke-width:2}.vs-btn[data-v-33669cd5]:hover,.vs-active[data-v-33669cd5]{background:#2563eb;color:#fff}.vs-btn[data-v-33669cd5]:disabled{opacity:.5;cursor:not-allowed}.vs-map-wrapper[data-v-33669cd5] .maplibregl-canvas{outline:none}.vs-map-wrapper[data-v-33669cd5] .maplibregl-ctrl{font:inherit}.fullscreen[data-v-33669cd5]{position:fixed!important;inset:0;width:100vw!important;height:100vh!important;z-index:9999;background:#fff}@keyframes slide-up-33669cd5{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}[data-v-33669cd5] .animate-slide-up{animation:slide-up-33669cd5 .2s ease-out}.col-error .vs-form-text input[data-v-b0eba370]{border:1px solid red}.vs-form-text[data-v-b0eba370]{position:relative}.vs-form-text__input[data-v-b0eba370]::placeholder{opacity:.5}.col-error .vs-form-text input[data-v-6ee5237d]{border:1px solid red}.vs-form-text[data-v-6ee5237d]{position:relative}.vs-form-text__input[data-v-6ee5237d]::placeholder{opacity:.5}[draggable=true][data-v-d8c3f9d6],[draggable=true][data-v-2c229b1f]{-webkit-user-select:none;user-select:none}.fade-enter-active[data-v-da4b4da7],.fade-leave-active[data-v-da4b4da7]{transition:opacity .15s ease}.fade-enter-from[data-v-da4b4da7],.fade-leave-to[data-v-da4b4da7]{opacity:0}[draggable=true][data-v-da4b4da7]{-webkit-user-select:none;user-select:none}.vs-datalist[data-v-260e3e66],.vs-dataform[data-v-cfbcfed8]{width:100%}.vs-compact-form-navigation__item[data-v-1584a562]{--vs-nav-indicator-left: 4px}.vs-compact-form-navigation__item[data-v-1584a562]:before{content:"";position:absolute;top:50%;left:var(--vs-nav-indicator-left);width:1.5px;height:100%;transform:translateY(-50%);background-color:#6b728099;transition:background-color .2s ease}.vs-compact-form-navigation__button[data-v-1584a562]{transition:color .2s ease}.vs-compact-form-navigation__item--active[data-v-1584a562]:before{background-color:#2563eb;border-radius:9999px}.v3dp__popout[data-v-9e083852]{z-index:10;position:absolute;text-align:center;width:17.5em;background-color:var(--popout-bg-color);box-shadow:var(--box-shadow);border-radius:var(--border-radius);padding:8px 0 1em;color:var(--text-color)}.v3dp__popout[data-v-9e083852] *{color:inherit;font-size:inherit;font-weight:inherit}.v3dp__popout[data-v-9e083852] button{background:none;border:none;outline:none}.v3dp__popout[data-v-9e083852] button:not(:disabled){cursor:pointer}.v3dp__heading[data-v-9e083852]{width:100%;display:flex;height:var(--heading-size);line-height:var(--heading-size);font-weight:var(--heading-weight)}.v3dp__heading__button[data-v-9e083852]{background:none;border:none;padding:0;display:flex;justify-content:center;align-items:center;width:var(--heading-size)}button.v3dp__heading__center[data-v-9e083852]:hover,.v3dp__heading__button[data-v-9e083852]:not(:disabled):hover{background-color:var(--heading-hover-color)}.v3dp__heading__center[data-v-9e083852]{flex:1}.v3dp__heading__icon[data-v-9e083852]{height:12px;stroke:var(--arrow-color)}.v3dp__heading__button:disabled .v3dp__heading__icon[data-v-9e083852]{stroke:var(--elem-disabled-color)}.v3dp__subheading[data-v-9e083852],.v3dp__elements[data-v-9e083852]{display:grid;grid-template-columns:var(--popout-column-definition);font-size:var(--elem-font-size)}.v3dp__subheading[data-v-9e083852]{margin-top:1em}.v3dp__divider[data-v-9e083852]{border:1px solid var(--divider-color);border-radius:3px}.v3dp__elements[data-v-9e083852] button:disabled{color:var(--elem-disabled-color)}.v3dp__elements[data-v-9e083852] button{padding:.3em .6em}.v3dp__elements[data-v-9e083852] button span{display:block;line-height:1.9em;height:1.8em;border-radius:var(--elem-border-radius)}.v3dp__elements[data-v-9e083852] button:not(:disabled):hover span{background-color:var(--elem-hover-bg-color);color:var(--elem-hover-color)}.v3dp__elements[data-v-9e083852] button.selected span{background-color:var(--elem-selected-bg-color);color:var(--elem-selected-color)}.v3dp__elements[data-v-9e083852] button.current span{font-weight:var(--elem-current-font-weight);outline:1px solid var(--elem-current-outline-color)}.v3dp__column[data-v-610b89e1]{display:flex;flex-direction:column;overflow-y:auto;height:190px}.v3dp__datepicker{--popout-bg-color: var(--vdp-bg-color, #fff);--box-shadow: var( --vdp-box-shadow, 0 4px 10px 0 rgba(128, 144, 160, .1), 0 0 1px 0 rgba(128, 144, 160, .81) );--text-color: var(--vdp-text-color, #000000);--border-radius: var(--vdp-border-radius, 3px);--heading-size: var(--vdp-heading-size, 2.5em);--heading-weight: var(--vdp-heading-weight, bold);--heading-hover-color: var(--vdp-heading-hover-color, #eeeeee);--arrow-color: var(--vdp-arrow-color, currentColor);--elem-color: var(--vdp-elem-color, currentColor);--elem-disabled-color: var(--vdp-disabled-color, #d5d9e0);--elem-hover-color: var(--vdp-hover-color, #fff);--elem-hover-bg-color: var(--vdp-hover-bg-color, #0baf74);--elem-selected-color: var(--vdp-selected-color, #fff);--elem-selected-bg-color: var(--vdp-selected-bg-color, #0baf74);--elem-current-outline-color: var(--vdp-current-date-outline-color, #888);--elem-current-font-weight: var(--vdp-current-date-font-weight, bold);--elem-font-size: var(--vdp-elem-font-size, .8em);--elem-border-radius: var(--vdp-elem-border-radius, 3px);--divider-color: var(--vdp-divider-color, var(--elem-disabled-color));position:relative}.v3dp__clearable{display:inline;position:relative;left:-15px;cursor:pointer}.vs-date-picker[data-v-a65a2ac3],.vs-date-picker[data-v-a65a2ac3] .v3dp__datepicker{width:100%}.vs-date-picker[data-v-a65a2ac3] .v3dp__input_wrapper{position:relative}.vs-date-picker[data-v-a65a2ac3] .v3dp__input_wrapper input{border:1px solid #CFD9E0;background-color:#fff}.vs-date-picker[data-v-a65a2ac3] .v3dp__clearable{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);cursor:pointer;color:#6b7280;display:flex;align-items:center}.vs-date-picker[data-v-a65a2ac3] .v3dp__clearable i{display:inline;position:absolute;right:5px;cursor:pointer}.vs-date-picker[data-v-a65a2ac3] .v3dp__clearable:hover{color:#ef4444}.ui-dialog__wrapper[data-v-56ad9010]{position:relative}.ui-dialog__modal[data-v-56ad9010]{margin:10px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);min-height:0;height:fit-content;max-height:80vh;overflow:hidden}.ui-dialog__content[data-v-56ad9010]{min-height:0;height:100%;overflow:auto}.ui-dialog__content[data-v-56ad9010]::-webkit-scrollbar{width:6px;height:6px;background-color:#f5f5f5}.ui-dialog__content[data-v-56ad9010]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d9d9d9bf}.ui-dialog__content[data-v-56ad9010]::-webkit-scrollbar-track{background-color:#f5f5f5}@media (max-width: 650px){.ui-dialog__modal[data-v-56ad9010]{top:50%}}.fade-enter-active[data-v-56ad9010],.fade-leave-active[data-v-56ad9010]{transition:opacity .2s}.fade-enter-from[data-v-56ad9010],.fade-leave-to[data-v-56ad9010]{opacity:0}.content-enter-active[data-v-56ad9010],.content-leave-active[data-v-56ad9010]{transition:transform .4s}.content-enter-from[data-v-56ad9010],.content-leave-to[data-v-56ad9010]{transform:translate(-50%,-50%) scale(.95)}.col-error .vs-form-text input[data-v-eb21a54f]{border:1px solid red}.vs-form-text[data-v-eb21a54f]{position:relative}.vs-form-text__input[data-v-eb21a54f]::placeholder{opacity:.5}.fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter-from,.fade-leave-to{opacity:0}.heading-level-1[data-v-96f02f2a]{font-weight:700;font-size:30px}.heading-level-2[data-v-96f02f2a]{font-weight:700;font-size:26px}.heading-level-3[data-v-96f02f2a]{font-weight:700;font-size:22px}.heading-level-4[data-v-96f02f2a]{font-weight:700;font-size:18px}.heading-level-5[data-v-96f02f2a]{font-weight:500;font-size:16px}.heading-level-6[data-v-96f02f2a]{font-weight:400;font-size:14px}.flex>button[data-v-6a87fc55]:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.flex>button[data-v-6a87fc55]:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.flex:hover button[data-v-6a87fc55]:first-child{border-right-color:transparent}code[data-v-92c21275]{font-family:Courier New,monospace;font-size:11px}.ProseMirror-focused{outline:none}.editor-toolbar{background-color:#f9fafb}.editor-content{min-height:160px;width:100%;overflow:hidden;max-height:500px;position:relative;display:flex;flex-direction:column}.rich-text-scroll-wrapper{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.fixed .editor-content{max-height:none;height:calc(100vh - 60px)}.html-source-editor{flex:1;min-height:0;width:100%;overflow:auto;max-height:500px}.fixed .html-source-editor{flex:1;min-height:0;max-height:none;overflow:hidden}button{transition:background-color .2s ease;outline:none}button:focus{outline:none}.editor-content ul{margin-left:20px}.editor-content ul>li{list-style:disc}.editor-content ol{list-style-type:decimal;margin-left:20px}.editor-content pre{background-color:#e7e7e7;border-radius:4px;padding:0 4px}.editor-code{background-color:#f1f1f1;border-radius:3px;padding:2px 4px;font-family:Courier New,monospace;font-size:.9em}.editor-codeblock{background-color:#f8f8f8;border:1px solid #e1e1e1;border-radius:4px;padding:12px;margin:8px 0;font-family:Courier New,monospace;overflow-x:auto}.editor-content a{color:#00f;text-decoration:underline}.editor-content table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;margin:20px 0;font-family:Arial,sans-serif;font-size:14px;position:relative}.editor-content thead{position:sticky;top:0;z-index:10}.editor-content th,.editor-content td{border:1px solid #ccc;padding:10px;position:relative}.editor-content th{background-color:#f4f4f4;font-weight:700;position:sticky;top:0;z-index:10}.editor-content tr:nth-child(2n){background-color:#f9f9f9}.editor-content tr:nth-child(odd){background-color:#fff}.selectedCell{background:#f0eeed}.column-resize-handle{background-color:#1d4ed8;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.resize-cursor{cursor:ew-resize;cursor:col-resize}.editor-link{color:#00f}.editor-link:hover{text-decoration:underline}blockquote{font-style:italic;quotes:"«" "»";text-indent:16px}blockquote>p{display:inline}blockquote:before{content:open-quote;display:inline;font-size:18px;margin-right:2px}blockquote:after{content:close-quote;font-size:18px;display:inline;margin-left:2px}.editor-content .editor-image{display:inline-block;vertical-align:middle;margin:0;border:2px solid transparent;border-radius:4px;transition:border-color .2s ease}.editor-content .editor-image[width][height]{max-width:none!important;max-height:none!important;min-width:auto!important;min-height:auto!important;object-fit:fill!important}.editor-content .editor-image[style*=width]{max-width:none!important}.editor-content .editor-image[style*=height]{max-height:none!important}.editor-content .editor-image[style*=width][style*=height]{max-width:none!important;max-height:none!important}.editor-content .editor-image[width]:not([height]){height:auto}.editor-content .editor-image[height]:not([width]){width:auto}.editor-content .editor-image:not([width]):not([height]):not([style*=width]):not([style*=height]){height:auto;width:auto;max-width:100%}.editor-content .editor-image.ProseMirror-selectednode,.editor-content .ProseMirror-selectednode.editor-image{border:2px solid #3b82f6;box-shadow:0 0 0 2px #3b82f633}.editor-content p:has(.editor-image){display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;line-height:1.5}.editor-content p:has(.editor-image)[style*="text-align: center"],.editor-content p:has(.editor-image)[style*="text-align:center"]{justify-content:center}.editor-content p:has(.editor-image)[style*="text-align: right"],.editor-content p:has(.editor-image)[style*="text-align:right"]{justify-content:flex-end}.editor-content p:has(.editor-image)[style*="text-align: left"],.editor-content p:has(.editor-image)[style*="text-align:left"]{justify-content:flex-start}.editor-content p:has(.editor-image)[style*="text-align: justify"],.editor-content p:has(.editor-image)[style*="text-align:justify"]{justify-content:space-between}.editor-content p:has(.editor-image):not(:has(text)){margin:8px 0}.editor-content p .editor-image{flex-shrink:0;max-width:calc(50% - 4px);object-fit:contain}.editor-content p .editor-image:only-child{max-width:100%}.editor-content p .editor-image:nth-child(1):nth-last-child(2),.editor-content p .editor-image:nth-child(2):nth-last-child(1){max-width:calc(50% - 4px)}.editor-content p .editor-image:nth-child(1):nth-last-child(3),.editor-content p .editor-image:nth-child(2):nth-last-child(2),.editor-content p .editor-image:nth-child(3):nth-last-child(1){max-width:calc(33.333% - 6px)}.editor-content p .editor-image:nth-child(n+4){max-width:calc(33.333% - 6px)}
|
|
1
|
+
.grid[data-v-9056e0ec]{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1rem}.item-file:hover>div[data-v-89357cbb]{display:flex!important;background-color:#00000080}.loader[data-v-dda91e05]{width:24px;height:24px;border:3px solid #f3f3f3;border-top:3px solid #3b82f6;border-radius:50%;animation:spin-dda91e05 1s linear infinite}@keyframes spin-dda91e05{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vs-input-file2 button[data-v-19ea2129]:disabled{pointer-events:none}.loader[data-v-19ea2129]{width:24px;height:24px;border:3px solid #f3f3f3;border-top:3px solid #3b82f6;border-radius:50%;animation:spin-19ea2129 1s linear infinite}@keyframes spin-19ea2129{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.widget-file .vs-button{background-color:#2563eb;color:#fff;font-size:.875rem;line-height:1.25rem;font-weight:600}.ui-dialog__modal div.flex.justify-between.items-center.py-3.px-4.border-b{border-bottom-width:0px;--tw-text-opacity: 1;color:#1f2937;font-weight:500;font-size:1.125rem;line-height:1.75rem;padding-bottom:0rem}.ui-dialog__modal .ui-dialog__content .p-4{padding-top:0rem}.slide-fade-enter-active[data-v-90320b87],.slide-fade-leave-active[data-v-90320b87]{transition:all .3s ease}.slide-fade-enter-from[data-v-90320b87],.slide-fade-leave-to[data-v-90320b87]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-90320b87],.slide-fade-leave-from[data-v-90320b87]{max-height:1000px;opacity:1;transform:translateY(0)}.slide-fade-enter-active[data-v-0c825d65],.slide-fade-leave-active[data-v-0c825d65]{transition:all .3s ease}.slide-fade-enter-from[data-v-0c825d65],.slide-fade-leave-to[data-v-0c825d65]{max-height:0;opacity:0;transform:translateY(-10px)}.slide-fade-enter-to[data-v-0c825d65],.slide-fade-leave-from[data-v-0c825d65]{max-height:1000px;opacity:1;transform:translateY(0)}.vs-input-select__control[data-v-47aa1c50]{border:1px solid #dfe1e6;box-shadow:none;background-color:#fff;transition:border-color .15s ease,box-shadow .15s ease}.vs-input-select__control[data-focus=true][data-v-47aa1c50]{border-color:#2684ff;box-shadow:0 0 0 1px #2684ff59}.vs-input-select__control[data-v-47aa1c50]:not([data-focus=true]):hover{border-color:#2684ff}.vs-input-select__control.cursor-not-allowed[data-v-47aa1c50]{border-color:#dfe1e6;box-shadow:none}.map-search-widget[data-v-64b5dcb8]{width:100%}.vs-btn[data-v-33669cd5]{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:none;cursor:pointer;border-radius:.375rem;transition:background-color .15s ease,color .15s ease,opacity .15s}.vs-btn svg[data-v-33669cd5]{width:16px;height:16px;stroke:currentColor;fill:none;color:#3c3c43;stroke-width:2}.vs-btn[data-v-33669cd5]:hover,.vs-active[data-v-33669cd5]{background:#2563eb;color:#fff}.vs-btn[data-v-33669cd5]:disabled{opacity:.5;cursor:not-allowed}.vs-map-wrapper[data-v-33669cd5] .maplibregl-canvas{outline:none}.vs-map-wrapper[data-v-33669cd5] .maplibregl-ctrl{font:inherit}.fullscreen[data-v-33669cd5]{position:fixed!important;inset:0;width:100vw!important;height:100vh!important;z-index:9999;background:#fff}@keyframes slide-up-33669cd5{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}[data-v-33669cd5] .animate-slide-up{animation:slide-up-33669cd5 .2s ease-out}.col-error .vs-form-text input[data-v-b0eba370]{border:1px solid red}.vs-form-text[data-v-b0eba370]{position:relative}.vs-form-text__input[data-v-b0eba370]::placeholder{opacity:.5}.col-error .vs-form-text input[data-v-6ee5237d]{border:1px solid red}.vs-form-text[data-v-6ee5237d]{position:relative}.vs-form-text__input[data-v-6ee5237d]::placeholder{opacity:.5}[draggable=true][data-v-d8c3f9d6],[draggable=true][data-v-2c229b1f]{-webkit-user-select:none;user-select:none}.fade-enter-active[data-v-da4b4da7],.fade-leave-active[data-v-da4b4da7]{transition:opacity .15s ease}.fade-enter-from[data-v-da4b4da7],.fade-leave-to[data-v-da4b4da7]{opacity:0}[draggable=true][data-v-da4b4da7]{-webkit-user-select:none;user-select:none}.vs-datalist[data-v-260e3e66],.vs-dataform[data-v-cfbcfed8]{width:100%}.vs-compact-form-navigation__item[data-v-1584a562]{--vs-nav-indicator-left: 4px}.vs-compact-form-navigation__item[data-v-1584a562]:before{content:"";position:absolute;top:50%;left:var(--vs-nav-indicator-left);width:1.5px;height:100%;transform:translateY(-50%);background-color:#6b728099;transition:background-color .2s ease}.vs-compact-form-navigation__button[data-v-1584a562]{transition:color .2s ease}.vs-compact-form-navigation__item--active[data-v-1584a562]:before{background-color:#2563eb;border-radius:9999px}.v3dp__popout[data-v-9e083852]{z-index:10;position:absolute;text-align:center;width:17.5em;background-color:var(--popout-bg-color);box-shadow:var(--box-shadow);border-radius:var(--border-radius);padding:8px 0 1em;color:var(--text-color)}.v3dp__popout[data-v-9e083852] *{color:inherit;font-size:inherit;font-weight:inherit}.v3dp__popout[data-v-9e083852] button{background:none;border:none;outline:none}.v3dp__popout[data-v-9e083852] button:not(:disabled){cursor:pointer}.v3dp__heading[data-v-9e083852]{width:100%;display:flex;height:var(--heading-size);line-height:var(--heading-size);font-weight:var(--heading-weight)}.v3dp__heading__button[data-v-9e083852]{background:none;border:none;padding:0;display:flex;justify-content:center;align-items:center;width:var(--heading-size)}button.v3dp__heading__center[data-v-9e083852]:hover,.v3dp__heading__button[data-v-9e083852]:not(:disabled):hover{background-color:var(--heading-hover-color)}.v3dp__heading__center[data-v-9e083852]{flex:1}.v3dp__heading__icon[data-v-9e083852]{height:12px;stroke:var(--arrow-color)}.v3dp__heading__button:disabled .v3dp__heading__icon[data-v-9e083852]{stroke:var(--elem-disabled-color)}.v3dp__subheading[data-v-9e083852],.v3dp__elements[data-v-9e083852]{display:grid;grid-template-columns:var(--popout-column-definition);font-size:var(--elem-font-size)}.v3dp__subheading[data-v-9e083852]{margin-top:1em}.v3dp__divider[data-v-9e083852]{border:1px solid var(--divider-color);border-radius:3px}.v3dp__elements[data-v-9e083852] button:disabled{color:var(--elem-disabled-color)}.v3dp__elements[data-v-9e083852] button{padding:.3em .6em}.v3dp__elements[data-v-9e083852] button span{display:block;line-height:1.9em;height:1.8em;border-radius:var(--elem-border-radius)}.v3dp__elements[data-v-9e083852] button:not(:disabled):hover span{background-color:var(--elem-hover-bg-color);color:var(--elem-hover-color)}.v3dp__elements[data-v-9e083852] button.selected span{background-color:var(--elem-selected-bg-color);color:var(--elem-selected-color)}.v3dp__elements[data-v-9e083852] button.current span{font-weight:var(--elem-current-font-weight);outline:1px solid var(--elem-current-outline-color)}.v3dp__column[data-v-610b89e1]{display:flex;flex-direction:column;overflow-y:auto;height:190px}.v3dp__datepicker{--popout-bg-color: var(--vdp-bg-color, #fff);--box-shadow: var( --vdp-box-shadow, 0 4px 10px 0 rgba(128, 144, 160, .1), 0 0 1px 0 rgba(128, 144, 160, .81) );--text-color: var(--vdp-text-color, #000000);--border-radius: var(--vdp-border-radius, 3px);--heading-size: var(--vdp-heading-size, 2.5em);--heading-weight: var(--vdp-heading-weight, bold);--heading-hover-color: var(--vdp-heading-hover-color, #eeeeee);--arrow-color: var(--vdp-arrow-color, currentColor);--elem-color: var(--vdp-elem-color, currentColor);--elem-disabled-color: var(--vdp-disabled-color, #d5d9e0);--elem-hover-color: var(--vdp-hover-color, #fff);--elem-hover-bg-color: var(--vdp-hover-bg-color, #0baf74);--elem-selected-color: var(--vdp-selected-color, #fff);--elem-selected-bg-color: var(--vdp-selected-bg-color, #0baf74);--elem-current-outline-color: var(--vdp-current-date-outline-color, #888);--elem-current-font-weight: var(--vdp-current-date-font-weight, bold);--elem-font-size: var(--vdp-elem-font-size, .8em);--elem-border-radius: var(--vdp-elem-border-radius, 3px);--divider-color: var(--vdp-divider-color, var(--elem-disabled-color));position:relative}.v3dp__clearable{display:inline;position:relative;left:-15px;cursor:pointer}.vs-date-picker[data-v-a65a2ac3],.vs-date-picker[data-v-a65a2ac3] .v3dp__datepicker{width:100%}.vs-date-picker[data-v-a65a2ac3] .v3dp__input_wrapper{position:relative}.vs-date-picker[data-v-a65a2ac3] .v3dp__input_wrapper input{border:1px solid #CFD9E0;background-color:#fff}.vs-date-picker[data-v-a65a2ac3] .v3dp__clearable{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);cursor:pointer;color:#6b7280;display:flex;align-items:center}.vs-date-picker[data-v-a65a2ac3] .v3dp__clearable i{display:inline;position:absolute;right:5px;cursor:pointer}.vs-date-picker[data-v-a65a2ac3] .v3dp__clearable:hover{color:#ef4444}.ui-dialog__wrapper[data-v-56ad9010]{position:relative}.ui-dialog__modal[data-v-56ad9010]{margin:10px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);min-height:0;height:fit-content;max-height:80vh;overflow:hidden}.ui-dialog__content[data-v-56ad9010]{min-height:0;height:100%;overflow:auto}.ui-dialog__content[data-v-56ad9010]::-webkit-scrollbar{width:6px;height:6px;background-color:#f5f5f5}.ui-dialog__content[data-v-56ad9010]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d9d9d9bf}.ui-dialog__content[data-v-56ad9010]::-webkit-scrollbar-track{background-color:#f5f5f5}@media (max-width: 650px){.ui-dialog__modal[data-v-56ad9010]{top:50%}}.fade-enter-active[data-v-56ad9010],.fade-leave-active[data-v-56ad9010]{transition:opacity .2s}.fade-enter-from[data-v-56ad9010],.fade-leave-to[data-v-56ad9010]{opacity:0}.content-enter-active[data-v-56ad9010],.content-leave-active[data-v-56ad9010]{transition:transform .4s}.content-enter-from[data-v-56ad9010],.content-leave-to[data-v-56ad9010]{transform:translate(-50%,-50%) scale(.95)}.col-error .vs-form-text input[data-v-eb21a54f]{border:1px solid red}.vs-form-text[data-v-eb21a54f]{position:relative}.vs-form-text__input[data-v-eb21a54f]::placeholder{opacity:.5}.fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter-from,.fade-leave-to{opacity:0}.heading-level-1[data-v-96f02f2a]{font-weight:700;font-size:30px}.heading-level-2[data-v-96f02f2a]{font-weight:700;font-size:26px}.heading-level-3[data-v-96f02f2a]{font-weight:700;font-size:22px}.heading-level-4[data-v-96f02f2a]{font-weight:700;font-size:18px}.heading-level-5[data-v-96f02f2a]{font-weight:500;font-size:16px}.heading-level-6[data-v-96f02f2a]{font-weight:400;font-size:14px}.flex>button[data-v-6a87fc55]:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.flex>button[data-v-6a87fc55]:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.flex:hover button[data-v-6a87fc55]:first-child{border-right-color:transparent}code[data-v-92c21275]{font-family:Courier New,monospace;font-size:11px}.ProseMirror-focused{outline:none}.editor-toolbar{background-color:#f9fafb}.editor-content{min-height:160px;width:100%;overflow:hidden;max-height:500px;position:relative;display:flex;flex-direction:column}.rich-text-scroll-wrapper{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}.fixed .editor-content{max-height:none;height:calc(100vh - 60px)}.html-source-editor{flex:1;min-height:0;width:100%;overflow:auto;max-height:500px}.fixed .html-source-editor{flex:1;min-height:0;max-height:none;overflow:hidden}button{transition:background-color .2s ease;outline:none}button:focus{outline:none}.editor-content ul{margin-left:20px}.editor-content ul>li{list-style:disc}.editor-content ol{list-style-type:decimal;margin-left:20px}.editor-content pre{background-color:#e7e7e7;border-radius:4px;padding:0 4px}.editor-code{background-color:#f1f1f1;border-radius:3px;padding:2px 4px;font-family:Courier New,monospace;font-size:.9em}.editor-codeblock{background-color:#f8f8f8;border:1px solid #e1e1e1;border-radius:4px;padding:12px;margin:8px 0;font-family:Courier New,monospace;overflow-x:auto}.editor-content a{color:#00f;text-decoration:underline}.editor-content table{width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;margin:20px 0;font-family:Arial,sans-serif;font-size:14px;position:relative}.editor-content thead{position:sticky;top:0;z-index:10}.editor-content th,.editor-content td{border:1px solid #ccc;padding:10px;position:relative}.editor-content th{background-color:#f4f4f4;font-weight:700;position:sticky;top:0;z-index:10}.editor-content tr:nth-child(2n){background-color:#f9f9f9}.editor-content tr:nth-child(odd){background-color:#fff}.selectedCell{background:#f0eeed}.column-resize-handle{background-color:#1d4ed8;bottom:-2px;pointer-events:none;position:absolute;right:-2px;top:0;width:4px}.resize-cursor{cursor:ew-resize;cursor:col-resize}.editor-link{color:#00f}.editor-link:hover{text-decoration:underline}blockquote{font-style:italic;quotes:"«" "»";text-indent:16px}blockquote>p{display:inline}blockquote:before{content:open-quote;display:inline;font-size:18px;margin-right:2px}blockquote:after{content:close-quote;font-size:18px;display:inline;margin-left:2px}.editor-content .editor-image{display:inline-block;vertical-align:middle;margin:0;border:2px solid transparent;border-radius:4px;transition:border-color .2s ease}.editor-content .editor-image[width][height]{max-width:none!important;max-height:none!important;min-width:auto!important;min-height:auto!important;object-fit:fill!important}.editor-content .editor-image[style*=width]{max-width:none!important}.editor-content .editor-image[style*=height]{max-height:none!important}.editor-content .editor-image[style*=width][style*=height]{max-width:none!important;max-height:none!important}.editor-content .editor-image[width]:not([height]){height:auto}.editor-content .editor-image[height]:not([width]){width:auto}.editor-content .editor-image:not([width]):not([height]):not([style*=width]):not([style*=height]){height:auto;width:auto;max-width:100%}.editor-content .editor-image.ProseMirror-selectednode,.editor-content .ProseMirror-selectednode.editor-image{border:2px solid #3b82f6;box-shadow:0 0 0 2px #3b82f633}.editor-content p:has(.editor-image){display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;line-height:1.5}.editor-content p:has(.editor-image)[style*="text-align: center"],.editor-content p:has(.editor-image)[style*="text-align:center"]{justify-content:center}.editor-content p:has(.editor-image)[style*="text-align: right"],.editor-content p:has(.editor-image)[style*="text-align:right"]{justify-content:flex-end}.editor-content p:has(.editor-image)[style*="text-align: left"],.editor-content p:has(.editor-image)[style*="text-align:left"]{justify-content:flex-start}.editor-content p:has(.editor-image)[style*="text-align: justify"],.editor-content p:has(.editor-image)[style*="text-align:justify"]{justify-content:space-between}.editor-content p:has(.editor-image):not(:has(text)){margin:8px 0}.editor-content p .editor-image{flex-shrink:0;max-width:calc(50% - 4px);object-fit:contain}.editor-content p .editor-image:only-child{max-width:100%}.editor-content p .editor-image:nth-child(1):nth-last-child(2),.editor-content p .editor-image:nth-child(2):nth-last-child(1){max-width:calc(50% - 4px)}.editor-content p .editor-image:nth-child(1):nth-last-child(3),.editor-content p .editor-image:nth-child(2):nth-last-child(2),.editor-content p .editor-image:nth-child(3):nth-last-child(1){max-width:calc(33.333% - 6px)}.editor-content p .editor-image:nth-child(n+4){max-width:calc(33.333% - 6px)}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as t, a as n, H as e, G as u, I as p, V as I, D as V, m as r, q as l, v as i, j as o, o as c, p as x, t as d, E as h, h as g, b as S, e as m, n as y, l as A, w as C, s as M, C as T, g as b, f as k, B as E, k as F, d as f, F as v, u as D, a as L, i as R, x as w, y as j, r as q, z, A as B } from "./index-
|
|
1
|
+
import { c as t, a as n, H as e, G as u, I as p, V as I, D as V, m as r, q as l, v as i, j as o, o as c, p as x, t as d, E as h, h as g, b as S, e as m, n as y, l as A, w as C, s as M, C as T, g as b, f as k, B as E, k as F, d as f, F as v, u as D, a as L, i as R, x as w, y as j, r as q, z, A as B } from "./index-C8E76wbx.js";
|
|
2
2
|
export {
|
|
3
3
|
t as ModalEdit,
|
|
4
4
|
n as VForm,
|