bitboss-ui 0.2.65 → 0.2.67
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/index101.js +1 -1
- package/dist/index103.js +2 -2
- package/dist/index109.js +1 -1
- package/dist/index111.js +3 -3
- package/dist/index113.js +1 -1
- package/dist/index116.js +1 -1
- package/dist/index118.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index19.js +3 -3
- package/dist/index198.js +2 -2
- package/dist/index199.js +2 -2
- package/dist/index200.js +2 -2
- package/dist/index201.js +3 -3
- package/dist/index202.js +2 -2
- package/dist/index203.js +2 -2
- package/dist/index206.js +2 -2
- package/dist/index207.js +2 -2
- package/dist/index21.js +2 -2
- package/dist/index211.js +1 -1
- package/dist/index213.js +1 -1
- package/dist/index214.js +3 -235
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +35 -3
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +6 -3
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +3 -2
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +3 -3
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +232 -32
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +121 -6
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +2 -121
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +2 -2
- package/dist/index222.js.map +1 -1
- package/dist/index224.js +6 -79
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +17 -2
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +79 -6
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +6 -17
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +2 -69
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +294 -159
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +4 -1
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +2 -5
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +113 -11
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +105 -294
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +2 -6
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +2 -2
- package/dist/index238.js +160 -2
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +1 -4
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +5 -2
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +4 -2
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +2 -117
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +68 -105
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +15 -4
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +430 -219
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +83 -252
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +224 -2
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +252 -429
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +197 -86
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +2 -200
- package/dist/index250.js.map +1 -1
- package/dist/index254.js +3 -2
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +2 -3
- package/dist/index255.js.map +1 -1
- package/dist/index29.js +1 -1
- package/dist/index31.js +4 -4
- package/dist/index31.js.map +1 -1
- package/dist/index65.js +1 -1
- package/dist/index69.js +2 -2
- package/dist/index72.js +1 -1
- package/dist/index75.js +1 -1
- package/dist/index77.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index99.js +112 -101
- package/dist/index99.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index243.js
CHANGED
|
@@ -1,109 +1,72 @@
|
|
|
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
|
-
|
|
1
|
+
import { defineComponent as d, openBlock as s, createElementBlock as a, normalizeClass as b, createElementVNode as t, createBlock as i, createCommentVNode as o, toDisplayString as l, withCtx as p } from "vue";
|
|
2
|
+
import h from "./index9.js";
|
|
3
|
+
import "./index10.js";
|
|
4
|
+
import u from "./index117.js";
|
|
5
|
+
import "./index169.js";
|
|
6
|
+
const k = { class: "bb-toast-message__icon-container" }, g = { class: "bb-toast-message__content" }, f = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "bb-toast-message__title"
|
|
9
|
+
}, C = { class: "bb-toast-message__text" }, v = { class: "bb-toast-message__close" }, w = /* @__PURE__ */ t("svg", {
|
|
10
|
+
fill: "none",
|
|
11
|
+
viewBox: "0 0 24 24",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
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), N = /* @__PURE__ */ d({
|
|
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, y) => (s(), a("div", {
|
|
36
|
+
"aria-atomic": "true",
|
|
37
|
+
"aria-live": "assertive",
|
|
38
|
+
"aria-role": "alert",
|
|
39
|
+
class: b(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
|
|
40
|
+
}, [
|
|
41
|
+
t("div", k, [
|
|
42
|
+
e.icon ? (s(), i(u, {
|
|
43
|
+
key: 0,
|
|
44
|
+
class: "bb-alert__icon",
|
|
45
|
+
type: e.icon
|
|
46
|
+
}, null, 8, ["type"])) : o("", !0)
|
|
47
|
+
]),
|
|
48
|
+
t("div", g, [
|
|
49
|
+
e.title ? (s(), a("p", f, l(e.title), 1)) : o("", !0),
|
|
50
|
+
t("p", C, l(e.text), 1)
|
|
51
|
+
]),
|
|
52
|
+
t("div", v, [
|
|
53
|
+
e.showClose ? (s(), i(h, {
|
|
54
|
+
key: 0,
|
|
55
|
+
"aria-label": "Chiudi",
|
|
56
|
+
block: "",
|
|
57
|
+
class: "bb-toast-message__close-btn",
|
|
58
|
+
onClick: _
|
|
59
|
+
}, {
|
|
60
|
+
default: p(() => [
|
|
61
|
+
w
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
})) : o("", !0)
|
|
65
|
+
])
|
|
66
|
+
], 2));
|
|
46
67
|
}
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
function h() {
|
|
50
|
-
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
51
|
-
}
|
|
52
|
-
function w(n) {
|
|
53
|
-
return ["html", "body", "#document"].includes(l(n));
|
|
54
|
-
}
|
|
55
|
-
function p(n) {
|
|
56
|
-
return i(n).getComputedStyle(n);
|
|
57
|
-
}
|
|
58
|
-
function C(n) {
|
|
59
|
-
return S(n) ? {
|
|
60
|
-
scrollLeft: n.scrollLeft,
|
|
61
|
-
scrollTop: n.scrollTop
|
|
62
|
-
} : {
|
|
63
|
-
scrollLeft: n.pageXOffset,
|
|
64
|
-
scrollTop: n.pageYOffset
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
function u(n) {
|
|
68
|
-
if (l(n) === "html")
|
|
69
|
-
return n;
|
|
70
|
-
const t = (
|
|
71
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
72
|
-
n.assignedSlot || // DOM Element detected.
|
|
73
|
-
n.parentNode || // ShadowRoot detected.
|
|
74
|
-
s(n) && n.host || // Fallback.
|
|
75
|
-
y(n)
|
|
76
|
-
);
|
|
77
|
-
return s(t) ? t.host : t;
|
|
78
|
-
}
|
|
79
|
-
function g(n) {
|
|
80
|
-
const t = u(n);
|
|
81
|
-
return w(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : d(t) && m(t) ? t : g(t);
|
|
82
|
-
}
|
|
83
|
-
function f(n, t, e) {
|
|
84
|
-
var o;
|
|
85
|
-
t === void 0 && (t = []), e === void 0 && (e = !0);
|
|
86
|
-
const r = g(n), b = r === ((o = n.ownerDocument) == null ? void 0 : o.body), c = i(r);
|
|
87
|
-
return b ? t.concat(c, c.visualViewport || [], m(r) ? r : [], c.frameElement && e ? f(c.frameElement) : []) : t.concat(r, f(r, [], e));
|
|
88
|
-
}
|
|
68
|
+
});
|
|
89
69
|
export {
|
|
90
|
-
|
|
91
|
-
T as getContainingBlock,
|
|
92
|
-
y as getDocumentElement,
|
|
93
|
-
g as getNearestOverflowAncestor,
|
|
94
|
-
l as getNodeName,
|
|
95
|
-
C as getNodeScroll,
|
|
96
|
-
f as getOverflowAncestors,
|
|
97
|
-
u as getParentNode,
|
|
98
|
-
i as getWindow,
|
|
99
|
-
N as isContainingBlock,
|
|
100
|
-
S as isElement,
|
|
101
|
-
d as isHTMLElement,
|
|
102
|
-
w as isLastTraversableNode,
|
|
103
|
-
a as isNode,
|
|
104
|
-
m as isOverflowElement,
|
|
105
|
-
s as isShadowRoot,
|
|
106
|
-
E as isTableElement,
|
|
107
|
-
h as isWebKit
|
|
70
|
+
N as default
|
|
108
71
|
};
|
|
109
72
|
//# sourceMappingURL=index243.js.map
|
package/dist/index243.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index243.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index243.js","sources":["../src/components/BbToast/BbToastMessage.vue"],"sourcesContent":["<template>\n\t<div\n\t\taria-atomic=\"true\"\n\t\taria-live=\"assertive\"\n\t\taria-role=\"alert\"\n\t\tclass=\"bb-toast-message\"\n\t\t:class=\"{ [`bb-toast-message--${theme}`]: theme }\"\n\t>\n\t\t<div class=\"bb-toast-message__icon-container\">\n\t\t\t<BbIcon v-if=\"icon\" class=\"bb-alert__icon\" :type=\"icon\" />\n\t\t</div>\n\n\t\t<div class=\"bb-toast-message__content\">\n\t\t\t<p v-if=\"title\" class=\"bb-toast-message__title\">{{ title }}</p>\n\t\t\t<p class=\"bb-toast-message__text\">{{ text }}</p>\n\t\t</div>\n\t\t<div class=\"bb-toast-message__close\">\n\t\t\t<BaseButton\n\t\t\t\tv-if=\"showClose\"\n\t\t\t\t:aria-label=\"'Chiudi'\"\n\t\t\t\tblock\n\t\t\t\tclass=\"bb-toast-message__close-btn\"\n\t\t\t\t@click=\"onClickClose\"\n\t\t\t>\n\t\t\t\t<svg fill=\"none\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M23 23L1 1M23 1L1 23\"\n\t\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\t/>\n\t\t\t\t</svg>\n\t\t\t</BaseButton>\n\t\t</div>\n\t</div>\n</template>\n\n<script setup lang=\"ts\">\nimport type { Message } from '../../composables/useToast';\nimport BaseButton from '../BaseButton/BaseButton.vue';\nimport BbIcon from '../BbIcon/BbIcon.vue';\n\nconst props = withDefaults(defineProps<Message>(), {\n\ttheme: 'default',\n});\ntype BbToastMessageEvents = {\n\t(e: 'click:close', id: Message['id']): void;\n};\nconst emit = defineEmits<BbToastMessageEvents>();\n\nconst onClickClose = () => {\n\temit('click:close', props.id);\n};\n</script>\n\n<style scoped></style>\n"],"names":["props","__props","emit","__emit","onClickClose"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,UAAMA,IAAQC,GAMRC,IAAOC,GAEPC,IAAe,MAAM;AACrB,MAAAF,EAAA,eAAeF,EAAM,EAAE;AAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index244.js
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
return
|
|
3
|
-
}
|
|
1
|
+
function r(t) {
|
|
2
|
+
return Object.prototype.toString.call(t).slice(8, -1);
|
|
3
|
+
}
|
|
4
|
+
function o(t) {
|
|
5
|
+
return r(t) === "Array";
|
|
6
|
+
}
|
|
7
|
+
function c(t) {
|
|
8
|
+
if (r(t) !== "Object")
|
|
9
|
+
return !1;
|
|
10
|
+
const e = Object.getPrototypeOf(t);
|
|
11
|
+
return !!e && e.constructor === Object && e === Object.prototype;
|
|
12
|
+
}
|
|
4
13
|
export {
|
|
5
|
-
|
|
14
|
+
r as getType,
|
|
15
|
+
o as isArray,
|
|
16
|
+
c as isPlainObject
|
|
6
17
|
};
|
|
7
18
|
//# sourceMappingURL=index244.js.map
|
package/dist/index244.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index244.js","sources":["../
|
|
1
|
+
{"version":3,"file":"index244.js","sources":["../node_modules/is-what/dist/index.js"],"sourcesContent":["function getType(payload) {\n return Object.prototype.toString.call(payload).slice(8, -1);\n}\n\nfunction isAnyObject(payload) {\n return getType(payload) === \"Object\";\n}\n\nfunction isArray(payload) {\n return getType(payload) === \"Array\";\n}\n\nfunction isBlob(payload) {\n return getType(payload) === \"Blob\";\n}\n\nfunction isBoolean(payload) {\n return getType(payload) === \"Boolean\";\n}\n\nfunction isDate(payload) {\n return getType(payload) === \"Date\" && !isNaN(payload);\n}\n\nfunction isEmptyArray(payload) {\n return isArray(payload) && payload.length === 0;\n}\n\nfunction isPlainObject(payload) {\n if (getType(payload) !== \"Object\")\n return false;\n const prototype = Object.getPrototypeOf(payload);\n return !!prototype && prototype.constructor === Object && prototype === Object.prototype;\n}\n\nfunction isEmptyObject(payload) {\n return isPlainObject(payload) && Object.keys(payload).length === 0;\n}\n\nfunction isEmptyString(payload) {\n return payload === \"\";\n}\n\nfunction isError(payload) {\n return getType(payload) === \"Error\" || payload instanceof Error;\n}\n\nfunction isFile(payload) {\n return getType(payload) === \"File\";\n}\n\nfunction isFullArray(payload) {\n return isArray(payload) && payload.length > 0;\n}\n\nfunction isFullObject(payload) {\n return isPlainObject(payload) && Object.keys(payload).length > 0;\n}\n\nfunction isString(payload) {\n return getType(payload) === \"String\";\n}\n\nfunction isFullString(payload) {\n return isString(payload) && payload !== \"\";\n}\n\nfunction isFunction(payload) {\n return typeof payload === \"function\";\n}\n\nfunction isType(payload, type) {\n if (!(type instanceof Function)) {\n throw new TypeError(\"Type must be a function\");\n }\n if (!Object.prototype.hasOwnProperty.call(type, \"prototype\")) {\n throw new TypeError(\"Type is not a class\");\n }\n const name = type.name;\n return getType(payload) === name || Boolean(payload && payload.constructor === type);\n}\n\nfunction isInstanceOf(value, classOrClassName) {\n if (typeof classOrClassName === \"function\") {\n for (let p = value; p; p = Object.getPrototypeOf(p)) {\n if (isType(p, classOrClassName)) {\n return true;\n }\n }\n return false;\n } else {\n for (let p = value; p; p = Object.getPrototypeOf(p)) {\n if (getType(p) === classOrClassName) {\n return true;\n }\n }\n return false;\n }\n}\n\nfunction isMap(payload) {\n return getType(payload) === \"Map\";\n}\n\nfunction isNaNValue(payload) {\n return getType(payload) === \"Number\" && isNaN(payload);\n}\n\nfunction isNumber(payload) {\n return getType(payload) === \"Number\" && !isNaN(payload);\n}\n\nfunction isNegativeNumber(payload) {\n return isNumber(payload) && payload < 0;\n}\n\nfunction isNull(payload) {\n return getType(payload) === \"Null\";\n}\n\nfunction isOneOf(a, b, c, d, e) {\n return (value) => a(value) || b(value) || !!c && c(value) || !!d && d(value) || !!e && e(value);\n}\n\nfunction isUndefined(payload) {\n return getType(payload) === \"Undefined\";\n}\n\nconst isNullOrUndefined = isOneOf(isNull, isUndefined);\n\nfunction isObject(payload) {\n return isPlainObject(payload);\n}\n\nfunction isObjectLike(payload) {\n return isAnyObject(payload);\n}\n\nfunction isPositiveNumber(payload) {\n return isNumber(payload) && payload > 0;\n}\n\nfunction isSymbol(payload) {\n return getType(payload) === \"Symbol\";\n}\n\nfunction isPrimitive(payload) {\n return isBoolean(payload) || isNull(payload) || isUndefined(payload) || isNumber(payload) || isString(payload) || isSymbol(payload);\n}\n\nfunction isPromise(payload) {\n return getType(payload) === \"Promise\";\n}\n\nfunction isRegExp(payload) {\n return getType(payload) === \"RegExp\";\n}\n\nfunction isSet(payload) {\n return getType(payload) === \"Set\";\n}\n\nfunction isWeakMap(payload) {\n return getType(payload) === \"WeakMap\";\n}\n\nfunction isWeakSet(payload) {\n return getType(payload) === \"WeakSet\";\n}\n\nexport { getType, isAnyObject, isArray, isBlob, isBoolean, isDate, isEmptyArray, isEmptyObject, isEmptyString, isError, isFile, isFullArray, isFullObject, isFullString, isFunction, isInstanceOf, isMap, isNaNValue, isNegativeNumber, isNull, isNullOrUndefined, isNumber, isObject, isObjectLike, isOneOf, isPlainObject, isPositiveNumber, isPrimitive, isPromise, isRegExp, isSet, isString, isSymbol, isType, isUndefined, isWeakMap, isWeakSet };\n"],"names":["getType","payload","isArray","isPlainObject","prototype"],"mappings":"AAAA,SAASA,EAAQC,GAAS;AACxB,SAAO,OAAO,UAAU,SAAS,KAAKA,CAAO,EAAE,MAAM,GAAG,EAAE;AAC5D;AAMA,SAASC,EAAQD,GAAS;AACxB,SAAOD,EAAQC,CAAO,MAAM;AAC9B;AAkBA,SAASE,EAAcF,GAAS;AAC9B,MAAID,EAAQC,CAAO,MAAM;AACvB,WAAO;AACT,QAAMG,IAAY,OAAO,eAAeH,CAAO;AAC/C,SAAO,CAAC,CAACG,KAAaA,EAAU,gBAAgB,UAAUA,MAAc,OAAO;AACjF;","x_google_ignoreList":[0]}
|