bitboss-ui 2.1.25 → 2.1.26

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 (179) 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/index.css +1 -1
  4. package/dist/index106.js +9 -9
  5. package/dist/index111.js +1 -1
  6. package/dist/index113.js +1 -1
  7. package/dist/index121.js +11 -11
  8. package/dist/index13.js +1 -1
  9. package/dist/index131.js +4 -4
  10. package/dist/index133.js +1 -1
  11. package/dist/index137.js +2 -2
  12. package/dist/index138.js +1 -1
  13. package/dist/index15.js +8 -8
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +8 -8
  16. package/dist/index206.js +2 -138
  17. package/dist/index207.js +138 -2
  18. package/dist/index209.js +10 -34
  19. package/dist/index21.js +16 -16
  20. package/dist/index210.js +3 -86
  21. package/dist/index211.js +15 -0
  22. package/dist/index212.js +13 -29
  23. package/dist/index213.js +69 -17
  24. package/dist/index215.js +34 -15
  25. package/dist/index216.js +5 -3
  26. package/dist/index217.js +5 -12
  27. package/dist/index218.js +5 -16
  28. package/dist/index219.js +5 -5
  29. package/dist/index220.js +4 -4
  30. package/dist/index221.js +5 -5
  31. package/dist/index222.js +5 -5
  32. package/dist/index223.js +3 -5
  33. package/dist/index224.js +2 -5
  34. package/dist/index225.js +8 -2
  35. package/dist/index226.js +250 -2
  36. package/dist/index227.js +52 -2
  37. package/dist/index228.js +43 -12
  38. package/dist/index229.js +5 -11
  39. package/dist/index23.js +15 -15
  40. package/dist/index230.js +58 -18
  41. package/dist/index231.js +12 -68
  42. package/dist/index232.js +13 -0
  43. package/dist/index233.js +2 -13
  44. package/dist/index234.js +8 -113
  45. package/dist/index235.js +116 -0
  46. package/dist/index237.js +23 -18
  47. package/dist/index238.js +182 -11
  48. package/dist/index239.js +3 -6
  49. package/dist/index240.js +5 -4
  50. package/dist/index241.js +2 -106
  51. package/dist/index242.js +4 -0
  52. package/dist/index243.js +19 -99
  53. package/dist/index244.js +4 -0
  54. package/dist/index245.js +4 -229
  55. package/dist/index246.js +86 -3
  56. package/dist/index248.js +29 -2
  57. package/dist/index249.js +17 -4
  58. package/dist/index25.js +59 -57
  59. package/dist/index250.js +49 -195
  60. package/dist/index251.js +17 -0
  61. package/dist/index252.js +12 -5
  62. package/dist/index253.js +16 -5
  63. package/dist/index254.js +104 -6
  64. package/dist/index256.js +95 -47
  65. package/dist/index258.js +6 -5
  66. package/dist/index259.js +15 -59
  67. package/dist/index260.js +8 -182
  68. package/dist/index261.js +2 -2
  69. package/dist/index262.js +18 -2
  70. package/dist/index263.js +11 -6
  71. package/dist/index264.js +6 -7
  72. package/dist/index265.js +229 -6
  73. package/dist/index266.js +2 -16
  74. package/dist/index267.js +6 -9
  75. package/dist/index268.js +7 -3
  76. package/dist/index269.js +4 -9
  77. package/dist/index27.js +1 -1
  78. package/dist/index270.js +196 -7
  79. package/dist/index272.js +3 -9
  80. package/dist/index273.js +5 -9
  81. package/dist/index274.js +9 -23
  82. package/dist/index275.js +8 -2
  83. package/dist/index276.js +2 -5
  84. package/dist/index277.js +1 -1
  85. package/dist/index278.js +1 -1
  86. package/dist/index279.js +1 -1
  87. package/dist/index280.js +7 -2
  88. package/dist/index281.js +11 -3
  89. package/dist/index283.js +7 -28
  90. package/dist/index284.js +3 -280
  91. package/dist/index285.js +2 -2
  92. package/dist/index286.js +3 -124
  93. package/dist/index287.js +280 -2
  94. package/dist/index288.js +2 -15
  95. package/dist/index289.js +16 -2
  96. package/dist/index29.js +3 -3
  97. package/dist/index290.js +2 -16
  98. package/dist/index291.js +16 -2
  99. package/dist/index292.js +2 -16
  100. package/dist/index293.js +19 -2
  101. package/dist/index294.js +2 -19
  102. package/dist/index295.js +15 -2
  103. package/dist/index296.js +2 -3
  104. package/dist/index297.js +21 -0
  105. package/dist/index298.js +2 -7
  106. package/dist/index299.js +27 -3
  107. package/dist/index300.js +2 -7
  108. package/dist/index301.js +2 -11
  109. package/dist/index302.js +2 -4
  110. package/dist/index303.js +2 -6
  111. package/dist/index304.js +2 -3
  112. package/dist/index305.js +28 -3
  113. package/dist/index306.js +21 -1
  114. package/dist/index308.js +3 -5
  115. package/dist/index309.js +6 -3
  116. package/dist/index31.js +2 -2
  117. package/dist/index310.js +5 -19
  118. package/dist/index311.js +125 -2
  119. package/dist/index312.js +2 -27
  120. package/dist/index313.js +4 -2
  121. package/dist/index314.js +3 -2
  122. package/dist/index315.js +17 -2
  123. package/dist/index316.js +3 -2
  124. package/dist/index317.js +3 -2
  125. package/dist/index318.js +718 -22
  126. package/dist/index319.js +368 -0
  127. package/dist/index320.js +58 -718
  128. package/dist/index321.js +2 -366
  129. package/dist/index322.js +5 -58
  130. package/dist/index323.js +3 -5
  131. package/dist/index324.js +33 -2
  132. package/dist/index325.js +27 -128
  133. package/dist/index327.js +2 -58
  134. package/dist/index328.js +7 -58
  135. package/dist/index329.js +6 -227
  136. package/dist/index33.js +8 -8
  137. package/dist/index330.js +18 -32
  138. package/dist/index331.js +57 -27
  139. package/dist/index332.js +60 -0
  140. package/dist/index333.js +126 -44
  141. package/dist/index334.js +368 -6
  142. package/dist/index335.js +45 -17
  143. package/dist/index336.js +227 -6
  144. package/dist/index337.js +92 -7
  145. package/dist/index338.js +7 -5
  146. package/dist/index339.js +6 -8
  147. package/dist/index340.js +7 -92
  148. package/dist/index342.js +1 -1
  149. package/dist/index35.js +4 -4
  150. package/dist/index37.js +20 -20
  151. package/dist/index39.js +6 -6
  152. package/dist/index41.js +2 -2
  153. package/dist/index43.js +8 -8
  154. package/dist/index45.js +8 -8
  155. package/dist/index47.js +2 -2
  156. package/dist/index49.js +3 -3
  157. package/dist/index53.js +1 -1
  158. package/dist/index55.js +1 -1
  159. package/dist/index57.js +2 -2
  160. package/dist/index61.js +3 -3
  161. package/dist/index67.js +1 -1
  162. package/dist/index79.js +4 -4
  163. package/dist/index81.js +1 -1
  164. package/dist/index83.js +2 -2
  165. package/dist/index85.js +1 -1
  166. package/dist/index87.js +1 -1
  167. package/dist/index90.js +59 -57
  168. package/dist/index92.js +2 -2
  169. package/dist/index94.js +3 -3
  170. package/package.json +1 -1
  171. package/dist/index214.js +0 -53
  172. package/dist/index236.js +0 -15
  173. package/dist/index247.js +0 -4
  174. package/dist/index255.js +0 -252
  175. package/dist/index257.js +0 -46
  176. package/dist/index271.js +0 -5
  177. package/dist/index282.js +0 -19
  178. package/dist/index307.js +0 -6
  179. package/dist/index326.js +0 -371
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 "./index233.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 "./index233.js";
3
+ import { isNil as B } from "./index244.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
7
7
  /* empty css */
8
8
  import T from "./index113.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index267.js";
11
- import { noop as w } from "./index268.js";
12
- import { useLocale as D } from "./index228.js";
10
+ import { pickBy as W } from "./index209.js";
11
+ import { noop as w } from "./index210.js";
12
+ import { useLocale as D } from "./index211.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 "./index211.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 "./index234.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index229.js";
4
+ import { useUntil as ne } from "./index232.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 "./index235.js";
11
11
  /* empty css */
12
- import K from "./index274.js";
12
+ import K from "./index237.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 "./index211.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 "./index259.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("./index258.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 "./index233.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index87.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index271.js";
2
+ import { throttle as c } from "./index272.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/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 "./index231.js";
3
+ import { useId as S } from "./index8.js";
4
+ import { useLocale as X } from "./index211.js";
5
+ import { useMobile as Y } from "./index9.js";
6
+ import { useUntil as Z } from "./index232.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
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
3
3
  /* empty css */
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index272.js";
7
- import { useLocale as H } from "./index228.js";
6
+ import { debounce as X } from "./index260.js";
7
+ import { useLocale as H } from "./index211.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 "./index211.js";
5
+ import { useUntil as W } from "./index232.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index234.js";
8
+ import A from "./index235.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.25",
3
+ "version": "2.1.26",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index214.js DELETED
@@ -1,53 +0,0 @@
1
- import { computed as l, unref as o } from "vue";
2
- import { useItemText as x } from "./index282.js";
3
- import { useItemValue as w } from "./index269.js";
4
- import { hash as y } from "./index216.js";
5
- import { useLogger as D } from "./index254.js";
6
- const { getItemText: O } = x(), { getItemValue: V } = w(), { warn: H } = D(), T = (u, c, m, a, d, r) => r ? !1 : !!(c || u.disabled || a && d >= a), q = ({
7
- items: u,
8
- disabled: c,
9
- selectable: m,
10
- itemText: a,
11
- itemValue: d,
12
- selectedIndexedByHash: r,
13
- max: b = 1 / 0
14
- }) => {
15
- const v = l(() => o(c)), p = l(() => o(u)), h = l(
16
- () => Object.keys(r.value).length
17
- ), g = o(b), f = (e) => {
18
- const n = V(e, o(d)), t = y(n), i = O(e, o(a)), s = r.value[t] !== void 0, I = T(
19
- e,
20
- v.value,
21
- m,
22
- g,
23
- h.value,
24
- s
25
- );
26
- return {
27
- item: e,
28
- text: i,
29
- value: n,
30
- valueHash: t,
31
- selected: s,
32
- disabled: o(I)
33
- };
34
- };
35
- return {
36
- options: l(() => {
37
- const e = [], n = /* @__PURE__ */ new Set();
38
- for (let t = 0; t < p.value.length; t++) {
39
- const i = p.value[t];
40
- i.disabled && H(
41
- "Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
42
- );
43
- const s = f(i);
44
- n.has(s.valueHash) || (n.add(s.valueHash), e.push(s));
45
- }
46
- return e;
47
- }),
48
- createOption: f
49
- };
50
- };
51
- export {
52
- q as useBaseOptions
53
- };
package/dist/index236.js DELETED
@@ -1,15 +0,0 @@
1
- const c = (t, r) => {
2
- if (typeof t == "string") {
3
- const e = /^(\d+)([a-zA-Z%]+)?$/, n = t.match(e);
4
- if (n) {
5
- const [, o, a] = n;
6
- return a ? t : o + "px";
7
- } else if (t in r)
8
- return r[t] + "px";
9
- throw new Error(`Invalid size: ${t}`);
10
- }
11
- return t + "px";
12
- };
13
- export {
14
- c as parseSize
15
- };
package/dist/index247.js DELETED
@@ -1,4 +0,0 @@
1
- const o = (e) => typeof e == "boolean" ? e : e === "true";
2
- export {
3
- o as booleanishToBoolean
4
- };