bitboss-ui 2.0.174 → 2.0.176

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 (177) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +1 -1
  2. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +1 -0
  3. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +34 -27
  4. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
  5. package/dist/components/BbDialog/BbDialog.vue.d.ts +8 -3
  6. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
  7. package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
  8. package/dist/index.css +1 -1
  9. package/dist/index106.js +9 -9
  10. package/dist/index111.js +1 -1
  11. package/dist/index113.js +1 -1
  12. package/dist/index121.js +12 -12
  13. package/dist/index129.js +20 -26
  14. package/dist/index13.js +1 -1
  15. package/dist/index131.js +4 -4
  16. package/dist/index133.js +1 -1
  17. package/dist/index136.js +1 -1
  18. package/dist/index137.js +2 -2
  19. package/dist/index138.js +1 -1
  20. package/dist/index139.js +2 -2
  21. package/dist/index15.js +9 -9
  22. package/dist/index17.js +3 -3
  23. package/dist/index19.js +8 -8
  24. package/dist/index207.js +2 -2
  25. package/dist/index208.js +2 -2
  26. package/dist/index209.js +13 -2
  27. package/dist/index21.js +8 -8
  28. package/dist/index210.js +66 -4
  29. package/dist/index212.js +176 -12
  30. package/dist/index213.js +79 -59
  31. package/dist/index215.js +28 -33
  32. package/dist/index216.js +17 -4
  33. package/dist/index217.js +51 -13
  34. package/dist/index218.js +14 -10
  35. package/dist/index219.js +3 -20
  36. package/dist/index220.js +12 -200
  37. package/dist/index221.js +18 -0
  38. package/dist/index222.js +29 -115
  39. package/dist/index223.js +4 -0
  40. package/dist/index224.js +4 -2
  41. package/dist/index225.js +2 -2
  42. package/dist/index226.js +5 -3
  43. package/dist/index227.js +4 -4
  44. package/dist/index228.js +4 -4
  45. package/dist/index229.js +4 -4
  46. package/dist/index23.js +15 -15
  47. package/dist/index230.js +4 -4
  48. package/dist/index231.js +5 -5
  49. package/dist/index232.js +2 -5
  50. package/dist/index233.js +2 -2
  51. package/dist/index234.js +2 -2
  52. package/dist/index235.js +13 -2
  53. package/dist/index236.js +10 -50
  54. package/dist/index237.js +19 -16
  55. package/dist/index238.js +108 -101
  56. package/dist/index240.js +53 -47
  57. package/dist/index242.js +95 -81
  58. package/dist/index244.js +4 -29
  59. package/dist/index245.js +197 -16
  60. package/dist/index247.js +17 -11
  61. package/dist/index248.js +12 -41
  62. package/dist/index25.js +154 -224
  63. package/dist/index250.js +228 -7
  64. package/dist/index251.js +12 -14
  65. package/dist/index252.js +3 -177
  66. package/dist/index253.js +1 -1
  67. package/dist/index254.js +1 -1
  68. package/dist/index256.js +5 -5
  69. package/dist/index260.js +1 -1
  70. package/dist/index261.js +2 -18
  71. package/dist/index262.js +2 -12
  72. package/dist/index263.js +8 -227
  73. package/dist/index264.js +23 -3
  74. package/dist/index265.js +10 -6
  75. package/dist/index266.js +3 -16
  76. package/dist/index267.js +41 -10
  77. package/dist/index268.js +7 -3
  78. package/dist/index269.js +15 -3
  79. package/dist/index27.js +1 -1
  80. package/dist/index270.js +3 -9
  81. package/dist/index271.js +6 -9
  82. package/dist/index272.js +16 -23
  83. package/dist/index273.js +9 -9
  84. package/dist/index274.js +9 -8
  85. package/dist/index275.js +8 -5
  86. package/dist/index276.js +2 -67
  87. package/dist/index277.js +5 -2
  88. package/dist/index278.js +67 -5
  89. package/dist/index279.js +4 -7
  90. package/dist/index280.js +8 -4
  91. package/dist/index283.js +1 -1
  92. package/dist/index284.js +3 -2
  93. package/dist/index285.js +17 -3
  94. package/dist/index286.js +28 -3
  95. package/dist/index287.js +2 -7
  96. package/dist/index288.js +3 -10
  97. package/dist/index289.js +4 -4
  98. package/dist/index29.js +3 -3
  99. package/dist/index290.js +279 -27
  100. package/dist/index291.js +2 -280
  101. package/dist/index292.js +125 -2
  102. package/dist/index293.js +2 -125
  103. package/dist/index294.js +15 -2
  104. package/dist/index295.js +2 -15
  105. package/dist/index296.js +16 -2
  106. package/dist/index297.js +2 -16
  107. package/dist/index298.js +16 -2
  108. package/dist/index299.js +2 -16
  109. package/dist/index300.js +19 -2
  110. package/dist/index301.js +2 -19
  111. package/dist/index302.js +3 -2
  112. package/dist/index303.js +7 -6
  113. package/dist/index304.js +11 -3
  114. package/dist/index306.js +3 -17
  115. package/dist/index307.js +1 -1
  116. package/dist/index308.js +5 -470
  117. package/dist/index309.js +1 -1
  118. package/dist/index31.js +2 -2
  119. package/dist/index310.js +5 -200
  120. package/dist/index321.js +471 -2
  121. package/dist/index322.js +2 -5
  122. package/dist/index323.js +5 -701
  123. package/dist/index324.js +199 -353
  124. package/dist/index325.js +701 -58
  125. package/dist/index326.js +354 -5
  126. package/dist/index327.js +58 -2
  127. package/dist/index328.js +2 -8
  128. package/dist/index329.js +6 -5
  129. package/dist/index33.js +8 -8
  130. package/dist/index330.js +47 -8
  131. package/dist/index332.js +2 -2
  132. package/dist/index333.js +6 -32
  133. package/dist/index334.js +18 -27
  134. package/dist/index335.js +35 -0
  135. package/dist/index336.js +28 -7
  136. package/dist/index338.js +57 -227
  137. package/dist/index339.js +58 -47
  138. package/dist/index340.js +7 -6
  139. package/dist/index341.js +6 -58
  140. package/dist/index342.js +7 -57
  141. package/dist/index343.js +221 -86
  142. package/dist/index344.js +95 -0
  143. package/dist/index345.js +482 -3
  144. package/dist/index348.js +3 -127
  145. package/dist/index349.js +43 -478
  146. package/dist/index35.js +4 -4
  147. package/dist/index350.js +429 -40
  148. package/dist/index351.js +129 -0
  149. package/dist/index37.js +101 -101
  150. package/dist/index39.js +5 -5
  151. package/dist/index41.js +2 -2
  152. package/dist/index43.js +8 -8
  153. package/dist/index45.js +8 -8
  154. package/dist/index47.js +2 -2
  155. package/dist/index49.js +3 -3
  156. package/dist/index53.js +1 -1
  157. package/dist/index55.js +1 -1
  158. package/dist/index57.js +2 -2
  159. package/dist/index61.js +3 -3
  160. package/dist/index67.js +1 -1
  161. package/dist/index73.js +23 -26
  162. package/dist/index77.js +32 -34
  163. package/dist/index79.js +4 -4
  164. package/dist/index81.js +1 -1
  165. package/dist/index83.js +2 -2
  166. package/dist/index85.js +1 -1
  167. package/dist/index87.js +1 -1
  168. package/dist/index90.js +4 -4
  169. package/dist/index92.js +2 -2
  170. package/dist/index94.js +7 -6
  171. package/dist/index96.js +1 -1
  172. package/dist/utilities/functions/parseSize.d.ts +2 -0
  173. package/package.json +1 -1
  174. package/dist/index211.js +0 -4
  175. package/dist/index246.js +0 -17
  176. package/dist/index337.js +0 -21
  177. package/dist/index347.js +0 -438
package/dist/index73.js CHANGED
@@ -1,42 +1,39 @@
1
- import { defineComponent as g, createBlock as i, openBlock as r, unref as e, createSlots as x, withCtx as s, createElementVNode as C, createElementBlock as b, createCommentVNode as a, createVNode as V, toDisplayString as c, createTextVNode as k } from "vue";
1
+ import { defineComponent as v, createBlock as i, openBlock as n, unref as e, normalizeClass as x, createSlots as C, withCtx as s, createElementVNode as V, createElementBlock as b, createCommentVNode as a, createVNode as $, toDisplayString as c, createTextVNode as k } from "vue";
2
2
  import { state as t, processMessage as l } from "./index6.js";
3
- import $ from "./index25.js";
3
+ import z from "./index25.js";
4
4
  /* empty css */
5
5
  import h from "./index113.js";
6
6
  /* empty css */
7
- import v from "./index61.js";
7
+ import B from "./index61.js";
8
8
  /* empty css */
9
- const z = { class: "bb-confirm__content" }, N = {
9
+ const N = { class: "bb-confirm__content" }, w = {
10
10
  key: 0,
11
11
  class: "bb-confirm__spinner"
12
- }, w = {
12
+ }, T = {
13
13
  key: 1,
14
14
  class: "bb-confirm__text"
15
- }, F = /* @__PURE__ */ g({
15
+ }, G = /* @__PURE__ */ v({
16
16
  __name: "BbConfirm",
17
- setup(T) {
18
- const B = (m) => {
17
+ setup(E) {
18
+ const g = (m) => {
19
19
  l(m);
20
20
  };
21
- return (m, n) => {
21
+ return (m, r) => {
22
22
  var u, f, d, _;
23
- return r(), i($, {
23
+ return n(), i(z, {
24
+ class: x(["bb-confirm", `bb-confirm--${((u = e(t).current) == null ? void 0 : u.theme) || "default"}`]),
24
25
  "model-value": e(t).processing,
25
- "overlay-classes": [
26
- "bb-confirm",
27
- `bb-confirm--${((u = e(t).current) == null ? void 0 : u.theme) || "default"}`
28
- ],
29
26
  persistent: e(t).yesBusy || e(t).noBusy || e(t).loading,
30
27
  "show-close": !(e(t).yesBusy || e(t).noBusy || e(t).loading),
31
28
  size: (f = e(t).current) == null ? void 0 : f.size,
32
29
  title: (d = e(t).current) == null ? void 0 : d.title,
33
- "onUpdate:modelValue": B
34
- }, x({
30
+ "onUpdate:modelValue": g
31
+ }, C({
35
32
  default: s(() => [
36
- C("div", z, [
37
- e(t).loading ? (r(), b("div", N, [
38
- V(h, { size: "36" })
39
- ])) : e(t).current ? (r(), b("div", w, c(e(t).current.text), 1)) : a("", !0)
33
+ V("div", N, [
34
+ e(t).loading ? (n(), b("div", w, [
35
+ $(h, { size: "36" })
36
+ ])) : e(t).current ? (n(), b("div", T, c(e(t).current.text), 1)) : a("", !0)
40
37
  ])
41
38
  ]),
42
39
  _: 2
@@ -46,12 +43,12 @@ const z = { class: "bb-confirm__content" }, N = {
46
43
  fn: s(() => {
47
44
  var p, y;
48
45
  return [
49
- ((p = e(t).current) == null ? void 0 : p.no) !== !1 ? (r(), i(v, {
46
+ ((p = e(t).current) == null ? void 0 : p.no) !== !1 ? (n(), i(B, {
50
47
  key: 0,
51
48
  "auto-loading": "",
52
49
  class: "bb-confirm__no",
53
50
  inert: e(t).yesBusy,
54
- onClick: n[0] || (n[0] = (o) => e(l)(!1))
51
+ onClick: r[0] || (r[0] = (o) => e(l)(!1))
55
52
  }, {
56
53
  default: s(() => {
57
54
  var o;
@@ -61,12 +58,12 @@ const z = { class: "bb-confirm__content" }, N = {
61
58
  }),
62
59
  _: 1
63
60
  }, 8, ["inert"])) : a("", !0),
64
- ((y = e(t).current) == null ? void 0 : y.yes) !== !1 ? (r(), i(v, {
61
+ ((y = e(t).current) == null ? void 0 : y.yes) !== !1 ? (n(), i(B, {
65
62
  key: 1,
66
63
  "auto-loading": "",
67
64
  class: "bb-confirm__yes",
68
65
  inert: e(t).noBusy,
69
- onClick: n[1] || (n[1] = (o) => e(l)(!0))
66
+ onClick: r[1] || (r[1] = (o) => e(l)(!0))
70
67
  }, {
71
68
  default: s(() => {
72
69
  var o;
@@ -80,10 +77,10 @@ const z = { class: "bb-confirm__content" }, N = {
80
77
  }),
81
78
  key: "0"
82
79
  } : void 0
83
- ]), 1032, ["model-value", "overlay-classes", "persistent", "show-close", "size", "title"]);
80
+ ]), 1032, ["class", "model-value", "persistent", "show-close", "size", "title"]);
84
81
  };
85
82
  }
86
83
  });
87
84
  export {
88
- F as default
85
+ G as default
89
86
  };
package/dist/index77.js CHANGED
@@ -1,60 +1,58 @@
1
- import { defineComponent as d, computed as u, createBlock as m, openBlock as f, mergeProps as y, withCtx as l, renderSlot as t, normalizeProps as a, guardReactiveProps as r } from "vue";
2
- import $ from "./index25.js";
1
+ import { defineComponent as m, mergeModels as i, useModel as u, createBlock as f, openBlock as B, mergeProps as $, withCtx as t, renderSlot as s, normalizeProps as a, guardReactiveProps as n } from "vue";
2
+ import y from "./index25.js";
3
3
  /* empty css */
4
- const g = /* @__PURE__ */ d({
4
+ const C = /* @__PURE__ */ m({
5
5
  __name: "BbDialog",
6
- props: {
6
+ props: /* @__PURE__ */ i({
7
7
  closeLabel: {},
8
8
  compact: { type: Boolean },
9
9
  disabled: { type: Boolean },
10
10
  eager: { type: Boolean },
11
- panelClasses: {},
12
- overlayClasses: {},
13
11
  persistent: { type: Boolean },
14
12
  showClose: { type: Boolean, default: !0 },
15
13
  title: {},
16
- transition: {},
17
14
  transitionDuration: {},
18
15
  size: {},
19
16
  description: {},
20
17
  focusTarget: {},
21
18
  fullscreen: { type: [Boolean, String] },
22
- modelValue: { type: [Boolean, null] }
23
- },
24
- emits: ["shown", "hidden", "update:modelValue"],
25
- setup(i) {
26
- const n = i, p = u(() => {
27
- let e = ["bb-dialog"];
28
- return n.overlayClasses && (e = e.concat(n.overlayClasses)), e;
29
- });
30
- return (e, s) => (f(), m($, y(e.$props, {
31
- "overlay-classes": p.value,
32
- onHidden: s[0] || (s[0] = () => e.$emit("hidden")),
33
- onShown: s[1] || (s[1] = () => e.$emit("shown")),
34
- "onUpdate:modelValue": s[2] || (s[2] = (o) => e.$emit("update:modelValue", o))
19
+ panelClasses: {},
20
+ overlayClasses: {}
21
+ }, {
22
+ modelValue: { type: Boolean, default: !1 },
23
+ modelModifiers: {}
24
+ }),
25
+ emits: /* @__PURE__ */ i(["shown", "hidden"], ["update:modelValue"]),
26
+ setup(r) {
27
+ const p = r, d = u(r, "modelValue");
28
+ return (o, l) => (B(), f(y, $(p, {
29
+ modelValue: d.value,
30
+ "onUpdate:modelValue": l[0] || (l[0] = (e) => d.value = e),
31
+ onHidden: l[1] || (l[1] = () => o.$emit("hidden")),
32
+ onShown: l[2] || (l[2] = () => o.$emit("shown"))
35
33
  }), {
36
- close: l((o) => [
37
- t(e.$slots, "close", a(r(o)))
34
+ close: t((e) => [
35
+ s(o.$slots, "close", a(n(e)))
38
36
  ]),
39
- default: l((o) => [
40
- t(e.$slots, "default", a(r(o)))
37
+ default: t((e) => [
38
+ s(o.$slots, "default", a(n(e)))
41
39
  ]),
42
- description: l((o) => [
43
- t(e.$slots, "description", a(r(o)))
40
+ description: t((e) => [
41
+ s(o.$slots, "description", a(n(e)))
44
42
  ]),
45
- footer: l((o) => [
46
- t(e.$slots, "footer", a(r(o)))
43
+ footer: t((e) => [
44
+ s(o.$slots, "footer", a(n(e)))
47
45
  ]),
48
- header: l((o) => [
49
- t(e.$slots, "header", a(r(o)))
46
+ header: t((e) => [
47
+ s(o.$slots, "header", a(n(e)))
50
48
  ]),
51
- title: l((o) => [
52
- t(e.$slots, "title", a(r(o)))
49
+ title: t((e) => [
50
+ s(o.$slots, "title", a(n(e)))
53
51
  ]),
54
52
  _: 3
55
- }, 16, ["overlay-classes"]));
53
+ }, 16, ["modelValue"]));
56
54
  }
57
55
  });
58
56
  export {
59
- g as default
57
+ C as default
60
58
  };
package/dist/index79.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as N, computed as R, ref as g, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as T, createElementVNode as I, normalizeStyle as J, renderSlot as m, createElementBlock as q, Fragment as F, renderList as Q, createVNode as X, mergeProps as Y, createCommentVNode as A, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
2
- import { findRightIndex as D } from "./index271.js";
2
+ import { findRightIndex as D } from "./index263.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index218.js";
4
+ import { useUntil as ne } from "./index236.js";
5
5
  import { wait as oe } from "./index135.js";
6
6
  import ae from "./index13.js";
7
7
  /* empty css */
8
8
  import B from "./index85.js";
9
9
  /* empty css */
10
- import le from "./index222.js";
10
+ import le from "./index238.js";
11
11
  /* empty css */
12
- import K from "./index272.js";
12
+ import K from "./index264.js";
13
13
  const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, ge = /* @__PURE__ */ N({
14
14
  __name: "BbDropdown",
15
15
  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 "./index217.js";
12
+ import { useLocale as M } from "./index235.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 "./index266.js";
2
+ import { findInTree as ae } from "./index272.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("./index265.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/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 "./index209.js";
2
+ import { isCssColor as I } from "./index223.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 "./index269.js";
2
+ import { throttle as c } from "./index270.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 "./index248.js";
2
+ import { useFocusTrap as be } from "./index267.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 "./index250.js";
6
- import me from "./index251.js";
5
+ import { useModalsState as b } from "./index268.js";
6
+ import me from "./index269.js";
7
7
  import { useMobile as ye } from "./index9.js";
8
- import { useLocale as he } from "./index217.js";
8
+ import { useLocale as he } from "./index235.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 "./index270.js";
7
- import { useLocale as H } from "./index217.js";
6
+ import { debounce as X } from "./index273.js";
7
+ import { useLocale as H } from "./index235.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,11 +1,11 @@
1
1
  import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as i, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
2
2
  import { useId as H } from "./index8.js";
3
3
  import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index217.js";
5
- import { useUntil as W } from "./index218.js";
4
+ import { useLocale as U } from "./index235.js";
5
+ import { useUntil as W } from "./index236.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index222.js";
8
+ import A from "./index238.js";
9
9
  /* empty css */
10
10
  const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
11
11
  __name: "BbPopover",
@@ -37,9 +37,10 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
37
37
  );
38
38
  const o = m(!1), u = W(o), b = (e) => {
39
39
  var a;
40
- e.target instanceof HTMLElement && ((a = c.value) != null && a.contains(e.target) || s());
40
+ if (e.target instanceof HTMLElement && !((a = c.value) != null && a.contains(e.target)))
41
+ return s();
41
42
  }, T = async () => {
42
- o.value = !0, document.addEventListener("click", b);
43
+ o.value = !0, document.addEventListener("click", b, { passive: !0 });
43
44
  }, s = async () => {
44
45
  o.value = !1, document.removeEventListener("click", b);
45
46
  }, w = async (e) => {
@@ -83,11 +84,11 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
83
84
  width: E.value
84
85
  }
85
86
  },
87
+ dialog: "",
86
88
  offset: e.offset,
87
89
  padding: e.padding,
88
90
  placement: e.placement,
89
91
  "render-content": i(u),
90
- tag: "dialog",
91
92
  "transition-duration": e.transitionDuration
92
93
  }, {
93
94
  activator: v(() => [
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 "./index207.js";
2
+ import { clamp as p } from "./index208.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
@@ -0,0 +1,2 @@
1
+ import { Sizes } from '../../components/BaseDialog/BaseDialog.vue';
2
+ export declare const parseSize: (size: string | number, sizes: Sizes) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.174",
3
+ "version": "2.0.176",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index211.js DELETED
@@ -1,4 +0,0 @@
1
- const o = (e) => typeof e == "boolean" ? e : e === "true";
2
- export {
3
- o as booleanishToBoolean
4
- };
package/dist/index246.js DELETED
@@ -1,17 +0,0 @@
1
- import { isNil as f } from "./index225.js";
2
- import { computed as t, unref as o } from "vue";
3
- const a = ({ modelValue: e, iteratee: h, multiple: u }) => {
4
- const i = t(
5
- () => new Array().concat(o(e))
6
- ), s = t(() => i.value.reduce(
7
- (r, n) => (h(n) ? r.coherent.push(n) : r.incoherent.push(n), r),
8
- { coherent: [], incoherent: [] }
9
- )), c = t(() => u && !o(e).length || !u && f(o(e)) ? !0 : !s.value.incoherent.length);
10
- return {
11
- status: s,
12
- coherent: c
13
- };
14
- };
15
- export {
16
- a as useCoherence
17
- };
package/dist/index337.js DELETED
@@ -1,21 +0,0 @@
1
- function l(t, ...e) {
2
- if (t.length) {
3
- const o = t[0];
4
- if (typeof o == "string") return [...t].sort(r);
5
- if (typeof o == "number") return [...t].sort(r);
6
- if (e && e.length)
7
- return [...t].sort((f, u) => {
8
- for (let n = 0; n < e.length; n++) {
9
- const i = e[n], s = r(f[i], u[i]);
10
- if (s) return s;
11
- }
12
- return 0;
13
- });
14
- throw new Error("Invalid comparison");
15
- }
16
- return t;
17
- }
18
- const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
19
- export {
20
- l as sort
21
- };