ywana-core8 0.0.951 → 0.0.953
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/html/table.js +1 -0
- package/src/incubator/planner.js +1 -1
package/package.json
CHANGED
package/src/html/table.js
CHANGED
@@ -244,6 +244,7 @@ const DataTableCell = ({ index, row, column, cell, editable }) => {
|
|
244
244
|
case "Boolean": return <BooleanCellViewer id={id} value={cell} />
|
245
245
|
case "String": return <StringCellViewer id={id} value={cell} format={format} options={options} action={action} />
|
246
246
|
case "Number": return <NumberCellViewer id={id} value={cell} format={format} maxDecimals={maxDecimals} />
|
247
|
+
case "Image": return <img src={cell} />
|
247
248
|
default: return cell
|
248
249
|
}
|
249
250
|
}
|
package/src/incubator/planner.js
CHANGED
@@ -98,7 +98,7 @@ export const Planner2 = ({ from, to, lanes = [], events = [], cellWidth = 10, ro
|
|
98
98
|
{lanes.map((lane, index) => {
|
99
99
|
const laneEvents = events.filter((event) => event.lane === lane.id);
|
100
100
|
|
101
|
-
if (hideEmptyRows &&
|
101
|
+
if (hideEmptyRows && lane.className !== "separator" ) {
|
102
102
|
|
103
103
|
if (laneEvents.length === 0) return null;
|
104
104
|
|