bitboss-ui 2.0.166 → 2.0.168
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 +10 -10
- package/dist/components/BbPopover/BbPopover.vue.d.ts +10 -10
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +8 -8
- package/dist/components/CommonPopover.vue.d.ts +6 -6
- package/dist/index106.js +7 -7
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +10 -10
- package/dist/index129.js +2 -2
- package/dist/index13.js +1 -1
- package/dist/index131.js +8 -8
- package/dist/index133.js +1 -1
- package/dist/index136.js +1 -1
- package/dist/index138.js +1 -1
- package/dist/index139.js +2 -2
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index207.js +2 -2
- package/dist/index208.js +2 -2
- package/dist/index209.js +66 -2
- package/dist/index21.js +16 -16
- package/dist/index211.js +13 -2
- package/dist/index212.js +174 -38
- package/dist/index213.js +2 -6
- package/dist/index214.js +4 -7
- package/dist/index215.js +2 -15
- package/dist/index216.js +41 -13
- package/dist/index217.js +5 -33
- package/dist/index218.js +7 -4
- package/dist/index219.js +14 -19
- package/dist/index220.js +12 -93
- package/dist/index221.js +6 -0
- package/dist/index222.js +18 -198
- package/dist/index223.js +96 -0
- package/dist/index225.js +202 -0
- package/dist/index227.js +86 -2
- package/dist/index229.js +29 -16
- package/dist/index23.js +17 -17
- package/dist/index230.js +16 -8
- package/dist/index231.js +50 -10
- package/dist/index232.js +15 -101
- package/dist/index233.js +5 -0
- package/dist/index234.js +12 -23
- package/dist/index235.js +16 -2
- package/dist/index236.js +2 -177
- package/dist/index237.js +18 -3
- package/dist/index238.js +128 -5
- package/dist/index239.js +106 -5
- package/dist/index241.js +100 -5
- package/dist/index243.js +12 -5
- package/dist/index244.js +2 -2
- package/dist/index245.js +228 -2
- package/dist/index246.js +366 -7
- package/dist/index247.js +34 -3
- package/dist/index248.js +2 -51
- package/dist/index249.js +2 -17
- package/dist/index25.js +5 -5
- package/dist/index250.js +2 -106
- package/dist/index251.js +7 -0
- package/dist/index252.js +5 -100
- package/dist/index253.js +7 -0
- package/dist/index254.js +5 -2
- package/dist/index255.js +5 -3
- package/dist/index256.js +5 -86
- package/dist/index257.js +11 -0
- package/dist/index258.js +3 -29
- package/dist/index259.js +5 -15
- package/dist/index260.js +5 -12
- package/dist/index261.js +8 -16
- package/dist/index262.js +250 -10
- package/dist/index263.js +52 -3
- package/dist/index264.js +42 -16
- package/dist/index265.js +5 -128
- package/dist/index266.js +60 -12
- package/dist/index267.js +10 -228
- package/dist/index268.js +2 -367
- package/dist/index269.js +9 -5
- package/dist/index27.js +1 -1
- package/dist/index270.js +11 -5
- package/dist/index271.js +99 -6
- package/dist/index273.js +23 -52
- package/dist/index274.js +3 -44
- package/dist/index275.js +6 -5
- package/dist/index276.js +15 -59
- package/dist/index277.js +1 -1
- package/dist/index280.js +67 -5
- package/dist/index281.js +5 -67
- package/dist/index282.js +5 -4
- package/dist/index283.js +7 -470
- package/dist/index284.js +4 -2
- package/dist/index285.js +3 -7
- package/dist/index287.js +7 -2
- package/dist/index288.js +4 -3
- package/dist/index289.js +471 -3
- package/dist/index29.js +3 -3
- package/dist/index290.js +2 -3
- package/dist/index291.js +9 -0
- package/dist/index292.js +11 -7
- package/dist/index293.js +3 -200
- package/dist/index294.js +3 -701
- package/dist/index295.js +3 -354
- package/dist/index296.js +14 -55
- package/dist/index297.js +28 -3
- package/dist/index298.js +2 -5
- package/dist/index299.js +198 -278
- package/dist/index300.js +129 -2
- package/dist/index301.js +3 -125
- package/dist/index302.js +3 -2
- package/dist/index303.js +2 -16
- package/dist/index304.js +382 -2
- package/dist/index305.js +125 -15
- package/dist/index306.js +280 -2
- package/dist/index307.js +2 -19
- package/dist/index308.js +125 -2
- package/dist/index309.js +2 -15
- package/dist/index31.js +2 -2
- package/dist/index310.js +16 -2
- package/dist/index311.js +2 -5
- package/dist/index312.js +16 -3
- package/dist/index313.js +2 -3
- package/dist/index314.js +18 -16
- package/dist/index315.js +2 -6
- package/dist/index316.js +14 -4
- package/dist/index317.js +2 -8
- package/dist/index318.js +5 -28
- package/dist/index319.js +6 -3
- package/dist/index320.js +18 -3
- package/dist/index321.js +2 -19
- package/dist/index322.js +27 -2
- package/dist/index323.js +2 -27
- package/dist/index324.js +2 -2
- package/dist/index325.js +1 -1
- package/dist/index326.js +1 -1
- package/dist/index327.js +1 -1
- package/dist/index328.js +21 -1
- package/dist/index33.js +8 -8
- package/dist/index330.js +7 -0
- package/dist/index331.js +3 -129
- package/dist/index332.js +701 -2
- package/dist/index333.js +353 -381
- package/dist/index334.js +56 -124
- package/dist/index335.js +1 -1
- package/dist/index336.js +5 -93
- package/dist/index337.js +7 -58
- package/dist/index338.js +18 -57
- package/dist/index339.js +1 -1
- package/dist/index340.js +46 -7
- package/dist/index341.js +6 -5
- package/dist/index342.js +57 -7
- package/dist/index343.js +58 -7
- package/dist/index344.js +8 -5
- package/dist/index345.js +5 -32
- package/dist/index346.js +8 -28
- package/dist/index347.js +35 -0
- package/dist/index348.js +28 -7
- package/dist/index35.js +4 -4
- package/dist/index350.js +92 -46
- package/dist/index351.js +484 -0
- package/dist/index353.js +3 -481
- package/dist/index354.js +47 -2
- package/dist/index355.js +462 -463
- package/dist/index356.js +2 -47
- 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 +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 +18 -18
- 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 +4 -4
- package/dist/index92.js +2 -2
- package/dist/index94.js +17 -17
- package/dist/index96.js +1 -1
- package/package.json +2 -2
- package/dist/index210.js +0 -6
- package/dist/index224.js +0 -68
- package/dist/index226.js +0 -15
- package/dist/index228.js +0 -8
- package/dist/index240.js +0 -7
- package/dist/index242.js +0 -7
- package/dist/index272.js +0 -252
- package/dist/index286.js +0 -13
- package/dist/index329.js +0 -24
- package/dist/index349.js +0 -21
- package/dist/index352.js +0 -5
package/dist/index356.js
CHANGED
@@ -1,49 +1,4 @@
|
|
1
|
-
|
2
|
-
let i = e.initialDeps ?? [], t;
|
3
|
-
return () => {
|
4
|
-
var r, c, h, m;
|
5
|
-
let f;
|
6
|
-
e.key && ((r = e.debug) != null && r.call(e)) && (f = Date.now());
|
7
|
-
const o = n();
|
8
|
-
if (!(o.length !== i.length || o.some((a, u) => i[u] !== a)))
|
9
|
-
return t;
|
10
|
-
i = o;
|
11
|
-
let g;
|
12
|
-
if (e.key && ((c = e.debug) != null && c.call(e)) && (g = Date.now()), t = l(...o), e.key && ((h = e.debug) != null && h.call(e))) {
|
13
|
-
const a = Math.round((Date.now() - f) * 100) / 100, u = Math.round((Date.now() - g) * 100) / 100, w = u / 16, s = (d, b) => {
|
14
|
-
for (d = String(d); d.length < b; )
|
15
|
-
d = " " + d;
|
16
|
-
return d;
|
17
|
-
};
|
18
|
-
console.info(
|
19
|
-
`%c⏱ ${s(u, 5)} /${s(a, 5)} ms`,
|
20
|
-
`
|
21
|
-
font-size: .6rem;
|
22
|
-
font-weight: bold;
|
23
|
-
color: hsl(${Math.max(
|
24
|
-
0,
|
25
|
-
Math.min(120 - 120 * w, 120)
|
26
|
-
)}deg 100% 31%);`,
|
27
|
-
e == null ? void 0 : e.key
|
28
|
-
);
|
29
|
-
}
|
30
|
-
return (m = e == null ? void 0 : e.onChange) == null || m.call(e, t), t;
|
31
|
-
};
|
32
|
-
}
|
33
|
-
function T(n, l) {
|
34
|
-
if (n === void 0)
|
35
|
-
throw new Error("Unexpected undefined");
|
36
|
-
return n;
|
37
|
-
}
|
38
|
-
const y = (n, l) => Math.abs(n - l) < 1, M = (n, l, e) => {
|
39
|
-
let i;
|
40
|
-
return function(...t) {
|
41
|
-
n.clearTimeout(i), i = n.setTimeout(() => l.apply(this, t), e);
|
42
|
-
};
|
43
|
-
};
|
1
|
+
var e = { exports: {} };
|
44
2
|
export {
|
45
|
-
|
46
|
-
M as debounce,
|
47
|
-
D as memo,
|
48
|
-
T as notUndefined
|
3
|
+
e as __module
|
49
4
|
};
|
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 "./index111.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 "./index237.js";
|
10
|
+
import { useFloating as at } from "./index238.js";
|
11
11
|
import { useMounted as ot, useIntersectionObserver as nt } from "./index137.js";
|
12
12
|
import { wait as F } from "./index135.js";
|
13
|
-
import { when as ut } from "./
|
14
|
-
import rt from "./
|
13
|
+
import { when as ut } from "./index214.js";
|
14
|
+
import rt from "./index239.js";
|
15
15
|
/* empty css */
|
16
|
-
import it from "./
|
16
|
+
import it from "./index241.js";
|
17
17
|
/* empty css */
|
18
|
-
import st from "./
|
18
|
+
import st from "./index209.js";
|
19
19
|
/* empty css */
|
20
|
-
import dt from "./
|
21
|
-
import { waitFor as ct } from "./
|
22
|
-
import pt from "./
|
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 "./
|
31
|
-
import { useLocale as gt } from "./
|
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 "./
|
20
|
+
import dt from "./index211.js";
|
21
|
+
import { waitFor as ct } from "./index217.js";
|
22
|
+
import pt from "./index219.js";
|
23
|
+
import { useItemsGetter as mt } from "./index229.js";
|
24
|
+
import { usePrefill as ft } from "./index235.js";
|
25
|
+
import { useArray as vt } from "./index243.js";
|
26
|
+
import { useBaseOptions as yt } from "./index231.js";
|
27
|
+
import { useIndexById as ne } from "./index230.js";
|
28
|
+
import { useCoherence as ht } from "./index232.js";
|
29
|
+
import { hash as bt } from "./index233.js";
|
30
|
+
import { useHashedWatcher as ue } from "./index234.js";
|
31
|
+
import { useLocale as gt } from "./index220.js";
|
32
|
+
import { isEmpty as wt } from "./index244.js";
|
33
|
+
import Bt from "./index245.js";
|
34
|
+
import { autoUpdate as Vt, flip as kt, offset as It, shift as Ct } from "./index246.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, createElementBlock as g, openBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, createCommentVNode as H, Fragment as ee, renderList as ae, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeStyle as F, normalizeClass 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 "./index207.js";
|
3
|
+
import { head as O } from "./index249.js";
|
4
|
+
import { isCssColor as Y } from "./index213.js";
|
5
|
+
import { isNil as P } from "./index250.js";
|
6
6
|
import { isNotNil as ne } from "./index140.js";
|
7
7
|
import { transposeValue as y } from "./index136.js";
|
8
|
-
import { hash as J } from "./
|
8
|
+
import { hash as J } from "./index233.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, createElementBlock as h, openBlock as y, normalizeProps as r, guardReactiveProps as d, createCommentVNode as A, createElementVNode as l, mergeProps as V, renderSlot as F } from "vue";
|
2
|
-
import { isCssColor as b } from "./
|
3
|
-
import { when as N } from "./
|
2
|
+
import { isCssColor as b } from "./index213.js";
|
3
|
+
import { when as N } from "./index214.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, createBlock as z, openBlock 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 "./index227.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 "./index229.js";
|
7
|
+
import { useIndexById as T } from "./index230.js";
|
8
|
+
import { useBaseOptions as q } from "./index231.js";
|
9
|
+
import { useCoherence as J } from "./index232.js";
|
10
|
+
import { hash as Q } from "./index233.js";
|
11
|
+
import { useHashedWatcher as $ } from "./index234.js";
|
12
|
+
import { usePrefill as X } from "./index235.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 "./index111.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 "./index231.js";
|
8
|
+
import { useIndexById as re } from "./index230.js";
|
9
|
+
import ie from "./index239.js";
|
10
10
|
/* empty css */
|
11
|
-
import ue from "./
|
11
|
+
import ue from "./index241.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index209.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
15
|
+
import de from "./index211.js";
|
16
|
+
import { isEmpty as pe } from "./index244.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, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
|
2
|
-
import E from "./
|
3
|
-
import G from "./
|
2
|
+
import E from "./index211.js";
|
3
|
+
import G from "./index209.js";
|
4
4
|
/* empty css */
|
5
5
|
import M from "./index111.js";
|
6
6
|
/* empty css */
|
package/dist/index49.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as q, mergeProps as b, renderSlot as d } from "vue";
|
2
|
-
import E from "./
|
2
|
+
import E from "./index209.js";
|
3
3
|
/* empty css */
|
4
|
-
import I from "./
|
4
|
+
import I from "./index211.js";
|
5
5
|
import { isNotNil as N } from "./index140.js";
|
6
|
-
import { MaskInput as z } from "./
|
6
|
+
import { MaskInput as z } from "./index212.js";
|
7
7
|
const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
|
8
8
|
__name: "BaseTextInput",
|
9
9
|
props: {
|
package/dist/index53.js
CHANGED
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as b, computed as z, ref as o, onMounted as g, 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 "./index213.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 "./index213.js";
|
3
|
+
import { isNil as B } from "./index250.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 "./index267.js";
|
11
|
+
import { noop as w } from "./index268.js";
|
12
|
+
import { useLocale as D } from "./index220.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 "./index220.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,16 +1,16 @@
|
|
1
1
|
import { defineComponent as U, computed as V, useTemplateRef as q, ref as F, createBlock as h, openBlock as b, normalizeClass as W, withCtx as L, createElementBlock as T, createCommentVNode as D, unref as p, normalizeStyle as G, renderSlot as v, Fragment as A, renderList as J, createVNode as Q, mergeProps as X, createElementVNode as Y, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
|
2
|
-
import { findRightIndex as _ } from "./
|
2
|
+
import { findRightIndex as _ } from "./index269.js";
|
3
3
|
import { useId as te } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as oe } from "./index137.js";
|
5
|
-
import { useUntil as ne } from "./
|
5
|
+
import { useUntil as ne } from "./index270.js";
|
6
6
|
import { wait as ae } from "./index135.js";
|
7
7
|
import le from "./index13.js";
|
8
8
|
/* empty css */
|
9
9
|
import B from "./index85.js";
|
10
10
|
/* empty css */
|
11
|
-
import se from "./
|
11
|
+
import se from "./index271.js";
|
12
12
|
/* empty css */
|
13
|
-
import O from "./
|
13
|
+
import O from "./index273.js";
|
14
14
|
const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" }, $e = /* @__PURE__ */ U({
|
15
15
|
__name: "BbDropdown",
|
16
16
|
props: {
|
@@ -28,20 +28,20 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
|
|
28
28
|
items: {},
|
29
29
|
width: { default: 200 }
|
30
30
|
},
|
31
|
-
setup(
|
32
|
-
const u =
|
31
|
+
setup(R) {
|
32
|
+
const u = R, d = u.id ?? `bb_${te().id.value}`, c = V(() => {
|
33
33
|
let e = u.items.findIndex((o) => !o.disabled), a = _(
|
34
34
|
u.items,
|
35
35
|
(o) => !o.disabled
|
36
36
|
);
|
37
37
|
return u.items.map((o, t) => {
|
38
|
-
const n = `${d}-item-${o.key}`, { onClick: S, ...C } = o,
|
38
|
+
const n = `${d}-item-${o.key}`, { onClick: S, ...C } = o, z = async () => {
|
39
39
|
await f();
|
40
40
|
const s = document.querySelector(`#${d}`);
|
41
41
|
if (s) s instanceof HTMLElement && s.focus();
|
42
42
|
else return;
|
43
43
|
S && S();
|
44
|
-
},
|
44
|
+
}, N = (s) => {
|
45
45
|
if (s.target instanceof HTMLElement && s.target.dataset.dropdownItem) {
|
46
46
|
if (!i.value) return;
|
47
47
|
if (s.key === "ArrowDown") {
|
@@ -81,8 +81,8 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
|
|
81
81
|
key: o.key.split(/\W+/g).join("_").toLowerCase(),
|
82
82
|
disabled: C.disabled || u.disabled,
|
83
83
|
id: n,
|
84
|
-
onClick:
|
85
|
-
onKeydown:
|
84
|
+
onClick: z,
|
85
|
+
onKeydown: N
|
86
86
|
};
|
87
87
|
});
|
88
88
|
}), m = q("wrapper"), i = q("content");
|
@@ -93,9 +93,9 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
|
|
93
93
|
},
|
94
94
|
{ threshold: [0, 1] }
|
95
95
|
);
|
96
|
-
const l = F(!1), g = ne(l),
|
96
|
+
const l = F(!1), g = ne(l), K = () => {
|
97
97
|
l.value ? f() : E();
|
98
|
-
},
|
98
|
+
}, P = async (e) => {
|
99
99
|
let a = u.items.findIndex((t) => !t.disabled), o = _(
|
100
100
|
u.items,
|
101
101
|
(t) => !t.disabled
|
@@ -135,13 +135,13 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
|
|
135
135
|
}
|
136
136
|
f();
|
137
137
|
}
|
138
|
-
},
|
139
|
-
|
138
|
+
}, j = F(!1), E = async () => {
|
139
|
+
j.value = !0, await ae(50), l.value = !0, document.addEventListener("click", H, { passive: !0 }), document.addEventListener("focusin", I, { passive: !0 }), document.addEventListener("keydown", M, { passive: !0 });
|
140
140
|
}, f = async () => {
|
141
141
|
l.value = !1, document.removeEventListener("click", H), document.removeEventListener("focusin", I), document.removeEventListener("keydown", M);
|
142
142
|
};
|
143
143
|
return (e, a) => (b(), h(se, {
|
144
|
-
ref_key: "
|
144
|
+
ref_key: "wrapperRef",
|
145
145
|
ref: m,
|
146
146
|
"arrow-padding": e.arrowPadding,
|
147
147
|
block: e.block,
|
@@ -160,8 +160,8 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
|
|
160
160
|
"aria-expanded": p(g) ? l.value : !1,
|
161
161
|
"aria-controls": p(g) ? `menu_${p(d)}` : void 0,
|
162
162
|
id: p(d),
|
163
|
-
onClick:
|
164
|
-
onKeydown:
|
163
|
+
onClick: K,
|
164
|
+
onKeydown: P,
|
165
165
|
disabled: e.disabled
|
166
166
|
},
|
167
167
|
disabled: e.disabled,
|
@@ -173,7 +173,7 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
|
|
173
173
|
p(g) ? (b(), T("span", {
|
174
174
|
key: 0,
|
175
175
|
id: `menu_${p(d)}`,
|
176
|
-
ref_key: "
|
176
|
+
ref_key: "contentRef",
|
177
177
|
ref: i,
|
178
178
|
"aria-labelledby": p(d),
|
179
179
|
"aria-role": "menu",
|
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 "./index220.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 "./index276.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("./index275.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 "./index213.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 "./index274.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index90.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, onBeforeUnmount as A, onMounted as re, watch as ue, createBlock as ce, openBlock as g, withCtx as de, createElementVNode as s, mergeProps as E, createElementBlock as $, createCommentVNode as T, renderSlot as n, createTextVNode as fe, toDisplayString as H, unref as ve, nextTick as pe } from "vue";
|
2
|
-
import { useFocusTrap as be } from "./
|
2
|
+
import { useFocusTrap as be } from "./index216.js";
|
3
3
|
import { useId as I } from "./index8.js";
|
4
4
|
import { wait as D } from "./index135.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import me from "./
|
5
|
+
import { useModalsState as b } from "./index218.js";
|
6
|
+
import me from "./index219.js";
|
7
7
|
import { useMobile as ye } from "./index9.js";
|
8
|
-
import { useLocale as he } from "./
|
8
|
+
import { useLocale as he } from "./index220.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/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 "./index257.js";
|
7
|
+
import { useLocale as H } from "./index220.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,13 +1,13 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useId as
|
3
|
-
import { useIntersectionObserver as
|
4
|
-
import { useLocale as U } from "./
|
5
|
-
import { useUntil as W } from "./
|
1
|
+
import { defineComponent as R, useTemplateRef as b, ref as V, computed as w, createBlock as h, openBlock as c, normalizeClass as D, withCtx as u, createElementBlock as M, createCommentVNode as g, unref as k, renderSlot as y, createElementVNode as f, toDisplayString as z, normalizeProps as O, guardReactiveProps as S, nextTick as H } from "vue";
|
2
|
+
import { useId as I } from "./index8.js";
|
3
|
+
import { useIntersectionObserver as N } from "./index137.js";
|
4
|
+
import { useLocale as U } from "./index220.js";
|
5
|
+
import { useUntil as W } from "./index270.js";
|
6
6
|
import q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import A from "./
|
8
|
+
import A from "./index271.js";
|
9
9
|
/* empty css */
|
10
|
-
const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @__PURE__ */
|
10
|
+
const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @__PURE__ */ R({
|
11
11
|
__name: "BbPopover",
|
12
12
|
props: {
|
13
13
|
arrowPadding: { default: 10 },
|
@@ -27,15 +27,15 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
|
|
27
27
|
},
|
28
28
|
emits: ["shown", "hidden"],
|
29
29
|
setup(C, { expose: $, emit: L }) {
|
30
|
-
const a = C, n = L, { t: _ } = U(), { id: B } =
|
31
|
-
|
30
|
+
const a = C, n = L, { t: _ } = U(), { id: B } = I(), i = `bbp_${B.value}`, r = b("wrapper"), d = b("content");
|
31
|
+
N(
|
32
32
|
r,
|
33
33
|
async ([{ intersectionRatio: e }]) => {
|
34
34
|
e !== 1 && o.value && (await l(), n("hidden"));
|
35
35
|
},
|
36
36
|
{ threshold: [0, 1] }
|
37
37
|
);
|
38
|
-
const o =
|
38
|
+
const o = V(!1), T = W(o), m = (e) => {
|
39
39
|
var t;
|
40
40
|
e.target instanceof HTMLElement && ((t = d.value) != null && t.contains(e.target) || l());
|
41
41
|
}, P = async () => {
|
@@ -51,7 +51,7 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
|
|
51
51
|
if (a.disabled) return;
|
52
52
|
await P();
|
53
53
|
let e = a.focusTarget ?? ".bb-popover__close";
|
54
|
-
await
|
54
|
+
await H();
|
55
55
|
const t = (s = d.value) == null ? void 0 : s.querySelector(e);
|
56
56
|
t instanceof HTMLElement && (t.focus(), n("shown"));
|
57
57
|
}, p = async () => {
|
@@ -67,13 +67,13 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
|
|
67
67
|
close: p,
|
68
68
|
closed: w(() => !o.value)
|
69
69
|
}), (e, t) => (c(), h(A, {
|
70
|
-
ref_key: "
|
70
|
+
ref_key: "wrapperRef",
|
71
71
|
ref: r,
|
72
72
|
modelValue: o.value,
|
73
73
|
"onUpdate:modelValue": t[0] || (t[0] = (s) => o.value = s),
|
74
74
|
"arrow-padding": e.arrowPadding,
|
75
75
|
block: e.block,
|
76
|
-
class:
|
76
|
+
class: D(["bb-popover", {
|
77
77
|
[`bb-popover--${e.theme}`]: !0
|
78
78
|
}]),
|
79
79
|
"container-attributes": {
|
@@ -89,7 +89,7 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
|
|
89
89
|
"transition-duration": e.transitionDuration
|
90
90
|
}, {
|
91
91
|
activator: u(() => [
|
92
|
-
y(e.$slots, "activator", S(
|
92
|
+
y(e.$slots, "activator", O(S({
|
93
93
|
props: {
|
94
94
|
"aria-controls": `popover_${i}`,
|
95
95
|
"aria-expanded": o.value,
|
@@ -103,9 +103,9 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
|
|
103
103
|
})))
|
104
104
|
]),
|
105
105
|
default: u(() => [
|
106
|
-
k(T) ? (c(),
|
106
|
+
k(T) ? (c(), M("span", {
|
107
107
|
key: 0,
|
108
|
-
ref_key: "
|
108
|
+
ref_key: "contentRef",
|
109
109
|
ref: d,
|
110
110
|
class: "bb-popover__content",
|
111
111
|
inert: !o.value
|
@@ -116,7 +116,7 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
|
|
116
116
|
onClick: p
|
117
117
|
}, {
|
118
118
|
default: u(() => [
|
119
|
-
f("span", j,
|
119
|
+
f("span", j, z(e.closeLabel || k(_)("common.closeLabel").value), 1),
|
120
120
|
t[1] || (t[1] = f("svg", {
|
121
121
|
fill: "none",
|
122
122
|
viewBox: "0 0 24 24",
|
package/dist/index96.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, computed as a, createElementBlock as l, openBlock 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 "./index136.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "bitboss-ui",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.168",
|
4
4
|
"type": "module",
|
5
5
|
"sideEffects": false,
|
6
6
|
"scripts": {
|
@@ -86,7 +86,7 @@
|
|
86
86
|
"import": "./dist/index.js"
|
87
87
|
},
|
88
88
|
"./styles.css": {
|
89
|
-
"import": "./dist/
|
89
|
+
"import": "./dist/index.css"
|
90
90
|
}
|
91
91
|
},
|
92
92
|
"types": "./dist/index.d.ts",
|