@flux-ui/components 3.0.0-next.6 → 3.0.0-next.7
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.
|
@@ -3,7 +3,7 @@ var Ia = (t) => {
|
|
|
3
3
|
};
|
|
4
4
|
var Ta = (t, e, a) => e.has(t) || Ia("Cannot " + a);
|
|
5
5
|
var ye = (t, e, a) => (Ta(t, e, "read from private field"), a ? a.call(t) : e.get(t)), Xt = (t, e, a) => e.has(t) ? Ia("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, a), Jt = (t, e, a, i) => (Ta(t, e, "write to private field"), i ? i.call(t, a) : e.set(t, a), a);
|
|
6
|
-
import { ref as P, onMounted as Ie, onUnmounted as Re, computed as L, reactive as Ka, inject as
|
|
6
|
+
import { ref as P, onMounted as Ie, onUnmounted as Re, computed as L, reactive as Ka, inject as jt, unref as n, useId as Et, watch as z, getCurrentInstance as _t, Fragment as N, watchEffect as qt, onScopeDispose as As, isRef as He, customRef as $s, defineComponent as k, createElementBlock as p, openBlock as c, normalizeStyle as Y, normalizeClass as d, renderList as q, toDisplayString as O, resolveComponent as Fs, createBlock as b, mergeProps as ke, withCtx as A, renderSlot as w, createElementVNode as D, toRef as he, createCommentVNode as S, shallowRef as Cs, createSlots as dt, createVNode as y, useTemplateRef as te, provide as Kt, normalizeProps as ce, guardReactiveProps as de, withKeys as Bs, withModifiers as rn, resolveDynamicComponent as Tn, useSlots as De, onBeforeUnmount as Ya, Transition as et, h as Qe, cloneVNode as Za, mergeModels as ee, useModel as ae, nextTick as An, Teleport as Qa, Comment as ws, isVNode as Ss, createTextVNode as ia, withDirectives as Ln, vModelCheckbox as Es, onBeforeMount as Is, vModelText as Xa, TransitionGroup as Ja, onUpdated as Ts } from "vue";
|
|
7
7
|
import { DateTime as Fe } from "luxon";
|
|
8
8
|
function ei(t) {
|
|
9
9
|
var e, a, i = "";
|
|
@@ -18,7 +18,7 @@ function Z() {
|
|
|
18
18
|
for (var t, e, a = 0, i = "", s = arguments.length; a < s; a++) (t = arguments[a]) && (e = ei(t)) && (i && (i += " "), i += e);
|
|
19
19
|
return i;
|
|
20
20
|
}
|
|
21
|
-
const
|
|
21
|
+
const _n = {
|
|
22
22
|
xs: 0,
|
|
23
23
|
sm: 640,
|
|
24
24
|
md: 768,
|
|
@@ -27,17 +27,17 @@ const jn = {
|
|
|
27
27
|
};
|
|
28
28
|
function tF() {
|
|
29
29
|
const t = P(null), e = Object.fromEntries(
|
|
30
|
-
Object.keys(
|
|
30
|
+
Object.keys(_n).map((i) => [i, P(!1)])
|
|
31
31
|
), a = () => {
|
|
32
32
|
const i = window.innerWidth;
|
|
33
33
|
let s = null;
|
|
34
|
-
for (const [o, l] of Object.entries(
|
|
34
|
+
for (const [o, l] of Object.entries(_n).reverse())
|
|
35
35
|
if (i >= l) {
|
|
36
36
|
s = o;
|
|
37
37
|
break;
|
|
38
38
|
}
|
|
39
39
|
t.value = s;
|
|
40
|
-
for (const o of Object.keys(
|
|
40
|
+
for (const o of Object.keys(_n))
|
|
41
41
|
e[o].value = o === s;
|
|
42
42
|
};
|
|
43
43
|
return Ie(() => {
|
|
@@ -1854,7 +1854,7 @@ function Ws(t) {
|
|
|
1854
1854
|
prepareChar: (e) => e.toUpperCase()
|
|
1855
1855
|
});
|
|
1856
1856
|
}
|
|
1857
|
-
function
|
|
1857
|
+
function js(t) {
|
|
1858
1858
|
return J(t, {
|
|
1859
1859
|
definitions: {
|
|
1860
1860
|
"#": /[A-Z0-9]/
|
|
@@ -1863,21 +1863,21 @@ function _s(t) {
|
|
|
1863
1863
|
prepareChar: (e) => e.toUpperCase()
|
|
1864
1864
|
});
|
|
1865
1865
|
}
|
|
1866
|
-
const
|
|
1866
|
+
const _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1867
1867
|
__proto__: null,
|
|
1868
1868
|
bic: Us,
|
|
1869
1869
|
iban: Ws,
|
|
1870
|
-
vat:
|
|
1870
|
+
vat: js
|
|
1871
1871
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1872
1872
|
function qs() {
|
|
1873
|
-
return
|
|
1873
|
+
return jt(ti, P(!1));
|
|
1874
1874
|
}
|
|
1875
1875
|
function be(t) {
|
|
1876
1876
|
const e = qs();
|
|
1877
1877
|
return L(() => n(t) || n(e));
|
|
1878
1878
|
}
|
|
1879
1879
|
function Ks() {
|
|
1880
|
-
return
|
|
1880
|
+
return jt(ni, {
|
|
1881
1881
|
closeAll: () => {
|
|
1882
1882
|
},
|
|
1883
1883
|
register: () => {
|
|
@@ -1887,7 +1887,7 @@ function Ks() {
|
|
|
1887
1887
|
});
|
|
1888
1888
|
}
|
|
1889
1889
|
function Tt() {
|
|
1890
|
-
return
|
|
1890
|
+
return jt(ii, {
|
|
1891
1891
|
// note(Bas): The default value is never used, but required by
|
|
1892
1892
|
// Vue, so that explains the empty getter and function below.
|
|
1893
1893
|
state: P({
|
|
@@ -1909,19 +1909,19 @@ function Tt() {
|
|
|
1909
1909
|
});
|
|
1910
1910
|
}
|
|
1911
1911
|
function aF() {
|
|
1912
|
-
return
|
|
1912
|
+
return jt(ai, {
|
|
1913
1913
|
isClosing: P(!1),
|
|
1914
1914
|
isOpen: P(!1),
|
|
1915
1915
|
isOpening: P(!1)
|
|
1916
1916
|
});
|
|
1917
1917
|
}
|
|
1918
1918
|
function Yt() {
|
|
1919
|
-
return
|
|
1919
|
+
return jt(si, {
|
|
1920
1920
|
id: Et()
|
|
1921
1921
|
});
|
|
1922
1922
|
}
|
|
1923
1923
|
function yi() {
|
|
1924
|
-
return
|
|
1924
|
+
return jt(oi, {
|
|
1925
1925
|
isBordered: !1,
|
|
1926
1926
|
isHoverable: !1,
|
|
1927
1927
|
isSeparated: !1,
|
|
@@ -1939,52 +1939,38 @@ function ca(t) {
|
|
|
1939
1939
|
return ((e = t.toString().split(".")[1]) == null ? void 0 : e.length) ?? 0;
|
|
1940
1940
|
}
|
|
1941
1941
|
function on(t, e = 0) {
|
|
1942
|
-
return new Intl.NumberFormat(navigator.language, {
|
|
1943
|
-
maximumFractionDigits: e,
|
|
1944
|
-
minimumFractionDigits: e
|
|
1945
|
-
}).format(t);
|
|
1942
|
+
return new Intl.NumberFormat(navigator.language, { maximumFractionDigits: e, minimumFractionDigits: e }).format(t);
|
|
1946
1943
|
}
|
|
1947
1944
|
function Ys(t) {
|
|
1948
|
-
return new Intl.NumberFormat(navigator.language, {
|
|
1949
|
-
maximumFractionDigits: 1,
|
|
1950
|
-
minimumFractionDigits: 0,
|
|
1951
|
-
style: "percent"
|
|
1952
|
-
}).format(t);
|
|
1945
|
+
return new Intl.NumberFormat(navigator.language, { maximumFractionDigits: 1, minimumFractionDigits: 0, style: "percent" }).format(t);
|
|
1953
1946
|
}
|
|
1954
1947
|
function Va(t, e, a = 5, i) {
|
|
1955
|
-
|
|
1956
|
-
for (
|
|
1957
|
-
|
|
1948
|
+
let s = [1, 5, 10, 25, 50, 100, 250, 500, 1e3, 2500, 5e3, 1e4], o = [0.1, 0.5, ...s], l = e - t, r = i ? o : s;
|
|
1949
|
+
for (let g of r) {
|
|
1950
|
+
let $ = Math.floor(l / g), h = [];
|
|
1958
1951
|
if (!($ > a + 1)) {
|
|
1959
1952
|
h.push(t);
|
|
1960
|
-
for (let F = 1; F < $; ++F)
|
|
1961
|
-
h.push(F * g + t);
|
|
1953
|
+
for (let F = 1; F < $; ++F) h.push(F * g + t);
|
|
1962
1954
|
return h.push(e), h;
|
|
1963
1955
|
}
|
|
1964
1956
|
}
|
|
1965
|
-
|
|
1966
|
-
for (let g = 0; g < l; g += m)
|
|
1967
|
-
f.push(g + t);
|
|
1957
|
+
let u = l.toString().length - 1, m = Math.pow(10, u), f = [];
|
|
1958
|
+
for (let g = 0; g < l; g += m) f.push(g + t);
|
|
1968
1959
|
return f;
|
|
1969
1960
|
}
|
|
1970
1961
|
function ki(t) {
|
|
1971
|
-
|
|
1972
|
-
return [
|
|
1973
|
-
e >> 16 & 255,
|
|
1974
|
-
e >> 8 & 255,
|
|
1975
|
-
e & 255
|
|
1976
|
-
];
|
|
1962
|
+
let e = parseInt(t.startsWith("#") ? t.substring(1) : t, 16);
|
|
1963
|
+
return [e >> 16 & 255, e >> 8 & 255, e & 255];
|
|
1977
1964
|
}
|
|
1978
1965
|
function qn(t, e, a) {
|
|
1979
|
-
return a < 0 && (a += 1), a > 1 && (a -= 1), a <
|
|
1966
|
+
return a < 0 && (a += 1), a > 1 && (a -= 1), a < 0.16666666666666666 ? t + (e - t) * 6 * a : a < 0.5 ? e : a < 0.6666666666666666 ? t + (e - t) * (0.6666666666666666 - a) * 6 : t;
|
|
1980
1967
|
}
|
|
1981
1968
|
function Ai(t, e, a) {
|
|
1982
1969
|
let i, s, o;
|
|
1983
|
-
if (t /= 360, e /= 100, a /= 100, e === 0)
|
|
1984
|
-
i = s = o = a;
|
|
1970
|
+
if (t /= 360, e /= 100, a /= 100, e === 0) i = s = o = a;
|
|
1985
1971
|
else {
|
|
1986
|
-
|
|
1987
|
-
i = qn(r, l, t +
|
|
1972
|
+
let l = a < 0.5 ? a * (1 + e) : a + e - a * e, r = 2 * a - l;
|
|
1973
|
+
i = qn(r, l, t + 0.3333333333333333), s = qn(r, l, t), o = qn(r, l, t - 0.3333333333333333);
|
|
1988
1974
|
}
|
|
1989
1975
|
return i = Math.round(i * 255), s = Math.round(s * 255), o = Math.round(o * 255), [i, s, o];
|
|
1990
1976
|
}
|
|
@@ -2028,32 +2014,27 @@ function $i(t, e, a) {
|
|
|
2028
2014
|
function Yn(t, e, a) {
|
|
2029
2015
|
return $i(...tt(t, e, a));
|
|
2030
2016
|
}
|
|
2031
|
-
function
|
|
2017
|
+
function je(t) {
|
|
2032
2018
|
return globalThis.document ? t instanceof HTMLElement : !1;
|
|
2033
2019
|
}
|
|
2034
2020
|
function Fi(t) {
|
|
2035
|
-
|
|
2021
|
+
let e = new Uint32Array(1);
|
|
2036
2022
|
e[0] = t;
|
|
2037
2023
|
function a() {
|
|
2038
|
-
|
|
2039
|
-
let l = Math.imul(o ^ o >>> 15, 1 | o);
|
|
2024
|
+
let o = e[0] = e[0] + 1831565813 | 0, l = Math.imul(o ^ o >>> 15, 1 | o);
|
|
2040
2025
|
return l = l + Math.imul(l ^ l >>> 7, 61 | l) ^ l, ((l ^ l >>> 14) >>> 0) / 4294967296;
|
|
2041
2026
|
}
|
|
2042
2027
|
function i(o, l) {
|
|
2043
2028
|
return a() * (l - o) + o;
|
|
2044
2029
|
}
|
|
2045
2030
|
function s() {
|
|
2046
|
-
return Fi(a() *
|
|
2031
|
+
return Fi(a() * 4294967296);
|
|
2047
2032
|
}
|
|
2048
|
-
return {
|
|
2049
|
-
fork: s,
|
|
2050
|
-
next: a,
|
|
2051
|
-
nextBetween: i
|
|
2052
|
-
};
|
|
2033
|
+
return { fork: s, next: a, nextBetween: i };
|
|
2053
2034
|
}
|
|
2054
2035
|
var Ci = Fi;
|
|
2055
2036
|
function Zs(t, e, a) {
|
|
2056
|
-
|
|
2037
|
+
let i = t.toString(16).padStart(2, "0"), s = e.toString(16).padStart(2, "0"), o = a.toString(16).padStart(2, "0");
|
|
2057
2038
|
return `#${i}${s}${o}`;
|
|
2058
2039
|
}
|
|
2059
2040
|
var Qs = typeof global == "object" && global && global.Object === Object && global, Xs = typeof self == "object" && self && self.Object === Object && self, Js = Qs || Xs || Function("return this")(), Wt = Js.Symbol, Bi = Object.prototype, eo = Bi.hasOwnProperty, to = Bi.toString, en = Wt ? Wt.toStringTag : void 0;
|
|
@@ -2340,9 +2321,9 @@ var Wo = {
|
|
|
2340
2321
|
œ: "oe",
|
|
2341
2322
|
ʼn: "'n",
|
|
2342
2323
|
ſ: "s"
|
|
2343
|
-
},
|
|
2324
|
+
}, jo = Uo(Wo), _o = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, qo = "\\u0300-\\u036f", Ko = "\\ufe20-\\ufe2f", Yo = "\\u20d0-\\u20ff", Zo = qo + Ko + Yo, Qo = "[" + Zo + "]", Xo = RegExp(Qo, "g");
|
|
2344
2325
|
function Jo(t) {
|
|
2345
|
-
return t = Rn(t), t && t.replace(
|
|
2326
|
+
return t = Rn(t), t && t.replace(_o, jo).replace(Xo, "");
|
|
2346
2327
|
}
|
|
2347
2328
|
var el = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
2348
2329
|
function tl(t) {
|
|
@@ -2352,7 +2333,7 @@ var nl = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
|
2352
2333
|
function al(t) {
|
|
2353
2334
|
return nl.test(t);
|
|
2354
2335
|
}
|
|
2355
|
-
var Vi = "\\ud800-\\udfff", il = "\\u0300-\\u036f", sl = "\\ufe20-\\ufe2f", ol = "\\u20d0-\\u20ff", ll = il + sl + ol, xi = "\\u2700-\\u27bf", Oi = "a-z\\xdf-\\xf6\\xf8-\\xff", rl = "\\xac\\xb1\\xd7\\xf7", ul = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", cl = "\\u2000-\\u206f", dl = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Ri = "A-Z\\xc0-\\xd6\\xd8-\\xde", ml = "\\ufe0e\\ufe0f", zi = rl + ul + cl + dl, Ni = "['’]", za = "[" + zi + "]", pl = "[" + ll + "]", Hi = "\\d+", fl = "[" + xi + "]", Gi = "[" + Oi + "]", Ui = "[^" + Vi + zi + Hi + xi + Oi + Ri + "]", hl = "\\ud83c[\\udffb-\\udfff]", gl = "(?:" + pl + "|" + hl + ")", bl = "[^" + Vi + "]", Wi = "(?:\\ud83c[\\udde6-\\uddff]){2}",
|
|
2336
|
+
var Vi = "\\ud800-\\udfff", il = "\\u0300-\\u036f", sl = "\\ufe20-\\ufe2f", ol = "\\u20d0-\\u20ff", ll = il + sl + ol, xi = "\\u2700-\\u27bf", Oi = "a-z\\xdf-\\xf6\\xf8-\\xff", rl = "\\xac\\xb1\\xd7\\xf7", ul = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", cl = "\\u2000-\\u206f", dl = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Ri = "A-Z\\xc0-\\xd6\\xd8-\\xde", ml = "\\ufe0e\\ufe0f", zi = rl + ul + cl + dl, Ni = "['’]", za = "[" + zi + "]", pl = "[" + ll + "]", Hi = "\\d+", fl = "[" + xi + "]", Gi = "[" + Oi + "]", Ui = "[^" + Vi + zi + Hi + xi + Oi + Ri + "]", hl = "\\ud83c[\\udffb-\\udfff]", gl = "(?:" + pl + "|" + hl + ")", bl = "[^" + Vi + "]", Wi = "(?:\\ud83c[\\udde6-\\uddff]){2}", ji = "[\\ud800-\\udbff][\\udc00-\\udfff]", Rt = "[" + Ri + "]", vl = "\\u200d", Na = "(?:" + Gi + "|" + Ui + ")", yl = "(?:" + Rt + "|" + Ui + ")", Ha = "(?:" + Ni + "(?:d|ll|m|re|s|t|ve))?", Ga = "(?:" + Ni + "(?:D|LL|M|RE|S|T|VE))?", _i = gl + "?", qi = "[" + ml + "]?", kl = "(?:" + vl + "(?:" + [bl, Wi, ji].join("|") + ")" + qi + _i + ")*", Al = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", $l = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Fl = qi + _i + kl, Cl = "(?:" + [fl, Wi, ji].join("|") + ")" + Fl, Bl = RegExp([
|
|
2356
2337
|
Rt + "?" + Gi + "+" + Ha + "(?=" + [za, Rt, "$"].join("|") + ")",
|
|
2357
2338
|
yl + "+" + Ga + "(?=" + [za, Rt + Na, "$"].join("|") + ")",
|
|
2358
2339
|
Rt + "?" + Na + "+" + Ha,
|
|
@@ -2437,7 +2418,7 @@ function mt(t) {
|
|
|
2437
2418
|
}
|
|
2438
2419
|
var Ll = ["a:not([disabled])", "button:not([disabled])", "input[type=checkbox]:not([disabled])", "input[type=radio]:not([disabled])", "input[type=text]:not([disabled])", '[tabindex]:not([disabled]):not([tabindex="-1"])'].join(",");
|
|
2439
2420
|
function St(t) {
|
|
2440
|
-
return Array.from(t.querySelectorAll(Ll)).filter(
|
|
2421
|
+
return Array.from(t.querySelectorAll(Ll)).filter(je).filter((e) => e.offsetWidth > 0 || e.offsetHeight > 0 || e === document.activeElement);
|
|
2441
2422
|
}
|
|
2442
2423
|
function Dl(t, e, a) {
|
|
2443
2424
|
let i = St(t), s = i.indexOf(e);
|
|
@@ -2503,13 +2484,13 @@ function Ua(t, e) {
|
|
|
2503
2484
|
}
|
|
2504
2485
|
function xl(t, e, a = void 0) {
|
|
2505
2486
|
let i = St(t), s = a || document.activeElement;
|
|
2506
|
-
if (!s || !
|
|
2487
|
+
if (!s || !je(s)) return i[0] || void 0;
|
|
2507
2488
|
let o = i.indexOf(s);
|
|
2508
2489
|
return i[o + e] || void 0;
|
|
2509
2490
|
}
|
|
2510
2491
|
function re(t) {
|
|
2511
2492
|
let e = n(t);
|
|
2512
|
-
return
|
|
2493
|
+
return je(e) ? e : e == null ? void 0 : e.$el;
|
|
2513
2494
|
}
|
|
2514
2495
|
function Ol(...t) {
|
|
2515
2496
|
console.warn("[Flux]", ...t);
|
|
@@ -2557,7 +2538,7 @@ class zl {
|
|
|
2557
2538
|
}
|
|
2558
2539
|
wt = new WeakMap(), Ge = new WeakMap();
|
|
2559
2540
|
var Wa = new zl(), Nl = !globalThis.document;
|
|
2560
|
-
function
|
|
2541
|
+
function ja(t, e, a) {
|
|
2561
2542
|
let i = P([]);
|
|
2562
2543
|
Ie(() => {
|
|
2563
2544
|
document.addEventListener("pointerdown", s);
|
|
@@ -2576,7 +2557,7 @@ function _a(t, e, a) {
|
|
|
2576
2557
|
});
|
|
2577
2558
|
}
|
|
2578
2559
|
function Xi() {
|
|
2579
|
-
let t =
|
|
2560
|
+
let t = _t();
|
|
2580
2561
|
return L(() => (t == null ? void 0 : t.uid) ?? (t == null ? void 0 : t.proxy)._uid ?? 0);
|
|
2581
2562
|
}
|
|
2582
2563
|
function Aa(t, e, a = !1) {
|
|
@@ -2637,9 +2618,9 @@ function $a(t, e, a) {
|
|
|
2637
2618
|
}
|
|
2638
2619
|
As(l);
|
|
2639
2620
|
}
|
|
2640
|
-
var
|
|
2641
|
-
function
|
|
2642
|
-
let e = P(`focus-trap-${++
|
|
2621
|
+
var jl = 0;
|
|
2622
|
+
function _l(t = !1) {
|
|
2623
|
+
let e = P(`focus-trap-${++jl}`), a = P(!1);
|
|
2643
2624
|
return Ie(() => Wa.add(n(e), (i) => a.value = i, t)), Re(() => Wa.remove(n(e))), a;
|
|
2644
2625
|
}
|
|
2645
2626
|
function ql(t) {
|
|
@@ -2653,7 +2634,7 @@ function ql(t) {
|
|
|
2653
2634
|
}
|
|
2654
2635
|
function Kl(t, e = {}) {
|
|
2655
2636
|
if (Nl) return;
|
|
2656
|
-
let { disable: a = P(!1), disableReturn: i = P(!1), attachTo: s = null } = e, o =
|
|
2637
|
+
let { disable: a = P(!1), disableReturn: i = P(!1), attachTo: s = null } = e, o = _l(!a);
|
|
2657
2638
|
ql(i), z(t, (l, r, u) => {
|
|
2658
2639
|
let m = re(t), f = s || document;
|
|
2659
2640
|
o.value && m && document.activeElement && !m.contains(document.activeElement) && !m.querySelector("[autofocus]") && Zn(m, document.activeElement, !0);
|
|
@@ -2769,7 +2750,7 @@ var Er = { beforeUnmount(t) {
|
|
|
2769
2750
|
let e = new Sr(t);
|
|
2770
2751
|
e.register(), Qn.set(t, e);
|
|
2771
2752
|
} }, Qn = /* @__PURE__ */ new WeakMap();
|
|
2772
|
-
const Ir = "base-pane", Tr = "base-pane-loader", Lr = "base-pane-element", Dr = "form", Mr = "pane-header", Pr = "base-pane-structure base-pane", pt = { basePane: Ir, basePaneLoader: Tr, basePaneElement: Lr, form: Dr, paneHeader: Mr, basePaneStructure: Pr }, { basePane: lt } = pt, Vr = "icon", xr = "font-awesome-icon icon", Or = "material-symbol-icon icon", Rr = `icon-boxed ${lt}`, zr = `icon-boxed-default icon-boxed ${lt}`, Nr = `icon-boxed-colored icon-boxed ${lt}`, Hr = `icon-boxed-
|
|
2753
|
+
const Ir = "base-pane", Tr = "base-pane-loader", Lr = "base-pane-element", Dr = "form", Mr = "pane-header", Pr = "base-pane-structure base-pane", pt = { basePane: Ir, basePaneLoader: Tr, basePaneElement: Lr, form: Dr, paneHeader: Mr, basePaneStructure: Pr }, { basePane: lt } = pt, Vr = "icon", xr = "font-awesome-icon icon", Or = "material-symbol-icon icon", Rr = `icon-boxed ${lt}`, zr = `icon-boxed-default icon-boxed ${lt}`, Nr = `icon-boxed-gray icon-boxed-colored icon-boxed ${lt}`, Hr = `icon-boxed-danger icon-boxed-colored icon-boxed ${lt}`, Gr = `icon-boxed-colored icon-boxed ${lt}`, Ur = `icon-boxed-info icon-boxed-colored icon-boxed ${lt}`, Wr = `icon-boxed-success icon-boxed-colored icon-boxed ${lt}`, jr = `icon-boxed-primary icon-boxed-colored icon-boxed ${lt}`, _r = `icon-boxed-warning icon-boxed-colored icon-boxed ${lt}`, Ze = { icon: Vr, fontAwesomeIcon: xr, materialSymbolIcon: Or, iconBoxed: Rr, iconBoxedDefault: zr, iconBoxedGray: Nr, iconBoxedDanger: Hr, iconBoxedColored: Gr, iconBoxedInfo: Ur, iconBoxedSuccess: Wr, iconBoxedPrimary: jr, iconBoxedWarning: _r }, qr = ["viewBox"], Kr = ["d"], U = /* @__PURE__ */ k({
|
|
2773
2754
|
__name: "FluxIcon",
|
|
2774
2755
|
props: {
|
|
2775
2756
|
size: {},
|
|
@@ -3093,13 +3074,13 @@ const Mu = (t, e) => {
|
|
|
3093
3074
|
return a;
|
|
3094
3075
|
}, ve = () => {
|
|
3095
3076
|
var e;
|
|
3096
|
-
const t = (e =
|
|
3077
|
+
const t = (e = _t()) == null ? void 0 : e.proxy;
|
|
3097
3078
|
return !t || !Pu(t) ? Mu : t.$t;
|
|
3098
3079
|
};
|
|
3099
3080
|
function Pu(t) {
|
|
3100
3081
|
return !!t && "$t" in t;
|
|
3101
3082
|
}
|
|
3102
|
-
const {
|
|
3083
|
+
const { button: cn, buttonLabel: dn, buttonIcon: mn } = zn, Vu = "spinner", xu = "icon", Ou = "publish-button-animation", Ru = "is-done", zu = "publish-button-animation-arrow", Nu = "publish-arrow-out", Hu = "publish-button-animation-check", Gu = "publish-button-animation-circle", Uu = "is-idle", Wu = "is-loading", ju = "publish-arrow-in", _u = "publish-button-cloud", qu = "publish", Ku = "button-group", Yu = "button", Zu = `primary-button ${cn}`, Qu = `secondary-button ${cn}`, Xu = `primary-button-label ${dn}`, Ju = `primary-button-icon ${mn}`, ec = `secondary-button-icon ${mn}`, tc = `secondary-button-label ${dn}`, nc = `destructive-button-icon ${mn}`, ac = `destructive-button ${cn}`, ic = `link-button ${cn}`, sc = `link-button-icon ${mn}`, oc = `destructive-button-label ${dn}`, lc = `link-button-label ${dn}`, rc = `publish-button-icon primary-button-icon ${mn}`, uc = `publish-button primary-button ${cn}`, cc = `publish-button-label primary-button-label ${dn}`, se = { spinner: Vu, icon: xu, publishButtonAnimation: Ou, isDone: Ru, publishButtonAnimationArrow: zu, publishArrowOut: Nu, publishButtonAnimationCheck: Hu, publishButtonAnimationCircle: Gu, isIdle: Uu, isLoading: Wu, publishArrowIn: ju, publishButtonCloud: _u, publish: qu, buttonGroup: Ku, button: Yu, primaryButton: Zu, secondaryButton: Qu, primaryButtonLabel: Xu, primaryButtonIcon: Ju, secondaryButtonIcon: ec, secondaryButtonLabel: tc, destructiveButtonIcon: nc, destructiveButton: ac, linkButton: ic, linkButtonIcon: sc, destructiveButtonLabel: oc, linkButtonLabel: lc, publishButtonIcon: rc, publishButton: uc, publishButtonLabel: cc }, Fa = /* @__PURE__ */ k({
|
|
3103
3084
|
__name: "FluxButtonGroup",
|
|
3104
3085
|
setup(t) {
|
|
3105
3086
|
return (e, a) => (c(), p("div", {
|
|
@@ -3144,7 +3125,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
3144
3125
|
}))
|
|
3145
3126
|
]), 1040, ["css-class", "css-class-icon", "css-class-label"]));
|
|
3146
3127
|
}
|
|
3147
|
-
}), { basePaneStructure: pn, basePaneElement: Ca, basePaneLoader: mc } = pt, pc = "base-pane-element", fc = "pane-header-caption", hc = "pane-header-icon", gc = "pane-tag", bc = "pane-media", vc = "pane-media-image", yc = "base-auto-grid", kc = "pane-group", Ac = "pane-illustration", $c = "pane-illustration-content", Fc = "pane-illustration-magic", Cc = "icon-boxed", Bc = "pane-media-inset pane-media", wc = "pane-illustration-content-controlled pane-illustration-content", Sc = "pane-illustration-masked pane-illustration", Ec = `pane ${pn}`, Ic = `pane-flat pane ${pn}`, Tc = `pane
|
|
3128
|
+
}), { basePaneStructure: pn, basePaneElement: Ca, basePaneLoader: mc } = pt, pc = "base-pane-element", fc = "pane-header-caption", hc = "pane-header-icon", gc = "pane-tag", bc = "pane-media", vc = "pane-media-image", yc = "base-auto-grid", kc = "pane-group", Ac = "pane-illustration", $c = "pane-illustration-content", Fc = "pane-illustration-magic", Cc = "icon-boxed", Bc = "pane-media-inset pane-media", wc = "pane-illustration-content-controlled pane-illustration-content", Sc = "pane-illustration-masked pane-illustration", Ec = `pane-default pane ${pn}`, Ic = `pane-flat pane ${pn}`, Tc = `pane ${pn}`, Lc = `pane-header ${Ca}`, Dc = `pane-well pane ${pn}`, Mc = `pane-footer ${Ca}`, Pc = `pane-loader ${mc}`, Vc = `pane-body ${Ca}`, xc = `pane-deck pane-default pane ${pn}`, oe = { basePaneElement: pc, paneHeaderCaption: fc, paneHeaderIcon: hc, paneTag: gc, paneMedia: bc, paneMediaImage: vc, baseAutoGrid: yc, paneGroup: kc, paneIllustration: Ac, paneIllustrationContent: $c, paneIllustrationMagic: Fc, iconBoxed: Cc, paneMediaInset: Bc, paneIllustrationContentControlled: wc, paneIllustrationMasked: Sc, paneDefault: Ec, paneFlat: Ic, pane: Tc, paneHeader: Lc, paneWell: Dc, paneFooter: Mc, paneLoader: Pc, paneBody: Vc, paneDeck: xc }, Lt = /* @__PURE__ */ k({
|
|
3148
3129
|
__name: "FluxPane",
|
|
3149
3130
|
props: {
|
|
3150
3131
|
isLoading: { type: Boolean },
|
|
@@ -3174,7 +3155,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
3174
3155
|
}, O(a.tag), 3)) : S("", !0)
|
|
3175
3156
|
], 2));
|
|
3176
3157
|
}
|
|
3177
|
-
}), Oc = "flyout", Rc = "flyout-dialog", zc = "flyout-pane", Nc = "is-auto-width", Hc = "is-closing", Gc = "close", Uc = "is-opening", Wc = "open",
|
|
3158
|
+
}), Oc = "flyout", Rc = "flyout-dialog", zc = "flyout-pane", Nc = "is-auto-width", Hc = "is-closing", Gc = "close", Uc = "is-opening", Wc = "open", jc = "mobile-close", _c = "mobile-open", Vt = { flyout: Oc, flyoutDialog: Rc, flyoutPane: zc, isAutoWidth: Nc, isClosing: Hc, close: Gc, isOpening: Uc, open: Wc, mobileClose: jc, mobileOpen: _c }, qc = ["onKeydown"], ot = /* @__PURE__ */ k({
|
|
3178
3159
|
__name: "FluxFlyout",
|
|
3179
3160
|
props: {
|
|
3180
3161
|
direction: { default: "vertical" },
|
|
@@ -3200,9 +3181,9 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
3200
3181
|
}), requestAnimationFrame(B);
|
|
3201
3182
|
}
|
|
3202
3183
|
function B() {
|
|
3203
|
-
const C = n(i), x = re(s), { top: G, left: T, width: V, height: M } = C.children[0].getBoundingClientRect(), { width:
|
|
3204
|
-
let
|
|
3205
|
-
t.direction === "horizontal" ? (
|
|
3184
|
+
const C = n(i), x = re(s), { top: G, left: T, width: V, height: M } = C.children[0].getBoundingClientRect(), { width: j, height: Q } = x.getBoundingClientRect();
|
|
3185
|
+
let _, me, Me = 0, Pt = 0;
|
|
3186
|
+
t.direction === "horizontal" ? (_ = T + V, me = G + M / 2 - Q / 2, Me = t.margin, _ + j > innerWidth - 30 && (_ = T - j, Me = -Me)) : (_ = T + V / 2 - j / 2, me = G + M, Pt = t.margin, me + Q > innerHeight - 30 && (me = G - Q, Pt = -Pt)), f.value = Math.max(30, Math.min(innerWidth - j - 30, _)), g.value = Math.max(30, Math.min(innerHeight - Q - 30, me)), $.value = Me, h.value = Pt;
|
|
3206
3187
|
}
|
|
3207
3188
|
function v() {
|
|
3208
3189
|
r.value ? F() : I();
|
|
@@ -3339,7 +3320,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
3339
3320
|
},
|
|
3340
3321
|
slots: Object,
|
|
3341
3322
|
setup(t, { slots: e }) {
|
|
3342
|
-
const a =
|
|
3323
|
+
const a = _t(), i = P(null);
|
|
3343
3324
|
Ie(() => {
|
|
3344
3325
|
const l = a.proxy.$el;
|
|
3345
3326
|
l.addEventListener("mouseenter", s, { passive: !0 }), l.addEventListener("mouseleave", o, { passive: !0 });
|
|
@@ -3610,10 +3591,10 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
3610
3591
|
__name: "FluxAutoHeightTransition",
|
|
3611
3592
|
setup(t) {
|
|
3612
3593
|
function e(s) {
|
|
3613
|
-
|
|
3594
|
+
je(s) && (s.style.height = "auto");
|
|
3614
3595
|
}
|
|
3615
3596
|
function a(s) {
|
|
3616
|
-
if (!
|
|
3597
|
+
if (!je(s))
|
|
3617
3598
|
return;
|
|
3618
3599
|
const { width: o } = getComputedStyle(s);
|
|
3619
3600
|
s.style.position = "absolute", s.style.width = o, s.style.height = "auto", s.style.visibility = "hidden";
|
|
@@ -3621,7 +3602,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
3621
3602
|
s.style.removeProperty("position"), s.style.removeProperty("width"), s.style.removeProperty("visibility"), s.style.height = "0", getComputedStyle(s), requestAnimationFrame(() => requestAnimationFrame(() => s.style.height = l));
|
|
3622
3603
|
}
|
|
3623
3604
|
function i(s) {
|
|
3624
|
-
if (!
|
|
3605
|
+
if (!je(s))
|
|
3625
3606
|
return;
|
|
3626
3607
|
const { height: o } = getComputedStyle(s);
|
|
3627
3608
|
s.style.height = o, getComputedStyle(s), requestAnimationFrame(() => requestAnimationFrame(() => s.style.height = "0"));
|
|
@@ -3641,10 +3622,10 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
3641
3622
|
__name: "FluxAutoWidthTransition",
|
|
3642
3623
|
setup(t) {
|
|
3643
3624
|
function e(s) {
|
|
3644
|
-
|
|
3625
|
+
je(s) && (s.style.width = "auto");
|
|
3645
3626
|
}
|
|
3646
3627
|
function a(s) {
|
|
3647
|
-
if (!
|
|
3628
|
+
if (!je(s))
|
|
3648
3629
|
return;
|
|
3649
3630
|
const { height: o } = getComputedStyle(s);
|
|
3650
3631
|
s.style.position = "absolute", s.style.height = o, s.style.width = "auto", s.style.visibility = "hidden";
|
|
@@ -3652,7 +3633,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
3652
3633
|
s.style.removeProperty("position"), s.style.removeProperty("height"), s.style.removeProperty("visibility"), s.style.width = "0", getComputedStyle(s), requestAnimationFrame(() => requestAnimationFrame(() => s.style.width = l));
|
|
3653
3634
|
}
|
|
3654
3635
|
function i(s) {
|
|
3655
|
-
if (!
|
|
3636
|
+
if (!je(s))
|
|
3656
3637
|
return;
|
|
3657
3638
|
const { width: o } = getComputedStyle(s);
|
|
3658
3639
|
s.style.width = o, getComputedStyle(s), requestAnimationFrame(() => requestAnimationFrame(() => s.style.width = "0"));
|
|
@@ -3668,7 +3649,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
3668
3649
|
_: 3
|
|
3669
3650
|
}));
|
|
3670
3651
|
}
|
|
3671
|
-
}), yd = "breakthrough-transition-enter-active", kd = "breakthrough-transition-back-enter-active", Ad = "breakthrough-transition-leave-active", $d = "breakthrough-transition-back-leave-active", Fd = "breakthrough-transition-enter-from", Cd = "breakthrough-transition-back-leave-to", Bd = "breakthrough-transition-leave-to", wd = "breakthrough-transition-back-enter-from", Sd = "fade-transition-enter-active", Ed = "fade-transition-leave-active", Id = "fade-transition-enter-from", Td = "fade-transition-leave-to", Ld = "fade-transition-enter-to", Dd = "fade-transition-leave-from", Md = "route-transition-enter-active", Pd = "route-transition-back-enter-active", Vd = "route-transition-leave-active", xd = "route-transition-back-leave-active", Od = "route-transition-enter-from", Rd = "route-transition-back-leave-to", zd = "route-transition-leave-to", Nd = "route-transition-back-enter-from", Hd = "tooltip-transition-enter-active", Gd = "tooltip-transition-leave-active", Ud = "tooltip-transition-enter-from", Wd = "tooltip-transition-leave-to",
|
|
3652
|
+
}), yd = "breakthrough-transition-enter-active", kd = "breakthrough-transition-back-enter-active", Ad = "breakthrough-transition-leave-active", $d = "breakthrough-transition-back-leave-active", Fd = "breakthrough-transition-enter-from", Cd = "breakthrough-transition-back-leave-to", Bd = "breakthrough-transition-leave-to", wd = "breakthrough-transition-back-enter-from", Sd = "fade-transition-enter-active", Ed = "fade-transition-leave-active", Id = "fade-transition-enter-from", Td = "fade-transition-leave-to", Ld = "fade-transition-enter-to", Dd = "fade-transition-leave-from", Md = "route-transition-enter-active", Pd = "route-transition-back-enter-active", Vd = "route-transition-leave-active", xd = "route-transition-back-leave-active", Od = "route-transition-enter-from", Rd = "route-transition-back-leave-to", zd = "route-transition-leave-to", Nd = "route-transition-back-enter-from", Hd = "tooltip-transition-enter-active", Gd = "tooltip-transition-leave-active", Ud = "tooltip-transition-enter-from", Wd = "tooltip-transition-leave-to", jd = "vertical-window-transition-enter-active", _d = "vertical-window-transition-back-enter-active", qd = "vertical-window-transition-leave-active", Kd = "vertical-window-transition-back-leave-active", Yd = "vertical-window-transition-back-leave-to", Zd = "vertical-window-transition-enter-from", Qd = "vertical-window-transition-back-enter-from", Xd = "vertical-window-transition-leave-to", Jd = "window-transition-enter-active", em = "window-transition-back-enter-active", tm = "window-transition-leave-active", nm = "window-transition-back-leave-active", am = "window-transition-back-leave-to", im = "window-transition-enter-from", sm = "window-transition-back-enter-from", om = "window-transition-leave-to", K = { breakthroughTransitionEnterActive: yd, breakthroughTransitionBackEnterActive: kd, breakthroughTransitionLeaveActive: Ad, breakthroughTransitionBackLeaveActive: $d, breakthroughTransitionEnterFrom: Fd, breakthroughTransitionBackLeaveTo: Cd, breakthroughTransitionLeaveTo: Bd, breakthroughTransitionBackEnterFrom: wd, fadeTransitionEnterActive: Sd, fadeTransitionLeaveActive: Ed, fadeTransitionEnterFrom: Id, fadeTransitionLeaveTo: Td, fadeTransitionEnterTo: Ld, fadeTransitionLeaveFrom: Dd, routeTransitionEnterActive: Md, routeTransitionBackEnterActive: Pd, routeTransitionLeaveActive: Vd, routeTransitionBackLeaveActive: xd, routeTransitionEnterFrom: Od, routeTransitionBackLeaveTo: Rd, routeTransitionLeaveTo: zd, routeTransitionBackEnterFrom: Nd, tooltipTransitionEnterActive: Hd, tooltipTransitionLeaveActive: Gd, tooltipTransitionEnterFrom: Ud, tooltipTransitionLeaveTo: Wd, verticalWindowTransitionEnterActive: jd, verticalWindowTransitionBackEnterActive: _d, verticalWindowTransitionLeaveActive: qd, verticalWindowTransitionBackLeaveActive: Kd, verticalWindowTransitionBackLeaveTo: Yd, verticalWindowTransitionEnterFrom: Zd, verticalWindowTransitionBackEnterFrom: Qd, verticalWindowTransitionLeaveTo: Xd, windowTransitionEnterActive: Jd, windowTransitionBackEnterActive: em, windowTransitionLeaveActive: tm, windowTransitionBackLeaveActive: nm, windowTransitionBackLeaveTo: am, windowTransitionEnterFrom: im, windowTransitionBackEnterFrom: sm, windowTransitionLeaveTo: om }, lF = /* @__PURE__ */ k({
|
|
3672
3653
|
__name: "FluxBreakthroughTransition",
|
|
3673
3654
|
props: {
|
|
3674
3655
|
isBack: { type: Boolean },
|
|
@@ -3826,7 +3807,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
3826
3807
|
_: 3
|
|
3827
3808
|
}, 8, ["mode", "enter-active-class", "enter-from-class", "leave-active-class", "leave-to-class"]));
|
|
3828
3809
|
}
|
|
3829
|
-
}), Tm = "avatar", Lm = "avatar-image", Dm = "avatar-fallback", Mm = "icon", Pm = "avatar-loading", Vm = "spinner", xm = "avatar-status", Om = "avatar-clickable", Rm = "persona", zm = "persona-details", Nm = "avatar-fallback-colorized avatar-fallback", Hm = "avatar-fallback-neutral avatar-fallback", Gm = "avatar-status-gray avatar-status", Um = "avatar-status-primary avatar-status", Wm = "avatar-status-danger avatar-status",
|
|
3810
|
+
}), Tm = "avatar", Lm = "avatar-image", Dm = "avatar-fallback", Mm = "icon", Pm = "avatar-loading", Vm = "spinner", xm = "avatar-status", Om = "avatar-clickable", Rm = "persona", zm = "persona-details", Nm = "avatar-fallback-colorized avatar-fallback", Hm = "avatar-fallback-neutral avatar-fallback", Gm = "avatar-status-gray avatar-status", Um = "avatar-status-primary avatar-status", Wm = "avatar-status-danger avatar-status", jm = "avatar-status-info avatar-status", _m = "avatar-status-success avatar-status", qm = "avatar-status-warning avatar-status", Km = "status-avatar avatar", Se = { avatar: Tm, avatarImage: Lm, avatarFallback: Dm, icon: Mm, avatarLoading: Pm, spinner: Vm, avatarStatus: xm, avatarClickable: Om, persona: Rm, personaDetails: zm, avatarFallbackColorized: Nm, avatarFallbackNeutral: Hm, avatarStatusGray: Gm, avatarStatusPrimary: Um, avatarStatusDanger: Wm, avatarStatusInfo: jm, avatarStatusSuccess: _m, avatarStatusWarning: qm, statusAvatar: Km }, Ym = ["alt", "src"], Zm = { key: 0 }, ss = /* @__PURE__ */ k({
|
|
3830
3811
|
__name: "FluxAvatar",
|
|
3831
3812
|
props: {
|
|
3832
3813
|
alt: {},
|
|
@@ -4159,7 +4140,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4159
4140
|
s();
|
|
4160
4141
|
}
|
|
4161
4142
|
return qt(() => {
|
|
4162
|
-
!t.anchor || !
|
|
4143
|
+
!t.anchor || !je(t.anchor) && !t.anchor.$el || (e.value = je(t.anchor) ? t.anchor : t.anchor.$el, requestAnimationFrame(o), requestAnimationFrame(s));
|
|
4163
4144
|
}), (u, m) => (c(), p("div", {
|
|
4164
4145
|
ref: "popup",
|
|
4165
4146
|
style: Y({
|
|
@@ -4171,7 +4152,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4171
4152
|
w(u.$slots, "default")
|
|
4172
4153
|
], 4));
|
|
4173
4154
|
}
|
|
4174
|
-
}), {
|
|
4155
|
+
}), { button: Fp, buttonIcon: os, buttonLabel: Cp } = zn, Bp = "menu", wp = "menu-group", Sp = "menu-item-active", Ep = "menu-item-destructive", Ip = "menu-item-highlighted", Tp = "menu-item-indented", Lp = "menu-item-selected", Dp = "menu-item-command", Mp = "menu-item-command-icon", Pp = "icon", Vp = "menu-item-image", xp = "menu-title", Op = "menu-sub-header", Rp = "menu-sub-header-icon", zp = "menu-sub-header-label", Np = "base-pane", Hp = "divider", Gp = "separator", Up = "expandable-body", Wp = "menu-normal menu", jp = "menu-large menu", _p = "menu-group-horizontal menu-group", qp = "menu-group-vertical menu-group", Kp = `menu-item ${Fp}`, Yp = `menu-item-icon ${os}`, Zp = `menu-item-label ${Cp}`, Qp = `menu-item-selectable-icon ${os}`, pe = { menu: Bp, menuGroup: wp, menuItemActive: Sp, menuItemDestructive: Ep, menuItemHighlighted: Ip, menuItemIndented: Tp, menuItemSelected: Lp, menuItemCommand: Dp, menuItemCommandIcon: Mp, icon: Pp, menuItemImage: Vp, menuTitle: xp, menuSubHeader: Op, menuSubHeaderIcon: Rp, menuSubHeaderLabel: zp, basePane: Np, divider: Hp, separator: Gp, expandableBody: Up, menuNormal: Wp, menuLarge: jp, menuGroupHorizontal: _p, menuGroupVertical: qp, menuItem: Kp, menuItemIcon: Yp, menuItemLabel: Zp, menuItemSelectableIcon: Qp }, Xp = ["src"], _e = /* @__PURE__ */ k({
|
|
4175
4156
|
__name: "FluxMenuItem",
|
|
4176
4157
|
props: {
|
|
4177
4158
|
type: { default: "button" },
|
|
@@ -4257,7 +4238,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4257
4238
|
} : void 0
|
|
4258
4239
|
]), 1040, ["css-class", "css-class-icon", "css-class-label", "role", "class", "aria-checked"]));
|
|
4259
4240
|
}
|
|
4260
|
-
}), { basePaneStructure: Jp } = pt, ef = "button-group", tf = "button", nf = "form-input", af = "form-structure-element", sf = "pane", of = "form-row", lf = "form-section-title", rf = "form-field", uf = "form-field-header", cf = "form-field-label", df = "form-field-optional", mf = "form-field-value", pf = "form-field-counter", ff = "form-field-addition", hf = "form-field-addition-icon", gf = "is-secondary", bf = "form-input-icon", vf = "form-input-native", yf = "form-input-native-has-icon-leading", kf = "form-input-native-has-icon-trailing", Af = "secondary-button", $f = "form-date-input", Ff = "form-date-time-input", Cf = "input-group", Bf = "is-disabled", wf = "is-focused", Sf = "badge", Ef = "form-select-icon", If = "form-select-input", Tf = "form-select-placeholder", Lf = "menu-item", Df = "is-keyboard-action", Mf = "is-searchable", Pf = "menu-sub-header", Vf = "form-select-selected", xf = "button-label", Of = "form-text-area", Rf = "checkbox", zf = "checkbox-element", Nf = "checkbox-native", Hf = "icon", Gf = "checkbox-label", Uf = "quantity-selector", Wf = "quantity-selector-button",
|
|
4241
|
+
}), { basePaneStructure: Jp } = pt, ef = "button-group", tf = "button", nf = "form-input", af = "form-structure-element", sf = "pane", of = "form-row", lf = "form-section-title", rf = "form-field", uf = "form-field-header", cf = "form-field-label", df = "form-field-optional", mf = "form-field-value", pf = "form-field-counter", ff = "form-field-addition", hf = "form-field-addition-icon", gf = "is-secondary", bf = "form-input-icon", vf = "form-input-native", yf = "form-input-native-has-icon-leading", kf = "form-input-native-has-icon-trailing", Af = "secondary-button", $f = "form-date-input", Ff = "form-date-time-input", Cf = "input-group", Bf = "is-disabled", wf = "is-focused", Sf = "badge", Ef = "form-select-icon", If = "form-select-input", Tf = "form-select-placeholder", Lf = "menu-item", Df = "is-keyboard-action", Mf = "is-searchable", Pf = "menu-sub-header", Vf = "form-select-selected", xf = "button-label", Of = "form-text-area", Rf = "checkbox", zf = "checkbox-element", Nf = "checkbox-native", Hf = "icon", Gf = "checkbox-label", Uf = "quantity-selector", Wf = "quantity-selector-button", jf = "pin-input", _f = "pin-input-field", qf = "toggle", Kf = "is-checked", Yf = "toggle-input", Zf = "is-switch", Qf = "toggle-icon", Xf = "form-input-group form-input-enabled form-input", Jf = "form-select form-input", eh = "form form-structure-element", th = "form-column form-structure-element", nh = "form-section form-structure-element", ah = "form-field-addition-error form-field-addition", ih = "form-field-addition-hint form-field-addition", sh = "form-input-disabled form-input", oh = "form-input-enabled form-input", lh = "form-input-icon-trailing form-input-icon", rh = "form-input-icon-leading form-input-icon", uh = "form-input-icon-password-toggle form-input-icon-trailing form-input-icon", ch = "form-input-addition form-input", dh = "form-date-range-input form-input", mh = "form-time-input form-date-input", ph = "form-text-area-disabled form-input-disabled form-input form-text-area", fh = "form-text-area-enabled form-input-enabled form-input form-text-area", hh = "quantity-selector-input form-input", gh = "pin-input-enabled pin-input", bh = "pin-input-disabled pin-input", vh = "toggle-icon-on toggle-icon", yh = "toggle-icon-off toggle-icon", kh = `form-select-popup ${Jp}`, R = { buttonGroup: ef, button: tf, formInput: nf, formStructureElement: af, pane: sf, formRow: of, formSectionTitle: lf, formField: rf, formFieldHeader: uf, formFieldLabel: cf, formFieldOptional: df, formFieldValue: mf, formFieldCounter: pf, formFieldAddition: ff, formFieldAdditionIcon: hf, isSecondary: gf, formInputIcon: bf, formInputNative: vf, formInputNativeHasIconLeading: yf, formInputNativeHasIconTrailing: kf, secondaryButton: Af, formDateInput: $f, formDateTimeInput: Ff, inputGroup: Cf, isDisabled: Bf, isFocused: wf, badge: Sf, formSelectIcon: Ef, formSelectInput: If, formSelectPlaceholder: Tf, menuItem: Lf, isKeyboardAction: Df, isSearchable: Mf, menuSubHeader: Pf, formSelectSelected: Vf, buttonLabel: xf, formTextArea: Of, checkbox: Rf, checkboxElement: zf, checkboxNative: Nf, icon: Hf, checkboxLabel: Gf, quantitySelector: Uf, quantitySelectorButton: Wf, pinInput: jf, pinInputField: _f, toggle: qf, isChecked: Kf, toggleInput: Yf, isSwitch: Zf, toggleIcon: Qf, formInputGroup: Xf, formSelect: Jf, form: eh, formColumn: th, formSection: nh, formFieldAdditionError: ah, formFieldAdditionHint: ih, formInputDisabled: sh, formInputEnabled: oh, formInputIconTrailing: lh, formInputIconLeading: rh, formInputIconPasswordToggle: uh, formInputAddition: ch, formDateRangeInput: dh, formTimeInput: mh, formTextAreaDisabled: ph, formTextAreaEnabled: fh, quantitySelectorInput: hh, pinInputEnabled: gh, pinInputDisabled: bh, toggleIconOn: vh, toggleIconOff: yh, formSelectPopup: kh }, Ah = ["aria-disabled"], $h = ["id", "autocomplete", "autofocus", "aria-disabled", "disabled", "max", "maxlength", "min", "placeholder", "readonly", "step", "type", "value"], we = /* @__PURE__ */ k({
|
|
4261
4242
|
__name: "FluxFormInput",
|
|
4262
4243
|
props: /* @__PURE__ */ ee({
|
|
4263
4244
|
autoComplete: {},
|
|
@@ -4351,7 +4332,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4351
4332
|
}, { immediate: !0 }), z([l, () => t.pattern, u], ([v, E, C], x, G) => {
|
|
4352
4333
|
if (!v || !E)
|
|
4353
4334
|
return;
|
|
4354
|
-
const T =
|
|
4335
|
+
const T = _s[E](v);
|
|
4355
4336
|
C && (T.value = C, u.value = T.value), G(() => T.destroy());
|
|
4356
4337
|
}, { immediate: !0 }), z(() => t.type, (v) => m.value = v), e({
|
|
4357
4338
|
blur: f,
|
|
@@ -4484,7 +4465,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4484
4465
|
type: "search"
|
|
4485
4466
|
}, null, 8, ["modelValue", "placeholder"])
|
|
4486
4467
|
], 2)) : S("", !0),
|
|
4487
|
-
o.isLoading && o.options.length === 0 ? (c(), b(
|
|
4468
|
+
o.isLoading && o.options.length === 0 ? (c(), b(_e, {
|
|
4488
4469
|
key: 1,
|
|
4489
4470
|
disabled: "",
|
|
4490
4471
|
"is-loading": ""
|
|
@@ -4492,7 +4473,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4492
4473
|
n(ga)(r) ? (c(), b(fa, {
|
|
4493
4474
|
key: 0,
|
|
4494
4475
|
label: r.title
|
|
4495
|
-
}, null, 8, ["label"])) : n(st)(r) ? (c(), b(
|
|
4476
|
+
}, null, 8, ["label"])) : n(st)(r) ? (c(), b(_e, {
|
|
4496
4477
|
key: 1,
|
|
4497
4478
|
"is-selectable": "",
|
|
4498
4479
|
"is-selected": o.selected.includes(r.value),
|
|
@@ -4616,7 +4597,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4616
4597
|
var T;
|
|
4617
4598
|
return (T = n(B)[n(g)]) == null ? void 0 : T.value;
|
|
4618
4599
|
}), B = L(() => t.options.map((T) => T[1]).flat());
|
|
4619
|
-
|
|
4600
|
+
ja([r, u], h, () => h.value = !1), ja(r, h, () => {
|
|
4620
4601
|
var T;
|
|
4621
4602
|
return (T = n(F)) == null ? void 0 : T.focus();
|
|
4622
4603
|
});
|
|
@@ -4641,7 +4622,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4641
4622
|
return;
|
|
4642
4623
|
}
|
|
4643
4624
|
if ($.value = !0, n(g) === nn && ["ArrowDown", "ArrowUp"].includes(T.key)) {
|
|
4644
|
-
const V = n(m), M = V == null ? void 0 : V.findIndex((
|
|
4625
|
+
const V = n(m), M = V == null ? void 0 : V.findIndex((j) => "isActive" in j.$props && j.$props.isActive);
|
|
4645
4626
|
g.value = M ?? nn;
|
|
4646
4627
|
}
|
|
4647
4628
|
switch (T.key) {
|
|
@@ -4667,7 +4648,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4667
4648
|
h.value = !1;
|
|
4668
4649
|
return;
|
|
4669
4650
|
default:
|
|
4670
|
-
T.key.match(/[a-z]/) ? g.value = n(B).findIndex((
|
|
4651
|
+
T.key.match(/[a-z]/) ? g.value = n(B).findIndex((j) => j.label.toLowerCase().startsWith(T.key)) : g.value = -1;
|
|
4671
4652
|
return;
|
|
4672
4653
|
}
|
|
4673
4654
|
T.preventDefault();
|
|
@@ -4692,8 +4673,8 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4692
4673
|
const V = n(m);
|
|
4693
4674
|
if (!V || t.isMultiple)
|
|
4694
4675
|
return;
|
|
4695
|
-
const M = V.findIndex((Q) => "isActive" in Q.$props && Q.$props.isActive),
|
|
4696
|
-
|
|
4676
|
+
const M = V.findIndex((Q) => "isActive" in Q.$props && Q.$props.isActive), j = V[M];
|
|
4677
|
+
j && j.$el.scrollIntoView({
|
|
4697
4678
|
block: "center"
|
|
4698
4679
|
});
|
|
4699
4680
|
}), a("open");
|
|
@@ -4714,7 +4695,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4714
4695
|
onKeyup: G
|
|
4715
4696
|
}), {
|
|
4716
4697
|
default: A(() => [
|
|
4717
|
-
!T.isMultiple && T.selected[0] ? (c(), b(
|
|
4698
|
+
!T.isMultiple && T.selected[0] ? (c(), b(_e, {
|
|
4718
4699
|
key: 0,
|
|
4719
4700
|
class: d(n(R).formSelectSelected),
|
|
4720
4701
|
command: T.selected[0].command,
|
|
@@ -4726,7 +4707,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4726
4707
|
key: M.value ?? "null option",
|
|
4727
4708
|
label: M.label,
|
|
4728
4709
|
"is-deletable": "",
|
|
4729
|
-
onDelete: (
|
|
4710
|
+
onDelete: (j) => v(M.value)
|
|
4730
4711
|
}, null, 8, ["label", "onDelete"]))), 128)) : T.placeholder ? (c(), p("span", {
|
|
4731
4712
|
key: 2,
|
|
4732
4713
|
class: d(n(R).formSelectPlaceholder)
|
|
@@ -4780,7 +4761,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4780
4761
|
_: 1
|
|
4781
4762
|
})) : (c(), b(ln, { key: 2 }, {
|
|
4782
4763
|
default: A(() => [
|
|
4783
|
-
(c(!0), p(N, null, q(T.options, ([M,
|
|
4764
|
+
(c(!0), p(N, null, q(T.options, ([M, j], Q) => (c(), p(N, {
|
|
4784
4765
|
key: `group-${Q}`
|
|
4785
4766
|
}, [
|
|
4786
4767
|
y(It, null, {
|
|
@@ -4790,36 +4771,36 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4790
4771
|
"icon-leading": M.icon,
|
|
4791
4772
|
label: M.label
|
|
4792
4773
|
}, null, 8, ["icon-leading", "label"])) : S("", !0),
|
|
4793
|
-
(c(!0), p(N, null, q(
|
|
4794
|
-
n(ct)(
|
|
4774
|
+
(c(!0), p(N, null, q(j, (_, me) => (c(), p(N, null, [
|
|
4775
|
+
n(ct)(_) ? (c(), b(_e, {
|
|
4795
4776
|
ref_for: !0,
|
|
4796
4777
|
ref: "optionElements",
|
|
4797
4778
|
key: me,
|
|
4798
|
-
command:
|
|
4799
|
-
"command-icon":
|
|
4800
|
-
"icon-leading":
|
|
4801
|
-
"is-active": !!T.selected.find((Me) => Me.value ===
|
|
4802
|
-
"is-highlighted": I.value ===
|
|
4803
|
-
label:
|
|
4779
|
+
command: _.command,
|
|
4780
|
+
"command-icon": _.commandIcon,
|
|
4781
|
+
"icon-leading": _.icon,
|
|
4782
|
+
"is-active": !!T.selected.find((Me) => Me.value === _.value),
|
|
4783
|
+
"is-highlighted": I.value === _.value,
|
|
4784
|
+
label: _.label,
|
|
4804
4785
|
type: "button",
|
|
4805
|
-
onClick: (Me) => E(
|
|
4786
|
+
onClick: (Me) => E(_.value)
|
|
4806
4787
|
}, null, 8, ["command", "command-icon", "icon-leading", "is-active", "is-highlighted", "label", "onClick"])) : S("", !0)
|
|
4807
4788
|
], 64))), 256))
|
|
4808
4789
|
]),
|
|
4809
4790
|
_: 2
|
|
4810
4791
|
}, 1024),
|
|
4811
|
-
n(ct)(M) ? (c(), b(
|
|
4792
|
+
n(ct)(M) ? (c(), b(_e, {
|
|
4812
4793
|
ref_for: !0,
|
|
4813
4794
|
ref: "optionElements",
|
|
4814
4795
|
key: `item-${Q}`,
|
|
4815
4796
|
command: M.command,
|
|
4816
4797
|
"command-icon": M.commandIcon,
|
|
4817
4798
|
"icon-leading": M.icon,
|
|
4818
|
-
"is-active": !!T.selected.find((
|
|
4799
|
+
"is-active": !!T.selected.find((_) => _.value === M.value),
|
|
4819
4800
|
"is-highlighted": I.value === M.value,
|
|
4820
4801
|
label: M.label,
|
|
4821
4802
|
type: "button",
|
|
4822
|
-
onClick: (
|
|
4803
|
+
onClick: (_) => E(M.value)
|
|
4823
4804
|
}, null, 8, ["command", "command-icon", "icon-leading", "is-active", "is-highlighted", "label", "onClick"])) : S("", !0)
|
|
4824
4805
|
], 64))), 128))
|
|
4825
4806
|
]),
|
|
@@ -4834,7 +4815,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4834
4815
|
]))
|
|
4835
4816
|
], 64));
|
|
4836
4817
|
}
|
|
4837
|
-
}), Oh = "slider", Rh = "is-disabled", zh = "is-dragging", Nh = "slider-thumb", Hh = "slider-track", Gh = "slider-track-value", Uh = "tick", Wh = "ticks",
|
|
4818
|
+
}), Oh = "slider", Rh = "is-disabled", zh = "is-dragging", Nh = "slider-thumb", Hh = "slider-track", Gh = "slider-track-value", Uh = "tick", Wh = "ticks", jh = "tick-large tick", _h = "tick-small tick", qe = { slider: Oh, isDisabled: Rh, isDragging: zh, sliderThumb: Nh, sliderTrack: Hh, sliderTrackValue: Gh, tick: Uh, ticks: Wh, tickLarge: jh, tickSmall: _h }, qh = /* @__PURE__ */ k({
|
|
4838
4819
|
__name: "FluxTicks",
|
|
4839
4820
|
props: {
|
|
4840
4821
|
lower: {},
|
|
@@ -4978,7 +4959,7 @@ const { buttonIcon: cn, button: dn, buttonLabel: mn } = zn, Vu = "spinner", xu =
|
|
|
4978
4959
|
}
|
|
4979
4960
|
});
|
|
4980
4961
|
function cs(t, e, a, i, s, o) {
|
|
4981
|
-
const l =
|
|
4962
|
+
const l = _t();
|
|
4982
4963
|
let r = null, u = 0;
|
|
4983
4964
|
Ie(() => {
|
|
4984
4965
|
window.addEventListener("keydown", m);
|
|
@@ -5071,7 +5052,7 @@ const Zh = "divider", Qh = "divider-content", Xh = "divider-line", Jh = "separat
|
|
|
5071
5052
|
}
|
|
5072
5053
|
return z(() => t.item, async () => {
|
|
5073
5054
|
l.value = await n(o)(t.value) ?? void 0;
|
|
5074
|
-
}, { deep: !0, immediate: !0 }), (u, m) => (c(), b(
|
|
5055
|
+
}, { deep: !0, immediate: !0 }), (u, m) => (c(), b(_e, {
|
|
5075
5056
|
command: l.value,
|
|
5076
5057
|
"command-icon": "angle-right",
|
|
5077
5058
|
"command-loading": n(i),
|
|
@@ -5230,7 +5211,7 @@ const bg = {
|
|
|
5230
5211
|
setup(t) {
|
|
5231
5212
|
return () => t.vnode;
|
|
5232
5213
|
}
|
|
5233
|
-
}), { basePaneStructure: vg, basePaneLoader: yg } = pt, kg = "calendar-actions", Ag = "calendar-current", $g = "calendar-current-value", Fg = "calendar-cells", Cg = "calendar-cell", Bg = "is-disabled", wg = "calendar-entry-date", Sg = "calendar-events", Eg = "calendar-event", Ig = "is-single", Tg = "is-middle", Lg = "is-start", Dg = "is-end", Mg = "calendar-current-month calendar-current-value", Pg = "calendar-current-year calendar-current-value", Vg = "calendar-day calendar-cell", xg = "calendar-entry calendar-cell", Og = `calendar ${vg}`, Rg = `calendar-loader ${yg}`, Be = { calendarActions: kg, calendarCurrent: Ag, calendarCurrentValue: $g, calendarCells: Fg, calendarCell: Cg, isDisabled: Bg, calendarEntryDate: wg, calendarEvents: Sg, calendarEvent: Eg, isSingle: Ig, isMiddle: Tg, isStart: Lg, isEnd: Dg, calendarCurrentMonth: Mg, calendarCurrentYear: Pg, calendarDay: Vg, calendarEntry: xg, calendar: Og, calendarLoader: Rg }, zg = "date-picker", Ng = "date-picker-dates", Hg = "date-picker-months", Gg = "date-picker-years", Ug = "date-picker-header", Wg = "date-picker-header-view",
|
|
5214
|
+
}), { basePaneStructure: vg, basePaneLoader: yg } = pt, kg = "calendar-actions", Ag = "calendar-current", $g = "calendar-current-value", Fg = "calendar-cells", Cg = "calendar-cell", Bg = "is-disabled", wg = "calendar-entry-date", Sg = "calendar-events", Eg = "calendar-event", Ig = "is-single", Tg = "is-middle", Lg = "is-start", Dg = "is-end", Mg = "calendar-current-month calendar-current-value", Pg = "calendar-current-year calendar-current-value", Vg = "calendar-day calendar-cell", xg = "calendar-entry calendar-cell", Og = `calendar ${vg}`, Rg = `calendar-loader ${yg}`, Be = { calendarActions: kg, calendarCurrent: Ag, calendarCurrentValue: $g, calendarCells: Fg, calendarCell: Cg, isDisabled: Bg, calendarEntryDate: wg, calendarEvents: Sg, calendarEvent: Eg, isSingle: Ig, isMiddle: Tg, isStart: Lg, isEnd: Dg, calendarCurrentMonth: Mg, calendarCurrentYear: Pg, calendarDay: Vg, calendarEntry: xg, calendar: Og, calendarLoader: Rg }, zg = "date-picker", Ng = "date-picker-dates", Hg = "date-picker-months", Gg = "date-picker-years", Ug = "date-picker-header", Wg = "date-picker-header-view", jg = "date-picker-header-view-button", _g = "date-picker-date", qg = "is-disabled", Kg = "is-range-entry", Yg = "is-range-end", Zg = "is-range-start", Qg = "is-selection-entry", Xg = "is-selection-end", Jg = "is-selection-start", eb = "is-selected", tb = "date-picker-dates-grid", nb = "date-picker-day", ab = "button", ge = { datePicker: zg, datePickerDates: Ng, datePickerMonths: Hg, datePickerYears: Gg, datePickerHeader: Ug, datePickerHeaderView: Wg, datePickerHeaderViewButton: jg, datePickerDate: _g, isDisabled: qg, isRangeEntry: Kg, isRangeEnd: Yg, isRangeStart: Zg, isSelectionEntry: Qg, isSelectionEnd: Xg, isSelectionStart: Jg, isSelected: eb, datePickerDatesGrid: tb, datePickerDay: nb, button: ab }, ib = ["onClick"], sb = ["onClick"], pF = /* @__PURE__ */ k({
|
|
5234
5215
|
__name: "FluxCalendar",
|
|
5235
5216
|
props: {
|
|
5236
5217
|
initialDate: { default: () => Fe.now() },
|
|
@@ -5261,16 +5242,16 @@ const bg = {
|
|
|
5261
5242
|
return mt(((M = i.default) == null ? void 0 : M.call(i)) ?? []);
|
|
5262
5243
|
}), C = L(() => n(E).filter((M) => ka(M) === "FluxCalendarEvent"));
|
|
5263
5244
|
function x(M) {
|
|
5264
|
-
const
|
|
5265
|
-
return n(C).map((Q,
|
|
5245
|
+
const j = M.toSQLDate();
|
|
5246
|
+
return n(C).map((Q, _) => {
|
|
5266
5247
|
const { date: me } = Ct(Q);
|
|
5267
5248
|
return Array.isArray(me) ? M < me[0] || M > me[1] ? null : {
|
|
5268
|
-
type:
|
|
5269
|
-
index:
|
|
5249
|
+
type: j === me[0].toSQLDate() ? "start" : j === me[1].toSQLDate() ? "end" : "middle",
|
|
5250
|
+
index: _,
|
|
5270
5251
|
vnode: Q
|
|
5271
|
-
} :
|
|
5252
|
+
} : j !== me.toSQLDate() ? null : {
|
|
5272
5253
|
type: "single",
|
|
5273
|
-
index:
|
|
5254
|
+
index: _,
|
|
5274
5255
|
vnode: Q
|
|
5275
5256
|
};
|
|
5276
5257
|
}).filter((Q) => Q !== null);
|
|
@@ -5278,15 +5259,15 @@ const bg = {
|
|
|
5278
5259
|
function G() {
|
|
5279
5260
|
$(Fe.now());
|
|
5280
5261
|
}
|
|
5281
|
-
function T(M,
|
|
5282
|
-
|
|
5262
|
+
function T(M, j) {
|
|
5263
|
+
j(), $(M);
|
|
5283
5264
|
}
|
|
5284
|
-
function V(M,
|
|
5285
|
-
|
|
5265
|
+
function V(M, j) {
|
|
5266
|
+
j(), $(n(o).set({ year: M }));
|
|
5286
5267
|
}
|
|
5287
|
-
return z([o, u], ([M,
|
|
5288
|
-
a("navigate", M,
|
|
5289
|
-
}, { immediate: !0 }), z(() => t.initialDate, $), (M,
|
|
5268
|
+
return z([o, u], ([M, j]) => {
|
|
5269
|
+
a("navigate", M, j[0], j[j.length - 1]);
|
|
5270
|
+
}, { immediate: !0 }), z(() => t.initialDate, $), (M, j) => (c(), p("div", {
|
|
5290
5271
|
class: d(n(Be).calendar)
|
|
5291
5272
|
}, [
|
|
5292
5273
|
y(od, {
|
|
@@ -5309,11 +5290,11 @@ const bg = {
|
|
|
5309
5290
|
D("div", {
|
|
5310
5291
|
class: d(n(ge).datePickerMonths)
|
|
5311
5292
|
}, [
|
|
5312
|
-
(c(!0), p(N, null, q(n(h), (
|
|
5313
|
-
key:
|
|
5314
|
-
label:
|
|
5293
|
+
(c(!0), p(N, null, q(n(h), (_) => (c(), b(ue, {
|
|
5294
|
+
key: _,
|
|
5295
|
+
label: _.label,
|
|
5315
5296
|
tabindex: "-1",
|
|
5316
|
-
onClick: (me) => T(
|
|
5297
|
+
onClick: (me) => T(_.date, Q)
|
|
5317
5298
|
}, null, 8, ["label", "onClick"]))), 128))
|
|
5318
5299
|
], 2)
|
|
5319
5300
|
]),
|
|
@@ -5336,11 +5317,11 @@ const bg = {
|
|
|
5336
5317
|
tabindex: "-1",
|
|
5337
5318
|
onClick: n(B)
|
|
5338
5319
|
}, null, 8, ["onClick"]),
|
|
5339
|
-
(c(!0), p(N, null, q(n(F), (
|
|
5340
|
-
key:
|
|
5341
|
-
label:
|
|
5320
|
+
(c(!0), p(N, null, q(n(F), (_) => (c(), b(ue, {
|
|
5321
|
+
key: _,
|
|
5322
|
+
label: _.toString(),
|
|
5342
5323
|
tabindex: "-1",
|
|
5343
|
-
onClick: (me) => V(
|
|
5324
|
+
onClick: (me) => V(_, Q)
|
|
5344
5325
|
}, null, 8, ["label", "onClick"]))), 128)),
|
|
5345
5326
|
y(ue, {
|
|
5346
5327
|
"icon-leading": "angle-right",
|
|
@@ -5394,17 +5375,17 @@ const bg = {
|
|
|
5394
5375
|
D("div", {
|
|
5395
5376
|
class: d(n(Be).calendarEvents)
|
|
5396
5377
|
}, [
|
|
5397
|
-
(c(!0), p(N, null, q(x(Q), (
|
|
5378
|
+
(c(!0), p(N, null, q(x(Q), (_) => (c(), b(n(Gn), {
|
|
5398
5379
|
class: d(n(Z)(
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5380
|
+
_.type === "single" && n(Be).isSingle,
|
|
5381
|
+
_.type === "start" && n(Be).isStart,
|
|
5382
|
+
_.type === "end" && n(Be).isEnd,
|
|
5383
|
+
_.type === "middle" && n(Be).isMiddle
|
|
5403
5384
|
)),
|
|
5404
5385
|
style: Y({
|
|
5405
|
-
gridRow:
|
|
5386
|
+
gridRow: _.index
|
|
5406
5387
|
}),
|
|
5407
|
-
vnode:
|
|
5388
|
+
vnode: _.vnode
|
|
5408
5389
|
}, null, 8, ["class", "style", "vnode"]))), 256))
|
|
5409
5390
|
], 2),
|
|
5410
5391
|
D("span", {
|
|
@@ -5724,15 +5705,15 @@ const bg = {
|
|
|
5724
5705
|
if (n(s))
|
|
5725
5706
|
return;
|
|
5726
5707
|
let [E, C] = n(i);
|
|
5727
|
-
const [x, G] = n(r), [T, V] = n(u), [M,
|
|
5728
|
-
B && (E = +ut(Math.max(T, Math.min(x, E - M)), M).toPrecision(4)), v && (C = +ut(Math.max(V, Math.min(G, C -
|
|
5708
|
+
const [x, G] = n(r), [T, V] = n(u), [M, j] = n(m);
|
|
5709
|
+
B && (E = +ut(Math.max(T, Math.min(x, E - M)), M).toPrecision(4)), v && (C = +ut(Math.max(V, Math.min(G, C - j)), j).toPrecision(4)), i.value = [E, C];
|
|
5729
5710
|
}
|
|
5730
5711
|
function $(B, v) {
|
|
5731
5712
|
if (n(s))
|
|
5732
5713
|
return;
|
|
5733
5714
|
let [E, C] = n(i);
|
|
5734
|
-
const [x, G] = n(r), [T, V] = n(u), [M,
|
|
5735
|
-
B && (E = +ut(Math.max(T, Math.min(x, E + M)), M).toPrecision(4)), v && (C = +ut(Math.max(V, Math.min(G, C +
|
|
5715
|
+
const [x, G] = n(r), [T, V] = n(u), [M, j] = n(m);
|
|
5716
|
+
B && (E = +ut(Math.max(T, Math.min(x, E + M)), M).toPrecision(4)), v && (C = +ut(Math.max(V, Math.min(G, C + j)), j).toPrecision(4)), i.value = [E, C];
|
|
5736
5717
|
}
|
|
5737
5718
|
function h(B) {
|
|
5738
5719
|
n(s) || (l.value = !0, requestAnimationFrame(() => F(B)));
|
|
@@ -5742,9 +5723,9 @@ const bg = {
|
|
|
5742
5723
|
if (!n(l) || !v)
|
|
5743
5724
|
return;
|
|
5744
5725
|
const [E, C] = n(r), [x, G] = n(u), [T, V] = n(m);
|
|
5745
|
-
let { top: M, left:
|
|
5746
|
-
M += 6,
|
|
5747
|
-
const me = Math.max(0, Math.min(1, (B.clientX -
|
|
5726
|
+
let { top: M, left: j, width: Q, height: _ } = v.getBoundingClientRect();
|
|
5727
|
+
M += 6, j += 6, Q -= 12, _ -= 12;
|
|
5728
|
+
const me = Math.max(0, Math.min(1, (B.clientX - j) / Q)), Me = Math.max(0, Math.min(1, (B.clientY - M) / _));
|
|
5748
5729
|
i.value = [
|
|
5749
5730
|
+ut(me * (E - x) + x, T).toPrecision(4),
|
|
5750
5731
|
+ut(Me * (C - G) + G, V).toPrecision(4)
|
|
@@ -5769,7 +5750,7 @@ const bg = {
|
|
|
5769
5750
|
}, null, 8, ["disabled", "is-dragging", "position"])
|
|
5770
5751
|
], 42, zb));
|
|
5771
5752
|
}
|
|
5772
|
-
}), Hb = { key: 1 },
|
|
5753
|
+
}), Hb = { key: 1 }, _a = /* @__PURE__ */ k({
|
|
5773
5754
|
__name: "FluxFormFieldAddition",
|
|
5774
5755
|
props: {
|
|
5775
5756
|
icon: {},
|
|
@@ -5834,13 +5815,13 @@ const bg = {
|
|
|
5834
5815
|
key: 0,
|
|
5835
5816
|
class: d(n(R).formFieldCounter)
|
|
5836
5817
|
}, O(s.currentLength) + " / " + O(s.maxLength), 3)) : S("", !0),
|
|
5837
|
-
s.error ? (c(), b(
|
|
5818
|
+
s.error ? (c(), b(_a, {
|
|
5838
5819
|
key: 1,
|
|
5839
5820
|
icon: "circle-exclamation",
|
|
5840
5821
|
mode: "error",
|
|
5841
5822
|
message: s.error
|
|
5842
5823
|
}, null, 8, ["message"])) : S("", !0),
|
|
5843
|
-
s.hint ? (c(), b(
|
|
5824
|
+
s.hint ? (c(), b(_a, {
|
|
5844
5825
|
key: 2,
|
|
5845
5826
|
icon: "circle-info",
|
|
5846
5827
|
message: s.hint
|
|
@@ -5932,7 +5913,7 @@ const bg = {
|
|
|
5932
5913
|
_: 1
|
|
5933
5914
|
}, 8, ["disabled", "is-dragging", "is-ticks-visible", "max", "min", "step"]));
|
|
5934
5915
|
}
|
|
5935
|
-
}), Ub = "color-picker", Wb = "color-picker-preview",
|
|
5916
|
+
}), Ub = "color-picker", Wb = "color-picker-preview", jb = "color-picker-saturation", _b = "color-picker-slider", qb = "slider-track-value", Kb = "slider-track", Yb = "color-picker-value", Zb = "form-field-label", Qb = "form-input", Xb = "color-select", Jb = "color-select-item", ev = "icon", tv = "color-select-custom-picker", nv = "color-select-buttons", av = "button", iv = "color-select-check", sv = "color-picker-alpha-slider color-picker-slider", ov = "color-picker-hue-slider color-picker-slider", lv = "color-select-color color-select-item", rv = "color-select-color-deselected color-select-color color-select-item", uv = "color-select-color-selected color-select-color color-select-item", cv = "color-select-custom color-select-item", xe = { colorPicker: Ub, colorPickerPreview: Wb, colorPickerSaturation: jb, colorPickerSlider: _b, sliderTrackValue: qb, sliderTrack: Kb, colorPickerValue: Yb, formFieldLabel: Zb, formInput: Qb, colorSelect: Xb, colorSelectItem: Jb, icon: ev, colorSelectCustomPicker: tv, colorSelectButtons: nv, button: av, colorSelectCheck: iv, colorPickerAlphaSlider: sv, colorPickerHueSlider: ov, colorSelectColor: lv, colorSelectColorDeselected: rv, colorSelectColorSelected: uv, colorSelectCustom: cv }, dv = /* @__PURE__ */ k({
|
|
5936
5917
|
__name: "FluxColorPicker",
|
|
5937
5918
|
props: /* @__PURE__ */ ee({
|
|
5938
5919
|
isAlphaEnabled: { type: Boolean },
|
|
@@ -5972,28 +5953,28 @@ const bg = {
|
|
|
5972
5953
|
function G(T, V, M) {
|
|
5973
5954
|
return L({
|
|
5974
5955
|
get: () => (V == null ? void 0 : V(...n(i))[T]) ?? n(i)[T],
|
|
5975
|
-
set: (
|
|
5956
|
+
set: (j) => {
|
|
5976
5957
|
const Q = (V == null ? void 0 : V(...n(i))) ?? n(i);
|
|
5977
|
-
Q[T] =
|
|
5958
|
+
Q[T] = j, i.value = (M == null ? void 0 : M(...Q)) ?? Q;
|
|
5978
5959
|
}
|
|
5979
5960
|
});
|
|
5980
5961
|
}
|
|
5981
5962
|
return z(e, (T, V) => {
|
|
5982
5963
|
if (n(s) || JSON.stringify(T) === JSON.stringify(V))
|
|
5983
5964
|
return;
|
|
5984
|
-
const M = t.type === "hex" ? T.toString() : "",
|
|
5965
|
+
const M = t.type === "hex" ? T.toString() : "", j = t.type !== "hex" ? T : [0, 0, 0];
|
|
5985
5966
|
switch (t.type) {
|
|
5986
5967
|
case "hex":
|
|
5987
5968
|
i.value = kt(...ki(M));
|
|
5988
5969
|
break;
|
|
5989
5970
|
case "rgb":
|
|
5990
|
-
i.value = kt(...
|
|
5971
|
+
i.value = kt(...j);
|
|
5991
5972
|
break;
|
|
5992
5973
|
case "hsl":
|
|
5993
|
-
i.value = kt(...Ai(...
|
|
5974
|
+
i.value = kt(...Ai(...j));
|
|
5994
5975
|
break;
|
|
5995
5976
|
case "hsv":
|
|
5996
|
-
i.value = [...
|
|
5977
|
+
i.value = [...j];
|
|
5997
5978
|
break;
|
|
5998
5979
|
}
|
|
5999
5980
|
}, { immediate: !0 }), z(i, (T) => {
|
|
@@ -6350,7 +6331,7 @@ const bg = {
|
|
|
6350
6331
|
onSelect: u
|
|
6351
6332
|
}, null, 8, ["searchQuery", "disabled", "is-multiple", "is-searchable", "options", "placeholder", "selected"]));
|
|
6352
6333
|
}
|
|
6353
|
-
}), {
|
|
6334
|
+
}), { buttonIcon: gn, button: bn, buttonLabel: vn } = zn, fv = "spinner", hv = "icon", gv = "publish-button-animation", bv = "is-done", vv = "publish-button-animation-arrow", yv = "publish-arrow-out", kv = "publish-button-animation-check", Av = "publish-button-animation-circle", $v = "is-idle", Fv = "is-loading", Cv = "publish-arrow-in", Bv = "publish-button-cloud", wv = "publish", Sv = "button-group", Ev = "button", Iv = `secondary-button-icon ${gn}`, Tv = `primary-button ${bn}`, Lv = `primary-button-icon ${gn}`, Dv = `secondary-button ${bn}`, Mv = `destructive-button ${bn}`, Pv = `secondary-button-label ${vn}`, Vv = `primary-button-label ${vn}`, xv = `link-button-label ${vn}`, Ov = `destructive-button-icon ${gn}`, Rv = `link-button-icon ${gn}`, zv = `destructive-button-label ${vn}`, Nv = `link-button ${bn}`, Hv = `publish-button primary-button ${bn}`, Gv = `publish-button-icon primary-button-icon ${gn}`, Uv = `publish-button-label primary-button-label ${vn}`, Wv = { spinner: fv, icon: hv, publishButtonAnimation: gv, isDone: bv, publishButtonAnimationArrow: vv, publishArrowOut: yv, publishButtonAnimationCheck: kv, publishButtonAnimationCircle: Av, isIdle: $v, isLoading: Fv, publishArrowIn: Cv, publishButtonCloud: Bv, publish: wv, buttonGroup: Sv, button: Ev, secondaryButtonIcon: Iv, primaryButton: Tv, primaryButtonIcon: Lv, secondaryButton: Dv, destructiveButton: Mv, secondaryButtonLabel: Pv, primaryButtonLabel: Vv, linkButtonLabel: xv, destructiveButtonIcon: Ov, linkButtonIcon: Rv, destructiveButtonLabel: zv, linkButton: Nv, publishButton: Hv, publishButtonIcon: Gv, publishButtonLabel: Uv }, { secondaryButtonLabel: jv, secondaryButtonIcon: _v, secondaryButton: qv } = Wv, Kv = "pagination", Yv = "pagination-button-arrow", Zv = "pagination-button-current", Qv = "pagination-button-spacer", Xv = "pagination-bar", Jv = "pagination-bar-limit", e0 = "pagination-bar-limit-displaying-of", t0 = "pagination-bar-limit-select", n0 = "menu-item", a0 = "menu-item-label", i0 = `pagination-button-label ${jv}`, s0 = `pagination-button-icon ${_v}`, o0 = `pagination-button ${qv}`, Oe = { pagination: Kv, paginationButtonArrow: Yv, paginationButtonCurrent: Zv, paginationButtonSpacer: Qv, paginationBar: Xv, paginationBarLimit: Jv, paginationBarLimitDisplayingOf: e0, paginationBarLimitSelect: t0, menuItem: n0, menuItemLabel: a0, paginationButtonLabel: i0, paginationButtonIcon: s0, paginationButton: o0 }, Ot = /* @__PURE__ */ k({
|
|
6354
6335
|
__name: "FluxPaginationButton",
|
|
6355
6336
|
props: {
|
|
6356
6337
|
type: {},
|
|
@@ -6691,14 +6672,14 @@ const bg = {
|
|
|
6691
6672
|
]),
|
|
6692
6673
|
_: 2
|
|
6693
6674
|
}, [
|
|
6694
|
-
|
|
6675
|
+
"colgroups" in s ? {
|
|
6695
6676
|
name: "colgroups",
|
|
6696
6677
|
fn: A(() => [
|
|
6697
6678
|
w(l.$slots, "colgroups")
|
|
6698
6679
|
]),
|
|
6699
6680
|
key: "0"
|
|
6700
6681
|
} : void 0,
|
|
6701
|
-
|
|
6682
|
+
"header" in s ? {
|
|
6702
6683
|
name: "header",
|
|
6703
6684
|
fn: A(() => [
|
|
6704
6685
|
y(Bn, null, {
|
|
@@ -6710,7 +6691,7 @@ const bg = {
|
|
|
6710
6691
|
]),
|
|
6711
6692
|
key: "1"
|
|
6712
6693
|
} : void 0,
|
|
6713
|
-
|
|
6694
|
+
"footer" in s ? {
|
|
6714
6695
|
name: "footer",
|
|
6715
6696
|
fn: A(() => [
|
|
6716
6697
|
y(Bn, null, {
|
|
@@ -6782,8 +6763,8 @@ const bg = {
|
|
|
6782
6763
|
let ne;
|
|
6783
6764
|
return H ? Array.isArray(H) ? ne = H[1] : ne = H : ne = Fe.now(), ne.startOf("day");
|
|
6784
6765
|
}
|
|
6785
|
-
function
|
|
6786
|
-
return n(o).month !== H.month ? !0 : !
|
|
6766
|
+
function j(H) {
|
|
6767
|
+
return n(o).month !== H.month ? !0 : !_(H);
|
|
6787
6768
|
}
|
|
6788
6769
|
function Q(H) {
|
|
6789
6770
|
if (t.rangeMode)
|
|
@@ -6791,7 +6772,7 @@ const bg = {
|
|
|
6791
6772
|
const ne = n(e);
|
|
6792
6773
|
return !ne || Array.isArray(ne) ? !1 : ne.hasSame(H, "day");
|
|
6793
6774
|
}
|
|
6794
|
-
function
|
|
6775
|
+
function _(H, ne) {
|
|
6795
6776
|
return ne === "month" ? n(G).endOf("month") >= H && n(T).startOf("month") <= H : n(G) >= H && n(T) <= H;
|
|
6796
6777
|
}
|
|
6797
6778
|
function me(H, ne) {
|
|
@@ -6858,7 +6839,7 @@ const bg = {
|
|
|
6858
6839
|
default: A(() => [
|
|
6859
6840
|
x.value === "date" ? (c(), b(ue, {
|
|
6860
6841
|
key: 0,
|
|
6861
|
-
disabled: !
|
|
6842
|
+
disabled: !_(n(r), "month"),
|
|
6862
6843
|
"icon-leading": "angle-left",
|
|
6863
6844
|
"aria-label": n(i)("flux.previous"),
|
|
6864
6845
|
onClick: n(F)
|
|
@@ -6887,7 +6868,7 @@ const bg = {
|
|
|
6887
6868
|
default: A(() => [
|
|
6888
6869
|
x.value === "date" ? (c(), b(ue, {
|
|
6889
6870
|
key: 0,
|
|
6890
|
-
disabled: !
|
|
6871
|
+
disabled: !_(n(l), "month"),
|
|
6891
6872
|
"icon-leading": "angle-right",
|
|
6892
6873
|
"aria-label": n(i)("flux.next"),
|
|
6893
6874
|
onClick: n(h)
|
|
@@ -6919,7 +6900,7 @@ const bg = {
|
|
|
6919
6900
|
key: X,
|
|
6920
6901
|
class: d(n(Z)(
|
|
6921
6902
|
n(ge).datePickerDate,
|
|
6922
|
-
|
|
6903
|
+
j(X) && n(ge).isDisabled,
|
|
6923
6904
|
me(X, "end") && n(ge).isRangeEnd,
|
|
6924
6905
|
me(X) && n(ge).isRangeEntry,
|
|
6925
6906
|
me(X, "start") && n(ge).isRangeStart,
|
|
@@ -6944,7 +6925,7 @@ const bg = {
|
|
|
6944
6925
|
}, [
|
|
6945
6926
|
(c(!0), p(N, null, q(n(I), (X) => (c(), b(ue, {
|
|
6946
6927
|
key: X,
|
|
6947
|
-
disabled: !
|
|
6928
|
+
disabled: !_(X.date, "month"),
|
|
6948
6929
|
label: X.label,
|
|
6949
6930
|
tabindex: "-1",
|
|
6950
6931
|
onClick: (rt) => bs(X.date)
|
|
@@ -7060,7 +7041,7 @@ const bg = {
|
|
|
7060
7041
|
}, null, 8, U0)
|
|
7061
7042
|
], 2));
|
|
7062
7043
|
}
|
|
7063
|
-
}), W0 = "drop-zone",
|
|
7044
|
+
}), W0 = "drop-zone", j0 = "drop-zone-actions", _0 = "drop-zone-border", q0 = "drop-zone-content", K0 = "avatar", Y0 = "placeholder", Z0 = "is-dragging", Q0 = "is-dragging-over", X0 = "drop-zone-border-animation", J0 = "drop-zone-loader", ht = { dropZone: W0, dropZoneActions: j0, dropZoneBorder: _0, dropZoneContent: q0, avatar: K0, placeholder: Y0, isDragging: Z0, isDraggingOver: Q0, dropZoneBorderAnimation: X0, dropZoneLoader: J0 }, ey = ["aria-disabled"], ty = ["pathLength"], ny = /* @__PURE__ */ k({
|
|
7064
7045
|
__name: "FluxDropZone",
|
|
7065
7046
|
props: {
|
|
7066
7047
|
accept: {},
|
|
@@ -7181,7 +7162,7 @@ const bg = {
|
|
|
7181
7162
|
},
|
|
7182
7163
|
emits: ["toggle"],
|
|
7183
7164
|
setup(t, { expose: e, emit: a }) {
|
|
7184
|
-
const i = a, s = Xi(), o = Et(), l = Et(), r =
|
|
7165
|
+
const i = a, s = Xi(), o = Et(), l = Et(), r = _t(), u = P(!1), { closeAll: m, register: f, unregister: g } = Ks(), $ = L(() => n(u) ? "minus" : "plus");
|
|
7185
7166
|
Is(() => f == null ? void 0 : f(n(s), r)), Re(() => g == null ? void 0 : g(n(s)));
|
|
7186
7167
|
function h() {
|
|
7187
7168
|
u.value = !1, i("toggle", u.value);
|
|
@@ -7425,13 +7406,13 @@ const bg = {
|
|
|
7425
7406
|
default: A(() => {
|
|
7426
7407
|
var v;
|
|
7427
7408
|
return [
|
|
7428
|
-
y(
|
|
7409
|
+
y(_e, {
|
|
7429
7410
|
class: d(n(Bt).filterBack),
|
|
7430
7411
|
label: n(o)("flux.back"),
|
|
7431
7412
|
"icon-leading": "angle-left",
|
|
7432
7413
|
onClick: F[0] || (F[0] = (E) => u())
|
|
7433
7414
|
}, null, 8, ["class", "label"]),
|
|
7434
|
-
(v = h.resettable) != null && v.includes(B) ? (c(), b(
|
|
7415
|
+
(v = h.resettable) != null && v.includes(B) ? (c(), b(_e, {
|
|
7435
7416
|
key: 0,
|
|
7436
7417
|
class: d(n(Bt).filterReset),
|
|
7437
7418
|
"icon-leading": "trash",
|
|
@@ -8420,7 +8401,7 @@ const bg = {
|
|
|
8420
8401
|
_: 1
|
|
8421
8402
|
}, 8, ["disabled", "is-dragging", "is-ticks-visible", "max", "min", "step"]));
|
|
8422
8403
|
}
|
|
8423
|
-
}),
|
|
8404
|
+
}), jF = /* @__PURE__ */ k({
|
|
8424
8405
|
__name: "FluxFormRow",
|
|
8425
8406
|
setup(t) {
|
|
8426
8407
|
return (e, a) => (c(), p("div", {
|
|
@@ -8429,7 +8410,7 @@ const bg = {
|
|
|
8429
8410
|
w(e.$slots, "default")
|
|
8430
8411
|
], 2));
|
|
8431
8412
|
}
|
|
8432
|
-
}),
|
|
8413
|
+
}), _F = /* @__PURE__ */ k({
|
|
8433
8414
|
__name: "FluxFormSection",
|
|
8434
8415
|
props: {
|
|
8435
8416
|
title: {}
|
|
@@ -9223,7 +9204,7 @@ const bg = {
|
|
|
9223
9204
|
}, null, 8, ["name"])) : S("", !0)
|
|
9224
9205
|
], 2));
|
|
9225
9206
|
}
|
|
9226
|
-
}), Oy = "placeholder", Ry = "is-button", zy = "is-extended", Ny = "placeholder-icon", Hy = "is-simple", Gy = "is-small", Uy = "placeholder-caption", Wy = "button",
|
|
9207
|
+
}), Oy = "placeholder", Ry = "is-button", zy = "is-extended", Ny = "placeholder-icon", Hy = "is-simple", Gy = "is-small", Uy = "placeholder-caption", Wy = "button", jy = { placeholder: Oy, isButton: Ry, isExtended: zy, placeholderIcon: Ny, isSimple: Hy, isSmall: Gy, placeholderCaption: Uy, button: Wy }, { placeholder: _y } = jy, qy = "gallery", Ky = "gallery-move", Yy = "gallery-item", Zy = "remove", Qy = "gallery-item-image", Xy = "gallery-item-loader", Jy = "spinner", ek = `gallery-add ${_y}`, Gt = { gallery: qy, galleryMove: Ky, galleryItem: Yy, remove: Zy, galleryItemImage: Qy, galleryItemLoader: Xy, spinner: Jy, galleryAdd: ek }, Jn = /* @__PURE__ */ k({
|
|
9227
9208
|
__name: "FluxGalleryItem",
|
|
9228
9209
|
props: {
|
|
9229
9210
|
focalPoint: {},
|
|
@@ -9454,7 +9435,7 @@ const bg = {
|
|
|
9454
9435
|
_: 3
|
|
9455
9436
|
}));
|
|
9456
9437
|
}
|
|
9457
|
-
}), { baseAutoGrid: pk } = is, fk = "aspect-ratio", hk = "container", gk = "spacer", bk = "stack", vk = "is-centered", yk = "is-fill", kk = "is-wrapping", Ak = "stack-horizontal stack", $k = "stack-vertical stack", Fk = `auto-grid ${pk}`, Ck = { aspectRatio: fk, container: hk, spacer: gk, stack: bk, isCentered: vk, isFill: yk, isWrapping: kk, stackHorizontal: Ak, stackVertical: $k, autoGrid: Fk }, {
|
|
9438
|
+
}), { baseAutoGrid: pk } = is, fk = "aspect-ratio", hk = "container", gk = "spacer", bk = "stack", vk = "is-centered", yk = "is-fill", kk = "is-wrapping", Ak = "stack-horizontal stack", $k = "stack-vertical stack", Fk = `auto-grid ${pk}`, Ck = { aspectRatio: fk, container: hk, spacer: gk, stack: bk, isCentered: vk, isFill: yk, isWrapping: kk, stackHorizontal: Ak, stackVertical: $k, autoGrid: Fk }, { stackHorizontal: Bk, stackVertical: wk } = Ck, Sk = "legend-item", Ek = `legend-horizontal ${Bk}`, Ik = `legend-vertical ${wk}`, ta = { legendItem: Sk, legendHorizontal: Ek, legendVertical: Ik }, Tk = /* @__PURE__ */ k({
|
|
9458
9439
|
__name: "FluxLegend",
|
|
9459
9440
|
props: {
|
|
9460
9441
|
direction: { default: "horizontal" },
|
|
@@ -9547,7 +9528,7 @@ const bg = {
|
|
|
9547
9528
|
role: "presentation"
|
|
9548
9529
|
}, O(e.title), 3));
|
|
9549
9530
|
}
|
|
9550
|
-
}), { basePaneElement: Dt } = pt, Lk = "button", Dk = "notice-body", Mk = "notice-close", Pk = "icon", Vk = "notice-prefix", xk = "notice-message", Ok = "notice-title", Rk = "is-center", zk = "is-fluid", Nk = "spinner-track", Hk = "spinner-effect", Gk = "spinner-value", Uk = "base-pane", Wk = `notice ${Dt}`,
|
|
9531
|
+
}), { basePaneElement: Dt } = pt, Lk = "button", Dk = "notice-body", Mk = "notice-close", Pk = "icon", Vk = "notice-prefix", xk = "notice-message", Ok = "notice-title", Rk = "is-center", zk = "is-fluid", Nk = "spinner-track", Hk = "spinner-effect", Gk = "spinner-value", Uk = "base-pane", Wk = `notice ${Dt}`, jk = `notice-gray notice ${Dt}`, _k = `notice-primary notice ${Dt}`, qk = `notice-danger notice ${Dt}`, Kk = `notice-info notice ${Dt}`, Yk = `notice-success notice ${Dt}`, Zk = `notice-warning notice ${Dt}`, Te = { button: Lk, noticeBody: Dk, noticeClose: Mk, icon: Pk, noticePrefix: Vk, noticeMessage: xk, noticeTitle: Ok, isCenter: Rk, isFluid: zk, spinnerTrack: Nk, spinnerEffect: Hk, spinnerValue: Gk, basePane: Uk, notice: Wk, noticeGray: jk, noticePrimary: _k, noticeDanger: qk, noticeInfo: Kk, noticeSuccess: Yk, noticeWarning: Zk }, iC = /* @__PURE__ */ k({
|
|
9551
9532
|
__name: "FluxNotice",
|
|
9552
9533
|
props: {
|
|
9553
9534
|
color: { default: "gray" },
|
|
@@ -10236,7 +10217,7 @@ const bg = {
|
|
|
10236
10217
|
_: 1
|
|
10237
10218
|
}));
|
|
10238
10219
|
}
|
|
10239
|
-
}), { basePane: Mt } = pt, I1 = "action", T1 = "progress-bar", L1 = "progress-bar-track", D1 = "snackbar-content", M1 = "icon", P1 = "spinner", V1 = "snackbar-body", x1 = "snackbar-message", O1 = "snackbar-sub-message", R1 = "snackbar-title", z1 = "snackbar-action", N1 = "snackbar-actions", H1 = "spinner-effect", G1 = "spinner-value", U1 = "snackbars", W1 = "snackbars-enter-active",
|
|
10220
|
+
}), { basePane: Mt } = pt, I1 = "action", T1 = "progress-bar", L1 = "progress-bar-track", D1 = "snackbar-content", M1 = "icon", P1 = "spinner", V1 = "snackbar-body", x1 = "snackbar-message", O1 = "snackbar-sub-message", R1 = "snackbar-title", z1 = "snackbar-action", N1 = "snackbar-actions", H1 = "spinner-effect", G1 = "spinner-value", U1 = "snackbars", W1 = "snackbars-enter-active", j1 = "snackbars-leave-active", _1 = "snackbars-move", q1 = "snackbars-enter-from", K1 = "snackbars-leave-to", Y1 = `snackbar ${Mt}`, Z1 = `snackbar-gray snackbar ${Mt}`, Q1 = `snackbar-primary snackbar ${Mt}`, X1 = `snackbar-danger snackbar ${Mt}`, J1 = `snackbar-info snackbar ${Mt}`, eA = `snackbar-success snackbar ${Mt}`, tA = `snackbar-warning snackbar ${Mt}`, Ae = { action: I1, progressBar: T1, progressBarTrack: L1, snackbarContent: D1, icon: M1, spinner: P1, snackbarBody: V1, snackbarMessage: x1, snackbarSubMessage: O1, snackbarTitle: R1, snackbarAction: z1, snackbarActions: N1, spinnerEffect: H1, spinnerValue: G1, snackbars: U1, snackbarsEnterActive: W1, snackbarsLeaveActive: j1, snackbarsMove: _1, snackbarsEnterFrom: q1, snackbarsLeaveTo: K1, snackbar: Y1, snackbarGray: Z1, snackbarPrimary: Q1, snackbarDanger: X1, snackbarInfo: J1, snackbarSuccess: eA, snackbarWarning: tA }, nA = ["onClick"], aA = /* @__PURE__ */ k({
|
|
10240
10221
|
__name: "FluxSnackbar",
|
|
10241
10222
|
props: {
|
|
10242
10223
|
actions: {},
|
|
@@ -10256,7 +10237,7 @@ const bg = {
|
|
|
10256
10237
|
},
|
|
10257
10238
|
emits: ["action", "close"],
|
|
10258
10239
|
setup(t, { emit: e }) {
|
|
10259
|
-
const a = e, i =
|
|
10240
|
+
const a = e, i = _t(), s = P(null), o = L(() => t.actions && Object.entries(t.actions).length > 0);
|
|
10260
10241
|
Ya(() => {
|
|
10261
10242
|
s.value && Sn(s.value);
|
|
10262
10243
|
});
|
|
@@ -10717,7 +10698,7 @@ const pA = "root", fA = "is-locked", aa = { root: pA, isLocked: fA }, hA = ["ine
|
|
|
10717
10698
|
_: 1
|
|
10718
10699
|
}, 8, ["class"]));
|
|
10719
10700
|
}
|
|
10720
|
-
}), OA = "sparkles-container", RA = "sparkles-particles", zA = "sparkles-container-active", NA = "heart", HA = "bubble", GA = "sparkles", UA = { sparklesContainer: OA, sparklesParticles: RA, sparklesContainerActive: zA, heart: NA, bubble: HA, sparkles: GA }, { sparklesContainerActive: WA, sparklesContainer:
|
|
10701
|
+
}), OA = "sparkles-container", RA = "sparkles-particles", zA = "sparkles-container-active", NA = "heart", HA = "bubble", GA = "sparkles", UA = { sparklesContainer: OA, sparklesParticles: RA, sparklesContainerActive: zA, heart: NA, bubble: HA, sparkles: GA }, { sparklesContainerActive: WA, sparklesContainer: jn, sparklesParticles: jA } = UA, _A = "stepper-step", qA = "stepper-steps", KA = "icon", YA = `stepper-steps-item-complete ${WA} stepper-steps-item ${jn}`, ZA = `stepper-steps-item-idle stepper-steps-item ${jn}`, QA = `stepper-steps-item ${jn}`, XA = `stepper-steps-item-current stepper-steps-item ${jn}`, JA = `stepper-steps-item-particles ${jA}`, At = { stepperStep: _A, stepperSteps: qA, icon: KA, stepperStepsItemComplete: YA, stepperStepsItemIdle: ZA, stepperStepsItem: QA, stepperStepsItemCurrent: XA, stepperStepsItemParticles: JA }, e$ = ["onClick"], t$ = { key: 1 }, n$ = /* @__PURE__ */ k({
|
|
10721
10702
|
__name: "FluxStepperSteps",
|
|
10722
10703
|
props: {
|
|
10723
10704
|
amount: {},
|
|
@@ -11085,13 +11066,13 @@ const pA = "root", fA = "is-locked", aa = { root: pA, isLocked: fA }, hA = ["ine
|
|
|
11085
11066
|
default: A(() => [
|
|
11086
11067
|
y(It, null, {
|
|
11087
11068
|
default: A(() => [
|
|
11088
|
-
y(
|
|
11069
|
+
y(_e, {
|
|
11089
11070
|
"is-highlighted": s.sort === "ascending",
|
|
11090
11071
|
"icon-leading": "arrow-down-a-z",
|
|
11091
11072
|
label: n(a)("flux.sortAscending"),
|
|
11092
11073
|
onClick: o[0] || (o[0] = (l) => s.$emit("sort", "ascending"))
|
|
11093
11074
|
}, null, 8, ["is-highlighted", "label"]),
|
|
11094
|
-
y(
|
|
11075
|
+
y(_e, {
|
|
11095
11076
|
"is-highlighted": s.sort === "descending",
|
|
11096
11077
|
"icon-leading": "arrow-up-a-z",
|
|
11097
11078
|
label: n(a)("flux.sortDescending"),
|
|
@@ -11104,7 +11085,7 @@ const pA = "root", fA = "is-locked", aa = { root: pA, isLocked: fA }, hA = ["ine
|
|
|
11104
11085
|
y(ms),
|
|
11105
11086
|
y(It, null, {
|
|
11106
11087
|
default: A(() => [
|
|
11107
|
-
y(
|
|
11088
|
+
y(_e, {
|
|
11108
11089
|
"icon-leading": "circle-xmark",
|
|
11109
11090
|
"is-destructive": "",
|
|
11110
11091
|
label: n(a)("flux.sortRemove"),
|
|
@@ -11263,7 +11244,7 @@ const pA = "root", fA = "is-locked", aa = { root: pA, isLocked: fA }, hA = ["ine
|
|
|
11263
11244
|
}, null, 42, N$)
|
|
11264
11245
|
], 10, z$));
|
|
11265
11246
|
}
|
|
11266
|
-
}), { basePane: gs } = pt, H$ = "toolbar", G$ = "separator-vertical", U$ = "is-free", W$ = "is-top-end",
|
|
11247
|
+
}), { basePane: gs } = pt, H$ = "toolbar", G$ = "separator-vertical", U$ = "is-free", W$ = "is-top-end", j$ = "is-top-start", _$ = "is-bottom-end", q$ = "is-bottom-start", K$ = "base-pane-structure", Y$ = "pane-header", Z$ = `toolbar-flat ${gs} toolbar`, Q$ = `toolbar-floating ${gs} toolbar`, yt = { toolbar: H$, separatorVertical: G$, isFree: U$, isTopEnd: W$, isTopStart: j$, isBottomEnd: _$, isBottomStart: q$, basePaneStructure: K$, paneHeader: Y$, toolbarFlat: Z$, toolbarFloating: Q$ }, DC = /* @__PURE__ */ k({
|
|
11267
11248
|
__name: "FluxToolbar",
|
|
11268
11249
|
props: {
|
|
11269
11250
|
floatingMode: {}
|
|
@@ -11362,14 +11343,14 @@ export {
|
|
|
11362
11343
|
NF as FluxFormDateRangeInput,
|
|
11363
11344
|
HF as FluxFormDateTimeInput,
|
|
11364
11345
|
Ve as FluxFormField,
|
|
11365
|
-
|
|
11346
|
+
_a as FluxFormFieldAddition,
|
|
11366
11347
|
we as FluxFormInput,
|
|
11367
11348
|
GF as FluxFormInputAddition,
|
|
11368
11349
|
wa as FluxFormInputGroup,
|
|
11369
11350
|
UF as FluxFormPinInput,
|
|
11370
11351
|
WF as FluxFormRangeSlider,
|
|
11371
|
-
|
|
11372
|
-
|
|
11352
|
+
jF as FluxFormRow,
|
|
11353
|
+
_F as FluxFormSection,
|
|
11373
11354
|
fs as FluxFormSelect,
|
|
11374
11355
|
qF as FluxFormSelectAsync,
|
|
11375
11356
|
In as FluxFormSlider,
|
|
@@ -11387,7 +11368,7 @@ export {
|
|
|
11387
11368
|
tC as FluxLink,
|
|
11388
11369
|
ln as FluxMenu,
|
|
11389
11370
|
It as FluxMenuGroup,
|
|
11390
|
-
|
|
11371
|
+
_e as FluxMenuItem,
|
|
11391
11372
|
nC as FluxMenuOptions,
|
|
11392
11373
|
fa as FluxMenuSubHeader,
|
|
11393
11374
|
aC as FluxMenuTitle,
|
|
@@ -11473,4 +11454,4 @@ export {
|
|
|
11473
11454
|
Yt as useFormFieldInjection,
|
|
11474
11455
|
yi as useTableInjection
|
|
11475
11456
|
};
|
|
11476
|
-
//# sourceMappingURL=
|
|
11457
|
+
//# sourceMappingURL=index.js.map
|