xrk-components 2.0.0-beta.90 → 2.0.0-beta.91
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/lib/index.esm.js +11 -5
- package/lib/index.umd.js +11 -5
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -76295,7 +76295,13 @@ var script$9 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$9
|
|
|
76295
76295
|
childrenKey: childrenKey
|
|
76296
76296
|
});
|
|
76297
76297
|
}
|
|
76298
|
-
|
|
76298
|
+
/* 内部额外扩展了源数据属性必须在此添加,防止数据属性的添加导致UI重绘 */
|
|
76299
|
+
var privateData = function (data) {
|
|
76300
|
+
return data.map(function (item) {
|
|
76301
|
+
return __assign(__assign({}, item), { _selectionLoading: false });
|
|
76302
|
+
});
|
|
76303
|
+
};
|
|
76304
|
+
return privateData(data);
|
|
76299
76305
|
};
|
|
76300
76306
|
var handleSortChange = function (info) {
|
|
76301
76307
|
emits('sort-change', info);
|
|
@@ -76752,13 +76758,13 @@ var script$8 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$8
|
|
|
76752
76758
|
style: { "display": "inline-block" },
|
|
76753
76759
|
onClick: withModifiers(function ($event) { return (handleCheckboxClick(row)); }, ["prevent"])
|
|
76754
76760
|
}, [
|
|
76755
|
-
|
|
76756
|
-
createCommentVNode(" v-loading,导致整个table重绘,待优化先去掉 "),
|
|
76757
|
-
createVNode(unref(BaseCheckbox), {
|
|
76761
|
+
withDirectives(createVNode(unref(BaseCheckbox), {
|
|
76758
76762
|
class: "table-base-checkbox",
|
|
76759
76763
|
"model-value": unref(checked)(row),
|
|
76760
76764
|
disabled: _selectionDisabled(row)
|
|
76761
|
-
}, null, 8 /* PROPS */, ["model-value", "disabled"])
|
|
76765
|
+
}, null, 8 /* PROPS */, ["model-value", "disabled"]), [
|
|
76766
|
+
[unref(vLoading$1), row._selectionLoading]
|
|
76767
|
+
])
|
|
76762
76768
|
], 8 /* PROPS */, _hoisted_1$5))
|
|
76763
76769
|
: (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
76764
76770
|
createTextVNode(toDisplayString(getColumnValue(row, $index, column)), 1 /* TEXT */)
|
package/lib/index.umd.js
CHANGED
|
@@ -76298,7 +76298,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76298
76298
|
childrenKey: childrenKey
|
|
76299
76299
|
});
|
|
76300
76300
|
}
|
|
76301
|
-
|
|
76301
|
+
/* 内部额外扩展了源数据属性必须在此添加,防止数据属性的添加导致UI重绘 */
|
|
76302
|
+
var privateData = function (data) {
|
|
76303
|
+
return data.map(function (item) {
|
|
76304
|
+
return __assign(__assign({}, item), { _selectionLoading: false });
|
|
76305
|
+
});
|
|
76306
|
+
};
|
|
76307
|
+
return privateData(data);
|
|
76302
76308
|
};
|
|
76303
76309
|
var handleSortChange = function (info) {
|
|
76304
76310
|
emits('sort-change', info);
|
|
@@ -76755,13 +76761,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76755
76761
|
style: { "display": "inline-block" },
|
|
76756
76762
|
onClick: vue.withModifiers(function ($event) { return (handleCheckboxClick(row)); }, ["prevent"])
|
|
76757
76763
|
}, [
|
|
76758
|
-
vue.
|
|
76759
|
-
vue.createCommentVNode(" v-loading,导致整个table重绘,待优化先去掉 "),
|
|
76760
|
-
vue.createVNode(vue.unref(BaseCheckbox), {
|
|
76764
|
+
vue.withDirectives(vue.createVNode(vue.unref(BaseCheckbox), {
|
|
76761
76765
|
class: "table-base-checkbox",
|
|
76762
76766
|
"model-value": vue.unref(checked)(row),
|
|
76763
76767
|
disabled: _selectionDisabled(row)
|
|
76764
|
-
}, null, 8 /* PROPS */, ["model-value", "disabled"])
|
|
76768
|
+
}, null, 8 /* PROPS */, ["model-value", "disabled"]), [
|
|
76769
|
+
[vue.unref(vLoading$1), row._selectionLoading]
|
|
76770
|
+
])
|
|
76765
76771
|
], 8 /* PROPS */, _hoisted_1$5))
|
|
76766
76772
|
: (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
76767
76773
|
vue.createTextVNode(vue.toDisplayString(getColumnValue(row, $index, column)), 1 /* TEXT */)
|