bitboss-ui 2.0.107 → 2.0.109

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 (170) 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/BbSelect/BbSelect.vue.d.ts +4 -0
  6. package/dist/components/BbTeleport.vue.d.ts +4 -1
  7. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
  8. package/dist/components/CommonFloating.vue.d.ts +4 -0
  9. package/dist/index100.js +8 -8
  10. package/dist/index101.js +22 -20
  11. package/dist/index111.js +10 -10
  12. package/dist/index119.js +2 -2
  13. package/dist/index121.js +18 -16
  14. package/dist/index123.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/index131.js +1 -1
  19. package/dist/index132.js +2 -2
  20. package/dist/index133.js +2 -2
  21. package/dist/index15.js +4 -4
  22. package/dist/index17.js +3 -3
  23. package/dist/index19.js +7 -7
  24. package/dist/index205.js +2 -115
  25. package/dist/index206.js +115 -2
  26. package/dist/index208.js +1 -1
  27. package/dist/index209.js +2 -53
  28. package/dist/index21.js +13 -13
  29. package/dist/index210.js +6 -0
  30. package/dist/index211.js +2 -13
  31. package/dist/index212.js +53 -3
  32. package/dist/index214.js +13 -6
  33. package/dist/index215.js +20 -7
  34. package/dist/index216.js +4 -12
  35. package/dist/index217.js +2 -2
  36. package/dist/index218.js +126 -2
  37. package/dist/index219.js +5 -4
  38. package/dist/index220.js +125 -2
  39. package/dist/index221.js +16 -3
  40. package/dist/index222.js +15 -19
  41. package/dist/index223.js +19 -4
  42. package/dist/index224.js +14 -280
  43. package/dist/index225.js +2 -16
  44. package/dist/index226.js +2 -16
  45. package/dist/index227.js +40 -18
  46. package/dist/index228.js +6 -15
  47. package/dist/index229.js +15 -19
  48. package/dist/index23.js +47 -43
  49. package/dist/index230.js +5 -27
  50. package/dist/index231.js +369 -2
  51. package/dist/index232.js +79 -243
  52. package/dist/index234.js +25 -44
  53. package/dist/index235.js +17 -5
  54. package/dist/index236.js +47 -59
  55. package/dist/index237.js +13 -124
  56. package/dist/index238.js +12 -125
  57. package/dist/index239.js +16 -2
  58. package/dist/index240.js +3 -5
  59. package/dist/index241.js +3 -369
  60. package/dist/index242.js +7 -86
  61. package/dist/index243.js +21 -0
  62. package/dist/index244.js +27 -25
  63. package/dist/index245.js +250 -17
  64. package/dist/index246.js +50 -46
  65. package/dist/index247.js +44 -15
  66. package/dist/index248.js +5 -12
  67. package/dist/index249.js +60 -16
  68. package/dist/index25.js +5 -5
  69. package/dist/index250.js +1 -1
  70. package/dist/index251.js +1 -1
  71. package/dist/index252.js +1 -1
  72. package/dist/index254.js +1 -1
  73. package/dist/index257.js +2 -2
  74. package/dist/index258.js +2 -2
  75. package/dist/index261.js +27 -8
  76. package/dist/index262.js +9 -23
  77. package/dist/index263.js +23 -89
  78. package/dist/index264.js +92 -0
  79. package/dist/index266.js +6 -16
  80. package/dist/index267.js +16 -9
  81. package/dist/index268.js +4 -9
  82. package/dist/index269.js +9 -8
  83. package/dist/index27.js +1 -1
  84. package/dist/index270.js +3 -28
  85. package/dist/index272.js +9 -0
  86. package/dist/index273.js +175 -6
  87. package/dist/index274.js +6 -430
  88. package/dist/index275.js +11 -2
  89. package/dist/index276.js +280 -88
  90. package/dist/index277.js +6 -7
  91. package/dist/index278.js +2 -11
  92. package/dist/index279.js +2 -4
  93. package/dist/index280.js +2 -224
  94. package/dist/index281.js +2 -200
  95. package/dist/index282.js +2 -176
  96. package/dist/index283.js +2 -6
  97. package/dist/index284.js +126 -2
  98. package/dist/index285.js +431 -2
  99. package/dist/index286.js +2 -2
  100. package/dist/index287.js +22 -2
  101. package/dist/index289.js +3 -2
  102. package/dist/index29.js +3 -3
  103. package/dist/index290.js +17 -2
  104. package/dist/index291.js +9 -2
  105. package/dist/index292.js +8 -2
  106. package/dist/index293.js +224 -2
  107. package/dist/index294.js +2 -2
  108. package/dist/index295.js +2 -22
  109. package/dist/index296.js +4 -0
  110. package/dist/index297.js +2 -2
  111. package/dist/index298.js +2 -126
  112. package/dist/index299.js +1 -21
  113. package/dist/index300.js +24 -0
  114. package/dist/index302.js +87 -15
  115. package/dist/index303.js +191 -427
  116. package/dist/index304.js +422 -113
  117. package/dist/index305.js +127 -3
  118. package/dist/index306.js +1 -1
  119. package/dist/index307.js +3 -214
  120. package/dist/index308.js +214 -3
  121. package/dist/index309.js +5 -3
  122. package/dist/index31.js +2 -2
  123. package/dist/index310.js +67 -3
  124. package/dist/index311.js +2 -58
  125. package/dist/index312.js +5 -2
  126. package/dist/index313.js +8 -67
  127. package/dist/index314.js +3 -5
  128. package/dist/index315.js +3 -32
  129. package/dist/index316.js +3 -7
  130. package/dist/index317.js +3 -19
  131. package/dist/index318.js +57 -52
  132. package/dist/index319.js +32 -52
  133. package/dist/index320.js +53 -47
  134. package/dist/index321.js +53 -7
  135. package/dist/index322.js +46 -4
  136. package/dist/index323.js +6 -7
  137. package/dist/index324.js +7 -480
  138. package/dist/index325.js +18 -3
  139. package/dist/index326.js +1 -1
  140. package/dist/index327.js +482 -0
  141. package/dist/index329.js +420 -43
  142. package/dist/index33.js +7 -7
  143. package/dist/index330.js +47 -2
  144. package/dist/index35.js +3 -3
  145. package/dist/index37.js +85 -81
  146. package/dist/index39.js +4 -4
  147. package/dist/index41.js +2 -2
  148. package/dist/index43.js +7 -7
  149. package/dist/index45.js +27 -27
  150. package/dist/index47.js +2 -2
  151. package/dist/index49.js +2 -2
  152. package/dist/index55.js +1 -1
  153. package/dist/index57.js +2 -2
  154. package/dist/index75.js +22 -20
  155. package/dist/index79.js +2 -2
  156. package/dist/index81.js +1 -1
  157. package/dist/index84.js +3 -3
  158. package/dist/index86.js +1 -1
  159. package/dist/index88.js +40 -38
  160. package/dist/index90.js +1 -1
  161. package/dist/style.css +1 -1
  162. package/dist/types/CommonProps.d.ts +4 -0
  163. package/package.json +2 -2
  164. package/dist/index213.js +0 -43
  165. package/dist/index233.js +0 -54
  166. package/dist/index265.js +0 -8
  167. package/dist/index271.js +0 -5
  168. package/dist/index301.js +0 -5
  169. package/dist/index328.js +0 -426
  170. /package/dist/{index288.js → index331.js} +0 -0
package/dist/index249.js CHANGED
@@ -1,18 +1,62 @@
1
- import { isNotNil as n } from "./index134.js";
2
- import { ref as t, onServerPrefetch as u, onBeforeMount as c } from "vue";
3
- const h = ({
4
- fn: i,
5
- onStart: s,
6
- multiple: f,
7
- currentValue: o
8
- }) => {
9
- const a = s || !f && n(o) || f && !!o.length, e = t(!1), l = t(!1), r = async () => {
10
- e.value = !0, await i({ prefill: !0 }), e.value = !1, l.value = !0;
11
- };
12
- return a && (u(r), c(async () => {
13
- l.value || await r();
14
- })), { isPrefilling: e, hasPrefilled: l, prefill: r };
15
- };
1
+ import { defineComponent as g, ref as i, computed as d, onMounted as h, openBlock as u, createElementBlock as m, createElementVNode as y, Fragment as x, renderList as B, createBlock as C, normalizeClass as S, withCtx as T, createTextVNode as E, toDisplayString as w } from "vue";
2
+ import { range as H } from "./index323.js";
3
+ import M from "./index13.js";
4
+ /* empty css */
5
+ const n = 10, l = 3, V = /* @__PURE__ */ g({
6
+ __name: "BaseDatePickerYearSelector",
7
+ props: {
8
+ cursor: {},
9
+ disabled: { type: Boolean }
10
+ },
11
+ emits: ["update:year"],
12
+ setup(p, { emit: _ }) {
13
+ const f = p, b = _, o = i(), r = d(() => f.cursor.year()), c = i(r.value - n * l), s = i(r.value + n * l), v = d(
14
+ () => H(c.value, s.value).map((e) => ({
15
+ text: e,
16
+ key: e,
17
+ selected: e === r.value,
18
+ handler: () => b("update:year", e)
19
+ }))
20
+ ), k = (e) => {
21
+ const t = e.target;
22
+ t.scrollTop <= 100 ? c.value = Math.max(
23
+ c.value - n * l,
24
+ r.value - 200
25
+ ) : t.scrollHeight - t.scrollTop === t.clientHeight && (s.value = Math.min(s.value + n * l, 2101));
26
+ };
27
+ return h(() => {
28
+ if (!o.value) return;
29
+ const e = o.value.querySelector(
30
+ ".content__btn--selected"
31
+ );
32
+ e && (e.parentElement.scrollTop = e.offsetTop - e.parentElement.clientHeight / 2 + 16);
33
+ }), (e, t) => (u(), m("div", {
34
+ ref_key: "container",
35
+ ref: o,
36
+ class: "bb-base-date-picker__button-menu bb-base-date-picker__year-selector scrollbar-border"
37
+ }, [
38
+ y("div", {
39
+ class: "content",
40
+ onScrollPassive: k
41
+ }, [
42
+ (u(!0), m(x, null, B(v.value, (a) => (u(), C(M, {
43
+ key: a.key,
44
+ class: S({
45
+ content__btn: !0,
46
+ "content__btn--selected": a.selected
47
+ }),
48
+ disabled: e.disabled,
49
+ onClick: a.handler
50
+ }, {
51
+ default: T(() => [
52
+ E(w(a.text), 1)
53
+ ]),
54
+ _: 2
55
+ }, 1032, ["class", "disabled", "onClick"]))), 128))
56
+ ], 32)
57
+ ], 512));
58
+ }
59
+ });
16
60
  export {
17
- h as usePrefill
61
+ V as default
18
62
  };
package/dist/index25.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as ne, ref as o, computed as u, getCurrentInstance as re, nextTick as N, useAttrs as ue, onMounted as de, onBeforeUnmount as G, watch as ce, openBlock as _, createBlock as ve, withCtx as fe, createElementVNode as a, mergeProps as P, createElementBlock as $, renderSlot as d, createTextVNode as be, toDisplayString as K, createCommentVNode as z } from "vue";
2
- import { throttle as pe } from "./index212.js";
3
- import { useFocusTrap as me } from "./index213.js";
2
+ import { throttle as pe } from "./index241.js";
3
+ import { useFocusTrap as me } from "./index227.js";
4
4
  import { useId as U } from "./index8.js";
5
5
  import { wait as H } from "./index130.js";
6
- import { waitFor as ge } from "./index214.js";
7
- import { useModalsState as C } from "./index215.js";
6
+ import { waitFor as ge } from "./index228.js";
7
+ import { useModalsState as C } from "./index242.js";
8
8
  import { useLogger as ye } from "./index207.js";
9
9
  import { useMobile as he } from "./index9.js";
10
- import we from "./index216.js";
10
+ import we from "./index229.js";
11
11
  import { useLocale as ke } from "./index217.js";
12
12
  const _e = { class: "bb-base-dialog-close" }, Ce = ["aria-label"], Se = /* @__PURE__ */ ne({
13
13
  __name: "BaseDialog",
package/dist/index250.js CHANGED
@@ -1,4 +1,4 @@
1
- import f from "./index307.js";
1
+ import f from "./index308.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/index251.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isNil as c } from "./index257.js";
1
+ import { isNil as c } from "./index258.js";
2
2
  const a = (t, r) => {
3
3
  if (!Object.prototype.hasOwnProperty.call(t, r))
4
4
  throw new Error(
package/dist/index252.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as y, ref as F, computed as H, watch as N, openBlock as p, createElementBlock as L, Fragment as S, renderList as V, createBlock as A, normalizeClass as O, withModifiers as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
2
2
  import { hash as d } from "./index208.js";
3
- import { isNil as l } from "./index257.js";
3
+ import { isNil as l } from "./index258.js";
4
4
  import E from "./index125.js";
5
5
  /* empty css */
6
6
  const K = /* @__PURE__ */ y({
package/dist/index254.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as F, ref as H, computed as L, watch as N, openBlock as d, createElementBlock as v, Fragment as S, renderList as A, normalizeClass as O, withModifiers as P, toDisplayString as V } from "vue";
2
2
  import { hash as f } from "./index208.js";
3
- import { isNil as i } from "./index257.js";
3
+ import { isNil as i } from "./index258.js";
4
4
  const z = ["text", "onClick:clear"], j = /* @__PURE__ */ F({
5
5
  __name: "CommaBox",
6
6
  props: {
package/dist/index257.js CHANGED
@@ -1,4 +1,4 @@
1
- const r = (e) => typeof e > "u" || e === null;
1
+ const o = (e) => e[0];
2
2
  export {
3
- r as isNil
3
+ o as head
4
4
  };
package/dist/index258.js CHANGED
@@ -1,4 +1,4 @@
1
- const o = (e) => e[0];
1
+ const r = (e) => typeof e > "u" || e === null;
2
2
  export {
3
- o as head
3
+ r as isNil
4
4
  };
package/dist/index261.js CHANGED
@@ -1,11 +1,30 @@
1
- const o = (n, t) => {
2
- for (let e = n.length - 1; e >= 0; e--) {
3
- const i = n[e];
4
- if (t(i, e, n))
5
- return e;
1
+ function y(t, r) {
2
+ return t > r ? 1 : -1;
3
+ }
4
+ function c(t, r) {
5
+ var n = 5381;
6
+ if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
7
+ r || (r = /* @__PURE__ */ new WeakSet());
8
+ for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
9
+ var s = p[i], e = t[s];
10
+ if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
11
+ if (r.has(e)) continue;
12
+ r.add(e);
13
+ }
14
+ n = 33 * n ^ c(e, r);
15
+ }
16
+ return 33 * n ^ c(t.constructor, r);
6
17
  }
7
- return -1;
8
- };
18
+ var o = typeof t;
19
+ try {
20
+ t instanceof Date ? o += t.getTime() : o += String(t);
21
+ } catch {
22
+ o += String(Object.assign({}, t));
23
+ }
24
+ for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
25
+ return n;
26
+ }
9
27
  export {
10
- o as findRightIndex
28
+ c as hash,
29
+ y as sortNumbers
11
30
  };
package/dist/index262.js CHANGED
@@ -1,25 +1,11 @@
1
- const e = {
2
- inert: ":not([inert]):not([inert] *)",
3
- negTabIndex: ':not([tabindex^="-"])',
4
- disabled: ":not(:disabled)"
5
- }, n = [
6
- `a[href]${e.inert}${e.negTabIndex}`,
7
- `area[href]${e.inert}${e.negTabIndex}`,
8
- `input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
9
- `input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
10
- `select${e.inert}${e.negTabIndex}${e.disabled}`,
11
- `textarea${e.inert}${e.negTabIndex}${e.disabled}`,
12
- `button${e.inert}${e.negTabIndex}${e.disabled}`,
13
- `details${e.inert} > summary:first-of-type${e.negTabIndex}`,
14
- // Discard until Firefox supports `:has()`
15
- // See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
16
- // `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
17
- `iframe${e.inert}${e.negTabIndex}`,
18
- `audio[controls]${e.inert}${e.negTabIndex}`,
19
- `video[controls]${e.inert}${e.negTabIndex}`,
20
- `[contenteditable]${e.inert}${e.negTabIndex}`,
21
- `[tabindex]${e.inert}${e.negTabIndex}`
22
- ];
1
+ const o = (n, t) => {
2
+ for (let e = n.length - 1; e >= 0; e--) {
3
+ const i = n[e];
4
+ if (t(i, e, n))
5
+ return e;
6
+ }
7
+ return -1;
8
+ };
23
9
  export {
24
- n as default
10
+ o as findRightIndex
25
11
  };
package/dist/index263.js CHANGED
@@ -1,91 +1,25 @@
1
- import { defineComponent as h, toRef as y, ref as n, 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 "./index216.js";
3
- import f from "./index324.js";
4
- import { useFloating as D, arrow as E } from "./index237.js";
5
- import { autoUpdate as P, flip as F, offset as S, shift as M } from "./index241.js";
6
- const j = /* @__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
- },
22
- setup(d) {
23
- const e = d, m = y(e, "wrapper"), r = n(), l = n(), i = n(), { floatingStyles: g, placement: w, middlewareData: s } = D(
24
- r,
25
- l,
26
- {
27
- placement: e.placement,
28
- whileElementsMounted: P,
29
- middleware: [
30
- F(),
31
- S(e.offset),
32
- M({ padding: e.padding }),
33
- E({
34
- element: i,
35
- padding: e.arrowPadding
36
- })
37
- ]
38
- }
39
- ), _ = a(() => {
40
- if (s.value.arrow) {
41
- const { x: t, y: u } = s.value.arrow;
42
- return {
43
- style: {
44
- left: `${t}px`,
45
- top: `${u}px`
46
- }
47
- };
48
- }
49
- }), p = a(() => f({}, e.containerAttributes, {
50
- class: {
51
- "bb-floating": !0,
52
- [`bb-floating--${w.value}`]: !0,
53
- [`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
54
- "bb-floating--hidden": !e.open,
55
- "bb-floating--open": e.open
56
- },
57
- style: {
58
- ...g.value,
59
- "--transition-duration": `${e.transitionDuration}ms`
60
- },
61
- tabindex: e.open ? void 0 : -1
62
- })), v = a(() => f({}, e.bubbleAttributes, {}));
63
- return $(
64
- () => e.open,
65
- (t) => {
66
- t && (r.value = m.value);
67
- }
68
- ), (t, u) => (b(), A(C, null, {
69
- default: k(() => [
70
- (b(), x("span", o(p.value, {
71
- key: p.value.id,
72
- ref_key: "content",
73
- ref: l
74
- }), [
75
- c("span", o({
76
- ref_key: "bubblearrow",
77
- ref: i,
78
- class: "bb-floating__arrow"
79
- }, _.value), null, 16),
80
- c("span", o({ class: "bb-floating__bubble" }, v.value), [
81
- B(t.$slots, "default")
82
- ], 16)
83
- ], 16))
84
- ]),
85
- _: 3
86
- }));
87
- }
88
- });
1
+ const e = {
2
+ inert: ":not([inert]):not([inert] *)",
3
+ negTabIndex: ':not([tabindex^="-"])',
4
+ disabled: ":not(:disabled)"
5
+ }, n = [
6
+ `a[href]${e.inert}${e.negTabIndex}`,
7
+ `area[href]${e.inert}${e.negTabIndex}`,
8
+ `input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
9
+ `input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
10
+ `select${e.inert}${e.negTabIndex}${e.disabled}`,
11
+ `textarea${e.inert}${e.negTabIndex}${e.disabled}`,
12
+ `button${e.inert}${e.negTabIndex}${e.disabled}`,
13
+ `details${e.inert} > summary:first-of-type${e.negTabIndex}`,
14
+ // Discard until Firefox supports `:has()`
15
+ // See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
16
+ // `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
17
+ `iframe${e.inert}${e.negTabIndex}`,
18
+ `audio[controls]${e.inert}${e.negTabIndex}`,
19
+ `video[controls]${e.inert}${e.negTabIndex}`,
20
+ `[contenteditable]${e.inert}${e.negTabIndex}`,
21
+ `[tabindex]${e.inert}${e.negTabIndex}`
22
+ ];
89
23
  export {
90
- j as default
24
+ n as default
91
25
  };
@@ -0,0 +1,92 @@
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 "./index229.js";
3
+ import f from "./index327.js";
4
+ import { useFloating as D, arrow as E } from "./index218.js";
5
+ import { autoUpdate as P, flip as F, offset as S, shift as T } from "./index231.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/index266.js CHANGED
@@ -1,18 +1,8 @@
1
- const e = (o, r, f) => o.reduce((t, n) => {
2
- if (t) return t;
3
- if (f(n))
4
- return n;
5
- if (r in n) {
6
- const i = e(
7
- [].concat(n[r]),
8
- r,
9
- f
10
- );
11
- if (i)
12
- return i;
13
- }
14
- return t;
15
- }, null);
1
+ import e from "./index316.js";
2
+ import o from "./index317.js";
3
+ import r from "./index318.js";
4
+ const f = new r(o, e)._freeze();
16
5
  export {
17
- e as findInTree
6
+ r as Mime,
7
+ f as default
18
8
  };
package/dist/index267.js CHANGED
@@ -1,11 +1,18 @@
1
- function u(e, i) {
2
- let t;
3
- return function(...o) {
4
- t !== void 0 && clearTimeout(t), t = setTimeout(() => {
5
- e.apply(this, o);
6
- }, i);
7
- };
8
- }
1
+ const e = (o, r, f) => o.reduce((t, n) => {
2
+ if (t) return t;
3
+ if (f(n))
4
+ return n;
5
+ if (r in n) {
6
+ const i = e(
7
+ [].concat(n[r]),
8
+ r,
9
+ f
10
+ );
11
+ if (i)
12
+ return i;
13
+ }
14
+ return t;
15
+ }, null);
9
16
  export {
10
- u as debounce
17
+ e as findInTree
11
18
  };
package/dist/index268.js CHANGED
@@ -1,11 +1,6 @@
1
- import { get as o } from "./index278.js";
2
- const e = () => ({
3
- getItemValue(n, f) {
4
- if (typeof f > "u") return n;
5
- if (typeof f == "function") return f(n);
6
- if (typeof f == "string") return o(n, f);
7
- }
8
- });
1
+ const e = function(t) {
2
+ return (...n) => n.length >= t.length ? t(...n) : e(t.bind(void 0, ...n));
3
+ };
9
4
  export {
10
- e as useItemValue
5
+ e as curry
11
6
  };
package/dist/index269.js CHANGED
@@ -1,10 +1,11 @@
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
- );
1
+ function u(e, i) {
2
+ let t;
3
+ return function(...o) {
4
+ t !== void 0 && clearTimeout(t), t = setTimeout(() => {
5
+ e.apply(this, o);
6
+ }, i);
7
+ };
8
+ }
8
9
  export {
9
- u as indexBy
10
+ u as debounce
10
11
  };
package/dist/index27.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, computed as n, openBlock as r, createElementBlock as c, normalizeClass as T, createBlock as w, resolveDynamicComponent as B, normalizeProps as o, guardReactiveProps as l, withCtx as b, renderSlot as E, createTextVNode as V, toDisplayString as p, createElementVNode as d, unref as m, createVNode as P, Fragment as D, renderList as I } from "vue";
2
- import { deburr as N } from "./index221.js";
2
+ import { deburr as N } from "./index240.js";
3
3
  import { getAsPercentage as $ } from "./index131.js";
4
4
  import { useId as F } from "./index8.js";
5
5
  import R from "./index126.js";
package/dist/index270.js CHANGED
@@ -1,30 +1,5 @@
1
- function y(t, r) {
2
- return t > r ? 1 : -1;
3
- }
4
- function c(t, r) {
5
- var n = 5381;
6
- if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
7
- r || (r = /* @__PURE__ */ new WeakSet());
8
- for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
9
- var s = p[i], e = t[s];
10
- if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
11
- if (r.has(e)) continue;
12
- r.add(e);
13
- }
14
- n = 33 * n ^ c(e, r);
15
- }
16
- return 33 * n ^ c(t.constructor, r);
17
- }
18
- var o = typeof t;
19
- try {
20
- t instanceof Date ? o += t.getTime() : o += String(t);
21
- } catch {
22
- o += String(Object.assign({}, t));
23
- }
24
- for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
25
- return n;
26
- }
1
+ import o from "./index212.js";
2
+ /* empty css */
27
3
  export {
28
- c as hash,
29
- y as sortNumbers
4
+ o as default
30
5
  };
@@ -0,0 +1,9 @@
1
+ const s = (t, e) => {
2
+ const o = t.__vccOpts || t;
3
+ for (const [r, c] of e)
4
+ o[r] = c;
5
+ return o;
6
+ };
7
+ export {
8
+ s as default
9
+ };