@ikas/storefront 6.1.0-beta.355 → 6.1.0-beta.357
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 +1 @@
|
|
|
1
|
-
import{__assign as e}from'./../../../../ext/tslib/tslib.es6.js';import*as t from"react";import{observer as r}from"mobx-react-lite";var n=
|
|
1
|
+
import{__assign as e}from'./../../../../ext/tslib/tslib.es6.js';import*as t from"react";import{observer as r}from"mobx-react-lite";var n=r((function(r){var n,o=r.vm;r.isSelected;var a=t.useRef(null),i=null===(n=o.tkPayResponse)||void 0===n?void 0:n.paymentPageUrl;return t.useEffect((function(){if(i){var e=function(e){console.log("event",e);var t=e.data||{};if("tkpay:resize"===t.type){console.log("data",t);var r=Number(t.height||0);a.current&&r>0&&(console.log("height",r),console.log("iframeRef.current",a.current),a.current.style.height="".concat(r,"px"))}};return window.addEventListener("message",e),function(){return window.removeEventListener("message",e)}}}),[i]),i?t.createElement("div",{style:e({},!o.showTkPayContainer&&{display:"none"})},t.createElement("iframe",{ref:a,src:i,id:"tkpay-payment-page",className:"responsive",title:"TKPay Payment",style:{width:"100%",height:"600px",border:"none"}})):null}));export{n as TkPay};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront",
|
|
3
|
-
"version": "6.1.0-beta.
|
|
3
|
+
"version": "6.1.0-beta.357",
|
|
4
4
|
"description": "Storefront functionality for ikas storefront themes.",
|
|
5
5
|
"author": "ikas",
|
|
6
6
|
"license": "ISC",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"swiper": "11.0.6"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@ikas/storefront-api": "^6.1.0-beta.
|
|
27
|
-
"@ikas/storefront-config": "^6.1.0-beta.
|
|
28
|
-
"@ikas/storefront-model-functions": "^6.1.0-beta.
|
|
29
|
-
"@ikas/storefront-models": "^6.1.0-beta.
|
|
30
|
-
"@ikas/storefront-providers": "^6.1.0-beta.
|
|
26
|
+
"@ikas/storefront-api": "^6.1.0-beta.357",
|
|
27
|
+
"@ikas/storefront-config": "^6.1.0-beta.357",
|
|
28
|
+
"@ikas/storefront-model-functions": "^6.1.0-beta.357",
|
|
29
|
+
"@ikas/storefront-models": "^6.1.0-beta.357",
|
|
30
|
+
"@ikas/storefront-providers": "^6.1.0-beta.357",
|
|
31
31
|
"@ikas/localized-address": "1.0.0-beta.6",
|
|
32
32
|
"@adyen/adyen-web": "^5.57.0",
|
|
33
33
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@ikas/localized-address": "1.0.0-beta.6",
|
|
65
|
-
"@ikas/storefront-api": "^6.1.0-beta.
|
|
66
|
-
"@ikas/storefront-config": "^6.1.0-beta.
|
|
67
|
-
"@ikas/storefront-model-functions": "^6.1.0-beta.
|
|
68
|
-
"@ikas/storefront-models": "^6.1.0-beta.
|
|
69
|
-
"@ikas/storefront-providers": "^6.1.0-beta.
|
|
65
|
+
"@ikas/storefront-api": "^6.1.0-beta.357",
|
|
66
|
+
"@ikas/storefront-config": "^6.1.0-beta.357",
|
|
67
|
+
"@ikas/storefront-model-functions": "^6.1.0-beta.357",
|
|
68
|
+
"@ikas/storefront-models": "^6.1.0-beta.357",
|
|
69
|
+
"@ikas/storefront-providers": "^6.1.0-beta.357",
|
|
70
70
|
"mobx": "^6.1.3",
|
|
71
71
|
"mobx-react-lite": "^3.1.5",
|
|
72
72
|
"next": "12.2.0",
|