@wix/editor 1.554.0 → 1.556.0
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/cjs/index.js +5 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/statics/docs-ts-model.json +181 -181
- package/dist/statics/index.js +5 -1
- package/dist/statics/index.js.map +1 -1
- package/dist/types/index.d.ts +3 -2
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -203,6 +203,10 @@ class InfoSDKShape extends BaseSDKShape {
|
|
|
203
203
|
const privateAPI = await this.getPlatformPrivateAPI();
|
|
204
204
|
return privateAPI.info.getLanguageCode();
|
|
205
205
|
}
|
|
206
|
+
async getLocales() {
|
|
207
|
+
const privateAPI = await this.getPlatformPrivateAPI();
|
|
208
|
+
return privateAPI.info.getLocales();
|
|
209
|
+
}
|
|
206
210
|
async getSiteDirection() {
|
|
207
211
|
const privateAPI = await this.getPlatformPrivateAPI();
|
|
208
212
|
return privateAPI.info.getSiteDirection();
|
|
@@ -228,7 +232,7 @@ class InfoSDKShape extends BaseSDKShape {
|
|
|
228
232
|
return privateAPI.info.getMetaSiteId();
|
|
229
233
|
}
|
|
230
234
|
}
|
|
231
|
-
var index$c = new PlatformSDKShape(InfoSDKShape).withPublicMethod("getViewMode").withPublicMethod("getLanguageCode").withPublicMethod("getSiteDirection").withPublicMethod("siteHasCustomClasses").withPublicMethod("getThemeCustomProperties").withPublicMethod("getSiteFonts").withPublicMethod("getFontFamilyDisplayName").withPublicMethod("getMetaSiteId").build();
|
|
235
|
+
var index$c = new PlatformSDKShape(InfoSDKShape).withPublicMethod("getViewMode").withPublicMethod("getLanguageCode").withPublicMethod("getLocales").withPublicMethod("getSiteDirection").withPublicMethod("siteHasCustomClasses").withPublicMethod("getThemeCustomProperties").withPublicMethod("getSiteFonts").withPublicMethod("getFontFamilyDisplayName").withPublicMethod("getMetaSiteId").build();
|
|
232
236
|
|
|
233
237
|
var WidgetShapeErrorCode = /* @__PURE__ */ ((WidgetShapeErrorCode2) => {
|
|
234
238
|
WidgetShapeErrorCode2["UndefinedCompRef"] = "UndefinedCompRef";
|