@ikas/storefront 1.0.6-alpha.1 → 1.0.6-alpha.2
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/build/index.es.js +5 -3
- package/build/index.js +5 -3
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -45646,9 +45646,11 @@ var IkasPageDataInit = /** @class */ (function () {
|
|
|
45646
45646
|
};
|
|
45647
45647
|
IkasPageDataInit.initPropValues = function (propValuesStr, router, settingsStr, isBrowser) {
|
|
45648
45648
|
var settings = new IkasThemeSettings(JSON.parse(settingsStr));
|
|
45649
|
-
var decompressed =
|
|
45650
|
-
|
|
45651
|
-
|
|
45649
|
+
var decompressed = IkasStorefrontConfig.isEditor
|
|
45650
|
+
? propValuesStr
|
|
45651
|
+
: LZUTF8$1.decompress(propValuesStr, {
|
|
45652
|
+
inputEncoding: "Base64",
|
|
45653
|
+
});
|
|
45652
45654
|
var pageComponentPropValues = JSON.parse(decompressed).map(function (v) { return ({
|
|
45653
45655
|
pageComponent: new IkasThemePageComponent(v.pageComponent),
|
|
45654
45656
|
component: new IkasThemeComponent(v.component),
|
package/build/index.js
CHANGED
|
@@ -45623,9 +45623,11 @@ var IkasPageDataInit = /** @class */ (function () {
|
|
|
45623
45623
|
};
|
|
45624
45624
|
IkasPageDataInit.initPropValues = function (propValuesStr, router, settingsStr, isBrowser) {
|
|
45625
45625
|
var settings = new IkasThemeSettings(JSON.parse(settingsStr));
|
|
45626
|
-
var decompressed =
|
|
45627
|
-
|
|
45628
|
-
|
|
45626
|
+
var decompressed = IkasStorefrontConfig.isEditor
|
|
45627
|
+
? propValuesStr
|
|
45628
|
+
: LZUTF8$1.decompress(propValuesStr, {
|
|
45629
|
+
inputEncoding: "Base64",
|
|
45630
|
+
});
|
|
45629
45631
|
var pageComponentPropValues = JSON.parse(decompressed).map(function (v) { return ({
|
|
45630
45632
|
pageComponent: new IkasThemePageComponent(v.pageComponent),
|
|
45631
45633
|
component: new IkasThemeComponent(v.component),
|