@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 CHANGED
@@ -205,6 +205,10 @@ class InfoSDKShape extends BaseSDKShape {
205
205
  const privateAPI = await this.getPlatformPrivateAPI();
206
206
  return privateAPI.info.getLanguageCode();
207
207
  }
208
+ async getLocales() {
209
+ const privateAPI = await this.getPlatformPrivateAPI();
210
+ return privateAPI.info.getLocales();
211
+ }
208
212
  async getSiteDirection() {
209
213
  const privateAPI = await this.getPlatformPrivateAPI();
210
214
  return privateAPI.info.getSiteDirection();
@@ -230,7 +234,7 @@ class InfoSDKShape extends BaseSDKShape {
230
234
  return privateAPI.info.getMetaSiteId();
231
235
  }
232
236
  }
233
- var index$c = new PlatformSDKShape(InfoSDKShape).withPublicMethod("getViewMode").withPublicMethod("getLanguageCode").withPublicMethod("getSiteDirection").withPublicMethod("siteHasCustomClasses").withPublicMethod("getThemeCustomProperties").withPublicMethod("getSiteFonts").withPublicMethod("getFontFamilyDisplayName").withPublicMethod("getMetaSiteId").build();
237
+ 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();
234
238
 
235
239
  var WidgetShapeErrorCode = /* @__PURE__ */ ((WidgetShapeErrorCode2) => {
236
240
  WidgetShapeErrorCode2["UndefinedCompRef"] = "UndefinedCompRef";