bitboss-ui 2.0.57 → 2.0.59
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/index110.js +4 -4
- package/dist/index118.js +1 -1
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- 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/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 +2 -2
- package/dist/index204.js +81 -2
- package/dist/index205.js +3 -2
- package/dist/index206.js +3 -4
- package/dist/index207.js +41 -2
- package/dist/index208.js +6 -162
- package/dist/index209.js +7 -84
- package/dist/index21.js +12 -12
- package/dist/index210.js +10 -0
- package/dist/index211.js +278 -123
- package/dist/index212.js +16 -5
- package/dist/index213.js +13 -122
- package/dist/index214.js +16 -16
- package/dist/index215.js +16 -13
- package/dist/index216.js +24 -13
- package/dist/index217.js +3 -2
- package/dist/index219.js +248 -40
- package/dist/index220.js +50 -18
- package/dist/index221.js +43 -5
- package/dist/index222.js +4 -52
- package/dist/{index240.js → index223.js} +1 -1
- package/dist/index224.js +2 -13
- package/dist/index225.js +52 -4
- package/dist/index227.js +13 -3
- package/dist/index228.js +20 -4
- package/dist/index229.js +4 -8
- package/dist/index23.js +13 -13
- package/dist/index230.js +126 -3
- package/dist/index231.js +125 -7
- package/dist/index232.js +2 -81
- package/dist/index233.js +5 -19
- package/dist/index234.js +367 -25
- package/dist/index235.js +2 -3
- package/dist/index236.js +4 -249
- package/dist/index237.js +2 -52
- package/dist/index238.js +161 -43
- package/dist/index239.js +84 -5
- package/dist/index241.js +2 -2
- package/dist/index242.js +18 -2
- package/dist/index243.js +105 -17
- package/dist/{index246.js → index245.js} +1 -1
- package/dist/index247.js +4 -0
- package/dist/index25.js +5 -5
- package/dist/index250.js +224 -6
- package/dist/index251.js +430 -15
- package/dist/index252.js +89 -3
- package/dist/index253.js +6 -9
- package/dist/index254.js +2 -23
- package/dist/index255.js +2 -9
- package/dist/index256.js +2 -4
- package/dist/index257.js +2 -3
- package/dist/index258.js +2 -12
- package/dist/index259.js +2 -9
- package/dist/index260.js +2 -9
- package/dist/index261.js +2 -17
- package/dist/index262.js +2 -4
- package/dist/index263.js +2 -281
- package/dist/index264.js +27 -5
- package/dist/index265.js +22 -2
- package/dist/index267.js +7 -2
- package/dist/index268.js +3 -2
- package/dist/index27.js +1 -1
- package/dist/index270.js +171 -121
- package/dist/index271.js +3 -431
- package/dist/index272.js +6 -173
- package/dist/index273.js +23 -3
- package/dist/index274.js +8 -0
- package/dist/index275.js +16 -7
- package/dist/index276.js +199 -21
- package/dist/index277.js +11 -0
- package/dist/index278.js +2 -224
- package/dist/index279.js +117 -427
- package/dist/index280.js +21 -126
- package/dist/index282.js +3 -88
- package/dist/index283.js +3 -2
- package/dist/index284.js +12 -2
- package/dist/index285.js +9 -2
- package/dist/index286.js +9 -2
- package/dist/index287.js +17 -2
- package/dist/index288.js +4 -2
- package/dist/index289.js +431 -23
- package/dist/index29.js +3 -3
- package/dist/index290.js +126 -21
- package/dist/index291.js +5 -0
- package/dist/index292.js +1 -1
- package/dist/index293.js +211 -3
- package/dist/index294.js +59 -204
- package/dist/index295.js +5 -66
- package/dist/index297.js +5 -5
- package/dist/index298.js +8 -4
- package/dist/index299.js +4 -4
- package/dist/index300.js +77 -57
- package/dist/index302.js +35 -0
- package/dist/index303.js +6 -4
- package/dist/index304.js +6 -7
- package/dist/index305.js +18 -32
- package/dist/index306.js +4 -11
- package/dist/index307.js +4 -4
- package/dist/index308.js +58 -6
- package/dist/index309.js +46 -6
- package/dist/index31.js +2 -2
- package/dist/index310.js +10 -18
- package/dist/index311.js +1 -1
- package/dist/index313.js +1 -1
- package/dist/index314.js +426 -0
- package/dist/index315.js +43 -420
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +12 -12
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +26 -24
- 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 +2 -2
- 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/index226.js +0 -371
- package/dist/index244.js +0 -108
- package/dist/index266.js +0 -4
- package/dist/index269.js +0 -4
- package/dist/index281.js +0 -202
- package/dist/index301.js +0 -81
- package/dist/index312.js +0 -49
- package/dist/index317.js +0 -49
package/dist/index45.js
CHANGED
@@ -5,15 +5,15 @@ import ue from "./index127.js";
|
|
5
5
|
/* empty css */
|
6
6
|
import { isNotNil as se } from "./index134.js";
|
7
7
|
import { last as de } from "./index218.js";
|
8
|
-
import { useOptions as pe } from "./
|
9
|
-
import ce from "./
|
8
|
+
import { useOptions as pe } from "./index238.js";
|
9
|
+
import ce from "./index243.js";
|
10
10
|
/* empty css */
|
11
|
-
import me from "./
|
11
|
+
import me from "./index245.js";
|
12
12
|
/* empty css */
|
13
|
-
import fe from "./
|
13
|
+
import fe from "./index225.js";
|
14
14
|
/* empty css */
|
15
|
-
import ve from "./
|
16
|
-
const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"],
|
15
|
+
import ve from "./index227.js";
|
16
|
+
const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], qe = /* @__PURE__ */ Y({
|
17
17
|
__name: "BaseTag",
|
18
18
|
props: {
|
19
19
|
"append:icon": {},
|
@@ -36,18 +36,18 @@ const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describe
|
|
36
36
|
required: { type: Boolean }
|
37
37
|
},
|
38
38
|
emits: ["blur", "change", "click", "duplicate", "focus", "inactive", "input", "keydown", "keyup", "update:modelValue"],
|
39
|
-
setup(
|
40
|
-
const t =
|
39
|
+
setup(D, { emit: I }) {
|
40
|
+
const t = D, l = I;
|
41
41
|
if (t.multiple && !Array.isArray(t.modelValue))
|
42
42
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
43
43
|
const b = i(null), T = i(null), L = k(() => t.placeholder), V = i(null), w = i(null), r = k(
|
44
44
|
() => t.comma ? V.value : w.value
|
45
45
|
), p = i(null), E = () => {
|
46
46
|
p.value instanceof HTMLInputElement && p.value.focus();
|
47
|
-
},
|
47
|
+
}, N = !t.multiple && se(t.modelValue) || t.multiple && !!t.modelValue.length, q = i([]), {
|
48
48
|
query: o,
|
49
|
-
alignQueryToState:
|
50
|
-
addCurrentQueryToManualItems:
|
49
|
+
alignQueryToState: A,
|
50
|
+
addCurrentQueryToManualItems: K,
|
51
51
|
selectedOptions: u,
|
52
52
|
selectOption: M,
|
53
53
|
unselectOption: P,
|
@@ -63,9 +63,9 @@ const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describe
|
|
63
63
|
stash: !1,
|
64
64
|
items: B(t, "modelValue"),
|
65
65
|
enforceCoherence: !1,
|
66
|
-
prefill:
|
66
|
+
prefill: N,
|
67
67
|
modelValueDebounceTime: 0,
|
68
|
-
dependencies:
|
68
|
+
dependencies: q,
|
69
69
|
depsDebounceTime: 0,
|
70
70
|
queryDebounceTime: 0,
|
71
71
|
disabled: B(t, "disabled")
|
@@ -87,7 +87,7 @@ const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describe
|
|
87
87
|
(e = r.value) == null || e.blur();
|
88
88
|
}, Z = async (e) => {
|
89
89
|
var n;
|
90
|
-
if (l("
|
90
|
+
if (l("keydown", e), t.readonly || t.disabled) {
|
91
91
|
e.preventDefault();
|
92
92
|
return;
|
93
93
|
}
|
@@ -101,13 +101,16 @@ const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describe
|
|
101
101
|
return;
|
102
102
|
}
|
103
103
|
}
|
104
|
-
if (!o.value)
|
105
|
-
|
104
|
+
if (!o.value) {
|
105
|
+
l("keydown", e);
|
106
|
+
return;
|
107
|
+
}
|
108
|
+
if (e.preventDefault(), _(o.value))
|
106
109
|
l("duplicate", o.value), o.value = "";
|
107
110
|
else {
|
108
111
|
if (t.max && u.value.length >= t.max)
|
109
112
|
return;
|
110
|
-
|
113
|
+
K(), j(de(S.value));
|
111
114
|
}
|
112
115
|
}
|
113
116
|
}, j = (e) => {
|
@@ -120,13 +123,13 @@ const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describe
|
|
120
123
|
l("click", e), !(t.disabled || t.readonly) && p.value instanceof HTMLElement && p.value.focus();
|
121
124
|
}, c = async (e) => {
|
122
125
|
if (e.target instanceof Node && b.value && !b.value.$el.contains(e.target)) {
|
123
|
-
H(), document.removeEventListener("click", c), document.removeEventListener("focusin", c),
|
126
|
+
H(), document.removeEventListener("click", c), document.removeEventListener("focusin", c), A();
|
124
127
|
return;
|
125
128
|
}
|
126
129
|
}, X = {
|
127
130
|
onBlur: (e) => l("blur", e),
|
128
131
|
onChange: (e) => l("change", e),
|
129
|
-
|
132
|
+
onKeyup: (e) => l("keyup", e),
|
130
133
|
onInput: (e) => l("input", e)
|
131
134
|
};
|
132
135
|
return (e, n) => (f(), C(ve, {
|
@@ -197,7 +200,6 @@ const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describe
|
|
197
200
|
autofocus: e.autofocus,
|
198
201
|
class: "bb-base-tag__text-input",
|
199
202
|
disabled: e.disabled,
|
200
|
-
"enter-key-hint": "next",
|
201
203
|
enterkeyhint: "done",
|
202
204
|
placeholder: L.value,
|
203
205
|
readonly: e.readonly,
|
@@ -208,9 +210,9 @@ const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describe
|
|
208
210
|
y(d(U, ["stop"]), ["delete"]),
|
209
211
|
y(d(Q, ["stop"]), ["left"]),
|
210
212
|
y(d(z, ["stop", "prevent"]), ["esc"]),
|
211
|
-
y(d(R, ["stop"]), ["right"])
|
212
|
-
|
213
|
-
|
213
|
+
y(d(R, ["stop"]), ["right"]),
|
214
|
+
d(Z, ["stop"])
|
215
|
+
]
|
214
216
|
}), null, 16, be), [
|
215
217
|
[re, v(o)]
|
216
218
|
])
|
@@ -227,5 +229,5 @@ const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describe
|
|
227
229
|
}
|
228
230
|
});
|
229
231
|
export {
|
230
|
-
|
232
|
+
qe as default
|
231
233
|
};
|
package/dist/index47.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as w, ref as g, computed as u, onMounted as y, watch as V, nextTick as k, openBlock as x, createBlock as B, normalizeClass as $, withCtx as r, renderSlot as t, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
|
2
|
-
import v from "./
|
3
|
-
import E from "./
|
2
|
+
import v from "./index227.js";
|
3
|
+
import E from "./index225.js";
|
4
4
|
/* empty css */
|
5
5
|
import G from "./index127.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 p, normalizeClass as h, withCtx as n, renderSlot as r, createElementVNode as l, mergeProps as g } from "vue";
|
2
|
-
import B from "./
|
2
|
+
import B from "./index225.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index227.js";
|
5
5
|
const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], V = /* @__PURE__ */ m({
|
6
6
|
__name: "BaseTextInput",
|
7
7
|
props: {
|
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as z, computed as b, ref as o, onMounted as g, openBlock as l, createElementBlock as i, normalizeProps as h, guardReactiveProps as k, renderSlot as y } from "vue";
|
2
|
-
import { isCssColor as _ } from "./
|
2
|
+
import { isCssColor as _ } from "./index235.js";
|
3
3
|
import { wait as C } from "./index131.js";
|
4
4
|
const w = ["alt", "sizes", "src", "srcset"], B = {
|
5
5
|
key: 1,
|
package/dist/index57.js
CHANGED
@@ -1,5 +1,5 @@
|
|
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 "./
|
2
|
+
import { isCssColor as r } from "./index235.js";
|
3
3
|
import { isNil as B } from "./index129.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
package/dist/index75.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as Q, defineAsyncComponent as W, computed as A, ref as g, openBlock as $, createElementBlock as D, mergeProps as B, createElementVNode as O, renderSlot as w, normalizeProps as X, guardReactiveProps as Y, unref as h, createBlock as Z, withCtx as K, normalizeStyle as _, Fragment as P, renderList as x, createVNode as ee, createCommentVNode as te } from "vue";
|
2
|
-
import { findRightIndex as H } from "./
|
2
|
+
import { findRightIndex as H } from "./index272.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index131.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 "./
|
8
|
+
import N from "./index273.js";
|
9
9
|
const me = /* @__PURE__ */ Q({
|
10
10
|
__name: "BbDropdown",
|
11
11
|
props: {
|
@@ -24,7 +24,7 @@ const me = /* @__PURE__ */ Q({
|
|
24
24
|
},
|
25
25
|
setup(V) {
|
26
26
|
const j = W(
|
27
|
-
() => import("./
|
27
|
+
() => import("./index271.js")
|
28
28
|
), r = V, d = r.id ?? `bb_${ne().id.value}`, m = A(() => {
|
29
29
|
let e = r.items.findIndex((t) => !t.disabled), o = H(
|
30
30
|
r.items,
|
package/dist/index79.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as j, ref as g, watch as x, computed as m, openBlock as V, createBlock as G, resolveDynamicComponent as K, normalizeClass as O, withCtx as M, createElementVNode as c, withModifiers as y, renderSlot as U, normalizeProps as Y, guardReactiveProps as Z, createTextVNode as J, unref as Q, createVNode as W, createElementBlock as F, Fragment as X, renderList as ee, toDisplayString as te } from "vue";
|
2
|
-
import { findInTree as ae } from "./
|
2
|
+
import { findInTree as ae } from "./index275.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index127.js";
|
5
5
|
/* empty css */
|
@@ -56,7 +56,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = {
|
|
56
56
|
const r = a.accept[t];
|
57
57
|
if (r.includes("/")) e.push(r);
|
58
58
|
else {
|
59
|
-
b || (b = (await import("./
|
59
|
+
b || (b = (await import("./index274.js")).default);
|
60
60
|
const o = b.getType(r);
|
61
61
|
if (!o)
|
62
62
|
throw new Error(
|
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 "./index206.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index84.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as te, ref as s, useAttrs as oe, getCurrentInstance as se, computed as v, nextTick as le, onBeforeUnmount as x, onMounted as ae, watch as ne, openBlock as g, createBlock as ie, Teleport as re, createElementVNode as l, mergeProps as O, createElementBlock as V, renderSlot as n, createTextVNode as ue, toDisplayString as S, createCommentVNode as z } from "vue";
|
2
|
-
import { useFocusTrap as ce } from "./
|
2
|
+
import { useFocusTrap as ce } from "./index207.js";
|
3
3
|
import { useId as A } from "./index8.js";
|
4
4
|
import { wait as E } from "./index131.js";
|
5
|
-
import { useModalsState as p } from "./
|
5
|
+
import { useModalsState as p } from "./index209.js";
|
6
6
|
const de = ["inert"], fe = { class: "bb-offcanvas-close" }, ve = ["aria-label"], ge = /* @__PURE__ */ te({
|
7
7
|
__name: "BbOffCanvas",
|
8
8
|
props: {
|
package/dist/index86.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as A, computed as _, ref as g, onMounted as E, onBeforeUnmount as P, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as b, Fragment as W, renderList as R, toDisplayString as M, nextTick as $ } from "vue";
|
2
|
-
import { debounce as F } from "./
|
2
|
+
import { debounce as F } from "./index277.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import w from "./index13.js";
|
package/dist/index88.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as S, defineAsyncComponent as H, ref as n, computed as m, openBlock as b, createElementBlock as q, mergeProps as A, createElementVNode as p, renderSlot as y, normalizeProps as I, guardReactiveProps as V, createBlock as C, unref as W, withCtx as $, createCommentVNode as T, nextTick as z } from "vue";
|
2
|
-
import { useFocusTrap as R } from "./
|
2
|
+
import { useFocusTrap as R } from "./index207.js";
|
3
3
|
import { useId as j } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as G } from "./index132.js";
|
5
|
-
import { waitFor as J } from "./
|
5
|
+
import { waitFor as J } from "./index208.js";
|
6
6
|
import K from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
const te = /* @__PURE__ */ S({
|
@@ -24,7 +24,7 @@ const te = /* @__PURE__ */ S({
|
|
24
24
|
emits: ["shown", "hidden"],
|
25
25
|
setup(B, { expose: P, emit: _ }) {
|
26
26
|
const N = H(
|
27
|
-
() => import("./
|
27
|
+
() => import("./index271.js")
|
28
28
|
), t = B, s = _, { id: D } = j(), c = `bbp_${D.value}`, r = n(), l = n(), { activate: E, deactivate: L } = R(l, {
|
29
29
|
/**
|
30
30
|
* This traps all clicks outside so we are pressing
|
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 "./index224.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index130.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|