import { makeGenericController as l } from "@arcgis/lumina/controllers";
import { createEvent as s } from "@arcgis/lumina";
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
v4.34.7 */
const a = l((e, r) => (r.onLoaded(() => {
  const t = e.el;
  e.listenOn(t.childElem, "calciteFlowItemClose", () => {
    e.arcgisClose.emit(), e.autoDestroyDisabled || e.destroy();
  });
}), s()));
export {
  a as c
};
