@cleartrip/ct-platform-push-primer 3.2.1-beta.3 → 3.2.1-beta.5

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
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { PushPrimerProps } from './PushPrimer.types';
3
3
  declare const PushPrimer: React.FC<PushPrimerProps>;
4
4
  export default PushPrimer;
@@ -1 +1 @@
1
- {"version":3,"file":"PushPrimer.d.ts","sourceRoot":"","sources":["../packages/components/PushPrimer/src/PushPrimer.tsx"],"names":[],"mappings":";AAoBA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmIzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"PushPrimer.d.ts","sourceRoot":"","sources":["../packages/components/PushPrimer/src/PushPrimer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAoBzE,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAmIzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),t=require("@cleartrip/ct-design-button"),r=require("@cleartrip/ct-platform-assets"),o=require("@cleartrip/ct-design-typography"),s=require("@cleartrip/ct-platform-io-hoc"),a=require("@cleartrip/ct-platform-utils"),l="home",d="confirmation",c="cross",u="enable";var _="index-module_mainContainer__ZNDH-",m="index-module_imageAndTextContainer__5PsLG",x="index-module_textContainer__4hdKa",p="index-module_pushPrimerText__kSve1",h="index-module_pushPrimerButton__OFsl5",g="index-module_homePageIcon__hU1Yc",v="index-module_confirmationPageIcon__YAO-J",f="index-module_crossIcon__1ZRju",j="index-module_ellipseIcon__Jvmjk";!function(e,n){void 0===n&&(n={});var i=n.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===i&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".index-module_mainContainer__ZNDH-{border:1px solid #e6e6e6;border-radius:16px;display:flex;height:120px;overflow:hidden;position:relative}.index-module_imageAndTextContainer__5PsLG{display:flex;justify-content:space-between}.index-module_textContainer__4hdKa{align-content:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:16px;margin-left:15px;margin-top:16px}.index-module_pushPrimerText__kSve1{margin-bottom:8px;padding-right:90px}.index-module_pushPrimerButton__OFsl5{height:32px;max-width:167px}.index-module_homePageIcon__hU1Yc{margin-bottom:20px;margin-left:16px;margin-top:20px}.index-module_confirmationPageIcon__YAO-J{position:absolute;right:16px;top:48px}.index-module_crossIcon__1ZRju{height:20px;position:absolute;right:12px;top:12px;width:20px}.index-module_ellipseIcon__Jvmjk{bottom:0;position:absolute;right:0;z-index:-1}");exports.PushPrimer=function(P){var C=P.variant,b=void 0===C?"home":C,y=P.title,N=void 0===y?"Never miss out! Stay updated on best deals":y,k=P.buttonText,T=void 0===k?"Enable Notification":k,I=e.__rest(P,["variant","title","buttonText"]),S=i.useState(!1),q=S[0],w=S[1];i.useEffect((function(){!function(){e.__awaiter(this,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,a.shouldShowPushPrimer()];case 1:return n=e.sent(),w(n),[2]}}))}))}()}),[]);var B=function(){var n;w(!1),(null===(n=null==I?void 0:I.onButtonClick)||void 0===n?void 0:n.call(I))&&(null==I||I.onButtonClick()),a.handlePushPrimerCTA(u),a.ravenSDKTrigger("a_ui_action",e.__assign({action_name:"enable_pn_nudge_click",action_type:"click"},null==I?void 0:I.ravenPayload))},A=i.useCallback((function(){a.ravenSDKTrigger("a_impression",e.__assign({action_name:"enable_pn_nudge_impression"},null==I?void 0:I.ravenPayload))}),[]),F=i.useMemo((function(){return n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:p},{children:n.jsx(o.Typography,e.__assign({variant:"B2"},{children:N}))})),n.jsx(t.Button,e.__assign({onClick:B,loading:!1,variant:"outline",className:h},{children:T}))]})}),[N,T,B]),O=i.useCallback((function(i){switch(i){case l:return n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:g},{children:n.jsx(r.PushPrimerHomePageIcon,{})})),n.jsx("div",e.__assign({className:x},{children:F}))]});case d:return n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:x},{children:F})),n.jsxs("div",{children:[n.jsx(r.EllipseIcon,{className:j}),n.jsx("div",e.__assign({className:v},{children:n.jsx(r.PushPrimerConfirmationPageIcon,{})}))]})]});default:return n.jsx(n.Fragment,{})}}),[F]),D=i.useMemo((function(){return O(b)}),[b]);return n.jsx(n.Fragment,{children:q&&n.jsx(s.IntersectionObserverHOC,e.__assign({onIntersection:A},{children:n.jsxs("div",e.__assign({className:_,style:e.__assign({},null==I?void 0:I.containerStyles)},{children:[n.jsx("div",e.__assign({className:m},{children:D})),n.jsx("div",e.__assign({className:f,onClick:function(){var n;w(!1),(null===(n=null==I?void 0:I.onCrossClick)||void 0===n?void 0:n.call(I))&&(null==I||I.onCrossClick()),a.handlePushPrimerCTA(c),a.ravenSDKTrigger("a_ui_action",e.__assign({action_name:"enable_pn_nudge_close",action_type:"click"},null==I?void 0:I.ravenPayload))}},{children:n.jsx(r.CrossIcon,{})}))]}))}))})};
1
+ "use strict";var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),t=require("@cleartrip/ct-design-button"),r=require("@cleartrip/ct-platform-assets"),o=require("@cleartrip/ct-design-typography"),s=require("@cleartrip/ct-platform-io-hoc"),a=require("@cleartrip/ct-platform-utils"),l="home",d="confirmation",c="cross",u="enable";var _="index-module_mainContainer__ZNDH-",m="index-module_imageAndTextContainer__5PsLG",x="index-module_textContainer__4hdKa",p="index-module_pushPrimerText__kSve1",h="index-module_pushPrimerButton__OFsl5",g="index-module_homePageIcon__hU1Yc",v="index-module_confirmationPageIcon__YAO-J",f="index-module_crossIcon__1ZRju",j="index-module_ellipseIcon__Jvmjk";!function(e,n){void 0===n&&(n={});var i=n.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===i&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".index-module_mainContainer__ZNDH-{border:1px solid #e6e6e6;border-radius:16px;display:flex;height:120px;overflow:hidden;position:relative}.index-module_imageAndTextContainer__5PsLG{display:flex;justify-content:space-between}.index-module_textContainer__4hdKa{align-content:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:16px;margin-left:15px;margin-top:16px}.index-module_pushPrimerText__kSve1{margin-bottom:8px;padding-right:90px}.index-module_pushPrimerButton__OFsl5{height:32px;max-width:167px}.index-module_homePageIcon__hU1Yc{margin-bottom:20px;margin-left:16px;margin-top:20px}.index-module_confirmationPageIcon__YAO-J{position:absolute;right:16px;top:48px}.index-module_crossIcon__1ZRju{height:20px;position:absolute;right:12px;top:12px;width:20px}.index-module_ellipseIcon__Jvmjk{bottom:0;position:absolute;right:0}");exports.PushPrimer=function(P){var C=P.variant,b=void 0===C?"home":C,y=P.title,N=void 0===y?"Never miss out! Stay updated on best deals":y,k=P.buttonText,T=void 0===k?"Enable Notification":k,I=e.__rest(P,["variant","title","buttonText"]),S=i.useState(!1),q=S[0],w=S[1];i.useEffect((function(){!function(){e.__awaiter(this,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,a.shouldShowPushPrimer()];case 1:return n=e.sent(),w(n),[2]}}))}))}()}),[]);var B=function(){var n;w(!1),(null===(n=null==I?void 0:I.onButtonClick)||void 0===n?void 0:n.call(I))&&(null==I||I.onButtonClick()),a.handlePushPrimerCTA(u),a.ravenSDKTrigger("a_ui_action",e.__assign({action_name:"enable_pn_nudge_click",action_type:"click"},null==I?void 0:I.ravenPayload))},A=i.useCallback((function(){a.ravenSDKTrigger("a_impression",e.__assign({action_name:"enable_pn_nudge_impression"},null==I?void 0:I.ravenPayload))}),[]),F=i.useMemo((function(){return n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:p},{children:n.jsx(o.Typography,e.__assign({variant:"B2"},{children:N}))})),n.jsx(t.Button,e.__assign({onClick:B,loading:!1,variant:"outline",className:h},{children:T}))]})}),[N,T,B]),O=i.useCallback((function(i){switch(i){case l:return n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:g},{children:n.jsx(r.PushPrimerHomePageIcon,{})})),n.jsx("div",e.__assign({className:x},{children:F}))]});case d:return n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:x},{children:F})),n.jsxs("div",{children:[n.jsx(r.EllipseIcon,{className:j}),n.jsx("div",e.__assign({className:v},{children:n.jsx(r.PushPrimerConfirmationPageIcon,{})}))]})]});default:return n.jsx(n.Fragment,{})}}),[F]),D=i.useMemo((function(){return O(b)}),[b]);return n.jsx(n.Fragment,{children:q&&n.jsx(s.IntersectionObserverHOC,e.__assign({onIntersection:A},{children:n.jsxs("div",e.__assign({className:_,style:e.__assign({},null==I?void 0:I.containerStyles)},{children:[n.jsx("div",e.__assign({className:m},{children:D})),n.jsx("div",e.__assign({className:f,onClick:function(){var n;w(!1),(null===(n=null==I?void 0:I.onCrossClick)||void 0===n?void 0:n.call(I))&&(null==I||I.onCrossClick()),a.handlePushPrimerCTA(c),a.ravenSDKTrigger("a_ui_action",e.__assign({action_name:"enable_pn_nudge_close",action_type:"click"},null==I?void 0:I.ravenPayload))}},{children:n.jsx(r.CrossIcon,{})}))]}))}))})};
2
2
  //# sourceMappingURL=ct-platform-push-primer.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ct-platform-push-primer.cjs.js","sources":["../packages/components/PushPrimer/src/constants.ts","../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/PushPrimer/src/PushPrimer.tsx"],"sourcesContent":[null,"function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null],"names":["PAGE","CLICK_CTA","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","_a","_b","variant","_c","title","_d","buttonText","props","__rest","_e","useState","showComponent","setShowComponent","useEffect","shouldShowPushPrimer","showPushPrimerValue","sent","getValueForPushPrimer","handleButtonClick","onButtonClick","call","handlePushPrimerCTA","ravenSDKTrigger","__assign","action_name","action_type","ravenPayload","triggerRavenImpressionEvent","useCallback","commonText","useMemo","_jsxs","_Fragment","children","_jsx","jsx","className","styles","Typography","Button","onClick","loading","renderImageAndText","page","PushPrimerHomePageIcon","jsxs","EllipseIcon","PushPrimerConfirmationPageIcon","pushPrimerImageAndText","IntersectionObserverHOC","onIntersection","containerStyles","onCrossClick","CrossIcon"],"mappings":"4SAAaA,EACH,OADGA,EAEK,eAGLC,EACF,QADEA,EAED,gXCPZ,SAAqBC,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAgC,oBAAbC,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,W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G,QA9FC,iBACrB5B,GAAiB,IACM,QAAnBZ,EAAAO,eAAAA,EAAO6C,oBAAY,IAAApD,OAAA,EAAAA,EAAAoB,KAAAb,MACnBA,SAAAA,EAAO6C,gBAEX/B,sBAAoBrC,GACpBsC,EAAeA,gBAAC,cAAaC,WAAA,CACzBC,YAAa,wBACbC,YAAa,SACVlB,aAAK,EAALA,EAAOmB,cAElB,GAmFiD,CAAAO,SAEzBC,EAAAA,IAACmB,EAASA,UAAG,CAAA,cAOzC","x_google_ignoreList":[1]}
1
+ {"version":3,"file":"ct-platform-push-primer.cjs.js","sources":["../packages/components/PushPrimer/src/constants.ts","../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/PushPrimer/src/PushPrimer.tsx"],"sourcesContent":[null,"function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null],"names":["PAGE","CLICK_CTA","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","_a","_b","variant","_c","title","_d","buttonText","props","__rest","_e","useState","showComponent","setShowComponent","useEffect","shouldShowPushPrimer","showPushPrimerValue","sent","getValueForPushPrimer","handleButtonClick","onButtonClick","call","handlePushPrimerCTA","ravenSDKTrigger","__assign","action_name","action_type","ravenPayload","triggerRavenImpressionEvent","useCallback","commonText","useMemo","_jsxs","_Fragment","children","_jsx","jsx","className","styles","Typography","Button","onClick","loading","renderImageAndText","page","PushPrimerHomePageIcon","jsxs","EllipseIcon","PushPrimerConfirmationPageIcon","pushPrimerImageAndText","IntersectionObserverHOC","onIntersection","containerStyles","onCrossClick","CrossIcon"],"mappings":"4SAAaA,EACH,OADGA,EAEK,eAGLC,EACF,QADEA,EAED,gXCPZ,SAAqBC,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAgC,oBAAbC,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBW,CAqBzD,i3BCH8C,SAACe,GAC3C,IAAAC,EAAAD,EAAAE,QAAAA,OAAU,IAAAD,EAAA,SACVE,EAAAH,EAAAI,MAAAA,OAAQ,IAAAD,EAAA,+CACRE,EAAAL,EAAAM,WAAAA,OAAa,IAAAD,EAAA,wBACVE,EAJwCC,EAAAA,OAAAR,EAAA,CAAA,UAAA,QAAA,eAMrCS,EAAoCC,EAAAA,UAAS,GAA5CC,EAAaF,EAAA,GAAEG,EAAgBH,EAAA,GACtCI,EAAAA,WAAU,YACN,0HACgC,MAAM,CAAA,EAAAC,EAAAA,sCAA5BC,EAAsBf,EAA4BgB,OACxDJ,EAAiBG,aACpB,CACDE,EACH,GAAE,IAEH,IAAMC,EAAoB,iBACtBN,GAAiB,IACO,QAApBZ,EAAAO,eAAAA,EAAOY,qBAAa,IAAAnB,OAAA,EAAAA,EAAAoB,KAAAb,MACpBA,SAAAA,EAAOY,iBAEXE,sBAAoBrC,GACpBsC,EAAeA,gBAAC,cAAaC,WAAA,CACzBC,YAAa,wBACbC,YAAa,SACVlB,aAAK,EAALA,EAAOmB,cAElB,EAeMC,EAA8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C,SACKtB,GACGuB,EAAAC,IAACc,EAAuBA,wBAAA1B,EAAAA,SAAA,CACpB2B,eAAgBvB,GAA2B,CAAAM,SAE3CF,EAAAA,KACI,MAAAR,EAAAA,SAAA,CAAAa,UAAWC,EACX9C,MAAKgC,EAAAA,SAAA,CAAA,EAAOhB,aAAK,EAALA,EAAO4C,kBAEnB,CAAAlB,SAAA,CAAAC,EAAAC,IAAA,MAAAZ,EAAAA,SAAA,CAAKa,UAAWC,GACX,CAAAJ,SAAAe,KAELd,EACIC,IAAA,MAAAZ,EAAAA,SAAA,CAAAa,UAAWC,EACXG,QA9FC,iBACrB5B,GAAiB,IACM,QAAnBZ,EAAAO,eAAAA,EAAO6C,oBAAY,IAAApD,OAAA,EAAAA,EAAAoB,KAAAb,MACnBA,SAAAA,EAAO6C,gBAEX/B,sBAAoBrC,GACpBsC,EAAeA,gBAAC,cAAaC,WAAA,CACzBC,YAAa,wBACbC,YAAa,SACVlB,aAAK,EAALA,EAAOmB,cAElB,GAmFiD,CAAAO,SAEzBC,EAAAA,IAACmB,EAASA,UAAG,CAAA,cAOzC","x_google_ignoreList":[1]}
@@ -1,2 +1,2 @@
1
- import{__rest as e,__assign as n,__awaiter as i,__generator as t}from"tslib";import{jsxs as o,Fragment as r,jsx as l}from"react/jsx-runtime";import{useState as a,useEffect as d,useCallback as c,useMemo as s}from"react";import{Button as m}from"@cleartrip/ct-design-button";import{EllipseIcon as u,PushPrimerConfirmationPageIcon as _,PushPrimerHomePageIcon as p,CrossIcon as x}from"@cleartrip/ct-platform-assets";import{Typography as h}from"@cleartrip/ct-design-typography";import{IntersectionObserverHOC as v}from"@cleartrip/ct-platform-io-hoc";import{ravenSDKTrigger as f,shouldShowPushPrimer as g,handlePushPrimerCTA as b}from"@cleartrip/ct-platform-utils";var y="home",C="confirmation",N="cross",k="enable";var P="index-module_mainContainer__ZNDH-",I="index-module_imageAndTextContainer__5PsLG",T="index-module_textContainer__4hdKa",j="index-module_pushPrimerText__kSve1",B="index-module_pushPrimerButton__OFsl5",w="index-module_homePageIcon__hU1Yc",S="index-module_confirmationPageIcon__YAO-J",A="index-module_crossIcon__1ZRju",J="index-module_ellipseIcon__Jvmjk";!function(e,n){void 0===n&&(n={});var i=n.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".index-module_mainContainer__ZNDH-{border:1px solid #e6e6e6;border-radius:16px;display:flex;height:120px;overflow:hidden;position:relative}.index-module_imageAndTextContainer__5PsLG{display:flex;justify-content:space-between}.index-module_textContainer__4hdKa{align-content:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:16px;margin-left:15px;margin-top:16px}.index-module_pushPrimerText__kSve1{margin-bottom:8px;padding-right:90px}.index-module_pushPrimerButton__OFsl5{height:32px;max-width:167px}.index-module_homePageIcon__hU1Yc{margin-bottom:20px;margin-left:16px;margin-top:20px}.index-module_confirmationPageIcon__YAO-J{position:absolute;right:16px;top:48px}.index-module_crossIcon__1ZRju{height:20px;position:absolute;right:12px;top:12px;width:20px}.index-module_ellipseIcon__Jvmjk{bottom:0;position:absolute;right:0;z-index:-1}");var O=function(O){var Y=O.variant,Z=void 0===Y?"home":Y,E=O.title,D=void 0===E?"Never miss out! Stay updated on best deals":E,F=O.buttonText,G=void 0===F?"Enable Notification":F,H=e(O,["variant","title","buttonText"]),K=a(!1),L=K[0],R=K[1];d((function(){!function(){i(this,void 0,void 0,(function(){var e;return t(this,(function(n){switch(n.label){case 0:return[4,g()];case 1:return e=n.sent(),R(e),[2]}}))}))}()}),[]);var U=function(){var e;R(!1),(null===(e=null==H?void 0:H.onButtonClick)||void 0===e?void 0:e.call(H))&&(null==H||H.onButtonClick()),b(k),f("a_ui_action",n({action_name:"enable_pn_nudge_click",action_type:"click"},null==H?void 0:H.ravenPayload))},z=c((function(){f("a_impression",n({action_name:"enable_pn_nudge_impression"},null==H?void 0:H.ravenPayload))}),[]),q=s((function(){return o(r,{children:[l("div",n({className:j},{children:l(h,n({variant:"B2"},{children:D}))})),l(m,n({onClick:U,loading:!1,variant:"outline",className:B},{children:G}))]})}),[D,G,U]),M=c((function(e){switch(e){case y:return o(r,{children:[l("div",n({className:w},{children:l(p,{})})),l("div",n({className:T},{children:q}))]});case C:return o(r,{children:[l("div",n({className:T},{children:q})),o("div",{children:[l(u,{className:J}),l("div",n({className:S},{children:l(_,{})}))]})]});default:return l(r,{})}}),[q]),Q=s((function(){return M(Z)}),[Z]);return l(r,{children:L&&l(v,n({onIntersection:z},{children:o("div",n({className:P,style:n({},null==H?void 0:H.containerStyles)},{children:[l("div",n({className:I},{children:Q})),l("div",n({className:A,onClick:function(){var e;R(!1),(null===(e=null==H?void 0:H.onCrossClick)||void 0===e?void 0:e.call(H))&&(null==H||H.onCrossClick()),b(N),f("a_ui_action",n({action_name:"enable_pn_nudge_close",action_type:"click"},null==H?void 0:H.ravenPayload))}},{children:l(x,{})}))]}))}))})};export{O as PushPrimer};
1
+ import{__rest as e,__assign as n,__awaiter as i,__generator as t}from"tslib";import{jsxs as o,Fragment as r,jsx as l}from"react/jsx-runtime";import{useState as a,useEffect as d,useCallback as c,useMemo as s}from"react";import{Button as m}from"@cleartrip/ct-design-button";import{EllipseIcon as u,PushPrimerConfirmationPageIcon as _,PushPrimerHomePageIcon as p,CrossIcon as h}from"@cleartrip/ct-platform-assets";import{Typography as x}from"@cleartrip/ct-design-typography";import{IntersectionObserverHOC as v}from"@cleartrip/ct-platform-io-hoc";import{ravenSDKTrigger as f,shouldShowPushPrimer as g,handlePushPrimerCTA as b}from"@cleartrip/ct-platform-utils";var y="home",C="confirmation",N="cross",k="enable";var P="index-module_mainContainer__ZNDH-",I="index-module_imageAndTextContainer__5PsLG",T="index-module_textContainer__4hdKa",j="index-module_pushPrimerText__kSve1",B="index-module_pushPrimerButton__OFsl5",w="index-module_homePageIcon__hU1Yc",S="index-module_confirmationPageIcon__YAO-J",A="index-module_crossIcon__1ZRju",J="index-module_ellipseIcon__Jvmjk";!function(e,n){void 0===n&&(n={});var i=n.insertAt;if("undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".index-module_mainContainer__ZNDH-{border:1px solid #e6e6e6;border-radius:16px;display:flex;height:120px;overflow:hidden;position:relative}.index-module_imageAndTextContainer__5PsLG{display:flex;justify-content:space-between}.index-module_textContainer__4hdKa{align-content:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:16px;margin-left:15px;margin-top:16px}.index-module_pushPrimerText__kSve1{margin-bottom:8px;padding-right:90px}.index-module_pushPrimerButton__OFsl5{height:32px;max-width:167px}.index-module_homePageIcon__hU1Yc{margin-bottom:20px;margin-left:16px;margin-top:20px}.index-module_confirmationPageIcon__YAO-J{position:absolute;right:16px;top:48px}.index-module_crossIcon__1ZRju{height:20px;position:absolute;right:12px;top:12px;width:20px}.index-module_ellipseIcon__Jvmjk{bottom:0;position:absolute;right:0}");var O=function(O){var Y=O.variant,Z=void 0===Y?"home":Y,E=O.title,D=void 0===E?"Never miss out! Stay updated on best deals":E,F=O.buttonText,G=void 0===F?"Enable Notification":F,H=e(O,["variant","title","buttonText"]),K=a(!1),L=K[0],R=K[1];d((function(){!function(){i(this,void 0,void 0,(function(){var e;return t(this,(function(n){switch(n.label){case 0:return[4,g()];case 1:return e=n.sent(),R(e),[2]}}))}))}()}),[]);var U=function(){var e;R(!1),(null===(e=null==H?void 0:H.onButtonClick)||void 0===e?void 0:e.call(H))&&(null==H||H.onButtonClick()),b(k),f("a_ui_action",n({action_name:"enable_pn_nudge_click",action_type:"click"},null==H?void 0:H.ravenPayload))},q=c((function(){f("a_impression",n({action_name:"enable_pn_nudge_impression"},null==H?void 0:H.ravenPayload))}),[]),z=s((function(){return o(r,{children:[l("div",n({className:j},{children:l(x,n({variant:"B2"},{children:D}))})),l(m,n({onClick:U,loading:!1,variant:"outline",className:B},{children:G}))]})}),[D,G,U]),M=c((function(e){switch(e){case y:return o(r,{children:[l("div",n({className:w},{children:l(p,{})})),l("div",n({className:T},{children:z}))]});case C:return o(r,{children:[l("div",n({className:T},{children:z})),o("div",{children:[l(u,{className:J}),l("div",n({className:S},{children:l(_,{})}))]})]});default:return l(r,{})}}),[z]),Q=s((function(){return M(Z)}),[Z]);return l(r,{children:L&&l(v,n({onIntersection:q},{children:o("div",n({className:P,style:n({},null==H?void 0:H.containerStyles)},{children:[l("div",n({className:I},{children:Q})),l("div",n({className:A,onClick:function(){var e;R(!1),(null===(e=null==H?void 0:H.onCrossClick)||void 0===e?void 0:e.call(H))&&(null==H||H.onCrossClick()),b(N),f("a_ui_action",n({action_name:"enable_pn_nudge_close",action_type:"click"},null==H?void 0:H.ravenPayload))}},{children:l(h,{})}))]}))}))})};export{O as PushPrimer};
2
2
  //# sourceMappingURL=ct-platform-push-primer.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ct-platform-push-primer.esm.js","sources":["../packages/components/PushPrimer/src/constants.ts","../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/PushPrimer/src/PushPrimer.tsx"],"sourcesContent":[null,"function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null],"names":["PAGE","CLICK_CTA","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","PushPrimer","_a","_b","variant","_c","title","_d","buttonText","props","__rest","_e","useState","showComponent","setShowComponent","useEffect","shouldShowPushPrimer","showPushPrimerValue","sent","getValueForPushPrimer","handleButtonClick","onButtonClick","call","handlePushPrimerCTA","ravenSDKTrigger","__assign","action_name","action_type","ravenPayload","triggerRavenImpressionEvent","useCallback","commonText","useMemo","_jsxs","_Fragment","children","_jsx","className","styles","Typography","Button","onClick","loading","renderImageAndText","page","PushPrimerHomePageIcon","EllipseIcon","PushPrimerConfirmationPageIcon","pushPrimerImageAndText","IntersectionObserverHOC","onIntersection","containerStyles","onCrossClick","CrossIcon"],"mappings":"kpBAAO,IAAMA,EACH,OADGA,EAEK,eAGLC,EACF,QADEA,EAED,gXCPZ,SAAqBC,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAgC,oBAAbC,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBW,CAqBzD,y2BCHM,IAAAe,EAAwC,SAACC,GAC3C,IAAAC,EAAAD,EAAAE,QAAAA,OAAU,IAAAD,EAAA,SACVE,EAAAH,EAAAI,MAAAA,OAAQ,IAAAD,EAAA,+CACRE,EAAAL,EAAAM,WAAAA,OAAa,IAAAD,EAAA,wBACVE,EAJwCC,EAAAR,EAAA,CAAA,UAAA,QAAA,eAMrCS,EAAoCC,GAAS,GAA5CC,EAAaF,EAAA,GAAEG,EAAgBH,EAAA,GACtCI,GAAU,YACN,oGACgC,M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OX,QAEnB,GACA,CAACL,IAGCiB,EAAyBhB,GAAQ,WACnC,OAAOW,EAAmBvC,EAC9B,GAAG,CAACA,IAEJ,OACIgC,EAAAF,EAAA,CAAAC,SACKtB,GACGuB,EAACa,EAAuBxB,EAAA,CACpByB,eAAgBrB,GAA2B,CAAAM,SAE3CF,EACI,MAAAR,EAAA,CAAAY,UAAWC,EACX9C,MAAKiC,EAAA,CAAA,EAAOhB,aAAK,EAALA,EAAO0C,kBAEnB,CAAAhB,SAAA,CAAAC,EAAA,MAAAX,EAAA,CAAKY,UAAWC,GACX,CAAAH,SAAAa,KAELZ,EACI,MAAAX,EAAA,CAAAY,UAAWC,EACXG,QA9FC,iBACrB3B,GAAiB,IACM,QAAnBZ,EAAAO,eAAAA,EAAO2C,oBAAY,IAAAlD,OAAA,EAAAA,EAAAoB,KAAAb,MACnBA,SAAAA,EAAO2C,gBAEX7B,EAAoBtC,GACpBuC,EAAgB,cAAaC,EAAA,CACzBC,YAAa,wBACbC,YAAa,SACVlB,aAAK,EAALA,EAAOmB,cAElB,GAmFiD,CAAAO,SAEzBC,EAACiB,EAAY,CAAA,cAOzC","x_google_ignoreList":[1]}
1
+ {"version":3,"file":"ct-platform-push-primer.esm.js","sources":["../packages/components/PushPrimer/src/constants.ts","../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/PushPrimer/src/PushPrimer.tsx"],"sourcesContent":[null,"function styleInject(css, ref) {\n if ( ref === void 0 ) ref = {};\n var insertAt = ref.insertAt;\n\n if (!css || typeof document === 'undefined') { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.type = 'text/css';\n\n if (insertAt === 'top') {\n if (head.firstChild) {\n head.insertBefore(style, head.firstChild);\n } else {\n head.appendChild(style);\n }\n } else {\n head.appendChild(style);\n }\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n}\n\nexport default styleInject;\n",null],"names":["PAGE","CLICK_CTA","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","PushPrimer","_a","_b","variant","_c","title","_d","buttonText","props","__rest","_e","useState","showComponent","setShowComponent","useEffect","shouldShowPushPrimer","showPushPrimerValue","sent","getValueForPushPrimer","handleButtonClick","onButtonClick","call","handlePushPrimerCTA","ravenSDKTrigger","__assign","action_name","action_type","ravenPayload","triggerRavenImpressionEvent","useCallback","commonText","useMemo","_jsxs","_Fragment","children","_jsx","className","styles","Typography","Button","onClick","loading","renderImageAndText","page","PushPrimerHomePageIcon","EllipseIcon","PushPrimerConfirmationPageIcon","pushPrimerImageAndText","IntersectionObserverHOC","onIntersection","containerStyles","onCrossClick","CrossIcon"],"mappings":"kpBAAO,IAAMA,EACH,OADGA,EAEK,eAGLC,EACF,QADEA,EAED,gXCPZ,SAAqBC,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAgC,oBAAbC,SAAnB,CAEA,IAAIC,EAAOD,SAASC,MAAQD,SAASE,qBAAqB,QAAQ,GAC9DC,EAAQH,SAASI,cAAc,SACnCD,EAAME,KAAO,WAEI,QAAbN,GACEE,EAAKK,WACPL,EAAKM,aAAaJ,EAAOF,EAAKK,YAKhCL,EAAKO,YAAYL,GAGfA,EAAMM,WACRN,EAAMM,WAAWC,QAAUb,EAE3BM,EAAMK,YAAYR,SAASW,eAAed,GAnBW,CAqBzD,81BCHM,IAAAe,EAAwC,SAACC,GAC3C,IAAAC,EAAAD,EAAAE,QAAAA,OAAU,IAAAD,EAAA,SACVE,EAAAH,EAAAI,MAAAA,OAAQ,IAAAD,EAAA,+CACRE,EAAAL,EAAAM,WAAAA,OAAa,IAAAD,EAAA,wBACVE,EAJwCC,EAAAR,EAAA,CAAA,UAAA,QAAA,eAMrCS,EAAoCC,GAAS,GAA5CC,EAAaF,EAAA,GAAEG,EAAgBH,E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W,EAA8B,CAAA,YAKnD,QACI,OAAOX,QAEnB,GACA,CAACL,IAGCiB,EAAyBhB,GAAQ,WACnC,OAAOW,EAAmBvC,EAC9B,GAAG,CAACA,IAEJ,OACIgC,EAAAF,EAAA,CAAAC,SACKtB,GACGuB,EAACa,EAAuBxB,EAAA,CACpByB,eAAgBrB,GAA2B,CAAAM,SAE3CF,EACI,MAAAR,EAAA,CAAAY,UAAWC,EACX9C,MAAKiC,EAAA,CAAA,EAAOhB,aAAK,EAALA,EAAO0C,kBAEnB,CAAAhB,SAAA,CAAAC,EAAA,MAAAX,EAAA,CAAKY,UAAWC,GACX,CAAAH,SAAAa,KAELZ,EACI,MAAAX,EAAA,CAAAY,UAAWC,EACXG,QA9FC,iBACrB3B,GAAiB,IACM,QAAnBZ,EAAAO,eAAAA,EAAO2C,oBAAY,IAAAlD,OAAA,EAAAA,EAAAoB,KAAAb,MACnBA,SAAAA,EAAO2C,gBAEX7B,EAAoBtC,GACpBuC,EAAgB,cAAaC,EAAA,CACzBC,YAAa,wBACbC,YAAa,SACVlB,aAAK,EAALA,EAAOmB,cAElB,GAmFiD,CAAAO,SAEzBC,EAACiB,EAAY,CAAA,cAOzC","x_google_ignoreList":[1]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleartrip/ct-platform-push-primer",
3
- "version": "3.2.1-beta.3",
3
+ "version": "3.2.1-beta.5",
4
4
  "description": "Push Primer Component",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/ct-platform-push-primer.cjs.js",
@@ -13,10 +13,10 @@
13
13
  "classnames": "^2.5.1",
14
14
  "@cleartrip/ct-design-button": "2.6.0",
15
15
  "@cleartrip/ct-design-typography": "2.6.0",
16
- "@cleartrip/ct-platform-assets": "3.4.1-beta.3",
17
- "@cleartrip/ct-platform-utils": "3.18.1-beta.2",
18
- "@cleartrip/ct-platform-types": "3.5.1-beta.3",
19
- "@cleartrip/ct-platform-io-hoc": "3.0.3-beta.13"
16
+ "@cleartrip/ct-platform-assets": "3.4.1-beta.5",
17
+ "@cleartrip/ct-platform-utils": "3.18.1-beta.4",
18
+ "@cleartrip/ct-platform-io-hoc": "3.0.3-beta.15",
19
+ "@cleartrip/ct-platform-types": "3.5.1-beta.5"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "react": ">=16.8.0",