bitboss-ui 2.1.25 → 2.1.27

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 (172) hide show
  1. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +2 -7
  2. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -7
  3. package/dist/composables/useMinimalQueue.d.ts +9 -0
  4. package/dist/index.css +1 -1
  5. package/dist/index106.js +9 -9
  6. package/dist/index113.js +1 -1
  7. package/dist/index121.js +11 -11
  8. package/dist/index129.js +1 -1
  9. package/dist/index13.js +1 -1
  10. package/dist/index131.js +3 -3
  11. package/dist/index133.js +1 -1
  12. package/dist/index136.js +1 -1
  13. package/dist/index138.js +1 -1
  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 +12 -33
  20. package/dist/index21.js +16 -16
  21. package/dist/index210.js +12 -85
  22. package/dist/index211.js +13 -0
  23. package/dist/index212.js +33 -28
  24. package/dist/index213.js +86 -17
  25. package/dist/index215.js +26 -12
  26. package/dist/index216.js +17 -3
  27. package/dist/index217.js +50 -11
  28. package/dist/index218.js +13 -14
  29. package/dist/index219.js +3 -5
  30. package/dist/index220.js +12 -5
  31. package/dist/index221.js +16 -5
  32. package/dist/index222.js +2 -5
  33. package/dist/index223.js +4 -5
  34. package/dist/index224.js +2 -5
  35. package/dist/index225.js +2 -2
  36. package/dist/index226.js +2 -2
  37. package/dist/index227.js +18 -2
  38. package/dist/index228.js +12 -13
  39. package/dist/index229.js +6 -11
  40. package/dist/index23.js +15 -15
  41. package/dist/index230.js +105 -19
  42. package/dist/index232.js +102 -0
  43. package/dist/index234.js +65 -110
  44. package/dist/index236.js +13 -13
  45. package/dist/index237.js +116 -17
  46. package/dist/index239.js +228 -5
  47. package/dist/index240.js +2 -4
  48. package/dist/index241.js +2 -106
  49. package/dist/index242.js +9 -0
  50. package/dist/index243.js +7 -100
  51. package/dist/index244.js +5 -0
  52. package/dist/index245.js +4 -229
  53. package/dist/index246.js +20 -3
  54. package/dist/index247.js +197 -2
  55. package/dist/index249.js +5 -4
  56. package/dist/index25.js +59 -57
  57. package/dist/index250.js +5 -197
  58. package/dist/index251.js +7 -0
  59. package/dist/index252.js +5 -5
  60. package/dist/index253.js +5 -5
  61. package/dist/index254.js +5 -8
  62. package/dist/index255.js +2 -250
  63. package/dist/index256.js +5 -52
  64. package/dist/index257.js +5 -44
  65. package/dist/index258.js +8 -5
  66. package/dist/index259.js +243 -53
  67. package/dist/index260.js +50 -181
  68. package/dist/index261.js +44 -2
  69. package/dist/index262.js +5 -2
  70. package/dist/index263.js +60 -7
  71. package/dist/index264.js +182 -6
  72. package/dist/index265.js +9 -6
  73. package/dist/index266.js +23 -16
  74. package/dist/index269.js +6 -9
  75. package/dist/index27.js +1 -1
  76. package/dist/index270.js +16 -8
  77. package/dist/index273.js +8 -8
  78. package/dist/index274.js +8 -23
  79. package/dist/index276.js +67 -5
  80. package/dist/index277.js +5 -67
  81. package/dist/index278.js +1 -1
  82. package/dist/index279.js +1 -1
  83. package/dist/index280.js +1 -1
  84. package/dist/index281.js +7 -3
  85. package/dist/index282.js +11 -17
  86. package/dist/index283.js +3 -28
  87. package/dist/index284.js +17 -280
  88. package/dist/index285.js +28 -2
  89. package/dist/index286.js +4 -125
  90. package/dist/index287.js +4 -2
  91. package/dist/index288.js +3 -15
  92. package/dist/index289.js +3 -2
  93. package/dist/index29.js +4 -4
  94. package/dist/index290.js +3 -16
  95. package/dist/index292.js +7 -16
  96. package/dist/index293.js +3 -2
  97. package/dist/index294.js +2 -19
  98. package/dist/index295.js +5 -2
  99. package/dist/index296.js +1 -1
  100. package/dist/index297.js +282 -0
  101. package/dist/index298.js +2 -7
  102. package/dist/index299.js +125 -3
  103. package/dist/index300.js +2 -7
  104. package/dist/index301.js +14 -10
  105. package/dist/index302.js +2 -4
  106. package/dist/index303.js +15 -5
  107. package/dist/index304.js +2 -3
  108. package/dist/index305.js +16 -3
  109. package/dist/index306.js +2 -2
  110. package/dist/index307.js +19 -4
  111. package/dist/index308.js +2 -5
  112. package/dist/index309.js +6 -3
  113. package/dist/index31.js +2 -2
  114. package/dist/index314.js +1 -1
  115. package/dist/index315.js +1 -1
  116. package/dist/index316.js +1 -1
  117. package/dist/index317.js +1 -1
  118. package/dist/index323.js +2 -2
  119. package/dist/index324.js +1 -1
  120. package/dist/index325.js +57 -128
  121. package/dist/index326.js +56 -367
  122. package/dist/index327.js +7 -58
  123. package/dist/index328.js +18 -57
  124. package/dist/index329.js +7 -227
  125. package/dist/index33.js +8 -8
  126. package/dist/index330.js +128 -32
  127. package/dist/index331.js +369 -28
  128. package/dist/index332.js +49 -0
  129. package/dist/index333.js +6 -46
  130. package/dist/index334.js +32 -6
  131. package/dist/index335.js +27 -18
  132. package/dist/index337.js +227 -7
  133. package/dist/index338.js +7 -5
  134. package/dist/index339.js +6 -8
  135. package/dist/index340.js +7 -92
  136. package/dist/index341.js +95 -0
  137. package/dist/index342.js +129 -3
  138. package/dist/index343.js +427 -120
  139. package/dist/index344.js +113 -422
  140. package/dist/index345.js +484 -123
  141. package/dist/index347.js +3 -50
  142. package/dist/index348.js +52 -0
  143. package/dist/index35.js +4 -4
  144. package/dist/index37.js +20 -20
  145. package/dist/index39.js +7 -7
  146. package/dist/index41.js +2 -2
  147. package/dist/index43.js +8 -8
  148. package/dist/index45.js +8 -8
  149. package/dist/index47.js +2 -2
  150. package/dist/index49.js +3 -3
  151. package/dist/index53.js +1 -1
  152. package/dist/index55.js +1 -1
  153. package/dist/index57.js +2 -2
  154. package/dist/index61.js +1 -1
  155. package/dist/index67.js +1 -1
  156. package/dist/index79.js +4 -4
  157. package/dist/index81.js +1 -1
  158. package/dist/index83.js +2 -2
  159. package/dist/index85.js +1 -1
  160. package/dist/index90.js +59 -57
  161. package/dist/index92.js +1 -1
  162. package/dist/index94.js +3 -3
  163. package/dist/index96.js +1 -1
  164. package/package.json +1 -1
  165. package/dist/index214.js +0 -53
  166. package/dist/index231.js +0 -71
  167. package/dist/index233.js +0 -15
  168. package/dist/index238.js +0 -14
  169. package/dist/index248.js +0 -4
  170. package/dist/index291.js +0 -4
  171. package/dist/index336.js +0 -9
  172. package/dist/index346.js +0 -490
@@ -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 "./index247.js";
3
- import { identity as $ } from "./index225.js";
4
- import { isCssColor as k } from "./index248.js";
2
+ import { booleanishToBoolean as T } from "./index224.js";
3
+ import { identity as $ } from "./index255.js";
4
+ import { isCssColor as k } from "./index222.js";
5
5
  import { isNotNil as q } from "./index140.js";
6
- import { useLocale as x } from "./index228.js";
6
+ import { useLocale as x } from "./index210.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 "./index216.js";
9
- import { isEmpty as nt } from "./index226.js";
10
- import { last as ut } from "./index227.js";
11
- import { matchAnyKey as ie } from "./index237.js";
12
- import { useArray as st } from "./index238.js";
13
- import { useBaseOptions as it } from "./index214.js";
14
- import { useCoherence as rt } from "./index215.js";
15
- import { useHashedWatcher as re } from "./index217.js";
16
- import { useIndexById as de } from "./index213.js";
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";
17
17
  import { useMounted as dt, useIntersectionObserver as ct } from "./index137.js";
18
- import { useItemsGetter as pt } from "./index212.js";
19
- import { useLocale as mt } from "./index228.js";
20
- import { usePrefill as ft } from "./index218.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";
21
21
  import { wait as q } from "./index135.js";
22
- import { waitFor as vt } from "./index239.js";
23
- import { when as ht } from "./index240.js";
24
- import yt from "./index241.js";
22
+ import { waitFor as vt } from "./index229.js";
23
+ import { when as ht } from "./index223.js";
24
+ import yt from "./index230.js";
25
25
  /* empty css */
26
- import bt from "./index243.js";
26
+ import bt from "./index232.js";
27
27
  /* empty css */
28
- import gt from "./index231.js";
28
+ import gt from "./index234.js";
29
29
  /* empty css */
30
- import wt from "./index233.js";
31
- import Bt from "./index234.js";
30
+ import wt from "./index236.js";
31
+ import Bt from "./index237.js";
32
32
  /* empty css */
33
- import Vt from "./index245.js";
33
+ import Vt from "./index239.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 "./index261.js";
3
- import { isCssColor as Y } from "./index248.js";
4
- import { isNil as S } from "./index262.js";
2
+ import { head as ue } from "./index240.js";
3
+ import { isCssColor as Y } from "./index222.js";
4
+ import { isNil as S } from "./index241.js";
5
5
  import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index136.js";
6
- import { snapToStep as me } from "./index263.js";
7
- import { last as ce } from "./index227.js";
8
- import { transpose as j } from "./index264.js";
9
- import { clamp as f } from "./index208.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";
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 "./index248.js";
3
- import { when as N } from "./index240.js";
2
+ import { isCssColor as b } from "./index222.js";
3
+ import { when as N } from "./index223.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 "./index210.js";
4
+ import N from "./index213.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index212.js";
7
- import { useIndexById as T } from "./index213.js";
8
- import { useBaseOptions as q } from "./index214.js";
9
- import { useCoherence as J } from "./index215.js";
10
- import { hash as Q } from "./index216.js";
11
- import { useHashedWatcher as $ } from "./index217.js";
12
- import { usePrefill as X } from "./index218.js";
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";
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 "./index227.js";
7
- import { useBaseOptions as ne } from "./index214.js";
8
- import { useIndexById as re } from "./index213.js";
9
- import ie from "./index241.js";
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";
10
10
  /* empty css */
11
- import ue from "./index243.js";
11
+ import ue from "./index232.js";
12
12
  /* empty css */
13
- import se from "./index231.js";
13
+ import se from "./index234.js";
14
14
  /* empty css */
15
- import de from "./index233.js";
16
- import { isEmpty as pe } from "./index226.js";
15
+ import de from "./index236.js";
16
+ import { isEmpty as pe } from "./index225.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 "./index233.js";
3
- import G from "./index231.js";
2
+ import E from "./index236.js";
3
+ import G from "./index234.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 "./index231.js";
2
+ import E from "./index234.js";
3
3
  /* empty css */
4
- import I from "./index233.js";
4
+ import I from "./index236.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index260.js";
6
+ import { MaskInput as z } from "./index264.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 "./index228.js";
6
+ import { useLocale as g } from "./index210.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 "./index248.js";
2
+ import { isCssColor as y } from "./index222.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 "./index248.js";
3
- import { isNil as B } from "./index262.js";
2
+ import { isCssColor as l } from "./index222.js";
3
+ import { isNil as B } from "./index241.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
@@ -9,7 +9,7 @@ import T from "./index113.js";
9
9
  /* empty css */
10
10
  import { pickBy as W } from "./index267.js";
11
11
  import { noop as w } from "./index268.js";
12
- import { useLocale as D } from "./index228.js";
12
+ import { useLocale as D } from "./index210.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 "./index228.js";
2
+ import { useLocale as f } from "./index210.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 "./index273.js";
2
+ import { findRightIndex as T } from "./index265.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index229.js";
4
+ import { useUntil as ne } from "./index211.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 "./index234.js";
10
+ import le from "./index237.js";
11
11
  /* empty css */
12
- import K from "./index274.js";
12
+ import K from "./index266.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 "./index228.js";
12
+ import { useLocale as M } from "./index210.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 "./index266.js";
2
+ import { findInTree as ae } from "./index270.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("./index265.js")).default);
56
+ b || (b = (await import("./index269.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 "./index248.js";
2
+ import { isCssColor as I } from "./index222.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index90.js CHANGED
@@ -1,22 +1,22 @@
1
- import { defineComponent as O, mergeModels as E, useModel as P, computed as v, ref as T, watch as q, onMounted as A, createElementBlock as d, openBlock as c, withModifiers as H, normalizeStyle as K, normalizeClass as R, unref as p, createCommentVNode as y, Fragment as U, createElementVNode as t, renderSlot as l, createTextVNode as j, toDisplayString as z, nextTick as G } from "vue";
2
- import { parseSize as J } from "./index236.js";
3
- import { useId as D } from "./index8.js";
4
- import { useLocale as Q } from "./index228.js";
5
- import { useMobile as X } from "./index9.js";
6
- import { useUntil as Y } from "./index229.js";
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";
3
+ import { useId as S } from "./index8.js";
4
+ import { useLocale as X } from "./index210.js";
5
+ import { useMobile as Y } from "./index9.js";
6
+ import { useUntil as Z } from "./index211.js";
7
7
  import { wait as h } from "./index135.js";
8
- const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
8
+ const x = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], ee = {
9
9
  ref: "header",
10
10
  class: "bb-offcanvas__header"
11
- }, ee = { class: "bb-offcanvas__close" }, oe = ["aria-label", "disabled"], te = {
11
+ }, oe = { class: "bb-offcanvas__close" }, te = ["aria-label", "disabled"], se = {
12
12
  ref: "body",
13
13
  class: "bb-offcanvas__body scrollbar-border"
14
- }, se = { class: "bb-offcanvas__body-content" }, le = {
14
+ }, le = { class: "bb-offcanvas__body-content" }, ae = {
15
15
  ref: "footer",
16
16
  class: "bb-offcanvas__footer"
17
- }, fe = /* @__PURE__ */ O({
17
+ }, be = /* @__PURE__ */ P({
18
18
  __name: "BbOffCanvas",
19
- props: /* @__PURE__ */ E({
19
+ props: /* @__PURE__ */ T({
20
20
  closeLabel: {},
21
21
  compact: { type: Boolean },
22
22
  disabled: { type: Boolean },
@@ -36,59 +36,61 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
36
36
  modelValue: { type: Boolean, default: !1 },
37
37
  modelModifiers: {}
38
38
  }),
39
- emits: /* @__PURE__ */ E(["shown", "hidden"], ["update:modelValue"]),
40
- setup(g, { emit: S }) {
41
- const o = g, w = S, s = P(g, "modelValue"), { t: V } = Q(), I = v(
42
- () => o.closeLabel || V("dialog.closeLabel").value
43
- ), i = T(null), u = Y(
39
+ emits: /* @__PURE__ */ T(["shown", "hidden"], ["update:modelValue"]),
40
+ setup(g, { emit: V }) {
41
+ const o = g, w = V, s = q(g, "modelValue"), { t: I } = X(), N = v(
42
+ () => o.closeLabel || I("dialog.closeLabel").value
43
+ ), i = z(null), c = Z(
44
44
  () => s.value || o.eager,
45
45
  {
46
46
  initialValue: s.value || o.eager
47
47
  }
48
- ), f = `title_${D().id.value}`, b = `description_${D().id.value}`, _ = (e) => {
48
+ ), u = `title_${S().id.value}`, f = `description_${S().id.value}`, _ = (e) => {
49
49
  if (e.key === "Escape" && (o.disabled || o.persistent))
50
50
  return e.preventDefault(), a.value = !0, h(200).then(() => {
51
51
  a.value = !1;
52
52
  }), !1;
53
53
  }, C = async (e) => {
54
- var n, B, L, M;
54
+ var n, L, M, $;
55
55
  e ? ((n = window.globalThis) != null && n.document && !document.documentElement.style.getPropertyValue("--scrollbar-width") && (document.documentElement.style.setProperty(
56
56
  "--scrollbar-width",
57
- `${W()}px`
58
- ), document.addEventListener("keydown", _)), (B = i.value) == null || B.showModal(), o.focusTarget && G(() => {
59
- var $;
60
- const m = ($ = i.value) == null ? void 0 : $.querySelector(o.focusTarget);
57
+ `${F()}px`
58
+ ), document.addEventListener("keydown", _)), (L = i.value) == null || L.showModal(), o.focusTarget && J(() => {
59
+ var E;
60
+ const m = (E = i.value) == null ? void 0 : E.querySelector(o.focusTarget);
61
61
  m && m instanceof HTMLElement && m.focus();
62
- }), w("shown")) : (await h(o.transitionDuration), (L = window.globalThis) != null && L.document && document.removeEventListener("keydown", _), (M = i.value) == null || M.close(), w("hidden"));
62
+ }), w("shown")) : (await h(o.transitionDuration), (M = window.globalThis) != null && M.document && document.removeEventListener("keydown", _), ($ = i.value) == null || $.close(), w("hidden"));
63
63
  };
64
- q(s, C), A(() => {
64
+ A(s, C), H(() => {
65
65
  s.value && C(!0);
66
66
  });
67
- const N = v(() => k.value ? "100%" : o.size === "auto" ? "fit-content" : J(o.size, {
67
+ const W = v(() => B.value ? "100%" : o.size === "auto" ? "fit-content" : Q(o.size, {
68
68
  sm: 384,
69
69
  md: 652,
70
70
  lg: 896
71
- })), r = (e) => {
71
+ })), k = (e) => {
72
72
  if (e.preventDefault(), o.disabled || o.persistent)
73
73
  return a.value = !0, h(300).then(() => {
74
74
  a.value = !1;
75
75
  }), !1;
76
+ b();
77
+ }, b = () => {
76
78
  s.value = !1;
77
- }, a = T(!1), W = () => globalThis.document ? window.innerWidth - document.documentElement.clientWidth : 0, { isMobile: F } = X(), k = v(
78
- () => o.fullscreen === !0 || o.fullscreen === "mobile" && F.value
79
+ }, a = z(!1), F = () => globalThis.document ? window.innerWidth - document.documentElement.clientWidth : 0, { isMobile: O } = Y(), B = v(
80
+ () => o.fullscreen === !0 || o.fullscreen === "mobile" && O.value
79
81
  );
80
- return (e, n) => (c(), d("dialog", {
82
+ return (e, n) => (d(), r("dialog", {
81
83
  ref_key: "dialog",
82
84
  ref: i,
83
- "aria-describedby": p(u) && e.description ? b : void 0,
84
- "aria-labelledby": p(u) && e.title ? f : void 0,
85
+ "aria-describedby": p(c) && e.description ? f : void 0,
86
+ "aria-labelledby": p(c) && e.title ? u : void 0,
85
87
  "aria-live": s.value ? "polite" : "off",
86
- class: R([
88
+ class: U([
87
89
  "bb-offcanvas",
88
90
  [
89
91
  {
90
92
  "bb-offcanvas--open": s.value,
91
- "bb-offcanvas--fullscreen": k.value,
93
+ "bb-offcanvas--fullscreen": B.value,
92
94
  "bb-offcanvas--compact": e.compact,
93
95
  "bb-offcanvas--deny-close": a.value,
94
96
  [`bb-offcanvas--${o.direction}`]: !0
@@ -98,35 +100,35 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
98
100
  ].flat()
99
101
  ]),
100
102
  inert: !s.value,
101
- style: K({
102
- "--max-size": N.value,
103
+ style: R({
104
+ "--max-size": W.value,
103
105
  "--transition-duration": `${o.transitionDuration}ms`
104
106
  }),
105
- onCancel: r,
106
- onClick: H(r, ["self"])
107
+ onCancel: k,
108
+ onClick: K(k, ["self"])
107
109
  }, [
108
- p(u) ? (c(), d(U, { key: 0 }, [
109
- t("div", x, [
110
+ p(c) ? (d(), r(j, { key: 0 }, [
111
+ t("div", ee, [
110
112
  l(e.$slots, "header", {
111
- close: r,
113
+ close: b,
112
114
  title: e.title,
113
- titleId: f
115
+ titleId: u
114
116
  }, () => [
115
117
  t("span", {
116
- id: f,
118
+ id: u,
117
119
  class: "bb-offcanvas__title"
118
120
  }, [
119
121
  l(e.$slots, "title", { text: e.title }, () => [
120
- j(z(e.title), 1)
122
+ G(D(e.title), 1)
121
123
  ])
122
124
  ]),
123
- t("span", ee, [
124
- e.showClose ? (c(), d("button", {
125
+ t("span", oe, [
126
+ e.showClose ? (d(), r("button", {
125
127
  key: 0,
126
- "aria-label": I.value,
128
+ "aria-label": N.value,
127
129
  disabled: o.disabled,
128
130
  type: "button",
129
- onClick: r
131
+ onClick: b
130
132
  }, [
131
133
  l(e.$slots, "close", {}, () => [
132
134
  n[0] || (n[0] = t("span", { class: "bb-offcanvas__close-icon" }, [
@@ -145,32 +147,32 @@ const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
145
147
  ])
146
148
  ], -1))
147
149
  ])
148
- ], 8, oe)) : y("", !0)
150
+ ], 8, te)) : y("", !0)
149
151
  ])
150
152
  ])
151
153
  ], 512),
152
- t("div", te, [
153
- t("div", se, [
154
+ t("div", se, [
155
+ t("div", le, [
154
156
  l(e.$slots, "description", {
155
- descriptionId: b,
157
+ descriptionId: f,
156
158
  text: e.description
157
159
  }, () => [
158
- e.description ? (c(), d("div", {
160
+ e.description ? (d(), r("div", {
159
161
  key: 0,
160
- id: b,
162
+ id: f,
161
163
  class: "bb-offcanvas__description sr-only"
162
- }, z(e.description), 1)) : y("", !0)
164
+ }, D(e.description), 1)) : y("", !0)
163
165
  ]),
164
166
  l(e.$slots, "default")
165
167
  ])
166
168
  ], 512),
167
- t("div", le, [
169
+ t("div", ae, [
168
170
  l(e.$slots, "footer")
169
171
  ], 512)
170
172
  ], 64)) : y("", !0)
171
- ], 46, Z));
173
+ ], 46, x));
172
174
  }
173
175
  });
174
176
  export {
175
- fe as default
177
+ be as default
176
178
  };
package/dist/index92.js CHANGED
@@ -4,7 +4,7 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
6
  import { debounce as X } from "./index272.js";
7
- import { useLocale as H } from "./index228.js";
7
+ import { useLocale as H } from "./index210.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 "./index228.js";
5
- import { useUntil as W } from "./index229.js";
4
+ import { useLocale as U } from "./index210.js";
5
+ import { useUntil as W } from "./index211.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index234.js";
8
+ import A from "./index237.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 "./index208.js";
2
+ import { clamp as p } from "./index207.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.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.25",
3
+ "version": "2.1.27",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {