@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.
- package/dist/chunks/{uom-field-wrapper-Ckop1JTE.esm.js → uom-field-wrapper-DT4aQVEz.esm.js} +3 -1
- package/dist/chunks/uom-field-wrapper-DT4aQVEz.esm.js.map +1 -0
- package/dist/chunks/{uom-field-wrapper-l8HA79k1.js → uom-field-wrapper-w7UsTsC3.js} +3 -1
- package/dist/chunks/uom-field-wrapper-w7UsTsC3.js.map +1 -0
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/uom-field-wrapper-Ckop1JTE.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-l8HA79k1.js.map +0 -1
|
@@ -8014,6 +8014,8 @@ const MaterialEditableTable = React__default.memo(({
|
|
|
8014
8014
|
v[vl] = val.name;
|
|
8015
8015
|
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "date") {
|
|
8016
8016
|
v[vl] = dayjs(val).format((cell == null ? void 0 : cell.dateFormat) || "DD-MM-YYYY");
|
|
8017
|
+
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "time") {
|
|
8018
|
+
v[vl] = dayjs.isDayjs(val) ? val.format("HH:mm") : val;
|
|
8017
8019
|
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "object" && val !== null) {
|
|
8018
8020
|
v[vl] = val.name || val.label || val.display_name || val.title || val.value || val.id || val;
|
|
8019
8021
|
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "string") {
|
|
@@ -15973,4 +15975,4 @@ export {
|
|
|
15973
15975
|
DynamicDateTime as y,
|
|
15974
15976
|
DynamicLayoutWrapper as z
|
|
15975
15977
|
};
|
|
15976
|
-
//# sourceMappingURL=uom-field-wrapper-
|
|
15978
|
+
//# sourceMappingURL=uom-field-wrapper-DT4aQVEz.esm.js.map
|