bitboss-ui 2.0.176 → 2.1.0

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/BaseColorInput/BaseColorInput.vue.d.ts +0 -4
  2. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -4
  3. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +0 -4
  4. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -1
  5. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +32 -28
  6. package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -1
  7. package/dist/components/BbSelect/BbSelect.vue.d.ts +0 -4
  8. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +1 -1
  9. package/dist/index.css +1 -1
  10. package/dist/index106.js +9 -9
  11. package/dist/index107.js +29 -31
  12. package/dist/index111.js +1 -1
  13. package/dist/index113.js +1 -1
  14. package/dist/index121.js +12 -12
  15. package/dist/index129.js +1 -1
  16. package/dist/index13.js +1 -1
  17. package/dist/index131.js +13 -14
  18. package/dist/index136.js +1 -1
  19. package/dist/index137.js +2 -2
  20. package/dist/index138.js +1 -1
  21. package/dist/index139.js +2 -2
  22. package/dist/index15.js +13 -14
  23. package/dist/index17.js +3 -3
  24. package/dist/index19.js +8 -8
  25. package/dist/index206.js +2 -138
  26. package/dist/index207.js +138 -2
  27. package/dist/index208.js +2 -2
  28. package/dist/index209.js +2 -13
  29. package/dist/index21.js +16 -16
  30. package/dist/index210.js +4 -66
  31. package/dist/index211.js +4 -0
  32. package/dist/index212.js +65 -176
  33. package/dist/index214.js +15 -0
  34. package/dist/index215.js +12 -28
  35. package/dist/index216.js +13 -17
  36. package/dist/index217.js +10 -50
  37. package/dist/index218.js +5 -15
  38. package/dist/index219.js +5 -3
  39. package/dist/index220.js +5 -12
  40. package/dist/index221.js +5 -16
  41. package/dist/index222.js +5 -34
  42. package/dist/index223.js +5 -2
  43. package/dist/index224.js +2 -4
  44. package/dist/index225.js +2 -2
  45. package/dist/index226.js +2 -5
  46. package/dist/index227.js +20 -5
  47. package/dist/index228.js +113 -5
  48. package/dist/index23.js +45 -46
  49. package/dist/index230.js +86 -5
  50. package/dist/index232.js +29 -2
  51. package/dist/index233.js +16 -2
  52. package/dist/index234.js +17 -2
  53. package/dist/index235.js +51 -13
  54. package/dist/index236.js +14 -10
  55. package/dist/index237.js +3 -20
  56. package/dist/index238.js +12 -113
  57. package/dist/index239.js +6 -0
  58. package/dist/index240.js +191 -100
  59. package/dist/index242.js +5 -100
  60. package/dist/index243.js +7 -0
  61. package/dist/index244.js +8 -4
  62. package/dist/index245.js +239 -186
  63. package/dist/index246.js +54 -0
  64. package/dist/index247.js +42 -16
  65. package/dist/index248.js +5 -12
  66. package/dist/index249.js +59 -5
  67. package/dist/index25.js +22 -21
  68. package/dist/index250.js +17 -227
  69. package/dist/index251.js +11 -12
  70. package/dist/index252.js +6 -3
  71. package/dist/index253.js +106 -5
  72. package/dist/index255.js +98 -6
  73. package/dist/index257.js +221 -45
  74. package/dist/index258.js +177 -44
  75. package/dist/index259.js +2 -5
  76. package/dist/index260.js +3 -60
  77. package/dist/index261.js +34 -2
  78. package/dist/index262.js +2 -2
  79. package/dist/index263.js +9 -8
  80. package/dist/index264.js +3 -23
  81. package/dist/index265.js +6 -10
  82. package/dist/index266.js +16 -3
  83. package/dist/index267.js +3 -41
  84. package/dist/index268.js +9 -7
  85. package/dist/index269.js +8 -14
  86. package/dist/index27.js +1 -1
  87. package/dist/index270.js +23 -3
  88. package/dist/index271.js +9 -6
  89. package/dist/index272.js +8 -16
  90. package/dist/index273.js +4 -8
  91. package/dist/index274.js +8 -9
  92. package/dist/index275.js +2 -8
  93. package/dist/index276.js +67 -2
  94. package/dist/index278.js +4 -67
  95. package/dist/index279.js +3 -5
  96. package/dist/index281.js +9 -0
  97. package/dist/index282.js +6 -6
  98. package/dist/index283.js +11 -3
  99. package/dist/index284.js +4 -3
  100. package/dist/index285.js +3 -17
  101. package/dist/index286.js +3 -28
  102. package/dist/index287.js +3 -2
  103. package/dist/index288.js +17 -4
  104. package/dist/index289.js +28 -4
  105. package/dist/index29.js +3 -3
  106. package/dist/index302.js +19 -3
  107. package/dist/index303.js +2 -7
  108. package/dist/index304.js +26 -10
  109. package/dist/index305.js +2 -3
  110. package/dist/index306.js +2 -3
  111. package/dist/index307.js +2 -3
  112. package/dist/index308.js +2 -6
  113. package/dist/index309.js +1 -1
  114. package/dist/index31.js +2 -2
  115. package/dist/index310.js +22 -5
  116. package/dist/index312.js +3 -2
  117. package/dist/index313.js +3 -27
  118. package/dist/index314.js +2 -2
  119. package/dist/index315.js +6 -2
  120. package/dist/index316.js +1 -1
  121. package/dist/index317.js +5 -2
  122. package/dist/index318.js +5 -2
  123. package/dist/index319.js +701 -22
  124. package/dist/index320.js +356 -0
  125. package/dist/index321.js +53 -466
  126. package/dist/index322.js +33 -2
  127. package/dist/index323.js +28 -5
  128. package/dist/index325.js +2 -701
  129. package/dist/index326.js +129 -354
  130. package/dist/index327.js +365 -54
  131. package/dist/index328.js +8 -2
  132. package/dist/index329.js +5 -6
  133. package/dist/index33.js +8 -8
  134. package/dist/index330.js +8 -47
  135. package/dist/index331.js +44 -126
  136. package/dist/index332.js +6 -368
  137. package/dist/index333.js +18 -6
  138. package/dist/index334.js +57 -18
  139. package/dist/index335.js +57 -32
  140. package/dist/index336.js +227 -27
  141. package/dist/index337.js +9 -0
  142. package/dist/index338.js +92 -57
  143. package/dist/index340.js +3 -8
  144. package/dist/index341.js +128 -5
  145. package/dist/index342.js +434 -6
  146. package/dist/index343.js +125 -226
  147. package/dist/index344.js +474 -85
  148. package/dist/index345.js +43 -478
  149. package/dist/index35.js +4 -4
  150. package/dist/index37.js +20 -21
  151. package/dist/index39.js +5 -5
  152. package/dist/index41.js +2 -2
  153. package/dist/index43.js +8 -8
  154. package/dist/index45.js +8 -8
  155. package/dist/index47.js +2 -2
  156. package/dist/index49.js +3 -3
  157. package/dist/index53.js +1 -1
  158. package/dist/index55.js +1 -1
  159. package/dist/index57.js +2 -2
  160. package/dist/index61.js +3 -3
  161. package/dist/index67.js +1 -1
  162. package/dist/index79.js +18 -19
  163. package/dist/index81.js +1 -1
  164. package/dist/index83.js +2 -2
  165. package/dist/index85.js +1 -1
  166. package/dist/index87.js +1 -1
  167. package/dist/index90.js +159 -225
  168. package/dist/index92.js +2 -2
  169. package/dist/index94.js +11 -12
  170. package/dist/index96.js +1 -1
  171. package/dist/types/CommonProps.d.ts +0 -4
  172. package/package.json +1 -2
  173. package/dist/components/BbTeleport.vue.d.ts +0 -20
  174. package/dist/index213.js +0 -88
  175. package/dist/index229.js +0 -7
  176. package/dist/index231.js +0 -7
  177. package/dist/index254.js +0 -7
  178. package/dist/index256.js +0 -252
  179. package/dist/index280.js +0 -10
  180. package/dist/index311.js +0 -21
  181. package/dist/index324.js +0 -202
  182. package/dist/index339.js +0 -60
  183. package/dist/index346.js +0 -131
  184. package/dist/index348.js +0 -5
  185. package/dist/index349.js +0 -49
  186. package/dist/index350.js +0 -438
  187. package/dist/index351.js +0 -129
package/dist/index45.js CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
3
3
  /* empty css */
4
4
  import ae from "./index111.js";
5
5
  /* empty css */
6
- import { last as le } from "./index234.js";
7
- import { useBaseOptions as ne } from "./index217.js";
8
- import { useIndexById as re } from "./index216.js";
9
- import ie from "./index240.js";
6
+ import { last as le } from "./index226.js";
7
+ import { useBaseOptions as ne } from "./index235.js";
8
+ import { useIndexById as re } from "./index234.js";
9
+ import ie from "./index253.js";
10
10
  /* empty css */
11
- import ue from "./index242.js";
11
+ import ue from "./index255.js";
12
12
  /* empty css */
13
- import se from "./index210.js";
13
+ import se from "./index212.js";
14
14
  /* empty css */
15
- import de from "./index209.js";
16
- import { isEmpty as pe } from "./index233.js";
15
+ import de from "./index214.js";
16
+ import { isEmpty as pe } from "./index225.js";
17
17
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__PURE__ */ Q({
18
18
  __name: "BaseTag",
19
19
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
2
- import E from "./index209.js";
3
- import G from "./index210.js";
2
+ import E from "./index214.js";
3
+ import G from "./index212.js";
4
4
  /* empty css */
5
5
  import M from "./index111.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as q, mergeProps as b, renderSlot as d } from "vue";
2
- import E from "./index210.js";
2
+ import E from "./index212.js";
3
3
  /* empty css */
4
- import I from "./index209.js";
4
+ import I from "./index214.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index212.js";
6
+ import { MaskInput as z } from "./index258.js";
7
7
  const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
8
8
  __name: "BaseTextInput",
9
9
  props: {
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index85.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index235.js";
6
+ import { useLocale as g } from "./index216.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index223.js";
2
+ import { isCssColor as y } from "./index209.js";
3
3
  import { wait as C } from "./index135.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as 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 "./index223.js";
3
- import { isNil as B } from "./index262.js";
2
+ import { isCssColor as l } from "./index209.js";
3
+ import { isNil as B } from "./index259.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 "./index265.js";
11
- import { noop as w } from "./index266.js";
12
- import { useLocale as D } from "./index235.js";
10
+ import { pickBy as W } from "./index263.js";
11
+ import { noop as w } from "./index264.js";
12
+ import { useLocale as D } from "./index216.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 "./index235.js";
2
+ import { useLocale as f } from "./index216.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
- 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 "./index263.js";
1
+ import { defineComponent as N, computed as R, ref as E, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as D, 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 T } from "./index269.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index236.js";
4
+ import { useUntil as ne } from "./index217.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 "./index238.js";
10
+ import le from "./index228.js";
11
11
  /* empty css */
12
- import K from "./index264.js";
13
- const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, ge = /* @__PURE__ */ N({
12
+ import K from "./index270.js";
13
+ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ N({
14
14
  __name: "BbDropdown",
15
15
  props: {
16
16
  arrowPadding: { default: 10 },
@@ -23,13 +23,12 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
23
23
  placement: { default: "bottom" },
24
24
  theme: { default: "default" },
25
25
  transitionDuration: { default: 300 },
26
- teleportTarget: {},
27
26
  items: {},
28
27
  width: { default: 200 }
29
28
  },
30
29
  setup(O) {
31
30
  const u = O, d = u.id ?? `bb_${te().id.value}`, c = R(() => {
32
- let e = u.items.findIndex((n) => !n.disabled), o = D(
31
+ let e = u.items.findIndex((n) => !n.disabled), o = T(
33
32
  u.items,
34
33
  (n) => !n.disabled
35
34
  );
@@ -52,7 +51,7 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
52
51
  }
53
52
  } else if (s.key === "ArrowUp") {
54
53
  if (s.preventDefault(), i.value && t !== e) {
55
- const r = D(u.items, (w, L) => L < t && !w.disabled), y = Array.from(
54
+ const r = T(u.items, (w, L) => L < t && !w.disabled), y = Array.from(
56
55
  i.value.querySelectorAll(".bb-dropdown__item")
57
56
  )[r];
58
57
  y && y instanceof HTMLElement && y.focus();
@@ -84,10 +83,10 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
84
83
  onKeydown: z
85
84
  };
86
85
  });
87
- }), b = g(), i = g(), l = g(!1), E = ne(l), P = () => {
86
+ }), b = E(), i = E(), l = E(!1), g = ne(l), P = () => {
88
87
  l.value ? p() : $();
89
88
  }, V = async (e) => {
90
- let o = u.items.findIndex((t) => !t.disabled), n = D(
89
+ let o = u.items.findIndex((t) => !t.disabled), n = T(
91
90
  u.items,
92
91
  (t) => !t.disabled
93
92
  );
@@ -126,7 +125,7 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
126
125
  }
127
126
  p();
128
127
  }
129
- }, U = g(!1), $ = async () => {
128
+ }, U = E(!1), $ = async () => {
130
129
  U.value = !0, await oe(50), l.value = !0, document.addEventListener("click", H, { passive: !0 }), document.addEventListener("focusin", M, { passive: !0 }), document.addEventListener("keydown", S, { passive: !0 });
131
130
  }, p = async () => {
132
131
  l.value = !1;
@@ -146,14 +145,14 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
146
145
  offset: e.offset,
147
146
  padding: e.padding,
148
147
  placement: e.placement,
149
- "render-content": f(E),
148
+ "render-content": f(g),
150
149
  "transition-duration": e.transitionDuration
151
150
  }, {
152
- activator: T(() => [
151
+ activator: D(() => [
153
152
  m(e.$slots, "activator", x(ee({
154
153
  props: {
155
- "aria-expanded": f(E) ? l.value : !1,
156
- "aria-controls": f(E) ? `menu_${f(d)}` : void 0,
154
+ "aria-expanded": f(g) ? l.value : !1,
155
+ "aria-controls": f(g) ? `menu_${f(d)}` : void 0,
157
156
  id: f(d),
158
157
  onClick: P,
159
158
  onKeydown: V,
@@ -164,7 +163,7 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
164
163
  placement: e.placement
165
164
  })))
166
165
  ]),
167
- default: T(() => [
166
+ default: D(() => [
168
167
  I("span", {
169
168
  id: `menu_${f(d)}`,
170
169
  ref_key: "content",
@@ -200,7 +199,7 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
200
199
  "data-dropdown-item": !0,
201
200
  ref_for: !0
202
201
  }, t), {
203
- default: T(() => [
202
+ default: D(() => [
204
203
  m(e.$slots, t.key, {
205
204
  disabled: t.disabled,
206
205
  index: a,
@@ -245,5 +244,5 @@ const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" },
245
244
  }
246
245
  });
247
246
  export {
248
- ge as default
247
+ Ee as default
249
248
  };
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 "./index235.js";
12
+ import { useLocale as M } from "./index216.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 "./index272.js";
2
+ import { findInTree as ae } from "./index266.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("./index271.js")).default);
56
+ b || (b = (await import("./index265.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/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 "./index223.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 "./index270.js";
2
+ import { throttle as c } from "./index267.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {