bkui-vue 0.0.1-beta.465 → 0.0.1-beta.466
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/index.cjs.js +3 -3
- package/dist/index.esm.js +22 -22
- package/dist/index.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/plugin-popover/index.js +1 -1
- package/lib/popover/index.d.ts +12 -12
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.d.ts +6 -6
- package/lib/popover/props.d.ts +2 -2
- package/lib/popover/root.d.ts +11 -0
- package/lib/select/index.d.ts +12 -12
- package/lib/select/select.d.ts +6 -6
- package/lib/slider/index.d.ts +4 -4
- package/lib/slider/index.js +1 -1
- package/lib/slider/slider.d.ts +2 -2
- package/lib/table/index.js +1 -1
- package/lib/table/table.css +3 -0
- package/lib/table/table.less +4 -0
- package/lib/table/table.variable.css +3 -0
- package/lib/table-column/index.js +1 -1
- package/lib/tag-input/index.d.ts +6 -6
- package/lib/tag-input/tag-input.d.ts +4 -4
- package/lib/tag-input/tag-input.less +11 -11
- package/lib/tag-input/tag-props.d.ts +2 -2
- package/lib/virtual-render/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -9062,7 +9062,7 @@ const uI = {
|
|
9062
9062
|
width: m.oneOfType([m.string, m.number]).def("auto"),
|
9063
9063
|
height: m.oneOfType([m.string, m.number]).def("auto"),
|
9064
9064
|
maxHeight: m.oneOfType([m.string, m.number]).def("auto"),
|
9065
|
-
content: m.oneOfType([m.string, m.number
|
9065
|
+
content: m.oneOfType([m.string, m.number]).def(""),
|
9066
9066
|
allowHtml: m.bool.def(!1),
|
9067
9067
|
/**
|
9068
9068
|
* 组件显示位置
|
@@ -9134,7 +9134,8 @@ const uI = {
|
|
9134
9134
|
}
|
9135
9135
|
}), V3 = /* @__PURE__ */ ve({
|
9136
9136
|
props: {
|
9137
|
-
class: m.string.def("")
|
9137
|
+
class: m.string.def(""),
|
9138
|
+
mode: m.string.def("")
|
9138
9139
|
},
|
9139
9140
|
render() {
|
9140
9141
|
var e, t;
|
@@ -11907,7 +11908,7 @@ const o6 = (e, t) => {
|
|
11907
11908
|
content: "",
|
11908
11909
|
target: e
|
11909
11910
|
};
|
11910
|
-
return typeof t
|
11911
|
+
return typeof t == "object" ? Object.assign(n, t) : n.content = t, n;
|
11911
11912
|
}, Q1 = (e, t) => {
|
11912
11913
|
let n = null, i = null, s = null;
|
11913
11914
|
const r = o6(e, t), { disabled: o } = r;
|
@@ -11930,12 +11931,7 @@ const o6 = (e, t) => {
|
|
11930
11931
|
i && clearTimeout(i), n == null || n.hide(), n == null || n.close(), n = null;
|
11931
11932
|
}, 120);
|
11932
11933
|
};
|
11933
|
-
return e.addEventListener("mouseenter", d), e.addEventListener("mouseleave", g),
|
11934
|
-
__cached: {
|
11935
|
-
handleMouseEnter: d,
|
11936
|
-
handleMouseLeave: g
|
11937
|
-
}
|
11938
|
-
}), {
|
11934
|
+
return e.addEventListener("mouseenter", d), e.addEventListener("mouseleave", g), {
|
11939
11935
|
destroyInstance: (v) => {
|
11940
11936
|
var y, b;
|
11941
11937
|
g(), (y = v ?? e) == null || y.removeEventListener("mouseenter", d), (b = v ?? e) == null || b.removeEventListener("mouseleave", g);
|
@@ -11945,13 +11941,15 @@ const o6 = (e, t) => {
|
|
11945
11941
|
}, fO = {
|
11946
11942
|
mounted(e, t) {
|
11947
11943
|
Q1(e, t);
|
11948
|
-
},
|
11949
|
-
beforeUnmount(e, t) {
|
11950
|
-
if (t.__cached) {
|
11951
|
-
const { handleMouseEnter: n, handleMouseLeave: i } = t.__cached;
|
11952
|
-
e.removeEventListener("mouseenter", n), e.removeEventListener("mouseleave", i), t.__cached = null;
|
11953
|
-
}
|
11954
11944
|
}
|
11945
|
+
// beforeUnmount(el: HTMLElement, binding: any) {
|
11946
|
+
// if (binding.cache) {
|
11947
|
+
// const { handleMouseEnter, handleMouseLeave } = binding.__cached;
|
11948
|
+
// el.removeEventListener('mouseenter', handleMouseEnter);
|
11949
|
+
// el.removeEventListener('mouseleave', handleMouseLeave);
|
11950
|
+
// binding.__cached = null;
|
11951
|
+
// }
|
11952
|
+
// },
|
11955
11953
|
}, $u = Symbol("BkSelect"), _1 = Symbol("BkOptionGroup");
|
11956
11954
|
function W1() {
|
11957
11955
|
const e = G(!1);
|
@@ -12427,7 +12425,7 @@ const B1 = (e = 60) => gt.throttle((t, n, i) => HL(t, n, i), e), BL = (e, t, n,
|
|
12427
12425
|
}) => {
|
12428
12426
|
var _;
|
12429
12427
|
const O = (_ = r.value) == null ? void 0 : _.parentNode;
|
12430
|
-
|
12428
|
+
H1(e.lineHeight, u, o, O, null), S && r.value && j(S);
|
12431
12429
|
}, y = Q(() => e.rowKey !== void 0 ? e.list : (e.list || []).map((S, O) => ({
|
12432
12430
|
...S,
|
12433
12431
|
$index: O
|
@@ -13562,8 +13560,8 @@ const e4 = {
|
|
13562
13560
|
minWidth: m.oneOfType([m.number.def(void 0), m.string.def("auto")]).def(30),
|
13563
13561
|
columnKey: m.string.def(""),
|
13564
13562
|
showOverflowTooltip: m.oneOfType([m.bool, m.shape({
|
13565
|
-
content: m.string.
|
13566
|
-
disabled: m.bool.
|
13563
|
+
content: m.oneOfType([m.string, m.func]),
|
13564
|
+
disabled: m.oneOfType([m.bool, m.func]),
|
13567
13565
|
watchCellResize: m.bool.def(!0),
|
13568
13566
|
mode: P0
|
13569
13567
|
})]).def(void 0),
|
@@ -16442,12 +16440,14 @@ const Xu = (e, t) => ({
|
|
16442
16440
|
scrollXName: "",
|
16443
16441
|
scrollYName: ""
|
16444
16442
|
}), mt = Q(() => ({
|
16443
|
+
"--prepend-left": `${I.scrollTranslateX}px`,
|
16445
16444
|
position: "sticky",
|
16446
16445
|
top: 0,
|
16447
16446
|
zIndex: 2,
|
16448
16447
|
...e.prependStyle || {}
|
16449
16448
|
})), bt = () => t.slots.prepend ? f("div", {
|
16450
|
-
style: mt.value
|
16449
|
+
style: mt.value,
|
16450
|
+
class: "prepend-row"
|
16451
16451
|
}, [t.slots.prepend()]) : null;
|
16452
16452
|
return () => {
|
16453
16453
|
var He, Re;
|
@@ -26256,7 +26256,7 @@ const ES = /* @__PURE__ */ ve({
|
|
26256
26256
|
}, PS = /* @__PURE__ */ ve({
|
26257
26257
|
name: "Slider",
|
26258
26258
|
props: {
|
26259
|
-
modelValue: m.oneOfType([m.
|
26259
|
+
modelValue: m.oneOfType([m.arrayOf(m.number), m.number]),
|
26260
26260
|
extCls: {
|
26261
26261
|
type: String,
|
26262
26262
|
default: ""
|
@@ -26466,9 +26466,9 @@ const ES = /* @__PURE__ */ ve({
|
|
26466
26466
|
const K = parseFloat(ie);
|
26467
26467
|
K < e.minValue ? (u.value = e.minValue, s.value = e.minValue) : K > e.maxValue ? (u.value = e.maxValue, s.value = e.maxValue) : s.value = K;
|
26468
26468
|
}, be = (ie) => {
|
26469
|
-
if (ie === ""
|
26469
|
+
if (ie === "")
|
26470
26470
|
return;
|
26471
|
-
const K = parseFloat(ie);
|
26471
|
+
const K = parseFloat(ie.toString());
|
26472
26472
|
K < e.minValue ? (c.value = e.minValue, r.value = e.minValue) : K > e.maxValue ? (c.value = e.maxValue, r.value = e.maxValue) : r.value = K;
|
26473
26473
|
}, ce = (ie) => {
|
26474
26474
|
let K = 0;
|