How aristrahatsuyu/qurx-report works
QURX Report turns declarative .qr reports and host-provided variables into embeddable dashboards. The main flow is authoring and compilation to IR, runtime validation and variable resolution, then DOM rendering; host applications supply data and handle emitted actions. Framework packages adapt lifecycle and events around the renderer. The graph preserves documented chart, widget, diagnostics, CLI, theme, and integration capabilities; some renderer internals are unsampled, so uncertain wiring is omitted.
Main entry points: src/index.ts Report runtime · src/index.ts QR compiler · src/index.ts Angular adapter · cli.ts Compiler CLI
Components 22
Authoring and compilation
- QR compiler
packages/compiler/src/index.ts - Compiler CLI
packages/compiler/src/cli.ts
Core report model
- Report IR
packages/core/src/model.ts - Component catalog
packages/core/src/registry.ts - IR and data validation
packages/core/src/validate.ts - Bindings and values
packages/core/src/values.ts - Variable store
packages/core/src/store.ts - Theme handling
packages/core/src/theme.ts
Rendering runtime
- Report runtime
packages/renderer/src/index.ts - DOM widgets
packages/renderer/src/widgets.ts - Chart rendering
packages/renderer/src/charts.ts - Report styles
packages/renderer/src/styles.ts - Runtime theme
packages/renderer/src/theme.ts
Framework adapters
- Web Component
packages/web-component/src/index.ts - React adapter
packages/react/src/index.ts - Vue adapter
packages/vue/src/index.ts - Svelte adapter
packages/svelte/src/QurxReport.svelte - Solid adapter
packages/solid/src/index.ts - Angular adapter
packages/angular/src/index.ts
Other components
- Agent or developer
- Host application
- Host data sources
Connections 25
- Agent or developer → QR compiler: provides source
- QR compiler → Component catalog: reads descriptors
- QR compiler → IR and data validation: validates IR
- QR compiler → Report IR: produces IR
- Agent or developer → Compiler CLI: invokes
- Compiler CLI → QR compiler: compiles source
- Host application → Report runtime: mounts report
- Host application → Report runtime: passes variables
- Host data sources → Host application: supplies results
- Report runtime → QR compiler: compiles source
- Report runtime → IR and data validation: validates report
- Report runtime → Variable store: updates variables
- Report runtime → Bindings and values: resolves bindings
- Report runtime → Theme handling: validates theme
- Report runtime → DOM widgets: creates elements
- Report runtime → Host application: emits actions
- DOM widgets → Component catalog: uses descriptors
- Runtime theme → Theme handling: uses theme rules
- Web Component → Report runtime: mounts and updates
- React adapter → Report runtime: mounts and updates
- Vue adapter → Report runtime: mounts and updates
- Svelte adapter → Report runtime: mounts and updates
- Solid adapter → Report runtime: mounts and updates
- Angular adapter → Report runtime: mounts report
- Angular adapter → Web Component: defines element