bitboss-ui 2.1.115 → 2.1.117

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 (196) hide show
  1. package/dist/ai/BbBadge.md +107 -48
  2. package/dist/ai/BbTab.md +7 -7
  3. package/dist/components/BbBadge/types.d.ts +4 -0
  4. package/dist/index.css +1 -1
  5. package/dist/index109.js +8 -8
  6. package/dist/index110.js +17 -17
  7. package/dist/index118.js +1 -1
  8. package/dist/index124.js +72 -74
  9. package/dist/index126.js +12 -12
  10. package/dist/index134.js +1 -1
  11. package/dist/index136.js +5 -5
  12. package/dist/index138.js +1 -1
  13. package/dist/index140.js +2 -2
  14. package/dist/index144.js +1 -1
  15. package/dist/index146.js +2 -2
  16. package/dist/index16.js +3 -3
  17. package/dist/index18.js +3 -3
  18. package/dist/index20.js +8 -8
  19. package/dist/index22.js +14 -14
  20. package/dist/index221.js +2 -138
  21. package/dist/index222.js +138 -2
  22. package/dist/index224.js +1 -1
  23. package/dist/index225.js +1 -1
  24. package/dist/index226.js +1 -1
  25. package/dist/index227.js +7 -5
  26. package/dist/index228.js +2 -5
  27. package/dist/index229.js +5 -5
  28. package/dist/index230.js +5 -5
  29. package/dist/index231.js +5 -3
  30. package/dist/index232.js +5 -2
  31. package/dist/index233.js +3 -6
  32. package/dist/index234.js +2 -8
  33. package/dist/index235.js +6 -268
  34. package/dist/index236.js +6 -50
  35. package/dist/index237.js +260 -44
  36. package/dist/index238.js +45 -25
  37. package/dist/index239.js +40 -48
  38. package/dist/index24.js +10 -10
  39. package/dist/index240.js +31 -12
  40. package/dist/index241.js +59 -187
  41. package/dist/index242.js +13 -3
  42. package/dist/index243.js +5 -2
  43. package/dist/index244.js +5 -2
  44. package/dist/index245.js +5 -2
  45. package/dist/index246.js +3 -13
  46. package/dist/index247.js +135 -13
  47. package/dist/index249.js +9 -17
  48. package/dist/index250.js +2 -106
  49. package/dist/index251.js +6 -0
  50. package/dist/index252.js +2 -100
  51. package/dist/index253.js +4 -0
  52. package/dist/index254.js +13 -3
  53. package/dist/index255.js +13 -2
  54. package/dist/index256.js +18 -4
  55. package/dist/index257.js +11 -19
  56. package/dist/index258.js +51 -6
  57. package/dist/index259.js +18 -16
  58. package/dist/index26.js +3 -3
  59. package/dist/index260.js +12 -86
  60. package/dist/index261.js +19 -0
  61. package/dist/index262.js +1 -1
  62. package/dist/index263.js +16 -16
  63. package/dist/index264.js +106 -12
  64. package/dist/index266.js +100 -2
  65. package/dist/index268.js +107 -7
  66. package/dist/index269.js +11 -3
  67. package/dist/index270.js +86 -4
  68. package/dist/index272.js +3 -5
  69. package/dist/index273.js +4 -5
  70. package/dist/index274.js +18 -133
  71. package/dist/index275.js +34 -0
  72. package/dist/index277.js +27 -8
  73. package/dist/index279.js +9 -4
  74. package/dist/index28.js +1 -1
  75. package/dist/index280.js +18 -20
  76. package/dist/index281.js +3 -373
  77. package/dist/index282.js +55 -0
  78. package/dist/index283.js +4 -33
  79. package/dist/index284.js +23 -3
  80. package/dist/index285.js +6 -25
  81. package/dist/index286.js +16 -3
  82. package/dist/index287.js +9 -17
  83. package/dist/index288.js +2 -11
  84. package/dist/index289.js +368 -102
  85. package/dist/index291.js +3 -67
  86. package/dist/index292.js +5 -32
  87. package/dist/index293.js +11 -0
  88. package/dist/index294.js +23 -6
  89. package/dist/index295.js +6 -10
  90. package/dist/index296.js +25 -3
  91. package/dist/index297.js +65 -7
  92. package/dist/index298.js +186 -51
  93. package/dist/index299.js +3 -5
  94. package/dist/index30.js +3 -3
  95. package/dist/index300.js +2 -21
  96. package/dist/index301.js +7 -28
  97. package/dist/index302.js +9 -0
  98. package/dist/index303.js +2 -7
  99. package/dist/index304.js +7 -2
  100. package/dist/index305.js +4 -280
  101. package/dist/index306.js +280 -2
  102. package/dist/index307.js +2 -16
  103. package/dist/index308.js +16 -2
  104. package/dist/index309.js +2 -16
  105. package/dist/index310.js +16 -2
  106. package/dist/index311.js +2 -27
  107. package/dist/index312.js +27 -2
  108. package/dist/index313.js +2 -2
  109. package/dist/index314.js +1 -1
  110. package/dist/index315.js +1 -1
  111. package/dist/index317.js +2 -28
  112. package/dist/index318.js +28 -2
  113. package/dist/index319.js +2 -7
  114. package/dist/index32.js +2 -2
  115. package/dist/index320.js +3 -719
  116. package/dist/index321.js +3 -366
  117. package/dist/index322.js +3 -57
  118. package/dist/index323.js +3 -4
  119. package/dist/index324.js +1 -1
  120. package/dist/index325.js +2 -17
  121. package/dist/index326.js +17 -3
  122. package/dist/index327.js +125 -3
  123. package/dist/index328.js +2 -3
  124. package/dist/index329.js +15 -3
  125. package/dist/index330.js +2 -125
  126. package/dist/index331.js +19 -2
  127. package/dist/index332.js +2 -15
  128. package/dist/index333.js +3 -2
  129. package/dist/index334.js +5 -19
  130. package/dist/index335.js +4 -2
  131. package/dist/index336.js +6 -5
  132. package/dist/index337.js +3 -5
  133. package/dist/index338.js +5 -2
  134. package/dist/index339.js +719 -4
  135. package/dist/index34.js +7 -7
  136. package/dist/index340.js +366 -2
  137. package/dist/index341.js +57 -3
  138. package/dist/index342.js +2 -3
  139. package/dist/index343.js +34 -5
  140. package/dist/index344.js +128 -6
  141. package/dist/index345.js +395 -16
  142. package/dist/index346.js +200 -9
  143. package/dist/index347.js +258 -14
  144. package/dist/index348.js +7 -5
  145. package/dist/index349.js +5 -7
  146. package/dist/index350.js +7 -67
  147. package/dist/index351.js +18 -66
  148. package/dist/index352.js +8 -34
  149. package/dist/index353.js +12 -126
  150. package/dist/index354.js +65 -396
  151. package/dist/index355.js +66 -92
  152. package/dist/index356.js +21 -227
  153. package/dist/index358.js +9 -0
  154. package/dist/index359.js +228 -7
  155. package/dist/index36.js +4 -4
  156. package/dist/index360.js +2 -200
  157. package/dist/index361.js +2 -259
  158. package/dist/index363.js +93 -2
  159. package/dist/index364.js +441 -2
  160. package/dist/index365.js +114 -427
  161. package/dist/index366.js +46 -127
  162. package/dist/index367.js +67 -44
  163. package/dist/index368.js +516 -66
  164. package/dist/index369.js +45 -515
  165. package/dist/index38.js +20 -20
  166. package/dist/index40.js +7 -7
  167. package/dist/index42.js +2 -2
  168. package/dist/index44.js +7 -7
  169. package/dist/index46.js +6 -6
  170. package/dist/index50.js +2 -2
  171. package/dist/index54.js +1 -1
  172. package/dist/index56.js +1 -1
  173. package/dist/index58.js +25 -20
  174. package/dist/index60.js +2 -2
  175. package/dist/index62.js +5 -5
  176. package/dist/index68.js +1 -1
  177. package/dist/index74.js +4 -4
  178. package/dist/index82.js +6 -6
  179. package/dist/index84.js +1 -1
  180. package/dist/index86.js +2 -2
  181. package/dist/index88.js +3 -3
  182. package/dist/index90.js +1 -1
  183. package/dist/index93.js +3 -3
  184. package/dist/index95.js +2 -2
  185. package/dist/index97.js +5 -5
  186. package/dist/index99.js +1 -1
  187. package/package.json +2 -2
  188. package/dist/index248.js +0 -53
  189. package/dist/index265.js +0 -20
  190. package/dist/index267.js +0 -9
  191. package/dist/index271.js +0 -7
  192. package/dist/index276.js +0 -11
  193. package/dist/index278.js +0 -25
  194. package/dist/index290.js +0 -13
  195. package/dist/index357.js +0 -24
  196. package/dist/index370.js +0 -52
package/dist/index44.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 n, renderSlot as s, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
2
2
  import K from "./index42.js";
3
3
  /* empty css */
4
- import N from "./index260.js";
4
+ import N from "./index270.js";
5
5
  /* empty css */
6
6
  import { useItemsGetter as U } from "./index262.js";
7
- import { useIndexById as T } from "./index249.js";
8
- import { useBaseOptions as q } from "./index248.js";
9
- import { useCoherence as J } from "./index263.js";
10
- import { hash as Q } from "./index231.js";
11
- import { useHashedWatcher as $ } from "./index264.js";
12
- import { usePrefill as X } from "./index265.js";
7
+ import { useIndexById as T } from "./index261.js";
8
+ import { useBaseOptions as q } from "./index258.js";
9
+ import { useCoherence as J } from "./index259.js";
10
+ import { hash as Q } from "./index233.js";
11
+ import { useHashedWatcher as $ } from "./index260.js";
12
+ import { usePrefill as X } from "./index263.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index46.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as j, ref as u, computed as f, toRef as C, watch as Q, createBlock as h, openBlock as m, normalizeClass as Z, withCtx as l, createVNode as E, 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 v, vModelText as te, renderSlot as d, nextTick as oe } from "vue";
2
2
  import ae from "./index116.js";
3
3
  /* empty css */
4
- import { last as le } from "./index232.js";
5
- import { useBaseOptions as ne } from "./index248.js";
6
- import { useIndexById as re } from "./index249.js";
7
- import ie from "./index250.js";
4
+ import { last as le } from "./index234.js";
5
+ import { useBaseOptions as ne } from "./index258.js";
6
+ import { useIndexById as re } from "./index261.js";
7
+ import ie from "./index264.js";
8
8
  /* empty css */
9
- import ue from "./index252.js";
9
+ import ue from "./index266.js";
10
10
  /* empty css */
11
11
  import se from "./index140.js";
12
12
  /* empty css */
13
13
  import de from "./index142.js";
14
14
  /* empty css */
15
- import { isEmpty as pe } from "./index254.js";
15
+ import { isEmpty as pe } from "./index246.js";
16
16
  const ce = { class: "bb-base-tag__input-container" }, fe = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Oe = /* @__PURE__ */ j({
17
17
  __name: "BaseTag",
18
18
  props: {
package/dist/index50.js CHANGED
@@ -4,8 +4,8 @@ import C from "./index140.js";
4
4
  import N from "./index142.js";
5
5
  /* empty css */
6
6
  import { isNotNil as I } from "./index150.js";
7
- import { MaskInput as z } from "./index241.js";
8
- import { isNotEmpty as D } from "./index242.js";
7
+ import { MaskInput as z } from "./index298.js";
8
+ import { isNotEmpty as D } from "./index299.js";
9
9
  const F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], L = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], J = /* @__PURE__ */ V({
10
10
  __name: "BaseTextInput",
11
11
  props: {
package/dist/index54.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index70.js";
3
3
  /* empty css */
4
4
  import L from "./index88.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index240.js";
6
+ import { useLocale as g } from "./index242.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index56.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 "./index245.js";
2
+ import { isCssColor as y } from "./index250.js";
3
3
  import { wait as C } from "./index145.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index58.js CHANGED
@@ -1,49 +1,54 @@
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 "./index245.js";
3
- import { isNil as B } from "./index255.js";
4
- const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
1
+ import { defineComponent as m, useSlots as u, computed as n, createElementBlock as s, openBlock as r, normalizeClass as g, createElementVNode as l, renderSlot as b, mergeProps as f, createCommentVNode as _, createTextVNode as y, toDisplayString as B } from "vue";
2
+ import { isCssColor as c } from "./index250.js";
3
+ import { isNil as C } from "./index228.js";
4
+ const k = { class: "bb-badge__wrapper" }, N = {
5
+ key: 0,
6
+ class: "bb-badge__content-inner"
7
+ }, S = /* @__PURE__ */ m({
5
8
  __name: "BbBadge",
6
9
  props: {
7
10
  color: {},
8
11
  bottom: { type: Boolean },
9
12
  content: {},
13
+ dot: { type: Boolean },
10
14
  floating: { type: Boolean },
11
15
  left: { type: Boolean }
12
16
  },
13
- setup(b) {
14
- const a = d(), e = b, c = s(() => ({
17
+ setup(i) {
18
+ const a = u(), e = i, d = n(() => ({
15
19
  "bb-badge": !0,
16
20
  "bb-badge--bottom": e.bottom,
17
21
  "bb-badge--left": e.left,
18
22
  "bb-badge--positioned": a.default,
19
23
  "bb-badge--floating": e.floating,
20
- "bb-badge--empty": B(e.content),
21
- [`bb-badge--${e.color}`]: e.color && !l(e.color)
22
- })), i = s(() => {
24
+ "bb-badge--dot": e.dot,
25
+ "bb-badge--empty": !e.dot && C(e.content),
26
+ [`bb-badge--${e.color}`]: e.color && !c(e.color)
27
+ })), p = n(() => {
23
28
  let t = {};
24
- e.color && l(e.color) && (t.backgroundColor = e.color);
29
+ e.color && c(e.color) && (t.backgroundColor = e.color);
25
30
  let o = {};
26
31
  return "wrap" in a && a.wrap && (o["aria-atomic"] = !0, o["aria-live"] = "polite", o.role = "status"), {
27
32
  style: t,
28
33
  ...o
29
34
  };
30
35
  });
31
- return (t, o) => (u(), m("span", {
32
- class: g(c.value)
36
+ return (t, o) => (r(), s("span", {
37
+ class: g(d.value)
33
38
  }, [
34
- n("span", C, [
35
- r(t.$slots, "default"),
36
- n("span", f({ class: "bb-badge__content-container" }, i.value), [
37
- n("span", h, [
38
- r(t.$slots, "content", {}, () => [
39
- _(y(t.content), 1)
39
+ l("span", k, [
40
+ b(t.$slots, "default"),
41
+ l("span", f({ class: "bb-badge__content-container" }, p.value), [
42
+ e.dot ? _("", !0) : (r(), s("span", N, [
43
+ b(t.$slots, "content", {}, () => [
44
+ y(B(t.content), 1)
40
45
  ])
41
- ])
46
+ ]))
42
47
  ], 16)
43
48
  ])
44
49
  ], 2));
45
50
  }
46
51
  });
47
52
  export {
48
- N as default
53
+ S as default
49
54
  };
package/dist/index60.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as K, ref as I, computed as l, watch as Q, onBeforeUnmount as Z, createElementBlock as o, openBlock as n, normalizeStyle as x, createElementVNode as p, createCommentVNode as c, renderSlot as b, createVNode as C, withCtx as L, normalizeProps as ee, guardReactiveProps as se, mergeProps as N, createTextVNode as T, toDisplayString as M, Fragment as O, renderList as te } from "vue";
2
2
  import { useResizeObserver as ie } from "./index146.js";
3
- import { useLocale as ae } from "./index240.js";
3
+ import { useLocale as ae } from "./index242.js";
4
4
  import de from "./index14.js";
5
5
  /* empty css */
6
6
  import re from "./index82.js";
7
7
  /* empty css */
8
- import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index285.js";
8
+ import { estimateEllipsisWidth as le, estimateBreadcrumbItemWidth as oe } from "./index296.js";
9
9
  const ne = ["aria-label"], be = { class: "bb-breadcrumbs__container" }, ue = {
10
10
  key: 0,
11
11
  class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--prepend"
package/dist/index62.js CHANGED
@@ -7,11 +7,11 @@ import f from "./index88.js";
7
7
  /* empty css */
8
8
  import J from "./index118.js";
9
9
  /* empty css */
10
- import { pickBy as K } from "./index295.js";
11
- import { noop as Q } from "./index296.js";
12
- import { useLocale as U } from "./index240.js";
13
- import { extractDomContainer as X } from "./index279.js";
14
- import { isEqual as $ } from "./index269.js";
10
+ import { pickBy as K } from "./index287.js";
11
+ import { noop as Q } from "./index288.js";
12
+ import { useLocale as U } from "./index242.js";
13
+ import { extractDomContainer as X } from "./index283.js";
14
+ import { isEqual as $ } from "./index272.js";
15
15
  const Y = {
16
16
  key: 2,
17
17
  class: "bb-button__loading-label sr-only"
package/dist/index68.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 "./index240.js";
2
+ import { useLocale as f } from "./index242.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/index74.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as L, ref as u, computed as m, watch as n, nextTick as P, onBeforeUnmount as C, createElementBlock as D, openBlock as R, Fragment as T, renderSlot as U, createCommentVNode as $, createVNode as g, normalizeProps as F, mergeProps as H, unref as I, withCtx as M } from "vue";
2
- import { extractDomContainer as d } from "./index279.js";
3
- import { useLocale as N } from "./index240.js";
4
- import S from "./index281.js";
2
+ import { extractDomContainer as d } from "./index283.js";
3
+ import { useLocale as N } from "./index242.js";
4
+ import S from "./index289.js";
5
5
  /* empty css */
6
- import q from "./index274.js";
6
+ import q from "./index247.js";
7
7
  /* empty css */
8
8
  const W = /* @__PURE__ */ L({
9
9
  __name: "BbColorPalette",
package/dist/index82.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as fe, ref as C, computed as p, useTemplateRef as ve, watch as $, onBeforeUnmount as be, createElementBlock as M, openBlock as E, Fragment as B, renderSlot as v, createCommentVNode as V, createVNode as G, normalizeProps as ye, mergeProps as q, withCtx as x, createElementVNode as J, normalizeStyle as we, unref as Q, renderList as ge, createBlock as Z, toDisplayString as he } from "vue";
2
- import { findRightIndex as R } from "./index277.js";
2
+ import { findRightIndex as R } from "./index293.js";
3
3
  import { useId as Ee } from "./index8.js";
4
- import { useUntil as Le } from "./index247.js";
4
+ import { useUntil as Le } from "./index255.js";
5
5
  import { wait as ke } from "./index145.js";
6
6
  import De from "./index14.js";
7
7
  /* empty css */
8
8
  import ee from "./index88.js";
9
9
  /* empty css */
10
- import $e from "./index274.js";
10
+ import $e from "./index247.js";
11
11
  /* empty css */
12
- import te from "./index278.js";
13
- import { extractDomContainer as H } from "./index279.js";
12
+ import te from "./index294.js";
13
+ import { extractDomContainer as H } from "./index283.js";
14
14
  import { useIntersectionObserver as Ae, useElementSize as Se } from "./index146.js";
15
- import { parseWidthString as Pe } from "./index280.js";
15
+ import { parseWidthString as Pe } from "./index284.js";
16
16
  const Ie = ["id", "aria-labelledby", "inert"], Te = { class: "item__content" }, Oe = 500, _e = 10, ze = /* @__PURE__ */ fe({
17
17
  inheritAttrs: !1,
18
18
  __name: "BbDropdown",
package/dist/index84.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index88.js";
9
9
  /* empty css */
10
10
  import I from "./index118.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index240.js";
12
+ import { useLocale as M } from "./index242.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/index86.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 "./index259.js";
2
+ import { findInTree as ae } from "./index286.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index116.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("./index258.js")).default);
56
+ b || (b = (await import("./index285.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index88.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as $, ref as f, computed as a, getCurrentInstance as d, onServerPrefetch as I, onBeforeMount as _, watch as L, createElementBlock as M, openBlock as B, mergeProps as k, inject as A } from "vue";
2
- import { isCssColor as C } from "./index245.js";
3
- import { get as m } from "./index290.js";
4
- import { useLogger as N } from "./index234.js";
2
+ import { isCssColor as C } from "./index250.js";
3
+ import { get as m } from "./index269.js";
4
+ import { useLogger as N } from "./index236.js";
5
5
  const S = ["innerHTML"], E = /* @__PURE__ */ $({
6
6
  __name: "BbIcon",
7
7
  props: {
package/dist/index90.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 "./index286.js";
2
+ import { throttle as c } from "./index291.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index93.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, mergeModels as B, useModel as N, computed as p, ref as L, watch as P, onMounted as W, createElementBlock as d, openBlock as c, withModifiers as F, normalizeStyle as O, normalizeClass as q, unref as v, createCommentVNode as h, Fragment as A, createElementVNode as t, renderSlot as l, createTextVNode as H, toDisplayString as M, nextTick as K } from "vue";
2
- import { parseSize as R } from "./index246.js";
2
+ import { parseSize as R } from "./index254.js";
3
3
  import { useId as $ } from "./index8.js";
4
- import { useLocale as U } from "./index240.js";
4
+ import { useLocale as U } from "./index242.js";
5
5
  import { useMobile as j } from "./index9.js";
6
- import { useUntil as G } from "./index247.js";
6
+ import { useUntil as G } from "./index255.js";
7
7
  import { wait as y } from "./index145.js";
8
8
  import { _config as J } from "./index4.js";
9
9
  const Q = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], X = {
package/dist/index95.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as b, r
3
3
  /* empty css */
4
4
  import P from "./index14.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index276.js";
7
- import { useLocale as H } from "./index240.js";
6
+ import { debounce as X } from "./index249.js";
7
+ import { useLocale as H } from "./index242.js";
8
8
  import { useRoute as J } from "./index152.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/index97.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as re, mergeModels as I, ref as N, useTemplateRef as ae, computed as s, useModel as ie, watch as C, createElementBlock as se, openBlock as Y, Fragment as le, renderSlot as G, createCommentVNode as W, createVNode as ue, normalizeProps as de, mergeProps as X, unref as S, withCtx as F, createElementVNode as B, createBlock as ce, nextTick as pe } from "vue";
2
2
  import { useId as me } from "./index8.js";
3
3
  import { useIntersectionObserver as ve, useElementSize as fe } from "./index146.js";
4
- import { useLocale as be } from "./index240.js";
5
- import { useUntil as he } from "./index247.js";
4
+ import { useLocale as be } from "./index242.js";
5
+ import { useUntil as he } from "./index255.js";
6
6
  import ge from "./index14.js";
7
7
  /* empty css */
8
- import we from "./index274.js";
8
+ import we from "./index247.js";
9
9
  /* empty css */
10
- import { extractDomContainer as H } from "./index279.js";
11
- import { parseWidthString as U } from "./index280.js";
10
+ import { extractDomContainer as H } from "./index283.js";
11
+ import { parseWidthString as U } from "./index284.js";
12
12
  const Ee = ["inert"], Le = 500, ye = 10, De = /* @__PURE__ */ re({
13
13
  inheritAttrs: !1,
14
14
  __name: "BbPopover",
package/dist/index99.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 "./index222.js";
2
+ import { clamp as p } from "./index221.js";
3
3
  import { getAsPercentageBetween as i } from "./index144.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.115",
3
+ "version": "2.1.117",
4
4
  "description": "Vue 3 component library by BitBoss: forms, selects, layout, overlays, and more.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -113,4 +113,4 @@
113
113
  "lint-staged": {
114
114
  "*.{js,css,md,html,json,vue,ts}": "prettier --write"
115
115
  }
116
- }
116
+ }
package/dist/index248.js DELETED
@@ -1,53 +0,0 @@
1
- import { computed as l, unref as o } from "vue";
2
- import { useItemText as x } from "./index325.js";
3
- import { useItemValue as w } from "./index297.js";
4
- import { hash as y } from "./index231.js";
5
- import { useLogger as D } from "./index234.js";
6
- const { getItemText: O } = x(), { getItemValue: V } = w(), { warn: H } = D(), T = (u, c, m, a, d, r) => r ? !1 : !!(c || u.disabled || a && d >= a), q = ({
7
- items: u,
8
- disabled: c,
9
- selectable: m,
10
- itemText: a,
11
- itemValue: d,
12
- selectedIndexedByHash: r,
13
- max: b = 1 / 0
14
- }) => {
15
- const v = l(() => o(c)), p = l(() => o(u)), h = l(
16
- () => Object.keys(r.value).length
17
- ), g = o(b), f = (e) => {
18
- const n = V(e, o(d)), t = y(n), i = O(e, o(a)), s = r.value[t] !== void 0, I = T(
19
- e,
20
- v.value,
21
- m,
22
- g,
23
- h.value,
24
- s
25
- );
26
- return {
27
- item: e,
28
- text: i,
29
- value: n,
30
- valueHash: t,
31
- selected: s,
32
- disabled: o(I)
33
- };
34
- };
35
- return {
36
- options: l(() => {
37
- const e = [], n = /* @__PURE__ */ new Set();
38
- for (let t = 0; t < p.value.length; t++) {
39
- const i = p.value[t];
40
- i.disabled && H(
41
- "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."
42
- );
43
- const s = f(i);
44
- n.has(s.valueHash) || (n.add(s.valueHash), e.push(s));
45
- }
46
- return e;
47
- }),
48
- createOption: f
49
- };
50
- };
51
- export {
52
- q as useBaseOptions
53
- };
package/dist/index265.js DELETED
@@ -1,20 +0,0 @@
1
- import { isNotNil as v } from "./index150.js";
2
- import { computed as t, toValue as h, ref as u, onServerPrefetch as m, onBeforeMount as p } from "vue";
3
- const g = ({
4
- fn: i,
5
- trigger: n = !1,
6
- multiple: s,
7
- currentValue: r
8
- }) => {
9
- const f = t(() => s ? !!r?.length : v(r)), o = t(
10
- () => !!h(n) || f.value
11
- ), l = u(!1), e = u(!1), c = t(() => o.value || e.value), a = async () => {
12
- l.value || e.value || (l.value = !0, await i(!0), l.value = !1, e.value = !0);
13
- };
14
- return o.value && (m(a), p(async () => {
15
- e.value || await a();
16
- })), { isPrefilling: l, hasPrefilled: e, canLoad: c, prefill: a };
17
- };
18
- export {
19
- g as usePrefill
20
- };
package/dist/index267.js DELETED
@@ -1,9 +0,0 @@
1
- const s = (e, t, o, r) => {
2
- if (r <= 0) throw new Error("Step must be a positive number");
3
- if (t > o) throw new Error("Min must be less than or equal to Max");
4
- const n = Math.max(t, Math.min(o, e)), a = Math.round((n - t) / r);
5
- return t + a * r;
6
- };
7
- export {
8
- s as snapToStep
9
- };
package/dist/index271.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./index343.js";
2
- import { __require as o } from "./index330.js";
3
- var t = o();
4
- const m = /* @__PURE__ */ r(t);
5
- export {
6
- m as default
7
- };
package/dist/index276.js DELETED
@@ -1,11 +0,0 @@
1
- function u(e, i) {
2
- let t;
3
- return function(...o) {
4
- t !== void 0 && clearTimeout(t), t = setTimeout(() => {
5
- e.apply(this, o);
6
- }, i);
7
- };
8
- }
9
- export {
10
- u as debounce
11
- };
package/dist/index278.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/index290.js DELETED
@@ -1,13 +0,0 @@
1
- function c(n, r, e) {
2
- const i = typeof r == "string" ? r.split(".") : r;
3
- let t = n;
4
- for (const o of i)
5
- if (t && typeof t == "object" && o in t)
6
- t = t[o];
7
- else
8
- return e;
9
- return t === void 0 ? e : t;
10
- }
11
- export {
12
- c as get
13
- };
package/dist/index357.js DELETED
@@ -1,24 +0,0 @@
1
- import { defineComponent as a, computed as i, createBlock as r, openBlock as d, Transition as l, normalizeStyle as s, withCtx as u, renderSlot as p } from "vue";
2
- const f = /* @__PURE__ */ a({
3
- __name: "Slide",
4
- props: {
5
- direction: { default: "right" },
6
- duration: { default: 500 },
7
- gap: { default: 0 }
8
- },
9
- setup(t) {
10
- const n = t, o = i(() => `bb-slide-in-${n.direction}`);
11
- return (e, m) => (d(), r(l, {
12
- name: o.value,
13
- style: s({ "--transition-duration": `${e.duration}ms`, "--gap": `${e.gap}px` })
14
- }, {
15
- default: u(() => [
16
- p(e.$slots, "default", {}, void 0, !0)
17
- ]),
18
- _: 3
19
- }, 8, ["name", "style"]));
20
- }
21
- });
22
- export {
23
- f as default
24
- };
package/dist/index370.js DELETED
@@ -1,52 +0,0 @@
1
- function T(n, l, e) {
2
- let i = e.initialDeps ?? [], t, c = !0;
3
- function h() {
4
- var d, m, f;
5
- let g;
6
- e.key && ((d = e.debug) != null && d.call(e)) && (g = Date.now());
7
- const o = n();
8
- if (!(o.length !== i.length || o.some((r, a) => i[a] !== r)))
9
- return t;
10
- i = o;
11
- let s;
12
- if (e.key && ((m = e.debug) != null && m.call(e)) && (s = Date.now()), t = l(...o), e.key && ((f = e.debug) != null && f.call(e))) {
13
- const r = Math.round((Date.now() - g) * 100) / 100, a = Math.round((Date.now() - s) * 100) / 100, b = a / 16, w = (u, D) => {
14
- for (u = String(u); u.length < D; )
15
- u = " " + u;
16
- return u;
17
- };
18
- console.info(
19
- `%c⏱ ${w(a, 5)} /${w(r, 5)} ms`,
20
- `
21
- font-size: .6rem;
22
- font-weight: bold;
23
- color: hsl(${Math.max(
24
- 0,
25
- Math.min(120 - 120 * b, 120)
26
- )}deg 100% 31%);`,
27
- e?.key
28
- );
29
- }
30
- return e?.onChange && !(c && e.skipInitialOnChange) && e.onChange(t), c = !1, t;
31
- }
32
- return h.updateDeps = (d) => {
33
- i = d;
34
- }, h;
35
- }
36
- function k(n, l) {
37
- if (n === void 0)
38
- throw new Error("Unexpected undefined");
39
- return n;
40
- }
41
- const y = (n, l) => Math.abs(n - l) < 1.01, C = (n, l, e) => {
42
- let i;
43
- return function(...t) {
44
- n.clearTimeout(i), i = n.setTimeout(() => l.apply(this, t), e);
45
- };
46
- };
47
- export {
48
- y as approxEqual,
49
- C as debounce,
50
- T as memo,
51
- k as notUndefined
52
- };