bitboss-ui 2.0.176 → 2.1.1

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 (195) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +1 -1
  2. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +0 -4
  3. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -4
  4. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +1 -1
  5. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +0 -4
  6. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -1
  7. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +33 -29
  8. package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
  9. package/dist/components/BbSelect/BbSelect.vue.d.ts +0 -4
  10. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +2 -2
  11. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +2 -2
  12. package/dist/index.css +1 -1
  13. package/dist/index106.js +8 -8
  14. package/dist/index107.js +29 -31
  15. package/dist/index111.js +1 -1
  16. package/dist/index113.js +1 -1
  17. package/dist/index121.js +11 -11
  18. package/dist/index129.js +1 -1
  19. package/dist/index13.js +1 -1
  20. package/dist/index131.js +13 -14
  21. package/dist/index133.js +1 -1
  22. package/dist/index136.js +1 -1
  23. package/dist/index138.js +1 -1
  24. package/dist/index139.js +2 -2
  25. package/dist/index15.js +13 -14
  26. package/dist/index17.js +3 -3
  27. package/dist/index19.js +8 -8
  28. package/dist/index207.js +2 -2
  29. package/dist/index208.js +2 -2
  30. package/dist/index209.js +13 -13
  31. package/dist/index21.js +16 -16
  32. package/dist/index210.js +12 -65
  33. package/dist/index211.js +13 -0
  34. package/dist/index212.js +33 -176
  35. package/dist/index213.js +59 -79
  36. package/dist/index215.js +13 -29
  37. package/dist/index216.js +4 -17
  38. package/dist/index217.js +18 -49
  39. package/dist/index218.js +197 -15
  40. package/dist/index220.js +113 -12
  41. package/dist/index222.js +3 -34
  42. package/dist/index223.js +86 -2
  43. package/dist/index225.js +29 -2
  44. package/dist/index226.js +17 -5
  45. package/dist/index227.js +51 -5
  46. package/dist/index228.js +15 -5
  47. package/dist/index229.js +3 -5
  48. package/dist/index23.js +45 -46
  49. package/dist/index230.js +12 -5
  50. package/dist/index231.js +16 -5
  51. package/dist/index232.js +2 -2
  52. package/dist/index233.js +4 -2
  53. package/dist/index234.js +5 -2
  54. package/dist/index235.js +5 -13
  55. package/dist/index236.js +5 -11
  56. package/dist/index237.js +5 -20
  57. package/dist/index238.js +5 -113
  58. package/dist/index239.js +7 -0
  59. package/dist/index240.js +2 -106
  60. package/dist/index241.js +4 -0
  61. package/dist/index242.js +2 -100
  62. package/dist/index244.js +12 -4
  63. package/dist/index245.js +5 -196
  64. package/dist/index246.js +108 -0
  65. package/dist/index248.js +100 -12
  66. package/dist/index25.js +45 -51
  67. package/dist/index250.js +3 -3
  68. package/dist/index251.js +176 -12
  69. package/dist/index252.js +5 -3
  70. package/dist/index253.js +4 -4
  71. package/dist/index254.js +8 -5
  72. package/dist/index255.js +248 -6
  73. package/dist/index256.js +42 -240
  74. package/dist/index257.js +35 -43
  75. package/dist/index258.js +5 -44
  76. package/dist/index259.js +60 -5
  77. package/dist/index260.js +2 -60
  78. package/dist/index263.js +9 -8
  79. package/dist/index264.js +3 -23
  80. package/dist/index265.js +6 -10
  81. package/dist/index266.js +16 -3
  82. package/dist/index267.js +3 -41
  83. package/dist/index268.js +9 -7
  84. package/dist/index269.js +8 -14
  85. package/dist/index27.js +1 -1
  86. package/dist/index270.js +23 -3
  87. package/dist/index271.js +9 -6
  88. package/dist/index272.js +8 -16
  89. package/dist/index273.js +2 -9
  90. package/dist/index274.js +5 -9
  91. package/dist/index275.js +66 -7
  92. package/dist/index276.js +5 -2
  93. package/dist/index277.js +8 -5
  94. package/dist/index278.js +7 -67
  95. package/dist/index279.js +10 -4
  96. package/dist/index280.js +2 -8
  97. package/dist/{index348.js → index281.js} +1 -1
  98. package/dist/index283.js +7 -3
  99. package/dist/index284.js +4 -3
  100. package/dist/index285.js +5 -17
  101. package/dist/index286.js +4 -28
  102. package/dist/index287.js +3 -2
  103. package/dist/index288.js +17 -4
  104. package/dist/index289.js +28 -4
  105. package/dist/index29.js +3 -3
  106. package/dist/index290.js +3 -280
  107. package/dist/index291.js +3 -2
  108. package/dist/index292.js +271 -116
  109. package/dist/index293.js +2 -2
  110. package/dist/index294.js +123 -13
  111. package/dist/index295.js +2 -2
  112. package/dist/index296.js +13 -14
  113. package/dist/index298.js +9 -9
  114. package/dist/index300.js +14 -17
  115. package/dist/index302.js +19 -3
  116. package/dist/index303.js +2 -7
  117. package/dist/index304.js +3 -11
  118. package/dist/index305.js +1 -1
  119. package/dist/index306.js +2 -3
  120. package/dist/index307.js +6 -3
  121. package/dist/index308.js +18 -5
  122. package/dist/index309.js +2 -2
  123. package/dist/index31.js +2 -2
  124. package/dist/index310.js +27 -5
  125. package/dist/index311.js +2 -19
  126. package/dist/index312.js +2 -2
  127. package/dist/index313.js +2 -27
  128. package/dist/index314.js +2 -2
  129. package/dist/index315.js +1 -1
  130. package/dist/index316.js +21 -1
  131. package/dist/index318.js +5 -2
  132. package/dist/index319.js +701 -22
  133. package/dist/index320.js +356 -0
  134. package/dist/index321.js +53 -466
  135. package/dist/index322.js +1 -1
  136. package/dist/index323.js +8 -5
  137. package/dist/index324.js +6 -200
  138. package/dist/index325.js +7 -700
  139. package/dist/index326.js +7 -354
  140. package/dist/index327.js +221 -51
  141. package/dist/index328.js +58 -2
  142. package/dist/index329.js +58 -7
  143. package/dist/index33.js +8 -8
  144. package/dist/index330.js +32 -46
  145. package/dist/index331.js +27 -128
  146. package/dist/index333.js +128 -6
  147. package/dist/index334.js +366 -16
  148. package/dist/index335.js +46 -32
  149. package/dist/index336.js +7 -28
  150. package/dist/index337.js +21 -0
  151. package/dist/index338.js +92 -57
  152. package/dist/index340.js +3 -8
  153. package/dist/index341.js +128 -5
  154. package/dist/index342.js +434 -6
  155. package/dist/index343.js +125 -226
  156. package/dist/index344.js +474 -85
  157. package/dist/index345.js +43 -478
  158. package/dist/index35.js +4 -4
  159. package/dist/index37.js +19 -20
  160. package/dist/index39.js +13 -13
  161. package/dist/index41.js +2 -2
  162. package/dist/index43.js +8 -8
  163. package/dist/index45.js +8 -8
  164. package/dist/index47.js +2 -2
  165. package/dist/index49.js +3 -3
  166. package/dist/index53.js +1 -1
  167. package/dist/index55.js +1 -1
  168. package/dist/index57.js +1 -1
  169. package/dist/index61.js +3 -3
  170. package/dist/index67.js +1 -1
  171. package/dist/index79.js +18 -19
  172. package/dist/index81.js +1 -1
  173. package/dist/index83.js +2 -2
  174. package/dist/index85.js +1 -1
  175. package/dist/index87.js +1 -1
  176. package/dist/index90.js +152 -225
  177. package/dist/index92.js +2 -2
  178. package/dist/index94.js +11 -12
  179. package/dist/index96.js +1 -1
  180. package/dist/types/CommonProps.d.ts +0 -4
  181. package/package.json +2 -3
  182. package/dist/components/BbTeleport.vue.d.ts +0 -20
  183. package/dist/index219.js +0 -5
  184. package/dist/index221.js +0 -18
  185. package/dist/index224.js +0 -6
  186. package/dist/index249.js +0 -8
  187. package/dist/index282.js +0 -9
  188. package/dist/index317.js +0 -4
  189. package/dist/index332.js +0 -371
  190. package/dist/index339.js +0 -60
  191. package/dist/index346.js +0 -131
  192. package/dist/index349.js +0 -49
  193. package/dist/index350.js +0 -438
  194. package/dist/index351.js +0 -129
  195. /package/dist/{index247.js → index243.js} +0 -0
package/dist/index39.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as U, ref as d, computed as h, onMounted as W, watch as Z, createElementBlock as g, openBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, createCommentVNode as H, Fragment as ee, renderList as ae, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeStyle as F, normalizeClass as I } from "vue";
2
- import { clamp as le } from "./index208.js";
2
+ import { clamp as le } from "./index207.js";
3
3
  import { head as O } from "./index261.js";
4
- import { isCssColor as Y } from "./index223.js";
4
+ import { isCssColor as Y } from "./index232.js";
5
5
  import { isNil as P } from "./index262.js";
6
6
  import { isNotNil as ne } from "./index140.js";
7
7
  import { transposeValue as y } from "./index136.js";
8
- import { hash as J } from "./index219.js";
8
+ import { hash as J } from "./index229.js";
9
9
  const oe = { class: "bb-base-slider__slider-container" }, ie = {
10
10
  key: 0,
11
11
  class: "bb-base-slider__ticks-container"
@@ -38,7 +38,7 @@ const oe = { class: "bb-base-slider__slider-container" }, ie = {
38
38
  originalBounds: { min: a.min, max: a.max },
39
39
  targetBounds: { min: 0, max: 100 },
40
40
  step: 1
41
- }), A = d(!1);
41
+ }), x = d(!1);
42
42
  if (a.range && !Array.isArray(a.modelValue))
43
43
  throw new TypeError(
44
44
  "BaseSlider mode is set as range but modelValue is not an array"
@@ -68,7 +68,7 @@ const oe = { class: "bb-base-slider__slider-container" }, ie = {
68
68
  },
69
69
  { immediate: !0 }
70
70
  );
71
- let N = d(!1), t = d(null);
71
+ let A = d(!1), t = d(null);
72
72
  const S = (e) => {
73
73
  if (v.value && v.value.contains(e.target))
74
74
  return "higher";
@@ -76,10 +76,10 @@ const oe = { class: "bb-base-slider__slider-container" }, ie = {
76
76
  return "lower";
77
77
  throw new Error("Could not identify target thumb");
78
78
  }, G = (e) => {
79
- a.disabled || a.readonly || (t.value || (t.value = S(e)), N.value = !0, document.addEventListener("pointermove", x), document.addEventListener("pointerup", z), u("pointerdown", e));
79
+ a.disabled || a.readonly || (t.value || (t.value = S(e)), A.value = !0, document.addEventListener("pointermove", N), document.addEventListener("pointerup", z), u("pointerdown", e));
80
80
  };
81
- let M = h(() => N.value ? {} : { onPointerdown: G });
82
- const x = (e) => {
81
+ let M = h(() => A.value ? {} : { onPointerdown: G });
82
+ const N = (e) => {
83
83
  if (!(a.disabled || a.readonly) && B.value) {
84
84
  const r = B.value.getBoundingClientRect(), l = e.clientX, i = r.left, s = r.width;
85
85
  e instanceof PointerEvent ? u("pointermove", e) : u("click", e);
@@ -104,7 +104,7 @@ const oe = { class: "bb-base-slider__slider-container" }, ie = {
104
104
  );
105
105
  return a.range ? l : l[1];
106
106
  }, z = (e) => {
107
- N.value = !1, t.value = null, document.removeEventListener("pointermove", x), document.removeEventListener("pointerup", z), u("pointerup", e), u("update:modelValue", k());
107
+ A.value = !1, t.value = null, document.removeEventListener("pointermove", N), document.removeEventListener("pointerup", z), u("pointerup", e), u("update:modelValue", k());
108
108
  }, X = (e) => {
109
109
  u("keydown", e), !(a.disabled || a.readonly || e.key !== "ArrowLeft" && e.key !== "ArrowRight") && (e.key === "ArrowLeft" ? t.value === "higher" || document.activeElement === v.value ? o.value = Math.max(
110
110
  o.value - p,
@@ -122,10 +122,10 @@ const oe = { class: "bb-base-slider__slider-container" }, ie = {
122
122
  }, q = (e) => {
123
123
  u("focus", e);
124
124
  const r = S(e);
125
- r && (t.value = r), A.value || (A.value = !0, u("active"), document.addEventListener("focusin", V), document.addEventListener("click", V));
125
+ r && (t.value = r), x.value || (x.value = !0, u("active"), document.addEventListener("focusin", V), document.addEventListener("click", V));
126
126
  }, V = (e) => {
127
127
  var r;
128
- e.target instanceof HTMLElement && ((r = C.value) != null && r.contains(e.target) || (A.value = !1, t.value = null, u("inactive"), document.removeEventListener("focusin", V), document.removeEventListener("click", V)));
128
+ e.target instanceof HTMLElement && ((r = C.value) != null && r.contains(e.target) || (x.value = !1, t.value = null, u("inactive"), document.removeEventListener("focusin", V), document.removeEventListener("click", V)));
129
129
  }, D = {
130
130
  class: {
131
131
  "bb-base-slider": !0,
@@ -137,7 +137,7 @@ const oe = { class: "bb-base-slider__slider-container" }, ie = {
137
137
  onClick: (e) => {
138
138
  var l;
139
139
  if (a.range) return;
140
- (l = v.value) == null || l.focus(), x(e);
140
+ (l = v.value) == null || l.focus(), N(e);
141
141
  const r = k();
142
142
  J(r) !== J(a.modelValue) && u("update:modelValue", k());
143
143
  },
@@ -203,7 +203,7 @@ const oe = { class: "bb-base-slider__slider-container" }, ie = {
203
203
  readonly: e.readonly,
204
204
  required: e.required,
205
205
  tabindex: -1,
206
- type: "number",
206
+ type: "text",
207
207
  value: JSON.stringify(e.modelValue)
208
208
  }, null, 8, se),
209
209
  c("span", {
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 "./index223.js";
3
- import { when as N } from "./index224.js";
2
+ import { isCssColor as b } from "./index232.js";
3
+ import { when as N } from "./index233.js";
4
4
  const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index43.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index41.js";
3
3
  /* empty css */
4
- import N from "./index213.js";
4
+ import N from "./index223.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index215.js";
7
- import { useIndexById as T } from "./index216.js";
8
- import { useBaseOptions as q } from "./index217.js";
9
- import { useCoherence as J } from "./index218.js";
10
- import { hash as Q } from "./index219.js";
11
- import { useHashedWatcher as $ } from "./index220.js";
12
- import { usePrefill as X } from "./index221.js";
6
+ import { useItemsGetter as U } from "./index225.js";
7
+ import { useIndexById as T } from "./index226.js";
8
+ import { useBaseOptions as q } from "./index227.js";
9
+ import { useCoherence as J } from "./index228.js";
10
+ import { hash as Q } from "./index229.js";
11
+ import { useHashedWatcher as $ } from "./index230.js";
12
+ import { usePrefill as X } from "./index231.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 "./index234.js";
7
- import { useBaseOptions as ne } from "./index217.js";
8
- import { useIndexById as re } from "./index216.js";
9
- import ie from "./index240.js";
6
+ import { last as le } from "./index242.js";
7
+ import { useBaseOptions as ne } from "./index227.js";
8
+ import { useIndexById as re } from "./index226.js";
9
+ import ie from "./index246.js";
10
10
  /* empty css */
11
- import ue from "./index242.js";
11
+ import ue from "./index248.js";
12
12
  /* empty css */
13
- import se from "./index210.js";
13
+ import se from "./index213.js";
14
14
  /* empty css */
15
- import de from "./index209.js";
16
- import { isEmpty as pe } from "./index233.js";
15
+ import de from "./index215.js";
16
+ import { isEmpty as pe } from "./index241.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 "./index209.js";
3
- import G from "./index210.js";
2
+ import E from "./index215.js";
3
+ import G from "./index213.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 "./index210.js";
2
+ import E from "./index213.js";
3
3
  /* empty css */
4
- import I from "./index209.js";
4
+ import I from "./index215.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index212.js";
6
+ import { MaskInput as z } from "./index251.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 "./index235.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 "./index223.js";
2
+ import { isCssColor as y } from "./index232.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,5 +1,5 @@
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 "./index223.js";
2
+ import { isCssColor as l } from "./index232.js";
3
3
  import { isNil as B } from "./index262.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
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 "./index265.js";
11
- import { noop as w } from "./index266.js";
12
- import { useLocale as D } from "./index235.js";
10
+ import { pickBy as W } from "./index263.js";
11
+ import { noop as w } from "./index264.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 "./index235.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,16 +1,16 @@
1
- import { defineComponent as N, computed as R, ref as g, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as T, 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 D } from "./index263.js";
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 "./index269.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index236.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 "./index238.js";
10
+ import le from "./index220.js";
11
11
  /* empty css */
12
- import K from "./index264.js";
13
- const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, ge = /* @__PURE__ */ N({
12
+ import K from "./index270.js";
13
+ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ N({
14
14
  __name: "BbDropdown",
15
15
  props: {
16
16
  arrowPadding: { default: 10 },
@@ -23,13 +23,12 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
23
23
  placement: { default: "bottom" },
24
24
  theme: { default: "default" },
25
25
  transitionDuration: { default: 300 },
26
- teleportTarget: {},
27
26
  items: {},
28
27
  width: { default: 200 }
29
28
  },
30
29
  setup(O) {
31
30
  const u = O, d = u.id ?? `bb_${te().id.value}`, c = R(() => {
32
- let e = u.items.findIndex((n) => !n.disabled), o = D(
31
+ let e = u.items.findIndex((n) => !n.disabled), o = T(
33
32
  u.items,
34
33
  (n) => !n.disabled
35
34
  );
@@ -52,7 +51,7 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
52
51
  }
53
52
  } else if (s.key === "ArrowUp") {
54
53
  if (s.preventDefault(), i.value && t !== e) {
55
- const r = D(u.items, (w, L) => L < t && !w.disabled), y = Array.from(
54
+ const r = T(u.items, (w, L) => L < t && !w.disabled), y = Array.from(
56
55
  i.value.querySelectorAll(".bb-dropdown__item")
57
56
  )[r];
58
57
  y && y instanceof HTMLElement && y.focus();
@@ -84,10 +83,10 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
84
83
  onKeydown: z
85
84
  };
86
85
  });
87
- }), b = g(), i = g(), l = g(!1), E = ne(l), P = () => {
86
+ }), b = E(), i = E(), l = E(!1), g = ne(l), P = () => {
88
87
  l.value ? p() : $();
89
88
  }, V = async (e) => {
90
- let o = u.items.findIndex((t) => !t.disabled), n = D(
89
+ let o = u.items.findIndex((t) => !t.disabled), n = T(
91
90
  u.items,
92
91
  (t) => !t.disabled
93
92
  );
@@ -126,7 +125,7 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
126
125
  }
127
126
  p();
128
127
  }
129
- }, U = g(!1), $ = async () => {
128
+ }, U = E(!1), $ = async () => {
130
129
  U.value = !0, await oe(50), l.value = !0, document.addEventListener("click", H, { passive: !0 }), document.addEventListener("focusin", M, { passive: !0 }), document.addEventListener("keydown", S, { passive: !0 });
131
130
  }, p = async () => {
132
131
  l.value = !1;
@@ -146,14 +145,14 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
146
145
  offset: e.offset,
147
146
  padding: e.padding,
148
147
  placement: e.placement,
149
- "render-content": f(E),
148
+ "render-content": f(g),
150
149
  "transition-duration": e.transitionDuration
151
150
  }, {
152
- activator: T(() => [
151
+ activator: D(() => [
153
152
  m(e.$slots, "activator", x(ee({
154
153
  props: {
155
- "aria-expanded": f(E) ? l.value : !1,
156
- "aria-controls": f(E) ? `menu_${f(d)}` : void 0,
154
+ "aria-expanded": f(g) ? l.value : !1,
155
+ "aria-controls": f(g) ? `menu_${f(d)}` : void 0,
157
156
  id: f(d),
158
157
  onClick: P,
159
158
  onKeydown: V,
@@ -164,7 +163,7 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
164
163
  placement: e.placement
165
164
  })))
166
165
  ]),
167
- default: T(() => [
166
+ default: D(() => [
168
167
  I("span", {
169
168
  id: `menu_${f(d)}`,
170
169
  ref_key: "content",
@@ -200,7 +199,7 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
200
199
  "data-dropdown-item": !0,
201
200
  ref_for: !0
202
201
  }, t), {
203
- default: T(() => [
202
+ default: D(() => [
204
203
  m(e.$slots, t.key, {
205
204
  disabled: t.disabled,
206
205
  index: a,
@@ -245,5 +244,5 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
245
244
  }
246
245
  });
247
246
  export {
248
- ge as default
247
+ Ee as default
249
248
  };
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 "./index235.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 "./index272.js";
2
+ import { findInTree as ae } from "./index266.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("./index271.js")).default);
56
+ b || (b = (await import("./index265.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 "./index223.js";
2
+ import { isCssColor as I } from "./index232.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 "./index270.js";
2
+ import { throttle as c } from "./index267.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {