bitboss-ui 2.0.22 → 2.0.23
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/index107.js +5 -5
- package/dist/index115.js +1 -1
- package/dist/index117.js +5 -5
- package/dist/index119.js +1 -1
- package/dist/index123.js +1 -1
- package/dist/index124.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index129.js +2 -2
- package/dist/index130.js +1 -1
- package/dist/index14.js +1 -1
- package/dist/index16.js +3 -3
- package/dist/index18.js +2 -2
- package/dist/index199.js +2 -81
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +12 -12
- package/dist/index200.js +80 -7
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +44 -3
- package/dist/index201.js.map +1 -1
- package/dist/index203.js +12 -43
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +6 -0
- package/dist/index204.js.map +1 -0
- package/dist/index205.js +3 -13
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +33 -156
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +5 -83
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +10 -0
- package/dist/index208.js.map +1 -0
- package/dist/index209.js +8 -3
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +123 -32
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +5 -6
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +123 -7
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +18 -280
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +2 -2
- package/dist/index215.js +2 -2
- package/dist/index216.js +2 -19
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +2 -19
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +172 -25
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -3
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +13 -13
- package/dist/index220.js +369 -2
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +17 -247
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +26 -51
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +3 -44
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +249 -5
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +43 -40
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +44 -2
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +5 -4
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +49 -2
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +151 -119
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +84 -123
- package/dist/index230.js.map +1 -1
- package/dist/index232.js +2 -174
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +4 -5
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +2 -369
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +2 -2
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +18 -2
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +105 -17
- package/dist/index237.js.map +1 -1
- package/dist/{index240.js → index239.js} +2 -2
- package/dist/{index240.js.map → index239.js.map} +1 -1
- package/dist/index24.js +5 -5
- package/dist/index241.js +5 -0
- package/dist/index241.js.map +1 -0
- package/dist/index244.js +3 -6
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +8 -15
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +23 -9
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +9 -3
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +6 -9
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +16 -23
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +1 -1
- package/dist/index251.js +1 -1
- package/dist/index254.js +431 -3
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +88 -11
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +280 -8
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +6 -9
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +2 -17
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +2 -2
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +1 -1
- package/dist/index260.js +2 -66
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +2 -5
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +2 -431
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +119 -82
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +22 -6
- package/dist/index264.js.map +1 -1
- package/dist/index266.js +200 -2
- package/dist/index266.js.map +1 -1
- package/dist/index269.js +2 -2
- package/dist/index270.js +2 -2
- package/dist/index271.js +1 -1
- package/dist/index272.js +1 -1
- package/dist/index273.js +28 -2
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +21 -1
- package/dist/index274.js.map +1 -1
- package/dist/index276.js +435 -21
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +130 -0
- package/dist/index277.js.map +1 -0
- package/dist/index278.js +2 -200
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +9 -4
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +3 -3
- package/dist/index280.js +3 -2
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +12 -126
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +8 -21
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +20 -0
- package/dist/index283.js.map +1 -0
- package/dist/index284.js +64 -434
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +5 -127
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +4 -3
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +1 -1
- package/dist/index288.js +3 -211
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +211 -15
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +15 -4
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +79 -4
- package/dist/index291.js.map +1 -1
- package/dist/index293.js +4 -79
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +7 -0
- package/dist/index294.js.map +1 -0
- package/dist/index295.js +59 -2
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +34 -10
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +2 -35
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +10 -6
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +5 -17
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +2 -2
- package/dist/index300.js +6 -46
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +17 -5
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +47 -480
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +483 -0
- package/dist/index303.js.map +1 -0
- package/dist/index305.js +416 -42
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +47 -2
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +5 -0
- package/dist/index307.js.map +1 -0
- package/dist/index32.js +2 -2
- package/dist/index34.js +3 -3
- package/dist/index36.js +13 -13
- package/dist/index38.js +4 -4
- package/dist/index40.js +2 -2
- package/dist/index42.js +2 -2
- package/dist/index44.js +6 -6
- package/dist/index46.js +2 -2
- package/dist/index48.js +2 -2
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index72.js +3 -3
- package/dist/index76.js +2 -2
- package/dist/index78.js +1 -1
- package/dist/index81.js +2 -2
- package/dist/index83.js +1 -1
- package/dist/index85.js +3 -3
- package/dist/index87.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/index202.js +0 -5
- package/dist/index202.js.map +0 -1
- package/dist/index231.js +0 -5
- package/dist/index231.js.map +0 -1
- package/dist/index238.js +0 -109
- package/dist/index238.js.map +0 -1
- package/dist/index265.js +0 -5
- package/dist/index265.js.map +0 -1
- package/dist/index275.js +0 -31
- package/dist/index275.js.map +0 -1
- package/dist/index292.js +0 -62
- package/dist/index292.js.map +0 -1
- package/dist/index304.js +0 -424
- package/dist/index304.js.map +0 -1
package/dist/index280.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index280.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index280.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/dist/index281.js
CHANGED
@@ -1,129 +1,15 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
}
|
12
|
-
function d(n) {
|
13
|
-
return n instanceof Node || n instanceof i(n).Node;
|
14
|
-
}
|
15
|
-
function m(n) {
|
16
|
-
return n instanceof Element || n instanceof i(n).Element;
|
17
|
-
}
|
18
|
-
function p(n) {
|
19
|
-
return n instanceof HTMLElement || n instanceof i(n).HTMLElement;
|
20
|
-
}
|
21
|
-
function f(n) {
|
22
|
-
return typeof ShadowRoot > "u" ? !1 : n instanceof ShadowRoot || n instanceof i(n).ShadowRoot;
|
23
|
-
}
|
24
|
-
function w(n) {
|
25
|
-
const {
|
26
|
-
overflow: t,
|
27
|
-
overflowX: e,
|
28
|
-
overflowY: o,
|
29
|
-
display: r
|
30
|
-
} = g(n);
|
31
|
-
return /auto|scroll|overlay|hidden|clip/.test(t + o + e) && !["inline", "contents"].includes(r);
|
32
|
-
}
|
33
|
-
function L(n) {
|
34
|
-
return ["table", "td", "th"].includes(l(n));
|
35
|
-
}
|
36
|
-
function E(n) {
|
37
|
-
return [":popover-open", ":modal"].some((t) => {
|
38
|
-
try {
|
39
|
-
return n.matches(t);
|
40
|
-
} catch {
|
41
|
-
return !1;
|
42
|
-
}
|
43
|
-
});
|
44
|
-
}
|
45
|
-
function N(n) {
|
46
|
-
const t = T(), e = m(n) ? g(n) : n;
|
47
|
-
return e.transform !== "none" || e.perspective !== "none" || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (e.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (e.contain || "").includes(o));
|
48
|
-
}
|
49
|
-
function D(n) {
|
50
|
-
let t = u(n);
|
51
|
-
for (; p(t) && !y(t); ) {
|
52
|
-
if (N(t))
|
53
|
-
return t;
|
54
|
-
if (E(t))
|
55
|
-
return null;
|
56
|
-
t = u(t);
|
57
|
-
}
|
58
|
-
return null;
|
59
|
-
}
|
60
|
-
function T() {
|
61
|
-
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
62
|
-
}
|
63
|
-
function y(n) {
|
64
|
-
return ["html", "body", "#document"].includes(l(n));
|
65
|
-
}
|
66
|
-
function g(n) {
|
67
|
-
return i(n).getComputedStyle(n);
|
68
|
-
}
|
69
|
-
function k(n) {
|
70
|
-
return m(n) ? {
|
71
|
-
scrollLeft: n.scrollLeft,
|
72
|
-
scrollTop: n.scrollTop
|
73
|
-
} : {
|
74
|
-
scrollLeft: n.scrollX,
|
75
|
-
scrollTop: n.scrollY
|
76
|
-
};
|
77
|
-
}
|
78
|
-
function u(n) {
|
79
|
-
if (l(n) === "html")
|
80
|
-
return n;
|
81
|
-
const t = (
|
82
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
83
|
-
n.assignedSlot || // DOM Element detected.
|
84
|
-
n.parentNode || // ShadowRoot detected.
|
85
|
-
f(n) && n.host || // Fallback.
|
86
|
-
S(n)
|
87
|
-
);
|
88
|
-
return f(t) ? t.host : t;
|
89
|
-
}
|
90
|
-
function b(n) {
|
91
|
-
const t = u(n);
|
92
|
-
return y(t) ? n.ownerDocument ? n.ownerDocument.body : n.body : p(t) && w(t) ? t : b(t);
|
93
|
-
}
|
94
|
-
function a(n, t, e) {
|
95
|
-
var o;
|
96
|
-
t === void 0 && (t = []), e === void 0 && (e = !0);
|
97
|
-
const r = b(n), h = r === ((o = n.ownerDocument) == null ? void 0 : o.body), c = i(r);
|
98
|
-
if (h) {
|
99
|
-
const s = v(c);
|
100
|
-
return t.concat(c, c.visualViewport || [], w(r) ? r : [], s && e ? a(s) : []);
|
101
|
-
}
|
102
|
-
return t.concat(r, a(r, [], e));
|
103
|
-
}
|
104
|
-
function v(n) {
|
105
|
-
return Object.getPrototypeOf(n.parent) ? n.frameElement : null;
|
106
|
-
}
|
1
|
+
import { ref as t } from "vue";
|
2
|
+
const n = () => {
|
3
|
+
const e = t([]);
|
4
|
+
return { array: e, set: (...r) => {
|
5
|
+
e.value = r;
|
6
|
+
}, add: (...r) => {
|
7
|
+
e.value.push(...r);
|
8
|
+
}, remove: (r) => {
|
9
|
+
e.value = e.value.filter(r);
|
10
|
+
} };
|
11
|
+
};
|
107
12
|
export {
|
108
|
-
|
109
|
-
D as getContainingBlock,
|
110
|
-
S as getDocumentElement,
|
111
|
-
v as getFrameElement,
|
112
|
-
b as getNearestOverflowAncestor,
|
113
|
-
l as getNodeName,
|
114
|
-
k as getNodeScroll,
|
115
|
-
a as getOverflowAncestors,
|
116
|
-
u as getParentNode,
|
117
|
-
i as getWindow,
|
118
|
-
N as isContainingBlock,
|
119
|
-
m as isElement,
|
120
|
-
p as isHTMLElement,
|
121
|
-
y as isLastTraversableNode,
|
122
|
-
d as isNode,
|
123
|
-
w as isOverflowElement,
|
124
|
-
f as isShadowRoot,
|
125
|
-
L as isTableElement,
|
126
|
-
E as isTopLayer,
|
127
|
-
T as isWebKit
|
13
|
+
n as useArray
|
128
14
|
};
|
129
15
|
//# sourceMappingURL=index281.js.map
|
package/dist/index281.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index281.js","sources":["../
|
1
|
+
{"version":3,"file":"index281.js","sources":["../src/composables/useArray.ts"],"sourcesContent":["import { ref, type Ref } from 'vue';\n\nexport const useArray = <T>() => {\n\tconst array = ref<T[]>([]) as Ref<T[]>;\n\n\tconst set = (...items: T[]) => {\n\t\tarray.value = items;\n\t};\n\tconst add = (...items: T[]) => {\n\t\tarray.value.push(...items);\n\t};\n\tconst remove = (iteratee: (option: T) => boolean) => {\n\t\tarray.value = array.value.filter(iteratee);\n\t};\n\n\treturn { array, set, add, remove };\n};\n"],"names":["useArray","array","ref","items","iteratee"],"mappings":";AAEO,MAAMA,IAAW,MAAS;AAC1B,QAAAC,IAAQC,EAAS,CAAA,CAAE;AAYzB,SAAO,EAAE,OAAAD,GAAO,KAVJ,IAAIE,MAAe;AAC9B,IAAAF,EAAM,QAAQE;AAAA,EAAA,GASM,KAPT,IAAIA,MAAe;AACxB,IAAAF,EAAA,MAAM,KAAK,GAAGE,CAAK;AAAA,EAAA,GAMA,QAJX,CAACC,MAAqC;AACpD,IAAAH,EAAM,QAAQA,EAAM,MAAM,OAAOG,CAAQ;AAAA,EAAA,EAGT;AAClC;"}
|
package/dist/index282.js
CHANGED
@@ -1,25 +1,12 @@
|
|
1
|
-
|
2
|
-
const
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
duration: { default: 500 },
|
7
|
-
gap: { default: 0 }
|
8
|
-
},
|
9
|
-
setup(t) {
|
10
|
-
const a = t, n = i(() => `bb-slide-back-in-${a.direction}`);
|
11
|
-
return (e, c) => (r(), d(l, {
|
12
|
-
name: n.value,
|
13
|
-
style: s({ "--transition-duration": `${e.duration}ms`, "--gap": `${e.gap}px` })
|
14
|
-
}, {
|
15
|
-
default: u(() => [
|
16
|
-
p(e.$slots, "default", {}, void 0, !0)
|
17
|
-
]),
|
18
|
-
_: 3
|
19
|
-
}, 8, ["name", "style"]));
|
1
|
+
function u(e, i) {
|
2
|
+
const n = /* @__PURE__ */ new Set(), s = [];
|
3
|
+
for (let t = 0; t < e.length; t++) {
|
4
|
+
const o = e[t], c = i(o);
|
5
|
+
n.has(c) || (n.add(c), s.push(o));
|
20
6
|
}
|
21
|
-
|
7
|
+
return s;
|
8
|
+
}
|
22
9
|
export {
|
23
|
-
|
10
|
+
u as uniqBy
|
24
11
|
};
|
25
12
|
//# sourceMappingURL=index282.js.map
|
package/dist/index282.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index282.js","sources":["../src/
|
1
|
+
{"version":3,"file":"index282.js","sources":["../src/utilities/functions/uniqBy.ts"],"sourcesContent":["export function uniqBy<T, K>(array: T[], keyFn: (item: T) => K): T[] {\n\tconst seen = new Set<K>();\n\tconst result: T[] = [];\n\n\tfor (let i = 0; i < array.length; i++) {\n\t\tconst item = array[i];\n\t\tconst key = keyFn(item);\n\t\tif (!seen.has(key)) {\n\t\t\tseen.add(key);\n\t\t\tresult.push(item);\n\t\t}\n\t}\n\n\treturn result;\n}\n"],"names":["uniqBy","array","keyFn","seen","result","i","item","key"],"mappings":"AAAgB,SAAAA,EAAaC,GAAYC,GAA4B;AAC9D,QAAAC,wBAAW,OACXC,IAAc,CAAA;AAEpB,WAASC,IAAI,GAAGA,IAAIJ,EAAM,QAAQI,KAAK;AAChC,UAAAC,IAAOL,EAAMI,CAAC,GACdE,IAAML,EAAMI,CAAI;AACtB,IAAKH,EAAK,IAAII,CAAG,MAChBJ,EAAK,IAAII,CAAG,GACZH,EAAO,KAAKE,CAAI;AAAA,EAElB;AAEO,SAAAF;AACR;"}
|
package/dist/index283.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
import { get as t } from "./index298.js";
|
2
|
+
const o = () => ({
|
3
|
+
getItemText(r, n) {
|
4
|
+
if (typeof r == "string" && !n) return r;
|
5
|
+
if (n) {
|
6
|
+
if (typeof n == "function") {
|
7
|
+
let f = n(r);
|
8
|
+
return typeof f != "string" && (f = JSON.stringify(f)), f;
|
9
|
+
} else if (typeof n == "string") {
|
10
|
+
const f = t(r, n);
|
11
|
+
return typeof f == "string" ? f : JSON.stringify(f);
|
12
|
+
}
|
13
|
+
}
|
14
|
+
return JSON.stringify(r);
|
15
|
+
}
|
16
|
+
});
|
17
|
+
export {
|
18
|
+
o as useItemText
|
19
|
+
};
|
20
|
+
//# sourceMappingURL=index283.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index283.js","sources":["../src/composables/useItemText.ts"],"sourcesContent":["import { get } from '@/utilities/functions/get';\n\ntype NestedKeyOf<ObjectType extends object> = {\n\t[Key in keyof ObjectType & (string | number)]: ObjectType[Key] extends object\n\t\t? `${Key}` | `${Key}.${NestedKeyOf<ObjectType[Key]>}`\n\t\t: `${Key}`;\n}[keyof ObjectType & (string | number)];\n\nexport type Path<T> = T extends object\n\t?\n\t\t\t| NestedKeyOf<T>\n\t\t\t| ((item: T) => string | number)\n\t\t\t| undefined\n\t\t\t| (string & Record<never, never>)\n\t: undefined;\n\nexport const useItemText = () => ({\n\tgetItemText<T>(item: T, getter?: Path<T>): string {\n\t\tif (typeof item === 'string' && !getter) return item;\n\t\telse if (getter) {\n\t\t\tif (typeof getter === 'function') {\n\t\t\t\tlet found = getter(item);\n\t\t\t\tif (typeof found !== 'string') found = JSON.stringify(found);\n\t\t\t\treturn found;\n\t\t\t} else if (typeof getter === 'string') {\n\t\t\t\tconst found = get(item, getter as any);\n\t\t\t\tif (typeof found === 'string') return found;\n\t\t\t\telse return JSON.stringify(found);\n\t\t\t}\n\t\t}\n\t\treturn JSON.stringify(item);\n\t},\n});\n"],"names":["useItemText","item","getter","found","get"],"mappings":";AAgBO,MAAMA,IAAc,OAAO;AAAA,EACjC,YAAeC,GAASC,GAA0B;AACjD,QAAI,OAAOD,KAAS,YAAY,CAACC,EAAe,QAAAD;AAAA,QACvCC;AACJ,UAAA,OAAOA,KAAW,YAAY;AAC7B,YAAAC,IAAQD,EAAOD,CAAI;AACvB,eAAI,OAAOE,KAAU,aAAkBA,IAAA,KAAK,UAAUA,CAAK,IACpDA;AAAA,MAAA,WACG,OAAOD,KAAW,UAAU;AAChC,cAAAC,IAAQC,EAAIH,GAAMC,CAAa;AACjC,eAAA,OAAOC,KAAU,WAAiBA,IAC1B,KAAK,UAAUA,CAAK;AAAA,MACjC;AAAA;AAEM,WAAA,KAAK,UAAUF,CAAI;AAAA,EAC3B;AACD;"}
|