bitboss-ui 2.0.175 → 2.0.176

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 (195) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +1 -1
  2. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +1 -0
  3. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +34 -27
  4. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
  5. package/dist/components/BbDialog/BbDialog.vue.d.ts +8 -3
  6. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
  7. package/dist/components/BbToast/BbToast.vue.d.ts +1 -1
  8. package/dist/index.css +1 -1
  9. package/dist/index106.js +9 -9
  10. package/dist/index111.js +1 -1
  11. package/dist/index113.js +1 -1
  12. package/dist/index121.js +11 -11
  13. package/dist/index129.js +20 -26
  14. package/dist/index13.js +1 -1
  15. package/dist/index131.js +4 -4
  16. package/dist/index133.js +1 -1
  17. package/dist/index136.js +1 -1
  18. package/dist/index137.js +2 -2
  19. package/dist/index138.js +1 -1
  20. package/dist/index139.js +2 -2
  21. package/dist/index15.js +9 -9
  22. package/dist/index17.js +2 -2
  23. package/dist/index19.js +8 -8
  24. package/dist/index207.js +2 -2
  25. package/dist/index208.js +2 -2
  26. package/dist/index209.js +13 -86
  27. package/dist/index21.js +16 -16
  28. package/dist/index210.js +68 -0
  29. package/dist/index212.js +175 -15
  30. package/dist/index213.js +86 -51
  31. package/dist/index215.js +29 -3
  32. package/dist/index216.js +16 -11
  33. package/dist/index217.js +48 -13
  34. package/dist/index218.js +15 -2
  35. package/dist/index219.js +3 -2
  36. package/dist/index220.js +11 -17
  37. package/dist/index221.js +15 -11
  38. package/dist/index222.js +33 -12
  39. package/dist/index223.js +2 -6
  40. package/dist/index224.js +1 -1
  41. package/dist/index225.js +2 -106
  42. package/dist/index226.js +7 -0
  43. package/dist/index227.js +5 -100
  44. package/dist/index228.js +7 -0
  45. package/dist/index229.js +5 -66
  46. package/dist/index23.js +15 -15
  47. package/dist/index230.js +7 -0
  48. package/dist/index231.js +5 -13
  49. package/dist/index232.js +2 -120
  50. package/dist/index233.js +4 -0
  51. package/dist/index234.js +2 -228
  52. package/dist/index235.js +13 -2
  53. package/dist/index236.js +11 -2
  54. package/dist/index237.js +20 -2
  55. package/dist/index238.js +113 -41
  56. package/dist/index240.js +102 -11
  57. package/dist/index242.js +100 -3
  58. package/dist/index244.js +4 -34
  59. package/dist/index245.js +194 -174
  60. package/dist/index247.js +18 -5
  61. package/dist/index248.js +12 -5
  62. package/dist/index249.js +6 -5
  63. package/dist/index25.js +154 -224
  64. package/dist/index250.js +228 -5
  65. package/dist/index251.js +13 -5
  66. package/dist/index252.js +3 -5
  67. package/dist/index253.js +5 -8
  68. package/dist/index254.js +5 -250
  69. package/dist/index255.js +6 -50
  70. package/dist/index256.js +242 -36
  71. package/dist/index257.js +52 -5
  72. package/dist/index258.js +31 -47
  73. package/dist/index259.js +5 -4
  74. package/dist/index260.js +60 -11
  75. package/dist/index261.js +2 -20
  76. package/dist/index262.js +2 -200
  77. package/dist/index263.js +11 -0
  78. package/dist/index264.js +23 -5
  79. package/dist/index265.js +10 -2
  80. package/dist/index266.js +3 -2
  81. package/dist/index267.js +41 -6
  82. package/dist/index268.js +7 -16
  83. package/dist/index269.js +15 -3
  84. package/dist/index27.js +1 -1
  85. package/dist/index270.js +3 -9
  86. package/dist/index271.js +6 -23
  87. package/dist/index272.js +16 -9
  88. package/dist/index273.js +9 -9
  89. package/dist/index274.js +9 -8
  90. package/dist/index275.js +7 -66
  91. package/dist/index276.js +2 -5
  92. package/dist/index277.js +5 -2
  93. package/dist/index278.js +67 -5
  94. package/dist/index279.js +4 -7
  95. package/dist/index280.js +8 -3
  96. package/dist/index282.js +7 -28
  97. package/dist/index283.js +3 -471
  98. package/dist/index284.js +3 -2
  99. package/dist/index285.js +17 -7
  100. package/dist/index286.js +27 -10
  101. package/dist/index287.js +2 -4
  102. package/dist/index289.js +4 -5
  103. package/dist/index29.js +3 -3
  104. package/dist/index290.js +278 -198
  105. package/dist/index291.js +2 -3
  106. package/dist/index292.js +125 -3
  107. package/dist/index293.js +2 -3
  108. package/dist/index294.js +17 -0
  109. package/dist/index295.js +2 -7
  110. package/dist/index296.js +16 -3
  111. package/dist/index297.js +2 -2
  112. package/dist/index298.js +16 -3
  113. package/dist/index299.js +2 -280
  114. package/dist/index300.js +19 -2
  115. package/dist/index301.js +2 -16
  116. package/dist/index302.js +3 -2
  117. package/dist/index303.js +7 -16
  118. package/dist/index304.js +11 -2
  119. package/dist/index305.js +3 -19
  120. package/dist/index306.js +3 -2
  121. package/dist/index307.js +3 -15
  122. package/dist/index308.js +6 -2
  123. package/dist/index309.js +2 -19
  124. package/dist/index31.js +1 -1
  125. package/dist/index310.js +5 -2
  126. package/dist/index311.js +15 -23
  127. package/dist/index313.js +27 -2
  128. package/dist/index314.js +2 -2
  129. package/dist/index316.js +1 -1
  130. package/dist/index317.js +1 -21
  131. package/dist/index318.js +4 -0
  132. package/dist/index319.js +22 -6
  133. package/dist/index321.js +471 -2
  134. package/dist/index322.js +1 -1
  135. package/dist/index323.js +2 -2
  136. package/dist/index324.js +199 -700
  137. package/dist/index325.js +699 -352
  138. package/dist/index326.js +354 -58
  139. package/dist/index327.js +58 -2
  140. package/dist/index328.js +2 -228
  141. package/dist/index329.js +6 -128
  142. package/dist/index33.js +8 -8
  143. package/dist/index330.js +44 -366
  144. package/dist/index331.js +128 -6
  145. package/dist/index332.js +366 -16
  146. package/dist/index333.js +6 -6
  147. package/dist/index334.js +17 -45
  148. package/dist/index335.js +32 -7
  149. package/dist/index336.js +28 -6
  150. package/dist/index340.js +7 -32
  151. package/dist/index341.js +6 -28
  152. package/dist/index343.js +221 -86
  153. package/dist/index344.js +89 -125
  154. package/dist/index345.js +467 -421
  155. package/dist/index346.js +123 -121
  156. package/dist/index348.js +5 -0
  157. package/dist/index349.js +47 -3
  158. package/dist/index35.js +4 -4
  159. package/dist/index350.js +429 -40
  160. package/dist/index351.js +129 -0
  161. package/dist/index37.js +19 -19
  162. package/dist/index39.js +5 -5
  163. package/dist/index41.js +1 -1
  164. package/dist/index43.js +8 -8
  165. package/dist/index45.js +8 -8
  166. package/dist/index47.js +2 -2
  167. package/dist/index49.js +3 -3
  168. package/dist/index53.js +1 -1
  169. package/dist/index55.js +1 -1
  170. package/dist/index57.js +2 -2
  171. package/dist/index61.js +3 -3
  172. package/dist/index67.js +1 -1
  173. package/dist/index73.js +23 -26
  174. package/dist/index77.js +32 -34
  175. package/dist/index79.js +4 -4
  176. package/dist/index81.js +1 -1
  177. package/dist/index83.js +2 -2
  178. package/dist/index85.js +1 -1
  179. package/dist/index87.js +1 -1
  180. package/dist/index90.js +4 -4
  181. package/dist/index92.js +2 -2
  182. package/dist/index94.js +7 -6
  183. package/dist/index96.js +1 -1
  184. package/dist/utilities/functions/parseSize.d.ts +2 -0
  185. package/package.json +2 -2
  186. package/dist/index211.js +0 -31
  187. package/dist/index214.js +0 -17
  188. package/dist/index239.js +0 -9
  189. package/dist/index241.js +0 -12
  190. package/dist/index243.js +0 -5
  191. package/dist/index246.js +0 -7
  192. package/dist/index281.js +0 -19
  193. package/dist/index320.js +0 -127
  194. package/dist/index347.js +0 -484
  195. /package/dist/{index337.js → index342.js} +0 -0
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 "./index209.js";
4
+ import N from "./index213.js";
5
5
  /* empty css */
6
- import { useItemsGetter as U } from "./index211.js";
7
- import { useIndexById as T } from "./index212.js";
8
- import { useBaseOptions as q } from "./index213.js";
9
- import { useCoherence as J } from "./index214.js";
10
- import { hash as Q } from "./index215.js";
11
- import { useHashedWatcher as $ } from "./index216.js";
12
- import { usePrefill as X } from "./index217.js";
6
+ import { useItemsGetter as U } from "./index215.js";
7
+ import { useIndexById as T } from "./index216.js";
8
+ import { useBaseOptions as q } from "./index217.js";
9
+ import { useCoherence as J } from "./index218.js";
10
+ import { hash as Q } from "./index219.js";
11
+ import { useHashedWatcher as $ } from "./index220.js";
12
+ import { usePrefill as X } from "./index221.js";
13
13
  const ue = /* @__PURE__ */ j({
14
14
  __name: "BaseSwitchGroup",
15
15
  props: {
package/dist/index45.js CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
3
3
  /* empty css */
4
4
  import ae from "./index111.js";
5
5
  /* empty css */
6
- import { last as le } from "./index219.js";
7
- import { useBaseOptions as ne } from "./index213.js";
8
- import { useIndexById as re } from "./index212.js";
9
- import ie from "./index225.js";
6
+ import { last as le } from "./index234.js";
7
+ import { useBaseOptions as ne } from "./index217.js";
8
+ import { useIndexById as re } from "./index216.js";
9
+ import ie from "./index240.js";
10
10
  /* empty css */
11
- import ue from "./index227.js";
11
+ import ue from "./index242.js";
12
12
  /* empty css */
13
- import se from "./index229.js";
13
+ import se from "./index210.js";
14
14
  /* empty css */
15
- import de from "./index231.js";
16
- import { isEmpty as pe } from "./index218.js";
15
+ import de from "./index209.js";
16
+ import { isEmpty as pe } from "./index233.js";
17
17
  const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__PURE__ */ Q({
18
18
  __name: "BaseTag",
19
19
  props: {
package/dist/index47.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, createBlock as $, openBlock as k, normalizeClass as C, withCtx as r, createVNode as i, unref as T, createElementVNode as v, mergeProps as x, renderSlot as t } from "vue";
2
- import E from "./index231.js";
3
- import G from "./index229.js";
2
+ import E from "./index209.js";
3
+ import G from "./index210.js";
4
4
  /* empty css */
5
5
  import M from "./index111.js";
6
6
  /* empty css */
package/dist/index49.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as V, ref as h, computed as v, onMounted as B, onBeforeUnmount as M, watch as g, createElementBlock as i, openBlock as r, Fragment as w, createVNode as m, createElementVNode as $, normalizeClass as C, withCtx as n, unref as q, mergeProps as b, renderSlot as d } from "vue";
2
- import E from "./index229.js";
2
+ import E from "./index210.js";
3
3
  /* empty css */
4
- import I from "./index231.js";
4
+ import I from "./index209.js";
5
5
  import { isNotNil as N } from "./index140.js";
6
- import { MaskInput as z } from "./index245.js";
6
+ import { MaskInput as z } from "./index212.js";
7
7
  const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
8
8
  __name: "BaseTextInput",
9
9
  props: {
package/dist/index53.js CHANGED
@@ -3,7 +3,7 @@ import B from "./index69.js";
3
3
  /* empty css */
4
4
  import L from "./index85.js";
5
5
  /* empty css */
6
- import { useLocale as g } from "./index222.js";
6
+ import { useLocale as g } from "./index235.js";
7
7
  const $ = {
8
8
  class: "bb-alert__inner-container",
9
9
  role: "alert"
package/dist/index55.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
2
- import { isCssColor as y } from "./index236.js";
2
+ import { isCssColor as y } from "./index223.js";
3
3
  import { wait as C } from "./index135.js";
4
4
  const w = ["alt", "sizes", "src", "srcset"], B = {
5
5
  key: 1,
package/dist/index57.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
2
- import { isCssColor as l } from "./index236.js";
3
- import { isNil as B } from "./index237.js";
2
+ import { isCssColor as l } from "./index223.js";
3
+ import { isNil as B } from "./index262.js";
4
4
  const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
5
5
  __name: "BbBadge",
6
6
  props: {
package/dist/index61.js CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
7
7
  /* empty css */
8
8
  import T from "./index113.js";
9
9
  /* empty css */
10
- import { pickBy as W } from "./index241.js";
11
- import { noop as w } from "./index242.js";
12
- import { useLocale as D } from "./index222.js";
10
+ import { pickBy as W } from "./index265.js";
11
+ import { noop as w } from "./index266.js";
12
+ import { useLocale as D } from "./index235.js";
13
13
  const E = {
14
14
  key: 2,
15
15
  class: "bb-button__loading-label sr-only"
package/dist/index67.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
2
- import { useLocale as f } from "./index222.js";
2
+ import { useLocale as f } from "./index235.js";
3
3
  const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
4
4
  __name: "BbChip",
5
5
  props: {
package/dist/index73.js CHANGED
@@ -1,42 +1,39 @@
1
- import { defineComponent as g, createBlock as i, openBlock as r, unref as e, createSlots as x, withCtx as s, createElementVNode as C, createElementBlock as b, createCommentVNode as a, createVNode as V, toDisplayString as c, createTextVNode as k } from "vue";
1
+ import { defineComponent as v, createBlock as i, openBlock as n, unref as e, normalizeClass as x, createSlots as C, withCtx as s, createElementVNode as V, createElementBlock as b, createCommentVNode as a, createVNode as $, toDisplayString as c, createTextVNode as k } from "vue";
2
2
  import { state as t, processMessage as l } from "./index6.js";
3
- import $ from "./index25.js";
3
+ import z from "./index25.js";
4
4
  /* empty css */
5
5
  import h from "./index113.js";
6
6
  /* empty css */
7
- import v from "./index61.js";
7
+ import B from "./index61.js";
8
8
  /* empty css */
9
- const z = { class: "bb-confirm__content" }, N = {
9
+ const N = { class: "bb-confirm__content" }, w = {
10
10
  key: 0,
11
11
  class: "bb-confirm__spinner"
12
- }, w = {
12
+ }, T = {
13
13
  key: 1,
14
14
  class: "bb-confirm__text"
15
- }, F = /* @__PURE__ */ g({
15
+ }, G = /* @__PURE__ */ v({
16
16
  __name: "BbConfirm",
17
- setup(T) {
18
- const B = (m) => {
17
+ setup(E) {
18
+ const g = (m) => {
19
19
  l(m);
20
20
  };
21
- return (m, n) => {
21
+ return (m, r) => {
22
22
  var u, f, d, _;
23
- return r(), i($, {
23
+ return n(), i(z, {
24
+ class: x(["bb-confirm", `bb-confirm--${((u = e(t).current) == null ? void 0 : u.theme) || "default"}`]),
24
25
  "model-value": e(t).processing,
25
- "overlay-classes": [
26
- "bb-confirm",
27
- `bb-confirm--${((u = e(t).current) == null ? void 0 : u.theme) || "default"}`
28
- ],
29
26
  persistent: e(t).yesBusy || e(t).noBusy || e(t).loading,
30
27
  "show-close": !(e(t).yesBusy || e(t).noBusy || e(t).loading),
31
28
  size: (f = e(t).current) == null ? void 0 : f.size,
32
29
  title: (d = e(t).current) == null ? void 0 : d.title,
33
- "onUpdate:modelValue": B
34
- }, x({
30
+ "onUpdate:modelValue": g
31
+ }, C({
35
32
  default: s(() => [
36
- C("div", z, [
37
- e(t).loading ? (r(), b("div", N, [
38
- V(h, { size: "36" })
39
- ])) : e(t).current ? (r(), b("div", w, c(e(t).current.text), 1)) : a("", !0)
33
+ V("div", N, [
34
+ e(t).loading ? (n(), b("div", w, [
35
+ $(h, { size: "36" })
36
+ ])) : e(t).current ? (n(), b("div", T, c(e(t).current.text), 1)) : a("", !0)
40
37
  ])
41
38
  ]),
42
39
  _: 2
@@ -46,12 +43,12 @@ const z = { class: "bb-confirm__content" }, N = {
46
43
  fn: s(() => {
47
44
  var p, y;
48
45
  return [
49
- ((p = e(t).current) == null ? void 0 : p.no) !== !1 ? (r(), i(v, {
46
+ ((p = e(t).current) == null ? void 0 : p.no) !== !1 ? (n(), i(B, {
50
47
  key: 0,
51
48
  "auto-loading": "",
52
49
  class: "bb-confirm__no",
53
50
  inert: e(t).yesBusy,
54
- onClick: n[0] || (n[0] = (o) => e(l)(!1))
51
+ onClick: r[0] || (r[0] = (o) => e(l)(!1))
55
52
  }, {
56
53
  default: s(() => {
57
54
  var o;
@@ -61,12 +58,12 @@ const z = { class: "bb-confirm__content" }, N = {
61
58
  }),
62
59
  _: 1
63
60
  }, 8, ["inert"])) : a("", !0),
64
- ((y = e(t).current) == null ? void 0 : y.yes) !== !1 ? (r(), i(v, {
61
+ ((y = e(t).current) == null ? void 0 : y.yes) !== !1 ? (n(), i(B, {
65
62
  key: 1,
66
63
  "auto-loading": "",
67
64
  class: "bb-confirm__yes",
68
65
  inert: e(t).noBusy,
69
- onClick: n[1] || (n[1] = (o) => e(l)(!0))
66
+ onClick: r[1] || (r[1] = (o) => e(l)(!0))
70
67
  }, {
71
68
  default: s(() => {
72
69
  var o;
@@ -80,10 +77,10 @@ const z = { class: "bb-confirm__content" }, N = {
80
77
  }),
81
78
  key: "0"
82
79
  } : void 0
83
- ]), 1032, ["model-value", "overlay-classes", "persistent", "show-close", "size", "title"]);
80
+ ]), 1032, ["class", "model-value", "persistent", "show-close", "size", "title"]);
84
81
  };
85
82
  }
86
83
  });
87
84
  export {
88
- F as default
85
+ G as default
89
86
  };
package/dist/index77.js CHANGED
@@ -1,60 +1,58 @@
1
- import { defineComponent as d, computed as u, createBlock as m, openBlock as f, mergeProps as y, withCtx as l, renderSlot as t, normalizeProps as a, guardReactiveProps as r } from "vue";
2
- import $ from "./index25.js";
1
+ import { defineComponent as m, mergeModels as i, useModel as u, createBlock as f, openBlock as B, mergeProps as $, withCtx as t, renderSlot as s, normalizeProps as a, guardReactiveProps as n } from "vue";
2
+ import y from "./index25.js";
3
3
  /* empty css */
4
- const g = /* @__PURE__ */ d({
4
+ const C = /* @__PURE__ */ m({
5
5
  __name: "BbDialog",
6
- props: {
6
+ props: /* @__PURE__ */ i({
7
7
  closeLabel: {},
8
8
  compact: { type: Boolean },
9
9
  disabled: { type: Boolean },
10
10
  eager: { type: Boolean },
11
- panelClasses: {},
12
- overlayClasses: {},
13
11
  persistent: { type: Boolean },
14
12
  showClose: { type: Boolean, default: !0 },
15
13
  title: {},
16
- transition: {},
17
14
  transitionDuration: {},
18
15
  size: {},
19
16
  description: {},
20
17
  focusTarget: {},
21
18
  fullscreen: { type: [Boolean, String] },
22
- modelValue: { type: [Boolean, null] }
23
- },
24
- emits: ["shown", "hidden", "update:modelValue"],
25
- setup(i) {
26
- const n = i, p = u(() => {
27
- let e = ["bb-dialog"];
28
- return n.overlayClasses && (e = e.concat(n.overlayClasses)), e;
29
- });
30
- return (e, s) => (f(), m($, y(e.$props, {
31
- "overlay-classes": p.value,
32
- onHidden: s[0] || (s[0] = () => e.$emit("hidden")),
33
- onShown: s[1] || (s[1] = () => e.$emit("shown")),
34
- "onUpdate:modelValue": s[2] || (s[2] = (o) => e.$emit("update:modelValue", o))
19
+ panelClasses: {},
20
+ overlayClasses: {}
21
+ }, {
22
+ modelValue: { type: Boolean, default: !1 },
23
+ modelModifiers: {}
24
+ }),
25
+ emits: /* @__PURE__ */ i(["shown", "hidden"], ["update:modelValue"]),
26
+ setup(r) {
27
+ const p = r, d = u(r, "modelValue");
28
+ return (o, l) => (B(), f(y, $(p, {
29
+ modelValue: d.value,
30
+ "onUpdate:modelValue": l[0] || (l[0] = (e) => d.value = e),
31
+ onHidden: l[1] || (l[1] = () => o.$emit("hidden")),
32
+ onShown: l[2] || (l[2] = () => o.$emit("shown"))
35
33
  }), {
36
- close: l((o) => [
37
- t(e.$slots, "close", a(r(o)))
34
+ close: t((e) => [
35
+ s(o.$slots, "close", a(n(e)))
38
36
  ]),
39
- default: l((o) => [
40
- t(e.$slots, "default", a(r(o)))
37
+ default: t((e) => [
38
+ s(o.$slots, "default", a(n(e)))
41
39
  ]),
42
- description: l((o) => [
43
- t(e.$slots, "description", a(r(o)))
40
+ description: t((e) => [
41
+ s(o.$slots, "description", a(n(e)))
44
42
  ]),
45
- footer: l((o) => [
46
- t(e.$slots, "footer", a(r(o)))
43
+ footer: t((e) => [
44
+ s(o.$slots, "footer", a(n(e)))
47
45
  ]),
48
- header: l((o) => [
49
- t(e.$slots, "header", a(r(o)))
46
+ header: t((e) => [
47
+ s(o.$slots, "header", a(n(e)))
50
48
  ]),
51
- title: l((o) => [
52
- t(e.$slots, "title", a(r(o)))
49
+ title: t((e) => [
50
+ s(o.$slots, "title", a(n(e)))
53
51
  ]),
54
52
  _: 3
55
- }, 16, ["overlay-classes"]));
53
+ }, 16, ["modelValue"]));
56
54
  }
57
55
  });
58
56
  export {
59
- g as default
57
+ C as default
60
58
  };
package/dist/index79.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as N, computed as R, ref as g, watch as W, createBlock as h, openBlock as k, unref as f, normalizeClass as G, withCtx as T, createElementVNode as I, normalizeStyle as J, renderSlot as m, createElementBlock as q, Fragment as F, renderList as Q, createVNode as X, mergeProps as Y, createCommentVNode as A, toDisplayString as Z, normalizeProps as x, guardReactiveProps as ee } from "vue";
2
- import { findRightIndex as D } from "./index270.js";
2
+ import { findRightIndex as D } from "./index263.js";
3
3
  import { useId as te } from "./index8.js";
4
- import { useUntil as ne } from "./index260.js";
4
+ import { useUntil as ne } from "./index236.js";
5
5
  import { wait as oe } from "./index135.js";
6
6
  import ae from "./index13.js";
7
7
  /* empty css */
8
8
  import B from "./index85.js";
9
9
  /* empty css */
10
- import le from "./index232.js";
10
+ import le from "./index238.js";
11
11
  /* empty css */
12
- import K from "./index271.js";
12
+ import K from "./index264.js";
13
13
  const se = ["id", "aria-labelledby", "inert"], ie = { class: "item__content" }, ge = /* @__PURE__ */ N({
14
14
  __name: "BbDropdown",
15
15
  props: {
package/dist/index81.js CHANGED
@@ -9,7 +9,7 @@ import z from "./index85.js";
9
9
  /* empty css */
10
10
  import I from "./index113.js";
11
11
  /* empty css */
12
- import { useLocale as M } from "./index222.js";
12
+ import { useLocale as M } from "./index235.js";
13
13
  const O = { class: "bb-dropdown-button__content" }, R = {
14
14
  key: 1,
15
15
  class: "bb-dropdown-button__loading-label sr-only"
package/dist/index83.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, ref as g, watch as x, computed as m, createBlock as G, openBlock as V, 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 "./index268.js";
2
+ import { findInTree as ae } from "./index272.js";
3
3
  import { useId as re } from "./index8.js";
4
4
  import oe from "./index111.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("./index267.js")).default);
56
+ b || (b = (await import("./index271.js")).default);
57
57
  const o = b.getType(r);
58
58
  if (!o)
59
59
  throw new Error(
package/dist/index85.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, createElementBlock as h, openBlock as $, mergeProps as g } from "vue";
2
- import { isCssColor as I } from "./index236.js";
2
+ import { isCssColor as I } from "./index223.js";
3
3
  const B = ["innerHTML"], k = /* @__PURE__ */ v({
4
4
  __name: "BbIcon",
5
5
  props: {
package/dist/index87.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, createBlock as g, openBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
2
- import { throttle as c } from "./index269.js";
2
+ import { throttle as c } from "./index270.js";
3
3
  const M = /* @__PURE__ */ h({
4
4
  __name: "BbIntersection",
5
5
  props: {
package/dist/index90.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, onBeforeUnmount as A, onMounted as re, watch as ue, createBlock as ce, openBlock as g, withCtx as de, createElementVNode as s, mergeProps as E, createElementBlock as $, createCommentVNode as T, renderSlot as n, createTextVNode as fe, toDisplayString as H, unref as ve, nextTick as pe } from "vue";
2
- import { useFocusTrap as be } from "./index238.js";
2
+ import { useFocusTrap as be } from "./index267.js";
3
3
  import { useId as I } from "./index8.js";
4
4
  import { wait as D } from "./index135.js";
5
- import { useModalsState as b } from "./index239.js";
6
- import me from "./index240.js";
5
+ import { useModalsState as b } from "./index268.js";
6
+ import me from "./index269.js";
7
7
  import { useMobile as ye } from "./index9.js";
8
- import { useLocale as he } from "./index222.js";
8
+ import { useLocale as he } from "./index235.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/index92.js CHANGED
@@ -3,8 +3,8 @@ import { defineComponent as V, mergeModels as W, useModel as U, computed as d, r
3
3
  /* empty css */
4
4
  import P from "./index13.js";
5
5
  /* empty css */
6
- import { debounce as X } from "./index272.js";
7
- import { useLocale as H } from "./index222.js";
6
+ import { debounce as X } from "./index273.js";
7
+ import { useLocale as H } from "./index235.js";
8
8
  import { useRoute as J } from "./index142.js";
9
9
  const K = ["aria-label"], Q = { class: "bb-pagination__page-label sr-only" }, Y = { class: "bb-pagination__page-label" }, Z = { class: "bb-pagination__page-label" }, ee = { class: "bb-pagination__page-label sr-only" }, ue = /* @__PURE__ */ V({
10
10
  __name: "BbPagination",
package/dist/index94.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as V, ref as m, computed as g, createBlock as k, openBlock as y, unref as i, normalizeClass as D, withCtx as v, createElementVNode as d, createCommentVNode as M, renderSlot as C, toDisplayString as z, normalizeProps as I, guardReactiveProps as O, nextTick as S } from "vue";
2
2
  import { useId as H } from "./index8.js";
3
3
  import { useIntersectionObserver as N } from "./index137.js";
4
- import { useLocale as U } from "./index222.js";
5
- import { useUntil as W } from "./index260.js";
4
+ import { useLocale as U } from "./index235.js";
5
+ import { useUntil as W } from "./index236.js";
6
6
  import q from "./index13.js";
7
7
  /* empty css */
8
- import A from "./index232.js";
8
+ import A from "./index238.js";
9
9
  /* empty css */
10
10
  const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @__PURE__ */ V({
11
11
  __name: "BbPopover",
@@ -37,9 +37,10 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
37
37
  );
38
38
  const o = m(!1), u = W(o), b = (e) => {
39
39
  var a;
40
- e.target instanceof HTMLElement && ((a = c.value) != null && a.contains(e.target) || s());
40
+ if (e.target instanceof HTMLElement && !((a = c.value) != null && a.contains(e.target)))
41
+ return s();
41
42
  }, T = async () => {
42
- o.value = !0, document.addEventListener("click", b);
43
+ o.value = !0, document.addEventListener("click", b, { passive: !0 });
43
44
  }, s = async () => {
44
45
  o.value = !1, document.removeEventListener("click", b);
45
46
  }, w = async (e) => {
@@ -83,11 +84,11 @@ const R = ["inert"], Z = { class: "bb-popover__close-label sr-only" }, ee = /* @
83
84
  width: E.value
84
85
  }
85
86
  },
87
+ dialog: "",
86
88
  offset: e.offset,
87
89
  padding: e.padding,
88
90
  placement: e.placement,
89
91
  "render-content": i(u),
90
- tag: "dialog",
91
92
  "transition-duration": e.transitionDuration
92
93
  }, {
93
94
  activator: v(() => [
package/dist/index96.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, computed as a, createElementBlock as l, openBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
2
- import { clamp as p } from "./index207.js";
2
+ import { clamp as p } from "./index208.js";
3
3
  import { getAsPercentageBetween as i } from "./index136.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
@@ -0,0 +1,2 @@
1
+ import { Sizes } from '../../components/BaseDialog/BaseDialog.vue';
2
+ export declare const parseSize: (size: string | number, sizes: Sizes) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.175",
3
+ "version": "2.0.176",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -93,4 +93,4 @@
93
93
  "lint-staged": {
94
94
  "*.{js,css,md,html,json,vue,ts}": "prettier --write"
95
95
  }
96
- }
96
+ }
package/dist/index211.js DELETED
@@ -1,31 +0,0 @@
1
- import { ref as a, computed as s, unref as v } from "vue";
2
- import { useDebounceFn as f } from "./index206.js";
3
- const p = (u) => {
4
- const e = a(0), r = s(() => v(u.items)), t = a([]), n = async (...l) => {
5
- if (Array.isArray(r.value))
6
- t.value = r.value;
7
- else if (typeof r.value == "function") {
8
- const i = ++e.value;
9
- try {
10
- const o = await r.value(...l);
11
- if (i < e.value) {
12
- e.value--;
13
- return;
14
- } else
15
- t.value = o;
16
- } catch (o) {
17
- console.error(o);
18
- }
19
- e.value--;
20
- }
21
- }, c = f(n, u.debounce || 0);
22
- return {
23
- getter: n,
24
- debouncedGetter: c,
25
- items: t,
26
- loading: s(() => !!e.value)
27
- };
28
- };
29
- export {
30
- p as useItemsGetter
31
- };
package/dist/index214.js DELETED
@@ -1,17 +0,0 @@
1
- import { isNil as f } from "./index237.js";
2
- import { computed as t, unref as o } from "vue";
3
- const a = ({ modelValue: e, iteratee: h, multiple: u }) => {
4
- const i = t(
5
- () => new Array().concat(o(e))
6
- ), s = t(() => i.value.reduce(
7
- (r, n) => (h(n) ? r.coherent.push(n) : r.incoherent.push(n), r),
8
- { coherent: [], incoherent: [] }
9
- )), c = t(() => u && !o(e).length || !u && f(o(e)) ? !0 : !s.value.incoherent.length);
10
- return {
11
- status: s,
12
- coherent: c
13
- };
14
- };
15
- export {
16
- a as useCoherence
17
- };
package/dist/index239.js DELETED
@@ -1,9 +0,0 @@
1
- import { ref as e } from "vue";
2
- const o = e(0), s = () => {
3
- o.value++;
4
- }, a = () => {
5
- o.value--;
6
- }, d = () => ({ openedModals: o, modalHasOpened: s, modalHasClosed: a });
7
- export {
8
- d as useModalsState
9
- };
package/dist/index241.js DELETED
@@ -1,12 +0,0 @@
1
- const o = (t, r) => {
2
- const e = {};
3
- for (const c in t)
4
- if (Object.prototype.hasOwnProperty.call(t, c)) {
5
- const n = t[c];
6
- r(n, c, t) && (e[c] = n);
7
- }
8
- return e;
9
- };
10
- export {
11
- o as pickBy
12
- };
package/dist/index243.js DELETED
@@ -1,5 +0,0 @@
1
- import r from "./index289.js";
2
- const t = r;
3
- export {
4
- t as deburr
5
- };
package/dist/index246.js DELETED
@@ -1,7 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./index319.js";
2
- import { __require as o } from "./index299.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
5
- export {
6
- s as default
7
- };
package/dist/index281.js DELETED
@@ -1,19 +0,0 @@
1
- import { get as t } from "./index286.js";
2
- const o = () => ({
3
- getItemText(r, n) {
4
- if (typeof r == "string" && !n) return r;
5
- if (n) {
6
- if (typeof n == "function") {
7
- let f = n(r);
8
- return typeof f != "string" && (f = JSON.stringify(f)), f;
9
- } else if (typeof n == "string") {
10
- const f = t(r, n);
11
- return typeof f == "string" ? f : JSON.stringify(f);
12
- }
13
- }
14
- return JSON.stringify(r);
15
- }
16
- });
17
- export {
18
- o as useItemText
19
- };