bitboss-ui 2.0.174 → 2.0.176
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/BaseButton/BaseButton.vue.d.ts +1 -1
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +1 -0
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +34 -27
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
- package/dist/components/BbDialog/BbDialog.vue.d.ts +8 -3
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
- package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
- package/dist/index.css +1 -1
- package/dist/index106.js +9 -9
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +12 -12
- package/dist/index129.js +20 -26
- package/dist/index13.js +1 -1
- package/dist/index131.js +4 -4
- package/dist/index133.js +1 -1
- package/dist/index136.js +1 -1
- package/dist/index137.js +2 -2
- package/dist/index138.js +1 -1
- package/dist/index139.js +2 -2
- package/dist/index15.js +9 -9
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index207.js +2 -2
- package/dist/index208.js +2 -2
- package/dist/index209.js +13 -2
- package/dist/index21.js +8 -8
- package/dist/index210.js +66 -4
- package/dist/index212.js +176 -12
- package/dist/index213.js +79 -59
- package/dist/index215.js +28 -33
- package/dist/index216.js +17 -4
- package/dist/index217.js +51 -13
- package/dist/index218.js +14 -10
- package/dist/index219.js +3 -20
- package/dist/index220.js +12 -200
- package/dist/index221.js +18 -0
- package/dist/index222.js +29 -115
- package/dist/index223.js +4 -0
- package/dist/index224.js +4 -2
- package/dist/index225.js +2 -2
- package/dist/index226.js +5 -3
- package/dist/index227.js +4 -4
- package/dist/index228.js +4 -4
- package/dist/index229.js +4 -4
- package/dist/index23.js +15 -15
- package/dist/index230.js +4 -4
- package/dist/index231.js +5 -5
- package/dist/index232.js +2 -5
- package/dist/index233.js +2 -2
- package/dist/index234.js +2 -2
- package/dist/index235.js +13 -2
- package/dist/index236.js +10 -50
- package/dist/index237.js +19 -16
- package/dist/index238.js +108 -101
- package/dist/index240.js +53 -47
- package/dist/index242.js +95 -81
- package/dist/index244.js +4 -29
- package/dist/index245.js +197 -16
- package/dist/index247.js +17 -11
- package/dist/index248.js +12 -41
- package/dist/index25.js +154 -224
- package/dist/index250.js +228 -7
- package/dist/index251.js +12 -14
- package/dist/index252.js +3 -177
- package/dist/index253.js +1 -1
- package/dist/index254.js +1 -1
- package/dist/index256.js +5 -5
- package/dist/index260.js +1 -1
- package/dist/index261.js +2 -18
- package/dist/index262.js +2 -12
- package/dist/index263.js +8 -227
- package/dist/index264.js +23 -3
- package/dist/index265.js +10 -6
- package/dist/index266.js +3 -16
- package/dist/index267.js +41 -10
- package/dist/index268.js +7 -3
- package/dist/index269.js +15 -3
- package/dist/index27.js +1 -1
- package/dist/index270.js +3 -9
- package/dist/index271.js +6 -9
- package/dist/index272.js +16 -23
- package/dist/index273.js +9 -9
- package/dist/index274.js +9 -8
- package/dist/index275.js +8 -5
- package/dist/index276.js +2 -67
- package/dist/index277.js +5 -2
- package/dist/index278.js +67 -5
- package/dist/index279.js +4 -7
- package/dist/index280.js +8 -4
- package/dist/index283.js +1 -1
- package/dist/index284.js +3 -2
- package/dist/index285.js +17 -3
- package/dist/index286.js +28 -3
- package/dist/index287.js +2 -7
- package/dist/index288.js +3 -10
- package/dist/index289.js +4 -4
- package/dist/index29.js +3 -3
- package/dist/index290.js +279 -27
- package/dist/index291.js +2 -280
- package/dist/index292.js +125 -2
- package/dist/index293.js +2 -125
- package/dist/index294.js +15 -2
- package/dist/index295.js +2 -15
- package/dist/index296.js +16 -2
- package/dist/index297.js +2 -16
- package/dist/index298.js +16 -2
- package/dist/index299.js +2 -16
- package/dist/index300.js +19 -2
- package/dist/index301.js +2 -19
- package/dist/index302.js +3 -2
- package/dist/index303.js +7 -6
- package/dist/index304.js +11 -3
- package/dist/index306.js +3 -17
- package/dist/index307.js +1 -1
- package/dist/index308.js +5 -470
- package/dist/index309.js +1 -1
- package/dist/index31.js +2 -2
- package/dist/index310.js +5 -200
- package/dist/index321.js +471 -2
- package/dist/index322.js +2 -5
- package/dist/index323.js +5 -701
- package/dist/index324.js +199 -353
- package/dist/index325.js +701 -58
- package/dist/index326.js +354 -5
- package/dist/index327.js +58 -2
- package/dist/index328.js +2 -8
- package/dist/index329.js +6 -5
- package/dist/index33.js +8 -8
- package/dist/index330.js +47 -8
- package/dist/index332.js +2 -2
- package/dist/index333.js +6 -32
- package/dist/index334.js +18 -27
- package/dist/index335.js +35 -0
- package/dist/index336.js +28 -7
- package/dist/index338.js +57 -227
- package/dist/index339.js +58 -47
- package/dist/index340.js +7 -6
- package/dist/index341.js +6 -58
- package/dist/index342.js +7 -57
- package/dist/index343.js +221 -86
- package/dist/index344.js +95 -0
- package/dist/index345.js +482 -3
- package/dist/index348.js +3 -127
- package/dist/index349.js +43 -478
- package/dist/index35.js +4 -4
- package/dist/index350.js +429 -40
- package/dist/index351.js +129 -0
- package/dist/index37.js +101 -101
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +3 -3
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +3 -3
- package/dist/index67.js +1 -1
- package/dist/index73.js +23 -26
- package/dist/index77.js +32 -34
- package/dist/index79.js +4 -4
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +1 -1
- package/dist/index87.js +1 -1
- package/dist/index90.js +4 -4
- package/dist/index92.js +2 -2
- package/dist/index94.js +7 -6
- package/dist/index96.js +1 -1
- package/dist/utilities/functions/parseSize.d.ts +2 -0
- package/package.json +1 -1
- package/dist/index211.js +0 -4
- package/dist/index246.js +0 -17
- package/dist/index337.js +0 -21
- package/dist/index347.js +0 -438
package/dist/index73.js
CHANGED
@@ -1,42 +1,39 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as v, createBlock as i, openBlock as n, unref as e, normalizeClass as x, createSlots as C, withCtx as s, createElementVNode as V, createElementBlock as b, createCommentVNode as a, createVNode as $, toDisplayString as c, createTextVNode as k } from "vue";
|
2
2
|
import { state as t, processMessage as l } from "./index6.js";
|
3
|
-
import
|
3
|
+
import z from "./index25.js";
|
4
4
|
/* empty css */
|
5
5
|
import h from "./index113.js";
|
6
6
|
/* empty css */
|
7
|
-
import
|
7
|
+
import B from "./index61.js";
|
8
8
|
/* empty css */
|
9
|
-
const
|
9
|
+
const N = { class: "bb-confirm__content" }, w = {
|
10
10
|
key: 0,
|
11
11
|
class: "bb-confirm__spinner"
|
12
|
-
},
|
12
|
+
}, T = {
|
13
13
|
key: 1,
|
14
14
|
class: "bb-confirm__text"
|
15
|
-
},
|
15
|
+
}, G = /* @__PURE__ */ v({
|
16
16
|
__name: "BbConfirm",
|
17
|
-
setup(
|
18
|
-
const
|
17
|
+
setup(E) {
|
18
|
+
const g = (m) => {
|
19
19
|
l(m);
|
20
20
|
};
|
21
|
-
return (m,
|
21
|
+
return (m, r) => {
|
22
22
|
var u, f, d, _;
|
23
|
-
return
|
23
|
+
return n(), i(z, {
|
24
|
+
class: x(["bb-confirm", `bb-confirm--${((u = e(t).current) == null ? void 0 : u.theme) || "default"}`]),
|
24
25
|
"model-value": e(t).processing,
|
25
|
-
"overlay-classes": [
|
26
|
-
"bb-confirm",
|
27
|
-
`bb-confirm--${((u = e(t).current) == null ? void 0 : u.theme) || "default"}`
|
28
|
-
],
|
29
26
|
persistent: e(t).yesBusy || e(t).noBusy || e(t).loading,
|
30
27
|
"show-close": !(e(t).yesBusy || e(t).noBusy || e(t).loading),
|
31
28
|
size: (f = e(t).current) == null ? void 0 : f.size,
|
32
29
|
title: (d = e(t).current) == null ? void 0 : d.title,
|
33
|
-
"onUpdate:modelValue":
|
34
|
-
},
|
30
|
+
"onUpdate:modelValue": g
|
31
|
+
}, C({
|
35
32
|
default: s(() => [
|
36
|
-
|
37
|
-
e(t).loading ? (
|
38
|
-
|
39
|
-
])) : e(t).current ? (
|
33
|
+
V("div", N, [
|
34
|
+
e(t).loading ? (n(), b("div", w, [
|
35
|
+
$(h, { size: "36" })
|
36
|
+
])) : e(t).current ? (n(), b("div", T, c(e(t).current.text), 1)) : a("", !0)
|
40
37
|
])
|
41
38
|
]),
|
42
39
|
_: 2
|
@@ -46,12 +43,12 @@ const z = { class: "bb-confirm__content" }, N = {
|
|
46
43
|
fn: s(() => {
|
47
44
|
var p, y;
|
48
45
|
return [
|
49
|
-
((p = e(t).current) == null ? void 0 : p.no) !== !1 ? (
|
46
|
+
((p = e(t).current) == null ? void 0 : p.no) !== !1 ? (n(), i(B, {
|
50
47
|
key: 0,
|
51
48
|
"auto-loading": "",
|
52
49
|
class: "bb-confirm__no",
|
53
50
|
inert: e(t).yesBusy,
|
54
|
-
onClick:
|
51
|
+
onClick: r[0] || (r[0] = (o) => e(l)(!1))
|
55
52
|
}, {
|
56
53
|
default: s(() => {
|
57
54
|
var o;
|
@@ -61,12 +58,12 @@ const z = { class: "bb-confirm__content" }, N = {
|
|
61
58
|
}),
|
62
59
|
_: 1
|
63
60
|
}, 8, ["inert"])) : a("", !0),
|
64
|
-
((y = e(t).current) == null ? void 0 : y.yes) !== !1 ? (
|
61
|
+
((y = e(t).current) == null ? void 0 : y.yes) !== !1 ? (n(), i(B, {
|
65
62
|
key: 1,
|
66
63
|
"auto-loading": "",
|
67
64
|
class: "bb-confirm__yes",
|
68
65
|
inert: e(t).noBusy,
|
69
|
-
onClick:
|
66
|
+
onClick: r[1] || (r[1] = (o) => e(l)(!0))
|
70
67
|
}, {
|
71
68
|
default: s(() => {
|
72
69
|
var o;
|
@@ -80,10 +77,10 @@ const z = { class: "bb-confirm__content" }, N = {
|
|
80
77
|
}),
|
81
78
|
key: "0"
|
82
79
|
} : void 0
|
83
|
-
]), 1032, ["
|
80
|
+
]), 1032, ["class", "model-value", "persistent", "show-close", "size", "title"]);
|
84
81
|
};
|
85
82
|
}
|
86
83
|
});
|
87
84
|
export {
|
88
|
-
|
85
|
+
G as default
|
89
86
|
};
|
package/dist/index77.js
CHANGED
@@ -1,60 +1,58 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import
|
1
|
+
import { defineComponent as m, mergeModels as i, useModel as u, createBlock as f, openBlock as B, mergeProps as $, withCtx as t, renderSlot as s, normalizeProps as a, guardReactiveProps as n } from "vue";
|
2
|
+
import y from "./index25.js";
|
3
3
|
/* empty css */
|
4
|
-
const
|
4
|
+
const C = /* @__PURE__ */ m({
|
5
5
|
__name: "BbDialog",
|
6
|
-
props: {
|
6
|
+
props: /* @__PURE__ */ i({
|
7
7
|
closeLabel: {},
|
8
8
|
compact: { type: Boolean },
|
9
9
|
disabled: { type: Boolean },
|
10
10
|
eager: { type: Boolean },
|
11
|
-
panelClasses: {},
|
12
|
-
overlayClasses: {},
|
13
11
|
persistent: { type: Boolean },
|
14
12
|
showClose: { type: Boolean, default: !0 },
|
15
13
|
title: {},
|
16
|
-
transition: {},
|
17
14
|
transitionDuration: {},
|
18
15
|
size: {},
|
19
16
|
description: {},
|
20
17
|
focusTarget: {},
|
21
18
|
fullscreen: { type: [Boolean, String] },
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
19
|
+
panelClasses: {},
|
20
|
+
overlayClasses: {}
|
21
|
+
}, {
|
22
|
+
modelValue: { type: Boolean, default: !1 },
|
23
|
+
modelModifiers: {}
|
24
|
+
}),
|
25
|
+
emits: /* @__PURE__ */ i(["shown", "hidden"], ["update:modelValue"]),
|
26
|
+
setup(r) {
|
27
|
+
const p = r, d = u(r, "modelValue");
|
28
|
+
return (o, l) => (B(), f(y, $(p, {
|
29
|
+
modelValue: d.value,
|
30
|
+
"onUpdate:modelValue": l[0] || (l[0] = (e) => d.value = e),
|
31
|
+
onHidden: l[1] || (l[1] = () => o.$emit("hidden")),
|
32
|
+
onShown: l[2] || (l[2] = () => o.$emit("shown"))
|
35
33
|
}), {
|
36
|
-
close:
|
37
|
-
|
34
|
+
close: t((e) => [
|
35
|
+
s(o.$slots, "close", a(n(e)))
|
38
36
|
]),
|
39
|
-
default:
|
40
|
-
|
37
|
+
default: t((e) => [
|
38
|
+
s(o.$slots, "default", a(n(e)))
|
41
39
|
]),
|
42
|
-
description:
|
43
|
-
|
40
|
+
description: t((e) => [
|
41
|
+
s(o.$slots, "description", a(n(e)))
|
44
42
|
]),
|
45
|
-
footer:
|
46
|
-
|
43
|
+
footer: t((e) => [
|
44
|
+
s(o.$slots, "footer", a(n(e)))
|
47
45
|
]),
|
48
|
-
header:
|
49
|
-
|
46
|
+
header: t((e) => [
|
47
|
+
s(o.$slots, "header", a(n(e)))
|
50
48
|
]),
|
51
|
-
title:
|
52
|
-
|
49
|
+
title: t((e) => [
|
50
|
+
s(o.$slots, "title", a(n(e)))
|
53
51
|
]),
|
54
52
|
_: 3
|
55
|
-
}, 16, ["
|
53
|
+
}, 16, ["modelValue"]));
|
56
54
|
}
|
57
55
|
});
|
58
56
|
export {
|
59
|
-
|
57
|
+
C as default
|
60
58
|
};
|
package/dist/index79.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as N, computed as R, ref as g, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as T, createElementVNode as I, normalizeStyle as J, renderSlot as m, createElementBlock as q, Fragment as F, renderList as Q, createVNode as X, mergeProps as Y, createCommentVNode as A, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
|
2
|
-
import { findRightIndex as D } from "./
|
2
|
+
import { findRightIndex as D } from "./index263.js";
|
3
3
|
import { useId as te } from "./index8.js";
|
4
|
-
import { useUntil as ne } from "./
|
4
|
+
import { useUntil as ne } from "./index236.js";
|
5
5
|
import { wait as oe } from "./index135.js";
|
6
6
|
import ae from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
import B from "./index85.js";
|
9
9
|
/* empty css */
|
10
|
-
import le from "./
|
10
|
+
import le from "./index238.js";
|
11
11
|
/* empty css */
|
12
|
-
import K from "./
|
12
|
+
import K from "./index264.js";
|
13
13
|
const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, ge = /* @__PURE__ */ N({
|
14
14
|
__name: "BbDropdown",
|
15
15
|
props: {
|
package/dist/index81.js
CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import I from "./index113.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useLocale as M } from "./
|
12
|
+
import { useLocale as M } from "./index235.js";
|
13
13
|
const O = { class: "bb-dropdown-button__content" }, R = {
|
14
14
|
key: 1,
|
15
15
|
class: "bb-dropdown-button__loading-label sr-only"
|
package/dist/index83.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
|
2
|
-
import { findInTree as ae } from "./
|
2
|
+
import { findInTree as ae } from "./index272.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index111.js";
|
5
5
|
/* empty css */
|
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
|
|
53
53
|
const r = a.accept[t];
|
54
54
|
if (r.includes("/")) e.push(r);
|
55
55
|
else {
|
56
|
-
b || (b = (await import("./
|
56
|
+
b || (b = (await import("./index271.js")).default);
|
57
57
|
const o = b.getType(r);
|
58
58
|
if (!o)
|
59
59
|
throw new Error(
|
package/dist/index85.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, createElementBlock as h, openBlock as $, mergeProps as g } from "vue";
|
2
|
-
import { isCssColor as I } from "./
|
2
|
+
import { isCssColor as I } from "./index223.js";
|
3
3
|
const B = ["innerHTML"], k = /* @__PURE__ */ v({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
package/dist/index87.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
|
2
|
-
import { throttle as c } from "./
|
2
|
+
import { throttle as c } from "./index270.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index90.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, onBeforeUnmount as A, onMounted as re, watch as ue, createBlock as ce, openBlock as g, withCtx as de, createElementVNode as s, mergeProps as E, createElementBlock as $, createCommentVNode as T, renderSlot as n, createTextVNode as fe, toDisplayString as H, unref as ve, nextTick as pe } from "vue";
|
2
|
-
import { useFocusTrap as be } from "./
|
2
|
+
import { useFocusTrap as be } from "./index267.js";
|
3
3
|
import { useId as I } from "./index8.js";
|
4
4
|
import { wait as D } from "./index135.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import me from "./
|
5
|
+
import { useModalsState as b } from "./index268.js";
|
6
|
+
import me from "./index269.js";
|
7
7
|
import { useMobile as ye } from "./index9.js";
|
8
|
-
import { useLocale as he } from "./
|
8
|
+
import { useLocale as he } from "./index235.js";
|
9
9
|
const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
|
10
10
|
__name: "BbOffCanvas",
|
11
11
|
props: {
|
package/dist/index92.js
CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
|
|
3
3
|
/* empty css */
|
4
4
|
import P from "./index13.js";
|
5
5
|
/* empty css */
|
6
|
-
import { debounce as X } from "./
|
7
|
-
import { useLocale as H } from "./
|
6
|
+
import { debounce as X } from "./index273.js";
|
7
|
+
import { useLocale as H } from "./index235.js";
|
8
8
|
import { useRoute as J } from "./index142.js";
|
9
9
|
const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
|
10
10
|
__name: "BbPagination",
|
package/dist/index94.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as i, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
|
2
2
|
import { useId as H } from "./index8.js";
|
3
3
|
import { useIntersectionObserver as N } from "./index137.js";
|
4
|
-
import { useLocale as U } from "./
|
5
|
-
import { useUntil as W } from "./
|
4
|
+
import { useLocale as U } from "./index235.js";
|
5
|
+
import { useUntil as W } from "./index236.js";
|
6
6
|
import q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import A from "./
|
8
|
+
import A from "./index238.js";
|
9
9
|
/* empty css */
|
10
10
|
const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
|
11
11
|
__name: "BbPopover",
|
@@ -37,9 +37,10 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
|
|
37
37
|
);
|
38
38
|
const o = m(!1), u = W(o), b = (e) => {
|
39
39
|
var a;
|
40
|
-
e.target instanceof HTMLElement && ((a = c.value) != null && a.contains(e.target)
|
40
|
+
if (e.target instanceof HTMLElement && !((a = c.value) != null && a.contains(e.target)))
|
41
|
+
return s();
|
41
42
|
}, T = async () => {
|
42
|
-
o.value = !0, document.addEventListener("click", b);
|
43
|
+
o.value = !0, document.addEventListener("click", b, { passive: !0 });
|
43
44
|
}, s = async () => {
|
44
45
|
o.value = !1, document.removeEventListener("click", b);
|
45
46
|
}, w = async (e) => {
|
@@ -83,11 +84,11 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
|
|
83
84
|
width: E.value
|
84
85
|
}
|
85
86
|
},
|
87
|
+
dialog: "",
|
86
88
|
offset: e.offset,
|
87
89
|
padding: e.padding,
|
88
90
|
placement: e.placement,
|
89
91
|
"render-content": i(u),
|
90
|
-
tag: "dialog",
|
91
92
|
"transition-duration": e.transitionDuration
|
92
93
|
}, {
|
93
94
|
activator: v(() => [
|
package/dist/index96.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
|
2
|
-
import { clamp as p } from "./
|
2
|
+
import { clamp as p } from "./index208.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index136.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|
package/package.json
CHANGED
package/dist/index211.js
DELETED
package/dist/index246.js
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
import { isNil as f } from "./index225.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
|
-
};
|
15
|
-
export {
|
16
|
-
a as useCoherence
|
17
|
-
};
|
package/dist/index337.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
function l(t, ...e) {
|
2
|
-
if (t.length) {
|
3
|
-
const o = t[0];
|
4
|
-
if (typeof o == "string") return [...t].sort(r);
|
5
|
-
if (typeof o == "number") return [...t].sort(r);
|
6
|
-
if (e && e.length)
|
7
|
-
return [...t].sort((f, u) => {
|
8
|
-
for (let n = 0; n < e.length; n++) {
|
9
|
-
const i = e[n], s = r(f[i], u[i]);
|
10
|
-
if (s) return s;
|
11
|
-
}
|
12
|
-
return 0;
|
13
|
-
});
|
14
|
-
throw new Error("Invalid comparison");
|
15
|
-
}
|
16
|
-
return t;
|
17
|
-
}
|
18
|
-
const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
|
19
|
-
export {
|
20
|
-
l as sort
|
21
|
-
};
|