bitboss-ui 2.1.36 → 2.1.38

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 (176) hide show
  1. package/dist/components/BbTab/BbTab.vue.d.ts +12 -5
  2. package/dist/index.css +1 -1
  3. package/dist/index106.js +9 -9
  4. package/dist/index111.js +1 -1
  5. package/dist/index113.js +1 -1
  6. package/dist/index119.js +59 -58
  7. package/dist/index121.js +12 -12
  8. package/dist/index129.js +1 -1
  9. package/dist/index13.js +1 -1
  10. package/dist/index131.js +6 -6
  11. package/dist/index135.js +2 -2
  12. package/dist/index139.js +1 -1
  13. package/dist/index141.js +1 -1
  14. package/dist/index142.js +2 -2
  15. package/dist/index15.js +5 -5
  16. package/dist/index17.js +3 -3
  17. package/dist/index19.js +8 -8
  18. package/dist/index21.js +16 -16
  19. package/dist/index212.js +2 -2
  20. package/dist/index214.js +2 -2
  21. package/dist/index215.js +7 -2
  22. package/dist/index216.js +2 -5
  23. package/dist/index217.js +5 -5
  24. package/dist/index218.js +4 -4
  25. package/dist/index219.js +5 -5
  26. package/dist/index220.js +4 -4
  27. package/dist/index221.js +5 -5
  28. package/dist/index222.js +5 -5
  29. package/dist/index223.js +2 -3
  30. package/dist/index224.js +2 -2
  31. package/dist/index225.js +2 -8
  32. package/dist/index226.js +12 -249
  33. package/dist/index227.js +18 -50
  34. package/dist/index228.js +117 -40
  35. package/dist/index23.js +12 -12
  36. package/dist/index230.js +80 -54
  37. package/dist/index232.js +27 -181
  38. package/dist/index233.js +17 -3
  39. package/dist/index234.js +49 -32
  40. package/dist/index235.js +15 -4
  41. package/dist/index236.js +3 -2
  42. package/dist/index237.js +12 -2
  43. package/dist/index238.js +16 -2
  44. package/dist/index239.js +3 -2
  45. package/dist/index240.js +34 -7
  46. package/dist/index241.js +3 -6
  47. package/dist/index242.js +197 -7
  48. package/dist/index244.js +5 -2
  49. package/dist/index245.js +5 -20
  50. package/dist/index246.js +6 -119
  51. package/dist/index247.js +252 -0
  52. package/dist/index248.js +52 -4
  53. package/dist/index249.js +38 -191
  54. package/dist/index25.js +3 -3
  55. package/dist/{index229.js → index250.js} +1 -1
  56. package/dist/index251.js +54 -80
  57. package/dist/index252.js +4 -0
  58. package/dist/index253.js +4 -29
  59. package/dist/index254.js +2 -17
  60. package/dist/index255.js +12 -50
  61. package/dist/index256.js +12 -14
  62. package/dist/index257.js +17 -11
  63. package/dist/index258.js +11 -15
  64. package/dist/index259.js +105 -12
  65. package/dist/index261.js +47 -53
  66. package/dist/index263.js +212 -83
  67. package/dist/index264.js +4 -0
  68. package/dist/index265.js +6 -17
  69. package/dist/index266.js +7 -12
  70. package/dist/index267.js +180 -226
  71. package/dist/index268.js +11 -10
  72. package/dist/index269.js +8 -2
  73. package/dist/index27.js +1 -1
  74. package/dist/index270.js +23 -9
  75. package/dist/index271.js +4 -23
  76. package/dist/index272.js +22 -3
  77. package/dist/index273.js +9 -22
  78. package/dist/index274.js +3 -3
  79. package/dist/index275.js +9 -6
  80. package/dist/index276.js +6 -16
  81. package/dist/index277.js +16 -9
  82. package/dist/index278.js +3 -9
  83. package/dist/index279.js +33 -8
  84. package/dist/index280.js +28 -2
  85. package/dist/index282.js +9 -33
  86. package/dist/index283.js +8 -28
  87. package/dist/index284.js +4 -0
  88. package/dist/index286.js +67 -5
  89. package/dist/index287.js +4 -7
  90. package/dist/index288.js +7 -279
  91. package/dist/index289.js +5 -2
  92. package/dist/index29.js +3 -3
  93. package/dist/index290.js +3 -15
  94. package/dist/index291.js +3 -2
  95. package/dist/index292.js +17 -16
  96. package/dist/index293.js +28 -2
  97. package/dist/index294.js +2 -19
  98. package/dist/index295.js +280 -2
  99. package/dist/index296.js +2 -15
  100. package/dist/index297.js +125 -2
  101. package/dist/index298.js +2 -19
  102. package/dist/index299.js +15 -2
  103. package/dist/index300.js +2 -27
  104. package/dist/index301.js +16 -2
  105. package/dist/index302.js +2 -2
  106. package/dist/index303.js +16 -2
  107. package/dist/index304.js +2 -2
  108. package/dist/index305.js +19 -2
  109. package/dist/index306.js +2 -28
  110. package/dist/index307.js +3 -22
  111. package/dist/index308.js +9 -0
  112. package/dist/index309.js +3 -7
  113. package/dist/index31.js +2 -2
  114. package/dist/index310.js +18 -10
  115. package/dist/index311.js +2 -5
  116. package/dist/index312.js +27 -4
  117. package/dist/index313.js +2 -6
  118. package/dist/index314.js +2 -4
  119. package/dist/index315.js +1 -1
  120. package/dist/index316.js +2 -125
  121. package/dist/index317.js +2 -2
  122. package/dist/index318.js +22 -3
  123. package/dist/index320.js +4 -3
  124. package/dist/index321.js +6 -17
  125. package/dist/index322.js +1 -1
  126. package/dist/index323.js +1 -1
  127. package/dist/index324.js +1 -1
  128. package/dist/index325.js +718 -5
  129. package/dist/index326.js +363 -715
  130. package/dist/index327.js +58 -366
  131. package/dist/{index319.js → index329.js} +1 -1
  132. package/dist/index33.js +8 -8
  133. package/dist/index330.js +5 -3
  134. package/dist/index331.js +1 -1
  135. package/dist/index332.js +227 -6
  136. package/dist/index333.js +5 -17
  137. package/dist/index334.js +34 -6
  138. package/dist/index335.js +6 -228
  139. package/dist/index336.js +128 -57
  140. package/dist/index337.js +367 -56
  141. package/dist/index338.js +7 -34
  142. package/dist/index339.js +6 -6
  143. package/dist/index340.js +7 -128
  144. package/dist/index341.js +6 -368
  145. package/dist/index342.js +18 -7
  146. package/dist/index343.js +46 -5
  147. package/dist/index344.js +57 -7
  148. package/dist/index345.js +58 -47
  149. package/dist/index346.js +1 -1
  150. package/dist/index35.js +4 -4
  151. package/dist/index37.js +18 -18
  152. package/dist/index39.js +7 -7
  153. package/dist/index41.js +2 -2
  154. package/dist/index43.js +8 -8
  155. package/dist/index45.js +6 -6
  156. package/dist/index49.js +1 -1
  157. package/dist/index53.js +1 -1
  158. package/dist/index55.js +1 -1
  159. package/dist/index57.js +2 -2
  160. package/dist/index61.js +3 -3
  161. package/dist/index67.js +1 -1
  162. package/dist/index79.js +6 -6
  163. package/dist/index81.js +1 -1
  164. package/dist/index83.js +2 -2
  165. package/dist/index85.js +46 -29
  166. package/dist/index87.js +1 -1
  167. package/dist/index90.js +3 -3
  168. package/dist/index92.js +2 -2
  169. package/dist/index94.js +5 -5
  170. package/dist/index96.js +1 -1
  171. package/package.json +1 -1
  172. package/dist/index231.js +0 -15
  173. package/dist/index243.js +0 -7
  174. package/dist/index260.js +0 -15
  175. package/dist/index281.js +0 -69
  176. package/dist/index328.js +0 -60
package/dist/index119.js CHANGED
@@ -1,20 +1,21 @@
1
- import { defineComponent as ee, ref as r, computed as $, getCurrentInstance as te, watch as b, nextTick as le, onMounted as ae, createElementBlock as p, openBlock as f, normalizeClass as T, unref as ie, createElementVNode as h, renderSlot as k, normalizeProps as U, guardReactiveProps as W, normalizeStyle as se, Fragment as K, renderList as O, createVNode as J, withCtx as I, toDisplayString as ne, createBlock as re, Transition as oe, createCommentVNode as ue } from "vue";
2
- import { useId as de } from "./index8.js";
3
- import { useRoute as ce } from "./index145.js";
4
- import { useRouter as be } from "./index146.js";
5
- import { wait as fe } from "./index138.js";
6
- import { useScroll as he, useResizeObserver as ye } from "./index140.js";
7
- import me from "./index13.js";
1
+ import { defineComponent as ee, ref as r, computed as $, getCurrentInstance as te, watch as f, nextTick as le, onMounted as ae, createElementBlock as p, openBlock as c, normalizeClass as T, unref as ie, createElementVNode as y, renderSlot as k, normalizeProps as U, guardReactiveProps as W, normalizeStyle as se, Fragment as K, renderList as O, createVNode as ne, withCtx as I, toDisplayString as re, createBlock as X, resolveDynamicComponent as oe, Transition as ue, createCommentVNode as de } from "vue";
2
+ import { useId as ce } from "./index8.js";
3
+ import { useRoute as be } from "./index145.js";
4
+ import { useRouter as fe } from "./index146.js";
5
+ import { wait as ye } from "./index138.js";
6
+ import { useScroll as he, useResizeObserver as me } from "./index140.js";
7
+ import ve from "./index13.js";
8
8
  /* empty css */
9
- import ve from "./index111.js";
9
+ import pe from "./index111.js";
10
10
  /* empty css */
11
- const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-tab__label" }, _e = { class: "bb-tab__panes-container" }, we = ["id", "aria-labelledby"], Re = /* @__PURE__ */ ee({
11
+ const ke = ["id"], ge = { class: "bb-tab__label-boundary" }, _e = { class: "bb-tab__label" }, we = { class: "bb-tab__panes-container" }, $e = ["id", "aria-labelledby"], Pe = /* @__PURE__ */ ee({
12
12
  __name: "BbTab",
13
13
  props: {
14
14
  disabled: { type: Boolean },
15
15
  eager: { type: Boolean },
16
16
  id: {},
17
- animate: { type: Boolean, default: !0 },
17
+ animateX: { type: Boolean, default: !0 },
18
+ animateY: { type: Boolean, default: !0 },
18
19
  direction: { default: "horizontal" },
19
20
  items: {},
20
21
  modelValue: {},
@@ -23,12 +24,12 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
23
24
  replace: { type: Boolean }
24
25
  },
25
26
  emits: ["update:modelValue"],
26
- setup(M, { expose: j, emit: G }) {
27
+ setup(Y, { expose: J, emit: M }) {
27
28
  var A, H;
28
- const t = M, Q = G, d = ce(), q = be(), S = r(), L = t.id ?? de().id.value, g = `bb-tab_${L}`, c = r(), { isScrolling: X, arrivedState: V } = he(c), B = $(() => ({
29
- isScrolling: X.value,
30
- left: V.left,
31
- right: V.right
29
+ const t = Y, j = M, d = be(), q = fe(), S = r(), L = t.id ?? ce().id.value, g = `bb-tab_${L}`, b = r(), { isScrolling: G, arrivedState: B } = he(b), V = $(() => ({
30
+ isScrolling: G.value,
31
+ left: B.left,
32
+ right: B.right
32
33
  })), C = !!((H = (A = te()) == null ? void 0 : A.proxy) != null && H.$inertia), i = r(null), o = $(
33
34
  () => t.items.findIndex((e) => e.key === i.value)
34
35
  ), _ = $(() => o.value === 0), w = $(() => o.value === t.items.length - 1);
@@ -57,7 +58,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
57
58
  }
58
59
  };
59
60
  R();
60
- const y = async (e, a = !1) => {
61
+ const h = async (e, a = !1) => {
61
62
  var l, n, s, m;
62
63
  if (t.navigation && d.value && ((n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey]) !== e)
63
64
  q == null || q.push({
@@ -67,13 +68,13 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
67
68
  });
68
69
  else if (t.navigation && C && ((m = globalThis == null ? void 0 : globalThis.location) != null && m.href) && new URL(globalThis.location.href).searchParams.get(t.querykey) !== e) {
69
70
  const v = new URL(globalThis.location.href);
70
- v.searchParams.set(t.querykey, e), fe(0).then(() => {
71
+ v.searchParams.set(t.querykey, e), ye(0).then(() => {
71
72
  a ? history.replaceState({}, "", v.toString()) : history.pushState({}, "", v.toString());
72
73
  });
73
74
  }
74
- t.modelValue !== e && Q("update:modelValue", e), i.value = e;
75
+ t.modelValue !== e && j("update:modelValue", e), i.value = e;
75
76
  };
76
- i.value && y(i.value, !0);
77
+ i.value && h(i.value, !0);
77
78
  const u = (e) => {
78
79
  var a = null;
79
80
  switch (e) {
@@ -104,8 +105,8 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
104
105
  const l = t.items[a].key, n = document.querySelector(
105
106
  `#${g}_tab_${l}`
106
107
  );
107
- n == null || n.focus(), y(l, t.replace);
108
- }, Y = (e) => {
108
+ n == null || n.focus(), h(l, t.replace);
109
+ }, Q = (e) => {
109
110
  if (!t.disabled)
110
111
  if (e.key === "ArrowRight")
111
112
  u("next");
@@ -118,20 +119,20 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
118
119
  else
119
120
  return;
120
121
  };
121
- b(
122
+ f(
122
123
  () => t.modelValue,
123
124
  (e) => {
124
- e && y(e, t.replace);
125
+ e && h(e, t.replace);
125
126
  }
126
- ), b(
127
+ ), f(
127
128
  () => {
128
129
  var e, a;
129
130
  return (a = (e = d.value) == null ? void 0 : e.query) == null ? void 0 : a[t.querykey];
130
131
  },
131
132
  (e) => {
132
- e && typeof e == "string" && y(e, t.replace);
133
+ e && typeof e == "string" && h(e, t.replace);
133
134
  }
134
- ), b(
135
+ ), f(
135
136
  i,
136
137
  async () => {
137
138
  if (S.value) {
@@ -148,7 +149,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
148
149
  { flush: "post" }
149
150
  );
150
151
  const P = r("right");
151
- b(
152
+ f(
152
153
  i,
153
154
  (e, a) => {
154
155
  if (e && a) {
@@ -158,17 +159,17 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
158
159
  },
159
160
  { flush: "sync" }
160
161
  );
161
- const E = r(0), z = r(0), D = r(0), F = r(0), N = r(0), x = () => {
162
- if (!c.value)
162
+ const E = r(0), D = r(0), z = r(0), F = r(0), N = r(0), x = () => {
163
+ if (!b.value)
163
164
  return;
164
- const e = c.value.querySelector(
165
+ const e = b.value.querySelector(
165
166
  ".bb-tab__btn--active"
166
167
  );
167
- e && (D.value = e.offsetLeft, F.value = e.offsetTop, E.value = e.clientWidth, z.value = e.clientHeight, N.value = c.value.scrollWidth);
168
+ e && (z.value = e.offsetLeft, F.value = e.offsetTop, E.value = e.clientWidth, D.value = e.clientHeight, N.value = b.value.scrollWidth);
168
169
  };
169
- return ae(x), b(i, x, { flush: "post" }), ye(c, () => {
170
+ return ae(x), f(i, x, { flush: "post" }), me(b, () => {
170
171
  x();
171
- }), b(
172
+ }), f(
172
173
  () => t.items,
173
174
  () => {
174
175
  i.value && !t.items.find((e) => e.key === i.value) && R();
@@ -177,13 +178,13 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
177
178
  immediate: !0,
178
179
  deep: !0
179
180
  }
180
- ), j({
181
+ ), J({
181
182
  isFirst: _,
182
183
  isLast: w,
183
184
  current: i,
184
185
  currentIndex: o,
185
186
  goTo: u
186
- }), (e, a) => (f(), p("div", {
187
+ }), (e, a) => (c(), p("div", {
187
188
  id: ie(L),
188
189
  ref_key: "tabs",
189
190
  ref: S,
@@ -192,36 +193,36 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
192
193
  "bb-tab--disabled": e.disabled
193
194
  }])
194
195
  }, [
195
- h("div", ke, [
196
- h("span", null, [
197
- k(e.$slots, "header:prepend", U(W(B.value)))
196
+ y("div", ge, [
197
+ y("span", null, [
198
+ k(e.$slots, "header:prepend", U(W(V.value)))
198
199
  ]),
199
- h("ul", {
200
+ y("ul", {
200
201
  ref_key: "tablist",
201
- ref: c,
202
+ ref: b,
202
203
  class: "bb-tab__label-container",
203
204
  role: "tablist",
204
205
  style: se({
205
206
  "--inner-width": `${N.value}px`,
206
207
  "--width": `${E.value}px`,
207
- "--height": `${z.value}px`,
208
- "--left": `${D.value}px`,
208
+ "--height": `${D.value}px`,
209
+ "--left": `${z.value}px`,
209
210
  "--top": `${F.value}px`
210
211
  })
211
212
  }, [
212
- (f(!0), p(K, null, O(e.items, (l) => (f(), p("li", {
213
+ (c(!0), p(K, null, O(e.items, (l) => (c(), p("li", {
213
214
  key: l.key,
214
215
  role: "presentation"
215
216
  }, [
216
- J(me, {
217
+ ne(ve, {
217
218
  id: `${g}_tab_${l.key}`,
218
219
  "aria-selected": i.value === l.key,
219
220
  class: T(["bb-tab__btn", { "bb-tab__btn--active": i.value === l.key }]),
220
221
  disabled: l.disabled || e.disabled,
221
222
  role: "tab",
222
223
  tabindex: i.value === l.key ? 0 : -1,
223
- onClick: (n) => y(l.key, t.replace),
224
- onKeydown: Y
224
+ onClick: (n) => h(l.key, t.replace),
225
+ onKeydown: Q
225
226
  }, {
226
227
  default: I(() => [
227
228
  k(e.$slots, `label-${l.key}`, {
@@ -246,7 +247,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
246
247
  text: l.label,
247
248
  value: l.key
248
249
  }, () => [
249
- h("span", ge, ne(l.label), 1)
250
+ y("span", _e, re(l.label), 1)
250
251
  ])
251
252
  ])
252
253
  ]),
@@ -254,20 +255,20 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
254
255
  }, 1032, ["id", "aria-selected", "class", "disabled", "tabindex", "onClick"])
255
256
  ]))), 128))
256
257
  ], 4),
257
- h("span", null, [
258
- k(e.$slots, "header:append", U(W(B.value)))
258
+ y("span", null, [
259
+ k(e.$slots, "header:append", U(W(V.value)))
259
260
  ])
260
261
  ]),
261
- h("div", _e, [
262
- J(ve, null, {
262
+ y("div", we, [
263
+ (c(), X(oe(t.animateY ? pe : "div"), null, {
263
264
  default: I(() => [
264
- (f(!0), p(K, null, O(e.items, (l) => (f(), re(oe, {
265
+ (c(!0), p(K, null, O(e.items, (l) => (c(), X(ue, {
265
266
  key: l.key,
266
- css: e.animate,
267
+ css: t.animateX,
267
268
  name: `tab-slide-${P.value}`
268
269
  }, {
269
270
  default: I(() => [
270
- i.value === l.key || e.eager || l.eager ? (f(), p("section", {
271
+ i.value === l.key || e.eager || l.eager ? (c(), p("section", {
271
272
  key: 0,
272
273
  id: `${g}_tabpanel_${l.key}`,
273
274
  "aria-labelledby": `${g}_tab_${l.key}`,
@@ -288,17 +289,17 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
288
289
  text: l.label,
289
290
  value: l.key
290
291
  })
291
- ], 10, we)) : ue("", !0)
292
+ ], 10, $e)) : de("", !0)
292
293
  ]),
293
294
  _: 2
294
295
  }, 1032, ["css", "name"]))), 128))
295
296
  ]),
296
297
  _: 3
297
- })
298
+ }))
298
299
  ])
299
- ], 10, pe));
300
+ ], 10, ke));
300
301
  }
301
302
  });
302
303
  export {
303
- Re as default
304
+ Pe as default
304
305
  };
package/dist/index121.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as ue, ref as K, computed as h, toRef as O, watch as D, reactive as pe, createBlock as Q, openBlock as n, resolveDynamicComponent as me, normalizeClass as p, unref as v, withCtx as fe, createElementBlock as d, createCommentVNode as g, createElementVNode as o, toDisplayString as m, renderSlot as f, Fragment as A, renderList as B, createVNode as X, createTextVNode as ye, mergeProps as he } from "vue";
2
- import { add as ve } from "./index280.js";
3
- import { clamp as ke } from "./index212.js";
4
- import { isNil as T } from "./index239.js";
2
+ import { add as ve } from "./index284.js";
3
+ import { clamp as ke } from "./index214.js";
4
+ import { isNil as T } from "./index216.js";
5
5
  import { useId as _e } from "./index8.js";
6
- import { useItemValue as ge } from "./index278.js";
7
- import { when as Ce } from "./index235.js";
6
+ import { useItemValue as ge } from "./index282.js";
7
+ import { when as Ce } from "./index253.js";
8
8
  import Y from "./index17.js";
9
9
  /* empty css */
10
10
  import we from "./index31.js";
11
11
  /* empty css */
12
- import { hash as E } from "./index223.js";
13
- import { useItemsGetter as Ie } from "./index253.js";
14
- import { usePrefill as Ve } from "./index258.js";
15
- import { useIndexById as Ae } from "./index254.js";
16
- import { useBaseOptions as Be } from "./index255.js";
17
- import { useHashedWatcher as Te } from "./index257.js";
18
- import { useLocale as $e } from "./index231.js";
12
+ import { hash as E } from "./index236.js";
13
+ import { useItemsGetter as Ie } from "./index232.js";
14
+ import { usePrefill as Ve } from "./index238.js";
15
+ import { useIndexById as Ae } from "./index233.js";
16
+ import { useBaseOptions as Be } from "./index234.js";
17
+ import { useHashedWatcher as Te } from "./index237.js";
18
+ import { useLocale as $e } from "./index226.js";
19
19
  const xe = {
20
20
  key: 0,
21
21
  class: "sr-only"
package/dist/index129.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 "./index11.js";
3
- import b from "./index281.js";
3
+ import b from "./index286.js";
4
4
  const $ = /* @__PURE__ */ a({
5
5
  __name: "BbToast",
6
6
  props: {
package/dist/index13.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, getCurrentInstance as h, computed as r, createBlock as i, openBlock as u, mergeProps as c, withCtx as d, renderSlot as p, createTextVNode as f, toDisplayString as v, resolveDynamicComponent as C } from "vue";
2
- import S from "./index234.js";
2
+ import S from "./index240.js";
3
3
  const A = /* @__PURE__ */ m({
4
4
  __name: "BaseButton",
5
5
  props: {
package/dist/index131.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as S, mergeModels as z, ref as k, computed as d, useTemplateRef as F, useModel as N, createElementBlock as W, openBlock as B, Fragment as A, renderSlot as C, createVNode as U, normalizeProps as H, guardReactiveProps as I, unref as l, mergeProps as j, withCtx as E, createElementVNode as m, normalizeStyle as q, createBlock as x, createCommentVNode as G } from "vue";
2
- import { throttle as p } from "./index274.js";
2
+ import { throttle as p } from "./index278.js";
3
3
  import { useId as J } from "./index8.js";
4
- import { useLocale as K } from "./index231.js";
5
- import { useUntil as Q } from "./index260.js";
4
+ import { useLocale as K } from "./index226.js";
5
+ import { useUntil as Q } from "./index256.js";
6
6
  import X from "./index13.js";
7
7
  /* empty css */
8
- import Y from "./index246.js";
8
+ import Y from "./index228.js";
9
9
  /* empty css */
10
10
  import { useElementSize as Z } from "./index140.js";
11
- import { extractDomContainer as c } from "./index272.js";
12
- import { parseWidthString as _ } from "./index273.js";
11
+ import { extractDomContainer as c } from "./index271.js";
12
+ import { parseWidthString as _ } from "./index272.js";
13
13
  const pe = /* @__PURE__ */ S({
14
14
  inheritAttrs: !1,
15
15
  __name: "BbTooltip",
package/dist/index135.js CHANGED
@@ -5,8 +5,8 @@ import u from "./index85.js";
5
5
  /* empty css */
6
6
  import h from "./index113.js";
7
7
  /* empty css */
8
- import v from "./index282.js";
9
- import B from "./index283.js";
8
+ import v from "./index279.js";
9
+ import B from "./index280.js";
10
10
  /* empty css */
11
11
  const E = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
12
12
  __name: "CommonInputInnerContainer",
package/dist/index139.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as s } from "./index212.js";
1
+ import { clamp as s } from "./index214.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/index141.js CHANGED
@@ -1,4 +1,4 @@
1
- import { urlAlphabet as l } from "./index214.js";
1
+ import { urlAlphabet as l } from "./index212.js";
2
2
  let o = (t = 21) => {
3
3
  let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
4
  for (; t--; )
package/dist/index142.js CHANGED
@@ -1,5 +1,5 @@
1
- import { isArray as p } from "./index286.js";
2
- import { isPlainObject as i } from "./index287.js";
1
+ import { isArray as p } from "./index287.js";
2
+ import { isPlainObject as i } from "./index288.js";
3
3
  function f(e, n, u, l, r) {
4
4
  const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
5
5
  o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
package/dist/index15.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as H, ref as s, computed as D, createBlock as E, openBlock as I, normalizeClass as L, withCtx as l, createVNode as d, unref as u, withDirectives as M, createElementVNode as p, mergeProps as _, renderSlot as r, withModifiers as q, normalizeStyle as N } from "vue";
2
- import { isHex as z } from "./index248.js";
2
+ import { isHex as z } from "./index241.js";
3
3
  import { isNotNil as F } from "./index143.js";
4
4
  import { useId as S } from "./index8.js";
5
- import { useLocale as U } from "./index231.js";
6
- import { vMaska as A } from "./index245.js";
7
- import K from "./index249.js";
5
+ import { useLocale as U } from "./index226.js";
6
+ import { vMaska as A } from "./index227.js";
7
+ import K from "./index242.js";
8
8
  /* empty css */
9
9
  import O from "./index135.js";
10
10
  /* empty css */
11
11
  import P from "./index137.js";
12
- import T from "./index246.js";
12
+ import T from "./index228.js";
13
13
  /* empty css */
14
14
  const j = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], G = ["aria-label"], J = { class: "bb-common-input-inner-container__suffix" }, re = /* @__PURE__ */ H({
15
15
  __name: "BaseColorInput",
package/dist/index17.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as E, ref as m, computed as n, watch as _, createElementBlock as p, openBlock as h, normalizeProps as i, guardReactiveProps as f, createCommentVNode as I, createElementVNode as l, mergeProps as k, renderSlot as F } from "vue";
2
- import { isCssColor as y } from "./index215.js";
3
- import { when as N } from "./index235.js";
4
- import { booleanishToBoolean as S } from "./index236.js";
2
+ import { isCssColor as y } from "./index252.js";
3
+ import { when as N } from "./index253.js";
4
+ import { booleanishToBoolean as S } from "./index254.js";
5
5
  const A = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index19.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 b, guardReactiveProps as v, createVNode as R, mergeProps as T } from "vue";
2
2
  import W from "./index17.js";
3
3
  /* empty css */
4
- import K from "./index251.js";
4
+ import K from "./index230.js";
5
5
  /* empty css */
6
- import { useItemsGetter as N } from "./index253.js";
7
- import { useIndexById as w } from "./index254.js";
8
- import { useBaseOptions as U } from "./index255.js";
9
- import { useCoherence as q } from "./index256.js";
10
- import { hash as J } from "./index223.js";
11
- import { useHashedWatcher as C } from "./index257.js";
12
- import { usePrefill as Q } from "./index258.js";
6
+ import { useItemsGetter as N } from "./index232.js";
7
+ import { useIndexById as w } from "./index233.js";
8
+ import { useBaseOptions as U } from "./index234.js";
9
+ import { useCoherence as q } from "./index235.js";
10
+ import { hash as J } from "./index236.js";
11
+ import { useHashedWatcher as C } from "./index237.js";
12
+ import { usePrefill as Q } from "./index238.js";
13
13
  const de = /* @__PURE__ */ j({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index21.js CHANGED
@@ -5,22 +5,22 @@ import { _config as C } from "./index4.js";
5
5
  import { useId as F } from "./index8.js";
6
6
  import f from "./index13.js";
7
7
  /* empty css */
8
- import s from "./index216.js";
9
- import G from "./index217.js";
10
- import J from "./index218.js";
11
- import K from "./index219.js";
12
- import Q from "./index220.js";
13
- import X from "./index221.js";
14
- import ee from "./index222.js";
15
- import { hash as M } from "./index223.js";
16
- import { last as ae } from "./index224.js";
17
- import { useLogger as te } from "./index225.js";
18
- import oe from "./index226.js";
19
- import le from "./index227.js";
20
- import re from "./index228.js";
21
- import B from "./index229.js";
22
- import se from "./index230.js";
23
- import { useLocale as de } from "./index231.js";
8
+ import s from "./index217.js";
9
+ import G from "./index220.js";
10
+ import J from "./index221.js";
11
+ import K from "./index222.js";
12
+ import Q from "./index219.js";
13
+ import X from "./index244.js";
14
+ import ee from "./index245.js";
15
+ import { hash as M } from "./index236.js";
16
+ import { last as ae } from "./index225.js";
17
+ import { useLogger as te } from "./index246.js";
18
+ import oe from "./index247.js";
19
+ import le from "./index248.js";
20
+ import re from "./index249.js";
21
+ import B from "./index250.js";
22
+ import se from "./index251.js";
23
+ import { useLocale as de } from "./index226.js";
24
24
  const ie = { class: "bb-base-date-picker" }, ne = { class: "bb-base-date-picker__body" }, ue = { class: "bb-base-date-picker__controls" }, me = { class: "sr-only" }, pe = { class: "sr-only" }, ce = { class: "sr-only" }, fe = {
25
25
  style: { transform: "rotate(180deg)" },
26
26
  viewBox: "0 0 24 24",
package/dist/index212.js CHANGED
@@ -1,4 +1,4 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2
2
  export {
3
- n as clamp
3
+ t as urlAlphabet
4
4
  };
package/dist/index214.js CHANGED
@@ -1,4 +1,4 @@
1
- const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
2
2
  export {
3
- t as urlAlphabet
3
+ n as clamp
4
4
  };
package/dist/index215.js CHANGED
@@ -1,4 +1,9 @@
1
- const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
1
+ const s = (r, t) => {
2
+ if (r.endsWith("."))
3
+ return t === 0 ? r.slice(0, -1) : r;
4
+ const [n, i] = r.split(".");
5
+ return i ? `${n}.${i.slice(0, t)}` : r;
6
+ };
2
7
  export {
3
- s as isCssColor
8
+ s as clampPrecision
4
9
  };
package/dist/index216.js CHANGED
@@ -1,7 +1,4 @@
1
- import { getDefaultExportFromCjs as r } from "./index313.js";
2
- import { __require as o } from "./index288.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
1
+ const r = (e) => typeof e > "u" || e === null;
5
2
  export {
6
- s as default
3
+ r as isNil
7
4
  };
package/dist/index217.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./index313.js";
2
- import { __require as e } from "./index290.js";
3
- var t = e();
4
- const m = /* @__PURE__ */ r(t);
1
+ import { getDefaultExportFromCjs as r } from "./index321.js";
2
+ import { __require as o } from "./index295.js";
3
+ var t = o();
4
+ const s = /* @__PURE__ */ r(t);
5
5
  export {
6
- m as default
6
+ s as default
7
7
  };
package/dist/index218.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./index313.js";
2
- import { __require as e } from "./index292.js";
3
- var o = e();
4
- const m = /* @__PURE__ */ r(o);
1
+ import { getDefaultExportFromCjs as r } from "./index321.js";
2
+ import { __require as o } from "./index297.js";
3
+ var t = o();
4
+ const m = /* @__PURE__ */ r(t);
5
5
  export {
6
6
  m as default
7
7
  };
package/dist/index219.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./index313.js";
2
- import { __require as t } from "./index294.js";
3
- var o = t();
4
- const a = /* @__PURE__ */ r(o);
1
+ import { getDefaultExportFromCjs as r } from "./index321.js";
2
+ import { __require as e } from "./index299.js";
3
+ var o = e();
4
+ const m = /* @__PURE__ */ r(o);
5
5
  export {
6
- a as default
6
+ m as default
7
7
  };
package/dist/index220.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./index313.js";
2
- import { __require as e } from "./index296.js";
3
- var o = e();
4
- const m = /* @__PURE__ */ r(o);
1
+ import { getDefaultExportFromCjs as r } from "./index321.js";
2
+ import { __require as e } from "./index301.js";
3
+ var t = e();
4
+ const m = /* @__PURE__ */ r(t);
5
5
  export {
6
6
  m as default
7
7
  };
package/dist/index221.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as e } from "./index313.js";
2
- import { __require as r } from "./index298.js";
3
- var o = r();
4
- const p = /* @__PURE__ */ e(o);
1
+ import { getDefaultExportFromCjs as r } from "./index321.js";
2
+ import { __require as e } from "./index303.js";
3
+ var o = e();
4
+ const m = /* @__PURE__ */ r(o);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
package/dist/index222.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as e } from "./index313.js";
2
- import { __require as r } from "./index300.js";
3
- var o = r();
4
- const f = /* @__PURE__ */ e(o);
1
+ import { getDefaultExportFromCjs as r } from "./index321.js";
2
+ import { __require as t } from "./index305.js";
3
+ var o = t();
4
+ const a = /* @__PURE__ */ r(o);
5
5
  export {
6
- f as default
6
+ a as default
7
7
  };
package/dist/index223.js CHANGED
@@ -1,5 +1,4 @@
1
- import { hash as o } from "./index306.js";
2
- const t = (r, h = "bb") => `${h}${o(r)}`;
1
+ const e = (t) => t;
3
2
  export {
4
- t as hash
3
+ e as identity
5
4
  };
package/dist/index224.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = (t) => t[t.length - 1];
1
+ const n = (t) => t == null || Number.isNaN(t) || typeof t == "object" && Object.keys(t).length === 0 || typeof t == "string" && t.trim().length === 0 || t instanceof Map && [...t.keys()].length === 0 || t instanceof Set && [...t.keys()].length === 0;
2
2
  export {
3
- e as last
3
+ n as isEmpty
4
4
  };
package/dist/index225.js CHANGED
@@ -1,10 +1,4 @@
1
- const o = "bitboss-ui | ", e = () => ({
2
- warn: (r) => console.warn(`${o}${r}`),
3
- error: (r) => console.error(`${o}${r}`),
4
- throw: (r) => {
5
- throw new Error(`${o}${r}`);
6
- }
7
- });
1
+ const e = (t) => t[t.length - 1];
8
2
  export {
9
- e as useLogger
3
+ e as last
10
4
  };