bitboss-ui 2.0.146 → 2.0.148
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/BaseTextInput/BaseTextInput.vue.d.ts +9 -0
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +10 -0
- package/dist/index100.js +9 -9
- package/dist/index111.js +12 -12
- package/dist/index117.js +18 -14
- 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 +1 -1
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index134.js +2 -2
- package/dist/index15.js +8 -8
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +3 -115
- package/dist/index207.js +2 -2
- package/dist/index208.js +4 -86
- package/dist/index209.js +4 -0
- package/dist/index21.js +16 -16
- package/dist/index210.js +2 -29
- package/dist/index211.js +114 -16
- package/dist/index212.js +86 -51
- package/dist/index214.js +29 -3
- package/dist/index215.js +16 -11
- package/dist/index216.js +48 -13
- package/dist/index217.js +15 -66
- package/dist/index218.js +5 -0
- package/dist/index219.js +12 -13
- package/dist/index220.js +16 -5
- package/dist/index221.js +33 -124
- package/dist/index222.js +65 -15
- package/dist/index224.js +13 -19
- package/dist/index225.js +4 -15
- package/dist/index226.js +41 -2
- package/dist/index227.js +20 -2
- package/dist/index228.js +93 -40
- package/dist/index23.js +16 -16
- package/dist/index230.js +198 -18
- package/dist/index232.js +12 -93
- package/dist/index233.js +5 -0
- package/dist/index234.js +6 -2
- package/dist/index235.js +7 -19
- package/dist/index236.js +8 -27
- package/dist/index237.js +13 -6
- package/dist/index238.js +5 -250
- package/dist/index239.js +124 -51
- package/dist/index240.js +16 -44
- package/dist/index241.js +16 -5
- package/dist/index242.js +19 -60
- package/dist/index243.js +15 -34
- package/dist/index244.js +2 -2
- package/dist/index245.js +2 -4
- package/dist/index246.js +2 -2
- package/dist/index247.js +19 -3
- package/dist/index248.js +27 -3
- package/dist/index249.js +250 -7
- package/dist/index25.js +7 -7
- package/dist/index250.js +48 -11
- package/dist/index251.js +44 -4
- package/dist/index252.js +5 -200
- package/dist/index253.js +62 -0
- package/dist/index255.js +2 -18
- package/dist/index256.js +2 -126
- package/dist/index257.js +2 -2
- package/dist/index259.js +2 -2
- package/dist/index261.js +17 -11
- package/dist/index262.js +124 -226
- package/dist/index263.js +11 -368
- package/dist/index264.js +228 -2
- package/dist/index265.js +369 -2
- package/dist/index266.js +174 -8
- package/dist/index267.js +9 -2
- package/dist/index268.js +3 -6
- package/dist/index269.js +224 -16
- package/dist/index27.js +1 -1
- package/dist/index270.js +4 -9
- package/dist/index271.js +2 -9
- package/dist/index272.js +3 -23
- package/dist/index273.js +17 -3
- package/dist/index274.js +7 -15
- package/dist/index275.js +27 -8
- package/dist/index276.js +3 -28
- package/dist/index278.js +9 -0
- package/dist/index279.js +429 -5
- package/dist/index280.js +3 -2
- package/dist/index281.js +3 -4
- package/dist/index282.js +7 -281
- package/dist/index283.js +10 -5
- package/dist/index284.js +2 -2
- package/dist/index285.js +89 -2
- package/dist/index286.js +200 -2
- package/dist/index287.js +6 -2
- package/dist/index288.js +16 -2
- package/dist/index289.js +281 -2
- package/dist/index29.js +3 -3
- package/dist/index290.js +5 -430
- package/dist/index291.js +2 -176
- package/dist/index292.js +2 -3
- package/dist/index293.js +2 -7
- package/dist/index294.js +2 -11
- package/dist/index297.js +9 -2
- package/dist/index298.js +8 -2
- package/dist/index299.js +9 -2
- package/dist/index300.js +23 -2
- package/dist/index301.js +2 -22
- package/dist/index302.js +4 -0
- package/dist/index303.js +2 -200
- package/dist/index304.js +2 -5
- package/dist/index305.js +2 -224
- package/dist/index306.js +2 -8
- package/dist/index307.js +22 -2
- package/dist/index309.js +3 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +3 -89
- package/dist/index311.js +126 -3
- package/dist/index312.js +2 -126
- package/dist/index313.js +436 -3
- package/dist/index314.js +127 -3
- package/dist/index315.js +2 -2
- package/dist/index316.js +5 -436
- package/dist/index317.js +66 -126
- package/dist/index318.js +5 -3
- package/dist/index319.js +8 -3
- package/dist/index320.js +471 -49
- package/dist/index321.js +33 -480
- package/dist/index322.js +28 -33
- package/dist/index324.js +10 -0
- package/dist/index325.js +6 -58
- package/dist/index326.js +7 -57
- package/dist/index327.js +58 -5
- package/dist/index328.js +58 -8
- package/dist/index33.js +8 -8
- package/dist/index330.js +3 -7
- package/dist/index331.js +3 -19
- package/dist/index332.js +57 -6
- package/dist/index333.js +7 -2
- package/dist/index334.js +17 -45
- package/dist/index335.js +6 -7
- package/dist/index336.js +46 -5
- package/dist/index337.js +2 -8
- package/dist/index339.js +1 -1
- package/dist/index340.js +2 -424
- package/dist/index341.js +424 -2
- package/dist/index35.js +4 -4
- package/dist/index37.js +20 -20
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- package/dist/index47.js +2 -2
- package/dist/index49.js +50 -41
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +3 -3
- 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/index90.js +1 -1
- package/package.json +1 -1
- package/dist/index213.js +0 -17
- package/dist/index223.js +0 -18
- package/dist/index229.js +0 -15
- package/dist/index231.js +0 -8
- package/dist/index277.js +0 -5
- package/dist/index308.js +0 -69
- package/dist/index323.js +0 -30
package/dist/index49.js
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import
|
1
|
+
import { defineComponent as k, computed as B, openBlock as g, createElementBlock as V, Fragment as h, createVNode as u, normalizeClass as w, withCtx as l, renderSlot as r, unref as C, createElementVNode as i, mergeProps as $ } from "vue";
|
2
|
+
import E from "./index222.js";
|
3
3
|
/* empty css */
|
4
|
-
import
|
5
|
-
import { isNotNil as
|
6
|
-
|
4
|
+
import M from "./index224.js";
|
5
|
+
import { isNotNil as T } from "./index135.js";
|
6
|
+
import { Mask as q } from "./index266.js";
|
7
|
+
const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "type", "value"], H = /* @__PURE__ */ k({
|
7
8
|
__name: "BaseTextInput",
|
8
9
|
props: {
|
9
10
|
"append:icon": {},
|
@@ -13,9 +14,11 @@ const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
13
14
|
clearable: { type: Boolean },
|
14
15
|
compact: { type: Boolean },
|
15
16
|
disabled: { type: Boolean },
|
17
|
+
emitMasked: { type: Boolean },
|
16
18
|
hasErrors: { type: Boolean },
|
17
19
|
id: {},
|
18
20
|
loading: { type: Boolean },
|
21
|
+
mask: {},
|
19
22
|
modelValue: {},
|
20
23
|
name: {},
|
21
24
|
placeholder: {},
|
@@ -25,57 +28,63 @@ const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
25
28
|
type: { default: "text" }
|
26
29
|
},
|
27
30
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
28
|
-
setup(
|
29
|
-
const o =
|
31
|
+
setup(d, { emit: m }) {
|
32
|
+
const o = d, n = m, c = B(() => ({
|
30
33
|
"bb-base-text-input": !0,
|
31
34
|
"bb-base-text-input--disabled": o.disabled,
|
32
35
|
"bb-base-text-input--errors": o.hasErrors,
|
33
36
|
"bb-base-text-input--loading": o.loading,
|
34
37
|
"bb-base-text-input--readonly": o.readonly,
|
35
38
|
"bb-base-text-input--compact": o.compact
|
36
|
-
})),
|
37
|
-
onBlur: (e) =>
|
38
|
-
onChange: (e) =>
|
39
|
-
onClick: (e) =>
|
40
|
-
onFocus: (e) =>
|
41
|
-
onKeydown: (e) =>
|
39
|
+
})), t = o.mask ? new q(o.mask) : null, b = (e) => e && t ? o.emitMasked ? t.masked(e) : t.unmasked(e) : e || null, s = (e) => e && t ? t.masked(e) : e, f = {
|
40
|
+
onBlur: (e) => n("blur", e),
|
41
|
+
onChange: (e) => n("change", e),
|
42
|
+
onClick: (e) => n("click", e),
|
43
|
+
onFocus: (e) => n("focus", e),
|
44
|
+
onKeydown: (e) => n("keydown", e),
|
42
45
|
onInput: (e) => {
|
43
|
-
e.target instanceof HTMLInputElement
|
46
|
+
if (e.target instanceof HTMLInputElement) {
|
47
|
+
let a = (t == null ? void 0 : t.unmasked(e.target.value)) ?? null;
|
48
|
+
e.inputType === "deleteContentBackward" && a && (a = a.slice(0, a.length - 1));
|
49
|
+
const p = b(a), y = s(a) ?? "";
|
50
|
+
n("update:modelValue", p), e.target.value = y;
|
51
|
+
}
|
52
|
+
n("input", e);
|
44
53
|
},
|
45
|
-
onMousedown: (e) =>
|
46
|
-
onMouseup: (e) =>
|
54
|
+
onMousedown: (e) => n("mousedown", e),
|
55
|
+
onMouseup: (e) => n("mouseup", e)
|
47
56
|
};
|
48
|
-
return (e,
|
49
|
-
|
50
|
-
class:
|
57
|
+
return (e, a) => (g(), V(h, null, [
|
58
|
+
u(M, {
|
59
|
+
class: w(c.value)
|
51
60
|
}, {
|
52
|
-
"prepend-outer":
|
53
|
-
|
61
|
+
"prepend-outer": l(() => [
|
62
|
+
r(e.$slots, "prepend-outer")
|
54
63
|
]),
|
55
|
-
"append-outer":
|
56
|
-
|
64
|
+
"append-outer": l(() => [
|
65
|
+
r(e.$slots, "append-outer")
|
57
66
|
]),
|
58
|
-
default:
|
59
|
-
|
67
|
+
default: l(() => [
|
68
|
+
u(E, {
|
60
69
|
"append:icon": o["append:icon"],
|
61
|
-
clearable: o.clearable &&
|
70
|
+
clearable: o.clearable && C(T)(o.modelValue),
|
62
71
|
"prepend:icon": o["prepend:icon"],
|
63
|
-
"onClick:clear":
|
72
|
+
"onClick:clear": a[0] || (a[0] = (p) => e.$emit("update:modelValue", null))
|
64
73
|
}, {
|
65
|
-
prepend:
|
66
|
-
|
74
|
+
prepend: l(() => [
|
75
|
+
r(e.$slots, "prepend")
|
67
76
|
]),
|
68
|
-
prefix:
|
69
|
-
|
77
|
+
prefix: l(() => [
|
78
|
+
r(e.$slots, "prefix")
|
70
79
|
]),
|
71
|
-
append:
|
72
|
-
|
80
|
+
append: l(() => [
|
81
|
+
r(e.$slots, "append")
|
73
82
|
]),
|
74
|
-
suffix:
|
75
|
-
|
83
|
+
suffix: l(() => [
|
84
|
+
r(e.$slots, "suffix")
|
76
85
|
]),
|
77
|
-
default:
|
78
|
-
|
86
|
+
default: l(() => [
|
87
|
+
i("input", $({
|
79
88
|
id: e.id,
|
80
89
|
ref: "input",
|
81
90
|
"aria-describedby": e.ariaDescribedby,
|
@@ -90,18 +99,18 @@ const V = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
90
99
|
required: e.required,
|
91
100
|
size: "1",
|
92
101
|
type: e.type,
|
93
|
-
value: e.modelValue
|
94
|
-
},
|
102
|
+
value: s(e.modelValue)
|
103
|
+
}, f), null, 16, D)
|
95
104
|
]),
|
96
105
|
_: 3
|
97
106
|
}, 8, ["append:icon", "clearable", "prepend:icon"])
|
98
107
|
]),
|
99
108
|
_: 3
|
100
109
|
}, 8, ["class"]),
|
101
|
-
|
110
|
+
a[1] || (a[1] = i("span", null, null, -1))
|
102
111
|
], 64));
|
103
112
|
}
|
104
113
|
});
|
105
114
|
export {
|
106
|
-
|
115
|
+
H as default
|
107
116
|
};
|
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 "./index207.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 "./index207.js";
|
3
|
+
import { isNil as B } from "./index256.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
@@ -7,9 +7,9 @@ import p from "./index127.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import T from "./index129.js";
|
9
9
|
/* empty css */
|
10
|
-
import { pickBy as W } from "./
|
11
|
-
import { noop as w } from "./
|
12
|
-
import { useLocale as D } from "./
|
10
|
+
import { pickBy as W } from "./index267.js";
|
11
|
+
import { noop as w } from "./index268.js";
|
12
|
+
import { useLocale as D } from "./index232.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 "./index299.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 "./index300.js";
|
9
|
+
import se from "./index228.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 "./index232.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/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 "./index288.js";
|
3
3
|
import { useId as re } from "./index8.js";
|
4
4
|
import oe from "./index128.js";
|
5
5
|
/* empty css */
|
@@ -53,7 +53,7 @@ const le = ["accept", "autofocus", "disabled", "multiple"], se = { class: "bb-dr
|
|
53
53
|
const r = a.accept[t];
|
54
54
|
if (r.includes("/")) e.push(r);
|
55
55
|
else {
|
56
|
-
b || (b = (await import("./
|
56
|
+
b || (b = (await import("./index287.js")).default);
|
57
57
|
const o = b.getType(r);
|
58
58
|
if (!o)
|
59
59
|
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 "./index233.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 ae, ref as l, useAttrs as ne, computed as u, getCurrentInstance as ie, nextTick as re, onBeforeUnmount as A, onMounted as ue, watch as ce, openBlock as g, createBlock as de, withCtx as fe, createElementVNode as s, mergeProps as E, createElementBlock as $, renderSlot as n, createTextVNode as ve, toDisplayString as H, unref as pe, createCommentVNode as T } from "vue";
|
2
|
-
import { useFocusTrap as be } from "./
|
2
|
+
import { useFocusTrap as be } from "./index226.js";
|
3
3
|
import { useId as I } from "./index8.js";
|
4
4
|
import { wait as D } from "./index130.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import me from "./
|
5
|
+
import { useModalsState as b } from "./index235.js";
|
6
|
+
import me from "./index237.js";
|
7
7
|
import { useMobile as ye } from "./index9.js";
|
8
|
-
import { useLocale as he } from "./
|
8
|
+
import { useLocale as he } from "./index232.js";
|
9
9
|
const ge = ["inert"], _e = { class: "bb-offcanvas-close" }, ke = ["aria-label"], De = /* @__PURE__ */ ae({
|
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 "./index297.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 "./index232.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 "./index226.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 "./index234.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import U from "./
|
8
|
+
import U from "./index228.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useLocale as X } from "./
|
11
|
-
import { useDebounceFn as Y } from "./
|
10
|
+
import { useLocale as X } from "./index232.js";
|
11
|
+
import { useDebounceFn as Y } from "./index211.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 "./index210.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index131.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|
package/package.json
CHANGED
package/dist/index213.js
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
import { isNil as f } from "./index265.js";
|
2
|
-
import { computed as t, unref as o } from "vue";
|
3
|
-
const a = ({ modelValue: e, iteratee: h, multiple: u }) => {
|
4
|
-
const i = t(
|
5
|
-
() => new Array().concat(o(e))
|
6
|
-
), s = t(() => i.value.reduce(
|
7
|
-
(r, n) => (h(n) ? r.coherent.push(n) : r.incoherent.push(n), r),
|
8
|
-
{ coherent: [], incoherent: [] }
|
9
|
-
)), c = t(() => u && !o(e).length || !u && f(o(e)) ? !0 : !s.value.incoherent.length);
|
10
|
-
return {
|
11
|
-
status: s,
|
12
|
-
coherent: c
|
13
|
-
};
|
14
|
-
};
|
15
|
-
export {
|
16
|
-
a as useCoherence
|
17
|
-
};
|
package/dist/index223.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index283.js";
|
2
|
-
import { __module as t } from "./index287.js";
|
3
|
-
(function(s, a) {
|
4
|
-
(function(f, o) {
|
5
|
-
s.exports = o();
|
6
|
-
})(n, function() {
|
7
|
-
return function(f, o) {
|
8
|
-
o.prototype.isSameOrBefore = function(e, r) {
|
9
|
-
return this.isSame(e, r) || this.isBefore(e, r);
|
10
|
-
};
|
11
|
-
};
|
12
|
-
});
|
13
|
-
})(t);
|
14
|
-
var m = t.exports;
|
15
|
-
const c = /* @__PURE__ */ i(m);
|
16
|
-
export {
|
17
|
-
c as default
|
18
|
-
};
|
package/dist/index229.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
import { locales as t } from "./index293.js";
|
2
|
-
import { _config as m } from "./index4.js";
|
3
|
-
import { get as c } from "./index294.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
|
12
|
-
});
|
13
|
-
export {
|
14
|
-
d as useLocale
|
15
|
-
};
|
package/dist/index231.js
DELETED
package/dist/index277.js
DELETED
package/dist/index308.js
DELETED
@@ -1,69 +0,0 @@
|
|
1
|
-
import { defineComponent as d, openBlock as o, createElementBlock as l, normalizeClass as u, createElementVNode as t, createBlock as i, createCommentVNode as s, unref as f, withCtx as g, toDisplayString as n } from "vue";
|
2
|
-
import { useLocale as k } from "./index229.js";
|
3
|
-
import h from "./index13.js";
|
4
|
-
/* empty css */
|
5
|
-
import C from "./index127.js";
|
6
|
-
/* empty css */
|
7
|
-
const w = { class: "bb-toast-message__icon-container" }, v = { class: "bb-toast-message__content" }, y = {
|
8
|
-
key: 1,
|
9
|
-
class: "bb-toast-message__title"
|
10
|
-
}, B = { class: "bb-toast-message__text" }, z = /* @__PURE__ */ d({
|
11
|
-
__name: "BbToastMessage",
|
12
|
-
props: {
|
13
|
-
title: {},
|
14
|
-
text: {},
|
15
|
-
icon: {},
|
16
|
-
theme: { default: "default" },
|
17
|
-
id: {},
|
18
|
-
showClose: { type: Boolean }
|
19
|
-
},
|
20
|
-
emits: ["click:close"],
|
21
|
-
setup(r, { emit: c }) {
|
22
|
-
const m = r, p = c, { t: _ } = k(), b = () => {
|
23
|
-
p("click:close", m.id);
|
24
|
-
};
|
25
|
-
return (e, a) => (o(), l("div", {
|
26
|
-
"aria-atomic": "true",
|
27
|
-
"aria-live": "polite",
|
28
|
-
"aria-role": "alert",
|
29
|
-
class: u(["bb-toast-message", { [`bb-toast-message--${e.theme}`]: e.theme }])
|
30
|
-
}, [
|
31
|
-
t("div", w, [
|
32
|
-
e.icon ? (o(), i(C, {
|
33
|
-
key: 0,
|
34
|
-
class: "bb-toast-message__icon",
|
35
|
-
type: e.icon
|
36
|
-
}, null, 8, ["type"])) : s("", !0)
|
37
|
-
]),
|
38
|
-
t("div", v, [
|
39
|
-
e.showClose ? (o(), i(h, {
|
40
|
-
key: 0,
|
41
|
-
"aria-label": f(_)("common.closeLabel").value,
|
42
|
-
class: "bb-toast-message__close",
|
43
|
-
onClick: b
|
44
|
-
}, {
|
45
|
-
default: g(() => a[0] || (a[0] = [
|
46
|
-
t("svg", {
|
47
|
-
fill: "none",
|
48
|
-
viewBox: "0 0 24 24",
|
49
|
-
xmlns: "http://www.w3.org/2000/svg"
|
50
|
-
}, [
|
51
|
-
t("path", {
|
52
|
-
d: "M23 23L1 1M23 1L1 23",
|
53
|
-
stroke: "currentColor",
|
54
|
-
"stroke-linecap": "round",
|
55
|
-
"stroke-width": "2"
|
56
|
-
})
|
57
|
-
], -1)
|
58
|
-
])),
|
59
|
-
_: 1
|
60
|
-
}, 8, ["aria-label"])) : s("", !0),
|
61
|
-
e.title ? (o(), l("p", y, n(e.title), 1)) : s("", !0),
|
62
|
-
t("p", B, n(e.text), 1)
|
63
|
-
])
|
64
|
-
], 2));
|
65
|
-
}
|
66
|
-
});
|
67
|
-
export {
|
68
|
-
z as default
|
69
|
-
};
|
package/dist/index323.js
DELETED
@@ -1,30 +0,0 @@
|
|
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 "./index229.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
|
-
});
|
28
|
-
export {
|
29
|
-
b as default
|
30
|
-
};
|