bitboss-ui 2.0.74 → 2.0.76

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 (143) hide show
  1. package/dist/components/BbTeleport.vue.d.ts +9 -0
  2. package/dist/index110.js +5 -5
  3. package/dist/index120.js +5 -5
  4. package/dist/index126.js +1 -1
  5. package/dist/index127.js +1 -1
  6. package/dist/index128.js +1 -1
  7. package/dist/index13.js +1 -1
  8. package/dist/index130.js +1 -1
  9. package/dist/index132.js +2 -2
  10. package/dist/index133.js +2 -2
  11. package/dist/index15.js +4 -4
  12. package/dist/index17.js +3 -3
  13. package/dist/index19.js +2 -2
  14. package/dist/index204.js +81 -2
  15. package/dist/index205.js +2 -53
  16. package/dist/index206.js +10 -0
  17. package/dist/index207.js +164 -13
  18. package/dist/index208.js +83 -19
  19. package/dist/index21.js +14 -14
  20. package/dist/index210.js +53 -3
  21. package/dist/index212.js +13 -5
  22. package/dist/index213.js +19 -15
  23. package/dist/index214.js +4 -16
  24. package/dist/index215.js +2 -19
  25. package/dist/index216.js +4 -19
  26. package/dist/index217.js +2 -27
  27. package/dist/index218.js +281 -3
  28. package/dist/index219.js +16 -2
  29. package/dist/index220.js +16 -8
  30. package/dist/index221.js +19 -249
  31. package/dist/index222.js +18 -51
  32. package/dist/index223.js +27 -44
  33. package/dist/index224.js +3 -5
  34. package/dist/index225.js +2 -60
  35. package/dist/index226.js +249 -2
  36. package/dist/index227.js +52 -4
  37. package/dist/index228.js +44 -2
  38. package/dist/index229.js +5 -126
  39. package/dist/index23.js +15 -15
  40. package/dist/index230.js +59 -124
  41. package/dist/index231.js +126 -2
  42. package/dist/index232.js +124 -40
  43. package/dist/index233.js +2 -6
  44. package/dist/index234.js +41 -5
  45. package/dist/index235.js +6 -369
  46. package/dist/index236.js +5 -3
  47. package/dist/index237.js +369 -7
  48. package/dist/index238.js +3 -164
  49. package/dist/index239.js +7 -84
  50. package/dist/index240.js +5 -0
  51. package/dist/index241.js +1 -1
  52. package/dist/index243.js +1 -1
  53. package/dist/index245.js +1 -1
  54. package/dist/index25.js +5 -5
  55. package/dist/index250.js +3 -6
  56. package/dist/index251.js +12 -16
  57. package/dist/index252.js +9 -3
  58. package/dist/index253.js +8 -8
  59. package/dist/index254.js +17 -23
  60. package/dist/index255.js +4 -3
  61. package/dist/index256.js +8 -0
  62. package/dist/index257.js +2 -7
  63. package/dist/index258.js +2 -176
  64. package/dist/index259.js +2 -224
  65. package/dist/index260.js +2 -9
  66. package/dist/index261.js +2 -281
  67. package/dist/index262.js +2 -6
  68. package/dist/index263.js +2 -2
  69. package/dist/index264.js +2 -2
  70. package/dist/index265.js +2 -2
  71. package/dist/index266.js +2 -2
  72. package/dist/index267.js +28 -2
  73. package/dist/index268.js +22 -2
  74. package/dist/index27.js +1 -1
  75. package/dist/index270.js +7 -2
  76. package/dist/index271.js +4 -2
  77. package/dist/index272.js +3 -2
  78. package/dist/index274.js +176 -22
  79. package/dist/index275.js +4 -0
  80. package/dist/index276.js +126 -4
  81. package/dist/index277.js +431 -2
  82. package/dist/index278.js +21 -125
  83. package/dist/index280.js +5 -21
  84. package/dist/index281.js +18 -0
  85. package/dist/index282.js +3 -89
  86. package/dist/index283.js +9 -3
  87. package/dist/index284.js +23 -12
  88. package/dist/index285.js +7 -7
  89. package/dist/index286.js +224 -9
  90. package/dist/index287.js +197 -14
  91. package/dist/index288.js +435 -3
  92. package/dist/index289.js +126 -199
  93. package/dist/index29.js +3 -3
  94. package/dist/index290.js +81 -428
  95. package/dist/index291.js +3 -127
  96. package/dist/index292.js +1 -1
  97. package/dist/index293.js +211 -3
  98. package/dist/index294.js +2 -211
  99. package/dist/index297.js +7 -2
  100. package/dist/index298.js +33 -4
  101. package/dist/index299.js +5 -4
  102. package/dist/index300.js +7 -58
  103. package/dist/index301.js +6 -4
  104. package/dist/index302.js +18 -7
  105. package/dist/index303.js +10 -32
  106. package/dist/index304.js +4 -84
  107. package/dist/index305.js +6 -0
  108. package/dist/index306.js +4 -4
  109. package/dist/index307.js +58 -6
  110. package/dist/index308.js +88 -7
  111. package/dist/index31.js +2 -2
  112. package/dist/index313.js +14 -0
  113. package/dist/index314.js +2 -2
  114. package/dist/index315.js +1 -1
  115. package/dist/index316.js +2 -47
  116. package/dist/index317.js +47 -2
  117. package/dist/index318.js +4 -0
  118. package/dist/index33.js +2 -2
  119. package/dist/index35.js +3 -3
  120. package/dist/index37.js +9 -9
  121. package/dist/index39.js +3 -3
  122. package/dist/index41.js +2 -2
  123. package/dist/index43.js +2 -2
  124. package/dist/index45.js +4 -4
  125. package/dist/index47.js +2 -2
  126. package/dist/index49.js +2 -2
  127. package/dist/index55.js +1 -1
  128. package/dist/index57.js +1 -1
  129. package/dist/index75.js +3 -3
  130. package/dist/index79.js +2 -2
  131. package/dist/index81.js +1 -1
  132. package/dist/index84.js +2 -2
  133. package/dist/index86.js +1 -1
  134. package/dist/index88.js +4 -4
  135. package/dist/index90.js +1 -1
  136. package/package.json +1 -1
  137. package/dist/index209.js +0 -6
  138. package/dist/index211.js +0 -83
  139. package/dist/index269.js +0 -4
  140. package/dist/index273.js +0 -30
  141. package/dist/index279.js +0 -433
  142. package/dist/index309.js +0 -21
  143. package/dist/index312.js +0 -13
package/dist/index316.js CHANGED
@@ -1,49 +1,4 @@
1
- function D(n, l, e) {
2
- let i = e.initialDeps ?? [], t;
3
- return () => {
4
- var r, c, h, m;
5
- let f;
6
- e.key && ((r = e.debug) != null && r.call(e)) && (f = Date.now());
7
- const o = n();
8
- if (!(o.length !== i.length || o.some((a, u) => i[u] !== a)))
9
- return t;
10
- i = o;
11
- let g;
12
- if (e.key && ((c = e.debug) != null && c.call(e)) && (g = Date.now()), t = l(...o), e.key && ((h = e.debug) != null && h.call(e))) {
13
- const a = Math.round((Date.now() - f) * 100) / 100, u = Math.round((Date.now() - g) * 100) / 100, w = u / 16, s = (d, b) => {
14
- for (d = String(d); d.length < b; )
15
- d = " " + d;
16
- return d;
17
- };
18
- console.info(
19
- `%c⏱ ${s(u, 5)} /${s(a, 5)} ms`,
20
- `
21
- font-size: .6rem;
22
- font-weight: bold;
23
- color: hsl(${Math.max(
24
- 0,
25
- Math.min(120 - 120 * w, 120)
26
- )}deg 100% 31%);`,
27
- e == null ? void 0 : e.key
28
- );
29
- }
30
- return (m = e == null ? void 0 : e.onChange) == null || m.call(e, t), t;
31
- };
32
- }
33
- function T(n, l) {
34
- if (n === void 0)
35
- throw new Error("Unexpected undefined");
36
- return n;
37
- }
38
- const y = (n, l) => Math.abs(n - l) < 1, M = (n, l, e) => {
39
- let i;
40
- return function(...t) {
41
- n.clearTimeout(i), i = n.setTimeout(() => l.apply(this, t), e);
42
- };
43
- };
1
+ import f from "./index313.js";
44
2
  export {
45
- y as approxEqual,
46
- M as debounce,
47
- D as memo,
48
- T as notUndefined
3
+ f as default
49
4
  };
package/dist/index317.js CHANGED
@@ -1,4 +1,49 @@
1
- var e = { exports: {} };
1
+ function D(n, l, e) {
2
+ let i = e.initialDeps ?? [], t;
3
+ return () => {
4
+ var r, c, h, m;
5
+ let f;
6
+ e.key && ((r = e.debug) != null && r.call(e)) && (f = Date.now());
7
+ const o = n();
8
+ if (!(o.length !== i.length || o.some((a, u) => i[u] !== a)))
9
+ return t;
10
+ i = o;
11
+ let g;
12
+ if (e.key && ((c = e.debug) != null && c.call(e)) && (g = Date.now()), t = l(...o), e.key && ((h = e.debug) != null && h.call(e))) {
13
+ const a = Math.round((Date.now() - f) * 100) / 100, u = Math.round((Date.now() - g) * 100) / 100, w = u / 16, s = (d, b) => {
14
+ for (d = String(d); d.length < b; )
15
+ d = " " + d;
16
+ return d;
17
+ };
18
+ console.info(
19
+ `%c⏱ ${s(u, 5)} /${s(a, 5)} ms`,
20
+ `
21
+ font-size: .6rem;
22
+ font-weight: bold;
23
+ color: hsl(${Math.max(
24
+ 0,
25
+ Math.min(120 - 120 * w, 120)
26
+ )}deg 100% 31%);`,
27
+ e == null ? void 0 : e.key
28
+ );
29
+ }
30
+ return (m = e == null ? void 0 : e.onChange) == null || m.call(e, t), t;
31
+ };
32
+ }
33
+ function T(n, l) {
34
+ if (n === void 0)
35
+ throw new Error("Unexpected undefined");
36
+ return n;
37
+ }
38
+ const y = (n, l) => Math.abs(n - l) < 1, M = (n, l, e) => {
39
+ let i;
40
+ return function(...t) {
41
+ n.clearTimeout(i), i = n.setTimeout(() => l.apply(this, t), e);
42
+ };
43
+ };
2
44
  export {
3
- e as __module
45
+ y as approxEqual,
46
+ M as debounce,
47
+ D as memo,
48
+ T as notUndefined
4
49
  };
@@ -0,0 +1,4 @@
1
+ var e = { exports: {} };
2
+ export {
3
+ e as __module
4
+ };
package/dist/index33.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as L, ref as m, toRef as d, openBlock as $, createBlock as E, unref as p, withCtx as t, renderSlot as i, normalizeProps as f, guardReactiveProps as b, createVNode as B, mergeProps as v, createSlots as C } from "vue";
2
- import { useOptions as w } from "./index238.js";
2
+ import { useOptions as w } from "./index207.js";
3
3
  import q from "./index31.js";
4
4
  /* empty css */
5
- import z from "./index239.js";
5
+ import z from "./index208.js";
6
6
  /* empty css */
7
7
  const N = /* @__PURE__ */ L({
8
8
  __name: "BaseRadioGroup",
package/dist/index35.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as g, computed as f, openBlock as l, createElementBlock as i, mergeProps as h, createElementVNode as r, renderSlot as p, Fragment as I, renderList as V, normalizeClass as B, toDisplayString as M } from "vue";
2
- import { booleanishToBoolean as D } from "./index228.js";
3
- import { identity as F } from "./index231.js";
4
- import { isCssColor as v } from "./index226.js";
2
+ import { booleanishToBoolean as D } from "./index217.js";
3
+ import { identity as F } from "./index233.js";
4
+ import { isCssColor as v } from "./index215.js";
5
5
  import { isNotNil as T } from "./index134.js";
6
6
  const $ = { class: "bb-base-rating__inner-container" }, q = { class: "bb-base-rating__label-text sr-only" }, x = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], H = ["height", "width"], J = /* @__PURE__ */ C({
7
7
  __name: "BaseRating",
package/dist/index37.js CHANGED
@@ -6,23 +6,23 @@ import { useMobile as Re } from "./index9.js";
6
6
  import Je from "./index127.js";
7
7
  /* empty css */
8
8
  import { isNotNil as Ye } from "./index134.js";
9
- import { last as je } from "./index219.js";
9
+ import { last as je } from "./index225.js";
10
10
  import { matchAnyKey as j } from "./index242.js";
11
- import { useFloating as Ge } from "./index229.js";
11
+ import { useFloating as Ge } from "./index231.js";
12
12
  import { useIntersectionObserver as Xe } from "./index132.js";
13
- import { useLogger as Ze } from "./index220.js";
14
- import { useOptions as et } from "./index238.js";
13
+ import { useLogger as Ze } from "./index206.js";
14
+ import { useOptions as et } from "./index207.js";
15
15
  import { wait as L } from "./index131.js";
16
- import { when as tt } from "./index227.js";
16
+ import { when as tt } from "./index216.js";
17
17
  import ot from "./index243.js";
18
18
  /* empty css */
19
19
  import nt from "./index245.js";
20
20
  /* empty css */
21
- import lt from "./index205.js";
21
+ import lt from "./index210.js";
22
22
  /* empty css */
23
- import at from "./index207.js";
24
- import { waitFor as it } from "./index233.js";
25
- import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index235.js";
23
+ import at from "./index212.js";
24
+ import { waitFor as it } from "./index235.js";
25
+ import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index237.js";
26
26
  const dt = { class: "bb-base-select__input-container" }, ct = {
27
27
  key: 1,
28
28
  class: "bb-base-select__max-reached"
package/dist/index39.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as U, ref as d, computed as h, onMounted as W, watch as Z, openBlock as g, createElementBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, Fragment as ee, renderList as ae, createCommentVNode as H, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeClass as F, normalizeStyle as I } from "vue";
2
- import { clamp as le } from "./index204.js";
2
+ import { clamp as le } from "./index205.js";
3
3
  import { head as O } from "./index247.js";
4
- import { isCssColor as Y } from "./index226.js";
4
+ import { isCssColor as Y } from "./index215.js";
5
5
  import { isNil as P } from "./index129.js";
6
6
  import { isNotNil as ne } from "./index134.js";
7
7
  import { transposeValue as y } from "./index130.js";
8
- import { hash as J } from "./index218.js";
8
+ import { hash as J } from "./index224.js";
9
9
  const oe = { class: "bb-base-slider__slider-container" }, ie = {
10
10
  key: 0,
11
11
  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, openBlock as h, createElementBlock as y, normalizeProps as r, guardReactiveProps as d, mergeProps as V, createCommentVNode as q, createElementVNode as l, renderSlot as A } from "vue";
2
- import { isCssColor as b } from "./index226.js";
3
- import { when as F } from "./index227.js";
2
+ import { isCssColor as b } from "./index215.js";
3
+ import { when as F } from "./index216.js";
4
4
  const N = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index43.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as V, ref as p, toRef as l, openBlock as w, createBlock as B, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v, createSlots as z } from "vue";
2
- import { useOptions as F } from "./index238.js";
2
+ import { useOptions as F } from "./index207.js";
3
3
  import M from "./index41.js";
4
4
  /* empty css */
5
- import S from "./index239.js";
5
+ import S from "./index208.js";
6
6
  /* empty css */
7
7
  const I = /* @__PURE__ */ V({
8
8
  __name: "BaseSwitchGroup",
package/dist/index45.js CHANGED
@@ -4,15 +4,15 @@ import { defineComponent as Y, ref as i, computed as k, toRef as B, openBlock as
4
4
  import ue from "./index127.js";
5
5
  /* empty css */
6
6
  import { isNotNil as se } from "./index134.js";
7
- import { last as de } from "./index219.js";
8
- import { useOptions as pe } from "./index238.js";
7
+ import { last as de } from "./index225.js";
8
+ import { useOptions as pe } from "./index207.js";
9
9
  import ce from "./index243.js";
10
10
  /* empty css */
11
11
  import me from "./index245.js";
12
12
  /* empty css */
13
- import fe from "./index205.js";
13
+ import fe from "./index210.js";
14
14
  /* empty css */
15
- import ve from "./index207.js";
15
+ import ve from "./index212.js";
16
16
  const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], qe = /* @__PURE__ */ Y({
17
17
  __name: "BaseTag",
18
18
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, ref as g, computed as u, onMounted as y, watch as V, nextTick as k, openBlock as x, createBlock as B, normalizeClass as $, withCtx as r, renderSlot as t, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
2
- import v from "./index207.js";
3
- import E from "./index205.js";
2
+ import v from "./index212.js";
3
+ import E from "./index210.js";
4
4
  /* empty css */
5
5
  import G from "./index127.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as p, normalizeClass as h, withCtx as n, renderSlot as r, createElementVNode as l, mergeProps as g } from "vue";
2
- import B from "./index205.js";
2
+ import B from "./index210.js";
3
3
  /* empty css */
4
- import k from "./index207.js";
4
+ import k from "./index212.js";
5
5
  const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], V = /* @__PURE__ */ m({
6
6
  __name: "BaseTextInput",
7
7
  props: {
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as z, computed as b, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as h, guardReactiveProps as k, renderSlot as y } from "vue";
2
- import { isCssColor as _ } from "./index226.js";
2
+ import { isCssColor as _ } from "./index215.js";
3
3
  import { wait as C } from "./index131.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as r } from "./index226.js";
2
+ import { isCssColor as r } from "./index215.js";
3
3
  import { isNil as B } from "./index129.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
package/dist/index75.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as W, defineAsyncComponent as X, computed as A, ref as w, openBlock as T, createElementBlock as D, mergeProps as C, createElementVNode as B, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as h, createVNode as O, withCtx as K, normalizeStyle as _, Fragment as P, renderList as x } from "vue";
2
- import { findRightIndex as H } from "./index253.js";
2
+ import { findRightIndex as H } from "./index283.js";
3
3
  import { useId as ee } from "./index8.js";
4
4
  import { wait as te } from "./index131.js";
5
5
  import { useIntersectionObserver as ne } from "./index132.js";
6
6
  import oe from "./index13.js";
7
7
  /* empty css */
8
- import j from "./index254.js";
8
+ import j from "./index284.js";
9
9
  const fe = /* @__PURE__ */ W({
10
10
  __name: "BbDropdown",
11
11
  props: {
@@ -24,7 +24,7 @@ const fe = /* @__PURE__ */ W({
24
24
  },
25
25
  setup(z) {
26
26
  const N = X(
27
- () => import("./index252.js")
27
+ () => import("./index282.js")
28
28
  ), r = z, d = r.id ?? `bb_${ee().id.value}`, m = A(() => {
29
29
  let e = r.items.findIndex((t) => !t.disabled), o = H(
30
30
  r.items,
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, 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 "./index251.js";
2
+ import { findInTree as ae } from "./index281.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index127.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("./index250.js")).default);
56
+ b || (b = (await import("./index280.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index236.js";
2
+ import { throttle as c } from "./index238.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as te, ref as l, useAttrs as oe, getCurrentInstance as le, computed as p, nextTick as se, onBeforeUnmount as x, onMounted as ae, watch as ne, openBlock as g, createBlock as ie, Teleport as re, createElementVNode as s, mergeProps as O, createElementBlock as V, renderSlot as n, createTextVNode as ue, toDisplayString as S, createCommentVNode as z } from "vue";
2
- import { useFocusTrap as ce } from "./index232.js";
2
+ import { useFocusTrap as ce } from "./index234.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { wait as E } from "./index131.js";
5
- import { useModalsState as b } from "./index237.js";
5
+ import { useModalsState as b } from "./index239.js";
6
6
  const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"], ge = /* @__PURE__ */ te({
7
7
  __name: "BbOffCanvas",
8
8
  props: {
package/dist/index86.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as P, computed as _, ref as g, onMounted as A, onBeforeUnmount as E, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as v, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
2
- import { debounce as F } from "./index260.js";
2
+ import { debounce as F } from "./index285.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import w from "./index13.js";
package/dist/index88.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as M, defineAsyncComponent as O, ref as r, computed as v, openBlock as y, createElementBlock as S, mergeProps as H, createElementVNode as c, renderSlot as k, normalizeProps as V, guardReactiveProps as q, createVNode as A, unref as I, withCtx as C, createBlock as W, createCommentVNode as z, nextTick as R } from "vue";
2
- import { useFocusTrap as j } from "./index232.js";
2
+ import { useFocusTrap as j } from "./index234.js";
3
3
  import { useId as G } from "./index8.js";
4
4
  import { useIntersectionObserver as J } from "./index132.js";
5
- import { waitFor as K } from "./index233.js";
5
+ import { waitFor as K } from "./index235.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import { useDebounceFn as U } from "./index211.js";
8
+ import { useDebounceFn as U } from "./index204.js";
9
9
  const ne = /* @__PURE__ */ M({
10
10
  __name: "BbPopover",
11
11
  props: {
@@ -25,7 +25,7 @@ const ne = /* @__PURE__ */ M({
25
25
  emits: ["shown", "hidden"],
26
26
  setup($, { expose: T, emit: _ }) {
27
27
  const B = O(
28
- () => import("./index252.js")
28
+ () => import("./index282.js")
29
29
  ), o = $, s = _, { id: P } = G(), p = `bbp_${P.value}`, n = r(), i = r(), { activate: N, deactivate: m } = j(i, {
30
30
  /**
31
31
  * This traps all clicks outside so we are pressing
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index204.js";
2
+ import { clamp as p } from "./index205.js";
3
3
  import { getAsPercentageBetween as i } from "./index130.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.0.74",
3
+ "version": "2.0.76",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index209.js DELETED
@@ -1,6 +0,0 @@
1
- function x(e) {
2
- return /^#([A-Fa-f0-9]{6})$/.test(e);
3
- }
4
- export {
5
- x as isHex
6
- };
package/dist/index211.js DELETED
@@ -1,83 +0,0 @@
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
- }
69
- 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
83
- };
package/dist/index269.js DELETED
@@ -1,4 +0,0 @@
1
- import f from "./index221.js";
2
- export {
3
- f as default
4
- };
package/dist/index273.js DELETED
@@ -1,30 +0,0 @@
1
- function y(t, r) {
2
- return t > r ? 1 : -1;
3
- }
4
- function c(t, r) {
5
- var n = 5381;
6
- if (typeof t == "object" && t !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
7
- r || (r = /* @__PURE__ */ new WeakSet());
8
- for (var p = Object.keys(t).sort(y), i = 0; i < p.length; i++) {
9
- var s = p[i], e = t[s];
10
- if (n = 33 * n ^ c(s, r), typeof e == "object" && e !== null && (t.toString === Object.prototype.toString || t.toString === Array.prototype.toString)) {
11
- if (r.has(e)) continue;
12
- r.add(e);
13
- }
14
- n = 33 * n ^ c(e, r);
15
- }
16
- return 33 * n ^ c(t.constructor, r);
17
- }
18
- var o = typeof t;
19
- try {
20
- t instanceof Date ? o += t.getTime() : o += String(t);
21
- } catch {
22
- o += String(Object.assign({}, t));
23
- }
24
- for (var a = 0; a < o.length; a++) n = 33 * n ^ o.charCodeAt(a);
25
- return n;
26
- }
27
- export {
28
- c as hash,
29
- y as sortNumbers
30
- };