bitboss-ui 2.0.164 → 2.0.165
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 +8 -8
- package/dist/index111.js +11 -11
- package/dist/index119.js +2 -2
- package/dist/index121.js +4 -4
- 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 +1 -1
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +1 -1
- package/dist/index134.js +2 -2
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +115 -2
- package/dist/index207.js +2 -4
- package/dist/index208.js +3 -40
- package/dist/index209.js +41 -20
- package/dist/index21.js +16 -16
- package/dist/index210.js +19 -93
- package/dist/index211.js +96 -0
- package/dist/{index212.js → index213.js} +4 -4
- package/dist/{index214.js → index215.js} +2 -2
- package/dist/index217.js +13 -13
- package/dist/index218.js +13 -3
- package/dist/index219.js +5 -6
- package/dist/index220.js +16 -7
- package/dist/index221.js +16 -15
- package/dist/index222.js +19 -86
- package/dist/index223.js +17 -0
- package/dist/index224.js +19 -29
- package/dist/index225.js +26 -16
- package/dist/index226.js +3 -51
- package/dist/index227.js +2 -15
- package/dist/index228.js +8 -3
- package/dist/index229.js +250 -12
- package/dist/index23.js +17 -17
- package/dist/index230.js +52 -16
- package/dist/index231.js +44 -2
- package/dist/index232.js +5 -4
- package/dist/index233.js +60 -2
- package/dist/index234.js +3 -5
- package/dist/index235.js +86 -16
- package/dist/index237.js +28 -18
- package/dist/index238.js +16 -14
- package/dist/index239.js +50 -18
- package/dist/index240.js +15 -27
- package/dist/index241.js +12 -2
- package/dist/index242.js +16 -8
- package/dist/index243.js +120 -245
- package/dist/index244.js +2 -52
- package/dist/index245.js +5 -43
- package/dist/index246.js +2 -5
- package/dist/index247.js +9 -60
- package/dist/index248.js +2 -34
- package/dist/index249.js +4 -2
- package/dist/index25.js +5 -5
- package/dist/index250.js +2 -125
- package/dist/index251.js +7 -2
- package/dist/index252.js +15 -2
- package/dist/index253.js +34 -9
- package/dist/index254.js +2 -115
- package/dist/index258.js +2 -2
- package/dist/index259.js +1 -1
- package/dist/index261.js +1 -1
- package/dist/index264.js +2 -2
- package/dist/index265.js +3 -3
- package/dist/index269.js +9 -6
- package/dist/index27.js +1 -1
- package/dist/index270.js +23 -16
- package/dist/index271.js +3 -9
- package/dist/index272.js +6 -23
- package/dist/index273.js +16 -3
- package/dist/index274.js +280 -223
- package/dist/index275.js +5 -430
- package/dist/index276.js +2 -3
- package/dist/index277.js +2 -3
- package/dist/index278.js +2 -3
- package/dist/index280.js +2 -7
- package/dist/index281.js +2 -7
- package/dist/index282.js +2 -11
- package/dist/index283.js +1 -1
- package/dist/index284.js +2 -200
- package/dist/index285.js +2 -3
- package/dist/index286.js +2 -17
- package/dist/index287.js +27 -8
- package/dist/index288.js +21 -27
- package/dist/index29.js +3 -3
- package/dist/index290.js +7 -281
- package/dist/index291.js +7 -6
- package/dist/index292.js +11 -2
- package/dist/index293.js +431 -2
- package/dist/index294.js +3 -2
- package/dist/index295.js +3 -2
- package/dist/index296.js +3 -2
- package/dist/index298.js +224 -2
- package/dist/index299.js +3 -2
- package/dist/index300.js +17 -2
- package/dist/index301.js +9 -2
- package/dist/index302.js +200 -2
- package/dist/index303.js +2 -22
- package/dist/index305.js +1 -1
- package/dist/index306.js +2 -8
- package/dist/index307.js +8 -5
- package/dist/index308.js +126 -2
- package/dist/index309.js +2 -66
- package/dist/index31.js +2 -2
- package/dist/index310.js +3 -2
- package/dist/index311.js +2 -126
- package/dist/index312.js +436 -3
- package/dist/index313.js +127 -3
- package/dist/index314.js +2 -2
- package/dist/index315.js +65 -434
- package/dist/index316.js +5 -127
- package/dist/index317.js +89 -3
- package/dist/index318.js +3 -3
- package/dist/index319.js +3 -58
- package/dist/index320.js +55 -86
- package/dist/index321.js +32 -7
- package/dist/index322.js +28 -6
- package/dist/index324.js +1 -1
- package/dist/index325.js +6 -4
- package/dist/index326.js +6 -7
- package/dist/index327.js +18 -32
- package/dist/index328.js +8 -28
- package/dist/index329.js +8 -0
- package/dist/index33.js +8 -8
- package/dist/index330.js +7 -57
- package/dist/index331.js +33 -33
- package/dist/index332.js +58 -4
- package/dist/index333.js +4 -6
- package/dist/index334.js +7 -6
- package/dist/index335.js +3 -18
- package/dist/index337.js +1 -1
- package/dist/index339.js +1 -1
- package/dist/index35.js +4 -4
- package/dist/index37.js +15 -15
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index61.js +1 -1
- package/dist/index75.js +3 -3
- package/dist/index77.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +93 -90
- package/dist/index88.js +5 -5
- package/dist/index90.js +1 -1
- package/package.json +1 -1
- package/dist/index216.js +0 -15
- package/dist/index236.js +0 -18
- package/dist/index323.js +0 -10
- /package/dist/{index297.js → index279.js} +0 -0
- /package/dist/{index289.js → index304.js} +0 -0
package/dist/index43.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as j, ref as k, toRef as d, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
|
2
2
|
import K from "./index41.js";
|
3
3
|
/* empty css */
|
4
|
-
import N from "./
|
4
|
+
import N from "./index235.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as U } from "./
|
7
|
-
import { useIndexById as T } from "./
|
8
|
-
import { useBaseOptions as q } from "./
|
9
|
-
import { useCoherence as J } from "./
|
10
|
-
import { hash as Q } from "./
|
11
|
-
import { useHashedWatcher as $ } from "./
|
12
|
-
import { usePrefill as X } from "./
|
6
|
+
import { useItemsGetter as U } from "./index237.js";
|
7
|
+
import { useIndexById as T } from "./index238.js";
|
8
|
+
import { useBaseOptions as q } from "./index239.js";
|
9
|
+
import { useCoherence as J } from "./index240.js";
|
10
|
+
import { hash as Q } from "./index226.js";
|
11
|
+
import { useHashedWatcher as $ } from "./index241.js";
|
12
|
+
import { usePrefill as X } from "./index242.js";
|
13
13
|
const ue = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseSwitchGroup",
|
15
15
|
props: {
|
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 "./
|
6
|
+
import { last as le } from "./index227.js";
|
7
|
+
import { useBaseOptions as ne } from "./index239.js";
|
8
|
+
import { useIndexById as re } from "./index238.js";
|
9
9
|
import ie from "./index259.js";
|
10
10
|
/* empty css */
|
11
11
|
import ue from "./index261.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index215.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
15
|
+
import de from "./index217.js";
|
16
|
+
import { isEmpty as pe } from "./index246.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,6 +1,6 @@
|
|
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 "./index217.js";
|
3
|
+
import G from "./index215.js";
|
4
4
|
/* empty css */
|
5
5
|
import M from "./index128.js";
|
6
6
|
/* empty css */
|
package/dist/index49.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as h, ref as V, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, openBlock as i, createElementBlock as r, Fragment as w, createVNode as m, normalizeClass as $, withCtx as n, renderSlot as d, unref as C, mergeProps as b, createElementVNode as q } from "vue";
|
2
|
-
import E from "./
|
2
|
+
import E from "./index215.js";
|
3
3
|
/* empty css */
|
4
|
-
import I from "./
|
4
|
+
import I from "./index217.js";
|
5
5
|
import { isNotNil as N } from "./index135.js";
|
6
6
|
import { MaskInput as z } from "./index266.js";
|
7
7
|
const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], L = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ h({
|
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 "./index248.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,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 "./index248.js";
|
3
3
|
import { isNil as B } from "./index256.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
package/dist/index61.js
CHANGED
@@ -9,7 +9,7 @@ import T from "./index129.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import { pickBy as W } from "./index267.js";
|
11
11
|
import { noop as w } from "./index268.js";
|
12
|
-
import { useLocale as D } from "./
|
12
|
+
import { useLocale as D } from "./index218.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 "./index269.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 "./index270.js";
|
9
|
+
import se from "./index211.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 "./index218.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 "./index273.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("./index272.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 "./index271.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index84.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
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 "./
|
2
|
+
import { useFocusTrap as be } from "./index209.js";
|
3
3
|
import { useId as I } from "./index8.js";
|
4
4
|
import { wait as D } from "./index130.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import me from "./
|
5
|
+
import { useModalsState as b } from "./index251.js";
|
6
|
+
import me from "./index252.js";
|
7
7
|
import { useMobile as ye } from "./index9.js";
|
8
|
-
import { useLocale as he } from "./
|
8
|
+
import { useLocale as he } from "./index218.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/index86.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as V, mergeModels as W, useModel as U, computed as d, ref as f, onMounted as F, onBeforeUnmount as D, openBlock as S, createElementBlock as w, normalizeClass as G, createElementVNode as r, createVNode as q, unref as y, normalizeProps as B, guardReactiveProps as A, withCtx as x, renderSlot as m, toDisplayString as _, Fragment as I, renderList as O, mergeProps as j, nextTick as C } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
/* empty css */
|
4
|
-
import
|
4
|
+
import P from "./index13.js";
|
5
5
|
/* empty css */
|
6
|
-
import { debounce as
|
7
|
-
import { useLocale as
|
8
|
-
import { useRoute as
|
9
|
-
const
|
6
|
+
import { debounce as X } from "./index247.js";
|
7
|
+
import { useLocale as H } from "./index218.js";
|
8
|
+
import { useRoute as J } from "./index137.js";
|
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",
|
11
|
-
props: /* @__PURE__ */
|
11
|
+
props: /* @__PURE__ */ W({
|
12
12
|
disabled: { type: Boolean },
|
13
13
|
loading: { type: Boolean },
|
14
14
|
align: { default: "right" },
|
@@ -24,60 +24,59 @@ const ee = ["aria-label"], ae = { class: "bb-pagination__page-label sr-only" },
|
|
24
24
|
modelModifiers: {}
|
25
25
|
}),
|
26
26
|
emits: ["update:modelValue"],
|
27
|
-
setup(
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
c.value.clientWidth - b.value.clientWidth > B.value && (s.value = Math.min(s.value + 1, +a.maxSize), N(S)));
|
27
|
+
setup(M) {
|
28
|
+
const a = M, { t: z } = H(), n = U(M, "modelValue"), p = J(), u = d(() => +a.totalPages), c = f(1), s = f(+a.maxSize), v = f(), g = f(), L = f(1 / 0), k = () => {
|
29
|
+
v.value && g.value && (v.value.clientWidth < g.value.clientWidth ? s.value - 1 > 3 ? (s.value--, C(k)) : s.value = 3 : s.value < +a.maxSize && /* If there is enough space to fit one */
|
30
|
+
v.value.clientWidth - g.value.clientWidth > L.value && (s.value = Math.min(s.value + 1, +a.maxSize), C(k)));
|
32
31
|
};
|
33
32
|
if (globalThis.ResizeObserver) {
|
34
|
-
const e = new ResizeObserver(
|
35
|
-
|
36
|
-
if (
|
37
|
-
const l =
|
33
|
+
const e = new ResizeObserver(X(k, 200));
|
34
|
+
F(() => {
|
35
|
+
if (v.value && g.value) {
|
36
|
+
const l = v.value.querySelectorAll(
|
38
37
|
".bb-pagination__page"
|
39
38
|
)[1];
|
40
39
|
if (l) {
|
41
|
-
const o = getComputedStyle(
|
42
|
-
|
40
|
+
const o = getComputedStyle(g.value).columnGap.replaceAll(/\D/g, ""), i = Number(o);
|
41
|
+
L.value = l.clientWidth + i;
|
43
42
|
}
|
44
|
-
e.observe(
|
43
|
+
e.observe(v.value);
|
45
44
|
}
|
46
|
-
}),
|
45
|
+
}), D(() => {
|
47
46
|
e.disconnect();
|
48
47
|
});
|
49
48
|
}
|
50
|
-
const
|
51
|
-
if (
|
49
|
+
const R = d(() => {
|
50
|
+
if (u.value <= 0 || isNaN(u.value) || u.value > Number.MAX_SAFE_INTEGER)
|
52
51
|
return [];
|
53
52
|
if (s.value <= 1) return [n.value];
|
54
|
-
if (
|
55
|
-
return
|
56
|
-
const e = s.value % 2 === 0, l = e ? s.value / 2 : Math.floor(s.value / 2), t = e ? l : l + 1, o =
|
53
|
+
if (u.value <= s.value)
|
54
|
+
return h(u.value, c.value);
|
55
|
+
const e = s.value % 2 === 0, l = e ? s.value / 2 : Math.floor(s.value / 2), t = e ? l : l + 1, o = u.value - l;
|
57
56
|
if (t - n.value >= 0)
|
58
57
|
return [
|
59
|
-
...
|
58
|
+
...h(Math.max(1, s.value - 1), c.value),
|
60
59
|
a.ellipsis,
|
61
|
-
|
60
|
+
u.value
|
62
61
|
];
|
63
62
|
if (n.value - o >= (e ? 1 : 0)) {
|
64
|
-
const i = s.value - 1,
|
63
|
+
const i = s.value - 1, b = u.value - i + c.value;
|
65
64
|
return [
|
66
|
-
|
65
|
+
c.value,
|
67
66
|
a.ellipsis,
|
68
|
-
...
|
67
|
+
...h(i, b)
|
69
68
|
];
|
70
69
|
} else {
|
71
|
-
const i = Math.max(1, s.value - 3),
|
70
|
+
const i = Math.max(1, s.value - 3), b = i === 1 ? n.value : n.value - Math.ceil(i / 2) + c.value;
|
72
71
|
return [
|
73
|
-
|
72
|
+
c.value,
|
74
73
|
a.ellipsis,
|
75
|
-
...
|
74
|
+
...h(i, b),
|
76
75
|
a.ellipsis,
|
77
|
-
|
76
|
+
u.value
|
78
77
|
];
|
79
78
|
}
|
80
|
-
}),
|
79
|
+
}), N = d(() => R.value.map((e, l) => typeof e == "string" ? {
|
81
80
|
active: !1,
|
82
81
|
key: `ellipsis-${l}`,
|
83
82
|
page: e,
|
@@ -89,8 +88,8 @@ const ee = ["aria-label"], ae = { class: "bb-pagination__page-label sr-only" },
|
|
89
88
|
page: e,
|
90
89
|
ellipsis: !1,
|
91
90
|
disabled: !!a.disabled || +a.totalPages < 2 || a.loading
|
92
|
-
})),
|
93
|
-
var l, t
|
91
|
+
})), h = (e, l = 0) => Array.from({ length: e }, (t, o) => l + o), $ = d(() => {
|
92
|
+
var l, t;
|
94
93
|
const e = {
|
95
94
|
disabled: n.value <= 1 || a.loading || a.disabled,
|
96
95
|
onClick: () => {
|
@@ -99,19 +98,20 @@ const ee = ["aria-label"], ae = { class: "bb-pagination__page-label sr-only" },
|
|
99
98
|
class: "bb-pagination__page bb-pagination__page--previous"
|
100
99
|
};
|
101
100
|
if (a.navigation) {
|
102
|
-
const
|
103
|
-
if (
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
101
|
+
const o = (n.value - 1).toString();
|
102
|
+
if (p.value)
|
103
|
+
e.to = {
|
104
|
+
path: (l = p.value) == null ? void 0 : l.path,
|
105
|
+
query: { ...(t = p.value) == null ? void 0 : t.query, [a.querykey]: o }
|
106
|
+
}, e.replace = a.replace;
|
107
|
+
else {
|
108
|
+
const i = new URL(globalThis.location.href);
|
109
|
+
i.searchParams.set(a.querykey, o), e.href = i.toString();
|
110
|
+
}
|
111
111
|
}
|
112
112
|
return e;
|
113
|
-
}),
|
114
|
-
var t;
|
113
|
+
}), E = (e) => {
|
114
|
+
var t, o;
|
115
115
|
const l = {
|
116
116
|
class: ["bb-pagination__page"],
|
117
117
|
disabled: e.disabled,
|
@@ -120,42 +120,45 @@ const ee = ["aria-label"], ae = { class: "bb-pagination__page-label sr-only" },
|
|
120
120
|
}
|
121
121
|
};
|
122
122
|
if (e.active && l.class.push("bb-pagination__page--active"), e.ellipsis && l.class.push("bb-pagination__page--ellipsis"), a.navigation) {
|
123
|
-
const
|
124
|
-
if (
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
123
|
+
const i = e.key.toString();
|
124
|
+
if (p.value)
|
125
|
+
l.to = {
|
126
|
+
path: (t = p.value) == null ? void 0 : t.path,
|
127
|
+
query: { ...(o = p.value) == null ? void 0 : o.query, [a.querykey]: i }
|
128
|
+
}, l.replace = a.replace;
|
129
|
+
else {
|
130
|
+
const b = new URL(globalThis.location.href);
|
131
|
+
b.searchParams.set(a.querykey, i), l.href = b.toString();
|
132
|
+
}
|
131
133
|
}
|
132
134
|
return l;
|
133
|
-
},
|
134
|
-
var l, t
|
135
|
+
}, T = d(() => {
|
136
|
+
var l, t;
|
135
137
|
const e = {
|
136
|
-
disabled: n.value >=
|
138
|
+
disabled: n.value >= u.value || a.loading || a.disabled,
|
137
139
|
onClick: () => {
|
138
|
-
n.value <
|
140
|
+
n.value < u.value && (n.value = n.value + 1);
|
139
141
|
},
|
140
142
|
class: "bb-pagination__page bb-pagination__page--next"
|
141
143
|
};
|
142
144
|
if (a.navigation) {
|
143
|
-
const
|
144
|
-
if (
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
145
|
+
const o = (n.value + 1).toString();
|
146
|
+
if (p.value)
|
147
|
+
e.to = {
|
148
|
+
path: (l = p.value) == null ? void 0 : l.path,
|
149
|
+
query: { ...(t = p.value) == null ? void 0 : t.query, [a.querykey]: o }
|
150
|
+
}, e.replace = a.replace;
|
151
|
+
else {
|
152
|
+
const i = new URL(globalThis.location.href);
|
153
|
+
i.searchParams.set(a.querykey, o), e.href = i.toString();
|
154
|
+
}
|
152
155
|
}
|
153
156
|
return e;
|
154
157
|
});
|
155
|
-
return (e, l) => (
|
158
|
+
return (e, l) => (S(), w("div", {
|
156
159
|
ref_key: "outercontainer",
|
157
|
-
ref:
|
158
|
-
class:
|
160
|
+
ref: v,
|
161
|
+
class: G(["bb-pagination", {
|
159
162
|
[`bb-pagination--${e.align}`]: !0,
|
160
163
|
"bb-pagination--disabled": e.disabled
|
161
164
|
}])
|
@@ -163,14 +166,14 @@ const ee = ["aria-label"], ae = { class: "bb-pagination__page-label sr-only" },
|
|
163
166
|
r("nav", { "aria-label": e.label }, [
|
164
167
|
r("ul", {
|
165
168
|
ref_key: "innercontainer",
|
166
|
-
ref:
|
169
|
+
ref: g,
|
167
170
|
class: "bb-pagination__pages"
|
168
171
|
}, [
|
169
172
|
r("li", null, [
|
170
|
-
|
171
|
-
default:
|
172
|
-
|
173
|
-
r("span",
|
173
|
+
q(y(P), B(A($.value)), {
|
174
|
+
default: x(() => [
|
175
|
+
m(e.$slots, "previous", {}, () => [
|
176
|
+
r("span", Q, _(y(z)("pagination.previous").value), 1),
|
174
177
|
l[0] || (l[0] = r("svg", {
|
175
178
|
class: "bb-pagination__page-chevron",
|
176
179
|
viewBox: "0 0 24 24",
|
@@ -186,30 +189,30 @@ const ee = ["aria-label"], ae = { class: "bb-pagination__page-label sr-only" },
|
|
186
189
|
_: 3
|
187
190
|
}, 16)
|
188
191
|
]),
|
189
|
-
(
|
192
|
+
(S(!0), w(I, null, O(N.value, (t) => (S(), w("li", {
|
190
193
|
key: t.key
|
191
194
|
}, [
|
192
|
-
|
193
|
-
default:
|
194
|
-
t.ellipsis === !0 ?
|
195
|
-
r("span",
|
196
|
-
]) :
|
195
|
+
q(y(P), j({ ref_for: !0 }, E(t)), {
|
196
|
+
default: x(() => [
|
197
|
+
t.ellipsis === !0 ? m(e.$slots, "ellipsis", { key: 0 }, () => [
|
198
|
+
r("span", Y, _(a.ellipsis), 1)
|
199
|
+
]) : m(e.$slots, "item", {
|
197
200
|
key: 1,
|
198
201
|
active: t.active,
|
199
202
|
disabled: t.disabled,
|
200
203
|
item: t.key
|
201
204
|
}, () => [
|
202
|
-
r("span",
|
205
|
+
r("span", Z, _(t.key), 1)
|
203
206
|
])
|
204
207
|
]),
|
205
208
|
_: 2
|
206
209
|
}, 1040)
|
207
210
|
]))), 128)),
|
208
211
|
r("li", null, [
|
209
|
-
|
210
|
-
default:
|
211
|
-
|
212
|
-
r("span",
|
212
|
+
q(y(P), B(A(T.value)), {
|
213
|
+
default: x(() => [
|
214
|
+
m(e.$slots, "next", {}, () => [
|
215
|
+
r("span", ee, _(y(z)("pagination.next").value), 1),
|
213
216
|
l[1] || (l[1] = r("svg", {
|
214
217
|
class: "bb-pagination__page-chevron",
|
215
218
|
viewBox: "0 0 24 24",
|
@@ -226,10 +229,10 @@ const ee = ["aria-label"], ae = { class: "bb-pagination__page-label sr-only" },
|
|
226
229
|
}, 16)
|
227
230
|
])
|
228
231
|
], 512)
|
229
|
-
], 8,
|
232
|
+
], 8, K)
|
230
233
|
], 2));
|
231
234
|
}
|
232
235
|
});
|
233
236
|
export {
|
234
|
-
|
237
|
+
ue as default
|
235
238
|
};
|
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 "./index209.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 "./index245.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import U from "./
|
8
|
+
import U from "./index211.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useLocale as X } from "./
|
11
|
-
import { useDebounceFn as Y } from "./
|
10
|
+
import { useLocale as X } from "./index218.js";
|
11
|
+
import { useDebounceFn as Y } from "./index206.js";
|
12
12
|
const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
|
13
13
|
__name: "BbPopover",
|
14
14
|
props: {
|
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 "./index207.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index131.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|
package/package.json
CHANGED
package/dist/index216.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
import { openBlock as t, createElementBlock as n, renderSlot as e } from "vue";
|
2
|
-
/* empty css */
|
3
|
-
import r from "./index280.js";
|
4
|
-
const s = {}, c = { class: "bb-common-input-outer-container" };
|
5
|
-
function p(o, a) {
|
6
|
-
return t(), n("span", c, [
|
7
|
-
e(o.$slots, "prepend-outer"),
|
8
|
-
e(o.$slots, "default"),
|
9
|
-
e(o.$slots, "append-outer")
|
10
|
-
]);
|
11
|
-
}
|
12
|
-
const i = /* @__PURE__ */ r(s, [["render", p]]);
|
13
|
-
export {
|
14
|
-
i as default
|
15
|
-
};
|
package/dist/index236.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index291.js";
|
2
|
-
import { __module as t } from "./index294.js";
|
3
|
-
(function(s, a) {
|
4
|
-
(function(f, o) {
|
5
|
-
s.exports = o();
|
6
|
-
})(n, function() {
|
7
|
-
return function(f, o) {
|
8
|
-
o.prototype.isSameOrBefore = function(e, r) {
|
9
|
-
return this.isSame(e, r) || this.isBefore(e, r);
|
10
|
-
};
|
11
|
-
};
|
12
|
-
});
|
13
|
-
})(t);
|
14
|
-
var m = t.exports;
|
15
|
-
const c = /* @__PURE__ */ i(m);
|
16
|
-
export {
|
17
|
-
c as default
|
18
|
-
};
|
package/dist/index323.js
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
const i = (r, s, a) => {
|
2
|
-
const t = a / 100, c = s * Math.min(t, 1 - t) / 100, n = (h) => {
|
3
|
-
const o = (h + r / 30) % 12, e = t - c * Math.max(Math.min(o - 3, 9 - o, 1), -1);
|
4
|
-
return Math.round(255 * e).toString(16).padStart(2, "0");
|
5
|
-
};
|
6
|
-
return `#${n(0)}${n(8)}${n(4)}`;
|
7
|
-
};
|
8
|
-
export {
|
9
|
-
i as hslToHex
|
10
|
-
};
|
File without changes
|
File without changes
|