@cleartrip/ct-platform-supercoins-bottom-sheet 1.0.1-beta.9 → 1.0.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/dist/SupercoinsBottomSheet.d.ts.map +1 -1
- package/dist/SupercoinsBottomSheet.types.d.ts.map +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/ct-platform-supercoins-bottom-sheet.cjs.js +1 -1
- package/dist/ct-platform-supercoins-bottom-sheet.cjs.js.map +1 -1
- package/dist/ct-platform-supercoins-bottom-sheet.esm.js +1 -1
- package/dist/ct-platform-supercoins-bottom-sheet.esm.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupercoinsBottomSheet.d.ts","sourceRoot":"","sources":["../packages/components/
|
|
1
|
+
{"version":3,"file":"SupercoinsBottomSheet.d.ts","sourceRoot":"","sources":["../packages/components/SupercoinsBottomSheet/src/SupercoinsBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAwBpE,OAAO,EAGH,0BAA0B,EAC7B,MAAM,+BAA+B,CAAC;AAEvC,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CA6P/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupercoinsBottomSheet.types.d.ts","sourceRoot":"","sources":["../packages/components/
|
|
1
|
+
{"version":3,"file":"SupercoinsBottomSheet.types.d.ts","sourceRoot":"","sources":["../packages/components/SupercoinsBottomSheet/src/SupercoinsBottomSheet.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACvC,iBAAiB,EAAE,OAAO,CAAC;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,oBAAoB,EAAE,MAAM,GAAG,MAAM,CAAC;IACtC,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,kBAAkB,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAC9C,cAAc,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACtC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrD;AAED,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,sBAAsB;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kBAAkB,EAAE,kBAAkB,EAAE,CAAC;CAC5C"}
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../packages/components/
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../packages/components/SupercoinsBottomSheet/src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,kBAAkB,EAClB,sBAAsB,EACzB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,kBAAkB,2BAA2B,CAAC;AAC3D,eAAO,MAAM,qBAAqB,0BAAqB,CAAC;AACxD,eAAO,MAAM,wBAAwB,wBAAwB,CAAC;AAC9D,eAAO,MAAM,oBAAoB,eAAe,CAAC;AACjD,eAAO,MAAM,qBAAqB,oDACmB,CAAC;AAEtD,eAAO,MAAM,qBAAqB,uHACsF,CAAC;AACzH,eAAO,MAAM,eAAe,kHACuF,CAAC;AACpH,eAAO,MAAM,cAAc,wHAC8F,CAAC;AAE1H,eAAO,MAAM,wBAAwB,EAAE,sBAAsB,EA+B5D,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,kBAAkB,EAMpD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),o=require("@cleartrip/ct-design-typography"),t=require("@cleartrip/ct-platform-drawer"),a=require("@cleartrip/ct-platform-utils"),r=[{heading:"Flights",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsFlights.png",text:"Get ₹150 extra off",subtext:"On this booking"},{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCashNote.png",text:"Earn ₹100 cashback",subtext:"As SuperCoins after every booking"}]},{heading:"Hotels",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsHotels.png",text:"Get ₹150 extra off",subtext:"On this booking"},{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCashNote.png",text:"Earn ₹100 cashback",subtext:"As SuperCoins after every booking"}]}],s=[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCoupon.png",text:"Get extra discounts",subtext:"Using SuperCoins on your next trip"}];var d="index-module_supercoinsContainer__EvNaU",l="index-module_supercoinsBgPattern__VSbAI",
|
|
1
|
+
"use strict";var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),o=require("@cleartrip/ct-design-typography"),t=require("@cleartrip/ct-platform-drawer"),a=require("@cleartrip/ct-platform-utils"),r=[{heading:"Flights",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsFlights.png",text:"Get ₹150 extra off",subtext:"On this booking"},{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCashNote.png",text:"Earn ₹100 cashback",subtext:"As SuperCoins after every booking"}]},{heading:"Hotels",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsHotels.png",text:"Get ₹150 extra off",subtext:"On this booking"},{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCashNote.png",text:"Earn ₹100 cashback",subtext:"As SuperCoins after every booking"}]}],s=[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCoupon.png",text:"Get extra discounts",subtext:"Using SuperCoins on your next trip"}];var d="index-module_supercoinsContainer__EvNaU",l="index-module_supercoinsBgPattern__VSbAI",p="index-module_supercoinsContent__Oi0Xv",c="index-module_supercoinsInfo__b3GpL",_="index-module_supercoinsValue__tXaV6",u="index-module_supercoinsExpiry__1kMrX",m="index-module_supercoinsBenefitsOuterContainer__1K9QA",g="index-module_supercoinsBenefitsInnerContainer__glJQ0",x="index-module_supercoinsBenefits__Zv4jI",f="index-module_supercoinsBenefitsItem__9jW-G",h="index-module_supercoinsHorizontalLine__M-bag",y="index-module_fadeInUpAnimation_content__GTfqH",v="index-module_fadeInUpAnimation_footer__QXM34";!function(e,n){void 0===n&&(n={});var i=n.insertAt;if("undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css","top"===i&&o.firstChild?o.insertBefore(t,o.firstChild):o.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}}('.index-module_supercoinsContainer__EvNaU{background:#fff;border-radius:1rem 1rem 0 0;display:flex;flex-direction:column;overflow-y:scroll;position:relative}.index-module_supercoinsBgPattern__VSbAI{border-radius:1rem 1rem 0 0;height:233px;position:absolute;width:100%;z-index:0}.index-module_supercoinsContent__Oi0Xv{display:flex;flex-direction:column;padding:32px 16px 0;position:relative}.index-module_supercoinsInfo__b3GpL{align-items:center;display:flex;flex-direction:row;gap:8px;margin-bottom:16px}.index-module_supercoinsValue__tXaV6{align-items:center;background:#002560;border-radius:8px;display:flex;justify-content:center;margin-bottom:12px;overflow:hidden;padding:6px 12px;position:relative}.index-module_supercoinsValue__tXaV6:before{animation:index-module_shimmer__SAN3n 2.4s ease-in infinite;background:hsla(0,0%,100%,.08);content:"";height:200%;left:-30%;position:absolute;transform:rotate(150deg);width:24px}@keyframes index-module_shimmer__SAN3n{0%{left:-30%}to{left:120%}}.index-module_supercoinsExpiry__1kMrX{align-items:center;display:flex;flex-direction:row;gap:6px}.index-module_supercoinsBenefitsOuterContainer__1K9QA{background:#ecf8f4;border:.5px solid #e6e6e6;border-radius:16px;box-shadow:0 4px 16px 0 rgba(26,26,26,.08);display:flex;flex-direction:column;height:401px;margin-top:32px;width:100%}.index-module_supercoinsBenefitsInnerContainer__glJQ0{background:#fff;border-radius:15px 15px 16px 16px;display:flex;flex-direction:column;gap:16px;margin:0 .5px;width:calc(100% - 1px)}.index-module_supercoinsBenefits__Zv4jI{display:flex;flex-direction:column;gap:16px}.index-module_supercoinsBenefitsItem__9jW-G{align-items:center;display:flex;flex-direction:row;gap:12px}.index-module_supercoinsHorizontalLine__M-bag{border:none;border-top:1px dotted #e6e6e6;margin:16px 0}@keyframes index-module_fadeInUp__-dPYt{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.index-module_fadeInUpAnimation_content__GTfqH>*{animation:index-module_fadeInUp__-dPYt .25s ease-in forwards;opacity:0}.index-module_fadeInUpAnimation_content__GTfqH>:first-child{animation-delay:0ms}.index-module_fadeInUpAnimation_content__GTfqH>:nth-child(2){animation-delay:.25s}.index-module_fadeInUpAnimation_content__GTfqH>:nth-child(3){animation-delay:.5s}.index-module_fadeInUpAnimation_content__GTfqH>:nth-child(4){animation-delay:.75s}.index-module_fadeInUpAnimation_content__GTfqH>:nth-child(5){animation-delay:1s}.index-module_fadeInUpAnimation_footer__QXM34>*{animation:index-module_fadeInUp__-dPYt .25s ease-in forwards;opacity:0}.index-module_fadeInUpAnimation_footer__QXM34>:first-child{animation-delay:1.25s}.index-module_fadeInUpAnimation_footer__QXM34>:nth-child(2){animation-delay:1.5s}');exports.SupercoinsBottomSheet=function(b){var j=b.isBottomSheetOpen,C=b.closeOnOutsideClick,k=void 0!==C&&C,T=b.supercoinBurnBalance,I=b.supercoinsExpiringCount,B=b.supercoinsExpiringInDays,w=b.supercoinsBenefits,q=void 0===w?r:w,N=b.commonBenefits,A=void 0===N?s:N,H=b.onCloseButtonClick,S=b.ravenPayload,U=i.useMemo((function(){var e;return null!==(e=a.getQueryParam("utm_source"))&&void 0!==e?e:"organic"}),[]),V=i.useCallback((function(n){null==n||n.stopPropagation(),H&&"function"==typeof H&&H(),a.ravenSDKTrigger("u_ui_action",e.__assign({action_name:"supercoin_bottom_sheet_dismiss_click",page_name:"unified_homepage",supercoin_balance:T,u_utm_source:U},S))}),[]),G=i.useCallback((function(){a.ravenSDKTrigger("u_ui_action",e.__assign({action_name:"supercoin_bottom_sheet_read_guide_click",page_name:"unified_homepage",supercoin_balance:T,u_utm_source:U},S)),window.location.href="https://www.cleartrip.com/all-offers/supercoins"}),[]),M=i.useCallback((function(i,t){return n.jsxs("div",e.__assign({className:f},{children:[n.jsx("img",{src:null==i?void 0:i.icon,alt:"benefits_icon",width:32,height:32}),n.jsxs("div",{children:[n.jsx(o.Typography,e.__assign({variant:o.TypographyVariant.HM4},{children:null==i?void 0:i.text})),n.jsx(o.Typography,e.__assign({color:"subheading",variant:o.TypographyVariant.P2},{children:null==i?void 0:i.subtext}))]})]}),t)}),[]),O=i.useCallback((function(){return n.jsx("div",e.__assign({style:{padding:"16px"}},{children:null==q?void 0:q.map((function(i,t){var a;return n.jsxs("div",{children:[(null==i?void 0:i.heading)&&n.jsx(o.Typography,e.__assign({variant:o.TypographyVariant.HM2,style:{lineHeight:"24px",paddingBottom:"16px"}},{children:null==i?void 0:i.heading})),n.jsx("div",e.__assign({className:x},{children:null===(a=null==i?void 0:i.supercoinsBenefits)||void 0===a?void 0:a.map((function(e,n){return M(e,n)}))})),t<(null==q?void 0:q.length)-1&&n.jsx("hr",{className:h})]},t)}))}))}),[]);return n.jsx(t.Drawer,e.__assign({overlay:!0,showClose:!0,direction:"bottom",isOpen:j,closeOnOutsideClick:k,onClose:function(){},handleClose:V},{children:n.jsxs("div",e.__assign({className:d},{children:[n.jsx("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsBgPattern.png",alt:"supercoins_pattern",className:l}),n.jsxs("div",e.__assign({className:p},{children:[n.jsxs("div",e.__assign({className:y,style:{display:"flex",flexDirection:"column",alignItems:"center"}},{children:[n.jsx(o.Typography,e.__assign({colorCode:"rgba(255, 255, 255, 0.75)",variant:o.TypographyVariant.P3,style:{marginBottom:"8px"}},{children:"Your SuperCoin balance"})),n.jsxs("div",e.__assign({className:c},{children:[n.jsx("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsLogo.png",alt:"supercoins_logo",width:32,height:32}),n.jsx(o.Typography,e.__assign({color:"neutral",variant:o.TypographyVariant.HD2,style:{lineHeight:"32px",letterSpacing:"-0.75px"}},{children:parseInt(T).toLocaleString()}))]})),n.jsx("div",e.__assign({className:_},{children:n.jsx(o.Typography,e.__assign({color:"neutral",variant:o.TypographyVariant.HM4,style:{lineHeight:"16px",letterSpacing:"0.4px",textTransform:"uppercase"}},{children:"1 SUPERCOIN = ₹1"}))})),I&&B&&n.jsxs("div",e.__assign({className:u},{children:[n.jsx("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoins_hourglass.png",alt:"hourglass_icon",width:16,height:16}),n.jsx(o.Typography,e.__assign({color:"neutral",variant:o.TypographyVariant.B3},{children:"".concat(I," SuperCoins expiring on ").concat(a.getFutureDateFromDays(B))}))]})),n.jsxs("div",e.__assign({className:m},{children:[n.jsx("div",e.__assign({className:g},{children:O()})),null==A?void 0:A.map((function(i,o){return n.jsx("div",e.__assign({style:{padding:"12px 16px"}},{children:M(i,o)}),o)}))]}))]})),n.jsxs("div",e.__assign({className:v,style:{paddingTop:"20px",paddingBottom:"32px"}},{children:[n.jsx(o.Typography,e.__assign({variant:o.TypographyVariant.HM3,style:{lineHeight:"22px"}},{children:"Got more questions?"})),n.jsx(o.Typography,e.__assign({color:"link",variant:o.TypographyVariant.L2,isClickable:!0,onClick:G},{children:"Read guide"}))]}))]}))]}))}))};
|
|
2
2
|
//# sourceMappingURL=ct-platform-supercoins-bottom-sheet.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-supercoins-bottom-sheet.cjs.js","sources":["../packages/components/
|
|
1
|
+
{"version":3,"file":"ct-platform-supercoins-bottom-sheet.cjs.js","sources":["../packages/components/SupercoinsBottomSheet/src/constants.ts","../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/SupercoinsBottomSheet/src/SupercoinsBottomSheet.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":["SUPERCOINS_BENEFITS_DATA","heading","supercoinsBenefits","icon","text","subtext","COMMON_BENEFITS_DATA","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","_a","isBottomSheetOpen","_b","closeOnOutsideClick","supercoinBurnBalance","supercoinsExpiringCount","supercoinsExpiringInDays","_c","_d","commonBenefits","onCloseButtonClick","ravenPayload","utmSource","useMemo","getQueryParam","handleCloseButtonClick","useCallback","evt","stopPropagation","ravenSDKTrigger","__assign","action_name","page_name","supercoin_balance","u_utm_source","handleSupercoinsGuideClick","window","location","href","renderSupercoinsBenefitsItem","item","idx","_jsxs","className","styles","children","_jsx","src","alt","width","height","Typography","variant","TypographyVariant","HM4","color","P2","renderSupercoinsBenefitsSection","padding","map","index","jsx","HM2","lineHeight","paddingBottom","benefit","length","Drawer","overlay","showClose","direction","isOpen","onClose","handleClose","jsxs","display","flexDirection","alignItems","colorCode","P3","marginBottom","HD2","letterSpacing","parseInt","toLocaleString","textTransform","B3","concat","getFutureDateFromDays","paddingTop","HM3","L2","isClickable","onClick"],"mappings":"wNAmBaA,EAAqD,CAC9D,CACIC,QAAS,UACTC,mBAAoB,CAChB,CACIC,KAAM,mHACNC,KAAM,qBACNC,QAAS,mBAEb,CACIF,KAAM,oHACNC,KAAM,qBACNC,QAAS,uCAIrB,CACIJ,QAAS,SACTC,mBAAoB,CAChB,CACIC,KAAM,kHACNC,KAAM,qBACNC,QAAS,mBAEb,CACIF,KAAM,oHACNC,KAAM,qBACNC,QAAS,wCAMZC,EAA6C,CACtD,CACIH,KAAM,kHACNC,KAAM,sBACNC,QAAS,soBCxDjB,SAAqBE,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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O,CAAEyD,QAAS,cAGjB,CAAAb,SAAAN,EACGC,EACAC,KAJCA,EAOZ,YAKbC,OACI,MAAAZ,EAAAA,SAAA,CAAAa,UAAWC,EACX3C,MAAO,CAAEwF,WAAY,OAAQzB,cAAe,SAAQ,CAAAnB,SAAA,CAEpDC,MAACK,EAAUA,WAAArB,EAAAA,SAAA,CACPsB,QAASC,EAAiBA,kBAACqC,IAC3BzF,MAAO,CAAE8D,WAAY,SAAQ,CAAAlB,SFnQjB,yBEuQhBC,EAAAA,IAACK,EAAAA,WAAUrB,EAAAA,SAAA,CACPyB,MAAM,OACNH,QAASC,EAAiBA,kBAACsC,GAC3BC,aAAa,EACbC,QAAS1D,GAA0B,CAAAU,SF1Q3B,8BEmRpC","x_google_ignoreList":[1]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsxs as n,jsx as i}from"react/jsx-runtime";import{useMemo as o,useCallback as t}from"react";import{Typography as r,TypographyVariant as a}from"@cleartrip/ct-design-typography";import{Drawer as s}from"@cleartrip/ct-platform-drawer";import{getQueryParam as d,ravenSDKTrigger as l,getFutureDateFromDays as c}from"@cleartrip/ct-platform-utils";var p=[{heading:"Flights",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsFlights.png",text:"Get ₹150 extra off",subtext:"On this booking"},{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCashNote.png",text:"Earn ₹100 cashback",subtext:"As SuperCoins after every booking"}]},{heading:"Hotels",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsHotels.png",text:"Get ₹150 extra off",subtext:"On this booking"},{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCashNote.png",text:"Earn ₹100 cashback",subtext:"As SuperCoins after every booking"}]}],m=[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCoupon.png",text:"Get extra discounts",subtext:"Using SuperCoins on your next trip"}];var u="index-module_supercoinsContainer__EvNaU",_="index-module_supercoinsBgPattern__VSbAI",f="index-module_supercoinsContent__Oi0Xv",x="index-module_supercoinsInfo__b3GpL",g="index-module_supercoinsValue__tXaV6",h="index-module_supercoinsExpiry__1kMrX",v="index-module_supercoinsBenefitsOuterContainer__1K9QA",b="index-module_supercoinsBenefitsInnerContainer__glJQ0",y="index-module_supercoinsBenefits__Zv4jI",C="index-module_supercoinsBenefitsItem__9jW-G",k="index-module_supercoinsHorizontalLine__M-bag",I="index-module_fadeInUpAnimation_content__GTfqH",B="index-module_fadeInUpAnimation_footer__QXM34";!function(e,n){void 0===n&&(n={});var i=n.insertAt;if("undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css","top"===i&&o.firstChild?o.insertBefore(t,o.firstChild):o.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}}('.index-module_supercoinsContainer__EvNaU{background:#fff;border-radius:1rem 1rem 0 0;display:flex;flex-direction:column;
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as n,jsx as i}from"react/jsx-runtime";import{useMemo as o,useCallback as t}from"react";import{Typography as r,TypographyVariant as a}from"@cleartrip/ct-design-typography";import{Drawer as s}from"@cleartrip/ct-platform-drawer";import{getQueryParam as d,ravenSDKTrigger as l,getFutureDateFromDays as c}from"@cleartrip/ct-platform-utils";var p=[{heading:"Flights",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsFlights.png",text:"Get ₹150 extra off",subtext:"On this booking"},{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCashNote.png",text:"Earn ₹100 cashback",subtext:"As SuperCoins after every booking"}]},{heading:"Hotels",supercoinsBenefits:[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsHotels.png",text:"Get ₹150 extra off",subtext:"On this booking"},{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCashNote.png",text:"Earn ₹100 cashback",subtext:"As SuperCoins after every booking"}]}],m=[{icon:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsCoupon.png",text:"Get extra discounts",subtext:"Using SuperCoins on your next trip"}];var u="index-module_supercoinsContainer__EvNaU",_="index-module_supercoinsBgPattern__VSbAI",f="index-module_supercoinsContent__Oi0Xv",x="index-module_supercoinsInfo__b3GpL",g="index-module_supercoinsValue__tXaV6",h="index-module_supercoinsExpiry__1kMrX",v="index-module_supercoinsBenefitsOuterContainer__1K9QA",b="index-module_supercoinsBenefitsInnerContainer__glJQ0",y="index-module_supercoinsBenefits__Zv4jI",C="index-module_supercoinsBenefitsItem__9jW-G",k="index-module_supercoinsHorizontalLine__M-bag",I="index-module_fadeInUpAnimation_content__GTfqH",B="index-module_fadeInUpAnimation_footer__QXM34";!function(e,n){void 0===n&&(n={});var i=n.insertAt;if("undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css","top"===i&&o.firstChild?o.insertBefore(t,o.firstChild):o.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}}('.index-module_supercoinsContainer__EvNaU{background:#fff;border-radius:1rem 1rem 0 0;display:flex;flex-direction:column;overflow-y:scroll;position:relative}.index-module_supercoinsBgPattern__VSbAI{border-radius:1rem 1rem 0 0;height:233px;position:absolute;width:100%;z-index:0}.index-module_supercoinsContent__Oi0Xv{display:flex;flex-direction:column;padding:32px 16px 0;position:relative}.index-module_supercoinsInfo__b3GpL{align-items:center;display:flex;flex-direction:row;gap:8px;margin-bottom:16px}.index-module_supercoinsValue__tXaV6{align-items:center;background:#002560;border-radius:8px;display:flex;justify-content:center;margin-bottom:12px;overflow:hidden;padding:6px 12px;position:relative}.index-module_supercoinsValue__tXaV6:before{animation:index-module_shimmer__SAN3n 2.4s ease-in infinite;background:hsla(0,0%,100%,.08);content:"";height:200%;left:-30%;position:absolute;transform:rotate(150deg);width:24px}@keyframes index-module_shimmer__SAN3n{0%{left:-30%}to{left:120%}}.index-module_supercoinsExpiry__1kMrX{align-items:center;display:flex;flex-direction:row;gap:6px}.index-module_supercoinsBenefitsOuterContainer__1K9QA{background:#ecf8f4;border:.5px solid #e6e6e6;border-radius:16px;box-shadow:0 4px 16px 0 rgba(26,26,26,.08);display:flex;flex-direction:column;height:401px;margin-top:32px;width:100%}.index-module_supercoinsBenefitsInnerContainer__glJQ0{background:#fff;border-radius:15px 15px 16px 16px;display:flex;flex-direction:column;gap:16px;margin:0 .5px;width:calc(100% - 1px)}.index-module_supercoinsBenefits__Zv4jI{display:flex;flex-direction:column;gap:16px}.index-module_supercoinsBenefitsItem__9jW-G{align-items:center;display:flex;flex-direction:row;gap:12px}.index-module_supercoinsHorizontalLine__M-bag{border:none;border-top:1px dotted #e6e6e6;margin:16px 0}@keyframes index-module_fadeInUp__-dPYt{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.index-module_fadeInUpAnimation_content__GTfqH>*{animation:index-module_fadeInUp__-dPYt .25s ease-in forwards;opacity:0}.index-module_fadeInUpAnimation_content__GTfqH>:first-child{animation-delay:0ms}.index-module_fadeInUpAnimation_content__GTfqH>:nth-child(2){animation-delay:.25s}.index-module_fadeInUpAnimation_content__GTfqH>:nth-child(3){animation-delay:.5s}.index-module_fadeInUpAnimation_content__GTfqH>:nth-child(4){animation-delay:.75s}.index-module_fadeInUpAnimation_content__GTfqH>:nth-child(5){animation-delay:1s}.index-module_fadeInUpAnimation_footer__QXM34>*{animation:index-module_fadeInUp__-dPYt .25s ease-in forwards;opacity:0}.index-module_fadeInUpAnimation_footer__QXM34>:first-child{animation-delay:1.25s}.index-module_fadeInUpAnimation_footer__QXM34>:nth-child(2){animation-delay:1.5s}');var w=function(w){var N=w.isBottomSheetOpen,A=w.closeOnOutsideClick,H=void 0!==A&&A,U=w.supercoinBurnBalance,q=w.supercoinsExpiringCount,S=w.supercoinsExpiringInDays,G=w.supercoinsBenefits,O=void 0===G?p:G,M=w.commonBenefits,T=void 0===M?m:M,E=w.onCloseButtonClick,P=w.ravenPayload,X=o((function(){var e;return null!==(e=d("utm_source"))&&void 0!==e?e:"organic"}),[]),Q=t((function(n){null==n||n.stopPropagation(),E&&"function"==typeof E&&E(),l("u_ui_action",e({action_name:"supercoin_bottom_sheet_dismiss_click",page_name:"unified_homepage",supercoin_balance:U,u_utm_source:X},P))}),[]),V=t((function(){l("u_ui_action",e({action_name:"supercoin_bottom_sheet_read_guide_click",page_name:"unified_homepage",supercoin_balance:U,u_utm_source:X},P)),window.location.href="https://www.cleartrip.com/all-offers/supercoins"}),[]),L=t((function(o,t){return n("div",e({className:C},{children:[i("img",{src:null==o?void 0:o.icon,alt:"benefits_icon",width:32,height:32}),n("div",{children:[i(r,e({variant:a.HM4},{children:null==o?void 0:o.text})),i(r,e({color:"subheading",variant:a.P2},{children:null==o?void 0:o.subtext}))]})]}),t)}),[]),j=t((function(){return i("div",e({style:{padding:"16px"}},{children:null==O?void 0:O.map((function(o,t){var s;return n("div",{children:[(null==o?void 0:o.heading)&&i(r,e({variant:a.HM2,style:{lineHeight:"24px",paddingBottom:"16px"}},{children:null==o?void 0:o.heading})),i("div",e({className:y},{children:null===(s=null==o?void 0:o.supercoinsBenefits)||void 0===s?void 0:s.map((function(e,n){return L(e,n)}))})),t<(null==O?void 0:O.length)-1&&i("hr",{className:k})]},t)}))}))}),[]);return i(s,e({overlay:!0,showClose:!0,direction:"bottom",isOpen:N,closeOnOutsideClick:H,onClose:function(){},handleClose:Q},{children:n("div",e({className:u},{children:[i("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsBgPattern.png",alt:"supercoins_pattern",className:_}),n("div",e({className:f},{children:[n("div",e({className:I,style:{display:"flex",flexDirection:"column",alignItems:"center"}},{children:[i(r,e({colorCode:"rgba(255, 255, 255, 0.75)",variant:a.P3,style:{marginBottom:"8px"}},{children:"Your SuperCoin balance"})),n("div",e({className:x},{children:[i("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoinsLogo.png",alt:"supercoins_logo",width:32,height:32}),i(r,e({color:"neutral",variant:a.HD2,style:{lineHeight:"32px",letterSpacing:"-0.75px"}},{children:parseInt(U).toLocaleString()}))]})),i("div",e({className:g},{children:i(r,e({color:"neutral",variant:a.HM4,style:{lineHeight:"16px",letterSpacing:"0.4px",textTransform:"uppercase"}},{children:"1 SUPERCOIN = ₹1"}))})),q&&S&&n("div",e({className:h},{children:[i("img",{src:"https://rukmini-ct.flixcart.com/f_auto,q_auto,dpr_2/offermgmt-prod/offermgmt/images/banner/supercoins_hourglass.png",alt:"hourglass_icon",width:16,height:16}),i(r,e({color:"neutral",variant:a.B3},{children:"".concat(q," SuperCoins expiring on ").concat(c(S))}))]})),n("div",e({className:v},{children:[i("div",e({className:b},{children:j()})),null==T?void 0:T.map((function(n,o){return i("div",e({style:{padding:"12px 16px"}},{children:L(n,o)}),o)}))]}))]})),n("div",e({className:B,style:{paddingTop:"20px",paddingBottom:"32px"}},{children:[i(r,e({variant:a.HM3,style:{lineHeight:"22px"}},{children:"Got more questions?"})),i(r,e({color:"link",variant:a.L2,isClickable:!0,onClick:V},{children:"Read guide"}))]}))]}))]}))}))};export{w as SupercoinsBottomSheet};
|
|
2
2
|
//# sourceMappingURL=ct-platform-supercoins-bottom-sheet.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-supercoins-bottom-sheet.esm.js","sources":["../packages/components/
|
|
1
|
+
{"version":3,"file":"ct-platform-supercoins-bottom-sheet.esm.js","sources":["../packages/components/SupercoinsBottomSheet/src/constants.ts","../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/SupercoinsBottomSheet/src/SupercoinsBottomSheet.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":["SUPERCOINS_BENEFITS_DATA","heading","supercoinsBenefits","icon","text","subtext","COMMON_BENEFITS_DATA","css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","SupercoinsBottomSheet","_a","isBottomSheetOpen","_b","closeOnOutsideClick","supercoinBurnBalance","supercoinsExpiringCount","supercoinsExpiringInDays","_c","_d","commonBenefits","onCloseButtonClick","ravenPayload","utmSource","useMemo","getQueryParam","handleCloseButtonClick","useCallback","evt","stopPropagation","ravenSDKTrigger","__assign","action_name","page_name","supercoin_balance","u_utm_source","handleSupercoinsGuideClick","window","location","href","renderSupercoinsBenefitsItem","item","idx","_jsxs","className","styles","children","_jsx","src","alt","width","height","Typography","variant","TypographyVariant","HM4","color","P2","renderSupercoinsBenefitsSection","padding","map","index","HM2","lineHeight","paddingBottom","benefit","length","Drawer","overlay","showClose","direction","isOpen","onClose","handleClose","display","flexDirection","alignItems","colorCode","P3","marginBottom","HD2","letterSpacing","parseInt","toLocaleString","textTransform","B3","concat","getFutureDateFromDays","paddingTop","HM3","L2","isClickable","onClick"],"mappings":"4XAKO,IAcMA,EAAqD,CAC9D,CACIC,QAAS,UACTC,mBAAoB,CAChB,CACIC,KAAM,mHACNC,KAAM,qBACNC,QAAS,mBAEb,CACIF,KAAM,oHACNC,KAAM,qBACNC,QAAS,uCAIrB,CACIJ,QAAS,SACTC,mBAAoB,CAChB,CACIC,KAAM,kHACNC,KAAM,qBACNC,QAAS,mBAEb,CACIF,KAAM,oHACNC,KAAM,qBACNC,QAAS,wCAMZC,EAA6C,CACtD,CACIH,KAAM,kHACNC,KAAM,sBACNC,QAAS,soBCxDjB,SAAqBE,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,uqFCKM,IAAAe,EAA8D,SAACC,GACjE,IAAAC,sBACAC,EAAAF,EAAAG,oBAAAA,cAA2BD,EAC3BE,yBACAC,EAAuBL,EAAAK,wBACvBC,EAAwBN,EAAAM,yBACxBC,EAA6CP,EAAArB,mBAA7CA,OAAqB,IAAA4B,EAAA9B,EAAwB8B,EAC7CC,mBAAAC,OAAiB,IAAAD,EAAAzB,IACjB2B,EAAkBV,EAAAU,mBAClBC,EAAYX,EAAAW,aAENC,EAAYC,GACd,WAAM,IAAAb,EAAA,iBAAAc,EAAc,6BAAiB,SAAS,GAC9C,IAGEC,EAAyBC,GAAY,SAACC,GACxCA,SAAAA,EAAKC,kBACDR,GAA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AyB,MAAO,UACPH,QAASC,EAAkB+B,IAAE,CAAAvC,SAE5B,UAAG9B,EAAuB,4BAAAsE,OAA2BC,EAAsBtE,WAK5F0B,EACI,MAAAZ,EAAA,CAAAa,UACIC,GAA0C,CAAAC,SAAA,CAG9CC,WACIH,UACIC,GAA0C,CAAAC,SAG7CY,OAEJtC,aAAA,EAAAA,EAAgBwC,KACb,SAACnB,EAA0BC,GAAgB,OACvCK,EACI,MAAAhB,EAAA,CAAA9B,MAAO,CAAE0D,QAAS,cAGjB,CAAAb,SAAAN,EACGC,EACAC,KAJCA,EAOZ,YAKbC,EACI,MAAAZ,EAAA,CAAAa,UAAWC,EACX5C,MAAO,CAAEuF,WAAY,OAAQxB,cAAe,SAAQ,CAAAlB,SAAA,CAEpDC,EAACK,EAAUrB,EAAA,CACPsB,QAASC,EAAkBmC,IAC3BxF,MAAO,CAAE8D,WAAY,SAAQ,CAAAjB,SFnQjB,yBEuQhBC,EAACK,EAAUrB,EAAA,CACPyB,MAAM,OACNH,QAASC,EAAkBoC,GAC3BC,aAAa,EACbC,QAASxD,GAA0B,CAAAU,SF1Q3B,8BEmRpC","x_google_ignoreList":[1]}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../packages/components/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../packages/components/SupercoinsBottomSheet/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,cAAc,+BAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-platform-supercoins-bottom-sheet",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "SuperCoins Bottom Sheet Component",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/ct-platform-supercoins-bottom-sheet.cjs.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@cleartrip/ct-design-button": "2.6.0",
|
|
14
14
|
"@cleartrip/ct-design-typography": "2.6.0",
|
|
15
|
-
"@cleartrip/ct-platform-
|
|
16
|
-
"@cleartrip/ct-platform-
|
|
15
|
+
"@cleartrip/ct-platform-utils": "3.18.4",
|
|
16
|
+
"@cleartrip/ct-platform-drawer": "3.9.5"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"react": ">=16.8.0",
|