reveal-sdk 2.1.1-preview.2 → 2.1.1-preview.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.
@@ -1,4 +1,4 @@
1
- /**! Reveal Embed - Client side component - Dotnet distribution - v.2.1.1-rc3 */
1
+ /**! Reveal Embed - Client side component - Dotnet distribution - v.2.1.1-preview.3 */
2
2
 
3
3
  class V_{static set(t){V_._loader=t}static get(){if(!V_._loader){throw new Error("No locale loader has been configured.")}return V_._loader}static setSync(t){V_._syncLoader=t}static hasSyncLoader(){return V_._syncLoader!==null}static getSync(){if(!V_._syncLoader){throw new Error("No synchronous locale loader has been configured.")}return V_._syncLoader}}V_._loader=null;V_._syncLoader=null;V_.set(async u=>{let t;switch(u){case"De":t=import("./locales/revealResourcesDe.js");break;case"Es":t=import("./locales/revealResourcesEs.js");break;case"Fr":t=import("./locales/revealResourcesFr.js");break;case"It":t=import("./locales/revealResourcesIt.js");break;case"Ja":t=import("./locales/revealResourcesJa.js");break;case"Ko":t=import("./locales/revealResourcesKo.js");break;case"Ms":t=import("./locales/revealResourcesMs.js");break;case"Nl":t=import("./locales/revealResourcesNl.js");break;case"Pt":t=import("./locales/revealResourcesPt.js");break;case"Ru":t=import("./locales/revealResourcesRu.js");break;case"ZhHans":t=import("./locales/revealResourcesZhHans.js");break;case"ZhHant":t=import("./locales/revealResourcesZhHant.js");break;default:return Promise.reject(new Error(`Unknown locale suffix: ${u}`))}const e=await t;return e.default});/*!
4
4
  THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
@@ -1,4 +1,4 @@
1
- /**! Reveal Embed - Client side component - Dotnet distribution - v.2.1.1-rc3 */
1
+ /**! Reveal Embed - Client side component - Dotnet distribution - v.2.1.1-preview.3 */
2
2
 
3
3
  var Reveal=(function(Ft){"use strict";var gV=typeof document!=="undefined"?document.currentScript:null;class ly{static set(t){ly._loader=t}static get(){if(!ly._loader){throw new Error("No locale loader has been configured.")}return ly._loader}static setSync(t){ly._syncLoader=t}static hasSyncLoader(){return ly._syncLoader!==null}static getSync(){if(!ly._syncLoader){throw new Error("No synchronous locale loader has been configured.")}return ly._syncLoader}}ly._loader=null;ly._syncLoader=null;ly.set(async u=>{const t=RHt(u);const e=await fetch(t);if(!e.ok){throw new Error(`Failed to load locale '${u}' (HTTP ${e.status})`)}return await e.json()});ly.setSync(u=>{const t=new URL(`./locales/RevealResources${u}.json`,gV&&gV.tagName.toUpperCase()==="SCRIPT"&&gV.src||new URL("reveal-sdk.js",document.baseURI).href).href;const e=new XMLHttpRequest;e.open("GET",t,false);e.send();if(e.status!==200){throw new Error(`Failed to load locale '${u}' synchronously (HTTP ${e.status})`)}return JSON.parse(e.responseText)});function RHt(u){return new URL(`./locales/RevealResources${u}.json`,gV&&gV.tagName.toUpperCase()==="SCRIPT"&&gV.src||new URL("reveal-sdk.js",document.baseURI).href).href}/*!
4
4
  THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reveal-sdk",
3
- "version": "2.1.1-preview.2",
3
+ "version": "2.1.1-preview.3",
4
4
  "description": "",
5
5
  "main": "dist/reveal-sdk.esm.js",
6
6
  "module": "dist/reveal-sdk.esm.js",