bitboss-ui 2.0.137 → 2.0.141

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 (245) hide show
  1. package/dist/index100.js +9 -9
  2. package/dist/index109.js +2 -2
  3. package/dist/index11.js +11 -11
  4. package/dist/index111.js +12 -12
  5. package/dist/index119.js +2 -2
  6. package/dist/index12.js +5 -5
  7. package/dist/index121.js +6 -6
  8. package/dist/index125.js +1 -1
  9. package/dist/index127.js +1 -1
  10. package/dist/index128.js +1 -1
  11. package/dist/index129.js +1 -1
  12. package/dist/index13.js +2 -2
  13. package/dist/index131.js +1 -1
  14. package/dist/index132.js +2 -2
  15. package/dist/index133.js +9 -25
  16. package/dist/index134.js +25 -2
  17. package/dist/index135.js +2 -5
  18. package/dist/index136.js +5 -9
  19. package/dist/index137.js +8 -5
  20. package/dist/index138.js +6 -3
  21. package/dist/index139.js +1 -1
  22. package/dist/index140.js +1 -1
  23. package/dist/index141.js +1 -1
  24. package/dist/index142.js +1 -1
  25. package/dist/index143.js +1 -1
  26. package/dist/index144.js +1 -1
  27. package/dist/index145.js +1 -1
  28. package/dist/index146.js +1 -1
  29. package/dist/index147.js +1 -1
  30. package/dist/index148.js +1 -1
  31. package/dist/index149.js +1 -1
  32. package/dist/index15.js +36 -35
  33. package/dist/index150.js +1 -1
  34. package/dist/index151.js +1 -1
  35. package/dist/index152.js +1 -1
  36. package/dist/index153.js +1 -1
  37. package/dist/index154.js +1 -1
  38. package/dist/index155.js +1 -1
  39. package/dist/index156.js +1 -1
  40. package/dist/index157.js +1 -1
  41. package/dist/index158.js +1 -1
  42. package/dist/index159.js +1 -1
  43. package/dist/index160.js +1 -1
  44. package/dist/index161.js +1 -1
  45. package/dist/index162.js +1 -1
  46. package/dist/index163.js +1 -1
  47. package/dist/index164.js +1 -1
  48. package/dist/index165.js +2 -2
  49. package/dist/{index195.js → index166.js} +1 -1
  50. package/dist/index17.js +3 -3
  51. package/dist/index170.js +1 -1
  52. package/dist/index171.js +1 -1
  53. package/dist/index172.js +1 -1
  54. package/dist/index173.js +1 -1
  55. package/dist/index174.js +1 -1
  56. package/dist/index175.js +1 -1
  57. package/dist/index176.js +2 -2
  58. package/dist/index177.js +5 -0
  59. package/dist/index179.js +2 -3
  60. package/dist/index180.js +1 -1
  61. package/dist/index181.js +1 -1
  62. package/dist/index182.js +1 -1
  63. package/dist/index183.js +1 -1
  64. package/dist/index184.js +1 -1
  65. package/dist/index185.js +1 -1
  66. package/dist/index186.js +1 -1
  67. package/dist/index187.js +1 -1
  68. package/dist/index188.js +3 -2
  69. package/dist/index189.js +2 -3
  70. package/dist/index19.js +8 -8
  71. package/dist/index190.js +1 -1
  72. package/dist/index191.js +1 -1
  73. package/dist/index192.js +5 -0
  74. package/dist/index196.js +1 -1
  75. package/dist/index197.js +1 -1
  76. package/dist/index198.js +1 -1
  77. package/dist/index199.js +1 -1
  78. package/dist/index200.js +1 -1
  79. package/dist/index201.js +1 -1
  80. package/dist/index202.js +1 -1
  81. package/dist/index203.js +1 -1
  82. package/dist/index204.js +1 -1
  83. package/dist/index205.js +3 -2
  84. package/dist/index206.js +115 -5
  85. package/dist/index207.js +2 -16
  86. package/dist/index208.js +2 -16
  87. package/dist/index209.js +8 -19
  88. package/dist/index21.js +16 -16
  89. package/dist/index210.js +3 -15
  90. package/dist/index211.js +2 -19
  91. package/dist/index212.js +4 -27
  92. package/dist/index213.js +2 -3
  93. package/dist/index214.js +3 -2
  94. package/dist/index215.js +41 -8
  95. package/dist/index216.js +5 -249
  96. package/dist/index217.js +7 -52
  97. package/dist/index218.js +11 -40
  98. package/dist/index219.js +13 -5
  99. package/dist/index220.js +3 -60
  100. package/dist/index221.js +85 -12
  101. package/dist/index223.js +29 -65
  102. package/dist/index224.js +19 -0
  103. package/dist/index225.js +51 -13
  104. package/dist/index226.js +15 -125
  105. package/dist/index227.js +12 -2
  106. package/dist/index228.js +15 -40
  107. package/dist/index229.js +5 -20
  108. package/dist/index23.js +16 -16
  109. package/dist/index230.js +16 -6
  110. package/dist/index231.js +16 -94
  111. package/dist/index232.js +21 -0
  112. package/dist/index233.js +15 -2
  113. package/dist/index234.js +19 -2
  114. package/dist/index235.js +27 -4
  115. package/dist/index236.js +2 -2
  116. package/dist/index237.js +243 -79
  117. package/dist/index238.js +54 -0
  118. package/dist/index239.js +44 -29
  119. package/dist/index240.js +5 -17
  120. package/dist/index241.js +59 -50
  121. package/dist/index242.js +65 -15
  122. package/dist/index244.js +13 -16
  123. package/dist/index245.js +3 -114
  124. package/dist/index246.js +20 -4
  125. package/dist/index247.js +86 -192
  126. package/dist/index249.js +200 -3
  127. package/dist/index25.js +83 -82
  128. package/dist/index251.js +125 -15
  129. package/dist/index252.js +2 -2
  130. package/dist/index253.js +2 -2
  131. package/dist/index254.js +2 -18
  132. package/dist/index255.js +2 -126
  133. package/dist/index256.js +2 -2
  134. package/dist/index258.js +2 -2
  135. package/dist/index260.js +17 -11
  136. package/dist/index261.js +124 -226
  137. package/dist/index262.js +11 -368
  138. package/dist/index263.js +228 -10
  139. package/dist/index264.js +368 -2
  140. package/dist/index265.js +10 -281
  141. package/dist/index266.js +3 -6
  142. package/dist/index267.js +9 -2
  143. package/dist/index268.js +23 -2
  144. package/dist/index269.js +9 -2
  145. package/dist/index27.js +1 -1
  146. package/dist/index270.js +6 -2
  147. package/dist/index271.js +16 -2
  148. package/dist/index272.js +28 -2
  149. package/dist/index273.js +9 -2
  150. package/dist/index274.js +8 -2
  151. package/dist/index275.js +4 -2
  152. package/dist/index276.js +431 -2
  153. package/dist/index277.js +1 -1
  154. package/dist/index278.js +85 -24
  155. package/dist/index279.js +7 -22
  156. package/dist/index280.js +13 -0
  157. package/dist/index281.js +224 -7
  158. package/dist/index282.js +3 -7
  159. package/dist/index283.js +17 -11
  160. package/dist/index284.js +200 -224
  161. package/dist/index285.js +281 -3
  162. package/dist/index286.js +8 -0
  163. package/dist/index287.js +2 -3
  164. package/dist/index288.js +2 -17
  165. package/dist/index289.js +2 -9
  166. package/dist/index29.js +4 -4
  167. package/dist/index290.js +2 -4
  168. package/dist/index291.js +2 -2
  169. package/dist/index292.js +2 -431
  170. package/dist/index293.js +2 -176
  171. package/dist/index294.js +2 -3
  172. package/dist/index295.js +2 -9
  173. package/dist/index296.js +2 -23
  174. package/dist/index297.js +1 -5
  175. package/dist/index298.js +21 -15
  176. package/dist/index300.js +7 -3
  177. package/dist/index301.js +3 -8
  178. package/dist/index303.js +176 -2
  179. package/dist/index304.js +3 -89
  180. package/dist/index305.js +3 -126
  181. package/dist/index306.js +2 -3
  182. package/dist/index307.js +1 -1
  183. package/dist/index308.js +3 -2
  184. package/dist/index309.js +117 -427
  185. package/dist/index31.js +2 -2
  186. package/dist/index310.js +2 -127
  187. package/dist/index311.js +435 -6
  188. package/dist/index312.js +125 -17
  189. package/dist/index313.js +2 -7
  190. package/dist/index314.js +67 -2
  191. package/dist/index316.js +2 -32
  192. package/dist/index317.js +3 -26
  193. package/dist/index318.js +56 -65
  194. package/dist/index319.js +1 -1
  195. package/dist/index320.js +1 -1
  196. package/dist/index321.js +4 -57
  197. package/dist/index322.js +32 -32
  198. package/dist/index323.js +57 -4
  199. package/dist/index324.js +32 -2
  200. package/dist/index325.js +26 -3
  201. package/dist/index326.js +6 -57
  202. package/dist/index327.js +19 -480
  203. package/dist/index328.js +480 -8
  204. package/dist/index329.js +46 -5
  205. package/dist/index33.js +8 -8
  206. package/dist/index330.js +7 -8
  207. package/dist/index331.js +7 -46
  208. package/dist/index332.js +8 -0
  209. package/dist/index333.js +10 -0
  210. package/dist/index334.js +1 -1
  211. package/dist/index337.js +420 -43
  212. package/dist/index338.js +49 -0
  213. package/dist/index35.js +5 -5
  214. package/dist/index37.js +20 -20
  215. package/dist/index39.js +6 -6
  216. package/dist/index41.js +2 -2
  217. package/dist/index43.js +8 -8
  218. package/dist/index45.js +6 -6
  219. package/dist/index47.js +3 -3
  220. package/dist/index49.js +3 -3
  221. package/dist/index53.js +1 -1
  222. package/dist/index55.js +1 -1
  223. package/dist/index57.js +2 -2
  224. package/dist/index61.js +3 -3
  225. package/dist/index75.js +3 -3
  226. package/dist/index77.js +1 -1
  227. package/dist/index79.js +2 -2
  228. package/dist/index81.js +1 -1
  229. package/dist/index84.js +67 -67
  230. package/dist/index86.js +2 -2
  231. package/dist/index88.js +5 -5
  232. package/dist/index90.js +1 -1
  233. package/dist/style.css +1 -1
  234. package/package.json +2 -1
  235. package/dist/index169.js +0 -5
  236. package/dist/index178.js +0 -4
  237. package/dist/index222.js +0 -5
  238. package/dist/index243.js +0 -14
  239. package/dist/index250.js +0 -9
  240. package/dist/index299.js +0 -11
  241. package/dist/index302.js +0 -202
  242. package/dist/index335.js +0 -426
  243. /package/dist/{index167.js → index168.js} +0 -0
  244. /package/dist/{index193.js → index194.js} +0 -0
  245. /package/dist/{index336.js → index339.js} +0 -0
package/dist/index47.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, openBlock as $, createBlock as k, normalizeClass as C, withCtx as r, renderSlot as t, createVNode as i, unref as T, createElementVNode as v, mergeProps as x } from "vue";
2
- import E from "./index225.js";
3
- import G from "./index223.js";
2
+ import E from "./index244.js";
3
+ import G from "./index242.js";
4
4
  /* empty css */
5
5
  import M from "./index128.js";
6
6
  /* empty css */
7
- import { isNotNil as q } from "./index134.js";
7
+ import { isNotNil as q } from "./index135.js";
8
8
  const H = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "rows", "value"], Y = /* @__PURE__ */ h({
9
9
  __name: "BaseTextarea",
10
10
  props: {
package/dist/index49.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as B, withCtx as n, renderSlot as l, unref as g, createElementVNode as p, mergeProps as h } from "vue";
2
- import $ from "./index223.js";
2
+ import $ from "./index242.js";
3
3
  /* empty css */
4
- import k from "./index225.js";
5
- import { isNotNil as C } from "./index134.js";
4
+ import k from "./index244.js";
5
+ import { isNotNil as C } from "./index135.js";
6
6
  const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], M = /* @__PURE__ */ m({
7
7
  __name: "BaseTextInput",
8
8
  props: {
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index126.js";
3
3
  /* empty css */
4
4
  import L from "./index127.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index221.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, openBlock as l, createElementBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index234.js";
2
+ import { isCssColor as y } from "./index211.js";
3
3
  import { wait as C } from "./index130.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 n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as r } from "./index234.js";
3
- import { isNil as B } from "./index253.js";
2
+ import { isCssColor as r } from "./index211.js";
3
+ import { isNil as B } from "./index255.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index127.js";
7
7
  /* empty css */
8
8
  import T from "./index129.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index263.js";
11
- import { noop as w } from "./index264.js";
12
- import { useLocale as D } from "./index221.js";
10
+ import { pickBy as W } from "./index265.js";
11
+ import { noop as w } from "./index266.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/index75.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as X, computed as F, ref as y, openBlock as h, createElementBlock as D, mergeProps as A, createElementVNode as _, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as $, createVNode as B, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as j, toDisplayString as te } from "vue";
2
- import { findRightIndex as H } from "./index295.js";
2
+ import { findRightIndex as H } from "./index267.js";
3
3
  import { useId as ne } from "./index8.js";
4
4
  import { wait as oe } from "./index130.js";
5
5
  import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
- import N from "./index296.js";
9
- import se from "./index231.js";
8
+ import N from "./index268.js";
9
+ import se from "./index247.js";
10
10
  /* empty css */
11
11
  import V from "./index127.js";
12
12
  /* empty css */
package/dist/index77.js CHANGED
@@ -9,7 +9,7 @@ import S from "./index127.js";
9
9
  /* empty css */
10
10
  import R from "./index129.js";
11
11
  /* empty css */
12
- import { useLocale as T } from "./index221.js";
12
+ import { useLocale as T } from "./index219.js";
13
13
  const Z = { class: "bb-dropdown-button__content" }, q = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, 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 "./index298.js";
2
+ import { findInTree as ae } from "./index271.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index128.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("./index297.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/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index249.js";
2
+ import { throttle as c } from "./index214.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,12 +1,12 @@
1
- import { defineComponent as se, ref as l, useAttrs as ae, computed as u, getCurrentInstance as ne, nextTick as ie, onBeforeUnmount as O, onMounted as re, watch as ue, openBlock as g, createBlock as ce, withCtx as de, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as fe, toDisplayString as A, unref as ve, createCommentVNode as $ } from "vue";
2
- import { useFocusTrap as pe } from "./index228.js";
3
- import { useId as E } from "./index8.js";
4
- import { wait as H } from "./index130.js";
5
- import { useModalsState as b } from "./index250.js";
6
- import be from "./index251.js";
7
- import { useMobile as me } from "./index9.js";
8
- import { useLocale as ye } from "./index221.js";
9
- const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"], Te = /* @__PURE__ */ se({
1
+ import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, nextTick as re, onBeforeUnmount as A, onMounted as ue, watch as ce, openBlock as g, createBlock as de, withCtx as fe, createElementVNode as s, mergeProps as E, createElementBlock as $, renderSlot as n, createTextVNode as ve, toDisplayString as H, unref as pe, createCommentVNode as T } from "vue";
2
+ import { useFocusTrap as be } from "./index215.js";
3
+ import { useId as I } from "./index8.js";
4
+ import { wait as D } from "./index130.js";
5
+ import { useModalsState as b } from "./index217.js";
6
+ import me from "./index218.js";
7
+ import { useMobile as ye } from "./index9.js";
8
+ import { useLocale as he } from "./index219.js";
9
+ const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
10
10
  __name: "BbOffCanvas",
11
11
  props: {
12
12
  closeLabel: {},
@@ -28,79 +28,79 @@ const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"],
28
28
  direction: { default: "left" }
29
29
  },
30
30
  emits: ["shown", "hidden", "update:modelValue"],
31
- setup(I, { emit: W }) {
32
- var x, N;
33
- const e = I, c = W, { t: F } = ye(), _ = `title_${E().id.value}`, k = `description_${E().id.value}`, { isMobile: R } = me(), d = l(null), M = l(null), K = l(null), P = l(null), U = l(null), j = l(null), q = ae(), C = u(
34
- () => e.fullscreen === !0 || e.fullscreen === "mobile" && R.value
35
- ), T = !!((N = (x = ne()) == null ? void 0 : x.proxy) != null && N.$nuxt), f = l(0), G = u(() => {
31
+ setup(W, { emit: F }) {
32
+ var O, S;
33
+ const e = W, c = F, { t: R } = he(), _ = `title_${I().id.value}`, k = `description_${I().id.value}`, { isMobile: K } = ye(), d = l(null), C = l(null), P = l(null), U = l(null), j = l(null), q = l(null), G = ne(), w = u(
34
+ () => e.fullscreen === !0 || e.fullscreen === "mobile" && K.value
35
+ ), L = !!((S = (O = ie()) == null ? void 0 : O.proxy) != null && S.$nuxt), f = l(0), J = u(() => {
36
36
  const { openedModals: t } = b();
37
37
  return !t.value || t.value === f.value;
38
- }), { activate: J, deactivate: Q } = pe(M, {
38
+ }), { activate: Q, deactivate: X } = be(C, {
39
39
  initialFocus: e.focusTarget ?? void 0,
40
40
  clickOutsideDeactivates: (t) => t.target === d.value,
41
41
  allowOutsideClick: !0,
42
42
  /* On esc deactivate the trap, return focus and then close the modal */
43
- escapeDeactivates: () => (ie(() => {
43
+ escapeDeactivates: () => (re(() => {
44
44
  c("update:modelValue", !1);
45
45
  }), !0)
46
- }), X = u(() => e.closeLabel), w = l(!1), v = l(!1), m = l(!0), p = l(!1), i = l(e.eager || e.modelValue), D = l(null), Y = u(() => v.value || p.value), Z = () => {
46
+ }), Y = u(() => e.closeLabel), B = l(!1), v = l(!1), m = l(!0), p = l(!1), i = l(e.eager || e.modelValue), x = l(null), Z = u(() => v.value || p.value), ee = () => {
47
47
  if (!globalThis.document) return;
48
48
  const t = window.innerWidth - document.documentElement.clientWidth;
49
49
  document.body.style.overflow = "hidden", document.body.style.paddingRight = `${t}px`;
50
- }, B = () => {
50
+ }, V = () => {
51
51
  globalThis.document && (document.body.style.overflow = "auto", document.body.style.paddingRight = "0px");
52
52
  };
53
- O(() => {
53
+ A(() => {
54
54
  if (e.modelValue) {
55
55
  const { openedModals: t, modalHasClosed: o } = b();
56
- t.value && (o(), f.value = 0, B());
56
+ t.value && (o(), f.value = 0, V());
57
57
  }
58
- }), re(() => {
59
- !e.modelValue && !i.value || T && !globalThis.document || L();
60
- }), O(() => {
58
+ }), ue(() => {
59
+ !e.modelValue && !i.value || L && !globalThis.document || N();
60
+ }), A(() => {
61
61
  if (e.modelValue) {
62
62
  const { openedModals: t, modalHasClosed: o } = b();
63
- t.value && (o(), f.value = 0, B());
63
+ t.value && (o(), f.value = 0, V());
64
64
  }
65
- }), ue(
65
+ }), ce(
66
66
  () => e.modelValue,
67
67
  () => {
68
- !e.modelValue && !i.value || T && !globalThis.document || L();
68
+ !e.modelValue && !i.value || L && !globalThis.document || N();
69
69
  },
70
70
  { flush: "post" }
71
71
  );
72
- const L = async () => {
72
+ const N = async () => {
73
73
  if (e.modelValue) {
74
74
  i.value || (i.value = !0), m.value = !1, p.value = !1, v.value = !0;
75
75
  const { modalHasOpened: t, openedModals: o } = b();
76
- t(), f.value = o.value, Z(), await H(e.transitionDuration), v.value = !1, w.value = !0, c("shown"), J();
76
+ t(), f.value = o.value, ee(), await D(e.transitionDuration), v.value = !1, B.value = !0, c("shown"), Q();
77
77
  } else {
78
- Q(), v.value = !1, w.value = !1, p.value = !0;
78
+ X(), v.value = !1, B.value = !1, p.value = !0;
79
79
  const { modalHasClosed: t, openedModals: o } = b();
80
- t(), f.value = 0, o.value || B(), await H(e.transitionDuration), p.value = !1, m.value = !0, c("hidden"), D.value instanceof HTMLElement && D.value.focus();
80
+ t(), f.value = 0, o.value || V(), await D(e.transitionDuration), p.value = !1, m.value = !0, c("hidden"), x.value instanceof HTMLElement && x.value.focus();
81
81
  }
82
82
  }, y = (t) => {
83
83
  t.target === d.value && t.preventDefault();
84
- }, ee = (t) => {
85
- e.disabled || Y.value || d.value && t.target === d.value && (e.persistent || c("update:modelValue", !1));
86
- }, V = () => {
84
+ }, z = l(!1), te = async (t) => {
85
+ e.disabled || Z.value || d.value && t.target === d.value && (e.persistent ? C.value && (z.value = !0, await D(100), z.value = !1) : c("update:modelValue", !1));
86
+ }, M = () => {
87
87
  e.disabled || c("update:modelValue", !1);
88
- }, te = u(() => {
88
+ }, oe = u(() => {
89
89
  const t = [
90
90
  {
91
91
  "bb-offcanvas bb-offcanvas__overlay": !0,
92
- "bb-offcanvas--fullscreen": C.value,
93
- "bb-offcanvas--faded": !G.value,
94
- "bb-offcanvas--open": w.value,
92
+ "bb-offcanvas--fullscreen": w.value,
93
+ "bb-offcanvas--faded": !J.value,
94
+ "bb-offcanvas--open": B.value,
95
95
  "bb-offcanvas--opening": v.value,
96
96
  "bb-offcanvas--closed": m.value,
97
97
  "bb-offcanvas--closing": p.value,
98
- [`bb-offcanvas--transition-${e.transition}`]: !0,
98
+ "bb-offcanvas--attempted-closing": z.value,
99
99
  [`bb-offcanvas--${e.direction}`]: !0
100
100
  },
101
101
  e.overlayClasses
102
102
  ].flat(), o = {
103
- onClick: ee,
103
+ onClick: te,
104
104
  onScroll: y,
105
105
  onTouchmove: y,
106
106
  onWheel: y,
@@ -112,9 +112,9 @@ const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"],
112
112
  class: t,
113
113
  style: a,
114
114
  ...o,
115
- ...q
115
+ ...G
116
116
  };
117
- }), oe = u(() => {
117
+ }), le = u(() => {
118
118
  const t = [
119
119
  {
120
120
  "bb-offcanvas__panel": !0,
@@ -132,43 +132,43 @@ const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"],
132
132
  md: 652,
133
133
  lg: 896
134
134
  };
135
- e.direction === "left" || e.direction === "right" ? C.value ? a = "100%" : typeof e.size == "number" ? a = e.size + "px" : e.size in h ? a = h[e.size] + "px" : a = e.size + "px" : C.value ? r = "100%" : typeof e.size == "number" ? r = e.size + "px" : e.size in h ? r = h[e.size] + "px" : Number.isNaN(Number(e.size)) ? e.size === "auto" && (r = "auto") : r = e.size + "px";
136
- const le = {
135
+ e.direction === "left" || e.direction === "right" ? w.value ? a = "100%" : typeof e.size == "number" ? a = e.size + "px" : e.size in h ? a = h[e.size] + "px" : a = e.size + "px" : w.value ? r = "100%" : typeof e.size == "number" ? r = e.size + "px" : e.size in h ? r = h[e.size] + "px" : Number.isNaN(Number(e.size)) ? e.size === "auto" && (r = "auto") : r = e.size + "px";
136
+ const se = {
137
137
  maxWidth: a,
138
138
  height: r,
139
139
  transitionDuration: e.transitionDuration / 1e3 + "s"
140
140
  };
141
141
  return {
142
142
  class: t,
143
- style: le,
143
+ style: se,
144
144
  ...o
145
145
  };
146
146
  });
147
- return (t, o) => (g(), ce(be, null, {
148
- default: de(() => [
149
- s("div", S(te.value, {
147
+ return (t, o) => (g(), de(me, null, {
148
+ default: fe(() => [
149
+ s("div", E(oe.value, {
150
150
  ref_key: "overlay",
151
151
  ref: d,
152
152
  inert: m.value
153
153
  }), [
154
- s("div", S(oe.value, {
154
+ s("div", E(le.value, {
155
155
  ref_key: "panel",
156
- ref: M
156
+ ref: C
157
157
  }), [
158
- i.value ? (g(), z("div", {
158
+ i.value ? (g(), $("div", {
159
159
  key: 0,
160
160
  ref_key: "content",
161
- ref: K,
161
+ ref: P,
162
162
  class: "bb-offcanvas__content"
163
163
  }, [
164
- n(t.$slots, "content", { close: V }, () => [
164
+ n(t.$slots, "content", { close: M }, () => [
165
165
  s("div", {
166
166
  ref_key: "header",
167
- ref: P,
167
+ ref: U,
168
168
  class: "bb-offcanvas__header"
169
169
  }, [
170
170
  n(t.$slots, "header", {
171
- close: V,
171
+ close: M,
172
172
  title: t.title,
173
173
  titleId: _
174
174
  }, () => [
@@ -177,15 +177,15 @@ const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"],
177
177
  class: "bb-offcanvas__title"
178
178
  }, [
179
179
  n(t.$slots, "title", { text: t.title }, () => [
180
- fe(A(t.title), 1)
180
+ ve(H(t.title), 1)
181
181
  ])
182
182
  ]),
183
- s("span", ge, [
184
- t.showClose ? (g(), z("button", {
183
+ s("span", _e, [
184
+ t.showClose ? (g(), $("button", {
185
185
  key: 0,
186
- "aria-label": X.value || ve(F)("common.closeLabel").value,
186
+ "aria-label": Y.value || pe(R)("common.closeLabel").value,
187
187
  type: "button",
188
- onClick: V
188
+ onClick: M
189
189
  }, [
190
190
  n(t.$slots, "close", {}, () => [
191
191
  o[0] || (o[0] = s("span", { class: "bb-offcanvas-close__icon" }, [
@@ -204,44 +204,44 @@ const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"],
204
204
  ])
205
205
  ], -1))
206
206
  ])
207
- ], 8, _e)) : $("", !0)
207
+ ], 8, ke)) : T("", !0)
208
208
  ])
209
209
  ])
210
210
  ], 512),
211
211
  s("div", {
212
212
  ref_key: "body",
213
- ref: U,
213
+ ref: j,
214
214
  class: "bb-offcanvas__body scrollbar-border"
215
215
  }, [
216
216
  n(t.$slots, "description", {
217
217
  descriptionId: k,
218
218
  text: t.description
219
219
  }, () => [
220
- t.description ? (g(), z("div", {
220
+ t.description ? (g(), $("div", {
221
221
  key: 0,
222
222
  id: k,
223
223
  class: "bb-offcanvas__description sr-only"
224
- }, A(t.description), 1)) : $("", !0)
224
+ }, H(t.description), 1)) : T("", !0)
225
225
  ]),
226
226
  n(t.$slots, "default")
227
227
  ], 512),
228
228
  o[1] || (o[1] = s("div", { style: { flex: "10000 10000 0%" } }, null, -1)),
229
229
  s("div", {
230
230
  ref_key: "footer",
231
- ref: j,
231
+ ref: q,
232
232
  class: "bb-offcanvas__footer"
233
233
  }, [
234
234
  n(t.$slots, "footer")
235
235
  ], 512)
236
236
  ])
237
- ], 512)) : $("", !0)
237
+ ], 512)) : T("", !0)
238
238
  ], 16)
239
- ], 16, he)
239
+ ], 16, ge)
240
240
  ]),
241
241
  _: 3
242
242
  }));
243
243
  }
244
244
  });
245
245
  export {
246
- Te as default
246
+ De as default
247
247
  };
package/dist/index86.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
2
- import { debounce as T } from "./index299.js";
2
+ import { debounce as T } from "./index269.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import z from "./index13.js";
6
6
  /* empty css */
7
- import { useLocale as D } from "./index221.js";
7
+ import { useLocale as D } from "./index219.js";
8
8
  const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
9
9
  __name: "BbPagination",
10
10
  props: {
package/dist/index88.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
2
- import { useFocusTrap as j } from "./index228.js";
2
+ import { useFocusTrap as j } from "./index215.js";
3
3
  import { useId as G } from "./index8.js";
4
4
  import { useIntersectionObserver as J } from "./index132.js";
5
- import { waitFor as K } from "./index230.js";
5
+ import { waitFor as K } from "./index216.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import U from "./index231.js";
8
+ import U from "./index247.js";
9
9
  /* empty css */
10
- import { useLocale as X } from "./index221.js";
11
- import { useDebounceFn as Y } from "./index245.js";
10
+ import { useLocale as X } from "./index219.js";
11
+ import { useDebounceFn as Y } from "./index206.js";
12
12
  const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
13
13
  __name: "BbPopover",
14
14
  props: {
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index205.js";
2
+ import { clamp as p } from "./index208.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",