@bagelink/vue 1.15.151 → 1.15.156
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/charts/BarChart.vue.d.ts.map +1 -1
- package/dist/components/charts/ChartTooltip.vue.d.ts +12 -2
- package/dist/components/charts/ChartTooltip.vue.d.ts.map +1 -1
- package/dist/components/charts/LineChart.vue.d.ts.map +1 -1
- package/dist/components/layout/AppNav.vue.d.ts +1 -1
- package/dist/components/layout/AppNav.vue.d.ts.map +1 -1
- package/dist/form-flow/FormFlow.vue.d.ts.map +1 -1
- package/dist/form-flow/MultiStepForm.vue.d.ts.map +1 -1
- package/dist/form-flow/form-flow.d.ts +5 -0
- package/dist/form-flow/form-flow.d.ts.map +1 -1
- package/dist/form-flow/schema-fields.d.ts +11 -1
- package/dist/form-flow/schema-fields.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.mjs +149 -98
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/charts/BarChart.vue +1 -1
- package/src/components/charts/ChartTooltip.vue +73 -16
- package/src/components/charts/Donut.vue +1 -1
- package/src/components/charts/Funnel.vue +3 -3
- package/src/components/charts/LineChart.vue +1 -1
- package/src/form-flow/FormFlow.vue +2 -0
- package/src/form-flow/MultiStepForm.vue +1 -0
- package/src/form-flow/form-flow.ts +19 -0
- package/src/form-flow/schema-fields.ts +21 -0
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Us from "vue";
|
|
2
|
-
import { Comment as Yd, Fragment as ve, Teleport as Sy, Text as Xd, Transition as yo, TransitionGroup as Kd, computed as A, createApp as ns, createBlock as re, createCommentVNode as z, createElementBlock as S, createElementVNode as M, createSlots as zm, createTextVNode as ze, createVNode as Z, defineComponent as Se, effectScope as Cy, getCurrentInstance as _o, getCurrentScope as Hm, guardReactiveProps as xn, h as mt, inject as Ar, isMemoSame as Ey, isRef as ao, isVNode as sf, markRaw as Um, mergeModels as on, mergeProps as gt, nextTick as
|
|
2
|
+
import { Comment as Yd, Fragment as ve, Teleport as Sy, Text as Xd, Transition as yo, TransitionGroup as Kd, computed as A, createApp as ns, createBlock as re, createCommentVNode as z, createElementBlock as S, createElementVNode as M, createSlots as zm, createTextVNode as ze, createVNode as Z, defineComponent as Se, effectScope as Cy, getCurrentInstance as _o, getCurrentScope as Hm, guardReactiveProps as xn, h as mt, inject as Ar, isMemoSame as Ey, isRef as ao, isVNode as sf, markRaw as Um, mergeModels as on, mergeProps as gt, nextTick as lt, normalizeClass as ae, normalizeProps as Tn, normalizeStyle as be, onBeforeUnmount as tr, onBeforeUpdate as ky, onMounted as Xe, onScopeDispose as Wm, onUnmounted as zt, onUpdated as jm, openBlock as _, popScopeId as xy, provide as wo, pushScopeId as Ty, reactive as Dr, ref as U, renderList as xe, renderSlot as we, resolveComponent as an, resolveDirective as wn, resolveDynamicComponent as jt, shallowReactive as Ay, shallowRef as ta, toDisplayString as te, toHandlers as Dy, toRaw as My, toValue as Ue, unref as y, useAttrs as qm, useCssVars as Gm, useModel as qt, useSlots as kt, vModelCheckbox as as, vModelDynamic as Ly, vModelRadio as Py, vModelText as ro, vShow as rs, watch as Le, watchEffect as Ym, withCtx as Ce, withDirectives as Ze, withKeys as It, withModifiers as tt, withScopeId as Iy } from "vue";
|
|
3
3
|
import { RouterLink as Xm, useRoute as _i, useRouter as Ny } from "vue-router";
|
|
4
4
|
var uf = Object.defineProperty, Km = (e, t) => {
|
|
5
5
|
let n = {};
|
|
@@ -864,7 +864,7 @@ var S_ = Object.prototype.hasOwnProperty;
|
|
|
864
864
|
function Un(e, t) {
|
|
865
865
|
return S_.call(e, t);
|
|
866
866
|
}
|
|
867
|
-
var At = Array.isArray, Ct = (e) => typeof e == "function", Fe = (e) => typeof e == "string",
|
|
867
|
+
var At = Array.isArray, Ct = (e) => typeof e == "function", Fe = (e) => typeof e == "string", ut = (e) => typeof e == "boolean", ot = (e) => e !== null && typeof e == "object", C_ = (e) => ot(e) && Ct(e.then) && Ct(e.catch), tg = Object.prototype.toString, tc = (e) => tg.call(e), rt = (e) => tc(e) === "[object Object]", E_ = (e) => e == null ? "" : At(e) || rt(e) && e.toString === tg ? JSON.stringify(e, null, 2) : String(e);
|
|
868
868
|
function nc(e, t = "") {
|
|
869
869
|
return e.reduce((n, a, r) => r === 0 ? n + a : n + t + a, "");
|
|
870
870
|
}
|
|
@@ -1871,7 +1871,7 @@ function h1(e, t = {}) {
|
|
|
1871
1871
|
// @__NO_SIDE_EFFECTS__
|
|
1872
1872
|
function m1(e, t) {
|
|
1873
1873
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && Fe(e)) {
|
|
1874
|
-
const n =
|
|
1874
|
+
const n = ut(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
1875
1875
|
process.env.NODE_ENV !== "production" && f1(e, n);
|
|
1876
1876
|
const a = (t.onCacheKey || p1)(e), r = Ii[a];
|
|
1877
1877
|
if (r) return r;
|
|
@@ -1961,7 +1961,7 @@ function ju(e, t, n) {
|
|
|
1961
1961
|
}
|
|
1962
1962
|
function Sf(e, t, n) {
|
|
1963
1963
|
let a = !0;
|
|
1964
|
-
for (let r = 0; r < t.length &&
|
|
1964
|
+
for (let r = 0; r < t.length && ut(a); r++) {
|
|
1965
1965
|
const o = t[r];
|
|
1966
1966
|
Fe(o) && (a = $1(e, t[r], n));
|
|
1967
1967
|
}
|
|
@@ -2166,7 +2166,7 @@ var hg = null, kf = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
2166
2166
|
mg = e;
|
|
2167
2167
|
}, F1 = () => mg, Tf = 0;
|
|
2168
2168
|
function V1(e = {}) {
|
|
2169
|
-
const t = Ct(e.onWarn) ? e.onWarn : p_, n = Fe(e.version) ? e.version : P1, a = Fe(e.locale) || Ct(e.locale) ? e.locale : ri, r = Ct(a) ? ri : a, o = At(e.fallbackLocale) || rt(e.fallbackLocale) || Fe(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, i = rt(e.messages) ? e.messages : qs(r), l = rt(e.datetimeFormats) ? e.datetimeFormats : qs(r), s = rt(e.numberFormats) ? e.numberFormats : qs(r), u = Ft(yt(), e.modifiers, I1()), d = e.pluralRules || yt(), c = Ct(e.missing) ? e.missing : null, f =
|
|
2169
|
+
const t = Ct(e.onWarn) ? e.onWarn : p_, n = Fe(e.version) ? e.version : P1, a = Fe(e.locale) || Ct(e.locale) ? e.locale : ri, r = Ct(a) ? ri : a, o = At(e.fallbackLocale) || rt(e.fallbackLocale) || Fe(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, i = rt(e.messages) ? e.messages : qs(r), l = rt(e.datetimeFormats) ? e.datetimeFormats : qs(r), s = rt(e.numberFormats) ? e.numberFormats : qs(r), u = Ft(yt(), e.modifiers, I1()), d = e.pluralRules || yt(), c = Ct(e.missing) ? e.missing : null, f = ut(e.missingWarn) || oo(e.missingWarn) ? e.missingWarn : !0, p = ut(e.fallbackWarn) || oo(e.fallbackWarn) ? e.fallbackWarn : !0, h = !!e.fallbackFormat, v = !!e.unresolving, b = Ct(e.postTranslation) ? e.postTranslation : null, m = rt(e.processor) ? e.processor : null, g = ut(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, w = !!e.escapeParameter, $ = Ct(e.messageCompiler) ? e.messageCompiler : cg;
|
|
2170
2170
|
process.env.NODE_ENV !== "production" && Ct(e.messageCompiler) && Qd(Oa(Yt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
2171
2171
|
const C = Ct(e.messageResolver) ? e.messageResolver : fg || D1, x = Ct(e.localeFallbacker) ? e.localeFallbacker : pg || w1, k = ot(e.fallbackContext) ? e.fallbackContext : void 0, T = e, R = ot(T.__datetimeFormatters) ? T.__datetimeFormatters : /* @__PURE__ */ new Map(), O = ot(T.__numberFormatters) ? T.__numberFormatters : /* @__PURE__ */ new Map(), G = ot(T.__meta) ? T.__meta : {};
|
|
2172
2172
|
Tf++;
|
|
@@ -2246,7 +2246,7 @@ function Df(e, ...t) {
|
|
|
2246
2246
|
return o(Oa(Yt.CANNOT_FORMAT_DATE)), "";
|
|
2247
2247
|
if (!Fe(t[0]) && !eg(t[0]) && !Bt(t[0]))
|
|
2248
2248
|
return process.env.NODE_ENV !== "production" && o(Oa(Yt.INVALID_DATE_ARGUMENT, { value: String(t[0]) })), "";
|
|
2249
|
-
const [s, u, d, c] = qu(...t), f =
|
|
2249
|
+
const [s, u, d, c] = qu(...t), f = ut(d.missingWarn) ? d.missingWarn : e.missingWarn, p = ut(d.fallbackWarn) ? d.fallbackWarn : e.fallbackWarn, h = !!d.part, v = oc(e, d), b = i(e, r, v);
|
|
2250
2250
|
if (!Fe(s) || s === "") {
|
|
2251
2251
|
const R = new Intl.DateTimeFormat(v.replace(/!/g, ""), c);
|
|
2252
2252
|
return h ? R.formatToParts(u) : R.format(u);
|
|
@@ -2338,7 +2338,7 @@ function Lf(e, ...t) {
|
|
|
2338
2338
|
return o(Oa(Yt.CANNOT_FORMAT_NUMBER)), "";
|
|
2339
2339
|
if (!Bt(t[0]))
|
|
2340
2340
|
return process.env.NODE_ENV !== "production" && o(Oa(Yt.INVALID_NUMBER_ARGUMENT, { value: String(t[0]) })), "";
|
|
2341
|
-
const [s, u, d, c] = Gu(...t), f =
|
|
2341
|
+
const [s, u, d, c] = Gu(...t), f = ut(d.missingWarn) ? d.missingWarn : e.missingWarn, p = ut(d.fallbackWarn) ? d.fallbackWarn : e.fallbackWarn, h = !!d.part, v = oc(e, d), b = i(e, r, v);
|
|
2342
2342
|
if (!Fe(s) || s === "") {
|
|
2343
2343
|
const R = new Intl.NumberFormat(v.replace(/!/g, ""), c);
|
|
2344
2344
|
return h ? R.formatToParts(u) : R.format(u);
|
|
@@ -2448,7 +2448,7 @@ function Y1(e = {}) {
|
|
|
2448
2448
|
}
|
|
2449
2449
|
var If = () => "", Fn = (e) => Ct(e);
|
|
2450
2450
|
function Nf(e, ...t) {
|
|
2451
|
-
const { fallbackFormat: n, postTranslation: a, unresolving: r, messageCompiler: o, fallbackLocale: i, messages: l } = e, [s, u] = Yu(...t), d =
|
|
2451
|
+
const { fallbackFormat: n, postTranslation: a, unresolving: r, messageCompiler: o, fallbackLocale: i, messages: l } = e, [s, u] = Yu(...t), d = ut(u.missingWarn) ? u.missingWarn : e.missingWarn, c = ut(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, f = ut(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, p = !!u.resolvedMessage, h = Fe(u.default) || ut(u.default) ? ut(u.default) ? o ? s : () => s : u.default : n ? o ? s : () => s : null, v = n || h != null && (Fe(h) || Ct(h)), b = oc(e, u);
|
|
2452
2452
|
f && X1(u);
|
|
2453
2453
|
let [m, g, w] = p ? [
|
|
2454
2454
|
s,
|
|
@@ -2834,9 +2834,9 @@ var pw = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
2834
2834
|
};
|
|
2835
2835
|
function yl(e = {}) {
|
|
2836
2836
|
const { __root: t, __injectWithOption: n } = e, a = t === void 0, r = e.flatJson, o = na ? U : ta;
|
|
2837
|
-
let i =
|
|
2837
|
+
let i = ut(e.inheritLocale) ? e.inheritLocale : !0;
|
|
2838
2838
|
const l = o(t && i ? t.locale.value : Fe(e.locale) ? e.locale : ri), s = o(t && i ? t.fallbackLocale.value : Fe(e.fallbackLocale) || At(e.fallbackLocale) || rt(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value), u = o(lc(l.value, e)), d = o(rt(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), c = o(rt(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
|
|
2839
|
-
let f = t ? t.missingWarn :
|
|
2839
|
+
let f = t ? t.missingWarn : ut(e.missingWarn) || oo(e.missingWarn) ? e.missingWarn : !0, p = t ? t.fallbackWarn : ut(e.fallbackWarn) || oo(e.fallbackWarn) ? e.fallbackWarn : !0, h = t ? t.fallbackRoot : ut(e.fallbackRoot) ? e.fallbackRoot : !0, v = !!e.fallbackFormat, b = Ct(e.missing) ? e.missing : null, m = Ct(e.missing) ? Vf(e.missing) : null, g = Ct(e.postTranslation) ? e.postTranslation : null, w = t ? t.warnHtmlMessage : ut(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, $ = !!e.escapeParameter;
|
|
2840
2840
|
const C = t ? t.modifiers : rt(e.modifiers) ? e.modifiers : {};
|
|
2841
2841
|
let x = e.pluralRules || t && t.pluralRules, k;
|
|
2842
2842
|
k = (() => {
|
|
@@ -2942,7 +2942,7 @@ function yl(e = {}) {
|
|
|
2942
2942
|
return ne((Ae) => Reflect.apply(Lf, null, [Ae, ..._e]), () => Gu(..._e), "number format", (Ae) => Reflect.apply(Ae.n, Ae, [..._e]), () => "", (Ae) => Fe(Ae) || At(Ae));
|
|
2943
2943
|
}
|
|
2944
2944
|
function Y(_e) {
|
|
2945
|
-
return _e.map((Ae) => Fe(Ae) || Bt(Ae) ||
|
|
2945
|
+
return _e.map((Ae) => Fe(Ae) || Bt(Ae) || ut(Ae) ? Of(String(Ae)) : Ae);
|
|
2946
2946
|
}
|
|
2947
2947
|
const J = {
|
|
2948
2948
|
normalize: Y,
|
|
@@ -2980,7 +2980,7 @@ function yl(e = {}) {
|
|
|
2980
2980
|
if (xt === null && (xt = Nt[_e]), jn(xt) || Fn(xt) || Fe(xt)) return !0;
|
|
2981
2981
|
}
|
|
2982
2982
|
return !1;
|
|
2983
|
-
}, () => [_e], "translate exists", (Ve) => Reflect.apply(Ve.te, Ve, [_e, Ae]), fw, (Ve) =>
|
|
2983
|
+
}, () => [_e], "translate exists", (Ve) => Reflect.apply(Ve.te, Ve, [_e, Ae]), fw, (Ve) => ut(Ve));
|
|
2984
2984
|
}
|
|
2985
2985
|
function De(_e) {
|
|
2986
2986
|
let Ae = null;
|
|
@@ -3355,11 +3355,11 @@ function kw(e, t) {
|
|
|
3355
3355
|
const n = Dg(e.nodeId, t);
|
|
3356
3356
|
if (n) {
|
|
3357
3357
|
const [a] = e.path;
|
|
3358
|
-
a === "locale" && Fe(e.state.value) ? n.locale.value = e.state.value : a === "fallbackLocale" && (Fe(e.state.value) || At(e.state.value) || ot(e.state.value)) ? n.fallbackLocale.value = e.state.value : a === "inheritLocale" &&
|
|
3358
|
+
a === "locale" && Fe(e.state.value) ? n.locale.value = e.state.value : a === "fallbackLocale" && (Fe(e.state.value) || At(e.state.value) || ot(e.state.value)) ? n.fallbackLocale.value = e.state.value : a === "inheritLocale" && ut(e.state.value) && (n.inheritLocale = e.state.value);
|
|
3359
3359
|
}
|
|
3360
3360
|
}
|
|
3361
3361
|
function xw(e) {
|
|
3362
|
-
const t = Fe(e.locale) ? e.locale : ri, n = Fe(e.fallbackLocale) || At(e.fallbackLocale) || rt(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a = Ct(e.missing) ? e.missing : void 0, r =
|
|
3362
|
+
const t = Fe(e.locale) ? e.locale : ri, n = Fe(e.fallbackLocale) || At(e.fallbackLocale) || rt(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a = Ct(e.missing) ? e.missing : void 0, r = ut(e.silentTranslationWarn) || oo(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = ut(e.silentFallbackWarn) || oo(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, i = ut(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, s = rt(e.modifiers) ? e.modifiers : {}, u = e.pluralizationRules, d = Ct(e.postTranslation) ? e.postTranslation : void 0, c = Fe(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, f = !!e.escapeParameterHtml, p = ut(e.sync) ? e.sync : !0;
|
|
3363
3363
|
let h = e.messages;
|
|
3364
3364
|
if (rt(e.sharedMessages)) {
|
|
3365
3365
|
const C = e.sharedMessages;
|
|
@@ -3424,16 +3424,16 @@ function ed(e = {}) {
|
|
|
3424
3424
|
t.setMissingHandler(r);
|
|
3425
3425
|
},
|
|
3426
3426
|
get silentTranslationWarn() {
|
|
3427
|
-
return
|
|
3427
|
+
return ut(t.missingWarn) ? !t.missingWarn : t.missingWarn;
|
|
3428
3428
|
},
|
|
3429
3429
|
set silentTranslationWarn(r) {
|
|
3430
|
-
t.missingWarn =
|
|
3430
|
+
t.missingWarn = ut(r) ? !r : r;
|
|
3431
3431
|
},
|
|
3432
3432
|
get silentFallbackWarn() {
|
|
3433
|
-
return
|
|
3433
|
+
return ut(t.fallbackWarn) ? !t.fallbackWarn : t.fallbackWarn;
|
|
3434
3434
|
},
|
|
3435
3435
|
set silentFallbackWarn(r) {
|
|
3436
|
-
t.fallbackWarn =
|
|
3436
|
+
t.fallbackWarn = ut(r) ? !r : r;
|
|
3437
3437
|
},
|
|
3438
3438
|
get modifiers() {
|
|
3439
3439
|
return t.modifiers;
|
|
@@ -3723,13 +3723,13 @@ function qf(e) {
|
|
|
3723
3723
|
}
|
|
3724
3724
|
function Pw(e, t, ...n) {
|
|
3725
3725
|
const a = rt(n[0]) ? n[0] : {};
|
|
3726
|
-
(!
|
|
3726
|
+
(!ut(a.globalInstall) || a.globalInstall) && ([Uf.name, "I18nT"].forEach((r) => e.component(r, Uf)), [Wf.name, "I18nN"].forEach((r) => e.component(r, Wf)), [Xf.name, "I18nD"].forEach((r) => e.component(r, Xf))), e.directive("t", Lw(t));
|
|
3727
3727
|
}
|
|
3728
3728
|
var Iw = /* @__PURE__ */ ia("global-vue-i18n");
|
|
3729
3729
|
function Nw(e = {}) {
|
|
3730
|
-
const t = __VUE_I18N_LEGACY_API__ &&
|
|
3730
|
+
const t = __VUE_I18N_LEGACY_API__ && ut(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
|
|
3731
3731
|
process.env.NODE_ENV !== "production" && t && Qd(lo(Vn.DEPRECATE_LEGACY_MODE));
|
|
3732
|
-
const n =
|
|
3732
|
+
const n = ut(e.globalInjection) ? e.globalInjection : !0, a = /* @__PURE__ */ new Map(), [r, o] = Ow(e, t), i = /* @__PURE__ */ ia(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
3733
3733
|
function l(c) {
|
|
3734
3734
|
return a.get(c) || null;
|
|
3735
3735
|
}
|
|
@@ -6085,20 +6085,20 @@ function Ig(e, t) {
|
|
|
6085
6085
|
}
|
|
6086
6086
|
var i3 = {
|
|
6087
6087
|
key: 0,
|
|
6088
|
-
class: "
|
|
6088
|
+
class: "opacity-7 txt-075rem m-0 pb-025"
|
|
6089
6089
|
}, l3 = {
|
|
6090
6090
|
key: 1,
|
|
6091
|
-
class: "
|
|
6091
|
+
class: "m-0 tabular-nums bold pb-025 txt-1-25rem"
|
|
6092
6092
|
}, s3 = {
|
|
6093
6093
|
key: 1,
|
|
6094
6094
|
class: "bgl-tip__name"
|
|
6095
|
-
}, u3 = { class: "
|
|
6095
|
+
}, u3 = { class: "ms-auto tabular-nums semibold" }, d3 = {
|
|
6096
6096
|
key: 2,
|
|
6097
|
-
class: "
|
|
6098
|
-
}, c3 = { class: "bgl-tip__name" }, f3 = { class: "
|
|
6097
|
+
class: "gap-05 bgl-tip__total flex align-items-center m-0"
|
|
6098
|
+
}, c3 = { class: "bgl-tip__name" }, f3 = { class: "ms-auto tabular-nums semibold" }, p3 = {
|
|
6099
6099
|
key: 3,
|
|
6100
6100
|
class: "bgl-tip__stats flex column"
|
|
6101
|
-
}, h3 = { class: "bgl-tip__name" }, m3 = { class: "
|
|
6101
|
+
}, h3 = { class: "bgl-tip__name" }, m3 = { class: "ms-auto tabular-nums semibold" }, g3 = /* @__PURE__ */ Se({
|
|
6102
6102
|
name: "BglChartTooltip",
|
|
6103
6103
|
__name: "ChartTooltip",
|
|
6104
6104
|
props: {
|
|
@@ -6107,33 +6107,69 @@ var i3 = {
|
|
|
6107
6107
|
rows: { default: () => [] },
|
|
6108
6108
|
total: {},
|
|
6109
6109
|
stats: { default: () => [] },
|
|
6110
|
-
|
|
6110
|
+
prefer: { default: "below" },
|
|
6111
|
+
above: { type: Boolean },
|
|
6112
|
+
below: { type: Boolean }
|
|
6111
6113
|
},
|
|
6112
6114
|
setup(e) {
|
|
6113
|
-
const { $t: t } = Lt();
|
|
6114
|
-
|
|
6115
|
+
const { $t: t } = Lt(), n = e;
|
|
6116
|
+
function a() {
|
|
6117
|
+
return n.above ? "above" : n.below ? "below" : n.prefer;
|
|
6118
|
+
}
|
|
6119
|
+
const r = U(), o = U(a());
|
|
6120
|
+
function i() {
|
|
6121
|
+
const l = r.value, s = a();
|
|
6122
|
+
if (!l || s === "top") {
|
|
6123
|
+
o.value = s;
|
|
6124
|
+
return;
|
|
6125
|
+
}
|
|
6126
|
+
o.value = "below", lt(() => {
|
|
6127
|
+
const u = r.value;
|
|
6128
|
+
u && (o.value = u.getBoundingClientRect().top < window.innerHeight / 2 ? "below" : "above");
|
|
6129
|
+
});
|
|
6130
|
+
}
|
|
6131
|
+
return Le(() => [
|
|
6132
|
+
n.label,
|
|
6133
|
+
n.hero,
|
|
6134
|
+
n.total,
|
|
6135
|
+
n.rows,
|
|
6136
|
+
n.stats,
|
|
6137
|
+
n.prefer,
|
|
6138
|
+
n.above,
|
|
6139
|
+
n.below
|
|
6140
|
+
], i, {
|
|
6141
|
+
immediate: !0,
|
|
6142
|
+
deep: !0
|
|
6143
|
+
}), (l, s) => (_(), S("div", {
|
|
6144
|
+
ref_key: "el",
|
|
6145
|
+
ref: r,
|
|
6146
|
+
class: ae(["bgl-tip absolute top-0 pointer-events-none nowrap z-5 color-white line-height-16", {
|
|
6147
|
+
"bgl-tip--above": o.value === "above",
|
|
6148
|
+
"bgl-tip--below": o.value === "below"
|
|
6149
|
+
}])
|
|
6150
|
+
}, [
|
|
6115
6151
|
e.label ? (_(), S("p", i3, te(e.label), 1)) : z("", !0),
|
|
6116
6152
|
e.hero ? (_(), S("p", l3, te(e.hero), 1)) : z("", !0),
|
|
6117
|
-
(_(!0), S(ve, null, xe(e.rows, (
|
|
6118
|
-
key:
|
|
6119
|
-
class: "
|
|
6153
|
+
(_(!0), S(ve, null, xe(e.rows, (u, d) => (_(), S("p", {
|
|
6154
|
+
key: d,
|
|
6155
|
+
class: "gap-05 flex align-items-center m-0"
|
|
6120
6156
|
}, [
|
|
6121
|
-
|
|
6157
|
+
u.color ? (_(), S("span", {
|
|
6122
6158
|
key: 0,
|
|
6123
6159
|
class: "bgl-tip__dot flex-shrink-0",
|
|
6124
|
-
style: be({ background:
|
|
6160
|
+
style: be({ background: u.color })
|
|
6125
6161
|
}, null, 4)) : z("", !0),
|
|
6126
|
-
e.rows.length > 1 ? (_(), S("span", s3, te(
|
|
6127
|
-
M("span", u3, te(
|
|
6162
|
+
e.rows.length > 1 ? (_(), S("span", s3, te(u.name), 1)) : z("", !0),
|
|
6163
|
+
M("span", u3, te(u.value), 1)
|
|
6128
6164
|
]))), 128)),
|
|
6129
6165
|
e.total ? (_(), S("p", d3, [M("span", c3, te(y(t)("charts.total")), 1), M("span", f3, te(e.total), 1)])) : z("", !0),
|
|
6130
|
-
e.stats.length ? (_(), S("div", p3, [(_(!0), S(ve, null, xe(e.stats, (
|
|
6131
|
-
key:
|
|
6132
|
-
class: "
|
|
6133
|
-
}, [M("span", h3, te(
|
|
6166
|
+
e.stats.length ? (_(), S("div", p3, [(_(!0), S(ve, null, xe(e.stats, (u, d) => (_(), S("p", {
|
|
6167
|
+
key: d,
|
|
6168
|
+
class: "gap-05 flex align-items-center m-0 space-between"
|
|
6169
|
+
}, [M("span", h3, te(u.label), 1), M("span", m3, te(u.value), 1)]))), 128))])) : z("", !0)
|
|
6134
6170
|
], 2));
|
|
6135
6171
|
}
|
|
6136
|
-
}), cs = /* @__PURE__ */ Oe(g3, [["__scopeId", "data-v-
|
|
6172
|
+
}), cs = /* @__PURE__ */ Oe(g3, [["__scopeId", "data-v-38c8997b"]]), v3 = ["width", "height"], b3 = { key: 0 }, y3 = ["id", "y2"], _3 = ["stop-color", "stop-opacity"], w3 = ["stop-color", "stop-opacity"], $3 = ["transform"], S3 = {
|
|
6137
6173
|
key: 0,
|
|
6138
6174
|
class: "bgl-chart__grid"
|
|
6139
6175
|
}, C3 = [
|
|
@@ -6360,6 +6396,7 @@ var i3 = {
|
|
|
6360
6396
|
}, null, 8, P3))), 128))])) : z("", !0)
|
|
6361
6397
|
], 8, $3)], 8, v3)) : z("", !0), E.value != null ? (_(), re(cs, {
|
|
6362
6398
|
key: 1,
|
|
6399
|
+
prefer: "top",
|
|
6363
6400
|
style: be(P.value),
|
|
6364
6401
|
label: pe.value,
|
|
6365
6402
|
rows: ne.value,
|
|
@@ -6371,7 +6408,7 @@ var i3 = {
|
|
|
6371
6408
|
"total"
|
|
6372
6409
|
])) : z("", !0)], 36));
|
|
6373
6410
|
}
|
|
6374
|
-
}), MH = /* @__PURE__ */ Oe(I3, [["__scopeId", "data-v-
|
|
6411
|
+
}), MH = /* @__PURE__ */ Oe(I3, [["__scopeId", "data-v-1df4279d"]]), N3 = { class: "bgl-chart-scroll w-100p overflow-x" }, O3 = ["width", "height"], R3 = { key: 0 }, B3 = ["id"], F3 = ["stop-color"], V3 = ["stop-color"], z3 = ["transform"], H3 = {
|
|
6375
6412
|
key: 0,
|
|
6376
6413
|
class: "bgl-chart__grid"
|
|
6377
6414
|
}, U3 = [
|
|
@@ -6525,6 +6562,7 @@ var i3 = {
|
|
|
6525
6562
|
}, te(y(wl)(ne)), 9, G3)), [[rs, pe % x.value === 0]])), 128))])
|
|
6526
6563
|
], 8, z3)], 8, O3)) : z("", !0), O.value != null ? (_(), re(cs, {
|
|
6527
6564
|
key: 1,
|
|
6565
|
+
prefer: "top",
|
|
6528
6566
|
style: be(I.value),
|
|
6529
6567
|
label: E.value,
|
|
6530
6568
|
rows: H.value,
|
|
@@ -6536,7 +6574,7 @@ var i3 = {
|
|
|
6536
6574
|
"total"
|
|
6537
6575
|
])) : z("", !0)], 36)]));
|
|
6538
6576
|
}
|
|
6539
|
-
}), LH = /* @__PURE__ */ Oe(Y3, [["__scopeId", "data-v-
|
|
6577
|
+
}), LH = /* @__PURE__ */ Oe(Y3, [["__scopeId", "data-v-21372cf5"]]), X3 = [
|
|
6540
6578
|
"width",
|
|
6541
6579
|
"height",
|
|
6542
6580
|
"viewBox"
|
|
@@ -6711,7 +6749,7 @@ var i3 = {
|
|
|
6711
6749
|
!e.pie && (c.value || e.centerLabel) ? (_(), S("div", tC, [c.value ? (_(), S("span", nC, te(c.value), 1)) : z("", !0), e.centerLabel ? (_(), S("span", aC, te(e.centerLabel), 1)) : z("", !0)])) : z("", !0),
|
|
6712
6750
|
g.value ? (_(), re(cs, {
|
|
6713
6751
|
key: 1,
|
|
6714
|
-
|
|
6752
|
+
prefer: "above",
|
|
6715
6753
|
style: be(C.value),
|
|
6716
6754
|
label: g.value.label,
|
|
6717
6755
|
hero: w.value,
|
|
@@ -6735,7 +6773,7 @@ var i3 = {
|
|
|
6735
6773
|
e.legendPct ? (_(), S("span", lC, te(T.pct.toFixed(0)) + "%", 1)) : z("", !0)
|
|
6736
6774
|
]))), 128))])) : z("", !0)], 2));
|
|
6737
6775
|
}
|
|
6738
|
-
}), PH = /* @__PURE__ */ Oe(sC, [["__scopeId", "data-v-
|
|
6776
|
+
}), PH = /* @__PURE__ */ Oe(sC, [["__scopeId", "data-v-47e2d1bb"]]), uC = ["viewBox"], dC = { key: 0 }, cC = [
|
|
6739
6777
|
"id",
|
|
6740
6778
|
"x2",
|
|
6741
6779
|
"y2"
|
|
@@ -6743,7 +6781,7 @@ var i3 = {
|
|
|
6743
6781
|
"d",
|
|
6744
6782
|
"fill",
|
|
6745
6783
|
"onMouseenter"
|
|
6746
|
-
], mC = ["d", "fill"], gC = ["d", "onMouseenter"], vC = { class: "bgl-funnel__axis" }, bC = ["title"], yC = { class: "bgl-funnel__val txt24" }, _C = {
|
|
6784
|
+
], mC = ["d", "fill"], gC = ["d", "onMouseenter"], vC = { class: "bgl-funnel__axis" }, bC = ["title"], yC = { class: "bgl-funnel__val txt24 bold" }, _C = {
|
|
6747
6785
|
key: 1,
|
|
6748
6786
|
class: "bgl-funnel__legend flex flex-wrap justify-content-center"
|
|
6749
6787
|
}, wC = ["title"], $C = { class: "bgl-funnel__bar-wrap flex justify-content-center" }, SC = { class: "bgl-funnel__val semibold" }, Ni = 100, CC = 1, EC = /* @__PURE__ */ Se({
|
|
@@ -6946,7 +6984,7 @@ var i3 = {
|
|
|
6946
6984
|
}, null, 42, hC))), 128))], 12, uC)),
|
|
6947
6985
|
R.value ? (_(), re(cs, {
|
|
6948
6986
|
key: 0,
|
|
6949
|
-
|
|
6987
|
+
prefer: "above",
|
|
6950
6988
|
style: be(N.value),
|
|
6951
6989
|
label: R.value.label,
|
|
6952
6990
|
hero: i.value ? void 0 : R.value.display,
|
|
@@ -6966,7 +7004,7 @@ var i3 = {
|
|
|
6966
7004
|
class: "bgl-funnel__tick p-05",
|
|
6967
7005
|
style: be(d.value ? { flex: "1 1 0" } : { height: `${e.bandHeight}px` })
|
|
6968
7006
|
}, [M("span", {
|
|
6969
|
-
class: "bgl-funnel__name ellipsis-1 txt12 light",
|
|
7007
|
+
class: "bgl-funnel__name ellipsis-1 txt12 light opacity-6",
|
|
6970
7008
|
title: F.label
|
|
6971
7009
|
}, te(F.label), 9, bC), M("span", yC, te(F.display), 1)], 4))), 128))])
|
|
6972
7010
|
], 32)) : z("", !0),
|
|
@@ -6996,7 +7034,7 @@ var i3 = {
|
|
|
6996
7034
|
], 2);
|
|
6997
7035
|
};
|
|
6998
7036
|
}
|
|
6999
|
-
}), IH = /* @__PURE__ */ Oe(EC, [["__scopeId", "data-v-
|
|
7037
|
+
}), IH = /* @__PURE__ */ Oe(EC, [["__scopeId", "data-v-41101c97"]]), kC = [
|
|
7000
7038
|
"width",
|
|
7001
7039
|
"height",
|
|
7002
7040
|
"viewBox"
|
|
@@ -12257,14 +12295,14 @@ function IE(e, t, n = {}) {
|
|
|
12257
12295
|
return Le(e, fc(a, t), r);
|
|
12258
12296
|
}
|
|
12259
12297
|
function NE(e, t = !0, n) {
|
|
12260
|
-
PE(n) ? Xe(e, n) : t ? e() :
|
|
12298
|
+
PE(n) ? Xe(e, n) : t ? e() : lt(e);
|
|
12261
12299
|
}
|
|
12262
12300
|
function td(e, t = !1) {
|
|
12263
12301
|
function n(c, { flush: f = "sync", deep: p = !1, timeout: h, throwOnTimeout: v } = {}) {
|
|
12264
12302
|
let b = null;
|
|
12265
12303
|
const m = [new Promise((g) => {
|
|
12266
12304
|
b = Le(e, (w) => {
|
|
12267
|
-
c(w) !== t && (b ? b() :
|
|
12305
|
+
c(w) !== t && (b ? b() : lt(() => b?.()), g(w));
|
|
12268
12306
|
}, {
|
|
12269
12307
|
flush: f,
|
|
12270
12308
|
deep: p,
|
|
@@ -12279,7 +12317,7 @@ function td(e, t = !1) {
|
|
|
12279
12317
|
let m = null;
|
|
12280
12318
|
const g = [new Promise((w) => {
|
|
12281
12319
|
m = Le([e, c], ([$, C]) => {
|
|
12282
|
-
t !== ($ === C) && (m ? m() :
|
|
12320
|
+
t !== ($ === C) && (m ? m() : lt(() => m?.()), w($));
|
|
12283
12321
|
}, {
|
|
12284
12322
|
flush: p,
|
|
12285
12323
|
deep: h,
|
|
@@ -13014,11 +13052,11 @@ var XE = ["src"], KE = [
|
|
|
13014
13052
|
}
|
|
13015
13053
|
return Le(() => n.startDate, (v, b) => {
|
|
13016
13054
|
const m = !b || p(v) >= p(b) ? "forward" : "backward";
|
|
13017
|
-
|
|
13055
|
+
lt(() => h(v, "smooth", m));
|
|
13018
13056
|
}), Ym(() => {
|
|
13019
13057
|
if (d.value || !u.value.length) return;
|
|
13020
13058
|
const v = (/* @__PURE__ */ new Date()).getTime();
|
|
13021
|
-
u.value.some((b) => b.date.getTime() >= v - 864e5) && (d.value = !0,
|
|
13059
|
+
u.value.some((b) => b.date.getTime() >= v - 864e5) && (d.value = !0, lt(() => h(/* @__PURE__ */ new Date(), "instant", "nearest")));
|
|
13022
13060
|
}), Xe(() => {
|
|
13023
13061
|
i.value?.addEventListener("scroll", c);
|
|
13024
13062
|
}), zt(() => {
|
|
@@ -13584,7 +13622,7 @@ var XE = ["src"], KE = [
|
|
|
13584
13622
|
R.value && (R.value.scrollTop = ee * Gt);
|
|
13585
13623
|
}
|
|
13586
13624
|
return Xe(() => {
|
|
13587
|
-
W(), $.value = setInterval(W, 6e4),
|
|
13625
|
+
W(), $.value = setInterval(W, 6e4), lt(() => {
|
|
13588
13626
|
pe(6);
|
|
13589
13627
|
});
|
|
13590
13628
|
}), zt(() => {
|
|
@@ -14482,12 +14520,12 @@ var cx = { class: "row first-row" }, fx = {
|
|
|
14482
14520
|
}
|
|
14483
14521
|
});
|
|
14484
14522
|
function E() {
|
|
14485
|
-
!O.value || !N.value ||
|
|
14523
|
+
!O.value || !N.value || lt(() => {
|
|
14486
14524
|
N.value && j(N.value);
|
|
14487
14525
|
});
|
|
14488
14526
|
}
|
|
14489
14527
|
Le(() => n.data, E, { deep: !0 }), Le(O, (W) => {
|
|
14490
|
-
W &&
|
|
14528
|
+
W && lt(E);
|
|
14491
14529
|
}), Xe(E);
|
|
14492
14530
|
function H(W, ie) {
|
|
14493
14531
|
const { renderField: ne } = Xg({
|
|
@@ -14595,7 +14633,7 @@ var cx = { class: "row first-row" }, fx = {
|
|
|
14595
14633
|
},
|
|
14596
14634
|
onEnd: (i) => {
|
|
14597
14635
|
const l = [...n.modelValue], [s] = l.splice(i.oldIndex, 1);
|
|
14598
|
-
l.splice(i.newIndex, 0, s), a("update:modelValue", l), a("end", i),
|
|
14636
|
+
l.splice(i.newIndex, 0, s), a("update:modelValue", l), a("end", i), lt(() => {
|
|
14599
14637
|
r.value && o(r.value);
|
|
14600
14638
|
});
|
|
14601
14639
|
}
|
|
@@ -15592,7 +15630,7 @@ var rT = {
|
|
|
15592
15630
|
return !!s.value?.matches(":popover-open");
|
|
15593
15631
|
}
|
|
15594
15632
|
async function T() {
|
|
15595
|
-
if (r.disabled || k() || (c.value = l.value?.closest("dialog[open]") ?? "body", r.showGroup && C.has(r.showGroup) && C.get(r.showGroup).forEach((Ee) => Ee()), await
|
|
15633
|
+
if (r.disabled || k() || (c.value = l.value?.closest("dialog[open]") ?? "body", r.showGroup && C.has(r.showGroup) && C.get(r.showGroup).forEach((Ee) => Ee()), await lt(), !s.value)) return;
|
|
15596
15634
|
s.value.dataset.bglId = d;
|
|
15597
15635
|
const le = l.value?.closest("[data-bgl-id]");
|
|
15598
15636
|
le?.dataset.bglId ? s.value.dataset.bglOwner = le.dataset.bglId : delete s.value.dataset.bglOwner, s.value.style.opacity = "0", s.value.showPopover(), await x(), s.value.style.opacity = "", u && (j(), u = !1);
|
|
@@ -15645,7 +15683,7 @@ var rT = {
|
|
|
15645
15683
|
le && !k() ? T() : !le && k() && R();
|
|
15646
15684
|
});
|
|
15647
15685
|
function I(le) {
|
|
15648
|
-
le.newState === "open" ? (i.value = !0,
|
|
15686
|
+
le.newState === "open" ? (i.value = !0, lt(x), o("show")) : (i.value = !1, o("hide"));
|
|
15649
15687
|
}
|
|
15650
15688
|
function W(le) {
|
|
15651
15689
|
if (!r.autoHide || !k()) return;
|
|
@@ -18911,7 +18949,7 @@ var t8 = ["title"], n8 = ["for"], a8 = {
|
|
|
18911
18949
|
default:
|
|
18912
18950
|
k = "";
|
|
18913
18951
|
}
|
|
18914
|
-
d.value = $ + k + C,
|
|
18952
|
+
d.value = $ + k + C, lt(() => {
|
|
18915
18953
|
if (b) {
|
|
18916
18954
|
const T = $.length + k.length;
|
|
18917
18955
|
b.setSelectionRange(T, T), b.focus();
|
|
@@ -19106,7 +19144,7 @@ var t8 = ["title"], n8 = ["for"], a8 = {
|
|
|
19106
19144
|
o.value = Number.parseFloat($), m.value = b(o.value), r("update:modelValue", o.value);
|
|
19107
19145
|
}
|
|
19108
19146
|
Le(() => o.value, () => {
|
|
19109
|
-
|
|
19147
|
+
lt(() => {
|
|
19110
19148
|
m.value.endsWith(".") || l.test(m.value) || (m.value = o.value !== void 0 ? b(o.value) : "");
|
|
19111
19149
|
});
|
|
19112
19150
|
}), Le(() => e.modelValue, ($) => {
|
|
@@ -21410,12 +21448,12 @@ var K5 = ["aria-labelledby"], J5 = ["id"], Z5 = { key: 0 }, Q5 = ["for"], eA = [
|
|
|
21410
21448
|
g.style.height = `${g.scrollHeight + 1}px`;
|
|
21411
21449
|
}
|
|
21412
21450
|
function p() {
|
|
21413
|
-
a.disabled || (r("update:modelValue", s.value), c(), a.autoheight &&
|
|
21451
|
+
a.disabled || (r("update:modelValue", s.value), c(), a.autoheight && lt(() => {
|
|
21414
21452
|
f();
|
|
21415
21453
|
}));
|
|
21416
21454
|
}
|
|
21417
21455
|
Le(() => a.modelValue, (m) => {
|
|
21418
|
-
m !== s.value && (s.value = m, a.autoheight &&
|
|
21456
|
+
m !== s.value && (s.value = m, a.autoheight && lt(() => {
|
|
21419
21457
|
f();
|
|
21420
21458
|
}));
|
|
21421
21459
|
}, { immediate: !0 }), t({
|
|
@@ -21424,7 +21462,7 @@ var K5 = ["aria-labelledby"], J5 = ["id"], Z5 = { key: 0 }, Q5 = ["for"], eA = [
|
|
|
21424
21462
|
});
|
|
21425
21463
|
const b = A(() => String(s.value ?? "").length > 0);
|
|
21426
21464
|
return Xe(async () => {
|
|
21427
|
-
a.autofocus && setTimeout(() => u.value?.focus(), 50), a.autoheight && (await
|
|
21465
|
+
a.autofocus && setTimeout(() => u.value?.focus(), 50), a.autoheight && (await lt(), f());
|
|
21428
21466
|
}), (m, g) => (_(), S("div", {
|
|
21429
21467
|
class: ae(["bagel-input text-input", [y(o), {
|
|
21430
21468
|
dense: e.dense,
|
|
@@ -28938,7 +28976,7 @@ var Wa = Ra(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ki = Ra(/E
|
|
|
28938
28976
|
function pt(e, t, n) {
|
|
28939
28977
|
e.addEventListener(t, n, !Wa && t0);
|
|
28940
28978
|
}
|
|
28941
|
-
function
|
|
28979
|
+
function st(e, t, n) {
|
|
28942
28980
|
e.removeEventListener(t, n, !Wa && t0);
|
|
28943
28981
|
}
|
|
28944
28982
|
function Nl(e, t) {
|
|
@@ -29472,7 +29510,7 @@ Ge.prototype = /** @lends Sortable.prototype */
|
|
|
29472
29510
|
},
|
|
29473
29511
|
_disableDelayedDragEvents: function() {
|
|
29474
29512
|
var t = this.el.ownerDocument;
|
|
29475
|
-
|
|
29513
|
+
st(t, "mouseup", this._disableDelayedDrag), st(t, "touchend", this._disableDelayedDrag), st(t, "touchcancel", this._disableDelayedDrag), st(t, "mousemove", this._delayedDragTouchMoveHandler), st(t, "touchmove", this._delayedDragTouchMoveHandler), st(t, "pointermove", this._delayedDragTouchMoveHandler);
|
|
29476
29514
|
},
|
|
29477
29515
|
_triggerDragStart: function(t, n) {
|
|
29478
29516
|
n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ? pt(document, "pointermove", this._onTouchMove) : n ? pt(document, "touchmove", this._onTouchMove) : pt(document, "mousemove", this._onTouchMove) : (pt(Ne, "dragend", this), pt(Tt, "dragstart", this._onDragStart));
|
|
@@ -29557,7 +29595,7 @@ Ge.prototype = /** @lends Sortable.prototype */
|
|
|
29557
29595
|
sortable: a,
|
|
29558
29596
|
name: "clone"
|
|
29559
29597
|
}));
|
|
29560
|
-
}), !n && En(Ne, o.dragClass, !0), n ? (Ol = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (
|
|
29598
|
+
}), !n && En(Ne, o.dragClass, !0), n ? (Ol = !0, a._loopId = setInterval(a._emulateDragOver, 50)) : (st(document, "mouseup", a._onDrop), st(document, "touchend", a._onDrop), st(document, "touchcancel", a._onDrop), r && (r.effectAllowed = "move", o.setData && o.setData.call(a, r, Ne)), pt(document, "drop", a), qe(Ne, "transform", "translateZ(0)")), jr = !0, a._dragStartId = ul(a._dragStarted.bind(a, n, t)), pt(document, "selectstart", a), zo = !0, Go && qe(document.body, "user-select", "none");
|
|
29561
29599
|
},
|
|
29562
29600
|
_onDragOver: function(t) {
|
|
29563
29601
|
var n = this.el, a = t.target, r, o, i, l = this.options, s = l.group, u = Ge.active, d = Fi === s, c = l.sort, f = Kt || u, p, h = this, v = !1;
|
|
@@ -29639,11 +29677,11 @@ Ge.prototype = /** @lends Sortable.prototype */
|
|
|
29639
29677
|
},
|
|
29640
29678
|
_ignoreWhileAnimating: null,
|
|
29641
29679
|
_offMoveEvents: function() {
|
|
29642
|
-
|
|
29680
|
+
st(document, "mousemove", this._onTouchMove), st(document, "touchmove", this._onTouchMove), st(document, "pointermove", this._onTouchMove), st(document, "dragover", cr), st(document, "mousemove", cr), st(document, "touchmove", cr);
|
|
29643
29681
|
},
|
|
29644
29682
|
_offUpEvents: function() {
|
|
29645
29683
|
var t = this.el.ownerDocument;
|
|
29646
|
-
|
|
29684
|
+
st(t, "mouseup", this._onDrop), st(t, "touchend", this._onDrop), st(t, "pointerup", this._onDrop), st(t, "touchcancel", this._onDrop), st(document, "selectstart", this);
|
|
29647
29685
|
},
|
|
29648
29686
|
_onDrop: function(t) {
|
|
29649
29687
|
var n = this.el, a = this.options;
|
|
@@ -29651,7 +29689,7 @@ Ge.prototype = /** @lends Sortable.prototype */
|
|
|
29651
29689
|
this._nulling();
|
|
29652
29690
|
return;
|
|
29653
29691
|
}
|
|
29654
|
-
jr = !1, Vi = !1, Jo = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), bd(this.cloneId), bd(this._dragStartId), this.nativeDraggable && (
|
|
29692
|
+
jr = !1, Vi = !1, Jo = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), bd(this.cloneId), bd(this._dragStartId), this.nativeDraggable && (st(document, "drop", this), st(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Go && qe(document.body, "user-select", ""), qe(Ne, "transform", ""), t && (zo && (t.cancelable && t.preventDefault(), !a.dropBubble && t.stopPropagation()), Je && Je.parentNode && Je.parentNode.removeChild(Je), (Tt === Dt || Kt && Kt.lastPutMode !== "clone") && Mt && Mt.parentNode && Mt.parentNode.removeChild(Mt), Ne && (this.nativeDraggable && st(Ne, "dragend", this), pu(Ne), Ne.style["will-change"] = "", zo && !jr && En(Ne, Kt ? Kt.options.ghostClass : this.options.ghostClass, !1), En(Ne, this.options.chosenClass, !1), sn({
|
|
29655
29693
|
sortable: this,
|
|
29656
29694
|
name: "unchoose",
|
|
29657
29695
|
toEl: Dt,
|
|
@@ -29747,7 +29785,7 @@ Ge.prototype = /** @lends Sortable.prototype */
|
|
|
29747
29785
|
destroy: function() {
|
|
29748
29786
|
gn("destroy", this);
|
|
29749
29787
|
var t = this.el;
|
|
29750
|
-
t[Ln] = null,
|
|
29788
|
+
t[Ln] = null, st(t, "mousedown", this._onTapStart), st(t, "touchstart", this._onTapStart), st(t, "pointerdown", this._onTapStart), this.nativeDraggable && (st(t, "dragover", this), st(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(n) {
|
|
29751
29789
|
n.removeAttribute("draggable");
|
|
29752
29790
|
}), this._onDrop(), this._disableDelayedDragEvents(), Rl.splice(Rl.indexOf(this.el), 1), this.el = t = null;
|
|
29753
29791
|
},
|
|
@@ -29828,7 +29866,7 @@ Cs && pt(document, "touchmove", function(e) {
|
|
|
29828
29866
|
});
|
|
29829
29867
|
Ge.utils = {
|
|
29830
29868
|
on: pt,
|
|
29831
|
-
off:
|
|
29869
|
+
off: st,
|
|
29832
29870
|
css: qe,
|
|
29833
29871
|
find: n0,
|
|
29834
29872
|
is: function(t, n) {
|
|
@@ -29881,7 +29919,7 @@ function tL() {
|
|
|
29881
29919
|
!this.options.dragOverBubble && !a.rootEl && this._handleAutoScroll(a);
|
|
29882
29920
|
},
|
|
29883
29921
|
drop: function() {
|
|
29884
|
-
this.sortable.nativeDraggable ?
|
|
29922
|
+
this.sortable.nativeDraggable ? st(document, "dragover", this._handleAutoScroll) : (st(document, "pointermove", this._handleFallbackAutoScroll), st(document, "touchmove", this._handleFallbackAutoScroll), st(document, "mousemove", this._handleFallbackAutoScroll)), th(), dl(), RM();
|
|
29885
29923
|
},
|
|
29886
29924
|
nulling: function() {
|
|
29887
29925
|
Fl = yd = Ho = _d = Uo = hu = mu = null, Rt.length = 0;
|
|
@@ -30080,7 +30118,7 @@ var wd = [
|
|
|
30080
30118
|
return f?.proxy?.$el.children || [];
|
|
30081
30119
|
}
|
|
30082
30120
|
async function b() {
|
|
30083
|
-
await
|
|
30121
|
+
await lt(), s.value = aL(v(), f?.proxy?.$el.children || [], r.value, l.value);
|
|
30084
30122
|
}
|
|
30085
30123
|
function m(P) {
|
|
30086
30124
|
const X = nL(v() || [], P);
|
|
@@ -30090,7 +30128,7 @@ var wd = [
|
|
|
30090
30128
|
};
|
|
30091
30129
|
}
|
|
30092
30130
|
function g(P) {
|
|
30093
|
-
|
|
30131
|
+
lt(() => t("change", P));
|
|
30094
30132
|
}
|
|
30095
30133
|
function w(P) {
|
|
30096
30134
|
if (e.list) {
|
|
@@ -30192,7 +30230,7 @@ var wd = [
|
|
|
30192
30230
|
V && (d.value = new Ge(V, Y), V.__draggable_component__ = f?.proxy, b());
|
|
30193
30231
|
};
|
|
30194
30232
|
function W(P, X) {
|
|
30195
|
-
|
|
30233
|
+
lt(() => t(P.toLowerCase(), X));
|
|
30196
30234
|
}
|
|
30197
30235
|
function ie(P) {
|
|
30198
30236
|
return (X) => {
|
|
@@ -41071,7 +41109,7 @@ var A7 = { key: 0 }, D7 = /* @__PURE__ */ Se({
|
|
|
41071
41109
|
g > 0 && (p.style.setProperty("--indicator-left", `${m}px`), p.style.setProperty("--indicator-width", `${g}px`), p.style.setProperty("--indicator-opacity", "1"));
|
|
41072
41110
|
}
|
|
41073
41111
|
function u() {
|
|
41074
|
-
|
|
41112
|
+
lt(() => {
|
|
41075
41113
|
const p = o.value;
|
|
41076
41114
|
if (!p) return;
|
|
41077
41115
|
const h = () => {
|
|
@@ -41089,7 +41127,7 @@ var A7 = { key: 0 }, D7 = /* @__PURE__ */ Se({
|
|
|
41089
41127
|
});
|
|
41090
41128
|
}
|
|
41091
41129
|
function d(p) {
|
|
41092
|
-
r.value = typeof p == "string" ? p : p.value, a("update:modelValue", r.value),
|
|
41130
|
+
r.value = typeof p == "string" ? p : p.value, a("update:modelValue", r.value), lt(() => {
|
|
41093
41131
|
u();
|
|
41094
41132
|
});
|
|
41095
41133
|
}
|
|
@@ -41100,7 +41138,7 @@ var A7 = { key: 0 }, D7 = /* @__PURE__ */ Se({
|
|
|
41100
41138
|
return typeof p == "string" ? p : p.label;
|
|
41101
41139
|
}
|
|
41102
41140
|
return Le(() => n.modelValue, (p) => {
|
|
41103
|
-
p && !c(p) && (r.value = p),
|
|
41141
|
+
p && !c(p) && (r.value = p), lt(() => {
|
|
41104
41142
|
u();
|
|
41105
41143
|
});
|
|
41106
41144
|
}, { immediate: !0 }), Xe(() => {
|
|
@@ -41110,7 +41148,7 @@ var A7 = { key: 0 }, D7 = /* @__PURE__ */ Se({
|
|
|
41110
41148
|
u();
|
|
41111
41149
|
}), l.observe(o.value)), typeof window < "u" && window.visualViewport && window.visualViewport.addEventListener("resize", u);
|
|
41112
41150
|
}), Le(() => n.tabs, () => {
|
|
41113
|
-
|
|
41151
|
+
lt(() => {
|
|
41114
41152
|
u();
|
|
41115
41153
|
});
|
|
41116
41154
|
}, { deep: !0 }), tr(() => {
|
|
@@ -41623,7 +41661,7 @@ var tN = /* @__PURE__ */ Oe(K7, [["render", eN]]), nN = ["id"], aN = '<svg width
|
|
|
41623
41661
|
end: Math.min(g + r.value - 1, t.totalItems - 1)
|
|
41624
41662
|
};
|
|
41625
41663
|
}
|
|
41626
|
-
|
|
41664
|
+
lt(() => {
|
|
41627
41665
|
f();
|
|
41628
41666
|
});
|
|
41629
41667
|
}, { immediate: !0 }), Le(() => t.rtl, f);
|
|
@@ -41817,7 +41855,7 @@ var tN = /* @__PURE__ */ Oe(K7, [["render", eN]]), nN = ["id"], aN = '<svg width
|
|
|
41817
41855
|
setup(e) {
|
|
41818
41856
|
const t = U(null), n = _i();
|
|
41819
41857
|
return Le(() => n.fullPath, async () => {
|
|
41820
|
-
await
|
|
41858
|
+
await lt();
|
|
41821
41859
|
const a = t.value?.closest(".pageContent");
|
|
41822
41860
|
a ? a.scrollTop = 0 : window.scrollTo({ top: 0 });
|
|
41823
41861
|
}), (a, r) => {
|
|
@@ -42054,7 +42092,7 @@ function HN(e, t, n, a) {
|
|
|
42054
42092
|
const h = o.value === "desc" ? 1 : -1;
|
|
42055
42093
|
return f < p ? -h : h;
|
|
42056
42094
|
}), u = [...n.value];
|
|
42057
|
-
e.value = s, a(),
|
|
42095
|
+
e.value = s, a(), lt(() => {
|
|
42058
42096
|
n.value = u;
|
|
42059
42097
|
});
|
|
42060
42098
|
}
|
|
@@ -42325,7 +42363,7 @@ var WN = ["value"], jN = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
|
|
|
42325
42363
|
Ie && (De !== void 0 && !p(Ie) || (F.value = {
|
|
42326
42364
|
row: le,
|
|
42327
42365
|
col: Ee
|
|
42328
|
-
}, I.value = o.value[le][Ie]?.toString() ?? "", De !== void 0 && P(le, Ie, De),
|
|
42366
|
+
}, I.value = o.value[le][Ie]?.toString() ?? "", De !== void 0 && P(le, Ie, De), lt(() => {
|
|
42329
42367
|
const $e = W.value.get(`cell-${le}-${Ee}`);
|
|
42330
42368
|
$e && ($e.focus(), De !== void 0 && ($e.value = De));
|
|
42331
42369
|
})));
|
|
@@ -42338,8 +42376,8 @@ var WN = ["value"], jN = { class: "spreadsheet-cell spreadsheetCellPlaceHolder"
|
|
|
42338
42376
|
F.value = null, I.value = null;
|
|
42339
42377
|
}
|
|
42340
42378
|
function ee(le = !1) {
|
|
42341
|
-
|
|
42342
|
-
pe(le),
|
|
42379
|
+
lt(() => {
|
|
42380
|
+
pe(le), lt(() => {
|
|
42343
42381
|
document.querySelector(".spreadsheet")?.focus();
|
|
42344
42382
|
});
|
|
42345
42383
|
});
|
|
@@ -46116,7 +46154,7 @@ var XR = {
|
|
|
46116
46154
|
paginationEl: b.value
|
|
46117
46155
|
}), l.value = !1;
|
|
46118
46156
|
}), wo("swiper", d), Le(i, () => {
|
|
46119
|
-
|
|
46157
|
+
lt(() => {
|
|
46120
46158
|
GR(d.value);
|
|
46121
46159
|
});
|
|
46122
46160
|
}), Xe(() => {
|
|
@@ -49021,12 +49059,12 @@ var XB = {
|
|
|
49021
49059
|
Le(() => a.modelValue, (E) => {
|
|
49022
49060
|
h || (u.value = s(E));
|
|
49023
49061
|
}, { deep: !0 }), Le(u, (E) => {
|
|
49024
|
-
h = !0, r("update:modelValue", E),
|
|
49062
|
+
h = !0, r("update:modelValue", E), lt(() => {
|
|
49025
49063
|
h = !1;
|
|
49026
49064
|
});
|
|
49027
49065
|
}, { deep: !0 });
|
|
49028
49066
|
function v(E) {
|
|
49029
|
-
return E._condition == null ? !0 : zT(E._condition, u.value);
|
|
49067
|
+
return E._hidden ? !1 : E._condition == null ? !0 : zT(E._condition, u.value);
|
|
49030
49068
|
}
|
|
49031
49069
|
function b(E, H) {
|
|
49032
49070
|
if (H._condition == null) return E;
|
|
@@ -49944,6 +49982,8 @@ function CF(e) {
|
|
|
49944
49982
|
mColSpan: ib(l) ?? 12,
|
|
49945
49983
|
class: sb(l) || void 0,
|
|
49946
49984
|
hideLabel: r["x-hide-label"] ?? !1,
|
|
49985
|
+
condition: r["x-ui"]?.condition || void 0,
|
|
49986
|
+
hidden: r["x-ui"]?.hidden || o === "hidden" || void 0,
|
|
49947
49987
|
richTextVariant: r["x-rich-text-variant"],
|
|
49948
49988
|
markdownShowFormatting: r["x-markdown-show-formatting"],
|
|
49949
49989
|
textareaRows: r["x-textarea-rows"],
|
|
@@ -49994,6 +50034,7 @@ function vW(e) {
|
|
|
49994
50034
|
case "file":
|
|
49995
50035
|
case "signature":
|
|
49996
50036
|
case "color":
|
|
50037
|
+
case "hidden":
|
|
49997
50038
|
o.type = "string";
|
|
49998
50039
|
break;
|
|
49999
50040
|
case "number":
|
|
@@ -50023,6 +50064,12 @@ function vW(e) {
|
|
|
50023
50064
|
i && (o["x-ui"] = {
|
|
50024
50065
|
...o["x-ui"],
|
|
50025
50066
|
class: i
|
|
50067
|
+
}), r.condition && (o["x-ui"] = {
|
|
50068
|
+
...o["x-ui"],
|
|
50069
|
+
condition: r.condition
|
|
50070
|
+
}), r.hidden === !0 && (o["x-ui"] = {
|
|
50071
|
+
...o["x-ui"],
|
|
50072
|
+
hidden: !0
|
|
50026
50073
|
}), r.hideLabel === !0 && (o["x-hide-label"] = !0), r.richTextVariant && (o["x-rich-text-variant"] = r.richTextVariant), r.markdownShowFormatting === !0 && (o["x-markdown-show-formatting"] = !0), r.textareaRows !== void 0 && (o["x-textarea-rows"] = r.textareaRows), r.textareaAutoHeight === !0 && (o["x-textarea-autoheight"] = !0), r.numberLayout && r.numberLayout !== "default" && (o["x-number-layout"] = r.numberLayout), r.numberSpinner === !1 && (o["x-number-spinner"] = !1), r.phoneOnlyCountries && (o["x-phone-only-countries"] = r.phoneOnlyCountries), r.selectMultiselect === !0 && (o["x-select-multiselect"] = !0), r.fileMultiple === !0 && (o["x-file-multiple"] = !0), r.fileHeight !== void 0 && (o["x-file-height"] = r.fileHeight), r.fileAccept && (o["x-file-accept"] = r.fileAccept), r.fileTheme && (o["x-file-theme"] = r.fileTheme), r.fileShowIcon === !1 && (o["x-file-show-icon"] = !1), r.fileIcon && (o["x-file-icon"] = r.fileIcon), r.dateEnableTime === !0 && (o["x-date-enable-time"] = !0), r.dateMin && (o["x-date-min"] = r.dateMin), r.dateMax && (o["x-date-max"] = r.dateMax), r.rangeMulti === !0 && (o["x-range-multi"] = !0), r.radioThin === !0 && (o["x-radio-thin"] = !0), r.radioHideRadio === !0 && (o["x-radio-hide-radio"] = !0), r.radioAlign && (o["x-radio-align"] = r.radioAlign), r.textIcon && (o["x-text-icon"] = r.textIcon), r.textIconStart && (o["x-text-icon-start"] = r.textIconStart), t[r.key] = o;
|
|
50027
50074
|
}
|
|
50028
50075
|
const a = {
|
|
@@ -50062,7 +50109,7 @@ function bW(e, t) {
|
|
|
50062
50109
|
function yW(e, t) {
|
|
50063
50110
|
const n = {};
|
|
50064
50111
|
for (const a of e) {
|
|
50065
|
-
if (a.type === "heading" || a.type === "divider") continue;
|
|
50112
|
+
if (a.type === "heading" || a.type === "divider" || a.type === "hidden" || a.hidden === !0) continue;
|
|
50066
50113
|
const r = t[a.key];
|
|
50067
50114
|
if (a.required && (r == null || r === "")) {
|
|
50068
50115
|
n[a.key] = `${a.label} is required`;
|
|
@@ -50105,6 +50152,7 @@ var wt = class {
|
|
|
50105
50152
|
_type;
|
|
50106
50153
|
_config;
|
|
50107
50154
|
_condition;
|
|
50155
|
+
_hidden;
|
|
50108
50156
|
_validations;
|
|
50109
50157
|
_onUpdate;
|
|
50110
50158
|
_class;
|
|
@@ -50116,6 +50164,9 @@ var wt = class {
|
|
|
50116
50164
|
if(e) {
|
|
50117
50165
|
return this._condition = e, this;
|
|
50118
50166
|
}
|
|
50167
|
+
hidden(e = !0) {
|
|
50168
|
+
return this._hidden = e, this;
|
|
50169
|
+
}
|
|
50119
50170
|
validate(e) {
|
|
50120
50171
|
return this._validations || (this._validations = []), this._validations.push(e), this;
|
|
50121
50172
|
}
|
|
@@ -50308,7 +50359,7 @@ var Fd = class db {
|
|
|
50308
50359
|
}
|
|
50309
50360
|
l.min !== void 0 && (u[s === "string" ? "minLength" : "minimum"] = l.min), l.max !== void 0 && (u[s === "string" ? "maxLength" : "maximum"] = l.max), i._type === "email" && (u.format = "email"), i._type === "url" && (u.format = "uri"), i._type === "date" && (u.format = "date"), i._type === "time" && (u.format = "time"), i._type === "datetime" && (u.format = "date-time");
|
|
50310
50361
|
const d = {};
|
|
50311
|
-
i._type !== "text" && (d.fieldType = i._type), l.placeholder && (d.placeholder = l.placeholder), l.disabled && (d.disabled = l.disabled), l.readonly && (d.readonly = l.readonly), l.autoheight && (d.autoheight = l.autoheight), l.rows && (d.rows = l.rows), l.cols && (d.cols = l.cols), i._class && (d.class = i._class), i._condition && (d.condition = i._condition), i._type === "array" && (l.allowAdd !== void 0 && (d.allowAdd = l.allowAdd), l.allowDelete !== void 0 && (d.allowDelete = l.allowDelete)), i._component && (d.component = typeof i._component.component == "string" ? i._component.component : i._component.component.name || "CustomComponent", i._component.props && (d.componentProps = i._component.props)), Object.keys(d).length > 0 && (u["x-ui"] = d), t[o] = u, l.required === !0 && n.push(o);
|
|
50362
|
+
i._type !== "text" && (d.fieldType = i._type), l.placeholder && (d.placeholder = l.placeholder), l.disabled && (d.disabled = l.disabled), l.readonly && (d.readonly = l.readonly), l.autoheight && (d.autoheight = l.autoheight), l.rows && (d.rows = l.rows), l.cols && (d.cols = l.cols), i._class && (d.class = i._class), i._condition && (d.condition = i._condition), i._hidden && (d.hidden = !0), i._type === "array" && (l.allowAdd !== void 0 && (d.allowAdd = l.allowAdd), l.allowDelete !== void 0 && (d.allowDelete = l.allowDelete)), i._component && (d.component = typeof i._component.component == "string" ? i._component.component : i._component.component.name || "CustomComponent", i._component.props && (d.componentProps = i._component.props)), Object.keys(d).length > 0 && (u["x-ui"] = d), t[o] = u, l.required === !0 && n.push(o);
|
|
50312
50363
|
}
|
|
50313
50364
|
const a = {
|
|
50314
50365
|
type: "object",
|
|
@@ -50483,7 +50534,7 @@ function xF(e, t, n, a) {
|
|
|
50483
50534
|
default:
|
|
50484
50535
|
s = Ot.text(l);
|
|
50485
50536
|
}
|
|
50486
|
-
return o.class && s.class(o.class), o.condition && s.if(o.condition), s;
|
|
50537
|
+
return o.class && s.class(o.class), o.condition && s.if(o.condition), o.hidden && s.hidden(), s;
|
|
50487
50538
|
}
|
|
50488
50539
|
function om(e) {
|
|
50489
50540
|
if (e.format) switch (e.format) {
|
|
@@ -50616,7 +50667,7 @@ var TF = { class: "multi-step-form" }, AF = { class: "step-progress" }, DF = ["o
|
|
|
50616
50667
|
schema: j
|
|
50617
50668
|
}))), v = A(() => h.value.findIndex((N) => N.key === u.value)), b = A(() => v.value === 0), m = A(() => v.value === h.value.length - 1), g = A(() => h.value[v.value]?.schema), w = U({});
|
|
50618
50669
|
function $(N) {
|
|
50619
|
-
return N._condition == null ? !0 : f(N._condition, s.value);
|
|
50670
|
+
return N._hidden ? !1 : N._condition == null ? !0 : f(N._condition, s.value);
|
|
50620
50671
|
}
|
|
50621
50672
|
function C(N) {
|
|
50622
50673
|
const j = N.replace(/\[(\d+)\]/g, ".$1");
|
|
@@ -50736,7 +50787,7 @@ var TF = { class: "multi-step-form" }, AF = { class: "step-progress" }, DF = ["o
|
|
|
50736
50787
|
])
|
|
50737
50788
|
]));
|
|
50738
50789
|
}
|
|
50739
|
-
}), EW = /* @__PURE__ */ Oe(FF, [["__scopeId", "data-v-
|
|
50790
|
+
}), EW = /* @__PURE__ */ Oe(FF, [["__scopeId", "data-v-7a55f4bb"]]);
|
|
50740
50791
|
function Wn(e) {
|
|
50741
50792
|
var t;
|
|
50742
50793
|
return ((t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
|
|
@@ -51830,7 +51881,7 @@ var Is = {
|
|
|
51830
51881
|
},
|
|
51831
51882
|
emits: ["notify"],
|
|
51832
51883
|
mounted() {
|
|
51833
|
-
Hd(),
|
|
51884
|
+
Hd(), lt(() => {
|
|
51834
51885
|
this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.emitOnMount && this.emitSize();
|
|
51835
51886
|
});
|
|
51836
51887
|
const e = document.createElement("object");
|
|
@@ -53454,7 +53505,7 @@ function Dz(e, t) {
|
|
|
53454
53505
|
Yb.render = Dz;
|
|
53455
53506
|
var Mz = Yb, Lm = (e = {}, t = !0) => {
|
|
53456
53507
|
const n = e.eventBus = e.eventBus || new Rs();
|
|
53457
|
-
t &&
|
|
53508
|
+
t && lt(() => {
|
|
53458
53509
|
const o = ns(Mz, Ib({}, e)), i = o.mount(document.createElement("div")), l = e.onMounted;
|
|
53459
53510
|
if (br(l) || l(i, o), e.shareAppContext) {
|
|
53460
53511
|
const s = e.shareAppContext;
|