@pisell/materials 1.0.262 → 1.0.263
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/table/Gallery/index.js +1 -1
- package/es/components/table/Table/index.js +1 -1
- package/lib/components/table/Gallery/index.js +1 -1
- package/lib/components/table/Table/index.js +1 -1
- package/package.json +2 -2
|
@@ -50,7 +50,7 @@ var Gallery = function Gallery(props) {
|
|
|
50
50
|
});
|
|
51
51
|
useEffect(function () {
|
|
52
52
|
onDataSourceChange === null || onDataSourceChange === void 0 ? void 0 : onDataSourceChange(dataSource);
|
|
53
|
-
}, [dataSource]);
|
|
53
|
+
}, [JSON.stringify(dataSource)]);
|
|
54
54
|
var columnsMap = useMemo(function () {
|
|
55
55
|
return new Map(originColumns.map(function (item) {
|
|
56
56
|
return [item.key, item];
|
|
@@ -88,7 +88,7 @@ var GridViewTable = function GridViewTable(_ref) {
|
|
|
88
88
|
});
|
|
89
89
|
useEffect(function () {
|
|
90
90
|
onDataSourceChange === null || onDataSourceChange === void 0 ? void 0 : onDataSourceChange(dataSource);
|
|
91
|
-
}, [dataSource]);
|
|
91
|
+
}, [JSON.stringify(dataSource)]);
|
|
92
92
|
var components = useGenTableComponents({
|
|
93
93
|
form: form
|
|
94
94
|
});
|
|
@@ -75,7 +75,7 @@ var Gallery = (props) => {
|
|
|
75
75
|
});
|
|
76
76
|
(0, import_react.useEffect)(() => {
|
|
77
77
|
onDataSourceChange == null ? void 0 : onDataSourceChange(dataSource);
|
|
78
|
-
}, [dataSource]);
|
|
78
|
+
}, [JSON.stringify(dataSource)]);
|
|
79
79
|
const columnsMap = (0, import_react.useMemo)(() => {
|
|
80
80
|
return new Map(originColumns.map((item) => [item.key, item]));
|
|
81
81
|
}, [originColumns]);
|
|
@@ -94,7 +94,7 @@ var GridViewTable = ({ tableProps, filter, setTableSetting, onDataSourceChange }
|
|
|
94
94
|
});
|
|
95
95
|
(0, import_react.useEffect)(() => {
|
|
96
96
|
onDataSourceChange == null ? void 0 : onDataSourceChange(dataSource);
|
|
97
|
-
}, [dataSource]);
|
|
97
|
+
}, [JSON.stringify(dataSource)]);
|
|
98
98
|
const components = (0, import_useGenTableComponents.default)({
|
|
99
99
|
form
|
|
100
100
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.263",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"react-window": "^1.8.10",
|
|
63
63
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
64
64
|
"crypto-js": "^4.2.0",
|
|
65
|
-
"@pisell/utils": "1.0.25",
|
|
66
65
|
"@pisell/icon": "0.0.8",
|
|
66
|
+
"@pisell/utils": "1.0.25",
|
|
67
67
|
"@pisell/date-picker": "1.0.71"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|