@sylang/fmea-view
v0.1.0
Published
Sylang FMEA AIAG/VDA workbench — 7-step UI ported verbatim from sylang2.1/src/fmea/webview. Builds as a static iframe-loadable bundle (main.html + chunks) loaded by hosts via postMessage, same pattern as @sylang/web-diagrams.
Downloads
92
Readme
@sylang/fmea-view
Sylang FMEA AIAG/VDA workbench — 7-step UI (Structure → Function → Failure
→ Risk → Optimization → Results) ported from sylang2.1/src/fmea/webview.
Ships as two builds:
dist/— React library entry (FmeaApp) for inline mount.dist-web/— static iframe bundle (main.html+main.js) loaded via<iframe src="…/main.html">. Host posts{type:'loadSymbols', symbols}after the iframe announces{type:'fmeaReady'}.
Install
pnpm add @sylang/fmea-viewUsage — inline React mount
import { FmeaApp } from '@sylang/fmea-view'
<FmeaApp initialSymbols={symbols} />FmeaApp is fully self-contained — global FMEA CSS and position: fixed
panels make iframe mounting the safer choice for embedded contexts.
Usage — iframe
Copy node_modules/@sylang/fmea-view/dist-web/* into your host's
static-files folder, then:
<iframe src="/sylang-fmea/main.html" />See the Hermes/Sylang Studio integration for the postMessage handshake.
Part of @sylang-core.
Apache-2.0.
