All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.prod.config.Language.js Maven / Gradle / Ivy

"use strict";import{getLanguage as g,getFetchDefaultLanguage as r}from"../InitialConfiguration.js";import{fireLanguageChange as u}from"../locale/languageChange.js";import{reRenderAllUI5Elements as o}from"../Render.js";import{DEFAULT_LANGUAGE as i}from"../generated/AssetParameters.js";import{isBooted as f}from"../Boot.js";let t,n;const s=()=>(t===void 0&&(t=g()),t),L=async e=>{t!==e&&(t=e,f()&&(await u(e),await o({languageAware:!0})))},d=()=>i,a=e=>{n=e},l=()=>(n===void 0&&a(r()),n);export{s as getLanguage,L as setLanguage,d as getDefaultLanguage,a as setFetchDefaultLanguage,l as getFetchDefaultLanguage};
//# sourceMappingURL=Language.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy