ywana-core8 0.0.761 → 0.0.763
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 +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +8 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +8 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +3 -1
- package/src/html/table.js +3 -1
package/dist/index.umd.js
CHANGED
@@ -2184,7 +2184,11 @@
|
|
2184
2184
|
return /*#__PURE__*/React__default["default"].createElement("span", null, value);
|
2185
2185
|
}
|
2186
2186
|
} else {
|
2187
|
-
var decimals = maxDecimals ? maxDecimals : 2;
|
2187
|
+
var decimals = maxDecimals ? maxDecimals : 2;
|
2188
|
+
|
2189
|
+
if (typeof value === "string") {
|
2190
|
+
value = parseFloat(value);
|
2191
|
+
}
|
2188
2192
|
|
2189
2193
|
return value && !isNaN(value) ? /*#__PURE__*/React__default["default"].createElement("span", null, value.toFixed(decimals)) : "";
|
2190
2194
|
}
|
@@ -6510,7 +6514,9 @@
|
|
6510
6514
|
}
|
6511
6515
|
|
6512
6516
|
function renderNodes(nodes) {
|
6513
|
-
return nodes.
|
6517
|
+
return nodes.sort(function (a, b) {
|
6518
|
+
return a.name.localeCompare(b.name);
|
6519
|
+
}).map(function (node) {
|
6514
6520
|
var title = typeof node.name === 'boolean' ? node.field + " = " + node.name : node.title;
|
6515
6521
|
return /*#__PURE__*/React__default["default"].createElement(TreeNode, {
|
6516
6522
|
key: node.name,
|