bitboss-ui 2.0.81 → 2.0.83
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.
- package/dist/index110.js +5 -5
- package/dist/index118.js +2 -2
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- package/dist/index126.js +22 -21
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index204.js +2 -81
- package/dist/index205.js +53 -2
- package/dist/index207.js +13 -16
- package/dist/index208.js +5 -16
- package/dist/index209.js +15 -18
- package/dist/index21.js +14 -14
- package/dist/index210.js +13 -16
- package/dist/index211.js +18 -26
- package/dist/index212.js +19 -3
- package/dist/index213.js +27 -2
- package/dist/index214.js +3 -8
- package/dist/index215.js +2 -249
- package/dist/index216.js +6 -50
- package/dist/index217.js +241 -36
- package/dist/index218.js +52 -5
- package/dist/index219.js +31 -47
- package/dist/index220.js +5 -2
- package/dist/index221.js +60 -4
- package/dist/index222.js +2 -2
- package/dist/index223.js +4 -164
- package/dist/index224.js +2 -84
- package/dist/index225.js +5 -0
- package/dist/index226.js +3 -126
- package/dist/index227.js +40 -124
- package/dist/index228.js +6 -2
- package/dist/index229.js +7 -41
- package/dist/index23.js +16 -16
- package/dist/index230.js +11 -19
- package/dist/index231.js +164 -6
- package/dist/index232.js +78 -47
- package/dist/index234.js +81 -13
- package/dist/index235.js +20 -5
- package/dist/index236.js +4 -12
- package/dist/index237.js +110 -353
- package/dist/index238.js +125 -3
- package/dist/index239.js +2 -3
- package/dist/index240.js +5 -7
- package/dist/index241.js +368 -3
- package/dist/index242.js +1 -1
- package/dist/index244.js +1 -1
- package/dist/index246.js +1 -1
- package/dist/index25.js +6 -6
- package/dist/index251.js +3 -9
- package/dist/index253.js +7 -89
- package/dist/index254.js +283 -0
- package/dist/index255.js +6 -6
- package/dist/index256.js +2 -16
- package/dist/index257.js +2 -9
- package/dist/index258.js +2 -281
- package/dist/index259.js +2 -6
- package/dist/index260.js +2 -2
- package/dist/index262.js +2 -2
- package/dist/index263.js +2 -2
- package/dist/index264.js +2 -2
- package/dist/index265.js +2 -2
- package/dist/index266.js +28 -2
- package/dist/index267.js +21 -1
- package/dist/index269.js +4 -2
- package/dist/index27.js +1 -1
- package/dist/index270.js +222 -26
- package/dist/index271.js +429 -20
- package/dist/index272.js +4 -0
- package/dist/index273.js +88 -6
- package/dist/index274.js +6 -4
- package/dist/index275.js +16 -3
- package/dist/index276.js +8 -11
- package/dist/index277.js +23 -9
- package/dist/index278.js +87 -7
- package/dist/index280.js +3 -4
- package/dist/index281.js +12 -224
- package/dist/index282.js +9 -3
- package/dist/index283.js +11 -0
- package/dist/index284.js +15 -174
- package/dist/index285.js +4 -2
- package/dist/index286.js +171 -121
- package/dist/index287.js +189 -420
- package/dist/index288.js +9 -22
- package/dist/index289.js +4 -0
- package/dist/index29.js +3 -3
- package/dist/index290.js +126 -2
- package/dist/index291.js +21 -435
- package/dist/index293.js +65 -199
- package/dist/index294.js +2 -3
- package/dist/index295.js +5 -3
- package/dist/index296.js +432 -207
- package/dist/index297.js +125 -87
- package/dist/index298.js +1 -1
- package/dist/index299.js +3 -2
- package/dist/index300.js +211 -5
- package/dist/index301.js +5 -66
- package/dist/index302.js +8 -4
- package/dist/index303.js +7 -4
- package/dist/index304.js +17 -57
- package/dist/index305.js +32 -4
- package/dist/index306.js +6 -7
- package/dist/index307.js +3 -6
- package/dist/index308.js +4 -7
- package/dist/index309.js +4 -19
- package/dist/index31.js +2 -2
- package/dist/index310.js +58 -32
- package/dist/index311.js +3 -4
- package/dist/index312.js +2 -47
- package/dist/index314.js +47 -480
- package/dist/index316.js +482 -0
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +10 -10
- package/dist/index39.js +3 -3
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +4 -4
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +3 -3
- package/dist/index86.js +1 -1
- package/dist/index88.js +4 -4
- package/dist/index90.js +1 -1
- package/package.json +1 -1
- package/dist/index206.js +0 -7
- package/dist/index252.js +0 -25
- package/dist/index268.js +0 -4
- package/dist/index279.js +0 -19
- package/dist/index292.js +0 -129
- package/dist/index315.js +0 -4
package/dist/index293.js
CHANGED
@@ -1,202 +1,68 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
} :
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
},
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
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));
|
48
64
|
}
|
49
|
-
|
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
|
-
};
|
65
|
+
});
|
196
66
|
export {
|
197
|
-
|
198
|
-
R as getTabIndex,
|
199
|
-
X as isFocusable,
|
200
|
-
G as isTabbable,
|
201
|
-
Z as tabbable
|
67
|
+
E as default
|
202
68
|
};
|
package/dist/index294.js
CHANGED
package/dist/index295.js
CHANGED