bitboss-ui 2.1.36 → 2.1.37

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 (168) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index106.js +8 -8
  3. package/dist/index111.js +1 -1
  4. package/dist/index113.js +1 -1
  5. package/dist/index121.js +11 -11
  6. package/dist/index129.js +1 -1
  7. package/dist/index131.js +6 -6
  8. package/dist/index133.js +1 -1
  9. package/dist/index139.js +1 -1
  10. package/dist/index140.js +2 -2
  11. package/dist/index141.js +1 -1
  12. package/dist/index142.js +2 -2
  13. package/dist/index15.js +5 -5
  14. package/dist/index17.js +3 -3
  15. package/dist/index19.js +8 -8
  16. package/dist/index21.js +16 -16
  17. package/dist/index212.js +138 -2
  18. package/dist/index213.js +2 -138
  19. package/dist/index214.js +2 -2
  20. package/dist/index215.js +10 -2
  21. package/dist/index216.js +3 -5
  22. package/dist/index217.js +13 -5
  23. package/dist/index218.js +3 -5
  24. package/dist/index219.js +4 -5
  25. package/dist/index220.js +20 -5
  26. package/dist/index221.js +197 -5
  27. package/dist/index223.js +121 -3
  28. package/dist/index225.js +5 -8
  29. package/dist/index226.js +5 -250
  30. package/dist/index227.js +5 -52
  31. package/dist/index228.js +5 -44
  32. package/dist/index229.js +4 -4
  33. package/dist/index23.js +12 -12
  34. package/dist/index230.js +5 -60
  35. package/dist/index231.js +2 -13
  36. package/dist/index232.js +2 -183
  37. package/dist/index233.js +2 -3
  38. package/dist/index234.js +1 -1
  39. package/dist/index235.js +2 -4
  40. package/dist/index236.js +4 -2
  41. package/dist/index237.js +2 -2
  42. package/dist/index242.js +50 -6
  43. package/dist/index243.js +17 -5
  44. package/dist/index244.js +106 -2
  45. package/dist/index246.js +96 -117
  46. package/dist/index248.js +13 -4
  47. package/dist/index249.js +12 -196
  48. package/dist/index25.js +3 -3
  49. package/dist/index250.js +11 -0
  50. package/dist/index251.js +23 -86
  51. package/dist/index252.js +6 -0
  52. package/dist/index253.js +22 -28
  53. package/dist/index254.js +5 -17
  54. package/dist/index255.js +5 -51
  55. package/dist/index256.js +3 -15
  56. package/dist/index257.js +8 -12
  57. package/dist/index258.js +250 -16
  58. package/dist/index259.js +51 -12
  59. package/dist/index260.js +44 -13
  60. package/dist/index261.js +5 -106
  61. package/dist/index262.js +62 -0
  62. package/dist/index263.js +182 -99
  63. package/dist/index264.js +9 -0
  64. package/dist/index265.js +85 -17
  65. package/dist/index267.js +28 -228
  66. package/dist/index268.js +14 -9
  67. package/dist/index269.js +11 -2
  68. package/dist/index27.js +1 -1
  69. package/dist/index270.js +15 -8
  70. package/dist/index271.js +9 -23
  71. package/dist/index272.js +10 -3
  72. package/dist/index273.js +17 -22
  73. package/dist/index274.js +12 -3
  74. package/dist/index275.js +229 -6
  75. package/dist/index276.js +6 -16
  76. package/dist/index277.js +16 -9
  77. package/dist/index278.js +3 -9
  78. package/dist/index279.js +2 -8
  79. package/dist/index280.js +9 -2
  80. package/dist/index281.js +5 -67
  81. package/dist/index283.js +1 -1
  82. package/dist/index285.js +8 -5
  83. package/dist/index286.js +67 -5
  84. package/dist/index287.js +4 -7
  85. package/dist/index288.js +7 -279
  86. package/dist/index289.js +7 -2
  87. package/dist/index29.js +2 -2
  88. package/dist/index290.js +5 -16
  89. package/dist/index291.js +3 -2
  90. package/dist/index292.js +3 -16
  91. package/dist/index293.js +4 -2
  92. package/dist/index294.js +278 -17
  93. package/dist/index295.js +2 -2
  94. package/dist/index296.js +123 -13
  95. package/dist/index297.js +2 -2
  96. package/dist/index298.js +11 -15
  97. package/dist/index300.js +12 -23
  98. package/dist/index302.js +16 -2
  99. package/dist/index303.js +2 -2
  100. package/dist/index304.js +19 -2
  101. package/dist/index305.js +2 -2
  102. package/dist/index306.js +2 -28
  103. package/dist/index307.js +4 -22
  104. package/dist/index308.js +8 -0
  105. package/dist/index309.js +28 -7
  106. package/dist/index31.js +2 -2
  107. package/dist/index310.js +3 -11
  108. package/dist/index311.js +3 -5
  109. package/dist/index312.js +17 -4
  110. package/dist/index313.js +18 -5
  111. package/dist/index314.js +2 -4
  112. package/dist/index315.js +27 -2
  113. package/dist/index316.js +2 -125
  114. package/dist/index317.js +2 -2
  115. package/dist/index318.js +2 -3
  116. package/dist/index319.js +2 -3
  117. package/dist/index320.js +2 -3
  118. package/dist/index321.js +20 -15
  119. package/dist/index323.js +1 -1
  120. package/dist/index324.js +1 -1
  121. package/dist/index325.js +718 -5
  122. package/dist/index326.js +363 -715
  123. package/dist/index327.js +58 -366
  124. package/dist/index328.js +5 -58
  125. package/dist/index33.js +8 -8
  126. package/dist/index331.js +1 -1
  127. package/dist/index332.js +34 -6
  128. package/dist/index333.js +6 -19
  129. package/dist/index334.js +128 -6
  130. package/dist/index335.js +361 -220
  131. package/dist/index336.js +227 -57
  132. package/dist/index337.js +7 -58
  133. package/dist/index338.js +7 -34
  134. package/dist/index339.js +6 -6
  135. package/dist/index340.js +7 -128
  136. package/dist/index341.js +56 -367
  137. package/dist/index342.js +58 -8
  138. package/dist/index343.js +46 -5
  139. package/dist/index344.js +7 -8
  140. package/dist/index345.js +17 -45
  141. package/dist/index346.js +1 -1
  142. package/dist/index35.js +4 -4
  143. package/dist/index37.js +18 -18
  144. package/dist/index39.js +3 -3
  145. package/dist/index41.js +2 -2
  146. package/dist/index43.js +8 -8
  147. package/dist/index45.js +6 -6
  148. package/dist/index49.js +1 -1
  149. package/dist/index53.js +1 -1
  150. package/dist/index55.js +1 -1
  151. package/dist/index57.js +1 -1
  152. package/dist/index61.js +3 -3
  153. package/dist/index67.js +1 -1
  154. package/dist/index79.js +6 -6
  155. package/dist/index81.js +1 -1
  156. package/dist/index83.js +2 -2
  157. package/dist/index85.js +46 -29
  158. package/dist/index87.js +1 -1
  159. package/dist/index90.js +3 -3
  160. package/dist/index92.js +2 -2
  161. package/dist/index94.js +5 -5
  162. package/dist/index96.js +1 -1
  163. package/package.json +1 -1
  164. package/dist/index222.js +0 -7
  165. package/dist/index224.js +0 -4
  166. package/dist/index245.js +0 -22
  167. package/dist/index266.js +0 -14
  168. package/dist/index322.js +0 -5
package/dist/index37.js CHANGED
@@ -1,34 +1,34 @@
1
1
  import { defineComponent as Xe, ref as v, computed as h, toRef as L, createBlock as U, openBlock as y, normalizeClass as ee, withCtx as s, createElementVNode as T, createVNode as E, createElementBlock as O, unref as g, renderSlot as p, createCommentVNode as te, withDirectives as Ye, Fragment as ae, toDisplayString as Ze, withKeys as w, withModifiers as m, normalizeStyle as le, vModelDynamic as et, mergeProps as oe, renderList as tt, nextTick as j } from "vue";
2
2
  import at from "./index111.js";
3
3
  /* empty css */
4
- import { hash as lt } from "./index223.js";
5
- import { isEmpty as ot } from "./index244.js";
6
- import { last as nt } from "./index224.js";
7
- import { matchAnyKey as ne } from "./index265.js";
8
- import { useArray as ut } from "./index266.js";
9
- import { useBaseOptions as st } from "./index255.js";
10
- import { useCoherence as it } from "./index256.js";
11
- import { useHashedWatcher as ue } from "./index257.js";
4
+ import { hash as lt } from "./index256.js";
5
+ import { isEmpty as ot } from "./index232.js";
6
+ import { last as nt } from "./index233.js";
7
+ import { matchAnyKey as ne } from "./index273.js";
8
+ import { useArray as ut } from "./index274.js";
9
+ import { useBaseOptions as st } from "./index242.js";
10
+ import { useCoherence as it } from "./index268.js";
11
+ import { useHashedWatcher as ue } from "./index269.js";
12
12
  import { useId as rt } from "./index8.js";
13
- import { useIndexById as se } from "./index254.js";
13
+ import { useIndexById as se } from "./index243.js";
14
14
  import { useMounted as dt, useElementSize as ct, useIntersectionObserver as pt } from "./index140.js";
15
- import { useItemsGetter as mt } from "./index253.js";
16
- import { useLocale as ft } from "./index231.js";
15
+ import { useItemsGetter as mt } from "./index267.js";
16
+ import { useLocale as ft } from "./index217.js";
17
17
  import { useMobile as vt } from "./index9.js";
18
- import { usePrefill as ht } from "./index258.js";
18
+ import { usePrefill as ht } from "./index270.js";
19
19
  import { wait as F } from "./index138.js";
20
- import { when as yt } from "./index235.js";
21
- import bt from "./index261.js";
20
+ import { when as yt } from "./index236.js";
21
+ import bt from "./index244.js";
22
22
  /* empty css */
23
- import gt from "./index263.js";
23
+ import gt from "./index246.js";
24
24
  /* empty css */
25
25
  import wt from "./index135.js";
26
26
  /* empty css */
27
27
  import Bt from "./index137.js";
28
- import Vt from "./index246.js";
28
+ import Vt from "./index223.js";
29
29
  /* empty css */
30
- import St from "./index267.js";
31
- import { useUntil as kt } from "./index260.js";
30
+ import St from "./index275.js";
31
+ import { useUntil as kt } from "./index249.js";
32
32
  const Ct = { class: "bb-base-select__input-container" }, It = {
33
33
  key: 1,
34
34
  class: "bb-base-select__max-reached"
package/dist/index39.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as re, ref as d, computed as p, onMounted as te, watch as le, createElementBlock as y, openBlock as g, mergeProps as N, renderSlot as v, createElementVNode as m, createCommentVNode as H, Fragment as oe, renderList as ne, normalizeProps as se, guardReactiveProps as ie, unref as c, normalizeStyle as G, normalizeClass as O } from "vue";
2
2
  import { head as ue } from "./index238.js";
3
- import { isCssColor as Y } from "./index215.js";
3
+ import { isCssColor as Y } from "./index235.js";
4
4
  import { isNil as S } from "./index239.js";
5
5
  import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index139.js";
6
6
  import { snapToStep as me } from "./index240.js";
7
- import { last as ce } from "./index224.js";
7
+ import { last as ce } from "./index233.js";
8
8
  import { transpose as j } from "./index241.js";
9
- import { clamp as f } from "./index212.js";
9
+ import { clamp as f } from "./index214.js";
10
10
  const be = { class: "bb-base-slider__slider-container" }, ve = {
11
11
  key: 0,
12
12
  class: "bb-base-slider__ticks-container"
package/dist/index41.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as I, ref as f, computed as n, watch as S, createElementBlock as h, openBlock as y, normalizeProps as r, guardReactiveProps as d, createCommentVNode as A, createElementVNode as l, mergeProps as V, renderSlot as F } from "vue";
2
- import { isCssColor as b } from "./index215.js";
3
- import { when as N } from "./index235.js";
2
+ import { isCssColor as b } from "./index235.js";
3
+ import { when as N } from "./index236.js";
4
4
  const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
5
5
  __name: "BaseSwitch",
6
6
  props: {
package/dist/index43.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index41.js";
3
3
  /* empty css */
4
- import N from "./index251.js";
4
+ import N from "./index265.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index253.js";
7
- import { useIndexById as T } from "./index254.js";
8
- import { useBaseOptions as q } from "./index255.js";
9
- import { useCoherence as J } from "./index256.js";
10
- import { hash as Q } from "./index223.js";
11
- import { useHashedWatcher as $ } from "./index257.js";
12
- import { usePrefill as X } from "./index258.js";
6
+ import { useItemsGetter as U } from "./index267.js";
7
+ import { useIndexById as T } from "./index243.js";
8
+ import { useBaseOptions as q } from "./index242.js";
9
+ import { useCoherence as J } from "./index268.js";
10
+ import { hash as Q } from "./index256.js";
11
+ import { useHashedWatcher as $ } from "./index269.js";
12
+ import { usePrefill as X } from "./index270.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as j, ref as i, computed as f, toRef as E, watch as Q, createBlock as k, openBlock as v, normalizeClass as Z, withCtx as n, createVNode as I, unref as G, createElementVNode as $, createElementBlock as J, createCommentVNode as W, withDirectives as X, Fragment as Y, mergeProps as ee, withModifiers as s, withKeys as y, vModelText as te, renderSlot as d, nextTick as oe } from "vue";
2
2
  import ae from "./index111.js";
3
3
  /* empty css */
4
- import { last as le } from "./index224.js";
5
- import { useBaseOptions as ne } from "./index255.js";
6
- import { useIndexById as re } from "./index254.js";
7
- import ue from "./index261.js";
4
+ import { last as le } from "./index233.js";
5
+ import { useBaseOptions as ne } from "./index242.js";
6
+ import { useIndexById as re } from "./index243.js";
7
+ import ue from "./index244.js";
8
8
  /* empty css */
9
- import ie from "./index263.js";
9
+ import ie from "./index246.js";
10
10
  /* empty css */
11
11
  import se from "./index135.js";
12
12
  /* empty css */
13
13
  import de from "./index137.js";
14
- import { isEmpty as pe } from "./index244.js";
14
+ import { isEmpty as pe } from "./index232.js";
15
15
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Oe = /* @__PURE__ */ j({
16
16
  __name: "BaseTag",
17
17
  props: {
package/dist/index49.js CHANGED
@@ -3,7 +3,7 @@ import E from "./index135.js";
3
3
  /* empty css */
4
4
  import I from "./index137.js";
5
5
  import { isNotNil as N } from "./index143.js";
6
- import { MaskInput as z } from "./index232.js";
6
+ import { MaskInput as z } from "./index263.js";
7
7
  const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
8
8
  __name: "BaseTextInput",
9
9
  props: {
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index85.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index231.js";
6
+ import { useLocale as g } from "./index217.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index215.js";
2
+ import { isCssColor as y } from "./index235.js";
3
3
  import { wait as C } from "./index138.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 s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as l } from "./index215.js";
2
+ import { isCssColor as l } from "./index235.js";
3
3
  import { isNil as B } from "./index239.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
7
7
  /* empty css */
8
8
  import T from "./index113.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index268.js";
11
- import { noop as w } from "./index269.js";
12
- import { useLocale as D } from "./index231.js";
10
+ import { pickBy as W } from "./index215.js";
11
+ import { noop as w } from "./index216.js";
12
+ import { useLocale as D } from "./index217.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index67.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
2
- import { useLocale as f } from "./index231.js";
2
+ import { useLocale as f } from "./index217.js";
3
3
  const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
4
4
  __name: "BbChip",
5
5
  props: {
package/dist/index79.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as ee, ref as q, computed as g, useTemplateRef as te, watch as oe, createElementBlock as D, openBlock as w, Fragment as L, renderSlot as p, createVNode as F, normalizeProps as ne, guardReactiveProps as ae, unref as m, mergeProps as B, withCtx as O, createElementVNode as V, normalizeStyle as ie, renderList as se, createBlock as K, createCommentVNode as P, toDisplayString as re } from "vue";
2
- import { findRightIndex as T } from "./index270.js";
2
+ import { findRightIndex as T } from "./index250.js";
3
3
  import { useId as le } from "./index8.js";
4
- import { useUntil as de } from "./index260.js";
4
+ import { useUntil as de } from "./index249.js";
5
5
  import { wait as ue } from "./index138.js";
6
6
  import ce from "./index13.js";
7
7
  /* empty css */
8
8
  import R from "./index85.js";
9
9
  /* empty css */
10
- import fe from "./index246.js";
10
+ import fe from "./index223.js";
11
11
  /* empty css */
12
- import U from "./index271.js";
13
- import { extractDomContainer as S } from "./index272.js";
12
+ import U from "./index251.js";
13
+ import { extractDomContainer as S } from "./index252.js";
14
14
  import { useIntersectionObserver as pe, useElementSize as me } from "./index140.js";
15
- import { parseWidthString as ve } from "./index273.js";
15
+ import { parseWidthString as ve } from "./index253.js";
16
16
  const be = ["id", "aria-labelledby", "inert"], ye = { class: "item__content" }, _e = /* @__PURE__ */ ee({
17
17
  inheritAttrs: !1,
18
18
  __name: "BbDropdown",
package/dist/index81.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
9
9
  /* empty css */
10
10
  import I from "./index113.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index231.js";
12
+ import { useLocale as M } from "./index217.js";
13
13
  const O = { class: "bb-dropdown-button__content" }, R = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index83.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index276.js";
2
+ import { findInTree as ae } from "./index277.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index111.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index275.js")).default);
56
+ b || (b = (await import("./index276.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index85.js CHANGED
@@ -1,53 +1,70 @@
1
- import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, createElementBlock as h, openBlock as $, mergeProps as g } from "vue";
2
- import { isCssColor as I } from "./index215.js";
3
- const B = ["innerHTML"], k = /* @__PURE__ */ v({
1
+ import { defineComponent as h, ref as a, getCurrentInstance as l, onServerPrefetch as y, onBeforeMount as g, watch as b, computed as u, createElementBlock as w, openBlock as z, mergeProps as $, inject as I } from "vue";
2
+ import { isCssColor as _ } from "./index235.js";
3
+ import { get as p } from "./index272.js";
4
+ import { useLogger as M } from "./index257.js";
5
+ const k = ["innerHTML"], j = /* @__PURE__ */ h({
4
6
  __name: "BbIcon",
5
7
  props: {
6
8
  color: {},
7
9
  type: {},
8
10
  size: { default: "md" }
9
11
  },
10
- setup(m) {
11
- var l, a;
12
- const e = m;
13
- let t = p();
14
- const r = p(null), x = !!((a = (l = c()) == null ? void 0 : l.proxy) != null && a.$nuxt), i = async () => {
15
- if (t.value) {
16
- if (typeof t.value[e.type] > "u")
17
- throw new Error(`Icon "${e.type}" does not exist.`);
18
- r.value = await t.value[e.type]();
12
+ setup(f) {
13
+ const e = f, r = M();
14
+ let t = a();
15
+ const i = a(null), d = !!p(l(), ["proxy", "$nuxt"]), c = () => {
16
+ if (d) {
17
+ t.value = p(l(), ["proxy", "$nuxt", "$icons"]), t.value || r.throw(
18
+ "Failed to load Nuxt icons. Make sure the icon provider is properly configured."
19
+ );
20
+ return;
19
21
  }
22
+ t.value = I("icons"), t.value || r.throw(
23
+ "Failed to inject icons. Make sure the icon provider is properly configured in the Vue app."
24
+ );
25
+ }, s = async () => {
26
+ t.value || r.throw("Icons have not been loaded");
27
+ const o = t.value[e.type];
28
+ o || r.throw(`Icon "${e.type}" does not exist.`), i.value = await o();
20
29
  };
21
- w(async () => {
22
- var o, n;
23
- t.value = (n = (o = c()) == null ? void 0 : o.proxy) == null ? void 0 : n.$nuxt.$icons, await i();
24
- }), z(async () => {
25
- var o, n;
26
- t.value || (x ? t.value = (n = (o = c()) == null ? void 0 : o.proxy) == null ? void 0 : n.$nuxt.$icons : t.value = _("icons")), r.value || await i();
27
- }), b(() => e.type, i);
28
- const y = {
30
+ y(async () => {
31
+ c(), await s();
32
+ }), g(async () => {
33
+ t.value || c(), i.value || await s();
34
+ }), b(() => e.type, s);
35
+ const m = {
29
36
  xs: 12,
30
37
  sm: 16,
31
38
  md: 24,
32
39
  lg: 28,
33
40
  xl: 36,
34
41
  xxl: 40
35
- }, d = f(() => {
42
+ }, v = u(() => {
43
+ if (typeof e.size == "number")
44
+ return `${e.size}px`;
45
+ if (typeof e.size == "string") {
46
+ const o = m[e.size];
47
+ if (o !== void 0)
48
+ return `${o}px`;
49
+ const n = parseInt(e.size, 10);
50
+ return isNaN(n) && r.throw(`Invalid size: "${e.size}"`), `${n}px`;
51
+ }
52
+ return "24px";
53
+ }), x = u(() => {
36
54
  const o = {
37
55
  "bb-icon": !0
56
+ }, n = {
57
+ "--bb-icon-dimensions-w": v.value
38
58
  };
39
- let u = { "--size": f(() => {
40
- let s;
41
- return typeof e.size == "string" ? s = y[e.size] ?? parseInt(e.size, 10) : typeof e.size == "number" ? s = e.size : s = 24, s + "px";
42
- }).value };
43
- return e.color && (I(e.color) ? u.color = e.color : o[`bb-icon--${e.color}`] = !0), {
59
+ return e.color && (_(e.color) ? n.color = e.color : o[`bb-icon--${e.color}`] = !0), {
44
60
  class: o,
45
- style: u
61
+ style: n,
62
+ "aria-hidden": !0
46
63
  };
47
64
  });
48
- return (o, n) => ($(), h("span", g(d.value, { innerHTML: r.value }), null, 16, B));
65
+ return (o, n) => (z(), w("span", $(x.value, { innerHTML: i.value }), null, 16, k));
49
66
  }
50
67
  });
51
68
  export {
52
- k as default
69
+ j as default
53
70
  };
package/dist/index87.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index274.js";
2
+ import { throttle as c } from "./index278.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index90.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as P, mergeModels as T, useModel as q, computed as v, ref as z, watch as A, onMounted as H, createElementBlock as r, openBlock as d, withModifiers as K, normalizeStyle as R, normalizeClass as U, unref as p, createCommentVNode as y, Fragment as j, createElementVNode as t, renderSlot as l, createTextVNode as G, toDisplayString as D, nextTick as J } from "vue";
2
- import { parseSize as Q } from "./index259.js";
2
+ import { parseSize as Q } from "./index248.js";
3
3
  import { useId as S } from "./index8.js";
4
- import { useLocale as X } from "./index231.js";
4
+ import { useLocale as X } from "./index217.js";
5
5
  import { useMobile as Y } from "./index9.js";
6
- import { useUntil as Z } from "./index260.js";
6
+ import { useUntil as Z } from "./index249.js";
7
7
  import { wait as h } from "./index138.js";
8
8
  const x = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], ee = {
9
9
  ref: "header",
package/dist/index92.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
3
3
  /* empty css */
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index277.js";
7
- import { useLocale as H } from "./index231.js";
6
+ import { debounce as X } from "./index271.js";
7
+ import { useLocale as H } from "./index217.js";
8
8
  import { useRoute as J } from "./index145.js";
9
9
  const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
10
10
  __name: "BbPagination",
package/dist/index94.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as R, ref as k, computed as l, useTemplateRef as S, createElementBlock as I, openBlock as y, Fragment as N, renderSlot as C, createVNode as O, normalizeProps as W, guardReactiveProps as A, unref as m, mergeProps as H, withCtx as $, createElementVNode as i, createBlock as U, createCommentVNode as q, toDisplayString as z, nextTick as F } from "vue";
2
2
  import { useId as j } from "./index8.js";
3
3
  import { useIntersectionObserver as G } from "./index140.js";
4
- import { useLocale as J } from "./index231.js";
5
- import { useUntil as K } from "./index260.js";
4
+ import { useLocale as J } from "./index217.js";
5
+ import { useUntil as K } from "./index249.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import X from "./index246.js";
8
+ import X from "./index223.js";
9
9
  /* empty css */
10
- import { extractDomContainer as f } from "./index272.js";
11
- import { parseWidthString as Y } from "./index273.js";
10
+ import { extractDomContainer as f } from "./index252.js";
11
+ import { parseWidthString as Y } from "./index253.js";
12
12
  const Z = ["inert"], x = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ R({
13
13
  inheritAttrs: !1,
14
14
  __name: "BbPopover",
package/dist/index96.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index212.js";
2
+ import { clamp as p } from "./index214.js";
3
3
  import { getAsPercentageBetween as i } from "./index139.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.36",
3
+ "version": "2.1.37",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index222.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as e } from "./index313.js";
2
- import { __require as r } from "./index300.js";
3
- var o = r();
4
- const f = /* @__PURE__ */ e(o);
5
- export {
6
- f as default
7
- };
package/dist/index224.js DELETED
@@ -1,4 +0,0 @@
1
- const e = (t) => t[t.length - 1];
2
- export {
3
- e as last
4
- };
package/dist/index245.js DELETED
@@ -1,22 +0,0 @@
1
- import { MaskInput as r } from "./index232.js";
2
- const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
3
- if (a.arg == null || a.instance == null) return;
4
- const s = "setup" in a.instance.$.type;
5
- a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
6
- }, k = (a, n) => {
7
- var s;
8
- const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
9
- if (t == null || (t == null ? void 0 : t.type) === "file") return;
10
- let e = {};
11
- if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
12
- const l = (o) => {
13
- const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
14
- p(n, i);
15
- };
16
- e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
17
- }
18
- u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
19
- };
20
- export {
21
- k as vMaska
22
- };
package/dist/index266.js DELETED
@@ -1,14 +0,0 @@
1
- import { ref as t } from "vue";
2
- const n = () => {
3
- const e = t([]);
4
- return { array: e, set: (...r) => {
5
- e.value = r;
6
- }, add: (...r) => {
7
- e.value.push(...r);
8
- }, remove: (r) => {
9
- e.value = e.value.filter(r);
10
- } };
11
- };
12
- export {
13
- n as useArray
14
- };
package/dist/index322.js DELETED
@@ -1,5 +0,0 @@
1
- import o from "./index261.js";
2
- /* empty css */
3
- export {
4
- o as default
5
- };