bitboss-ui 2.0.95 → 2.0.97
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/BaseCheckbox/BaseCheckbox.vue.d.ts +1 -1
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +3 -3
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +5 -1
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +22 -5
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +2 -0
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +69 -19
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +4 -0
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +5 -1
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +1 -1
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +1 -1
- package/dist/components/BaseRating/BaseRating.vue.d.ts +1 -1
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +7 -0
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +1 -1
- package/dist/components/BaseTag/BaseTag.vue.d.ts +6 -1
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +5 -1
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +5 -1
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +1 -1
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +5 -1
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +5 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -2
- package/dist/components/BbRadio/BbRadio.vue.d.ts +1 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +5 -1
- package/dist/components/BbRating/BbRating.vue.d.ts +5 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -0
- package/dist/components/BbSlider/BbSlider.vue.d.ts +5 -1
- package/dist/components/BbTable/types.d.ts +1 -1
- package/dist/components/BbTag/BbTag.vue.d.ts +5 -1
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +5 -1
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +5 -1
- package/dist/components/ListBox.vue.d.ts +4 -0
- package/dist/components/OptionsContainer.vue.d.ts +2 -2
- package/dist/composables/useBbConfig.d.ts +3 -0
- package/dist/composables/useLocale.d.ts +5 -0
- package/dist/i18n/en.d.ts +8 -0
- package/dist/i18n/index.d.ts +3 -0
- package/dist/i18n/it.d.ts +8 -0
- package/dist/index100.js +4 -4
- package/dist/index101.js +18 -15
- package/dist/index103.js +11 -9
- package/dist/index105.js +10 -10
- package/dist/index107.js +16 -14
- package/dist/index111.js +6 -6
- package/dist/index113.js +12 -9
- package/dist/index115.js +27 -24
- package/dist/index117.js +27 -24
- 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 +1 -1
- package/dist/index134.js +2 -2
- package/dist/index15.js +22 -20
- package/dist/index17.js +15 -16
- package/dist/index19.js +72 -65
- package/dist/index208.js +1 -1
- package/dist/index21.js +84 -72
- package/dist/index210.js +1 -1
- package/dist/index211.js +5 -20
- package/dist/index212.js +16 -4
- package/dist/index213.js +16 -5
- package/dist/index214.js +18 -15
- package/dist/index215.js +16 -13
- package/dist/index216.js +26 -18
- package/dist/index217.js +3 -19
- package/dist/index218.js +2 -27
- package/dist/index219.js +8 -3
- package/dist/index220.js +250 -2
- package/dist/index221.js +50 -6
- package/dist/index222.js +36 -241
- package/dist/index223.js +5 -52
- package/dist/index224.js +47 -31
- package/dist/index225.js +2 -5
- package/dist/index226.js +4 -60
- package/dist/index227.js +2 -2
- package/dist/index228.js +126 -4
- package/dist/index229.js +125 -2
- package/dist/index23.js +28 -26
- package/dist/index230.js +2 -3
- package/dist/index231.js +1 -1
- package/dist/index232.js +20 -6
- package/dist/index233.js +6 -7
- package/dist/index234.js +5 -12
- package/dist/index235.js +12 -164
- package/dist/index236.js +368 -83
- package/dist/index237.js +166 -0
- package/dist/index238.js +83 -125
- package/dist/index240.js +8 -2
- package/dist/index241.js +3 -5
- package/dist/index242.js +7 -369
- package/dist/index243.js +1 -1
- package/dist/index244.js +4 -2
- package/dist/index245.js +1 -1
- package/dist/index247.js +1 -1
- package/dist/index249.js +2 -2
- package/dist/index25.js +5 -5
- package/dist/index250.js +2 -18
- package/dist/index251.js +17 -9
- package/dist/index252.js +9 -2
- package/dist/index253.js +2 -8
- package/dist/index254.js +3 -23
- package/dist/index256.js +9 -0
- package/dist/index257.js +4 -9
- package/dist/index258.js +281 -6
- package/dist/index259.js +6 -16
- package/dist/index260.js +2 -3
- package/dist/index261.js +4 -0
- package/dist/index262.js +2 -7
- package/dist/index263.js +2 -176
- package/dist/index264.js +2 -281
- package/dist/index265.js +2 -6
- package/dist/index266.js +2 -2
- package/dist/index267.js +2 -2
- package/dist/index268.js +2 -2
- package/dist/index269.js +2 -2
- package/dist/index27.js +8 -6
- package/dist/index270.js +28 -2
- package/dist/index271.js +22 -2
- package/dist/index273.js +89 -2
- package/dist/index275.js +9 -2
- package/dist/index276.js +6 -28
- package/dist/index277.js +15 -21
- package/dist/index278.js +11 -0
- package/dist/index279.js +23 -4
- package/dist/index280.js +3 -431
- package/dist/index281.js +12 -2
- package/dist/index282.js +7 -87
- package/dist/index283.js +9 -3
- package/dist/index284.js +17 -12
- package/dist/index285.js +3 -8
- package/dist/index286.js +7 -9
- package/dist/index287.js +11 -17
- package/dist/index288.js +2 -4
- package/dist/index289.js +122 -196
- package/dist/index29.js +8 -6
- package/dist/index290.js +431 -2
- package/dist/index291.js +171 -121
- package/dist/index294.js +2 -8
- package/dist/index295.js +83 -218
- package/dist/index296.js +219 -431
- package/dist/index297.js +8 -127
- package/dist/index298.js +200 -3
- package/dist/index299.js +436 -3
- package/dist/index300.js +126 -210
- package/dist/index301.js +1 -1
- package/dist/index302.js +2 -32
- package/dist/index303.js +2 -5
- package/dist/index304.js +5 -8
- package/dist/index305.js +66 -3
- package/dist/index306.js +213 -3
- package/dist/index307.js +32 -57
- package/dist/index308.js +5 -2
- package/dist/index309.js +7 -6
- package/dist/index31.js +6 -6
- package/dist/index310.js +2 -65
- package/dist/index311.js +4 -5
- package/dist/index312.js +3 -7
- package/dist/index313.js +3 -19
- package/dist/index314.js +57 -10
- package/dist/index315.js +6 -3
- package/dist/index316.js +6 -46
- package/dist/index317.js +19 -480
- package/dist/index318.js +10 -0
- package/dist/index319.js +8 -2
- package/dist/index320.js +43 -420
- package/dist/index321.js +2 -47
- package/dist/index322.js +480 -2
- package/dist/index324.js +426 -0
- package/dist/index325.js +49 -0
- package/dist/index326.js +4 -0
- package/dist/index33.js +12 -12
- package/dist/index35.js +35 -35
- package/dist/index37.js +54 -50
- package/dist/index39.js +4 -4
- package/dist/index4.js +5 -4
- package/dist/index41.js +3 -3
- package/dist/index43.js +3 -3
- package/dist/index45.js +42 -40
- package/dist/index47.js +29 -27
- package/dist/index49.js +16 -14
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index61.js +2 -2
- package/dist/index63.js +9 -9
- package/dist/index65.js +11 -9
- package/dist/index67.js +24 -21
- package/dist/index71.js +8 -5
- package/dist/index75.js +3 -3
- package/dist/index77.js +36 -34
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index82.js +24 -21
- package/dist/index84.js +2 -2
- package/dist/index86.js +1 -1
- package/dist/index88.js +2 -2
- package/dist/index92.js +6 -6
- package/dist/index94.js +11 -9
- package/dist/index96.js +13 -11
- package/dist/style.css +1 -1
- package/dist/types/CommonProps.d.ts +1 -1
- package/package.json +2 -2
- package/dist/index239.js +0 -127
- package/dist/index255.js +0 -91
- package/dist/index272.js +0 -4
- package/dist/index274.js +0 -4
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 f, openBlock as s, createElementBlock as $, normalizeClass as W, createVNode as l, mergeProps as C, withCtx as t, unref as w, createBlock as L, createCommentVNode as g, createElementVNode as m, 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,38 +34,40 @@ 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, u = E(0), b = f(
|
38
|
+
() => n.loading || !!u.value && n.autoLoading
|
39
39
|
), V = (e) => async (...p) => {
|
40
|
-
|
41
|
-
},
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
40
|
+
b.value && n.disabledWhileLoading || (u.value++, await e(...p), u.value--);
|
41
|
+
}, y = f(
|
42
|
+
() => n.items.map((e) => e.onClick ? {
|
43
|
+
...e,
|
44
|
+
onClick: V(e.onClick)
|
45
|
+
} : e)
|
46
|
+
), _ = f(() => {
|
47
|
+
const e = { ...y.value[0] };
|
46
48
|
return e.disabled = e.disabled || n.disabled, e;
|
47
49
|
});
|
48
50
|
return (e, p) => (s(), $("span", {
|
49
51
|
class: W(["bb-dropdown-button", {
|
50
52
|
"bb-dropdown-button--block": e.block,
|
51
|
-
"bb-dropdown-button--loading":
|
53
|
+
"bb-dropdown-button--loading": b.value
|
52
54
|
}])
|
53
55
|
}, [
|
54
|
-
l(D, C(
|
56
|
+
l(D, C(_.value, { class: "bb-dropdown-button__main-btn" }), {
|
55
57
|
default: t(() => [
|
56
|
-
l(
|
57
|
-
n["prepend:icon"] ? (s(), L(
|
58
|
+
l(w(R), { class: "bb-dropdown-button__spinner" }),
|
59
|
+
n["prepend:icon"] ? (s(), L(w(N), {
|
58
60
|
key: 0,
|
59
61
|
class: "bb-dropdown-button__prepend-icon",
|
60
62
|
type: n["prepend:icon"]
|
61
|
-
}, null, 8, ["type"])) :
|
62
|
-
|
63
|
-
|
64
|
-
n["append:icon"] ? (s(), L(
|
63
|
+
}, null, 8, ["type"])) : g("", !0),
|
64
|
+
m("span", Z, P(_.value.text), 1),
|
65
|
+
b.value ? (s(), $("span", j, "caricamento")) : g("", !0),
|
66
|
+
n["append:icon"] ? (s(), L(w(N), {
|
65
67
|
key: 2,
|
66
68
|
class: "bb-dropdown-button__append-icon",
|
67
69
|
type: n["append:icon"]
|
68
|
-
}, null, 8, ["type"])) :
|
70
|
+
}, null, 8, ["type"])) : g("", !0)
|
69
71
|
]),
|
70
72
|
_: 1
|
71
73
|
}, 16),
|
@@ -74,7 +76,7 @@ const Z = { class: "bb-dropdown-button__content" }, j = {
|
|
74
76
|
"arrow-padding": e.arrowPadding,
|
75
77
|
disabled: e.disabled,
|
76
78
|
eager: e.eager,
|
77
|
-
items:
|
79
|
+
items: y.value,
|
78
80
|
offset: e.offset,
|
79
81
|
padding: e.padding,
|
80
82
|
placement: e.placement,
|
@@ -85,38 +87,38 @@ const Z = { class: "bb-dropdown-button__content" }, j = {
|
|
85
87
|
activator: t(({
|
86
88
|
props: o,
|
87
89
|
opening: i,
|
88
|
-
open:
|
89
|
-
closed:
|
90
|
-
closing:
|
90
|
+
open: c,
|
91
|
+
closed: h,
|
92
|
+
closing: v,
|
91
93
|
disabled: k,
|
92
|
-
placement:
|
94
|
+
placement: B
|
93
95
|
}) => [
|
94
96
|
a(e.$slots, "activator", {
|
95
|
-
closed:
|
96
|
-
closing:
|
97
|
+
closed: h,
|
98
|
+
closing: v,
|
97
99
|
disabled: k,
|
98
|
-
open:
|
100
|
+
open: c,
|
99
101
|
opening: i,
|
100
|
-
placement:
|
102
|
+
placement: B,
|
101
103
|
props: o
|
102
104
|
}, () => [
|
103
105
|
l(D, C(o, { class: "bb-dropdown-button__dropdown-btn" }), {
|
104
106
|
default: t(() => [
|
105
|
-
|
107
|
+
m("span", q, P(c || i ? "Chiudi" : "Apri") + " il menu", 1),
|
106
108
|
a(e.$slots, "right-btn", {
|
107
|
-
closed:
|
108
|
-
closing:
|
109
|
+
closed: h,
|
110
|
+
closing: v,
|
109
111
|
disabled: k,
|
110
|
-
open:
|
112
|
+
open: c,
|
111
113
|
opening: i,
|
112
|
-
placement:
|
114
|
+
placement: B
|
113
115
|
}, () => [
|
114
|
-
p[0] || (p[0] =
|
116
|
+
p[0] || (p[0] = m("svg", {
|
115
117
|
class: "bb-dropdown-button__dropdown-chevron",
|
116
118
|
viewBox: "0 0 24 24",
|
117
119
|
xmlns: "http://www.w3.org/2000/svg"
|
118
120
|
}, [
|
119
|
-
|
121
|
+
m("path", {
|
120
122
|
d: "M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6l1.41 1.41Z",
|
121
123
|
fill: "currentColor"
|
122
124
|
})
|
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 "./index277.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("./index276.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 "./index241.js";
|
3
3
|
const M = /* @__PURE__ */ h({
|
4
4
|
__name: "BbIntersection",
|
5
5
|
props: {
|
package/dist/index82.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as B, ref as
|
1
|
+
import { defineComponent as B, ref as u, computed as w, openBlock as g, createBlock as k, withCtx as n, renderSlot as r, normalizeProps as s, guardReactiveProps as l, createVNode as $, mergeProps as V } from "vue";
|
2
2
|
import P from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import q from "./index29.js";
|
@@ -9,6 +9,7 @@ const D = /* @__PURE__ */ B({
|
|
9
9
|
"append:icon": {},
|
10
10
|
autocomplete: {},
|
11
11
|
autofocus: {},
|
12
|
+
compact: { type: Boolean },
|
12
13
|
direction: {},
|
13
14
|
disabled: { type: Boolean },
|
14
15
|
errors: {},
|
@@ -26,14 +27,14 @@ const D = /* @__PURE__ */ B({
|
|
26
27
|
persistentHint: { type: Boolean },
|
27
28
|
placeholder: {},
|
28
29
|
"prepend:icon": {},
|
29
|
-
readonly: {},
|
30
|
+
readonly: { type: Boolean },
|
30
31
|
required: { type: Boolean },
|
31
32
|
reverse: { type: Boolean },
|
32
33
|
step: {}
|
33
34
|
},
|
34
35
|
emits: ["blur", "change", "click", "decrease", "focus", "increase", "input", "keydown", "keyup", "mousedown", "mouseup", "update:modelValue"],
|
35
36
|
setup(m, { expose: c, emit: b }) {
|
36
|
-
const i = m, o = b, p =
|
37
|
+
const i = m, o = b, p = u(), d = u(!1), h = w(() => i.persistentHint || d.value), f = {
|
37
38
|
onBlur: (e) => {
|
38
39
|
d.value = !1, o("blur", e);
|
39
40
|
},
|
@@ -62,6 +63,7 @@ const D = /* @__PURE__ */ B({
|
|
62
63
|
}), (e, I) => (g(), k(P, {
|
63
64
|
id: e.id,
|
64
65
|
class: "bb-number-input",
|
66
|
+
compact: e.compact,
|
65
67
|
direction: e.direction,
|
66
68
|
errors: e.errors,
|
67
69
|
"has-errors": e.hasErrors,
|
@@ -74,18 +76,19 @@ const D = /* @__PURE__ */ B({
|
|
74
76
|
reverse: e.reverse,
|
75
77
|
"show-hint": h.value
|
76
78
|
}, {
|
77
|
-
label:
|
78
|
-
|
79
|
+
label: n((t) => [
|
80
|
+
r(e.$slots, "label", s(l(t)))
|
79
81
|
]),
|
80
|
-
input:
|
82
|
+
input: n(({ id: t, hasErrors: y, ariaDescribedby: v }) => [
|
81
83
|
$(q, V({
|
82
|
-
id:
|
84
|
+
id: t,
|
83
85
|
ref_key: "bni",
|
84
86
|
ref: p,
|
85
87
|
"append:icon": i["append:icon"],
|
86
88
|
"aria-describedby": v,
|
87
89
|
autocomplete: e.autocomplete,
|
88
90
|
autofocus: e.autofocus,
|
91
|
+
compact: e.compact,
|
89
92
|
disabled: e.disabled,
|
90
93
|
"has-errors": y,
|
91
94
|
loading: e.loading,
|
@@ -99,29 +102,29 @@ const D = /* @__PURE__ */ B({
|
|
99
102
|
required: e.required,
|
100
103
|
step: e.step
|
101
104
|
}, f), {
|
102
|
-
"append-outer":
|
103
|
-
|
105
|
+
"append-outer": n((a) => [
|
106
|
+
r(e.$slots, "append-outer", s(l(a)))
|
104
107
|
]),
|
105
|
-
append:
|
106
|
-
|
108
|
+
append: n((a) => [
|
109
|
+
r(e.$slots, "append", s(l(a)))
|
107
110
|
]),
|
108
|
-
prefix:
|
109
|
-
|
111
|
+
prefix: n((a) => [
|
112
|
+
r(e.$slots, "prefix", s(l(a)))
|
110
113
|
]),
|
111
|
-
prepend:
|
112
|
-
|
114
|
+
prepend: n((a) => [
|
115
|
+
r(e.$slots, "prepend", s(l(a)))
|
113
116
|
]),
|
114
|
-
suffix:
|
115
|
-
|
117
|
+
suffix: n((a) => [
|
118
|
+
r(e.$slots, "suffix", s(l(a)))
|
116
119
|
]),
|
117
|
-
"prepend-outer":
|
118
|
-
|
120
|
+
"prepend-outer": n((a) => [
|
121
|
+
r(e.$slots, "prepend-outer", s(l(a)))
|
119
122
|
]),
|
120
123
|
_: 2
|
121
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "disabled", "has-errors", "loading", "max", "min", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "step"])
|
124
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "compact", "disabled", "has-errors", "loading", "max", "min", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "step"])
|
122
125
|
]),
|
123
126
|
_: 3
|
124
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
127
|
+
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
125
128
|
}
|
126
129
|
});
|
127
130
|
export {
|
package/dist/index84.js
CHANGED
@@ -2,8 +2,8 @@ import { defineComponent as le, ref as l, useAttrs as se, computed as u, getCurr
|
|
2
2
|
import { useFocusTrap as fe } from "./index231.js";
|
3
3
|
import { useId as E } from "./index8.js";
|
4
4
|
import { wait as H } from "./index132.js";
|
5
|
-
import { useModalsState as b } from "./
|
6
|
-
import ve from "./
|
5
|
+
import { useModalsState as b } from "./index242.js";
|
6
|
+
import ve from "./index235.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 "./index275.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import w from "./index13.js";
|
package/dist/index88.js
CHANGED
@@ -2,10 +2,10 @@ import { defineComponent as M, ref as n, computed as v, openBlock as k, createEl
|
|
2
2
|
import { useFocusTrap as z } from "./index231.js";
|
3
3
|
import { useId as A } from "./index8.js";
|
4
4
|
import { useIntersectionObserver as R } from "./index133.js";
|
5
|
-
import { waitFor as j } from "./
|
5
|
+
import { waitFor as j } from "./index233.js";
|
6
6
|
import G from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import J from "./
|
8
|
+
import J from "./index273.js";
|
9
9
|
/* empty css */
|
10
10
|
import { useDebounceFn as K } from "./index207.js";
|
11
11
|
const re = /* @__PURE__ */ M({
|
package/dist/index92.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as f, ref as v, computed as y, openBlock as k, createBlock as
|
1
|
+
import { defineComponent as f, ref as v, computed as y, openBlock as k, createBlock as B, withCtx as l, renderSlot as n, normalizeProps as w, guardReactiveProps as g, createVNode as P, mergeProps as i } from "vue";
|
2
2
|
import V from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import q from "./index31.js";
|
@@ -22,7 +22,7 @@ const R = /* @__PURE__ */ f({
|
|
22
22
|
modelValue: {},
|
23
23
|
name: {},
|
24
24
|
persistentHint: { type: Boolean },
|
25
|
-
readonly: {},
|
25
|
+
readonly: { type: Boolean },
|
26
26
|
required: { type: Boolean },
|
27
27
|
reverse: { type: Boolean, default: !0 },
|
28
28
|
value: {}
|
@@ -44,7 +44,7 @@ const R = /* @__PURE__ */ f({
|
|
44
44
|
onMouseup: (e) => o("mouseup", e),
|
45
45
|
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
46
46
|
};
|
47
|
-
return (e, C) => (k(),
|
47
|
+
return (e, C) => (k(), B(V, {
|
48
48
|
id: e.id,
|
49
49
|
class: "bb-radio",
|
50
50
|
direction: e.direction,
|
@@ -62,10 +62,10 @@ const R = /* @__PURE__ */ f({
|
|
62
62
|
tag: "label"
|
63
63
|
}, {
|
64
64
|
label: l((a) => [
|
65
|
-
|
65
|
+
n(e.$slots, "label", w(g(a)))
|
66
66
|
]),
|
67
67
|
input: l(({ id: a, name: m, hasErrors: c, ariaDescribedby: b }) => [
|
68
|
-
P(q,
|
68
|
+
P(q, i({
|
69
69
|
id: a,
|
70
70
|
"aria-describedby": b,
|
71
71
|
autofocus: e.autofocus,
|
@@ -80,7 +80,7 @@ const R = /* @__PURE__ */ f({
|
|
80
80
|
value: e.value
|
81
81
|
}, p), {
|
82
82
|
icon: l((h) => [
|
83
|
-
|
83
|
+
n(e.$slots, "icon", i(h, { text: e.label }))
|
84
84
|
]),
|
85
85
|
_: 2
|
86
86
|
}, 1040, ["id", "aria-describedby", "autofocus", "checked", "color", "disabled", "has-errors", "model-value", "name", "readonly", "required", "value"])
|
package/dist/index94.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as v, ref as
|
1
|
+
import { defineComponent as v, ref as y, computed as g, openBlock as B, createBlock as $, withCtx as a, renderSlot as i, normalizeProps as r, guardReactiveProps as l, createVNode as w, mergeProps as T } from "vue";
|
2
2
|
import V from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import D from "./index33.js";
|
@@ -8,6 +8,7 @@ const E = /* @__PURE__ */ v({
|
|
8
8
|
props: {
|
9
9
|
autofocus: {},
|
10
10
|
color: {},
|
11
|
+
compact: { type: Boolean },
|
11
12
|
dependencies: {},
|
12
13
|
depsDebounceTime: {},
|
13
14
|
disabled: { type: Boolean },
|
@@ -29,13 +30,13 @@ const E = /* @__PURE__ */ v({
|
|
29
30
|
name: {},
|
30
31
|
noDataText: {},
|
31
32
|
persistentHint: { type: Boolean },
|
32
|
-
readonly: {},
|
33
|
+
readonly: { type: Boolean },
|
33
34
|
required: { type: Boolean },
|
34
35
|
reverse: { type: Boolean }
|
35
36
|
},
|
36
37
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
37
|
-
setup(
|
38
|
-
const
|
38
|
+
setup(s, { emit: p }) {
|
39
|
+
const u = s, n = p, d = y(!1), m = g(() => u.persistentHint || d.value), c = {
|
39
40
|
onBlur: (e) => n("blur", e),
|
40
41
|
onChange: (e) => n("change", e),
|
41
42
|
onClick: (e) => n("click", e),
|
@@ -54,6 +55,7 @@ const E = /* @__PURE__ */ v({
|
|
54
55
|
return (e, k) => (B(), $(V, {
|
55
56
|
id: e.id,
|
56
57
|
class: "bb-radio-group",
|
58
|
+
compact: e.compact,
|
57
59
|
direction: "vertical",
|
58
60
|
errors: e.errors,
|
59
61
|
"has-errors": e.hasErrors,
|
@@ -66,12 +68,12 @@ const E = /* @__PURE__ */ v({
|
|
66
68
|
"show-hint": m.value,
|
67
69
|
tag: "fieldset"
|
68
70
|
}, {
|
69
|
-
label: a((
|
70
|
-
i(e.$slots, "legend", r(l(
|
71
|
+
label: a((t) => [
|
72
|
+
i(e.$slots, "legend", r(l(t)))
|
71
73
|
]),
|
72
|
-
input: a(({ id:
|
74
|
+
input: a(({ id: t, name: b, hasErrors: h, ariaDescribedby: f }) => [
|
73
75
|
w(D, T({
|
74
|
-
id:
|
76
|
+
id: t,
|
75
77
|
"aria-describedby": f,
|
76
78
|
autofocus: e.autofocus,
|
77
79
|
color: e.color,
|
@@ -121,7 +123,7 @@ const E = /* @__PURE__ */ v({
|
|
121
123
|
}, 1040, ["id", "aria-describedby", "autofocus", "color", "dependencies", "deps-debounce-time", "direction", "disabled", "enforce-coherence", "has-errors", "hide-label", "item-text", "item-value", "items", "loading-text", "model-value", "model-value-debounce-time", "name", "no-data-text", "readonly", "required"])
|
122
124
|
]),
|
123
125
|
_: 3
|
124
|
-
}, 8, ["id", "errors", "has-errors", "hide-label", "hint", "label", "name", "reverse", "show-hint"]));
|
126
|
+
}, 8, ["id", "compact", "errors", "has-errors", "hide-label", "hint", "label", "name", "reverse", "show-hint"]));
|
125
127
|
}
|
126
128
|
});
|
127
129
|
export {
|
package/dist/index96.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as f, ref as g, computed as v, openBlock as y, createBlock as
|
1
|
+
import { defineComponent as f, ref as g, computed as v, openBlock as y, createBlock as B, withCtx as s, renderSlot as a, normalizeProps as r, guardReactiveProps as i, createVNode as w, mergeProps as k } from "vue";
|
2
2
|
import P from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import V from "./index35.js";
|
@@ -8,6 +8,7 @@ const I = /* @__PURE__ */ f({
|
|
8
8
|
props: {
|
9
9
|
autofocus: {},
|
10
10
|
color: {},
|
11
|
+
compact: { type: Boolean },
|
11
12
|
disabled: { type: Boolean },
|
12
13
|
errors: {},
|
13
14
|
hasErrors: { type: Boolean },
|
@@ -20,14 +21,14 @@ const I = /* @__PURE__ */ f({
|
|
20
21
|
modelValue: {},
|
21
22
|
name: {},
|
22
23
|
persistentHint: { type: Boolean },
|
23
|
-
readonly: {},
|
24
|
+
readonly: { type: Boolean },
|
24
25
|
reverse: { type: Boolean },
|
25
26
|
stars: {},
|
26
27
|
size: {}
|
27
28
|
},
|
28
29
|
emits: ["blur", "change", "click", "focus", "inactive", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
29
|
-
setup(d, { emit:
|
30
|
-
const
|
30
|
+
setup(d, { emit: p }) {
|
31
|
+
const u = d, o = p, l = g(!1), m = v(() => u.persistentHint || l.value), c = {
|
31
32
|
onBlur: (e) => o("blur", e),
|
32
33
|
onChange: (e) => o("change", e),
|
33
34
|
onClick: (e) => o("click", e),
|
@@ -43,9 +44,10 @@ const I = /* @__PURE__ */ f({
|
|
43
44
|
onMouseup: (e) => o("mouseup", e),
|
44
45
|
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
45
46
|
};
|
46
|
-
return (e, $) => (y(),
|
47
|
+
return (e, $) => (y(), B(P, {
|
47
48
|
id: e.id,
|
48
49
|
class: "bb-rating",
|
50
|
+
compact: e.compact,
|
49
51
|
direction: "vertical",
|
50
52
|
errors: e.errors,
|
51
53
|
"has-errors": e.hasErrors,
|
@@ -61,10 +63,10 @@ const I = /* @__PURE__ */ f({
|
|
61
63
|
tag: "fieldset"
|
62
64
|
}, {
|
63
65
|
label: s((t) => [
|
64
|
-
|
66
|
+
a(e.$slots, "legend", r(i(t)))
|
65
67
|
]),
|
66
68
|
input: s(({ id: t, hasErrors: h, ariaDescribedby: b }) => [
|
67
|
-
|
69
|
+
w(V, k({
|
68
70
|
id: t,
|
69
71
|
"aria-describedby": b,
|
70
72
|
autofocus: e.autofocus,
|
@@ -78,19 +80,19 @@ const I = /* @__PURE__ */ f({
|
|
78
80
|
stars: e.stars
|
79
81
|
}, c), {
|
80
82
|
prepend: s((n) => [
|
81
|
-
|
83
|
+
a(e.$slots, "prepend", r(i(n)))
|
82
84
|
]),
|
83
85
|
append: s((n) => [
|
84
|
-
|
86
|
+
a(e.$slots, "append", r(i(n)))
|
85
87
|
]),
|
86
88
|
icon: s((n) => [
|
87
|
-
|
89
|
+
a(e.$slots, "icon", r(i(n)))
|
88
90
|
]),
|
89
91
|
_: 2
|
90
92
|
}, 1040, ["id", "aria-describedby", "autofocus", "color", "disabled", "has-errors", "model-value", "name", "readonly", "size", "stars"])
|
91
93
|
]),
|
92
94
|
_: 3
|
93
|
-
}, 8, ["id", "errors", "has-errors", "hide-label", "hint", "input-position", "label", "label-position", "name", "reverse", "show-hint"]));
|
95
|
+
}, 8, ["id", "compact", "errors", "has-errors", "hide-label", "hint", "input-position", "label", "label-position", "name", "reverse", "show-hint"]));
|
94
96
|
}
|
95
97
|
});
|
96
98
|
export {
|