bitboss-ui 2.0.103 → 2.0.104

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 (152) hide show
  1. package/dist/index100.js +9 -9
  2. package/dist/index111.js +11 -11
  3. package/dist/index119.js +1 -1
  4. package/dist/index121.js +5 -5
  5. package/dist/index123.js +1 -1
  6. package/dist/index127.js +1 -1
  7. package/dist/index128.js +1 -1
  8. package/dist/index129.js +1 -1
  9. package/dist/index13.js +23 -23
  10. package/dist/index131.js +1 -1
  11. package/dist/index132.js +2 -2
  12. package/dist/index133.js +2 -2
  13. package/dist/index15.js +4 -4
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +9 -9
  16. package/dist/index205.js +2 -53
  17. package/dist/index206.js +117 -0
  18. package/dist/index207.js +5 -13
  19. package/dist/index208.js +15 -19
  20. package/dist/index209.js +16 -4
  21. package/dist/index21.js +14 -14
  22. package/dist/index210.js +17 -124
  23. package/dist/index211.js +19 -5
  24. package/dist/index212.js +23 -121
  25. package/dist/index213.js +3 -19
  26. package/dist/index214.js +2 -16
  27. package/dist/index215.js +8 -16
  28. package/dist/index216.js +250 -2
  29. package/dist/index217.js +52 -2
  30. package/dist/index218.js +44 -41
  31. package/dist/index219.js +5 -6
  32. package/dist/index220.js +60 -5
  33. package/dist/index221.js +126 -12
  34. package/dist/index222.js +122 -366
  35. package/dist/index223.js +2 -2
  36. package/dist/index224.js +41 -4
  37. package/dist/index225.js +20 -2
  38. package/dist/index226.js +6 -3
  39. package/dist/index227.js +53 -7
  40. package/dist/index229.js +13 -3
  41. package/dist/index23.js +16 -16
  42. package/dist/index230.js +5 -84
  43. package/dist/index231.js +14 -0
  44. package/dist/index232.js +369 -8
  45. package/dist/index233.js +4 -25
  46. package/dist/index234.js +84 -17
  47. package/dist/index236.js +8 -15
  48. package/dist/index237.js +24 -11
  49. package/dist/index238.js +15 -14
  50. package/dist/index239.js +47 -18
  51. package/dist/index240.js +15 -27
  52. package/dist/index241.js +12 -250
  53. package/dist/index242.js +16 -52
  54. package/dist/index243.js +2 -44
  55. package/dist/index244.js +4 -5
  56. package/dist/index245.js +2 -60
  57. package/dist/index246.js +3 -2
  58. package/dist/index247.js +7 -115
  59. package/dist/index248.js +2 -3
  60. package/dist/index249.js +18 -2
  61. package/dist/index25.js +6 -6
  62. package/dist/index250.js +105 -17
  63. package/dist/{index253.js → index252.js} +2 -2
  64. package/dist/index254.js +14 -0
  65. package/dist/index255.js +2 -12
  66. package/dist/index256.js +3 -2
  67. package/dist/index257.js +2 -2
  68. package/dist/index260.js +9 -6
  69. package/dist/index261.js +23 -16
  70. package/dist/index262.js +88 -8
  71. package/dist/index264.js +9 -89
  72. package/dist/index265.js +8 -0
  73. package/dist/index266.js +16 -3
  74. package/dist/index267.js +283 -0
  75. package/dist/index268.js +6 -7
  76. package/dist/index269.js +2 -176
  77. package/dist/index27.js +1 -1
  78. package/dist/index270.js +2 -281
  79. package/dist/index271.js +2 -6
  80. package/dist/index272.js +2 -2
  81. package/dist/index273.js +2 -2
  82. package/dist/index275.js +2 -2
  83. package/dist/index276.js +2 -2
  84. package/dist/index277.js +2 -126
  85. package/dist/index278.js +2 -431
  86. package/dist/index279.js +27 -21
  87. package/dist/index280.js +24 -0
  88. package/dist/index282.js +6 -3
  89. package/dist/index283.js +3 -28
  90. package/dist/index284.js +6 -199
  91. package/dist/index285.js +10 -435
  92. package/dist/index286.js +16 -126
  93. package/dist/index287.js +9 -89
  94. package/dist/index288.js +3 -9
  95. package/dist/index29.js +3 -3
  96. package/dist/index290.js +175 -6
  97. package/dist/index291.js +2 -11
  98. package/dist/index292.js +124 -15
  99. package/dist/index293.js +431 -9
  100. package/dist/index294.js +21 -7
  101. package/dist/index296.js +2 -2
  102. package/dist/index297.js +4 -2
  103. package/dist/index298.js +8 -2
  104. package/dist/index299.js +436 -2
  105. package/dist/index300.js +127 -2
  106. package/dist/index301.js +199 -21
  107. package/dist/index302.js +91 -0
  108. package/dist/index303.js +3 -224
  109. package/dist/index304.js +1 -1
  110. package/dist/index305.js +213 -3
  111. package/dist/index306.js +224 -213
  112. package/dist/index307.js +5 -2
  113. package/dist/index308.js +2 -5
  114. package/dist/index31.js +2 -2
  115. package/dist/index310.js +3 -3
  116. package/dist/index311.js +7 -3
  117. package/dist/index312.js +17 -56
  118. package/dist/index313.js +4 -32
  119. package/dist/index314.js +7 -4
  120. package/dist/index315.js +3 -8
  121. package/dist/index316.js +3 -3
  122. package/dist/index317.js +57 -3
  123. package/dist/index320.js +6 -6
  124. package/dist/index321.js +3 -18
  125. package/dist/index322.js +32 -6
  126. package/dist/{index326.js → index325.js} +1 -1
  127. package/dist/index33.js +8 -8
  128. package/dist/index35.js +3 -3
  129. package/dist/index37.js +20 -20
  130. package/dist/index39.js +5 -5
  131. package/dist/index41.js +2 -2
  132. package/dist/index43.js +9 -9
  133. package/dist/index45.js +7 -7
  134. package/dist/index47.js +2 -2
  135. package/dist/index49.js +2 -2
  136. package/dist/index55.js +1 -1
  137. package/dist/index57.js +2 -2
  138. package/dist/index75.js +3 -3
  139. package/dist/index79.js +2 -2
  140. package/dist/index81.js +1 -1
  141. package/dist/index84.js +3 -3
  142. package/dist/index86.js +1 -1
  143. package/dist/index88.js +4 -4
  144. package/dist/index90.js +1 -1
  145. package/package.json +1 -1
  146. package/dist/index228.js +0 -10
  147. package/dist/index235.js +0 -50
  148. package/dist/index251.js +0 -108
  149. package/dist/index263.js +0 -25
  150. package/dist/index281.js +0 -4
  151. package/dist/index289.js +0 -5
  152. package/dist/index295.js +0 -4
package/dist/index322.js CHANGED
@@ -1,9 +1,35 @@
1
- function l(n, c, r = 1) {
2
- const o = Math.max(Math.ceil((c - n) / r), 0), t = new Array(o);
3
- for (let e = 0; e < o; e++, n += r)
4
- t[e] = n;
5
- return t;
1
+ import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
+ /* empty css */
3
+ import n from "./index282.js";
4
+ const l = {}, s = {
5
+ class: "bb-error-icon",
6
+ fill: "none",
7
+ viewBox: "0 0 20 20",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+ function i(c, r) {
11
+ return e(), t("svg", s, r[0] || (r[0] = [
12
+ o("path", {
13
+ d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
14
+ fill: "currentColor"
15
+ }, null, -1),
16
+ o("path", {
17
+ d: "M9.99414 6.66666V9.99999",
18
+ stroke: "white",
19
+ "stroke-linecap": "round",
20
+ "stroke-linejoin": "round",
21
+ "stroke-width": "2"
22
+ }, null, -1),
23
+ o("path", {
24
+ d: "M9.99414 13.3333H10.0025",
25
+ stroke: "white",
26
+ "stroke-linecap": "round",
27
+ "stroke-linejoin": "round",
28
+ "stroke-width": "2"
29
+ }, null, -1)
30
+ ]));
6
31
  }
32
+ const a = /* @__PURE__ */ n(l, [["render", i]]);
7
33
  export {
8
- l as range
34
+ a as default
9
35
  };
@@ -1,4 +1,4 @@
1
- import { getDefaultExportFromCjs as dr, commonjsGlobal as D } from "./index271.js";
1
+ import { getDefaultExportFromCjs as dr, commonjsGlobal as D } from "./index268.js";
2
2
  import { __module as M } from "./index329.js";
3
3
  M.exports;
4
4
  (function(j, F) {
package/dist/index33.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as F, ref as g, toRef as d, openBlock as M, createBlock as S, unref as V, withCtx as n, renderSlot as i, normalizeProps as f, guardReactiveProps as v, createVNode as R, mergeProps as B, createSlots as G } from "vue";
2
2
  import N from "./index31.js";
3
3
  /* empty css */
4
- import W from "./index230.js";
4
+ import W from "./index234.js";
5
5
  /* empty css */
6
- import { useItemsGetter as j } from "./index233.js";
7
- import { usePrefill as A } from "./index238.js";
8
- import { useIndexById as k } from "./index234.js";
9
- import { useBaseOptions as K } from "./index235.js";
10
- import { useCoherence as O } from "./index236.js";
11
- import { hash as U } from "./index229.js";
12
- import { useHashedWatcher as T } from "./index237.js";
6
+ import { useItemsGetter as j } from "./index237.js";
7
+ import { usePrefill as A } from "./index242.js";
8
+ import { useIndexById as k } from "./index238.js";
9
+ import { useBaseOptions as K } from "./index239.js";
10
+ import { useCoherence as O } from "./index240.js";
11
+ import { hash as U } from "./index213.js";
12
+ import { useHashedWatcher as T } from "./index241.js";
13
13
  const se = /* @__PURE__ */ F({
14
14
  __name: "BaseRadioGroup",
15
15
  props: {
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 B, renderList as I, normalizeClass as V, toDisplayString as M } from "vue";
2
- import { booleanishToBoolean as D } from "./index225.js";
3
- import { identity as F } from "./index216.js";
4
- import { isCssColor as v } from "./index223.js";
2
+ import { booleanishToBoolean as D } from "./index245.js";
3
+ import { identity as F } from "./index223.js";
4
+ import { isCssColor as v } from "./index243.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
@@ -5,30 +5,30 @@ import { useId as Ye } from "./index8.js";
5
5
  import { useMobile as Ze } from "./index9.js";
6
6
  import et from "./index128.js";
7
7
  /* empty css */
8
- import { last as tt } from "./index217.js";
9
- import { matchAnyKey as ae } from "./index250.js";
10
- import { useFloating as lt } from "./index210.js";
8
+ import { last as tt } from "./index214.js";
9
+ import { matchAnyKey as ae } from "./index249.js";
10
+ import { useFloating as lt } from "./index221.js";
11
11
  import { useIntersectionObserver as at } from "./index132.js";
12
12
  import { wait as E } from "./index130.js";
13
- import { when as ot } from "./index224.js";
14
- import nt from "./index251.js";
13
+ import { when as ot } from "./index244.js";
14
+ import nt from "./index250.js";
15
15
  /* empty css */
16
- import it from "./index253.js";
16
+ import it from "./index252.js";
17
17
  /* empty css */
18
- import ut from "./index205.js";
18
+ import ut from "./index227.js";
19
19
  /* empty css */
20
- import rt from "./index207.js";
21
- import { waitFor as st } from "./index219.js";
22
- import dt from "./index221.js";
23
- import { useItemsGetter as ct } from "./index233.js";
24
- import { usePrefill as pt } from "./index238.js";
25
- import { useArray as mt } from "./index255.js";
26
- import { useBaseOptions as ft } from "./index235.js";
27
- import { useIndexById as oe } from "./index234.js";
28
- import { useCoherence as vt } from "./index236.js";
29
- import { hash as yt } from "./index229.js";
30
- import { useHashedWatcher as ne } from "./index237.js";
31
- import { autoUpdate as ht, flip as bt, offset as gt, shift as wt } from "./index222.js";
20
+ import rt from "./index229.js";
21
+ import { waitFor as st } from "./index226.js";
22
+ import dt from "./index231.js";
23
+ import { useItemsGetter as ct } from "./index237.js";
24
+ import { usePrefill as pt } from "./index242.js";
25
+ import { useArray as mt } from "./index254.js";
26
+ import { useBaseOptions as ft } from "./index239.js";
27
+ import { useIndexById as oe } from "./index238.js";
28
+ import { useCoherence as vt } from "./index240.js";
29
+ import { hash as yt } from "./index213.js";
30
+ import { useHashedWatcher as ne } from "./index241.js";
31
+ import { autoUpdate as ht, flip as bt, offset as gt, shift as wt } from "./index232.js";
32
32
  const Bt = { class: "bb-base-select__input-container" }, Vt = {
33
33
  key: 1,
34
34
  class: "bb-base-select__max-reached"
@@ -76,7 +76,7 @@ const Bt = { class: "bb-base-select__input-container" }, Vt = {
76
76
  const t = ie, u = ue;
77
77
  if (t.multiple && !Array.isArray(t.modelValue))
78
78
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
79
- const re = Ge(() => import("./index249.js")), F = f(null), V = f(null), n = f(null), U = f(null), G = f(null), r = y(
79
+ const re = Ge(() => import("./index248.js")), F = f(null), V = f(null), n = f(null), U = f(null), G = f(null), r = y(
80
80
  () => t.comma ? U.value : G.value
81
81
  ), { isMobile: se } = Ze(), de = y(
82
82
  () => t.allowWriting === "not-mobile" && se.value ? "none" : void 0
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 "./index246.js";
3
- import { head as O } from "./index256.js";
4
- import { isCssColor as Y } from "./index223.js";
5
- import { isNil as P } from "./index257.js";
2
+ import { clamp as le } from "./index205.js";
3
+ import { head as O } from "./index257.js";
4
+ import { isCssColor as Y } from "./index243.js";
5
+ import { isNil as P } from "./index255.js";
6
6
  import { isNotNil as ne } from "./index134.js";
7
7
  import { transposeValue as y } from "./index131.js";
8
- import { hash as J } from "./index229.js";
8
+ import { hash as J } from "./index213.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 A, createElementVNode as l, renderSlot as F } from "vue";
2
- import { isCssColor as b } from "./index223.js";
3
- import { when as N } from "./index224.js";
2
+ import { isCssColor as b } from "./index243.js";
3
+ import { when as N } from "./index244.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,16 +1,16 @@
1
1
  import { defineComponent as z, ref as B, toRef as d, openBlock as G, createBlock as R, unref as u, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as W, mergeProps as w, createSlots as K } from "vue";
2
2
  import N from "./index41.js";
3
3
  /* empty css */
4
- import U from "./index230.js";
4
+ import U from "./index234.js";
5
5
  /* empty css */
6
- import { useLocale as q } from "./index232.js";
7
- import { useItemsGetter as J } from "./index233.js";
8
- import { useIndexById as E } from "./index234.js";
9
- import { useBaseOptions as Q } from "./index235.js";
10
- import { useCoherence as X } from "./index236.js";
11
- import { hash as Y } from "./index229.js";
12
- import { useHashedWatcher as L } from "./index237.js";
13
- import { usePrefill as Z } from "./index238.js";
6
+ import { useLocale as q } from "./index236.js";
7
+ import { useItemsGetter as J } from "./index237.js";
8
+ import { useIndexById as E } from "./index238.js";
9
+ import { useBaseOptions as Q } from "./index239.js";
10
+ import { useCoherence as X } from "./index240.js";
11
+ import { hash as Y } from "./index213.js";
12
+ import { useHashedWatcher as L } from "./index241.js";
13
+ import { usePrefill as Z } from "./index242.js";
14
14
  const pe = /* @__PURE__ */ z({
15
15
  __name: "BaseSwitchGroup",
16
16
  props: {
package/dist/index45.js CHANGED
@@ -3,16 +3,16 @@ import { defineComponent as R, ref as u, computed as f, toRef as E, watch as j,
3
3
  /* empty css */
4
4
  import oe from "./index128.js";
5
5
  /* empty css */
6
- import { last as ae } from "./index217.js";
7
- import { useBaseOptions as ne } from "./index235.js";
8
- import { useIndexById as le } from "./index234.js";
9
- import re from "./index251.js";
6
+ import { last as ae } from "./index214.js";
7
+ import { useBaseOptions as ne } from "./index239.js";
8
+ import { useIndexById as le } from "./index238.js";
9
+ import re from "./index250.js";
10
10
  /* empty css */
11
- import ie from "./index253.js";
11
+ import ie from "./index252.js";
12
12
  /* empty css */
13
- import ue from "./index205.js";
13
+ import ue from "./index227.js";
14
14
  /* empty css */
15
- import se from "./index207.js";
15
+ import se from "./index229.js";
16
16
  const de = { class: "bb-base-tag__input-container" }, pe = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], $e = /* @__PURE__ */ R({
17
17
  __name: "BaseTag",
18
18
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as w, ref as y, computed as u, onMounted as g, watch as B, nextTick as x, openBlock as V, createBlock as k, normalizeClass as $, withCtx as t, renderSlot as r, 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 "./index229.js";
3
+ import E from "./index227.js";
4
4
  /* empty css */
5
5
  import G from "./index128.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as m, computed as c, openBlock as b, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as h, withCtx as n, renderSlot as t, createElementVNode as l, mergeProps as g } from "vue";
2
- import B from "./index205.js";
2
+ import B from "./index227.js";
3
3
  /* empty css */
4
- import k from "./index207.js";
4
+ import k from "./index229.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 "./index223.js";
2
+ import { isCssColor as _ } from "./index243.js";
3
3
  import { wait as C } from "./index130.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 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 "./index223.js";
3
- import { isNil as B } from "./index257.js";
2
+ import { isCssColor as r } from "./index243.js";
3
+ import { isNil as B } from "./index255.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index75.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as X, computed as A, ref as y, openBlock as $, createElementBlock as T, mergeProps as B, createElementVNode as H, renderSlot as w, normalizeProps as Y, guardReactiveProps as Z, unref as h, createVNode as C, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as N, toDisplayString as te } from "vue";
2
- import { findRightIndex as I } from "./index262.js";
2
+ import { findRightIndex as I } from "./index260.js";
3
3
  import { useId as ne } from "./index8.js";
4
4
  import { wait as oe } from "./index130.js";
5
5
  import { useIntersectionObserver as ae } from "./index132.js";
6
6
  import le from "./index13.js";
7
7
  /* empty css */
8
- import V from "./index263.js";
9
- import se from "./index264.js";
8
+ import V from "./index261.js";
9
+ import se from "./index262.js";
10
10
  /* empty css */
11
11
  import j from "./index127.js";
12
12
  /* empty css */
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 "./index261.js";
2
+ import { findInTree as ae } from "./index266.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index128.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("./index260.js")).default);
56
+ b || (b = (await import("./index265.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 "./index226.js";
2
+ import { throttle as c } from "./index246.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as le, ref as l, useAttrs as se, computed as u, getCurrentInstance as ae, nextTick as ne, onBeforeUnmount as O, onMounted as ie, watch as re, openBlock as g, createBlock as ue, withCtx as ce, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as de, toDisplayString as A, createCommentVNode as $ } from "vue";
2
- import { useFocusTrap as fe } from "./index218.js";
2
+ import { useFocusTrap as fe } from "./index224.js";
3
3
  import { useId as E } from "./index8.js";
4
4
  import { wait as H } from "./index130.js";
5
- import { useModalsState as b } from "./index227.js";
6
- import ve from "./index221.js";
5
+ import { useModalsState as b } from "./index247.js";
6
+ import ve from "./index231.js";
7
7
  import { useMobile as pe } from "./index9.js";
8
8
  const be = ["inert"], me = { class: "bb-offcanvas-close" }, ye = ["aria-label"], Ve = /* @__PURE__ */ le({
9
9
  __name: "BbOffCanvas",
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 "./index288.js";
2
+ import { debounce as F } from "./index264.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import w from "./index13.js";
package/dist/index88.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as M, ref as n, computed as v, openBlock as k, createElementBlock as O, mergeProps as F, createElementVNode as p, renderSlot as y, normalizeProps as S, guardReactiveProps as H, createVNode as V, withCtx as C, createBlock as q, createCommentVNode as I, nextTick as W } from "vue";
2
- import { useFocusTrap as z } from "./index218.js";
2
+ import { useFocusTrap as z } from "./index224.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { useIntersectionObserver as R } from "./index132.js";
5
- import { waitFor as j } from "./index219.js";
5
+ import { waitFor as j } from "./index226.js";
6
6
  import G from "./index13.js";
7
7
  /* empty css */
8
- import J from "./index264.js";
8
+ import J from "./index262.js";
9
9
  /* empty css */
10
- import { useDebounceFn as K } from "./index247.js";
10
+ import { useDebounceFn as K } from "./index206.js";
11
11
  const re = /* @__PURE__ */ M({
12
12
  __name: "BbPopover",
13
13
  props: {
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 "./index246.js";
2
+ import { clamp as p } from "./index205.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.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.103",
3
+ "version": "2.0.104",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index228.js DELETED
@@ -1,10 +0,0 @@
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
- });
8
- export {
9
- e as useLogger
10
- };
package/dist/index235.js DELETED
@@ -1,50 +0,0 @@
1
- import { computed as d, unref as s } from "vue";
2
- import { useItemText as y } from "./index292.js";
3
- import { useItemValue as x } from "./index293.js";
4
- import { hash as w } from "./index229.js";
5
- import { useLogger as D } from "./index228.js";
6
- const { getItemText: O } = y(), { getItemValue: V } = x(), { warn: H } = D(), T = (i, l, t, a, c) => l || i.disabled ? !0 : typeof t == "function" ? !t(i) : !!(typeof t == "boolean" && !t || a && c >= a), q = ({
7
- items: i,
8
- disabled: l,
9
- selectable: t,
10
- itemText: a,
11
- itemValue: c,
12
- selectedIndexedByHash: p,
13
- max: b = 1 / 0
14
- }) => {
15
- const v = d(() => s(l)), f = d(() => s(i)), h = Object.keys(p.value).length, g = s(b), m = (e) => {
16
- const n = V(e, s(c)), o = w(n), u = O(e, s(a)), r = p.value[o] !== void 0, I = T(
17
- e,
18
- v.value,
19
- t,
20
- g,
21
- h
22
- );
23
- return {
24
- item: e,
25
- text: u,
26
- value: n,
27
- valueHash: o,
28
- selected: r,
29
- disabled: s(I)
30
- };
31
- };
32
- return {
33
- options: d(() => {
34
- const e = [], n = /* @__PURE__ */ new Set();
35
- for (let o = 0; o < f.value.length; o++) {
36
- const u = f.value[o];
37
- u.disabled && H(
38
- "Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
39
- );
40
- const r = m(u);
41
- n.has(r.valueHash) || (n.add(r.valueHash), e.push(r));
42
- }
43
- return e;
44
- }),
45
- createOption: m
46
- };
47
- };
48
- export {
49
- q as useBaseOptions
50
- };
package/dist/index251.js DELETED
@@ -1,108 +0,0 @@
1
- import { defineComponent as y, ref as F, computed as H, watch as N, openBlock as p, createElementBlock as L, Fragment as S, renderList as V, createBlock as A, normalizeClass as O, withModifiers as P, withCtx as $, createTextVNode as z, toDisplayString as D } from "vue";
2
- import { hash as d } from "./index229.js";
3
- import { isNil as l } from "./index257.js";
4
- import E from "./index125.js";
5
- /* empty css */
6
- const K = /* @__PURE__ */ y({
7
- __name: "ChipsBox",
8
- props: {
9
- options: {}
10
- },
11
- emits: ["option:unselected"],
12
- setup(f, { expose: v, emit: h }) {
13
- const t = f, u = h, n = F(null), i = H(() => t.options.some((e) => !e.disabled)), a = (e = 1) => {
14
- const s = l(n.value) ? -1 : n.value;
15
- let o = (s + e) % t.options.length;
16
- for (; t.options[o].disabled && o !== s; )
17
- o = a(e + 1);
18
- return o;
19
- }, x = () => {
20
- if (!i.value) return;
21
- const e = a();
22
- n.value = e;
23
- }, c = (e = 1) => {
24
- const s = l(n.value) ? 0 : n.value;
25
- let o = (s - e + t.options.length) % t.options.length;
26
- for (; t.options[o].disabled && o !== s; )
27
- o = c(e + 1);
28
- return o;
29
- }, m = async () => {
30
- if (!i.value) return;
31
- const e = c();
32
- n.value = e;
33
- }, w = () => {
34
- if (!i.value) return;
35
- let e = 0;
36
- for (; t.options[e].disabled; )
37
- e++;
38
- n.value = e;
39
- }, b = () => {
40
- if (!i.value) return;
41
- let e = t.options.length - 1;
42
- for (; t.options[e].disabled && e !== 0; )
43
- e--;
44
- n.value = e;
45
- }, I = () => {
46
- if (!i.value) return;
47
- let e = 0;
48
- for (; !t.options[e].selected && t.options.length !== e; )
49
- e++;
50
- n.value = e;
51
- }, g = () => {
52
- if (!i.value) return;
53
- let e = t.options.length - 1;
54
- for (; t.options[e].selected && e !== 0; )
55
- e--;
56
- n.value = e;
57
- }, _ = (e) => {
58
- if (!i.value) return;
59
- const s = t.options.findIndex(
60
- (o) => o.valueHash === e
61
- );
62
- s >= 0 && (n.value = s);
63
- }, r = () => {
64
- n.value = null;
65
- }, k = () => {
66
- if (l(n.value)) return;
67
- const e = t.options[n.value];
68
- e.selected && u("option:unselected", e);
69
- }, C = () => l(n.value) ? void 0 : t.options[n.value];
70
- return N(
71
- () => t.options,
72
- (e, s) => {
73
- d(e) !== d(s) && r();
74
- },
75
- {
76
- flush: "post"
77
- }
78
- ), v({
79
- focusNext: x,
80
- focusPrevious: m,
81
- focusFirst: w,
82
- focusFirstSelected: I,
83
- focusLast: b,
84
- focusLastSelected: g,
85
- blur: r,
86
- confirmOption: k,
87
- focusByHash: _,
88
- getHighlighted: C
89
- }), (e, s) => (p(!0), L(S, null, V(e.options, (o, B) => (p(), A(E, {
90
- key: o.valueHash,
91
- class: O({
92
- "bb-chipsbox-item": !0,
93
- "bb-chipsbox-item--focused": B === n.value
94
- }),
95
- clearable: !0,
96
- text: o.text,
97
- "onClick:clear": P((M) => u("option:unselected", o), ["stop"])
98
- }, {
99
- default: $(() => [
100
- z(D(o.text), 1)
101
- ]),
102
- _: 2
103
- }, 1032, ["class", "text", "onClick:clear"]))), 128));
104
- }
105
- });
106
- export {
107
- K as default
108
- };
package/dist/index263.js DELETED
@@ -1,25 +0,0 @@
1
- const e = {
2
- inert: ":not([inert]):not([inert] *)",
3
- negTabIndex: ':not([tabindex^="-"])',
4
- disabled: ":not(:disabled)"
5
- }, n = [
6
- `a[href]${e.inert}${e.negTabIndex}`,
7
- `area[href]${e.inert}${e.negTabIndex}`,
8
- `input:not([type="hidden"]):not([type="radio"])${e.inert}${e.negTabIndex}${e.disabled}`,
9
- `input[type="radio"]${e.inert}${e.negTabIndex}${e.disabled}`,
10
- `select${e.inert}${e.negTabIndex}${e.disabled}`,
11
- `textarea${e.inert}${e.negTabIndex}${e.disabled}`,
12
- `button${e.inert}${e.negTabIndex}${e.disabled}`,
13
- `details${e.inert} > summary:first-of-type${e.negTabIndex}`,
14
- // Discard until Firefox supports `:has()`
15
- // See: https://github.com/KittyGiraudel/focusable-selectors/issues/12
16
- // `details:not(:has(> summary))${not.inert}${not.negTabIndex}`,
17
- `iframe${e.inert}${e.negTabIndex}`,
18
- `audio[controls]${e.inert}${e.negTabIndex}`,
19
- `video[controls]${e.inert}${e.negTabIndex}`,
20
- `[contenteditable]${e.inert}${e.negTabIndex}`,
21
- `[tabindex]${e.inert}${e.negTabIndex}`
22
- ];
23
- export {
24
- n as default
25
- };
package/dist/index281.js DELETED
@@ -1,4 +0,0 @@
1
- import f from "./index221.js";
2
- export {
3
- f as default
4
- };
package/dist/index289.js DELETED
@@ -1,5 +0,0 @@
1
- import o from "./index230.js";
2
- /* empty css */
3
- export {
4
- o as default
5
- };
package/dist/index295.js DELETED
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };