bitboss-ui 2.1.35 → 2.1.36
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/index.css +1 -1
- package/dist/index106.js +7 -7
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index119.js +17 -17
- package/dist/index121.js +10 -10
- package/dist/index13.js +1 -1
- package/dist/index131.js +4 -4
- package/dist/index133.js +1 -1
- package/dist/index135.js +2 -2
- package/dist/index139.js +1 -1
- package/dist/index140.js +2 -2
- package/dist/index141.js +1 -1
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +16 -16
- package/dist/index212.js +2 -138
- package/dist/index213.js +138 -2
- package/dist/index214.js +2 -2
- package/dist/index215.js +2 -5
- package/dist/index216.js +5 -5
- package/dist/index217.js +4 -4
- package/dist/index218.js +5 -5
- package/dist/index219.js +5 -5
- package/dist/index220.js +5 -5
- package/dist/index221.js +4 -4
- package/dist/index222.js +5 -3
- package/dist/index223.js +3 -2
- package/dist/index224.js +2 -8
- package/dist/index225.js +6 -248
- package/dist/index226.js +240 -42
- package/dist/index227.js +43 -35
- package/dist/index228.js +44 -5
- package/dist/index229.js +5 -60
- package/dist/index23.js +12 -12
- package/dist/index230.js +59 -12
- package/dist/index231.js +12 -85
- package/dist/index232.js +185 -0
- package/dist/index233.js +3 -29
- package/dist/index234.js +34 -17
- package/dist/index235.js +4 -51
- package/dist/index236.js +2 -15
- package/dist/index237.js +2 -12
- package/dist/index238.js +2 -16
- package/dist/index239.js +2 -34
- package/dist/index240.js +7 -4
- package/dist/index241.js +7 -20
- package/dist/index242.js +7 -197
- package/dist/index243.js +7 -0
- package/dist/index244.js +2 -121
- package/dist/index245.js +22 -0
- package/dist/index246.js +121 -2
- package/dist/index248.js +3 -182
- package/dist/index249.js +196 -12
- package/dist/index25.js +3 -3
- package/dist/index251.js +86 -2
- package/dist/index253.js +28 -6
- package/dist/index254.js +17 -7
- package/dist/index255.js +50 -6
- package/dist/index256.js +15 -106
- package/dist/index257.js +14 -0
- package/dist/index258.js +16 -100
- package/dist/index259.js +15 -0
- package/dist/index260.js +13 -2
- package/dist/index261.js +106 -3
- package/dist/index263.js +100 -2
- package/dist/index265.js +1 -1
- package/dist/index267.js +4 -4
- package/dist/index27.js +1 -1
- package/dist/index274.js +3 -6
- package/dist/index275.js +6 -16
- package/dist/index276.js +16 -3
- package/dist/index281.js +1 -1
- package/dist/index282.js +33 -5
- package/dist/index283.js +28 -33
- package/dist/index285.js +7 -0
- package/dist/index286.js +1 -1
- package/dist/index287.js +1 -1
- package/dist/index29.js +3 -3
- package/dist/index302.js +1 -1
- package/dist/index303.js +1 -1
- package/dist/index304.js +1 -1
- package/dist/index305.js +1 -1
- package/dist/index309.js +2 -2
- package/dist/index31.js +2 -2
- package/dist/index311.js +5 -3
- package/dist/index312.js +4 -17
- package/dist/index313.js +6 -2
- package/dist/index314.js +4 -4
- package/dist/index315.js +2 -6
- package/dist/index316.js +125 -3
- package/dist/index317.js +2 -3
- package/dist/index318.js +3 -4
- package/dist/index319.js +1 -1
- package/dist/index320.js +1 -1
- package/dist/index321.js +17 -5
- package/dist/index322.js +3 -125
- package/dist/index323.js +3 -2
- package/dist/index325.js +5 -718
- package/dist/index326.js +715 -363
- package/dist/index327.js +366 -58
- package/dist/index328.js +58 -5
- package/dist/index33.js +8 -8
- package/dist/index330.js +5 -0
- package/dist/index331.js +2 -3
- package/dist/index335.js +226 -33
- package/dist/index336.js +58 -6
- package/dist/index337.js +57 -128
- package/dist/index338.js +30 -364
- package/dist/index339.js +6 -47
- package/dist/index340.js +128 -7
- package/dist/index341.js +368 -5
- package/dist/index342.js +8 -8
- package/dist/index343.js +5 -227
- package/dist/index344.js +7 -57
- package/dist/index345.js +47 -58
- package/dist/index346.js +1 -1
- package/dist/index348.js +421 -473
- package/dist/index349.js +113 -422
- package/dist/index35.js +4 -4
- package/dist/index350.js +484 -123
- package/dist/index37.js +15 -15
- package/dist/index39.js +7 -7
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +6 -6
- 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 +1 -1
- package/dist/index67.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index83.js +2 -2
- package/dist/index85.js +1 -1
- package/dist/index87.js +1 -1
- package/dist/index90.js +3 -3
- package/dist/index92.js +1 -1
- package/dist/index94.js +3 -3
- package/dist/index96.js +1 -1
- package/package.json +1 -1
- package/dist/index247.js +0 -6
- package/dist/index250.js +0 -15
- package/dist/index252.js +0 -4
- package/dist/index262.js +0 -4
- package/dist/index264.js +0 -7
- package/dist/index284.js +0 -30
- package/dist/index329.js +0 -4
package/dist/index119.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as ee, ref as
|
1
|
+
import { defineComponent as ee, ref as r, computed as $, getCurrentInstance as te, watch as b, nextTick as le, onMounted as ae, createElementBlock as p, openBlock as f, normalizeClass as T, unref as ie, createElementVNode as h, renderSlot as k, normalizeProps as U, guardReactiveProps as W, normalizeStyle as se, Fragment as K, renderList as O, createVNode as J, withCtx as I, toDisplayString as ne, createBlock as re, Transition as oe, createCommentVNode as ue } from "vue";
|
2
2
|
import { useId as de } from "./index8.js";
|
3
3
|
import { useRoute as ce } from "./index145.js";
|
4
4
|
import { useRouter as be } from "./index146.js";
|
@@ -25,11 +25,11 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
25
25
|
emits: ["update:modelValue"],
|
26
26
|
setup(M, { expose: j, emit: G }) {
|
27
27
|
var A, H;
|
28
|
-
const t = M, Q = G, d = ce(), q = be(), S =
|
28
|
+
const t = M, Q = G, d = ce(), q = be(), S = r(), L = t.id ?? de().id.value, g = `bb-tab_${L}`, c = r(), { isScrolling: X, arrivedState: V } = he(c), B = $(() => ({
|
29
29
|
isScrolling: X.value,
|
30
30
|
left: V.left,
|
31
31
|
right: V.right
|
32
|
-
})), C = !!((H = (A = te()) == null ? void 0 : A.proxy) != null && H.$inertia), i =
|
32
|
+
})), C = !!((H = (A = te()) == null ? void 0 : A.proxy) != null && H.$inertia), i = r(null), o = $(
|
33
33
|
() => t.items.findIndex((e) => e.key === i.value)
|
34
34
|
), _ = $(() => o.value === 0), w = $(() => o.value === t.items.length - 1);
|
35
35
|
t.items.forEach((e) => {
|
@@ -37,9 +37,9 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
37
37
|
throw console.error("A tab item has no key", e), new Error("A tab item has no key " + JSON.stringify(e));
|
38
38
|
});
|
39
39
|
const R = () => {
|
40
|
-
var e, a, l,
|
40
|
+
var e, a, l, n, s;
|
41
41
|
if (t.navigation && ((a = (e = d.value) == null ? void 0 : e.query) != null && a[t.querykey]))
|
42
|
-
i.value = (
|
42
|
+
i.value = (n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey];
|
43
43
|
else if (t.navigation && C && ((s = globalThis == null ? void 0 : globalThis.location) != null && s.href) && new URL(globalThis.location.href).searchParams.get(t.querykey))
|
44
44
|
i.value = new URL(globalThis.location.href).searchParams.get(
|
45
45
|
t.querykey
|
@@ -58,8 +58,8 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
58
58
|
};
|
59
59
|
R();
|
60
60
|
const y = async (e, a = !1) => {
|
61
|
-
var l,
|
62
|
-
if (t.navigation && d.value && ((
|
61
|
+
var l, n, s, m;
|
62
|
+
if (t.navigation && d.value && ((n = (l = d.value) == null ? void 0 : l.query) == null ? void 0 : n[t.querykey]) !== e)
|
63
63
|
q == null || q.push({
|
64
64
|
...d,
|
65
65
|
query: { ...(s = d.value) == null ? void 0 : s.query, [t.querykey]: e },
|
@@ -101,10 +101,10 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
101
101
|
if (a === null)
|
102
102
|
throw new Error("Could not navigate to next tab");
|
103
103
|
if (t.items[a].disabled) return;
|
104
|
-
const l = t.items[a].key,
|
104
|
+
const l = t.items[a].key, n = document.querySelector(
|
105
105
|
`#${g}_tab_${l}`
|
106
106
|
);
|
107
|
-
|
107
|
+
n == null || n.focus(), y(l, t.replace);
|
108
108
|
}, Y = (e) => {
|
109
109
|
if (!t.disabled)
|
110
110
|
if (e.key === "ArrowRight")
|
@@ -147,18 +147,18 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
147
147
|
},
|
148
148
|
{ flush: "post" }
|
149
149
|
);
|
150
|
-
const P =
|
150
|
+
const P = r("right");
|
151
151
|
b(
|
152
152
|
i,
|
153
153
|
(e, a) => {
|
154
154
|
if (e && a) {
|
155
|
-
const l = t.items.findIndex((s) => s.key === e),
|
156
|
-
P.value = l >
|
155
|
+
const l = t.items.findIndex((s) => s.key === e), n = t.items.findIndex((s) => s.key === a);
|
156
|
+
P.value = l > n ? "right" : "left";
|
157
157
|
}
|
158
158
|
},
|
159
159
|
{ flush: "sync" }
|
160
160
|
);
|
161
|
-
const E =
|
161
|
+
const E = r(0), z = r(0), D = r(0), F = r(0), N = r(0), x = () => {
|
162
162
|
if (!c.value)
|
163
163
|
return;
|
164
164
|
const e = c.value.querySelector(
|
@@ -189,7 +189,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
189
189
|
ref: S,
|
190
190
|
class: T(["bb-tab", {
|
191
191
|
[`bb-tab--${e.direction}`]: !0,
|
192
|
-
"bb-tab--disabled":
|
192
|
+
"bb-tab--disabled": e.disabled
|
193
193
|
}])
|
194
194
|
}, [
|
195
195
|
h("div", ke, [
|
@@ -220,7 +220,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
220
220
|
disabled: l.disabled || e.disabled,
|
221
221
|
role: "tab",
|
222
222
|
tabindex: i.value === l.key ? 0 : -1,
|
223
|
-
onClick: (
|
223
|
+
onClick: (n) => y(l.key, t.replace),
|
224
224
|
onKeydown: Y
|
225
225
|
}, {
|
226
226
|
default: I(() => [
|
@@ -246,7 +246,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
246
246
|
text: l.label,
|
247
247
|
value: l.key
|
248
248
|
}, () => [
|
249
|
-
h("span", ge,
|
249
|
+
h("span", ge, ne(l.label), 1)
|
250
250
|
])
|
251
251
|
])
|
252
252
|
]),
|
@@ -261,7 +261,7 @@ const pe = ["id"], ke = { class: "bb-tab__label-boundary" }, ge = { class: "bb-t
|
|
261
261
|
h("div", _e, [
|
262
262
|
J(ve, null, {
|
263
263
|
default: I(() => [
|
264
|
-
(f(!0), p(K, null, O(e.items, (l) => (f(),
|
264
|
+
(f(!0), p(K, null, O(e.items, (l) => (f(), re(oe, {
|
265
265
|
key: l.key,
|
266
266
|
css: e.animate,
|
267
267
|
name: `tab-slide-${P.value}`
|
package/dist/index121.js
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
import { defineComponent as ue, ref as K, computed as h, toRef as O, watch as D, reactive as pe, createBlock as Q, openBlock as n, resolveDynamicComponent as me, normalizeClass as p, unref as v, withCtx as fe, createElementBlock as d, createCommentVNode as g, createElementVNode as o, toDisplayString as m, renderSlot as f, Fragment as A, renderList as B, createVNode as X, createTextVNode as ye, mergeProps as he } from "vue";
|
2
2
|
import { add as ve } from "./index280.js";
|
3
|
-
import { clamp as ke } from "./
|
4
|
-
import { isNil as T } from "./
|
3
|
+
import { clamp as ke } from "./index212.js";
|
4
|
+
import { isNil as T } from "./index239.js";
|
5
5
|
import { useId as _e } from "./index8.js";
|
6
6
|
import { useItemValue as ge } from "./index278.js";
|
7
|
-
import { when as Ce } from "./
|
7
|
+
import { when as Ce } from "./index235.js";
|
8
8
|
import Y from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import we from "./index31.js";
|
11
11
|
/* empty css */
|
12
|
-
import { hash as E } from "./
|
13
|
-
import { useItemsGetter as Ie } from "./
|
14
|
-
import { usePrefill as Ve } from "./
|
15
|
-
import { useIndexById as Ae } from "./
|
16
|
-
import { useBaseOptions as Be } from "./
|
17
|
-
import { useHashedWatcher as Te } from "./
|
18
|
-
import { useLocale as $e } from "./
|
12
|
+
import { hash as E } from "./index223.js";
|
13
|
+
import { useItemsGetter as Ie } from "./index253.js";
|
14
|
+
import { usePrefill as Ve } from "./index258.js";
|
15
|
+
import { useIndexById as Ae } from "./index254.js";
|
16
|
+
import { useBaseOptions as Be } from "./index255.js";
|
17
|
+
import { useHashedWatcher as Te } from "./index257.js";
|
18
|
+
import { useLocale as $e } from "./index231.js";
|
19
19
|
const xe = {
|
20
20
|
key: 0,
|
21
21
|
class: "sr-only"
|
package/dist/index13.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as m, getCurrentInstance as h, computed as r, createBlock as i, openBlock as u, mergeProps as c, withCtx as d, renderSlot as p, createTextVNode as f, toDisplayString as v, resolveDynamicComponent as C } from "vue";
|
2
|
-
import S from "./
|
2
|
+
import S from "./index234.js";
|
3
3
|
const A = /* @__PURE__ */ m({
|
4
4
|
__name: "BaseButton",
|
5
5
|
props: {
|
package/dist/index131.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as S, mergeModels as z, ref as k, computed as d, useTemplateRef as F, useModel as N, createElementBlock as W, openBlock as B, Fragment as A, renderSlot as C, createVNode as U, normalizeProps as H, guardReactiveProps as I, unref as l, mergeProps as j, withCtx as E, createElementVNode as m, normalizeStyle as q, createBlock as x, createCommentVNode as G } from "vue";
|
2
|
-
import { throttle as p } from "./
|
2
|
+
import { throttle as p } from "./index274.js";
|
3
3
|
import { useId as J } from "./index8.js";
|
4
|
-
import { useLocale as K } from "./
|
5
|
-
import { useUntil as Q } from "./
|
4
|
+
import { useLocale as K } from "./index231.js";
|
5
|
+
import { useUntil as Q } from "./index260.js";
|
6
6
|
import X from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import Y from "./
|
8
|
+
import Y from "./index246.js";
|
9
9
|
/* empty css */
|
10
10
|
import { useElementSize as Z } from "./index140.js";
|
11
11
|
import { extractDomContainer as c } from "./index272.js";
|
package/dist/index133.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, createElementBlock as f, openBlock 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 "./index285.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/index135.js
CHANGED
@@ -5,8 +5,8 @@ import u from "./index85.js";
|
|
5
5
|
/* empty css */
|
6
6
|
import h from "./index113.js";
|
7
7
|
/* empty css */
|
8
|
-
import v from "./
|
9
|
-
import B from "./
|
8
|
+
import v from "./index282.js";
|
9
|
+
import B from "./index283.js";
|
10
10
|
/* empty css */
|
11
11
|
const E = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
|
12
12
|
__name: "CommonInputInnerContainer",
|
package/dist/index139.js
CHANGED
package/dist/index140.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./
|
2
|
-
import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./
|
1
|
+
import { tryOnMounted as D, toArray as L, notNullish as Z, noop as V, tryOnScopeDispose as P, useThrottleFn as q, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as G, injectLocal as oe, isObject as le } from "./index213.js";
|
2
|
+
import { bypassFilter as We, createFilterWrapper as ye, debounceFilter as Te, debouncedWatch as Ie, getLifeCycleTarget as Me, throttleFilter as _e, debouncedWatch as Re, watchWithFilter as Ae } from "./index213.js";
|
3
3
|
import { shallowRef as S, getCurrentInstance as ue, onMounted as se, computed as g, watch as B, toValue as w, reactive as U, ref as J, watchEffect as re, hasInjectionContext as ie, unref as ce } from "vue";
|
4
4
|
const R = ee ? window : void 0;
|
5
5
|
function W(o) {
|
package/dist/index141.js
CHANGED
package/dist/index15.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as H, ref as s, computed as D, createBlock as E, openBlock as I, normalizeClass as L, withCtx as l, createVNode as d, unref as u, withDirectives as M, createElementVNode as p, mergeProps as _, renderSlot as r, withModifiers as q, normalizeStyle as N } from "vue";
|
2
|
-
import { isHex as z } from "./
|
2
|
+
import { isHex as z } from "./index248.js";
|
3
3
|
import { isNotNil as F } from "./index143.js";
|
4
4
|
import { useId as S } from "./index8.js";
|
5
|
-
import { useLocale as U } from "./
|
6
|
-
import { vMaska as A } from "./
|
7
|
-
import K from "./
|
5
|
+
import { useLocale as U } from "./index231.js";
|
6
|
+
import { vMaska as A } from "./index245.js";
|
7
|
+
import K from "./index249.js";
|
8
8
|
/* empty css */
|
9
9
|
import O from "./index135.js";
|
10
10
|
/* empty css */
|
11
11
|
import P from "./index137.js";
|
12
|
-
import T from "./
|
12
|
+
import T from "./index246.js";
|
13
13
|
/* empty css */
|
14
14
|
const j = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], G = ["aria-label"], J = { class: "bb-common-input-inner-container__suffix" }, re = /* @__PURE__ */ H({
|
15
15
|
__name: "BaseColorInput",
|
package/dist/index17.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as E, ref as m, computed as n, watch as _, createElementBlock as p, openBlock as h, normalizeProps as i, guardReactiveProps as f, createCommentVNode as I, createElementVNode as l, mergeProps as k, 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 "./index215.js";
|
3
|
+
import { when as N } from "./index235.js";
|
4
|
+
import { booleanishToBoolean as S } from "./index236.js";
|
5
5
|
const A = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index19.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 b, guardReactiveProps as v, createVNode as R, mergeProps as T } from "vue";
|
2
2
|
import W from "./index17.js";
|
3
3
|
/* empty css */
|
4
|
-
import K from "./
|
4
|
+
import K from "./index251.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useItemsGetter as N } from "./
|
7
|
-
import { useIndexById as w } from "./
|
8
|
-
import { useBaseOptions as U } from "./
|
9
|
-
import { useCoherence as q } from "./
|
10
|
-
import { hash as J } from "./
|
11
|
-
import { useHashedWatcher as C } from "./
|
12
|
-
import { usePrefill as Q } from "./
|
6
|
+
import { useItemsGetter as N } from "./index253.js";
|
7
|
+
import { useIndexById as w } from "./index254.js";
|
8
|
+
import { useBaseOptions as U } from "./index255.js";
|
9
|
+
import { useCoherence as q } from "./index256.js";
|
10
|
+
import { hash as J } from "./index223.js";
|
11
|
+
import { useHashedWatcher as C } from "./index257.js";
|
12
|
+
import { usePrefill as Q } from "./index258.js";
|
13
13
|
const de = /* @__PURE__ */ j({
|
14
14
|
__name: "BaseCheckboxGroup",
|
15
15
|
props: {
|
package/dist/index21.js
CHANGED
@@ -5,22 +5,22 @@ import { _config as C } from "./index4.js";
|
|
5
5
|
import { useId as F } from "./index8.js";
|
6
6
|
import f from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import s from "./
|
9
|
-
import G from "./
|
10
|
-
import J from "./
|
11
|
-
import K from "./
|
12
|
-
import Q from "./
|
13
|
-
import X from "./
|
14
|
-
import ee from "./
|
15
|
-
import { hash as M } from "./
|
16
|
-
import { last as ae } from "./
|
17
|
-
import { useLogger as te } from "./
|
18
|
-
import oe from "./
|
19
|
-
import le from "./
|
20
|
-
import re from "./
|
21
|
-
import B from "./
|
22
|
-
import se from "./
|
23
|
-
import { useLocale as de } from "./
|
8
|
+
import s from "./index216.js";
|
9
|
+
import G from "./index217.js";
|
10
|
+
import J from "./index218.js";
|
11
|
+
import K from "./index219.js";
|
12
|
+
import Q from "./index220.js";
|
13
|
+
import X from "./index221.js";
|
14
|
+
import ee from "./index222.js";
|
15
|
+
import { hash as M } from "./index223.js";
|
16
|
+
import { last as ae } from "./index224.js";
|
17
|
+
import { useLogger as te } from "./index225.js";
|
18
|
+
import oe from "./index226.js";
|
19
|
+
import le from "./index227.js";
|
20
|
+
import re from "./index228.js";
|
21
|
+
import B from "./index229.js";
|
22
|
+
import se from "./index230.js";
|
23
|
+
import { useLocale as de } from "./index231.js";
|
24
24
|
const ie = { class: "bb-base-date-picker" }, ne = { class: "bb-base-date-picker__body" }, ue = { class: "bb-base-date-picker__controls" }, me = { class: "sr-only" }, pe = { class: "sr-only" }, ce = { class: "sr-only" }, fe = {
|
25
25
|
style: { transform: "rotate(180deg)" },
|
26
26
|
viewBox: "0 0 24 24",
|
package/dist/index212.js
CHANGED
@@ -1,140 +1,4 @@
|
|
1
|
-
|
2
|
-
function V(e) {
|
3
|
-
return S() ? (C(e), !0) : !1;
|
4
|
-
}
|
5
|
-
const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
|
6
|
-
var r;
|
7
|
-
const n = e[0], t = (r = g()) == null ? void 0 : r.proxy;
|
8
|
-
if (t == null && !k())
|
9
|
-
throw new Error("injectLocal must be called in setup");
|
10
|
-
return t && w.has(t) && n in w.get(t) ? w.get(t)[n] : v(...e);
|
11
|
-
}, G = typeof window < "u" && typeof document < "u";
|
12
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
13
|
-
const _ = (e) => e != null, M = Object.prototype.toString, q = (e) => M.call(e) === "[object Object]", d = () => {
|
14
|
-
};
|
15
|
-
function y(e, r) {
|
16
|
-
function n(...t) {
|
17
|
-
return new Promise((o, i) => {
|
18
|
-
Promise.resolve(e(() => r.apply(this, t), { fn: r, thisArg: this, args: t })).then(o).catch(i);
|
19
|
-
});
|
20
|
-
}
|
21
|
-
return n;
|
22
|
-
}
|
23
|
-
const A = (e) => e();
|
24
|
-
function x(e, r = {}) {
|
25
|
-
let n, t, o = d;
|
26
|
-
const i = (c) => {
|
27
|
-
clearTimeout(c), o(), o = d;
|
28
|
-
};
|
29
|
-
let u;
|
30
|
-
return (c) => {
|
31
|
-
const a = b(e), l = b(r.maxWait);
|
32
|
-
return n && i(n), a <= 0 || l !== void 0 && l <= 0 ? (t && (i(t), t = null), Promise.resolve(c())) : new Promise((f, p) => {
|
33
|
-
o = r.rejectOnCancel ? p : f, u = c, l && !t && (t = setTimeout(() => {
|
34
|
-
n && i(n), t = null, f(u());
|
35
|
-
}, l)), n = setTimeout(() => {
|
36
|
-
t && i(t), t = null, f(c());
|
37
|
-
}, a);
|
38
|
-
});
|
39
|
-
};
|
40
|
-
}
|
41
|
-
function I(...e) {
|
42
|
-
let r = 0, n, t = !0, o = d, i, u, s, c, a;
|
43
|
-
!P(e[0]) && typeof e[0] == "object" ? { delay: u, trailing: s = !0, leading: c = !0, rejectOnCancel: a = !1 } = e[0] : [u, s = !0, c = !0, a = !1] = e;
|
44
|
-
const l = () => {
|
45
|
-
n && (clearTimeout(n), n = void 0, o(), o = d);
|
46
|
-
};
|
47
|
-
return (p) => {
|
48
|
-
const m = b(u), j = Date.now() - r, h = () => i = p();
|
49
|
-
return l(), m <= 0 ? (r = Date.now(), h()) : (j > m && (c || !t) ? (r = Date.now(), h()) : s && (i = new Promise((T, D) => {
|
50
|
-
o = a ? D : T, n = setTimeout(() => {
|
51
|
-
r = Date.now(), t = !0, T(h()), l();
|
52
|
-
}, Math.max(0, m - j));
|
53
|
-
})), !c && !n && (n = setTimeout(() => t = !0, m)), t = !1, i);
|
54
|
-
};
|
55
|
-
}
|
56
|
-
function z(e) {
|
57
|
-
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
58
|
-
}
|
59
|
-
function L(e) {
|
60
|
-
return g();
|
61
|
-
}
|
62
|
-
function B(e) {
|
63
|
-
return Array.isArray(e) ? e : [e];
|
64
|
-
}
|
65
|
-
function H(e, r = 200, n = {}) {
|
66
|
-
return y(
|
67
|
-
x(r, n),
|
68
|
-
e
|
69
|
-
);
|
70
|
-
}
|
71
|
-
function J(e, r = 200, n = !1, t = !0, o = !1) {
|
72
|
-
return y(
|
73
|
-
I(r, n, t, o),
|
74
|
-
e
|
75
|
-
);
|
76
|
-
}
|
77
|
-
function N(e, r, n = {}) {
|
78
|
-
const {
|
79
|
-
eventFilter: t = A,
|
80
|
-
...o
|
81
|
-
} = n;
|
82
|
-
return F(
|
83
|
-
e,
|
84
|
-
y(
|
85
|
-
t,
|
86
|
-
r
|
87
|
-
),
|
88
|
-
o
|
89
|
-
);
|
90
|
-
}
|
91
|
-
function K(e, r = !0, n) {
|
92
|
-
L() ? O(e, n) : r ? e() : W(e);
|
93
|
-
}
|
94
|
-
function Q(e, r, n = {}) {
|
95
|
-
const {
|
96
|
-
debounce: t = 0,
|
97
|
-
maxWait: o = void 0,
|
98
|
-
...i
|
99
|
-
} = n;
|
100
|
-
return N(
|
101
|
-
e,
|
102
|
-
r,
|
103
|
-
{
|
104
|
-
...i,
|
105
|
-
eventFilter: x(t, { maxWait: o })
|
106
|
-
}
|
107
|
-
);
|
108
|
-
}
|
109
|
-
function U(e, r, n) {
|
110
|
-
return F(
|
111
|
-
e,
|
112
|
-
r,
|
113
|
-
{
|
114
|
-
...n,
|
115
|
-
immediate: !0
|
116
|
-
}
|
117
|
-
);
|
118
|
-
}
|
1
|
+
const n = (t, a, m) => Math.min(Math.max(t, a), m);
|
119
2
|
export {
|
120
|
-
|
121
|
-
y as createFilterWrapper,
|
122
|
-
x as debounceFilter,
|
123
|
-
Q as debouncedWatch,
|
124
|
-
L as getLifeCycleTarget,
|
125
|
-
E as injectLocal,
|
126
|
-
G as isClient,
|
127
|
-
q as isObject,
|
128
|
-
d as noop,
|
129
|
-
_ as notNullish,
|
130
|
-
z as pxValue,
|
131
|
-
I as throttleFilter,
|
132
|
-
B as toArray,
|
133
|
-
K as tryOnMounted,
|
134
|
-
V as tryOnScopeDispose,
|
135
|
-
H as useDebounceFn,
|
136
|
-
J as useThrottleFn,
|
137
|
-
Q as watchDebounced,
|
138
|
-
U as watchImmediate,
|
139
|
-
N as watchWithFilter
|
3
|
+
n as clamp
|
140
4
|
};
|
package/dist/index213.js
CHANGED
@@ -1,4 +1,140 @@
|
|
1
|
-
|
1
|
+
import { onMounted as O, nextTick as W, getCurrentScope as S, onScopeDispose as C, watch as F, getCurrentInstance as g, isRef as P, toValue as b, hasInjectionContext as k, inject as v } from "vue";
|
2
|
+
function V(e) {
|
3
|
+
return S() ? (C(e), !0) : !1;
|
4
|
+
}
|
5
|
+
const w = /* @__PURE__ */ new WeakMap(), E = (...e) => {
|
6
|
+
var r;
|
7
|
+
const n = e[0], t = (r = g()) == null ? void 0 : r.proxy;
|
8
|
+
if (t == null && !k())
|
9
|
+
throw new Error("injectLocal must be called in setup");
|
10
|
+
return t && w.has(t) && n in w.get(t) ? w.get(t)[n] : v(...e);
|
11
|
+
}, G = typeof window < "u" && typeof document < "u";
|
12
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
13
|
+
const _ = (e) => e != null, M = Object.prototype.toString, q = (e) => M.call(e) === "[object Object]", d = () => {
|
14
|
+
};
|
15
|
+
function y(e, r) {
|
16
|
+
function n(...t) {
|
17
|
+
return new Promise((o, i) => {
|
18
|
+
Promise.resolve(e(() => r.apply(this, t), { fn: r, thisArg: this, args: t })).then(o).catch(i);
|
19
|
+
});
|
20
|
+
}
|
21
|
+
return n;
|
22
|
+
}
|
23
|
+
const A = (e) => e();
|
24
|
+
function x(e, r = {}) {
|
25
|
+
let n, t, o = d;
|
26
|
+
const i = (c) => {
|
27
|
+
clearTimeout(c), o(), o = d;
|
28
|
+
};
|
29
|
+
let u;
|
30
|
+
return (c) => {
|
31
|
+
const a = b(e), l = b(r.maxWait);
|
32
|
+
return n && i(n), a <= 0 || l !== void 0 && l <= 0 ? (t && (i(t), t = null), Promise.resolve(c())) : new Promise((f, p) => {
|
33
|
+
o = r.rejectOnCancel ? p : f, u = c, l && !t && (t = setTimeout(() => {
|
34
|
+
n && i(n), t = null, f(u());
|
35
|
+
}, l)), n = setTimeout(() => {
|
36
|
+
t && i(t), t = null, f(c());
|
37
|
+
}, a);
|
38
|
+
});
|
39
|
+
};
|
40
|
+
}
|
41
|
+
function I(...e) {
|
42
|
+
let r = 0, n, t = !0, o = d, i, u, s, c, a;
|
43
|
+
!P(e[0]) && typeof e[0] == "object" ? { delay: u, trailing: s = !0, leading: c = !0, rejectOnCancel: a = !1 } = e[0] : [u, s = !0, c = !0, a = !1] = e;
|
44
|
+
const l = () => {
|
45
|
+
n && (clearTimeout(n), n = void 0, o(), o = d);
|
46
|
+
};
|
47
|
+
return (p) => {
|
48
|
+
const m = b(u), j = Date.now() - r, h = () => i = p();
|
49
|
+
return l(), m <= 0 ? (r = Date.now(), h()) : (j > m && (c || !t) ? (r = Date.now(), h()) : s && (i = new Promise((T, D) => {
|
50
|
+
o = a ? D : T, n = setTimeout(() => {
|
51
|
+
r = Date.now(), t = !0, T(h()), l();
|
52
|
+
}, Math.max(0, m - j));
|
53
|
+
})), !c && !n && (n = setTimeout(() => t = !0, m)), t = !1, i);
|
54
|
+
};
|
55
|
+
}
|
56
|
+
function z(e) {
|
57
|
+
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
58
|
+
}
|
59
|
+
function L(e) {
|
60
|
+
return g();
|
61
|
+
}
|
62
|
+
function B(e) {
|
63
|
+
return Array.isArray(e) ? e : [e];
|
64
|
+
}
|
65
|
+
function H(e, r = 200, n = {}) {
|
66
|
+
return y(
|
67
|
+
x(r, n),
|
68
|
+
e
|
69
|
+
);
|
70
|
+
}
|
71
|
+
function J(e, r = 200, n = !1, t = !0, o = !1) {
|
72
|
+
return y(
|
73
|
+
I(r, n, t, o),
|
74
|
+
e
|
75
|
+
);
|
76
|
+
}
|
77
|
+
function N(e, r, n = {}) {
|
78
|
+
const {
|
79
|
+
eventFilter: t = A,
|
80
|
+
...o
|
81
|
+
} = n;
|
82
|
+
return F(
|
83
|
+
e,
|
84
|
+
y(
|
85
|
+
t,
|
86
|
+
r
|
87
|
+
),
|
88
|
+
o
|
89
|
+
);
|
90
|
+
}
|
91
|
+
function K(e, r = !0, n) {
|
92
|
+
L() ? O(e, n) : r ? e() : W(e);
|
93
|
+
}
|
94
|
+
function Q(e, r, n = {}) {
|
95
|
+
const {
|
96
|
+
debounce: t = 0,
|
97
|
+
maxWait: o = void 0,
|
98
|
+
...i
|
99
|
+
} = n;
|
100
|
+
return N(
|
101
|
+
e,
|
102
|
+
r,
|
103
|
+
{
|
104
|
+
...i,
|
105
|
+
eventFilter: x(t, { maxWait: o })
|
106
|
+
}
|
107
|
+
);
|
108
|
+
}
|
109
|
+
function U(e, r, n) {
|
110
|
+
return F(
|
111
|
+
e,
|
112
|
+
r,
|
113
|
+
{
|
114
|
+
...n,
|
115
|
+
immediate: !0
|
116
|
+
}
|
117
|
+
);
|
118
|
+
}
|
2
119
|
export {
|
3
|
-
|
120
|
+
A as bypassFilter,
|
121
|
+
y as createFilterWrapper,
|
122
|
+
x as debounceFilter,
|
123
|
+
Q as debouncedWatch,
|
124
|
+
L as getLifeCycleTarget,
|
125
|
+
E as injectLocal,
|
126
|
+
G as isClient,
|
127
|
+
q as isObject,
|
128
|
+
d as noop,
|
129
|
+
_ as notNullish,
|
130
|
+
z as pxValue,
|
131
|
+
I as throttleFilter,
|
132
|
+
B as toArray,
|
133
|
+
K as tryOnMounted,
|
134
|
+
V as tryOnScopeDispose,
|
135
|
+
H as useDebounceFn,
|
136
|
+
J as useThrottleFn,
|
137
|
+
Q as watchDebounced,
|
138
|
+
U as watchImmediate,
|
139
|
+
N as watchWithFilter
|
4
140
|
};
|
package/dist/index214.js
CHANGED
package/dist/index215.js
CHANGED
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
import { __require as o } from "./index288.js";
|
3
|
-
var t = o();
|
4
|
-
const s = /* @__PURE__ */ r(t);
|
1
|
+
const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
|
5
2
|
export {
|
6
|
-
s as
|
3
|
+
s as isCssColor
|
7
4
|
};
|
package/dist/index216.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { getDefaultExportFromCjs as r } from "./
|
2
|
-
import { __require as
|
3
|
-
var t =
|
4
|
-
const
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index313.js";
|
2
|
+
import { __require as o } from "./index288.js";
|
3
|
+
var t = o();
|
4
|
+
const s = /* @__PURE__ */ r(t);
|
5
5
|
export {
|
6
|
-
|
6
|
+
s as default
|
7
7
|
};
|
package/dist/index217.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { getDefaultExportFromCjs as r } from "./
|
2
|
-
import { __require as e } from "./
|
3
|
-
var
|
4
|
-
const m = /* @__PURE__ */ r(
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index313.js";
|
2
|
+
import { __require as e } from "./index290.js";
|
3
|
+
var t = e();
|
4
|
+
const m = /* @__PURE__ */ r(t);
|
5
5
|
export {
|
6
6
|
m as default
|
7
7
|
};
|
package/dist/index218.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { getDefaultExportFromCjs as r } from "./
|
2
|
-
import { __require as
|
3
|
-
var o =
|
4
|
-
const
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index313.js";
|
2
|
+
import { __require as e } from "./index292.js";
|
3
|
+
var o = e();
|
4
|
+
const m = /* @__PURE__ */ r(o);
|
5
5
|
export {
|
6
|
-
|
6
|
+
m as default
|
7
7
|
};
|