ywana-core8 0.0.526 → 0.0.527
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.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +3 -3
package/dist/index.modern.js
CHANGED
@@ -4975,6 +4975,7 @@ var CollectionPage = function CollectionPage(props) {
|
|
4975
4975
|
}), canFilter ? /*#__PURE__*/React.createElement(CollectionFilters, {
|
4976
4976
|
schema: schema
|
4977
4977
|
}) : null, levels ? /*#__PURE__*/React.createElement(CollectionTree, {
|
4978
|
+
icon: icon,
|
4978
4979
|
levels: levels,
|
4979
4980
|
onSelect: onSelect,
|
4980
4981
|
sorter: sorter
|
@@ -5117,7 +5118,9 @@ var CollectionTree = function CollectionTree(props) {
|
|
5117
5118
|
}
|
5118
5119
|
};
|
5119
5120
|
|
5120
|
-
var
|
5121
|
+
var _props$icon = props.icon,
|
5122
|
+
icon = _props$icon === void 0 ? "description" : _props$icon,
|
5123
|
+
levels = props.levels,
|
5121
5124
|
onSelect = props.onSelect,
|
5122
5125
|
sorter = props.sorter;
|
5123
5126
|
|
@@ -5173,6 +5176,7 @@ var CollectionTree = function CollectionTree(props) {
|
|
5173
5176
|
open: true
|
5174
5177
|
}, node.nodes ? renderNodes(node.nodes) : node.items.map(function (item) {
|
5175
5178
|
return /*#__PURE__*/React.createElement(TreeItem, {
|
5179
|
+
icon: icon,
|
5176
5180
|
key: item.id,
|
5177
5181
|
id: item.id,
|
5178
5182
|
label: item.name,
|