projects/forms/select/shared/action-host-bridge.ts
import { ActionHostBridge } from '@cngx/forms/select'
Bridge surface plugged into the variant's view-host contract: dirty + callbacks feed the panel shell, shouldTrapFocus drives the shell's actionFocusTrapEnabled, shouldBlockDismiss gates the variant's click-outside and Escape handlers.
dirty
callbacks
shouldTrapFocus
actionFocusTrapEnabled
shouldBlockDismiss
Signal
Stable callback bundle for the slot template - structural equal pinned to isPending only, prevents ngTemplateOutlet context churn.
equal
isPending
ngTemplateOutlet
Dirty flag flipped by the slot's setDirty callback.
setDirty
Gates click-outside and Escape no-op behaviour. Aliased to dirty today, named separately so the semantic can widen later without touching call sites.
Resolves the always|never|dirty policy against the live dirty signal.
always|never|dirty
void
Called by the variant on cancel/reset.