bitboss-ui 2.0.95 → 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 +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/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 +7 -7
- 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 +4 -4
- 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/index131.js +1 -1
- package/dist/index133.js +2 -2
- package/dist/index134.js +2 -2
- package/dist/index15.js +24 -22
- package/dist/index17.js +15 -16
- package/dist/index19.js +57 -51
- package/dist/index206.js +81 -2
- package/dist/index207.js +2 -81
- package/dist/index208.js +6 -51
- package/dist/index209.js +128 -0
- package/dist/index21.js +77 -72
- package/dist/index210.js +5 -13
- package/dist/index211.js +124 -19
- package/dist/index212.js +19 -4
- package/dist/index213.js +16 -5
- package/dist/index214.js +10 -10
- package/dist/index215.js +2 -16
- package/dist/index216.js +2 -19
- package/dist/index217.js +40 -18
- package/dist/index218.js +19 -26
- package/dist/index219.js +6 -3
- package/dist/index220.js +53 -2
- package/dist/index222.js +13 -249
- package/dist/index223.js +5 -52
- package/dist/index224.js +10 -42
- package/dist/index225.js +369 -5
- package/dist/index226.js +18 -59
- package/dist/index227.js +27 -2
- package/dist/index228.js +3 -4
- package/dist/index229.js +250 -2
- package/dist/index23.js +28 -26
- package/dist/index230.js +52 -3
- package/dist/index231.js +44 -41
- package/dist/index232.js +5 -6
- package/dist/index233.js +60 -7
- package/dist/index234.js +164 -12
- package/dist/index235.js +84 -164
- package/dist/index237.js +5 -0
- package/dist/index238.js +7 -126
- package/dist/index239.js +2 -125
- package/dist/index240.js +4 -2
- package/dist/index241.js +2 -5
- package/dist/index242.js +3 -368
- package/dist/index243.js +1 -1
- package/dist/index244.js +2 -2
- package/dist/index245.js +17 -105
- package/dist/index246.js +108 -0
- package/dist/{index247.js → index248.js} +1 -1
- package/dist/index25.js +6 -6
- package/dist/index250.js +2 -18
- package/dist/index255.js +4 -4
- package/dist/index257.js +6 -9
- package/dist/index258.js +16 -6
- package/dist/index259.js +9 -16
- package/dist/index260.js +9 -3
- package/dist/index261.js +10 -0
- package/dist/index262.js +3 -7
- package/dist/index263.js +11 -175
- package/dist/index264.js +8 -280
- package/dist/index265.js +17 -6
- package/dist/index266.js +4 -2
- package/dist/index267.js +281 -2
- package/dist/index268.js +6 -2
- package/dist/index269.js +2 -2
- package/dist/index27.js +8 -6
- package/dist/index272.js +2 -2
- package/dist/index273.js +2 -2
- package/dist/index274.js +2 -2
- package/dist/index275.js +1 -1
- package/dist/index276.js +2 -28
- package/dist/index277.js +1 -21
- package/dist/index278.js +4 -0
- package/dist/index279.js +28 -4
- package/dist/index280.js +20 -429
- package/dist/index282.js +6 -88
- package/dist/index283.js +2 -3
- package/dist/index284.js +126 -12
- package/dist/index285.js +429 -7
- package/dist/index286.js +176 -9
- package/dist/index287.js +3 -17
- package/dist/index289.js +21 -199
- package/dist/index29.js +11 -9
- package/dist/index291.js +2 -126
- package/dist/index292.js +4 -22
- package/dist/index293.js +202 -0
- package/dist/index294.js +436 -8
- package/dist/index295.js +121 -218
- package/dist/index296.js +81 -428
- package/dist/index297.js +218 -121
- package/dist/index298.js +1 -1
- package/dist/index299.js +1 -1
- package/dist/index300.js +23 -21
- package/dist/index301.js +65 -2
- package/dist/index302.js +5 -33
- package/dist/index303.js +2 -5
- package/dist/index304.js +3 -8
- package/dist/index308.js +11 -2
- package/dist/index309.js +6 -6
- package/dist/index31.js +6 -6
- package/dist/index310.js +18 -65
- package/dist/index311.js +7 -5
- package/dist/index312.js +32 -6
- package/dist/index313.js +45 -17
- package/dist/index314.js +4 -10
- package/dist/index315.js +7 -3
- package/dist/index316.js +2 -47
- package/dist/index317.js +4 -480
- package/dist/index318.js +482 -0
- package/dist/index33.js +12 -12
- package/dist/index35.js +35 -35
- package/dist/index37.js +58 -54
- package/dist/index39.js +5 -5
- package/dist/index41.js +3 -3
- package/dist/index43.js +3 -3
- package/dist/index45.js +46 -44
- package/dist/index47.js +31 -29
- package/dist/index49.js +18 -16
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- 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/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/index90.js +1 -1
- 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 -10
- package/dist/index236.js +0 -86
- package/dist/index249.js +0 -4
- package/dist/index281.js +0 -4
- package/dist/index288.js +0 -6
- package/dist/index290.js +0 -4
- package/dist/index319.js +0 -4
package/dist/index47.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { defineComponent as w, ref as
|
2
|
-
import v from "./
|
3
|
-
import E from "./
|
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 "./index222.js";
|
3
|
+
import E from "./index220.js";
|
4
4
|
/* empty css */
|
5
5
|
import G from "./index128.js";
|
6
6
|
/* empty css */
|
@@ -12,6 +12,7 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
|
|
12
12
|
autocomplete: {},
|
13
13
|
autoGrow: { type: Boolean },
|
14
14
|
autofocus: {},
|
15
|
+
compact: { type: Boolean },
|
15
16
|
disabled: { type: Boolean },
|
16
17
|
hasErrors: { type: Boolean },
|
17
18
|
id: {},
|
@@ -20,7 +21,7 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
|
|
20
21
|
name: {},
|
21
22
|
placeholder: {},
|
22
23
|
"prepend:icon": {},
|
23
|
-
readonly: {},
|
24
|
+
readonly: { type: Boolean },
|
24
25
|
required: { type: Boolean },
|
25
26
|
rows: {}
|
26
27
|
},
|
@@ -31,28 +32,29 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
|
|
31
32
|
throw new Error(
|
32
33
|
"Textarea: You cannot set rows and auto-grow attributes together. You either use rows and let the user resize or define a minimum height in CSS with auto-grow."
|
33
34
|
);
|
34
|
-
const n =
|
35
|
+
const n = y(null), c = u(() => ({
|
35
36
|
"bb-base-textarea": !0,
|
36
37
|
"bb-base-textarea--auto-grow": o.autoGrow,
|
37
38
|
"bb-base-textarea--disabled": o.disabled,
|
38
39
|
"bb-base-textarea--errors": o.hasErrors,
|
39
40
|
"bb-base-textarea--loading": o.loading,
|
40
|
-
"bb-base-textarea--readonly": o.readonly
|
41
|
+
"bb-base-textarea--readonly": o.readonly,
|
42
|
+
"bb-base-textarea--compact": o.compact
|
41
43
|
})), m = u(
|
42
44
|
() => o.modelValue ? o.modelValue : ""
|
43
45
|
);
|
44
|
-
|
45
|
-
o.autoGrow && o.modelValue &&
|
46
|
-
}),
|
46
|
+
g(() => {
|
47
|
+
o.autoGrow && o.modelValue && l();
|
48
|
+
}), B(
|
47
49
|
() => o.modelValue,
|
48
50
|
() => {
|
49
|
-
o.autoGrow &&
|
51
|
+
o.autoGrow && x(l);
|
50
52
|
}
|
51
53
|
);
|
52
54
|
function b(e) {
|
53
55
|
if (e.stopPropagation(), e.target instanceof HTMLTextAreaElement) {
|
54
|
-
let
|
55
|
-
a("input", e), a("update:modelValue",
|
56
|
+
let s = e.target.value;
|
57
|
+
a("input", e), a("update:modelValue", s || null);
|
56
58
|
}
|
57
59
|
}
|
58
60
|
function f(e) {
|
@@ -66,38 +68,38 @@ const M = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "n
|
|
66
68
|
onMousedown: (e) => a("mousedown", e),
|
67
69
|
onMouseup: (e) => a("mouseup", e)
|
68
70
|
};
|
69
|
-
function
|
71
|
+
function l() {
|
70
72
|
n.value && (n.value.style.height = "0px", n.value.style.height = `${n.value.scrollHeight}px`);
|
71
73
|
}
|
72
|
-
return (e,
|
74
|
+
return (e, s) => (V(), k(v, {
|
73
75
|
class: $(c.value)
|
74
76
|
}, {
|
75
|
-
"prepend-outer":
|
76
|
-
|
77
|
+
"prepend-outer": t(() => [
|
78
|
+
r(e.$slots, "prepend-outer")
|
77
79
|
]),
|
78
|
-
"append-outer":
|
79
|
-
|
80
|
+
"append-outer": t(() => [
|
81
|
+
r(e.$slots, "append-outer")
|
80
82
|
]),
|
81
|
-
default:
|
83
|
+
default: t(() => [
|
82
84
|
i(E, {
|
83
85
|
"append:icon": o["append:icon"],
|
84
86
|
"prepend:icon": o["prepend:icon"]
|
85
87
|
}, {
|
86
|
-
prepend:
|
87
|
-
|
88
|
+
prepend: t(() => [
|
89
|
+
r(e.$slots, "prepend")
|
88
90
|
]),
|
89
|
-
prefix:
|
90
|
-
|
91
|
+
prefix: t(() => [
|
92
|
+
r(e.$slots, "prefix")
|
91
93
|
]),
|
92
|
-
append:
|
93
|
-
|
94
|
+
append: t(() => [
|
95
|
+
r(e.$slots, "append")
|
94
96
|
]),
|
95
|
-
suffix:
|
96
|
-
|
97
|
+
suffix: t(() => [
|
98
|
+
r(e.$slots, "suffix")
|
97
99
|
]),
|
98
|
-
default:
|
100
|
+
default: t(() => [
|
99
101
|
i(G, { tag: "span" }, {
|
100
|
-
default:
|
102
|
+
default: t(() => [
|
101
103
|
C("textarea", T({
|
102
104
|
id: e.id,
|
103
105
|
ref_key: "textarea",
|
package/dist/index49.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { defineComponent as m, computed as
|
2
|
-
import B from "./
|
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 "./index220.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index222.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: {
|
@@ -9,6 +9,7 @@ const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
9
9
|
ariaDescribedby: {},
|
10
10
|
autocomplete: {},
|
11
11
|
autofocus: {},
|
12
|
+
compact: { type: Boolean },
|
12
13
|
disabled: { type: Boolean },
|
13
14
|
hasErrors: { type: Boolean },
|
14
15
|
id: {},
|
@@ -17,18 +18,19 @@ const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
17
18
|
name: {},
|
18
19
|
placeholder: {},
|
19
20
|
"prepend:icon": {},
|
20
|
-
readonly: {},
|
21
|
+
readonly: { type: Boolean },
|
21
22
|
required: { type: Boolean },
|
22
23
|
type: { default: "text" }
|
23
24
|
},
|
24
25
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
25
26
|
setup(s, { emit: d }) {
|
26
|
-
const a = s, o = d, u =
|
27
|
+
const a = s, o = d, u = c(() => ({
|
27
28
|
"bb-base-text-input": !0,
|
28
29
|
"bb-base-text-input--disabled": a.disabled,
|
29
30
|
"bb-base-text-input--errors": a.hasErrors,
|
30
31
|
"bb-base-text-input--loading": a.loading,
|
31
|
-
"bb-base-text-input--readonly": a.readonly
|
32
|
+
"bb-base-text-input--readonly": a.readonly,
|
33
|
+
"bb-base-text-input--compact": a.compact
|
32
34
|
})), i = {
|
33
35
|
onBlur: (e) => o("blur", e),
|
34
36
|
onChange: (e) => o("change", e),
|
@@ -41,32 +43,32 @@ const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
41
43
|
onMousedown: (e) => o("mousedown", e),
|
42
44
|
onMouseup: (e) => o("mouseup", e)
|
43
45
|
};
|
44
|
-
return (e,
|
45
|
-
|
46
|
+
return (e, p) => (b(), f(y, null, [
|
47
|
+
r(k, {
|
46
48
|
class: h(u.value)
|
47
49
|
}, {
|
48
50
|
"prepend-outer": n(() => [
|
49
|
-
|
51
|
+
t(e.$slots, "prepend-outer")
|
50
52
|
]),
|
51
53
|
"append-outer": n(() => [
|
52
|
-
|
54
|
+
t(e.$slots, "append-outer")
|
53
55
|
]),
|
54
56
|
default: n(() => [
|
55
|
-
|
57
|
+
r(B, {
|
56
58
|
"append:icon": a["append:icon"],
|
57
59
|
"prepend:icon": a["prepend:icon"]
|
58
60
|
}, {
|
59
61
|
prepend: n(() => [
|
60
|
-
|
62
|
+
t(e.$slots, "prepend")
|
61
63
|
]),
|
62
64
|
prefix: n(() => [
|
63
|
-
|
65
|
+
t(e.$slots, "prefix")
|
64
66
|
]),
|
65
67
|
append: n(() => [
|
66
|
-
|
68
|
+
t(e.$slots, "append")
|
67
69
|
]),
|
68
70
|
suffix: n(() => [
|
69
|
-
|
71
|
+
t(e.$slots, "suffix")
|
70
72
|
]),
|
71
73
|
default: n(() => [
|
72
74
|
l("input", g({
|
@@ -92,7 +94,7 @@ const w = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
92
94
|
]),
|
93
95
|
_: 3
|
94
96
|
}, 8, ["class"]),
|
95
|
-
|
97
|
+
p[0] || (p[0] = l("span", null, null, -1))
|
96
98
|
], 64));
|
97
99
|
}
|
98
100
|
});
|
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 "./index239.js";
|
3
3
|
import { wait as C } from "./index132.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 "./index239.js";
|
3
3
|
import { isNil as B } from "./index130.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
package/dist/index63.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as c, ref as f, computed as
|
1
|
+
import { defineComponent as c, ref as f, computed as y, openBlock as v, createBlock as k, withCtx as n, renderSlot as r, normalizeProps as B, guardReactiveProps as w, createVNode as V, mergeProps as i } from "vue";
|
2
2
|
import g from "./index17.js";
|
3
3
|
/* empty css */
|
4
4
|
import P from "./index27.js";
|
@@ -24,7 +24,7 @@ const E = /* @__PURE__ */ c({
|
|
24
24
|
modelValue: {},
|
25
25
|
name: {},
|
26
26
|
persistentHint: { type: Boolean },
|
27
|
-
readonly: {},
|
27
|
+
readonly: { type: Boolean },
|
28
28
|
required: { type: Boolean },
|
29
29
|
reverse: { type: Boolean, default: !0 },
|
30
30
|
submitWhenFalse: { type: Boolean },
|
@@ -32,7 +32,7 @@ const E = /* @__PURE__ */ c({
|
|
32
32
|
},
|
33
33
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
34
34
|
setup(s, { emit: t }) {
|
35
|
-
const u = s, o = t, a = f(!1), d =
|
35
|
+
const u = s, o = t, a = f(!1), d = y(() => u.persistentHint || a.value), p = {
|
36
36
|
onBlur: (e) => {
|
37
37
|
a.value = !1, o("blur", e);
|
38
38
|
},
|
@@ -47,7 +47,7 @@ const E = /* @__PURE__ */ c({
|
|
47
47
|
onMouseup: (e) => o("mouseup", e),
|
48
48
|
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
49
49
|
};
|
50
|
-
return (e, C) => (
|
50
|
+
return (e, C) => (v(), k(P, {
|
51
51
|
id: e.id,
|
52
52
|
class: "bb-checkbox",
|
53
53
|
direction: e.direction,
|
@@ -64,10 +64,10 @@ const E = /* @__PURE__ */ c({
|
|
64
64
|
"show-hint": d.value,
|
65
65
|
tag: "label"
|
66
66
|
}, {
|
67
|
-
label:
|
68
|
-
|
67
|
+
label: n((l) => [
|
68
|
+
r(e.$slots, "label", B(w(l)))
|
69
69
|
]),
|
70
|
-
input:
|
70
|
+
input: n(({ id: l, hasErrors: m, ariaDescribedby: b }) => [
|
71
71
|
V(g, i({
|
72
72
|
id: l,
|
73
73
|
"aria-describedby": b,
|
@@ -85,8 +85,8 @@ const E = /* @__PURE__ */ c({
|
|
85
85
|
"submit-when-false": e.submitWhenFalse,
|
86
86
|
"true-value": e.trueValue
|
87
87
|
}, p), {
|
88
|
-
icon:
|
89
|
-
|
88
|
+
icon: n((h) => [
|
89
|
+
r(e.$slots, "icon", i(h, { text: e.label }))
|
90
90
|
]),
|
91
91
|
_: 2
|
92
92
|
}, 1040, ["id", "aria-describedby", "autofocus", "checked", "color", "disabled", "false-value", "has-errors", "indeterminate", "model-value", "name", "readonly", "required", "submit-when-false", "true-value"])
|
package/dist/index65.js
CHANGED
@@ -8,6 +8,7 @@ const E = /* @__PURE__ */ f({
|
|
8
8
|
props: {
|
9
9
|
autofocus: {},
|
10
10
|
color: {},
|
11
|
+
compact: { type: Boolean },
|
11
12
|
dependencies: {},
|
12
13
|
depsDebounceTime: {},
|
13
14
|
disabled: { type: Boolean },
|
@@ -30,12 +31,12 @@ const E = /* @__PURE__ */ f({
|
|
30
31
|
name: {},
|
31
32
|
noDataText: {},
|
32
33
|
persistentHint: { type: Boolean },
|
33
|
-
readonly: {},
|
34
|
+
readonly: { 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(d, { emit: p }) {
|
39
|
+
const m = d, n = p, s = v(!1), u = g(() => m.persistentHint || s.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__ */ f({
|
|
54
55
|
return (e, k) => (y(), B(V, {
|
55
56
|
id: e.id,
|
56
57
|
class: "bb-checkbox-group",
|
58
|
+
compact: e.compact,
|
57
59
|
direction: "vertical",
|
58
60
|
errors: e.errors,
|
59
61
|
"has-errors": e.hasErrors,
|
@@ -63,15 +65,15 @@ const E = /* @__PURE__ */ f({
|
|
63
65
|
"label-tag": "legend",
|
64
66
|
name: e.name,
|
65
67
|
reverse: e.reverse,
|
66
|
-
"show-hint":
|
68
|
+
"show-hint": u.value,
|
67
69
|
tag: "fieldset"
|
68
70
|
}, {
|
69
|
-
label: a((
|
70
|
-
i(e.$slots, "legend", l(r(
|
71
|
+
label: a((t) => [
|
72
|
+
i(e.$slots, "legend", l(r(t)))
|
71
73
|
]),
|
72
|
-
input: a(({ id:
|
74
|
+
input: a(({ id: t, hasErrors: b, ariaDescribedby: h }) => [
|
73
75
|
$(T, w({
|
74
|
-
id:
|
76
|
+
id: t,
|
75
77
|
"aria-describedby": h,
|
76
78
|
autofocus: e.autofocus,
|
77
79
|
color: e.color,
|
@@ -121,7 +123,7 @@ const E = /* @__PURE__ */ f({
|
|
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", "max", "model-value", "model-value-debounce-time", "name", "no-data-text", "readonly"])
|
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/index67.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as c, ref as h, computed as b, openBlock as f, createBlock as y, withCtx as
|
1
|
+
import { defineComponent as c, ref as h, computed as b, openBlock as f, createBlock as y, withCtx as a, renderSlot as n, normalizeProps as v, guardReactiveProps as B, createVNode as w, mergeProps as g } from "vue";
|
2
2
|
import $ from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import k from "./index15.js";
|
@@ -9,6 +9,7 @@ const E = /* @__PURE__ */ c({
|
|
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: {},
|
@@ -24,13 +25,13 @@ const E = /* @__PURE__ */ c({
|
|
24
25
|
persistentHint: { type: Boolean },
|
25
26
|
placeholder: {},
|
26
27
|
"prepend:icon": {},
|
27
|
-
readonly: {},
|
28
|
+
readonly: { type: Boolean },
|
28
29
|
required: { type: Boolean },
|
29
30
|
reverse: { type: Boolean }
|
30
31
|
},
|
31
32
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
32
|
-
setup(
|
33
|
-
const
|
33
|
+
setup(s, { emit: i }) {
|
34
|
+
const r = s, o = i, l = h(!1), d = b(() => r.persistentHint || l.value), t = {
|
34
35
|
onBlur: (e) => {
|
35
36
|
l.value = !1, o("blur", e);
|
36
37
|
},
|
@@ -48,6 +49,7 @@ const E = /* @__PURE__ */ c({
|
|
48
49
|
return (e, V) => (f(), y($, {
|
49
50
|
id: e.id,
|
50
51
|
class: "bb-color-input",
|
52
|
+
compact: e.compact,
|
51
53
|
direction: e.direction,
|
52
54
|
errors: e.errors,
|
53
55
|
"has-errors": e.hasErrors,
|
@@ -58,51 +60,52 @@ const E = /* @__PURE__ */ c({
|
|
58
60
|
"model-value": e.modelValue,
|
59
61
|
name: e.name,
|
60
62
|
reverse: e.reverse,
|
61
|
-
"show-hint":
|
63
|
+
"show-hint": d.value
|
62
64
|
}, {
|
63
|
-
label:
|
64
|
-
n(e.$slots, "label", v(B(
|
65
|
+
label: a((p) => [
|
66
|
+
n(e.$slots, "label", v(B(p)))
|
65
67
|
]),
|
66
|
-
input:
|
68
|
+
input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
|
67
69
|
w(k, g({
|
68
|
-
id:
|
69
|
-
"append:icon":
|
70
|
+
id: p,
|
71
|
+
"append:icon": r["append:icon"],
|
70
72
|
"aria-describedby": m,
|
71
73
|
autocomplete: e.autocomplete,
|
72
74
|
autofocus: e.autofocus,
|
75
|
+
compact: e.compact,
|
73
76
|
disabled: e.disabled,
|
74
|
-
"has-errors":
|
77
|
+
"has-errors": u,
|
75
78
|
loading: e.loading,
|
76
79
|
"model-value": e.modelValue,
|
77
80
|
name: e.name,
|
78
81
|
placeholder: e.placeholder,
|
79
|
-
"prepend:icon":
|
82
|
+
"prepend:icon": r["prepend:icon"],
|
80
83
|
readonly: e.readonly,
|
81
84
|
required: e.required
|
82
|
-
},
|
83
|
-
"append-outer":
|
85
|
+
}, t), {
|
86
|
+
"append-outer": a(() => [
|
84
87
|
n(e.$slots, "append-outer")
|
85
88
|
]),
|
86
|
-
append:
|
89
|
+
append: a(() => [
|
87
90
|
n(e.$slots, "append")
|
88
91
|
]),
|
89
|
-
prefix:
|
92
|
+
prefix: a(() => [
|
90
93
|
n(e.$slots, "prefix")
|
91
94
|
]),
|
92
|
-
suffix:
|
95
|
+
suffix: a(() => [
|
93
96
|
n(e.$slots, "suffix")
|
94
97
|
]),
|
95
|
-
prepend:
|
98
|
+
prepend: a(() => [
|
96
99
|
n(e.$slots, "prepend")
|
97
100
|
]),
|
98
|
-
"prepend-outer":
|
101
|
+
"prepend-outer": a(() => [
|
99
102
|
n(e.$slots, "prepend-outer")
|
100
103
|
]),
|
101
104
|
_: 2
|
102
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required"])
|
105
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required"])
|
103
106
|
]),
|
104
107
|
_: 3
|
105
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
108
|
+
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
106
109
|
}
|
107
110
|
});
|
108
111
|
export {
|
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/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 {
|