bitboss-ui 2.0.106 → 2.0.108

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 (174) hide show
  1. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -0
  2. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +4 -0
  3. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -1
  4. package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -1
  5. package/dist/components/BbRows/BbRows.vue.d.ts +1 -0
  6. package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -0
  7. package/dist/components/BbTable/types.d.ts +13 -0
  8. package/dist/components/BbTeleport.vue.d.ts +4 -1
  9. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
  10. package/dist/components/CommonFloating.vue.d.ts +4 -0
  11. package/dist/index100.js +46 -45
  12. package/dist/index101.js +22 -20
  13. package/dist/index111.js +224 -207
  14. package/dist/index119.js +2 -2
  15. package/dist/index121.js +19 -17
  16. package/dist/index123.js +1 -1
  17. package/dist/index125.js +1 -1
  18. package/dist/index127.js +1 -1
  19. package/dist/index128.js +1 -1
  20. package/dist/index129.js +1 -1
  21. package/dist/index13.js +2 -2
  22. package/dist/index131.js +1 -1
  23. package/dist/index132.js +2 -2
  24. package/dist/index15.js +5 -5
  25. package/dist/index17.js +3 -3
  26. package/dist/index19.js +8 -8
  27. package/dist/index205.js +115 -2
  28. package/dist/index206.js +125 -85
  29. package/dist/index207.js +283 -0
  30. package/dist/index208.js +123 -23
  31. package/dist/index209.js +15 -16
  32. package/dist/index21.js +16 -16
  33. package/dist/index210.js +15 -47
  34. package/dist/index211.js +19 -15
  35. package/dist/index212.js +15 -3
  36. package/dist/index213.js +2 -12
  37. package/dist/index214.js +2 -16
  38. package/dist/index215.js +41 -2
  39. package/dist/index216.js +13 -4
  40. package/dist/index217.js +20 -2
  41. package/dist/index218.js +5 -7
  42. package/dist/index219.js +15 -3
  43. package/dist/index220.js +53 -41
  44. package/dist/index222.js +13 -7
  45. package/dist/index223.js +5 -12
  46. package/dist/index224.js +369 -13
  47. package/dist/index225.js +4 -53
  48. package/dist/index226.js +10 -0
  49. package/dist/index227.js +3 -13
  50. package/dist/index228.js +2 -5
  51. package/dist/index229.js +4 -16
  52. package/dist/index23.js +48 -44
  53. package/dist/index230.js +2 -16
  54. package/dist/index231.js +2 -19
  55. package/dist/index232.js +17 -13
  56. package/dist/index233.js +22 -14
  57. package/dist/index234.js +248 -25
  58. package/dist/index235.js +52 -2
  59. package/dist/index236.js +36 -242
  60. package/dist/index237.js +5 -52
  61. package/dist/index238.js +47 -31
  62. package/dist/index239.js +3 -5
  63. package/dist/index240.js +3 -60
  64. package/dist/index241.js +7 -20
  65. package/dist/index242.js +86 -4
  66. package/dist/index244.js +23 -123
  67. package/dist/index245.js +17 -2
  68. package/dist/index246.js +48 -5
  69. package/dist/index247.js +12 -366
  70. package/dist/index248.js +10 -113
  71. package/dist/index249.js +16 -3
  72. package/dist/index25.js +7 -7
  73. package/dist/index250.js +2 -2
  74. package/dist/index251.js +2 -18
  75. package/dist/index252.js +2 -2
  76. package/dist/index254.js +2 -2
  77. package/dist/index256.js +2 -12
  78. package/dist/index257.js +18 -2
  79. package/dist/index258.js +12 -2
  80. package/dist/index261.js +9 -3
  81. package/dist/index262.js +23 -17
  82. package/dist/index263.js +88 -7
  83. package/dist/index265.js +3 -4
  84. package/dist/index267.js +7 -2
  85. package/dist/index268.js +171 -84
  86. package/dist/index269.js +2 -2
  87. package/dist/index27.js +1 -1
  88. package/dist/index271.js +6 -3
  89. package/dist/index272.js +18 -0
  90. package/dist/index273.js +9 -7
  91. package/dist/index274.js +8 -200
  92. package/dist/index275.js +27 -280
  93. package/dist/index276.js +4 -6
  94. package/dist/index277.js +6 -2
  95. package/dist/index278.js +2 -2
  96. package/dist/index279.js +2 -2
  97. package/dist/index284.js +126 -2
  98. package/dist/index285.js +431 -2
  99. package/dist/index286.js +1 -1
  100. package/dist/index287.js +21 -1
  101. package/dist/index289.js +11 -0
  102. package/dist/index29.js +3 -3
  103. package/dist/index290.js +2 -9
  104. package/dist/index291.js +2 -23
  105. package/dist/index292.js +2 -89
  106. package/dist/index293.js +4 -0
  107. package/dist/index294.js +2 -176
  108. package/dist/index295.js +2 -2
  109. package/dist/index296.js +21 -125
  110. package/dist/index298.js +438 -0
  111. package/dist/index299.js +125 -7
  112. package/dist/index300.js +200 -6
  113. package/dist/index301.js +224 -16
  114. package/dist/index302.js +3 -8
  115. package/dist/index303.js +17 -224
  116. package/dist/index304.js +81 -428
  117. package/dist/index305.js +3 -127
  118. package/dist/index306.js +1 -1
  119. package/dist/index307.js +214 -3
  120. package/dist/index308.js +2 -214
  121. package/dist/index309.js +5 -67
  122. package/dist/index31.js +2 -2
  123. package/dist/index310.js +67 -2
  124. package/dist/index311.js +3 -5
  125. package/dist/index312.js +1 -1
  126. package/dist/index313.js +1 -1
  127. package/dist/index314.js +32 -6
  128. package/dist/index315.js +52 -18
  129. package/dist/index316.js +28 -28
  130. package/dist/index317.js +4 -53
  131. package/dist/index318.js +3 -7
  132. package/dist/index319.js +3 -33
  133. package/dist/index320.js +57 -3
  134. package/dist/index321.js +7 -3
  135. package/dist/index322.js +19 -3
  136. package/dist/index323.js +7 -3
  137. package/dist/index324.js +45 -56
  138. package/dist/index325.js +2 -47
  139. package/dist/index326.js +480 -2
  140. package/dist/index328.js +426 -0
  141. package/dist/index329.js +43 -420
  142. package/dist/index33.js +8 -8
  143. package/dist/index330.js +2 -47
  144. package/dist/index35.js +4 -4
  145. package/dist/index37.js +74 -70
  146. package/dist/index39.js +5 -5
  147. package/dist/index41.js +2 -2
  148. package/dist/index43.js +8 -8
  149. package/dist/index45.js +5 -5
  150. package/dist/index47.js +2 -2
  151. package/dist/index49.js +2 -2
  152. package/dist/index53.js +1 -1
  153. package/dist/index55.js +1 -1
  154. package/dist/index57.js +2 -2
  155. package/dist/index61.js +1 -1
  156. package/dist/index75.js +22 -20
  157. package/dist/index77.js +1 -1
  158. package/dist/index79.js +2 -2
  159. package/dist/index81.js +1 -1
  160. package/dist/index84.js +4 -4
  161. package/dist/index86.js +2 -2
  162. package/dist/index88.js +41 -39
  163. package/dist/index90.js +1 -1
  164. package/dist/style.css +1 -1
  165. package/dist/types/CommonProps.d.ts +4 -0
  166. package/package.json +1 -1
  167. package/dist/index221.js +0 -8
  168. package/dist/index243.js +0 -128
  169. package/dist/index264.js +0 -30
  170. package/dist/index266.js +0 -433
  171. package/dist/index288.js +0 -24
  172. package/dist/index297.js +0 -24
  173. package/dist/index327.js +0 -482
  174. package/dist/index331.js +0 -4
package/dist/index37.js CHANGED
@@ -1,35 +1,35 @@
1
- import { defineComponent as Re, defineAsyncComponent as Ge, ref as f, computed as y, toRef as x, openBlock as h, createBlock as T, normalizeClass as Z, withCtx as i, renderSlot as c, createVNode as K, unref as V, createElementVNode as H, createElementBlock as A, Fragment as ee, toDisplayString as je, createCommentVNode as te, withDirectives as Je, withModifiers as p, withKeys as g, vModelDynamic as Qe, renderList as Xe, mergeProps as le, normalizeStyle as Ye, nextTick as _ } from "vue";
1
+ import { defineComponent as Re, defineAsyncComponent as Ge, ref as f, computed as y, toRef as T, openBlock as h, createBlock as x, normalizeClass as Z, withCtx as i, renderSlot as p, createVNode as K, unref as V, createElementVNode as H, createElementBlock as A, Fragment as ee, toDisplayString as je, createCommentVNode as te, withDirectives as Je, withModifiers as c, withKeys as g, vModelDynamic as Qe, renderList as Xe, mergeProps as le, normalizeStyle as Ye, nextTick as U } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import { useId as Ze } from "./index8.js";
5
5
  import { useMobile as et } from "./index9.js";
6
6
  import tt from "./index128.js";
7
7
  /* empty css */
8
- import { last as lt } from "./index235.js";
9
- import { matchAnyKey as oe } from "./index251.js";
10
- import { useFloating as ot } from "./index243.js";
8
+ import { last as lt } from "./index214.js";
9
+ import { matchAnyKey as oe } from "./index257.js";
10
+ import { useFloating as ot } from "./index206.js";
11
11
  import { useIntersectionObserver as at } from "./index132.js";
12
12
  import { wait as L } from "./index130.js";
13
- import { when as nt } from "./index216.js";
13
+ import { when as nt } from "./index229.js";
14
14
  import it from "./index252.js";
15
15
  /* empty css */
16
16
  import ut from "./index254.js";
17
17
  /* empty css */
18
- import rt from "./index225.js";
18
+ import rt from "./index220.js";
19
19
  /* empty css */
20
- import st from "./index227.js";
21
- import { waitFor as dt } from "./index221.js";
22
- import ct from "./index223.js";
23
- import { useItemsGetter as pt } from "./index208.js";
24
- import { usePrefill as mt } from "./index214.js";
25
- import { useArray as ft } from "./index256.js";
26
- import { useBaseOptions as vt } from "./index210.js";
27
- import { useIndexById as ae } from "./index209.js";
28
- import { useCoherence as yt } from "./index211.js";
29
- import { hash as ht } from "./index212.js";
30
- import { useHashedWatcher as ne } from "./index213.js";
31
- import { useLocale as bt } from "./index224.js";
32
- import { autoUpdate as gt, flip as wt, offset as Bt, shift as Vt } from "./index247.js";
20
+ import st from "./index222.js";
21
+ import { waitFor as dt } from "./index218.js";
22
+ import pt from "./index219.js";
23
+ import { useItemsGetter as ct } from "./index244.js";
24
+ import { usePrefill as mt } from "./index249.js";
25
+ import { useArray as ft } from "./index258.js";
26
+ import { useBaseOptions as vt } from "./index246.js";
27
+ import { useIndexById as ae } from "./index245.js";
28
+ import { useCoherence as yt } from "./index247.js";
29
+ import { hash as ht } from "./index227.js";
30
+ import { useHashedWatcher as ne } from "./index248.js";
31
+ import { useLocale as bt } from "./index216.js";
32
+ import { autoUpdate as gt, flip as wt, offset as Bt, shift as Vt } from "./index224.js";
33
33
  const It = { class: "bb-base-select__input-container" }, kt = {
34
34
  key: 1,
35
35
  class: "bb-base-select__max-reached"
@@ -69,6 +69,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
69
69
  readonly: { type: Boolean },
70
70
  required: { type: Boolean },
71
71
  stash: { type: Boolean },
72
+ teleportTarget: {},
72
73
  transitionDuration: { default: 300 },
73
74
  updateOnAnimationFrame: { type: Boolean, default: !1 }
74
75
  },
@@ -77,9 +78,9 @@ const It = { class: "bb-base-select__input-container" }, kt = {
77
78
  const t = ie, u = ue;
78
79
  if (t.multiple && !Array.isArray(t.modelValue))
79
80
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
80
- const { t: re } = bt(), se = Ge(() => import("./index250.js")), E = f(null), I = f(null), n = f(null), U = f(null), R = f(null), r = y(
81
- () => t.comma ? U.value : R.value
82
- ), { isMobile: de } = et(), ce = y(
81
+ const { t: re } = bt(), se = Ge(() => import("./index256.js")), E = f(null), I = f(null), n = f(null), _ = f(null), R = f(null), r = y(
82
+ () => t.comma ? _.value : R.value
83
+ ), { isMobile: de } = et(), pe = y(
83
84
  () => t.allowWriting === "not-mobile" && de.value ? "none" : void 0
84
85
  ), G = t.id || Ze().id.value;
85
86
  at(
@@ -89,7 +90,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
89
90
  },
90
91
  { threshold: [0, 1] }
91
92
  );
92
- const { floatingStyles: pe } = ot(
93
+ const { floatingStyles: ce } = ot(
93
94
  I,
94
95
  n,
95
96
  {
@@ -100,7 +101,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
100
101
  ), me = y(() => {
101
102
  var l;
102
103
  const e = {
103
- ...pe.value,
104
+ ...ce.value,
104
105
  zIndex: "10"
105
106
  };
106
107
  return I.value && (e.width = `${(l = I.value) == null ? void 0 : l.$el.clientWidth}px`), e;
@@ -157,14 +158,14 @@ const It = { class: "bb-base-select__input-container" }, kt = {
157
158
  m.value && await S();
158
159
  }, Se = async () => {
159
160
  var e, l;
160
- !w.value || o.value || !s.value.length || ((e = r.value) != null && e.getHighlighted() && r.value.confirmOption(), await _(), (l = r.value) == null || l.focusPrevious());
161
+ !w.value || o.value || !s.value.length || ((e = r.value) != null && e.getHighlighted() && r.value.confirmOption(), await U(), (l = r.value) == null || l.focusPrevious());
161
162
  }, o = f(""), {
162
163
  getter: M,
163
164
  debouncedGetter: Ce,
164
165
  items: De,
165
166
  loading: j
166
- } = pt({
167
- items: x(t, "items"),
167
+ } = ct({
168
+ items: T(t, "items"),
168
169
  debounce: t.queryDebounceTime
169
170
  }), P = () => {
170
171
  var e, l;
@@ -181,15 +182,15 @@ const It = { class: "bb-base-select__input-container" }, kt = {
181
182
  await M(o.value, e, t.modelValue), P(), b();
182
183
  }
183
184
  }), {
184
- array: xe,
185
- add: Te,
185
+ array: Te,
186
+ add: xe,
186
187
  remove: He,
187
188
  set: Ae
188
189
  } = ft(), s = y(() => $.value.filter((e) => e.selected)), Le = y(() => s.value.length ? "" : t.placeholder), { data: Q, get: Ee } = ae({
189
- items: x(t, "modelValue")
190
+ items: T(t, "modelValue")
190
191
  }), { options: $ } = vt({
191
- disabled: x(t, "disabled"),
192
- items: y(() => [...De.value, ...xe.value]),
192
+ disabled: T(t, "disabled"),
193
+ items: y(() => [...De.value, ...Te.value]),
193
194
  itemText: t.itemText,
194
195
  itemValue: t.itemValue,
195
196
  max: t.max,
@@ -212,19 +213,19 @@ const It = { class: "bb-base-select__input-container" }, kt = {
212
213
  let e;
213
214
  s.value && (e = lt(s.value)), o.value = (e == null ? void 0 : e.text) || "";
214
215
  }, qe = async (e) => {
215
- t.multiple ? (u("update:modelValue", t.modelValue.concat(e.value)), t.stash && Te(e.item), b()) : (t.stash && Ae(e.item), u("update:modelValue", e.value), await _(), b()), q(), t.multiple || S();
216
+ t.multiple ? (u("update:modelValue", t.modelValue.concat(e.value)), t.stash && xe(e.item), b()) : (t.stash && Ae(e.item), u("update:modelValue", e.value), await U(), b()), q(), t.multiple || S();
216
217
  }, X = async (e) => {
217
218
  if (He((l) => l.valueHash !== e.valueHash), t.multiple) {
218
219
  const l = { ...Q.value };
219
220
  delete l[e.valueHash], u("update:modelValue", Object.values(l));
220
221
  } else
221
- u("update:modelValue", null), await _(), b();
222
+ u("update:modelValue", null), await U(), b();
222
223
  q();
223
224
  }, { data: Me } = ae({
224
225
  items: $,
225
226
  key: "valueHash"
226
227
  }), { coherent: Y, status: Pe } = yt({
227
- modelValue: x(t, "modelValue"),
228
+ modelValue: T(t, "modelValue"),
228
229
  multiple: t.multiple,
229
230
  iteratee: (e) => !!Me.value[ht(e)]
230
231
  });
@@ -257,11 +258,11 @@ const It = { class: "bb-base-select__input-container" }, kt = {
257
258
  z.value = !1, u("inactive");
258
259
  }, Ke = (e) => {
259
260
  e.preventDefault(), u("click", e), !(t.disabled || t.readonly) && (q(), Ne());
260
- }, _e = nt(
261
+ }, Ue = nt(
261
262
  (e) => typeof e != "string",
262
263
  JSON.stringify
263
- ), Ue = y(() => [].concat(t.modelValue).map((e) => {
264
- const l = _e(e);
264
+ ), _e = y(() => [].concat(t.modelValue).map((e) => {
265
+ const l = Ue(e);
265
266
  return {
266
267
  disabled: t.disabled,
267
268
  name: t.name,
@@ -269,7 +270,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
269
270
  value: l
270
271
  };
271
272
  }));
272
- return (e, l) => (h(), T(st, {
273
+ return (e, l) => (h(), x(st, {
273
274
  ref_key: "outerContainer",
274
275
  ref: E,
275
276
  class: Z({
@@ -285,10 +286,10 @@ const It = { class: "bb-base-select__input-container" }, kt = {
285
286
  onClick: Ke
286
287
  }, {
287
288
  "prepend-outer": i(() => [
288
- c(e.$slots, "prepend-outer", { query: o.value })
289
+ p(e.$slots, "prepend-outer", { query: o.value })
289
290
  ]),
290
291
  "append-outer": i(() => [
291
- c(e.$slots, "append-outer", { query: o.value })
292
+ p(e.$slots, "append-outer", { query: o.value })
292
293
  ]),
293
294
  default: i(() => [
294
295
  K(rt, {
@@ -299,28 +300,28 @@ const It = { class: "bb-base-select__input-container" }, kt = {
299
300
  "prevent-focus": !0
300
301
  }, {
301
302
  prepend: i(() => [
302
- c(e.$slots, "prepend", { query: o.value })
303
+ p(e.$slots, "prepend", { query: o.value })
303
304
  ]),
304
305
  prefix: i(() => [
305
- c(e.$slots, "prefix")
306
+ p(e.$slots, "prefix")
306
307
  ]),
307
308
  append: i(() => [
308
- c(e.$slots, "append", { query: o.value })
309
+ p(e.$slots, "append", { query: o.value })
309
310
  ]),
310
311
  suffix: i(() => [
311
- c(e.$slots, "suffix")
312
+ p(e.$slots, "suffix")
312
313
  ]),
313
314
  default: i(() => [
314
315
  K(V(tt), { tag: "span" }, {
315
316
  default: i(() => [
316
317
  H("span", It, [
317
318
  e.multiple && s.value.length <= e.maxSelectedLabels ? (h(), A(ee, { key: 0 }, [
318
- e.comma ? (h(), T(ut, {
319
+ e.comma ? (h(), x(ut, {
319
320
  key: 0,
320
321
  ref_key: "commaBox",
321
- ref: U,
322
+ ref: _,
322
323
  options: s.value
323
- }, null, 8, ["options"])) : (h(), T(it, {
324
+ }, null, 8, ["options"])) : (h(), x(it, {
324
325
  key: 1,
325
326
  ref_key: "chipsBox",
326
327
  ref: R,
@@ -341,26 +342,26 @@ const It = { class: "bb-base-select__input-container" }, kt = {
341
342
  autofocus: e.autofocus,
342
343
  class: Z("bb-base-select__text-input"),
343
344
  disabled: e.disabled,
344
- inputmode: ce.value,
345
+ inputmode: pe.value,
345
346
  placeholder: Le.value,
346
347
  readonly: e.readonly || !e.allowWriting,
347
348
  required: e.required && !e.multiple || e.multiple && !e.modelValue.length,
348
349
  role: "combobox",
349
350
  size: "1",
350
351
  type: "text",
351
- onBlur: p(ye, ["stop"]),
352
- onChange: p(he, ["stop"]),
353
- onFocusOnce: p(ve, ["stop"]),
354
- onFocus: p(fe, ["stop"]),
355
- onInput: p(be, ["stop"]),
352
+ onBlur: c(ye, ["stop"]),
353
+ onChange: c(he, ["stop"]),
354
+ onFocusOnce: c(ve, ["stop"]),
355
+ onFocus: c(fe, ["stop"]),
356
+ onInput: c(be, ["stop"]),
356
357
  onKeydown: [
357
- g(p(Se, ["stop"]), ["delete"]),
358
- g(p(Be, ["stop"]), ["left"]),
359
- g(p(we, ["stop", "prevent"]), ["down"]),
360
- g(p(Ie, ["stop", "prevent"]), ["enter"]),
361
- g(p(ke, ["stop", "prevent"]), ["esc"]),
362
- g(p(ge, ["stop", "prevent"]), ["up"]),
363
- g(p(Ve, ["stop"]), ["right"])
358
+ g(c(Se, ["stop"]), ["delete"]),
359
+ g(c(Be, ["stop"]), ["left"]),
360
+ g(c(we, ["stop", "prevent"]), ["down"]),
361
+ g(c(Ie, ["stop", "prevent"]), ["enter"]),
362
+ g(c(ke, ["stop", "prevent"]), ["esc"]),
363
+ g(c(ge, ["stop", "prevent"]), ["up"]),
364
+ g(c(Ve, ["stop"]), ["right"])
364
365
  ]
365
366
  }, null, 40, St), [
366
367
  [Qe, o.value]
@@ -369,7 +370,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
369
370
  ]),
370
371
  _: 1
371
372
  }),
372
- c(e.$slots, "chevron", {
373
+ p(e.$slots, "chevron", {
373
374
  loading: !!V(j),
374
375
  shown: m.value
375
376
  }, () => [
@@ -387,11 +388,14 @@ const It = { class: "bb-base-select__input-container" }, kt = {
387
388
  ]),
388
389
  _: 3
389
390
  }, 8, ["append:icon", "prepend:icon"]),
390
- (h(!0), A(ee, null, Xe(Ue.value, (a) => (h(), A("input", le({
391
+ (h(!0), A(ee, null, Xe(_e.value, (a) => (h(), A("input", le({
391
392
  key: a.value,
392
393
  ref_for: !0
393
394
  }, a), null, 16))), 128)),
394
- W.value ? (h(), T(ct, { key: 0 }, {
395
+ W.value ? (h(), x(pt, {
396
+ key: 0,
397
+ target: e.teleportTarget
398
+ }, {
395
399
  default: i(() => [
396
400
  K(V(se), {
397
401
  ref_key: "optionsContainer",
@@ -407,19 +411,19 @@ const It = { class: "bb-base-select__input-container" }, kt = {
407
411
  "onOption:unselected": X
408
412
  }, {
409
413
  "options:prepend": i(() => [
410
- c(e.$slots, "options:prepend")
414
+ p(e.$slots, "options:prepend")
411
415
  ]),
412
416
  loading: i(() => [
413
- c(e.$slots, "loading", { query: o.value })
417
+ p(e.$slots, "loading", { query: o.value })
414
418
  ]),
415
419
  "no-data": i(() => [
416
- c(e.$slots, "no-data", { query: o.value })
420
+ p(e.$slots, "no-data", { query: o.value })
417
421
  ]),
418
422
  "options:append": i(() => [
419
- c(e.$slots, "options:append")
423
+ p(e.$slots, "options:append")
420
424
  ]),
421
425
  option: i((a) => [
422
- c(e.$slots, "option", le({
426
+ p(e.$slots, "option", le({
423
427
  hasErrors: e.hasErrors,
424
428
  loading: O.value
425
429
  }, a))
@@ -428,7 +432,7 @@ const It = { class: "bb-base-select__input-container" }, kt = {
428
432
  }, 8, ["compact", "loading", "loading-text", "no-data-text", "open", "options", "style"])
429
433
  ]),
430
434
  _: 3
431
- })) : te("", !0)
435
+ }, 8, ["target"])) : te("", !0)
432
436
  ]),
433
437
  _: 3
434
438
  }, 8, ["class"]));
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, openBlock as g, createElementBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, Fragment as ee, renderList as ae, createCommentVNode as H, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeClass as F, normalizeStyle as I } from "vue";
2
- import { clamp as le } from "./index205.js";
3
- import { head as O } from "./index257.js";
4
- import { isCssColor as Y } from "./index215.js";
5
- import { isNil as P } from "./index258.js";
2
+ import { clamp as le } from "./index231.js";
3
+ import { head as O } from "./index250.js";
4
+ import { isCssColor as Y } from "./index228.js";
5
+ import { isNil as P } from "./index251.js";
6
6
  import { isNotNil as ne } from "./index134.js";
7
7
  import { transposeValue as y } from "./index131.js";
8
- import { hash as J } from "./index212.js";
8
+ import { hash as J } from "./index227.js";
9
9
  const oe = { class: "bb-base-slider__slider-container" }, ie = {
10
10
  key: 0,
11
11
  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, openBlock as h, createElementBlock as y, normalizeProps as r, guardReactiveProps as d, mergeProps as V, createCommentVNode as A, createElementVNode as l, renderSlot as F } from "vue";
2
- import { isCssColor as b } from "./index215.js";
3
- import { when as N } from "./index216.js";
2
+ import { isCssColor as b } from "./index228.js";
3
+ import { when as N } from "./index229.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, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as h, guardReactiveProps as v, 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 "./index206.js";
4
+ import N from "./index242.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index208.js";
7
- import { useIndexById as T } from "./index209.js";
8
- import { useBaseOptions as q } from "./index210.js";
9
- import { useCoherence as J } from "./index211.js";
10
- import { hash as Q } from "./index212.js";
11
- import { useHashedWatcher as E } from "./index213.js";
12
- import { usePrefill as X } from "./index214.js";
6
+ import { useItemsGetter as U } from "./index244.js";
7
+ import { useIndexById as T } from "./index245.js";
8
+ import { useBaseOptions as q } from "./index246.js";
9
+ import { useCoherence as J } from "./index247.js";
10
+ import { hash as Q } from "./index227.js";
11
+ import { useHashedWatcher as E } from "./index248.js";
12
+ import { usePrefill as X } from "./index249.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.js CHANGED
@@ -3,16 +3,16 @@ import { defineComponent as R, ref as u, computed as f, toRef as E, watch as j,
3
3
  /* empty css */
4
4
  import oe from "./index128.js";
5
5
  /* empty css */
6
- import { last as ae } from "./index235.js";
7
- import { useBaseOptions as ne } from "./index210.js";
8
- import { useIndexById as le } from "./index209.js";
6
+ import { last as ae } from "./index214.js";
7
+ import { useBaseOptions as ne } from "./index246.js";
8
+ import { useIndexById as le } from "./index245.js";
9
9
  import re from "./index252.js";
10
10
  /* empty css */
11
11
  import ie from "./index254.js";
12
12
  /* empty css */
13
- import ue from "./index225.js";
13
+ import ue from "./index220.js";
14
14
  /* empty css */
15
- import se from "./index227.js";
15
+ import se from "./index222.js";
16
16
  const de = { class: "bb-base-tag__input-container" }, pe = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], $e = /* @__PURE__ */ R({
17
17
  __name: "BaseTag",
18
18
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, ref as y, computed as u, onMounted as g, watch as B, nextTick as x, openBlock as V, createBlock as k, normalizeClass as $, withCtx as t, renderSlot as r, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
2
- import v from "./index227.js";
3
- import E from "./index225.js";
2
+ import v from "./index222.js";
3
+ import E from "./index220.js";
4
4
  /* empty css */
5
5
  import G from "./index128.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, computed as c, openBlock as b, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as h, withCtx as n, renderSlot as t, createElementVNode as l, mergeProps as g } from "vue";
2
- import B from "./index225.js";
2
+ import B from "./index220.js";
3
3
  /* empty css */
4
- import k from "./index227.js";
4
+ import k from "./index222.js";
5
5
  const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], V = /* @__PURE__ */ m({
6
6
  __name: "BaseTextInput",
7
7
  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 "./index224.js";
6
+ import { useLocale as g } from "./index216.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 z, computed as b, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as h, guardReactiveProps as k, renderSlot as y } from "vue";
2
- import { isCssColor as _ } from "./index215.js";
2
+ import { isCssColor as _ } from "./index228.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 "./index215.js";
3
- import { isNil as B } from "./index258.js";
2
+ import { isCssColor as r } from "./index228.js";
3
+ import { isNil as B } from "./index251.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
@@ -9,7 +9,7 @@ import T from "./index129.js";
9
9
  /* empty css */
10
10
  import { pickBy as $ } from "./index259.js";
11
11
  import { noop as A } from "./index260.js";
12
- import { useLocale as W } from "./index224.js";
12
+ import { useLocale as W } from "./index216.js";
13
13
  const w = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index75.js CHANGED
@@ -1,12 +1,12 @@
1
- import { defineComponent as X, computed as A, ref as y, openBlock as $, createElementBlock as T, mergeProps as B, createElementVNode as H, renderSlot as w, normalizeProps as Y, guardReactiveProps as Z, unref as h, createVNode as C, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as N, toDisplayString as te } from "vue";
2
- import { findRightIndex as I } from "./index290.js";
1
+ import { defineComponent as X, computed as A, ref as y, openBlock as $, createElementBlock as D, mergeProps as B, createElementVNode as H, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as h, createVNode as C, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as N, toDisplayString as te } from "vue";
2
+ import { findRightIndex as I } from "./index261.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 V from "./index291.js";
9
- import se from "./index292.js";
8
+ import V from "./index262.js";
9
+ import se from "./index263.js";
10
10
  /* empty css */
11
11
  import j from "./index127.js";
12
12
  /* empty css */
@@ -23,6 +23,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
23
23
  placement: { default: "bottom" },
24
24
  theme: { default: "default" },
25
25
  transitionDuration: { default: 300 },
26
+ teleportTarget: {},
26
27
  items: {},
27
28
  width: { default: 200 }
28
29
  },
@@ -45,24 +46,24 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
45
46
  if (s.key === "ArrowDown") {
46
47
  if (s.preventDefault(), a.value && n !== o) {
47
48
  const d = a.value.querySelector(
48
- V.map((g) => `#${i} ~ ${g}`).join(",")
49
+ V.map((w) => `#${i} ~ ${w}`).join(",")
49
50
  );
50
51
  d && d instanceof HTMLElement && d.focus();
51
52
  }
52
53
  } else if (s.key === "ArrowUp") {
53
54
  if (s.preventDefault(), a.value && n !== e) {
54
- const d = I(r.items, (E, D) => D < n && !E.disabled), k = Array.from(
55
+ const d = I(r.items, (E, T) => T < n && !E.disabled), k = Array.from(
55
56
  a.value.querySelectorAll(".bb-dropdown__item")
56
57
  )[d];
57
58
  k && k instanceof HTMLElement && k.focus();
58
59
  }
59
60
  } else if (s.key === "Tab") {
60
61
  if (n === o && !s.shiftKey) {
61
- const d = V.join(","), g = Array.from(
62
+ const d = V.join(","), w = Array.from(
62
63
  document.querySelectorAll(d)
63
- ), k = g.findIndex(
64
- (D) => D.id === u
65
- ), E = g[k + 1];
64
+ ), k = w.findIndex(
65
+ (T) => T.id === u
66
+ ), E = w[k + 1];
66
67
  if (E) E instanceof HTMLElement && (s.preventDefault(), b(), E.focus());
67
68
  else return;
68
69
  } else if (n === e && s.shiftKey) {
@@ -143,13 +144,13 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
143
144
  [`bb-dropdown--${r.theme}`]: r.theme
144
145
  }
145
146
  }));
146
- return (e, o) => ($(), T("span", B({ class: "bb-dropdown" }, J.value), [
147
+ return (e, o) => ($(), D("span", B({ class: "bb-dropdown" }, J.value), [
147
148
  H("span", {
148
149
  ref_key: "wrapper",
149
150
  ref: v,
150
151
  class: "bb-dropdown__wrapper"
151
152
  }, [
152
- w(e.$slots, "activator", Y(Z({
153
+ g(e.$slots, "activator", Y(Z({
153
154
  props: {
154
155
  "aria-expanded": l.value,
155
156
  "aria-controls": `menu_${h(u)}`,
@@ -179,6 +180,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
179
180
  open: l.value,
180
181
  padding: e.padding,
181
182
  placement: e.placement,
183
+ "teleport-target": e.teleportTarget,
182
184
  theme: e.theme,
183
185
  "transition-duration": e.transitionDuration,
184
186
  wrapper: v.value
@@ -190,7 +192,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
190
192
  class: "bb-dropdown__items-container",
191
193
  style: x({ width: `${e.width}px` })
192
194
  }, [
193
- w(e.$slots, "prepend", {
195
+ g(e.$slots, "prepend", {
194
196
  closed: f.value,
195
197
  closing: p.value,
196
198
  disabled: e.disabled,
@@ -198,10 +200,10 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
198
200
  opening: c.value,
199
201
  placement: e.placement
200
202
  }),
201
- ($(!0), T(K, null, ee(m.value, (t, n) => ($(), T(K, {
203
+ ($(!0), D(K, null, ee(m.value, (t, n) => ($(), D(K, {
202
204
  key: t.key
203
205
  }, [
204
- w(e.$slots, "item:prepend", {
206
+ g(e.$slots, "item:prepend", {
205
207
  closed: f.value,
206
208
  closing: p.value,
207
209
  disabled: t.disabled,
@@ -222,7 +224,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
222
224
  ref_for: !0
223
225
  }, t), {
224
226
  default: O(() => [
225
- w(e.$slots, t.key, {
227
+ g(e.$slots, t.key, {
226
228
  closed: f.value,
227
229
  closing: p.value,
228
230
  disabled: t.disabled,
@@ -233,7 +235,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
233
235
  placement: e.placement,
234
236
  text: t.text
235
237
  }, () => [
236
- w(e.$slots, "item", {
238
+ g(e.$slots, "item", {
237
239
  closed: f.value,
238
240
  closing: p.value,
239
241
  disabled: t.disabled,
@@ -260,7 +262,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
260
262
  ]),
261
263
  _: 2
262
264
  }, 1040, ["class"]),
263
- w(e.$slots, "item:append", {
265
+ g(e.$slots, "item:append", {
264
266
  closed: f.value,
265
267
  closing: p.value,
266
268
  disabled: t.disabled,
@@ -272,7 +274,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
272
274
  text: t.text
273
275
  })
274
276
  ], 64))), 128)),
275
- w(e.$slots, "append", {
277
+ g(e.$slots, "append", {
276
278
  closed: f.value,
277
279
  closing: p.value,
278
280
  disabled: e.disabled,
@@ -283,7 +285,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
283
285
  ], 4)
284
286
  ]),
285
287
  _: 3
286
- }, 8, ["arrow-padding", "container-attributes", "eager", "offset", "open", "padding", "placement", "theme", "transition-duration", "wrapper"])
288
+ }, 8, ["arrow-padding", "container-attributes", "eager", "offset", "open", "padding", "placement", "teleport-target", "theme", "transition-duration", "wrapper"])
287
289
  ], 16));
288
290
  }
289
291
  });
package/dist/index77.js CHANGED
@@ -9,7 +9,7 @@ import S from "./index127.js";
9
9
  /* empty css */
10
10
  import Z from "./index129.js";
11
11
  /* empty css */
12
- import { useLocale as j } from "./index224.js";
12
+ import { useLocale as j } from "./index216.js";
13
13
  const q = { class: "bb-dropdown-button__content" }, A = {
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 "./index301.js";
2
+ import { findInTree as ae } from "./index272.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("./index300.js")).default);
56
+ b || (b = (await import("./index271.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 "./index219.js";
2
+ import { throttle as c } from "./index240.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {