@quoreadmin/ui 1.6.0 → 1.6.2
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.css +1 -1
- package/dist/index100.js +32 -32
- package/dist/index141.js +1 -1
- package/dist/index143.js +4 -4
- package/dist/index170.js +14 -14
- package/dist/index174.js +4 -4
- package/dist/index181.js +8 -8
- package/dist/index183.js +8 -8
- package/dist/index187.js +17 -17
- package/dist/index188.js +1077 -5825
- package/dist/index190.js +5922 -19
- package/dist/index191.js +199 -10
- package/dist/index192.js +25 -1180
- package/dist/index193.js +20 -0
- package/dist/index195.js +2 -2
- package/dist/index197.js +14 -14
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index200.js +3 -3
- package/dist/index201.js +6 -6
- package/dist/index205.js +159 -31
- package/dist/index206.js +19 -115
- package/dist/index207.js +19 -35
- package/dist/index208.js +22 -26
- package/dist/index209.js +194 -31
- package/dist/index210.js +70 -9
- package/dist/index211.js +34 -19
- package/dist/index212.js +40 -10
- package/dist/index213.js +33 -10
- package/dist/index214.js +114 -49
- package/dist/index215.js +33 -40
- package/dist/index216.js +26 -4
- package/dist/index217.js +33 -36
- package/dist/index218.js +9 -21
- package/dist/index219.js +18 -126
- package/dist/index220.js +10 -38
- package/dist/index221.js +10 -80
- package/dist/index222.js +50 -19
- package/dist/index223.js +42 -19
- package/dist/index224.js +3 -19
- package/dist/index225.js +38 -19
- package/dist/index226.js +21 -20
- package/dist/index227.js +21 -160
- package/dist/index228.js +22 -228
- package/dist/index229.js +19 -36
- package/dist/index230.js +835 -9
- package/dist/index231.js +645 -104
- package/dist/index232.js +176 -20
- package/dist/index233.js +13 -15
- package/dist/index234.js +19 -198
- package/dist/index235.js +21 -69
- package/dist/index236.js +20 -34
- package/dist/index237.js +19 -39
- package/dist/index238.js +3 -3632
- package/dist/index239.js +181 -49
- package/dist/index240.js +128 -72
- package/dist/index241.js +1216 -45
- package/dist/index242.js +119 -207
- package/dist/index243.js +20 -10
- package/dist/index244.js +22 -57
- package/dist/index245.js +22 -61
- package/dist/index246.js +33 -49
- package/dist/index247.js +29 -75
- package/dist/index248.js +19 -722
- package/dist/index249.js +20 -39
- package/dist/index250.js +2 -64
- package/dist/index251.js +2 -11
- package/dist/index252.js +156 -700
- package/dist/index253.js +208 -800
- package/dist/index254.js +36 -21
- package/dist/index255.js +10 -22
- package/dist/index256.js +80 -20
- package/dist/index257.js +20 -836
- package/dist/index258.js +19 -701
- package/dist/index259.js +3626 -170
- package/dist/index260.js +55 -22
- package/dist/index261.js +77 -20
- package/dist/index262.js +52 -20
- package/dist/index263.js +215 -3
- package/dist/index264.js +10 -187
- package/dist/index265.js +52 -128
- package/dist/index266.js +52 -1214
- package/dist/index267.js +54 -20
- package/dist/index268.js +75 -22
- package/dist/index269.js +722 -21
- package/dist/index270.js +39 -29
- package/dist/index271.js +64 -20
- package/dist/index272.js +11 -20
- package/dist/index273.js +705 -2
- package/dist/index274.js +820 -2
- package/dist/index279.js +54 -2
- package/dist/index281.js +25 -234
- package/dist/index282.js +21 -5
- package/dist/index283.js +21 -133
- package/dist/index284.js +16 -68
- package/dist/index285.js +15 -85
- package/dist/index286.js +22 -28
- package/dist/index287.js +77 -7
- package/dist/index288.js +21 -74
- package/dist/index289.js +934 -3
- package/dist/index290.js +22 -2
- package/dist/index291.js +19 -82
- package/dist/index292.js +19 -53
- package/dist/index293.js +68 -5
- package/dist/index294.js +19 -5
- package/dist/index295.js +18 -178
- package/dist/index296.js +21 -62
- package/dist/index297.js +22 -75
- package/dist/index298.js +63 -3
- package/dist/index299.js +2 -27
- package/dist/index300.js +230 -49
- package/dist/index301.js +5 -25
- package/dist/index302.js +133 -21
- package/dist/index303.js +67 -21
- package/dist/index304.js +85 -14
- package/dist/index305.js +29 -17
- package/dist/index306.js +8 -22
- package/dist/index307.js +64 -1507
- package/dist/index308.js +3 -385
- package/dist/index309.js +2 -2731
- package/dist/index310.js +77 -80
- package/dist/index311.js +53 -3769
- package/dist/index312.js +4 -58
- package/dist/index313.js +5 -15
- package/dist/index314.js +166 -71
- package/dist/index315.js +57 -196
- package/dist/index316.js +75 -246
- package/dist/index317.js +3 -79
- package/dist/index318.js +26 -21
- package/dist/index319.js +1492 -909
- package/dist/index320.js +386 -22
- package/dist/index321.js +2731 -20
- package/dist/index322.js +85 -19
- package/dist/index323.js +3759 -58
- package/dist/index324.js +60 -19
- package/dist/index325.js +15 -19
- package/dist/index326.js +83 -21
- package/dist/index327.js +202 -22
- package/dist/index328.js +246 -63
- package/dist/index330.js +19 -20
- package/dist/index331.js +19 -55
- package/dist/index332.js +63 -28
- package/dist/index333.js +37 -7
- package/dist/index334.js +18 -49
- package/dist/index335.js +56 -6
- package/dist/index336.js +27 -10
- package/dist/index337.js +7 -7
- package/dist/index338.js +51 -27
- package/dist/index339.js +6 -2
- package/dist/index340.js +11 -69
- package/dist/index341.js +6 -166
- package/dist/index342.js +28 -10
- package/dist/index343.js +2 -10
- package/dist/index344.js +69 -13
- package/dist/index345.js +166 -9
- package/dist/index346.js +8 -16
- package/dist/index347.js +12 -8
- package/dist/index348.js +54 -12
- package/dist/index349.js +9 -52
- package/dist/index350.js +13 -11
- package/dist/index351.js +53 -9
- package/dist/index352.js +49 -55
- package/dist/index353.js +28 -49
- package/dist/index354.js +2 -31
- package/dist/index355.js +5 -2
- package/dist/index356.js +2 -5
- package/dist/index357.js +23 -2
- package/dist/index358.js +39 -21
- package/dist/index359.js +2 -41
- package/dist/index360.js +11 -2
- package/dist/index361.js +20 -11
- package/dist/index362.js +15 -18
- package/dist/index363.js +10 -2
- package/dist/index364.js +9 -8
- package/dist/index365.js +2 -20
- package/dist/index366.js +9 -20
- package/dist/index367.js +9 -63
- package/dist/index368.js +14 -37
- package/dist/index369.js +17 -31
- package/dist/index370.js +30 -10
- package/dist/index371.js +10 -3
- package/dist/index372.js +3 -3
- package/dist/index373.js +4 -13
- package/dist/index374.js +13 -7
- package/dist/index375.js +7 -12
- package/dist/index376.js +11 -4
- package/dist/index377.js +5 -33
- package/dist/index378.js +33 -31
- package/dist/index379.js +29 -26
- package/dist/index380.js +26 -59
- package/dist/index381.js +59 -96
- package/dist/index384.js +97 -16
- package/dist/index385.js +1 -1
- package/dist/index390.js +1 -1
- package/dist/index391.js +2 -2
- package/dist/index65.js +3 -3
- package/package.json +1 -1
- package/dist/index189.js +0 -209
package/dist/index215.js
CHANGED
|
@@ -1,45 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
return {
|
|
9
|
-
start: () => k.update(o, !0),
|
|
10
|
-
stop: () => w.update(o)
|
|
11
|
-
};
|
|
1
|
+
import { onUnmounted as o, getCurrentInstance as r, getCurrentScope as c, onScopeDispose as i, watch as s } from "vue";
|
|
2
|
+
function p(t) {
|
|
3
|
+
return c() ? (i(t), !0) : !1;
|
|
4
|
+
}
|
|
5
|
+
const l = typeof window < "u" && typeof document < "u";
|
|
6
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
7
|
+
const d = (t) => t != null, u = Object.prototype.toString, y = (t) => u.call(t) === "[object Object]", m = () => {
|
|
12
8
|
};
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const F = E.next(Math.max(0, e));
|
|
30
|
-
d = F.value, b && (d = b(d)), f = r ? F.done : e <= 0;
|
|
31
|
-
}
|
|
32
|
-
y?.(d), f && (m === 0 && (t ?? (t = e)), m < R ? I(e, t, u, r) && S() : _());
|
|
33
|
-
}
|
|
34
|
-
function j() {
|
|
35
|
-
c?.(), s = P(h), s.start();
|
|
36
|
-
}
|
|
37
|
-
return O && j(), {
|
|
38
|
-
stop: () => {
|
|
39
|
-
v?.(), s.stop();
|
|
9
|
+
function g(t) {
|
|
10
|
+
return Array.isArray(t) ? t : [t];
|
|
11
|
+
}
|
|
12
|
+
function f(t) {
|
|
13
|
+
return r();
|
|
14
|
+
}
|
|
15
|
+
function b(t, n) {
|
|
16
|
+
f() && o(t, n);
|
|
17
|
+
}
|
|
18
|
+
function S(t, n, e) {
|
|
19
|
+
return s(
|
|
20
|
+
t,
|
|
21
|
+
n,
|
|
22
|
+
{
|
|
23
|
+
...e,
|
|
24
|
+
immediate: !0
|
|
40
25
|
}
|
|
41
|
-
|
|
26
|
+
);
|
|
42
27
|
}
|
|
43
28
|
export {
|
|
44
|
-
|
|
29
|
+
f as getLifeCycleTarget,
|
|
30
|
+
l as isClient,
|
|
31
|
+
y as isObject,
|
|
32
|
+
m as noop,
|
|
33
|
+
d as notNullish,
|
|
34
|
+
g as toArray,
|
|
35
|
+
p as tryOnScopeDispose,
|
|
36
|
+
b as tryOnUnmounted,
|
|
37
|
+
S as watchImmediate
|
|
45
38
|
};
|
package/dist/index216.js
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { onNextFrame as p, defaultTimestep as i } from "./index317.js";
|
|
2
|
+
import { createRenderStep as x } from "./index318.js";
|
|
3
|
+
const h = 40;
|
|
4
|
+
let o = !0, s = !1, c = !1;
|
|
5
|
+
const r = {
|
|
6
|
+
delta: 0,
|
|
7
|
+
timestamp: 0
|
|
8
|
+
}, a = [
|
|
9
|
+
"read",
|
|
10
|
+
"update",
|
|
11
|
+
"preRender",
|
|
12
|
+
"render",
|
|
13
|
+
"postRender"
|
|
14
|
+
], n = a.reduce((e, t) => (e[t] = x(() => s = !0), e), {}), g = a.reduce((e, t) => {
|
|
15
|
+
const l = n[t];
|
|
16
|
+
return e[t] = (d, f = !1, m = !1) => (s || E(), l.schedule(d, f, m)), e;
|
|
17
|
+
}, {}), D = a.reduce((e, t) => (e[t] = n[t].cancel, e), {});
|
|
18
|
+
a.reduce((e, t) => (e[t] = () => n[t].process(r), e), {});
|
|
19
|
+
const F = (e) => n[e].process(r), u = (e) => {
|
|
20
|
+
s = !1, r.delta = o ? i : Math.max(Math.min(e - r.timestamp, h), 1), r.timestamp = e, c = !0, a.forEach(F), c = !1, s && (o = !1, p(u));
|
|
21
|
+
}, E = () => {
|
|
22
|
+
s = !0, o = !0, c || p(u);
|
|
23
|
+
}, M = () => r;
|
|
4
24
|
export {
|
|
5
|
-
|
|
25
|
+
D as cancelSync,
|
|
26
|
+
g as default,
|
|
27
|
+
M as getFrameData
|
|
6
28
|
};
|
package/dist/index217.js
CHANGED
|
@@ -1,41 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
return t;
|
|
1
|
+
import { color as m } from "./index221.js";
|
|
2
|
+
import { number as b } from "./index218.js";
|
|
3
|
+
import { isString as g, floatRegex as c, colorRegex as l, sanitize as k } from "./index367.js";
|
|
4
|
+
const i = "${c}", p = "${n}";
|
|
5
|
+
function x(e) {
|
|
6
|
+
var o, n, r, t;
|
|
7
|
+
return isNaN(e) && g(e) && ((n = (o = e.match(c)) === null || o === void 0 ? void 0 : o.length) !== null && n !== void 0 ? n : 0) + ((t = (r = e.match(l)) === null || r === void 0 ? void 0 : r.length) !== null && t !== void 0 ? t : 0) > 0;
|
|
9
8
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
return n;
|
|
9
|
+
function f(e) {
|
|
10
|
+
typeof e == "number" && (e = `${e}`);
|
|
11
|
+
const o = [];
|
|
12
|
+
let n = 0;
|
|
13
|
+
const r = e.match(l);
|
|
14
|
+
r && (n = r.length, e = e.replace(l, i), o.push(...r.map(m.parse)));
|
|
15
|
+
const t = e.match(c);
|
|
16
|
+
return t && (e = e.replace(c, p), o.push(...t.map(b.parse))), { values: o, numColors: n, tokenised: e };
|
|
20
17
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
if (e === n && r === c)
|
|
24
|
-
return h;
|
|
25
|
-
const o = new Float32Array(f);
|
|
26
|
-
for (let t = 0; t < f; ++t)
|
|
27
|
-
o[t] = p(t * u, e, r);
|
|
28
|
-
function i(t) {
|
|
29
|
-
let s = 0, l = 1;
|
|
30
|
-
const z = f - 1;
|
|
31
|
-
for (; l !== z && o[l] <= t; ++l)
|
|
32
|
-
s += u;
|
|
33
|
-
--l;
|
|
34
|
-
const g = (t - o[l]) / (o[l + 1] - o[l]), S = s + g * u, b = v(S, e, r);
|
|
35
|
-
return b >= x ? y(t, S, e, r) : b === 0 ? S : M(t, s, s + u, e, r);
|
|
36
|
-
}
|
|
37
|
-
return (t) => t === 0 || t === 1 ? t : p(i(t), n, c);
|
|
18
|
+
function d(e) {
|
|
19
|
+
return f(e).values;
|
|
38
20
|
}
|
|
21
|
+
function h(e) {
|
|
22
|
+
const { values: o, numColors: n, tokenised: r } = f(e), t = o.length;
|
|
23
|
+
return (u) => {
|
|
24
|
+
let a = r;
|
|
25
|
+
for (let s = 0; s < t; s++)
|
|
26
|
+
a = a.replace(s < n ? i : p, s < n ? m.transform(u[s]) : k(u[s]));
|
|
27
|
+
return a;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
const N = (e) => typeof e == "number" ? 0 : e;
|
|
31
|
+
function T(e) {
|
|
32
|
+
const o = d(e);
|
|
33
|
+
return h(e)(o.map(N));
|
|
34
|
+
}
|
|
35
|
+
const C = { test: x, parse: d, createTransformer: h, getAnimatableNone: T };
|
|
39
36
|
export {
|
|
40
|
-
|
|
37
|
+
C as complex
|
|
41
38
|
};
|
package/dist/index218.js
CHANGED
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}, f = n(o), g = (c) => c < 0.5 ? 0.5 * (1 - o(1 - c * 2)) : 0.5 * o(c * 2 - 1) + 0.5;
|
|
1
|
+
import { clamp as a } from "./index367.js";
|
|
2
|
+
const t = {
|
|
3
|
+
test: (s) => typeof s == "number",
|
|
4
|
+
parse: parseFloat,
|
|
5
|
+
transform: (s) => s
|
|
6
|
+
}, n = Object.assign(Object.assign({}, t), { transform: a(0, 1) }), r = Object.assign(Object.assign({}, t), { default: 1 });
|
|
8
7
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
L as backOut,
|
|
13
|
-
f as bounceIn,
|
|
14
|
-
g as bounceInOut,
|
|
15
|
-
o as bounceOut,
|
|
16
|
-
T as circIn,
|
|
17
|
-
C as circInOut,
|
|
18
|
-
_ as circOut,
|
|
19
|
-
a as easeIn,
|
|
20
|
-
B as easeInOut,
|
|
21
|
-
k as easeOut,
|
|
22
|
-
N as linear
|
|
8
|
+
n as alpha,
|
|
9
|
+
t as number,
|
|
10
|
+
r as scale
|
|
23
11
|
};
|
package/dist/index219.js
CHANGED
|
@@ -1,129 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { complex as s } from "./index217.js";
|
|
2
|
+
import { floatRegex as i } from "./index367.js";
|
|
3
|
+
const c = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
|
|
4
|
+
function l(t) {
|
|
5
|
+
let [e, n] = t.slice(0, -1).split("(");
|
|
6
|
+
if (e === "drop-shadow")
|
|
7
|
+
return t;
|
|
8
|
+
const [a] = n.match(i) || [];
|
|
9
|
+
if (!a)
|
|
10
|
+
return t;
|
|
11
|
+
const r = n.replace(a, "");
|
|
12
|
+
let o = c.has(e) ? 1 : 0;
|
|
13
|
+
return a !== n && (o *= 100), e + "(" + o + r + ")";
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
e && (r = r.filter(function(n) {
|
|
20
|
-
return Object.getOwnPropertyDescriptor(o, n).enumerable;
|
|
21
|
-
})), t.push.apply(t, r);
|
|
22
|
-
}
|
|
23
|
-
return t;
|
|
24
|
-
}
|
|
25
|
-
function F(o) {
|
|
26
|
-
for (var e = 1; e < arguments.length; e++) {
|
|
27
|
-
var t = arguments[e] != null ? arguments[e] : {};
|
|
28
|
-
e % 2 ? v(Object(t), !0).forEach(function(r) {
|
|
29
|
-
S(o, r, t[r]);
|
|
30
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : v(Object(t)).forEach(function(r) {
|
|
31
|
-
Object.defineProperty(o, r, Object.getOwnPropertyDescriptor(t, r));
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
return o;
|
|
35
|
-
}
|
|
36
|
-
function S(o, e, t) {
|
|
37
|
-
return e = y(e), e in o ? Object.defineProperty(o, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = t, o;
|
|
38
|
-
}
|
|
39
|
-
function y(o) {
|
|
40
|
-
var e = O(o, "string");
|
|
41
|
-
return m(e) == "symbol" ? e : String(e);
|
|
42
|
-
}
|
|
43
|
-
function O(o, e) {
|
|
44
|
-
if (m(o) != "object" || !o) return o;
|
|
45
|
-
var t = o[Symbol.toPrimitive];
|
|
46
|
-
if (t !== void 0) {
|
|
47
|
-
var r = t.call(o, e);
|
|
48
|
-
if (m(r) != "object") return r;
|
|
49
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
50
|
-
}
|
|
51
|
-
return (e === "string" ? String : Number)(o);
|
|
52
|
-
}
|
|
53
|
-
var x = g.extend("focustrap", {
|
|
54
|
-
mounted: function(e, t) {
|
|
55
|
-
var r = t.value || {}, n = r.disabled;
|
|
56
|
-
n || (this.createHiddenFocusableElements(e, t), this.bind(e, t), this.autoElementFocus(e, t)), e.setAttribute("data-pd-focustrap", !0), this.$el = e;
|
|
57
|
-
},
|
|
58
|
-
updated: function(e, t) {
|
|
59
|
-
var r = t.value || {}, n = r.disabled;
|
|
60
|
-
n && this.unbind(e);
|
|
61
|
-
},
|
|
62
|
-
unmounted: function(e) {
|
|
63
|
-
this.unbind(e);
|
|
64
|
-
},
|
|
65
|
-
methods: {
|
|
66
|
-
getComputedSelector: function(e) {
|
|
67
|
-
return ':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(e ?? "");
|
|
68
|
-
},
|
|
69
|
-
bind: function(e, t) {
|
|
70
|
-
var r = this, n = t.value || {}, u = n.onFocusIn, l = n.onFocusOut;
|
|
71
|
-
e.$_pfocustrap_mutationobserver = new MutationObserver(function(c) {
|
|
72
|
-
c.forEach(function(f) {
|
|
73
|
-
if (f.type === "childList" && !e.contains(document.activeElement)) {
|
|
74
|
-
var d = function p(a) {
|
|
75
|
-
var i = s.isFocusableElement(a) ? s.isFocusableElement(a, r.getComputedSelector(e.$_pfocustrap_focusableselector)) ? a : s.getFirstFocusableElement(e, r.getComputedSelector(e.$_pfocustrap_focusableselector)) : s.getFirstFocusableElement(a);
|
|
76
|
-
return h.isNotEmpty(i) ? i : a.nextSibling && p(a.nextSibling);
|
|
77
|
-
};
|
|
78
|
-
s.focus(d(f.nextSibling));
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
}), e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_mutationobserver.observe(e, {
|
|
82
|
-
childList: !0
|
|
83
|
-
}), e.$_pfocustrap_focusinlistener = function(c) {
|
|
84
|
-
return u && u(c);
|
|
85
|
-
}, e.$_pfocustrap_focusoutlistener = function(c) {
|
|
86
|
-
return l && l(c);
|
|
87
|
-
}, e.addEventListener("focusin", e.$_pfocustrap_focusinlistener), e.addEventListener("focusout", e.$_pfocustrap_focusoutlistener);
|
|
88
|
-
},
|
|
89
|
-
unbind: function(e) {
|
|
90
|
-
e.$_pfocustrap_mutationobserver && e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_focusinlistener && e.removeEventListener("focusin", e.$_pfocustrap_focusinlistener) && (e.$_pfocustrap_focusinlistener = null), e.$_pfocustrap_focusoutlistener && e.removeEventListener("focusout", e.$_pfocustrap_focusoutlistener) && (e.$_pfocustrap_focusoutlistener = null);
|
|
91
|
-
},
|
|
92
|
-
autoFocus: function(e) {
|
|
93
|
-
this.autoElementFocus(this.$el, {
|
|
94
|
-
value: F(F({}, e), {}, {
|
|
95
|
-
autoFocus: !0
|
|
96
|
-
})
|
|
97
|
-
});
|
|
98
|
-
},
|
|
99
|
-
autoElementFocus: function(e, t) {
|
|
100
|
-
var r = t.value || {}, n = r.autoFocusSelector, u = n === void 0 ? "" : n, l = r.firstFocusableSelector, c = l === void 0 ? "" : l, f = r.autoFocus, d = f === void 0 ? !1 : f, p = s.getFirstFocusableElement(e, "[autofocus]".concat(this.getComputedSelector(u)));
|
|
101
|
-
d && !p && (p = s.getFirstFocusableElement(e, this.getComputedSelector(c))), s.focus(p);
|
|
102
|
-
},
|
|
103
|
-
onFirstHiddenElementFocus: function(e) {
|
|
104
|
-
var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_lasthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getFirstFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_lasthiddenfocusableelement;
|
|
105
|
-
s.focus(u);
|
|
106
|
-
},
|
|
107
|
-
onLastHiddenElementFocus: function(e) {
|
|
108
|
-
var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_firsthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getLastFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_firsthiddenfocusableelement;
|
|
109
|
-
s.focus(u);
|
|
110
|
-
},
|
|
111
|
-
createHiddenFocusableElements: function(e, t) {
|
|
112
|
-
var r = this, n = t.value || {}, u = n.tabIndex, l = u === void 0 ? 0 : u, c = n.firstFocusableSelector, f = c === void 0 ? "" : c, d = n.lastFocusableSelector, p = d === void 0 ? "" : d, a = function(_) {
|
|
113
|
-
return s.createElement("span", {
|
|
114
|
-
class: "p-hidden-accessible p-hidden-focusable",
|
|
115
|
-
tabIndex: l,
|
|
116
|
-
role: "presentation",
|
|
117
|
-
"aria-hidden": !0,
|
|
118
|
-
"data-p-hidden-accessible": !0,
|
|
119
|
-
"data-p-hidden-focusable": !0,
|
|
120
|
-
onFocus: _?.bind(r)
|
|
121
|
-
});
|
|
122
|
-
}, i = a(this.onFirstHiddenElementFocus), b = a(this.onLastHiddenElementFocus);
|
|
123
|
-
i.$_pfocustrap_lasthiddenfocusableelement = b, i.$_pfocustrap_focusableselector = f, i.setAttribute("data-pc-section", "firstfocusableelement"), b.$_pfocustrap_firsthiddenfocusableelement = i, b.$_pfocustrap_focusableselector = p, b.setAttribute("data-pc-section", "lastfocusableelement"), e.prepend(i), e.append(b);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
});
|
|
15
|
+
const u = /([a-z-]*)\(.*?\)/g, p = Object.assign(Object.assign({}, s), { getAnimatableNone: (t) => {
|
|
16
|
+
const e = t.match(u);
|
|
17
|
+
return e ? e.map(l).join(" ") : t;
|
|
18
|
+
} });
|
|
127
19
|
export {
|
|
128
|
-
|
|
20
|
+
p as filter
|
|
129
21
|
};
|
package/dist/index220.js
CHANGED
|
@@ -1,40 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
type: [String, Object],
|
|
8
|
-
default: "body"
|
|
9
|
-
},
|
|
10
|
-
disabled: {
|
|
11
|
-
type: Boolean,
|
|
12
|
-
default: !1
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
data: function() {
|
|
16
|
-
return {
|
|
17
|
-
mounted: !1
|
|
18
|
-
};
|
|
19
|
-
},
|
|
20
|
-
mounted: function() {
|
|
21
|
-
this.mounted = d.isClient();
|
|
22
|
-
},
|
|
23
|
-
computed: {
|
|
24
|
-
inline: function() {
|
|
25
|
-
return this.disabled || this.appendTo === "self";
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
function s(e, f, n, m, o, r) {
|
|
30
|
-
return r.inline ? t(e.$slots, "default", {
|
|
31
|
-
key: 0
|
|
32
|
-
}) : o.mounted ? (i(), a(u, {
|
|
33
|
-
key: 1,
|
|
34
|
-
to: n.appendTo
|
|
35
|
-
}, [t(e.$slots, "default")], 8, ["to"])) : l("", !0);
|
|
36
|
-
}
|
|
37
|
-
p.render = s;
|
|
1
|
+
import { isString as n } from "./index367.js";
|
|
2
|
+
const r = (e) => ({
|
|
3
|
+
test: (s) => n(s) && s.endsWith(e) && s.split(" ").length === 1,
|
|
4
|
+
parse: parseFloat,
|
|
5
|
+
transform: (s) => `${s}${e}`
|
|
6
|
+
}), a = r("deg"), t = r("%"), p = r("px"), c = Object.assign(Object.assign({}, t), { parse: (e) => t.parse(e) / 100, transform: (e) => t.transform(e * 100) });
|
|
38
7
|
export {
|
|
39
|
-
|
|
8
|
+
a as degrees,
|
|
9
|
+
t as percent,
|
|
10
|
+
c as progressPercentage,
|
|
11
|
+
p as px
|
|
40
12
|
};
|
package/dist/index221.js
CHANGED
|
@@ -1,82 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var a = i.instance, e = a.$attrs.showThumbnails && a.getPositionClass("p-galleria-thumbnails", a.$attrs.thumbnailsPosition), n = a.$attrs.showIndicators && a.getPositionClass("p-galleria-indicators", a.$attrs.indicatorsPosition);
|
|
11
|
-
return ["p-galleria p-component", {
|
|
12
|
-
"p-galleria-fullscreen": a.$attrs.fullScreen,
|
|
13
|
-
"p-galleria-indicator-onitem": a.$attrs.showIndicatorsOnItem,
|
|
14
|
-
"p-galleria-item-nav-onhover": a.$attrs.showItemNavigatorsOnHover && !a.$attrs.fullScreen
|
|
15
|
-
}, e, n];
|
|
16
|
-
},
|
|
17
|
-
closeButton: "p-galleria-close p-link",
|
|
18
|
-
closeIcon: "p-galleria-close-icon",
|
|
19
|
-
header: "p-galleria-header",
|
|
20
|
-
content: "p-galleria-content",
|
|
21
|
-
footer: "p-galleria-footer",
|
|
22
|
-
itemWrapper: "p-galleria-item-wrapper",
|
|
23
|
-
itemContainer: "p-galleria-item-container",
|
|
24
|
-
previousItemButton: function(i) {
|
|
25
|
-
var a = i.instance;
|
|
26
|
-
return ["p-galleria-item-prev p-galleria-item-nav p-link", {
|
|
27
|
-
"p-disabled": a.isNavBackwardDisabled()
|
|
28
|
-
}];
|
|
29
|
-
},
|
|
30
|
-
previousItemIcon: "p-galleria-item-prev-icon",
|
|
31
|
-
item: "p-galleria-item",
|
|
32
|
-
nextItemButton: function(i) {
|
|
33
|
-
var a = i.instance;
|
|
34
|
-
return ["p-galleria-item-next p-galleria-item-nav p-link", {
|
|
35
|
-
"p-disabled": a.isNavForwardDisabled()
|
|
36
|
-
}];
|
|
37
|
-
},
|
|
38
|
-
nextItemIcon: "p-galleria-item-next-icon",
|
|
39
|
-
caption: "p-galleria-caption",
|
|
40
|
-
indicators: "p-galleria-indicators p-reset",
|
|
41
|
-
indicator: function(i) {
|
|
42
|
-
var a = i.instance, e = i.index;
|
|
43
|
-
return ["p-galleria-indicator", {
|
|
44
|
-
"p-highlight": a.isIndicatorItemActive(e)
|
|
45
|
-
}];
|
|
46
|
-
},
|
|
47
|
-
indicatorButton: "p-link",
|
|
48
|
-
thumbnailWrapper: "p-galleria-thumbnail-wrapper",
|
|
49
|
-
thumbnailContainer: "p-galleria-thumbnail-container",
|
|
50
|
-
previousThumbnailButton: function(i) {
|
|
51
|
-
var a = i.instance;
|
|
52
|
-
return ["p-galleria-thumbnail-prev p-link", {
|
|
53
|
-
"p-disabled": a.isNavBackwardDisabled()
|
|
54
|
-
}];
|
|
55
|
-
},
|
|
56
|
-
previousThumbnailIcon: "p-galleria-thumbnail-prev-icon",
|
|
57
|
-
thumbnailItemsContainer: "p-galleria-thumbnail-items-container",
|
|
58
|
-
thumbnailItems: "p-galleria-thumbnail-items",
|
|
59
|
-
thumbnailItem: function(i) {
|
|
60
|
-
var a = i.instance, e = i.index, n = i.activeIndex;
|
|
61
|
-
return ["p-galleria-thumbnail-item", {
|
|
62
|
-
"p-galleria-thumbnail-item-current": n === e,
|
|
63
|
-
"p-galleria-thumbnail-item-active": a.isItemActive(e),
|
|
64
|
-
"p-galleria-thumbnail-item-start": a.firstItemAciveIndex() === e,
|
|
65
|
-
"p-galleria-thumbnail-item-end": a.lastItemActiveIndex() === e
|
|
66
|
-
}];
|
|
67
|
-
},
|
|
68
|
-
thumbnailItemContent: "p-galleria-thumbnail-item-content",
|
|
69
|
-
nextThumbnailButton: function(i) {
|
|
70
|
-
var a = i.instance;
|
|
71
|
-
return ["p-galleria-thumbnail-next p-link", {
|
|
72
|
-
"p-disabled": a.isNavForwardDisabled()
|
|
73
|
-
}];
|
|
74
|
-
},
|
|
75
|
-
nextThumbnailIcon: "p-galleria-thumbnail-next-icon"
|
|
76
|
-
}, s = l.extend({
|
|
77
|
-
name: "galleria",
|
|
78
|
-
classes: r
|
|
79
|
-
});
|
|
1
|
+
import { isString as o } from "./index367.js";
|
|
2
|
+
import { hex as s } from "./index362.js";
|
|
3
|
+
import { hsla as t } from "./index364.js";
|
|
4
|
+
import { rgba as e } from "./index363.js";
|
|
5
|
+
const f = {
|
|
6
|
+
test: (r) => e.test(r) || s.test(r) || t.test(r),
|
|
7
|
+
parse: (r) => e.test(r) ? e.parse(r) : t.test(r) ? t.parse(r) : s.parse(r),
|
|
8
|
+
transform: (r) => o(r) ? r : r.hasOwnProperty("red") ? e.transform(r) : t.transform(r)
|
|
9
|
+
};
|
|
80
10
|
export {
|
|
81
|
-
|
|
11
|
+
f as color
|
|
82
12
|
};
|
package/dist/index222.js
CHANGED
|
@@ -1,22 +1,53 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { animate as N } from "./index223.js";
|
|
2
|
+
import { velocityPerSecond as P } from "./index224.js";
|
|
3
|
+
import { getFrameData as U } from "./index216.js";
|
|
4
|
+
function z({ from: u = 0, velocity: o = 0, min: t, max: d, power: c = 0.8, timeConstant: y = 750, bounceStiffness: A = 500, bounceDamping: B = 10, restDelta: l = 1, modifyTarget: s, driver: M, onUpdate: f, onComplete: S, onStop: k }) {
|
|
5
|
+
let e;
|
|
6
|
+
function p(n) {
|
|
7
|
+
return t !== void 0 && n < t || d !== void 0 && n > d;
|
|
8
|
+
}
|
|
9
|
+
function b(n) {
|
|
10
|
+
return t === void 0 ? d : d === void 0 || Math.abs(t - n) < Math.abs(d - n) ? t : d;
|
|
11
|
+
}
|
|
12
|
+
function g(n) {
|
|
13
|
+
e?.stop(), e = N(Object.assign(Object.assign({}, n), {
|
|
14
|
+
driver: M,
|
|
15
|
+
onUpdate: (i) => {
|
|
16
|
+
var r;
|
|
17
|
+
f?.(i), (r = n.onUpdate) === null || r === void 0 || r.call(n, i);
|
|
18
|
+
},
|
|
19
|
+
onComplete: S,
|
|
20
|
+
onStop: k
|
|
21
|
+
}));
|
|
22
|
+
}
|
|
23
|
+
function O(n) {
|
|
24
|
+
g(Object.assign({ type: "spring", stiffness: A, damping: B, restDelta: l }, n));
|
|
25
|
+
}
|
|
26
|
+
if (p(u))
|
|
27
|
+
O({ from: u, velocity: o, to: b(u) });
|
|
28
|
+
else {
|
|
29
|
+
let n = c * o + u;
|
|
30
|
+
typeof s < "u" && (n = s(n));
|
|
31
|
+
const i = b(n), r = i === t ? -1 : 1;
|
|
32
|
+
let h, j;
|
|
33
|
+
const F = (a) => {
|
|
34
|
+
h = j, j = a, o = P(a - h, U().delta), (r === 1 && a > i || r === -1 && a < i) && O({ from: a, to: i, velocity: o });
|
|
35
|
+
};
|
|
36
|
+
g({
|
|
37
|
+
type: "decay",
|
|
38
|
+
from: u,
|
|
39
|
+
velocity: o,
|
|
40
|
+
timeConstant: y,
|
|
41
|
+
power: c,
|
|
42
|
+
restDelta: l,
|
|
43
|
+
modifyTarget: s,
|
|
44
|
+
onUpdate: p(n) ? F : void 0
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
stop: () => e?.stop()
|
|
49
|
+
};
|
|
18
50
|
}
|
|
19
|
-
i.render = l;
|
|
20
51
|
export {
|
|
21
|
-
|
|
52
|
+
z as inertia
|
|
22
53
|
};
|