seat-editor 3.6.47 → 3.6.49
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.
|
@@ -77,7 +77,7 @@ export const renderElements = (elementEditor, mappingKey, tableMatchKey, connect
|
|
|
77
77
|
//bikin ed.to di merge dengan ed.from
|
|
78
78
|
)) === null || _a === void 0 ? void 0 : _a.map((edge) => edge.to === (connecting === null || connecting === void 0 ? void 0 : connecting.fromId) ? edge.from : edge.to)) || [];
|
|
79
79
|
return elementEditor.map((editorItem) => {
|
|
80
|
-
var _a, _b;
|
|
80
|
+
var _a, _b, _c, _d;
|
|
81
81
|
const isUsingMapping = mappingKey &&
|
|
82
82
|
typeof editorItem[mappingKey] === "object" &&
|
|
83
83
|
editorItem[mappingKey] !== null;
|
|
@@ -99,6 +99,8 @@ export const renderElements = (elementEditor, mappingKey, tableMatchKey, connect
|
|
|
99
99
|
}
|
|
100
100
|
if ((_a = tableMatch === null || tableMatch === void 0 ? void 0 : tableMatch.properties) === null || _a === void 0 ? void 0 : _a.fill) {
|
|
101
101
|
fill = (_b = tableMatch === null || tableMatch === void 0 ? void 0 : tableMatch.properties) === null || _b === void 0 ? void 0 : _b.fill;
|
|
102
|
+
seatFill = (_c = tableMatch === null || tableMatch === void 0 ? void 0 : tableMatch.properties) === null || _c === void 0 ? void 0 : _c.seatFill;
|
|
103
|
+
stroke = (_d = tableMatch === null || tableMatch === void 0 ? void 0 : tableMatch.properties) === null || _d === void 0 ? void 0 : _d.stroke;
|
|
102
104
|
}
|
|
103
105
|
if ((connecting === null || connecting === void 0 ? void 0 : connecting.fromId) == (finalProps === null || finalProps === void 0 ? void 0 : finalProps.id)) {
|
|
104
106
|
fill = "#F8F5FF";
|