bitboss-ui 2.0.170 → 2.0.171

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 (188) hide show
  1. package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
  2. package/dist/index106.js +9 -9
  3. package/dist/index111.js +1 -1
  4. package/dist/index113.js +1 -1
  5. package/dist/index121.js +12 -12
  6. package/dist/index129.js +2 -2
  7. package/dist/index13.js +1 -1
  8. package/dist/index131.js +3 -3
  9. package/dist/index133.js +1 -1
  10. package/dist/index136.js +1 -1
  11. package/dist/index138.js +1 -1
  12. package/dist/index15.js +8 -8
  13. package/dist/index17.js +3 -3
  14. package/dist/index19.js +8 -8
  15. package/dist/index207.js +2 -2
  16. package/dist/index208.js +2 -2
  17. package/dist/index209.js +2 -5
  18. package/dist/index21.js +16 -16
  19. package/dist/index210.js +4 -5
  20. package/dist/index211.js +2 -5
  21. package/dist/index212.js +18 -5
  22. package/dist/index213.js +128 -5
  23. package/dist/index214.js +106 -5
  24. package/dist/index216.js +100 -3
  25. package/dist/index218.js +64 -6
  26. package/dist/index220.js +13 -52
  27. package/dist/index221.js +5 -43
  28. package/dist/index222.js +15 -5
  29. package/dist/index223.js +29 -60
  30. package/dist/index224.js +16 -13
  31. package/dist/index225.js +12 -2
  32. package/dist/index226.js +51 -4
  33. package/dist/index227.js +17 -2
  34. package/dist/index228.js +15 -34
  35. package/dist/index229.js +3 -2
  36. package/dist/index23.js +17 -17
  37. package/dist/index230.js +12 -2
  38. package/dist/index231.js +12 -85
  39. package/dist/index232.js +4 -0
  40. package/dist/index233.js +227 -28
  41. package/dist/index234.js +363 -12
  42. package/dist/index235.js +2 -51
  43. package/dist/index236.js +5 -15
  44. package/dist/index237.js +5 -12
  45. package/dist/index238.js +5 -16
  46. package/dist/index239.js +5 -3
  47. package/dist/index240.js +5 -4
  48. package/dist/index241.js +5 -41
  49. package/dist/index242.js +5 -20
  50. package/dist/index243.js +6 -92
  51. package/dist/{index219.js → index244.js} +6 -6
  52. package/dist/index245.js +41 -189
  53. package/dist/index246.js +46 -0
  54. package/dist/index247.js +4 -65
  55. package/dist/index248.js +62 -0
  56. package/dist/index249.js +5 -13
  57. package/dist/index25.js +5 -5
  58. package/dist/index250.js +2 -6
  59. package/dist/index251.js +41 -7
  60. package/dist/index252.js +19 -14
  61. package/dist/index253.js +93 -17
  62. package/dist/index255.js +9 -106
  63. package/dist/index256.js +6 -0
  64. package/dist/index257.js +194 -94
  65. package/dist/index259.js +7 -12
  66. package/dist/index260.js +86 -2
  67. package/dist/index262.js +33 -367
  68. package/dist/index263.js +2 -2
  69. package/dist/index264.js +2 -5
  70. package/dist/index265.js +3 -9
  71. package/dist/index267.js +9 -8
  72. package/dist/index268.js +2 -10
  73. package/dist/index269.js +6 -101
  74. package/dist/index27.js +1 -1
  75. package/dist/index270.js +18 -0
  76. package/dist/index271.js +11 -23
  77. package/dist/index272.js +101 -10
  78. package/dist/index274.js +3 -6
  79. package/dist/index275.js +8 -15
  80. package/dist/index276.js +23 -3
  81. package/dist/index277.js +2 -9
  82. package/dist/index278.js +9 -8
  83. package/dist/index279.js +8 -2
  84. package/dist/index280.js +5 -67
  85. package/dist/index281.js +67 -5
  86. package/dist/index282.js +1 -1
  87. package/dist/index283.js +1 -1
  88. package/dist/index284.js +4 -280
  89. package/dist/index285.js +4 -2
  90. package/dist/index286.js +128 -15
  91. package/dist/index287.js +3 -2
  92. package/dist/index288.js +3 -16
  93. package/dist/index289.js +3 -2
  94. package/dist/index29.js +3 -3
  95. package/dist/index291.js +7 -2
  96. package/dist/index292.js +2 -15
  97. package/dist/index293.js +2 -2
  98. package/dist/index294.js +17 -19
  99. package/dist/index295.js +28 -2
  100. package/dist/index296.js +7 -27
  101. package/dist/index297.js +11 -2
  102. package/dist/index298.js +280 -2
  103. package/dist/index299.js +2 -2
  104. package/dist/index300.js +16 -2
  105. package/dist/index301.js +2 -2
  106. package/dist/index302.js +15 -27
  107. package/dist/index303.js +2 -22
  108. package/dist/{index290.js → index304.js} +2 -2
  109. package/dist/index305.js +2 -7
  110. package/dist/index306.js +15 -7
  111. package/dist/index307.js +2 -11
  112. package/dist/index308.js +19 -4
  113. package/dist/index309.js +2 -2
  114. package/dist/index31.js +2 -2
  115. package/dist/index310.js +26 -5
  116. package/dist/index311.js +2 -4
  117. package/dist/index312.js +2 -3
  118. package/dist/index313.js +2 -17
  119. package/dist/index314.js +2 -5
  120. package/dist/index315.js +2 -471
  121. package/dist/index316.js +22 -3
  122. package/dist/index318.js +125 -3
  123. package/dist/index319.js +4 -0
  124. package/dist/index320.js +457 -186
  125. package/dist/index321.js +3 -2
  126. package/dist/index322.js +3 -129
  127. package/dist/index323.js +382 -3
  128. package/dist/index324.js +126 -3
  129. package/dist/index325.js +1 -1
  130. package/dist/index326.js +3 -382
  131. package/dist/index327.js +5 -125
  132. package/dist/index328.js +196 -121
  133. package/dist/index329.js +5 -2
  134. package/dist/index33.js +8 -8
  135. package/dist/index330.js +701 -3
  136. package/dist/index331.js +354 -5
  137. package/dist/index332.js +58 -701
  138. package/dist/index333.js +3 -354
  139. package/dist/index334.js +5 -58
  140. package/dist/index335.js +47 -2
  141. package/dist/index336.js +2 -7
  142. package/dist/index337.js +32 -18
  143. package/dist/index338.js +28 -7
  144. package/dist/index340.js +57 -27
  145. package/dist/index341.js +60 -0
  146. package/dist/index342.js +6 -227
  147. package/dist/index343.js +8 -58
  148. package/dist/index344.js +6 -58
  149. package/dist/index345.js +8 -8
  150. package/dist/index346.js +5 -6
  151. package/dist/index347.js +7 -8
  152. package/dist/index348.js +19 -5
  153. package/dist/index349.js +227 -46
  154. package/dist/index35.js +4 -4
  155. package/dist/index350.js +1 -1
  156. package/dist/index351.js +484 -0
  157. package/dist/index353.js +3 -482
  158. package/dist/index355.js +1 -1
  159. package/dist/index37.js +22 -22
  160. package/dist/index39.js +5 -5
  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 +2 -2
  166. package/dist/index53.js +1 -1
  167. package/dist/index55.js +1 -1
  168. package/dist/index57.js +2 -2
  169. package/dist/index61.js +3 -3
  170. package/dist/index67.js +1 -1
  171. package/dist/index79.js +4 -4
  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 +4 -4
  177. package/dist/index92.js +2 -2
  178. package/dist/index94.js +41 -40
  179. package/dist/index96.js +1 -1
  180. package/package.json +1 -1
  181. package/dist/index215.js +0 -7
  182. package/dist/index217.js +0 -4
  183. package/dist/index254.js +0 -130
  184. package/dist/index261.js +0 -230
  185. package/dist/index273.js +0 -5
  186. package/dist/index317.js +0 -5
  187. package/dist/index339.js +0 -35
  188. package/dist/index352.js +0 -5
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as l } from "./index225.js";
3
- import { isNil as B } from "./index230.js";
2
+ import { isCssColor as l } from "./index209.js";
3
+ import { isNil as B } from "./index264.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
7
7
  /* empty css */
8
8
  import T from "./index113.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index272.js";
11
- import { noop as w } from "./index273.js";
12
- import { useLocale as D } from "./index224.js";
10
+ import { pickBy as W } from "./index267.js";
11
+ import { noop as w } from "./index268.js";
12
+ import { useLocale as D } from "./index231.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 "./index224.js";
2
+ import { useLocale as f } from "./index231.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
1
  import { defineComponent as U, computed as V, ref as g, createBlock as L, openBlock as b, normalizeClass as R, withCtx as T, createElementBlock as D, createCommentVNode as _, unref as p, normalizeStyle as W, renderSlot as v, Fragment as F, renderList as G, createVNode as J, mergeProps as Q, createElementVNode as X, toDisplayString as Y, normalizeProps as Z, guardReactiveProps as x } from "vue";
2
- import { findRightIndex as H } from "./index267.js";
2
+ import { findRightIndex as H } from "./index275.js";
3
3
  import { useId as ee } from "./index8.js";
4
4
  import { useIntersectionObserver as te } from "./index137.js";
5
- import { useUntil as oe } from "./index268.js";
5
+ import { useUntil as oe } from "./index271.js";
6
6
  import { wait as ne } from "./index135.js";
7
7
  import ae from "./index13.js";
8
8
  /* empty css */
9
9
  import A from "./index85.js";
10
10
  /* empty css */
11
- import le from "./index269.js";
11
+ import le from "./index272.js";
12
12
  /* empty css */
13
- import B from "./index271.js";
13
+ import B from "./index276.js";
14
14
  const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ U({
15
15
  __name: "BbDropdown",
16
16
  props: {
package/dist/index81.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
9
9
  /* empty css */
10
10
  import I from "./index113.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index224.js";
12
+ import { useLocale as M } from "./index231.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 "./index275.js";
2
+ import { findInTree as ae } from "./index270.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("./index274.js")).default);
56
+ b || (b = (await import("./index269.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 "./index225.js";
2
+ import { isCssColor as I } from "./index209.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 "./index276.js";
2
+ import { throttle as c } from "./index274.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index90.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, onBeforeUnmount as A, onMounted as re, watch as ue, createBlock as ce, openBlock as g, withCtx as de, createElementVNode as s, mergeProps as E, createElementBlock as $, createCommentVNode as T, renderSlot as n, createTextVNode as fe, toDisplayString as H, unref as ve, nextTick as pe } from "vue";
2
- import { useFocusTrap as be } from "./index241.js";
2
+ import { useFocusTrap as be } from "./index251.js";
3
3
  import { useId as I } from "./index8.js";
4
4
  import { wait as D } from "./index135.js";
5
- import { useModalsState as b } from "./index251.js";
6
- import me from "./index252.js";
5
+ import { useModalsState as b } from "./index259.js";
6
+ import me from "./index222.js";
7
7
  import { useMobile as ye } from "./index9.js";
8
- import { useLocale as he } from "./index224.js";
8
+ import { useLocale as he } from "./index231.js";
9
9
  const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
10
10
  __name: "BbOffCanvas",
11
11
  props: {
package/dist/index92.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
3
3
  /* empty css */
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index265.js";
7
- import { useLocale as H } from "./index224.js";
6
+ import { debounce as X } from "./index255.js";
7
+ import { useLocale as H } from "./index231.js";
8
8
  import { useRoute as J } from "./index142.js";
9
9
  const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
10
10
  __name: "BbPagination",
package/dist/index94.js CHANGED
@@ -1,13 +1,13 @@
1
- import { defineComponent as V, ref as c, computed as w, createBlock as h, openBlock as u, normalizeClass as D, withCtx as f, createElementBlock as M, createCommentVNode as g, unref as k, renderSlot as y, createElementVNode as m, toDisplayString as z, normalizeProps as O, guardReactiveProps as S, nextTick as H } from "vue";
2
- import { useId as I } from "./index8.js";
3
- import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index224.js";
5
- import { useUntil as W } from "./index268.js";
6
- import q from "./index13.js";
1
+ import { defineComponent as D, ref as c, computed as h, createBlock as g, openBlock as u, normalizeClass as M, withCtx as f, createElementBlock as z, createCommentVNode as k, unref as y, renderSlot as C, createElementVNode as m, toDisplayString as I, normalizeProps as O, guardReactiveProps as S, nextTick as H } from "vue";
2
+ import { useId as N } from "./index8.js";
3
+ import { useIntersectionObserver as U } from "./index137.js";
4
+ import { useLocale as W } from "./index231.js";
5
+ import { useUntil as q } from "./index271.js";
6
+ import A from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index269.js";
8
+ import R from "./index272.js";
9
9
  /* empty css */
10
- const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
10
+ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @__PURE__ */ D({
11
11
  __name: "BbPopover",
12
12
  props: {
13
13
  arrowPadding: { default: 10 },
@@ -26,60 +26,61 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
26
26
  width: {}
27
27
  },
28
28
  emits: ["shown", "hidden"],
29
- setup(C, { expose: $, emit: L }) {
30
- const a = C, n = L, { t: _ } = U(), { id: B } = I(), i = `bbp_${B.value}`, r = c(), d = c();
31
- N(
29
+ setup($, { expose: L, emit: _ }) {
30
+ const t = $, n = _, { t: B } = W(), { id: P } = N(), i = `bbp_${P.value}`, r = c(), d = c();
31
+ U(
32
32
  r,
33
33
  async ([{ intersectionRatio: e }]) => {
34
34
  e !== 1 && o.value && (await l(), n("hidden"));
35
35
  },
36
36
  { threshold: [0, 1] }
37
37
  );
38
- const o = c(!1), T = W(o), v = (e) => {
39
- var t;
40
- e.target instanceof HTMLElement && ((t = d.value) != null && t.contains(e.target) || l());
41
- }, P = async () => {
38
+ const o = c(!1), T = q(o), v = (e) => {
39
+ var a;
40
+ e.target instanceof HTMLElement && ((a = d.value) != null && a.contains(e.target) || l());
41
+ }, E = async () => {
42
42
  o.value = !0, document.addEventListener("click", v);
43
43
  }, l = async () => {
44
44
  o.value = !1, document.removeEventListener("click", v);
45
- }, b = async () => {
46
- var s;
45
+ }, b = async (e) => {
46
+ var w;
47
47
  if (o.value) {
48
48
  await l(), n("hidden");
49
49
  return;
50
50
  }
51
- if (a.disabled) return;
52
- await P();
53
- let e = a.focusTarget ?? ".bb-popover__close";
51
+ if (t.disabled)
52
+ return;
53
+ e.stopImmediatePropagation(), await E();
54
+ let a = t.focusTarget ?? ".bb-popover__close";
54
55
  await H();
55
- const t = (s = d.value) == null ? void 0 : s.querySelector(e);
56
- t instanceof HTMLElement && (t.focus(), n("shown"));
56
+ const s = (w = d.value) == null ? void 0 : w.querySelector(a);
57
+ s instanceof HTMLElement && (s.focus(), n("shown"));
57
58
  }, p = async () => {
58
59
  await l(), n("hidden");
59
- }, E = w(() => {
60
- if (a.width) {
60
+ }, V = h(() => {
61
+ if (t.width) {
61
62
  let e;
62
- return typeof a.width == "string" && /^\d+[a-zA-Z%]+$/.test(a.width) ? a.width.includes("%") ? r.value ? `${r.value.$el.clientWidth * (+a.width.replace("%", "") / 100)}px` : void 0 : a.width : (e = `${a.width}px`, `${e}px`);
63
+ return typeof t.width == "string" && /^\d+[a-zA-Z%]+$/.test(t.width) ? t.width.includes("%") ? r.value ? `${r.value.$el.clientWidth * (+t.width.replace("%", "") / 100)}px` : void 0 : t.width : (e = `${t.width}px`, `${e}px`);
63
64
  }
64
65
  });
65
- return $({
66
+ return L({
66
67
  open: b,
67
68
  close: p,
68
- closed: w(() => !o.value)
69
- }), (e, t) => (u(), h(A, {
69
+ closed: h(() => !o.value)
70
+ }), (e, a) => (u(), g(R, {
70
71
  ref_key: "wrapper",
71
72
  ref: r,
72
73
  modelValue: o.value,
73
- "onUpdate:modelValue": t[0] || (t[0] = (s) => o.value = s),
74
+ "onUpdate:modelValue": a[0] || (a[0] = (s) => o.value = s),
74
75
  "arrow-padding": e.arrowPadding,
75
76
  block: e.block,
76
- class: D(["bb-popover", {
77
+ class: M(["bb-popover", {
77
78
  [`bb-popover--${e.theme}`]: !0
78
79
  }]),
79
80
  "container-attributes": {
80
81
  id: `popover_${i}`,
81
82
  style: {
82
- width: E.value
83
+ width: V.value
83
84
  }
84
85
  },
85
86
  offset: e.offset,
@@ -89,7 +90,7 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
89
90
  "transition-duration": e.transitionDuration
90
91
  }, {
91
92
  activator: f(() => [
92
- y(e.$slots, "activator", O(S({
93
+ C(e.$slots, "activator", O(S({
93
94
  props: {
94
95
  "aria-controls": `popover_${i}`,
95
96
  "aria-expanded": o.value,
@@ -103,21 +104,21 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
103
104
  })))
104
105
  ]),
105
106
  default: f(() => [
106
- k(T) ? (u(), M("span", {
107
+ y(T) ? (u(), z("span", {
107
108
  key: 0,
108
109
  ref_key: "content",
109
110
  ref: d,
110
111
  class: "bb-popover__content",
111
112
  inert: !o.value
112
113
  }, [
113
- e.showClose ? (u(), h(q, {
114
+ e.showClose ? (u(), g(A, {
114
115
  key: 0,
115
116
  class: "bb-popover__close",
116
117
  onClick: p
117
118
  }, {
118
119
  default: f(() => [
119
- m("span", Z, z(e.closeLabel || k(_)("common.closeLabel").value), 1),
120
- t[1] || (t[1] = m("svg", {
120
+ m("span", j, I(e.closeLabel || y(B)("common.closeLabel").value), 1),
121
+ a[1] || (a[1] = m("svg", {
121
122
  fill: "none",
122
123
  viewBox: "0 0 24 24",
123
124
  xmlns: "http://www.w3.org/2000/svg"
@@ -131,19 +132,19 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
131
132
  ], -1))
132
133
  ]),
133
134
  _: 1
134
- })) : g("", !0),
135
- y(e.$slots, "default", {
135
+ })) : k("", !0),
136
+ C(e.$slots, "default", {
136
137
  close: p,
137
138
  disabled: !!e.disabled,
138
139
  open: o.value,
139
140
  placement: e.placement
140
141
  })
141
- ], 8, R)) : g("", !0)
142
+ ], 8, Z)) : k("", !0)
142
143
  ]),
143
144
  _: 3
144
145
  }, 8, ["modelValue", "arrow-padding", "block", "class", "container-attributes", "offset", "padding", "placement", "transition-duration"]));
145
146
  }
146
147
  });
147
148
  export {
148
- ee as default
149
+ oe as default
149
150
  };
package/dist/index96.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index208.js";
2
+ import { clamp as p } from "./index207.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.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.170",
3
+ "version": "2.0.171",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index215.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as e } from "./index310.js";
2
- import { __require as r } from "./index296.js";
3
- var o = r();
4
- const f = /* @__PURE__ */ e(o);
5
- export {
6
- f as default
7
- };
package/dist/index217.js DELETED
@@ -1,4 +0,0 @@
1
- const e = (t) => t[t.length - 1];
2
- export {
3
- e as last
4
- };
package/dist/index254.js DELETED
@@ -1,130 +0,0 @@
1
- import { arrow as j, computePosition as A } from "./index262.js";
2
- import { autoUpdate as W, flip as X, offset as Y, platform as Z, shift as ee } from "./index262.js";
3
- import { isNode as B, getNodeName as F } from "./index322.js";
4
- import { getOverflowAncestors as te } from "./index322.js";
5
- import { computed as r, ref as c, shallowRef as I, watch as x, getCurrentScope as U, onScopeDispose as k, shallowReadonly as o, unref as q } from "vue";
6
- function z(e) {
7
- return e != null && typeof e == "object" && "$el" in e;
8
- }
9
- function V(e) {
10
- if (z(e)) {
11
- const l = e.$el;
12
- return B(l) && F(l) === "#comment" ? null : l;
13
- }
14
- return e;
15
- }
16
- function i(e) {
17
- return typeof e == "function" ? e() : q(e);
18
- }
19
- function K(e) {
20
- return {
21
- name: "arrow",
22
- options: e,
23
- fn(l) {
24
- const t = V(i(e.element));
25
- return t == null ? {} : j({
26
- element: t,
27
- padding: e.padding
28
- }).fn(l);
29
- }
30
- };
31
- }
32
- function M(e) {
33
- return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
34
- }
35
- function C(e, l) {
36
- const t = M(e);
37
- return Math.round(l * t) / t;
38
- }
39
- function L(e, l, t) {
40
- t === void 0 && (t = {});
41
- const D = t.whileElementsMounted, s = r(() => {
42
- var n;
43
- return (n = i(t.open)) != null ? n : !0;
44
- }), O = r(() => i(t.middleware)), p = r(() => {
45
- var n;
46
- return (n = i(t.placement)) != null ? n : "bottom";
47
- }), w = r(() => {
48
- var n;
49
- return (n = i(t.strategy)) != null ? n : "absolute";
50
- }), S = r(() => {
51
- var n;
52
- return (n = i(t.transform)) != null ? n : !0;
53
- }), f = r(() => V(e.value)), u = r(() => V(l.value)), y = c(0), h = c(0), m = c(w.value), P = c(p.value), E = I({}), g = c(!1), _ = r(() => {
54
- const n = {
55
- position: m.value,
56
- left: "0",
57
- top: "0"
58
- };
59
- if (!u.value)
60
- return n;
61
- const a = C(u.value, y.value), b = C(u.value, h.value);
62
- return S.value ? {
63
- ...n,
64
- transform: "translate(" + a + "px, " + b + "px)",
65
- ...M(u.value) >= 1.5 && {
66
- willChange: "transform"
67
- }
68
- } : {
69
- position: m.value,
70
- left: a + "px",
71
- top: b + "px"
72
- };
73
- });
74
- let d;
75
- function v() {
76
- if (f.value == null || u.value == null)
77
- return;
78
- const n = s.value;
79
- A(f.value, u.value, {
80
- middleware: O.value,
81
- placement: p.value,
82
- strategy: w.value
83
- }).then((a) => {
84
- y.value = a.x, h.value = a.y, m.value = a.strategy, P.value = a.placement, E.value = a.middlewareData, g.value = n !== !1;
85
- });
86
- }
87
- function R() {
88
- typeof d == "function" && (d(), d = void 0);
89
- }
90
- function N() {
91
- if (R(), D === void 0) {
92
- v();
93
- return;
94
- }
95
- if (f.value != null && u.value != null) {
96
- d = D(f.value, u.value, v);
97
- return;
98
- }
99
- }
100
- function $() {
101
- s.value || (g.value = !1);
102
- }
103
- return x([O, p, w, s], v, {
104
- flush: "sync"
105
- }), x([f, u], N, {
106
- flush: "sync"
107
- }), x(s, $, {
108
- flush: "sync"
109
- }), U() && k(R), {
110
- x: o(y),
111
- y: o(h),
112
- strategy: o(m),
113
- placement: o(P),
114
- middlewareData: o(E),
115
- isPositioned: o(g),
116
- floatingStyles: _,
117
- update: v
118
- };
119
- }
120
- export {
121
- K as arrow,
122
- W as autoUpdate,
123
- A as computePosition,
124
- X as flip,
125
- te as getOverflowAncestors,
126
- Y as offset,
127
- Z as platform,
128
- ee as shift,
129
- L as useFloating
130
- };