bitboss-ui 2.1.31 → 2.1.33

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 (269) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +10 -30
  2. package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +2 -2
  3. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +8 -24
  4. package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -24
  5. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +27 -36
  6. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +5 -1
  7. package/dist/components/BbPopover/BbPopover.vue.d.ts +25 -32
  8. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +26 -31
  9. package/dist/components/CommonInputInnerContainer.vue.d.ts +3 -3
  10. package/dist/components/{CommonPopover.vue.d.ts → CommonPopover2.vue.d.ts} +2 -7
  11. package/dist/composables/useCancelableFunction.d.ts +17 -0
  12. package/dist/index.css +1 -1
  13. package/dist/index.d.ts +3 -0
  14. package/dist/index.js +143 -138
  15. package/dist/index106.js +9 -9
  16. package/dist/index11.js +2 -2
  17. package/dist/index111.js +1 -1
  18. package/dist/index119.js +4 -4
  19. package/dist/index12.js +6 -6
  20. package/dist/index121.js +12 -12
  21. package/dist/index129.js +1 -1
  22. package/dist/index13.js +1 -1
  23. package/dist/index131.js +111 -93
  24. package/dist/index133.js +1 -1
  25. package/dist/index135.js +69 -2
  26. package/dist/index137.js +13 -377
  27. package/dist/index138.js +2 -9
  28. package/dist/index139.js +11 -25
  29. package/dist/index140.js +419 -2
  30. package/dist/index141.js +9 -5
  31. package/dist/index142.js +23 -7
  32. package/dist/index143.js +2 -6
  33. package/dist/index144.js +5 -3
  34. package/dist/index145.js +9 -3
  35. package/dist/index146.js +6 -3
  36. package/dist/index147.js +1 -1
  37. package/dist/index148.js +1 -1
  38. package/dist/index149.js +1 -1
  39. package/dist/index15.js +72 -74
  40. package/dist/index150.js +1 -1
  41. package/dist/index151.js +1 -1
  42. package/dist/index152.js +1 -1
  43. package/dist/index153.js +1 -1
  44. package/dist/index154.js +1 -1
  45. package/dist/index155.js +1 -1
  46. package/dist/index156.js +1 -1
  47. package/dist/index157.js +1 -1
  48. package/dist/index158.js +1 -1
  49. package/dist/index159.js +1 -1
  50. package/dist/index160.js +1 -1
  51. package/dist/index161.js +1 -1
  52. package/dist/index162.js +1 -1
  53. package/dist/index163.js +1 -1
  54. package/dist/index164.js +1 -1
  55. package/dist/index165.js +1 -1
  56. package/dist/index166.js +1 -1
  57. package/dist/index167.js +1 -1
  58. package/dist/index168.js +1 -1
  59. package/dist/index169.js +1 -1
  60. package/dist/index17.js +2 -2
  61. package/dist/index170.js +1 -1
  62. package/dist/index171.js +1 -1
  63. package/dist/index172.js +1 -1
  64. package/dist/index173.js +1 -1
  65. package/dist/index174.js +1 -1
  66. package/dist/index175.js +1 -1
  67. package/dist/index176.js +1 -1
  68. package/dist/index177.js +1 -1
  69. package/dist/index178.js +1 -1
  70. package/dist/index179.js +1 -1
  71. package/dist/index180.js +1 -1
  72. package/dist/index181.js +3 -2
  73. package/dist/index182.js +1 -1
  74. package/dist/index183.js +1 -1
  75. package/dist/index184.js +2 -3
  76. package/dist/index185.js +1 -1
  77. package/dist/index186.js +1 -1
  78. package/dist/index187.js +1 -1
  79. package/dist/index188.js +2 -2
  80. package/dist/index189.js +2 -2
  81. package/dist/index19.js +8 -8
  82. package/dist/index190.js +2 -2
  83. package/dist/index191.js +3 -2
  84. package/dist/index192.js +1 -1
  85. package/dist/index193.js +1 -1
  86. package/dist/index194.js +2 -3
  87. package/dist/index195.js +1 -1
  88. package/dist/index196.js +1 -1
  89. package/dist/index197.js +1 -1
  90. package/dist/index198.js +1 -1
  91. package/dist/index199.js +1 -1
  92. package/dist/index200.js +1 -1
  93. package/dist/index201.js +1 -1
  94. package/dist/index202.js +1 -1
  95. package/dist/index203.js +1 -1
  96. package/dist/index204.js +1 -1
  97. package/dist/index205.js +1 -1
  98. package/dist/index206.js +3 -138
  99. package/dist/index207.js +3 -2
  100. package/dist/index208.js +3 -2
  101. package/dist/index209.js +3 -34
  102. package/dist/index21.js +16 -16
  103. package/dist/index211.js +7 -13
  104. package/dist/index212.js +136 -9
  105. package/dist/index213.js +2 -5
  106. package/dist/index214.js +2 -5
  107. package/dist/index215.js +13 -5
  108. package/dist/index216.js +13 -5
  109. package/dist/index217.js +13 -5
  110. package/dist/index218.js +3 -5
  111. package/dist/index219.js +86 -2
  112. package/dist/index221.js +29 -2
  113. package/dist/index222.js +16 -19
  114. package/dist/index223.js +50 -68
  115. package/dist/index224.js +17 -0
  116. package/dist/index225.js +3 -13
  117. package/dist/index226.js +12 -117
  118. package/dist/index227.js +18 -0
  119. package/dist/index229.js +2 -4
  120. package/dist/index23.js +153 -153
  121. package/dist/index230.js +6 -2
  122. package/dist/index231.js +15 -50
  123. package/dist/index232.js +8 -15
  124. package/dist/index233.js +3 -106
  125. package/dist/index234.js +11 -0
  126. package/dist/index235.js +117 -96
  127. package/dist/index237.js +23 -4
  128. package/dist/index238.js +4 -197
  129. package/dist/index239.js +25 -0
  130. package/dist/index240.js +5 -86
  131. package/dist/index241.js +7 -0
  132. package/dist/index242.js +5 -29
  133. package/dist/index243.js +5 -15
  134. package/dist/index244.js +5 -3
  135. package/dist/index245.js +5 -12
  136. package/dist/index246.js +5 -16
  137. package/dist/index247.js +2 -183
  138. package/dist/index248.js +8 -3
  139. package/dist/index249.js +250 -2
  140. package/dist/index25.js +4 -4
  141. package/dist/index250.js +52 -2
  142. package/dist/index251.js +44 -7
  143. package/dist/index252.js +5 -7
  144. package/dist/index253.js +60 -5
  145. package/dist/index254.js +106 -5
  146. package/dist/index256.js +95 -245
  147. package/dist/index258.js +2 -44
  148. package/dist/index259.js +4 -5
  149. package/dist/index260.js +5 -60
  150. package/dist/index261.js +2 -7
  151. package/dist/index262.js +18 -16
  152. package/dist/index263.js +2 -12
  153. package/dist/index264.js +7 -6
  154. package/dist/index265.js +7 -229
  155. package/dist/index266.js +34 -10
  156. package/dist/index267.js +2 -3
  157. package/dist/index268.js +18 -6
  158. package/dist/index269.js +12 -16
  159. package/dist/index27.js +2 -2
  160. package/dist/index270.js +229 -3
  161. package/dist/index271.js +3 -9
  162. package/dist/index272.js +4 -23
  163. package/dist/index273.js +197 -9
  164. package/dist/index275.js +183 -8
  165. package/dist/index276.js +7 -67
  166. package/dist/index277.js +9 -5
  167. package/dist/index278.js +9 -5
  168. package/dist/index279.js +8 -8
  169. package/dist/index280.js +33 -2
  170. package/dist/index281.js +28 -2
  171. package/dist/index283.js +4 -0
  172. package/dist/index284.js +5 -7
  173. package/dist/index285.js +67 -3
  174. package/dist/index286.js +7 -4
  175. package/dist/index287.js +11 -7
  176. package/dist/index288.js +5 -11
  177. package/dist/index289.js +1 -1
  178. package/dist/index29.js +6 -6
  179. package/dist/index290.js +17 -3
  180. package/dist/index291.js +25 -14
  181. package/dist/index292.js +718 -3
  182. package/dist/index293.js +366 -3
  183. package/dist/index294.js +58 -3
  184. package/dist/index295.js +3 -28
  185. package/dist/index298.js +12 -121
  186. package/dist/index299.js +2 -2
  187. package/dist/index300.js +11 -10
  188. package/dist/index302.js +15 -12
  189. package/dist/index304.js +10 -11
  190. package/dist/index306.js +17 -17
  191. package/dist/index308.js +27 -5
  192. package/dist/index309.js +2 -6
  193. package/dist/index31.js +1 -1
  194. package/dist/index310.js +2 -19
  195. package/dist/index311.js +2 -2
  196. package/dist/index312.js +2 -27
  197. package/dist/index313.js +2 -2
  198. package/dist/index314.js +21 -1
  199. package/dist/index316.js +3 -2
  200. package/dist/index317.js +3 -2
  201. package/dist/index318.js +6 -22
  202. package/dist/index320.js +125 -2
  203. package/dist/index321.js +2 -718
  204. package/dist/index322.js +2 -366
  205. package/dist/index324.js +3 -5
  206. package/dist/index325.js +5 -2
  207. package/dist/index326.js +7 -32
  208. package/dist/index327.js +2 -28
  209. package/dist/index328.js +7 -0
  210. package/dist/index329.js +3 -8
  211. package/dist/index33.js +8 -8
  212. package/dist/index330.js +3 -5
  213. package/dist/index331.js +92 -7
  214. package/dist/index332.js +35 -8
  215. package/dist/index333.js +6 -129
  216. package/dist/index334.js +113 -353
  217. package/dist/index335.js +367 -56
  218. package/dist/index336.js +33 -33
  219. package/dist/index337.js +57 -227
  220. package/dist/index338.js +2 -7
  221. package/dist/index339.js +6 -6
  222. package/dist/index340.js +6 -18
  223. package/dist/index341.js +17 -45
  224. package/dist/index342.js +46 -92
  225. package/dist/index343.js +10 -0
  226. package/dist/index344.js +6 -3
  227. package/dist/index345.js +7 -128
  228. package/dist/index346.js +223 -431
  229. package/dist/index347.js +123 -121
  230. package/dist/index348.js +421 -473
  231. package/dist/index349.js +125 -48
  232. package/dist/index35.js +4 -4
  233. package/dist/index350.js +490 -0
  234. package/dist/index351.js +52 -0
  235. package/dist/index37.js +263 -271
  236. package/dist/index39.js +7 -7
  237. package/dist/index41.js +1 -1
  238. package/dist/index43.js +8 -8
  239. package/dist/index45.js +15 -15
  240. package/dist/index47.js +3 -3
  241. package/dist/index49.js +4 -4
  242. package/dist/index53.js +1 -1
  243. package/dist/index55.js +1 -1
  244. package/dist/index57.js +1 -1
  245. package/dist/index6.js +1 -1
  246. package/dist/index61.js +3 -3
  247. package/dist/index67.js +1 -1
  248. package/dist/index7.js +2 -2
  249. package/dist/index79.js +206 -182
  250. package/dist/index81.js +2 -2
  251. package/dist/index83.js +2 -2
  252. package/dist/index87.js +1 -1
  253. package/dist/index9.js +1 -1
  254. package/dist/index90.js +4 -4
  255. package/dist/index92.js +3 -3
  256. package/dist/index94.js +121 -117
  257. package/dist/index96.js +2 -2
  258. package/dist/utilities/functions/extractDomContainer.d.ts +1 -0
  259. package/dist/utilities/functions/parseWidthString.d.ts +6 -0
  260. package/package.json +2 -2
  261. package/dist/index136.js +0 -13
  262. package/dist/index210.js +0 -15
  263. package/dist/index220.js +0 -4
  264. package/dist/index255.js +0 -10
  265. package/dist/index257.js +0 -54
  266. package/dist/index274.js +0 -11
  267. package/dist/index315.js +0 -4
  268. package/dist/index323.js +0 -60
  269. /package/dist/{index282.js → index319.js} +0 -0
package/dist/index137.js CHANGED
@@ -1,379 +1,15 @@
1
- import { toArray as C, notNullish as Z, noop as F, tryOnScopeDispose as D, useThrottleFn as q, tryOnMounted as U, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as $, injectLocal as oe, isObject as le } from "./index206.js";
2
- import { bypassFilter as Ee, createFilterWrapper as xe, debounceFilter as We, debouncedWatch as Te, getLifeCycleTarget as Me, throttleFilter as Ie, debouncedWatch as Ae, watchWithFilter as Le } from "./index206.js";
3
- import { shallowRef as E, getCurrentInstance as ue, onMounted as re, computed as w, toValue as g, watch as P, reactive as G, ref as J, watchEffect as se, hasInjectionContext as ie, unref as ae } from "vue";
4
- const L = ee ? window : void 0;
5
- function I(n) {
6
- var t;
7
- const u = g(n);
8
- return (t = u == null ? void 0 : u.$el) != null ? t : u;
9
- }
10
- function H(...n) {
11
- const t = [], u = () => {
12
- t.forEach((e) => e()), t.length = 0;
13
- }, l = (e, s, o, a) => (e.addEventListener(s, o, a), () => e.removeEventListener(s, o, a)), r = w(() => {
14
- const e = C(g(n[0])).filter((s) => s != null);
15
- return e.every((s) => typeof s != "string") ? e : void 0;
16
- }), p = te(
17
- () => {
18
- var e, s;
19
- return [
20
- (s = (e = r.value) == null ? void 0 : e.map((o) => I(o))) != null ? s : [L].filter((o) => o != null),
21
- C(g(r.value ? n[1] : n[0])),
22
- C(ae(r.value ? n[2] : n[1])),
23
- // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
24
- g(r.value ? n[3] : n[2])
25
- ];
26
- },
27
- ([e, s, o, a]) => {
28
- if (u(), !(e != null && e.length) || !(s != null && s.length) || !(o != null && o.length))
29
- return;
30
- const c = le(a) ? { ...a } : a;
31
- t.push(
32
- ...e.flatMap(
33
- (d) => s.flatMap(
34
- (m) => o.map((h) => l(d, m, h, c))
35
- )
36
- )
37
- );
38
- },
39
- { flush: "post" }
40
- ), f = () => {
41
- p(), u();
42
- };
43
- return D(u), f;
44
- }
45
- function ce() {
46
- const n = E(!1), t = ue();
47
- return t && re(() => {
48
- n.value = !0;
49
- }, t), n;
50
- }
51
- function j(n) {
52
- const t = ce();
53
- return w(() => (t.value, !!n()));
54
- }
55
- const ve = Symbol("vueuse-ssr-width");
56
- function fe() {
57
- const n = ie() ? oe(ve, null) : null;
58
- return typeof n == "number" ? n : void 0;
59
- }
60
- function de(n, t = {}) {
61
- const { window: u = L, ssrWidth: l = fe() } = t, r = j(() => u && "matchMedia" in u && typeof u.matchMedia == "function"), p = E(typeof l == "number"), f = E(), e = E(!1), s = (o) => {
62
- e.value = o.matches;
63
- };
64
- return se(() => {
65
- if (p.value) {
66
- p.value = !r.value;
67
- const o = g(n).split(",");
68
- e.value = o.some((a) => {
69
- const c = a.includes("not all"), d = a.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), m = a.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
70
- let h = !!(d || m);
71
- return d && h && (h = l >= $(d[1])), m && h && (h = l <= $(m[1])), c ? !h : h;
72
- });
73
- return;
74
- }
75
- r.value && (f.value = u.matchMedia(g(n)), e.value = f.value.matches);
76
- }), H(f, "change", s, { passive: !0 }), w(() => e.value);
77
- }
78
- function me(n, t, u = {}) {
79
- const { window: l = L, ...r } = u;
80
- let p;
81
- const f = j(() => l && "ResizeObserver" in l), e = () => {
82
- p && (p.disconnect(), p = void 0);
83
- }, s = w(() => {
84
- const c = g(n);
85
- return Array.isArray(c) ? c.map((d) => I(d)) : [I(c)];
86
- }), o = P(
87
- s,
88
- (c) => {
89
- if (e(), f.value && l) {
90
- p = new ResizeObserver(t);
91
- for (const d of c)
92
- d && p.observe(d, r);
93
- }
94
- },
95
- { immediate: !0, flush: "post" }
96
- ), a = () => {
97
- e(), o();
98
- };
99
- return D(a), {
100
- isSupported: f,
101
- stop: a
102
- };
103
- }
104
- function be(n, t, u = {}) {
105
- const {
106
- root: l,
107
- rootMargin: r = "0px",
108
- threshold: p = 0,
109
- window: f = L,
110
- immediate: e = !0
111
- } = u, s = j(() => f && "IntersectionObserver" in f), o = w(() => {
112
- const h = g(n);
113
- return C(h).map(I).filter(Z);
114
- });
115
- let a = F;
116
- const c = E(e), d = s.value ? P(
117
- () => [o.value, I(l), c.value],
118
- ([h, A]) => {
119
- if (a(), !c.value || !h.length)
120
- return;
121
- const x = new IntersectionObserver(
122
- t,
123
- {
124
- root: I(A),
125
- rootMargin: r,
126
- threshold: p
127
- }
128
- );
129
- h.forEach((b) => b && x.observe(b)), a = () => {
130
- x.disconnect(), a = F;
131
- };
132
- },
133
- { immediate: e, flush: "post" }
134
- ) : F, m = () => {
135
- a(), d(), c.value = !1;
136
- };
137
- return D(m), {
138
- isSupported: s,
139
- isActive: c,
140
- pause() {
141
- a(), c.value = !1;
142
- },
143
- resume() {
144
- c.value = !0;
145
- },
146
- stop: m
147
- };
148
- }
149
- const K = 1;
150
- function ge(n, t = {}) {
151
- const {
152
- throttle: u = 0,
153
- idle: l = 200,
154
- onStop: r = F,
155
- onScroll: p = F,
156
- offset: f = {
157
- left: 0,
158
- right: 0,
159
- top: 0,
160
- bottom: 0
161
- },
162
- eventListenerOptions: e = {
163
- capture: !1,
164
- passive: !0
165
- },
166
- behavior: s = "auto",
167
- window: o = L,
168
- onError: a = (i) => {
169
- console.error(i);
170
- }
171
- } = t, c = E(0), d = E(0), m = w({
172
- get() {
173
- return c.value;
174
- },
175
- set(i) {
176
- A(i, void 0);
177
- }
178
- }), h = w({
179
- get() {
180
- return d.value;
181
- },
182
- set(i) {
183
- A(void 0, i);
184
- }
185
- });
186
- function A(i, T) {
187
- var y, _, V, z;
188
- if (!o)
189
- return;
190
- const O = g(n);
191
- if (!O)
192
- return;
193
- (V = O instanceof Document ? o.document.body : O) == null || V.scrollTo({
194
- top: (y = g(T)) != null ? y : h.value,
195
- left: (_ = g(i)) != null ? _ : m.value,
196
- behavior: g(s)
197
- });
198
- const W = ((z = O == null ? void 0 : O.document) == null ? void 0 : z.documentElement) || (O == null ? void 0 : O.documentElement) || O;
199
- m != null && (c.value = W.scrollLeft), h != null && (d.value = W.scrollTop);
200
- }
201
- const x = E(!1), b = G({
202
- left: !0,
203
- right: !1,
204
- top: !0,
205
- bottom: !1
206
- }), S = G({
207
- left: !1,
208
- right: !1,
209
- top: !1,
210
- bottom: !1
211
- }), N = (i) => {
212
- x.value && (x.value = !1, S.left = !1, S.right = !1, S.top = !1, S.bottom = !1, r(i));
213
- }, R = ne(N, u + l), v = (i) => {
214
- var T;
215
- if (!o)
216
- return;
217
- const y = ((T = i == null ? void 0 : i.document) == null ? void 0 : T.documentElement) || (i == null ? void 0 : i.documentElement) || I(i), { display: _, flexDirection: V, direction: z } = getComputedStyle(y), O = z === "rtl" ? -1 : 1, W = y.scrollLeft;
218
- S.left = W < c.value, S.right = W > c.value;
219
- const Y = Math.abs(W * O) <= (f.left || 0), k = Math.abs(W * O) + y.clientWidth >= y.scrollWidth - (f.right || 0) - K;
220
- _ === "flex" && V === "row-reverse" ? (b.left = k, b.right = Y) : (b.left = Y, b.right = k), c.value = W;
221
- let M = y.scrollTop;
222
- i === o.document && !M && (M = o.document.body.scrollTop), S.top = M < d.value, S.bottom = M > d.value;
223
- const Q = Math.abs(M) <= (f.top || 0), X = Math.abs(M) + y.clientHeight >= y.scrollHeight - (f.bottom || 0) - K;
224
- _ === "flex" && V === "column-reverse" ? (b.top = X, b.bottom = Q) : (b.top = Q, b.bottom = X), d.value = M;
225
- }, B = (i) => {
226
- var T;
227
- if (!o)
228
- return;
229
- const y = (T = i.target.documentElement) != null ? T : i.target;
230
- v(y), x.value = !0, R(i), p(i);
231
- };
232
- return H(
233
- n,
234
- "scroll",
235
- u ? q(B, u, !0, !1) : B,
236
- e
237
- ), U(() => {
238
- try {
239
- const i = g(n);
240
- if (!i)
241
- return;
242
- v(i);
243
- } catch (i) {
244
- a(i);
245
- }
246
- }), H(
247
- n,
248
- "scrollend",
249
- N,
250
- e
251
- ), {
252
- x: m,
253
- y: h,
254
- isScrolling: x,
255
- arrivedState: b,
256
- directions: S,
257
- measure() {
258
- const i = g(n);
259
- o && i && v(i);
260
- }
261
- };
262
- }
263
- function we(n, t) {
264
- const u = J(n), l = w(() => Array.isArray(u.value) ? u.value : Object.keys(u.value)), r = J(l.value.indexOf(t ?? l.value[0])), p = w(() => a(r.value)), f = w(() => r.value === 0), e = w(() => r.value === l.value.length - 1), s = w(() => l.value[r.value + 1]), o = w(() => l.value[r.value - 1]);
265
- function a(v) {
266
- return Array.isArray(u.value) ? u.value[v] : u.value[l.value[v]];
267
- }
268
- function c(v) {
269
- if (l.value.includes(v))
270
- return a(l.value.indexOf(v));
271
- }
272
- function d(v) {
273
- l.value.includes(v) && (r.value = l.value.indexOf(v));
274
- }
275
- function m() {
276
- e.value || r.value++;
277
- }
278
- function h() {
279
- f.value || r.value--;
280
- }
281
- function A(v) {
282
- R(v) && d(v);
283
- }
284
- function x(v) {
285
- return l.value.indexOf(v) === r.value + 1;
286
- }
287
- function b(v) {
288
- return l.value.indexOf(v) === r.value - 1;
289
- }
290
- function S(v) {
291
- return l.value.indexOf(v) === r.value;
292
- }
293
- function N(v) {
294
- return r.value < l.value.indexOf(v);
295
- }
296
- function R(v) {
297
- return r.value > l.value.indexOf(v);
298
- }
299
- return {
300
- steps: u,
301
- stepNames: l,
302
- index: r,
303
- current: p,
304
- next: s,
305
- previous: o,
306
- isFirst: f,
307
- isLast: e,
308
- at: a,
309
- get: c,
310
- goTo: d,
311
- goToNext: m,
312
- goToPrevious: h,
313
- goBackTo: A,
314
- isNext: x,
315
- isPrevious: b,
316
- isCurrent: S,
317
- isBefore: N,
318
- isAfter: R
319
- };
320
- }
321
- function ye(n = {}) {
322
- const {
323
- window: t = L,
324
- initialWidth: u = Number.POSITIVE_INFINITY,
325
- initialHeight: l = Number.POSITIVE_INFINITY,
326
- listenOrientation: r = !0,
327
- includeScrollbar: p = !0,
328
- type: f = "inner"
329
- } = n, e = E(u), s = E(l), o = () => {
330
- if (t)
331
- if (f === "outer")
332
- e.value = t.outerWidth, s.value = t.outerHeight;
333
- else if (f === "visual" && t.visualViewport) {
334
- const { width: c, height: d, scale: m } = t.visualViewport;
335
- e.value = Math.round(c * m), s.value = Math.round(d * m);
336
- } else p ? (e.value = t.innerWidth, s.value = t.innerHeight) : (e.value = t.document.documentElement.clientWidth, s.value = t.document.documentElement.clientHeight);
337
- };
338
- o(), U(o);
339
- const a = { passive: !0 };
340
- if (H("resize", o, a), t && f === "visual" && t.visualViewport && H(t.visualViewport, "resize", o, a), r) {
341
- const c = de("(orientation: portrait)");
342
- P(c, () => o());
343
- }
344
- return { width: e, height: s };
345
- }
1
+ import { createElementBlock as t, openBlock as n, renderSlot as e } from "vue";
2
+ /* empty css */
3
+ import r from "./index211.js";
4
+ const s = {}, c = { class: "bb-common-input-outer-container" };
5
+ function p(o, a) {
6
+ return n(), t("span", c, [
7
+ e(o.$slots, "prepend-outer"),
8
+ e(o.$slots, "default"),
9
+ e(o.$slots, "append-outer")
10
+ ]);
11
+ }
12
+ const i = /* @__PURE__ */ r(s, [["render", p]]);
346
13
  export {
347
- Ee as bypassFilter,
348
- xe as createFilterWrapper,
349
- We as debounceFilter,
350
- Te as debouncedWatch,
351
- L as defaultWindow,
352
- Me as getLifeCycleTarget,
353
- oe as injectLocal,
354
- ee as isClient,
355
- le as isObject,
356
- F as noop,
357
- Z as notNullish,
358
- $ as pxValue,
359
- Ie as throttleFilter,
360
- C as toArray,
361
- U as tryOnMounted,
362
- D as tryOnScopeDispose,
363
- I as unrefElement,
364
- ne as useDebounceFn,
365
- H as useEventListener,
366
- be as useIntersectionObserver,
367
- de as useMediaQuery,
368
- ce as useMounted,
369
- me as useResizeObserver,
370
- fe as useSSRWidth,
371
- ge as useScroll,
372
- we as useStepper,
373
- j as useSupported,
374
- q as useThrottleFn,
375
- ye as useWindowSize,
376
- Ae as watchDebounced,
377
- te as watchImmediate,
378
- Le as watchWithFilter
14
+ i as default
379
15
  };
package/dist/index138.js CHANGED
@@ -1,11 +1,4 @@
1
- import { urlAlphabet as l } from "./index207.js";
2
- let o = (t = 21) => {
3
- let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
- for (; t--; )
5
- e += l[r[t] & 63];
6
- return e;
7
- };
1
+ const o = (e) => new Promise((t) => setTimeout(t, e));
8
2
  export {
9
- o as nanoid,
10
- l as urlAlphabet
3
+ o as wait
11
4
  };
package/dist/index139.js CHANGED
@@ -1,27 +1,13 @@
1
- import { isArray as p } from "./index278.js";
2
- import { isPlainObject as i } from "./index279.js";
3
- function f(e, n, u, l, r) {
4
- const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
5
- o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
6
- value: u,
7
- enumerable: !1,
8
- writable: !0,
9
- configurable: !0
10
- });
11
- }
12
- function b(e, n = {}) {
13
- if (p(e))
14
- return e.map((r) => b(r, n));
15
- if (!i(e))
16
- return e;
17
- const u = Object.getOwnPropertyNames(e), l = Object.getOwnPropertySymbols(e);
18
- return [...u, ...l].reduce((r, o) => {
19
- if (o === "__proto__" || p(n.props) && !n.props.includes(o))
20
- return r;
21
- const m = e[o], s = b(m, n);
22
- return f(r, o, s, e, n.nonenumerable), r;
23
- }, {});
24
- }
1
+ import { clamp as s } from "./index213.js";
2
+ const o = (n, e, r = !1) => {
3
+ const t = n * 100 / e;
4
+ return r ? s(t, 0, 100) : t;
5
+ }, g = (n, e, r, t = !1) => o(n - e, r - e, t), l = (n, e, r) => {
6
+ const t = r - e, c = n / 100 * t;
7
+ return e + c;
8
+ };
25
9
  export {
26
- b as copy
10
+ o as getAsPercentage,
11
+ g as getAsPercentageBetween,
12
+ l as getValueFromPercentageInInterval
27
13
  };