bitboss-ui 2.1.84 → 2.1.85
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/components/BbTable/utils.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index107.js +7 -7
- package/dist/index112.js +1 -1
- package/dist/index114.js +1 -1
- package/dist/index120.js +1 -1
- package/dist/index122.js +50 -50
- package/dist/index13.js +2 -2
- package/dist/index130.js +1 -1
- package/dist/index132.js +5 -5
- package/dist/index134.js +1 -1
- package/dist/index136.js +2 -2
- package/dist/index143.js +2 -2
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +5 -5
- package/dist/index21.js +14 -14
- package/dist/index217.js +32 -4
- package/dist/index218.js +28 -8
- package/dist/index220.js +5 -2
- package/dist/index221.js +5 -3
- package/dist/index222.js +5 -5
- package/dist/index223.js +5 -5
- package/dist/index224.js +3 -5
- package/dist/index225.js +2 -5
- package/dist/index226.js +6 -5
- package/dist/index227.js +8 -5
- package/dist/index228.js +268 -2
- package/dist/index229.js +52 -3
- package/dist/index23.js +11 -11
- package/dist/index230.js +51 -12
- package/dist/index231.js +30 -18
- package/dist/index232.js +57 -132
- package/dist/index233.js +15 -0
- package/dist/index234.js +5 -34
- package/dist/index235.js +8 -9
- package/dist/index236.js +5 -13
- package/dist/index237.js +4 -13
- package/dist/index238.js +19 -32
- package/dist/index239.js +199 -26
- package/dist/index241.js +135 -7
- package/dist/index243.js +1 -1
- package/dist/index246.js +14 -15
- package/dist/index247.js +15 -49
- package/dist/index248.js +48 -12
- package/dist/index249.js +15 -3
- package/dist/index25.js +3 -3
- package/dist/index250.js +1 -1
- package/dist/index251.js +2 -16
- package/dist/index252.js +2 -5
- package/dist/index253.js +2 -2
- package/dist/index254.js +7 -6
- package/dist/index255.js +7 -8
- package/dist/index256.js +4 -268
- package/dist/index257.js +7 -50
- package/dist/index258.js +51 -50
- package/dist/index259.js +187 -31
- package/dist/index260.js +3 -60
- package/dist/index261.js +3 -5
- package/dist/index262.js +33 -187
- package/dist/index263.js +9 -3
- package/dist/index264.js +3 -67
- package/dist/index265.js +9 -3
- package/dist/index266.js +13 -4
- package/dist/index267.js +23 -9
- package/dist/index268.js +4 -41
- package/dist/index269.js +22 -3
- package/dist/index27.js +1 -1
- package/dist/index270.js +12 -200
- package/dist/index271.js +12 -0
- package/dist/index272.js +3 -3
- package/dist/index273.js +3 -11
- package/dist/index274.js +7 -106
- package/dist/index275.js +5 -0
- package/dist/index276.js +17 -99
- package/dist/index277.js +14 -0
- package/dist/index278.js +106 -4
- package/dist/index280.js +99 -7
- package/dist/index282.js +229 -23
- package/dist/index283.js +6 -2
- package/dist/index284.js +16 -7
- package/dist/index285.js +8 -6
- package/dist/index286.js +10 -8
- package/dist/index287.js +5 -6
- package/dist/index288.js +5 -16
- package/dist/index289.js +5 -18
- package/dist/index29.js +2 -2
- package/dist/index290.js +2 -12
- package/dist/index291.js +2 -229
- package/dist/index292.js +67 -10
- package/dist/index293.js +8 -3
- package/dist/index295.js +1 -1
- package/dist/index298.js +12 -121
- package/dist/index299.js +2 -2
- package/dist/index300.js +11 -10
- package/dist/index302.js +23 -12
- package/dist/index304.js +2 -16
- package/dist/index305.js +2 -2
- package/dist/index306.js +2 -19
- package/dist/index307.js +2 -2
- package/dist/index308.js +28 -3
- package/dist/index309.js +2 -7
- package/dist/index31.js +2 -2
- package/dist/index310.js +7 -2
- package/dist/index311.js +1 -1
- package/dist/index312.js +3 -27
- package/dist/index313.js +3 -2
- package/dist/index314.js +3 -2
- package/dist/index315.js +17 -2
- package/dist/index316.js +5 -2
- package/dist/index317.js +5 -2
- package/dist/index318.js +4 -28
- package/dist/index319.js +6 -2
- package/dist/index320.js +4 -3
- package/dist/index321.js +3 -17
- package/dist/index322.js +3 -4
- package/dist/index323.js +2 -5
- package/dist/index324.js +719 -3
- package/dist/index325.js +366 -4
- package/dist/index326.js +57 -5
- package/dist/index327.js +5 -6
- package/dist/index328.js +7 -3
- package/dist/index329.js +7 -3
- package/dist/index33.js +5 -5
- package/dist/index330.js +19 -719
- package/dist/index331.js +9 -366
- package/dist/index332.js +12 -54
- package/dist/index333.js +93 -2
- package/dist/index334.js +2 -35
- package/dist/index335.js +228 -6
- package/dist/index336.js +122 -126
- package/dist/index337.js +2 -398
- package/dist/index338.js +14 -6
- package/dist/index339.js +2 -19
- package/dist/index340.js +18 -8
- package/dist/index341.js +2 -15
- package/dist/index342.js +35 -5
- package/dist/index343.js +6 -7
- package/dist/index344.js +128 -57
- package/dist/index345.js +396 -56
- package/dist/index346.js +7 -227
- package/dist/index347.js +5 -133
- package/dist/index348.js +8 -22
- package/dist/index349.js +60 -0
- package/dist/index35.js +4 -4
- package/dist/index350.js +58 -8
- package/dist/index351.js +22 -6
- package/dist/index353.js +130 -89
- package/dist/index354.js +2 -2
- package/dist/index355.js +503 -424
- package/dist/index356.js +427 -114
- package/dist/index357.js +124 -516
- package/dist/index37.js +16 -16
- package/dist/index39.js +6 -6
- package/dist/index41.js +2 -2
- package/dist/index43.js +5 -5
- package/dist/index45.js +6 -6
- package/dist/index49.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +5 -5
- package/dist/index67.js +1 -1
- package/dist/index80.js +6 -6
- package/dist/index82.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +3 -3
- package/dist/index88.js +1 -1
- package/dist/index91.js +3 -3
- package/dist/index93.js +2 -2
- package/dist/index95.js +5 -5
- package/package.json +1 -1
- package/dist/index219.js +0 -4
- package/dist/index242.js +0 -4
- package/dist/index279.js +0 -25
- package/dist/index281.js +0 -11
- package/dist/index352.js +0 -10
package/dist/index241.js
CHANGED
|
@@ -1,9 +1,137 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
import { defineComponent as A, mergeModels as L, useModel as T, ref as c, computed as a, watch as F, onMounted as S, createBlock as N, openBlock as w, resolveDynamicComponent as U, mergeProps as g, unref as y, withModifiers as h, withCtx as j, createElementVNode as q, createElementBlock as I, createCommentVNode as R, renderSlot as X, nextTick as z } from "vue";
|
|
2
|
+
import { useCancelableFunction as G } from "./index342.js";
|
|
3
|
+
import { useUntil as H } from "./index266.js";
|
|
4
|
+
import { extractDomContainer as x } from "./index268.js";
|
|
5
|
+
import { waitFor as J } from "./index343.js";
|
|
6
|
+
import { arrow as K, useFloating as O } from "./index344.js";
|
|
7
|
+
import { flip as Q, offset as W, shift as Y, hide as Z, autoUpdate as ee } from "./index345.js";
|
|
8
|
+
const oe = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "bb-common-popover__bubble"
|
|
11
|
+
}, ue = /* @__PURE__ */ A({
|
|
12
|
+
__name: "CommonPopover",
|
|
13
|
+
props: /* @__PURE__ */ L({
|
|
14
|
+
arrowPadding: {},
|
|
15
|
+
eager: { type: Boolean },
|
|
16
|
+
offset: {},
|
|
17
|
+
padding: { default: 0 },
|
|
18
|
+
placement: {},
|
|
19
|
+
transitionDuration: { default: 250 },
|
|
20
|
+
anchor: {},
|
|
21
|
+
boundary: {},
|
|
22
|
+
dialog: { type: Boolean },
|
|
23
|
+
hideArrow: { type: Boolean },
|
|
24
|
+
tag: { default: "span" },
|
|
25
|
+
flip: { type: Boolean, default: !0 }
|
|
26
|
+
}, {
|
|
27
|
+
modelValue: { type: Boolean, default: !1 },
|
|
28
|
+
modelModifiers: {}
|
|
29
|
+
}),
|
|
30
|
+
emits: ["update:modelValue"],
|
|
31
|
+
setup(m) {
|
|
32
|
+
const o = m, r = T(m, "modelValue"), s = c(r.value), C = a(() => o.dialog ? "dialog" : "span"), t = c(), f = c(), _ = a(() => {
|
|
33
|
+
const e = o.anchor;
|
|
34
|
+
return e && typeof e == "object" && "getBoundingClientRect" in e && !(e instanceof Element) ? e : x(e);
|
|
35
|
+
}), B = H(r, { initialValue: o.eager }), P = a(() => {
|
|
36
|
+
if (o.boundary)
|
|
37
|
+
return typeof o.boundary == "string" ? document.querySelector(o.boundary) ?? void 0 : x(o.boundary) ?? void 0;
|
|
38
|
+
}), k = a(() => {
|
|
39
|
+
const e = P.value;
|
|
40
|
+
return [
|
|
41
|
+
...o.flip ? [Q(e ? { boundary: e } : void 0)] : [],
|
|
42
|
+
W(o.offset),
|
|
43
|
+
Y({ padding: o.padding, ...e ? { boundary: e } : {} }),
|
|
44
|
+
Z(),
|
|
45
|
+
...o.hideArrow ? [] : [
|
|
46
|
+
K({
|
|
47
|
+
element: f,
|
|
48
|
+
padding: o.arrowPadding
|
|
49
|
+
})
|
|
50
|
+
]
|
|
51
|
+
];
|
|
52
|
+
}), { floatingStyles: E, placement: M, middlewareData: u, update: v } = O(
|
|
53
|
+
_,
|
|
54
|
+
t,
|
|
55
|
+
{
|
|
56
|
+
placement: o.placement,
|
|
57
|
+
whileElementsMounted: ee,
|
|
58
|
+
middleware: k,
|
|
59
|
+
strategy: "fixed"
|
|
60
|
+
}
|
|
61
|
+
), { execute: b } = G(
|
|
62
|
+
({ signal: e }, n) => new Promise((l) => {
|
|
63
|
+
let i;
|
|
64
|
+
const p = () => {
|
|
65
|
+
i && clearTimeout(i);
|
|
66
|
+
};
|
|
67
|
+
e.addEventListener("abort", p), n ? ($(), v(), J(() => !!t.value).then(() => {
|
|
68
|
+
s.value = !0, e.removeEventListener("abort", p), l(void 0);
|
|
69
|
+
})) : (s.value = !1, i = setTimeout(() => {
|
|
70
|
+
z(() => {
|
|
71
|
+
t.value && (o.dialog ? t.value.close() : t.value.hidePopover()), e.removeEventListener("abort", p), v(), l(void 0);
|
|
72
|
+
});
|
|
73
|
+
}, o.transitionDuration));
|
|
74
|
+
})
|
|
75
|
+
), $ = () => {
|
|
76
|
+
if (!t.value) return;
|
|
77
|
+
if (!o.dialog) return t.value.showPopover();
|
|
78
|
+
t.value.showModal();
|
|
79
|
+
};
|
|
80
|
+
F(r, b), S(() => {
|
|
81
|
+
r.value && b(r.value);
|
|
82
|
+
});
|
|
83
|
+
const D = a(() => {
|
|
84
|
+
const e = r.value ? void 0 : -1, n = Math.round(u.value.arrow?.x ?? 0), l = o.dialog ? void 0 : "manual";
|
|
85
|
+
return {
|
|
86
|
+
style: {
|
|
87
|
+
...E.value,
|
|
88
|
+
"--transition-duration": `${o.transitionDuration}ms`,
|
|
89
|
+
"--page-padding": `${o.padding}px`,
|
|
90
|
+
"--arrow-offset-x": `${n}px`
|
|
91
|
+
},
|
|
92
|
+
popover: l,
|
|
93
|
+
tabindex: e
|
|
94
|
+
};
|
|
95
|
+
}), V = a(() => {
|
|
96
|
+
if (u.value.arrow) {
|
|
97
|
+
const { x: e, y: n } = u.value.arrow;
|
|
98
|
+
return {
|
|
99
|
+
style: {
|
|
100
|
+
left: `${e}px`,
|
|
101
|
+
top: `${n}px`
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
}), d = () => {
|
|
106
|
+
r.value = !1;
|
|
107
|
+
};
|
|
108
|
+
return (e, n) => (w(), N(U(C.value), g({
|
|
109
|
+
ref_key: "wrapper",
|
|
110
|
+
ref: t,
|
|
111
|
+
class: ["bb-common-popover", {
|
|
112
|
+
"bb-common-popover--open": s.value,
|
|
113
|
+
"bb-common-popover--no-arrow": e.hideArrow,
|
|
114
|
+
[`bb-common-popover--${y(M)}`]: !0
|
|
115
|
+
}]
|
|
116
|
+
}, D.value, {
|
|
117
|
+
onClick: h(d, ["self", "stop"]),
|
|
118
|
+
onContextmenu: h(d, ["self", "stop", "prevent"]),
|
|
119
|
+
onClose: d
|
|
120
|
+
}), {
|
|
121
|
+
default: j(() => [
|
|
122
|
+
q("span", g({
|
|
123
|
+
ref_key: "bubblearrow",
|
|
124
|
+
ref: f,
|
|
125
|
+
class: "bb-common-popover__arrow"
|
|
126
|
+
}, V.value), null, 16),
|
|
127
|
+
y(B) ? (w(), I("span", oe, [
|
|
128
|
+
X(e.$slots, "default")
|
|
129
|
+
])) : R("", !0)
|
|
130
|
+
]),
|
|
131
|
+
_: 3
|
|
132
|
+
}, 16, ["class"]));
|
|
133
|
+
}
|
|
134
|
+
});
|
|
7
135
|
export {
|
|
8
|
-
|
|
136
|
+
ue as default
|
|
9
137
|
};
|
package/dist/index243.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, createElementBlock as n, openBlock as s, normalizeClass as r, createElementVNode as o, renderSlot as t, createCommentVNode as h, createTextVNode as l, toDisplayString as i, unref as b, Fragment as m, renderList as u } from "vue";
|
|
2
|
-
import { useLocale as g } from "./
|
|
2
|
+
import { useLocale as g } from "./index233.js";
|
|
3
3
|
const k = { class: "bb-cr-container__container" }, y = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "bb-cr-container__loading-container"
|
package/dist/index246.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { isNotNil as n } from "./index144.js";
|
|
2
|
+
import { ref as t, onServerPrefetch as u, onBeforeMount as c } from "vue";
|
|
3
|
+
const h = ({
|
|
4
|
+
fn: i,
|
|
5
|
+
onStart: s,
|
|
6
|
+
multiple: f,
|
|
7
|
+
currentValue: o
|
|
6
8
|
}) => {
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
return t;
|
|
14
|
-
});
|
|
15
|
-
return { data: o, get: (t) => o.value[n(t)] };
|
|
9
|
+
const a = s || !f && n(o) || f && !!o.length, e = t(!1), l = t(!1), r = async () => {
|
|
10
|
+
e.value = !0, await i({ prefill: !0 }), e.value = !1, l.value = !0;
|
|
11
|
+
};
|
|
12
|
+
return a && (u(r), c(async () => {
|
|
13
|
+
l.value || await r();
|
|
14
|
+
})), { isPrefilling: e, hasPrefilled: l, prefill: r };
|
|
16
15
|
};
|
|
17
16
|
export {
|
|
18
|
-
|
|
17
|
+
h as usePrefill
|
|
19
18
|
};
|
package/dist/index247.js
CHANGED
|
@@ -1,53 +1,19 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const { getItemText: O } = x(), { getItemValue: V } = w(), { warn: H } = D(), T = (u, c, m, a, d, r) => r ? !1 : !!(c || u.disabled || a && d >= a), q = ({
|
|
7
|
-
items: u,
|
|
8
|
-
disabled: c,
|
|
9
|
-
selectable: m,
|
|
10
|
-
itemText: a,
|
|
11
|
-
itemValue: d,
|
|
12
|
-
selectedIndexedByHash: r,
|
|
13
|
-
max: b = 1 / 0
|
|
1
|
+
import { computed as u, unref as a } from "vue";
|
|
2
|
+
import { hash as d } from "./index224.js";
|
|
3
|
+
const p = ({
|
|
4
|
+
items: m,
|
|
5
|
+
key: e
|
|
14
6
|
}) => {
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
s
|
|
25
|
-
);
|
|
26
|
-
return {
|
|
27
|
-
item: e,
|
|
28
|
-
text: i,
|
|
29
|
-
value: n,
|
|
30
|
-
valueHash: t,
|
|
31
|
-
selected: s,
|
|
32
|
-
disabled: o(I)
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
return {
|
|
36
|
-
options: l(() => {
|
|
37
|
-
const e = [], n = /* @__PURE__ */ new Set();
|
|
38
|
-
for (let t = 0; t < p.value.length; t++) {
|
|
39
|
-
const i = p.value[t];
|
|
40
|
-
i.disabled && H(
|
|
41
|
-
"Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
|
|
42
|
-
);
|
|
43
|
-
const s = f(i);
|
|
44
|
-
n.has(s.valueHash) || (n.add(s.valueHash), e.push(s));
|
|
45
|
-
}
|
|
46
|
-
return e;
|
|
47
|
-
}),
|
|
48
|
-
createOption: f
|
|
49
|
-
};
|
|
7
|
+
const n = (t) => e ? String(t[e]) : d(t), o = u(() => {
|
|
8
|
+
const t = {}, s = Array.from(a(m) ?? []);
|
|
9
|
+
for (let r = 0; r < s.length; r++) {
|
|
10
|
+
const c = s[r];
|
|
11
|
+
t[n(c)] = c;
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
});
|
|
15
|
+
return { data: o, get: (t) => o.value[n(t)] };
|
|
50
16
|
};
|
|
51
17
|
export {
|
|
52
|
-
|
|
18
|
+
p as useIndexById
|
|
53
19
|
};
|
package/dist/index248.js
CHANGED
|
@@ -1,17 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { computed as l, unref as o } from "vue";
|
|
2
|
+
import { useItemText as x } from "./index315.js";
|
|
3
|
+
import { useItemValue as w } from "./index257.js";
|
|
4
|
+
import { hash as y } from "./index224.js";
|
|
5
|
+
import { useLogger as D } from "./index227.js";
|
|
6
|
+
const { getItemText: O } = x(), { getItemValue: V } = w(), { warn: H } = D(), T = (u, c, m, a, d, r) => r ? !1 : !!(c || u.disabled || a && d >= a), q = ({
|
|
7
|
+
items: u,
|
|
8
|
+
disabled: c,
|
|
9
|
+
selectable: m,
|
|
10
|
+
itemText: a,
|
|
11
|
+
itemValue: d,
|
|
12
|
+
selectedIndexedByHash: r,
|
|
13
|
+
max: b = 1 / 0
|
|
14
|
+
}) => {
|
|
15
|
+
const v = l(() => o(c)), p = l(() => o(u)), h = l(
|
|
16
|
+
() => Object.keys(r.value).length
|
|
17
|
+
), g = o(b), f = (e) => {
|
|
18
|
+
const n = V(e, o(d)), t = y(n), i = O(e, o(a)), s = r.value[t] !== void 0, I = T(
|
|
19
|
+
e,
|
|
20
|
+
v.value,
|
|
21
|
+
m,
|
|
22
|
+
g,
|
|
23
|
+
h.value,
|
|
24
|
+
s
|
|
25
|
+
);
|
|
26
|
+
return {
|
|
27
|
+
item: e,
|
|
28
|
+
text: i,
|
|
29
|
+
value: n,
|
|
30
|
+
valueHash: t,
|
|
31
|
+
selected: s,
|
|
32
|
+
disabled: o(I)
|
|
33
|
+
};
|
|
34
|
+
};
|
|
10
35
|
return {
|
|
11
|
-
|
|
12
|
-
|
|
36
|
+
options: l(() => {
|
|
37
|
+
const e = [], n = /* @__PURE__ */ new Set();
|
|
38
|
+
for (let t = 0; t < p.value.length; t++) {
|
|
39
|
+
const i = p.value[t];
|
|
40
|
+
i.disabled && H(
|
|
41
|
+
"Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
|
|
42
|
+
);
|
|
43
|
+
const s = f(i);
|
|
44
|
+
n.has(s.valueHash) || (n.add(s.valueHash), e.push(s));
|
|
45
|
+
}
|
|
46
|
+
return e;
|
|
47
|
+
}),
|
|
48
|
+
createOption: f
|
|
13
49
|
};
|
|
14
50
|
};
|
|
15
51
|
export {
|
|
16
|
-
|
|
52
|
+
q as useBaseOptions
|
|
17
53
|
};
|
package/dist/index249.js
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { isNil as f } from "./index253.js";
|
|
2
|
+
import { computed as t, unref as o } from "vue";
|
|
3
|
+
const a = ({ modelValue: e, iteratee: h, multiple: u }) => {
|
|
4
|
+
const i = t(
|
|
5
|
+
() => new Array().concat(o(e))
|
|
6
|
+
), s = t(() => i.value.reduce(
|
|
7
|
+
(r, n) => (h(n) ? r.coherent.push(n) : r.incoherent.push(n), r),
|
|
8
|
+
{ coherent: [], incoherent: [] }
|
|
9
|
+
)), c = t(() => u && !o(e).length || !u && f(o(e)) ? !0 : !s.value.incoherent.length);
|
|
10
|
+
return {
|
|
11
|
+
status: s,
|
|
12
|
+
coherent: c
|
|
13
|
+
};
|
|
14
|
+
};
|
|
3
15
|
export {
|
|
4
|
-
|
|
16
|
+
a as useCoherence
|
|
5
17
|
};
|
package/dist/index25.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as I, mergeModels as M, useModel as W, computed as h, ref as g, watch as N, onMounted as P, createElementBlock as n, openBlock as r, withModifiers as F, normalizeStyle as O, normalizeClass as q, unref as y, createCommentVNode as f, Fragment as A, createElementVNode as a, renderSlot as s, createTextVNode as K, toDisplayString as T, nextTick as R } from "vue";
|
|
2
|
-
import { parseSize as U } from "./
|
|
2
|
+
import { parseSize as U } from "./index270.js";
|
|
3
3
|
import { useId as D } from "./index8.js";
|
|
4
|
-
import { useLocale as j } from "./
|
|
4
|
+
import { useLocale as j } from "./index233.js";
|
|
5
5
|
import { useMobile as G } from "./index9.js";
|
|
6
|
-
import { useUntil as J } from "./
|
|
6
|
+
import { useUntil as J } from "./index266.js";
|
|
7
7
|
import { wait as w } from "./index140.js";
|
|
8
8
|
import { _config as Q } from "./index4.js";
|
|
9
9
|
const X = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], Y = {
|
package/dist/index250.js
CHANGED
package/dist/index251.js
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { ref as t, onServerPrefetch as u, onBeforeMount as c } from "vue";
|
|
3
|
-
const h = ({
|
|
4
|
-
fn: i,
|
|
5
|
-
onStart: s,
|
|
6
|
-
multiple: f,
|
|
7
|
-
currentValue: o
|
|
8
|
-
}) => {
|
|
9
|
-
const a = s || !f && n(o) || f && !!o.length, e = t(!1), l = t(!1), r = async () => {
|
|
10
|
-
e.value = !0, await i({ prefill: !0 }), e.value = !1, l.value = !0;
|
|
11
|
-
};
|
|
12
|
-
return a && (u(r), c(async () => {
|
|
13
|
-
l.value || await r();
|
|
14
|
-
})), { isPrefilling: e, hasPrefilled: l, prefill: r };
|
|
15
|
-
};
|
|
1
|
+
const o = (e) => e[0];
|
|
16
2
|
export {
|
|
17
|
-
|
|
3
|
+
o as head
|
|
18
4
|
};
|
package/dist/index252.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { __require as r } from "./index312.js";
|
|
3
|
-
var o = r();
|
|
4
|
-
const f = /* @__PURE__ */ e(o);
|
|
1
|
+
const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
|
|
5
2
|
export {
|
|
6
|
-
|
|
3
|
+
s as isCssColor
|
|
7
4
|
};
|
package/dist/index253.js
CHANGED
package/dist/index254.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
if (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
const s = (e, t, o, r) => {
|
|
2
|
+
if (r <= 0) throw new Error("Step must be a positive number");
|
|
3
|
+
if (t > o) throw new Error("Min must be less than or equal to Max");
|
|
4
|
+
const n = Math.max(t, Math.min(o, e)), a = Math.round((n - t) / r);
|
|
5
|
+
return t + a * r;
|
|
6
|
+
};
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
s as snapToStep
|
|
8
9
|
};
|
package/dist/index255.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
});
|
|
1
|
+
function o(t, e, n, r, a) {
|
|
2
|
+
if (n === e)
|
|
3
|
+
throw new Error("Original boundaries cannot be equal.");
|
|
4
|
+
const c = (t - e) / (n - e);
|
|
5
|
+
return r + c * (a - r);
|
|
6
|
+
}
|
|
8
7
|
export {
|
|
9
|
-
|
|
8
|
+
o as transpose
|
|
10
9
|
};
|