bitboss-ui 2.0.121 → 2.0.123
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/BbButton/BbButton.vue.d.ts +7 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +5 -0
- package/dist/index100.js +8 -8
- package/dist/index111.js +12 -12
- package/dist/index119.js +2 -2
- package/dist/index121.js +6 -6
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index205.js +2 -115
- package/dist/index206.js +115 -2
- package/dist/index207.js +2 -8
- package/dist/index208.js +4 -3
- package/dist/index209.js +2 -2
- package/dist/index21.js +16 -16
- package/dist/index210.js +86 -4
- package/dist/index212.js +25 -86
- package/dist/index213.js +19 -0
- package/dist/index214.js +48 -22
- package/dist/index215.js +12 -14
- package/dist/index216.js +3 -51
- package/dist/index217.js +11 -14
- package/dist/index218.js +15 -11
- package/dist/index219.js +5 -16
- package/dist/index220.js +125 -5
- package/dist/index221.js +13 -122
- package/dist/index222.js +10 -10
- package/dist/index223.js +18 -15
- package/dist/index224.js +12 -16
- package/dist/index225.js +2 -15
- package/dist/index226.js +2 -2
- package/dist/index227.js +41 -2
- package/dist/index228.js +13 -41
- package/dist/index229.js +20 -13
- package/dist/index23.js +16 -16
- package/dist/index230.js +6 -20
- package/dist/index231.js +93 -5
- package/dist/{index234.js → index233.js} +2 -2
- package/dist/index235.js +15 -0
- package/dist/index236.js +2 -13
- package/dist/index237.js +3 -2
- package/dist/index239.js +19 -3
- package/dist/index240.js +27 -3
- package/dist/index241.js +8 -7
- package/dist/index242.js +246 -11
- package/dist/index243.js +51 -18
- package/dist/index244.js +44 -27
- package/dist/index245.js +5 -250
- package/dist/index246.js +51 -43
- package/dist/index247.js +3 -44
- package/dist/index248.js +7 -5
- package/dist/index249.js +11 -56
- package/dist/index25.js +7 -7
- package/dist/index250.js +18 -2
- package/dist/index251.js +126 -2
- package/dist/index252.js +105 -17
- package/dist/index254.js +47 -53
- package/dist/index256.js +12 -100
- package/dist/index257.js +216 -0
- package/dist/index258.js +368 -11
- package/dist/index259.js +2 -214
- package/dist/index260.js +2 -369
- package/dist/index265.js +3 -3
- package/dist/index268.js +4 -28
- package/dist/index269.js +3 -4
- package/dist/index27.js +1 -1
- package/dist/index270.js +17 -3
- package/dist/index271.js +7 -15
- package/dist/index272.js +27 -8
- package/dist/index281.js +1 -1
- package/dist/index283.js +1 -1
- package/dist/index284.js +1 -1
- package/dist/index287.js +2 -2
- package/dist/index29.js +3 -3
- package/dist/index290.js +200 -2
- package/dist/index291.js +2 -89
- package/dist/index292.js +2 -200
- package/dist/index293.js +2 -2
- package/dist/index294.js +2 -2
- package/dist/index295.js +1 -1
- package/dist/index297.js +21 -1
- package/dist/index299.js +1 -21
- package/dist/index300.js +91 -0
- package/dist/index303.js +1 -1
- package/dist/index304.js +1 -1
- package/dist/index305.js +1 -1
- package/dist/index308.js +2 -3
- package/dist/index309.js +67 -3
- package/dist/index31.js +2 -2
- package/dist/index310.js +5 -58
- package/dist/index311.js +5 -67
- package/dist/index312.js +8 -5
- package/dist/index313.js +3 -2
- package/dist/index314.js +3 -5
- package/dist/index315.js +57 -7
- package/dist/index316.js +3 -32
- package/dist/index317.js +52 -25
- package/dist/index318.js +52 -479
- package/dist/index319.js +479 -52
- package/dist/index320.js +32 -52
- package/dist/index321.js +25 -3
- package/dist/index322.js +6 -6
- package/dist/index323.js +18 -6
- package/dist/index324.js +5 -17
- package/dist/index326.js +1 -1
- package/dist/index33.js +8 -8
- package/dist/index35.js +4 -4
- package/dist/index37.js +22 -22
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +45 -38
- package/dist/index75.js +1 -1
- package/dist/index77.js +81 -77
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +1 -1
- package/dist/index88.js +5 -5
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index211.js +0 -4
- package/dist/index232.js +0 -92
- package/dist/index253.js +0 -128
- package/dist/index298.js +0 -4
package/dist/index77.js
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import
|
1
|
+
import { defineComponent as E, ref as A, computed as y, openBlock as l, createElementBlock as z, mergeProps as _, unref as r, createVNode as u, withCtx as n, createBlock as P, createCommentVNode as v, createElementVNode as b, toDisplayString as h, createSlots as I, renderSlot as a, normalizeProps as i, guardReactiveProps as s, renderList as M } from "vue";
|
2
|
+
import D from "./index13.js";
|
3
3
|
/* empty css */
|
4
|
-
import
|
4
|
+
import O from "./index75.js";
|
5
5
|
/* empty css */
|
6
6
|
/* empty css */
|
7
7
|
/* empty css */
|
8
|
-
import
|
8
|
+
import S from "./index127.js";
|
9
9
|
/* empty css */
|
10
|
-
import
|
10
|
+
import R from "./index129.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useLocale as
|
13
|
-
const
|
12
|
+
import { useLocale as T } from "./index228.js";
|
13
|
+
const Z = { class: "bb-dropdown-button__content" }, q = {
|
14
14
|
key: 1,
|
15
15
|
class: "bb-dropdown-button__loading-label sr-only"
|
16
|
-
}, F = { class: "bb-dropdown-button__dropdown-label sr-only" },
|
16
|
+
}, F = { class: "bb-dropdown-button__dropdown-label sr-only" }, ne = /* @__PURE__ */ E({
|
17
17
|
__name: "BbDropdownButton",
|
18
18
|
props: {
|
19
19
|
arrowPadding: {},
|
@@ -32,44 +32,48 @@ const q = { class: "bb-dropdown-button__content" }, A = {
|
|
32
32
|
"append:icon": {},
|
33
33
|
disabledWhileLoading: { type: Boolean, default: !0 },
|
34
34
|
loading: { type: Boolean },
|
35
|
-
"prepend:icon": {}
|
35
|
+
"prepend:icon": {},
|
36
|
+
size: {}
|
36
37
|
},
|
37
|
-
setup(
|
38
|
-
const t =
|
38
|
+
setup(W) {
|
39
|
+
const t = W, { t: m } = T(), c = A(0), f = y(
|
39
40
|
() => t.loading || !!c.value && t.autoLoading
|
40
|
-
),
|
41
|
-
|
42
|
-
},
|
43
|
-
() => t.items.map((
|
44
|
-
...
|
45
|
-
key:
|
46
|
-
onClick:
|
41
|
+
), j = (e) => async (...d) => {
|
42
|
+
f.value && t.disabledWhileLoading || (c.value++, await e(...d), c.value--);
|
43
|
+
}, w = y(
|
44
|
+
() => t.items.map((e) => e.onClick ? {
|
45
|
+
...e,
|
46
|
+
key: e.key.split(/\W+/g).join("_").toLowerCase(),
|
47
|
+
onClick: j(e.onClick)
|
47
48
|
} : {
|
48
|
-
...
|
49
|
-
key:
|
49
|
+
...e,
|
50
|
+
key: e.key.split(/\W+/g).join("_").toLowerCase()
|
50
51
|
})
|
51
52
|
), k = y(() => {
|
52
|
-
const
|
53
|
-
return
|
54
|
-
})
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
53
|
+
const e = { ...w.value[0] };
|
54
|
+
return e.disabled = e.disabled || t.disabled, e;
|
55
|
+
}), N = typeof t.size == "string" ? { default: t.size } : { default: "md", ...t.size }, V = Object.entries(N).reduce(
|
56
|
+
(e, [d, o]) => (d === "default" ? e[`data-${o}`] = "" : e[`data-${d}:${o}`] = "", e),
|
57
|
+
{}
|
58
|
+
);
|
59
|
+
return (e, d) => (l(), z("span", _({
|
60
|
+
class: ["bb-dropdown-button", {
|
61
|
+
"bb-dropdown-button--block": e.block,
|
62
|
+
"bb-dropdown-button--loading": f.value,
|
63
|
+
[`bb-dropdown-button--${e.theme}`]: !0
|
64
|
+
}]
|
65
|
+
}, r(V)), [
|
66
|
+
u(D, _(k.value, { class: "bb-dropdown-button__main-btn" }), {
|
63
67
|
default: n(() => [
|
64
|
-
u(
|
65
|
-
t["prepend:icon"] ? (l(),
|
68
|
+
u(r(R), { class: "bb-dropdown-button__spinner" }),
|
69
|
+
t["prepend:icon"] ? (l(), P(r(S), {
|
66
70
|
key: 0,
|
67
71
|
class: "bb-dropdown-button__prepend-icon",
|
68
72
|
type: t["prepend:icon"]
|
69
73
|
}, null, 8, ["type"])) : v("", !0),
|
70
|
-
|
71
|
-
|
72
|
-
t["append:icon"] ? (l(),
|
74
|
+
b("span", Z, h(k.value.text), 1),
|
75
|
+
f.value ? (l(), z("span", q, h(r(m)("common.loadingText").value), 1)) : v("", !0),
|
76
|
+
t["append:icon"] ? (l(), P(r(S), {
|
73
77
|
key: 2,
|
74
78
|
class: "bb-dropdown-button__append-icon",
|
75
79
|
type: t["append:icon"]
|
@@ -77,54 +81,54 @@ const q = { class: "bb-dropdown-button__content" }, A = {
|
|
77
81
|
]),
|
78
82
|
_: 1
|
79
83
|
}, 16),
|
80
|
-
u(
|
81
|
-
id:
|
82
|
-
"arrow-padding":
|
83
|
-
disabled:
|
84
|
-
eager:
|
85
|
-
items:
|
86
|
-
offset:
|
87
|
-
padding:
|
88
|
-
placement:
|
89
|
-
theme:
|
90
|
-
"transition-duration":
|
91
|
-
width:
|
84
|
+
u(O, {
|
85
|
+
id: e.id,
|
86
|
+
"arrow-padding": e.arrowPadding,
|
87
|
+
disabled: e.disabled,
|
88
|
+
eager: e.eager,
|
89
|
+
items: w.value,
|
90
|
+
offset: e.offset,
|
91
|
+
padding: e.padding,
|
92
|
+
placement: e.placement,
|
93
|
+
theme: e.theme,
|
94
|
+
"transition-duration": e.transitionDuration,
|
95
|
+
width: e.width
|
92
96
|
}, I({
|
93
97
|
activator: n(({
|
94
|
-
props:
|
98
|
+
props: o,
|
95
99
|
opening: p,
|
96
100
|
open: g,
|
97
|
-
closed:
|
101
|
+
closed: $,
|
98
102
|
closing: B,
|
99
|
-
disabled:
|
103
|
+
disabled: L,
|
100
104
|
placement: C
|
101
105
|
}) => [
|
102
|
-
a(
|
103
|
-
closed:
|
106
|
+
a(e.$slots, "activator", {
|
107
|
+
closed: $,
|
104
108
|
closing: B,
|
105
|
-
disabled:
|
109
|
+
disabled: L,
|
106
110
|
open: g,
|
107
111
|
opening: p,
|
108
112
|
placement: C,
|
109
|
-
props:
|
113
|
+
props: o
|
110
114
|
}, () => [
|
111
|
-
u(
|
115
|
+
u(D, _(o, { class: "bb-dropdown-button__dropdown-btn" }), {
|
112
116
|
default: n(() => [
|
113
|
-
|
114
|
-
a(
|
115
|
-
closed:
|
117
|
+
b("span", F, h(g || p ? r(m)("dropdownButton.close").value : r(m)("dropdownButton.open").value), 1),
|
118
|
+
a(e.$slots, "right-btn", {
|
119
|
+
closed: $,
|
116
120
|
closing: B,
|
117
|
-
disabled:
|
121
|
+
disabled: L,
|
118
122
|
open: g,
|
119
123
|
opening: p,
|
120
124
|
placement: C
|
121
125
|
}, () => [
|
122
|
-
|
126
|
+
d[0] || (d[0] = b("svg", {
|
123
127
|
class: "bb-dropdown-button__dropdown-chevron",
|
124
128
|
viewBox: "0 0 24 24",
|
125
129
|
xmlns: "http://www.w3.org/2000/svg"
|
126
130
|
}, [
|
127
|
-
|
131
|
+
b("path", {
|
128
132
|
d: "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6l1.41 1.41Z",
|
129
133
|
fill: "currentColor"
|
130
134
|
})
|
@@ -135,33 +139,33 @@ const q = { class: "bb-dropdown-button__content" }, A = {
|
|
135
139
|
}, 1040)
|
136
140
|
])
|
137
141
|
]),
|
138
|
-
prepend: n((
|
139
|
-
a(
|
142
|
+
prepend: n((o) => [
|
143
|
+
a(e.$slots, "prepend", i(s(o)))
|
140
144
|
]),
|
141
|
-
"item:prepend": n((
|
142
|
-
a(
|
145
|
+
"item:prepend": n((o) => [
|
146
|
+
a(e.$slots, "item:prepend", i(s(o)))
|
143
147
|
]),
|
144
|
-
item: n((
|
145
|
-
a(
|
148
|
+
item: n((o) => [
|
149
|
+
a(e.$slots, "item", i(s(o)))
|
146
150
|
]),
|
147
|
-
"item:append": n((
|
148
|
-
a(
|
151
|
+
"item:append": n((o) => [
|
152
|
+
a(e.$slots, "item:append", i(s(o)))
|
149
153
|
]),
|
150
|
-
append: n((
|
151
|
-
a(
|
154
|
+
append: n((o) => [
|
155
|
+
a(e.$slots, "append", i(s(o)))
|
152
156
|
]),
|
153
157
|
_: 2
|
154
158
|
}, [
|
155
|
-
M(
|
156
|
-
name:
|
159
|
+
M(w.value, (o) => ({
|
160
|
+
name: o.key,
|
157
161
|
fn: n((p) => [
|
158
|
-
a(
|
162
|
+
a(e.$slots, o.key, i(s(p)))
|
159
163
|
])
|
160
164
|
}))
|
161
165
|
]), 1032, ["id", "arrow-padding", "disabled", "eager", "items", "offset", "padding", "placement", "theme", "transition-duration", "width"])
|
162
|
-
],
|
166
|
+
], 16));
|
163
167
|
}
|
164
168
|
});
|
165
169
|
export {
|
166
|
-
|
170
|
+
ne as default
|
167
171
|
};
|
package/dist/index81.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as h, ref as t, onMounted as m, onBeforeUnmount as p, openBlock as g, createBlock as b, resolveDynamicComponent as w, withCtx as _, renderSlot as I } from "vue";
|
2
|
-
import { throttle as c } from "./
|
2
|
+
import { throttle as c } from "./index247.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index84.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as se, ref as l, useAttrs as ae, computed as u, getCurrentInstance as ne, nextTick as ie, onBeforeUnmount as O, onMounted as re, watch as ue, openBlock as g, createBlock as ce, withCtx as de, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as fe, toDisplayString as A, unref as ve, createCommentVNode as $ } from "vue";
|
2
|
-
import { useFocusTrap as pe } from "./
|
2
|
+
import { useFocusTrap as pe } from "./index227.js";
|
3
3
|
import { useId as E } from "./index8.js";
|
4
4
|
import { wait as H } from "./index130.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import be from "./
|
5
|
+
import { useModalsState as b } from "./index248.js";
|
6
|
+
import be from "./index249.js";
|
7
7
|
import { useMobile as me } from "./index9.js";
|
8
|
-
import { useLocale as ye } from "./
|
8
|
+
import { useLocale as ye } from "./index228.js";
|
9
9
|
const he = ["inert"], ge = { class: "bb-offcanvas-close" }, _e = ["aria-label"], Te = /* @__PURE__ */ se({
|
10
10
|
__name: "BbOffCanvas",
|
11
11
|
props: {
|
package/dist/index86.js
CHANGED
@@ -4,7 +4,7 @@ import { debounce as T } from "./index267.js";
|
|
4
4
|
/* empty css */
|
5
5
|
import z from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { useLocale as D } from "./
|
7
|
+
import { useLocale as D } from "./index228.js";
|
8
8
|
const G = ["aria-label"], I = { class: "bb-pagination__page-label sr-only" }, O = { class: "bb-pagination__page-label" }, j = { class: "bb-pagination__page-label" }, q = { class: "bb-pagination__page-label sr-only" }, Z = /* @__PURE__ */ E({
|
9
9
|
__name: "BbPagination",
|
10
10
|
props: {
|
package/dist/index88.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent as O, ref as n, computed as v, openBlock as y, createElementBlock as S, mergeProps as F, createElementVNode as p, renderSlot as k, normalizeProps as H, guardReactiveProps as V, createVNode as q, withCtx as T, createBlock as I, toDisplayString as W, unref as z, createCommentVNode as A, nextTick as R } from "vue";
|
2
|
-
import { useFocusTrap as j } from "./
|
2
|
+
import { useFocusTrap as j } from "./index227.js";
|
3
3
|
import { useId as G } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as J } from "./index132.js";
|
5
|
-
import { waitFor as K } from "./
|
5
|
+
import { waitFor as K } from "./index230.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import U from "./
|
8
|
+
import U from "./index231.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useLocale as X } from "./
|
11
|
-
import { useDebounceFn as Y } from "./
|
10
|
+
import { useLocale as X } from "./index228.js";
|
11
|
+
import { useDebounceFn as Y } from "./index206.js";
|
12
12
|
const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
|
13
13
|
__name: "BbPopover",
|
14
14
|
props: {
|
package/dist/index90.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as r, computed as a, openBlock as l, createElementBlock as s, normalizeClass as m, createElementVNode as n, normalizeStyle as c } from "vue";
|
2
|
-
import { clamp as p } from "./
|
2
|
+
import { clamp as p } from "./index205.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index131.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|