bitboss-ui 2.0.103 → 2.0.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index100.js +9 -9
- package/dist/index111.js +11 -11
- 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 +3 -3
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index15.js +4 -4
- package/dist/index17.js +3 -3
- package/dist/index19.js +9 -9
- package/dist/index205.js +114 -52
- package/dist/index206.js +4 -0
- package/dist/index207.js +2 -13
- package/dist/index208.js +4 -20
- package/dist/index209.js +2 -4
- package/dist/index21.js +12 -12
- package/dist/index210.js +278 -123
- package/dist/index211.js +16 -5
- package/dist/index212.js +13 -122
- package/dist/index213.js +16 -16
- package/dist/index214.js +16 -13
- package/dist/index215.js +24 -13
- package/dist/index216.js +3 -2
- package/dist/index218.js +8 -41
- package/dist/index219.js +249 -5
- package/dist/index220.js +52 -5
- package/dist/index221.js +42 -10
- package/dist/index222.js +5 -369
- package/dist/index223.js +60 -2
- package/dist/index224.js +84 -4
- package/dist/index226.js +8 -3
- package/dist/index227.js +25 -7
- package/dist/index228.js +17 -8
- package/dist/index229.js +48 -3
- package/dist/index23.js +14 -14
- package/dist/index230.js +15 -84
- package/dist/index231.js +14 -0
- package/dist/index232.js +16 -8
- package/dist/index233.js +3 -25
- package/dist/index234.js +39 -15
- package/dist/index235.js +6 -48
- package/dist/index236.js +7 -15
- package/dist/index237.js +12 -12
- package/dist/index238.js +53 -16
- package/dist/index240.js +13 -27
- package/dist/index241.js +3 -250
- package/dist/index242.js +123 -49
- package/dist/index243.js +125 -44
- package/dist/index244.js +2 -5
- package/dist/index245.js +18 -58
- package/dist/index246.js +5 -2
- package/dist/index247.js +352 -98
- package/dist/index248.js +4 -3
- package/dist/index249.js +2 -2
- package/dist/index25.js +6 -6
- package/dist/index250.js +2 -18
- package/dist/index251.js +2 -106
- package/dist/index252.js +20 -0
- package/dist/index253.js +53 -47
- package/dist/index255.js +100 -12
- package/dist/index257.js +12 -2
- package/dist/index260.js +3 -3
- package/dist/index262.js +9 -9
- package/dist/index263.js +9 -23
- package/dist/index264.js +23 -89
- package/dist/index265.js +91 -0
- package/dist/index267.js +6 -0
- package/dist/index268.js +6 -7
- package/dist/index269.js +2 -176
- package/dist/index27.js +1 -1
- package/dist/index270.js +2 -281
- package/dist/index271.js +2 -6
- package/dist/index272.js +2 -2
- package/dist/index273.js +2 -2
- package/dist/index275.js +2 -2
- package/dist/index276.js +2 -2
- package/dist/index277.js +2 -126
- package/dist/index278.js +2 -431
- package/dist/index279.js +27 -21
- package/dist/index280.js +24 -0
- package/dist/index282.js +6 -3
- package/dist/index283.js +3 -28
- package/dist/index284.js +6 -199
- package/dist/index285.js +10 -435
- package/dist/index286.js +16 -126
- package/dist/index287.js +9 -89
- package/dist/index288.js +430 -8
- package/dist/index289.js +2 -3
- package/dist/index29.js +3 -3
- package/dist/index290.js +88 -6
- package/dist/index291.js +3 -11
- package/dist/index293.js +224 -9
- package/dist/index294.js +200 -8
- package/dist/index295.js +2 -2
- package/dist/index296.js +126 -2
- package/dist/index297.js +176 -2
- package/dist/index298.js +21 -1
- package/dist/index300.js +8 -2
- package/dist/index301.js +435 -21
- package/dist/index302.js +129 -0
- package/dist/index303.js +3 -224
- package/dist/index304.js +1 -1
- package/dist/index305.js +213 -3
- package/dist/index306.js +3 -213
- package/dist/index307.js +3 -2
- package/dist/index308.js +58 -5
- package/dist/index309.js +7 -66
- package/dist/index31.js +2 -2
- package/dist/index310.js +19 -3
- package/dist/index311.js +66 -3
- package/dist/index312.js +6 -57
- package/dist/index313.js +2 -33
- package/dist/index314.js +1 -1
- package/dist/index315.js +1 -1
- package/dist/index316.js +8 -3
- package/dist/index317.js +8 -4
- package/dist/index318.js +5 -8
- package/dist/index319.js +2 -7
- package/dist/index320.js +3 -6
- package/dist/index321.js +32 -18
- package/dist/index322.js +46 -6
- package/dist/index323.js +2 -47
- package/dist/index324.js +480 -2
- package/dist/index326.js +414 -470
- package/dist/index327.js +43 -420
- package/dist/index328.js +2 -47
- package/dist/index33.js +8 -8
- package/dist/index35.js +3 -3
- package/dist/index37.js +19 -19
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +9 -9
- package/dist/index45.js +6 -6
- 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/index75.js +3 -3
- 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/index225.js +0 -4
- package/dist/index239.js +0 -21
- package/dist/index256.js +0 -4
- package/dist/index266.js +0 -5
- package/dist/index281.js +0 -4
- package/dist/index292.js +0 -19
- package/dist/index299.js +0 -4
- package/dist/index329.js +0 -4
package/dist/index100.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as L, mergeModels as V, computed as b, toRef as m, reactive as P, useModel as I, watch as R, openBlock as B, createElementBlock as g, Fragment as k, renderSlot as r, unref as j, createCommentVNode as E, renderList as G } from "vue";
|
2
|
-
import { useItemValue as U } from "./
|
3
|
-
import { isNil as x } from "./
|
4
|
-
import { indexBy as W } from "./
|
5
|
-
import { hash as H } from "./
|
6
|
-
import { useItemsGetter as q } from "./
|
7
|
-
import { usePrefill as z } from "./
|
8
|
-
import { useIndexById as J } from "./
|
9
|
-
import { useBaseOptions as K } from "./
|
10
|
-
import { useHashedWatcher as Q } from "./
|
2
|
+
import { useItemValue as U } from "./index287.js";
|
3
|
+
import { isNil as x } from "./index250.js";
|
4
|
+
import { indexBy as W } from "./index300.js";
|
5
|
+
import { hash as H } from "./index216.js";
|
6
|
+
import { useItemsGetter as q } from "./index227.js";
|
7
|
+
import { usePrefill as z } from "./index232.js";
|
8
|
+
import { useIndexById as J } from "./index228.js";
|
9
|
+
import { useBaseOptions as K } from "./index229.js";
|
10
|
+
import { useHashedWatcher as Q } from "./index231.js";
|
11
11
|
const ne = /* @__PURE__ */ L({
|
12
12
|
__name: "BbRows",
|
13
13
|
props: /* @__PURE__ */ V({
|
package/dist/index111.js
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
import { defineComponent as me, mergeModels as G, ref as fe, computed as k, toRef as z, useModel as J, watch as K, reactive as ye, openBlock as n, createBlock as Q, resolveDynamicComponent as he, normalizeClass as r, unref as i, withCtx as ve, createElementBlock as d, toDisplayString as u, createCommentVNode as g, createElementVNode as o, renderSlot as p, isRef as ke, Fragment as V, renderList as B, createVNode as X, createTextVNode as _e, mergeProps as ge } from "vue";
|
2
|
-
import { add as Ce } from "./
|
3
|
-
import { clamp as we } from "./
|
4
|
-
import { isNil as Y } from "./
|
2
|
+
import { add as Ce } from "./index313.js";
|
3
|
+
import { clamp as we } from "./index206.js";
|
4
|
+
import { isNil as Y } from "./index250.js";
|
5
5
|
import { useId as Ve } from "./index8.js";
|
6
|
-
import { useItemValue as Be } from "./
|
7
|
-
import { when as Te } from "./
|
6
|
+
import { useItemValue as Be } from "./index287.js";
|
7
|
+
import { when as Te } from "./index208.js";
|
8
8
|
import Z from "./index17.js";
|
9
9
|
/* empty css */
|
10
10
|
import $e from "./index31.js";
|
11
11
|
/* empty css */
|
12
|
-
import { hash as ee } from "./
|
13
|
-
import { useItemsGetter as Se } from "./
|
14
|
-
import { usePrefill as Ie } from "./
|
15
|
-
import { useIndexById as Ne } from "./
|
16
|
-
import { useBaseOptions as Ae } from "./
|
17
|
-
import { useHashedWatcher as He } from "./
|
12
|
+
import { hash as ee } from "./index216.js";
|
13
|
+
import { useItemsGetter as Se } from "./index227.js";
|
14
|
+
import { usePrefill as Ie } from "./index232.js";
|
15
|
+
import { useIndexById as Ne } from "./index228.js";
|
16
|
+
import { useBaseOptions as Ae } from "./index229.js";
|
17
|
+
import { useHashedWatcher as He } from "./index231.js";
|
18
18
|
const Le = {
|
19
19
|
key: 0,
|
20
20
|
class: "sr-only"
|
package/dist/index119.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as l, openBlock as e, createBlock as o, withCtx as r, createElementVNode as c, normalizeClass as m, createVNode as i, TransitionGroup as u, createElementBlock as p, Fragment as f, renderList as _, unref as n, mergeProps as d } from "vue";
|
2
2
|
import { state as k, useToast as b } from "./index11.js";
|
3
|
-
import C from "./
|
4
|
-
import B from "./
|
3
|
+
import C from "./index237.js";
|
4
|
+
import B from "./index311.js";
|
5
5
|
const V = /* @__PURE__ */ l({
|
6
6
|
__name: "BbToast",
|
7
7
|
props: {
|
package/dist/index121.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent as N, ref as a, watch as V, computed as H, openBlock as B, createElementBlock as z, mergeProps as I, createElementVNode as p, renderSlot as C, normalizeProps as R, guardReactiveProps as S, unref as c, createVNode as U, withCtx as E, createBlock as W, createCommentVNode as j } from "vue";
|
2
|
-
import { useFloating as q, arrow as A } from "./
|
2
|
+
import { useFloating as q, arrow as A } from "./index242.js";
|
3
3
|
import { useId as G } from "./index8.js";
|
4
4
|
import { wait as _ } from "./index130.js";
|
5
5
|
import J from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { throttle as m } from "./
|
8
|
-
import { waitFor as K } from "./
|
9
|
-
import Q from "./
|
7
|
+
import { throttle as m } from "./index233.js";
|
8
|
+
import { waitFor as K } from "./index235.js";
|
9
|
+
import Q from "./index265.js";
|
10
10
|
/* empty css */
|
11
|
-
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./
|
11
|
+
import { autoUpdate as X, flip as Y, shift as Z, hide as x } from "./index247.js";
|
12
12
|
const pe = /* @__PURE__ */ N({
|
13
13
|
__name: "BbTooltip",
|
14
14
|
props: {
|
package/dist/index123.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as $, computed as g, resolveComponent as y, openBlock as f, createElementBlock 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 "./index318.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/index127.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as p, getCurrentInstance as c, onServerPrefetch as w, onBeforeMount as z, inject as _, watch as b, computed as f, openBlock as h, createElementBlock as $, mergeProps as g } from "vue";
|
2
|
-
import { isCssColor as I } from "./
|
2
|
+
import { isCssColor as I } from "./index207.js";
|
3
3
|
const B = ["innerHTML"], k = /* @__PURE__ */ v({
|
4
4
|
__name: "BbIcon",
|
5
5
|
props: {
|
package/dist/index128.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as v, ref as r, onMounted as p, onBeforeUnmount as h, openBlock as i, createBlock as l, resolveDynamicComponent as u, normalizeStyle as m, withCtx as f, renderSlot as d } from "vue";
|
2
|
-
import { throttle as g } from "./
|
2
|
+
import { throttle as g } from "./index233.js";
|
3
3
|
const O = /* @__PURE__ */ v({
|
4
4
|
__name: "BbSmoothHeight",
|
5
5
|
props: {
|
package/dist/index129.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as p, computed as s, openBlock as b, createElementBlock as a, normalizeProps as _, guardReactiveProps as x, createStaticVNode as m } from "vue";
|
2
|
-
import { isCssColor as u } from "./
|
2
|
+
import { isCssColor as u } from "./index207.js";
|
3
3
|
const f = /* @__PURE__ */ p({
|
4
4
|
__name: "BbSpinner",
|
5
5
|
props: {
|
package/dist/index13.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { defineComponent as h, getCurrentInstance as p,
|
1
|
+
import { defineComponent as h, getCurrentInstance as p, shallowRef as C, watch as x, computed as d, openBlock as S, createBlock as L, resolveDynamicComponent as B, unref as N, mergeProps as $, withCtx as F, renderSlot as w, createTextVNode as A, toDisplayString as P, resolveComponent as f } from "vue";
|
2
2
|
import { _config as a } from "./index4.js";
|
3
|
-
import { useLogger as m } from "./
|
4
|
-
import { hash as v } from "./
|
3
|
+
import { useLogger as m } from "./index218.js";
|
4
|
+
import { hash as v } from "./index216.js";
|
5
5
|
const q = /* @__PURE__ */ h({
|
6
6
|
__name: "BaseButton",
|
7
7
|
props: {
|
package/dist/index131.js
CHANGED
package/dist/index132.js
CHANGED
@@ -1,5 +1,5 @@
|
|
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 "./
|
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 "./
|
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 "./index205.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 "./index205.js";
|
3
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;
|
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 "./index238.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 "./index240.js";
|
5
|
+
import { vMaska as M } from "./index245.js";
|
6
|
+
import { isHex as D } from "./index248.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 "./index207.js";
|
3
|
+
import { when as N } from "./index208.js";
|
4
|
+
import { booleanishToBoolean as S } from "./index209.js";
|
5
5
|
const A = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|
package/dist/index19.js
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
import { defineComponent as z, ref as B, toRef as d, openBlock as G, createBlock as R, unref as u, withCtx as s, renderSlot as l, normalizeProps as b, guardReactiveProps as v, createVNode as W, mergeProps as w } from "vue";
|
2
2
|
import K from "./index17.js";
|
3
3
|
/* empty css */
|
4
|
-
import N from "./
|
4
|
+
import N from "./index224.js";
|
5
5
|
/* empty css */
|
6
|
-
import { useLocale as U } from "./
|
7
|
-
import { useItemsGetter as q } from "./
|
8
|
-
import { useIndexById as C } from "./
|
9
|
-
import { useBaseOptions as J } from "./
|
10
|
-
import { useCoherence as Q } from "./
|
11
|
-
import { hash as X } from "./
|
12
|
-
import { useHashedWatcher as E } from "./
|
13
|
-
import { usePrefill as Y } from "./
|
6
|
+
import { useLocale as U } from "./index226.js";
|
7
|
+
import { useItemsGetter as q } from "./index227.js";
|
8
|
+
import { useIndexById as C } from "./index228.js";
|
9
|
+
import { useBaseOptions as J } from "./index229.js";
|
10
|
+
import { useCoherence as Q } from "./index230.js";
|
11
|
+
import { hash as X } from "./index216.js";
|
12
|
+
import { useHashedWatcher as E } from "./index231.js";
|
13
|
+
import { usePrefill as Y } from "./index232.js";
|
14
14
|
const me = /* @__PURE__ */ z({
|
15
15
|
__name: "BaseCheckboxGroup",
|
16
16
|
props: {
|
package/dist/index205.js
CHANGED
@@ -1,55 +1,117 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
const u = m, o = d(), l = () => {
|
18
|
-
var n;
|
19
|
-
!o.value || u.preventFocus || (n = o.value.querySelector("input")) == null || n.focus();
|
20
|
-
};
|
21
|
-
return (n, C) => (r(), _("span", {
|
22
|
-
ref_key: "container",
|
23
|
-
ref: o,
|
24
|
-
class: "bb-common-input-inner-container",
|
25
|
-
onClick: l
|
26
|
-
}, [
|
27
|
-
e(n.$slots, "prepend", {}, () => [
|
28
|
-
t("span", y, [
|
29
|
-
e(n.$slots, "prefix")
|
30
|
-
])
|
31
|
-
]),
|
32
|
-
n.$props["prepend:icon"] ? (r(), s(p(a), {
|
33
|
-
key: 0,
|
34
|
-
class: "bb-common-input-inner-container__prepend-icon",
|
35
|
-
type: n.$props["prepend:icon"]
|
36
|
-
}, null, 8, ["type"])) : i("", !0),
|
37
|
-
e(n.$slots, "default"),
|
38
|
-
n.$props["append:icon"] ? (r(), s(p(a), {
|
39
|
-
key: 1,
|
40
|
-
class: "bb-common-input-inner-container__append-icon",
|
41
|
-
type: n.$props["append:icon"]
|
42
|
-
}, null, 8, ["type"])) : i("", !0),
|
43
|
-
c(p($)),
|
44
|
-
c(b),
|
45
|
-
e(n.$slots, "append", {}, () => [
|
46
|
-
t("span", k, [
|
47
|
-
e(n.$slots, "suffix")
|
48
|
-
])
|
49
|
-
])
|
50
|
-
], 512));
|
1
|
+
import { getCurrentScope as F, onScopeDispose as O, unref as g, onMounted as x, nextTick as S, isRef as W, getCurrentInstance as C, watch as P } from "vue";
|
2
|
+
function V(e) {
|
3
|
+
return F() ? (O(e), !0) : !1;
|
4
|
+
}
|
5
|
+
function m(e) {
|
6
|
+
return typeof e == "function" ? e() : g(e);
|
7
|
+
}
|
8
|
+
const A = typeof window < "u" && typeof document < "u";
|
9
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
10
|
+
const E = (e) => e != null, v = Object.prototype.toString, I = (e) => v.call(e) === "[object Object]", p = () => {
|
11
|
+
};
|
12
|
+
function h(e, o) {
|
13
|
+
function t(...n) {
|
14
|
+
return new Promise((r, i) => {
|
15
|
+
Promise.resolve(e(() => o.apply(this, n), { fn: o, thisArg: this, args: n })).then(r).catch(i);
|
16
|
+
});
|
51
17
|
}
|
52
|
-
|
18
|
+
return t;
|
19
|
+
}
|
20
|
+
const M = (e) => e();
|
21
|
+
function T(e, o = {}) {
|
22
|
+
let t, n, r = p;
|
23
|
+
const i = (c) => {
|
24
|
+
clearTimeout(c), r(), r = p;
|
25
|
+
};
|
26
|
+
return (c) => {
|
27
|
+
const l = m(e), u = m(o.maxWait);
|
28
|
+
return t && i(t), l <= 0 || u !== void 0 && u <= 0 ? (n && (i(n), n = null), Promise.resolve(c())) : new Promise((s, w) => {
|
29
|
+
r = o.rejectOnCancel ? w : s, u && !n && (n = setTimeout(() => {
|
30
|
+
t && i(t), n = null, s(c());
|
31
|
+
}, u)), t = setTimeout(() => {
|
32
|
+
n && i(n), n = null, s(c());
|
33
|
+
}, l);
|
34
|
+
});
|
35
|
+
};
|
36
|
+
}
|
37
|
+
function R(...e) {
|
38
|
+
let o = 0, t, n = !0, r = p, i, a, c, l, u;
|
39
|
+
!W(e[0]) && typeof e[0] == "object" ? { delay: a, trailing: c = !0, leading: l = !0, rejectOnCancel: u = !1 } = e[0] : [a, c = !0, l = !0, u = !1] = e;
|
40
|
+
const s = () => {
|
41
|
+
t && (clearTimeout(t), t = void 0, r(), r = p);
|
42
|
+
};
|
43
|
+
return (j) => {
|
44
|
+
const f = m(a), b = Date.now() - o, d = () => i = j();
|
45
|
+
return s(), f <= 0 ? (o = Date.now(), d()) : (b > f && (l || !n) ? (o = Date.now(), d()) : c && (i = new Promise((y, D) => {
|
46
|
+
r = u ? D : y, t = setTimeout(() => {
|
47
|
+
o = Date.now(), n = !0, y(d()), s();
|
48
|
+
}, Math.max(0, f - b));
|
49
|
+
})), !l && !t && (t = setTimeout(() => n = !0, f)), n = !1, i);
|
50
|
+
};
|
51
|
+
}
|
52
|
+
function k(e) {
|
53
|
+
return C();
|
54
|
+
}
|
55
|
+
function N(e, o = 200, t = {}) {
|
56
|
+
return h(
|
57
|
+
T(o, t),
|
58
|
+
e
|
59
|
+
);
|
60
|
+
}
|
61
|
+
function _(e, o = 200, t = !1, n = !0, r = !1) {
|
62
|
+
return h(
|
63
|
+
R(o, t, n, r),
|
64
|
+
e
|
65
|
+
);
|
66
|
+
}
|
67
|
+
function G(e, o, t = {}) {
|
68
|
+
const {
|
69
|
+
eventFilter: n = M,
|
70
|
+
...r
|
71
|
+
} = t;
|
72
|
+
return P(
|
73
|
+
e,
|
74
|
+
h(
|
75
|
+
n,
|
76
|
+
o
|
77
|
+
),
|
78
|
+
r
|
79
|
+
);
|
80
|
+
}
|
81
|
+
function q(e, o = !0, t) {
|
82
|
+
k() ? x(e, t) : o ? e() : S(e);
|
83
|
+
}
|
84
|
+
function z(e, o, t = {}) {
|
85
|
+
const {
|
86
|
+
debounce: n = 0,
|
87
|
+
maxWait: r = void 0,
|
88
|
+
...i
|
89
|
+
} = t;
|
90
|
+
return G(
|
91
|
+
e,
|
92
|
+
o,
|
93
|
+
{
|
94
|
+
...i,
|
95
|
+
eventFilter: T(n, { maxWait: r })
|
96
|
+
}
|
97
|
+
);
|
98
|
+
}
|
53
99
|
export {
|
54
|
-
|
100
|
+
M as bypassFilter,
|
101
|
+
h as createFilterWrapper,
|
102
|
+
T as debounceFilter,
|
103
|
+
z as debouncedWatch,
|
104
|
+
k as getLifeCycleTarget,
|
105
|
+
A as isClient,
|
106
|
+
I as isObject,
|
107
|
+
p as noop,
|
108
|
+
E as notNullish,
|
109
|
+
R as throttleFilter,
|
110
|
+
m as toValue,
|
111
|
+
q as tryOnMounted,
|
112
|
+
V as tryOnScopeDispose,
|
113
|
+
N as useDebounceFn,
|
114
|
+
_ as useThrottleFn,
|
115
|
+
z as watchDebounced,
|
116
|
+
G as watchWithFilter
|
55
117
|
};
|
package/dist/index206.js
ADDED
package/dist/index207.js
CHANGED
@@ -1,15 +1,4 @@
|
|
1
|
-
|
2
|
-
/* empty css */
|
3
|
-
import r from "./index268.js";
|
4
|
-
const s = {}, c = { class: "bb-common-input-outer-container" };
|
5
|
-
function p(o, a) {
|
6
|
-
return t(), n("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]]);
|
1
|
+
const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
|
13
2
|
export {
|
14
|
-
|
3
|
+
s as isCssColor
|
15
4
|
};
|
package/dist/index208.js
CHANGED
@@ -1,22 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
const
|
3
|
-
if (a.arg == null || a.instance == null) return;
|
4
|
-
const s = "setup" in a.instance.$.type;
|
5
|
-
a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
|
6
|
-
}, k = (a, n) => {
|
7
|
-
var s;
|
8
|
-
const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
|
9
|
-
if (t == null || (t == null ? void 0 : t.type) === "file") return;
|
10
|
-
let e = {};
|
11
|
-
if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
|
12
|
-
const l = (o) => {
|
13
|
-
const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
|
14
|
-
p(n, i);
|
15
|
-
};
|
16
|
-
e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
|
17
|
-
}
|
18
|
-
u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
|
19
|
-
};
|
1
|
+
import { curry as e } from "./index267.js";
|
2
|
+
const t = (n, o, r) => n(r) ? o(r) : r, s = e(t);
|
20
3
|
export {
|
21
|
-
|
4
|
+
t as baseWhen,
|
5
|
+
s as when
|
22
6
|
};
|
package/dist/index209.js
CHANGED
package/dist/index21.js
CHANGED
@@ -4,20 +4,20 @@ import { defineComponent as z, ref as b, watch as U, openBlock as m, createEleme
|
|
4
4
|
import { useId as H } from "./index8.js";
|
5
5
|
import p from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import s from "./
|
8
|
-
import R from "./
|
9
|
-
import Z from "./
|
7
|
+
import s from "./index210.js";
|
8
|
+
import R from "./index211.js";
|
9
|
+
import Z from "./index212.js";
|
10
10
|
import q from "./index213.js";
|
11
|
-
import F from "./
|
12
|
-
import G from "./
|
13
|
-
import { hash as h } from "./
|
11
|
+
import F from "./index214.js";
|
12
|
+
import G from "./index215.js";
|
13
|
+
import { hash as h } from "./index216.js";
|
14
14
|
import { last as J } from "./index217.js";
|
15
|
-
import { useLogger as K } from "./
|
16
|
-
import Q from "./
|
17
|
-
import X from "./
|
18
|
-
import ee from "./
|
19
|
-
import C from "./
|
20
|
-
import ae from "./
|
15
|
+
import { useLogger as K } from "./index218.js";
|
16
|
+
import Q from "./index219.js";
|
17
|
+
import X from "./index220.js";
|
18
|
+
import ee from "./index221.js";
|
19
|
+
import C from "./index222.js";
|
20
|
+
import ae from "./index223.js";
|
21
21
|
const le = { class: "bb-base-date-picker" }, te = { class: "bb-base-date-picker__body" }, oe = { class: "bb-base-date-picker__controls" }, re = {
|
22
22
|
style: { transform: "rotate(180deg)" },
|
23
23
|
viewBox: "0 0 24 24",
|