Raumanzeigen
Komponiert echte Display-Bausteine mit gemeinsamem Ladebudget und rendererunabhängiger Identität. Persönliche Präsentationen sind optional und bleiben ausschließlich im aktuellen Fenster.
Nutzt: ui.button component.room-display ui.icon-button
Beispiele
Raumanzeigen
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| source | string | "" | — |
| renderer | string: image | sprite | office3d | "sprite" | — |
| label | string | "" | — |
| maxActive | number | 4 | — |
| roomId | string | "" | — |
| personalPresentations | boolean | false | — |
* Pflicht-Prop
Events & Slots
Events:
⚡ open⚡ ready⚡ error — im Surface per on: {<event>: {action, params}} verdrahtbar.
Stellschrauben (Komponenten-Tokens)
Ebene 3 — aus dem CSS generiert (Registry). Umverdrahtbar per Hüllen-Komposition, ohne Markup-Eingriff; künftige Regler-Quelle des Component Builders.
| Token | Default |
|---|---|
--room-displays-surface | var(--color-surface-default) |
--room-displays-border | var(--color-border-default) |
Genutzte Design-Tokens
LLM-Notizen
component.room-displays
Composes component.room-display instances and supplies room-authorized settings, renderer poses and the shared active-content budget. Sources, provider data and private child DOM remain owned by the corresponding component/controller.
Native widgets (1.5.0)
Settings may contain kind: "widget", source: {widgetId, title}. Reference ownership and current widget permissions are validated by the Office settings endpoint and the existing WidgetRails data path. Widget content is never converted to an iframe or published as room data. The parent releases a borrowed widget before framework subtree destruction.
Draft placement (1.5.0)
Only an actual component.room-controls in the same room can emit bubbling/cancelable room-displays:preview with {roomId,requestId,display,renderer}. The renderer must match the current view. A synchronous preventDefault acknowledges acceptance. The preview replaces the same display/slot locally, receives budget priority, and leaves the saved baseline untouched.
room-displays:preview-clear must carry the same room/request identity. Settings saves and renderer changes also clear the preview. Image/2D movement and resizing use native Invisible buttons, pointer capture or arrow keys (Shift: larger steps), clamped to the room bounds. A change dispatches room-displays:placement-change on the room host: {roomId,requestId,displayId,renderer,pose}. The editor validates this identity and copies the pose into its unsaved form. Persist only through the existing revision/CSRF-protected save operation.
3D placement uses the existing real wall/monitor anchors and explicit custom world poses; no pixel positions are guessed as world coordinates. The manager itself performs no settings writes or widget provider requests.
Personal live invalidation (1.5.1)
The existing personal widget channel emits only {scope:"personal", roomId, revision} after a verified changed settings save. WidgetRails validates its own channel and forwards room-settings:invalidate on the document. This manager reloads the authorized settings endpoint for its matching room, deduplicates revision notices, and also reloads after a transport resync. Unsaved placement previews are retained while the saved baseline advances. No widget data or placement payload is broadcast to another user.
Direct 3D wall placement (1.6.0)
During an editor preview, the four wall slots expose screen-sized native Invisible grips and a perspective outline. Drag the surface/center grip to move, or its bottom-right grip to resize. Arrow keys provide fine adjustment (Shift: larger steps); Escape restores the current drag's starting rectangle. Pointer updates are coalesced to one per animation frame and pointer capture is released on cancellation, hidden projection, view change and destroy.
The same-room room-displays:place3d command carries client coordinates. component.office-scene converts these using the real canvas bounds and calls the public runtime ray/plane API. Only an acknowledged valid result changes poses.office3dWall, a normalized wall rectangle. The original slot, source, display ID, image/sprite/custom poses and live native widget remain intact. The geometry publish never remounts content or sends a settings write. The editor receives room-displays:placement-change with renderer:"office3d",space:"wall",slot,pose and the existing room/request/display identities. Its explicit Save uses the unchanged rights/CSRF/revision/private-invalidation path.
Monitor surfaces and custom world poses keep their existing behavior. The new controls appear only for an active, visible, placeable wall preview; ordinary viewing and flat-view appearance remain unchanged.
Editing toolbar (1.7.3)
The display menu moves into the room's existing data-room-actors-slot, beside Figures. Its controls are visible only while the host carries data-room-object-editing; leaving editing closes the native details menu. The list opens upwards. The controller retains the controls reference and its click delegation when moving it, reconnects on room-displays:reparent, and removes the external controls and attribute observer on destroy. Display surfaces and iframe/widget instances remain under the original display component. No settings are written by opening or closing the menu.