Skip Ignition bindings for FIOM, FIOH, SIO, EPC, and MCM
These are infrastructure/special devices that don't use standard color/state/priority bindings. EPC has specialized stroke bindings, MCM has unique structure, FIO/SIO are network nodes without operational state displays. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c72d0cceee
commit
611d8d2dd0
@ -304,6 +304,12 @@ 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