bitboss-ui 2.0.159 → 2.0.160

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 (165) hide show
  1. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +2 -2
  2. package/dist/index100.js +8 -8
  3. package/dist/index111.js +11 -11
  4. package/dist/index119.js +2 -2
  5. package/dist/index121.js +5 -5
  6. package/dist/index123.js +1 -1
  7. package/dist/index125.js +1 -1
  8. package/dist/index127.js +1 -1
  9. package/dist/index128.js +1 -1
  10. package/dist/index129.js +1 -1
  11. package/dist/index13.js +1 -1
  12. package/dist/index131.js +1 -1
  13. package/dist/index133.js +1 -1
  14. package/dist/index134.js +2 -2
  15. package/dist/index15.js +8 -8
  16. package/dist/index17.js +3 -3
  17. package/dist/index19.js +8 -8
  18. package/dist/index207.js +2 -4
  19. package/dist/index208.js +2 -41
  20. package/dist/index209.js +64 -18
  21. package/dist/index21.js +16 -16
  22. package/dist/index211.js +15 -0
  23. package/dist/index212.js +41 -200
  24. package/dist/index213.js +8 -0
  25. package/dist/index214.js +7 -66
  26. package/dist/index215.js +17 -0
  27. package/dist/index216.js +13 -13
  28. package/dist/index217.js +33 -12
  29. package/dist/index218.js +3 -2
  30. package/dist/index219.js +5 -86
  31. package/dist/{index247.js → index220.js} +2 -2
  32. package/dist/index221.js +16 -29
  33. package/dist/index222.js +15 -16
  34. package/dist/index223.js +19 -51
  35. package/dist/index224.js +15 -15
  36. package/dist/index225.js +2 -3
  37. package/dist/index226.js +2 -12
  38. package/dist/index227.js +19 -15
  39. package/dist/index228.js +94 -5
  40. package/dist/index23.js +16 -16
  41. package/dist/index230.js +2 -16
  42. package/dist/index231.js +2 -19
  43. package/dist/index232.js +4 -15
  44. package/dist/index233.js +2 -19
  45. package/dist/index234.js +4 -27
  46. package/dist/index235.js +200 -2
  47. package/dist/index237.js +17 -248
  48. package/dist/index238.js +26 -51
  49. package/dist/index239.js +3 -44
  50. package/dist/index240.js +8 -5
  51. package/dist/index241.js +243 -53
  52. package/dist/index242.js +52 -3
  53. package/dist/index243.js +43 -5
  54. package/dist/index244.js +5 -7
  55. package/dist/index245.js +56 -11
  56. package/dist/index246.js +84 -32
  57. package/dist/index248.js +29 -2
  58. package/dist/index249.js +17 -2
  59. package/dist/index25.js +5 -5
  60. package/dist/index250.js +51 -2
  61. package/dist/index251.js +15 -4
  62. package/dist/index252.js +12 -2
  63. package/dist/index253.js +16 -2
  64. package/dist/index254.js +17 -105
  65. package/dist/{index259.js → index255.js} +2 -2
  66. package/dist/index256.js +53 -47
  67. package/dist/index258.js +99 -17
  68. package/dist/index261.js +3 -3
  69. package/dist/index262.js +1 -1
  70. package/dist/index268.js +9 -6
  71. package/dist/index269.js +23 -16
  72. package/dist/index27.js +1 -1
  73. package/dist/index270.js +3 -3
  74. package/dist/index272.js +7 -23
  75. package/dist/index273.js +1 -1
  76. package/dist/index274.js +2 -3
  77. package/dist/index275.js +7 -3
  78. package/dist/index276.js +11 -3
  79. package/dist/index277.js +4 -0
  80. package/dist/index278.js +224 -7
  81. package/dist/index279.js +199 -6
  82. package/dist/index280.js +280 -10
  83. package/dist/index281.js +6 -3
  84. package/dist/index282.js +2 -17
  85. package/dist/index283.js +2 -9
  86. package/dist/index284.js +2 -28
  87. package/dist/index285.js +2 -200
  88. package/dist/index286.js +2 -281
  89. package/dist/index287.js +2 -6
  90. package/dist/index288.js +3 -2
  91. package/dist/index289.js +4 -2
  92. package/dist/index29.js +3 -3
  93. package/dist/index290.js +3 -2
  94. package/dist/index291.js +9 -2
  95. package/dist/index292.js +6 -2
  96. package/dist/index293.js +16 -2
  97. package/dist/index294.js +3 -2
  98. package/dist/index295.js +9 -2
  99. package/dist/index296.js +8 -2
  100. package/dist/index297.js +2 -2
  101. package/dist/index298.js +2 -2
  102. package/dist/index299.js +1 -21
  103. package/dist/index300.js +4 -0
  104. package/dist/index301.js +2 -224
  105. package/dist/index303.js +28 -2
  106. package/dist/index304.js +22 -2
  107. package/dist/index306.js +3 -8
  108. package/dist/index307.js +17 -4
  109. package/dist/index308.js +126 -3
  110. package/dist/index31.js +2 -2
  111. package/dist/index310.js +3 -126
  112. package/dist/index314.js +2 -8
  113. package/dist/index315.js +67 -6
  114. package/dist/index316.js +32 -7
  115. package/dist/index317.js +28 -5
  116. package/dist/index319.js +5 -8
  117. package/dist/index320.js +5 -67
  118. package/dist/index321.js +7 -479
  119. package/dist/index322.js +480 -2
  120. package/dist/index323.js +58 -7
  121. package/dist/index324.js +33 -33
  122. package/dist/index325.js +4 -58
  123. package/dist/index326.js +87 -31
  124. package/dist/index327.js +7 -28
  125. package/dist/index328.js +9 -0
  126. package/dist/index329.js +18 -3
  127. package/dist/index33.js +8 -8
  128. package/dist/index330.js +46 -6
  129. package/dist/index331.js +3 -19
  130. package/dist/index332.js +3 -3
  131. package/dist/index333.js +58 -3
  132. package/dist/index334.js +7 -57
  133. package/dist/index335.js +5 -88
  134. package/dist/index336.js +8 -47
  135. package/dist/index337.js +1 -1
  136. package/dist/index339.js +1 -1
  137. package/dist/index340.js +424 -2
  138. package/dist/index341.js +2 -424
  139. package/dist/index35.js +4 -4
  140. package/dist/index37.js +19 -19
  141. package/dist/index39.js +3 -3
  142. package/dist/index41.js +2 -2
  143. package/dist/index43.js +8 -8
  144. package/dist/index45.js +8 -8
  145. package/dist/index47.js +2 -2
  146. package/dist/index49.js +2 -2
  147. package/dist/index53.js +1 -1
  148. package/dist/index55.js +1 -1
  149. package/dist/index57.js +1 -1
  150. package/dist/index61.js +1 -1
  151. package/dist/index75.js +3 -3
  152. package/dist/index77.js +1 -1
  153. package/dist/index79.js +2 -2
  154. package/dist/index81.js +1 -1
  155. package/dist/index84.js +4 -4
  156. package/dist/index86.js +2 -2
  157. package/dist/index88.js +4 -4
  158. package/dist/index90.js +1 -1
  159. package/package.json +1 -1
  160. package/dist/index210.js +0 -96
  161. package/dist/index229.js +0 -18
  162. package/dist/index236.js +0 -10
  163. package/dist/index271.js +0 -11
  164. package/dist/index305.js +0 -11
  165. package/dist/index318.js +0 -7
package/dist/index79.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
2
- import { findInTree as ae } from "./index269.js";
2
+ import { findInTree as ae } from "./index293.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index128.js";
5
5
  /* empty css */
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
53
53
  const r = a.accept[t];
54
54
  if (r.includes("/")) e.push(r);
55
55
  else {
56
- b || (b = (await import("./index268.js")).default);
56
+ b || (b = (await import("./index292.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index81.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index270.js";
2
+ import { throttle as c } from "./index294.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index84.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, nextTick as re, onBeforeUnmount as A, onMounted as ue, watch as ce, openBlock as g, createBlock as de, withCtx as fe, createElementVNode as s, mergeProps as E, createElementBlock as $, renderSlot as n, createTextVNode as ve, toDisplayString as H, unref as pe, createCommentVNode as T } from "vue";
2
- import { useFocusTrap as be } from "./index208.js";
2
+ import { useFocusTrap as be } from "./index212.js";
3
3
  import { useId as I } from "./index8.js";
4
4
  import { wait as D } from "./index130.js";
5
- import { useModalsState as b } from "./index244.js";
6
- import me from "./index245.js";
5
+ import { useModalsState as b } from "./index214.js";
6
+ import me from "./index215.js";
7
7
  import { useMobile as ye } from "./index9.js";
8
- import { useLocale as he } from "./index217.js";
8
+ import { useLocale as he } from "./index216.js";
9
9
  const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
10
10
  __name: "BbOffCanvas",
11
11
  props: {
package/dist/index86.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
2
- import { debounce as T } from "./index305.js";
2
+ import { debounce as T } from "./index291.js";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import z from "./index13.js";
6
6
  /* empty css */
7
- import { useLocale as D } from "./index217.js";
7
+ import { useLocale as D } from "./index216.js";
8
8
  const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
9
9
  __name: "BbPagination",
10
10
  props: {
package/dist/index88.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
2
- import { useFocusTrap as j } from "./index208.js";
2
+ import { useFocusTrap as j } from "./index212.js";
3
3
  import { useId as G } from "./index8.js";
4
4
  import { useIntersectionObserver as J } from "./index132.js";
5
- import { waitFor as K } from "./index243.js";
5
+ import { waitFor as K } from "./index213.js";
6
6
  import Q from "./index13.js";
7
7
  /* empty css */
8
- import U from "./index210.js";
8
+ import U from "./index228.js";
9
9
  /* empty css */
10
- import { useLocale as X } from "./index217.js";
10
+ import { useLocale as X } from "./index216.js";
11
11
  import { useDebounceFn as Y } from "./index206.js";
12
12
  const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
13
13
  __name: "BbPopover",
package/dist/index90.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index218.js";
2
+ import { clamp as p } from "./index207.js";
3
3
  import { getAsPercentageBetween as i } from "./index131.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.159",
3
+ "version": "2.0.160",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
package/dist/index210.js DELETED
@@ -1,96 +0,0 @@
1
- import { defineComponent as h, toRef as y, ref as o, computed as n, watch as x, openBlock as b, createBlock as $, withCtx as A, createElementBlock as k, mergeProps as l, createElementVNode as f, renderSlot as B } from "vue";
2
- import C from "./index245.js";
3
- import c from "./index321.js";
4
- import { useFloating as D, arrow as E } from "./index259.js";
5
- import { autoUpdate as P, flip as F, offset as M, shift as S } from "./index262.js";
6
- const W = /* @__PURE__ */ h({
7
- __name: "CommonFloating",
8
- props: {
9
- arrowPadding: {},
10
- eager: { type: Boolean },
11
- offset: {},
12
- padding: {},
13
- placement: {},
14
- theme: { default: "default" },
15
- transitionDuration: {},
16
- containerAttributes: { default: () => ({}) },
17
- bubbleAttributes: {},
18
- wrapper: {},
19
- baseClass: {},
20
- open: { type: Boolean },
21
- teleportTarget: {}
22
- },
23
- setup(d) {
24
- const e = d, m = y(e, "wrapper"), i = o(), s = o(), p = o(), { floatingStyles: g, placement: w, middlewareData: a } = D(
25
- i,
26
- s,
27
- {
28
- placement: e.placement,
29
- whileElementsMounted: P,
30
- middleware: [
31
- F(),
32
- M(e.offset),
33
- S({ padding: e.padding }),
34
- E({
35
- element: p,
36
- padding: e.arrowPadding
37
- })
38
- ]
39
- }
40
- ), _ = n(() => {
41
- if (a.value.arrow) {
42
- const { x: t, y: r } = a.value.arrow;
43
- return {
44
- style: {
45
- left: `${t}px`,
46
- top: `${r}px`
47
- }
48
- };
49
- }
50
- }), u = n(() => {
51
- var t, r;
52
- return c({}, e.containerAttributes, {
53
- class: {
54
- "bb-floating": !0,
55
- [`bb-floating--${w.value}`]: !0,
56
- [`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
57
- "bb-floating--hidden": !e.open,
58
- "bb-floating--open": e.open
59
- },
60
- style: {
61
- ...g.value,
62
- "--transition-duration": `${e.transitionDuration}ms`,
63
- "--arrow-offset-x": Math.round(((r = (t = a.value) == null ? void 0 : t.arrow) == null ? void 0 : r.x) ?? 0) + "px"
64
- },
65
- tabindex: e.open ? void 0 : -1
66
- });
67
- }), v = n(() => c({}, e.bubbleAttributes, {}));
68
- return x(
69
- () => e.open,
70
- (t) => {
71
- t && (i.value = m.value);
72
- }
73
- ), (t, r) => (b(), $(C, { target: t.teleportTarget }, {
74
- default: A(() => [
75
- (b(), k("span", l(u.value, {
76
- key: u.value.id,
77
- ref_key: "content",
78
- ref: s
79
- }), [
80
- f("span", l({
81
- ref_key: "bubblearrow",
82
- ref: p,
83
- class: "bb-floating__arrow"
84
- }, _.value), null, 16),
85
- f("span", l({ class: "bb-floating__bubble" }, v.value), [
86
- B(t.$slots, "default")
87
- ], 16)
88
- ], 16))
89
- ]),
90
- _: 3
91
- }, 8, ["target"]));
92
- }
93
- });
94
- export {
95
- W as default
96
- };
package/dist/index229.js DELETED
@@ -1,18 +0,0 @@
1
- import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index287.js";
2
- import { __module as e } from "./index289.js";
3
- (function(s, a) {
4
- (function(i, t) {
5
- s.exports = t();
6
- })(n, function() {
7
- return function(i, t) {
8
- t.prototype.isSameOrAfter = function(r, o) {
9
- return this.isSame(r, o) || this.isAfter(r, o);
10
- };
11
- };
12
- });
13
- })(e);
14
- var m = e.exports;
15
- const c = /* @__PURE__ */ f(m);
16
- export {
17
- c as default
18
- };
package/dist/index236.js DELETED
@@ -1,10 +0,0 @@
1
- const o = "bitboss-ui | ", e = () => ({
2
- warn: (r) => console.warn(`${o}${r}`),
3
- error: (r) => console.error(`${o}${r}`),
4
- throw: (r) => {
5
- throw new Error(`${o}${r}`);
6
- }
7
- });
8
- export {
9
- e as useLogger
10
- };
package/dist/index271.js DELETED
@@ -1,11 +0,0 @@
1
- const o = (n, t) => {
2
- for (let e = n.length - 1; e >= 0; e--) {
3
- const i = n[e];
4
- if (t(i, e, n))
5
- return e;
6
- }
7
- return -1;
8
- };
9
- export {
10
- o as findRightIndex
11
- };
package/dist/index305.js DELETED
@@ -1,11 +0,0 @@
1
- function u(e, i) {
2
- let t;
3
- return function(...o) {
4
- t !== void 0 && clearTimeout(t), t = setTimeout(() => {
5
- e.apply(this, o);
6
- }, i);
7
- };
8
- }
9
- export {
10
- u as debounce
11
- };
package/dist/index318.js DELETED
@@ -1,7 +0,0 @@
1
- import { getType as t } from "./index329.js";
2
- function o(r) {
3
- return t(r) === "Array";
4
- }
5
- export {
6
- o as isArray
7
- };