bitboss-ui 2.0.129 → 2.0.131
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/BaseSelect/BaseSelect.vue.d.ts +4 -0
- package/dist/components/BbSelect/BbSelect.vue.d.ts +5 -1
- package/dist/index100.js +7 -7
- package/dist/index101.js +33 -31
- package/dist/index111.js +10 -10
- package/dist/index119.js +1 -1
- package/dist/index121.js +3 -3
- package/dist/index123.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index129.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 +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +7 -7
- package/dist/index205.js +115 -2
- package/dist/index206.js +2 -115
- package/dist/index208.js +1 -1
- package/dist/index209.js +281 -2
- package/dist/index21.js +7 -7
- package/dist/index210.js +125 -4
- package/dist/index211.js +16 -2
- package/dist/index212.js +14 -279
- package/dist/index213.js +17 -123
- package/dist/index214.js +14 -15
- package/dist/index215.js +2 -16
- package/dist/index216.js +2 -19
- package/dist/index217.js +40 -14
- package/dist/index218.js +13 -2
- package/dist/index219.js +20 -2
- package/dist/index220.js +6 -41
- package/dist/index221.js +93 -12
- package/dist/index223.js +64 -5
- package/dist/{index228.js → index225.js} +1 -1
- package/dist/index226.js +2 -65
- package/dist/index227.js +88 -0
- package/dist/index229.js +29 -2
- package/dist/index23.js +16 -16
- package/dist/index230.js +17 -4
- package/dist/index231.js +51 -3
- package/dist/index232.js +15 -86
- package/dist/index233.js +14 -0
- package/dist/index234.js +14 -27
- package/dist/index235.js +4 -17
- package/dist/index236.js +3 -51
- package/dist/index237.js +2 -15
- package/dist/index238.js +4 -12
- package/dist/index239.js +2 -16
- package/dist/index240.js +2 -2
- package/dist/index241.js +2 -2
- package/dist/index242.js +5 -5
- package/dist/index245.js +2 -2
- package/dist/index247.js +1 -1
- package/dist/index25.js +3 -3
- package/dist/index257.js +2 -2
- package/dist/index263.js +3 -3
- package/dist/index267.js +28 -4
- package/dist/index268.js +5 -27
- package/dist/index269.js +2 -3
- package/dist/index27.js +1 -1
- package/dist/index270.js +4 -0
- package/dist/index271.js +2 -7
- package/dist/index272.js +2 -176
- package/dist/index273.js +2 -7
- package/dist/index274.js +2 -11
- package/dist/index275.js +430 -5
- package/dist/index276.js +176 -2
- package/dist/index277.js +3 -2
- package/dist/index278.js +3 -2
- package/dist/index280.js +7 -2
- package/dist/index281.js +7 -2
- package/dist/index282.js +10 -430
- package/dist/index283.js +1 -1
- package/dist/index284.js +17 -224
- package/dist/index285.js +9 -3
- package/dist/index286.js +197 -14
- package/dist/index287.js +224 -9
- package/dist/index288.js +3 -199
- package/dist/index289.js +9 -2
- package/dist/index29.js +3 -3
- package/dist/index291.js +2 -2
- package/dist/index292.js +1 -1
- package/dist/index293.js +1 -1
- package/dist/index294.js +1 -1
- package/dist/index295.js +1 -21
- package/dist/index296.js +24 -0
- package/dist/index298.js +8 -2
- package/dist/index299.js +2 -89
- package/dist/index300.js +89 -8
- package/dist/index307.js +3 -2
- package/dist/index308.js +3 -67
- package/dist/index309.js +58 -5
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -3
- package/dist/index311.js +5 -3
- package/dist/index312.js +7 -57
- package/dist/index313.js +5 -33
- package/dist/index314.js +65 -24
- package/dist/index315.js +2 -2
- package/dist/index316.js +32 -4
- package/dist/index317.js +25 -7
- package/dist/index322.js +46 -6
- package/dist/index323.js +6 -18
- package/dist/index324.js +17 -45
- package/dist/index325.js +1 -1
- package/dist/index328.js +424 -2
- package/dist/index329.js +2 -424
- package/dist/index33.js +7 -7
- package/dist/index35.js +4 -4
- package/dist/index37.js +188 -180
- package/dist/index39.js +2 -2
- package/dist/index41.js +2 -2
- package/dist/index43.js +7 -7
- package/dist/index45.js +25 -24
- 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 +1 -1
- package/dist/index61.js +1 -1
- package/dist/index75.js +1 -1
- package/dist/index77.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +2 -2
- 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/index222.js +0 -22
- package/dist/index224.js +0 -96
- package/dist/index279.js +0 -4
- package/dist/index297.js +0 -11
package/dist/index43.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
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 h, guardReactiveProps as v, 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 "./index227.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 "./
|
6
|
+
import { useItemsGetter as U } from "./index229.js";
|
7
|
+
import { useIndexById as T } from "./index230.js";
|
8
|
+
import { useBaseOptions as q } from "./index231.js";
|
9
|
+
import { useCoherence as J } from "./index232.js";
|
10
10
|
import { hash as Q } from "./index208.js";
|
11
|
-
import { useHashedWatcher as E } from "./
|
12
|
-
import { usePrefill as X } from "./
|
11
|
+
import { useHashedWatcher as E } from "./index233.js";
|
12
|
+
import { usePrefill as X } from "./index234.js";
|
13
13
|
const ue = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseSwitchGroup",
|
15
15
|
props: {
|
package/dist/index45.js
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z, openBlock as v, createBlock as k, normalizeClass as G, withCtx as n, renderSlot as s, createVNode as I, unref as $, createElementVNode as O, createElementBlock as J, Fragment as W, createCommentVNode as X, withDirectives as Y, mergeProps as ee, withModifiers as d, withKeys as y,
|
1
|
+
import { defineComponent as Q, ref as u, computed as f, toRef as E, watch as Z, openBlock as v, createBlock as k, normalizeClass as G, withCtx as n, renderSlot as s, createVNode as I, unref as $, createElementVNode as O, createElementBlock as J, Fragment as W, createCommentVNode as X, withDirectives as Y, mergeProps as ee, withModifiers as d, withKeys as y, vModelText as te, nextTick as oe } from "vue";
|
2
2
|
/* empty css */
|
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 "./
|
6
|
+
import { last as le } from "./index216.js";
|
7
|
+
import { useBaseOptions as ne } from "./index231.js";
|
8
|
+
import { useIndexById as re } from "./index230.js";
|
9
9
|
import ie from "./index252.js";
|
10
10
|
/* empty css */
|
11
11
|
import ue from "./index254.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index223.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
17
|
-
const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"],
|
15
|
+
import de from "./index225.js";
|
16
|
+
import { isEmpty as pe } from "./index226.js";
|
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: {
|
20
20
|
"append:icon": {},
|
@@ -39,17 +39,17 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
39
39
|
required: { type: Boolean }
|
40
40
|
},
|
41
41
|
emits: ["blur", "change", "click", "duplicate", "focus", "inactive", "input", "keydown", "keyup", "update:modelValue"],
|
42
|
-
setup(
|
43
|
-
const t =
|
42
|
+
setup(L, { emit: D }) {
|
43
|
+
const t = L, l = D;
|
44
44
|
if (t.multiple && !Array.isArray(t.modelValue))
|
45
45
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
46
|
-
const b = u(null),
|
46
|
+
const b = u(null), T = u(null), B = u(null), V = u(null), r = f(
|
47
47
|
() => t.comma ? B.value : V.value
|
48
|
-
), p = u(null),
|
48
|
+
), p = u(null), A = () => {
|
49
49
|
p.value instanceof HTMLInputElement && p.value.focus();
|
50
|
-
}, o = u(""), i = f(() =>
|
50
|
+
}, o = u(""), i = f(() => K.value.filter((e) => e.selected)), { data: w, get: H } = re({
|
51
51
|
items: E(t, "modelValue")
|
52
|
-
}), { options:
|
52
|
+
}), { options: K } = ne({
|
53
53
|
disabled: E(t, "disabled"),
|
54
54
|
items: f(() => [].concat(t.modelValue)),
|
55
55
|
itemText: void 0,
|
@@ -70,7 +70,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
70
70
|
delete a[e.valueHash], l("update:modelValue", Object.values(a));
|
71
71
|
} else
|
72
72
|
l("update:modelValue", null);
|
73
|
-
|
73
|
+
A();
|
74
74
|
};
|
75
75
|
Z(
|
76
76
|
() => t.modelValue,
|
@@ -114,7 +114,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
114
114
|
l("keydown", e);
|
115
115
|
return;
|
116
116
|
}
|
117
|
-
if (e.preventDefault(),
|
117
|
+
if (e.preventDefault(), H(o.value))
|
118
118
|
l("duplicate", o.value), o.value = "";
|
119
119
|
else {
|
120
120
|
if (t.max && i.value.length >= t.max)
|
@@ -124,19 +124,19 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
124
124
|
}
|
125
125
|
}, _ = (e) => {
|
126
126
|
l("focus", e), M(), document.addEventListener("click", c), document.addEventListener("focusin", c);
|
127
|
-
},
|
127
|
+
}, x = (e) => {
|
128
128
|
l("click", e), !(t.disabled || t.readonly) && p.value instanceof HTMLElement && p.value.focus();
|
129
129
|
}, c = async (e) => {
|
130
130
|
if (e.target instanceof Node && b.value && !b.value.$el.contains(e.target)) {
|
131
131
|
N(), document.removeEventListener("click", c), document.removeEventListener("focusin", c), C();
|
132
132
|
return;
|
133
133
|
}
|
134
|
-
},
|
134
|
+
}, R = {
|
135
135
|
onBlur: (e) => l("blur", e),
|
136
136
|
onChange: (e) => l("change", e),
|
137
137
|
onKeyup: (e) => l("keyup", e),
|
138
138
|
onInput: (e) => l("input", e)
|
139
|
-
},
|
139
|
+
}, j = () => {
|
140
140
|
let e = null;
|
141
141
|
t.multiple && (e = []), l("update:modelValue", e);
|
142
142
|
};
|
@@ -152,7 +152,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
152
152
|
"bb-base-tag--readonly": e.readonly,
|
153
153
|
"bb-base-tag--compact": e.compact
|
154
154
|
}),
|
155
|
-
onClick:
|
155
|
+
onClick: x
|
156
156
|
}, {
|
157
157
|
"prepend-outer": n(() => [
|
158
158
|
s(e.$slots, "prepend-outer")
|
@@ -163,12 +163,12 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
163
163
|
default: n(() => [
|
164
164
|
I(se, {
|
165
165
|
ref_key: "innerContainer",
|
166
|
-
ref:
|
166
|
+
ref: T,
|
167
167
|
"append:icon": t["append:icon"],
|
168
168
|
clearable: e.clearable && !$(pe)(e.modelValue),
|
169
169
|
"prepend:icon": t["prepend:icon"],
|
170
170
|
"prevent-focus": !0,
|
171
|
-
"onClick:clear":
|
171
|
+
"onClick:clear": j
|
172
172
|
}, {
|
173
173
|
prepend: n(() => [
|
174
174
|
s(e.$slots, "prepend")
|
@@ -204,7 +204,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
204
204
|
id: e.id,
|
205
205
|
ref_key: "input",
|
206
206
|
ref: p
|
207
|
-
},
|
207
|
+
}, R, {
|
208
208
|
"onUpdate:modelValue": a[0] || (a[0] = (m) => o.value = m),
|
209
209
|
"aria-describedby": e.ariaDescribedby,
|
210
210
|
autocomplete: e.autocomplete,
|
@@ -216,6 +216,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
216
216
|
readonly: e.readonly,
|
217
217
|
required: e.required && (!e.multiple || !e.modelValue.length),
|
218
218
|
size: "1",
|
219
|
+
style: { "--characters": o.value.length },
|
219
220
|
type: "text",
|
220
221
|
onFocus: d(_, ["stop"]),
|
221
222
|
onKeydown: [
|
@@ -241,5 +242,5 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
241
242
|
}
|
242
243
|
});
|
243
244
|
export {
|
244
|
-
|
245
|
+
De as default
|
245
246
|
};
|
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 "./index225.js";
|
3
|
+
import G from "./index223.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 "./index223.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index225.js";
|
5
5
|
import { isNotNil as C } from "./index134.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 "./index237.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,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 "./index237.js";
|
3
3
|
import { isNil as B } from "./index260.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
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 "./index261.js";
|
11
11
|
import { noop as w } from "./index262.js";
|
12
|
-
import { useLocale as D } from "./
|
12
|
+
import { useLocale as D } from "./index218.js";
|
13
13
|
const E = {
|
14
14
|
key: 2,
|
15
15
|
class: "bb-button__loading-label sr-only"
|
package/dist/index75.js
CHANGED
@@ -6,7 +6,7 @@ import { useIntersectionObserver as ae } from "./index132.js";
|
|
6
6
|
import le from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
import N from "./index266.js";
|
9
|
-
import se from "./
|
9
|
+
import se from "./index221.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 "./index218.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"
|
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 "./index217.js";
|
3
3
|
import { useId as E } from "./index8.js";
|
4
4
|
import { wait as H } from "./index130.js";
|
5
5
|
import { useModalsState as b } from "./index248.js";
|
6
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 "./index218.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
@@ -1,10 +1,10 @@
|
|
1
1
|
import { defineComponent as E, computed as h, ref as g, onMounted as P, onBeforeUnmount as W, openBlock as k, createElementBlock as V, normalizeClass as $, createElementVNode as i, createVNode as S, unref as v, withCtx as w, renderSlot as c, toDisplayString as m, Fragment as R, renderList as F, nextTick as x } from "vue";
|
2
|
-
import { debounce as T } from "./
|
2
|
+
import { debounce as T } from "./index289.js";
|
3
3
|
/* empty css */
|
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 "./index218.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 "./index217.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 "./index220.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import U from "./
|
8
|
+
import U from "./index221.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useLocale as X } from "./
|
11
|
-
import { useDebounceFn as Y } from "./
|
10
|
+
import { useLocale as X } from "./index218.js";
|
11
|
+
import { useDebounceFn as Y } from "./index205.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 "./index206.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index131.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|