@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 625 B
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
*/
import{assetPathChanged as t,setAssetPath as o}from"@esri/calcite-components/dist/components";import{getAssetUrl as s}from"../../assets.js";import"../../core/has.js";import{makeAbsolute as e}from"../../core/urlUtils.js";let n;function r(){t||o(e(s(n)))}function c(t){const o=[];for(const s of Object.keys(t))customElements.get(`calcite-${s}`)||o.push(t[s]?.());return o.length>0?Promise.all(o):null}n="components/assets";export{r as commitAssetPath,c as loadCalciteComponents};