bitboss-ui 2.0.31 → 2.0.33

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 (141) hide show
  1. package/dist/index104.js +65 -69
  2. package/dist/index106.js +5 -5
  3. package/dist/index114.js +1 -1
  4. package/dist/index116.js +5 -5
  5. package/dist/index118.js +1 -1
  6. package/dist/index122.js +1 -1
  7. package/dist/index123.js +1 -1
  8. package/dist/index124.js +1 -1
  9. package/dist/index126.js +1 -1
  10. package/dist/index128.js +81 -77
  11. package/dist/index129.js +1 -1
  12. package/dist/index13.js +1 -1
  13. package/dist/index15.js +3 -3
  14. package/dist/index17.js +2 -2
  15. package/dist/index19.js +14 -14
  16. package/dist/index198.js +2 -81
  17. package/dist/index199.js +116 -2
  18. package/dist/index200.js +8 -2
  19. package/dist/index201.js +5 -4
  20. package/dist/index202.js +16 -2
  21. package/dist/index203.js +16 -8
  22. package/dist/index204.js +19 -3
  23. package/dist/index205.js +19 -3
  24. package/dist/index206.js +26 -34
  25. package/dist/index207.js +3 -6
  26. package/dist/index208.js +2 -7
  27. package/dist/index209.js +245 -277
  28. package/dist/index21.js +15 -15
  29. package/dist/index210.js +51 -15
  30. package/dist/index211.js +44 -16
  31. package/dist/index212.js +5 -19
  32. package/dist/index213.js +49 -19
  33. package/dist/index214.js +124 -25
  34. package/dist/index215.js +123 -3
  35. package/dist/index216.js +2 -2
  36. package/dist/index217.js +34 -248
  37. package/dist/index218.js +171 -49
  38. package/dist/index219.js +5 -43
  39. package/dist/index220.js +42 -4
  40. package/dist/index222.js +13 -126
  41. package/dist/index223.js +5 -123
  42. package/dist/index224.js +369 -2
  43. package/dist/index225.js +3 -174
  44. package/dist/index226.js +3 -43
  45. package/dist/index227.js +9 -0
  46. package/dist/index228.js +158 -13
  47. package/dist/index229.js +84 -5
  48. package/dist/index23.js +5 -5
  49. package/dist/index231.js +2 -158
  50. package/dist/index232.js +4 -84
  51. package/dist/index233.js +4 -0
  52. package/dist/index234.js +1 -1
  53. package/dist/index236.js +1 -1
  54. package/dist/index238.js +1 -1
  55. package/dist/index243.js +281 -3
  56. package/dist/index244.js +6 -9
  57. package/dist/index245.js +2 -23
  58. package/dist/index246.js +2 -6
  59. package/dist/index247.js +2 -16
  60. package/dist/index248.js +2 -9
  61. package/dist/index249.js +2 -4
  62. package/dist/index25.js +1 -1
  63. package/dist/index250.js +2 -224
  64. package/dist/index251.js +2 -431
  65. package/dist/index252.js +2 -89
  66. package/dist/index253.js +2 -2
  67. package/dist/index254.js +2 -9
  68. package/dist/index255.js +27 -5
  69. package/dist/index256.js +22 -2
  70. package/dist/index258.js +7 -2
  71. package/dist/index259.js +2 -2
  72. package/dist/index260.js +126 -2
  73. package/dist/index261.js +431 -2
  74. package/dist/index262.js +3 -2
  75. package/dist/index264.js +21 -1
  76. package/dist/index266.js +222 -26
  77. package/dist/index267.js +199 -21
  78. package/dist/index268.js +438 -0
  79. package/dist/index269.js +126 -6
  80. package/dist/index27.js +3 -3
  81. package/dist/index270.js +3 -200
  82. package/dist/index271.js +8 -65
  83. package/dist/index272.js +23 -5
  84. package/dist/index273.js +9 -2
  85. package/dist/index274.js +6 -126
  86. package/dist/index275.js +16 -3
  87. package/dist/index276.js +91 -0
  88. package/dist/index277.js +3 -22
  89. package/dist/index278.js +14 -0
  90. package/dist/index279.js +9 -3
  91. package/dist/index280.js +9 -12
  92. package/dist/index281.js +16 -8
  93. package/dist/index282.js +4 -17
  94. package/dist/index283.js +3 -436
  95. package/dist/index284.js +3 -127
  96. package/dist/index285.js +211 -3
  97. package/dist/index286.js +15 -3
  98. package/dist/index287.js +2 -211
  99. package/dist/index288.js +7 -79
  100. package/dist/index29.js +2 -2
  101. package/dist/index290.js +19 -4
  102. package/dist/index291.js +66 -4
  103. package/dist/index292.js +5 -59
  104. package/dist/index293.js +34 -14
  105. package/dist/index294.js +79 -2
  106. package/dist/index296.js +4 -19
  107. package/dist/index297.js +4 -11
  108. package/dist/index298.js +58 -6
  109. package/dist/index299.js +2 -2
  110. package/dist/index300.js +10 -34
  111. package/dist/index301.js +2 -480
  112. package/dist/index302.js +482 -0
  113. package/dist/index304.js +416 -42
  114. package/dist/index305.js +47 -2
  115. package/dist/index31.js +2 -2
  116. package/dist/index33.js +3 -3
  117. package/dist/index35.js +9 -9
  118. package/dist/index37.js +3 -3
  119. package/dist/index39.js +2 -2
  120. package/dist/index41.js +2 -2
  121. package/dist/index43.js +4 -4
  122. package/dist/index45.js +2 -2
  123. package/dist/index47.js +2 -2
  124. package/dist/index53.js +1 -1
  125. package/dist/index55.js +1 -1
  126. package/dist/index71.js +3 -3
  127. package/dist/index75.js +2 -2
  128. package/dist/index77.js +1 -1
  129. package/dist/index80.js +2 -2
  130. package/dist/index82.js +1 -1
  131. package/dist/index84.js +3 -3
  132. package/dist/index86.js +1 -1
  133. package/dist/style.css +1 -1
  134. package/package.json +1 -1
  135. package/dist/index221.js +0 -51
  136. package/dist/index230.js +0 -371
  137. package/dist/index263.js +0 -4
  138. package/dist/index265.js +0 -4
  139. package/dist/index303.js +0 -423
  140. /package/dist/{index295.js → index289.js} +0 -0
  141. /package/dist/{index257.js → index306.js} +0 -0
package/dist/index128.js CHANGED
@@ -1,7 +1,7 @@
1
- import { toValue as S, notNullish as $, noop as _, tryOnScopeDispose as R, useDebounceFn as q, useThrottleFn as G, tryOnMounted as Q, isClient as J, isObject as K } from "./index198.js";
2
- import { createFilterWrapper as fe, debounceFilter as ve, getLifeCycleTarget as de, throttleFilter as me } from "./index198.js";
3
- import { computed as O, ref as T, watch as V, reactive as k, getCurrentInstance as U, onMounted as Z, watchEffect as ee } from "vue";
4
- function F(l) {
1
+ import { toValue as S, notNullish as $, noop as _, tryOnScopeDispose as R, useDebounceFn as q, useThrottleFn as G, tryOnMounted as Q, isClient as J, isObject as K } from "./index199.js";
2
+ import { bypassFilter as fe, createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as he, throttleFilter as me, throttledWatch as pe, throttledWatch as be, watchWithFilter as ge } from "./index199.js";
3
+ import { computed as T, ref as O, watch as V, reactive as k, watchEffect as U, getCurrentInstance as Z, onMounted as ee } from "vue";
4
+ function N(l) {
5
5
  var r;
6
6
  const t = S(l);
7
7
  return (r = t == null ? void 0 : t.$el) != null ? r : t;
@@ -14,14 +14,14 @@ function P(...l) {
14
14
  Array.isArray(t) || (t = [t]), Array.isArray(n) || (n = [n]);
15
15
  const v = [], i = () => {
16
16
  v.forEach((a) => a()), v.length = 0;
17
- }, f = (a, s, m, g) => (a.addEventListener(s, m, g), () => a.removeEventListener(s, m, g)), d = V(
18
- () => [F(r), S(e)],
17
+ }, f = (a, s, h, b) => (a.addEventListener(s, h, b), () => a.removeEventListener(s, h, b)), d = V(
18
+ () => [N(r), S(e)],
19
19
  ([a, s]) => {
20
20
  if (i(), !a)
21
21
  return;
22
- const m = K(s) ? { ...s } : s;
22
+ const h = K(s) ? { ...s } : s;
23
23
  v.push(
24
- ...t.flatMap((g) => n.map((p) => f(a, g, p, m)))
24
+ ...t.flatMap((b) => n.map((m) => f(a, b, m, h)))
25
25
  );
26
26
  },
27
27
  { immediate: !0, flush: "post" }
@@ -31,23 +31,23 @@ function P(...l) {
31
31
  return R(c), c;
32
32
  }
33
33
  function te() {
34
- const l = T(!1), r = U();
35
- return r && Z(() => {
34
+ const l = O(!1), r = Z();
35
+ return r && ee(() => {
36
36
  l.value = !0;
37
37
  }, r), l;
38
38
  }
39
39
  function X(l) {
40
40
  const r = te();
41
- return O(() => (r.value, !!l()));
41
+ return T(() => (r.value, !!l()));
42
42
  }
43
43
  function ne(l, r = {}) {
44
44
  const { window: t = H } = r, n = X(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
45
45
  let e;
46
- const v = T(!1), i = (c) => {
46
+ const v = O(!1), i = (c) => {
47
47
  v.value = c.matches;
48
48
  }, f = () => {
49
49
  e && ("removeEventListener" in e ? e.removeEventListener("change", i) : e.removeListener(i));
50
- }, d = ee(() => {
50
+ }, d = U(() => {
51
51
  n.value && (f(), e = t.matchMedia(S(l)), "addEventListener" in e ? e.addEventListener("change", i) : e.addListener(i), v.value = e.matches);
52
52
  });
53
53
  return R(() => {
@@ -61,33 +61,33 @@ function le(l, r, t = {}) {
61
61
  threshold: v = 0.1,
62
62
  window: i = H,
63
63
  immediate: f = !0
64
- } = t, d = X(() => i && "IntersectionObserver" in i), c = O(() => {
65
- const p = S(l);
66
- return (Array.isArray(p) ? p : [p]).map(F).filter($);
64
+ } = t, d = X(() => i && "IntersectionObserver" in i), c = T(() => {
65
+ const m = S(l);
66
+ return (Array.isArray(m) ? m : [m]).map(N).filter($);
67
67
  });
68
68
  let a = _;
69
- const s = T(f), m = d.value ? V(
70
- () => [c.value, F(n), s.value],
71
- ([p, I]) => {
72
- if (a(), !s.value || !p.length)
69
+ const s = O(f), h = d.value ? V(
70
+ () => [c.value, N(n), s.value],
71
+ ([m, I]) => {
72
+ if (a(), !s.value || !m.length)
73
73
  return;
74
- const x = new IntersectionObserver(
74
+ const w = new IntersectionObserver(
75
75
  r,
76
76
  {
77
- root: F(I),
77
+ root: N(I),
78
78
  rootMargin: e,
79
79
  threshold: v
80
80
  }
81
81
  );
82
- p.forEach((h) => h && x.observe(h)), a = () => {
83
- x.disconnect(), a = _;
82
+ m.forEach((p) => p && w.observe(p)), a = () => {
83
+ w.disconnect(), a = _;
84
84
  };
85
85
  },
86
86
  { immediate: f, flush: "post" }
87
- ) : _, g = () => {
88
- a(), m(), s.value = !1;
87
+ ) : _, b = () => {
88
+ a(), h(), s.value = !1;
89
89
  };
90
- return R(g), {
90
+ return R(b), {
91
91
  isSupported: d,
92
92
  isActive: s,
93
93
  pause() {
@@ -96,7 +96,7 @@ function le(l, r, t = {}) {
96
96
  resume() {
97
97
  s.value = !0;
98
98
  },
99
- stop: g
99
+ stop: b
100
100
  };
101
101
  }
102
102
  const z = 1;
@@ -121,66 +121,66 @@ function ue(l, r = {}) {
121
121
  onError: a = (o) => {
122
122
  console.error(o);
123
123
  }
124
- } = r, s = T(0), m = T(0), g = O({
124
+ } = r, s = O(0), h = O(0), b = T({
125
125
  get() {
126
126
  return s.value;
127
127
  },
128
128
  set(o) {
129
129
  I(o, void 0);
130
130
  }
131
- }), p = O({
131
+ }), m = T({
132
132
  get() {
133
- return m.value;
133
+ return h.value;
134
134
  },
135
135
  set(o) {
136
136
  I(void 0, o);
137
137
  }
138
138
  });
139
139
  function I(o, A) {
140
- var b, M, W, w;
140
+ var g, M, W, x;
141
141
  if (!c)
142
142
  return;
143
- const y = S(l);
144
- if (!y)
143
+ const E = S(l);
144
+ if (!E)
145
145
  return;
146
- (W = y instanceof Document ? c.document.body : y) == null || W.scrollTo({
147
- top: (b = S(A)) != null ? b : p.value,
148
- left: (M = S(o)) != null ? M : g.value,
146
+ (W = E instanceof Document ? c.document.body : E) == null || W.scrollTo({
147
+ top: (g = S(A)) != null ? g : m.value,
148
+ left: (M = S(o)) != null ? M : b.value,
149
149
  behavior: S(d)
150
150
  });
151
- const N = ((w = y == null ? void 0 : y.document) == null ? void 0 : w.documentElement) || (y == null ? void 0 : y.documentElement) || y;
152
- g != null && (s.value = N.scrollLeft), p != null && (m.value = N.scrollTop);
151
+ const F = ((x = E == null ? void 0 : E.document) == null ? void 0 : x.documentElement) || (E == null ? void 0 : E.documentElement) || E;
152
+ b != null && (s.value = F.scrollLeft), m != null && (h.value = F.scrollTop);
153
153
  }
154
- const x = T(!1), h = k({
154
+ const w = O(!1), p = k({
155
155
  left: !0,
156
156
  right: !1,
157
157
  top: !0,
158
158
  bottom: !1
159
- }), E = k({
159
+ }), y = k({
160
160
  left: !1,
161
161
  right: !1,
162
162
  top: !1,
163
163
  bottom: !1
164
164
  }), C = (o) => {
165
- x.value && (x.value = !1, E.left = !1, E.right = !1, E.top = !1, E.bottom = !1, e(o));
165
+ w.value && (w.value = !1, y.left = !1, y.right = !1, y.top = !1, y.bottom = !1, e(o));
166
166
  }, D = q(C, t + n), u = (o) => {
167
167
  var A;
168
168
  if (!c)
169
169
  return;
170
- const b = ((A = o == null ? void 0 : o.document) == null ? void 0 : A.documentElement) || (o == null ? void 0 : o.documentElement) || F(o), { display: M, flexDirection: W } = getComputedStyle(b), w = b.scrollLeft;
171
- E.left = w < s.value, E.right = w > s.value;
172
- const y = Math.abs(w) <= (i.left || 0), N = Math.abs(w) + b.clientWidth >= b.scrollWidth - (i.right || 0) - z;
173
- M === "flex" && W === "row-reverse" ? (h.left = N, h.right = y) : (h.left = y, h.right = N), s.value = w;
174
- let L = b.scrollTop;
175
- o === c.document && !L && (L = c.document.body.scrollTop), E.top = L < m.value, E.bottom = L > m.value;
176
- const Y = Math.abs(L) <= (i.top || 0), j = Math.abs(L) + b.clientHeight >= b.scrollHeight - (i.bottom || 0) - z;
177
- M === "flex" && W === "column-reverse" ? (h.top = j, h.bottom = Y) : (h.top = Y, h.bottom = j), m.value = L;
170
+ const g = ((A = o == null ? void 0 : o.document) == null ? void 0 : A.documentElement) || (o == null ? void 0 : o.documentElement) || N(o), { display: M, flexDirection: W } = getComputedStyle(g), x = g.scrollLeft;
171
+ y.left = x < s.value, y.right = x > s.value;
172
+ const E = Math.abs(x) <= (i.left || 0), F = Math.abs(x) + g.clientWidth >= g.scrollWidth - (i.right || 0) - z;
173
+ M === "flex" && W === "row-reverse" ? (p.left = F, p.right = E) : (p.left = E, p.right = F), s.value = x;
174
+ let L = g.scrollTop;
175
+ o === c.document && !L && (L = c.document.body.scrollTop), y.top = L < h.value, y.bottom = L > h.value;
176
+ const Y = Math.abs(L) <= (i.top || 0), j = Math.abs(L) + g.clientHeight >= g.scrollHeight - (i.bottom || 0) - z;
177
+ M === "flex" && W === "column-reverse" ? (p.top = j, p.bottom = Y) : (p.top = Y, p.bottom = j), h.value = L;
178
178
  }, B = (o) => {
179
179
  var A;
180
180
  if (!c)
181
181
  return;
182
- const b = (A = o.target.documentElement) != null ? A : o.target;
183
- u(b), x.value = !0, D(o), v(o);
182
+ const g = (A = o.target.documentElement) != null ? A : o.target;
183
+ u(g), w.value = !0, D(o), v(o);
184
184
  };
185
185
  return P(
186
186
  l,
@@ -202,11 +202,11 @@ function ue(l, r = {}) {
202
202
  C,
203
203
  f
204
204
  ), {
205
- x: g,
206
- y: p,
207
- isScrolling: x,
208
- arrivedState: h,
209
- directions: E,
205
+ x: b,
206
+ y: m,
207
+ isScrolling: w,
208
+ arrivedState: p,
209
+ directions: y,
210
210
  measure() {
211
211
  const o = S(l);
212
212
  c && o && u(o);
@@ -214,7 +214,7 @@ function ue(l, r = {}) {
214
214
  };
215
215
  }
216
216
  function ie(l, r) {
217
- const t = T(l), n = O(() => Array.isArray(t.value) ? t.value : Object.keys(t.value)), e = T(n.value.indexOf(r ?? n.value[0])), v = O(() => a(e.value)), i = O(() => e.value === 0), f = O(() => e.value === n.value.length - 1), d = O(() => n.value[e.value + 1]), c = O(() => n.value[e.value - 1]);
217
+ const t = O(l), n = T(() => Array.isArray(t.value) ? t.value : Object.keys(t.value)), e = O(n.value.indexOf(r ?? n.value[0])), v = T(() => a(e.value)), i = T(() => e.value === 0), f = T(() => e.value === n.value.length - 1), d = T(() => n.value[e.value + 1]), c = T(() => n.value[e.value - 1]);
218
218
  function a(u) {
219
219
  return Array.isArray(t.value) ? t.value[u] : t.value[n.value[u]];
220
220
  }
@@ -222,25 +222,25 @@ function ie(l, r) {
222
222
  if (n.value.includes(u))
223
223
  return a(n.value.indexOf(u));
224
224
  }
225
- function m(u) {
225
+ function h(u) {
226
226
  n.value.includes(u) && (e.value = n.value.indexOf(u));
227
227
  }
228
- function g() {
228
+ function b() {
229
229
  f.value || e.value++;
230
230
  }
231
- function p() {
231
+ function m() {
232
232
  i.value || e.value--;
233
233
  }
234
234
  function I(u) {
235
- D(u) && m(u);
235
+ D(u) && h(u);
236
236
  }
237
- function x(u) {
237
+ function w(u) {
238
238
  return n.value.indexOf(u) === e.value + 1;
239
239
  }
240
- function h(u) {
240
+ function p(u) {
241
241
  return n.value.indexOf(u) === e.value - 1;
242
242
  }
243
- function E(u) {
243
+ function y(u) {
244
244
  return n.value.indexOf(u) === e.value;
245
245
  }
246
246
  function C(u) {
@@ -260,13 +260,13 @@ function ie(l, r) {
260
260
  isLast: f,
261
261
  at: a,
262
262
  get: s,
263
- goTo: m,
264
- goToNext: g,
265
- goToPrevious: p,
263
+ goTo: h,
264
+ goToNext: b,
265
+ goToPrevious: m,
266
266
  goBackTo: I,
267
- isNext: x,
268
- isPrevious: h,
269
- isCurrent: E,
267
+ isNext: w,
268
+ isPrevious: p,
269
+ isCurrent: y,
270
270
  isBefore: C,
271
271
  isAfter: D
272
272
  };
@@ -278,7 +278,7 @@ function se(l = {}) {
278
278
  initialHeight: n = Number.POSITIVE_INFINITY,
279
279
  listenOrientation: e = !0,
280
280
  includeScrollbar: v = !0
281
- } = l, i = T(t), f = T(n), d = () => {
281
+ } = l, i = O(t), f = O(n), d = () => {
282
282
  r && (v ? (i.value = r.innerWidth, f.value = r.innerHeight) : (i.value = r.document.documentElement.clientWidth, f.value = r.document.documentElement.clientHeight));
283
283
  };
284
284
  if (d(), Q(d), P("resize", d, { passive: !0 }), e) {
@@ -288,19 +288,21 @@ function se(l = {}) {
288
288
  return { width: i, height: f };
289
289
  }
290
290
  export {
291
- fe as createFilterWrapper,
292
- ve as debounceFilter,
291
+ fe as bypassFilter,
292
+ ve as createFilterWrapper,
293
+ de as debounceFilter,
293
294
  H as defaultWindow,
294
- de as getLifeCycleTarget,
295
+ he as getLifeCycleTarget,
295
296
  J as isClient,
296
297
  K as isObject,
297
298
  _ as noop,
298
299
  $ as notNullish,
299
300
  me as throttleFilter,
301
+ pe as throttledWatch,
300
302
  S as toValue,
301
303
  Q as tryOnMounted,
302
304
  R as tryOnScopeDispose,
303
- F as unrefElement,
305
+ N as unrefElement,
304
306
  q as useDebounceFn,
305
307
  P as useEventListener,
306
308
  le as useIntersectionObserver,
@@ -310,5 +312,7 @@ export {
310
312
  ie as useStepper,
311
313
  X as useSupported,
312
314
  G as useThrottleFn,
313
- se as useWindowSize
315
+ se as useWindowSize,
316
+ be as watchThrottled,
317
+ ge as watchWithFilter
314
318
  };
package/dist/index129.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isArray as b, isPlainObject as m } from "./index293.js";
1
+ import { isArray as b, isPlainObject as m } from "./index286.js";
2
2
  function i(e, n, l, o, r) {
3
3
  const u = {}.propertyIsEnumerable.call(o, n) ? "enumerable" : "nonenumerable";
4
4
  u === "enumerable" && (e[n] = l), r && u === "nonenumerable" && Object.defineProperty(e, n, {
package/dist/index13.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as y, getCurrentInstance as p, computed as s, resolveComponent as d, openBlock as k, createBlock as h, resolveDynamicComponent as C, mergeProps as x, withCtx as S, renderSlot as L, createTextVNode as B, toDisplayString as N } from "vue";
2
2
  import { _config as o } from "./index4.js";
3
- import { useLogger as m } from "./index203.js";
3
+ import { useLogger as m } from "./index200.js";
4
4
  const P = /* @__PURE__ */ y({
5
5
  __name: "BaseButton",
6
6
  props: {
package/dist/index15.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as b, computed as n, watch as E, openBlock as m, createElementBlock as p, normalizeProps as c, guardReactiveProps as h, mergeProps as f, createCommentVNode as I, createElementVNode as s, renderSlot as q } from "vue";
2
- import { isCssColor as k } from "./index200.js";
3
- import { when as F } from "./index201.js";
4
- import { booleanishToBoolean as N } from "./index202.js";
2
+ import { isCssColor as k } from "./index231.js";
3
+ import { when as F } from "./index232.js";
4
+ import { booleanishToBoolean as N } from "./index233.js";
5
5
  const S = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index17.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as $, ref as p, toRef as l, openBlock as B, createBlock as w, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v } from "vue";
2
- import { useOptions as z } from "./index231.js";
2
+ import { useOptions as z } from "./index228.js";
3
3
  import F from "./index15.js";
4
4
  /* empty css */
5
- import M from "./index232.js";
5
+ import M from "./index229.js";
6
6
  /* empty css */
7
7
  const G = /* @__PURE__ */ $({
8
8
  __name: "BaseCheckboxGroup",
package/dist/index19.js CHANGED
@@ -3,20 +3,20 @@ import { defineComponent as $, ref as f, watch as x, openBlock as u, createEleme
3
3
  /* empty css */
4
4
  import p from "./index13.js";
5
5
  /* empty css */
6
- import r from "./index209.js";
7
- import z from "./index210.js";
8
- import U from "./index211.js";
9
- import W from "./index212.js";
10
- import E from "./index213.js";
11
- import T from "./index214.js";
12
- import { hash as g } from "./index215.js";
13
- import { last as j } from "./index216.js";
14
- import { useLogger as H } from "./index203.js";
15
- import P from "./index217.js";
16
- import Z from "./index218.js";
17
- import q from "./index219.js";
18
- import w from "./index220.js";
19
- import F from "./index221.js";
6
+ import r from "./index201.js";
7
+ import z from "./index202.js";
8
+ import U from "./index203.js";
9
+ import W from "./index204.js";
10
+ import E from "./index205.js";
11
+ import T from "./index206.js";
12
+ import { hash as g } from "./index207.js";
13
+ import { last as j } from "./index208.js";
14
+ import { useLogger as H } from "./index200.js";
15
+ import P from "./index209.js";
16
+ import Z from "./index210.js";
17
+ import q from "./index211.js";
18
+ import w from "./index212.js";
19
+ import F from "./index213.js";
20
20
  const G = { class: "bb-base-date-picker" }, I = { class: "bb-base-date-picker__body" }, J = { class: "bb-base-date-picker__controls" }, K = /* @__PURE__ */ l("span", { class: "sr-only" }, "Seleziona un mese", -1), Q = /* @__PURE__ */ l("svg", {
21
21
  fill: "none",
22
22
  height: "6",
package/dist/index198.js CHANGED
@@ -1,83 +1,4 @@
1
- import { getCurrentScope as g, onScopeDispose as D, unref as x, onMounted as O, nextTick as S, isRef as C, getCurrentInstance as F } from "vue";
2
- function G(e) {
3
- return g() ? (D(e), !0) : !1;
4
- }
5
- function d(e) {
6
- return typeof e == "function" ? e() : x(e);
7
- }
8
- const L = typeof window < "u" && typeof document < "u";
9
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
10
- const V = (e) => e != null, P = Object.prototype.toString, A = (e) => P.call(e) === "[object Object]", m = () => {
11
- };
12
- function h(e, r) {
13
- function t(...n) {
14
- return new Promise((o, i) => {
15
- Promise.resolve(e(() => r.apply(this, n), { fn: r, thisArg: this, args: n })).then(o).catch(i);
16
- });
17
- }
18
- return t;
19
- }
20
- function W(e, r = {}) {
21
- let t, n, o = m;
22
- const i = (l) => {
23
- clearTimeout(l), o(), o = m;
24
- };
25
- return (l) => {
26
- const c = d(e), u = d(r.maxWait);
27
- return t && i(t), c <= 0 || u !== void 0 && u <= 0 ? (n && (i(n), n = null), Promise.resolve(l())) : new Promise((s, T) => {
28
- o = r.rejectOnCancel ? T : s, u && !n && (n = setTimeout(() => {
29
- t && i(t), n = null, s(l());
30
- }, u)), t = setTimeout(() => {
31
- n && i(n), n = null, s(l());
32
- }, c);
33
- });
34
- };
35
- }
36
- function M(...e) {
37
- let r = 0, t, n = !0, o = m, i, a, l, c, u;
38
- !C(e[0]) && typeof e[0] == "object" ? { delay: a, trailing: l = !0, leading: c = !0, rejectOnCancel: u = !1 } = e[0] : [a, l = !0, c = !0, u = !1] = e;
39
- const s = () => {
40
- t && (clearTimeout(t), t = void 0, o(), o = m);
41
- };
42
- return (w) => {
43
- const f = d(a), y = Date.now() - r, p = () => i = w();
44
- return s(), f <= 0 ? (r = Date.now(), p()) : (y > f && (c || !n) ? (r = Date.now(), p()) : l && (i = new Promise((b, j) => {
45
- o = u ? j : b, t = setTimeout(() => {
46
- r = Date.now(), n = !0, b(p()), s();
47
- }, Math.max(0, f - y));
48
- })), !c && !t && (t = setTimeout(() => n = !0, f)), n = !1, i);
49
- };
50
- }
51
- function R(e) {
52
- return F();
53
- }
54
- function E(e, r = 200, t = {}) {
55
- return h(
56
- W(r, t),
57
- e
58
- );
59
- }
60
- function I(e, r = 200, t = !1, n = !0, o = !1) {
61
- return h(
62
- M(r, t, n, o),
63
- e
64
- );
65
- }
66
- function N(e, r = !0, t) {
67
- R() ? O(e, t) : r ? e() : S(e);
68
- }
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
69
2
  export {
70
- h as createFilterWrapper,
71
- W as debounceFilter,
72
- R as getLifeCycleTarget,
73
- L as isClient,
74
- A as isObject,
75
- m as noop,
76
- V as notNullish,
77
- M as throttleFilter,
78
- d as toValue,
79
- N as tryOnMounted,
80
- G as tryOnScopeDispose,
81
- E as useDebounceFn,
82
- I as useThrottleFn
3
+ n as clamp
83
4
  };
package/dist/index199.js CHANGED
@@ -1,4 +1,118 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ import { getCurrentScope as F, onScopeDispose as O, unref as D, isRef as x, watch as S, onMounted as C, nextTick as W, getCurrentInstance as P } from "vue";
2
+ function V(t) {
3
+ return F() ? (O(t), !0) : !1;
4
+ }
5
+ function d(t) {
6
+ return typeof t == "function" ? t() : D(t);
7
+ }
8
+ const A = typeof window < "u" && typeof document < "u";
9
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
10
+ const E = (t) => t != null, M = Object.prototype.toString, I = (t) => M.call(t) === "[object Object]", p = () => {
11
+ };
12
+ function h(t, r) {
13
+ function e(...n) {
14
+ return new Promise((o, i) => {
15
+ Promise.resolve(t(() => r.apply(this, n), { fn: r, thisArg: this, args: n })).then(o).catch(i);
16
+ });
17
+ }
18
+ return e;
19
+ }
20
+ const R = (t) => t();
21
+ function k(t, r = {}) {
22
+ let e, n, o = p;
23
+ const i = (l) => {
24
+ clearTimeout(l), o(), o = p;
25
+ };
26
+ return (l) => {
27
+ const c = d(t), u = d(r.maxWait);
28
+ return e && i(e), c <= 0 || u !== void 0 && u <= 0 ? (n && (i(n), n = null), Promise.resolve(l())) : new Promise((a, w) => {
29
+ o = r.rejectOnCancel ? w : a, u && !n && (n = setTimeout(() => {
30
+ e && i(e), n = null, a(l());
31
+ }, u)), e = setTimeout(() => {
32
+ n && i(n), n = null, a(l());
33
+ }, c);
34
+ });
35
+ };
36
+ }
37
+ function b(...t) {
38
+ let r = 0, e, n = !0, o = p, i, s, l, c, u;
39
+ !x(t[0]) && typeof t[0] == "object" ? { delay: s, trailing: l = !0, leading: c = !0, rejectOnCancel: u = !1 } = t[0] : [s, l = !0, c = !0, u = !1] = t;
40
+ const a = () => {
41
+ e && (clearTimeout(e), e = void 0, o(), o = p);
42
+ };
43
+ return (g) => {
44
+ const f = d(s), T = Date.now() - r, m = () => i = g();
45
+ return a(), f <= 0 ? (r = Date.now(), m()) : (T > f && (c || !n) ? (r = Date.now(), m()) : l && (i = new Promise((y, j) => {
46
+ o = u ? j : y, e = setTimeout(() => {
47
+ r = Date.now(), n = !0, y(m()), a();
48
+ }, Math.max(0, f - T));
49
+ })), !c && !e && (e = setTimeout(() => n = !0, f)), n = !1, i);
50
+ };
51
+ }
52
+ function v(t) {
53
+ return P();
54
+ }
55
+ function N(t, r = 200, e = {}) {
56
+ return h(
57
+ k(r, e),
58
+ t
59
+ );
60
+ }
61
+ function _(t, r = 200, e = !1, n = !0, o = !1) {
62
+ return h(
63
+ b(r, e, n, o),
64
+ t
65
+ );
66
+ }
67
+ function G(t, r, e = {}) {
68
+ const {
69
+ eventFilter: n = R,
70
+ ...o
71
+ } = e;
72
+ return S(
73
+ t,
74
+ h(
75
+ n,
76
+ r
77
+ ),
78
+ o
79
+ );
80
+ }
81
+ function q(t, r = !0, e) {
82
+ v() ? C(t, e) : r ? t() : W(t);
83
+ }
84
+ function z(t, r, e = {}) {
85
+ const {
86
+ throttle: n = 0,
87
+ trailing: o = !0,
88
+ leading: i = !0,
89
+ ...s
90
+ } = e;
91
+ return G(
92
+ t,
93
+ r,
94
+ {
95
+ ...s,
96
+ eventFilter: b(n, o, i)
97
+ }
98
+ );
99
+ }
2
100
  export {
3
- n as clamp
101
+ R as bypassFilter,
102
+ h as createFilterWrapper,
103
+ k as debounceFilter,
104
+ v as getLifeCycleTarget,
105
+ A as isClient,
106
+ I as isObject,
107
+ p as noop,
108
+ E as notNullish,
109
+ b as throttleFilter,
110
+ z as throttledWatch,
111
+ d as toValue,
112
+ q as tryOnMounted,
113
+ V as tryOnScopeDispose,
114
+ N as useDebounceFn,
115
+ _ as useThrottleFn,
116
+ z as watchThrottled,
117
+ G as watchWithFilter
4
118
  };
package/dist/index200.js CHANGED
@@ -1,4 +1,10 @@
1
- const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
1
+ const o = "bitboss-ui | ", e = () => ({
2
+ warn: (r) => console.warn(`${o}${r}`),
3
+ error: (r) => console.error(`${o}${r}`),
4
+ throw: (r) => {
5
+ throw new Error(`${o}${r}`);
6
+ }
7
+ });
2
8
  export {
3
- s as isCssColor
9
+ e as useLogger
4
10
  };
package/dist/index201.js CHANGED
@@ -1,6 +1,7 @@
1
- import { curry as e } from "./index249.js";
2
- const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
1
+ import { getDefaultExportFromCjs as r } from "./index244.js";
2
+ import { __require as o } from "./index243.js";
3
+ var t = o();
4
+ const s = /* @__PURE__ */ r(t);
3
5
  export {
4
- t as baseWhen,
5
- s as when
6
+ s as default
6
7
  };
package/dist/index202.js CHANGED
@@ -1,4 +1,18 @@
1
- const o = (e) => typeof e == "boolean" ? e : e === "true";
1
+ import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index244.js";
2
+ import { __module as e } from "./index246.js";
3
+ (function(s, a) {
4
+ (function(i, t) {
5
+ s.exports = t();
6
+ })(n, function() {
7
+ return function(i, t) {
8
+ t.prototype.isSameOrAfter = function(r, o) {
9
+ return this.isSame(r, o) || this.isAfter(r, o);
10
+ };
11
+ };
12
+ });
13
+ })(e);
14
+ var m = e.exports;
15
+ const c = /* @__PURE__ */ f(m);
2
16
  export {
3
- o as booleanishToBoolean
17
+ c as default
4
18
  };