bitboss-ui 2.0.90 → 2.0.91
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/index.js +1 -0
- package/dist/index109.js +5 -5
- package/dist/index117.js +2 -2
- package/dist/index119.js +5 -5
- package/dist/index12.js +1 -1
- package/dist/index121.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index131.js +2 -2
- package/dist/index132.js +2 -2
- package/dist/index14.js +4 -4
- package/dist/index16.js +3 -3
- package/dist/index18.js +2 -2
- package/dist/index20.js +12 -12
- package/dist/index203.js +2 -81
- package/dist/index204.js +81 -2
- package/dist/index205.js +2 -52
- package/dist/index206.js +6 -0
- package/dist/index207.js +2 -13
- package/dist/index208.js +50 -6
- package/dist/index210.js +13 -4
- package/dist/index211.js +157 -119
- package/dist/index212.js +84 -5
- package/dist/index214.js +5 -19
- package/dist/index215.js +2 -2
- package/dist/index216.js +2 -2
- package/dist/index217.js +19 -2
- package/dist/index218.js +19 -2
- package/dist/index219.js +26 -40
- package/dist/index22.js +14 -14
- package/dist/index220.js +3 -20
- package/dist/index221.js +2 -6
- package/dist/index222.js +8 -5
- package/dist/index223.js +247 -10
- package/dist/index224.js +50 -367
- package/dist/index225.js +44 -2
- package/dist/index226.js +5 -3
- package/dist/index227.js +60 -4
- package/dist/index228.js +126 -3
- package/dist/index229.js +125 -7
- package/dist/index230.js +2 -164
- package/dist/index231.js +41 -84
- package/dist/index232.js +22 -0
- package/dist/index233.js +6 -19
- package/dist/index234.js +5 -27
- package/dist/index235.js +12 -3
- package/dist/index236.js +366 -246
- package/dist/index237.js +3 -52
- package/dist/index238.js +7 -44
- package/dist/index239.js +3 -5
- package/dist/index24.js +6 -6
- package/dist/index240.js +4 -60
- package/dist/index243.js +1 -1
- package/dist/index245.js +1 -1
- package/dist/index250.js +9 -3
- package/dist/index251.js +25 -0
- package/dist/index252.js +89 -7
- package/dist/index254.js +6 -23
- package/dist/index255.js +14 -87
- package/dist/index256.js +6 -0
- package/dist/index257.js +3 -4
- package/dist/index259.js +7 -6
- package/dist/index26.js +1 -1
- package/dist/index260.js +3 -2
- package/dist/index261.js +12 -2
- package/dist/index262.js +9 -2
- package/dist/index263.js +9 -2
- package/dist/index264.js +17 -2
- package/dist/index265.js +3 -125
- package/dist/index266.js +277 -427
- package/dist/index267.js +5 -175
- package/dist/index268.js +2 -22
- package/dist/index270.js +2 -2
- package/dist/index271.js +2 -224
- package/dist/index272.js +2 -6
- package/dist/index273.js +2 -16
- package/dist/index274.js +2 -9
- package/dist/index275.js +2 -200
- package/dist/index276.js +2 -436
- package/dist/index277.js +2 -127
- package/dist/index278.js +24 -85
- package/dist/index279.js +22 -3
- package/dist/index28.js +3 -3
- package/dist/index281.js +2 -9
- package/dist/index282.js +125 -8
- package/dist/index283.js +429 -15
- package/dist/index284.js +175 -3
- package/dist/index285.js +22 -2
- package/dist/index287.js +1 -1
- package/dist/index288.js +9 -2
- package/dist/index289.js +436 -2
- package/dist/index290.js +127 -2
- package/dist/index291.js +197 -25
- package/dist/index292.js +224 -22
- package/dist/index293.js +91 -0
- package/dist/index297.js +1 -1
- package/dist/index298.js +66 -5
- package/dist/index299.js +5 -66
- package/dist/index30.js +2 -2
- package/dist/index300.js +4 -32
- package/dist/index301.js +7 -4
- package/dist/index302.js +3 -8
- package/dist/index303.js +3 -4
- package/dist/index304.js +3 -3
- package/dist/index305.js +58 -3
- package/dist/index306.js +33 -3
- package/dist/index307.js +6 -57
- package/dist/index308.js +18 -10
- package/dist/index310.js +10 -6
- package/dist/index311.js +3 -18
- package/dist/index313.js +1 -1
- package/dist/index315.js +1 -1
- package/dist/index32.js +2 -2
- package/dist/index34.js +3 -3
- package/dist/index36.js +10 -10
- package/dist/index38.js +3 -3
- package/dist/index40.js +2 -2
- package/dist/index42.js +2 -2
- package/dist/index44.js +4 -4
- 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/index74.js +3 -3
- package/dist/index78.js +2 -2
- package/dist/index80.js +1 -1
- package/dist/index83.js +3 -3
- package/dist/index85.js +1 -1
- package/dist/index87.js +4 -4
- package/dist/index89.js +1 -1
- package/package.json +2 -1
- package/dist/index209.js +0 -4
- package/dist/index213.js +0 -127
- package/dist/index253.js +0 -11
- package/dist/index258.js +0 -283
- package/dist/index280.js +0 -14
- /package/dist/{index286.js → index269.js} +0 -0
package/dist/index231.js
CHANGED
@@ -1,86 +1,43 @@
|
|
1
|
-
import {
|
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
|
-
s(a.$slots, "option:prepend", {
|
43
|
-
id: e.valueHash,
|
44
|
-
checked: !!e.selected,
|
45
|
-
disabled: !!e.disabled,
|
46
|
-
item: e.item,
|
47
|
-
text: e.text
|
48
|
-
}),
|
49
|
-
l("label", {
|
50
|
-
class: r(["bb-cr-container-option", { "bb-base-radio-selected": e.selected }])
|
51
|
-
}, [
|
52
|
-
s(a.$slots, "input", {
|
53
|
-
index: i,
|
54
|
-
option: e
|
55
|
-
}),
|
56
|
-
l("span", {
|
57
|
-
class: r({
|
58
|
-
"bb-cr-container-option__text": !0,
|
59
|
-
"sr-only": a.hideLabel
|
60
|
-
})
|
61
|
-
}, [
|
62
|
-
s(a.$slots, "label", {
|
63
|
-
checked: !!e.selected,
|
64
|
-
item: e.item,
|
65
|
-
text: e.text
|
66
|
-
}, () => [
|
67
|
-
o(d(e.text), 1)
|
68
|
-
])
|
69
|
-
], 2)
|
70
|
-
], 2),
|
71
|
-
s(a.$slots, "option:append", {
|
72
|
-
id: e.valueHash,
|
73
|
-
checked: !!e.selected,
|
74
|
-
disabled: !!e.disabled,
|
75
|
-
item: e.item,
|
76
|
-
text: e.text
|
77
|
-
})
|
78
|
-
], 64))), 128)),
|
79
|
-
s(a.$slots, "append")
|
80
|
-
])
|
81
|
-
], 2));
|
82
|
-
}
|
83
|
-
});
|
1
|
+
import { unrefElement as A } from "./index131.js";
|
2
|
+
import { toValue as n, notNullish as g, tryOnScopeDispose as y } from "./index204.js";
|
3
|
+
import { ref as i, computed as D, watch as F } from "vue";
|
4
|
+
import { createFocusTrap as T } from "./index283.js";
|
5
|
+
function E(f, a = {}) {
|
6
|
+
let e;
|
7
|
+
const { immediate: l, ...p } = a, r = i(!1), s = i(!1), c = (t) => e && e.activate(t), u = (t) => e && e.deactivate(t), v = () => {
|
8
|
+
e && (e.pause(), s.value = !0);
|
9
|
+
}, m = () => {
|
10
|
+
e && (e.unpause(), s.value = !1);
|
11
|
+
}, d = D(() => {
|
12
|
+
const t = n(f);
|
13
|
+
return (Array.isArray(t) ? t : [t]).map((h) => {
|
14
|
+
const o = n(h);
|
15
|
+
return typeof o == "string" ? o : A(o);
|
16
|
+
}).filter(g);
|
17
|
+
});
|
18
|
+
return F(
|
19
|
+
d,
|
20
|
+
(t) => {
|
21
|
+
t.length && (e = T(t, {
|
22
|
+
...p,
|
23
|
+
onActivate() {
|
24
|
+
r.value = !0, a.onActivate && a.onActivate();
|
25
|
+
},
|
26
|
+
onDeactivate() {
|
27
|
+
r.value = !1, a.onDeactivate && a.onDeactivate();
|
28
|
+
}
|
29
|
+
}), l && c());
|
30
|
+
},
|
31
|
+
{ flush: "post" }
|
32
|
+
), y(() => u()), {
|
33
|
+
hasFocus: r,
|
34
|
+
isPaused: s,
|
35
|
+
activate: c,
|
36
|
+
deactivate: u,
|
37
|
+
pause: v,
|
38
|
+
unpause: m
|
39
|
+
};
|
40
|
+
}
|
84
41
|
export {
|
85
|
-
|
42
|
+
E as useFocusTrap
|
86
43
|
};
|
package/dist/index232.js
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { MaskInput as r } from "./index284.js";
|
2
|
+
const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
|
3
|
+
if (a.arg == null || a.instance == null) return;
|
4
|
+
const s = "setup" in a.instance.$.type;
|
5
|
+
a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
|
6
|
+
}, k = (a, n) => {
|
7
|
+
var s;
|
8
|
+
const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
|
9
|
+
if (t == null || (t == null ? void 0 : t.type) === "file") return;
|
10
|
+
let e = {};
|
11
|
+
if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
|
12
|
+
const l = (o) => {
|
13
|
+
const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
|
14
|
+
p(n, i);
|
15
|
+
};
|
16
|
+
e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
|
17
|
+
}
|
18
|
+
u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
|
19
|
+
};
|
20
|
+
export {
|
21
|
+
k as vMaska
|
22
|
+
};
|
package/dist/index233.js
CHANGED
@@ -1,21 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
(
|
4
|
-
|
5
|
-
|
6
|
-
})(s, function() {
|
7
|
-
return function(c, e, r) {
|
8
|
-
r.updateLocale = function(f, o) {
|
9
|
-
var t = r.Ls[f];
|
10
|
-
if (t) return (o ? Object.keys(o) : []).forEach(function(a) {
|
11
|
-
t[a] = o[a];
|
12
|
-
}), t;
|
13
|
-
};
|
14
|
-
};
|
15
|
-
});
|
16
|
-
})(n);
|
17
|
-
var i = n.exports;
|
18
|
-
const x = /* @__PURE__ */ p(i);
|
1
|
+
const o = (e, t = 50) => new Promise((r) => {
|
2
|
+
const n = setInterval(() => {
|
3
|
+
e() && (clearInterval(n), r());
|
4
|
+
}, t);
|
5
|
+
});
|
19
6
|
export {
|
20
|
-
|
7
|
+
o as waitFor
|
21
8
|
};
|
package/dist/index234.js
CHANGED
@@ -1,29 +1,7 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
f.exports = e();
|
6
|
-
})(k, function() {
|
7
|
-
var r = "week", e = "year";
|
8
|
-
return function(w, u, a) {
|
9
|
-
var o = u.prototype;
|
10
|
-
o.week = function(t) {
|
11
|
-
if (t === void 0 && (t = null), t !== null) return this.add(7 * (t - this.week()), "day");
|
12
|
-
var s = this.$locale().yearStart || 1;
|
13
|
-
if (this.month() === 11 && this.date() > 25) {
|
14
|
-
var l = a(this).startOf(e).add(1, e).date(s), d = a(this).endOf(r);
|
15
|
-
if (l.isBefore(d)) return 1;
|
16
|
-
}
|
17
|
-
var h = a(this).startOf(e).date(s).startOf(r).subtract(1, "millisecond"), i = this.diff(h, r, !0);
|
18
|
-
return i < 0 ? a(this).startOf("week").week() : Math.ceil(i);
|
19
|
-
}, o.weeks = function(t) {
|
20
|
-
return t === void 0 && (t = null), this.week(t);
|
21
|
-
};
|
22
|
-
};
|
23
|
-
});
|
24
|
-
})(n);
|
25
|
-
var m = n.exports;
|
26
|
-
const x = /* @__PURE__ */ c(m);
|
1
|
+
import o from "./index285.js";
|
2
|
+
/* empty css */
|
3
|
+
import t from "./index259.js";
|
4
|
+
const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-cb4d6ef0"]]);
|
27
5
|
export {
|
28
|
-
|
6
|
+
e as default
|
29
7
|
};
|
package/dist/index235.js
CHANGED
@@ -1,5 +1,14 @@
|
|
1
|
-
import {
|
2
|
-
const
|
1
|
+
import { defineComponent as n, getCurrentInstance as s, openBlock as p, createBlock as c, Teleport as l, unref as u, renderSlot as a } from "vue";
|
2
|
+
const m = /* @__PURE__ */ n({
|
3
|
+
__name: "BbTeleport",
|
4
|
+
setup(_) {
|
5
|
+
var e, t;
|
6
|
+
const o = !!((t = (e = s()) == null ? void 0 : e.proxy) != null && t.$nuxt) ? "#teleports" : "body";
|
7
|
+
return (r, d) => (p(), c(l, { to: u(o) }, [
|
8
|
+
a(r.$slots, "default")
|
9
|
+
], 8, ["to"]));
|
10
|
+
}
|
11
|
+
});
|
3
12
|
export {
|
4
|
-
|
13
|
+
m as default
|
5
14
|
};
|