bitboss-ui 2.1.115 → 2.1.116
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/ai/BbTab.md +7 -7
- package/dist/index109.js +9 -9
- package/dist/index110.js +18 -18
- package/dist/index118.js +1 -1
- package/dist/index124.js +72 -74
- package/dist/index126.js +13 -13
- package/dist/index134.js +1 -1
- package/dist/index136.js +5 -5
- package/dist/index138.js +1 -1
- package/dist/index14.js +1 -1
- package/dist/index140.js +2 -2
- package/dist/index144.js +1 -1
- package/dist/index146.js +2 -2
- package/dist/index16.js +3 -3
- package/dist/index18.js +3 -3
- package/dist/index20.js +9 -9
- package/dist/index22.js +14 -14
- package/dist/index221.js +2 -138
- package/dist/index222.js +138 -2
- package/dist/index224.js +1 -1
- package/dist/index225.js +1 -1
- package/dist/index226.js +4 -34
- package/dist/index227.js +13 -5
- package/dist/index228.js +20 -5
- package/dist/index229.js +2 -5
- package/dist/index230.js +2 -5
- package/dist/index231.js +3 -3
- package/dist/index232.js +86 -2
- package/dist/index234.js +30 -8
- package/dist/index235.js +17 -268
- package/dist/index236.js +49 -50
- package/dist/index237.js +18 -52
- package/dist/index238.js +3 -32
- package/dist/index239.js +12 -60
- package/dist/index24.js +10 -10
- package/dist/index240.js +18 -13
- package/dist/index241.js +7 -187
- package/dist/index242.js +34 -3
- package/dist/index243.js +10 -2
- package/dist/index244.js +3 -2
- package/dist/index245.js +4 -2
- package/dist/index246.js +12 -12
- package/dist/index247.js +135 -13
- package/dist/index249.js +22 -16
- package/dist/index250.js +5 -106
- package/dist/index251.js +7 -0
- package/dist/index252.js +5 -100
- package/dist/index253.js +7 -0
- package/dist/index254.js +5 -3
- package/dist/index255.js +5 -2
- package/dist/index256.js +3 -4
- package/dist/index257.js +25 -20
- package/dist/index258.js +3 -6
- package/dist/index259.js +12 -15
- package/dist/index26.js +3 -3
- package/dist/index260.js +5 -86
- package/dist/index261.js +4 -0
- package/dist/index262.js +6 -30
- package/dist/index263.js +268 -18
- package/dist/index264.js +52 -12
- package/dist/index265.js +52 -18
- package/dist/index266.js +32 -2
- package/dist/index267.js +60 -7
- package/dist/index268.js +8 -6
- package/dist/index269.js +2 -3
- package/dist/index270.js +2 -4
- package/dist/index271.js +4 -5
- package/dist/index272.js +9 -5
- package/dist/index273.js +53 -5
- package/dist/index274.js +11 -135
- package/dist/index275.js +20 -0
- package/dist/index276.js +12 -9
- package/dist/index277.js +31 -8
- package/dist/index279.js +107 -4
- package/dist/index28.js +1 -1
- package/dist/index280.js +6 -23
- package/dist/index281.js +19 -371
- package/dist/index282.js +9 -0
- package/dist/index283.js +7 -31
- package/dist/index284.js +23 -3
- package/dist/index285.js +106 -25
- package/dist/index287.js +99 -17
- package/dist/index289.js +2 -107
- package/dist/index290.js +7 -11
- package/dist/index291.js +7 -67
- package/dist/index292.js +5 -32
- package/dist/{index286.js → index293.js} +1 -1
- package/dist/index294.js +27 -5
- package/dist/index296.js +67 -3
- package/dist/index297.js +371 -7
- package/dist/index299.js +6 -5
- package/dist/index30.js +3 -3
- package/dist/index300.js +15 -20
- package/dist/index301.js +188 -28
- package/dist/index302.js +5 -0
- package/dist/index303.js +2 -7
- package/dist/index304.js +3 -2
- package/dist/index305.js +7 -280
- package/dist/index306.js +3 -2
- package/dist/index307.js +17 -16
- package/dist/index308.js +28 -2
- package/dist/index309.js +5 -16
- package/dist/index310.js +280 -2
- package/dist/index311.js +2 -27
- package/dist/index312.js +16 -2
- package/dist/index313.js +2 -2
- package/dist/index314.js +16 -2
- package/dist/index315.js +2 -2
- package/dist/index316.js +27 -2
- package/dist/index317.js +2 -28
- package/dist/index318.js +1 -1
- package/dist/index319.js +2 -7
- package/dist/index32.js +2 -2
- package/dist/index320.js +2 -719
- package/dist/index321.js +2 -366
- package/dist/index322.js +2 -57
- package/dist/index323.js +125 -4
- package/dist/index324.js +2 -3
- package/dist/index325.js +15 -17
- package/dist/index326.js +2 -3
- package/dist/index327.js +19 -3
- package/dist/index328.js +2 -3
- package/dist/index329.js +1 -1
- package/dist/index330.js +2 -125
- package/dist/index331.js +4 -2
- package/dist/index332.js +3 -14
- package/dist/index333.js +3 -2
- package/dist/index334.js +3 -19
- package/dist/index335.js +5 -2
- package/dist/index336.js +6 -5
- package/dist/index337.js +3 -5
- package/dist/index338.js +1 -1
- package/dist/index339.js +3 -4
- package/dist/index34.js +8 -8
- package/dist/index340.js +7 -2
- package/dist/index341.js +19 -3
- package/dist/index342.js +9 -3
- package/dist/index343.js +14 -5
- package/dist/index344.js +5 -7
- package/dist/index345.js +5 -17
- package/dist/index346.js +67 -9
- package/dist/index347.js +66 -14
- package/dist/index348.js +228 -5
- package/dist/index349.js +34 -6
- package/dist/index350.js +128 -66
- package/dist/index351.js +396 -65
- package/dist/index352.js +719 -35
- package/dist/index353.js +366 -129
- package/dist/index354.js +53 -394
- package/dist/index355.js +198 -91
- package/dist/index356.js +257 -226
- package/dist/index36.js +4 -4
- package/dist/index360.js +133 -199
- package/dist/index361.js +91 -257
- package/dist/index362.js +2 -134
- package/dist/index363.js +1 -1
- package/dist/index364.js +441 -2
- package/dist/index365.js +114 -427
- package/dist/index366.js +46 -127
- package/dist/index367.js +67 -44
- package/dist/index368.js +516 -66
- package/dist/index369.js +45 -515
- package/dist/index38.js +21 -21
- package/dist/index40.js +7 -7
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +6 -6
- package/dist/index50.js +2 -2
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index58.js +2 -2
- package/dist/index60.js +2 -2
- package/dist/index62.js +5 -5
- package/dist/index68.js +1 -1
- package/dist/index74.js +4 -4
- package/dist/index82.js +6 -6
- package/dist/index84.js +1 -1
- package/dist/index86.js +2 -2
- package/dist/index88.js +3 -3
- package/dist/index90.js +1 -1
- package/dist/index93.js +3 -3
- package/dist/index95.js +2 -2
- package/dist/index97.js +5 -5
- package/dist/index99.js +1 -1
- package/package.json +1 -1
- package/dist/index233.js +0 -8
- package/dist/index248.js +0 -53
- package/dist/index278.js +0 -25
- package/dist/index288.js +0 -14
- package/dist/index295.js +0 -12
- package/dist/index298.js +0 -55
- package/dist/index370.js +0 -52
package/dist/ai/BbTab.md
CHANGED
|
@@ -116,7 +116,6 @@ import BaseButton from '../BaseButton/BaseButton.vue';
|
|
|
116
116
|
import BbSmoothHeight from '../BbSmoothHeight/BbSmoothHeight.vue';
|
|
117
117
|
import { onMounted } from 'vue';
|
|
118
118
|
import { useFrameworkDetection } from '@/composables/useFrameworkDetection';
|
|
119
|
-
import { merge } from '@/utilities/functions/merge';
|
|
120
119
|
import { isNil } from '@/utilities/functions/isNil';
|
|
121
120
|
import { useQuery } from '@/composables/useQuery';
|
|
122
121
|
import { hash } from '@/utilities/functions/hash';
|
|
@@ -294,12 +293,13 @@ const onTabSelected = (tab: BbTabItem<K>['key'], replace = props.replace) => {
|
|
|
294
293
|
if (props.navigation && route.value && queryTabParam.value !== tab) {
|
|
295
294
|
if (!router) return;
|
|
296
295
|
const method = replace ? 'replace' : 'push';
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
296
|
+
|
|
297
|
+
const nextQuery = {
|
|
298
|
+
...(route.value?.query ?? {}),
|
|
299
|
+
[props.querykey]: tab,
|
|
300
|
+
};
|
|
301
|
+
const nextRoute = { ...route.value, query: nextQuery };
|
|
302
|
+
router[method](nextRoute);
|
|
303
303
|
/* Inertia context — server visit (real round-trip, supports partial reloads) */
|
|
304
304
|
} else if (props.navigation && isInertia) {
|
|
305
305
|
const urlString = tabItem.href ?? globalThis.location.href;
|
package/dist/index109.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as D, computed as b, toRef as r, ref as E, reactive as L, watch as m, createElementBlock as V, openBlock as g, Fragment as B, renderSlot as i, createCommentVNode as P, unref as R, renderList as j } from "vue";
|
|
2
|
-
import { useItemValue as G } from "./
|
|
3
|
-
import { isNil as k } from "./
|
|
4
|
-
import { indexBy as U } from "./
|
|
5
|
-
import { hash as p } from "./
|
|
6
|
-
import { useItemsGetter as W } from "./
|
|
7
|
-
import { usePrefill as q } from "./
|
|
8
|
-
import { useIndexById as z } from "./
|
|
9
|
-
import { useBaseOptions as J } from "./
|
|
10
|
-
import { useHashedWatcher as K } from "./
|
|
2
|
+
import { useItemValue as G } from "./index272.js";
|
|
3
|
+
import { isNil as k } from "./index269.js";
|
|
4
|
+
import { indexBy as U } from "./index281.js";
|
|
5
|
+
import { hash as p } from "./index238.js";
|
|
6
|
+
import { useItemsGetter as W } from "./index234.js";
|
|
7
|
+
import { usePrefill as q } from "./index240.js";
|
|
8
|
+
import { useIndexById as z } from "./index235.js";
|
|
9
|
+
import { useBaseOptions as J } from "./index236.js";
|
|
10
|
+
import { useHashedWatcher as K } from "./index239.js";
|
|
11
11
|
const oe = /* @__PURE__ */ D({
|
|
12
12
|
__name: "BbRows",
|
|
13
13
|
props: {
|
package/dist/index110.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineComponent as at, ref as f, computed as l, watch as Q, toRef as X, onBeforeUnmount as rt, createElementBlock as Y, openBlock as Z, Fragment as nt, renderSlot as m, createCommentVNode as it, createVNode as F, normalizeProps as ye, mergeProps as ge, normalizeStyle as lt, normalizeClass as st, withCtx as g, createElementVNode as L, withDirectives as ut, withKeys as h, withModifiers as d, unref as V, vModelDynamic as ct, guardReactiveProps as dt, nextTick as we } from "vue";
|
|
2
|
-
import { extractDomContainer as pt } from "./
|
|
3
|
-
import { get as vt } from "./
|
|
4
|
-
import { hash as ee } from "./
|
|
5
|
-
import { isNil as ft } from "./
|
|
6
|
-
import { matchAnyKey as Be } from "./
|
|
7
|
-
import { parseWidthString as mt } from "./
|
|
8
|
-
import { useArray as ht } from "./
|
|
9
|
-
import { useBaseOptions as bt } from "./
|
|
10
|
-
import { useCoherence as yt } from "./
|
|
2
|
+
import { extractDomContainer as pt } from "./index245.js";
|
|
3
|
+
import { get as vt } from "./index274.js";
|
|
4
|
+
import { hash as ee } from "./index238.js";
|
|
5
|
+
import { isNil as ft } from "./index269.js";
|
|
6
|
+
import { matchAnyKey as Be } from "./index275.js";
|
|
7
|
+
import { parseWidthString as mt } from "./index249.js";
|
|
8
|
+
import { useArray as ht } from "./index276.js";
|
|
9
|
+
import { useBaseOptions as bt } from "./index236.js";
|
|
10
|
+
import { useCoherence as yt } from "./index237.js";
|
|
11
11
|
import { useElementSize as gt, useIntersectionObserver as wt } from "./index146.js";
|
|
12
|
-
import { useHashedWatcher as Ae } from "./
|
|
12
|
+
import { useHashedWatcher as Ae } from "./index239.js";
|
|
13
13
|
import { useId as Bt } from "./index8.js";
|
|
14
|
-
import { useIndexById as Ve } from "./
|
|
15
|
-
import { useItemsGetter as At } from "./
|
|
14
|
+
import { useIndexById as Ve } from "./index235.js";
|
|
15
|
+
import { useItemsGetter as At } from "./index234.js";
|
|
16
16
|
import { useMobile as Vt } from "./index9.js";
|
|
17
|
-
import { usePrefill as It } from "./
|
|
18
|
-
import { useUntil as xt } from "./
|
|
17
|
+
import { usePrefill as It } from "./index240.js";
|
|
18
|
+
import { useUntil as xt } from "./index246.js";
|
|
19
19
|
import { wait as C } from "./index145.js";
|
|
20
20
|
/* empty css */
|
|
21
21
|
/* empty css */
|
|
22
22
|
import Et from "./index118.js";
|
|
23
23
|
/* empty css */
|
|
24
|
-
import St from "./
|
|
24
|
+
import St from "./index247.js";
|
|
25
25
|
/* empty css */
|
|
26
|
-
import kt from "./
|
|
26
|
+
import kt from "./index277.js";
|
|
27
27
|
/* empty css */
|
|
28
|
-
import Dt from "./
|
|
29
|
-
import { waitFor as Lt } from "./
|
|
28
|
+
import Dt from "./index279.js";
|
|
29
|
+
import { waitFor as Lt } from "./index280.js";
|
|
30
30
|
const Ct = {
|
|
31
31
|
key: 0,
|
|
32
32
|
class: "bb-select-popover__search-container"
|
package/dist/index118.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, computed as s, createElementBlock as b, openBlock as _, mergeProps as a, createStaticVNode as x } from "vue";
|
|
2
|
-
import { isCssColor as m } from "./
|
|
2
|
+
import { isCssColor as m } from "./index229.js";
|
|
3
3
|
const d = /* @__PURE__ */ p({
|
|
4
4
|
__name: "BbSpinner",
|
|
5
5
|
props: {
|
package/dist/index124.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as fe, ref as r, computed as
|
|
1
|
+
import { defineComponent as fe, ref as r, computed as b, getCurrentInstance as be, watch as v, nextTick as J, onMounted as ve, createElementBlock as y, openBlock as f, normalizeClass as w, unref as he, createElementVNode as h, renderSlot as g, normalizeProps as Q, guardReactiveProps as X, normalizeStyle as me, Fragment as Y, renderList as M, createVNode as pe, withCtx as T, toDisplayString as ye, createBlock as U, resolveDynamicComponent as ge, Transition as ke, createCommentVNode as _e } from "vue";
|
|
2
2
|
import { useId as Se } from "./index8.js";
|
|
3
3
|
import { useRoute as we } from "./index152.js";
|
|
4
4
|
import { useRouter as xe } from "./index153.js";
|
|
@@ -8,13 +8,12 @@ import Ce from "./index14.js";
|
|
|
8
8
|
import Be from "./index116.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { useFrameworkDetection as Te } from "./index147.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-tab__label" }, De = { class: "bb-tab__panes-container" }, We = ["id", "aria-labelledby", "tabindex"], rt = /* @__PURE__ */ fe({
|
|
11
|
+
import { isNil as qe } from "./index269.js";
|
|
12
|
+
import { useQuery as Le } from "./index11.js";
|
|
13
|
+
import { hash as Fe } from "./index238.js";
|
|
14
|
+
import { isNotNil as Ee } from "./index150.js";
|
|
15
|
+
import { useLogger as Ne } from "./index241.js";
|
|
16
|
+
const Pe = ["id"], Re = { class: "bb-tab__label-boundary" }, Ve = { class: "bb-tab__label" }, Ke = { class: "bb-tab__panes-container" }, De = ["id", "aria-labelledby", "tabindex"], ot = /* @__PURE__ */ fe({
|
|
18
17
|
__name: "BbTab",
|
|
19
18
|
props: {
|
|
20
19
|
disabled: { type: Boolean },
|
|
@@ -43,19 +42,19 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
43
42
|
},
|
|
44
43
|
emits: ["update:modelValue"],
|
|
45
44
|
setup(G, { expose: Z, emit: ee }) {
|
|
46
|
-
const t = G, te = ee,
|
|
45
|
+
const t = G, te = ee, k = we(), q = xe(), { error: L } = Ne(), ne = r(), F = t.id ?? Se().id.value, x = `bb-tab_${F}`, i = r(), { isScrolling: se, arrivedState: E } = $e(i), N = b(() => ({
|
|
47
46
|
isScrolling: se.value,
|
|
48
47
|
left: E.left,
|
|
49
48
|
right: E.right
|
|
50
|
-
})), { isInertia: le } = Te(), oe = be(), a = r(null), c =
|
|
49
|
+
})), { isInertia: le } = Te(), oe = be(), a = r(null), c = b(
|
|
51
50
|
() => t.items.findIndex((e) => e.key === a.value)
|
|
52
|
-
),
|
|
51
|
+
), _ = b(() => c.value === 0), S = b(() => c.value === t.items.length - 1);
|
|
53
52
|
t.items.forEach((e) => {
|
|
54
53
|
e.key ? (t.server || e.server) && !t.navigation && L(
|
|
55
54
|
`A tab item has a server property but the navigation prop is false: ${JSON.stringify(e, null, 2)}`
|
|
56
55
|
) : L(`A tab item has no key: ${JSON.stringify(e, null, 2)}`);
|
|
57
56
|
});
|
|
58
|
-
const P =
|
|
57
|
+
const P = b(() => [Le()[t.querykey]].flat()[0]), R = () => {
|
|
59
58
|
const e = P.value;
|
|
60
59
|
if (t.navigation && e)
|
|
61
60
|
a.value = e;
|
|
@@ -71,7 +70,7 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
71
70
|
a.value = n;
|
|
72
71
|
}
|
|
73
72
|
};
|
|
74
|
-
|
|
73
|
+
R();
|
|
75
74
|
const ae = (e) => ({
|
|
76
75
|
headers: e.headers ?? t.headers,
|
|
77
76
|
only: e.only ?? t.only,
|
|
@@ -85,10 +84,10 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
85
84
|
onError: e.onError ?? t.onError,
|
|
86
85
|
onCancel: e.onCancel ?? t.onCancel,
|
|
87
86
|
onFinish: e.onFinish ?? t.onFinish
|
|
88
|
-
}),
|
|
87
|
+
}), V = b(() => {
|
|
89
88
|
const e = a.value, s = c.value;
|
|
90
89
|
return t.items.map((o) => {
|
|
91
|
-
const { key: l, label:
|
|
90
|
+
const { key: l, label: u, eager: I } = o, C = `${x}_tab_${o.key}`, j = `${x}_tabpanel_${o.key}`, B = `label-${o.key}`, p = o.key === a.value, ie = {
|
|
92
91
|
"bb-tab__btn": !0,
|
|
93
92
|
"bb-tab__btn--active": p
|
|
94
93
|
}, ce = {
|
|
@@ -109,37 +108,36 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
109
108
|
disabled: de,
|
|
110
109
|
current: e,
|
|
111
110
|
key: l,
|
|
112
|
-
label:
|
|
111
|
+
label: u,
|
|
113
112
|
currentIndex: s,
|
|
114
|
-
onClick: () =>
|
|
113
|
+
onClick: () => m(o.key),
|
|
115
114
|
onKeydown: (ue) => re(ue)
|
|
116
115
|
};
|
|
117
116
|
});
|
|
118
|
-
}),
|
|
117
|
+
}), m = (e, s = t.replace) => {
|
|
119
118
|
const n = t.items.find((o) => o.key === e);
|
|
120
|
-
if (!
|
|
121
|
-
if (t.navigation &&
|
|
119
|
+
if (!qe(n) && n.key !== a.value) {
|
|
120
|
+
if (t.navigation && k.value && P.value !== e) {
|
|
122
121
|
if (!q) return;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
);
|
|
122
|
+
const o = s ? "replace" : "push", l = {
|
|
123
|
+
...k.value?.query ?? {},
|
|
124
|
+
[t.querykey]: e
|
|
125
|
+
}, u = { ...k.value, query: l };
|
|
126
|
+
q[o](u);
|
|
129
127
|
} else if (t.navigation && le) {
|
|
130
128
|
const o = n.href ?? globalThis.location.href, l = new URL(o, window.location.origin);
|
|
131
129
|
if (l.searchParams.set(t.querykey, e), t.server || n.server) {
|
|
132
|
-
const
|
|
133
|
-
Object.entries(I).filter(([j, B]) =>
|
|
130
|
+
const u = oe?.proxy?.$inertia, I = ae(n), C = Object.fromEntries(
|
|
131
|
+
Object.entries(I).filter(([j, B]) => Ee(B))
|
|
134
132
|
);
|
|
135
|
-
|
|
133
|
+
u.visit(l.toString(), C);
|
|
136
134
|
} else
|
|
137
135
|
s ? window.history.replaceState(window.history.state, "", l.toString()) : window.history.pushState(window.history.state, "", l.toString());
|
|
138
136
|
}
|
|
139
137
|
t.modelValue !== e && te("update:modelValue", e), a.value = e;
|
|
140
138
|
}
|
|
141
139
|
};
|
|
142
|
-
a.value &&
|
|
140
|
+
a.value && m(a.value, !0);
|
|
143
141
|
const d = (e) => {
|
|
144
142
|
var s = null;
|
|
145
143
|
switch (e) {
|
|
@@ -170,7 +168,7 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
170
168
|
const n = t.items[s].key;
|
|
171
169
|
document.querySelector(
|
|
172
170
|
`#${x}_tab_${n}`
|
|
173
|
-
)?.focus(),
|
|
171
|
+
)?.focus(), m(n);
|
|
174
172
|
}, re = (e) => {
|
|
175
173
|
if (!t.disabled)
|
|
176
174
|
if (e.key === "ArrowRight")
|
|
@@ -184,17 +182,17 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
184
182
|
else
|
|
185
183
|
return;
|
|
186
184
|
};
|
|
187
|
-
|
|
185
|
+
v(
|
|
188
186
|
() => t.modelValue,
|
|
189
187
|
(e) => {
|
|
190
|
-
e &&
|
|
188
|
+
e && m(e);
|
|
191
189
|
}
|
|
192
|
-
),
|
|
193
|
-
() =>
|
|
190
|
+
), v(
|
|
191
|
+
() => k.value?.query?.[t.querykey],
|
|
194
192
|
(e) => {
|
|
195
|
-
e && typeof e == "string" &&
|
|
193
|
+
e && typeof e == "string" && m(e);
|
|
196
194
|
}
|
|
197
|
-
),
|
|
195
|
+
), v(
|
|
198
196
|
a,
|
|
199
197
|
async () => {
|
|
200
198
|
if (!i.value) return;
|
|
@@ -203,8 +201,8 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
203
201
|
);
|
|
204
202
|
if (!e) return;
|
|
205
203
|
await J();
|
|
206
|
-
const s = i.value, n = e.offsetLeft, o = n + e.offsetWidth, l = s.scrollLeft,
|
|
207
|
-
n < l ? s.scrollTo({ left: n, behavior: "smooth" }) : o >
|
|
204
|
+
const s = i.value, n = e.offsetLeft, o = n + e.offsetWidth, l = s.scrollLeft, u = l + s.clientWidth;
|
|
205
|
+
n < l ? s.scrollTo({ left: n, behavior: "smooth" }) : o > u && s.scrollTo({
|
|
208
206
|
left: o - s.clientWidth,
|
|
209
207
|
behavior: "smooth"
|
|
210
208
|
});
|
|
@@ -212,7 +210,7 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
212
210
|
{ flush: "post" }
|
|
213
211
|
);
|
|
214
212
|
const K = r("right");
|
|
215
|
-
|
|
213
|
+
v(
|
|
216
214
|
a,
|
|
217
215
|
(e, s) => {
|
|
218
216
|
if (e && s) {
|
|
@@ -230,44 +228,44 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
230
228
|
);
|
|
231
229
|
e && (O.value = e.offsetLeft, z.value = e.offsetTop, D.value = e.clientWidth, W.value = e.clientHeight, A.value = i.value.scrollWidth);
|
|
232
230
|
};
|
|
233
|
-
return
|
|
231
|
+
return ve(async () => {
|
|
234
232
|
$(), await J(), H.value = !0;
|
|
235
|
-
}),
|
|
233
|
+
}), v(a, $, { flush: "post" }), Ie(i, () => {
|
|
236
234
|
$();
|
|
237
|
-
}),
|
|
238
|
-
() =>
|
|
235
|
+
}), v(
|
|
236
|
+
() => Fe(t.items),
|
|
239
237
|
() => {
|
|
240
|
-
a.value && !t.items.find((e) => e.key === a.value) &&
|
|
238
|
+
a.value && !t.items.find((e) => e.key === a.value) && R();
|
|
241
239
|
},
|
|
242
240
|
{
|
|
243
241
|
immediate: !0,
|
|
244
242
|
deep: !0
|
|
245
243
|
}
|
|
246
244
|
), Z({
|
|
247
|
-
isFirst:
|
|
248
|
-
isLast:
|
|
245
|
+
isFirst: _,
|
|
246
|
+
isLast: S,
|
|
249
247
|
current: a,
|
|
250
248
|
currentIndex: c,
|
|
251
249
|
goTo: d
|
|
252
|
-
}), (e, s) => (
|
|
250
|
+
}), (e, s) => (f(), y("div", {
|
|
253
251
|
id: he(F),
|
|
254
252
|
ref_key: "tabs",
|
|
255
253
|
ref: ne,
|
|
256
|
-
class:
|
|
254
|
+
class: w(["bb-tab", {
|
|
257
255
|
[`bb-tab--${e.direction}`]: !0,
|
|
258
256
|
"bb-tab--disabled": e.disabled
|
|
259
257
|
}])
|
|
260
258
|
}, [
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
g(e.$slots, "header:prepend", X(
|
|
259
|
+
h("div", Re, [
|
|
260
|
+
h("span", null, [
|
|
261
|
+
g(e.$slots, "header:prepend", Q(X(N.value)))
|
|
264
262
|
]),
|
|
265
|
-
|
|
263
|
+
h("ul", {
|
|
266
264
|
ref_key: "tablist",
|
|
267
265
|
ref: i,
|
|
268
|
-
class:
|
|
266
|
+
class: w(["bb-tab__label-container", { "bb-tab__label-container--no-transition": !H.value }]),
|
|
269
267
|
role: "tablist",
|
|
270
|
-
style:
|
|
268
|
+
style: me({
|
|
271
269
|
"--inner-width": `${A.value}px`,
|
|
272
270
|
"--width": `${D.value}px`,
|
|
273
271
|
"--height": `${W.value}px`,
|
|
@@ -275,14 +273,14 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
275
273
|
"--top": `${z.value}px`
|
|
276
274
|
})
|
|
277
275
|
}, [
|
|
278
|
-
(
|
|
276
|
+
(f(!0), y(Y, null, M(V.value, (n) => (f(), y("li", {
|
|
279
277
|
key: n.tabId,
|
|
280
278
|
role: "presentation"
|
|
281
279
|
}, [
|
|
282
280
|
pe(Ce, {
|
|
283
281
|
id: n.tabId,
|
|
284
282
|
"aria-selected": n.ariaSelected,
|
|
285
|
-
class:
|
|
283
|
+
class: w(n.tabClasses),
|
|
286
284
|
disabled: n.disabled,
|
|
287
285
|
role: "tab",
|
|
288
286
|
tabindex: n.tabindex,
|
|
@@ -295,8 +293,8 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
295
293
|
currentIndex: c.value,
|
|
296
294
|
disabled: n.disabled,
|
|
297
295
|
goTo: d,
|
|
298
|
-
isFirst:
|
|
299
|
-
isLast:
|
|
296
|
+
isFirst: _.value,
|
|
297
|
+
isLast: S.value,
|
|
300
298
|
selected: n.active,
|
|
301
299
|
text: n.label,
|
|
302
300
|
value: n.key
|
|
@@ -306,13 +304,13 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
306
304
|
currentIndex: c.value,
|
|
307
305
|
disabled: n.disabled,
|
|
308
306
|
goTo: d,
|
|
309
|
-
isFirst:
|
|
310
|
-
isLast:
|
|
307
|
+
isFirst: _.value,
|
|
308
|
+
isLast: S.value,
|
|
311
309
|
selected: n.active,
|
|
312
310
|
text: n.label,
|
|
313
311
|
value: n.key
|
|
314
312
|
}, () => [
|
|
315
|
-
|
|
313
|
+
h("span", Ve, ye(n.label), 1)
|
|
316
314
|
])
|
|
317
315
|
])
|
|
318
316
|
]),
|
|
@@ -320,24 +318,24 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
320
318
|
}, 1032, ["id", "aria-selected", "class", "disabled", "tabindex", "onClick", "onKeydown"])
|
|
321
319
|
]))), 128))
|
|
322
320
|
], 6),
|
|
323
|
-
|
|
324
|
-
g(e.$slots, "header:append", X(
|
|
321
|
+
h("span", null, [
|
|
322
|
+
g(e.$slots, "header:append", Q(X(N.value)))
|
|
325
323
|
])
|
|
326
324
|
]),
|
|
327
|
-
|
|
328
|
-
(
|
|
325
|
+
h("div", Ke, [
|
|
326
|
+
(f(), U(ge(t.animateY ? Be : "div"), null, {
|
|
329
327
|
default: T(() => [
|
|
330
|
-
(
|
|
328
|
+
(f(!0), y(Y, null, M(V.value, (n) => (f(), U(ke, {
|
|
331
329
|
key: n.tabId,
|
|
332
330
|
css: t.animateX,
|
|
333
331
|
name: `tab-slide-${K.value}`
|
|
334
332
|
}, {
|
|
335
333
|
default: T(() => [
|
|
336
|
-
n.active || t.eager || n.eager ? (
|
|
334
|
+
n.active || t.eager || n.eager ? (f(), y("section", {
|
|
337
335
|
key: 0,
|
|
338
336
|
id: n.panelId,
|
|
339
337
|
"aria-labelledby": n.tabId,
|
|
340
|
-
class:
|
|
338
|
+
class: w(n.paneClasses),
|
|
341
339
|
role: "tabpanel",
|
|
342
340
|
tabindex: n.tabindex
|
|
343
341
|
}, [
|
|
@@ -346,13 +344,13 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
346
344
|
currentIndex: c.value,
|
|
347
345
|
disabled: n.disabled,
|
|
348
346
|
goTo: d,
|
|
349
|
-
isFirst:
|
|
350
|
-
isLast:
|
|
347
|
+
isFirst: _.value,
|
|
348
|
+
isLast: S.value,
|
|
351
349
|
selected: n.active,
|
|
352
350
|
text: n.label,
|
|
353
351
|
value: n.key
|
|
354
352
|
})
|
|
355
|
-
], 10,
|
|
353
|
+
], 10, De)) : _e("", !0)
|
|
356
354
|
]),
|
|
357
355
|
_: 2
|
|
358
356
|
}, 1032, ["css", "name"]))), 128))
|
|
@@ -360,9 +358,9 @@ const Ve = ["id"], Re = { class: "bb-tab__label-boundary" }, Ke = { class: "bb-t
|
|
|
360
358
|
_: 3
|
|
361
359
|
}))
|
|
362
360
|
])
|
|
363
|
-
], 10,
|
|
361
|
+
], 10, Pe));
|
|
364
362
|
}
|
|
365
363
|
});
|
|
366
364
|
export {
|
|
367
|
-
|
|
365
|
+
ot as default
|
|
368
366
|
};
|
package/dist/index126.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineComponent as he, mergeModels as X, ref as ke, computed as u, toRef as O, useModel as Y, watch as M, reactive as ge, createBlock as Z, openBlock as s, resolveDynamicComponent as xe, normalizeClass as i, withCtx as we, createElementBlock as o, createCommentVNode as p, createElementVNode as n, toDisplayString as m, renderSlot as c, unref as v, Fragment as k, renderList as x, normalizeStyle as H, createVNode as ee, createTextVNode as Ce, mergeProps as Ie } from "vue";
|
|
2
|
-
import { clamp as Ve } from "./
|
|
3
|
-
import { hash as T } from "./
|
|
4
|
-
import { isNil as w } from "./
|
|
5
|
-
import { when as $e } from "./
|
|
2
|
+
import { clamp as Ve } from "./index221.js";
|
|
3
|
+
import { hash as T } from "./index238.js";
|
|
4
|
+
import { isNil as w } from "./index269.js";
|
|
5
|
+
import { when as $e } from "./index271.js";
|
|
6
6
|
import { useId as Be } from "./index8.js";
|
|
7
|
-
import { useItemValue as He } from "./
|
|
8
|
-
import { useItemsGetter as Te } from "./
|
|
9
|
-
import { usePrefill as Ae } from "./
|
|
10
|
-
import { useIndexById as le } from "./
|
|
11
|
-
import { useBaseOptions as Ne } from "./
|
|
12
|
-
import { useHashedWatcher as Le } from "./
|
|
13
|
-
import { useLocale as De } from "./
|
|
7
|
+
import { useItemValue as He } from "./index272.js";
|
|
8
|
+
import { useItemsGetter as Te } from "./index234.js";
|
|
9
|
+
import { usePrefill as Ae } from "./index240.js";
|
|
10
|
+
import { useIndexById as le } from "./index235.js";
|
|
11
|
+
import { useBaseOptions as Ne } from "./index236.js";
|
|
12
|
+
import { useHashedWatcher as Le } from "./index239.js";
|
|
13
|
+
import { useLocale as De } from "./index227.js";
|
|
14
14
|
import ae from "./index18.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
import Ee from "./index32.js";
|
|
17
17
|
/* empty css */
|
|
18
|
-
import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./
|
|
19
|
-
import { useLogger as Me } from "./
|
|
18
|
+
import { columnKeyToSlotName as Pe, mergeHeaderClasses as Se, applyFixedTableColumns as Re, mergeCellClasses as Oe } from "./index273.js";
|
|
19
|
+
import { useLogger as Me } from "./index241.js";
|
|
20
20
|
const Fe = {
|
|
21
21
|
key: 0,
|
|
22
22
|
class: "sr-only"
|
package/dist/index134.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, createElementBlock as o, openBlock as e, normalizeClass as c, createVNode as l, TransitionGroup as m, withCtx as i, Fragment as p, renderList as u, unref as r, createBlock as f, mergeProps as _ } from "vue";
|
|
2
2
|
import { useToast as d, state as k } from "./index12.js";
|
|
3
|
-
import b from "./
|
|
3
|
+
import b from "./index296.js";
|
|
4
4
|
const $ = /* @__PURE__ */ a({
|
|
5
5
|
__name: "BbToast",
|
|
6
6
|
props: {
|
package/dist/index136.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as R, mergeModels as U, ref as L, computed as v, useTemplateRef as W, useModel as x, watch as m, onBeforeUnmount as F, createElementBlock as I, openBlock as g, Fragment as _, renderSlot as k, createCommentVNode as C, createVNode as j, normalizeProps as q, mergeProps as B, withCtx as T, createElementVNode as f, normalizeStyle as G, createBlock as H, unref as J } from "vue";
|
|
2
2
|
import { useId as K } from "./index8.js";
|
|
3
|
-
import { useLocale as Q } from "./
|
|
4
|
-
import { useUntil as X } from "./
|
|
3
|
+
import { useLocale as Q } from "./index227.js";
|
|
4
|
+
import { useUntil as X } from "./index246.js";
|
|
5
5
|
import Y from "./index14.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import Z from "./
|
|
7
|
+
import Z from "./index247.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useElementSize as ee } from "./index146.js";
|
|
10
|
-
import { extractDomContainer as V } from "./
|
|
11
|
-
import { parseWidthString as te } from "./
|
|
10
|
+
import { extractDomContainer as V } from "./index245.js";
|
|
11
|
+
import { parseWidthString as te } from "./index249.js";
|
|
12
12
|
const ce = /* @__PURE__ */ R({
|
|
13
13
|
inheritAttrs: !1,
|
|
14
14
|
__name: "BbTooltip",
|
package/dist/index138.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
|
|
2
|
-
import { flattenTree as T } from "./
|
|
2
|
+
import { flattenTree as T } from "./index292.js";
|
|
3
3
|
const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
|
|
4
4
|
__name: "BbTree",
|
|
5
5
|
props: {
|
package/dist/index14.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as w, getCurrentInstance as P, computed as r, createBlock as c, openBlock as i, mergeProps as f, withCtx as v, renderSlot as d, createTextVNode as p, toDisplayString as h, resolveDynamicComponent as b } from "vue";
|
|
2
|
-
import R from "./
|
|
2
|
+
import R from "./index242.js";
|
|
3
3
|
import { useFrameworkDetection as _ } from "./index147.js";
|
|
4
4
|
import { _config as g } from "./index4.js";
|
|
5
5
|
const D = /* @__PURE__ */ w({
|
package/dist/index140.js
CHANGED
|
@@ -5,9 +5,9 @@ import u from "./index88.js";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import g from "./index118.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import h from "./
|
|
8
|
+
import h from "./index277.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import B from "./
|
|
10
|
+
import B from "./index294.js";
|
|
11
11
|
/* empty css */
|
|
12
12
|
const E = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb-common-input-inner-container__suffix" }, U = /* @__PURE__ */ k({
|
|
13
13
|
__name: "CommonInputInnerContainer",
|
package/dist/index144.js
CHANGED
package/dist/index146.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./
|
|
2
|
-
import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./
|
|
1
|
+
import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index222.js";
|
|
2
|
+
import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index222.js";
|
|
3
3
|
import { shallowRef as S, getCurrentInstance as ue, onMounted as se, computed as g, watch as B, toValue as w, reactive as U, ref as J, watchEffect as re, hasInjectionContext as ie, unref as ce } from "vue";
|
|
4
4
|
const R = ee ? window : void 0;
|
|
5
5
|
function W(o) {
|
package/dist/index16.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as $, ref as d, computed as i, createBlock as C, openBlock as g, normalizeClass as M, withCtx as n, createVNode as b, unref as p, withDirectives as I, createElementVNode as t, mergeProps as f, renderSlot as s } from "vue";
|
|
2
|
-
import { isHex as q } from "./
|
|
2
|
+
import { isHex as q } from "./index226.js";
|
|
3
3
|
import { isNotNil as D } from "./index150.js";
|
|
4
4
|
import { useId as E } from "./index8.js";
|
|
5
|
-
import { useLocale as N } from "./
|
|
6
|
-
import { vMaska as L } from "./
|
|
5
|
+
import { useLocale as N } from "./index227.js";
|
|
6
|
+
import { vMaska as L } from "./index228.js";
|
|
7
7
|
import P from "./index74.js";
|
|
8
8
|
import z from "./index140.js";
|
|
9
9
|
/* empty css */
|
package/dist/index18.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as _, ref as i, computed as t, watch as F, createElementBlock as p, openBlock as h, normalizeProps as d, guardReactiveProps as f, createCommentVNode as L, createElementVNode as s, mergeProps as k, renderSlot as M } from "vue";
|
|
2
|
-
import { isCssColor as y } from "./
|
|
3
|
-
import { booleanishToBoolean as q } from "./
|
|
4
|
-
import { isEqual as A } from "./
|
|
2
|
+
import { isCssColor as y } from "./index229.js";
|
|
3
|
+
import { booleanishToBoolean as q } from "./index230.js";
|
|
4
|
+
import { isEqual as A } from "./index231.js";
|
|
5
5
|
const N = {
|
|
6
6
|
"aria-hidden": "true",
|
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index20.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as z, ref as B, toRef as p, computed as R, createBlock as W, openBlock as K, unref as T, withCtx as n, renderSlot as l, normalizeProps as f, guardReactiveProps as h, createVNode as N, mergeProps as C } from "vue";
|
|
2
2
|
import U from "./index18.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import q from "./
|
|
4
|
+
import q from "./index232.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { useItemsGetter as J } from "./
|
|
7
|
-
import { useIndexById as $ } from "./
|
|
8
|
-
import { useBaseOptions as Q } from "./
|
|
9
|
-
import { useCoherence as X } from "./
|
|
10
|
-
import { hash as Y } from "./
|
|
11
|
-
import { useHashedWatcher as w } from "./
|
|
12
|
-
import { usePrefill as Z } from "./
|
|
13
|
-
import { useLogger as _ } from "./
|
|
6
|
+
import { useItemsGetter as J } from "./index234.js";
|
|
7
|
+
import { useIndexById as $ } from "./index235.js";
|
|
8
|
+
import { useBaseOptions as Q } from "./index236.js";
|
|
9
|
+
import { useCoherence as X } from "./index237.js";
|
|
10
|
+
import { hash as Y } from "./index238.js";
|
|
11
|
+
import { useHashedWatcher as w } from "./index239.js";
|
|
12
|
+
import { usePrefill as Z } from "./index240.js";
|
|
13
|
+
import { useLogger as _ } from "./index241.js";
|
|
14
14
|
const fe = /* @__PURE__ */ z({
|
|
15
15
|
__name: "BaseCheckboxGroup",
|
|
16
16
|
props: {
|