bitboss-ui 2.0.113 → 2.0.114
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/index100.js +9 -9
- package/dist/index111.js +11 -11
- package/dist/index119.js +2 -2
- package/dist/index121.js +6 -6
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +33 -35
- package/dist/index133.js +2 -2
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index207.js +6 -51
- package/dist/{index224.js → index208.js} +1 -1
- package/dist/index209.js +126 -13
- package/dist/index21.js +16 -16
- package/dist/index210.js +5 -3
- package/dist/index211.js +124 -40
- package/dist/index212.js +16 -6
- package/dist/index213.js +16 -7
- package/dist/index214.js +19 -8
- package/dist/index215.js +15 -15
- package/dist/index216.js +2 -13
- package/dist/index217.js +2 -5
- package/dist/index218.js +40 -15
- package/dist/index219.js +13 -16
- package/dist/index220.js +20 -19
- package/dist/index221.js +6 -15
- package/dist/index222.js +15 -19
- package/dist/index223.js +52 -26
- package/dist/index225.js +13 -2
- package/dist/index226.js +5 -250
- package/dist/index227.js +367 -50
- package/dist/index228.js +19 -44
- package/dist/index229.js +27 -5
- package/dist/index23.js +18 -18
- package/dist/index230.js +243 -53
- package/dist/index231.js +52 -3
- package/dist/index232.js +43 -125
- package/dist/index233.js +5 -125
- package/dist/index234.js +60 -2
- package/dist/index235.js +85 -19
- package/dist/index237.js +21 -365
- package/dist/index238.js +17 -2
- package/dist/index239.js +48 -4
- package/dist/index240.js +15 -2
- package/dist/index241.js +12 -86
- package/dist/index242.js +18 -0
- package/dist/index243.js +2 -25
- package/dist/index244.js +4 -17
- package/dist/index245.js +2 -48
- package/dist/index246.js +4 -15
- package/dist/index247.js +3 -12
- package/dist/index248.js +3 -16
- package/dist/index249.js +7 -4
- package/dist/index25.js +7 -7
- package/dist/index251.js +1 -1
- package/dist/index252.js +2 -2
- package/dist/index254.js +2 -2
- package/dist/index257.js +2 -2
- package/dist/index258.js +2 -2
- package/dist/index261.js +9 -9
- package/dist/index262.js +6 -23
- package/dist/index263.js +15 -89
- package/dist/index264.js +92 -0
- package/dist/index266.js +8 -15
- package/dist/index267.js +23 -3
- package/dist/index268.js +11 -0
- package/dist/index269.js +8 -7
- package/dist/index27.js +1 -1
- package/dist/index270.js +27 -280
- package/dist/index271.js +280 -5
- package/dist/index272.js +6 -2
- package/dist/index273.js +2 -2
- package/dist/index274.js +2 -2
- package/dist/index279.js +126 -2
- package/dist/index280.js +431 -2
- package/dist/index281.js +176 -2
- package/dist/index282.js +1 -1
- package/dist/index283.js +3 -28
- package/dist/index285.js +9 -0
- package/dist/index286.js +22 -7
- package/dist/index288.js +6 -430
- package/dist/index289.js +11 -2
- package/dist/index29.js +2 -2
- package/dist/index290.js +2 -89
- package/dist/index291.js +2 -224
- package/dist/index292.js +2 -4
- package/dist/index293.js +2 -200
- package/dist/index294.js +2 -2
- package/dist/index295.js +2 -126
- package/dist/index296.js +22 -176
- package/dist/index298.js +5 -0
- package/dist/index299.js +17 -3
- package/dist/index300.js +197 -14
- package/dist/index301.js +436 -9
- package/dist/index302.js +125 -7
- package/dist/index303.js +3 -435
- package/dist/index304.js +218 -121
- package/dist/index305.js +89 -8
- package/dist/index308.js +4 -4
- package/dist/index309.js +5 -7
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -67
- package/dist/index311.js +66 -32
- package/dist/index312.js +5 -2
- package/dist/index313.js +8 -5
- package/dist/index314.js +3 -5
- package/dist/index315.js +3 -8
- package/dist/index316.js +57 -6
- package/dist/index317.js +3 -19
- package/dist/index318.js +53 -3
- package/dist/index319.js +28 -28
- package/dist/index320.js +47 -53
- package/dist/index321.js +6 -3
- package/dist/index322.js +19 -3
- package/dist/index323.js +33 -3
- package/dist/index324.js +3 -57
- package/dist/index325.js +6 -46
- package/dist/index326.js +1 -1
- package/dist/index327.js +482 -0
- package/dist/index328.js +414 -470
- package/dist/index33.js +8 -8
- package/dist/index35.js +4 -4
- package/dist/index37.js +16 -16
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +5 -5
- package/dist/index47.js +2 -2
- 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 +1 -1
- package/dist/index75.js +3 -3
- package/dist/index77.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +2 -2
- package/dist/index88.js +4 -4
- package/package.json +1 -1
- package/dist/index236.js +0 -7
- package/dist/index265.js +0 -8
- package/dist/index284.js +0 -24
- package/dist/index287.js +0 -13
- package/dist/index297.js +0 -24
- package/dist/index329.js +0 -426
package/dist/index245.js
CHANGED
@@ -1,50 +1,4 @@
|
|
1
|
-
|
2
|
-
import { useItemText as y } from "./index300.js";
|
3
|
-
import { useItemValue as x } from "./index301.js";
|
4
|
-
import { hash as w } from "./index224.js";
|
5
|
-
import { useLogger as D } from "./index214.js";
|
6
|
-
const { getItemText: O } = y(), { getItemValue: V } = x(), { warn: H } = D(), T = (i, l, t, a, c) => l || i.disabled ? !0 : typeof t == "function" ? !t(i) : !!(typeof t == "boolean" && !t || a && c >= a), q = ({
|
7
|
-
items: i,
|
8
|
-
disabled: l,
|
9
|
-
selectable: t,
|
10
|
-
itemText: a,
|
11
|
-
itemValue: c,
|
12
|
-
selectedIndexedByHash: p,
|
13
|
-
max: b = 1 / 0
|
14
|
-
}) => {
|
15
|
-
const v = d(() => s(l)), f = d(() => s(i)), h = Object.keys(p.value).length, g = s(b), m = (e) => {
|
16
|
-
const n = V(e, s(c)), o = w(n), u = O(e, s(a)), r = p.value[o] !== void 0, I = T(
|
17
|
-
e,
|
18
|
-
v.value,
|
19
|
-
t,
|
20
|
-
g,
|
21
|
-
h
|
22
|
-
);
|
23
|
-
return {
|
24
|
-
item: e,
|
25
|
-
text: u,
|
26
|
-
value: n,
|
27
|
-
valueHash: o,
|
28
|
-
selected: r,
|
29
|
-
disabled: s(I)
|
30
|
-
};
|
31
|
-
};
|
32
|
-
return {
|
33
|
-
options: d(() => {
|
34
|
-
const e = [], n = /* @__PURE__ */ new Set();
|
35
|
-
for (let o = 0; o < f.value.length; o++) {
|
36
|
-
const u = f.value[o];
|
37
|
-
u.disabled && H(
|
38
|
-
"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."
|
39
|
-
);
|
40
|
-
const r = m(u);
|
41
|
-
n.has(r.valueHash) || (n.add(r.valueHash), e.push(r));
|
42
|
-
}
|
43
|
-
return e;
|
44
|
-
}),
|
45
|
-
createOption: m
|
46
|
-
};
|
47
|
-
};
|
1
|
+
const o = (e) => typeof e == "boolean" ? e : e === "true";
|
48
2
|
export {
|
49
|
-
|
3
|
+
o as booleanishToBoolean
|
50
4
|
};
|
package/dist/index246.js
CHANGED
@@ -1,17 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
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
|
-
};
|
1
|
+
function x(e) {
|
2
|
+
return /^#([A-Fa-f0-9]{6})$/.test(e);
|
3
|
+
}
|
15
4
|
export {
|
16
|
-
|
5
|
+
x as isHex
|
17
6
|
};
|
package/dist/index247.js
CHANGED
@@ -1,14 +1,5 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
const n = (o, c, h) => {
|
4
|
-
s(
|
5
|
-
o,
|
6
|
-
(r, t) => {
|
7
|
-
e(r) !== e(t) && c(r, t);
|
8
|
-
},
|
9
|
-
h
|
10
|
-
);
|
11
|
-
};
|
1
|
+
import r from "./index304.js";
|
2
|
+
const t = r;
|
12
3
|
export {
|
13
|
-
|
4
|
+
t as deburr
|
14
5
|
};
|
package/dist/index248.js
CHANGED
@@ -1,18 +1,5 @@
|
|
1
|
-
import
|
2
|
-
|
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
|
+
import t from "./index305.js";
|
2
|
+
const r = t;
|
16
3
|
export {
|
17
|
-
|
4
|
+
r as throttle
|
18
5
|
};
|
package/dist/index249.js
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
import { ref as e } from "vue";
|
2
|
+
const o = e(0), s = () => {
|
3
|
+
o.value++;
|
4
|
+
}, a = () => {
|
5
|
+
o.value--;
|
6
|
+
}, d = () => ({ openedModals: o, modalHasOpened: s, modalHasClosed: a });
|
4
7
|
export {
|
5
|
-
|
8
|
+
d as useModalsState
|
6
9
|
};
|
package/dist/index25.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent as ne, ref as o, computed as u, getCurrentInstance as re, nextTick as N, useAttrs as ue, onMounted as de, onBeforeUnmount as G, watch as ce, openBlock as _, createBlock as ve, withCtx as fe, createElementVNode as a, mergeProps as P, createElementBlock as $, renderSlot as d, createTextVNode as be, toDisplayString as K, createCommentVNode as z } from "vue";
|
2
|
-
import { throttle as pe } from "./
|
3
|
-
import { useFocusTrap as me } from "./
|
2
|
+
import { throttle as pe } from "./index248.js";
|
3
|
+
import { useFocusTrap as me } from "./index218.js";
|
4
4
|
import { useId as U } from "./index8.js";
|
5
5
|
import { wait as H } from "./index130.js";
|
6
|
-
import { waitFor as ge } from "./
|
7
|
-
import { useModalsState as C } from "./
|
8
|
-
import { useLogger as ye } from "./
|
6
|
+
import { waitFor as ge } from "./index221.js";
|
7
|
+
import { useModalsState as C } from "./index249.js";
|
8
|
+
import { useLogger as ye } from "./index207.js";
|
9
9
|
import { useMobile as he } from "./index9.js";
|
10
|
-
import we from "./
|
11
|
-
import { useLocale as ke } from "./
|
10
|
+
import we from "./index222.js";
|
11
|
+
import { useLocale as ke } from "./index219.js";
|
12
12
|
const _e = { class: "bb-base-dialog-close" }, Ce = ["aria-label"], Se = /* @__PURE__ */ ne({
|
13
13
|
__name: "BaseDialog",
|
14
14
|
props: {
|
package/dist/index251.js
CHANGED
package/dist/index252.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as y, ref as F, computed as H, watch as N, openBlock as p, createElementBlock as L, Fragment as S, renderList as V, createBlock as A, normalizeClass as O, withModifiers as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
|
2
|
-
import { hash as d } from "./
|
3
|
-
import { isNil as l } from "./
|
2
|
+
import { hash as d } from "./index208.js";
|
3
|
+
import { isNil as l } from "./index257.js";
|
4
4
|
import E from "./index125.js";
|
5
5
|
/* empty css */
|
6
6
|
const K = /* @__PURE__ */ y({
|
package/dist/index254.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as F, ref as H, computed as L, watch as N, openBlock as d, createElementBlock as v, Fragment as S, renderList as A, normalizeClass as O, withModifiers as P, toDisplayString as V } from "vue";
|
2
|
-
import { hash as f } from "./
|
3
|
-
import { isNil as i } from "./
|
2
|
+
import { hash as f } from "./index208.js";
|
3
|
+
import { isNil as i } from "./index257.js";
|
4
4
|
const z = ["text", "onClick:clear"], j = /* @__PURE__ */ F({
|
5
5
|
__name: "CommaBox",
|
6
6
|
props: {
|
package/dist/index257.js
CHANGED
package/dist/index258.js
CHANGED
package/dist/index261.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
}
|
1
|
+
function u(e, i) {
|
2
|
+
let t;
|
3
|
+
return function(...o) {
|
4
|
+
t !== void 0 && clearTimeout(t), t = setTimeout(() => {
|
5
|
+
e.apply(this, o);
|
6
|
+
}, i);
|
7
|
+
};
|
8
|
+
}
|
9
9
|
export {
|
10
|
-
|
10
|
+
u as debounce
|
11
11
|
};
|
package/dist/index262.js
CHANGED
@@ -1,25 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}, n = [
|
6
|
-
`a[href]${e.inert}${e.negTabIndex}`,
|
7
|
-
`area[href]${e.inert}${e.negTabIndex}`,
|
8
|
-
`input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
|
9
|
-
`input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
|
10
|
-
`select${e.inert}${e.negTabIndex}${e.disabled}`,
|
11
|
-
`textarea${e.inert}${e.negTabIndex}${e.disabled}`,
|
12
|
-
`button${e.inert}${e.negTabIndex}${e.disabled}`,
|
13
|
-
`details${e.inert} > summary:first-of-type${e.negTabIndex}`,
|
14
|
-
// Discard until Firefox supports `:has()`
|
15
|
-
// See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
|
16
|
-
// `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
|
17
|
-
`iframe${e.inert}${e.negTabIndex}`,
|
18
|
-
`audio[controls]${e.inert}${e.negTabIndex}`,
|
19
|
-
`video[controls]${e.inert}${e.negTabIndex}`,
|
20
|
-
`[contenteditable]${e.inert}${e.negTabIndex}`,
|
21
|
-
`[tabindex]${e.inert}${e.negTabIndex}`
|
22
|
-
];
|
1
|
+
import e from "./index314.js";
|
2
|
+
import o from "./index315.js";
|
3
|
+
import r from "./index316.js";
|
4
|
+
const f = new r(o, e)._freeze();
|
23
5
|
export {
|
24
|
-
|
6
|
+
r as Mime,
|
7
|
+
f as default
|
25
8
|
};
|
package/dist/index263.js
CHANGED
@@ -1,92 +1,18 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
const
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
placement: {},
|
14
|
-
theme: {},
|
15
|
-
transitionDuration: {},
|
16
|
-
containerAttributes: { default: () => ({}) },
|
17
|
-
bubbleAttributes: {},
|
18
|
-
wrapper: {},
|
19
|
-
baseClass: {},
|
20
|
-
open: { type: Boolean },
|
21
|
-
teleportTarget: {}
|
22
|
-
},
|
23
|
-
setup(d) {
|
24
|
-
const e = d, m = y(e, "wrapper"), n = r(), l = r(), i = r(), { floatingStyles: g, placement: w, middlewareData: s } = D(
|
25
|
-
n,
|
26
|
-
l,
|
27
|
-
{
|
28
|
-
placement: e.placement,
|
29
|
-
whileElementsMounted: P,
|
30
|
-
middleware: [
|
31
|
-
F(),
|
32
|
-
S(e.offset),
|
33
|
-
T({ padding: e.padding }),
|
34
|
-
E({
|
35
|
-
element: i,
|
36
|
-
padding: e.arrowPadding
|
37
|
-
})
|
38
|
-
]
|
39
|
-
}
|
40
|
-
), _ = a(() => {
|
41
|
-
if (s.value.arrow) {
|
42
|
-
const { x: t, y: u } = s.value.arrow;
|
43
|
-
return {
|
44
|
-
style: {
|
45
|
-
left: `${t}px`,
|
46
|
-
top: `${u}px`
|
47
|
-
}
|
48
|
-
};
|
49
|
-
}
|
50
|
-
}), p = a(() => f({}, e.containerAttributes, {
|
51
|
-
class: {
|
52
|
-
"bb-floating": !0,
|
53
|
-
[`bb-floating--${w.value}`]: !0,
|
54
|
-
[`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
|
55
|
-
"bb-floating--hidden": !e.open,
|
56
|
-
"bb-floating--open": e.open
|
57
|
-
},
|
58
|
-
style: {
|
59
|
-
...g.value,
|
60
|
-
"--transition-duration": `${e.transitionDuration}ms`
|
61
|
-
},
|
62
|
-
tabindex: e.open ? void 0 : -1
|
63
|
-
})), v = a(() => f({}, e.bubbleAttributes, {}));
|
64
|
-
return $(
|
65
|
-
() => e.open,
|
66
|
-
(t) => {
|
67
|
-
t && (n.value = m.value);
|
68
|
-
}
|
69
|
-
), (t, u) => (b(), A(C, { target: t.teleportTarget }, {
|
70
|
-
default: k(() => [
|
71
|
-
(b(), x("span", o(p.value, {
|
72
|
-
key: p.value.id,
|
73
|
-
ref_key: "content",
|
74
|
-
ref: l
|
75
|
-
}), [
|
76
|
-
c("span", o({
|
77
|
-
ref_key: "bubblearrow",
|
78
|
-
ref: i,
|
79
|
-
class: "bb-floating__arrow"
|
80
|
-
}, _.value), null, 16),
|
81
|
-
c("span", o({ class: "bb-floating__bubble" }, v.value), [
|
82
|
-
B(t.$slots, "default")
|
83
|
-
], 16)
|
84
|
-
], 16))
|
85
|
-
]),
|
86
|
-
_: 3
|
87
|
-
}, 8, ["target"]));
|
1
|
+
const e = (o, r, f) => o.reduce((t, n) => {
|
2
|
+
if (t) return t;
|
3
|
+
if (f(n))
|
4
|
+
return n;
|
5
|
+
if (r in n) {
|
6
|
+
const i = e(
|
7
|
+
[].concat(n[r]),
|
8
|
+
r,
|
9
|
+
f
|
10
|
+
);
|
11
|
+
if (i)
|
12
|
+
return i;
|
88
13
|
}
|
89
|
-
|
14
|
+
return t;
|
15
|
+
}, null);
|
90
16
|
export {
|
91
|
-
|
17
|
+
e as findInTree
|
92
18
|
};
|
package/dist/index264.js
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
import { defineComponent as h, toRef as y, ref as r, computed as a, watch as $, openBlock as b, createBlock as A, withCtx as k, createElementBlock as x, mergeProps as o, createElementVNode as c, renderSlot as B } from "vue";
|
2
|
+
import C from "./index222.js";
|
3
|
+
import f from "./index327.js";
|
4
|
+
import { useFloating as D, arrow as E } from "./index209.js";
|
5
|
+
import { autoUpdate as P, flip as F, offset as S, shift as T } from "./index227.js";
|
6
|
+
const W = /* @__PURE__ */ h({
|
7
|
+
__name: "CommonFloating",
|
8
|
+
props: {
|
9
|
+
arrowPadding: {},
|
10
|
+
eager: { type: Boolean },
|
11
|
+
offset: {},
|
12
|
+
padding: {},
|
13
|
+
placement: {},
|
14
|
+
theme: {},
|
15
|
+
transitionDuration: {},
|
16
|
+
containerAttributes: { default: () => ({}) },
|
17
|
+
bubbleAttributes: {},
|
18
|
+
wrapper: {},
|
19
|
+
baseClass: {},
|
20
|
+
open: { type: Boolean },
|
21
|
+
teleportTarget: {}
|
22
|
+
},
|
23
|
+
setup(d) {
|
24
|
+
const e = d, m = y(e, "wrapper"), n = r(), l = r(), i = r(), { floatingStyles: g, placement: w, middlewareData: s } = D(
|
25
|
+
n,
|
26
|
+
l,
|
27
|
+
{
|
28
|
+
placement: e.placement,
|
29
|
+
whileElementsMounted: P,
|
30
|
+
middleware: [
|
31
|
+
F(),
|
32
|
+
S(e.offset),
|
33
|
+
T({ padding: e.padding }),
|
34
|
+
E({
|
35
|
+
element: i,
|
36
|
+
padding: e.arrowPadding
|
37
|
+
})
|
38
|
+
]
|
39
|
+
}
|
40
|
+
), _ = a(() => {
|
41
|
+
if (s.value.arrow) {
|
42
|
+
const { x: t, y: u } = s.value.arrow;
|
43
|
+
return {
|
44
|
+
style: {
|
45
|
+
left: `${t}px`,
|
46
|
+
top: `${u}px`
|
47
|
+
}
|
48
|
+
};
|
49
|
+
}
|
50
|
+
}), p = a(() => f({}, e.containerAttributes, {
|
51
|
+
class: {
|
52
|
+
"bb-floating": !0,
|
53
|
+
[`bb-floating--${w.value}`]: !0,
|
54
|
+
[`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
|
55
|
+
"bb-floating--hidden": !e.open,
|
56
|
+
"bb-floating--open": e.open
|
57
|
+
},
|
58
|
+
style: {
|
59
|
+
...g.value,
|
60
|
+
"--transition-duration": `${e.transitionDuration}ms`
|
61
|
+
},
|
62
|
+
tabindex: e.open ? void 0 : -1
|
63
|
+
})), v = a(() => f({}, e.bubbleAttributes, {}));
|
64
|
+
return $(
|
65
|
+
() => e.open,
|
66
|
+
(t) => {
|
67
|
+
t && (n.value = m.value);
|
68
|
+
}
|
69
|
+
), (t, u) => (b(), A(C, { target: t.teleportTarget }, {
|
70
|
+
default: k(() => [
|
71
|
+
(b(), x("span", o(p.value, {
|
72
|
+
key: p.value.id,
|
73
|
+
ref_key: "content",
|
74
|
+
ref: l
|
75
|
+
}), [
|
76
|
+
c("span", o({
|
77
|
+
ref_key: "bubblearrow",
|
78
|
+
ref: i,
|
79
|
+
class: "bb-floating__arrow"
|
80
|
+
}, _.value), null, 16),
|
81
|
+
c("span", o({ class: "bb-floating__bubble" }, v.value), [
|
82
|
+
B(t.$slots, "default")
|
83
|
+
], 16)
|
84
|
+
], 16))
|
85
|
+
]),
|
86
|
+
_: 3
|
87
|
+
}, 8, ["target"]));
|
88
|
+
}
|
89
|
+
});
|
90
|
+
export {
|
91
|
+
W as default
|
92
|
+
};
|
package/dist/index266.js
CHANGED
@@ -1,18 +1,11 @@
|
|
1
|
-
const
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
const i = e(
|
7
|
-
[].concat(n[r]),
|
8
|
-
r,
|
9
|
-
f
|
10
|
-
);
|
11
|
-
if (i)
|
12
|
-
return i;
|
1
|
+
const o = (n, t) => {
|
2
|
+
for (let e = n.length - 1; e >= 0; e--) {
|
3
|
+
const i = n[e];
|
4
|
+
if (t(i, e, n))
|
5
|
+
return e;
|
13
6
|
}
|
14
|
-
return
|
15
|
-
}
|
7
|
+
return -1;
|
8
|
+
};
|
16
9
|
export {
|
17
|
-
|
10
|
+
o as findRightIndex
|
18
11
|
};
|
package/dist/index267.js
CHANGED
@@ -1,5 +1,25 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
const e = {
|
2
|
+
inert: ":not([inert]):not([inert] *)",
|
3
|
+
negTabIndex: ':not([tabindex^="-"])',
|
4
|
+
disabled: ":not(:disabled)"
|
5
|
+
}, n = [
|
6
|
+
`a[href]${e.inert}${e.negTabIndex}`,
|
7
|
+
`area[href]${e.inert}${e.negTabIndex}`,
|
8
|
+
`input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
|
9
|
+
`input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
|
10
|
+
`select${e.inert}${e.negTabIndex}${e.disabled}`,
|
11
|
+
`textarea${e.inert}${e.negTabIndex}${e.disabled}`,
|
12
|
+
`button${e.inert}${e.negTabIndex}${e.disabled}`,
|
13
|
+
`details${e.inert} > summary:first-of-type${e.negTabIndex}`,
|
14
|
+
// Discard until Firefox supports `:has()`
|
15
|
+
// See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
|
16
|
+
// `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
|
17
|
+
`iframe${e.inert}${e.negTabIndex}`,
|
18
|
+
`audio[controls]${e.inert}${e.negTabIndex}`,
|
19
|
+
`video[controls]${e.inert}${e.negTabIndex}`,
|
20
|
+
`[contenteditable]${e.inert}${e.negTabIndex}`,
|
21
|
+
`[tabindex]${e.inert}${e.negTabIndex}`
|
22
|
+
];
|
3
23
|
export {
|
4
|
-
|
24
|
+
n as default
|
5
25
|
};
|
package/dist/index268.js
ADDED
package/dist/index269.js
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
-
const
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
}
|
1
|
+
const u = (t, r) => t.reduce(
|
2
|
+
(e, n, o, d) => {
|
3
|
+
const s = r(n, o, d);
|
4
|
+
return e[s] = n, e;
|
5
|
+
},
|
6
|
+
{}
|
7
|
+
);
|
7
8
|
export {
|
8
|
-
|
9
|
+
u as indexBy
|
9
10
|
};
|
package/dist/index27.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as S, computed as n, openBlock as r, createElementBlock as c, normalizeClass as T, createBlock as w, resolveDynamicComponent as B, normalizeProps as o, guardReactiveProps as l, withCtx as b, renderSlot as E, createTextVNode as V, toDisplayString as p, createElementVNode as d, unref as m, createVNode as P, Fragment as D, renderList as I } from "vue";
|
2
|
-
import { deburr as N } from "./
|
2
|
+
import { deburr as N } from "./index247.js";
|
3
3
|
import { getAsPercentage as $ } from "./index131.js";
|
4
4
|
import { useId as F } from "./index8.js";
|
5
5
|
import R from "./index126.js";
|