bitboss-ui 2.1.77 → 2.1.78

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 (185) hide show
  1. package/dist/index107.js +9 -9
  2. package/dist/index112.js +1 -1
  3. package/dist/index114.js +1 -1
  4. package/dist/index120.js +1 -1
  5. package/dist/index122.js +13 -13
  6. package/dist/index13.js +2 -2
  7. package/dist/index130.js +1 -1
  8. package/dist/index132.js +5 -5
  9. package/dist/index134.js +1 -1
  10. package/dist/index136.js +2 -2
  11. package/dist/index139.js +1 -1
  12. package/dist/index141.js +2 -2
  13. package/dist/index142.js +1 -1
  14. package/dist/index15.js +5 -5
  15. package/dist/index17.js +3 -3
  16. package/dist/index19.js +8 -8
  17. package/dist/index21.js +14 -14
  18. package/dist/index214.js +138 -2
  19. package/dist/index215.js +2 -138
  20. package/dist/index216.js +2 -2
  21. package/dist/index217.js +1 -1
  22. package/dist/index218.js +1 -1
  23. package/dist/index219.js +33 -5
  24. package/dist/index220.js +28 -5
  25. package/dist/index222.js +4 -5
  26. package/dist/index223.js +13 -3
  27. package/dist/index224.js +20 -2
  28. package/dist/index225.js +201 -6
  29. package/dist/index227.js +128 -261
  30. package/dist/index229.js +2 -52
  31. package/dist/index23.js +11 -11
  32. package/dist/index230.js +50 -31
  33. package/dist/index231.js +17 -60
  34. package/dist/index232.js +105 -12
  35. package/dist/index234.js +98 -26
  36. package/dist/index236.js +3 -2
  37. package/dist/index237.js +5 -2
  38. package/dist/index238.js +5 -3
  39. package/dist/index239.js +5 -13
  40. package/dist/index240.js +5 -13
  41. package/dist/index241.js +5 -2
  42. package/dist/index242.js +5 -9
  43. package/dist/index243.js +2 -135
  44. package/dist/index244.js +190 -0
  45. package/dist/index245.js +3 -4
  46. package/dist/index246.js +2 -23
  47. package/dist/index247.js +11 -2
  48. package/dist/index248.js +8 -7
  49. package/dist/index249.js +13 -7
  50. package/dist/index25.js +3 -3
  51. package/dist/index250.js +13 -4
  52. package/dist/index251.js +4 -9
  53. package/dist/index252.js +22 -28
  54. package/dist/index253.js +3 -16
  55. package/dist/index254.js +3 -17
  56. package/dist/index255.js +16 -49
  57. package/dist/index256.js +11 -11
  58. package/dist/index257.js +14 -40
  59. package/dist/index258.js +12 -34
  60. package/dist/index259.js +26 -6
  61. package/dist/index260.js +16 -106
  62. package/dist/index261.js +6 -0
  63. package/dist/index262.js +212 -83
  64. package/dist/index263.js +12 -0
  65. package/dist/index264.js +3 -3
  66. package/dist/index265.js +67 -5
  67. package/dist/index266.js +2 -86
  68. package/dist/index267.js +5 -0
  69. package/dist/index268.js +8 -14
  70. package/dist/index269.js +7 -186
  71. package/dist/index27.js +1 -1
  72. package/dist/index270.js +23 -2
  73. package/dist/index271.js +5 -5
  74. package/dist/index272.js +6 -5
  75. package/dist/index273.js +16 -5
  76. package/dist/index274.js +3 -20
  77. package/dist/index275.js +34 -8
  78. package/dist/index276.js +9 -67
  79. package/dist/index277.js +5 -3
  80. package/dist/index278.js +5 -3
  81. package/dist/index279.js +257 -190
  82. package/dist/{index228.js → index280.js} +1 -1
  83. package/dist/index281.js +52 -7
  84. package/dist/index282.js +32 -11
  85. package/dist/index283.js +60 -6
  86. package/dist/index284.js +2 -16
  87. package/dist/index285.js +86 -10
  88. package/dist/index287.js +8 -17
  89. package/dist/index288.js +8 -12
  90. package/dist/index289.js +7 -229
  91. package/dist/index29.js +3 -3
  92. package/dist/index290.js +2 -280
  93. package/dist/index291.js +7 -2
  94. package/dist/index292.js +6 -15
  95. package/dist/index293.js +41 -2
  96. package/dist/index295.js +3 -2
  97. package/dist/index296.js +3 -26
  98. package/dist/index297.js +7 -2
  99. package/dist/index298.js +3 -2
  100. package/dist/index299.js +3 -2
  101. package/dist/index300.js +17 -2
  102. package/dist/index301.js +1 -1
  103. package/dist/index302.js +3 -28
  104. package/dist/index303.js +1 -1
  105. package/dist/index304.js +28 -7
  106. package/dist/index305.js +3 -8
  107. package/dist/index306.js +3 -23
  108. package/dist/index307.js +5 -3
  109. package/dist/index308.js +282 -0
  110. package/dist/index309.js +2 -3
  111. package/dist/index31.js +2 -2
  112. package/dist/index310.js +125 -3
  113. package/dist/index311.js +2 -3
  114. package/dist/index312.js +15 -3
  115. package/dist/index313.js +2 -17
  116. package/dist/index314.js +16 -3
  117. package/dist/index315.js +2 -4
  118. package/dist/index316.js +16 -2
  119. package/dist/index317.js +2 -125
  120. package/dist/index318.js +19 -2
  121. package/dist/index319.js +2 -15
  122. package/dist/index320.js +5 -2
  123. package/dist/index321.js +25 -17
  124. package/dist/index323.js +2 -4
  125. package/dist/index324.js +2 -6
  126. package/dist/index325.js +1 -1
  127. package/dist/index326.js +2 -5
  128. package/dist/index327.js +2 -3
  129. package/dist/index33.js +8 -8
  130. package/dist/index331.js +2 -5
  131. package/dist/index332.js +3 -7
  132. package/dist/index333.js +5 -18
  133. package/dist/index334.js +34 -8
  134. package/dist/index335.js +6 -15
  135. package/dist/index336.js +128 -6
  136. package/dist/index337.js +396 -56
  137. package/dist/index338.js +47 -58
  138. package/dist/index339.js +8 -5
  139. package/dist/index340.js +6 -2
  140. package/dist/index341.js +7 -34
  141. package/dist/index342.js +58 -6
  142. package/dist/index343.js +57 -128
  143. package/dist/index344.js +220 -390
  144. package/dist/index345.js +92 -21
  145. package/dist/index346.js +7 -0
  146. package/dist/index347.js +6 -7
  147. package/dist/index348.js +18 -5
  148. package/dist/index349.js +9 -8
  149. package/dist/index35.js +4 -4
  150. package/dist/index350.js +12 -90
  151. package/dist/index351.js +6 -133
  152. package/dist/index352.js +131 -44
  153. package/dist/index353.js +514 -222
  154. package/dist/index354.js +20 -518
  155. package/dist/index356.js +48 -126
  156. package/dist/index357.js +435 -44
  157. package/dist/index358.js +130 -0
  158. package/dist/index37.js +18 -18
  159. package/dist/index39.js +7 -7
  160. package/dist/index41.js +2 -2
  161. package/dist/index43.js +8 -8
  162. package/dist/index45.js +6 -6
  163. package/dist/index49.js +20 -20
  164. package/dist/index53.js +1 -1
  165. package/dist/index55.js +1 -1
  166. package/dist/index57.js +2 -2
  167. package/dist/index61.js +4 -4
  168. package/dist/index67.js +1 -1
  169. package/dist/index80.js +6 -6
  170. package/dist/index82.js +1 -1
  171. package/dist/index84.js +2 -2
  172. package/dist/index86.js +3 -3
  173. package/dist/index88.js +1 -1
  174. package/dist/index91.js +3 -3
  175. package/dist/index93.js +2 -2
  176. package/dist/index95.js +5 -5
  177. package/dist/index97.js +1 -1
  178. package/dist/utilities/functions/isNotEmpty.d.ts +1 -0
  179. package/package.json +1 -1
  180. package/dist/index221.js +0 -7
  181. package/dist/index226.js +0 -10
  182. package/dist/index233.js +0 -35
  183. package/dist/index286.js +0 -5
  184. package/dist/index294.js +0 -18
  185. package/dist/index355.js +0 -443
@@ -0,0 +1,130 @@
1
+ const j = ["top", "right", "bottom", "left"], m = Math.min, p = Math.max, C = Math.round, L = Math.floor, E = (t) => ({
2
+ x: t,
3
+ y: t
4
+ }), h = {
5
+ left: "right",
6
+ right: "left",
7
+ bottom: "top",
8
+ top: "bottom"
9
+ }, x = {
10
+ start: "end",
11
+ end: "start"
12
+ };
13
+ function R(t, e, n) {
14
+ return p(t, m(e, n));
15
+ }
16
+ function T(t, e) {
17
+ return typeof t == "function" ? t(e) : t;
18
+ }
19
+ function g(t) {
20
+ return t.split("-")[0];
21
+ }
22
+ function a(t) {
23
+ return t.split("-")[1];
24
+ }
25
+ function b(t) {
26
+ return t === "x" ? "y" : "x";
27
+ }
28
+ function d(t) {
29
+ return t === "y" ? "height" : "width";
30
+ }
31
+ const A = /* @__PURE__ */ new Set(["top", "bottom"]);
32
+ function P(t) {
33
+ return A.has(g(t)) ? "y" : "x";
34
+ }
35
+ function y(t) {
36
+ return b(P(t));
37
+ }
38
+ function k(t, e, n) {
39
+ n === void 0 && (n = !1);
40
+ const r = a(t), i = y(t), o = d(i);
41
+ let c = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
42
+ return e.reference[o] > e.floating[o] && (c = f(c)), [c, f(c)];
43
+ }
44
+ function q(t) {
45
+ const e = f(t);
46
+ return [s(t), e, s(e)];
47
+ }
48
+ function s(t) {
49
+ return t.replace(/start|end/g, (e) => x[e]);
50
+ }
51
+ const u = ["left", "right"], l = ["right", "left"], M = ["top", "bottom"], O = ["bottom", "top"];
52
+ function S(t, e, n) {
53
+ switch (t) {
54
+ case "top":
55
+ case "bottom":
56
+ return n ? e ? l : u : e ? u : l;
57
+ case "left":
58
+ case "right":
59
+ return e ? M : O;
60
+ default:
61
+ return [];
62
+ }
63
+ }
64
+ function z(t, e, n, r) {
65
+ const i = a(t);
66
+ let o = S(g(t), n === "start", r);
67
+ return i && (o = o.map((c) => c + "-" + i), e && (o = o.concat(o.map(s)))), o;
68
+ }
69
+ function f(t) {
70
+ return t.replace(/left|right|bottom|top/g, (e) => h[e]);
71
+ }
72
+ function w(t) {
73
+ return {
74
+ top: 0,
75
+ right: 0,
76
+ bottom: 0,
77
+ left: 0,
78
+ ...t
79
+ };
80
+ }
81
+ function B(t) {
82
+ return typeof t != "number" ? w(t) : {
83
+ top: t,
84
+ right: t,
85
+ bottom: t,
86
+ left: t
87
+ };
88
+ }
89
+ function D(t) {
90
+ const {
91
+ x: e,
92
+ y: n,
93
+ width: r,
94
+ height: i
95
+ } = t;
96
+ return {
97
+ width: r,
98
+ height: i,
99
+ top: n,
100
+ left: e,
101
+ right: e + r,
102
+ bottom: n + i,
103
+ x: e,
104
+ y: n
105
+ };
106
+ }
107
+ export {
108
+ R as clamp,
109
+ E as createCoords,
110
+ T as evaluate,
111
+ w as expandPaddingObject,
112
+ L as floor,
113
+ a as getAlignment,
114
+ y as getAlignmentAxis,
115
+ k as getAlignmentSides,
116
+ d as getAxisLength,
117
+ q as getExpandedPlacements,
118
+ s as getOppositeAlignmentPlacement,
119
+ b as getOppositeAxis,
120
+ z as getOppositeAxisPlacements,
121
+ f as getOppositePlacement,
122
+ B as getPaddingObject,
123
+ g as getSide,
124
+ P as getSideAxis,
125
+ p as max,
126
+ m as min,
127
+ D as rectToClientRect,
128
+ C as round,
129
+ j as sides
130
+ };
package/dist/index37.js CHANGED
@@ -1,34 +1,34 @@
1
1
  import { defineComponent as Qe, ref as f, computed as m, toRef as z, createBlock as K, openBlock as v, normalizeClass as ee, withCtx as u, createElementVNode as H, createVNode as L, createElementBlock as C, unref as b, renderSlot as d, createCommentVNode as te, withDirectives as Xe, Fragment as ae, toDisplayString as Ye, withKeys as g, withModifiers as c, normalizeStyle as le, vModelDynamic as Ze, mergeProps as oe, renderList as et, nextTick as U } from "vue";
2
2
  import tt from "./index112.js";
3
3
  /* empty css */
4
- import { hash as at } from "./index223.js";
5
- import { isEmpty as lt } from "./index264.js";
6
- import { last as ot } from "./index224.js";
7
- import { matchAnyKey as ne } from "./index287.js";
8
- import { useArray as nt } from "./index288.js";
9
- import { useBaseOptions as ut } from "./index255.js";
10
- import { useCoherence as st } from "./index268.js";
11
- import { useHashedWatcher as ue } from "./index256.js";
4
+ import { hash as at } from "./index254.js";
5
+ import { isEmpty as lt } from "./index236.js";
6
+ import { last as ot } from "./index229.js";
7
+ import { matchAnyKey as ne } from "./index255.js";
8
+ import { useArray as nt } from "./index256.js";
9
+ import { useBaseOptions as ut } from "./index230.js";
10
+ import { useCoherence as st } from "./index257.js";
11
+ import { useHashedWatcher as ue } from "./index258.js";
12
12
  import { useId as it } from "./index8.js";
13
- import { useIndexById as se } from "./index254.js";
13
+ import { useIndexById as se } from "./index231.js";
14
14
  import { useMounted as rt, useElementSize as dt, useIntersectionObserver as ct } from "./index141.js";
15
- import { useItemsGetter as pt } from "./index252.js";
16
- import { useLocale as mt } from "./index232.js";
15
+ import { useItemsGetter as pt } from "./index259.js";
16
+ import { useLocale as mt } from "./index223.js";
17
17
  import { useMobile as ft } from "./index9.js";
18
- import { usePrefill as vt } from "./index253.js";
18
+ import { usePrefill as vt } from "./index260.js";
19
19
  import { wait as T } from "./index140.js";
20
- import { when as ht } from "./index250.js";
21
- import yt from "./index260.js";
20
+ import { when as ht } from "./index261.js";
21
+ import yt from "./index232.js";
22
22
  /* empty css */
23
- import bt from "./index262.js";
23
+ import bt from "./index234.js";
24
24
  /* empty css */
25
25
  import gt from "./index136.js";
26
26
  /* empty css */
27
27
  import wt from "./index138.js";
28
- import Bt from "./index243.js";
28
+ import Bt from "./index227.js";
29
29
  /* empty css */
30
- import Vt from "./index289.js";
31
- import { useUntil as St } from "./index240.js";
30
+ import Vt from "./index262.js";
31
+ import { useUntil as St } from "./index250.js";
32
32
  import { mapValues as kt } from "./index145.js";
33
33
  const Ct = { class: "bb-base-select__input-container" }, It = {
34
34
  key: 1,
package/dist/index39.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as ie, ref as d, computed as f, onMounted as se, watch as ue, createElementBlock as y, openBlock as g, normalizeProps as G, guardReactiveProps as O, renderSlot as p, createElementVNode as c, mergeProps as N, createCommentVNode as Y, Fragment as de, renderList as me, unref as b, normalizeStyle as j, normalizeClass as J } from "vue";
2
- import { head as ce } from "./index247.js";
3
- import { isCssColor as K } from "./index236.js";
4
- import { isNil as x } from "./index241.js";
2
+ import { head as ce } from "./index290.js";
3
+ import { isCssColor as K } from "./index246.js";
4
+ import { isNil as x } from "./index284.js";
5
5
  import { getAsPercentageBetween as S, getAsPercentage as be, getValueFromPercentageInInterval as T } from "./index139.js";
6
- import { snapToStep as ve } from "./index248.js";
7
- import { last as fe } from "./index224.js";
8
- import { transpose as Q } from "./index249.js";
9
- import { clamp as m } from "./index214.js";
6
+ import { snapToStep as ve } from "./index291.js";
7
+ import { last as fe } from "./index229.js";
8
+ import { transpose as Q } from "./index292.js";
9
+ import { clamp as m } from "./index216.js";
10
10
  const pe = {
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 F, ref as b, computed as s, watch as S, createElementBlock as y, openBlock as V, normalizeProps as l, guardReactiveProps as m, createCommentVNode as A, createElementVNode as r, mergeProps as v, renderSlot as N } from "vue";
2
- import { isCssColor as p } from "./index236.js";
3
- import { when as x } from "./index250.js";
2
+ import { isCssColor as p } from "./index246.js";
3
+ import { when as x } from "./index261.js";
4
4
  const M = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ F({
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 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 "./index41.js";
3
3
  /* empty css */
4
- import N from "./index266.js";
4
+ import N from "./index285.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index252.js";
7
- import { useIndexById as T } from "./index254.js";
8
- import { useBaseOptions as q } from "./index255.js";
9
- import { useCoherence as J } from "./index268.js";
10
- import { hash as Q } from "./index223.js";
11
- import { useHashedWatcher as $ } from "./index256.js";
12
- import { usePrefill as X } from "./index253.js";
6
+ import { useItemsGetter as U } from "./index259.js";
7
+ import { useIndexById as T } from "./index231.js";
8
+ import { useBaseOptions as q } from "./index230.js";
9
+ import { useCoherence as J } from "./index257.js";
10
+ import { hash as Q } from "./index254.js";
11
+ import { useHashedWatcher as $ } from "./index258.js";
12
+ import { usePrefill as X } from "./index260.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 u, computed as m, toRef as C, watch as Q, createBlock as h, openBlock as f, normalizeClass as Z, withCtx as l, createVNode as E, unref as G, createElementVNode as I, 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 "./index112.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 ie from "./index260.js";
4
+ import { last as le } from "./index229.js";
5
+ import { useBaseOptions as ne } from "./index230.js";
6
+ import { useIndexById as re } from "./index231.js";
7
+ import ie from "./index232.js";
8
8
  /* empty css */
9
- import ue from "./index262.js";
9
+ import ue from "./index234.js";
10
10
  /* empty css */
11
11
  import se from "./index136.js";
12
12
  /* empty css */
13
13
  import de from "./index138.js";
14
- import { isEmpty as pe } from "./index264.js";
14
+ import { isEmpty as pe } from "./index236.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
@@ -1,10 +1,10 @@
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 "./index136.js";
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 E, mergeProps as b, renderSlot as t } from "vue";
2
+ import q from "./index136.js";
3
3
  /* empty css */
4
4
  import I from "./index138.js";
5
- import { isNotNil as N } from "./index144.js";
6
- import { MaskInput as z } from "./index269.js";
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({
5
+ import { MaskInput as z } from "./index244.js";
6
+ import { isNotEmpty as D } from "./index245.js";
7
+ const N = ["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: {
10
10
  "append:icon": {},
@@ -30,7 +30,7 @@ const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
30
30
  },
31
31
  emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
32
32
  setup(c, { emit: f }) {
33
- const a = c, o = f, t = h(), y = v(() => ({
33
+ const a = c, o = f, d = h(), y = v(() => ({
34
34
  "bb-base-text-input": !0,
35
35
  "bb-base-text-input--disabled": a.disabled,
36
36
  "bb-base-text-input--errors": a.hasErrors,
@@ -42,10 +42,10 @@ const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
42
42
  const k = (e) => {
43
43
  a.mask && (e.detail.unmasked ? a.emitMasked ? o("update:modelValue", e.detail.masked) : o("update:modelValue", e.detail.unmasked) : o("update:modelValue", null));
44
44
  }, s = (e) => {
45
- t.value.value = e ?? "", u.updateValue(t.value);
45
+ d.value.value = e ?? "", u.updateValue(d.value);
46
46
  };
47
47
  B(() => {
48
- a.mask && (u = new z(t.value, a.mask), s(a.modelValue));
48
+ a.mask && (u = new z(d.value, a.mask), s(a.modelValue));
49
49
  }), M(() => {
50
50
  a.mask && u?.destroy();
51
51
  }), g(
@@ -63,7 +63,7 @@ const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
63
63
  onInput: (e) => {
64
64
  if (!a.mask && e.target instanceof HTMLInputElement) {
65
65
  const l = e.target.value;
66
- o("update:modelValue", l);
66
+ o("update:modelValue", l || null);
67
67
  }
68
68
  o("input", e);
69
69
  },
@@ -75,36 +75,36 @@ const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
75
75
  class: C(y.value)
76
76
  }, {
77
77
  "prepend-outer": n(() => [
78
- d(e.$slots, "prepend-outer")
78
+ t(e.$slots, "prepend-outer")
79
79
  ]),
80
80
  "append-outer": n(() => [
81
- d(e.$slots, "append-outer")
81
+ t(e.$slots, "append-outer")
82
82
  ]),
83
83
  default: n(() => [
84
- m(E, {
84
+ m(q, {
85
85
  "append:icon": a["append:icon"],
86
- clearable: a.clearable && q(N)(a.modelValue),
86
+ clearable: a.clearable && E(D)(a.modelValue),
87
87
  "prepend:icon": a["prepend:icon"],
88
88
  "onClick:clear": l[0] || (l[0] = (L) => e.$emit("update:modelValue", null))
89
89
  }, {
90
90
  prepend: n(() => [
91
- d(e.$slots, "prepend")
91
+ t(e.$slots, "prepend")
92
92
  ]),
93
93
  prefix: n(() => [
94
- d(e.$slots, "prefix")
94
+ t(e.$slots, "prefix")
95
95
  ]),
96
96
  append: n(() => [
97
- d(e.$slots, "append")
97
+ t(e.$slots, "append")
98
98
  ]),
99
99
  suffix: n(() => [
100
- d(e.$slots, "suffix")
100
+ t(e.$slots, "suffix")
101
101
  ]),
102
102
  default: n(() => [
103
103
  e.mask ? (r(), i("input", b({
104
104
  key: 0,
105
105
  id: e.id,
106
106
  ref_key: "input",
107
- ref: t,
107
+ ref: d,
108
108
  "aria-describedby": e.ariaDescribedby,
109
109
  "aria-invalid": e.hasErrors ? !0 : void 0,
110
110
  autocomplete: e.autocomplete,
@@ -118,11 +118,11 @@ const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
118
118
  required: e.required,
119
119
  size: "1",
120
120
  type: e.type
121
- }, p, { onMaska: k }), null, 16, D)) : (r(), i("input", b({
121
+ }, p, { onMaska: k }), null, 16, N)) : (r(), i("input", b({
122
122
  key: 1,
123
123
  id: e.id,
124
124
  ref_key: "input",
125
- ref: t,
125
+ ref: d,
126
126
  "aria-describedby": e.ariaDescribedby,
127
127
  "aria-invalid": e.hasErrors ? !0 : void 0,
128
128
  autocomplete: e.autocomplete,
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index86.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index232.js";
6
+ import { useLocale as g } from "./index223.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 "./index236.js";
2
+ import { isCssColor as y } from "./index246.js";
3
3
  import { wait as C } from "./index140.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 "./index236.js";
3
- import { isNil as B } from "./index241.js";
2
+ import { isCssColor as l } from "./index246.js";
3
+ import { isNil as B } from "./index284.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,10 +7,10 @@ import d from "./index86.js";
7
7
  /* empty css */
8
8
  import x from "./index114.js";
9
9
  /* empty css */
10
- import { pickBy as O } from "./index285.js";
11
- import { noop as G } from "./index286.js";
12
- import { useLocale as H } from "./index232.js";
13
- import { extractDomContainer as I } from "./index245.js";
10
+ import { pickBy as O } from "./index263.js";
11
+ import { noop as G } from "./index264.js";
12
+ import { useLocale as H } from "./index223.js";
13
+ import { extractDomContainer as I } from "./index251.js";
14
14
  const J = {
15
15
  key: 2,
16
16
  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 "./index232.js";
2
+ import { useLocale as f } from "./index223.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/index80.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 x, normalizeProps as ye, mergeProps as q, withCtx as G, 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 "./index305.js";
2
+ import { findRightIndex as R } from "./index269.js";
3
3
  import { useId as Ee } from "./index8.js";
4
- import { useUntil as Le } from "./index240.js";
4
+ import { useUntil as Le } from "./index250.js";
5
5
  import { wait as ke } from "./index140.js";
6
6
  import De from "./index13.js";
7
7
  /* empty css */
8
8
  import ee from "./index86.js";
9
9
  /* empty css */
10
- import $e from "./index243.js";
10
+ import $e from "./index227.js";
11
11
  /* empty css */
12
- import te from "./index306.js";
13
- import { extractDomContainer as H } from "./index245.js";
12
+ import te from "./index270.js";
13
+ import { extractDomContainer as H } from "./index251.js";
14
14
  import { useIntersectionObserver as Ae, useElementSize as Se } from "./index141.js";
15
- import { parseWidthString as Pe } from "./index246.js";
15
+ import { parseWidthString as Pe } from "./index252.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/index82.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index86.js";
9
9
  /* empty css */
10
10
  import I from "./index114.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index232.js";
12
+ import { useLocale as M } from "./index223.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/index84.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 "./index284.js";
2
+ import { findInTree as ae } from "./index273.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index112.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("./index283.js")).default);
56
+ b || (b = (await import("./index272.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index86.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 "./index236.js";
3
- import { get as m } from "./index282.js";
4
- import { useLogger as N } from "./index226.js";
2
+ import { isCssColor as C } from "./index246.js";
3
+ import { get as m } from "./index247.js";
4
+ import { useLogger as N } from "./index248.js";
5
5
  const S = ["innerHTML"], E = /* @__PURE__ */ $({
6
6
  __name: "BbIcon",
7
7
  props: {
package/dist/index88.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 "./index277.js";
2
+ import { throttle as c } from "./index274.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index91.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, mergeModels as B, useModel as N, computed as m, ref as L, watch as P, onMounted as W, createElementBlock as r, openBlock as d, withModifiers as F, normalizeStyle as O, normalizeClass as q, unref as p, createCommentVNode as v, Fragment as A, createElementVNode as o, renderSlot as l, createTextVNode as H, toDisplayString as M, nextTick as K } from "vue";
2
- import { parseSize as R } from "./index239.js";
2
+ import { parseSize as R } from "./index249.js";
3
3
  import { useId as $ } from "./index8.js";
4
- import { useLocale as U } from "./index232.js";
4
+ import { useLocale as U } from "./index223.js";
5
5
  import { useMobile as j } from "./index9.js";
6
- import { useUntil as G } from "./index240.js";
6
+ import { useUntil as G } from "./index250.js";
7
7
  import { wait as y } from "./index140.js";
8
8
  import { _config as J } from "./index4.js";
9
9
  const Q = ["aria-describedby", "aria-labelledby", "aria-live", "inert"], X = {
package/dist/index93.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 "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index242.js";
7
- import { useLocale as H } from "./index232.js";
6
+ import { debounce as X } from "./index268.js";
7
+ import { useLocale as H } from "./index223.js";
8
8
  import { useRoute as J } from "./index146.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/index95.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 "./index141.js";
4
- import { useLocale as be } from "./index232.js";
5
- import { useUntil as he } from "./index240.js";
4
+ import { useLocale as be } from "./index223.js";
5
+ import { useUntil as he } from "./index250.js";
6
6
  import ge from "./index13.js";
7
7
  /* empty css */
8
- import we from "./index243.js";
8
+ import we from "./index227.js";
9
9
  /* empty css */
10
- import { extractDomContainer as H } from "./index245.js";
11
- import { parseWidthString as U } from "./index246.js";
10
+ import { extractDomContainer as H } from "./index251.js";
11
+ import { parseWidthString as U } from "./index252.js";
12
12
  const Ee = ["inert"], Le = 500, ye = 10, De = /* @__PURE__ */ re({
13
13
  inheritAttrs: !1,
14
14
  __name: "BbPopover",
package/dist/index97.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 "./index214.js";
2
+ import { clamp as p } from "./index216.js";
3
3
  import { getAsPercentageBetween as i } from "./index139.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
@@ -0,0 +1 @@
1
+ export declare const isNotEmpty: (value: unknown) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.1.77",
3
+ "version": "2.1.78",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index221.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./index324.js";
2
- import { __require as e } from "./index294.js";
3
- var o = e();
4
- const m = /* @__PURE__ */ r(o);
5
- export {
6
- m as default
7
- };
package/dist/index226.js DELETED
@@ -1,10 +0,0 @@
1
- const o = "bitboss-ui | ", e = () => ({
2
- warn: (r) => console.warn(`${o}${r}`),
3
- error: (r) => console.error(`${o}${r}`),
4
- throw: (r) => {
5
- throw new Error(`${o}${r}`);
6
- }
7
- });
8
- export {
9
- e as useLogger
10
- };
package/dist/index233.js DELETED
@@ -1,35 +0,0 @@
1
- import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
2
- /* empty css */
3
- import n from "./index213.js";
4
- const l = {}, s = {
5
- class: "bb-error-icon",
6
- fill: "none",
7
- viewBox: "0 0 20 20",
8
- xmlns: "http://www.w3.org/2000/svg"
9
- };
10
- function i(c, r) {
11
- return t(), e("svg", s, r[0] || (r[0] = [
12
- o("path", {
13
- d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
14
- fill: "currentColor"
15
- }, null, -1),
16
- o("path", {
17
- d: "M9.99414 6.66666V9.99999",
18
- stroke: "white",
19
- "stroke-linecap": "round",
20
- "stroke-linejoin": "round",
21
- "stroke-width": "2"
22
- }, null, -1),
23
- o("path", {
24
- d: "M9.99414 13.3333H10.0025",
25
- stroke: "white",
26
- "stroke-linecap": "round",
27
- "stroke-linejoin": "round",
28
- "stroke-width": "2"
29
- }, null, -1)
30
- ]));
31
- }
32
- const a = /* @__PURE__ */ n(l, [["render", i]]);
33
- export {
34
- a as default
35
- };
package/dist/index286.js DELETED
@@ -1,5 +0,0 @@
1
- const o = () => {
2
- };
3
- export {
4
- o as noop
5
- };