/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{loadCalciteComponents as t}from"../../support/componentsUtils.js";import{tsx as o}from"../../support/widget.js";const e=()=>t({alert:()=>import("@esri/calcite-components/dist/components/calcite-alert")});function i({autoCloseDuration:t,bind:e,icon:i,kind:l,message:s,onClose:n,open:r,title:a,tooltip:c}){return o("calcite-alert",{autoClose:!!t,autoCloseDuration:t??"medium",bind:e,icon:i,kind:l,label:a,open:r,slot:"alerts",onCalciteAlertClose:n},o("div",{slot:"title",title:c},a),s?o("div",{slot:"message"},s):null)}export{i as Alert,e as loadAlertComponents};
