bitboss-ui 2.1.25 → 2.1.26
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/BaseDialog/BaseDialog.vue.d.ts +2 -7
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -7
- 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 +11 -11
- package/dist/index13.js +1 -1
- package/dist/index131.js +4 -4
- package/dist/index133.js +1 -1
- package/dist/index137.js +2 -2
- package/dist/index138.js +1 -1
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +2 -138
- package/dist/index207.js +138 -2
- package/dist/index209.js +10 -34
- package/dist/index21.js +16 -16
- package/dist/index210.js +3 -86
- package/dist/index211.js +15 -0
- package/dist/index212.js +13 -29
- package/dist/index213.js +69 -17
- package/dist/index215.js +34 -15
- package/dist/index216.js +5 -3
- package/dist/index217.js +5 -12
- package/dist/index218.js +5 -16
- package/dist/index219.js +5 -5
- package/dist/index220.js +4 -4
- package/dist/index221.js +5 -5
- package/dist/index222.js +5 -5
- package/dist/index223.js +3 -5
- package/dist/index224.js +2 -5
- package/dist/index225.js +8 -2
- package/dist/index226.js +250 -2
- package/dist/index227.js +52 -2
- package/dist/index228.js +43 -12
- package/dist/index229.js +5 -11
- package/dist/index23.js +15 -15
- package/dist/index230.js +58 -18
- package/dist/index231.js +12 -68
- package/dist/index232.js +13 -0
- package/dist/index233.js +2 -13
- package/dist/index234.js +8 -113
- package/dist/index235.js +116 -0
- package/dist/index237.js +23 -18
- package/dist/index238.js +182 -11
- package/dist/index239.js +3 -6
- package/dist/index240.js +5 -4
- package/dist/index241.js +2 -106
- package/dist/index242.js +4 -0
- package/dist/index243.js +19 -99
- package/dist/index244.js +4 -0
- package/dist/index245.js +4 -229
- package/dist/index246.js +86 -3
- package/dist/index248.js +29 -2
- package/dist/index249.js +17 -4
- package/dist/index25.js +59 -57
- package/dist/index250.js +49 -195
- package/dist/index251.js +17 -0
- package/dist/index252.js +12 -5
- package/dist/index253.js +16 -5
- package/dist/index254.js +104 -6
- package/dist/index256.js +95 -47
- package/dist/index258.js +6 -5
- package/dist/index259.js +15 -59
- package/dist/index260.js +8 -182
- package/dist/index261.js +2 -2
- package/dist/index262.js +18 -2
- package/dist/index263.js +11 -6
- package/dist/index264.js +6 -7
- package/dist/index265.js +229 -6
- package/dist/index266.js +2 -16
- package/dist/index267.js +6 -9
- package/dist/index268.js +7 -3
- package/dist/index269.js +4 -9
- package/dist/index27.js +1 -1
- package/dist/index270.js +196 -7
- package/dist/index272.js +3 -9
- package/dist/index273.js +5 -9
- package/dist/index274.js +9 -23
- package/dist/index275.js +8 -2
- package/dist/index276.js +2 -5
- package/dist/index277.js +1 -1
- package/dist/index278.js +1 -1
- package/dist/index279.js +1 -1
- package/dist/index280.js +7 -2
- package/dist/index281.js +11 -3
- package/dist/index283.js +7 -28
- package/dist/index284.js +3 -280
- package/dist/index285.js +2 -2
- package/dist/index286.js +3 -124
- package/dist/index287.js +280 -2
- package/dist/index288.js +2 -15
- package/dist/index289.js +16 -2
- package/dist/index29.js +3 -3
- package/dist/index290.js +2 -16
- package/dist/index291.js +16 -2
- package/dist/index292.js +2 -16
- package/dist/index293.js +19 -2
- package/dist/index294.js +2 -19
- package/dist/index295.js +15 -2
- package/dist/index296.js +2 -3
- package/dist/index297.js +21 -0
- package/dist/index298.js +2 -7
- package/dist/index299.js +27 -3
- package/dist/index300.js +2 -7
- package/dist/index301.js +2 -11
- package/dist/index302.js +2 -4
- package/dist/index303.js +2 -6
- package/dist/index304.js +2 -3
- package/dist/index305.js +28 -3
- package/dist/index306.js +21 -1
- package/dist/index308.js +3 -5
- package/dist/index309.js +6 -3
- package/dist/index31.js +2 -2
- package/dist/index310.js +5 -19
- package/dist/index311.js +125 -2
- package/dist/index312.js +2 -27
- package/dist/index313.js +4 -2
- package/dist/index314.js +3 -2
- package/dist/index315.js +17 -2
- package/dist/index316.js +3 -2
- package/dist/index317.js +3 -2
- package/dist/index318.js +718 -22
- package/dist/index319.js +368 -0
- package/dist/index320.js +58 -718
- package/dist/index321.js +2 -366
- package/dist/index322.js +5 -58
- package/dist/index323.js +3 -5
- package/dist/index324.js +33 -2
- package/dist/index325.js +27 -128
- package/dist/index327.js +2 -58
- package/dist/index328.js +7 -58
- package/dist/index329.js +6 -227
- package/dist/index33.js +8 -8
- package/dist/index330.js +18 -32
- package/dist/index331.js +57 -27
- package/dist/index332.js +60 -0
- package/dist/index333.js +126 -44
- package/dist/index334.js +368 -6
- package/dist/index335.js +45 -17
- package/dist/index336.js +227 -6
- package/dist/index337.js +92 -7
- package/dist/index338.js +7 -5
- package/dist/index339.js +6 -8
- package/dist/index340.js +7 -92
- package/dist/index342.js +1 -1
- package/dist/index35.js +4 -4
- package/dist/index37.js +20 -20
- package/dist/index39.js +6 -6
- 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/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 +59 -57
- package/dist/index92.js +2 -2
- package/dist/index94.js +3 -3
- package/package.json +1 -1
- package/dist/index214.js +0 -53
- package/dist/index236.js +0 -15
- package/dist/index247.js +0 -4
- package/dist/index255.js +0 -252
- package/dist/index257.js +0 -46
- package/dist/index271.js +0 -5
- package/dist/index282.js +0 -19
- package/dist/index307.js +0 -6
- package/dist/index326.js +0 -371
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
2
|
+
import { isCssColor as y } from "./index233.js";
|
3
3
|
import { wait as C } from "./index135.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 s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
|
2
|
-
import { isCssColor as l } from "./
|
3
|
-
import { isNil as B } from "./
|
2
|
+
import { isCssColor as l } from "./index233.js";
|
3
|
+
import { isNil as B } from "./index244.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
6
6
|
props: {
|
package/dist/index61.js
CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import T from "./index113.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 "./index209.js";
|
11
|
+
import { noop as w } from "./index210.js";
|
12
|
+
import { useLocale as D } from "./index211.js";
|
13
13
|
const E = {
|
14
14
|
key: 2,
|
15
15
|
class: "bb-button__loading-label sr-only"
|
package/dist/index67.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
|
2
|
-
import { useLocale as f } from "./
|
2
|
+
import { useLocale as f } from "./index211.js";
|
3
3
|
const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
|
4
4
|
__name: "BbChip",
|
5
5
|
props: {
|
package/dist/index79.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as N, computed as R, ref as E, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as D, 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 T } from "./
|
2
|
+
import { findRightIndex as T } from "./index234.js";
|
3
3
|
import { useId as te } from "./index8.js";
|
4
|
-
import { useUntil as ne } from "./
|
4
|
+
import { useUntil as ne } from "./index232.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 "./index235.js";
|
11
11
|
/* empty css */
|
12
|
-
import K from "./
|
12
|
+
import K from "./index237.js";
|
13
13
|
const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__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 "./index211.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 "./index259.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("./index258.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 "./index233.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 "./index272.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index90.js
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { parseSize as
|
3
|
-
import { useId as
|
4
|
-
import { useLocale as
|
5
|
-
import { useMobile as
|
6
|
-
import { useUntil as
|
1
|
+
import { defineComponent as P, mergeModels as T, useModel as q, computed as v, ref as z, watch as A, onMounted as H, createElementBlock as r, openBlock as d, withModifiers as K, normalizeStyle as R, normalizeClass as U, unref as p, createCommentVNode as y, Fragment as j, createElementVNode as t, renderSlot as l, createTextVNode as G, toDisplayString as D, nextTick as J } from "vue";
|
2
|
+
import { parseSize as Q } from "./index231.js";
|
3
|
+
import { useId as S } from "./index8.js";
|
4
|
+
import { useLocale as X } from "./index211.js";
|
5
|
+
import { useMobile as Y } from "./index9.js";
|
6
|
+
import { useUntil as Z } from "./index232.js";
|
7
7
|
import { wait as h } from "./index135.js";
|
8
|
-
const
|
8
|
+
const x = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], ee = {
|
9
9
|
ref: "header",
|
10
10
|
class: "bb-offcanvas__header"
|
11
|
-
},
|
11
|
+
}, oe = { class: "bb-offcanvas__close" }, te = ["aria-label", "disabled"], se = {
|
12
12
|
ref: "body",
|
13
13
|
class: "bb-offcanvas__body scrollbar-border"
|
14
|
-
},
|
14
|
+
}, le = { class: "bb-offcanvas__body-content" }, ae = {
|
15
15
|
ref: "footer",
|
16
16
|
class: "bb-offcanvas__footer"
|
17
|
-
},
|
17
|
+
}, be = /* @__PURE__ */ P({
|
18
18
|
__name: "BbOffCanvas",
|
19
|
-
props: /* @__PURE__ */
|
19
|
+
props: /* @__PURE__ */ T({
|
20
20
|
closeLabel: {},
|
21
21
|
compact: { type: Boolean },
|
22
22
|
disabled: { type: Boolean },
|
@@ -36,59 +36,61 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
|
36
36
|
modelValue: { type: Boolean, default: !1 },
|
37
37
|
modelModifiers: {}
|
38
38
|
}),
|
39
|
-
emits: /* @__PURE__ */
|
40
|
-
setup(g, { emit:
|
41
|
-
const o = g, w =
|
42
|
-
() => o.closeLabel ||
|
43
|
-
), i =
|
39
|
+
emits: /* @__PURE__ */ T(["shown", "hidden"], ["update:modelValue"]),
|
40
|
+
setup(g, { emit: V }) {
|
41
|
+
const o = g, w = V, s = q(g, "modelValue"), { t: I } = X(), N = v(
|
42
|
+
() => o.closeLabel || I("dialog.closeLabel").value
|
43
|
+
), i = z(null), c = Z(
|
44
44
|
() => s.value || o.eager,
|
45
45
|
{
|
46
46
|
initialValue: s.value || o.eager
|
47
47
|
}
|
48
|
-
),
|
48
|
+
), u = `title_${S().id.value}`, f = `description_${S().id.value}`, _ = (e) => {
|
49
49
|
if (e.key === "Escape" && (o.disabled || o.persistent))
|
50
50
|
return e.preventDefault(), a.value = !0, h(200).then(() => {
|
51
51
|
a.value = !1;
|
52
52
|
}), !1;
|
53
53
|
}, C = async (e) => {
|
54
|
-
var n,
|
54
|
+
var n, L, M, $;
|
55
55
|
e ? ((n = window.globalThis) != null && n.document && !document.documentElement.style.getPropertyValue("--scrollbar-width") && (document.documentElement.style.setProperty(
|
56
56
|
"--scrollbar-width",
|
57
|
-
`${
|
58
|
-
), document.addEventListener("keydown", _)), (
|
59
|
-
var
|
60
|
-
const m = (
|
57
|
+
`${F()}px`
|
58
|
+
), document.addEventListener("keydown", _)), (L = i.value) == null || L.showModal(), o.focusTarget && J(() => {
|
59
|
+
var E;
|
60
|
+
const m = (E = i.value) == null ? void 0 : E.querySelector(o.focusTarget);
|
61
61
|
m && m instanceof HTMLElement && m.focus();
|
62
|
-
}), w("shown")) : (await h(o.transitionDuration), (
|
62
|
+
}), w("shown")) : (await h(o.transitionDuration), (M = window.globalThis) != null && M.document && document.removeEventListener("keydown", _), ($ = i.value) == null || $.close(), w("hidden"));
|
63
63
|
};
|
64
|
-
|
64
|
+
A(s, C), H(() => {
|
65
65
|
s.value && C(!0);
|
66
66
|
});
|
67
|
-
const
|
67
|
+
const W = v(() => B.value ? "100%" : o.size === "auto" ? "fit-content" : Q(o.size, {
|
68
68
|
sm: 384,
|
69
69
|
md: 652,
|
70
70
|
lg: 896
|
71
|
-
})),
|
71
|
+
})), k = (e) => {
|
72
72
|
if (e.preventDefault(), o.disabled || o.persistent)
|
73
73
|
return a.value = !0, h(300).then(() => {
|
74
74
|
a.value = !1;
|
75
75
|
}), !1;
|
76
|
+
b();
|
77
|
+
}, b = () => {
|
76
78
|
s.value = !1;
|
77
|
-
}, a =
|
78
|
-
() => o.fullscreen === !0 || o.fullscreen === "mobile" &&
|
79
|
+
}, a = z(!1), F = () => globalThis.document ? window.innerWidth - document.documentElement.clientWidth : 0, { isMobile: O } = Y(), B = v(
|
80
|
+
() => o.fullscreen === !0 || o.fullscreen === "mobile" && O.value
|
79
81
|
);
|
80
|
-
return (e, n) => (
|
82
|
+
return (e, n) => (d(), r("dialog", {
|
81
83
|
ref_key: "dialog",
|
82
84
|
ref: i,
|
83
|
-
"aria-describedby": p(
|
84
|
-
"aria-labelledby": p(
|
85
|
+
"aria-describedby": p(c) && e.description ? f : void 0,
|
86
|
+
"aria-labelledby": p(c) && e.title ? u : void 0,
|
85
87
|
"aria-live": s.value ? "polite" : "off",
|
86
|
-
class:
|
88
|
+
class: U([
|
87
89
|
"bb-offcanvas",
|
88
90
|
[
|
89
91
|
{
|
90
92
|
"bb-offcanvas--open": s.value,
|
91
|
-
"bb-offcanvas--fullscreen":
|
93
|
+
"bb-offcanvas--fullscreen": B.value,
|
92
94
|
"bb-offcanvas--compact": e.compact,
|
93
95
|
"bb-offcanvas--deny-close": a.value,
|
94
96
|
[`bb-offcanvas--${o.direction}`]: !0
|
@@ -98,35 +100,35 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
|
98
100
|
].flat()
|
99
101
|
]),
|
100
102
|
inert: !s.value,
|
101
|
-
style:
|
102
|
-
"--max-size":
|
103
|
+
style: R({
|
104
|
+
"--max-size": W.value,
|
103
105
|
"--transition-duration": `${o.transitionDuration}ms`
|
104
106
|
}),
|
105
|
-
onCancel:
|
106
|
-
onClick:
|
107
|
+
onCancel: k,
|
108
|
+
onClick: K(k, ["self"])
|
107
109
|
}, [
|
108
|
-
p(
|
109
|
-
t("div",
|
110
|
+
p(c) ? (d(), r(j, { key: 0 }, [
|
111
|
+
t("div", ee, [
|
110
112
|
l(e.$slots, "header", {
|
111
|
-
close:
|
113
|
+
close: b,
|
112
114
|
title: e.title,
|
113
|
-
titleId:
|
115
|
+
titleId: u
|
114
116
|
}, () => [
|
115
117
|
t("span", {
|
116
|
-
id:
|
118
|
+
id: u,
|
117
119
|
class: "bb-offcanvas__title"
|
118
120
|
}, [
|
119
121
|
l(e.$slots, "title", { text: e.title }, () => [
|
120
|
-
|
122
|
+
G(D(e.title), 1)
|
121
123
|
])
|
122
124
|
]),
|
123
|
-
t("span",
|
124
|
-
e.showClose ? (
|
125
|
+
t("span", oe, [
|
126
|
+
e.showClose ? (d(), r("button", {
|
125
127
|
key: 0,
|
126
|
-
"aria-label":
|
128
|
+
"aria-label": N.value,
|
127
129
|
disabled: o.disabled,
|
128
130
|
type: "button",
|
129
|
-
onClick:
|
131
|
+
onClick: b
|
130
132
|
}, [
|
131
133
|
l(e.$slots, "close", {}, () => [
|
132
134
|
n[0] || (n[0] = t("span", { class: "bb-offcanvas__close-icon" }, [
|
@@ -145,32 +147,32 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
|
|
145
147
|
])
|
146
148
|
], -1))
|
147
149
|
])
|
148
|
-
], 8,
|
150
|
+
], 8, te)) : y("", !0)
|
149
151
|
])
|
150
152
|
])
|
151
153
|
], 512),
|
152
|
-
t("div",
|
153
|
-
t("div",
|
154
|
+
t("div", se, [
|
155
|
+
t("div", le, [
|
154
156
|
l(e.$slots, "description", {
|
155
|
-
descriptionId:
|
157
|
+
descriptionId: f,
|
156
158
|
text: e.description
|
157
159
|
}, () => [
|
158
|
-
e.description ? (
|
160
|
+
e.description ? (d(), r("div", {
|
159
161
|
key: 0,
|
160
|
-
id:
|
162
|
+
id: f,
|
161
163
|
class: "bb-offcanvas__description sr-only"
|
162
|
-
},
|
164
|
+
}, D(e.description), 1)) : y("", !0)
|
163
165
|
]),
|
164
166
|
l(e.$slots, "default")
|
165
167
|
])
|
166
168
|
], 512),
|
167
|
-
t("div",
|
169
|
+
t("div", ae, [
|
168
170
|
l(e.$slots, "footer")
|
169
171
|
], 512)
|
170
172
|
], 64)) : y("", !0)
|
171
|
-
], 46,
|
173
|
+
], 46, x));
|
172
174
|
}
|
173
175
|
});
|
174
176
|
export {
|
175
|
-
|
177
|
+
be as default
|
176
178
|
};
|
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 "./index260.js";
|
7
|
+
import { useLocale as H } from "./index211.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 l, 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 "./index211.js";
|
5
|
+
import { useUntil as W } from "./index232.js";
|
6
6
|
import q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import A from "./
|
8
|
+
import A from "./index235.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",
|
package/package.json
CHANGED
package/dist/index214.js
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
import { computed as l, unref as o } from "vue";
|
2
|
-
import { useItemText as x } from "./index282.js";
|
3
|
-
import { useItemValue as w } from "./index269.js";
|
4
|
-
import { hash as y } from "./index216.js";
|
5
|
-
import { useLogger as D } from "./index254.js";
|
6
|
-
const { getItemText: O } = x(), { getItemValue: V } = w(), { warn: H } = D(), T = (u, c, m, a, d, r) => r ? !1 : !!(c || u.disabled || a && d >= a), q = ({
|
7
|
-
items: u,
|
8
|
-
disabled: c,
|
9
|
-
selectable: m,
|
10
|
-
itemText: a,
|
11
|
-
itemValue: d,
|
12
|
-
selectedIndexedByHash: r,
|
13
|
-
max: b = 1 / 0
|
14
|
-
}) => {
|
15
|
-
const v = l(() => o(c)), p = l(() => o(u)), h = l(
|
16
|
-
() => Object.keys(r.value).length
|
17
|
-
), g = o(b), f = (e) => {
|
18
|
-
const n = V(e, o(d)), t = y(n), i = O(e, o(a)), s = r.value[t] !== void 0, I = T(
|
19
|
-
e,
|
20
|
-
v.value,
|
21
|
-
m,
|
22
|
-
g,
|
23
|
-
h.value,
|
24
|
-
s
|
25
|
-
);
|
26
|
-
return {
|
27
|
-
item: e,
|
28
|
-
text: i,
|
29
|
-
value: n,
|
30
|
-
valueHash: t,
|
31
|
-
selected: s,
|
32
|
-
disabled: o(I)
|
33
|
-
};
|
34
|
-
};
|
35
|
-
return {
|
36
|
-
options: l(() => {
|
37
|
-
const e = [], n = /* @__PURE__ */ new Set();
|
38
|
-
for (let t = 0; t < p.value.length; t++) {
|
39
|
-
const i = p.value[t];
|
40
|
-
i.disabled && H(
|
41
|
-
"Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
|
42
|
-
);
|
43
|
-
const s = f(i);
|
44
|
-
n.has(s.valueHash) || (n.add(s.valueHash), e.push(s));
|
45
|
-
}
|
46
|
-
return e;
|
47
|
-
}),
|
48
|
-
createOption: f
|
49
|
-
};
|
50
|
-
};
|
51
|
-
export {
|
52
|
-
q as useBaseOptions
|
53
|
-
};
|
package/dist/index236.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
const c = (t, r) => {
|
2
|
-
if (typeof t == "string") {
|
3
|
-
const e = /^(\d+)([a-zA-Z%]+)?$/, n = t.match(e);
|
4
|
-
if (n) {
|
5
|
-
const [, o, a] = n;
|
6
|
-
return a ? t : o + "px";
|
7
|
-
} else if (t in r)
|
8
|
-
return r[t] + "px";
|
9
|
-
throw new Error(`Invalid size: ${t}`);
|
10
|
-
}
|
11
|
-
return t + "px";
|
12
|
-
};
|
13
|
-
export {
|
14
|
-
c as parseSize
|
15
|
-
};
|
package/dist/index247.js
DELETED