@plasmicpkgs/plasmic-rich-components 1.0.147 → 1.0.149
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.js
CHANGED
|
@@ -794,7 +794,7 @@ function RichDetails(props) {
|
|
|
794
794
|
layout,
|
|
795
795
|
column = 2
|
|
796
796
|
} = props;
|
|
797
|
-
const data = dataSources.
|
|
797
|
+
const data = dataSources.useNormalizedData(rawData);
|
|
798
798
|
const { columnDefinitions } = useColumnDefinitions$1(data, props);
|
|
799
799
|
if (!data || !((_a = data.data) == null ? void 0 : _a[0])) {
|
|
800
800
|
return /* @__PURE__ */ React__default.default.createElement(antd.Empty, { className, image: antd.Empty.PRESENTED_IMAGE_SIMPLE });
|
|
@@ -1525,7 +1525,7 @@ function RichTable(props) {
|
|
|
1525
1525
|
rowKey,
|
|
1526
1526
|
scopeClassName
|
|
1527
1527
|
} = props;
|
|
1528
|
-
const data = dataSources.
|
|
1528
|
+
const data = dataSources.useNormalizedData(rawData);
|
|
1529
1529
|
const { columnDefinitions, normalized } = useColumnDefinitions(data, props);
|
|
1530
1530
|
const actionRef = React.useRef();
|
|
1531
1531
|
const { finalData, search, setSearch, setSortState } = useSortedFilteredData(
|
|
@@ -2288,7 +2288,7 @@ function RichList(props) {
|
|
|
2288
2288
|
"pagination",
|
|
2289
2289
|
"onRowClick"
|
|
2290
2290
|
]);
|
|
2291
|
-
const data = dataSources.
|
|
2291
|
+
const data = dataSources.useNormalizedData(rawData);
|
|
2292
2292
|
const { normalized, finalRoles: roleConfigs } = useRoleDefinitions$1(
|
|
2293
2293
|
data,
|
|
2294
2294
|
props
|
|
@@ -2783,7 +2783,7 @@ function RichCalendar(props) {
|
|
|
2783
2783
|
"monthCellRender",
|
|
2784
2784
|
"monthFullCellRender"
|
|
2785
2785
|
]);
|
|
2786
|
-
const data = dataSources.
|
|
2786
|
+
const data = dataSources.useNormalizedData(rawData);
|
|
2787
2787
|
const { normalized, finalRoles: roleConfigs } = useRoleDefinitions(
|
|
2788
2788
|
data,
|
|
2789
2789
|
props
|