bitboss-ui 2.0.99 → 2.0.101
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 +0 -6
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -0
- package/dist/index100.js +4 -4
- package/dist/index111.js +6 -6
- package/dist/index119.js +2 -2
- package/dist/index121.js +5 -5
- package/dist/index123.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index129.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +3 -3
- package/dist/index17.js +3 -3
- package/dist/index19.js +3 -3
- package/dist/index205.js +81 -2
- package/dist/index206.js +126 -3
- package/dist/index207.js +5 -41
- package/dist/index208.js +125 -6
- package/dist/index209.js +19 -7
- package/dist/index21.js +14 -14
- package/dist/index210.js +16 -8
- package/dist/index211.js +16 -12
- package/dist/index212.js +2 -53
- package/dist/index213.js +4 -0
- package/dist/index214.js +40 -12
- package/dist/index215.js +1 -1
- package/dist/index216.js +6 -4
- package/dist/index217.js +53 -5
- package/dist/index219.js +13 -16
- package/dist/index220.js +5 -19
- package/dist/index221.js +12 -19
- package/dist/index222.js +367 -25
- package/dist/index223.js +4 -3
- package/dist/index224.js +3 -2
- package/dist/index225.js +6 -248
- package/dist/index226.js +2 -52
- package/dist/index227.js +4 -44
- package/dist/index228.js +2 -5
- package/dist/index229.js +2 -60
- package/dist/index23.js +15 -15
- package/dist/index230.js +19 -81
- package/dist/index231.js +27 -2
- package/dist/index232.js +3 -4
- package/dist/index233.js +250 -2
- package/dist/index234.js +50 -162
- package/dist/index235.js +38 -78
- package/dist/index236.js +7 -0
- package/dist/index237.js +59 -7
- package/dist/index238.js +3 -126
- package/dist/index239.js +7 -125
- package/dist/index240.js +168 -2
- package/dist/index241.js +84 -5
- package/dist/index243.js +8 -3
- package/dist/index244.js +2 -106
- package/dist/index246.js +53 -47
- package/dist/index248.js +100 -2
- package/dist/index25.js +6 -6
- package/dist/index256.js +4 -4
- package/dist/index258.js +3 -3
- package/dist/index260.js +3 -431
- package/dist/index262.js +6 -88
- package/dist/index263.js +176 -3
- package/dist/index264.js +11 -0
- package/dist/index265.js +224 -7
- package/dist/index266.js +279 -174
- package/dist/index267.js +6 -200
- package/dist/index268.js +2 -9
- package/dist/index269.js +2 -9
- package/dist/index27.js +1 -1
- package/dist/index270.js +2 -8
- package/dist/index271.js +2 -281
- package/dist/index272.js +2 -6
- package/dist/index273.js +126 -2
- package/dist/index274.js +431 -2
- package/dist/index275.js +22 -2
- package/dist/index277.js +2 -2
- package/dist/index278.js +4 -2
- package/dist/index279.js +9 -2
- package/dist/index280.js +8 -2
- package/dist/index281.js +2 -2
- package/dist/index282.js +2 -2
- package/dist/index283.js +2 -28
- package/dist/index284.js +1 -21
- package/dist/index285.js +4 -0
- package/dist/index286.js +2 -4
- package/dist/index287.js +28 -3
- package/dist/index288.js +22 -12
- package/dist/index29.js +3 -3
- package/dist/index290.js +434 -15
- package/dist/index291.js +126 -3
- package/dist/index292.js +199 -6
- package/dist/index293.js +88 -10
- package/dist/index294.js +3 -2
- package/dist/index295.js +12 -126
- package/dist/index296.js +8 -21
- package/dist/index297.js +19 -0
- package/dist/index298.js +3 -223
- package/dist/index299.js +6 -435
- package/dist/index300.js +10 -126
- package/dist/index301.js +1 -1
- package/dist/index302.js +1 -1
- package/dist/index303.js +2 -2
- package/dist/index304.js +5 -2
- package/dist/index305.js +2 -66
- package/dist/index306.js +66 -5
- package/dist/index307.js +3 -5
- package/dist/index308.js +3 -8
- package/dist/index309.js +3 -3
- package/dist/index31.js +26 -27
- package/dist/index310.js +58 -3
- package/dist/index311.js +4 -57
- package/dist/index312.js +8 -3
- package/dist/index313.js +32 -3
- package/dist/index314.js +3 -32
- package/dist/index315.js +6 -6
- package/dist/index316.js +6 -18
- package/dist/index317.js +17 -5
- package/dist/index318.js +8 -47
- package/dist/index319.js +5 -5
- package/dist/index320.js +47 -8
- package/dist/index321.js +1 -1
- package/dist/{index322.js → index323.js} +1 -1
- package/dist/index33.js +48 -42
- package/dist/index35.js +3 -3
- package/dist/index37.js +80 -78
- package/dist/index39.js +3 -3
- package/dist/index41.js +8 -9
- package/dist/index43.js +58 -52
- package/dist/index45.js +6 -6
- 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/index71.js +38 -18
- package/dist/index75.js +10 -10
- package/dist/index77.js +21 -20
- package/dist/index81.js +1 -1
- package/dist/index84.js +3 -3
- 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 +1 -1
- package/dist/index218.js +0 -18
- package/dist/index242.js +0 -371
- package/dist/index261.js +0 -4
- package/dist/index276.js +0 -4
- package/dist/index289.js +0 -11
- /package/dist/{index249.js → index245.js} +0 -0
package/dist/index43.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useOptions as
|
3
|
-
import
|
1
|
+
import { defineComponent as B, ref as b, toRef as l, openBlock as w, createBlock as O, unref as v, withCtx as i, renderSlot as s, normalizeProps as m, guardReactiveProps as p, createVNode as z, mergeProps as h, createSlots as F } from "vue";
|
2
|
+
import { useOptions as M } from "./index240.js";
|
3
|
+
import S from "./index41.js";
|
4
4
|
/* empty css */
|
5
|
-
import
|
5
|
+
import H from "./index241.js";
|
6
6
|
/* empty css */
|
7
|
-
const
|
7
|
+
const G = /* @__PURE__ */ B({
|
8
8
|
__name: "BaseSwitchGroup",
|
9
9
|
props: {
|
10
10
|
ariaDescribedby: {},
|
@@ -31,56 +31,59 @@ const I = /* @__PURE__ */ V({
|
|
31
31
|
},
|
32
32
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
33
33
|
setup(g, { emit: y }) {
|
34
|
-
const
|
34
|
+
const n = g, a = y, f = b(), r = b(!1), {
|
35
35
|
innerLoading: T,
|
36
36
|
options: k,
|
37
37
|
selectOption: D,
|
38
38
|
unselectOption: L
|
39
|
-
} =
|
40
|
-
dependencies: l(
|
41
|
-
depsDebounceTime:
|
42
|
-
disabled: l(
|
43
|
-
emit:
|
44
|
-
enforceCoherence:
|
45
|
-
items: l(
|
46
|
-
itemText:
|
47
|
-
itemValue:
|
48
|
-
max:
|
49
|
-
modelValue: l(
|
50
|
-
modelValueDebounceTime:
|
39
|
+
} = M({
|
40
|
+
dependencies: l(n, "dependencies"),
|
41
|
+
depsDebounceTime: n.depsDebounceTime,
|
42
|
+
disabled: l(n, "disabled"),
|
43
|
+
emit: a,
|
44
|
+
enforceCoherence: n.enforceCoherence,
|
45
|
+
items: l(n, "items"),
|
46
|
+
itemText: n.itemText,
|
47
|
+
itemValue: n.itemValue,
|
48
|
+
max: n.max,
|
49
|
+
modelValue: l(n, "modelValue"),
|
50
|
+
modelValueDebounceTime: n.modelValueDebounceTime,
|
51
51
|
multiple: !0,
|
52
52
|
prefill: !0,
|
53
53
|
queryDebounceTime: 0,
|
54
54
|
resetQueryOnOptionSelected: !1,
|
55
55
|
stash: !1
|
56
|
-
}),
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
56
|
+
}), C = (e) => {
|
57
|
+
if (n.id)
|
58
|
+
return [n.id, e.valueHash].filter(Boolean).join("-");
|
59
|
+
}, E = (e, t) => {
|
60
|
+
a("change", e), t.selected ? L(t) : D(t);
|
61
|
+
}, V = {
|
62
|
+
onBlur: (e) => a("blur", e),
|
63
|
+
onClick: (e) => a("click", e),
|
61
64
|
onFocus: (e) => {
|
62
|
-
|
65
|
+
a("focus", e), r.value || (document.addEventListener("focusin", d, { passive: !0 }), document.addEventListener("click", u, { passive: !0 }), r.value = !0);
|
63
66
|
},
|
64
|
-
onInput: (e) =>
|
65
|
-
onKeydown: (e) =>
|
66
|
-
onMousedown: (e) =>
|
67
|
-
onMouseup: (e) =>
|
67
|
+
onInput: (e) => a("input", e),
|
68
|
+
onKeydown: (e) => a("keydown", e),
|
69
|
+
onMousedown: (e) => a("mousedown", e),
|
70
|
+
onMouseup: (e) => a("mouseup", e)
|
68
71
|
}, d = (e) => {
|
69
72
|
var t;
|
70
|
-
e.target instanceof HTMLElement && ((t =
|
73
|
+
e.target instanceof HTMLElement && ((t = f.value) != null && t.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", d), document.removeEventListener("click", u)));
|
71
74
|
}, u = (e) => {
|
72
75
|
var t;
|
73
|
-
e.target instanceof HTMLElement && ((t =
|
76
|
+
e.target instanceof HTMLElement && ((t = f.value) != null && t.contains(e.target) || (a("inactive"), r.value = !1, document.removeEventListener("focusin", d), document.removeEventListener("click", u)));
|
74
77
|
};
|
75
|
-
return (e, t) => (w(),
|
78
|
+
return (e, t) => (w(), O(H, {
|
76
79
|
class: "bb-base-switch-group",
|
77
80
|
direction: e.direction,
|
78
81
|
"has-errors": e.hasErrors,
|
79
82
|
"hide-label": e.hideLabel,
|
80
|
-
loading: !!
|
83
|
+
loading: !!v(T),
|
81
84
|
"loading-text": e.loadingText,
|
82
85
|
"no-data-text": e.noDataText,
|
83
|
-
options:
|
86
|
+
options: v(k)
|
84
87
|
}, {
|
85
88
|
prepend: i(() => [
|
86
89
|
s(e.$slots, "prepend")
|
@@ -91,46 +94,49 @@ const I = /* @__PURE__ */ V({
|
|
91
94
|
"no-data": i(() => [
|
92
95
|
s(e.$slots, "no-data")
|
93
96
|
]),
|
94
|
-
|
95
|
-
s(e.$slots, "
|
97
|
+
label: i((o) => [
|
98
|
+
s(e.$slots, "label", m(p(o)))
|
96
99
|
]),
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
+
"option:prepend": i((o) => [
|
101
|
+
s(e.$slots, "option:prepend", m(p(o)))
|
102
|
+
]),
|
103
|
+
input: i(({ option: o, index: $ }) => [
|
104
|
+
z(S, h({
|
105
|
+
id: C(o),
|
100
106
|
"aria-describedby": e.ariaDescribedby,
|
101
|
-
autofocus: e.autofocus &&
|
102
|
-
checked:
|
107
|
+
autofocus: e.autofocus && !$,
|
108
|
+
checked: o.selected,
|
103
109
|
color: e.color,
|
104
|
-
disabled:
|
110
|
+
disabled: o.disabled,
|
105
111
|
"has-errors": e.hasErrors,
|
106
112
|
name: e.name,
|
107
113
|
readonly: e.readonly,
|
108
|
-
"true-value":
|
109
|
-
},
|
110
|
-
onChange: (c) =>
|
111
|
-
}),
|
114
|
+
"true-value": o.value
|
115
|
+
}, V, {
|
116
|
+
onChange: (c) => E(c, o)
|
117
|
+
}), F({ _: 2 }, [
|
112
118
|
e.$slots.icon ? {
|
113
119
|
name: "icon",
|
114
120
|
fn: i((c) => [
|
115
|
-
s(e.$slots, "icon",
|
116
|
-
item:
|
117
|
-
text:
|
121
|
+
s(e.$slots, "icon", h({
|
122
|
+
item: o.item,
|
123
|
+
text: o.text
|
118
124
|
}, c))
|
119
125
|
]),
|
120
126
|
key: "0"
|
121
127
|
} : void 0
|
122
128
|
]), 1040, ["id", "aria-describedby", "autofocus", "checked", "color", "disabled", "has-errors", "name", "readonly", "true-value", "onChange"])
|
123
129
|
]),
|
124
|
-
"option:append": i((
|
125
|
-
s(e.$slots, "option:
|
130
|
+
"option:append": i((o) => [
|
131
|
+
s(e.$slots, "option:append", m(p(o)))
|
126
132
|
]),
|
127
133
|
append: i(() => [
|
128
|
-
s(e.$slots, "
|
134
|
+
s(e.$slots, "append")
|
129
135
|
]),
|
130
136
|
_: 3
|
131
137
|
}, 8, ["direction", "has-errors", "hide-label", "loading", "loading-text", "no-data-text", "options"]));
|
132
138
|
}
|
133
139
|
});
|
134
140
|
export {
|
135
|
-
|
141
|
+
G as default
|
136
142
|
};
|
package/dist/index45.js
CHANGED
@@ -4,15 +4,15 @@ import { defineComponent as Y, ref as i, computed as k, toRef as B, openBlock as
|
|
4
4
|
import ue from "./index128.js";
|
5
5
|
/* empty css */
|
6
6
|
import { isNotNil as se } from "./index134.js";
|
7
|
-
import { last as de } from "./
|
8
|
-
import { useOptions as pe } from "./
|
9
|
-
import ce from "./
|
7
|
+
import { last as de } from "./index213.js";
|
8
|
+
import { useOptions as pe } from "./index240.js";
|
9
|
+
import ce from "./index246.js";
|
10
10
|
/* empty css */
|
11
|
-
import me from "./
|
11
|
+
import me from "./index248.js";
|
12
12
|
/* empty css */
|
13
|
-
import fe from "./
|
13
|
+
import fe from "./index217.js";
|
14
14
|
/* empty css */
|
15
|
-
import ve from "./
|
15
|
+
import ve from "./index219.js";
|
16
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: {
|
package/dist/index47.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as w, ref as y, computed as u, onMounted as g, watch as B, nextTick as x, openBlock as V, createBlock as k, normalizeClass as $, withCtx as t, renderSlot as r, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
|
2
|
-
import v from "./
|
3
|
-
import E from "./
|
2
|
+
import v from "./index219.js";
|
3
|
+
import E from "./index217.js";
|
4
4
|
/* empty css */
|
5
5
|
import G from "./index128.js";
|
6
6
|
/* empty css */
|
package/dist/index49.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as m, computed as c, openBlock as b, createElementBlock as f, Fragment as y, createVNode as r, normalizeClass as h, withCtx as n, renderSlot as t, createElementVNode as l, mergeProps as g } from "vue";
|
2
|
-
import B from "./
|
2
|
+
import B from "./index217.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index219.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 "./index226.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 "./index226.js";
|
3
3
|
import { isNil as B } from "./index251.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
package/dist/index71.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as u, ref as c, computed as f, openBlock as h, createBlock as b, withCtx as o, renderSlot as a, normalizeProps as v, guardReactiveProps as y, createVNode as w, mergeProps as g } from "vue";
|
2
2
|
import B from "./index23.js";
|
3
3
|
/* empty css */
|
4
|
-
import
|
4
|
+
import $ from "./index27.js";
|
5
5
|
/* empty css */
|
6
|
-
const E = /* @__PURE__ */
|
6
|
+
const E = /* @__PURE__ */ u({
|
7
7
|
__name: "BbDatePickerInput",
|
8
8
|
props: {
|
9
9
|
allowWriting: { type: [Boolean, String], default: !0 },
|
@@ -37,19 +37,19 @@ const E = /* @__PURE__ */ m({
|
|
37
37
|
width: {}
|
38
38
|
},
|
39
39
|
emits: ["active", "error", "focus", "inactive", "update:modelValue"],
|
40
|
-
setup(i, { emit:
|
41
|
-
const
|
42
|
-
onError: (e) =>
|
43
|
-
onFocus: (e) =>
|
40
|
+
setup(i, { emit: p }) {
|
41
|
+
const s = i, r = p, l = c(!1), t = f(() => s.persistentHint || l.value), d = {
|
42
|
+
onError: (e) => r("error", e),
|
43
|
+
onFocus: (e) => r("focus", e),
|
44
44
|
onActive: () => {
|
45
|
-
|
45
|
+
l.value = !0, r("active");
|
46
46
|
},
|
47
47
|
onInactive: () => {
|
48
|
-
|
48
|
+
l.value = !1, r("inactive");
|
49
49
|
},
|
50
|
-
"onUpdate:modelValue": (e) =>
|
50
|
+
"onUpdate:modelValue": (e) => r("update:modelValue", e)
|
51
51
|
};
|
52
|
-
return (e,
|
52
|
+
return (e, k) => (h(), b($, {
|
53
53
|
id: e.id,
|
54
54
|
class: "bb-date-picker-input",
|
55
55
|
compact: e.compact,
|
@@ -63,14 +63,14 @@ const E = /* @__PURE__ */ m({
|
|
63
63
|
"model-value": e.modelValue,
|
64
64
|
name: e.name,
|
65
65
|
reverse: e.reverse,
|
66
|
-
"show-hint":
|
66
|
+
"show-hint": t.value
|
67
67
|
}, {
|
68
|
-
label:
|
69
|
-
|
68
|
+
label: o((n) => [
|
69
|
+
a(e.$slots, "label", v(y(n)))
|
70
70
|
]),
|
71
|
-
input:
|
71
|
+
input: o(({ id: n, hasErrors: m }) => [
|
72
72
|
w(B, g({
|
73
|
-
id:
|
73
|
+
id: n,
|
74
74
|
"allow-writing": e.allowWriting,
|
75
75
|
"append:icon": e.$props["append:icon"],
|
76
76
|
autocomplete: e.autocomplete,
|
@@ -78,7 +78,7 @@ const E = /* @__PURE__ */ m({
|
|
78
78
|
compact: e.compact,
|
79
79
|
disabled: e.disabled,
|
80
80
|
"first-day-of-week": e.firstDayOfWeek,
|
81
|
-
"has-errors":
|
81
|
+
"has-errors": m,
|
82
82
|
loading: e.loading,
|
83
83
|
max: e.max,
|
84
84
|
min: e.min,
|
@@ -91,7 +91,27 @@ const E = /* @__PURE__ */ m({
|
|
91
91
|
required: e.required,
|
92
92
|
selectable: e.selectable,
|
93
93
|
width: e.width
|
94
|
-
},
|
94
|
+
}, d), {
|
95
|
+
"prepend-outer": o(() => [
|
96
|
+
a(e.$slots, "prepend-outer")
|
97
|
+
]),
|
98
|
+
prepend: o(() => [
|
99
|
+
a(e.$slots, "prepend")
|
100
|
+
]),
|
101
|
+
prefix: o(() => [
|
102
|
+
a(e.$slots, "prefix")
|
103
|
+
]),
|
104
|
+
suffix: o(() => [
|
105
|
+
a(e.$slots, "suffix")
|
106
|
+
]),
|
107
|
+
append: o(() => [
|
108
|
+
a(e.$slots, "append")
|
109
|
+
]),
|
110
|
+
"append-outer": o(() => [
|
111
|
+
a(e.$slots, "append-outer")
|
112
|
+
]),
|
113
|
+
_: 2
|
114
|
+
}, 1040, ["id", "allow-writing", "append:icon", "autocomplete", "autofocus", "compact", "disabled", "first-day-of-week", "has-errors", "loading", "max", "min", "model-value", "name", "placeholder", "prepend:icon", "range", "readonly", "required", "selectable", "width"])
|
95
115
|
]),
|
96
116
|
_: 3
|
97
117
|
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
package/dist/index75.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as X, computed as A, ref as y, openBlock as
|
1
|
+
import { defineComponent as X, computed as A, ref as y, openBlock as $, createElementBlock as T, mergeProps as B, createElementVNode as H, renderSlot as w, normalizeProps as Y, guardReactiveProps as Z, unref as h, createVNode as C, withCtx as O, normalizeStyle as x, Fragment as K, renderList as ee, createBlock as P, createCommentVNode as N, toDisplayString as te } from "vue";
|
2
2
|
import { findRightIndex as I } from "./index254.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index130.js";
|
@@ -140,10 +140,10 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
140
140
|
}, J = A(() => ({
|
141
141
|
class: {
|
142
142
|
"bb-dropdown--block": r.block,
|
143
|
-
[`bb-dropdown
|
143
|
+
[`bb-dropdown--${r.theme}`]: r.theme
|
144
144
|
}
|
145
145
|
}));
|
146
|
-
return (e, o) => (
|
146
|
+
return (e, o) => ($(), T("span", B({ class: "bb-dropdown" }, J.value), [
|
147
147
|
H("span", {
|
148
148
|
ref_key: "wrapper",
|
149
149
|
ref: v,
|
@@ -152,8 +152,8 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
152
152
|
w(e.$slots, "activator", Y(Z({
|
153
153
|
props: {
|
154
154
|
"aria-expanded": l.value,
|
155
|
-
"aria-controls": `menu_${
|
156
|
-
id:
|
155
|
+
"aria-controls": `menu_${h(u)}`,
|
156
|
+
id: h(u),
|
157
157
|
onClick: R,
|
158
158
|
onKeydown: U,
|
159
159
|
disabled: e.disabled
|
@@ -170,8 +170,8 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
170
170
|
"arrow-padding": e.arrowPadding,
|
171
171
|
"base-class": "bb-dropdown",
|
172
172
|
"container-attributes": {
|
173
|
-
id: `menu_${
|
174
|
-
"aria-labelledby":
|
173
|
+
id: `menu_${h(u)}`,
|
174
|
+
"aria-labelledby": h(u),
|
175
175
|
"aria-role": "menu"
|
176
176
|
},
|
177
177
|
eager: e.eager,
|
@@ -198,7 +198,7 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
198
198
|
opening: c.value,
|
199
199
|
placement: e.placement
|
200
200
|
}),
|
201
|
-
(
|
201
|
+
($(!0), T(K, null, ee(m.value, (t, n) => ($(), T(K, {
|
202
202
|
key: t.key
|
203
203
|
}, [
|
204
204
|
w(e.$slots, "item:prepend", {
|
@@ -244,13 +244,13 @@ const ie = { class: "item__content" }, ke = /* @__PURE__ */ X({
|
|
244
244
|
placement: e.placement,
|
245
245
|
text: t.text
|
246
246
|
}, () => [
|
247
|
-
t["prepend:icon"] ? (
|
247
|
+
t["prepend:icon"] ? ($(), P(j, {
|
248
248
|
key: 0,
|
249
249
|
class: "item__prepend-icon",
|
250
250
|
type: t["prepend:icon"]
|
251
251
|
}, null, 8, ["type"])) : N("", !0),
|
252
252
|
H("span", ie, te(t.text), 1),
|
253
|
-
t["append:icon"] ? (
|
253
|
+
t["append:icon"] ? ($(), P(j, {
|
254
254
|
key: 1,
|
255
255
|
class: "item__append-icon",
|
256
256
|
type: t["append:icon"]
|
package/dist/index77.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as z, ref as E, computed as
|
1
|
+
import { defineComponent as z, ref as E, computed as w, openBlock as s, createElementBlock as $, normalizeClass as W, createVNode as l, mergeProps as C, withCtx as t, unref as f, createBlock as L, createCommentVNode as g, createElementVNode as u, toDisplayString as P, createSlots as A, renderSlot as a, normalizeProps as d, guardReactiveProps as r, renderList as I } from "vue";
|
2
2
|
import D from "./index13.js";
|
3
3
|
/* empty css */
|
4
4
|
import M from "./index75.js";
|
@@ -34,36 +34,37 @@ const Z = { class: "bb-dropdown-button__content" }, j = {
|
|
34
34
|
"prepend:icon": {}
|
35
35
|
},
|
36
36
|
setup(S) {
|
37
|
-
const n = S,
|
38
|
-
() => n.loading || !!
|
37
|
+
const n = S, m = E(0), b = w(
|
38
|
+
() => n.loading || !!m.value && n.autoLoading
|
39
39
|
), V = (e) => async (...p) => {
|
40
|
-
b.value && n.disabledWhileLoading || (
|
41
|
-
},
|
40
|
+
b.value && n.disabledWhileLoading || (m.value++, await e(...p), m.value--);
|
41
|
+
}, h = w(
|
42
42
|
() => n.items.map((e) => e.onClick ? {
|
43
43
|
...e,
|
44
44
|
onClick: V(e.onClick)
|
45
45
|
} : e)
|
46
|
-
),
|
47
|
-
const e = { ...
|
46
|
+
), y = w(() => {
|
47
|
+
const e = { ...h.value[0] };
|
48
48
|
return e.disabled = e.disabled || n.disabled, e;
|
49
49
|
});
|
50
50
|
return (e, p) => (s(), $("span", {
|
51
51
|
class: W(["bb-dropdown-button", {
|
52
52
|
"bb-dropdown-button--block": e.block,
|
53
|
-
"bb-dropdown-button--loading": b.value
|
53
|
+
"bb-dropdown-button--loading": b.value,
|
54
|
+
[`bb-dropdown-button--${e.theme}`]: !0
|
54
55
|
}])
|
55
56
|
}, [
|
56
|
-
l(D, C(
|
57
|
+
l(D, C(y.value, { class: "bb-dropdown-button__main-btn" }), {
|
57
58
|
default: t(() => [
|
58
|
-
l(
|
59
|
-
n["prepend:icon"] ? (s(), L(
|
59
|
+
l(f(R), { class: "bb-dropdown-button__spinner" }),
|
60
|
+
n["prepend:icon"] ? (s(), L(f(N), {
|
60
61
|
key: 0,
|
61
62
|
class: "bb-dropdown-button__prepend-icon",
|
62
63
|
type: n["prepend:icon"]
|
63
64
|
}, null, 8, ["type"])) : g("", !0),
|
64
|
-
|
65
|
+
u("span", Z, P(y.value.text), 1),
|
65
66
|
b.value ? (s(), $("span", j, "caricamento")) : g("", !0),
|
66
|
-
n["append:icon"] ? (s(), L(
|
67
|
+
n["append:icon"] ? (s(), L(f(N), {
|
67
68
|
key: 2,
|
68
69
|
class: "bb-dropdown-button__append-icon",
|
69
70
|
type: n["append:icon"]
|
@@ -76,7 +77,7 @@ const Z = { class: "bb-dropdown-button__content" }, j = {
|
|
76
77
|
"arrow-padding": e.arrowPadding,
|
77
78
|
disabled: e.disabled,
|
78
79
|
eager: e.eager,
|
79
|
-
items:
|
80
|
+
items: h.value,
|
80
81
|
offset: e.offset,
|
81
82
|
padding: e.padding,
|
82
83
|
placement: e.placement,
|
@@ -88,13 +89,13 @@ const Z = { class: "bb-dropdown-button__content" }, j = {
|
|
88
89
|
props: o,
|
89
90
|
opening: i,
|
90
91
|
open: c,
|
91
|
-
closed:
|
92
|
+
closed: _,
|
92
93
|
closing: v,
|
93
94
|
disabled: k,
|
94
95
|
placement: B
|
95
96
|
}) => [
|
96
97
|
a(e.$slots, "activator", {
|
97
|
-
closed:
|
98
|
+
closed: _,
|
98
99
|
closing: v,
|
99
100
|
disabled: k,
|
100
101
|
open: c,
|
@@ -104,21 +105,21 @@ const Z = { class: "bb-dropdown-button__content" }, j = {
|
|
104
105
|
}, () => [
|
105
106
|
l(D, C(o, { class: "bb-dropdown-button__dropdown-btn" }), {
|
106
107
|
default: t(() => [
|
107
|
-
|
108
|
+
u("span", q, P(c || i ? "Chiudi" : "Apri") + " il menu", 1),
|
108
109
|
a(e.$slots, "right-btn", {
|
109
|
-
closed:
|
110
|
+
closed: _,
|
110
111
|
closing: v,
|
111
112
|
disabled: k,
|
112
113
|
open: c,
|
113
114
|
opening: i,
|
114
115
|
placement: B
|
115
116
|
}, () => [
|
116
|
-
p[0] || (p[0] =
|
117
|
+
p[0] || (p[0] = u("svg", {
|
117
118
|
class: "bb-dropdown-button__dropdown-chevron",
|
118
119
|
viewBox: "0 0 24 24",
|
119
120
|
xmlns: "http://www.w3.org/2000/svg"
|
120
121
|
}, [
|
121
|
-
|
122
|
+
u("path", {
|
122
123
|
d: "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6l1.41 1.41Z",
|
123
124
|
fill: "currentColor"
|
124
125
|
})
|
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 "./index238.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index84.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as le, ref as l, useAttrs as se, computed as u, getCurrentInstance as ae, nextTick as ne, onBeforeUnmount as O, onMounted as ie, watch as re, openBlock as g, createBlock as ue, withCtx as ce, createElementVNode as s, mergeProps as S, createElementBlock as z, renderSlot as n, createTextVNode as de, toDisplayString as A, createCommentVNode as $ } from "vue";
|
2
|
-
import { useFocusTrap as fe } from "./
|
2
|
+
import { useFocusTrap as fe } from "./index214.js";
|
3
3
|
import { useId as E } from "./index8.js";
|
4
4
|
import { wait as H } from "./index130.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import ve from "./
|
5
|
+
import { useModalsState as b } from "./index239.js";
|
6
|
+
import ve from "./index221.js";
|
7
7
|
import { useMobile as pe } from "./index9.js";
|
8
8
|
const be = ["inert"], me = { class: "bb-offcanvas-close" }, ye = ["aria-label"], Ve = /* @__PURE__ */ le({
|
9
9
|
__name: "BbOffCanvas",
|
package/dist/index86.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as P, computed as _, ref as g, onMounted as A, onBeforeUnmount as E, openBlock as y, createElementBlock as k, normalizeClass as C, createElementVNode as i, createVNode as V, unref as S, withCtx as h, renderSlot as v, 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 "./index264.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import w from "./index13.js";
|
package/dist/index88.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as M, ref as n, computed as v, openBlock as k, createElementBlock as O, mergeProps as F, createElementVNode as p, renderSlot as y, normalizeProps as S, guardReactiveProps as H, createVNode as V, withCtx as C, createBlock as q, createCommentVNode as I, nextTick as W } from "vue";
|
2
|
-
import { useFocusTrap as z } from "./
|
2
|
+
import { useFocusTrap as z } from "./index214.js";
|
3
3
|
import { useId as A } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as R } from "./index132.js";
|
5
|
-
import { waitFor as j } from "./
|
5
|
+
import { waitFor as j } from "./index216.js";
|
6
6
|
import G from "./index13.js";
|
7
7
|
/* empty css */
|
8
8
|
import J from "./index256.js";
|
9
9
|
/* empty css */
|
10
|
-
import { useDebounceFn as K } from "./
|
10
|
+
import { useDebounceFn as K } from "./index205.js";
|
11
11
|
const re = /* @__PURE__ */ M({
|
12
12
|
__name: "BbPopover",
|
13
13
|
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 "./index229.js";
|
3
3
|
import { getAsPercentageBetween as i } from "./index131.js";
|
4
4
|
const _ = /* @__PURE__ */ r({
|
5
5
|
__name: "BbProgress",
|