bitboss-ui 2.1.130 → 2.1.131
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/ai/BbTable.md +33 -82
- package/dist/index.css +1 -1
- package/dist/index109.js +9 -9
- package/dist/index110.js +18 -18
- package/dist/index118.js +1 -1
- package/dist/index124.js +3 -3
- package/dist/index126.js +310 -323
- package/dist/index134.js +1 -1
- package/dist/index136.js +4 -4
- package/dist/index138.js +1 -1
- package/dist/index14.js +1 -1
- package/dist/index142.js +2 -2
- package/dist/index146.js +1 -1
- package/dist/index148.js +2 -2
- package/dist/index150.js +1 -1
- package/dist/index16.js +3 -3
- package/dist/index18.js +3 -3
- package/dist/index20.js +9 -9
- package/dist/index22.js +14 -14
- package/dist/index224.js +2 -138
- package/dist/index225.js +138 -2
- package/dist/index226.js +2 -2
- package/dist/index227.js +1 -1
- package/dist/index228.js +1 -1
- package/dist/index229.js +3 -32
- package/dist/index230.js +12 -27
- package/dist/index231.js +375 -0
- package/dist/index233.js +160 -2
- package/dist/index235.js +25 -13
- package/dist/index236.js +2 -86
- package/dist/index237.js +4 -0
- package/dist/index238.js +2 -30
- package/dist/index239.js +6 -17
- package/dist/index24.js +10 -10
- package/dist/index240.js +2 -17
- package/dist/index241.js +7 -51
- package/dist/index242.js +3 -18
- package/dist/index243.js +34 -3
- package/dist/index244.js +5 -12
- package/dist/index245.js +4 -4
- package/dist/index246.js +4 -4
- package/dist/index247.js +4 -4
- package/dist/index248.js +4 -4
- package/dist/index249.js +5 -5
- package/dist/index250.js +3 -5
- package/dist/index251.js +8 -3
- package/dist/index252.js +3 -8
- package/dist/index253.js +16 -158
- package/dist/index254.js +14 -0
- package/dist/index255.js +51 -5
- package/dist/index256.js +18 -2
- package/dist/index257.js +12 -6
- package/dist/index258.js +17 -268
- package/dist/index259.js +30 -52
- package/dist/index26.js +3 -3
- package/dist/index260.js +18 -52
- package/dist/index261.js +4 -32
- package/dist/index262.js +100 -54
- package/dist/index264.js +94 -367
- package/dist/index266.js +107 -4
- package/dist/index267.js +12 -6
- package/dist/index268.js +11 -2
- package/dist/index269.js +9 -12
- package/dist/index270.js +2 -12
- package/dist/index271.js +3 -9
- package/dist/index272.js +86 -23
- package/dist/index274.js +9 -3
- package/dist/index275.js +23 -11
- package/dist/index276.js +22 -33
- package/dist/index277.js +13 -3
- package/dist/index278.js +7 -25
- package/dist/index279.js +8 -3
- package/dist/index28.js +1 -1
- package/dist/index280.js +5 -20
- package/dist/index281.js +2 -9
- package/dist/index282.js +186 -42
- package/dist/index283.js +3 -53
- package/dist/index284.js +32 -17
- package/dist/index285.js +28 -12
- package/dist/index287.js +11 -0
- package/dist/index288.js +44 -100
- package/dist/index289.js +55 -0
- package/dist/index290.js +2 -107
- package/dist/index291.js +5 -9
- package/dist/index292.js +6 -6
- package/dist/index293.js +266 -14
- package/dist/index294.js +52 -5
- package/dist/index295.js +52 -188
- package/dist/index296.js +32 -3
- package/dist/index297.js +59 -20
- package/dist/index298.js +3 -6
- package/dist/index299.js +20 -66
- package/dist/index30.js +3 -3
- package/dist/index300.js +67 -3
- package/dist/index301.js +6 -10
- package/dist/index302.js +4 -3
- package/dist/index303.js +20 -2
- package/dist/index304.js +6 -7
- package/dist/index305.js +16 -7
- package/dist/index306.js +4 -3
- package/dist/index307.js +7 -17
- package/dist/index308.js +3 -28
- package/dist/index309.js +4 -4
- package/dist/index310.js +2 -7
- package/dist/index312.js +6 -3
- package/dist/index313.js +5 -0
- package/dist/index314.js +280 -7
- package/dist/index315.js +2 -3
- package/dist/index316.js +125 -3
- package/dist/index317.js +2 -3
- package/dist/index318.js +13 -278
- package/dist/index319.js +2 -2
- package/dist/index32.js +2 -2
- package/dist/index324.js +17 -25
- package/dist/index326.js +3 -2
- package/dist/index327.js +3 -2
- package/dist/index328.js +17 -2
- package/dist/index329.js +28 -2
- package/dist/index330.js +3 -2
- package/dist/index331.js +3 -125
- package/dist/index332.js +2 -2
- package/dist/index333.js +4 -15
- package/dist/index334.js +5 -2
- package/dist/index335.js +25 -17
- package/dist/index337.js +2 -3
- package/dist/index338.js +2 -3
- package/dist/index339.js +1 -1
- package/dist/index34.js +8 -8
- package/dist/index340.js +2 -4
- package/dist/index341.js +2 -719
- package/dist/index342.js +2 -366
- package/dist/index343.js +719 -57
- package/dist/index344.js +366 -6
- package/dist/index345.js +57 -2
- package/dist/index348.js +221 -86
- package/dist/index349.js +6 -5
- package/dist/index350.js +34 -6
- package/dist/index351.js +128 -17
- package/dist/index352.js +397 -7
- package/dist/index353.js +90 -12
- package/dist/index354.js +200 -5
- package/dist/index355.js +259 -7
- package/dist/index356.js +6 -34
- package/dist/index357.js +17 -128
- package/dist/index358.js +7 -397
- package/dist/index359.js +14 -199
- package/dist/index36.js +4 -4
- package/dist/index360.js +5 -259
- package/dist/index361.js +7 -22
- package/dist/index362.js +136 -0
- package/dist/index363.js +21 -133
- package/dist/index365.js +1 -1
- package/dist/index366.js +2 -228
- package/dist/index370.js +1 -1
- package/dist/index38.js +21 -21
- package/dist/index40.js +7 -7
- package/dist/index42.js +2 -2
- package/dist/index44.js +8 -8
- package/dist/index46.js +6 -6
- package/dist/index50.js +2 -2
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index58.js +2 -2
- package/dist/index60.js +2 -2
- package/dist/index62.js +5 -5
- package/dist/index68.js +1 -1
- package/dist/index74.js +4 -4
- package/dist/index82.js +6 -6
- package/dist/index84.js +1 -1
- package/dist/index86.js +2 -2
- package/dist/index88.js +3 -3
- package/dist/index90.js +1 -1
- package/dist/index93.js +3 -3
- package/dist/index95.js +2 -2
- package/dist/index97.js +5 -5
- package/dist/index99.js +1 -1
- package/package.json +1 -1
- package/dist/index232.js +0 -4
- package/dist/index234.js +0 -4
- package/dist/index263.js +0 -6
- package/dist/index273.js +0 -25
- package/dist/index286.js +0 -108
- package/dist/index311.js +0 -4
- package/dist/index364.js +0 -4
package/dist/index134.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, createElementBlock as o, openBlock as e, normalizeClass as c, createVNode as l, TransitionGroup as m, withCtx as i, Fragment as p, renderList as u, unref as r, createBlock as f, mergeProps as _ } from "vue";
|
|
2
2
|
import { useToast as d, state as k } from "./index12.js";
|
|
3
|
-
import b from "./
|
|
3
|
+
import b from "./index300.js";
|
|
4
4
|
const $ = /* @__PURE__ */ a({
|
|
5
5
|
__name: "BbToast",
|
|
6
6
|
props: {
|
package/dist/index136.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as I, mergeModels as F, useSlots as j, ref as $, computed as v, useTemplateRef as q, useModel as G, watch as f, onMounted as H, onBeforeUnmount as J, createElementBlock as k, openBlock as C, Fragment as K, createCommentVNode as D, renderSlot as S, createVNode as Q, toDisplayString as P, normalizeProps as X, mergeProps as M, withCtx as Y, createElementVNode as Z, normalizeStyle as _, createTextVNode as ee, Comment as te } from "vue";
|
|
2
2
|
import { useId as oe } from "./index8.js";
|
|
3
|
-
import { useUntil as re } from "./
|
|
4
|
-
import ae from "./
|
|
3
|
+
import { useUntil as re } from "./index267.js";
|
|
4
|
+
import ae from "./index233.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import { useElementSize as ne } from "./index148.js";
|
|
7
|
-
import { extractDomContainer as N } from "./
|
|
8
|
-
import { parseWidthString as ie } from "./
|
|
7
|
+
import { extractDomContainer as N } from "./index229.js";
|
|
8
|
+
import { parseWidthString as ie } from "./index276.js";
|
|
9
9
|
const fe = /* @__PURE__ */ I({
|
|
10
10
|
inheritAttrs: !1,
|
|
11
11
|
__name: "BbTooltip",
|
package/dist/index138.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 "./index280.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/index14.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as w, getCurrentInstance as P, computed as r, createBlock as c, openBlock as i, mergeProps as f, withCtx as v, renderSlot as d, createTextVNode as p, toDisplayString as h, resolveDynamicComponent as b } from "vue";
|
|
2
|
-
import R from "./
|
|
2
|
+
import R from "./index243.js";
|
|
3
3
|
import { useFrameworkDetection as _ } from "./index149.js";
|
|
4
4
|
import { _config as g } from "./index4.js";
|
|
5
5
|
const D = /* @__PURE__ */ w({
|
package/dist/index142.js
CHANGED
|
@@ -5,8 +5,8 @@ import u from "./index88.js";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import I from "./index118.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import N from "./
|
|
9
|
-
import g from "./
|
|
8
|
+
import N from "./index284.js";
|
|
9
|
+
import g from "./index285.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
const h = { class: "bb-common-input-inner-container__prefix" }, B = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
|
|
12
12
|
__name: "CommonInputInnerContainer",
|
package/dist/index146.js
CHANGED
package/dist/index148.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 "./index225.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 "./index225.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/index150.js
CHANGED
package/dist/index16.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as $, ref as d, computed as i, createBlock as C, openBlock as g, normalizeClass as M, withCtx as n, createVNode as b, unref as p, withDirectives as I, createElementVNode as t, mergeProps as f, renderSlot as s } from "vue";
|
|
2
|
-
import { isHex as q } from "./
|
|
2
|
+
import { isHex as q } from "./index302.js";
|
|
3
3
|
import { isNotNil as D } from "./index152.js";
|
|
4
4
|
import { useId as E } from "./index8.js";
|
|
5
|
-
import { useLocale as N } from "./
|
|
6
|
-
import { vMaska as L } from "./
|
|
5
|
+
import { useLocale as N } from "./index230.js";
|
|
6
|
+
import { vMaska as L } from "./index303.js";
|
|
7
7
|
import P from "./index74.js";
|
|
8
8
|
import z from "./index142.js";
|
|
9
9
|
/* empty css */
|
package/dist/index18.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as F, ref as d, computed as t, watch as L, createElementBlock as n, openBlock as s, normalizeProps as b, guardReactiveProps as f, createCommentVNode as M, createElementVNode as k, mergeProps as v, renderSlot as q } from "vue";
|
|
2
|
-
import { isCssColor as y } from "./
|
|
3
|
-
import { booleanishToBoolean as A } from "./
|
|
4
|
-
import { isEqual as N } from "./
|
|
2
|
+
import { isCssColor as y } from "./index236.js";
|
|
3
|
+
import { booleanishToBoolean as A } from "./index281.js";
|
|
4
|
+
import { isEqual as N } from "./index271.js";
|
|
5
5
|
const P = {
|
|
6
6
|
"aria-hidden": "true",
|
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index20.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as z, ref as B, toRef as p, computed as R, createBlock as W, openBlock as K, unref as T, withCtx as n, renderSlot as l, normalizeProps as f, guardReactiveProps as h, createVNode as N, mergeProps as C } from "vue";
|
|
2
2
|
import U from "./index18.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import q from "./
|
|
4
|
+
import q from "./index272.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { useItemsGetter as J } from "./
|
|
7
|
-
import { useIndexById as $ } from "./
|
|
8
|
-
import { useBaseOptions as Q } from "./
|
|
9
|
-
import { useCoherence as X } from "./
|
|
10
|
-
import { hash as Y } from "./
|
|
11
|
-
import { useHashedWatcher as w } from "./
|
|
12
|
-
import { usePrefill as Z } from "./
|
|
13
|
-
import { useLogger as _ } from "./
|
|
6
|
+
import { useItemsGetter as J } from "./index259.js";
|
|
7
|
+
import { useIndexById as $ } from "./index258.js";
|
|
8
|
+
import { useBaseOptions as Q } from "./index255.js";
|
|
9
|
+
import { useCoherence as X } from "./index256.js";
|
|
10
|
+
import { hash as Y } from "./index252.js";
|
|
11
|
+
import { useHashedWatcher as w } from "./index257.js";
|
|
12
|
+
import { usePrefill as Z } from "./index260.js";
|
|
13
|
+
import { useLogger as _ } from "./index251.js";
|
|
14
14
|
const fe = /* @__PURE__ */ z({
|
|
15
15
|
__name: "BaseCheckboxGroup",
|
|
16
16
|
props: {
|
package/dist/index22.js
CHANGED
|
@@ -5,20 +5,20 @@ import { _config as Q } from "./index4.js";
|
|
|
5
5
|
import { useId as X } from "./index8.js";
|
|
6
6
|
import b from "./index14.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import d from "./
|
|
9
|
-
import ee from "./
|
|
10
|
-
import ae from "./
|
|
11
|
-
import te from "./
|
|
12
|
-
import { hash as B } from "./
|
|
13
|
-
import { last as le } from "./
|
|
14
|
-
import { validateDateFormat as L } from "./
|
|
15
|
-
import { useLogger as oe } from "./
|
|
16
|
-
import re from "./
|
|
17
|
-
import se from "./
|
|
18
|
-
import de from "./
|
|
19
|
-
import S from "./
|
|
20
|
-
import ie from "./
|
|
21
|
-
import { useLocale as ne } from "./
|
|
8
|
+
import d from "./index244.js";
|
|
9
|
+
import ee from "./index247.js";
|
|
10
|
+
import ae from "./index248.js";
|
|
11
|
+
import te from "./index291.js";
|
|
12
|
+
import { hash as B } from "./index252.js";
|
|
13
|
+
import { last as le } from "./index240.js";
|
|
14
|
+
import { validateDateFormat as L } from "./index292.js";
|
|
15
|
+
import { useLogger as oe } from "./index251.js";
|
|
16
|
+
import re from "./index293.js";
|
|
17
|
+
import se from "./index294.js";
|
|
18
|
+
import de from "./index295.js";
|
|
19
|
+
import S from "./index296.js";
|
|
20
|
+
import ie from "./index297.js";
|
|
21
|
+
import { useLocale as ne } from "./index230.js";
|
|
22
22
|
const ue = { class: "bb-base-date-picker" }, me = { class: "bb-base-date-picker__body" }, ce = { class: "bb-base-date-picker__controls" }, pe = { class: "sr-only" }, fe = { class: "sr-only" }, be = { class: "sr-only" }, ve = {
|
|
23
23
|
style: { transform: "rotate(180deg)" },
|
|
24
24
|
viewBox: "0 0 24 24",
|
package/dist/index224.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/index225.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/index226.js
CHANGED
package/dist/index227.js
CHANGED
package/dist/index228.js
CHANGED
package/dist/index229.js
CHANGED
|
@@ -1,35 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import n from "./index314.js";
|
|
4
|
-
const l = {}, s = {
|
|
5
|
-
class: "bb-error-icon",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 20 20",
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
-
};
|
|
10
|
-
function i(c, r) {
|
|
11
|
-
return t(), e("svg", s, r[0] || (r[0] = [
|
|
12
|
-
o("path", {
|
|
13
|
-
d: "M9.99422 18.3333C14.5966 18.3333 18.3276 14.6024 18.3276 9.99999C18.3276 5.39762 14.5966 1.66666 9.99422 1.66666C5.39185 1.66666 1.66089 5.39762 1.66089 9.99999C1.66089 14.6024 5.39185 18.3333 9.99422 18.3333Z",
|
|
14
|
-
fill: "currentColor"
|
|
15
|
-
}, null, -1),
|
|
16
|
-
o("path", {
|
|
17
|
-
d: "M9.99414 6.66666V9.99999",
|
|
18
|
-
stroke: "white",
|
|
19
|
-
"stroke-linecap": "round",
|
|
20
|
-
"stroke-linejoin": "round",
|
|
21
|
-
"stroke-width": "2"
|
|
22
|
-
}, null, -1),
|
|
23
|
-
o("path", {
|
|
24
|
-
d: "M9.99414 13.3333H10.0025",
|
|
25
|
-
stroke: "white",
|
|
26
|
-
"stroke-linecap": "round",
|
|
27
|
-
"stroke-linejoin": "round",
|
|
28
|
-
"stroke-width": "2"
|
|
29
|
-
}, null, -1)
|
|
30
|
-
]));
|
|
1
|
+
function e(n) {
|
|
2
|
+
return n ? n instanceof HTMLElement ? n : typeof n == "object" && "$el" in n && n.$el instanceof HTMLElement ? n.$el : typeof n == "object" && "el" in n && n.el instanceof HTMLElement ? n.el : null : null;
|
|
31
3
|
}
|
|
32
|
-
const a = /* @__PURE__ */ n(l, [["render", i]]);
|
|
33
4
|
export {
|
|
34
|
-
|
|
5
|
+
e as extractDomContainer
|
|
35
6
|
};
|
package/dist/index230.js
CHANGED
|
@@ -1,30 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
t("svg", {
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
-
}, [
|
|
16
|
-
t("path", {
|
|
17
|
-
d: "M12 12l7 7M12 12l-7 -7M12 12l-7 7M12 12l7 -7",
|
|
18
|
-
fill: "none",
|
|
19
|
-
stroke: "currentColor",
|
|
20
|
-
"stroke-linecap": "round",
|
|
21
|
-
"stroke-linejoin": "round",
|
|
22
|
-
"stroke-width": "2"
|
|
23
|
-
})
|
|
24
|
-
], -1)
|
|
25
|
-
]), 8, c));
|
|
26
|
-
}
|
|
1
|
+
import { locales as t } from "./index307.js";
|
|
2
|
+
import { _config as m } from "./index4.js";
|
|
3
|
+
import { get as c } from "./index268.js";
|
|
4
|
+
import { readonly as l, computed as n } from "vue";
|
|
5
|
+
const p = (o, ...r) => l(
|
|
6
|
+
n(() => c(t[m.locale], o).replace(
|
|
7
|
+
/\{(\d+)\}/g,
|
|
8
|
+
(a, e) => r[e]
|
|
9
|
+
))
|
|
10
|
+
), d = () => ({
|
|
11
|
+
t: p
|
|
27
12
|
});
|
|
28
13
|
export {
|
|
29
|
-
|
|
14
|
+
d as useLocale
|
|
30
15
|
};
|