bitboss-ui 2.1.27 → 2.1.29

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 (175) hide show
  1. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -3
  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/index121.js +12 -12
  7. package/dist/index129.js +1 -1
  8. package/dist/index13.js +1 -1
  9. package/dist/index131.js +4 -4
  10. package/dist/index133.js +1 -1
  11. package/dist/index136.js +1 -1
  12. package/dist/index138.js +1 -1
  13. package/dist/index139.js +2 -2
  14. package/dist/index15.js +8 -8
  15. package/dist/index17.js +3 -3
  16. package/dist/index19.js +8 -8
  17. package/dist/index207.js +2 -2
  18. package/dist/index208.js +2 -2
  19. package/dist/index209.js +85 -12
  20. package/dist/index21.js +16 -16
  21. package/dist/index211.js +27 -9
  22. package/dist/index212.js +17 -34
  23. package/dist/index213.js +51 -86
  24. package/dist/index214.js +17 -0
  25. package/dist/index215.js +3 -29
  26. package/dist/index216.js +11 -16
  27. package/dist/index217.js +13 -48
  28. package/dist/index218.js +4 -15
  29. package/dist/index219.js +13 -3
  30. package/dist/index220.js +9 -10
  31. package/dist/index221.js +19 -15
  32. package/dist/index222.js +197 -2
  33. package/dist/index224.js +69 -2
  34. package/dist/index226.js +13 -2
  35. package/dist/index227.js +116 -17
  36. package/dist/index229.js +2 -6
  37. package/dist/index23.js +15 -15
  38. package/dist/index230.js +4 -106
  39. package/dist/index231.js +36 -0
  40. package/dist/index232.js +2 -100
  41. package/dist/index233.js +4 -0
  42. package/dist/index234.js +17 -68
  43. package/dist/index236.js +6 -13
  44. package/dist/index237.js +101 -112
  45. package/dist/index239.js +83 -212
  46. package/dist/index241.js +229 -2
  47. package/dist/index242.js +2 -7
  48. package/dist/index243.js +2 -7
  49. package/dist/index244.js +6 -3
  50. package/dist/index245.js +2 -4
  51. package/dist/index246.js +5 -20
  52. package/dist/index247.js +5 -197
  53. package/dist/index248.js +7 -0
  54. package/dist/index249.js +5 -5
  55. package/dist/index25.js +3 -3
  56. package/dist/index250.js +4 -4
  57. package/dist/index251.js +5 -5
  58. package/dist/index252.js +3 -5
  59. package/dist/index253.js +2 -5
  60. package/dist/index254.js +7 -5
  61. package/dist/index255.js +7 -2
  62. package/dist/index256.js +13 -5
  63. package/dist/index257.js +4 -4
  64. package/dist/index258.js +5 -8
  65. package/dist/index259.js +6 -248
  66. package/dist/index260.js +240 -42
  67. package/dist/index261.js +43 -35
  68. package/dist/index262.js +44 -5
  69. package/dist/index263.js +5 -60
  70. package/dist/index264.js +59 -182
  71. package/dist/index265.js +181 -7
  72. package/dist/index266.js +10 -23
  73. package/dist/index267.js +2 -9
  74. package/dist/index268.js +8 -2
  75. package/dist/index269.js +23 -6
  76. package/dist/index27.js +1 -1
  77. package/dist/index270.js +6 -16
  78. package/dist/index271.js +16 -3
  79. package/dist/index272.js +3 -9
  80. package/dist/index273.js +9 -9
  81. package/dist/index274.js +9 -8
  82. package/dist/index275.js +8 -2
  83. package/dist/index276.js +2 -67
  84. package/dist/index277.js +5 -5
  85. package/dist/index278.js +7 -4
  86. package/dist/index279.js +5 -8
  87. package/dist/index280.js +67 -2
  88. package/dist/index281.js +3 -7
  89. package/dist/index282.js +17 -11
  90. package/dist/index283.js +28 -3
  91. package/dist/index284.js +3 -17
  92. package/dist/index285.js +3 -28
  93. package/dist/index287.js +7 -4
  94. package/dist/index288.js +1 -1
  95. package/dist/index289.js +7 -3
  96. package/dist/index29.js +91 -87
  97. package/dist/index290.js +11 -3
  98. package/dist/index291.js +6 -0
  99. package/dist/index292.js +3 -6
  100. package/dist/index293.js +2 -3
  101. package/dist/index294.js +3 -2
  102. package/dist/index295.js +3 -5
  103. package/dist/index296.js +2 -3
  104. package/dist/index309.js +5 -6
  105. package/dist/index31.js +2 -2
  106. package/dist/index310.js +5 -18
  107. package/dist/index311.js +19 -2
  108. package/dist/index312.js +2 -27
  109. package/dist/index313.js +27 -2
  110. package/dist/index314.js +2 -2
  111. package/dist/index317.js +1 -1
  112. package/dist/index318.js +1 -21
  113. package/dist/index319.js +24 -0
  114. package/dist/index321.js +5 -366
  115. package/dist/index322.js +718 -58
  116. package/dist/index323.js +366 -5
  117. package/dist/index324.js +58 -2
  118. package/dist/index325.js +2 -58
  119. package/dist/index326.js +227 -57
  120. package/dist/index327.js +32 -6
  121. package/dist/index328.js +27 -18
  122. package/dist/index33.js +8 -8
  123. package/dist/index330.js +6 -128
  124. package/dist/index331.js +16 -366
  125. package/dist/index332.js +6 -46
  126. package/dist/index333.js +8 -7
  127. package/dist/index334.js +128 -32
  128. package/dist/index335.js +369 -28
  129. package/dist/index336.js +49 -0
  130. package/dist/index337.js +57 -227
  131. package/dist/index338.js +58 -8
  132. package/dist/index339.js +7 -5
  133. package/dist/index340.js +6 -8
  134. package/dist/index341.js +7 -92
  135. package/dist/index342.js +89 -125
  136. package/dist/index344.js +3 -127
  137. package/dist/index345.js +124 -483
  138. package/dist/{index343.js → index346.js} +1 -1
  139. package/dist/index347.js +127 -3
  140. package/dist/index348.js +483 -45
  141. package/dist/index349.js +52 -0
  142. package/dist/index35.js +4 -4
  143. package/dist/index37.js +20 -20
  144. package/dist/index39.js +7 -7
  145. package/dist/index41.js +2 -2
  146. package/dist/index43.js +8 -8
  147. package/dist/index45.js +8 -8
  148. package/dist/index47.js +2 -2
  149. package/dist/index49.js +3 -3
  150. package/dist/index53.js +1 -1
  151. package/dist/index55.js +1 -1
  152. package/dist/index57.js +2 -2
  153. package/dist/index61.js +3 -3
  154. package/dist/index67.js +1 -1
  155. package/dist/index79.js +4 -4
  156. package/dist/index81.js +1 -1
  157. package/dist/index83.js +2 -2
  158. package/dist/index85.js +1 -1
  159. package/dist/index87.js +1 -1
  160. package/dist/index88.js +2 -2
  161. package/dist/index90.js +3 -3
  162. package/dist/index92.js +2 -2
  163. package/dist/index94.js +3 -3
  164. package/dist/index96.js +1 -1
  165. package/dist/utilities/functions/clampPrecision.d.ts +1 -0
  166. package/dist/utilities/functions/exceedsPrecision.d.ts +1 -0
  167. package/package.json +1 -1
  168. package/dist/index210.js +0 -15
  169. package/dist/index223.js +0 -6
  170. package/dist/index225.js +0 -4
  171. package/dist/index240.js +0 -4
  172. package/dist/index286.js +0 -6
  173. package/dist/index320.js +0 -720
  174. package/dist/index329.js +0 -10
  175. /package/dist/{index228.js → index235.js} +0 -0
@@ -0,0 +1,52 @@
1
+ function T(n, i, e) {
2
+ let l = e.initialDeps ?? [], t;
3
+ function r() {
4
+ var o, m, h, f;
5
+ let g;
6
+ e.key && ((o = e.debug) != null && o.call(e)) && (g = Date.now());
7
+ const u = n();
8
+ if (!(u.length !== l.length || u.some((c, a) => l[a] !== c)))
9
+ return t;
10
+ l = u;
11
+ let s;
12
+ if (e.key && ((m = e.debug) != null && m.call(e)) && (s = Date.now()), t = i(...u), e.key && ((h = e.debug) != null && h.call(e))) {
13
+ const c = Math.round((Date.now() - g) * 100) / 100, a = Math.round((Date.now() - s) * 100) / 100, b = a / 16, w = (d, v) => {
14
+ for (d = String(d); d.length < v; )
15
+ d = " " + d;
16
+ return d;
17
+ };
18
+ console.info(
19
+ `%c⏱ ${w(a, 5)} /${w(c, 5)} ms`,
20
+ `
21
+ font-size: .6rem;
22
+ font-weight: bold;
23
+ color: hsl(${Math.max(
24
+ 0,
25
+ Math.min(120 - 120 * b, 120)
26
+ )}deg 100% 31%);`,
27
+ e == null ? void 0 : e.key
28
+ );
29
+ }
30
+ return (f = e == null ? void 0 : e.onChange) == null || f.call(e, t), t;
31
+ }
32
+ return r.updateDeps = (o) => {
33
+ l = o;
34
+ }, r;
35
+ }
36
+ function y(n, i) {
37
+ if (n === void 0)
38
+ throw new Error("Unexpected undefined");
39
+ return n;
40
+ }
41
+ const M = (n, i) => Math.abs(n - i) <= 1, k = (n, i, e) => {
42
+ let l;
43
+ return function(...t) {
44
+ n.clearTimeout(l), l = n.setTimeout(() => i.apply(this, t), e);
45
+ };
46
+ };
47
+ export {
48
+ M as approxEqual,
49
+ k as debounce,
50
+ T as memo,
51
+ y as notUndefined
52
+ };
package/dist/index35.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, ref as v, computed as f, createElementBlock as l, openBlock as r, mergeProps as h, createElementVNode as i, renderSlot as p, Fragment as V, renderList as M, normalizeClass as D, toDisplayString as F, unref as y } from "vue";
2
- import { booleanishToBoolean as T } from "./index224.js";
3
- import { identity as $ } from "./index255.js";
4
- import { isCssColor as k } from "./index222.js";
2
+ import { booleanishToBoolean as T } from "./index242.js";
3
+ import { identity as $ } from "./index243.js";
4
+ import { isCssColor as k } from "./index229.js";
5
5
  import { isNotNil as q } from "./index140.js";
6
- import { useLocale as x } from "./index210.js";
6
+ import { useLocale as x } from "./index219.js";
7
7
  const H = { class: "bb-base-rating__inner-container" }, S = { class: "bb-base-rating__label-text sr-only" }, N = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], j = ["height", "width"], W = /* @__PURE__ */ I({
8
8
  __name: "BaseRating",
9
9
  props: {
package/dist/index37.js CHANGED
@@ -5,32 +5,32 @@ import { useId as tt } from "./index8.js";
5
5
  import { useMobile as lt } from "./index9.js";
6
6
  import at from "./index111.js";
7
7
  /* empty css */
8
- import { hash as ot } from "./index219.js";
9
- import { isEmpty as nt } from "./index225.js";
10
- import { last as ut } from "./index226.js";
11
- import { matchAnyKey as ie } from "./index227.js";
12
- import { useArray as st } from "./index228.js";
13
- import { useBaseOptions as it } from "./index217.js";
14
- import { useCoherence as rt } from "./index218.js";
15
- import { useHashedWatcher as re } from "./index220.js";
16
- import { useIndexById as de } from "./index216.js";
8
+ import { hash as ot } from "./index215.js";
9
+ import { isEmpty as nt } from "./index232.js";
10
+ import { last as ut } from "./index233.js";
11
+ import { matchAnyKey as ie } from "./index234.js";
12
+ import { useArray as st } from "./index235.js";
13
+ import { useBaseOptions as it } from "./index213.js";
14
+ import { useCoherence as rt } from "./index214.js";
15
+ import { useHashedWatcher as re } from "./index216.js";
16
+ import { useIndexById as de } from "./index212.js";
17
17
  import { useMounted as dt, useIntersectionObserver as ct } from "./index137.js";
18
- import { useItemsGetter as pt } from "./index215.js";
19
- import { useLocale as mt } from "./index210.js";
20
- import { usePrefill as ft } from "./index221.js";
18
+ import { useItemsGetter as pt } from "./index211.js";
19
+ import { useLocale as mt } from "./index219.js";
20
+ import { usePrefill as ft } from "./index217.js";
21
21
  import { wait as q } from "./index135.js";
22
- import { waitFor as vt } from "./index229.js";
23
- import { when as ht } from "./index223.js";
24
- import yt from "./index230.js";
22
+ import { waitFor as vt } from "./index236.js";
23
+ import { when as ht } from "./index230.js";
24
+ import yt from "./index237.js";
25
25
  /* empty css */
26
- import bt from "./index232.js";
26
+ import bt from "./index239.js";
27
27
  /* empty css */
28
- import gt from "./index234.js";
28
+ import gt from "./index224.js";
29
29
  /* empty css */
30
- import wt from "./index236.js";
31
- import Bt from "./index237.js";
30
+ import wt from "./index226.js";
31
+ import Bt from "./index227.js";
32
32
  /* empty css */
33
- import Vt from "./index239.js";
33
+ import Vt from "./index241.js";
34
34
  const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-select__input-container" }, Ct = {
35
35
  key: 1,
36
36
  class: "bb-base-select__max-reached"
package/dist/index39.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as re, ref as d, computed as p, onMounted as te, watch as le, createElementBlock as y, openBlock as g, mergeProps as N, renderSlot as v, createElementVNode as m, createCommentVNode as H, Fragment as oe, renderList as ne, normalizeProps as se, guardReactiveProps as ie, unref as c, normalizeStyle as G, normalizeClass as O } from "vue";
2
- import { head as ue } from "./index240.js";
3
- import { isCssColor as Y } from "./index222.js";
4
- import { isNil as S } from "./index241.js";
2
+ import { head as ue } from "./index253.js";
3
+ import { isCssColor as Y } from "./index229.js";
4
+ import { isNil as S } from "./index245.js";
5
5
  import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index136.js";
6
- import { snapToStep as me } from "./index242.js";
7
- import { last as ce } from "./index226.js";
8
- import { transpose as j } from "./index243.js";
9
- import { clamp as f } from "./index207.js";
6
+ import { snapToStep as me } from "./index254.js";
7
+ import { last as ce } from "./index233.js";
8
+ import { transpose as j } from "./index255.js";
9
+ import { clamp as f } from "./index208.js";
10
10
  const be = { class: "bb-base-slider__slider-container" }, ve = {
11
11
  key: 0,
12
12
  class: "bb-base-slider__ticks-container"
package/dist/index41.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as I, ref as f, computed as n, watch as S, createElementBlock as h, openBlock as y, normalizeProps as r, guardReactiveProps as d, createCommentVNode as A, createElementVNode as l, mergeProps as V, renderSlot as F } from "vue";
2
- import { isCssColor as b } from "./index222.js";
3
- import { when as N } from "./index223.js";
2
+ import { isCssColor as b } from "./index229.js";
3
+ import { when as N } from "./index230.js";
4
4
  const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index43.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index41.js";
3
3
  /* empty css */
4
- import N from "./index213.js";
4
+ import N from "./index209.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index215.js";
7
- import { useIndexById as T } from "./index216.js";
8
- import { useBaseOptions as q } from "./index217.js";
9
- import { useCoherence as J } from "./index218.js";
10
- import { hash as Q } from "./index219.js";
11
- import { useHashedWatcher as $ } from "./index220.js";
12
- import { usePrefill as X } from "./index221.js";
6
+ import { useItemsGetter as U } from "./index211.js";
7
+ import { useIndexById as T } from "./index212.js";
8
+ import { useBaseOptions as q } from "./index213.js";
9
+ import { useCoherence as J } from "./index214.js";
10
+ import { hash as Q } from "./index215.js";
11
+ import { useHashedWatcher as $ } from "./index216.js";
12
+ import { usePrefill as X } from "./index217.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.js CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
3
3
  /* empty css */
4
4
  import ae from "./index111.js";
5
5
  /* empty css */
6
- import { last as le } from "./index226.js";
7
- import { useBaseOptions as ne } from "./index217.js";
8
- import { useIndexById as re } from "./index216.js";
9
- import ie from "./index230.js";
6
+ import { last as le } from "./index233.js";
7
+ import { useBaseOptions as ne } from "./index213.js";
8
+ import { useIndexById as re } from "./index212.js";
9
+ import ie from "./index237.js";
10
10
  /* empty css */
11
- import ue from "./index232.js";
11
+ import ue from "./index239.js";
12
12
  /* empty css */
13
- import se from "./index234.js";
13
+ import se from "./index224.js";
14
14
  /* empty css */
15
- import de from "./index236.js";
16
- import { isEmpty as pe } from "./index225.js";
15
+ import de from "./index226.js";
16
+ import { isEmpty as pe } from "./index232.js";
17
17
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__PURE__ */ Q({
18
18
  __name: "BaseTag",
19
19
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
2
- import E from "./index236.js";
3
- import G from "./index234.js";
2
+ import E from "./index226.js";
3
+ import G from "./index224.js";
4
4
  /* empty css */
5
5
  import M from "./index111.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as q, mergeProps as b, renderSlot as d } from "vue";
2
- import E from "./index234.js";
2
+ import E from "./index224.js";
3
3
  /* empty css */
4
- import I from "./index236.js";
4
+ import I from "./index226.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index264.js";
6
+ import { MaskInput as z } from "./index265.js";
7
7
  const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
8
8
  __name: "BaseTextInput",
9
9
  props: {
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index85.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index210.js";
6
+ import { useLocale as g } from "./index219.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index222.js";
2
+ import { isCssColor as y } from "./index229.js";
3
3
  import { wait as C } from "./index135.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as l } from "./index222.js";
3
- import { isNil as B } from "./index241.js";
2
+ import { isCssColor as l } from "./index229.js";
3
+ import { isNil as B } from "./index245.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
7
7
  /* empty css */
8
8
  import T from "./index113.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index267.js";
11
- import { noop as w } from "./index268.js";
12
- import { useLocale as D } from "./index210.js";
10
+ import { pickBy as W } from "./index266.js";
11
+ import { noop as w } from "./index267.js";
12
+ import { useLocale as D } from "./index219.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index67.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
2
- import { useLocale as f } from "./index210.js";
2
+ import { useLocale as f } from "./index219.js";
3
3
  const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
4
4
  __name: "BbChip",
5
5
  props: {
package/dist/index79.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as N, computed as R, ref as E, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as D, createElementVNode as I, normalizeStyle as J, renderSlot as m, createElementBlock as q, Fragment as F, renderList as Q, createVNode as X, mergeProps as Y, createCommentVNode as A, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
2
- import { findRightIndex as T } from "./index265.js";
2
+ import { findRightIndex as T } from "./index268.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index211.js";
4
+ import { useUntil as ne } from "./index220.js";
5
5
  import { wait as oe } from "./index135.js";
6
6
  import ae from "./index13.js";
7
7
  /* empty css */
8
8
  import B from "./index85.js";
9
9
  /* empty css */
10
- import le from "./index237.js";
10
+ import le from "./index227.js";
11
11
  /* empty css */
12
- import K from "./index266.js";
12
+ import K from "./index269.js";
13
13
  const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ N({
14
14
  __name: "BbDropdown",
15
15
  props: {
package/dist/index81.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
9
9
  /* empty css */
10
10
  import I from "./index113.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index210.js";
12
+ import { useLocale as M } from "./index219.js";
13
13
  const O = { class: "bb-dropdown-button__content" }, R = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index83.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index270.js";
2
+ import { findInTree as ae } from "./index271.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index111.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index269.js")).default);
56
+ b || (b = (await import("./index270.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index85.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, createElementBlock as h, openBlock as $, mergeProps as g } from "vue";
2
- import { isCssColor as I } from "./index222.js";
2
+ import { isCssColor as I } from "./index229.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index87.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index271.js";
2
+ import { throttle as c } from "./index272.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index88.js CHANGED
@@ -22,7 +22,7 @@ const D = /* @__PURE__ */ B({
22
22
  labelPosition: {},
23
23
  loading: { type: Boolean },
24
24
  max: {},
25
- maxPrecision: { default: 1 / 0 },
25
+ maxPrecision: {},
26
26
  min: {},
27
27
  modelValue: {},
28
28
  name: {},
@@ -62,7 +62,7 @@ const D = /* @__PURE__ */ B({
62
62
  var e;
63
63
  (e = p.value) == null || e.decrease();
64
64
  }
65
- }), (e, H) => (k(), g(V, {
65
+ }), (e, I) => (k(), g(V, {
66
66
  id: e.id,
67
67
  class: "bb-number-input",
68
68
  compact: e.compact,
package/dist/index90.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as P, mergeModels as T, useModel as q, computed as v, ref as z, watch as A, onMounted as H, createElementBlock as r, openBlock as d, withModifiers as K, normalizeStyle as R, normalizeClass as U, unref as p, createCommentVNode as y, Fragment as j, createElementVNode as t, renderSlot as l, createTextVNode as G, toDisplayString as D, nextTick as J } from "vue";
2
- import { parseSize as Q } from "./index209.js";
2
+ import { parseSize as Q } from "./index256.js";
3
3
  import { useId as S } from "./index8.js";
4
- import { useLocale as X } from "./index210.js";
4
+ import { useLocale as X } from "./index219.js";
5
5
  import { useMobile as Y } from "./index9.js";
6
- import { useUntil as Z } from "./index211.js";
6
+ import { useUntil as Z } from "./index220.js";
7
7
  import { wait as h } from "./index135.js";
8
8
  const x = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], ee = {
9
9
  ref: "header",
package/dist/index92.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
3
3
  /* empty css */
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index272.js";
7
- import { useLocale as H } from "./index210.js";
6
+ import { debounce as X } from "./index273.js";
7
+ import { useLocale as H } from "./index219.js";
8
8
  import { useRoute as J } from "./index142.js";
9
9
  const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
10
10
  __name: "BbPagination",
package/dist/index94.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as l, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
2
2
  import { useId as H } from "./index8.js";
3
3
  import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index210.js";
5
- import { useUntil as W } from "./index211.js";
4
+ import { useLocale as U } from "./index219.js";
5
+ import { useUntil as W } from "./index220.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index237.js";
8
+ import A from "./index227.js";
9
9
  /* empty css */
10
10
  const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
11
11
  __name: "BbPopover",
package/dist/index96.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index207.js";
2
+ import { clamp as p } from "./index208.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
@@ -0,0 +1 @@
1
+ export declare const clampPrecision: (value: string, maxPrecision: number) => string;
@@ -0,0 +1 @@
1
+ export declare const exceedsPrecision: (value: string, maxPrecision: number) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.27",
3
+ "version": "2.1.29",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index210.js DELETED
@@ -1,15 +0,0 @@
1
- import { locales as t } from "./index281.js";
2
- import { _config as m } from "./index4.js";
3
- import { get as c } from "./index282.js";
4
- import { readonly as l, computed as n } from "vue";
5
- const p = (o, ...r) => l(
6
- n(() => c(t[m.locale], o).replace(
7
- /\{(\d+)\}/g,
8
- (a, e) => r[e]
9
- ))
10
- ), d = () => ({
11
- t: p
12
- });
13
- export {
14
- d as useLocale
15
- };
package/dist/index223.js DELETED
@@ -1,6 +0,0 @@
1
- import { curry as e } from "./index286.js";
2
- const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
3
- export {
4
- t as baseWhen,
5
- s as when
6
- };
package/dist/index225.js DELETED
@@ -1,4 +0,0 @@
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
- export {
3
- n as isEmpty
4
- };
package/dist/index240.js DELETED
@@ -1,4 +0,0 @@
1
- const o = (e) => e[0];
2
- export {
3
- o as head
4
- };
package/dist/index286.js DELETED
@@ -1,6 +0,0 @@
1
- const e = function(t) {
2
- return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
3
- };
4
- export {
5
- e as curry
6
- };