shineout 1.12.20-beta.3 → 1.12.20
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/css/Table/TreeExpand.js +2 -1
- package/css/index.d.ts +1 -1
- package/css/index.js +1 -1
- package/css/utils/clone.js +0 -4
- package/dist/shineout.js +121 -175
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/es/Table/TreeExpand.js +2 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/utils/clone.js +0 -4
- package/lib/Table/TreeExpand.js +2 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/utils/clone.js +0 -4
- package/package.json +1 -1
package/css/Table/TreeExpand.js
CHANGED
|
@@ -110,7 +110,8 @@ var _default = function _default(WrappedComponent) {
|
|
|
110
110
|
expandKeys.forEach(function (value, key) {
|
|
111
111
|
return storeExpandKeys.set(key, value);
|
|
112
112
|
});
|
|
113
|
-
|
|
113
|
+
var cloneData = JSON.parse(JSON.stringify(data));
|
|
114
|
+
return (0, _immer.default)(cloneData, function (draft) {
|
|
114
115
|
var dataCo = draft;
|
|
115
116
|
|
|
116
117
|
var _loop = function _loop(i) {
|
package/css/index.d.ts
CHANGED
package/css/index.js
CHANGED
package/css/utils/clone.js
CHANGED
|
@@ -44,10 +44,6 @@ var shallowClone = function shallowClone(val) {
|
|
|
44
44
|
exports.shallowClone = shallowClone;
|
|
45
45
|
|
|
46
46
|
var deepClone = function deepClone(source) {
|
|
47
|
-
if (window.structuredClone) {
|
|
48
|
-
return window.structuredClone(source);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
47
|
if ((0, _is.isArray)(source)) return cloneArray(source);
|
|
52
48
|
if ((0, _is.isMergeable)(source)) return cloneObject(source);
|
|
53
49
|
return shallowClone(source);
|