bitboss-ui 2.0.142 → 2.0.143
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/index100.js +9 -9
- package/dist/index111.js +10 -10
- 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/index132.js +2 -2
- package/dist/index133.js +1 -1
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +35 -33
- package/dist/index206.js +2 -115
- package/dist/index208.js +115 -2
- package/dist/index209.js +8 -5
- package/dist/index21.js +16 -16
- package/dist/index210.js +3 -125
- package/dist/index211.js +4 -16
- package/dist/index212.js +40 -15
- package/dist/index213.js +20 -19
- package/dist/index214.js +94 -15
- package/dist/index216.js +200 -2
- package/dist/index218.js +65 -12
- package/dist/index220.js +13 -6
- package/dist/index221.js +12 -93
- package/dist/index222.js +4 -0
- package/dist/index223.js +4 -66
- package/dist/index224.js +4 -0
- package/dist/index225.js +5 -13
- package/dist/index226.js +16 -2
- package/dist/index227.js +16 -86
- package/dist/index228.js +21 -0
- package/dist/index229.js +15 -29
- package/dist/index23.js +16 -16
- package/dist/index230.js +18 -16
- package/dist/index231.js +26 -50
- package/dist/index232.js +2 -15
- package/dist/index233.js +250 -3
- package/dist/index234.js +52 -12
- package/dist/index235.js +44 -16
- package/dist/index236.js +5 -8
- package/dist/index237.js +60 -2
- package/dist/index238.js +125 -4
- package/dist/index239.js +2 -2
- package/dist/index240.js +6 -3
- package/dist/index241.js +2 -19
- package/dist/index242.js +86 -27
- package/dist/index244.js +28 -51
- package/dist/index245.js +17 -44
- package/dist/index246.js +51 -5
- package/dist/index247.js +15 -60
- package/dist/index248.js +12 -4
- package/dist/index249.js +16 -200
- package/dist/index25.js +7 -7
- package/dist/index250.js +5 -0
- package/dist/index251.js +7 -3
- package/dist/index252.js +15 -7
- package/dist/index253.js +3 -15
- package/dist/index254.js +2 -18
- package/dist/index255.js +2 -126
- package/dist/index256.js +17 -105
- package/dist/index257.js +128 -0
- package/dist/index258.js +53 -47
- package/dist/index260.js +100 -12
- package/dist/index262.js +11 -368
- package/dist/index263.js +228 -2
- package/dist/index264.js +369 -2
- package/dist/index267.js +6 -9
- package/dist/index268.js +16 -23
- package/dist/index269.js +9 -6
- package/dist/index27.js +1 -1
- package/dist/index270.js +23 -16
- package/dist/index271.js +28 -3
- package/dist/index272.js +9 -17
- package/dist/index273.js +431 -9
- package/dist/index274.js +171 -23
- package/dist/index275.js +3 -281
- package/dist/index276.js +3 -6
- package/dist/index277.js +3 -2
- package/dist/index279.js +7 -2
- package/dist/index280.js +7 -2
- package/dist/index281.js +11 -2
- package/dist/index282.js +9 -2
- package/dist/index283.js +7 -430
- package/dist/index284.js +3 -175
- package/dist/index285.js +200 -3
- package/dist/index286.js +281 -3
- package/dist/index287.js +8 -0
- package/dist/index288.js +2 -7
- package/dist/index289.js +2 -7
- package/dist/index29.js +2 -2
- package/dist/index290.js +2 -11
- package/dist/index291.js +2 -4
- package/dist/index292.js +2 -200
- package/dist/index295.js +1 -1
- package/dist/index296.js +1 -1
- package/dist/index297.js +1 -1
- package/dist/index298.js +1 -1
- package/dist/index301.js +2 -224
- package/dist/index302.js +3 -9
- package/dist/index303.js +17 -8
- package/dist/index304.js +2 -3
- package/dist/index305.js +89 -2
- package/dist/index306.js +218 -83
- package/dist/index308.js +1 -1
- package/dist/index309.js +1 -1
- package/dist/index31.js +2 -2
- package/dist/index310.js +1 -1
- package/dist/index314.js +5 -67
- package/dist/index315.js +67 -5
- package/dist/index316.js +1 -1
- package/dist/index317.js +1 -1
- package/dist/index321.js +3 -32
- package/dist/index322.js +8 -28
- package/dist/index323.js +8 -0
- package/dist/index324.js +8 -480
- package/dist/index325.js +7 -58
- package/dist/index326.js +18 -57
- package/dist/index327.js +480 -4
- package/dist/index328.js +58 -7
- package/dist/index329.js +57 -18
- package/dist/index33.js +37 -35
- package/dist/index331.js +32 -7
- package/dist/index332.js +28 -6
- package/dist/index335.js +1 -1
- package/dist/index337.js +1 -1
- package/dist/index35.js +4 -4
- package/dist/index37.js +22 -22
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +34 -32
- 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 +1 -1
- package/dist/index75.js +3 -3
- package/dist/index77.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +4 -4
- package/dist/index86.js +2 -2
- package/dist/index88.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/index215.js +0 -4
- package/dist/index217.js +0 -43
- package/dist/index219.js +0 -22
- package/dist/index243.js +0 -252
- package/dist/index261.js +0 -230
- package/dist/index278.js +0 -4
- package/dist/index333.js +0 -10
package/dist/index33.js
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
import { defineComponent as M, ref as g, toRef as d, openBlock as S, createBlock as R, unref as V, withCtx as t, renderSlot as i, normalizeProps as
|
1
|
+
import { defineComponent as M, ref as g, toRef as d, openBlock as S, createBlock as R, unref as V, withCtx as t, renderSlot as i, normalizeProps as h, guardReactiveProps as v, createVNode as z, mergeProps as k, createSlots as G } from "vue";
|
2
2
|
import W from "./index31.js";
|
3
3
|
/* empty css */
|
4
|
-
import j from "./
|
4
|
+
import j from "./index242.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as A } from "./
|
7
|
-
import { usePrefill as K } from "./
|
8
|
-
import { useIndexById as
|
9
|
-
import { useBaseOptions as N } from "./
|
10
|
-
import { useCoherence as O } from "./
|
11
|
-
import { hash as U } from "./
|
12
|
-
import { useHashedWatcher as T } from "./
|
13
|
-
const
|
6
|
+
import { useItemsGetter as A } from "./index244.js";
|
7
|
+
import { usePrefill as K } from "./index249.js";
|
8
|
+
import { useIndexById as B } from "./index245.js";
|
9
|
+
import { useBaseOptions as N } from "./index246.js";
|
10
|
+
import { useCoherence as O } from "./index247.js";
|
11
|
+
import { hash as U } from "./index210.js";
|
12
|
+
import { useHashedWatcher as T } from "./index248.js";
|
13
|
+
const le = /* @__PURE__ */ M({
|
14
14
|
__name: "BaseRadioGroup",
|
15
15
|
props: {
|
16
16
|
ariaDescribedby: {},
|
@@ -36,33 +36,33 @@ const se = /* @__PURE__ */ M({
|
|
36
36
|
required: { type: Boolean }
|
37
37
|
},
|
38
38
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
39
|
-
setup(
|
40
|
-
const o =
|
41
|
-
getter:
|
42
|
-
items:
|
39
|
+
setup($, { emit: E }) {
|
40
|
+
const o = $, a = E, u = g(), r = g(!1), {
|
41
|
+
getter: m,
|
42
|
+
items: L,
|
43
43
|
loading: w
|
44
44
|
} = A({
|
45
45
|
items: d(o, "items")
|
46
|
-
}),
|
46
|
+
}), c = () => {
|
47
47
|
o.enforceCoherence && !y.value && a("update:modelValue", null);
|
48
48
|
}, { hasPrefilled: D } = K({
|
49
49
|
onStart: !0,
|
50
50
|
currentValue: o.modelValue,
|
51
51
|
multiple: !1,
|
52
52
|
fn: async ({ prefill: e }) => {
|
53
|
-
await
|
53
|
+
await m(e, o.modelValue), c();
|
54
54
|
}
|
55
|
-
}), { data: I } =
|
55
|
+
}), { data: I } = B({
|
56
56
|
items: d(o, "modelValue")
|
57
57
|
}), { options: b } = N({
|
58
58
|
disabled: d(o, "disabled"),
|
59
|
-
items:
|
59
|
+
items: L,
|
60
60
|
itemText: o.itemText,
|
61
61
|
itemValue: o.itemValue,
|
62
62
|
max: 1 / 0,
|
63
63
|
selectable: !0,
|
64
64
|
selectedIndexedByHash: I
|
65
|
-
}), { data: C } =
|
65
|
+
}), { data: C } = B({
|
66
66
|
items: b,
|
67
67
|
key: "valueHash"
|
68
68
|
}), { coherent: y } = O({
|
@@ -70,11 +70,11 @@ const se = /* @__PURE__ */ M({
|
|
70
70
|
multiple: !1,
|
71
71
|
iteratee: (e) => !!C.value[U(e)]
|
72
72
|
});
|
73
|
-
let
|
73
|
+
let s = 0;
|
74
74
|
T(
|
75
75
|
() => o.modelValue,
|
76
76
|
async () => {
|
77
|
-
|
77
|
+
s++, y.value || (await m(!1, o.modelValue), c()), s--;
|
78
78
|
},
|
79
79
|
{
|
80
80
|
debounce: o.modelValueDebounceTime
|
@@ -82,7 +82,7 @@ const se = /* @__PURE__ */ M({
|
|
82
82
|
), T(
|
83
83
|
() => [o.dependencies, o.items],
|
84
84
|
async () => {
|
85
|
-
D.value && (
|
85
|
+
D.value && (s++, await m(!1, o.modelValue), s === 1 && c(), s--);
|
86
86
|
},
|
87
87
|
{
|
88
88
|
debounce: o.depsDebounceTime
|
@@ -96,21 +96,23 @@ const se = /* @__PURE__ */ M({
|
|
96
96
|
onChange: (e) => a("change", e),
|
97
97
|
onClick: (e) => a("click", e),
|
98
98
|
onFocus: (e) => {
|
99
|
-
a("focus", e), r.value || (document.addEventListener("focusin",
|
99
|
+
a("focus", e), r.value || (document.addEventListener("focusin", p, { passive: !0 }), document.addEventListener("click", f, { passive: !0 }), r.value = !0);
|
100
100
|
},
|
101
101
|
onInput: (e) => a("input", e),
|
102
102
|
onKeydown: (e) => a("keydown", e),
|
103
103
|
onMousedown: (e) => a("mousedown", e),
|
104
104
|
onMouseup: (e) => a("mouseup", e),
|
105
105
|
"onUpdate:modelValue": (e) => a("update:modelValue", e)
|
106
|
-
}, c = (e) => {
|
107
|
-
var s;
|
108
|
-
e.target instanceof HTMLElement && ((s = v.value) != null && s.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", c), document.removeEventListener("click", p)));
|
109
106
|
}, p = (e) => {
|
110
|
-
var
|
111
|
-
e.target instanceof HTMLElement && ((
|
107
|
+
var l;
|
108
|
+
e.target instanceof HTMLElement && ((l = u.value) != null && l.$el.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", p), document.removeEventListener("click", f)));
|
109
|
+
}, f = (e) => {
|
110
|
+
var l;
|
111
|
+
e.target instanceof HTMLElement && ((l = u.value) != null && l.$el.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", p), document.removeEventListener("click", f)));
|
112
112
|
};
|
113
|
-
return (e,
|
113
|
+
return (e, l) => (S(), R(j, {
|
114
|
+
ref_key: "container",
|
115
|
+
ref: u,
|
114
116
|
class: "bb-base-radio-group",
|
115
117
|
direction: e.direction,
|
116
118
|
"has-errors": e.hasErrors,
|
@@ -130,13 +132,13 @@ const se = /* @__PURE__ */ M({
|
|
130
132
|
i(e.$slots, "no-data")
|
131
133
|
]),
|
132
134
|
label: t((n) => [
|
133
|
-
i(e.$slots, "label",
|
135
|
+
i(e.$slots, "label", h(v(n)))
|
134
136
|
]),
|
135
137
|
"option:prepend": t((n) => [
|
136
|
-
i(e.$slots, "option:prepend",
|
138
|
+
i(e.$slots, "option:prepend", h(v(n)))
|
137
139
|
]),
|
138
140
|
input: t(({ option: n, index: q }) => [
|
139
|
-
z(W,
|
141
|
+
z(W, k({
|
140
142
|
id: H(n),
|
141
143
|
"aria-describedby": e.ariaDescribedby,
|
142
144
|
autofocus: e.autofocus && !q,
|
@@ -153,7 +155,7 @@ const se = /* @__PURE__ */ M({
|
|
153
155
|
e.$slots.icon ? {
|
154
156
|
name: "icon",
|
155
157
|
fn: t((F) => [
|
156
|
-
i(e.$slots, "icon",
|
158
|
+
i(e.$slots, "icon", k({
|
157
159
|
item: n.item,
|
158
160
|
text: n.text
|
159
161
|
}, F))
|
@@ -163,7 +165,7 @@ const se = /* @__PURE__ */ M({
|
|
163
165
|
]), 1040, ["id", "aria-describedby", "autofocus", "checked", "color", "disabled", "has-errors", "model-value", "name", "readonly", "required", "value"])
|
164
166
|
]),
|
165
167
|
"option:append": t((n) => [
|
166
|
-
i(e.$slots, "option:append",
|
168
|
+
i(e.$slots, "option:append", h(v(n)))
|
167
169
|
]),
|
168
170
|
append: t(() => [
|
169
171
|
i(e.$slots, "append")
|
@@ -173,5 +175,5 @@ const se = /* @__PURE__ */ M({
|
|
173
175
|
}
|
174
176
|
});
|
175
177
|
export {
|
176
|
-
|
178
|
+
le as default
|
177
179
|
};
|
package/dist/index331.js
CHANGED
@@ -1,10 +1,35 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
|
2
|
+
/* empty css */
|
3
|
+
import n from "./index279.js";
|
4
|
+
const l = {}, s = {
|
5
|
+
class: "bb-error-icon",
|
6
|
+
fill: "none",
|
7
|
+
viewBox: "0 0 20 20",
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
9
|
+
};
|
10
|
+
function i(c, r) {
|
11
|
+
return e(), t("svg", s, r[0] || (r[0] = [
|
12
|
+
o("path", {
|
13
|
+
d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
|
14
|
+
fill: "currentColor"
|
15
|
+
}, null, -1),
|
16
|
+
o("path", {
|
17
|
+
d: "M9.99414 6.66666V9.99999",
|
18
|
+
stroke: "white",
|
19
|
+
"stroke-linecap": "round",
|
20
|
+
"stroke-linejoin": "round",
|
21
|
+
"stroke-width": "2"
|
22
|
+
}, null, -1),
|
23
|
+
o("path", {
|
24
|
+
d: "M9.99414 13.3333H10.0025",
|
25
|
+
stroke: "white",
|
26
|
+
"stroke-linecap": "round",
|
27
|
+
"stroke-linejoin": "round",
|
28
|
+
"stroke-width": "2"
|
29
|
+
}, null, -1)
|
30
|
+
]));
|
7
31
|
}
|
32
|
+
const a = /* @__PURE__ */ n(l, [["render", i]]);
|
8
33
|
export {
|
9
|
-
|
34
|
+
a as default
|
10
35
|
};
|
package/dist/index332.js
CHANGED
@@ -1,8 +1,30 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
import { defineComponent as l, openBlock as n, createElementBlock as r, unref as a, createElementVNode as t } from "vue";
|
2
|
+
import { useLocale as s } from "./index221.js";
|
3
|
+
const c = ["aria-label"], b = /* @__PURE__ */ l({
|
4
|
+
__name: "ClearableButton",
|
5
|
+
setup(u) {
|
6
|
+
const { t: o } = s();
|
7
|
+
return (i, e) => (n(), r("button", {
|
8
|
+
"aria-label": a(o)("common.clearLabel").value,
|
9
|
+
class: "bb-clearable-button",
|
10
|
+
type: "button"
|
11
|
+
}, e[0] || (e[0] = [
|
12
|
+
t("svg", {
|
13
|
+
viewBox: "0 0 24 24",
|
14
|
+
xmlns: "http://www.w3.org/2000/svg"
|
15
|
+
}, [
|
16
|
+
t("path", {
|
17
|
+
d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
|
18
|
+
fill: "none",
|
19
|
+
stroke: "currentColor",
|
20
|
+
"stroke-linecap": "round",
|
21
|
+
"stroke-linejoin": "round",
|
22
|
+
"stroke-width": "2"
|
23
|
+
})
|
24
|
+
], -1)
|
25
|
+
]), 8, c));
|
26
|
+
}
|
27
|
+
});
|
6
28
|
export {
|
7
|
-
|
29
|
+
b as default
|
8
30
|
};
|
package/dist/index335.js
CHANGED
package/dist/index337.js
CHANGED
package/dist/index35.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as I, ref as v, computed as f, openBlock as l, createElementBlock as r, mergeProps as h, createElementVNode as i, renderSlot as p, Fragment as V, renderList as M, normalizeClass as D, toDisplayString as F, unref as y } from "vue";
|
2
|
-
import { booleanishToBoolean as T } from "./
|
3
|
-
import { identity as $ } from "./
|
4
|
-
import { isCssColor as k } from "./
|
2
|
+
import { booleanishToBoolean as T } from "./index224.js";
|
3
|
+
import { identity as $ } from "./index239.js";
|
4
|
+
import { isCssColor as k } from "./index222.js";
|
5
5
|
import { isNotNil as q } from "./index135.js";
|
6
|
-
import { useLocale as x } from "./
|
6
|
+
import { useLocale as x } from "./index221.js";
|
7
7
|
const H = { class: "bb-base-rating__inner-container" }, S = { class: "bb-base-rating__label-text sr-only" }, N = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], j = ["height", "width"], W = /* @__PURE__ */ I({
|
8
8
|
__name: "BaseRating",
|
9
9
|
props: {
|
package/dist/index37.js
CHANGED
@@ -5,33 +5,33 @@ import { useId as Ye } from "./index8.js";
|
|
5
5
|
import { useMobile as Ze } from "./index9.js";
|
6
6
|
import et from "./index128.js";
|
7
7
|
/* empty css */
|
8
|
-
import { last as tt } from "./
|
9
|
-
import { matchAnyKey as oe } from "./
|
10
|
-
import { useFloating as lt } from "./
|
8
|
+
import { last as tt } from "./index232.js";
|
9
|
+
import { matchAnyKey as oe } from "./index256.js";
|
10
|
+
import { useFloating as lt } from "./index257.js";
|
11
11
|
import { useIntersectionObserver as at } from "./index132.js";
|
12
12
|
import { wait as E } from "./index130.js";
|
13
|
-
import { when as ot } from "./
|
14
|
-
import nt from "./
|
13
|
+
import { when as ot } from "./index223.js";
|
14
|
+
import nt from "./index258.js";
|
15
15
|
/* empty css */
|
16
|
-
import ut from "./
|
16
|
+
import ut from "./index260.js";
|
17
17
|
/* empty css */
|
18
|
-
import rt from "./
|
18
|
+
import rt from "./index218.js";
|
19
19
|
/* empty css */
|
20
|
-
import it from "./
|
21
|
-
import { waitFor as st } from "./
|
22
|
-
import dt from "./
|
23
|
-
import { useItemsGetter as ct } from "./
|
24
|
-
import { usePrefill as pt } from "./
|
25
|
-
import { useArray as mt } from "./
|
26
|
-
import { useBaseOptions as ft } from "./
|
27
|
-
import { useIndexById as ne } from "./
|
28
|
-
import { useCoherence as vt } from "./
|
29
|
-
import { hash as yt } from "./
|
30
|
-
import { useHashedWatcher as ue } from "./
|
31
|
-
import { useLocale as ht } from "./
|
32
|
-
import { isEmpty as bt } from "./
|
33
|
-
import gt from "./
|
34
|
-
import { autoUpdate as wt, flip as Bt, offset as Vt, shift as It } from "./
|
20
|
+
import it from "./index220.js";
|
21
|
+
import { waitFor as st } from "./index240.js";
|
22
|
+
import dt from "./index252.js";
|
23
|
+
import { useItemsGetter as ct } from "./index244.js";
|
24
|
+
import { usePrefill as pt } from "./index249.js";
|
25
|
+
import { useArray as mt } from "./index262.js";
|
26
|
+
import { useBaseOptions as ft } from "./index246.js";
|
27
|
+
import { useIndexById as ne } from "./index245.js";
|
28
|
+
import { useCoherence as vt } from "./index247.js";
|
29
|
+
import { hash as yt } from "./index210.js";
|
30
|
+
import { useHashedWatcher as ue } from "./index248.js";
|
31
|
+
import { useLocale as ht } from "./index221.js";
|
32
|
+
import { isEmpty as bt } from "./index241.js";
|
33
|
+
import gt from "./index263.js";
|
34
|
+
import { autoUpdate as wt, flip as Bt, offset as Vt, shift as It } from "./index264.js";
|
35
35
|
const kt = { class: "bb-base-select__input-container" }, Ct = {
|
36
36
|
key: 1,
|
37
37
|
class: "bb-base-select__max-reached"
|
package/dist/index39.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as U, ref as d, computed as h, onMounted as W, watch as Z, openBlock as g, createElementBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, Fragment as ee, renderList as ae, createCommentVNode as H, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeClass as F, normalizeStyle as I } from "vue";
|
2
2
|
import { clamp as le } from "./index207.js";
|
3
|
-
import { head as O } from "./
|
4
|
-
import { isCssColor as Y } from "./
|
5
|
-
import { isNil as P } from "./
|
3
|
+
import { head as O } from "./index254.js";
|
4
|
+
import { isCssColor as Y } from "./index222.js";
|
5
|
+
import { isNil as P } from "./index255.js";
|
6
6
|
import { isNotNil as ne } from "./index135.js";
|
7
7
|
import { transposeValue as y } from "./index131.js";
|
8
|
-
import { hash as J } from "./
|
8
|
+
import { hash as J } from "./index210.js";
|
9
9
|
const oe = { class: "bb-base-slider__slider-container" }, ie = {
|
10
10
|
key: 0,
|
11
11
|
class: "bb-base-slider__ticks-container"
|
package/dist/index41.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as I, ref as f, computed as n, watch as S, openBlock as h, createElementBlock as y, normalizeProps as r, guardReactiveProps as d, mergeProps as V, createCommentVNode as A, createElementVNode as l, renderSlot as F } from "vue";
|
2
|
-
import { isCssColor as b } from "./
|
3
|
-
import { when as N } from "./
|
2
|
+
import { isCssColor as b } from "./index222.js";
|
3
|
+
import { when as N } from "./index223.js";
|
4
4
|
const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
|
5
5
|
__name: "BaseSwitch",
|
6
6
|
props: {
|
package/dist/index43.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { defineComponent as j, ref as k, toRef as d, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as
|
1
|
+
import { defineComponent as j, ref as k, toRef as d, openBlock as z, createBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
|
2
2
|
import K from "./index41.js";
|
3
3
|
/* empty css */
|
4
|
-
import N from "./
|
4
|
+
import N from "./index242.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as U } from "./
|
7
|
-
import { useIndexById as T } from "./
|
8
|
-
import { useBaseOptions as q } from "./
|
9
|
-
import { useCoherence as J } from "./
|
10
|
-
import { hash as Q } from "./
|
11
|
-
import { useHashedWatcher as
|
12
|
-
import { usePrefill as X } from "./
|
6
|
+
import { useItemsGetter as U } from "./index244.js";
|
7
|
+
import { useIndexById as T } from "./index245.js";
|
8
|
+
import { useBaseOptions as q } from "./index246.js";
|
9
|
+
import { useCoherence as J } from "./index247.js";
|
10
|
+
import { hash as Q } from "./index210.js";
|
11
|
+
import { useHashedWatcher as $ } from "./index248.js";
|
12
|
+
import { usePrefill as X } from "./index249.js";
|
13
13
|
const ue = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseSwitchGroup",
|
15
15
|
props: {
|
@@ -36,31 +36,31 @@ const ue = /* @__PURE__ */ j({
|
|
36
36
|
readonly: { type: Boolean }
|
37
37
|
},
|
38
38
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
39
|
-
setup(
|
40
|
-
const o =
|
39
|
+
setup(E, { emit: C }) {
|
40
|
+
const o = E, a = C;
|
41
41
|
if (!Array.isArray(o.modelValue))
|
42
42
|
throw new Error("Model value must be an array in checkbox group.");
|
43
|
-
const
|
44
|
-
getter:
|
45
|
-
items:
|
43
|
+
const u = k(), r = k(!1), {
|
44
|
+
getter: c,
|
45
|
+
items: L,
|
46
46
|
loading: D
|
47
47
|
} = U({
|
48
48
|
items: d(o, "items"),
|
49
49
|
debounce: 0
|
50
|
-
}),
|
50
|
+
}), m = () => {
|
51
51
|
o.enforceCoherence && !V.value && a("update:modelValue", P.value.coherent);
|
52
52
|
}, { hasPrefilled: I } = X({
|
53
53
|
onStart: !0,
|
54
54
|
currentValue: o.modelValue,
|
55
55
|
multiple: !0,
|
56
56
|
fn: async ({ prefill: e }) => {
|
57
|
-
await
|
57
|
+
await c(e, o.modelValue), m();
|
58
58
|
}
|
59
59
|
}), { data: y } = T({
|
60
60
|
items: d(o, "modelValue")
|
61
61
|
}), { options: g } = q({
|
62
62
|
disabled: d(o, "disabled"),
|
63
|
-
items:
|
63
|
+
items: L,
|
64
64
|
itemText: o.itemText,
|
65
65
|
itemValue: o.itemValue,
|
66
66
|
max: o.max,
|
@@ -80,18 +80,18 @@ const ue = /* @__PURE__ */ j({
|
|
80
80
|
iteratee: (e) => !!M.value[Q(e)]
|
81
81
|
});
|
82
82
|
let i = 0;
|
83
|
-
|
83
|
+
$(
|
84
84
|
() => o.modelValue,
|
85
85
|
async () => {
|
86
|
-
i++, V.value || (await
|
86
|
+
i++, V.value || (await c(!1, o.modelValue), m()), i--;
|
87
87
|
},
|
88
88
|
{
|
89
89
|
debounce: o.modelValueDebounceTime
|
90
90
|
}
|
91
|
-
),
|
91
|
+
), $(
|
92
92
|
() => [o.dependencies, o.items],
|
93
93
|
async () => {
|
94
|
-
I.value && (i++, await
|
94
|
+
I.value && (i++, await c(!1, o.modelValue), i === 1 && m(), i--);
|
95
95
|
},
|
96
96
|
{
|
97
97
|
debounce: o.depsDebounceTime
|
@@ -106,20 +106,22 @@ const ue = /* @__PURE__ */ j({
|
|
106
106
|
onBlur: (e) => a("blur", e),
|
107
107
|
onClick: (e) => a("click", e),
|
108
108
|
onFocus: (e) => {
|
109
|
-
a("focus", e), r.value || (document.addEventListener("focusin",
|
109
|
+
a("focus", e), r.value || (document.addEventListener("focusin", p, { passive: !0 }), document.addEventListener("click", f, { passive: !0 }), r.value = !0);
|
110
110
|
},
|
111
111
|
onInput: (e) => a("input", e),
|
112
112
|
onKeydown: (e) => a("keydown", e),
|
113
113
|
onMousedown: (e) => a("mousedown", e),
|
114
114
|
onMouseup: (e) => a("mouseup", e)
|
115
|
-
}, m = (e) => {
|
116
|
-
var t;
|
117
|
-
e.target instanceof HTMLElement && ((t = b.value) != null && t.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", m), document.removeEventListener("click", p)));
|
118
115
|
}, p = (e) => {
|
119
116
|
var t;
|
120
|
-
e.target instanceof HTMLElement && ((t =
|
117
|
+
e.target instanceof HTMLElement && ((t = u.value) != null && t.$el.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", p), document.removeEventListener("click", f)));
|
118
|
+
}, f = (e) => {
|
119
|
+
var t;
|
120
|
+
e.target instanceof HTMLElement && ((t = u.value) != null && t.$el.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", p), document.removeEventListener("click", f)));
|
121
121
|
};
|
122
122
|
return (e, t) => (z(), G(N, {
|
123
|
+
ref_key: "container",
|
124
|
+
ref: u,
|
123
125
|
class: "bb-base-switch-group",
|
124
126
|
direction: e.direction,
|
125
127
|
"has-errors": e.hasErrors,
|
@@ -139,10 +141,10 @@ const ue = /* @__PURE__ */ j({
|
|
139
141
|
l(e.$slots, "no-data")
|
140
142
|
]),
|
141
143
|
label: s((n) => [
|
142
|
-
l(e.$slots, "label",
|
144
|
+
l(e.$slots, "label", v(b(n)))
|
143
145
|
]),
|
144
146
|
"option:prepend": s((n) => [
|
145
|
-
l(e.$slots, "option:prepend",
|
147
|
+
l(e.$slots, "option:prepend", v(b(n)))
|
146
148
|
]),
|
147
149
|
input: s(({ option: n, index: A }) => [
|
148
150
|
R(K, w({
|
@@ -157,22 +159,22 @@ const ue = /* @__PURE__ */ j({
|
|
157
159
|
readonly: e.readonly,
|
158
160
|
"true-value": n.value
|
159
161
|
}, O, {
|
160
|
-
onChange: (
|
162
|
+
onChange: (h) => F(h, n)
|
161
163
|
}), W({ _: 2 }, [
|
162
164
|
e.$slots.icon ? {
|
163
165
|
name: "icon",
|
164
|
-
fn: s((
|
166
|
+
fn: s((h) => [
|
165
167
|
l(e.$slots, "icon", w({
|
166
168
|
item: n.item,
|
167
169
|
text: n.text
|
168
|
-
},
|
170
|
+
}, h))
|
169
171
|
]),
|
170
172
|
key: "0"
|
171
173
|
} : void 0
|
172
174
|
]), 1040, ["id", "aria-describedby", "autofocus", "checked", "color", "disabled", "has-errors", "name", "readonly", "true-value", "onChange"])
|
173
175
|
]),
|
174
176
|
"option:append": s((n) => [
|
175
|
-
l(e.$slots, "option:append",
|
177
|
+
l(e.$slots, "option:append", v(b(n)))
|
176
178
|
]),
|
177
179
|
append: s(() => [
|
178
180
|
l(e.$slots, "append")
|
package/dist/index45.js
CHANGED
@@ -3,17 +3,17 @@ import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z,
|
|
3
3
|
/* empty css */
|
4
4
|
import ae from "./index128.js";
|
5
5
|
/* empty css */
|
6
|
-
import { last as le } from "./
|
7
|
-
import { useBaseOptions as ne } from "./
|
8
|
-
import { useIndexById as re } from "./
|
9
|
-
import ie from "./
|
6
|
+
import { last as le } from "./index232.js";
|
7
|
+
import { useBaseOptions as ne } from "./index246.js";
|
8
|
+
import { useIndexById as re } from "./index245.js";
|
9
|
+
import ie from "./index258.js";
|
10
10
|
/* empty css */
|
11
|
-
import ue from "./
|
11
|
+
import ue from "./index260.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index218.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
15
|
+
import de from "./index220.js";
|
16
|
+
import { isEmpty as pe } from "./index241.js";
|
17
17
|
const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], De = /* @__PURE__ */ Q({
|
18
18
|
__name: "BaseTag",
|
19
19
|
props: {
|
package/dist/index47.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as h, ref as y, computed as u, onMounted as g, watch as B, nextTick as V, openBlock as $, createBlock as k, normalizeClass as C, withCtx as r, renderSlot as t, createVNode as i, unref as T, createElementVNode as v, mergeProps as x } from "vue";
|
2
|
-
import E from "./
|
3
|
-
import G from "./
|
2
|
+
import E from "./index220.js";
|
3
|
+
import G from "./index218.js";
|
4
4
|
/* empty css */
|
5
5
|
import M from "./index128.js";
|
6
6
|
/* empty css */
|
package/dist/index49.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as B, withCtx as n, renderSlot as l, unref as g, createElementVNode as p, mergeProps as h } from "vue";
|
2
|
-
import $ from "./
|
2
|
+
import $ from "./index218.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index220.js";
|
5
5
|
import { isNotNil as C } from "./index135.js";
|
6
6
|
const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], M = /* @__PURE__ */ m({
|
7
7
|
__name: "BaseTextInput",
|
package/dist/index53.js
CHANGED
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as b, computed as z, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
2
|
+
import { isCssColor as y } from "./index222.js";
|
3
3
|
import { wait as C } from "./index130.js";
|
4
4
|
const w = ["alt", "sizes", "src", "srcset"], B = {
|
5
5
|
key: 1,
|
package/dist/index57.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as p, useSlots as d, computed as n, openBlock as m, createElementBlock as u, normalizeClass as g, createElementVNode as s, renderSlot as l, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
|
2
|
-
import { isCssColor as r } from "./
|
3
|
-
import { isNil as B } from "./
|
2
|
+
import { isCssColor as r } from "./index222.js";
|
3
|
+
import { isNil as B } from "./index255.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
6
6
|
props: {
|
package/dist/index61.js
CHANGED
@@ -9,7 +9,7 @@ import T from "./index129.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import { pickBy as W } from "./index265.js";
|
11
11
|
import { noop as w } from "./index266.js";
|
12
|
-
import { useLocale as D } from "./
|
12
|
+
import { useLocale as D } from "./index221.js";
|
13
13
|
const E = {
|
14
14
|
key: 2,
|
15
15
|
class: "bb-button__loading-label sr-only"
|
package/dist/index75.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as X, computed as F, ref as y, openBlock as h, createElementBlock as D, mergeProps as A, createElementVNode as _, renderSlot as g, normalizeProps as Y, guardReactiveProps as Z, unref as $, createVNode as B, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as j, toDisplayString as te } from "vue";
|
2
|
-
import { findRightIndex as H } from "./
|
2
|
+
import { findRightIndex as H } from "./index269.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index130.js";
|
5
5
|
import { useIntersectionObserver as ae } from "./index132.js";
|
6
6
|
import le from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import N from "./
|
9
|
-
import se from "./
|
8
|
+
import N from "./index270.js";
|
9
|
+
import se from "./index214.js";
|
10
10
|
/* empty css */
|
11
11
|
import V from "./index127.js";
|
12
12
|
/* empty css */
|
package/dist/index77.js
CHANGED
@@ -9,7 +9,7 @@ import S from "./index127.js";
|
|
9
9
|
/* empty css */
|
10
10
|
import R from "./index129.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useLocale as T } from "./
|
12
|
+
import { useLocale as T } from "./index221.js";
|
13
13
|
const Z = { class: "bb-dropdown-button__content" }, q = {
|
14
14
|
key: 1,
|
15
15
|
class: "bb-dropdown-button__loading-label sr-only"
|