bitboss-ui 2.0.136 → 2.0.138
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/index109.js +2 -2
- package/dist/index11.js +11 -11
- package/dist/index111.js +354 -364
- package/dist/index119.js +1 -1
- package/dist/index12.js +5 -5
- package/dist/index121.js +5 -5
- 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 +2 -2
- package/dist/index132.js +2 -2
- package/dist/index133.js +9 -25
- package/dist/index134.js +25 -2
- package/dist/index135.js +2 -5
- package/dist/index136.js +5 -9
- package/dist/index137.js +8 -5
- package/dist/index138.js +6 -3
- package/dist/index139.js +1 -1
- package/dist/index140.js +1 -1
- package/dist/index141.js +1 -1
- package/dist/index142.js +1 -1
- package/dist/index143.js +1 -1
- package/dist/index144.js +1 -1
- package/dist/index145.js +1 -1
- package/dist/index146.js +1 -1
- package/dist/index147.js +1 -1
- package/dist/index148.js +1 -1
- package/dist/index149.js +1 -1
- package/dist/index15.js +9 -9
- package/dist/index150.js +1 -1
- package/dist/index151.js +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.js +1 -1
- package/dist/index154.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.js +1 -1
- package/dist/index159.js +1 -1
- package/dist/index160.js +1 -1
- package/dist/index161.js +1 -1
- package/dist/index162.js +1 -1
- package/dist/index163.js +1 -1
- package/dist/index164.js +1 -1
- package/dist/index165.js +2 -2
- package/dist/{index195.js → index166.js} +1 -1
- package/dist/index17.js +3 -3
- package/dist/index170.js +1 -1
- package/dist/index171.js +1 -1
- package/dist/index172.js +1 -1
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +2 -2
- package/dist/index177.js +5 -0
- package/dist/index179.js +2 -3
- package/dist/index180.js +1 -1
- package/dist/index181.js +1 -1
- package/dist/index182.js +1 -1
- package/dist/index183.js +1 -1
- package/dist/index184.js +1 -1
- package/dist/index185.js +1 -1
- package/dist/index186.js +1 -1
- package/dist/index187.js +1 -1
- package/dist/index188.js +3 -2
- package/dist/index189.js +2 -3
- package/dist/index19.js +8 -8
- package/dist/index190.js +1 -1
- package/dist/index191.js +1 -1
- package/dist/index192.js +5 -0
- package/dist/index196.js +1 -1
- package/dist/index197.js +1 -1
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index200.js +1 -1
- package/dist/index201.js +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.js +1 -1
- package/dist/index204.js +1 -1
- package/dist/index205.js +3 -115
- package/dist/index207.js +115 -2
- package/dist/index208.js +5 -4
- package/dist/index209.js +16 -2
- package/dist/index21.js +16 -16
- package/dist/index210.js +16 -86
- package/dist/index211.js +21 -0
- package/dist/index212.js +15 -29
- package/dist/index213.js +18 -16
- package/dist/index214.js +26 -50
- package/dist/index215.js +3 -15
- package/dist/index216.js +2 -3
- package/dist/index217.js +8 -12
- package/dist/index218.js +250 -16
- package/dist/index219.js +52 -4
- package/dist/index220.js +44 -41
- package/dist/index221.js +5 -20
- package/dist/index222.js +56 -90
- package/dist/index223.js +15 -0
- package/dist/index224.js +122 -197
- package/dist/index225.js +4 -0
- package/dist/index226.js +41 -65
- package/dist/index227.js +22 -0
- package/dist/index228.js +6 -13
- package/dist/index229.js +93 -12
- package/dist/index23.js +16 -16
- package/dist/index231.js +65 -5
- package/dist/index233.js +13 -16
- package/dist/index234.js +2 -19
- package/dist/index235.js +86 -15
- package/dist/index237.js +29 -27
- package/dist/index238.js +17 -2
- package/dist/index239.js +51 -8
- package/dist/index240.js +15 -250
- package/dist/index241.js +12 -52
- package/dist/index242.js +16 -44
- package/dist/index243.js +2 -5
- package/dist/index244.js +4 -60
- package/dist/index245.js +2 -125
- package/dist/index246.js +2 -2
- package/dist/index247.js +3 -6
- package/dist/index248.js +7 -2
- package/dist/index249.js +15 -3
- package/dist/index25.js +83 -82
- package/dist/index250.js +4 -7
- package/dist/index251.js +196 -11
- package/dist/{index230.js → index253.js} +1 -1
- package/dist/index254.js +17 -99
- package/dist/index256.js +106 -2
- package/dist/index258.js +99 -17
- package/dist/index261.js +5 -5
- package/dist/index262.js +2 -2
- package/dist/index263.js +2 -10
- package/dist/index264.js +2 -3
- package/dist/index265.js +9 -3
- package/dist/index266.js +3 -6
- package/dist/index267.js +8 -15
- package/dist/index268.js +23 -9
- package/dist/index269.js +6 -23
- package/dist/index27.js +1 -1
- package/dist/index270.js +16 -9
- package/dist/index271.js +9 -3
- package/dist/index272.js +281 -17
- package/dist/index273.js +6 -9
- package/dist/index274.js +2 -28
- package/dist/index275.js +2 -431
- package/dist/index276.js +2 -176
- package/dist/index277.js +2 -3
- package/dist/index278.js +2 -3
- package/dist/index279.js +2 -3
- package/dist/index281.js +2 -7
- package/dist/index282.js +2 -7
- package/dist/index283.js +2 -11
- package/dist/index284.js +2 -224
- package/dist/index285.js +27 -280
- package/dist/index286.js +22 -6
- package/dist/index288.js +7 -2
- package/dist/index289.js +7 -2
- package/dist/index29.js +3 -3
- package/dist/index290.js +11 -2
- package/dist/index291.js +4 -2
- package/dist/index292.js +9 -2
- package/dist/index293.js +8 -2
- package/dist/index294.js +3 -2
- package/dist/index295.js +17 -2
- package/dist/index296.js +2 -2
- package/dist/index297.js +431 -2
- package/dist/index298.js +176 -22
- package/dist/index299.js +5 -0
- package/dist/index300.js +3 -200
- package/dist/index302.js +200 -2
- package/dist/index303.js +3 -2
- package/dist/index304.js +2 -89
- package/dist/index305.js +89 -3
- package/dist/index306.js +224 -3
- package/dist/index308.js +3 -2
- package/dist/index309.js +3 -436
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -127
- package/dist/index311.js +436 -2
- package/dist/index312.js +127 -5
- package/dist/index313.js +26 -26
- package/dist/index314.js +5 -5
- package/dist/index315.js +2 -8
- package/dist/index319.js +6 -3
- package/dist/index320.js +19 -480
- package/dist/index321.js +5 -57
- package/dist/index322.js +8 -57
- package/dist/index323.js +6 -7
- package/dist/index324.js +57 -6
- package/dist/index325.js +56 -7
- package/dist/index326.js +3 -32
- package/dist/index327.js +28 -21
- package/dist/index328.js +25 -6
- package/dist/index329.js +7 -18
- package/dist/index33.js +8 -8
- package/dist/index330.js +5 -6
- package/dist/index331.js +8 -47
- package/dist/index332.js +480 -2
- package/dist/index333.js +49 -0
- package/dist/index334.js +4 -0
- package/dist/index337.js +420 -43
- package/dist/index338.js +4 -0
- package/dist/index339.js +49 -0
- package/dist/index35.js +5 -5
- package/dist/index37.js +19 -19
- 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 +3 -3
- 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/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 +67 -67
- package/dist/index86.js +2 -2
- package/dist/index88.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/dist/index169.js +0 -5
- package/dist/index178.js +0 -4
- package/dist/index232.js +0 -18
- package/dist/index236.js +0 -21
- package/dist/index252.js +0 -108
- package/dist/index257.js +0 -4
- package/dist/index287.js +0 -4
- package/dist/index301.js +0 -10
- package/dist/index336.js +0 -426
- /package/dist/{index167.js → index168.js} +0 -0
- /package/dist/{index193.js → index194.js} +0 -0
- /package/dist/{index259.js → index255.js} +0 -0
- /package/dist/{index335.js → index280.js} +0 -0
package/dist/index45.js
CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
|
|
3
3
|
/* empty css */
|
4
4
|
import ae from "./index128.js";
|
5
5
|
/* empty css */
|
6
|
-
import { last as le } from "./
|
7
|
-
import { useBaseOptions as ne } from "./
|
8
|
-
import { useIndexById as re } from "./
|
9
|
-
import ie from "./
|
6
|
+
import { last as le } from "./index216.js";
|
7
|
+
import { useBaseOptions as ne } from "./index239.js";
|
8
|
+
import { useIndexById as re } from "./index238.js";
|
9
|
+
import ie from "./index256.js";
|
10
10
|
/* empty css */
|
11
|
-
import ue from "./
|
11
|
+
import ue from "./index258.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index231.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
15
|
+
import de from "./index233.js";
|
16
|
+
import { isEmpty as pe } from "./index234.js";
|
17
17
|
const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__PURE__ */ Q({
|
18
18
|
__name: "BaseTag",
|
19
19
|
props: {
|
package/dist/index47.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, openBlock as $, createBlock as k, normalizeClass as C, withCtx as r, renderSlot as t, createVNode as i, unref as T, createElementVNode as v, mergeProps as x } from "vue";
|
2
|
-
import E from "./
|
3
|
-
import G from "./
|
2
|
+
import E from "./index233.js";
|
3
|
+
import G from "./index231.js";
|
4
4
|
/* empty css */
|
5
5
|
import M from "./index128.js";
|
6
6
|
/* empty css */
|
7
|
-
import { isNotNil as q } from "./
|
7
|
+
import { isNotNil as q } from "./index135.js";
|
8
8
|
const H = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "rows", "value"], Y = /* @__PURE__ */ h({
|
9
9
|
__name: "BaseTextarea",
|
10
10
|
props: {
|
package/dist/index49.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as B, withCtx as n, renderSlot as l, unref as g, createElementVNode as p, mergeProps as h } from "vue";
|
2
|
-
import $ from "./
|
2
|
+
import $ from "./index231.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
5
|
-
import { isNotNil as C } from "./
|
4
|
+
import k from "./index233.js";
|
5
|
+
import { isNotNil as C } from "./index135.js";
|
6
6
|
const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], M = /* @__PURE__ */ m({
|
7
7
|
__name: "BaseTextInput",
|
8
8
|
props: {
|
package/dist/index53.js
CHANGED
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as b, computed as z, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
2
|
+
import { isCssColor as y } from "./index243.js";
|
3
3
|
import { wait as C } from "./index130.js";
|
4
4
|
const w = ["alt", "sizes", "src", "srcset"], B = {
|
5
5
|
key: 1,
|
package/dist/index57.js
CHANGED
@@ -1,6 +1,6 @@
|
|
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 "./
|
3
|
-
import { isNil as B } from "./
|
2
|
+
import { isCssColor as r } from "./index243.js";
|
3
|
+
import { isNil as B } from "./index263.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
6
6
|
props: {
|
package/dist/index61.js
CHANGED
@@ -7,9 +7,9 @@ import p from "./index127.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import T from "./index129.js";
|
9
9
|
/* empty css */
|
10
|
-
import { pickBy as W } from "./
|
11
|
-
import { noop as w } from "./
|
12
|
-
import { useLocale as D } from "./
|
10
|
+
import { pickBy as W } from "./index265.js";
|
11
|
+
import { noop as w } from "./index266.js";
|
12
|
+
import { useLocale as D } from "./index223.js";
|
13
13
|
const E = {
|
14
14
|
key: 2,
|
15
15
|
class: "bb-button__loading-label sr-only"
|
package/dist/index75.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as X, computed as F, ref as y, openBlock as h, createElementBlock as D, mergeProps as A, createElementVNode as _, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as $, createVNode as B, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as j, toDisplayString as te } from "vue";
|
2
|
-
import { findRightIndex as H } from "./
|
2
|
+
import { findRightIndex as H } from "./index267.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index130.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 "./
|
9
|
-
import se from "./
|
8
|
+
import N from "./index268.js";
|
9
|
+
import se from "./index229.js";
|
10
10
|
/* empty css */
|
11
11
|
import V from "./index127.js";
|
12
12
|
/* empty css */
|
package/dist/index77.js
CHANGED
@@ -9,7 +9,7 @@ import S from "./index127.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import R from "./index129.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useLocale as T } from "./
|
12
|
+
import { useLocale as T } from "./index223.js";
|
13
13
|
const Z = { class: "bb-dropdown-button__content" }, q = {
|
14
14
|
key: 1,
|
15
15
|
class: "bb-dropdown-button__loading-label sr-only"
|
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 "./index270.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index128.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("./index269.js")).default);
|
57
57
|
const o = b.getType(r);
|
58
58
|
if (!o)
|
59
59
|
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 "./index247.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index84.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useFocusTrap as
|
3
|
-
import { useId as
|
4
|
-
import { wait as
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import
|
7
|
-
import { useMobile as
|
8
|
-
import { useLocale as
|
9
|
-
const
|
1
|
+
import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, nextTick as re, onBeforeUnmount as A, onMounted as ue, watch as ce, openBlock as g, createBlock as de, withCtx as fe, createElementVNode as s, mergeProps as E, createElementBlock as $, renderSlot as n, createTextVNode as ve, toDisplayString as H, unref as pe, createCommentVNode as T } from "vue";
|
2
|
+
import { useFocusTrap as be } from "./index226.js";
|
3
|
+
import { useId as I } from "./index8.js";
|
4
|
+
import { wait as D } from "./index130.js";
|
5
|
+
import { useModalsState as b } from "./index248.js";
|
6
|
+
import me from "./index249.js";
|
7
|
+
import { useMobile as ye } from "./index9.js";
|
8
|
+
import { useLocale as he } from "./index223.js";
|
9
|
+
const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
|
10
10
|
__name: "BbOffCanvas",
|
11
11
|
props: {
|
12
12
|
closeLabel: {},
|
@@ -28,79 +28,79 @@ const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"],
|
|
28
28
|
direction: { default: "left" }
|
29
29
|
},
|
30
30
|
emits: ["shown", "hidden", "update:modelValue"],
|
31
|
-
setup(
|
32
|
-
var
|
33
|
-
const e =
|
34
|
-
() => e.fullscreen === !0 || e.fullscreen === "mobile" &&
|
35
|
-
),
|
31
|
+
setup(W, { emit: F }) {
|
32
|
+
var O, S;
|
33
|
+
const e = W, c = F, { t: R } = he(), _ = `title_${I().id.value}`, k = `description_${I().id.value}`, { isMobile: K } = ye(), d = l(null), C = l(null), P = l(null), U = l(null), j = l(null), q = l(null), G = ne(), w = u(
|
34
|
+
() => e.fullscreen === !0 || e.fullscreen === "mobile" && K.value
|
35
|
+
), L = !!((S = (O = ie()) == null ? void 0 : O.proxy) != null && S.$nuxt), f = l(0), J = u(() => {
|
36
36
|
const { openedModals: t } = b();
|
37
37
|
return !t.value || t.value === f.value;
|
38
|
-
}), { activate:
|
38
|
+
}), { activate: Q, deactivate: X } = be(C, {
|
39
39
|
initialFocus: e.focusTarget ?? void 0,
|
40
40
|
clickOutsideDeactivates: (t) => t.target === d.value,
|
41
41
|
allowOutsideClick: !0,
|
42
42
|
/* On esc deactivate the trap, return focus and then close the modal */
|
43
|
-
escapeDeactivates: () => (
|
43
|
+
escapeDeactivates: () => (re(() => {
|
44
44
|
c("update:modelValue", !1);
|
45
45
|
}), !0)
|
46
|
-
}),
|
46
|
+
}), Y = u(() => e.closeLabel), B = l(!1), v = l(!1), m = l(!0), p = l(!1), i = l(e.eager || e.modelValue), x = l(null), Z = u(() => v.value || p.value), ee = () => {
|
47
47
|
if (!globalThis.document) return;
|
48
48
|
const t = window.innerWidth - document.documentElement.clientWidth;
|
49
49
|
document.body.style.overflow = "hidden", document.body.style.paddingRight = `${t}px`;
|
50
|
-
},
|
50
|
+
}, V = () => {
|
51
51
|
globalThis.document && (document.body.style.overflow = "auto", document.body.style.paddingRight = "0px");
|
52
52
|
};
|
53
|
-
|
53
|
+
A(() => {
|
54
54
|
if (e.modelValue) {
|
55
55
|
const { openedModals: t, modalHasClosed: o } = b();
|
56
|
-
t.value && (o(), f.value = 0,
|
56
|
+
t.value && (o(), f.value = 0, V());
|
57
57
|
}
|
58
|
-
}),
|
59
|
-
!e.modelValue && !i.value ||
|
60
|
-
}),
|
58
|
+
}), ue(() => {
|
59
|
+
!e.modelValue && !i.value || L && !globalThis.document || N();
|
60
|
+
}), A(() => {
|
61
61
|
if (e.modelValue) {
|
62
62
|
const { openedModals: t, modalHasClosed: o } = b();
|
63
|
-
t.value && (o(), f.value = 0,
|
63
|
+
t.value && (o(), f.value = 0, V());
|
64
64
|
}
|
65
|
-
}),
|
65
|
+
}), ce(
|
66
66
|
() => e.modelValue,
|
67
67
|
() => {
|
68
|
-
!e.modelValue && !i.value ||
|
68
|
+
!e.modelValue && !i.value || L && !globalThis.document || N();
|
69
69
|
},
|
70
70
|
{ flush: "post" }
|
71
71
|
);
|
72
|
-
const
|
72
|
+
const N = async () => {
|
73
73
|
if (e.modelValue) {
|
74
74
|
i.value || (i.value = !0), m.value = !1, p.value = !1, v.value = !0;
|
75
75
|
const { modalHasOpened: t, openedModals: o } = b();
|
76
|
-
t(), f.value = o.value,
|
76
|
+
t(), f.value = o.value, ee(), await D(e.transitionDuration), v.value = !1, B.value = !0, c("shown"), Q();
|
77
77
|
} else {
|
78
|
-
|
78
|
+
X(), v.value = !1, B.value = !1, p.value = !0;
|
79
79
|
const { modalHasClosed: t, openedModals: o } = b();
|
80
|
-
t(), f.value = 0, o.value ||
|
80
|
+
t(), f.value = 0, o.value || V(), await D(e.transitionDuration), p.value = !1, m.value = !0, c("hidden"), x.value instanceof HTMLElement && x.value.focus();
|
81
81
|
}
|
82
82
|
}, y = (t) => {
|
83
83
|
t.target === d.value && t.preventDefault();
|
84
|
-
},
|
85
|
-
e.disabled ||
|
86
|
-
},
|
84
|
+
}, z = l(!1), te = async (t) => {
|
85
|
+
e.disabled || Z.value || d.value && t.target === d.value && (e.persistent ? C.value && (z.value = !0, await D(100), z.value = !1) : c("update:modelValue", !1));
|
86
|
+
}, M = () => {
|
87
87
|
e.disabled || c("update:modelValue", !1);
|
88
|
-
},
|
88
|
+
}, oe = u(() => {
|
89
89
|
const t = [
|
90
90
|
{
|
91
91
|
"bb-offcanvas bb-offcanvas__overlay": !0,
|
92
|
-
"bb-offcanvas--fullscreen":
|
93
|
-
"bb-offcanvas--faded": !
|
94
|
-
"bb-offcanvas--open":
|
92
|
+
"bb-offcanvas--fullscreen": w.value,
|
93
|
+
"bb-offcanvas--faded": !J.value,
|
94
|
+
"bb-offcanvas--open": B.value,
|
95
95
|
"bb-offcanvas--opening": v.value,
|
96
96
|
"bb-offcanvas--closed": m.value,
|
97
97
|
"bb-offcanvas--closing": p.value,
|
98
|
-
|
98
|
+
"bb-offcanvas--attempted-closing": z.value,
|
99
99
|
[`bb-offcanvas--${e.direction}`]: !0
|
100
100
|
},
|
101
101
|
e.overlayClasses
|
102
102
|
].flat(), o = {
|
103
|
-
onClick:
|
103
|
+
onClick: te,
|
104
104
|
onScroll: y,
|
105
105
|
onTouchmove: y,
|
106
106
|
onWheel: y,
|
@@ -112,9 +112,9 @@ const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"],
|
|
112
112
|
class: t,
|
113
113
|
style: a,
|
114
114
|
...o,
|
115
|
-
...
|
115
|
+
...G
|
116
116
|
};
|
117
|
-
}),
|
117
|
+
}), le = u(() => {
|
118
118
|
const t = [
|
119
119
|
{
|
120
120
|
"bb-offcanvas__panel": !0,
|
@@ -132,43 +132,43 @@ const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"],
|
|
132
132
|
md: 652,
|
133
133
|
lg: 896
|
134
134
|
};
|
135
|
-
e.direction === "left" || e.direction === "right" ?
|
136
|
-
const
|
135
|
+
e.direction === "left" || e.direction === "right" ? w.value ? a = "100%" : typeof e.size == "number" ? a = e.size + "px" : e.size in h ? a = h[e.size] + "px" : a = e.size + "px" : w.value ? r = "100%" : typeof e.size == "number" ? r = e.size + "px" : e.size in h ? r = h[e.size] + "px" : Number.isNaN(Number(e.size)) ? e.size === "auto" && (r = "auto") : r = e.size + "px";
|
136
|
+
const se = {
|
137
137
|
maxWidth: a,
|
138
138
|
height: r,
|
139
139
|
transitionDuration: e.transitionDuration / 1e3 + "s"
|
140
140
|
};
|
141
141
|
return {
|
142
142
|
class: t,
|
143
|
-
style:
|
143
|
+
style: se,
|
144
144
|
...o
|
145
145
|
};
|
146
146
|
});
|
147
|
-
return (t, o) => (g(),
|
148
|
-
default:
|
149
|
-
s("div",
|
147
|
+
return (t, o) => (g(), de(me, null, {
|
148
|
+
default: fe(() => [
|
149
|
+
s("div", E(oe.value, {
|
150
150
|
ref_key: "overlay",
|
151
151
|
ref: d,
|
152
152
|
inert: m.value
|
153
153
|
}), [
|
154
|
-
s("div",
|
154
|
+
s("div", E(le.value, {
|
155
155
|
ref_key: "panel",
|
156
|
-
ref:
|
156
|
+
ref: C
|
157
157
|
}), [
|
158
|
-
i.value ? (g(),
|
158
|
+
i.value ? (g(), $("div", {
|
159
159
|
key: 0,
|
160
160
|
ref_key: "content",
|
161
|
-
ref:
|
161
|
+
ref: P,
|
162
162
|
class: "bb-offcanvas__content"
|
163
163
|
}, [
|
164
|
-
n(t.$slots, "content", { close:
|
164
|
+
n(t.$slots, "content", { close: M }, () => [
|
165
165
|
s("div", {
|
166
166
|
ref_key: "header",
|
167
|
-
ref:
|
167
|
+
ref: U,
|
168
168
|
class: "bb-offcanvas__header"
|
169
169
|
}, [
|
170
170
|
n(t.$slots, "header", {
|
171
|
-
close:
|
171
|
+
close: M,
|
172
172
|
title: t.title,
|
173
173
|
titleId: _
|
174
174
|
}, () => [
|
@@ -177,15 +177,15 @@ const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"],
|
|
177
177
|
class: "bb-offcanvas__title"
|
178
178
|
}, [
|
179
179
|
n(t.$slots, "title", { text: t.title }, () => [
|
180
|
-
|
180
|
+
ve(H(t.title), 1)
|
181
181
|
])
|
182
182
|
]),
|
183
|
-
s("span",
|
184
|
-
t.showClose ? (g(),
|
183
|
+
s("span", _e, [
|
184
|
+
t.showClose ? (g(), $("button", {
|
185
185
|
key: 0,
|
186
|
-
"aria-label":
|
186
|
+
"aria-label": Y.value || pe(R)("common.closeLabel").value,
|
187
187
|
type: "button",
|
188
|
-
onClick:
|
188
|
+
onClick: M
|
189
189
|
}, [
|
190
190
|
n(t.$slots, "close", {}, () => [
|
191
191
|
o[0] || (o[0] = s("span", { class: "bb-offcanvas-close__icon" }, [
|
@@ -204,44 +204,44 @@ const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"],
|
|
204
204
|
])
|
205
205
|
], -1))
|
206
206
|
])
|
207
|
-
], 8,
|
207
|
+
], 8, ke)) : T("", !0)
|
208
208
|
])
|
209
209
|
])
|
210
210
|
], 512),
|
211
211
|
s("div", {
|
212
212
|
ref_key: "body",
|
213
|
-
ref:
|
213
|
+
ref: j,
|
214
214
|
class: "bb-offcanvas__body scrollbar-border"
|
215
215
|
}, [
|
216
216
|
n(t.$slots, "description", {
|
217
217
|
descriptionId: k,
|
218
218
|
text: t.description
|
219
219
|
}, () => [
|
220
|
-
t.description ? (g(),
|
220
|
+
t.description ? (g(), $("div", {
|
221
221
|
key: 0,
|
222
222
|
id: k,
|
223
223
|
class: "bb-offcanvas__description sr-only"
|
224
|
-
},
|
224
|
+
}, H(t.description), 1)) : T("", !0)
|
225
225
|
]),
|
226
226
|
n(t.$slots, "default")
|
227
227
|
], 512),
|
228
228
|
o[1] || (o[1] = s("div", { style: { flex: "10000 10000 0%" } }, null, -1)),
|
229
229
|
s("div", {
|
230
230
|
ref_key: "footer",
|
231
|
-
ref:
|
231
|
+
ref: q,
|
232
232
|
class: "bb-offcanvas__footer"
|
233
233
|
}, [
|
234
234
|
n(t.$slots, "footer")
|
235
235
|
], 512)
|
236
236
|
])
|
237
|
-
], 512)) :
|
237
|
+
], 512)) : T("", !0)
|
238
238
|
], 16)
|
239
|
-
], 16,
|
239
|
+
], 16, ge)
|
240
240
|
]),
|
241
241
|
_: 3
|
242
242
|
}));
|
243
243
|
}
|
244
244
|
});
|
245
245
|
export {
|
246
|
-
|
246
|
+
De as default
|
247
247
|
};
|
package/dist/index86.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
|
2
|
-
import { debounce as T } from "./
|
2
|
+
import { debounce as T } from "./index271.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import z from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { useLocale as D } from "./
|
7
|
+
import { useLocale as D } from "./index223.js";
|
8
8
|
const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
|
9
9
|
__name: "BbPagination",
|
10
10
|
props: {
|
package/dist/index88.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
|
2
|
-
import { useFocusTrap as j } from "./
|
2
|
+
import { useFocusTrap as j } from "./index226.js";
|
3
3
|
import { useId as G } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as J } from "./index132.js";
|
5
|
-
import { waitFor as K } from "./
|
5
|
+
import { waitFor as K } from "./index228.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import U from "./
|
8
|
+
import U from "./index229.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useLocale as X } from "./
|
11
|
-
import { useDebounceFn as Y } from "./
|
10
|
+
import { useLocale as X } from "./index223.js";
|
11
|
+
import { useDebounceFn as Y } from "./index207.js";
|
12
12
|
const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
|
13
13
|
__name: "BbPopover",
|
14
14
|
props: {
|