bitboss-ui 2.1.20 → 2.1.22

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 (183) hide show
  1. package/dist/index106.js +7 -7
  2. package/dist/index111.js +1 -1
  3. package/dist/index113.js +1 -1
  4. package/dist/index121.js +10 -10
  5. package/dist/index129.js +1 -1
  6. package/dist/index13.js +1 -1
  7. package/dist/index131.js +4 -4
  8. package/dist/index133.js +1 -1
  9. package/dist/index136.js +1 -1
  10. package/dist/index137.js +2 -2
  11. package/dist/index138.js +1 -1
  12. package/dist/index139.js +2 -2
  13. package/dist/index15.js +8 -8
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +8 -8
  16. package/dist/index206.js +2 -138
  17. package/dist/index207.js +138 -2
  18. package/dist/index208.js +2 -2
  19. package/dist/index209.js +5 -4
  20. package/dist/index21.js +16 -16
  21. package/dist/index210.js +5 -13
  22. package/dist/index211.js +5 -11
  23. package/dist/index212.js +5 -20
  24. package/dist/index213.js +5 -197
  25. package/dist/index214.js +7 -0
  26. package/dist/index215.js +5 -72
  27. package/dist/index216.js +5 -0
  28. package/dist/index217.js +2 -13
  29. package/dist/index218.js +6 -112
  30. package/dist/index219.js +252 -0
  31. package/dist/index220.js +52 -5
  32. package/dist/index221.js +44 -5
  33. package/dist/index222.js +4 -4
  34. package/dist/index223.js +60 -5
  35. package/dist/index224.js +13 -5
  36. package/dist/index225.js +2 -5
  37. package/dist/index226.js +4 -5
  38. package/dist/index227.js +2 -3
  39. package/dist/index228.js +2 -2
  40. package/dist/index229.js +2 -8
  41. package/dist/index23.js +15 -15
  42. package/dist/index230.js +7 -250
  43. package/dist/index231.js +7 -52
  44. package/dist/index232.js +3 -44
  45. package/dist/index233.js +86 -5
  46. package/dist/index235.js +28 -33
  47. package/dist/index236.js +17 -86
  48. package/dist/index237.js +53 -0
  49. package/dist/index238.js +12 -26
  50. package/dist/index239.js +11 -15
  51. package/dist/index240.js +14 -15
  52. package/dist/index241.js +12 -50
  53. package/dist/index242.js +10 -14
  54. package/dist/index243.js +2 -12
  55. package/dist/index244.js +5 -2
  56. package/dist/index245.js +2 -2
  57. package/dist/index246.js +20 -2
  58. package/dist/index247.js +66 -99
  59. package/dist/index249.js +13 -100
  60. package/dist/index25.js +3 -3
  61. package/dist/index250.js +116 -0
  62. package/dist/index252.js +4 -4
  63. package/dist/index253.js +197 -5
  64. package/dist/index255.js +9 -11
  65. package/dist/index256.js +3 -6
  66. package/dist/index257.js +89 -212
  67. package/dist/index259.js +100 -2
  68. package/dist/index261.js +34 -7
  69. package/dist/index262.js +17 -182
  70. package/dist/index263.js +12 -3
  71. package/dist/index264.js +6 -13
  72. package/dist/index265.js +229 -6
  73. package/dist/index266.js +182 -15
  74. package/dist/index267.js +3 -9
  75. package/dist/index268.js +9 -23
  76. package/dist/index269.js +23 -10
  77. package/dist/index27.js +1 -1
  78. package/dist/index270.js +9 -3
  79. package/dist/index271.js +6 -3
  80. package/dist/index272.js +16 -9
  81. package/dist/index273.js +1 -1
  82. package/dist/index276.js +67 -5
  83. package/dist/index277.js +5 -67
  84. package/dist/index278.js +7 -4
  85. package/dist/index279.js +5 -8
  86. package/dist/index280.js +4 -3
  87. package/dist/index281.js +280 -3
  88. package/dist/index282.js +4 -0
  89. package/dist/index283.js +16 -7
  90. package/dist/index284.js +2 -3
  91. package/dist/index285.js +16 -7
  92. package/dist/index286.js +2 -11
  93. package/dist/index287.js +19 -2
  94. package/dist/index288.js +2 -280
  95. package/dist/index289.js +15 -2
  96. package/dist/index29.js +4 -4
  97. package/dist/index290.js +2 -16
  98. package/dist/index291.js +19 -2
  99. package/dist/index292.js +2 -16
  100. package/dist/index293.js +27 -2
  101. package/dist/index294.js +2 -19
  102. package/dist/index295.js +2 -2
  103. package/dist/index296.js +2 -15
  104. package/dist/index297.js +2 -2
  105. package/dist/index298.js +2 -19
  106. package/dist/index299.js +28 -2
  107. package/dist/index300.js +22 -27
  108. package/dist/index302.js +7 -2
  109. package/dist/index303.js +7 -2
  110. package/dist/index304.js +11 -2
  111. package/dist/index305.js +6 -2
  112. package/dist/index306.js +5 -28
  113. package/dist/index307.js +4 -22
  114. package/dist/{index313.js → index308.js} +1 -1
  115. package/dist/index309.js +17 -4
  116. package/dist/index31.js +2 -2
  117. package/dist/index310.js +125 -3
  118. package/dist/index311.js +2 -17
  119. package/dist/index312.js +3 -6
  120. package/dist/index314.js +1 -1
  121. package/dist/index315.js +3 -4
  122. package/dist/index316.js +3 -125
  123. package/dist/index317.js +3 -2
  124. package/dist/index318.js +1 -1
  125. package/dist/index319.js +2 -5
  126. package/dist/index320.js +5 -718
  127. package/dist/index321.js +715 -363
  128. package/dist/index322.js +366 -58
  129. package/dist/index323.js +58 -5
  130. package/dist/index324.js +2 -7
  131. package/dist/index325.js +6 -7
  132. package/dist/index326.js +18 -5
  133. package/dist/index327.js +7 -8
  134. package/dist/index328.js +44 -126
  135. package/dist/index329.js +56 -367
  136. package/dist/index33.js +8 -8
  137. package/dist/index330.js +57 -32
  138. package/dist/index331.js +8 -28
  139. package/dist/index332.js +8 -0
  140. package/dist/index333.js +8 -7
  141. package/dist/index334.js +127 -17
  142. package/dist/index335.js +367 -56
  143. package/dist/index336.js +227 -57
  144. package/dist/index337.js +33 -2
  145. package/dist/index338.js +28 -47
  146. package/dist/index340.js +1 -1
  147. package/dist/index341.js +483 -124
  148. package/dist/index342.js +120 -427
  149. package/dist/index344.js +5 -0
  150. package/dist/index345.js +50 -3
  151. package/dist/index346.js +421 -473
  152. package/dist/index347.js +125 -48
  153. package/dist/index35.js +4 -4
  154. package/dist/index37.js +22 -22
  155. package/dist/index39.js +7 -7
  156. package/dist/index41.js +2 -2
  157. package/dist/index43.js +8 -8
  158. package/dist/index45.js +8 -8
  159. package/dist/index47.js +2 -2
  160. package/dist/index49.js +3 -3
  161. package/dist/index53.js +1 -1
  162. package/dist/index55.js +1 -1
  163. package/dist/index57.js +2 -2
  164. package/dist/index61.js +3 -3
  165. package/dist/index67.js +1 -1
  166. package/dist/index79.js +4 -4
  167. package/dist/index81.js +1 -1
  168. package/dist/index83.js +2 -2
  169. package/dist/index85.js +1 -1
  170. package/dist/index87.js +1 -1
  171. package/dist/index90.js +3 -3
  172. package/dist/index92.js +2 -2
  173. package/dist/index94.js +3 -3
  174. package/dist/index96.js +1 -1
  175. package/package.json +1 -1
  176. package/dist/index234.js +0 -62
  177. package/dist/index251.js +0 -4
  178. package/dist/index254.js +0 -20
  179. package/dist/index258.js +0 -4
  180. package/dist/index260.js +0 -9
  181. package/dist/index301.js +0 -4
  182. package/dist/index339.js +0 -230
  183. package/dist/index343.js +0 -129
package/dist/index347.js CHANGED
@@ -1,52 +1,129 @@
1
- function T(n, i, e) {
2
- let l = e.initialDeps ?? [], t;
3
- function r() {
4
- var o, m, h, f;
5
- let g;
6
- e.key && ((o = e.debug) != null && o.call(e)) && (g = Date.now());
7
- const u = n();
8
- if (!(u.length !== l.length || u.some((c, a) => l[a] !== c)))
9
- return t;
10
- l = u;
11
- let s;
12
- if (e.key && ((m = e.debug) != null && m.call(e)) && (s = Date.now()), t = i(...u), e.key && ((h = e.debug) != null && h.call(e))) {
13
- const c = Math.round((Date.now() - g) * 100) / 100, a = Math.round((Date.now() - s) * 100) / 100, b = a / 16, w = (d, v) => {
14
- for (d = String(d); d.length < v; )
15
- d = " " + d;
16
- return d;
17
- };
18
- console.info(
19
- `%c⏱ ${w(a, 5)} /${w(c, 5)} ms`,
20
- `
21
- font-size: .6rem;
22
- font-weight: bold;
23
- color: hsl(${Math.max(
24
- 0,
25
- Math.min(120 - 120 * b, 120)
26
- )}deg 100% 31%);`,
27
- e == null ? void 0 : e.key
28
- );
29
- }
30
- return (f = e == null ? void 0 : e.onChange) == null || f.call(e, t), t;
1
+ const P = ["top", "right", "bottom", "left"], l = Math.min, m = Math.max, M = Math.round, O = Math.floor, S = (t) => ({
2
+ x: t,
3
+ y: t
4
+ }), p = {
5
+ left: "right",
6
+ right: "left",
7
+ bottom: "top",
8
+ top: "bottom"
9
+ }, a = {
10
+ start: "end",
11
+ end: "start"
12
+ };
13
+ function w(t, n, e) {
14
+ return m(t, l(n, e));
15
+ }
16
+ function j(t, n) {
17
+ return typeof t == "function" ? t(n) : t;
18
+ }
19
+ function u(t) {
20
+ return t.split("-")[0];
21
+ }
22
+ function g(t) {
23
+ return t.split("-")[1];
24
+ }
25
+ function h(t) {
26
+ return t === "x" ? "y" : "x";
27
+ }
28
+ function b(t) {
29
+ return t === "y" ? "height" : "width";
30
+ }
31
+ function x(t) {
32
+ return ["top", "bottom"].includes(u(t)) ? "y" : "x";
33
+ }
34
+ function d(t) {
35
+ return h(x(t));
36
+ }
37
+ function C(t, n, e) {
38
+ e === void 0 && (e = !1);
39
+ const r = g(t), o = d(t), i = b(o);
40
+ let c = o === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
41
+ return n.reference[i] > n.floating[i] && (c = f(c)), [c, f(c)];
42
+ }
43
+ function L(t) {
44
+ const n = f(t);
45
+ return [s(t), n, s(n)];
46
+ }
47
+ function s(t) {
48
+ return t.replace(/start|end/g, (n) => a[n]);
49
+ }
50
+ function A(t, n, e) {
51
+ const r = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], c = ["bottom", "top"];
52
+ switch (t) {
53
+ case "top":
54
+ case "bottom":
55
+ return e ? n ? o : r : n ? r : o;
56
+ case "left":
57
+ case "right":
58
+ return n ? i : c;
59
+ default:
60
+ return [];
31
61
  }
32
- return r.updateDeps = (o) => {
33
- l = o;
34
- }, r;
35
- }
36
- function y(n, i) {
37
- if (n === void 0)
38
- throw new Error("Unexpected undefined");
39
- return n;
40
- }
41
- const M = (n, i) => Math.abs(n - i) <= 1, k = (n, i, e) => {
42
- let l;
43
- return function(...t) {
44
- n.clearTimeout(l), l = n.setTimeout(() => i.apply(this, t), e);
62
+ }
63
+ function E(t, n, e, r) {
64
+ const o = g(t);
65
+ let i = A(u(t), e === "start", r);
66
+ return o && (i = i.map((c) => c + "-" + o), n && (i = i.concat(i.map(s)))), i;
67
+ }
68
+ function f(t) {
69
+ return t.replace(/left|right|bottom|top/g, (n) => p[n]);
70
+ }
71
+ function y(t) {
72
+ return {
73
+ top: 0,
74
+ right: 0,
75
+ bottom: 0,
76
+ left: 0,
77
+ ...t
45
78
  };
46
- };
79
+ }
80
+ function R(t) {
81
+ return typeof t != "number" ? y(t) : {
82
+ top: t,
83
+ right: t,
84
+ bottom: t,
85
+ left: t
86
+ };
87
+ }
88
+ function T(t) {
89
+ const {
90
+ x: n,
91
+ y: e,
92
+ width: r,
93
+ height: o
94
+ } = t;
95
+ return {
96
+ width: r,
97
+ height: o,
98
+ top: e,
99
+ left: n,
100
+ right: n + r,
101
+ bottom: e + o,
102
+ x: n,
103
+ y: e
104
+ };
105
+ }
47
106
  export {
48
- M as approxEqual,
49
- k as debounce,
50
- T as memo,
51
- y as notUndefined
107
+ w as clamp,
108
+ S as createCoords,
109
+ j as evaluate,
110
+ y as expandPaddingObject,
111
+ O as floor,
112
+ g as getAlignment,
113
+ d as getAlignmentAxis,
114
+ C as getAlignmentSides,
115
+ b as getAxisLength,
116
+ L as getExpandedPlacements,
117
+ s as getOppositeAlignmentPlacement,
118
+ h as getOppositeAxis,
119
+ E as getOppositeAxisPlacements,
120
+ f as getOppositePlacement,
121
+ R as getPaddingObject,
122
+ u as getSide,
123
+ x as getSideAxis,
124
+ m as max,
125
+ l as min,
126
+ T as rectToClientRect,
127
+ M as round,
128
+ P as sides
52
129
  };
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 "./index244.js";
3
- import { identity as $ } from "./index245.js";
4
- import { isCssColor as k } from "./index246.js";
2
+ import { booleanishToBoolean as T } from "./index227.js";
3
+ import { identity as $ } from "./index243.js";
4
+ import { isCssColor as k } from "./index225.js";
5
5
  import { isNotNil as q } from "./index140.js";
6
- import { useLocale as x } from "./index210.js";
6
+ import { useLocale as x } from "./index224.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 "./index227.js";
9
- import { isEmpty as nt } from "./index251.js";
10
- import { last as ut } from "./index228.js";
11
- import { matchAnyKey as ie } from "./index254.js";
12
- import { useArray as st } from "./index255.js";
13
- import { useBaseOptions as it } from "./index241.js";
14
- import { useCoherence as rt } from "./index242.js";
15
- import { useHashedWatcher as re } from "./index243.js";
16
- import { useIndexById as de } from "./index240.js";
8
+ import { hash as ot } from "./index216.js";
9
+ import { isEmpty as nt } from "./index245.js";
10
+ import { last as ut } from "./index217.js";
11
+ import { matchAnyKey as ie } from "./index262.js";
12
+ import { useArray as st } from "./index263.js";
13
+ import { useBaseOptions as it } from "./index237.js";
14
+ import { useCoherence as rt } from "./index238.js";
15
+ import { useHashedWatcher as re } from "./index239.js";
16
+ import { useIndexById as de } from "./index236.js";
17
17
  import { useMounted as dt, useIntersectionObserver as ct } from "./index137.js";
18
- import { useItemsGetter as pt } from "./index238.js";
19
- import { useLocale as mt } from "./index210.js";
20
- import { usePrefill as ft } from "./index239.js";
18
+ import { useItemsGetter as pt } from "./index235.js";
19
+ import { useLocale as mt } from "./index224.js";
20
+ import { usePrefill as ft } from "./index240.js";
21
21
  import { wait as q } from "./index135.js";
22
- import { waitFor as vt } from "./index256.js";
23
- import { when as ht } from "./index252.js";
24
- import yt from "./index247.js";
22
+ import { waitFor as vt } from "./index264.js";
23
+ import { when as ht } from "./index226.js";
24
+ import yt from "./index257.js";
25
25
  /* empty css */
26
- import bt from "./index249.js";
26
+ import bt from "./index259.js";
27
27
  /* empty css */
28
- import gt from "./index215.js";
28
+ import gt from "./index247.js";
29
29
  /* empty css */
30
- import wt from "./index217.js";
31
- import Bt from "./index218.js";
30
+ import wt from "./index249.js";
31
+ import Bt from "./index250.js";
32
32
  /* empty css */
33
- import Vt from "./index257.js";
33
+ import Vt from "./index265.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"
@@ -237,7 +237,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
237
237
  re(
238
238
  () => t.modelValue,
239
239
  async () => {
240
- V++, ae.value || (await z(a.value, !1, t.modelValue), N()), V === 1 && b(), V--;
240
+ V++, ae.value || (await z(a.value, !0, t.modelValue), N()), V === 1 && b(), V--;
241
241
  },
242
242
  {
243
243
  debounce: t.modelValueDebounceTime
@@ -245,7 +245,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
245
245
  ), re(
246
246
  () => [t.dependencies, t.items],
247
247
  async () => {
248
- ee.value && (V++, await z(a.value, !1, t.modelValue), V === 1 && (N(), b()), V--);
248
+ ee.value && (V++, await z(a.value, !0, t.modelValue), V === 1 && (N(), b()), V--);
249
249
  },
250
250
  {
251
251
  debounce: t.depsDebounceTime
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 "./index259.js";
3
- import { isCssColor as Y } from "./index246.js";
4
- import { isNil as S } from "./index258.js";
2
+ import { head as ue } from "./index228.js";
3
+ import { isCssColor as Y } from "./index225.js";
4
+ import { isNil as S } from "./index229.js";
5
5
  import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index136.js";
6
- import { snapToStep as me } from "./index260.js";
7
- import { last as ce } from "./index228.js";
8
- import { transpose as j } from "./index261.js";
9
- import { clamp as f } from "./index208.js";
6
+ import { snapToStep as me } from "./index230.js";
7
+ import { last as ce } from "./index217.js";
8
+ import { transpose as j } from "./index231.js";
9
+ import { clamp as f } from "./index206.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 "./index246.js";
3
- import { when as N } from "./index252.js";
2
+ import { isCssColor as b } from "./index225.js";
3
+ import { when as N } from "./index226.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 "./index236.js";
4
+ import N from "./index233.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index238.js";
7
- import { useIndexById as T } from "./index240.js";
8
- import { useBaseOptions as q } from "./index241.js";
9
- import { useCoherence as J } from "./index242.js";
10
- import { hash as Q } from "./index227.js";
11
- import { useHashedWatcher as $ } from "./index243.js";
12
- import { usePrefill as X } from "./index239.js";
6
+ import { useItemsGetter as U } from "./index235.js";
7
+ import { useIndexById as T } from "./index236.js";
8
+ import { useBaseOptions as q } from "./index237.js";
9
+ import { useCoherence as J } from "./index238.js";
10
+ import { hash as Q } from "./index216.js";
11
+ import { useHashedWatcher as $ } from "./index239.js";
12
+ import { usePrefill as X } from "./index240.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 "./index228.js";
7
- import { useBaseOptions as ne } from "./index241.js";
8
- import { useIndexById as re } from "./index240.js";
9
- import ie from "./index247.js";
6
+ import { last as le } from "./index217.js";
7
+ import { useBaseOptions as ne } from "./index237.js";
8
+ import { useIndexById as re } from "./index236.js";
9
+ import ie from "./index257.js";
10
10
  /* empty css */
11
- import ue from "./index249.js";
11
+ import ue from "./index259.js";
12
12
  /* empty css */
13
- import se from "./index215.js";
13
+ import se from "./index247.js";
14
14
  /* empty css */
15
- import de from "./index217.js";
16
- import { isEmpty as pe } from "./index251.js";
15
+ import de from "./index249.js";
16
+ import { isEmpty as pe } from "./index245.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 "./index217.js";
3
- import G from "./index215.js";
2
+ import E from "./index249.js";
3
+ import G from "./index247.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 "./index215.js";
2
+ import E from "./index247.js";
3
3
  /* empty css */
4
- import I from "./index217.js";
4
+ import I from "./index249.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index262.js";
6
+ import { MaskInput as z } from "./index266.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 "./index210.js";
6
+ import { useLocale as g } from "./index224.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 "./index246.js";
2
+ import { isCssColor as y } from "./index225.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 "./index246.js";
3
- import { isNil as B } from "./index258.js";
2
+ import { isCssColor as l } from "./index225.js";
3
+ import { isNil as B } from "./index229.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 "./index269.js";
11
- import { noop as w } from "./index270.js";
12
- import { useLocale as D } from "./index210.js";
10
+ import { pickBy as W } from "./index255.js";
11
+ import { noop as w } from "./index256.js";
12
+ import { useLocale as D } from "./index224.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index67.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
2
- import { useLocale as f } from "./index210.js";
2
+ import { useLocale as f } from "./index224.js";
3
3
  const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
4
4
  __name: "BbChip",
5
5
  props: {
package/dist/index79.js CHANGED
@@ -1,15 +1,15 @@
1
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 "./index267.js";
2
+ import { findRightIndex as T } from "./index268.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index211.js";
4
+ import { useUntil as ne } from "./index242.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 "./index218.js";
10
+ import le from "./index250.js";
11
11
  /* empty css */
12
- import K from "./index268.js";
12
+ import K from "./index269.js";
13
13
  const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ N({
14
14
  __name: "BbDropdown",
15
15
  props: {
package/dist/index81.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
9
9
  /* empty css */
10
10
  import I from "./index113.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index210.js";
12
+ import { useLocale as M } from "./index224.js";
13
13
  const O = { class: "bb-dropdown-button__content" }, R = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index83.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index266.js";
2
+ import { findInTree as ae } from "./index272.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index111.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index265.js")).default);
56
+ b || (b = (await import("./index271.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index85.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, createElementBlock as h, openBlock as $, mergeProps as g } from "vue";
2
- import { isCssColor as I } from "./index246.js";
2
+ import { isCssColor as I } from "./index225.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index87.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index271.js";
2
+ import { throttle as c } from "./index267.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index90.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as O, mergeModels as E, useModel as P, computed as p, ref as T, watch as q, onMounted as A, createElementBlock as d, openBlock as c, withModifiers as H, normalizeStyle as K, normalizeClass as R, unref as v, createCommentVNode as y, Fragment as U, createElementVNode as l, renderSlot as s, createTextVNode as j, toDisplayString as z, nextTick as G } from "vue";
2
- import { parseSize as J } from "./index264.js";
2
+ import { parseSize as J } from "./index241.js";
3
3
  import { useId as D } from "./index8.js";
4
- import { useLocale as Q } from "./index210.js";
4
+ import { useLocale as Q } from "./index224.js";
5
5
  import { useMobile as X } from "./index9.js";
6
- import { useUntil as Y } from "./index211.js";
6
+ import { useUntil as Y } from "./index242.js";
7
7
  import { wait as h } from "./index135.js";
8
8
  const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
9
9
  ref: "header",
package/dist/index92.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
3
3
  /* empty css */
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index272.js";
7
- import { useLocale as H } from "./index210.js";
6
+ import { debounce as X } from "./index270.js";
7
+ import { useLocale as H } from "./index224.js";
8
8
  import { useRoute as J } from "./index142.js";
9
9
  const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
10
10
  __name: "BbPagination",
package/dist/index94.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as l, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
2
2
  import { useId as H } from "./index8.js";
3
3
  import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index210.js";
5
- import { useUntil as W } from "./index211.js";
4
+ import { useLocale as U } from "./index224.js";
5
+ import { useUntil as W } from "./index242.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index218.js";
8
+ import A from "./index250.js";
9
9
  /* empty css */
10
10
  const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
11
11
  __name: "BbPopover",
package/dist/index96.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index208.js";
2
+ import { clamp as p } from "./index206.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.20",
3
+ "version": "2.1.22",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index234.js DELETED
@@ -1,62 +0,0 @@
1
- import { defineComponent as g, ref as i, computed as d, onMounted as h, createElementBlock as m, openBlock as u, createElementVNode as y, Fragment as x, renderList as B, createBlock as C, normalizeClass as S, withCtx as T, createTextVNode as E, toDisplayString as w } from "vue";
2
- import { range as H } from "./index324.js";
3
- import M from "./index13.js";
4
- /* empty css */
5
- const n = 10, l = 3, V = /* @__PURE__ */ g({
6
- __name: "BaseDatePickerYearSelector",
7
- props: {
8
- cursor: {},
9
- disabled: { type: Boolean }
10
- },
11
- emits: ["update:year"],
12
- setup(p, { emit: _ }) {
13
- const f = p, b = _, o = i(), r = d(() => f.cursor.year()), c = i(r.value - n * l), s = i(r.value + n * l), v = d(
14
- () => H(c.value, s.value).map((e) => ({
15
- text: e,
16
- key: e,
17
- selected: e === r.value,
18
- handler: () => b("update:year", e)
19
- }))
20
- ), k = (e) => {
21
- const t = e.target;
22
- t.scrollTop <= 100 ? c.value = Math.max(
23
- c.value - n * l,
24
- r.value - 200
25
- ) : t.scrollHeight - t.scrollTop === t.clientHeight && (s.value = Math.min(s.value + n * l, 2101));
26
- };
27
- return h(() => {
28
- if (!o.value) return;
29
- const e = o.value.querySelector(
30
- ".content__btn--selected"
31
- );
32
- e && (e.parentElement.scrollTop = e.offsetTop - e.parentElement.clientHeight / 2 + 16);
33
- }), (e, t) => (u(), m("div", {
34
- ref_key: "container",
35
- ref: o,
36
- class: "bb-base-date-picker__button-menu bb-base-date-picker__year-selector scrollbar-border"
37
- }, [
38
- y("div", {
39
- class: "content",
40
- onScrollPassive: k
41
- }, [
42
- (u(!0), m(x, null, B(v.value, (a) => (u(), C(M, {
43
- key: a.key,
44
- class: S({
45
- content__btn: !0,
46
- "content__btn--selected": a.selected
47
- }),
48
- disabled: e.disabled,
49
- onClick: a.handler
50
- }, {
51
- default: T(() => [
52
- E(w(a.text), 1)
53
- ]),
54
- _: 2
55
- }, 1032, ["class", "disabled", "onClick"]))), 128))
56
- ], 32)
57
- ], 512));
58
- }
59
- });
60
- export {
61
- V as default
62
- };
package/dist/index251.js DELETED
@@ -1,4 +0,0 @@
1
- const n = (t) => t == null || Number.isNaN(t) || typeof t == "object" && Object.keys(t).length === 0 || typeof t == "string" && t.trim().length === 0 || t instanceof Map && [...t.keys()].length === 0 || t instanceof Set && [...t.keys()].length === 0;
2
- export {
3
- n as isEmpty
4
- };