bitboss-ui 2.1.31 → 2.1.32

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 (252) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +4 -24
  2. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -24
  3. package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -24
  4. package/dist/components/CommonInputInnerContainer.vue.d.ts +3 -3
  5. package/dist/index.d.ts +3 -0
  6. package/dist/index.js +143 -138
  7. package/dist/index106.js +9 -9
  8. package/dist/index11.js +2 -2
  9. package/dist/index111.js +1 -1
  10. package/dist/index113.js +1 -1
  11. package/dist/index119.js +4 -4
  12. package/dist/index12.js +6 -6
  13. package/dist/index121.js +12 -12
  14. package/dist/index129.js +1 -1
  15. package/dist/index13.js +1 -1
  16. package/dist/index131.js +4 -4
  17. package/dist/index133.js +1 -1
  18. package/dist/index135.js +69 -2
  19. package/dist/index137.js +13 -377
  20. package/dist/index138.js +2 -9
  21. package/dist/index139.js +11 -25
  22. package/dist/index140.js +377 -2
  23. package/dist/index141.js +9 -5
  24. package/dist/index142.js +23 -7
  25. package/dist/index143.js +2 -6
  26. package/dist/index144.js +5 -3
  27. package/dist/index145.js +9 -3
  28. package/dist/index146.js +6 -3
  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 +9 -9
  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 +1 -1
  49. package/dist/index166.js +1 -1
  50. package/dist/index167.js +1 -1
  51. package/dist/index168.js +1 -1
  52. package/dist/index169.js +1 -1
  53. package/dist/index17.js +3 -3
  54. package/dist/index170.js +1 -1
  55. package/dist/index171.js +1 -1
  56. package/dist/index172.js +1 -1
  57. package/dist/index173.js +1 -1
  58. package/dist/index174.js +1 -1
  59. package/dist/index175.js +1 -1
  60. package/dist/index176.js +1 -1
  61. package/dist/index177.js +1 -1
  62. package/dist/index178.js +1 -1
  63. package/dist/index179.js +1 -1
  64. package/dist/index180.js +1 -1
  65. package/dist/index181.js +3 -2
  66. package/dist/index182.js +1 -1
  67. package/dist/index183.js +1 -1
  68. package/dist/index184.js +2 -3
  69. package/dist/index185.js +1 -1
  70. package/dist/index186.js +1 -1
  71. package/dist/index187.js +1 -1
  72. package/dist/index188.js +2 -2
  73. package/dist/index189.js +2 -2
  74. package/dist/index19.js +8 -8
  75. package/dist/index190.js +2 -2
  76. package/dist/index191.js +3 -2
  77. package/dist/index192.js +1 -1
  78. package/dist/index193.js +1 -1
  79. package/dist/index194.js +2 -3
  80. package/dist/index195.js +1 -1
  81. package/dist/index196.js +1 -1
  82. package/dist/index197.js +1 -1
  83. package/dist/index198.js +1 -1
  84. package/dist/index199.js +1 -1
  85. package/dist/index200.js +1 -1
  86. package/dist/index201.js +1 -1
  87. package/dist/index202.js +1 -1
  88. package/dist/index203.js +1 -1
  89. package/dist/index204.js +1 -1
  90. package/dist/index205.js +1 -1
  91. package/dist/index206.js +3 -138
  92. package/dist/index207.js +3 -2
  93. package/dist/index208.js +3 -2
  94. package/dist/index209.js +3 -34
  95. package/dist/index21.js +16 -16
  96. package/dist/index211.js +7 -13
  97. package/dist/index212.js +136 -9
  98. package/dist/index213.js +2 -5
  99. package/dist/index214.js +2 -5
  100. package/dist/index215.js +4 -5
  101. package/dist/index216.js +13 -5
  102. package/dist/index217.js +11 -5
  103. package/dist/index218.js +20 -5
  104. package/dist/index219.js +197 -2
  105. package/dist/index221.js +117 -2
  106. package/dist/index223.js +31 -66
  107. package/dist/index224.js +88 -0
  108. package/dist/index226.js +28 -116
  109. package/dist/index227.js +19 -0
  110. package/dist/index228.js +51 -2
  111. package/dist/index229.js +15 -4
  112. package/dist/index23.js +15 -15
  113. package/dist/index230.js +3 -2
  114. package/dist/index231.js +11 -50
  115. package/dist/index232.js +14 -15
  116. package/dist/index233.js +2 -106
  117. package/dist/index234.js +4 -0
  118. package/dist/index235.js +2 -100
  119. package/dist/index236.js +7 -0
  120. package/dist/index237.js +5 -4
  121. package/dist/index238.js +5 -197
  122. package/dist/index239.js +7 -0
  123. package/dist/index240.js +5 -86
  124. package/dist/index241.js +7 -0
  125. package/dist/index242.js +5 -29
  126. package/dist/index243.js +2 -15
  127. package/dist/index244.js +8 -3
  128. package/dist/index245.js +250 -12
  129. package/dist/index246.js +52 -16
  130. package/dist/index247.js +44 -183
  131. package/dist/index248.js +5 -3
  132. package/dist/index249.js +60 -2
  133. package/dist/index25.js +4 -4
  134. package/dist/index250.js +4 -2
  135. package/dist/index251.js +3 -7
  136. package/dist/index252.js +13 -7
  137. package/dist/index253.js +106 -5
  138. package/dist/index255.js +98 -6
  139. package/dist/index257.js +2 -52
  140. package/dist/index258.js +183 -44
  141. package/dist/index259.js +7 -5
  142. package/dist/index260.js +2 -60
  143. package/dist/index261.js +2 -7
  144. package/dist/index262.js +6 -17
  145. package/dist/index263.js +7 -12
  146. package/dist/index264.js +18 -6
  147. package/dist/index265.js +12 -229
  148. package/dist/index266.js +6 -10
  149. package/dist/index267.js +229 -3
  150. package/dist/index268.js +5 -6
  151. package/dist/index269.js +10 -16
  152. package/dist/index27.js +2 -2
  153. package/dist/index270.js +3 -3
  154. package/dist/index273.js +3 -9
  155. package/dist/index274.js +9 -9
  156. package/dist/index275.js +6 -8
  157. package/dist/index276.js +15 -66
  158. package/dist/index277.js +9 -5
  159. package/dist/index278.js +8 -5
  160. package/dist/index279.js +32 -7
  161. package/dist/index280.js +28 -2
  162. package/dist/index282.js +67 -4
  163. package/dist/index283.js +7 -0
  164. package/dist/index284.js +8 -7
  165. package/dist/index285.js +2 -3
  166. package/dist/index286.js +5 -4
  167. package/dist/index287.js +3 -7
  168. package/dist/index288.js +3 -11
  169. package/dist/index289.js +7 -3
  170. package/dist/index29.js +6 -6
  171. package/dist/index290.js +11 -3
  172. package/dist/index291.js +2 -17
  173. package/dist/index292.js +4 -3
  174. package/dist/index293.js +1 -1
  175. package/dist/index294.js +17 -3
  176. package/dist/index296.js +4 -280
  177. package/dist/index297.js +5 -2
  178. package/dist/index298.js +271 -116
  179. package/dist/index299.js +2 -2
  180. package/dist/index300.js +14 -13
  181. package/dist/index302.js +9 -9
  182. package/dist/index304.js +17 -14
  183. package/dist/index306.js +12 -16
  184. package/dist/index308.js +19 -5
  185. package/dist/index309.js +2 -6
  186. package/dist/index31.js +2 -2
  187. package/dist/index310.js +23 -15
  188. package/dist/index312.js +2 -27
  189. package/dist/index313.js +2 -2
  190. package/dist/index314.js +1 -1
  191. package/dist/index315.js +1 -1
  192. package/dist/index316.js +21 -1
  193. package/dist/index318.js +3 -22
  194. package/dist/index319.js +5 -0
  195. package/dist/index320.js +6 -2
  196. package/dist/index321.js +2 -718
  197. package/dist/index322.js +125 -366
  198. package/dist/index323.js +2 -58
  199. package/dist/index324.js +2 -2
  200. package/dist/index325.js +718 -2
  201. package/dist/index326.js +365 -32
  202. package/dist/index327.js +57 -27
  203. package/dist/index329.js +3 -8
  204. package/dist/index33.js +8 -8
  205. package/dist/index330.js +2 -6
  206. package/dist/index331.js +8 -8
  207. package/dist/index332.js +6 -8
  208. package/dist/index333.js +7 -128
  209. package/dist/index334.js +56 -367
  210. package/dist/index335.js +33 -33
  211. package/dist/index336.js +6 -56
  212. package/dist/index337.js +123 -222
  213. package/dist/index338.js +368 -6
  214. package/dist/index341.js +227 -46
  215. package/dist/index342.js +6 -92
  216. package/dist/index343.js +49 -0
  217. package/dist/index344.js +93 -3
  218. package/dist/index35.js +5 -5
  219. package/dist/index37.js +38 -38
  220. package/dist/index39.js +8 -8
  221. package/dist/index41.js +2 -2
  222. package/dist/index43.js +8 -8
  223. package/dist/index45.js +15 -15
  224. package/dist/index47.js +3 -3
  225. package/dist/index49.js +4 -4
  226. package/dist/index53.js +1 -1
  227. package/dist/index55.js +2 -2
  228. package/dist/index57.js +2 -2
  229. package/dist/index6.js +1 -1
  230. package/dist/index61.js +3 -3
  231. package/dist/index67.js +1 -1
  232. package/dist/index7.js +2 -2
  233. package/dist/index79.js +3 -3
  234. package/dist/index81.js +1 -1
  235. package/dist/index83.js +2 -2
  236. package/dist/index85.js +1 -1
  237. package/dist/index87.js +1 -1
  238. package/dist/index9.js +1 -1
  239. package/dist/index90.js +4 -4
  240. package/dist/index92.js +3 -3
  241. package/dist/index94.js +4 -4
  242. package/dist/index96.js +2 -2
  243. package/package.json +1 -1
  244. package/dist/index136.js +0 -13
  245. package/dist/index210.js +0 -15
  246. package/dist/index220.js +0 -4
  247. package/dist/index222.js +0 -22
  248. package/dist/index225.js +0 -15
  249. package/dist/index254.js +0 -7
  250. package/dist/index256.js +0 -252
  251. package/dist/index281.js +0 -4
  252. package/dist/index317.js +0 -4
package/dist/index342.js CHANGED
@@ -1,95 +1,9 @@
1
- import { commonjsGlobal as y } from "./index309.js";
2
- var p, _;
3
- function Z() {
4
- if (_) return p;
5
- _ = 1;
6
- var x = "Expected a function", I = NaN, W = "[object Symbol]", C = /^\s+|\s+$/g, M = /^[-+]0x[0-9a-f]+$/i, N = /^0b[01]+$/i, R = /^0o[0-7]+$/i, $ = parseInt, q = typeof y == "object" && y && y.Object === Object && y, A = typeof self == "object" && self && self.Object === Object && self, B = q || A || Function("return this")(), F = Object.prototype, G = F.toString, P = Math.max, D = Math.min, h = function() {
7
- return B.Date.now();
8
- };
9
- function H(e, r, n) {
10
- var f, a, g, c, i, u, s = 0, S = !1, d = !1, j = !0;
11
- if (typeof e != "function")
12
- throw new TypeError(x);
13
- r = O(r) || 0, m(n) && (S = !!n.leading, d = "maxWait" in n, g = d ? P(O(n.maxWait) || 0, r) : g, j = "trailing" in n ? !!n.trailing : j);
14
- function v(t) {
15
- var o = f, l = a;
16
- return f = a = void 0, s = t, c = e.apply(l, o), c;
17
- }
18
- function J(t) {
19
- return s = t, i = setTimeout(b, r), S ? v(t) : c;
20
- }
21
- function K(t) {
22
- var o = t - u, l = t - s, L = r - o;
23
- return d ? D(L, g - l) : L;
24
- }
25
- function E(t) {
26
- var o = t - u, l = t - s;
27
- return u === void 0 || o >= r || o < 0 || d && l >= g;
28
- }
29
- function b() {
30
- var t = h();
31
- if (E(t))
32
- return k(t);
33
- i = setTimeout(b, K(t));
34
- }
35
- function k(t) {
36
- return i = void 0, j && f ? v(t) : (f = a = void 0, c);
37
- }
38
- function Q() {
39
- i !== void 0 && clearTimeout(i), s = 0, f = u = a = i = void 0;
40
- }
41
- function V() {
42
- return i === void 0 ? c : k(h());
43
- }
44
- function T() {
45
- var t = h(), o = E(t);
46
- if (f = arguments, a = this, u = t, o) {
47
- if (i === void 0)
48
- return J(u);
49
- if (d)
50
- return i = setTimeout(b, r), v(u);
51
- }
52
- return i === void 0 && (i = setTimeout(b, r)), c;
53
- }
54
- return T.cancel = Q, T.flush = V, T;
55
- }
56
- function U(e, r, n) {
57
- var f = !0, a = !0;
58
- if (typeof e != "function")
59
- throw new TypeError(x);
60
- return m(n) && (f = "leading" in n ? !!n.leading : f, a = "trailing" in n ? !!n.trailing : a), H(e, r, {
61
- leading: f,
62
- maxWait: r,
63
- trailing: a
64
- });
65
- }
66
- function m(e) {
67
- var r = typeof e;
68
- return !!e && (r == "object" || r == "function");
69
- }
70
- function X(e) {
71
- return !!e && typeof e == "object";
72
- }
73
- function z(e) {
74
- return typeof e == "symbol" || X(e) && G.call(e) == W;
75
- }
76
- function O(e) {
77
- if (typeof e == "number")
78
- return e;
79
- if (z(e))
80
- return I;
81
- if (m(e)) {
82
- var r = typeof e.valueOf == "function" ? e.valueOf() : e;
83
- e = m(r) ? r + "" : r;
84
- }
85
- if (typeof e != "string")
86
- return e === 0 ? e : +e;
87
- e = e.replace(C, "");
88
- var n = N.test(e);
89
- return n || R.test(e) ? $(e.slice(2), n ? 2 : 8) : M.test(e) ? I : +e;
90
- }
91
- return p = U, p;
1
+ function l(n, c, r = 1) {
2
+ const o = Math.max(Math.ceil((c - n) / r), 0), t = new Array(o);
3
+ for (let e = 0; e < o; e++, n += r)
4
+ t[e] = n;
5
+ return t;
92
6
  }
93
7
  export {
94
- Z as __require
8
+ l as range
95
9
  };
@@ -0,0 +1,49 @@
1
+ import { elementScroll as f, observeElementOffset as s, observeElementRect as d, Virtualizer as p } from "./index348.js";
2
+ import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index348.js";
3
+ import { computed as g, unref as l, shallowRef as E, watch as o, triggerRef as i, onScopeDispose as v } from "vue";
4
+ function w(e) {
5
+ const t = new p(l(e)), a = E(t), u = t._didMount();
6
+ return o(
7
+ () => l(e).getScrollElement(),
8
+ (r) => {
9
+ r && t._willUpdate();
10
+ },
11
+ {
12
+ immediate: !0
13
+ }
14
+ ), o(
15
+ () => l(e),
16
+ (r) => {
17
+ t.setOptions({
18
+ ...r,
19
+ onChange: (c, m) => {
20
+ var n;
21
+ i(a), (n = r.onChange) == null || n.call(r, c, m);
22
+ }
23
+ }), t._willUpdate(), i(a);
24
+ },
25
+ {
26
+ immediate: !0
27
+ }
28
+ ), v(u), a;
29
+ }
30
+ function z(e) {
31
+ return w(
32
+ g(() => ({
33
+ observeElementRect: d,
34
+ observeElementOffset: s,
35
+ scrollToFn: f,
36
+ ...l(e)
37
+ }))
38
+ );
39
+ }
40
+ export {
41
+ p as Virtualizer,
42
+ S as defaultKeyExtractor,
43
+ V as defaultRangeExtractor,
44
+ f as elementScroll,
45
+ b as measureElement,
46
+ s as observeElementOffset,
47
+ d as observeElementRect,
48
+ z as useVirtualizer
49
+ };
package/dist/index344.js CHANGED
@@ -1,5 +1,95 @@
1
- import o from "./index327.js";
2
- /* empty css */
1
+ import { commonjsGlobal as y } from "./index320.js";
2
+ var p, _;
3
+ function Z() {
4
+ if (_) return p;
5
+ _ = 1;
6
+ var x = "Expected a function", I = NaN, W = "[object Symbol]", C = /^\s+|\s+$/g, M = /^[-+]0x[0-9a-f]+$/i, N = /^0b[01]+$/i, R = /^0o[0-7]+$/i, $ = parseInt, q = typeof y == "object" && y && y.Object === Object && y, A = typeof self == "object" && self && self.Object === Object && self, B = q || A || Function("return this")(), F = Object.prototype, G = F.toString, P = Math.max, D = Math.min, h = function() {
7
+ return B.Date.now();
8
+ };
9
+ function H(e, r, n) {
10
+ var f, a, g, c, i, u, s = 0, S = !1, d = !1, j = !0;
11
+ if (typeof e != "function")
12
+ throw new TypeError(x);
13
+ r = O(r) || 0, m(n) && (S = !!n.leading, d = "maxWait" in n, g = d ? P(O(n.maxWait) || 0, r) : g, j = "trailing" in n ? !!n.trailing : j);
14
+ function v(t) {
15
+ var o = f, l = a;
16
+ return f = a = void 0, s = t, c = e.apply(l, o), c;
17
+ }
18
+ function J(t) {
19
+ return s = t, i = setTimeout(b, r), S ? v(t) : c;
20
+ }
21
+ function K(t) {
22
+ var o = t - u, l = t - s, L = r - o;
23
+ return d ? D(L, g - l) : L;
24
+ }
25
+ function E(t) {
26
+ var o = t - u, l = t - s;
27
+ return u === void 0 || o >= r || o < 0 || d && l >= g;
28
+ }
29
+ function b() {
30
+ var t = h();
31
+ if (E(t))
32
+ return k(t);
33
+ i = setTimeout(b, K(t));
34
+ }
35
+ function k(t) {
36
+ return i = void 0, j && f ? v(t) : (f = a = void 0, c);
37
+ }
38
+ function Q() {
39
+ i !== void 0 && clearTimeout(i), s = 0, f = u = a = i = void 0;
40
+ }
41
+ function V() {
42
+ return i === void 0 ? c : k(h());
43
+ }
44
+ function T() {
45
+ var t = h(), o = E(t);
46
+ if (f = arguments, a = this, u = t, o) {
47
+ if (i === void 0)
48
+ return J(u);
49
+ if (d)
50
+ return i = setTimeout(b, r), v(u);
51
+ }
52
+ return i === void 0 && (i = setTimeout(b, r)), c;
53
+ }
54
+ return T.cancel = Q, T.flush = V, T;
55
+ }
56
+ function U(e, r, n) {
57
+ var f = !0, a = !0;
58
+ if (typeof e != "function")
59
+ throw new TypeError(x);
60
+ return m(n) && (f = "leading" in n ? !!n.leading : f, a = "trailing" in n ? !!n.trailing : a), H(e, r, {
61
+ leading: f,
62
+ maxWait: r,
63
+ trailing: a
64
+ });
65
+ }
66
+ function m(e) {
67
+ var r = typeof e;
68
+ return !!e && (r == "object" || r == "function");
69
+ }
70
+ function X(e) {
71
+ return !!e && typeof e == "object";
72
+ }
73
+ function z(e) {
74
+ return typeof e == "symbol" || X(e) && G.call(e) == W;
75
+ }
76
+ function O(e) {
77
+ if (typeof e == "number")
78
+ return e;
79
+ if (z(e))
80
+ return I;
81
+ if (m(e)) {
82
+ var r = typeof e.valueOf == "function" ? e.valueOf() : e;
83
+ e = m(r) ? r + "" : r;
84
+ }
85
+ if (typeof e != "string")
86
+ return e === 0 ? e : +e;
87
+ e = e.replace(C, "");
88
+ var n = N.test(e);
89
+ return n || R.test(e) ? $(e.slice(2), n ? 2 : 8) : M.test(e) ? I : +e;
90
+ }
91
+ return p = U, p;
92
+ }
3
93
  export {
4
- o as default
94
+ Z as __require
5
95
  };
package/dist/index35.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, ref as v, computed as f, createElementBlock as l, openBlock as r, mergeProps as h, createElementVNode as i, renderSlot as p, Fragment as V, renderList as M, normalizeClass as D, toDisplayString as F, unref as y } from "vue";
2
- import { booleanishToBoolean as T } from "./index230.js";
3
- import { identity as $ } from "./index219.js";
4
- import { isCssColor as k } from "./index228.js";
5
- import { isNotNil as q } from "./index140.js";
6
- import { useLocale as x } from "./index211.js";
2
+ import { booleanishToBoolean as T } from "./index233.js";
3
+ import { identity as $ } from "./index234.js";
4
+ import { isCssColor as k } from "./index235.js";
5
+ import { isNotNil as q } from "./index143.js";
6
+ import { useLocale as x } from "./index216.js";
7
7
  const H = { class: "bb-base-rating__inner-container" }, S = { class: "bb-base-rating__label-text sr-only" }, N = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], j = ["height", "width"], W = /* @__PURE__ */ I({
8
8
  __name: "BaseRating",
9
9
  props: {
package/dist/index37.js CHANGED
@@ -5,32 +5,32 @@ import { useId as tt } from "./index8.js";
5
5
  import { useMobile as lt } from "./index9.js";
6
6
  import at from "./index111.js";
7
7
  /* empty css */
8
- import { hash as ot } from "./index244.js";
9
- import { isEmpty as nt } from "./index220.js";
10
- import { last as ut } from "./index221.js";
11
- import { matchAnyKey as ie } from "./index262.js";
12
- import { useArray as st } from "./index263.js";
13
- import { useBaseOptions as it } from "./index231.js";
14
- import { useCoherence as rt } from "./index243.js";
15
- import { useHashedWatcher as re } from "./index245.js";
16
- import { useIndexById as de } from "./index232.js";
17
- import { useMounted as dt, useIntersectionObserver as ct } from "./index137.js";
18
- import { useItemsGetter as pt } from "./index242.js";
19
- import { useLocale as mt } from "./index211.js";
20
- import { usePrefill as ft } from "./index246.js";
21
- import { wait as q } from "./index135.js";
22
- import { waitFor as vt } from "./index264.js";
23
- import { when as ht } from "./index229.js";
24
- import yt from "./index233.js";
8
+ import ot from "./index135.js";
25
9
  /* empty css */
26
- import bt from "./index235.js";
10
+ import nt from "./index137.js";
11
+ import { hash as ut } from "./index230.js";
12
+ import { isEmpty as st } from "./index257.js";
13
+ import { last as it } from "./index243.js";
14
+ import { matchAnyKey as ie } from "./index264.js";
15
+ import { useArray as rt } from "./index265.js";
16
+ import { useBaseOptions as dt } from "./index228.js";
17
+ import { useCoherence as ct } from "./index229.js";
18
+ import { useHashedWatcher as re } from "./index231.js";
19
+ import { useIndexById as de } from "./index227.js";
20
+ import { useMounted as pt, useIntersectionObserver as mt } from "./index140.js";
21
+ import { useItemsGetter as ft } from "./index226.js";
22
+ import { useLocale as vt } from "./index216.js";
23
+ import { usePrefill as ht } from "./index232.js";
24
+ import { wait as q } from "./index138.js";
25
+ import { waitFor as yt } from "./index266.js";
26
+ import { when as bt } from "./index250.js";
27
+ import gt from "./index253.js";
27
28
  /* empty css */
28
- import gt from "./index223.js";
29
+ import wt from "./index255.js";
29
30
  /* empty css */
30
- import wt from "./index225.js";
31
- import Bt from "./index226.js";
31
+ import Bt from "./index221.js";
32
32
  /* empty css */
33
- import Vt from "./index265.js";
33
+ import Vt from "./index267.js";
34
34
  const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-select__input-container" }, Ct = {
35
35
  key: 1,
36
36
  class: "bb-base-select__max-reached"
@@ -81,12 +81,12 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
81
81
  const t = ce, n = pe;
82
82
  if (t.multiple && !Array.isArray(t.modelValue))
83
83
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
84
- const { t: me } = mt(), fe = dt(), x = p(null), $ = p(null), u = p(null), Q = p(null), X = p(null), r = h(
84
+ const { t: me } = vt(), fe = pt(), x = p(null), $ = p(null), u = p(null), Q = p(null), X = p(null), r = h(
85
85
  () => t.comma ? Q.value : X.value
86
86
  ), { isMobile: ve } = lt(), he = h(
87
87
  () => t.allowWriting === "not-mobile" && ve.value ? "none" : void 0
88
88
  ), Y = t.id || tt().id.value;
89
- ct(
89
+ mt(
90
90
  // @ts-expect-error - wrong inferred type
91
91
  $,
92
92
  ([{ intersectionRatio: e }]) => {
@@ -163,7 +163,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
163
163
  debouncedGetter: De,
164
164
  items: He,
165
165
  loading: Z
166
- } = pt({
166
+ } = ft({
167
167
  items: F(t, "items"),
168
168
  debounce: t.queryDebounceTime
169
169
  }), N = () => {
@@ -173,7 +173,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
173
173
  hasPrefilled: ee,
174
174
  isPrefilling: Le,
175
175
  prefill: Ee
176
- } = ft({
176
+ } = ht({
177
177
  onStart: t.prefill === !0,
178
178
  currentValue: t.modelValue,
179
179
  multiple: t.multiple,
@@ -185,14 +185,14 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
185
185
  add: le,
186
186
  remove: Fe,
187
187
  set: Te
188
- } = st(), i = h(() => {
188
+ } = rt(), i = h(() => {
189
189
  const e = Object.fromEntries(
190
190
  Object.entries(W.value).map(([l], o) => [l, o])
191
191
  );
192
192
  return k.value.filter((l) => l.selected).sort((l, o) => e[l.valueHash] - e[o.valueHash]);
193
193
  }), Ae = h(() => i.value.length ? "" : t.placeholder), { data: W, get: qe } = de({
194
194
  items: F(t, "modelValue")
195
- }), { options: k } = it({
195
+ }), { options: k } = dt({
196
196
  disabled: F(t, "disabled"),
197
197
  items: h(() => [...He.value, ...te.value]),
198
198
  itemText: t.itemText,
@@ -215,7 +215,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
215
215
  return;
216
216
  }
217
217
  let e;
218
- i.value && (e = ut(i.value)), a.value = (e == null ? void 0 : e.text) || "";
218
+ i.value && (e = it(i.value)), a.value = (e == null ? void 0 : e.text) || "";
219
219
  }, Me = async (e) => {
220
220
  t.multiple ? (n("update:modelValue", t.modelValue.concat(e.value)), t.stash && le(e.item), b()) : (t.stash && Te(e.item), n("update:modelValue", e.value), await J(), b()), _(), t.multiple || I();
221
221
  }, K = async (e) => {
@@ -228,10 +228,10 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
228
228
  }, { data: Pe } = de({
229
229
  items: k,
230
230
  key: "valueHash"
231
- }), { coherent: ae, status: _e } = rt({
231
+ }), { coherent: ae, status: _e } = ct({
232
232
  modelValue: F(t, "modelValue"),
233
233
  multiple: t.multiple,
234
- iteratee: (e) => !!Pe.value[ot(e)]
234
+ iteratee: (e) => !!Pe.value[ut(e)]
235
235
  });
236
236
  let V = 0;
237
237
  re(
@@ -254,7 +254,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
254
254
  const c = p(!1), U = p(!0), E = p(!1), C = async () => {
255
255
  E.value || (M(), window.addEventListener("resize", M, {
256
256
  passive: !0
257
- })), E.value = !0, await vt(() => !!u.value), U.value = !1, c.value = !0;
257
+ })), E.value = !0, await yt(() => !!u.value), U.value = !1, c.value = !0;
258
258
  }, I = async () => {
259
259
  var e;
260
260
  c.value = !1, U.value = !0, (e = r.value) == null || e.blur();
@@ -264,7 +264,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
264
264
  j.value = !1, n("inactive");
265
265
  }, Ke = (e) => {
266
266
  e.preventDefault(), n("click", e), !(t.disabled || t.readonly) && (_(), ze());
267
- }, Ue = ht(
267
+ }, Ue = bt(
268
268
  (e) => typeof e != "string",
269
269
  JSON.stringify
270
270
  ), je = h(() => [].concat(t.modelValue).map((e) => {
@@ -279,7 +279,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
279
279
  let e = null;
280
280
  t.multiple && (e = []), n("update:modelValue", e);
281
281
  };
282
- return (e, l) => (y(), T(wt, {
282
+ return (e, l) => (y(), T(nt, {
283
283
  ref_key: "outerContainer",
284
284
  ref: x,
285
285
  class: oe({
@@ -302,11 +302,11 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
302
302
  ]),
303
303
  default: s(() => [
304
304
  A("div", St, [
305
- R(gt, {
305
+ R(ot, {
306
306
  ref_key: "innerContainer",
307
307
  ref: $,
308
308
  "append:icon": t["append:icon"],
309
- clearable: e.clearable && !g(nt)(e.modelValue),
309
+ clearable: e.clearable && !g(st)(e.modelValue),
310
310
  "prepend:icon": t["prepend:icon"],
311
311
  "prevent-focus": !0,
312
312
  "onClick:clear": Re
@@ -328,13 +328,13 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
328
328
  default: s(() => [
329
329
  A("span", kt, [
330
330
  e.multiple && i.value.length <= e.maxSelectedLabels ? (y(), O(ne, { key: 0 }, [
331
- e.comma ? (y(), T(bt, {
331
+ e.comma ? (y(), T(wt, {
332
332
  key: 0,
333
333
  ref_key: "commaBox",
334
334
  ref: Q,
335
335
  options: i.value,
336
336
  "onOption:unselected": K
337
- }, null, 8, ["options"])) : (y(), T(yt, {
337
+ }, null, 8, ["options"])) : (y(), T(gt, {
338
338
  key: 1,
339
339
  ref_key: "chipsBox",
340
340
  ref: X,
package/dist/index39.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as re, ref as d, computed as p, onMounted as te, watch as le, createElementBlock as y, openBlock as g, mergeProps as N, renderSlot as v, createElementVNode as m, createCommentVNode as H, Fragment as oe, renderList as ne, normalizeProps as se, guardReactiveProps as ie, unref as c, normalizeStyle as G, normalizeClass as O } from "vue";
2
- import { head as ue } from "./index249.js";
3
- import { isCssColor as Y } from "./index228.js";
4
- import { isNil as S } from "./index250.js";
5
- import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index136.js";
6
- import { snapToStep as me } from "./index251.js";
7
- import { last as ce } from "./index221.js";
8
- import { transpose as j } from "./index252.js";
9
- import { clamp as f } from "./index208.js";
2
+ import { head as ue } from "./index261.js";
3
+ import { isCssColor as Y } from "./index235.js";
4
+ import { isNil as S } from "./index260.js";
5
+ import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index139.js";
6
+ import { snapToStep as me } from "./index262.js";
7
+ import { last as ce } from "./index243.js";
8
+ import { transpose as j } from "./index263.js";
9
+ import { clamp as f } from "./index214.js";
10
10
  const be = { class: "bb-base-slider__slider-container" }, ve = {
11
11
  key: 0,
12
12
  class: "bb-base-slider__ticks-container"
package/dist/index41.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as I, ref as f, computed as n, watch as S, createElementBlock as h, openBlock as y, normalizeProps as r, guardReactiveProps as d, createCommentVNode as A, createElementVNode as l, mergeProps as V, renderSlot as F } from "vue";
2
- import { isCssColor as b } from "./index228.js";
3
- import { when as N } from "./index229.js";
2
+ import { isCssColor as b } from "./index235.js";
3
+ import { when as N } from "./index250.js";
4
4
  const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index43.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index41.js";
3
3
  /* empty css */
4
- import N from "./index240.js";
4
+ import N from "./index224.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index242.js";
7
- import { useIndexById as T } from "./index232.js";
8
- import { useBaseOptions as q } from "./index231.js";
9
- import { useCoherence as J } from "./index243.js";
10
- import { hash as Q } from "./index244.js";
11
- import { useHashedWatcher as $ } from "./index245.js";
12
- import { usePrefill as X } from "./index246.js";
6
+ import { useItemsGetter as U } from "./index226.js";
7
+ import { useIndexById as T } from "./index227.js";
8
+ import { useBaseOptions as q } from "./index228.js";
9
+ import { useCoherence as J } from "./index229.js";
10
+ import { hash as Q } from "./index230.js";
11
+ import { useHashedWatcher as $ } from "./index231.js";
12
+ import { usePrefill as X } from "./index232.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
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 "./index221.js";
7
- import { useBaseOptions as ne } from "./index231.js";
8
- import { useIndexById as re } from "./index232.js";
9
- import ie from "./index233.js";
6
+ import le from "./index135.js";
10
7
  /* empty css */
11
- import ue from "./index235.js";
8
+ import ne from "./index137.js";
9
+ import { last as re } from "./index243.js";
10
+ import { useBaseOptions as ie } from "./index228.js";
11
+ import { useIndexById as ue } from "./index227.js";
12
+ import se from "./index253.js";
12
13
  /* empty css */
13
- import se from "./index223.js";
14
+ import de from "./index255.js";
14
15
  /* empty css */
15
- import de from "./index225.js";
16
- import { isEmpty as pe } from "./index220.js";
16
+ import { isEmpty as pe } from "./index257.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: {
@@ -47,9 +47,9 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
47
47
  () => t.comma ? B.value : V.value
48
48
  ), p = u(null), A = () => {
49
49
  p.value instanceof HTMLInputElement && p.value.focus();
50
- }, o = u(""), i = f(() => K.value.filter((e) => e.selected)), { data: w, get: H } = re({
50
+ }, o = u(""), i = f(() => K.value.filter((e) => e.selected)), { data: w, get: H } = ue({
51
51
  items: E(t, "modelValue")
52
- }), { options: K } = ne({
52
+ }), { options: K } = ie({
53
53
  disabled: E(t, "disabled"),
54
54
  items: f(() => [].concat(t.modelValue)),
55
55
  itemText: void 0,
@@ -63,7 +63,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
63
63
  return;
64
64
  }
65
65
  let e;
66
- i.value && (e = le(i.value)), o.value = (e == null ? void 0 : e.text) || "";
66
+ i.value && (e = re(i.value)), o.value = (e == null ? void 0 : e.text) || "";
67
67
  }, q = async (e) => {
68
68
  if (t.multiple) {
69
69
  const a = { ...w.value };
@@ -140,7 +140,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
140
140
  let e = null;
141
141
  t.multiple && (e = []), l("update:modelValue", e);
142
142
  };
143
- return (e, a) => (v(), k(de, {
143
+ return (e, a) => (v(), k(ne, {
144
144
  ref_key: "outerContainer",
145
145
  ref: b,
146
146
  class: G({
@@ -161,7 +161,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
161
161
  d(e.$slots, "append-outer")
162
162
  ]),
163
163
  default: n(() => [
164
- I(se, {
164
+ I(le, {
165
165
  ref_key: "innerContainer",
166
166
  ref: T,
167
167
  "append:icon": t["append:icon"],
@@ -187,12 +187,12 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
187
187
  default: n(() => [
188
188
  O("span", ce, [
189
189
  e.multiple ? (v(), J(Y, { key: 0 }, [
190
- e.comma ? (v(), k(ue, {
190
+ e.comma ? (v(), k(de, {
191
191
  key: 0,
192
192
  ref_key: "commaBox",
193
193
  ref: B,
194
194
  options: i.value
195
- }, null, 8, ["options"])) : (v(), k(ie, {
195
+ }, null, 8, ["options"])) : (v(), k(se, {
196
196
  key: 1,
197
197
  ref_key: "chipsBox",
198
198
  ref: V,
package/dist/index47.js CHANGED
@@ -1,10 +1,10 @@
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 "./index225.js";
3
- import G from "./index223.js";
2
+ import E from "./index137.js";
3
+ import G from "./index135.js";
4
4
  /* empty css */
5
5
  import M from "./index111.js";
6
6
  /* empty css */
7
- import { isNotNil as q } from "./index140.js";
7
+ import { isNotNil as q } from "./index143.js";
8
8
  const H = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "rows", "value"], Y = /* @__PURE__ */ h({
9
9
  __name: "BaseTextarea",
10
10
  props: {
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 "./index223.js";
2
+ import E from "./index135.js";
3
3
  /* empty css */
4
- import I from "./index225.js";
5
- import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index247.js";
4
+ import I from "./index137.js";
5
+ import { isNotNil as N } from "./index143.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 "./index211.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,6 +1,6 @@
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 "./index228.js";
3
- import { wait as C } from "./index135.js";
2
+ import { isCssColor as y } from "./index235.js";
3
+ import { wait as C } from "./index138.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
6
6
  class: "bb-avatar__fallback"
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 "./index228.js";
3
- import { isNil as B } from "./index250.js";
2
+ import { isCssColor as l } from "./index235.js";
3
+ import { isNil as B } from "./index260.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/index6.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ref as i } from "vue";
2
- import { wait as f } from "./index135.js";
2
+ import { wait as f } from "./index138.js";
3
3
  const u = [], o = {
4
4
  current: null,
5
5
  processing: !1,