@quoreadmin/ui 1.10.2 → 1.10.4
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/index131.js +113 -107
- package/dist/index138.js +56 -55
- package/dist/index182.js +14 -14
- package/dist/index183.js +3 -3
- package/dist/index186.js +4 -4
- package/dist/index193.js +10 -10
- package/dist/index195.js +10 -10
- package/dist/index198.js +17 -17
- package/dist/index201.js +28 -28
- package/dist/index202.js +2 -2
- package/dist/index203.js +2 -2
- package/dist/index204.js +1 -1
- package/dist/index206.js +2 -2
- package/dist/index208.js +14 -14
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +3 -3
- package/dist/index212.js +6 -6
- package/dist/index213.js +29 -84
- package/dist/index214.js +109 -400
- package/dist/index215.js +36 -22
- package/dist/index216.js +26 -127
- package/dist/index217.js +35 -37
- package/dist/index218.js +51 -80
- package/dist/index219.js +42 -19
- package/dist/index220.js +3 -19
- package/dist/index221.js +9 -20
- package/dist/index222.js +18 -19
- package/dist/index223.js +10 -20
- package/dist/index224.js +9 -3635
- package/dist/index225.js +38 -54
- package/dist/index226.js +21 -77
- package/dist/index227.js +84 -48
- package/dist/index228.js +395 -203
- package/dist/index229.js +21 -9
- package/dist/index230.js +121 -51
- package/dist/index231.js +32 -55
- package/dist/index232.js +79 -53
- package/dist/index233.js +20 -75
- package/dist/index234.js +19 -725
- package/dist/index235.js +20 -42
- package/dist/index236.js +20 -64
- package/dist/index237.js +20 -11
- package/dist/index238.js +156 -700
- package/dist/index239.js +208 -800
- package/dist/index240.js +34 -30
- package/dist/index241.js +10 -116
- package/dist/index242.js +159 -34
- package/dist/index243.js +20 -26
- package/dist/index244.js +21 -35
- package/dist/index245.js +193 -45
- package/dist/index246.js +66 -39
- package/dist/index247.js +34 -4
- package/dist/index248.js +40 -9
- package/dist/index249.js +21 -18
- package/dist/index250.js +22 -10
- package/dist/index251.js +20 -10
- package/dist/index252.js +835 -38
- package/dist/index253.js +702 -21
- package/dist/index254.js +175 -160
- package/dist/index255.js +22 -228
- package/dist/index256.js +19 -36
- package/dist/index257.js +20 -10
- package/dist/index258.js +3 -22
- package/dist/index259.js +186 -21
- package/dist/index260.js +132 -19
- package/dist/index261.js +1131 -744
- package/dist/index262.js +19 -701
- package/dist/index263.js +22 -176
- package/dist/index264.js +8 -8
- package/dist/index265.js +22 -13
- package/dist/index266.js +10 -10
- package/dist/index267.js +20 -3
- package/dist/index268.js +2 -187
- package/dist/index269.js +2 -133
- package/dist/index270.js +3624 -149
- package/dist/index271.js +48 -1216
- package/dist/index272.js +77 -20
- package/dist/index273.js +52 -22
- package/dist/index274.js +215 -20
- package/dist/index275.js +10 -22
- package/dist/index276.js +57 -29
- package/dist/index277.js +61 -20
- package/dist/index278.js +54 -20
- package/dist/index279.js +75 -2
- package/dist/index280.js +726 -2
- package/dist/index281.js +42 -22
- package/dist/index282.js +55 -190
- package/dist/index283.js +11 -70
- package/dist/index284.js +704 -33
- package/dist/index285.js +817 -37
- package/dist/index290.js +3 -2
- package/dist/index291.js +25 -77
- package/dist/index292.js +2 -1534
- package/dist/index293.js +67 -374
- package/dist/index294.js +54 -2731
- package/dist/index295.js +25 -85
- package/dist/index296.js +22 -3792
- package/dist/index297.js +21 -59
- package/dist/index298.js +16 -15
- package/dist/index299.js +17 -84
- package/dist/index300.js +22 -201
- package/dist/index301.js +247 -231
- package/dist/index302.js +6 -3
- package/dist/index303.js +136 -23
- package/dist/index304.js +71 -52
- package/dist/index305.js +86 -25
- package/dist/index306.js +28 -21
- package/dist/index307.js +14 -20
- package/dist/index308.js +75 -16
- package/dist/index309.js +4 -17
- package/dist/index310.js +2 -23
- package/dist/index311.js +78 -74
- package/dist/index312.js +52 -21
- package/dist/index313.js +5 -934
- package/dist/index314.js +4 -21
- package/dist/index315.js +178 -19
- package/dist/index316.js +62 -19
- package/dist/index317.js +74 -68
- package/dist/index318.js +1534 -19
- package/dist/index319.js +386 -19
- package/dist/index320.js +2731 -22
- package/dist/index321.js +85 -21
- package/dist/index322.js +3792 -63
- package/dist/index323.js +52 -254
- package/dist/index324.js +78 -5
- package/dist/index325.js +21 -139
- package/dist/index326.js +928 -66
- package/dist/index327.js +21 -86
- package/dist/index328.js +19 -28
- package/dist/index329.js +19 -15
- package/dist/index330.js +67 -73
- package/dist/index331.js +19 -4
- package/dist/index332.js +19 -2
- package/dist/index333.js +21 -82
- package/dist/index334.js +21 -52
- package/dist/index335.js +63 -6
- package/dist/index336.js +15 -5
- package/dist/index337.js +71 -166
- package/dist/index338.js +196 -57
- package/dist/index339.js +246 -75
- package/dist/index340.js +9 -36
- package/dist/index341.js +10 -9
- package/dist/index342.js +14 -13
- package/dist/index343.js +10 -55
- package/dist/index344.js +16 -11
- package/dist/index345.js +8 -13
- package/dist/index346.js +12 -57
- package/dist/index347.js +51 -48
- package/dist/index348.js +9 -28
- package/dist/index349.js +14 -2
- package/dist/index350.js +58 -5
- package/dist/index351.js +52 -2
- package/dist/index352.js +30 -22
- package/dist/index353.js +2 -41
- package/dist/index354.js +5 -2
- package/dist/index355.js +2 -11
- package/dist/index356.js +22 -19
- package/dist/index357.js +40 -9
- package/dist/index358.js +2 -10
- package/dist/index359.js +10 -16
- package/dist/index360.js +20 -2
- package/dist/index361.js +2 -9
- package/dist/index362.js +9 -10
- package/dist/index363.js +37 -14
- package/dist/index364.js +18 -19
- package/dist/index365.js +56 -19
- package/dist/index366.js +28 -63
- package/dist/index367.js +7 -37
- package/dist/index368.js +49 -16
- package/dist/index369.js +7 -57
- package/dist/index370.js +10 -27
- package/dist/index371.js +7 -7
- package/dist/index372.js +27 -51
- package/dist/index373.js +2 -7
- package/dist/index374.js +69 -11
- package/dist/index375.js +166 -6
- package/dist/index376.js +20 -28
- package/dist/index377.js +20 -2
- package/dist/index378.js +61 -67
- package/dist/index379.js +36 -166
- package/dist/index38.js +2 -2
- package/dist/index380.js +28 -98
- package/dist/index381.js +10 -90
- package/dist/index382.js +4 -98
- package/dist/index383.js +4 -17
- package/dist/index384.js +12 -30
- package/dist/index385.js +7 -11
- package/dist/index386.js +11 -3
- package/dist/index387.js +4 -3
- package/dist/index388.js +33 -13
- package/dist/index389.js +31 -7
- package/dist/index390.js +28 -12
- package/dist/index391.js +61 -5
- package/dist/index392.js +17 -33
- package/dist/index393.js +99 -29
- package/dist/index394.js +91 -28
- package/dist/index395.js +96 -59
- package/dist/index396.js +1 -1
- package/dist/index401.js +1 -1
- package/dist/index402.js +2 -2
- package/dist/src/components/page-layout/page-layout.vue.d.ts +3 -0
- package/package.json +1 -1
package/dist/index216.js
CHANGED
|
@@ -1,129 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
});
|
|
1
|
+
import { onNextFrame as p, defaultTimestep as i } from "./index290.js";
|
|
2
|
+
import { createRenderStep as x } from "./index291.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;
|
|
127
24
|
export {
|
|
128
|
-
|
|
25
|
+
D as cancelSync,
|
|
26
|
+
g as default,
|
|
27
|
+
M as getFrameData
|
|
129
28
|
};
|
package/dist/index217.js
CHANGED
|
@@ -1,40 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
to: n.appendTo
|
|
35
|
-
}, [t(e.$slots, "default")], 8, ["to"])) : u("", !0);
|
|
1
|
+
import { color as m } from "./index224.js";
|
|
2
|
+
import { number as b } from "./index221.js";
|
|
3
|
+
import { isString as g, floatRegex as c, colorRegex as l, sanitize as k } from "./index340.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;
|
|
8
|
+
}
|
|
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 };
|
|
17
|
+
}
|
|
18
|
+
function d(e) {
|
|
19
|
+
return f(e).values;
|
|
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));
|
|
36
34
|
}
|
|
37
|
-
|
|
35
|
+
const C = { test: x, parse: d, createTransformer: h, getAnimatableNone: T };
|
|
38
36
|
export {
|
|
39
|
-
|
|
37
|
+
C as complex
|
|
40
38
|
};
|
package/dist/index218.js
CHANGED
|
@@ -1,82 +1,53 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
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 { animate as N } from "./index219.js";
|
|
2
|
+
import { velocityPerSecond as P } from "./index220.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
|
+
};
|
|
50
|
+
}
|
|
80
51
|
export {
|
|
81
|
-
|
|
52
|
+
z as inertia
|
|
82
53
|
};
|
package/dist/index219.js
CHANGED
|
@@ -1,22 +1,45 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { __rest as M } from "./index345.js";
|
|
2
|
+
import { detectAnimationFromOptions as U } from "./index346.js";
|
|
3
|
+
import k, { cancelSync as w } from "./index216.js";
|
|
4
|
+
import { interpolate as A } from "./index347.js";
|
|
5
|
+
import { hasRepeatDelayElapsed as I, reverseElapsed as N, loopElapsed as q } from "./index348.js";
|
|
6
|
+
const z = (n) => {
|
|
7
|
+
const o = ({ delta: a }) => n(a);
|
|
8
|
+
return {
|
|
9
|
+
start: () => k.update(o, !0),
|
|
10
|
+
stop: () => w.update(o)
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
function L(n) {
|
|
14
|
+
var o, a, { from: p, autoplay: O = !0, driver: P = z, elapsed: e = 0, repeat: R = 0, repeatType: x = "loop", repeatDelay: u = 0, onPlay: c, onStop: v, onComplete: D, onRepeat: T, onUpdate: y } = n, l = M(n, ["from", "autoplay", "driver", "elapsed", "repeat", "repeatType", "repeatDelay", "onPlay", "onStop", "onComplete", "onRepeat", "onUpdate"]);
|
|
15
|
+
let { to: i } = l, s, m = 0, t = l.duration, d, f = !1, r = !0, b;
|
|
16
|
+
const g = U(l);
|
|
17
|
+
!((a = (o = g).needsInterpolation) === null || a === void 0) && a.call(o, p, i) && (b = A([0, 100], [p, i], {
|
|
18
|
+
clamp: !1
|
|
19
|
+
}), p = 0, i = 100);
|
|
20
|
+
const E = g(Object.assign(Object.assign({}, l), { from: p, to: i }));
|
|
21
|
+
function S() {
|
|
22
|
+
m++, x === "reverse" ? (r = m % 2 === 0, e = N(e, t, u, r)) : (e = q(e, t, u), x === "mirror" && E.flipTarget()), f = !1, T && T();
|
|
23
|
+
}
|
|
24
|
+
function _() {
|
|
25
|
+
s.stop(), D && D();
|
|
26
|
+
}
|
|
27
|
+
function h(C) {
|
|
28
|
+
if (r || (C = -C), e += C, !f) {
|
|
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();
|
|
40
|
+
}
|
|
41
|
+
};
|
|
18
42
|
}
|
|
19
|
-
i.render = l;
|
|
20
43
|
export {
|
|
21
|
-
|
|
44
|
+
L as animate
|
|
22
45
|
};
|
package/dist/index220.js
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var p = {
|
|
4
|
-
name: "ChevronLeftIcon",
|
|
5
|
-
extends: r
|
|
6
|
-
}, C = /* @__PURE__ */ i("path", {
|
|
7
|
-
d: "M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z",
|
|
8
|
-
fill: "currentColor"
|
|
9
|
-
}, null, -1), l = [C];
|
|
10
|
-
function s(e, a, c, d, h, m) {
|
|
11
|
-
return t(), o("svg", n({
|
|
12
|
-
width: "14",
|
|
13
|
-
height: "14",
|
|
14
|
-
viewBox: "0 0 14 14",
|
|
15
|
-
fill: "none",
|
|
16
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17
|
-
}, e.pti()), l, 16);
|
|
1
|
+
function n(c, e) {
|
|
2
|
+
return e ? c * (1e3 / e) : 0;
|
|
18
3
|
}
|
|
19
|
-
p.render = s;
|
|
20
4
|
export {
|
|
21
|
-
|
|
5
|
+
n as velocityPerSecond
|
|
22
6
|
};
|
package/dist/index221.js
CHANGED
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
d: "M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",
|
|
8
|
-
fill: "currentColor"
|
|
9
|
-
}, null, -1), l = [C];
|
|
10
|
-
function s(e, a, c, d, h, m) {
|
|
11
|
-
return t(), o("svg", n({
|
|
12
|
-
width: "14",
|
|
13
|
-
height: "14",
|
|
14
|
-
viewBox: "0 0 14 14",
|
|
15
|
-
fill: "none",
|
|
16
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17
|
-
}, e.pti()), l, 16);
|
|
18
|
-
}
|
|
19
|
-
p.render = s;
|
|
1
|
+
import { clamp as a } from "./index340.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 });
|
|
20
7
|
export {
|
|
21
|
-
|
|
8
|
+
n as alpha,
|
|
9
|
+
t as number,
|
|
10
|
+
r as scale
|
|
22
11
|
};
|
package/dist/index222.js
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
viewBox: "0 0 14 14",
|
|
15
|
-
fill: "none",
|
|
16
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17
|
-
}, e.pti()), l, 16);
|
|
1
|
+
import { complex as s } from "./index217.js";
|
|
2
|
+
import { floatRegex as i } from "./index340.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 + ")";
|
|
18
14
|
}
|
|
19
|
-
p
|
|
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
|
+
} });
|
|
20
19
|
export {
|
|
21
|
-
p as
|
|
20
|
+
p as filter
|
|
22
21
|
};
|
package/dist/index223.js
CHANGED
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
d: "M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z",
|
|
8
|
-
fill: "currentColor"
|
|
9
|
-
}, null, -1), s = [l];
|
|
10
|
-
function C(e, a, c, d, h, m) {
|
|
11
|
-
return t(), o("svg", n({
|
|
12
|
-
width: "14",
|
|
13
|
-
height: "14",
|
|
14
|
-
viewBox: "0 0 14 14",
|
|
15
|
-
fill: "none",
|
|
16
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17
|
-
}, e.pti()), s, 16);
|
|
18
|
-
}
|
|
19
|
-
i.render = C;
|
|
1
|
+
import { isString as n } from "./index340.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) });
|
|
20
7
|
export {
|
|
21
|
-
|
|
8
|
+
a as degrees,
|
|
9
|
+
t as percent,
|
|
10
|
+
c as progressPercentage,
|
|
11
|
+
p as px
|
|
22
12
|
};
|