@bagelink/vue 1.20.67 → 1.20.68
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/components/layout/AppNav.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarNavItem.vue.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.css +1 -1
- package/dist/index.mjs +223 -220
- package/dist/style.css +1 -1
- package/dist/types/NavLink.d.ts +2 -0
- package/dist/types/NavLink.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/layout/AppNav.vue +1 -0
- package/src/components/layout/SidebarNavItem.vue +5 -3
- package/src/types/NavLink.ts +2 -0
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mZ, r as oY } from "./chunk-Fx_iipZ-.js";
|
|
2
|
-
import { Comment as uZ, Fragment as Le, Teleport as i5, Text as ZZ, Transition as Mi, TransitionGroup as rZ, computed as I, createApp as uc, createBlock as ie, createCommentVNode as f, createElementBlock as M, createElementVNode as v, createSlots as cd, createTextVNode as Ae, createVNode as _, defineComponent as we, effectScope as mY, getCurrentInstance as Cn, getCurrentScope as _o, guardReactiveProps as zt, h as Zl, inject as la, isMemoSame as uY, isRef as sd, isVNode as Pr, markRaw as d5, mergeModels as rt, mergeProps as Wl, nextTick as rl, normalizeClass as Ze, normalizeProps as wt, normalizeStyle as Te, onBeforeUnmount as ea, onBeforeUpdate as ZY, onMounted as dl, onScopeDispose as Vi, onUnmounted as
|
|
2
|
+
import { Comment as uZ, Fragment as Le, Teleport as i5, Text as ZZ, Transition as Mi, TransitionGroup as rZ, computed as I, createApp as uc, createBlock as ie, createCommentVNode as f, createElementBlock as M, createElementVNode as v, createSlots as cd, createTextVNode as Ae, createVNode as _, defineComponent as we, effectScope as mY, getCurrentInstance as Cn, getCurrentScope as _o, guardReactiveProps as zt, h as Zl, inject as la, isMemoSame as uY, isRef as sd, isVNode as Pr, markRaw as d5, mergeModels as rt, mergeProps as Wl, nextTick as rl, normalizeClass as Ze, normalizeProps as wt, normalizeStyle as Te, onBeforeUnmount as ea, onBeforeUpdate as ZY, onMounted as dl, onScopeDispose as Vi, onUnmounted as $l, onUpdated as bZ, openBlock as L, provide as yd, reactive as Xd, readonly as c5, ref as D, renderList as Fe, renderSlot as Ve, resolveComponent as Da, resolveDirective as _l, resolveDynamicComponent as Bl, shallowReactive as rY, shallowRef as pa, toDisplayString as ae, toHandlers as od, toRaw as bY, toValue as Be, unref as N, useAttrs as hZ, useCssVars as s5, useId as o5, useModel as Ql, useSlots as zl, vModelCheckbox as $o, vModelDynamic as hY, vModelRadio as pY, vModelText as Zc, vShow as ri, watch as ze, watchEffect as m5, withCtx as ve, withDirectives as al, withKeys as Hl, withModifiers as ll } from "vue";
|
|
3
3
|
import { RouterLink as u5, useRoute as Kc, useRouter as WY } from "vue-router";
|
|
4
4
|
var GY = /* @__PURE__ */ we({
|
|
5
5
|
__name: "Accordion",
|
|
@@ -4764,7 +4764,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${p.toString()}`;
|
|
|
4764
4764
|
}
|
|
4765
4765
|
dl(() => {
|
|
4766
4766
|
Z(), window.addEventListener("resize", Z);
|
|
4767
|
-
}),
|
|
4767
|
+
}), $l(() => {
|
|
4768
4768
|
window.removeEventListener("resize", Z);
|
|
4769
4769
|
});
|
|
4770
4770
|
async function b(G) {
|
|
@@ -4797,7 +4797,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${p.toString()}`;
|
|
|
4797
4797
|
}
|
|
4798
4798
|
const W = zl();
|
|
4799
4799
|
return (G, y) => {
|
|
4800
|
-
const X =
|
|
4800
|
+
const X = _l("ripple");
|
|
4801
4801
|
return al((L(), ie(Bl(r.value), Wl(Y.value, {
|
|
4802
4802
|
disabled: e.disabled,
|
|
4803
4803
|
class: ["bgl_btn", [{
|
|
@@ -4849,7 +4849,7 @@ ${t.event.url}`), `https://calendar.google.com/calendar/render?${p.toString()}`;
|
|
|
4849
4849
|
"mobile-size"
|
|
4850
4850
|
])) : f("", !0),
|
|
4851
4851
|
Ve(G.$slots, "default", {}, void 0, !0),
|
|
4852
|
-
!N(W).default && e.value ? (L(), M(Le, { key: 1 }, [Ae(ae(N(
|
|
4852
|
+
!N(W).default && e.value ? (L(), M(Le, { key: 1 }, [Ae(ae(N(_e)(e.value)), 1)], 64)) : f("", !0),
|
|
4853
4853
|
e.iconEnd ? (L(), ie(N(Oe), {
|
|
4854
4854
|
key: 2,
|
|
4855
4855
|
icon: e.iconEnd,
|
|
@@ -5061,7 +5061,7 @@ function Dn(e) {
|
|
|
5061
5061
|
for (const c of d) c.isIntersecting && (i(), t?.disconnect());
|
|
5062
5062
|
}, { threshold: 0.25 }), e.el.value ? t.observe(e.el.value) : i();
|
|
5063
5063
|
}
|
|
5064
|
-
}),
|
|
5064
|
+
}), $l(() => {
|
|
5065
5065
|
t?.disconnect(), cancelAnimationFrame(a);
|
|
5066
5066
|
}), { progress: l };
|
|
5067
5067
|
}
|
|
@@ -5304,7 +5304,7 @@ var za = (e, l = !1) => l ? Symbol.for(e) : Symbol(e), sL = (e, l, t) => oL({
|
|
|
5304
5304
|
function fn(e, l) {
|
|
5305
5305
|
return Pe(l) || Al(l) ? `${e}:${l}` : e;
|
|
5306
5306
|
}
|
|
5307
|
-
var W5 = (e) => NZ(e) === "[object Date]", md = (e) => NZ(e) === "[object RegExp]", GZ = (e) => gl(e) && Object.keys(e).length === 0,
|
|
5307
|
+
var W5 = (e) => NZ(e) === "[object Date]", md = (e) => NZ(e) === "[object RegExp]", GZ = (e) => gl(e) && Object.keys(e).length === 0, lt = Object.assign, mL = Object.create, Sl = (e = null) => mL(e), _r, gn = () => _r || (_r = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : Sl()), uL = Object.prototype.hasOwnProperty;
|
|
5308
5308
|
function Za(e, l) {
|
|
5309
5309
|
return uL.call(e, l);
|
|
5310
5310
|
}
|
|
@@ -5990,7 +5990,7 @@ function HL(e = {}) {
|
|
|
5990
5990
|
return W.currentType === 13 ? X : h(p, G, y, X);
|
|
5991
5991
|
}
|
|
5992
5992
|
function Y(p) {
|
|
5993
|
-
const W = CL(p,
|
|
5993
|
+
const W = CL(p, lt({}, e)), G = W.context(), y = n(0, G.offset, G.startLoc);
|
|
5994
5994
|
return l && y.loc && (y.loc.source = p), y.body = r(W), e.onCacheKey && (y.cacheKey = e.onCacheKey(p)), G.currentType !== 13 && a(W, ul.UNEXPECTED_LEXICAL_ANALYSIS, G.lastStartLoc, 0, p[G.offset] || ""), i(y, W.currentOffset(), W.currentPosition()), y;
|
|
5995
5995
|
}
|
|
5996
5996
|
return { parse: Y };
|
|
@@ -6239,7 +6239,7 @@ var a9 = (e, l = {}) => {
|
|
|
6239
6239
|
};
|
|
6240
6240
|
};
|
|
6241
6241
|
function n9(e, l = {}) {
|
|
6242
|
-
const t =
|
|
6242
|
+
const t = lt({}, l), a = !!t.jit, n = !!t.minify, i = t.optimize == null ? !0 : t.optimize, d = HL(t).parse(e);
|
|
6243
6243
|
return a ? (i && QL(d), n && Oi(d), {
|
|
6244
6244
|
ast: d,
|
|
6245
6245
|
code: ""
|
|
@@ -6669,7 +6669,7 @@ var w5 = null, ub = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
6669
6669
|
R5 = e;
|
|
6670
6670
|
}, rb = () => R5, bb = 0;
|
|
6671
6671
|
function D9(e = {}) {
|
|
6672
|
-
const l = fl(e.onWarn) ? e.onWarn : hL, t = Pe(e.version) ? e.version : f9, a = Pe(e.locale) || fl(e.locale) ? e.locale : pc, n = fl(a) ? pc : a, i = Fl(e.fallbackLocale) || gl(e.fallbackLocale) || Pe(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, d = gl(e.messages) ? e.messages : Um(n), c = gl(e.datetimeFormats) ? e.datetimeFormats : Um(n), s = gl(e.numberFormats) ? e.numberFormats : Um(n), o =
|
|
6672
|
+
const l = fl(e.onWarn) ? e.onWarn : hL, t = Pe(e.version) ? e.version : f9, a = Pe(e.locale) || fl(e.locale) ? e.locale : pc, n = fl(a) ? pc : a, i = Fl(e.fallbackLocale) || gl(e.fallbackLocale) || Pe(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, d = gl(e.messages) ? e.messages : Um(n), c = gl(e.datetimeFormats) ? e.datetimeFormats : Um(n), s = gl(e.numberFormats) ? e.numberFormats : Um(n), o = lt(Sl(), e.modifiers, F9()), m = e.pluralRules || Sl(), u = fl(e.missing) ? e.missing : null, Z = Tl(e.missingWarn) || md(e.missingWarn) ? e.missingWarn : !0, b = Tl(e.fallbackWarn) || md(e.fallbackWarn) ? e.fallbackWarn : !0, h = !!e.fallbackFormat, r = !!e.unresolving, Y = fl(e.postTranslation) ? e.postTranslation : null, p = gl(e.processor) ? e.processor : null, W = Tl(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, G = !!e.escapeParameter, y = fl(e.messageCompiler) ? e.messageCompiler : x5;
|
|
6673
6673
|
process.env.NODE_ENV !== "production" && fl(e.messageCompiler) && LZ(Fn(mt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
6674
6674
|
const X = fl(e.messageResolver) ? e.messageResolver : g5 || R9, V = fl(e.localeFallbacker) ? e.localeFallbacker : z5 || X9, T = Yl(e.fallbackContext) ? e.fallbackContext : void 0, x = e, S = Yl(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), z = Yl(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), w = Yl(x.__meta) ? x.__meta : {};
|
|
6675
6675
|
bb++;
|
|
@@ -6802,7 +6802,7 @@ function Wb(e, ...l) {
|
|
|
6802
6802
|
if (!Pe(h)) return a ? -1 : d;
|
|
6803
6803
|
const r = t[h][d], Y = j5(h, d, o);
|
|
6804
6804
|
let p = i.get(Y);
|
|
6805
|
-
return p || (p = new Intl.DateTimeFormat(h,
|
|
6805
|
+
return p || (p = new Intl.DateTimeFormat(h, lt({}, r, o)), i.set(Y, p)), Z ? p.formatToParts(c) : p.format(c);
|
|
6806
6806
|
}
|
|
6807
6807
|
var D5 = [
|
|
6808
6808
|
"localeMatcher",
|
|
@@ -6870,7 +6870,7 @@ function Nb(e, ...l) {
|
|
|
6870
6870
|
if (!Pe(h)) return a ? -1 : d;
|
|
6871
6871
|
const r = t[h][d], Y = j5(h, d, o);
|
|
6872
6872
|
let p = i.get(Y);
|
|
6873
|
-
return p || (p = new Intl.NumberFormat(h,
|
|
6873
|
+
return p || (p = new Intl.NumberFormat(h, lt({}, r, o)), i.set(Y, p)), Z ? p.formatToParts(c) : p.format(c);
|
|
6874
6874
|
}
|
|
6875
6875
|
var U5 = [
|
|
6876
6876
|
"localeMatcher",
|
|
@@ -6939,7 +6939,7 @@ function Q9(e = {}) {
|
|
|
6939
6939
|
type: h,
|
|
6940
6940
|
interpolate: b,
|
|
6941
6941
|
normalize: Z,
|
|
6942
|
-
values:
|
|
6942
|
+
values: lt(Sl(), d, s)
|
|
6943
6943
|
};
|
|
6944
6944
|
return Y;
|
|
6945
6945
|
}
|
|
@@ -6970,7 +6970,7 @@ function yb(e, ...l) {
|
|
|
6970
6970
|
format: Pe(y) ? y : da(y) ? y.source : "",
|
|
6971
6971
|
message: z
|
|
6972
6972
|
};
|
|
6973
|
-
w.meta =
|
|
6973
|
+
w.meta = lt({}, e.__meta, /* @__PURE__ */ C9() || {}), Y9(w);
|
|
6974
6974
|
}
|
|
6975
6975
|
return z;
|
|
6976
6976
|
}
|
|
@@ -7065,7 +7065,7 @@ function l2(...e) {
|
|
|
7065
7065
|
const [l, t, a] = e, n = Sl();
|
|
7066
7066
|
if (!Pe(l) && !Al(l) && !da(l) && !ba(l)) throw dn(Vt.INVALID_ARGUMENT);
|
|
7067
7067
|
const i = Al(l) ? String(l) : (da(l), l);
|
|
7068
|
-
return Al(t) ? n.plural = t : Pe(t) ? n.default = t : gl(t) && !GZ(t) ? n.named = t : Fl(t) && (n.list = t), Al(a) ? n.plural = a : Pe(a) ? n.default = a : gl(a) &&
|
|
7068
|
+
return Al(t) ? n.plural = t : Pe(t) ? n.default = t : gl(t) && !GZ(t) ? n.named = t : Fl(t) && (n.list = t), Al(a) ? n.plural = a : Pe(a) ? n.default = a : gl(a) && lt(n, a), [i, n];
|
|
7069
7069
|
}
|
|
7070
7070
|
function $9(e, l, t, a, n, i) {
|
|
7071
7071
|
return {
|
|
@@ -7411,7 +7411,7 @@ function oo(e = {}) {
|
|
|
7411
7411
|
function se(Me, ee) {
|
|
7412
7412
|
return Me !== "translate" || !ee.resolvedMessage;
|
|
7413
7413
|
}
|
|
7414
|
-
const re = (Me, ee, tl, fe,
|
|
7414
|
+
const re = (Me, ee, tl, fe, $e, ye) => {
|
|
7415
7415
|
S();
|
|
7416
7416
|
let Ce;
|
|
7417
7417
|
try {
|
|
@@ -7433,7 +7433,7 @@ function oo(e = {}) {
|
|
|
7433
7433
|
groupId: fn(tl, De)
|
|
7434
7434
|
});
|
|
7435
7435
|
}
|
|
7436
|
-
return l && h ? fe(l) :
|
|
7436
|
+
return l && h ? fe(l) : $e(De);
|
|
7437
7437
|
} else {
|
|
7438
7438
|
if (ye(Ce)) return Ce;
|
|
7439
7439
|
throw St(vl.UNEXPECTED_RETURN_TYPE);
|
|
@@ -7445,7 +7445,7 @@ function oo(e = {}) {
|
|
|
7445
7445
|
function R(...Me) {
|
|
7446
7446
|
const [ee, tl, fe] = Me;
|
|
7447
7447
|
if (fe && !Yl(fe)) throw St(vl.INVALID_ARGUMENT);
|
|
7448
|
-
return de(ee, tl,
|
|
7448
|
+
return de(ee, tl, lt({ resolvedMessage: !0 }, fe || {}));
|
|
7449
7449
|
}
|
|
7450
7450
|
function g(...Me) {
|
|
7451
7451
|
return re((ee) => Reflect.apply(Wb, null, [ee, ...Me]), () => qu(...Me), "datetime format", (ee) => Reflect.apply(ee.d, ee, [...Me]), () => "", (ee) => Pe(ee) || Fl(ee));
|
|
@@ -7486,8 +7486,8 @@ function oo(e = {}) {
|
|
|
7486
7486
|
return re(() => {
|
|
7487
7487
|
if (!Me) return !1;
|
|
7488
7488
|
const tl = Pe(ee) ? ee : c.value, fe = Pe(ee) ? [tl] : $u(T, s.value, tl);
|
|
7489
|
-
for (let
|
|
7490
|
-
const ye = te(fe[
|
|
7489
|
+
for (let $e = 0; $e < fe.length; $e++) {
|
|
7490
|
+
const ye = te(fe[$e]);
|
|
7491
7491
|
let Ce = T.messageResolver(ye, Me);
|
|
7492
7492
|
if (Ce === null && (Ce = ye[Me]), ba(Ce) || da(Ce) || Pe(Ce)) return !0;
|
|
7493
7493
|
}
|
|
@@ -7498,7 +7498,7 @@ function oo(e = {}) {
|
|
|
7498
7498
|
let ee = null;
|
|
7499
7499
|
const tl = $u(T, s.value, c.value);
|
|
7500
7500
|
for (let fe = 0; fe < tl.length; fe++) {
|
|
7501
|
-
const
|
|
7501
|
+
const $e = o.value[tl[fe]] || {}, ye = T.messageResolver($e, Me);
|
|
7502
7502
|
if (ye != null) {
|
|
7503
7503
|
ee = ye;
|
|
7504
7504
|
break;
|
|
@@ -7535,7 +7535,7 @@ function oo(e = {}) {
|
|
|
7535
7535
|
m.value[Me] = ee, T.datetimeFormats = m.value, Gb(T, Me, ee);
|
|
7536
7536
|
}
|
|
7537
7537
|
function ge(Me, ee) {
|
|
7538
|
-
m.value[Me] =
|
|
7538
|
+
m.value[Me] = lt(m.value[Me] || {}, ee), T.datetimeFormats = m.value, Gb(T, Me, ee);
|
|
7539
7539
|
}
|
|
7540
7540
|
function Qe(Me) {
|
|
7541
7541
|
return u.value[Me] || {};
|
|
@@ -7544,7 +7544,7 @@ function oo(e = {}) {
|
|
|
7544
7544
|
u.value[Me] = ee, T.numberFormats = u.value, Yb(T, Me, ee);
|
|
7545
7545
|
}
|
|
7546
7546
|
function He(Me, ee) {
|
|
7547
|
-
u.value[Me] =
|
|
7547
|
+
u.value[Me] = lt(u.value[Me] || {}, ee), T.numberFormats = u.value, Yb(T, Me, ee);
|
|
7548
7548
|
}
|
|
7549
7549
|
Tb++, ze(s, () => w(s.value), {
|
|
7550
7550
|
deep: !0,
|
|
@@ -7878,7 +7878,7 @@ function xy(e) {
|
|
|
7878
7878
|
let h = e.messages;
|
|
7879
7879
|
if (gl(e.sharedMessages)) {
|
|
7880
7880
|
const X = e.sharedMessages;
|
|
7881
|
-
h = Object.keys(X).reduce((V, T) => (
|
|
7881
|
+
h = Object.keys(X).reduce((V, T) => (lt(V[T] || (V[T] = {}), X[T]), V), h || {});
|
|
7882
7882
|
}
|
|
7883
7883
|
const { __i18n: r, __root: Y, __injectWithOption: p } = e, W = e.datetimeFormats, G = e.numberFormats, y = e.flatJson;
|
|
7884
7884
|
return {
|
|
@@ -8116,7 +8116,7 @@ function ep() {
|
|
|
8116
8116
|
}
|
|
8117
8117
|
var zb = /* @__PURE__ */ we({
|
|
8118
8118
|
name: "i18n-t",
|
|
8119
|
-
props:
|
|
8119
|
+
props: lt({
|
|
8120
8120
|
keypath: {
|
|
8121
8121
|
type: String,
|
|
8122
8122
|
required: !0
|
|
@@ -8137,7 +8137,7 @@ var zb = /* @__PURE__ */ we({
|
|
|
8137
8137
|
e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = Pe(e.plural) ? +e.plural : e.plural);
|
|
8138
8138
|
const m = zy(l, s);
|
|
8139
8139
|
return n[a2](e.keypath, m, o);
|
|
8140
|
-
}, d =
|
|
8140
|
+
}, d = lt(Sl(), a), c = Pe(e.tag) || Yl(e.tag) ? e.tag : ep();
|
|
8141
8141
|
return Yl(c) ? Zl(c, d, { default: i }) : Zl(c, d, i());
|
|
8142
8142
|
};
|
|
8143
8143
|
}
|
|
@@ -8151,7 +8151,7 @@ function lp(e, l, t, a) {
|
|
|
8151
8151
|
const d = () => {
|
|
8152
8152
|
const o = { part: !0 };
|
|
8153
8153
|
let m = Sl();
|
|
8154
|
-
e.locale && (o.locale = e.locale), Pe(e.format) ? o.key = e.format : Yl(e.format) && (Pe(e.format.key) && (o.key = e.format.key), m = Object.keys(e.format).reduce((b, h) => t.includes(h) ?
|
|
8154
|
+
e.locale && (o.locale = e.locale), Pe(e.format) ? o.key = e.format : Yl(e.format) && (Pe(e.format.key) && (o.key = e.format.key), m = Object.keys(e.format).reduce((b, h) => t.includes(h) ? lt(Sl(), b, { [h]: e.format[h] }) : b, Sl()));
|
|
8155
8155
|
const u = a(e.value, o, m);
|
|
8156
8156
|
let Z = [o.key];
|
|
8157
8157
|
return Fl(u) ? Z = u.map((b, h) => {
|
|
@@ -8162,13 +8162,13 @@ function lp(e, l, t, a) {
|
|
|
8162
8162
|
}) : [b.value];
|
|
8163
8163
|
return wy(Y) && (Y[0].key = `${b.type}-${h}`), Y;
|
|
8164
8164
|
}) : Pe(u) && (Z = [u]), Z;
|
|
8165
|
-
}, c =
|
|
8165
|
+
}, c = lt(Sl(), i), s = Pe(e.tag) || Yl(e.tag) ? e.tag : ep();
|
|
8166
8166
|
return Yl(s) ? Zl(s, c, { default: d }) : Zl(s, c, d());
|
|
8167
8167
|
};
|
|
8168
8168
|
}
|
|
8169
8169
|
var wb = /* @__PURE__ */ we({
|
|
8170
8170
|
name: "i18n-n",
|
|
8171
|
-
props:
|
|
8171
|
+
props: lt({
|
|
8172
8172
|
value: {
|
|
8173
8173
|
type: Number,
|
|
8174
8174
|
required: !0
|
|
@@ -8307,7 +8307,7 @@ function zZ(e = {}) {
|
|
|
8307
8307
|
}
|
|
8308
8308
|
if (i === "isolated") {
|
|
8309
8309
|
if (t.mode !== "composition") throw St(vl.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
|
|
8310
|
-
const s = t, o =
|
|
8310
|
+
const s = t, o = lt({}, e);
|
|
8311
8311
|
o.__root = vb(t, l) || a;
|
|
8312
8312
|
const m = oo(o);
|
|
8313
8313
|
s.__composerExtend && (m[Ki] = s.__composerExtend(m));
|
|
@@ -8330,7 +8330,7 @@ function zZ(e = {}) {
|
|
|
8330
8330
|
const d = t;
|
|
8331
8331
|
let c = d.__getInstance(l);
|
|
8332
8332
|
if (c == null) {
|
|
8333
|
-
const s =
|
|
8333
|
+
const s = lt({}, e);
|
|
8334
8334
|
"__i18n" in n && (s.__i18n = n.__i18n), a && (s.__root = a), c = oo(s), d.__composerExtend && (c[Ki] = d.__composerExtend(c)), Uy(d, l, c), d.__setInstance(l, c);
|
|
8335
8335
|
} else process.env.NODE_ENV !== "production" && i === "local" && (Zd(ca.DUPLICATE_USE_I18N_CALLING), void 0);
|
|
8336
8336
|
return c;
|
|
@@ -8378,7 +8378,7 @@ function Uy(e, l, t) {
|
|
|
8378
8378
|
const n = t;
|
|
8379
8379
|
n[hn] && n[hn](a), a.on("*", pi);
|
|
8380
8380
|
}
|
|
8381
|
-
}, l),
|
|
8381
|
+
}, l), $l(() => {
|
|
8382
8382
|
const n = t;
|
|
8383
8383
|
process.env.NODE_ENV !== "production" && (a && a.off("*", pi), n[hi] && n[hi](), delete l.__VUE_I18N__), e.__deleteInstance(l);
|
|
8384
8384
|
const i = n[Ki];
|
|
@@ -8425,7 +8425,7 @@ function Ey(e, l) {
|
|
|
8425
8425
|
}
|
|
8426
8426
|
var Fb = /* @__PURE__ */ we({
|
|
8427
8427
|
name: "i18n-d",
|
|
8428
|
-
props:
|
|
8428
|
+
props: lt({
|
|
8429
8429
|
value: {
|
|
8430
8430
|
type: [Number, Date],
|
|
8431
8431
|
required: !0
|
|
@@ -10682,7 +10682,7 @@ function jl() {
|
|
|
10682
10682
|
d: e.d
|
|
10683
10683
|
};
|
|
10684
10684
|
}
|
|
10685
|
-
function
|
|
10685
|
+
function _e(e) {
|
|
10686
10686
|
if (e != null)
|
|
10687
10687
|
return e.startsWith("$t:") ? En().global.t(e.slice(3)) : e;
|
|
10688
10688
|
}
|
|
@@ -10744,7 +10744,7 @@ function np(e, l) {
|
|
|
10744
10744
|
s(), e.value && (t.value = e.value.clientWidth || 0, o = new ResizeObserver((u) => {
|
|
10745
10745
|
for (const Z of u) t.value = Z.contentRect.width;
|
|
10746
10746
|
}), o.observe(e.value));
|
|
10747
|
-
}),
|
|
10747
|
+
}), $l(() => o?.disconnect()), {
|
|
10748
10748
|
width: t,
|
|
10749
10749
|
height: a,
|
|
10750
10750
|
pad: n,
|
|
@@ -11552,7 +11552,7 @@ var PT = [
|
|
|
11552
11552
|
return U && d.value ? U.display : null;
|
|
11553
11553
|
}), F = wZ(y, X);
|
|
11554
11554
|
return (U, O) => {
|
|
11555
|
-
const q =
|
|
11555
|
+
const q = _l("tooltip");
|
|
11556
11556
|
return L(), M("div", {
|
|
11557
11557
|
ref_key: "el",
|
|
11558
11558
|
ref: t,
|
|
@@ -12547,7 +12547,7 @@ var SI = ["transform"], vI = [
|
|
|
12547
12547
|
return t.href !== void 0 && t.href !== "" ? m.href = t.href : t.to !== void 0 && t.to !== "" && (m.to = t.to), m;
|
|
12548
12548
|
}), c = I(() => t.href !== void 0 && t.href !== "" ? "a" : t.to !== void 0 && t.to !== "" ? "router-link" : "div"), s = I(() => !!(t.title || l.header || l["header-action"] || l["top-start"] || l["top-end"])), o = I(() => !!(l.footer || l["bottom-start"] || l["bottom-end"]));
|
|
12549
12549
|
return (m, u) => {
|
|
12550
|
-
const Z =
|
|
12550
|
+
const Z = _l("ripple");
|
|
12551
12551
|
return al((L(), ie(Bl(c.value), Wl(d.value, {
|
|
12552
12552
|
class: ["bgl_card", [{
|
|
12553
12553
|
thin: e.thin,
|
|
@@ -13799,7 +13799,7 @@ var mg = ["src", "title"], ug = [
|
|
|
13799
13799
|
a("close");
|
|
13800
13800
|
}
|
|
13801
13801
|
return (u, Z) => {
|
|
13802
|
-
const b =
|
|
13802
|
+
const b = _l("click-outside");
|
|
13803
13803
|
return e.show && e.event ? al((L(), ie(N(Ba), {
|
|
13804
13804
|
key: 0,
|
|
13805
13805
|
ref_key: "popoverRef",
|
|
@@ -13990,7 +13990,7 @@ var mg = ["src", "title"], ug = [
|
|
|
13990
13990
|
o.value.some((w) => X(w.date) >= z || Math.abs(X(w.date) - z) < 864e5) && (m.value = !0, T(S, "nearest"));
|
|
13991
13991
|
}), dl(() => {
|
|
13992
13992
|
d.value?.addEventListener("scroll", G);
|
|
13993
|
-
}),
|
|
13993
|
+
}), $l(() => {
|
|
13994
13994
|
d.value?.removeEventListener("scroll", G), clearTimeout(h), Y !== void 0 && cancelAnimationFrame(Y);
|
|
13995
13995
|
}), (S, z) => (L(), M("div", {
|
|
13996
13996
|
ref_key: "containerRef",
|
|
@@ -14113,7 +14113,7 @@ var mg = ["src", "title"], ug = [
|
|
|
14113
14113
|
}
|
|
14114
14114
|
return dl(() => {
|
|
14115
14115
|
document.addEventListener("mousedown", b), Z(), o.value = setInterval(Z, 6e4);
|
|
14116
|
-
}),
|
|
14116
|
+
}), $l(() => {
|
|
14117
14117
|
document.removeEventListener("mousedown", b), document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", r), o.value && clearInterval(o.value);
|
|
14118
14118
|
}), (W, G) => (L(), M("div", Rg, [
|
|
14119
14119
|
v("div", Sg, [G[0] || (G[0] = v("div", null, null, -1)), v("div", null, ae(N(Pl)(e.startDate)), 1)]),
|
|
@@ -14559,7 +14559,7 @@ var mg = ["src", "title"], ug = [
|
|
|
14559
14559
|
ue(), y.value = setInterval(ue, 6e4), rl(() => {
|
|
14560
14560
|
re(6);
|
|
14561
14561
|
});
|
|
14562
|
-
}),
|
|
14562
|
+
}), $l(() => {
|
|
14563
14563
|
document.removeEventListener("mousemove", q), document.removeEventListener("mouseup", H), document.removeEventListener("mousemove", Y), document.removeEventListener("mouseup", p), y.value && clearInterval(y.value);
|
|
14564
14564
|
}), (de, R) => (L(), M("div", lz, [
|
|
14565
14565
|
v("div", {
|
|
@@ -15459,7 +15459,7 @@ function fZ(e = {}) {
|
|
|
15459
15459
|
function le() {
|
|
15460
15460
|
h?.(), h = void 0;
|
|
15461
15461
|
}
|
|
15462
|
-
return Cn() &&
|
|
15462
|
+
return Cn() && $l(le), {
|
|
15463
15463
|
isDragging: l,
|
|
15464
15464
|
dragElement: t,
|
|
15465
15465
|
initDraggableContainer: A,
|
|
@@ -16759,16 +16759,16 @@ var Tw = {
|
|
|
16759
16759
|
hide: 0
|
|
16760
16760
|
});
|
|
16761
16761
|
function F(fe) {
|
|
16762
|
-
const
|
|
16762
|
+
const $e = fe.width ?? 0, ye = fe.height ?? 0;
|
|
16763
16763
|
return { getBoundingClientRect() {
|
|
16764
16764
|
return {
|
|
16765
|
-
width:
|
|
16765
|
+
width: $e,
|
|
16766
16766
|
height: ye,
|
|
16767
16767
|
x: fe.x,
|
|
16768
16768
|
y: fe.y,
|
|
16769
16769
|
top: fe.y,
|
|
16770
16770
|
left: fe.x,
|
|
16771
|
-
right: fe.x +
|
|
16771
|
+
right: fe.x + $e,
|
|
16772
16772
|
bottom: fe.y + ye,
|
|
16773
16773
|
toJSON() {
|
|
16774
16774
|
return this;
|
|
@@ -16782,12 +16782,12 @@ var Tw = {
|
|
|
16782
16782
|
async function O() {
|
|
16783
16783
|
const fe = U();
|
|
16784
16784
|
if (!o.value || !fe || Y.value) return;
|
|
16785
|
-
const
|
|
16786
|
-
placement:
|
|
16785
|
+
const $e = a.placement === "auto", { x: ye, y: Ce } = await kp(fe, o.value, {
|
|
16786
|
+
placement: $e ? void 0 : a.placement,
|
|
16787
16787
|
strategy: "fixed",
|
|
16788
16788
|
middleware: [
|
|
16789
16789
|
fp(4),
|
|
16790
|
-
|
|
16790
|
+
...$e ? [Fp()] : [Jp()],
|
|
16791
16791
|
jp({ padding: 8 })
|
|
16792
16792
|
]
|
|
16793
16793
|
});
|
|
@@ -16806,8 +16806,8 @@ var Tw = {
|
|
|
16806
16806
|
const fe = a.referenceEl instanceof Element ? a.referenceEl : s.value;
|
|
16807
16807
|
if (h.value = fe?.closest("dialog[open]") ?? b, a.showGroup && vi.has(a.showGroup) && vi.get(a.showGroup).forEach((ye) => ye()), await rl(), !o.value) return;
|
|
16808
16808
|
o.value.dataset.bglId = Z;
|
|
16809
|
-
const
|
|
16810
|
-
|
|
16809
|
+
const $e = fe?.closest("[data-bgl-id]");
|
|
16810
|
+
$e?.dataset.bglId ? o.value.dataset.bglOwner = $e.dataset.bglId : delete o.value.dataset.bglOwner, o.value.style.opacity = "0", o.value.showPopover(), await O(), o.value.style.opacity = "", u && (R(), u = !1);
|
|
16811
16811
|
}
|
|
16812
16812
|
function P(fe) {
|
|
16813
16813
|
q() && ((fe?.restoreFocus ?? !0) && !a.noAutoFocus && s.value?.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')?.focus(), o.value?.hidePopover());
|
|
@@ -16835,28 +16835,28 @@ var Tw = {
|
|
|
16835
16835
|
return o.value ? Array.from(o.value.querySelectorAll(se)).filter((fe) => fe.offsetParent !== null || fe === document.activeElement) : [];
|
|
16836
16836
|
}
|
|
16837
16837
|
function de(fe) {
|
|
16838
|
-
const
|
|
16839
|
-
|
|
16838
|
+
const $e = re();
|
|
16839
|
+
$e.length !== 0 && $e[(fe + $e.length) % $e.length]?.focus();
|
|
16840
16840
|
}
|
|
16841
16841
|
function R() {
|
|
16842
16842
|
a.noAutoFocus || de(0);
|
|
16843
16843
|
}
|
|
16844
16844
|
function g(fe) {
|
|
16845
|
-
const
|
|
16846
|
-
if (
|
|
16847
|
-
const ye =
|
|
16845
|
+
const $e = re();
|
|
16846
|
+
if ($e.length === 0) return;
|
|
16847
|
+
const ye = $e.indexOf(document.activeElement);
|
|
16848
16848
|
switch (fe.key) {
|
|
16849
16849
|
case "ArrowDown":
|
|
16850
16850
|
fe.preventDefault(), de(ye < 0 ? 0 : ye + 1);
|
|
16851
16851
|
break;
|
|
16852
16852
|
case "ArrowUp":
|
|
16853
|
-
fe.preventDefault(), de(ye < 0 ?
|
|
16853
|
+
fe.preventDefault(), de(ye < 0 ? $e.length - 1 : ye - 1);
|
|
16854
16854
|
break;
|
|
16855
16855
|
case "Home":
|
|
16856
16856
|
fe.preventDefault(), de(0);
|
|
16857
16857
|
break;
|
|
16858
16858
|
case "End":
|
|
16859
|
-
fe.preventDefault(), de(
|
|
16859
|
+
fe.preventDefault(), de($e.length - 1);
|
|
16860
16860
|
break;
|
|
16861
16861
|
}
|
|
16862
16862
|
}
|
|
@@ -16880,11 +16880,11 @@ var Tw = {
|
|
|
16880
16880
|
}
|
|
16881
16881
|
function le(fe) {
|
|
16882
16882
|
if (!a.autoHide || !q()) return;
|
|
16883
|
-
const
|
|
16884
|
-
if (o.value?.contains(
|
|
16883
|
+
const $e = fe.target;
|
|
16884
|
+
if (o.value?.contains($e) || s.value?.contains($e) || a.referenceEl instanceof Node && a.referenceEl.contains($e)) return;
|
|
16885
16885
|
const ye = document.querySelectorAll("[popover]:popover-open"), Ce = o.value?.dataset.bglId;
|
|
16886
16886
|
for (const De of Array.from(ye))
|
|
16887
|
-
if (De !== o.value && De.contains(
|
|
16887
|
+
if (De !== o.value && De.contains($e) && Ce && De.dataset.bglOwner === Ce)
|
|
16888
16888
|
return;
|
|
16889
16889
|
P({ restoreFocus: !1 });
|
|
16890
16890
|
}
|
|
@@ -16901,15 +16901,15 @@ var Tw = {
|
|
|
16901
16901
|
}
|
|
16902
16902
|
let Xe = 0;
|
|
16903
16903
|
function $(fe = !1) {
|
|
16904
|
-
const
|
|
16905
|
-
|
|
16904
|
+
const $e = Date.now();
|
|
16905
|
+
$e - Xe < 50 || (Xe = $e, u = fe, q() ? P() : H());
|
|
16906
16906
|
}
|
|
16907
16907
|
function te(fe) {
|
|
16908
16908
|
T.value && $(!!fe && fe.detail === 0);
|
|
16909
16909
|
}
|
|
16910
16910
|
function ce(fe) {
|
|
16911
|
-
const
|
|
16912
|
-
if (!(
|
|
16911
|
+
const $e = fe.target;
|
|
16912
|
+
if (!($e && ($e instanceof HTMLInputElement || $e instanceof HTMLTextAreaElement || $e instanceof HTMLSelectElement || $e.isContentEditable)))
|
|
16913
16913
|
switch (fe.key) {
|
|
16914
16914
|
case "Enter":
|
|
16915
16915
|
case " ":
|
|
@@ -16944,9 +16944,9 @@ var Tw = {
|
|
|
16944
16944
|
function sl() {
|
|
16945
16945
|
document.querySelectorAll("iframe").forEach((fe) => {
|
|
16946
16946
|
try {
|
|
16947
|
-
const
|
|
16948
|
-
if (
|
|
16949
|
-
|
|
16947
|
+
const $e = fe.contentDocument;
|
|
16948
|
+
if (!$e || He.has($e)) return;
|
|
16949
|
+
$e.addEventListener("pointerdown", B, !0), He.add($e);
|
|
16950
16950
|
} catch {
|
|
16951
16951
|
}
|
|
16952
16952
|
});
|
|
@@ -16976,7 +16976,7 @@ var Tw = {
|
|
|
16976
16976
|
openAt: ue,
|
|
16977
16977
|
updatePosition: O,
|
|
16978
16978
|
shown: d
|
|
16979
|
-
}), (fe,
|
|
16979
|
+
}), (fe, $e) => (L(), M("div", gw, [X.value ? (L(), M("div", Wl({
|
|
16980
16980
|
key: 0,
|
|
16981
16981
|
ref_key: "triggerWrapRef",
|
|
16982
16982
|
ref: s
|
|
@@ -17053,7 +17053,7 @@ var Tw = {
|
|
|
17053
17053
|
onFocus: Ne,
|
|
17054
17054
|
onBlur: ge,
|
|
17055
17055
|
onKeydown: g
|
|
17056
|
-
}, [
|
|
17056
|
+
}, [$e[0] || ($e[0] = v("div", { class: "bgl-dropdown__backdrop" }, null, -1)), v("div", {
|
|
17057
17057
|
class: Ze(["bgl-dropdown__content overflow-hidden", {
|
|
17058
17058
|
"display-flex column bgl-dropdown__content--card": a.card,
|
|
17059
17059
|
"bgl-dropdown__content--no-padding": a.noPadding
|
|
@@ -18828,7 +18828,7 @@ var pR = { class: "p-025 bg-bg radius-1 mb-05 m_max-h-300px m_overflow m_border"
|
|
|
18828
18828
|
}), ea(() => {
|
|
18829
18829
|
document.removeEventListener("fullscreenchange", de), F(), U();
|
|
18830
18830
|
}), (g, C) => {
|
|
18831
|
-
const k =
|
|
18831
|
+
const k = _l("tooltip");
|
|
18832
18832
|
return L(), M("div", {
|
|
18833
18833
|
ref_key: "root",
|
|
18834
18834
|
ref: n,
|
|
@@ -19028,7 +19028,7 @@ var fR = {
|
|
|
19028
19028
|
emits: ["update:modelValue"],
|
|
19029
19029
|
setup(e, { emit: l }) {
|
|
19030
19030
|
const t = e, { shellClass: a, shellStyle: n } = at(t), i = l, d = zl(), { $t: c } = jl(), s = D(Array.isArray(t.modelValue) ? [...t.modelValue] : []), o = D(Array.from({ length: s.value.length }, () => !0)), m = I(() => s.value.some((w) => w != null && w !== "")), u = I(() => {
|
|
19031
|
-
const w =
|
|
19031
|
+
const w = _e(t.itemLabel);
|
|
19032
19032
|
return typeof w == "string" && w.length > 0 ? w : c("arrayInput.item");
|
|
19033
19033
|
}), Z = [
|
|
19034
19034
|
"title",
|
|
@@ -19132,19 +19132,19 @@ var fR = {
|
|
|
19132
19132
|
});
|
|
19133
19133
|
}
|
|
19134
19134
|
return (w, F) => {
|
|
19135
|
-
const U =
|
|
19135
|
+
const U = _l("tooltip");
|
|
19136
19136
|
return L(), M("div", {
|
|
19137
19137
|
class: Ze(["bagel-input array-input testMe1", [N(a), { "has-value": m.value }]]),
|
|
19138
19138
|
style: Te(N(n))
|
|
19139
19139
|
}, [
|
|
19140
|
-
e.label ? (L(), M("label", fR, ae(N(
|
|
19140
|
+
e.label ? (L(), M("label", fR, ae(N(_e)(e.label)), 1)) : f("", !0),
|
|
19141
19141
|
e.helptext ? (L(), M("p", FR, ae(e.helptext), 1)) : f("", !0),
|
|
19142
19142
|
e.allowAdd && e.sortOrder === "newest-first" ? (L(), ie(N(pe), {
|
|
19143
19143
|
key: 2,
|
|
19144
19144
|
class: "radius-1 mb-05",
|
|
19145
19145
|
thin: "",
|
|
19146
19146
|
icon: "add",
|
|
19147
|
-
value: N(
|
|
19147
|
+
value: N(_e)(e.addText || "Add"),
|
|
19148
19148
|
onClick: G
|
|
19149
19149
|
}, null, 8, ["value"])) : f("", !0),
|
|
19150
19150
|
e.reorderOnly ? (L(), ie(Km, {
|
|
@@ -19161,7 +19161,7 @@ var fR = {
|
|
|
19161
19161
|
xs: "",
|
|
19162
19162
|
icon: "drag_indicator",
|
|
19163
19163
|
class: "grab"
|
|
19164
|
-
}, null, 512)), [[U, N(
|
|
19164
|
+
}, null, 512)), [[U, N(_e)("Drag to reorder")]]) : f("", !0), v("p", JR, ae(h(O.item) ?? W(O)), 1)])]),
|
|
19165
19165
|
_: 1
|
|
19166
19166
|
}, 8, ["model-value", "disabled"])) : e.collapsible ? f("", !0) : (L(), ie(Km, {
|
|
19167
19167
|
key: 4,
|
|
@@ -19182,7 +19182,7 @@ var fR = {
|
|
|
19182
19182
|
thin: "",
|
|
19183
19183
|
icon: "drag_indicator",
|
|
19184
19184
|
class: "grab"
|
|
19185
|
-
}, null, 512)), [[U, N(
|
|
19185
|
+
}, null, 512)), [[U, N(_e)("Drag to reorder")]]) : f("", !0),
|
|
19186
19186
|
Ve(w.$slots, "default", {
|
|
19187
19187
|
item: z(O.index),
|
|
19188
19188
|
index: O.index
|
|
@@ -19194,7 +19194,7 @@ var fR = {
|
|
|
19194
19194
|
flat: "",
|
|
19195
19195
|
icon: "delete",
|
|
19196
19196
|
onClick: (q) => y(O.index)
|
|
19197
|
-
}, null, 8, ["onClick"]), [[U, N(
|
|
19197
|
+
}, null, 8, ["onClick"]), [[U, N(_e)(e.deleteTooltip || "Delete")]])], 2)) : f("", !0)
|
|
19198
19198
|
], 2)]),
|
|
19199
19199
|
_: 3
|
|
19200
19200
|
}, 8, ["model-value", "disabled"])),
|
|
@@ -19213,7 +19213,7 @@ var fR = {
|
|
|
19213
19213
|
thin: "",
|
|
19214
19214
|
icon: "drag_indicator",
|
|
19215
19215
|
class: "grab"
|
|
19216
|
-
}, null, 512)), [[U, N(
|
|
19216
|
+
}, null, 512)), [[U, N(_e)("Drag to reorder")]]) : (L(), M("div", DR)),
|
|
19217
19217
|
_(N(pe), {
|
|
19218
19218
|
"full-width": "",
|
|
19219
19219
|
"align-txt": "start",
|
|
@@ -19235,10 +19235,10 @@ var fR = {
|
|
|
19235
19235
|
flat: "",
|
|
19236
19236
|
icon: "delete",
|
|
19237
19237
|
thin: "",
|
|
19238
|
-
confirm: N(
|
|
19238
|
+
confirm: N(_e)("Are you sure you want to delete this item?"),
|
|
19239
19239
|
onClick: (q) => y(O.index),
|
|
19240
19240
|
"icon-size": "0.8"
|
|
19241
|
-
}, null, 8, ["confirm", "onClick"])), [[U, N(
|
|
19241
|
+
}, null, 8, ["confirm", "onClick"])), [[U, N(_e)(e.deleteTooltip || "Delete")]]) : f("", !0)
|
|
19242
19242
|
]), _(Mi, { name: "array-collapse" }, {
|
|
19243
19243
|
default: ve(() => [o.value[O.index] ? f("", !0) : (L(), M("div", KR, [Ve(w.$slots, "default", {
|
|
19244
19244
|
item: z(O.index),
|
|
@@ -19253,7 +19253,7 @@ var fR = {
|
|
|
19253
19253
|
class: "radius-1",
|
|
19254
19254
|
thin: "",
|
|
19255
19255
|
icon: "add",
|
|
19256
|
-
value: N(
|
|
19256
|
+
value: N(_e)(e.addText || "Add"),
|
|
19257
19257
|
onClick: G
|
|
19258
19258
|
}, null, 8, ["value"])) : f("", !0)
|
|
19259
19259
|
], 6);
|
|
@@ -19326,7 +19326,7 @@ var fR = {
|
|
|
19326
19326
|
required: e.required,
|
|
19327
19327
|
type: "checkbox",
|
|
19328
19328
|
class: "me-05"
|
|
19329
|
-
}, null, 8, AR), [[$o, d.value]]), v("label", { for: i.value + e.value }, [Ve(s.$slots, "label", {}, () => [Ae(ae(N(
|
|
19329
|
+
}, null, 8, AR), [[$o, d.value]]), v("label", { for: i.value + e.value }, [Ve(s.$slots, "label", {}, () => [Ae(ae(N(_e)(e.label)), 1)], !0)], 8, _R)], 14, QR));
|
|
19330
19330
|
}
|
|
19331
19331
|
}), gt = /* @__PURE__ */ Ee($R, [["__scopeId", "data-v-62952a4b"]]);
|
|
19332
19332
|
function qR(e = "dark") {
|
|
@@ -19645,7 +19645,7 @@ var eS = {
|
|
|
19645
19645
|
}]]),
|
|
19646
19646
|
style: Te(N(i)),
|
|
19647
19647
|
title: e.label
|
|
19648
|
-
}, [v("label", null, [Ae(ae(N(
|
|
19648
|
+
}, [v("label", null, [Ae(ae(N(_e)(e.label)) + " ", 1), v("div", { class: Ze(["flex rounded colorInputPickWrap", {
|
|
19649
19649
|
"px-025 bg-input": !e.small && !e.frame && !e.underlined,
|
|
19650
19650
|
"px-025": !e.small && (e.frame || e.underlined)
|
|
19651
19651
|
}]) }, [
|
|
@@ -19653,7 +19653,7 @@ var eS = {
|
|
|
19653
19653
|
id: e.id,
|
|
19654
19654
|
"onUpdate:modelValue": m[0] || (m[0] = (u) => s.value = u),
|
|
19655
19655
|
type: "color",
|
|
19656
|
-
placeholder: N(
|
|
19656
|
+
placeholder: N(_e)(e.placeholder) || N(_e)(e.label),
|
|
19657
19657
|
class: {
|
|
19658
19658
|
"no-edit": !e.editMode,
|
|
19659
19659
|
"opacity-1": !s.value
|
|
@@ -20084,7 +20084,7 @@ var Kp = class u2 {
|
|
|
20084
20084
|
const $ = I(() => {
|
|
20085
20085
|
const ee = s.value.getFullYear(), tl = s.value.getMonth(), fe = m.getCalendarMonthSplitInWeeks(ee, tl);
|
|
20086
20086
|
for (; fe.length < 6; ) {
|
|
20087
|
-
const
|
|
20087
|
+
const $e = fe[fe.length - 1], ye = $e[$e.length - 1], Ce = new Date(ye.getFullYear(), ye.getMonth(), ye.getDate() + 1), De = m.getCalendarWeekDateObjects(Ce);
|
|
20088
20088
|
fe.push(De);
|
|
20089
20089
|
}
|
|
20090
20090
|
return fe.flat();
|
|
@@ -20111,8 +20111,8 @@ var Kp = class u2 {
|
|
|
20111
20111
|
}), K = I(() => {
|
|
20112
20112
|
const ee = /* @__PURE__ */ new Date();
|
|
20113
20113
|
return ee.setDate(ee.getDate() - ee.getDay() + (t.firstDayOfWeek === Wo.MONDAY ? 1 : 0)), Array.from({ length: 7 }, (tl, fe) => {
|
|
20114
|
-
const
|
|
20115
|
-
return
|
|
20114
|
+
const $e = new Date(ee);
|
|
20115
|
+
return $e.setDate(ee.getDate() + fe), m.getLocalizedNameOfWeekday($e, "short");
|
|
20116
20116
|
});
|
|
20117
20117
|
}), Ne = (ee) => ee ? t.range ? y(ee, W.value) || y(ee, G.value) : p.value ? y(ee, p.value) : !1 : !1, ge = I(() => G.value ? G.value : W.value && n.value ? n.value : null);
|
|
20118
20118
|
return {
|
|
@@ -20128,7 +20128,7 @@ var Kp = class u2 {
|
|
|
20128
20128
|
if (!t.range || !ee || !W.value) return !1;
|
|
20129
20129
|
const tl = ge.value;
|
|
20130
20130
|
if (!tl) return !1;
|
|
20131
|
-
const fe = W.value < tl ? W.value : tl,
|
|
20131
|
+
const fe = W.value < tl ? W.value : tl, $e = W.value < tl ? tl : W.value, ye = new Date(ee.getFullYear(), ee.getMonth(), ee.getDate()), Ce = new Date(fe.getFullYear(), fe.getMonth(), fe.getDate()), De = new Date($e.getFullYear(), $e.getMonth(), $e.getDate());
|
|
20132
20132
|
return ye > Ce && ye < De;
|
|
20133
20133
|
},
|
|
20134
20134
|
isToday: (ee) => ee ? m.dateIsToday(ee) : !1,
|
|
@@ -20536,7 +20536,7 @@ var Kp = class u2 {
|
|
|
20536
20536
|
open: m.value
|
|
20537
20537
|
}]]),
|
|
20538
20538
|
style: Te(N(i))
|
|
20539
|
-
}, [v("label", null, [e.label || e.underlined && e.placeholder ? (L(), M("span", TS, [Ae(ae(N(
|
|
20539
|
+
}, [v("label", null, [e.label || e.underlined && e.placeholder ? (L(), M("span", TS, [Ae(ae(N(_e)(e.label || e.placeholder)), 1), e.required ? (L(), M("span", IS, " *")) : f("", !0)])) : f("", !0), _(N(st), {
|
|
20540
20540
|
shown: m.value,
|
|
20541
20541
|
placement: "bottom-start",
|
|
20542
20542
|
autoHide: !1,
|
|
@@ -20551,7 +20551,7 @@ var Kp = class u2 {
|
|
|
20551
20551
|
modelValue: c.value,
|
|
20552
20552
|
"onUpdate:modelValue": P[0] || (P[0] = (ue) => c.value = ue),
|
|
20553
20553
|
iconStart: "calendar_month",
|
|
20554
|
-
placeholder: e.underlined ? " " : N(
|
|
20554
|
+
placeholder: e.underlined ? " " : N(_e)(e.placeholder) || q.value,
|
|
20555
20555
|
required: e.underlined ? !1 : e.required,
|
|
20556
20556
|
disabled: !t.value,
|
|
20557
20557
|
error: s.value ? e.error : N(a)("date.invalidFormat"),
|
|
@@ -20871,7 +20871,7 @@ var RS = ["title"], SS = ["for"], vS = {
|
|
|
20871
20871
|
return dl(() => {
|
|
20872
20872
|
a.autofocus && setTimeout(() => r.value?.focus(), 10);
|
|
20873
20873
|
}), (O, q) => {
|
|
20874
|
-
const H =
|
|
20874
|
+
const H = _l("pattern");
|
|
20875
20875
|
return L(), M("div", {
|
|
20876
20876
|
class: Ze(["bagel-input text-input", [
|
|
20877
20877
|
N(i),
|
|
@@ -20890,7 +20890,7 @@ var RS = ["title"], SS = ["for"], vS = {
|
|
|
20890
20890
|
style: Te(N(d)),
|
|
20891
20891
|
title: e.title
|
|
20892
20892
|
}, [v("label", { for: e.id }, [
|
|
20893
|
-
e.label || e.underlined && e.placeholder ? (L(), M("span", vS, [Ae(ae(N(
|
|
20893
|
+
e.label || e.underlined && e.placeholder ? (L(), M("span", vS, [Ae(ae(N(_e)(e.label) || N(_e)(e.placeholder)), 1), e.required ? (L(), M("span", fS, " *")) : f("", !0)])) : f("", !0),
|
|
20894
20894
|
e.underlined ? f("", !0) : (L(), M("div", FS, [
|
|
20895
20895
|
e.helptext ? (L(), M("span", jS, ae(e.helptext), 1)) : f("", !0),
|
|
20896
20896
|
u.value ? (L(), M("span", {
|
|
@@ -20910,7 +20910,7 @@ var RS = ["title"], SS = ["for"], vS = {
|
|
|
20910
20910
|
title: e.title,
|
|
20911
20911
|
autocomplete: "email",
|
|
20912
20912
|
type: "email",
|
|
20913
|
-
placeholder: e.underlined ? " " : N(
|
|
20913
|
+
placeholder: e.underlined ? " " : N(_e)(e.placeholder) || N(_e)(e.label),
|
|
20914
20914
|
disabled: e.disabled,
|
|
20915
20915
|
required: e.required
|
|
20916
20916
|
}, e.nativeInputAttrs, {
|
|
@@ -21353,7 +21353,7 @@ var RS = ["title"], SS = ["for"], vS = {
|
|
|
21353
21353
|
}, { immediate: !0 });
|
|
21354
21354
|
const y = I(() => W.value.length > 0);
|
|
21355
21355
|
return (X, V) => {
|
|
21356
|
-
const T =
|
|
21356
|
+
const T = _l("pattern");
|
|
21357
21357
|
return L(), M("div", {
|
|
21358
21358
|
class: Ze(["bagel-input num-input", [N(t), {
|
|
21359
21359
|
underlined: e.underlined,
|
|
@@ -21362,7 +21362,7 @@ var RS = ["title"], SS = ["for"], vS = {
|
|
|
21362
21362
|
}]]),
|
|
21363
21363
|
style: Te(N(a))
|
|
21364
21364
|
}, [v("div", null, [
|
|
21365
|
-
!e.hideLabel && (e.label || e.underlined && e.placeholder) ? (L(), M("label", av, [v("span", nv, [Ae(ae(N(
|
|
21365
|
+
!e.hideLabel && (e.label || e.underlined && e.placeholder) ? (L(), M("label", av, [v("span", nv, [Ae(ae(N(_e)(e.label) || N(_e)(e.placeholder)), 1), e.required ? (L(), M("span", iv, " *")) : f("", !0)])])) : f("", !0),
|
|
21366
21366
|
v("div", { class: Ze(["gap-025", {
|
|
21367
21367
|
"column display-flex": e.layout === "vertical",
|
|
21368
21368
|
flex: e.layout === "horizontal"
|
|
@@ -21390,11 +21390,11 @@ var RS = ["title"], SS = ["for"], vS = {
|
|
|
21390
21390
|
"txt-center": e.center,
|
|
21391
21391
|
min0: e.layout
|
|
21392
21392
|
}),
|
|
21393
|
-
placeholder: e.underlined ? " " : N(
|
|
21393
|
+
placeholder: e.underlined ? " " : N(_e)(e.placeholder) || (e.hideLabel ? void 0 : N(_e)(e.label)),
|
|
21394
21394
|
disabled: e.disabled,
|
|
21395
21395
|
required: e.required,
|
|
21396
21396
|
inputmode: "decimal",
|
|
21397
|
-
"aria-label": e.hideLabel ? N(
|
|
21397
|
+
"aria-label": e.hideLabel ? N(_e)(e.label) || N(_e)(e.placeholder) : void 0,
|
|
21398
21398
|
autocomplete: "off",
|
|
21399
21399
|
pattern: e.useGrouping ? "^-?\\d{1,3}(,\\d{3})*(.\\d+)?$" : "^-?\\d*.?d*$",
|
|
21400
21400
|
autocorrect: "off",
|
|
@@ -22836,7 +22836,7 @@ var Pp = /^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/, Gv = /^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xd
|
|
|
22836
22836
|
return [...r ? [r] : [], ...Y].join(" ");
|
|
22837
22837
|
});
|
|
22838
22838
|
return (h, r) => {
|
|
22839
|
-
const Y =
|
|
22839
|
+
const Y = _l("tooltip");
|
|
22840
22840
|
return L(), M("div", { class: Ze(["relative passwordInput", {
|
|
22841
22841
|
"relative mb-2": l.strengthMeter,
|
|
22842
22842
|
"has-error": !!l.error,
|
|
@@ -23014,12 +23014,12 @@ var v4 = ["aria-labelledby", "aria-label"], f4 = ["id"], F4 = { key: 0 }, j4 = [
|
|
|
23014
23014
|
style: Te(W.value),
|
|
23015
23015
|
role: "radiogroup",
|
|
23016
23016
|
"aria-labelledby": e.label && !e.hideLabel ? `${c.value}-label` : void 0,
|
|
23017
|
-
"aria-label": e.hideLabel ? N(
|
|
23017
|
+
"aria-label": e.hideLabel ? N(_e)(e.label) : void 0
|
|
23018
23018
|
}, [e.label && !e.hideLabel ? (L(), M("p", {
|
|
23019
23019
|
key: 0,
|
|
23020
23020
|
id: `${c.value}-label`,
|
|
23021
23021
|
class: "group-label"
|
|
23022
|
-
}, [Ae(ae(N(
|
|
23022
|
+
}, [Ae(ae(N(_e)(e.label)) + " ", 1), e.required ? (L(), M("span", F4, "*")) : f("", !0)], 8, f4)) : f("", !0), v("div", {
|
|
23023
23023
|
ref_key: "inlineWrapper",
|
|
23024
23024
|
ref: u,
|
|
23025
23025
|
class: Ze(["radio-group-wrap", [e.wrapperClass, { "radio-group-wrap--inline": e.inline }]]),
|
|
@@ -23180,7 +23180,7 @@ var v4 = ["aria-labelledby", "aria-label"], f4 = ["id"], F4 = { key: 0 }, j4 = [
|
|
|
23180
23180
|
e.labelActiveColor ? { "--bgl-input-label-active-color": e.labelActiveColor } : {}
|
|
23181
23181
|
])
|
|
23182
23182
|
}, [
|
|
23183
|
-
t.label ? (L(), M("label", H4, ae(N(
|
|
23183
|
+
t.label ? (L(), M("label", H4, ae(N(_e)(t.label)), 1)) : f("", !0),
|
|
23184
23184
|
v("div", P4, [
|
|
23185
23185
|
v("input", {
|
|
23186
23186
|
id: e.id,
|
|
@@ -23884,7 +23884,7 @@ var Nf = { key: 0 }, Yf = { key: 0 }, Lf = { key: 2 }, yf = {
|
|
|
23884
23884
|
return Array.isArray(o.value) ? o.value.includes(Z) : o.value === Z;
|
|
23885
23885
|
}
|
|
23886
23886
|
return (Z, b) => {
|
|
23887
|
-
const h =
|
|
23887
|
+
const h = _l("tooltip");
|
|
23888
23888
|
return L(), M("div", {
|
|
23889
23889
|
class: Ze(["bagel-input SelectBtn", [N(t), {
|
|
23890
23890
|
"has-value": n.value,
|
|
@@ -23897,7 +23897,7 @@ var Nf = { key: 0 }, Yf = { key: 0 }, Lf = { key: 2 }, yf = {
|
|
|
23897
23897
|
}]]),
|
|
23898
23898
|
style: Te([N(a), s.value])
|
|
23899
23899
|
}, [
|
|
23900
|
-
e.label || e.required ? (L(), M("label", Nf, [Ae(ae(N(
|
|
23900
|
+
e.label || e.required ? (L(), M("label", Nf, [Ae(ae(N(_e)(e.label)), 1), e.required ? (L(), M("span", Yf, " *")) : f("", !0)])) : f("", !0),
|
|
23901
23901
|
v("div", {
|
|
23902
23902
|
class: Ze(["select-btn-items flex flex-wrap gap-025", {
|
|
23903
23903
|
"has-background": !!e.bgColor,
|
|
@@ -24025,7 +24025,7 @@ var Nf = { key: 0 }, Yf = { key: 0 }, Lf = { key: 2 }, yf = {
|
|
|
24025
24025
|
},
|
|
24026
24026
|
emits: ["update:modelValue"],
|
|
24027
24027
|
setup(e, { emit: l }) {
|
|
24028
|
-
const t = e, a = l, { $t: n } = jl(), { shellClass: i, shellStyle: d } = at(t), c = (se) => typeof se == "function", s = D(), o = D(), m = o5(), u = `${m}-listbox`, Z = D([]), b = (se) => Ma(se), h = I(() => Z.value.length), r = D(""), Y = D(), p = D(!1), W = D(!1), G = I(() =>
|
|
24028
|
+
const t = e, a = l, { $t: n } = jl(), { shellClass: i, shellStyle: d } = at(t), c = (se) => typeof se == "function", s = D(), o = D(), m = o5(), u = `${m}-listbox`, Z = D([]), b = (se) => Ma(se), h = I(() => Z.value.length), r = D(""), Y = D(), p = D(!1), W = D(!1), G = I(() => _e(t.placeholder) ?? n("select.placeholder")), y = I(() => ({
|
|
24029
24029
|
"selectinput-btn--xs": t.size === "xs",
|
|
24030
24030
|
"selectinput-btn--s": t.size === "s",
|
|
24031
24031
|
"selectinput-btn--l": t.size === "l",
|
|
@@ -24159,7 +24159,7 @@ var Nf = { key: 0 }, Yf = { key: 0 }, Lf = { key: 2 }, yf = {
|
|
|
24159
24159
|
}, ["stop"]))
|
|
24160
24160
|
}, {
|
|
24161
24161
|
trigger: ve(() => [v("label", null, [
|
|
24162
|
-
!e.hideLabel && (e.label || e.underlined && e.placeholder) ? (L(), M("span", Mf, [Ae(ae(N(
|
|
24162
|
+
!e.hideLabel && (e.label || e.underlined && e.placeholder) ? (L(), M("span", Mf, [Ae(ae(N(_e)(e.label) || N(_e)(e.placeholder)), 1), e.required ? (L(), M("span", Vf, " *")) : f("", !0)])) : f("", !0),
|
|
24163
24163
|
v("div", Tf, [e.searchable && W.value ? (L(), ie(N(Nl), {
|
|
24164
24164
|
key: 0,
|
|
24165
24165
|
ref_key: "searchInput",
|
|
@@ -24173,7 +24173,7 @@ var Nf = { key: 0 }, Yf = { key: 0 }, Lf = { key: 2 }, yf = {
|
|
|
24173
24173
|
onInput: re[1] || (re[1] = (de) => p.value = !1),
|
|
24174
24174
|
onClick: H,
|
|
24175
24175
|
role: "combobox",
|
|
24176
|
-
"aria-label": N(
|
|
24176
|
+
"aria-label": N(_e)(e.label) || G.value,
|
|
24177
24177
|
"aria-expanded": "true",
|
|
24178
24178
|
"aria-controls": u,
|
|
24179
24179
|
"aria-activedescendant": z.value,
|
|
@@ -24193,7 +24193,7 @@ var Nf = { key: 0 }, Yf = { key: 0 }, Lf = { key: 2 }, yf = {
|
|
|
24193
24193
|
class: Ze(["selectinput-btn", [{ isEmpty: h.value === 0 }, y.value]]),
|
|
24194
24194
|
onClick: re[5] || (re[5] = (de) => W.value = !W.value),
|
|
24195
24195
|
role: "combobox",
|
|
24196
|
-
"aria-label": N(
|
|
24196
|
+
"aria-label": N(_e)(e.label) || G.value,
|
|
24197
24197
|
"aria-expanded": W.value,
|
|
24198
24198
|
"aria-controls": u,
|
|
24199
24199
|
"aria-activedescendant": z.value,
|
|
@@ -24207,7 +24207,7 @@ var Nf = { key: 0 }, Yf = { key: 0 }, Lf = { key: 2 }, yf = {
|
|
|
24207
24207
|
e.hideLabel ? f("", !0) : (L(), M("p", {
|
|
24208
24208
|
key: 1,
|
|
24209
24209
|
class: Ze({ "me-auto ms-05": e.icon })
|
|
24210
|
-
}, ae(h.value > 0 ? X.value : e.underlined ? "" : N(
|
|
24210
|
+
}, ae(h.value > 0 ? X.value : e.underlined ? "" : N(_e)(e.placeholder) || "Select..."), 3)),
|
|
24211
24211
|
e.clearable && h.value > 0 ? (L(), M("div", xf, [_(N(pe), {
|
|
24212
24212
|
flat: "",
|
|
24213
24213
|
thin: "",
|
|
@@ -24439,7 +24439,7 @@ var Nf = { key: 0 }, Yf = { key: 0 }, Lf = { key: 2 }, yf = {
|
|
|
24439
24439
|
style: Te(N(d)),
|
|
24440
24440
|
title: e.title
|
|
24441
24441
|
}, [
|
|
24442
|
-
v("label", { for: e.id }, [e.label || e.underlined && e.placeholder ? (L(), M("span", Uf, [Ae(ae(N(
|
|
24442
|
+
v("label", { for: e.id }, [e.label || e.underlined && e.placeholder ? (L(), M("span", Uf, [Ae(ae(N(_e)(e.label) || N(_e)(e.placeholder)), 1), e.required ? (L(), M("span", Of, " *")) : f("", !0)])) : f("", !0), v("span", Ef, [
|
|
24443
24443
|
!e.autoheight && m.value < 2 ? al((L(), M("input", Wl({
|
|
24444
24444
|
key: 0,
|
|
24445
24445
|
id: e.id,
|
|
@@ -24451,7 +24451,7 @@ var Nf = { key: 0 }, Yf = { key: 0 }, Lf = { key: 2 }, yf = {
|
|
|
24451
24451
|
autocomplete: e.autocomplete,
|
|
24452
24452
|
type: e.type,
|
|
24453
24453
|
rows: 1,
|
|
24454
|
-
placeholder: e.underlined ? " " : N(
|
|
24454
|
+
placeholder: e.underlined ? " " : N(_e)(e.placeholder) || N(_e)(e.label),
|
|
24455
24455
|
disabled: e.disabled,
|
|
24456
24456
|
required: e.required
|
|
24457
24457
|
}, e.nativeInputAttrs, {
|
|
@@ -24474,7 +24474,7 @@ var Nf = { key: 0 }, Yf = { key: 0 }, Lf = { key: 2 }, yf = {
|
|
|
24474
24474
|
title: e.title,
|
|
24475
24475
|
type: e.type,
|
|
24476
24476
|
rows: m.value,
|
|
24477
|
-
placeholder: e.underlined ? " " : N(
|
|
24477
|
+
placeholder: e.underlined ? " " : N(_e)(e.placeholder) || N(_e)(e.label),
|
|
24478
24478
|
disabled: e.disabled,
|
|
24479
24479
|
required: e.required
|
|
24480
24480
|
}, e.nativeInputAttrs, {
|
|
@@ -26914,7 +26914,7 @@ var pJ = { class: "square-32 flex-shrink-0 flex-center overflow-hidden radius-1
|
|
|
26914
26914
|
download: !0
|
|
26915
26915
|
}), d = I(() => l.type === "video" ? "movie" : l.type === "pdf" ? "picture_as_pdf" : "description"), c = I(() => l.progress === void 0);
|
|
26916
26916
|
return (s, o) => {
|
|
26917
|
-
const m =
|
|
26917
|
+
const m = _l("lightbox");
|
|
26918
26918
|
return L(), M("div", {
|
|
26919
26919
|
class: Ze(["bgl-file-row relative flex gap-075 min-w-0 txt-start", [e.dense ? "py-025" : "border radius-1 p-025 bg-box", { "is-flashing": e.success }]]),
|
|
26920
26920
|
onClick: o[4] || (o[4] = ll(() => {
|
|
@@ -27099,12 +27099,12 @@ var pJ = { class: "square-32 flex-shrink-0 flex-center overflow-hidden radius-1
|
|
|
27099
27099
|
};
|
|
27100
27100
|
const Xe = A === "ne" || A === "se", $ = A === "se" || A === "sw", te = Xe ? 1 - me.x : me.x + me.w, ce = $ ? 1 - me.y : me.y + me.h, j = D0 / be.w, K = D0 / be.h;
|
|
27101
27101
|
if (Z.value) {
|
|
27102
|
-
const fe = Y(me.w + (Xe ? We : -We), Math.min(j, te), te),
|
|
27102
|
+
const fe = Y(me.w + (Xe ? We : -We), Math.min(j, te), te), $e = Y(me.h + ($ ? xe : -xe), Math.min(K, ce), ce);
|
|
27103
27103
|
return {
|
|
27104
27104
|
w: fe,
|
|
27105
|
-
h:
|
|
27105
|
+
h: $e,
|
|
27106
27106
|
x: Xe ? me.x : me.x + me.w - fe,
|
|
27107
|
-
y: $ ? me.y : me.y + me.h -
|
|
27107
|
+
y: $ ? me.y : me.y + me.h - $e
|
|
27108
27108
|
};
|
|
27109
27109
|
}
|
|
27110
27110
|
const Ne = u.value, ge = b.value, Qe = Xe ? We : -We, nl = ($ ? xe : -xe) * (ge / Ne), He = Math.abs(Qe) >= Math.abs(nl) ? Qe : nl, sl = Math.max(j, K * (ge / Ne)), Me = Math.min(te, ce * (ge / Ne)), ee = Y(me.w + He, Math.min(sl, Me), Me), tl = ee * (Ne / ge);
|
|
@@ -27129,7 +27129,7 @@ var pJ = { class: "square-32 flex-shrink-0 flex-center overflow-hidden radius-1
|
|
|
27129
27129
|
function x() {
|
|
27130
27130
|
G && (G.frame && cancelAnimationFrame(G.frame), G.next = V(G.x, G.y), h.value = G.next, G = null), window.removeEventListener("pointermove", T), window.removeEventListener("pointerup", x), window.removeEventListener("pointercancel", x);
|
|
27131
27131
|
}
|
|
27132
|
-
|
|
27132
|
+
$l(() => {
|
|
27133
27133
|
G?.frame && cancelAnimationFrame(G.frame), G = null, window.removeEventListener("pointermove", T), window.removeEventListener("pointerup", x), window.removeEventListener("pointercancel", x);
|
|
27134
27134
|
});
|
|
27135
27135
|
const S = I(() => Math.round(h.value.w / r.value.w * 100));
|
|
@@ -27554,13 +27554,13 @@ var pJ = { class: "square-32 flex-shrink-0 flex-center overflow-hidden radius-1
|
|
|
27554
27554
|
continue;
|
|
27555
27555
|
}
|
|
27556
27556
|
if (t.beforeUpload) {
|
|
27557
|
-
let
|
|
27557
|
+
let ql = !0;
|
|
27558
27558
|
try {
|
|
27559
|
-
|
|
27559
|
+
ql = await t.beforeUpload(Je.file);
|
|
27560
27560
|
} catch {
|
|
27561
|
-
|
|
27561
|
+
ql = !1;
|
|
27562
27562
|
}
|
|
27563
|
-
if (
|
|
27563
|
+
if (!ql) {
|
|
27564
27564
|
g([Je]);
|
|
27565
27565
|
continue;
|
|
27566
27566
|
}
|
|
@@ -27571,20 +27571,20 @@ var pJ = { class: "square-32 flex-shrink-0 flex-center overflow-hidden radius-1
|
|
|
27571
27571
|
continue;
|
|
27572
27572
|
}
|
|
27573
27573
|
try {
|
|
27574
|
-
const
|
|
27574
|
+
const ql = await c(Qa, {
|
|
27575
27575
|
visibility: t.assetVisibility,
|
|
27576
27576
|
onProgress: (wd) => {
|
|
27577
27577
|
Je.progress = Math.round(wd * 100);
|
|
27578
27578
|
}
|
|
27579
27579
|
}), Qn = {
|
|
27580
|
-
asset_id:
|
|
27581
|
-
name:
|
|
27582
|
-
content_type:
|
|
27583
|
-
|
|
27580
|
+
asset_id: ql.asset_id,
|
|
27581
|
+
name: ql.name || Qa.name,
|
|
27582
|
+
content_type: ql.content_type || Qa.type,
|
|
27583
|
+
...ql.size || Qa.size ? { size: ql.size ?? Qa.size } : {}
|
|
27584
27584
|
};
|
|
27585
27585
|
Jl ? De[Ce] = Qn : De.push(Qn), r([...De]), x(Qn.asset_id);
|
|
27586
|
-
} catch (
|
|
27587
|
-
|
|
27586
|
+
} catch (ql) {
|
|
27587
|
+
ql instanceof DOMException && ql.name === "AbortError" || (Z.value = Z.value || n("upload.failed"), a("uploadError", ql, Qa));
|
|
27588
27588
|
} finally {
|
|
27589
27589
|
g([Je]);
|
|
27590
27590
|
}
|
|
@@ -27663,13 +27663,13 @@ var pJ = { class: "square-32 flex-shrink-0 flex-center overflow-hidden radius-1
|
|
|
27663
27663
|
download: !0
|
|
27664
27664
|
} : {};
|
|
27665
27665
|
}
|
|
27666
|
-
const He = I(() =>
|
|
27666
|
+
const He = I(() => _e(t.dropPlaceholder ?? t.placeholder) || n("upload.dropPlaceholder")), sl = I(() => !!t.maxHeight && t.previewLayout !== "below" && !t.oval), Me = I(() => !!t.fill || !!t.oval || t.height === "auto"), ee = I(() => t.showButton === !0 || t.showButton !== !1 && !t.oval), tl = I(() => j.value && !!t.multiple && t.previewType !== "grid"), fe = I(() => {
|
|
27667
27667
|
const ye = t.height === "auto" ? "auto" : t.height ?? "215px", Ce = {
|
|
27668
27668
|
height: ye,
|
|
27669
27669
|
width: t.width ?? (t.oval ? ye : "100%")
|
|
27670
27670
|
};
|
|
27671
27671
|
return t.height === "auto" && !sl.value && (Ce.minHeight = "215px"), sl.value && (Ce.maxHeight = t.maxHeight, Ce.minHeight = "0", Ce.overflowY = t.scroll ? "auto" : "hidden"), Ce;
|
|
27672
|
-
}),
|
|
27672
|
+
}), $e = I(() => {
|
|
27673
27673
|
if (!(!t.maxHeight || t.previewLayout !== "below" || t.oval))
|
|
27674
27674
|
return {
|
|
27675
27675
|
maxHeight: t.maxHeight,
|
|
@@ -27677,7 +27677,7 @@ var pJ = { class: "square-32 flex-shrink-0 flex-center overflow-hidden radius-1
|
|
|
27677
27677
|
};
|
|
27678
27678
|
});
|
|
27679
27679
|
return (ye, Ce) => {
|
|
27680
|
-
const De =
|
|
27680
|
+
const De = _l("lightbox");
|
|
27681
27681
|
return L(), M("div", {
|
|
27682
27682
|
class: Ze(["bagel-input bgl_asset_upload", [N(m), {
|
|
27683
27683
|
"has-error": !!(Z.value || e.error),
|
|
@@ -28018,7 +28018,7 @@ var pJ = { class: "square-32 flex-shrink-0 flex-center overflow-hidden radius-1
|
|
|
28018
28018
|
}, null, 8, ["value"])) : f("", !0)], 2)) : f("", !0)], 16, OJ)), Ne.value ? (L(), M("div", {
|
|
28019
28019
|
key: 2,
|
|
28020
28020
|
class: "grid gap-05 pt-05",
|
|
28021
|
-
style: Te(
|
|
28021
|
+
style: Te($e.value)
|
|
28022
28022
|
}, [(L(!0), M(Le, null, Fe(Xe.value, (Je) => (L(), ie(iu, {
|
|
28023
28023
|
key: Je.key,
|
|
28024
28024
|
label: Je.label,
|
|
@@ -28227,7 +28227,7 @@ var pJ = { class: "square-32 flex-shrink-0 flex-center overflow-hidden radius-1
|
|
|
28227
28227
|
const { shellClass: h, shellStyle: r } = at(t), Y = I(() => c.value.length > 0 || d.value.length > 0), p = I(() => {
|
|
28228
28228
|
const F = t.dropPlaceholder ?? t.placeholder;
|
|
28229
28229
|
if (F == null) return n("upload.dropPlaceholder");
|
|
28230
|
-
const U =
|
|
28230
|
+
const U = _e(F);
|
|
28231
28231
|
return U != null && U !== "" ? U : n("upload.dropPlaceholder");
|
|
28232
28232
|
}), W = I(() => !c.value.length && !d.value.length || !!t.multiple), G = I(() => t.accept.split(",").some((F) => F.trim().toLowerCase().startsWith("image/"))), y = D(/* @__PURE__ */ new Set()), X = /* @__PURE__ */ new Set(), V = (F) => G.value || Z2.test(F.split(/[?#]/)[0] ?? "") || y.value.has(F);
|
|
28233
28233
|
function T(F) {
|
|
@@ -28252,7 +28252,7 @@ var pJ = { class: "square-32 flex-shrink-0 flex-center overflow-hidden radius-1
|
|
|
28252
28252
|
return !F || typeof F != "string" ? "file" : F.split("/").pop() || "file";
|
|
28253
28253
|
}
|
|
28254
28254
|
return (F, U) => {
|
|
28255
|
-
const O =
|
|
28255
|
+
const O = _l("tooltip"), q = _l("lightbox");
|
|
28256
28256
|
return e.assetMode ? (L(), ie(ik, Wl({ key: 0 }, t, {
|
|
28257
28257
|
"onUpdate:modelValue": U[0] || (U[0] = (H) => a("update:modelValue", H)),
|
|
28258
28258
|
onAddFileStart: U[1] || (U[1] = (H) => a("addFileStart")),
|
|
@@ -29066,7 +29066,7 @@ var zk = { class: "table-grid-selector p-075" }, wk = { class: "txt-center mb-07
|
|
|
29066
29066
|
return ea(() => {
|
|
29067
29067
|
d && clearTimeout(d);
|
|
29068
29068
|
}), (X, V) => {
|
|
29069
|
-
const T =
|
|
29069
|
+
const T = _l("tooltip");
|
|
29070
29070
|
return L(), M("div", {
|
|
29071
29071
|
class: "toolbar flex gap-025 pb-05 flex-wrap m_flex-wrap-nowrap overflow-x",
|
|
29072
29072
|
role: "toolbar",
|
|
@@ -31631,10 +31631,10 @@ var IC = { key: 0 }, xC = { class: "hide" }, gC = {
|
|
|
31631
31631
|
const E = Number((100 / J).toFixed(2)), ne = Array.from({ length: J }, () => E);
|
|
31632
31632
|
return ne[J - 1] = Number((100 - E * (J - 1)).toFixed(2)), ne;
|
|
31633
31633
|
}
|
|
31634
|
-
function
|
|
31634
|
+
function $e(J) {
|
|
31635
31635
|
ee.value.columnWidths.length !== J && (ee.value.columnWidths = fe(J));
|
|
31636
31636
|
}
|
|
31637
|
-
ze(() => ee.value.cols,
|
|
31637
|
+
ze(() => ee.value.cols, $e);
|
|
31638
31638
|
const ye = D(!1), Ce = D({
|
|
31639
31639
|
x: 0,
|
|
31640
31640
|
y: 0
|
|
@@ -31642,7 +31642,7 @@ var IC = { key: 0 }, xC = { class: "hide" }, gC = {
|
|
|
31642
31642
|
let Je = null;
|
|
31643
31643
|
G.state.content = s.value;
|
|
31644
31644
|
const Jl = /[\u0590-\u05FF\u0600-\u06FF\u0700-\u074F\u0750-\u077F\uFB1D-\uFDFD\uFE70-\uFEFC]/, Qa = /[A-Za-z\u00C0-\u02AF\u0370-\u058F]/;
|
|
31645
|
-
function
|
|
31645
|
+
function ql(J, E = "ltr") {
|
|
31646
31646
|
for (const ne of J) {
|
|
31647
31647
|
if (Jl.test(ne)) return "rtl";
|
|
31648
31648
|
if (Qa.test(ne)) return "ltr";
|
|
@@ -31651,12 +31651,12 @@ var IC = { key: 0 }, xC = { class: "hide" }, gC = {
|
|
|
31651
31651
|
}
|
|
31652
31652
|
function Qn(J, E, ne = !0) {
|
|
31653
31653
|
const Q = J.getAttribute("dir");
|
|
31654
|
-
return (ne || J.hasAttribute("data-dir-explicit")) && (Q === "rtl" || Q === "ltr") ? Q :
|
|
31654
|
+
return (ne || J.hasAttribute("data-dir-explicit")) && (Q === "rtl" || Q === "ltr") ? Q : ql(J.textContent || "", E);
|
|
31655
31655
|
}
|
|
31656
31656
|
function wd() {
|
|
31657
31657
|
const { doc: J } = G.state;
|
|
31658
31658
|
if (!J?.body) return;
|
|
31659
|
-
const E =
|
|
31659
|
+
const E = ql(J.body.textContent || "", J.body.dir || "ltr");
|
|
31660
31660
|
J.body.dir = E, J.body.style.direction = E, J.querySelectorAll("p,h1,h2,h3,h4,h5,h6,blockquote,li").forEach((ne) => {
|
|
31661
31661
|
ne.classList.contains("placeholder") || ne.setAttribute("dir", Qn(ne, E, !0));
|
|
31662
31662
|
});
|
|
@@ -31664,7 +31664,7 @@ var IC = { key: 0 }, xC = { class: "hide" }, gC = {
|
|
|
31664
31664
|
function Aa() {
|
|
31665
31665
|
const { doc: J } = G.state;
|
|
31666
31666
|
if (!J?.body) return "ltr";
|
|
31667
|
-
const E = J.getSelection(), ne = E?.rangeCount ? E.getRangeAt(0).startContainer : null, Q = (ne?.nodeType === Node.ELEMENT_NODE ? ne : ne?.parentElement)?.closest("p,h1,h2,h3,h4,h5,h6,blockquote,li"), je =
|
|
31667
|
+
const E = J.getSelection(), ne = E?.rangeCount ? E.getRangeAt(0).startContainer : null, Q = (ne?.nodeType === Node.ELEMENT_NODE ? ne : ne?.parentElement)?.closest("p,h1,h2,h3,h4,h5,h6,blockquote,li"), je = ql(J.body.textContent || "", J.body.dir || "ltr");
|
|
31668
31668
|
return Q ? Qn(Q, je) : je;
|
|
31669
31669
|
}
|
|
31670
31670
|
function wl(J, E = !1) {
|
|
@@ -32344,10 +32344,10 @@ var IC = { key: 0 }, xC = { class: "hide" }, gC = {
|
|
|
32344
32344
|
danger: !0,
|
|
32345
32345
|
action: tY
|
|
32346
32346
|
}), J;
|
|
32347
|
-
}), Jm = I(() => G.state.debug), nY = I(() =>
|
|
32347
|
+
}), Jm = I(() => G.state.debug), nY = I(() => ql(s.value.replace(/<[^>]*>/g, ""), "ltr") === "rtl"), kr = I(() => a.fullHeight ? "100%" : typeof a.height == "number" ? `${a.height}px` : typeof a.height == "string" ? a.height : "240px");
|
|
32348
32348
|
let Sd = null, xi = null;
|
|
32349
32349
|
const cs = am();
|
|
32350
|
-
|
|
32350
|
+
$l(() => {
|
|
32351
32351
|
Sd?.disconnect(), Sd = null, cs.cancel(), xi?.(), xi = null, G.cleanup();
|
|
32352
32352
|
});
|
|
32353
32353
|
function iY(J) {
|
|
@@ -32675,7 +32675,7 @@ var IC = { key: 0 }, xC = { class: "hide" }, gC = {
|
|
|
32675
32675
|
return;
|
|
32676
32676
|
}
|
|
32677
32677
|
Ye.preventDefault(), Ye.stopPropagation(), Se.collapsed || Se.deleteContents();
|
|
32678
|
-
const Ll = Ue.getAttribute("dir") ||
|
|
32678
|
+
const Ll = Ue.getAttribute("dir") || ql(Ue.textContent || "", J.body.dir || "ltr");
|
|
32679
32679
|
let bl = J.createElement("p");
|
|
32680
32680
|
bl.dir = Ll, Ue.hasAttribute("data-dir-explicit") && bl.setAttribute("data-dir-explicit", "true"), Ue.style.textAlign && (bl.style.textAlign = Ue.style.textAlign);
|
|
32681
32681
|
const Il = J.createRange();
|
|
@@ -33270,7 +33270,7 @@ var IC = { key: 0 }, xC = { class: "hide" }, gC = {
|
|
|
33270
33270
|
Ie.dir = ne.body.dir || "ltr", Ie.innerHTML = "<br>", ne.body.appendChild(Ie);
|
|
33271
33271
|
} else Ye.forEach((Ie) => {
|
|
33272
33272
|
const Se = ne.createElement("p");
|
|
33273
|
-
Se.dir =
|
|
33273
|
+
Se.dir = ql(Ie, ne.body.dir || "ltr"), Se.textContent = Ie, ne.body.appendChild(Se);
|
|
33274
33274
|
});
|
|
33275
33275
|
}
|
|
33276
33276
|
G.state.content = ne.body.innerHTML, G.init(ne), MC(ne, V), ne.addEventListener("selectionchange", () => {
|
|
@@ -33447,7 +33447,7 @@ var IC = { key: 0 }, xC = { class: "hide" }, gC = {
|
|
|
33447
33447
|
}
|
|
33448
33448
|
});
|
|
33449
33449
|
return (J, E) => {
|
|
33450
|
-
const ne =
|
|
33450
|
+
const ne = _l("tooltip");
|
|
33451
33451
|
return L(), M(Le, null, [
|
|
33452
33452
|
v("div", Wl({
|
|
33453
33453
|
class: ["bagel-input rich-text-light-theme", [N(i), {
|
|
@@ -35938,7 +35938,7 @@ ml.create = function(e, l) {
|
|
|
35938
35938
|
return new ml(e, l);
|
|
35939
35939
|
};
|
|
35940
35940
|
ml.version = W7;
|
|
35941
|
-
var
|
|
35941
|
+
var et = [], _d, w2, R2 = !1, Wu, Gu, Ro, $d;
|
|
35942
35942
|
function C7() {
|
|
35943
35943
|
function e() {
|
|
35944
35944
|
this.defaults = {
|
|
@@ -35963,7 +35963,7 @@ function C7() {
|
|
|
35963
35963
|
this.sortable.nativeDraggable ? Vl(document, "dragover", this._handleAutoScroll) : (Vl(document, "pointermove", this._handleFallbackAutoScroll), Vl(document, "touchmove", this._handleFallbackAutoScroll), Vl(document, "mousemove", this._handleFallbackAutoScroll)), n1(), qs(), y7();
|
|
35964
35964
|
},
|
|
35965
35965
|
nulling: function() {
|
|
35966
|
-
Ro = w2 = _d = R2 = $d = Wu = Gu = null,
|
|
35966
|
+
Ro = w2 = _d = R2 = $d = Wu = Gu = null, et.length = 0;
|
|
35967
35967
|
},
|
|
35968
35968
|
_handleFallbackAutoScroll: function(t) {
|
|
35969
35969
|
this._handleAutoScroll(t, !0);
|
|
@@ -35991,9 +35991,9 @@ function C7() {
|
|
|
35991
35991
|
});
|
|
35992
35992
|
}
|
|
35993
35993
|
function qs() {
|
|
35994
|
-
|
|
35994
|
+
et.forEach(function(e) {
|
|
35995
35995
|
clearInterval(e.pid);
|
|
35996
|
-
}),
|
|
35996
|
+
}), et = [];
|
|
35997
35997
|
}
|
|
35998
35998
|
function n1() {
|
|
35999
35999
|
clearInterval($d);
|
|
@@ -36007,12 +36007,12 @@ var Nu = nG(function(e, l, t, a) {
|
|
|
36007
36007
|
var b = Z, h = dt(b), r = h.top, Y = h.bottom, p = h.left, W = h.right, G = h.width, y = h.height, X = void 0, V = void 0, T = b.scrollWidth, x = b.scrollHeight, S = ol(b), z = b.scrollLeft, w = b.scrollTop;
|
|
36008
36008
|
b === s ? (X = G < T && (S.overflowX === "auto" || S.overflowX === "scroll" || S.overflowX === "visible"), V = y < x && (S.overflowY === "auto" || S.overflowY === "scroll" || S.overflowY === "visible")) : (X = G < T && (S.overflowX === "auto" || S.overflowX === "scroll"), V = y < x && (S.overflowY === "auto" || S.overflowY === "scroll"));
|
|
36009
36009
|
var F = X && (Math.abs(W - n) <= d && z + G < T) - (Math.abs(p - n) <= d && !!z), U = V && (Math.abs(Y - i) <= d && w + y < x) - (Math.abs(r - i) <= d && !!w);
|
|
36010
|
-
if (!
|
|
36011
|
-
for (var O = 0; O <= u; O++)
|
|
36012
|
-
(
|
|
36010
|
+
if (!et[u])
|
|
36011
|
+
for (var O = 0; O <= u; O++) et[O] || (et[O] = {});
|
|
36012
|
+
(et[u].vx != F || et[u].vy != U || et[u].el !== b) && (et[u].el = b, et[u].vx = F, et[u].vy = U, clearInterval(et[u].pid), (F != 0 || U != 0) && (o = !0, et[u].pid = setInterval((function() {
|
|
36013
36013
|
a && this.layer === 0 && ml.active._onTouchMove(Ro);
|
|
36014
|
-
var q =
|
|
36015
|
-
typeof m == "function" && m.call(ml.dragged.parentNode[Qt], H, q, e, Ro,
|
|
36014
|
+
var q = et[this.layer].vy ? et[this.layer].vy * c : 0, H = et[this.layer].vx ? et[this.layer].vx * c : 0;
|
|
36015
|
+
typeof m == "function" && m.call(ml.dragged.parentNode[Qt], H, q, e, Ro, et[this.layer].el) !== "continue" || iG(et[this.layer].el, H, q);
|
|
36016
36016
|
}).bind({ layer: u }), 24))), u++;
|
|
36017
36017
|
} while (l.bubbleScroll && Z !== s && (Z = zn(Z, !1)));
|
|
36018
36018
|
R2 = o;
|
|
@@ -47236,7 +47236,7 @@ var GE = {
|
|
|
47236
47236
|
} catch {
|
|
47237
47237
|
return "";
|
|
47238
47238
|
}
|
|
47239
|
-
}), x = I(() => t.placeholder ?
|
|
47239
|
+
}), x = I(() => t.placeholder ? _e(t.placeholder) : T.value ? T.value : _e(t.label) || d("tel.phoneNumber"));
|
|
47240
47240
|
function S(R) {
|
|
47241
47241
|
u.value = R, b.value = !1, m.value = "", o.value = G(o.value);
|
|
47242
47242
|
}
|
|
@@ -47302,7 +47302,7 @@ var GE = {
|
|
|
47302
47302
|
setTimeout(() => Z.value?.focus(), 100);
|
|
47303
47303
|
}
|
|
47304
47304
|
return dl(H), (R, g) => {
|
|
47305
|
-
const C =
|
|
47305
|
+
const C = _l("pattern");
|
|
47306
47306
|
return L(), M("div", {
|
|
47307
47307
|
class: Ze(["bagel-input text-input", [N(a), {
|
|
47308
47308
|
invalid: !r.value,
|
|
@@ -47311,7 +47311,7 @@ var GE = {
|
|
|
47311
47311
|
"has-value": re.value
|
|
47312
47312
|
}]]),
|
|
47313
47313
|
style: Te(N(n))
|
|
47314
|
-
}, [v("label", null, [e.label || e.underlined && e.placeholder ? (L(), M("span", NE, [Ae(ae(N(
|
|
47314
|
+
}, [v("label", null, [e.label || e.underlined && e.placeholder ? (L(), M("span", NE, [Ae(ae(N(_e)(e.label) || N(_e)(e.placeholder)), 1), e.required ? (L(), M("span", YE, " *")) : f("", !0)])) : f("", !0), v("div", {
|
|
47315
47315
|
dir: "ltr",
|
|
47316
47316
|
class: "flex gap-025 tel-input",
|
|
47317
47317
|
tabindex: "-1",
|
|
@@ -47444,7 +47444,7 @@ var GE = {
|
|
|
47444
47444
|
type: "checkbox",
|
|
47445
47445
|
required: e.required
|
|
47446
47446
|
}, null, 8, wE), [[$o, i.value]]),
|
|
47447
|
-
v("label", { for: n.value }, [Ve(d.$slots, "label", {}, () => [Ae(ae(N(
|
|
47447
|
+
v("label", { for: n.value }, [Ve(d.$slots, "label", {}, () => [Ae(ae(N(_e)(e.label)), 1)], !0)], 8, RE),
|
|
47448
47448
|
e.helptext ? (L(), M("p", SE, ae(e.helptext), 1)) : f("", !0)
|
|
47449
47449
|
], 14, zE));
|
|
47450
47450
|
}
|
|
@@ -47985,7 +47985,7 @@ var KE = {
|
|
|
47985
47985
|
toggleBottom: T
|
|
47986
47986
|
}), dl(() => {
|
|
47987
47987
|
b(), window.addEventListener("resize", h);
|
|
47988
|
-
}),
|
|
47988
|
+
}), $l(() => {
|
|
47989
47989
|
window.removeEventListener("resize", h), clearTimeout(s);
|
|
47990
47990
|
});
|
|
47991
47991
|
const A = I(() => ({
|
|
@@ -48082,7 +48082,7 @@ var KE = {
|
|
|
48082
48082
|
l.side,
|
|
48083
48083
|
l.height,
|
|
48084
48084
|
l.mode
|
|
48085
|
-
], d),
|
|
48085
|
+
], d), $l(() => i.value({
|
|
48086
48086
|
present: !1,
|
|
48087
48087
|
open: !1
|
|
48088
48088
|
}));
|
|
@@ -48090,39 +48090,42 @@ var KE = {
|
|
|
48090
48090
|
const o = s.to;
|
|
48091
48091
|
return o ? o === "/" ? a.path === o : a.path === o || a.path.startsWith(`${o}/`) : !1;
|
|
48092
48092
|
}
|
|
48093
|
-
return (s, o) =>
|
|
48094
|
-
|
|
48095
|
-
|
|
48096
|
-
|
|
48097
|
-
|
|
48098
|
-
|
|
48099
|
-
|
|
48100
|
-
|
|
48101
|
-
|
|
48102
|
-
|
|
48103
|
-
to:
|
|
48104
|
-
|
|
48105
|
-
|
|
48106
|
-
|
|
48107
|
-
|
|
48108
|
-
|
|
48109
|
-
|
|
48110
|
-
|
|
48111
|
-
|
|
48112
|
-
|
|
48113
|
-
|
|
48114
|
-
|
|
48115
|
-
|
|
48116
|
-
|
|
48117
|
-
|
|
48118
|
-
|
|
48119
|
-
|
|
48120
|
-
|
|
48121
|
-
|
|
48122
|
-
|
|
48123
|
-
|
|
48093
|
+
return (s, o) => {
|
|
48094
|
+
const m = _l("tooltip");
|
|
48095
|
+
return L(), M("nav", {
|
|
48096
|
+
class: Ze(["app-nav flex align-items-center gap-1 px-1-5 bg-box", [e.side === "top" ? "border-bottom" : "border-top", `app-nav--${t.value}`]]),
|
|
48097
|
+
style: Te({
|
|
48098
|
+
height: e.height,
|
|
48099
|
+
blockSize: e.height
|
|
48100
|
+
})
|
|
48101
|
+
}, [
|
|
48102
|
+
v("div", $E, [Ve(s.$slots, "brand", {}, void 0, !0)]),
|
|
48103
|
+
v("div", qE, [(L(!0), M(Le, null, Fe(e.navLinks, (u) => al((L(), ie(Bl(u.to ? N(u5) : u.href ? "a" : "button"), {
|
|
48104
|
+
key: u.label,
|
|
48105
|
+
to: u.to,
|
|
48106
|
+
href: u.href,
|
|
48107
|
+
class: Ze(["app-nav-link flex align-items-center gap-05 px-075 py-05 radius-2 no-underline txt-14", [u.class, { "app-nav-link--active": c(u) }]]),
|
|
48108
|
+
style: Te(c(u) ? { color: e.activeColor } : void 0),
|
|
48109
|
+
onClick: (Z) => u.action?.()
|
|
48110
|
+
}, {
|
|
48111
|
+
default: ve(() => [u.icon ? (L(), ie(N(Oe), {
|
|
48112
|
+
key: 0,
|
|
48113
|
+
name: u.icon,
|
|
48114
|
+
size: 1.1
|
|
48115
|
+
}, null, 8, ["name"])) : f("", !0), v("span", eK, ae(N(_e)(u.label)), 1)]),
|
|
48116
|
+
_: 2
|
|
48117
|
+
}, 1032, [
|
|
48118
|
+
"to",
|
|
48119
|
+
"href",
|
|
48120
|
+
"class",
|
|
48121
|
+
"style",
|
|
48122
|
+
"onClick"
|
|
48123
|
+
])), [[m, u.tooltip ? N(_e)(u.tooltip) : void 0]])), 128))]),
|
|
48124
|
+
v("div", lK, [Ve(s.$slots, "actions", {}, void 0, !0)])
|
|
48125
|
+
], 6);
|
|
48126
|
+
};
|
|
48124
48127
|
}
|
|
48125
|
-
}), aq = /* @__PURE__ */ Ee(tK, [["__scopeId", "data-v-
|
|
48128
|
+
}), aq = /* @__PURE__ */ Ee(tK, [["__scopeId", "data-v-6be4c1c8"]]), aK = { class: "nav-text" }, nK = {
|
|
48126
48129
|
key: 1,
|
|
48127
48130
|
class: "w100p"
|
|
48128
48131
|
}, iK = { class: "nav-text flex-grow" }, dK = { class: "sidebar-flyout px-05 pb-05 pb-025 min-w-180px display-flex gap-025 column" }, cK = { class: "sidebar-flyout-label m-0 semi opacity-5 uppercase" }, sK = { class: "sidebar-children-inner ps-1" }, oK = { class: "nav-text" }, mK = /* @__PURE__ */ we({
|
|
@@ -48181,7 +48184,7 @@ var KE = {
|
|
|
48181
48184
|
name: e.link.icon,
|
|
48182
48185
|
size: "1.2"
|
|
48183
48186
|
}, null, 8, ["name"]),
|
|
48184
|
-
v("span", iK, ae(N(
|
|
48187
|
+
v("span", iK, ae(N(_e)(e.link.label)), 1),
|
|
48185
48188
|
_(N(Oe), {
|
|
48186
48189
|
name: "expand_more",
|
|
48187
48190
|
size: "1.1",
|
|
@@ -48194,7 +48197,7 @@ var KE = {
|
|
|
48194
48197
|
"class",
|
|
48195
48198
|
"style"
|
|
48196
48199
|
])]),
|
|
48197
|
-
default: ve(() => [v("div", dK, [v("p", cK, ae(N(
|
|
48200
|
+
default: ve(() => [v("div", dK, [v("p", cK, ae(N(_e)(e.link.label)), 1), (L(!0), M(Le, null, Fe(e.link.children, (Z) => (L(), ie(N(pe), {
|
|
48198
48201
|
key: Z.to || Z.label,
|
|
48199
48202
|
fullWidth: "",
|
|
48200
48203
|
alignTxt: "start",
|
|
@@ -48213,7 +48216,7 @@ var KE = {
|
|
|
48213
48216
|
name: Z.icon,
|
|
48214
48217
|
size: "1.05",
|
|
48215
48218
|
class: "opacity-7"
|
|
48216
|
-
}, null, 8, ["name"])) : f("", !0), v("span", null, ae(N(
|
|
48219
|
+
}, null, 8, ["name"])) : f("", !0), v("span", null, ae(N(_e)(Z.label)), 1)]),
|
|
48217
48220
|
_: 2
|
|
48218
48221
|
}, 1032, [
|
|
48219
48222
|
"class",
|
|
@@ -48240,7 +48243,7 @@ var KE = {
|
|
|
48240
48243
|
name: Z.icon,
|
|
48241
48244
|
size: "1.05",
|
|
48242
48245
|
class: "opacity-7"
|
|
48243
|
-
}, null, 8, ["name"])) : f("", !0), v("span", oK, ae(N(
|
|
48246
|
+
}, null, 8, ["name"])) : f("", !0), v("span", oK, ae(N(_e)(Z.label)), 1)]),
|
|
48244
48247
|
_: 2
|
|
48245
48248
|
}, 1032, [
|
|
48246
48249
|
"class",
|
|
@@ -48249,21 +48252,21 @@ var KE = {
|
|
|
48249
48252
|
"onClick"
|
|
48250
48253
|
]))), 128))])], 2)])) : (L(), ie(N(pe), {
|
|
48251
48254
|
key: 0,
|
|
48252
|
-
title: !e.open && !e.isMobile ? N(
|
|
48255
|
+
title: e.link.tooltip ? N(_e)(e.link.tooltip) : !e.open && !e.isMobile ? N(_e)(e.link.label) : "",
|
|
48253
48256
|
fullWidth: "",
|
|
48254
48257
|
alignTxt: "start",
|
|
48255
|
-
class: Ze(["sidebar-link-btn flex-shrink-0 px-075", { "nav-btn-active": d.value }]),
|
|
48258
|
+
class: Ze(["sidebar-link-btn flex-shrink-0 px-075", [e.link.class, { "nav-btn-active": d.value }]]),
|
|
48256
48259
|
style: Te({
|
|
48257
48260
|
backgroundColor: d.value ? e.activeColor : e.bgColor,
|
|
48258
48261
|
color: d.value ? "white" : e.textColor
|
|
48259
48262
|
}),
|
|
48260
|
-
to: e.link.to ||
|
|
48263
|
+
to: e.link.to || void 0,
|
|
48261
48264
|
onClick: e.link.action
|
|
48262
48265
|
}, {
|
|
48263
48266
|
default: ve(() => [_(N(Oe), {
|
|
48264
48267
|
name: e.link.icon,
|
|
48265
48268
|
size: "1.2"
|
|
48266
|
-
}, null, 8, ["name"]), v("span", aK, ae(N(
|
|
48269
|
+
}, null, 8, ["name"]), v("span", aK, ae(N(_e)(e.link.label)), 1)]),
|
|
48267
48270
|
_: 1
|
|
48268
48271
|
}, 8, [
|
|
48269
48272
|
"title",
|
|
@@ -48273,7 +48276,7 @@ var KE = {
|
|
|
48273
48276
|
"onClick"
|
|
48274
48277
|
]));
|
|
48275
48278
|
}
|
|
48276
|
-
}), uK = /* @__PURE__ */ Ee(mK, [["__scopeId", "data-v-
|
|
48279
|
+
}), uK = /* @__PURE__ */ Ee(mK, [["__scopeId", "data-v-aacd5e96"]]), ZK = ["src", "alt"], rK = ["src", "alt"], bK = { class: "nav-text flex column line-height-1 gap-025 align-items-start" }, hK = { class: "line-height-14" }, pK = {
|
|
48277
48280
|
key: 0,
|
|
48278
48281
|
class: "txt11 opacity-6"
|
|
48279
48282
|
}, WK = { class: "sidebar-footer flex column flex-stretch gap-025 px-05 mx-auto mt-auto m_border-top m_pt-05" }, GK = { class: "nav-text" }, _1 = "0.5rem", NK = /* @__PURE__ */ we({
|
|
@@ -48410,7 +48413,7 @@ var KE = {
|
|
|
48410
48413
|
]))), 128))], 2),
|
|
48411
48414
|
v("div", WK, [(L(!0), M(Le, null, Fe(l.footerLinks, (p) => (L(), ie(N(pe), {
|
|
48412
48415
|
key: p.to || p.label,
|
|
48413
|
-
title: !N(n) && !N(i) ? N(
|
|
48416
|
+
title: !N(n) && !N(i) ? N(_e)(p.label) : "",
|
|
48414
48417
|
style: Te({
|
|
48415
48418
|
backgroundColor: Z(p) ? l.activeColor : l.bgColor,
|
|
48416
48419
|
color: Z(p) ? "white" : l.textColor
|
|
@@ -48424,7 +48427,7 @@ var KE = {
|
|
|
48424
48427
|
default: ve(() => [_(N(Oe), {
|
|
48425
48428
|
name: p.icon,
|
|
48426
48429
|
size: "1.2"
|
|
48427
|
-
}, null, 8, ["name"]), v("span", GK, ae(N(
|
|
48430
|
+
}, null, 8, ["name"]), v("span", GK, ae(N(_e)(p.label)), 1)]),
|
|
48428
48431
|
_: 2
|
|
48429
48432
|
}, 1032, [
|
|
48430
48433
|
"title",
|
|
@@ -48759,7 +48762,7 @@ var gK = { class: "panel__content" }, zK = [
|
|
|
48759
48762
|
c.value = i.registerPanel(W), c.value.el.value = s.value, a.collapsed !== void 0 && (c.value.collapsed.value = a.collapsed), i.syncPanelOrder();
|
|
48760
48763
|
}), ze(s, (W) => {
|
|
48761
48764
|
c.value && (c.value.el.value = W), W && i.syncPanelOrder();
|
|
48762
|
-
}),
|
|
48765
|
+
}), $l(() => {
|
|
48763
48766
|
i.unregisterPanel(d);
|
|
48764
48767
|
});
|
|
48765
48768
|
const m = I(() => c.value?.size.value ?? a.defaultSize), u = I(() => o.value), Z = I(() => i.direction.value === "horizontal"), b = I(() => i.isMobile.value && a.hideOnMobile), h = I(() => {
|
|
@@ -48870,7 +48873,7 @@ var gK = { class: "panel__content" }, zK = [
|
|
|
48870
48873
|
i.value = !i.value, a("update:open", i.value);
|
|
48871
48874
|
});
|
|
48872
48875
|
return (c, s) => {
|
|
48873
|
-
const o =
|
|
48876
|
+
const o = _l("tooltip");
|
|
48874
48877
|
return L(), M("div", { class: Ze(["vh-100 relative p-05 bgl_sidebar", { wideNav: i.value }]) }, [_(N(pe), {
|
|
48875
48878
|
thin: "",
|
|
48876
48879
|
color: "white",
|
|
@@ -49225,7 +49228,7 @@ var CK = { class: "bgl_tabs" }, DK = { key: 0 }, UK = /* @__PURE__ */ we({
|
|
|
49225
49228
|
}, { deep: !0 }), ea(() => {
|
|
49226
49229
|
window.removeEventListener("resize", h), i.value?.removeEventListener("scroll", h), document.removeEventListener("transitionend", r, !0), document.removeEventListener("animationend", r, !0), c?.disconnect(), c = void 0, o.clear(), typeof window < "u" && window.visualViewport && window.visualViewport.removeEventListener("resize", h);
|
|
49227
49230
|
}), (G, y) => {
|
|
49228
|
-
const X =
|
|
49231
|
+
const X = _l("tooltip");
|
|
49229
49232
|
return L(), M("div", {
|
|
49230
49233
|
ref_key: "tabsWrap",
|
|
49231
49234
|
ref: i,
|
|
@@ -49407,7 +49410,7 @@ var CK = { class: "bgl_tabs" }, DK = { key: 0 }, UK = /* @__PURE__ */ we({
|
|
|
49407
49410
|
}, l.disabled && (V.disabled = !0), V;
|
|
49408
49411
|
});
|
|
49409
49412
|
return (V, T) => {
|
|
49410
|
-
const x =
|
|
49413
|
+
const x = _l("ripple");
|
|
49411
49414
|
return L(), M("div", Wl(d.value, {
|
|
49412
49415
|
class: ["flex space-between list-item-row", [{
|
|
49413
49416
|
"no-border-list": l.flat || e.rounded,
|
|
@@ -49528,7 +49531,7 @@ var rH = /* @__PURE__ */ Ee(sH, [["render", ZH]]), bH = ["id"], hH = '<svg width
|
|
|
49528
49531
|
m(n.value);
|
|
49529
49532
|
}
|
|
49530
49533
|
}
|
|
49531
|
-
return ze(() => t.markers, Z, { immediate: !0 }), ze(() => t.center, (b) => i.value?.setView(b, t.zoom), { immediate: !0 }), dl(s),
|
|
49534
|
+
return ze(() => t.markers, Z, { immediate: !0 }), ze(() => t.center, (b) => i.value?.setView(b, t.zoom), { immediate: !0 }), dl(s), $l(() => {
|
|
49532
49535
|
d.value.forEach((b) => b.remove()), i.value?.remove(), i.value = void 0;
|
|
49533
49536
|
}), (b, h) => (L(), M("div", {
|
|
49534
49537
|
id: c.value,
|
|
@@ -49543,7 +49546,7 @@ var rH = /* @__PURE__ */ Ee(sH, [["render", ZH]]), bH = ["id"], hH = '<svg width
|
|
|
49543
49546
|
setup(e) {
|
|
49544
49547
|
return (l, t) => (L(), M("div", GH, [v("div", NH, [(L(!0), M(Le, null, Fe(e.items, (a) => (L(), M(Le, { key: a.label }, [a.children ? (L(), ie(N(st), {
|
|
49545
49548
|
key: 0,
|
|
49546
|
-
value: N(
|
|
49549
|
+
value: N(_e)(a.label),
|
|
49547
49550
|
iconEnd: "keyboard_arrow_down"
|
|
49548
49551
|
}, {
|
|
49549
49552
|
trigger: ve(({ show: n, shown: i }) => [_(N(pe), {
|
|
@@ -49559,7 +49562,7 @@ var rH = /* @__PURE__ */ Ee(sH, [["render", ZH]]), bH = ["id"], hH = '<svg width
|
|
|
49559
49562
|
style: { "margin-bottom": "-0.1rem" },
|
|
49560
49563
|
class: "line-height-0"
|
|
49561
49564
|
}, null, 8, ["name"]),
|
|
49562
|
-
v("p", YH, ae(N(
|
|
49565
|
+
v("p", YH, ae(N(_e)(a.label)), 1),
|
|
49563
49566
|
_(N(Oe), {
|
|
49564
49567
|
name: "keyboard_arrow_down",
|
|
49565
49568
|
size: "0.8",
|
|
@@ -49652,7 +49655,7 @@ var rH = /* @__PURE__ */ Ee(sH, [["render", ZH]]), bH = ["id"], hH = '<svg width
|
|
|
49652
49655
|
to: d.to,
|
|
49653
49656
|
onClick: (c) => d.action?.()
|
|
49654
49657
|
}, {
|
|
49655
|
-
default: ve(() => [_(N(Oe), { icon: d.icon }, null, 8, ["icon"]), v("div", IH, ae(N(
|
|
49658
|
+
default: ve(() => [_(N(Oe), { icon: d.icon }, null, 8, ["icon"]), v("div", IH, ae(N(_e)(d.label)), 1)]),
|
|
49656
49659
|
_: 2
|
|
49657
49660
|
}, 1032, ["to", "onClick"]))), 128))])]), v("div", xH, [(L(!0), M(Le, null, Fe(e.footerLinks, (d) => (L(), ie(Bl(d.to ? "router-link" : "div"), {
|
|
49658
49661
|
key: d.label,
|
|
@@ -49660,7 +49663,7 @@ var rH = /* @__PURE__ */ Ee(sH, [["render", ZH]]), bH = ["id"], hH = '<svg width
|
|
|
49660
49663
|
to: d.to,
|
|
49661
49664
|
onClick: (c) => d.action?.()
|
|
49662
49665
|
}, {
|
|
49663
|
-
default: ve(() => [_(N(Oe), { icon: d.icon }, null, 8, ["icon"]), v("div", gH, ae(N(
|
|
49666
|
+
default: ve(() => [_(N(Oe), { icon: d.icon }, null, 8, ["icon"]), v("div", gH, ae(N(_e)(d.label)), 1)]),
|
|
49664
49667
|
_: 2
|
|
49665
49668
|
}, 1032, ["to", "onClick"]))), 128)), Ve(n.$slots, "floor", {}, void 0, !0)])])
|
|
49666
49669
|
], 2));
|
|
@@ -50123,7 +50126,7 @@ function $H(e, l) {
|
|
|
50123
50126
|
const G = p.target.closest("th");
|
|
50124
50127
|
c.value = a.value.get(W) ?? G?.getBoundingClientRect().width ?? 0, document.addEventListener("mousemove", h), document.addEventListener("mouseup", r);
|
|
50125
50128
|
}
|
|
50126
|
-
return
|
|
50129
|
+
return $l(() => {
|
|
50127
50130
|
document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", r);
|
|
50128
50131
|
}), {
|
|
50129
50132
|
columns: s,
|
|
@@ -50166,7 +50169,7 @@ function qH(e) {
|
|
|
50166
50169
|
col: e.value.length - 1
|
|
50167
50170
|
};
|
|
50168
50171
|
}
|
|
50169
|
-
return window.addEventListener("mouseup", d),
|
|
50172
|
+
return window.addEventListener("mouseup", d), $l(() => {
|
|
50170
50173
|
window.removeEventListener("mouseup", d);
|
|
50171
50174
|
}), {
|
|
50172
50175
|
isSelecting: l,
|
|
@@ -54917,7 +54920,7 @@ var Lq = /* @__PURE__ */ Ee(Z8, [["render", b8]]), h8 = class {
|
|
|
54917
54920
|
}
|
|
54918
54921
|
dl(() => {
|
|
54919
54922
|
S.value = new h8(), n.value && S.value.attach(n.value), e.doubleClickToZoom && (S.value.onDoubleTap(Xe), n.value && n.value.addEventListener("dblclick", Xe)), window.addEventListener("resize", $), $(), me(), We();
|
|
54920
|
-
}),
|
|
54923
|
+
}), $l(() => {
|
|
54921
54924
|
n.value && (S.value?.detach(n.value), e.doubleClickToZoom && n.value.removeEventListener("dblclick", Xe)), window.removeEventListener("resize", $), x.value && window.cancelAnimationFrame(x.value), U.value && window.cancelAnimationFrame(U.value);
|
|
54922
54925
|
});
|
|
54923
54926
|
function Xe(te) {
|
|
@@ -55044,7 +55047,7 @@ var N8 = { class: "flex column gap-1" }, Y8 = ["src"], L8 = ["src", "title"], y8
|
|
|
55044
55047
|
} catch {
|
|
55045
55048
|
m === i && (n.value = !0);
|
|
55046
55049
|
}
|
|
55047
|
-
}, { immediate: !0 }),
|
|
55050
|
+
}, { immediate: !0 }), $l(() => {
|
|
55048
55051
|
i++, d();
|
|
55049
55052
|
});
|
|
55050
55053
|
const c = I(() => a.value ?? t.url.value), s = I(() => n.value || t.error.value), o = () => {
|
|
@@ -55241,7 +55244,7 @@ function zd() {
|
|
|
55241
55244
|
}
|
|
55242
55245
|
return dl(() => {
|
|
55243
55246
|
window.addEventListener("resize", o), window.addEventListener("scroll", o), o();
|
|
55244
|
-
}),
|
|
55247
|
+
}), $l(() => {
|
|
55245
55248
|
window.removeEventListener("resize", o), window.removeEventListener("scroll", o);
|
|
55246
55249
|
}), {
|
|
55247
55250
|
innerWidth: e,
|
|
@@ -57073,7 +57076,7 @@ function Hq(e, l = {}) {
|
|
|
57073
57076
|
}
|
|
57074
57077
|
return dl(() => {
|
|
57075
57078
|
document.addEventListener("visibilitychange", b), u();
|
|
57076
|
-
}),
|
|
57079
|
+
}), $l(() => {
|
|
57077
57080
|
document.removeEventListener("visibilitychange", b), o();
|
|
57078
57081
|
}), {
|
|
57079
57082
|
isPolling: d,
|
|
@@ -57091,7 +57094,7 @@ function Pq() {
|
|
|
57091
57094
|
}
|
|
57092
57095
|
return dl(() => {
|
|
57093
57096
|
typeof window > "u" || !window.matchMedia || (l = window.matchMedia("(prefers-reduced-motion: reduce)"), e.value = l.matches, l.addEventListener("change", t));
|
|
57094
|
-
}),
|
|
57097
|
+
}), $l(() => {
|
|
57095
57098
|
l?.removeEventListener("change", t);
|
|
57096
57099
|
}), e;
|
|
57097
57100
|
}
|
|
@@ -57838,7 +57841,7 @@ var RQ = /* @__PURE__ */ we({
|
|
|
57838
57841
|
...h.value,
|
|
57839
57842
|
...a.errors || {}
|
|
57840
57843
|
}, g = {};
|
|
57841
|
-
for (const [C, k] of Object.entries(R)) g[C] =
|
|
57844
|
+
for (const [C, k] of Object.entries(R)) g[C] = _e(k) ?? k;
|
|
57842
57845
|
return g;
|
|
57843
57846
|
});
|
|
57844
57847
|
function P(R, g) {
|
|
@@ -65482,7 +65485,7 @@ export {
|
|
|
65482
65485
|
Xp as reorderItems,
|
|
65483
65486
|
see as required,
|
|
65484
65487
|
V8 as resizeRect,
|
|
65485
|
-
|
|
65488
|
+
_e as resolveI18n,
|
|
65486
65489
|
Ko as resolveNext,
|
|
65487
65490
|
BQ as reveal,
|
|
65488
65491
|
Co as richTextToPlainText,
|