bitboss-ui 2.0.114 → 2.0.116

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 (173) hide show
  1. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +31 -58
  2. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -5
  3. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +5 -0
  4. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +1 -1
  5. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +8 -167
  6. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  7. package/dist/components/BbSelect/BbSelect.vue.d.ts +5 -0
  8. package/dist/index100.js +72 -70
  9. package/dist/index101.js +5 -3
  10. package/dist/index111.js +12 -12
  11. package/dist/index119.js +1 -1
  12. package/dist/index121.js +6 -6
  13. package/dist/index123.js +1 -1
  14. package/dist/index125.js +1 -1
  15. package/dist/index127.js +1 -1
  16. package/dist/index128.js +1 -1
  17. package/dist/index129.js +1 -1
  18. package/dist/index13.js +2 -2
  19. package/dist/index131.js +1 -1
  20. package/dist/index132.js +2 -2
  21. package/dist/index133.js +2 -2
  22. package/dist/index15.js +5 -5
  23. package/dist/index17.js +3 -3
  24. package/dist/index19.js +8 -8
  25. package/dist/index205.js +2 -115
  26. package/dist/index206.js +3 -2
  27. package/dist/index207.js +51 -6
  28. package/dist/index209.js +13 -126
  29. package/dist/index21.js +16 -16
  30. package/dist/index210.js +2 -5
  31. package/dist/index211.js +4 -125
  32. package/dist/index212.js +2 -16
  33. package/dist/index213.js +86 -16
  34. package/dist/index215.js +25 -15
  35. package/dist/index216.js +17 -2
  36. package/dist/index217.js +51 -2
  37. package/dist/index218.js +14 -40
  38. package/dist/index219.js +3 -13
  39. package/dist/index220.js +11 -19
  40. package/dist/index221.js +16 -6
  41. package/dist/index222.js +125 -14
  42. package/dist/index223.js +5 -53
  43. package/dist/index224.js +127 -0
  44. package/dist/index225.js +16 -13
  45. package/dist/index226.js +16 -5
  46. package/dist/index227.js +17 -367
  47. package/dist/index228.js +13 -17
  48. package/dist/index229.js +2 -27
  49. package/dist/index23.js +31 -32
  50. package/dist/index230.js +2 -250
  51. package/dist/index231.js +41 -52
  52. package/dist/index232.js +12 -43
  53. package/dist/index233.js +20 -5
  54. package/dist/index234.js +5 -59
  55. package/dist/index235.js +11 -82
  56. package/dist/index236.js +7 -0
  57. package/dist/index237.js +365 -21
  58. package/dist/index238.js +18 -16
  59. package/dist/index239.js +26 -47
  60. package/dist/index240.js +8 -15
  61. package/dist/index241.js +250 -12
  62. package/dist/index242.js +52 -16
  63. package/dist/index243.js +44 -2
  64. package/dist/index244.js +5 -4
  65. package/dist/index245.js +60 -2
  66. package/dist/index246.js +3 -4
  67. package/dist/index247.js +7 -3
  68. package/dist/index248.js +4 -3
  69. package/dist/index249.js +115 -7
  70. package/dist/index25.js +7 -7
  71. package/dist/index250.js +2 -2
  72. package/dist/index251.js +2 -18
  73. package/dist/index252.js +2 -106
  74. package/dist/index253.js +20 -0
  75. package/dist/index254.js +53 -47
  76. package/dist/index256.js +100 -12
  77. package/dist/index258.js +12 -2
  78. package/dist/index261.js +9 -9
  79. package/dist/index262.js +23 -6
  80. package/dist/index263.js +89 -15
  81. package/dist/index265.js +8 -0
  82. package/dist/index266.js +15 -8
  83. package/dist/index267.js +224 -23
  84. package/dist/index268.js +3 -9
  85. package/dist/index27.js +1 -1
  86. package/dist/index270.js +7 -28
  87. package/dist/index271.js +4 -281
  88. package/dist/index272.js +3 -6
  89. package/dist/index273.js +17 -2
  90. package/dist/index274.js +9 -2
  91. package/dist/index275.js +28 -2
  92. package/dist/index276.js +281 -2
  93. package/dist/index277.js +6 -2
  94. package/dist/index278.js +2 -2
  95. package/dist/index279.js +2 -126
  96. package/dist/index280.js +2 -431
  97. package/dist/index281.js +2 -176
  98. package/dist/index282.js +2 -2
  99. package/dist/index283.js +2 -3
  100. package/dist/index284.js +128 -0
  101. package/dist/index285.js +429 -5
  102. package/dist/index286.js +176 -22
  103. package/dist/index287.js +4 -0
  104. package/dist/index288.js +22 -7
  105. package/dist/index29.js +3 -3
  106. package/dist/index290.js +7 -2
  107. package/dist/index291.js +11 -2
  108. package/dist/index292.js +2 -2
  109. package/dist/index293.js +2 -2
  110. package/dist/index294.js +1 -1
  111. package/dist/index295.js +1 -1
  112. package/dist/index296.js +1 -21
  113. package/dist/index297.js +4 -0
  114. package/dist/index298.js +22 -3
  115. package/dist/index300.js +9 -200
  116. package/dist/index301.js +191 -427
  117. package/dist/index302.js +422 -113
  118. package/dist/index303.js +126 -3
  119. package/dist/index304.js +83 -218
  120. package/dist/index305.js +8 -89
  121. package/dist/index306.js +1 -1
  122. package/dist/index307.js +1 -1
  123. package/dist/index308.js +4 -4
  124. package/dist/index309.js +2 -5
  125. package/dist/index31.js +2 -2
  126. package/dist/index310.js +3 -2
  127. package/dist/index311.js +1 -1
  128. package/dist/index312.js +5 -5
  129. package/dist/index313.js +3 -8
  130. package/dist/index314.js +3 -3
  131. package/dist/index315.js +58 -3
  132. package/dist/index316.js +32 -57
  133. package/dist/index317.js +5 -3
  134. package/dist/index318.js +8 -53
  135. package/dist/index319.js +4 -53
  136. package/dist/index320.js +6 -46
  137. package/dist/index321.js +18 -6
  138. package/dist/index322.js +52 -18
  139. package/dist/index323.js +52 -32
  140. package/dist/index324.js +6 -3
  141. package/dist/index325.js +46 -6
  142. package/dist/index327.js +1 -1
  143. package/dist/index33.js +8 -8
  144. package/dist/index35.js +4 -4
  145. package/dist/index37.js +136 -135
  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 +7 -7
  150. package/dist/index47.js +2 -2
  151. package/dist/index49.js +2 -2
  152. package/dist/index51.js +11 -12
  153. package/dist/index53.js +1 -1
  154. package/dist/index55.js +1 -1
  155. package/dist/index57.js +2 -2
  156. package/dist/index61.js +1 -1
  157. package/dist/index75.js +3 -3
  158. package/dist/index77.js +1 -1
  159. package/dist/index79.js +2 -2
  160. package/dist/index81.js +1 -1
  161. package/dist/index84.js +4 -4
  162. package/dist/index86.js +2 -2
  163. package/dist/index88.js +5 -5
  164. package/dist/index90.js +1 -1
  165. package/package.json +2 -2
  166. package/dist/index208.js +0 -5
  167. package/dist/index214.js +0 -21
  168. package/dist/index257.js +0 -4
  169. package/dist/index264.js +0 -92
  170. package/dist/index269.js +0 -10
  171. package/dist/index289.js +0 -13
  172. package/dist/index299.js +0 -19
  173. /package/dist/{index328.js → index329.js} +0 -0
package/dist/index51.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as f, ref as _, watch as v, openBlock as b, createElementBlock as h, createVNode as n, unref as t, normalizeClass as d, withModifiers as g, withCtx as s, renderSlot as u } from "vue";
2
- import { useId as V } from "./index8.js";
1
+ import { defineComponent as f, ref as _, watch as v, openBlock as b, createElementBlock as h, createVNode as n, unref as i, normalizeClass as d, withModifiers as V, withCtx as s, renderSlot as u } from "vue";
2
+ import { useId as g } from "./index8.js";
3
3
  import $ from "./index13.js";
4
4
  /* empty css */
5
5
  import B from "./index126.js";
@@ -10,40 +10,39 @@ const y = { class: "bb-accordion" }, A = /* @__PURE__ */ f({
10
10
  eager: { type: Boolean },
11
11
  transitionDuration: { default: 250 },
12
12
  modelValue: { type: Boolean },
13
- tag: {},
14
13
  id: {}
15
14
  },
16
15
  emits: ["update:modelValue"],
17
16
  setup(m, { emit: c }) {
18
- const p = c, o = m, l = o.id || `bba_${V().id.value}`, e = _(o.modelValue);
17
+ const p = c, o = m, l = o.id || `bba_${g().id.value}`, e = _(o.modelValue);
19
18
  v(
20
19
  () => o.modelValue,
21
20
  (a, r) => {
22
21
  a !== r && a !== e.value && (e.value = a);
23
22
  }
24
23
  );
25
- const i = () => {
24
+ const t = () => {
26
25
  e.value = !e.value, p("update:modelValue", !o.modelValue);
27
26
  };
28
27
  return (a, r) => (b(), h("div", y, [
29
28
  n($, {
30
- id: `${t(l)}_header`,
31
- "aria-controls": t(l),
29
+ id: `${i(l)}_header`,
30
+ "aria-controls": i(l),
32
31
  "aria-expanded": e.value,
33
32
  class: d("bb-accordion__header"),
34
- onClick: g(i, ["self"])
33
+ onClick: V(t, ["self"])
35
34
  }, {
36
35
  default: s(() => [
37
36
  u(a.$slots, "header", {
38
- toggle: i,
37
+ toggle: t,
39
38
  value: e.value
40
39
  })
41
40
  ]),
42
41
  _: 3
43
42
  }, 8, ["id", "aria-controls", "aria-expanded"]),
44
43
  n(B, {
45
- id: t(l),
46
- "aria-labelledby": `${t(l)}_header`,
44
+ id: i(l),
45
+ "aria-labelledby": `${i(l)}_header`,
47
46
  class: d("bb-accordion__content"),
48
47
  eager: a.eager,
49
48
  "model-value": e.value,
@@ -52,7 +51,7 @@ const y = { class: "bb-accordion" }, A = /* @__PURE__ */ f({
52
51
  }, {
53
52
  default: s(() => [
54
53
  u(a.$slots, "default", {
55
- toggle: i,
54
+ toggle: t,
56
55
  value: e.value
57
56
  })
58
57
  ]),
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 "./index219.js";
6
+ import { useLocale as g } from "./index232.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 "./index243.js";
2
+ import { isCssColor as y } from "./index210.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 "./index243.js";
3
- import { isNil as B } from "./index257.js";
2
+ import { isCssColor as r } from "./index210.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 "./index219.js";
12
+ import { useLocale as W } from "./index232.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
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 "./index266.js";
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 "./index267.js";
9
- import se from "./index264.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 */
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 "./index219.js";
12
+ import { useLocale as j } from "./index232.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 "./index263.js";
2
+ import { findInTree as ae } from "./index266.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("./index262.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/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 "./index248.js";
2
+ import { throttle as c } from "./index246.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,11 +1,11 @@
1
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 "./index218.js";
2
+ import { useFocusTrap as pe } from "./index231.js";
3
3
  import { useId as E } from "./index8.js";
4
4
  import { wait as H } from "./index130.js";
5
- import { useModalsState as b } from "./index249.js";
6
- import be from "./index222.js";
5
+ import { useModalsState as b } from "./index247.js";
6
+ import be from "./index235.js";
7
7
  import { useMobile as me } from "./index9.js";
8
- import { useLocale as ye } from "./index219.js";
8
+ import { useLocale as ye } from "./index232.js";
9
9
  const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"], Te = /* @__PURE__ */ se({
10
10
  __name: "BbOffCanvas",
11
11
  props: {
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 "./index261.js";
2
+ import { debounce as T } from "./index300.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 "./index219.js";
7
+ import { useLocale as D } from "./index232.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 "./index218.js";
2
+ import { useFocusTrap as j } from "./index231.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 "./index221.js";
5
+ import { waitFor as K } from "./index234.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import U from "./index264.js";
8
+ import U from "./index263.js";
9
9
  /* empty css */
10
- import { useLocale as X } from "./index219.js";
11
- import { useDebounceFn as Y } from "./index205.js";
10
+ import { useLocale as X } from "./index232.js";
11
+ import { useDebounceFn as Y } from "./index249.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 "./index206.js";
2
+ import { clamp as p } from "./index205.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.114",
3
+ "version": "2.0.116",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -91,4 +91,4 @@
91
91
  "lint-staged": {
92
92
  "*.{js,css,md,html,json,vue,ts}": "prettier --write"
93
93
  }
94
- }
94
+ }
package/dist/index208.js DELETED
@@ -1,5 +0,0 @@
1
- import { hash as o } from "./index270.js";
2
- const t = (r, h = "bb") => `${h}${o(r)}`;
3
- export {
4
- t as hash
5
- };
package/dist/index214.js DELETED
@@ -1,21 +0,0 @@
1
- import { commonjsGlobal as i, getDefaultExportFromCjs as m } from "./index272.js";
2
- import { __module as _ } from "./index277.js";
3
- import { __require as s } from "./index271.js";
4
- (function(n, d) {
5
- (function(t, o) {
6
- n.exports = o(s());
7
- })(i, function(t) {
8
- function o(e) {
9
- return e && typeof e == "object" && "default" in e ? e : { default: e };
10
- }
11
- var a = o(t), r = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
12
- return e + "º";
13
- } };
14
- return a.default.locale(r, null, !0), r;
15
- });
16
- })(_);
17
- var u = _.exports;
18
- const p = /* @__PURE__ */ m(u);
19
- export {
20
- p as default
21
- };
package/dist/index257.js DELETED
@@ -1,4 +0,0 @@
1
- const r = (e) => typeof e > "u" || e === null;
2
- export {
3
- r as isNil
4
- };
package/dist/index264.js DELETED
@@ -1,92 +0,0 @@
1
- import { defineComponent as h, toRef as y, ref as r, computed as a, watch as $, openBlock as b, createBlock as A, withCtx as k, createElementBlock as x, mergeProps as o, createElementVNode as c, renderSlot as B } from "vue";
2
- import C from "./index222.js";
3
- import f from "./index327.js";
4
- import { useFloating as D, arrow as E } from "./index209.js";
5
- import { autoUpdate as P, flip as F, offset as S, shift as T } from "./index227.js";
6
- const W = /* @__PURE__ */ h({
7
- __name: "CommonFloating",
8
- props: {
9
- arrowPadding: {},
10
- eager: { type: Boolean },
11
- offset: {},
12
- padding: {},
13
- placement: {},
14
- theme: {},
15
- transitionDuration: {},
16
- containerAttributes: { default: () => ({}) },
17
- bubbleAttributes: {},
18
- wrapper: {},
19
- baseClass: {},
20
- open: { type: Boolean },
21
- teleportTarget: {}
22
- },
23
- setup(d) {
24
- const e = d, m = y(e, "wrapper"), n = r(), l = r(), i = r(), { floatingStyles: g, placement: w, middlewareData: s } = D(
25
- n,
26
- l,
27
- {
28
- placement: e.placement,
29
- whileElementsMounted: P,
30
- middleware: [
31
- F(),
32
- S(e.offset),
33
- T({ padding: e.padding }),
34
- E({
35
- element: i,
36
- padding: e.arrowPadding
37
- })
38
- ]
39
- }
40
- ), _ = a(() => {
41
- if (s.value.arrow) {
42
- const { x: t, y: u } = s.value.arrow;
43
- return {
44
- style: {
45
- left: `${t}px`,
46
- top: `${u}px`
47
- }
48
- };
49
- }
50
- }), p = a(() => f({}, e.containerAttributes, {
51
- class: {
52
- "bb-floating": !0,
53
- [`bb-floating--${w.value}`]: !0,
54
- [`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
55
- "bb-floating--hidden": !e.open,
56
- "bb-floating--open": e.open
57
- },
58
- style: {
59
- ...g.value,
60
- "--transition-duration": `${e.transitionDuration}ms`
61
- },
62
- tabindex: e.open ? void 0 : -1
63
- })), v = a(() => f({}, e.bubbleAttributes, {}));
64
- return $(
65
- () => e.open,
66
- (t) => {
67
- t && (n.value = m.value);
68
- }
69
- ), (t, u) => (b(), A(C, { target: t.teleportTarget }, {
70
- default: k(() => [
71
- (b(), x("span", o(p.value, {
72
- key: p.value.id,
73
- ref_key: "content",
74
- ref: l
75
- }), [
76
- c("span", o({
77
- ref_key: "bubblearrow",
78
- ref: i,
79
- class: "bb-floating__arrow"
80
- }, _.value), null, 16),
81
- c("span", o({ class: "bb-floating__bubble" }, v.value), [
82
- B(t.$slots, "default")
83
- ], 16)
84
- ], 16))
85
- ]),
86
- _: 3
87
- }, 8, ["target"]));
88
- }
89
- });
90
- export {
91
- W as default
92
- };
package/dist/index269.js DELETED
@@ -1,10 +0,0 @@
1
- const u = (t, r) => t.reduce(
2
- (e, n, o, d) => {
3
- const s = r(n, o, d);
4
- return e[s] = n, e;
5
- },
6
- {}
7
- );
8
- export {
9
- u as indexBy
10
- };
package/dist/index289.js DELETED
@@ -1,13 +0,0 @@
1
- function c(n, r, e) {
2
- const i = typeof r == "string" ? r.split(".") : r;
3
- let t = n;
4
- for (const o of i)
5
- if (t && typeof t == "object" && o in t)
6
- t = t[o];
7
- else
8
- return e;
9
- return t === void 0 ? e : t;
10
- }
11
- export {
12
- c as get
13
- };
package/dist/index299.js DELETED
@@ -1,19 +0,0 @@
1
- import { get as t } from "./index289.js";
2
- const o = () => ({
3
- getItemText(r, n) {
4
- if (typeof r == "string" && !n) return r;
5
- if (n) {
6
- if (typeof n == "function") {
7
- let f = n(r);
8
- return typeof f != "string" && (f = JSON.stringify(f)), f;
9
- } else if (typeof n == "string") {
10
- const f = t(r, n);
11
- return typeof f == "string" ? f : JSON.stringify(f);
12
- }
13
- }
14
- return JSON.stringify(r);
15
- }
16
- });
17
- export {
18
- o as useItemText
19
- };
File without changes