bitboss-ui 2.1.30 → 2.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +4 -24
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +4 -24
- package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -24
- package/dist/components/CommonInputInnerContainer.vue.d.ts +3 -3
- package/dist/index.d.ts +3 -0
- package/dist/index.js +143 -138
- package/dist/index106.js +9 -9
- package/dist/index11.js +2 -2
- package/dist/index111.js +1 -1
- package/dist/index113.js +1 -1
- package/dist/index119.js +4 -4
- package/dist/index12.js +6 -6
- package/dist/index121.js +12 -12
- package/dist/index129.js +1 -1
- package/dist/index13.js +1 -1
- package/dist/index131.js +4 -4
- package/dist/index133.js +1 -1
- package/dist/index135.js +69 -2
- package/dist/index137.js +13 -377
- package/dist/index138.js +2 -9
- package/dist/index139.js +11 -25
- package/dist/index140.js +377 -2
- package/dist/index141.js +9 -5
- package/dist/index142.js +23 -7
- package/dist/index143.js +2 -6
- package/dist/index144.js +5 -3
- package/dist/index145.js +9 -3
- package/dist/index146.js +6 -3
- package/dist/index147.js +1 -1
- package/dist/index148.js +1 -1
- package/dist/index149.js +1 -1
- package/dist/index15.js +9 -9
- package/dist/index150.js +1 -1
- package/dist/index151.js +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.js +1 -1
- package/dist/index154.js +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.js +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.js +1 -1
- package/dist/index159.js +1 -1
- package/dist/index160.js +1 -1
- package/dist/index161.js +1 -1
- package/dist/index162.js +1 -1
- package/dist/index163.js +1 -1
- package/dist/index164.js +1 -1
- package/dist/index165.js +1 -1
- package/dist/index166.js +1 -1
- package/dist/index167.js +1 -1
- package/dist/index168.js +1 -1
- package/dist/index169.js +1 -1
- package/dist/index17.js +3 -3
- package/dist/index170.js +1 -1
- package/dist/index171.js +1 -1
- package/dist/index172.js +1 -1
- package/dist/index173.js +1 -1
- package/dist/index174.js +1 -1
- package/dist/index175.js +1 -1
- package/dist/index176.js +1 -1
- package/dist/index177.js +1 -1
- package/dist/index178.js +1 -1
- package/dist/index179.js +1 -1
- package/dist/index180.js +1 -1
- package/dist/index181.js +3 -2
- package/dist/index182.js +1 -1
- package/dist/index183.js +1 -1
- package/dist/index184.js +2 -3
- package/dist/index185.js +1 -1
- package/dist/index186.js +1 -1
- package/dist/index187.js +1 -1
- package/dist/index188.js +2 -2
- package/dist/index189.js +2 -2
- package/dist/index19.js +8 -8
- package/dist/index190.js +2 -2
- package/dist/index191.js +3 -2
- package/dist/index192.js +1 -1
- package/dist/index193.js +1 -1
- package/dist/index194.js +2 -3
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index197.js +1 -1
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index200.js +1 -1
- package/dist/index201.js +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.js +1 -1
- package/dist/index204.js +1 -1
- package/dist/index205.js +1 -1
- package/dist/index206.js +3 -138
- package/dist/index207.js +3 -2
- package/dist/index208.js +3 -2
- package/dist/index209.js +3 -13
- package/dist/index21.js +16 -16
- package/dist/index211.js +7 -5
- package/dist/index212.js +138 -5
- package/dist/index213.js +2 -5
- package/dist/index214.js +2 -5
- package/dist/index215.js +4 -5
- package/dist/index216.js +13 -2
- package/dist/index217.js +11 -2
- package/dist/index218.js +20 -2
- package/dist/index219.js +196 -10
- package/dist/index221.js +113 -65
- package/dist/index223.js +34 -13
- package/dist/index224.js +83 -114
- package/dist/index226.js +28 -33
- package/dist/index227.js +17 -4
- package/dist/index228.js +49 -195
- package/dist/index229.js +17 -0
- package/dist/index23.js +15 -15
- package/dist/index230.js +3 -2
- package/dist/index231.js +12 -4
- package/dist/index232.js +16 -2
- package/dist/index233.js +2 -13
- package/dist/index234.js +2 -3
- package/dist/index235.js +2 -18
- package/dist/index236.js +5 -12
- package/dist/index237.js +5 -51
- package/dist/index238.js +5 -15
- package/dist/index239.js +5 -12
- package/dist/index240.js +5 -17
- package/dist/index241.js +5 -29
- package/dist/index242.js +5 -16
- package/dist/index243.js +2 -6
- package/dist/index244.js +6 -104
- package/dist/{index254.js → index245.js} +7 -7
- package/dist/index246.js +47 -95
- package/dist/index248.js +5 -229
- package/dist/index249.js +60 -6
- package/dist/index25.js +4 -4
- package/dist/index250.js +4 -2
- package/dist/index251.js +3 -5
- package/dist/index252.js +13 -5
- package/dist/index253.js +104 -6
- package/dist/index255.js +95 -47
- package/dist/index257.js +2 -5
- package/dist/index258.js +182 -59
- package/dist/index259.js +7 -86
- package/dist/index260.js +4 -0
- package/dist/index261.js +2 -183
- package/dist/index262.js +7 -2
- package/dist/index263.js +7 -7
- package/dist/index264.js +18 -7
- package/dist/index265.js +12 -3
- package/dist/index266.js +6 -6
- package/dist/index267.js +228 -15
- package/dist/index268.js +5 -9
- package/dist/index269.js +10 -23
- package/dist/index27.js +2 -2
- package/dist/index270.js +2 -9
- package/dist/index271.js +8 -2
- package/dist/index272.js +23 -3
- package/dist/index273.js +3 -9
- package/dist/index274.js +9 -8
- package/dist/index275.js +6 -9
- package/dist/index276.js +16 -5
- package/dist/index277.js +7 -65
- package/dist/index278.js +8 -2
- package/dist/index279.js +32 -4
- package/dist/index280.js +28 -8
- package/dist/index282.js +67 -11
- package/dist/index283.js +4 -279
- package/dist/index284.js +8 -2
- package/dist/index285.js +2 -125
- package/dist/index286.js +5 -2
- package/dist/index287.js +3 -15
- package/dist/index288.js +3 -2
- package/dist/index289.js +7 -16
- package/dist/index29.js +6 -6
- package/dist/index290.js +11 -2
- package/dist/index291.js +2 -16
- package/dist/index292.js +4 -2
- package/dist/index293.js +3 -19
- package/dist/index294.js +17 -2
- package/dist/index295.js +28 -3
- package/dist/index296.js +6 -0
- package/dist/index297.js +4 -6
- package/dist/index298.js +280 -3
- package/dist/index299.js +2 -2
- package/dist/index300.js +16 -3
- package/dist/index301.js +2 -6
- package/dist/index302.js +15 -3
- package/dist/index303.js +2 -4
- package/dist/index304.js +17 -17
- package/dist/index306.js +13 -25
- package/dist/index308.js +19 -2
- package/dist/index309.js +2 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +27 -2
- package/dist/index311.js +2 -2
- package/dist/index312.js +2 -28
- package/dist/index313.js +1 -21
- package/dist/index314.js +4 -0
- package/dist/index315.js +2 -3
- package/dist/index316.js +22 -3
- package/dist/index318.js +3 -17
- package/dist/index319.js +1 -1
- package/dist/index320.js +6 -5
- package/dist/index321.js +2 -718
- package/dist/index322.js +125 -366
- package/dist/index323.js +2 -58
- package/dist/index324.js +2 -2
- package/dist/index325.js +718 -2
- package/dist/index326.js +365 -7
- package/dist/index327.js +51 -122
- package/dist/index329.js +3 -8
- package/dist/index33.js +8 -8
- package/dist/index330.js +2 -6
- package/dist/index331.js +8 -8
- package/dist/index332.js +5 -32
- package/dist/index333.js +8 -28
- package/dist/index334.js +60 -0
- package/dist/index335.js +58 -7
- package/dist/index336.js +7 -18
- package/dist/index337.js +128 -6
- package/dist/index338.js +366 -44
- package/dist/index339.js +7 -58
- package/dist/index340.js +18 -57
- package/dist/index341.js +1 -1
- package/dist/index342.js +6 -92
- package/dist/index343.js +44 -126
- package/dist/index344.js +95 -0
- package/dist/index345.js +129 -3
- package/dist/index35.js +5 -5
- package/dist/index37.js +38 -38
- package/dist/index39.js +8 -8
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +15 -15
- package/dist/index47.js +3 -3
- package/dist/index49.js +4 -4
- package/dist/index53.js +1 -1
- package/dist/index55.js +2 -2
- package/dist/index57.js +2 -2
- package/dist/index6.js +1 -1
- package/dist/index61.js +3 -3
- package/dist/index67.js +1 -1
- package/dist/index7.js +2 -2
- package/dist/index79.js +5 -5
- 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/index9.js +1 -1
- package/dist/index90.js +4 -4
- package/dist/index92.js +3 -3
- package/dist/index94.js +4 -4
- package/dist/index96.js +2 -2
- package/package.json +1 -1
- package/dist/index136.js +0 -13
- package/dist/index210.js +0 -7
- package/dist/index220.js +0 -22
- package/dist/index281.js +0 -9
- package/dist/index317.js +0 -4
- package/dist/index328.js +0 -371
- /package/dist/{index256.js → index247.js} +0 -0
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
|
-
import { add as ve } from "./
|
3
|
-
import { clamp as ke } from "./
|
4
|
-
import { isNil as T } from "./
|
2
|
+
import { add as ve } from "./index285.js";
|
3
|
+
import { clamp as ke } from "./index214.js";
|
4
|
+
import { isNil as T } from "./index260.js";
|
5
5
|
import { useId as _e } from "./index8.js";
|
6
|
-
import { useItemValue as ge } from "./
|
7
|
-
import { when as Ce } from "./
|
6
|
+
import { useItemValue as ge } from "./index277.js";
|
7
|
+
import { when as Ce } from "./index250.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 "./index230.js";
|
13
|
+
import { useItemsGetter as Ie } from "./index226.js";
|
14
|
+
import { usePrefill as Ve } from "./index232.js";
|
15
|
+
import { useIndexById as Ae } from "./index227.js";
|
16
|
+
import { useBaseOptions as Be } from "./index228.js";
|
17
|
+
import { useHashedWatcher as Te } from "./index231.js";
|
18
|
+
import { useLocale as $e } from "./index216.js";
|
19
19
|
const xe = {
|
20
20
|
key: 0,
|
21
21
|
class: "sr-only"
|
package/dist/index129.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 "./index11.js";
|
3
|
-
import b from "./
|
3
|
+
import b from "./index282.js";
|
4
4
|
const $ = /* @__PURE__ */ a({
|
5
5
|
__name: "BbToast",
|
6
6
|
props: {
|
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 "./index223.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 h, mergeModels as T, ref as k, useModel as $, createBlock as y, openBlock as B, unref as n, normalizeClass as D, withCtx as d, createElementVNode as u, createCommentVNode as O, renderSlot as C, normalizeProps as P, guardReactiveProps as z } from "vue";
|
2
|
-
import { throttle as m } from "./
|
2
|
+
import { throttle as m } from "./index273.js";
|
3
3
|
import { useId as F } from "./index8.js";
|
4
|
-
import { useLocale as N } from "./
|
5
|
-
import { useUntil as U } from "./
|
4
|
+
import { useLocale as N } from "./index216.js";
|
5
|
+
import { useUntil as U } from "./index217.js";
|
6
6
|
import H from "./index13.js";
|
7
7
|
/* empty css */
|
8
|
-
import I from "./
|
8
|
+
import I from "./index221.js";
|
9
9
|
/* empty css */
|
10
10
|
const W = /* @__PURE__ */ h({
|
11
11
|
__name: "BbTooltip",
|
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 "./index286.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
@@ -1,4 +1,71 @@
|
|
1
|
-
|
1
|
+
import { defineComponent as k, ref as y, createElementBlock as C, openBlock as t, normalizeClass as N, renderSlot as n, createBlock as s, createCommentVNode as l, createVNode as a, createElementVNode as m, unref as i } from "vue";
|
2
|
+
/* empty css */
|
3
|
+
/* empty css */
|
4
|
+
import u from "./index85.js";
|
5
|
+
/* empty css */
|
6
|
+
import h from "./index113.js";
|
7
|
+
/* empty css */
|
8
|
+
import v from "./index279.js";
|
9
|
+
import B from "./index280.js";
|
10
|
+
/* empty css */
|
11
|
+
const E = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb-common-input-inner-container__suffix" }, R = /* @__PURE__ */ k({
|
12
|
+
__name: "CommonInputInnerContainer",
|
13
|
+
props: {
|
14
|
+
"append:icon": {},
|
15
|
+
clearable: { type: Boolean },
|
16
|
+
"prepend:icon": {},
|
17
|
+
preventFocus: { type: Boolean }
|
18
|
+
},
|
19
|
+
emits: ["click:clear"],
|
20
|
+
setup(f, { emit: d }) {
|
21
|
+
const p = f, b = d, o = y(), _ = (e) => {
|
22
|
+
var c;
|
23
|
+
if (!o.value || p.preventFocus) return;
|
24
|
+
const r = e.target;
|
25
|
+
r.tagName === "INPUT" || r.tagName === "TEXTAREA" || (c = o.value.querySelector("input,textarea")) == null || c.focus();
|
26
|
+
}, $ = () => {
|
27
|
+
var e;
|
28
|
+
b("click:clear"), (e = o.value.querySelector("input,textarea")) == null || e.focus();
|
29
|
+
};
|
30
|
+
return (e, r) => (t(), C("span", {
|
31
|
+
ref_key: "container",
|
32
|
+
ref: o,
|
33
|
+
class: N(["bb-common-input-inner-container", {
|
34
|
+
"bb-common-input-inner-container--clearable": p.clearable
|
35
|
+
}]),
|
36
|
+
onClick: _
|
37
|
+
}, [
|
38
|
+
n(e.$slots, "prepend", {}, () => [
|
39
|
+
m("span", E, [
|
40
|
+
n(e.$slots, "prefix")
|
41
|
+
])
|
42
|
+
]),
|
43
|
+
e.$props["prepend:icon"] ? (t(), s(i(u), {
|
44
|
+
key: 0,
|
45
|
+
class: "bb-common-input-inner-container__prepend-icon",
|
46
|
+
type: e.$props["prepend:icon"]
|
47
|
+
}, null, 8, ["type"])) : l("", !0),
|
48
|
+
n(e.$slots, "default"),
|
49
|
+
a(B, {
|
50
|
+
"aria-hidden": !e.clearable,
|
51
|
+
tabindex: e.clearable ? 0 : -1,
|
52
|
+
onClick: $
|
53
|
+
}, null, 8, ["aria-hidden", "tabindex"]),
|
54
|
+
e.$props["append:icon"] ? (t(), s(i(u), {
|
55
|
+
key: 1,
|
56
|
+
class: "bb-common-input-inner-container__append-icon",
|
57
|
+
type: e.$props["append:icon"]
|
58
|
+
}, null, 8, ["type"])) : l("", !0),
|
59
|
+
a(v),
|
60
|
+
a(i(h)),
|
61
|
+
n(e.$slots, "append", {}, () => [
|
62
|
+
m("span", I, [
|
63
|
+
n(e.$slots, "suffix")
|
64
|
+
])
|
65
|
+
])
|
66
|
+
], 2));
|
67
|
+
}
|
68
|
+
});
|
2
69
|
export {
|
3
|
-
|
70
|
+
R as default
|
4
71
|
};
|
package/dist/index137.js
CHANGED
@@ -1,379 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
import
|
4
|
-
const
|
5
|
-
function
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
}, l = (e, s, o, a) => (e.addEventListener(s, o, a), () => e.removeEventListener(s, o, a)), r = w(() => {
|
14
|
-
const e = C(g(n[0])).filter((s) => s != null);
|
15
|
-
return e.every((s) => typeof s != "string") ? e : void 0;
|
16
|
-
}), p = te(
|
17
|
-
() => {
|
18
|
-
var e, s;
|
19
|
-
return [
|
20
|
-
(s = (e = r.value) == null ? void 0 : e.map((o) => I(o))) != null ? s : [L].filter((o) => o != null),
|
21
|
-
C(g(r.value ? n[1] : n[0])),
|
22
|
-
C(ae(r.value ? n[2] : n[1])),
|
23
|
-
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
24
|
-
g(r.value ? n[3] : n[2])
|
25
|
-
];
|
26
|
-
},
|
27
|
-
([e, s, o, a]) => {
|
28
|
-
if (u(), !(e != null && e.length) || !(s != null && s.length) || !(o != null && o.length))
|
29
|
-
return;
|
30
|
-
const c = le(a) ? { ...a } : a;
|
31
|
-
t.push(
|
32
|
-
...e.flatMap(
|
33
|
-
(d) => s.flatMap(
|
34
|
-
(m) => o.map((h) => l(d, m, h, c))
|
35
|
-
)
|
36
|
-
)
|
37
|
-
);
|
38
|
-
},
|
39
|
-
{ flush: "post" }
|
40
|
-
), f = () => {
|
41
|
-
p(), u();
|
42
|
-
};
|
43
|
-
return D(u), f;
|
44
|
-
}
|
45
|
-
function ce() {
|
46
|
-
const n = E(!1), t = ue();
|
47
|
-
return t && re(() => {
|
48
|
-
n.value = !0;
|
49
|
-
}, t), n;
|
50
|
-
}
|
51
|
-
function j(n) {
|
52
|
-
const t = ce();
|
53
|
-
return w(() => (t.value, !!n()));
|
54
|
-
}
|
55
|
-
const ve = Symbol("vueuse-ssr-width");
|
56
|
-
function fe() {
|
57
|
-
const n = ie() ? oe(ve, null) : null;
|
58
|
-
return typeof n == "number" ? n : void 0;
|
59
|
-
}
|
60
|
-
function de(n, t = {}) {
|
61
|
-
const { window: u = L, ssrWidth: l = fe() } = t, r = j(() => u && "matchMedia" in u && typeof u.matchMedia == "function"), p = E(typeof l == "number"), f = E(), e = E(!1), s = (o) => {
|
62
|
-
e.value = o.matches;
|
63
|
-
};
|
64
|
-
return se(() => {
|
65
|
-
if (p.value) {
|
66
|
-
p.value = !r.value;
|
67
|
-
const o = g(n).split(",");
|
68
|
-
e.value = o.some((a) => {
|
69
|
-
const c = a.includes("not all"), d = a.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), m = a.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
70
|
-
let h = !!(d || m);
|
71
|
-
return d && h && (h = l >= $(d[1])), m && h && (h = l <= $(m[1])), c ? !h : h;
|
72
|
-
});
|
73
|
-
return;
|
74
|
-
}
|
75
|
-
r.value && (f.value = u.matchMedia(g(n)), e.value = f.value.matches);
|
76
|
-
}), H(f, "change", s, { passive: !0 }), w(() => e.value);
|
77
|
-
}
|
78
|
-
function me(n, t, u = {}) {
|
79
|
-
const { window: l = L, ...r } = u;
|
80
|
-
let p;
|
81
|
-
const f = j(() => l && "ResizeObserver" in l), e = () => {
|
82
|
-
p && (p.disconnect(), p = void 0);
|
83
|
-
}, s = w(() => {
|
84
|
-
const c = g(n);
|
85
|
-
return Array.isArray(c) ? c.map((d) => I(d)) : [I(c)];
|
86
|
-
}), o = P(
|
87
|
-
s,
|
88
|
-
(c) => {
|
89
|
-
if (e(), f.value && l) {
|
90
|
-
p = new ResizeObserver(t);
|
91
|
-
for (const d of c)
|
92
|
-
d && p.observe(d, r);
|
93
|
-
}
|
94
|
-
},
|
95
|
-
{ immediate: !0, flush: "post" }
|
96
|
-
), a = () => {
|
97
|
-
e(), o();
|
98
|
-
};
|
99
|
-
return D(a), {
|
100
|
-
isSupported: f,
|
101
|
-
stop: a
|
102
|
-
};
|
103
|
-
}
|
104
|
-
function be(n, t, u = {}) {
|
105
|
-
const {
|
106
|
-
root: l,
|
107
|
-
rootMargin: r = "0px",
|
108
|
-
threshold: p = 0,
|
109
|
-
window: f = L,
|
110
|
-
immediate: e = !0
|
111
|
-
} = u, s = j(() => f && "IntersectionObserver" in f), o = w(() => {
|
112
|
-
const h = g(n);
|
113
|
-
return C(h).map(I).filter(Z);
|
114
|
-
});
|
115
|
-
let a = F;
|
116
|
-
const c = E(e), d = s.value ? P(
|
117
|
-
() => [o.value, I(l), c.value],
|
118
|
-
([h, A]) => {
|
119
|
-
if (a(), !c.value || !h.length)
|
120
|
-
return;
|
121
|
-
const x = new IntersectionObserver(
|
122
|
-
t,
|
123
|
-
{
|
124
|
-
root: I(A),
|
125
|
-
rootMargin: r,
|
126
|
-
threshold: p
|
127
|
-
}
|
128
|
-
);
|
129
|
-
h.forEach((b) => b && x.observe(b)), a = () => {
|
130
|
-
x.disconnect(), a = F;
|
131
|
-
};
|
132
|
-
},
|
133
|
-
{ immediate: e, flush: "post" }
|
134
|
-
) : F, m = () => {
|
135
|
-
a(), d(), c.value = !1;
|
136
|
-
};
|
137
|
-
return D(m), {
|
138
|
-
isSupported: s,
|
139
|
-
isActive: c,
|
140
|
-
pause() {
|
141
|
-
a(), c.value = !1;
|
142
|
-
},
|
143
|
-
resume() {
|
144
|
-
c.value = !0;
|
145
|
-
},
|
146
|
-
stop: m
|
147
|
-
};
|
148
|
-
}
|
149
|
-
const K = 1;
|
150
|
-
function ge(n, t = {}) {
|
151
|
-
const {
|
152
|
-
throttle: u = 0,
|
153
|
-
idle: l = 200,
|
154
|
-
onStop: r = F,
|
155
|
-
onScroll: p = F,
|
156
|
-
offset: f = {
|
157
|
-
left: 0,
|
158
|
-
right: 0,
|
159
|
-
top: 0,
|
160
|
-
bottom: 0
|
161
|
-
},
|
162
|
-
eventListenerOptions: e = {
|
163
|
-
capture: !1,
|
164
|
-
passive: !0
|
165
|
-
},
|
166
|
-
behavior: s = "auto",
|
167
|
-
window: o = L,
|
168
|
-
onError: a = (i) => {
|
169
|
-
console.error(i);
|
170
|
-
}
|
171
|
-
} = t, c = E(0), d = E(0), m = w({
|
172
|
-
get() {
|
173
|
-
return c.value;
|
174
|
-
},
|
175
|
-
set(i) {
|
176
|
-
A(i, void 0);
|
177
|
-
}
|
178
|
-
}), h = w({
|
179
|
-
get() {
|
180
|
-
return d.value;
|
181
|
-
},
|
182
|
-
set(i) {
|
183
|
-
A(void 0, i);
|
184
|
-
}
|
185
|
-
});
|
186
|
-
function A(i, T) {
|
187
|
-
var y, _, V, z;
|
188
|
-
if (!o)
|
189
|
-
return;
|
190
|
-
const O = g(n);
|
191
|
-
if (!O)
|
192
|
-
return;
|
193
|
-
(V = O instanceof Document ? o.document.body : O) == null || V.scrollTo({
|
194
|
-
top: (y = g(T)) != null ? y : h.value,
|
195
|
-
left: (_ = g(i)) != null ? _ : m.value,
|
196
|
-
behavior: g(s)
|
197
|
-
});
|
198
|
-
const W = ((z = O == null ? void 0 : O.document) == null ? void 0 : z.documentElement) || (O == null ? void 0 : O.documentElement) || O;
|
199
|
-
m != null && (c.value = W.scrollLeft), h != null && (d.value = W.scrollTop);
|
200
|
-
}
|
201
|
-
const x = E(!1), b = G({
|
202
|
-
left: !0,
|
203
|
-
right: !1,
|
204
|
-
top: !0,
|
205
|
-
bottom: !1
|
206
|
-
}), S = G({
|
207
|
-
left: !1,
|
208
|
-
right: !1,
|
209
|
-
top: !1,
|
210
|
-
bottom: !1
|
211
|
-
}), N = (i) => {
|
212
|
-
x.value && (x.value = !1, S.left = !1, S.right = !1, S.top = !1, S.bottom = !1, r(i));
|
213
|
-
}, R = ne(N, u + l), v = (i) => {
|
214
|
-
var T;
|
215
|
-
if (!o)
|
216
|
-
return;
|
217
|
-
const y = ((T = i == null ? void 0 : i.document) == null ? void 0 : T.documentElement) || (i == null ? void 0 : i.documentElement) || I(i), { display: _, flexDirection: V, direction: z } = getComputedStyle(y), O = z === "rtl" ? -1 : 1, W = y.scrollLeft;
|
218
|
-
S.left = W < c.value, S.right = W > c.value;
|
219
|
-
const Y = Math.abs(W * O) <= (f.left || 0), k = Math.abs(W * O) + y.clientWidth >= y.scrollWidth - (f.right || 0) - K;
|
220
|
-
_ === "flex" && V === "row-reverse" ? (b.left = k, b.right = Y) : (b.left = Y, b.right = k), c.value = W;
|
221
|
-
let M = y.scrollTop;
|
222
|
-
i === o.document && !M && (M = o.document.body.scrollTop), S.top = M < d.value, S.bottom = M > d.value;
|
223
|
-
const Q = Math.abs(M) <= (f.top || 0), X = Math.abs(M) + y.clientHeight >= y.scrollHeight - (f.bottom || 0) - K;
|
224
|
-
_ === "flex" && V === "column-reverse" ? (b.top = X, b.bottom = Q) : (b.top = Q, b.bottom = X), d.value = M;
|
225
|
-
}, B = (i) => {
|
226
|
-
var T;
|
227
|
-
if (!o)
|
228
|
-
return;
|
229
|
-
const y = (T = i.target.documentElement) != null ? T : i.target;
|
230
|
-
v(y), x.value = !0, R(i), p(i);
|
231
|
-
};
|
232
|
-
return H(
|
233
|
-
n,
|
234
|
-
"scroll",
|
235
|
-
u ? q(B, u, !0, !1) : B,
|
236
|
-
e
|
237
|
-
), U(() => {
|
238
|
-
try {
|
239
|
-
const i = g(n);
|
240
|
-
if (!i)
|
241
|
-
return;
|
242
|
-
v(i);
|
243
|
-
} catch (i) {
|
244
|
-
a(i);
|
245
|
-
}
|
246
|
-
}), H(
|
247
|
-
n,
|
248
|
-
"scrollend",
|
249
|
-
N,
|
250
|
-
e
|
251
|
-
), {
|
252
|
-
x: m,
|
253
|
-
y: h,
|
254
|
-
isScrolling: x,
|
255
|
-
arrivedState: b,
|
256
|
-
directions: S,
|
257
|
-
measure() {
|
258
|
-
const i = g(n);
|
259
|
-
o && i && v(i);
|
260
|
-
}
|
261
|
-
};
|
262
|
-
}
|
263
|
-
function we(n, t) {
|
264
|
-
const u = J(n), l = w(() => Array.isArray(u.value) ? u.value : Object.keys(u.value)), r = J(l.value.indexOf(t ?? l.value[0])), p = w(() => a(r.value)), f = w(() => r.value === 0), e = w(() => r.value === l.value.length - 1), s = w(() => l.value[r.value + 1]), o = w(() => l.value[r.value - 1]);
|
265
|
-
function a(v) {
|
266
|
-
return Array.isArray(u.value) ? u.value[v] : u.value[l.value[v]];
|
267
|
-
}
|
268
|
-
function c(v) {
|
269
|
-
if (l.value.includes(v))
|
270
|
-
return a(l.value.indexOf(v));
|
271
|
-
}
|
272
|
-
function d(v) {
|
273
|
-
l.value.includes(v) && (r.value = l.value.indexOf(v));
|
274
|
-
}
|
275
|
-
function m() {
|
276
|
-
e.value || r.value++;
|
277
|
-
}
|
278
|
-
function h() {
|
279
|
-
f.value || r.value--;
|
280
|
-
}
|
281
|
-
function A(v) {
|
282
|
-
R(v) && d(v);
|
283
|
-
}
|
284
|
-
function x(v) {
|
285
|
-
return l.value.indexOf(v) === r.value + 1;
|
286
|
-
}
|
287
|
-
function b(v) {
|
288
|
-
return l.value.indexOf(v) === r.value - 1;
|
289
|
-
}
|
290
|
-
function S(v) {
|
291
|
-
return l.value.indexOf(v) === r.value;
|
292
|
-
}
|
293
|
-
function N(v) {
|
294
|
-
return r.value < l.value.indexOf(v);
|
295
|
-
}
|
296
|
-
function R(v) {
|
297
|
-
return r.value > l.value.indexOf(v);
|
298
|
-
}
|
299
|
-
return {
|
300
|
-
steps: u,
|
301
|
-
stepNames: l,
|
302
|
-
index: r,
|
303
|
-
current: p,
|
304
|
-
next: s,
|
305
|
-
previous: o,
|
306
|
-
isFirst: f,
|
307
|
-
isLast: e,
|
308
|
-
at: a,
|
309
|
-
get: c,
|
310
|
-
goTo: d,
|
311
|
-
goToNext: m,
|
312
|
-
goToPrevious: h,
|
313
|
-
goBackTo: A,
|
314
|
-
isNext: x,
|
315
|
-
isPrevious: b,
|
316
|
-
isCurrent: S,
|
317
|
-
isBefore: N,
|
318
|
-
isAfter: R
|
319
|
-
};
|
320
|
-
}
|
321
|
-
function ye(n = {}) {
|
322
|
-
const {
|
323
|
-
window: t = L,
|
324
|
-
initialWidth: u = Number.POSITIVE_INFINITY,
|
325
|
-
initialHeight: l = Number.POSITIVE_INFINITY,
|
326
|
-
listenOrientation: r = !0,
|
327
|
-
includeScrollbar: p = !0,
|
328
|
-
type: f = "inner"
|
329
|
-
} = n, e = E(u), s = E(l), o = () => {
|
330
|
-
if (t)
|
331
|
-
if (f === "outer")
|
332
|
-
e.value = t.outerWidth, s.value = t.outerHeight;
|
333
|
-
else if (f === "visual" && t.visualViewport) {
|
334
|
-
const { width: c, height: d, scale: m } = t.visualViewport;
|
335
|
-
e.value = Math.round(c * m), s.value = Math.round(d * m);
|
336
|
-
} else p ? (e.value = t.innerWidth, s.value = t.innerHeight) : (e.value = t.document.documentElement.clientWidth, s.value = t.document.documentElement.clientHeight);
|
337
|
-
};
|
338
|
-
o(), U(o);
|
339
|
-
const a = { passive: !0 };
|
340
|
-
if (H("resize", o, a), t && f === "visual" && t.visualViewport && H(t.visualViewport, "resize", o, a), r) {
|
341
|
-
const c = de("(orientation: portrait)");
|
342
|
-
P(c, () => o());
|
343
|
-
}
|
344
|
-
return { width: e, height: s };
|
345
|
-
}
|
1
|
+
import { createElementBlock as t, openBlock as n, renderSlot as e } from "vue";
|
2
|
+
/* empty css */
|
3
|
+
import r from "./index211.js";
|
4
|
+
const s = {}, c = { class: "bb-common-input-outer-container" };
|
5
|
+
function p(o, a) {
|
6
|
+
return n(), t("span", c, [
|
7
|
+
e(o.$slots, "prepend-outer"),
|
8
|
+
e(o.$slots, "default"),
|
9
|
+
e(o.$slots, "append-outer")
|
10
|
+
]);
|
11
|
+
}
|
12
|
+
const i = /* @__PURE__ */ r(s, [["render", p]]);
|
346
13
|
export {
|
347
|
-
|
348
|
-
xe as createFilterWrapper,
|
349
|
-
We as debounceFilter,
|
350
|
-
Te as debouncedWatch,
|
351
|
-
L as defaultWindow,
|
352
|
-
Me as getLifeCycleTarget,
|
353
|
-
oe as injectLocal,
|
354
|
-
ee as isClient,
|
355
|
-
le as isObject,
|
356
|
-
F as noop,
|
357
|
-
Z as notNullish,
|
358
|
-
$ as pxValue,
|
359
|
-
Ie as throttleFilter,
|
360
|
-
C as toArray,
|
361
|
-
U as tryOnMounted,
|
362
|
-
D as tryOnScopeDispose,
|
363
|
-
I as unrefElement,
|
364
|
-
ne as useDebounceFn,
|
365
|
-
H as useEventListener,
|
366
|
-
be as useIntersectionObserver,
|
367
|
-
de as useMediaQuery,
|
368
|
-
ce as useMounted,
|
369
|
-
me as useResizeObserver,
|
370
|
-
fe as useSSRWidth,
|
371
|
-
ge as useScroll,
|
372
|
-
we as useStepper,
|
373
|
-
j as useSupported,
|
374
|
-
q as useThrottleFn,
|
375
|
-
ye as useWindowSize,
|
376
|
-
Ae as watchDebounced,
|
377
|
-
te as watchImmediate,
|
378
|
-
Le as watchWithFilter
|
14
|
+
i as default
|
379
15
|
};
|
package/dist/index138.js
CHANGED
@@ -1,11 +1,4 @@
|
|
1
|
-
|
2
|
-
let o = (t = 21) => {
|
3
|
-
let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
|
4
|
-
for (; t--; )
|
5
|
-
e += l[r[t] & 63];
|
6
|
-
return e;
|
7
|
-
};
|
1
|
+
const o = (e) => new Promise((t) => setTimeout(t, e));
|
8
2
|
export {
|
9
|
-
o as
|
10
|
-
l as urlAlphabet
|
3
|
+
o as wait
|
11
4
|
};
|
package/dist/index139.js
CHANGED
@@ -1,27 +1,13 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
configurable: !0
|
10
|
-
});
|
11
|
-
}
|
12
|
-
function b(e, n = {}) {
|
13
|
-
if (p(e))
|
14
|
-
return e.map((r) => b(r, n));
|
15
|
-
if (!i(e))
|
16
|
-
return e;
|
17
|
-
const u = Object.getOwnPropertyNames(e), l = Object.getOwnPropertySymbols(e);
|
18
|
-
return [...u, ...l].reduce((r, o) => {
|
19
|
-
if (o === "__proto__" || p(n.props) && !n.props.includes(o))
|
20
|
-
return r;
|
21
|
-
const m = e[o], s = b(m, n);
|
22
|
-
return f(r, o, s, e, n.nonenumerable), r;
|
23
|
-
}, {});
|
24
|
-
}
|
1
|
+
import { clamp as s } from "./index214.js";
|
2
|
+
const o = (n, e, r = !1) => {
|
3
|
+
const t = n * 100 / e;
|
4
|
+
return r ? s(t, 0, 100) : t;
|
5
|
+
}, g = (n, e, r, t = !1) => o(n - e, r - e, t), l = (n, e, r) => {
|
6
|
+
const t = r - e, c = n / 100 * t;
|
7
|
+
return e + c;
|
8
|
+
};
|
25
9
|
export {
|
26
|
-
|
10
|
+
o as getAsPercentage,
|
11
|
+
g as getAsPercentageBetween,
|
12
|
+
l as getValueFromPercentageInInterval
|
27
13
|
};
|