bitboss-ui 2.0.33 → 2.0.34

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 (127) hide show
  1. package/dist/index104.js +1 -1
  2. package/dist/index106.js +4 -4
  3. package/dist/index114.js +1 -1
  4. package/dist/index116.js +5 -5
  5. package/dist/index122.js +1 -1
  6. package/dist/index123.js +1 -1
  7. package/dist/index124.js +1 -1
  8. package/dist/index126.js +1 -1
  9. package/dist/index128.js +2 -2
  10. package/dist/index129.js +1 -1
  11. package/dist/index13.js +1 -1
  12. package/dist/index15.js +3 -3
  13. package/dist/index17.js +2 -2
  14. package/dist/index19.js +6 -6
  15. package/dist/index198.js +2 -2
  16. package/dist/index199.js +4 -116
  17. package/dist/index200.js +2 -8
  18. package/dist/index201.js +2 -2
  19. package/dist/index202.js +2 -2
  20. package/dist/index203.js +2 -2
  21. package/dist/index204.js +3 -3
  22. package/dist/index205.js +2 -2
  23. package/dist/index206.js +2 -2
  24. package/dist/index207.js +1 -1
  25. package/dist/index209.js +6 -247
  26. package/dist/index21.js +10 -10
  27. package/dist/index210.js +239 -42
  28. package/dist/index211.js +43 -35
  29. package/dist/index212.js +44 -5
  30. package/dist/index213.js +5 -49
  31. package/dist/index214.js +48 -125
  32. package/dist/index215.js +122 -119
  33. package/dist/index216.js +123 -2
  34. package/dist/index217.js +2 -35
  35. package/dist/index218.js +33 -172
  36. package/dist/index219.js +174 -6
  37. package/dist/index220.js +5 -42
  38. package/dist/index221.js +45 -0
  39. package/dist/index223.js +12 -4
  40. package/dist/index224.js +5 -369
  41. package/dist/index225.js +369 -3
  42. package/dist/index226.js +2 -3
  43. package/dist/index227.js +3 -7
  44. package/dist/index228.js +7 -158
  45. package/dist/index229.js +115 -83
  46. package/dist/index23.js +5 -5
  47. package/dist/index230.js +5 -0
  48. package/dist/index231.js +158 -2
  49. package/dist/index232.js +84 -4
  50. package/dist/index234.js +2 -2
  51. package/dist/index235.js +2 -18
  52. package/dist/index236.js +17 -105
  53. package/dist/index237.js +108 -0
  54. package/dist/index243.js +4 -281
  55. package/dist/index244.js +280 -5
  56. package/dist/index245.js +6 -2
  57. package/dist/index246.js +2 -2
  58. package/dist/index25.js +36 -39
  59. package/dist/index251.js +2 -2
  60. package/dist/index254.js +1 -1
  61. package/dist/index255.js +2 -28
  62. package/dist/index256.js +27 -21
  63. package/dist/index257.js +24 -0
  64. package/dist/index259.js +7 -2
  65. package/dist/index260.js +2 -126
  66. package/dist/index261.js +118 -423
  67. package/dist/index262.js +431 -3
  68. package/dist/index263.js +5 -0
  69. package/dist/index267.js +86 -197
  70. package/dist/index268.js +7 -434
  71. package/dist/index269.js +3 -127
  72. package/dist/index27.js +3 -3
  73. package/dist/index270.js +9 -3
  74. package/dist/index271.js +23 -9
  75. package/dist/index272.js +6 -23
  76. package/dist/index273.js +16 -9
  77. package/dist/index274.js +200 -6
  78. package/dist/index275.js +435 -15
  79. package/dist/index276.js +125 -87
  80. package/dist/index277.js +224 -3
  81. package/dist/index278.js +3 -12
  82. package/dist/index279.js +12 -9
  83. package/dist/index280.js +8 -8
  84. package/dist/index281.js +7 -15
  85. package/dist/index282.js +17 -4
  86. package/dist/index283.js +34 -2
  87. package/dist/index284.js +1 -1
  88. package/dist/index285.js +3 -211
  89. package/dist/index286.js +211 -15
  90. package/dist/index288.js +6 -6
  91. package/dist/index289.js +18 -6
  92. package/dist/index29.js +2 -2
  93. package/dist/index290.js +5 -17
  94. package/dist/index291.js +15 -66
  95. package/dist/index293.js +63 -32
  96. package/dist/index294.js +3 -3
  97. package/dist/index299.js +10 -46
  98. package/dist/index301.js +47 -2
  99. package/dist/index302.js +2 -480
  100. package/dist/index303.js +482 -0
  101. package/dist/index31.js +2 -2
  102. package/dist/index33.js +3 -3
  103. package/dist/index35.js +12 -12
  104. package/dist/index37.js +3 -3
  105. package/dist/index39.js +2 -2
  106. package/dist/index41.js +2 -2
  107. package/dist/index43.js +5 -5
  108. package/dist/index45.js +2 -2
  109. package/dist/index47.js +2 -2
  110. package/dist/index53.js +1 -1
  111. package/dist/index55.js +1 -1
  112. package/dist/index71.js +3 -3
  113. package/dist/index75.js +2 -2
  114. package/dist/index77.js +1 -1
  115. package/dist/index80.js +2 -2
  116. package/dist/index82.js +1 -1
  117. package/dist/index84.js +3 -3
  118. package/dist/index86.js +1 -1
  119. package/package.json +1 -1
  120. package/dist/index222.js +0 -15
  121. package/dist/index233.js +0 -4
  122. package/dist/index240.js +0 -4
  123. package/dist/index258.js +0 -9
  124. package/dist/index266.js +0 -226
  125. package/dist/index300.js +0 -13
  126. /package/dist/{index238.js → index239.js} +0 -0
  127. /package/dist/{index264.js → index265.js} +0 -0
package/dist/index293.js CHANGED
@@ -1,37 +1,68 @@
1
- import { openBlock as t, createElementBlock as e, createElementVNode as o } from "vue";
1
+ import { defineComponent as p, openBlock as s, createElementBlock as a, normalizeClass as d, createElementVNode as t, createBlock as i, createCommentVNode as o, toDisplayString as l, withCtx as b } from "vue";
2
+ import h from "./index13.js";
3
+ /* empty css */
4
+ import u from "./index122.js";
2
5
  /* empty css */
3
- import r from "./index258.js";
4
- const n = {}, s = {
5
- class: "bb-error-icon",
6
+ const g = { class: "bb-toast-message__icon-container" }, k = { class: "bb-toast-message__content" }, f = {
7
+ key: 0,
8
+ class: "bb-toast-message__title"
9
+ }, C = { class: "bb-toast-message__text" }, w = /* @__PURE__ */ t("svg", {
6
10
  fill: "none",
7
- height: "20",
8
- viewBox: "0 0 20 20",
9
- width: "20",
11
+ viewBox: "0 0 24 24",
10
12
  xmlns: "http://www.w3.org/2000/svg"
11
- }, i = /* @__PURE__ */ o("path", {
12
- d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
13
- fill: "currentColor"
14
- }, null, -1), c = /* @__PURE__ */ o("path", {
15
- d: "M9.99414 6.66666V9.99999",
16
- stroke: "white",
17
- "stroke-linecap": "round",
18
- "stroke-linejoin": "round",
19
- "stroke-width": "2"
20
- }, null, -1), l = /* @__PURE__ */ o("path", {
21
- d: "M9.99414 13.3333H10.0025",
22
- stroke: "white",
23
- "stroke-linecap": "round",
24
- "stroke-linejoin": "round",
25
- "stroke-width": "2"
26
- }, null, -1), d = [
27
- i,
28
- c,
29
- l
30
- ];
31
- function _(h, a) {
32
- return t(), e("svg", s, d);
33
- }
34
- const w = /* @__PURE__ */ r(n, [["render", _]]);
13
+ }, [
14
+ /* @__PURE__ */ t("path", {
15
+ d: "M23 23L1 1M23 1L1 23",
16
+ stroke: "currentColor",
17
+ "stroke-linecap": "round",
18
+ "stroke-width": "2"
19
+ })
20
+ ], -1), L = /* @__PURE__ */ p({
21
+ __name: "BbToastMessage",
22
+ props: {
23
+ title: {},
24
+ text: {},
25
+ icon: {},
26
+ theme: { default: "default" },
27
+ id: {},
28
+ showClose: { type: Boolean }
29
+ },
30
+ emits: ["click:close"],
31
+ setup(n, { emit: c }) {
32
+ const r = n, m = c, _ = () => {
33
+ m("click:close", r.id);
34
+ };
35
+ return (e, v) => (s(), a("div", {
36
+ "aria-atomic": "true",
37
+ "aria-live": "polite",
38
+ "aria-role": "alert",
39
+ class: d(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
40
+ }, [
41
+ t("div", g, [
42
+ e.icon ? (s(), i(u, {
43
+ key: 0,
44
+ class: "bb-toast-message__icon",
45
+ type: e.icon
46
+ }, null, 8, ["type"])) : o("", !0)
47
+ ]),
48
+ t("div", k, [
49
+ e.title ? (s(), a("p", f, l(e.title), 1)) : o("", !0),
50
+ t("p", C, l(e.text), 1)
51
+ ]),
52
+ e.showClose ? (s(), i(h, {
53
+ key: 0,
54
+ "aria-label": "Chiudi",
55
+ class: "bb-toast-message__close",
56
+ onClick: _
57
+ }, {
58
+ default: b(() => [
59
+ w
60
+ ]),
61
+ _: 1
62
+ })) : o("", !0)
63
+ ], 2));
64
+ }
65
+ });
35
66
  export {
36
- w as default
67
+ L as default
37
68
  };
package/dist/index294.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as _, toRef as y, ref as p, computed as o, openBlock as v, createBlock as h, Teleport as A, createElementVNode as r, mergeProps as n, renderSlot as $ } from "vue";
2
- import b from "./index302.js";
3
- import { useFloating as k, arrow as x } from "./index214.js";
4
- import { autoUpdate as B, flip as C, offset as D, shift as P } from "./index224.js";
2
+ import b from "./index303.js";
3
+ import { useFloating as k, arrow as x } from "./index215.js";
4
+ import { autoUpdate as B, flip as C, offset as D, shift as P } from "./index225.js";
5
5
  const N = /* @__PURE__ */ _({
6
6
  __name: "CommonFloating",
7
7
  props: {
package/dist/index299.js CHANGED
@@ -1,49 +1,13 @@
1
- import { observeElementRect as f, observeElementOffset as s, elementScroll as d, Virtualizer as p } from "./index304.js";
2
- import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index304.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: f,
34
- observeElementOffset: s,
35
- scrollToFn: d,
36
- ...l(e)
37
- }))
38
- );
1
+ function c(n, r, e) {
2
+ const i = typeof r == "string" ? r.split(".") : r;
3
+ let t = n;
4
+ for (const o of i)
5
+ if (t && typeof t == "object" && o in t)
6
+ t = t[o];
7
+ else
8
+ return e;
9
+ return t === void 0 ? e : t;
39
10
  }
40
11
  export {
41
- p as Virtualizer,
42
- S as defaultKeyExtractor,
43
- V as defaultRangeExtractor,
44
- d as elementScroll,
45
- b as measureElement,
46
- s as observeElementOffset,
47
- f as observeElementRect,
48
- z as useVirtualizer
12
+ c as get
49
13
  };
package/dist/index301.js CHANGED
@@ -1,4 +1,49 @@
1
- import f from "./index291.js";
1
+ import { observeElementRect as f, observeElementOffset as s, elementScroll as d, Virtualizer as p } from "./index304.js";
2
+ import { defaultKeyExtractor as S, defaultRangeExtractor as V, measureElement as b } from "./index304.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: f,
34
+ observeElementOffset: s,
35
+ scrollToFn: d,
36
+ ...l(e)
37
+ }))
38
+ );
39
+ }
2
40
  export {
3
- f as default
41
+ p as Virtualizer,
42
+ S as defaultKeyExtractor,
43
+ V as defaultRangeExtractor,
44
+ d as elementScroll,
45
+ b as measureElement,
46
+ s as observeElementOffset,
47
+ f as observeElementRect,
48
+ z as useVirtualizer
4
49
  };