bitboss-ui 2.1.35 → 2.1.36

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 (150) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index106.js +7 -7
  3. package/dist/index111.js +1 -1
  4. package/dist/index113.js +1 -1
  5. package/dist/index119.js +17 -17
  6. package/dist/index121.js +10 -10
  7. package/dist/index13.js +1 -1
  8. package/dist/index131.js +4 -4
  9. package/dist/index133.js +1 -1
  10. package/dist/index135.js +2 -2
  11. package/dist/index139.js +1 -1
  12. package/dist/index140.js +2 -2
  13. package/dist/index141.js +1 -1
  14. package/dist/index15.js +5 -5
  15. package/dist/index17.js +3 -3
  16. package/dist/index19.js +8 -8
  17. package/dist/index21.js +16 -16
  18. package/dist/index212.js +2 -138
  19. package/dist/index213.js +138 -2
  20. package/dist/index214.js +2 -2
  21. package/dist/index215.js +2 -5
  22. package/dist/index216.js +5 -5
  23. package/dist/index217.js +4 -4
  24. package/dist/index218.js +5 -5
  25. package/dist/index219.js +5 -5
  26. package/dist/index220.js +5 -5
  27. package/dist/index221.js +4 -4
  28. package/dist/index222.js +5 -3
  29. package/dist/index223.js +3 -2
  30. package/dist/index224.js +2 -8
  31. package/dist/index225.js +6 -248
  32. package/dist/index226.js +240 -42
  33. package/dist/index227.js +43 -35
  34. package/dist/index228.js +44 -5
  35. package/dist/index229.js +5 -60
  36. package/dist/index23.js +12 -12
  37. package/dist/index230.js +59 -12
  38. package/dist/index231.js +12 -85
  39. package/dist/index232.js +185 -0
  40. package/dist/index233.js +3 -29
  41. package/dist/index234.js +34 -17
  42. package/dist/index235.js +4 -51
  43. package/dist/index236.js +2 -15
  44. package/dist/index237.js +2 -12
  45. package/dist/index238.js +2 -16
  46. package/dist/index239.js +2 -34
  47. package/dist/index240.js +7 -4
  48. package/dist/index241.js +7 -20
  49. package/dist/index242.js +7 -197
  50. package/dist/index243.js +7 -0
  51. package/dist/index244.js +2 -121
  52. package/dist/index245.js +22 -0
  53. package/dist/index246.js +121 -2
  54. package/dist/index248.js +3 -182
  55. package/dist/index249.js +196 -12
  56. package/dist/index25.js +3 -3
  57. package/dist/index251.js +86 -2
  58. package/dist/index253.js +28 -6
  59. package/dist/index254.js +17 -7
  60. package/dist/index255.js +50 -6
  61. package/dist/index256.js +15 -106
  62. package/dist/index257.js +14 -0
  63. package/dist/index258.js +16 -100
  64. package/dist/index259.js +15 -0
  65. package/dist/index260.js +13 -2
  66. package/dist/index261.js +106 -3
  67. package/dist/index263.js +100 -2
  68. package/dist/index265.js +1 -1
  69. package/dist/index267.js +4 -4
  70. package/dist/index27.js +1 -1
  71. package/dist/index274.js +3 -6
  72. package/dist/index275.js +6 -16
  73. package/dist/index276.js +16 -3
  74. package/dist/index281.js +1 -1
  75. package/dist/index282.js +33 -5
  76. package/dist/index283.js +28 -33
  77. package/dist/index285.js +7 -0
  78. package/dist/index286.js +1 -1
  79. package/dist/index287.js +1 -1
  80. package/dist/index29.js +3 -3
  81. package/dist/index302.js +1 -1
  82. package/dist/index303.js +1 -1
  83. package/dist/index304.js +1 -1
  84. package/dist/index305.js +1 -1
  85. package/dist/index309.js +2 -2
  86. package/dist/index31.js +2 -2
  87. package/dist/index311.js +5 -3
  88. package/dist/index312.js +4 -17
  89. package/dist/index313.js +6 -2
  90. package/dist/index314.js +4 -4
  91. package/dist/index315.js +2 -6
  92. package/dist/index316.js +125 -3
  93. package/dist/index317.js +2 -3
  94. package/dist/index318.js +3 -4
  95. package/dist/index319.js +1 -1
  96. package/dist/index320.js +1 -1
  97. package/dist/index321.js +17 -5
  98. package/dist/index322.js +3 -125
  99. package/dist/index323.js +3 -2
  100. package/dist/index325.js +5 -718
  101. package/dist/index326.js +715 -363
  102. package/dist/index327.js +366 -58
  103. package/dist/index328.js +58 -5
  104. package/dist/index33.js +8 -8
  105. package/dist/index330.js +5 -0
  106. package/dist/index331.js +2 -3
  107. package/dist/index335.js +226 -33
  108. package/dist/index336.js +58 -6
  109. package/dist/index337.js +57 -128
  110. package/dist/index338.js +30 -364
  111. package/dist/index339.js +6 -47
  112. package/dist/index340.js +128 -7
  113. package/dist/index341.js +368 -5
  114. package/dist/index342.js +8 -8
  115. package/dist/index343.js +5 -227
  116. package/dist/index344.js +7 -57
  117. package/dist/index345.js +47 -58
  118. package/dist/index346.js +1 -1
  119. package/dist/index348.js +421 -473
  120. package/dist/index349.js +113 -422
  121. package/dist/index35.js +4 -4
  122. package/dist/index350.js +484 -123
  123. package/dist/index37.js +15 -15
  124. package/dist/index39.js +7 -7
  125. package/dist/index41.js +2 -2
  126. package/dist/index43.js +8 -8
  127. package/dist/index45.js +6 -6
  128. package/dist/index49.js +1 -1
  129. package/dist/index53.js +1 -1
  130. package/dist/index55.js +1 -1
  131. package/dist/index57.js +2 -2
  132. package/dist/index61.js +1 -1
  133. package/dist/index67.js +1 -1
  134. package/dist/index79.js +2 -2
  135. package/dist/index81.js +1 -1
  136. package/dist/index83.js +2 -2
  137. package/dist/index85.js +1 -1
  138. package/dist/index87.js +1 -1
  139. package/dist/index90.js +3 -3
  140. package/dist/index92.js +1 -1
  141. package/dist/index94.js +3 -3
  142. package/dist/index96.js +1 -1
  143. package/package.json +1 -1
  144. package/dist/index247.js +0 -6
  145. package/dist/index250.js +0 -15
  146. package/dist/index252.js +0 -4
  147. package/dist/index262.js +0 -4
  148. package/dist/index264.js +0 -7
  149. package/dist/index284.js +0 -30
  150. package/dist/index329.js +0 -4
package/dist/index119.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as ee, ref as n, computed as $, getCurrentInstance as te, watch as b, nextTick as le, onMounted as ae, createElementBlock as p, openBlock as f, normalizeClass as T, unref as ie, createElementVNode as h, renderSlot as k, normalizeProps as U, guardReactiveProps as W, normalizeStyle as se, Fragment as K, renderList as O, createVNode as J, withCtx as I, toDisplayString as re, createBlock as ne, Transition as oe, createCommentVNode as ue } from "vue";
1
+ import { defineComponent as ee, ref as r, computed as $, getCurrentInstance as te, watch as b, nextTick as le, onMounted as ae, createElementBlock as p, openBlock as f, normalizeClass as T, unref as ie, createElementVNode as h, renderSlot as k, normalizeProps as U, guardReactiveProps as W, normalizeStyle as se, Fragment as K, renderList as O, createVNode as J, withCtx as I, toDisplayString as ne, createBlock as re, Transition as oe, createCommentVNode as ue } from "vue";
2
2
  import { useId as de } from "./index8.js";
3
3
  import { useRoute as ce } from "./index145.js";
4
4
  import { useRouter as be } from "./index146.js";
@@ -25,11 +25,11 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
25
25
  emits: ["update:modelValue"],
26
26
  setup(M, { expose: j, emit: G }) {
27
27
  var A, H;
28
- const t = M, Q = G, d = ce(), q = be(), S = n(), L = t.id ?? de().id.value, g = `bb-tab_${L}`, c = n(), { isScrolling: X, arrivedState: V } = he(c), B = $(() => ({
28
+ const t = M, Q = G, d = ce(), q = be(), S = r(), L = t.id ?? de().id.value, g = `bb-tab_${L}`, c = r(), { isScrolling: X, arrivedState: V } = he(c), B = $(() => ({
29
29
  isScrolling: X.value,
30
30
  left: V.left,
31
31
  right: V.right
32
- })), C = !!((H = (A = te()) == null ? void 0 : A.proxy) != null && H.$inertia), i = n(null), o = $(
32
+ })), C = !!((H = (A = te()) == null ? void 0 : A.proxy) != null && H.$inertia), i = r(null), o = $(
33
33
  () => t.items.findIndex((e) => e.key === i.value)
34
34
  ), _ = $(() => o.value === 0), w = $(() => o.value === t.items.length - 1);
35
35
  t.items.forEach((e) => {
@@ -37,9 +37,9 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
37
37
  throw console.error("A tab item has no key", e), new Error("A tab item has no key " + JSON.stringify(e));
38
38
  });
39
39
  const R = () => {
40
- var e, a, l, r, s;
40
+ var e, a, l, n, s;
41
41
  if (t.navigation && ((a = (e = d.value) == null ? void 0 : e.query) != null && a[t.querykey]))
42
- i.value = (r = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : r[t.querykey];
42
+ i.value = (n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey];
43
43
  else if (t.navigation && C && ((s = globalThis == null ? void 0 : globalThis.location) != null && s.href) && new URL(globalThis.location.href).searchParams.get(t.querykey))
44
44
  i.value = new URL(globalThis.location.href).searchParams.get(
45
45
  t.querykey
@@ -58,8 +58,8 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
58
58
  };
59
59
  R();
60
60
  const y = async (e, a = !1) => {
61
- var l, r, s, m;
62
- if (t.navigation && d.value && ((r = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : r[t.querykey]) !== e)
61
+ var l, n, s, m;
62
+ if (t.navigation && d.value && ((n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey]) !== e)
63
63
  q == null || q.push({
64
64
  ...d,
65
65
  query: { ...(s = d.value) == null ? void 0 : s.query, [t.querykey]: e },
@@ -101,10 +101,10 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
101
101
  if (a === null)
102
102
  throw new Error("Could not navigate to next tab");
103
103
  if (t.items[a].disabled) return;
104
- const l = t.items[a].key, r = document.querySelector(
104
+ const l = t.items[a].key, n = document.querySelector(
105
105
  `#${g}_tab_${l}`
106
106
  );
107
- r == null || r.focus(), y(l, t.replace);
107
+ n == null || n.focus(), y(l, t.replace);
108
108
  }, Y = (e) => {
109
109
  if (!t.disabled)
110
110
  if (e.key === "ArrowRight")
@@ -147,18 +147,18 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
147
147
  },
148
148
  { flush: "post" }
149
149
  );
150
- const P = n("right");
150
+ const P = r("right");
151
151
  b(
152
152
  i,
153
153
  (e, a) => {
154
154
  if (e && a) {
155
- const l = t.items.findIndex((s) => s.key === e), r = t.items.findIndex((s) => s.key === a);
156
- P.value = l > r ? "right" : "left";
155
+ const l = t.items.findIndex((s) => s.key === e), n = t.items.findIndex((s) => s.key === a);
156
+ P.value = l > n ? "right" : "left";
157
157
  }
158
158
  },
159
159
  { flush: "sync" }
160
160
  );
161
- const E = n(0), z = n(0), D = n(0), F = n(0), N = n(0), x = () => {
161
+ const E = r(0), z = r(0), D = r(0), F = r(0), N = r(0), x = () => {
162
162
  if (!c.value)
163
163
  return;
164
164
  const e = c.value.querySelector(
@@ -189,7 +189,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
189
189
  ref: S,
190
190
  class: T(["bb-tab", {
191
191
  [`bb-tab--${e.direction}`]: !0,
192
- "bb-tab--disabled": !0
192
+ "bb-tab--disabled": e.disabled
193
193
  }])
194
194
  }, [
195
195
  h("div", ke, [
@@ -220,7 +220,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
220
220
  disabled: l.disabled || e.disabled,
221
221
  role: "tab",
222
222
  tabindex: i.value === l.key ? 0 : -1,
223
- onClick: (r) => y(l.key, t.replace),
223
+ onClick: (n) => y(l.key, t.replace),
224
224
  onKeydown: Y
225
225
  }, {
226
226
  default: I(() => [
@@ -246,7 +246,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
246
246
  text: l.label,
247
247
  value: l.key
248
248
  }, () => [
249
- h("span", ge, re(l.label), 1)
249
+ h("span", ge, ne(l.label), 1)
250
250
  ])
251
251
  ])
252
252
  ]),
@@ -261,7 +261,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
261
261
  h("div", _e, [
262
262
  J(ve, null, {
263
263
  default: I(() => [
264
- (f(!0), p(K, null, O(e.items, (l) => (f(), ne(oe, {
264
+ (f(!0), p(K, null, O(e.items, (l) => (f(), re(oe, {
265
265
  key: l.key,
266
266
  css: e.animate,
267
267
  name: `tab-slide-${P.value}`
package/dist/index121.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as ue, ref as K, computed as h, toRef as O, watch as D, reactive as pe, createBlock as Q, openBlock as n, resolveDynamicComponent as me, normalizeClass as p, unref as v, withCtx as fe, createElementBlock as d, createCommentVNode as g, createElementVNode as o, toDisplayString as m, renderSlot as f, Fragment as A, renderList as B, createVNode as X, createTextVNode as ye, mergeProps as he } from "vue";
2
2
  import { add as ve } from "./index280.js";
3
- import { clamp as ke } from "./index214.js";
4
- import { isNil as T } from "./index252.js";
3
+ import { clamp as ke } from "./index212.js";
4
+ import { isNil as T } from "./index239.js";
5
5
  import { useId as _e } from "./index8.js";
6
6
  import { useItemValue as ge } from "./index278.js";
7
- import { when as Ce } from "./index247.js";
7
+ import { when as Ce } from "./index235.js";
8
8
  import Y from "./index17.js";
9
9
  /* empty css */
10
10
  import we from "./index31.js";
11
11
  /* empty css */
12
- import { hash as E } from "./index222.js";
13
- import { useItemsGetter as Ie } from "./index233.js";
14
- import { usePrefill as Ve } from "./index238.js";
15
- import { useIndexById as Ae } from "./index234.js";
16
- import { useBaseOptions as Be } from "./index235.js";
17
- import { useHashedWatcher as Te } from "./index237.js";
18
- import { useLocale as $e } from "./index230.js";
12
+ import { hash as E } from "./index223.js";
13
+ import { useItemsGetter as Ie } from "./index253.js";
14
+ import { usePrefill as Ve } from "./index258.js";
15
+ import { useIndexById as Ae } from "./index254.js";
16
+ import { useBaseOptions as Be } from "./index255.js";
17
+ import { useHashedWatcher as Te } from "./index257.js";
18
+ import { useLocale as $e } from "./index231.js";
19
19
  const xe = {
20
20
  key: 0,
21
21
  class: "sr-only"
package/dist/index13.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, getCurrentInstance as h, computed as r, createBlock as i, openBlock as u, mergeProps as c, withCtx as d, renderSlot as p, createTextVNode as f, toDisplayString as v, resolveDynamicComponent as C } from "vue";
2
- import S from "./index239.js";
2
+ import S from "./index234.js";
3
3
  const A = /* @__PURE__ */ m({
4
4
  __name: "BaseButton",
5
5
  props: {
package/dist/index131.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as S, mergeModels as z, ref as k, computed as d, useTemplateRef as F, useModel as N, createElementBlock as W, openBlock as B, Fragment as A, renderSlot as C, createVNode as U, normalizeProps as H, guardReactiveProps as I, unref as l, mergeProps as j, withCtx as E, createElementVNode as m, normalizeStyle as q, createBlock as x, createCommentVNode as G } from "vue";
2
- import { throttle as p } from "./index276.js";
2
+ import { throttle as p } from "./index274.js";
3
3
  import { useId as J } from "./index8.js";
4
- import { useLocale as K } from "./index230.js";
5
- import { useUntil as Q } from "./index250.js";
4
+ import { useLocale as K } from "./index231.js";
5
+ import { useUntil as Q } from "./index260.js";
6
6
  import X from "./index13.js";
7
7
  /* empty css */
8
- import Y from "./index244.js";
8
+ import Y from "./index246.js";
9
9
  /* empty css */
10
10
  import { useElementSize as Z } from "./index140.js";
11
11
  import { extractDomContainer as c } from "./index272.js";
package/dist/index133.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
2
- import { flattenTree as T } from "./index282.js";
2
+ import { flattenTree as T } from "./index285.js";
3
3
  const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
4
4
  __name: "BbTree",
5
5
  props: {
package/dist/index135.js CHANGED
@@ -5,8 +5,8 @@ import u from "./index85.js";
5
5
  /* empty css */
6
6
  import h from "./index113.js";
7
7
  /* empty css */
8
- import v from "./index283.js";
9
- import B from "./index284.js";
8
+ import v from "./index282.js";
9
+ import B from "./index283.js";
10
10
  /* empty css */
11
11
  const E = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
12
12
  __name: "CommonInputInnerContainer",
package/dist/index139.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as s } from "./index214.js";
1
+ import { clamp as s } from "./index212.js";
2
2
  const o = (n, e, r = !1) => {
3
3
  const t = n * 100 / e;
4
4
  return r ? s(t, 0, 100) : t;
package/dist/index140.js CHANGED
@@ -1,5 +1,5 @@
1
- import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index212.js";
2
- import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index212.js";
1
+ import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index213.js";
2
+ import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index213.js";
3
3
  import { shallowRef as S, getCurrentInstance as ue, onMounted as se, computed as g, watch as B, toValue as w, reactive as U, ref as J, watchEffect as re, hasInjectionContext as ie, unref as ce } from "vue";
4
4
  const R = ee ? window : void 0;
5
5
  function W(o) {
package/dist/index141.js CHANGED
@@ -1,4 +1,4 @@
1
- import { urlAlphabet as l } from "./index213.js";
1
+ import { urlAlphabet as l } from "./index214.js";
2
2
  let o = (t = 21) => {
3
3
  let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
4
  for (; t--; )
package/dist/index15.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as H, ref as s, computed as D, createBlock as E, openBlock as I, normalizeClass as L, withCtx as l, createVNode as d, unref as u, withDirectives as M, createElementVNode as p, mergeProps as _, renderSlot as r, withModifiers as q, normalizeStyle as N } from "vue";
2
- import { isHex as z } from "./index240.js";
2
+ import { isHex as z } from "./index248.js";
3
3
  import { isNotNil as F } from "./index143.js";
4
4
  import { useId as S } from "./index8.js";
5
- import { useLocale as U } from "./index230.js";
6
- import { vMaska as A } from "./index241.js";
7
- import K from "./index242.js";
5
+ import { useLocale as U } from "./index231.js";
6
+ import { vMaska as A } from "./index245.js";
7
+ import K from "./index249.js";
8
8
  /* empty css */
9
9
  import O from "./index135.js";
10
10
  /* empty css */
11
11
  import P from "./index137.js";
12
- import T from "./index244.js";
12
+ import T from "./index246.js";
13
13
  /* empty css */
14
14
  const j = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], G = ["aria-label"], J = { class: "bb-common-input-inner-container__suffix" }, re = /* @__PURE__ */ H({
15
15
  __name: "BaseColorInput",
package/dist/index17.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as E, ref as m, computed as n, watch as _, createElementBlock as p, openBlock as h, normalizeProps as i, guardReactiveProps as f, createCommentVNode as I, createElementVNode as l, mergeProps as k, renderSlot as F } from "vue";
2
- import { isCssColor as y } from "./index246.js";
3
- import { when as N } from "./index247.js";
4
- import { booleanishToBoolean as S } from "./index262.js";
2
+ import { isCssColor as y } from "./index215.js";
3
+ import { when as N } from "./index235.js";
4
+ import { booleanishToBoolean as S } from "./index236.js";
5
5
  const A = {
6
6
  "aria-hidden": "true",
7
7
  class: "bb-base-checkbox-container"
package/dist/index19.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 b, guardReactiveProps as v, createVNode as R, mergeProps as T } from "vue";
2
2
  import W from "./index17.js";
3
3
  /* empty css */
4
- import K from "./index231.js";
4
+ import K from "./index251.js";
5
5
  /* empty css */
6
- import { useItemsGetter as N } from "./index233.js";
7
- import { useIndexById as w } from "./index234.js";
8
- import { useBaseOptions as U } from "./index235.js";
9
- import { useCoherence as q } from "./index236.js";
10
- import { hash as J } from "./index222.js";
11
- import { useHashedWatcher as C } from "./index237.js";
12
- import { usePrefill as Q } from "./index238.js";
6
+ import { useItemsGetter as N } from "./index253.js";
7
+ import { useIndexById as w } from "./index254.js";
8
+ import { useBaseOptions as U } from "./index255.js";
9
+ import { useCoherence as q } from "./index256.js";
10
+ import { hash as J } from "./index223.js";
11
+ import { useHashedWatcher as C } from "./index257.js";
12
+ import { usePrefill as Q } from "./index258.js";
13
13
  const de = /* @__PURE__ */ j({
14
14
  __name: "BaseCheckboxGroup",
15
15
  props: {
package/dist/index21.js CHANGED
@@ -5,22 +5,22 @@ import { _config as C } from "./index4.js";
5
5
  import { useId as F } from "./index8.js";
6
6
  import f from "./index13.js";
7
7
  /* empty css */
8
- import s from "./index215.js";
9
- import G from "./index216.js";
10
- import J from "./index217.js";
11
- import K from "./index218.js";
12
- import Q from "./index219.js";
13
- import X from "./index220.js";
14
- import ee from "./index221.js";
15
- import { hash as M } from "./index222.js";
16
- import { last as ae } from "./index223.js";
17
- import { useLogger as te } from "./index224.js";
18
- import oe from "./index225.js";
19
- import le from "./index226.js";
20
- import re from "./index227.js";
21
- import B from "./index228.js";
22
- import se from "./index229.js";
23
- import { useLocale as de } from "./index230.js";
8
+ import s from "./index216.js";
9
+ import G from "./index217.js";
10
+ import J from "./index218.js";
11
+ import K from "./index219.js";
12
+ import Q from "./index220.js";
13
+ import X from "./index221.js";
14
+ import ee from "./index222.js";
15
+ import { hash as M } from "./index223.js";
16
+ import { last as ae } from "./index224.js";
17
+ import { useLogger as te } from "./index225.js";
18
+ import oe from "./index226.js";
19
+ import le from "./index227.js";
20
+ import re from "./index228.js";
21
+ import B from "./index229.js";
22
+ import se from "./index230.js";
23
+ import { useLocale as de } from "./index231.js";
24
24
  const ie = { class: "bb-base-date-picker" }, ne = { class: "bb-base-date-picker__body" }, ue = { class: "bb-base-date-picker__controls" }, me = { class: "sr-only" }, pe = { class: "sr-only" }, ce = { class: "sr-only" }, fe = {
25
25
  style: { transform: "rotate(180deg)" },
26
26
  viewBox: "0 0 24 24",
package/dist/index212.js CHANGED
@@ -1,140 +1,4 @@
1
- import { onMounted as O, nextTick as W, getCurrentScope as S, onScopeDispose as C, watch as F, getCurrentInstance as g, isRef as P, toValue as b, hasInjectionContext as k, inject as v } from "vue";
2
- function V(e) {
3
- return S() ? (C(e), !0) : !1;
4
- }
5
- const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
6
- var r;
7
- const n = e[0], t = (r = g()) == null ? void 0 : r.proxy;
8
- if (t == null && !k())
9
- throw new Error("injectLocal must be called in setup");
10
- return t && w.has(t) && n in w.get(t) ? w.get(t)[n] : v(...e);
11
- }, G = typeof window < "u" && typeof document < "u";
12
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
13
- const _ = (e) => e != null, M = Object.prototype.toString, q = (e) => M.call(e) === "[object Object]", d = () => {
14
- };
15
- function y(e, r) {
16
- function n(...t) {
17
- return new Promise((o, i) => {
18
- Promise.resolve(e(() => r.apply(this, t), { fn: r, thisArg: this, args: t })).then(o).catch(i);
19
- });
20
- }
21
- return n;
22
- }
23
- const A = (e) => e();
24
- function x(e, r = {}) {
25
- let n, t, o = d;
26
- const i = (c) => {
27
- clearTimeout(c), o(), o = d;
28
- };
29
- let u;
30
- return (c) => {
31
- const a = b(e), l = b(r.maxWait);
32
- return n && i(n), a <= 0 || l !== void 0 && l <= 0 ? (t && (i(t), t = null), Promise.resolve(c())) : new Promise((f, p) => {
33
- o = r.rejectOnCancel ? p : f, u = c, l && !t && (t = setTimeout(() => {
34
- n && i(n), t = null, f(u());
35
- }, l)), n = setTimeout(() => {
36
- t && i(t), t = null, f(c());
37
- }, a);
38
- });
39
- };
40
- }
41
- function I(...e) {
42
- let r = 0, n, t = !0, o = d, i, u, s, c, a;
43
- !P(e[0]) && typeof e[0] == "object" ? { delay: u, trailing: s = !0, leading: c = !0, rejectOnCancel: a = !1 } = e[0] : [u, s = !0, c = !0, a = !1] = e;
44
- const l = () => {
45
- n && (clearTimeout(n), n = void 0, o(), o = d);
46
- };
47
- return (p) => {
48
- const m = b(u), j = Date.now() - r, h = () => i = p();
49
- return l(), m <= 0 ? (r = Date.now(), h()) : (j > m && (c || !t) ? (r = Date.now(), h()) : s && (i = new Promise((T, D) => {
50
- o = a ? D : T, n = setTimeout(() => {
51
- r = Date.now(), t = !0, T(h()), l();
52
- }, Math.max(0, m - j));
53
- })), !c && !n && (n = setTimeout(() => t = !0, m)), t = !1, i);
54
- };
55
- }
56
- function z(e) {
57
- return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
58
- }
59
- function L(e) {
60
- return g();
61
- }
62
- function B(e) {
63
- return Array.isArray(e) ? e : [e];
64
- }
65
- function H(e, r = 200, n = {}) {
66
- return y(
67
- x(r, n),
68
- e
69
- );
70
- }
71
- function J(e, r = 200, n = !1, t = !0, o = !1) {
72
- return y(
73
- I(r, n, t, o),
74
- e
75
- );
76
- }
77
- function N(e, r, n = {}) {
78
- const {
79
- eventFilter: t = A,
80
- ...o
81
- } = n;
82
- return F(
83
- e,
84
- y(
85
- t,
86
- r
87
- ),
88
- o
89
- );
90
- }
91
- function K(e, r = !0, n) {
92
- L() ? O(e, n) : r ? e() : W(e);
93
- }
94
- function Q(e, r, n = {}) {
95
- const {
96
- debounce: t = 0,
97
- maxWait: o = void 0,
98
- ...i
99
- } = n;
100
- return N(
101
- e,
102
- r,
103
- {
104
- ...i,
105
- eventFilter: x(t, { maxWait: o })
106
- }
107
- );
108
- }
109
- function U(e, r, n) {
110
- return F(
111
- e,
112
- r,
113
- {
114
- ...n,
115
- immediate: !0
116
- }
117
- );
118
- }
1
+ const n = (t, a, m) => Math.min(Math.max(t, a), m);
119
2
  export {
120
- A as bypassFilter,
121
- y as createFilterWrapper,
122
- x as debounceFilter,
123
- Q as debouncedWatch,
124
- L as getLifeCycleTarget,
125
- E as injectLocal,
126
- G as isClient,
127
- q as isObject,
128
- d as noop,
129
- _ as notNullish,
130
- z as pxValue,
131
- I as throttleFilter,
132
- B as toArray,
133
- K as tryOnMounted,
134
- V as tryOnScopeDispose,
135
- H as useDebounceFn,
136
- J as useThrottleFn,
137
- Q as watchDebounced,
138
- U as watchImmediate,
139
- N as watchWithFilter
3
+ n as clamp
140
4
  };
package/dist/index213.js CHANGED
@@ -1,4 +1,140 @@
1
- const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
1
+ import { onMounted as O, nextTick as W, getCurrentScope as S, onScopeDispose as C, watch as F, getCurrentInstance as g, isRef as P, toValue as b, hasInjectionContext as k, inject as v } from "vue";
2
+ function V(e) {
3
+ return S() ? (C(e), !0) : !1;
4
+ }
5
+ const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
6
+ var r;
7
+ const n = e[0], t = (r = g()) == null ? void 0 : r.proxy;
8
+ if (t == null && !k())
9
+ throw new Error("injectLocal must be called in setup");
10
+ return t && w.has(t) && n in w.get(t) ? w.get(t)[n] : v(...e);
11
+ }, G = typeof window < "u" && typeof document < "u";
12
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
13
+ const _ = (e) => e != null, M = Object.prototype.toString, q = (e) => M.call(e) === "[object Object]", d = () => {
14
+ };
15
+ function y(e, r) {
16
+ function n(...t) {
17
+ return new Promise((o, i) => {
18
+ Promise.resolve(e(() => r.apply(this, t), { fn: r, thisArg: this, args: t })).then(o).catch(i);
19
+ });
20
+ }
21
+ return n;
22
+ }
23
+ const A = (e) => e();
24
+ function x(e, r = {}) {
25
+ let n, t, o = d;
26
+ const i = (c) => {
27
+ clearTimeout(c), o(), o = d;
28
+ };
29
+ let u;
30
+ return (c) => {
31
+ const a = b(e), l = b(r.maxWait);
32
+ return n && i(n), a <= 0 || l !== void 0 && l <= 0 ? (t && (i(t), t = null), Promise.resolve(c())) : new Promise((f, p) => {
33
+ o = r.rejectOnCancel ? p : f, u = c, l && !t && (t = setTimeout(() => {
34
+ n && i(n), t = null, f(u());
35
+ }, l)), n = setTimeout(() => {
36
+ t && i(t), t = null, f(c());
37
+ }, a);
38
+ });
39
+ };
40
+ }
41
+ function I(...e) {
42
+ let r = 0, n, t = !0, o = d, i, u, s, c, a;
43
+ !P(e[0]) && typeof e[0] == "object" ? { delay: u, trailing: s = !0, leading: c = !0, rejectOnCancel: a = !1 } = e[0] : [u, s = !0, c = !0, a = !1] = e;
44
+ const l = () => {
45
+ n && (clearTimeout(n), n = void 0, o(), o = d);
46
+ };
47
+ return (p) => {
48
+ const m = b(u), j = Date.now() - r, h = () => i = p();
49
+ return l(), m <= 0 ? (r = Date.now(), h()) : (j > m && (c || !t) ? (r = Date.now(), h()) : s && (i = new Promise((T, D) => {
50
+ o = a ? D : T, n = setTimeout(() => {
51
+ r = Date.now(), t = !0, T(h()), l();
52
+ }, Math.max(0, m - j));
53
+ })), !c && !n && (n = setTimeout(() => t = !0, m)), t = !1, i);
54
+ };
55
+ }
56
+ function z(e) {
57
+ return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
58
+ }
59
+ function L(e) {
60
+ return g();
61
+ }
62
+ function B(e) {
63
+ return Array.isArray(e) ? e : [e];
64
+ }
65
+ function H(e, r = 200, n = {}) {
66
+ return y(
67
+ x(r, n),
68
+ e
69
+ );
70
+ }
71
+ function J(e, r = 200, n = !1, t = !0, o = !1) {
72
+ return y(
73
+ I(r, n, t, o),
74
+ e
75
+ );
76
+ }
77
+ function N(e, r, n = {}) {
78
+ const {
79
+ eventFilter: t = A,
80
+ ...o
81
+ } = n;
82
+ return F(
83
+ e,
84
+ y(
85
+ t,
86
+ r
87
+ ),
88
+ o
89
+ );
90
+ }
91
+ function K(e, r = !0, n) {
92
+ L() ? O(e, n) : r ? e() : W(e);
93
+ }
94
+ function Q(e, r, n = {}) {
95
+ const {
96
+ debounce: t = 0,
97
+ maxWait: o = void 0,
98
+ ...i
99
+ } = n;
100
+ return N(
101
+ e,
102
+ r,
103
+ {
104
+ ...i,
105
+ eventFilter: x(t, { maxWait: o })
106
+ }
107
+ );
108
+ }
109
+ function U(e, r, n) {
110
+ return F(
111
+ e,
112
+ r,
113
+ {
114
+ ...n,
115
+ immediate: !0
116
+ }
117
+ );
118
+ }
2
119
  export {
3
- t as urlAlphabet
120
+ A as bypassFilter,
121
+ y as createFilterWrapper,
122
+ x as debounceFilter,
123
+ Q as debouncedWatch,
124
+ L as getLifeCycleTarget,
125
+ E as injectLocal,
126
+ G as isClient,
127
+ q as isObject,
128
+ d as noop,
129
+ _ as notNullish,
130
+ z as pxValue,
131
+ I as throttleFilter,
132
+ B as toArray,
133
+ K as tryOnMounted,
134
+ V as tryOnScopeDispose,
135
+ H as useDebounceFn,
136
+ J as useThrottleFn,
137
+ Q as watchDebounced,
138
+ U as watchImmediate,
139
+ N as watchWithFilter
4
140
  };
package/dist/index214.js CHANGED
@@ -1,4 +1,4 @@
1
- const n = (t, a, m) => Math.min(Math.max(t, a), m);
1
+ const t = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
2
2
  export {
3
- n as clamp
3
+ t as urlAlphabet
4
4
  };
package/dist/index215.js CHANGED
@@ -1,7 +1,4 @@
1
- import { getDefaultExportFromCjs as r } from "./index315.js";
2
- import { __require as o } from "./index288.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
1
+ const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
5
2
  export {
6
- s as default
3
+ s as isCssColor
7
4
  };
package/dist/index216.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./index315.js";
2
- import { __require as e } from "./index290.js";
3
- var t = e();
4
- const m = /* @__PURE__ */ r(t);
1
+ import { getDefaultExportFromCjs as r } from "./index313.js";
2
+ import { __require as o } from "./index288.js";
3
+ var t = o();
4
+ const s = /* @__PURE__ */ r(t);
5
5
  export {
6
- m as default
6
+ s as default
7
7
  };
package/dist/index217.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./index315.js";
2
- import { __require as e } from "./index292.js";
3
- var o = e();
4
- const m = /* @__PURE__ */ r(o);
1
+ import { getDefaultExportFromCjs as r } from "./index313.js";
2
+ import { __require as e } from "./index290.js";
3
+ var t = e();
4
+ const m = /* @__PURE__ */ r(t);
5
5
  export {
6
6
  m as default
7
7
  };
package/dist/index218.js CHANGED
@@ -1,7 +1,7 @@
1
- import { getDefaultExportFromCjs as r } from "./index315.js";
2
- import { __require as t } from "./index294.js";
3
- var o = t();
4
- const a = /* @__PURE__ */ r(o);
1
+ import { getDefaultExportFromCjs as r } from "./index313.js";
2
+ import { __require as e } from "./index292.js";
3
+ var o = e();
4
+ const m = /* @__PURE__ */ r(o);
5
5
  export {
6
- a as default
6
+ m as default
7
7
  };