Restore bindings for FIOM, FIOH, SIO, EPC, MCM — they use same bindings
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
611d8d2dd0
commit
034934be71
@ -305,11 +305,6 @@ function generateElementBindings(elements: SvgElement[]): Record<string, any> {
|
|||||||
const prefix = `props.elements[${n}]`;
|
const prefix = `props.elements[${n}]`;
|
||||||
const elName = el.name || el.id || '';
|
const elName = el.name || el.id || '';
|
||||||
|
|
||||||
// Skip bindings for FIOM, FIOH, SIO, EPC, MCM — these are infrastructure/special
|
|
||||||
if (/_FIOM\d*$/i.test(elName) || /_FIOH\d*$/i.test(elName) ||
|
|
||||||
/_SIO\d*$/i.test(elName) || /_EPC\d*$/i.test(elName) ||
|
|
||||||
/^MCM\d*$/i.test(elName)) continue;
|
|
||||||
|
|
||||||
const isStartStop = /_SS\d+/i.test(elName);
|
const isStartStop = /_SS\d+/i.test(elName);
|
||||||
|
|
||||||
// Core bindings: color, state, priority
|
// Core bindings: color, state, priority
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user