ywana-core8 0.0.512 → 0.0.515

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 CHANGED
@@ -1833,11 +1833,12 @@ var EntityCellViewer = function EntityCellViewer(_ref5) {
1833
1833
  var fields = Object.values(item).filter(function (field) {
1834
1834
  return field.column === true;
1835
1835
  });
1836
+ var locale = window.navigator.userLanguage || window.navigator.language;
1836
1837
  return fields.map(function (field) {
1837
1838
  var text = value[field.id];
1838
1839
 
1839
1840
  if (field.format) {
1840
- switch (format) {
1841
+ switch (field.format) {
1841
1842
  case FORMATS.COLOR:
1842
1843
  text = /*#__PURE__*/React__default["default"].createElement("input", {
1843
1844
  type: "color",