bitboss-ui 2.0.137 → 2.0.141

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 (245) hide show
  1. package/dist/index100.js +9 -9
  2. package/dist/index109.js +2 -2
  3. package/dist/index11.js +11 -11
  4. package/dist/index111.js +12 -12
  5. package/dist/index119.js +2 -2
  6. package/dist/index12.js +5 -5
  7. package/dist/index121.js +6 -6
  8. package/dist/index125.js +1 -1
  9. package/dist/index127.js +1 -1
  10. package/dist/index128.js +1 -1
  11. package/dist/index129.js +1 -1
  12. package/dist/index13.js +2 -2
  13. package/dist/index131.js +1 -1
  14. package/dist/index132.js +2 -2
  15. package/dist/index133.js +9 -25
  16. package/dist/index134.js +25 -2
  17. package/dist/index135.js +2 -5
  18. package/dist/index136.js +5 -9
  19. package/dist/index137.js +8 -5
  20. package/dist/index138.js +6 -3
  21. package/dist/index139.js +1 -1
  22. package/dist/index140.js +1 -1
  23. package/dist/index141.js +1 -1
  24. package/dist/index142.js +1 -1
  25. package/dist/index143.js +1 -1
  26. package/dist/index144.js +1 -1
  27. package/dist/index145.js +1 -1
  28. package/dist/index146.js +1 -1
  29. package/dist/index147.js +1 -1
  30. package/dist/index148.js +1 -1
  31. package/dist/index149.js +1 -1
  32. package/dist/index15.js +36 -35
  33. package/dist/index150.js +1 -1
  34. package/dist/index151.js +1 -1
  35. package/dist/index152.js +1 -1
  36. package/dist/index153.js +1 -1
  37. package/dist/index154.js +1 -1
  38. package/dist/index155.js +1 -1
  39. package/dist/index156.js +1 -1
  40. package/dist/index157.js +1 -1
  41. package/dist/index158.js +1 -1
  42. package/dist/index159.js +1 -1
  43. package/dist/index160.js +1 -1
  44. package/dist/index161.js +1 -1
  45. package/dist/index162.js +1 -1
  46. package/dist/index163.js +1 -1
  47. package/dist/index164.js +1 -1
  48. package/dist/index165.js +2 -2
  49. package/dist/{index195.js → index166.js} +1 -1
  50. package/dist/index17.js +3 -3
  51. package/dist/index170.js +1 -1
  52. package/dist/index171.js +1 -1
  53. package/dist/index172.js +1 -1
  54. package/dist/index173.js +1 -1
  55. package/dist/index174.js +1 -1
  56. package/dist/index175.js +1 -1
  57. package/dist/index176.js +2 -2
  58. package/dist/index177.js +5 -0
  59. package/dist/index179.js +2 -3
  60. package/dist/index180.js +1 -1
  61. package/dist/index181.js +1 -1
  62. package/dist/index182.js +1 -1
  63. package/dist/index183.js +1 -1
  64. package/dist/index184.js +1 -1
  65. package/dist/index185.js +1 -1
  66. package/dist/index186.js +1 -1
  67. package/dist/index187.js +1 -1
  68. package/dist/index188.js +3 -2
  69. package/dist/index189.js +2 -3
  70. package/dist/index19.js +8 -8
  71. package/dist/index190.js +1 -1
  72. package/dist/index191.js +1 -1
  73. package/dist/index192.js +5 -0
  74. package/dist/index196.js +1 -1
  75. package/dist/index197.js +1 -1
  76. package/dist/index198.js +1 -1
  77. package/dist/index199.js +1 -1
  78. package/dist/index200.js +1 -1
  79. package/dist/index201.js +1 -1
  80. package/dist/index202.js +1 -1
  81. package/dist/index203.js +1 -1
  82. package/dist/index204.js +1 -1
  83. package/dist/index205.js +3 -2
  84. package/dist/index206.js +115 -5
  85. package/dist/index207.js +2 -16
  86. package/dist/index208.js +2 -16
  87. package/dist/index209.js +8 -19
  88. package/dist/index21.js +16 -16
  89. package/dist/index210.js +3 -15
  90. package/dist/index211.js +2 -19
  91. package/dist/index212.js +4 -27
  92. package/dist/index213.js +2 -3
  93. package/dist/index214.js +3 -2
  94. package/dist/index215.js +41 -8
  95. package/dist/index216.js +5 -249
  96. package/dist/index217.js +7 -52
  97. package/dist/index218.js +11 -40
  98. package/dist/index219.js +13 -5
  99. package/dist/index220.js +3 -60
  100. package/dist/index221.js +85 -12
  101. package/dist/index223.js +29 -65
  102. package/dist/index224.js +19 -0
  103. package/dist/index225.js +51 -13
  104. package/dist/index226.js +15 -125
  105. package/dist/index227.js +12 -2
  106. package/dist/index228.js +15 -40
  107. package/dist/index229.js +5 -20
  108. package/dist/index23.js +16 -16
  109. package/dist/index230.js +16 -6
  110. package/dist/index231.js +16 -94
  111. package/dist/index232.js +21 -0
  112. package/dist/index233.js +15 -2
  113. package/dist/index234.js +19 -2
  114. package/dist/index235.js +27 -4
  115. package/dist/index236.js +2 -2
  116. package/dist/index237.js +243 -79
  117. package/dist/index238.js +54 -0
  118. package/dist/index239.js +44 -29
  119. package/dist/index240.js +5 -17
  120. package/dist/index241.js +59 -50
  121. package/dist/index242.js +65 -15
  122. package/dist/index244.js +13 -16
  123. package/dist/index245.js +3 -114
  124. package/dist/index246.js +20 -4
  125. package/dist/index247.js +86 -192
  126. package/dist/index249.js +200 -3
  127. package/dist/index25.js +83 -82
  128. package/dist/index251.js +125 -15
  129. package/dist/index252.js +2 -2
  130. package/dist/index253.js +2 -2
  131. package/dist/index254.js +2 -18
  132. package/dist/index255.js +2 -126
  133. package/dist/index256.js +2 -2
  134. package/dist/index258.js +2 -2
  135. package/dist/index260.js +17 -11
  136. package/dist/index261.js +124 -226
  137. package/dist/index262.js +11 -368
  138. package/dist/index263.js +228 -10
  139. package/dist/index264.js +368 -2
  140. package/dist/index265.js +10 -281
  141. package/dist/index266.js +3 -6
  142. package/dist/index267.js +9 -2
  143. package/dist/index268.js +23 -2
  144. package/dist/index269.js +9 -2
  145. package/dist/index27.js +1 -1
  146. package/dist/index270.js +6 -2
  147. package/dist/index271.js +16 -2
  148. package/dist/index272.js +28 -2
  149. package/dist/index273.js +9 -2
  150. package/dist/index274.js +8 -2
  151. package/dist/index275.js +4 -2
  152. package/dist/index276.js +431 -2
  153. package/dist/index277.js +1 -1
  154. package/dist/index278.js +85 -24
  155. package/dist/index279.js +7 -22
  156. package/dist/index280.js +13 -0
  157. package/dist/index281.js +224 -7
  158. package/dist/index282.js +3 -7
  159. package/dist/index283.js +17 -11
  160. package/dist/index284.js +200 -224
  161. package/dist/index285.js +281 -3
  162. package/dist/index286.js +8 -0
  163. package/dist/index287.js +2 -3
  164. package/dist/index288.js +2 -17
  165. package/dist/index289.js +2 -9
  166. package/dist/index29.js +4 -4
  167. package/dist/index290.js +2 -4
  168. package/dist/index291.js +2 -2
  169. package/dist/index292.js +2 -431
  170. package/dist/index293.js +2 -176
  171. package/dist/index294.js +2 -3
  172. package/dist/index295.js +2 -9
  173. package/dist/index296.js +2 -23
  174. package/dist/index297.js +1 -5
  175. package/dist/index298.js +21 -15
  176. package/dist/index300.js +7 -3
  177. package/dist/index301.js +3 -8
  178. package/dist/index303.js +176 -2
  179. package/dist/index304.js +3 -89
  180. package/dist/index305.js +3 -126
  181. package/dist/index306.js +2 -3
  182. package/dist/index307.js +1 -1
  183. package/dist/index308.js +3 -2
  184. package/dist/index309.js +117 -427
  185. package/dist/index31.js +2 -2
  186. package/dist/index310.js +2 -127
  187. package/dist/index311.js +435 -6
  188. package/dist/index312.js +125 -17
  189. package/dist/index313.js +2 -7
  190. package/dist/index314.js +67 -2
  191. package/dist/index316.js +2 -32
  192. package/dist/index317.js +3 -26
  193. package/dist/index318.js +56 -65
  194. package/dist/index319.js +1 -1
  195. package/dist/index320.js +1 -1
  196. package/dist/index321.js +4 -57
  197. package/dist/index322.js +32 -32
  198. package/dist/index323.js +57 -4
  199. package/dist/index324.js +32 -2
  200. package/dist/index325.js +26 -3
  201. package/dist/index326.js +6 -57
  202. package/dist/index327.js +19 -480
  203. package/dist/index328.js +480 -8
  204. package/dist/index329.js +46 -5
  205. package/dist/index33.js +8 -8
  206. package/dist/index330.js +7 -8
  207. package/dist/index331.js +7 -46
  208. package/dist/index332.js +8 -0
  209. package/dist/index333.js +10 -0
  210. package/dist/index334.js +1 -1
  211. package/dist/index337.js +420 -43
  212. package/dist/index338.js +49 -0
  213. package/dist/index35.js +5 -5
  214. package/dist/index37.js +20 -20
  215. package/dist/index39.js +6 -6
  216. package/dist/index41.js +2 -2
  217. package/dist/index43.js +8 -8
  218. package/dist/index45.js +6 -6
  219. package/dist/index47.js +3 -3
  220. package/dist/index49.js +3 -3
  221. package/dist/index53.js +1 -1
  222. package/dist/index55.js +1 -1
  223. package/dist/index57.js +2 -2
  224. package/dist/index61.js +3 -3
  225. package/dist/index75.js +3 -3
  226. package/dist/index77.js +1 -1
  227. package/dist/index79.js +2 -2
  228. package/dist/index81.js +1 -1
  229. package/dist/index84.js +67 -67
  230. package/dist/index86.js +2 -2
  231. package/dist/index88.js +5 -5
  232. package/dist/index90.js +1 -1
  233. package/dist/style.css +1 -1
  234. package/package.json +2 -1
  235. package/dist/index169.js +0 -5
  236. package/dist/index178.js +0 -4
  237. package/dist/index222.js +0 -5
  238. package/dist/index243.js +0 -14
  239. package/dist/index250.js +0 -9
  240. package/dist/index299.js +0 -11
  241. package/dist/index302.js +0 -202
  242. package/dist/index335.js +0 -426
  243. /package/dist/{index167.js → index168.js} +0 -0
  244. /package/dist/{index193.js → index194.js} +0 -0
  245. /package/dist/{index336.js → index339.js} +0 -0
package/dist/index100.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as D, computed as V, toRef as r, reactive as E, watch as m, ref as L, openBlock as b, createElementBlock as B, Fragment as g, renderSlot as i, unref as P, createCommentVNode as R, renderList as j } from "vue";
2
- import { useItemValue as G } from "./index289.js";
3
- import { isNil as k } from "./index253.js";
4
- import { indexBy as U } from "./index301.js";
5
- import { hash as p } from "./index213.js";
6
- import { useItemsGetter as W } from "./index239.js";
7
- import { usePrefill as q } from "./index244.js";
8
- import { useIndexById as z } from "./index240.js";
9
- import { useBaseOptions as J } from "./index241.js";
10
- import { useHashedWatcher as K } from "./index243.js";
2
+ import { useItemValue as G } from "./index273.js";
3
+ import { isNil as k } from "./index255.js";
4
+ import { indexBy as U } from "./index274.js";
5
+ import { hash as p } from "./index210.js";
6
+ import { useItemsGetter as W } from "./index223.js";
7
+ import { usePrefill as q } from "./index228.js";
8
+ import { useIndexById as z } from "./index224.js";
9
+ import { useBaseOptions as J } from "./index225.js";
10
+ import { useHashedWatcher as K } from "./index227.js";
11
11
  const oe = /* @__PURE__ */ D({
12
12
  __name: "BbRows",
13
13
  props: {
package/dist/index109.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ee, ref as n, computed as $, getCurrentInstance as te, watch as b, nextTick as le, onMounted as ae, openBlock as f, createElementBlock as p, unref as ie, normalizeClass as T, createElementVNode as h, renderSlot as k, normalizeProps as U, guardReactiveProps as W, normalizeStyle as se, Fragment as K, renderList as O, createVNode as J, withCtx as I, toDisplayString as re, createBlock as ne, Transition as oe, createCommentVNode as ue } from "vue";
2
2
  import { useId as de } from "./index8.js";
3
- import { useRoute as ce } from "./index136.js";
4
- import { useRouter as be } from "./index137.js";
3
+ import { useRoute as ce } from "./index137.js";
4
+ import { useRouter as be } from "./index138.js";
5
5
  import { wait as fe } from "./index130.js";
6
6
  import { useScroll as he, useResizeObserver as ye } from "./index132.js";
7
7
  import me from "./index13.js";
package/dist/index11.js CHANGED
@@ -1,38 +1,38 @@
1
- import { wait as p } from "./index130.js";
1
+ import { nanoid as p } from "./index133.js";
2
2
  import { reactive as d } from "vue";
3
- import { useId as h } from "./index8.js";
3
+ import { wait as h } from "./index130.js";
4
4
  const i = d({
5
5
  stack: []
6
6
  }), b = () => {
7
- const c = (t) => i.stack = i.stack.filter((o) => o.id !== t);
7
+ const n = (t) => i.stack = i.stack.filter((o) => o.id !== t);
8
8
  return {
9
9
  toast: (t) => {
10
- const o = h().id.value;
11
- let l, e, n, s, f;
10
+ const o = p();
11
+ let c, e, l, s, f;
12
12
  const u = 6e3;
13
13
  if (typeof t == "string")
14
14
  e = t;
15
15
  else {
16
16
  if (typeof t.timeout == "number" && t.timeout <= 0)
17
17
  throw new Error("Toast messages cannot have a zero or less timeout");
18
- n = t.icon, f = t.showClose, e = t.text, s = t.theme, l = t.title;
18
+ l = t.icon, f = t.showClose, e = t.text, s = t.theme, c = t.title;
19
19
  }
20
20
  if (i.stack = i.stack.concat({
21
- icon: n,
21
+ icon: l,
22
22
  id: o,
23
23
  showClose: f,
24
24
  text: e,
25
25
  theme: s,
26
- title: l
26
+ title: c
27
27
  }), typeof t == "object" && !t.persistent || typeof t == "string") {
28
28
  let r;
29
- typeof t == "object" && t.timeout ? r = t.timeout : r = u, p(r).then(() => {
30
- c(o);
29
+ typeof t == "object" && t.timeout ? r = t.timeout : r = u, h(r).then(() => {
30
+ n(o);
31
31
  });
32
32
  }
33
33
  return o;
34
34
  },
35
- dismiss: c,
35
+ dismiss: n,
36
36
  dismissAll: () => i.stack = []
37
37
  };
38
38
  };
package/dist/index111.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as ue, ref as K, computed as h, toRef as O, watch as D, reactive as pe, openBlock as n, createBlock as Q, resolveDynamicComponent as me, normalizeClass as p, unref as v, withCtx as fe, createElementBlock as d, toDisplayString as m, createCommentVNode as g, createElementVNode as o, renderSlot as f, Fragment as A, renderList as B, createVNode as X, createTextVNode as ye, mergeProps as he } from "vue";
2
- import { add as ve } from "./index314.js";
3
- import { clamp as ke } from "./index205.js";
4
- import { isNil as T } from "./index253.js";
2
+ import { add as ve } from "./index313.js";
3
+ import { clamp as ke } from "./index208.js";
4
+ import { isNil as T } from "./index255.js";
5
5
  import { useId as _e } from "./index8.js";
6
- import { useItemValue as ge } from "./index289.js";
7
- import { when as Ce } from "./index235.js";
6
+ import { useItemValue as ge } from "./index273.js";
7
+ import { when as Ce } from "./index212.js";
8
8
  import Y from "./index17.js";
9
9
  /* empty css */
10
10
  import we from "./index31.js";
11
11
  /* empty css */
12
- import { hash as E } from "./index213.js";
13
- import { useItemsGetter as Ie } from "./index239.js";
14
- import { usePrefill as Ve } from "./index244.js";
15
- import { useIndexById as Ae } from "./index240.js";
16
- import { useBaseOptions as Be } from "./index241.js";
17
- import { useHashedWatcher as Te } from "./index243.js";
18
- import { useLocale as $e } from "./index221.js";
12
+ import { hash as E } from "./index210.js";
13
+ import { useItemsGetter as Ie } from "./index223.js";
14
+ import { usePrefill as Ve } from "./index228.js";
15
+ import { useIndexById as Ae } from "./index224.js";
16
+ import { useBaseOptions as Be } from "./index225.js";
17
+ import { useHashedWatcher as Te } from "./index227.js";
18
+ import { useLocale as $e } from "./index219.js";
19
19
  const xe = {
20
20
  key: 0,
21
21
  class: "sr-only"
package/dist/index119.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, openBlock as e, createBlock as o, withCtx as r, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as u, createElementBlock as p, Fragment as f, renderList as _, unref as n, mergeProps as d } from "vue";
2
2
  import { state as k, useToast as b } from "./index11.js";
3
- import C from "./index251.js";
4
- import B from "./index318.js";
3
+ import C from "./index218.js";
4
+ import B from "./index314.js";
5
5
  const V = /* @__PURE__ */ l({
6
6
  __name: "BbToast",
7
7
  props: {
package/dist/index12.js CHANGED
@@ -1,9 +1,9 @@
1
- import { copy as D } from "./index133.js";
1
+ import { copy as D } from "./index134.js";
2
2
  import { reactive as G, watch as v, toValue as H, computed as g, provide as Q } from "vue";
3
- import { isNotNil as a } from "./index134.js";
4
- import { mapValues as X } from "./index135.js";
5
- import { useRoute as Z } from "./index136.js";
6
- import { useRouter as _ } from "./index137.js";
3
+ import { isNotNil as a } from "./index135.js";
4
+ import { mapValues as X } from "./index136.js";
5
+ import { useRoute as Z } from "./index137.js";
6
+ import { useRouter as _ } from "./index138.js";
7
7
  import { useStepper as ee } from "./index132.js";
8
8
  const te = Symbol(), x = /((step\/)(?<step>[\s\S]+?)(?=[/?]))|((step\/)(?<step2>[\s\S]+))/, O = (i) => {
9
9
  var r, u;
package/dist/index121.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as H, ref as o, watch as I, computed as z, openBlock as E, createElementBlock as R, mergeProps as S, createElementVNode as p, renderSlot as B, normalizeProps as U, guardReactiveProps as W, unref as u, createVNode as j, withCtx as C, createBlock as q, createCommentVNode as A } from "vue";
2
- import { useFloating as G, arrow as J } from "./index255.js";
2
+ import { useFloating as G, arrow as J } from "./index261.js";
3
3
  import { useId as K } from "./index8.js";
4
4
  import { wait as L } from "./index130.js";
5
5
  import Q from "./index13.js";
6
6
  /* empty css */
7
- import { throttle as v } from "./index249.js";
8
- import { waitFor as X } from "./index230.js";
9
- import Y from "./index231.js";
7
+ import { throttle as v } from "./index214.js";
8
+ import { waitFor as X } from "./index216.js";
9
+ import Y from "./index247.js";
10
10
  /* empty css */
11
- import { useLocale as Z } from "./index221.js";
12
- import { autoUpdate as x, flip as ee, shift as te, hide as oe } from "./index262.js";
11
+ import { useLocale as Z } from "./index219.js";
12
+ import { autoUpdate as x, flip as ee, shift as te, hide as oe } from "./index264.js";
13
13
  const ae = { class: "bb-tooltip__content" }, be = /* @__PURE__ */ H({
14
14
  __name: "BbTooltip",
15
15
  props: {
package/dist/index125.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, openBlock as o, createElementBlock as a, createElementVNode as t, renderSlot as p, createTextVNode as b, toDisplayString as m, unref as u, withModifiers as d, createCommentVNode as _ } from "vue";
2
- import { useLocale as f } from "./index221.js";
2
+ import { useLocale as f } from "./index219.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/index127.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, openBlock as h, createElementBlock as $, mergeProps as g } from "vue";
2
- import { isCssColor as I } from "./index234.js";
2
+ import { isCssColor as I } from "./index211.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index128.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
2
- import { throttle as g } from "./index249.js";
2
+ import { throttle as g } from "./index214.js";
3
3
  const O = /* @__PURE__ */ v({
4
4
  __name: "BbSmoothHeight",
5
5
  props: {
package/dist/index129.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as s, openBlock as b, createElementBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
2
- import { isCssColor as u } from "./index234.js";
2
+ import { isCssColor as u } from "./index211.js";
3
3
  const f = /* @__PURE__ */ p({
4
4
  __name: "BbSpinner",
5
5
  props: {
package/dist/index13.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, getCurrentInstance as d, shallowRef as x, watch as S, computed as f, openBlock as L, createBlock as B, resolveDynamicComponent as N, unref as $, mergeProps as F, withCtx as w, renderSlot as A, createTextVNode as P, toDisplayString as _, resolveComponent as m } from "vue";
2
2
  import { _config as o } from "./index4.js";
3
- import { useLogger as v } from "./index215.js";
4
- import { hash as g } from "./index213.js";
3
+ import { useLogger as v } from "./index209.js";
4
+ import { hash as g } from "./index210.js";
5
5
  const I = /* @__PURE__ */ C({
6
6
  __name: "BaseButton",
7
7
  props: {
package/dist/index131.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as o } from "./index205.js";
1
+ import { clamp as o } from "./index208.js";
2
2
  const r = (t, e) => t * 100 / e, p = (t, e) => t / 100 * e, l = (t, e, n) => r(t - e, n - e), P = ({
3
3
  value: t = 0,
4
4
  originalBounds: e,
package/dist/index132.js CHANGED
@@ -1,5 +1,5 @@
1
- import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as W, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isObject as J, isClient as K } from "./index245.js";
2
- import { bypassFilter as ve, createFilterWrapper as de, debounceFilter as pe, debouncedWatch as he, getLifeCycleTarget as me, throttleFilter as be, debouncedWatch as ge, watchWithFilter as ye } from "./index245.js";
1
+ import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as W, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isObject as J, isClient as K } from "./index206.js";
2
+ import { bypassFilter as ve, createFilterWrapper as de, debounceFilter as pe, debouncedWatch as he, getLifeCycleTarget as me, throttleFilter as be, debouncedWatch as ge, watchWithFilter as ye } from "./index206.js";
3
3
  import { computed as w, watch as z, ref as S, reactive as k, getCurrentInstance as U, onMounted as Z, watchEffect as ee } from "vue";
4
4
  function L(l) {
5
5
  var o;
package/dist/index133.js CHANGED
@@ -1,27 +1,11 @@
1
- import { isArray as p } from "./index319.js";
2
- import { isPlainObject as c } from "./index320.js";
3
- function i(e, n, u, l, r) {
4
- const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
5
- o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
6
- value: u,
7
- enumerable: !1,
8
- writable: !0,
9
- configurable: !0
10
- });
11
- }
12
- function b(e, n = {}) {
13
- if (p(e))
14
- return e.map((r) => b(r, n));
15
- if (!c(e))
16
- return e;
17
- const u = Object.getOwnPropertyNames(e), l = Object.getOwnPropertySymbols(e);
18
- return [...u, ...l].reduce((r, o) => {
19
- if (p(n.props) && !n.props.includes(o))
20
- return r;
21
- const m = e[o], s = b(m, n);
22
- return i(r, o, s, e, n.nonenumerable), r;
23
- }, {});
24
- }
1
+ import { urlAlphabet as l } from "./index207.js";
2
+ let o = (t = 21) => {
3
+ let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
+ for (; t--; )
5
+ e += l[r[t] & 63];
6
+ return e;
7
+ };
25
8
  export {
26
- b as copy
9
+ o as nanoid,
10
+ l as urlAlphabet
27
11
  };
package/dist/index134.js CHANGED
@@ -1,4 +1,27 @@
1
- const r = (e) => !(typeof e > "u" || e === null);
1
+ import { isArray as p } from "./index319.js";
2
+ import { isPlainObject as c } from "./index320.js";
3
+ function i(e, n, u, l, r) {
4
+ const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
5
+ o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
6
+ value: u,
7
+ enumerable: !1,
8
+ writable: !0,
9
+ configurable: !0
10
+ });
11
+ }
12
+ function b(e, n = {}) {
13
+ if (p(e))
14
+ return e.map((r) => b(r, n));
15
+ if (!c(e))
16
+ return e;
17
+ const u = Object.getOwnPropertyNames(e), l = Object.getOwnPropertySymbols(e);
18
+ return [...u, ...l].reduce((r, o) => {
19
+ if (p(n.props) && !n.props.includes(o))
20
+ return r;
21
+ const m = e[o], s = b(m, n);
22
+ return i(r, o, s, e, n.nonenumerable), r;
23
+ }, {});
24
+ }
2
25
  export {
3
- r as isNotNil
26
+ b as copy
4
27
  };
package/dist/index135.js CHANGED
@@ -1,7 +1,4 @@
1
- const u = (e, s) => Object.keys(e).reduce(
2
- (t, r) => (t[r] = s(e[r], r, e), t),
3
- {}
4
- );
1
+ const r = (e) => !(typeof e > "u" || e === null);
5
2
  export {
6
- u as mapValues
3
+ r as isNotNil
7
4
  };
package/dist/index136.js CHANGED
@@ -1,11 +1,7 @@
1
- import { getCurrentInstance as o, computed as r } from "vue";
2
- function u() {
3
- const t = o();
4
- return r(() => {
5
- var e;
6
- return (e = t == null ? void 0 : t.proxy) == null ? void 0 : e.$route;
7
- });
8
- }
1
+ const u = (e, s) => Object.keys(e).reduce(
2
+ (t, r) => (t[r] = s(e[r], r, e), t),
3
+ {}
4
+ );
9
5
  export {
10
- u as useRoute
6
+ u as mapValues
11
7
  };
package/dist/index137.js CHANGED
@@ -1,8 +1,11 @@
1
- import { getCurrentInstance as e } from "vue";
2
- function n() {
3
- var r, t;
4
- return (t = (r = e()) == null ? void 0 : r.proxy) == null ? void 0 : t.$router;
1
+ import { getCurrentInstance as o, computed as r } from "vue";
2
+ function u() {
3
+ const t = o();
4
+ return r(() => {
5
+ var e;
6
+ return (e = t == null ? void 0 : t.proxy) == null ? void 0 : e.$route;
7
+ });
5
8
  }
6
9
  export {
7
- n as useRouter
10
+ u as useRoute
8
11
  };
package/dist/index138.js CHANGED
@@ -1,5 +1,8 @@
1
- import o from "./index13.js";
2
- /* empty css */
1
+ import { getCurrentInstance as e } from "vue";
2
+ function n() {
3
+ var r, t;
4
+ return (t = (r = e()) == null ? void 0 : r.proxy) == null ? void 0 : t.$router;
5
+ }
3
6
  export {
4
- o as default
7
+ n as useRouter
5
8
  };
package/dist/index139.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index15.js";
1
+ import o from "./index13.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index140.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index17.js";
1
+ import o from "./index15.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index141.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index19.js";
1
+ import o from "./index17.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index142.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index21.js";
1
+ import o from "./index19.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index143.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index23.js";
1
+ import o from "./index21.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index144.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index25.js";
1
+ import o from "./index23.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index145.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index27.js";
1
+ import o from "./index25.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index146.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index29.js";
1
+ import o from "./index27.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index147.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index31.js";
1
+ import o from "./index29.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index148.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index33.js";
1
+ import o from "./index31.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index149.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index35.js";
1
+ import o from "./index33.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index15.js CHANGED
@@ -1,19 +1,19 @@
1
- import { defineComponent as H, ref as u, computed as D, openBlock as E, createElementBlock as I, Fragment as M, createVNode as p, normalizeClass as F, withCtx as n, renderSlot as r, unref as s, createElementVNode as f, normalizeStyle as T, withModifiers as q, withDirectives as L, mergeProps as N, nextTick as O } from "vue";
2
- import { isHex as z } from "./index246.js";
3
- import { isNotNil as S } from "./index134.js";
4
- import { useFocusTrap as _ } from "./index228.js";
1
+ import { defineComponent as H, ref as u, computed as D, openBlock as E, createElementBlock as I, Fragment as M, createVNode as p, normalizeClass as _, withCtx as n, renderSlot as r, unref as s, createElementVNode as c, normalizeStyle as F, withModifiers as T, withDirectives as q, mergeProps as L, nextTick as N } from "vue";
2
+ import { isHex as O } from "./index245.js";
3
+ import { isNotNil as z } from "./index135.js";
4
+ import { useFocusTrap as S } from "./index215.js";
5
5
  import { useId as A } from "./index8.js";
6
- import { vMaska as K } from "./index229.js";
7
- import P from "./index231.js";
6
+ import { vMaska as K } from "./index246.js";
7
+ import P from "./index247.js";
8
8
  /* empty css */
9
- import R from "./index247.js";
9
+ import R from "./index249.js";
10
10
  /* empty css */
11
- import U from "./index223.js";
11
+ import U from "./index242.js";
12
12
  /* empty css */
13
- import j from "./index225.js";
13
+ import j from "./index244.js";
14
14
  import { wait as G } from "./index130.js";
15
- import { useLocale as J } from "./index221.js";
16
- const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], W = ["aria-label"], de = /* @__PURE__ */ H({
15
+ import { useLocale as J } from "./index219.js";
16
+ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], W = ["aria-label"], X = { class: "bb-common-input-inner-container__suffix" }, ce = /* @__PURE__ */ H({
17
17
  __name: "BaseColorInput",
18
18
  props: {
19
19
  "append:icon": {},
@@ -37,7 +37,7 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
37
37
  },
38
38
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
39
39
  setup(y, { emit: v }) {
40
- const t = y, o = v, c = t.id ?? `bb_${A().id.value}`, m = u(null), d = u(null), { t: k } = J(), g = D(() => ({
40
+ const t = y, o = v, m = t.id ?? `bb_${A().id.value}`, b = u(null), d = u(null), { t: k } = J(), g = D(() => ({
41
41
  "bb-base-color-input": !0,
42
42
  "bb-base-color-input--disabled": t.disabled,
43
43
  "bb-base-color-input--errors": t.hasErrors,
@@ -45,7 +45,7 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
45
45
  "bb-base-color-input--readonly": t.readonly,
46
46
  "bb-base-color-input--compact": t.compact,
47
47
  "bb-base-color-input--active": l.value
48
- })), w = {
48
+ })), h = {
49
49
  onBlur: (e) => o("blur", e),
50
50
  onChange: (e) => o("change", e),
51
51
  onClick: (e) => o("click", e),
@@ -58,9 +58,9 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
58
58
  onMouseup: (e) => o("mouseup", e),
59
59
  onMaska: (e) => {
60
60
  const a = e.detail;
61
- z(a.masked) ? o("update:modelValue", a.masked) : a.masked === "" && o("update:modelValue", null);
61
+ O(a.masked) ? o("update:modelValue", a.masked) : a.masked === "" && o("update:modelValue", null);
62
62
  }
63
- }, h = () => {
63
+ }, w = () => {
64
64
  V();
65
65
  }, C = {
66
66
  mask: "!#HHHHHH",
@@ -70,9 +70,9 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
70
70
  eager: !0
71
71
  }, l = u(!1), V = async () => {
72
72
  $.value = !0, l.value = !0, await G(100), B();
73
- }, b = async () => {
73
+ }, f = async () => {
74
74
  l.value = !1;
75
- }, $ = u(!1), { activate: B } = _(d, {
75
+ }, $ = u(!1), { activate: B } = S(d, {
76
76
  /**
77
77
  * This traps all clicks outside so we are pressing
78
78
  * the trigger we just allow and process that in its
@@ -83,16 +83,16 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
83
83
  clickOutsideDeactivates: (e) => {
84
84
  var i;
85
85
  const a = e.target;
86
- return a instanceof HTMLElement && (i = d.value) != null && i.$el.contains(a) || b(), !0;
86
+ return a instanceof HTMLElement && (i = d.value) != null && i.$el.contains(a) || f(), !0;
87
87
  },
88
- escapeDeactivates: () => (O(async () => {
89
- await b();
88
+ escapeDeactivates: () => (N(async () => {
89
+ await f();
90
90
  }), !0),
91
91
  returnFocusOnDeactivate: !0
92
92
  });
93
93
  return (e, a) => (E(), I(M, null, [
94
94
  p(j, {
95
- class: F(g.value)
95
+ class: _(g.value)
96
96
  }, {
97
97
  "prepend-outer": n(() => [
98
98
  r(e.$slots, "prepend-outer")
@@ -103,9 +103,9 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
103
103
  default: n(() => [
104
104
  p(U, {
105
105
  ref_key: "innerContainer",
106
- ref: m,
106
+ ref: b,
107
107
  "append:icon": t["append:icon"],
108
- clearable: e.clearable && s(S)(e.modelValue),
108
+ clearable: e.clearable && s(z)(e.modelValue),
109
109
  "prepend:icon": t["prepend:icon"],
110
110
  "onClick:clear": a[0] || (a[0] = (i) => e.$emit("update:modelValue", null))
111
111
  }, {
@@ -116,22 +116,23 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
116
116
  r(e.$slots, "prefix")
117
117
  ]),
118
118
  append: n(() => [
119
- f("button", {
119
+ c("button", {
120
120
  ref: "indicator",
121
121
  "aria-label": s(k)("colorInput.paletteLabel").value,
122
122
  class: "bb-base-color-input__indicator",
123
- style: T({ backgroundColor: t.modelValue ?? void 0 }),
123
+ style: F({ backgroundColor: t.modelValue ?? void 0 }),
124
124
  type: "button",
125
- onClick: q(h, ["stop"])
125
+ onClick: T(w, ["stop"])
126
126
  }, null, 12, W),
127
- r(e.$slots, "append")
128
- ]),
129
- suffix: n(() => [
130
- r(e.$slots, "suffix")
127
+ r(e.$slots, "append", {}, () => [
128
+ c("span", X, [
129
+ r(e.$slots, "suffix")
130
+ ])
131
+ ])
131
132
  ]),
132
133
  default: n(() => [
133
- L(f("input", N(w, {
134
- id: s(c),
134
+ q(c("input", L(h, {
135
+ id: s(m),
135
136
  "aria-describedby": e.ariaDescribedby,
136
137
  "aria-invalid": e.hasErrors ? !0 : void 0,
137
138
  autocomplete: e.autocomplete,
@@ -156,12 +157,12 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
156
157
  }, 8, ["class"]),
157
158
  p(P, {
158
159
  "base-class": "bb-base-color-input__pallette",
159
- "container-attributes": { id: s(c) },
160
+ "container-attributes": { id: s(m) },
160
161
  offset: 4,
161
162
  open: l.value,
162
163
  "teleport-target": e.teleportTarget,
163
164
  "transition-duration": e.transitionDuration,
164
- wrapper: m.value
165
+ wrapper: b.value
165
166
  }, {
166
167
  default: n(() => [
167
168
  p(R, {
@@ -178,5 +179,5 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
178
179
  }
179
180
  });
180
181
  export {
181
- de as default
182
+ ce as default
182
183
  };
package/dist/index150.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index37.js";
1
+ import o from "./index35.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index151.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index39.js";
1
+ import o from "./index37.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index152.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index41.js";
1
+ import o from "./index39.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index153.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index43.js";
1
+ import o from "./index41.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default