UNPKG

@arcgis/map-components

Version:
21 lines (20 loc) 816 B
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */ import { c as e } from "../../chunks/runtime.js"; import { html as r } from "lit"; import { LitElement as s } from "@arcgis/lumina"; import { u as t } from "../../chunks/useT9n.js"; class i extends s { constructor() { super(...arguments), this._messages = t({ blocking: !0 }), this.errorName = ""; } static { this.properties = { errorName: 1 }; } render() { return r`<calcite-alert icon=x-octagon kind=danger open .label=${this.errorName}><div slot=title>${this._messages.errrorTitle}</div><div slot=message>${this._messages.errorMessage}</div><calcite-link slot=link href=https://esriurl.com/webgl-faq>${this._messages.webglFaq}</calcite-link></calcite-alert>`; } } e("arcgis-webgl-error", i); export { i as ArcgisWebGlError };