bitboss-ui 2.0.102 → 2.0.104
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/BaseSelect/BaseSelect.vue.d.ts +10 -16
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +109 -7
- package/dist/components/BbSelect/BbSelect.vue.d.ts +2 -16
- package/dist/composables/useBaseOptions.d.ts +31 -0
- package/dist/composables/useCoherence.d.ts +20 -0
- package/dist/composables/useHashedWatcher.d.ts +2 -0
- package/dist/composables/useIndexById.d.ts +11 -0
- package/dist/composables/useItemsGetter.d.ts +12 -0
- package/dist/composables/usePrefill.d.ts +12 -0
- package/dist/index100.js +88 -60
- package/dist/index101.js +10 -13
- package/dist/index111.js +154 -126
- package/dist/index119.js +2 -2
- package/dist/index121.js +5 -5
- 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 +22 -22
- package/dist/index131.js +1 -1
- package/dist/index132.js +69 -65
- package/dist/index133.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +126 -82
- package/dist/index205.js +2 -81
- package/dist/index206.js +115 -2
- package/dist/index207.js +2 -2
- package/dist/index208.js +2 -2
- package/dist/index209.js +2 -2
- package/dist/index210.js +3 -3
- package/dist/index211.js +2 -2
- package/dist/index212.js +2 -2
- package/dist/index213.js +1 -1
- package/dist/index216.js +3 -3
- package/dist/index219.js +2 -2
- package/dist/index220.js +1 -1
- package/dist/index221.js +124 -51
- package/dist/{index235.js → index222.js} +1 -1
- package/dist/index223.js +2 -13
- package/dist/index224.js +41 -2
- package/dist/index225.js +20 -4
- package/dist/index226.js +6 -2
- package/dist/index227.js +51 -18
- package/dist/index229.js +12 -2
- package/dist/index23.js +11 -11
- package/dist/index230.js +5 -168
- package/dist/index231.js +10 -82
- package/dist/index232.js +371 -0
- package/dist/index233.js +4 -8
- package/dist/index234.js +83 -125
- package/dist/index236.js +8 -2
- package/dist/index237.js +24 -40
- package/dist/index238.js +17 -6
- package/dist/index239.js +48 -5
- package/dist/index240.js +15 -12
- package/dist/index241.js +11 -368
- package/dist/index242.js +16 -3
- package/dist/index243.js +2 -7
- package/dist/index244.js +4 -2
- package/dist/index245.js +2 -18
- package/dist/index246.js +3 -106
- package/dist/index247.js +9 -0
- package/dist/index248.js +2 -100
- package/dist/index249.js +20 -0
- package/dist/index25.js +5 -5
- package/dist/index250.js +106 -2
- package/dist/index252.js +100 -10
- package/dist/index254.js +11 -8
- package/dist/index255.js +2 -23
- package/dist/index256.js +3 -89
- package/dist/index257.js +4 -0
- package/dist/index258.js +10 -9
- package/dist/index259.js +3 -6
- package/dist/index260.js +8 -15
- package/dist/index261.js +23 -9
- package/dist/index262.js +88 -7
- package/dist/index264.js +8 -5
- package/dist/index265.js +6 -2
- package/dist/index266.js +16 -2
- package/dist/index267.js +281 -2
- package/dist/index268.js +6 -2
- package/dist/index269.js +2 -2
- package/dist/index27.js +1 -1
- package/dist/index271.js +2 -2
- package/dist/index272.js +2 -2
- package/dist/index273.js +2 -2
- package/dist/index274.js +2 -2
- package/dist/index275.js +2 -28
- package/dist/index276.js +1 -21
- package/dist/index277.js +4 -0
- package/dist/index278.js +2 -7
- package/dist/index279.js +28 -3
- package/dist/index280.js +24 -0
- package/dist/index282.js +7 -224
- package/dist/index283.js +3 -176
- package/dist/index284.js +7 -3
- package/dist/index285.js +11 -12
- package/dist/index286.js +16 -8
- package/dist/index287.js +7 -15
- package/dist/index288.js +3 -4
- package/dist/index29.js +3 -3
- package/dist/index290.js +174 -9
- package/dist/index293.js +1 -1
- package/dist/index296.js +1 -1
- package/dist/index297.js +3 -88
- package/dist/index298.js +8 -200
- package/dist/index301.js +200 -2
- package/dist/index302.js +89 -3
- package/dist/index303.js +1 -1
- package/dist/index304.js +3 -213
- package/dist/index305.js +206 -59
- package/dist/index306.js +224 -5
- package/dist/index307.js +5 -3
- package/dist/index308.js +2 -3
- package/dist/index309.js +66 -3
- package/dist/index31.js +2 -2
- package/dist/index310.js +3 -58
- package/dist/index311.js +6 -32
- package/dist/index312.js +18 -7
- package/dist/index313.js +5 -8
- package/dist/index314.js +7 -4
- package/dist/index315.js +3 -8
- package/dist/index316.js +3 -7
- package/dist/index317.js +56 -17
- package/dist/index318.js +8 -7
- package/dist/index319.js +8 -4
- package/dist/index320.js +7 -2
- package/dist/index321.js +3 -46
- package/dist/index322.js +33 -480
- package/dist/index323.js +49 -0
- package/dist/index324.js +2 -424
- package/dist/index325.js +479 -46
- package/dist/index327.js +426 -0
- package/dist/index328.js +49 -0
- package/dist/index33.js +102 -61
- package/dist/index35.js +3 -3
- package/dist/index37.js +284 -244
- package/dist/index39.js +4 -4
- package/dist/index41.js +2 -2
- package/dist/index43.js +129 -84
- package/dist/index45.js +122 -120
- package/dist/index47.js +2 -2
- package/dist/index49.js +2 -2
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +2 -2
- package/dist/index75.js +3 -3
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index84.js +3 -3
- package/dist/index86.js +1 -1
- package/dist/index88.js +4 -4
- package/dist/index90.js +1 -1
- package/package.json +1 -1
- package/dist/composables/useOptions.d.ts +0 -43
- package/dist/index228.js +0 -6
- package/dist/index251.js +0 -4
- package/dist/index253.js +0 -5
- package/dist/index263.js +0 -283
- package/dist/index281.js +0 -6
- package/dist/index289.js +0 -9
- /package/dist/{index326.js → index329.js} +0 -0
package/dist/index13.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { defineComponent as h, getCurrentInstance as p, ref as C, watch as x, computed as d, openBlock as S, createBlock as L, resolveDynamicComponent as B,
|
2
|
-
import { _config as
|
3
|
-
import { useLogger as
|
1
|
+
import { defineComponent as h, getCurrentInstance as p, ref as C, watch as x, computed as d, openBlock as S, createBlock as L, resolveDynamicComponent as B, markRaw as N, unref as $, mergeProps as F, withCtx as w, renderSlot as A, createTextVNode as P, toDisplayString as _, resolveComponent as m } from "vue";
|
2
|
+
import { _config as o } from "./index4.js";
|
3
|
+
import { useLogger as f } from "./index215.js";
|
4
4
|
import { hash as v } from "./index213.js";
|
5
|
-
const
|
5
|
+
const R = /* @__PURE__ */ h({
|
6
6
|
__name: "BaseButton",
|
7
7
|
props: {
|
8
8
|
activeClass: {},
|
@@ -35,34 +35,34 @@ const q = /* @__PURE__ */ h({
|
|
35
35
|
setup(g) {
|
36
36
|
var i, l, u, c;
|
37
37
|
const e = g, r = !!((l = (i = p()) == null ? void 0 : i.proxy) != null && l.$inertia), b = !!((c = (u = p()) == null ? void 0 : u.proxy) != null && c.$nuxt);
|
38
|
-
let
|
38
|
+
let a = C();
|
39
39
|
const s = () => {
|
40
40
|
if (e.href || e.to && e.disabled)
|
41
41
|
if (r && !e.disabled && !e.target) {
|
42
|
-
const t =
|
42
|
+
const t = m(o.inertiaLinkName);
|
43
43
|
if (typeof t == "string") {
|
44
|
-
const { warn: n } =
|
44
|
+
const { warn: n } = f();
|
45
45
|
n(
|
46
|
-
`Inertia link component "${
|
46
|
+
`Inertia link component "${o.inertiaLinkName}" could not be resolved. Ensure you app registers a link component with the name "${o.inertiaLinkName}" or set bitboss-ui config key "inertiaLinkName" to the correct value globally. Please visit ${o.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
|
47
47
|
);
|
48
48
|
}
|
49
|
-
|
49
|
+
a.value = t;
|
50
50
|
} else
|
51
|
-
|
51
|
+
a.value = "a";
|
52
52
|
else if (e.to)
|
53
53
|
if (b) {
|
54
|
-
const t =
|
54
|
+
const t = m(o.nuxtLinkName);
|
55
55
|
if (typeof t == "string") {
|
56
|
-
const { warn: n } =
|
56
|
+
const { warn: n } = f();
|
57
57
|
n(
|
58
|
-
`Nuxt link component "${
|
58
|
+
`Nuxt link component "${o.nuxtLinkName}" could not be resolved. Ensure you app registers a link component with the name "${o.nuxtLinkName}" or set bitboss-ui config key "nuxtLInkName" to the correct value globally. Please visit ${o.documentationURL}/getting-started to resolve setup issues in bitboss-ui.`
|
59
59
|
);
|
60
60
|
}
|
61
|
-
|
61
|
+
a.value = t;
|
62
62
|
} else
|
63
|
-
|
63
|
+
a.value = "router-link";
|
64
64
|
else
|
65
|
-
|
65
|
+
a.value = e.tag;
|
66
66
|
};
|
67
67
|
s(), x(
|
68
68
|
() => [e.tag, e.to, e.href, e.disabled],
|
@@ -76,12 +76,12 @@ const q = /* @__PURE__ */ h({
|
|
76
76
|
"base-btn--disabled": e.disabled
|
77
77
|
})), k = d(() => {
|
78
78
|
const t = {};
|
79
|
-
return
|
79
|
+
return a.value === "button" ? (t.disabled = e.disabled, t.type = e.type) : a.value === "a" || a.value === "router-link" && e.disabled || r && typeof a.value != "string" && a.value.name === "Link" ? e.disabled ? (t["aria-disabled"] = !0, t.role = "link", t.href = null) : (t.href = e.href, t.target = e.target, r && (t.data = e.data, t.headers = e.headers, t.method = e.method, t.onBefore = e.onBefore, t.onCancel = e.onCancel, t.onCancelToken = e.onCancelToken, t.onFinish = e.onFinish, t.only = e.only, t.onProgress = e.onProgress, t.onStart = e.onStart, t.onSuccess = e.onSuccess, t.preserveScroll = e.preserveScroll, t.preserveState = e.preserveState, t.queryStringArrayFormat = e.queryStringArrayFormat, t.replace = e.replace)) : (a.value === "router-link" || typeof a.value != "string" && a.value.name === "NuxtLink") && (t.activeClass = e.activeClass, t.ariaCurrentValue = e.ariaCurrentValue, t.exactActiveClass = e.exactActiveClass, t.replace = e.replace, t.target = e.target, t.to = e.to), t;
|
80
80
|
});
|
81
|
-
return (t, n) => (S(), L(B(N(
|
82
|
-
default:
|
83
|
-
|
84
|
-
|
81
|
+
return (t, n) => (S(), L(B(N($(a))), F({ class: y.value }, k.value), {
|
82
|
+
default: w(() => [
|
83
|
+
A(t.$slots, "default", {}, () => [
|
84
|
+
P(_(t.text), 1)
|
85
85
|
])
|
86
86
|
]),
|
87
87
|
_: 3
|
@@ -89,5 +89,5 @@ const q = /* @__PURE__ */ h({
|
|
89
89
|
}
|
90
90
|
});
|
91
91
|
export {
|
92
|
-
|
92
|
+
R as default
|
93
93
|
};
|
package/dist/index131.js
CHANGED
package/dist/index132.js
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as
|
2
|
-
import {
|
3
|
-
import { computed as
|
1
|
+
import { toValue as O, tryOnScopeDispose as R, notNullish as $, noop as W, useDebounceFn as q, useThrottleFn as G, tryOnMounted as X, isObject as J, isClient as K } from "./index206.js";
|
2
|
+
import { bypassFilter as ve, createFilterWrapper as de, debounceFilter as pe, debouncedWatch as he, getLifeCycleTarget as me, throttleFilter as be, debouncedWatch as ge, watchWithFilter as ye } from "./index206.js";
|
3
|
+
import { computed as w, watch as z, ref as S, reactive as k, getCurrentInstance as U, onMounted as Z, watchEffect as ee } from "vue";
|
4
4
|
function L(l) {
|
5
5
|
var o;
|
6
6
|
const n = O(l);
|
7
7
|
return (o = n == null ? void 0 : n.$el) != null ? o : n;
|
8
8
|
}
|
9
|
-
const
|
9
|
+
const M = K ? window : void 0;
|
10
10
|
function P(...l) {
|
11
11
|
let o, n, t, e;
|
12
|
-
if (typeof l[0] == "string" || Array.isArray(l[0]) ? ([n, t, e] = l, o =
|
13
|
-
return
|
12
|
+
if (typeof l[0] == "string" || Array.isArray(l[0]) ? ([n, t, e] = l, o = M) : [o, n, t, e] = l, !o)
|
13
|
+
return W;
|
14
14
|
Array.isArray(n) || (n = [n]), Array.isArray(t) || (t = [t]);
|
15
15
|
const f = [], a = () => {
|
16
16
|
f.forEach((i) => i()), f.length = 0;
|
@@ -21,7 +21,7 @@ function P(...l) {
|
|
21
21
|
return;
|
22
22
|
const d = J(u) ? { ...u } : u;
|
23
23
|
f.push(
|
24
|
-
...n.flatMap((b) => t.map((
|
24
|
+
...n.flatMap((b) => t.map((h) => v(i, b, h, d)))
|
25
25
|
);
|
26
26
|
},
|
27
27
|
{ immediate: !0, flush: "post" }
|
@@ -31,19 +31,19 @@ function P(...l) {
|
|
31
31
|
return R(c), c;
|
32
32
|
}
|
33
33
|
function te() {
|
34
|
-
const l =
|
34
|
+
const l = S(!1), o = U();
|
35
35
|
return o && Z(() => {
|
36
36
|
l.value = !0;
|
37
37
|
}, o), l;
|
38
38
|
}
|
39
39
|
function V(l) {
|
40
40
|
const o = te();
|
41
|
-
return
|
41
|
+
return w(() => (o.value, !!l()));
|
42
42
|
}
|
43
43
|
function ne(l, o = {}) {
|
44
|
-
const { window: n =
|
44
|
+
const { window: n = M } = o, t = V(() => n && "matchMedia" in n && typeof n.matchMedia == "function");
|
45
45
|
let e;
|
46
|
-
const f =
|
46
|
+
const f = S(!1), a = (c) => {
|
47
47
|
f.value = c.matches;
|
48
48
|
}, v = () => {
|
49
49
|
e && ("removeEventListener" in e ? e.removeEventListener("change", a) : e.removeListener(a));
|
@@ -55,11 +55,11 @@ function ne(l, o = {}) {
|
|
55
55
|
}), f;
|
56
56
|
}
|
57
57
|
function le(l, o, n = {}) {
|
58
|
-
const { window: t =
|
58
|
+
const { window: t = M, ...e } = n;
|
59
59
|
let f;
|
60
60
|
const a = V(() => t && "ResizeObserver" in t), v = () => {
|
61
61
|
f && (f.disconnect(), f = void 0);
|
62
|
-
}, p =
|
62
|
+
}, p = w(() => {
|
63
63
|
const u = O(l);
|
64
64
|
return Array.isArray(u) ? u.map((d) => L(d)) : [L(u)];
|
65
65
|
}), c = z(
|
@@ -85,17 +85,17 @@ function ue(l, o, n = {}) {
|
|
85
85
|
root: t,
|
86
86
|
rootMargin: e = "0px",
|
87
87
|
threshold: f = 0,
|
88
|
-
window: a =
|
88
|
+
window: a = M,
|
89
89
|
immediate: v = !0
|
90
|
-
} = n, p = V(() => a && "IntersectionObserver" in a), c =
|
91
|
-
const
|
92
|
-
return (Array.isArray(
|
90
|
+
} = n, p = V(() => a && "IntersectionObserver" in a), c = w(() => {
|
91
|
+
const h = O(l);
|
92
|
+
return (Array.isArray(h) ? h : [h]).map(L).filter($);
|
93
93
|
});
|
94
|
-
let i =
|
95
|
-
const u =
|
94
|
+
let i = W;
|
95
|
+
const u = S(v), d = p.value ? z(
|
96
96
|
() => [c.value, L(t), u.value],
|
97
|
-
([
|
98
|
-
if (i(), !u.value || !
|
97
|
+
([h, I]) => {
|
98
|
+
if (i(), !u.value || !h.length)
|
99
99
|
return;
|
100
100
|
const T = new IntersectionObserver(
|
101
101
|
o,
|
@@ -105,12 +105,12 @@ function ue(l, o, n = {}) {
|
|
105
105
|
threshold: f
|
106
106
|
}
|
107
107
|
);
|
108
|
-
|
109
|
-
T.disconnect(), i =
|
108
|
+
h.forEach((m) => m && T.observe(m)), i = () => {
|
109
|
+
T.disconnect(), i = W;
|
110
110
|
};
|
111
111
|
},
|
112
112
|
{ immediate: v, flush: "post" }
|
113
|
-
) :
|
113
|
+
) : W, b = () => {
|
114
114
|
i(), d(), u.value = !1;
|
115
115
|
};
|
116
116
|
return R(b), {
|
@@ -130,8 +130,8 @@ function se(l, o = {}) {
|
|
130
130
|
const {
|
131
131
|
throttle: n = 0,
|
132
132
|
idle: t = 200,
|
133
|
-
onStop: e =
|
134
|
-
onScroll: f =
|
133
|
+
onStop: e = W,
|
134
|
+
onScroll: f = W,
|
135
135
|
offset: a = {
|
136
136
|
left: 0,
|
137
137
|
right: 0,
|
@@ -143,18 +143,18 @@ function se(l, o = {}) {
|
|
143
143
|
passive: !0
|
144
144
|
},
|
145
145
|
behavior: p = "auto",
|
146
|
-
window: c =
|
146
|
+
window: c = M,
|
147
147
|
onError: i = (r) => {
|
148
148
|
console.error(r);
|
149
149
|
}
|
150
|
-
} = o, u =
|
150
|
+
} = o, u = S(0), d = S(0), b = w({
|
151
151
|
get() {
|
152
152
|
return u.value;
|
153
153
|
},
|
154
154
|
set(r) {
|
155
155
|
I(r, void 0);
|
156
156
|
}
|
157
|
-
}),
|
157
|
+
}), h = w({
|
158
158
|
get() {
|
159
159
|
return d.value;
|
160
160
|
},
|
@@ -163,21 +163,21 @@ function se(l, o = {}) {
|
|
163
163
|
}
|
164
164
|
});
|
165
165
|
function I(r, x) {
|
166
|
-
var g,
|
166
|
+
var g, F, N, A;
|
167
167
|
if (!c)
|
168
168
|
return;
|
169
169
|
const E = O(l);
|
170
170
|
if (!E)
|
171
171
|
return;
|
172
|
-
(
|
173
|
-
top: (g = O(x)) != null ? g :
|
174
|
-
left: (
|
172
|
+
(N = E instanceof Document ? c.document.body : E) == null || N.scrollTo({
|
173
|
+
top: (g = O(x)) != null ? g : h.value,
|
174
|
+
left: (F = O(r)) != null ? F : b.value,
|
175
175
|
behavior: O(p)
|
176
176
|
});
|
177
|
-
const
|
178
|
-
b != null && (u.value =
|
177
|
+
const H = ((A = E == null ? void 0 : E.document) == null ? void 0 : A.documentElement) || (E == null ? void 0 : E.documentElement) || E;
|
178
|
+
b != null && (u.value = H.scrollLeft), h != null && (d.value = H.scrollTop);
|
179
179
|
}
|
180
|
-
const T =
|
180
|
+
const T = S(!1), m = k({
|
181
181
|
left: !0,
|
182
182
|
right: !1,
|
183
183
|
top: !0,
|
@@ -187,26 +187,26 @@ function se(l, o = {}) {
|
|
187
187
|
right: !1,
|
188
188
|
top: !1,
|
189
189
|
bottom: !1
|
190
|
-
}),
|
190
|
+
}), D = (r) => {
|
191
191
|
T.value && (T.value = !1, y.left = !1, y.right = !1, y.top = !1, y.bottom = !1, e(r));
|
192
|
-
},
|
192
|
+
}, C = q(D, n + t), s = (r) => {
|
193
193
|
var x;
|
194
194
|
if (!c)
|
195
195
|
return;
|
196
|
-
const g = ((x = r == null ? void 0 : r.document) == null ? void 0 : x.documentElement) || (r == null ? void 0 : r.documentElement) || L(r), { display:
|
196
|
+
const g = ((x = r == null ? void 0 : r.document) == null ? void 0 : x.documentElement) || (r == null ? void 0 : r.documentElement) || L(r), { display: F, flexDirection: N } = getComputedStyle(g), A = g.scrollLeft;
|
197
197
|
y.left = A < u.value, y.right = A > u.value;
|
198
|
-
const E = Math.abs(A) <= (a.left || 0),
|
199
|
-
|
198
|
+
const E = Math.abs(A) <= (a.left || 0), H = Math.abs(A) + g.clientWidth >= g.scrollWidth - (a.right || 0) - Q;
|
199
|
+
F === "flex" && N === "row-reverse" ? (m.left = H, m.right = E) : (m.left = E, m.right = H), u.value = A;
|
200
200
|
let _ = g.scrollTop;
|
201
201
|
r === c.document && !_ && (_ = c.document.body.scrollTop), y.top = _ < d.value, y.bottom = _ > d.value;
|
202
202
|
const Y = Math.abs(_) <= (a.top || 0), j = Math.abs(_) + g.clientHeight >= g.scrollHeight - (a.bottom || 0) - Q;
|
203
|
-
|
203
|
+
F === "flex" && N === "column-reverse" ? (m.top = j, m.bottom = Y) : (m.top = Y, m.bottom = j), d.value = _;
|
204
204
|
}, B = (r) => {
|
205
205
|
var x;
|
206
206
|
if (!c)
|
207
207
|
return;
|
208
208
|
const g = (x = r.target.documentElement) != null ? x : r.target;
|
209
|
-
s(g), T.value = !0,
|
209
|
+
s(g), T.value = !0, C(r), f(r);
|
210
210
|
};
|
211
211
|
return P(
|
212
212
|
l,
|
@@ -225,13 +225,13 @@ function se(l, o = {}) {
|
|
225
225
|
}), P(
|
226
226
|
l,
|
227
227
|
"scrollend",
|
228
|
-
|
228
|
+
D,
|
229
229
|
v
|
230
230
|
), {
|
231
231
|
x: b,
|
232
|
-
y:
|
232
|
+
y: h,
|
233
233
|
isScrolling: T,
|
234
|
-
arrivedState:
|
234
|
+
arrivedState: m,
|
235
235
|
directions: y,
|
236
236
|
measure() {
|
237
237
|
const r = O(l);
|
@@ -240,7 +240,7 @@ function se(l, o = {}) {
|
|
240
240
|
};
|
241
241
|
}
|
242
242
|
function ie(l, o) {
|
243
|
-
const n =
|
243
|
+
const n = S(l), t = w(() => Array.isArray(n.value) ? n.value : Object.keys(n.value)), e = S(t.value.indexOf(o ?? t.value[0])), f = w(() => i(e.value)), a = w(() => e.value === 0), v = w(() => e.value === t.value.length - 1), p = w(() => t.value[e.value + 1]), c = w(() => t.value[e.value - 1]);
|
244
244
|
function i(s) {
|
245
245
|
return Array.isArray(n.value) ? n.value[s] : n.value[t.value[s]];
|
246
246
|
}
|
@@ -254,25 +254,25 @@ function ie(l, o) {
|
|
254
254
|
function b() {
|
255
255
|
v.value || e.value++;
|
256
256
|
}
|
257
|
-
function
|
257
|
+
function h() {
|
258
258
|
a.value || e.value--;
|
259
259
|
}
|
260
260
|
function I(s) {
|
261
|
-
|
261
|
+
C(s) && d(s);
|
262
262
|
}
|
263
263
|
function T(s) {
|
264
264
|
return t.value.indexOf(s) === e.value + 1;
|
265
265
|
}
|
266
|
-
function
|
266
|
+
function m(s) {
|
267
267
|
return t.value.indexOf(s) === e.value - 1;
|
268
268
|
}
|
269
269
|
function y(s) {
|
270
270
|
return t.value.indexOf(s) === e.value;
|
271
271
|
}
|
272
|
-
function
|
272
|
+
function D(s) {
|
273
273
|
return e.value < t.value.indexOf(s);
|
274
274
|
}
|
275
|
-
function
|
275
|
+
function C(s) {
|
276
276
|
return e.value > t.value.indexOf(s);
|
277
277
|
}
|
278
278
|
return {
|
@@ -288,24 +288,24 @@ function ie(l, o) {
|
|
288
288
|
get: u,
|
289
289
|
goTo: d,
|
290
290
|
goToNext: b,
|
291
|
-
goToPrevious:
|
291
|
+
goToPrevious: h,
|
292
292
|
goBackTo: I,
|
293
293
|
isNext: T,
|
294
|
-
isPrevious:
|
294
|
+
isPrevious: m,
|
295
295
|
isCurrent: y,
|
296
|
-
isBefore:
|
297
|
-
isAfter:
|
296
|
+
isBefore: D,
|
297
|
+
isAfter: C
|
298
298
|
};
|
299
299
|
}
|
300
300
|
function ae(l = {}) {
|
301
301
|
const {
|
302
|
-
window: o =
|
302
|
+
window: o = M,
|
303
303
|
initialWidth: n = Number.POSITIVE_INFINITY,
|
304
304
|
initialHeight: t = Number.POSITIVE_INFINITY,
|
305
305
|
listenOrientation: e = !0,
|
306
306
|
includeScrollbar: f = !0,
|
307
307
|
type: a = "inner"
|
308
|
-
} = l, v =
|
308
|
+
} = l, v = S(n), p = S(t), c = () => {
|
309
309
|
o && (a === "outer" ? (v.value = o.outerWidth, p.value = o.outerHeight) : f ? (v.value = o.innerWidth, p.value = o.innerHeight) : (v.value = o.document.documentElement.clientWidth, p.value = o.document.documentElement.clientHeight));
|
310
310
|
};
|
311
311
|
if (c(), X(c), P("resize", c, { passive: !0 }), e) {
|
@@ -315,15 +315,17 @@ function ae(l = {}) {
|
|
315
315
|
return { width: v, height: p };
|
316
316
|
}
|
317
317
|
export {
|
318
|
-
ve as
|
319
|
-
de as
|
320
|
-
|
321
|
-
|
318
|
+
ve as bypassFilter,
|
319
|
+
de as createFilterWrapper,
|
320
|
+
pe as debounceFilter,
|
321
|
+
he as debouncedWatch,
|
322
|
+
M as defaultWindow,
|
323
|
+
me as getLifeCycleTarget,
|
322
324
|
K as isClient,
|
323
325
|
J as isObject,
|
324
|
-
|
326
|
+
W as noop,
|
325
327
|
$ as notNullish,
|
326
|
-
|
328
|
+
be as throttleFilter,
|
327
329
|
O as toValue,
|
328
330
|
X as tryOnMounted,
|
329
331
|
R as tryOnScopeDispose,
|
@@ -338,5 +340,7 @@ export {
|
|
338
340
|
ie as useStepper,
|
339
341
|
V as useSupported,
|
340
342
|
G as useThrottleFn,
|
341
|
-
ae as useWindowSize
|
343
|
+
ae as useWindowSize,
|
344
|
+
ge as watchDebounced,
|
345
|
+
ye as watchWithFilter
|
342
346
|
};
|
package/dist/index133.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { isArray as p } from "./
|
2
|
-
import { isPlainObject as c } from "./
|
1
|
+
import { isArray as p } from "./index313.js";
|
2
|
+
import { isPlainObject as c } from "./index314.js";
|
3
3
|
function i(e, n, u, l, r) {
|
4
4
|
const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
|
5
5
|
o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
|
package/dist/index15.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as k, ref as y, computed as v, watchPostEffect as h, openBlock as g, createElementBlock as C, Fragment as w, createVNode as d, normalizeClass as B, withCtx as n, renderSlot as r, createElementVNode as s, normalizeStyle as V, withModifiers as H, withDirectives as E, mergeProps as q, unref as $ } from "vue";
|
2
|
-
import z from "./
|
2
|
+
import z from "./index227.js";
|
3
3
|
/* empty css */
|
4
|
-
import I from "./
|
5
|
-
import { vMaska as M } from "./
|
6
|
-
import { isHex as D } from "./
|
4
|
+
import I from "./index229.js";
|
5
|
+
import { vMaska as M } from "./index225.js";
|
6
|
+
import { isHex as D } from "./index233.js";
|
7
7
|
const F = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], P = ["aria-invalid", "disabled", "required"], T = /* @__PURE__ */ k({
|
8
8
|
__name: "BaseColorInput",
|
9
9
|
props: {
|
package/dist/index17.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as E, ref as m, computed as n, watch as _, openBlock as p, createElementBlock as h, normalizeProps as i, guardReactiveProps as f, mergeProps as k, createCommentVNode as I, createElementVNode as l, renderSlot as F } from "vue";
|
2
|
-
import { isCssColor as y } from "./
|
3
|
-
import { when as N } from "./
|
4
|
-
import { booleanishToBoolean as S } from "./
|
2
|
+
import { isCssColor as y } from "./index243.js";
|
3
|
+
import { when as N } from "./index244.js";
|
4
|
+
import { booleanishToBoolean as S } from "./index245.js";
|
5
5
|
const A = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|