bitboss-ui 2.0.116 → 2.0.118
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 +32 -6
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +4 -0
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +33 -357
- 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/BbDropdown/BbDropdown.vue.d.ts +76 -89
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +75 -89
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +5 -0
- package/dist/components/BbRows/BbRows.vue.d.ts +70 -85
- package/dist/components/BbSelect/BbSelect.vue.d.ts +5 -10
- package/dist/components/BbTable/BbTable.vue.d.ts +63 -91
- package/dist/components/BbTable/types.d.ts +46 -27
- 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/components/ListBox.vue.d.ts +40 -44
- package/dist/index100.js +91 -82
- package/dist/index101.js +35 -42
- package/dist/index111.js +235 -211
- 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/index132.js +2 -2
- package/dist/index133.js +2 -2
- package/dist/index15.js +38 -33
- package/dist/index17.js +3 -3
- package/dist/index19.js +8 -8
- package/dist/index206.js +126 -3
- package/dist/index207.js +5 -53
- package/dist/index208.js +127 -0
- package/dist/index209.js +16 -13
- package/dist/index21.js +16 -16
- package/dist/index210.js +16 -2
- package/dist/index211.js +19 -4
- package/dist/index212.js +15 -2
- package/dist/index213.js +2 -86
- package/dist/index214.js +4 -0
- package/dist/index215.js +40 -24
- package/dist/index216.js +13 -17
- package/dist/index217.js +18 -49
- package/dist/index218.js +6 -15
- package/dist/index219.js +15 -3
- package/dist/index220.js +65 -12
- package/dist/index222.js +13 -126
- package/dist/index223.js +5 -5
- package/dist/index224.js +2 -125
- package/dist/index225.js +367 -14
- package/dist/index226.js +3 -16
- package/dist/index227.js +7 -19
- package/dist/index228.js +8 -15
- package/dist/index229.js +19 -2
- package/dist/index23.js +116 -111
- package/dist/index230.js +27 -2
- package/dist/index231.js +3 -41
- package/dist/index232.js +249 -12
- package/dist/index233.js +50 -18
- package/dist/index234.js +43 -5
- package/dist/index235.js +5 -15
- package/dist/index236.js +60 -5
- package/dist/index237.js +3 -369
- package/dist/index238.js +115 -19
- package/dist/index239.js +4 -27
- package/dist/index240.js +2 -8
- package/dist/index241.js +4 -250
- package/dist/index242.js +2 -52
- package/dist/index243.js +80 -38
- package/dist/index245.js +25 -60
- package/dist/index246.js +17 -3
- package/dist/index247.js +51 -7
- package/dist/index248.js +15 -4
- package/dist/index249.js +10 -113
- package/dist/index25.js +7 -7
- package/dist/index250.js +16 -2
- package/dist/index251.js +2 -2
- package/dist/index252.js +2 -2
- package/dist/index253.js +1 -1
- package/dist/index254.js +2 -2
- package/dist/index256.js +2 -2
- package/dist/index259.js +214 -10
- package/dist/index260.js +9 -2
- package/dist/index261.js +2 -8
- package/dist/index262.js +9 -23
- package/dist/index263.js +23 -90
- package/dist/index264.js +92 -0
- package/dist/index266.js +6 -16
- package/dist/index267.js +16 -224
- package/dist/index268.js +9 -3
- package/dist/index269.js +11 -0
- package/dist/index27.js +1 -1
- package/dist/index270.js +8 -7
- package/dist/index271.js +281 -4
- package/dist/index272.js +6 -3
- package/dist/index273.js +2 -17
- package/dist/index274.js +2 -9
- package/dist/index275.js +2 -28
- package/dist/index276.js +2 -281
- package/dist/index277.js +2 -6
- package/dist/index278.js +2 -2
- package/dist/index279.js +126 -2
- package/dist/index280.js +431 -2
- package/dist/index281.js +176 -2
- package/dist/index282.js +2 -2
- package/dist/index283.js +3 -2
- package/dist/index285.js +5 -429
- package/dist/index286.js +22 -176
- package/dist/index288.js +7 -22
- package/dist/index289.js +13 -0
- package/dist/index29.js +48 -40
- package/dist/index290.js +88 -6
- package/dist/index291.js +200 -11
- package/dist/index292.js +436 -2
- package/dist/index293.js +127 -2
- package/dist/index294.js +224 -2
- package/dist/index295.js +2 -2
- package/dist/index296.js +2 -2
- package/dist/index297.js +1 -1
- package/dist/index298.js +1 -21
- package/dist/index299.js +4 -0
- package/dist/index300.js +2 -9
- package/dist/index301.js +25 -197
- package/dist/index302.js +21 -435
- package/dist/index304.js +3 -88
- package/dist/index305.js +3 -8
- package/dist/index306.js +17 -3
- package/dist/index307.js +1 -1
- package/dist/index308.js +3 -214
- package/dist/index309.js +2 -2
- package/dist/index31.js +2 -2
- package/dist/index310.js +2 -3
- package/dist/index311.js +5 -67
- package/dist/index312.js +67 -5
- package/dist/index313.js +3 -3
- package/dist/index314.js +5 -3
- package/dist/index315.js +7 -57
- package/dist/index316.js +2 -32
- package/dist/index317.js +3 -5
- package/dist/index318.js +57 -7
- package/dist/index320.js +32 -6
- package/dist/index321.js +25 -18
- package/dist/index322.js +7 -53
- package/dist/index323.js +7 -53
- package/dist/index324.js +17 -5
- package/dist/index325.js +53 -47
- package/dist/index326.js +53 -2
- package/dist/index327.js +47 -480
- package/dist/index328.js +482 -0
- package/dist/index329.js +2 -424
- package/dist/index33.js +8 -8
- package/dist/index332.js +426 -0
- package/dist/index35.js +4 -4
- package/dist/index37.js +172 -161
- package/dist/index39.js +4 -4
- 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 +39 -35
- 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 +37 -35
- package/dist/index77.js +54 -50
- 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/style.css +1 -1
- package/dist/types/ColumnName.d.ts +4 -0
- package/dist/types/Option.d.ts +2 -2
- package/dist/types/PrefixWith.d.ts +1 -0
- package/package.json +2 -2
- package/dist/index221.js +0 -18
- package/dist/index244.js +0 -7
- package/dist/index265.js +0 -8
- package/dist/index284.js +0 -128
- package/dist/index287.js +0 -4
- package/dist/index303.js +0 -129
- /package/dist/{index330.js → index333.js} +0 -0
- /package/dist/{index331.js → index334.js} +0 -0
package/dist/index113.js
CHANGED
@@ -10,6 +10,7 @@ const I = /* @__PURE__ */ f({
|
|
10
10
|
autocomplete: {},
|
11
11
|
autofocus: {},
|
12
12
|
comma: { type: Boolean },
|
13
|
+
clearable: { type: Boolean },
|
13
14
|
compact: { type: Boolean },
|
14
15
|
direction: {},
|
15
16
|
disabled: { type: Boolean },
|
@@ -70,18 +71,19 @@ const I = /* @__PURE__ */ f({
|
|
70
71
|
label: l((s) => [
|
71
72
|
r(e.$slots, "label", n(i(s)))
|
72
73
|
]),
|
73
|
-
input: l(({ id: s, hasErrors:
|
74
|
+
input: l(({ id: s, hasErrors: b, ariaDescribedby: h }) => [
|
74
75
|
k(V, $({
|
75
76
|
id: s,
|
76
77
|
"append:icon": p["append:icon"],
|
77
|
-
"aria-describedby":
|
78
|
+
"aria-describedby": h,
|
78
79
|
autocomplete: e.autocomplete,
|
79
80
|
autofocus: e.autofocus,
|
81
|
+
clearable: e.clearable,
|
80
82
|
comma: e.comma,
|
81
83
|
compact: e.compact,
|
82
84
|
disabled: e.disabled,
|
83
85
|
divider: e.divider,
|
84
|
-
"has-errors":
|
86
|
+
"has-errors": b,
|
85
87
|
loading: e.loading,
|
86
88
|
max: e.max,
|
87
89
|
"model-value": e.modelValue,
|
@@ -111,7 +113,7 @@ const I = /* @__PURE__ */ f({
|
|
111
113
|
r(e.$slots, "append-outer", n(i(o)))
|
112
114
|
]),
|
113
115
|
_: 2
|
114
|
-
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "comma", "compact", "disabled", "divider", "has-errors", "loading", "max", "model-value", "multiple", "name", "placeholder", "prepend:icon", "readonly", "required"])
|
116
|
+
}, 1040, ["id", "append:icon", "aria-describedby", "autocomplete", "autofocus", "clearable", "comma", "compact", "disabled", "divider", "has-errors", "loading", "max", "model-value", "multiple", "name", "placeholder", "prepend:icon", "readonly", "required"])
|
115
117
|
]),
|
116
118
|
_: 3
|
117
119
|
}, 8, ["id", "compact", "direction", "errors", "has-errors", "hide-label", "hint", "label", "label-position", "model-value", "name", "reverse", "show-hint"]));
|
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 "./index219.js";
|
4
|
+
import B from "./index312.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 "./index206.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 "./index226.js";
|
8
|
+
import { waitFor as X } from "./index218.js";
|
9
|
+
import Y from "./index264.js";
|
10
10
|
/* empty css */
|
11
|
-
import { useLocale as
|
12
|
-
import { autoUpdate as
|
13
|
-
const
|
11
|
+
import { useLocale as Z } from "./index216.js";
|
12
|
+
import { autoUpdate as x, flip as ee, shift as te, hide as oe } from "./index225.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 "./index311.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 "./index216.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 "./index240.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 "./index226.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 "./index240.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 "./index228.js";
|
4
|
+
import { hash as g } from "./index231.js";
|
5
5
|
const I = /* @__PURE__ */ C({
|
6
6
|
__name: "BaseButton",
|
7
7
|
props: {
|
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 "./index238.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 "./index238.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 "./index314.js";
|
2
|
+
import { isPlainObject as c } from "./index315.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, {
|