@erpsquad/common 1.9.99 → 1.9.100

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.
@@ -8033,6 +8033,8 @@ const MaterialEditableTable = React.memo(({
8033
8033
  v[vl] = val.name;
8034
8034
  } else if (cell && (cell == null ? void 0 : cell.editVariant) == "date") {
8035
8035
  v[vl] = dayjs(val).format((cell == null ? void 0 : cell.dateFormat) || "DD-MM-YYYY");
8036
+ } else if (cell && (cell == null ? void 0 : cell.editVariant) == "time") {
8037
+ v[vl] = dayjs.isDayjs(val) ? val.format("HH:mm") : val;
8036
8038
  } else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "object" && val !== null) {
8037
8039
  v[vl] = val.name || val.label || val.display_name || val.title || val.value || val.id || val;
8038
8040
  } else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "string") {
@@ -15990,4 +15992,4 @@ exports.dynamicFields = dynamicFields;
15990
15992
  exports.fields = fields;
15991
15993
  exports.useDynamicLayout = useDynamicLayout;
15992
15994
  exports.validator = validator;
15993
- //# sourceMappingURL=uom-field-wrapper-l8HA79k1.js.map
15995
+ //# sourceMappingURL=uom-field-wrapper-w7UsTsC3.js.map