@ws-ui/shared 1.6.2 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -14255,10 +14255,10 @@ async function UI() {
|
|
|
14255
14255
|
}
|
|
14256
14256
|
);
|
|
14257
14257
|
}
|
|
14258
|
-
async function zI() {
|
|
14258
|
+
async function zI(e) {
|
|
14259
14259
|
try {
|
|
14260
|
-
const
|
|
14261
|
-
return
|
|
14260
|
+
const r = process.env.NODE_ENV === "development" ? "/i18n/languages.json" : `/$lib/${e ? "studio" : "renderer"}/i18n/languages.json`, o = await (await fetch(r)).text(), { supported: a } = JSON.parse(o);
|
|
14261
|
+
return a;
|
|
14262
14262
|
} catch {
|
|
14263
14263
|
return [];
|
|
14264
14264
|
}
|