bkui-vue 0.0.1-beta.415 → 0.0.1-beta.417
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 +22 -22
- package/dist/index.esm.js +12 -1
- package/dist/index.umd.js +22 -22
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/radio/radio.css +2 -0
- package/lib/radio/radio.less +2 -0
- package/lib/radio/radio.variable.css +2 -0
- package/lib/table/index.js +1 -1
- package/lib/table-column/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -17000,13 +17000,18 @@ var Column = defineComponent({
|
|
17000
17000
|
const colList = selfVnode.parent.vnode.children.default() || [];
|
17001
17001
|
const sortColumns = [];
|
17002
17002
|
const reduceColumns = (nodes) => {
|
17003
|
+
if (!Array.isArray(nodes)) {
|
17004
|
+
return;
|
17005
|
+
}
|
17003
17006
|
this.column.render = this.$slots.default ? (args) => {
|
17004
17007
|
var _a, _b;
|
17005
17008
|
return (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a, args);
|
17006
17009
|
} : void 0;
|
17007
17010
|
nodes.forEach((node) => {
|
17008
17011
|
var _a, _b;
|
17012
|
+
let skipValidateKey0 = true;
|
17009
17013
|
if (((_a = node.type) == null ? void 0 : _a.name) === "TableColumn") {
|
17014
|
+
skipValidateKey0 = Object.hasOwnProperty.call(node.props || {}, "key");
|
17010
17015
|
const resolveProp = __spreadProps(__spreadValues({}, node.props), {
|
17011
17016
|
field: node.props.prop || node.props.field
|
17012
17017
|
});
|
@@ -17016,13 +17021,19 @@ var Column = defineComponent({
|
|
17016
17021
|
sortColumns.push(unref(resolveProp));
|
17017
17022
|
}
|
17018
17023
|
}
|
17019
|
-
if (
|
17024
|
+
if (((_b = node.children) == null ? void 0 : _b.length) && skipValidateKey0) {
|
17020
17025
|
reduceColumns(node.children);
|
17021
17026
|
}
|
17022
17027
|
});
|
17023
17028
|
};
|
17024
17029
|
reduceColumns(colList);
|
17025
17030
|
this.initColumns(sortColumns);
|
17031
|
+
},
|
17032
|
+
render() {
|
17033
|
+
var _a, _b;
|
17034
|
+
return (_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a, {
|
17035
|
+
row: {}
|
17036
|
+
});
|
17026
17037
|
}
|
17027
17038
|
});
|
17028
17039
|
const resolvePaginationOption = (propPagination, defVal) => {
|