/** * What a floating panel calls on the nearest `PanelScope` around it: when it opens, and when it closes or leaves. * `panelId` is the panel's `this.$.uid`. * * @internal */ export type PanelReport = (panelId: number, open: boolean) => void; /** * The provide/inject key of that report, apart from `PanelScope` so a panel does not bundle it. `Modal` provides null: what * opens in a dialog is teleported away from the hosts around the component that rendered it, and clips or stacks nothing of * theirs. * * @internal */ export const PANEL_SCOPE_KEY = 'pd-panel-scope';