bitboss-ui 2.1.14 → 2.1.16

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 (171) hide show
  1. package/dist/index106.js +7 -7
  2. package/dist/index111.js +1 -1
  3. package/dist/index113.js +1 -1
  4. package/dist/index121.js +11 -11
  5. package/dist/index13.js +1 -1
  6. package/dist/index131.js +4 -4
  7. package/dist/index133.js +1 -1
  8. package/dist/index136.js +1 -1
  9. package/dist/index138.js +1 -1
  10. package/dist/index139.js +2 -2
  11. package/dist/index15.js +8 -8
  12. package/dist/index17.js +3 -3
  13. package/dist/index19.js +8 -8
  14. package/dist/index207.js +2 -2
  15. package/dist/index208.js +2 -2
  16. package/dist/index209.js +2 -86
  17. package/dist/index21.js +16 -16
  18. package/dist/index210.js +6 -0
  19. package/dist/index211.js +2 -29
  20. package/dist/index212.js +4 -17
  21. package/dist/index213.js +13 -51
  22. package/dist/index214.js +10 -14
  23. package/dist/index215.js +20 -3
  24. package/dist/index216.js +197 -12
  25. package/dist/index218.js +69 -31
  26. package/dist/index220.js +13 -13
  27. package/dist/index221.js +114 -11
  28. package/dist/index223.js +5 -197
  29. package/dist/index224.js +7 -0
  30. package/dist/index225.js +5 -66
  31. package/dist/index226.js +7 -0
  32. package/dist/index227.js +5 -13
  33. package/dist/index228.js +5 -114
  34. package/dist/index229.js +7 -0
  35. package/dist/index23.js +15 -15
  36. package/dist/index230.js +3 -2
  37. package/dist/index231.js +2 -3
  38. package/dist/index232.js +8 -2
  39. package/dist/index233.js +250 -2
  40. package/dist/index234.js +52 -7
  41. package/dist/index235.js +44 -2
  42. package/dist/index236.js +5 -7
  43. package/dist/index237.js +60 -4
  44. package/dist/index238.js +13 -2
  45. package/dist/index239.js +81 -101
  46. package/dist/index241.js +28 -99
  47. package/dist/index242.js +19 -0
  48. package/dist/index243.js +51 -2
  49. package/dist/index244.js +15 -5
  50. package/dist/index245.js +12 -5
  51. package/dist/index246.js +16 -5
  52. package/dist/index247.js +2 -5
  53. package/dist/index248.js +34 -5
  54. package/dist/index249.js +2 -5
  55. package/dist/index25.js +3 -3
  56. package/dist/index250.js +7 -2
  57. package/dist/index251.js +6 -182
  58. package/dist/index252.js +3 -5
  59. package/dist/index253.js +5 -5
  60. package/dist/index254.js +2 -8
  61. package/dist/index255.js +2 -250
  62. package/dist/index256.js +181 -50
  63. package/dist/index257.js +101 -39
  64. package/dist/index259.js +95 -55
  65. package/dist/index261.js +16 -7
  66. package/dist/index262.js +12 -23
  67. package/dist/index263.js +6 -18
  68. package/dist/index264.js +231 -12
  69. package/dist/index265.js +10 -6
  70. package/dist/index266.js +3 -231
  71. package/dist/index267.js +8 -9
  72. package/dist/index268.js +23 -3
  73. package/dist/index269.js +3 -6
  74. package/dist/index27.js +1 -1
  75. package/dist/index270.js +6 -16
  76. package/dist/index271.js +16 -3
  77. package/dist/index273.js +1 -1
  78. package/dist/index275.js +5 -2
  79. package/dist/index276.js +1 -1
  80. package/dist/index277.js +2 -5
  81. package/dist/index278.js +4 -7
  82. package/dist/index279.js +8 -5
  83. package/dist/index280.js +4 -3
  84. package/dist/index281.js +3 -17
  85. package/dist/index282.js +3 -28
  86. package/dist/index284.js +7 -3
  87. package/dist/index285.js +1 -1
  88. package/dist/index286.js +9 -0
  89. package/dist/index287.js +11 -7
  90. package/dist/index288.js +280 -3
  91. package/dist/index289.js +2 -7
  92. package/dist/index29.js +4 -4
  93. package/dist/index290.js +15 -10
  94. package/dist/index291.js +2 -4
  95. package/dist/index292.js +16 -5
  96. package/dist/index293.js +2 -4
  97. package/dist/index294.js +19 -3
  98. package/dist/index295.js +2 -3
  99. package/dist/index296.js +13 -278
  100. package/dist/index297.js +2 -2
  101. package/dist/index298.js +15 -121
  102. package/dist/index299.js +2 -2
  103. package/dist/index300.js +25 -13
  104. package/dist/index302.js +2 -16
  105. package/dist/index303.js +2 -2
  106. package/dist/index304.js +2 -16
  107. package/dist/index305.js +2 -2
  108. package/dist/index306.js +26 -17
  109. package/dist/index307.js +22 -2
  110. package/dist/index309.js +3 -18
  111. package/dist/index31.js +2 -2
  112. package/dist/index310.js +3 -2
  113. package/dist/index311.js +17 -27
  114. package/dist/index312.js +6 -2
  115. package/dist/index313.js +1 -1
  116. package/dist/index314.js +5 -2
  117. package/dist/index315.js +125 -2
  118. package/dist/index316.js +2 -2
  119. package/dist/index317.js +3 -22
  120. package/dist/index318.js +5 -0
  121. package/dist/index319.js +1 -1
  122. package/dist/index320.js +1 -1
  123. package/dist/index325.js +7 -128
  124. package/dist/index326.js +5 -368
  125. package/dist/index327.js +7 -32
  126. package/dist/index328.js +7 -28
  127. package/dist/index329.js +21 -0
  128. package/dist/index33.js +8 -8
  129. package/dist/index330.js +58 -7
  130. package/dist/index331.js +57 -18
  131. package/dist/index332.js +7 -58
  132. package/dist/index333.js +32 -57
  133. package/dist/index334.js +28 -7
  134. package/dist/index336.js +128 -7
  135. package/dist/index337.js +368 -5
  136. package/dist/index338.js +228 -8
  137. package/dist/index340.js +1 -1
  138. package/dist/index342.js +5 -0
  139. package/dist/index343.js +129 -3
  140. package/dist/index35.js +4 -4
  141. package/dist/index37.js +20 -20
  142. package/dist/index39.js +8 -8
  143. package/dist/index41.js +2 -2
  144. package/dist/index43.js +8 -8
  145. package/dist/index45.js +8 -8
  146. package/dist/index47.js +2 -2
  147. package/dist/index49.js +3 -3
  148. package/dist/index53.js +1 -1
  149. package/dist/index55.js +1 -1
  150. package/dist/index57.js +2 -2
  151. package/dist/index61.js +3 -3
  152. package/dist/index67.js +1 -1
  153. package/dist/index79.js +4 -4
  154. package/dist/index81.js +1 -1
  155. package/dist/index83.js +2 -2
  156. package/dist/index85.js +1 -1
  157. package/dist/index87.js +1 -1
  158. package/dist/index90.js +3 -3
  159. package/dist/index92.js +1 -1
  160. package/dist/index94.js +3 -3
  161. package/dist/index96.js +1 -1
  162. package/package.json +1 -1
  163. package/dist/index217.js +0 -18
  164. package/dist/index219.js +0 -6
  165. package/dist/index222.js +0 -22
  166. package/dist/index258.js +0 -7
  167. package/dist/index260.js +0 -15
  168. package/dist/index283.js +0 -4
  169. package/dist/index308.js +0 -8
  170. package/dist/index335.js +0 -230
  171. package/dist/index341.js +0 -131
package/dist/index343.js CHANGED
@@ -1,5 +1,131 @@
1
- import o from "./index328.js";
2
- /* empty css */
1
+ function c() {
2
+ return typeof window < "u";
3
+ }
4
+ function s(n) {
5
+ return p(n) ? (n.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(n) {
8
+ var t;
9
+ return (n == null || (t = n.ownerDocument) == null ? void 0 : t.defaultView) || window;
10
+ }
11
+ function E(n) {
12
+ var t;
13
+ return (t = (p(n) ? n.ownerDocument : n.document) || window.document) == null ? void 0 : t.documentElement;
14
+ }
15
+ function p(n) {
16
+ return c() ? n instanceof Node || n instanceof i(n).Node : !1;
17
+ }
18
+ function m(n) {
19
+ return c() ? n instanceof Element || n instanceof i(n).Element : !1;
20
+ }
21
+ function w(n) {
22
+ return c() ? n instanceof HTMLElement || n instanceof i(n).HTMLElement : !1;
23
+ }
24
+ function a(n) {
25
+ return !c() || typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
26
+ }
27
+ function y(n) {
28
+ const {
29
+ overflow: t,
30
+ overflowX: e,
31
+ overflowY: o,
32
+ display: r
33
+ } = b(n);
34
+ return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
35
+ }
36
+ function D(n) {
37
+ return ["table", "td", "th"].includes(s(n));
38
+ }
39
+ function N(n) {
40
+ return [":popover-open", ":modal"].some((t) => {
41
+ try {
42
+ return n.matches(t);
43
+ } catch {
44
+ return !1;
45
+ }
46
+ });
47
+ }
48
+ function T(n) {
49
+ const t = L(), e = m(n) ? b(n) : n;
50
+ return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => e[o] ? e[o] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
51
+ }
52
+ function k(n) {
53
+ let t = u(n);
54
+ for (; w(t) && !g(t); ) {
55
+ if (T(t))
56
+ return t;
57
+ if (N(t))
58
+ return null;
59
+ t = u(t);
60
+ }
61
+ return null;
62
+ }
63
+ function L() {
64
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
65
+ }
66
+ function g(n) {
67
+ return ["html", "body", "#document"].includes(s(n));
68
+ }
69
+ function b(n) {
70
+ return i(n).getComputedStyle(n);
71
+ }
72
+ function C(n) {
73
+ return m(n) ? {
74
+ scrollLeft: n.scrollLeft,
75
+ scrollTop: n.scrollTop
76
+ } : {
77
+ scrollLeft: n.scrollX,
78
+ scrollTop: n.scrollY
79
+ };
80
+ }
81
+ function u(n) {
82
+ if (s(n) === "html")
83
+ return n;
84
+ const t = (
85
+ // Step into the shadow DOM of the parent of a slotted node.
86
+ n.assignedSlot || // DOM Element detected.
87
+ n.parentNode || // ShadowRoot detected.
88
+ a(n) && n.host || // Fallback.
89
+ E(n)
90
+ );
91
+ return a(t) ? t.host : t;
92
+ }
93
+ function h(n) {
94
+ const t = u(n);
95
+ return g(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : w(t) && y(t) ? t : h(t);
96
+ }
97
+ function d(n, t, e) {
98
+ var o;
99
+ t === void 0 && (t = []), e === void 0 && (e = !0);
100
+ const r = h(n), S = r === ((o = n.ownerDocument) == null ? void 0 : o.body), l = i(r);
101
+ if (S) {
102
+ const f = v(l);
103
+ return t.concat(l, l.visualViewport || [], y(r) ? r : [], f && e ? d(f) : []);
104
+ }
105
+ return t.concat(r, d(r, [], e));
106
+ }
107
+ function v(n) {
108
+ return n.parent && Object.getPrototypeOf(n.parent) ? n.frameElement : null;
109
+ }
3
110
  export {
4
- o as default
111
+ b as getComputedStyle,
112
+ k as getContainingBlock,
113
+ E as getDocumentElement,
114
+ v as getFrameElement,
115
+ h as getNearestOverflowAncestor,
116
+ s as getNodeName,
117
+ C as getNodeScroll,
118
+ d as getOverflowAncestors,
119
+ u as getParentNode,
120
+ i as getWindow,
121
+ T as isContainingBlock,
122
+ m as isElement,
123
+ w as isHTMLElement,
124
+ g as isLastTraversableNode,
125
+ p as isNode,
126
+ y as isOverflowElement,
127
+ a as isShadowRoot,
128
+ D as isTableElement,
129
+ N as isTopLayer,
130
+ L as isWebKit
5
131
  };
package/dist/index35.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, ref as v, computed as f, createElementBlock as l, openBlock as r, mergeProps as h, createElementVNode as i, renderSlot as p, Fragment as V, renderList as M, normalizeClass as D, toDisplayString as F, unref as y } from "vue";
2
- import { booleanishToBoolean as T } from "./index238.js";
3
- import { identity as $ } from "./index250.js";
4
- import { isCssColor as k } from "./index233.js";
2
+ import { booleanishToBoolean as T } from "./index211.js";
3
+ import { identity as $ } from "./index254.js";
4
+ import { isCssColor as k } from "./index209.js";
5
5
  import { isNotNil as q } from "./index140.js";
6
- import { useLocale as x } from "./index220.js";
6
+ import { useLocale as x } from "./index213.js";
7
7
  const H = { class: "bb-base-rating__inner-container" }, S = { class: "bb-base-rating__label-text sr-only" }, N = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], j = ["height", "width"], W = /* @__PURE__ */ I({
8
8
  __name: "BaseRating",
9
9
  props: {
package/dist/index37.js CHANGED
@@ -5,32 +5,32 @@ import { useId as tt } from "./index8.js";
5
5
  import { useMobile as lt } from "./index9.js";
6
6
  import at from "./index111.js";
7
7
  /* empty css */
8
- import { hash as ot } from "./index215.js";
9
- import { isEmpty as nt } from "./index243.js";
10
- import { last as ut } from "./index235.js";
11
- import { matchAnyKey as ie } from "./index263.js";
12
- import { useArray as st } from "./index264.js";
13
- import { useBaseOptions as it } from "./index213.js";
14
- import { useCoherence as rt } from "./index214.js";
15
- import { useHashedWatcher as re } from "./index216.js";
16
- import { useIndexById as de } from "./index212.js";
8
+ import { hash as ot } from "./index230.js";
9
+ import { isEmpty as nt } from "./index255.js";
10
+ import { last as ut } from "./index231.js";
11
+ import { matchAnyKey as ie } from "./index261.js";
12
+ import { useArray as st } from "./index262.js";
13
+ import { useBaseOptions as it } from "./index243.js";
14
+ import { useCoherence as rt } from "./index244.js";
15
+ import { useHashedWatcher as re } from "./index245.js";
16
+ import { useIndexById as de } from "./index242.js";
17
17
  import { useMounted as dt, useIntersectionObserver as ct } from "./index137.js";
18
- import { useItemsGetter as pt } from "./index211.js";
19
- import { useLocale as mt } from "./index220.js";
20
- import { usePrefill as ft } from "./index217.js";
18
+ import { useItemsGetter as pt } from "./index241.js";
19
+ import { useLocale as mt } from "./index213.js";
20
+ import { usePrefill as ft } from "./index246.js";
21
21
  import { wait as q } from "./index135.js";
22
- import { waitFor as vt } from "./index265.js";
23
- import { when as ht } from "./index237.js";
24
- import yt from "./index239.js";
22
+ import { waitFor as vt } from "./index263.js";
23
+ import { when as ht } from "./index210.js";
24
+ import yt from "./index257.js";
25
25
  /* empty css */
26
- import bt from "./index241.js";
26
+ import bt from "./index259.js";
27
27
  /* empty css */
28
- import gt from "./index225.js";
28
+ import gt from "./index218.js";
29
29
  /* empty css */
30
- import wt from "./index227.js";
31
- import Bt from "./index228.js";
30
+ import wt from "./index220.js";
31
+ import Bt from "./index221.js";
32
32
  /* empty css */
33
- import Vt from "./index266.js";
33
+ import Vt from "./index264.js";
34
34
  const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-select__input-container" }, Ct = {
35
35
  key: 1,
36
36
  class: "bb-base-select__max-reached"
package/dist/index39.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as te, ref as d, computed as p, onMounted as le, watch as oe, createElementBlock as y, openBlock as g, mergeProps as L, renderSlot as v, createElementVNode as m, createCommentVNode as H, Fragment as ne, renderList as se, normalizeProps as ie, guardReactiveProps as ue, unref as c, normalizeStyle as G, normalizeClass as O } from "vue";
2
- import { head as de } from "./index232.js";
3
- import { isCssColor as Y } from "./index233.js";
4
- import { isNil as S } from "./index230.js";
2
+ import { head as de } from "./index249.js";
3
+ import { isCssColor as Y } from "./index209.js";
4
+ import { isNil as S } from "./index247.js";
5
5
  import { getAsPercentageBetween as T, getAsPercentage as me, getValueFromPercentageInInterval as x } from "./index136.js";
6
- import { hash as j } from "./index215.js";
7
- import { snapToStep as ce } from "./index234.js";
8
- import { last as be } from "./index235.js";
9
- import { transpose as J } from "./index236.js";
10
- import { clamp as f } from "./index208.js";
6
+ import { hash as j } from "./index230.js";
7
+ import { snapToStep as ce } from "./index250.js";
8
+ import { last as be } from "./index231.js";
9
+ import { transpose as J } from "./index251.js";
10
+ import { clamp as f } from "./index207.js";
11
11
  const ve = { class: "bb-base-slider__slider-container" }, fe = {
12
12
  key: 0,
13
13
  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 "./index233.js";
3
- import { when as N } from "./index237.js";
2
+ import { isCssColor as b } from "./index209.js";
3
+ import { when as N } from "./index210.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 "./index209.js";
4
+ import N from "./index239.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index211.js";
7
- import { useIndexById as T } from "./index212.js";
8
- import { useBaseOptions as q } from "./index213.js";
9
- import { useCoherence as J } from "./index214.js";
10
- import { hash as Q } from "./index215.js";
11
- import { useHashedWatcher as $ } from "./index216.js";
12
- import { usePrefill as X } from "./index217.js";
6
+ import { useItemsGetter as U } from "./index241.js";
7
+ import { useIndexById as T } from "./index242.js";
8
+ import { useBaseOptions as q } from "./index243.js";
9
+ import { useCoherence as J } from "./index244.js";
10
+ import { hash as Q } from "./index230.js";
11
+ import { useHashedWatcher as $ } from "./index245.js";
12
+ import { usePrefill as X } from "./index246.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.js CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
3
3
  /* empty css */
4
4
  import ae from "./index111.js";
5
5
  /* empty css */
6
- import { last as le } from "./index235.js";
7
- import { useBaseOptions as ne } from "./index213.js";
8
- import { useIndexById as re } from "./index212.js";
9
- import ie from "./index239.js";
6
+ import { last as le } from "./index231.js";
7
+ import { useBaseOptions as ne } from "./index243.js";
8
+ import { useIndexById as re } from "./index242.js";
9
+ import ie from "./index257.js";
10
10
  /* empty css */
11
- import ue from "./index241.js";
11
+ import ue from "./index259.js";
12
12
  /* empty css */
13
- import se from "./index225.js";
13
+ import se from "./index218.js";
14
14
  /* empty css */
15
- import de from "./index227.js";
16
- import { isEmpty as pe } from "./index243.js";
15
+ import de from "./index220.js";
16
+ import { isEmpty as pe } from "./index255.js";
17
17
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__PURE__ */ Q({
18
18
  __name: "BaseTag",
19
19
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
2
- import E from "./index227.js";
3
- import G from "./index225.js";
2
+ import E from "./index220.js";
3
+ import G from "./index218.js";
4
4
  /* empty css */
5
5
  import M from "./index111.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as q, mergeProps as b, renderSlot as d } from "vue";
2
- import E from "./index225.js";
2
+ import E from "./index218.js";
3
3
  /* empty css */
4
- import I from "./index227.js";
4
+ import I from "./index220.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index251.js";
6
+ import { MaskInput as z } from "./index256.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 "./index220.js";
6
+ import { useLocale as g } from "./index213.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 "./index233.js";
2
+ import { isCssColor as y } from "./index209.js";
3
3
  import { wait as C } from "./index135.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 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 "./index233.js";
3
- import { isNil as B } from "./index230.js";
2
+ import { isCssColor as l } from "./index209.js";
3
+ import { isNil as B } from "./index247.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
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 "./index267.js";
11
- import { noop as w } from "./index268.js";
12
- import { useLocale as D } from "./index220.js";
10
+ import { pickBy as W } from "./index265.js";
11
+ import { noop as w } from "./index266.js";
12
+ import { useLocale as D } from "./index213.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 "./index220.js";
2
+ import { useLocale as f } from "./index213.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,15 +1,15 @@
1
1
  import { defineComponent as N, computed as R, ref as E, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as D, createElementVNode as I, normalizeStyle as J, renderSlot as m, createElementBlock as q, Fragment as F, renderList as Q, createVNode as X, mergeProps as Y, createCommentVNode as A, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
2
- import { findRightIndex as T } from "./index261.js";
2
+ import { findRightIndex as T } from "./index267.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index221.js";
4
+ import { useUntil as ne } from "./index214.js";
5
5
  import { wait as oe } from "./index135.js";
6
6
  import ae from "./index13.js";
7
7
  /* empty css */
8
8
  import B from "./index85.js";
9
9
  /* empty css */
10
- import le from "./index228.js";
10
+ import le from "./index221.js";
11
11
  /* empty css */
12
- import K from "./index262.js";
12
+ import K from "./index268.js";
13
13
  const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, Ee = /* @__PURE__ */ N({
14
14
  __name: "BbDropdown",
15
15
  props: {
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 "./index220.js";
12
+ import { useLocale as M } from "./index213.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 "./index270.js";
2
+ import { findInTree as ae } from "./index271.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("./index269.js")).default);
56
+ b || (b = (await import("./index270.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index85.js CHANGED
@@ -1,5 +1,5 @@
1
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 "./index233.js";
2
+ import { isCssColor as I } from "./index209.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
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 "./index271.js";
2
+ import { throttle as c } from "./index269.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 O, mergeModels as E, useModel as P, computed as p, ref as T, watch as q, onMounted as A, createElementBlock as d, openBlock as c, withModifiers as H, normalizeStyle as K, normalizeClass as R, unref as v, createCommentVNode as y, Fragment as U, createElementVNode as l, renderSlot as s, createTextVNode as j, toDisplayString as z, nextTick as G } from "vue";
2
- import { parseSize as J } from "./index260.js";
2
+ import { parseSize as J } from "./index238.js";
3
3
  import { useId as D } from "./index8.js";
4
- import { useLocale as Q } from "./index220.js";
4
+ import { useLocale as Q } from "./index213.js";
5
5
  import { useMobile as X } from "./index9.js";
6
- import { useUntil as Y } from "./index221.js";
6
+ import { useUntil as Y } from "./index214.js";
7
7
  import { wait as h } from "./index135.js";
8
8
  const Z = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], x = {
9
9
  ref: "header",
package/dist/index92.js CHANGED
@@ -4,7 +4,7 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
6
  import { debounce as X } from "./index272.js";
7
- import { useLocale as H } from "./index220.js";
7
+ import { useLocale as H } from "./index213.js";
8
8
  import { useRoute as J } from "./index142.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,11 +1,11 @@
1
1
  import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as l, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
2
2
  import { useId as H } from "./index8.js";
3
3
  import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index220.js";
5
- import { useUntil as W } from "./index221.js";
4
+ import { useLocale as U } from "./index213.js";
5
+ import { useUntil as W } from "./index214.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index228.js";
8
+ import A from "./index221.js";
9
9
  /* empty css */
10
10
  const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
11
11
  __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 "./index208.js";
2
+ import { clamp as p } from "./index207.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.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.14",
3
+ "version": "2.1.16",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index217.js DELETED
@@ -1,18 +0,0 @@
1
- import { isNotNil as n } from "./index140.js";
2
- import { ref as t, onServerPrefetch as u, onBeforeMount as c } from "vue";
3
- const h = ({
4
- fn: i,
5
- onStart: s,
6
- multiple: f,
7
- currentValue: o
8
- }) => {
9
- const a = s || !f && n(o) || f && !!o.length, e = t(!1), l = t(!1), r = async () => {
10
- e.value = !0, await i({ prefill: !0 }), e.value = !1, l.value = !0;
11
- };
12
- return a && (u(r), c(async () => {
13
- l.value || await r();
14
- })), { isPrefilling: e, hasPrefilled: l, prefill: r };
15
- };
16
- export {
17
- h as usePrefill
18
- };
package/dist/index219.js DELETED
@@ -1,6 +0,0 @@
1
- function x(e) {
2
- return /^#([A-Fa-f0-9]{6})$/.test(e);
3
- }
4
- export {
5
- x as isHex
6
- };
package/dist/index222.js DELETED
@@ -1,22 +0,0 @@
1
- import { MaskInput as r } from "./index251.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/index258.js DELETED
@@ -1,7 +0,0 @@
1
- import o from "./index317.js";
2
- /* empty css */
3
- import t from "./index287.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8c6b13bd"]]);
5
- export {
6
- m as default
7
- };
package/dist/index260.js DELETED
@@ -1,15 +0,0 @@
1
- const c = (t, r) => {
2
- if (typeof t == "string") {
3
- const e = /^(\d+)([a-zA-Z%]+)?$/, n = t.match(e);
4
- if (n) {
5
- const [, o, a] = n;
6
- return a ? t : o + "px";
7
- } else if (t in r)
8
- return r[t] + "px";
9
- throw new Error(`Invalid size: ${t}`);
10
- }
11
- return t + "px";
12
- };
13
- export {
14
- c as parseSize
15
- };
package/dist/index283.js DELETED
@@ -1,4 +0,0 @@
1
- import f from "./index218.js";
2
- export {
3
- f as default
4
- };
package/dist/index308.js DELETED
@@ -1,8 +0,0 @@
1
- var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function l(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- export {
6
- o as commonjsGlobal,
7
- l as getDefaultExportFromCjs
8
- };