bitboss-ui 2.1.30 → 2.1.32

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 (258) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +4 -24
  2. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -24
  3. package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -24
  4. package/dist/components/CommonInputInnerContainer.vue.d.ts +3 -3
  5. package/dist/index.d.ts +3 -0
  6. package/dist/index.js +143 -138
  7. package/dist/index106.js +9 -9
  8. package/dist/index11.js +2 -2
  9. package/dist/index111.js +1 -1
  10. package/dist/index113.js +1 -1
  11. package/dist/index119.js +4 -4
  12. package/dist/index12.js +6 -6
  13. package/dist/index121.js +12 -12
  14. package/dist/index129.js +1 -1
  15. package/dist/index13.js +1 -1
  16. package/dist/index131.js +4 -4
  17. package/dist/index133.js +1 -1
  18. package/dist/index135.js +69 -2
  19. package/dist/index137.js +13 -377
  20. package/dist/index138.js +2 -9
  21. package/dist/index139.js +11 -25
  22. package/dist/index140.js +377 -2
  23. package/dist/index141.js +9 -5
  24. package/dist/index142.js +23 -7
  25. package/dist/index143.js +2 -6
  26. package/dist/index144.js +5 -3
  27. package/dist/index145.js +9 -3
  28. package/dist/index146.js +6 -3
  29. package/dist/index147.js +1 -1
  30. package/dist/index148.js +1 -1
  31. package/dist/index149.js +1 -1
  32. package/dist/index15.js +9 -9
  33. package/dist/index150.js +1 -1
  34. package/dist/index151.js +1 -1
  35. package/dist/index152.js +1 -1
  36. package/dist/index153.js +1 -1
  37. package/dist/index154.js +1 -1
  38. package/dist/index155.js +1 -1
  39. package/dist/index156.js +1 -1
  40. package/dist/index157.js +1 -1
  41. package/dist/index158.js +1 -1
  42. package/dist/index159.js +1 -1
  43. package/dist/index160.js +1 -1
  44. package/dist/index161.js +1 -1
  45. package/dist/index162.js +1 -1
  46. package/dist/index163.js +1 -1
  47. package/dist/index164.js +1 -1
  48. package/dist/index165.js +1 -1
  49. package/dist/index166.js +1 -1
  50. package/dist/index167.js +1 -1
  51. package/dist/index168.js +1 -1
  52. package/dist/index169.js +1 -1
  53. package/dist/index17.js +3 -3
  54. package/dist/index170.js +1 -1
  55. package/dist/index171.js +1 -1
  56. package/dist/index172.js +1 -1
  57. package/dist/index173.js +1 -1
  58. package/dist/index174.js +1 -1
  59. package/dist/index175.js +1 -1
  60. package/dist/index176.js +1 -1
  61. package/dist/index177.js +1 -1
  62. package/dist/index178.js +1 -1
  63. package/dist/index179.js +1 -1
  64. package/dist/index180.js +1 -1
  65. package/dist/index181.js +3 -2
  66. package/dist/index182.js +1 -1
  67. package/dist/index183.js +1 -1
  68. package/dist/index184.js +2 -3
  69. package/dist/index185.js +1 -1
  70. package/dist/index186.js +1 -1
  71. package/dist/index187.js +1 -1
  72. package/dist/index188.js +2 -2
  73. package/dist/index189.js +2 -2
  74. package/dist/index19.js +8 -8
  75. package/dist/index190.js +2 -2
  76. package/dist/index191.js +3 -2
  77. package/dist/index192.js +1 -1
  78. package/dist/index193.js +1 -1
  79. package/dist/index194.js +2 -3
  80. package/dist/index195.js +1 -1
  81. package/dist/index196.js +1 -1
  82. package/dist/index197.js +1 -1
  83. package/dist/index198.js +1 -1
  84. package/dist/index199.js +1 -1
  85. package/dist/index200.js +1 -1
  86. package/dist/index201.js +1 -1
  87. package/dist/index202.js +1 -1
  88. package/dist/index203.js +1 -1
  89. package/dist/index204.js +1 -1
  90. package/dist/index205.js +1 -1
  91. package/dist/index206.js +3 -138
  92. package/dist/index207.js +3 -2
  93. package/dist/index208.js +3 -2
  94. package/dist/index209.js +3 -13
  95. package/dist/index21.js +16 -16
  96. package/dist/index211.js +7 -5
  97. package/dist/index212.js +138 -5
  98. package/dist/index213.js +2 -5
  99. package/dist/index214.js +2 -5
  100. package/dist/index215.js +4 -5
  101. package/dist/index216.js +13 -2
  102. package/dist/index217.js +11 -2
  103. package/dist/index218.js +20 -2
  104. package/dist/index219.js +196 -10
  105. package/dist/index221.js +113 -65
  106. package/dist/index223.js +34 -13
  107. package/dist/index224.js +83 -114
  108. package/dist/index226.js +28 -33
  109. package/dist/index227.js +17 -4
  110. package/dist/index228.js +49 -195
  111. package/dist/index229.js +17 -0
  112. package/dist/index23.js +15 -15
  113. package/dist/index230.js +3 -2
  114. package/dist/index231.js +12 -4
  115. package/dist/index232.js +16 -2
  116. package/dist/index233.js +2 -13
  117. package/dist/index234.js +2 -3
  118. package/dist/index235.js +2 -18
  119. package/dist/index236.js +5 -12
  120. package/dist/index237.js +5 -51
  121. package/dist/index238.js +5 -15
  122. package/dist/index239.js +5 -12
  123. package/dist/index240.js +5 -17
  124. package/dist/index241.js +5 -29
  125. package/dist/index242.js +5 -16
  126. package/dist/index243.js +2 -6
  127. package/dist/index244.js +6 -104
  128. package/dist/{index254.js → index245.js} +7 -7
  129. package/dist/index246.js +47 -95
  130. package/dist/index248.js +5 -229
  131. package/dist/index249.js +60 -6
  132. package/dist/index25.js +4 -4
  133. package/dist/index250.js +4 -2
  134. package/dist/index251.js +3 -5
  135. package/dist/index252.js +13 -5
  136. package/dist/index253.js +104 -6
  137. package/dist/index255.js +95 -47
  138. package/dist/index257.js +2 -5
  139. package/dist/index258.js +182 -59
  140. package/dist/index259.js +7 -86
  141. package/dist/index260.js +4 -0
  142. package/dist/index261.js +2 -183
  143. package/dist/index262.js +7 -2
  144. package/dist/index263.js +7 -7
  145. package/dist/index264.js +18 -7
  146. package/dist/index265.js +12 -3
  147. package/dist/index266.js +6 -6
  148. package/dist/index267.js +228 -15
  149. package/dist/index268.js +5 -9
  150. package/dist/index269.js +10 -23
  151. package/dist/index27.js +2 -2
  152. package/dist/index270.js +2 -9
  153. package/dist/index271.js +8 -2
  154. package/dist/index272.js +23 -3
  155. package/dist/index273.js +3 -9
  156. package/dist/index274.js +9 -8
  157. package/dist/index275.js +6 -9
  158. package/dist/index276.js +16 -5
  159. package/dist/index277.js +7 -65
  160. package/dist/index278.js +8 -2
  161. package/dist/index279.js +32 -4
  162. package/dist/index280.js +28 -8
  163. package/dist/index282.js +67 -11
  164. package/dist/index283.js +4 -279
  165. package/dist/index284.js +8 -2
  166. package/dist/index285.js +2 -125
  167. package/dist/index286.js +5 -2
  168. package/dist/index287.js +3 -15
  169. package/dist/index288.js +3 -2
  170. package/dist/index289.js +7 -16
  171. package/dist/index29.js +6 -6
  172. package/dist/index290.js +11 -2
  173. package/dist/index291.js +2 -16
  174. package/dist/index292.js +4 -2
  175. package/dist/index293.js +3 -19
  176. package/dist/index294.js +17 -2
  177. package/dist/index295.js +28 -3
  178. package/dist/index296.js +6 -0
  179. package/dist/index297.js +4 -6
  180. package/dist/index298.js +280 -3
  181. package/dist/index299.js +2 -2
  182. package/dist/index300.js +16 -3
  183. package/dist/index301.js +2 -6
  184. package/dist/index302.js +15 -3
  185. package/dist/index303.js +2 -4
  186. package/dist/index304.js +17 -17
  187. package/dist/index306.js +13 -25
  188. package/dist/index308.js +19 -2
  189. package/dist/index309.js +2 -2
  190. package/dist/index31.js +2 -2
  191. package/dist/index310.js +27 -2
  192. package/dist/index311.js +2 -2
  193. package/dist/index312.js +2 -28
  194. package/dist/index313.js +1 -21
  195. package/dist/index314.js +4 -0
  196. package/dist/index315.js +2 -3
  197. package/dist/index316.js +22 -3
  198. package/dist/index318.js +3 -17
  199. package/dist/index319.js +1 -1
  200. package/dist/index320.js +6 -5
  201. package/dist/index321.js +2 -718
  202. package/dist/index322.js +125 -366
  203. package/dist/index323.js +2 -58
  204. package/dist/index324.js +2 -2
  205. package/dist/index325.js +718 -2
  206. package/dist/index326.js +365 -7
  207. package/dist/index327.js +51 -122
  208. package/dist/index329.js +3 -8
  209. package/dist/index33.js +8 -8
  210. package/dist/index330.js +2 -6
  211. package/dist/index331.js +8 -8
  212. package/dist/index332.js +5 -32
  213. package/dist/index333.js +8 -28
  214. package/dist/index334.js +60 -0
  215. package/dist/index335.js +58 -7
  216. package/dist/index336.js +7 -18
  217. package/dist/index337.js +128 -6
  218. package/dist/index338.js +366 -44
  219. package/dist/index339.js +7 -58
  220. package/dist/index340.js +18 -57
  221. package/dist/index341.js +1 -1
  222. package/dist/index342.js +6 -92
  223. package/dist/index343.js +44 -126
  224. package/dist/index344.js +95 -0
  225. package/dist/index345.js +129 -3
  226. package/dist/index35.js +5 -5
  227. package/dist/index37.js +38 -38
  228. package/dist/index39.js +8 -8
  229. package/dist/index41.js +2 -2
  230. package/dist/index43.js +8 -8
  231. package/dist/index45.js +15 -15
  232. package/dist/index47.js +3 -3
  233. package/dist/index49.js +4 -4
  234. package/dist/index53.js +1 -1
  235. package/dist/index55.js +2 -2
  236. package/dist/index57.js +2 -2
  237. package/dist/index6.js +1 -1
  238. package/dist/index61.js +3 -3
  239. package/dist/index67.js +1 -1
  240. package/dist/index7.js +2 -2
  241. package/dist/index79.js +5 -5
  242. package/dist/index81.js +1 -1
  243. package/dist/index83.js +2 -2
  244. package/dist/index85.js +1 -1
  245. package/dist/index87.js +1 -1
  246. package/dist/index9.js +1 -1
  247. package/dist/index90.js +4 -4
  248. package/dist/index92.js +3 -3
  249. package/dist/index94.js +4 -4
  250. package/dist/index96.js +2 -2
  251. package/package.json +1 -1
  252. package/dist/index136.js +0 -13
  253. package/dist/index210.js +0 -7
  254. package/dist/index220.js +0 -22
  255. package/dist/index281.js +0 -9
  256. package/dist/index317.js +0 -4
  257. package/dist/index328.js +0 -371
  258. /package/dist/{index256.js → index247.js} +0 -0
package/dist/index343.js CHANGED
@@ -1,131 +1,49 @@
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;
1
+ import { elementScroll as f, observeElementOffset as s, observeElementRect as d, Virtualizer as p } from "./index348.js";
2
+ import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index348.js";
3
+ import { computed as g, unref as l, shallowRef as E, watch as o, triggerRef as i, onScopeDispose as v } from "vue";
4
+ function w(e) {
5
+ const t = new p(l(e)), a = E(t), u = t._didMount();
6
+ return o(
7
+ () => l(e).getScrollElement(),
8
+ (r) => {
9
+ r && t._willUpdate();
10
+ },
11
+ {
12
+ immediate: !0
45
13
  }
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)
14
+ ), o(
15
+ () => l(e),
16
+ (r) => {
17
+ t.setOptions({
18
+ ...r,
19
+ onChange: (c, m) => {
20
+ var n;
21
+ i(a), (n = r.onChange) == null || n.call(r, c, m);
22
+ }
23
+ }), t._willUpdate(), i(a);
24
+ },
25
+ {
26
+ immediate: !0
27
+ }
28
+ ), v(u), a;
29
+ }
30
+ function z(e) {
31
+ return w(
32
+ g(() => ({
33
+ observeElementRect: d,
34
+ observeElementOffset: s,
35
+ scrollToFn: f,
36
+ ...l(e)
37
+ }))
90
38
  );
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
39
  }
110
40
  export {
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
41
+ p as Virtualizer,
42
+ S as defaultKeyExtractor,
43
+ V as defaultRangeExtractor,
44
+ f as elementScroll,
45
+ b as measureElement,
46
+ s as observeElementOffset,
47
+ d as observeElementRect,
48
+ z as useVirtualizer
131
49
  };
@@ -0,0 +1,95 @@
1
+ import { commonjsGlobal as y } from "./index320.js";
2
+ var p, _;
3
+ function Z() {
4
+ if (_) return p;
5
+ _ = 1;
6
+ var x = "Expected a function", I = NaN, W = "[object Symbol]", C = /^\s+|\s+$/g, M = /^[-+]0x[0-9a-f]+$/i, N = /^0b[01]+$/i, R = /^0o[0-7]+$/i, $ = parseInt, q = typeof y == "object" && y && y.Object === Object && y, A = typeof self == "object" && self && self.Object === Object && self, B = q || A || Function("return this")(), F = Object.prototype, G = F.toString, P = Math.max, D = Math.min, h = function() {
7
+ return B.Date.now();
8
+ };
9
+ function H(e, r, n) {
10
+ var f, a, g, c, i, u, s = 0, S = !1, d = !1, j = !0;
11
+ if (typeof e != "function")
12
+ throw new TypeError(x);
13
+ r = O(r) || 0, m(n) && (S = !!n.leading, d = "maxWait" in n, g = d ? P(O(n.maxWait) || 0, r) : g, j = "trailing" in n ? !!n.trailing : j);
14
+ function v(t) {
15
+ var o = f, l = a;
16
+ return f = a = void 0, s = t, c = e.apply(l, o), c;
17
+ }
18
+ function J(t) {
19
+ return s = t, i = setTimeout(b, r), S ? v(t) : c;
20
+ }
21
+ function K(t) {
22
+ var o = t - u, l = t - s, L = r - o;
23
+ return d ? D(L, g - l) : L;
24
+ }
25
+ function E(t) {
26
+ var o = t - u, l = t - s;
27
+ return u === void 0 || o >= r || o < 0 || d && l >= g;
28
+ }
29
+ function b() {
30
+ var t = h();
31
+ if (E(t))
32
+ return k(t);
33
+ i = setTimeout(b, K(t));
34
+ }
35
+ function k(t) {
36
+ return i = void 0, j && f ? v(t) : (f = a = void 0, c);
37
+ }
38
+ function Q() {
39
+ i !== void 0 && clearTimeout(i), s = 0, f = u = a = i = void 0;
40
+ }
41
+ function V() {
42
+ return i === void 0 ? c : k(h());
43
+ }
44
+ function T() {
45
+ var t = h(), o = E(t);
46
+ if (f = arguments, a = this, u = t, o) {
47
+ if (i === void 0)
48
+ return J(u);
49
+ if (d)
50
+ return i = setTimeout(b, r), v(u);
51
+ }
52
+ return i === void 0 && (i = setTimeout(b, r)), c;
53
+ }
54
+ return T.cancel = Q, T.flush = V, T;
55
+ }
56
+ function U(e, r, n) {
57
+ var f = !0, a = !0;
58
+ if (typeof e != "function")
59
+ throw new TypeError(x);
60
+ return m(n) && (f = "leading" in n ? !!n.leading : f, a = "trailing" in n ? !!n.trailing : a), H(e, r, {
61
+ leading: f,
62
+ maxWait: r,
63
+ trailing: a
64
+ });
65
+ }
66
+ function m(e) {
67
+ var r = typeof e;
68
+ return !!e && (r == "object" || r == "function");
69
+ }
70
+ function X(e) {
71
+ return !!e && typeof e == "object";
72
+ }
73
+ function z(e) {
74
+ return typeof e == "symbol" || X(e) && G.call(e) == W;
75
+ }
76
+ function O(e) {
77
+ if (typeof e == "number")
78
+ return e;
79
+ if (z(e))
80
+ return I;
81
+ if (m(e)) {
82
+ var r = typeof e.valueOf == "function" ? e.valueOf() : e;
83
+ e = m(r) ? r + "" : r;
84
+ }
85
+ if (typeof e != "string")
86
+ return e === 0 ? e : +e;
87
+ e = e.replace(C, "");
88
+ var n = N.test(e);
89
+ return n || R.test(e) ? $(e.slice(2), n ? 2 : 8) : M.test(e) ? I : +e;
90
+ }
91
+ return p = U, p;
92
+ }
93
+ export {
94
+ Z as __require
95
+ };
package/dist/index345.js CHANGED
@@ -1,5 +1,131 @@
1
- import o from "./index333.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 "./index232.js";
3
- import { identity as $ } from "./index216.js";
4
- import { isCssColor as k } from "./index230.js";
5
- import { isNotNil as q } from "./index140.js";
6
- import { useLocale as x } from "./index209.js";
2
+ import { booleanishToBoolean as T } from "./index233.js";
3
+ import { identity as $ } from "./index234.js";
4
+ import { isCssColor as k } from "./index235.js";
5
+ import { isNotNil as q } from "./index143.js";
6
+ import { useLocale as x } from "./index216.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 "./index234.js";
9
- import { isEmpty as nt } from "./index217.js";
10
- import { last as ut } from "./index218.js";
11
- import { matchAnyKey as ie } from "./index235.js";
12
- import { useArray as st } from "./index236.js";
13
- import { useBaseOptions as it } from "./index237.js";
14
- import { useCoherence as rt } from "./index238.js";
15
- import { useHashedWatcher as re } from "./index239.js";
16
- import { useIndexById as de } from "./index240.js";
17
- import { useMounted as dt, useIntersectionObserver as ct } from "./index137.js";
18
- import { useItemsGetter as pt } from "./index241.js";
19
- import { useLocale as mt } from "./index209.js";
20
- import { usePrefill as ft } from "./index242.js";
21
- import { wait as q } from "./index135.js";
22
- import { waitFor as vt } from "./index243.js";
23
- import { when as ht } from "./index231.js";
24
- import yt from "./index244.js";
8
+ import ot from "./index135.js";
25
9
  /* empty css */
26
- import bt from "./index246.js";
10
+ import nt from "./index137.js";
11
+ import { hash as ut } from "./index230.js";
12
+ import { isEmpty as st } from "./index257.js";
13
+ import { last as it } from "./index243.js";
14
+ import { matchAnyKey as ie } from "./index264.js";
15
+ import { useArray as rt } from "./index265.js";
16
+ import { useBaseOptions as dt } from "./index228.js";
17
+ import { useCoherence as ct } from "./index229.js";
18
+ import { useHashedWatcher as re } from "./index231.js";
19
+ import { useIndexById as de } from "./index227.js";
20
+ import { useMounted as pt, useIntersectionObserver as mt } from "./index140.js";
21
+ import { useItemsGetter as ft } from "./index226.js";
22
+ import { useLocale as vt } from "./index216.js";
23
+ import { usePrefill as ht } from "./index232.js";
24
+ import { wait as q } from "./index138.js";
25
+ import { waitFor as yt } from "./index266.js";
26
+ import { when as bt } from "./index250.js";
27
+ import gt from "./index253.js";
27
28
  /* empty css */
28
- import gt from "./index221.js";
29
+ import wt from "./index255.js";
29
30
  /* empty css */
30
- import wt from "./index223.js";
31
- import Bt from "./index224.js";
31
+ import Bt from "./index221.js";
32
32
  /* empty css */
33
- import Vt from "./index248.js";
33
+ import Vt from "./index267.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"
@@ -81,12 +81,12 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
81
81
  const t = ce, n = pe;
82
82
  if (t.multiple && !Array.isArray(t.modelValue))
83
83
  throw new Error('Multiple is set to "true" but modelValue is not an array.');
84
- const { t: me } = mt(), fe = dt(), x = p(null), $ = p(null), u = p(null), Q = p(null), X = p(null), r = h(
84
+ const { t: me } = vt(), fe = pt(), x = p(null), $ = p(null), u = p(null), Q = p(null), X = p(null), r = h(
85
85
  () => t.comma ? Q.value : X.value
86
86
  ), { isMobile: ve } = lt(), he = h(
87
87
  () => t.allowWriting === "not-mobile" && ve.value ? "none" : void 0
88
88
  ), Y = t.id || tt().id.value;
89
- ct(
89
+ mt(
90
90
  // @ts-expect-error - wrong inferred type
91
91
  $,
92
92
  ([{ intersectionRatio: e }]) => {
@@ -163,7 +163,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
163
163
  debouncedGetter: De,
164
164
  items: He,
165
165
  loading: Z
166
- } = pt({
166
+ } = ft({
167
167
  items: F(t, "items"),
168
168
  debounce: t.queryDebounceTime
169
169
  }), N = () => {
@@ -173,7 +173,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
173
173
  hasPrefilled: ee,
174
174
  isPrefilling: Le,
175
175
  prefill: Ee
176
- } = ft({
176
+ } = ht({
177
177
  onStart: t.prefill === !0,
178
178
  currentValue: t.modelValue,
179
179
  multiple: t.multiple,
@@ -185,14 +185,14 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
185
185
  add: le,
186
186
  remove: Fe,
187
187
  set: Te
188
- } = st(), i = h(() => {
188
+ } = rt(), i = h(() => {
189
189
  const e = Object.fromEntries(
190
190
  Object.entries(W.value).map(([l], o) => [l, o])
191
191
  );
192
192
  return k.value.filter((l) => l.selected).sort((l, o) => e[l.valueHash] - e[o.valueHash]);
193
193
  }), Ae = h(() => i.value.length ? "" : t.placeholder), { data: W, get: qe } = de({
194
194
  items: F(t, "modelValue")
195
- }), { options: k } = it({
195
+ }), { options: k } = dt({
196
196
  disabled: F(t, "disabled"),
197
197
  items: h(() => [...He.value, ...te.value]),
198
198
  itemText: t.itemText,
@@ -215,7 +215,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
215
215
  return;
216
216
  }
217
217
  let e;
218
- i.value && (e = ut(i.value)), a.value = (e == null ? void 0 : e.text) || "";
218
+ i.value && (e = it(i.value)), a.value = (e == null ? void 0 : e.text) || "";
219
219
  }, Me = async (e) => {
220
220
  t.multiple ? (n("update:modelValue", t.modelValue.concat(e.value)), t.stash && le(e.item), b()) : (t.stash && Te(e.item), n("update:modelValue", e.value), await J(), b()), _(), t.multiple || I();
221
221
  }, K = async (e) => {
@@ -228,10 +228,10 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
228
228
  }, { data: Pe } = de({
229
229
  items: k,
230
230
  key: "valueHash"
231
- }), { coherent: ae, status: _e } = rt({
231
+ }), { coherent: ae, status: _e } = ct({
232
232
  modelValue: F(t, "modelValue"),
233
233
  multiple: t.multiple,
234
- iteratee: (e) => !!Pe.value[ot(e)]
234
+ iteratee: (e) => !!Pe.value[ut(e)]
235
235
  });
236
236
  let V = 0;
237
237
  re(
@@ -254,7 +254,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
254
254
  const c = p(!1), U = p(!0), E = p(!1), C = async () => {
255
255
  E.value || (M(), window.addEventListener("resize", M, {
256
256
  passive: !0
257
- })), E.value = !0, await vt(() => !!u.value), U.value = !1, c.value = !0;
257
+ })), E.value = !0, await yt(() => !!u.value), U.value = !1, c.value = !0;
258
258
  }, I = async () => {
259
259
  var e;
260
260
  c.value = !1, U.value = !0, (e = r.value) == null || e.blur();
@@ -264,7 +264,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
264
264
  j.value = !1, n("inactive");
265
265
  }, Ke = (e) => {
266
266
  e.preventDefault(), n("click", e), !(t.disabled || t.readonly) && (_(), ze());
267
- }, Ue = ht(
267
+ }, Ue = bt(
268
268
  (e) => typeof e != "string",
269
269
  JSON.stringify
270
270
  ), je = h(() => [].concat(t.modelValue).map((e) => {
@@ -279,7 +279,7 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
279
279
  let e = null;
280
280
  t.multiple && (e = []), n("update:modelValue", e);
281
281
  };
282
- return (e, l) => (y(), T(wt, {
282
+ return (e, l) => (y(), T(nt, {
283
283
  ref_key: "outerContainer",
284
284
  ref: x,
285
285
  class: oe({
@@ -302,11 +302,11 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
302
302
  ]),
303
303
  default: s(() => [
304
304
  A("div", St, [
305
- R(gt, {
305
+ R(ot, {
306
306
  ref_key: "innerContainer",
307
307
  ref: $,
308
308
  "append:icon": t["append:icon"],
309
- clearable: e.clearable && !g(nt)(e.modelValue),
309
+ clearable: e.clearable && !g(st)(e.modelValue),
310
310
  "prepend:icon": t["prepend:icon"],
311
311
  "prevent-focus": !0,
312
312
  "onClick:clear": Re
@@ -328,13 +328,13 @@ const St = { class: "bb-base-select__inner-wrapper" }, kt = { class: "bb-base-se
328
328
  default: s(() => [
329
329
  A("span", kt, [
330
330
  e.multiple && i.value.length <= e.maxSelectedLabels ? (y(), O(ne, { key: 0 }, [
331
- e.comma ? (y(), T(bt, {
331
+ e.comma ? (y(), T(wt, {
332
332
  key: 0,
333
333
  ref_key: "commaBox",
334
334
  ref: Q,
335
335
  options: i.value,
336
336
  "onOption:unselected": K
337
- }, null, 8, ["options"])) : (y(), T(yt, {
337
+ }, null, 8, ["options"])) : (y(), T(gt, {
338
338
  key: 1,
339
339
  ref_key: "chipsBox",
340
340
  ref: X,
package/dist/index39.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as re, ref as d, computed as p, onMounted as te, watch as le, createElementBlock as y, openBlock as g, mergeProps as N, renderSlot as v, createElementVNode as m, createCommentVNode as H, Fragment as oe, renderList as ne, normalizeProps as se, guardReactiveProps as ie, unref as c, normalizeStyle as G, normalizeClass as O } from "vue";
2
- import { head as ue } from "./index262.js";
3
- import { isCssColor as Y } from "./index230.js";
4
- import { isNil as S } from "./index250.js";
5
- import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index136.js";
6
- import { snapToStep as me } from "./index263.js";
7
- import { last as ce } from "./index218.js";
8
- import { transpose as j } from "./index264.js";
9
- import { clamp as f } from "./index207.js";
2
+ import { head as ue } from "./index261.js";
3
+ import { isCssColor as Y } from "./index235.js";
4
+ import { isNil as S } from "./index260.js";
5
+ import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index139.js";
6
+ import { snapToStep as me } from "./index262.js";
7
+ import { last as ce } from "./index243.js";
8
+ import { transpose as j } from "./index263.js";
9
+ import { clamp as f } from "./index214.js";
10
10
  const be = { class: "bb-base-slider__slider-container" }, ve = {
11
11
  key: 0,
12
12
  class: "bb-base-slider__ticks-container"
package/dist/index41.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as I, ref as f, computed as n, watch as S, createElementBlock as h, openBlock as y, normalizeProps as r, guardReactiveProps as d, createCommentVNode as A, createElementVNode as l, mergeProps as V, renderSlot as F } from "vue";
2
- import { isCssColor as b } from "./index230.js";
3
- import { when as N } from "./index231.js";
2
+ import { isCssColor as b } from "./index235.js";
3
+ import { when as N } from "./index250.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 "./index259.js";
4
+ import N from "./index224.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index241.js";
7
- import { useIndexById as T } from "./index240.js";
8
- import { useBaseOptions as q } from "./index237.js";
9
- import { useCoherence as J } from "./index238.js";
10
- import { hash as Q } from "./index234.js";
11
- import { useHashedWatcher as $ } from "./index239.js";
12
- import { usePrefill as X } from "./index242.js";
6
+ import { useItemsGetter as U } from "./index226.js";
7
+ import { useIndexById as T } from "./index227.js";
8
+ import { useBaseOptions as q } from "./index228.js";
9
+ import { useCoherence as J } from "./index229.js";
10
+ import { hash as Q } from "./index230.js";
11
+ import { useHashedWatcher as $ } from "./index231.js";
12
+ import { usePrefill as X } from "./index232.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {