bitboss-ui 2.0.66 → 2.0.68
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/index100.js +13 -13
- package/dist/index102.js +11 -11
- package/dist/index104.js +15 -15
- package/dist/index110.js +5 -5
- package/dist/index112.js +12 -12
- package/dist/index114.js +13 -13
- package/dist/index116.js +26 -26
- package/dist/index118.js +1 -1
- package/dist/index120.js +5 -5
- package/dist/index122.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index128.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +2 -2
- package/dist/index204.js +2 -81
- package/dist/index205.js +2 -2
- package/dist/index206.js +4 -8
- package/dist/index207.js +2 -3
- package/dist/index208.js +79 -39
- package/dist/index209.js +7 -5
- package/dist/index21.js +14 -14
- package/dist/index210.js +53 -7
- package/dist/index212.js +15 -0
- package/dist/index213.js +20 -13
- package/dist/index214.js +4 -20
- package/dist/index215.js +5 -4
- package/dist/index216.js +16 -3
- package/dist/index217.js +14 -124
- package/dist/index218.js +19 -5
- package/dist/index219.js +16 -122
- package/dist/index220.js +26 -18
- package/dist/index221.js +3 -16
- package/dist/index222.js +2 -16
- package/dist/index223.js +249 -2
- package/dist/index224.js +52 -2
- package/dist/index225.js +44 -5
- package/dist/index226.js +5 -369
- package/dist/index227.js +48 -161
- package/dist/index228.js +162 -84
- package/dist/index229.js +86 -0
- package/dist/index23.js +15 -15
- package/dist/index231.js +124 -25
- package/dist/index232.js +125 -3
- package/dist/index233.js +2 -249
- package/dist/index234.js +41 -52
- package/dist/index235.js +5 -43
- package/dist/index236.js +4 -4
- package/dist/index237.js +369 -49
- package/dist/index238.js +3 -2
- package/dist/index239.js +7 -4
- package/dist/index240.js +10 -2
- package/dist/index241.js +3 -2
- package/dist/index242.js +1 -1
- package/dist/index244.js +1 -1
- package/dist/index246.js +1 -1
- package/dist/index248.js +2 -10
- package/dist/index249.js +3 -3
- package/dist/index25.js +5 -5
- package/dist/index250.js +3 -431
- package/dist/index251.js +6 -89
- package/dist/index252.js +16 -3
- package/dist/index253.js +11 -0
- package/dist/index254.js +23 -7
- package/dist/index255.js +8 -175
- package/dist/index256.js +4 -224
- package/dist/index257.js +3 -200
- package/dist/index259.js +7 -6
- package/dist/index260.js +176 -2
- package/dist/index261.js +281 -2
- package/dist/index262.js +6 -2
- package/dist/index263.js +2 -2
- package/dist/index265.js +2 -126
- package/dist/index266.js +2 -22
- package/dist/index267.js +4 -0
- package/dist/index268.js +2 -3
- package/dist/index269.js +2 -9
- package/dist/index27.js +1 -1
- package/dist/index270.js +2 -23
- package/dist/index271.js +1 -5
- package/dist/index272.js +2 -16
- package/dist/index273.js +28 -3
- package/dist/index274.js +22 -12
- package/dist/index276.js +3 -9
- package/dist/index277.js +12 -17
- package/dist/index278.js +8 -3
- package/dist/index279.js +9 -436
- package/dist/index280.js +16 -126
- package/dist/index281.js +3 -8
- package/dist/index282.js +2 -2
- package/dist/index283.js +126 -2
- package/dist/index284.js +431 -2
- package/dist/index285.js +21 -1
- package/dist/index287.js +2 -2
- package/dist/index288.js +197 -25
- package/dist/index289.js +435 -21
- package/dist/index29.js +3 -3
- package/dist/index290.js +129 -0
- package/dist/index291.js +5 -4
- package/dist/index292.js +66 -2
- package/dist/index293.js +89 -3
- package/dist/index294.js +1 -1
- package/dist/index295.js +3 -211
- package/dist/index296.js +211 -5
- package/dist/index297.js +224 -66
- package/dist/index298.js +79 -5
- package/dist/index300.js +4 -32
- package/dist/index301.js +8 -79
- package/dist/index302.js +6 -0
- package/dist/index303.js +4 -4
- package/dist/index304.js +58 -10
- package/dist/index305.js +4 -4
- package/dist/index306.js +32 -3
- package/dist/index307.js +6 -58
- package/dist/index308.js +18 -6
- package/dist/index309.js +5 -17
- package/dist/index31.js +2 -2
- package/dist/index310.js +10 -6
- package/dist/index312.js +1 -1
- package/dist/index313.js +2 -2
- package/dist/index315.js +1 -1
- package/dist/index316.js +47 -2
- package/dist/index317.js +2 -47
- package/dist/index33.js +2 -2
- package/dist/index35.js +3 -3
- package/dist/index37.js +39 -39
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index45.js +4 -4
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index61.js +2 -2
- package/dist/index63.js +15 -15
- package/dist/index65.js +12 -12
- package/dist/index67.js +14 -14
- package/dist/index71.js +12 -12
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index82.js +12 -12
- package/dist/index84.js +2 -2
- package/dist/index86.js +1 -1
- package/dist/index88.js +3 -3
- package/dist/index90.js +1 -1
- package/dist/index96.js +12 -12
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/index211.js +0 -55
- package/dist/index230.js +0 -21
- package/dist/index258.js +0 -283
- package/dist/index275.js +0 -11
- package/dist/index286.js +0 -4
- package/dist/index299.js +0 -10
package/dist/index309.js
CHANGED
@@ -1,21 +1,9 @@
|
|
1
|
-
function l(
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
if (typeof o == "number") return [...t].sort(r);
|
6
|
-
if (e && e.length)
|
7
|
-
return [...t].sort((f, u) => {
|
8
|
-
for (let n = 0; n < e.length; n++) {
|
9
|
-
const i = e[n], s = r(f[i], u[i]);
|
10
|
-
if (s) return s;
|
11
|
-
}
|
12
|
-
return 0;
|
13
|
-
});
|
14
|
-
throw new Error("Invalid comparison");
|
15
|
-
}
|
1
|
+
function l(n, c, r = 1) {
|
2
|
+
const o = Math.max(Math.ceil((c - n) / r), 0), t = new Array(o);
|
3
|
+
for (let e = 0; e < o; e++, n += r)
|
4
|
+
t[e] = n;
|
16
5
|
return t;
|
17
6
|
}
|
18
|
-
const r = (t, e) => t < e ? -1 : t > e ? 1 : 0;
|
19
7
|
export {
|
20
|
-
l as
|
8
|
+
l as range
|
21
9
|
};
|
package/dist/index31.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as g, computed as s, ref as _, openBlock as B, createElementBlock as w, normalizeProps as t, guardReactiveProps as l, createElementVNode as u, mergeProps as V, renderSlot as C } from "vue";
|
2
|
-
import { isCssColor as i } from "./
|
3
|
-
import { when as E } from "./
|
2
|
+
import { isCssColor as i } from "./index205.js";
|
3
|
+
import { when as E } from "./index206.js";
|
4
4
|
const q = {
|
5
5
|
"aria-hidden": "true",
|
6
6
|
class: "bb-base-radio-container"
|
package/dist/index310.js
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
-
function
|
2
|
-
const
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
function c(n, r, e) {
|
2
|
+
const i = typeof r == "string" ? r.split(".") : r;
|
3
|
+
let t = n;
|
4
|
+
for (const o of i)
|
5
|
+
if (t && typeof t == "object" && o in t)
|
6
|
+
t = t[o];
|
7
|
+
else
|
8
|
+
return e;
|
9
|
+
return t === void 0 ? e : t;
|
6
10
|
}
|
7
11
|
export {
|
8
|
-
|
12
|
+
c as get
|
9
13
|
};
|
package/dist/index312.js
CHANGED
package/dist/index313.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { getDefaultExportFromCjs as dr, commonjsGlobal as D } from "./
|
2
|
-
import { __module as M } from "./
|
1
|
+
import { getDefaultExportFromCjs as dr, commonjsGlobal as D } from "./index262.js";
|
2
|
+
import { __module as M } from "./index317.js";
|
3
3
|
M.exports;
|
4
4
|
(function(j, F) {
|
5
5
|
var At = 200, W = "__lodash_hash_undefined__", Ot = 800, jt = 16, X = 9007199254740991, Y = "[object Arguments]", wt = "[object Array]", Ct = "[object AsyncFunction]", xt = "[object Boolean]", St = "[object Date]", It = "[object Error]", Z = "[object Function]", zt = "[object GeneratorFunction]", Et = "[object Map]", Pt = "[object Number]", Dt = "[object Null]", Q = "[object Object]", Mt = "[object Proxy]", Ft = "[object RegExp]", Ut = "[object Set]", Nt = "[object String]", Rt = "[object Undefined]", Gt = "[object WeakMap]", Ht = "[object ArrayBuffer]", Lt = "[object DataView]", Bt = "[object Float32Array]", $t = "[object Float64Array]", Kt = "[object Int8Array]", qt = "[object Int16Array]", Vt = "[object Int32Array]", Jt = "[object Uint8Array]", Wt = "[object Uint8ClampedArray]", Xt = "[object Uint16Array]", Yt = "[object Uint32Array]", Zt = /[\\^$.*+?()[\]{}|]/g, Qt = /^\[object .+?Constructor\]$/, kt = /^(?:0|[1-9]\d*)$/, u = {};
|
package/dist/index315.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { debounce as I, memo as u, notUndefined as f, approxEqual as O } from "./
|
1
|
+
import { debounce as I, memo as u, notUndefined as f, approxEqual as O } from "./index316.js";
|
2
2
|
const z = (r) => r, M = (r) => {
|
3
3
|
const h = Math.max(r.startIndex - r.overscan, 0), e = Math.min(r.endIndex + r.overscan, r.count - 1), s = [];
|
4
4
|
for (let t = h; t <= e; t++)
|
package/dist/index316.js
CHANGED
@@ -1,4 +1,49 @@
|
|
1
|
-
|
1
|
+
function D(n, l, e) {
|
2
|
+
let i = e.initialDeps ?? [], t;
|
3
|
+
return () => {
|
4
|
+
var r, c, h, m;
|
5
|
+
let f;
|
6
|
+
e.key && ((r = e.debug) != null && r.call(e)) && (f = Date.now());
|
7
|
+
const o = n();
|
8
|
+
if (!(o.length !== i.length || o.some((a, u) => i[u] !== a)))
|
9
|
+
return t;
|
10
|
+
i = o;
|
11
|
+
let g;
|
12
|
+
if (e.key && ((c = e.debug) != null && c.call(e)) && (g = Date.now()), t = l(...o), e.key && ((h = e.debug) != null && h.call(e))) {
|
13
|
+
const a = Math.round((Date.now() - f) * 100) / 100, u = Math.round((Date.now() - g) * 100) / 100, w = u / 16, s = (d, b) => {
|
14
|
+
for (d = String(d); d.length < b; )
|
15
|
+
d = " " + d;
|
16
|
+
return d;
|
17
|
+
};
|
18
|
+
console.info(
|
19
|
+
`%c⏱ ${s(u, 5)} /${s(a, 5)} ms`,
|
20
|
+
`
|
21
|
+
font-size: .6rem;
|
22
|
+
font-weight: bold;
|
23
|
+
color: hsl(${Math.max(
|
24
|
+
0,
|
25
|
+
Math.min(120 - 120 * w, 120)
|
26
|
+
)}deg 100% 31%);`,
|
27
|
+
e == null ? void 0 : e.key
|
28
|
+
);
|
29
|
+
}
|
30
|
+
return (m = e == null ? void 0 : e.onChange) == null || m.call(e, t), t;
|
31
|
+
};
|
32
|
+
}
|
33
|
+
function T(n, l) {
|
34
|
+
if (n === void 0)
|
35
|
+
throw new Error("Unexpected undefined");
|
36
|
+
return n;
|
37
|
+
}
|
38
|
+
const y = (n, l) => Math.abs(n - l) < 1, M = (n, l, e) => {
|
39
|
+
let i;
|
40
|
+
return function(...t) {
|
41
|
+
n.clearTimeout(i), i = n.setTimeout(() => l.apply(this, t), e);
|
42
|
+
};
|
43
|
+
};
|
2
44
|
export {
|
3
|
-
|
45
|
+
y as approxEqual,
|
46
|
+
M as debounce,
|
47
|
+
D as memo,
|
48
|
+
T as notUndefined
|
4
49
|
};
|
package/dist/index317.js
CHANGED
@@ -1,49 +1,4 @@
|
|
1
|
-
|
2
|
-
let i = e.initialDeps ?? [], t;
|
3
|
-
return () => {
|
4
|
-
var r, c, h, m;
|
5
|
-
let f;
|
6
|
-
e.key && ((r = e.debug) != null && r.call(e)) && (f = Date.now());
|
7
|
-
const o = n();
|
8
|
-
if (!(o.length !== i.length || o.some((a, u) => i[u] !== a)))
|
9
|
-
return t;
|
10
|
-
i = o;
|
11
|
-
let g;
|
12
|
-
if (e.key && ((c = e.debug) != null && c.call(e)) && (g = Date.now()), t = l(...o), e.key && ((h = e.debug) != null && h.call(e))) {
|
13
|
-
const a = Math.round((Date.now() - f) * 100) / 100, u = Math.round((Date.now() - g) * 100) / 100, w = u / 16, s = (d, b) => {
|
14
|
-
for (d = String(d); d.length < b; )
|
15
|
-
d = " " + d;
|
16
|
-
return d;
|
17
|
-
};
|
18
|
-
console.info(
|
19
|
-
`%c⏱ ${s(u, 5)} /${s(a, 5)} ms`,
|
20
|
-
`
|
21
|
-
font-size: .6rem;
|
22
|
-
font-weight: bold;
|
23
|
-
color: hsl(${Math.max(
|
24
|
-
0,
|
25
|
-
Math.min(120 - 120 * w, 120)
|
26
|
-
)}deg 100% 31%);`,
|
27
|
-
e == null ? void 0 : e.key
|
28
|
-
);
|
29
|
-
}
|
30
|
-
return (m = e == null ? void 0 : e.onChange) == null || m.call(e, t), t;
|
31
|
-
};
|
32
|
-
}
|
33
|
-
function T(n, l) {
|
34
|
-
if (n === void 0)
|
35
|
-
throw new Error("Unexpected undefined");
|
36
|
-
return n;
|
37
|
-
}
|
38
|
-
const y = (n, l) => Math.abs(n - l) < 1, M = (n, l, e) => {
|
39
|
-
let i;
|
40
|
-
return function(...t) {
|
41
|
-
n.clearTimeout(i), i = n.setTimeout(() => l.apply(this, t), e);
|
42
|
-
};
|
43
|
-
};
|
1
|
+
var e = { exports: {} };
|
44
2
|
export {
|
45
|
-
|
46
|
-
M as debounce,
|
47
|
-
D as memo,
|
48
|
-
T as notUndefined
|
3
|
+
e as __module
|
49
4
|
};
|
package/dist/index33.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as L, ref as m, toRef as l, openBlock as E, createBlock as $, unref as p, withCtx as t, renderSlot as i, normalizeProps as f, guardReactiveProps as b, createVNode as B, mergeProps as v, createSlots as C } from "vue";
|
2
|
-
import { useOptions as w } from "./
|
2
|
+
import { useOptions as w } from "./index228.js";
|
3
3
|
import q from "./index31.js";
|
4
4
|
/* empty css */
|
5
|
-
import z from "./
|
5
|
+
import z from "./index229.js";
|
6
6
|
/* empty css */
|
7
7
|
const N = /* @__PURE__ */ L({
|
8
8
|
__name: "BaseRadioGroup",
|
package/dist/index35.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as C, ref as g, computed as f, openBlock as l, createElementBlock as i, mergeProps as h, createElementVNode as r, renderSlot as p, Fragment as I, renderList as V, normalizeClass as B, toDisplayString as M } from "vue";
|
2
|
-
import { booleanishToBoolean as D } from "./
|
3
|
-
import { identity as F } from "./
|
4
|
-
import { isCssColor as v } from "./
|
2
|
+
import { booleanishToBoolean as D } from "./index207.js";
|
3
|
+
import { identity as F } from "./index233.js";
|
4
|
+
import { isCssColor as v } from "./index205.js";
|
5
5
|
import { isNotNil as T } from "./index134.js";
|
6
6
|
const $ = { class: "bb-base-rating__inner-container" }, q = { class: "bb-base-rating__label-text sr-only" }, x = ["id", "aria-describedby", "autofocus", "checked", "disabled", "name", "required", "value"], H = ["height", "width"], J = /* @__PURE__ */ C({
|
7
7
|
__name: "BaseRating",
|
package/dist/index37.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as xe, defineAsyncComponent as Me, ref as v, computed as y, toRef as V, openBlock as b, createBlock as S, normalizeClass as W, withCtx as s, renderSlot as p, unref as i, createVNode as
|
1
|
+
import { defineComponent as xe, defineAsyncComponent as Me, ref as v, computed as y, toRef as V, openBlock as b, createBlock as S, normalizeClass as W, withCtx as s, renderSlot as p, unref as i, createVNode as N, createElementVNode as $, createElementBlock as T, Fragment as R, toDisplayString as Ne, createCommentVNode as J, withDirectives as He, isRef as Pe, withModifiers as d, withKeys as g, vModelDynamic as ze, renderList as Qe, mergeProps as Y, Teleport as _e, normalizeStyle as Ke, nextTick as Ue } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
/* empty css */
|
4
4
|
import { useId as We } from "./index8.js";
|
@@ -6,23 +6,23 @@ import { useMobile as Re } from "./index9.js";
|
|
6
6
|
import Je from "./index127.js";
|
7
7
|
/* empty css */
|
8
8
|
import { isNotNil as Ye } from "./index134.js";
|
9
|
-
import { last as je } from "./
|
9
|
+
import { last as je } from "./index222.js";
|
10
10
|
import { matchAnyKey as j } from "./index243.js";
|
11
|
-
import { useFloating as Ge } from "./
|
11
|
+
import { useFloating as Ge } from "./index231.js";
|
12
12
|
import { useIntersectionObserver as Xe } from "./index132.js";
|
13
|
-
import { useLogger as Ze } from "./
|
14
|
-
import { useOptions as et } from "./
|
13
|
+
import { useLogger as Ze } from "./index209.js";
|
14
|
+
import { useOptions as et } from "./index228.js";
|
15
15
|
import { wait as L } from "./index131.js";
|
16
|
-
import { when as tt } from "./
|
16
|
+
import { when as tt } from "./index206.js";
|
17
17
|
import ot from "./index244.js";
|
18
18
|
/* empty css */
|
19
19
|
import nt from "./index246.js";
|
20
20
|
/* empty css */
|
21
|
-
import lt from "./
|
21
|
+
import lt from "./index210.js";
|
22
22
|
/* empty css */
|
23
|
-
import at from "./
|
24
|
-
import { waitFor as it } from "./
|
25
|
-
import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./
|
23
|
+
import at from "./index212.js";
|
24
|
+
import { waitFor as it } from "./index235.js";
|
25
|
+
import { autoUpdate as rt, flip as st, offset as ut, shift as pt } from "./index237.js";
|
26
26
|
const dt = { class: "bb-base-select__input-container" }, ct = {
|
27
27
|
key: 1,
|
28
28
|
class: "bb-base-select__max-reached"
|
@@ -71,11 +71,11 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
71
71
|
const t = G, h = X;
|
72
72
|
if (t.multiple && !Array.isArray(t.modelValue))
|
73
73
|
throw new Error('Multiple is set to "true" but modelValue is not an array.');
|
74
|
-
const Z = Me(() => import("./index242.js")), A = v(null), B = v(null), a = v(null),
|
75
|
-
() => t.comma ?
|
74
|
+
const Z = Me(() => import("./index242.js")), A = v(null), B = v(null), a = v(null), H = v(null), P = v(null), u = y(
|
75
|
+
() => t.comma ? H.value : P.value
|
76
76
|
), { isMobile: ee } = Re(), te = y(
|
77
77
|
() => t.allowWriting === "not-mobile" && ee.value ? "none" : void 0
|
78
|
-
),
|
78
|
+
), z = t.id || We().id.value;
|
79
79
|
Xe(
|
80
80
|
B,
|
81
81
|
([{ intersectionRatio: e }]) => {
|
@@ -149,7 +149,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
149
149
|
}
|
150
150
|
const n = l.value.trim();
|
151
151
|
if (De(n)) return;
|
152
|
-
he(),
|
152
|
+
he(), K(je(Ie.value));
|
153
153
|
}
|
154
154
|
}
|
155
155
|
}, me = async () => {
|
@@ -161,8 +161,8 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
161
161
|
query: l,
|
162
162
|
alignQueryToState: be,
|
163
163
|
addCurrentQueryToManualItems: he,
|
164
|
-
innerLoading:
|
165
|
-
options:
|
164
|
+
innerLoading: Q,
|
165
|
+
options: _,
|
166
166
|
selectedOptions: f,
|
167
167
|
selectOption: ge,
|
168
168
|
unselectOption: we,
|
@@ -190,28 +190,28 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
190
190
|
depsDebounceTime: t.depsDebounceTime,
|
191
191
|
queryDebounceTime: t.queryDebounceTime,
|
192
192
|
disabled: V(t, "disabled")
|
193
|
-
}), Se = y(() => f.value.length ? "" : t.placeholder), I = y(() => !!(
|
193
|
+
}), Se = y(() => f.value.length ? "" : t.placeholder), I = y(() => !!(Q.value || t.loading)), $e = y(() => {
|
194
194
|
let e = [];
|
195
195
|
const o = f.value.some(
|
196
196
|
(r) => r.text === l.value
|
197
197
|
);
|
198
|
-
return (t.multiple && l.value || l.value && !o && !t.multiple) && t.filterBy ? e =
|
198
|
+
return (t.multiple && l.value || l.value && !o && !t.multiple) && t.filterBy ? e = _.value.filter((r) => {
|
199
199
|
let m = !1;
|
200
200
|
return typeof t.filterBy == "function" ? m = t.filterBy(r.value, r.item) : Array.isArray(t.filterBy) && t.filterBy.length && (m = m || j(r.item, t.filterBy, l.value.trim())), m || j(r, ["text"], l.value.trim());
|
201
|
-
}) : e =
|
202
|
-
}),
|
201
|
+
}) : e = _.value, e;
|
202
|
+
}), K = (e) => {
|
203
203
|
ge(e), E(), t.multiple || C();
|
204
|
-
},
|
204
|
+
}, U = (e) => {
|
205
205
|
we(e), E();
|
206
|
-
}, c = v(!1), F = v(!0),
|
207
|
-
|
206
|
+
}, c = v(!1), F = v(!0), x = v(!1), O = async () => {
|
207
|
+
x.value = !0, await it(() => !!a.value), F.value = !1, c.value = !0;
|
208
208
|
}, C = async () => {
|
209
209
|
var e;
|
210
210
|
c.value = !1, F.value = !0, (e = u.value) == null || e.blur();
|
211
|
-
}, Te = () => c.value ? C() : O(),
|
212
|
-
|
211
|
+
}, Te = () => c.value ? C() : O(), M = v(!1), Le = () => {
|
212
|
+
M.value = !0;
|
213
213
|
}, Ae = () => {
|
214
|
-
|
214
|
+
M.value = !1, h("inactive");
|
215
215
|
}, qe = (e) => {
|
216
216
|
e.preventDefault(), h("click", e), !(t.disabled || t.readonly) && (E(), Te());
|
217
217
|
}, Ee = tt(
|
@@ -231,7 +231,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
231
231
|
ref: A,
|
232
232
|
class: W({
|
233
233
|
"bb-base-select": !0,
|
234
|
-
"bb-base-select--active":
|
234
|
+
"bb-base-select--active": M.value,
|
235
235
|
"bb-base-select--shown": c.value,
|
236
236
|
"bb-base-select--loading": I.value,
|
237
237
|
"bb-base-select--disabled": e.disabled,
|
@@ -247,7 +247,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
247
247
|
p(e.$slots, "append-outer", { query: i(l) })
|
248
248
|
]),
|
249
249
|
default: s(() => [
|
250
|
-
|
250
|
+
N(lt, {
|
251
251
|
ref_key: "innerContainer",
|
252
252
|
ref: B,
|
253
253
|
"append:icon": t["append:icon"],
|
@@ -267,30 +267,30 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
267
267
|
p(e.$slots, "suffix")
|
268
268
|
]),
|
269
269
|
default: s(() => [
|
270
|
-
|
270
|
+
N(i(Je), { tag: "span" }, {
|
271
271
|
default: s(() => [
|
272
272
|
$("span", dt, [
|
273
273
|
e.multiple && i(f).length <= e.maxSelectedLabels ? (b(), T(R, { key: 0 }, [
|
274
274
|
e.comma ? (b(), S(nt, {
|
275
275
|
key: 0,
|
276
276
|
ref_key: "commaBox",
|
277
|
-
ref:
|
277
|
+
ref: H,
|
278
278
|
options: i(f)
|
279
279
|
}, null, 8, ["options"])) : (b(), S(ot, {
|
280
280
|
key: 1,
|
281
281
|
ref_key: "chipsBox",
|
282
|
-
ref:
|
282
|
+
ref: P,
|
283
283
|
options: i(f),
|
284
|
-
"onOption:unselected":
|
284
|
+
"onOption:unselected": U
|
285
285
|
}, null, 8, ["options"]))
|
286
286
|
], 64)) : e.multiple ? (b(), T("span", ct, Ne(i(f).length) + " elementi selezionati ", 1)) : J("", !0),
|
287
287
|
He($("input", {
|
288
|
-
id: i(
|
288
|
+
id: i(z),
|
289
289
|
ref_key: "input",
|
290
290
|
ref: q,
|
291
291
|
"onUpdate:modelValue": o[0] || (o[0] = (n) => Pe(l) ? l.value = n : null),
|
292
292
|
"aria-autocomplete": "list",
|
293
|
-
"aria-controls": `${i(
|
293
|
+
"aria-controls": x.value ? `${i(z)}_listbox` : void 0,
|
294
294
|
"aria-describedby": e.ariaDescribedby,
|
295
295
|
"aria-expanded": c.value,
|
296
296
|
autocomplete: e.autocomplete,
|
@@ -325,7 +325,7 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
325
325
|
_: 1
|
326
326
|
}),
|
327
327
|
p(e.$slots, "chevron", {
|
328
|
-
loading: !!i(
|
328
|
+
loading: !!i(Q),
|
329
329
|
shown: c.value
|
330
330
|
}, () => [
|
331
331
|
o[1] || (o[1] = $("svg", {
|
@@ -346,19 +346,19 @@ const dt = { class: "bb-base-select__input-container" }, ct = {
|
|
346
346
|
key: n.value,
|
347
347
|
ref_for: !0
|
348
348
|
}, n), null, 16))), 128)),
|
349
|
-
|
349
|
+
x.value ? (b(), S(_e, {
|
350
350
|
key: 0,
|
351
351
|
to: "body"
|
352
352
|
}, [
|
353
|
-
|
353
|
+
N(i(Z), {
|
354
354
|
ref_key: "optionsContainer",
|
355
355
|
ref: a,
|
356
356
|
loading: I.value,
|
357
357
|
open: c.value,
|
358
358
|
options: $e.value,
|
359
359
|
style: Ke(ne.value),
|
360
|
-
"onOption:selected":
|
361
|
-
"onOption:unselected":
|
360
|
+
"onOption:selected": K,
|
361
|
+
"onOption:unselected": U
|
362
362
|
}, {
|
363
363
|
"options:prepend": s(() => [
|
364
364
|
p(e.$slots, "options:prepend")
|
package/dist/index39.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as U, ref as d, computed as h, onMounted as W, watch as Z, openBlock as g, createElementBlock as w, mergeProps as T, renderSlot as f, createElementVNode as c, Fragment as ee, renderList as ae, createCommentVNode as H, normalizeProps as re, guardReactiveProps as te, unref as b, normalizeClass as F, normalizeStyle as I } from "vue";
|
2
|
-
import { clamp as le } from "./
|
3
|
-
import { head as O } from "./
|
4
|
-
import { isCssColor as Y } from "./
|
2
|
+
import { clamp as le } from "./index204.js";
|
3
|
+
import { head as O } from "./index248.js";
|
4
|
+
import { isCssColor as Y } from "./index205.js";
|
5
5
|
import { isNil as P } from "./index129.js";
|
6
6
|
import { isNotNil as ne } from "./index134.js";
|
7
7
|
import { transposeValue as y } from "./index130.js";
|
8
|
-
import { hash as J } from "./
|
8
|
+
import { hash as J } from "./index221.js";
|
9
9
|
const oe = { class: "bb-base-slider__slider-container" }, ie = {
|
10
10
|
key: 0,
|
11
11
|
class: "bb-base-slider__ticks-container"
|
package/dist/index41.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as I, ref as f, computed as n, watch as S, openBlock as h, createElementBlock as y, normalizeProps as r, guardReactiveProps as d, mergeProps as V, createCommentVNode as q, createElementVNode as l, renderSlot as A } from "vue";
|
2
|
-
import { isCssColor as b } from "./
|
3
|
-
import { when as F } from "./
|
2
|
+
import { isCssColor as b } from "./index205.js";
|
3
|
+
import { when as F } from "./index206.js";
|
4
4
|
const N = { class: "bb-base-switch-container" }, $ = /* @__PURE__ */ I({
|
5
5
|
__name: "BaseSwitch",
|
6
6
|
props: {
|
package/dist/index43.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as $, ref as p, toRef as l, openBlock as w, createBlock as B, unref as f, withCtx as i, renderSlot as s, normalizeProps as b, guardReactiveProps as h, createVNode as O, mergeProps as v, createSlots as z } from "vue";
|
2
|
-
import { useOptions as F } from "./
|
2
|
+
import { useOptions as F } from "./index228.js";
|
3
3
|
import M from "./index41.js";
|
4
4
|
/* empty css */
|
5
|
-
import S from "./
|
5
|
+
import S from "./index229.js";
|
6
6
|
/* empty css */
|
7
7
|
const I = /* @__PURE__ */ $({
|
8
8
|
__name: "BaseSwitchGroup",
|
package/dist/index45.js
CHANGED
@@ -4,15 +4,15 @@ import { defineComponent as Y, ref as i, computed as k, toRef as B, openBlock as
|
|
4
4
|
import ue from "./index127.js";
|
5
5
|
/* empty css */
|
6
6
|
import { isNotNil as se } from "./index134.js";
|
7
|
-
import { last as de } from "./
|
8
|
-
import { useOptions as pe } from "./
|
7
|
+
import { last as de } from "./index222.js";
|
8
|
+
import { useOptions as pe } from "./index228.js";
|
9
9
|
import ce from "./index244.js";
|
10
10
|
/* empty css */
|
11
11
|
import me from "./index246.js";
|
12
12
|
/* empty css */
|
13
|
-
import fe from "./
|
13
|
+
import fe from "./index210.js";
|
14
14
|
/* empty css */
|
15
|
-
import ve from "./
|
15
|
+
import ve from "./index212.js";
|
16
16
|
const ye = { class: "bb-base-tag__input-container" }, be = ["id", "aria-describedby", "autocomplete", "autofocus", "disabled", "placeholder", "readonly", "required", "onKeydown"], qe = /* @__PURE__ */ Y({
|
17
17
|
__name: "BaseTag",
|
18
18
|
props: {
|
package/dist/index47.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent as w, ref as g, computed as u, onMounted as y, watch as V, nextTick as k, openBlock as x, createBlock as B, normalizeClass as $, withCtx as r, renderSlot as t, createVNode as i, createElementVNode as C, mergeProps as T } from "vue";
|
2
|
-
import v from "./
|
3
|
-
import E from "./
|
2
|
+
import v from "./index212.js";
|
3
|
+
import E from "./index210.js";
|
4
4
|
/* empty css */
|
5
5
|
import G from "./index127.js";
|
6
6
|
/* empty css */
|
package/dist/index49.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as m, computed as b, openBlock as c, createElementBlock as f, Fragment as y, createVNode as p, normalizeClass as h, withCtx as n, renderSlot as r, createElementVNode as l, mergeProps as g } from "vue";
|
2
|
-
import B from "./
|
2
|
+
import B from "./index210.js";
|
3
3
|
/* empty css */
|
4
|
-
import k from "./
|
4
|
+
import k from "./index212.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: {
|
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 "./index205.js";
|
3
3
|
import { wait as C } from "./index131.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 "./index205.js";
|
3
3
|
import { isNil as B } from "./index129.js";
|
4
4
|
const C = { class: "bb-badge__wrapper" }, h = { class: "bb-badge__content-inner" }, S = /* @__PURE__ */ p({
|
5
5
|
__name: "BbBadge",
|
package/dist/index61.js
CHANGED
@@ -7,8 +7,8 @@ import r from "./index126.js";
|
|
7
7
|
/* empty css */
|
8
8
|
import $ from "./index128.js";
|
9
9
|
/* empty css */
|
10
|
-
import { pickBy as P } from "./
|
11
|
-
import { noop as T } from "./
|
10
|
+
import { pickBy as P } from "./index240.js";
|
11
|
+
import { noop as T } from "./index241.js";
|
12
12
|
const W = {
|
13
13
|
key: 2,
|
14
14
|
class: "bb-button__loading-label sr-only"
|
package/dist/index63.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import
|
1
|
+
import { defineComponent as c, ref as f, computed as v, openBlock as y, createBlock as k, withCtx as r, renderSlot as n, normalizeProps as w, guardReactiveProps as B, createVNode as V, mergeProps as i } from "vue";
|
2
|
+
import g from "./index17.js";
|
3
3
|
/* empty css */
|
4
|
-
import
|
4
|
+
import P from "./index27.js";
|
5
5
|
/* empty css */
|
6
|
-
const
|
6
|
+
const E = /* @__PURE__ */ c({
|
7
7
|
__name: "BbCheckbox",
|
8
8
|
props: {
|
9
9
|
autofocus: {},
|
@@ -32,7 +32,7 @@ const M = /* @__PURE__ */ f({
|
|
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 =
|
35
|
+
const u = s, o = t, a = f(!1), d = v(() => u.persistentHint || a.value), p = {
|
36
36
|
onBlur: (e) => {
|
37
37
|
a.value = !1, o("blur", e);
|
38
38
|
},
|
@@ -47,7 +47,7 @@ const M = /* @__PURE__ */ f({
|
|
47
47
|
onMouseup: (e) => o("mouseup", e),
|
48
48
|
"onUpdate:modelValue": (e) => o("update:modelValue", e)
|
49
49
|
};
|
50
|
-
return (e,
|
50
|
+
return (e, C) => (y(), k(P, {
|
51
51
|
id: e.id,
|
52
52
|
class: "bb-checkbox",
|
53
53
|
direction: e.direction,
|
@@ -65,28 +65,28 @@ const M = /* @__PURE__ */ f({
|
|
65
65
|
tag: "label"
|
66
66
|
}, {
|
67
67
|
label: r((l) => [
|
68
|
-
n(e.$slots, "label", B(
|
68
|
+
n(e.$slots, "label", w(B(l)))
|
69
69
|
]),
|
70
|
-
input: r(({ id: l,
|
71
|
-
g
|
70
|
+
input: r(({ id: l, hasErrors: m, ariaDescribedby: b }) => [
|
71
|
+
V(g, i({
|
72
72
|
id: l,
|
73
|
-
"aria-describedby":
|
73
|
+
"aria-describedby": b,
|
74
74
|
autofocus: e.autofocus,
|
75
75
|
checked: e.checked,
|
76
76
|
color: e.color,
|
77
77
|
disabled: e.disabled,
|
78
78
|
"false-value": e.falseValue,
|
79
|
-
"has-errors":
|
79
|
+
"has-errors": m,
|
80
80
|
indeterminate: e.indeterminate,
|
81
81
|
"model-value": e.modelValue,
|
82
|
-
name:
|
82
|
+
name: e.name,
|
83
83
|
readonly: e.readonly,
|
84
84
|
required: e.required,
|
85
85
|
"submit-when-false": e.submitWhenFalse,
|
86
86
|
"true-value": e.trueValue
|
87
87
|
}, p), {
|
88
|
-
icon: r((
|
89
|
-
n(e.$slots, "icon", i(
|
88
|
+
icon: r((h) => [
|
89
|
+
n(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"])
|
@@ -96,5 +96,5 @@ const M = /* @__PURE__ */ f({
|
|
96
96
|
}
|
97
97
|
});
|
98
98
|
export {
|
99
|
-
|
99
|
+
E as default
|
100
100
|
};
|