bitboss-ui 2.0.105 → 2.0.106
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/BaseDialog/BaseDialog.vue.d.ts +0 -1
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +1 -7
- package/dist/components/BbAlert/BbAlert.vue.d.ts +0 -1
- package/dist/components/BbChip/BbChip.vue.d.ts +0 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +0 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -1
- package/dist/components/BbTable/BbTable.vue.d.ts +2 -7
- package/dist/components/ListBox.vue.d.ts +0 -2
- package/dist/composables/useLocale.d.ts +1 -1
- package/dist/i18n/en.d.ts +45 -0
- package/dist/i18n/it.d.ts +45 -0
- package/dist/index100.js +9 -9
- package/dist/index111.js +109 -108
- package/dist/index119.js +2 -2
- package/dist/index121.js +55 -54
- package/dist/index123.js +1 -1
- package/dist/index125.js +14 -13
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +36 -35
- package/dist/index17.js +3 -3
- package/dist/index19.js +63 -64
- package/dist/index205.js +2 -115
- package/dist/index206.js +86 -2
- package/dist/index208.js +25 -4
- package/dist/index209.js +17 -2
- package/dist/index21.js +110 -103
- package/dist/index210.js +46 -279
- package/dist/index211.js +15 -16
- package/dist/index212.js +3 -16
- package/dist/index213.js +12 -19
- package/dist/index214.js +16 -19
- package/dist/index215.js +2 -27
- package/dist/index216.js +4 -3
- package/dist/index217.js +2 -2
- package/dist/index219.js +3 -250
- package/dist/index220.js +41 -52
- package/dist/index221.js +5 -43
- package/dist/index222.js +7 -5
- package/dist/index223.js +10 -58
- package/dist/index224.js +12 -83
- package/dist/index225.js +55 -0
- package/dist/index227.js +13 -25
- package/dist/index228.js +5 -17
- package/dist/index229.js +15 -47
- package/dist/index23.js +127 -119
- package/dist/index230.js +16 -15
- package/dist/index231.js +19 -12
- package/dist/index232.js +15 -16
- package/dist/index233.js +19 -3
- package/dist/index234.js +26 -40
- package/dist/index235.js +2 -6
- package/dist/index236.js +250 -7
- package/dist/index237.js +50 -10
- package/dist/index238.js +39 -48
- package/dist/index239.js +7 -0
- package/dist/index240.js +60 -13
- package/dist/index241.js +20 -3
- package/dist/index242.js +3 -125
- package/dist/index243.js +123 -122
- package/dist/index244.js +125 -2
- package/dist/index245.js +2 -20
- package/dist/index246.js +2 -2
- package/dist/index247.js +2 -2
- package/dist/index248.js +114 -3
- package/dist/index249.js +3 -2
- package/dist/index25.js +44 -41
- package/dist/index250.js +2 -2
- package/dist/index251.js +18 -2
- package/dist/index252.js +105 -17
- package/dist/{index255.js → index254.js} +2 -2
- package/dist/index256.js +14 -0
- package/dist/index257.js +2 -12
- package/dist/index258.js +2 -10
- package/dist/index259.js +9 -2
- package/dist/index260.js +3 -6
- package/dist/index261.js +3 -16
- package/dist/index262.js +17 -9
- package/dist/index263.js +8 -8
- package/dist/index264.js +28 -23
- package/dist/index265.js +4 -89
- package/dist/index266.js +433 -0
- package/dist/index267.js +2 -4
- package/dist/index268.js +88 -5
- package/dist/index269.js +7 -2
- package/dist/index27.js +1 -1
- package/dist/index270.js +11 -2
- package/dist/index271.js +3 -2
- package/dist/index273.js +7 -2
- package/dist/index274.js +200 -2
- package/dist/index275.js +281 -2
- package/dist/index276.js +6 -2
- package/dist/index277.js +2 -2
- package/dist/index278.js +2 -2
- package/dist/index279.js +2 -28
- package/dist/index280.js +2 -22
- package/dist/index282.js +2 -7
- package/dist/index283.js +2 -3
- package/dist/index284.js +2 -7
- package/dist/index285.js +2 -11
- package/dist/index286.js +2 -17
- package/dist/index287.js +2 -9
- package/dist/index288.js +20 -429
- package/dist/index29.js +3 -3
- package/dist/index290.js +8 -88
- package/dist/index291.js +23 -3
- package/dist/index292.js +91 -0
- package/dist/index294.js +171 -195
- package/dist/index297.js +22 -176
- package/dist/index299.js +11 -0
- package/dist/index300.js +6 -8
- package/dist/index301.js +15 -435
- package/dist/index302.js +8 -127
- package/dist/index303.js +224 -3
- package/dist/index304.js +436 -3
- package/dist/index305.js +126 -212
- package/dist/index306.js +3 -3
- package/dist/index307.js +3 -3
- package/dist/index308.js +212 -56
- package/dist/index309.js +67 -7
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -19
- package/dist/index311.js +5 -66
- package/dist/index312.js +4 -6
- package/dist/index313.js +8 -2
- package/dist/index314.js +6 -4
- package/dist/index315.js +18 -7
- package/dist/index316.js +45 -0
- package/dist/index317.js +47 -2
- package/dist/index318.js +7 -5
- package/dist/index319.js +32 -2
- package/dist/index321.js +2 -32
- package/dist/index322.js +3 -47
- package/dist/index323.js +3 -2
- package/dist/index324.js +49 -471
- package/dist/index325.js +49 -0
- package/dist/index326.js +2 -424
- package/dist/index327.js +479 -46
- package/dist/index329.js +426 -0
- package/dist/index33.js +45 -45
- package/dist/index330.js +49 -0
- package/dist/index35.js +56 -55
- package/dist/index37.js +166 -165
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +70 -71
- package/dist/index45.js +7 -7
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index53.js +28 -27
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +32 -31
- package/dist/index75.js +3 -3
- package/dist/index77.js +87 -86
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +45 -44
- package/dist/index86.js +67 -66
- package/dist/index88.js +69 -67
- package/dist/index90.js +1 -1
- package/package.json +1 -1
- package/dist/index207.js +0 -4
- package/dist/index226.js +0 -10
- package/dist/index253.js +0 -108
- package/dist/index289.js +0 -4
- package/dist/index293.js +0 -226
- package/dist/index298.js +0 -24
- /package/dist/{index272.js → index281.js} +0 -0
- /package/dist/{index328.js → index331.js} +0 -0
package/dist/index223.js
CHANGED
@@ -1,62 +1,14 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
},
|
11
|
-
emits: ["update:year"],
|
12
|
-
setup(p, { emit: _ }) {
|
13
|
-
const f = p, b = _, o = i(), r = d(() => f.cursor.year()), c = i(r.value - n * l), s = i(r.value + n * l), v = d(
|
14
|
-
() => H(c.value, s.value).map((e) => ({
|
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));
|
26
|
-
};
|
27
|
-
return h(() => {
|
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));
|
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"]));
|
58
10
|
}
|
59
11
|
});
|
60
12
|
export {
|
61
|
-
|
13
|
+
m as default
|
62
14
|
};
|
package/dist/index224.js
CHANGED
@@ -1,86 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
hasErrors: { type: Boolean },
|
13
|
-
hideLabel: { type: Boolean },
|
14
|
-
loadingText: {},
|
15
|
-
loading: { type: Boolean },
|
16
|
-
noDataText: {},
|
17
|
-
options: {}
|
18
|
-
},
|
19
|
-
setup(k) {
|
20
|
-
return (a, y) => (t(), n("span", {
|
21
|
-
ref: "container",
|
22
|
-
class: r(["bb-cr-container", {
|
23
|
-
"bb-cr-container--errors": a.hasErrors,
|
24
|
-
"bb-cr-container--horizontal": a.direction === "horizontal",
|
25
|
-
"bb-cr-container--vertical": a.direction === "vertical"
|
26
|
-
}])
|
27
|
-
}, [
|
28
|
-
l("span", p, [
|
29
|
-
s(a.$slots, "prepend"),
|
30
|
-
!a.options.length && a.loading ? (t(), n("span", u, [
|
31
|
-
s(a.$slots, "loading", {}, () => [
|
32
|
-
o(d(a.loadingText), 1)
|
33
|
-
])
|
34
|
-
])) : a.options.length ? h("", !0) : (t(), n("span", g, [
|
35
|
-
s(a.$slots, "no-data", {}, () => [
|
36
|
-
o(d(a.noDataText), 1)
|
37
|
-
])
|
38
|
-
])),
|
39
|
-
(t(!0), n(c, null, m(a.options, (e, i) => (t(), n(c, {
|
40
|
-
key: (e == null ? void 0 : e.valueHash) || i
|
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
|
-
}
|
1
|
+
import { locales as t } from "./index269.js";
|
2
|
+
import { _config as m } from "./index4.js";
|
3
|
+
import { get as c } from "./index270.js";
|
4
|
+
import { readonly as l, computed as n } from "vue";
|
5
|
+
const p = (o, ...r) => l(
|
6
|
+
n(() => c(t[m.locale], o).replace(
|
7
|
+
/\{(\d+)\}/g,
|
8
|
+
(a, e) => r[e]
|
9
|
+
))
|
10
|
+
), d = () => ({
|
11
|
+
t: p
|
83
12
|
});
|
84
13
|
export {
|
85
|
-
|
14
|
+
d as useLocale
|
86
15
|
};
|
package/dist/index225.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 "./index127.js";
|
5
|
+
/* empty css */
|
6
|
+
import $ from "./index129.js";
|
7
|
+
/* empty css */
|
8
|
+
import b from "./index319.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/index227.js
CHANGED
@@ -1,27 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
console.error(i);
|
14
|
-
}
|
15
|
-
e.value--;
|
16
|
-
}
|
17
|
-
}, c = f(u, o.debounce || 0);
|
18
|
-
return {
|
19
|
-
getter: u,
|
20
|
-
debouncedGetter: c,
|
21
|
-
items: t,
|
22
|
-
loading: a(() => !!e.value)
|
23
|
-
};
|
24
|
-
};
|
1
|
+
import { openBlock as t, createElementBlock as n, renderSlot as e } from "vue";
|
2
|
+
/* empty css */
|
3
|
+
import r from "./index273.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]]);
|
25
13
|
export {
|
26
|
-
|
14
|
+
i as default
|
27
15
|
};
|
package/dist/index228.js
CHANGED
@@ -1,19 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
const t = {}, c = new Array().concat(m(a));
|
6
|
-
for (let e = 0; e < c.length; e++) {
|
7
|
-
const o = c[e], u = r ? String(o[r]) : s(o);
|
8
|
-
t[u] = o;
|
9
|
-
}
|
10
|
-
return t;
|
11
|
-
});
|
12
|
-
return {
|
13
|
-
data: n,
|
14
|
-
get: (t) => r ? n.value[String(t[r])] : n.value[s(t)]
|
15
|
-
};
|
16
|
-
};
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index276.js";
|
2
|
+
import { __require as o } from "./index275.js";
|
3
|
+
var t = o();
|
4
|
+
const s = /* @__PURE__ */ r(t);
|
17
5
|
export {
|
18
|
-
|
6
|
+
s as default
|
19
7
|
};
|
package/dist/index229.js
CHANGED
@@ -1,50 +1,18 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
itemValue: c,
|
12
|
-
selectedIndexedByHash: p,
|
13
|
-
max: b = 1 / 0
|
14
|
-
}) => {
|
15
|
-
const v = d(() => s(l)), f = d(() => s(i)), h = Object.keys(p.value).length, g = s(b), m = (e) => {
|
16
|
-
const n = V(e, s(c)), o = w(n), u = O(e, s(a)), r = p.value[o] !== void 0, I = T(
|
17
|
-
e,
|
18
|
-
v.value,
|
19
|
-
t,
|
20
|
-
g,
|
21
|
-
h
|
22
|
-
);
|
23
|
-
return {
|
24
|
-
item: e,
|
25
|
-
text: u,
|
26
|
-
value: n,
|
27
|
-
valueHash: o,
|
28
|
-
selected: r,
|
29
|
-
disabled: s(I)
|
1
|
+
import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index276.js";
|
2
|
+
import { __module as e } from "./index278.js";
|
3
|
+
(function(s, a) {
|
4
|
+
(function(i, t) {
|
5
|
+
s.exports = t();
|
6
|
+
})(n, function() {
|
7
|
+
return function(i, t) {
|
8
|
+
t.prototype.isSameOrAfter = function(r, o) {
|
9
|
+
return this.isSame(r, o) || this.isAfter(r, o);
|
10
|
+
};
|
30
11
|
};
|
31
|
-
};
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
for (let o = 0; o < f.value.length; o++) {
|
36
|
-
const u = f.value[o];
|
37
|
-
u.disabled && H(
|
38
|
-
"Disabling an item by passing a disabled option to the item itself is deprecated and will be removed in a future version. Use the `disabled` prop or the `selectable` iteratee prop instead."
|
39
|
-
);
|
40
|
-
const r = m(u);
|
41
|
-
n.has(r.valueHash) || (n.add(r.valueHash), e.push(r));
|
42
|
-
}
|
43
|
-
return e;
|
44
|
-
}),
|
45
|
-
createOption: m
|
46
|
-
};
|
47
|
-
};
|
12
|
+
});
|
13
|
+
})(e);
|
14
|
+
var m = e.exports;
|
15
|
+
const c = /* @__PURE__ */ f(m);
|
48
16
|
export {
|
49
|
-
|
17
|
+
c as default
|
50
18
|
};
|