bitboss-ui 2.0.116 → 2.0.117
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 -0
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +17 -3
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +4 -0
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +17 -3
- package/dist/components/BaseTag/BaseTag.vue.d.ts +17 -3
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +4 -0
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +4 -0
- package/dist/components/BbButton/BbButton.vue.d.ts +4 -4
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +4 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +5 -0
- package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +4 -0
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +4 -0
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +4 -0
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +0 -1
- package/dist/components/ClearableButton.vue.d.ts +2 -0
- package/dist/components/CommonInputInnerContainer.vue.d.ts +9 -1
- package/dist/index100.js +8 -8
- package/dist/index101.js +37 -35
- package/dist/index111.js +12 -12
- package/dist/index113.js +6 -4
- package/dist/index115.js +17 -15
- package/dist/index117.js +14 -12
- package/dist/index119.js +2 -2
- package/dist/index121.js +59 -61
- package/dist/index123.js +1 -1
- package/dist/index125.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 +2 -2
- package/dist/index131.js +1 -1
- package/dist/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +36 -31
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index205.js +115 -2
- package/dist/index206.js +2 -3
- package/dist/index207.js +41 -29
- package/dist/index209.js +1 -1
- package/dist/index21.js +16 -16
- package/dist/index210.js +20 -2
- package/dist/index211.js +4 -4
- package/dist/index212.js +13 -2
- package/dist/index213.js +3 -86
- package/dist/index214.js +128 -0
- package/dist/index215.js +5 -25
- package/dist/index216.js +123 -15
- package/dist/index217.js +15 -50
- package/dist/index218.js +16 -15
- package/dist/index219.js +19 -3
- package/dist/index220.js +15 -12
- package/dist/index221.js +2 -16
- package/dist/index222.js +2 -126
- package/dist/index223.js +41 -5
- package/dist/index224.js +6 -125
- package/dist/index225.js +15 -16
- package/dist/index226.js +5 -16
- package/dist/index227.js +2 -19
- package/dist/index228.js +368 -14
- package/dist/index229.js +86 -2
- package/dist/index23.js +115 -110
- package/dist/index231.js +24 -40
- package/dist/index232.js +17 -13
- package/dist/index233.js +49 -18
- package/dist/index234.js +15 -6
- package/dist/index235.js +3 -15
- package/dist/index236.js +12 -5
- package/dist/index237.js +15 -368
- package/dist/index238.js +2 -19
- package/dist/index239.js +4 -27
- package/dist/index240.js +2 -8
- package/dist/index241.js +17 -248
- package/dist/index242.js +26 -51
- package/dist/index243.js +6 -42
- package/dist/index244.js +250 -5
- package/dist/index245.js +43 -51
- package/dist/index246.js +44 -3
- package/dist/index247.js +5 -7
- package/dist/index248.js +60 -4
- package/dist/index249.js +3 -115
- package/dist/index25.js +7 -7
- package/dist/index250.js +7 -2
- package/dist/index251.js +2 -2
- package/dist/index252.js +2 -2
- package/dist/index253.js +2 -18
- package/dist/index254.js +17 -105
- package/dist/index255.js +108 -0
- package/dist/{index256.js → index257.js} +2 -2
- package/dist/index259.js +11 -9
- package/dist/index260.js +9 -2
- package/dist/index261.js +2 -8
- package/dist/index262.js +6 -23
- package/dist/index263.js +15 -89
- package/dist/index264.js +11 -0
- package/dist/index265.js +23 -6
- package/dist/index266.js +89 -15
- package/dist/index268.js +9 -3
- package/dist/index27.js +1 -1
- package/dist/index270.js +3 -7
- package/dist/index272.js +7 -3
- package/dist/index273.js +174 -15
- package/dist/index274.js +7 -9
- package/dist/index275.js +10 -27
- package/dist/index285.js +1 -1
- package/dist/index286.js +2 -176
- package/dist/index287.js +21 -1
- package/dist/index289.js +5 -0
- package/dist/index29.js +49 -41
- package/dist/index290.js +17 -7
- package/dist/index291.js +9 -11
- package/dist/index292.js +28 -2
- package/dist/index293.js +4 -2
- package/dist/index294.js +436 -2
- package/dist/index295.js +127 -2
- package/dist/index296.js +200 -2
- package/dist/index297.js +2 -2
- package/dist/index298.js +2 -22
- package/dist/index299.js +4 -0
- package/dist/index300.js +2 -9
- package/dist/index301.js +2 -200
- package/dist/index302.js +2 -436
- package/dist/index303.js +21 -126
- package/dist/index306.js +89 -3
- package/dist/index307.js +1 -1
- package/dist/index308.js +3 -214
- package/dist/index309.js +214 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -3
- package/dist/index311.js +3 -67
- package/dist/index312.js +3 -5
- package/dist/index313.js +58 -3
- package/dist/index314.js +5 -3
- package/dist/index315.js +65 -56
- package/dist/index316.js +6 -32
- package/dist/index317.js +18 -4
- package/dist/index318.js +3 -8
- package/dist/index319.js +32 -3
- package/dist/index320.js +25 -6
- package/dist/index321.js +52 -18
- package/dist/index322.js +28 -28
- package/dist/index323.js +5 -53
- package/dist/index324.js +7 -6
- package/dist/index325.js +6 -46
- package/dist/index326.js +4 -2
- package/dist/index327.js +47 -480
- package/dist/index328.js +4 -0
- package/dist/index33.js +8 -8
- package/dist/index331.js +480 -2
- package/dist/{index329.js → index332.js} +1 -1
- package/dist/index334.js +4 -0
- package/dist/index35.js +4 -4
- package/dist/index37.js +148 -138
- package/dist/index39.js +5 -5
- package/dist/index41.js +2 -2
- package/dist/index43.js +8 -8
- package/dist/index45.js +92 -85
- package/dist/index47.js +40 -36
- package/dist/index49.js +38 -34
- package/dist/index53.js +1 -1
- package/dist/index55.js +1 -1
- package/dist/index57.js +2 -2
- package/dist/index61.js +11 -10
- package/dist/index67.js +14 -12
- package/dist/index71.js +5 -3
- package/dist/index75.js +3 -3
- package/dist/index77.js +1 -1
- package/dist/index79.js +2 -2
- package/dist/index81.js +1 -1
- package/dist/index82.js +11 -9
- package/dist/index84.js +4 -4
- package/dist/index86.js +2 -2
- package/dist/index88.js +5 -5
- package/dist/index90.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/index230.js +0 -4
- package/dist/index258.js +0 -14
- package/dist/index271.js +0 -6
- package/dist/index288.js +0 -24
- package/dist/index304.js +0 -91
- /package/dist/{index267.js → index269.js} +0 -0
- /package/dist/{index330.js → index333.js} +0 -0
package/dist/index115.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as f, ref as y, computed as w, openBlock as v, createBlock as B, withCtx as a, renderSlot as r, normalizeProps as
|
1
|
+
import { defineComponent as f, ref as y, computed as w, openBlock as v, createBlock as B, withCtx as a, renderSlot as r, normalizeProps as i, guardReactiveProps as d, createVNode as g, mergeProps as $ } from "vue";
|
2
2
|
import k from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import V from "./index47.js";
|
@@ -10,6 +10,7 @@ const G = /* @__PURE__ */ f({
|
|
10
10
|
autocomplete: {},
|
11
11
|
autofocus: {},
|
12
12
|
autoGrow: { type: Boolean },
|
13
|
+
clearable: { type: Boolean },
|
13
14
|
compact: { type: Boolean },
|
14
15
|
direction: {},
|
15
16
|
disabled: { type: Boolean },
|
@@ -33,14 +34,14 @@ const G = /* @__PURE__ */ f({
|
|
33
34
|
},
|
34
35
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
35
36
|
setup(t, { emit: u }) {
|
36
|
-
const
|
37
|
+
const l = t, o = u, n = y(!1), m = w(() => l.persistentHint || n.value), c = {
|
37
38
|
onBlur: (e) => {
|
38
|
-
|
39
|
+
n.value = !1, o("blur", e);
|
39
40
|
},
|
40
41
|
onChange: (e) => o("change", e),
|
41
42
|
onClick: (e) => o("click", e),
|
42
43
|
onFocus: (e) => {
|
43
|
-
|
44
|
+
n.value = !0, o("focus", e);
|
44
45
|
},
|
45
46
|
onInput: (e) => o("input", e),
|
46
47
|
onKeydown: (e) => o("keydown", e),
|
@@ -65,23 +66,24 @@ const G = /* @__PURE__ */ f({
|
|
65
66
|
"show-hint": m.value
|
66
67
|
}, {
|
67
68
|
label: a((s) => [
|
68
|
-
r(e.$slots, "label",
|
69
|
+
r(e.$slots, "label", i(d(s)))
|
69
70
|
]),
|
70
|
-
input: a(({ id: s, hasErrors:
|
71
|
+
input: a(({ id: s, hasErrors: b, ariaDescribedby: h }) => [
|
71
72
|
g(V, $({
|
72
73
|
id: s,
|
73
|
-
"append:icon":
|
74
|
-
"aria-describedby":
|
74
|
+
"append:icon": l["append:icon"],
|
75
|
+
"aria-describedby": h,
|
75
76
|
"auto-grow": e.autoGrow,
|
76
77
|
autofocus: e.autofocus,
|
78
|
+
clearable: e.clearable,
|
77
79
|
compact: e.compact,
|
78
80
|
disabled: e.disabled,
|
79
|
-
"has-errors":
|
81
|
+
"has-errors": b,
|
80
82
|
loading: e.loading,
|
81
83
|
"model-value": e.modelValue,
|
82
84
|
name: e.name,
|
83
85
|
placeholder: e.placeholder,
|
84
|
-
"prepend:icon":
|
86
|
+
"prepend:icon": l["prepend:icon"],
|
85
87
|
readonly: e.readonly,
|
86
88
|
required: e.required,
|
87
89
|
rows: e.rows
|
@@ -98,14 +100,14 @@ const G = /* @__PURE__ */ f({
|
|
98
100
|
"prepend-outer": a(() => [
|
99
101
|
r(e.$slots, "prepend-outer")
|
100
102
|
]),
|
101
|
-
prefix: a((
|
102
|
-
r(e.$slots, "prefix",
|
103
|
+
prefix: a((p) => [
|
104
|
+
r(e.$slots, "prefix", i(d(p)))
|
103
105
|
]),
|
104
|
-
suffix: a((
|
105
|
-
r(e.$slots, "suffix",
|
106
|
+
suffix: a((p) => [
|
107
|
+
r(e.$slots, "suffix", i(d(p)))
|
106
108
|
]),
|
107
109
|
_: 2
|
108
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "auto-grow", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "rows"])
|
110
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "auto-grow", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "rows"])
|
109
111
|
]),
|
110
112
|
_: 3
|
111
113
|
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
package/dist/index117.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as c, ref as
|
1
|
+
import { defineComponent as c, ref as b, computed as h, openBlock as f, createBlock as y, withCtx as a, renderSlot as l, normalizeProps as v, guardReactiveProps as B, createVNode as w, mergeProps as g } from "vue";
|
2
2
|
import $ from "./index27.js";
|
3
3
|
/* empty css */
|
4
4
|
import k from "./index49.js";
|
@@ -9,6 +9,7 @@ const E = /* @__PURE__ */ c({
|
|
9
9
|
"append:icon": {},
|
10
10
|
autocomplete: {},
|
11
11
|
autofocus: {},
|
12
|
+
clearable: { type: Boolean },
|
12
13
|
compact: { type: Boolean },
|
13
14
|
direction: {},
|
14
15
|
disabled: { type: Boolean },
|
@@ -32,14 +33,14 @@ const E = /* @__PURE__ */ c({
|
|
32
33
|
},
|
33
34
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
34
35
|
setup(s, { emit: i }) {
|
35
|
-
const r = s, o = i,
|
36
|
+
const r = s, o = i, n = b(!1), d = h(() => r.persistentHint || n.value), t = {
|
36
37
|
onBlur: (e) => {
|
37
|
-
|
38
|
+
n.value = !1, o("blur", e);
|
38
39
|
},
|
39
40
|
onChange: (e) => o("change", e),
|
40
41
|
onClick: (e) => o("click", e),
|
41
42
|
onFocus: (e) => {
|
42
|
-
|
43
|
+
n.value = !0, o("focus", e);
|
43
44
|
},
|
44
45
|
onInput: (e) => o("input", e),
|
45
46
|
onKeydown: (e) => o("keydown", e),
|
@@ -64,7 +65,7 @@ const E = /* @__PURE__ */ c({
|
|
64
65
|
"show-hint": d.value
|
65
66
|
}, {
|
66
67
|
label: a((p) => [
|
67
|
-
|
68
|
+
l(e.$slots, "label", v(B(p)))
|
68
69
|
]),
|
69
70
|
input: a(({ id: p, hasErrors: u, ariaDescribedby: m }) => [
|
70
71
|
w(k, g({
|
@@ -73,6 +74,7 @@ const E = /* @__PURE__ */ c({
|
|
73
74
|
"aria-describedby": m,
|
74
75
|
autocomplete: e.autocomplete,
|
75
76
|
autofocus: e.autofocus,
|
77
|
+
clearable: e.clearable,
|
76
78
|
compact: e.compact,
|
77
79
|
disabled: e.disabled,
|
78
80
|
"has-errors": u,
|
@@ -86,25 +88,25 @@ const E = /* @__PURE__ */ c({
|
|
86
88
|
type: e.type
|
87
89
|
}, t), {
|
88
90
|
"append-outer": a(() => [
|
89
|
-
|
91
|
+
l(e.$slots, "append-outer")
|
90
92
|
]),
|
91
93
|
append: a(() => [
|
92
|
-
|
94
|
+
l(e.$slots, "append")
|
93
95
|
]),
|
94
96
|
prefix: a(() => [
|
95
|
-
|
97
|
+
l(e.$slots, "prefix")
|
96
98
|
]),
|
97
99
|
suffix: a(() => [
|
98
|
-
|
100
|
+
l(e.$slots, "suffix")
|
99
101
|
]),
|
100
102
|
prepend: a(() => [
|
101
|
-
|
103
|
+
l(e.$slots, "prepend")
|
102
104
|
]),
|
103
105
|
"prepend-outer": a(() => [
|
104
|
-
|
106
|
+
l(e.$slots, "prepend-outer")
|
105
107
|
]),
|
106
108
|
_: 2
|
107
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
|
109
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "compact", "disabled", "has-errors", "loading", "model-value", "name", "placeholder", "prepend:icon", "readonly", "required", "type"])
|
108
110
|
]),
|
109
111
|
_: 3
|
110
112
|
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
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 "./index225.js";
|
4
|
+
import B from "./index315.js";
|
5
5
|
const V = /* @__PURE__ */ l({
|
6
6
|
__name: "BbToast",
|
7
7
|
props: {
|
package/dist/index121.js
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
import { defineComponent as
|
2
|
-
import { useFloating as
|
3
|
-
import { useId as
|
1
|
+
import { defineComponent as H, ref as o, watch as I, computed as z, openBlock as E, createElementBlock as R, mergeProps as S, createElementVNode as p, renderSlot as B, normalizeProps as U, guardReactiveProps as W, unref as u, createVNode as j, withCtx as C, createBlock as q, createCommentVNode as A } from "vue";
|
2
|
+
import { useFloating as G, arrow as J } from "./index214.js";
|
3
|
+
import { useId as K } from "./index8.js";
|
4
4
|
import { wait as L } from "./index130.js";
|
5
|
-
import
|
5
|
+
import Q from "./index13.js";
|
6
6
|
/* empty css */
|
7
|
-
import { throttle as
|
8
|
-
import { waitFor as
|
9
|
-
import
|
7
|
+
import { throttle as v } from "./index249.js";
|
8
|
+
import { waitFor as X } from "./index224.js";
|
9
|
+
import Y from "./index266.js";
|
10
10
|
/* empty css */
|
11
|
-
import { useLocale as
|
12
|
-
import { autoUpdate as
|
13
|
-
const
|
11
|
+
import { useLocale as Z } from "./index212.js";
|
12
|
+
import { autoUpdate as x, flip as ee, shift as te, hide as oe } from "./index228.js";
|
13
|
+
const ae = { class: "bb-tooltip__content" }, be = /* @__PURE__ */ H({
|
14
14
|
__name: "BbTooltip",
|
15
15
|
props: {
|
16
16
|
arrowPadding: { default: 10 },
|
@@ -26,79 +26,81 @@ const me = /* @__PURE__ */ V({
|
|
26
26
|
theme: { default: "default" },
|
27
27
|
transitionDuration: { default: 250 }
|
28
28
|
},
|
29
|
-
setup(
|
30
|
-
const t =
|
29
|
+
setup(_) {
|
30
|
+
const t = _, { t: D } = Z(), c = `bb_${t.id ?? K().id.value}`, l = o(), M = o(), P = o(), { placement: b, middlewareData: T } = G(l, M, {
|
31
31
|
placement: t.placement,
|
32
|
-
whileElementsMounted:
|
32
|
+
whileElementsMounted: x,
|
33
33
|
middleware: [
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
element:
|
34
|
+
ee(),
|
35
|
+
te({ padding: t.padding }),
|
36
|
+
J({
|
37
|
+
element: P,
|
38
38
|
padding: t.arrowPadding
|
39
39
|
}),
|
40
|
-
|
40
|
+
oe()
|
41
41
|
]
|
42
42
|
});
|
43
|
-
let
|
43
|
+
let g = () => {
|
44
44
|
};
|
45
|
-
const
|
46
|
-
r.value || n.value || t.disabled || (
|
47
|
-
},
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
45
|
+
const w = o(!0), n = o(!1), r = o(!1), s = o(!1), d = o(!0), h = () => {
|
46
|
+
r.value || n.value || t.disabled || (N(), document.addEventListener("mouseover", k, { passive: !0 }), document.addEventListener("keydown", y, { passive: !0 }));
|
47
|
+
}, $ = h;
|
48
|
+
let f = null;
|
49
|
+
const k = v((e) => {
|
50
|
+
const a = e.target;
|
51
|
+
if (a && a instanceof HTMLElement) {
|
52
|
+
let m = !0;
|
53
|
+
l.value && l.value.contains(a) && (m = !1), f ?? (f = document.getElementById(c)), f && f.contains(a) && (m = !1), m && i();
|
52
54
|
}
|
53
55
|
}, t.transitionDuration), y = (e) => {
|
54
56
|
r.value && e.key === "Escape" && i();
|
55
|
-
},
|
56
|
-
|
57
|
-
},
|
58
|
-
|
57
|
+
}, O = () => {
|
58
|
+
w.value = !1, i();
|
59
|
+
}, F = o(!1), N = v(async () => {
|
60
|
+
w.value && (F.value = !0, d.value = !1, s.value = !1, n.value = !0, await L(50), r.value = !0, n.value = !1, g = I(
|
59
61
|
() => {
|
60
62
|
var e;
|
61
|
-
return (e =
|
63
|
+
return (e = T.value.hide) == null ? void 0 : e.referenceHidden;
|
62
64
|
},
|
63
65
|
async (e) => {
|
64
|
-
!
|
66
|
+
!s.value && !d.value && e && await i();
|
65
67
|
}
|
66
68
|
));
|
67
|
-
}, t.transitionDuration), i =
|
68
|
-
await
|
69
|
-
}, t.transitionDuration),
|
69
|
+
}, t.transitionDuration), i = v(async () => {
|
70
|
+
await X(() => !n.value), document.removeEventListener("mouseover", k), document.removeEventListener("keydown", y), r.value = !1, n.value = !1, s.value = !0, await L(t.transitionDuration), s.value = !1, d.value = !0, g();
|
71
|
+
}, t.transitionDuration), V = z(() => ({
|
70
72
|
class: {
|
71
73
|
"bb-tooltip--block": t.block,
|
72
74
|
[`bb-tooltip--${t.theme}`]: t.theme
|
73
75
|
}
|
74
76
|
}));
|
75
|
-
return (e,
|
76
|
-
|
77
|
+
return (e, a) => (E(), R("span", S({ class: "bb-tooltip" }, V.value), [
|
78
|
+
p("span", {
|
77
79
|
ref_key: "wrapper",
|
78
|
-
ref:
|
80
|
+
ref: l,
|
79
81
|
class: "bb-tooltip__wrapper"
|
80
82
|
}, [
|
81
|
-
|
83
|
+
B(e.$slots, "activator", U(W({
|
82
84
|
props: {
|
83
|
-
"aria-describedby":
|
85
|
+
"aria-describedby": c,
|
84
86
|
onMouseenter: h,
|
85
|
-
onFocus: u(
|
87
|
+
onFocus: u($),
|
86
88
|
onBlur: u(i),
|
87
89
|
disabled: e.disabled
|
88
90
|
},
|
89
|
-
closed:
|
90
|
-
closing:
|
91
|
+
closed: d.value,
|
92
|
+
closing: s.value,
|
91
93
|
disabled: e.disabled,
|
92
94
|
open: r.value,
|
93
95
|
opening: n.value,
|
94
96
|
placement: u(b)
|
95
97
|
})))
|
96
98
|
], 512),
|
97
|
-
|
99
|
+
j(Y, {
|
98
100
|
"arrow-padding": e.arrowPadding,
|
99
101
|
"base-class": "bb-tooltip",
|
100
102
|
"container-attributes": {
|
101
|
-
id:
|
103
|
+
id: c
|
102
104
|
},
|
103
105
|
eager: e.eager,
|
104
106
|
offset: e.offset,
|
@@ -108,29 +110,25 @@ const me = /* @__PURE__ */ V({
|
|
108
110
|
"teleport-target": e.teleportTarget,
|
109
111
|
theme: e.theme,
|
110
112
|
"transition-duration": e.transitionDuration,
|
111
|
-
wrapper:
|
113
|
+
wrapper: l.value
|
112
114
|
}, {
|
113
115
|
default: C(() => [
|
114
|
-
|
115
|
-
|
116
|
-
ref: d,
|
117
|
-
class: "bb-tooltip__content"
|
118
|
-
}, [
|
119
|
-
e.showClose ? (B(), j(K, {
|
116
|
+
p("span", ae, [
|
117
|
+
e.showClose ? (E(), q(Q, {
|
120
118
|
key: 0,
|
121
119
|
"aria-hidden": "true",
|
122
|
-
"aria-label": u(
|
120
|
+
"aria-label": u(D)("common.closeLabel").value,
|
123
121
|
class: "bb-tooltip__close",
|
124
122
|
tabindex: "-1",
|
125
|
-
onClick:
|
123
|
+
onClick: O
|
126
124
|
}, {
|
127
|
-
default: C(() =>
|
128
|
-
|
125
|
+
default: C(() => a[0] || (a[0] = [
|
126
|
+
p("svg", {
|
129
127
|
fill: "none",
|
130
128
|
viewBox: "0 0 24 24",
|
131
129
|
xmlns: "http://www.w3.org/2000/svg"
|
132
130
|
}, [
|
133
|
-
|
131
|
+
p("path", {
|
134
132
|
d: "M23 23L1 1M23 1L1 23",
|
135
133
|
stroke: "currentColor",
|
136
134
|
"stroke-linecap": "round",
|
@@ -139,9 +137,9 @@ const me = /* @__PURE__ */ V({
|
|
139
137
|
], -1)
|
140
138
|
])),
|
141
139
|
_: 1
|
142
|
-
}, 8, ["aria-label"])) :
|
143
|
-
|
144
|
-
]
|
140
|
+
}, 8, ["aria-label"])) : A("", !0),
|
141
|
+
B(e.$slots, "default")
|
142
|
+
])
|
145
143
|
]),
|
146
144
|
_: 3
|
147
145
|
}, 8, ["arrow-padding", "container-attributes", "eager", "offset", "open", "padding", "placement", "teleport-target", "theme", "transition-duration", "wrapper"])
|
@@ -149,5 +147,5 @@ const me = /* @__PURE__ */ V({
|
|
149
147
|
}
|
150
148
|
});
|
151
149
|
export {
|
152
|
-
|
150
|
+
be as default
|
153
151
|
};
|
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 "./index314.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/index125.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as i, openBlock as o, createElementBlock as a, createElementVNode as t, renderSlot as p, createTextVNode as b, toDisplayString as m, unref as u, withModifiers as d, createCommentVNode as _ } from "vue";
|
2
|
-
import { useLocale as f } from "./
|
2
|
+
import { useLocale as f } from "./index212.js";
|
3
3
|
const h = { class: "bb-chip" }, L = { class: "bb-chip__content" }, k = ["aria-label"], B = /* @__PURE__ */ i({
|
4
4
|
__name: "BbChip",
|
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 "./index238.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 "./index249.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 "./index238.js";
|
3
3
|
const f = /* @__PURE__ */ p({
|
4
4
|
__name: "BbSpinner",
|
5
5
|
props: {
|
package/dist/index13.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { defineComponent as C, getCurrentInstance as d, shallowRef as x, watch as S, computed as f, openBlock as L, createBlock as B, resolveDynamicComponent as N, unref as $, mergeProps as F, withCtx as w, renderSlot as A, createTextVNode as P, toDisplayString as _, resolveComponent as m } from "vue";
|
2
2
|
import { _config as o } from "./index4.js";
|
3
|
-
import { useLogger as v } from "./
|
4
|
-
import { hash as g } from "./
|
3
|
+
import { useLogger as v } from "./index243.js";
|
4
|
+
import { hash as g } from "./index235.js";
|
5
5
|
const I = /* @__PURE__ */ C({
|
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/index133.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { isArray as p } from "./
|
2
|
-
import { isPlainObject as c } from "./
|
1
|
+
import { isArray as p } from "./index323.js";
|
2
|
+
import { isPlainObject as c } from "./index324.js";
|
3
3
|
function i(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,17 +1,19 @@
|
|
1
|
-
import { defineComponent as v, ref as h, computed as
|
1
|
+
import { defineComponent as v, ref as h, computed as C, watchPostEffect as g, openBlock as V, createElementBlock as B, Fragment as w, createVNode as d, normalizeClass as H, withCtx as n, renderSlot as r, unref as t, createElementVNode as s, normalizeStyle as $, withModifiers as E, withDirectives as q, mergeProps as I } from "vue";
|
2
2
|
import M from "./index207.js";
|
3
3
|
/* empty css */
|
4
4
|
import L from "./index209.js";
|
5
|
-
import { vMaska as
|
6
|
-
import { isHex as
|
7
|
-
import { useLocale as
|
8
|
-
|
5
|
+
import { vMaska as N } from "./index210.js";
|
6
|
+
import { isHex as z } from "./index211.js";
|
7
|
+
import { useLocale as D } from "./index212.js";
|
8
|
+
import { isNotNil as F } from "./index134.js";
|
9
|
+
const P = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], S = ["aria-invalid", "aria-label", "disabled", "required"], U = /* @__PURE__ */ v({
|
9
10
|
__name: "BaseColorInput",
|
10
11
|
props: {
|
11
12
|
"append:icon": {},
|
12
13
|
ariaDescribedby: {},
|
13
14
|
autocomplete: {},
|
14
15
|
autofocus: {},
|
16
|
+
clearable: { type: Boolean },
|
15
17
|
compact: { type: Boolean },
|
16
18
|
disabled: { type: Boolean },
|
17
19
|
hasErrors: { type: Boolean },
|
@@ -26,7 +28,7 @@ const P = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
26
28
|
},
|
27
29
|
emits: ["blur", "change", "click", "focus", "input", "keydown", "mousedown", "mouseup", "update:modelValue"],
|
28
30
|
setup(p, { emit: u }) {
|
29
|
-
const a = p, o = u, { t: c } =
|
31
|
+
const a = p, o = u, { t: c } = D(), i = h(), m = C(() => ({
|
30
32
|
"bb-base-color-input": !0,
|
31
33
|
"bb-base-color-input--disabled": a.disabled,
|
32
34
|
"bb-base-color-input--errors": a.hasErrors,
|
@@ -45,57 +47,59 @@ const P = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
45
47
|
onMousedown: (e) => o("mousedown", e),
|
46
48
|
onMouseup: (e) => o("mouseup", e),
|
47
49
|
onMaska: (e) => {
|
48
|
-
const
|
49
|
-
|
50
|
+
const l = e.detail;
|
51
|
+
z(l.masked) ? o("update:modelValue", l.masked) : l.masked === "" && o("update:modelValue", null);
|
50
52
|
}
|
51
53
|
}, f = () => {
|
52
54
|
var e;
|
53
55
|
(e = i.value) == null || e.click();
|
54
|
-
},
|
56
|
+
}, y = {
|
55
57
|
mask: "!#HHHHHH",
|
56
58
|
tokens: {
|
57
59
|
H: { pattern: /[0-9a-fA-F]/ }
|
58
60
|
},
|
59
61
|
eager: !0
|
60
|
-
},
|
62
|
+
}, k = (e) => {
|
61
63
|
e.target instanceof HTMLInputElement && o("update:modelValue", e.target.value);
|
62
64
|
};
|
63
|
-
return
|
65
|
+
return g(() => {
|
64
66
|
i.value && (i.value.value = a.modelValue ?? "");
|
65
|
-
}), (e,
|
66
|
-
|
67
|
+
}), (e, l) => (V(), B(w, null, [
|
68
|
+
d(L, {
|
67
69
|
class: H(m.value)
|
68
70
|
}, {
|
69
71
|
"prepend-outer": n(() => [
|
70
|
-
|
72
|
+
r(e.$slots, "prepend-outer")
|
71
73
|
]),
|
72
74
|
"append-outer": n(() => [
|
73
|
-
|
75
|
+
r(e.$slots, "append-outer")
|
74
76
|
]),
|
75
77
|
default: n(() => [
|
76
|
-
|
78
|
+
d(M, {
|
77
79
|
"append:icon": a["append:icon"],
|
78
|
-
|
80
|
+
clearable: e.clearable && t(F)(e.modelValue),
|
81
|
+
"prepend:icon": a["prepend:icon"],
|
82
|
+
"onClick:clear": l[0] || (l[0] = (A) => e.$emit("update:modelValue", null))
|
79
83
|
}, {
|
80
84
|
prepend: n(() => [
|
81
|
-
|
85
|
+
r(e.$slots, "prepend")
|
82
86
|
]),
|
83
87
|
prefix: n(() => [
|
84
|
-
|
88
|
+
r(e.$slots, "prefix")
|
85
89
|
]),
|
86
90
|
append: n(() => [
|
87
91
|
s("span", {
|
88
92
|
class: "bb-base-color-input__indicator",
|
89
|
-
style:
|
90
|
-
onClick:
|
93
|
+
style: $({ backgroundColor: a.modelValue ?? void 0 }),
|
94
|
+
onClick: E(f, ["stop"])
|
91
95
|
}, null, 4),
|
92
|
-
|
96
|
+
r(e.$slots, "append")
|
93
97
|
]),
|
94
98
|
suffix: n(() => [
|
95
|
-
|
99
|
+
r(e.$slots, "suffix")
|
96
100
|
]),
|
97
101
|
default: n(() => [
|
98
|
-
|
102
|
+
q(s("input", I(b, {
|
99
103
|
id: e.id,
|
100
104
|
ref: "input",
|
101
105
|
"aria-describedby": e.ariaDescribedby,
|
@@ -109,33 +113,34 @@ const P = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
|
|
109
113
|
readonly: e.readonly,
|
110
114
|
required: e.required,
|
111
115
|
size: "1",
|
116
|
+
type: "text",
|
112
117
|
value: e.modelValue
|
113
118
|
}), null, 16, P), [
|
114
|
-
[
|
119
|
+
[t(N), y]
|
115
120
|
]),
|
116
121
|
s("input", {
|
117
122
|
ref_key: "picker",
|
118
123
|
ref: i,
|
119
124
|
"aria-hidden": "true",
|
120
125
|
"aria-invalid": e.hasErrors ? !0 : void 0,
|
121
|
-
"aria-label":
|
126
|
+
"aria-label": t(c)("colorInput.paletteLabel").value,
|
122
127
|
class: "bb-base-color-input__picker",
|
123
128
|
disabled: e.disabled || e.readonly,
|
124
129
|
required: e.required,
|
125
130
|
tabindex: "-1",
|
126
131
|
type: "color",
|
127
|
-
onInput:
|
128
|
-
}, null, 40,
|
132
|
+
onInput: k
|
133
|
+
}, null, 40, S)
|
129
134
|
]),
|
130
135
|
_: 3
|
131
|
-
}, 8, ["append:icon", "prepend:icon"])
|
136
|
+
}, 8, ["append:icon", "clearable", "prepend:icon"])
|
132
137
|
]),
|
133
138
|
_: 3
|
134
139
|
}, 8, ["class"]),
|
135
|
-
|
140
|
+
l[1] || (l[1] = s("span", null, null, -1))
|
136
141
|
], 64));
|
137
142
|
}
|
138
143
|
});
|
139
144
|
export {
|
140
|
-
|
145
|
+
U as default
|
141
146
|
};
|
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 "./index238.js";
|
3
|
+
import { when as N } from "./index239.js";
|
4
|
+
import { booleanishToBoolean as S } from "./index240.js";
|
5
5
|
const A = {
|
6
6
|
"aria-hidden": "true",
|
7
7
|
class: "bb-base-checkbox-container"
|