bitboss-ui 2.1.74 → 2.1.76
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/BbTable/BbTable.vue.d.ts +1 -1
- package/dist/composables/useBbConfig.d.ts +5 -1
- package/dist/index.css +1 -1
- package/dist/index107.js +9 -9
- package/dist/index112.js +1 -1
- package/dist/index114.js +1 -1
- package/dist/index120.js +137 -136
- package/dist/index122.js +29 -29
- package/dist/index13.js +64 -33
- package/dist/index130.js +1 -1
- package/dist/index132.js +5 -5
- package/dist/index134.js +1 -1
- package/dist/index136.js +2 -2
- package/dist/index143.js +2 -2
- package/dist/index15.js +5 -5
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index21.js +14 -14
- package/dist/index217.js +7 -5
- package/dist/index218.js +2 -8
- package/dist/index219.js +5 -9
- package/dist/index220.js +8 -13
- package/dist/index221.js +5 -13
- package/dist/index222.js +2 -127
- package/dist/index223.js +4 -0
- package/dist/index224.js +2 -4
- package/dist/index225.js +13 -23
- package/dist/index226.js +9 -2
- package/dist/index227.js +3 -2
- package/dist/index228.js +3 -2
- package/dist/index229.js +2 -4
- package/dist/index23.js +11 -11
- package/dist/index230.js +16 -18
- package/dist/index231.js +12 -201
- package/dist/index232.js +53 -0
- package/dist/index233.js +15 -34
- package/dist/index234.js +12 -9
- package/dist/index235.js +17 -2
- package/dist/index236.js +29 -8
- package/dist/index237.js +16 -3
- package/dist/index238.js +4 -29
- package/dist/index239.js +106 -16
- package/dist/index241.js +99 -50
- package/dist/index243.js +127 -3
- package/dist/index245.js +227 -6
- package/dist/index246.js +13 -2
- package/dist/index247.js +3 -7
- package/dist/index248.js +5 -2
- package/dist/index249.js +5 -7
- package/dist/index25.js +3 -3
- package/dist/index250.js +5 -188
- package/dist/index251.js +4 -4
- package/dist/index252.js +3 -3
- package/dist/index253.js +4 -4
- package/dist/index254.js +20 -5
- package/dist/index255.js +32 -5
- package/dist/index256.js +26 -266
- package/dist/index258.js +32 -50
- package/dist/index259.js +2 -32
- package/dist/index260.js +7 -60
- package/dist/index261.js +7 -3
- package/dist/index262.js +9 -17
- package/dist/index263.js +2 -11
- package/dist/index264.js +4 -15
- package/dist/index265.js +3 -4
- package/dist/index266.js +4 -106
- package/dist/index267.js +203 -0
- package/dist/index269.js +88 -0
- package/dist/index27.js +1 -1
- package/dist/index271.js +5 -86
- package/dist/index272.js +8 -0
- package/dist/index273.js +8 -10
- package/dist/index274.js +268 -3
- package/dist/index275.js +52 -9
- package/dist/index276.js +45 -60
- package/dist/index277.js +31 -8
- package/dist/index278.js +60 -23
- package/dist/index279.js +9 -5
- package/dist/index280.js +23 -5
- package/dist/index281.js +9 -5
- package/dist/index282.js +8 -5
- package/dist/index283.js +9 -3
- package/dist/index284.js +23 -13
- package/dist/index285.js +12 -6
- package/dist/index286.js +186 -39
- package/dist/index287.js +67 -6
- package/dist/index288.js +6 -16
- package/dist/index289.js +16 -33
- package/dist/index29.js +2 -2
- package/dist/index290.js +40 -27
- package/dist/index292.js +3 -3
- package/dist/index294.js +3 -17
- package/dist/index295.js +5 -3
- package/dist/index296.js +2 -2
- package/dist/index297.js +3 -280
- package/dist/index298.js +3 -2
- package/dist/index299.js +3 -16
- package/dist/index300.js +2 -2
- package/dist/index301.js +27 -15
- package/dist/index302.js +17 -2
- package/dist/index303.js +4 -27
- package/dist/index304.js +280 -2
- package/dist/index305.js +2 -2
- package/dist/index306.js +125 -2
- package/dist/index307.js +2 -2
- package/dist/index308.js +15 -2
- package/dist/index309.js +2 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +16 -5
- package/dist/index311.js +2 -2
- package/dist/index312.js +16 -3
- package/dist/index313.js +2 -3
- package/dist/index314.js +19 -3
- package/dist/index315.js +2 -3
- package/dist/index316.js +2 -4
- package/dist/index317.js +3 -2
- package/dist/index318.js +5 -4
- package/dist/index319.js +3 -2
- package/dist/index320.js +4 -0
- package/dist/index321.js +27 -3
- package/dist/index322.js +2 -125
- package/dist/index323.js +2 -2
- package/dist/index324.js +2 -15
- package/dist/index325.js +2 -2
- package/dist/index326.js +2 -19
- package/dist/index327.js +2 -2
- package/dist/index329.js +4 -719
- package/dist/index33.js +8 -8
- package/dist/index330.js +716 -363
- package/dist/index331.js +366 -57
- package/dist/index332.js +57 -5
- package/dist/index333.js +58 -7
- package/dist/index334.js +57 -18
- package/dist/index335.js +45 -7
- package/dist/index336.js +34 -14
- package/dist/index337.js +6 -8
- package/dist/index338.js +128 -5
- package/dist/index339.js +396 -6
- package/dist/index340.js +7 -34
- package/dist/index341.js +6 -6
- package/dist/index342.js +7 -128
- package/dist/index343.js +83 -388
- package/dist/index344.js +227 -57
- package/dist/index345.js +518 -56
- package/dist/index346.js +133 -6
- package/dist/index347.js +5 -5
- package/dist/index348.js +6 -92
- package/dist/index349.js +17 -45
- package/dist/index35.js +4 -4
- package/dist/index350.js +9 -22
- package/dist/index351.js +17 -0
- package/dist/index352.js +6 -133
- package/dist/index353.js +45 -515
- package/dist/index354.js +21 -227
- package/dist/index356.js +427 -114
- package/dist/index357.js +126 -48
- package/dist/index37.js +18 -18
- package/dist/index39.js +6 -6
- package/dist/index4.js +12 -10
- 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 +4 -4
- package/dist/index67.js +1 -1
- package/dist/index80.js +6 -6
- package/dist/index82.js +1 -1
- package/dist/index84.js +2 -2
- package/dist/index86.js +3 -3
- package/dist/index88.js +1 -1
- package/dist/index91.js +3 -3
- package/dist/index93.js +2 -2
- package/dist/index95.js +5 -5
- package/package.json +2 -2
- package/dist/index240.js +0 -19
- package/dist/index242.js +0 -14
- package/dist/index257.js +0 -54
- package/dist/index268.js +0 -102
- package/dist/index270.js +0 -231
- package/dist/index293.js +0 -30
- package/dist/index355.js +0 -443
- /package/dist/{index244.js → index291.js} +0 -0
package/dist/index13.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { useFrameworkDetection as
|
|
4
|
-
|
|
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 "./index258.js";
|
|
3
|
+
import { useFrameworkDetection as _ } from "./index226.js";
|
|
4
|
+
import { _config as g } from "./index4.js";
|
|
5
|
+
const D = /* @__PURE__ */ w({
|
|
5
6
|
__name: "BaseButton",
|
|
6
7
|
props: {
|
|
7
8
|
activeClass: {},
|
|
@@ -31,15 +32,45 @@ const P = /* @__PURE__ */ C({
|
|
|
31
32
|
to: {},
|
|
32
33
|
type: { default: "button" }
|
|
33
34
|
},
|
|
34
|
-
setup(
|
|
35
|
-
const e =
|
|
35
|
+
setup(C) {
|
|
36
|
+
const e = C, { isInertia: a } = _(), S = P(), n = r(() => {
|
|
37
|
+
const t = S?.proxy?.$page?.url;
|
|
38
|
+
if (t)
|
|
39
|
+
try {
|
|
40
|
+
return new URL(t, "http://localhost").pathname;
|
|
41
|
+
} catch {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
}), k = r(() => {
|
|
45
|
+
if (!a || !e.href || !n.value) return !1;
|
|
46
|
+
try {
|
|
47
|
+
return new URL(e.href, "http://localhost").pathname === n.value;
|
|
48
|
+
} catch {
|
|
49
|
+
return !1;
|
|
50
|
+
}
|
|
51
|
+
}), A = r(() => {
|
|
52
|
+
if (!a || !e.href || !n.value) return !1;
|
|
53
|
+
try {
|
|
54
|
+
return n.value.startsWith(
|
|
55
|
+
new URL(e.href, "http://localhost").pathname
|
|
56
|
+
);
|
|
57
|
+
} catch {
|
|
58
|
+
return !1;
|
|
59
|
+
}
|
|
60
|
+
}), s = r(() => !!(e.href && a && !e.disabled && !e.target || e.to && !e.disabled)), o = r(() => !!(e.href || e.to && e.disabled)), m = r(
|
|
61
|
+
() => e.activeClass ?? g.linkActiveClass
|
|
62
|
+
), y = r(
|
|
63
|
+
() => e.exactActiveClass ?? g.linkExactActiveClass
|
|
64
|
+
), l = r(() => ({
|
|
36
65
|
"base-btn": !0,
|
|
37
66
|
"base-btn--block": e.block,
|
|
38
|
-
"base-btn--disabled": e.disabled
|
|
39
|
-
|
|
67
|
+
"base-btn--disabled": e.disabled,
|
|
68
|
+
[m.value]: A.value,
|
|
69
|
+
[y.value]: k.value
|
|
70
|
+
})), B = () => ({
|
|
40
71
|
disabled: e.disabled,
|
|
41
72
|
type: e.type
|
|
42
|
-
}),
|
|
73
|
+
}), F = () => {
|
|
43
74
|
if (e.disabled)
|
|
44
75
|
return {
|
|
45
76
|
"aria-disabled": !0,
|
|
@@ -50,42 +81,42 @@ const P = /* @__PURE__ */ C({
|
|
|
50
81
|
href: e.href,
|
|
51
82
|
target: e.target
|
|
52
83
|
};
|
|
53
|
-
return
|
|
54
|
-
},
|
|
55
|
-
activeClass:
|
|
84
|
+
return a && (t.data = e.data, t.headers = e.headers, t.method = e.method, t.onBefore = e.onBefore, t.onCancel = e.onCancel, t.onCancelToken = e.onCancelToken, t.onFinish = e.onFinish, t.only = e.only, t.onProgress = e.onProgress, t.onStart = e.onStart, t.onSuccess = e.onSuccess, t.preserveScroll = e.preserveScroll, t.preserveState = e.preserveState, t.queryStringArrayFormat = e.queryStringArrayFormat, t.replace = e.replace), t;
|
|
85
|
+
}, x = () => ({
|
|
86
|
+
activeClass: m.value,
|
|
56
87
|
ariaCurrentValue: e.ariaCurrentValue,
|
|
57
|
-
exactActiveClass:
|
|
88
|
+
exactActiveClass: y.value,
|
|
58
89
|
replace: e.replace,
|
|
59
90
|
target: e.target,
|
|
60
91
|
to: e.to
|
|
61
|
-
}),
|
|
62
|
-
return (t,
|
|
92
|
+
}), u = r(() => !s.value && !o.value ? B() : o.value || s.value && a ? F() : s.value ? x() : {});
|
|
93
|
+
return (t, $) => s.value ? (i(), c(R, f({
|
|
63
94
|
key: 0,
|
|
64
|
-
class:
|
|
65
|
-
},
|
|
66
|
-
default:
|
|
67
|
-
|
|
68
|
-
p(
|
|
95
|
+
class: l.value
|
|
96
|
+
}, u.value), {
|
|
97
|
+
default: v(() => [
|
|
98
|
+
d(t.$slots, "default", {}, () => [
|
|
99
|
+
p(h(t.text), 1)
|
|
69
100
|
])
|
|
70
101
|
]),
|
|
71
102
|
_: 3
|
|
72
|
-
}, 16, ["class"])) :
|
|
103
|
+
}, 16, ["class"])) : o.value ? (i(), c(b("a"), f({
|
|
73
104
|
key: 1,
|
|
74
|
-
class:
|
|
75
|
-
},
|
|
76
|
-
default:
|
|
77
|
-
|
|
78
|
-
p(
|
|
105
|
+
class: l.value
|
|
106
|
+
}, u.value), {
|
|
107
|
+
default: v(() => [
|
|
108
|
+
d(t.$slots, "default", {}, () => [
|
|
109
|
+
p(h(t.text), 1)
|
|
79
110
|
])
|
|
80
111
|
]),
|
|
81
112
|
_: 3
|
|
82
|
-
}, 16, ["class"])) : (i(),
|
|
113
|
+
}, 16, ["class"])) : (i(), c(b(t.tag), f({
|
|
83
114
|
key: 2,
|
|
84
|
-
class:
|
|
85
|
-
},
|
|
86
|
-
default:
|
|
87
|
-
|
|
88
|
-
p(
|
|
115
|
+
class: l.value
|
|
116
|
+
}, u.value), {
|
|
117
|
+
default: v(() => [
|
|
118
|
+
d(t.$slots, "default", {}, () => [
|
|
119
|
+
p(h(t.text), 1)
|
|
89
120
|
])
|
|
90
121
|
]),
|
|
91
122
|
_: 3
|
|
@@ -93,5 +124,5 @@ const P = /* @__PURE__ */ C({
|
|
|
93
124
|
}
|
|
94
125
|
});
|
|
95
126
|
export {
|
|
96
|
-
|
|
127
|
+
D as default
|
|
97
128
|
};
|
package/dist/index130.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 "./index287.js";
|
|
4
4
|
const $ = /* @__PURE__ */ a({
|
|
5
5
|
__name: "BbToast",
|
|
6
6
|
props: {
|
package/dist/index132.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as R, mergeModels as U, ref as L, computed as v, useTemplateRef as W, useModel as x, watch as m, onBeforeUnmount as F, createElementBlock as I, openBlock as g, Fragment as _, renderSlot as k, createCommentVNode as C, createVNode as j, normalizeProps as q, mergeProps as B, withCtx as T, createElementVNode as f, normalizeStyle as G, createBlock as H, unref as J } from "vue";
|
|
2
2
|
import { useId as K } from "./index8.js";
|
|
3
|
-
import { useLocale as Q } from "./
|
|
4
|
-
import { useUntil as X } from "./
|
|
3
|
+
import { useLocale as Q } from "./index225.js";
|
|
4
|
+
import { useUntil as X } from "./index246.js";
|
|
5
5
|
import Y from "./index13.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import Z from "./
|
|
7
|
+
import Z from "./index243.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useElementSize as ee } from "./index141.js";
|
|
10
|
-
import { extractDomContainer as V } from "./
|
|
11
|
-
import { parseWidthString as te } from "./
|
|
10
|
+
import { extractDomContainer as V } from "./index264.js";
|
|
11
|
+
import { parseWidthString as te } from "./index280.js";
|
|
12
12
|
const ce = /* @__PURE__ */ R({
|
|
13
13
|
inheritAttrs: !1,
|
|
14
14
|
__name: "BbTooltip",
|
package/dist/index134.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 "./index221.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/index136.js
CHANGED
|
@@ -5,8 +5,8 @@ import u from "./index86.js";
|
|
|
5
5
|
/* empty css */
|
|
6
6
|
import I from "./index114.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import N from "./
|
|
9
|
-
import g from "./
|
|
8
|
+
import N from "./index255.js";
|
|
9
|
+
import g from "./index256.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/index143.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isArray as p } from "./
|
|
2
|
-
import { isPlainObject as i } from "./
|
|
1
|
+
import { isArray as p } from "./index219.js";
|
|
2
|
+
import { isPlainObject as i } from "./index220.js";
|
|
3
3
|
function f(e, n, u, l, r) {
|
|
4
4
|
const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
|
|
5
5
|
o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
|
package/dist/index15.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as H, ref as s, computed as M, createBlock as D, openBlock as E, normalizeClass as I, withCtx as l, createVNode as d, unref as u, withDirectives as L, 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 "./index266.js";
|
|
3
3
|
import { isNotNil as F } from "./index144.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 "./index225.js";
|
|
6
|
+
import { vMaska as A } from "./index254.js";
|
|
7
|
+
import K from "./index267.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import O from "./index136.js";
|
|
10
10
|
/* empty css */
|
|
11
11
|
import P from "./index138.js";
|
|
12
|
-
import T from "./
|
|
12
|
+
import T from "./index243.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" }, ie = /* @__PURE__ */ H({
|
|
15
15
|
__name: "BaseColorInput",
|
package/dist/index17.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as _, ref as i, computed as t, watch as F, createElementBlock as p, openBlock as h, normalizeProps as d, guardReactiveProps as f, createCommentVNode as L, createElementVNode as s, mergeProps as k, renderSlot as M } from "vue";
|
|
2
|
-
import { isCssColor as y } from "./
|
|
3
|
-
import { booleanishToBoolean as q } from "./
|
|
4
|
-
import { isEqual as A } from "./
|
|
2
|
+
import { isCssColor as y } from "./index224.js";
|
|
3
|
+
import { booleanishToBoolean as q } from "./index222.js";
|
|
4
|
+
import { isEqual as A } from "./index292.js";
|
|
5
5
|
const N = {
|
|
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 z, ref as B, toRef as p, computed as G, createBlock as R, openBlock as W, unref as T, withCtx as n, renderSlot as s, normalizeProps as f, guardReactiveProps as h, createVNode as K, mergeProps as w } from "vue";
|
|
2
2
|
import N from "./index17.js";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import U from "./
|
|
4
|
+
import U from "./index269.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { useItemsGetter as q } from "./
|
|
7
|
-
import { useIndexById as C } from "./
|
|
8
|
-
import { useBaseOptions as J } from "./
|
|
9
|
-
import { useCoherence as Q } from "./
|
|
10
|
-
import { hash as X } from "./
|
|
11
|
-
import { useHashedWatcher as $ } from "./
|
|
12
|
-
import { usePrefill as Y } from "./
|
|
6
|
+
import { useItemsGetter as q } from "./index236.js";
|
|
7
|
+
import { useIndexById as C } from "./index235.js";
|
|
8
|
+
import { useBaseOptions as J } from "./index232.js";
|
|
9
|
+
import { useCoherence as Q } from "./index233.js";
|
|
10
|
+
import { hash as X } from "./index227.js";
|
|
11
|
+
import { useHashedWatcher as $ } from "./index234.js";
|
|
12
|
+
import { usePrefill as Y } from "./index237.js";
|
|
13
13
|
const ce = /* @__PURE__ */ z({
|
|
14
14
|
__name: "BaseCheckboxGroup",
|
|
15
15
|
props: {
|
package/dist/index21.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 "./index13.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 "./index248.js";
|
|
9
|
+
import ee from "./index251.js";
|
|
10
|
+
import ae from "./index252.js";
|
|
11
|
+
import te from "./index271.js";
|
|
12
|
+
import { hash as B } from "./index227.js";
|
|
13
|
+
import { last as le } from "./index229.js";
|
|
14
|
+
import { validateDateFormat as L } from "./index272.js";
|
|
15
|
+
import { useLogger as oe } from "./index273.js";
|
|
16
|
+
import re from "./index274.js";
|
|
17
|
+
import se from "./index275.js";
|
|
18
|
+
import de from "./index276.js";
|
|
19
|
+
import S from "./index277.js";
|
|
20
|
+
import ie from "./index278.js";
|
|
21
|
+
import { useLocale as ne } from "./index225.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/index217.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
const s = (r, t) => {
|
|
2
|
+
if (r.endsWith("."))
|
|
3
|
+
return t === 0 ? r.slice(0, -1) : r;
|
|
4
|
+
const [n, i] = r.split(".");
|
|
5
|
+
return i ? `${n}.${i.slice(0, t)}` : r;
|
|
6
|
+
};
|
|
5
7
|
export {
|
|
6
|
-
|
|
8
|
+
s as clampPrecision
|
|
7
9
|
};
|
package/dist/index218.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
function c(e) {
|
|
3
|
-
if (o(e) !== "Object")
|
|
4
|
-
return !1;
|
|
5
|
-
const t = Object.getPrototypeOf(e);
|
|
6
|
-
return !!t && t.constructor === Object && t === Object.prototype;
|
|
7
|
-
}
|
|
1
|
+
const r = (e) => typeof e > "u" || e === null;
|
|
8
2
|
export {
|
|
9
|
-
|
|
3
|
+
r as isNil
|
|
10
4
|
};
|
package/dist/index219.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
isInertia: n,
|
|
6
|
-
isNuxt: r
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
import { getType as t } from "./index329.js";
|
|
2
|
+
function o(r) {
|
|
3
|
+
return t(r) === "Array";
|
|
4
|
+
}
|
|
9
5
|
export {
|
|
10
|
-
|
|
6
|
+
o as isArray
|
|
11
7
|
};
|
package/dist/index220.js
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
(a, e) => r[e]
|
|
9
|
-
))
|
|
10
|
-
), d = () => ({
|
|
11
|
-
t: p
|
|
12
|
-
});
|
|
1
|
+
import { getType as o } from "./index329.js";
|
|
2
|
+
function c(e) {
|
|
3
|
+
if (o(e) !== "Object")
|
|
4
|
+
return !1;
|
|
5
|
+
const t = Object.getPrototypeOf(e);
|
|
6
|
+
return !!t && t.constructor === Object && t === Object.prototype;
|
|
7
|
+
}
|
|
13
8
|
export {
|
|
14
|
-
|
|
9
|
+
c as isPlainObject
|
|
15
10
|
};
|
package/dist/index221.js
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const n = f(
|
|
6
|
-
() => u(e),
|
|
7
|
-
(s) => {
|
|
8
|
-
s && (t.value = o, n());
|
|
9
|
-
}
|
|
10
|
-
);
|
|
11
|
-
return t;
|
|
12
|
-
};
|
|
1
|
+
const o = (l, n, f = (r) => r, u) => l.map((r) => Array.isArray(r[n]) ? [
|
|
2
|
+
f(r, u),
|
|
3
|
+
...o(r[n], n, f, f(r, u))
|
|
4
|
+
] : [f(r, u)]).flat();
|
|
13
5
|
export {
|
|
14
|
-
|
|
6
|
+
o as flattenTree
|
|
15
7
|
};
|
package/dist/index222.js
CHANGED
|
@@ -1,129 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { useCancelableFunction as H } from "./index340.js";
|
|
3
|
-
import { useUntil as J } from "./index221.js";
|
|
4
|
-
import { extractDomContainer as h } from "./index224.js";
|
|
5
|
-
import { waitFor as K } from "./index341.js";
|
|
6
|
-
import { arrow as O, useFloating as Q } from "./index342.js";
|
|
7
|
-
import { flip as R, offset as W, shift as Y, hide as Z, autoUpdate as ee } from "./index343.js";
|
|
8
|
-
const oe = {
|
|
9
|
-
key: 0,
|
|
10
|
-
class: "bb-common-popover__bubble"
|
|
11
|
-
}, ue = /* @__PURE__ */ V({
|
|
12
|
-
__name: "CommonPopover",
|
|
13
|
-
props: /* @__PURE__ */ L({
|
|
14
|
-
arrowPadding: {},
|
|
15
|
-
eager: { type: Boolean },
|
|
16
|
-
offset: {},
|
|
17
|
-
padding: { default: 0 },
|
|
18
|
-
placement: {},
|
|
19
|
-
transitionDuration: { default: 250 },
|
|
20
|
-
anchor: {},
|
|
21
|
-
boundary: {},
|
|
22
|
-
dialog: { type: Boolean },
|
|
23
|
-
tag: { default: "span" },
|
|
24
|
-
flip: { type: Boolean, default: !0 }
|
|
25
|
-
}, {
|
|
26
|
-
modelValue: { type: Boolean, default: !1 },
|
|
27
|
-
modelModifiers: {}
|
|
28
|
-
}),
|
|
29
|
-
emits: ["update:modelValue"],
|
|
30
|
-
setup(c) {
|
|
31
|
-
const e = c, r = T(c, "modelValue"), s = p(r.value), x = n(() => e.dialog ? "dialog" : "span"), t = p(), m = p(), _ = n(() => h(e.anchor)), C = J(r, { initialValue: e.eager }), P = n(() => {
|
|
32
|
-
if (e.boundary)
|
|
33
|
-
return typeof e.boundary == "string" ? document.querySelector(e.boundary) ?? void 0 : h(e.boundary) ?? void 0;
|
|
34
|
-
}), k = n(() => {
|
|
35
|
-
const o = P.value;
|
|
36
|
-
return [
|
|
37
|
-
...e.flip ? [R(o ? { boundary: o } : void 0)] : [],
|
|
38
|
-
W(e.offset),
|
|
39
|
-
Y({ padding: e.padding, ...o ? { boundary: o } : {} }),
|
|
40
|
-
Z(),
|
|
41
|
-
O({
|
|
42
|
-
element: m,
|
|
43
|
-
padding: e.arrowPadding
|
|
44
|
-
})
|
|
45
|
-
];
|
|
46
|
-
}), { floatingStyles: M, placement: B, middlewareData: u, update: f } = Q(
|
|
47
|
-
_,
|
|
48
|
-
t,
|
|
49
|
-
{
|
|
50
|
-
placement: e.placement,
|
|
51
|
-
whileElementsMounted: ee,
|
|
52
|
-
middleware: k,
|
|
53
|
-
strategy: "fixed"
|
|
54
|
-
}
|
|
55
|
-
), { execute: v } = H(
|
|
56
|
-
({ signal: o }, a) => new Promise((l) => {
|
|
57
|
-
let i;
|
|
58
|
-
const d = () => {
|
|
59
|
-
i && clearTimeout(i);
|
|
60
|
-
};
|
|
61
|
-
o.addEventListener("abort", d), a ? (E(), f(), K(() => !!t.value).then(() => {
|
|
62
|
-
s.value = !0, o.removeEventListener("abort", d), l(void 0);
|
|
63
|
-
})) : (s.value = !1, i = setTimeout(() => {
|
|
64
|
-
G(() => {
|
|
65
|
-
t.value && (e.dialog ? t.value.close() : t.value.hidePopover()), o.removeEventListener("abort", d), f(), l(void 0);
|
|
66
|
-
});
|
|
67
|
-
}, e.transitionDuration));
|
|
68
|
-
})
|
|
69
|
-
), E = () => {
|
|
70
|
-
if (!t.value) return;
|
|
71
|
-
if (!e.dialog) return t.value.showPopover();
|
|
72
|
-
t.value.showModal();
|
|
73
|
-
};
|
|
74
|
-
F(r, v), S(() => {
|
|
75
|
-
r.value && v(r.value);
|
|
76
|
-
});
|
|
77
|
-
const $ = n(() => {
|
|
78
|
-
const o = r.value ? void 0 : -1, a = Math.round(u.value.arrow?.x ?? 0), l = e.dialog ? void 0 : "manual";
|
|
79
|
-
return {
|
|
80
|
-
style: {
|
|
81
|
-
...M.value,
|
|
82
|
-
"--transition-duration": `${e.transitionDuration}ms`,
|
|
83
|
-
"--page-padding": `${e.padding}px`,
|
|
84
|
-
"--arrow-offset-x": `${a}px`
|
|
85
|
-
},
|
|
86
|
-
popover: l,
|
|
87
|
-
tabindex: o
|
|
88
|
-
};
|
|
89
|
-
}), D = n(() => {
|
|
90
|
-
if (u.value.arrow) {
|
|
91
|
-
const { x: o, y: a } = u.value.arrow;
|
|
92
|
-
return {
|
|
93
|
-
style: {
|
|
94
|
-
left: `${o}px`,
|
|
95
|
-
top: `${a}px`
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
}), b = () => {
|
|
100
|
-
r.value = !1;
|
|
101
|
-
};
|
|
102
|
-
return (o, a) => (w(), A(N(x.value), g({
|
|
103
|
-
ref_key: "wrapper",
|
|
104
|
-
ref: t,
|
|
105
|
-
class: ["bb-common-popover", {
|
|
106
|
-
"bb-common-popover--open": s.value,
|
|
107
|
-
[`bb-common-popover--${y(B)}`]: !0
|
|
108
|
-
}]
|
|
109
|
-
}, $.value, {
|
|
110
|
-
onClick: U(b, ["self", "stop"]),
|
|
111
|
-
onClose: b
|
|
112
|
-
}), {
|
|
113
|
-
default: q(() => [
|
|
114
|
-
I("span", g({
|
|
115
|
-
ref_key: "bubblearrow",
|
|
116
|
-
ref: m,
|
|
117
|
-
class: "bb-common-popover__arrow"
|
|
118
|
-
}, D.value), null, 16),
|
|
119
|
-
y(C) ? (w(), X("span", oe, [
|
|
120
|
-
z(o.$slots, "default")
|
|
121
|
-
])) : j("", !0)
|
|
122
|
-
]),
|
|
123
|
-
_: 3
|
|
124
|
-
}, 16, ["class"]));
|
|
125
|
-
}
|
|
126
|
-
});
|
|
1
|
+
const o = (e) => typeof e == "boolean" ? e : e === "true";
|
|
127
2
|
export {
|
|
128
|
-
|
|
3
|
+
o as booleanishToBoolean
|
|
129
4
|
};
|
package/dist/index223.js
ADDED
package/dist/index224.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
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;
|
|
3
|
-
}
|
|
1
|
+
const s = (r) => !!r && !!r.match(/^(#|var\(--|(rgb|hsl)a?\()/);
|
|
4
2
|
export {
|
|
5
|
-
|
|
3
|
+
s as isCssColor
|
|
6
4
|
};
|
package/dist/index225.js
CHANGED
|
@@ -1,25 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
if (e) {
|
|
14
|
-
const [, n, o = "px"] = e, a = parseFloat(n);
|
|
15
|
-
return {
|
|
16
|
-
value: i(a),
|
|
17
|
-
unit: o
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
throw new Error(`Invalid width: ${t}`);
|
|
22
|
-
}
|
|
1
|
+
import { locales as t } from "./index296.js";
|
|
2
|
+
import { _config as m } from "./index4.js";
|
|
3
|
+
import { get as c } from "./index291.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
|
|
12
|
+
});
|
|
23
13
|
export {
|
|
24
|
-
|
|
14
|
+
d as useLocale
|
|
25
15
|
};
|
package/dist/index226.js
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { getCurrentInstance as e } from "vue";
|
|
2
|
+
const s = () => {
|
|
3
|
+
const t = e(), n = !!t?.proxy?.$inertia, r = !!t?.proxy?.$nuxt;
|
|
4
|
+
return {
|
|
5
|
+
isInertia: n,
|
|
6
|
+
isNuxt: r
|
|
7
|
+
};
|
|
8
|
+
};
|
|
2
9
|
export {
|
|
3
|
-
|
|
10
|
+
s as useFrameworkDetection
|
|
4
11
|
};
|
package/dist/index227.js
CHANGED
package/dist/index228.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { isNil as r } from "./index218.js";
|
|
2
|
+
const e = (t) => r(t) ? !0 : Array.isArray(t) || typeof t == "string" ? t.length === 0 : t instanceof Map || t instanceof Set ? t.size === 0 : typeof t == "number" ? Number.isNaN(t) : typeof t == "boolean" || typeof t == "function" ? !1 : typeof t == "object" ? "length" in t && typeof t.length == "number" ? t.length === 0 : Object.keys(t).length === 0 : !1;
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
+
e as isEmpty
|
|
4
5
|
};
|
package/dist/index229.js
CHANGED