bitboss-ui 2.0.168 → 2.0.170

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 (187) hide show
  1. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +10 -10
  2. package/dist/components/BbPopover/BbPopover.vue.d.ts +10 -10
  3. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +8 -8
  4. package/dist/components/CommonPopover.vue.d.ts +6 -6
  5. package/dist/index106.js +7 -7
  6. package/dist/index111.js +1 -1
  7. package/dist/index113.js +1 -1
  8. package/dist/index121.js +10 -10
  9. package/dist/index129.js +1 -1
  10. package/dist/index13.js +1 -1
  11. package/dist/index131.js +37 -37
  12. package/dist/index136.js +1 -1
  13. package/dist/index138.js +1 -1
  14. package/dist/index15.js +8 -8
  15. package/dist/index17.js +3 -3
  16. package/dist/index19.js +8 -8
  17. package/dist/index207.js +2 -2
  18. package/dist/index208.js +2 -2
  19. package/dist/index209.js +5 -66
  20. package/dist/index21.js +16 -16
  21. package/dist/index210.js +7 -0
  22. package/dist/index211.js +5 -13
  23. package/dist/index212.js +5 -177
  24. package/dist/index213.js +5 -2
  25. package/dist/index214.js +5 -4
  26. package/dist/index215.js +5 -2
  27. package/dist/index216.js +3 -41
  28. package/dist/index217.js +2 -6
  29. package/dist/index218.js +8 -7
  30. package/dist/index219.js +246 -11
  31. package/dist/index220.js +51 -12
  32. package/dist/index221.js +44 -4
  33. package/dist/index222.js +5 -20
  34. package/dist/index223.js +56 -90
  35. package/dist/index224.js +15 -0
  36. package/dist/index225.js +2 -200
  37. package/dist/index226.js +6 -0
  38. package/dist/index227.js +2 -86
  39. package/dist/index228.js +36 -0
  40. package/dist/index229.js +2 -29
  41. package/dist/index23.js +17 -17
  42. package/dist/index230.js +2 -17
  43. package/dist/index231.js +86 -51
  44. package/dist/index233.js +29 -3
  45. package/dist/index234.js +16 -11
  46. package/dist/index235.js +48 -13
  47. package/dist/index236.js +15 -2
  48. package/dist/index237.js +11 -17
  49. package/dist/index238.js +15 -127
  50. package/dist/index239.js +3 -106
  51. package/dist/index240.js +6 -0
  52. package/dist/index241.js +41 -100
  53. package/dist/index242.js +22 -0
  54. package/dist/index243.js +94 -12
  55. package/dist/index245.js +191 -219
  56. package/dist/index247.js +63 -31
  57. package/dist/index249.js +13 -2
  58. package/dist/index25.js +5 -5
  59. package/dist/index250.js +6 -2
  60. package/dist/index251.js +7 -5
  61. package/dist/index252.js +15 -5
  62. package/dist/index253.js +18 -5
  63. package/dist/index254.js +128 -5
  64. package/dist/index255.js +106 -5
  65. package/dist/index257.js +100 -9
  66. package/dist/index259.js +12 -5
  67. package/dist/index260.js +2 -5
  68. package/dist/index261.js +226 -6
  69. package/dist/index262.js +365 -247
  70. package/dist/index263.js +2 -52
  71. package/dist/index264.js +5 -44
  72. package/dist/index265.js +9 -5
  73. package/dist/index266.js +176 -59
  74. package/dist/index267.js +8 -9
  75. package/dist/index268.js +10 -2
  76. package/dist/index269.js +100 -8
  77. package/dist/index27.js +1 -1
  78. package/dist/index271.js +23 -101
  79. package/dist/index272.js +12 -0
  80. package/dist/index273.js +3 -23
  81. package/dist/index274.js +6 -3
  82. package/dist/index275.js +16 -6
  83. package/dist/index276.js +3 -16
  84. package/dist/index277.js +1 -1
  85. package/dist/index280.js +1 -1
  86. package/dist/index282.js +1 -1
  87. package/dist/index283.js +1 -1
  88. package/dist/index284.js +280 -4
  89. package/dist/index285.js +2 -3
  90. package/dist/index286.js +18 -0
  91. package/dist/index287.js +2 -7
  92. package/dist/index288.js +15 -3
  93. package/dist/index289.js +2 -471
  94. package/dist/index29.js +3 -3
  95. package/dist/index290.js +19 -2
  96. package/dist/index291.js +2 -7
  97. package/dist/index292.js +14 -10
  98. package/dist/index293.js +2 -3
  99. package/dist/index294.js +19 -3
  100. package/dist/index295.js +2 -3
  101. package/dist/index296.js +27 -17
  102. package/dist/index297.js +2 -28
  103. package/dist/index298.js +1 -1
  104. package/dist/index299.js +2 -200
  105. package/dist/index300.js +2 -129
  106. package/dist/index301.js +2 -3
  107. package/dist/index302.js +28 -3
  108. package/dist/index303.js +21 -1
  109. package/dist/index305.js +6 -125
  110. package/dist/index306.js +7 -280
  111. package/dist/index307.js +11 -2
  112. package/dist/index308.js +4 -125
  113. package/dist/index309.js +2 -2
  114. package/dist/index31.js +2 -2
  115. package/dist/index310.js +5 -15
  116. package/dist/index311.js +4 -2
  117. package/dist/index312.js +3 -16
  118. package/dist/index313.js +17 -2
  119. package/dist/index314.js +5 -19
  120. package/dist/index315.js +471 -2
  121. package/dist/index316.js +3 -15
  122. package/dist/index317.js +3 -2
  123. package/dist/index318.js +3 -5
  124. package/dist/index320.js +199 -18
  125. package/dist/index321.js +2 -2
  126. package/dist/index322.js +128 -26
  127. package/dist/index323.js +3 -2
  128. package/dist/index324.js +3 -2
  129. package/dist/index325.js +1 -1
  130. package/dist/index326.js +382 -2
  131. package/dist/index327.js +126 -2
  132. package/dist/index328.js +125 -22
  133. package/dist/index329.js +4 -0
  134. package/dist/index33.js +8 -8
  135. package/dist/index330.js +3 -5
  136. package/dist/index331.js +5 -3
  137. package/dist/index336.js +7 -5
  138. package/dist/index337.js +18 -6
  139. package/dist/index338.js +5 -17
  140. package/dist/index339.js +32 -227
  141. package/dist/index340.js +28 -47
  142. package/dist/index342.js +227 -57
  143. package/dist/index343.js +33 -33
  144. package/dist/index344.js +58 -8
  145. package/dist/index345.js +7 -5
  146. package/dist/index346.js +6 -8
  147. package/dist/index347.js +7 -32
  148. package/dist/index348.js +5 -28
  149. package/dist/index349.js +49 -0
  150. package/dist/index35.js +4 -4
  151. package/dist/index350.js +1 -1
  152. package/dist/index352.js +5 -0
  153. package/dist/index353.js +482 -3
  154. package/dist/index355.js +1 -1
  155. package/dist/index37.js +22 -22
  156. package/dist/index39.js +5 -5
  157. package/dist/index41.js +2 -2
  158. package/dist/index43.js +8 -8
  159. package/dist/index45.js +8 -8
  160. package/dist/index47.js +2 -2
  161. package/dist/index49.js +3 -3
  162. package/dist/index53.js +1 -1
  163. package/dist/index55.js +1 -1
  164. package/dist/index57.js +2 -2
  165. package/dist/index61.js +3 -3
  166. package/dist/index67.js +1 -1
  167. package/dist/index79.js +56 -56
  168. package/dist/index81.js +1 -1
  169. package/dist/index83.js +2 -2
  170. package/dist/index85.js +1 -1
  171. package/dist/index87.js +1 -1
  172. package/dist/index90.js +4 -4
  173. package/dist/index92.js +2 -2
  174. package/dist/index94.js +25 -25
  175. package/dist/index96.js +1 -1
  176. package/package.json +1 -1
  177. package/dist/index232.js +0 -17
  178. package/dist/index244.js +0 -4
  179. package/dist/index246.js +0 -370
  180. package/dist/index248.js +0 -4
  181. package/dist/index256.js +0 -7
  182. package/dist/index258.js +0 -5
  183. package/dist/index270.js +0 -13
  184. package/dist/index304.js +0 -384
  185. package/dist/index319.js +0 -8
  186. package/dist/index341.js +0 -9
  187. package/dist/index351.js +0 -484
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 "./index213.js";
3
- import { isNil as B } from "./index250.js";
2
+ import { isCssColor as l } from "./index225.js";
3
+ import { isNil as B } from "./index230.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 "./index267.js";
11
- import { noop as w } from "./index268.js";
12
- import { useLocale as D } from "./index220.js";
10
+ import { pickBy as W } from "./index272.js";
11
+ import { noop as w } from "./index273.js";
12
+ import { useLocale as D } from "./index224.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 "./index220.js";
2
+ import { useLocale as f } from "./index224.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,17 +1,17 @@
1
- import { defineComponent as U, computed as V, useTemplateRef as q, ref as F, createBlock as h, openBlock as b, normalizeClass as W, withCtx as L, createElementBlock as T, createCommentVNode as D, unref as p, normalizeStyle as G, renderSlot as v, Fragment as A, renderList as J, createVNode as Q, mergeProps as X, createElementVNode as Y, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
2
- import { findRightIndex as _ } from "./index269.js";
3
- import { useId as te } from "./index8.js";
4
- import { useIntersectionObserver as oe } from "./index137.js";
5
- import { useUntil as ne } from "./index270.js";
6
- import { wait as ae } from "./index135.js";
7
- import le from "./index13.js";
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";
3
+ import { useId as ee } from "./index8.js";
4
+ import { useIntersectionObserver as te } from "./index137.js";
5
+ import { useUntil as oe } from "./index268.js";
6
+ import { wait as ne } from "./index135.js";
7
+ import ae from "./index13.js";
8
8
  /* empty css */
9
- import B from "./index85.js";
9
+ import A from "./index85.js";
10
10
  /* empty css */
11
- import se from "./index271.js";
11
+ import le from "./index269.js";
12
12
  /* empty css */
13
- import O from "./index273.js";
14
- const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" }, $e = /* @__PURE__ */ U({
13
+ import B from "./index271.js";
14
+ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ U({
15
15
  __name: "BbDropdown",
16
16
  props: {
17
17
  arrowPadding: { default: 10 },
@@ -28,42 +28,42 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
28
28
  items: {},
29
29
  width: { default: 200 }
30
30
  },
31
- setup(R) {
32
- const u = R, d = u.id ?? `bb_${te().id.value}`, c = V(() => {
33
- let e = u.items.findIndex((o) => !o.disabled), a = _(
31
+ setup(O) {
32
+ const u = O, d = u.id ?? `bb_${ee().id.value}`, c = V(() => {
33
+ let e = u.items.findIndex((o) => !o.disabled), a = H(
34
34
  u.items,
35
35
  (o) => !o.disabled
36
36
  );
37
37
  return u.items.map((o, t) => {
38
- const n = `${d}-item-${o.key}`, { onClick: S, ...C } = o, z = async () => {
38
+ const n = `${d}-item-${o.key}`, { onClick: C, ...q } = o, z = async () => {
39
39
  await f();
40
40
  const s = document.querySelector(`#${d}`);
41
41
  if (s) s instanceof HTMLElement && s.focus();
42
42
  else return;
43
- S && S();
43
+ C && C();
44
44
  }, N = (s) => {
45
45
  if (s.target instanceof HTMLElement && s.target.dataset.dropdownItem) {
46
46
  if (!i.value) return;
47
47
  if (s.key === "ArrowDown") {
48
48
  if (s.preventDefault(), i.value && t !== a) {
49
49
  const r = i.value.querySelector(
50
- O.map((y) => `#${n} ~ ${y}`).join(",")
50
+ B.map((y) => `#${n} ~ ${y}`).join(",")
51
51
  );
52
52
  r && r instanceof HTMLElement && r.focus();
53
53
  }
54
54
  } else if (s.key === "ArrowUp") {
55
55
  if (s.preventDefault(), i.value && t !== e) {
56
- const r = _(u.items, (k, $) => $ < t && !k.disabled), w = Array.from(
56
+ const r = H(u.items, (k, h) => h < t && !k.disabled), w = Array.from(
57
57
  i.value.querySelectorAll(".bb-dropdown__item")
58
58
  )[r];
59
59
  w && w instanceof HTMLElement && w.focus();
60
60
  }
61
61
  } else if (s.key === "Tab") {
62
62
  if (t === a && !s.shiftKey) {
63
- const r = O.join(","), y = Array.from(
63
+ const r = B.join(","), y = Array.from(
64
64
  document.querySelectorAll(r)
65
65
  ), w = y.findIndex(
66
- ($) => $.id === d
66
+ (h) => h.id === d
67
67
  ), k = y[w + 1];
68
68
  if (k) k instanceof HTMLElement && (s.preventDefault(), f(), k.focus());
69
69
  else return;
@@ -76,37 +76,37 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
76
76
  }
77
77
  };
78
78
  return {
79
- ...C,
79
+ ...q,
80
80
  original: o,
81
81
  key: o.key.split(/\W+/g).join("_").toLowerCase(),
82
- disabled: C.disabled || u.disabled,
82
+ disabled: q.disabled || u.disabled,
83
83
  id: n,
84
84
  onClick: z,
85
85
  onKeydown: N
86
86
  };
87
87
  });
88
- }), m = q("wrapper"), i = q("content");
89
- oe(
88
+ }), m = g(), i = g();
89
+ te(
90
90
  m,
91
91
  ([{ intersectionRatio: e }]) => {
92
92
  e !== 1 && l.value && f();
93
93
  },
94
94
  { threshold: [0, 1] }
95
95
  );
96
- const l = F(!1), g = ne(l), K = () => {
97
- l.value ? f() : E();
96
+ const l = g(!1), E = oe(l), K = () => {
97
+ l.value ? f() : $();
98
98
  }, P = async (e) => {
99
- let a = u.items.findIndex((t) => !t.disabled), o = _(
99
+ let a = u.items.findIndex((t) => !t.disabled), o = H(
100
100
  u.items,
101
101
  (t) => !t.disabled
102
102
  );
103
103
  if (e.key === "ArrowDown") {
104
- if (e.preventDefault(), l.value || await E(), i.value && c.value.length && a !== -1) {
104
+ if (e.preventDefault(), l.value || await $(), i.value && c.value.length && a !== -1) {
105
105
  const t = c.value[a].id, n = i.value.querySelector(`#${t}`);
106
106
  n && n instanceof HTMLElement && n.focus();
107
107
  }
108
108
  } else if (e.key === "ArrowUp") {
109
- if (e.preventDefault(), l.value || await E(), i.value && c.value.length && o !== -1) {
109
+ if (e.preventDefault(), l.value || await $(), i.value && c.value.length && o !== -1) {
110
110
  const t = c.value[o].id, n = i.value.querySelector(`#${t}`);
111
111
  n && n instanceof HTMLElement && n.focus();
112
112
  }
@@ -114,19 +114,19 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
114
114
  const t = c.value[a].id, n = i.value.querySelector(`#${t}`);
115
115
  n && n instanceof HTMLElement && n.focus();
116
116
  }
117
- }, H = (e) => {
117
+ }, I = (e) => {
118
118
  const a = e.target;
119
119
  if (a && a instanceof HTMLElement) {
120
120
  let o = !0;
121
121
  m.value && m.value.$el.contains(a) && (o = !1), i.value && i.value.contains(a) && (o = !1), o && f();
122
122
  }
123
- }, I = (e) => {
123
+ }, M = (e) => {
124
124
  const a = e.target;
125
125
  if (a && a instanceof HTMLElement) {
126
126
  let o = !0;
127
127
  m.value && m.value.$el.contains(a) && (o = !1), o && f();
128
128
  }
129
- }, M = (e) => {
129
+ }, S = (e) => {
130
130
  var a;
131
131
  if (l.value && e.key === "Escape") {
132
132
  if (((a = document.activeElement) == null ? void 0 : a.id) !== d) {
@@ -135,17 +135,17 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
135
135
  }
136
136
  f();
137
137
  }
138
- }, j = F(!1), E = async () => {
139
- j.value = !0, await ae(50), l.value = !0, document.addEventListener("click", H, { passive: !0 }), document.addEventListener("focusin", I, { passive: !0 }), document.addEventListener("keydown", M, { passive: !0 });
138
+ }, j = g(!1), $ = async () => {
139
+ j.value = !0, await ne(50), l.value = !0, document.addEventListener("click", I, { passive: !0 }), document.addEventListener("focusin", M, { passive: !0 }), document.addEventListener("keydown", S, { passive: !0 });
140
140
  }, f = async () => {
141
- l.value = !1, document.removeEventListener("click", H), document.removeEventListener("focusin", I), document.removeEventListener("keydown", M);
141
+ l.value = !1, document.removeEventListener("click", I), document.removeEventListener("focusin", M), document.removeEventListener("keydown", S);
142
142
  };
143
- return (e, a) => (b(), h(se, {
144
- ref_key: "wrapperRef",
143
+ return (e, a) => (b(), L(le, {
144
+ ref_key: "wrapper",
145
145
  ref: m,
146
146
  "arrow-padding": e.arrowPadding,
147
147
  block: e.block,
148
- class: W(["bb-dropdown", {
148
+ class: R(["bb-dropdown", {
149
149
  [`bb-dropdown--${e.theme}`]: !0
150
150
  }]),
151
151
  "model-value": l.value,
@@ -154,11 +154,11 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
154
154
  placement: e.placement,
155
155
  "transition-duration": e.transitionDuration
156
156
  }, {
157
- activator: L(() => [
158
- v(e.$slots, "activator", x(ee({
157
+ activator: T(() => [
158
+ v(e.$slots, "activator", Z(x({
159
159
  props: {
160
- "aria-expanded": p(g) ? l.value : !1,
161
- "aria-controls": p(g) ? `menu_${p(d)}` : void 0,
160
+ "aria-expanded": p(E) ? l.value : !1,
161
+ "aria-controls": p(E) ? `menu_${p(d)}` : void 0,
162
162
  id: p(d),
163
163
  onClick: K,
164
164
  onKeydown: P,
@@ -169,24 +169,24 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
169
169
  placement: e.placement
170
170
  })))
171
171
  ]),
172
- default: L(() => [
173
- p(g) ? (b(), T("span", {
172
+ default: T(() => [
173
+ p(E) ? (b(), D("span", {
174
174
  key: 0,
175
175
  id: `menu_${p(d)}`,
176
- ref_key: "contentRef",
176
+ ref_key: "content",
177
177
  ref: i,
178
178
  "aria-labelledby": p(d),
179
179
  "aria-role": "menu",
180
180
  class: "bb-dropdown__items-container",
181
181
  inert: !l.value,
182
- style: G({ width: `${e.width}px` })
182
+ style: W({ width: `${e.width}px` })
183
183
  }, [
184
184
  v(e.$slots, "prepend", {
185
185
  disabled: e.disabled,
186
186
  open: l.value,
187
187
  placement: e.placement
188
188
  }),
189
- (b(!0), T(A, null, J(c.value, ({ original: o, ...t }, n) => (b(), T(A, {
189
+ (b(!0), D(F, null, G(c.value, ({ original: o, ...t }, n) => (b(), D(F, {
190
190
  key: t.key
191
191
  }, [
192
192
  v(e.$slots, "item:prepend", {
@@ -197,7 +197,7 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
197
197
  placement: e.placement,
198
198
  text: t.text
199
199
  }),
200
- Q(le, X({
200
+ J(ae, Q({
201
201
  "aria-role": "menuitem",
202
202
  class: ["bb-dropdown__item", {
203
203
  "bb-dropdown__item--first": n === 0,
@@ -206,7 +206,7 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
206
206
  "data-dropdown-item": !0,
207
207
  ref_for: !0
208
208
  }, t), {
209
- default: L(() => [
209
+ default: T(() => [
210
210
  v(e.$slots, t.key, {
211
211
  disabled: t.disabled,
212
212
  index: n,
@@ -215,17 +215,17 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
215
215
  placement: e.placement,
216
216
  text: t.text
217
217
  }, () => [
218
- t["prepend:icon"] ? (b(), h(B, {
218
+ t["prepend:icon"] ? (b(), L(A, {
219
219
  key: 0,
220
220
  class: "item__prepend-icon",
221
221
  type: t["prepend:icon"]
222
- }, null, 8, ["type"])) : D("", !0),
223
- Y("span", re, Z(t.text), 1),
224
- t["append:icon"] ? (b(), h(B, {
222
+ }, null, 8, ["type"])) : _("", !0),
223
+ X("span", ie, Y(t.text), 1),
224
+ t["append:icon"] ? (b(), L(A, {
225
225
  key: 1,
226
226
  class: "item__append-icon",
227
227
  type: t["append:icon"]
228
- }, null, 8, ["type"])) : D("", !0)
228
+ }, null, 8, ["type"])) : _("", !0)
229
229
  ])
230
230
  ]),
231
231
  _: 2
@@ -244,12 +244,12 @@ const ie = ["id", "aria-labelledby", "inert"], re = { class: "item__content" },
244
244
  open: l.value,
245
245
  placement: e.placement
246
246
  })
247
- ], 12, ie)) : D("", !0)
247
+ ], 12, se)) : _("", !0)
248
248
  ]),
249
249
  _: 3
250
250
  }, 8, ["arrow-padding", "block", "class", "model-value", "offset", "padding", "placement", "transition-duration"]));
251
251
  }
252
252
  });
253
253
  export {
254
- $e as default
254
+ Ee as default
255
255
  };
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 "./index220.js";
12
+ import { useLocale as M } from "./index224.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 "./index276.js";
2
+ import { findInTree as ae } from "./index275.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("./index275.js")).default);
56
+ b || (b = (await import("./index274.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 "./index213.js";
2
+ import { isCssColor as I } from "./index225.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 "./index274.js";
2
+ import { throttle as c } from "./index276.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 "./index216.js";
2
+ import { useFocusTrap as be } from "./index241.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 "./index218.js";
6
- import me from "./index219.js";
5
+ import { useModalsState as b } from "./index251.js";
6
+ import me from "./index252.js";
7
7
  import { useMobile as ye } from "./index9.js";
8
- import { useLocale as he } from "./index220.js";
8
+ import { useLocale as he } from "./index224.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 "./index257.js";
7
- import { useLocale as H } from "./index220.js";
6
+ import { debounce as X } from "./index265.js";
7
+ import { useLocale as H } from "./index224.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 R, useTemplateRef as b, ref as V, computed as w, createBlock as h, openBlock as c, normalizeClass as D, withCtx as u, createElementBlock as M, createCommentVNode as g, unref as k, renderSlot as y, createElementVNode as f, toDisplayString as z, normalizeProps as O, guardReactiveProps as S, nextTick as H } from "vue";
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
2
  import { useId as I } from "./index8.js";
3
3
  import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index220.js";
5
- import { useUntil as W } from "./index270.js";
4
+ import { useLocale as U } from "./index224.js";
5
+ import { useUntil as W } from "./index268.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index271.js";
8
+ import A from "./index269.js";
9
9
  /* empty css */
10
- const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @__PURE__ */ R({
10
+ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
11
11
  __name: "BbPopover",
12
12
  props: {
13
13
  arrowPadding: { default: 10 },
@@ -27,7 +27,7 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
27
27
  },
28
28
  emits: ["shown", "hidden"],
29
29
  setup(C, { expose: $, emit: L }) {
30
- const a = C, n = L, { t: _ } = U(), { id: B } = I(), i = `bbp_${B.value}`, r = b("wrapper"), d = b("content");
30
+ const a = C, n = L, { t: _ } = U(), { id: B } = I(), i = `bbp_${B.value}`, r = c(), d = c();
31
31
  N(
32
32
  r,
33
33
  async ([{ intersectionRatio: e }]) => {
@@ -35,14 +35,14 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
35
35
  },
36
36
  { threshold: [0, 1] }
37
37
  );
38
- const o = V(!1), T = W(o), m = (e) => {
38
+ const o = c(!1), T = W(o), v = (e) => {
39
39
  var t;
40
40
  e.target instanceof HTMLElement && ((t = d.value) != null && t.contains(e.target) || l());
41
41
  }, P = async () => {
42
- o.value = !0, document.addEventListener("click", m);
42
+ o.value = !0, document.addEventListener("click", v);
43
43
  }, l = async () => {
44
- o.value = !1, document.removeEventListener("click", m);
45
- }, v = async () => {
44
+ o.value = !1, document.removeEventListener("click", v);
45
+ }, b = async () => {
46
46
  var s;
47
47
  if (o.value) {
48
48
  await l(), n("hidden");
@@ -63,11 +63,11 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
63
63
  }
64
64
  });
65
65
  return $({
66
- open: v,
66
+ open: b,
67
67
  close: p,
68
68
  closed: w(() => !o.value)
69
- }), (e, t) => (c(), h(A, {
70
- ref_key: "wrapperRef",
69
+ }), (e, t) => (u(), h(A, {
70
+ ref_key: "wrapper",
71
71
  ref: r,
72
72
  modelValue: o.value,
73
73
  "onUpdate:modelValue": t[0] || (t[0] = (s) => o.value = s),
@@ -88,12 +88,12 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
88
88
  tag: "dialog",
89
89
  "transition-duration": e.transitionDuration
90
90
  }, {
91
- activator: u(() => [
91
+ activator: f(() => [
92
92
  y(e.$slots, "activator", O(S({
93
93
  props: {
94
94
  "aria-controls": `popover_${i}`,
95
95
  "aria-expanded": o.value,
96
- onClick: v,
96
+ onClick: b,
97
97
  id: i,
98
98
  disabled: !!e.disabled
99
99
  },
@@ -102,27 +102,27 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
102
102
  placement: e.placement
103
103
  })))
104
104
  ]),
105
- default: u(() => [
106
- k(T) ? (c(), M("span", {
105
+ default: f(() => [
106
+ k(T) ? (u(), M("span", {
107
107
  key: 0,
108
- ref_key: "contentRef",
108
+ ref_key: "content",
109
109
  ref: d,
110
110
  class: "bb-popover__content",
111
111
  inert: !o.value
112
112
  }, [
113
- e.showClose ? (c(), h(q, {
113
+ e.showClose ? (u(), h(q, {
114
114
  key: 0,
115
115
  class: "bb-popover__close",
116
116
  onClick: p
117
117
  }, {
118
- default: u(() => [
119
- f("span", j, z(e.closeLabel || k(_)("common.closeLabel").value), 1),
120
- t[1] || (t[1] = f("svg", {
118
+ default: f(() => [
119
+ m("span", Z, z(e.closeLabel || k(_)("common.closeLabel").value), 1),
120
+ t[1] || (t[1] = m("svg", {
121
121
  fill: "none",
122
122
  viewBox: "0 0 24 24",
123
123
  xmlns: "http://www.w3.org/2000/svg"
124
124
  }, [
125
- f("path", {
125
+ m("path", {
126
126
  d: "M23 23L1 1M23 1L1 23",
127
127
  stroke: "currentColor",
128
128
  "stroke-linecap": "round",
@@ -138,12 +138,12 @@ const Z = ["inert"], j = { class: "bb-popover__close-label sr-only" }, oe = /* @
138
138
  open: o.value,
139
139
  placement: e.placement
140
140
  })
141
- ], 8, Z)) : g("", !0)
141
+ ], 8, R)) : g("", !0)
142
142
  ]),
143
143
  _: 3
144
144
  }, 8, ["modelValue", "arrow-padding", "block", "class", "container-attributes", "offset", "padding", "placement", "transition-duration"]));
145
145
  }
146
146
  });
147
147
  export {
148
- oe as default
148
+ ee as default
149
149
  };
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.168",
3
+ "version": "2.0.170",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index232.js DELETED
@@ -1,17 +0,0 @@
1
- import { isNil as f } from "./index250.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/index244.js DELETED
@@ -1,4 +0,0 @@
1
- const n = (t) => t == null || Number.isNaN(t) || typeof t == "object" && Object.keys(t).length === 0 || typeof t == "string" && t.trim().length === 0 || t instanceof Map && [...t.keys()].length === 0 || t instanceof Set && [...t.keys()].length === 0;
2
- export {
3
- n as isEmpty
4
- };