bitboss-ui 2.1.32 → 2.1.34
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/BaseColorInput/BaseColorInput.vue.d.ts +13 -12
- package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +2 -2
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +11 -6
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +3 -2
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +3 -2
- package/dist/components/BaseTag/BaseTag.vue.d.ts +11 -10
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +3 -2
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +3 -2
- package/dist/components/BbButton/BbButton.vue.d.ts +5 -5
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +3 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -2
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +30 -38
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +8 -3
- package/dist/components/BbIcon/BbIcon.vue.d.ts +4 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +7 -6
- package/dist/components/BbPopover/BbPopover.vue.d.ts +25 -32
- package/dist/components/BbSelect/BbSelect.vue.d.ts +3 -2
- package/dist/components/BbTag/BbTag.vue.d.ts +3 -2
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +3 -2
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +3 -2
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +26 -31
- package/dist/components/CommonInputInnerContainer.vue.d.ts +3 -2
- package/dist/components/{CommonPopover.vue.d.ts → CommonPopover2.vue.d.ts} +2 -7
- package/dist/composables/useCancelableFunction.d.ts +17 -0
- package/dist/composables/useToast.d.ts +4 -3
- package/dist/index.css +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index106.js +9 -9
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index121.js +11 -11
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +111 -93
- package/dist/index133.js +1 -1
- package/dist/index135.js +2 -2
- package/dist/index140.js +292 -250
- package/dist/index142.js +2 -2
- package/dist/index15.js +72 -74
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +16 -16
- package/dist/index212.js +3 -3
- package/dist/index215.js +86 -4
- package/dist/index217.js +27 -9
- package/dist/index218.js +16 -19
- package/dist/index219.js +49 -195
- package/dist/index220.js +17 -0
- package/dist/index221.js +3 -117
- package/dist/index222.js +14 -0
- package/dist/index223.js +16 -34
- package/dist/index224.js +2 -86
- package/dist/index225.js +4 -0
- package/dist/index226.js +2 -29
- package/dist/index227.js +106 -17
- package/dist/index229.js +100 -15
- package/dist/index23.js +152 -152
- package/dist/index231.js +2 -12
- package/dist/index232.js +4 -16
- package/dist/index233.js +5 -2
- package/dist/index234.js +5 -2
- package/dist/index235.js +5 -2
- package/dist/index236.js +5 -5
- package/dist/index237.js +4 -4
- package/dist/index238.js +5 -5
- package/dist/index239.js +2 -5
- package/dist/index240.js +13 -5
- package/dist/index241.js +20 -5
- package/dist/index242.js +121 -5
- package/dist/index244.js +17 -7
- package/dist/index245.js +12 -250
- package/dist/index246.js +222 -45
- package/dist/index247.js +13 -44
- package/dist/index248.js +4 -5
- package/dist/index249.js +190 -53
- package/dist/index25.js +3 -3
- package/dist/index251.js +7 -3
- package/dist/index252.js +33 -12
- package/dist/index253.js +2 -106
- package/dist/index254.js +185 -0
- package/dist/index255.js +3 -100
- package/dist/index256.js +4 -0
- package/dist/index257.js +7 -2
- package/dist/index258.js +6 -182
- package/dist/index259.js +12 -6
- package/dist/index260.js +5 -2
- package/dist/index261.js +5 -2
- package/dist/index262.js +8 -7
- package/dist/index263.js +250 -7
- package/dist/index264.js +50 -16
- package/dist/index265.js +44 -12
- package/dist/index266.js +5 -6
- package/dist/index267.js +54 -223
- package/dist/index268.js +6 -5
- package/dist/index269.js +16 -10
- package/dist/index27.js +1 -1
- package/dist/index270.js +9 -3
- package/dist/index271.js +4 -9
- package/dist/index272.js +23 -23
- package/dist/index273.js +9 -3
- package/dist/index274.js +23 -9
- package/dist/index275.js +10 -6
- package/dist/index276.js +3 -16
- package/dist/index277.js +3 -9
- package/dist/index278.js +9 -8
- package/dist/index279.js +8 -33
- package/dist/index280.js +33 -28
- package/dist/index281.js +30 -0
- package/dist/index283.js +2 -5
- package/dist/index284.js +67 -8
- package/dist/index285.js +5 -2
- package/dist/index286.js +5 -5
- package/dist/index287.js +8 -3
- package/dist/index288.js +4 -3
- package/dist/index289.js +3 -7
- package/dist/index29.js +2 -2
- package/dist/index290.js +17 -11
- package/dist/index291.js +28 -2
- package/dist/index292.js +3 -4
- package/dist/index293.js +1 -1
- package/dist/index294.js +4 -17
- package/dist/index295.js +279 -27
- package/dist/index296.js +2 -4
- package/dist/index297.js +125 -5
- package/dist/index298.js +2 -280
- package/dist/index299.js +15 -2
- package/dist/index300.js +2 -16
- package/dist/index301.js +16 -2
- package/dist/index302.js +2 -16
- package/dist/index303.js +16 -2
- package/dist/index304.js +2 -19
- package/dist/index305.js +19 -2
- package/dist/index306.js +2 -15
- package/dist/index307.js +3 -2
- package/dist/index308.js +7 -19
- package/dist/index309.js +11 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -27
- package/dist/index311.js +3 -2
- package/dist/index312.js +6 -2
- package/dist/index313.js +1 -1
- package/dist/index314.js +5 -2
- package/dist/index315.js +19 -2
- package/dist/index316.js +2 -22
- package/dist/index317.js +29 -0
- package/dist/index318.js +2 -3
- package/dist/index319.js +2 -3
- package/dist/index320.js +2 -6
- package/dist/index321.js +1 -1
- package/dist/index322.js +2 -125
- package/dist/index323.js +22 -2
- package/dist/index328.js +7 -0
- package/dist/index33.js +8 -8
- package/dist/index330.js +3 -2
- package/dist/index331.js +2 -8
- package/dist/index332.js +34 -5
- package/dist/index333.js +6 -8
- package/dist/index334.js +128 -57
- package/dist/index335.js +367 -56
- package/dist/index336.js +47 -8
- package/dist/index337.js +57 -128
- package/dist/index338.js +56 -367
- package/dist/index339.js +7 -6
- package/dist/index340.js +5 -18
- package/dist/index341.js +8 -228
- package/dist/index343.js +227 -46
- package/dist/index344.js +6 -92
- package/dist/index345.js +17 -127
- package/dist/index346.js +87 -430
- package/dist/index347.js +123 -121
- package/dist/index348.js +1 -1
- package/dist/index349.js +430 -44
- package/dist/index35.js +4 -4
- package/dist/index350.js +129 -0
- package/dist/index351.js +52 -0
- package/dist/index37.js +261 -271
- package/dist/index39.js +6 -6
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +60 -62
- package/dist/index49.js +1 -1
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +6 -6
- package/dist/index67.js +1 -1
- package/dist/index79.js +206 -182
- package/dist/index81.js +2 -2
- package/dist/index83.js +2 -2
- package/dist/index85.js +3 -3
- package/dist/index87.js +1 -1
- package/dist/index90.js +3 -3
- package/dist/index92.js +2 -2
- package/dist/index94.js +121 -117
- package/dist/types/Icon.d.ts +9 -0
- package/dist/utilities/functions/extractDomContainer.d.ts +1 -0
- package/dist/utilities/functions/parseWidthString.d.ts +6 -0
- package/package.json +1 -1
- package/dist/index216.js +0 -15
- package/dist/index228.js +0 -53
- package/dist/index230.js +0 -5
- package/dist/index243.js +0 -4
- package/dist/index250.js +0 -6
- package/dist/index282.js +0 -69
- package/dist/index324.js +0 -7
- package/dist/index329.js +0 -5
package/dist/index39.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as re, ref as d, computed as p, onMounted as te, watch as le, createElementBlock as y, openBlock as g, mergeProps as N, renderSlot as v, createElementVNode as m, createCommentVNode as H, Fragment as oe, renderList as ne, normalizeProps as se, guardReactiveProps as ie, unref as c, normalizeStyle as G, normalizeClass as O } from "vue";
|
2
|
-
import { head as ue } from "./
|
3
|
-
import { isCssColor as Y } from "./
|
4
|
-
import { isNil as S } from "./
|
2
|
+
import { head as ue } from "./index256.js";
|
3
|
+
import { isCssColor as Y } from "./index224.js";
|
4
|
+
import { isNil as S } from "./index225.js";
|
5
5
|
import { getAsPercentageBetween as x, getAsPercentage as de, getValueFromPercentageInInterval as T } from "./index139.js";
|
6
|
-
import { snapToStep as me } from "./
|
7
|
-
import { last as ce } from "./
|
8
|
-
import { transpose as j } from "./
|
6
|
+
import { snapToStep as me } from "./index257.js";
|
7
|
+
import { last as ce } from "./index226.js";
|
8
|
+
import { transpose as j } from "./index258.js";
|
9
9
|
import { clamp as f } from "./index214.js";
|
10
10
|
const be = { class: "bb-base-slider__slider-container" }, ve = {
|
11
11
|
key: 0,
|
package/dist/index41.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as I, ref as f, computed as n, watch as S, createElementBlock as h, openBlock as y, normalizeProps as r, guardReactiveProps as d, createCommentVNode as A, createElementVNode as l, mergeProps as V, renderSlot as F } from "vue";
|
2
|
-
import { isCssColor as b } from "./
|
3
|
-
import { when as N } from "./
|
2
|
+
import { isCssColor as b } from "./index224.js";
|
3
|
+
import { when as N } from "./index232.js";
|
4
4
|
const x = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
|
5
5
|
__name: "BaseSwitch",
|
6
6
|
props: {
|
package/dist/index43.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as j, ref as k, toRef as d, createBlock as z, openBlock as G, unref as B, withCtx as s, renderSlot as l, normalizeProps as v, guardReactiveProps as b, createVNode as R, mergeProps as w, createSlots as W } from "vue";
|
2
2
|
import K from "./index41.js";
|
3
3
|
/* empty css */
|
4
|
-
import N from "./
|
4
|
+
import N from "./index215.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as U } from "./
|
7
|
-
import { useIndexById as T } from "./
|
8
|
-
import { useBaseOptions as q } from "./
|
9
|
-
import { useCoherence as J } from "./
|
10
|
-
import { hash as Q } from "./
|
11
|
-
import { useHashedWatcher as $ } from "./
|
12
|
-
import { usePrefill as X } from "./
|
6
|
+
import { useItemsGetter as U } from "./index217.js";
|
7
|
+
import { useIndexById as T } from "./index218.js";
|
8
|
+
import { useBaseOptions as q } from "./index219.js";
|
9
|
+
import { useCoherence as J } from "./index220.js";
|
10
|
+
import { hash as Q } from "./index221.js";
|
11
|
+
import { useHashedWatcher as $ } from "./index222.js";
|
12
|
+
import { usePrefill as X } from "./index223.js";
|
13
13
|
const ue = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseSwitchGroup",
|
15
15
|
props: {
|
package/dist/index45.js
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
/* empty css */
|
3
|
-
/* empty css */
|
1
|
+
import { defineComponent as j, ref as i, computed as f, toRef as E, watch as Q, createBlock as k, openBlock as v, normalizeClass as Z, withCtx as n, createVNode as I, unref as G, createElementVNode as $, createElementBlock as J, createCommentVNode as W, withDirectives as X, Fragment as Y, mergeProps as ee, withModifiers as s, withKeys as y, vModelText as te, renderSlot as d, nextTick as oe } from "vue";
|
4
2
|
import ae from "./index111.js";
|
5
3
|
/* empty css */
|
6
|
-
import le from "./
|
4
|
+
import { last as le } from "./index226.js";
|
5
|
+
import { useBaseOptions as ne } from "./index219.js";
|
6
|
+
import { useIndexById as re } from "./index218.js";
|
7
|
+
import ue from "./index227.js";
|
7
8
|
/* empty css */
|
8
|
-
import
|
9
|
-
import { last as re } from "./index243.js";
|
10
|
-
import { useBaseOptions as ie } from "./index228.js";
|
11
|
-
import { useIndexById as ue } from "./index227.js";
|
12
|
-
import se from "./index253.js";
|
9
|
+
import ie from "./index229.js";
|
13
10
|
/* empty css */
|
14
|
-
import
|
11
|
+
import se from "./index135.js";
|
15
12
|
/* empty css */
|
16
|
-
import
|
17
|
-
|
13
|
+
import de from "./index137.js";
|
14
|
+
import { isEmpty as pe } from "./index231.js";
|
15
|
+
const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], Oe = /* @__PURE__ */ j({
|
18
16
|
__name: "BaseTag",
|
19
17
|
props: {
|
20
18
|
"append:icon": {},
|
@@ -39,17 +37,17 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
39
37
|
required: { type: Boolean }
|
40
38
|
},
|
41
39
|
emits: ["blur", "change", "click", "duplicate", "focus", "inactive", "input", "keydown", "keyup", "update:modelValue"],
|
42
|
-
setup(
|
43
|
-
const t =
|
40
|
+
setup(O, { emit: L }) {
|
41
|
+
const t = O, l = L;
|
44
42
|
if (t.multiple && !Array.isArray(t.modelValue))
|
45
43
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
46
|
-
const b =
|
44
|
+
const b = i(null), D = i(null), B = i(null), V = i(null), r = f(
|
47
45
|
() => t.comma ? B.value : V.value
|
48
|
-
), p =
|
46
|
+
), p = i(null), T = () => {
|
49
47
|
p.value instanceof HTMLInputElement && p.value.focus();
|
50
|
-
}, o =
|
48
|
+
}, o = i(""), u = f(() => H.value.filter((e) => e.selected)), { data: w, get: A } = re({
|
51
49
|
items: E(t, "modelValue")
|
52
|
-
}), { options:
|
50
|
+
}), { options: H } = ne({
|
53
51
|
disabled: E(t, "disabled"),
|
54
52
|
items: f(() => [].concat(t.modelValue)),
|
55
53
|
itemText: void 0,
|
@@ -63,38 +61,38 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
63
61
|
return;
|
64
62
|
}
|
65
63
|
let e;
|
66
|
-
|
67
|
-
},
|
64
|
+
u.value && (e = le(u.value)), o.value = (e == null ? void 0 : e.text) || "";
|
65
|
+
}, K = async (e) => {
|
68
66
|
if (t.multiple) {
|
69
67
|
const a = { ...w.value };
|
70
68
|
delete a[e.valueHash], l("update:modelValue", Object.values(a));
|
71
69
|
} else
|
72
70
|
l("update:modelValue", null);
|
73
|
-
|
71
|
+
T();
|
74
72
|
};
|
75
|
-
|
73
|
+
Q(
|
76
74
|
() => t.modelValue,
|
77
75
|
async () => {
|
78
76
|
C();
|
79
77
|
}
|
80
78
|
);
|
81
|
-
const g =
|
79
|
+
const g = i(!1), q = () => {
|
82
80
|
g.value = !0;
|
83
|
-
},
|
81
|
+
}, M = () => {
|
84
82
|
g.value = !1, l("inactive");
|
85
|
-
}, h = f(() => !(t.readonly || t.disabled || !r.value && t.multiple)),
|
83
|
+
}, h = f(() => !(t.readonly || t.disabled || !r.value && t.multiple)), N = (e) => {
|
86
84
|
var a;
|
87
|
-
h.value && (!t.multiple || o.value || (e.preventDefault(),
|
88
|
-
},
|
85
|
+
h.value && (!t.multiple || o.value || (e.preventDefault(), u.value.length && ((a = r.value) == null || a.focusPrevious())));
|
86
|
+
}, P = (e) => {
|
89
87
|
var a;
|
90
|
-
h.value && (!t.multiple || o.value || (e.preventDefault(),
|
91
|
-
},
|
88
|
+
h.value && (!t.multiple || o.value || (e.preventDefault(), u.value.length && ((a = r.value) == null || a.focusNext())));
|
89
|
+
}, z = async () => {
|
92
90
|
var e, a;
|
93
|
-
!h.value || o.value || !
|
94
|
-
},
|
91
|
+
!h.value || o.value || !u.value.length || ((e = r.value) != null && e.getHighlighted() && r.value.confirmOption(), await oe(), (a = r.value) == null || a.focusPrevious());
|
92
|
+
}, F = () => {
|
95
93
|
var e;
|
96
94
|
(e = r.value) == null || e.blur();
|
97
|
-
},
|
95
|
+
}, S = async (e) => {
|
98
96
|
var a;
|
99
97
|
if (l("keydown", e), t.readonly || t.disabled) {
|
100
98
|
e.preventDefault();
|
@@ -114,36 +112,36 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
114
112
|
l("keydown", e);
|
115
113
|
return;
|
116
114
|
}
|
117
|
-
if (e.preventDefault(),
|
115
|
+
if (e.preventDefault(), A(o.value))
|
118
116
|
l("duplicate", o.value), o.value = "";
|
119
117
|
else {
|
120
|
-
if (t.max &&
|
118
|
+
if (t.max && u.value.length >= t.max)
|
121
119
|
return;
|
122
120
|
t.multiple ? l("update:modelValue", t.modelValue.concat(o.value)) : l("update:modelValue", o.value);
|
123
121
|
}
|
124
122
|
}
|
123
|
+
}, U = (e) => {
|
124
|
+
l("focus", e), q(), document.addEventListener("click", c), document.addEventListener("focusin", c);
|
125
125
|
}, _ = (e) => {
|
126
|
-
l("focus", e), M(), document.addEventListener("click", c), document.addEventListener("focusin", c);
|
127
|
-
}, x = (e) => {
|
128
126
|
l("click", e), !(t.disabled || t.readonly) && p.value instanceof HTMLElement && p.value.focus();
|
129
127
|
}, c = async (e) => {
|
130
128
|
if (e.target instanceof Node && b.value && !b.value.$el.contains(e.target)) {
|
131
|
-
|
129
|
+
M(), document.removeEventListener("click", c), document.removeEventListener("focusin", c), C();
|
132
130
|
return;
|
133
131
|
}
|
134
|
-
},
|
132
|
+
}, x = {
|
135
133
|
onBlur: (e) => l("blur", e),
|
136
134
|
onChange: (e) => l("change", e),
|
137
135
|
onKeyup: (e) => l("keyup", e),
|
138
136
|
onInput: (e) => l("input", e)
|
139
|
-
},
|
137
|
+
}, R = () => {
|
140
138
|
let e = null;
|
141
139
|
t.multiple && (e = []), l("update:modelValue", e);
|
142
140
|
};
|
143
|
-
return (e, a) => (v(), k(
|
141
|
+
return (e, a) => (v(), k(de, {
|
144
142
|
ref_key: "outerContainer",
|
145
143
|
ref: b,
|
146
|
-
class:
|
144
|
+
class: Z({
|
147
145
|
"bb-base-tag": !0,
|
148
146
|
"bb-base-tag--active": g.value,
|
149
147
|
"bb-base-tag--disabled": e.disabled,
|
@@ -152,7 +150,7 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
152
150
|
"bb-base-tag--readonly": e.readonly,
|
153
151
|
"bb-base-tag--compact": e.compact
|
154
152
|
}),
|
155
|
-
onClick:
|
153
|
+
onClick: _
|
156
154
|
}, {
|
157
155
|
"prepend-outer": n(() => [
|
158
156
|
d(e.$slots, "prepend-outer")
|
@@ -161,14 +159,14 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
161
159
|
d(e.$slots, "append-outer")
|
162
160
|
]),
|
163
161
|
default: n(() => [
|
164
|
-
I(
|
162
|
+
I(se, {
|
165
163
|
ref_key: "innerContainer",
|
166
|
-
ref:
|
164
|
+
ref: D,
|
167
165
|
"append:icon": t["append:icon"],
|
168
|
-
clearable: e.clearable &&
|
166
|
+
clearable: e.clearable && !G(pe)(e.modelValue),
|
169
167
|
"prepend:icon": t["prepend:icon"],
|
170
168
|
"prevent-focus": !0,
|
171
|
-
"onClick:clear":
|
169
|
+
"onClick:clear": R
|
172
170
|
}, {
|
173
171
|
prepend: n(() => [
|
174
172
|
d(e.$slots, "prepend")
|
@@ -183,28 +181,28 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
183
181
|
d(e.$slots, "suffix")
|
184
182
|
]),
|
185
183
|
default: n(() => [
|
186
|
-
I(
|
184
|
+
I(ae, { tag: "span" }, {
|
187
185
|
default: n(() => [
|
188
|
-
|
186
|
+
$("span", ce, [
|
189
187
|
e.multiple ? (v(), J(Y, { key: 0 }, [
|
190
|
-
e.comma ? (v(), k(
|
188
|
+
e.comma ? (v(), k(ie, {
|
191
189
|
key: 0,
|
192
190
|
ref_key: "commaBox",
|
193
191
|
ref: B,
|
194
|
-
options:
|
195
|
-
}, null, 8, ["options"])) : (v(), k(
|
192
|
+
options: u.value
|
193
|
+
}, null, 8, ["options"])) : (v(), k(ue, {
|
196
194
|
key: 1,
|
197
195
|
ref_key: "chipsBox",
|
198
196
|
ref: V,
|
199
|
-
options:
|
200
|
-
"onOption:unselected":
|
197
|
+
options: u.value,
|
198
|
+
"onOption:unselected": K
|
201
199
|
}, null, 8, ["options"]))
|
202
200
|
], 64)) : W("", !0),
|
203
|
-
X(
|
201
|
+
X($("input", ee({
|
204
202
|
id: e.id,
|
205
203
|
ref_key: "input",
|
206
204
|
ref: p
|
207
|
-
},
|
205
|
+
}, x, {
|
208
206
|
"onUpdate:modelValue": a[0] || (a[0] = (m) => o.value = m),
|
209
207
|
"aria-describedby": e.ariaDescribedby,
|
210
208
|
autocomplete: e.autocomplete,
|
@@ -218,13 +216,13 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
218
216
|
size: "1",
|
219
217
|
style: { "--characters": o.value.length },
|
220
218
|
type: "text",
|
221
|
-
onFocus: s(
|
219
|
+
onFocus: s(U, ["stop"]),
|
222
220
|
onKeydown: [
|
223
|
-
s(
|
224
|
-
y(s(
|
225
|
-
y(s(
|
226
|
-
y(s(
|
227
|
-
y(s(
|
221
|
+
s(S, ["stop"]),
|
222
|
+
y(s(z, ["stop"]), ["delete"]),
|
223
|
+
y(s(N, ["stop"]), ["left"]),
|
224
|
+
y(s(F, ["stop", "prevent"]), ["esc"]),
|
225
|
+
y(s(P, ["stop"]), ["right"])
|
228
226
|
]
|
229
227
|
}), null, 16, me), [
|
230
228
|
[te, o.value]
|
@@ -242,5 +240,5 @@ const ce = { class: "bb-base-tag__input-container" }, me = ["id", "aria-describe
|
|
242
240
|
}
|
243
241
|
});
|
244
242
|
export {
|
245
|
-
|
243
|
+
Oe as default
|
246
244
|
};
|
package/dist/index49.js
CHANGED
@@ -3,7 +3,7 @@ import E from "./index135.js";
|
|
3
3
|
/* empty css */
|
4
4
|
import I from "./index137.js";
|
5
5
|
import { isNotNil as N } from "./index143.js";
|
6
|
-
import { MaskInput as z } from "./
|
6
|
+
import { MaskInput as z } from "./index254.js";
|
7
7
|
const D = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type"], F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "inputmode", "name", "placeholder", "readonly", "required", "type", "value"], U = /* @__PURE__ */ V({
|
8
8
|
__name: "BaseTextInput",
|
9
9
|
props: {
|
package/dist/index53.js
CHANGED
package/dist/index55.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as b, computed as z, ref as o, onMounted as g, createElementBlock as l, openBlock as i, normalizeProps as _, guardReactiveProps as h, renderSlot as k } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
2
|
+
import { isCssColor as y } from "./index224.js";
|
3
3
|
import { wait as C } from "./index138.js";
|
4
4
|
const w = ["alt", "sizes", "src", "srcset"], B = {
|
5
5
|
key: 1,
|
package/dist/index57.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as p, useSlots as d, computed as s, createElementBlock as m, openBlock as u, normalizeClass as g, createElementVNode as n, renderSlot as r, mergeProps as f, createTextVNode as _, toDisplayString as y } from "vue";
|
2
|
-
import { isCssColor as l } from "./
|
3
|
-
import { isNil as B } from "./
|
2
|
+
import { isCssColor as l } from "./index224.js";
|
3
|
+
import { isNil as B } from "./index225.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, N = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
6
6
|
props: {
|
package/dist/index61.js
CHANGED
@@ -7,9 +7,9 @@ import p from "./index85.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import T from "./index113.js";
|
9
9
|
/* empty css */
|
10
|
-
import { pickBy as W } from "./
|
11
|
-
import { noop as w } from "./
|
12
|
-
import { useLocale as D } from "./
|
10
|
+
import { pickBy as W } from "./index275.js";
|
11
|
+
import { noop as w } from "./index276.js";
|
12
|
+
import { useLocale as D } from "./index240.js";
|
13
13
|
const E = {
|
14
14
|
key: 2,
|
15
15
|
class: "bb-button__loading-label sr-only"
|
@@ -23,7 +23,7 @@ const E = {
|
|
23
23
|
block: { type: Boolean },
|
24
24
|
data: {},
|
25
25
|
disabled: { type: Boolean },
|
26
|
-
|
26
|
+
enabledWhileLoading: { type: Boolean },
|
27
27
|
exactActiveClass: {},
|
28
28
|
group: { type: Boolean },
|
29
29
|
headers: {},
|
@@ -55,7 +55,7 @@ const E = {
|
|
55
55
|
const e = b, { t: m } = D(), l = C(0), t = c(
|
56
56
|
() => e.loading || !!l.value && e.autoLoading
|
57
57
|
), f = c(() => e.disabled), { onClick: y = w } = h(), g = async (o) => {
|
58
|
-
if (o.stopImmediatePropagation(), t.value && e.
|
58
|
+
if (o.stopImmediatePropagation(), t.value && !e.enabledWhileLoading)
|
59
59
|
return (e.type === "submit" || e.href || e.to) && o.preventDefault(), null;
|
60
60
|
l.value++, await y(o), l.value--;
|
61
61
|
}, _ = typeof e.size == "string" ? { default: e.size } : { default: "md", ...e.size }, B = Object.entries(_).reduce(
|
@@ -69,7 +69,7 @@ const E = {
|
|
69
69
|
"append:icon",
|
70
70
|
"autoLoading",
|
71
71
|
"disabled",
|
72
|
-
"
|
72
|
+
"enabledWhileLoading",
|
73
73
|
"group",
|
74
74
|
"icon",
|
75
75
|
"loading",
|
package/dist/index67.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as i, createElementBlock as o, openBlock as a, createElementVNode as t, createCommentVNode as p, renderSlot as b, createTextVNode as m, toDisplayString as u, withModifiers as d, unref as _ } from "vue";
|
2
|
-
import { useLocale as f } from "./
|
2
|
+
import { useLocale as f } from "./index240.js";
|
3
3
|
const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
|
4
4
|
__name: "BbChip",
|
5
5
|
props: {
|