bitboss-ui 2.0.152 → 2.0.153
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/BbPopover/BbPopover.vue.d.ts +1 -1
- package/dist/index100.js +9 -9
- package/dist/index111.js +11 -11
- package/dist/index121.js +3 -3
- package/dist/index123.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +1 -1
- package/dist/index133.js +1 -1
- package/dist/index134.js +2 -2
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +2 -2
- package/dist/index209.js +1 -1
- package/dist/index21.js +15 -15
- package/dist/index210.js +1 -1
- package/dist/index211.js +3 -3
- package/dist/index213.js +3 -3
- package/dist/index215.js +2 -2
- package/dist/index217.js +1 -1
- package/dist/index218.js +2 -2
- package/dist/index219.js +86 -2
- package/dist/index221.js +29 -2
- package/dist/index222.js +17 -5
- package/dist/index223.js +50 -124
- package/dist/index224.js +15 -16
- package/dist/index225.js +3 -16
- package/dist/index226.js +12 -19
- package/dist/index227.js +16 -15
- package/dist/index228.js +3 -2
- package/dist/index229.js +5 -2
- package/dist/index23.js +10 -10
- package/dist/index230.js +125 -6
- package/dist/index231.js +16 -2
- package/dist/index232.js +16 -3
- package/dist/index233.js +18 -18
- package/dist/index234.js +12 -24
- package/dist/index235.js +2 -3
- package/dist/index236.js +2 -8
- package/dist/index237.js +5 -249
- package/dist/index238.js +2 -52
- package/dist/index239.js +2 -44
- package/dist/index240.js +2 -5
- package/dist/index241.js +4 -60
- package/dist/index242.js +2 -86
- package/dist/index243.js +21 -0
- package/dist/index244.js +27 -29
- package/dist/index245.js +8 -17
- package/dist/index246.js +248 -49
- package/dist/index247.js +52 -15
- package/dist/index248.js +44 -12
- package/dist/index249.js +5 -16
- package/dist/index25.js +2 -2
- package/dist/index250.js +58 -32
- package/dist/index251.js +1 -1
- package/dist/index254.js +34 -2
- package/dist/index255.js +18 -2
- package/dist/index256.js +126 -2
- package/dist/index257.js +106 -176
- package/dist/{index260.js → index259.js} +2 -2
- package/dist/index261.js +14 -0
- package/dist/index262.js +227 -17
- package/dist/index263.js +353 -110
- package/dist/index264.js +2 -12
- package/dist/index265.js +2 -228
- package/dist/index266.js +162 -355
- package/dist/index269.js +6 -9
- package/dist/index27.js +1 -1
- package/dist/index270.js +16 -23
- package/dist/index271.js +9 -6
- package/dist/index272.js +23 -16
- package/dist/index273.js +430 -8
- package/dist/index274.js +3 -431
- package/dist/index275.js +1 -1
- package/dist/index276.js +1 -1
- package/dist/index278.js +9 -0
- package/dist/index279.js +6 -6
- package/dist/index280.js +11 -7
- package/dist/index281.js +3 -11
- package/dist/index282.js +17 -4
- package/dist/index283.js +8 -199
- package/dist/index284.js +27 -280
- package/dist/index285.js +8 -5
- package/dist/index286.js +8 -2
- package/dist/index287.js +200 -2
- package/dist/index288.js +224 -2
- package/dist/index289.js +281 -2
- package/dist/index29.js +1 -1
- package/dist/index290.js +6 -2
- package/dist/index291.js +2 -2
- package/dist/index292.js +2 -224
- package/dist/index295.js +2 -2
- package/dist/index296.js +2 -2
- package/dist/index297.js +4 -2
- package/dist/index298.js +2 -2
- package/dist/index299.js +2 -28
- package/dist/index300.js +1 -21
- package/dist/index301.js +4 -0
- package/dist/index302.js +2 -3
- package/dist/index303.js +2 -17
- package/dist/index304.js +20 -7
- package/dist/index306.js +2 -8
- package/dist/index307.js +89 -2
- package/dist/index308.js +2 -89
- package/dist/index309.js +126 -3
- package/dist/index31.js +2 -2
- package/dist/index310.js +1 -1
- package/dist/index311.js +3 -126
- package/dist/index312.js +1 -1
- package/dist/index315.js +5 -2
- package/dist/index317.js +2 -5
- package/dist/index318.js +5 -3
- package/dist/index319.js +8 -3
- package/dist/index320.js +3 -58
- package/dist/index321.js +3 -33
- package/dist/index322.js +57 -27
- package/dist/index323.js +6 -0
- package/dist/index324.js +480 -7
- package/dist/index325.js +57 -18
- package/dist/index326.js +33 -33
- package/dist/index327.js +32 -57
- package/dist/index328.js +28 -7
- package/dist/index33.js +8 -8
- package/dist/index330.js +6 -5
- package/dist/index331.js +19 -8
- package/dist/index332.js +7 -480
- package/dist/index333.js +7 -4
- package/dist/index334.js +5 -7
- package/dist/index335.js +8 -47
- package/dist/index336.js +46 -3
- package/dist/index339.js +1 -1
- package/dist/index35.js +3 -3
- package/dist/index37.js +18 -18
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- package/dist/index49.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index75.js +2 -2
- package/dist/index79.js +2 -2
- package/dist/index86.js +1 -1
- package/dist/index88.js +2 -2
- package/dist/index90.js +1 -1
- package/package.json +2 -2
- package/dist/index220.js +0 -6
- package/dist/index258.js +0 -108
- package/dist/index277.js +0 -5
- package/dist/index305.js +0 -4
- package/dist/index329.js +0 -10
package/dist/index333.js
CHANGED
@@ -1,7 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
function i(t) {
|
2
|
+
if (t = t.replace(/^#/, ""), !/^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$/.test(t))
|
3
|
+
throw new Error("Invalid hex code");
|
4
|
+
t.length === 3 && (t = t.split("").map((n) => n + n).join(""));
|
5
|
+
const r = parseInt(t.slice(0, 2), 16), s = parseInt(t.slice(2, 4), 16), o = parseInt(t.slice(4, 6), 16);
|
6
|
+
return [r, s, o];
|
4
7
|
}
|
5
8
|
export {
|
6
|
-
|
9
|
+
i as hexToRgb
|
7
10
|
};
|
package/dist/index334.js
CHANGED
@@ -1,10 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
const t = Object.getPrototypeOf(e);
|
6
|
-
return !!t && t.constructor === Object && t === Object.prototype;
|
1
|
+
function l(c, f, r) {
|
2
|
+
const t = c / 255, n = f / 255, o = r / 255, i = Math.max(t, n, o), a = Math.min(t, n, o), s = i - a;
|
3
|
+
let e = 0;
|
4
|
+
return s !== 0 && (i === t ? e = (n - o) / s % 6 : i === n ? e = (o - t) / s + 2 : i === o && (e = (t - n) / s + 4), e *= 60, e < 0 && (e += 360)), e;
|
7
5
|
}
|
8
6
|
export {
|
9
|
-
|
7
|
+
l as getHueFromRGB
|
10
8
|
};
|
package/dist/index335.js
CHANGED
@@ -1,49 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
return
|
7
|
-
|
8
|
-
(r) => {
|
9
|
-
r && t._willUpdate();
|
10
|
-
},
|
11
|
-
{
|
12
|
-
immediate: !0
|
13
|
-
}
|
14
|
-
), o(
|
15
|
-
() => l(e),
|
16
|
-
(r) => {
|
17
|
-
t.setOptions({
|
18
|
-
...r,
|
19
|
-
onChange: (c, m) => {
|
20
|
-
var n;
|
21
|
-
i(a), (n = r.onChange) == null || n.call(r, c, m);
|
22
|
-
}
|
23
|
-
}), t._willUpdate(), i(a);
|
24
|
-
},
|
25
|
-
{
|
26
|
-
immediate: !0
|
27
|
-
}
|
28
|
-
), v(u), a;
|
29
|
-
}
|
30
|
-
function z(e) {
|
31
|
-
return w(
|
32
|
-
g(() => ({
|
33
|
-
observeElementRect: f,
|
34
|
-
observeElementOffset: s,
|
35
|
-
scrollToFn: d,
|
36
|
-
...l(e)
|
37
|
-
}))
|
38
|
-
);
|
39
|
-
}
|
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
|
+
};
|
40
8
|
export {
|
41
|
-
|
42
|
-
S as defaultKeyExtractor,
|
43
|
-
V as defaultRangeExtractor,
|
44
|
-
d as elementScroll,
|
45
|
-
b as measureElement,
|
46
|
-
s as observeElementOffset,
|
47
|
-
f as observeElementRect,
|
48
|
-
z as useVirtualizer
|
9
|
+
i as hslToHex
|
49
10
|
};
|
package/dist/index336.js
CHANGED
@@ -1,6 +1,49 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { observeElementRect as f, observeElementOffset as s, elementScroll as d, Virtualizer as p } from "./index340.js";
|
2
|
+
import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index340.js";
|
3
|
+
import { computed as g, unref as l, shallowRef as E, watch as o, triggerRef as i, onScopeDispose as v } from "vue";
|
4
|
+
function w(e) {
|
5
|
+
const t = new p(l(e)), a = E(t), u = t._didMount();
|
6
|
+
return o(
|
7
|
+
() => l(e).getScrollElement(),
|
8
|
+
(r) => {
|
9
|
+
r && t._willUpdate();
|
10
|
+
},
|
11
|
+
{
|
12
|
+
immediate: !0
|
13
|
+
}
|
14
|
+
), o(
|
15
|
+
() => l(e),
|
16
|
+
(r) => {
|
17
|
+
t.setOptions({
|
18
|
+
...r,
|
19
|
+
onChange: (c, m) => {
|
20
|
+
var n;
|
21
|
+
i(a), (n = r.onChange) == null || n.call(r, c, m);
|
22
|
+
}
|
23
|
+
}), t._willUpdate(), i(a);
|
24
|
+
},
|
25
|
+
{
|
26
|
+
immediate: !0
|
27
|
+
}
|
28
|
+
), v(u), a;
|
29
|
+
}
|
30
|
+
function z(e) {
|
31
|
+
return w(
|
32
|
+
g(() => ({
|
33
|
+
observeElementRect: f,
|
34
|
+
observeElementOffset: s,
|
35
|
+
scrollToFn: d,
|
36
|
+
...l(e)
|
37
|
+
}))
|
38
|
+
);
|
3
39
|
}
|
4
40
|
export {
|
5
|
-
|
41
|
+
p as Virtualizer,
|
42
|
+
S as defaultKeyExtractor,
|
43
|
+
V as defaultRangeExtractor,
|
44
|
+
d as elementScroll,
|
45
|
+
b as measureElement,
|
46
|
+
s as observeElementOffset,
|
47
|
+
f as observeElementRect,
|
48
|
+
z as useVirtualizer
|
6
49
|
};
|
package/dist/index339.js
CHANGED
package/dist/index35.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as I, ref as v, computed as f, openBlock as l, createElementBlock as r, mergeProps as h, createElementVNode as i, renderSlot as p, Fragment as V, renderList as M, normalizeClass as D, toDisplayString as F, unref as y } from "vue";
|
2
|
-
import { booleanishToBoolean as T } from "./
|
3
|
-
import { identity as $ } from "./
|
4
|
-
import { isCssColor as k } from "./
|
2
|
+
import { booleanishToBoolean as T } from "./index242.js";
|
3
|
+
import { identity as $ } from "./index235.js";
|
4
|
+
import { isCssColor as k } from "./index240.js";
|
5
5
|
import { isNotNil as q } from "./index135.js";
|
6
6
|
import { useLocale as x } from "./index218.js";
|
7
7
|
const H = { class: "bb-base-rating__inner-container" }, S = { class: "bb-base-rating__label-text sr-only" }, N = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], j = ["height", "width"], W = /* @__PURE__ */ I({
|
package/dist/index37.js
CHANGED
@@ -5,33 +5,33 @@ import { useId as Ze } from "./index8.js";
|
|
5
5
|
import { useMobile as et } from "./index9.js";
|
6
6
|
import tt from "./index128.js";
|
7
7
|
/* empty css */
|
8
|
-
import { last as lt } from "./
|
9
|
-
import { matchAnyKey as oe } from "./
|
10
|
-
import { useFloating as at } from "./
|
8
|
+
import { last as lt } from "./index236.js";
|
9
|
+
import { matchAnyKey as oe } from "./index255.js";
|
10
|
+
import { useFloating as at } from "./index256.js";
|
11
11
|
import { useMounted as ot, useIntersectionObserver as nt } from "./index132.js";
|
12
12
|
import { wait as F } from "./index130.js";
|
13
|
-
import { when as ut } from "./
|
14
|
-
import rt from "./
|
13
|
+
import { when as ut } from "./index241.js";
|
14
|
+
import rt from "./index257.js";
|
15
15
|
/* empty css */
|
16
|
-
import it from "./
|
16
|
+
import it from "./index259.js";
|
17
17
|
/* empty css */
|
18
18
|
import st from "./index215.js";
|
19
19
|
/* empty css */
|
20
20
|
import dt from "./index217.js";
|
21
|
-
import { waitFor as ct } from "./
|
21
|
+
import { waitFor as ct } from "./index237.js";
|
22
22
|
import pt from "./index253.js";
|
23
|
-
import { useItemsGetter as mt } from "./
|
24
|
-
import { usePrefill as ft } from "./
|
25
|
-
import { useArray as vt } from "./
|
26
|
-
import { useBaseOptions as yt } from "./
|
27
|
-
import { useIndexById as ne } from "./
|
28
|
-
import { useCoherence as ht } from "./
|
29
|
-
import { hash as bt } from "./
|
30
|
-
import { useHashedWatcher as ue } from "./
|
23
|
+
import { useItemsGetter as mt } from "./index221.js";
|
24
|
+
import { usePrefill as ft } from "./index227.js";
|
25
|
+
import { useArray as vt } from "./index261.js";
|
26
|
+
import { useBaseOptions as yt } from "./index223.js";
|
27
|
+
import { useIndexById as ne } from "./index222.js";
|
28
|
+
import { useCoherence as ht } from "./index224.js";
|
29
|
+
import { hash as bt } from "./index225.js";
|
30
|
+
import { useHashedWatcher as ue } from "./index226.js";
|
31
31
|
import { useLocale as gt } from "./index218.js";
|
32
|
-
import { isEmpty as wt } from "./
|
33
|
-
import Bt from "./
|
34
|
-
import { autoUpdate as Vt, flip as kt, offset as It, shift as Ct } from "./
|
32
|
+
import { isEmpty as wt } from "./index238.js";
|
33
|
+
import Bt from "./index262.js";
|
34
|
+
import { autoUpdate as Vt, flip as kt, offset as It, shift as Ct } from "./index263.js";
|
35
35
|
const St = { class: "bb-base-select__input-container" }, Ot = {
|
36
36
|
key: 1,
|
37
37
|
class: "bb-base-select__max-reached"
|
package/dist/index39.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as U, ref as d, computed as h, onMounted as W, watch as Z, openBlock as g, createElementBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, Fragment as ee, renderList as ae, createCommentVNode as H, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeClass as F, normalizeStyle as I } from "vue";
|
2
|
-
import { clamp as le } from "./
|
3
|
-
import { head as O } from "./
|
4
|
-
import { isCssColor as Y } from "./
|
5
|
-
import { isNil as P } from "./
|
2
|
+
import { clamp as le } from "./index239.js";
|
3
|
+
import { head as O } from "./index264.js";
|
4
|
+
import { isCssColor as Y } from "./index240.js";
|
5
|
+
import { isNil as P } from "./index265.js";
|
6
6
|
import { isNotNil as ne } from "./index135.js";
|
7
7
|
import { transposeValue as y } from "./index131.js";
|
8
|
-
import { hash as J } from "./
|
8
|
+
import { hash as J } from "./index225.js";
|
9
9
|
const oe = { class: "bb-base-slider__slider-container" }, ie = {
|
10
10
|
key: 0,
|
11
11
|
class: "bb-base-slider__ticks-container"
|
package/dist/index41.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as I, ref as f, computed as n, watch as S, openBlock as h, createElementBlock as y, normalizeProps as r, guardReactiveProps as d, mergeProps as V, createCommentVNode as A, createElementVNode as l, renderSlot as F } from "vue";
|
2
|
-
import { isCssColor as b } from "./
|
3
|
-
import { when as N } from "./
|
2
|
+
import { isCssColor as b } from "./index240.js";
|
3
|
+
import { when as N } from "./index241.js";
|
4
4
|
const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
|
5
5
|
__name: "BaseSwitch",
|
6
6
|
props: {
|
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 "./index219.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 "./index221.js";
|
7
|
+
import { useIndexById as T } from "./index222.js";
|
8
|
+
import { useBaseOptions as q } from "./index223.js";
|
9
|
+
import { useCoherence as J } from "./index224.js";
|
10
|
+
import { hash as Q } from "./index225.js";
|
11
|
+
import { useHashedWatcher as $ } from "./index226.js";
|
12
|
+
import { usePrefill as X } from "./index227.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 "./
|
9
|
-
import ie from "./
|
6
|
+
import { last as le } from "./index236.js";
|
7
|
+
import { useBaseOptions as ne } from "./index223.js";
|
8
|
+
import { useIndexById as re } from "./index222.js";
|
9
|
+
import ie from "./index257.js";
|
10
10
|
/* empty css */
|
11
|
-
import ue from "./
|
11
|
+
import ue from "./index259.js";
|
12
12
|
/* empty css */
|
13
13
|
import se from "./index215.js";
|
14
14
|
/* empty css */
|
15
15
|
import de from "./index217.js";
|
16
|
-
import { isEmpty as pe } from "./
|
16
|
+
import { isEmpty as pe } from "./index238.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/index49.js
CHANGED
@@ -3,7 +3,7 @@ import E from "./index215.js";
|
|
3
3
|
/* empty css */
|
4
4
|
import M from "./index217.js";
|
5
5
|
import { isNotNil as T } from "./index135.js";
|
6
|
-
import { Mask as q } from "./
|
6
|
+
import { Mask as q } from "./index266.js";
|
7
7
|
const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], H = /* @__PURE__ */ k({
|
8
8
|
__name: "BaseTextInput",
|
9
9
|
props: {
|
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 "./index240.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 "./index240.js";
|
3
|
+
import { isNil as B } from "./index265.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/index75.js
CHANGED
@@ -1,11 +1,11 @@
|
|
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 "./index271.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 "./
|
8
|
+
import N from "./index272.js";
|
9
9
|
import se from "./index211.js";
|
10
10
|
/* empty css */
|
11
11
|
import V from "./index127.js";
|
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/index86.js
CHANGED
@@ -1,5 +1,5 @@
|
|
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 "./index285.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import z from "./index13.js";
|
package/dist/index88.js
CHANGED
@@ -2,7 +2,7 @@ import { defineComponent as O, ref as n, computed as v, openBlock as y, createEl
|
|
2
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 "./index237.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
import U from "./index211.js";
|
@@ -147,7 +147,7 @@ const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
|
|
147
147
|
wrapper: r.value
|
148
148
|
}, {
|
149
149
|
default: T(() => [
|
150
|
-
p("
|
150
|
+
p("span", {
|
151
151
|
ref_key: "content",
|
152
152
|
ref: l,
|
153
153
|
class: "bb-popover__content"
|
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 "./index239.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/index220.js
DELETED
package/dist/index258.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 "./index235.js";
|
3
|
-
import { isNil as l } from "./index256.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/index277.js
DELETED
package/dist/index305.js
DELETED
package/dist/index329.js
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
function i(t) {
|
2
|
-
if (t = t.replace(/^#/, ""), !/^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$/.test(t))
|
3
|
-
throw new Error("Invalid hex code");
|
4
|
-
t.length === 3 && (t = t.split("").map((n) => n + n).join(""));
|
5
|
-
const r = parseInt(t.slice(0, 2), 16), s = parseInt(t.slice(2, 4), 16), o = parseInt(t.slice(4, 6), 16);
|
6
|
-
return [r, s, o];
|
7
|
-
}
|
8
|
-
export {
|
9
|
-
i as hexToRgb
|
10
|
-
};
|