Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'tr',
{ key: hgKey },
_react2.default.createElement(
'td',
{ style: { width: '2em' } },
ind + 1
),
_react2.default.createElement(
'td',
null,
hgVal
),
_react2.default.createElement(
'td',
{ style: { width: '5em' } },
_react2.default.createElement(_fa.FaTrash, {
style: iconStyle,
onClick: function onClick(e) {
return projectActions.removeHorizontalGuide(hgKey);
}
})
)
);
}),
this.state.addHGVisible ? _react2.default.createElement(
'tr',
{ key: hgKey },
_react2.default.createElement(
'td',
{ style: { width: '2em' } },
ind + 1
),
_react2.default.createElement(
'td',
null,
hgVal
),
_react2.default.createElement(
'td',
{ style: { width: '5em' } },
_react2.default.createElement(_fa.FaTrash, {
style: iconStyle,
onClick: function onClick(e) {
return projectActions.removeVerticalGuide(hgKey);
}
})
)
);
}),
this.state.addVGVisible ? _react2.default.createElement(
})
),
_react2.default.createElement(
'td',
{ style: iconColStyle, title: _this2.context.translator.t('Un-chain all Group\'s Elements and remove Group') },
_react2.default.createElement(_fa.FaUnlink, {
onClick: function onClick(e) {
return _this2.context.groupsActions.removeGroup(groupID);
},
style: !shouldHighlight ? styleEditButton : styleEditButtonHover
})
),
_react2.default.createElement(
'td',
{ style: iconColStyle, title: _this2.context.translator.t('Delete group and all Elements') },
_react2.default.createElement(_fa.FaTrash, {
onClick: function onClick(e) {
return _this2.context.groupsActions.removeGroupAndDeleteElements(groupID);
},
style: !shouldHighlight ? styleEditButton : styleEditButtonHover
})
),
_react2.default.createElement(
'td',
{ onClick: selectClick, style: { width: '0em', textAlign: 'center' } },
dimension
),
_react2.default.createElement(
'td',
{ onClick: selectClick },
group.get('name')
)
style: !layer.visible ? styleEyeHidden : styleEyeVisible
}) : null
),
_react2.default.createElement(
'td',
{ style: iconColStyle },
_react2.default.createElement(_fa.FaPencilAlt, {
onClick: configureClick,
style: !isCurrentLayer ? styleEditButton : styleEditButtonHover,
title: _this2.context.translator.t('Configure layer')
})
),
_react2.default.createElement(
'td',
{ style: iconColStyle },
!isLastLayer ? _react2.default.createElement(_fa.FaTrash, {
onClick: function onClick(e) {
return _this2.delLayer(e, layerID);
},
style: !isCurrentLayer ? styleEditButton : styleEditButtonHover,
title: _this2.context.translator.t('Delete layer')
}) : null
),
_react2.default.createElement(
'td',
{ style: { width: '6em', textAlign: 'center' } },
'[ h : ',
layer.altitude,
' ]'
),
_react2.default.createElement(
'td',