bitboss-ui 2.1.87 → 2.1.88

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 (178) hide show
  1. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +8 -0
  2. package/dist/components/BbSelect/BbSelect.vue.d.ts +6 -0
  3. package/dist/components/ListBox.vue.d.ts +1 -0
  4. package/dist/index.css +1 -1
  5. package/dist/index107.js +8 -8
  6. package/dist/index108.js +5 -3
  7. package/dist/index114.js +1 -1
  8. package/dist/index120.js +1 -1
  9. package/dist/index122.js +11 -11
  10. package/dist/index13.js +2 -2
  11. package/dist/index130.js +1 -1
  12. package/dist/index132.js +5 -5
  13. package/dist/index134.js +1 -1
  14. package/dist/index136.js +2 -2
  15. package/dist/index143.js +2 -2
  16. package/dist/index15.js +5 -5
  17. package/dist/index17.js +3 -3
  18. package/dist/index19.js +7 -7
  19. package/dist/index21.js +14 -14
  20. package/dist/index217.js +5 -2
  21. package/dist/index218.js +8 -2
  22. package/dist/index219.js +33 -3
  23. package/dist/index220.js +28 -5
  24. package/dist/index222.js +4 -5
  25. package/dist/index223.js +13 -5
  26. package/dist/index224.js +20 -5
  27. package/dist/index225.js +201 -5
  28. package/dist/index227.js +135 -2
  29. package/dist/index229.js +5 -8
  30. package/dist/index23.js +11 -11
  31. package/dist/index230.js +5 -268
  32. package/dist/index231.js +5 -52
  33. package/dist/index232.js +5 -52
  34. package/dist/index233.js +5 -32
  35. package/dist/index234.js +5 -60
  36. package/dist/index235.js +2 -13
  37. package/dist/index236.js +3 -13
  38. package/dist/index237.js +3 -13
  39. package/dist/index238.js +2 -3
  40. package/dist/index239.js +18 -4
  41. package/dist/index240.js +11 -9
  42. package/dist/index241.js +50 -2
  43. package/dist/index242.js +15 -4
  44. package/dist/index243.js +12 -86
  45. package/dist/index244.js +19 -0
  46. package/dist/index246.js +14 -15
  47. package/dist/index247.js +4 -51
  48. package/dist/index248.js +106 -15
  49. package/dist/index25.js +3 -3
  50. package/dist/index250.js +100 -16
  51. package/dist/index252.js +223 -129
  52. package/dist/index253.js +15 -0
  53. package/dist/index254.js +34 -23
  54. package/dist/index255.js +8 -22
  55. package/dist/index256.js +2 -188
  56. package/dist/index257.js +188 -3
  57. package/dist/index258.js +3 -9
  58. package/dist/index259.js +5 -106
  59. package/dist/index261.js +6 -98
  60. package/dist/index262.js +270 -0
  61. package/dist/index263.js +52 -3
  62. package/dist/index264.js +52 -2
  63. package/dist/index265.js +32 -5
  64. package/dist/index266.js +60 -5
  65. package/dist/index267.js +13 -5
  66. package/dist/index268.js +9 -19
  67. package/dist/index269.js +3 -2
  68. package/dist/index27.js +1 -1
  69. package/dist/index270.js +4 -2
  70. package/dist/index271.js +3 -7
  71. package/dist/index272.js +2 -7
  72. package/dist/index273.js +77 -58
  73. package/dist/index275.js +2 -28
  74. package/dist/index276.js +11 -0
  75. package/dist/index277.js +52 -6
  76. package/dist/index278.js +22 -8
  77. package/dist/index279.js +8 -8
  78. package/dist/index280.js +23 -53
  79. package/dist/index281.js +6 -11
  80. package/dist/index282.js +16 -5
  81. package/dist/index283.js +9 -18
  82. package/dist/index284.js +2 -12
  83. package/dist/index285.js +7 -227
  84. package/dist/index286.js +7 -6
  85. package/dist/index287.js +66 -15
  86. package/dist/index288.js +11 -8
  87. package/dist/index289.js +5 -4
  88. package/dist/index29.js +2 -2
  89. package/dist/index290.js +3 -201
  90. package/dist/index291.js +5 -0
  91. package/dist/index292.js +7 -34
  92. package/dist/index293.js +1 -1
  93. package/dist/index294.js +10 -0
  94. package/dist/index295.js +7 -3
  95. package/dist/index296.js +3 -280
  96. package/dist/index298.js +3 -16
  97. package/dist/index299.js +280 -2
  98. package/dist/index300.js +2 -16
  99. package/dist/index301.js +125 -2
  100. package/dist/index302.js +2 -27
  101. package/dist/index303.js +15 -2
  102. package/dist/index304.js +2 -2
  103. package/dist/index305.js +16 -2
  104. package/dist/index306.js +2 -2
  105. package/dist/index307.js +16 -2
  106. package/dist/index308.js +2 -28
  107. package/dist/index309.js +19 -2
  108. package/dist/index31.js +2 -2
  109. package/dist/index310.js +2 -7
  110. package/dist/index311.js +2 -4
  111. package/dist/index312.js +4 -5
  112. package/dist/index313.js +1 -1
  113. package/dist/index314.js +3 -17
  114. package/dist/index315.js +2 -3
  115. package/dist/index316.js +28 -3
  116. package/dist/index317.js +17 -3
  117. package/dist/index318.js +22 -120
  118. package/dist/index319.js +2 -2
  119. package/dist/index320.js +2 -15
  120. package/dist/index321.js +2 -2
  121. package/dist/index322.js +2 -19
  122. package/dist/index323.js +2 -2
  123. package/dist/index324.js +1 -1
  124. package/dist/index325.js +3 -6
  125. package/dist/index329.js +1 -1
  126. package/dist/index33.js +7 -7
  127. package/dist/index331.js +5 -2
  128. package/dist/index332.js +8 -3
  129. package/dist/index333.js +6 -5
  130. package/dist/index334.js +7 -34
  131. package/dist/index335.js +35 -6
  132. package/dist/index336.js +6 -129
  133. package/dist/index337.js +113 -382
  134. package/dist/index338.js +397 -6
  135. package/dist/index339.js +5 -7
  136. package/dist/index340.js +57 -18
  137. package/dist/index341.js +58 -9
  138. package/dist/index342.js +5 -14
  139. package/dist/index343.js +134 -5
  140. package/dist/index344.js +7 -58
  141. package/dist/index345.js +18 -57
  142. package/dist/index346.js +8 -227
  143. package/dist/index347.js +12 -131
  144. package/dist/index348.js +5 -22
  145. package/dist/index349.js +49 -0
  146. package/dist/index35.js +4 -4
  147. package/dist/index350.js +6 -46
  148. package/dist/index351.js +22 -8
  149. package/dist/index353.js +518 -6
  150. package/dist/index354.js +1 -1
  151. package/dist/index355.js +222 -514
  152. package/dist/index37.js +58 -56
  153. package/dist/index39.js +6 -6
  154. package/dist/index41.js +2 -2
  155. package/dist/index43.js +7 -7
  156. package/dist/index45.js +6 -6
  157. package/dist/index49.js +2 -2
  158. package/dist/index53.js +1 -1
  159. package/dist/index55.js +1 -1
  160. package/dist/index57.js +2 -2
  161. package/dist/index61.js +5 -5
  162. package/dist/index67.js +1 -1
  163. package/dist/index80.js +6 -6
  164. package/dist/index82.js +1 -1
  165. package/dist/index84.js +2 -2
  166. package/dist/index86.js +3 -3
  167. package/dist/index91.js +3 -3
  168. package/dist/index93.js +2 -2
  169. package/dist/index95.js +5 -5
  170. package/package.json +1 -1
  171. package/dist/index221.js +0 -10
  172. package/dist/index226.js +0 -5
  173. package/dist/index249.js +0 -14
  174. package/dist/index251.js +0 -11
  175. package/dist/index274.js +0 -35
  176. package/dist/index297.js +0 -4
  177. package/dist/index352.js +0 -8
  178. /package/dist/{index228.js → index260.js} +0 -0
package/dist/index348.js CHANGED
@@ -1,24 +1,7 @@
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
+ import o from "./index351.js";
2
+ /* empty css */
3
+ import t from "./index213.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8c6b13bd"]]);
22
5
  export {
23
- f as default
6
+ m as default
24
7
  };
@@ -0,0 +1,49 @@
1
+ import { elementScroll as f, observeElementOffset as s, observeElementRect as d, Virtualizer as p } from "./index353.js";
2
+ import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index353.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
13
+ }
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
+ }))
38
+ );
39
+ }
40
+ export {
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
49
+ };
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 "./index218.js";
3
- import { identity as $ } from "./index264.js";
4
- import { isCssColor as k } from "./index217.js";
2
+ import { booleanishToBoolean as T } from "./index272.js";
3
+ import { identity as $ } from "./index235.js";
4
+ import { isCssColor as k } from "./index256.js";
5
5
  import { isNotNil as q } from "./index144.js";
6
- import { useLocale as x } from "./index235.js";
6
+ import { useLocale as x } from "./index223.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,49 +1,9 @@
1
- import { elementScroll as f, observeElementOffset as s, observeElementRect as d, Virtualizer as p } from "./index355.js";
2
- import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index355.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
13
- }
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
- }))
38
- );
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;
39
6
  }
40
7
  export {
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
8
+ l as range
49
9
  };
package/dist/index351.js CHANGED
@@ -1,10 +1,24 @@
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];
7
- }
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
+ });
8
22
  export {
9
- i as hexToRgb
23
+ f as default
10
24
  };