Ga naar hoofdinhoud

CnIntegrationWidget

Tabbed, app-faithful integration widget for OpenRegister object-detail pages and dashboards. Gives every registered integration its own tab (app icon + label + accent), composing each leaf's bespoke content component (provider.tab).

Supersedes the generic Phase E pair (CnIntegrationCard / CnIntegrationWidgetGrid) which rendered a one-size surface that erased each integrated app's visual identity. Has two modes: an all-integrations tabbed view, and a single-integration mode for manifest multi-placement.

See the Pluggable Integration Registry section for registration.

Props

PropTypeDefaultDescription
surfaceString'detail-page'Surface the widget renders for ('detail-page' | 'single-entity' | dashboard surfaces).
integrationContextObjectnull{ register, schema, objectId } forwarded to each leaf tab so it can scope its data to the current object.
integrationIdString''When set, renders only that one integration (single-integration mode) instead of the full tab strip.

Usage

<CnIntegrationWidget
surface="detail-page"
:integration-context="{ register, schema, objectId }" />

Additional props

PropTypeDefaultDescription
registryObjectOverride integration registry (defaults to the shared singleton).
includeArraynullAllowlist of integration ids to render (others hidden).
apiBaseStringBase path for integration API calls.
objectTypeString''Object type/schema the widget is bound to.