bitboss-ui 2.1.136 → 2.1.137

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/ai/BaseNumberInput.md +87 -10
  2. package/dist/ai/BbNumberInput.md +6 -0
  3. package/dist/components/BaseNumberInput/types.d.ts +4 -0
  4. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +2 -0
  5. package/dist/components/BbNumberInput/types.d.ts +4 -0
  6. package/dist/index109.js +9 -9
  7. package/dist/index110.js +18 -18
  8. package/dist/index118.js +1 -1
  9. package/dist/index124.js +3 -3
  10. package/dist/index126.js +14 -14
  11. package/dist/index134.js +2 -2
  12. package/dist/index136.js +4 -4
  13. package/dist/index138.js +1 -1
  14. package/dist/index14.js +1 -1
  15. package/dist/index142.js +2 -2
  16. package/dist/index146.js +1 -1
  17. package/dist/index148.js +2 -2
  18. package/dist/index150.js +1 -1
  19. package/dist/index16.js +3 -3
  20. package/dist/index18.js +3 -3
  21. package/dist/index20.js +9 -9
  22. package/dist/index22.js +14 -14
  23. package/dist/index224.js +2 -138
  24. package/dist/index225.js +138 -2
  25. package/dist/index226.js +2 -2
  26. package/dist/index227.js +1 -1
  27. package/dist/index228.js +1 -1
  28. package/dist/index229.js +3 -86
  29. package/dist/index230.js +88 -0
  30. package/dist/index232.js +28 -15
  31. package/dist/index233.js +15 -49
  32. package/dist/index234.js +48 -15
  33. package/dist/index235.js +18 -3
  34. package/dist/index236.js +3 -12
  35. package/dist/index237.js +11 -17
  36. package/dist/index238.js +18 -8
  37. package/dist/index239.js +8 -4
  38. package/dist/index24.js +10 -10
  39. package/dist/index240.js +2 -13
  40. package/dist/index241.js +2 -20
  41. package/dist/index242.js +3 -34
  42. package/dist/index243.js +5 -2
  43. package/dist/index244.js +5 -2
  44. package/dist/index245.js +5 -3
  45. package/dist/index246.js +5 -5
  46. package/dist/index247.js +2 -5
  47. package/dist/index248.js +6 -5
  48. package/dist/index249.js +268 -5
  49. package/dist/index250.js +52 -5
  50. package/dist/index251.js +52 -5
  51. package/dist/index252.js +32 -3
  52. package/dist/index253.js +57 -157
  53. package/dist/index254.js +15 -0
  54. package/dist/index255.js +188 -5
  55. package/dist/index256.js +3 -2
  56. package/dist/index257.js +3 -5
  57. package/dist/index258.js +18 -266
  58. package/dist/index259.js +25 -52
  59. package/dist/index26.js +4 -4
  60. package/dist/index260.js +8 -52
  61. package/dist/index261.js +12 -31
  62. package/dist/index262.js +13 -60
  63. package/dist/index263.js +160 -7
  64. package/dist/index265.js +4 -3
  65. package/dist/index266.js +23 -4
  66. package/dist/index267.js +33 -9
  67. package/dist/index268.js +28 -44
  68. package/dist/index270.js +9 -25
  69. package/dist/index271.js +2 -188
  70. package/dist/index272.js +2 -3
  71. package/dist/index273.js +7 -2
  72. package/dist/index274.js +7 -3
  73. package/dist/index275.js +2 -4
  74. package/dist/index276.js +5 -373
  75. package/dist/index278.js +3 -8
  76. package/dist/index279.js +5 -13
  77. package/dist/index28.js +1 -1
  78. package/dist/index280.js +5 -13
  79. package/dist/index281.js +5 -11
  80. package/dist/index282.js +3 -18
  81. package/dist/index283.js +6 -11
  82. package/dist/index284.js +61 -100
  83. package/dist/index285.js +11 -0
  84. package/dist/index286.js +20 -99
  85. package/dist/index287.js +6 -0
  86. package/dist/index288.js +100 -101
  87. package/dist/index290.js +100 -33
  88. package/dist/index292.js +5 -0
  89. package/dist/index293.js +33 -8
  90. package/dist/index294.js +18 -23
  91. package/dist/index295.js +11 -7
  92. package/dist/index296.js +107 -6
  93. package/dist/index297.js +11 -16
  94. package/dist/index298.js +373 -9
  95. package/dist/index30.js +134 -105
  96. package/dist/index300.js +44 -3
  97. package/dist/index301.js +52 -20
  98. package/dist/index302.js +5 -66
  99. package/dist/index303.js +6 -2
  100. package/dist/index304.js +16 -7
  101. package/dist/index305.js +9 -7
  102. package/dist/index306.js +23 -6
  103. package/dist/index307.js +8 -5
  104. package/dist/index308.js +3 -2
  105. package/dist/index309.js +17 -3
  106. package/dist/index310.js +25 -14
  107. package/dist/index311.js +5 -28
  108. package/dist/index32.js +2 -2
  109. package/dist/index321.js +1 -1
  110. package/dist/index322.js +1 -1
  111. package/dist/index323.js +1 -1
  112. package/dist/index324.js +1 -1
  113. package/dist/index325.js +1 -1
  114. package/dist/index326.js +3 -5
  115. package/dist/index328.js +7 -125
  116. package/dist/index329.js +3 -2
  117. package/dist/index330.js +2 -15
  118. package/dist/index331.js +125 -2
  119. package/dist/index332.js +2 -19
  120. package/dist/index333.js +15 -2
  121. package/dist/index334.js +2 -3
  122. package/dist/index335.js +19 -3
  123. package/dist/index336.js +2 -5
  124. package/dist/index337.js +4 -4
  125. package/dist/index338.js +5 -0
  126. package/dist/index339.js +3 -7
  127. package/dist/index34.js +8 -8
  128. package/dist/index340.js +5 -3
  129. package/dist/index341.js +2 -3
  130. package/dist/index342.js +1 -1
  131. package/dist/index343.js +1 -1
  132. package/dist/index344.js +4 -719
  133. package/dist/index345.js +716 -363
  134. package/dist/index346.js +366 -57
  135. package/dist/index347.js +57 -2
  136. package/dist/index349.js +5 -7
  137. package/dist/index350.js +7 -5
  138. package/dist/index353.js +1 -1
  139. package/dist/index354.js +1 -1
  140. package/dist/index358.js +221 -86
  141. package/dist/index36.js +4 -4
  142. package/dist/index361.js +86 -221
  143. package/dist/index365.js +4 -4
  144. package/dist/index366.js +3 -3
  145. package/dist/index372.js +1 -1
  146. package/dist/index38.js +21 -21
  147. package/dist/index40.js +7 -7
  148. package/dist/index42.js +2 -2
  149. package/dist/index44.js +8 -8
  150. package/dist/index46.js +6 -6
  151. package/dist/index50.js +2 -2
  152. package/dist/index54.js +1 -1
  153. package/dist/index56.js +1 -1
  154. package/dist/index58.js +2 -2
  155. package/dist/index60.js +2 -2
  156. package/dist/index62.js +5 -5
  157. package/dist/index68.js +1 -1
  158. package/dist/index74.js +4 -4
  159. package/dist/index82.js +7 -7
  160. package/dist/index84.js +1 -1
  161. package/dist/index86.js +2 -2
  162. package/dist/index88.js +3 -3
  163. package/dist/index90.js +1 -1
  164. package/dist/index91.js +8 -6
  165. package/dist/index93.js +4 -4
  166. package/dist/index95.js +2 -2
  167. package/dist/index97.js +5 -5
  168. package/dist/index99.js +1 -1
  169. package/package.json +1 -1
  170. package/dist/index231.js +0 -32
  171. package/dist/index264.js +0 -4
  172. package/dist/index269.js +0 -55
  173. package/dist/index289.js +0 -25
  174. package/dist/index291.js +0 -30
  175. package/dist/index327.js +0 -6
  176. /package/dist/{index299.js → index277.js} +0 -0
package/dist/index366.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as pe, useTemplateRef as G, computed as i, watch as E, ref as ve, createElementBlock as r, openBlock as c, withModifiers as he, normalizeStyle as V, normalizeClass as J, createElementVNode as v, renderSlot as b, createTextVNode as P, toDisplayString as x, unref as g, Fragment as Y, renderList as K } from "vue";
2
- import { isNil as f } from "./index264.js";
2
+ import { isNil as f } from "./index272.js";
3
3
  import { useVirtualizer as be } from "./index371.js";
4
- import { useLocale as me } from "./index240.js";
4
+ import { useLocale as me } from "./index254.js";
5
5
  import { useListboxFocus as xe } from "./index372.js";
6
- import { indexBy as A } from "./index301.js";
6
+ import { indexBy as A } from "./index286.js";
7
7
  const ge = { class: "bb-listbox__outer-container scrollbar-border" }, fe = {
8
8
  ref: "inner",
9
9
  class: "bb-listbox__inner-container",
package/dist/index372.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ref as d, computed as v, toValue as u } from "vue";
2
- import { isNil as a } from "./index264.js";
2
+ import { isNil as a } from "./index272.js";
3
3
  function p(n, { disabled: r = !1 } = {}) {
4
4
  const l = d(null), c = v(
5
5
  () => !u(r) && u(n).some((t) => !t.disabled)
package/dist/index38.js CHANGED
@@ -1,38 +1,38 @@
1
1
  import { defineComponent as et, ref as v, computed as m, toRef as z, createBlock as K, openBlock as y, normalizeClass as ae, withCtx as n, createElementVNode as L, createVNode as F, createElementBlock as S, unref as B, renderSlot as s, createCommentVNode as k, withDirectives as tt, Fragment as le, toDisplayString as ot, withKeys as w, withModifiers as f, normalizeStyle as ne, vModelDynamic as at, normalizeProps as lt, guardReactiveProps as nt, mergeProps as ue, renderList as ut, nextTick as U } from "vue";
2
2
  import rt from "./index116.js";
3
3
  /* empty css */
4
- import { hash as W } from "./index235.js";
5
- import { isEmpty as it } from "./index252.js";
6
- import { last as st } from "./index256.js";
7
- import { matchAnyKey as re } from "./index282.js";
8
- import { useArray as dt } from "./index283.js";
9
- import { useBaseOptions as pt } from "./index233.js";
10
- import { useCoherence as ct } from "./index234.js";
11
- import { useHashedWatcher as ie } from "./index236.js";
4
+ import { hash as W } from "./index236.js";
5
+ import { isEmpty as it } from "./index282.js";
6
+ import { last as st } from "./index247.js";
7
+ import { matchAnyKey as re } from "./index294.js";
8
+ import { useArray as dt } from "./index295.js";
9
+ import { useBaseOptions as pt } from "./index234.js";
10
+ import { useCoherence as ct } from "./index235.js";
11
+ import { useHashedWatcher as ie } from "./index237.js";
12
12
  import { useId as mt } from "./index8.js";
13
- import { useIndexById as se } from "./index232.js";
13
+ import { useIndexById as se } from "./index233.js";
14
14
  import { useMounted as ft, useElementSize as vt, useIntersectionObserver as ht } from "./index148.js";
15
- import { useItemsGetter as yt } from "./index231.js";
16
- import { useLocale as gt } from "./index240.js";
15
+ import { useItemsGetter as yt } from "./index232.js";
16
+ import { useLocale as gt } from "./index254.js";
17
17
  import { useMobile as bt } from "./index9.js";
18
- import { usePrefill as Bt } from "./index237.js";
18
+ import { usePrefill as Bt } from "./index238.js";
19
19
  import { wait as T } from "./index147.js";
20
- import { when as wt } from "./index266.js";
21
- import Vt from "./index284.js";
20
+ import { when as wt } from "./index287.js";
21
+ import Vt from "./index288.js";
22
22
  /* empty css */
23
- import kt from "./index286.js";
23
+ import kt from "./index290.js";
24
24
  /* empty css */
25
25
  import It from "./index142.js";
26
26
  /* empty css */
27
27
  import St from "./index144.js";
28
28
  /* empty css */
29
- import $t from "./index253.js";
29
+ import $t from "./index263.js";
30
30
  /* empty css */
31
- import Ct from "./index288.js";
32
- import { useUntil as Dt } from "./index280.js";
33
- import { isNil as Ht } from "./index264.js";
34
- import { get as Ot } from "./index281.js";
35
- import { useLogger as Lt } from "./index238.js";
31
+ import Ct from "./index296.js";
32
+ import { useUntil as Dt } from "./index262.js";
33
+ import { isNil as Ht } from "./index272.js";
34
+ import { get as Ot } from "./index297.js";
35
+ import { useLogger as Lt } from "./index239.js";
36
36
  const Ft = { class: "bb-base-select__input-container" }, Tt = {
37
37
  key: 1,
38
38
  class: "bb-base-select__max-reached"
package/dist/index40.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as ie, ref as d, computed as f, onMounted as se, watch as ue, createElementBlock as y, openBlock as g, normalizeProps as G, guardReactiveProps as O, renderSlot as p, createElementVNode as c, mergeProps as N, createCommentVNode as Y, Fragment as de, renderList as me, unref as b, normalizeStyle as j, normalizeClass as J } from "vue";
2
- import { head as ce } from "./index303.js";
3
- import { isCssColor as K } from "./index243.js";
4
- import { isNil as x } from "./index264.js";
2
+ import { head as ce } from "./index271.js";
3
+ import { isCssColor as K } from "./index240.js";
4
+ import { isNil as x } from "./index272.js";
5
5
  import { getAsPercentageBetween as S, getAsPercentage as be, getValueFromPercentageInInterval as T } from "./index146.js";
6
- import { snapToStep as ve } from "./index304.js";
7
- import { last as fe } from "./index256.js";
8
- import { transpose as Q } from "./index305.js";
9
- import { clamp as m } from "./index225.js";
6
+ import { snapToStep as ve } from "./index273.js";
7
+ import { last as fe } from "./index247.js";
8
+ import { transpose as Q } from "./index274.js";
9
+ import { clamp as m } from "./index226.js";
10
10
  const pe = {
11
11
  key: 0,
12
12
  class: "bb-base-slider__ticks-container"
package/dist/index42.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as F, ref as b, computed as s, watch as S, createElementBlock as y, openBlock as V, normalizeProps as l, guardReactiveProps as m, createCommentVNode as A, createElementVNode as r, mergeProps as v, renderSlot as N } from "vue";
2
- import { isCssColor as p } from "./index243.js";
3
- import { when as x } from "./index266.js";
2
+ import { isCssColor as p } from "./index240.js";
3
+ import { when as x } from "./index287.js";
4
4
  const M = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ F({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index44.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 n, renderSlot as s, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index42.js";
3
3
  /* empty css */
4
- import N from "./index229.js";
4
+ import N from "./index230.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index231.js";
7
- import { useIndexById as T } from "./index232.js";
8
- import { useBaseOptions as q } from "./index233.js";
9
- import { useCoherence as J } from "./index234.js";
10
- import { hash as Q } from "./index235.js";
11
- import { useHashedWatcher as $ } from "./index236.js";
12
- import { usePrefill as X } from "./index237.js";
6
+ import { useItemsGetter as U } from "./index232.js";
7
+ import { useIndexById as T } from "./index233.js";
8
+ import { useBaseOptions as q } from "./index234.js";
9
+ import { useCoherence as J } from "./index235.js";
10
+ import { hash as Q } from "./index236.js";
11
+ import { useHashedWatcher as $ } from "./index237.js";
12
+ import { usePrefill as X } from "./index238.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index46.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as j, ref as u, computed as f, toRef as C, watch as Q, createBlock as h, openBlock as m, normalizeClass as Z, withCtx as l, createVNode as E, unref as G, createElementVNode as $, createElementBlock as J, createCommentVNode as W, withDirectives as X, Fragment as Y, mergeProps as ee, withModifiers as s, withKeys as v, vModelText as te, renderSlot as d, nextTick as oe } from "vue";
2
2
  import ae from "./index116.js";
3
3
  /* empty css */
4
- import { last as le } from "./index256.js";
5
- import { useBaseOptions as ne } from "./index233.js";
6
- import { useIndexById as re } from "./index232.js";
7
- import ie from "./index284.js";
4
+ import { last as le } from "./index247.js";
5
+ import { useBaseOptions as ne } from "./index234.js";
6
+ import { useIndexById as re } from "./index233.js";
7
+ import ie from "./index288.js";
8
8
  /* empty css */
9
- import ue from "./index286.js";
9
+ import ue from "./index290.js";
10
10
  /* empty css */
11
11
  import se from "./index142.js";
12
12
  /* empty css */
13
13
  import de from "./index144.js";
14
14
  /* empty css */
15
- import { isEmpty as pe } from "./index252.js";
15
+ import { isEmpty as pe } from "./index282.js";
16
16
  const ce = { class: "bb-base-tag__input-container" }, fe = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Oe = /* @__PURE__ */ j({
17
17
  __name: "BaseTag",
18
18
  props: {
package/dist/index50.js CHANGED
@@ -4,8 +4,8 @@ import C from "./index142.js";
4
4
  import N from "./index144.js";
5
5
  /* empty css */
6
6
  import { isNotNil as I } from "./index152.js";
7
- import { MaskInput as z } from "./index271.js";
8
- import { isNotEmpty as D } from "./index272.js";
7
+ import { MaskInput as z } from "./index255.js";
8
+ import { isNotEmpty as D } from "./index256.js";
9
9
  const F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], L = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], J = /* @__PURE__ */ V({
10
10
  __name: "BaseTextInput",
11
11
  props: {
package/dist/index54.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index70.js";
3
3
  /* empty css */
4
4
  import L from "./index88.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index240.js";
6
+ import { useLocale as g } from "./index254.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index56.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 "./index243.js";
2
+ import { isCssColor as y } from "./index240.js";
3
3
  import { wait as C } from "./index147.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index58.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, useSlots as u, computed as n, createElementBlock as s, openBlock as r, normalizeClass as g, createElementVNode as l, renderSlot as b, mergeProps as f, createCommentVNode as _, createTextVNode as y, toDisplayString as B } from "vue";
2
- import { isCssColor as c } from "./index243.js";
3
- import { isNil as C } from "./index264.js";
2
+ import { isCssColor as c } from "./index240.js";
3
+ import { isNil as C } from "./index272.js";
4
4
  const k = { class: "bb-badge__wrapper" }, N = {
5
5
  key: 0,
6
6
  class: "bb-badge__content-inner"
package/dist/index60.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as K, ref as I, computed as l, watch as Q, onBeforeUnmount as Z, createElementBlock as o, openBlock as n, normalizeStyle as x, createElementVNode as p, createCommentVNode as c, renderSlot as b, createVNode as C, withCtx as L, normalizeProps as ee, guardReactiveProps as se, mergeProps as N, createTextVNode as T, toDisplayString as M, Fragment as O, renderList as te } from "vue";
2
2
  import { useResizeObserver as ie } from "./index148.js";
3
- import { useLocale as ae } from "./index240.js";
3
+ import { useLocale as ae } from "./index254.js";
4
4
  import de from "./index14.js";
5
5
  /* empty css */
6
6
  import re from "./index82.js";
7
7
  /* empty css */
8
- import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index270.js";
8
+ import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index259.js";
9
9
  const ne = ["aria-label"], be = { class: "bb-breadcrumbs__container" }, ue = {
10
10
  key: 0,
11
11
  class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--prepend"
package/dist/index62.js CHANGED
@@ -7,11 +7,11 @@ import f from "./index88.js";
7
7
  /* empty css */
8
8
  import I from "./index118.js";
9
9
  /* empty css */
10
- import { pickBy as J } from "./index299.js";
11
- import { noop as K } from "./index300.js";
12
- import { useLocale as Q } from "./index240.js";
13
- import { extractDomContainer as U } from "./index275.js";
14
- import { isEqual as k } from "./index245.js";
10
+ import { pickBy as J } from "./index277.js";
11
+ import { noop as K } from "./index278.js";
12
+ import { useLocale as Q } from "./index254.js";
13
+ import { extractDomContainer as U } from "./index265.js";
14
+ import { isEqual as k } from "./index242.js";
15
15
  const X = {
16
16
  key: 2,
17
17
  class: "bb-button__loading-label sr-only"
package/dist/index68.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 "./index240.js";
2
+ import { useLocale as f } from "./index254.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/index74.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as L, ref as u, computed as m, watch as n, nextTick as P, onBeforeUnmount as C, createElementBlock as D, openBlock as R, Fragment as T, renderSlot as U, createCommentVNode as $, createVNode as g, normalizeProps as F, mergeProps as H, unref as I, withCtx as M } from "vue";
2
- import { extractDomContainer as d } from "./index275.js";
3
- import { useLocale as N } from "./index240.js";
4
- import S from "./index276.js";
2
+ import { extractDomContainer as d } from "./index265.js";
3
+ import { useLocale as N } from "./index254.js";
4
+ import S from "./index298.js";
5
5
  /* empty css */
6
- import q from "./index253.js";
6
+ import q from "./index263.js";
7
7
  /* empty css */
8
8
  const W = /* @__PURE__ */ L({
9
9
  __name: "BbColorPalette",
package/dist/index82.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { defineComponent as ye, ref as S, computed as c, useTemplateRef as we, watch as I, onBeforeUnmount as ge, createElementBlock as _, openBlock as y, Fragment as q, renderSlot as w, createCommentVNode as P, createVNode as Q, normalizeProps as he, mergeProps as R, withCtx as Z, createElementVNode as ee, normalizeStyle as Ee, unref as ke, renderList as Le, createBlock as te, toDisplayString as Ae } from "vue";
2
- import { findRightIndex as H } from "./index293.js";
2
+ import { findRightIndex as H } from "./index305.js";
3
3
  import { useId as De } from "./index8.js";
4
- import { useUntil as $e } from "./index280.js";
4
+ import { useUntil as $e } from "./index262.js";
5
5
  import { wait as Se } from "./index147.js";
6
6
  import Ie from "./index14.js";
7
7
  /* empty css */
8
8
  import oe from "./index88.js";
9
9
  /* empty css */
10
- import _e from "./index253.js";
10
+ import _e from "./index263.js";
11
11
  /* empty css */
12
- import ne from "./index294.js";
13
- import { extractDomContainer as F } from "./index275.js";
12
+ import ne from "./index306.js";
13
+ import { extractDomContainer as F } from "./index265.js";
14
14
  import { useIntersectionObserver as Pe, useElementSize as Te } from "./index148.js";
15
- import { parseWidthString as Oe } from "./index289.js";
16
- import { normalizeItemGroups as Ce } from "./index295.js";
15
+ import { parseWidthString as Oe } from "./index266.js";
16
+ import { normalizeItemGroups as Ce } from "./index307.js";
17
17
  const Me = ["id", "aria-labelledby", "inert"], Be = {
18
18
  key: 0,
19
19
  "aria-hidden": "true",
package/dist/index84.js CHANGED
@@ -9,7 +9,7 @@ import D from "./index88.js";
9
9
  /* empty css */
10
10
  import O from "./index118.js";
11
11
  /* empty css */
12
- import { useLocale as R } from "./index240.js";
12
+ import { useLocale as R } from "./index254.js";
13
13
  const T = { class: "bb-dropdown-button__content" }, Z = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index86.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 "./index297.js";
2
+ import { findInTree as ae } from "./index304.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index116.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("./index296.js")).default);
56
+ b || (b = (await import("./index303.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index88.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as $, ref as f, computed as a, getCurrentInstance as d, onServerPrefetch as I, onBeforeMount as _, watch as L, createElementBlock as M, openBlock as B, mergeProps as k, inject as A } from "vue";
2
- import { isCssColor as C } from "./index243.js";
3
- import { get as m } from "./index281.js";
4
- import { useLogger as N } from "./index238.js";
2
+ import { isCssColor as C } from "./index240.js";
3
+ import { get as m } from "./index297.js";
4
+ import { useLogger as N } from "./index239.js";
5
5
  const S = ["innerHTML"], E = /* @__PURE__ */ $({
6
6
  __name: "BbIcon",
7
7
  props: {
package/dist/index90.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 "./index265.js";
2
+ import { throttle as c } from "./index292.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index91.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent as B, ref as u, computed as w, createBlock as g, openBlock as k, withCtx as n, createVNode as $, mergeProps as P, renderSlot as r, normalizeProps as l, guardReactiveProps as s } from "vue";
1
+ import { defineComponent as B, ref as u, computed as g, createBlock as w, openBlock as k, withCtx as n, createVNode as $, mergeProps as P, renderSlot as r, normalizeProps as l, guardReactiveProps as s } from "vue";
2
2
  import V from "./index28.js";
3
3
  /* empty css */
4
4
  import q from "./index30.js";
5
5
  /* empty css */
6
- const D = /* @__PURE__ */ B({
6
+ const z = /* @__PURE__ */ B({
7
7
  __name: "BbNumberInput",
8
8
  props: {
9
9
  "append:icon": {},
@@ -13,6 +13,7 @@ const D = /* @__PURE__ */ B({
13
13
  compact: { type: Boolean },
14
14
  direction: {},
15
15
  disabled: { type: Boolean },
16
+ enableFormatting: { type: Boolean },
16
17
  errors: {},
17
18
  hasErrors: { type: Boolean },
18
19
  hideLabel: { type: Boolean },
@@ -36,7 +37,7 @@ const D = /* @__PURE__ */ B({
36
37
  },
37
38
  emits: ["blur", "change", "click", "decrease", "focus", "increase", "input", "keydown", "keyup", "mousedown", "mouseup", "update:modelValue"],
38
39
  setup(m, { expose: c, emit: b }) {
39
- const i = m, o = b, p = u(), d = u(!1), h = w(() => i.persistentHint || d.value), f = {
40
+ const i = m, o = b, p = u(), d = u(!1), h = g(() => i.persistentHint || d.value), f = {
40
41
  onBlur: (e) => {
41
42
  d.value = !1, o("blur", e);
42
43
  },
@@ -60,7 +61,7 @@ const D = /* @__PURE__ */ B({
60
61
  decrease: () => {
61
62
  p.value?.decrease();
62
63
  }
63
- }), (e, I) => (k(), g(V, {
64
+ }), (e, H) => (k(), w(V, {
64
65
  id: e.id,
65
66
  class: "bb-number-input",
66
67
  compact: e.compact,
@@ -91,6 +92,7 @@ const D = /* @__PURE__ */ B({
91
92
  clearable: e.clearable,
92
93
  compact: e.compact,
93
94
  disabled: e.disabled,
95
+ "enable-formatting": e.enableFormatting,
94
96
  "has-errors": y,
95
97
  loading: e.loading,
96
98
  max: e.max,
@@ -123,12 +125,12 @@ const D = /* @__PURE__ */ B({
123
125
  r(e.$slots, "prepend-outer", l(s(a)))
124
126
  ]),
125
127
  _: 2
126
- }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "max", "max-precision", "min", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "step"])
128
+ }, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "enable-formatting", "has-errors", "loading", "max", "max-precision", "min", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "step"])
127
129
  ]),
128
130
  _: 3
129
131
  }, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
130
132
  }
131
133
  });
132
134
  export {
133
- D as default
135
+ z as default
134
136
  };
package/dist/index93.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as N, mergeModels as L, useModel as P, computed as v, ref as M, onBeforeUnmount as W, watch as F, onMounted as H, createElementBlock as c, openBlock as u, withModifiers as O, normalizeStyle as U, normalizeClass as q, unref as y, createCommentVNode as h, Fragment as A, createElementVNode as t, renderSlot as n, createTextVNode as K, toDisplayString as T, nextTick as R } from "vue";
2
- import { registerTopLayerHost as j } from "./index278.js";
3
- import { parseSize as G } from "./index279.js";
2
+ import { registerTopLayerHost as j } from "./index260.js";
3
+ import { parseSize as G } from "./index261.js";
4
4
  import { useId as $ } from "./index8.js";
5
- import { useLocale as J } from "./index240.js";
5
+ import { useLocale as J } from "./index254.js";
6
6
  import { useMobile as Q } from "./index9.js";
7
- import { useUntil as X } from "./index280.js";
7
+ import { useUntil as X } from "./index262.js";
8
8
  import { wait as w } from "./index147.js";
9
9
  import { _config as Y } from "./index4.js";
10
10
  const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
package/dist/index95.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as b, r
3
3
  /* empty css */
4
4
  import P from "./index14.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index298.js";
7
- import { useLocale as H } from "./index240.js";
6
+ import { debounce as X } from "./index270.js";
7
+ import { useLocale as H } from "./index254.js";
8
8
  import { useRoute as J } from "./index154.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/index97.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as ne, mergeModels as I, ref as N, useTemplateRef as ae, computed as s, useModel as ie, watch as C, createElementBlock as se, openBlock as Y, Fragment as le, renderSlot as G, createCommentVNode as W, createVNode as ue, normalizeProps as de, mergeProps as X, unref as B, withCtx as F, createElementVNode as S, createBlock as ce, nextTick as pe } from "vue";
2
2
  import { useId as me } from "./index8.js";
3
3
  import { useIntersectionObserver as ve, useElementSize as fe } from "./index148.js";
4
- import { useLocale as be } from "./index240.js";
5
- import { useUntil as he } from "./index280.js";
4
+ import { useLocale as be } from "./index254.js";
5
+ import { useUntil as he } from "./index262.js";
6
6
  import ge from "./index14.js";
7
7
  /* empty css */
8
- import we from "./index253.js";
8
+ import we from "./index263.js";
9
9
  /* empty css */
10
- import { extractDomContainer as H } from "./index275.js";
11
- import { parseWidthString as U } from "./index289.js";
10
+ import { extractDomContainer as H } from "./index265.js";
11
+ import { parseWidthString as U } from "./index266.js";
12
12
  const Ee = ["inert"], Le = 500, ye = 10, Re = /* @__PURE__ */ ne({
13
13
  inheritAttrs: !1,
14
14
  __name: "BbPopover",
package/dist/index99.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 "./index225.js";
2
+ import { clamp as p } from "./index226.js";
3
3
  import { getAsPercentageBetween as i } from "./index146.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.136",
3
+ "version": "2.1.137",
4
4
  "description": "Vue 3 component library by BitBoss: forms, selects, layout, overlays, and more.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/dist/index231.js DELETED
@@ -1,32 +0,0 @@
1
- import { computed as s, unref as v, ref as c } from "vue";
2
- import { useDebounceFn as m } from "./index224.js";
3
- const y = (o) => {
4
- const e = s(() => v(o.items)), t = c([]), r = c(0);
5
- let a = 0;
6
- const u = async (...i) => {
7
- if (Array.isArray(e.value)) {
8
- t.value = e.value;
9
- return;
10
- }
11
- if (typeof e.value != "function") return;
12
- const f = ++a;
13
- r.value++;
14
- try {
15
- const n = await e.value(...i);
16
- f === a && (t.value = n);
17
- } catch (n) {
18
- console.error(n);
19
- } finally {
20
- r.value--;
21
- }
22
- }, l = m(u, o.debounce || 0);
23
- return {
24
- getter: u,
25
- debouncedGetter: l,
26
- items: t,
27
- loading: s(() => r.value > 0)
28
- };
29
- };
30
- export {
31
- y as useItemsGetter
32
- };
package/dist/index264.js DELETED
@@ -1,4 +0,0 @@
1
- const r = (e) => typeof e > "u" || e === null;
2
- export {
3
- r as isNil
4
- };
package/dist/index269.js DELETED
@@ -1,55 +0,0 @@
1
- import { useLogger as y } from "./index238.js";
2
- const g = (t, i) => {
3
- if (!i.length) return;
4
- const n = Array.from(
5
- t.querySelectorAll(":scope > thead th")
6
- );
7
- if (!n.length) return;
8
- const { error: r } = y(), p = n.length, u = i.map((e) => ({
9
- index: typeof e == "number" ? e : e.index,
10
- position: typeof e == "number" ? "left" : e.position
11
- })).sort((e, o) => e.position !== o.position ? e.position === "left" ? -1 : 1 : e.position === "left" ? e.index - o.index : o.index - e.index).reduce((e, o) => {
12
- const l = n[o.index];
13
- if (!l)
14
- return r(
15
- `BbTable fixedColumns: Cannot affix column at index ${o.index}. Table has ${p} columns (valid indices: 0–${p - 1}).`
16
- ), e;
17
- const { width: c } = l.getBoundingClientRect(), m = e.filter((h) => h.position === o.position).reduce((h, x) => h + x.width, 0);
18
- return e.push({
19
- index: o.index,
20
- position: o.position,
21
- width: Math.floor(c),
22
- offset: m
23
- }), e;
24
- }, []);
25
- Array.from(
26
- t.querySelectorAll(":scope > thead > tr, :scope > tbody > tr")
27
- ).forEach((e) => {
28
- u.forEach((o) => {
29
- const l = e.querySelector(
30
- `:scope > :nth-child(${o.index + 1})`
31
- );
32
- l && (l.style.position = "sticky", l.style[o.position] = `${o.offset}px`);
33
- });
34
- });
35
- }, d = (t) => Array.isArray(t) ? t : [t], w = (t) => t.split(/\W+/g).join("_").toLowerCase(), A = (t, i, n) => {
36
- const r = [...d(t)];
37
- return i && r.push(...d(i)), n && r.push(...d(n)), r;
38
- }, $ = (t, i, n, r, p, a) => {
39
- const f = [...d(t)], u = (s) => typeof s == "function" ? s(r, p, a) : s;
40
- if (i) {
41
- const s = u(i);
42
- s && f.push(...d(s));
43
- }
44
- if (n) {
45
- const s = u(n);
46
- s && f.push(...d(s));
47
- }
48
- return f;
49
- };
50
- export {
51
- g as applyFixedTableColumns,
52
- w as columnKeyToSlotName,
53
- $ as mergeCellClasses,
54
- A as mergeHeaderClasses
55
- };
package/dist/index289.js DELETED
@@ -1,25 +0,0 @@
1
- const i = (t) => {
2
- const n = t.toString().replace(/\.0+$/, "").replace(/\.$/, "");
3
- return parseFloat(n) || 0;
4
- };
5
- function s(t) {
6
- if (typeof t == "number")
7
- return {
8
- value: i(t),
9
- unit: "px"
10
- };
11
- if (typeof t == "string") {
12
- const r = /^(-?\d*\.?\d+)([a-zA-Z%]*)?$/, e = t.match(r);
13
- if (e) {
14
- const [, n, o = "px"] = e, a = parseFloat(n);
15
- return {
16
- value: i(a),
17
- unit: o
18
- };
19
- }
20
- }
21
- throw new Error(`Invalid width: ${t}`);
22
- }
23
- export {
24
- s as parseWidthString
25
- };
package/dist/index291.js DELETED
@@ -1,30 +0,0 @@
1
- import { defineComponent as l, createElementBlock as n, openBlock as r, unref as a, createElementVNode as t } from "vue";
2
- import { useLocale as s } from "./index240.js";
3
- const c = ["aria-label"], b = /* @__PURE__ */ l({
4
- __name: "ClearableButton",
5
- setup(u) {
6
- const { t: o } = s();
7
- return (i, e) => (r(), n("button", {
8
- "aria-label": a(o)("common.clearLabel").value,
9
- class: "bb-clearable-button",
10
- type: "button"
11
- }, e[0] || (e[0] = [
12
- t("svg", {
13
- viewBox: "0 0 24 24",
14
- xmlns: "http://www.w3.org/2000/svg"
15
- }, [
16
- t("path", {
17
- d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
18
- fill: "none",
19
- stroke: "currentColor",
20
- "stroke-linecap": "round",
21
- "stroke-linejoin": "round",
22
- "stroke-width": "2"
23
- })
24
- ], -1)
25
- ]), 8, c));
26
- }
27
- });
28
- export {
29
- b as default
30
- };
package/dist/index327.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
- };