xrk-components 2.0.0-beta.91 → 2.0.0-beta.92
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 +10 -7
- package/lib/index.umd.js +10 -7
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -76284,6 +76284,14 @@ var script$9 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$9
|
|
|
76284
76284
|
var props = _props;
|
|
76285
76285
|
var BaseTableRef = ref();
|
|
76286
76286
|
var childrenKey = ((_b = props === null || props === void 0 ? void 0 : props.treeProps) === null || _b === void 0 ? void 0 : _b.children) || 'children';
|
|
76287
|
+
/* 内部额外扩展了源数据属性必须在此添加,防止数据属性的添加导致UI重绘。
|
|
76288
|
+
并且不能拷贝数据,防止外部使用row时导致数据源不一致
|
|
76289
|
+
*/
|
|
76290
|
+
var privateData = function (data) {
|
|
76291
|
+
data.forEach(function (item) {
|
|
76292
|
+
item._selectionLoading = false;
|
|
76293
|
+
});
|
|
76294
|
+
};
|
|
76287
76295
|
var transformData = function (data) {
|
|
76288
76296
|
if (!Array.isArray(data) || !data.length)
|
|
76289
76297
|
return [];
|
|
@@ -76295,13 +76303,8 @@ var script$9 = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$9
|
|
|
76295
76303
|
childrenKey: childrenKey
|
|
76296
76304
|
});
|
|
76297
76305
|
}
|
|
76298
|
-
|
|
76299
|
-
|
|
76300
|
-
return data.map(function (item) {
|
|
76301
|
-
return __assign(__assign({}, item), { _selectionLoading: false });
|
|
76302
|
-
});
|
|
76303
|
-
};
|
|
76304
|
-
return privateData(data);
|
|
76306
|
+
privateData(data);
|
|
76307
|
+
return data;
|
|
76305
76308
|
};
|
|
76306
76309
|
var handleSortChange = function (info) {
|
|
76307
76310
|
emits('sort-change', info);
|
package/lib/index.umd.js
CHANGED
|
@@ -76287,6 +76287,14 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76287
76287
|
var props = _props;
|
|
76288
76288
|
var BaseTableRef = vue.ref();
|
|
76289
76289
|
var childrenKey = ((_b = props === null || props === void 0 ? void 0 : props.treeProps) === null || _b === void 0 ? void 0 : _b.children) || 'children';
|
|
76290
|
+
/* 内部额外扩展了源数据属性必须在此添加,防止数据属性的添加导致UI重绘。
|
|
76291
|
+
并且不能拷贝数据,防止外部使用row时导致数据源不一致
|
|
76292
|
+
*/
|
|
76293
|
+
var privateData = function (data) {
|
|
76294
|
+
data.forEach(function (item) {
|
|
76295
|
+
item._selectionLoading = false;
|
|
76296
|
+
});
|
|
76297
|
+
};
|
|
76290
76298
|
var transformData = function (data) {
|
|
76291
76299
|
if (!Array.isArray(data) || !data.length)
|
|
76292
76300
|
return [];
|
|
@@ -76298,13 +76306,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
76298
76306
|
childrenKey: childrenKey
|
|
76299
76307
|
});
|
|
76300
76308
|
}
|
|
76301
|
-
|
|
76302
|
-
|
|
76303
|
-
return data.map(function (item) {
|
|
76304
|
-
return __assign(__assign({}, item), { _selectionLoading: false });
|
|
76305
|
-
});
|
|
76306
|
-
};
|
|
76307
|
-
return privateData(data);
|
|
76309
|
+
privateData(data);
|
|
76310
|
+
return data;
|
|
76308
76311
|
};
|
|
76309
76312
|
var handleSortChange = function (info) {
|
|
76310
76313
|
emits('sort-change', info);
|