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.
Files changed (192) hide show
  1. package/dist/ai/BbTab.md +7 -7
  2. package/dist/index109.js +9 -9
  3. package/dist/index110.js +18 -18
  4. package/dist/index118.js +1 -1
  5. package/dist/index124.js +72 -74
  6. package/dist/index126.js +13 -13
  7. package/dist/index134.js +1 -1
  8. package/dist/index136.js +5 -5
  9. package/dist/index138.js +1 -1
  10. package/dist/index14.js +1 -1
  11. package/dist/index140.js +2 -2
  12. package/dist/index144.js +1 -1
  13. package/dist/index146.js +2 -2
  14. package/dist/index16.js +3 -3
  15. package/dist/index18.js +3 -3
  16. package/dist/index20.js +9 -9
  17. package/dist/index22.js +14 -14
  18. package/dist/index221.js +2 -138
  19. package/dist/index222.js +138 -2
  20. package/dist/index224.js +1 -1
  21. package/dist/index225.js +1 -1
  22. package/dist/index226.js +4 -34
  23. package/dist/index227.js +13 -5
  24. package/dist/index228.js +20 -5
  25. package/dist/index229.js +2 -5
  26. package/dist/index230.js +2 -5
  27. package/dist/index231.js +3 -3
  28. package/dist/index232.js +86 -2
  29. package/dist/index234.js +30 -8
  30. package/dist/index235.js +17 -268
  31. package/dist/index236.js +49 -50
  32. package/dist/index237.js +18 -52
  33. package/dist/index238.js +3 -32
  34. package/dist/index239.js +12 -60
  35. package/dist/index24.js +10 -10
  36. package/dist/index240.js +18 -13
  37. package/dist/index241.js +7 -187
  38. package/dist/index242.js +34 -3
  39. package/dist/index243.js +10 -2
  40. package/dist/index244.js +3 -2
  41. package/dist/index245.js +4 -2
  42. package/dist/index246.js +12 -12
  43. package/dist/index247.js +135 -13
  44. package/dist/index249.js +22 -16
  45. package/dist/index250.js +5 -106
  46. package/dist/index251.js +7 -0
  47. package/dist/index252.js +5 -100
  48. package/dist/index253.js +7 -0
  49. package/dist/index254.js +5 -3
  50. package/dist/index255.js +5 -2
  51. package/dist/index256.js +3 -4
  52. package/dist/index257.js +25 -20
  53. package/dist/index258.js +3 -6
  54. package/dist/index259.js +12 -15
  55. package/dist/index26.js +3 -3
  56. package/dist/index260.js +5 -86
  57. package/dist/index261.js +4 -0
  58. package/dist/index262.js +6 -30
  59. package/dist/index263.js +268 -18
  60. package/dist/index264.js +52 -12
  61. package/dist/index265.js +52 -18
  62. package/dist/index266.js +32 -2
  63. package/dist/index267.js +60 -7
  64. package/dist/index268.js +8 -6
  65. package/dist/index269.js +2 -3
  66. package/dist/index270.js +2 -4
  67. package/dist/index271.js +4 -5
  68. package/dist/index272.js +9 -5
  69. package/dist/index273.js +53 -5
  70. package/dist/index274.js +11 -135
  71. package/dist/index275.js +20 -0
  72. package/dist/index276.js +12 -9
  73. package/dist/index277.js +31 -8
  74. package/dist/index279.js +107 -4
  75. package/dist/index28.js +1 -1
  76. package/dist/index280.js +6 -23
  77. package/dist/index281.js +19 -371
  78. package/dist/index282.js +9 -0
  79. package/dist/index283.js +7 -31
  80. package/dist/index284.js +23 -3
  81. package/dist/index285.js +106 -25
  82. package/dist/index287.js +99 -17
  83. package/dist/index289.js +2 -107
  84. package/dist/index290.js +7 -11
  85. package/dist/index291.js +7 -67
  86. package/dist/index292.js +5 -32
  87. package/dist/{index286.js → index293.js} +1 -1
  88. package/dist/index294.js +27 -5
  89. package/dist/index296.js +67 -3
  90. package/dist/index297.js +371 -7
  91. package/dist/index299.js +6 -5
  92. package/dist/index30.js +3 -3
  93. package/dist/index300.js +15 -20
  94. package/dist/index301.js +188 -28
  95. package/dist/index302.js +5 -0
  96. package/dist/index303.js +2 -7
  97. package/dist/index304.js +3 -2
  98. package/dist/index305.js +7 -280
  99. package/dist/index306.js +3 -2
  100. package/dist/index307.js +17 -16
  101. package/dist/index308.js +28 -2
  102. package/dist/index309.js +5 -16
  103. package/dist/index310.js +280 -2
  104. package/dist/index311.js +2 -27
  105. package/dist/index312.js +16 -2
  106. package/dist/index313.js +2 -2
  107. package/dist/index314.js +16 -2
  108. package/dist/index315.js +2 -2
  109. package/dist/index316.js +27 -2
  110. package/dist/index317.js +2 -28
  111. package/dist/index318.js +1 -1
  112. package/dist/index319.js +2 -7
  113. package/dist/index32.js +2 -2
  114. package/dist/index320.js +2 -719
  115. package/dist/index321.js +2 -366
  116. package/dist/index322.js +2 -57
  117. package/dist/index323.js +125 -4
  118. package/dist/index324.js +2 -3
  119. package/dist/index325.js +15 -17
  120. package/dist/index326.js +2 -3
  121. package/dist/index327.js +19 -3
  122. package/dist/index328.js +2 -3
  123. package/dist/index329.js +1 -1
  124. package/dist/index330.js +2 -125
  125. package/dist/index331.js +4 -2
  126. package/dist/index332.js +3 -14
  127. package/dist/index333.js +3 -2
  128. package/dist/index334.js +3 -19
  129. package/dist/index335.js +5 -2
  130. package/dist/index336.js +6 -5
  131. package/dist/index337.js +3 -5
  132. package/dist/index338.js +1 -1
  133. package/dist/index339.js +3 -4
  134. package/dist/index34.js +8 -8
  135. package/dist/index340.js +7 -2
  136. package/dist/index341.js +19 -3
  137. package/dist/index342.js +9 -3
  138. package/dist/index343.js +14 -5
  139. package/dist/index344.js +5 -7
  140. package/dist/index345.js +5 -17
  141. package/dist/index346.js +67 -9
  142. package/dist/index347.js +66 -14
  143. package/dist/index348.js +228 -5
  144. package/dist/index349.js +34 -6
  145. package/dist/index350.js +128 -66
  146. package/dist/index351.js +396 -65
  147. package/dist/index352.js +719 -35
  148. package/dist/index353.js +366 -129
  149. package/dist/index354.js +53 -394
  150. package/dist/index355.js +198 -91
  151. package/dist/index356.js +257 -226
  152. package/dist/index36.js +4 -4
  153. package/dist/index360.js +133 -199
  154. package/dist/index361.js +91 -257
  155. package/dist/index362.js +2 -134
  156. package/dist/index363.js +1 -1
  157. package/dist/index364.js +441 -2
  158. package/dist/index365.js +114 -427
  159. package/dist/index366.js +46 -127
  160. package/dist/index367.js +67 -44
  161. package/dist/index368.js +516 -66
  162. package/dist/index369.js +45 -515
  163. package/dist/index38.js +21 -21
  164. package/dist/index40.js +7 -7
  165. package/dist/index42.js +2 -2
  166. package/dist/index44.js +8 -8
  167. package/dist/index46.js +6 -6
  168. package/dist/index50.js +2 -2
  169. package/dist/index54.js +1 -1
  170. package/dist/index56.js +1 -1
  171. package/dist/index58.js +2 -2
  172. package/dist/index60.js +2 -2
  173. package/dist/index62.js +5 -5
  174. package/dist/index68.js +1 -1
  175. package/dist/index74.js +4 -4
  176. package/dist/index82.js +6 -6
  177. package/dist/index84.js +1 -1
  178. package/dist/index86.js +2 -2
  179. package/dist/index88.js +3 -3
  180. package/dist/index90.js +1 -1
  181. package/dist/index93.js +3 -3
  182. package/dist/index95.js +2 -2
  183. package/dist/index97.js +5 -5
  184. package/dist/index99.js +1 -1
  185. package/package.json +1 -1
  186. package/dist/index233.js +0 -8
  187. package/dist/index248.js +0 -53
  188. package/dist/index278.js +0 -25
  189. package/dist/index288.js +0 -14
  190. package/dist/index295.js +0 -12
  191. package/dist/index298.js +0 -55
  192. 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
- router[method](
298
- merge(route.value, {
299
- query: { [props.querykey]: tab },
300
- replace: replace,
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 "./index297.js";
3
- import { isNil as k } from "./index255.js";
4
- import { indexBy as U } from "./index300.js";
5
- import { hash as p } from "./index231.js";
6
- import { useItemsGetter as W } from "./index262.js";
7
- import { usePrefill as q } from "./index265.js";
8
- import { useIndexById as z } from "./index249.js";
9
- import { useBaseOptions as J } from "./index248.js";
10
- import { useHashedWatcher as K } from "./index264.js";
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 "./index279.js";
3
- import { get as vt } from "./index290.js";
4
- import { hash as ee } from "./index231.js";
5
- import { isNil as ft } from "./index255.js";
6
- import { matchAnyKey as Be } from "./index287.js";
7
- import { parseWidthString as mt } from "./index280.js";
8
- import { useArray as ht } from "./index288.js";
9
- import { useBaseOptions as bt } from "./index248.js";
10
- import { useCoherence as yt } from "./index263.js";
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 "./index264.js";
12
+ import { useHashedWatcher as Ae } from "./index239.js";
13
13
  import { useId as Bt } from "./index8.js";
14
- import { useIndexById as Ve } from "./index249.js";
15
- import { useItemsGetter as At } from "./index262.js";
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 "./index265.js";
18
- import { useUntil as xt } from "./index247.js";
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 "./index274.js";
24
+ import St from "./index247.js";
25
25
  /* empty css */
26
- import kt from "./index292.js";
26
+ import kt from "./index277.js";
27
27
  /* empty css */
28
- import Dt from "./index289.js";
29
- import { waitFor as Lt } from "./index294.js";
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 "./index245.js";
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 f, getCurrentInstance as be, watch as b, nextTick as J, onMounted as me, createElementBlock as y, openBlock as u, normalizeClass as S, unref as he, createElementVNode as m, renderSlot as g, normalizeProps as X, guardReactiveProps as Y, normalizeStyle as ve, Fragment as M, renderList as Q, createVNode as pe, withCtx as T, toDisplayString as ye, createBlock as U, resolveDynamicComponent as ge, Transition as ke, createCommentVNode as _e } from "vue";
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 { merge as qe } from "./index283.js";
12
- import { isNil as Le } from "./index255.js";
13
- import { useQuery as Fe } from "./index11.js";
14
- import { hash as Ee } from "./index231.js";
15
- import { isNotNil as Ne } from "./index150.js";
16
- import { useLogger as Pe } from "./index234.js";
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, w = we(), q = xe(), { error: L } = Pe(), ne = r(), F = t.id ?? Se().id.value, x = `bb-tab_${F}`, i = r(), { isScrolling: se, arrivedState: E } = $e(i), N = f(() => ({
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 = f(
49
+ })), { isInertia: le } = Te(), oe = be(), a = r(null), c = b(
51
50
  () => t.items.findIndex((e) => e.key === a.value)
52
- ), k = f(() => c.value === 0), _ = f(() => c.value === t.items.length - 1);
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 = f(() => [Fe()[t.querykey]].flat()[0]), V = () => {
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
- V();
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
- }), R = f(() => {
87
+ }), V = b(() => {
89
88
  const e = a.value, s = c.value;
90
89
  return t.items.map((o) => {
91
- const { key: l, label: v, eager: I } = o, C = `${x}_tab_${o.key}`, j = `${x}_tabpanel_${o.key}`, B = `label-${o.key}`, p = o.key === a.value, ie = {
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: v,
111
+ label: u,
113
112
  currentIndex: s,
114
- onClick: () => h(o.key),
113
+ onClick: () => m(o.key),
115
114
  onKeydown: (ue) => re(ue)
116
115
  };
117
116
  });
118
- }), h = (e, s = t.replace) => {
117
+ }), m = (e, s = t.replace) => {
119
118
  const n = t.items.find((o) => o.key === e);
120
- if (!Le(n) && n.key !== a.value) {
121
- if (t.navigation && w.value && P.value !== e) {
119
+ if (!qe(n) && n.key !== a.value) {
120
+ if (t.navigation && k.value && P.value !== e) {
122
121
  if (!q) return;
123
- q[s ? "replace" : "push"](
124
- qe(w.value, {
125
- query: { [t.querykey]: e },
126
- replace: s
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 v = oe?.proxy?.$inertia, I = ae(n), C = Object.fromEntries(
133
- Object.entries(I).filter(([j, B]) => Ne(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
- v.visit(l.toString(), C);
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 && h(a.value, !0);
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(), h(n);
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
- b(
185
+ v(
188
186
  () => t.modelValue,
189
187
  (e) => {
190
- e && h(e);
188
+ e && m(e);
191
189
  }
192
- ), b(
193
- () => w.value?.query?.[t.querykey],
190
+ ), v(
191
+ () => k.value?.query?.[t.querykey],
194
192
  (e) => {
195
- e && typeof e == "string" && h(e);
193
+ e && typeof e == "string" && m(e);
196
194
  }
197
- ), b(
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, v = l + s.clientWidth;
207
- n < l ? s.scrollTo({ left: n, behavior: "smooth" }) : o > v && s.scrollTo({
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
- b(
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 me(async () => {
231
+ return ve(async () => {
234
232
  $(), await J(), H.value = !0;
235
- }), b(a, $, { flush: "post" }), Ie(i, () => {
233
+ }), v(a, $, { flush: "post" }), Ie(i, () => {
236
234
  $();
237
- }), b(
238
- () => Ee(t.items),
235
+ }), v(
236
+ () => Fe(t.items),
239
237
  () => {
240
- a.value && !t.items.find((e) => e.key === a.value) && V();
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: k,
248
- isLast: _,
245
+ isFirst: _,
246
+ isLast: S,
249
247
  current: a,
250
248
  currentIndex: c,
251
249
  goTo: d
252
- }), (e, s) => (u(), y("div", {
250
+ }), (e, s) => (f(), y("div", {
253
251
  id: he(F),
254
252
  ref_key: "tabs",
255
253
  ref: ne,
256
- class: S(["bb-tab", {
254
+ class: w(["bb-tab", {
257
255
  [`bb-tab--${e.direction}`]: !0,
258
256
  "bb-tab--disabled": e.disabled
259
257
  }])
260
258
  }, [
261
- m("div", Re, [
262
- m("span", null, [
263
- g(e.$slots, "header:prepend", X(Y(N.value)))
259
+ h("div", Re, [
260
+ h("span", null, [
261
+ g(e.$slots, "header:prepend", Q(X(N.value)))
264
262
  ]),
265
- m("ul", {
263
+ h("ul", {
266
264
  ref_key: "tablist",
267
265
  ref: i,
268
- class: S(["bb-tab__label-container", { "bb-tab__label-container--no-transition": !H.value }]),
266
+ class: w(["bb-tab__label-container", { "bb-tab__label-container--no-transition": !H.value }]),
269
267
  role: "tablist",
270
- style: ve({
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
- (u(!0), y(M, null, Q(R.value, (n) => (u(), y("li", {
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: S(n.tabClasses),
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: k.value,
299
- isLast: _.value,
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: k.value,
310
- isLast: _.value,
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
- m("span", Ke, ye(n.label), 1)
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
- m("span", null, [
324
- g(e.$slots, "header:append", X(Y(N.value)))
321
+ h("span", null, [
322
+ g(e.$slots, "header:append", Q(X(N.value)))
325
323
  ])
326
324
  ]),
327
- m("div", De, [
328
- (u(), U(ge(t.animateY ? Be : "div"), null, {
325
+ h("div", Ke, [
326
+ (f(), U(ge(t.animateY ? Be : "div"), null, {
329
327
  default: T(() => [
330
- (u(!0), y(M, null, Q(R.value, (n) => (u(), U(ke, {
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 ? (u(), y("section", {
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: S(n.paneClasses),
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: k.value,
350
- isLast: _.value,
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, We)) : _e("", !0)
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, Ve));
361
+ ], 10, Pe));
364
362
  }
365
363
  });
366
364
  export {
367
- rt as default
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 "./index222.js";
3
- import { hash as T } from "./index231.js";
4
- import { isNil as w } from "./index255.js";
5
- import { when as $e } from "./index270.js";
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 "./index297.js";
8
- import { useItemsGetter as Te } from "./index262.js";
9
- import { usePrefill as Ae } from "./index265.js";
10
- import { useIndexById as le } from "./index249.js";
11
- import { useBaseOptions as Ne } from "./index248.js";
12
- import { useHashedWatcher as Le } from "./index264.js";
13
- import { useLocale as De } from "./index240.js";
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 "./index298.js";
19
- import { useLogger as Me } from "./index234.js";
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 "./index291.js";
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 "./index240.js";
4
- import { useUntil as X } from "./index247.js";
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 "./index274.js";
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 "./index279.js";
11
- import { parseWidthString as te } from "./index280.js";
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 "./index299.js";
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 "./index226.js";
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 "./index292.js";
8
+ import h from "./index277.js";
9
9
  /* empty css */
10
- import B from "./index301.js";
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
@@ -1,4 +1,4 @@
1
- import { clamp as s } from "./index222.js";
1
+ import { clamp as s } from "./index221.js";
2
2
  const o = (n, e, r = !1) => {
3
3
  const t = n * 100 / e;
4
4
  return r ? s(t, 0, 100) : t;
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 "./index221.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 "./index221.js";
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 "./index256.js";
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 "./index240.js";
6
- import { vMaska as L } from "./index257.js";
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 "./index245.js";
3
- import { booleanishToBoolean as q } from "./index243.js";
4
- import { isEqual as A } from "./index269.js";
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 "./index260.js";
4
+ import q from "./index232.js";
5
5
  /* empty css */
6
- import { useItemsGetter as J } from "./index262.js";
7
- import { useIndexById as $ } from "./index249.js";
8
- import { useBaseOptions as Q } from "./index248.js";
9
- import { useCoherence as X } from "./index263.js";
10
- import { hash as Y } from "./index231.js";
11
- import { useHashedWatcher as w } from "./index264.js";
12
- import { usePrefill as Z } from "./index265.js";
13
- import { useLogger as _ } from "./index234.js";
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: {