bitboss-ui 2.0.67 → 2.0.68

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 (153) hide show
  1. package/dist/index100.js +13 -13
  2. package/dist/index102.js +11 -11
  3. package/dist/index104.js +15 -15
  4. package/dist/index110.js +5 -5
  5. package/dist/index112.js +12 -12
  6. package/dist/index114.js +13 -13
  7. package/dist/index116.js +26 -26
  8. package/dist/index118.js +1 -1
  9. package/dist/index120.js +5 -5
  10. package/dist/index122.js +1 -1
  11. package/dist/index126.js +1 -1
  12. package/dist/index127.js +1 -1
  13. package/dist/index128.js +1 -1
  14. package/dist/index13.js +1 -1
  15. package/dist/index130.js +1 -1
  16. package/dist/index132.js +2 -2
  17. package/dist/index133.js +2 -2
  18. package/dist/index15.js +4 -4
  19. package/dist/index17.js +3 -3
  20. package/dist/index19.js +2 -2
  21. package/dist/index204.js +2 -81
  22. package/dist/index205.js +2 -2
  23. package/dist/index206.js +4 -162
  24. package/dist/index207.js +2 -84
  25. package/dist/index208.js +83 -0
  26. package/dist/index209.js +8 -3
  27. package/dist/index21.js +1 -1
  28. package/dist/index210.js +53 -41
  29. package/dist/index212.js +13 -7
  30. package/dist/index213.js +19 -7
  31. package/dist/index214.js +4 -3
  32. package/dist/index215.js +5 -281
  33. package/dist/index216.js +2 -2
  34. package/dist/index217.js +2 -2
  35. package/dist/index218.js +16 -16
  36. package/dist/index219.js +2 -2
  37. package/dist/index220.js +2 -2
  38. package/dist/index221.js +1 -1
  39. package/dist/index223.js +3 -3
  40. package/dist/index226.js +2 -2
  41. package/dist/index227.js +1 -1
  42. package/dist/index228.js +155 -119
  43. package/dist/index229.js +84 -125
  44. package/dist/index23.js +10 -10
  45. package/dist/index231.js +124 -18
  46. package/dist/index232.js +124 -52
  47. package/dist/index234.js +40 -12
  48. package/dist/index235.js +6 -5
  49. package/dist/index236.js +5 -369
  50. package/dist/index237.js +368 -3
  51. package/dist/index238.js +3 -2
  52. package/dist/index239.js +7 -4
  53. package/dist/index240.js +10 -2
  54. package/dist/index241.js +3 -2
  55. package/dist/index242.js +2 -18
  56. package/dist/index243.js +17 -105
  57. package/dist/index244.js +108 -0
  58. package/dist/index248.js +2 -10
  59. package/dist/index249.js +3 -3
  60. package/dist/index25.js +5 -5
  61. package/dist/index250.js +3 -6
  62. package/dist/index251.js +6 -16
  63. package/dist/index252.js +16 -3
  64. package/dist/index256.js +4 -3
  65. package/dist/index257.js +3 -12
  66. package/dist/index259.js +7 -9
  67. package/dist/index260.js +174 -15
  68. package/dist/index261.js +280 -3
  69. package/dist/index262.js +5 -430
  70. package/dist/index263.js +2 -89
  71. package/dist/index264.js +2 -224
  72. package/dist/index265.js +2 -6
  73. package/dist/index266.js +2 -2
  74. package/dist/index269.js +2 -2
  75. package/dist/index27.js +1 -1
  76. package/dist/index270.js +2 -2
  77. package/dist/index271.js +2 -2
  78. package/dist/index272.js +1 -1
  79. package/dist/index273.js +28 -2
  80. package/dist/index274.js +21 -1
  81. package/dist/index276.js +3 -28
  82. package/dist/index277.js +12 -22
  83. package/dist/index279.js +9 -7
  84. package/dist/index280.js +14 -197
  85. package/dist/index281.js +4 -2
  86. package/dist/index282.js +2 -126
  87. package/dist/index283.js +121 -171
  88. package/dist/index284.js +431 -3
  89. package/dist/index287.js +4 -0
  90. package/dist/index288.js +191 -427
  91. package/dist/index289.js +422 -113
  92. package/dist/index29.js +3 -3
  93. package/dist/index290.js +126 -3
  94. package/dist/index291.js +5 -3
  95. package/dist/index292.js +65 -2
  96. package/dist/index293.js +88 -210
  97. package/dist/index294.js +3 -4
  98. package/dist/index295.js +3 -4
  99. package/dist/index296.js +209 -57
  100. package/dist/index297.js +224 -79
  101. package/dist/index298.js +81 -0
  102. package/dist/index300.js +5 -5
  103. package/dist/index301.js +8 -2
  104. package/dist/index302.js +4 -7
  105. package/dist/index303.js +4 -7
  106. package/dist/index304.js +57 -17
  107. package/dist/index305.js +3 -4
  108. package/dist/index306.js +32 -7
  109. package/dist/index307.js +6 -32
  110. package/dist/index308.js +18 -10
  111. package/dist/index309.js +6 -3
  112. package/dist/index31.js +2 -2
  113. package/dist/index310.js +10 -46
  114. package/dist/index311.js +47 -2
  115. package/dist/index312.js +2 -480
  116. package/dist/index313.js +482 -0
  117. package/dist/index315.js +420 -43
  118. package/dist/index316.js +47 -2
  119. package/dist/index317.js +4 -0
  120. package/dist/index33.js +2 -2
  121. package/dist/index35.js +3 -3
  122. package/dist/index37.js +41 -41
  123. package/dist/index39.js +3 -3
  124. package/dist/index41.js +2 -2
  125. package/dist/index43.js +2 -2
  126. package/dist/index45.js +5 -5
  127. package/dist/index47.js +2 -2
  128. package/dist/index49.js +2 -2
  129. package/dist/index55.js +1 -1
  130. package/dist/index57.js +1 -1
  131. package/dist/index61.js +2 -2
  132. package/dist/index63.js +15 -15
  133. package/dist/index65.js +12 -12
  134. package/dist/index67.js +14 -14
  135. package/dist/index71.js +12 -12
  136. package/dist/index75.js +1 -1
  137. package/dist/index79.js +2 -2
  138. package/dist/index81.js +1 -1
  139. package/dist/index82.js +12 -12
  140. package/dist/index84.js +2 -2
  141. package/dist/index88.js +3 -3
  142. package/dist/index90.js +1 -1
  143. package/dist/index96.js +12 -12
  144. package/package.json +2 -2
  145. package/dist/index211.js +0 -8
  146. package/dist/index247.js +0 -4
  147. package/dist/index275.js +0 -4
  148. package/dist/index299.js +0 -68
  149. package/dist/index314.js +0 -426
  150. /package/dist/{index230.js → index233.js} +0 -0
  151. /package/dist/{index245.js → index246.js} +0 -0
  152. /package/dist/{index258.js → index278.js} +0 -0
  153. /package/dist/{index286.js → index285.js} +0 -0
package/dist/index82.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent as w, ref as t, computed as g, openBlock as k, createBlock as $, withCtx as r, renderSlot as a, normalizeProps as s, guardReactiveProps as l, createVNode as V, mergeProps as P } from "vue";
2
- import q from "./index27.js";
1
+ import { defineComponent as B, ref as t, computed as w, openBlock as g, createBlock as k, withCtx as r, renderSlot as a, normalizeProps as s, guardReactiveProps as l, createVNode as $, mergeProps as V } from "vue";
2
+ import P from "./index27.js";
3
3
  /* empty css */
4
- import C from "./index29.js";
4
+ import q from "./index29.js";
5
5
  /* empty css */
6
- const F = /* @__PURE__ */ w({
6
+ const D = /* @__PURE__ */ B({
7
7
  __name: "BbNumberInput",
8
8
  props: {
9
9
  "append:icon": {},
@@ -33,7 +33,7 @@ const F = /* @__PURE__ */ w({
33
33
  },
34
34
  emits: ["blur", "change", "click", "decrease", "focus", "increase", "input", "keydown", "keyup", "mousedown", "mouseup", "update:modelValue"],
35
35
  setup(m, { expose: c, emit: b }) {
36
- const i = m, o = b, p = t(), d = t(!1), h = g(() => i.persistentHint || d.value), f = {
36
+ const i = m, o = b, p = t(), d = t(!1), h = w(() => i.persistentHint || d.value), f = {
37
37
  onBlur: (e) => {
38
38
  d.value = !1, o("blur", e);
39
39
  },
@@ -59,7 +59,7 @@ const F = /* @__PURE__ */ w({
59
59
  var e;
60
60
  (e = p.value) == null || e.decrease();
61
61
  }
62
- }), (e, L) => (k(), $(q, {
62
+ }), (e, I) => (g(), k(P, {
63
63
  id: e.id,
64
64
  class: "bb-number-input",
65
65
  direction: e.direction,
@@ -77,22 +77,22 @@ const F = /* @__PURE__ */ w({
77
77
  label: r((u) => [
78
78
  a(e.$slots, "label", s(l(u)))
79
79
  ]),
80
- input: r(({ id: u, name: y, hasErrors: v, ariaDescribedby: B }) => [
81
- V(C, P({
80
+ input: r(({ id: u, hasErrors: y, ariaDescribedby: v }) => [
81
+ $(q, V({
82
82
  id: u,
83
83
  ref_key: "bni",
84
84
  ref: p,
85
85
  "append:icon": i["append:icon"],
86
- "aria-describedby": B,
86
+ "aria-describedby": v,
87
87
  autocomplete: e.autocomplete,
88
88
  autofocus: e.autofocus,
89
89
  disabled: e.disabled,
90
- "has-errors": v,
90
+ "has-errors": y,
91
91
  loading: e.loading,
92
92
  max: e.max,
93
93
  min: e.min,
94
94
  "model-value": e.modelValue,
95
- name: y,
95
+ name: e.name,
96
96
  placeholder: e.placeholder,
97
97
  "prepend:icon": i["prepend:icon"],
98
98
  readonly: e.readonly,
@@ -125,5 +125,5 @@ const F = /* @__PURE__ */ w({
125
125
  }
126
126
  });
127
127
  export {
128
- F as default
128
+ D as default
129
129
  };
package/dist/index84.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as te, ref as l, useAttrs as oe, getCurrentInstance as le, computed as p, nextTick as se, onBeforeUnmount as x, onMounted as ae, watch as ne, openBlock as g, createBlock as ie, Teleport as re, createElementVNode as s, mergeProps as O, createElementBlock as V, renderSlot as n, createTextVNode as ue, toDisplayString as S, createCommentVNode as z } from "vue";
2
- import { useFocusTrap as ce } from "./index210.js";
2
+ import { useFocusTrap as ce } from "./index234.js";
3
3
  import { useId as A } from "./index8.js";
4
4
  import { wait as E } from "./index131.js";
5
- import { useModalsState as b } from "./index212.js";
5
+ import { useModalsState as b } from "./index239.js";
6
6
  const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"], ge = /* @__PURE__ */ te({
7
7
  __name: "BbOffCanvas",
8
8
  props: {
package/dist/index88.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as S, defineAsyncComponent as H, ref as n, computed as m, openBlock as b, createElementBlock as q, mergeProps as A, createElementVNode as p, renderSlot as y, normalizeProps as I, guardReactiveProps as V, createBlock as C, unref as W, withCtx as $, createCommentVNode as T, nextTick as z } from "vue";
2
- import { useFocusTrap as R } from "./index210.js";
2
+ import { useFocusTrap as R } from "./index234.js";
3
3
  import { useId as j } from "./index8.js";
4
4
  import { useIntersectionObserver as G } from "./index132.js";
5
- import { waitFor as J } from "./index211.js";
5
+ import { waitFor as J } from "./index235.js";
6
6
  import K from "./index13.js";
7
7
  /* empty css */
8
8
  const te = /* @__PURE__ */ S({
@@ -24,7 +24,7 @@ const te = /* @__PURE__ */ S({
24
24
  emits: ["shown", "hidden"],
25
25
  setup(B, { expose: P, emit: _ }) {
26
26
  const N = H(
27
- () => import("./index252.js")
27
+ () => import("./index250.js")
28
28
  ), t = B, s = _, { id: D } = j(), c = `bbp_${D.value}`, r = n(), l = n(), { activate: E, deactivate: L } = R(l, {
29
29
  /**
30
30
  * This traps all clicks outside so we are pressing
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 "./index205.js";
2
+ import { clamp as p } from "./index204.js";
3
3
  import { getAsPercentageBetween as i } from "./index130.js";
4
4
  const _ = /* @__PURE__ */ r({
5
5
  __name: "BbProgress",
package/dist/index96.js CHANGED
@@ -1,9 +1,9 @@
1
- import { defineComponent as g, ref as v, computed as y, openBlock as w, createBlock as B, withCtx as s, renderSlot as r, normalizeProps as a, guardReactiveProps as i, createVNode as k, mergeProps as P } from "vue";
2
- import V from "./index27.js";
1
+ import { defineComponent as f, ref as g, computed as v, openBlock as y, createBlock as w, withCtx as s, renderSlot as r, normalizeProps as a, guardReactiveProps as i, createVNode as B, mergeProps as k } from "vue";
2
+ import P from "./index27.js";
3
3
  /* empty css */
4
- import $ from "./index35.js";
4
+ import V from "./index35.js";
5
5
  /* empty css */
6
- const M = /* @__PURE__ */ g({
6
+ const I = /* @__PURE__ */ f({
7
7
  __name: "BbRating",
8
8
  props: {
9
9
  autofocus: {},
@@ -27,7 +27,7 @@ const M = /* @__PURE__ */ g({
27
27
  },
28
28
  emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
29
29
  setup(d, { emit: u }) {
30
- const p = d, o = u, l = v(!1), m = y(() => p.persistentHint || l.value), c = {
30
+ const p = d, o = u, l = g(!1), m = v(() => p.persistentHint || l.value), c = {
31
31
  onBlur: (e) => o("blur", e),
32
32
  onChange: (e) => o("change", e),
33
33
  onClick: (e) => o("click", e),
@@ -43,7 +43,7 @@ const M = /* @__PURE__ */ g({
43
43
  onMouseup: (e) => o("mouseup", e),
44
44
  "onUpdate:modelValue": (e) => o("update:modelValue", e)
45
45
  };
46
- return (e, z) => (w(), B(V, {
46
+ return (e, $) => (y(), w(P, {
47
47
  id: e.id,
48
48
  class: "bb-rating",
49
49
  direction: "vertical",
@@ -63,16 +63,16 @@ const M = /* @__PURE__ */ g({
63
63
  label: s((t) => [
64
64
  r(e.$slots, "legend", a(i(t)))
65
65
  ]),
66
- input: s(({ id: t, name: h, hasErrors: b, ariaDescribedby: f }) => [
67
- k($, P({
66
+ input: s(({ id: t, hasErrors: h, ariaDescribedby: b }) => [
67
+ B(V, k({
68
68
  id: t,
69
- "aria-describedby": f,
69
+ "aria-describedby": b,
70
70
  autofocus: e.autofocus,
71
71
  color: e.color,
72
72
  disabled: e.disabled,
73
- "has-errors": b,
73
+ "has-errors": h,
74
74
  "model-value": e.modelValue,
75
- name: h,
75
+ name: e.name,
76
76
  readonly: e.readonly,
77
77
  size: e.size,
78
78
  stars: e.stars
@@ -94,5 +94,5 @@ const M = /* @__PURE__ */ g({
94
94
  }
95
95
  });
96
96
  export {
97
- M as default
97
+ I as default
98
98
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "2.0.67",
3
+ "version": "2.0.68",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "scripts": {
@@ -91,4 +91,4 @@
91
91
  "lint-staged": {
92
92
  "*.{js,css,md,html,json,vue,ts}": "prettier --write"
93
93
  }
94
- }
94
+ }
package/dist/index211.js DELETED
@@ -1,8 +0,0 @@
1
- const o = (e, t = 50) => new Promise((r) => {
2
- const n = setInterval(() => {
3
- e() && (clearInterval(n), r());
4
- }, t);
5
- });
6
- export {
7
- o as waitFor
8
- };
package/dist/index247.js DELETED
@@ -1,4 +0,0 @@
1
- const o = (e) => e[0];
2
- export {
3
- o as head
4
- };
package/dist/index275.js DELETED
@@ -1,4 +0,0 @@
1
- import f from "./index227.js";
2
- export {
3
- f as default
4
- };
package/dist/index299.js DELETED
@@ -1,68 +0,0 @@
1
- import { defineComponent as d, openBlock as s, createElementBlock as i, normalizeClass as b, createElementVNode as t, createBlock as l, createCommentVNode as o, toDisplayString as n, withCtx as u } from "vue";
2
- import g from "./index13.js";
3
- /* empty css */
4
- import h from "./index126.js";
5
- /* empty css */
6
- const k = { class: "bb-toast-message__icon-container" }, f = { class: "bb-toast-message__content" }, C = {
7
- key: 0,
8
- class: "bb-toast-message__title"
9
- }, w = { class: "bb-toast-message__text" }, E = /* @__PURE__ */ d({
10
- __name: "BbToastMessage",
11
- props: {
12
- title: {},
13
- text: {},
14
- icon: {},
15
- theme: { default: "default" },
16
- id: {},
17
- showClose: { type: Boolean }
18
- },
19
- emits: ["click:close"],
20
- setup(r, { emit: c }) {
21
- const m = r, p = c, _ = () => {
22
- p("click:close", m.id);
23
- };
24
- return (e, a) => (s(), i("div", {
25
- "aria-atomic": "true",
26
- "aria-live": "polite",
27
- "aria-role": "alert",
28
- class: b(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
29
- }, [
30
- t("div", k, [
31
- e.icon ? (s(), l(h, {
32
- key: 0,
33
- class: "bb-toast-message__icon",
34
- type: e.icon
35
- }, null, 8, ["type"])) : o("", !0)
36
- ]),
37
- t("div", f, [
38
- e.title ? (s(), i("p", C, n(e.title), 1)) : o("", !0),
39
- t("p", w, n(e.text), 1)
40
- ]),
41
- e.showClose ? (s(), l(g, {
42
- key: 0,
43
- "aria-label": "Chiudi",
44
- class: "bb-toast-message__close",
45
- onClick: _
46
- }, {
47
- default: u(() => a[0] || (a[0] = [
48
- t("svg", {
49
- fill: "none",
50
- viewBox: "0 0 24 24",
51
- xmlns: "http://www.w3.org/2000/svg"
52
- }, [
53
- t("path", {
54
- d: "M23 23L1 1M23 1L1 23",
55
- stroke: "currentColor",
56
- "stroke-linecap": "round",
57
- "stroke-width": "2"
58
- })
59
- ], -1)
60
- ])),
61
- _: 1
62
- })) : o("", !0)
63
- ], 2));
64
- }
65
- });
66
- export {
67
- E as default
68
- };