seat-editor 3.6.46 → 3.6.48
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;
|
|
@@ -94,9 +94,13 @@ export const renderElements = (elementEditor, mappingKey, tableMatchKey, connect
|
|
|
94
94
|
let seatFill = finalProps === null || finalProps === void 0 ? void 0 : finalProps.seatFill;
|
|
95
95
|
if (findIndexSelection !== undefined && settingSelectionGroup) {
|
|
96
96
|
fill = groupSelection === null || groupSelection === void 0 ? void 0 : groupSelection.colorGroupSelection[findIndexSelection];
|
|
97
|
+
seatFill = groupSelection === null || groupSelection === void 0 ? void 0 : groupSelection.colorGroupSelection[findIndexSelection];
|
|
98
|
+
stroke = groupSelection === null || groupSelection === void 0 ? void 0 : groupSelection.colorGroupSelection[findIndexSelection];
|
|
97
99
|
}
|
|
98
100
|
if ((_a = tableMatch === null || tableMatch === void 0 ? void 0 : tableMatch.properties) === null || _a === void 0 ? void 0 : _a.fill) {
|
|
99
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.fill;
|
|
103
|
+
stroke = (_d = tableMatch === null || tableMatch === void 0 ? void 0 : tableMatch.properties) === null || _d === void 0 ? void 0 : _d.fill;
|
|
100
104
|
}
|
|
101
105
|
if ((connecting === null || connecting === void 0 ? void 0 : connecting.fromId) == (finalProps === null || finalProps === void 0 ? void 0 : finalProps.id)) {
|
|
102
106
|
fill = "#F8F5FF";
|