@club-employes/utopia 4.178.0 → 4.179.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +57 -52
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as lt, computed as K, ref as ke, provide as qd, onMounted as Sn, onBeforeUnmount as To, watch as Yt, openBlock as E, createElementBlock as Y, renderSlot as We, normalizeStyle as Qt, normalizeClass as Ne, useSlots as dc, Fragment as tt, createBlock as pe, createCommentVNode as $, createElementVNode as J, createVNode as U, toDisplayString as he, unref as ee, withDirectives as Fn, vModelDynamic as Ib, createTextVNode as Qe, nextTick as _t, resolveDynamicComponent as Zt, withCtx as de, renderList as Pt, onUnmounted as Xn, toValue as Un, readonly as Db, getCurrentInstance as Al, reactive as Eb, Teleport as Kn, Transition as En, onUpdated as _d, useTemplateRef as Us, normalizeProps as bi, guardReactiveProps as bo, mergeProps as Se,
|
|
1
|
+
import { defineComponent as lt, computed as K, ref as ke, provide as qd, onMounted as Sn, onBeforeUnmount as To, watch as Yt, openBlock as E, createElementBlock as Y, renderSlot as We, normalizeStyle as Qt, normalizeClass as Ne, useSlots as dc, Fragment as tt, createBlock as pe, createCommentVNode as $, createElementVNode as J, createVNode as U, toDisplayString as he, unref as ee, withDirectives as Fn, vModelDynamic as Ib, createTextVNode as Qe, nextTick as _t, resolveDynamicComponent as Zt, withCtx as de, renderList as Pt, withKeys as Bn, onUnmounted as Xn, toValue as Un, readonly as Db, getCurrentInstance as Al, reactive as Eb, Teleport as Kn, Transition as En, onUpdated as _d, useTemplateRef as Us, normalizeProps as bi, guardReactiveProps as bo, mergeProps as Se, withModifiers as St, vModelText as $d, TransitionGroup as Ps, resolveComponent as Ft, useCssVars as Bb, vShow as Go, useId as fc, createApp as jb, inject as ef, shallowRef as fr, resolveDirective as Yi, createSlots as Fi, toHandlers as Ea, useAttrs as Lb, isRef as tf } from "vue";
|
|
2
2
|
import { RouterLink as Hb, useRoute as Nb } from "vue-router";
|
|
3
3
|
import { useBreakpoints as Gb, useScrollLock as nf, unrefElement as Fb, tryOnScopeDispose as Yb, useEventListener as Rb, useDebounceFn as Zb, useFileDialog as Jb } from "@vueuse/core";
|
|
4
4
|
import { parsePhoneNumberFromString as Ba, AsYouType as eA } from "libphonenumber-js";
|
|
@@ -1233,11 +1233,13 @@ const Gw = ["aria-label", "innerHTML"], Fw = /* @__PURE__ */ lt({
|
|
|
1233
1233
|
"utopia-switch--disabled": n.disabled,
|
|
1234
1234
|
"utopia-switch--checked": n.modelValue,
|
|
1235
1235
|
[`utopia-switch--${A.value?.mode || "light"}`]: !0
|
|
1236
|
-
})), b = (
|
|
1237
|
-
|
|
1238
|
-
|
|
1236
|
+
})), b = () => {
|
|
1237
|
+
i("update:modelValue", !n.modelValue);
|
|
1238
|
+
}, d = (w) => {
|
|
1239
|
+
const r = w.target;
|
|
1240
|
+
i("update:modelValue", r.checked);
|
|
1239
1241
|
};
|
|
1240
|
-
return (
|
|
1242
|
+
return (w, r) => (E(), Y("label", {
|
|
1241
1243
|
class: Ne(["utopia-switch", o.value])
|
|
1242
1244
|
}, [
|
|
1243
1245
|
J("input", {
|
|
@@ -1245,7 +1247,8 @@ const Gw = ["aria-label", "innerHTML"], Fw = /* @__PURE__ */ lt({
|
|
|
1245
1247
|
class: "utopia-switch__input",
|
|
1246
1248
|
checked: e.modelValue,
|
|
1247
1249
|
disabled: e.disabled,
|
|
1248
|
-
onChange:
|
|
1250
|
+
onChange: d,
|
|
1251
|
+
onKeydown: Bn(b, ["enter"])
|
|
1249
1252
|
}, null, 40, ux),
|
|
1250
1253
|
J("div", Ax, [
|
|
1251
1254
|
J("div", dx, [
|
|
@@ -1256,12 +1259,12 @@ const Gw = ["aria-label", "innerHTML"], Fw = /* @__PURE__ */ lt({
|
|
|
1256
1259
|
}, null, 8, ["class"])
|
|
1257
1260
|
])
|
|
1258
1261
|
]),
|
|
1259
|
-
|
|
1260
|
-
We(
|
|
1262
|
+
w.$slots.default ? (E(), Y("span", fx, [
|
|
1263
|
+
We(w.$slots, "default", {}, void 0, !0)
|
|
1261
1264
|
])) : $("", !0)
|
|
1262
1265
|
], 2));
|
|
1263
1266
|
}
|
|
1264
|
-
}), wr = /* @__PURE__ */ ht(hx, [["__scopeId", "data-v-
|
|
1267
|
+
}), wr = /* @__PURE__ */ ht(hx, [["__scopeId", "data-v-63c13c2d"]]);
|
|
1265
1268
|
function yf(e) {
|
|
1266
1269
|
return [
|
|
1267
1270
|
"club-employes-light",
|
|
@@ -4238,12 +4241,12 @@ const O0 = _C, k0 = $C, T0 = WC, S0 = UC, z0 = (e, t, n) => {
|
|
|
4238
4241
|
l && clearTimeout(l), c && clearTimeout(c);
|
|
4239
4242
|
}
|
|
4240
4243
|
function M() {
|
|
4241
|
-
|
|
4244
|
+
P || (A === "hover" ? (g(), h.value = !0, l = window.setTimeout(() => {
|
|
4242
4245
|
s.value = !0;
|
|
4243
4246
|
}, b)) : s.value = !0);
|
|
4244
4247
|
}
|
|
4245
4248
|
function y() {
|
|
4246
|
-
if (
|
|
4249
|
+
if (A === "hover") {
|
|
4247
4250
|
h.value = !1, g();
|
|
4248
4251
|
const ae = T ? 300 : d;
|
|
4249
4252
|
c = window.setTimeout(() => {
|
|
@@ -4365,7 +4368,7 @@ const O0 = _C, k0 = $C, T0 = WC, S0 = UC, z0 = (e, t, n) => {
|
|
|
4365
4368
|
]))
|
|
4366
4369
|
], 64));
|
|
4367
4370
|
}
|
|
4368
|
-
}), Yn = /* @__PURE__ */ ht(E0, [["__scopeId", "data-v-
|
|
4371
|
+
}), Yn = /* @__PURE__ */ ht(E0, [["__scopeId", "data-v-3bb2941d"]]), B0 = /* @__PURE__ */ lt({
|
|
4369
4372
|
__name: "Text",
|
|
4370
4373
|
props: {
|
|
4371
4374
|
as: { default: "p" },
|
|
@@ -4967,8 +4970,8 @@ const F0 = ["href", "target"], Y0 = /* @__PURE__ */ lt({
|
|
|
4967
4970
|
class: Ne(["utopia-filterbutton", { "utopia-filterbutton--active": e.active || e.opened || e.count > 0, "utopia-filterbutton--full-width": e.fullWidth }]),
|
|
4968
4971
|
onClick: A[0] || (A[0] = (o) => n("toggle", !e.opened)),
|
|
4969
4972
|
onKeydown: [
|
|
4970
|
-
A[1] || (A[1] =
|
|
4971
|
-
A[2] || (A[2] =
|
|
4973
|
+
A[1] || (A[1] = Bn(St((o) => n("toggle", !0), ["stop"]), ["enter"])),
|
|
4974
|
+
A[2] || (A[2] = Bn(St((o) => n("toggle", !1), ["stop"]), ["escape"]))
|
|
4972
4975
|
],
|
|
4973
4976
|
tabindex: "0"
|
|
4974
4977
|
}, [
|
|
@@ -5297,7 +5300,7 @@ const F0 = ["href", "target"], Y0 = /* @__PURE__ */ lt({
|
|
|
5297
5300
|
tabindex: "0",
|
|
5298
5301
|
"aria-pressed": e.isFavorite,
|
|
5299
5302
|
onClick: A[0] || (A[0] = St((o) => n("toggle-favorite"), ["stop"])),
|
|
5300
|
-
onKeypress: A[1] || (A[1] =
|
|
5303
|
+
onKeypress: A[1] || (A[1] = Bn(St((o) => n("toggle-favorite"), ["stop"]), ["enter"]))
|
|
5301
5304
|
}, [
|
|
5302
5305
|
U(Je, {
|
|
5303
5306
|
size: "extra-small",
|
|
@@ -7720,7 +7723,7 @@ const FM = /* @__PURE__ */ lt({
|
|
|
7720
7723
|
class: Ne(`utopia-filterselect__content utopia-filterselect__content--${n.size}`),
|
|
7721
7724
|
tabindex: "0",
|
|
7722
7725
|
onClick: St((m) => d(I), ["stop"]),
|
|
7723
|
-
onKeydown:
|
|
7726
|
+
onKeydown: Bn(St((m) => d(I), ["stop"]), ["enter"])
|
|
7724
7727
|
}, [
|
|
7725
7728
|
J("div", o2, [
|
|
7726
7729
|
e.multiple ? (E(), pe(Mo, {
|
|
@@ -7774,7 +7777,7 @@ const FM = /* @__PURE__ */ lt({
|
|
|
7774
7777
|
key: 0,
|
|
7775
7778
|
tabindex: "0",
|
|
7776
7779
|
onClick: St((m) => r(D), ["stop"]),
|
|
7777
|
-
onKeydown:
|
|
7780
|
+
onKeydown: Bn(St((m) => r(D), ["stop"]), ["enter"]),
|
|
7778
7781
|
class: "utopia-filterselect__chevron-container"
|
|
7779
7782
|
}, [
|
|
7780
7783
|
J("div", {
|
|
@@ -9740,8 +9743,8 @@ const h2 = ["for"], g2 = {
|
|
|
9740
9743
|
"aria-controls": o.value,
|
|
9741
9744
|
onClick: St(V, ["stop"]),
|
|
9742
9745
|
onKeydown: [
|
|
9743
|
-
|
|
9744
|
-
|
|
9746
|
+
Bn(St(X, ["prevent"]), ["down"]),
|
|
9747
|
+
Bn(St(V, ["prevent"]), ["enter"])
|
|
9745
9748
|
]
|
|
9746
9749
|
}, [
|
|
9747
9750
|
l.value ? (E(), Y("span", p2, he(l.value.flag), 1)) : $("", !0),
|
|
@@ -12134,6 +12137,7 @@ const r7 = { class: "utopia-filterlocation" }, a7 = {
|
|
|
12134
12137
|
]),
|
|
12135
12138
|
default: de(() => [
|
|
12136
12139
|
J("div", {
|
|
12140
|
+
tabindex: "0",
|
|
12137
12141
|
class: Ne([
|
|
12138
12142
|
"utopia-single-option",
|
|
12139
12143
|
{
|
|
@@ -12142,19 +12146,20 @@ const r7 = { class: "utopia-filterlocation" }, a7 = {
|
|
|
12142
12146
|
}
|
|
12143
12147
|
]),
|
|
12144
12148
|
disabled: e.disabled,
|
|
12145
|
-
onClick: d[0] || (d[0] = (w) => e.disabled ? null : o(e.value))
|
|
12149
|
+
onClick: d[0] || (d[0] = (w) => e.disabled ? null : o(e.value)),
|
|
12150
|
+
onKeydown: d[1] || (d[1] = Bn((w) => e.disabled ? null : o(e.value), ["enter"]))
|
|
12146
12151
|
}, [
|
|
12147
12152
|
J("p", {
|
|
12148
12153
|
ref_key: "optionTextRef",
|
|
12149
12154
|
ref: i,
|
|
12150
12155
|
class: "utopia-single-option-text"
|
|
12151
12156
|
}, he(e.label), 513)
|
|
12152
|
-
],
|
|
12157
|
+
], 42, OO)
|
|
12153
12158
|
]),
|
|
12154
12159
|
_: 1
|
|
12155
12160
|
}, 8, ["active"]));
|
|
12156
12161
|
}
|
|
12157
|
-
}), TO = /* @__PURE__ */ ht(kO, [["__scopeId", "data-v-
|
|
12162
|
+
}), TO = /* @__PURE__ */ ht(kO, [["__scopeId", "data-v-0dd20468"]]), SO = { class: "utopia-optionselect" }, zO = { class: "utopia-optionselect__label" }, IO = ["innerHTML"], DO = {
|
|
12158
12163
|
key: 0,
|
|
12159
12164
|
class: "utopia-optionselect__options"
|
|
12160
12165
|
}, EO = {
|
|
@@ -13112,7 +13117,7 @@ const oh = "data:image/webp;base64,UklGRpQ1AABXRUJQVlA4TIg1AAAv78BNEAlHbttIEhwbt
|
|
|
13112
13117
|
return (S, I) => (E(), Y("div", {
|
|
13113
13118
|
class: Ne(["utopia-productcard", o.value]),
|
|
13114
13119
|
onClick: I[1] || (I[1] = St((D) => i("card-click", { id: e.id }), ["stop"])),
|
|
13115
|
-
onKeypress: I[2] || (I[2] =
|
|
13120
|
+
onKeypress: I[2] || (I[2] = Bn(St((D) => i("card-click", { id: e.id }), ["stop"]), ["enter"])),
|
|
13116
13121
|
tabindex: "0"
|
|
13117
13122
|
}, [
|
|
13118
13123
|
J("div", Ek, [
|
|
@@ -14009,7 +14014,7 @@ const oh = "data:image/webp;base64,UklGRpQ1AABXRUJQVlA4TIg1AAAv78BNEAlHbttIEhwbt
|
|
|
14009
14014
|
"onUpdate:modelValue": a[12] || (a[12] = (P) => r.$emit("update:linkText", P)),
|
|
14010
14015
|
label: "Texte du lien",
|
|
14011
14016
|
placeholder: "Texte à afficher",
|
|
14012
|
-
onKeyup: a[13] || (a[13] =
|
|
14017
|
+
onKeyup: a[13] || (a[13] = Bn((P) => r.$emit("apply-link"), ["enter"]))
|
|
14013
14018
|
}, null, 8, ["model-value"])
|
|
14014
14019
|
]),
|
|
14015
14020
|
J("div", ST, [
|
|
@@ -14019,7 +14024,7 @@ const oh = "data:image/webp;base64,UklGRpQ1AABXRUJQVlA4TIg1AAAv78BNEAlHbttIEhwbt
|
|
|
14019
14024
|
label: "URL",
|
|
14020
14025
|
type: "url",
|
|
14021
14026
|
placeholder: "https://example.com",
|
|
14022
|
-
onKeyup: a[15] || (a[15] =
|
|
14027
|
+
onKeyup: a[15] || (a[15] = Bn((P) => r.$emit("apply-link"), ["enter"]))
|
|
14023
14028
|
}, null, 8, ["model-value"])
|
|
14024
14029
|
])
|
|
14025
14030
|
])
|
|
@@ -14060,7 +14065,7 @@ const oh = "data:image/webp;base64,UklGRpQ1AABXRUJQVlA4TIg1AAAv78BNEAlHbttIEhwbt
|
|
|
14060
14065
|
"onUpdate:modelValue": a[21] || (a[21] = (P) => r.$emit("update:imageTitle", P)),
|
|
14061
14066
|
label: "Nom de l'image",
|
|
14062
14067
|
placeholder: "Nom de l'image",
|
|
14063
|
-
onKeyup: a[22] || (a[22] =
|
|
14068
|
+
onKeyup: a[22] || (a[22] = Bn((P) => r.$emit("apply-image-edit"), ["enter"]))
|
|
14064
14069
|
}, null, 8, ["model-value"])
|
|
14065
14070
|
]),
|
|
14066
14071
|
J("div", DT, [
|
|
@@ -37667,7 +37672,7 @@ gl_FragColor.rgb *= color.a;
|
|
|
37667
37672
|
nn += ct[ft] * V(256, 3 - ft);
|
|
37668
37673
|
return nn;
|
|
37669
37674
|
}, ge = function(ye) {
|
|
37670
|
-
var rt = [0, 0, 0, 0, 0, 0, 0, 0], it = 0, ct = null, ft = 0, jt, Dt, An, nn, Cn,
|
|
37675
|
+
var rt = [0, 0, 0, 0, 0, 0, 0, 0], it = 0, ct = null, ft = 0, jt, Dt, An, nn, Cn, jn, dt, In = function() {
|
|
37671
37676
|
return ye.charAt(ft);
|
|
37672
37677
|
};
|
|
37673
37678
|
if (In() == ":") {
|
|
@@ -37709,8 +37714,8 @@ gl_FragColor.rgb *= color.a;
|
|
|
37709
37714
|
rt[it++] = jt;
|
|
37710
37715
|
}
|
|
37711
37716
|
if (ct !== null)
|
|
37712
|
-
for (
|
|
37713
|
-
dt = rt[it], rt[it--] = rt[ct +
|
|
37717
|
+
for (jn = it - ct, it = 7; it != 0 && jn > 0; )
|
|
37718
|
+
dt = rt[it], rt[it--] = rt[ct + jn - 1], rt[ct + --jn] = dt;
|
|
37714
37719
|
else if (it != 8) return;
|
|
37715
37720
|
return rt;
|
|
37716
37721
|
}, me = function(ye) {
|
|
@@ -37781,9 +37786,9 @@ gl_FragColor.rgb *= color.a;
|
|
|
37781
37786
|
}, le = function(ye) {
|
|
37782
37787
|
return ye = ye.toLowerCase(), ye === ".." || ye === "%2e." || ye === ".%2e" || ye === "%2e%2e";
|
|
37783
37788
|
}, oe = {}, re = {}, Le = {}, Ue = {}, st = {}, Ot = {}, Tt = {}, Mt = {}, Xt = {}, Wt = {}, Ke = {}, $e = {}, At = {}, gt = {}, It = {}, ut = {}, wn = {}, On = {}, zt = {}, qe = {}, fn = {}, tn = function(ye, rt, it, ct) {
|
|
37784
|
-
var ft = it || oe, jt = 0, Dt = "", An = !1, nn = !1, Cn = !1,
|
|
37785
|
-
for (it || (ye.scheme = "", ye.username = "", ye.password = "", ye.host = null, ye.port = null, ye.path = [], ye.query = null, ye.fragment = null, ye.cannotBeABaseURL = !1, rt = rt.replace(q, "")), rt = rt.replace(ie, ""),
|
|
37786
|
-
switch (dt =
|
|
37789
|
+
var ft = it || oe, jt = 0, Dt = "", An = !1, nn = !1, Cn = !1, jn, dt, In, ri;
|
|
37790
|
+
for (it || (ye.scheme = "", ye.username = "", ye.password = "", ye.host = null, ye.port = null, ye.path = [], ye.query = null, ye.fragment = null, ye.cannotBeABaseURL = !1, rt = rt.replace(q, "")), rt = rt.replace(ie, ""), jn = f(rt); jt <= jn.length; ) {
|
|
37791
|
+
switch (dt = jn[jt], ft) {
|
|
37787
37792
|
case oe:
|
|
37788
37793
|
if (dt && Me.test(dt))
|
|
37789
37794
|
Dt += dt.toLowerCase(), ft = re;
|
|
@@ -37803,7 +37808,7 @@ gl_FragColor.rgb *= color.a;
|
|
|
37803
37808
|
Pe(ye) && ve[ye.scheme] == ye.port && (ye.port = null);
|
|
37804
37809
|
return;
|
|
37805
37810
|
}
|
|
37806
|
-
Dt = "", ye.scheme == "file" ? ft = gt : Pe(ye) && ct && ct.scheme == ye.scheme ? ft = Ue : Pe(ye) ? ft = Mt :
|
|
37811
|
+
Dt = "", ye.scheme == "file" ? ft = gt : Pe(ye) && ct && ct.scheme == ye.scheme ? ft = Ue : Pe(ye) ? ft = Mt : jn[jt + 1] == "/" ? (ft = st, jt++) : (ye.cannotBeABaseURL = !0, ye.path.push(""), ft = zt);
|
|
37807
37812
|
} else {
|
|
37808
37813
|
if (it)
|
|
37809
37814
|
return W;
|
|
@@ -37820,7 +37825,7 @@ gl_FragColor.rgb *= color.a;
|
|
|
37820
37825
|
ft = ct.scheme == "file" ? gt : Ot;
|
|
37821
37826
|
continue;
|
|
37822
37827
|
case Ue:
|
|
37823
|
-
if (dt == "/" &&
|
|
37828
|
+
if (dt == "/" && jn[jt + 1] == "/")
|
|
37824
37829
|
ft = Xt, jt++;
|
|
37825
37830
|
else {
|
|
37826
37831
|
ft = Ot;
|
|
@@ -37929,7 +37934,7 @@ gl_FragColor.rgb *= color.a;
|
|
|
37929
37934
|
else if (dt == "#")
|
|
37930
37935
|
ye.host = ct.host, ye.path = ct.path.slice(), ye.query = ct.query, ye.fragment = "", ft = fn;
|
|
37931
37936
|
else {
|
|
37932
|
-
nt(
|
|
37937
|
+
nt(jn.slice(jt).join("")) || (ye.host = ct.host, ye.path = ct.path.slice(), Ct(ye)), ft = On;
|
|
37933
37938
|
continue;
|
|
37934
37939
|
}
|
|
37935
37940
|
else {
|
|
@@ -37942,7 +37947,7 @@ gl_FragColor.rgb *= color.a;
|
|
|
37942
37947
|
ft = ut;
|
|
37943
37948
|
break;
|
|
37944
37949
|
}
|
|
37945
|
-
ct && ct.scheme == "file" && !nt(
|
|
37950
|
+
ct && ct.scheme == "file" && !nt(jn.slice(jt).join("")) && (Ve(ct.path[0], !0) ? ye.path.push(ct.path[0]) : ye.host = ct.host), ft = On;
|
|
37946
37951
|
continue;
|
|
37947
37952
|
case ut:
|
|
37948
37953
|
if (dt == Ce || dt == "/" || dt == "\\" || dt == "?" || dt == "#") {
|
|
@@ -38992,7 +38997,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
38992
38997
|
return p.toUpperCase();
|
|
38993
38998
|
});
|
|
38994
38999
|
}
|
|
38995
|
-
function
|
|
39000
|
+
function jn() {
|
|
38996
39001
|
return !!(window.File && window.FileList && window.FileReader);
|
|
38997
39002
|
}
|
|
38998
39003
|
function dt(G, O) {
|
|
@@ -41857,7 +41862,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41857
41862
|
key: "_loadMaskFile",
|
|
41858
41863
|
value: function(v) {
|
|
41859
41864
|
var C;
|
|
41860
|
-
|
|
41865
|
+
jn() || alert("This browser does not support file-api");
|
|
41861
41866
|
var j = ze(v.target.files, 1), N = j[0];
|
|
41862
41867
|
N && (C = ue().createObjectURL(N), this.actions.loadImageFromURL(C, N), this._els.applyButton.classList.add("active"));
|
|
41863
41868
|
}
|
|
@@ -42111,7 +42116,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42111
42116
|
key: "_registerIconHandler",
|
|
42112
42117
|
value: function(v) {
|
|
42113
42118
|
var C;
|
|
42114
|
-
|
|
42119
|
+
jn || alert("This browser does not support file-api");
|
|
42115
42120
|
var j = ze(v.target.files, 1), N = j[0];
|
|
42116
42121
|
N && (C = ue().createObjectURL(N), this.actions.registerCustomIcon(C, N));
|
|
42117
42122
|
}
|
|
@@ -44524,7 +44529,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44524
44529
|
p(), O.clearObjects(), O.ui.changeHelpButtonEnabled("delete", !1), O.ui.changeHelpButtonEnabled("deleteAll", !1);
|
|
44525
44530
|
},
|
|
44526
44531
|
load: function(Q) {
|
|
44527
|
-
|
|
44532
|
+
jn() || alert("This browser does not support file-api"), O.ui.initializeImgUrl = ue().createObjectURL(Q), O.loadImageFromFile(Q).then(function(te) {
|
|
44528
44533
|
p(), Z(), O.clearUndoStack(), O.ui.activeMenuEvent(), O.ui.resizeEditor({
|
|
44529
44534
|
imageSize: te
|
|
44530
44535
|
}), O._clearHistory(), O._invoker.fire(qe.EXECUTE_COMMAND, tn.LOAD_IMAGE);
|
|
@@ -44534,7 +44539,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44534
44539
|
},
|
|
44535
44540
|
download: function() {
|
|
44536
44541
|
var Q = O.toDataURL(), te = O.getImageName(), Te, Ie, Fe;
|
|
44537
|
-
|
|
44542
|
+
jn() && window.saveAs ? (Te = jo(Q), Ie = Te.type.split("/")[1], te.split(".").pop() !== Ie && (te += ".".concat(Ie)), saveAs(Te, te)) : (Fe = window.open(), Fe.document.body.innerHTML = "<img src='".concat(Q, "'>"));
|
|
44538
44543
|
},
|
|
44539
44544
|
history: function(Q) {
|
|
44540
44545
|
O.ui.toggleHistoryMenu(Q);
|
|
@@ -53458,7 +53463,7 @@ const GS = { class: "pm-wrapper" }, FS = {
|
|
|
53458
53463
|
function Cn() {
|
|
53459
53464
|
b.value && (kS(b.value), b.value.focus());
|
|
53460
53465
|
}
|
|
53461
|
-
function
|
|
53466
|
+
function jn() {
|
|
53462
53467
|
b.value && (TS(b.value), b.value.focus());
|
|
53463
53468
|
}
|
|
53464
53469
|
function dt() {
|
|
@@ -53686,7 +53691,7 @@ const GS = { class: "pm-wrapper" }, FS = {
|
|
|
53686
53691
|
onVideoClick: rt,
|
|
53687
53692
|
onTableInsert: nn,
|
|
53688
53693
|
onTableAddRowBefore: Cn,
|
|
53689
|
-
onTableAddRowAfter:
|
|
53694
|
+
onTableAddRowAfter: jn,
|
|
53690
53695
|
onTableAddColumnBefore: dt,
|
|
53691
53696
|
onTableAddColumnAfter: In,
|
|
53692
53697
|
onTableDeleteRow: ri,
|
|
@@ -67481,7 +67486,7 @@ function r4(e, t, n, i, A, o) {
|
|
|
67481
67486
|
"aria-modal": A.overlayVisible,
|
|
67482
67487
|
role: "dialog",
|
|
67483
67488
|
class: [e.cx("filterOverlay"), n.filterMenuClass],
|
|
67484
|
-
onKeydown: t[10] || (t[10] =
|
|
67489
|
+
onKeydown: t[10] || (t[10] = Bn(function() {
|
|
67485
67490
|
return o.hide && o.hide.apply(o, arguments);
|
|
67486
67491
|
}, ["escape"])),
|
|
67487
67492
|
onClick: t[11] || (t[11] = function() {
|
|
@@ -67508,7 +67513,7 @@ function r4(e, t, n, i, A, o) {
|
|
|
67508
67513
|
},
|
|
67509
67514
|
onKeydown: [t[2] || (t[2] = function(T) {
|
|
67510
67515
|
return o.onRowMatchModeKeyDown(T);
|
|
67511
|
-
}),
|
|
67516
|
+
}), Bn(St(function(T) {
|
|
67512
67517
|
return o.onRowMatchModeChange(a.value);
|
|
67513
67518
|
}, ["prevent"]), ["enter"])],
|
|
67514
67519
|
tabindex: P === 0 ? "0" : null
|
|
@@ -67524,7 +67529,7 @@ function r4(e, t, n, i, A, o) {
|
|
|
67524
67529
|
}),
|
|
67525
67530
|
onKeydown: [t[4] || (t[4] = function(a) {
|
|
67526
67531
|
return o.onRowMatchModeKeyDown(a);
|
|
67527
|
-
}), t[5] || (t[5] =
|
|
67532
|
+
}), t[5] || (t[5] = Bn(function(a) {
|
|
67528
67533
|
return e.onRowClearItemClick();
|
|
67529
67534
|
}, ["enter"]))]
|
|
67530
67535
|
}, o.getColumnPT("filterConstraint")), he(o.noFilterLabel), 17)], 16)) : (E(), Y(tt, {
|
|
@@ -72031,7 +72036,7 @@ const xB = /* @__PURE__ */ lt({
|
|
|
72031
72036
|
onBlur: S,
|
|
72032
72037
|
onKeydown: [
|
|
72033
72038
|
a,
|
|
72034
|
-
|
|
72039
|
+
Bn(T, ["enter"])
|
|
72035
72040
|
]
|
|
72036
72041
|
}, null, 8, ["model-value"]));
|
|
72037
72042
|
}
|
|
@@ -73372,8 +73377,8 @@ const xB = /* @__PURE__ */ lt({
|
|
|
73372
73377
|
"aria-disabled": e.disabled,
|
|
73373
73378
|
onClick: ce,
|
|
73374
73379
|
onKeydown: [
|
|
73375
|
-
|
|
73376
|
-
|
|
73380
|
+
Bn(St(ce, ["prevent"]), ["enter"]),
|
|
73381
|
+
Bn(St(ce, ["prevent"]), ["space"])
|
|
73377
73382
|
],
|
|
73378
73383
|
onDragenter: St(nt, ["prevent"]),
|
|
73379
73384
|
onDragover: St(Ct, ["prevent"]),
|
|
@@ -74514,8 +74519,8 @@ const xB = /* @__PURE__ */ lt({
|
|
|
74514
74519
|
"aria-label": `Transaction ${i.description}, ${i.amount}`,
|
|
74515
74520
|
onClick: o,
|
|
74516
74521
|
onKeydown: [
|
|
74517
|
-
|
|
74518
|
-
|
|
74522
|
+
Bn(o, ["enter"]),
|
|
74523
|
+
Bn(St(o, ["prevent"]), ["space"])
|
|
74519
74524
|
]
|
|
74520
74525
|
}, [
|
|
74521
74526
|
J("div", LL, [
|
|
@@ -75256,7 +75261,7 @@ const xB = /* @__PURE__ */ lt({
|
|
|
75256
75261
|
])
|
|
75257
75262
|
]));
|
|
75258
75263
|
}
|
|
75259
|
-
}), rG = /* @__PURE__ */ ht(jH, [["__scopeId", "data-v-
|
|
75264
|
+
}), rG = /* @__PURE__ */ ht(jH, [["__scopeId", "data-v-8dd97b93"]]), LH = {
|
|
75260
75265
|
key: 0,
|
|
75261
75266
|
class: "mobile-menu-overlay"
|
|
75262
75267
|
}, HH = { class: "menu-header" }, NH = { class: "header-logo-container" }, GH = { class: "header-logo" }, FH = { class: "menu-footer" }, YH = /* @__PURE__ */ lt({
|