bitboss-ui 2.0.94 → 2.0.96
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 +1 -1
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +5 -1
- package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +9 -4
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +2 -0
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -0
- 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 +8 -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/BbRows/BbRows.vue.d.ts +1 -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/index100.js +10 -10
- 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 +5 -5
- package/dist/index113.js +12 -9
- package/dist/index115.js +27 -24
- package/dist/index117.js +27 -24
- package/dist/index119.js +1 -1
- package/dist/index121.js +5 -5
- package/dist/index123.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index134.js +2 -2
- package/dist/index15.js +24 -22
- package/dist/index17.js +14 -15
- package/dist/index19.js +57 -51
- package/dist/index208.js +7 -125
- package/dist/index209.js +126 -5
- package/dist/index21.js +77 -72
- package/dist/index210.js +5 -125
- package/dist/index211.js +123 -17
- package/dist/index212.js +18 -15
- package/dist/index213.js +10 -10
- package/dist/index214.js +16 -2
- package/dist/index215.js +2 -2
- package/dist/index216.js +2 -41
- package/dist/index217.js +41 -20
- package/dist/index218.js +20 -6
- package/dist/index219.js +5 -52
- package/dist/index220.js +55 -0
- package/dist/index222.js +12 -4
- package/dist/index223.js +5 -12
- package/dist/index224.js +12 -369
- package/dist/index225.js +369 -3
- package/dist/index226.js +19 -4
- package/dist/index227.js +22 -14
- package/dist/index228.js +3 -27
- package/dist/index229.js +250 -3
- package/dist/index23.js +28 -26
- package/dist/index230.js +50 -6
- package/dist/index231.js +36 -241
- package/dist/index232.js +5 -52
- package/dist/index233.js +47 -31
- package/dist/index234.js +164 -5
- package/dist/index235.js +78 -54
- package/dist/index237.js +3 -84
- package/dist/index238.js +9 -0
- package/dist/index240.js +1 -1
- package/dist/index242.js +4 -3
- package/dist/index243.js +3 -7
- package/dist/index246.js +1 -1
- package/dist/index248.js +1 -1
- package/dist/index25.js +6 -6
- package/dist/index253.js +9 -224
- package/dist/index254.js +23 -281
- package/dist/index255.js +89 -6
- package/dist/index257.js +6 -2
- package/dist/index258.js +16 -2
- package/dist/index259.js +9 -2
- package/dist/index260.js +9 -2
- package/dist/index261.js +8 -126
- package/dist/index262.js +3 -431
- package/dist/index263.js +11 -175
- package/dist/index264.js +9 -3
- package/dist/index265.js +19 -0
- package/dist/index266.js +4 -7
- package/dist/index267.js +281 -22
- package/dist/index268.js +8 -0
- package/dist/index269.js +2 -2
- package/dist/index27.js +9 -7
- package/dist/index270.js +2 -6
- package/dist/index271.js +2 -16
- package/dist/index272.js +2 -9
- package/dist/index273.js +2 -23
- package/dist/index274.js +2 -89
- package/dist/index275.js +4 -0
- package/dist/index276.js +2 -9
- package/dist/index277.js +2 -2
- package/dist/index278.js +2 -2
- package/dist/index279.js +28 -2
- package/dist/index280.js +21 -1
- package/dist/index282.js +7 -2
- package/dist/index283.js +2 -28
- package/dist/index284.js +125 -21
- package/dist/index285.js +433 -0
- package/dist/index286.js +167 -427
- package/dist/index287.js +3 -127
- package/dist/index289.js +22 -3
- package/dist/index29.js +10 -8
- package/dist/index291.js +2 -9
- package/dist/index292.js +4 -9
- package/dist/index293.js +197 -14
- package/dist/index294.js +435 -3
- package/dist/index295.js +127 -8
- package/dist/index296.js +88 -3
- package/dist/index297.js +218 -83
- package/dist/index300.js +23 -21
- package/dist/index302.js +5 -2
- package/dist/index303.js +2 -5
- package/dist/index304.js +3 -5
- package/dist/index305.js +3 -8
- package/dist/index306.js +3 -3
- package/dist/index307.js +58 -3
- package/dist/index308.js +10 -57
- package/dist/index309.js +6 -3
- package/dist/index31.js +4 -4
- package/dist/index310.js +19 -3
- package/dist/index311.js +6 -6
- package/dist/index312.js +32 -18
- package/dist/index313.js +46 -32
- package/dist/index314.js +4 -6
- package/dist/index315.js +7 -10
- package/dist/index316.js +2 -47
- package/dist/index317.js +4 -2
- package/dist/{index319.js → index318.js} +1 -1
- package/dist/index33.js +12 -12
- package/dist/index35.js +33 -33
- package/dist/index37.js +54 -50
- package/dist/index39.js +2 -2
- package/dist/index41.js +1 -1
- package/dist/index43.js +3 -3
- package/dist/index45.js +44 -42
- package/dist/index47.js +31 -29
- package/dist/index49.js +18 -16
- 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/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index82.js +24 -21
- package/dist/index84.js +3 -3
- package/dist/index86.js +1 -1
- package/dist/index88.js +3 -3
- 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/index221.js +0 -15
- package/dist/index236.js +0 -166
- package/dist/index256.js +0 -4
- package/dist/index281.js +0 -4
- package/dist/index288.js +0 -202
- package/dist/index290.js +0 -14
package/dist/index71.js
CHANGED
@@ -10,6 +10,7 @@ const E = /* @__PURE__ */ m({
|
|
10
10
|
"append:icon": {},
|
11
11
|
autocomplete: {},
|
12
12
|
autofocus: {},
|
13
|
+
compact: { type: Boolean },
|
13
14
|
direction: {},
|
14
15
|
disabled: { type: Boolean },
|
15
16
|
errors: {},
|
@@ -37,7 +38,7 @@ const E = /* @__PURE__ */ m({
|
|
37
38
|
},
|
38
39
|
emits: ["active", "error", "focus", "inactive", "update:modelValue"],
|
39
40
|
setup(i, { emit: n }) {
|
40
|
-
const t = i, o = n, a = u(!1), s = c(() => t.persistentHint || a.value),
|
41
|
+
const t = i, o = n, a = u(!1), s = c(() => t.persistentHint || a.value), p = {
|
41
42
|
onError: (e) => o("error", e),
|
42
43
|
onFocus: (e) => o("focus", e),
|
43
44
|
onActive: () => {
|
@@ -51,6 +52,7 @@ const E = /* @__PURE__ */ m({
|
|
51
52
|
return (e, V) => (h(), f(k, {
|
52
53
|
id: e.id,
|
53
54
|
class: "bb-date-picker-input",
|
55
|
+
compact: e.compact,
|
54
56
|
direction: e.direction,
|
55
57
|
errors: e.errors,
|
56
58
|
"has-errors": e.hasErrors,
|
@@ -66,16 +68,17 @@ const E = /* @__PURE__ */ m({
|
|
66
68
|
label: l((r) => [
|
67
69
|
b(e.$slots, "label", v(y(r)))
|
68
70
|
]),
|
69
|
-
input: l(({ id: r, hasErrors:
|
71
|
+
input: l(({ id: r, hasErrors: d }) => [
|
70
72
|
w(B, g({
|
71
73
|
id: r,
|
72
74
|
"allow-writing": e.allowWriting,
|
73
75
|
"append:icon": e.$props["append:icon"],
|
74
76
|
autocomplete: e.autocomplete,
|
75
77
|
autofocus: e.autofocus,
|
78
|
+
compact: e.compact,
|
76
79
|
disabled: e.disabled,
|
77
80
|
"first-day-of-week": e.firstDayOfWeek,
|
78
|
-
"has-errors":
|
81
|
+
"has-errors": d,
|
79
82
|
loading: e.loading,
|
80
83
|
max: e.max,
|
81
84
|
min: e.min,
|
@@ -88,10 +91,10 @@ const E = /* @__PURE__ */ m({
|
|
88
91
|
required: e.required,
|
89
92
|
selectable: e.selectable,
|
90
93
|
width: e.width
|
91
|
-
},
|
94
|
+
}, p), null, 16, ["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"])
|
92
95
|
]),
|
93
96
|
_: 3
|
94
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
97
|
+
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
95
98
|
}
|
96
99
|
});
|
97
100
|
export {
|
package/dist/index75.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as X, computed as A, ref as y, openBlock as h, createElementBlock as T, mergeProps as B, createElementVNode as H, renderSlot as w, normalizeProps as Y, guardReactiveProps as Z, unref as $, 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
|
-
import { findRightIndex as I } from "./
|
2
|
+
import { findRightIndex as I } from "./index253.js";
|
3
3
|
import { useId as ne } from "./index8.js";
|
4
4
|
import { wait as oe } from "./index132.js";
|
5
5
|
import { useIntersectionObserver as ae } from "./index133.js";
|
6
6
|
import le from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import V from "./
|
9
|
-
import se from "./
|
8
|
+
import V from "./index254.js";
|
9
|
+
import se from "./index255.js";
|
10
10
|
/* empty css */
|
11
11
|
import j from "./index127.js";
|
12
12
|
/* empty css */
|
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 "./index258.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("./index257.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 "./index237.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
@@ -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 "./index217.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 "./index238.js";
|
6
|
+
import ve from "./index224.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 "./index259.js";
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import w from "./index13.js";
|
package/dist/index88.js
CHANGED
@@ -1,11 +1,11 @@
|
|
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 "./index217.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 "./index219.js";
|
6
6
|
import G from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import J from "./
|
8
|
+
import J from "./index255.js";
|
9
9
|
/* empty css */
|
10
10
|
import { useDebounceFn as K } from "./index206.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 {
|