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/index103.js
CHANGED
@@ -1,13 +1,14 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as v, ref as y, computed as f, openBlock as B, createBlock as k, withCtx as a, renderSlot as n, normalizeProps as i, guardReactiveProps as l, createVNode as w, mergeProps as $ } from "vue";
|
2
2
|
import g from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import P from "./index39.js";
|
5
5
|
/* empty css */
|
6
|
-
const S = /* @__PURE__ */
|
6
|
+
const S = /* @__PURE__ */ v({
|
7
7
|
__name: "BbSlider",
|
8
8
|
props: {
|
9
9
|
autofocus: {},
|
10
10
|
color: {},
|
11
|
+
compact: { type: Boolean },
|
11
12
|
direction: {},
|
12
13
|
disabled: { type: Boolean },
|
13
14
|
errors: {},
|
@@ -23,7 +24,7 @@ const S = /* @__PURE__ */ c({
|
|
23
24
|
name: {},
|
24
25
|
persistentHint: { type: Boolean },
|
25
26
|
range: { type: Boolean },
|
26
|
-
readonly: {},
|
27
|
+
readonly: { type: Boolean },
|
27
28
|
required: { type: Boolean },
|
28
29
|
reverse: { type: Boolean },
|
29
30
|
step: {},
|
@@ -32,7 +33,7 @@ const S = /* @__PURE__ */ c({
|
|
32
33
|
},
|
33
34
|
emits: ["click", "focus", "active", "inactive", "keydown", "pointerdown", "pointermove", "pointerup", "update:modelValue"],
|
34
35
|
setup(d, { emit: m }) {
|
35
|
-
const p = d, r = m, s =
|
36
|
+
const p = d, r = m, s = y(!1), u = f(() => p.persistentHint || s.value), b = {
|
36
37
|
onActive: () => {
|
37
38
|
s.value = !0, r("active");
|
38
39
|
},
|
@@ -47,9 +48,10 @@ const S = /* @__PURE__ */ c({
|
|
47
48
|
onPointerup: (e) => r("pointerup", e),
|
48
49
|
"onUpdate:modelValue": (e) => r("update:modelValue", e)
|
49
50
|
};
|
50
|
-
return (e, V) => (
|
51
|
+
return (e, V) => (B(), k(g, {
|
51
52
|
id: e.id,
|
52
53
|
class: "bb-slider",
|
54
|
+
compact: e.compact,
|
53
55
|
direction: e.direction,
|
54
56
|
errors: e.errors,
|
55
57
|
"has-errors": e.hasErrors,
|
@@ -65,10 +67,10 @@ const S = /* @__PURE__ */ c({
|
|
65
67
|
label: a((t) => [
|
66
68
|
n(e.$slots, "label", i(l(t)))
|
67
69
|
]),
|
68
|
-
input: a(({ id: t, hasErrors: h, ariaDescribedby:
|
69
|
-
|
70
|
+
input: a(({ id: t, hasErrors: h, ariaDescribedby: c }) => [
|
71
|
+
w(P, $({
|
70
72
|
id: t,
|
71
|
-
"aria-describedby":
|
73
|
+
"aria-describedby": c,
|
72
74
|
autofocus: e.autofocus,
|
73
75
|
color: e.color,
|
74
76
|
disabled: e.disabled,
|
@@ -106,7 +108,7 @@ const S = /* @__PURE__ */ c({
|
|
106
108
|
}, 1040, ["id", "aria-describedby", "autofocus", "color", "disabled", "has-errors", "max", "min", "model-value", "name", "range", "readonly", "required", "step", "thumb-translate", "ticks"])
|
107
109
|
]),
|
108
110
|
_: 3
|
109
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
111
|
+
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
110
112
|
}
|
111
113
|
});
|
112
114
|
export {
|
package/dist/index105.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 w, withCtx as n, renderSlot as r, normalizeProps as B, guardReactiveProps as k, createVNode as V, mergeProps as i } from "vue";
|
2
2
|
import g from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import P from "./index41.js";
|
@@ -24,7 +24,7 @@ const S = /* @__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 S = /* @__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 S = /* @__PURE__ */ c({
|
|
47
47
|
onMouseup: (e) => o("mouseup", e),
|
48
48
|
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
49
49
|
};
|
50
|
-
return (e, q) => (
|
50
|
+
return (e, q) => (v(), w(g, {
|
51
51
|
id: e.id,
|
52
52
|
class: "bb-switch",
|
53
53
|
direction: e.direction,
|
@@ -64,12 +64,12 @@ const S = /* @__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(k(l)))
|
69
69
|
]),
|
70
|
-
input:
|
70
|
+
input: n(({ id: l, hasErrors: m, ariaDescribedby: b }) => [
|
71
71
|
V(P, i({
|
72
|
-
id:
|
72
|
+
id: l,
|
73
73
|
"aria-describedby": b,
|
74
74
|
autofocus: e.autofocus,
|
75
75
|
checked: e.checked,
|
@@ -85,8 +85,8 @@ const S = /* @__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/index107.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as f, ref as v, computed as g, openBlock as y, createBlock as
|
1
|
+
import { defineComponent as f, ref as v, computed as g, openBlock as y, createBlock as B, withCtx as a, renderSlot as i, normalizeProps as l, guardReactiveProps as r, createVNode as w, mergeProps as $ } from "vue";
|
2
2
|
import T from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import V from "./index43.js";
|
@@ -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,20 +31,20 @@ 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, t = v(!1), u = g(() => m.persistentHint || t.value), c = {
|
39
40
|
onBlur: (e) => n("blur", e),
|
40
41
|
onChange: (e) => n("change", e),
|
41
42
|
onClick: (e) => n("click", e),
|
42
43
|
onFocus: (e) => {
|
43
|
-
|
44
|
+
t.value = !0, n("focus", e);
|
44
45
|
},
|
45
46
|
onInactive: () => {
|
46
|
-
|
47
|
+
t.value = !1, n("inactive");
|
47
48
|
},
|
48
49
|
onInput: (e) => n("input", e),
|
49
50
|
onKeydown: (e) => n("keydown", e),
|
@@ -51,9 +52,10 @@ const E = /* @__PURE__ */ f({
|
|
51
52
|
onMouseup: (e) => n("mouseup", e),
|
52
53
|
"onUpdate:modelValue": (e) => n("update:modelValue", e)
|
53
54
|
};
|
54
|
-
return (e, D) => (y(),
|
55
|
+
return (e, D) => (y(), B(T, {
|
55
56
|
id: e.id,
|
56
57
|
class: "bb-switch-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((s) => [
|
72
|
+
i(e.$slots, "legend", l(r(s)))
|
71
73
|
]),
|
72
|
-
input: a(({ id:
|
73
|
-
|
74
|
-
id:
|
74
|
+
input: a(({ id: s, hasErrors: h, ariaDescribedby: b }) => [
|
75
|
+
w(V, $({
|
76
|
+
id: s,
|
75
77
|
"aria-describedby": b,
|
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/index111.js
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
import { defineComponent as re, mergeModels as P, ref as ue, computed as k, toRef as A, useModel as Q, watch as U, reactive as pe, openBlock as n, createBlock as W, resolveDynamicComponent as fe, normalizeClass as r, unref as i, withCtx as me, createElementBlock as d, toDisplayString as u, createCommentVNode as C, createElementVNode as o, renderSlot as p, isRef as ye, Fragment as T, renderList as V, createVNode as G, createTextVNode as he, mergeProps as ke } from "vue";
|
2
|
-
import { add as ve } from "./
|
3
|
-
import { clamp as _e } from "./
|
2
|
+
import { add as ve } from "./index303.js";
|
3
|
+
import { clamp as _e } from "./index207.js";
|
4
4
|
import { isNil as K } from "./index130.js";
|
5
5
|
import { useId as Ce } from "./index8.js";
|
6
|
-
import { useItemValue as ge } from "./
|
7
|
-
import { when as we } from "./
|
6
|
+
import { useItemValue as ge } from "./index260.js";
|
7
|
+
import { when as we } from "./index240.js";
|
8
8
|
import X from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import Te from "./index31.js";
|
11
11
|
/* empty css */
|
12
|
-
import { useOptions as Ve } from "./
|
13
|
-
import { hash as Y } from "./
|
12
|
+
import { useOptions as Ve } from "./index234.js";
|
13
|
+
import { hash as Y } from "./index228.js";
|
14
14
|
const $e = {
|
15
15
|
key: 0,
|
16
16
|
class: "sr-only"
|
@@ -48,7 +48,7 @@ const $e = {
|
|
48
48
|
multiple: { type: Boolean, default: !0 },
|
49
49
|
name: {},
|
50
50
|
noDataText: { default: "Non ci sono elementi da visualizzare" },
|
51
|
-
readonly: {},
|
51
|
+
readonly: { type: Boolean },
|
52
52
|
selectable: { type: [Boolean, Function] },
|
53
53
|
selectAllLabel: { default: "Seleziona tutti gli elementi di questa pagina" },
|
54
54
|
selectText: { default: "Seleziona un elemento" },
|
package/dist/index113.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as f, ref as
|
1
|
+
import { defineComponent as f, ref as y, computed as v, openBlock as B, createBlock as g, withCtx as l, renderSlot as r, normalizeProps as n, guardReactiveProps as i, createVNode as k, mergeProps as $ } from "vue";
|
2
2
|
import w from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import V from "./index45.js";
|
@@ -10,6 +10,7 @@ const I = /* @__PURE__ */ f({
|
|
10
10
|
autocomplete: {},
|
11
11
|
autofocus: {},
|
12
12
|
comma: { type: Boolean },
|
13
|
+
compact: { type: Boolean },
|
13
14
|
direction: {},
|
14
15
|
disabled: { type: Boolean },
|
15
16
|
divider: {},
|
@@ -28,22 +29,22 @@ const I = /* @__PURE__ */ f({
|
|
28
29
|
persistentHint: { type: Boolean },
|
29
30
|
placeholder: {},
|
30
31
|
"prepend:icon": {},
|
31
|
-
readonly: {},
|
32
|
+
readonly: { type: Boolean },
|
32
33
|
required: { type: Boolean },
|
33
34
|
reverse: { type: Boolean }
|
34
35
|
},
|
35
36
|
emits: ["blur", "change", "click", "duplicate", "focus", "inactive", "input", "keydown", "keyup", "update:modelValue"],
|
36
37
|
setup(t, { emit: u }) {
|
37
|
-
const
|
38
|
+
const p = t, a = u, d = y(!1), m = v(() => p.persistentHint || d.value), c = {
|
38
39
|
onBlur: (e) => a("blur", e),
|
39
40
|
onChange: (e) => a("change", e),
|
40
41
|
onClick: (e) => a("click", e),
|
41
42
|
onDuplicate: (e) => a("duplicate", e),
|
42
43
|
onFocus: (e) => {
|
43
|
-
|
44
|
+
d.value = !0, a("focus", e);
|
44
45
|
},
|
45
46
|
onInactive: () => {
|
46
|
-
|
47
|
+
d.value = !1, a("inactive");
|
47
48
|
},
|
48
49
|
onInput: (e) => a("input", e),
|
49
50
|
onKeydown: (e) => a("keydown", e),
|
@@ -53,6 +54,7 @@ const I = /* @__PURE__ */ f({
|
|
53
54
|
return (e, P) => (B(), g(w, {
|
54
55
|
id: e.id,
|
55
56
|
class: "bb-tag",
|
57
|
+
compact: e.compact,
|
56
58
|
direction: e.direction,
|
57
59
|
errors: e.errors,
|
58
60
|
"has-errors": e.hasErrors,
|
@@ -71,11 +73,12 @@ const I = /* @__PURE__ */ f({
|
|
71
73
|
input: l(({ id: s, hasErrors: h, ariaDescribedby: b }) => [
|
72
74
|
k(V, $({
|
73
75
|
id: s,
|
74
|
-
"append:icon":
|
76
|
+
"append:icon": p["append:icon"],
|
75
77
|
"aria-describedby": b,
|
76
78
|
autocomplete: e.autocomplete,
|
77
79
|
autofocus: e.autofocus,
|
78
80
|
comma: e.comma,
|
81
|
+
compact: e.compact,
|
79
82
|
disabled: e.disabled,
|
80
83
|
divider: e.divider,
|
81
84
|
"has-errors": h,
|
@@ -85,7 +88,7 @@ const I = /* @__PURE__ */ f({
|
|
85
88
|
multiple: e.multiple,
|
86
89
|
name: e.name,
|
87
90
|
placeholder: e.placeholder,
|
88
|
-
"prepend:icon":
|
91
|
+
"prepend:icon": p["prepend:icon"],
|
89
92
|
readonly: e.readonly,
|
90
93
|
required: e.required
|
91
94
|
}, c), {
|
@@ -108,10 +111,10 @@ const I = /* @__PURE__ */ f({
|
|
108
111
|
r(e.$slots, "append-outer", n(i(o)))
|
109
112
|
]),
|
110
113
|
_: 2
|
111
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "disabled", "divider", "has-errors", "loading", "max", "model-value", "multiple", "name", "placeholder", "prepend:icon", "readonly", "required"])
|
114
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "compact", "disabled", "divider", "has-errors", "loading", "max", "model-value", "multiple", "name", "placeholder", "prepend:icon", "readonly", "required"])
|
112
115
|
]),
|
113
116
|
_: 3
|
114
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
117
|
+
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
115
118
|
}
|
116
119
|
});
|
117
120
|
export {
|
package/dist/index115.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as f, ref as
|
1
|
+
import { defineComponent as f, ref as y, computed as w, openBlock as v, createBlock as B, withCtx as a, renderSlot as r, normalizeProps as p, guardReactiveProps as d, createVNode as g, mergeProps as $ } from "vue";
|
2
2
|
import k from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import V from "./index47.js";
|
@@ -10,6 +10,7 @@ const G = /* @__PURE__ */ f({
|
|
10
10
|
autocomplete: {},
|
11
11
|
autofocus: {},
|
12
12
|
autoGrow: { type: Boolean },
|
13
|
+
compact: { type: Boolean },
|
13
14
|
direction: {},
|
14
15
|
disabled: { type: Boolean },
|
15
16
|
errors: {},
|
@@ -25,14 +26,14 @@ const G = /* @__PURE__ */ f({
|
|
25
26
|
persistentHint: { type: Boolean },
|
26
27
|
placeholder: {},
|
27
28
|
"prepend:icon": {},
|
28
|
-
readonly: {},
|
29
|
+
readonly: { type: Boolean },
|
29
30
|
required: { type: Boolean },
|
30
31
|
reverse: { type: Boolean },
|
31
32
|
rows: {}
|
32
33
|
},
|
33
34
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
34
|
-
setup(
|
35
|
-
const n =
|
35
|
+
setup(t, { emit: u }) {
|
36
|
+
const n = t, o = u, l = y(!1), m = w(() => n.persistentHint || l.value), c = {
|
36
37
|
onBlur: (e) => {
|
37
38
|
l.value = !1, o("blur", e);
|
38
39
|
},
|
@@ -50,6 +51,7 @@ const G = /* @__PURE__ */ f({
|
|
50
51
|
return (e, P) => (v(), B(k, {
|
51
52
|
id: e.id,
|
52
53
|
class: "bb-textarea",
|
54
|
+
compact: e.compact,
|
53
55
|
direction: e.direction,
|
54
56
|
errors: e.errors,
|
55
57
|
"has-errors": e.hasErrors,
|
@@ -62,18 +64,19 @@ const G = /* @__PURE__ */ f({
|
|
62
64
|
reverse: e.reverse,
|
63
65
|
"show-hint": m.value
|
64
66
|
}, {
|
65
|
-
label:
|
66
|
-
|
67
|
+
label: a((s) => [
|
68
|
+
r(e.$slots, "label", p(d(s)))
|
67
69
|
]),
|
68
|
-
input:
|
70
|
+
input: a(({ id: s, hasErrors: h, ariaDescribedby: b }) => [
|
69
71
|
g(V, $({
|
70
72
|
id: s,
|
71
73
|
"append:icon": n["append:icon"],
|
72
|
-
"aria-describedby":
|
74
|
+
"aria-describedby": b,
|
73
75
|
"auto-grow": e.autoGrow,
|
74
76
|
autofocus: e.autofocus,
|
77
|
+
compact: e.compact,
|
75
78
|
disabled: e.disabled,
|
76
|
-
"has-errors":
|
79
|
+
"has-errors": h,
|
77
80
|
loading: e.loading,
|
78
81
|
"model-value": e.modelValue,
|
79
82
|
name: e.name,
|
@@ -82,30 +85,30 @@ const G = /* @__PURE__ */ f({
|
|
82
85
|
readonly: e.readonly,
|
83
86
|
required: e.required,
|
84
87
|
rows: e.rows
|
85
|
-
},
|
86
|
-
"append-outer":
|
87
|
-
|
88
|
+
}, c), {
|
89
|
+
"append-outer": a(() => [
|
90
|
+
r(e.$slots, "append-outer")
|
88
91
|
]),
|
89
|
-
append:
|
90
|
-
|
92
|
+
append: a(() => [
|
93
|
+
r(e.$slots, "append")
|
91
94
|
]),
|
92
|
-
prepend:
|
93
|
-
|
95
|
+
prepend: a(() => [
|
96
|
+
r(e.$slots, "prepend")
|
94
97
|
]),
|
95
|
-
"prepend-outer":
|
96
|
-
|
98
|
+
"prepend-outer": a(() => [
|
99
|
+
r(e.$slots, "prepend-outer")
|
97
100
|
]),
|
98
|
-
prefix:
|
99
|
-
|
101
|
+
prefix: a((i) => [
|
102
|
+
r(e.$slots, "prefix", p(d(i)))
|
100
103
|
]),
|
101
|
-
suffix:
|
102
|
-
|
104
|
+
suffix: a((i) => [
|
105
|
+
r(e.$slots, "suffix", p(d(i)))
|
103
106
|
]),
|
104
107
|
_: 2
|
105
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "auto-grow", "autofocus", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "rows"])
|
108
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "auto-grow", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "rows"])
|
106
109
|
]),
|
107
110
|
_: 3
|
108
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
111
|
+
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
109
112
|
}
|
110
113
|
});
|
111
114
|
export {
|
package/dist/index117.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 "./index49.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,14 +25,14 @@ 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
|
type: {}
|
31
32
|
},
|
32
33
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
33
|
-
setup(
|
34
|
-
const
|
34
|
+
setup(s, { emit: i }) {
|
35
|
+
const r = s, o = i, l = h(!1), d = b(() => r.persistentHint || l.value), t = {
|
35
36
|
onBlur: (e) => {
|
36
37
|
l.value = !1, o("blur", e);
|
37
38
|
},
|
@@ -49,6 +50,7 @@ const E = /* @__PURE__ */ c({
|
|
49
50
|
return (e, V) => (f(), y($, {
|
50
51
|
id: e.id,
|
51
52
|
class: "bb-text-input",
|
53
|
+
compact: e.compact,
|
52
54
|
direction: e.direction,
|
53
55
|
errors: e.errors,
|
54
56
|
"has-errors": e.hasErrors,
|
@@ -61,50 +63,51 @@ const E = /* @__PURE__ */ c({
|
|
61
63
|
reverse: e.reverse,
|
62
64
|
"show-hint": d.value
|
63
65
|
}, {
|
64
|
-
label:
|
65
|
-
|
66
|
+
label: a((p) => [
|
67
|
+
n(e.$slots, "label", v(B(p)))
|
66
68
|
]),
|
67
|
-
input:
|
69
|
+
input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
|
68
70
|
w(k, g({
|
69
|
-
id:
|
70
|
-
"append:icon":
|
71
|
+
id: p,
|
72
|
+
"append:icon": r["append:icon"],
|
71
73
|
"aria-describedby": m,
|
72
74
|
autocomplete: e.autocomplete,
|
73
75
|
autofocus: e.autofocus,
|
76
|
+
compact: e.compact,
|
74
77
|
disabled: e.disabled,
|
75
78
|
"has-errors": u,
|
76
79
|
loading: e.loading,
|
77
80
|
"model-value": e.modelValue,
|
78
81
|
name: e.name,
|
79
82
|
placeholder: e.placeholder,
|
80
|
-
"prepend:icon":
|
83
|
+
"prepend:icon": r["prepend:icon"],
|
81
84
|
readonly: e.readonly,
|
82
85
|
required: e.required,
|
83
86
|
type: e.type
|
84
87
|
}, t), {
|
85
|
-
"append-outer":
|
86
|
-
|
88
|
+
"append-outer": a(() => [
|
89
|
+
n(e.$slots, "append-outer")
|
87
90
|
]),
|
88
|
-
append:
|
89
|
-
|
91
|
+
append: a(() => [
|
92
|
+
n(e.$slots, "append")
|
90
93
|
]),
|
91
|
-
prefix:
|
92
|
-
|
94
|
+
prefix: a(() => [
|
95
|
+
n(e.$slots, "prefix")
|
93
96
|
]),
|
94
|
-
suffix:
|
95
|
-
|
97
|
+
suffix: a(() => [
|
98
|
+
n(e.$slots, "suffix")
|
96
99
|
]),
|
97
|
-
prepend:
|
98
|
-
|
100
|
+
prepend: a(() => [
|
101
|
+
n(e.$slots, "prepend")
|
99
102
|
]),
|
100
|
-
"prepend-outer":
|
101
|
-
|
103
|
+
"prepend-outer": a(() => [
|
104
|
+
n(e.$slots, "prepend-outer")
|
102
105
|
]),
|
103
106
|
_: 2
|
104
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
|
107
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
|
105
108
|
]),
|
106
109
|
_: 3
|
107
|
-
}, 8, ["id", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
110
|
+
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
108
111
|
}
|
109
112
|
});
|
110
113
|
export {
|
package/dist/index119.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as l, openBlock as e, createBlock as o, withCtx as r, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as u, createElementBlock as p, Fragment as f, renderList as _, unref as n, mergeProps as d } from "vue";
|
2
2
|
import { state as k, useToast as b } from "./index11.js";
|
3
|
-
import C from "./
|
4
|
-
import B from "./
|
3
|
+
import C from "./index224.js";
|
4
|
+
import B from "./index301.js";
|
5
5
|
const V = /* @__PURE__ */ l({
|
6
6
|
__name: "BbToast",
|
7
7
|
props: {
|
package/dist/index121.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent as N, ref as a, watch as V, computed as H, openBlock as B, createElementBlock as z, mergeProps as I, createElementVNode as p, renderSlot as C, normalizeProps as R, guardReactiveProps as S, unref as c, createVNode as U, withCtx as E, createBlock as W, createCommentVNode as j } from "vue";
|
2
|
-
import { useFloating as q, arrow as A } from "./
|
2
|
+
import { useFloating as q, arrow as A } from "./index209.js";
|
3
3
|
import { useId as G } from "./index8.js";
|
4
4
|
import { wait as _ } from "./index132.js";
|
5
5
|
import J from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { throttle as m } from "./
|
8
|
-
import { waitFor as K } from "./
|
7
|
+
import { throttle as m } from "./index237.js";
|
8
|
+
import { waitFor as K } from "./index219.js";
|
9
9
|
import Q from "./index255.js";
|
10
10
|
/* empty css */
|
11
|
-
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./
|
11
|
+
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index225.js";
|
12
12
|
const pe = /* @__PURE__ */ N({
|
13
13
|
__name: "BbTooltip",
|
14
14
|
props: {
|
package/dist/index123.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, openBlock as f, createElementBlock as i, Fragment as k, renderList as h, normalizeClass as b, createElementVNode as s, renderSlot as t, createVNode as v, createSlots as B, withCtx as _, mergeProps as C } from "vue";
|
2
|
-
import { flattenTree as T } from "./
|
2
|
+
import { flattenTree as T } from "./index302.js";
|
3
3
|
const w = { class: "bb-tree-row" }, E = { class: "bb-tree-main-content" }, N = /* @__PURE__ */ $({
|
4
4
|
__name: "BbTree",
|
5
5
|
props: {
|
package/dist/index127.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, openBlock as h, createElementBlock as $, mergeProps as g } from "vue";
|
2
|
-
import { isCssColor as I } from "./
|
2
|
+
import { isCssColor as I } from "./index239.js";
|
3
3
|
const B = ["innerHTML"], k = /* @__PURE__ */ v({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
package/dist/index128.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
|
2
|
-
import { throttle as g } from "./
|
2
|
+
import { throttle as g } from "./index237.js";
|
3
3
|
const O = /* @__PURE__ */ v({
|
4
4
|
__name: "BbSmoothHeight",
|
5
5
|
props: {
|
package/dist/index129.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as p, computed as s, openBlock as b, createElementBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
|
2
|
-
import { isCssColor as u } from "./
|
2
|
+
import { isCssColor as u } from "./index239.js";
|
3
3
|
const f = /* @__PURE__ */ p({
|
4
4
|
__name: "BbSpinner",
|
5
5
|
props: {
|
package/dist/index13.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as k, getCurrentInstance as u, resolveComponent as p, computed as d, openBlock as v, createBlock as h, resolveDynamicComponent as C, unref as x, mergeProps as S, withCtx as L, renderSlot as B, createTextVNode as N, toDisplayString as $ } from "vue";
|
2
2
|
import { _config as n } from "./index4.js";
|
3
|
-
import { useLogger as m } from "./
|
3
|
+
import { useLogger as m } from "./index208.js";
|
4
4
|
const _ = /* @__PURE__ */ k({
|
5
5
|
__name: "BaseButton",
|
6
6
|
props: {
|
package/dist/index131.js
CHANGED
package/dist/index133.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as M, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isObject as J, isClient as K } from "./
|
2
|
-
import { createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as pe, throttleFilter as me } from "./
|
1
|
+
import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as M, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isObject as J, isClient as K } from "./index206.js";
|
2
|
+
import { createFilterWrapper as ve, debounceFilter as de, getLifeCycleTarget as pe, throttleFilter as me } from "./index206.js";
|
3
3
|
import { computed as S, watch as z, ref as w, reactive as k, getCurrentInstance as U, onMounted as Z, watchEffect as ee } from "vue";
|
4
4
|
function L(l) {
|
5
5
|
var o;
|