@quoreadmin/ui 1.10.17 → 1.10.18
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/index138.js +137 -114
- package/dist/index15.js +43 -38
- package/dist/index186.js +4 -4
- package/dist/index193.js +7 -7
- package/dist/index198.js +17 -17
- package/dist/index201.js +21 -21
- package/dist/index202.js +1 -1
- package/dist/index203.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/index216.js +2 -2
- package/dist/index217.js +1 -1
- package/dist/index219.js +4 -4
- package/dist/index22.js +28 -26
- package/dist/index221.js +1 -1
- package/dist/index222.js +1 -1
- package/dist/index223.js +1 -1
- package/dist/index224.js +4 -4
- package/dist/index226.js +1 -1
- package/dist/index230.js +1 -1
- package/dist/index233.js +1 -1
- package/dist/index234.js +1 -1
- package/dist/index235.js +1 -1
- package/dist/index236.js +1 -1
- package/dist/index237.js +1 -1
- package/dist/index238.js +3624 -149
- package/dist/index239.js +55 -20
- package/dist/index240.js +77 -22
- package/dist/index241.js +43 -190
- package/dist/index242.js +211 -66
- package/dist/index243.js +9 -33
- package/dist/index244.js +53 -36
- package/dist/index245.js +60 -160
- package/dist/index246.js +51 -225
- package/dist/index247.js +75 -37
- package/dist/index248.js +726 -10
- package/dist/index249.js +42 -22
- package/dist/index250.js +64 -22
- package/dist/index251.js +11 -20
- package/dist/index252.js +669 -800
- package/dist/index253.js +796 -678
- package/dist/index254.js +156 -171
- package/dist/index255.js +11 -13
- package/dist/index256.js +15 -13
- package/dist/index257.js +198 -19
- package/dist/index258.js +70 -3
- package/dist/index259.js +32 -185
- package/dist/index260.js +23 -116
- package/dist/index261.js +22 -1223
- package/dist/index262.js +13 -11
- package/dist/index263.js +11 -13
- package/dist/index264.js +836 -22
- package/dist/index265.js +701 -28
- package/dist/index266.js +176 -20
- package/dist/index267.js +14 -12
- package/dist/index268.js +20 -2
- package/dist/index269.js +20 -2
- package/dist/index270.js +3 -3636
- package/dist/index271.js +181 -49
- package/dist/index272.js +128 -72
- package/dist/index273.js +1216 -45
- package/dist/index274.js +20 -215
- package/dist/index275.js +22 -10
- package/dist/index276.js +22 -57
- package/dist/index277.js +29 -61
- package/dist/index278.js +20 -54
- package/dist/index279.js +20 -75
- package/dist/index280.js +2 -726
- package/dist/index281.js +2 -42
- package/dist/index282.js +160 -63
- package/dist/index283.js +227 -10
- package/dist/index284.js +36 -704
- package/dist/index285.js +9 -819
- package/dist/index290.js +3 -2
- package/dist/index291.js +25 -77
- package/dist/index292.js +2 -54
- package/dist/index293.js +78 -25
- package/dist/index294.js +1534 -22
- package/dist/index295.js +386 -22
- package/dist/index296.js +2731 -16
- package/dist/index297.js +86 -17
- package/dist/index298.js +3792 -23
- package/dist/index299.js +52 -254
- package/dist/index300.js +15 -6
- package/dist/index301.js +74 -130
- package/dist/index302.js +195 -66
- package/dist/index303.js +240 -81
- package/dist/index304.js +50 -25
- package/dist/index305.js +24 -14
- package/dist/index306.js +21 -74
- package/dist/index307.js +21 -3
- package/dist/index308.js +16 -2
- package/dist/index309.js +16 -82
- package/dist/index310.js +22 -52
- package/dist/index311.js +78 -5
- package/dist/index312.js +21 -4
- package/dist/index313.js +920 -164
- package/dist/index314.js +21 -62
- package/dist/index315.js +20 -75
- package/dist/index316.js +20 -3
- package/dist/index317.js +68 -26
- package/dist/index318.js +19 -1534
- package/dist/index319.js +19 -386
- package/dist/index320.js +22 -2731
- package/dist/index321.js +21 -85
- package/dist/index322.js +63 -3792
- package/dist/index323.js +8 -59
- package/dist/index324.js +12 -78
- package/dist/index325.js +54 -21
- package/dist/index326.js +9 -932
- package/dist/index327.js +13 -21
- package/dist/index328.js +57 -19
- package/dist/index329.js +51 -19
- package/dist/index330.js +30 -68
- package/dist/index331.js +2 -19
- package/dist/index332.js +5 -19
- package/dist/index333.js +2 -22
- package/dist/index334.js +23 -22
- package/dist/index335.js +41 -63
- package/dist/index336.js +2 -15
- package/dist/index337.js +11 -84
- package/dist/index338.js +18 -200
- package/dist/index339.js +10 -246
- package/dist/index340.js +10 -37
- package/dist/index341.js +16 -18
- package/dist/index342.js +2 -57
- package/dist/index343.js +9 -29
- package/dist/index344.js +9 -6
- package/dist/index345.js +12 -50
- package/dist/index346.js +261 -6
- package/dist/index347.js +5 -11
- package/dist/index348.js +140 -7
- package/dist/index349.js +73 -28
- package/dist/index350.js +87 -2
- package/dist/index351.js +29 -70
- package/dist/index352.js +15 -166
- package/dist/index353.js +74 -8
- package/dist/index354.js +3 -12
- package/dist/index355.js +2 -55
- package/dist/index356.js +80 -9
- package/dist/index357.js +52 -13
- package/dist/index358.js +4 -56
- package/dist/index359.js +4 -51
- package/dist/index360.js +171 -23
- package/dist/index361.js +63 -2
- package/dist/index362.js +74 -4
- package/dist/index363.js +37 -2
- package/dist/index364.js +20 -23
- package/dist/index365.js +19 -40
- package/dist/index366.js +64 -2
- package/dist/index367.js +36 -10
- package/dist/index368.js +16 -17
- package/dist/index369.js +57 -10
- package/dist/index370.js +29 -10
- package/dist/index371.js +6 -16
- package/dist/index372.js +52 -2
- package/dist/index373.js +6 -8
- package/dist/index374.js +11 -9
- package/dist/index375.js +6 -13
- package/dist/index376.js +28 -20
- package/dist/index377.js +2 -20
- package/dist/index378.js +67 -61
- package/dist/index379.js +166 -36
- package/dist/index380.js +98 -28
- package/dist/index381.js +90 -10
- package/dist/index382.js +98 -4
- package/dist/index383.js +17 -4
- package/dist/index384.js +30 -12
- package/dist/index385.js +11 -7
- package/dist/index386.js +3 -11
- package/dist/index387.js +3 -4
- package/dist/index388.js +13 -33
- package/dist/index389.js +7 -31
- package/dist/index390.js +12 -28
- package/dist/index391.js +5 -61
- package/dist/index392.js +33 -101
- package/dist/index393.js +31 -91
- package/dist/index394.js +27 -16
- package/dist/index395.js +59 -96
- package/dist/index396.js +1 -1
- package/dist/index401.js +1 -1
- package/dist/index402.js +2 -2
- package/dist/index88.js +43 -31
- package/dist/src/components/comment/comment.d.ts +9 -0
- package/dist/src/components/comment/comment.stories.d.ts +9 -0
- package/dist/src/components/comment-section/comment-section.d.ts +9 -0
- package/dist/src/components/comment-section/comment-section.stories.d.ts +9 -0
- package/dist/src/components/data-filter/data-filter.d.ts +27 -0
- package/dist/src/components/data-filter/data-filter.stories.d.ts +8 -0
- package/dist/src/components/data-list/data-list.d.ts +27 -0
- package/dist/src/components/grid/grid.stories.d.ts +36 -0
- package/dist/src/components/popover/popover.d.ts +17 -2
- package/dist/src/components/popover/popover.stories.d.ts +63 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +9 -0
- package/dist/src/views/lists.vue.d.ts +54 -0
- package/dist/src/views/tables.vue.d.ts +27 -0
- package/package.json +1 -1
package/dist/index327.js
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
return t(), o("svg", C({
|
|
14
|
-
width: "14",
|
|
15
|
-
height: "14",
|
|
16
|
-
viewBox: "0 0 14 14",
|
|
17
|
-
fill: "none",
|
|
18
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
-
}, e.pti()), p, 16);
|
|
1
|
+
function r({ velocity: o = 0, from: n = 0, power: i = 0.8, timeConstant: s = 350, restDelta: u = 0.5, modifyTarget: c }) {
|
|
2
|
+
const e = { done: !1, value: n };
|
|
3
|
+
let a = i * o;
|
|
4
|
+
const d = n + a, t = c === void 0 ? d : c(d);
|
|
5
|
+
return t !== d && (a = t - n), {
|
|
6
|
+
next: (p) => {
|
|
7
|
+
const l = -a * Math.exp(-p / s);
|
|
8
|
+
return e.done = !(l > u || l < -u), e.value = e.done ? t : t + l, e;
|
|
9
|
+
},
|
|
10
|
+
flipTarget: () => {
|
|
11
|
+
}
|
|
12
|
+
};
|
|
20
13
|
}
|
|
21
|
-
n.render = d;
|
|
22
14
|
export {
|
|
23
|
-
|
|
15
|
+
r as decay
|
|
24
16
|
};
|
package/dist/index328.js
CHANGED
|
@@ -1,22 +1,60 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}, p = /* @__PURE__ */ i("path", {
|
|
7
|
-
d: "M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z",
|
|
8
|
-
fill: "currentColor"
|
|
9
|
-
}, null, -1), s = [p];
|
|
10
|
-
function C(e, a, c, d, h, m) {
|
|
11
|
-
return r(), 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);
|
|
1
|
+
import { __rest as O } from "./index323.js";
|
|
2
|
+
import { findSpring as T, calcAngularFreq as j } from "./index329.js";
|
|
3
|
+
const R = ["duration", "bounce"], V = ["stiffness", "damping", "mass"];
|
|
4
|
+
function y(i, n) {
|
|
5
|
+
return n.some((o) => i[o] !== void 0);
|
|
18
6
|
}
|
|
19
|
-
|
|
7
|
+
function A(i) {
|
|
8
|
+
let n = Object.assign({ velocity: 0, stiffness: 100, damping: 10, mass: 1, isResolvedFromDuration: !1 }, i);
|
|
9
|
+
if (!y(i, V) && y(i, R)) {
|
|
10
|
+
const o = T(i);
|
|
11
|
+
n = Object.assign(Object.assign(Object.assign({}, n), o), { velocity: 0, mass: 1 }), n.isResolvedFromDuration = !0;
|
|
12
|
+
}
|
|
13
|
+
return n;
|
|
14
|
+
}
|
|
15
|
+
function w(i) {
|
|
16
|
+
var { from: n = 0, to: o = 1, restSpeed: q = 2, restDelta: f } = i, F = O(i, ["from", "to", "restSpeed", "restDelta"]);
|
|
17
|
+
const p = { done: !1, value: n };
|
|
18
|
+
let { stiffness: h, damping: D, mass: g, velocity: d, duration: S, isResolvedFromDuration: x } = A(F), u = b, m = b;
|
|
19
|
+
function M() {
|
|
20
|
+
const c = d ? -(d / 1e3) : 0, r = o - n, t = D / (2 * Math.sqrt(h * g)), s = Math.sqrt(h / g) / 1e3;
|
|
21
|
+
if (f === void 0 && (f = Math.min(Math.abs(o - n) / 100, 0.4)), t < 1) {
|
|
22
|
+
const e = j(s, t);
|
|
23
|
+
u = (a) => {
|
|
24
|
+
const l = Math.exp(-t * s * a);
|
|
25
|
+
return o - l * ((c + t * s * r) / e * Math.sin(e * a) + r * Math.cos(e * a));
|
|
26
|
+
}, m = (a) => {
|
|
27
|
+
const l = Math.exp(-t * s * a);
|
|
28
|
+
return t * s * l * (Math.sin(e * a) * (c + t * s * r) / e + r * Math.cos(e * a)) - l * (Math.cos(e * a) * (c + t * s * r) - e * r * Math.sin(e * a));
|
|
29
|
+
};
|
|
30
|
+
} else if (t === 1)
|
|
31
|
+
u = (e) => o - Math.exp(-s * e) * (r + (c + s * r) * e);
|
|
32
|
+
else {
|
|
33
|
+
const e = s * Math.sqrt(t * t - 1);
|
|
34
|
+
u = (a) => {
|
|
35
|
+
const l = Math.exp(-t * s * a), v = Math.min(e * a, 300);
|
|
36
|
+
return o - l * ((c + t * s * r) * Math.sinh(v) + e * r * Math.cosh(v)) / e;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return M(), {
|
|
41
|
+
next: (c) => {
|
|
42
|
+
const r = u(c);
|
|
43
|
+
if (x)
|
|
44
|
+
p.done = c >= S;
|
|
45
|
+
else {
|
|
46
|
+
const t = m(c) * 1e3, s = Math.abs(t) <= q, e = Math.abs(o - r) <= f;
|
|
47
|
+
p.done = s && e;
|
|
48
|
+
}
|
|
49
|
+
return p.value = p.done ? o : r, p;
|
|
50
|
+
},
|
|
51
|
+
flipTarget: () => {
|
|
52
|
+
d = -d, [n, o] = [o, n], M();
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
w.needsInterpolation = (i, n) => typeof i == "string" || typeof n == "string";
|
|
57
|
+
const b = (i) => 0;
|
|
20
58
|
export {
|
|
21
|
-
|
|
59
|
+
w as spring
|
|
22
60
|
};
|
package/dist/index329.js
CHANGED
|
@@ -1,22 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
},
|
|
1
|
+
import { warning as N } from "./index337.js";
|
|
2
|
+
import { clamp as g } from "./index331.js";
|
|
3
|
+
const M = 1e-3, S = 0.01, m = 10, A = 0.05, G = 1;
|
|
4
|
+
function B({ duration: t = 800, bounce: p = 0.25, velocity: c = 0, mass: e = 1 }) {
|
|
5
|
+
let a, f;
|
|
6
|
+
N(t <= m * 1e3, "Spring duration must be 10 seconds or less");
|
|
7
|
+
let s = 1 - p;
|
|
8
|
+
s = g(A, G, s), t = g(S, m, t / 1e3), s < 1 ? (a = (n) => {
|
|
9
|
+
const r = n * s, o = r * t, i = r - c, l = D(n, s), x = Math.exp(-o);
|
|
10
|
+
return M - i / l * x;
|
|
11
|
+
}, f = (n) => {
|
|
12
|
+
const o = n * s * t, i = o * c + c, l = Math.pow(s, 2) * Math.pow(n, 2) * t, x = Math.exp(-o), b = D(Math.pow(n, 2), s);
|
|
13
|
+
return (-a(n) + M > 0 ? -1 : 1) * ((i - l) * x) / b;
|
|
14
|
+
}) : (a = (n) => {
|
|
15
|
+
const r = Math.exp(-n * t), o = (n - c) * t + 1;
|
|
16
|
+
return -M + r * o;
|
|
17
|
+
}, f = (n) => {
|
|
18
|
+
const r = Math.exp(-n * t), o = (c - n) * (t * t);
|
|
19
|
+
return r * o;
|
|
20
|
+
});
|
|
21
|
+
const w = 5 / t, h = R(a, f, w);
|
|
22
|
+
if (t = t * 1e3, isNaN(h))
|
|
23
|
+
return {
|
|
24
|
+
stiffness: 100,
|
|
25
|
+
damping: 10,
|
|
26
|
+
duration: t
|
|
27
|
+
};
|
|
28
|
+
{
|
|
29
|
+
const n = Math.pow(h, 2) * e;
|
|
30
|
+
return {
|
|
31
|
+
stiffness: n,
|
|
32
|
+
damping: s * 2 * Math.sqrt(e * n),
|
|
33
|
+
duration: t
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const I = 12;
|
|
38
|
+
function R(t, p, c) {
|
|
39
|
+
let e = c;
|
|
40
|
+
for (let a = 1; a < I; a++)
|
|
41
|
+
e = e - t(e) / p(e);
|
|
42
|
+
return e;
|
|
43
|
+
}
|
|
44
|
+
function D(t, p) {
|
|
45
|
+
return t * Math.sqrt(1 - p * p);
|
|
18
46
|
}
|
|
19
|
-
l.render = a;
|
|
20
47
|
export {
|
|
21
|
-
|
|
48
|
+
D as calcAngularFreq,
|
|
49
|
+
B as findSpring,
|
|
50
|
+
G as maxDamping,
|
|
51
|
+
m as maxDuration,
|
|
52
|
+
A as minDamping,
|
|
53
|
+
S as minDuration
|
|
22
54
|
};
|
package/dist/index330.js
CHANGED
|
@@ -1,71 +1,33 @@
|
|
|
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
|
-
height: 1px;
|
|
28
|
-
width: 1px;
|
|
29
|
-
transform-origin: 0 0;
|
|
30
|
-
pointer-events: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.p-virtualscroller .p-virtualscroller-loader {
|
|
34
|
-
position: sticky;
|
|
35
|
-
top: 0;
|
|
36
|
-
left: 0;
|
|
37
|
-
width: 100%;
|
|
38
|
-
height: 100%;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.p-virtualscroller-loader.p-component-overlay {
|
|
42
|
-
display: flex;
|
|
43
|
-
align-items: center;
|
|
44
|
-
justify-content: center;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.p-virtualscroller-loading-icon {
|
|
48
|
-
font-size: 2rem;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.p-virtualscroller-loading-icon.p-icon {
|
|
52
|
-
width: 2rem;
|
|
53
|
-
height: 2rem;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.p-virtualscroller-horizontal > .p-virtualscroller-content {
|
|
57
|
-
display: flex;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* Inline */
|
|
61
|
-
.p-virtualscroller-inline .p-virtualscroller-content {
|
|
62
|
-
position: static;
|
|
63
|
-
}
|
|
1
|
+
import { interpolate as f } from "./index325.js";
|
|
2
|
+
import { easeInOut as p } from "./index226.js";
|
|
3
|
+
function m(e, t) {
|
|
4
|
+
return e.map(() => t || p).splice(0, e.length - 1);
|
|
5
|
+
}
|
|
6
|
+
function g(e) {
|
|
7
|
+
const t = e.length;
|
|
8
|
+
return e.map((r, n) => n !== 0 ? n / (t - 1) : 0);
|
|
9
|
+
}
|
|
10
|
+
function y(e, t) {
|
|
11
|
+
return e.map((r) => r * t);
|
|
12
|
+
}
|
|
13
|
+
function A({ from: e = 0, to: t = 1, ease: r, offset: n, duration: u = 300 }) {
|
|
14
|
+
const o = { done: !1, value: e }, a = Array.isArray(t) ? t : [e, t], c = y(n && n.length === a.length ? n : g(a), u);
|
|
15
|
+
function l() {
|
|
16
|
+
return f(c, a, {
|
|
17
|
+
ease: Array.isArray(r) ? r : m(a, r)
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
let i = l();
|
|
21
|
+
return {
|
|
22
|
+
next: (s) => (o.value = i(s), o.done = s >= u, o),
|
|
23
|
+
flipTarget: () => {
|
|
24
|
+
a.reverse(), i = l();
|
|
25
|
+
}
|
|
26
|
+
};
|
|
64
27
|
}
|
|
65
|
-
`, r = n.extend({
|
|
66
|
-
name: "virtualscroller",
|
|
67
|
-
css: t
|
|
68
|
-
});
|
|
69
28
|
export {
|
|
70
|
-
|
|
29
|
+
y as convertOffsetToTimes,
|
|
30
|
+
m as defaultEasing,
|
|
31
|
+
g as defaultOffset,
|
|
32
|
+
A as keyframes
|
|
71
33
|
};
|
package/dist/index331.js
CHANGED
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var n = {
|
|
3
|
-
root: function(i) {
|
|
4
|
-
var o = i.instance, e = i.props;
|
|
5
|
-
return ["p-checkbox p-component", {
|
|
6
|
-
"p-highlight": o.checked,
|
|
7
|
-
"p-disabled": e.disabled,
|
|
8
|
-
"p-invalid": e.invalid,
|
|
9
|
-
"p-variant-filled": e.variant ? e.variant === "filled" : o.$primevue.config.inputStyle === "filled"
|
|
10
|
-
}];
|
|
11
|
-
},
|
|
12
|
-
box: "p-checkbox-box",
|
|
13
|
-
input: "p-checkbox-input",
|
|
14
|
-
icon: "p-checkbox-icon"
|
|
15
|
-
}, p = c.extend({
|
|
16
|
-
name: "checkbox",
|
|
17
|
-
classes: n
|
|
18
|
-
});
|
|
1
|
+
const c = (a, t, m) => Math.min(Math.max(m, a), t);
|
|
19
2
|
export {
|
|
20
|
-
|
|
3
|
+
c as clamp
|
|
21
4
|
};
|
package/dist/index332.js
CHANGED
|
@@ -1,21 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return ["p-radiobutton p-component", {
|
|
6
|
-
"p-highlight": o.checked,
|
|
7
|
-
"p-disabled": t.disabled,
|
|
8
|
-
"p-invalid": t.invalid,
|
|
9
|
-
"p-variant-filled": t.variant ? t.variant === "filled" : o.$primevue.config.inputStyle === "filled"
|
|
10
|
-
}];
|
|
11
|
-
},
|
|
12
|
-
box: "p-radiobutton-box",
|
|
13
|
-
input: "p-radiobutton-input",
|
|
14
|
-
icon: "p-radiobutton-icon"
|
|
15
|
-
}, r = n.extend({
|
|
16
|
-
name: "radiobutton",
|
|
17
|
-
classes: a
|
|
18
|
-
});
|
|
1
|
+
const n = (e, o, t) => {
|
|
2
|
+
const r = o - e;
|
|
3
|
+
return r === 0 ? 1 : (t - e) / r;
|
|
4
|
+
};
|
|
19
5
|
export {
|
|
20
|
-
|
|
6
|
+
n as progress
|
|
21
7
|
};
|
package/dist/index333.js
CHANGED
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { openBlock as r, createElementBlock as o, mergeProps as i, createElementVNode as n } from "vue";
|
|
3
|
-
var l = {
|
|
4
|
-
name: "BlankIcon",
|
|
5
|
-
extends: t
|
|
6
|
-
}, p = /* @__PURE__ */ n("rect", {
|
|
7
|
-
width: "1",
|
|
8
|
-
height: "1",
|
|
9
|
-
fill: "currentColor",
|
|
10
|
-
"fill-opacity": "0"
|
|
11
|
-
}, null, -1), a = [p];
|
|
12
|
-
function c(e, s, d, h, m, f) {
|
|
13
|
-
return r(), o("svg", i({
|
|
14
|
-
width: "14",
|
|
15
|
-
height: "14",
|
|
16
|
-
viewBox: "0 0 14 14",
|
|
17
|
-
fill: "none",
|
|
18
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
-
}, e.pti()), a, 16);
|
|
20
|
-
}
|
|
21
|
-
l.render = c;
|
|
1
|
+
const i = (t, c, x) => -x * t + x * c + t;
|
|
22
2
|
export {
|
|
23
|
-
|
|
3
|
+
i as mix
|
|
24
4
|
};
|
package/dist/index334.js
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import C from "./
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
1
|
+
import { mix as C } from "./index333.js";
|
|
2
|
+
import { invariant as c } from "./index337.js";
|
|
3
|
+
import { hslaToRgba as f } from "./index338.js";
|
|
4
|
+
import { hsla as s } from "./index339.js";
|
|
5
|
+
import { rgba as m } from "./index340.js";
|
|
6
|
+
import { hex as b } from "./index341.js";
|
|
7
|
+
const d = (o, t, r) => {
|
|
8
|
+
const a = o * o, e = t * t;
|
|
9
|
+
return Math.sqrt(Math.max(0, r * (e - a) + a));
|
|
10
|
+
}, y = [b, m, s], h = (o) => y.find((t) => t.test(o)), x = (o) => `'${o}' is not an animatable color. Use the equivalent color code instead.`, j = (o, t) => {
|
|
11
|
+
let r = h(o), a = h(t);
|
|
12
|
+
c(!!r, x(o)), c(!!a, x(t));
|
|
13
|
+
let e = r.parse(o), n = a.parse(t);
|
|
14
|
+
r === s && (e = f(e), r = m), a === s && (n = f(n), a = m);
|
|
15
|
+
const l = Object.assign({}, e);
|
|
16
|
+
return (p) => {
|
|
17
|
+
for (const i in l)
|
|
18
|
+
i !== "alpha" && (l[i] = d(e[i], n[i], p));
|
|
19
|
+
return l.alpha = C(e.alpha, n.alpha, p), r.transform(l);
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
j as mixColor,
|
|
24
|
+
d as mixLinearColor
|
|
24
25
|
};
|
package/dist/index335.js
CHANGED
|
@@ -1,65 +1,43 @@
|
|
|
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
|
-
"p-variant-filled": p.variant ? p.variant === "filled" : n.$primevue.config.inputStyle === "filled"
|
|
40
|
-
}];
|
|
41
|
-
},
|
|
42
|
-
filterIcon: "p-dropdown-filter-icon",
|
|
43
|
-
wrapper: "p-dropdown-items-wrapper",
|
|
44
|
-
list: "p-dropdown-items",
|
|
45
|
-
itemGroup: "p-dropdown-item-group",
|
|
46
|
-
itemGroupLabel: "p-dropdown-item-group-label",
|
|
47
|
-
item: function(e) {
|
|
48
|
-
var p = e.instance, n = e.props, o = e.state, t = e.option, r = e.focusedOption;
|
|
49
|
-
return ["p-dropdown-item", {
|
|
50
|
-
"p-highlight": p.isSelected(t) && n.highlightOnSelect,
|
|
51
|
-
"p-focus": o.focusedOptionIndex === r,
|
|
52
|
-
"p-disabled": p.isOptionDisabled(t)
|
|
53
|
-
}];
|
|
54
|
-
},
|
|
55
|
-
itemLabel: "p-dropdown-item-label",
|
|
56
|
-
checkIcon: "p-dropdown-check-icon",
|
|
57
|
-
blankIcon: "p-dropdown-blank-icon",
|
|
58
|
-
emptyMessage: "p-dropdown-empty-message"
|
|
59
|
-
}, s = a.extend({
|
|
60
|
-
name: "dropdown",
|
|
61
|
-
classes: l
|
|
62
|
-
});
|
|
1
|
+
import { mix as c } from "./index333.js";
|
|
2
|
+
import { mixColor as f } from "./index334.js";
|
|
3
|
+
import { isNum as i } from "./index342.js";
|
|
4
|
+
import { pipe as p } from "./index336.js";
|
|
5
|
+
import { warning as d } from "./index337.js";
|
|
6
|
+
import { complex as a } from "./index217.js";
|
|
7
|
+
import { color as b } from "./index224.js";
|
|
8
|
+
function l(n, e) {
|
|
9
|
+
return i(n) ? (r) => c(n, e, r) : b.test(n) ? f(n, e) : h(n, e);
|
|
10
|
+
}
|
|
11
|
+
const x = (n, e) => {
|
|
12
|
+
const r = [...n], o = r.length, t = n.map((u, s) => l(u, e[s]));
|
|
13
|
+
return (u) => {
|
|
14
|
+
for (let s = 0; s < o; s++)
|
|
15
|
+
r[s] = t[s](u);
|
|
16
|
+
return r;
|
|
17
|
+
};
|
|
18
|
+
}, C = (n, e) => {
|
|
19
|
+
const r = Object.assign(Object.assign({}, n), e), o = {};
|
|
20
|
+
for (const t in r)
|
|
21
|
+
n[t] !== void 0 && e[t] !== void 0 && (o[t] = l(n[t], e[t]));
|
|
22
|
+
return (t) => {
|
|
23
|
+
for (const u in o)
|
|
24
|
+
r[u] = o[u](t);
|
|
25
|
+
return r;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
function m(n) {
|
|
29
|
+
const e = a.parse(n), r = e.length;
|
|
30
|
+
let o = 0, t = 0, u = 0;
|
|
31
|
+
for (let s = 0; s < r; s++)
|
|
32
|
+
o || typeof e[s] == "number" ? o++ : e[s].hue !== void 0 ? u++ : t++;
|
|
33
|
+
return { parsed: e, numNumbers: o, numRGB: t, numHSL: u };
|
|
34
|
+
}
|
|
35
|
+
const h = (n, e) => {
|
|
36
|
+
const r = a.createTransformer(e), o = m(n), t = m(e);
|
|
37
|
+
return o.numHSL === t.numHSL && o.numRGB === t.numRGB && o.numNumbers >= t.numNumbers ? p(x(o.parsed, t.parsed), r) : (d(!0, `Complex values '${n}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), (s) => `${s > 0 ? e : n}`);
|
|
38
|
+
};
|
|
63
39
|
export {
|
|
64
|
-
|
|
40
|
+
x as mixArray,
|
|
41
|
+
h as mixComplex,
|
|
42
|
+
C as mixObject
|
|
65
43
|
};
|
package/dist/index336.js
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
if (e === "slot")
|
|
3
|
-
return 0;
|
|
4
|
-
if (e instanceof Function)
|
|
5
|
-
return e(n);
|
|
6
|
-
const { children: r, ...s } = n ?? {};
|
|
7
|
-
if (e === "svg")
|
|
8
|
-
throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");
|
|
9
|
-
return [e, s, r];
|
|
10
|
-
};
|
|
1
|
+
const o = (c, e) => (n) => e(c(n)), t = (...c) => c.reduce(o);
|
|
11
2
|
export {
|
|
12
|
-
t as
|
|
13
|
-
t as h,
|
|
14
|
-
t as jsx,
|
|
15
|
-
t as jsxDEV,
|
|
16
|
-
t as jsxs
|
|
3
|
+
t as pipe
|
|
17
4
|
};
|
package/dist/index337.js
CHANGED
|
@@ -1,86 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
class C {
|
|
11
|
-
constructor(e, t) {
|
|
12
|
-
var i;
|
|
13
|
-
this.editorView = e, this.cursorPos = null, this.element = null, this.timeout = -1, this.width = (i = t.width) !== null && i !== void 0 ? i : 1, this.color = t.color === !1 ? void 0 : t.color || "black", this.class = t.class, this.handlers = ["dragover", "dragend", "drop", "dragleave"].map((s) => {
|
|
14
|
-
let d = (r) => {
|
|
15
|
-
this[s](r);
|
|
16
|
-
};
|
|
17
|
-
return e.dom.addEventListener(s, d), { name: s, handler: d };
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
destroy() {
|
|
21
|
-
this.handlers.forEach(({ name: e, handler: t }) => this.editorView.dom.removeEventListener(e, t));
|
|
22
|
-
}
|
|
23
|
-
update(e, t) {
|
|
24
|
-
this.cursorPos != null && t.doc != e.state.doc && (this.cursorPos > e.state.doc.content.size ? this.setCursor(null) : this.updateOverlay());
|
|
25
|
-
}
|
|
26
|
-
setCursor(e) {
|
|
27
|
-
e != this.cursorPos && (this.cursorPos = e, e == null ? (this.element.parentNode.removeChild(this.element), this.element = null) : this.updateOverlay());
|
|
28
|
-
}
|
|
29
|
-
updateOverlay() {
|
|
30
|
-
let e = this.editorView.state.doc.resolve(this.cursorPos), t = !e.parent.inlineContent, i, s = this.editorView.dom, d = s.getBoundingClientRect(), r = d.width / s.offsetWidth, h = d.height / s.offsetHeight;
|
|
31
|
-
if (t) {
|
|
32
|
-
let o = e.nodeBefore, n = e.nodeAfter;
|
|
33
|
-
if (o || n) {
|
|
34
|
-
let a = this.editorView.nodeDOM(this.cursorPos - (o ? o.nodeSize : 0));
|
|
35
|
-
if (a) {
|
|
36
|
-
let c = a.getBoundingClientRect(), u = o ? c.bottom : c.top;
|
|
37
|
-
o && n && (u = (u + this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top) / 2);
|
|
38
|
-
let g = this.width / 2 * h;
|
|
39
|
-
i = { left: c.left, right: c.right, top: u - g, bottom: u + g };
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
if (!i) {
|
|
44
|
-
let o = this.editorView.coordsAtPos(this.cursorPos), n = this.width / 2 * r;
|
|
45
|
-
i = { left: o.left - n, right: o.left + n, top: o.top, bottom: o.bottom };
|
|
46
|
-
}
|
|
47
|
-
let l = this.editorView.dom.offsetParent;
|
|
48
|
-
this.element || (this.element = l.appendChild(document.createElement("div")), this.class && (this.element.className = this.class), this.element.style.cssText = "position: absolute; z-index: 50; pointer-events: none;", this.color && (this.element.style.backgroundColor = this.color)), this.element.classList.toggle("prosemirror-dropcursor-block", t), this.element.classList.toggle("prosemirror-dropcursor-inline", !t);
|
|
49
|
-
let f, p;
|
|
50
|
-
if (!l || l == document.body && getComputedStyle(l).position == "static")
|
|
51
|
-
f = -pageXOffset, p = -pageYOffset;
|
|
52
|
-
else {
|
|
53
|
-
let o = l.getBoundingClientRect(), n = o.width / l.offsetWidth, a = o.height / l.offsetHeight;
|
|
54
|
-
f = o.left - l.scrollLeft * n, p = o.top - l.scrollTop * a;
|
|
55
|
-
}
|
|
56
|
-
this.element.style.left = (i.left - f) / r + "px", this.element.style.top = (i.top - p) / h + "px", this.element.style.width = (i.right - i.left) / r + "px", this.element.style.height = (i.bottom - i.top) / h + "px";
|
|
57
|
-
}
|
|
58
|
-
scheduleRemoval(e) {
|
|
59
|
-
clearTimeout(this.timeout), this.timeout = setTimeout(() => this.setCursor(null), e);
|
|
60
|
-
}
|
|
61
|
-
dragover(e) {
|
|
62
|
-
if (!this.editorView.editable)
|
|
63
|
-
return;
|
|
64
|
-
let t = this.editorView.posAtCoords({ left: e.clientX, top: e.clientY }), i = t && t.inside >= 0 && this.editorView.state.doc.nodeAt(t.inside), s = i && i.type.spec.disableDropCursor, d = typeof s == "function" ? s(this.editorView, t, e) : s;
|
|
65
|
-
if (t && !d) {
|
|
66
|
-
let r = t.pos;
|
|
67
|
-
if (this.editorView.dragging && this.editorView.dragging.slice) {
|
|
68
|
-
let h = v(this.editorView.state.doc, r, this.editorView.dragging.slice);
|
|
69
|
-
h != null && (r = h);
|
|
70
|
-
}
|
|
71
|
-
this.setCursor(r), this.scheduleRemoval(5e3);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
dragend() {
|
|
75
|
-
this.scheduleRemoval(20);
|
|
76
|
-
}
|
|
77
|
-
drop() {
|
|
78
|
-
this.scheduleRemoval(20);
|
|
79
|
-
}
|
|
80
|
-
dragleave(e) {
|
|
81
|
-
this.editorView.dom.contains(e.relatedTarget) || this.setCursor(null);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
1
|
+
var i = function() {
|
|
2
|
+
}, r = function() {
|
|
3
|
+
};
|
|
4
|
+
process.env.NODE_ENV !== "production" && (i = function(n, o) {
|
|
5
|
+
!n && typeof console < "u" && console.warn(o);
|
|
6
|
+
}, r = function(n, o) {
|
|
7
|
+
if (!n)
|
|
8
|
+
throw new Error(o);
|
|
9
|
+
});
|
|
84
10
|
export {
|
|
85
|
-
|
|
11
|
+
r as invariant,
|
|
12
|
+
i as warning
|
|
86
13
|
};
|