@cleartrip/ct-platform-wallet-balance-history 1.2.0-beta.0

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.
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { WalletBalanceHistoryProps } from './WalletBalanceHistory.types';
3
+ declare const WalletBalanceHistory: React.FC<WalletBalanceHistoryProps>;
4
+ export default WalletBalanceHistory;
5
+ //# sourceMappingURL=WalletBalanceHistory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletBalanceHistory.d.ts","sourceRoot":"","sources":["../packages/components/WalletBalanceHistory/src/WalletBalanceHistory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8C,MAAM,OAAO,CAAC;AA+BnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA+O7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,15 @@
1
+ export interface WalletBalanceHistoryProps {
2
+ isDrawerOpen: boolean;
3
+ walletBalance: number;
4
+ fkSuperCoins: number;
5
+ fkSuperCoinsLoading?: boolean;
6
+ installAppLoading?: boolean;
7
+ appPushEnabled?: boolean;
8
+ walletClickCallback: () => void;
9
+ installAppCallback: () => void;
10
+ handleDrawerClose?: () => void;
11
+ ravenPayload?: {
12
+ [key: string]: string | number;
13
+ };
14
+ }
15
+ //# sourceMappingURL=WalletBalanceHistory.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletBalanceHistory.types.d.ts","sourceRoot":"","sources":["../packages/components/WalletBalanceHistory/src/WalletBalanceHistory.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,yBAAyB;IAItC,YAAY,EAAE,OAAO,CAAC;IAItB,aAAa,EAAE,MAAM,CAAC;IAItB,YAAY,EAAE,MAAM,CAAC;IAIrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAI9B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAI5B,cAAc,CAAC,EAAE,OAAO,CAAC;IAKzB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAKhC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAK/B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAI/B,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrD"}
@@ -0,0 +1,7 @@
1
+ export declare const HEADER_TITLE = "Claim your balance on app";
2
+ export declare const CLEARTRIP_WALLET_TITLE = "Cleartrip wallet";
3
+ export declare const CLEARTRIP_WALLET_SUBTITLE = "View wallet balance & refunds";
4
+ export declare const FLIPKART_SUPERCOIN_TITLE = "Flipkart SuperCoins";
5
+ export declare const WALLET_USAGE_INFO = "The Supercoin and wallet balance can only be redeemed on the Cleartrip app.";
6
+ export declare const INSTALL_CTA_TEXT = "Install app";
7
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../packages/components/WalletBalanceHistory/src/constants.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,8BAA8B,CAAC;AACxD,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AACzD,eAAO,MAAM,yBAAyB,kCAAkC,CAAC;AACzE,eAAO,MAAM,wBAAwB,wBAAwB,CAAC;AAC9D,eAAO,MAAM,iBAAiB,gFAEmD,CAAC;AAClF,eAAO,MAAM,gBAAgB,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),_=require("@cleartrip/ct-design-theme"),o=require("@cleartrip/ct-design-divider"),l=require("@cleartrip/ct-design-button"),a=require("@cleartrip/ct-platform-utils"),t=require("@cleartrip/ct-platform-drawer"),d=require("@cleartrip/ct-platform-shimmer"),r=require("@cleartrip/ct-platform-text-badge"),c=require("@cleartrip/ct-platform-assets");var s="index-module_drawer__container__lxbJE",u="index-module_header__G-XwS",x="index-module_header-text__rk4U2",p="index-module_cleartrip-wallet-info__container__P2u4C",m="index-module_fk-supercoins-info__container__affwI",f="index-module_icon-info__container__njm--",h="index-module_icon__container__Pt34J",g="index-module_title-subtitle__container__ERKY4",v="index-module_title__SB457",w="index-module_subtitle__vEC1R",b="index-module_balance-amount__container__-KPp7",j="index-module_balance-amount__F3ynK",E="index-module_app-push-info__container__DjeTl",y="index-module_usage-info__z59W4";!function(e,n){void 0===n&&(n={});var i=n.insertAt;if(e&&"undefined"!=typeof document){var _=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===i&&_.firstChild?_.insertBefore(o,_.firstChild):_.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".index-module_drawer__container__lxbJE{background:#fff;border-radius:16px 16px 0 0;display:flex;flex-direction:column;padding:24px 16px;width:100dvw}.index-module_drawer__container__lxbJE .index-module_header__G-XwS{align-items:flex-start;display:flex;flex-direction:column;padding-bottom:16px}.index-module_drawer__container__lxbJE .index-module_header__G-XwS .index-module_header-text__rk4U2{color:#1a1a1a;font-size:20px;font-style:normal;font-weight:600;line-height:24px}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI{display:flex;gap:16px;min-height:38px;padding:12px 0}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_icon-info__container__njm--,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_icon-info__container__njm--{display:flex;flex-grow:1;gap:12px}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_icon-info__container__njm-- .index-module_icon__container__Pt34J,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_icon-info__container__njm-- .index-module_icon__container__Pt34J{align-items:center;display:flex;height:24px;justify-content:center;padding:5px 3px 4.6px;width:24px}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4{display:flex;flex-direction:column}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4 .index-module_title__SB457,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4 .index-module_title__SB457{color:#1a1a1a;font-size:16px;font-style:normal;font-weight:500;line-height:22px;padding:1px 0}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4 .index-module_subtitle__vEC1R,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4 .index-module_subtitle__vEC1R{color:grey;font-size:12px;font-style:normal;font-weight:400;line-height:16px}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_balance-amount__container__-KPp7,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_balance-amount__container__-KPp7{display:flex;gap:4px}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_balance-amount__container__-KPp7 .index-module_balance-amount__F3ynK,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_balance-amount__container__-KPp7 .index-module_balance-amount__F3ynK{color:#1a1a1a;font-size:16px;font-style:normal;font-weight:600;line-height:22px}.index-module_drawer__container__lxbJE .index-module_app-push-info__container__DjeTl{display:flex;flex-direction:column;gap:12px;padding:24px 0}.index-module_drawer__container__lxbJE .index-module_app-push-info__container__DjeTl .index-module_usage-info__z59W4{color:#000;font-size:14px;font-style:normal;font-weight:400;line-height:20px}");exports.WalletBalanceHistory=function(C){var J=C.isDrawerOpen,N=C.walletBalance,P=C.fkSuperCoins,k=C.walletClickCallback,S=C.installAppCallback,K=C.handleDrawerClose,R=C.fkSuperCoinsLoading,I=void 0!==R&&R,T=C.ravenPayload,D=C.installAppLoading,q=void 0!==D&&D,B=C.appPushEnabled,z=void 0===B||B,Y=i.useState(J),A=Y[0],F=Y[1];return i.useEffect((function(){var n,i,_,o;if(J){F(!0);var l=a.getRavenEventProps();a.ravenSDKTrigger("u_app_push_impression",e.__assign({action_name:"wallet_sc_bottomSheet_imp_hp",page_name:null==l?void 0:l.pageName,vertical:null==l?void 0:l.vertical,source_channel:(null===(n=null===location||void 0===location?void 0:location.search)||void 0===n?void 0:n.split("utm_source=").length)>1?null===(o=null===(_=null===(i=null===location||void 0===location?void 0:location.search)||void 0===i?void 0:i.split("utm_source="))||void 0===_?void 0:_.pop())||void 0===o?void 0:o.split("&")[0]:"organic"},T))}else F(!1)}),[J]),n.jsx(_.ThemeProvider,{children:n.jsx(t.Drawer,e.__assign({direction:"bottom",isOpen:A,showClose:!0,overlay:!0,handleClose:function(n){var i,_,o,l;null==n||n.stopPropagation(),F(!1),K&&"function"==typeof K&&K();var t=a.getRavenEventProps();a.ravenSDKTrigger("u_app_push_click",e.__assign({action_name:"wallet_sc_bottomSheet_close_hp",page_name:null==t?void 0:t.pageName,vertical:null==t?void 0:t.vertical,source_channel:(null===(i=null===location||void 0===location?void 0:location.search)||void 0===i?void 0:i.split("utm_source=").length)>1?null===(l=null===(o=null===(_=null===location||void 0===location?void 0:location.search)||void 0===_?void 0:_.split("utm_source="))||void 0===o?void 0:o.pop())||void 0===l?void 0:l.split("&")[0]:"organic"},T))},onClose:function(){}},{children:n.jsx("div",e.__assign({style:{maxHeight:"435px",overflowY:"auto",borderRadius:"16px 16px 0 0",background:"#fff"}},{children:n.jsxs("div",e.__assign({className:s},{children:[n.jsx("div",e.__assign({className:u},{children:n.jsx("p",e.__assign({className:x},{children:"Claim your balance on app"}))})),n.jsxs("div",e.__assign({className:p},{children:[n.jsxs("div",e.__assign({className:f},{children:[n.jsx("div",e.__assign({className:h},{children:n.jsx(c.WalletIcon,{})})),n.jsxs("div",e.__assign({className:g},{children:[n.jsx("p",e.__assign({className:v},{children:"Cleartrip wallet"})),n.jsx("p",e.__assign({className:w},{children:"View wallet balance & refunds"}))]}))]})),n.jsx("div",e.__assign({className:b},{children:n.jsxs("p",e.__assign({className:j},{children:["₹",N]}))})),n.jsx("div",e.__assign({onClick:function(){k&&"function"==typeof k&&k()}},{children:n.jsx(c.ChevronRight,{})}))]})),n.jsxs("div",e.__assign({className:m},{children:[n.jsxs("div",e.__assign({className:f},{children:[n.jsx("div",e.__assign({className:h},{children:n.jsx(c.SuperCoinIcon,{})})),n.jsx("div",e.__assign({className:g},{children:n.jsx("p",e.__assign({className:v},{children:"Flipkart SuperCoins"}))}))]})),n.jsx("div",e.__assign({className:b},{children:I?n.jsx(d.Shimmer,{width:70,height:24}):n.jsx("p",e.__assign({className:j,style:{padding:"1px 28px 1px 0px"}},{children:P}))}))]})),z&&n.jsxs(n.Fragment,{children:[n.jsx(o.Divider,{style:{marginTop:"4px",borderBottom:"1px #f6f6f6 dashed"}}),n.jsxs("div",e.__assign({className:E},{children:[n.jsx(r.TextBadge,{title:"App Only",variant:"DARK"}),n.jsx("p",e.__assign({className:y},{children:"The Supercoin and wallet balance can only be redeemed on the Cleartrip app."}))]})),n.jsx(l.Button,e.__assign({onClick:function(n){var i,_,o,l;null==n||n.stopPropagation(),S&&"function"==typeof S&&S();var t=a.getRavenEventProps();a.ravenSDKTrigger("u_app_push_click",e.__assign({action_name:"wallet_sc_bottomSheet_install_hp",page_name:null==t?void 0:t.pageName,vertical:null==t?void 0:t.vertical,source_channel:(null===(i=null===location||void 0===location?void 0:location.search)||void 0===i?void 0:i.split("utm_source=").length)>1?null===(l=null===(o=null===(_=null===location||void 0===location?void 0:location.search)||void 0===_?void 0:_.split("utm_source="))||void 0===o?void 0:o.pop())||void 0===l?void 0:l.split("&")[0]:"organic"},T))},showLeftIcon:!0,LeftIcon:n.jsx("img",{src:c.AppDownload,alt:"download",loading:"lazy"}),loading:q||!1,styleConfig:{iconContainer:{css:{marginRight:"0.5rem"}}}},{children:"Install app"}))]})]}))}))}))})};
2
+ //# sourceMappingURL=ct-platform-wallet-balance-history.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ct-platform-wallet-balance-history.cjs.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/WalletBalanceHistory/src/WalletBalanceHistory.tsx","../packages/components/WalletBalanceHistory/src/constants.tsx"],"sourcesContent":["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,null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","_a","isDrawerOpen","walletBalance","fkSuperCoins","walletClickCallback","installAppCallback","handleDrawerClose","_b","fkSuperCoinsLoading","ravenPayload","_c","installAppLoading","_d","appPushEnabled","_e","useState","showWalletDrawer","setShowWalletDrawer","useEffect","eventProps","getRavenEventProps","ravenSDKTrigger","__assign","action_name","page_name","pageName","vertical","source_channel","location","search","split","length","pop","_jsx","jsx","ThemeProvider","children","Drawer","direction","isOpen","showClose","overlay","handleClose","evt","stopPropagation","onClose","maxHeight","overflowY","borderRadius","background","_jsxs","className","Styles","jsxs","WalletIcon","onClick","ChevronRight","SuperCoinIcon","Shimmer","width","height","padding","_Fragment","Divider","marginTop","borderBottom","TextBadge","title","variant","Button","showLeftIcon","LeftIcon","src","AppDownload","alt","loading","styleConfig","iconContainer","marginRight"],"mappings":"ggCAAA,SAAqBA,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAKF,GAA2B,oBAAbG,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,m3HCQkE,SAACe,GAC/D,IAAAC,iBACAC,EAAaF,EAAAE,cACbC,EAAYH,EAAAG,aACZC,EAAmBJ,EAAAI,oBACnBC,EAAkBL,EAAAK,mBAClBC,EAAiBN,EAAAM,kBACjBC,EAA2BP,EAAAQ,oBAA3BA,OAAmB,IAAAD,GAAQA,EAC3BE,EAAYT,EAAAS,aACZC,sBAAAC,OAAoB,IAAAD,KACpBE,EAAAZ,EAAAa,eAAAA,OAAc,IAAAD,GAAOA,EAEfE,EACFC,EAAAA,SAAkBd,GADfe,EAAgBF,EAAA,GAAEG,EAAmBH,EAAA,GA2E5C,OAxBAI,EAAAA,WAAU,uBACN,GAAIjB,EAAc,CACdgB,GAAoB,GAEpB,IAAME,EAAaC,EAAAA,qBACnBC,kBAAgB,wBACZC,EAAAA,SAAA,CAAAC,YAAa,+BACbC,UAAWL,aAAU,EAAVA,EAAYM,SACvBC,SAAUP,eAAAA,EAAYO,SACtBC,gBACsB,QAAlB3B,EAAA,OAAA4B,mBA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IAAApB,OAAA,EAAAA,EAAAkB,MAAM,KAAK,GACjB,WAEPrB,GAEX,EA0JgC6D,cAAc,EACdC,SACItC,MACI,MAAA,CAAAuC,IAAKC,cACLC,IAAI,WACJC,QAAQ,SAGhBA,QAAShE,IAAqB,EAC9BiE,YAAa,CACTC,cAAe,CACX5F,IAAK,CAAE6F,YAAa,aAI3B,CAAA1C,SChQL,+BDyQhC","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"tslib";import{jsx as n,jsxs as i,Fragment as o}from"react/jsx-runtime";import{useState as l,useEffect as _}from"react";import{ThemeProvider as a}from"@cleartrip/ct-design-theme";import{Divider as t}from"@cleartrip/ct-design-divider";import{Button as d}from"@cleartrip/ct-design-button";import{getRavenEventProps as r,ravenSDKTrigger as c}from"@cleartrip/ct-platform-utils";import{Drawer as u}from"@cleartrip/ct-platform-drawer";import{Shimmer as m}from"@cleartrip/ct-platform-shimmer";import{TextBadge as p}from"@cleartrip/ct-platform-text-badge";import{WalletIcon as s,ChevronRight as x,SuperCoinIcon as f,AppDownload as h}from"@cleartrip/ct-platform-assets";var v="index-module_drawer__container__lxbJE",w="index-module_header__G-XwS",g="index-module_header-text__rk4U2",b="index-module_cleartrip-wallet-info__container__P2u4C",y="index-module_fk-supercoins-info__container__affwI",E="index-module_icon-info__container__njm--",C="index-module_icon__container__Pt34J",J="index-module_title-subtitle__container__ERKY4",N="index-module_title__SB457",k="index-module_subtitle__vEC1R",P="index-module_balance-amount__container__-KPp7",j="index-module_balance-amount__F3ynK",K="index-module_app-push-info__container__DjeTl",S="index-module_usage-info__z59W4";!function(e,n){void 0===n&&(n={});var i=n.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===i&&o.firstChild?o.insertBefore(l,o.firstChild):o.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}(".index-module_drawer__container__lxbJE{background:#fff;border-radius:16px 16px 0 0;display:flex;flex-direction:column;padding:24px 16px;width:100dvw}.index-module_drawer__container__lxbJE .index-module_header__G-XwS{align-items:flex-start;display:flex;flex-direction:column;padding-bottom:16px}.index-module_drawer__container__lxbJE .index-module_header__G-XwS .index-module_header-text__rk4U2{color:#1a1a1a;font-size:20px;font-style:normal;font-weight:600;line-height:24px}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI{display:flex;gap:16px;min-height:38px;padding:12px 0}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_icon-info__container__njm--,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_icon-info__container__njm--{display:flex;flex-grow:1;gap:12px}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_icon-info__container__njm-- .index-module_icon__container__Pt34J,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_icon-info__container__njm-- .index-module_icon__container__Pt34J{align-items:center;display:flex;height:24px;justify-content:center;padding:5px 3px 4.6px;width:24px}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4{display:flex;flex-direction:column}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4 .index-module_title__SB457,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4 .index-module_title__SB457{color:#1a1a1a;font-size:16px;font-style:normal;font-weight:500;line-height:22px;padding:1px 0}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4 .index-module_subtitle__vEC1R,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_icon-info__container__njm-- .index-module_title-subtitle__container__ERKY4 .index-module_subtitle__vEC1R{color:grey;font-size:12px;font-style:normal;font-weight:400;line-height:16px}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_balance-amount__container__-KPp7,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_balance-amount__container__-KPp7{display:flex;gap:4px}.index-module_drawer__container__lxbJE .index-module_cleartrip-wallet-info__container__P2u4C .index-module_balance-amount__container__-KPp7 .index-module_balance-amount__F3ynK,.index-module_drawer__container__lxbJE .index-module_fk-supercoins-info__container__affwI .index-module_balance-amount__container__-KPp7 .index-module_balance-amount__F3ynK{color:#1a1a1a;font-size:16px;font-style:normal;font-weight:600;line-height:22px}.index-module_drawer__container__lxbJE .index-module_app-push-info__container__DjeTl{display:flex;flex-direction:column;gap:12px;padding:24px 0}.index-module_drawer__container__lxbJE .index-module_app-push-info__container__DjeTl .index-module_usage-info__z59W4{color:#000;font-size:14px;font-style:normal;font-weight:400;line-height:20px}");var R=function(R){var I=R.isDrawerOpen,z=R.walletBalance,T=R.fkSuperCoins,Y=R.walletClickCallback,B=R.installAppCallback,D=R.handleDrawerClose,A=R.fkSuperCoinsLoading,F=void 0!==A&&A,L=R.ravenPayload,G=R.installAppLoading,O=void 0!==G&&G,X=R.appPushEnabled,U=void 0===X||X,W=l(I),H=W[0],V=W[1];return _((function(){var n,i,o,l;if(I){V(!0);var _=r();c("u_app_push_impression",e({action_name:"wallet_sc_bottomSheet_imp_hp",page_name:null==_?void 0:_.pageName,vertical:null==_?void 0:_.vertical,source_channel:(null===(n=null===location||void 0===location?void 0:location.search)||void 0===n?void 0:n.split("utm_source=").length)>1?null===(l=null===(o=null===(i=null===location||void 0===location?void 0:location.search)||void 0===i?void 0:i.split("utm_source="))||void 0===o?void 0:o.pop())||void 0===l?void 0:l.split("&")[0]:"organic"},L))}else V(!1)}),[I]),n(a,{children:n(u,e({direction:"bottom",isOpen:H,showClose:!0,overlay:!0,handleClose:function(n){var i,o,l,_;null==n||n.stopPropagation(),V(!1),D&&"function"==typeof D&&D();var a=r();c("u_app_push_click",e({action_name:"wallet_sc_bottomSheet_close_hp",page_name:null==a?void 0:a.pageName,vertical:null==a?void 0:a.vertical,source_channel:(null===(i=null===location||void 0===location?void 0:location.search)||void 0===i?void 0:i.split("utm_source=").length)>1?null===(_=null===(l=null===(o=null===location||void 0===location?void 0:location.search)||void 0===o?void 0:o.split("utm_source="))||void 0===l?void 0:l.pop())||void 0===_?void 0:_.split("&")[0]:"organic"},L))},onClose:function(){}},{children:n("div",e({style:{maxHeight:"435px",overflowY:"auto",borderRadius:"16px 16px 0 0",background:"#fff"}},{children:i("div",e({className:v},{children:[n("div",e({className:w},{children:n("p",e({className:g},{children:"Claim your balance on app"}))})),i("div",e({className:b},{children:[i("div",e({className:E},{children:[n("div",e({className:C},{children:n(s,{})})),i("div",e({className:J},{children:[n("p",e({className:N},{children:"Cleartrip wallet"})),n("p",e({className:k},{children:"View wallet balance & refunds"}))]}))]})),n("div",e({className:P},{children:i("p",e({className:j},{children:["₹",z]}))})),n("div",e({onClick:function(){Y&&"function"==typeof Y&&Y()}},{children:n(x,{})}))]})),i("div",e({className:y},{children:[i("div",e({className:E},{children:[n("div",e({className:C},{children:n(f,{})})),n("div",e({className:J},{children:n("p",e({className:N},{children:"Flipkart SuperCoins"}))}))]})),n("div",e({className:P},{children:F?n(m,{width:70,height:24}):n("p",e({className:j,style:{padding:"1px 28px 1px 0px"}},{children:T}))}))]})),U&&i(o,{children:[n(t,{style:{marginTop:"4px",borderBottom:"1px #f6f6f6 dashed"}}),i("div",e({className:K},{children:[n(p,{title:"App Only",variant:"DARK"}),n("p",e({className:S},{children:"The Supercoin and wallet balance can only be redeemed on the Cleartrip app."}))]})),n(d,e({onClick:function(n){var i,o,l,_;null==n||n.stopPropagation(),B&&"function"==typeof B&&B();var a=r();c("u_app_push_click",e({action_name:"wallet_sc_bottomSheet_install_hp",page_name:null==a?void 0:a.pageName,vertical:null==a?void 0:a.vertical,source_channel:(null===(i=null===location||void 0===location?void 0:location.search)||void 0===i?void 0:i.split("utm_source=").length)>1?null===(_=null===(l=null===(o=null===location||void 0===location?void 0:location.search)||void 0===o?void 0:o.split("utm_source="))||void 0===l?void 0:l.pop())||void 0===_?void 0:_.split("&")[0]:"organic"},L))},showLeftIcon:!0,LeftIcon:n("img",{src:h,alt:"download",loading:"lazy"}),loading:O||!1,styleConfig:{iconContainer:{css:{marginRight:"0.5rem"}}}},{children:"Install app"}))]})]}))}))}))})};export{R as WalletBalanceHistory};
2
+ //# sourceMappingURL=ct-platform-wallet-balance-history.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ct-platform-wallet-balance-history.esm.js","sources":["../../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js","../packages/components/WalletBalanceHistory/src/WalletBalanceHistory.tsx","../packages/components/WalletBalanceHistory/src/constants.tsx"],"sourcesContent":["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,null],"names":["css","ref","insertAt","document","head","getElementsByTagName","style","createElement","type","firstChild","insertBefore","appendChild","styleSheet","cssText","createTextNode","WalletBalanceHistory","_a","isDrawerOpen","walletBalance","fkSuperCoins","walletClickCallback","installAppCallback","handleDrawerClose","_b","fkSuperCoinsLoading","ravenPayload","_c","installAppLoading","_d","appPushEnabled","_e","useState","showWalletDrawer","setShowWalletDrawer","useEffect","eventProps","getRavenEventProps","ravenSDKTrigger","__assign","action_name","page_name","pageName","vertical","source_channel","location","search","split","length","pop","_jsx","ThemeProvider","children","Drawer","direction","isOpen","showClose","overlay","handleClose","evt","stopPropagation","onClose","maxHeight","overflowY","borderRadius","background","_jsxs","className","Styles","WalletIcon","onClick","ChevronRight","SuperCoinIcon","Shimmer","width","height","padding","_Fragment","Divider","marginTop","borderBottom","TextBadge","title","variant","Button","showLeftIcon","LeftIcon","src","AppDownload","alt","loading","styleConfig","iconContainer","marginRight"],"mappings":"kwCAAA,SAAqBA,EAAKC,QACX,IAARA,IAAiBA,EAAM,CAAA,GAC5B,IAAIC,EAAWD,EAAIC,SAEnB,GAAKF,GAA2B,oBAAbG,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,s1HCQM,IAAAe,EAA4D,SAACC,GAC/D,IAAAC,iBACAC,EAAaF,EAAAE,cACbC,EAAYH,EAAAG,aACZC,EAAmBJ,EAAAI,oBACnBC,EAAkBL,EAAAK,mBAClBC,EAAiBN,EAAAM,kBACjBC,EAA2BP,EAAAQ,oBAA3BA,OAAmB,IAAAD,GAAQA,EAC3BE,EAAYT,EAAAS,aACZC,sBAAAC,OAAoB,IAAAD,KACpBE,EAAAZ,EAAAa,eAAAA,OAAc,IAAAD,GAAOA,EAEfE,EACFC,EAAkBd,GADfe,EAAgBF,EAAA,GAAEG,EAAmBH,EAAA,GA2E5C,OAxBAI,GAAU,uBACN,GAAIjB,EAAc,CACdgB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","x_google_ignoreList":[0]}
@@ -0,0 +1,3 @@
1
+ export { default as WalletBalanceHistory } from './WalletBalanceHistory';
2
+ export * from './WalletBalanceHistory.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../packages/components/WalletBalanceHistory/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,cAAc,8BAA8B,CAAC"}
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@cleartrip/ct-platform-wallet-balance-history",
3
+ "version": "1.2.0-beta.0",
4
+ "description": "Wallet balance history Component",
5
+ "types": "dist/index.d.ts",
6
+ "main": "dist/ct-platform-wallet-balance-history.cjs.js",
7
+ "module": "dist/ct-platform-wallet-balance-history.esm.js",
8
+ "sideEffects": true,
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "dependencies": {
13
+ "@cleartrip/ct-design-button": "2.6.0",
14
+ "@cleartrip/ct-design-theme": "2.6.0",
15
+ "@cleartrip/ct-design-divider": "2.6.0",
16
+ "@cleartrip/ct-design-container": "2.6.0",
17
+ "@cleartrip/ct-platform-utils": "1.0.0",
18
+ "@cleartrip/ct-platform-assets": "1.1.0-beta.0",
19
+ "@cleartrip/ct-platform-shimmer": "1.1.0-beta.0",
20
+ "@cleartrip/ct-platform-text-badge": "1.1.0-beta.0",
21
+ "@cleartrip/ct-platform-drawer": "1.0.0"
22
+ },
23
+ "peerDependencies": {
24
+ "react": ">=16.8.0",
25
+ "react-dom": ">=16.8.0"
26
+ },
27
+ "author": "Cleartrip",
28
+ "license": "ISC",
29
+ "scripts": {
30
+ "test": "echo \"Error: no test specified\" && exit 1",
31
+ "watch-package": "rollup -c -w",
32
+ "build-package": "rollup -c",
33
+ "build-package:clean": "rm -rf dist && rollup -c"
34
+ }
35
+ }