bitboss-ui 2.0.118 → 2.0.119
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/BbDropdown/BbDropdown.vue.d.ts +1 -1
- package/dist/index100.js +9 -9
- package/dist/index111.js +11 -11
- package/dist/index119.js +1 -1
- package/dist/index121.js +6 -6
- 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/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index205.js +115 -2
- package/dist/index206.js +2 -126
- package/dist/index207.js +126 -5
- package/dist/index208.js +5 -125
- package/dist/index209.js +122 -13
- package/dist/index21.js +11 -11
- package/dist/index210.js +10 -10
- package/dist/index211.js +15 -18
- package/dist/index212.js +16 -12
- package/dist/index213.js +15 -2
- package/dist/index214.js +2 -2
- package/dist/index215.js +2 -41
- package/dist/index216.js +41 -13
- package/dist/index217.js +13 -20
- package/dist/index218.js +20 -6
- package/dist/index219.js +5 -14
- package/dist/index220.js +11 -61
- package/dist/index221.js +67 -0
- package/dist/index223.js +12 -4
- package/dist/index224.js +5 -2
- package/dist/index225.js +2 -369
- package/dist/index226.js +369 -3
- package/dist/index227.js +4 -7
- package/dist/index228.js +19 -8
- package/dist/index229.js +22 -14
- package/dist/index23.js +19 -19
- package/dist/index230.js +3 -27
- package/dist/index231.js +8 -3
- package/dist/index232.js +5 -5
- package/dist/index235.js +1 -1
- package/dist/index236.js +1 -1
- package/dist/index237.js +86 -3
- package/dist/index239.js +25 -4
- package/dist/index240.js +17 -2
- package/dist/index241.js +51 -4
- package/dist/index242.js +15 -2
- package/dist/index243.js +12 -86
- package/dist/index244.js +18 -0
- package/dist/index245.js +2 -25
- package/dist/index246.js +4 -17
- package/dist/index247.js +2 -51
- package/dist/index248.js +3 -15
- package/dist/index249.js +7 -12
- package/dist/index25.js +7 -7
- package/dist/index250.js +3 -16
- package/dist/index251.js +106 -2
- package/dist/index253.js +99 -17
- package/dist/index255.js +20 -0
- package/dist/index256.js +12 -100
- package/dist/index257.js +216 -0
- package/dist/index258.js +2 -12
- package/dist/index259.js +2 -214
- package/dist/index262.js +6 -9
- package/dist/index263.js +16 -23
- package/dist/index264.js +8 -89
- package/dist/index265.js +25 -0
- package/dist/index266.js +90 -6
- package/dist/index269.js +281 -9
- package/dist/index27.js +1 -1
- package/dist/index270.js +6 -8
- package/dist/index271.js +2 -281
- package/dist/index272.js +2 -6
- package/dist/index273.js +2 -2
- package/dist/index274.js +2 -2
- package/dist/index277.js +126 -2
- package/dist/index278.js +431 -2
- package/dist/index279.js +171 -121
- package/dist/index280.js +2 -431
- package/dist/index281.js +3 -176
- package/dist/index283.js +7 -3
- package/dist/index284.js +24 -0
- package/dist/index286.js +7 -22
- package/dist/index287.js +13 -0
- package/dist/index288.js +435 -6
- package/dist/index289.js +126 -10
- package/dist/index29.js +3 -3
- package/dist/index290.js +197 -86
- package/dist/index291.js +3 -199
- package/dist/index292.js +23 -431
- package/dist/index293.js +3 -127
- package/dist/index294.js +17 -224
- package/dist/index295.js +9 -2
- package/dist/index297.js +2 -2
- package/dist/index298.js +1 -1
- package/dist/index299.js +1 -1
- package/dist/index300.js +1 -1
- package/dist/index301.js +2 -28
- package/dist/index304.js +88 -3
- package/dist/index305.js +8 -3
- package/dist/index306.js +224 -17
- package/dist/index307.js +1 -1
- package/dist/index308.js +1 -1
- package/dist/index309.js +1 -1
- package/dist/index31.js +2 -2
- package/dist/index312.js +1 -1
- package/dist/index313.js +3 -3
- package/dist/index314.js +3 -5
- package/dist/index315.js +57 -7
- package/dist/index316.js +5 -3
- package/dist/index317.js +8 -3
- package/dist/index318.js +6 -57
- package/dist/index319.js +32 -3
- package/dist/index320.js +21 -28
- package/dist/index321.js +3 -25
- package/dist/index322.js +53 -7
- package/dist/index323.js +53 -7
- package/dist/index324.js +3 -19
- package/dist/index325.js +7 -53
- package/dist/index326.js +18 -52
- package/dist/index328.js +2 -480
- package/dist/index33.js +8 -8
- package/dist/index331.js +482 -0
- package/dist/index35.js +4 -4
- package/dist/index37.js +22 -22
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- 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 +1 -1
- package/dist/index88.js +5 -5
- package/dist/index90.js +1 -1
- package/package.json +1 -1
- package/dist/index222.js +0 -15
- package/dist/index238.js +0 -117
- package/dist/index252.js +0 -4
- package/dist/index254.js +0 -108
- package/dist/index267.js +0 -18
- package/dist/index282.js +0 -4
- package/dist/index285.js +0 -9
- package/dist/index329.js +0 -4
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 "./index245.js";
|
3
|
+
import { isNil as B } from "./index259.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
@@ -9,7 +9,7 @@ import T from "./index129.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import { pickBy as $ } from "./index260.js";
|
11
11
|
import { noop as A } from "./index261.js";
|
12
|
-
import { useLocale as W } from "./
|
12
|
+
import { useLocale as W } from "./index217.js";
|
13
13
|
const w = {
|
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 g, openBlock as $, createElementBlock as D, mergeProps as A, createElementVNode as H, renderSlot as y, normalizeProps as Y, guardReactiveProps as Z, unref as h, 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 I } from "./
|
2
|
+
import { findRightIndex as I } from "./index264.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 "./index265.js";
|
9
|
+
import se from "./index266.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 N from "./index127.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import T from "./index129.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useLocale as Z } from "./
|
12
|
+
import { useLocale as Z } from "./index217.js";
|
13
13
|
const q = { class: "bb-dropdown-button__content" }, A = {
|
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 "./index263.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("./index262.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 "./index248.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 se, ref as l, useAttrs as ae, computed as u, getCurrentInstance as ne, nextTick as ie, onBeforeUnmount as O, onMounted as re, watch as ue, openBlock as g, createBlock as ce, withCtx as de, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as fe, toDisplayString as A, unref as ve, createCommentVNode as $ } from "vue";
|
2
|
-
import { useFocusTrap as pe } from "./
|
2
|
+
import { useFocusTrap as pe } from "./index216.js";
|
3
3
|
import { useId as E } from "./index8.js";
|
4
4
|
import { wait as H } from "./index130.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import be from "./
|
5
|
+
import { useModalsState as b } from "./index249.js";
|
6
|
+
import be from "./index220.js";
|
7
7
|
import { useMobile as me } from "./index9.js";
|
8
|
-
import { useLocale as ye } from "./
|
8
|
+
import { useLocale as ye } from "./index217.js";
|
9
9
|
const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"], Te = /* @__PURE__ */ se({
|
10
10
|
__name: "BbOffCanvas",
|
11
11
|
props: {
|
package/dist/index86.js
CHANGED
@@ -4,7 +4,7 @@ import { debounce as T } from "./index268.js";
|
|
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 "./index217.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 "./index216.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 "./index219.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import U from "./
|
8
|
+
import U from "./index266.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useLocale as X } from "./
|
11
|
-
import { useDebounceFn as Y } from "./
|
10
|
+
import { useLocale as X } from "./index217.js";
|
11
|
+
import { useDebounceFn as Y } from "./index205.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 "./index206.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/index222.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 "./index285.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/index238.js
DELETED
@@ -1,117 +0,0 @@
|
|
1
|
-
import { getCurrentScope as F, onScopeDispose as O, unref as g, onMounted as x, nextTick as S, isRef as W, getCurrentInstance as C, watch as P } from "vue";
|
2
|
-
function V(e) {
|
3
|
-
return F() ? (O(e), !0) : !1;
|
4
|
-
}
|
5
|
-
function m(e) {
|
6
|
-
return typeof e == "function" ? e() : g(e);
|
7
|
-
}
|
8
|
-
const A = typeof window < "u" && typeof document < "u";
|
9
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
10
|
-
const E = (e) => e != null, v = Object.prototype.toString, I = (e) => v.call(e) === "[object Object]", p = () => {
|
11
|
-
};
|
12
|
-
function h(e, o) {
|
13
|
-
function t(...n) {
|
14
|
-
return new Promise((r, i) => {
|
15
|
-
Promise.resolve(e(() => o.apply(this, n), { fn: o, thisArg: this, args: n })).then(r).catch(i);
|
16
|
-
});
|
17
|
-
}
|
18
|
-
return t;
|
19
|
-
}
|
20
|
-
const M = (e) => e();
|
21
|
-
function T(e, o = {}) {
|
22
|
-
let t, n, r = p;
|
23
|
-
const i = (c) => {
|
24
|
-
clearTimeout(c), r(), r = p;
|
25
|
-
};
|
26
|
-
return (c) => {
|
27
|
-
const l = m(e), u = m(o.maxWait);
|
28
|
-
return t && i(t), l <= 0 || u !== void 0 && u <= 0 ? (n && (i(n), n = null), Promise.resolve(c())) : new Promise((s, w) => {
|
29
|
-
r = o.rejectOnCancel ? w : s, u && !n && (n = setTimeout(() => {
|
30
|
-
t && i(t), n = null, s(c());
|
31
|
-
}, u)), t = setTimeout(() => {
|
32
|
-
n && i(n), n = null, s(c());
|
33
|
-
}, l);
|
34
|
-
});
|
35
|
-
};
|
36
|
-
}
|
37
|
-
function R(...e) {
|
38
|
-
let o = 0, t, n = !0, r = p, i, a, c, l, u;
|
39
|
-
!W(e[0]) && typeof e[0] == "object" ? { delay: a, trailing: c = !0, leading: l = !0, rejectOnCancel: u = !1 } = e[0] : [a, c = !0, l = !0, u = !1] = e;
|
40
|
-
const s = () => {
|
41
|
-
t && (clearTimeout(t), t = void 0, r(), r = p);
|
42
|
-
};
|
43
|
-
return (j) => {
|
44
|
-
const f = m(a), b = Date.now() - o, d = () => i = j();
|
45
|
-
return s(), f <= 0 ? (o = Date.now(), d()) : (b > f && (l || !n) ? (o = Date.now(), d()) : c && (i = new Promise((y, D) => {
|
46
|
-
r = u ? D : y, t = setTimeout(() => {
|
47
|
-
o = Date.now(), n = !0, y(d()), s();
|
48
|
-
}, Math.max(0, f - b));
|
49
|
-
})), !l && !t && (t = setTimeout(() => n = !0, f)), n = !1, i);
|
50
|
-
};
|
51
|
-
}
|
52
|
-
function k(e) {
|
53
|
-
return C();
|
54
|
-
}
|
55
|
-
function N(e, o = 200, t = {}) {
|
56
|
-
return h(
|
57
|
-
T(o, t),
|
58
|
-
e
|
59
|
-
);
|
60
|
-
}
|
61
|
-
function _(e, o = 200, t = !1, n = !0, r = !1) {
|
62
|
-
return h(
|
63
|
-
R(o, t, n, r),
|
64
|
-
e
|
65
|
-
);
|
66
|
-
}
|
67
|
-
function G(e, o, t = {}) {
|
68
|
-
const {
|
69
|
-
eventFilter: n = M,
|
70
|
-
...r
|
71
|
-
} = t;
|
72
|
-
return P(
|
73
|
-
e,
|
74
|
-
h(
|
75
|
-
n,
|
76
|
-
o
|
77
|
-
),
|
78
|
-
r
|
79
|
-
);
|
80
|
-
}
|
81
|
-
function q(e, o = !0, t) {
|
82
|
-
k() ? x(e, t) : o ? e() : S(e);
|
83
|
-
}
|
84
|
-
function z(e, o, t = {}) {
|
85
|
-
const {
|
86
|
-
debounce: n = 0,
|
87
|
-
maxWait: r = void 0,
|
88
|
-
...i
|
89
|
-
} = t;
|
90
|
-
return G(
|
91
|
-
e,
|
92
|
-
o,
|
93
|
-
{
|
94
|
-
...i,
|
95
|
-
eventFilter: T(n, { maxWait: r })
|
96
|
-
}
|
97
|
-
);
|
98
|
-
}
|
99
|
-
export {
|
100
|
-
M as bypassFilter,
|
101
|
-
h as createFilterWrapper,
|
102
|
-
T as debounceFilter,
|
103
|
-
z as debouncedWatch,
|
104
|
-
k as getLifeCycleTarget,
|
105
|
-
A as isClient,
|
106
|
-
I as isObject,
|
107
|
-
p as noop,
|
108
|
-
E as notNullish,
|
109
|
-
R as throttleFilter,
|
110
|
-
m as toValue,
|
111
|
-
q as tryOnMounted,
|
112
|
-
V as tryOnScopeDispose,
|
113
|
-
N as useDebounceFn,
|
114
|
-
_ as useThrottleFn,
|
115
|
-
z as watchDebounced,
|
116
|
-
G as watchWithFilter
|
117
|
-
};
|
package/dist/index252.js
DELETED
package/dist/index254.js
DELETED
@@ -1,108 +0,0 @@
|
|
1
|
-
import { defineComponent as y, ref as F, computed as H, watch as N, openBlock as p, createElementBlock as L, Fragment as S, renderList as V, createBlock as A, normalizeClass as O, withModifiers as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
|
2
|
-
import { hash as d } from "./index231.js";
|
3
|
-
import { isNil as l } from "./index252.js";
|
4
|
-
import E from "./index125.js";
|
5
|
-
/* empty css */
|
6
|
-
const K = /* @__PURE__ */ y({
|
7
|
-
__name: "ChipsBox",
|
8
|
-
props: {
|
9
|
-
options: {}
|
10
|
-
},
|
11
|
-
emits: ["option:unselected"],
|
12
|
-
setup(f, { expose: v, emit: h }) {
|
13
|
-
const t = f, u = h, n = F(null), i = H(() => t.options.some((e) => !e.disabled)), a = (e = 1) => {
|
14
|
-
const s = l(n.value) ? -1 : n.value;
|
15
|
-
let o = (s + e) % t.options.length;
|
16
|
-
for (; t.options[o].disabled && o !== s; )
|
17
|
-
o = a(e + 1);
|
18
|
-
return o;
|
19
|
-
}, x = () => {
|
20
|
-
if (!i.value) return;
|
21
|
-
const e = a();
|
22
|
-
n.value = e;
|
23
|
-
}, c = (e = 1) => {
|
24
|
-
const s = l(n.value) ? 0 : n.value;
|
25
|
-
let o = (s - e + t.options.length) % t.options.length;
|
26
|
-
for (; t.options[o].disabled && o !== s; )
|
27
|
-
o = c(e + 1);
|
28
|
-
return o;
|
29
|
-
}, m = async () => {
|
30
|
-
if (!i.value) return;
|
31
|
-
const e = c();
|
32
|
-
n.value = e;
|
33
|
-
}, w = () => {
|
34
|
-
if (!i.value) return;
|
35
|
-
let e = 0;
|
36
|
-
for (; t.options[e].disabled; )
|
37
|
-
e++;
|
38
|
-
n.value = e;
|
39
|
-
}, b = () => {
|
40
|
-
if (!i.value) return;
|
41
|
-
let e = t.options.length - 1;
|
42
|
-
for (; t.options[e].disabled && e !== 0; )
|
43
|
-
e--;
|
44
|
-
n.value = e;
|
45
|
-
}, I = () => {
|
46
|
-
if (!i.value) return;
|
47
|
-
let e = 0;
|
48
|
-
for (; !t.options[e].selected && t.options.length !== e; )
|
49
|
-
e++;
|
50
|
-
n.value = e;
|
51
|
-
}, g = () => {
|
52
|
-
if (!i.value) return;
|
53
|
-
let e = t.options.length - 1;
|
54
|
-
for (; t.options[e].selected && e !== 0; )
|
55
|
-
e--;
|
56
|
-
n.value = e;
|
57
|
-
}, _ = (e) => {
|
58
|
-
if (!i.value) return;
|
59
|
-
const s = t.options.findIndex(
|
60
|
-
(o) => o.valueHash === e
|
61
|
-
);
|
62
|
-
s >= 0 && (n.value = s);
|
63
|
-
}, r = () => {
|
64
|
-
n.value = null;
|
65
|
-
}, k = () => {
|
66
|
-
if (l(n.value)) return;
|
67
|
-
const e = t.options[n.value];
|
68
|
-
e.selected && u("option:unselected", e);
|
69
|
-
}, C = () => l(n.value) ? void 0 : t.options[n.value];
|
70
|
-
return N(
|
71
|
-
() => t.options,
|
72
|
-
(e, s) => {
|
73
|
-
d(e) !== d(s) && r();
|
74
|
-
},
|
75
|
-
{
|
76
|
-
flush: "post"
|
77
|
-
}
|
78
|
-
), v({
|
79
|
-
focusNext: x,
|
80
|
-
focusPrevious: m,
|
81
|
-
focusFirst: w,
|
82
|
-
focusFirstSelected: I,
|
83
|
-
focusLast: b,
|
84
|
-
focusLastSelected: g,
|
85
|
-
blur: r,
|
86
|
-
confirmOption: k,
|
87
|
-
focusByHash: _,
|
88
|
-
getHighlighted: C
|
89
|
-
}), (e, s) => (p(!0), L(S, null, V(e.options, (o, B) => (p(), A(E, {
|
90
|
-
key: o.valueHash,
|
91
|
-
class: O({
|
92
|
-
"bb-chipsbox-item": !0,
|
93
|
-
"bb-chipsbox-item--focused": B === n.value
|
94
|
-
}),
|
95
|
-
clearable: !0,
|
96
|
-
text: o.text,
|
97
|
-
"onClick:clear": P((M) => u("option:unselected", o), ["stop"])
|
98
|
-
}, {
|
99
|
-
default: $(() => [
|
100
|
-
z(D(o.text), 1)
|
101
|
-
]),
|
102
|
-
_: 2
|
103
|
-
}, 1032, ["class", "text", "onClick:clear"]))), 128));
|
104
|
-
}
|
105
|
-
});
|
106
|
-
export {
|
107
|
-
K as default
|
108
|
-
};
|
package/dist/index267.js
DELETED
package/dist/index282.js
DELETED
package/dist/index285.js
DELETED
package/dist/index329.js
DELETED