bitboss-ui 2.0.86 → 2.0.87
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/components/BbTable/BbTable.vue.d.ts +4 -0
- package/dist/components/BbTable/types.d.ts +2 -0
- package/dist/index110.js +27 -27
- package/dist/index118.js +1 -1
- package/dist/index120.js +5 -5
- package/dist/index126.js +1 -1
- 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/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index205.js +2 -5
- package/dist/index206.js +2 -16
- package/dist/index207.js +4 -16
- package/dist/index208.js +2 -19
- package/dist/index209.js +124 -17
- package/dist/index21.js +14 -14
- package/dist/index210.js +5 -27
- package/dist/index211.js +125 -3
- package/dist/index212.js +19 -2
- package/dist/index213.js +16 -8
- package/dist/index214.js +14 -247
- package/dist/index215.js +2 -52
- package/dist/index216.js +2 -44
- package/dist/index217.js +41 -5
- package/dist/index218.js +18 -58
- package/dist/index219.js +5 -52
- package/dist/index220.js +55 -0
- package/dist/index222.js +13 -20
- package/dist/index223.js +5 -4
- package/dist/index224.js +12 -2
- package/dist/index225.js +360 -155
- package/dist/index226.js +4 -84
- package/dist/index227.js +166 -0
- package/dist/index228.js +84 -2
- package/dist/index23.js +16 -16
- package/dist/index230.js +19 -2
- package/dist/index231.js +27 -3
- package/dist/index232.js +3 -41
- package/dist/index233.js +7 -5
- package/dist/index234.js +249 -7
- package/dist/index235.js +50 -10
- package/dist/index236.js +43 -125
- package/dist/index237.js +5 -125
- package/dist/index238.js +60 -2
- package/dist/index239.js +3 -5
- package/dist/index240.js +7 -369
- package/dist/index241.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 +6 -281
- package/dist/index252.js +16 -6
- package/dist/index253.js +9 -2
- package/dist/index254.js +23 -2
- package/dist/index255.js +89 -2
- package/dist/index257.js +9 -2
- package/dist/index258.js +4 -2
- package/dist/index259.js +281 -2
- package/dist/index260.js +6 -2
- package/dist/index261.js +2 -2
- package/dist/index262.js +2 -2
- package/dist/index263.js +2 -28
- package/dist/index264.js +2 -22
- package/dist/index266.js +126 -7
- package/dist/index267.js +429 -7
- package/dist/index268.js +176 -23
- package/dist/index269.js +3 -89
- package/dist/index271.js +7 -6
- package/dist/index272.js +21 -15
- package/dist/index274.js +4 -0
- package/dist/index275.js +3 -176
- package/dist/index276.js +12 -9
- package/dist/index277.js +9 -3
- package/dist/index278.js +9 -12
- package/dist/index279.js +16 -8
- package/dist/index280.js +4 -9
- package/dist/index281.js +434 -15
- package/dist/index282.js +126 -3
- package/dist/index283.js +199 -3
- package/dist/index284.js +2 -431
- package/dist/index285.js +2 -2
- package/dist/index286.js +2 -89
- package/dist/index287.js +2 -2
- package/dist/index288.js +2 -126
- package/dist/index289.js +1 -21
- package/dist/index29.js +3 -3
- package/dist/index290.js +30 -0
- package/dist/index291.js +21 -199
- package/dist/index293.js +81 -428
- package/dist/index294.js +218 -121
- package/dist/index297.js +1 -1
- package/dist/index301.js +4 -5
- package/dist/index302.js +4 -8
- package/dist/index303.js +59 -3
- package/dist/index304.js +3 -4
- package/dist/index305.js +33 -4
- package/dist/index306.js +7 -4
- package/dist/index307.js +4 -58
- package/dist/index308.js +7 -6
- package/dist/index309.js +6 -18
- package/dist/index31.js +2 -2
- package/dist/index310.js +18 -32
- package/dist/index311.js +3 -6
- package/dist/{index315.js → index316.js} +1 -1
- 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 +3 -3
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/index221.js +0 -15
- package/dist/index229.js +0 -6
- package/dist/index273.js +0 -5
- package/dist/index292.js +0 -226
- /package/dist/{index256.js → index265.js} +0 -0
package/dist/index218.js
CHANGED
@@ -1,62 +1,22 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
(
|
15
|
-
text: e,
|
16
|
-
key: e,
|
17
|
-
selected: e === r.value,
|
18
|
-
handler: () => b("update:year", e)
|
19
|
-
}))
|
20
|
-
), k = (e) => {
|
21
|
-
const t = e.target;
|
22
|
-
t.scrollTop <= 100 ? c.value = Math.max(
|
23
|
-
c.value - n * l,
|
24
|
-
r.value - 200
|
25
|
-
) : t.scrollHeight - t.scrollTop === t.clientHeight && (s.value = Math.min(s.value + n * l, 2101));
|
1
|
+
import { MaskInput as r } from "./index268.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);
|
26
15
|
};
|
27
|
-
|
28
|
-
if (!o.value) return;
|
29
|
-
const e = o.value.querySelector(
|
30
|
-
".content__btn--selected"
|
31
|
-
);
|
32
|
-
e && (e.parentElement.scrollTop = e.offsetTop - e.parentElement.clientHeight / 2 + 16);
|
33
|
-
}), (e, t) => (u(), m("div", {
|
34
|
-
ref_key: "container",
|
35
|
-
ref: o,
|
36
|
-
class: "bb-base-date-picker__button-menu bb-base-date-picker__year-selector scrollbar-border"
|
37
|
-
}, [
|
38
|
-
y("div", {
|
39
|
-
class: "content",
|
40
|
-
onScrollPassive: k
|
41
|
-
}, [
|
42
|
-
(u(!0), m(x, null, B(v.value, (a) => (u(), C(M, {
|
43
|
-
key: a.key,
|
44
|
-
class: S({
|
45
|
-
content__btn: !0,
|
46
|
-
"content__btn--selected": a.selected
|
47
|
-
}),
|
48
|
-
disabled: e.disabled,
|
49
|
-
onClick: a.handler
|
50
|
-
}, {
|
51
|
-
default: T(() => [
|
52
|
-
E(w(a.text), 1)
|
53
|
-
]),
|
54
|
-
_: 2
|
55
|
-
}, 1032, ["class", "disabled", "onClick"]))), 128))
|
56
|
-
], 32)
|
57
|
-
], 512));
|
16
|
+
e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
|
58
17
|
}
|
59
|
-
|
18
|
+
u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
|
19
|
+
};
|
60
20
|
export {
|
61
|
-
|
21
|
+
k as vMaska
|
62
22
|
};
|
package/dist/index219.js
CHANGED
@@ -1,55 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
/* empty css */
|
6
|
-
import $ from "./index128.js";
|
7
|
-
/* empty css */
|
8
|
-
import b from "./index310.js";
|
9
|
-
const y = { class: "bb-common-input-inner-container__prefix" }, k = { class: "bb-common-input-inner-container__suffix" }, S = /* @__PURE__ */ f({
|
10
|
-
__name: "CommonInputInnerContainer",
|
11
|
-
props: {
|
12
|
-
"append:icon": {},
|
13
|
-
"prepend:icon": {},
|
14
|
-
preventFocus: { type: Boolean }
|
15
|
-
},
|
16
|
-
setup(m) {
|
17
|
-
const u = m, o = d(), l = () => {
|
18
|
-
var n;
|
19
|
-
!o.value || u.preventFocus || (n = o.value.querySelector("input")) == null || n.focus();
|
20
|
-
};
|
21
|
-
return (n, C) => (r(), _("span", {
|
22
|
-
ref_key: "container",
|
23
|
-
ref: o,
|
24
|
-
class: "bb-common-input-inner-container",
|
25
|
-
onClick: l
|
26
|
-
}, [
|
27
|
-
e(n.$slots, "prepend", {}, () => [
|
28
|
-
t("span", y, [
|
29
|
-
e(n.$slots, "prefix")
|
30
|
-
])
|
31
|
-
]),
|
32
|
-
n.$props["prepend:icon"] ? (r(), s(p(a), {
|
33
|
-
key: 0,
|
34
|
-
class: "bb-common-input-inner-container__prepend-icon",
|
35
|
-
type: n.$props["prepend:icon"]
|
36
|
-
}, null, 8, ["type"])) : i("", !0),
|
37
|
-
e(n.$slots, "default"),
|
38
|
-
n.$props["append:icon"] ? (r(), s(p(a), {
|
39
|
-
key: 1,
|
40
|
-
class: "bb-common-input-inner-container__append-icon",
|
41
|
-
type: n.$props["append:icon"]
|
42
|
-
}, null, 8, ["type"])) : i("", !0),
|
43
|
-
c(p($)),
|
44
|
-
c(b),
|
45
|
-
e(n.$slots, "append", {}, () => [
|
46
|
-
t("span", k, [
|
47
|
-
e(n.$slots, "suffix")
|
48
|
-
])
|
49
|
-
])
|
50
|
-
], 512));
|
51
|
-
}
|
1
|
+
const o = (e, t = 50) => new Promise((r) => {
|
2
|
+
const n = setInterval(() => {
|
3
|
+
e() && (clearInterval(n), r());
|
4
|
+
}, t);
|
52
5
|
});
|
53
6
|
export {
|
54
|
-
|
7
|
+
o as waitFor
|
55
8
|
};
|
package/dist/index220.js
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
import { defineComponent as f, ref as d, openBlock as r, createElementBlock as _, renderSlot as e, createElementVNode as t, createBlock as s, unref as p, createCommentVNode as i, createVNode as c } from "vue";
|
2
|
+
/* empty css */
|
3
|
+
/* empty css */
|
4
|
+
import a from "./index126.js";
|
5
|
+
/* empty css */
|
6
|
+
import $ from "./index128.js";
|
7
|
+
/* empty css */
|
8
|
+
import b from "./index305.js";
|
9
|
+
const y = { class: "bb-common-input-inner-container__prefix" }, k = { class: "bb-common-input-inner-container__suffix" }, S = /* @__PURE__ */ f({
|
10
|
+
__name: "CommonInputInnerContainer",
|
11
|
+
props: {
|
12
|
+
"append:icon": {},
|
13
|
+
"prepend:icon": {},
|
14
|
+
preventFocus: { type: Boolean }
|
15
|
+
},
|
16
|
+
setup(m) {
|
17
|
+
const u = m, o = d(), l = () => {
|
18
|
+
var n;
|
19
|
+
!o.value || u.preventFocus || (n = o.value.querySelector("input")) == null || n.focus();
|
20
|
+
};
|
21
|
+
return (n, C) => (r(), _("span", {
|
22
|
+
ref_key: "container",
|
23
|
+
ref: o,
|
24
|
+
class: "bb-common-input-inner-container",
|
25
|
+
onClick: l
|
26
|
+
}, [
|
27
|
+
e(n.$slots, "prepend", {}, () => [
|
28
|
+
t("span", y, [
|
29
|
+
e(n.$slots, "prefix")
|
30
|
+
])
|
31
|
+
]),
|
32
|
+
n.$props["prepend:icon"] ? (r(), s(p(a), {
|
33
|
+
key: 0,
|
34
|
+
class: "bb-common-input-inner-container__prepend-icon",
|
35
|
+
type: n.$props["prepend:icon"]
|
36
|
+
}, null, 8, ["type"])) : i("", !0),
|
37
|
+
e(n.$slots, "default"),
|
38
|
+
n.$props["append:icon"] ? (r(), s(p(a), {
|
39
|
+
key: 1,
|
40
|
+
class: "bb-common-input-inner-container__append-icon",
|
41
|
+
type: n.$props["append:icon"]
|
42
|
+
}, null, 8, ["type"])) : i("", !0),
|
43
|
+
c(p($)),
|
44
|
+
c(b),
|
45
|
+
e(n.$slots, "append", {}, () => [
|
46
|
+
t("span", k, [
|
47
|
+
e(n.$slots, "suffix")
|
48
|
+
])
|
49
|
+
])
|
50
|
+
], 512));
|
51
|
+
}
|
52
|
+
});
|
53
|
+
export {
|
54
|
+
S as default
|
55
|
+
};
|
package/dist/index222.js
CHANGED
@@ -1,22 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
-
};
|
1
|
+
import { openBlock as t, createElementBlock as n, renderSlot as e } from "vue";
|
2
|
+
/* empty css */
|
3
|
+
import r from "./index271.js";
|
4
|
+
const s = {}, c = { class: "bb-common-input-outer-container" };
|
5
|
+
function p(o, a) {
|
6
|
+
return t(), n("span", c, [
|
7
|
+
e(o.$slots, "prepend-outer"),
|
8
|
+
e(o.$slots, "default"),
|
9
|
+
e(o.$slots, "append-outer")
|
10
|
+
]);
|
11
|
+
}
|
12
|
+
const i = /* @__PURE__ */ r(s, [["render", p]]);
|
20
13
|
export {
|
21
|
-
|
14
|
+
i as default
|
22
15
|
};
|
package/dist/index223.js
CHANGED
package/dist/index224.js
CHANGED
@@ -1,4 +1,14 @@
|
|
1
|
-
|
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
|
+
});
|
2
12
|
export {
|
3
|
-
|
13
|
+
m as default
|
4
14
|
};
|