bitboss-ui 2.1.83 → 2.1.84

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 (182) 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 +23 -23
  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 +2 -13
  24. package/dist/index220.js +2 -13
  25. package/dist/index221.js +3 -13
  26. package/dist/index222.js +5 -4
  27. package/dist/index223.js +5 -20
  28. package/dist/index224.js +5 -201
  29. package/dist/index225.js +7 -0
  30. package/dist/index226.js +5 -135
  31. package/dist/index227.js +7 -0
  32. package/dist/index228.js +2 -3
  33. package/dist/index229.js +3 -6
  34. package/dist/index23.js +11 -11
  35. package/dist/index230.js +13 -16
  36. package/dist/index231.js +20 -2
  37. package/dist/index232.js +135 -11
  38. package/dist/index234.js +34 -9
  39. package/dist/index235.js +8 -8
  40. package/dist/index236.js +13 -23
  41. package/dist/index237.js +13 -4
  42. package/dist/index238.js +31 -21
  43. package/dist/index239.js +28 -188
  44. package/dist/index241.js +7 -4
  45. package/dist/index242.js +2 -67
  46. package/dist/index243.js +86 -5
  47. package/dist/index245.js +29 -5
  48. package/dist/index246.js +17 -5
  49. package/dist/index247.js +51 -5
  50. package/dist/index248.js +15 -5
  51. package/dist/index249.js +3 -2
  52. package/dist/index25.js +3 -3
  53. package/dist/index250.js +12 -3
  54. package/dist/index251.js +16 -34
  55. package/dist/index252.js +5 -5
  56. package/dist/index253.js +2 -3
  57. package/dist/index254.js +5 -8
  58. package/dist/index255.js +8 -10
  59. package/dist/index256.js +268 -3
  60. package/dist/index257.js +52 -3
  61. package/dist/index258.js +52 -33
  62. package/dist/index259.js +30 -26
  63. package/dist/index260.js +62 -0
  64. package/dist/index261.js +5 -7
  65. package/dist/index262.js +188 -2
  66. package/dist/index263.js +3 -3
  67. package/dist/index264.js +65 -7
  68. package/dist/index265.js +3 -29
  69. package/dist/index266.js +4 -16
  70. package/dist/index267.js +9 -17
  71. package/dist/index268.js +40 -50
  72. package/dist/index269.js +4 -12
  73. package/dist/index27.js +1 -1
  74. package/dist/index270.js +200 -40
  75. package/dist/index272.js +3 -2
  76. package/dist/index273.js +10 -5
  77. package/dist/index274.js +101 -263
  78. package/dist/index276.js +96 -48
  79. package/dist/index278.js +4 -60
  80. package/dist/index279.js +22 -85
  81. package/dist/index280.js +10 -0
  82. package/dist/index281.js +8 -14
  83. package/dist/index282.js +23 -8
  84. package/dist/index286.js +9 -2
  85. package/dist/index287.js +6 -18
  86. package/dist/index288.js +16 -12
  87. package/dist/index289.js +17 -105
  88. package/dist/index29.js +3 -3
  89. package/dist/index290.js +14 -0
  90. package/dist/index291.js +212 -83
  91. package/dist/index292.js +12 -0
  92. package/dist/index293.js +3 -229
  93. package/dist/index295.js +5 -0
  94. package/dist/index296.js +280 -3
  95. package/dist/index297.js +2 -2
  96. package/dist/index298.js +125 -4
  97. package/dist/index299.js +2 -3
  98. package/dist/index300.js +14 -3
  99. package/dist/index301.js +2 -2
  100. package/dist/index302.js +16 -3
  101. package/dist/index303.js +2 -719
  102. package/dist/index304.js +16 -366
  103. package/dist/index305.js +2 -57
  104. package/dist/index306.js +19 -5
  105. package/dist/index307.js +2 -280
  106. package/dist/index308.js +3 -2
  107. package/dist/index309.js +7 -125
  108. package/dist/index31.js +2 -2
  109. package/dist/index310.js +2 -2
  110. package/dist/index311.js +2 -15
  111. package/dist/index312.js +27 -2
  112. package/dist/index313.js +2 -16
  113. package/dist/index314.js +2 -2
  114. package/dist/index315.js +2 -16
  115. package/dist/index316.js +2 -2
  116. package/dist/index317.js +2 -19
  117. package/dist/index318.js +28 -2
  118. package/dist/index319.js +2 -5
  119. package/dist/index320.js +1 -1
  120. package/dist/index321.js +1 -1
  121. package/dist/index322.js +4 -28
  122. package/dist/index323.js +5 -27
  123. package/dist/index324.js +3 -2
  124. package/dist/index325.js +4 -2
  125. package/dist/index326.js +5 -2
  126. package/dist/index327.js +6 -2
  127. package/dist/index328.js +3 -2
  128. package/dist/index329.js +3 -2
  129. package/dist/index33.js +8 -8
  130. package/dist/index330.js +718 -57
  131. package/dist/index331.js +365 -57
  132. package/dist/index332.js +57 -3
  133. package/dist/index333.js +2 -3
  134. package/dist/index334.js +35 -2
  135. package/dist/index335.js +6 -35
  136. package/dist/index336.js +129 -6
  137. package/dist/index337.js +382 -113
  138. package/dist/index338.js +6 -397
  139. package/dist/index339.js +18 -5
  140. package/dist/index340.js +8 -7
  141. package/dist/index341.js +14 -5
  142. package/dist/index342.js +5 -8
  143. package/dist/index343.js +6 -227
  144. package/dist/index344.js +57 -92
  145. package/dist/index345.js +57 -133
  146. package/dist/index346.js +228 -5
  147. package/dist/index347.js +133 -6
  148. package/dist/index348.js +21 -18
  149. package/dist/index35.js +4 -4
  150. package/dist/index350.js +7 -14
  151. package/dist/index351.js +5 -6
  152. package/dist/index352.js +8 -22
  153. package/dist/index353.js +95 -0
  154. package/dist/index37.js +18 -18
  155. package/dist/index39.js +4 -4
  156. package/dist/index41.js +2 -2
  157. package/dist/index43.js +8 -8
  158. package/dist/index45.js +6 -6
  159. package/dist/index49.js +2 -2
  160. package/dist/index53.js +1 -1
  161. package/dist/index55.js +1 -1
  162. package/dist/index57.js +2 -2
  163. package/dist/index61.js +5 -5
  164. package/dist/index67.js +1 -1
  165. package/dist/index80.js +6 -6
  166. package/dist/index82.js +1 -1
  167. package/dist/index84.js +2 -2
  168. package/dist/index86.js +3 -3
  169. package/dist/index88.js +1 -1
  170. package/dist/index91.js +3 -3
  171. package/dist/index93.js +2 -2
  172. package/dist/index95.js +5 -5
  173. package/dist/index97.js +1 -1
  174. package/package.json +1 -1
  175. package/dist/index233.js +0 -10
  176. package/dist/index240.js +0 -5
  177. package/dist/index244.js +0 -7
  178. package/dist/index271.js +0 -7
  179. package/dist/index275.js +0 -54
  180. package/dist/index277.js +0 -34
  181. package/dist/index294.js +0 -9
  182. package/dist/index349.js +0 -11
package/dist/index346.js CHANGED
@@ -1,7 +1,230 @@
1
- import o from "./index352.js";
2
- /* empty css */
3
- import t from "./index213.js";
4
- const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8c6b13bd"]]);
1
+ import { commonjsGlobal as r } from "./index327.js";
2
+ var o, c;
3
+ function C() {
4
+ if (c) return o;
5
+ c = 1;
6
+ var n = "[object Symbol]", d = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, a = "\\u0300-\\u036f\\ufe20-\\ufe23", b = "\\u20d0-\\u20f0", i = "[" + a + b + "]", s = RegExp(i, "g"), l = {
7
+ // Latin-1 Supplement block.
8
+ À: "A",
9
+ Á: "A",
10
+ Â: "A",
11
+ Ã: "A",
12
+ Ä: "A",
13
+ Å: "A",
14
+ à: "a",
15
+ á: "a",
16
+ â: "a",
17
+ ã: "a",
18
+ ä: "a",
19
+ å: "a",
20
+ Ç: "C",
21
+ ç: "c",
22
+ Ð: "D",
23
+ ð: "d",
24
+ È: "E",
25
+ É: "E",
26
+ Ê: "E",
27
+ Ë: "E",
28
+ è: "e",
29
+ é: "e",
30
+ ê: "e",
31
+ ë: "e",
32
+ Ì: "I",
33
+ Í: "I",
34
+ Î: "I",
35
+ Ï: "I",
36
+ ì: "i",
37
+ í: "i",
38
+ î: "i",
39
+ ï: "i",
40
+ Ñ: "N",
41
+ ñ: "n",
42
+ Ò: "O",
43
+ Ó: "O",
44
+ Ô: "O",
45
+ Õ: "O",
46
+ Ö: "O",
47
+ Ø: "O",
48
+ ò: "o",
49
+ ó: "o",
50
+ ô: "o",
51
+ õ: "o",
52
+ ö: "o",
53
+ ø: "o",
54
+ Ù: "U",
55
+ Ú: "U",
56
+ Û: "U",
57
+ Ü: "U",
58
+ ù: "u",
59
+ ú: "u",
60
+ û: "u",
61
+ ü: "u",
62
+ Ý: "Y",
63
+ ý: "y",
64
+ ÿ: "y",
65
+ Æ: "Ae",
66
+ æ: "ae",
67
+ Þ: "Th",
68
+ þ: "th",
69
+ ß: "ss",
70
+ // Latin Extended-A block.
71
+ Ā: "A",
72
+ Ă: "A",
73
+ Ą: "A",
74
+ ā: "a",
75
+ ă: "a",
76
+ ą: "a",
77
+ Ć: "C",
78
+ Ĉ: "C",
79
+ Ċ: "C",
80
+ Č: "C",
81
+ ć: "c",
82
+ ĉ: "c",
83
+ ċ: "c",
84
+ č: "c",
85
+ Ď: "D",
86
+ Đ: "D",
87
+ ď: "d",
88
+ đ: "d",
89
+ Ē: "E",
90
+ Ĕ: "E",
91
+ Ė: "E",
92
+ Ę: "E",
93
+ Ě: "E",
94
+ ē: "e",
95
+ ĕ: "e",
96
+ ė: "e",
97
+ ę: "e",
98
+ ě: "e",
99
+ Ĝ: "G",
100
+ Ğ: "G",
101
+ Ġ: "G",
102
+ Ģ: "G",
103
+ ĝ: "g",
104
+ ğ: "g",
105
+ ġ: "g",
106
+ ģ: "g",
107
+ Ĥ: "H",
108
+ Ħ: "H",
109
+ ĥ: "h",
110
+ ħ: "h",
111
+ Ĩ: "I",
112
+ Ī: "I",
113
+ Ĭ: "I",
114
+ Į: "I",
115
+ İ: "I",
116
+ ĩ: "i",
117
+ ī: "i",
118
+ ĭ: "i",
119
+ į: "i",
120
+ ı: "i",
121
+ Ĵ: "J",
122
+ ĵ: "j",
123
+ Ķ: "K",
124
+ ķ: "k",
125
+ ĸ: "k",
126
+ Ĺ: "L",
127
+ Ļ: "L",
128
+ Ľ: "L",
129
+ Ŀ: "L",
130
+ Ł: "L",
131
+ ĺ: "l",
132
+ ļ: "l",
133
+ ľ: "l",
134
+ ŀ: "l",
135
+ ł: "l",
136
+ Ń: "N",
137
+ Ņ: "N",
138
+ Ň: "N",
139
+ Ŋ: "N",
140
+ ń: "n",
141
+ ņ: "n",
142
+ ň: "n",
143
+ ŋ: "n",
144
+ Ō: "O",
145
+ Ŏ: "O",
146
+ Ő: "O",
147
+ ō: "o",
148
+ ŏ: "o",
149
+ ő: "o",
150
+ Ŕ: "R",
151
+ Ŗ: "R",
152
+ Ř: "R",
153
+ ŕ: "r",
154
+ ŗ: "r",
155
+ ř: "r",
156
+ Ś: "S",
157
+ Ŝ: "S",
158
+ Ş: "S",
159
+ Š: "S",
160
+ ś: "s",
161
+ ŝ: "s",
162
+ ş: "s",
163
+ š: "s",
164
+ Ţ: "T",
165
+ Ť: "T",
166
+ Ŧ: "T",
167
+ ţ: "t",
168
+ ť: "t",
169
+ ŧ: "t",
170
+ Ũ: "U",
171
+ Ū: "U",
172
+ Ŭ: "U",
173
+ Ů: "U",
174
+ Ű: "U",
175
+ Ų: "U",
176
+ ũ: "u",
177
+ ū: "u",
178
+ ŭ: "u",
179
+ ů: "u",
180
+ ű: "u",
181
+ ų: "u",
182
+ Ŵ: "W",
183
+ ŵ: "w",
184
+ Ŷ: "Y",
185
+ ŷ: "y",
186
+ Ÿ: "Y",
187
+ Ź: "Z",
188
+ Ż: "Z",
189
+ Ž: "Z",
190
+ ź: "z",
191
+ ż: "z",
192
+ ž: "z",
193
+ IJ: "IJ",
194
+ ij: "ij",
195
+ Œ: "Oe",
196
+ œ: "oe",
197
+ ʼn: "'n",
198
+ ſ: "ss"
199
+ }, y = typeof r == "object" && r && r.Object === Object && r, m = typeof self == "object" && self && self.Object === Object && self, O = y || m || Function("return this")();
200
+ function S(u) {
201
+ return function(e) {
202
+ return u?.[e];
203
+ };
204
+ }
205
+ var p = S(l), g = Object.prototype, j = g.toString, x = O.Symbol, t = x ? x.prototype : void 0, f = t ? t.toString : void 0;
206
+ function I(u) {
207
+ if (typeof u == "string")
208
+ return u;
209
+ if (A(u))
210
+ return f ? f.call(u) : "";
211
+ var e = u + "";
212
+ return e == "0" && 1 / u == -1 / 0 ? "-0" : e;
213
+ }
214
+ function L(u) {
215
+ return !!u && typeof u == "object";
216
+ }
217
+ function A(u) {
218
+ return typeof u == "symbol" || L(u) && j.call(u) == n;
219
+ }
220
+ function E(u) {
221
+ return u == null ? "" : I(u);
222
+ }
223
+ function U(u) {
224
+ return u = E(u), u && u.replace(d, p).replace(s, "");
225
+ }
226
+ return o = U, o;
227
+ }
5
228
  export {
6
- m as default
229
+ C as __require
7
230
  };
package/dist/index347.js CHANGED
@@ -1,9 +1,136 @@
1
- function c(n, e) {
2
- const u = [];
3
- for (let t = 0; t < n.length; t += e)
4
- u.push(n.slice(t, t + e));
5
- return u;
1
+ function c() {
2
+ return typeof window < "u";
3
+ }
4
+ function u(t) {
5
+ return p(t) ? (t.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(t) {
8
+ var e;
9
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
10
+ }
11
+ function N(t) {
12
+ var e;
13
+ return (e = (p(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
14
+ }
15
+ function p(t) {
16
+ return c() ? t instanceof Node || t instanceof i(t).Node : !1;
17
+ }
18
+ function m(t) {
19
+ return c() ? t instanceof Element || t instanceof i(t).Element : !1;
20
+ }
21
+ function w(t) {
22
+ return c() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
23
+ }
24
+ function f(t) {
25
+ return !c() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
26
+ }
27
+ const E = /* @__PURE__ */ new Set(["inline", "contents"]);
28
+ function y(t) {
29
+ const {
30
+ overflow: e,
31
+ overflowX: n,
32
+ overflowY: o,
33
+ display: r
34
+ } = S(t);
35
+ return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !E.has(r);
36
+ }
37
+ const T = /* @__PURE__ */ new Set(["table", "td", "th"]);
38
+ function A(t) {
39
+ return T.has(u(t));
40
+ }
41
+ const v = [":popover-open", ":modal"];
42
+ function L(t) {
43
+ return v.some((e) => {
44
+ try {
45
+ return t.matches(e);
46
+ } catch {
47
+ return !1;
48
+ }
49
+ });
50
+ }
51
+ const D = ["transform", "translate", "scale", "rotate", "perspective"], C = ["transform", "translate", "scale", "rotate", "perspective", "filter"], k = ["paint", "layout", "strict", "content"];
52
+ function V(t) {
53
+ const e = O(), n = m(t) ? S(t) : t;
54
+ return D.some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || C.some((o) => (n.willChange || "").includes(o)) || k.some((o) => (n.contain || "").includes(o));
55
+ }
56
+ function B(t) {
57
+ let e = s(t);
58
+ for (; w(e) && !h(e); ) {
59
+ if (V(e))
60
+ return e;
61
+ if (L(e))
62
+ return null;
63
+ e = s(e);
64
+ }
65
+ return null;
66
+ }
67
+ function O() {
68
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
69
+ }
70
+ const R = /* @__PURE__ */ new Set(["html", "body", "#document"]);
71
+ function h(t) {
72
+ return R.has(u(t));
73
+ }
74
+ function S(t) {
75
+ return i(t).getComputedStyle(t);
76
+ }
77
+ function F(t) {
78
+ return m(t) ? {
79
+ scrollLeft: t.scrollLeft,
80
+ scrollTop: t.scrollTop
81
+ } : {
82
+ scrollLeft: t.scrollX,
83
+ scrollTop: t.scrollY
84
+ };
85
+ }
86
+ function s(t) {
87
+ if (u(t) === "html")
88
+ return t;
89
+ const e = (
90
+ // Step into the shadow DOM of the parent of a slotted node.
91
+ t.assignedSlot || // DOM Element detected.
92
+ t.parentNode || // ShadowRoot detected.
93
+ f(t) && t.host || // Fallback.
94
+ N(t)
95
+ );
96
+ return f(e) ? e.host : e;
97
+ }
98
+ function b(t) {
99
+ const e = s(t);
100
+ return h(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : w(e) && y(e) ? e : b(e);
101
+ }
102
+ function d(t, e, n) {
103
+ var o;
104
+ e === void 0 && (e = []), n === void 0 && (n = !0);
105
+ const r = b(t), g = r === ((o = t.ownerDocument) == null ? void 0 : o.body), l = i(r);
106
+ if (g) {
107
+ const a = _(l);
108
+ return e.concat(l, l.visualViewport || [], y(r) ? r : [], a && n ? d(a) : []);
109
+ }
110
+ return e.concat(r, d(r, [], n));
111
+ }
112
+ function _(t) {
113
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
6
114
  }
7
115
  export {
8
- c as chunk
116
+ S as getComputedStyle,
117
+ B as getContainingBlock,
118
+ N as getDocumentElement,
119
+ _ as getFrameElement,
120
+ b as getNearestOverflowAncestor,
121
+ u as getNodeName,
122
+ F as getNodeScroll,
123
+ d as getOverflowAncestors,
124
+ s as getParentNode,
125
+ i as getWindow,
126
+ V as isContainingBlock,
127
+ m as isElement,
128
+ w as isHTMLElement,
129
+ h as isLastTraversableNode,
130
+ p as isNode,
131
+ y as isOverflowElement,
132
+ f as isShadowRoot,
133
+ A as isTableElement,
134
+ L as isTopLayer,
135
+ O as isWebKit
9
136
  };
package/dist/index348.js CHANGED
@@ -1,21 +1,24 @@
1
- function l(t, ...e) {
2
- if (t.length) {
3
- const o = t[0];
4
- if (typeof o == "string") return [...t].sort(r);
5
- if (typeof o == "number") return [...t].sort(r);
6
- if (e && e.length)
7
- return [...t].sort((f, u) => {
8
- for (let n = 0; n < e.length; n++) {
9
- const i = e[n], s = r(f[i], u[i]);
10
- if (s) return s;
11
- }
12
- return 0;
13
- });
14
- throw new Error("Invalid comparison");
1
+ import { defineComponent as a, computed as i, createBlock as r, openBlock as d, Transition as l, normalizeStyle as s, withCtx as u, renderSlot as p } from "vue";
2
+ const f = /* @__PURE__ */ a({
3
+ __name: "Slide",
4
+ props: {
5
+ direction: { default: "right" },
6
+ duration: { default: 500 },
7
+ gap: { default: 0 }
8
+ },
9
+ setup(t) {
10
+ const n = t, o = i(() => `bb-slide-in-${n.direction}`);
11
+ return (e, m) => (d(), r(l, {
12
+ name: o.value,
13
+ style: s({ "--transition-duration": `${e.duration}ms`, "--gap": `${e.gap}px` })
14
+ }, {
15
+ default: u(() => [
16
+ p(e.$slots, "default", {}, void 0, !0)
17
+ ]),
18
+ _: 3
19
+ }, 8, ["name", "style"]));
15
20
  }
16
- return t;
17
- }
18
- const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
21
+ });
19
22
  export {
20
- l as sort
23
+ f as default
21
24
  };
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 g, Fragment as V, renderList as M, normalizeClass as D, toDisplayString as F, unref as y } from "vue";
2
- import { booleanishToBoolean as T } from "./index286.js";
3
- import { identity as $ } from "./index249.js";
4
- import { isCssColor as k } from "./index231.js";
2
+ import { booleanishToBoolean as T } from "./index220.js";
3
+ import { identity as $ } from "./index228.js";
4
+ import { isCssColor as k } from "./index219.js";
5
5
  import { isNotNil as q } from "./index144.js";
6
- import { useLocale as x } from "./index220.js";
6
+ import { useLocale as x } from "./index230.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/index350.js CHANGED
@@ -1,17 +1,10 @@
1
- import f from "./index243.js";
2
- import { toOuterValue as i } from "./index349.js";
3
- function Y(m, e) {
4
- let r = !0;
5
- if (e.min) {
6
- const a = f(e.min, "YYYY-MM-DD");
7
- r &&= m.isSameOrAfter(a);
8
- }
9
- if (e.max) {
10
- const a = f(e.max, "YYYY-MM-DD");
11
- r &&= m.isSameOrBefore(a);
12
- }
13
- return typeof e.selectable == "function" && (r &&= e.selectable(i(m, e.floating))), !r;
1
+ function i(t) {
2
+ if (t = t.replace(/^#/, ""), !/^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$/.test(t))
3
+ throw new Error("Invalid hex code");
4
+ t.length === 3 && (t = t.split("").map((n) => n + n).join(""));
5
+ const r = parseInt(t.slice(0, 2), 16), s = parseInt(t.slice(2, 4), 16), o = parseInt(t.slice(4, 6), 16);
6
+ return [r, s, o];
14
7
  }
15
8
  export {
16
- Y as isDateDisabled
9
+ i as hexToRgb
17
10
  };
package/dist/index351.js CHANGED
@@ -1,9 +1,8 @@
1
- function l(n, c, r = 1) {
2
- const o = Math.max(Math.ceil((c - n) / r), 0), t = new Array(o);
3
- for (let e = 0; e < o; e++, n += r)
4
- t[e] = n;
5
- return t;
1
+ function l(c, f, r) {
2
+ const t = c / 255, n = f / 255, o = r / 255, i = Math.max(t, n, o), a = Math.min(t, n, o), s = i - a;
3
+ let e = 0;
4
+ return s !== 0 && (i === t ? e = (n - o) / s % 6 : i === n ? e = (o - t) / s + 2 : i === o && (e = (t - n) / s + 4), e *= 60, e < 0 && (e += 360)), e;
6
5
  }
7
6
  export {
8
- l as range
7
+ l as getHueFromRGB
9
8
  };
package/dist/index352.js CHANGED
@@ -1,24 +1,10 @@
1
- import { defineComponent as a, computed as i, createBlock as r, openBlock as d, Transition as l, normalizeStyle as s, withCtx as u, renderSlot as p } from "vue";
2
- const f = /* @__PURE__ */ a({
3
- __name: "Slide",
4
- props: {
5
- direction: { default: "right" },
6
- duration: { default: 500 },
7
- gap: { default: 0 }
8
- },
9
- setup(t) {
10
- const n = t, o = i(() => `bb-slide-in-${n.direction}`);
11
- return (e, m) => (d(), r(l, {
12
- name: o.value,
13
- style: s({ "--transition-duration": `${e.duration}ms`, "--gap": `${e.gap}px` })
14
- }, {
15
- default: u(() => [
16
- p(e.$slots, "default", {}, void 0, !0)
17
- ]),
18
- _: 3
19
- }, 8, ["name", "style"]));
20
- }
21
- });
1
+ const i = (r, s, a) => {
2
+ const t = a / 100, c = s * Math.min(t, 1 - t) / 100, n = (h) => {
3
+ const o = (h + r / 30) % 12, e = t - c * Math.max(Math.min(o - 3, 9 - o, 1), -1);
4
+ return Math.round(255 * e).toString(16).padStart(2, "0");
5
+ };
6
+ return `#${n(0)}${n(8)}${n(4)}`;
7
+ };
22
8
  export {
23
- f as default
9
+ i as hslToHex
24
10
  };
@@ -0,0 +1,95 @@
1
+ import { commonjsGlobal as y } from "./index327.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/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 h, normalizeClass as ee, withCtx as u, createElementVNode as L, createVNode as T, createElementBlock as I, unref as g, renderSlot as d, createCommentVNode as te, withDirectives as Xe, Fragment as ae, toDisplayString as Ye, withKeys as w, 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 "./index263.js";
5
- import { isEmpty as lt } from "./index250.js";
6
- import { last as ot } from "./index272.js";
7
- import { matchAnyKey as ne } from "./index287.js";
8
- import { useArray as nt } from "./index288.js";
9
- import { useBaseOptions as ut } from "./index268.js";
10
- import { useCoherence as st } from "./index281.js";
11
- import { useHashedWatcher as ue } from "./index269.js";
4
+ import { hash as at } from "./index249.js";
5
+ import { isEmpty as lt } from "./index229.js";
6
+ import { last as ot } from "./index253.js";
7
+ import { matchAnyKey as ne } from "./index289.js";
8
+ import { useArray as nt } from "./index290.js";
9
+ import { useBaseOptions as ut } from "./index247.js";
10
+ import { useCoherence as st } from "./index248.js";
11
+ import { useHashedWatcher as ue } from "./index250.js";
12
12
  import { useId as it } from "./index8.js";
13
- import { useIndexById as se } from "./index267.js";
13
+ import { useIndexById as se } from "./index246.js";
14
14
  import { useMounted as rt, useElementSize as dt, useIntersectionObserver as ct } from "./index141.js";
15
- import { useItemsGetter as pt } from "./index265.js";
16
- import { useLocale as mt } from "./index220.js";
15
+ import { useItemsGetter as pt } from "./index245.js";
16
+ import { useLocale as mt } from "./index230.js";
17
17
  import { useMobile as ft } from "./index9.js";
18
- import { usePrefill as vt } from "./index266.js";
18
+ import { usePrefill as vt } from "./index251.js";
19
19
  import { wait as E } from "./index140.js";
20
- import { when as ht } from "./index241.js";
21
- import yt from "./index289.js";
20
+ import { when as ht } from "./index266.js";
21
+ import yt from "./index274.js";
22
22
  /* empty css */
23
- import bt from "./index291.js";
23
+ import bt from "./index276.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 "./index226.js";
28
+ import Bt from "./index232.js";
29
29
  /* empty css */
30
- import Vt from "./index293.js";
31
- import { useUntil as St } from "./index221.js";
30
+ import Vt from "./index291.js";
31
+ import { useUntil as St } from "./index237.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
2
  import { head as ce } from "./index283.js";
3
- import { isCssColor as K } from "./index231.js";
4
- import { isNil as x } from "./index262.js";
3
+ import { isCssColor as K } from "./index219.js";
4
+ import { isNil as x } from "./index242.js";
5
5
  import { getAsPercentageBetween as S, getAsPercentage as be, getValueFromPercentageInInterval as T } from "./index139.js";
6
6
  import { snapToStep as ve } from "./index284.js";
7
- import { last as fe } from "./index272.js";
7
+ import { last as fe } from "./index253.js";
8
8
  import { transpose as Q } from "./index285.js";
9
- import { clamp as m } from "./index216.js";
9
+ import { clamp as m } from "./index215.js";
10
10
  const pe = {
11
11
  key: 0,
12
12
  class: "bb-base-slider__ticks-container"