bitboss-ui 2.0.145 → 2.0.147
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/index133.js +1 -1
- 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/index207.js +2 -2
- package/dist/index208.js +2 -2
- package/dist/index209.js +4 -5
- package/dist/index21.js +16 -16
- package/dist/index210.js +40 -15
- package/dist/index211.js +19 -15
- package/dist/index212.js +94 -19
- package/dist/index214.js +199 -18
- package/dist/index216.js +66 -3
- package/dist/index218.js +13 -8
- package/dist/index219.js +12 -249
- package/dist/index220.js +2 -52
- package/dist/index221.js +4 -44
- package/dist/index222.js +2 -5
- package/dist/index223.js +80 -54
- package/dist/index225.js +29 -2
- package/dist/index226.js +17 -4
- package/dist/index227.js +51 -2
- package/dist/index228.js +15 -34
- package/dist/index229.js +3 -4
- package/dist/index23.js +16 -16
- package/dist/index230.js +11 -40
- package/dist/index231.js +15 -19
- package/dist/index232.js +28 -88
- package/dist/index233.js +5 -0
- package/dist/index234.js +3 -200
- package/dist/index235.js +8 -0
- package/dist/index236.js +7 -66
- package/dist/index237.js +10 -0
- package/dist/index238.js +14 -12
- package/dist/index239.js +5 -86
- package/dist/index240.js +18 -0
- package/dist/index241.js +16 -29
- package/dist/index242.js +17 -15
- package/dist/index243.js +15 -51
- package/dist/index244.js +19 -15
- package/dist/index245.js +27 -12
- package/dist/index246.js +2 -16
- package/dist/index247.js +245 -120
- package/dist/index248.js +52 -2
- package/dist/index249.js +43 -5
- package/dist/index25.js +7 -7
- package/dist/index250.js +5 -2
- package/dist/index251.js +60 -3
- package/dist/index252.js +125 -3
- package/dist/index253.js +2 -7
- package/dist/index254.js +2 -15
- package/dist/index255.js +18 -2
- package/dist/index256.js +126 -2
- package/dist/index257.js +105 -17
- package/dist/index259.js +47 -53
- package/dist/index261.js +12 -100
- package/dist/index262.js +230 -0
- package/dist/index263.js +368 -11
- package/dist/index264.js +2 -228
- package/dist/index265.js +2 -369
- package/dist/index266.js +174 -8
- package/dist/index267.js +9 -2
- package/dist/index268.js +2 -8
- package/dist/index269.js +6 -23
- package/dist/index27.js +1 -1
- package/dist/index270.js +16 -9
- package/dist/index271.js +9 -6
- package/dist/index272.js +23 -16
- package/dist/index273.js +8 -280
- package/dist/index274.js +4 -6
- package/dist/index275.js +431 -2
- package/dist/index276.js +3 -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 +11 -2
- package/dist/index283.js +3 -2
- package/dist/index284.js +17 -2
- package/dist/index285.js +9 -2
- package/dist/index287.js +1 -21
- package/dist/index288.js +202 -0
- package/dist/index289.js +8 -7
- package/dist/index29.js +3 -3
- package/dist/index290.js +224 -7
- package/dist/index291.js +2 -11
- package/dist/index292.js +88 -3
- package/dist/index293.js +281 -2
- package/dist/index294.js +5 -430
- package/dist/index295.js +2 -176
- package/dist/index296.js +2 -3
- package/dist/index297.js +2 -3
- package/dist/index298.js +2 -3
- package/dist/index300.js +2 -3
- package/dist/index301.js +2 -17
- package/dist/index302.js +2 -9
- package/dist/index303.js +2 -200
- package/dist/index304.js +2 -2
- package/dist/index305.js +2 -8
- package/dist/index306.js +22 -224
- package/dist/index308.js +2 -89
- package/dist/index31.js +2 -2
- package/dist/index310.js +1 -1
- package/dist/index311.js +1 -1
- package/dist/index312.js +1 -1
- package/dist/index315.js +67 -5
- package/dist/index316.js +5 -2
- package/dist/index317.js +2 -67
- package/dist/index321.js +4 -6
- package/dist/index322.js +7 -18
- package/dist/index323.js +479 -57
- package/dist/index324.js +8 -58
- package/dist/index325.js +5 -32
- package/dist/index326.js +8 -28
- package/dist/index327.js +35 -0
- package/dist/index328.js +28 -5
- package/dist/index33.js +8 -8
- package/dist/index330.js +58 -7
- package/dist/index331.js +58 -8
- package/dist/index332.js +3 -5
- package/dist/index333.js +7 -8
- package/dist/index334.js +19 -480
- package/dist/index335.js +46 -3
- package/dist/index336.js +6 -46
- package/dist/index337.js +1 -1
- package/dist/index339.js +1 -1
- package/dist/index35.js +4 -4
- package/dist/index37.js +22 -22
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +8 -8
- package/dist/index47.js +2 -2
- package/dist/index49.js +50 -41
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +8 -8
- 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 +4 -4
- package/dist/index90.js +1 -1
- package/package.json +2 -2
- package/dist/index213.js +0 -17
- package/dist/index215.js +0 -29
- package/dist/index217.js +0 -4
- package/dist/index224.js +0 -15
- package/dist/index258.js +0 -128
- package/dist/index307.js +0 -4
- package/dist/index329.js +0 -10
- /package/dist/{index279.js → index299.js} +0 -0
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 "./index246.js";
|
9
|
+
import { matchAnyKey as oe } from "./index255.js";
|
10
|
+
import { useFloating as lt } from "./index256.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 "./index221.js";
|
14
|
+
import nt from "./index257.js";
|
15
15
|
/* empty css */
|
16
|
-
import ut from "./
|
16
|
+
import ut from "./index259.js";
|
17
17
|
/* empty css */
|
18
|
-
import rt from "./
|
18
|
+
import rt from "./index216.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 "./index218.js";
|
21
|
+
import { waitFor as st } from "./index235.js";
|
22
|
+
import dt from "./index238.js";
|
23
|
+
import { useItemsGetter as ct } from "./index225.js";
|
24
|
+
import { usePrefill as pt } from "./index231.js";
|
25
|
+
import { useArray as mt } from "./index261.js";
|
26
|
+
import { useBaseOptions as ft } from "./index227.js";
|
27
|
+
import { useIndexById as ne } from "./index226.js";
|
28
|
+
import { useCoherence as vt } from "./index228.js";
|
29
|
+
import { hash as yt } from "./index229.js";
|
30
|
+
import { useHashedWatcher as ue } from "./index230.js";
|
31
|
+
import { useLocale as ht } from "./index219.js";
|
32
|
+
import { isEmpty as bt } from "./index254.js";
|
33
|
+
import gt from "./index262.js";
|
34
|
+
import { autoUpdate as wt, flip as Bt, offset as Vt, shift as It } from "./index263.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
|
-
import { clamp as le } from "./
|
3
|
-
import { head as O } from "./
|
4
|
-
import { isCssColor as Y } from "./
|
5
|
-
import { isNil as P } from "./
|
2
|
+
import { clamp as le } from "./index207.js";
|
3
|
+
import { head as O } from "./index264.js";
|
4
|
+
import { isCssColor as Y } from "./index220.js";
|
5
|
+
import { isNil as P } from "./index265.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 "./index229.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 "./index220.js";
|
3
|
+
import { when as N } from "./index221.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
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 "./index223.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 $ } from "./
|
12
|
-
import { usePrefill as X } from "./
|
6
|
+
import { useItemsGetter as U } from "./index225.js";
|
7
|
+
import { useIndexById as T } from "./index226.js";
|
8
|
+
import { useBaseOptions as q } from "./index227.js";
|
9
|
+
import { useCoherence as J } from "./index228.js";
|
10
|
+
import { hash as Q } from "./index229.js";
|
11
|
+
import { useHashedWatcher as $ } from "./index230.js";
|
12
|
+
import { usePrefill as X } from "./index231.js";
|
13
13
|
const ue = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseSwitchGroup",
|
15
15
|
props: {
|
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 "./index246.js";
|
7
|
+
import { useBaseOptions as ne } from "./index227.js";
|
8
|
+
import { useIndexById as re } from "./index226.js";
|
9
|
+
import ie from "./index257.js";
|
10
10
|
/* empty css */
|
11
|
-
import ue from "./
|
11
|
+
import ue from "./index259.js";
|
12
12
|
/* empty css */
|
13
|
-
import se from "./
|
13
|
+
import se from "./index216.js";
|
14
14
|
/* empty css */
|
15
|
-
import de from "./
|
16
|
-
import { isEmpty as pe } from "./
|
15
|
+
import de from "./index218.js";
|
16
|
+
import { isEmpty as pe } from "./index254.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 "./index218.js";
|
3
|
+
import G from "./index216.js";
|
4
4
|
/* empty css */
|
5
5
|
import M from "./index128.js";
|
6
6
|
/* empty css */
|
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 "./index216.js";
|
3
3
|
/* empty css */
|
4
|
-
import
|
5
|
-
import { isNotNil as
|
6
|
-
|
4
|
+
import M from "./index218.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 "./index220.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 "./index220.js";
|
3
|
+
import { isNil as B } from "./index265.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,10 +7,10 @@ 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
|
12
|
-
import { useLocale as
|
13
|
-
const
|
10
|
+
import { pickBy as W } from "./index267.js";
|
11
|
+
import { noop as w } from "./index268.js";
|
12
|
+
import { useLocale as D } from "./index219.js";
|
13
|
+
const E = {
|
14
14
|
key: 2,
|
15
15
|
class: "bb-button__loading-label sr-only"
|
16
16
|
}, X = /* @__PURE__ */ k({
|
@@ -52,12 +52,12 @@ const O = {
|
|
52
52
|
type: {}
|
53
53
|
},
|
54
54
|
setup(b) {
|
55
|
-
const e = b, { t: m } =
|
55
|
+
const e = b, { t: m } = D(), l = C(0), t = c(
|
56
56
|
() => e.loading || !!l.value && e.autoLoading
|
57
|
-
), f = c(() => e.disabled), { onClick: y =
|
57
|
+
), f = c(() => e.disabled), { onClick: y = w } = h(), g = async (o) => {
|
58
58
|
if (o.stopImmediatePropagation(), t.value && e.disabledWhileLoading)
|
59
59
|
return (e.type === "submit" || e.href || e.to) && o.preventDefault(), null;
|
60
|
-
l.value++, y(o), l.value--;
|
60
|
+
l.value++, await y(o), l.value--;
|
61
61
|
}, _ = typeof e.size == "string" ? { default: e.size } : { default: "md", ...e.size }, B = Object.entries(_).reduce(
|
62
62
|
(o, [n, d]) => (n === "default" ? o[`data-${d}`] = "" : o[`data-${n}:${d}`] = "", o),
|
63
63
|
{}
|
@@ -108,7 +108,7 @@ const O = {
|
|
108
108
|
F(u(o.text), 1)
|
109
109
|
])
|
110
110
|
], 2),
|
111
|
-
t.value ? (a(), N("span",
|
111
|
+
t.value ? (a(), N("span", E, u(r(m)("common.loadingText")), 1)) : s("", !0),
|
112
112
|
!o.icon && e["append:icon"] ? (a(), i(p, {
|
113
113
|
key: 3,
|
114
114
|
class: "bb-button__append-icon",
|
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 "./index271.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 "./index272.js";
|
9
|
+
import se from "./index212.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 "./index219.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 "./index270.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("./index269.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 "./index234.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 "./index210.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 "./index236.js";
|
6
|
+
import me from "./index238.js";
|
7
7
|
import { useMobile as ye } from "./index9.js";
|
8
|
-
import { useLocale as he } from "./
|
8
|
+
import { useLocale as he } from "./index219.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 "./index273.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 "./index219.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,13 +1,13 @@
|
|
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 "./index210.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 "./index235.js";
|
6
6
|
import Q from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import U from "./
|
8
|
+
import U from "./index212.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useLocale as X } from "./
|
10
|
+
import { useLocale as X } from "./index219.js";
|
11
11
|
import { useDebounceFn as Y } from "./index206.js";
|
12
12
|
const Z = { class: "bb-popover__close-label sr-only" }, ce = /* @__PURE__ */ O({
|
13
13
|
__name: "BbPopover",
|
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 "./index207.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 { commonjsGlobal as a, getDefaultExportFromCjs as _ } from "./index274.js";
|
2
|
-
import { __module as n } from "./index279.js";
|
3
|
-
(function(o, s) {
|
4
|
-
(function(r, e) {
|
5
|
-
o.exports = e();
|
6
|
-
})(a, function() {
|
7
|
-
return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(r) {
|
8
|
-
var e = ["th", "st", "nd", "rd"], t = r % 100;
|
9
|
-
return "[" + r + (e[(t - 20) % 10] || e[t] || e[0]) + "]";
|
10
|
-
} };
|
11
|
-
});
|
12
|
-
})(n);
|
13
|
-
var u = n.exports;
|
14
|
-
const p = /* @__PURE__ */ _(u);
|
15
|
-
export {
|
16
|
-
p as default
|
17
|
-
};
|
package/dist/index215.js
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
import { getDefaultExportFromCjs as c, commonjsGlobal as k } from "./index274.js";
|
2
|
-
import { __module as n } from "./index281.js";
|
3
|
-
(function(f, p) {
|
4
|
-
(function(r, e) {
|
5
|
-
f.exports = e();
|
6
|
-
})(k, function() {
|
7
|
-
var r = "week", e = "year";
|
8
|
-
return function(w, u, a) {
|
9
|
-
var o = u.prototype;
|
10
|
-
o.week = function(t) {
|
11
|
-
if (t === void 0 && (t = null), t !== null) return this.add(7 * (t - this.week()), "day");
|
12
|
-
var s = this.$locale().yearStart || 1;
|
13
|
-
if (this.month() === 11 && this.date() > 25) {
|
14
|
-
var l = a(this).startOf(e).add(1, e).date(s), d = a(this).endOf(r);
|
15
|
-
if (l.isBefore(d)) return 1;
|
16
|
-
}
|
17
|
-
var h = a(this).startOf(e).date(s).startOf(r).subtract(1, "millisecond"), i = this.diff(h, r, !0);
|
18
|
-
return i < 0 ? a(this).startOf("week").week() : Math.ceil(i);
|
19
|
-
}, o.weeks = function(t) {
|
20
|
-
return t === void 0 && (t = null), this.week(t);
|
21
|
-
};
|
22
|
-
};
|
23
|
-
});
|
24
|
-
})(n);
|
25
|
-
var m = n.exports;
|
26
|
-
const x = /* @__PURE__ */ c(m);
|
27
|
-
export {
|
28
|
-
x as default
|
29
|
-
};
|
package/dist/index217.js
DELETED
package/dist/index224.js
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
import { locales as t } from "./index290.js";
|
2
|
-
import { _config as m } from "./index4.js";
|
3
|
-
import { get as c } from "./index291.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
|
-
};
|