bitboss-ui 2.0.60 → 2.0.61

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 (134) hide show
  1. package/dist/index110.js +2 -2
  2. package/dist/index118.js +1 -1
  3. package/dist/index120.js +5 -5
  4. package/dist/index122.js +1 -1
  5. package/dist/index126.js +1 -1
  6. package/dist/index127.js +1 -1
  7. package/dist/index128.js +1 -1
  8. package/dist/index13.js +1 -1
  9. package/dist/index132.js +2 -2
  10. package/dist/index133.js +2 -2
  11. package/dist/index15.js +4 -4
  12. package/dist/index17.js +3 -3
  13. package/dist/index205.js +3 -3
  14. package/dist/index208.js +8 -3
  15. package/dist/index209.js +53 -2
  16. package/dist/index21.js +14 -14
  17. package/dist/index211.js +13 -2
  18. package/dist/index212.js +19 -7
  19. package/dist/index213.js +4 -53
  20. package/dist/index214.js +7 -0
  21. package/dist/index215.js +16 -13
  22. package/dist/index216.js +14 -124
  23. package/dist/index217.js +19 -5
  24. package/dist/index218.js +16 -122
  25. package/dist/index219.js +26 -18
  26. package/dist/index220.js +3 -16
  27. package/dist/index221.js +2 -16
  28. package/dist/index222.js +249 -2
  29. package/dist/index223.js +52 -2
  30. package/dist/index224.js +44 -41
  31. package/dist/index225.js +5 -20
  32. package/dist/index226.js +48 -5
  33. package/dist/index227.js +2 -5
  34. package/dist/index228.js +4 -369
  35. package/dist/index229.js +2 -19
  36. package/dist/index23.js +15 -15
  37. package/dist/index230.js +124 -25
  38. package/dist/index231.js +125 -3
  39. package/dist/index232.js +2 -249
  40. package/dist/index233.js +41 -52
  41. package/dist/index234.js +5 -43
  42. package/dist/index235.js +4 -4
  43. package/dist/index236.js +369 -49
  44. package/dist/index237.js +3 -3
  45. package/dist/index238.js +3 -7
  46. package/dist/index239.js +7 -81
  47. package/dist/index240.js +80 -3
  48. package/dist/index241.js +2 -2
  49. package/dist/index242.js +2 -18
  50. package/dist/index243.js +17 -105
  51. package/dist/index244.js +108 -0
  52. package/dist/{index245.js → index246.js} +1 -1
  53. package/dist/index25.js +5 -5
  54. package/dist/index253.js +1 -1
  55. package/dist/index254.js +1 -1
  56. package/dist/index256.js +3 -224
  57. package/dist/index258.js +7 -3
  58. package/dist/index259.js +178 -0
  59. package/dist/index260.js +281 -7
  60. package/dist/index261.js +5 -280
  61. package/dist/index262.js +2 -6
  62. package/dist/index263.js +2 -2
  63. package/dist/index264.js +2 -2
  64. package/dist/index268.js +2 -126
  65. package/dist/index269.js +2 -431
  66. package/dist/index27.js +1 -1
  67. package/dist/index270.js +2 -176
  68. package/dist/index271.js +1 -21
  69. package/dist/index272.js +30 -0
  70. package/dist/index273.js +22 -2
  71. package/dist/index275.js +4 -2
  72. package/dist/index276.js +2 -2
  73. package/dist/index277.js +126 -2
  74. package/dist/index278.js +431 -2
  75. package/dist/index279.js +21 -27
  76. package/dist/index281.js +5 -0
  77. package/dist/index282.js +9 -3
  78. package/dist/index283.js +23 -9
  79. package/dist/index284.js +224 -23
  80. package/dist/index285.js +200 -6
  81. package/dist/index286.js +435 -15
  82. package/dist/index287.js +125 -7
  83. package/dist/index288.js +6 -436
  84. package/dist/index289.js +15 -126
  85. package/dist/index29.js +2 -2
  86. package/dist/index290.js +9 -200
  87. package/dist/index291.js +1 -1
  88. package/dist/index292.js +1 -1
  89. package/dist/index293.js +1 -1
  90. package/dist/index294.js +2 -2
  91. package/dist/index295.js +5 -66
  92. package/dist/index296.js +2 -5
  93. package/dist/index297.js +5 -2
  94. package/dist/index298.js +7 -4
  95. package/dist/index299.js +66 -8
  96. package/dist/index300.js +6 -32
  97. package/dist/index301.js +18 -10
  98. package/dist/index303.js +7 -79
  99. package/dist/index304.js +35 -0
  100. package/dist/index305.js +11 -4
  101. package/dist/index306.js +79 -4
  102. package/dist/index308.js +4 -7
  103. package/dist/index309.js +4 -19
  104. package/dist/index31.js +2 -2
  105. package/dist/index310.js +58 -6
  106. package/dist/index311.js +47 -2
  107. package/dist/index312.js +2 -47
  108. package/dist/{index313.js → index314.js} +2 -2
  109. package/dist/index315.js +1 -1
  110. package/dist/index316.js +2 -47
  111. package/dist/index317.js +47 -2
  112. package/dist/index35.js +3 -3
  113. package/dist/index37.js +60 -60
  114. package/dist/index39.js +3 -3
  115. package/dist/index41.js +2 -2
  116. package/dist/index45.js +5 -5
  117. package/dist/index47.js +2 -2
  118. package/dist/index49.js +2 -2
  119. package/dist/index55.js +1 -1
  120. package/dist/index57.js +1 -1
  121. package/dist/index75.js +3 -3
  122. package/dist/index79.js +2 -2
  123. package/dist/index81.js +1 -1
  124. package/dist/index84.js +2 -2
  125. package/dist/index86.js +1 -1
  126. package/dist/index88.js +3 -3
  127. package/dist/style.css +1 -1
  128. package/package.json +2 -2
  129. package/dist/index210.js +0 -6
  130. package/dist/index247.js +0 -4
  131. package/dist/index257.js +0 -6
  132. package/dist/index274.js +0 -4
  133. package/dist/index280.js +0 -24
  134. package/dist/index307.js +0 -61
package/dist/index290.js CHANGED
@@ -1,202 +1,11 @@
1
- /*!
2
- * tabbable 6.2.0
3
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
- */
5
- var w = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], v = /* @__PURE__ */ w.join(","), T = typeof Element > "u", o = T ? function() {
6
- } : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, b = !T && Element.prototype.getRootNode ? function(i) {
7
- var t;
8
- return i == null || (t = i.getRootNode) === null || t === void 0 ? void 0 : t.call(i);
9
- } : function(i) {
10
- return i == null ? void 0 : i.ownerDocument;
11
- }, h = function i(t, e) {
12
- var r;
13
- e === void 0 && (e = !0);
14
- var a = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), l = a === "" || a === "true", n = l || e && t && i(t.parentNode);
15
- return n;
16
- }, A = function(t) {
17
- var e, r = t == null || (e = t.getAttribute) === null || e === void 0 ? void 0 : e.call(t, "contenteditable");
18
- return r === "" || r === "true";
19
- }, I = function(t, e, r) {
20
- if (h(t))
21
- return [];
22
- var a = Array.prototype.slice.apply(t.querySelectorAll(v));
23
- return e && o.call(t, v) && a.unshift(t), a = a.filter(r), a;
24
- }, m = function i(t, e, r) {
25
- for (var a = [], l = Array.from(t); l.length; ) {
26
- var n = l.shift();
27
- if (!h(n, !1))
28
- if (n.tagName === "SLOT") {
29
- var u = n.assignedElements(), c = u.length ? u : n.children, s = i(c, !0, r);
30
- r.flatten ? a.push.apply(a, s) : a.push({
31
- scopeParent: n,
32
- candidates: s
33
- });
34
- } else {
35
- var f = o.call(n, v);
36
- f && r.filter(n) && (e || !t.includes(n)) && a.push(n);
37
- var d = n.shadowRoot || // check for an undisclosed shadow
38
- typeof r.getShadowRoot == "function" && r.getShadowRoot(n), E = !h(d, !1) && (!r.shadowRootFilter || r.shadowRootFilter(n));
39
- if (d && E) {
40
- var y = i(d === !0 ? n.children : d.children, !0, r);
41
- r.flatten ? a.push.apply(a, y) : a.push({
42
- scopeParent: n,
43
- candidates: y
44
- });
45
- } else
46
- l.unshift.apply(l, n.children);
47
- }
48
- }
49
- return a;
50
- }, N = function(t) {
51
- return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
52
- }, R = function(t) {
53
- if (!t)
54
- throw new Error("No node provided");
55
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || A(t)) && !N(t) ? 0 : t.tabIndex;
56
- }, x = function(t, e) {
57
- var r = R(t);
58
- return r < 0 && e && !N(t) ? 0 : r;
59
- }, O = function(t, e) {
60
- return t.tabIndex === e.tabIndex ? t.documentOrder - e.documentOrder : t.tabIndex - e.tabIndex;
61
- }, C = function(t) {
62
- return t.tagName === "INPUT";
63
- }, F = function(t) {
64
- return C(t) && t.type === "hidden";
65
- }, D = function(t) {
66
- var e = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(r) {
67
- return r.tagName === "SUMMARY";
68
- });
69
- return e;
70
- }, k = function(t, e) {
71
- for (var r = 0; r < t.length; r++)
72
- if (t[r].checked && t[r].form === e)
73
- return t[r];
74
- }, M = function(t) {
75
- if (!t.name)
76
- return !0;
77
- var e = t.form || b(t), r = function(u) {
78
- return e.querySelectorAll('input[type="radio"][name="' + u + '"]');
79
- }, a;
80
- if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
81
- a = r(window.CSS.escape(t.name));
82
- else
83
- try {
84
- a = r(t.name);
85
- } catch (n) {
86
- return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", n.message), !1;
87
- }
88
- var l = k(a, t.form);
89
- return !l || l === t;
90
- }, L = function(t) {
91
- return C(t) && t.type === "radio";
92
- }, P = function(t) {
93
- return L(t) && !M(t);
94
- }, B = function(t) {
95
- var e, r = t && b(t), a = (e = r) === null || e === void 0 ? void 0 : e.host, l = !1;
96
- if (r && r !== t) {
97
- var n, u, c;
98
- for (l = !!((n = a) !== null && n !== void 0 && (u = n.ownerDocument) !== null && u !== void 0 && u.contains(a) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !l && a; ) {
99
- var s, f, d;
100
- r = b(a), a = (s = r) === null || s === void 0 ? void 0 : s.host, l = !!((f = a) !== null && f !== void 0 && (d = f.ownerDocument) !== null && d !== void 0 && d.contains(a));
101
- }
102
- }
103
- return l;
104
- }, p = function(t) {
105
- var e = t.getBoundingClientRect(), r = e.width, a = e.height;
106
- return r === 0 && a === 0;
107
- }, q = function(t, e) {
108
- var r = e.displayCheck, a = e.getShadowRoot;
109
- if (getComputedStyle(t).visibility === "hidden")
110
- return !0;
111
- var l = o.call(t, "details>summary:first-of-type"), n = l ? t.parentElement : t;
112
- if (o.call(n, "details:not([open]) *"))
113
- return !0;
114
- if (!r || r === "full" || r === "legacy-full") {
115
- if (typeof a == "function") {
116
- for (var u = t; t; ) {
117
- var c = t.parentElement, s = b(t);
118
- if (c && !c.shadowRoot && a(c) === !0)
119
- return p(t);
120
- t.assignedSlot ? t = t.assignedSlot : !c && s !== t.ownerDocument ? t = s.host : t = c;
121
- }
122
- t = u;
123
- }
124
- if (B(t))
125
- return !t.getClientRects().length;
126
- if (r !== "legacy-full")
127
- return !0;
128
- } else if (r === "non-zero-area")
129
- return p(t);
130
- return !1;
131
- }, U = function(t) {
132
- if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
133
- for (var e = t.parentElement; e; ) {
134
- if (e.tagName === "FIELDSET" && e.disabled) {
135
- for (var r = 0; r < e.children.length; r++) {
136
- var a = e.children.item(r);
137
- if (a.tagName === "LEGEND")
138
- return o.call(e, "fieldset[disabled] *") ? !0 : !a.contains(t);
139
- }
140
- return !0;
141
- }
142
- e = e.parentElement;
143
- }
144
- return !1;
145
- }, g = function(t, e) {
146
- return !(e.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
147
- // because we're limited in the type of selectors we can use in JSDom (see related
148
- // note related to `candidateSelectors`)
149
- h(e) || F(e) || q(e, t) || // For a details element with a summary, the summary element gets the focus
150
- D(e) || U(e));
151
- }, S = function(t, e) {
152
- return !(P(e) || R(e) < 0 || !g(t, e));
153
- }, V = function(t) {
154
- var e = parseInt(t.getAttribute("tabindex"), 10);
155
- return !!(isNaN(e) || e >= 0);
156
- }, j = function i(t) {
157
- var e = [], r = [];
158
- return t.forEach(function(a, l) {
159
- var n = !!a.scopeParent, u = n ? a.scopeParent : a, c = x(u, n), s = n ? i(a.candidates) : u;
160
- c === 0 ? n ? e.push.apply(e, s) : e.push(u) : r.push({
161
- documentOrder: l,
162
- tabIndex: c,
163
- item: a,
164
- isScope: n,
165
- content: s
166
- });
167
- }), r.sort(O).reduce(function(a, l) {
168
- return l.isScope ? a.push.apply(a, l.content) : a.push(l.content), a;
169
- }, []).concat(e);
170
- }, Z = function(t, e) {
171
- e = e || {};
172
- var r;
173
- return e.getShadowRoot ? r = m([t], e.includeContainer, {
174
- filter: S.bind(null, e),
175
- flatten: !1,
176
- getShadowRoot: e.getShadowRoot,
177
- shadowRootFilter: V
178
- }) : r = I(t, e.includeContainer, S.bind(null, e)), j(r);
179
- }, z = function(t, e) {
180
- e = e || {};
181
- var r;
182
- return e.getShadowRoot ? r = m([t], e.includeContainer, {
183
- filter: g.bind(null, e),
184
- flatten: !0,
185
- getShadowRoot: e.getShadowRoot
186
- }) : r = I(t, e.includeContainer, g.bind(null, e)), r;
187
- }, G = function(t, e) {
188
- if (e = e || {}, !t)
189
- throw new Error("No node provided");
190
- return o.call(t, v) === !1 ? !1 : S(e, t);
191
- }, W = /* @__PURE__ */ w.concat("iframe").join(","), X = function(t, e) {
192
- if (e = e || {}, !t)
193
- throw new Error("No node provided");
194
- return o.call(t, W) === !1 ? !1 : g(e, t);
195
- };
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
+ }
196
9
  export {
197
- z as focusable,
198
- R as getTabIndex,
199
- X as isFocusable,
200
- G as isTabbable,
201
- Z as tabbable
10
+ u as debounce
202
11
  };
package/dist/index291.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getDefaultExportFromCjs as M, commonjsGlobal as b } from "./index262.js";
1
+ import { getDefaultExportFromCjs as M, commonjsGlobal as b } from "./index261.js";
2
2
  var k = "Expected a function", E = NaN, N = "[object Symbol]", $ = /^\s+|\s+$/g, A = /^[-+]0x[0-9a-f]+$/i, B = /^0b[01]+$/i, R = /^0o[0-7]+$/i, _ = parseInt, D = typeof b == "object" && b && b.Object === Object && b, G = typeof self == "object" && self && self.Object === Object && self, P = D || G || Function("return this")(), H = Object.prototype, U = H.toString, X = Math.max, q = Math.min, v = function() {
3
3
  return P.Date.now();
4
4
  };
package/dist/index292.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index243.js";
1
+ import o from "./index244.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index293.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index245.js";
1
+ import o from "./index246.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index294.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as K, ref as b, computed as m, watch as N, openBlock as r, createElementBlock as c, normalizeClass as $, normalizeStyle as h, withModifiers as Q, createElementVNode as x, renderSlot as v, createTextVNode as D, toDisplayString as g, Fragment as U, renderList as X } from "vue";
2
2
  import { isNil as f } from "./index129.js";
3
- import { useVirtualizer as Z } from "./index312.js";
3
+ import { useVirtualizer as Z } from "./index311.js";
4
4
  import { isNotNil as ee } from "./index134.js";
5
- import { hash as H } from "./index231.js";
5
+ import { hash as H } from "./index220.js";
6
6
  const te = { class: "bb-listbox__outer-container scrollbar-border" }, oe = {
7
7
  key: 0,
8
8
  class: "bb-listbox__loading"
package/dist/index295.js CHANGED
@@ -1,68 +1,7 @@
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
- });
1
+ const o = (l, n, f = (r) => r, u) => l.map((r) => Array.isArray(r[n]) ? [
2
+ f(r, u),
3
+ ...o(r[n], n, f, f(r, u))
4
+ ] : [f(r, u)]).flat();
66
5
  export {
67
- E as default
6
+ o as flattenTree
68
7
  };
package/dist/index296.js CHANGED
@@ -1,7 +1,4 @@
1
- const o = (l, n, f = (r) => r, u) => l.map((r) => Array.isArray(r[n]) ? [
2
- f(r, u),
3
- ...o(r[n], n, f, f(r, u))
4
- ] : [f(r, u)]).flat();
1
+ const t = (d, o) => +d + +o;
5
2
  export {
6
- o as flattenTree
3
+ t as add
7
4
  };
package/dist/index297.js CHANGED
@@ -1,4 +1,7 @@
1
- const t = (d, o) => +d + +o;
1
+ import { getType as t } from "./index302.js";
2
+ function o(r) {
3
+ return t(r) === "Array";
4
+ }
2
5
  export {
3
- t as add
6
+ o as isArray
4
7
  };
package/dist/index298.js CHANGED
@@ -1,7 +1,10 @@
1
- import { getType as t } from "./index302.js";
2
- function o(r) {
3
- return t(r) === "Array";
1
+ import { getType as o } from "./index302.js";
2
+ function c(e) {
3
+ if (o(e) !== "Object")
4
+ return !1;
5
+ const t = Object.getPrototypeOf(e);
6
+ return !!t && t.constructor === Object && t === Object.prototype;
4
7
  }
5
8
  export {
6
- o as isArray
9
+ c as isPlainObject
7
10
  };
package/dist/index299.js CHANGED
@@ -1,10 +1,68 @@
1
- import { getType as o } from "./index302.js";
2
- function c(e) {
3
- if (o(e) !== "Object")
4
- return !1;
5
- const t = Object.getPrototypeOf(e);
6
- return !!t && t.constructor === Object && t === Object.prototype;
7
- }
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
+ });
8
66
  export {
9
- c as isPlainObject
67
+ E as default
10
68
  };
package/dist/index300.js CHANGED
@@ -1,35 +1,9 @@
1
- import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
- /* empty css */
3
- import n from "./index260.js";
4
- const l = {}, s = {
5
- class: "bb-error-icon",
6
- fill: "none",
7
- viewBox: "0 0 20 20",
8
- xmlns: "http://www.w3.org/2000/svg"
9
- };
10
- function i(c, r) {
11
- return e(), t("svg", s, r[0] || (r[0] = [
12
- o("path", {
13
- 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",
14
- fill: "currentColor"
15
- }, null, -1),
16
- o("path", {
17
- d: "M9.99414 6.66666V9.99999",
18
- stroke: "white",
19
- "stroke-linecap": "round",
20
- "stroke-linejoin": "round",
21
- "stroke-width": "2"
22
- }, null, -1),
23
- o("path", {
24
- d: "M9.99414 13.3333H10.0025",
25
- stroke: "white",
26
- "stroke-linecap": "round",
27
- "stroke-linejoin": "round",
28
- "stroke-width": "2"
29
- }, null, -1)
30
- ]));
1
+ function c(n, e) {
2
+ const u = [];
3
+ for (let t = 0; t < n.length; t += e)
4
+ u.push(n.slice(t, t + e));
5
+ return u;
31
6
  }
32
- const a = /* @__PURE__ */ n(l, [["render", i]]);
33
7
  export {
34
- a as default
8
+ c as chunk
35
9
  };
package/dist/index301.js CHANGED
@@ -1,13 +1,21 @@
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;
1
+ function l(t, ...e) {
2
+ if (t.length) {
3
+ const o = t[0];
4
+ if (typeof o == "string") return [...t].sort(r);
5
+ if (typeof o == "number") return [...t].sort(r);
6
+ if (e && e.length)
7
+ return [...t].sort((f, u) => {
8
+ for (let n = 0; n < e.length; n++) {
9
+ const i = e[n], s = r(f[i], u[i]);
10
+ if (s) return s;
11
+ }
12
+ return 0;
13
+ });
14
+ throw new Error("Invalid comparison");
15
+ }
16
+ return t;
10
17
  }
18
+ const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
11
19
  export {
12
- c as get
20
+ l as sort
13
21
  };
package/dist/index303.js CHANGED
@@ -1,81 +1,9 @@
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 "./index313.js";
3
- import { useFloating as k, arrow as x } from "./index216.js";
4
- import { autoUpdate as B, flip as C, offset as D, shift as P } from "./index228.js";
5
- const N = /* @__PURE__ */ _({
6
- __name: "CommonFloating",
7
- props: {
8
- arrowPadding: {},
9
- eager: { type: Boolean },
10
- offset: {},
11
- padding: {},
12
- placement: {},
13
- theme: {},
14
- transitionDuration: {},
15
- containerAttributes: { default: () => ({}) },
16
- bubbleAttributes: {},
17
- wrapper: {},
18
- baseClass: {},
19
- open: { type: Boolean }
20
- },
21
- setup(u) {
22
- const e = u, f = y(e, "wrapper"), a = p(), l = p(), { floatingStyles: c, placement: d, middlewareData: s } = k(
23
- f,
24
- a,
25
- {
26
- placement: e.placement,
27
- whileElementsMounted: B,
28
- middleware: [
29
- C(),
30
- D(e.offset),
31
- P({ padding: e.padding }),
32
- x({
33
- element: l,
34
- padding: e.arrowPadding
35
- })
36
- ]
37
- }
38
- ), m = o(() => {
39
- if (s.value.arrow) {
40
- const { x: t, y: i } = s.value.arrow;
41
- return {
42
- style: {
43
- left: `${t}px`,
44
- top: `${i}px`
45
- }
46
- };
47
- }
48
- }), g = o(() => b({}, e.containerAttributes, {
49
- class: {
50
- "bb-floating": !0,
51
- [`bb-floating--${d.value}`]: !0,
52
- [`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
53
- "bb-floating--hidden": !e.open,
54
- "bb-floating--open": e.open
55
- },
56
- style: {
57
- ...c.value,
58
- "--transition-duration": `${e.transitionDuration}ms`
59
- },
60
- inert: !e.open
61
- })), w = o(() => b({}, e.bubbleAttributes, {}));
62
- return (t, i) => (v(), h(A, { to: "body" }, [
63
- r("span", n({
64
- ref_key: "content",
65
- ref: a
66
- }, g.value), [
67
- r("span", n({
68
- ref_key: "bubblearrow",
69
- ref: l,
70
- class: "bb-floating__arrow"
71
- }, m.value), null, 16),
72
- r("span", n({ class: "bb-floating__bubble" }, w.value), [
73
- $(t.$slots, "default")
74
- ], 16)
75
- ], 16)
76
- ]));
77
- }
78
- });
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;
6
+ }
79
7
  export {
80
- N as default
8
+ l as range
81
9
  };
@@ -0,0 +1,35 @@
1
+ import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
+ /* empty css */
3
+ import n from "./index258.js";
4
+ const l = {}, s = {
5
+ class: "bb-error-icon",
6
+ fill: "none",
7
+ viewBox: "0 0 20 20",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+ function i(c, r) {
11
+ return e(), t("svg", s, r[0] || (r[0] = [
12
+ o("path", {
13
+ 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",
14
+ fill: "currentColor"
15
+ }, null, -1),
16
+ o("path", {
17
+ d: "M9.99414 6.66666V9.99999",
18
+ stroke: "white",
19
+ "stroke-linecap": "round",
20
+ "stroke-linejoin": "round",
21
+ "stroke-width": "2"
22
+ }, null, -1),
23
+ o("path", {
24
+ d: "M9.99414 13.3333H10.0025",
25
+ stroke: "white",
26
+ "stroke-linecap": "round",
27
+ "stroke-linejoin": "round",
28
+ "stroke-width": "2"
29
+ }, null, -1)
30
+ ]));
31
+ }
32
+ const a = /* @__PURE__ */ n(l, [["render", i]]);
33
+ export {
34
+ a as default
35
+ };