bitboss-ui 2.0.59 → 2.0.60
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/index110.js +5 -5
- package/dist/index118.js +1 -1
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index204.js +2 -81
- package/dist/index205.js +162 -3
- package/dist/index206.js +84 -3
- package/dist/index208.js +3 -6
- package/dist/index209.js +2 -7
- package/dist/index21.js +14 -14
- package/dist/index210.js +4 -8
- package/dist/index211.js +2 -281
- package/dist/index212.js +8 -16
- package/dist/index213.js +52 -15
- package/dist/index215.js +13 -19
- package/dist/index216.js +124 -25
- package/dist/index217.js +5 -3
- package/dist/index218.js +125 -2
- package/dist/index219.js +19 -249
- package/dist/index220.js +15 -51
- package/dist/index221.js +16 -44
- package/dist/index222.js +2 -5
- package/dist/index223.js +2 -49
- package/dist/index224.js +41 -2
- package/dist/index225.js +18 -51
- package/dist/index226.js +8 -0
- package/dist/index227.js +4 -12
- package/dist/index228.js +366 -17
- package/dist/index229.js +19 -4
- package/dist/index23.js +15 -15
- package/dist/index230.js +25 -124
- package/dist/index231.js +3 -125
- package/dist/index232.js +249 -2
- package/dist/index233.js +52 -5
- package/dist/index234.js +44 -369
- package/dist/index235.js +5 -2
- package/dist/index236.js +49 -4
- package/dist/index237.js +3 -2
- package/dist/index238.js +7 -162
- package/dist/index239.js +80 -83
- package/dist/index240.js +6 -0
- package/dist/index241.js +1 -1
- package/dist/index243.js +1 -1
- package/dist/index245.js +1 -1
- package/dist/index25.js +5 -5
- package/dist/index250.js +3 -224
- package/dist/index251.js +11 -430
- package/dist/index252.js +7 -87
- package/dist/index253.js +9 -6
- package/dist/index254.js +17 -2
- package/dist/index255.js +4 -2
- package/dist/index256.js +224 -2
- package/dist/index257.js +4 -2
- package/dist/index258.js +3 -2
- package/dist/index260.js +7 -2
- package/dist/index261.js +281 -2
- package/dist/index262.js +6 -2
- package/dist/index263.js +2 -2
- package/dist/index264.js +2 -28
- package/dist/index265.js +2 -22
- package/dist/index267.js +2 -7
- package/dist/index268.js +126 -3
- package/dist/index269.js +433 -0
- package/dist/index27.js +1 -1
- package/dist/index271.js +22 -3
- package/dist/index273.js +2 -23
- package/dist/index274.js +2 -6
- package/dist/index275.js +2 -16
- package/dist/index276.js +2 -200
- package/dist/index277.js +2 -9
- package/dist/index278.js +2 -2
- package/dist/index279.js +24 -122
- package/dist/index280.js +6 -6
- package/dist/index282.js +3 -4
- package/dist/index283.js +9 -3
- package/dist/index284.js +23 -12
- package/dist/index285.js +6 -9
- package/dist/index286.js +15 -8
- package/dist/index287.js +9 -17
- package/dist/index288.js +435 -3
- package/dist/index289.js +113 -422
- package/dist/index29.js +3 -3
- package/dist/index290.js +199 -126
- package/dist/index291.js +89 -3
- package/dist/index292.js +1 -1
- package/dist/index293.js +3 -211
- package/dist/index294.js +204 -59
- package/dist/index295.js +66 -5
- package/dist/index296.js +5 -2
- package/dist/index297.js +2 -5
- package/dist/index298.js +4 -7
- package/dist/index299.js +7 -3
- package/dist/index300.js +33 -79
- package/dist/index301.js +13 -0
- package/dist/index302.js +3 -32
- package/dist/index303.js +79 -7
- package/dist/index305.js +4 -19
- package/dist/index306.js +4 -4
- package/dist/index307.js +59 -4
- package/dist/index308.js +6 -58
- package/dist/index309.js +17 -45
- package/dist/index31.js +2 -2
- package/dist/index310.js +6 -10
- package/dist/index311.js +1 -1
- package/dist/index312.js +49 -0
- package/dist/index313.js +2 -2
- package/dist/index315.js +420 -43
- package/dist/index316.js +47 -2
- package/dist/index317.js +4 -0
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +9 -9
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +4 -4
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +42 -41
- package/dist/index86.js +1 -1
- package/dist/index88.js +3 -3
- package/dist/index90.js +1 -1
- package/package.json +2 -2
- package/dist/index207.js +0 -43
- package/dist/index214.js +0 -21
- package/dist/index272.js +0 -11
- package/dist/index304.js +0 -9
- package/dist/index314.js +0 -426
- /package/dist/{index259.js → index266.js} +0 -0
package/dist/index49.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as p, normalizeClass as h, withCtx as n, renderSlot as r, createElementVNode as l, mergeProps as g } from "vue";
|
2
|
-
import B from "./
|
2
|
+
import B from "./index213.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index215.js";
|
5
5
|
const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], V = /* @__PURE__ */ m({
|
6
6
|
__name: "BaseTextInput",
|
7
7
|
props: {
|
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as z, computed as b, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as h, guardReactiveProps as k, renderSlot as y } from "vue";
|
2
|
-
import { isCssColor as _ } from "./
|
2
|
+
import { isCssColor as _ } from "./index209.js";
|
3
3
|
import { wait as C } from "./index131.js";
|
4
4
|
const w = ["alt", "sizes", "src", "srcset"], B = {
|
5
5
|
key: 1,
|
package/dist/index57.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
|
2
|
-
import { isCssColor as r } from "./
|
2
|
+
import { isCssColor as r } from "./index209.js";
|
3
3
|
import { isNil as B } from "./index129.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
package/dist/index75.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as Q, defineAsyncComponent as W, computed as A, ref as g, openBlock as $, createElementBlock as D, mergeProps as B, createElementVNode as O, renderSlot as w, normalizeProps as X, guardReactiveProps as Y, unref as h, createBlock as Z, withCtx as K, normalizeStyle as _, Fragment as P, renderList as x, createVNode as ee, createCommentVNode as te } from "vue";
|
2
|
-
import { findRightIndex as H } from "./
|
2
|
+
import { findRightIndex as H } from "./index283.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index131.js";
|
5
5
|
import { useIntersectionObserver as ae } from "./index132.js";
|
6
6
|
import le from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import N from "./
|
8
|
+
import N from "./index284.js";
|
9
9
|
const me = /* @__PURE__ */ Q({
|
10
10
|
__name: "BbDropdown",
|
11
11
|
props: {
|
@@ -24,7 +24,7 @@ const me = /* @__PURE__ */ Q({
|
|
24
24
|
},
|
25
25
|
setup(V) {
|
26
26
|
const j = W(
|
27
|
-
() => import("./
|
27
|
+
() => import("./index282.js")
|
28
28
|
), r = V, d = r.id ?? `bb_${ne().id.value}`, m = A(() => {
|
29
29
|
let e = r.items.findIndex((t) => !t.disabled), o = H(
|
30
30
|
r.items,
|
package/dist/index79.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, 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 "./index286.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index127.js";
|
5
5
|
/* empty css */
|
@@ -56,7 +56,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = {
|
|
56
56
|
const r = a.accept[t];
|
57
57
|
if (r.includes("/")) e.push(r);
|
58
58
|
else {
|
59
|
-
b || (b = (await import("./
|
59
|
+
b || (b = (await import("./index285.js")).default);
|
60
60
|
const o = b.getType(r);
|
61
61
|
if (!o)
|
62
62
|
throw new Error(
|
package/dist/index81.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
|
2
|
-
import { throttle as c } from "./
|
2
|
+
import { throttle as c } from "./index237.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index84.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { defineComponent as te, ref as
|
2
|
-
import { useFocusTrap as ce } from "./
|
1
|
+
import { defineComponent as te, ref as l, useAttrs as oe, getCurrentInstance as le, computed as p, nextTick as se, onBeforeUnmount as x, onMounted as ae, watch as ne, openBlock as g, createBlock as ie, Teleport as re, createElementVNode as s, mergeProps as O, createElementBlock as V, renderSlot as n, createTextVNode as ue, toDisplayString as S, createCommentVNode as z } from "vue";
|
2
|
+
import { useFocusTrap as ce } from "./index224.js";
|
3
3
|
import { useId as A } from "./index8.js";
|
4
4
|
import { wait as E } from "./index131.js";
|
5
|
-
import { useModalsState as
|
5
|
+
import { useModalsState as b } from "./index238.js";
|
6
6
|
const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"], ge = /* @__PURE__ */ te({
|
7
7
|
__name: "BbOffCanvas",
|
8
8
|
props: {
|
@@ -27,17 +27,18 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
27
27
|
emits: ["shown", "hidden", "update:modelValue"],
|
28
28
|
setup(H, { emit: I }) {
|
29
29
|
var L, N;
|
30
|
-
const e = H, u = I, k = `title_${A().id.value}`,
|
31
|
-
const { openedModals: t } =
|
32
|
-
return !t.value || t.value ===
|
30
|
+
const e = H, u = I, k = `title_${A().id.value}`, C = `description_${A().id.value}`, c = l(null), T = l(null), W = l(null), F = l(null), R = l(null), K = l(null), P = oe(), $ = !!((N = (L = le()) == null ? void 0 : L.proxy) != null && N.$nuxt), d = l(0), U = p(() => {
|
31
|
+
const { openedModals: t } = b();
|
32
|
+
return !t.value || t.value === d.value;
|
33
33
|
}), { activate: j, deactivate: q } = ce(T, {
|
34
34
|
initialFocus: e.focusTarget ?? void 0,
|
35
|
-
clickOutsideDeactivates:
|
35
|
+
clickOutsideDeactivates: (t) => t.target === c.value,
|
36
|
+
allowOutsideClick: !0,
|
36
37
|
/* On esc deactivate the trap, return focus and then close the modal */
|
37
|
-
escapeDeactivates: () => (
|
38
|
+
escapeDeactivates: () => (se(() => {
|
38
39
|
u("update:modelValue", !1);
|
39
40
|
}), !0)
|
40
|
-
}), G =
|
41
|
+
}), G = p(() => e.closeLabel), _ = l(!1), f = l(!1), m = l(!0), v = l(!1), i = l(e.eager || e.modelValue), D = l(null), J = p(() => f.value || v.value), Q = () => {
|
41
42
|
if (!globalThis.document) return;
|
42
43
|
const t = window.innerWidth - document.documentElement.clientWidth;
|
43
44
|
document.body.style.overflow = "hidden", document.body.style.paddingRight = `${t}px`;
|
@@ -46,15 +47,15 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
46
47
|
};
|
47
48
|
x(() => {
|
48
49
|
if (e.modelValue) {
|
49
|
-
const { openedModals: t, modalHasClosed: o } =
|
50
|
-
t.value && (o(),
|
50
|
+
const { openedModals: t, modalHasClosed: o } = b();
|
51
|
+
t.value && (o(), d.value = 0, w());
|
51
52
|
}
|
52
53
|
}), ae(() => {
|
53
54
|
!e.modelValue && !i.value || $ && !globalThis.document || M();
|
54
55
|
}), x(() => {
|
55
56
|
if (e.modelValue) {
|
56
|
-
const { openedModals: t, modalHasClosed: o } =
|
57
|
-
t.value && (o(),
|
57
|
+
const { openedModals: t, modalHasClosed: o } = b();
|
58
|
+
t.value && (o(), d.value = 0, w());
|
58
59
|
}
|
59
60
|
}), ne(
|
60
61
|
() => e.modelValue,
|
@@ -65,30 +66,30 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
65
66
|
);
|
66
67
|
const M = async () => {
|
67
68
|
if (e.modelValue) {
|
68
|
-
i.value || (i.value = !0), m.value = !1,
|
69
|
-
const { modalHasOpened: t, openedModals: o } =
|
70
|
-
t(),
|
69
|
+
i.value || (i.value = !0), m.value = !1, v.value = !1, f.value = !0;
|
70
|
+
const { modalHasOpened: t, openedModals: o } = b();
|
71
|
+
t(), d.value = o.value, Q(), await E(e.transitionDuration), f.value = !1, _.value = !0, u("shown"), j();
|
71
72
|
} else {
|
72
|
-
q(),
|
73
|
-
const { modalHasClosed: t, openedModals: o } =
|
74
|
-
t(),
|
73
|
+
q(), f.value = !1, _.value = !1, v.value = !0;
|
74
|
+
const { modalHasClosed: t, openedModals: o } = b();
|
75
|
+
t(), d.value = 0, o.value || w(), await E(e.transitionDuration), v.value = !1, m.value = !0, u("hidden"), D.value instanceof HTMLElement && D.value.focus();
|
75
76
|
}
|
76
77
|
}, y = (t) => {
|
77
|
-
t.target ===
|
78
|
+
t.target === c.value && t.preventDefault();
|
78
79
|
}, X = (t) => {
|
79
|
-
e.disabled || J.value ||
|
80
|
+
e.disabled || J.value || c.value && t.target === c.value && (e.persistent || u("update:modelValue", !1));
|
80
81
|
}, B = () => {
|
81
82
|
e.disabled || u("update:modelValue", !1);
|
82
|
-
}, Y =
|
83
|
+
}, Y = p(() => {
|
83
84
|
const t = [
|
84
85
|
{
|
85
86
|
"bb-offcanvas bb-offcanvas__overlay": !0,
|
86
87
|
"bb-offcanvas--fullscreen": e.fullscreen,
|
87
88
|
"bb-offcanvas--faded": !U.value,
|
88
|
-
"bb-offcanvas--open":
|
89
|
-
"bb-offcanvas--opening":
|
89
|
+
"bb-offcanvas--open": _.value,
|
90
|
+
"bb-offcanvas--opening": f.value,
|
90
91
|
"bb-offcanvas--closed": m.value,
|
91
|
-
"bb-offcanvas--closing":
|
92
|
+
"bb-offcanvas--closing": v.value,
|
92
93
|
[`bb-offcanvas--transition-${e.transition}`]: !0,
|
93
94
|
[`bb-offcanvas--${e.direction}`]: !0
|
94
95
|
},
|
@@ -108,7 +109,7 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
108
109
|
...o,
|
109
110
|
...P
|
110
111
|
};
|
111
|
-
}), Z =
|
112
|
+
}), Z = p(() => {
|
112
113
|
const t = [
|
113
114
|
{
|
114
115
|
"bb-offcanvas__panel": !0,
|
@@ -119,7 +120,7 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
119
120
|
role: "dialog",
|
120
121
|
"aria-modal": !0
|
121
122
|
};
|
122
|
-
i.value && (o["aria-labelledby"] = k, e.description && (o["aria-describedby"] =
|
123
|
+
i.value && (o["aria-labelledby"] = k, e.description && (o["aria-describedby"] = C));
|
123
124
|
let a, r;
|
124
125
|
const h = {
|
125
126
|
sm: 384,
|
@@ -139,12 +140,12 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
139
140
|
};
|
140
141
|
});
|
141
142
|
return (t, o) => (g(), ie(re, { to: "body" }, [
|
142
|
-
|
143
|
+
s("div", O(Y.value, {
|
143
144
|
ref_key: "overlay",
|
144
|
-
ref:
|
145
|
+
ref: c,
|
145
146
|
inert: m.value
|
146
147
|
}), [
|
147
|
-
|
148
|
+
s("div", O(Z.value, {
|
148
149
|
ref_key: "panel",
|
149
150
|
ref: T
|
150
151
|
}), [
|
@@ -155,7 +156,7 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
155
156
|
class: "bb-offcanvas__content"
|
156
157
|
}, [
|
157
158
|
n(t.$slots, "content", { close: B }, () => [
|
158
|
-
|
159
|
+
s("div", {
|
159
160
|
ref_key: "header",
|
160
161
|
ref: F,
|
161
162
|
class: "bb-offcanvas__header"
|
@@ -165,7 +166,7 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
165
166
|
title: t.title,
|
166
167
|
titleId: k
|
167
168
|
}, () => [
|
168
|
-
|
169
|
+
s("span", {
|
169
170
|
id: k,
|
170
171
|
class: "bb-offcanvas__title"
|
171
172
|
}, [
|
@@ -173,7 +174,7 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
173
174
|
ue(S(t.title), 1)
|
174
175
|
])
|
175
176
|
]),
|
176
|
-
|
177
|
+
s("span", fe, [
|
177
178
|
t.showClose ? (g(), V("button", {
|
178
179
|
key: 0,
|
179
180
|
"aria-label": G.value,
|
@@ -181,14 +182,14 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
181
182
|
onClick: B
|
182
183
|
}, [
|
183
184
|
n(t.$slots, "close", {}, () => [
|
184
|
-
o[0] || (o[0] =
|
185
|
-
|
185
|
+
o[0] || (o[0] = s("span", { class: "bb-offcanvas-close__icon" }, [
|
186
|
+
s("svg", {
|
186
187
|
"aria-hidden": "true",
|
187
188
|
fill: "none",
|
188
189
|
viewBox: "0 0 24 24",
|
189
190
|
xmlns: "http://www.w3.org/2000/svg"
|
190
191
|
}, [
|
191
|
-
|
192
|
+
s("path", {
|
192
193
|
d: "M23 23L1 1M23 1L1 23",
|
193
194
|
stroke: "currentColor",
|
194
195
|
"stroke-linecap": "round",
|
@@ -201,25 +202,25 @@ const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"],
|
|
201
202
|
])
|
202
203
|
])
|
203
204
|
], 512),
|
204
|
-
|
205
|
+
s("div", {
|
205
206
|
ref_key: "body",
|
206
207
|
ref: R,
|
207
208
|
class: "bb-offcanvas__body scrollbar-border"
|
208
209
|
}, [
|
209
210
|
n(t.$slots, "description", {
|
210
|
-
descriptionId:
|
211
|
+
descriptionId: C,
|
211
212
|
text: t.description
|
212
213
|
}, () => [
|
213
214
|
t.description ? (g(), V("div", {
|
214
215
|
key: 0,
|
215
|
-
id:
|
216
|
+
id: C,
|
216
217
|
class: "bb-offcanvas__description sr-only"
|
217
218
|
}, S(t.description), 1)) : z("", !0)
|
218
219
|
]),
|
219
220
|
n(t.$slots, "default")
|
220
221
|
], 512),
|
221
|
-
o[1] || (o[1] =
|
222
|
-
|
222
|
+
o[1] || (o[1] = s("div", { style: { flex: "10000 10000 0%" } }, null, -1)),
|
223
|
+
s("div", {
|
223
224
|
ref_key: "footer",
|
224
225
|
ref: K,
|
225
226
|
class: "bb-offcanvas__footer"
|
package/dist/index86.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as A, computed as _, ref as g, onMounted as E, onBeforeUnmount as P, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as b, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
|
2
|
-
import { debounce as F } from "./
|
2
|
+
import { debounce as F } from "./index287.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import w from "./index13.js";
|
package/dist/index88.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as S, defineAsyncComponent as H, ref as n, computed as m, openBlock as b, createElementBlock as q, mergeProps as A, createElementVNode as p, renderSlot as y, normalizeProps as I, guardReactiveProps as V, createBlock as C, unref as W, withCtx as $, createCommentVNode as T, nextTick as z } from "vue";
|
2
|
-
import { useFocusTrap as R } from "./
|
2
|
+
import { useFocusTrap as R } from "./index224.js";
|
3
3
|
import { useId as j } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as G } from "./index132.js";
|
5
|
-
import { waitFor as J } from "./
|
5
|
+
import { waitFor as J } from "./index226.js";
|
6
6
|
import K from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
const te = /* @__PURE__ */ S({
|
@@ -24,7 +24,7 @@ const te = /* @__PURE__ */ S({
|
|
24
24
|
emits: ["shown", "hidden"],
|
25
25
|
setup(B, { expose: P, emit: _ }) {
|
26
26
|
const N = H(
|
27
|
-
() => import("./
|
27
|
+
() => import("./index282.js")
|
28
28
|
), t = B, s = _, { id: D } = j(), c = `bbp_${D.value}`, r = n(), l = n(), { activate: E, deactivate: L } = R(l, {
|
29
29
|
/**
|
30
30
|
* This traps all clicks outside so we are pressing
|
package/dist/index90.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, computed as a, openBlock as l, createElementBlock 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 "./index204.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index130.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|
package/package.json
CHANGED
package/dist/index207.js
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
import { unrefElement as A } from "./index132.js";
|
2
|
-
import { toValue as n, notNullish as g, tryOnScopeDispose as y } from "./index204.js";
|
3
|
-
import { ref as i, computed as D, watch as F } from "vue";
|
4
|
-
import { createFocusTrap as T } from "./index251.js";
|
5
|
-
function E(f, a = {}) {
|
6
|
-
let e;
|
7
|
-
const { immediate: l, ...p } = a, r = i(!1), s = i(!1), c = (t) => e && e.activate(t), u = (t) => e && e.deactivate(t), v = () => {
|
8
|
-
e && (e.pause(), s.value = !0);
|
9
|
-
}, m = () => {
|
10
|
-
e && (e.unpause(), s.value = !1);
|
11
|
-
}, d = D(() => {
|
12
|
-
const t = n(f);
|
13
|
-
return (Array.isArray(t) ? t : [t]).map((h) => {
|
14
|
-
const o = n(h);
|
15
|
-
return typeof o == "string" ? o : A(o);
|
16
|
-
}).filter(g);
|
17
|
-
});
|
18
|
-
return F(
|
19
|
-
d,
|
20
|
-
(t) => {
|
21
|
-
t.length && (e = T(t, {
|
22
|
-
...p,
|
23
|
-
onActivate() {
|
24
|
-
r.value = !0, a.onActivate && a.onActivate();
|
25
|
-
},
|
26
|
-
onDeactivate() {
|
27
|
-
r.value = !1, a.onDeactivate && a.onDeactivate();
|
28
|
-
}
|
29
|
-
}), l && c());
|
30
|
-
},
|
31
|
-
{ flush: "post" }
|
32
|
-
), y(() => u()), {
|
33
|
-
hasFocus: r,
|
34
|
-
isPaused: s,
|
35
|
-
activate: c,
|
36
|
-
deactivate: u,
|
37
|
-
pause: v,
|
38
|
-
unpause: m
|
39
|
-
};
|
40
|
-
}
|
41
|
-
export {
|
42
|
-
E as useFocusTrap
|
43
|
-
};
|
package/dist/index214.js
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
import { getDefaultExportFromCjs as m, commonjsGlobal as i } from "./index253.js";
|
2
|
-
import { __module as r } from "./index257.js";
|
3
|
-
import { d as s } from "./index211.js";
|
4
|
-
(function(_, u) {
|
5
|
-
(function(e, t) {
|
6
|
-
_.exports = t(s);
|
7
|
-
})(i, function(e) {
|
8
|
-
function t(o) {
|
9
|
-
return o && typeof o == "object" && "default" in o ? o : { default: o };
|
10
|
-
}
|
11
|
-
var a = t(e), n = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(o) {
|
12
|
-
return o + "º";
|
13
|
-
} };
|
14
|
-
return a.default.locale(n, null, !0), n;
|
15
|
-
});
|
16
|
-
})(r);
|
17
|
-
var d = r.exports;
|
18
|
-
const g = /* @__PURE__ */ m(d);
|
19
|
-
export {
|
20
|
-
g as default
|
21
|
-
};
|
package/dist/index272.js
DELETED